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, StackExchange has renamed Luigi Mangione's profile. Not a complete removal as of yet, it seems.
So if I am even accused of a crime, they're gonna remove my scientific publications and contributions?
Like idgaf about the guy, but how's this not censorship? How's this any better than burning certain books? (I'm going out on a limb here, but you get the idea)10 -
There’s a guy at work I hate so much. He doesn’t know when a problem shouldn’t exist, he never checks to see if there is a better more maintainable and efficient way to solve a problem, lacks attention to detail, has the attention span of a goldfish, writes shitty overly complicated code, fuuuck
If you talked to this guy in person, you’d think he’s a genius who has it all figured out, but he’s just a professional bullshitter14 -
> Press "Push" button in the IDE.
IDE: ❌ Error 😩 Unable to push branch 'dev' to origin
* Ugh. *
> Open console. Type "git push".
Console: All deltas resolved, chief. 🫡 dev -> dev
Why. Another day, another experience to prefer the command line.2 -
Android Studio has been the bane of my life for at least the last decade. I hate it beyond description and have given up hope that it will ever improve.
I suffer more than most with it because I am cursed to use C++ on a daily basis, and it has long been obvious that the Google people absolutely do not give a fuck about C++ users.
I get that C++ is niche, a drop in the ocean of Java/Kotlin-centric users, but for the love of god could you Google people at least stop making it worse?
Code navigation is insanely slow. Entire minutes for it to find the right header file to open. "Find usages..." oh my god oh my god oh my god just fucking kill me now. There is no excuse for software ever being this slow.
And thats just doing basic source editing. The build system - cmake and ndkbuild - also defy adequate description. The gradle plugins are constantly going out of date and are often incompatible with whatever gradle version you have. You get no help at all when editing a gradle build file and good luck finding the right documentation.
It's all a giant stinking mess and I wish the whole damn thing would be dragged outside and shot.12 -
Could the all of the Tencent cloud kindly please fuck off back to China?
Those assholes don't even publish their IP ranges so one could easily block their ass.
Had to rely on external tools and hunt down all of their different ASNs to finally block them from overloading a client's webapp...
Ugh, I need a beer.6 -
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 -
I'll keep on going about my vacation.
Went down the piste from where I took the picture, usually takes half an hour on average, I took less than 15 minutes.
I'm a tiny bit proud of myself :)14 -
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 -
depending on where you are and when you read it should be ok but anyway happy new year from here =]1
-
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 -
By the time you get to need to learn Kubernetes, people are usually too far deep in their engineering careers and already have this 'not even more shit' fatigue.4
-
How do you motivate yourselves to work on side projects? like I just wanna sit on my ass play video games
I wish I knew how I can convert my motivation to game to study better or work on side projects but I don't have the secret recipe.23 -
I've spent like 2 days on this semi-toy project, for which I would have been paid generously had I chosen to work for a client instead. This pleasure cost me hundreds of €s not earned. But it feels ssooooo good to code smth just for pleasure.
Totally worth it!25