Abouti got a 3d printer so I'm basically a mechanical engineer now. C++ is a clusterfuck
Skills- being late - finding excuses for being late
Joined devRant on 6/16/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
- have a cool idea
- the idea is way too ambitious
- think about it for a few days
- start coding
- lose interest and never touch it again after 4 days
Why is it that every python project I come across seems to not even want you to use it.
The deployment always sucks, you get some random ass errors because some parts are in python 2 instead of 3 I guess. If there's a C library involved it most definitely won't work. What the fuck is conda and why do I need it to install software?
Where is the documentation to build a release yourself if the public ones don't work?6
What is it with colleagues here not even thinking of making a comment in code that directly interacts with hardware.
They will write to the same register 4 times with different values, which is intentional I believe, but not bother to put one comment in there vagely explaining that it is in fact not a copy paste error...2
I wanna work on small video games more. I thought of joining some small game jams so that I would have to finish a project within a weekend or so, but I don't really have time to dedicate a weekend for that.
And every time I do have enough free time for these things, my motivation drops to 0....6
The colleague who did this cited "Keep it simple, stupid" in another PR.
That this one component being object orientated is necessary and good design.
We have uh interfaces, theyre contracts.
Spoiler: it wasn't, I could have written it in half the code and half the time. But no, we gotta have those patterns, can't miss on dependency injection!6
I have joined the custom android os side
So far GrapheneOS seems really solid.
Though I would have preferred installing devrant through fdroid.17
I bought a Pixel 5 and will try to run GrapheneOS on it, does anyone here have experience with it?3
I don't get it
My brain does not have the capacity to understand it
How the fuck does my colleague manage to write 12 classes/interfaces for something so stupidly simple??
Two classes, a hand full of functions, done.
Why do you need this level of abstraction?
To mock the interfaces in unit tests? The unit tests you didn't write because "they're not necessary"?
No one will be able to understand this clusterfuck of a module even though it's entire purpose is "read number and write number elsewhere"...28
I am once again reminded how much of a clusterfuck C++ as a whole is.
They recently (C++17) added this cool new attribute called nodiscard.
You can put it on a function like this
[[nodiscard]] bool writeMessage(...)
and the compiler will check if the returned value was discarded or not, and give a warning accordingly.
Pretty neat if you're returning an error code and you want to enforce that it gets checked, right?
Except it doesn't work in template classes.
It just doesn't do anything there.12
git rebase > git merge
I'm honestly tired of colleagues completely fucking up the git history along with creating conflicts for no reason at all.
How do you even manage to "recommit" changes when merging?
I can't even squash properly because there are 5 merge commits on the feature branch. Fuck off8
Wanted to do a "quick" software update on a test device for our colleagues who test the system
Here I am looking up what led indicators blinking correlates to what hardware error
Embedded development <34
I've always wondered why Devs who are using windows seem to be allergic to any command line.
I've seen people install xrdp on Linux machines so they can remote desktop onto them, just to open up a terminal window.
But I think I now understand why.
Terminals on windows just suck.
And I'm not talking about CMD and powershell, I mean the terminal emulators.
The windows one is just awful, and even PuTTY is just annoying to use.
Yes it gets the job done but why do I have to click 4 times in some UI settings to change the font size? Just give me a zoom hotkey what the hell?
And the default colour scheme of putty always makes me want to shoot myself.21
Not sure if this counts as a dev skill but
Not needing sleep anymore.
Imagine how much time you had if you didn't need to waste several hours a day just sleeping5
Went into home office today.
Forgot the laptop charger.
Half the days over and I'm at 16% battery.
Whyyyyyyyyyy are you making typedefs for a type that you only need once
Just leave the array<uint32, 20> there
It's actually less readable to typedef it6
First time trying uncomplicated firewall (ufw) on Linux
Why did no one ever tell me configuring a fire wall was this easy1
I've just checked my server's auth logs and my god that's a lot of failed ssh login attempts.
I think I'll install an ssh honeypot to waste these peoples time...11
Why in god's name does protobuf treat all enum values in the same scope??
Who would have thought that multiple enums may have values like "Undefined" or "Automatic"?
It's current year and somehow C style enums still haunt me1
My first introductions to programming was in Garry's mod.
There'e a mod called wiremod, which added logic gates, buttons, and other entities that manipulated the game with input/output. And on top of that a little scripting language they called Expression 2.
Me and some friends would code stupid things in Expression all day to use in the game.
I wasn't too good at it, but I had fun. Shortly after I started going to a high school with a computer science focus, and had 2 years of proper education in C#.
I would appreciate if the language server wouldn't crash constantly, it's getting rather annoying.
Why is it that most C(++) tooling I have used feels like a half assed barely working project?3
What is the meson build system and why did you need to break your cmake files in order to support it -_-