Re:Random with care
by munificent on Friday January 05, 2018 @04:34PM
(#16081892)
Re:Random with care
by AceJohnny2 on Friday January 05, 2018 @07:28PM
(#16083003)
More recently, in the Hearthstone online card game community: "RNJesus"
More generally, this term is used in basically every game that has a big RNG component (lots of rogue-likes, for instance).
You should have used a low-discrepancy sequence with a random seed.
Early versions of the Mersenne Twister were apparently susceptible to bad seeding with many zeros that it took a while to "random" itself out of.
This is a good example of where JadeNB's comment about it being dangerous to roll RNGs where it matters[0] applies.
That comment makes a good point but this was no home-rolled RNG. unif(0,1) simply came back less than 0.4 a few hundred times in a row, or the Random Number God demanded sacrifice and was propitiated (the client fired us and the RNG has behaved ever since).
moral of the story: behind every RNG Cthulhu waits, sleeping.