macOS dotfiles should not go in –/Library/Application Support
A CLI tool is not an app, and none of you are reading the docs as carefully as you think you are
Switching Pip to Uv in a Dockerized Flask / Django App
I noticed about a 10x speed up across a number of projects, we'll avoid using a venv and run things as a non-root user too.
Why I Chose Elixir Phoenix over Rails, Laravel, and Next.js
Why I chose Phoenix LiveView over Rails, Laravel, and Next.js
Addressing the adding situation
We learn why adding on x86 isn't as obvious as you might think
Giving C a superpower: custom header file (safe_c.h)
The story of how I wrote a leak-free, thread-safe grep in C23 without shooting yourself in the foot, and how you can too! Introduction Let's be honest: mos...
Composable SQL
Better SQL through typed, composable query fragments.
Booting Linux in QEMU and Writing PID 1 in Go to Illustrate Kernel as Program
Most books and courses introduce Linux through shell commands, leaving the kernel as a mysterious black box doing magic behind the scenes. In this post, we will run some experiments to demystify it: the Linux kernel is just a binary that you can build and run.
“ZLinq”, a Zero-Allocation LINQ Library for .NET
I’ve released ZLinq v1 last month! By building on structs and generics, it achieves zero allocations. It includes extensions like LINQ to…
RFC 9839 and Bad Unicode
Unicode is good. If you’re designing a data structure or protocol that has text fields, they should contain Unicode characters encoded in UTF-8. There’s another question, though: “ Which Unicode characters?” The answer is “Not all of them, please exclude some.”
Writing your own BEAM
This is my Code BEAM Europe 2025 talk, converted to a blogpost.
Analyzing the codebase of Caffeine, a high performance caching library
The other day, while wasting time reading reddit, I stumbled upon a blogpost mentioning S3 FIFO, a method claiming to outperform LRU (Least Recently Used) in terms of cache miss ratio. Notable companies like RedPandas, Rising Wave, and Cloudflare have already implemented it in various capacities, so this piqued my…
You can't fool the optimizer
Pattern recognition can see through obfuscated code to find the right instruction
JSX over the Wire
Turning your API inside-out.
Uncovering the mechanics of The Games: Winter Challenge
An investigation into The Games; Winter Challenge
AI scrapers request commented scripts
A new avenue for identifying greedy, badly-behaved bots
Artisanal handcrafted Git repositories
How to lovingly handcraft your own git repositories
Never write your own date parsing library
Never write your own date parsing library. Never. No exceptions. Never have I ever… So… I’ve written my own date parsing library. Why? Our story begins seven…
Switching to Claude Code and VSCode Inside Docker
Why I decided to ditch Cursor and switch to running Claude Code in an isolated environment + diy guide!
No strcpy either
Some time ago I mentioned that we went through the curl source code and eventually got rid of all strncpy() calls. strncpy() is a weird function with a crappy API. It might not null terminate the destination and it pads the target buffer with zeroes. Quite frankly, most code bases are probably better off completely ……
Learning Persian with Anki, ChatGPT and YouTube
I’ve been learning Persian (Farsi) for a while now, and I’m using a bunch of tools for it. The central one is certainly Anki, a spaced repetition app to train memory. I’m creating my own never-ending deck of cards, with different types of content, for different purposes. The most frequent type of cards is grammar…
Donkey Kong Country 2 and Open Bus
You are seeing this because the administrator of this website has set up Anubis to protect the server against the scourge of AI companies aggressively scraping websites. This can and does cause downtime for the websites, which makes their resources inaccessible for everyone.
Translating a Fortran F-16 Simulator to Unity3D
I recently purchased the textbook “Aircraft Control and Simulation” by Brian L. Stevens, Frank L. Lewis, and Eric N. Johnson 1 . This book covers the control and simulation of aircraft. It’s really dense and frankly hard to understand. As far as aerodynamics texts go, it’s pretty typical.
LLM Agents Are Simply Graph – Tutorial for Dummies
Ever wondered how AI agents actually work behind the scenes?
How to program a text adventure in C
This is not a C tutorial; there are plenty of those on the web. The reader is assumed to have some basic knowledge of programming in general, and preferrably the C programming language in particular. Maybe you just finished reading a tutorial somewhere, and you would like to learn some more about programming by…
A dumb introduction to z3
Exploring the world of constraint solvers with very simple examples.
Scala 3 slowed us down?
Is this clickbait? Not really. Is this the fault of the language or the compiler? Definitely not. Rather, it was part of a rushed migration. Sharing the lessons learned in the process.
AI can code, but it can't build software
AI can write code, but it can’t build real software. Software engineering remains human work because AI can code, not engineer.