Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
Get a devDuck
Rubber duck debugging has never been so cute! Get your favorite coding language devDuckBuy Now
Search - "devrant upgrade"
"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.74
Normal app: "DEV I NEED THIS, 1 STAR. WITHOUT THIS IS SHIT"
devrant app: "Guys, I've created a client for desktop computer for devrant, tell me if I can upgrade anymore"
Such beautiful community ♥3
0.Arrive late due to traffic.(Apparently a car hit a cow crossing the road)
1. Try upgrading php5 to php7 and break stuff in the process and waste 2 hours fixing things.(Poor connection so ssh sessions hung occasionally)
2.PHP fixed,open Gmail and get over 100 emails from clients about the server being down(because of (0)).Ignore all.Find a snaglist of over 20 TODOs.
3.Open Android Studio, update to 2.3 and everything becomes broken.Each time i open it ,it crashes and i have to "Report to Google"
4.Spend the next 1 hour reinstalling AS.It finally works.
5.Open Project and the libraries are broken.Spend another hour upgrading build tools.
6.Leave SDK to update and decide to check my Google Cloud console.$50 bill pending.Shit.
7.Try XCode. Remember the project is still in Swift 2 and I have to upgrade it(Would take eternity).Immediately closes xcode.
8.Gives up on life and decides to log into Devrant.5
It's such a pleasure to suddenly notice that oh... devRant's been updated. Invisible transition. 2-person devs are doing great. @dfox
Hi DevRant, the last five years I've been repairing old computers for people who should really upgrade but rather stick to their beloved IE8. I'm sure we'll be friends!
After 4 weeks of no coding i start slowly missing it. especially when i'm reading dev rant 😁
Got some time for myself to upgrading elzdev 2.9 to elzdev 3.0
I can highly recommend you to do something good for yourself and spend some time alone with no work.
I chose Barcelona for one month 😍
And now i can't wait to start work again at the begining of november 😄4
Wow!!! I just saw the new devRant upgrade in the App Store. Unbelievable new feature. Can't wait to setup tonite!!! Thanks @trogus @dfox !!!1
Wow! New devRant IOS upgrade released today has some really cool new features! They must have a team of 10 coders or 1 @dfox and 1 @trogus. Great work guys!
TL;DR: Read it.
Please don't redistribute without permission. *PUT OPEN SOURCE LICENSE HERE*
Many users in devRant use Windows but then the "Arch Linux Alliance" short ALA came together to invade devRant. After some weeks, the small group FedB ("Fedora Bureau") also joined the OS Wars. When the release of Ubuntu 16.10 was near the UBO ("UbuntuBestOS Alliance") joined and was near to victory, because dpkg was faster than ever before. But then the macOS Defenders woke up. They finally finished the upgrade to Sierra and tried to fight the other OSes. They wanted to attack with their package manager, but that attack failed. After days of war Windows crashed while updating, which made it unoperational. They called it Blue Screen. After windows gave up, the other groups realized, that they are all built with the same base. They called it Unix. They grouped up (except macOS, because they just want to make money) and discovered the remains of Windows. They found a software named "Ubuntu bash for Windows". Everyone in the group was angry, because UBO teamed up with Windows. They destroyed UBO and continued.
To be continued.
Should it continue? Comments...5
The new devRant upgrade is great! So cool that everyone can easily get to podcasts from the menu. Comments interface nice improvements. devRant rules!
Wow! Giving Thanks this morning for the new devRant upgrade. Tag suggestions, links open in app, mute notifs... Thanks devRant team
I unironically can't figure out how to upgrade to devRant++ on desktop. It's cool that you don't want to nag but cmon!
I did find it in the mobile app. Is it just not implemented in the browser view?3
Who on earth told Canonical that it is a good idea to let users take care of the packages?
Seriously?!? PPAs for everything?
Do your job and provide useful packages for everybody. I know it's possible! As a daily Fedora user it's so nice because you get all you need by 2 major maintained repositories.
Yes, COPR exist but for rare cases or really unstable packages. But hey, I want to install a common desktop environment, not a nightly build of some unicorn software.
By someone's beard! Let's use Ubuntu they said... It's easier they said...
It's the hell on Earth! Burn it down! Make it never come back to me!
"But LTS!" NOTHING LTS YOU CAN UPGRADE YOUR SYSTEM TWICE A YEAR!!!
._. Ahhh *calm* I'm back to devRant.4
My favorite thing about the new web overhaul is that individual rants don't get truncated in feed view. What's yours?
People of devRant, I need your help! I am finally buying a new laptop - ive been using a Dell N4140 for the past 4 years and I absolutely love it. But it's about time to retire the machine and upgrade.
I'm a programmer, I don't play games and haven't used windows in the last 2 years. Im looking for a 4-8GB RAM under $1000K. I plan to replace the HDD with an SSD. 13' is too small a screen and i feel 15.6' is slightly on the large side. I have a 21' external monitor anyway. My old dell was 14' and i loved it. And looks really matter for me. Alsooo, I dislike having a number pad. Its useless for me.
I know I'm picky. I can't afford a MacBook right now (about to graduate from university), but if you could help me in finding the right laptop, I'd be really grateful!14