linux

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

Hexarei, in [Solved] Font not available in Firefox or (Epiphany GNOME) Web browser.
@Hexarei@programming.dev avatar
ptrckstr, (edited ) in Terminal Utility Mega list!
  • jq - parse json
  • Lazygit - UI for git
  • Lazydocker - ui for docker
  • pass - command line password store
  • zellij - tmux alternative
  • starship - terminal customization
  • tealdear - tldr in rust
  • rm-improved - rm, but moves stuff to /tmp
vox, (edited )
@vox@sopuli.xyz avatar

I’d rather just use the nu shell than tools like jq
i basically use it to write all of my scripts nowadays, it’s structured data approach is amazing (kinda similar to PowerShell, but done right)

ptrckstr,

It is! Nu looks really cool, haven’t gotten around to migrating yet myself.

Steamymoomilk,

Added to the list, thanks for your help! I will have to check out zellij and starship. I recently checked out network Chuck’s video about tmux which tmux is SUPER powerful and useful on my Gentoo computers I’m excited to see how plugins work with zellji! and starship looks like i get to rice my terminal some more :D Cheers and happy new years! [tmux Video] invidious.no-logs.com/watch?v=nTqu6w2wc68

ptrckstr,

You’re welcome! For tmux check out pain control, gives some alternative and maybe easier to remember bindings.

axelf, in What are your opinions of Guix?
@axelf@lemmy.ml avatar

Using Scheme instead of a purely functional language like Nix as the Nix/Guix expression language is a bold choice I am not sure I agree with.

Spore, (edited )

Guix uses Guile everywhere. Nix uses string interpolated Bash and Perl for anything impure.

Now what do you think?

iopq,

It’s actually easier this way because you keep everything in one place.

I edited some file on Ubuntu to merge my audio channels into one because one of my speakers broke. Do you think I know what change I made to what file now? When I update, do you think I can merge my changes with the new file and make everything work? Of course not, I am several years into forgetting what I did

But configuration.nix is one file, I usually get a deprecation notice for some stuff and just change a line here and there from time to time. All of my changes are in there and they are in git. When I switched to flakes I also added flake.nix in there, but it’s still just two files in one folder I play around with. Not only that, but the maintainers already gave me the options I need for my services. I don’t have to follow some guide online to set something up, I just enable it and it works immediately.

For example, enabling iwd is:


<span style="color:#323232;">networking.wireless.iwd.enable = true;
</span>

I just did that and it worked. I commented it out and it went back to whatever the default package is. Is this as easy to toggle back and forth in other distros?

Ramin_HAL9001, (edited )

Using Scheme instead of a purely functional language like Nix as the Nix/Guix expression language is a bold choice I am not sure I agree with.

Scheme is the most functional of all non-purely-functional languages that I know of. What’s more, the parts of Guix in which packages are defined are quite pure, even using monads for some things, so it is really not too different from the Nix language.

Atemu,
@Atemu@lemmy.ml avatar

the parts of Guix in which packages are defined are quite pure, even using monads for some things

Monads have nothing to do with purity. In fact, one of the most infamous usages of them is Haskell’s IO monad which is probably the most impure construct in the entire language.

it is really not too different from the Nix language.

Hm, I can’t help but think that a lisp dialect can never really be similar to any language except another lisp.

Spore,

No, monadic interface is used to programmatically access the store instead of being used to define packages. Packages are pure in Guix.

CanadaPlus,

So I guess they just wanted to use an established language?

ultra, in What are your opinions of Guix?

It’s NixOS but more free and with scheme instead of nix

onlinepersona, in What are your opinions of Guix?

I tried it out one single time and it failed to install or update or something. Had to then find all the places it had inserted itself into in my system. Later I found out it’s based on some LISP variant. Even later I found out you can’t install firefox with it because of gnu or something?
That all combined dissuaded me from touching it again.

nix has terrible documentation, but it’s kinda worked for me, so I’m sticking with it.

callyral, in Terminal Utility Mega list!
@callyral@pawb.social avatar

nushell is a new type of shell that has some really cool features

lf is a file manager inspired by ranger

dash a POSIX-compliant /bin/sh that is fast and simple

eza is a modern alternative to ls

Steamymoomilk,

added to the list thanks!

Nyanix,
@Nyanix@lemmy.ca avatar

oooh, I’m going to have to try out nushell, I’m liking the look of that

tekila, in What are your opinions of Guix?

The idea behind it really appeals to me. However, Guix is so niche that I felt like it was not worth the effort to actually daily drive it. I went the NixOS way instead and have been daily driving it now for almost 2years. I’m really satisfied with the paradigm immutable and reproducible os. I also manage my servers this way and it makes it really easy to rollback stuff.

The learning curve is the same as for any language but you have to relearn how to manage an os this way as it can be really different than a trad os. It forces you to really understand for example how packages traditionally expect to link to various libs available on your system.

Legisign, in Is anyone using awk?

cut is actually next to useless, because it cannot understand that multiple spaces can still be a single separator in most text files in /etc. You have to use AWK.

jbk, in Is DNS Bloat too?

My prediction is that we’ll go DNSSEC globally when IPv6 gets mainstream adoption. It sucks how many just don’t care enough.

domi,
@domi@lemmy.secnd.me avatar

when IPv6 gets mainstream adoption

At the current speed that would approximately be in 2087.

lolcatnip,

Whoa there, let’s not get ahead of ourselves.

Chobbes,

The abysmal adoption of DNSSEC is just embarrassing, and I haven’t heard any good arguments for why we shouldn’t do it. There’s one blog post that gets passed around as justification for not adopting DNSSEC, but it doesn’t really go into any technical detail and is mostly just the author saying “I’m scared of governments and TLDs”… which is maybe fair, but you still have to trust them for regular CA certs and everything, so why not make thr base secure?

Honestly, I might care slightly more about DNSSEC than IPv6 adoption… IPv4 exhaustion and NATing everywhere sucks, but the fact that you can’t trust DNS is like… insane.

risencode,

when IPv6 gets mainstream adoption.

After my death then. Alright, carry on.

WindowsEnjoyer, in Is anyone using awk?

Best use-case of AWK is that you can avoid using grep for picking a Nth word in specific line. I tend to ask GPT4 to write one-liner for me. Works super great.

bizdelnick, in What are your opinions of Guix?

I don’t like the idea of configuring pm (or anything else) using a programming language. So I would try nix first if I feel that I need it. However I don’t.

ultra,

nix is a programming language too

bizdelnick,

Thank you, I forgot this.

Atemu,
@Atemu@lemmy.ml avatar

Not quite: It’s an expression language.

The ultimate output of Nix is one set of data, usually the description of a derivation (~= package). You cannot cause arbitrary side-effects with it like writing to files or making network requests with it.

easeKItMAn, (edited ) in Terminal Utility Mega list!
@easeKItMAn@lemmy.world avatar

Pydf displaying df -h differently

Steamymoomilk,

added thanks!

iturnedintoanewt, in Terminal Utility Mega list!
@iturnedintoanewt@lemm.ee avatar

Amazing. Saving post. Thanks a lot!

AMillionNames, in Is anyone using awk?

awk is supposed to be simpler. If it isn’t, just use your favorite scripting language. It comes from a period of time when a lot of the scripting languages weren’t as easy to use or readily available.

gaael, in Terminal Utility Mega list!

NeoMutt is an easy to use and cool looking tui email client.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux@lemmy.ml
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #