@zarkanian@sh.itjust.works to 196@lemmy.blahaj.zone • 2 months agoProbability rulesh.itjust.worksimagemessage-square45fedilinkarrow-up1373arrow-down10
arrow-up1373arrow-down1imageProbability rulesh.itjust.works@zarkanian@sh.itjust.works to 196@lemmy.blahaj.zone • 2 months agomessage-square45fedilink
minus-square@Deestan@lemmy.worldlinkfedilink6•edit-22 months agoB is correct if you get Microsoft to code the random selector: https://www.robweir.com/blog/2010/02/microsoft-random-browser-ballot.html Bubble sort the alternatives with a RNG for comparison function and pick the alternative that ends up in first position.
B is correct if you get Microsoft to code the random selector: https://www.robweir.com/blog/2010/02/microsoft-random-browser-ballot.html
Bubble sort the alternatives with a RNG for comparison function and pick the alternative that ends up in first position.