Details
-
Aboutborn in 1999; not an expert; vim ftw; js is my guilty pleasure;
-
Skillsjs, c#, java, python, css, html, Pascal, php, anything with the proper time
-
Locationsjc < SP < BR
-
Github
Joined devRant on 1/14/2017
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 -
We got an HTC Vive from my girlfriend’s brother two weeks ago. We’ve been enjoying it, playing games, looking at places to move, using it as a virtual vacation (since we haven’t left the house in months thanks to covid and sweltering heat), etc. It’s been amazing.
Today, my 1yo decided it would be great fun to wrap its cord in the exercise bike and spin the pedals (and therefore flywheel) as fast as he could. It ripped the headset band off, broke the plastic attachment, and tore the cables out. He also broke the pedal somehow.
So no more Vive.
We can probably get it fixed, but.
My heart hurts.9 -
Sister was getting a new phone (she likes iphones but the jackplug removal made her go towards android as well as the prices) and there was this Deezer family deal. So she Signal'd me asking if I'd like to join the deezer family and I was like 'yeah sure but just remember that there's a big chance of me moving to another country after my study, is that okay with this subscription?'
Sales guy: It's limited to the country the official subscriber is in.
Sister: 'Oh but my brother is a smart IT guy, he can probably setup a VPN server here so that he can still use the app.'
She told that the face of the sales guys was like 'what the actual fuck just happened'.
She called me afterwards telling the story and also 'even though I thought I'd never learn about this stuff (I always told stuff at the dinner table), appearantly you taught me more than I realized!;.
Yeah, that was a very proud brother moment =).6 -
Very random, I’d normally post this on twitter but my girlfriend is there and it’s about her. A bit long and very personal...
to;dr My girlfriend and soon to be fiancé officially who is certain we are going to marry, doesn’t want to invite people to our wedding anymore because she doesn’t have close friends like I do and I’m quite disappointed.
My girlfriend and I have been planning to get married for a while now at least 18 months. I haven’t asked her to marry me yet officially but I know she’ll say yes because we’ve discussed it. We’ve spoken about a small wedding with a few friends not much family but the more we spoke about it the more she’s reduced how many people we should invite. Today she basically said she doesn’t want to invite anyone because she doesn’t have any friends she’s that close to or trusts like that.
By comparison I have about 5 best friends I can count on any day of the week and at least 5 other friends I’d want to be there. We’re both introverts but I’m close to some of these guys because we have similar mental illnesses and trauma from our youth and we gravitated to each other like magic. She kinda gets jealous of that sometimes or sad that she isn’t close to anyone like that besides me. But not like a toxic jealousy or anything. I’m pretty disappointed that at this point it really may just be us at our wedding.
I’m a romantic and the day will be great regardless, after all it’s her I’m marrying not them. On the flip side I’ve always seen my wedding day as something I’d get to share with my close friends I wanted to get married in the past in fact this would be the second time I’d propose to someone. She’s the one that made me feel like I’d marry again after the first engagement went terribly.
I’m disappointed and if I bring it up too much it’s just gonna make her feel awkward and cave for me but I don’t want that. Gonna marry her regardless though.13 -
My girlfriend is amazing:
After a long uphill battle trying to finish a huge open source project I started months ago. She noticed I was getting a little deflated.
So she donated a small amount to the donation page to lift my spirits.
She wanted to do it secretly but didn't know that it wasnt anonymous.
The little things spur us on.40 -
WHY THE FUCK ARE YOU ASSIGNING PROD BUGS WHEN I'M ON A FUCKING VACATION ?!?
Oh wait I wrote that code...
Welp6 -
Boss: I need you guys to give me an estimate on how long this project will take.
Team: We've put a lot of thought into this, and we think we can get it done in 2 months.
Boss: I need it next week.2 -
When the new guy on the team uses click bait titles on his PRs... that’s when you realise this guys going to go far.12
-
Was working on a game with some friends a while ago and had a HDD fail before I could back it up and lost 48 hours of progress so spent all night hammering it back to how it was before the data loss...
Never stressed so much in my life tbh7 -
Last year I built the platform 'Tindex'. It was an index of Tinder profiles so people could search by name, gender and age.
We scraped the Tinder profiles through a Tinder API which was discontinued not long ago, but weird enough it was still intact and one of my friends who was also working on it found out how to get api keys (somewhere in network tab at Tinder Online).
Except name, gender and age we also got 3 distances so we could calculate each users' location, then save the location each 15 minutes and put the coordinates on a map so users of Tindex could easily see the current location of a specific Tinder user.
Fun note: we also got the Spotify data of each Tinder user, so we could actually know on which time and which location a user listened to a specific Spotify track.
Later on we started building it out: A chatbot which connected to Tinder so Tindex users could automatically send a pick up line to their new matches (Was kinda buggy, sometimes it sent 3 pick up lines at ones).
Right when we started building a revenue model we stopped the entire project because a friend of ours had found out that we basically violated almost all terms.
Was a great project, learned a lot from it and actually had me thinking twice or more about online dating platforms.
Below an image of the user overview design I prototyped. The data is mock-data.51 -
Man learning I’m not good at learning new languages, I get to the point where I have the basics of the language ex: Conditional statements, loops, functions, classes, structures, file manipulation, etc but idk what to do after that, is this where I start learning libraries cause I still get the feeling I’m not at that step yet.
Before you ask, yes I know I am heavily over thinking this2 -
I was going out with this really nice girl, funny, independent, with a knack for entrepreneurship... and eventually she found out I was a developer and she needed a freelancer... and that's how she became a client instead of a date.10
-
I think I'm falling in love. With TDD.
I used to be very skeptic about it. You know, the usual reasons: it takes longer to deliver, constant "flow" interruptions, etc, etc. But ever since I've tried it I'm nothing but happy about my choice :)
I'm moving forward, I'm not making any regressions, I'm no longer afraid to make any changes in my code as I know tests will show what exactly I break,.. And most importanty, I have all use-cases with corner-cases defined and "explained" in the code... No more do I have to search in Confluence for how this exact scenario should behave. Everything is here. Everything's in the tests.
It's amazing!
Yeah, it DOES take longer to deliver so if you're hardcore Agile living by "Ship it as soon as it compiles" TDD might be too slow. But if you prefer knowing when your code is covering all the use cases w/o any errors -- TDD is the way.12