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
-
So, one day I get up, and just happened to offhandedly predict that a holy war would be fought on this very site, by mighty botlords, with weaponized updoots as the deciding factor of every battle.
The lesson would then be that, maybe, just maybe, I should've shut the fuck up instead, as most of it has come to pass.
Anyway, the last part of the prediction was hexical pulling the plug on this site as the war escalated, so fingers crossed, but if a nuke hits the server I call dibs on the ever loving supreme 'I told you so'.5 -
Got any git tips that everyone might not be aware of?
My tip is fixup and autosquash!
If I'm working in a branch with many commits and I notice that 5 commits ago I made a tiny mistake on commit 'abc123' then I'll just do `git commit --fixup abc123`.
It's similar to `--amend` but you can do it for any commit.
At first this would be a separate commit. But next time I wanna rebase I'd just do `git rebase -i --autosquash origin/master` and it'll be squashed into abc123
Some article that explains further details:
* https://gist.github.com/naviat/...
* https://blog.sebastian-daschner.com/...
After discovering I had been unaware of this for years I figure there must be other similar useful git things I might be unaware of2 -
We're living in a time where retoor and Buffon are fighting each other with bots.
Truly one of the moments of all time.16 -
it's crazy how every week every damned app needs to update
it's like just why
I'm sure your button 3 pixels to the left isn't that important
all these poor auto-updaters running all the time
imagine the carbon we're arbitrarily making like alchemists out of thin air! if only we used this great power to transmutate lead into gold7 -
1. Leave big company of 1.5y for new job in different country
2. New company tries getting me a visa for 2 months and fails
3. Puts bogus blame on me and ends contract 2 weeks before my "temporary visa" expires coz their incompetent HR couldn't get the documents right.
Fuckers didn't have ONE COMPLAINT against me so UNASSIGNED me from COMPLETED Jira tickets to ruin my OKR stats just to build grounds for this (since last week)
And when I protested, blamed some automation but DIDNT change the spreadsheet. (should've rung some bells for me, but naïve me believed their reasoning)
Big company meeting last week. Engineering Lead put a slide just about me coz my fixes brought a 20-FUCKIN-X performance improvement.
He said "oh I put a slide about [me], I dont see it", HR who was in-charge of compiling the slides said "Oh you sent the slide too late so we didnt put it".
I shrugged it back then thinking oh well but in hind-sight Fuckers went OUT OF THEIR WAY to bury anything I did to build grounds for termination coz THEY couldn't get the visa.
kill me.5 -
Fuck, two power outages in three hours.
Good thing bars are open now, so might just go there so I can get something done.7 -
what I want is for AI to spot logical inconsistencies in my code and debug it
specifically a complex multi threaded form...
raaghhh
stupid tokio having no damned mutex debug tools2 -
There needs to be some sort of enforcement about who can write code. JK,
but seriously, the current dev wannabes and influencers on sh-t-witter and linkedin are literal cancer.
A dude will make a post about how to "scale" a system, yet they have no grasp of the most basic fundamentals. They have no idea what a CDN is, they think you can just store blobs and be done with it. Like, bro, are you going to be serving a 10MB image from the DB every single time it's requested? How WILL that scale? How will low bandwith users be served? Oh, yeah right, I forgot that everyone in the world has 1Gbps internet from NASA.
They think serverless will take care of it.
BUT HOW? No wonder "serverless" companies like Vercel are making bank out of idiots who can't manage to spin up a decent VPS that would take care of 99% of usecases.
Granted, most copy paste regurgitated AI slop from chatgpt but still.
It's so infuriating. There used to be a decent Twitter dev community, but not it's just AI shills, crypto bros and script kiddies all pretending to write code.
It's time I stopped using that site.
Also probably a sign I should quit this industry. Getting tired of it to be honest.
Don't see myself still writing code in 3 years.11 -
Unpopular opinion: given your server has enough entropy, UUID v4 is a good session token.
It allocates 122 bits for the randomly generated part. OWASP recommends session tokens to contain at least 64 bits of entropy while being at least 16 hexadecimal characters long.19 -
Disclaimer: This joke will be lost in translation but I can't help but make it
In my country, you can use the phrase "it's not beans" to describe something difficult eg "that ielts exam no be beans". Given my recent woes with spring boot, I can also say "spring webflux no be beans". But it's funny to me because the framework calls objects bound to the container "beans" so it's a nerdy, don't leave me joke5 -
Why is spaces the de-facto over tabs? Tabs seems better in every way including the fact you can make them any width you want...29
-
Working on creating an asyncio UDP server/client. Going to have it talk to another server/client. Why? Because I don't want there to be a round trip to my data. I want send and forget.
So I created a combo server/client in C++. I am testing out the client and I find that it connects and sends data with zero errors as a client even if there is no endpoint (server) active. Okay, well its connection-less so it kinda makes sense. So I am not even sure what connection means at this point. I figured it was sending data into the ether. Fine, I don't have to worry about dropped endpoints or some shit. The server does see messages once it creates itself (tested with Python server). Not old messages, just the ones currently being sent.
So I do the same thing in Python and use asyncio to create server/client with opposite ports to talk to my C++ server/client. However, if C++ server doesn't exist the Python client throws an error. Okay, wtf... So Python UDP client is gonna be extra steps because why? Because fuck you! That's why! lol
UDP Client Comparison:
C++: I don't give a shit, if you don't get the data then fuck off. I won't error no matter what.
Python: Oh shit, there is no server, so I won't even run. Because fuck you and wanting to send messages to the ether.
Now I need to do the same thing in C# and see what kind of "fuck you's" it will have.
What did I learn? I learned Python has a nice asyncio system similar to asio from boost.11 -
Just remembered this in a TES forum. So you get to remember or enjoy for yourself:
https://hezer.naraku.org/sekalaista...1 -
Yearly angular rant.
I am doing since 2023
https://devrant.com/rants/10263715/...
and yep, angular is still shit in 2025
And still maintaining a high level, business critical, giant angular set of web portals, and some more projects with an angular UI that has to do with AI projects.
Of course not my choice, I'm forced to use this pile of steaming shit.
Year by year they keep releasing a new version and I always hope they get their shit togheter.
Every year is worse.
Instead of fixing this half-baked, ill-fated, broken clot of hacks rigged togheter, they keep adding cosmetic shit and useless no-one-asked ever features.
They added signals when there are not 1, but 2 mature, battle-tested frameworks (rxjs, ngrx) that already do it better.
They added @if @else etc etc. syntax after 10 years people were telling them that using that shit *ngIf and ng-container and templates was a shitty hot mess.
The whole change detection system is still the worst, clunky designed, cake of shit, requiring for real world applications to juggle with change detection services, change detection policies and control value accessors, which basically forces you to reinvent the most complicated wheel ever for what a ton of other frameworks already do out of the box without getting you bald from hair-pulling late-night hours.
Even AI can't fathom it. Give it to Copilot, GPT, Claude or whatever, and as soon as you get something more complicated than a form that sends a class to the backend or some mapping classes they will flip up, get all worked up and write completely utter shit that doesn't work.
I won't get into the projects details but I had to build some complicated UI and it has baffled me what fucking triple backflips I had to write to make some UI elements work smooth.
Jesus, why the fuck people keeps unleashing this pile of shit on me?
Why is it even used? There are a TON of healtier alternatives.
As of 2025, my christmas wish is still to have an 1v1 with angular devs in an octagon to shove my fist in their skull to check out what kind of twisted donkey shit is in there.
Seriously some improductive dumbass framework here, and if you like it, you're a shit programmer.16 -
Need help from fellow devs.
It's been at least 3-4 years and it's getting worse.
I keep being demotivated, forgetful, inconclusive and not on point with code. (Yeah I know, I rant about angular, but that's a 10 years hate).
Today I'm supposed to do some table component that has pagination, buttons and shit in angular (yeah.... from scratch, they want to design the whole thing from 0) and I'm getting all confused by managing pagination, input to angular components, and all the simple stuff that I'VE DONE COUNTLESS TIMES.
I keep forgetting details, small meetups (under 20 mins) where we discuss lot of small details of implementation and I loose a lot of the details, forget a lot of stuff and have an hard time to put all the info togheter in a meaningful group of informations to have all the information available in an usable way at the moment of developing code.
Often I get rage outbursts because I don't understand things like before and I have to read and write down every fucking thing.
Often I get discouraged because I get lost in the details of big projects.
I have a lot of experience and that's what keeps me afloat.
I got panick attacks for small things and I never had panick attacks.
I feel I would need to stay away at all from programming for 2 months to have some passion back in it.
My mind is exhausted.
Some new brilliant colleagues joined the company and so I feel compelled to compete
and it works solely thanks to my superior experience.
I feel like a total dumbass and mentally challenged now.
Is it burnout? is it depression? What is it?9