Best of 2011

The blog posts Hacker News loved most in 2011. 2,717 posts.

Any topic
2672

Introducing Babel

Babel is about letting many different languages work together. Programming languages live in code blocks inside natural language Org documents. A piece of data might pass from an Org table to a Python code block, then maybe move on to an R code block, and finally end up embedded as a value in the middle of a paragraph…

2674

Happy Run Some Old Web Browsers Day!

Happy Run Some Old Web Browsers Day! In honor of the ten year anniversary of the Mozilla project, home.mcom.com, the Internet Web Site of the Mosaic Communications Corporation, is now back online. It took some doing. There is comedy. First, the fun stuff: Until now, home.mcom.com and all URLs under it just redirected…

2683

really bad attitude

The first three newsgroups created inside Netscape (then Mosaic Communications ), when our news server went online the first time, were mcom.general, mcom.humour, and mcom.bad-attitude.

2684

He Who Controls the Bootloader

The day before I submitted this column, news hit the net that the other shoe had finally dropped. After months of waiting and wondering what was to become of Be, we learned that Palm, Inc. will be purchasing Be's technology, intellectual property, and assets. While we don't yet know exactly what Palm plans to do with…

2687

Knuth: Recent News

Leading banks and investment funds have been foundering, because of bad debts and lack of trust; and other, less well-known kinds of fiscal chaos are also on the horizon. For example, due to an unfixable security flaw in the way funds are now transferred electronically, worldwide, it is no longer safe to write…

2689

The context sensitivity of C's grammar

Context free grammars (CFGs) are a valuable theoretical tool on which the modern compilation theory relies for parsing the code of programming languages. For example, the most popular tool used for parsing – YACC , generates parsers for CFGs. What most people don’t know 1 is that the vast majority of programming…

2692

mikeash.com: NSBlog

accessors (2) advertisement (11) advice (4) apple (7) apress arc (6) arduino assembly (11) assert (2) atomic (3) audio (4) autorelease (3) blocks (14) bolo (3) book (4) books (2) braaaiiiinnnssss (2) bridging bug (3) c (19) c++ (4) c99 casestudy chemicalburn (4) clang (5) classic (2) cocoa (42) code (4) codeinjection…

2697

Explorable Explanations

An active reader asks questions, considers alternatives, questions assumptions, and even questions the trustworthiness of the author. An active reader tries to generalize specific examples, and devise specific examples for generalities. An active reader doesn't passively sponge up information, but uses the author's…

2698

"Schneier's Law"

Back in 1998, I wrote: Anyone, from the most clueless amateur to the best cryptographer, can create an algorithm that he himself can’t break. In 2004, Cory Doctorow called this Schneier’s law: …what I think of as Schneier’s Law: “any person can invent a security system so clever that she or he can’t think of how to…

2699

The protocol-relative URL

Update 2014.12.17: Now that SSL is encouraged for everyone and doesn’t have performance concerns , this technique is now an anti-pattern . If the asset you need is available on SSL, then always use the https:// asset.