What has a 1 in a million chance? (2010)
21–30 of 199 posts
Re: What has a 1 in a million chance? (2010)
#22This sentence desperately needs parentheses. Took me five minutes to parse correctly.
Re: What has a 1 in a million chance? (2010)
#23Picking a random integer between 1 and 1 million.
That depends on the quality of your randomness. If it's a person picking the number that definitely isn't a 1 in a million chance for most numbers. You need to get pretty specialized hardware before you can confidently say it's definitely an equal chance for every number every time.
Re: What has a 1 in a million chance? (2010)
#24Re: What has a 1 in a million chance? (2010)
#25Picking a random integer between 1 and 1 million.
That depends on the quality of your randomness. If it's a person picking the number that definitely isn't a 1 in a million chance for most numbers. You need to get pretty specialized hardware before you can confidently say it's definitely an equal chance for every number every time.
Re: What has a 1 in a million chance? (2010)
#26> "Scientists have calculated that the chances of something so patently absurd actually existing are millions to one. But magicians have calculated that million-to-one chances crop up nine times out of ten." -- Terry Pratchett Making fun of the fact that if someone says "it's a million-to-one chance, but it might just work!" in fiction, you know it's going to work. In _Guards! Guards!_ this is taken to the point that…
Re: What has a 1 in a million chance? (2010)
#27Picking a random integer between 1 and 1 million.
Re: What has a 1 in a million chance? (2010)
#28Re: What has a 1 in a million chance? (2010)
#29Earlier quoted context omitted.
No, you don’t need specialized hardware. The output of a modern hash for crypto absolutely needs to produce a uniform distribution across a million.
But how do you pick the input for the hash?
In practice, a precise clock and a few difficult to guess events like keyboard and mouse inputs are enough to get a descent seed.
Re: What has a 1 in a million chance? (2010)
#30Being Dealt a Royal Flush in Poker. NO but pretty close. Being Born on February 29th. NO