Best of 2019

The blog posts Hacker News loved most in 2019. 4,838 posts.

Any topic
3730

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…

3745

Tilton

In 2000, the programmatic browser differences were perplexing, so I made a tool to help manage the problem. I started with something similar to ecomcon (see How JavaScript Works , Chapter 23). I would have special markers in the source that designated sections of code that would only be delivered to particular…

3748

I’m Leaving IBM

Today is my last day at IBM. If you’ve been following along, IBM bought my startup Resilient Systems in Spring 2016. Since then, I have been with IBM, holding the nicely ambiguous title of “Special Advisor.” As of the end of the month, I will be back on my own. I will continue to write and speak, and do the occasional…