[-] edinbruh@feddit.it 39 points 3 days ago

Isn't some energy still dissipated as light instead of heat?

[-] edinbruh@feddit.it 2 points 6 days ago

What doesn't kill you, will do it later

69
submitted 1 week ago by edinbruh@feddit.it to c/opensource@lemmy.ml

cross-posted from: https://feddit.it/post/28858403

A friend and I wanted to use a Wiimote as a PC remote for movie night. We have tried various existing software, but all had some issues: some were old Xorg-only programs, some didn't have proper IR tracking, and all were abandoned by the developer. But most of all, no software (even modern remappers like InputPlumber) had any support for key combos. So, we set out to write our own.

Some of our requirements were:

  • Key combos (the wiimote has only few buttons)
  • Proper IR tracking
  • The ability to enable or disable the IR with a key combo
  • Having no observable latency

We first developed "esperto" a powerful system for describing and detecting key combos, which we implemented in this library. It is generic so it can be used on pretty much anything that needs combo detection. At first, we intended to plug that into InputPlumber, but then decided it would be easier to do everything ourselves.

So, we ported this IR tracking algorithm from Hector Martin to rust, and put it together with our esperto library, and this is the result. It is extremely fast (mostly dominated by the actual latency of evdev's and uinput's UAPI), and it meets all of our requirements. And we already have ideas for future improvements, for example how to add support for wiimote extensions.

84
submitted 1 week ago by edinbruh@feddit.it to c/linux@lemmy.ml

A friend and I wanted to use a Wiimote as a PC remote for movie night. We have tried various existing software, but all had some issues: some were old Xorg-only programs, some didn't have proper IR tracking, and all were abandoned by the developer. But most of all, no software (even modern remappers like InputPlumber) had any support for key combos. So, we set out to write our own.

Some of our requirements were:

  • Key combos (the wiimote has only few buttons)
  • Proper IR tracking
  • The ability to enable or disable the IR with a key combo
  • Having no observable latency

We first developed "esperto" a powerful system for describing and detecting key combos, which we implemented in this library. It is generic so it can be used on pretty much anything that needs combo detection. At first, we intended to plug that into InputPlumber, but then decided it would be easier to do everything ourselves.

So, we ported this IR tracking algorithm from Hector Martin to rust, and put it together with our esperto library, and this is the result. It is extremely fast (mostly dominated by the actual latency of evdev's and uinput's UAPI), and it meets all of our requirements. And we already have ideas for future improvements, for example how to add support for wiimote extensions.

[-] edinbruh@feddit.it 76 points 1 month ago

On KDE and on MacOS, if you shake the cursor it becomes larger

[-] edinbruh@feddit.it 88 points 1 month ago

P.S.A. flock cameras do not have 2.4lbs of copper and 0.28oz of gold in each. They actually have 2.4 kilos of copper and 280 grams of gold in each. Just smash one to bits and see for yourself!

8
submitted 1 month ago by edinbruh@feddit.it to c/Silksong@indie-ver.se

My god! I have been stuck here for hours! I know there's a shortcut after the third gauntlet, but I can't even beat the second! I only beat it once and then died in the first wave of the next one! High halls was a piece of cake compared to this, at least you didn't have overlapping waves and so much area denial. And those flying things are fucking annoying, they are always barely out of reach! Why is everyone always ranting about high halls and not this?

Please, tell me it's the last time I have to deal with these ridiculous gauntlets. Or at least that there will be checkpoints. This is like a forced boss rush but worse because at least bosses are fun.

26
submitted 1 month ago by edinbruh@feddit.it to c/Silksong@indie-ver.se
31
submitted 1 month ago by edinbruh@feddit.it to c/Silksong@indie-ver.se
46
That's just mean (feddit.it)
submitted 1 month ago by edinbruh@feddit.it to c/Silksong@indie-ver.se
33
submitted 2 months ago* (last edited 2 months ago) by edinbruh@feddit.it to c/Silksong@indie-ver.se

I just did the twisted child ending. I wanted to get all silk hearts before, but I was so frustrated by failing The Unravelled that I had to leave it and try some good bosses instead. I'd say The Unraveled is on par with Broodmother as worst boss yet.

34
Here we go again (feddit.it)
submitted 2 months ago by edinbruh@feddit.it to c/Silksong@indie-ver.se
23
submitted 2 months ago by edinbruh@feddit.it to c/Silksong@indie-ver.se
29
submitted 3 months ago by edinbruh@feddit.it to c/Silksong@indie-ver.se

I'm still not over how bad the broodmother was

25
submitted 3 months ago* (last edited 3 months ago) by edinbruh@feddit.it to c/Silksong@indie-ver.se

I hate this bossfight, I've been at it for like 5 hours, it's so annoying, everything is absolutely random. And the reward is too low... 220 rosaries? Seriously? I could get those in 3 minutes by farming the three pilgrims next the halfway home!

Edit: I just did high halls, it took fewer attempts than broodmother. This is bullshit.

38
submitted 3 months ago by edinbruh@feddit.it to c/Silksong@indie-ver.se

Still easier than delivering the flower, tho

[-] edinbruh@feddit.it 76 points 3 months ago* (last edited 3 months ago)

What project is this? I have never seen a reaction like that, if anything I've had the opposite, where I said it was a minor inconvenience and the maintainer said "what do you mean 'minor'? This is terrible!"

[-] edinbruh@feddit.it 119 points 3 months ago

Prove me wrong. There is a teapot in orbit, somewhere between the earth and the sun.

[-] edinbruh@feddit.it 92 points 5 months ago

at the 33rd round you do

[-] edinbruh@feddit.it 74 points 2 years ago

Straightest Griffith interaction.

Also, fuck Griffith

[-] edinbruh@feddit.it 90 points 2 years ago

AI upscaling, I think

[-] edinbruh@feddit.it 92 points 2 years ago

I am a computer scientist after all

[-] edinbruh@feddit.it 106 points 2 years ago

If I get back to 2005 I can easily get more than 10 millions by the time it's 2024 again. Plus all the other perks of restarting your life

[-] edinbruh@feddit.it 78 points 2 years ago

Dude what are you talking about, it was still here less than 15 years ago. The Nintendo Wii literally had an ATI GPU

view more: next ›

edinbruh

joined 3 years ago