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
Feed
All
Post Types
- Rants
- Jokes/Memes
- Questions
- Collabs
- devRant
- Random
- Undefined
Cancel
All
-
python libraries don't belong in Linux
idk where this stupid python-futures library came from but it just broke all the stupid python-only libraries I got. unfortunately no alternatives to them. evidently if I just remove python-futures and reinstall everything it broke it all works. bruh please
God I hate python
it's also very inefficient and these libraries take up so much CPU for no reason. they don't even do much but idle too high. python. not even once.17 -
Day 69 of "learning C#" or "this isn't C++":
Spent an hour maybe trying to figure out why I can't see Trace/Debug messages in the Debug output in WPF app. I have been doing a lot of testing in a Console app and Console.Writeline does what I need for testing and understanding how it works.
Today I am working a WPF app. I am using Trace/Debug.Writline and I get nada. Read up online and it "should" be working. I am compiling for Debug. I think, do I gotta actually run as Debug session to get output? Well, um, actually fucking yes. I know I can get console output if I want by changing app type/option or some shit. Its a group project so I don't want to mess with that for now.
Fuck you C#, WPF, visual studio! Whoever the fuck thought that was good default. I mean it probably is a good default performance wise. Fuck you anyway. lol9 -
How to be an ignorant a**hole 101. Go to a meeting room. Pump up your meeting volume. Leave the door open so the whole floor can hear your meeting and you can diminish everyone's focus time. In case anyone closes the door, just open it again.2
-
So, I have a nested ternary, right, and that's not very readable:
(x <= y ? z : (x <= z ? y : x));
The linter points this out and I'm like yeah, valid point. So I inline-F[*0] it:
if (x <= y)
········return z;
else if (x <= z)
········return y;
else
········return x;
Clearer? Kinda. Oh, but the linter doesn't like this either, and to be fair, valid point once again; an else-after-return *can* be quite confusing if you have it in the __middle__ of the F body, catches you by suprise.
However, I'd like to take a brief moment to waggle your nutsack, if you please. Because this is C++ and I'm picking a reference from a list of values, so I can't simply assout[*1] within the switch.
So I'm at the crossroads of life once again, losing man's toughest struggle as I sit on a metaphorical cigar, squirming while I unclench my asshole slowly for strictly defecatory purposes. Allow me to illustrate:
- If I ignore the linter, and leave the rest of the code unchanged, the checks are going to fail and the bot is going to taint my pristine PR with automated comments.
- But if I take the linter's advice, I have to do a slight rewrite of the damn thing plus every F that calls it, which means touching shit that has nothing to do with this issue.
So what's it gonna be? Flushing or shoving my own excrement? Oh, the thrills of it being (literally) SOLID, ie not the acronym, but may the Almighty punish Uncle Bob regardless.
NOTES:
[*0]: It means 'function,' what else?
[*1]: ASS-ign OUT-put, where 'out' is just some var. You modify the var within the F body and return the final value.23 -
What do you do when you need good solder, but you can’t get EU/US/Japanese stuff where you live? No, you don’t buy Chinese. You buy ПОС-61, together with 500g of pure rosin, made in Smolensk, Russia.
The recipe and the supply chain didn’t change since the Soviet Union. They arrived today with the order number of, I kid you not, 666, and the set costed me $9 for 100g of solder and 500g of rosin. That rosin combined with ethanol gets you ФСКп flux that will last a lifetime. It does the job and doesn’t require cleaning.
Yes, some Chinese solder and flux are better, but I didn’t find a single AliExpress shop without at least one review telling that the thing they’re selling was fake. And you can be damn sure that if a Chinese listing says that there is 100g of solder, it will be 98 grams together with the spool and paper.
Soviet stuff is predictable. It says 100g, but weights 119g with the spool. If it says Sn61Pb39 that melts at 190℃, it will be exactly that, every time. And if it was good enough for Soviet tech, it’s good enough for my DIY endeavors.
And yes, it flows like syrup, and after it cools down, it shines like jewelry.
(can't upload pics bc pics are dead again!)3 -
Void Linux. Good distro. But I switched back to Arch.
1. XBPS takes too much time
2. Consumes too much resources
3. Not enough packages.
Bye.4 -
I hate the idea of dog whistles.
For those who do not know what I am talking about: A dog whistle, next to being a physical object you blow in that makes a sound dogs can hear, but is too high in frequency for most humans to hear, can also refer to a hidden sign for a group or ideology that is supposed to be only known by its members.
Here, in Germany, we usually use it for Nazi groups. Hey, 88 is a dog whistle for Nazis, because, the 8th letter in the alphabet is the 'H', and 'HH' stands for Heil Hitler. Alright, got it.
But how the fuck am I supposed to know it? I am not a member of those groups. Well, other people, who look at them tell closely, told me. In a way, you want me to keep up with them, so I can know the newest dog whistles to avoid them?
Another famous one is the attempt to claim the okay sign is a symbol for white power. But here I stand and say, no. I was making this sign all along. I did not signal white power. I was signalling that everything is okay.
And isn't that racist in the first place. Black people cannot swim stereotype. And then they choose the white power signal from diver's sign language? Because they knew, no black person was a diver? Don't mind me, I am just taking the piss.
Then there was Elon Musk. I don't like Elon, I think he's an idiot. I also think that he made it possible for lots of tax money to flow into SpaceX and pay really smart people to work on rockets, which I like. Somehow, in a modern world, we have to do that instead of just funding NASA. Anyway, he is accused of doing a Nazi salute.
But if that was a Nazi salute, that was the sloppiest Nazi salute ever. It was akin to a dog whistle to a Nazi salute. Every proper Nazi should tell him how embarrassing his salute was. But instead, the Overton window on a Nazi salute widens.
We should make fun of him not being capable of doing it right. He would then obviously publicly state he is no Nazi. And some Nazis will believe them.
Ever wondered why in war some national leaders will tout obvious lies? That's because, often due to an information bubble, sometimes because of confirmation bias, many will believe them. If they said the truth, every single one listening would know the truth. If they lied, there is a substantial part of the population ill-informed or invested enough who wants to believe them. And if that's a preferable state, a leader will lie.
Why do we assume that dog whistles are just something we don't understand, but somehow, without writing publicly available guides or news broadcast spelling it out, the subgroup that uses that dog whistle, perfectly understands its meaning.
Recently AfD, German right wing party, had a party conference, and the number and position of the flags on stage was somehow aligned with the number of... what was it... SS branches or something in the third reich? Come one, you're reaching now. You tell me that right wingers are so well informed history buffs that they would ace any history exam about it and equate every subliminal message?
I probably had a dozen dog whistles in this text that I don't know of. Do you know how those groups actually learn about their own dog whistles? Standard media tells them that is their groups dog whistle and they copy it. Copy cat. Funny side note, that's how satanism actually started. Copy cats from stories from the church. They tried to scare people about those evildoers. At least that's one popular hypothesis. Aleister Crowley, not Church of Satan satanism.
Anyway, I hate dog whistles. We commit them constantly, we cannot avoid it and it incriminates everyone. It keeps broadening the definition of every forbidden/frowned upon action. It's shit. If you argue dog whistle, I think you're a moron.24 -
I started to work in a company as a Wordpress developer, where they made me technical tests even with React (with which I have no problem) and when they explain me about the stack they told me: “You must install XAMPP on MacOS” and deal with their Apache, .htaccess, etc. crap. Then I came across some spaghetti code. I didn't last a week. The developer joke came true.3
-
Roughly one year ago we'd been setting up our network to have our IP whitelisted.
The process took way more than it should've. Here's why:
* Back story: *
Coworker had been talking to IT because he wanted his PC && a devkit to have static IPs.
IT did that && set up the network so that in the future they wouldn't have to be bothered about it.
They set aside a pool of IPs 10.0.2.50-10.0.2.100.
/* You _know_ where this is going, right? */
Coworker: We have our static IPs. This is our range: 10.0.2.50-10.0.2.100. Could you pass it over to $company_name so that we have our IPs whitelisted?
Boss: Finally! Yes, will do.
* Passes the info over. *
* Week passes. *
C: Do we have our IPs whitelisted?
B: Got the info that they should be.
C: Damn, it doesn't work!
* B starts blaming $company_name 's support. *
* Another week passes. *
C: Any word on the whitelisted IPs?
B: They tell me it's set up. Can you try now?
C: Nope, still doesn't work.
* B starts bitching about IT how they're incompetent. How they were supposed to be pros && all that. *
/* I got wind of the whole situation. */
Me: Hold on. Those aren't the IP we need to pass to the $company_name.
* Provide the _correct_ Internet-facing IP. *
* Gets whitelisted within 1-2 days. *
These are the people I'm dealing w/ right now. They'll bitch about everyone being incompetent, but when it turns out _they_ have been at fault I hear no responsibility being taken.
/* I'm also reminded of this adage: Garbage In, Garbage Out. So true. */3 -
Explaining docker in 5 simple steps:
1. We need to be OS agnostic so we we use docker containers
2. We remove 3 lines of code to run migrations on host computer because they are OS specific
3. We add one container for DB and another one to apply Flyway migrations
4. We write 15+ lines of .SH OS SPECIFIC GLUE CODE TO MAKE THAT CONTENIRIZED SHIT WORK
5. Now we are OS agnostic because we use containers
Stupid fucking monkeys5 -
Be stubborn. Never give users what they want. Ship some shiny feature that attracts new users, then immediately move on to the next shiny feature. Never address criticism.
Users don't know what they want. If you managed to attract them all with your skill set, you know better than all of them.6 -
nervously waiting to see if you get the layoff email
unfortunately also need to continue working in the meantime6 -
It's fucking incredible how boring work can be.
There is literally nothing exciting or new or challenging whatsoever.
I swear if we don't get any interesting projects soon I'm bailing after I finish my training, no matter what they offer me.
I can't work like this. It's only tickets, tickets, tickets, tickets, tickets...14 -
Solely because I hate being told no and not because I feel strongly about the subject, I tried asking my self-hosted deepseek-r1:14b instance about a forbidden topic only to be met with the expected refusal to answer the question.
It fought me, but I am my father's son and was able to get the answer after only a few attempts. You just have to be creative with your requests.4 -
Lord Sheogorath has survived the Grey March. The voice actor almost died in the last few days. He has pulled through and is still alive.
Dammit Todd Howard! You are taking so long working on TES VI that one the best voice actors of the game almost died! Hurry the fuck up!
Anyway, I want to send cheese wheels to Wes to let him know I care.3