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

Programming Humor

2504 readers
2 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 1 year ago
MODERATORS
 
all 16 comments
sorted by: hot top controversial new old
[–] [email protected] 53 points 11 months ago (2 children)

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

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

[–] [email protected] 4 points 11 months 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 11 months 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 11 months 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 11 months ago

RFC0003 Wish granting protocol

[–] [email protected] 27 points 11 months 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 11 months ago

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

[–] [email protected] 8 points 11 months ago

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

[–] [email protected] 8 points 11 months ago

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

[–] [email protected] 5 points 11 months ago

He didnt say "i wish"

[–] [email protected] 4 points 11 months ago

stack overflow (too much recursion)

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