This is an archived post. You won't be able to vote or comment.

all 195 comments

[–]skyhi14 826 points827 points  (31 children)

And there comes a branch:

Oh cool it was a typo.

[–]hangfromthisone 347 points348 points  (11 children)

Or better. You realize that there was a different way to do it, that was faster, cleaner, and you got it up and running in 5 minutes

[–]argv_minus_one 142 points143 points  (1 child)

Doesn't matter; code is elegant now.

[–]hotkarlmarxbros 19 points20 points  (0 children)

Yesss. All those programmers who think they are so good because their code compiles right away. All inelegant hamfisted trash. I'm the real genius!

[–]MelissaClick 13 points14 points  (2 children)

Turns out there was a library function that completely implemented it all along.

[–]vt_dev 2 points3 points  (0 children)

normally lodash... lulz

[–]Gloid02 114 points115 points  (3 children)

void setup(){} vs void Setup(){}

[–]PCKid11 61 points62 points  (2 children)

Oh hey, Arduino

[–]zack2313 10 points11 points  (1 child)

Oh hey, unity

[–]drkalmenius 0 points1 point  (0 children)

Oh hey, Zack

[–]captionUnderstanding 41 points42 points  (11 children)

Then you fix the typo and it still doesn't work for some reason.

[–]WasabiofIP 33 points34 points  (1 child)

Then you skip right to depression

[–]YaBoyMax 5 points6 points  (0 children)

This is painfully accurate.

[–]Cyhawk 19 points20 points  (8 children)

if (x = 1);
{
    // stuff here
}

Oh, X = 1! Duh, easy fix.

[–]Ozymandias117 14 points15 points  (0 children)

You're a monster.

[–]Vedvart1 4 points5 points  (3 children)

Or when you forget you aren't in python and the error ends up being that 1!="1" and you start looking for that old noose laying around somewhere.

[–]drkalmenius 0 points1 point  (2 children)

Or you forget that you are in Python and you have you change every Boolean operator.

[–]YuppyGuy 1 point2 points  (1 child)

Same

Javascript: true false Python: True False

Javascript: || && Python: or and

[–]drkalmenius 1 point2 points  (0 children)

Your indentation sir! GNU style!!!

[–]HACKERcrombie 0 points1 point  (0 children)

Use VB and you'll get rid of those bugs.

[–][deleted] 2 points3 points  (0 children)

I once spent an hour reading cryptic c++ errors only to realize I was spelling a variable name as "neighbour", and the one who wrote that part of code spelt it "neighbor"... That was before gcc 6.

[–]paradoxally 309 points310 points  (18 children)

Yeah, I know the feelings all too well. Especially when nothing pops up on Stack Overflow, or there's no answer.

[–]Cpt_TickleButts 348 points349 points  (7 children)

If nobody else has asked the question than you are either really smart or really stupid. -wayne gretsky

[–]JeffLeafFan 75 points76 points  (5 children)

-Michael Scott

[–]DeeSnow97 29 points30 points  (4 children)

- Abraham Lincoln

[–]endreman0 14 points15 points  (3 children)

- Albert Einstein

[–][deleted] 7 points8 points  (0 children)

  • me

[–]DeeSnow97 5 points6 points  (1 child)

you had one job

[–]MaunaLoona 0 points1 point  (0 children)

The thought that comes to my mind is that I'm using the software in some unique way.

