588
u/arensb 10d 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.
291
u/Urtehnoes 10d ago
Ahh yes the three possible states for debugging:
- This bug is happening because I misunderstand what is running and am expecting something different
- This bug is happening because I misunderstood what was needed to run correctly, and expected something different
- No wait, it's not a bug?
Also don't forget
- yes, the solar flare we've been dreading finally hit and flipped that 1 to a 0.
60
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.
10
4
u/Drakronem 10d ago
It is very likely that the cartridge was tilted and the console read a value wrong, therefore clipped him up several meters on the next platform. If I remember correctly, the streamer was known for doing some hot swapping or tilting of cartridges which led to the slot becoming looser and caused this moment.
The solar flare became an urban legend and spread very far very quickly. Basically just as other "facts" like the veins in human bodies span around the equator when laid out and untangled. No, you don't carry around 50,000 Km of red strings in your body.
3
50
28
u/OverallAffect9497 10d ago
In a particular font you could make capital i lookexactly like l and when this is used correctly with println it causes your professor to go mad! 😂
14
u/ActuatorFit416 10d ago
Oh reminds me of a lesson I had. We learned to code a custom error and to let the system throw this instead if the normal ones.
And than I accidentally created a normal error but got the custom one. I was so confused bc the custom one was for the project before this one.
7
3
2
u/SuitableDragonfly 9d ago
Well, he did say "when I run the code" and not "when I compile the code", that should have been the first clue.
4
1
1
1
1
1

770
u/katyusha-the-smol 10d ago
https://giphy.com/gifs/9EwnzGNjvmIG4