Joined devRant on 8/9/2020
Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More
The fucking US Congressional website decided it was good design to straight up have JSON in the fucking URL.
Shoutout to the guy who made the Starfall vscode theme, I'm really loving it so far. This theme is fantastic, supports over 50 languages, and also super underrated, with only ~650 downloads. Definitely worth checking it out
Spent my long weekend building a custom LAN image hosting thing on a Raspberry Pi because I was sick of emailing myself photos
I need to go outside more6
Time to boot up the old ass Macbook Air 2013 I reluctantly have solely because Apple is a dick towards the people their trillion dollar company is built on4
Client: So we want you to redesign the frontend for this app
Me: Ok, sounds easy enough, send me the source code and API documentation
Client: yeaaaaaah, here's the thing, we don't have the frontend source code anymore, we originally wrote it in React and then we lost the source code, we only have the bundles now
Me: ok fine, I can handle it, can I have the API doc?
Client: yeaaaaaah, here's the thing, we didn't write API docs, but we have the source code if you want
I’ve been writing websites since I was 12 and I’m still yet to write a loading animation. I always just copy them off codepen9
Windows File Explorer is the epitome of everything bad about Microsoft. It's shitty proprietary software that treats the user like a baby and hides to complex parts of the system for them, while also managing to be so hideously designed that there are entire books about using it.
Thankfully, I have enough technical knowledge to be able to use PowerShell, even though that's shitty too3
Everything I’ve studied for the past 2 years, everything I will study in the next 2 and basically the entirety of my career after this is all built on increasingly complex and abstracted ways of counting shit3
Me: tells computer to restart
Linux: immediately boots down and started back up
Windows: CaNnOt ReStArT bEcAuSe BaCkGrOuNd SyNc Is RuNnInG7
I love Flutter. So simple. Such good docs. Not totally shit multiplatform. Flutter is my new favorite framework. Good job Google4
Need to fetch data from a website for project I'm working on
Look for an API with no luck
Spend 2 weeks developing a ridiculously overengineered and slow webscraping program with Selenium
Find an API
Lotta Ubuntu hate on devRant today ...
Funnily enough, Wappalyzer tells me devRant runs on Ubuntu.
And anyway, Ubuntu is a good operating system. It's not my first choice, but it works well as a gateway drug to Linux. I have it running on a couple EC2s because its the simplest to provision and set up.
Ubuntu is good, save your hate for Windows and particularly MacOS21
Unpopular dev opinion:
Maybe I'm old fashioned. All the hipster languages either make semicolons optional or usually actively discourage them
Idk I like them though17
You’d think with all the money bezos has for space rockets he’d have enough to make it so that provisioning a single damn database on aws doesn’t take 20 fucking minutes2
Microsoft: literally one of the most profitable and technologically advanced corporations of all time
Also Microsoft: can’t handle a fucking livestream1
I’ve come to the conclusion that developers who like react have never used it for anything even remotely complicated.
Because here’s reacts dirty little secret; it doesn’t scale. Not even a little. It’s flexible, but that leads to every developer writing their code in a different way.
It’s simple and easy for simple side projects, but as soon as you have to pass state to a child component, you’re fucked. And god help you if you’re modifying the state in said child component. You can try using redux, but that’s a bandaid solution to the real issue.
There are better alternatives, namely Vue. There’s no need to write unintelligible code that’s a mutated hybrid of html css and js. We as web developers realized mixing these technologies was a bad idea a long time ago.
React simply doesn’t scale. It’s flexibility, complexity, and the awful code quality it leads to makes it a nightmare for large projects with multiple developers
Some of its concepts are interesting and useful though. It’s functional concepts allow for easy code reuse, among the other benefits associated with functional programming
I sincerely hope that the hype around react dies out, and a new framework emerges that takes the best from react and fixes the glaring issues it currently has24
I bought a new laptop literally the day before everyone found out about Windows 11.
Here’s hoping Dell is nice enough to ship with Windows 11 anyway.
Still, I’m planning on dual-booting so it’s not that big a deal19
YOU ARE A FUCKING SOFTWARE DEVELOPER WITH AT LEAST A LITTLE TRAINING FOR THE LOVE OF GOD PLEASE STOP FUCKING UP THE GIT REPOSITORY BY COMMITTING THE GODDAMN NODE_MODULES13
When I was a wee little lad of 13, still with that hopeful gleam in my eye, I signed up to work as the webmaster for a local org.
I got paid in SSL, which is a thing kids in Maryland have to do to graduate, and the whole idea is that you need to do 75 hours of volunteer work in your community
The people there promised me 8 hours a month for what I thought would be easy work, and so I eagerly signed up.
What I thought would be updating a few html files and emailing them to the org was actually having to manage a full on server running PHP4 LAMP stack
Needless to say, I was overwhelmed. I tried to make the updates they wanted, but I had no idea how to write PHP, let alone manage a database and server.
I think I got out of it by just never responding to their emails once I realized how fucked I was, but that was definitely the worst learning experience of my dev career1
You ever agree to do something that you really don't want to do because you don't want to piss off the other person?
Like, I could've avoided doing this shit if I just were an asshole. Ugh6
I've been writing HTML since I was 12 and I still have to google write the damn doctype5
Why the fucking fuck is it so damn hard for me to draw a fucking curly bracket?!
All my sad attempts at it look like a 3 that was exposed to lethal amounts of nuclear radiation3
Me: Ok I've updated the docs, I'll open a PR with the changes
Maintainer: Looks great! Can you remove the changes to the package-lock.json? (I assume it got updated when you ran npm install to start the webserver)
Me: Ok sure, I'll update it soon
And this is where the troubles begin. The file was commited 2 commits ago, so I have to roll back to then. However, the remote repository has been updated since then, so I git fetch to keep up to date.
This makes the rollback a hell of a lot harder, so I run git log to see the history. I try a reset, but I went back to the wrong commit, and now a shit ton of files are out of sync.
I frantically google 'reset a git reset', and come across the reflog command. Running that fucks things up even worse, and now so much shit is out of sync that even git seems confused.
I try to fix the mess I've created, and so I git pull from my forked repo to get myself back to where I was. Git starts screaming at me about out of sync files, so I try to find a way to overwrite local changes from the origin.
And by this point, the only way to describe what the local repo looks like is a dumpster fire clusterfuck that was involved in a train wreck
I resolved the mess by just deleting the local copy and git cloning again from my fork.
I gotta learn how to use Git better5
Motherfucker if the project uses Eslint to enforce code standards, please don't start every fucking file with 20 lines of /*eslint-disable*/s