13
submitted 2 weeks ago by Lorgres@lemmy.world to c/linux@lemmy.ml

Hi, I've been running Fedora Silverblue since version 39 and with 41 now releasing I feel like it would be wise to finally upgrade my Toolbx container from 39 to 41 too. I didn't change the container when I upgraded to 40 on the OS. I read a bit online and it seemed like the general opinion was that you shouldn't upgrade containers but rather create a new container with the new version.

How do you manage migrating settings (Codium + Extensions, Toolchains etc.) between containers without having to manually recreate everything?

[-] Lorgres@lemmy.world 4 points 1 month ago

The problem is really down to finding places where you can actually build something like a hydroelectric power plant.

You need a large area you can safely flood. (No villages in the area or only villages you can buy out the owners of) or a high up lake.

The area to flood needs to have the geology required to construct a dam safely.

And finally, the area needs to be pretty high up and have an area below you can direct the outgoing water to.

[-] Lorgres@lemmy.world 4 points 5 months ago

I was actually offered a Bachelor thesis topic by a company to write a test bench for a product in LabView.

From what they told me and my other engineering experience I'd suggest going with an approach similar to what's used with HDLs. For unit tests create test benches in the language itself which call the functions you want to test with a predefined input (e.g. from a file) and then analyse and save the output.

You can extend this to obtaining other information as well, but tbh I'll bet it's still gonna be a pain.

Hope that helps at least a little.

[-] Lorgres@lemmy.world 4 points 7 months ago

Us Germans are extra thorough. We wish both, breaking neck and leg.

[-] Lorgres@lemmy.world 6 points 7 months ago* (last edited 7 months ago)

Runescape/Old school runescape

Been playing since 2009. Sure I've taken breaks, sometimes multiple years, but I always return.

The old saying is true, "You never quit runescape, you just take breaks"

[-] Lorgres@lemmy.world 17 points 8 months ago* (last edited 8 months ago)

Thanks for putting it into relation to daily use. 200,000 is not realistic though. Just had a google and found this source citing up to 400 metric Tons/day

https://maritimepage.com/fuel-consumption-how-much-fuel-cargo-ship-use/

12 is 0.6% of 200,000 btw

[-] Lorgres@lemmy.world 7 points 10 months ago

My Harman Kardon pc speakers. They are as old as I am. Here's a pic of the same model I found online.

[-] Lorgres@lemmy.world 8 points 11 months ago

There are other alternatives too, like invidious. The yewtu.be instance works decently well for me but limits to 720p I think. There is a list of all running instances somewhere on the github iirc. There's other instances that allow full HD, just have a search and you should be able to find one.

[-] Lorgres@lemmy.world 6 points 11 months ago

Another system that does it well imo is Shadowrun. In 5th edition (never played the others) when you cast a spell you can take mental damage. If you cast the spell on a weak level you are fine but if you go full-out then you can KO yourself pretty quick. Especially if you roll bad on your damage resist roll.

[-] Lorgres@lemmy.world 5 points 1 year ago

Up until recently I was using a gtx 1060 just fine. Not sure about the high end ray tracing stuff though.

I'd say give it a try, I had a great experience. Never had any proton issues with an nvidia card my self. Just keep in mind nvidia drivers on Linux are notorious for being bad. If you choose an LTS distro or one that packages the drivers you'll be fine though. Pop!_OS LTS with the nvidia drivers is what I ran.

[-] Lorgres@lemmy.world 7 points 1 year ago

He may release them. With bee swarms it's common practice to starve them for a day before putting them into their new hive. That way they don't immediately swarm/leave again. Wouldn't be surprised if something like that works with hornets too. Starve them a bit then release them in the woods.

FYI no need for poison. Just use dish-soap water. (Works for bees at least and their carapace is the same material as hornets/wasps)

[-] Lorgres@lemmy.world 4 points 1 year ago

DotO is basically a huge DLC for Dishonored 2 and not a main game. It's still great though and has some fantastic lore. It also released in 2017, so a bit early for a spot on this list.

[-] Lorgres@lemmy.world 9 points 1 year ago

The 180° angle is just a (really weird) way of representing a long, straight, line. The rest of the angles add up to 180°.

1

Hi, I'm an embedded developer and trying to write some python software for a personal project (A bot for an idle game).

One concept I'm struggling with is asynchronous behavior and interrupts on desktop systems. I'm not really finding any good resources. I'm hoping one of you guys can explain this in a way that I get it or provide me some good resources to read.

What I want to do is pretty simple. I want to have a super loop around my software which runs until a condition is met (A specific key is pressed). I'd rather not use polling, requesting an input will block the software and require user input each loop. I've tried reading the keyboard state directly but the packages I used either didn't find my keyboard or required root access.

My preferred attempt would have been to register something like an interrupt handler which is called when a keyboard event is detected. The general suggestion on the internet for interrupts in python is the signal package. This however seems to only be for dealing with exceptions, not general interrupts.

Are interrupts for general events like I/O even a thing on desktops? And if so, how would I go about interacting with them from my code?

view more: next ›

Lorgres

joined 1 year ago