Joined devRant on 3/26/2017
Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
Is apple a fruit? Yes.
Is orange a fruit? Yes.
Is apple an orange? No.
Does apple equal a fruit? No.
Does orange equal a fruit? No.
If you're capable of understanding this, then WHY IS IT IT SO DAMN HARD TO UNDERSTAND 0 == ""?17
Note: I posted this as a comment, but figured it could be a rant on its own.
I absolutely hate what frameworks like Bootstrap did for the web. True, 10 or 20 years ago quick personal / pet project sites looked plain and boring, and only sites with dedicated developers had a nice layout. But what did Bootstrap bring? Those "minimal effort" sites still look boring as fuck, except now they have Bootstrap look & feel. What's even worse is that thanks to Bootstrap, every fucking UI kit is just Bootstrap with more bloat. To further prove my point, if you google "material CSS" you'll find a ton of projects, and except for the official Google projects, they all look & feel like a mutilated incest child of Bootstrap and MD because instead of making their own implementations, everyone just started with Bootstrap. And the same goes for all sorts of templates which look & feel nothing like Bootstrap, but thanks to its shitty influence devs still start with Bootstrap instead of writing clean CSS which does what a template needs without extra bloat.1
Had an interesting application for a web / fs position the other day. Some guy in his 40s sent a CV, along with a bunch of 5+ years old reference letters (recommending him for things like PHP 5.3 and ExtJs 4). A bit outdated but okay.
And then, he put in a list of NPM packages he used. Not just relevant frameworks like Angular & React, or tools like Webpack and Babel. No. A list. Of. NPM. Packages. There were things like UUID there, which is literary a single function!2
Would be a perfect joke if it read "Then it's true" (or maybe "Then it's 22")
Now it's more like the kind of joke your annoying boss would make to "act smart around tech guys"2
Can we ban SO links please? Or at least add something to filter out posts with those links? Not a day goes by without someone copy-pasting their SO questions here, and it's getting fucking annoying.13
ARGH the next person to tell me how X is the best toolchain is getting their fucking head cut off! Holy fucking shit, this is even more annoying than the whole IDE debate. At least with IDEs everyone has a favourite one and they hate others accordingly, with build toolchains there's always a huge group of fucktards sucking each other's dick by adding new features, and they're always too busy wanking their sparkling features for small projects to realise how fucking inefficient their polished dings and dongs are for any bigger job.
For the millionth time, no, we're not switching to this popular toolchain just because it gave you a blowjob with your pet project (although that would indeed be a tempting offer), so stop talking how fast and flexible it is. Until you can show how it compiles a 500 MB project faster than our current setup, I don't give a shit how many people jerk on that nookie.3
Go to fucking hell SO!
Question: "How to do X?"
Answer: "You can solve your particular problem without doing X."
God fucking damnit, yeah some noob tried to use X to solve a completely unrelated problem and thank god somebody pointed out a better solution. But since all other questions about doing X are labelled as duplicates of this question, could you dickheads at least provide an actual answer to the question instead of an answer which only works for that particular problem and has nothing to do with X?3
You know how some kid says "poo" like it's the best joke ever? That's exactly what your shitty "programmer" jokes are like, and we're all fucking tired of them (not to mention we've already heard them countless times).8
God fucking dammit why are people so fucking lazy? A couple months ago I've had the intern refactor and organise this coworker's spaghetti code, and he did an excellent job, added type safety, etc.
I've took special care to explain it to this coworker that I understand he didn't have time to organise code and the intern took care of it, and to please keep it clean from now on.
Today I had to add a small feature to the same codebase, and every single thing that fucktard added from then on was crammed in the same file. And that guy's been here for 5 years already, I thought I don't have to triple check every single line he writes by now...5
God I fucking hate my country! The moment it looks like we've managed to control covid spread by limiting movement between cities / municipalities and banning people from public places, and we may just be able to slowly loosen some restrictions, some fucktard on national TV starts telling people how all those restrictions are unbearable just because they came from the "wrong" political option. And people listen to that idiot more than all doctors telling them to stay safe.
The worst part is we probably wouldn't even limit movement if it didn't become obvious people are hoarding natural attraction / getting injured by extreme sports / inviting friends & relatives over when told to stay at home and avoid public places.32
Don't make your problems too tangible. Abstract them. Sure you need to check which events (given by start & end dates) are happening at a given time. Don't jump in just yet. Think about it. You're searching for intervals given a point. Google that. Read about it. You'll learn something useful instead of just doing an inefficient naive solution. Now that you know it, show off. Find some programming competition and own that!10
Why the fuck open source solutions need to be such a load of bullcrap? I've spent a week trying to set up every single self-hosted video conference software, and the only thing I've got is a shorter lifespan.
How the fuck does your (judging by GitHub, well maintained) software only support Ubuntu 16.04? And I mean ONLY, there's no support for docker, or any other distro either, and we're only weeks from getting the second LTS since 16.04. And why the fuck does documentation tell me to manually go through 20 different config files just to enable SSL?
Why the fuck doesn't your official AWS cloudformation template include VPC or other required parameters? I've had to rewrite the whole thing just to get a valid stack you dipshit!
And how fucking hard is to make your software look decent, I can't expect clients to chat with me using something that looks like an incest child of 2003 MSN and eDonkey?
Oh, and it'd be fucking dandy if your documentation wouldn't return 404, maybe I'd be even able to test what your product has to offer?
I guess after everything I've tried I'll go with Jitsi; it seems the most decent, although it lacks some pretty basic features like limiting chat features for guests.26
Why is it so fucking hard for people to follow basic rules? FFS you're supposed to stay at home to limit contact between people, that doesn't mean you can play volleyball with your friends or go to the local park! And if you decide to go hiking, choose a place where you'll be alone, not the most popular trails around the city! You're the fucking reason government needs to make new quarantine regulations every day, not this virus, and you deserve no help if you catch it! Fuck you!17
I'm so happy to have an electric car in times like these, not only it saves me a whole lot on gas, I can keep using it without the need to visit public places to fill it.6
Studying engineering doesn't make you an expert physicist, and studying medicine doesn't make you an expert virologist. Learn the bloody difference, just because somebody has a degree doesn't mean all they say is true and verified, especially if the don't list their sources or talk about it "exclusively" for one media.2
You may know I love to hate tests. Well not the tests actually, what I hate is the TDD culture.
DBMS schema in my app dictates a key can either have a value, or be omitted - it can't be null, and all queries are written with that in mind (also they're checked compile-time against schema). But tester failed to mock schema validation, inserted a bunch of null keys with mock data, actually wrote assertions to check those keys are null (even though they never should be), and wanted me to add "or null" to my "exists" queries.
No, we don't need more tests, and you're not smart with your "edge cases" argument. DBMS and compiler ensure those null values can never exists in our DB, and they're already well tested by their developers. We need you to stop relying on TDD so much you forget about the practical purpose of the code, and to occasionally break from the whole theoretical independent tests to make sure your testing actually aligns with third-party services some code uses.
And no, we don't need more tests to test your mocks, and tests to test those test, and yo dawg, I heard ...5
"It takes A and B and C and X and ... to make this work on Windows"
What? Nooo really? Making Linux tools work on Windows takes more effort than on Linux? And it must totally be Windows' fault, right?
Pull your head out of the ass already. Running Windows tools on Linux takes just as much effort and just as many extra steps, and the same goes whenever you try to run any software on a system it wasn't made for.18
For fucks sake, just because you don't know anything besides JS, you don't have to constantly complain how it's "so fucked up"!
Yeah there's a lot of frameworks. So what? Python has 50+ wsgi frameworks just for server-side apps, Linux has literary hundreds of desktop environments, C++ has over 30 actively-developed UI frameworks, and let's not even get started on CMSs or game engines. And each language comes with its own dependency management or two, NPM discourages static linking & bundling dependencies until the very end, while some others only recommend dynamically linking widely-available dependencies & always bundling the remaining ones.
Software development is constantly evolving, and for most time there's no right or wrong approach. And when one approach is chosen over another, there's a reason for that. Imagine you just found a perfect library for your use case, but some idiot decided to only offer minified code with bundled jQuery? Or a different idiot made it impossible to have multiple versions of a dependency on your system without resorting to one of various third-party hacks?
Every language has a ton of various frameworks & libraries that ultimately do the same thing, every language has a bunch of design choices you probably don't understand at first, and every language was made with a purpose and the fact that you're using it proves it achieved that.
Last but not least, all devs had to learn about quirks in various languages, and they're fucking tired when someone who barely knows a language tries to act smart going "ahaha how the fuck 0.1 + 0.2 isn't 0.3".10
Fucking shitty agencies promoting their marketing solutions. Oh, you can make a shitty WordPress landing page with SEO plugin and launch some ads, just for 500€? Fuck you, and fuck you for not telling your customers how little support you provide, how shitty devs you employ, and how little work you actually do. And royally fuck you for telling customers how everyone else is too expensive for doing a proper job, only to have them come crying for help after your bullshit gets hacked and all your marketing solutions get flagged for spam.2
There's this online game I like to play, basically you can play against 2 or 3 other people / robots. It's been free to play for almost a decade, but recently they decided to limit how many games you can play each day, unless you buy membership. It's not much, about 2€ per month, so I bought it to support the devs, they're doing good work and they're not spamming players with ads, so they need to get money for those servers somewhere.
But now I kinda regret it; there used to be a whole lot of casual players online all the time, now casual players reach their daily limit and when I log on in the evening, there are almost exclusively paying members left, giving you absolute shit for the tiniest mistakes.
On a completely unrelated note, what casual / relaxing multiplayer games would you recommend that don't require too much thinking & long-term skills?9
God I'm getting tired of the whole TDD culture. I get it, testing is good, but we're getting to the point where several major OSS projects fail on common real-world use cases because instead of worrying about the main purpose of a software, devs only worry about satisfying their artificial tests. And when someone opens an issue, it just stays there for months or even years simply because setup & teardown logic for the required tests would be several times more complex than the actual fix.10
It's amusing how every time something doesn't work with Linux somebody spent a bunch of time customising their OS into oblivion (because well, the whole point of using Linux is the ability to have it your way, d'oh), and it's never their fault for changing everything or using some distro with 0.05% market share, it's the company's fault not providing bulletproof support for their exact setup and not testing everything they put out on every combination of kernel & system software.6
God I hate it when devs complain about not having a decent job 😠 And then they're like "Oh, I've been looking for the past 6 months, but every company just ignores me"
Look, hate to be the one to break it to you, but companies are constantly searching for devs, and many companies have such shortage of quality devs, they'll take just about anyone with even remotely relevant skills as long as they have a decent attitude. If you can't find a decent job in this market, well, it's either that nobody needs a dev who spent the last 10 years doing basic UI and simple NodeJS apps, or they don't want a dev who loudly shits on new technologies while acting like their GitHub profile is impressive enough.3
Why do _devs_ still use shared hosting (and then bitch about it)?
"This thing won't let me use external SMTP" - "I can't use more than 2 domains for my site" - "I can't change X in PHP config" ...
You're a dev, VPS prices are pretty much on the same level as shared hosting, and setting those things up isn't exactly rocket science either.32
Today on "fuck Firefox": elements with display: inline and position: relative completely mess up z-index and nested fixed / absolute positioned elements. It's a known bug, it has open issues on bugzilla since 2005, but still no fix. IE 8 can get it right, but not Firefox...10
Why do people version their code like they're learning to count? 3.0.0, 3.0.1, ..., 3.0.9, 3.1.0, 3.1.1, ...
And then I'm sitting there with 50+ websites, wondering if updating a plugin from 3.6.5 to 3.6.6 will patch my bugs, or completely break everything because of syntax changes11
God I fucking hate WordPress
Today I found out a single WooCommerce site is using 20% of database CPU (for comparison, 50 other sites use only 10% between them). Upon investigation it turns out that WooCommerce loads every single product in order to do the taxonomy count. Because the data is stored as PHP-serialised values in post meta, there's no way to do a decent "SELECT count() ... GROUP BY ...". And that code came straight from the WordPress devs, no more and no less...8