2025
My Home Assistant setup Dec 27, 2025
A deeper look at my Home Assistant setup. How do I sync everything to Apple’s Home app, and how do I automate my lights and heating?
Home Assistant review after one year of use Dec 26, 2025
Nearly a year ago I replaced a pile of smart-home apps, hubs, and subscriptions with Home Assistant Green. This is my long-term review.
Safe Django migrations without server errors Dec 01, 2025
How to run schema-changing Django migrations safely, avoiding schema/code mismatches and server errors during rolling deploys.
My one rule for side projects Oct 25, 2025
Don’t use the same tech stack as your day job, or you’ll turn your side project into a second shift.
Was async Django worth it? Oct 21, 2025
Async Django is a huge technical achievement, but it solves a problem most sites simply don’t have, while adding a lot of complexity.
Run Django tests using PostgreSQL in GitHub Actions Oct 07, 2025
Did you know that you can run unit tests for your Django app, in GitHub Actions, using PostgreSQL?
One command to run them all Sep 09, 2025
How I use the just command runner to create a simple, unified interface for running, testing, linting, and formatting all my projects, regardless of the tech stack.
A quarter century of chasing simplicity Sep 08, 2025
25 years of building for the web, and why I keep choosing simplicity.
How I write Django views Aug 28, 2025
Why I only use Django’s base View class instead of generic class-based views or function-based views.
Announcing django-generic-notifications 1.0.0 Aug 02, 2025
A modern, flexible rewrite of django-generic-notifications is here. Send website and email notifications, create digests, and group similar messages.
Automate Python package releases Jul 30, 2025
I maintain a handful of Python packages. Here’s how I automate creating new releases, both on PyPI and GitHub.
Django’s internationalization settings are weird Jul 18, 2025
It’s way too difficult to make Django use a 24-hour clock while using American English. Luckily it’s not impossible.
Happy 20th birthday, Django Jul 16, 2025
Django turned 20! A look back at my 16 years with it, my favorite packages, and what I’d love to see in the future.
Handling static and media files in your Django app running on Coolify Jul 08, 2025
Let’s solve the challenge of serving media files for your Coolified Django site.
Hosting your Django sites with Coolify Jul 02, 2025
How I moved my Django projects from a manual server setup to Coolify for easier, zero-downtime deployments.
Production-ready cache-busting for Django and Tailwind CSS Jun 26, 2025
I’m a big fan of the django-tailwind-cli package, but I ran into problems deploying it to production. Here’s how to make sure you cache-bust tailwind.css.
Comparing three type systems: Python, TypeScript, and Swift Jun 19, 2025
I recently ported Saga from Swift to both Python and TypeScript, giving me a direct comparison of three type systems.
Garbage in, garbage out Jun 18, 2025
You can’t just say “make an app”, you still need to know how to build a good app. AI might help with the code, but we’re still the ones with the technical expertise and taste.
Make Django show dates and times in the visitor’s local timezone Jun 12, 2025
A solution for showing dates and times in your visitor’s local timezone, all while handling the tricky first-visit problem.
Beyond htmx: building modern Django apps with Alpine AJAX Jun 11, 2025
Ditch the complex SPA. Learn how to build modern, server-rendered Django apps using Alpine AJAX and the power of hypermedia.
Thoughts on Apple Jun 08, 2025
WWDC is around the corner, and for the first time in over a decade I couldn’t care less. Two and a half years after switching back to web development, I’m not sure if I’ll return to iOS.
Announcing drf-action-serializers Jun 03, 2025
An easy way to use different serializers for different actions and request methods in Django REST Framework.
Blocking PHP requests using CloudFlare’s WAF rules Apr 28, 2025
Webservers get hit by hundreds of thousands of requests to random (non-existing) PHP files. Let’s block it using CloudFlare’s WAF rules.
You probably don’t need a CMS Apr 15, 2025
Many people quickly reach for a big CMS package for Django, when often this is overkill. Here’s how to use a simple Django model with a CKEditor 5 WYSIWYG field.
Django Admin’s handling of dates and times is very confusing Feb 26, 2025
When you have admin users in multiple time zones, the way Django handles the input and display of dates and times is causing confusion. Here’s how you can improve things.
uv just keeps on getting better Feb 24, 2025
It’s been three months since I migrated all my Python projects over to uv. And it’s only gotten better! Let’s look at two recent major improvements.
DocC and SPM need some love and attention from Apple Feb 20, 2025
Apple’s DocC project and the Swift Package Manager have been missing pretty crucial features for years now. It’s time that Apple gave them some love and attention.
Saga... but in Python? Or TypeScript? Feb 05, 2025
What would Saga look like if it were written in Python or TypeScript, rather than in Swift? Is it worth the effort to port Saga to another language?
Looking back at four years of Saga Jan 26, 2025
I started building Saga, my own static site generator written in Swift, four years ago. Let’s look at the state of the project.
Looking at Django task runners and queues Jan 24, 2025
I use django-apscheduler to run a queue of scheduled tasks. Now I also need the ability to run one-off tasks and that turned out to not be so simple.
Refactoring Svelte stores to $state runes Jan 18, 2025
One pattern that I love to use in my SvelteKit projects is returning writable stores from the layout’s load function. Can we migrate this to the new $state rune?
First thoughts on Svelte 5’s runes Jan 02, 2025
I’m migrating a big SvelteKit project to Svelte 5’s new runes syntax and I have to be honest: not a big fan of the increased number of lines, especially when it comes to the props.