113
submitted 1 year ago* (last edited 1 year ago) by paequ2@lemmy.today to c/linuxmemes@lemmy.world
  • ip 💥 uhhhggghhh
  • awk 💥 uhhhggghhh
  • sed 💥 uhhhggghhh
  • grep 💥 uhhhggghhh
  • journalctl 💥 uhhhggghhh
  • brew install docker? Nope! 💥 uhhhggghhh

Having to maintain TWO build chains (when the product only actually runs on Linux) and deal with all the extra tooling and complexity 💥💥💥💥💥💥 uhhhggghhh

top 27 comments
sorted by: hot top new old
[-] dragnucs@lemmy.ml 41 points 1 year ago

Still better than being forced to develop on windows.

[-] SpaceCadet@feddit.nl 2 points 1 year ago

Eh. Windows has its share of annoyances, but once I have set it up to my liking my desktop workflow is very similar to my KDE setup, and WSL + Windows Terminal gives me a functional Linux shell environment.

And at least on Windows I don't have to deal with cmd/control/alt switcharoo messing up my muscle memory.

[-] dragnucs@lemmy.ml 1 points 1 year ago

I just spent an absurd amount of time setting up my local windows environment to use node 10 and gulp with node-sass and node-gyp (complete BS). I also need to do the equivalent for our Ubuntu pipeline.

And guess what, I just need to do the same for the new team member that just joined and messed his installation with recent versions of everything.

Oh, still find that easy? Lets just throw in crowdstrike and netscope firewalls and proxies for added security and block 50% of node environment and break all TLS/SSL connexion because things are not difficult enough.

Want to use git? Sure, it's jsut 3x to 4x times slower than on Linux.

Did not pay extra carefull attention or do not know the difference between CR, LF and CRLF? let me just make your git life miserable by changing the line endings on all your files. Good luck fixing it.

[-] emb@lemmy.world 39 points 1 year ago

I wish my job would force MacOS instead of Windows. 😭

[-] paequ2@lemmy.today 16 points 1 year ago

I guess it can always get worse. 😭

[-] alsaaas@lemmy.dbzer0.com 8 points 1 year ago* (last edited 1 year ago)

Tbh I'd rather use Windows with WSL2 than MacOS, I can't use Mac without getting angry lol

[-] bitchkat@lemmy.world 5 points 1 year ago

I just run Fedora in a VM and do 99% of my work there.

[-] waldfee@feddit.org 14 points 1 year ago

my workaround for awk, sed, and grep has been to create symlinks in my $Path that point to gawk, gsed, and ggrep, which you can install through brew. Nix has also been useful to keep my sanity intact, tho it's a learning curve too, and when Macos updates happen you will need to fix/reinstall it. Can I ask what terminal you are using?

[-] paequ2@lemmy.today 10 points 1 year ago* (last edited 1 year ago)

create symlinks in my $Path that point to gawk, gsed, and ggrep

The problem with this is that scripts assume the BSD versions of those tools. The scripts break if I do that. (I tried doing that.) 😢

The parts of the code base that can be built on both platforms is littered with:

if os == linux
  awk <something>
else if os == mac
  awk <something else>
[-] Creat@discuss.tchncs.de 3 points 1 year ago* (last edited 1 year ago)

Why not set an $awk var once for the right platform and then use that instead of if-on-every-call? This seems incredibly error prone and verbose for no reason...

Edit: To be clear I'm aware that it isn't about the binary, but surely most of the calls have some baseline commonality that could be abstracted? Or: Can the Linux awk be built on bsd or vice versa? Ok fine, if it was the simple, it would've probably been the solution...

[-] mumblerfish@lemmy.world 11 points 1 year ago

I used to run linux in a vm on the work mac, which was fine. Then they managed to block it too. I tried a gentoo prefix, but did not work well enough to be usable on arm. It sucks.

[-] paequ2@lemmy.today 9 points 1 year ago* (last edited 1 year ago)

The funny thing is that my manager just told me one of the development workflows is:

  • create a Linux VPS on cloud
  • they have tooling so that local code gets synced to remote Linux
  • SSH into remote Linux
  • code, dev, test, etc

😐 ... 🫲 ... 🫱 ... 🙌