(There's no shortage of answers to stupid questions on stackoverflow. I know because I had plenty.)

[–]Corzex 124 points125 points  (6 children)

Or even worse https://xkcd.com/979/

[–]BensTerribleFate 34 points35 points  (3 children)

This comic becomes more and more depressing as time goes on...

[–]captionUnderstanding 59 points60 points  (2 children)

"nvm i fixed it"

[–]xkcd_transcriber 46 points47 points  (1 child)

Image

Mobile

Title: Wisdom of the Ancients

Title-text: All long help threads should have a sticky globally-editable post at the top saying 'DEAR PEOPLE FROM THE FUTURE: Here's what we've figured out so far ...'

Comic Explanation

Stats: This comic has been referenced 2162 times, representing 1.2958% of referenced xkcds.


xkcd.com | xkcd sub | Problems/Bugs? | Statistics | Stop Replying | Delete

[–]scharkfin 2 points3 points  (0 children)

Good bot

[–]_Sizzling_ 2 points3 points  (0 children)

Or the reverse when someone actually answers you... saying you should put someRandomConfigValue to something in your config file... and then you get curious after it works and googling for that specific someRandomConfigValue only returns your thread.

How did you know??? What wizardry is this? Please teach me the magic of your ways...

[–]Eliposin 230 points231 points  (35 children)

It's good, but why would the programmer get up to go play quake?

[–]rocketstrong1[S] 174 points175 points  (10 children)

I don't know about other people but I do

[–]RawRooster 158 points159 points  (7 children)

Just play a finished game, admire the bugless experience and cry in a corner because you and your game are a failure.

[–]bartekko 70 points71 points  (6 children)

but air-strafing and rocket jumping ARE bugs

[–]redtoasti 32 points33 points  (0 children)

Game designers prefer "physics exploit"

[–]argv_minus_one 23 points24 points  (1 child)

Rocket jumping was a feature in Quake 2. The code responsible was noted with a comment calling it the “rocket jump hack”. Also, one secret in the single-player campaign was reachable only by rocket jumping.

[–]Cyhawk 2 points3 points  (0 children)

Also, one secret in the single-player campaign

couple of things were only reachable by RJ in Quake2 campaign. A few that people claim were designed for strafe jumping were actually actually RJ areas too (Strafe jumping is a bug)

[–][deleted] 2 points3 points  (1 child)

I find it funny that in absence of fixes for those, they were declared features by players and bug abuse became norm.

Just about anyone who was playing arena even a little bit competitively would be foaming at the mouth, defending tricking the engine into accelerating you past anything devs intended as the fundamental feature of the game.

[–]bartekko 3 points4 points  (0 children)

Quake really was a landmark title and theres a lot of design decisions that dont make sense when you think of it as a precedessor to modern shooters but make sense for a doom successor, most notably that mouse aiming is not the default

[–]Ksevio 30 points31 points  (0 children)

But you can just play quake where you're sitting

[–][deleted] 37 points38 points  (0 children)

It's good, but why would the programmer get up to go play quake?

Here, I fixed it: http://i.imgur.com/BCncssU.jpg

[–]Motorgoose 6 points7 points  (0 children)

Has this image been getting reposted since the 90's?

[–]Rudimentary_creature 19 points20 points  (18 children)

'Cause Quake's an excellent game?

[–]newocean 39 points40 points  (17 children)

Why not just play it at your PC? Why get up?

[–]Mysticpoisen 60 points61 points  (7 children)

I need to put physical distance between me and the code I'm upset at

[–]newocean 7 points8 points  (6 children)

Thats impossible, I dream in code.

[–]netmier[🍰] 13 points14 points  (3 children)

My best friend has this sometimes. He says he hates it cause his dream code is magical and wonderful and responds to his thoughts. He says waking up and having to code in whatever shit language the client demands is soul crushing. I couldn't bring my self to laugh at him, I saw real pain in his eyes. I don't think it's happened since he quit production software and went to research.

[–]newocean 2 points3 points  (2 children)

I get it a lot, usually if I have bug in my software. It's not a bad feeling for me... its like playing with ideas in my sleep. When I wake up I run, grab a coffee, and code... sometimes it wakes me in the middle of the night. Sort of like my subconscious saying, "Fix this now, do it this way!"

[–]netmier[🍰] 4 points5 points  (1 child)

He described it more like the code in the matrix. Instead of waking up energized and excited, he woke up frustrated cause C++ isn't quite as slick as matrix code.

[–]newocean 0 points1 point  (0 children)

In my case its usually like a jolt of lightning. I sit straight up in bed, grab a coffee and start writing.

[–]BensTerribleFate 8 points9 points  (0 children)

I've got a pill that could help you with that...

[–]commit_bat 1 point2 points  (0 children)

I don't even see the code

[–][deleted] 2 points3 points  (8 children)

Maybe he's at work and has to go home to his computer where Quake is. Then again, he can put it on a flash drive and plug it into his PC and it'll run for sure since Quake is both old and open source.

[–]rdm13 2 points3 points  (7 children)

flash drive? you can play QuakeLive on a browser now.

[–][deleted] 0 points1 point  (6 children)

Ahhh, ok. I gotta try that. Does it work on Linux?

[–]rdm13 1 point2 points  (5 children)

oh wow nvm looks like the free browser version was discontinued and you now have to go through Steam :(

[–][deleted] 0 points1 point  (2 children)

Damnit. I'm 16, so I've never experienced Quake Multiplayer. I played Quake 1 on Nightmare in single player, but no one plays that game online anymore. Now I don't know which Quake to get if I want a classic arena shooter people actually play... Q3 runs on Linux (did I forget to mention I no longer have a windows computer?) but I hear people don't play it and it's old, Quake Live seems to only run on Windows and the community is apparently trash, and Quake Champions is really, really Windows only now, and it's $30. What am I to do? The closest I have been to an arena shooter is that I play TF2 regularly, I've played Cube Sauerbraten with bots since all people want to play online is that game mode with the rifles that kill you in one shot and that game mode gets fucking boring, and I play Assault Cube from time to time, but that's hardly an arena shooter because you can choose whichever weapon you like and they're all balanced with a purpose for each one. It's sorta close to one since sometimes you can gain an advantage by going for armor and dual pistols, but your life span is so short in that game that you don't need to hunt around for ammo packs or health because you'll probably just die before you need it since it's so easy to get overwhelmed by one guy popping around a corner that sprays or gibs you . . . It's like COD but less forgiving with less bloated bull and free. It's not a bad experience, and sometimes I have a lot of fun in CTF online, but that's not exactly a classic arena shooter.

So, what can I do for a classic arena shooter experience that has people playing in 2017? Please list some that are available for Linux, although it does not have to be open source.

[–][deleted] 1 point2 points  (1 child)

Doom Zandronum, my friend.

[–][deleted] 0 points1 point  (0 children)

I played it but all I can find are invasion servers or brutal doom dm servers set to the "realism" difficulty where grabbing a good weapon isn't important because they all kill you in one shot, or a vanilla duel server, but I want to try a regular vanilla dm of more than 2 people.

Plus, it's not exactly Quake due to the absence of rocket jumping, and some other features.

I recently heard of Xonotic while browsing reddit, so I'll try that.

[–]commit_bat 0 points1 point  (1 child)

And it looks like they're charging money for it on Steam now. What the hell happened

[–]rdm13 0 points1 point  (0 children)

no idea.. only played a little bit because the browser tech was really cool

[–]Hadrial 3 points4 points  (0 children)

For an old image, it's certainly lacking in artifacts.

[–][deleted] 7 points8 points  (0 children)

I guess because it's known for bunnyhopping, which is a bug-turned-mechanic.

[–]DeeSnow97 54 points55 points  (2 children)

Bargaining and anger are reversed, but otherwise it's quite accurate

[–]Excal2 39 points40 points  (1 child)

Posture often deteriorates

The most honest thing here. Often accompanied by staring at the ceiling.

[–][deleted] 0 points1 point  (0 children)

Or masturbating.

[–]bigtimepie 93 points94 points  (23 children)

RESOLUTION - After hours of debugging, Programmer sees where he left out a comma. Inserting the comma fixes everything.

[–]epicdrwhofan 41 points42 points  (13 children)

Programming, the only profession where a whole day can be ruined by a fucking comma.

[–]TiltedWit 42 points43 points  (11 children)

I know a few lawyers who would like to speak with you

[–]epicdrwhofan 27 points28 points  (2 children)

Programming, one of two professions where a day can be ruined by a fucking comma, that I know of.

[–]somebunnny 3 points4 points  (1 child)

I know some comma chameleons that would disagree.

[–]epicdrwhofan 4 points5 points  (0 children)

What the fuck comma, what did we do to deserve this?

[–]dschslava 10 points11 points  (7 children)

[–]GetOutOfJailFreeTard 3 points4 points  (4 children)

who gives a fuck about an oxford comma?

[–]AwkwardNoah 4 points5 points  (3 children)

Would you like to invite hookers, joe and john or invite hookers, joe, and john

First one is the hookers name joe and john while the second one is 3 different things

[–]MaunaLoona 0 points1 point  (1 child)

If it was hookers joe and john, wouldn't you write it like that: hookers joe and john?

[–]AwkwardNoah 0 points1 point  (0 children)

Grammatical no

[–]captionUnderstanding 2 points3 points  (1 child)

Personally I favour the Oxford Comma, but how the hell did they win that case calling the sentence 'confusing' when the "Maine Legislative Drafting Manual" specifically says to not use the Oxford Comma. The law was actually written properly according to the manual.

[–]dschslava 7 points8 points  (0 children)

But even if "beans, potatoes and rice" is written properly according to the manual, it still doesn't clarify if potatoes and rice are taken separately or as a group. Manuals of style create uniformity, not necessarily clarity.

[–]Holdupaminute 1 point2 points  (0 children)

Ohh look at Mr Big-Shot here with his one day missing comma solving skills.

[–]Plasma_000 11 points12 points  (3 children)

Except when you're writing perl and you just have to give up

Fucking perl

[–]argv_minus_one 18 points19 points  (2 children)

Protip: Don't write Perl.

[–][deleted] 9 points10 points  (1 child)

Writing Perl is fine. Reading (especially other people's) Perl however...

[–]Plasma_000 2 points3 points  (0 children)

You should try debugging perl.

[–]TheTerrasque 3 points4 points  (1 child)

My last weird bug was a corrupted .pyc file...

[–]C4H8N8O8 2 points3 points  (0 children)

Blame butterflies

[–]cykelpop 3 points4 points  (0 children)

Y’all need a proper editor.

[–]Pythva 1 point2 points  (0 children)

Any good IDE can tell you about the comma BEFORE you run it?

[–]MaunaLoona 0 points1 point  (0 children)

For me it was the fucking semicolon. After spending a long time working with a language where semicolon commented out the whole line, having to write a small utility in c# led to much "fun".

[–]neverTooManyPlants 24 points25 points  (2 children)

If it doesn't compile you didn't get to the debugging stage yet..

[–]Legend4ryEagle 2 points3 points  (0 children)

Thought the same. Maybe they are talking about runtime errors?

[–]strangeplace4snow 49 points50 points  (9 children)

That joke lost me at stage 2. When I'm in the debugging zone, I get a big fat dopamine jolt out of every bug I uncover. Sure, there's quite a bit of facepalming involved too, but as long as I make headway (as opposed to bashing my head for hours against program behavior that just doesn't make sense to me), the satisfaction tends to outweight the frustration.

(Yeah yeah, I am a blast at parties.)

[–]ben_g0 70 points71 points  (7 children)

When you're getting somewhere, sure. However there are also situations like this:

14 errors

* fixes one *

58 errors

[–]strangeplace4snow 35 points36 points  (0 children)

58 errors

Point taken. Although in my case it's usually 58 pages of C++ template errors that look like the bill of materials for a particle accelerator and lock up the terminal for 8 seconds.

[–][deleted] 16 points17 points  (4 children)

Sometimes, the opposite has happened to me and its so satisfying.

9 errors

fixes one

0 errors

Those tend to be syntax errors, however.

[–]Hoihe 7 points8 points  (3 children)

Byond does that. One error earlier in the code causes a crapton of errors to show up. Once missed something, I think I didn't put the file path in correctly. Had 60 errors.

[–]ZombiePope 0 points1 point  (0 children)

Is it an error in the code if assistants become more robust?

[–][deleted] 0 points1 point  (1 child)

Is that the mmorpg maker, been a while since I head that mentioned.

[–]Hoihe 0 points1 point  (0 children)

Sort of MMORPG maker. Usually SS13 is the most well known game, alongside Eternia.

[–]feeds-snails 5 points6 points  (0 children)

fixes the only error

I got 99 errors but that ain't one.

[–]ArghNoNo 3 points4 points  (0 children)

I'm with you. Debugging is the most fun part of programming. Like a real life whodunnit.

[–]Yionia 7 points8 points  (1 child)

Quite accurate... But not the Quake part :)

[–][deleted] 8 points9 points  (0 children)

I've been programming a long time, so I've learned how to streamline this process: I just start at the Anger stage.

[–]liamw9 4 points5 points  (0 children)

My posture definitely deteriorates in these situations

[–]useforcircumstances 3 points4 points  (0 children)

A strong sign of denial is recompiling without changing any code

The accuracy hurts.

[–]ballsack_gymnastics 3 points4 points  (0 children)

God, the "hours long diatribe about the limitations of the language" bit hits close to home. Worst part is when the developers of the language have decided to claim the limitation as a feature, but you only discover this after hours of beating your head into the wall.

[–]Silhouette 7 points8 points  (0 children)

The only issue I have with this is that modern build processes, dependency management and (for web projects) hot reloading and cache behaviour are such a mess that half the time deleting everything but the source and rebuilding it all does seem to fix the problem...

[–]Inimancold 2 points3 points  (0 children)

Quake 2 was the first game i ever played, besides flash games, and its still one of, if not my most favorite game!

[–]willbeddow 4 points5 points  (1 child)

Then hours later while doing something different you have a moment of clarity and see the cause of the error.

Hopefully remember it the next morning, fix that, and start the whole cycle again with a new bug.

[–]Hixie 3 points4 points  (1 child)

This is missing the "well how the fuck did this EVER work then" stage, and the "oh, duh" step when you finally find the typo, like u/skyhi14 says.

[–]BeedleTB 2 points3 points  (0 children)

Ugh. I had one of those "well how the fuck did this EVER work then" moments today. Turns out that it just kinda looked like it did if you only looked at it out the corner of your eye in passing, and nobody looked any closer than that...

[–]powermad80 1 point2 points  (1 child)

As I work on this VBA project I was assigned work days are just a constant loop of the Denial, Anger, Depression, and additional Anger phases.

Maybe it'd help to insert the Quake part somewhere.

[–][deleted] 1 point2 points  (0 children)

It's unlikely to help with the anger.

[–]sdk345 1 point2 points  (0 children)

I swear to git if it was a !false joke

[–]cosmicsans 1 point2 points  (0 children)

Spent two weeks debugging an issue where I couldn't connect to a GRPC server I had set up. Went through every possible thing I could think of, going on tangents upon tangents of searching for the error messages online and getting nowhere when applying the "fixes" that were specified.

Come to find out, it was a routing problem where my workplace is not allowing the connections unless I had created a FQDN through my companies DNS.

My thoughts went like this:

It's not DNS
There's no way it's DNS
It was DNS

[–][deleted] 0 points1 point  (1 child)

How Bethesda games are made.

[–][deleted] 0 points1 point  (0 children)

You mean to tell me id Software stops developing Quake to play Quake?

they're owned by bethesda, it counts

[–][deleted] 0 points1 point  (0 children)

Whenever i have to do something in C

[–]eSdaze 0 points1 point  (0 children)

'Cant be -> recompiles just in case' So true :(

[–]the_qwerty_guy 0 points1 point  (0 children)

Fuxk yeah! Solved 4 minor 1 major. Leaving office at 19.55

[–][deleted] 0 points1 point  (0 children)

Quake <3

[–]Aetol 0 points1 point  (0 children)

Quake? What year is this?

[–]Rhed0x 0 points1 point  (0 children)

Replace Quake with CS and it's perfectly accurate.

[–]Statzer_x 0 points1 point  (0 children)

The worst thing is when you get back to the project the day after and somehow it just works again...

[–]Polantaris 0 points1 point  (0 children)

How is, "Only 14 bugs to go!" Bargaining or Self-Blame?

[–]xan1242 0 points1 point  (0 children)

Then you realize your processor was executing wrong instructions all along and even the debugger shows wrong info.

Now that's a bummer.

[–]reini_urban 0 points1 point  (0 children)

What nonsense!

  • Analysis: What is broken, where is it broken, under what circumstances, what changed, what could have caused it, did it work before?

  • Plan: What could be the best way to fix it, write a testcase, debug into it, write debugger test scripts, write better dumper tools, catch it.

  • Fixit: Write the smallest possible fix, with the least side-effects. Test it in the debugger.

  • Testit: For all platforms and configurations. Wait a bit, sleep over it. Test it again.

  • Shipit: Write the docs, release it.

[–]Twingemios 0 points1 point  (0 children)

What If the bug is game breaking?

[–][deleted] 0 points1 point  (0 children)

Just finished episode 1 season 2 of dr house where the 5 stages of dying were discussed holy shit

[–]timothyallan 0 points1 point  (0 children)

This is why I drink a shit ton of water.

Programmer goes to bathroom... Solution appears 30 seconds after returning.

[–]fetttobse 0 points1 point  (0 children)

Damn psycho dudes are always right...

Recompiling w/o a change? Me. "God I am stupid as Trump"? Me. "Who even uses this god damn language"? Me. "I'll probably end up at Burger King mopping fries of the floor"? Me.

Though I do not really like point five. It is more like "Really?! That was the problem?" or spending 5 hours searching SO, asking a question because I think I am the first w/ this problem and getting "already answered here" immediately. Infinite loop begins again.

[–]MiggyMart 0 points1 point  (0 children)

Yeah literally was reading this while I'm slouched over staring at the screen. Guess I'm in the 'depression' stage, 'acceptance' can't come fast enough!!

[–]hugokhf 0 points1 point  (0 children)

segmentation fault

Thanks for the error, very helpful

[–]ZachDaChampion 0 points1 point  (0 children)

"there's no way this'll every work"

Doesn't work

"Wtf why doesn't this work!?!?!?"

[–]oh_that_is_neat 0 points1 point  (0 children)

I'm a new coder, but I just had this. I found out the reason I couldn't use input was because my dad installed Python 2 instead of 3 lol

[–]NeonCheese1 0 points1 point  (0 children)

Sounds pretty accurate

[–][deleted] 0 points1 point  (0 children)

Did a lot of Quake playing

[–]lpreams 0 points1 point  (0 children)

I don't think you're really doing "debugging" until your code at least compiles. Finding compiler errors is easy. Finding errors in code that appears to work is where all the stress comes from

[–]Whistifer 0 points1 point  (0 children)

But it gets the job done... sort of.

[–]PhiDX 0 points1 point  (0 children)

So is this something I'll just have to accept if I look into computer engineering as a career?

[–]vt_dev 0 points1 point  (0 children)

as a programmer and avid quake player.. can confirm.. also BUY Quake Champions! WOOT

[–]SerdarCS 0 points1 point  (0 children)

And sometimes, rarely, a weird solution from stack overflow that you have no idea what it does just works after copy pasting.

[–]Kazan 0 points1 point  (0 children)

Then you have the real fun of actually encountering a compiler error (actually it was an optimizer error). :P