3.7k
u/monster860 Jul 20 '17
clicking a box over and over again because it finally works
So true.....
318
u/AyrA_ch Jul 20 '17
→ More replies (2)148
u/z0mbietime Jul 20 '17
Then there is that moment you give up and just wrap the damn thing in a div and apply styling on that div for no other reason to than to keep your 2 forms inline
79
u/AyrA_ch Jul 20 '17
that moment you give up and just wrap the damn thing in the div
Or worse: tables
→ More replies (16)60
u/CyanideCloud Jul 20 '17
I prefer to just make my whole site using an imagemap, but thanks.
→ More replies (10)18
→ More replies (8)5
29
Jul 21 '17
Just did this today with a project I was assigned to... all I made was a left/right arrow switcher that flips through an array from the backend response but I've never used angular/typescript or sqlalchemy before (all of which are used in the project) and when I finally got it to work I just spent 10 minutes just flipping back and forth, trying not to jizz everywhere
→ More replies (1)5
3
3
u/mastermind04 Jul 21 '17
I once spent a week trying to figure out why my game stoped functioning after doing some major work. Turns out the compiler updated automatically leading to a single line change that broke when I recompiled the game.
2
u/darthtater217 Jul 21 '17
Like that scene in Cast Away when he gets a lighter and flicks it over and over because it's so easy than before.
2
u/Great_Chairman_Mao Jul 21 '17
The amount of times I click through a single UI triviality just because it works is in paralleled.
2
u/Spodiferous Jul 21 '17
The next day: "On second thought, we don't want the box. Can you make it an oval? We love the expanding thingie so keep that."
2
u/Reelix Jul 21 '17
And then on the 17th click the box stops expanding, but on the 18th and onward it does.
You're never able to repeat this bug, but in the back of the mind you will always know that it broke...
→ More replies (161)2
u/princesselectra Jul 23 '17
And feeling like a god at your awesome powers to compile and do cool things like clicking a box or tabbing through things in the right order, it is a calm serenity I find.
982
u/stnikolauswagne Jul 20 '17
Always fun to give an update of my progress to my (non programmer)-boss. Some days I can tell him "Well, I finished half the features I had scheduled for the next week in one day" and other times its "Well, I spent the last 2 days trying to install a program that just won't cooperate."
→ More replies (2)367
u/BooBailey808 Jul 20 '17
pretty much. Except my boss really doesn't get it. "I don't understand why this isn't done yet. You said it would be done"
471
u/unicorntrash Jul 20 '17
The favorite from mine were things like this: "We are not going to buy this $50 plugin, you can code that yourself, cant you?" later ... "why did that take 3 days, who is going to pay for that?"
→ More replies (2)322
u/stnikolauswagne Jul 20 '17
Recently had something similar.
"You are not going to spend 3 hours on writing an automatic scrapper for the data you need, we are gonna let an intern copy-paste it for 8 hours"
Result was getting sent a .odt file with wrongly formatted data with spelling errors which I ended up scrapping anyways. A work-day well spent!
130
u/Neoro Jul 21 '17
Sometimes you've just gotta do it yourself, sometimes without telling the boss the nitty gritty details.
→ More replies (3)47
u/daOwenator Jul 21 '17
This applies in all other professional offices. You have my sympathies
→ More replies (3)→ More replies (1)21
u/jacount Jul 21 '17
I think you mean scraper? A scrapper... like throws things away, presumably. Or does something with things that are thrown away?
→ More replies (3)61
Jul 20 '17
It's your responsibility to give enough room in your estimates as a professional. It's okay to be overdue sometimes as is with every role, but just try to pad out your estimates to account for this.
→ More replies (4)65
u/BooBailey808 Jul 20 '17
I do. Then my boss cuts it out, or increases feature scope. And I'm not talking about the project as a whole, but at every step, he gives me a hard time. And he's constantly asking me to go faster. Not to mention he overlaps dev schedules, which is probably why he stresses about my pace.
→ More replies (19)3
Jul 21 '17
No, I told you I had no idea how long it would take, then you pestered me into giving you a number that I already told you was bullshit, now you don't understand why I didn't finish by the arbitrary time.
→ More replies (1)3
u/Rosydoodles Jul 21 '17
"I don't understand why this isn't done yet. You said it would be done"
To which I respond with "and here is my completed to do list for the last week, yes, it's 16 pages - size 10 font is readable". Thankfully my boss doesn't do that, but other people do...
1.2k
u/X-Craft Jul 20 '17
type some stuff, the stuff does other stuff, you go to the next thing
But that is what happens
Although the other stuff is not necessarily the stuff it's supposed to do...
413
u/the_prepster Jul 20 '17
In fact it's almost GUARANTEED NOT TO BE.
265
u/pickausernamehesaid Jul 20 '17
And if it is, you stare blankly at the screen and then delayed fistbump the air. Then, as your hand is coming down, a doubt forms in the back of your mind as you begin to question whether or not it actually does work or if it just seems to work now and will break for literally everyone else.
85
→ More replies (2)37
u/StormTAG Jul 21 '17
"No bugs, huh? This can't be what the client actually wants. Where are those specs?"
27
u/Spirckle Jul 21 '17
I once interviewed a candidate that said he had written over a million lines of code and never had a bug. He didn't get the job. To this day I wonder if maybe I had interviewed this supercoder who could foresee all the data conditions that might hose his software, or foresee how the customer would change their minds and as soon as they did the code would morph into the new behavior.
→ More replies (3)13
u/prest0G Jul 21 '17
My code is only deterministic in that I know it'll behave in an indeterminate manner
→ More replies (4)18
u/flukus Jul 21 '17
Sometimes it does exactly what it should. Then you really get suspicious.
10
u/JuhaJGam3R Jul 21 '17
Had this feeling a little while back when decided to redo hello world.
std::cout << "Hello World!";Output:
Hello World!My mind: why did this work? It's broken in some way I know it
→ More replies (6)→ More replies (1)2
u/kuzuboshii Jul 21 '17
Its the you go on to the next thing that is wrong.
More like, you type some stuff, it does other stuff. repeat. Run out of time and say thats good enough.
582
Jul 20 '17
My favourite is:
I just coded myself into a black hole. This thing that seems like it should be simple still hasn't been solved after 2 hours of bashing my head against it.
The next morning:
Oh. I could just do this and save myself the hassle.
131
u/akatherder Jul 21 '17
Or when you spend far too much time trying to get an elegant solution to work. You know there's a quick and dirty way to do it, but you're always two steps away from the elegant solution.
Finally... forget it, this is taking forever. I'm going quick and dirty. Then that doesn't work. Your eyes get wide and you can just feel the air being sucked out of the room.
68
u/cosmicStarFox Jul 21 '17
"There's no reason this shouldn't be working", as you go into madness.
39
20
Jul 21 '17
Worse is "there is no reason this should be working" and as you move on there will always be that bit you don't understand what it does and it may break at any time
30
Jul 21 '17
I like the "You logged 8 hours and only committed 8 lines of code?" Yea well you didn't see the hundreds of lines I created and then deleted once I gave up on doing it the right way.
13
u/sharpened_ Jul 21 '17
"NO! I will not bodge this together, I will write good code and everyone will be better for it."
several hours elapse, nothing is gained
"Duck it, commit it to PROD and hope it doesn't bite me in the ass tomorrow morning."
14
u/TheHarmed Jul 20 '17
Worse is when you just get into your car to go home. "Oh... I'll forget about that since it's already done".
4
u/TexMexxx Jul 21 '17
My favourite is:
I just coded myself into a black hole. This thing that seems like it should be simple still hasn't been solved after 2 hours of bashing my head against it.The next morning:
Damn, still a black hole
FTFY
0
Jul 20 '17
[deleted]
101
u/xorgol Jul 21 '17
This is something that really worries me about healthcare, doctors and nurses have crazy long turns.
→ More replies (9)5
u/ieatpies Jul 21 '17
I believe that the reason they have such long shifts is that the figured that the amount of mistakes they make from over working is less than the amount of mistakes that would be made as a result of switching more often.
→ More replies (1)40
u/CptPoo Jul 21 '17
I find myself getting considerable work done while on a walk despite the fact that I seem to be doing nothing but walking. 15 minutes outside can sometimes do more than 3 hours at a desk.
27
u/fredspipa Jul 21 '17
Also, sleep. There are studies that show that you might keep "training" in your dreams on what you were doing the last hours before sleep, and show an improvement in that skill the next morning. I'm not sure if this applies to programming though, as the studies involved motor skills.
13
→ More replies (2)5
u/Polar87 Jul 21 '17
Must be, I recently picked up piano. While practicing songs vigorously during evenings I often find some measures to simply be too difficult with notes and chords being all over the place. I can get stuck on a 10 second part for hours on end and feel like I'm making no progress at all, then the morning after my fingers suddenly know where to go.
→ More replies (2)5
Jul 21 '17
I got an internship this summer, and one of the things my boss told me was "You, and anyone else here, will never work more than 8 (or 9) hours a day. I would rather you go home before the work is done and come back with a functioning brain than finish it and come back to see you did something stupid."
He's a pretty good boss, definitely looking forward to coming back next year.
142
u/Gerden Jul 21 '17
Hey. From r/all here. [7]
I just wanted to say I don't think you guys/gals (programmers) get enough credit. You're the reason I can even communicate this right now. You're the reason I can feel confident that when I make an ATM transaction it goes through without screwing up my account. You're the reason emergency services are able to coordinate and dispatch so well. Seriously, without you our modern society would probably fall apart. So, thanks.
79
u/Meloetta Jul 21 '17
Just don't think too hard about how much of our time we spend screwing everything up and it'll be fine!
3
Jul 21 '17
You should learn to program, you'll start to see bugs all around the software you use.
→ More replies (2)0
96
u/TektonikGymRat Jul 20 '17
Dude, I just had this issue with WPF that I have a global resource dictionary (basically CSS) that overrides stylings of a lot of controls. I literally wanted to override that global styling and for some reason took me like 3/4s of a day to get it to work and honestly I still have no idea how/why it's working. This was for a label, just to change the font...
93
u/CanvassingThoughts Jul 20 '17
I hate css for that reason.
CHANGE THE BACKGROUND COLOR! WTF?! It's one thing. One god damned thing. Everything says this should fix it, but it does nothing.
Programmer suicides
44
u/lukee910 Jul 20 '17
CSS is at least easy to embed in a page. Global resource dictionaries of WPF are an entirely different beast.
My take on CSS and Regex is pretty much the same: It has no structure and can be awful to read, but it's not as bad as you might first expect when you use it often enough.
Also, regexr.com and chrome's dev tools. I'd be dead without either of them.
16
u/CanvassingThoughts Jul 20 '17
Regex is manageable and has been consistent for me. CSS is a defiant mule. I'll check out Chrome's dev tools, thanks!
11
u/CptPoo Jul 21 '17
Also, regexr.com and chrome's dev tools. I'd be dead without either of them.
I just came to the realization that people used to write regex without some sort of simple tool showing them what their queries do. I can't even imagine that world.
→ More replies (4)7
u/marcosdumay Jul 20 '17
I surely hope your regexes are much smaller than your CSSes.
→ More replies (1)→ More replies (5)10
u/micheal65536 Green security clearance Jul 20 '17
Make that regex101.com and firefox's dev tools for me.
→ More replies (13)→ More replies (5)3
u/unicorntrash Jul 20 '17
Dev tools? Seriously i cant remember the last time such a issue wasnt simply solved by picking the right elements and CTRL+F to the right place in the CSS file(s)
→ More replies (1)8
u/BlahYourHamster Jul 20 '17
You're not alone. Overriding styles and templates is a truly harrowing experience in WPF, especially if you're trying to restyle a more complex control like a
DataGrid.→ More replies (1)→ More replies (3)6
Jul 20 '17
I usually just give up and write some code in the code behind.
9
u/abrazilianinreddit Jul 20 '17
During the 1-year I've been with my current company, I've never been as ashamed of my code as I was when I was working with WPF. I duplicated a modal just so I could have 2 buttons in one and 1 in the other.
→ More replies (3)
90
u/HonestRepairMan Jul 20 '17
Did some programming for a company I worked at (my title wasn't even "developer"). The project was coming along beautifully! I saw a need and I started filling it with code. Once management found out, they started putting in requests for features. I'm chugging along as we're approaching an audit and one of the managers comes up to me and proclaims that this project is suddenly super-extremely important to have before our audit (2 days away). Now, the original project that I started on my own PLUS all of their feature requests need to be done in 2 days. One of the features was; scan a stack of papers into the network as one big PDF. The program would OCR it reliably to a text file, distinguish the huge stack of papers into individual documents of several pages each, detect some data, rename the file using the data it gathered, and then create a directory structure on the network with other data and organize all of the files into the correct place all by itself.
I looked at this guy with a face like he just ran over my puppy. He basically needed me to write another 1,500 lines of production-ready code in 48 hours. Needless to say that didn't happen.
28
u/Rosydoodles Jul 21 '17
Needless to say that didn't happen.
And they would have given you a flatbed scanner, I'm sure of it.
22
u/TheBestOpinion Jul 21 '17
1500 lines
Okay. Maybe doable. Maybe.
of quality code
HAH !
→ More replies (1)5
u/slashuslashuserid Jul 21 '17
That sounds cool. Did it eventually do what it was supposed to or was it scrapped after the audit?
6
u/Version467 Jul 21 '17
I'm not op, but I did something similar for a non profit organization a few years back.
The organization I volunteered for offers a lot of first aid courses and other educational trainings and handed out a form to gather feedback from the participants.
The forms had to be transcribed and digitalised in an excel sheet by hand, which was part of my job there.
I took it upon me to speed this process up and wrote a piece of software that was able to scan all the feedback forms of any given course, evaluate all the checkboxes with an ocr algorithm, exported it into the needed excel sheet and automatically send it to the correct instructors.
I put all my free time into this project, although nobody asked me to do it and I didn't expect any recognition for it.
It worked great and saved me a lot of time. Near the end of my time there I told the people that would have to do the job after I was gone about my program and they still use it.
To this day, management doesn't know about it.
Anyway, although it was a lot work, it was actually really interesting to do, because it was pretty challenging to get the error rate low enough to outperform a human and was one of the first projects I did that had a real purpose.
63
u/Illinois_Jones Jul 21 '17
You should try back end programming. Same process, no satisfying visual feedback. Also you're never 100% confident that it actually works
26
3
u/TexMexxx Jul 21 '17
I feel your pain... Especially with scheduling jobs. Watching logs can be boring and terrifying at the same time!
2
u/WdnSpoon Jul 21 '17
It's extra-rewarding, because nobody seems to give a shit when things work great, and only notice when they're angry at you because literally anything broke (not even necessarily anything you're responsible for).
2
u/ZiiC Jul 21 '17
This so much... I've just restructured our entire java object model for an insurance policy (drivers, vehicles, coverages all that jazz). Created a utility method that converts all these individual objects from the v1.0 to v2.0 model. I've checked as far as I can, who knows if all the data is actually converted correctly, I think it is... I hope it is... well find out sooner or later.
3
Jul 21 '17
Lol. Unit test!! Convert forwards and then backwards and check if the input matches the final output exactly!
→ More replies (1)→ More replies (2)2
56
u/ImAtWorkRedditing Jul 20 '17
I just spent 4 days trying to figure out why when I typed localhost/MyService it would go to localhost/metadata and give me a 404 error, but when I typed in localhost/MyService/metadata it would work.
The problem? My ServiceStack v4.5.12 nuGet package... Apparently new is not better and I needed to use v4.5.10, fixed after 36 hours of charged time...
→ More replies (2)5
u/ArchReaper Jul 21 '17
To be fair, breaking changes in a minor release is a huge no-no. That's 100% the dev's fault, not yours.
I don't think I would continue using software made by devs that would make decisions like that.
303
u/borgchupacabras Jul 20 '17
Reminds me of this http://imgur.com/gallery/HTisMpC
64
u/jamiemac2005 Jul 20 '17
I need a 1920x1080 desktop wallpaper of this and I'm going to spend the start of my Friday getting or producing one... the managers are rarely ever in on a Friday anyway.
71
u/borgchupacabras Jul 20 '17
I already have it hanging on my cube wall. That and this.
30
u/jamiemac2005 Jul 20 '17
Legend... tomorrow I'm wallpapering some stuff.
We're open plan "hot desking" though so I can't hang anything. It's the equivalent of being homeless in the workplace.
→ More replies (24)22
u/kjb_linux Jul 20 '17
Fuck that shit you could not pay me enough, normal salary, to hot desk. Now if you are talking about stupid money then fine I can deal until my house is paid off and new cars are purchased.
→ More replies (1)→ More replies (4)8
u/capnbooya Jul 21 '17
I was too lazy to font match so I just picked consolas bold.
→ More replies (1)33
u/DurdenVsDarkoVsDevon Jul 21 '17
It doesn't fit the song though. The second line should just be "99 little bugs."
→ More replies (1)17
u/Krackor Jul 21 '17
Author copy-pasted the first line and forgot to change the end.
→ More replies (1)→ More replies (5)5
u/Killer_Tomato Jul 21 '17
I still can't believe that cat has a movie.
3
u/borgchupacabras Jul 21 '17
Study hard, work hard, still very less money than a cat.
→ More replies (2)
48
u/Sjeiken Jul 20 '17
Laughs in C++
33
u/KalypsoNator Jul 21 '17
My first and only computer class was in C. We wrote in a text editor, and they told us NOTHING about debuggers or IDEs or anything. I was up crying at midnight so many nights that semester, all for lack of a punctuation somewhere. I practically burned my eyes out staring at code that wouldn't compile and I hated it so much I didn't try to learn again for 15 years.
→ More replies (1)21
3
43
u/SplyBox Jul 20 '17
And then you wake up in the morning and for some damn reason it doesn't work anymore
8
u/IceColdFresh Jul 21 '17 edited Jul 21 '17
All because the developer of one of the dependencies of the app decided to push a new minor version at 03:36.
43
Jul 21 '17
Once I spent a whole day at work debugging a working program. Must have rewritten it 4 or 5 times before I realized it had been functioning correctly the whole time.
16
u/WdnSpoon Jul 21 '17
Yeah, now this is the sort of thing that's a huge time-sink. What few understand about bugs is that something "not working" is a very fuzzy concept. Your code always does exactly what you tell it to do, it's only the expectations around what it should do that can differ. You can have something running for years, but eventually peoples expectations around how it should work change and suddenly your stable code is "buggy". You could also (like you did) personally misunderstand the expected behaviour or how to test it properly.
You can't prove the absence of bugs, only their existence.
→ More replies (1)4
Jul 21 '17 edited Jul 21 '17
It was actually a stupid GUI thing that was right in front of my face. I had two sections of a pane updating from JSON. The first section was supposed to disappear when I edited the JSON (which it did). However, I, as part of the functionality of the program, manually named the sections "section 1" , "section 2" . When All I saw at the top of the pane was section 2 (after the first section had been successfully deleted) I thought that can't be right that's supposed to be section 1! Which it was now, the names were completely arbitrary...
7
u/Rosydoodles Jul 21 '17
Once I spent a whole day at work debugging a working program.
Yesterday my day started with a pile of complaints from users in my inbox - for bugs I could not replicate. Thankfully I wrote logging into the system and discovered every single person who had complained was using the test system - the one where there's a massive red banner at the top of the page which says "Testing system! Do not use!".
29
u/AlphaWhelp Jul 20 '17
2
u/xkcd_transcriber Jul 20 '17
Title: Computer Problems
Title-text: This is how I explain computer problems to my cat. My cat usually seems happier than me.
Stats: This comic has been referenced 213 times, representing 0.1301% of referenced xkcds.
xkcd.com | xkcd sub | Problems/Bugs? | Statistics | Stop Replying | Delete
41
u/FinallyAFreeMind Jul 20 '17
Yeah story of my fucking life.
Literally just figured out what I did right and an hour ago. Trying to work on Windows Docker Containers; which are, as I'm finding out, definitely not fucking ready for their prime time.
Apparently an hour ago I got so happy that I finally got this shit figured out after 2 days of working on the same problem, that I forgot what the solution was 😩. Finally figured it out just now, made a note for tomorrow, and I can be somewhat fucking happy.
Thank flying spaghetti monster I work for a beer tech-startup and I can get drunk at the office now.
11
Jul 21 '17
Literally just figured out what I did right and an hour ago. Trying to work on Windows Docker Containers; which are, as I'm finding out, definitely not fucking ready for their prime time.
I'm going with you got some CRLFs in a bash script, your file system says it's there but bash pretends to not notice it.
→ More replies (2)2
14
u/gmr2048 Jul 21 '17
A C (or C++, I forget) coding final exam in college once took me 2 hours longer than it should have because I forgot a semicolon at the end of a line. 2 hours of my life. Lost to a semicolon.
8
u/ythl Jul 21 '17
And your compiler didn't tell you about it? My compiler tells me instantly when I've forgotten something as simple as a semicolon
→ More replies (1)3
Jul 21 '17
It's also really fun when you spend 4 hours trying to commit the day's changes because of some compiler bug, and once it's finally fixed, all of a sudden there are dozens of really ambiguous linker errors.
7
u/ythl Jul 21 '17
I seriously doubt you've encountered a "compiler bug". Most likely you were trying to hack together code with undefined behavior. Code snippet or it didn't happen...
→ More replies (2)
32
11
u/kjfang Jul 20 '17
How accurate... I remember writing over 4 times what the average code ended up being in my class for a program when it turned out I just forgot to capitalize a letter and then my code would have worked fine.
2
u/Cell-i-Zenit Oct 15 '17
EDIT: oops this answer may be a little bit late hehe
this happened in a test. We had 90 minutes to program simple input output stuff. I start with
public class auto{ whatever }Compiler goes wild with something like "pls use a correct class name"
I was like what the fuck is happening? I CAN GIVE THIS CLASS ANY NAME THERE IS NO INCORRECT NAME I never encountered this before while studying for this test. So i lost like 40 minutes just trying everything and finally skipping this task.
What was the problem: they used a different compiler version and i had to capitalize the class name to make it legit
GG
→ More replies (1)
9
u/G19Gen3 Jul 21 '17
Your heart drops. You feel sick. You want to be happy but you aren't. You spent an hour trying to figure out why it wouldn't run. It wasn't a missed semicolon, it wasn't a typo, it wasn't an unclosed set of braces. What was left? What could it be? Your includes were all there. Everything looked fine. Yet it wouldn't compile.
Two in the morning and you figure it out. It WAS a missed semicolon.
8
u/Jeans_Intelligence Jul 21 '17
pretty accurate but ive not coded in ages cause i became unemployed and also i hate myself
3
u/hiiipowerculture Jul 21 '17
hey, hang in there buddy! I went through a tough time recently as well, and suffer from anxiety and depression. It gets better, just take things one day at a time. If you need to talk please PM me.
7
7
7
Jul 20 '17
True. But they are some right tools for the job. The ones pointing out that one single symbol. I lost 3 hours today because of a BOM. Well, BOM it's also one little symbol, more precisely 3 bytes. But well, one symbol. An invisible one in most of the text editors. So I got a text file with some configuration which was silently ignored by the program. When the file was created by hand by me, it worked. When I generated apparently identical one with a script it didn't.
→ More replies (4)
4
4
Jul 21 '17
And then some manager you never met gives you requirements even though the project is 85% complete and started 12 months ago. Now you start over.
4
u/c3534l Jul 21 '17 edited Jul 21 '17
Most people seem to think programming is you describe what you want in a foreign language and then by magic it occurs. They don't really seem to have a conception of how minutely a task has to be broken down into.
4
u/skunkwrxs Jul 21 '17
I realized at 3 am on a Tuesday trying to debug code in the computer lab in college that coding wasn't for me. I was trying to create an incredibly simple checkers type game. I have incredible respect for anyone that can do that as a profession.
4
u/TalenPhillips Jul 21 '17
What coding is: You try something. It doesn't work. You spend an hour trying to debug. Then you google it... copy paste something from stack overflow. That doesn't work. You check the language's forums. You cry a bit. You copy paste something else from stack overflow... and then another thing. Finally you have 5 code snippets turning one type into another to do one thing, then back again so you can continue. Your code looks like you're lifting a forklift with another forklift so you can reach the beginning of your Rube-Goldberg machine to start it running.
Whatever, it works. Put a comment that tells everyone else not to disturb your spaghetti and move on.
3
3
7
35
u/bitter_truth_ Jul 20 '17
When people ask me why is coding hard I hand them my phone and ask them to unlock it. When they ask what's the code, I say "exactly".
→ More replies (1)206
u/ryantwopointo Jul 20 '17
That.. really doesn't translate well
→ More replies (1)32
u/bitter_truth_ Jul 20 '17
What's the correct sequence of digits and characters that would make this god damn machine do what I want?
62
u/ryantwopointo Jul 20 '17
If you're just entering random things when you code, you're doing it wrong.
→ More replies (5)23
→ More replies (2)93
Jul 20 '17
Except you use logic and knowledge and google and stuff not just guesswork
→ More replies (7)
4
u/thewritingchair Jul 21 '17
This is one of the reasons I snapped and left a computer science degree.
Working on an assignment that won't fucking compile, going over it line by line, working in some old language with f-all error messages... losing my fucking mind.
Four hours in, a friend comes in, glances at the screen and sees a double white space between two words. Remove the space, it compiles and works perfectly.
That was the day I said fuck this shit and left computer science.
2
2
2
2
u/ncohrnt Jul 21 '17
Hand to God, I was trying to do this TODAY. I need an iframe to flex inside a div but with bigger handles than the tiny turd in the corner.
2
2
2
1
u/Jolly_Duck Jul 20 '17
Most recently, I spent 3 days trying to fix an issue only to finally add a single letter "s" and to the code and have it work perfectly.
→ More replies (1)
1
u/Mattsoup Jul 20 '17
I spent an hour today troubleshooting code until I realized I used a 1 instead of my L variable
1
u/FxHVivious Jul 20 '17 edited Jul 21 '17
I've been troubleshooting a program for the last two days, and nearly did backflips in the middle of the computer lab today when I finally got it to work.
2
u/IceColdFresh Jul 21 '17
Same, except I just pretended to do the Lezginka dance even though my ass is sat squarely in the chair, and with my boss reaffirming himself that he made the right decision not including me in client meetings.
1
u/theonlydidymus Jul 21 '17
That's me and python today. First time writing any real code in the language and everything breaks.
→ More replies (3)
1
1
u/buttaholic Jul 21 '17
I've literally stood up and sung about how I was a genius once.
I don't remember what it was that I got to work though. You'd think id remember if it made me a genius.
1
1
1
Jul 21 '17
this reminds me of the programming scenes in the otherwise excellent Kobayashi-san no Maid Dragon where she's just typing out perfectly formed Python textbook example code at full speed
1
1
u/bobbybac Jul 21 '17
I code so slowly and 'shittily' that I am terrified to update the platform the code runs on. Going back is like... 😨 ...the people on serverfault are going to think I replaced my brain with mothballs.
1
u/TechyDad Jul 21 '17
Sometimes, rarely but sometimes, my code will run properly on the first time. When that happens, I know I should celebrate, but instead I get highly suspicious that some horrible bug is lurking under the surface, waiting to emerge at the most inconvenient time.
1
1
1
1
u/cliath Jul 21 '17
what people think coding is: [...]
what it actually isCS students think it is*: [...]
1
1
u/amazing_wanderer Jul 21 '17
This hits hard... I spent the past 2 weeks trying to integrate a push notification library into a mobile app I was making for a client and it caused me to push back the launch twice. Turns out when I was pasting the app ID into the string that registers the device for the library, I must have accidentally hit an extra letter on the keyboard after Ctrl+V :(
1
u/4JULY2017 Jul 21 '17
I bet that last line, no matter how much your cognitive ability is affected at hour ten.
1
u/OHIMEMBERTUBS Jul 21 '17
To be honest I thought it was like the top too, then I started doing some scripting on a game I'm working on and I had a capital h for heath and it had to be a lower case >.> it took me 2 hours to figure this out on my own because I am really new to coding lol. Glad it's not just me!
1
1
u/HoosierHasBeen Jul 21 '17
It worked because I capitalized a letter in the same routine where capitalization didn't matter
1
1
u/kizz12 Jul 21 '17
Spend 15 minutes writing the most complex code I have ever wrote to communicate between .NET Unity3d and Allen Bradley PLC. 6 hrs across two days to make a box not clip through the wall at high speeds. FML.
1
1
u/dietotaku Jul 21 '17
the number of times i've spent over an hour maddeningly clicking "inspect element" and trying to tweak numbers just to find out i typed .think instead of .thing...
1
1
Jul 21 '17
Pretty much this. I was enrolled in a computer science class at a top computer science/engineering program and probably had the highest grade in the class, but after one traumatic incident where I stayed up more than 36 long and painful hours working on the final project (because I somewhat foolishly decided I could work on what was supposed to be a group project by myself), I thought enough was enough and decided that I didn't want to do this as a career for the rest of my life. The professor even emailed me personally asking me to TA for him the next year but I had to turn him down. Now I'm slaving away in a different field wondering if I should have kept at it, or how different my life would have been if I had a slightly different experience that time.
3
Jul 21 '17
How long ago did this happen?
There is a certain curse to being at top-tier programs because they can shatter confidence, ironically and unreasonably
1
1
1
Jul 21 '17
Query.. I've been interested in forever to learn coding...is it really that easy to forget something?
3
u/aytch Jul 21 '17
It's more a matter of attention to detail. Code does what you tell it to, not what you want it to do. If you leave off a step, things can go haywire.
Imagine trying to visit a friend in a new city with no GPS, and the list of directions they've given you to their house forgot to say "turn right at the third light". You'd be completely lost.
1
Jul 21 '17
...and then I read over that clever stuff I had posted and have to find out that theres 1 (one) symbol too much in it. At least it's the D.
1
1
u/DoctorWaluigiTime Jul 21 '17
Pretty much what happened to me this morning. Spend an hour trying to get a thing to work. Found out I just had to put less stuff in it to get it to work.
Didn't help that the documentation for said thing misled me to the former; utter garbage that documentation is.
1
Jul 21 '17
this was me when i didn't know that, in css, you need '/' instead of '' for source... took me 4 days to figure it out ;.;
I was copying directly from my windows explorer address bar
2.0k
u/Sogemplow Jul 20 '17
And then you try to explain to people why you're so excited or you want to share it and you're like "Look! I made the gamma pulse slightly when you get a notification so you can't miss it!" and they're like "ah yeah i see, it dims a bit" as if its nothing.