Topics /

Math & Algorithms

The most popular blog posts about math & algorithms on Hacker News. 2,391 posts.

Any year
1664

Why the Dow is a useless market index

The Dow Jones Industrial Average (or 'the Dow', ^DJI, DJIA), is a stock market index created back in 1896 by Charles Dow, a journalist. The goal of the index is provide a view of the stock market's health. The Dow is an index of just 30 (arbitrarily chosen) stocks, weighted by the stock prices of its component…

1675

Commit Graph Drawing Algorithms

This article is one chapter of my master thesis entitled “Design and implementation of a graphical user interface for git”. It describes the algorithm I designed to draw the commit graph in my own prototype git client called gitamine. I have adapted the content so that it fits better with this blog. Drawing graphs is…

1680

NP-hard does not mean hard (2017)

When NP-hardness pops up on the internet, say because some silly blogger wants to write about video games, it’s often tempting to conclude that the problem being proved NP-hard is actually very hard! “Scientists proved Super Mario is NP-hard? I always knew there was a reason I wasn’t very good at it!” Sorry, these two…