[wp-trac] [WordPress Trac] #51739: Randomize Header Images aren't actually random
WordPress Trac
noreply at wordpress.org
Mon Nov 9 23:19:24 UTC 2020
#51739: Randomize Header Images aren't actually random
--------------------------+----------------------
Reporter: richbhanover | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: General | Version:
Severity: normal | Resolution: wontfix
Keywords: | Focuses:
--------------------------+----------------------
Changes (by Otto42):
* status: new => closed
* resolution: => wontfix
* milestone: Awaiting Review =>
Comment:
100 samples is far too small, and the random functions used in this case
are not "true" randomness to begin with, but only pseudo-random functions.
Even so, random does not guarantee uniform distribution, as that would not
be random. That would be "shuffle", at best.
Don't think there is anything to be fixed here, as true randomness would
be somewhat overkill and slow for the desired use case. True randomness in
computing systems tends to be limited to cryptographic uses.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51739#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list