Details
-
AboutSAP guy. Writing on Software here and there, currently working on some Video Game in Rust
-
SkillsC99, C++ (no expert tho), Java, web stuff (js, html, css), PHP, React & UI5, CDS, OData, some ABAP, some COBOL, Basic, MapScript + other GIS Stuff, Python, Turbo Pascal, some go, rust, ruby (+ rails), bash, glsl, wsl, x86asm... Did i say Python?
-
LocationGermany
-
Github
Joined devRant on 6/18/2018
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
-
yet C is the one who that got structure in their life.
-
In a project I'm part of, were trying to get rid of it rn.
-
do you really believe, that people who put in the work get more money out of that?
There will be no salary increase, but a profit increase for whoever owns the stuff. Then a profit loss, and the project going unmaintained, because it has been replaced by some other OSS.
Projects going closed source is nothing new, and happens all the time. -
@jestdotty oh yeah to be fair, working with floats in rust is kinda a pain, so i agree haha 😂
-
@Hazarth Fair.
The issue is, when your software is growing and changing, so are your problems. And you want to be prepared. In the realworld stuff gets extended and adapted all the time.
For some small program, that only does one tiny task and nothing more (where it's probably easier to rewrite it anyways), you would not use this pattern or use something different altogether like python, since like you said, it would be "over-engineering". In every other scenario (like backwards-compatability of libraries for example), only this is appropriate to keep the API consistent.
As others have stated, you don't need to do it that way, and can just go with a simple function that takes the array as a parameter (as in most other languages).
Or create (or probably just use an existing) Macro, which is getting optimized away anyways (As you probably would in C/C++ too). -
huh? why in the world would you want something like that?
-
Reason is pretty straightforward:
It's for consistency and maintainability.
Sounds a bit ass backwards, but get this:
You now implement it for a regular array of Type T etc.
You think, nice good enough.
Then you realize that, you probably want to have this for a slice aswell. Different impl, same functionality.
What about a vec? or a ref to a vec? An iterator?
What if you now realize you need a function that would take any of these, no matter what it is by (you guessed it) trait? Everything's already set up, and you don't need to go through the pain of rewriting everything and adjusting all the (potentially slightly different) functions to do the same thing.
I agree it feels slightly weird, but it makes a ton of sense long term. -
@vane i dunno man, you sound like a massive hypocrite to me.
If you're really anxious about privacy, you'd just run some custom android image, that doesn't have all that bullshit like grapheneOS. and not have tiktok or any other social media bullshit on there anyways. -
weren't there multiple flash games with that name?
-
@fullstackcircus sky rage is also a thing. But i think they call that a dog fight.
-
pretty much just depends on your browser and it's session settings.
my browser is set up to delete cookies after i leave the page, which obviously logs me out everytime.
On another machine im logged into whatsapp web for weeks -
started playing eldenring with my gf a while ago (seamless coop)
and so far i think my favourite weapon is dual wielding two comically large rusty anchors.
Also i hope this weekend i can relax a little bit, because work is hell this week. -
i had this funny story recently with win11. So i just updated to a newer update version. Booted into new version.
Suddenly displays random colored lines on display.
System crashes, no blue screen no nothing. Just reboots
Now the Bluetooth doesn't work anymore. In fact, it doesn't exist anymore.
I was like, okay, im gonna use the dongle for the wireless mouse ive got.
A few days later, bluetooth start randomly working again, this time without crashing the system. Mind you i rebooted the system a few times in-between but had no windows updates.
I gave up to complain about this shit. It's just work hardware anyways.
Another time windows destroyed itself because it though before shutting down on a completely drained battery it would be a great idea to do windows updates. -
i'd like to add "Digital Primates" to it (as opposed to Digital Natives)
but otherwise Technophobes is my new favourite word for these people now -
@retoor the only two things that come to mind immediately is either the OS detected rapid memory growth, or wherever the app ran in ran out of memory, both triggering a null pointer on malloc. That's my suspicion, what was it actually?
Also 100% agreed -
Sometimes i feel like the Creation Engine consists out of hacks that only work by coincidence.
-
@Grumm wasn't Verdana a font that has been designed for Microsoft before 2000 or something?
-
@kiki you do you i guess.
-
Also, obviously the only font you'll ever need is PF DIN Text
-
there's Nimbus Sans L, which exists as an Open source variant of Helvetica (mixed with little bit of Arial) and came into existence as a digital font around the same time iOS and macOS started using it. You need to check it out, it looks surprisingly similar.
Starting with win10 there's also some random Update you can install to get Helvetica aswell. -
i don't give a crap, if its called one or the other. I just use whatever's preset in whatever software i'm using atm.
-
@dissolvedgirl had audio issues aswell with pulse audio and alsa. Switched to pipewire. Never had a single problem since.
-
id be happy, that the company is paying you, instead of a k8s cluster.
-
sounds more like a gnome thing than anything.
I have none of these problems, and i used both ubuntu versions you mentioned.
Only issue i have is that i need to restart budgie desktop every few weeks, since it's leaking memory somewhere. -
you find it cringe?
Good, it does a great job of keeping people like you away then. -
@Liebranca please check out Dwarf fortress, it has some unique ideas, that you'll probably like.
And the guy is pretty chill. He works on that game longer than minecraft exists, and released it just last year or so on steam. I'm pretty sure he would be happy for yet another inspiration thanks to his passion project.
This game spawned a whole sub genre of strategy games if you will.
Stuff like rimworld, Sons of syx, Odd realm, and many more. -
@Demolishun @Liebranca i feel that it kinda sounds like a problem that Dwarf Fortress tried to solve aswell
-
i mean you set yourself up for compromises regardless, because you write your own stuff, that probably only runs on one OS on x86 arch. What about phones? PCs without GPUs or weaker CPUs? Older PCs? What about Consoles such as Playstation or XBox? What about 120Hz or 4k Monitors?
-
@Liebranca i totally understand your point.
But you will need to compromise sooner or later. There is simply no such thing as a "no compromises" video game. -
@kiki i guess, but as far as i read it, that wasn't your criteria 😂
I might be biased, but i find getting into either COBOL and ABAP equally annoying.
S/4HANA, UI5/Fiori and BTP is the shit in the SAP world nowadays. R/3 is slowly getting replaced, there are tons of migration projects out there, you won't be struggling to find well paid work.