this post was submitted on 27 Jun 2025
850 points (98.6% liked)

Programmer Humor

24709 readers
264 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Zink@programming.dev 39 points 5 days ago (16 children)

This was a fun one to look up. https://en.wikipedia.org/wiki/Shannon_number

It looks like the number of valid chess positions is in the neighborhood of 10^40 to 10^44, and the number of atoms in the Earth is around 10^50. Yeah the latter is bigger, but the former is still absolutely huge.

Let's assume we have a magically amazing diamond-based solid state storage system that can represent the state of a chess square by storing it in a single carbon atom. The entire board is stored in a lattice of just 64 atoms. To estimate, let's say the total number of carbon atoms to store everything is 10^42.

Using Avogadro's number, we know that 6.022x10^23 atoms of carbon will weigh about 12 grams. For round numbers again, let's say it's just 10^24 atoms gives you 10 grams.

That gives 10^42 / 10^24 = 10^18 quantities of 10 grams. So 10^19 grams or 10^16 kg. That is like the mass of 100 Mount Everests just in the storage medium that can store multiple bits per atom! That SSD would be the size of a ~~small~~ large moon!

[–] CrazyLikeGollum@lemmy.world 6 points 5 days ago* (last edited 5 days ago) (6 children)

Assuming your math is correct (and I have no reason to doubt that it is) a mass of 10^16 kg would actually be a pretty small moon or moderately sized asteroid. That's actually roughly the mass of Mars' moon Phobos (which is the 75th largest planetary moon in the Solar System).

[–] Tja@programming.dev 1 points 5 days ago (4 children)

Out of curiosity, why did you say planetary moon? Is there any other kind?

[–] itslilith@lemmy.blahaj.zone 3 points 5 days ago (1 children)

Dwarf planets sometimes have moons (e.g. Pluto)

[–] CrazyLikeGollum@lemmy.world 2 points 5 days ago (1 children)

Some large asteroids have moons too.

[–] VoidJuiceConcentrate@midwest.social 1 points 2 days ago (1 children)

this leads to the question: are they still considered a moon when the barycenter is in the space between them?

[–] CrazyLikeGollum@lemmy.world 2 points 2 days ago

There is no clear definition of what constitutes a moon other than it being a body that orbits another body that orbits the parent star.

There are some astronomers who say the dividing line between a moon-planet/dwarf planet/asteroid system and binary (or more) planet/dwarf planet/asteroid system is whether or not the barycenter of the orbits is within one of the bodies or not.

And fun fact: if that definition gained acceptance, it would mean that the Pluto-Charon system would go from a dwarf planet-moon system to a binary dwarf planet system. Charon could get a promotion.

load more comments (2 replies)
load more comments (3 replies)
load more comments (12 replies)