abrahambelch

joined 1 year ago
[–] abrahambelch 30 points 3 days ago

Agreed. But as long as people don't actively leave Lemmy in favor of the new service I'd be okay with it I guess. I mean it would still be cool if Lemmy grew larger but hey, we got a nice little community here

[–] abrahambelch 2 points 4 days ago

I legitimately thought I was becoming crazy when my favorites kept disappearing lol Glad they fixed it!

[–] abrahambelch 5 points 6 days ago

Well that's kind of rewarding indeed :D

[–] abrahambelch 22 points 6 days ago (2 children)

I'd seriously consider quitting my job if my managers sabotaged work like that

[–] abrahambelch 2 points 3 weeks ago* (last edited 3 weeks ago)

Not sure what the hardest was for me but Scarlet/Violet have by far been the easiest for me. There was literally no challenge at all.

[–] abrahambelch 1 points 1 month ago

You don't need to self-host, you can register an own domain and associate it with Simple Login. You would still need to re-create your aliases with the new domain but are free to change services any time onwards (assuming they allow you to bring your own domain as well).

It all reads harder than it basically is, just try it out and if it doesn't work for you, you can still use the default Simple Login domain instead :)

Here's the official documentation: https://simplelogin.io/docs/custom-domain/add-domain/

[–] abrahambelch 4 points 1 month ago (1 children)

Looks good! 🤩

[–] abrahambelch 14 points 1 month ago (2 children)

One example that I think is a step backward: "Search term persistence ". I don't want this, I want to be able to see the URL I'm visiting. I think I'm able to remember what my search was. This UX "improvement" doesn't add any value at all, it straight up removes value.

To be fair, there are features I like, though: Moving the search buttons into a separate menu is a good choice if you ask me.

Also, this all is highly subjective.

[–] abrahambelch 1 points 1 month ago

Ahh that makes sense - thanks!

[–] abrahambelch 4 points 1 month ago (4 children)

Genuine question: How can an ISP detect that someone is downloading illegal material if the actual content is encrypted using SSL/TLS? Is it all approximated based on the domains/IPs and the amount of data that is sent? If they can't tell with a 100% certainty, can it be used as proof when trialed in court?

[–] abrahambelch 2 points 1 month ago

Temtem is available for free with the PlayStation Plus subscription atm - I think I'll try it out over the next days :)

[–] abrahambelch 7 points 1 month ago (4 children)

The Pokémon main line games. I really hope to see they'll improve and maybe even reach a somewhat okay level of quality. But let's be honest, they'll probably fuck up big time with the next generation as well

31
submitted 6 months ago* (last edited 6 months ago) by abrahambelch to c/rust
 

Hey there, I'm currently learning Rust (coming from object-oriented and also to some degree functional languages like Kotlin) and have some trouble how to design my software in a Rust-like way. I'm hoping someone could help me out with an explanation here :-)

I just started reading the book in order to get an overview of the language as well.

In OOP languages, I frequently use design patterns such as the Strategy pattern to model interchangeable pieces of logic.

How do I model this in Rust?

My current approach would be to define a trait and write different implementations of it. I would then pass around a boxed trait object (Box<dyn MyTrait>). I often find myself trying to combine this with some poor man's manual dependency injection.

This approach feels very object oriented and not native to the language. Would this be the recommended way of doing things or is there a better approach to take in Rust?

Thanks in advance!

view more: next ›