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
  • 511 Comments
Joined 2 年前
cake
Cake day: 2023年6月10日

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.



  • I posted this in another thread, but reposting here because a lot of people, including myself up until very recently, were under that impression:

    I’ve packaged a CLI that I made as a flatpak. It works just fine. Nothing weird was required to make it work.

    The only thing is that if you want to use a CLI flatpak, you probably want to set an alias in your shell to make running it easier.

    I’m not sure why more CLIs aren’t offered as flatpaks. Maybe because static linking them is so easy? I know people focus on flatpak sandboxing as a primary benefit, but I can’t help but think that if static linking was easier for bigger applications, it wouldn’t be needed as much.


  • I’ve packaged a CLI that I made as a flatpak. It works just fine. Nothing weird was required to make it work.

    The only thing is that if you want to use a CLI flatpak, you probably want to set an alias in your shell to make running it easier.

    I’m not sure why more CLIs aren’t offered as flatpaks. Maybe because static linking them is so easy? I know people focus on flatpak sandboxing as a primary benefit, but I can’t help but think of static linking was easier for bigger applications, it wouldn’t be needed as much.


  • I’m not quite sure why you think pointing out someone’s confidently incorrect claim that containers do give you reproducible environments means that I fetishsize anything?

    But if you genuinely want to know why reproducibility is valuable, take a look at https://reproducible-builds.org/.

    I was quite happy to see that Debian and Arch have both made great strides into making tooling that enables reproducible packages in recent times. It’s probable that, because of efforts like this, creating reproducible builds will become easier/possible on most Linux environments, including traditional container workflows.

    For now though, Nix Flakes are much better at enabling reproducible builds of your software than traditional containers, if you can suffer through Nix not being documented very well. This article covers some more details on different build systems and compares them with Nix Flakes if you want more concrete examples.

    FWIW, I think that containers are awesome, and using them for dev environments and CI tooling solves a lot of very real problems (“it works on my machine”, cheap and easy cross-compilation for Linux systems, basic sandboxing, etc.) for people. I use containers for a lot of those reasons. But if I need to make something reproducible, there are better tools for the job.