3 ms·
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, gi
by camel-cdr 4y ago
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.
- amelius 4y agoThis is not a good idea because Chaos monkey will use a non uniform distribution that is time variant.
- charcircuit 4y agoHe never specified he needed uniform randomness.
- amelius 4y agoGenerally 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.
- charcircuit 4y agoThat is why rng whitening algorithms exist.
- amelius 4y agoThey will not work if the distribution is time-variant.
- lupire 4y agoGood libraries are random on non-guaranteed parameters (like sort order) so they client tests detect that non-guaranteed immediately and clients don't depend on non-guarantees.