Update: Read the updated blog entry for how we do this now| En kodare
I’m a big fan of Django, but it has too many silent failure modes. This is very bad for beginners, and it’s not good for veterans either. I make these types of mistakes on an almost daily basis.| En kodare
I think we’ve all seen abandoned projects that have multiple good pull requests. Sometimes there is an active fork but it can be extremely hard to find, even if you spend the time to go looking. I believe this is a problem that can be fixed, or at least improved upon significantly.| En kodare
I use this expression a lot. I think I got it from Penn & Teller’s show Bullshit! specifically the episode on anti-vaccine activists. It’s a fun mental tool that is very useful and I’ve found most people don’t have. The basic tool goes something like:| En kodare
Transparent APIs is a pattern/philosophy me and my colleague Johan Lübcke have developed. It’s especially nice for building GUIs but is also generally useful in some other cases.| En kodare
(Update 2024-09-28: This blog post is a bit outdated, but still shows some of the philosophy that is now a part of iommi.) I think Object Oriented Programming is overused, but I have to admit it is unrivaled for certain tasks, the most significant to my line of work being GUIs. But OOP as normally practiced in languages like Python, Java, and C++ have some clear drawbacks even for this use case. One problem for GUIs is that you need to create lots of classes even for trivial things: when you ...| En kodare
Personal blog for Anders Hovmöller. Mostly programming stuff.| En kodare
Managing URL mappings in Django can become a bit of a mess as a project grows, and you often end up with many tabs in your editor named urls.py which is not very helpful. In several discussions on the Unofficial Django Discord, cb109 kept mentioning that he’s got a single big urls.py file. At some point I started noticing every time I navigated to the wrong urls.py and how I got a little annoyed every time.| En kodare
Something I hear a lot is that iommi is weird (or “magical and weird”). I would maybe use the word “different”, but it’s true!| En kodare