Darts, Dice, and Coins: Sampling from a Discrete Distribution | Hacker News Reader