this post was submitted on 05 Nov 2023
475 points (91.9% liked)

Technology

59672 readers
2881 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
 

Your Windows 10 PC will soon be 'junk' - users told to resist Microsoft deadline::If you're still using Windows 10 and don't want to upgrade to Windows 11 any time soon you might want to sign a new online petition

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 5 points 1 year ago (1 children)

As a Linux user, I'd use a Mac over some garbage Windows PC any fucking time of the day. Nearly every operating system under the sun uses some kind of Unix implementation under the hood, well, except for Windows. Running anything in a command line environment under Windows is a huge pain in the ass... Not even having GNU coreutils, BusyBox or the BSD equivalent is just horrible. Just like PowerShell. And don't even get me started on this antiquated piece of shit called cmd. Every time I see a CLI under Windows I just want to take the computer that it's running on and throw it in the trash. At least macOS offers some standard CLI utilities and is basically out-of-the-box compatible with most Linux CLI tools. The filesystem structure is also kinda similar to what you would find on a Linux or BSD operating system. Oh, and recent Mac hardware is pretty awesome whereas Windows on ARM is unusable. And macOS at least looks visually consistent because unlike Microsoft, Apple can actually decide to use one single UI framework for all of their stuff. You can block all of the Apple spyware with a good firewall like Little Snitch and Homebrew fills the gap of the missing package manager. And unlike Winget, Homebrew actually works and is worth using. I can also set up macOS declaratively through Nix, something that won't ever be possible on Windows either.

[–] [email protected] 1 points 1 year ago (1 children)

As a linux user, I SSH to a Linux box when I want to do things that aren't file/print/email/media/games - though honestly, Powershell is pretty fucking awesome as a scripting language.

Imagine if every command used JSON when piping to/from another command, so you aren't fucking around with cut and awk and sed all the time just to pull values out. It's nice. I don't have much application for it personally, but it honestly is pretty grown-up.

[–] [email protected] 1 points 1 year ago

People will disagree with me on this one and it's totally fine, but I don't like JSON. Over the many years of using nothing other than Linux or other Unix-like operating systems I just got used to using stuff like awk to filter out data. PowerShell might be nice for scripting, but it's terrible for interactive usage. I spend a lot of time in the Terminal and fish shell is my favorite because it's awesome for interactive usage. You don't have to use your shell for scripting though. You can also just use something like Python, Ruby, heck even JavaScript. There's also Nushell which has an interesting way of handling data, I think it's kinda similar to what PowerShell does. Check that out if you are interested.