Have you ever needed to generate a random number in code? whether it's for rolling a dice, or shuffling a set, this tweet thread is here for you! There's no reason that it should be easy or obvious, very experienced programmers repeat common mistakes. I did, before I learned ...
-
-
True. I’m giving a little benefit of the doubt because that wasn’t as well-known back in the dark ages.
-
Statistically a 128-bit LCG with just upper 32 bits used is pretty damn decent.
-
And orders of magnitude smaller than MT in state size, code size, & conceptual complexity.
-
No argument here.
End of conversation
New conversation -
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.