Re:Hyrum's Law
by camel-cdr on Friday October 21, 2022 @04:09AM
(#33285698)
Sounds a great, I'll keep that in mind when I need a source of randomness next. No need to work with the ugly <random> interface, when the API I already use, gives me randomness.
I sure hope they never change this lovely feature.
[ Parent
| on HN ]
This is not a good idea because Chaos monkey will use a non uniform distribution that is time variant.
Re:Hyrum's Law
by charcircuit on Friday October 21, 2022 @04:35AM
(#33285890)
He never specified he needed uniform randomness.
Generally when using a random number generator, you will want to know the distribution and behavior through time.
Without knowing anything, the RNG could generate all 0s one day, and all 1s the next day, which most people would consider a very bad and worthless RNG.
Re:Hyrum's Law
by charcircuit on Friday October 21, 2022 @10:37AM
(#33288418)
That is why rng whitening algorithms exist.
They will not work if the distribution is time-variant.