Details
Joined devRant on 11/18/2018
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
-
"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 -
A young guy I work with burst into tears today, I had no idea what happened so I tried to comfort him and ask what was up.
It appears his main client had gone nuts with him because they wanted him to make an internet toolbar (think Ask.com) and he politely informed them toolbars doesn't really exist anymore and it wouldn't work on things like modern browsers or mobile devices.
Being given a polite but honest opinion was obviously something the client wasn't used to and knowing the guy was a young and fairly inexperienced, they started throwing very personal insults and asking him exactly what he knows about things (a lot more than them).
So being the big, bold, handsome senior developer I am, I immediately phoned the client back and told them to either come speak to me face-to-face and apologise to him in person or we'd terminate there contract with immediate effect. They're coming down tomorrow...
So part my rant, part a rant on behalf of a young developer who did nothing wrong and was treated like shit, I think we've all been there.
We'll see how this goes! Who the hell wants a toolbar anyway?!401 -
GUYS!!! SHE SAID "YES" !!!!
I'M SOOOO HAPPYYYYY!!!
All my dreams are becoming real! I was so nervous to ask, but it was worth it! I waited for the right moment, looked her in her eyes, she looked at mine.. And there I asked it: "are you willing to give it a try and install libreoffice instead of ms office?"
AND SHE SAID: "yes"!!!
Do I have the best wife or what!21 -
When I discovered Clean Code, design patterns, TDD and BDD. It just clicked. Ever since everything build so easy and obviously. I no longer have most of the code problems folks rant here about.
That's when it came to me: it's not enough to know how to write code. To climb off those amateur shoes I must adopt those methodologies, so that the code would be decoupled from me, from my style, and I've got to let tests drive my code rather than vice versa to have a flexible and reliable codebase that is cheap and easy to maintain/extend.40 -
This shit is real.
Guy comes to my desk.
Guy: Do you know Python?
Me: Yes
Guy: I want a program that reads a CSV containing IP addresses and tells which of them are valid.
Me: Sure thing. Show me the CSV file.
Guy: (Shows the file)
Me: (Writes a small function for checking whether the IP is valid)
Me: Done Here you go.
Guy: You should be using regex.
Me: Why? This is perfect. No need for regex.
Guy: My manager wants a solution using regex only.
Me: Why so?
Guy: I don't know. Can you do it using regex?
Me: Only if you say so. (Stackoverflow. Writes a humongous regex). Done!
Me: Just for curiosity, what is your application?
Guy: I will port it in Java. You see, regex is easy to debug.
Me: Ohhh Yes. I forgot that. Good luck with your regex.22 -
Making a meme to pass the time...
All this waiting, only because I wanted to try one small thing -.-
Oh boy, JPEG compression strikes again...
Wish I could upload pngs. Then I could use alpha channel too.3 -
Finish my Raspberry Pi Zero Cluster... complete with kubernetes, etc.
... I still don't know what I'm going to run on this. suggestions in the comments welcome.27 -
This one time, a client wanted a complete overhaul of her website.
I asked her for the credentials to the VPS, She gave me some random crap to try, cause clearly the site hadn't been touched since 2003 (and boy was it fugly).
Me: Maam, these aren't the correct details.
She sends in more crap to try...2 days pass with this back and forth.
Client: "contact steve, he should have the login details"
Me: ****Calls Steve *****
Me: "Maam, he says the login details are in your mail"
Client: "well, I don't remember this fact. Steve handled everything.
Hack into the website and then reset it.
The Russians did not need login details to hack into America's system. So please, do what you have to do to get us moving."
No jokes...that was the exact crap that came out of her fingers21 -
So today I realized that Im not happy.
When I was a kid I wanted to do many things because I had time and energy but I had no money. Now that Im an adult and I have the money, I have no energy and no will power to try and have personal life in these few hours left of my day. I spend 9 hours at work everyday and totally 1hr 30min is wasted on commuting.
I spent 4 years in uni between lectures and working on my side projects, and I really believed that after uni I will get a job and my life work balance will improve.
After uni I spent 2 years working abroad in 3 jobs at 3 countries. I work as android dev and now Im making a really decent salary.
However Im not happy at all. I realized that life is not about the money. Im changing countries like socks and dont even feel the need to socialize or enjoy my life anymore. Im european and these other eu countries are not that different at all. It came to a point where relationships are meaningless to me. I became an office drone who cares only about work and outside of work I care only about my projects and more work.
At this point im only 25 years old with around 2 years of experience and money is really good, but fuck it Im so tired of being an emigrant and having no stability in life. Im so drained. I spent past 6 years (4 in uni combined with side projects and 2 years working in 3 jobs in different countriee) working my ass off and lying to myself that after the next big thing Im gonna take a break and enjoy life. But its never enough. I dont want to hit 30s or 40s and realize that I wasted my life on pursuing money and didnt get to enjoy life..
Im really considering taking a 6-12 months vacation. I need to find myself. Probably going back to my own country. Just learn how to enjoy life, attend workshops, get to know new city area, meet new people, do some interesting hobbies. Maybe do a little freelance (max 10hrs a week).
Im tired of feeling like I need to make as much money as I can and learn as much about my work as I can. Its not rewarding because its never enough.
Whats the point in that money if I cant enjoy it?4