• 13 Posts
  • 868 Comments
Joined 3 years ago
cake
Cake day: July 7th, 2023

help-circle
  • I use Django and there are some things that annoy me, like the fact we still need Django Rest Framework for a decent API experience, but at the same time, Django and DRF probably overuse inheritance and abstractions, to a point that every now and then I have to look up their source code to understand what’s exactly happening.

    Lack of type annotations is another aspect Django really needs to catch up compared to other frameworks, and the whole dynamic nature of Django makes it difficult to have type stubs from third party packages working reliably, with lots of false negatives and false positives. So sometimes I still have runtime errors due to typing that could have been prevented in a different framework/ORM.

    So I understand why some people are adopting different and more lightweight frameworks in new projects. The admin panel can be nice, but I’m not sure I’d choose Django myself to start a new project today.













  • I’d just take it out if it’s removable. If you really care about keeping it on during power outages, I’d get an actual UPS to have router and potentially other equipment also plugged in, because I don’t see a “remote” laptop on its own as being very useful without at least the local network up.

    if you decide to leave it plugged in, you can configure it to stop charging at e.g. 80% and charge it again at e.g. 30%, that way it keeps a percentage that will extend the battery life.