Details
-
AboutMy name is Felix, I genuinely hated my life and programming was my coping mechanism. Now I've stopped hating my life and programming has become my job. Things are going uphill. Least insane person in the company I work at. (Probably a lie)
-
SkillsJavaScript/Node, Typescript, C, C#, T-SQL. I like snakes, but fuck python. Digital Logic as well, kind of... My other skills are writing shitty steam reviews and skillfully hiding the hentai games on my desktop. No risk no fun.
-
LocationNear Minden, Germany
-
Website
-
Github
Joined devRant on 11/11/2019
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
-
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.16 -
I'm a sick to fucking death of reading 'documentation' by developers who assume you know everything they did at the time of writing and so leave out 90% of the context that would make the documentation make any sense.
Listen to me. If you are writing instructions on how to do something you have 2 options.
1. Write steps that are so detailed a person who has never touched the system could do them
2. Give enough information for a person who has never touched the system to work it out for themselves.
NOT. LET ME REPEAT MYSELF. NOT: 3. Give some half assed info that assumes you had already been working on the system and practically knew everything anyway.
If I had already been working in this area I WOULDNT NEED THE FUCKING DOCUMENTATION TO BEGIN WITH.8 -
Prettier is absolute cancer.
Just logged in here to say this.
esLint is annoying as fuck, but Prettier is absolute cancer.
Are you webdev guys to stupid to format code or commit in a team how to format so that you got those annoying horrror tools with default bullshit rules like a comma after the last element in arrays or that shit not to use " but ' ? What the fuck is wrong with web devs?8 -
I don't know why you guys would voluntarily choose this piss yellow as the banner of your rants.
But no longer will it hurt my eyes. Thanks tampermonkey.
It's okay around a profile pictures, but having it stretched through the whole screen is just painful.4 -
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
-
Here in Germany we have early elections, because the current government failed due to internal disagreement. And as usual, each of them promises everything you can think of, just to get some more votes.
Lucky me, we have "die Partei" (yes, that's there literal name), who are basically just trolling everyone. Just checkout out their party platform for this election: https://www.die-partei.de/btw25/ (can be easily translated).
And yes, they can be elected. :)))11 -
This is how eldritch beings get you these days.
No more whispers of immortality,or to bring back a loved one.
Just straight up ultra fast broadband.2 -
The sheer rage I feel after sending an 'urgent' email to a client, following up five times with no reply, and finally getting a reply a week later: 'Thanks for your patience!'... I wasn't being patient, I was suffering.2
-
Visual Studio in the recent releases got some updates where it "accelerates build time" by caching DLLs or something
Good in theory? sure.
In practice? So very often, a "hot reload" now doesn't trigger a DLL swap. VS says that changes have been updated but you see stale code and you've to turn off the program and re-run it
I'm sure there's a way to turn this acceleration off and will do that after this rant, but I don't get how such retarded features get green-lit and make it to production :v
I understand that for biiiig solutions with minutes of build-time, this would be god-sent, but if it's this unreliable in my 8-Project Solution, I wonder how unreliable it'd be in bigger Solutions
at least turn it off by default if you know it's shit ffs.5 -
I was so bored with work in the end. It was more administration than programming. So, i kinda quitted full application development. The thing is, it's expected that you use some existing framework. First of all - they never work how you want and the programming part of your work is mainly solving the limitations the framework brings without hacking too much. You keep within the boundaries of the framework. Besides that - since all fun stuff is already done by the framework builders all you have to do left is kinda administration. Field here, field there, rest call here. Extremely boring. When you've setup the base good, there's no challenge anymore, just producing windows and input forms.
Now, a few days ago, I started to make a clone of rocket chat. I use minimalist http framework (aiohttp) and you have to build most features yourself on top. Same for the ORM, i use dataset which does schema synchronisation for you but doesn't come with models. So i made a complete model / mapper entity framework on top of that. I made one single validation system that applies on models, forms and frontend validation. There's only one truth of valid data. Within the models, services, mappers and forms there's always the services variable available making it possible to fetch any data from any object. Never weird exceptions has to be done to get data. The implemented global LRU cache system is super in auto synchronizing the objects, don't have to do anything manually.
Finally software development of a full product is fun again. If you know how to do it - making your own framework is way easier than an existing one. On top of that, it's more advanced. I do understand that frameworks are aiming to be a bit minimal to be multi purpose, but with that attitude in mind, they still achieve to make it annoying as fuck.
Regarding time, it's just a few days of development. That's nothing for something that does exactly what you want. We have to drop the use-a-framework-because-it-is-stupid-to-do-yourself mentality. We should be programmers again! Not administrators! It's not weird that chatGPT can do so much of our jobs, our projects became lame.7 -
Okay, this just fucked with my brain. We are supposedly seeing organisms (including humans) doing better in radiation fields.
https://youtube.com/watch/...
Not so sure about the ending, but I am also messed in the head about some of the thinking going on with consciousness. I suspected our thought processes are not completely body bound. I guess if the mind is interacting with a separate entity then it would need a physical mechanism. I dunno, seemed really speculative.
This guy usually does a rug pull and shows how everything in the beginning has doubts. He didn't do this on this one.6 -
This is to me the most amazing tattoo I have ever seen. This dude got a mini lemon on his head and he made lemonade with it.1
-
If I've offended you with my posts I am sorry.
I honestly didn't think you could read.
Also, its FUCK YOU ALL FRIDAY!5 -
Help me find hooks for my techno radio.
I got:
"Boomradio, we got more booms than north korea"
"Boomradio, we got bigger booms than the tsar bomba"
"Boomradio, we got boomboomed by the boomboomtcha"
"Boomradio, you heard it once. It's too late".
"Boomradio, so you think you can dance?"
"Boomradio, be like water but dont spread around"
"Boomradio, we got more vibe than your crack dealer"6 -
Markdown syntax is ambiguous and always forgiving (any text in a markdown document is valid markdown). Syntax is complicated and context-dependent.
I honestly think it might be one of the trickiest languages to parse.10 -
How little resources would you like?
4 Cores?
Without any effort!
How about 512MB Ram?
Can do it for less!
10 Second Boot?
Yeah!
Desktop Environment?
Yes! Please!8 -
I hate bash scripting so much !
What a shit language, its inconsistent af
Its just a pile of hacks upon hacks upon hacks. Theres no rime or reason to bash expansion, or to working with arrays.
Sometimes "$@" is a list, sometimes its not... Because fuck u thats why
So im doing a coding project at work, that has to be in bash for reasons.
It already feels like giving birth, llms are hard-carrying me and im not proud of it
And every time i think im done, and i can close this fucking epic, some issue pops up that necessitates a re-write
3rd one is also a no go apparently
And this all happened because *someone* in another department couldn't be fucked to implement the proper solution for this.
The scope of this piece of shit script keeps growing, because every month they be like
"oh this feature of service xyz ? Nah turns out we cant do that sowwy. But you can implement a workaround in bash right??
If you truly like bash as a language, you're cooked brother. you need to seek professional help :skull:12 -
Mind Blown...
So I was in a meeting with another dev talking to a customer. He instructed the customer to open a command prompt in Windows. Then to use the SSH command. In my mind I was assuming he had told the client to install SSH beforehand. Later I started thinking about it and did a search. Apparently Windows 10/11 have a version of OpenSSH installed by default. I had used Windows 7 in the past and always installed git shell to get this. So in my Windows 10 I did the same thing. git shell also supports aliases and other nice *nix like scripting features. So it is always a win.
So hear I am realizing SSH is installed by default on newer windows systems. Like damn, I never thought I would see the day. I think I still prefer git shell, but having SSH by default is nice to know. I know they got the subsystem shit to get Linux. But not everyone wants or needs that.
I probably should learn what is in Windows these days. lol. I mean, besides malware.4 -
"Can you build a work schedule planner windows application for us? We want to import jobs from excel, automatically schedule them by about 10 rules, generate a year calendar with them and also an export as excel for another tool to import it.
We would have to use it on Friday" - Wednesday morning meeting4 -
Had a dream that I remapped Copy to Command and Paste to Option, and it started a new vim-vs-emacs type war.3
-
I'm getting up in 6h then I'll have to work on that shit codebase on problems I don't give a fuck about again.
fml, why can't I just code my stuff alone ?2 -
Has anyone else started a new job with the promise of interesting work, just to end up spending all their time writing e2e tests for crap code written 5 years ago by a contractor who clearly couldn't give 2 shits?4