86
8 bit rule (feddit.org)
you are viewing a single comment's thread
view the rest of the comments
[-] Chozo@fedia.io 4 points 1 week ago

-1 comes from the wish to make the total 0.

[-] sga@lemmings.world 3 points 1 week ago

but they asked for 0! = 1 wishes, so it should be 1 - 1 = 0 wishes remaining, and not 0 - 1 = -1

sorry, but i had to !unexpectedfactorial@sopuli.xyz

[-] Jerkface@lemmy.world 3 points 1 week ago

Updating the balance after granting the wish is bad practice. This genie is begging for a reentrancy attack.

this post was submitted on 30 Jul 2025
86 points (95.7% liked)

memes

16668 readers
804 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/Ads/AI SlopNo advertisements or spam. This is an instance rule and the only way to live. We also consider AI slop to be spam in this community and is subject to removal.

A collection of some classic Lemmy memes for your enjoyment

Sister communities

founded 2 years ago
MODERATORS