Most cited
Posts that commenters keep linking to, ranked by how many different people have cited them in Hacker News comments. 2,232 posts.
Are you one of the 10% of programmers who can write a binary search?
There are some programming books that I’ve read from cover to cover repeatedly; there are others that I have dipped into many times, reading a chapter or so at a time. Jon Bentley’s 19…
What the author of ARC thinks about Phil Katz
Some folks have asked me what I know about Phil Katz. It occurs to me that most folks have probably never heard the story, and of the ones who have heard of it, few would know or remember the details. So here's what I know about Phil Katz, plus a little history to put it in context. The dates could be off a bit. I…
MacOS Catalina: Slow by Design?
In episode 379 of ATP both Marco Arment and John Siracusa described noticeable delays and stalls after upgrading to macOS 10.15.
How a 20 year old bug in GTA San Andreas surfaced in Windows 11 24H2
After over two decades, players are now forbidden from flying a seaplane, all thanks to undefined code behavior.
Write Code Every Day
Last fall, work on my coding side projects came to a head: I wasn’t making adequate progress and I couldn’t find a way to get more done without sacrificing my ability to do effective work at Khan Academy .
A 14kb page can load much faster than a 15kb page
What is surprising is that a 14kB page can load much faster than a 15kB page — maybe 612ms faster — while the difference between a 15kB and a 16kB page is trivial.
How to be a -10x Engineer
To become a -10x engineer, simply waste 400 engineering hours per week. Combine the following strategies:
Coding My Handwriting
Coding my handwriting in Javascript - how I did it and what I’m doing with it.
Lies we tell ourselves to keep using Golang
In the two years since I’ve posted I want off Mr Golang’s Wild Ride, it’s made the rounds time and time again, on Reddit, on Lobste.rs, on HackerNews, and elsewhere. And every time, it elicits the ...
The Polygons of Another World
There is a playful way to study the architecture of computers of the past. Find a piece of software you know well and try to find out how it was ported to these machine you don't. A good choice would be DOOM. id Software's 1994 mega-hit has been ported to everything. It is designed around a core with no layering…
Push ifs up and fors down
A short note on two related rules of thumb.
Soft deletion probably isn't worth it
The traditional soft deletion pattern using <code>deleted_at</code> columns leaks into code, curbs the usefulness of foreign keys, and makes data removal difficult. Luckily, there’s an alternative.
A sufficiently detailed spec is code
Specifications do not address the limitations of agentic coding
Compressing and enhancing hand-written notes (2016)
I wrote a program to clean up scans of handwritten notes while simultaneously reducing file size.
I Made a Self-Quoting Tweet
I'll try to leave the pulp in here and keep this as chronological as I can. In that spirit, no tweets were harmed in the making of this post.
Challenging projects every programmer should try (2019)
Challenging projects every programmer should try
Building the fastest Lua interpreter automatically
This is Part 1 of a series of posts. Part 2 is available here: Building a baseline JIT for Lua automatically It is well-known that writing a good VM for a dynamic language is never an easy job. High
Surprisingly Slow
I have an affinity for performance optimization and making software as efficient as possible. Over the years, I've encountered specific instances and common patterns that make software or computers slow. In this post, I'll shine a spotlight on some of them.
My personal C coding style as of late 2023
This has been a ground-breaking year for my C skills, and paradigm shifts in my technique has provoked me to reconsider my habits and coding style. It’s been my largest personal style change in years, so I’ve decided to take a snapshot of its current state and my reasoning. These changes have produced significant…