[-] mrh@mander.xyz 7 points 5 months ago

Yeah Clojure is like the monkey's paw of Lisp weenies. It adds many modern day niceties that are lacking in standard Scheme or Common Lisp, but also changes enough things to make it feel very un-lispy. I go back and forth as to whether or not I even consider it Lisp (Richard Stallman doesn't).

But I do know that I'd rather write Clojure than any other non-lisp language.

I'd also recommend people try ABCL, which is Common Lisp on the JVM , or Parenscript which is Common Lisp that compiles to Javascript.

[-] mrh@mander.xyz 7 points 8 months ago* (last edited 8 months ago)

M-% NixOS RET Guix RET !

But yes 80% of my comment applies to Nix as well, as of course Nix is older and Guix is (conceptually) based on Nix. Though I personally use/prefer Guix.

[-] mrh@mander.xyz 7 points 8 months ago* (last edited 8 months ago)

Yes GNU Guix is a linux distro.

The package manager for Guix (also called guix) is also a portable package manager which works on any linux distro, similar to flatpak, nix, homebrew, etc.

Guix's claim to fame is that it is a functional distro/package manager, meaning that all changes are atomic, so installing/upgrading/deleting packages never leaves your system in a broken state.

Not only that, but if you make some change to your system and it breaks for normal reasons (e.g. newest software version has a bug), you can roll back to your previous system state with all your previous packages and their versions, and this roll-back operation is also atomic.

Guix the distro not only let's you do package management this way, but also let's you do declarative system configuration. This means rather than manually rummaging around /etc changing files and hoping nothing breaks, there's simply a single config file which declares all of your system configuration. From your kernel to users, partitions, system services, and just about anything else, all the configuration is declaratively done in one place with one language (Guile Scheme). Any changes you make to your system this way are also of course atomic and can be rolled back.

It even comes with a built in system called guix home which lets you bring that same level of declarative, atomic configuration to your user's home environment, letting you manage user level packages, dotfiles, env variables, and more with a single home configuration file.

There are other goodies too, such as the ability to spawn one-off shell environments with the guix shell command, dropping you in a shell with all the packages and env variables you declare, keeping your regular user environment clean (very nice for development).

There's even more, but at this point if you're still interested just head over to the site and the docs.

[-] mrh@mander.xyz 5 points 11 months ago

Metroidvanias of knowledge a la Outer Wilds

[-] mrh@mander.xyz 6 points 11 months ago* (last edited 11 months ago)

Thanks! I've changed quite a few things in my setup over the years, but gruvbox is one of the very few mainstays (that and mpv).

[-] mrh@mander.xyz 6 points 1 year ago

You can mount any directory you want as the “home” directory of a given container with distrobox, it just defaults to using your home directory.

[-] mrh@mander.xyz 7 points 1 year ago

Yeah rollbacks are probably the best part of immutable OS's, but of almost equal importance is reproducible system configuration, which imo only Nix and Guix do well. Neither snapshots nor Silverblue really manage that yet.

[-] mrh@mander.xyz 6 points 1 year ago* (last edited 1 year ago)

I don't know too much about Vanilla OS, is it not possible to install your own DE or WM?

I'm less interested in Vanilla OS since it's based on Ubuntu and I'd rather not support / rely upon anything Canonical if I can help it.

Silverblue (+ spins) seems like the best option since it is the most mature, most popular, and is a community run distro. Of course Redhat pours a lot of resources into the Fedora project since it's upstream RHEL, and so does SUSE for MicroOS. But honestly if Redhat/SUSE were to disappear tomorrow, I think Fedora and OpenSUSE would be fine, whereas I can't say the same for Canonical+Ubuntu (and thus their descendants).

edit: After looking more into Vanilla OS, it looks very nice! Funnily apx addresses excatly the issues with distrobox pointed out in this thread by @mogoh@lemmy.ml. They also plan on moving from being Ubuntu based to Debian Sid based, which would be even better than Fedora as Debian is a true, 100% community backed and time tested distro (though still of course much corporate support).

[-] mrh@mander.xyz 6 points 1 year ago* (last edited 1 year ago)

I agree "cloud native" is not great, I won't be using that term.

Why are cli tools generally not available as flatpaks? There's nothing about how flatpak works afaik which distinguishes gui and cli. I get that the original motivation for flatpak was guis, but considering how long it's been touted as a "universal" package manager for linux, I don't understand how there could be so few clis.

I've heard people say the name for packages from flathub is awkward (which it is), and aliasing everything you install would be annoying (which it would), but that sounds like such a simple problem to solve.

I've also heard people say that flatpak clis would be useless because clis tend to be systadmin tools, and thus need to be not sandboxed. But this strikes me as a non sequitur. Gui tools can be used for sysadmin, and there are tons of cli tools which have nothing to do with sysadmin, they're just userspace programs.

What does your workflow look like with toolbox/distrobox?

10
114
submitted 1 year ago by mrh@mander.xyz to c/linux@lemmy.ml
[-] mrh@mander.xyz 5 points 1 year ago

Yeah Void is fantastic. I just switched back and I doubt I’ll be moving to anything else.

I only switched away in the first place because I had gotten so comfortable I wanted to try something new (Guix, also amazing!).

But there’s something so comfy about Void once you grok it, just lots of little good decisions which add up to a great experience.

1
submitted 1 year ago by mrh@mander.xyz to c/linux@lemmy.ml
1
Why No Clearnet? (mander.xyz)
submitted 1 year ago* (last edited 1 year ago) by mrh@mander.xyz to c/i2p@lemmy.world

So what exactly is the reason that i2p has thus far elected not to have a system of "exit" relays which allow users to access the clearnet?

Every time it comes up the question is deflected by saying that i2p is not meant to help anonymize clearnet traffic, but to be its own independent network. But why not both? If it is just not the devs interests then that is what it is, but I'm surprised people in the community really wouldn't want to be able to use i2p to anonymize their clearnet traffic.

[-] mrh@mander.xyz 5 points 1 year ago

While there's a grain of truth in this, I don't think anybody should be pushing for some standard to be "the" standard which eclipses all others now and forever. People, given sufficient freedom and knowledge, will gravitate towards what works best, be it old or new. Nostr is simply the protocol I prefer. I think it's better. Why pretend otherwise just becoause activitypub happened to come first and thus is currently more popular?

[-] mrh@mander.xyz 7 points 1 year ago

Nostr is a protocol like activitypub. There are many pieces of software built on top of nostr, just like lemmy and mastodon are both built on activitypub and can interact.

So yes.

10
submitted 1 year ago by mrh@mander.xyz to c/videos@lemmy.world
1
submitted 1 year ago by mrh@mander.xyz to c/i2p@lemmy.world

I'm new to I2P, so this post will probably contain misunderstandings.

Since I2P takes on the order of hours after initial launch to build out a usable network of tunnels, does it make sense to use on a laptop which is regularly being put to sleep? Does suspension of the machine (disconnection from the network) completely cut off all tunnel progress, and it needs to restart the building from scratch when awoken?

Is the only practical way to use I2P from a laptop to have it running on a separate machine which is on all the time and remote connecting to it, like shown here?

12
submitted 1 year ago* (last edited 1 year ago) by mrh@mander.xyz to c/unixporn@lemmy.ml
view more: ‹ prev next ›

mrh

joined 1 year ago