[-] gamma@programming.dev 6 points 6 months ago

The "$@" doesn't do that you think it does in an alias. It gets expanded on alias creation.

[-] gamma@programming.dev 7 points 10 months ago* (last edited 10 months ago)

Taking courses which involve subjects that you will likely never encounter in the workforce is a thing in every discipline. Most engineers don't need to manually solve differential equations in their day jobs, they just need to know that they exist and will often require numerical solutions.

Getting your hands dirty with the content provides a better understanding when dealing with higher level concepts.

[-] gamma@programming.dev 7 points 1 year ago

If you say "a 10d10", I know what you mean, but "10d10" is definitely the sum of 10 10-sided dice.

[-] gamma@programming.dev 6 points 1 year ago

8GB memory + two Firefox profiles makes things difficult on my laptop.

[-] gamma@programming.dev 6 points 2 years ago

I get your point. Since a .tar.zst file can be handled natively by tar, using .tzst instead does make sense.

[-] gamma@programming.dev 7 points 2 years ago

I did about once a year until 2018 when I settled on Arch.

But now I've got a server on NixOS and loving it, so I might be switching my laptop soon.

[-] gamma@programming.dev 5 points 2 years ago* (last edited 2 years ago)

It's interesting, the results here are way different than the Code Golf & Coding Challenges Stack Exchange. I would never expect Haskell to be that low. But after looking at code.golf, I realize it's because I/O on CG&CC is more relaxed. Most Haskell submissions are functions which return the solution.

Sidenote: I like the CG&CC method, it's semi-competitive, semi-cooperative.

  • all languages welcome
  • almost all users post "Try it Online"/"Attempt This Online" links
  • most users post explanations under their submissions
  • often people will post solutions beginning with "port of user1234's excellent Foolang answer" when there's a clever shortcut someone finds
  • or people will post their own solution with "here's a solution which doesn't use user1234's algorithm"
  • or people will add comments to answers with minor improvements

IMO It's geared towards what is the best part about code golf: teaching people about algorithm design and language design.

[-] gamma@programming.dev 6 points 2 years ago* (last edited 2 years ago)
[-] gamma@programming.dev 6 points 2 years ago* (last edited 2 years ago)

Typically find "$HOME/docs", but with a few caveats:

  • In Zsh or Fish, the quotes are unnecessary: find $HOME/docs

  • If I'm using anything potentially destructive: mv "${HOME:?}/bin" ...

  • Of course, if it's followed by a valid identifier character, I'll add braces: "${basename}_$num.txt"

[-] gamma@programming.dev 6 points 2 years ago

My Linux review: 10/10, would recommend, but would not install for someone and let them use it for the next 5 years.

[-] gamma@programming.dev 6 points 2 years ago

With embedded terminal escapes? True evil indeed.

[-] gamma@programming.dev 5 points 2 years ago* (last edited 2 years ago)

"Always configuring" isn't what Arch requires. It requires you to be tolerant of every so often dealing with a bug or two. Currently, the Arch-packaged version of Waybar has a regression which prints fractional seconds when using %T or %S specifiers. A tad annoying, and I could fix it by switching to waybar-git, where it's been patched. But that hasn't hit my threshold of annoyance, as I bounce between Sway and KDE.

The grub issue was a bigger deal, and while I knew how to resolve it (liveboot → lsblk and fdisk -l got me all the info I needed, then cryptsetup, mount -o subvol=@, arch-chroot, grub-install) the EOS blog had a nice guide.


But the reason why I chose it? Firewalld and Pipewire by default, customizable welcome app, and pretty simple otherwise.

NixOS will probably fully convert me in a year or two, but I've greatly enjoyed my time on Endeavour.

view more: ‹ prev next ›

gamma

joined 2 years ago
MODERATOR OF