Details
Joined devRant on 12/22/2021
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
-
Am I going crazy or is the web dev community on some otherworldly drug?
Now "server-side"-whatever is the coolest thing ever?
To the point where client side validation is not recommended anymore and actively discouraged? Are you kidding me? So, you mean to say after filling a long form with millions of fields, the page will RELOAD when I press submit and after waiting an eternity for your shitty server to respond then and only then will I know what fields are invalid?
GTFO with that bullshit.
How in the world is that good UX/UI?
I've always had this theory that we humans are the dumbest species to ever walk this earth. I mean, serisouly, how is this even a thing?
Imagine if a mobile app had to restart to tell you that your email is invalid in a simple form.
But.. but... but... what if the client has disabled javascript? Then fuck them! Who the fuck cares? What's next? Some dumb user is still using Android 2.1 Eclair and we should make our app support them? Fuck no! Fuck them, they should update.
Newsflash, if Javascript is disabled, then pretty much everything will be broken anyway.
Form validation should be instantenous. This isn't rocket science.
It should happen as the user types so they can see what's valid/invalid in real-time.
This does require effort and consideration, something many devs lack apparently.
This is just ridiculous.38 -
Procastinator's tricks to be productive: Schedule messages
I hate to write people. They could answer. My whole plan might be thrown off. But when is the best time to answer them? The day after tomorrow? Too late. Tomorrow. Around 10? Thank you to all messengers that allow me to schedule a message. Instead of procrastinating, I answer, I schedule, and if I am in a bad mood, I later come back and abort and rewrite the message nicer.
Went perfectly swimmingly with my happy new year messages. Everyone got them at 00:00. Yes my friend, you're obviously the most important thing in my life, first thing I did was writing you!4 -
Fucking finally got xkb and xcb to work after hours of bullshit
Why is it so fucking hard getting a damn keyboard layout on linux 😭11 -
> 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 -
You know how you can tell that a product is well designed, intutive, and user friendly?
If they have an accompanying e-learning platform with thousands and thousands of videos and even more pages of documentation, of course!
From the people who created SQL, comes something that somehow does pretty much the same thing, but is harder to use and easier to gate features behind paywalls! Fuck yeah!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 -
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 -
Got my dad to try Fruity Loops so that he can compose with his Tyros 3 keyboard on the computer. If he likes it, I will buy producer edition (that one can also record, that's why) for his bday soon. For Christmas I already ordered midi to USB cable for him. Finally I know what to give to someone who already has everything. He needs stuff for his stuff :p
It will be much fun experimenting together with it. My dad can go very hard on new things, he always becomes a pro in it.
I hope it will be just as nice as the time we spent together on Autocad. He later even made Autocad exams for schools.
He learned me how to install windows 3.11 as very little kiddo.
I like my dad doing computer stuff. It's the moment we really bond.3 -
If I hear ONE MORE time "ChatGPT is like Google but better/smarter" I WILL choke a motherfucker to DEATH39
-
How do I increase my communication?
I feel more confident and less anxious now thanks to exercising more, so it's easier to talk to people.
But I'm told not talking to people, just coming in doing your work and leaving is bad by my boss.
I'm not sure how I can just approach people and talk shit. I guess I have to start with lunch. How do I find people to each lunch with?11 -
Was fucking around today and found out you can get yourself a 6 axis DIY robot arm for ~500$. Which on itself is kinda neat. But what really blew me away is that their documentation is nowhere near as horseshit as i expected from usual projects you recreate. Hava spin on it for yourself:
https://arctosrobotics.com/assembly...1 -
I'm sorry little unused tuple, I know you want to show who you are but if I let you, nothing will be orthogonal and you know that daddy just can't have that. Hey, at least I didn't disintegrate you like bad Mr.Black does everytime I look away, so heads up alright? :)7
-
Any Microsoft employees who work on SharePoint here? DROP AND GIMME 20!
OMG, you need some blood to run into that walnut sized brain you have on top of your head.
This thing is such a piece of shit. While I subscribe to Chaos Theory, you are not suppose to implement it in a god damn user interface!
This fucking thing sometimes shows controls, sometimes does not. Sometimes some features are available on a section when you access it one way, and then accessing it a different way removes some capabilities from the menus and adds others.
While I subscribe to the theory that there is no such thing as "random" in the universe, this piece of 🐒💩 makes me start to doubt reality. It is not software, it is cochroach infested gaslightware.
God damn you microsoft fuckers piss me off with your ShitPot web hackware.1 -
Cognito is the dumbest piece of crap ever known to man. Markets itself as a great & easy auth solution to dumbass CTOs who then force the devs to implement it.
I spent a week or so trying to figure out why my token expires immediately after logging in only to find out that they issued me a token that is already revoked.
WHAT THE ACTUAL FUCK COGNITO???? -
I plainly told the manager responsible for programming that we all use web extensions and there's just no way to effectively prevent programmers from running whatever software they deem necessary, so I'm suggesting to allow them in Windows group policy purely as a matter of efficiency.
It has only just occurred me how much I'm relying on his better judgment not to try and crack down on this.
Wish me and my team luck.rant web extensions organizational blind spots extremely neurotypical behaviour dark reader ublock origin27 -
I'm gonna scream the next time I hear a newscaster or some podcaster or some other bloke try to explain "what AI is" by giving some half assed word salad describing (a child's perception of) neural networks.
Fuck, back when the internal combustion engine was invented, did the newsies and radio hosts explained the concept of "explosion" every time they were to talk about engines?3 -
If Indian scammers only had a tiny bit of patience with customers (victims), and practiced English accents, they'd become millionaires so easily.37
-
End of the year. Management announced that the project that our team has been working in for more than 4 years, will be killed.
Shit.13 -
Our biggest competitor has just been hacked. All their sensitive data, including passwords and client data, has been compromised.
It is not yet in the news, but someone forwarded their internal communication to us. :D
(fixed mistranslation)10 -
Microsoft. Ah, microsoft. That excellent company that made Windows. Ah, Windows, that excellent OS that it's team made WinAPI. Ah WinAPI. That excellent API that has WinMain. Ah W- FUCK WINMAIN IT RUINS EVERY PROJECT SERIOUSLY WINMAIN WINAPI GO FUCK URSELF HEY WINDOWS TEAM REFACTOR RECODE OR WATHEVER YOUR API AHHH14
-
Happy sint niklass and fuck that whipping guy.
Also I would like to thanks my haters @tosensei and that american dude, their constant feedbacks really helped me to grow as a person <3
Anyway I'm kindof happy. Have you recieved a lotof candies?3 -
I've probably suggested this before, but people who introduce arbitrary factors of 100 into calculations for no good reason should have their genitals removed with a wooden spoon.
And if they don't make it clear that they've introduced a factor of 100, then the removed genitals should be pyrotechnically reinserted into them.6 -
My work week will be pumped from 38 hours to 40 hours per week but the pay remains the same...
And holidays are adjusted from unlimited PTO to 32 days8