Happened when I was presenting my dissertation project at uni, quite fun. I only needed it running for like 5 minutes so didn’t bother to get out the charger for my laptop. Turns out PyTorch quits python with no exception when some laptops aren’t connected to AC and it tries to connect to the dedicated GPU - I don’t know exactly why, as other apps can still use the dGPU in that state, but it did make me panic for a moment, luckily I put two and two together quickly.
Program actually has undefined behavior but it runs perfectly fine on your PC by pure chance...
Related tangent: Back in college, we had a Verilog homework that the professor said he'd grade in Xilinx. My program was working flawlessly there. Then the professor graded using a different program, IVerilog, which apparently had a difference in its compiler - an operation order resolves differently in IVerilog. Prof deducted points because "it should've worked everywhere, I'll count it as wrong because it's undefined behavior" which, sigh, I guess technically right? But using a different program than the written grading rules seems like moving goalposts to me. I couldn't get him to change the grading though.
I give a far worse: the iOS app calculates one value wrong by 0.09 after 600 computations which values for those come from a xml (yes, no jsons for you) with 1.900 entries and internal database outrageous relationships. No backend, ai prohibited, no simulator, just you and your iPhone and Xcode. Yeah, welcome to insurance company b#%ch, that’s your first ticket, our last dev quit here, ur next.
At one smallish company I worked out, smallish but making huuuge revenue, once shipped their product on CD-ROM to a customer which did not run. A product costing 6 figures ($). As it, nothing happened when you double clicked. No error, no half-second lived window or delay.
At which point, they finally decided that they needed a QA department. Which was the person who already had the job of burning CDs. The QA process involved installing the software for the platforms (mainframe, several unix varieties, and Windows NT). If they installed, then it was ok to ship. The QA did not involve actually running the software...
"It works on my machine" is one of those phrases you'd like to respond to with a non-professional work environment level retort to really drive in how both unhelpful and stupid that statement is.
39
u/ZLPERSON 19h ago
Third one is pretty maddening
27
u/nicman24 19h ago
Program crashes the gpu
15
u/BrilliantLocal763 18h ago
Expection
13
u/aberroco 19h ago
Program runs, even though you know it shouldn't.
6
u/Individual_Win_3417 17h ago
Missing final panel: the bug vanishes the moment you add a print statement, but "Expection" stays forever
8
u/dexter30 19h ago
I feel like this is a bot account reposting old content and other bots upvoting to hide their activity.
because this seems like a pre AI issue that most programmers don't have an issue anymore.
Plus it's so generic and pointless.
2
u/HeadBearOfSwamp 19h ago
... and there is no error and you aren't allowed logs.
2
u/AbdullahMRiad 19h ago
program runs successfully and the result makes sense but its wrong
2
u/KelimHocam 17h ago
This sub is permanently stuck in 2009
1
u/surykum36 19h ago
Even the application needs a break🫠
1
u/27_myths 19h ago
One of the things I love most about common lisp. It's error handling is chefs kiss. It's hard not to cringe when having to deal with that in python.
1
u/SodiumCyanideNaCN457 18h ago
I put print in every step my thing makes, it's like footprints
1
u/Prod_Meteor 18h ago
I hate that 503.x errors when I upload new version.
1
u/han4578 18h ago
Program makes computer identify itself as a jet engine
1
u/slyiscoming 18h ago
Aww yes. Carbon Black. Failed Successfully
1
u/cheezballs 18h ago
4th one is probably easier than the third one right?
1
u/snail-gorski 17h ago
I give a far worse: the iOS app calculates one value wrong by 0.09 after 600 computations which values for those come from a xml (yes, no jsons for you) with 1.900 entries and internal database outrageous relationships. No backend, ai prohibited, no simulator, just you and your iPhone and Xcode. Yeah, welcome to insurance company b#%ch, that’s your first ticket, our last dev quit here, ur next.
1
u/F4LcH100NnN 17h ago
Program thanos snapped my PC
1
u/Maleficent_Memory831 17h ago
At one smallish company I worked out, smallish but making huuuge revenue, once shipped their product on CD-ROM to a customer which did not run. A product costing 6 figures ($). As it, nothing happened when you double clicked. No error, no half-second lived window or delay.
At which point, they finally decided that they needed a QA department. Which was the person who already had the job of burning CDs. The QA process involved installing the software for the platforms (mainframe, several unix varieties, and Windows NT). If they installed, then it was ok to ship. The QA did not involve actually running the software...
1
u/Single-Virus4935 16h ago edited 16h ago
Program does everything above:
1. when you are debugging
2. When a IT dummy uses it who don't know hiw to paste it into a ticket or how to screen share. When you screen share see 1.
3. When People need to work with it on important deadlines, demonstrations, presentations etc.
4. You just recompiled with no changes to code or config and it didn't start anymore. You start debugging and 1.
1
u/Azrayeel 16h ago
You forgot program runs but nothing was accomplished
1
u/Hikaru1024 16h ago
The real horror is when the program works perfectly for years until someone reports they can't run it.
Then you test it and it doesn't run. Confused, you try to run it normally - it's broken.
Upon fixing it you discover it was always broken, all the way from day 1 and you just got lucky.
1
u/jayerp 15h ago
No, the final form is “program flashes a console window and disappears”
1
u/FabioTheFox 12h ago
Whenever a program doesn't visually open yall should try to run it from terminal, it will dump the error you need
1
u/justadude27 11h ago
There’s no way that the 3rd one is less frustrating than the last one.
1
u/Resident-Spirit808 8h ago
Golang has expections…
1
u/evilspyboy 7h ago
"It works on my machine" is one of those phrases you'd like to respond to with a non-professional work environment level retort to really drive in how both unhelpful and stupid that statement is.
1
u/serge-mv 5h ago
Program doesn't open is a really good case because it will show you the error.
Program runs is not that great because you have uncaught unforeseen bugs that are silent.
1
u/rowagnairda 4h ago
there should be extra one: IDE mocks and laughs at you
1
u/Bemteb 19h ago
2 gives you a lot of information already, catch the exception and handle it properly.
3 should be easy to solve with a debugger, as long as it's reproducable.
4 is mostly missing dependencies, check that you have all dlls required; there are tools for that.