Hacker News new | ask | show | jobs
Darts, Dice, and Coins: Sampling from a Discrete Distribution (keithschwarz.com)
2 points by pk86 2202 days ago