Details
Joined devRant on 6/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
-
"Are you familiar with uploading your code to Google Drive?"
I left the building at that exact moment.41 -
Started my CS degree, first term in. My uncle asks asks me to but "watchers" on my cousins' computers so that he can make sure they are not doing anything "bad'".... Then he wants me to put one on my aunt's Facebook.... Creepiest weekend ever.3
-
"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 -
My Friend: Dude our Linux Server is not working anymore!
Me: What? What did you do?
My friend: Nothing I swear!
Me: But you were last on it?
My friend: Yes. I just wanted to run a bash file and needed to give it permissions.
Me : WHAT DID YOU ENTER???!
My Friend: Chill man, just this command I found on the internet
chmod -R 600 /
chown -R root:root /
Me: WHY ARE YOU EVEN IN ROOT AND GOD DAMMIT WHY ARE YOU EVEN USING SOME RANDOM COMMAND FROM THE INTERNET. YOU KNOW YOU SHOULD NOT DO THIS OR JUST ASK!
My friend: Ok I did something wrong, how can I fix it?
Me: Did you make a backup or rsync of the server?
My friend: No. I just wanted to run this file.
Me: You holocausted the server. FUCK MY LIFE36 -
So I'm at 530 points, and i just joined a day and a half ago.. Is that normal? I see some people that post regularly for a week and haven't even got to 100 yet.60
-
This was the best hack when I was 11. My computer had a too small fan that was always on max speed, and thus really loud. To overcome this issue I wrapped a thick blanket around the entire computer case. A week later it broke down due to the obvious heating problem, and when it came back from service the repair technician just looked at me saying "Someone has had this computer fucked up intentionally, everything is melted from within. What have you done to it?!" Me being the piece of shit that I was just denied and got a brand new PC for free, nobody ever knew..
-
Just heard at the coffee machine: "Well, does that mean I'm not allowed to use Trump's quotes to seed the random numbers generator?"1
-
Did this on my first programming exam.
int index = 0
int value = 0
try {
while true {
value += array[index]
index++
}
} catch NullPointerException {
System.out.print("Sum: " + value)
}
The task was to add together all numbers in an array.
I somehow aced the exam, but got called in to teachers office this is not the way to use exceptions.7 -
When you write a guide and people completely ignore it, then bug you about problems they wouldn't have had if they read the damn guide in the first place.9
-
"You can teach my son to code. He doesn't like typing so just use that mouse thing (track pad). He's got an idea for an app (Flappy Birds clone) that'll make millions. It needs to be done tomorrow for his school computer project."
- Boss5 -
Got a phone call: I got an error, what do I do?
Me: what kind of error?
Her: I closed it.
Me: what did it say?
Her: I don't know, it was a window with "ok" and "cancel"
Me: why didn't you read it?
Her: I don't understand this computer language.
/me dies a little inside.
There is nothing quite as stupid as people who refuse to read their own language as soon as it appears on a screen.
They make those things for a reason.
This happens too often.8 -
Me when my teacher told us we're only gonna learn about Microsoft Server because that's all we need12
-
Mom: So you "play" on your computer all day.
Dad: You're not fit enough to be working with computers all day.2 -
Just remembered an old dad story:
Around 30 years ago I started a game on my Commodore 64, I was about 15 at the time, and back then you had to load the games from cassette tapes.
So I started the cassette player and waited for the game to load, and when it was done I stopped the tape. My dad saw this and he asked :
- "Why did you stop the tape if you want to play the game?"
And I guess it is kind of natural for someone who used cassette tapes for listening to music, to say that :-) Still I laughed at my dad...3 -
I'm going to teach web dev at a coding school in a few months. In the teaching plan, students have to learn git. But we are told explicitly to only teach using github desktop and not the command line because it puts students off.
I'm not sure how to feel about this12 -
Boss comes to me with an idea, we use a spreadsheet to store certain sets of links for clients, sometimes with dozens of links, he wants us to be able to push a button and open all the links in the sheet. I'll admit I'm not exactly proficient in excel but said I'd look into it.
I came up with a macro which seemed to work for a while but there were a few links now and then that didn't want to open due to the way excel apparently checks the links prior to actually opening them. I told my boss that I'd look into a better solution but was slammed in office with scheduled projects.
I ended up taking time at home over the next week learning how to make this happen in Python. After a week I've got a CLI Python app which takes in an excel workbook and asks the user to select a sheet. Well employees don't like CLI so they asked for a GUI. I had never made anything with a GUI before since I'm not a software developer, anything I had previously written was written for me so it didn't need a GUI to be useful.
Spent another two weeks at home developing this thing and finally got a working solution. Now several employees are using my app as part of their daily job, saving them well over an hour of just clicking links in a spreadsheet.
Boss goes on a long rant about how he appreciates me and is thankful I was able to figure this out in my own time and save him money. So I say "If you really wanna show you appreciate me, you could approve that raise I've been asking for."
He replies, "Haha, yeah, but that's not gonna happen."
(I and THE back end developer, and I make less than the copywriting interns, time to start looking)12 -
Why the hell does NOBODY, including Apple, figure out, how USB-C is supposed to work? I'm tired of shifty half-assed implementations with some having no USB 3.1 (Apple), some not supporting current DisplayPort standards (Apple, Dell) or limiting the speed to USB2.0... *GAAAAH*
Future seems to suck pretty hard.3 -
Catch a sysadmin's laptop unguarded. Put fakeupdate.net on windows 10. I never saw so much pain on a man's face. Priceless!1