Top posts
Every blog post that took off on Hacker News, ranked by the votes of its best submission. 49,292 posts.
Empirical Bayes for multiple sample sizes
The James-Stein Estimator with unequal variances
Rethinking the Commodore 64 Memory Map (2018)
I've had my head down, programming away on C64 OS, and been making some great progress. I've tweeted a few things out, some of which are revealing of things I've either never talked about here or even seem to contradict what I've said here. So I'd like to take a breather and talk about some of these developments.
Upside Down Air Force
The Air Force Research Laboratory / Information Directorate, located at the Rome Research Site (formerly Griffiss Air Force Base), tests electronic countermeasures (ECM) equipment on various airframes for blind spots in the EMC equipment, or for interference by the aircraft's external munitions on the EMC equipment…
Playing with genetic algorithms in Python
Edit: This post made it to the front page of Hacker News! You can find the discussion here.
Measuring the size of the Earth by watching a shadow on a wall
Recently I've been discussing the details of measuring the size of the Earth by watching a shadow descending a wall at sunrise, or ascending at sunset. The sums are easy enough if you do it at either Equinox, and at the Equator, and you can read about it here:
The wanton destruction of a creative-tech era
Fastly, you killed glitch.com and ruined your karma for 10,000 years. You have “betrayed yourself for nothing.”
Private equity looting public health in a pandemic
During a 2007 trip to NYC, while taking long walks from one indie bookstore to the next, lugging increasingly heavy bags of pressed vegetable matter, I stumbled on Simon Lovell's How to Cheat at Everything at the St Mark's Bookshop.
The Qweremin
In the summer of 2022 I built a C64-based theremin, described and explained here . The theremin, of course, is one of the oldest electronic instruments. Its main drawback—and strength—is that it's incredibly hard to master. The performer has ultimate control over volume and pitch, but it takes months of practice…
An NSFW filter for Marginalia search
… optional, that is. I’ve been working on an NSFW filter for Marginalia Search, as that is something some people have asked for, primarily API consumers. The search engine has had some domain based filtering for a while, based on the UT1 lists, but that isn’t a very comprehensive approach. We’ll land on a single…
The limitations of sampling profilers
Perf is probably the most widely used general purpose performance debugging tool on Linux. There are multiple contenders for the #2 spot, and, like perf, they're sampling profilers. Sampling profilers are great. They tend to be easy-to-use and low-overhead compared to most alternatives. However, there are large…
How much memory does a graph take?
We need a fast way to query multiple potentially large sets of data on-demand at interactive speeds. Sometimes the easiest solution to a hard problem is to build the right tool for the job.
Robert Elder Software Linux Operating System
Dec 12, 2019 Update: This piece of software is no longer available as I have turned it off due to lack of interest. The article below used to contain a number of links which I have removed. The content below remains only for archival purposes.
Dos and Don’ts for Founders
I’m Ryan Carson, and I’ve been a Founder CEO for 20 years, building, scaling and selling three companies.
Six Characters
What the PNR locator on your boarding pass actually contains, and why the fare calculation line on your e-ticket is written in a currency that does not exist.
FreeBSD on the Graviton 3
As far as FreeBSD is concerned, Graviton 3 is mostly just a faster version of the Graviton 2: Most things "just work", and the things which don't work on Graviton 2 — hotplug devices and cleanly shutting down an instance via the EC2 API — also don't work on Graviton 3. (Want to help get these fixed? Sponsor my work on…
Penrose Mazes (2020)
Mazes are typically constructed on regular grids: square, triangular, hexagonal, etc. But what if you generate a maze on top of a Penrose tiling, which is guaranteed to be irregular? (It is an aperiodic tiling .) The resulting mazes have a very characteristic appearance: they are filled with circles and stars, but the…
Boosting zopfli performance
Introduction Deflate compression has been around for over 20 years. It's the format used inside most ZIP files. It's used by HTTP to redu...
What Alan T. did for his PhD
We’ve all been there before: by the time you start graduate school in Princeton, you’ve already invented the Turing machine, pioneered the concept of computational universality, and pro…
The beauty of mixed-radix bases
On the relationship between mixed-radix bases and array indexing
The C++ programmer and educator Rainer Grimm has passed away
Dear readers, we are extremely sad to inform you that Rainer passed away on October 6, 2025, surrounded by his closest family. After suffering from life-threatening pneumonia, Rainer decided against further life-sustaining measures that would have severely restricted his life. He passed away peacefully, accompanied by…
Modern 6502
Mike Kohn's music, software, and electronics projects.
The Laser Doodler
So I’ve got a project coming up (that may have something to do with this tweet ) that will require a few LED matrix displays. I found a suitable candidate online and ordered one to play around with. Since I already had the display, I thought it’d be fun to run it through the paces and build a little circuit out of it…
Planetary – a music sequencer that looks like a simple landscape
In short: it's a sequencer that is deliberately designed to work a bit like Michel Gondry's video for Star Guitar :