Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Huh? How would you determine if something was randomly chosen based on a single selection? Given all the colors available, is #FF4A00 not a possible selection in your function?

Regardless, this is incredible nitpicking. "Pick one randomly" from the human brain obviously specifies a bad PRNG. Who cares?



You're correct in pointing out that the odds of #FF4A00 being selected randomly are the same as the odds of #EAF7C2 being selected randomly; just as the odds of the Powerball numbers 1 2 3 4 5 P6 being selected randomly are just the same as the odds of the Powerball numbers 1 36 40 52 53 P20 being selected randomly. However, the odds of the former sets being selected non-randomly are greater.


Whenever I pick random colors, they always suck. Most of the time it's an ugly shade of green or yellow or something. This made me wonder whether it was really randomly chosen from all colors, or a random existing color. I didn't mean to nitpick.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: