Details
-
AboutI have opinions programming languages
-
Skillsi can make some really nice V60 pour over
-
LocationSchnitzel
Joined devRant on 6/16/2020
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
-
At what point has vscode's remote development gone from the best feature of the entire editor to barely functioning heap of shit?7
-
I made some substantial changes to the codebase.
I run all the unit tests, as usual.
A test that has nothing to do with the feature I'm working on breaks.
"Huh that's odd, let me debug that"
I set a breakpoint with the condition set so that it pauses before the test assertion goes red.
I start the debugger and.... all tests pass
Turns out it only happens like 500/10000 times....
This will be fun6 -
> pass optimization flags to the compiler for inlining small functions even in debug builds
> runtime performance is over 4 times worse
Ah, it's that kind of Friday -
On the 18th October 2021 I had to hastily write some magic numbers into our code.
I added a comment saying "TODO: add a damn enum to make this selection clear"
Today, I refactored this module... and I used a damn enum.
Good things happen – have a nice weekend yall10 -
What is it with certain colleagues who "wanna write C, not C++"
Motherfucker if I see another malloc in the code I will physically asssault you.
Like damn we're failing to teach people C++ badly when a newcomer from university, who had 2 semesters of "C++" doesn't even understand RAII.
And how in gods name do software engineers with *decades* of experience get so stuck on old technologies?
Like I've seen them write 3 nested try-catch to make sure a delete is called or some mutex is unlocked....
If youre in the position of teaching others C++, please stop teaching C first.25 -
Why is it that every time I want to make some dead simple script with Python it turns into the utmost awful programming experience?
Ah no you see you have to install this dependency but even if pip doesn't give you an error your script will still crash on import and vomit up some ugly back trace that doesn't tell you anything.
And then some retarded sub sub dependency wants to run on Python 2 and that has its entire own shithole of dependency hell.
And then for some unknown reason the Python installation wasn't compiled with zlib and some library wants it so you either you compile the entire thing yourself or idk go fuck yourself?
Why is this hot mess of a language still in use? I dont get it, it's easier to set up a cmake project with C++ for gods sake.4 -
Stay the fuck on topic
The amount of dailies, sprint reviews or the likes I had where someone started to discuss super specific technical details that only concern like 2 out of the 12 people in the meeting is just insane -
I just love it when the debugger integration into the IDE breaks for no good reason.
I also love that the github issue about it was closed for inactivity. Because problems magically disappear if no one screams "same issue here" for long enough.
Fuck you too19 -
Honestly idk but that one chapter from mythical man month, "Plan to Throw One Away", stuck with me:
"Where a new system concept or new technology is used, one has to build a system to throw away, for even the best planning is not so omniscient as to get it right the first time."
In my current project I've seen this play out, initial development was very prototype-ish and just not well designed but when we got a somewhat decent state we had to continue with it instead of starting again and doing it properly. And now the consequences of that are hitting, progress for new features is incredibly slow, the software is very error prone, a bunch of dead code all around, ...10 -
So there's a proposal for C++ to zero initialize pretty much everything that lands on the stack.
I think this is a good thing, but I also think malloc and the likes should zero out the memory they give you so I'm quite biased.
What's devrants opinion on this?
https://isocpp.org/files/papers/...20 -
I like many things the rust language does but my god sometimes it looks just horrendously ugly and is awful to read23
-
Making coffee
I've now got an electric coffee grinder at the office and I regularly make some specialty coffee with a V60 here
Soon I will be known as «the coffee guy»30 -
I don't get it
why is it that people still use FTP?
Like, in current, fairly recent (2018) projects, for public downloads.
I get that when you're just hosting public files without any authentication you don't need to worry about the unencrypted passwords, but like
the random ports are a shitty and annoying practice and also http exists just let your custom patcher program download the release from github where it's already available21 -
I was looking around to do some stuff with wireshark and I stumbled across a forum question from a 2012 in which someone actually replied with the people from the future in mind.
God bless you shearn89 🫡
Youre a real one
And to those that reply "I found the solution thx" and don't post it: eat a dick11 -
Things that are no big deal but piss me off endlessly:
People who can't mute their mic in online meetings.
We don't need to hear your breathing, the constant "hmm"s, or the conversation of your room mate who doesn't use a headset and instead yells into the telephone on speaker mode all the time2 -
Oh boy some mutex deadlocks inside the 16 year old, unmaintained, company application framework.
Time to look at the stack traces of 24 different threads and try and guess which one fucks it up
(Send help)5 -
I've been thinking of getting my masters degree and now I'm actually considering
- quitting my current full time job
- start the masters in almost full time
- work part time as a barista
Am I insane or could this be an actual option13 -
I swear to god "old school" C++ devs are menace to humanity
Why yes let's make this one line long function, that could even be constexpr, and make it a macro.
Why the fuck not, let's make compiler errors worse by foregoing any type checking. Let's throw away namespacing as well, great.
Fuck you.
I shouldn't have to dig through 4 levels of nested macros just cause "muh performance" and "we've always done it like that".
Shit yourself.8 -
The workday today was shit but my colleague just randomly dropped off some ice cream (:
God bless you Martin2 -
Working with badly designed hardware is amazing
While it is highly frustrating most of the time, I'm gonna be able to say "We can't develop software for broken hardware" to a lot of highly paid and highly annoyed peiple and that will be immensely satisfying.3 -
Just started reading The Mythical Man-Month, and already in the first two chapters I went "oh hey this [fatal flaw in planning] sounds familiar!"
Is this a good or a bad sign...?6 -
Kinda often, the ecosystem around C/C++ kinda sucks
Compilers will give you hieroglyphs instead of readable errors.
Including a separate library, or a code generator, into your project is generally hell on earth to set up.
The language server often needs several seconds to come up with suggestions, some of which are complete nonsense.
The language itself lacks many basic features. C++20 will give us so many fancy things but we still can't convert an enum to a string.
I've programmed in C# and lately in Rust, and damn the developer experience there is just so much nicer overall.31 -
I Work from home for like twice in the quarter
And of course, on the day I happen to be at home... my neighbor starts drilling holes into his walls at 9:20 am3