Live data from Hacker News

Lima: Linux-on-Mac

github.com

261–270 of 366 posts

Re: Lima: Linux-on-Mac

#261
post #144

Earlier quoted context omitted.

> A package manager with up to date packages (granted there are Linuxbrew and things like Snap now for Linux.) On what planet is is homebrew better than Linux package managers? I agree with many of the other items in these lists, but this makes literally no sense to me. Homebrew is probably one of the worst things about doing dev on a mac.

Homebrew's very up to date, without that cutting-edge quality risking system stability (since that's totally separate) and has an incredible number of supported packages, including tons of closed-source stuff, out of the box . No hunting down PPAs or obscure unofficial back-port packages or anything. The only Linux package managers I've seen even approach it (not match, but approach) are from bleeding-edge distros li…

Some of this is a matter of taste, clearly. I strongly prefer having my system packages being rock solid; I can always fetch updated software for the very few cases where I want that.

However, my aversion to homebrew goes beyond taste: my experience with homebrew is rife with breakages. To be fair we were trying to use it in a CI system, which will very quickly reveal a buggy system. By contrast, apt/dnf are rock solid when used in CI.

An actual example: we tried providing our own recipe to install a particular version of libicu. This triggered an upgrade of some dependency; that triggered an upgrade of libicu to a different version than 68. The command exited with a successful status. A real package manager would have detected the package conflict and reported it, giving you resolution options, or errored out in a non-interactive terminal.

Why were we trying to pin versions in the first place? You guessed it, package breakages.

Re: Lima: Linux-on-Mac

#262
post #13

It's just a "better integrated" virtual machine: "Lima launches Linux virtual machines on macOS" This might be a controversial opinion, but I find developers flocking to macOS really bewildering. As a developer, why do you want to fight your operating system to get basic things done? This Lima thing, docker running in a virtual machine, Apple being actively hostile with the default coreutils requiring you to layer mu…

> I find developers flocking to macOS really bewildering. As a developer, why do you want to fight your operating system to get basic things done?

Haha! (I assume that was sarcasm. If not, you might want to look at the voluminous writings of humans who have had trouble getting standard modern laptop functionality working on linux, suspend to disk, battery life, hi res screens etc etc. Not you -- I mean mere mortals who don't want to change their OS's swap configuration)

Re: Lima: Linux-on-Mac

#263

Earlier quoted context omitted.

You can’t stop dozens of chatty network services, due to a read only system partition. Without defeating other security that is. That’s a poor design.

Umm... yes, you can. You can use Little Snitch just fine.

That’s a band aid, rather than the proper solution of not having them on by default.

Re: Lima: Linux-on-Mac

#264

Earlier quoted context omitted.

> Every time I go back to macOS, I get frustrated with the inflexibility of it all. I get that it's a pain to feel like you have to customize everything to get something usable for you It's great if macOS is what you want, or is close enough to it (which it is for many, many people). I guess people's problem with Linux is that no amount of knob twiddling ever gets Linux's desktop and window manager close enough to wh…

A true macOS subsystem for Linux would be incredible. I just can't use Linux or Windows for my desktop OS. Windows for gaming, macOS for work/daily. God knows I've tried to run Linux. But it's just nowhere near as hassle free as I desire. Widows is out soely due to native non unix command line.

I didn't get much of a chance to work with Windows & WSL2, but I felt like it was a really comfortable experience as long as you were fine with WindowsOS as a display manager and Linux for your CLI. There can be some annoyances around software dual installed to Windows and the WSL 'containers', but the CLI experience certainly felt pretty good to me. Used MobaXterm (free, not open) which satisfied the good terminal emulator req.

Re: Lima: Linux-on-Mac

#265

Earlier quoted context omitted.

Here's why I moved away from Linux to macOS: - I'm sorry, but no Linux DE I've ever used beats macOS in terms of stability. The file explorers are also a joke and frequently changing. - I've never booted to a black screen when upgrading macOS. - 99% of the work I do never needs anything that has to be virtualized under macOS. - Macbooks are solid laptops. Every other laptop I've owned hasn't stood the test of time as…

Dont' forget: - Multi- and highres monitor support out of the box with proper scaling and readable fonts - A package manager with up to date packages (granted there are Linuxbrew and things like Snap now for Linux.) - Applications that have a consistent UI/UX and all use the same keyboard shortcuts > All the customization doesn't offset the trouble that desktop Linux can bring. It's nice you can customize almost ever…

You can't even change the subpixel rendering to BGR on a Mac! The suggested solution is, literally, to flip your monitor upside down.

Re: Lima: Linux-on-Mac

#266

Earlier quoted context omitted.

