this post was submitted on 17 Jul 2024
314 points (94.6% liked)

Programmer Humor

32022 readers
544 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] HatchetHaro@lemmy.blahaj.zone 38 points 2 months ago* (last edited 2 months ago) (2 children)

to be fair, though, 1 and 0 are just binary representations of values, same as decimal and hexadecimal. within your example, we'd absolutely find the entire works of shakespeare encoded in ascii, unicode, and lcd pixel format with each letter arranged in 3x5 grids.

[–] driving_crooner@lemmy.eco.br 31 points 2 months ago (2 children)

Doesn't, the binary pattern 10101010 dosen't exists on that number, for example.

[–] leverage@lemdro.id 6 points 2 months ago (1 children)

You can encode base 2 as base 10, I don't think anyone is saying it exists in binary form.

[–] twei@discuss.tchncs.de 2 points 1 month ago

Well it's infinite so it has to I guess

[–] TdotMatrix@lemmy.ml 5 points 1 month ago (1 children)
[–] Turun@feddit.de 11 points 1 month ago

No, because you can't mathematically guarantee that pi contains long strings of predetermined patterns.

The 1.101001000100001... example by the other user was just that - an example. Their number is infinite, but never contains a 2. Pi is also infinite, but does it contain the number e to 100 digits of precision? Maybe. Maybe not. The point is, we don't know and we can't prove it either way (except finding it by accident).

[–] CanadaPlus@lemmy.sdf.org 7 points 2 months ago* (last edited 2 months ago)

Actually, there'd only be single pixels past digit 225 in the last example, if I understand you correctly.

If we can choose encoding, we can "cheat" by effectively embedding whatever we want to find in the encoding. The existence of every substring in a one of a set of ordinary encodings might not even be a weaker property than a fixed encoding, though, because infinities can be like that.