Use UTM and run linux
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 ...
Still better than being forced to develop on windows.
I wish my job would force MacOS instead of Windows. 😭
Tbh I'd rather use Windows with WSL2 than MacOS, I can't use Mac without getting angry lol
I guess it can always get worse. 😭
I'd just stick to Podman
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?
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>
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...
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.
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
😐 ... 🫲 ... 🫱 ... 🙌
I just started a new job that's MacOS instead of Windows. I couldn't be happier.
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.
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
Thanks for the correction, friend. I've personally been using OrbStack.
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)
Maybe you can install wsl :)
linuxmemes
Hint: :q!
Sister communities:
Community rules (click to expand)
1. Follow the site-wide rules
- Instance-wide TOS: https://legal.lemmy.world/tos/
- Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
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 will not be tolerated.
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.
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 figures
We 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.