Top posts

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

Any topic
Any year
48122

Fast CSV Processing with SIMD

I recently learned of csvquote , a tool that encodes troublesome CSV characters such that unix tools can correctly process them. It reverses the encoding at the end of the pipeline, recovering the original input. The original implementation handles CSV quotes using the straightforward, naive method. However, there’s a…

48132

Letting neural networks be weird

Machine learning algorithms are not like other computer programs. In the usual sort of programming, a human programmer tells the computer exactly what to do. In machine learning, the human programmer merely gives the algorithm the problem to be solved, and through trial-and-error the algorithm has to figure out how to…

48135

Clever ideas that failed (2010)

The cleverness of an idea is proportionate to its odds of failure. Brian Kernighan once said that “debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.” I have built many things that I wasn’t…