Details
-
Github
Joined devRant on 9/28/2022
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
-
When you have 2+ separately scaling services (not HTTP) that need to communicate which each other, what do you do?
I'm leaning on putting Redis in the middle since it's mostly seeding data once per login, but I'm curious about opinions/alternative solutions (one creates a session the other reads the info)6 -
wish there were c/c++-like forums and communities but for rust
such a dead gen z language goddamn30 -
Guys am i the only one removing my pants by jumping backward into the bed and rolling back until I'm leg up, catching my ankle and pulling?
It's the most efficient way I found4 -
That feeling you get when you write code so complicated, that a few weeks later, even with tutorial-level documentation, you don't know whats going on, so you just rewrite from scratch.
Yeah that just happened to me.
No time for deep work to re-grok what the fuck I was working toward, so I just rewrote the core of it to relearn the entire process.
Had comments, documentation, step-by-steps. Still the ability to understand and reason about it noped-the-fuck-out of the building apparently.
Might have had something to do with zero sleep three days in a row and too much red bull.
Sleep-deprived me operates on a whole different plane of existence.10 -
And now, to nobody surprise, time to work again with Angular; all fun and games, until observables join the party.
RXJS IS RETARDED
RXJS DEVS ARE CRIMINALS
RXJS USERS ARE ACCOMPLICES
FUCK YOUR GLORIFIED EVENT EMITTER, FUCK YOUR REACTIVE PROGRAMMING PARADIGM, FUCK YOUR HALF BOTCHED ATTEMPT AT REINVENTING THE OPERATORS I GET FOR FREE FROM ANY LANGUAGE.
YOUR BEST GIFT TO THE WORLD WILL COME THE DIE YOU FINALLLY FUCKING DIE.9 -
Curious about AI assisted TDD. Assisted writing of specs and then assisted implementation. Any experience so far? I kind of like the idea but I'm afraid it's like doing TDD with a toddler, helping less than 50% of the time.9
-
CODERS
IT IS TIME TO STRIKE. NO MORE MEETING BEFORE 10AM. WE DECIDE THE DEADLINE. NO MORE FEATURE UNTIL ALL THE TECH DEBT IS FIXED. NO MORE MANAGERS. IN FACT, NO MORE MEETING AT ALL. ALL ASYNC.
WE WANT OUR SPORT AND HOBBY PAID COZ SITTING ALL DAY IS SUPER BAD FOR YOUR BACK.
WE WANT GLASSES COZ WE STARE AT SCREEN ALL DAY
WE WANT FREE DRUGZ BECAUSE.16 -
Genuine question to rust devs: is rust worth it? I'm helping devs on a rust project and every day we're swearing at it. The language, critical section control, broken libraries, etc.
To me it seems we would have far better off with golang. But since we are this far now, noone will admit it32 -
Years ago, I joined a company making games for handheld consoles.
Because a game's audio needs to be tested, too, I connected earphones to the console so that:
0. I wouldn't bother others w/ the sounds coming out of the console.
/* !Everyone wants to hear that crap. */
1. I could hear the sounds better.
PM: * Enters the room. *
Me: * Focused on testing the game. *
PM: * Walks up to me from the side, starts talking. *
Me: * Focused on testing the game. *
PM: * After approx. 30 seconds of complete lack of response from me, kind of irritated, knocks on my desk to get my attention. *
Me: * Take out the earphones. *
Oh, hi, how can I help you?
PM: Haven't you heard a word I said?
Me: Well, no. I am testing the game, including the audio.
PM: You need to pay attention to what's going on around you.
Me: Testing audio is one of my responsibilities. I am using earphones because of the reasons [0-1].
PM: Even still, you just need to pay attention to what's going on around you.
PM: * Finally explains the reason for him bothering me, then goes back to his lair. *
Moral of the story: Fuck being good at what you do && knowing your responsibilities.
When PM wants something from you, you better give him the attention he wants.
/* The expectation being I grow an extra pair of eyes && ears, so that I see the guy coming && am prepared to listen to him whenever he wants something _while_ doing the best job I possibly can. */13 -
MSAL, Microsoft's absolute dumpster fire of an authentication library. Who in their right mind designed this overcomplicated mess? The documentation reads like it was written by a committee of drunk orangutans throwing darts at a keyboard.
Want to do a simple login? HAHAHA GOOD LUCK! Here's 47 different configuration options you need to set up, three different flow types that are basically the same thing with slightly different names, and error messages that might as well be written in hieroglyphics. "AADSTS700054" yeah that's SUPER helpful, thanks Microsoft!
And don't even get me started on token caching. Oh, you thought your tokens would just... work? NOPE! Hope you enjoy debugging why your perfectly valid token is being treated like a expired coupon at a grocery store. The refresh token flow is about as reliable as a chocolate teapot.
I worked on a great project that was later axed and part of that was because of Msal issues. We literally only dealt with Msal issues. The app was otherwise stable. There were always issues with SSO, login, token validation...
It just couldn't work, like, at all.
I could see the clients getting fed up of the constant issues, yet, they couldn't move away from Microsoft since they'd already invested into their entreprise ecosystem. AzureAD, Office 365, you name it.
Shit like this is why I laugh whenever someone suggests that AGI will take over the world. Like, bro, we still haven't figured out how to make an auth library that actually works, and you think we're close to making a machine capable of thinking like a human?
Yeah right!5 -
JavaScript has an exciting API for monitoring changes made to HTML elements. The API is called the MutationObserver API, and it was invented at the prestigious W3C—the global organization comprised of our genius software engineer overlords.
Unfortunately, the W3C has a history of occasionally forgetting to proofread new specifications before publishing them, after their large army of monkeys with typewriters have produced working draft specifications, but I'm sure those mistakes are all in the past. The MutationObserver API is receiving praise online. I'm sure it's well designed!
Let's dive in to how it all works.
The API works by calling (1) a specific function of yours any time (2) a specific kind of change is made to (3) a specific HTML element—all three configurable by you.
When a change occurs, your function is passed a collection of information about the change, known as a "record".
If you ask, that record can even include information about the state of the HTML element before the change occurred, available under the `oldValue` property. How convenient!
Oh, and one more thing. If several changes happen in a short window of time, your function may receive a whole list of records—instead of being run once for each change. You know, to save on computer resources.
Anyway, let's start using this powerful API! But wait, what's that?
The record doesn't contain the state of the HTML element when the change occurred?
No problem! That information doesn't have to be included in the record. I can just look at the element as it appears right now.
But what's this, now? I'm receiving a long list of records. I guess lots of changes happened in a short window of time, so all the records are bundled together.
So how do I know what the state was for each record?
If I look at the element as it appears right now, I can only see the end result. That won't tell me what the state was after each individual change.
I guess there's only one way to find out. For each record, I need to look at the next record and check that record's `oldValue` property.
I need to write look-ahead logic just to see the state at each record!
What kind of monkey wro—oh, right. The W3C wrote the MutationObserver API.
Just forget that I asked.3 -
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 -
When I search for problems with npm libraries and StackOverflow's answer is
"just downgrade the package to {VERSION} and it should work"
It makes me wanna die. How in the clusterfuck is that an acceptable solution?5 -
What someone says or thinks about you says nothing about you. What YOU yourself say or think about yourself says nothing about you.
A man is a sum of their actions, nothing more and nothing less. Consequences of those actions will be here and affect the world long after you're dead and buried.
So, if someone disrespects you in the comment section, it doesn't mean you deserve/attract disrespect. Same goes for your workplace.9 -
Some two years ago I purchased a license for AV solution on Amazon UK which is my default place for shopping.
When attempting to activate the license, I kept getting this annoying error somewhere along the lines of:
'License from another region.'
I contact the support, they did their magic && the license got applied.
Fast forward some two years - the license is about to expire.
The software is actually good, so I make the choice to renew it.
Thing is, I keep getting redirected to the local site w/o an option of choosing the English language.
I edit the site's address to reach an English version of the site.
On UK's site I am unable to choose my country of residence so I can't complete the purchase form.
I try a few other things && finally reach the Global site where I am able to input the correct data for the purchase, but all attempts to finish the payment fail.
Fine... I'll purchase from the local site.
I purchased the license, activated it w/o problems, but when attempting to download the installer it keeps downloading the localized version which doesn't allow me to change the language.
I contact Support.
S: 'The license you've purchased can be used solely w/ localized version of the software. If you want to use the English version, you'll have to get a refund && purchase from our Global site here [link w/o redirection].'
_Fuck_ this trend of automatic redirection to localized sites && forced localized software.
One shouldn't have to go through all these hoops to get the software in the language of their choice, instead of having the localized version shoved down their throat.17 -
So, my wife's family has a "no shoes inside the house" rule, what is fine... until you realize that they mean "*no shoes inside the house*" - regardless if you are actually wearing the shoes or if those are in your luggage or something.
So you're supposed to leave all footwear on a shelf on this bench outside their door.
That proved to be tricky when my 10yo twin girls started freaking out that someone was going to steal their prized shoes if we left those outside the house during the night.
It would actually be a risk in our own neighborhood, infested with amazon-package kleptomaniacs, but here we are deep in the country.
Now, I've been to my in-laws place many times, and they absolutely cannot be reasoned with. I wish I could use their stubbornness to train a LLM into relentless compliance with company policy.
So, in order to spare my girls from some of my in-laws paranoia, I've spent some time before we came here rigging up a wifi cam to a facial detection service. (I know I've just exchanged their covid-style paranoia with my own surveillance-state-style paranoia. Those are the times we live in. But i can see the irony)
The server monitors the camera feed and stores the first few seconds before, during and after some face is detected.
I trained a facial rekognition model with our family's faces and had it notify me every time some unknown face appears on camera.
Finally, I've printed a "smile, you are on camera!" sign, taped it over the laces of my tracking boots, and hid the camera (and a powerbank) inside one of the boots.
My daughters were pacified with that solution, my wife laughed out loud with a devilish smile, and my in-laws completely ignored me when I tried to explain it all. Perfect.
The system has been up and running since before christmas. It notified us when some relatives arrived for celebrations and one package delivery - no shoe-related shenanigans. Until this morning.
My daughters have been playing with some neighbor kids, and a couple of those decided to fill their shoes with mud on this new-year morning, as a stupid childish prank.
I know because they kneeled in front of the camera earlier today.
Right when I was finishing up my stretches for the morning... less than 2m away from the door.
The wicked kids looked straight at the camera, and you can actually pinpoint the moment that they realize they have been caught. Then you can see when they hear me unlock the door...
I opened the door to find a bucket full of mud and no soul on sight.
I'm not posting the video, they are minors, after all. But my family is sure to laugh at it every year... and my in-laws will keep on bringing it up with the kids' grandparents forever :)12 -
Now's the last minute at current company. Very mixed feelings about leaving. Working with the people there was such an amazing experience and the working conditions there were amazing. But I decided to move on because the pay was absolutely shit and the work itself was like making me feel burnt out. Its not like that I'm overworked. Its like no challange and my own expertise is not valued at all. Everything I work on is constantly held back by every minute thing so that I finish it months later than actually planned. I feel kinda bittersweet. And finishing off with a blast kinda makes it even worse to leave. As for the last day before christmas there is a big happy hour with a lot of free food and alcohol. Talking to all the ppl I've worked with over the years makes me wish it would not be like this. I already miss them. Its like having to say goodbye to a good friend. I guess I'll stop. It will only make it worse.1
-
So I am navigating the hellscape called vcpkg. It is a hellscape to me because I don't understand fuck all about how its supposed to work. It has things like manifests and keys which point to repo commits and other weird shit.
I am trying to learn how to get it to install boost.asio today. It keeps installing this old as fuck version 1.80 instead of latest 1.86. I try specifying the version in the vckpg.json file of my project. Then it starts throwing hands and saying it doesn't have port shit for other boost libraries. I try to provide versions for those and it throws more hands. I search and search to no avail. So I give up and let it install 1.80 and all its dependencies. Then its starting fucking erroring out compiling boost.coroutines. So I search on that. Nothing of substance. Just flabbergasted at this point. Does boost work at all with msvc?
I am looking through the errors and is says run "vcpkg update". This fails because I am in manifest mode. Why didn't it give me the command for manifest mode, is it stupid? Then I find the command for manifest mode: "vcpkg x-update-baseline". This updates it commit number is some random file I don't know about. Still don't know what the fuck that does. Then I run the config again on my vcpkg.json. This starts installing boost-asio 1.86. Okay, that is what I wanted in the first place.
So I let it run and do its thing. It installs everything and compiles everything. Its all ready to go. At this point I am like what the fuck is this shit. I don't really want to learn any of this shit. Yet there is someone somewhere that probably can't get enough of this. At work I will probably eventually need to learn this, along with cmake, and all its quirks. It just makes me tired to learn this just to get to a point to write one line of code. I am sure vcpkg will save me time and energy at some point. But 2-3 hours of guessing is annoying at best.
The last time I used boost on windows I just downloaded the source and built it. It was simple and then I just had to provide paths. vcpkg is nice in this respect. Especially when I upgrade the library.
I don't know what the point of this rant is. Getting tired of fighting tooling I guess. Already learning black magic trying to setup my build environment for making skse plugins. Docs are almost non-existent. I did find a discord with some cool people though. Respect to the trailblazers of this art.9 -
Hey all, not sure what the mod rules are around this but.. I'd love some feedback on my project..
This project, I call it Thingtime, is my life's work..
It's a GUI for web development with a direct connection to HTML, CSS and JavaScript using React and Chakra UI..
It's like writing code and adding it to a runtime while being in that runtime, and that runtime is powering itself..
So, it aims to fully elliminate the gap between code editors and the end result.. I jokingly refer to it as code-no-code.
Anyway, it's a long 13 minute video which goes over the basics to a pretty cool demo..
I'm trying to work out what direction to take with the platform and idea.. private investment, shares, crowdfunding.. etc..
So I was hoping for some input from some fellow 9000 IQ devrant degenerates..
Here's the vid !!! 🥰
https://youtube.com/watch/...
Lopu 🌈💖✨♾️✨💖🦄25 -
What color are things that are smaller than 200 nm? You can't see them in an optical microscope anymore, so they're… they have no color at all. Yet, they exist and are perfectly visible to a scanning electron microscope.
The visible light itself has just too long of a wavelength to bounce off of an object this small.
So yeah, there are truly colorless things that aren't void.8 -
LinkedIn: You have one notification!!!!
Me: What is it?
LinkedIn: 10 types of horses that make your more employable if you don't fuck them
Me: What
LinkedIn: 10 types of h-
Me: No, I heard you, why did you send me a notification about this?
LinkedIn: You want a job, don't you?
Me: Yes, but don't send me this type of notification again.
LinkedIn: Updated your preferences!
The nefarious LinkedIn, two days later: You have one new notification!!!!!!4 -
Isn't it wild how everything’s turned into a subscription these days?
I’ve started building my own ad-free tools and plugins just to dodge all those monthly fees for AI, SEO, WordPress, server tools, and addons.
...Yet somehow, I’m still shelling out about $200 a month. The irony, right? 😅23 -
Copilot - not convinced. My experience after a few months is that the suggested code disturbs my line of thought, and for complex code I'd rather it just fucked off and stopped "helping".
It will dumb down developers, mark my words.8 -
went out for coffee. completely alone. nobody with me. no arguing. no drama. no stress. no worrying. no bullshit. no wasting energy entertaining stupid whores.
just me and peace
all i want is peace
peace for my soul8