Posts
Physics AI - The Illusion of Ground Truth
15 October 2026 · 12 min read
When you learn computational physics, one of the most challenging aspects is learning when to do, and when not to do something.
My doctoral research was largely …
10 years of Python - a personal retrospective from 2015 to 2025
16 April 2025 · 10 min read
I first started touching Python while coming towards the end of a Master’s project, about ten years ago. Much has changed over that period, and looking …
Finding 'A Good Read' with Ollama and Llama 3
21 June 2024 · 10 min read
The BBC has an excellent radio programme called ‘A Good Read’. It first started 1977, and there have been hundreds of episodes, each of which has …
Go first impressions
22 February 2024 · 4 min read
Go first came onto my radar about 9 years ago when I came across MuMax during my PhD studies. While I’ve touched it briefly, I wouldn’t consider …
Improving Python performance for numerical routines
2 March 2023 · 7 min read
When writing numerical software in Python, there is a somewhat overwhelming array of options for tackling performance issues. From experience, it’s very …
Why using Alpine Docker images and Python is probably bad for your project (right now)
6 December 2022 · 6 min read
Alpine Linux is a distribution that is designed to be lightweight. In particular, it’s seen a lot of use in Docker images because the resulting image …
Best Practices for Django REST Framework Views
28 September 2022 · 7 min read
Django REST Framework has two methods for writing APIs - function based views (similar for people coming from other frameworks like Flask or FastAPI), or …
Some simple rules for maintainable software
19 September 2022 · 4 min read
Writing good software is an art rather than a science, and often decisions made quickly lead to a lot of pain down the line, because it is difficult to see the …
Avoid breaking your Django migrations accidentally
18 September 2022 · 2 min read
Django migrations can be very powerful, and allow you to effectively execute arbitrary code to modify your database, by migrating your database from one schema …