Best of 2019

The blog posts Hacker News loved most in 2019. 2,668 posts.

Any topic
972

One week of empathy training

I've spent a week cosplaying as a disabled user. And I hate it. A couple of months ago, I attended a private talk given by a disabled colleague of mine. "Everyone should believe disabled people's stories about accessibility problems," she said. "But, given that people don't, here's what I want you to do. Spend one…

974

How Radar Works

Radar is one of the most versitile sensors we have to determine what is happening in an environment. Some common applications include air traffic control, weather prediction, automated driver assist, astronomy and terrain mapping. Given that these applications have wildy varying requirements on resolution, range and…

978

To ORM or Not to ORM

I've been enjoying using Go's database/sql package for working with databases. Recently, some mentions of gorm piqued my curiosity about using ORMs in Go vs. using database/sql directly. Having had some mixed experiences with ORMs in the past, I decided to start with a practical experiment by writing the same simple…

980

Nobody Likes the “Idea Guy”

One time I had a “great” idea for a telephone company. Service would be free—all the calls you want! But you’d have to listen to advertisements before each one. I asked my friend what he thought the idea was worth. His answer: “I don’t know. Telephone companies make a lot of money. Maybe $1 billion?” […]

981

A bug I wish I hadn't caught

When I catch a bug before release I’m usually glad, because I’ve narrowly averted ruining someone’s experience or eating their data. Today I found a bug that I wish I hadn’t caught, a bug that I wish I’d released into the wild to witness in its full glory. I found this bug in my digital card game Ring of Worlds, and…

984

Anatomy of an ELF executable

Almost every one of you must have written a program, compiled it and then ran it to see the fruits of your hard labour. It feels good to finally see your program working, isn’t it? But to make all of this work, we have someone else to thankful too. And that is your compiler (of course, assuming that you are working in…

986

Files Are Fraught with Peril

This is a psuedo-transcript for a talk given at Deconstruct 2019. To make this accessible for people on slow connections as well as people using screen readers, the slides have been replaced by in-line text (the talk has ~120 slides; at an average of 20 kB per slide, that's 2.4 MB. If you think that's trivial…