this post was submitted on 30 Jul 2025
508 points (96.2% liked)

memes

16588 readers
3400 users here now

Community rules

1. Be civilNo trolling, bigotry or other insulting / annoying behaviour

2. No politicsThis is non-politics community. For political memes please go to !politicalmemes@lemmy.world

3. No recent repostsCheck for reposts when posting a meme, you can only repost after 1 month

4. No botsNo bots without the express approval of the mods or the admins

5. No Spam/AdsNo advertisements or spam. This is an instance rule and the only way to live.

A collection of some classic Lemmy memes for your enjoyment

Sister communities

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] BarrelAgedBoredom@lemmy.zip 36 points 3 days ago (11 children)

But 0!=1, what am I missing here?

[–] pinball_wizard@lemmy.zip 28 points 3 days ago* (last edited 3 days ago) (3 children)

Genie grants the wish, and then deducts one from the pool of remaining wishes.

Edit 1: And it is implied that the Genie stored the number of remaining wishes as an eight bit unsigned integer, where subtracting one from zero gives 255.

It is worth noting that unsigned integer subtract-from-zero exploits were common in video games from around the time that Disney's Aladdin was released.

Edit 2: No discussion of amusing subtract-from-zero bugs is complete without a link to Nuclear Gandhi. (Even though it is now believed not to have been a subtract-from-zero bug.)

[–] jj4211@lemmy.world 9 points 3 days ago (2 children)

He is saying factorial of zero, so more a math nerd than a computer nerd.

[–] FooBarrington@lemmy.world 6 points 2 days ago

This is why math nerds prefer to talk in a dull tone. The least bit of excitement, and your equation is suddenly wrong.

load more comments (1 replies)
load more comments (1 replies)
load more comments (8 replies)