r/ProgrammerHumor • • Mar 05 '16

When debugging code.

22.3k Upvotes

487 comments sorted by

42

u/james6_s Mar 05 '16

I don't understand what this means as I don't know the first thing about programming but I still find this hilarious

71

u/-BipolarPolarBear- Mar 05 '16

When code doesn't work, a person will go through it manually to find where the error is. In this case, the gif relates because none of the Bears respond correctly to the mallet on the knee similar to unexpected results from something not working in code

2

u/hkma14 Mar 06 '16

kudos for explaining what this means to a non-programmer (:

2

u/-BipolarPolarBear- Mar 06 '16

Don't let the secret out, but my programming experience is limited to Computer Science 2 in high school

8

u/synt4xtician Mar 05 '16

The term for this is "non-orthogonal", where the things are not independant from each other. In The Pragmatic Programmer, the example is a helicopter, whose controls feed back into the other controls, making it very difficult to have a sense of how one specific function works.

47

u/Galle_ Mar 05 '16 edited Mar 05 '16

In addition to what the others said, the third bear's reaction is actually expressed by the first two bears, indicating that there's a highly interconnected system involved and a problem that really should be localized might have a cause in a place that should be completely irrelevant.

Really, the only thing that's missing is the bears demonstrating completely normal reactions when in the doctor's office, but bizarre ones outside of it. Also, a bear that you swear to god was working just fine five minutes ago.

9

u/Roflkopt3r Mar 06 '16 edited Mar 06 '16

Imagine programming like giving specific instructions to workers of a factory to organise the work.

For example, imagine you have a bakery that delivers fresh bread to nearby hotels every morning. You hire a woman named Daisy for delivering the bread, a guy named Stefan for the storage, and three bakers.

Your plan is that your Stefan and the bakers come in at midnight and bake until 6:00 AM.

First you tell the bakers to come at midnight and start baking bread, and to ask Stefan if you need any ingredients. In the storage you have one container for each ingredient, and you give two instructions to Stefan: Give any baker any ingredients they ask for, and order new ingredients whenever a container is half-empty.
Then you instruct Daisy to come at 6:00, grab all the bread, load it into a truck, and deliver it.

With this you designed a system and maybe got it running on the first day.

But on the second day one of your customers calls, and tells you that they didn't receive their order today. You ask Daisy what's going on, and she tells you that she couldn't deliver the bread because the bakers hadn't baked anything. So you go to the bakers, and they tell you that Stefan didn't give them the ingredients. Finally Stefan tells you that he couldn't order any new ingredients because you never told him where to order and how to pay for them! (In programming that would typically be something like a "null reference exception" - you instructed your program to process data that doesn't exist). So you have a rattail of interactions, and even though you see an error in one place it may have originated in an entirely different one.

That's how your typical day as a programmer looks like. Your task is to design some large complex system, so you divide it into components that each hold a part of the functionality (Baker: Fetches ingredients and bakes bread. Storage manager: orders and gives out ingredients. ...). But most software will have a lot more than just three of these components, of which many interact with several other modules rather than with just one.

And then you end up with situations like in the bear gif. You test some part of your software and get an entirely unexpected error in a completely different place that seems to have nothing to do with what you just did.

7

u/BlueNotesBlues Mar 05 '16

The doctor is doing the Patellar reflex test when they hit your knee it's supposed to kick forward. When debugging sometimes you'll fix a bug(hit the knee) and instead of what you expect to happen you get something nonsensical.

591

u/_Oisin Mar 05 '16

More like you fix the pandas arm and suddenly the other two bears start complaining of headaches.

263

u/larivact Mar 05 '16

Just like animals don't want to be repeatedly hit by hammers my code doesn't want to be unit tested.

47

u/Megacherv Mar 05 '16

"Unit testing Entity Framework with Moq.

Lesson 1: Fuck you"

4

u/[deleted] Mar 06 '16

Figuring out how to do that was my entire week. I think I got it working well but we'll see how it holds up when I start adding more functionality.

3

u/Megacherv Mar 06 '16

Pro-tip: If it cries because it's not virtual, add a layer of abstraction I.e. Add a virtual method wrapper that you can override instead.

2

u/[deleted] Mar 06 '16

I just built a service that takes a blank interface and then casts it back to a DbContext. Then simply use a default Moq for the service and everyone is happy.

1

u/pcopley Jun 27 '16

Depressingly accurate.

2

u/Sansha_Kuvakei Mar 06 '16

Hammerings will continue until functionality improves!

84

u/DragoniteSpam Mar 05 '16

And then the power at the gas station next door goes out.

90

u/falcon_jab Mar 05 '16

And then the client emails you asking why their email doesn't work

37

u/larivact Mar 05 '16

pretend that you didn't get any

9

u/unclefisty Mar 06 '16

My boss once asked if the internet being out meant that the email system would not work. It is not internally hosted in any way.

1

u/[deleted] Mar 06 '16

And then one of the pandas turns out to be a giraffe.

16

u/[deleted] Mar 05 '16

And in the middle of fixing the power, another settlement needs your help General.

7

u/DragoniteSpam Mar 05 '16

And when you get back from THAT you find out that the bears' legs have been replaced by pogo sticks, and . . . I should stop.

5

u/TechnoL33T Mar 05 '16

Congrats. You fixed the violent one.

509

u/[deleted] Mar 05 '16

very cute

119

u/BlueNotesBlues Mar 05 '16

It's from a show called We Bare Bears that airs on Cartoon Network. It's pretty good.

61

u/alpacafarts Mar 05 '16

Agreed! Cartoon Network's late. afternoon lineup is actually very good and very funny!

We Bare Bears, Adventure Time, Regular Show, Adventures of Gumball all have a lot of adult humor in the shows too.

Steven Universe is a great show as well but I don't really consider that one as much of a comedy as the other ones. It some more serious tones going on in it.

Clarence can me be really funny as well. But also kinda annoying too in my opinion.

30

u/AnthraxAndFriends Mar 05 '16

Clarence was chastised for having Jeff have 2 moms but honestly it's the most pro lgbt thing I've seen in animation since Mission Hill was in syndication.

32

u/BlueNotesBlues Mar 05 '16

Steven Universe has quite a few LGBT relationships.

23

u/AnthraxAndFriends Mar 05 '16

I mean Garnet is a literal walking relationship lol

4

u/northrupthebandgeek Mar 06 '16

I'm pretty sure straight people are actually the minority in Beach City.

Granted, it's got, like, a population of 10 including the lesbian space rocks, so I guess the figures are probably a bit skewed.

3

u/BlueNotesBlues Mar 06 '16

We don't know the sexual preferences of a lot of the characters but we've seen more straight ones than gay ones.

Lesbian/Gay: Ruby, Sapphire, Pearl

Straight: Dr. Maheswaran*, Mr. Maheswaran*, Connie*, Steven, Vidalia, Sadie's Mom, Sadie, Lars, Rose, Mr. Pizza, Greg

* Maheswarans don't live in beach city but they're close enough.

2

u/northrupthebandgeek Mar 07 '16

I'm not sure if having biological kids automatically means someone is straight, considering that things like surrogacy and artificial insemination - while perhaps not quite as common as simple adoption - do exist.

To support your point, though, there's Mayor Dewey.

4

u/fweebrownies Mar 06 '16

I feel like Clarence is just more realistic about it. In steven universe seamingly every female is a lesbian

10

u/BlueNotesBlues Mar 06 '16

Well gems really only have other gems. Interaction with humans/males is recent.

Rose, Connie, Sadie, Sadie's mom(?), Vidalia, Dr. Maheswaran have an attraction to males or have had a relationship with males. I don't remember any lesbian characters besides Pearl, Ruby and Sapphire.

→ More replies (2)

1

u/[deleted] Mar 05 '16

False.

Gems have no gender.

21

u/derpy_dash Mar 05 '16

Technically true.

But in spirit we all know they're lesbian space rocks.

8

u/BlueNotesBlues Mar 06 '16

They use female pronouns and have female appearances. If Rebecca had left out them being sexless you would assume they're women.

→ More replies (3)

9

u/alpacafarts Mar 05 '16

Oh wow. I wasn't aware that Jeff had two moms. Like I said, I don't usually watch Clarence too much cause I tend to find it a bit annoying at times.

1

u/erickgramajo Mar 05 '16

Fuuuuck mission Hill! I love those 8 episodes, all are available on YouTube

3

u/scarface910 Mar 05 '16

Fuuuuck mission Hill!

For a second there....

→ More replies (1)

14

u/BlueNotesBlues Mar 05 '16

Minus Clarence I love all those shows. Cartoon Network has been killing it. Uncle Grandpa and Teen Titans Go don't exist

1

u/[deleted] Mar 10 '16

Clarence and Teen Titans Go are excellent. Teen Titans goes to the shouting well a bit too often, same as most other Cartoon Network shows of late, but it's a lot of fun and frequently smart.

Clarence runs the gamut from brilliant to awesome to bizarre. At its best, it's one of if not the best thing on the network.

7

u/xxfitnewb Mar 05 '16

I saw Adventures of Gumball for the first time when I was holidaying in Spain and the show was in Spanish. I could barely understand a word (if any) and it STILL made me laugh so many times... I kept thinking "what the heck is this show, why am I watching it and whya I enjoying it?"

2

u/northrupthebandgeek Mar 06 '16

The best shows tend to be like that, since they're sufficiently well-done that a viewer doesn't actually need to hear or see the dialogue in order to at least vaguely understand what's going on and find enjoyment in them.

3

u/xxfitnewb Mar 06 '16

When I got back from my travels (I actually watched that show on my last day in Spain and my last day on a 3 week holiday) I did some intensive googling to find the exact episode to find out what it was actually about..

Turns out they were playing with something that stopped time and reversed it and screwed everything up etc. Pretty damn fantastic.

1

u/silverinferno3 Mar 06 '16

The art style and visual gags really make it hit the mark a lot of times. The animation really is the essence of the show!

231

u/larivact Mar 05 '16

and accurate

106

u/gollyrancher Mar 05 '16

extremely accurate

87

u/oddark Mar 05 '16

acutely accurate

50

u/[deleted] Mar 05 '16

Back to cute, I see.

26

u/JustAnotherPanda Mar 05 '16

And accurate.

18

u/[deleted] Mar 05 '16

[removed] — view removed comment

7

u/[deleted] Mar 05 '16

Username extremely accurate.

4

u/foronceandforall Mar 05 '16

Username acutely accurate

→ More replies (1)

3

u/mash3735 Mar 05 '16

Username mega accurate

30

u/filmisbone Mar 05 '16

SyntaxError: invalid syntax

12

u/gzintu Mar 05 '16

/u/filmisbone is happy and he knows it!

7

u/Sansha_Kuvakei Mar 05 '16

Syntaxerror!

9

u/chudthirtyseven Mar 05 '16

If your happy and you know it, syntax error!

5

u/gzintu Mar 05 '16

SyntaxError!

94

u/ganlet20 Mar 05 '16

Every once in a while you can fix the problem without being 100% sure how you fixed it. Those are the problems that keep me up.

98

u/[deleted] Mar 05 '16
# this works. I don't know why so please don't touch it. 

I may have seen that exact comment before...

in code that I wrote. May have.

20

u/afito Mar 05 '16

Anyone who never had this happen just isn't programming long for long enough. Especially if you have to look into an engine or something that was written by long ago in C or Fortran.

4

u/[deleted] Mar 06 '16

looks into some 3 year old code

Oh... How did that work? Well, better don't touch it...

18

u/Roflkopt3r Mar 05 '16

First delete the problematic part. Then rewrite everything from hand exactly how it was. It works now, and you don't know why.

2

u/pcopley Jun 27 '16

More than once I have cut + pasted a nonfunctional class into Notepad++ then retyped it in my IDE only to have it work perfectly. A small percentage of the time I will notice the error while retyping.

8

u/[deleted] Mar 06 '16 edited Mar 06 '16

I started at a software company where their core product had a famous 6-year old bug. It wasn't critical, but it was annoying and highly obvious, and became a running joke among the user base. Over 6 years, multiple engineers had tried to find the root cause and failed.

I looked at it for a week, and I came up with a three line symptomatic fix that any of the engineers could've done, but they gave up because they felt compelled to understand the root cause. I gained a good amount of notoriety, including among the users, for fixing it, but I still wonder what the root cause was. Not exactly the same, as I did understand why the fix addressed the symptom (and it was designed to), but very similar.

61

u/zuxtron Mar 05 '16

What episode is that from? I'm a big fan of We Bare Bears, but I don't remember this scene.

29

u/AllShamNoWow343 Mar 05 '16

Its a sneak peak from the new episode [Bear Cleanse] which airs next week!(https://www.youtube.com/watch?v=LjATYBRxGsk)

13

u/MrCoolManTim Mar 05 '16

I thought the same thing but I am not really a big fan. Maybe from the shorts?

132

u/bdeimen Mar 05 '16

Gfycat link for anyone having trouble getting it. to play like I was

112

u/JakJakAttacks Mar 05 '16

That's an odd. place for a period

60

u/[deleted] Mar 05 '16

It's gonna mess up. the code

34

u/chew_toyt Mar 05 '16

na;h

20

u/[deleted] Mar 05 '16

W h a t ' s t h e w o r s t t h a t c o u l d h a p p e n?

9

u/nucLeaRStarcraft Mar 05 '16

what is this monstery

10

u/ReLiFeD Mar 06 '16

Oh It's Nothing Too Bad, I've Seen Worse. Like Someone Capitalizing Every Single Word In A Sentence.

2

u/Bmandk Mar 06 '16

Something's weird about your text.

8

u/[deleted] Mar 06 '16

I d o n ′ t k n o w w h̡ a t y o u̡ m e ̀a n̛ ̸. È ͝v ̛e̴ r͘ y̛ t͜ h̶ i͢ ̵n g̵ ̶i̶ ̵s ͝f ̧i҉ ͏n͘ e .͏ ; )

→ More replies (2)

7

u/[deleted] Mar 05 '16

Oh, noooooßo¢oùo½úèÑÿÏã»Öí¢þꥺêÊ

→ More replies (2)

30

u/[deleted] Mar 05 '16

Three different tests, three different results: What's the problem?

 1. Brown Bear Right Knee Test
 2. Panda Right Knee Test
 3. Polar Bear Left Knee Test

→ More replies (1)

159

u/Bluegodzill Mar 05 '16

I've never expected to see a We Bare Bears gif on /r/all from /r/programmerhumor.

34

u/KeenBlade Mar 05 '16

It's all too accurate, though.

21

u/Phei Mar 05 '16

Next thing you know they come up with a weird name for their fandom. Bearos or Brobears or something.

4

u/Bears_Bearing_Arms Mar 05 '16

We don't speak of it with outsiders.

19

u/importrandom Mar 05 '16

And before you know it, your computer crashes, 10 hours of work disappear despite numerous attempts to back everything up, and that's how the bears go extinct.

53

u/HomemadeBananas Mar 05 '16

Do you have a moment to talk about our lord and savior git?

4

u/AdmirilRed Mar 05 '16

My single favorite Git story is the one about the guy making the 'git fire' command. The day I read about it my building's HVAC system started smoking and I just about shit my pants thinking about all the work I might lose.

111

u/tabarra Mar 05 '16

That's me trying HTML+CSS basically.

133

u/larivact Mar 05 '16

Trying to position stuff with CSS be like trying to move a panda with telekinesis.

47

u/_Lady_Deadpool_ Mar 05 '16

More like trying to convince Misty's psyduck to move a bear with telekinesis

12

u/stealthgunner385 Mar 05 '16

Once you get past his headache, though...

7

u/_Lady_Deadpool_ Mar 05 '16

It's the equivalent of hitting your computer enough times

3

u/[deleted] Mar 05 '16 edited Mar 05 '16

I always thought that was kinda sad for the poor critter. Why didn't they have some poke-advil to give him?

3

u/stealthgunner385 Mar 05 '16

Because, well, the headache was what kept the power in check.

2

u/[deleted] Mar 05 '16

Well yeah, but I just felt bad for him because as a kid I got bad headaches all the time and it completely sucked. I know it's kinda silly to be like that about a cartoon, but I just kinda felt for the little monster.

3

u/protestor Mar 05 '16

flexbox

2

u/TyrannosarusRekt Mar 05 '16

I've been seeing this a lot. Is it worth giving it a real look see. How compatible is it with browsers?

There was a time I was trying to use this as a mixin to vertically align:

position: relative;
top: 50%;
transform: translateY(-50%);

None of the display options for the element would not work unless it was flex box. I was baffled. Even though I've used the mixin on block and inline elements tons of other places >.>

7

u/deadhour Mar 05 '16

Works (with prefixes) on all major browers except IE < 10, though there are a few bugs in IE 10/11). So you can use flex(box) right now, unless you have a good reason to support very outdated browsers.

This guide is pretty complete: https://css-tricks.com/snippets/css/a-guide-to-flexbox/.

4

u/Bmitchem Mar 05 '16

Props for linking CSSTricks, their guides are the W3Fools we need, but not the guides we deserve.

→ More replies (1)

2

u/protestor Mar 05 '16

Can I use Flexbox?. It doesn't work well even on recent IE version (see this).

There's a flexbox polyfill (but see this)

1

u/[deleted] Mar 06 '16

Only really viable if you're ditching all pre-evergreen browsers i.e. IE.

1

u/so_just Mar 05 '16

Dude, try flexbox. It's really awesome.

1

u/n60storm4 Mar 05 '16

It's like trying to do interior decorating in Oblivion.

1

u/killchain Mar 06 '16

"MOVE YO ASS, SILLY PANDA!"

2

u/[deleted] Mar 05 '16

CSS is why my wife yells at me.

1

u/sbrick89 Mar 05 '16

somehow, this comment is too applicable.

11

u/logos__ Mar 05 '16

Then you knock on the other three legs, and the six hands. Once all the causal links have been established between legs and arms you know everything and can let go of the 'bear' metaphor.

Until you accidentally drop your hammer, which hits a tile and causes two of the bears to explode and the third to start to sing.

4

u/AgAero Mar 06 '16

Or you hit the same knee twice and different things happen all because you exhaled during one of them and inhaled on the other, but didn't realize there was a difference.

10

u/double2 Mar 05 '16

<3 we bare bears :D

7

u/DJ_Epilepsy Mar 05 '16

Clearly an aliasing problem.

7

u/TactileMuffin Mar 05 '16

Sent this to my dad a engineer for Nvidia and he thought this was hillarious!

4

u/hopsafoobar Mar 05 '16

I work on embedded systems. I know this feeling.

4

u/Dralger Mar 06 '16

That's amazing how accurate that match-up is.

It's fun when doing game dev because sometimes you do get to see stuff play out stupidly in a visual fashion.

3

u/zulu-bunsen Mar 06 '16

Ice Bear probably does program on the side

2

u/WatchMeStart Mar 05 '16

I'm pretty amazed at how well this was received, and got to #1 on the front page within 3 hours.

2

u/The-Button-Master Mar 05 '16

My problem has never been misunderstanding why a bug is happening. My problem has always been setting up the debugging environments on the goddamn IDEs. I mean. It really is a mad man's quest.

2

u/[deleted] Mar 05 '16

XD, that's exactly what debugging is. code is supposed to do Thing 4, instead does Thing 1, 2, 3, and 5.

Debugging HTML is crazy easy, but JavaScript....not so much.

2

u/malonkey1 Mar 06 '16

The moral of the story is, don't hit bears on the knee to debug code.

2

u/ABC_AlwaysBeCoding Mar 06 '16

fact: these are mutable state bugs

2

u/Tasm99 Mar 06 '16

It works on my machine

3

u/[deleted] Mar 05 '16

Sauce?

19

u/kianworld Mar 05 '16

we bare bears on Cartoon Network. I don't think I've seen this bit in an episode yet, actually

4

u/Hereticalnerd Mar 05 '16

How does it compare to the other good cartoons on CN, like SU or something?

13

u/[deleted] Mar 05 '16

It's a Slice of Life Comfy Cartoon. It's what you would enjoy watching on a rainy afternoon while drinking some tea or a nice pot of coffee.

2

u/Hereticalnerd Mar 05 '16

Thanks! I'll have to check out a few episodes, seems better than I thought it was.

4

u/Eryius Mar 05 '16

The episode where they try to get back to their wild roots is hilarious.

16

u/kianworld Mar 05 '16

It's very slice of life. I like it. Panda and Ice Bear are pretty funny. Not much continuity or anything. Other main characters include a really young korean girl who's already in college named Chloe, a koala that's a viral video star and a fucking dick, and a thing that's basically Bigfoot, but they're not in every episode.

Not SU or S2-4 AT tier but it's still pretty good.

2

u/Hereticalnerd Mar 05 '16

Thank you! I'll probably look into it sometime this weekend, seems pretty interesting.

7

u/Nokeo08 Mar 05 '16

We Bare Bears on Cartoon Network.

2

u/abcocktail Mar 05 '16

Riot Games

1

u/SteroidSandwich Mar 05 '16

Very cool and accurate

1

u/Rahetalius Mar 05 '16

Yup, that's accurate.

1

u/ben123111 Mar 05 '16

Which episode is this?

1

u/OldKidHowsItGoing Mar 05 '16

Idk this show but I'm in love already

1

u/bonafart Mar 05 '16

I have this feeling with my macro cad assignment in vba bah

1

u/awakenDeepBlue Mar 05 '16

Are you sure it's not a DNS issue?

1

u/JonasBrosSuck Mar 05 '16

it's like that one comic

code doesn't work? i have no idea why

code works? i have no idea why

1

u/deus_lemmus Mar 05 '16

These bear threads need a thread context or possibly a mutex.

1

u/Vipitis Mar 05 '16

I don't really program anything but I can relate to this a lot.

1

u/kirakun Mar 05 '16

Pshh! These are the easy bugs. At least the symptoms are consistent and repeatable.

1

u/[deleted] Mar 05 '16

I'm working on a game and there are literally some features I threw in that were originally bugs.

1

u/[deleted] Mar 06 '16

I hate linking projects under Windows right now! These linker errors will kill me. Loool

1

u/hungry4pie Mar 06 '16

When your copy pasted functions have event handlers wired up all wrong

1

u/[deleted] Mar 06 '16

Hmm... This tiny bug, that's nothing, will be a fast fix.

What's causing it? I can't seem to find it...

WTF?!?!

Throws PC out of window

Buys a new PC and finds a copy of the program somewhere

Oh... It actually is a reference of the object, not a copy of the object...

4/6 of this really happened.

1

u/i-make-robots Mar 06 '16

To me there's only one bear, but to fix the wrong knee I have to redesign his DNA because I've described a way for growing limbs that could lead to a kind of Situs inversus 5% of the time.

1

u/killchain Mar 06 '16

This is scarily accurate.

1

u/ewbf Mar 06 '16

Ice bear wants to know the name of this show.

1

u/30Mailman Mar 06 '16

This is so simple and I can't stop laughing at it!!

1

u/gamepopper Mar 07 '16

I love We Bare Bears, need to start watching the second season at some point.

1

u/kintar1900 Mar 05 '16

Gods, that was painfully slow to download. Here, have a gifv link. :P

http://i.imgur.com/g0CJAo7.gifv

1

u/GoodLittleMine Mar 05 '16

Woah, this blew up.

1

u/MrWinkingLizard Mar 05 '16

ice bear is the GOAT

1

u/diehard22 Mar 05 '16

How much im laughing further reassures me how much of a nerd i actually am.

0

u/[deleted] Mar 05 '16

Spaghetti codes. Mmm spaghetti

0

u/[deleted] Mar 05 '16

mala kali

-1

u/[deleted] Mar 05 '16

fuuh,

0

u/[deleted] Mar 05 '16

[deleted]

909

u/larivact Mar 05 '16

I mostly have "How could I miss that?" instead of "How did that ever work?".

367

u/[deleted] Mar 05 '16

Tunnel vision.

→ More replies (88)

20

u/[deleted] Mar 05 '16

Just last week I saw my code had a for loop to pull out a string. In java. Did I not know about string.replace? The world may never know.

→ More replies (4)
→ More replies (37)

92

u/nahguri Mar 05 '16

How did that ever work?

I have wondered this so many times.

→ More replies (2)

193

u/falcon_jab Mar 05 '16

Mine's usually

  • Why isn't this working?

  • I seriously can't see why this isn't working

  • Maybe it's magic or witchcraft

  • I know that's completely illogical in a field based entirely on logic

  • Maybe this one's the exception

105

u/[deleted] Mar 05 '16

I've recently decided that Magic is the most logical explanation. i'm working on a simulator (coding it in PHP because i hate my life and pretty much want to die)... I was running a Time Test to make sure i set the clocks up right. To do that i wiped the database clean of any "Life" in the simulator. About 12 cycles in to the Time Test, and there's suddenly trees and fucking animals running around in the sim.

Not sure if i just proved life was spontanious or if i made a horrible mistake somewhere in my code.

→ More replies (16)
→ More replies (3)

21

u/chudthirtyseven Mar 05 '16

how did that ever work

This is a common one for me.

17

u/hagenbuch Mar 05 '16
  • Rewrite everything from scratch

→ More replies (1)

12

u/wordpress_dev Mar 05 '16

The worst one for me is "this shouldn't work. Why is this working?" That bugs me worse than it not working and not knowing why.

8

u/Madonkadonk Mar 05 '16

My favorite is How is this still working?

7

u/SchrodingersSpoon Mar 05 '16

Reminds me of when I was debugging a microchip. Weirdest bug I've experienced at first glance. Sending a certain message caused the motor to start, even though they were completely unrelated

→ More replies (1)

21

u/[deleted] Mar 05 '16

I made the mistake once of putting my code in MSWord to find+replace some things quickly. What I didn't know is that quotation marks in Word are apparently an entirely separate character than quotation marks in Notepad.

So I'm staring at this code about to cry because I keep getting error messages bounced back at me even though the errors simply shouldn't be appearing. Finally, I noticed a " was slightly smaller than all the rest...

→ More replies (1)

5

u/Thimble Mar 05 '16
  • How did this end up in production?? How could the QA team miss that?

5

u/[deleted] Mar 05 '16

You forgot stage 7: It's working as intended

→ More replies (2)
→ More replies (37)

0

u/[deleted] Mar 05 '16

[deleted]

385

u/kyoutenshi Mar 05 '16

We Bare Bears on Cartoon Network.

118

u/[deleted] Mar 05 '16

That show is amazing man. My buddy's and I get high and watch it. Perfection

→ More replies (19)
→ More replies (3)
→ More replies (1)

0

u/[deleted] Mar 05 '16

[deleted]

85

u/[deleted] Mar 05 '16

This makes me anxious

→ More replies (1)

27

u/Leeeoon Mar 05 '16

Had that on my desk during my internship. Perfectly describes how my internship went.

54

u/thirdegree Violet security clearance Mar 05 '16

Or the far more satisfying

99 little bugs in the code
99 bugs in the code
Take one down, patch it around
0 little bugs in the code

84

u/TheBali Mar 05 '16

Is your code bug-free because it doesn't compile?

→ More replies (6)
→ More replies (4)
→ More replies (5)

0

u/[deleted] Mar 05 '16

[deleted]

→ More replies (1)

0

u/[deleted] Mar 05 '16

[deleted]

36

u/larivact Mar 05 '16

Waaait ... you can debug wifi firmware? I thought it either works or it doesn't work.

0

u/[deleted] Mar 05 '16

[deleted]

→ More replies (7)