A true macOS subsystem for Linux would be incredible. I just can't use Linux or Windows for my desktop OS. Windows for gaming, macOS for work/daily. God knows I've tried to run Linux. But it's just nowhere near as hassle free as I desire. Widows is out soely due to native non unix command line.

I didn't get much of a chance to work with Windows & WSL2, but I felt like it was a really comfortable experience as long as you were fine with WindowsOS as a display manager and Linux for your CLI. There can be some annoyances around software dual installed to Windows and the WSL 'containers', but the CLI experience certainly felt pretty good to me. Used MobaXterm (free, not open) which satisfied the good terminal e…

Just can't deal with Windows as my os outside the terminal.

No objective disagreement!

Re: Lima: Linux-on-Mac

#267

Earlier quoted context omitted.

Here's why I moved away from Linux to macOS: - I'm sorry, but no Linux DE I've ever used beats macOS in terms of stability. The file explorers are also a joke and frequently changing. - I've never booted to a black screen when upgrading macOS. - 99% of the work I do never needs anything that has to be virtualized under macOS. - Macbooks are solid laptops. Every other laptop I've owned hasn't stood the test of time as…

Dont' forget: - Multi- and highres monitor support out of the box with proper scaling and readable fonts - A package manager with up to date packages (granted there are Linuxbrew and things like Snap now for Linux.) - Applications that have a consistent UI/UX and all use the same keyboard shortcuts > All the customization doesn't offset the trouble that desktop Linux can bring. It's nice you can customize almost ever…

"- Multi- and highres monitor support out of the box with proper scaling and readable fonts"

Unless you want to use two TypeC->DP connected monitors using MST. For "reasons" ($$$), Apple arbitrarily decided to not support MST over TypeC connectors (thunder bolt good, TypeC bad!!). And since this is MacOS, its impossible to ever have that support unless it was blessed upon us by the overlords. I don't like being held hostage by a company, and Apple is great at setting their way or the highway (some may like that, but not I).

When I got my new job and they forced MacOS on me: Ok, now I need a usable home setup. Lets try to get this running without running to buy $4k in new monitors.. days searching and a few wasted purchases later, everything worked fine just to discover that Apple refuses TypeC MST for no specific reason. So by all means, you can keep it. I'll hold my nose because I like my company, but their choice to mandate this hardware was awful.

Re: Lima: Linux-on-Mac

#268
post #72

Earlier quoted context omitted.

> wish I could hit windows-A at any time and instantly get a new terminal You can create your own macOS native workflows with Automator and launch them with macOS keyboard shortcuts. It's all built right in. https://www.computerhope.com/issues/ch002051.htm

Will that override command-A for select-all? (which would be ctrl-A on most other platforms) Looks like maybe-not, through redirects?

It would override command+A for select all.

You could rebind select if you wanted, I wouldn't really suggest doing that though. The command key sends the same key-code as the windows key, but it's not on the same place on the keyboard.

If you're on a Mac keyboard, the muscle memory should map to Option+a. Which by default types å.

If you're using a PC keyboard with your Mac, and you're not already used to it… you might want to look at 'System Preferences > Keyboard > Modifier Keys...' so that your setup either:

1. Puts the modifier keys where they are on Mac keyboards, by setting Option->Command, and Command->Option.

2. Puts most shortcuts where they are on PC keyboards, by setting Control->Command.

Re: Lima: Linux-on-Mac

#269

Earlier quoted context omitted.

A true macOS subsystem for Linux would be incredible. I just can't use Linux or Windows for my desktop OS. Windows for gaming, macOS for work/daily. God knows I've tried to run Linux. But it's just nowhere near as hassle free as I desire. Widows is out soely due to native non unix command line.

I didn't get much of a chance to work with Windows & WSL2, but I felt like it was a really comfortable experience as long as you were fine with WindowsOS as a display manager and Linux for your CLI. There can be some annoyances around software dual installed to Windows and the WSL 'containers', but the CLI experience certainly felt pretty good to me. Used MobaXterm (free, not open) which satisfied the good terminal e…

> as long as you were fine with WindowsOS as a display manager

That's the big "if". Especially with the Magnet app (the one for snapping/maximizing windows) in place, macOS is so superior in every way.

Re: Lima: Linux-on-Mac

#270
post #59

Earlier quoted context omitted.

There are many ways macOS improves over Linux desktops, but file explorers is not one of the arguments I would have made. Finder is practically unusable.

Honest question, what's wrong with Finder? I use ForkLift for the heavy lifting (lol), but it works just fine for "navigate to file, open/move/delete file, sort by size/date, tag files, find files".

Saving a file as /tmp/blah saves it as :tmp:blah the current directory, then you curse and have to press cmd shift g to pick a folder, paste the filename with path, remove the file name bit, then finally get to save your file.
Post reply on HN