Details
-
LocationSpain
Joined devRant on 9/22/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
-
1. Buy boxes of orange juice, almost past their expiry date.
2. Put boxes on the hot office windowsill for a few weeks.
3. Cool down juice in fridge.
4. "Hey dear coworker, would you like a refreshing juice box on this hot spring day?"
5. Watch coworker retch and vomit, spitting blue-grayish juice over his desk, crying: "Why would you give me old moldy juice without checking the date?"
6. "Do you remember when you told me you didn't have time for unit tests? THIS IS WHAT HAPPENS, DAVE, THIS IS WHAT FUCKING HAPPENS WHEN YOU DEPLOY UNTESTED CODE.... NOW FINISH YOUR JUICE!"32 -
Secretary of the IT department stated in a meeting that she was "overqualified to babysit a group of 40 grown-ass men who are unable to communicate with each other"
... all devs had a huge grin on their faces because we knew that she was absolutely right, management was furious 😂
She submitted her resignation on the same day, best secretary we've ever had!1 -
As a developer, sometimes you hammer away on some useless solo side project for a few weeks. Maybe a small game, a web interface for your home-built storage server, or an app to turn your living room lights on an off.
I often see these posts and graphs here about motivation, about a desire to conceive perfection. You want to create a self-hosted Spotify clone "but better", or you set out to make the best todo app for iOS ever written.
These rants and memes often highlight how you start with this incredible drive, how your code is perfectly clean when you begin. Then it all oscillates between states of panic and surprise, sweat, tears and euphoria, an end in a disillusioned stare at the tangled mess you created, to gather dust forever in some private repository.
Writing a physics engine from scratch was harder than you expected. You needed a lot of ugly code to get your admin panel working in Safari. Some other shiny idea came along, and you decided to bite, even though you feel a burning guilt about the ever growing pile of unfinished failures.
All I want to say is:
No time was lost.
This is how senior developers are born. You strengthen your brain, the calluses on your mind provide you with perseverance to solve problems. Even if (no, *especially* if) you gave up on your project.
Eventually, giving up is good, it's a sign of wisdom an flexibility to focus on the broader domain again.
One of the things I love about failures is how varied they tend to be, how they force you to start seeing overarching patterns.
You don't notice the things you take back from your failures, they slip back sticking to you, undetected.
You get intuitions for strengths and weaknesses in patterns. Whenever you're matching two sparse ordered indexed lists, there's this corner of your brain lighting up on how to do it efficiently. You realize it's not the ORMs which suck, it's the fundamental object-relational impedance mismatch existing in all languages which causes problems, and you feel your fingers tingling whenever you encounter its effects in the future, ready to dive in ever so slightly deeper.
You notice you can suddenly solve completely abstract data problems using the pathfinding logic from your failed game. You realize you can use vector calculations from your physics engine to compare similarities in psychological behavior. You never understood trigonometry in high school, but while building a a deficient robotic Arduino abomination it suddenly started making sense.
You're building intuitions, continuously. These intuitions are grooves which become deeper each time you encounter fundamental patterns. The more variation in environments and topics you expose yourself to, the more permanent these associations become.
Failure is inconsequential, failure even deserves respect, failure builds intuition about patterns. Every single epiphany about similarity in patterns is an incredible victory.
Please, for the love of code...
Start and fail as many projects as you can.30 -
You know you did good for the week, when you realize that the infinite loop looking logs you were trying to recreate for the last half hour was in fact caused by how you held your thumb on the side of the thin bezeled device you were inspecting...
Have a nice weekend!1 -
Give me six hours to chop down a tree and I'll spend the first twelve sharpening the axe. —A programmer.6
-
A hacker deleted the despacito video from youtube.
Those are not the hackers we deserve, but the hackers we need.18 -
Client : pls put the disclaimer that the site uses cookies.
Me: but we don't use cookies this is a static page
Client: Still, the pop up makes the site look more professional, kindly add the feature asap
Me: :/22 -
Was helping somebody with a little C++ issue (disclaimer: I know jackshit about C++).
After a while off reading his code and opening a file called "pi.cpp", I noticed something odd...
This guy literally thought is was a good idea to put 81663 fucking decimals of pi in a #define statement :^)
On the screenshot, that weird "noise" on the right is actually a scrollbar of the code itself...33 -
Owner of company I freelance for: I need you to find out what CMS [website] is running in.
[Checking...]
Me: It's running in Drupal
Owner: Prove to me that it's running in Drupal, because she's saying you're wrong.
Me: Who the hell is "she"?
Owner: The boss over at [PR Company we do work for]
Me: Is she a developer?
Owner: No, of course not. She barely knows how to run a computer.
Me: Then tell I said it's running in Drupal, and if she wants proof, tell her I'm the developer she has begged to fix two other failing projects and I have delivered both times ahead of schedule.
Owner: If you don't show me proof, I'll fire you. I don't need attitude from my employees.
Me: A.) I'm not your employee, you are my client. I don't clock in for you and you don't withhold taxes from my pay. B.) If that's how you want to be, tell her to use terminal and cURL the website for the response header, as well as cross-reference folder structure for CSS/JS file inclusion to show it's running in Drupal.
Owner: What the fuck is terminal?
Me: If you don't know what terminal is, neither will she, meaning you have no business telling me how to do my job. Stick with assigning me tasks and let me use my expertise to get them done. Micromanaging need not apply here, mmm'kay pumpkin?
Owner: You sure are grouchy today.
Me: Yep...35 -
Conversation between me (intern) and a guy from communications, let's call him Bob.
Bob: "Hey, client X wants these pages to be changed."
Me: "Again? Last time I changed them was less than a week ago!"
Bob: "Yeah, everyone thinks X is a pain in the ass, but hey, more money for us."
Me: "But you don't pay me..."
Bob: "Oh yeah, you're right haha XD."
Me: "Haha... :')"2 -
Tested on local work perfectly,
Push to production
Restart service
CPU went up to 100%, process alive but all services down.
Panic.
Try to think of what would be the cause.
With no hope, i restarted the service again.
Everything works as expected.
I still dont know what happened. :/7 -
My relationship with Gradle is like a couple who are only together for the kids. Some days are hell and some days are okay, but rest assured there is no love there.1
-
Hilariously cool error.
I mean, not everyday your editor tells you to meditate or sing you a bob Dylan’s song, right?
That’s a nice touch atom.2 -
That moment when you rage-press TAB multiple times on a bash console but that path REALLY doesn't exist..6
-
So at school the teacher gave us a MONTH to write a sorting algorithm in Java. I asked the teacher if that wasn't a little too much time.
Her answer:" I want to give the weaker people in class a chance."
Okay so far so good.
The day we had to turn in our code I asked around what algorithm others had choosen and if they had any problems with it.
Classmate A: "yeah we didn't know how to program it so we copied it from the internet and I modified it heavily."
Me *raised eyebrows*: "can you show me?"
Me: "but that's exactly the same like the first Google result?!"
A:"No look there , I added this line so that it works with my code"
That lying bitch just added bucketSort(myArr, maxVal);
In the main method.
Me"How is that heavily modifying?"
A:"Also I asked the teacher and she said it was OK to copy the method from the internet"
What the flying cunt is wrong with people. So you give us a month to copy and paste from the internet.
Yeah great teaching.
You are the reason why half the class can't program shit.
Thanks for nothing. 😒😒
First rant hope you enjoyed it.12 -
Interviewing a junior dev.
> Make this function return false.
> junior: deleted all code in function replaces it with return false;
Literally no words.........20 -
First Rant here.
So I was working on some integration test issues when I found this by accident made by a professional level SW engineer:
@Test
public void testMethod() throws ApiException {
Response res = null;
try {
res = serviceToTest.callMethod();
} catch(Exception e) {
assertNull(res);
}
}
Was wondering why tests were being green after some code changes I've made cuz tests could have not been green afterwards.
Together with a senior (I'm also professional only) I've tried to explain him for a good 1-2hrs why this code is useless and he still did it. Good thing there are no errors in the real implementation from him after fixing the tests as it's code freeze here and we are having go live in a few days 🙃
Also luckily he isn't working on our code anymore and has only been doing so for a few weeks.
Wasted a day with it and gonna check all of his code now before I run in the next surprise.1 -
If you name your methods a, b, c, x, z, etc
Then I hate you.
If the idiot wants me to help then use proper method names!23 -
Me: I’ve been in the web since 2006, of course i know html,css,javascript.
Also me: Google how to center a div.28