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 - "pact"
-
So I didn't know why I kept seeing rubber ducks on devRant. Apparently, I'm not very good at typing today, either.
The result? I now have to explain why I Googled "rubber dick debugging" at work.6 -
if (num == 1) suffix = "st";
else if (num == 2) suffix = "nd";
else if (num == 3) suffix = "rd";
else suffix = "th";12 -
!rant
So the guy who's pretty much in charge of this project allotted three hours yesterday for me to teach another employee how to use the tool I developed.
Within 20 minutes, the employee told me it was pretty straightforward and he didn't really have any questions. The only changes I need to make are minor clarification and organization changes to the documentation.
I feel pretty great.4 -
I remember reading a comment on here that as developers, we are really authors. And that has changed how I write (and even read) code. I don't remember who and where it was, but whoever said that: Thank you.
-
Every time I hear my boss say "surely it can't be that hard" or "that's what, like a 5 minute job?"
*shudder*3 -
The day I discovered Schrödinger's lesser known paradox of simultaneously being fired and not fired.
This isn't really much of a dev story, but I figured I'd share it anyway.
About two minutes into signing into all my stuff, I suddenly was kicked out of everything. I tried logging in a few more times, and then suddenly started getting the error, "Your account has been disabled for security reasons." I couldn't sign into chat, and co-workers confirmed that I was missing from the company directory. My manager didn't come in for another two hours, and we couldn't get anyone else to answer what the hell was going on. So I was kinda panicking.
Eventually, we found out from one of our coordinators that someone else with the same name as me was leaving the company, and they had deactivated the wrong person.
It ended up getting a lot better. They told me that it could take up to 48 hours to restore my access (it took longer), so I found stuff to do so I could maintain my paycheck. One of those things was assisting someone with data collection and processing, where I eventually said, "Dude, I could totally automate this," and now that's what I'm getting paid to do.1 -
In the Ruhr area (Germany) we have some very old, very strange words with strange meanings. One of those words is ‚Prutscher‘.
A Prutscher refers to a person who does things but never gets a good result, due to lack of knowledge or simple carelessness. Most of the time, Prutschers are people who are interested in certain subjects and often work in the related jobs, but who lack the motivation to properly train themselves, learn what there is to learn and to always keep up with their technologies .
Here are a few examples I've stumbled upon so far in my career:
- Developers in their 60's who read a book about PHP 25 years ago and decided to become a software developer. Since then haven't read anything about it. Who then now build huge spaghetti monoliths for large companies, in which they prefix every function, every variable and constant with their initials and, of course, use Hungarian notation.
- People who read half a fucking tutorial about <insert any fancy js framework here> and start blogging/tweeting about it
- Senior web developers who need to be told what the fuck CORS is and who can't even recognize CORS related errors in their browser console.
- People who have done nothing else for 18 years than building websites for companies on Wordpress 1.x and writing few lines of PHP and Javascript from time to time. Those who are now applying as a frontend dev due to the difficult economic situation and are surprised that they are not accepted due to a lack of experience.
- Developers who are the only ones working on Windows in the team and ask their Linux colleagues for help when Windows starts bitchin.
- People who have been coding for 30 years, have worked with ~42 languages and don't know the difference between compiled and interpreted languages in the job interview.
- Chief developers at a large newsletter-publisher who think it's a good idea to build your own CMS (due to a lack of good existing ones, of course).
- Developers who have been writing PHP applications for multinational corporations for 25 years and cannot explain how PHP is executed. They don't even know what the fucking OPcache is, let alone fpm. FML
- People who call themselves professional developers but never ever heard of DRY, KISS, boy-scout rule, 12-Factor App, SOLID, Clean Code, Design Patterns, ...
- Senior developers wondering why the bash script won't run on their fucking Windows machine.
- Developers who consider Typescript to be a hindrance and see no value in it.
- Developers using ftp for deployments in 2022
- Senior Javascript Developer applying for a job and for whom Integer is a primitive data type in JS.
- Developers who prefer to code without frameworks and libraries because they are only an unnecessary burden/overhead and you can quickly code everything up yourself.
- Developers who think configuring their server(s) manually is a good idea.
You fucking Prutscher. What you have already cost me in terms of work and nerves. I can't even put it into words how deeply I despise you. I have more respect for the chewing gum that has been stuck in my damn trash can for the past 3 years than I do for you guys. You are the disgrace of our profession. I will haunt you in your dreams and prefix every fucking synapse of your brain with MY initials.
As a well-known german band once sang in a very fitting song: I wouldn't even piss on you if you were on fire.
If you recognized yourself in one of the examples here: FUCK YOU!29 -
Pro-tip to self: Getting syntax errors on your If-Than statements? Try using If-Then instead!
*facepalms at own stupidity* -
I (senior dev) just went out with colleagues from work. We started drinking what eventually led to some dancing and partying. After a lot of drinks one of the junior/intermediate devs told me that he was surprised i am not a conservative bourgeois like he supposed i am based on his work-experience with me and that he can have actually have fun with me.
MAN I AM FUCKING SORRY THAT I AM PROFESSIONELL AND THAT I DISTINGUISH BETWEEN MY PRIVATE AND MY PROFESSIONAL LIVE!3 -
Even as a developer, there is still a brief number when I look at an app's version, see something like 1.9, and think, "Ooh! Version 2 must be coming soon!"
I'm not particularly proud.1 -
I have this pact with my neighbor - if someone delivers a package to them, I knock on their door when I notice it to let them know and if they don’t answer, I take it into my apartment and leave a note. Same goes if she or her kids see a package delivered for us and we don’t answer.
So last month, we have a flooding incident in our complex and her flat’s damaged so they have to leave to stay at a hotel for a bit. It’s only supposed to be until the 20th (of last month).
So when she gets a package a few weeks ago, I knock and when there’s no answer, take it into my apartment and leave a note.
Note stays on the door for days.
And then it disappears, so I assume she’s home.
But she never answers the door.
And then I see workers in her place.
So now I don’t know if it’s the workers who picked up the note or if she was back and I missed her.
But it’s been a couple of weeks and I’m starting to worry about her. Like, the day of the flood she almost died and I ended up coming over to help (getting her oldest to do CPR, talking to 911, trying to keep people calm), so I know she’s not feeling great lately.
And I’m the kind of idiot that never thought to exchange numbers.
So I’ve resorted to internet stalking and messaging her on Facebook.
And knocking on the downstairs neighbor’s door since I know they’re related. They didn’t answer. I’ll try again later.
I have no idea what else to do. I mean, I don’t think I can contact the office and be like “Can you please provide me contact information for my neighbor? I have their stuff. Thanks.”
#awkward4 -
[meta-rant]
I don't get all of the OS hate here. Like, computers, and the variety of environments in which users use them, are our job. In my mind, Linux is popular, Windows is popular, macOS is popular—if I want to make it as a developer, shouldn't I understand how all three work and how to make them work for me?
When I read stuff here, I feel like there are people here who would think less of me because of what OS I prefer. That sentiment is kind of bothersome.15 -
So...you downloaded a new keyboard you can't get it out of the second person. You don't know what to do. Help you, please.6
-
Something I'm working on at work needs a code name. How do y'all come up with code names for your projects?8
-
I love being a part of a dev project as a non-dev employee, but I really wish I could leave VBA.
If for no other reason, because I'm tired of writing functions that end with "Me.Cells(Row, Column).Value" practically in my sleep.
There are a lot of other reasons, though...1 -
!dev
Vampire homegirl and I got into bit of a pickle last time we went out marauding around the City of the Dead. We collected payment for a hit on a merchant, but a large portion of the money was discounted, as unbeknown to us, there was a witness to our bloody crime.
Soon enough, we were being hunted down by a rival sect, encroaching on our territory. Their High Priest sent some dogs our way, and we felt right into their ambush, at a crossroads within the southern alleways. I took down three of those sons of bitches, with two crossbow bolts stuck on my back, before finally being knocked down by a shield slammed to my face.
Got both my fucking legs mauled with a flail and almost put out of commission. Luckily, my vampiric companion was there to save my skin. She fought a desperate duel against the last one of our foes left standing: an inquisitor, sent to either capture, or more likely, kill us both.
This fucker was tougher than any adversary either of us had ever fought against. Fully clad in silver armor, wearing an enchanted crimson cloak, her face hidden behind a terrifying iron mask. My companion stood her ground, but throughout the fight, she was constantly on the defensive, hesitant to close too much distance against the enemy.
Our foe launched one devilishly mighty blow, that my partner in crime fortunately managed to block. However, her blade was pulverized by the sheer weight of the inquisitor's strike, nearly shattering her ribcage. In a last ditch effort to survive the encounter, she lunged at her opponent with what remained of her sword, and stabbed the hunter right in her fucking eye, to then sink her fangs into the ecclesiastical bitch's neck.
Having temporarily incapacitated the inquisitor, we made our escape. My companion carried me back to our safehouse, where we would plan our next move... but our masters were one step ahead of us.
At our hideout, we were intercepted by them, at the behest of the Matriarch. We were to be smuggled out of the city inside a funeral carriage, to then be safely transported back to our sacred order's sanctuary.
Uppon arriving, we were confronted and reprimanded for our failures, past and present. I was forcefully separated from my esteemed nocturnal friend, as way our masters put it, our growing affections were cause for concern. Longing to be reunited, we schemed for weeks through our mutual acquaintances in the monastery, delivering small coded messages.
Through our cunning subterfuge, we finally managed to meet in an ancient grotto underneath a cedrus tree, on a hill overlooking the sanctuary. I was ready to plan a daring escape, but to my suprise, she had her mind made up to a wildly different course of action. We were to play by their rules -- go through with their dark cleansing rituals, meant to re-educate us before admitting us back into the order as fully-fledged acolytes.
And so, in the penumbra of that age-old grotto, a pact was made.
I am now riding south on a black stallion, falchion in hand, and a trail of witches' blood in my wake. I carry with me orders from the Matriarch herself: purify the nearby catacombs and prove my devotion to the utter blackness of our faith. Should I not return, my companion will be up next.
Failure is not an option. As I evade the twisted creatures that guard the entrance, and descend the staircase down into the tomb, I wonder what kind of horrors await me inside...
OH GOD FUCKING SHIT I JUST STEPPED ON A TRAP
** TO BE CONTINUED ** -
I've always been unsure if I was good enough to consider myself a developer, but at my first job out of college, I've convinced the right people that I know my shit. Now I'm on project writing a VBA script that compiles some pretty important data.
It's not huge, but it's still pretty unheard of as a customer support contractor at this major company. -
Say what you will about macOS. I just finished a task that was supposed to take me all day in 3 hours, and half of that was re-familiarizing myself with AppleScript.2
-
Some time ago, when exactly the fuck I don't quite remember and promise I never will unless just the right amount of ass is provided in a timely fashion, I start going about how I want to work on some utils to make writing prompts easier.
What I do remember and will remind you with strongly renewed vigor is the fact that I signed a legally-binding document to grant the general public a full pardon for my own ritualistic assassination should I ever use the term "prompt-engineering" unironically.
This pact still holds, and were I to break my solemn oath, then I will hold you fully accountable every single second I find myself still breathing.
Anyhoo, today was the first test of my resolve, for I have implemented both the stupid preprocessor and the local database prototype that allows it to fetch long ass definitions from disk, and both have been published (main: https://github.com/Liebranca/...).
I must admit to you all that though I have not failed, I felt weakness for a second when filling out tags in the repo description, as only "prompt-engineering" was recognized as a legit tag, and not "prompt-writing". In that moment, I almost gave in to temptation, as the accursed Satan whispered in my ear, appealing to my desire for recognition.
However, I reminded this ill buttrape daemon that their fate lies in the burning fires of hell, and as a result was allowed to resist it's alluring diabolical seduction. And for not giving in to greed, I have kept my life, my honor, and my anal virginity.
Also I wrote *some* documentation, it's shit but it's something.12 -
This team of coders sharing with us how consumer driven contracts using Pact helped them detect client-breaking changes quite early in the cycle.
Then the facepalm moment follows. Suddenly my "boss" takes over and says - "You know what, we do better than this. We use a tool called cucumber and test the interface in every build...."
The presenter: "Oh yeah... You surely are ahead of the curve. You don't need pact. Cucumber it is..."
End of the story.