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

Programming Humor

3211 readers
1 users here now

Related Communities [email protected] [email protected] [email protected] [email protected]

Other Programming Communities [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected]

founded 2 years ago
MODERATORS
 
all 17 comments
sorted by: hot top controversial new old
[–] [email protected] 53 points 2 years ago (2 children)

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

[–] [email protected] 12 points 2 years 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?

[–] DoucheBagMcSwag 4 points 2 years ago

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”

[–] [email protected] 52 points 2 years 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.

[–] [email protected] 35 points 2 years 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.

[–] [email protected] 10 points 2 years ago

RFC0003 Wish granting protocol

[–] [email protected] 27 points 2 years 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.

[–] [email protected] 9 points 2 years ago

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

[–] [email protected] 8 points 2 years ago

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

[–] [email protected] 8 points 2 years ago

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

[–] Nioxic 6 points 2 years ago

He didnt say "i wish"

[–] [email protected] 4 points 2 years ago

stack overflow (too much recursion)

[–] [email protected] 3 points 2 years ago* (last edited 2 years 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...

[–] [email protected] 0 points 9 months ago