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

Programming Humor

2615 readers
3 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 17 comments
sorted by: hot top controversial new old
[–] [email protected] 53 points 1 year ago (2 children)

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

[–] [email protected] 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?

[–] [email protected] 4 points 1 year 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 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.

[–] [email protected] 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.

[–] [email protected] 10 points 1 year ago

RFC0003 Wish granting protocol

[–] [email protected] 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.

[–] [email protected] 9 points 1 year ago

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

[–] [email protected] 8 points 1 year ago

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

[–] [email protected] 8 points 1 year ago

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

[–] [email protected] 5 points 1 year ago

He didnt say "i wish"

[–] [email protected] 4 points 1 year ago

stack overflow (too much recursion)

[–] [email protected] 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...

[–] [email protected] 0 points 1 month ago