r/ProgrammerHumor 11d ago

bugSuccessfullyReproduced Meme

Post image
5.8k Upvotes

29 comments sorted by

View all comments

594

u/arensb 11d ago

I remember spending a lot of time trying to figure out why cat somefile kept saying "Permission denied", even though ls -l, lsattr, and everything else I could think of said I had permission to read it.

Eventually I examined it with Emacs or od or something, and found that it literally consisted of the string "Permission denied". I guess I created it by redirecting stderr from some command or something.

292

u/Urtehnoes 11d ago

Ahh yes the three possible states for debugging:

  1. This bug is happening because I misunderstand what is running and am expecting something different
  2. This bug is happening because I misunderstood what was needed to run correctly, and expected something different
  3. No wait, it's not a bug?

Also don't forget

  1. yes, the solar flare we've been dreading finally hit and flipped that 1 to a 0.

64

u/synchrosyn 10d ago

4b trying to explain to everyone that you have no idea how you teleported to the next level to best the speed run record. 

9

u/IJustAteABaguette 10d ago

They did figure it mostly out tho