Skillsjs , node, php , mysql, css , html
Joined devRant on 2/20/2018
Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More
Couple years ago, in an Indian web dev company I worked at, the management decided it would be a good idea to ask all employees to "justify their salary" and submit their answers via email.
(You read that right)
70% workforce submitted their resignation the same day, resulting in the HR (who came up with this idea) getting fired on the spot.
Got a mail from a recruiter.... offering me a role in a company......where I'm currently working....in the said role.16
And then one day you wake up and discover that your first boss,
the one who hired you when you had no experience
who believed in you when nobody else did
and also paid you a full decent payment when the rest of the world tried to pay you less than half the amount
who taught you a lot about the business and even when you disagreed, it was impossible to get angry because he was calm and gentle always
and treated you so many lunches and dinners
…was beaten and killed by a former colleague…
I have no words…
Sayonara 👋 boss
I will miss you so much on this Earth 😢4
Recently i had to interview a guy with 10 years of frontend experience for a react developer role
Me : Do you know what ecmascript is ?
Him : Yes
Me : Which version would you prefer to use and why ?
Me : (totally confused) 😶
Me : (Trying hard to not "react") Ok.
How would you "react" to this ?31
Dev: Your PR only addresses a quarter of the ticket
Dev2: *limps a commit so that now 1/2 of the ticket is addressed and creates a new PR for a separate ticket*
Dev: Your original PR only addresses half of the ticket
Dev2: *limps a commit so that now 3/4 of the ticket is addressed and creates a new PR for ANOTHER new ticket*
Dev: Your original PR only addresses 3/4 of the ticket
Dev2: *limps a commit so that now all of the ticket is addressed but two new bugs are introduced and creates a new PR for ANOTHER new ticket*
Dev: Your original PR introduces 2 new bugs
Dev2: *limps a commit addressing one of the two new bugs and creates a new PR for ANOTHER new ticket*
Dev: Your original PR still has one bu—
Manager: WOW GOOD JOB DEV2 THAT’S 5 PRs TODAY AMAZING! Dev you need to pickup the pace, you only have 2 PRs so far today. And get these PRs from Dev2 QA’d fast. He’s a rockstar!
*The 4 other PRs turned out to be equally dogshit*
Manager: Hey hurry up with QA, you’re holding Dev2 back!
Do you agree to this rule given by my company ?
"Employees are not allowed to create any sort of library for any language after or during working hours, whether for personal or company projects. As they might somehow expose companies code to the open-source world."
Personally, I created quite much (not that much) of library , I created for fun, today I was told to delete ALL , so those who use my package , Im sorry :(74
I've resigned 3 weeks ago. I have also completed my handover process.
Yesterday I was told that I have to work in the weekend and at night because project delivery date is the following week.
Kindly I responded that I have resigned and working on weekends and late nights won't benefit me in anyway now actually I wasn't benefiting from working on weekends and late nights even before my resignation.
Project manager is pissed off at me.
Oh well, it is what it is 🤷8
Corporate IT: YOU MUST COME INTO THE OFFICE. WE JUST RECEIVED AN URGENT NOTIFICATION FROM APPLE OF A SECURITY VULNERABILITY IN iOS DEVICES. YOU HAVE BEEN IDENTIFIED AS HAVING A MAC ASSET. COME INTO THE OFFICE IMMEDIATELY AND UPDATE IT.
Dev: I don’t use that mac, it sits in my office desk drawer unplugged. I’ll update it if I ever need it for anything. Which I won’t, we don’t do iOS dev anymore.
Corporate IT: NOOOOO!!! YOU MUST UPDATE IT NOW!!!
Dev: I’m not wasting time driving into the office this week. We have an important deadline we’re working on, I can’t afford to lose 2 hours to this. Plus it can’t be turned on right now, It’s been unplugged for 2 years.
Corporate IT: THAT WOULDN’T STOP A HACKER!!
So HR invited us to a mandatory hour long talk on why rest and relaxation is important for work efficiency.
On a Saturday.
You can’t make this shit up.15
So I told my wife one week ago: "Yeah, you should totally learn to code as well!"
Yesterday a package arrived, containing a really beautiful hardcover book bound in leather, with a gold foil image of a snake debossed into the cover, with the text "In the face of ambiguity -- Refuse the temptation to guess" on it.
Well, OK, that's weird.
My wife snatches it and says: "I had that custom made by a book binder". I flip through it. It contains the Python 3.9 language reference, and the PEP 8 styleguide.
While I usually dislike paper dev books because they become outdated over time, I'm perplexed by this one, because of how much effort and craftsmanship went in to it. I'm even a little jealous.
So, this morning I was putting dishes into the dishwasher, and she says: "Please let me do that". I ask: "Am I doing anything wrong?"
Wife responds: "Well, it's not necessarily wrong, I mean, it works, doesn't it? But your methods aren't very pythonic. Your conventions aren't elegant at all". I don't think I've heard anyone say the word "pythonic" to me in over a decade.
And just now my wife was looking over my shoulder as I was debugging some lower level Rust code filled with network buffers and hex literals, and she says: "Pffffff unbelievable, I thought you were a senior developer. That code is really bad, there are way too many abbreviated things. Readability counts! I bet if you used Python, your code would actually work!"
I think I might have released something really evil upon the world.29
10 most useful API for developers
Fuck Avahi, fuck Aruba AirGroup, fuck Bonjour and fuck "zeroconf" networking. I spent all day configuring it.12
Help, how can I use $90 of credit on digital ocean in 20 days, for something useful enough i might decide to keep it after the credit runs out
right now all i got on there is a cheap webserver droplet that's $5 a month5
Mom: why haven't you been doing your computer science homework at home ?
Me : because you won't let me have a computer and I can't run the software I need on my school iPad
Mom: bull shit you can run it that iPad can do anything that you can do on a computer
Me : no you can't that's not even...*mom cuts me off*
Mom : don't talk back to me you just don't wanna do your homework
Mom: all computers are the same they just have different names
Me : that's not even true in the slightest... *gets cut off again*
Mom: shut up and do your damn homework
React Native testing is hair pulling.
Every test needs to have 100 different mocks in place and there are: 3 different methods to mock a function (mock, mockImplementation, and fn), 3 different types of query methods to get elements (get, find, and query), and 5 different selectors to query on (accessibility label, testId, accessibility hint, accessibility value, etc.)
And after reading all this, being diligent and learning the difference between stupid, synonymously-named functions which have wildly different side effects like "getByA11yHint" and "findByA11yHint" (ugh...), after all that, you write out a test with all the appropriate mocks and you want to do something simple and it beats you up all over again.
Button enabled or button disabled. Simple right? Logically the former is "expect(elem).toBeEnabled()" and the latter is "expect(elem).not.toBeEnabled()", right?
Wrong! You're an imbecile. Your tests will fail and never tell you that ".not.toBeEnabled()" and ".toBeDisabled()" don't do the same thing even though they look and sound exactly the same. Only the latter will work. The former makes all your tests fail. Where is this written in the docs? Nowhere?! Great!
My Girlfriend broke with me today.
We was in this relationship from two years now. we was doing very good, our relationship was not toxic, no fights, no bad words, zero problems.
One month ago she goes to travel with her evangelical aunt to the beach. Her aunt have lot of money she gets from scamming all that believers. I was happy for my ex-gf because here in out city she was having lot of problems of health, mainly because she was not very mind stable and that degraded her health.
When she goes, her physical and mental health improve a lot. i was happy she is stable now. Her aunt have some Church around the city they go, aunt started to bring her very often to the church. She started to strongly reinforce they God beliefs.
Of course im atheist, she know that from very long time ago. But of course when she started to be more devoted, feels dont fit with me. I refuse to change my mindset about that topic.
Today she says we must broke because im not a believer. This was the most painful experience in my life. I fall in cry for three hours. I truly love her. I recently wakeup and decide to write this rant. I dont have too much friends to talk apart from her. So i wish to share this here.
Im unemployed, she was my only support all this job hunting times. Now she was gone and im alone, this hurts a lot.
Im trying to dont fall deep af, to non return path.
Fuck religion. and her fanatic aunt.33
My classmate is a real SAVAGE!!
He (team leader) and his team participated in hackathons several times and kept losing.
He noticed something common about winning team, majority of those team members were women, even if they were non technical and their project was pure bs, they were winning in the name of women empowerment.
This time he came out with a plan, he fired his boys and invited women into his team, and even made one girl the team leader.
Result? HE WON!!!
NOT ONE BUT THREE HACKATHONS BACK TO BACK
His so called women team was invited by Google to pitch their startup idea.
Now, if they gets funding, he's gonna kick out these women and bring back his teammates32
"How am I supposed to use this API? Do you expect the client to open that black thing [terminal and curl]? Why doesn't it work in the browser with clicking?"
- Apparently, I do frontend now.7
the air conditioning where the servers are located stopped working ... the general management sent us a fan12
So I cracked prime factorization. For real.
I can factor a 1024 bit product in 11hours on an i3.
No GPU acceleration, no massive memory overhead. Probably a lot faster with parallel computation on a better cpu, or even on a gpu.
4096 bits in 97-98 hours.
Verifiable. Not shitting you. My hearts beating out of my fucking chest. Maybe it was an act of god, I don't know, but it works.
What should I do with it?248