[-] Matty_r@programming.dev 2 points 1 day ago

Definitely found some issues with it today - sorry if it didnt really work for you. Seems like I missed some stuff with enabling the repositories etc. Especially if you tried the gaming bundle - still more work to be done there.

10
submitted 2 days ago* (last edited 1 day ago) by Matty_r@programming.dev to c/programming@programming.dev

cross-posted from: https://programming.dev/post/48635032

Hey all, Not long ago I shared my Artix Linux installer. I wanted to take it a little bit further (And learn some more Rust along the way), and make a companion site to make setting up the script settings even easier when wanting to run the installer - so here it is. Introducing the Lazy Web

This was developed using Rust, with Actix for the backend and egui + wasm for the frontend.

I had a few considerations when developing this, I wanted the encryption to occur clientside in the frontend in order to ensure your encryption password never makes it to the server. But also I wanted the decryption process to occur when the script downloads the settings. I also wanted the identifier that you use to connect and download the settings to be short and unique.

The website and the script are both still a work in progress, and i'm open to suggestions/feedback.

Edit: Just realized that I was returning the wrong URL to the codeberg repo.. so it probably wasn't working for anybody. Sorry!

53
submitted 2 days ago* (last edited 1 day ago) by Matty_r@programming.dev to c/linux@lemmy.ml

Hey all, Not long ago I shared my Artix Linux installer. I wanted to take it a little bit further (And learn some more Rust along the way), and make a companion site to make setting up the script settings even easier when wanting to run the installer - so here it is. Introducing the Lazy Web

This was developed using Rust, with Actix for the backend and egui + wasm for the frontend.

I had a few considerations when developing this, I wanted the encryption to occur clientside in the frontend in order to ensure your encryption password never makes it to the server. But also I wanted the decryption process to occur when the script downloads the settings. I also wanted the identifier that you use to connect and download the settings to be short and unique.

The website and the script are both still a work in progress, and i'm open to suggestions/feedback.

Edit: Just realized that I was returning the wrong URL to the codeberg repo.. so it probably wasn't working for anybody. Sorry!

[-] Matty_r@programming.dev 7 points 2 days ago

Anyone got some more context for this please? (Apart from the obvious)

[-] Matty_r@programming.dev 10 points 3 days ago

None Apartment with Left Park.

18
Artix Linux Installer (files.catbox.moe)
submitted 1 week ago* (last edited 1 week ago) by Matty_r@programming.dev to c/linux@lemmy.ml

Lazy-Artix - CodeBerg

Hey all, just thought i'd share my Artix Linux installer script. I've wanted to give Artix a solid go, and decided to bring up my old Arch Linux install script to be used with Artix. I'm still working on it a lot and there is definitely some stuff in there that needs to be updated - but I'm pretty happy with it so far.

This is written all in bash, and is to be used with the base Artix Linux OpenRC ISO. Right now i'm focusing on getting KDE up and going, and then fixing up some of the bundles that can be selected.

It's nothing special - I started it years ago for Arch before the official installer existed, and only myself and a couple others have used it so it hasn't had a great deal of scrutiny. But anyway, just thought i'd share it.

(No AI has been used, also I migrated this over from GitHub so there are a few bits and pieces left over from that)

Edit: Just thought I should mention I sped up the video, the install actually took about 3 mins :)

3
Strip lighting with ZBT-2 (programming.dev)

Hey all Just getting started on some smart home stuff - I'm looking to get some strip lighting and there is a lot of stuff out there and honestly I'm not sure what I should get. Ideally it would be RGB but I'm OK with white/warm light.

The ZBT-2 can do both ZigBee and Thread, and I haven't got any pre-existing devices so I can go either of those.

I thought about getting some IKEA lighting because I believe they use Thread now?

What's the prevailing wisdom out there?

14
EGPU Enclosures support (programming.dev)
submitted 2 months ago by Matty_r@programming.dev to c/linux@lemmy.ml

cross-posted from: https://programming.dev/post/45588710

Hey all, I recently got a new AMD GPU to replace my nvidia 3070ti - what's the support like these days for egpus on Linux? I'd like to be able to still use the 3070ti with my laptop (it has thunderbolt ports).

Egpu enclosures were basically a nonstarter on Linux a few years ago last time I looked into it, so not sure if thats still the case.

2
EGPU Enclosures support (programming.dev)

Hey all, I recently got a new AMD GPU to replace my nvidia 3070ti - what's the support like these days for egpus on Linux? I'd like to be able to still use the 3070ti with my laptop (it has thunderbolt ports).

Egpu enclosures were basically a nonstarter on Linux a few years ago last time I looked into it, so not sure if thats still the case.

5
submitted 2 months ago* (last edited 2 months ago) by Matty_r@programming.dev to c/linux_gaming@lemmy.world

Hey all, I've got an under powered laptop that I would like to stream Steam games to from my main PC (main PC has an AMD 9070XT, laptop has something like an Nvidia 1660). What I need to do is still be able to use my main PC while streaming to the laptop at the same time.

I've looked at solutions like moonlight, and I don't recall it worked very well or didnt support having a virtual display. I don't know that this is possible on Linux, but seems to be pretty easy to do on Windows.

