Matty_r

joined 2 years ago
[–] Matty_r@programming.dev 1 points 4 hours ago

Yea that sucks, but you use the gym for your big stuff - squats, bench, deadlift, machines etc. Then at home you have the small stuff i.e bands, kettlebells, yoga mat, bosu ball, etc - stuff that can be used for bodyweight exercises.

Go to the gym twice a week, then do other bodyweight, core, and hypertrophy stuff at home for the other 2-3 days.

Still - start going to the gym more often and try different stuff there to get an idea on what you like.

[–] Matty_r@programming.dev 1 points 5 hours ago (2 children)

If possible, sign up for a gym for a few months to a year, to get an idea on what sort of stuff you want to do. Building out a gym can be a big commitment, and expensive.

[–] Matty_r@programming.dev 1 points 5 hours ago

I have my phone running grapheneos set to automatiically switch off Bluetooth after not being used for 5 mins. Makes life easier for sure.

[–] Matty_r@programming.dev 4 points 16 hours ago (1 children)

Stupid dog, with his stupid bee suit. Keeps following me everywhere, gawd!

[–] Matty_r@programming.dev 4 points 19 hours ago

I'm getting a 404

[–] Matty_r@programming.dev 3 points 1 day ago

🐱 Hang in there

[–] Matty_r@programming.dev 12 points 2 days ago (2 children)

ears start bleeding

[–] Matty_r@programming.dev 9 points 3 days ago (3 children)

Haven't heard of that guy since Giant Bomb - of which I haven't even thought about for years.

[–] Matty_r@programming.dev 0 points 3 days ago

Best I can do is $2.

[–] Matty_r@programming.dev 8 points 4 days ago (9 children)

I imagine there would be a gigantic list of safety concerns for self-closing doors.

 

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.

[–] Matty_r@programming.dev 16 points 1 week ago (1 children)

This is the thing that the Gnome devs are desperately trying to replicate.

[–] Matty_r@programming.dev 4 points 1 week ago (2 children)

I've actually had a lot of cats. Literally never needed to trim their nails. I guess we've got different ideas on how to look after cats. Each to their own.

 

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.

 

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?

 

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

 

Hey all I'm working on writing an XMPP client and just doing some casual research. What would you say makes a client better than others? Cross platform? Native/web client?

I'm trying to decide if I focus on just a desktop client - which would reduce the scope, but it might be better to focus on a something more web based (I.e electron)

42
submitted 4 months ago* (last edited 4 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

 

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.

 

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?

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

Hey all, Just wondering what you use for hardware monitoring if you have an app that can show various speeds and temperatures etc?

Quick edit: what about stress testing as well?

 

Hey all, I know that switchable graphics is a thing in laptops where there is usually a single port. But how would you go about it on desktop? Do you put your monitor in the onboard HDMI or on the dGPU port? There are other issues associated with doing it of course, but I thought it might save on power and noise if I used the iGPU as much as possible.

Only have a nvidia GPU at the moment, but hoping to get an AMD 9070 at some point

 

Hey all, just looking for some advice. I'd like to do a WASM application, just generally like a calendar + notes app. I'd like it to work on mobile and desktop through the browser. It'll be served through Actix with Diesel for the backend. For the "frontend" I was thinking egui or leptos.

I'd like to avoid any JavaScript, so thought SSR might be the best approach.

Any thoughts/pitfalls? Should I look at something else for the frontend?

Its a lot of working parts for a calendar + notes app, but this will be a testing ground to see if I can get it all going :S

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

Hey all, i've decided I should probably setup something else to help block nefarious IP addresses. I've been looking into CrowdSec and Fail2Ban but i'm not really sure the best one to use.

My setup is OpnSense -> Nginx Proxy Manager -> Servers. I think I need to setup CrowdSec/Fail2Ban on the Nginx Proxy Manager to filter the access logs, then ideally it would setup the blocks on OpnSense - but i'm not sure that can be done?

Any experience in a setup like this? I've found a few guides but some of them seem fairly outdated.

Edit: thanks everybody for the great info. General consensus seems to be with crowdsec so I'll go down that path and see how it goes.

Edit 2: So after having it up and running for the better part of a day, i'm going to remove it again. For some reason there was a performance impact loading websites, probably because it was waiting for a response from the Crowdsec hub? Either way, after stopping it from running everything is back to normal again. So I might revisit how I do it and probably try Fail2Ban now instead. Thanks everybody

view more: next ›