this post was submitted on 18 Sep 2023
529 points (97.3% liked)

Programming Humor

2615 readers
1 users here now

Related Communities !programmerhumor@lemmy.ml !programmer_humor@programming.dev !programmerhumor@kbin.social !programming_horror@programming.dev

Other Programming Communities !programming@beehaw.org !programming@programming.dev !programming@lemmy.ml !programming@kbin.social !learn_programming@programming.dev !functional_programming@programming.dev !embedded_prog@lemmy.ml

founded 1 year ago
MODERATORS
 
all 17 comments
sorted by: hot top controversial new old
[–] nxfsi@lemmy.world 53 points 1 year ago (2 children)

Nethack, a game from 1984, will parse these wishes as wishing for nothing.

[–] ArbiterXero@lemmy.world 12 points 1 year ago

I mean that makes sense…. On the second iteration, you skip the first wish, the second wish is to ignore the third wish and that gets granted and the third wish is nullified, so the only wish is to ignore the third wish. “Nothing”

You don’t need to loop again as everything is satisfied?

Moria: “your prayer angers the god of destruction and your equipment turns to dust. you hear a growing voice in your head: “THOU ART A PEST”

[–] qtw@lemmy.world 52 points 1 year ago

The geenie works through one wish at a time so when he gets to the third wish the first one has already been granted and ignoring it doesn't retroactively change anything.

[–] paddirn@lemmy.world 35 points 1 year ago (1 children)

He didn’t actually wish for anything though. He needed to specifically say, “I wish for…”, but since that didn’t happen, none of those should count as wishes. Genie law is very strict when it comes to protocol.

[–] ooterness@lemmy.world 10 points 1 year ago

RFC0003 Wish granting protocol

[–] HeapOfDogs@lemmy.world 27 points 1 year ago

This just feels like a bad idea. The fourth panel is actually the person stuck in a pocket dimension as time moves forward and they are unable to move due to the loop.

[–] idiomaddict@feddit.de 9 points 1 year ago

Make a very serious acknowledgment of the first wish without granting it and win?

[–] Michael717@lemmy.world 8 points 1 year ago

After the last wish the genie in the bottle said: "Look, there are 3 rules..."

[–] Norgur@kbin.social 8 points 1 year ago

Does not compute.... does not compute.... does not compute...

[–] Nioxic@lemmy.dbzer0.com 5 points 1 year ago

He didnt say "i wish"

[–] darcy@sh.itjust.works 4 points 1 year ago

stack overflow (too much recursion)

[–] burgersc12@sh.itjust.works 3 points 1 year ago* (last edited 1 year ago)

The opposite of "Don't fulfil my wish" is just "grant my wish", so all you're asking the genie to do is ignore granting you a "third" wish...

[–] rain_worl@lemmy.world 0 points 1 month ago