You die twice. One time when you stop breathing, and a second time, a bit later on, when somebody damns your soul for the last time.

  • Hafez Al-Assad
  • 1 Post
  • 9 Comments
Joined 11 months ago
cake
Cake day: December 17th, 2024

help-circle

  • Yeah, that’s the solution I asked about (last line of my question). I was just trying to make sure that this is ok and won’t tangle up my code later on.

    I’m not sure why you’re using as to make the module name longer? Usually, if I use it at all, I use it make things shorter. Anyway, once you’ve imported dep2, you can call dep2.some_fn().

    That was just for the example (clarifying order of import). The actual code has imports such as from src.formatter import Formatter as fmt; always making the name shorter.

    Thanks for the suggestions







  • it feels like a “web app” more than a website. Like, it somehow needs to “load” after loading the page… unlike classic forum softwares that just instantly show the pre-rendered page.

    I kind of like this behavior. If you’re writing a complex website with user posts, comments, tags, and other nifty stuff and want it to stay modular it’s almost guaranteed that you’ll end up with this loading behavior (unless you want to SSR everything).

    ui also feels way too ‘simple’, hard to navigate and has low info density. i guess this is how more people nowadays prefer things to work

    Don’t know about that, I find it easy to navigate with the consistent sidebar elements. Searching for posts is easy since they’re usually well tagged and have good titles. Searching for solutions and checking out community contributions and votes is about 90% of my use case for a forum. Maybe you have different use cases.