[-] sepi@piefed.social 9 points 1 year ago* (last edited 1 year ago)

brew install iproute2mac

Also docker is not on homebrew, but there is an installer for it (or you can use Orbstack, which also provides docker). Not everything is on brew, some things may have separate installers, but a very quick google search will help you find all of these.

However, journalctl might be not as helpful on mac - you can install it via brew, but it's not really mac-native.

As an OG bearded UNIX person, my advice is to learn the platform and stop fighting it - do things on the platform with the native tooling where possible as possible. From the text of your post, it seems to me that you just want to use Linux. I understand how you feel, yet this feeling is signal but not data.

Good luck and safe travels, friend.

[-] pupbiru@aussie.zone 3 points 1 year ago

Also docker is not on homebrew

Except that it is

https://formulae.brew.sh/formula/docker

Casks and formulas handle basically anything: non-redistributable binaries, installers, etc

my advice is to learn the platform and stop fighting it

Absolutely it… there’s a load of Mac utilities and norms I miss when I use Linux, and visa versa: it’s just different platforms… neither is better; they’re just different

[-] sepi@piefed.social 1 points 1 year ago

Thanks for the correction, friend. I've personally been using OrbStack.

[-] haych@feddit.uk 8 points 1 year ago

I just started a new job that's MacOS instead of Windows. I couldn't be happier.

i love how much it's changed in just ten years because i remember in the 2010s and late 2000s, every company would make me use windows despite loving the dev environment of mac (especially snow leopard).

now it's almost the opposite with wsl and all

(pls don't come at me - i actually use linux on both my laptop and desktop now i'm just saying anecdotally)

[-] sunstoned@lemmus.org 8 points 1 year ago
[-] catlover@sh.itjust.works 5 points 1 year ago* (last edited 1 year ago)

how do you guys manage to cope with the keyboard layout? the ctrl-super-alt is completely different, even if i just remap them, there will be cases they just dont work like on linux (kitty ctrl-keys, firefox ctrl-tab, etc...) even worse that i use hungarian keylayout and now i use 2 different programs (karabiner, ukulele) to have somewhat similar keys like on linux, but still not perfect ...

[-] SpaceCadet@feddit.nl 3 points 1 year ago

the ctrl-super-alt is completely different

It's not "completely different" ... and that's the problem. Completely different I can handle. I can manage knowing vim keybindings, readline keybindings and standard windows keybindings at the same time. What I can't handle is: having to use command + C on one Mac and control + C on Windows to copy, but then in some cases you do use "control" on both OS-es, and sometimes control and alt are switched ... It's because they are similar but different that it's such a mess trying to get proficient in both at the same time.

[-] illusionist@lemmy.zip 4 points 1 year ago

Maybe you can install wsl :)

[-] UnfortunateShort@lemmy.world 3 points 1 year ago

You're supposed to install fish and forget about at least three of these commands

[-] crmsnbleyd@sopuli.xyz 2 points 1 year ago

huh, I use fish but also use awk, sed, grep. What should I use with fish? The string commands?

[-] UnfortunateShort@lemmy.world 2 points 1 year ago

Yeah, I do everything with string at this point, because it can do pretty much anything I usually need and has a quite uniform syntax, along with good regex support (and dialect imo)

[-] fubarx@lemmy.world 2 points 1 year ago
[-] crmsnbleyd@sopuli.xyz 2 points 1 year ago

Use UTM and run linux

[-] possiblylinux127@lemmy.zip 1 points 1 year ago

I'd just stick to Podman

this post was submitted on 07 Aug 2025
113 points (95.2% liked)

linuxmemes

32861 readers
263 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry of any kind will not be tolerated. This is an LGBTQ+-friendly community -- if that is a problem for you, you should leave.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn, no politics, no trolling or ragebaiting.
  • Don't come looking for advice, this is not the right community.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, <loves / tolerates / hates> systemd, and wants to interject for a moment. You can stop now.
  • 5. 🇬🇧 Language/язык/Sprache
  • This is primarily an English-speaking community. 🇬🇧🇦🇺🇺🇸
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
  • 6. (NEW!) Regarding public figuresWe all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.
  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.
  •  

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.

    founded 3 years ago
    MODERATORS