Best of 2011

The blog posts Hacker News loved most in 2011. 1,905 posts.

Any topic
1442

The most stupid C bug ever

I have been programming for a number of years already. I have seen others introduce bugs, and I have also introduced (and solved!) many bugs while coding. Off-by-one, buffer-overflow, treating pointers as pointees, different behaviors or the same function (this is specially true for cross-platform applications), race…

1466

jwz: Apple recently broke Ctrl-Y

Ever since MacOS 10.0 was released, text fields have supported Emacs bindings for the single-character Control commands, showing that there were people inside Apple (and, presumably, NeXT) who were right-thinking and sensible. But some time late in the 10.6 release cycle, and continuing into 10.7.1, the binding for…