Details
-
Aboutdeveloper, cyclist, business founder, entrepreneur
-
SkillsC#, TypeScript, AngularJS, NoSQL, SQL, Xamarin
-
LocationAarhus, Denmark
-
Github
Joined devRant on 5/13/2016
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
!Rant
Is this what we've all been waiting for?
CodeCorrect finds solutions to common errors in your code
"The hack works by inserting a piece of JavaScript in your web code that reroutes uncaught exceptions to a local node.js web server. From there, the code sends a request to StackOverflow's API to search for error messages and return the highest-ranked solutions to user-submitted questions. Answers are extracted from the StackOverflow, and if they can automatically be converted into instructions, changes will be made to the original code."
https://techcrunch.com/2017/05/...3 -
So, I needed a package installed on one of our Unix servers. The package manager--which is obsolete garbage--was failing with a message which can only be described as a variant of "Go fuck yourself". A quick Google search didn't help.
3 espressos and an eternity later, I have descended into a manic state. My hair has turned grey and I have started lactating. As a last-ditch effort, I try a new search query on Google, and the first link takes me to a forum with a thread discussing a similar issue. The last post in the thread has a solution which works for me. After fixing the issue, everything in the world feels right and I decide to thank the generous poster, who is like an angel to me at this point.
Guess what? The poster is none other than me. 8 months back, I had created a user account on the forum just to post the solution to a similar issue I had on another server.13 -
"You gave us bad code! We ran it and now production is DOWN! Join this bridgeline now and help us fix this!"
So, as the author of the code in question, I join the bridge... And what happens next, I will simply never forget.
First, a little backstory... Another team within our company needed some vendor client software installed and maintained across the enterprise. Multiple OSes (Linux, AIX, Solaris, HPUX, etc.), so packaging and consistent update methods were a a challenge. I wrote an entire set of utilities to install, update and generally maintain the software; intending all the time that this other team would eventually own the process and code. With this in mind, I wrote extensive documentation, and conducted a formal turnover / training season with the other team.
So, fast forward to when the other team now owns my code, has been trained on how to use it, including (perhaps most importantly) how to send out updates when the vendor released upgrades to the agent software.
Now, this other team had the responsibility of releasing their first update since I gave them the process. Very simple upgrade process, already fully automated. What could have gone so horribly wrong? Did something the vendor supplied break their client?
I asked for the log files from the upgrade process. They sent them, and they looked... wrong. Very, very wrong.
Did you run the code I gave you to do this update?
"Yes, your code is broken - fix it! Production is down! Rabble, rabble, rabble!"
So, I go into our code management tool and review the _actual_ script they ran. Sure enough, it is my code... But something is very wrong.
More than 2/3rds of my code... has been commented out. The code is "there"... but has been commented out so it is not being executed. WT-actual-F?!
I question this on the bridge line. Silence. I insist someone explain what is going on. Is this a joke? Is this some kind of work version of candid camera?
Finally someone breaks the silence and explains.
And this, my friends, is the part I will never forget.
"We wanted to look through your code before we ran the update. When we looked at it, there was some stuff we didn't understand, so we commented that stuff out."
You... you didn't... understand... my some of the code... so you... you didn't ask me about it... you didn't try to actually figure out what it did... you... commented it OUT?!
"Right, we figured it was better to only run the parts we understood... But now we ran it and everything is broken and you need to fix your code."
I cannot repeat the things I said next, even here on devRant. Let's just say that call did not go well.
So, lesson learned? If you don't know what some code does? Just comment that shit out. Then blame the original author when it doesn't work.
You just cannot make this kind of stuff up.105 -
Three months down the line and I'm finally ready to admit that my first completion estimate of "this afternoon" may have been slightly overambitious2
-
Our CTO has been told, this morning by management, that our development department is "too quiet" and that it's spoiling "the atmosphere" of the office space.
So we've ordered mechanical keyboards.21 -
Just heard I will be a father for the second time!! Those devRant stickers will look great in the nursery!17
-
I hate everybody who says JavaScript is the best language because of loose typing and its easy to learn, YES OF COURSE IT IS EASY!
ITS FUCKING JAVASCRIPT! IT WAS MEANT TO BE EASY! AND THEN SOME ASSHOLE CAME ALONG, CREATED NODE AND THOUGHT THAT IT WAS A GOOD IDEA!
NOW WE HAVE TO DEAL WITH THIS SHIT EVERYWHERE BECAUSE PEOPLE WHO WROTE CODE FOR UX NOW THINK THEY KNOW WHAT NEEDS TO HAPPEN ON THE SERVERSIDE!!
GOD FUCKING DAMNIT I HATE THIS ANALTOY OF A LANGUAGE.
YOU THINK JAVASCRIPT IS THE BEST?! DO YOU REALLY??!!! OH YEAH!?!
WELL FUCK YOU AND GO TO HELL, YOU ARE NOT A DEVELOPER IN MY EYES, GO HOME KIDDO, LEARN C OR ASM OR HOW A FUCKING COMPUTER ACTUALLY WORKS!!
AND THEN TELL ME AGAIN JAVASCRIPT IS A WELL DESIGNED AND PROPER LANGUAGE!!
I'M OUT!32 -
This was a fun thing that just happened:
I was sent a timed questionnaire by a potential employer for a software engineer job. I'm like okay, I will do it on Monday (today) because that is when I will have a free minute.
Well I sit down to do the thing and I had had a few beers, because the Ballmer Peak is real to me when I have to answer bullshit programming quizzes.
Well F me right in the A, it is a 38 question true or false logic quiz. And I am no longer a college kid trying to get into grad school so I have no patience for that crap, and apparently less with a little beer in me. Long story short, there was no comment section for me to rant in so I decided to go on YouTube and watch cat videos instead.3 -
Account guy saw me coding...
account guy: so you type a lot.. how can you remember so much??
me: ??
account guy: I mean there is NO LOGIC in what you do, so you must read these things and type them here... you need to remember a lot.. right??
me: ohh... that... well.. I have very good memory :)
p.s. last line was sarcasm12 -
Inherited project from another company that the owner wants updated rather than rebuilt.
The comments could write a programmers joke book as you can tell it's been passed between multiple developers.
This is a literal excerpt
//Not sure why this line needs to be here but it breaks without it
//Nope I don't know either
//FFS now I have to deal with this. Thanks guys :/2 -
Well guys it was nice being dev while it lasted. Reevaluated my life and decided to travel the vast world and become a Pokemon master.7