Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ilcavero
on April 21, 2011
|
parent
|
context
|
favorite
| on:
A common bug in published code
the main cause here is that randomness is hard to test so that code was just assumed to be correct. With randomness you can never be sure,
http://www.random.org/analysis/
klodolph
on April 21, 2011
[–]
Yes, but... (int)Math.random() always returns zero. A little suspicious.
polynomial
on April 22, 2011
|
parent
[–]
You can never be sure the next one won't be a 1!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: