Top posts
Every blog post that took off on Hacker News, ranked by the votes of its best submission. 49,267 posts.
Commodore SX-64 keyboard restoration
Extreme refurbishing of a Commodore SX-64 keyboard. Lots of putty, epoxy resin and spray painting with original color and more :)
Using Freenet
I've been following the Freenet project for many years, occasionally firing it up and seeing if I can do anything useful with it. I've been using it regularly over the last month and it has come a long way since I first tried it. It's much faster than what it was in the past. This post describes a bit of...
Sd: My Script Directory
does your ~/bin spark joy?
Two studies in compiler optimisations
A deep dive into the intricacies of the LLVM optimisation pipeline.
Pushing and Pulling: Three reactivity algorithms
It’s looking like I’m going to need to build a reactive engine for work, so I’m going to prepare for that by writing down what I know about them. I want to look at three ways of building reactive engines: push reactivity, pull reactivity, and the hybrid push/pull combination that is used in a bunch of web frameworks…
Common Lisp code optimisation
Common Lisp is one of the few languages which is both dynamic and also gives you a full native compiler and the ability to declare types ...
GCC Specs: An Introduction
If you've ever used the GNU Compiler Collection (GCC) then you've worked with the gcc binary. For those who don't know, gcc is a driver, not a compiler. It runs the compiler/assembler/linker as required and coordinates the input and output between them. Use of the driver is so ubiquitous that everyone calls it the…
Parsing Expression Grammar vs. Regexes: Building Org Parser in Lisp, Export HTML
Converting Org to HTML with (ice-9 peg) in Guile: OrgWebAlchemy
The Life and Times of Maxis, Part 1: SimEverything
I’m still to this day just blown away by continental drift and things like that, stuff that most people think sounds pretty boring.
Simulating a Planet on the GPU: Part 1 (2022)
A year-long journey through polygon meshes, cubemaps, and smoothed-particle hydrodynamics in pursuit of a modern SimEarth
Ten Noteworthy AI Research Papers of 2023
This year has felt distinctly different. I've been working in, on, and with machine learning and AI for over a decade, yet I can't recall a time when these fields were as popular and rapidly evolving as they have been this year. To conclude an eventful 2023 in machine learning and AI research, I'm excited to share 10…
Synthesizing Music from JSON
tl;dr: pl_synth is a tiny music synthesizer for C & JS and an editor (“tracker”) to create instruments and arrangements.
GitHub Copilot: Remote Code Execution via Prompt Injection (CVE-2025-53773)
This post is about an important, but also scary, prompt injection discovery that leads to full system compromise of the developer’s machine in GitHub …
Intro to Pandas data structures
Part one of a three part introduction to the pandas library. Geared towards SQL users, but is useful for anyone wanting to get started with pandas.
Introducing Times (for Python)
A tiny pet library for dealing with datetimes and timezones in Python.
IPad 2 introduces new headphone jack
Update: Just to clarify, this post is speculation, not fact. Based on the excellent iFixit teardowns it looks like the iPad 2 headphone jack has pins on both sides , which is more in line with Apple's typical cantilever design (roughly similar to the jack in the Macbook Air ). Interestingly, it looks like the…
Compiling Pattern Matching
This post intends to provide a brief overview of the algorithm described in Luc Maranget’s “ Compiling Pattern Matching to Good Decision Trees ”.
A shallow survey of formal methods for C code
Two interesting things in formally verified software happened recently. The big one was the release of SeL4 - a formally verified L4 microkernel. The second was much smaller, but closer to my usual scope: a paper which showed the correctness of sections of a couple of the assembly implementations of Curve25519.
Implementing a safe garbage collector in Rust
In my last post I introduced an Emacs Lisp VM I was writing in Rust. My stated goal at the time was to complete a garbage collector. I think Rust has some really interesting properties that will make building garbage collectors easier and safer. Many of the techniques used in my GC are not original and have been…
Introduction to LSM Trees: May the Logs Be with You
LSM Trees overview This post is a part of a newsletter that I run: “Scamming The Coding Interview“, which is geared towards helping people ACE their coding interviews. We send a coding qu…
AEADs: getting better at symmetric cryptography
I gave a talk a couple of weeks ago at the Yahoo Unconference . The conference was at the end of a particually hard week for a bunch of reasons and I fear that the talk wasn't that great. (Afterwards I got home about 3pm and pretty much slept until the following morning.) This post is a, hopefully clearer…