abrahambelch

joined 1 year ago
[–] abrahambelch 2 points 5 hours ago* (last edited 5 hours 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 week 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 week ago (1 children)

Looks good! 🤩

[–] abrahambelch 14 points 2 weeks 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 3 weeks ago

Ahh that makes sense - thanks!

[–] abrahambelch 4 points 3 weeks 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 3 weeks 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 4 weeks 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

[–] abrahambelch 12 points 1 month ago* (last edited 1 month ago) (1 children)

Bullying in high school. There certainly are people who got bullied more but it's been enough to make me feel very uncomfortable in some everyday situations even many years later.

[–] abrahambelch 2 points 2 months ago
[–] abrahambelch 10 points 2 months ago (5 children)

I've been looking into buying a Framework laptop for a while now. Does anybody know if they're compatible with libreboot?

31
submitted 5 months ago* (last edited 5 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 ›