Skip Navigation
How do you test visual programing languages?
  • 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.

  • How to efficiently package CLI application on linux
  • 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?

  • How to efficiently package CLI application on linux
  • 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.

  • How to efficiently package CLI application on linux

    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?

    13
    What is the last video game that you were completely hooked on?
  • 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"

  • What are the best indie games you've ever played?
  • 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.

  • YouTube is deliberately crippling Firefox on ARM systems
  • 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.

  • I'd prefer to have the unlimited plan
  • 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.

  • Proton 8.0-4 Released with Support for More Windows Games on Linux
  • 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.

  • Philly thief steals a shop-vac filled with hundreds of giant hornets
  • 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)

  • Leaked email reveals Phil Spencer's damning verdict on AAA games: 'Most publishers are riding the success of franchises created 10+ years ago'
  • Same. At least with Deus Ex I have some hope left. Iirc the studio (Eidos?) was sold by Square Enix and the new owner may have them work on a new Deus Ex.

    If you like those kind of games it may also interest you that Dishonored 3 being planned was part of the leaks last week.

  • Advice on upgrading GPU
  • Thanks! I'm not dead set on an Intel card but I had trouble understanding which AMD cards are comparable. Can you suggest any AMD cards to look into around the same price/performance point?

  • Advice on upgrading GPU

    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?

    8
    Interrupts in desktop systems [Python]

    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?

    0
    InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)LO
    Lorgres @lemmy.world
    Posts 4
    Comments 19