Fanaticus
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Jakylla@sh.itjust.works to xkcd@lemmy.worldEnglish · 2 years ago

xkcd #221: Random Number (9 Nov 2007)

programming.dev

message-square
0
link
fedilink
1

xkcd #221: Random Number (9 Nov 2007)

programming.dev

Jakylla@sh.itjust.works to xkcd@lemmy.worldEnglish · 2 years ago
message-square
0
link
fedilink

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


  • xkcd / 221
  • Explain xkcd / 221

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.

alert-triangle
You must log in or # to comment.

xkcd@lemmy.world

xkcd@lemmy.world

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !xkcd@lemmy.world

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

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 8 users / day
  • 8 users / week
  • 8 users / month
  • 8 users / 6 months
  • 0 local subscribers
  • 6.58K subscribers
  • 97 Posts
  • 0 Comments
  • Modlog
  • mods:
  • koraro@lemmy.world
  • BE: 0.19.15
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org