r/ProgrammerHumor • • Oct 25 '26

Meme xkcdRelevanceAgain

Post image
14k Upvotes

323 comments sorted by

View all comments

Show parent comment

933

u/Specific_Giraffe4440 Oct 25 '26 edited Oct 25 '26

I am familiar with 4 being funny only from order of the stick, is it also an xkcd thing?

Edit:

what I was thinking of https://www.giantitp.com/comics/oots0090.html

The xkcd OOP is referencing https://xkcd.com/221/

Thanks yall!

501

u/--cheese-- Oct 25 '26

99

u/Specific_Giraffe4440 Oct 25 '26

50

u/danielcw189 Oct 25 '26

I thought the 4 in the XKCD comic was random, and it was about Sony picked the same random number (not 4) everytime, instead of picking new ones.

35

u/dekoboko_melancholy Oct 25 '26

The comic came first. The PS3 random number issue didn't literally use 4, the team that discovered it just used it as a joke in their con talk sharing explaining it

7

u/danielcw189 Oct 25 '26

The [xkcd] comic came first

Thanks for the correction. In my mind I remembered them using the comic at aC3 talk, but I incorrectly remembered that being about a different issue. So I mixed up the timeline.

In fact the xkcd comic is 3 years older than the reveal of Sony's screwup

The PS3 random number issue didn't literally use 4

just to be clear: I wrote that it was another number.

→ More replies (3)

94

u/Banes_Addiction Oct 25 '26

By the way, if you want a real life example of this, ask ChatGPT to generate you a random number between 0 and 30.

It's 17. It's always 17

0

u/[deleted] Oct 25 '26

[deleted] — view deleted comment

32

u/Eptalin Oct 25 '26

Most common between 1 and 100 is 37.
73 also ranks highly.
3's and 7's in general are popular.

→ More replies (1)

10

u/macaulaymcgloklin Oct 25 '26

Yup both Claude and ChatGPT says 17 for me. Definitely randmon

8

u/Schittz Oct 25 '26

That was weird. 17 just like you said

→ More replies (36)

161

u/Loko8765 Oct 25 '26 edited Oct 25 '26 • Bravo

Now 4 is funny because it was chosen as a public private key for an intermediate cert by an Indian CA.

It’s supposed to be really hard to factor a 1024-bit number that is the product of two primes, but it turns out to be not too difficult if the 1024 bits happen to start with 1021 zeros.

[Edit: sorry, seems to have been the EC algorithm instead of the RSA algorithm I was describing, but the snark still applies]

32

u/CardOk755 Oct 25 '26

Well, aktually, they used eliptic curves, not RSA, but same result.

15

u/Specific_Giraffe4440 Oct 25 '26

I’ve always loved that this could happen, improbably so but possible the 2 primes u pick are something like 2 and 2

15

u/Puzzleheaded_Study17 Oct 25 '26

It's not just one key, it was 8, all of which were under 256

→ More replies (1)
→ More replies (2)

25

u/adzm Oct 25 '26

4 was the private key, and was 384 bits, and the results are points on an elliptic curve rather than product of primes

6

u/Loko8765 Oct 25 '26

Ah sorry, I did think it was RSA. I spent some time on other things also this week.

18

u/knobiknows Oct 25 '26

Oh man, I haven't heard oots mentioned in a very long time

10

u/darmok42 Oct 25 '26

It's still going! Updates are slow,  as always, but the story is now on the final stretch.

9

u/GoatTnder Oct 25 '26

And has been for three years!

→ More replies (5)

5

u/Jaqzz Oct 25 '26

I've been seeing OotS referenced in the wild way more the last month or so.

5

u/jainyday Oct 25 '26

Lol i love that comic

Likelihood of Thog getting hit by anvil: 84% (acceptable)

Likelihood of Nale getting hit by anvil: 3% (needs work)

https://www.giantitp.com/comics/oots0255.html

→ More replies (5)