Live data from Hacker News

Lima: Linux-on-Mac

github.com

291–300 of 366 posts

Re: Lima: Linux-on-Mac

#291
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…

> Homebrew's very up to date, ... and has an incredible number of supported packages

Package stats from Repology seems to contradict this claim:

https://repology.org/repositories/graphs

It's not bad, but it's not the best either. Not even close.

> including tons of closed-source stuff

Homebrew doesn't ship any proprietary formulae at all. They have a clear policy against it:

> We don’t like binary formulae

> Our policy is that formulae in the core tap (homebrew/core) must be open-source with an Debian Free Software Guidelines license and either built from source or produce cross-platform binaries (e.g. Java, Mono). Binary-only formulae should go to homebrew/cask.

> Additionally, homebrew/core formulae must also not depend on casks or any other proprietary software.

> This includes automatic installation of casks at runtime.

https://github.com/Homebrew/brew/blob/master/docs/Acceptable...

Re: Lima: Linux-on-Mac

#292
post #144

Earlier quoted context omitted.

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…

> 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.

On the planet that runs arbitrary community maintained Ruby scripts to install packages, and the planet where doing brew update requires a full days work + max CPU usage.

Re: Lima: Linux-on-Mac

#293

Earlier quoted context omitted.

Have you written a post somewhere about how you got her data back, or what was something online that helped you?

I’ve been setting up a NAS, storage and other things to try and prevent this again. Letting the old sysadmin side come out. I have a trip so trying to do that before then. I have the export from the terminal session to do the write up. I’ll try and see if I can at least start it tomorrow.

My daughter is a university student in the US and had something like this happen. I was on the phone with her when she took it to an Apple store and they told her they would wipe the machine. She has some stuff on there she really didn't want to lose (we've had a lot of talks about backing things up since then) and so I had her buy a new machine (she really needed one). And she's holding onto the old one until I get to the US to visit her this summer. I would be very, very interested in any information you can share about what you did. I have ideas of where to start but anything that could possibly help would be greatly appreciated.

Re: Lima: Linux-on-Mac

#294
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…

Plenty of us don't really have any need for Docker other than stuffing CV, and not every developer on whatever platform is doing UNIX stuff.

Thankfully the world of development is much more richer than that.

Re: Lima: Linux-on-Mac

#295
post #15

Earlier quoted context omitted.

"why do you want to fight your operating system to get basic things done?" Depends on the developer. How many developers use awk and grep? Most web developers probably have touched them once and never used them again, and prefer using MacOS compared to fighting Windows to do their web dev. Making a blanket statement that doing any development requires "fighting MacOS" is silly.

That was just an example though. My point was that you're constantly fighting an operating system that's clearly not designed for you ( the developer ).

I works perfectly fine for me as developer, because I don't use macOS to develop Linux software, for that I use a Linux laptop.

While on macOS, I as developer, only care about Apple Frameworks and languages.

Developer != UNIX command line.

Re: Lima: Linux-on-Mac

#296
post #15

Earlier quoted context omitted.

That was just an example though. My point was that you're constantly fighting an operating system that's clearly not designed for you ( the developer ).

Apple has always made it clear that they care about the experience of their users, not the developers. Because the customers are there, the developers follow. That's just how it works unfortunately. Also, clearly not designed for you? You can install Brew to have a package manager, Magnet to add Window snapping for a dollar, you can make it fit your use case for not that much effort or money. You don't have to use va…

Visual Studio, Delphi, C++ Builder are clearly designed for developers.

Re: Lima: Linux-on-Mac

#297
post #149
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.

Agree as a Mac user. I miss pacman from Arch. Now -that- is a nice package manager. It took the best (simple) parts from Gentoo and combined them with the better parts of apt/rpm/zypp etc.

So WDYT of this?

https://www.archmac.org/

(But please read this)

https://lna7n.org/2020/01/06/pulling-the-plug-on-archmac.htm...

Re: Lima: Linux-on-Mac

#298
post #144

Earlier quoted context omitted.

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…

> 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.

It isn't, but there's MacPorts, nixpkgs, pkgsrc, and ArchMac (although I kinda dropped the ball on the latter)

Re: Lima: Linux-on-Mac

#299
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…

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…

MacOS full screen mode has been at least as quirky as i3 for me, but without all the benefits of i3.

Re: Lima: Linux-on-Mac

#300

Is IO still going to be horrible here? Docker on a linux VM, with all code on the linux VM, is significantly faster than Docker for Mac. Generally just because of IO.

It's going to be pretty bad because it's using SSHFS - but your mileage may vary. For Docker Desktop, hopefully Justin Cormack will stop by and answer.

SSHFS is about the worst FS in existence. I would only recommend it for a temporary file transfer here and there, but it's nowhere near stable enough to use it like a regular FS.
Post reply on HN