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
Feed
All
Post Types
- Rants
- Jokes/Memes
- Questions
- Collabs
- devRant
- Random
- Undefined
Cancel
All
-
best practice in java is to mark classes as final (effective java book)
final classes cannot be mocked by Mockito
if only I was good at programming and writing higher level integration or acceptance tests to circumvent this9 -
Oh the irony. I gotta ask a JS question here...
How come I can't do this?
<button type="button" id="idGetData1" onclick="{async()=>{ await get_data();}}">getDataFromWebserver</button>
But I have to do this?
document.getElementById("idGetData1").onclick=async() => {
await get_data();
};
Why the extra steps and need to run in onload?
Playing around with fetch instead of XMLHttpRequest for testing an embedded board.13 -
Took a chance at telling my bosses how burned out I am and had a really great discussion with them.
Turns out they want me to lead the front end team, because I'm good at it and can make them do higher quality work. Agreed with me that there's something wrong with the code if you have to use a different IDE lmao.
And I can use my 30+ days of sick leave (which I've never used because I don't get sick) to take time off when I need to. Burn out is a disease.
Not all bosses are shitty.6 -
Managers decided that the support contract with one of our most important third party servers is not worth the money.
Take a guess which server caused an outage for all customers twice already :D2 -
Is there a server-oriented Linux system that is more secure than Ubuntu Pro? With its 24-hour unattended vulnerability patches, I doubt anything free beats it. Btw it’s free for personal use6
-
Was over at some friends last night. Their 3 year old was playing with a toy that I 3D printed for her first birthday.
Good feeling, day made9 -
Why did this world have to curse use with bootstrap 2.0, sorry I mean tailwind fucking piece of shit v4 upgrade shenanigans MF <hr>s aren't changing colour5
-
Retoor's recent bot army fiasco is why we don't put AI in charge of anything. It wasn't a bug in her code, it was her AI misinterpreting her prompts while having access to the data bots act upon. Essentially, retoor's AI added a lot of legitimate users to the list of spammers, and the issue was in prompting, not in code.10
-
I realized that I am old enough now that the first answer to "name a toy adults use in the bedroom" that comes to mind is: Kindle5
-
Funny, the president of the European commission, the old ministry of defense of Germany, is indicted for a corruption affair, she received below-the-table payment from the weapons industry.
She's also the one saying we should go to war with Russia.
How can you be that dumb12 -
My manager is complaining I'm committing broken, incomplete stuff.
Before my manager was complaining I didn't commit enough.
My manager is an asshole.10 -
New guy gets a task: "Add a thing to the thing". One liner. Simple enough.
Commits code written by chatGPT to an unrelated branch, proudly screenshots the resulting screen and posts to work chat - "My first task!! What is next?"
I don't think I want to work in this field anymore.6 -
@dfox @trogus please update the native android apk on playstore to android 15/16 . it isn't showing in playstore anymore and downloading from unsafe sources feels like a security risk7
-
Looking into getting into freelancing on Fiverr.
Anyone else here doing that? I have a question on how do you design a gig, as in how you define the scope of what you do, and the pricing, and delivery time...
I have many development skills, including full stack webdev, but I can't communicate to a customer what specific kinds of "deliverables" I can provide, and, as mentioned, for how much and in how much time, in the terms that the gig creation menu asks you.
I wish there was an option like "I have these and these skills, I can help with your general software needs".4