April 25, 2025
This is the fourth entry in a five-part series about event sourcing:
April 24, 2025
I see a lot of articles suggesting you use enums by mostly restating the Python documentation. Unfortunately, I feel this leaves readers without crutial practical advice, which I'd like to pass on here.
This is especially true since most of …
April 24, 2025
Every now and then I'm writing code deep in some Python project, and I realize that it would be nice to generate a file at the root of a project.
The following is the way I'm currently finding the root …
April 17, 2025
This is the third entry in a five-part series about event sourcing:
April 8, 2025
This is the second entry in a five-part series about event sourcing:
April 3, 2025
This is the first entry in a five-part series about event sourcing:
October 22, 2024
I've spent the last few days running head-first into a problem over and over, and I hope this might help someone else avoid this pain.
The command `docker compose --env-file example.env up` does not do the same thing as `docker …
May 18, 2023
Are you a Python developer striving to write better software with fewer bugs? If you've been intimidated by the concept of refactoring or felt frustrated by the lack of Python-specific advice, then you're in the right place. Welcome to the …
March 3, 2023
Updated 2023-06-23: My initial solution started failing in a Chromium browser, so I had to create a more robust workaround. See below.
HTMX has done wonders to help me enjoy my web development tasks.
Recently, I became aware of a …
February 14, 2023
Type hints are a great tool to communicate your intent with your code.
When starting with type hints, many people will document functions similar to how I did with this function: