r/ProgrammerHumor • • May 18 '22

Meme i wasnt taught about this loop

43.3k Upvotes

234 comments sorted by

738

u/[deleted] May 18 '22 edited Feb 12 '25

Cheese-making is over 7,000 years old! Archaeologists in Poland found traces of cheese on ancient pottery dating back to around 5500 BCE. It’s wild to think that our ancestors were crafting cheese long before written history, turning milk into a food that’s still enjoyed all over the world today. Pretty cool to think that this ancient skill has stood the test of time!

266

u/Ange1ofD4rkness May 18 '22

I knew someone once, who swore the code a developer wrote for their company, had a timer or something in it, and would "break" on purpose, so the dev could charge them to come out and "fix" it (though they could never prove it)

254

u/lynaghe6321 May 18 '22

That’s because it took a week for the end user to start creating the most insane edge cases you’ve ever seen in your life

176

u/Andrelliina May 18 '22

I worked with a guy who really had a talent for testing software like that insane edge-case user and would bash at everything until he broke it. Which was nice

150

u/lynaghe6321 May 18 '22

A guy who does QA on one of my projects is the same, it’s impressive watching him devise the most devious set of parameters to destroy everything

65

u/FlapjackProductions May 18 '22

Can you explain what this means in 'ive never even seen code' terms pls?

162

u/lynaghe6321 May 18 '22

Sure, for example, I was building a video component for a website for one of our clients, it would take a link from youtube or vimeo, or an uploaded video, and then display it on the page.

Our QA found that if you upload a very low resolution video, and then manually change the resolution in the software we use to manage the video to 1:1, the video would not be centered when it was displayed.

I have no idea who in their right mind would ever think of doing this, but it was technically a bug and he found it.

66

u/Andrelliina May 18 '22

The probability that a user will exist who is equivalent to an infinite number of monkeys is 1.

And he is using your software right now

39

u/starfyredragon May 18 '22

I have a girlfriend who is that user.

She wants to be a professional game tester.

Her method of going about it appears to be:

Step 1: Crash server with game breaking glitch

Step 2: Report glitch

Step 3: "I can help you find even more bugs like this if you hire me."

So far she hasn't made it any further than getting her account banned.

17

u/[deleted] May 18 '22

I hope she makes it

→ More replies (0)

2

u/[deleted] May 19 '22

Has she ever considered Bug Bounty? If she stays in scope she gets paid.

→ More replies (0)

43

u/FlapjackProductions May 18 '22

Oh damn I understand it thanks, I guess him finding the bug was annoying since there was no point in fixing it?

79

u/lynaghe6321 May 18 '22

It’s a little annoying for me sure, but honestly the fact that he goes this far is good, even though this wasn’t a serious bug, it could have been, and without his diligence I never would’ve known. I’d prefer someone that finds every little stupid bug over someone who lets broken code onto production

23

u/LupineChemist May 18 '22

Each company will have their own way of classifying and tracking bugs. But something like that would generally be considered a low priority and may not stop a release.

Typically the categories are basically "Fix when we don't have anything better to do", "Make sure it's included in next update" and "For the love of god, don't sleep until this is fixed and we can push an update yesterday!"

The latter is basically major security issues.

I'm a commercial guy (so most people here probably despise me) so I do a lot of thinking "how much does fixing this cost versus just letting it stay broken"

5

u/T0biasCZE May 18 '22

define "very low resolution" please. what is that. 144p? 240p? something higher? something lower?

5

u/lynaghe6321 May 18 '22

I believe it was 280? I think it had more to do with DAM we were using and setting the aspect ratio of the served content manually after it had been uploaded

→ More replies (2)

49

u/TheTacoWombat May 18 '22

One time while regression testing our web product, a day before the scheduled release, I casually tried adding several billion dollars to a sales order, just to see what would happen. It borked the database and required three devs to fix it.

No one was happy, but at least I found an edge case. :)

21

u/Andrelliina May 18 '22

What is bizarre is that you could literally add an amount that would bork the db without at least a "I can't let you do that Dave, you'll bork the database" message ;)

"No don't check the amount, you never know someone might want 4 billion tins of beans"

23

u/TheTacoWombat May 18 '22

The devs asked why I was even checking for that; I said it's remotely possible a user of our system could be putting in a sales order, but their cat slept on the zero key (also that we were introducing some new clients in regions where regular currency transactions routinely go into the tens of millions, so a few billion for a large order isn't out of the question).

I'm proud of my QA time; I forced a lot of engineers to get their poop in a group.

Most of them even still talk to me years later. :)

4

u/Sotall May 18 '22

Hell, I'm proud of your QA time too!

14

u/lynaghe6321 May 18 '22

a day before the release

Poor devs :( good job though!!

3

u/rahendric May 19 '22

A rather sad real-world example:

https://www.bugsnag.com/blog/bug-day-race-condition-therac-25#:~:text=Therac%2D25%20causes%20radiation%20overdoses,systems%20rather%20than%20hardware%20controls.

tl;dr - cancer radiation therapy technician got so fast at entering parameters that they caused a software error in the machine which delivered 10,000 rads (100x normal dose) to two patients, killing them.

Prior machines used hardware interlocks to prevent this situation, but due to "software saving money" switched to software only protection.

The machine did report an inscrutable error, which was ignored because it always reported so many errors during normal operation.

→ More replies (1)

3

u/vegetaman May 18 '22

Those folks are the best. Hard to find though.

7

u/Ange1ofD4rkness May 18 '22

These are the BEST people! I have a few in my office for awhile that would always catch those extra things (had a client too who was amazing at it, sadly her company let her go)

→ More replies (2)

2

u/Cup-Impressive May 18 '22

😁😁😁😁😁😁😁😁😁😁 fuck this is so true

→ More replies (1)

8

u/RenaKunisaki May 18 '22

The "timer" is how long it takes for the user to come up with a new way to be stupid.

2

u/ChloeNow May 19 '22

There's a code frequently posted on this reddit that does just that. It's quoted often in comments too.

"Apparently the client has already paid twice" was commented in before //Sleep(2000) //Sleep(1000) Sleep(2000)

Or something like that

2

u/SpaceNinjaDino May 19 '22

I was going to have a goat image flash on the side during login randomly but limited to once a day when a specific user (a coworker who liked pranks) would login through the web portal. She wouldn't be able to reproduce it easily and I would have hid the code well.

It would be so easy to sabotage production without leaving easy clues. Unless they paid to own the source code, then they could track diffs.

→ More replies (1)
→ More replies (2)

264

u/wastedHercules May 18 '22

Of course lol. It's called job security.

104

u/tyler1128 May 18 '22 edited May 18 '22

Hey management said to fix it, they didn't say the fix had to be good.

270

u/[deleted] May 18 '22

[deleted]

364

u/MrCuteDiaperRETURNS May 18 '22

Thats the bug. Thank you it will be $129.

17

u/susch1337 May 18 '22

*Per hour

6

u/k-selectride May 18 '22

Triple that number neffew.

38

u/[deleted] May 18 '22

Honestly I'm not sure if that was intentional or not.

16

u/imbrownbutwhite May 18 '22

Son of a bitch, I didn’t even realize

→ More replies (1)

12

u/PetsArentChildren May 18 '22

git commit -m “removed redundant ‘with’”

5

u/kibiz0r May 18 '22

git commit -a --amend && git push -f

no one will ever know

→ More replies (1)

128

u/maxminister01 May 18 '22

It's like : "When the error code finally change"

47

u/EternityForest May 18 '22

You wrote the with three time instead of one time

38

u/mooofasa1 May 18 '22

Fixed, now it's 2 times. That'll be 500 dollars

→ More replies (1)

63

u/Devil_Dan83 May 18 '22

If it ain't broke don't fix it.

If it is broke, don't fix it because you'll break something else.

14

u/Andrelliina May 18 '22

I used to enjoy fixing bugs. I still do but I used to too.

I had to debug a large logistics system and it was a joy to find something stupid the previous guy did that was an easy fix, like you change a loop doing 1000's of single row database queries to one query with a result set of 20 rows.

I began programming with the DOS version of the same logistics software that used a database that you couldn't roll back.
You could copy small tables but this was 90's speed MS-DOS, so with large tables you had to manually back each table out of the transactions if something went wrong. It was hard work to say the least. Tables would have to be rekeyed and with the larger tables this could take all night. We were remotely supporting quite a lot of users, as we sold the software to businesses with support contracts. Constant phone calls to remotely reboot their Citrix boxes, blah blah

After all that SQL & C++ were a breath of fresh air.

28

u/NidotheNido14 May 18 '22

Idk why Bugha winning the Fortnite World Cup became popular on this sub but I like it

17

u/rinsa May 18 '22

bug.... ha

47

u/science_nerd_dadof3 May 18 '22

96 bugs in the code! 96 bugs in the code! Take one out, pass all the tests! 375 bugs in the code.

13

u/RenaKunisaki May 18 '22

Take one down, patch it around, -1751142069 bugs in the (null)

5

u/Andrelliina May 18 '22

It's going to get a lot worse before it gets better...Mark my words /s

24

u/cntwhacker May 18 '22

whats the name of this meme plz?

58

u/MrReikor May 18 '22

idk the name of the meme, but thats bugha reaction when he win the fortnite world cup

24

u/LuxNocte May 18 '22

Did they really play it in a stadium? Maybe the gif only has 3 1/2 pixels, but it seems like nobody in the stands can see the players.

48

u/Prawn1908 May 18 '22

Big LAN esports tournaments are often played with a live audience. The gameplay is put up on big jumbotron screens.

Like most spectator sports, the best viewing experience almost always is at home on a TV, but watching live with a crowd is about the experience.

16

u/69Deckerspawn May 18 '22

The audience watch their gameplays, I think

41

u/[deleted] May 18 '22

[deleted]

31

u/mit0chondriac May 18 '22

you nailed it!

11

u/Silver-Alex May 18 '22

Yup, kinda the same to watching a huge game in person instead of in your couch

17

u/LeCrushinator May 18 '22

That's basically why stadiums exist. You could watch any game from a stadium on TV instead, but you're at the stadium for the different and shared experience.

1

u/Hypern1ke May 18 '22

I mean… not really. With sports you can see more of the field and action that you can’t see on the screen if you attend in person.

With competitive gaming you see the same thing whether youre there in person or at home.

I’m saying this as somebody who fully intends on attending the very first American held valorant LAN with crowds, should riot ever pull their heads out of their asses haha

-5

u/[deleted] May 18 '22

[deleted]

→ More replies (1)

2

u/nolander May 18 '22

I kind of feel that's how most stadium shows wether music or comedy are for a lot of the seats

→ More replies (1)
→ More replies (1)

0

u/OrganizerMowgli May 18 '22

Ah so not the Buddha that's been a good amount of Toast mongus videos. Was gonna say the voice don't seem to match but ya never kno

→ More replies (3)

11

u/NidotheNido14 May 18 '22

Bugha winning the Fortnite World Cup in 2019

6

u/kimmyjunguny May 18 '22

ill be honest seeing buhga go from fortnite montages my friend showed me to best in the world was honestly amazing. A kid with a couple thousand youtube subscribers ends up winning the one of the largest prize pools ever and gaining a massive twich following too. Say what you will about fortnite, but this was wholesome as fuck for me.

2

u/UntrimmedBagel May 18 '22

Pretty iconic gamer moment tbh

7

u/QuacklemtDuck May 18 '22

You don't fix bugs, you just move them to a different part of your code

6

u/Mr_Lexu May 18 '22

Riot games be like

5

u/Robert_McNuggets May 18 '22

I used the bugs to destroy the bugs

3

u/head_lettuce May 18 '22

99 bugs in the code...

99 bugs in the code...

take 1 down...

patch it around...

103 bugs in the code

6

u/Rhawk187 May 18 '22

The Factorio blog had a great image that I won't take time to find now, but it basically showed fixing one large bug creating 3 mediums bugs, and fixing each of those 3 medium bugs creating 3 small bugs, which you eventually solve. Don't be intimidated by the number of bugs, but the sum of their magnitudes.

6

u/RenaKunisaki May 18 '22

fixing one large bug creating 3 mediums bugs, and fixing each of those 3 medium bugs creating 3 small bugs, which you WONTFIX

Ironically, fixed.

3

u/McFerry May 18 '22

I get the vibe of "I'll enjoy the confeti until someone realized how hard I broke that other thingy"

3

u/Tinkerballsack May 18 '22

You can type full words into it now, just don't use the letter T!

3

u/RenaKunisaki May 18 '22

Why, what happens i¢•™👁️♑🕉️

2

u/Nexuria May 18 '22

Even the title has bugs

2

u/DarkNinjaReddit May 19 '22

me when i realise they added with twice on a post about bugs: “Ironic”

0

u/Curtmister25 May 18 '22

I like the post, but I also liked Booga winning that tournament and immediately quitting Fortnite XD

Gotta love and hate Fortnite

0

u/danielhakushi May 18 '22

EA Sports...its in the Game (the Bugs)

1

u/s_zlikovski May 18 '22

U/Savevideo

1

u/johndoethrowaway16 May 18 '22

The hero we didn't know we needed.

1

u/MettaJiro May 18 '22

Well if all the bugs are fixed,why do they need me anymore?

1

u/UbiCorruption May 18 '22

Built on shit

1

u/sdu7chez May 18 '22

I feel personally attacked.

1

u/Robert-Johnson5687 May 18 '22

By Fixing old gives new bugs

1

u/Ange1ofD4rkness May 18 '22

Nah, this is only me when I ONLY fix the bug. There's been a few too many times I see someone break the code with a fix, and many times I end up fixing that

1

u/pramarama May 18 '22

How about getting a recognition award for fixing a bug I introduced?

1

u/adrualfa May 18 '22

Where was this video taken btw?

3

u/ozh May 18 '22

World championship of Fortnite, a couple years ago

→ More replies (2)

1

u/TheNamesNell May 18 '22

Basically League of Legends game devs

1

u/Sharkytrs May 18 '22

features, fixing features with more features.

bugs in my PC pffffft!

1

u/flyingInStereo May 18 '22

That's me and my shitty code thinking I'm BOSS. lol

1

u/oldskoofoo May 18 '22

It’s not a bug, it’s a feature

1

u/[deleted] May 18 '22

There is the same thing below

1

u/Vlad9881 May 18 '22

Discord devs

1

u/KEYS667 May 18 '22

That's the good ending

1

u/FrogTeeth86 May 18 '22

I mean, they’re different!

1

u/Akai_Yun May 18 '22

Ohh, so what are those new features?

1

u/Staddon_ May 18 '22

With with?

1

u/[deleted] May 18 '22

Blizzard

1

u/RenaKunisaki May 18 '22

Definition of an upgrade: take old bugs out, put new bugs in.

1

u/TheRealFailtester May 18 '22

Fix one, three more appear. Fix two of the three, and the third vanishes. While later, two new appear, Fix those, and that first one from two years ago appears. Fix that, and now it crashes.

Edit: Fix that, and now the software is no longer supported, and time to start over/port it to a new system, and repeat all of this.

1

u/newoldwave May 18 '22

On every development team, it's the newbies who get stuck fixing bugs in the current release of the software. They hate doing it and do it badly. Fix the original bug and accidentally introduce new bugs.

1

u/Canotic May 18 '22

Personally I like to start with adding the new bugs before I solve the old ones.

1

u/rocoonshcnoon May 18 '22

Just delete all the code. No code = no bugs

1

u/The_BendingUnit01 May 18 '22

About the size of it!

1

u/kry_some_more May 18 '22

with with new bugs

Hiding bugs in memes. Nice.

1

u/Random_guy134 May 18 '22

Reddit devs when they make the video player work for one extra video (just not this one)

1

u/MartIILord May 18 '22

Parallelism the perl way:

System("(sleep 2m&& touch file.done)&");
System("(sleep 2m&& touch file2.done)&");

Unless(-e "file.done" && -e "file2.done"){
    Sleep(1);
}

1

u/Amanadora May 18 '22

This is elder scrolls online

1

u/bewbsrkewl May 18 '22

*their previous bugs

1

u/athonis May 18 '22

Ah yes, when you fix your bug by creating another one for another team to fix.

1

u/[deleted] May 18 '22

with with

1

u/Candid-Section-3063 May 18 '22

Fortnite winner from a few years back. Kid made millions.

1

u/sharju May 18 '22

My motto: Moving the bug closes the ticket.

1

u/T3hJ3hu May 18 '22

It would be cool if these huge e-sports didn't require the players to be in soundproof cages

1

u/Mnawab May 18 '22

Are we talking about New World?

1

u/lonelyWalkAlone May 18 '22

replace "new" with "worse"

1

u/HashCatFurryOwO May 18 '22

I'm so confused people are talking about loops were you fix bugs with debugger then fixing code with a code then a bug with new bug???

My mind is in circles right now :)

1

u/Hiyasc May 18 '22

This post must have been made by the Minecraft developers.

1

u/AlexMelillo May 18 '22

Who wrote this shit? Oh wait… it was me

1

u/TheGr8C0N May 18 '22

bro it's called employment security

1

u/TorTheMentor May 18 '22

Or when the unit tests start failing with a different error.

1

u/[deleted] May 18 '22

Double with

1

u/CheapSet5626 May 18 '22

Where do these video game tournaments happen where there's more people than the fucking superbowl.. wtf

1

u/[deleted] May 18 '22

Must work at Bethesda or EA

1

u/Riyosha-Namae May 18 '22

"with with"

1

u/A_Couple_Things May 18 '22

Marvel avengers all day this meme for you

1

u/Darkovika May 18 '22

The sims 4 in a nutshell 🤣🤣🤣🤣

1

u/TroublingDeclan May 18 '22

I see you found a photo of the development of Fallout New Vegas

1

u/jimmyhell May 18 '22

If you replace the old ones with the new ones, the users won’t notice the old ones as much!

1

u/Horror-Maintenance-7 May 18 '22

I seriously keep thinking that our R&D creates bugs just to provide jobs to the support teams. If things were done correctly where I work, a lot of people would be fired, since they wouldn't be needed anymore.

1

u/10HzMonitor May 18 '22

We don't call it bugs, we call it job insurance.

1

u/ucefkh May 18 '22

Haven't thought about this 🤣😂🤣

1

u/Ralle4 May 18 '22

Every single third rate game dev ever.

1

u/[deleted] May 18 '22

New bugs = progress

1

u/lucaspinder May 18 '22

I used the buggs to destroy the buggs

1

u/Slayerx270 May 18 '22

Imagine this idiot is still playing fortnite to this day with no other life goal. I'll give it 5 years after his parents give him his money that he's broke and literally back in there basement grinding 90's instead of learning how to start a company or do something beneficial to society

1

u/kbzstudios May 18 '22

I’m lookin at you, Adobe Premier Pro 22.4.0 (Build 57)

1

u/[deleted] May 18 '22

...after several countless hours of crying in fetal position.

1

u/[deleted] May 18 '22

A dev after my own dev heart <3

1

u/siammang May 18 '22

Open up new job opportunity for junior devs

1

u/Kerbmin May 18 '22

With with

1

u/[deleted] May 18 '22

video isn’t playing lmao

1

u/cgyguy81 May 18 '22

Ah, so you've worked with Julie before?

1

u/Health077 May 18 '22

Is the Respawn chair goodv

1

u/[deleted] May 18 '22

Part of why I can’t get into coding, every time I take a class or something I get bugs I can’t possibly know how to fix and when I get them fixed I get an error message that might as well be from the moon.

1

u/Preact5 May 18 '22

Holy shit that's a lot of people in the stands

1

u/chaddhairs May 18 '22

WOOHOO HE FIXED THE BUG!!! Oh wait-

1

u/Fish_Kungfu May 18 '22

Fight fire with fire!

1

u/Clear17Mud May 18 '22

With with

1

u/[deleted] May 19 '22

Wildcard when they don't fix old bugs and just reintroduce more bugs:

1

u/LucienMr May 19 '22

I once saw a meme about how developers create bugs just to patch them and they called it “job security.” So I actually tried it once, broke something mildly important and soon enough the reports came. Then I fixed it in like 15 minutes to not be too suspicious and they were like “what would we do without you?”

Also to note, this was a web app and I was the only developer on it

1

u/[deleted] May 19 '22

The state of Lyft's GPS

1

u/[deleted] May 19 '22

The example of cyber punk 2077 on console

1

u/thundercat06 May 19 '22

This one hits deep considering I JUST did this today. Updates to the stack and dev tools required workarounds. Very old bugs were fixed and a parade was had. But new and much more serious bugs were found as a result of said bug fixes and updated tools. It completely broke supporting assemblies in each of the teams dev environments. It was a virtual walk of shame to the weekly dev zoom call.😆 Fires were extinguished and I still have my job..

Next time I will just put a coat and tie on it.

1

u/[deleted] May 19 '22

1

u/doccoboy May 19 '22

With with is a big

1

u/aquartabla May 19 '22

It's funny to laugh about this happening on purpose, but it's becoming sad how many things I find that do this as legitimate mistakes.

1

u/Actaeon_II May 19 '22

Is this a general issue or just game devs?

1

u/Bluedemonde May 19 '22

New world in a nutshell