@Lorgres
@lemmy.worldHi, 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?
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?
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?