Lorgres

joined 1 year ago
 

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 (1 children)

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.

[–] Lorgres@lemmy.world 2 points 6 months ago

Are you me? This is almost my exact situation. Only difference is that I convinced them to PF2e from The Dark Eye 5 (DSA5).

[–] Lorgres@lemmy.world 2 points 6 months ago (1 children)

Hi thanks for the reply. Could you elaborate on why building for an old distro may be benefitial/a good solution? Thanks for mentioning this developer/maintainer dynamic. It's not a concept I was aware of.

Do you have any projects with good READMEs you could point me to, so I can get an idea of what's important to address?

[–] Lorgres@lemmy.world 2 points 6 months ago (1 children)

I see, thanks for the info. I wasn't even aware that this developer/maintainer dynamic exists. It makes a lot of sense though. I'll start by creating some documentation about building the software and then maybe create an example package for rpm.

 

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) (2 children)

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 2 points 7 months ago (1 children)

Melvor Idle is a great call. The base game is a solid idle game and there's a load of mods too.

I did a HCCO12B (Hardcore combat only, 12 bank slots only) run when the game first released.

Reinstalled the game yesterday and started another HCCO run using the new mod, it adds some QoL and tweaks.

My only negative about it is that when playing normally, I always feel like there's a perfect/optimal strategy and I should figure it out before playing.

[–] Lorgres@lemmy.world 6 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 10 months ago (6 children)

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.

 

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 ›