Why I wrote the BEAM book
The story behind writing The BEAM Book-ten years, three publishers, and an open‑source sprint.
Topics /
The most popular blog posts about software engineering on Hacker News. 1,260 posts.
The story behind writing The BEAM Book-ten years, three publishers, and an open‑source sprint.
One of the most harmful pieces of advice is to …
What you need to know about local model tooling and the steps for setting one up yourself
A deep dive into the performance of Python 3.14's tail-call interpreter: How the performance results were confounded by an LLVM regression, the surprising complexity of compiling interpreter loops, and some reflections on performance work, software engineering, and optimizing compilers.
Software bloggers can make the same mistakes for years that prevent readers from discovering their writing. I know because I'm one of them. Over time, I've learned techniques that help some blog posts succeed and the pitfalls that cause others to languish in obscurity.
Recently I was called on to explain the ‘XOR’ operator to somebody who vaguely knew of its existence, but didn’t have a good intuition for what it was useful for and how it behaved.
There's no reason I should exit vim just to watch a video
Last month I have been on a multi-day hike with my dad. Each of us took many pictures, and when we came back we put them all in a shared folder. We both have Android phones, and the naming scheme used for our pictures was the same: IMG_YYYYMMDD_HHmmss followed maybe by some other numbers and then a .jpg . Here YYYY…
An overview of a class of data structures I didn't know about!
A guide
I wrote about the new GLM-4.5 model family yesterday—new open weight (MIT licensed) models from Z.ai in China which their benchmarks claim score highly in coding even against models such …
Blindspots in LLMs I’ve noticed while AI coding. Sonnet family emphasis. Maybe I will eventually suggest Cursor rules for these problems.
Why do compilers love xor-ing registers so much?
Why streaming isn't enough.
Thoughts, tools, and libraries I use to make games
One of life's greatest simple pleasures is creating something just for yourself.
I wrote a (list of) regular expressions that will play a (not very good) chess game by running a 2-ply minimax search.
🖍️ Explaining multiple techniques for rendering outlines and highlights for real-time applications. This includes vertex object-space as well as screen-space methods. This can be used to render outlines in Unity or Unreal. Outlines can be used for gameplay reasons or aesthetics.
Made in Notion, the connected workspace where AI agents and teams organize docs, projects and knowledge together.
i have gone a little above and beyond trying to get all the features of VSCode
A step-by-step guide to building a key-value database from scratch.
I felt like it should be possible to train a GPT-2 small level model on my own hardware using modern tools and open datasets from scratch. It was!
I released version 1 of my table seating planning software, PerfectTablePlan, in February 2005. 20 years ago this month. It was a different world. A world of Windows, shareware and CDs. A lot has c…
Psst. If your boss won’t invest in training you in Specification By Example (BDD, ATDD), I’m running out-of-hours workshops on May 12 and 16 specifically for self-funding learners. £99 + UK VAT. An…
I recently submitted my PhD thesis , and while waiting for the physical copies to get printed I thought I’d write about something you (hopefully) wouldn’t notice when reading it. I wrote it in Typst, not LaTeX. In this post I will talk a bit about what went well and what didn’t.
The entire book revolves around the "nine rules." After the typical introduction and list of the rules, there's one chapter for each rule. Each of these chapters describes the rule, explains why it's a rule, and includes several "sub-rules" that explain how to apply the rule. Most importantly, there are lots of "war…
Choosing fairly when you don't know how many you're choosing from.
Live coding measure stress, not coding skills
Rust is known for having a steep learning curve, but in this post we will be looking at another curve, the one showing developer productivity in relation to the project size.