[-] Commodore@lemmy.world 1 points 13 hours ago

Thanks for your detailed reply. I can feel I'm out of my depth in many ways, but between your reply and the others I've gotten, I have a lot of entryways into the problem, and I'm looking forward to figuring out how to make it work. I've done a bit of coding in C++ in the past as well; maybe that would also be an option. But since the purpose of the exercise is primarily to get more familiar with Rust, I think I'll exhaust whatever options I have down that path first. Thanks again :)

[-] Commodore@lemmy.world 1 points 19 hours ago

Thanks so much for taking the time to write that long post. I have lots of things to dig into now. I think I'd prefer not injecting anything into the game for the reasons you mentioned, the most important consideration being the anticheat risk. I don't know what the company behind the game have implemented of that nature.

[-] Commodore@lemmy.world 1 points 20 hours ago

OP here. Thanks for your reply. If what you're asking is the case, I'd be happy to find a solution that runs under X instead. This tracker would in any case mostly be for my own use. I was just excited to finally get Wayland working with my NVIDIA card with the explicit sync stuff.

24
submitted 21 hours ago by Commodore@lemmy.world to c/rust@programming.dev

Hi. I've been learning Rust for a while, and I want to take on an actual project now to learn even more. I need to be pointed in the right direction for one aspect of the affair, and I hope someone here can help me.

I want to create a deck tracker for Hearthstone that runs natively in Linux. This is, on the back end, a fairly simple matter of parsing a constantly updated file that tracks everything that happens in the game. On the front end, however, I want to create a window that sits on top of the fullscreen Hearthstone window and shows me stuff. The "stuff" doesn't have to be images or anything fancy, I'll take whatever I can get, but I don't know how to get started on this part.

So the task is as follows: Create an overlay on top of the fullscreen Hearthstone client, preferably under Wayland, and update it constantly with new information about cards drawn, cards left in deck, that sort of thing.

How do I tackle this problem? Are there any crates that'll let me create such a window and render stuff to it? How would you approach the problem?

Thanks in advance.

[-] Commodore@lemmy.world 20 points 2 months ago

If you ever wonder why the people you know seem to be better friends with each other than with you, or why they look away while talking with you, or why they always seems to excuse themselves after interacting with you for only a very short time, this post is why.

[-] Commodore@lemmy.world 5 points 3 months ago

That's exactly why I am on Tumbleweed as well.

I am not German myself, but most of my colleagues are. Having gotten to know the German attitude towards technology, I feel I understand why life with openSUSE is as uneventful as it is. How anyone got them to adopt something as subversively radical as a rolling release model is something of a mystery to me, but I won't complain.

[-] Commodore@lemmy.world 5 points 3 months ago

Thanks for this clarification. I didn't consider that someone might run btrfs without snapshots, but I suppose that might even be quite common. I don't get out much.

[-] Commodore@lemmy.world 38 points 3 months ago* (last edited 3 months ago)

There are a bunch of software-related reasons why openSUSE is a good choice (snapper, zypper, yast, to name a few), although few are exclusive to openSUSE. I think the primary selling point of openSUSE (Tumbleweed) is that it is a rolling release distro that never crashes, never requires attention, and just works. One of the reasons people don't talk about it is probably that it is boring. All packages are tested extensively. It never breaks. And even if it did break, the default btrfs file system and snapper ensure that the system doesn't stay broken for longer than it takes to reboot.

If you want a distro that is up to date, easy to use, and dependable, openSUSE is a fantastic choice. It's just not very exciting to have something that never requires attention; a lot of people use Linux because they like things requiring attention.

As an afterthought, I also think the fact that openSUSE and its users seem to be pathologically unable to create any logo or symbol for anything even tangentially related to the distribution that doesn't look like absolute shit might be holding them back.

Commodore

joined 3 months ago