13
submitted 5 days 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 4 months ago

A shocking amount of microcontroller manufacturers have eclipse based IDEs for their chips. Thought that seems to be going out of style, luckily.

[-] Lorgres@lemmy.world 4 points 4 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 6 months ago

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

15

Hi, I'm looking to open-source a small CLI application I wrote and I'm struggling with how to provide the built app since just providing the binary will not work. I had a friend test it and he had to compile from source due to glibc version differences.

My first thought was providing it as a flatpak but that isn't really suitable for CLI software.

I've googled around a bit and most guides I find just mention packaging separately for multiple package managers/formats (rpm, apt etc.). This seems really inefficient/hard to maintain. What is the industry standard for packaging a Linux software for multi-distro use?

[-] 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 7 months ago* (last edited 7 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 6 points 10 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°.

0

Hi, with the upcoming CP2077 DLC increasing the system requirements I'm thinking of upgrading my system.

I was hoping you guys could give me some feedback on my plan, since my experience with building PCs is fairly limited.

My current setup: CPU: AMD Ryzen 5 3600 (12) @ 3.967GHz GPU: NVIDIA GeForce GTX 1060 6GB RAM: 16GB OS: Pop!_OS 22.04 LTS (Kernel 6.2)

From what I've been seeing when monitoring load levels my biggest bottleneck right now is the GPU. I'm not too sure about the CPU either, but it seemed fine for now.

My plan is to buy an Intel ARC GPU. I'm thinking of getting a 770 (8GB) since those are around 280€. I was planning on waiting for the second generation Arc cards but those are still a year away. The 16GB version of the 770 is around 100€ more and I couldn't find a reputable vendor (if anyone knows a good german vendor that carries it let me know) so I'll probably not get that one. I also checked and the Ryzen 5 3600 should have support for resizable BAR, which is required for good performance with Arc cards.

Do you guys think this is a reasonable upgrade or will my CPU just create a huge bottleneck?

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