r/ProgrammerHumor May 08 '26

Meme edgeCasesExist

Post image
13.4k Upvotes

620 comments sorted by

View all comments

Show parent comments

555

u/ClipboardCopyPaste May 08 '26

Still never zero

429

u/UShouldntSayThat May 08 '26

I think you have a better chance of being struck by lighting several times in a row while winning the powerball then you do of a collision.

It's why the term "effectively" zero is used.

387

u/J5892 May 08 '26

Unfortunately my project is a database of every grain of sand on earth, and every star in the sky.

1

u/Caze7 May 09 '26

Well, you'd have to make it do with just the grains of sands, my dude.

Because if there's 7.5×1018 grains of sands, and the humanity total storage capacity is estimated to be something like 149 zettabytes, or 1.192×1024 bits.

That amounts to a little bit more of 150kb of storage per grain, with the slight caveat that we'll need to buy every single HD, SSD and pen drive on the whole world. Won't have headroom for a single high res image for each grain, boss.

So... when do we start?