trevor (he/they)

Hello, tone-policing genocide-defender and/or carnist 👋

Instead of being mad about words, maybe you should think about why the words bother you more than the injustice they describe.

Have a day!

  • 0 Posts
  • 30 Comments
Joined 2 years ago
cake
Cake day: June 10th, 2023

help-circle



  • Thanks for asking. It’s partly OOP, but more than that, C++ is just rife with footguns and is basically unreadable for me.

    I think C is much more readable and I find imperative/procedural programming to be much more delightful and readable.

    Rust is my absolute favorite though, because it removes the footguns of most lower-level langs while being just as performant. The only trade-off is that you need to understand the borrow checker, but working with it becomes substantially easier over time and saves an ungodly amount of headaches. You can also write something that very closely approximates OOP, without the most of the footguns (like inheritance, until you get into more advanced stuff like trait objects, anyway).




  • I have the same mouse, and that scroll wheel is unusable. It requires a ton of effort to just scroll tiny amounts because the sensitivity is waaay too low and it cannot be adjusted. The rest of the mouse is really nice because it runs QMK.

    I set up drag scrolling as a workaround for the shitty scroll wheel, which allows you to press a button (or a combination of buttons) and then use the mouse’s optical sensor as an omnidirectional scrolling device until you release the button.

    I set that up on my Ploopy Adept hand trackball mouse as well. It’s my favorite mouse I’ve ever used.







  • The new indirect GPU driver is AMAZING. I’ve previously suffered through getting GPU passthrough on one of my systems before, but I no longer need to because Linux flawlessly plays every game that I could ever want.

    But I never liked that the VMs that I used for more general purpose stuff had choppy display performance. The indirect GPU driver sounds like it’s as easy as installing the driver in the VM and you’ll get much smoother graphical performance without the headache of configuring GPU pass through, which is awesome! I’d love to see that functionality baked in to stuff like Virt Manager and GNOME Boxes.








  • I’m very firmly in the Rust for Linux camp because I am in the “make Linux better” camp, and I don’t see why eventually getting Zig in the kernel would be a problem. If Zig solves problems that C and Rust don’t, by all means, it should be brought in.

    However, one of the primary reasons Rust was chosen is that it is memory-safe by default. Zig, on the other hand, has opt-in safety. So unsafe Zig should probably only go in very specific places where C and Rust can’t do the job. And ideally, there would be some rules that require the usage of safe Zig everywhere else.

    Ignoring Zig, the language, Zig’s compiler toolchain is hands-down, the best I’ve ever seen, and I think introducing Zig to the kernel by making “Zig-built Linux” a thing, would be a really natural way to get that process going.