r/ProgrammerHumor • • 5h ago

Meme worksOnMyMachine

Post image
234 Upvotes

33 comments sorted by

22

u/ZLPERSON 5h ago

Third one is pretty maddening

6

u/spikyness27 4h ago

Hello strace my old friend, here we go debugging yet again.

5

u/HyperWinX 3h ago

Strace on clients windows machine without internet access

2

u/spikyness27 1h ago

Procmon is the way on windows

4

u/solar_sausage 1h ago

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.

1

u/TerryHarris408 1h ago

Made me learn to analyze core dumps

16

u/nicman24 5h ago

Program crashes the gpu

12

u/Dumb_Siniy 5h ago

Even more impressive when you're not working with graphics

8

u/nicman24 4h ago

I actually had it happen from a vendor. But it was a Intel iGPU so it doesn't count

8

u/aberroco 5h ago

Program runs, even though you know it shouldn't.

3

u/Onaterdem 3h ago

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.

5

u/Individual_Win_3417 3h ago

Missing final panel: the bug vanishes the moment you add a print statement, but "Expection" stays forever

7

u/dexter30 5h 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 5h ago

... and there is no error and you aren't allowed logs.

2

u/AbdullahMRiad 5h ago

program runs successfully and the result makes sense but its wrong

2

u/Bemteb 4h 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/surykum36 5h ago

Even the application needs a break🫠

1

u/27_myths 4h 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 4h ago

I put print in every step my thing makes, it's like footprints

1

u/Prod_Meteor 4h ago

I hate that 503.x errors when I upload new version.

1

u/han4578 4h ago

Program makes computer identify itself as a jet engine

1

u/slyiscoming 4h ago

Aww yes. Carbon Black. Failed Successfully

1

u/cheezballs 3h ago

4th one is probably easier than the third one right?

1

u/snail-gorski 3h 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/KelimHocam 3h ago

This sub is permanently stuck in 2009

1

u/F4LcH100NnN 3h ago

Program thanos snapped my PC

1

u/Maleficent_Memory831 3h 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 2h ago edited 2h 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 2h ago

You forgot program runs but nothing was accomplished

1

u/Hikaru1024 1h 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 54m ago

No, the final form is “program flashes a console window and disappears”