Reweighting a graph for faster shortest paths | Hacker News Reader