News for hackers. Stuff that matters.
Re:Cointoss by flixic on Monday February 25, 2013 @07:10AM (#5278532)
I also do this often, but taking inspiration from "The Dice Man", I assign weights to options (0.3 for one option, 0.6 to another, 0.1 for the third - I assign weight very quickly, without much consideration), launch calculator and press Random button. If 0.4 comes up, second option wins (over 0.3, less than 0.9).
Re:Cointoss by devcpp on Monday February 25, 2013 @07:45AM (#5278648)
And this is exactly how we generate random values with a certain distribution.