We've all had those times where we've spent hours toiling over the same code endlessly, trying to track down and debug a seemingly impossible and improbable issue.
What's made you want to pull your hair out, and optionally, what was the resolution? (and was it more frustrating discovering it?)
I once forked a project and a spent a full weekend to develop my app just like the original repo did, only to see on Monday they migrated to a monorepo.
Writing the HTML and CSS code for an email signature using some existing examples. Not only were those examples using XHTML4 (or older, with inline CSS) but the code smell was really strong in it. After refactoring/cleaning the whole code, I had to make sure it worked on Outlook 2011, guess what... It uses an old Trident renderer so most of the CSS3/HTML5 things I wanted to use couldn't work and the rendering wasn't the same as on IE9.
I've been asked to join some company .After Interview they delayed signing the contract without telling me that they want to evaluate me.I started to work in their work and thought to sign later. The job description was front end developing ,but to do it I had to configure database and restore it in my mac computer.They Stated that I only have one day and two night to finish it with my team.I spent the weekend coding without that damn database,But in the end my code didn't work because of that back end. The end result is being refused to sign to the company ,blamed for latency .I took the short cut and quite the job ! What a Waste of Time !
I think one of the most frustrating things I've found is tutorials, I hate them I think with vengeance, you're following the code., typing it bit by bit and then boom it doesn't work because somethings either outdated and then you want help and its like... where do I start?
Really puts me off as a developer following tutorials. The resolution, learn by typing it yourself and stop following these tutorials which seem to always be out of date, and I think from that you're not only learning where you go wrong but learning at least to go in the right direction.
e.g followed a tutorial another day on web2py and posted to Twitter, finally some progress then I tried to write my own and broke my copy of Web2PY which leads me to think maybe I've just broken more than the app but the python library (no idea). LOL...
Takes you longer to learn but at least you're getting it right or in the right direction :)
Anything to do with hardware. Spending hours wondering why the component isn't sending the right data back on the bus. Is it your code? Baud rate's set wrong?
Really you just fucked up the soldering or the component is blown or something.
I have faced many such instances in the past. 😃 I will share the one that happened earlier this week.
So, we migrated our old AMAs into traditional thread based system. After deploying the change, we observed slow response times of our APIs and the website slowed down significantly when @unclebobmartin announced his AMA.
Server logs didn't reveal anything and it was too frustrating. After a couple of hours of debugging and tinkering with newrelic, I realised that I had missed a DB index which was leading to slow queries in peak hours. After migrating the old data, I was supposed to index the amaDate field. That was a huge bummer! :D
Setting up build tools always sucks copious amounts of ass.
I tend to explore new languages, and I tend to start a lot of projects that I abandon at 20%. This means I spend a spend a lot of time trying to set everything up so that builds work on all the platforms, tests and lints run, deployments, etc.
And its the worst! So many different build tools and module systems etc, and so many of them are the worst. More than once I've just been like "fuck this, I shouldn't have to read a book to target two platforms - I'm making a .sh file in 15 min that just does all the steps".
That's the issue when said tutorials use an outdated version of a tool/language especially when it was released recently.
Brandon
Frontend Developer
I once had a marketing manager who thought writing copy took longer than writing code. I'm glad I don't have to deal with him anymore.