isti115
12
27
isti115

@lemmy.world

isti115 24 points 3 years ago

Yes, this keyboard idea was quite a rollercoaster, because at first I blamed myself for not pulling it, but then I realized, that it wouldn't have helped even if I did, as Kanata keeps running just fine with the bound input device removed. 🙃

(Edit: Oh, sorry, you meant the power cable! 🤦‍♂️)

path: 0 4826194 4826281, hotness: undefined, score: 24, children: 2
isti115 23 points 3 years ago

Wow, this reflects quite well on the feelings! 😄 Also, it shows that it could've been much worse. 😐

path: 0 4827101 4827813, hotness: undefined, score: 23, children: 0
isti115 14 points 3 years ago

Glad you liked it! 😀
Being able to at least entertain people by sharing my misfortune makes it more bearable. 😉

path: 0 4826109 4826291, hotness: undefined, score: 14, children: 2
isti115 13 points 3 years ago

Oh man, did that feel like a long time until I managed to get there... Adding insult to injury was that every step took two tries. First I didn't type my username for ssh, which resulted in the default termux user being used, so I had to cancel that and try again. After that I tried pkill kanata, which responded with killing pid ... failed: Operation not permitted, which made me realize, that it's running as root, so I need to use sudo to stop it.

All this time I was hammering C-c with my other hand and keeping an eye on the screen as well to see what is happening. 😶

path: 0 4826194 4826292 4826611 4828100, hotness: undefined, score: 13, children: 1
isti115 12 points 3 years ago

First of all, great image 👍, but isn't it the record button that's usually red? 😀

path: 0 2880974, hotness: undefined, score: 12, children: 1
isti115 7 points 3 years ago

Thanks for the advice, but lo and behold, the issue was actually caused by a newly introduced generic parameter not being defined after a dependency update. 🙃 Oh, the wonders of the JS/TS ecosystem...

path: 0 6444652 6452547, hotness: undefined, score: 7, children: 0
isti115 6 points 3 years ago

Yepp, "Lateral with Tom Scott, Episode 58: Straight-line sports" in case anyone's looking for it. https://lateralcast.com/

path: 0 5642812 5647725, hotness: undefined, score: 6, children: 0
isti115 5 points 3 years ago

If you are not afraid to experiment with some more advanced tools, AOSPMods has options to set the number of quick settings rows and columns, which worked well for me. (I was initially annoyed by this change as well, but I eventually got used to it.)

path: 0 602169 603761, hotness: undefined, score: 5, children: 0
isti115 5 points 3 years ago

1.) I'm using wayland (river as a compositor at this point), and have not set up a key combo for riverctl exit in fear of an accidental trigger, but it might actually be a good idea.
2.) As far as I know, that only applies to the VTTYs.
3.) Setting up a screen locker program does seem like a good option for preventing unwanted input (which can occur for other reasons as well, such as my one year old son 😀) without potential loss of work / data! Is swaylock the go to solution for this nowadays?

path: 0 4829661 4830221, hotness: undefined, score: 5, children: 3
isti115 3 points 2 years ago

You mean it's only included in the Plus Max Ultra Platinum VIP Extra™ plan? 😀

path: 0 14879499 14886869, hotness: undefined, score: 3, children: 0
isti115 3 points 3 years ago

Lots of great extensions have been listed already, but here's one that I haven't seen mentioned yet and I really like: https://unhook.app/

path: 0 2770115, hotness: undefined, score: 3, children: 1
isti115 3 points 3 years ago

Because ortholinear split keyboards aren't that easy to come by (I got tired of confusing my fingers when reaching for letters between them, now there is no "between", just straight columns. Also, I can hold my hands at shoulder width!), on the other hand this was an option I had all the necessary hardware for, and with some software configuration it is actually really usable!

(The question could potentially also be "Why aren't more people using two numpads as a keyboard?", but I guess that the answer would be somewhere between they don't care about and they don't know about the advantages it would provide. 🙃)

path: 0 4859892 4864879, hotness: undefined, score: 3, children: 0
isti115 3 points 3 years ago

The idea was from here: https://nitter.net/... (The original reddit post has since been deleted.), but imagine the same with the Genius Numpad i100, which can be had for around the equivalent of $10 here. 😀

This isn't long-term though, I just had it lying around and figured out how to make it work using evsieve to combine two keyboards into one and kanata to create the mapping. I am planning on building a piantor for myself, I just wanted to check if I could get used to an ortholinear 36 or 34 key layout, and so far it looks like I can adjust well.

path: 0 4826109 4826291 4830887 4839170, hotness: undefined, score: 3, children: 0
isti115 3 points 3 years ago

Whoa, I just checked out some images, that one is on another level as well for sure. 😀 If he's as good at fighting bugs as criminals, you're in good hands wings!

path: 0 6438154 6452517, hotness: undefined, score: 3, children: 0
isti115 3 points 3 years ago

Well, I'd suggest asking around your nearest toddler, that's how I managed to borrow this one. 😀 Probably it has been inherited through several generations, that might explain it's wisdom!

path: 0 6439353 6482019, hotness: undefined, score: 3, children: 0
isti115 3 points 2 years ago

Thank you for the idea! I didn't know about the --inodes flag before, this seems like a viable solution for systems where I can't / don't want to install additional software!

path: 0 7767489 7786295, hotness: undefined, score: 3, children: 0
isti115 3 points 2 years ago

Oh, wow, thank you! I had ncdu installed, but it was an older version, which didn't yet have this feature. Now that I updated to the newest (Zig based 🎉) release this looks perfect for my needs!

path: 0 7767067 7786251, hotness: undefined, score: 3, children: 0
isti115 2 points 3 years ago path: 0 6276261 6277877 6310873, hotness: undefined, score: 2, children: 1
isti115 2 points 3 years ago

I am not a telecommunications expert by any means, but with a background in computer science I would be very surprised if this actually had anything to do with physical vs eSIMs. I myself have a Pixel 7 with one physical and one eSIM active and the only abnormal battery drain I have noticed so far was due to the YouTube revanced app staying active for hours in the background for some reason.

path: 0 132816, hotness: undefined, score: 2, children: 1
isti115 2 points 2 years ago

#FSharp https://github.com/...

I usually choose to learn a new language each year using these great little puzzles, this time it's FSharp. This naturally means that my solutions will be poorly written at first, since I'm not yet familiar with the language and make do with what I have. For example I'm pretty sure that there should be a better way to parse today's input instead of this monstrosity:

let pairs = lines |> Seq.map (fun l -> Regex.Matches(l, "(\d+)\s+(\d+)"))

let numpairs =
    pairs |> Seq.map (Seq.head >> _.Groups >> Seq.tail >> Seq.map (_.Value >> int))

let numtups = numpairs |> Seq.map (fun p -> (Seq.head p, p |> Seq.tail |> Seq.head))

Also, I was pretty surprised that I couldn't find the unzip function for sequences. I would've expected that to be present after using some other functional languages, such as Haskell and Scala. 🤔

Edit: Scratch that, I just need to convert the sequence into a list first... 🤦‍♂️ It actually makes complete sense. https://fsharp.github.io/... Also, I have managed to clean up the parsing a little bit.

path: 0 13736340, hotness: undefined, score: 2, children: 0

thanks for using Leebra!

go to feed...