1
22
Snarwin

@kbin.social

Snarwin 36 points 3 years ago

This technique is called Huffman coding, and it's used in a number of compression algorithms.

path: 0 2939712, hotness: undefined, score: 36, children: 2
Snarwin 22 points 3 years ago

As someone who occasionally dabbles in music production on Linux, I love that Pipewire lets me run JACK and Pulseaudio apps side-by-side without having to jump through hoops.

path: 0 7838789, hotness: undefined, score: 22, children: 0
Snarwin 19 points 3 years ago

On my distro (debian) I can use systemctl --user restart pipewire.service.

path: 0 7837511 7838645, hotness: undefined, score: 19, children: 5
Snarwin 16 points 3 years ago

By paying for Bing to be the default search engine of Firefox.

path: 0 1712596 1713253 1716286 1716403 1716494, hotness: undefined, score: 16, children: 0
Snarwin 16 points 3 years ago

If you're using a shell script to install software, you've already failed.

Better alternatives include

  • Third-party package managers like Homebrew and Nix.
  • Language-specific package managers like pip and npm.
  • Self-contained package formats like Flatpak, Snap and AppImage.
  • Using checkinstall to turn a package with an install script or a "make install" command into a package your distro recognizes.
  • Downloading a tarball and using GNU Stow to install it into /usr/local.
  • Compiling from source and installing in $HOME.
path: 0 6006144, hotness: undefined, score: 16, children: 2
Snarwin 14 points 3 years ago

For me, Crunchbang was a great introduction to the possibilities of customizing your Linux experience. No giant, monolithic desktop environment, just a handful of programs that you could (and were encouraged to) tweak or replace to your heart's content.

I still run a Crunchbang-inspired setup on my vanilla Debian install—openbox, tint2, conky, nitrogen, gmrun, Win+Letter hotkeys for frequently-used apps, etc. While I've outgrown the need for a preconfigured distro myself, I'm glad to see these projects still providing an on-ramp for users looking to dip their toes into the deeper end of the Linux pool.

path: 0 7172189, hotness: undefined, score: 14, children: 0
Snarwin 8 points 3 years ago path: 0 7749839 7752722 7760402 7770498 7773458, hotness: undefined, score: 8, children: 0
Snarwin 6 points 3 years ago

Personally my only gripe with systemd is that the systemctl and journalctl commands are cryptic and unintuitive. Every time I have to use one (which thankfully isn't often), I have to spend 5 minutes reading man pages to remind myself whether -u is "user" or "unit", what the difference is between a "unit" and a "service", etc.

I imagine this is what non-developers feel like when they're forced to use git—having a whole pile of unfamiliar vocabulary and syntax thrown in your face when you're just trying to do one simple thing.

path: 0 6345158, hotness: undefined, score: 6, children: 1
Snarwin 6 points 3 years ago

Same thing happened to me. Borked my Windows install and didn't have a recovery disc, so I just wiped the whole thing and went Linux-only. Never looked back since. :)

Sometimes, all you need is a little push to get you out of your comfort zone.

path: 0 6248969, hotness: undefined, score: 6, children: 0
Snarwin 5 points 3 years ago

If you actually read the post, you'll see that there's no "business risk"—the entire audiobook is already recorded. He's just using Kickstarter as a platform to sell pre-orders.

path: 0 1967300 1967905 1971012, hotness: undefined, score: 5, children: 0
Snarwin 4 points 3 years ago

As long as you copy from the device file (/dev/whatever), you will get "the raw bits", regardless of whether you use dd, cp, or even cat.

path: 0 8952067 8981151 8997847, hotness: undefined, score: 4, children: 1
Snarwin 4 points 3 years ago

The first step after you untar is always "open the README and look for build instructions."

path: 0 6645637 6647590 6685833, hotness: undefined, score: 4, children: 1
Snarwin 3 points 3 years ago

In "set" mode, the game doesn't ask you if you want to switch every time an opposing trainer sends out a new pokemon.

path: 0 6387709 6387804 6387919 6396369 6399374, hotness: undefined, score: 3, children: 1
Snarwin 3 points 3 years ago

You could try the solution suggested in this reddit thread, and use systemctl to start and stop wireguard instead of wg-quick.

path: 0 7617711, hotness: undefined, score: 3, children: 0
Snarwin 3 points 3 years ago

Alt+Backspace works in bash too, and should work in any other command-line program that reads input using readline.

path: 0 3709168 3709716, hotness: undefined, score: 3, children: 0
Snarwin 2 points 3 years ago

You're thinking of Mtgox, a Magic card trading website that reinvented itself as a Bitcoin exchange—and then disappeared with its users' money.

path: 0 8216866 8217001 8217673 8221851 8222146 8291476, hotness: undefined, score: 2, children: 0
Snarwin 2 points 3 years ago

There's also vidir from moreutils, which lets you bulk-rename files in your $EDITOR of choice.

path: 0 6219649 6219814 6223612, hotness: undefined, score: 2, children: 0
Snarwin 2 points 3 years ago

I've been playing CrossCode, an indie action RPG that's basically a love letter to 2D retro games.

I've found it incredibly engaging, almost addictive. I'll sit down to play, and multiple hours will pass in what feels like no time at all. There are parts where the difficulty gets high enough to become genuinely frustrating (mostly in the puzzles, not the combat), but the game feels so good to play that I've never been tempted to quit. It does an incredible job of evoking the feeling of a retro game without compromising on modern quality-of-life features or polish.

I've found lately that polish is the single thing that most makes a game stand out in my mind, and perhaps surprisingly, some of the most polished experiences I've had have been with indie games. Hollow Knight was one of them, and from what I've seen so far, I'd rank CrossCode in the same league. Very excited to see how the story ends, and check out the DLC.

path: 0 7769589, hotness: undefined, score: 2, children: 0
Snarwin 2 points 3 years ago

Honestly, meetings like the one you describe don't sound like they'd be helpful for anyone, especially not beginners. You say you "feel like" the new developers are getting something out of them, but have you actually asked them? My guess is, they're just as bored as you are, but doing a better job of hiding it.

path: 0 7482808, hotness: undefined, score: 2, children: 3
Snarwin 1 point 3 years ago

Naturally they only get to charge for already-sold copies if you accept the new terms that include the charges. As for how it's legal to include those charges in the new terms to begin with, I guess you'd have to ask a contract lawyer. Presumably Unity's own lawyers are convinced they can get away with it, or they wouldn't have done it.

path: 0 3481855 3482444 3482904 3513002 3513863 3534132, hotness: undefined, score: 1, children: 0

thanks for using Leebra!

go to feed...