331
submitted 9 months ago by Jakylla@sh.itjust.works to c/xkcd@lemmy.world

cross-posted from: https://programming.dev/post/8677292


Transcript:

[A computer program.]

int getRandomNumber()
{
   return 4; // chosen by fair dice roll.
             // guaranteed to be random.
}

Hover Text:

RFC 1149.5 specifies 4 as the standard IEEE-vetted random number.

you are viewing a single comment's thread
view the rest of the comments
[-] MNByChoice@midwest.social 10 points 9 months ago

Seems like the place to share. Ages ago a group epoxied a webcam and used the random flashes (from cosmic rays?) as their source of randomness.

[-] rmuk@feddit.uk 14 points 9 months ago

I think what they're referring to is a company - I think it's CloudFlare - who use a bunch of physical randomness generators to seed their commercial random number generator. One of those seeds is a webcam pointed at a load of lava lamps.

https://youtu.be/1cUUfMeOijg

this post was submitted on 20 Jan 2024
331 points (98.8% liked)

xkcd

8754 readers
223 users here now

A community for a webcomic of romance, sarcasm, math, and language.

founded 1 year ago
MODERATORS