abrahambelch

joined 10 months ago
[–] abrahambelch 1 points 2 months ago

That's what I wanted to say as well! Most AI stuff in software development is bullshit, but full line completion is actually so useful!

[–] abrahambelch 14 points 2 months ago* (last edited 2 months ago)

I'd return a non-zero value so they know it's their fault ^^

[–] abrahambelch 6 points 2 months ago* (last edited 2 months ago) (2 children)

In my personal opinion: Yes. Wine is great and all, but in the end it's an emulation layer that - in the worst case - requires a lot of tweaking. I personally wouldn't want to spend that time so a VM sounds like a good option. But again, depending on the context (e.g. limited hardware resources or the amount of time available) you might be totally fine with Wine.

[–] abrahambelch 3 points 3 months ago (3 children)

Do you still remember the name of the Johto rom hack made in the Gen 3 engine? I'd love to give it a try!

[–] abrahambelch 11 points 3 months ago* (last edited 3 months ago) (1 children)

Shit gets weird when the guy in 418 opens and claims to be a tea pot...

[–] abrahambelch 1 points 3 months ago* (last edited 3 months ago)

You're right. Also the other way around the new Kotlin frameworks needed can't easily be used in a Java codebase. I mean on bytecode level they're compatible but it's basically impossible in practice

[–] abrahambelch 3 points 3 months ago (1 children)

That makes sense, thanks again! I think dynamic dispatch is not as much of a performance issue in my case, yet you're totally right not to waste resources that aren't actually needed. Keeping things on the stack if possible is also a good thing.

I'll definitely need to read more about Rusts type system but your explanation was already very helpful! I think this might be why my initial approach felt unnatural - it works but is quite cumbersome and with generics there seems to be a more elegant approach.

[–] abrahambelch 5 points 3 months ago

Thanks for your input! I'll have a look at both build flags and macros for sure! For my specific problem enums will do just fine I guess, but having an overview about the possibilities helps a lot!

[–] abrahambelch 1 points 3 months ago

Thanks for your reply!

[–] abrahambelch 6 points 3 months ago

Thanks for the advice! I didn't know generic functions were preferred. But it makes perfect sense if you think about it.

[–] abrahambelch 2 points 3 months ago (3 children)

Thanks for the explanation! I think just using an enum will do perfectly well in my case.

[–] abrahambelch 10 points 3 months ago* (last edited 3 months ago) (1 children)

I'm able to speak German (native speaker) and English (fluent).


Also, as a German speaker, I'd like to correct the question in the post:

Formal would be "Welche Sprachen sprechen Sie?".

More fitting for a casual environment (such as Lemmy) would be "Welche Sprachen sprecht Ihr?" though :)

This is, because in German there are formal and informal ways of addressing people, both with their distinctive pronouns. Usually, when talking to people you don't know personally, you'll address them formally and then, when offered to, switch to the informal style once you know them. Online or among the younger generation it is much more common to just use the informal case though.

view more: ‹ prev next ›