AboutI’m 29, and a Front-send Dev student. I’m a freelance photographer & illustrator
Joined devRant on 5/11/2022
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
Hi everyone, long time no see.
Today I want to tell you a story about Linux, and its acceptance on the desktop.
Long ago I found myself a girlfriend, a wonderful woman who is an engineer too but who couldn't be further from CS. For those in the know, she absolutely despises architects. She doesn't know the size units of computers, i.e. the multiples of the byte. Breaks cables on the regular, and so on. For all intents and purposes, she's a user. She has written some code for a college project before, but she is by no means a developer.
She has seen me using Linux quite passionately for the last year or so, and a few weeks ago she got so fed up with how Windows refused to work on both her computers (on one of them literally failing to run exe's, go figure), that she allowed me to reinstall both systems, with one of them being dualbooted Windows 10 + Linux.
The computer that runs Linux is not one she uses very often, but for gaming (The Sims) it's her platform to go. On it I installed Debian KDE, for the following reasons:
- It had to be stable as I didn't want another box to maintain.
- It had to be pretty OOTB, as first impressions are crucial.
- It had to be easy to use, given her skill level.
- It had to have a GUI abstraction to apt, the KDE team built Discover which looks gorgeous.
She had the following things to say about Linux, when she went to download The Sims from a torrent (I installed qBittorrent for her iirc).
"Linux is better, there's no need to download anything"
"Still figuring things out, but I'm liking it"
"I'm scared of using Windows again, it's so laggy"
"Linux works fine, I'm becoming a Linux user"
Which you can imagine, it filled me with pride. We've done it boys. We've built a superior system that even regular users can use, if the system is set up to be user-friendly.
There are a few gripes I still have, and pitfalls I want to address. There's still too many options, users can drown in the sheer amount of distro's to choose from. For us that's extremely important but they need to have a guide there. However, don't do remote administration for them! That's even worse than Microsoft's tracking! Whenever you install Linux on someone else's computer, don't be all about efficiency, they are coming from Windows and just want it to be easy to use. I use Mate myself, but it is not the thing I would recommend to others. In other words, put your own preferences aside in favor of objective usability. You're trying to sell people on a product, not to impose your own point of view. Dualboot with Windows is fine, gaming still sucks on Linux for the most part. Lots of people don't have their games on Steam. CAD software and such is still nonexistent (OpenSCAD is very interesting but don't tell me it's user-friendly). People are familiar with Windows. If you were to be swimming for the first time in the deep water, would you go without aids? I don't think so.
So, Linux can be shown and be actually usable by regular people. Just pitch it in the right way.12
I FUCKING HATE VISUAL STUDIO BECAUSE IT LITERALLY THINKS I WANT TO UNDO SINCE I PRESSED THE MOTHER FUCKING BACKSPACE KEY
ITS NOT MY KEYBOARDS FAULT ITS LITERAALLY THEIR DUMBASSES NOT KNOWING HOW TO MAKE AN IDE ATA ALL
HOLY SHIT MICROSOFT LEARN HOW TO MAKE BETTER IDES OTHER THAN YOUR SHITTY IDE16
I was once told by a manager when I gave my notice that I was ungrateful because they allowed me to take vacations [FROM MY LEGAL VACATION DAYS].3
My friends are getting married and having kids and I'm having pitiful arguments over the most pathetic and useless discussions ever in my code reviews in a brain eating job with no end in sight.6
I was going to write a rant and thought: leave it for tomorrow, you're gonna be more depressed tomorrow.1
I was young and stupid. Remember floppy disks? Yeah, we still had them when I was studying. Went to a computer cafe, rented a PC and DOS was already booted up (I'm an old fucker). I didn't want to reboot because PC rental was metered. I inserted my floppy disk and got infected by a virus that deleted my work. No git back then and my backup was on the same disk (fuck me). Back home, rewrote the whole thing from memory.
I got mad and wanted revenge. De-constructed a floppy disk, replaced the magnetic media with sandpaper and went to each and every PC on that computer cafe.
It was closed for day.3
My 5 cents about refactoring.
People often postpone it, making it harder down the line.
From my experience, it's better to just do it as you go. 5 min can otherwise become 30 min thing after a while, and combined with some other 5 min thing, this can become 2 hour thing after some time, for example.
Also good luck convincing management (especially bad one), that you need 2 weeks of refactoring. Doing tiny 5 min refactoring, no one will notice.7
Well....this shit again
This morning or technical manager calls me in his office and says he needs to discus something
sits me down and started talking about a project he needs
A school management system says he presented some demos at the client yesterday but they didn't really like options at the table
Manager: So can you get us something really quick?
Me: Well... what's the time line?
Manager: They needed this like yesterday!
Me: Aaaah....well i think i can have something by 2moro morning
Manager: Aaah! No!.... 2moro it's too late need something like fast
Me: Ok so will look for some online solutions and open source projects
Opens browser, opens github, download project, runs project
project isnt looking good enough
starts designing UI
downloads a system
meet with a "Buy to continue using system" message
Manager: this was just a demo now it needs payment what should we do
Me: I'll come up with something by 2moro1
Today I could finally spend some time reviewing the merge requests an intern made (and I occasionally helped).
My god, I want to put it this months amount of work an, put it in a trash, burn it and rewrite it before the fire is gone.
5 small and unrelated issues. The intern used branches with the correct naming scheme, but IT'S A FUCKING STRAIGHT LINE BUILDING ON TOP OF EACHOTHER.
Oh ans also they took the liberty to update the dependencies and the language versions used. There was no issue regarding this. It's the first branch in the line and it was called "update_<dependency>" where they just upped the version numbers of everything and then COMMENT OUT all mentions of <dependency> so that it compiles at the very least.
Now today I spend most of my time reviewing the code by fixing that mess. Thanks to updates I had to update the CI and replace some libraries that are now incompatible. Tomorrow I can finally inspect the shit itself.
On a positive side node, I removed node as a dev dependency and the size of the node modules went down from 128mb to 18mb4
In the darkest of days, I discovered how to remote login to my computer at work through the company vpn. I then proceeded to work overtime at night in secret for a week or so, writing documentation and refactoring code.
I finally woke the fuck up and realized that I shouldn't be obsessing over proprietary codebases that do not belong to me, and I should put this misguided energy into my own projects.
So yeah, as a bad dev habit I'm working on fixing, this fits the bill.4
Not really trying to, but probably should try to fix this bad, bad habit…
I keep wanting to fix and improve everything - and I keep taking notes, writing action plans et fucking cetera to the point the amount of work that should be done and I want to do is driving me insane. And they should all get done now!
In short, I should really either learn to focus on just one thing at a time for a meaningful period - or just cease to give a fuck. Either could work.3
it is really frustrating not to be able to actually maintain and improve the code you're working with. i'd be happy to completely dig in and live in the code and get it all - not so much fucked up - , or, totally spitballing here, do some research on how we could improve the functionality and performance in general (which is not "nice to have", but rather ongoing customer pain points), but I'm not allowed to, because management hates having maintainable code or even an adequate number of devs. it rather has me doing hippity hoppity between different projects to make sure nothing gets my full attention. -.-
the only thing i can do is to clean it up a bit during bug fixes, but even heavy polishing won't fix this giant pile of garbage that is called our code base.2
Not consistently git comitting (and pushing to repo). Sometimes I wonder if I'm in fact a masochist.2
Not really a dev habit, but a habit many devs have.
My beyond fucked up sleep schedule.
I've woken up at 8 and went to sleep at 12 for two days, and I'm beyond happy with the purely accidental progress I've made, really hope to not fuck it up this time like always.2
It's 2022 and jest still doesn't support ES6 module out of the box (it's been around for 7 years).5
Manager: Hey fullstackchris, the maps widget on our app stopped working recently...
Dev: (Skeptical, little did he know) Sigh... probably didn't raise quota or something stupid... Logs on to google cloud console to check it out...
Google Dashboard: Your bill.... $5,197 (!!!!!!) Payment method declined (you think?!)
Dev: 😱 WTF!?!?!! (Calls managers) Uh, we have HUGE problem, charges for $5000+ in our google account, did you guys remove the quota limits or not see any limit reached warnings!?
Managers: Uh, we didn't even know that an API could cost money, besides, we never check that email account!
Dev: 🤦♂️ yeah obviously you get charged, especially when there have literally been millions of requests. Anyway, the bigger question is where or how our key got leaked. Somewhat started hammering one of the google APIs with one of our keys (Proceeds to hunt for usages of said API key in the codebase)
Dev: (sweating 😰) did I expose an API key somewhere? Man, I hope it's not my fault...
Terminal: grep results in, CMS codebase!
Dev: ah, what do we have here, app.config, seems fine.... wait, why did they expose it to a PUBLIC endpoint?!
Long story short:
The previous consulting goons put our Angular CMS JSON config on a publicly accessible endpoint.
WITH A GOOGLE MAPS API KEY.
JUST CHILLING IN PLAINTEXT.
Though I'm relieved it wasn't my fault, my faith in humanity is still somewhat diminished. 🤷♂️
Oh, and it's only Monday. 😎
Aaagh...... 2022 this year has been shity for real..
So its now 1 year and I've been a fullstack developer for this mid tech company as the only developer
so I've been trying to get these guys to hire a second developer. and try to also upgrade equipment and these guys didnt even bother to attend to my requests and during my evaluation meeting on friday these guys where down my neck about why projects are taking time to complete i MEAN WTF!!!!! told them its bcoz Im a 1 man army and most of the times Im chocked with the "any other duty" thing and how tha fuck do they expect them projects to be done on time
I'm the only developer some times i get sick 2weeks and where i left off is were i continue from and thats 2 weeks work of progress down the drain
I'm so fucking pieced off ryt now I feel like droping this shity job and find a much better organization
they want me to build them a developer department and they dont even equip me with the necessary tools to do so WTF do they think they are doing they think they know better than me?
so let them build their fucking dev department without me
this has been a fucking stressful experiance
wrote them a later to hire a second developer
I dont fucking care how they are going to do it
contracting or an internal dev if they dont in the next 3 months I fucking leaving this shit7
Undoubtedly the most common mistake that devs do : Ignoring your personal health, be it mental or physical.
I almost went through a burnout before realising things need to change.
Changed my lifestyle upside down after that
- Switched from wfh to an office job
- I cycle 12kms a day now
- Got a standing desk for myself to be more active
- and have a journal where i literally dump everything off my brain2