As we approach the holiday seasons, we get to "enjoy" another 12 days of Advent of Code. Every year I try to do something a little different, last year I had a lot of fun solving it in Ocaml, prior years I've tried the latest Python features. This year I've …
read moreFixing lazy imports: Generating Static Types Dynamically
So I've just released a package called lazy-helper. This comes as lazy loading has been a hot topic once again due to the proposal PEP-810.
Using my package we can define lazy loaded dependencies nicely:

Coincidentally Brian Okken has recently written a blog post covering the topic of lazy loading …
read morePython 3.14: 3 Asyncio Changes
Python 3.14 was officially released on October 7th. There are a lot of new features and I've covered some of them before in:
What I haven't covered here are any of the asyncio changes …
read moreFinally trying out Mojo 🔥
Blog 1 year in
It's been just over a year since I started my blog. In fact, this is my 27th blog post. I thought it'd be a good time for me to share some insights on blogging.
Motivation
Recently I've been asked by some people on why I do this. I think for …
read moreAsyncio backpressure - follow up
Previously when discussing asyncio backpressure I've made some claims that were not necessarily complete.
I said:
read moreIt works well for 100s of urls but when we hit a big number like 10000s we have a problem.
The program seemingly hangs. This is because all the tasks are being created first …
Simplify lambda deployments with UV
The python packaging landscape and developer experience has shifted dramatically in the past year or so with uv's launch marked a pivotal moment. But behind the scenes many PEPs have worked to get us to this point.
One such PEP was PEP 723 – Inline script metadata which we discussed …
read moreDynamic config part 1: Pydantic and file watchers
Feature flags or dynamic configuration is something that I find very useful, however I've never had the chance to use them. This is for a lack of options launchdarkly, flagsmith and unleash to name a few.
SaaS options can be amazing with a full array of features, but I would …
read moreSubinterpreters and Asyncio
PEP-734 subinterpreters in the stdlib has officially been included in the Python 3.14 as a very late addition. subinterpreters now has a new home in the standard library module called concurrent.interpreters.
If you've been following my blog posts you'll know that I'm particularly excited about this feature.
read morePython 3.14: 3 smaller features
Python 3.14 is just around the corner and it's jampacked with huge updates:
But as with any release, there are many nice smaller and less noticeable features. Features you won't see unless you comb through the entire release notes. Luckily I am …
read more