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

xkcd

8773 readers
60 users here now

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

founded 1 year ago
MODERATORS
 

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
[–] [email protected] 3 points 9 months ago

Wasn't that then number always returned by the PS3 random number generator used in their DRM?