Top posts

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

Any topic
Any year
35767

The Worst (2012)

I don’t really know who Dustin Curtis is, but he blogs a lot, and those blog entries often end up onHacker News. Not too long ago, he wrote a blog post titled “The Best,” in which he explains that he has nice stuff. That in fact, everything he owns is actually the very best of its kind.Dustin’s...

35772

Why Entrepreneurs Can't Sleep

For those of you that know me well, you know that I have terrible, horrible insomnia. In high school, I would go to sleep around 3am and then struggle to get up at 6:30 am. I would drink a dozen Mountain Dews everyday just to stay awake. In college, my schedule shifted further so that I was falling asleep around 6am…

35783

A Fairly Fast Fibonacci Function

A common example of recursion is the function to calculate the $n$-th Fibonacci number: def naive_fib(n): if n < 2: return n else: return naive_fib(n-1) + naive_fib(n-2) This follows the mathematical definition very closely but it’s performance is terrible: roughly $\mathcal{O}(2^n)$. This is commonly patched up with…