Top posts

Every blog post that took off on Hacker News, ranked by the votes of its best submission. 4,109 posts.

Any topic
2025
3963

Hyper Typing

In this article, I talk about an inherent trade-off in TypeScript's type system: stricter types are safer, but often more complex. I describe a phenomenon I call "hyper-typing", where libraries - in pursuit of perfect type safety - end up with overly complex types that are hard-to-understand, produce cryptic errors…

3965

Indices, not Pointers

There is a pattern I’ve learned while using Zig which I’ve never seen used in any other language. It’s an extremely simple trick which - when applied to a data structure - reduces memory usage, reduces memory allocations, speeds up accesses, makes freeing instantaneous, and generally makes everything much, much…

3982

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…

3984

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…