Details
-
AboutHello World!
-
Skillsc++, c#, Java, Python.
-
LocationAustralia
-
Github
Joined devRant on 11/8/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
-
Welcome to 2017:
Facebook = Blue Snapchat
Whatsapp = Green Snapchat
Instagram = AllPossibleColors Snapchat
Ps: First rant **yayy**12 -
"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 -
So I teach a Lego mindstorms class to 5th graders for fun on my spare time. My other classes the kids usually seek me out for any programming questions but this one class of rambunctious boys would always say they're fine when I offered to help and then when they thought I wasn't looking would ask the male teacher or would pretend to listen to my explanation to not hurt my feelings. Finally my co worker told the guys "you know guys she went to school to program she does this for a living full time when she's not here. **room goes silent** In fact she's way better at programming then me". The whole room the boys mouths were open and one kid actually said noooo. We blew those kids minds. Most quiet day of class we've ever had after that.11
-
I used to work with a guy who had 2 PH.Ds, in Computer Science and Electrical Engineering and over 600 patents but I kid you not the guy could not use the coffee machine. Now it's not like this coffee machine was as easy as a Keurig, it was some $20,000 espresso machine that took a while to figure out but I tried teaching him how to use it a few dozen times and still he couldn't get it right. It got to the point where I thought he was faking it so that others would make it for him so I offered him $500 if he could figure it out. Still nope. So for the remaining 2 years we worked together I made him coffee whenever he wanted, 2-4 times a day, and he bought me lunch everyday. Before I left the company I bought him a Keurig so that when I left he'd still have coffee.19
-
Got to love Ubisoft web devs.
Their new "30 days of Ubisoft" calendar has the browser download 30 images of closed numbered boxes, 30 images for the hover state of each box and another 30 for the open state. Granted, the images aren't big, but hasn't anybody heard of custom fonts and CSS3?
Oh, and the "surprises" have already been leaked on reddit, gj on keeping hints in the page source.
https://30days.ubi.com/Promotion/...1 -
FFS GOOGLE, WHAT MAKES YOU THINK THAT A PERSON WHO WANTS TO LEARN MASCHINE LEARNING, DOESN'T KNOW HOW TO CALCULATE THE DISTANCE BETWEEN 2 POINTS???4
-
So I went through the ardous process of installing devRant, ignored all the onboarding, liked the content and registered an account. This community seems so liberating I wasn't even annoyed enough to immediately mark the "welcome" email as spam.
-
When you forget you're using your hotspot and not the WiFi and burn through all 7GB of your mobile data...4