What are my options here? Is it even viable to have a fully usable desktop while also utilising the GPU to stream games elsewhere?

Edit: ended up using Wolf and seemed to work perfectly. Certainly good enough to do what I set out to achieve, thanks for the recommendation.

89
submitted 3 months ago* (last edited 3 months ago) by Matty_r@programming.dev to c/programming@programming.dev

This is a first for me. I've got some personal projects I want to work on, and I really enjoy programming. Normally first thing in the morning I'll spend an hour waking up, drinking coffee, and writing some code.

I'm a professional software developer, and software development is a passion and hobby. But I felt like I needed a bit of a reset so I've made an effort to not write any code at all during the Christmas/New Years holidays (about 3 weeks).

Honestly I don't feel like I've missed out, but I'm definitely looking forward to getting back into it and I think I'll benefit from it. Ill be back at it again next week.

I know 3 weeks isn't a huge amount of time in the grand scheme of things. Have you found yourself taking a complete break from coding? How did you find things when you had to start up again? Felt like it benefitted you or ended up losing the trail a bit?

[-] Matty_r@programming.dev 49 points 4 months ago

Ffmpeg is definitely in there too

[-] Matty_r@programming.dev 136 points 5 months ago* (last edited 5 months ago)

When I was younger I had a computer where the front fell off and stripped the wires from the button.

To turn it on and off I had to hold the wires together, felt like I was hot wiring a car every time.

12

Hey all, I've been contemplating what approach I should take in my app, think along the lines of mapping with lots of UI elements but also a 2D portal/window for showing the map etc.

I want it to be cross platform so thought I'd go with Egui and look at implementing the "game" parts to that. But as I thought more about it, maybe it would be more beneficial to use Bevy and rely on its UI framework.

Thoughts? Maybe Bevy would be easier, but might be too much of a hit on performance because its not a game that I'm making. Egui might be more difficult to add the game stuff, but more performant and not running a full game engine.

I'm really conflicted. It would be good to be able to turn off/disable the game part of it to reduce load if it isn't needed at the time

9
submitted 6 months ago* (last edited 6 months ago) by Matty_r@programming.dev to c/selfhosted@lemmy.world

Hey all. I started writing an XMPP client just for learning purposes and I'm not sure on how widely used it actually is. Where is it actually used? Are there communities out there that actually use it?

Wasn't sure where to actually post this. Sorry if its a bit off topic

19

Hey all, just wondering if there are blogs or podcasts out there that cover common design patterns in Rust. I'm a Java dev and have tried a few times to get into Rust, but it feels like I'm solving problems in a way that aren't the most optimal for Rust because I'm still in that Java mindset.

Anyway I'm working on an XMPP client and my current challenge is working to implement some sort of event/listener system where I can trigger functions when I receive certain XMPP message types.

I put together a simple XML parser to deserialize (haven't done serialisation yet) messages which I can then determine the type of message it is. I was thinking maybe an event driven setup might work best here but not sure where to start in a Rust idiomatic way.

The idea would be we receive a Proceed message for TLS negotiation, this would trigger the tls_upgrade function which itself will send messages and need to react to the response as part of the negotiation step. But, again I'm not sure this would even be the best approach.

What I'm doing now is calling the tls_upgrade function which will do its own handling of sending a negotiation message, then looping on read_line on the stream hoping that the next message is the next needed message in the negotiation process.

So some advice on common patterns used in Rust in blog form or even podcasts would be a good learning resource.

Cheers.

1

Hey all, just hoping to get some advice on any software out there that can help me keep on top of all the VMs i'm running on my Proxmox instances, and potentially my other machines I have too.

I'm looking for a way to help me stay on top of updates and things like when the machine was last online, last rebooted etc etc. There are commercial products for such a thing, and I don't necessarily want to install any sort of Agent on each of the machines (if I can avoid it).

I looked at something like Homarr, but not sure if that's what i'm really after.

What recommendations do all you have?

[-] Matty_r@programming.dev 68 points 10 months ago

Nah just shove it through in random patterns like a hundred times. It works well enough.

[-] Matty_r@programming.dev 158 points 1 year ago

I'm an Aussie, and had landed in America for a holiday. Was really hungry and figured I'd just get a Quarter Pounder meal from Maccas at the airport. Order a Large meal because that's what I'd normally get at home. They bring out like a litre of coke, a gigantic box of fries, and the burger. It was absolutely atrocious.

[-] Matty_r@programming.dev 36 points 1 year ago

Its good that people care enough to keep finding these vulnerabilities

[-] Matty_r@programming.dev 52 points 1 year ago

Honestly must be incredibly stressful managing a project like the Linux kernel. Governments constantly wanting changes made for their own purposes, companies leeching off the work of volunteers, neck beards losing their minds over some change they don't like.

I don't envy them at all. This sort of change was inevitability going to piss people off - it could have been handled better but I think it was going to be lose/lose no matter which way it was done.

[-] Matty_r@programming.dev 80 points 2 years ago

When people say its not ready, it's normally some specific use case that worked in X11. So, they're not wrong, but not right either.

[-] Matty_r@programming.dev 42 points 2 years ago

Excellent - how many trees can I grow on my roof? Can they be retrofitted?

/s

view more: next ›

Matty_r

joined 2 years ago