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
-
I installed VSCode in Linux. I keep finding thing about Linux that make me think its kinda shit. Maybe its just Gnome, but I don't know.
So I startup VSCode. Blank screen. I do a search and find its gpu shit. I start it up with argument to disable gpu accel. Then I go into settings and turn of gpu accel. It now works. Cool that it has these options.
What made me install VSCode. I installed VSCode because I wanted a decent json editor. I search for Linux json editors and I am bombarded by online editors being pushed by Linux websites. Who the fuck in their right mind is going to use a fucking website editor for json data?
I "had" a decent json editor by running notepad++ under wine. But since I turned on GPU in Linux Wine shit just doesn't work correctly anymore. Which is the whole reason I went looking for an editor.
How can a platform like Linux take itself seriously when turning on GPU accelerated drivers breaks every fucking thing in the OS?
Why did I enable GPU accel drivers in Linux? Because updating to 22.04 caused all my java apps to draw incorrectly. Enabling GPU fixes this shit. So I enable GPU to fix one thing and then it breaks a bunch of other shit.
This shit right here is why I have trust issues with Linux.6 -
Me: Hey, guys, this stuff is seriously flammable. Like, I’m surprised it hasn’t caught fire yet. I really want to clean it up. Here’s how I’d make it better.
Management: No. It’s fine, it works. Don’t touch it. It’s getting replaced anyway. Just add the things on top like we asked you to, and call it a day.
Me: Are you sure? This is seriously going to be a problem.
Management: We just said it’s getting replaced. Don’t. touch. anything. OK?
Me: alright.
… Eight weeks later …
Management: so this thing caught fire over the weekend, and the fire spread to other areas. We’re doing some emergency cleanup. The new guy looked at it and figured out why, and has some great ideas on fixing it, so give him some well-deserved praise!
Me: Hey! I told you about this months ago!
Management: Yes. I tuned out during today’s firefighting meetings. But it’s important to strike a balance in everyone’s style. Do you have any other concerns?9 -
Did you know the moon mission would have been a complete bust if one guy, the day before, hadn't looked at the error codes. The same error codes that were continually popping up on the console during the dissent onto the moon. If it weren't for him they would not have known what those error codes were for and would have aborted the mission.4
-
"Oh yeah I made a new endpoint, and I just pushed the logic for it wherever I wanted without following any of the project's guidelines or structure. I didn't write any tests or documented it anywhere either. I kinda felt there was already an endpoint for it (there was) but I couldn't be assed looking for it in the documentation"
Die.3 -
Open letter to any website that is trying to implement "smooth scrolling" on their website using JavaScript: stop, consider how awful it is 100% of the time, and kill yourself please.2
-
I’m making a cut-down version of scratch for a personal project and I just fucking had to write a linker for it.
I fucking… it’s… a flowchart language… and to avoid a hash-table lookup of function identifier to underlying logic.. I wrote a linker.
It’s like, maybe 10 total lines. So not a real linker. But still. Just a bit crazy.2 -
LinkedIn: You have one notification!!!!
Me: What is it?
LinkedIn: 10 types of horses that make your more employable if you don't fuck them
Me: What
LinkedIn: 10 types of h-
Me: No, I heard you, why did you send me a notification about this?
LinkedIn: You want a job, don't you?
Me: Yes, but don't send me this type of notification again.
LinkedIn: Updated your preferences!
The nefarious LinkedIn, two days later: You have one new notification!!!!!!4 -
Frustrated that my build system wasn't recognizing a file change I added to my code. It kept telling me that a function didn't exist in the linked object (linker error). I checked everything and stared at this shit for about 15 minutes or more. The signature matched, the function existed, the relevant source files existed. I was starting to imagine impossible scenarios. I cleaned the project and recompiled. No errors, everything linked just fine. Fuck you? I guess...
So I decided to needed to walk around so I went into my bosses office.
me: I don't want to program anymore.
boss: What do you want to do?
me: Shovel shit.
boss: They are the same thing.
me: True...
TLDR: Tool and possibly skill issue results in frustration and humor.6 -
I remember when I first graduated, I could only find job opportunities where companies wanted Mid to Senior levels. Now, 4 years later, I can only find job opportunies for Senior level devs.
Fuck this market so much, why did I had to like programming.9 -
Github is creating nice quality movies on YT. But the content itself, to vomit from it. AI this, AI that. It's like 100% advertisement. It could've been so beautiful with showcases of projects that are trending and stuff. They don't give a fuck about what the viewer wants. Never seen a github video? This is why, it doesn't show up in recommendations indeed, even when subscribed. Nobody presses like on their shit. Idiots9
-
All the crypto bots and hire a hacker adverts make no sense. After all, they still need to either go through the API or make a selenium script. Will still take them 1 to 2 hours at least to build it. For what?
To advertise to a dying platform that has a dwindling community, which is on top of it well-versed in programming and technically affine, so that the probability of profiting of it is tiny...
My conjecture: A devrant member is pulling a long running prank.
I bet it's someone like theRealJase. Or someone like that.7 -
Fucking hell, why does the phone decide I can't use my last 4% of battery for the torch function? Fuckers, you can imagine that if the user does that, it's really needed right!? Give a warning or smth. It's not like that 4% is good for a phone call either. What's the point of that last 4% battery then.
I live in a park 5km from outside village center. When it gets dark in the middle of nowhere, it gets black, really black. So, I was cycling home and my bicycle light died. And halfway, it was almost completely dark so I wanted to use the torch on my phone so I could at least see if I'm still on the bicycle road. That's how dark it was and it fucking refused. But then - someone caught up from behind and could follow that person until my exit (one I would've never had found anymore) cycled a hundred meters in pitch black until I saw lights of the park. God dammit, fucked up experience. If that cyclist with light wasn't there, I would've had to walk and hoping I was walking in a straight line. Normally I already go before it gets that dark because bicycle light nearly isn't enough.
And that all, because those fuckers decide what you do with your last battery. Fuck you.
Same for headphone, if ten percent battery left, more than a hour, it starts beeping every minute. So I have to listen a hour that the battery is almost "dead"? Almost dead is 5 minutes left fuckers, not whole hour!
Who designs these things?25 -
"We need smaller deliverables so that we can validate each iteration with the client! Instead of doing the whole batch, let's try a minimum viable unit of work first!"
And then the cook made a single unit of French fries. Like, a single stick. It took about 10 minutes, or about 95% of the time it would take to fry a whole portion.12 -
To the person that put the washing machine on at 4am, who hurt you? Coz I'm gonna be added to that list.16
-
Modern technology is absolutely bullshit
I can't even
Now my keyboard on my phone is even too broken to complain about it
I wanted to look at someone's post history on a forum
To do so the forum wants an account. Ok. So I gave it my old junk Hotmail account during sign up for it to send me an email confirm so I can make the account so I can search. Well I'm refreshing this account for this confirm account email through the Gmail app on my phone because who even checks emails on computers anymore
Turns out, aside from this Hotmail spam email account having a lot of junk emails (it is my junk email account), there's this little pop-up that happens SOMETIMES claiming that it can't sync. I checked inbox and spam and the email isn't in there. So 1 out of 10 times I refresh there's this little "cannot sync" message that pops up and I click it. It claims my storage on my phone is too full to sync. Ok.
So I go try to find storage through the settings in my phone. It doesn't exist as a category anymore apparently. Thankfully phones have a search feature now -- because we can't have sane settings anymore so here's a search feature. First result it gives me is just device info. That's useless. It's just the hardware specs for my phone
Second it shows storage. 90% full apparently. That's odd. I have 132 gb. Thankfully it subdivided it by what's taking up space but it doesn't make much sense and a bunch of the categories don't open to anything
Apparently the fucking android operating system is 32 GB now? Well you're fucked if you wanna remove that. Apparently years of photos and videos is 20 gb, I can back those up and delete them. Similarly I have downloads in folders, and that's about 20 gb
Why are there 20 GB of apps? I literally have no apps!
Part of apps? Wtf is Gboard and why is it a gig
Why is my WEATHER APP using a gig of storage?
And none of the apps can I remove the storage they're using. The cache is like 600kb, and I can delete all data and it's using like 60 MB. So the fucking weather app executable itself is a gig of space? Wtf?
I deleted the data for Gboard and turns out that's the keyboard. So now all my keyboard settings are fucked.
Thankfully I wrote syncing scripts ages ago to sync various folders from my phone to my external HDD. I just had to connect it to the laptop and run the script on the external HDD. Problem? Well turns out no matter what I do I can't get the laptop to connect to the phone if it's USB file transfer mode. I can do photos. But this is gonna be more than photos.
So I do my sync backup script from the laptop to the external HDD. This will sync the camera, since I have sync thing sync my laptop and phone all the time, so I can just sync the laptop to the external HDD and then delete the older photos and get 20gb. Quick fix for now
Why do I need this quick fix?
Well
Get this
I've been having issues with my Gmail client for ages. It just won't display new email notifications which is really annoying because I need to know when emails get sent to me.
Now I'm thinking, maybe I can de-sync older emails and have more storage space maybe? But that's not an option anywhere. Actually, I can't even unconnect an email address from my phone. Gmail doesn't even let you do that
What the flying fuck is the state of modern technology
Now I have to go figure out what my fucking settings were for my stupid phone keyboard
The 90s were much fucking saner than this garbage. I don't need a 32 GB operating system on a phone. Is this fucking windows 8? And let me fucking tell YOU how many fucking emails you should sync to my phone. Holy shit what the fuck is all this
At least my Linux scripts fucking work like I wrote them12 -
Ok so there is this company we work for as a client. They stalled the project for 3 months not wanting to sign the contract in the summer for reasons unknown while we "waited" to start.
In the contract it was noted that the project will take 6 months FROM THE time they sign the contract.
They signed it in September and still want to go live this year. They don't care what is in the contract but they have legal deadlines they must comply and for that they need the project.
I mean WAT? How disfunctional you must be to stall a project you have legal compliance for?2 -
Gonna love ChatGPT from time to time.
Best version of this method I wrote by hand was 7 lines. Now it's 3.
And it's perfectly readable.
private static DateOnly ParseDateArgument(GraphQLValue? argumentValue, IResolveFieldContext context)
{
return argumentValue switch
{
GraphQLStringValue strVal when DateOnly.TryParse(strVal.Value.ToString(), out var date) => date,
GraphQLVariable varVal when DateOnly.TryParse(context.Variables?.ValueFor(varVal.Name.StringValue)?.ToString(), out var date) => date,
_ => default
};
}1 -
It just hit me that despite being possibly the most object-heavy language out there, JavaScript actually wasn't even properly object oriented for the longest time. No language-level support for Encapsulation, Inheritance, and without a strict class system, it can never really have polymorphism or abstraction.
Since literally everything is an object, it's impossible to make it object oriented 🤯6 -
Objectively, I know I should leave.
The company hasn't been doing well. At all.
Projects are a shit show.
Despite everything everyone is kind and respectful, though.
My team's great and boss is good.
Pay is okay, too.
As the lead dev I am appreciated for my work and knowledge.
But the company itself seems unable to learn despite the coworkers being young.
My team doesn't have any work now because the customer canceled the project.
There have already been layoffs. 40% of people gone.
Other companies also pay well.
But damn my team is amazing.
Although I am the most experienced developer. But I know I am not THAT experienced, really. i am still young and would love to work with someone MORE experienced.
Maybe i am just lazy. Then I will likely soon be lazy and unemployed.
Oh no....2 -
Team Leader, once again, wagered I was wrong on a technical thing
I, once again, accepted his wager
Team Leader, once again, lost the bet.
That's 3-0 now.2 -
Spent 3 hours not understanding why the exact same procedure on Linux worked while not in windows. Ended up installing Linux on the windows computer.5
-
Staring at computer trying to figure out why I can't read a float from modbus. I swapped the bytes correctly for my platform. I also ensured the endianess of the words matched my platform (byte endianess is not the sames as word endianess, fml). Was driving home thinking about what could be wrong. My mind saw this code:
uint32_t newint;
for(int count=0; count<2; count++){
newint |= words[count] << count;
}
Then I am fuck! It should be:
newint |= words[count] << (count*16);
This was later turned into float. I kept getting values in the 1e-40 or some shit. Now it makes sense. The upper word was not set.
This is such newb shit. Fuck you newb shit I should just know!
Reading more I realized that the endianess of words can vary between devices even though the spec calls for big endian words. Fuck you non-compliant vendors! So I gotta add a flag for fucked up devices. Fine. The pay off is a generic way to add modbus to our opcua server. I want this easily editable in the field. For now it is readonly. So that makes it nicer.
Just a little torqued that I solved this driving home instead of at work. Too close to the code. I think tomorrow I will have my boss review it to tell me of other logical crap I missed.3