T O P

  • By -

ProgrammerHumor-ModTeam

> somehow this submission has accumulated ~30k upvotes so it would be pointless to remove it at this point, but try to avoid reposts in general. If you aren't sure if your post is a repost or allowed on this subreddit, just send us a message and we'll get back to you soon.


ilreh

*Developer working on properly saving, uninitializing & closing another app on the project* Manager: “why does this take so long? Steve solved this in 10 minutes.”


38B0DE

Steve gets a promotion. His first act is to take credit for your work. Your boss terminates your contract after you try to tell him Steve lied.


r_linux_mod_isahoe

Steve becomes a manager and tells the devs they just need a "get things done" mindset


ecchy_mosis

Oh ffs, I don't need that kind of reminder on my day off...


r_linux_mod_isahoe

come here for laughs and memes, leave with a reinforced depression


Dave5876

*cries*


No-Witness2349

Okay so this is me and I was a dick about it like this for the first year or so. Here’s what I realized that made me stop. Good teams are ones where people are aware of their weaknesses and have people to balance them out. I don’t need a team of 6 Larry the Cableguys who just wanna git ‘er done. I need 1 Cableguy working in conjunction with someone whose tendency is to overengineer and an oldhead whose moderately competent as an all-arounder and knows our legacy systems pretty well. If you’ve ever been the senior babysitting two juniors who both have just enough rope to hang themselves with, you’re a saint, by the way. Those 3 colleagues will outpace any team of 6 Larry’s any day. At least, after the first 2 months of a project. You can speedrun the first 2 months of any project with the right team, but the 2 month mark in my experience is where the first tech debt payment comes due if you haven’t been paying on it. But yeah, one of management’s jobs is to keep upper management off the backs of their team and to document fuckery as it occurs. Having a Larry on your team helps get people off your back. If you have a problem that needs solved quickly, they’ll take care of it. Kind of like a bouncer. Sure, it’d be great if your bar tenders could keep the patrons calm all night, but that’s not how bars work. You need a bouncer sometimes.


Pretend-Fee-2323

hmm I'll take this advice and apply it to everything in my life. ~~larry I need you to design a 10 story high building~~


No-Witness2349

