The Unreasonable Effectiveness of Random Forests
It’s very common for machine learning practitioners to have favorite algorithms. It’s a bit irrational, since no algorithm strictly…
Every blog post that took off on Hacker News, ranked by the votes of its best submission. 49,288 posts.
It’s very common for machine learning practitioners to have favorite algorithms. It’s a bit irrational, since no algorithm strictly…
A blog about software craft and quality
Audioscope: What you see is what you hear.
A quick note on the importance of reading the terms of service!
[2026/09/14]: This article became the most popular I've ever written. Since it was written a long time ago, I decided to rework it: polishing the wording to facilitate comprehension, fixing dead links and typos, and adding interactivity. Still, it remains faithful to the original — a lot of people discussed it and…
It’s important to understand the cost of memory allocations, but this cost can be surprisingly tricky to measure. It seems reasonable to measure this cost by wrapping calls to new[] and delet…
I wrote this three years ago after burning through my family’s life savings in a failed startup, but never posted or published it – as frankly it hurt too much. After all, no one ever …
In 2019 I bet on the no-code revolution. That bet aged so-so. Here is the new one.
H exagons are ubiquitous in wargames now (indeed, both Philip Sabin’s War: Studying Conflict Through Simulation Games and Peter Perla’s The Art of Wargaming feature hexagons on their book covers), but this wasn’t always the case. My first wargame – the first board wargame for many of us – was Avalon Hill’s original…
I told this story to an entrepreneur last weekend and she loved it. So I figured I should tell it to everyone here at AVC. I was a mechanical engineering major (course 2) at MIT. One of the best classes in the mechanical engineering curriculum at MIT is 2.70, Introduction To Design. And the highlight […]
An in-depth analysis that explains how this console works internally
In the tradition started by Colin Percival and Thomas Ptacek, a set of “Cryptographic Right Answers” updated for the accelerated post-quantum transition timeline.
In my previous article I looked at the ways that Rust could be better at pointers. Half of the problems were fundamental issues that affect basically every programming language that lets you mess with pointers directly, and the other half were rust-specific issues. My article also proposed two solutions: for the…
After 4 years with Apple's TextKit 2: The promised 'better' text engine has unstable scrolling, unreliable height estimates, and viewport issues so bad that even Apple's TextEdit suffers from them. Good architecture, but the implementation makes it frustratingly difficult for real-world apps.
I got invited to speak at the last Hacker News London meet up and gave a talk called That'll Never Work! about crazy ideas and what to do ...
A familiar story: company makes product, product becomes wildly popular, company royally fucks product up. The most recent example of this is TimelineGate, but it’s something I’ve had on my mind for a while. Thus I present to you a list of complaints about personally-inconvenient UI changes, carefully disguised as a…
This is a guest post by Joannes Vermorel, founder of the Lokad Forecasting Service. Software developers seem to be herd animals. They like to stay very close to each other. As a result, the marketp…
Why backspaces sometimes don't work the way they should.
From OP 2230, "Workmanship and Design Practices for Electronic Equipment" , published by the direction of the chief of the Bureau of Naval Weapons , 1 December, 1962. pp. 7-9 --- 7-14.
EDIT - the original article has an image of the PCB with the floppy power connector mounted the WRONG WAY. This is the INCORRECT WAY. Do NO...
Overall discussion on compilers and IRs (LLVM IR, SPIR-V, and MLIR): why they are in their current manner and how they would evolve
As I was debugging a wireless mouse based on a 2.4 GHz proprietary protocol, I wanted to detect the transmitted signals. Note that I purposefully wrote “detect”: It was sufficient to see how often the transmission occurred (and if at all) and whether the link was unidirectional – i.e., only the mouse transmits and the…
Homoiconicity (code as a data structure) is one of the pillars of the Clojure language. It gives the extensibility and flexibility to the language.