If there were a RNG that gave different answers for the same seed, why bother seeding at all? ;)
Some alternative methods are to use long strings of values of things that are constantly changing for seeds. Epoch time time is good for that, since it's got 10 digits and changes every second. More robust methods measure the voltage in a resistor, temperature or some component of weather to the umpteenth digit to generate a seed. Those last few digits change so easily you'll "rarely" have a repeat.
If you really want to dive down that rabbit hole, consider getting your hands on a copy of Numerical Recipes.
Note: I'm not an expert, but I've run a few Monte Carlos.
5
02 Sep 2015 15:55
u/Devilbiter
in v/programming
If there were a RNG that gave different answers for the same seed, why bother seeding at all? ;)
Some alternative methods are to use long strings of values of things that are constantly changing for seeds. Epoch time time is good for that, since it's got 10 digits and changes every second. More robust methods measure the voltage in a resistor, temperature or some component of weather to the umpteenth digit to generate a seed. Those last few digits change so easily you'll "rarely" have a repeat.
If you really want to dive down that rabbit hole, consider getting your hands on a copy of Numerical Recipes.
Note: I'm not an expert, but I've run a few Monte Carlos.