Top posts

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

Any topic
Any year
29564

Prions

Editor’s Note 4/4/21: A few weeks after this article was published, a mysterious prion disease was identified in New Brunswick, Canada. I do not have to say that viruses have dominated every level of public conversation for the past year. Ancient and odd but relatively easy to talk about,

29569

Callbacks are Pretty Okay

Among the many proposed solutions, one of them strikes me as particularly clean: "asynchronous wait" or "wait and defer". iced-coffee-script had this a while ago. Kal just debuted with an identical solution, only differing in syntax. Supposedly LiveScript supports this with "backcalls" .

29571

You Can't Always Hash Pointers in C

Occasionally I’ve needed to key a hash table with C pointers. I don’t care about the contents of the object itself — especially if it might change — just its pointer identity. For example, suppose I’m using null-terminated strings as keys and I know these strings will always be interned in a common table. These…