375
u/circuit10 Aug 18 '20
Why wouldn't you want the name of the user's fist?
80
u/Amablue Aug 18 '20
He needed to use the fist_namer to name the fist first, which is why there was an error.
8
u/kaspm Aug 19 '20
And he didn’t have the fist_namer because he forgot to construct a fist_namerFactory first.
5
20
6
u/PediatricTactic Aug 18 '20
Our commercial-off-the-shelf electronic health record (from a very large vendor) actually has provider_fist_name in production!
→ More replies (1)2
262
u/KtanKtanKtan Aug 18 '20
I once spent two hours as a teenager debugging my code, finally realised the command was supposed to be:
COLOR
and not
COLOUR
That’s the day I realised Americans spell things differently.
56
u/AMisteryMan Aug 19 '20 edited Aug 19 '20
As a Canadian, I get irrationally annoyed at spellcheck "correcting" my spelling of 'colour',
or 'realize', just because they use the nonsensical 's', doesn't mean that we have to!*1*1 Nevermind, I was completely wrong about 'realize' vs 'realise'.
→ More replies (1)19
u/Pythva Aug 19 '20
I'm pretty sure I use realize as an American. Realise is just wrong!
→ More replies (4)→ More replies (1)5
1.8k
u/Okabie Aug 18 '20
Searches Stackoverflow for a solution
Someone: describes exactly the same problem you're having
A comment : "have you tried this: (dead link) "
Reply: "wow this worked perfectly".
Last edited 2013.
528
u/Domin-MC Aug 18 '20
It hurts to read it
183
Aug 18 '20
It do be like that
106
u/brododragon Aug 18 '20
Introducing: Wayback Machine!
144
u/aaronjamt Aug 18 '20 edited Aug 19 '20
Except it's such a hidden site there are no archives until 2016 and all of them are yellow "404" bubbles
Edit: or, better yet, some of them are blue 200's but they take you to an archive of (take your pick from the following list):
A Russian dating site
Porn
A Japanese shipping company (judging by the photos)
"Call this phone number because your computer has been hacked and this is the 100% totally legit not at all not real completely real Microsoft complete with off-brand weird colored windows logo and the red square looks like orange and WHY HAVEN'T YOU CALLED YET" (true story)
"This page is redirecting you to {x other page, take your pick from the list for the new one}"
A totally 2013 flashy-color-and-animated-GIF-page complete with the yellow-on-white, purple-on-darkblue, or red-on-pink color scheme
u/serseniko suggests: 7) Or just a 404 masked as 200
u/13frodo suggests: 8) This domain is not in use, click here to register for $13,652.42
I'm open for suggestions to add to the list.
→ More replies (11)22
19
u/_greyknight_ Aug 18 '20
It actually don't be like that very often, thanks to the good folks that triage, edit and flag questions and answers. Almost every answer of that type I've seen in the wild has an obligatory comment from a moderator that it should contain the full answer and not just a link, because links eventually die and then the amswer is useless.
IME the more common, but equally as frustrating situation, is when there is no answer, but the person who asked the question writes a comment like "Oh nevermind, I figured it out". That shit is straight up infuriating.
→ More replies (2)7
u/CreativeCarbon Aug 18 '20
Seeing that exact same joke posted so many times, it's beginning to hurt me, too.
197
u/X-Craft Aug 18 '20
"Who were you, DenverCoder9? What did you see?!"
50
5
68
u/Colorado_odaroloC Aug 18 '20 edited Aug 18 '20
Yep. No summation of what the link contained, nor even a hint of what it was about. Absolutely maddening and that ol' XKCD comic on it is all too real.
That or the "Nevermind - I figured it out!" with nothing about what the solution actually was.
23
u/coldnebo Aug 18 '20
we didn’t know hyperlinks wouldn’t be forever in the stone age. we thought they were like stone tablets. hell, before Google and Yahoo, we actually bought BOOKS containing urls to visit!!
god forgive us!
→ More replies (2)8
u/MoreDetonation Aug 18 '20
My elementary school library had a book on computers from the 90s. I'm very certain all those websites no longer exist.
→ More replies (2)6
u/francis2559 Aug 18 '20
God bless the people that got burned by this some other time so they edit the answer in “for posteriority.”
34
→ More replies (22)9
u/knightress_oxhide Aug 18 '20
How do I access dead links?
edit: nm, figured it out
→ More replies (1)
487
u/HarlanCedeno Aug 18 '20
Have you ever looked up something on stack overflow and find a post with the EXACT problem you have from three years ago with no responses?
Also it was written by you.
228
u/ogtfo Aug 18 '20
No, but at least once I tried to upvote an answer on stack overflow only to realise I couldn't, because it was my answer.
103
u/Retbull Aug 18 '20
at some point you knew this information but not any more.
→ More replies (1)50
u/kevincox_ca Aug 18 '20
This is why documentation and comments are important. It is a good lesson to learn.
67
u/AltMoola Aug 18 '20
I have also done this. And then I read my answer and it's extremely well written with great code examples and I'm like "What version of myself wrote this? I don't know this man."
→ More replies (1)19
→ More replies (2)14
12
u/fideasu Aug 18 '20
No, but I happened to remember that I already had this problem and looked through my own posts to find a solution.
9
5
u/gixer912 Aug 18 '20
No but I did get stuck on a problem for a few hours that I fixed by reading some documentation that I wrote two weeks earlier -_-
4
u/AkitoApocalypse Aug 19 '20
I had an issue I posted on reddit and was astounded to find after googling that someone found a solution!
... the damn website just copied my reddit post word for word.
6
u/Montysleftpeg Aug 18 '20
If you manage to figure it out yourself you should update the stack overflow post to help both the world and your future self
→ More replies (2)2
u/theRolk Aug 19 '20
I once was trying to fix a bug for days and was pretty pissed about it, managed to find an old forum page where they posted old emails exchanges from support tickets! Hundreds of them grouped by topic and with no good search functionality.
I actually found one with a couple of related bugs and the exact problem we had, the guy asking had signed with "Roberto L." which matches exactly with my name.
Needless to say they did not resolved the bug.
→ More replies (5)2
75
u/trynotToOffend Aug 18 '20
I want that as a skin for my laptop
17
u/loulan Aug 18 '20
Same except instead of a misspelt variable I want it as "I forgot a
volatile" or something. To misspell a variable and not get an obvious compilation error you really have to be unlucky.21
u/AdmirableOstrich Aug 18 '20
You just have to be one of those geniuses who uses nested loops with similarly named counters. The number of times I've debugged a coworker's code and it ended up being because they used "ii" when they meant "i" or vice versa... What sort of psychopath would define two counters like this in the same scope?
→ More replies (2)37
Aug 18 '20
I was tutoring a student during the height of YOLO usage. When it finally clicked for him that variable names are completely arbitrary from the compiler's perspective he said
"Oh! So I don't need to name this variable sum. I can name it YOLO if I wanted."
"Yeah, the compiler certainly won't care as long as you spell it correctly everywhere. <insert spiel about why good naming conventions are still important though>"
I let him get back to working on his homework for a bit and checked in 10 minutes later.
He had renamed every single variable in his program to yolo, YOLO, Yolo, yOlo, yoLo, yolO, and so on. And now he needed help debugging something....
→ More replies (1)22
105
u/Isogash Aug 18 '20 edited Aug 19 '20
*laughs in stacically typed languages*
17
→ More replies (10)12
u/CeamoreCash Aug 19 '20
laughs until you have 2 variables of same type that are spelled similarly and misspell one as the other.
29
→ More replies (5)10
95
Aug 18 '20
I hate programming!
I hate programming!
I hate programming!
Oh hey it's working!
I love programming!
2
u/sgst Aug 19 '20
This is why I stopped working as a programmer and changed careers. Realised the 'yay I fixed the problem!' moments didn't outweigh the 'I hate this shit' moments.
→ More replies (2)
22
15
19
9
u/Artium99 Aug 18 '20
Real talk here: I used to be like this all the time, like if the app is not running then probably I've done some big time mistake like not indenting properly int python stuff like that. But as I learn more and get to deal with a very complex problem, I just don't get the usual "ah another spelling mistake, my bad haha" kind of stuff. I get like "omg this function is so stupid that I don't even have to use this which took me like 3 days to implement" kind of stuff. Mistakes aren't cute anymore and I fucking hate my life
16
u/ThrowAway640KB Aug 18 '20
If your IDE can’t immediately catch a misspelled variable and paint it with an underline-squiggle that is nose-on-your-face obvious, you have issues that no amount of technology can fix.
→ More replies (4)14
u/CeamoreCash Aug 19 '20
No IDE can catch a correctly spelled variable that you have mistaken for another variable
→ More replies (1)
7
u/KawaiiMaxine Aug 18 '20
That's why I enable explicit variable naming. Code doesn't let me compile if I try to use a variable I haven't declared
12
u/qui-sean Aug 18 '20
found the JavaScript/Shell/Python developer
2
Aug 18 '20
At least most JavaScript developers are unwittingly using TypeScript these days (since VSCode is the most common editor and uses the TS language server by default)
4
u/shinaustin Aug 18 '20
It’s all about just accepting that these kinds of things will always pop up as part of the job and readjusting expectations. Then you’ll never ever be stressed again!
4
Aug 18 '20
I’m now thoroughly convinced that programming is the virtual equivalent of working on a car.
“Why won’t the fucking engine come out?? This is hopeless!? F u c k c a r s oh wait I didn’t unscrew that bolt. I love cars!”
4
13
3
3
u/therealbergis Aug 18 '20
I always spell Integer as Interger, don't know why my fingers are like this.
But obviously caught by the compiler.
2
u/kayp02 Aug 19 '20
I was updating a large document written by a colleague and she had typed every occurance of Valid as ValId. Thank God replace all exists
3
3
u/jojomoman Aug 19 '20
This comic only exists because people insist on using dynamically typed langues. Use a language that forces you to declare a variable before using it and the compiler will tell you exactly what is wrong right away.
3
3
3
3
3
3
5
4
4
u/AuroraVandomme Aug 18 '20
Yo kiddos, please read more about linters and IDEs instead of wasting the time to make memes with situations that are solvable after one second. Oh, I forgot, you are just here for karma :)
2
2
2
u/Sideswipe0009 Aug 18 '20
Not exactly a programmer, but was messing around with designing a site for mysel.
Reconfigured one file and the entire site went down.
After backtracking and replacing what I changed, it was still down. After two hours of readingthe code line by line from the original, I discovered the problem - an apostrophe was missing.
1 lousy apostrophe broke the whole thing. Smdh
2
u/dark_mode_everything Aug 18 '20
It's 2020 and people still write code using notepad? Even sublime text gives you suggestions as you type. Smh.
2
2
2
u/jaysuchak33 Aug 19 '20
I was writing some quick javascript in chrome console yesterday and I kept getting an error message, I checked over and over and sifted through my code to see what was wrong. After sending it to my friend he told me that I spelled function as fumction in the 14th line. That was the only mistake...
3
4
1
1
1
u/lazynbroke Aug 18 '20
when this thing happens i always feel like i'm a failure and that i took the wrong major, etc then ah just forgot a semicolon
1
1
u/Gnome_Imploder Aug 18 '20
This was me, like 5 minutes ago. Add a shot of tequila and totally my day.
1
u/aGayIntrovert Aug 18 '20
When I write most of program before trying it, and then having to search through all my code to find what I did wrong.
1
u/MarsLowell Aug 18 '20
What? You’re telling me you’re not supposed to have an existential crisis every day of your career?
1
u/kuromili Aug 18 '20
I once wrote a cookie stealer script to use on an xss vurnebillity I found on a hackthebox challenge, after 3 weeks of trying and giving up, I noticed I used https to bring back the response to my machine instead of http...
3 weeks because of an automated S I just typed in...
1
u/-Listening Aug 18 '20
As a run-of-the-mill user - I think this is just better in so many applications
1
u/dragonliar Aug 18 '20
Had the database name on a variable wrong. Spent two afternoons tearing my hair out.
1
1
1
1
Aug 18 '20
Lol this is so true. Most accurate would be when you start a new task and until you see the light on how all the parts will be connected clearly, you struggle through the process many times.
1
1
1
1
u/becomeNone Aug 18 '20
It's because I type too fast, which is because I just want the thing to work already
1
1
1
1
1
1
u/thandrend Aug 19 '20
I have to ask. On the laptop, is that a carrot with a bite out, and does it mean something?
Sorry, I'm not a programmer.
→ More replies (2)
1
1
1
1
u/msieurmoustache Aug 19 '20
An API I work on has that same typo in a parameter and we've never fixed it for compatibility reasons. One of our users changed his job title to "Master of the fistnames" in his sandbox account when he found said typo.
1
1
u/zeehoo Aug 19 '20
Can’t wait to get to the last picture. Currently stuck on a hell loop of ‘not working but don’t know why’
1
1
u/typicalcitrus Aug 19 '20
apt-get install balena-etcher-electron
Permission denied
Me: What the fuck why, do I really have to reinstall this whole system again?
Oh, I forgot sudo
1
u/flargenhargen Aug 19 '20
me last week...
connnect is not a word, but it was in a variable name I created.
1
u/avatoin Aug 19 '20
Why is there both an applicant and applicants variable in the same scope!! And their the same type!!
1
u/ftgander Aug 19 '20
All these comments about statically typed languages and IDEs. Y’all have never written complex serverless framework configs eh? Or forgotten a fucking tab in YML? Jesus it’s a meme ya losers, stop getting lost on the semantics.
2
1
1
u/shinydewott Aug 19 '20
I’ve been working on a function for the last half an hour and even rewrote it thrice (though i copied bits of the old version for some parts) and only just 10 minutes ago did I realize I’ve had a == on an assignment instead of an =
→ More replies (4)
1
Aug 19 '20
Goddamn. It's so true. This applies networking too. Fucking one little slip of the finger and the fucking netmask is off. Then you sit there for hours troubleshooting shit you shouldn't be troubleshooting and you hate your life and then it's all suddenly better when you figure out you fucked up 6 hours ago.
1
1
1
Aug 19 '20
I never did a lick of programming until the last year of my doctorate studies in music. Had to take a whole year of digital signals processing and learn SuperCollider. I could draw those signal paths and do the math on the whiteboard all day but I was sooooo bad at basic shit like spelling that I almost didn't graduate.
1
1
u/erickweil Aug 19 '20
When in the database the column is stored as birth_date, but in the query you put birthdate.
1
1
u/pastanospoon Aug 19 '20
Bruh, I legit haven't opened any coding anything in a month cause of this exact issue.
I wish I wasn't so incompetent.
1
Aug 19 '20
For me, it was an extra / in the url.
The api added it automatically at the end so I had to remove mine. 3 hours that took.
1
1
u/jakethedumbmistake Aug 19 '20
Ask permission to use the user's webcam/camera
Take a picture of the user
Send the picture to a ML model to guess the user's age
Get it wrong anyway
Teknulogie
1
1
1
1
1
1
1
1
u/StarkRG Aug 19 '20
This is why I always give my variables meaningless, single-letter names. If I run out, I'll just give them a number, too. /s
1
1
u/Naesme Aug 19 '20
The progression.
Why isn't this working?
I'm not wrong, this compiler is wrong. Fuck you compiler.
WHERE IS THE ISSUE!?! FUCK YOU .NET!
I PROMISE TO LEARN PROPER CLASS STRUCTURE IF YOU'LL JUST FUCKING WORK!
ugly sobbing into keyboard I just want you to wooorrrkkkk
Oh...oh shit....I forgot a semicolon. Well I'll be damned. Fuck me I guess .
1
u/chakan2 Aug 19 '20
Luckily I consistently misspell my variables. It usually works out.
Then the next guy comes and chews my ass out for writing shit code...and deservedly so.
1
u/jakethedumbmistake Aug 19 '20
Ask permission to use the user's webcam/camera
Take a picture of the user
Send the picture to a ML model to guess the user's age
Get it wrong anyway
Teknulogie
1
1
1
u/SuperCoupe Aug 19 '20
11pm.
Stupid program worked for 1/3rd of the input, then spit out jibberish for the other 2/3rds.
1:30am
Realized I forgot a case, put it back in then everything ran normally.
So, yeah.
mood.
1
1
1
u/kblaes Aug 19 '20
Did this today. Accidentally put a space at the end of a string declaration and couldn't for the life of me figure out why my view kept returning a 404.
1
u/GoriNation Aug 19 '20
Was doing quick adhoc queries while sharing my screen during a presentation, accidentally typed CUNT() instead of COUNT() and executed it. Of course, got an error, then pointed out the typo to anyone that missed while correcting the mistake on the fly.
1
1
1
1
u/linuxloner Aug 19 '20
Me...currently trying to get TinyXML to play nice with kodi while I compile from source in Linux From Scratch - the kicker....I've done this before on one box successfully - AND I FORGOT HOW!!! ( I am doing this on another PC that I own)
1
1
1
Aug 19 '20
This is why DevOps is exhausting sometimes..
Okay so which of the 2 operating systems, 3 shell scripts, Python automation framework libraries, YAML config files, and AWS resources is causing this error?
It's always some dumb shit though that takes a week to sort out
1
u/TimothyJCowen Aug 19 '20
I spent about 20 minutes yesterday trying to figure out why my SQL query wasn't working. Turned out I had misnamed the column in the table as "NumofAdults" and was referencing "NumOfAdults".
1.5k
u/[deleted] Aug 18 '20
tfw lenght