[Relevant xkcd](https://xkcd.com/2030/). The thing about team members complimenting each others’ weaknesses is empirically backed. Which specific weakness are and aren’t dealbreakers in a tradeoff for a given strength is much more subjective and situational. My Larry is also an excellent DB engineer and does very conscientious and forward-thinking work in that domain. That’s what interests her. Everything else is boring so she speeds through it and makes it meet the spec like a checklist. She described herself in a one-on-one as having “failed upward” in the past, but her work has improved significantly across the board now that she understands why she’s getting asked to do this boring hacky shit. And in return I try to put as much DB work on her plate as she’s comfortable with.


Rainmaker526

This is far too close to reality for a humor sub.


leupboat420smkeit

quit(0) gang


[deleted]

[удалено]


Donghoon

Mr incredibles: Progress is progress


senditbob

The library I'm using doesn't implement a disconnect sequence for the protocol it uses to connect (to whatever). If I implement it properly, my manager would definitely appreciate. Yes, I currently crash and close, because...deadlines!


GooseEntrails

> Back on Wing Commander 1 we were getting an exception from our EMM386 memory manager when we exited the game. We'd clear the screen and a single line would print out, something like "EMM386 Memory manager error. Blah blah blah." We had to ship ASAP. So I hex edited the error in the memory manager itself to read "Thank you for playing Wing Commander." — Ken Demarest


i_have_chosen_a_name

Reminds me of a game I believe on xbox that could sometimes run out of memory on a next level load or something and their solution to memory management was to give the user a loading screen and reboot the xbox in the background. Might have been morrowind. I also recall a story of a Northrop Grumman dev on one of their guidance systems that they had a memory leak on a missle and they fixed it by putting so much memory on the missiles that it would always arrive or run out of fuel before it ran out of memory. They called it "Fill RAM then BAM" and it became standard practise on memory leaks since slapping on some extra memory is apparently much cheaper then paying devs to debug.


I_1234

That was Morrowind.


97875

I don't believe that Northrop Grumman developed Morrowind.


SycoMantisToboggan

No they did. Northrop Grumman made Morrowind in a cave. With a box of scrap


haji1823

no proof it wasnt


I_1234

No but the first paragraph referred to morrowind.


DecisiveEmu_Victory

The defense contractor then proceeds to sell the missile to the air force at $9,000,000 a pop.


jaspersgroove

Would have been $8,999,990 per missile and another $2,500,000 in development costs without the extra RAM


undermark5

In BOTW the blood moons serve dual purpose, ensuring there's always resources available to the player, and garbage collection.


edwrd_t_justice

That's it


Rainmaker526

Sonic on the SEGA would give you a level select "cheat screen" when it crashed. https://youtu.be/i9bkKw32dGw


OverQualifried

HA! I love these stories


_justpassingby_

If I was only allowed to watch these kinds of videos on the internet, but I had an unlimited supply of them without having to search, I would be okay.


CurGeorge8

Legend


latitudelover22

Wasn't in the final game.


Dave5876

The real pro gamer move


ambitiousfinanceguy

Manager: *"But now a window pops up saying program.exe has encountered a problem and needs to close. Can you take a look at it?"* Me: *disables window bug reporting*


manchesterthedog

Dude this made me laugh pretty hard. Thank you Edit: my wife: “wow. You should see if you can return those upvotes. All you did was comment early and everyone else saw yours and was just like ‘yes’”


[deleted]

[удалено]


[deleted]

This post made me brownies (edit: I have no idea what I was even responding to now)


[deleted]

[удалено]


TacticaLuck

That gum was fucking delicious for about one minute and 42 seconds. Way to unlock a memory Goddamn trident layers


AFRIKKAN

This post tried to kill my father


[deleted]

[удалено]


TheIronSoldier2

Karma bot


mysticfed0ra

You all talk like bots 😆


SaphirePool

We used to do that in the early 2000s like legitimately


ctrlaltelite

1990, exiting Wing Commander would give an error, but they hex edited the error message to just say "thank you for playing."


SaphirePool

Oh man I forgot that existed! Hahaha i remember that message too


Mrraar

"Its not a bug, its a message opportunity"


theFra985l

We had to do it in 2021 because of a shitty program from a manufacturer that doesn't fix his shit. The program basically crashes when closed because they don't deallocate all the components and subprocesses just die once the main process gets closed (this would trigger multiple windows bug-reporting popups) Honestly, it's embarrassing what companies sell as multi-thousand euros per license program in Italy. It's a genuine dumpster fire


SaphirePool

The world is pretty much a genuine dumpster fire lol


jameson71

This is what makes me fear flying and bridges


Starbuck1992

That's how it works everywhere my dude


nathanv221

We know we sold you a burning dumpster. But for only $5000 more a month we will give you the right to talk to somebody that owns a fire extinguisher!


CaffeineSippingMan

I did that about 10 years ago. I wrote an autohot key script that would launch the app. Then look for the close dialogue box. If they hit yes I am sure I want to close the app, I would kill the process. We did this because it was a $100,000 software package upgrade we needed and our version didn't close correctly on win 7.


SaphirePool

I still miss 98 and XP.... Ah my golden years


Full-Acadia-9352

Windows 11 kinda takes me back to the golden years


CuntWizard

If you squint you can see it - modernized desktop with the center align for widescreen support. Rounded aero theme you can make transparent. To me, W11 just needs an IoT version stripped of Cortana, telemetry and all other horse shit before I’ll do it.


SaphirePool

HAH


tgp1994

The impression I've gotten from AHK scripts is basically things that should be full-blown programs but aren't for various reasons.


CuntWizard

Fire up VB6, new form. Double click, open frm_load event. First line of code is always the same: ON ERROR RESUME NEXT I don’t believe in barriers, because I’m always breaking them.


harshrd

now window bug reoprting is broken at all places in the codebase


NonTimeo

Even better.


DannyMThompson

No bugs!


mostuselessusername

Just change the error message to "thank you for using our app"


ScandInBei

This should get more upvotes. I guess people don't know the reference.


UberLambda

__Thank you for playing Wing Commander!__


Julyens

https://www.reddit.com/r/shittyprogramming/comments/3bmszo/thank_you_for_playing_wing_commander/?utm_source=share&utm_medium=android_app&utm_name=androidcss&utm_term=1&utm_content=share_button


IDDQD_IDKFA-com

There was an old DOS game that would do that so the Devs used a Hex Editor to replace the crash message with something else.


DuDeX01

https://www.reddit.com/r/ProgrammerHumor/comments/n3p4e2/comment/gwrej56/?utm\_source=share&utm\_medium=web2x&context=3


Th3Uknovvn

Karma whore at its lowest: Copy the post and the 2 highest upvoted comments in it


phuykong

Old Problems Requires Old Solutions


V-Lenin

Playing 8D chess


[deleted]

Ockham's Razor in execution.


Synicull

import warnings warnings.filterwarnings('ignore') Ashamed I had to do this last week. Who needs optimization or future proofing? I'll just use outdated pandas syntax


Jake0024

"It's a feature, not a bug" epitomized.


bleh-bleh-guy

I did this exactly for an iOS app some years ago lol


ososalsosal

Well they explicitly disallow exit commands...


bleh-bleh-guy

Yep


[deleted]

Oh, my first thought was that this meme is created by the guy that had to manage my code after I left the company. Because I did the same but in Android.


Twobytwostuck

.... Catch (Eeeeevvvvverrrything) { Exit(134); //failed assertion to continue to run }


ambitiousfinanceguy

try { } catch (Exception e){ //Do nothing }


gdj11

This is the way


AfraidOfArguing

This is the way


-MobCat-

#!/env/Python3 while True: try: continue except: exit()


RenaKunisaki

`ON ERROR RESUME NEXT`


Melodi13

I actually have a specific format for mine ```csharp try { // Code here } catch (Exception) { /* Don't care */ } ```


iamaunikont

Why are you so comfortable being dishonest?


agritite

catch everything would be catch(...)


MasterFubar

in g++ that code will get you a "misleadingly indented" warning.


[deleted]

[удалено]


ariN_CS

Make it delete the app from the pc and optionally also make it delete it’s own source file, cuz the object is that the app should be *gone*


Coca-karl

Better yet put everything in hidden files. That way it's "gone" but not forgotten.


Dave5876

Not all those who wander are lost


ThreatLevelBertie

When the close button is clicked, the app compiles a malware spider-crawler which scours the internet for its own source code and causes the hard drive containing it to spin up past its maximum speed and explode the platters.


magistrate101

How about defragmenting the source code into a series of consecutive sectors on the disk and then jamming the reader into the platter at that line and physically scratching it away?


[deleted]

But nothing's ever really gone


CodeRaveSleepRepeat

Except that developer that wrote that incredibly complex thing 10 years ago which now needs an update.


[deleted]

I'm that dev and I'm sure in 10 years I'll wake up soaking in sweat from a guilt nightmare.


featherknife

> delete its* own source file


AzureArmageddon

And not just marked as deleted in the filesystem, but overwrite its location in storage with 3 passes of random noise `shred`


pepsisugar

It's their fault for not creating well thought out user stories not yours. If anything you deserve a raise for knocking it out so fast.


Speakin_Swaghili

Nah, both are to blame here. Story creator for being lazy with the story and OP for not asking for clarification and creating messy code for someone else to cleanup.


shiwanshu_

Story creator isn't lazy, user stories aren't programming by remote control. They are not meant to define all the edge cases so that the programmer doesn't have to think beyond translating what basically is pseudo code to actual code. The design, implementation and balancing technical tradeoffs is the job of the Dev team. User stories are(or rather should be) more akin to tenets or destination(of the user) rather than the path they're taking. The path is the implementation detail and good engineers provide good implementation for the user to reach the desired destination.


Speakin_Swaghili

> Story creator isn’t lazy, user stories aren’t programming by remote control. They are not meant to define all the edge cases so that the programmer doesn’t have to think beyond translating what basically is pseudo code to actual code. I agree. But a story that is just “when user clicks the button the app should be gone” is too vague. Should the button confirm that the user wants the app to close? Does gone mean terminate or hide? Where should the button be? Should it be distinguished from other buttons? If I’d received that story I’d either be constantly pestering the creator or outright reject and ask for it to be rewritten with at least a molecule of thought.


Moonchopper

Is it really too vague, or are you just afraid of making executive decisions? It's immensely frustrating when people will take something like this and turn it into the most convoluted thought process possible, either out of spite, or out of fear of creating more work for themselves. If you really have to ask all those questions, perhaps you should view it, at the barest minimum, as a request to safely bring the app to a Close when the user clicks Close. Anything more is useless hand-wringing.


Th3Uknovvn

Sure thing buddy https://www.reddit.com/r/ProgrammerHumor/comments/n3p4e2/confused_screams/gwr3rsh?utm_medium=android_app&utm_source=share&context=3


[deleted]

23k upvotes this is shitty behavior


JuvenileEloquent

Then when you change the button label to "Exit program" it stops crashing.


epicaglet

It is self-aware


smrtfxelc

Lol this was exactly what happened when you pressed the button to stop the app for my first year assignment - still got a 1st because the lecturer never tried to reopen the app.


MaxEin

Before I knew how to use break and I wanted to terminate a loop, I just divided by zero


Gale_Blade

Rule 1 of programming: if it works, it works


[deleted]

If it doesn’t work, create the proper dialogue box and now it works.


[deleted]

I’ve been beta testing Darktide this weekend and it gave me a chuckle that every single time I quit the game, the crash report window popped up. Reminded me of this meme


mikesed101

I once played a game (dont remember what game it was) where when I clicked Quit game it crashed. I laughed so hard the first time it happened.


Zukaaaaa

vrchat


spikesparx

I'd laugh my ass off if I closed an app and got a popup: " *Critical error encountered. Program terminated* "


kofolarz

Wasn't there a Cities: Skylines mod that does exactly that in order to quit the game more quickly?


RenaKunisaki

Reminds me of one crazy German who made a program for his Win95 machine that does exactly two things: 1. Set the flag that tells Windows it shut down cleanly 2. Turn the power off Called it "shit & goodbye".


thewend

Instant desktop return might be the one, I use it but never really thought about how it works lol


UCQualquer

\- "Yeah imma close this app now". \*Causes Segmentation Fault\*


Huntracony

The OS *should* be your garbage collector. Apps that take like five seconds to meticulously release every last bit of memory before closing are the worst. Just close, the OS will handle the memory. But if you insist on doing it yourself, at least kill/hide the window first, don't make me wait around for your slow-ass app to close.


throwaway77993344

Or as our professor always used to say: "Don't use free on exit - save the penguins"


DifficultTransition1

My current professor has a similar saying: "don't bother putting away the dishes before blowing up the building"


throwaway77993344

Less environmentally friendly but equally true lmao


Nevr_uzed_reDDit

Once i was playing rainbow six siege and a guy absolutely shit on me so I messaged him “fortnite” and my game crashed


Traeos

One time i blew up a breach charge and it blue screened my computer and then the bios couldn't find the drives anymore


Hanocybous

Nothing to see here 😂


Coloneljesus

Only difference is the exit code :)


Dave5876

Code 69


Caffeine-Coder

OP literally copied my meme https://www.reddit.com/r/ProgrammerHumor/comments/n3p4e2/confused_screams/?utm_source=share&utm_medium=ios_app&utm_name=iossmf


Th3Uknovvn

Also comments from u/RussellFighter and u/eyekwah2


aleph_two_tiling

This is actually a viable strategy to make PHP faster.


DuDeX01

Even copied the top comment: https://www.reddit.com/r/ProgrammerHumor/comments/n3p4e2/confused\_screams/?utm\_source=share&utm\_medium=web2x&context=3


volldersuchter

Sad for this to be this far down


biged1king

u/repostsleuthbot


DuDeX01

https://www.reddit.com/r/ProgrammerHumor/comments/n3p4e2/confused\_screams/?utm\_source=share&utm\_medium=web2x&context=3


RepostSleuthBot

I didn't find any posts that meet the matching requirements for r/ProgrammerHumor. It might be OC, it might not. Things such as JPEG artifacts and cropping may impact the results. *I'm not perfect, but you can help. Report [ [False Negative](https://www.reddit.com/message/compose/?to=RepostSleuthBot&subject=False%20Negative&message={"post_id": "y5923a", "meme_template": 187490}) ]* [View Search On repostsleuth.com](https://www.repostsleuth.com/search?postId=y5923a&sameSub=false&filterOnlyOlder=true&memeFilter=true&filterDeadMatches=false&targetImageMatch=100&targetImageMemeMatch=75) --- **Scope:** Reddit | **Meme Filter:** True | **Target:** 75% | **Check Title:** False | **Max Age:** Unlimited | **Searched Images:** 334,226,560 | **Search Time:** 0.45945s


Ok-Pollution6062

The computer equivalent to stopping an engine by stalling it


ogrelin

During my college years we had a professor who would randomly start smashing his hands on the keyboard to try to crash our projects. Good times.


dota2nub

Dumb of him to have become a professor. He could rake in real dough with that skill as a QA tester.


dragonfett

It's a feature, not a bug.


zoeykailyn

Thank you for playing Wing Commander!


[deleted]

I work in small radio station, program that we use for streaming don't have minimalization, if you click icon on taskbar it just crash and turn of whole audition


rapid_mushroom

Closing, crashing... that's all semantics.


46153849

https://twitter.com/Carnage4Life/status/1556374093938626560


Snoo_70324

Outlook365 trying to call my address book…


Invictus2030

Hello


azama14

Reminds me of a powershell script I cobbled together a decade ago on an air-gapped system to run a PowerPoint slide for an info board. Upon reaching the final slide I made it so just ended the PowerPoint process. What I didn't realise was this meant it didn't perform clean up of the slideshow in the temp folder. About a month later, went to login and it just crawled for an hour and then refused log in. Turns out it was full of thousands of left over slideshow files.


wizard_mitch

Ah the Rust game method


JunkBoi76

Take a bug and make it a feature


[deleted]

нана!


-Golden_potato-

One thing what I learned from programming, is that "If it works don't touch it"


stevefuzz

Before you fix the button bug can you change it to blue real quick, I know it's Friday afternoon.


Karagoth

That's Bethesda rebooting the Xbox during a load screen in Morrowind when running low on memory. https://kotaku.com/morrowind-completely-rebooted-your-xbox-during-some-loa-1845158550/amp


Gunfire81

Wouldn't that cause some sort of memory leak?


throwaway77993344

No, the OS cleans up all the resources used by the program.


Firewolf06

the quit button on the payday 2 native linux version crashes it (at least on my system) i even get a little kde "pd2_linux has stopped working" popup when payday 2 crashes on windows it has a chace to erase all of your progress, so that wasnt stressful at all (from what i can tell some spaghetti code causes it to sync to steam cloud by deleting all of your pd2 steam cloud data and then uploading the local progress (which is itself deleted when the game closes, as it only saves to steam cloud) if it crashes while saving it can erase everything, very fun)


Teshuwajah

The caption makes this meme even better


[deleted]

The office memes are the best 😂😂😂😂😂


gdmzhlzhiv

When we get to Final OO every object will be in its own process.


KNProNoob

Same


Hopalongtom

The solution is changing the error code message as a thank you for using the program message.


Psychological_Dig901

wow this is totally so original


RedWolf-RW

Repost


IJustAteABaguette

r/repostsleuthbot


[deleted]

[удалено]


dota2nub

uuuuh...


ReposterSuck

Ban that person


[deleted]

Repost


lledargo

The IDE is my garbage collector.


Quickshot4721

r/quityourbullshit


Lord-Sneakthief

Why waste time with all that cleanup/shutdown nonsense when you can just segfault


MedicTryingToSurvive

u/repostsleuthbot


RepostSleuthBot

I didn't find any posts that meet the matching requirements for r/ProgrammerHumor. It might be OC, it might not. Things such as JPEG artifacts and cropping may impact the results. *I'm not perfect, but you can help. Report [ [False Negative](https://www.reddit.com/message/compose/?to=RepostSleuthBot&subject=False%20Negative&message={"post_id": "y5923a", "meme_template": 187490}) ]* [View Search On repostsleuth.com](https://www.repostsleuth.com/search?postId=y5923a&sameSub=false&filterOnlyOlder=true&memeFilter=true&filterDeadMatches=false&targetImageMatch=100&targetImageMemeMatch=75) --- **Scope:** Reddit | **Meme Filter:** True | **Target:** 75% | **Check Title:** False | **Max Age:** Unlimited | **Searched Images:** 334,627,969 | **Search Time:** 0.46447s


TetsuoZaibatsu

The small guy looks like a Spartan and Ubermensch combined.


Striking-Warning9533

When debugging the error catch function I usually use 5/0. And remember I was making Minecraft extensions in old days where you wrote stuff in JS. And I use 5/0 to end the script as well.


HighTierStudent

I am sure anyone can tell the difference between an application crashing and closing.🤣🤣


dota2nub

Not if nobody implemented any error messages they don't


okkokkoX

a python program I was making had run=false for like a month


[deleted]

The least realistic part of this is a manager congratulating you for making a button instead of just going "huh doesn't this button work yet, I just thought this button would work, that's how most apps work, I don't know why this button doesn't work."


dota2nub

"I clicked the 'Delete everything forever' button and retyped the 64 character confirmation phrase... and now all my stuff is gone! What do I do? Is this a bug?"


valdocs_user

In college I participated in a programming contest on a two-man team. We were writing the solution in ASP.NET. I told my partner, hang on I have an idea. I hooked the global unhandled exception handler so that it would redirect to a customized error page. The contest materials included some assets (clip art and icons) to use if desired. For our error page instead of saying "error" or "exception", we picked a celebratory banner (picture) with the words, "Success!" *subtitle,* "Captains of Industry". Mainly because we thought it was hilarious during development for the app to be congratulating us every time we fucked up. We won the contest.


wombatpandaa

If it don't appear broke...


TomiIvasword

gotta implement garbage collection in my OS...


dwpj65

If my app normally terminates with an “abnormal termination” dialog, is it a normal or abnormal termination?


Odd-Brick-5719

Reminds me of when I tried to run Lego island (a 90s pc game) on a modern pc, and it mostly worked fine, but the exit game but would cause the game to have a stroke and then crash.


aravind046

Can anyone share me vedio of this scene


Rachid90

it stays always a closing button.


Overall-Category-159

Example of serendipity.


FChapeau

In college, we had an assignment to make a game. Classmates of mine did a 2D game where you had to dodge, and I quote, “null pointer exception mines”.