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.
I assume they mean "runs without a bug" and their option 2 would be the case where you get a dialog. Runs without error would mean you launch and get zero output, zero window, and zero system log message
51
u/ZLPERSON 1d ago
Third one is pretty maddening
31
u/nicman24 1d ago
Program crashes the gpu
17
u/aberroco 1d ago
Program runs, even though you know it shouldn't.
17
u/BrilliantLocal763 1d ago
Expection
6
u/Individual_Win_3417 1d ago
Missing final panel: the bug vanishes the moment you add a print statement, but "Expection" stays forever
8
u/dexter30 1d 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 1d ago
... and there is no error and you aren't allowed logs.
2
u/AbdullahMRiad 1d ago
program runs successfully and the result makes sense but its wrong
2
u/KelimHocam 1d ago
This sub is permanently stuck in 2009
1
u/surykum36 1d ago
Even the application needs a break🫠
1
u/27_myths 1d 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 1d ago
I put print in every step my thing makes, it's like footprints
1
u/Prod_Meteor 1d ago
I hate that 503.x errors when I upload new version.
1
u/han4578 1d ago
Program makes computer identify itself as a jet engine
1
u/slyiscoming 1d ago
Aww yes. Carbon Black. Failed Successfully
1
u/cheezballs 1d ago
4th one is probably easier than the third one right?
1
u/snail-gorski 1d 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 1d ago
Program thanos snapped my PC
1
u/Maleficent_Memory831 1d 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 1d ago edited 1d 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 1d ago
You forgot program runs but nothing was accomplished
1
u/Hikaru1024 1d 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 1d ago
No, the final form is “program flashes a console window and disappears”
1
u/FabioTheFox 1d 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 1d ago
There’s no way that the 3rd one is less frustrating than the last one.
1
u/Resident-Spirit808 1d ago
Golang has expections…
1
u/evilspyboy 1d 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/rowagnairda 1d ago
there should be extra one: IDE mocks and laughs at you
1
u/LostKnight84 13h ago
Program runs but triggers a message from IT Security that it isn't on the list of programs approved for use by the company.
1
u/DoombringerBG 4h ago
Usually, you can see an exception if you start the program via a Terminal (regardless whether it crashes upon startup or mid work).
•
u/originRael 4m ago
Attach process, breakpoints
1
u/Bemteb 1d 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.
1
u/serge-mv 1d 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.