Top posts
Every blog post that took off on Hacker News, ranked by the votes of its best submission. 49,292 posts.
Teensy 3.1 bare metal: Writing a USB driver (2014)
Electronics, Embedded Systems, and Software are my breakfast, lunch, and dinner.
Speeding up the Super Game Boy
The Super Game Boy allows you to play Game Boy games on your Super Nintendo. This is an impressive feat, when you consider that the two consoles share basica...
Ways to leak your data: apps’ circumvention of the Android permissions system
50 ways to leak your data: an exploration of apps’ circumvention of the Android permissions system Reardon et al., USENIX Security Symposium 2019 The problem is all inside your app, she said to me …
A review of probability theory
In preparation for my upcoming course on random matrices, I am briefly reviewing some relevant foundational aspects of probability theory, as well as setting up basic probabilistic notation that we…
Surviving without a superuser in Postgres 16
As I've written about before , a PostgreSQL superuser always has the ability to take over the operating system account in which PostgreSQL i...
Interview with Matt Might
Interview with Matt Might, a professor, programming languages researcher, investigator of rare disease, and popular blogger.
Here be four bits of dragons: the Mattel D&D Computer Game and the TMS1100
When my parents sold the house and moved to the great white north, they dropped off a few boxes of my stuff that was still in the garage. ...
The era of exploration
This post explores the idea that the next breakthroughs in AI may hinge more on how we collect experience through exploration, and less on how many parameters and data points we have.
Stark Industries Solutions: An Iron Hammer in the Cloud
Two weeks before Russia invaded Ukraine in February 2022, a large, mysterious new Internet hosting firm called Stark Industries Solutions materialized and quickly became the epicenter of massive distributed denial-of-service (DDoS) attacks on government and commercial targets in Ukraine and Europe. An investigation…
An array of eight SN76489 sound chips playable via USB MIDI
The SN76489 is the same sound chip as found in the SEGA Master System. This is an array of eight SN76489 sound chips playable via USB...
Steve Blank: Gravity Will be Turned Off
Part of marketing is the ability to communicate a message to thousands of people and convince them to believe your version of reality. When I was 19 I accidentally had a test run of my ability to d…
How to Write a Programming Book
If you read Programming books, then your goal is to learn. If you write Programming books then your goal is to teach. When I wrote my book…
The algebraic structure of functions, illustrated using React components
Did you know there’s an algebraic structure for functions? That may not surprise you at all. But it surprised me when I first found out about it. I knew we used functions to build algebraic structures. It never occurred to me that functions themselves might have an algebraic structure. The structure is fascinating…
Guided by the beauty of our test suite
Last summer, I published Raven , an independent implementation of the Uxn CPU and Varavara ordinator . In short, this is a fictional computer designed for cross-platform portability: programs targetting it can be run on any platform that implements the specification.
Small Introduction to Markov Chains
Introduction A Markov Chain is a set of transitions from one state to the next; Such that the transition from the current state to the next depends only on the current state, the previous and future states do not effect the probability of the transition. A transitions independence from future and past sates is called…
A Simple Explanation of How Shares Move Around the Securities Settlement System
I explained here how money moves around the banking system and how the Bitcoin system causes us to revisit our assumptions about what a payment system must look like. In this post, I turn my attent…
Anatomy of a DNS Lookup – Part II
and determined that most programs reference /etc/resolv.conf along the way to figuring out which DNS server to look up.
How the Sears Catalog Undermined White Supremacy in the Jim Crow South
Sears has filed for bankruptcy protection and plans to close hundreds of stores in an effort to keep the company afloat. The Sears catalog is perhaps one of the
The 68000 Wars, Part 2: Jack Is Back
Jack Tramiel, the computer executive most likely to be compared to Darth Vader. I wonder why?
Passport
Announcing Passport, the new infrastructure supporting Stratechery.
Getting a network trace from a single application
I recently wanted a way to get a network packet trace from a specific application. My googling showed me an old askubuntu thread that solve...
When Greedy Algorithms Are Good Enough (2014)
Greedy algorithms are among the simplest and most intuitive algorithms known to humans. Their name essentially gives their description: do the thing that looks best right now, and repeat until nothing looks good anymore or you’re forced to stop. Some of the best situations in computer science are also when greedy…