How do we generate numbers that honor a normal distribution?
-
-
Last tip: always measure your little random functions with a histogram or whatever. I still code these wrong and have to check. Thanks for reading!
Show this threadThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
When you say "... BUT UNDERSTAND THAT THIS IS NOT SECURE." Are you talking about encrypting sensitive information in a predictable way like md5 hash (or worse) kinda thing? Or having predictable game mechanics? Or are there greater security risks here than predictable outputs?

-
Just that it’s predictable. In games and tests that’s ok, in security systems it’s fatal. RNGs should be nondeterministic by adding entropy every round.
End of conversation
New conversation -
-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.