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
Search - "killmenow"
-
First Helpdesk call of the day:
"My PC has been stuck on the same thing for an hour now. Its completely crashed."
"Does pressing ctrl alt delete do anything?"
"Where's that button?"
"Its 3 buttons - ctrl in the bottom left, alt beside the spacebar and delete over near the arrow keys. Press them all at the same time. Does it do anything?"
"No"
"Okay then, you need to manually power off the laptop then."
"How do i do that?"
"Hold down the power button"
"Where's that?"
"....on your laptop?! It's how you turn it on in the mornings?"
*60 seconds go by* "oh i see it. Ok i pressed it! Its Flashing blue now."
"Oh, no, just hold it down until everything goes black."
"The power button?"
"Yes."
"But that would turn off the entire PC?"
"Yes."
"Why do i have to do that?"
God help me if this is how my day is going to be 😢11 -
HR Project update meeting.
Duration: 1h
Content:
1) recap of previous meeting
2) overview of what we will discuss in next meeting.2 -
When I die I want whoever wrote this excel program to lower me into my grave so they can let me down one more time.3
-
So we outsourced a system.
It was the most stupid thing we could've done.
It's my job to make it fucking work.5 -
Crazy code.
You know when you come across some code, where you think: “I kinda see what you were going for, but it’s still hella dumb though...” right?
Currently doing some work on an F# backend, and the dev clearly knew enough of the language, but their code makes me question a lot.
The problem is simple: use a third party tool to generate images of each page in a pdf.
Said tool supports:
1. Querying the number of pages
2. Getting all pages as separate images in a single invocation
Can you guess how the dev solved it?
They’ve recursively incremented a page number, called the external tool to grab the image of that page.
“But how does it know when it’s run out of pages?” I hear you ask.
Simple. Catch the inevitable exception, and check against a hardcoded string literal to see whether it says “must be before the end of the document”.
I shit you not.
I nearly had an actual seizure when I was debugging some semi-related code and ended up in this wonderland of fuckery.
The recursion and pattern matching was flawless though, yet the tool’s website clearly states the supported functionality.
The whole thing feels like they tried to do it the right way, but couldn’t be bothered / couldn’t get it right, so they ended up creating this insane bit of madness.5 -
So... Manager pulls us in. Meeting in 10 minutes guys. I know it's unplanned, but it's important.
Not only is it the 10th time he's interrupted my workflow, but it's almost time to go home. And I was getting some important shit done.
Anyways, come the meeting: we are going to abandon all the work we've done on our microservice platform (2yrs+ in the making) and make it a monolith. Oh, and we have to do it in 4 weeks, because a client is asking for it. Oh, and you'll probably have to do overtime.
🤦♂️ FML5 -
If you didn't think NodeJS dependency hell was that bad, you should try sequentially parsing a graph that's stored as an array of nodes and their references, where processing of said nodes forces you to use some async functions that depend on other async functions.
What should have been 20 lines of code written in 30 minutes has turned into 3 hours of horror, reading about babel, realizing that it's just adding more problems without solving one, assessing the effort of modification of async libraries to include sync methods as well, trying out asyncwait, async, and everything else there is, trying to rethink the recursive algorithm, rewriting it several times, cursing and hating myself for not choosing to use Python or .NET Core, screaming senselessly at my wife in a language as familiar to her as Klingon, crying in the bathroom, re-assessing my life choices, thinking whether it was a mistake to dedicate 10 years to this career, maybe I'm just not cut out for it since I can't handle this simple task, watching noose tying tutorials on youtube, thinking about my naked empty RPI that won't connect to the server any time soon.
Seriously. Why is it SO BAD?! Or is it just me?5 -
There was an issue whilst you were away, we had to make a small css change.. We pushed it into master but it said something about the branch being behind the tip by 50 commits or something. It's okay, we forced it up though and force pushed it to production as well but the site went down.. In the end we had to ftp it up manually but the customer is saying things that were there before now aren't there any more?
I thought you put this "release process" in so things like this wouldn't happen! I think we need to review it as it clearly isn't working.4 -
Left Xcode to download during the whole night on our slow internet in the office. Turns out, it failed to download when I checked it this morning. Downloading it again...3
-
my worst dev sin:
Commit and go home on a friday not waiting for the build to pass.
Tons of notification from counterparts the following monday1 -
Haha, today I learnt that agile doesn't just stop in the enterprise with SAFe (Scaled Agile Framework), management has continued the theme in my new company with Lean-Agile Center of Excellence (LACE) and Agile Release Trains (ARTs).
Software development in 2021...9 -
I just finished an IT bootcamp focusong on JS and React. I feel like i dont have enough skills and knowledge to land a junior role. Any advice?
- a nurse looking for a career change13 -
More glorious gems from stupid hipster API dev:
HTTP GET api.redacted.com/referral/$id
{
"referral_id" : null // yes it was actually null
"referral_is_inactive": true,
"referral_deactivated": false,
} -
Sitting in a meeting discussing writing end user docs on a new feature and one of the product managers literally said "we'll end up picking a number out of the air."
-
print(type(signal))
print(type(-signal))
print(type(-1*signal))
returns....
<class 'numpy.ndarray'>
<class 'numpy.float32'>
<class 'numpy.float64'>
ffs.2 -
What would be the best way to basically make a "visual poll" that takes clicks from users and calculates a "final score" for a website.
I've never really done something like this before...4