abrahambelch

joined 1 year ago
[–] abrahambelch 4 points 1 day ago

Looks great! What a bummer that images from Pinterest always have such a low resolution though :/

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

Germany - 20€/month, 100GB of 5G data in Germany and all of Europe, unlimited calls and texts, roaming to Switzerland is not included though

[–] abrahambelch 4 points 4 days ago (3 children)

Their website looks pretty sketchy, ngl

[–] abrahambelch 20 points 1 week ago* (last edited 1 week ago)

Good point! And Docker. Also: Encryption software

[–] abrahambelch 65 points 1 week ago* (last edited 1 week ago) (3 children)

As a base: The Linux kernel source, GNU software sources and compiler binaries so I can - in theory - write missing software myself. For convenience probably some stable, offline-installable, ready to use distros.

I would probably also archive sources and binaries of day-to-day software like web-browsers (I might still have an intranet to use), office tools, photo management software, audio/video players and all the codecs, etc.

I think that's a solid starting point but im sure I'm missing something important :D

[–] abrahambelch 2 points 1 week ago (2 children)

That depends on a couple of things:

If you have a separate partition for /home (your personal data) it is pretty easy since you can reinstall the system, leave /home untouched during installation and just configure it to be used as /home in your new setup.

This does not work if you either do not have a separate /home partition or you encrypt your system via LUKS.

It technically still is possible in the aforementioned cases but involves expert knowledge and probably a lot of manual steps which I'd say for you and me it probably is impractical.

[–] abrahambelch 13 points 2 weeks ago (1 children)

Games such as The Legend of Zelda: Link's Awakening and Pokemon Scarlet & Violet are getting totally free upgrades, too.

Not sure what upgrade I can expect from Pokémon though. Now we can enjoy 20fps in 4K

[–] abrahambelch 25 points 2 weeks ago (2 children)

Okay, will choose another country to visit next then. One of all the fellow EU countries I can freely visit without any sort of visa. The UK needs the EU and shoot's themselves if you ask me

[–] abrahambelch 5 points 2 weeks ago (1 children)

I never came across a single page that didn't render correctly with Gecko - do you have an example?

[–] abrahambelch 14 points 3 weeks ago

I'd like to throw consent-o-matic in as someone else suggested under one of my comments a while back :)

https://lemmy.hogru.ch/comment/1412645

[–] abrahambelch 1 points 4 weeks ago (2 children)

It looks kind of like the tab bar on Safari, is the idea to be able to swipe between tabs?

16
submitted 2 months ago* (last edited 2 months ago) by abrahambelch to c/[email protected]
 

Hello everybody,

Im currently planning on migrating my smart home to Home Assistant and run the HA docker image on my home server.

Most of my devices communicate via Zigbee so I was thinking of getting the Connect ZBT-1.
I also have a few Matter/Thread devices which would be nice to integrate as well, although not necessarily in the initial migration.

I read the ZBT-1 can experimentally be used with Thread as well. Now my question is: Is it possible to buy two devices and connect to Zigbee and Thread devices simultaneously?

Maybe someone has a similar setup and would like to share their experience.

Thanks in advance and have a nice weekend!

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