Live data from Hacker News

Lima: Linux-on-Mac

github.com

41–50 of 366 posts

Re: Lima: Linux-on-Mac

#41

Just vm’s? No syscall emulation?

Microsoft abandoned syscall emulation with WSL2. The differences between Linux and XNU might be less problematic, since it's a Unix derivative. But as Wine shows, it takes a lot of work and you still get a suboptimal, buggy experience.

This is what I was hoping, I know there is irreconcilable differences between NT and linux kernels, but maybe there is hope on XNU.

Re: Lima: Linux-on-Mac

#42

Earlier quoted context omitted.

I use a Macbook Pro for development. I spend a fair amount of time in Linux servers. Running a Linux VM for local development of things that require Linux doesn't bother me. I don't have to fight my OS. It works with my brain. When I'm using awk and grep, it's in Linux, not macOS. Not judging you or your opinion here - just explaining that I'm as bewildered by your experience as you are by mine.

>I don't have to fight my OS. It works with my brain. I think that's a mantra that applies a little better to Linux than it does MacOS. Linux is well known for it's customization, and you can really pad out your desktop to be an ergonomic and customized place designed for you. MacOS, on the other hand, is practically the definition of fighting your OS: you aren't allowed to have a proper package manager, Apple has to…

The VPN thing has been fixed months ago.

Re: Lima: Linux-on-Mac

#44
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 well as my Mac.

- More [actually good] software supports macOS. It's just a fact.

- macOS is fundamentally the same as it was 10 years ago, just with some relatively minor changes to the design. I'm pretty confident they're not going to move the dock to the top and force a new window toolkit on me that most existing software can't use.

- macOS has hardware that I know it will work with. Finding compatible hardware for Linux can be frustrating and not as complete as is claimed.

- Windows and macOS solved vsync issues long ago. Somehow, even with Wayland, you can still experience horizontal tearing if you have the wrong monitor or graphics card.

---

All the customization doesn't offset the trouble that desktop Linux can bring.

Re: Lima: Linux-on-Mac

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

Long time Linux user and also long time macos user. I've never had any problems getting "basic things done" on either platform. Except for Linux, which has inferior applications for most things.

I've been using Debian almost-exclusively since 2001. A new job requires that I work on MacOS, which has been fun.

The primary things that I am struggling with are the keybindings and loss of true fluxbox sloppy focus. zsh and the BSD tools take a little getting used to (different ps, grep, sed, etc?), but are quite serviceable.

But lordy, do I wish I could hit windows-A at any time and instantly get a new terminal, as I've been doing for twenty years. How do y'all Mac people live? ;).

Re: Lima: Linux-on-Mac

#46
post #22

Earlier quoted context omitted.

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…

Forget window snapping for a dollar, try window snapping for free with Rectangle! https://rectangleapp.com/ And I agree. As a user and developer, I have no idea what the OP is on about

Yabai is (also free, beer and speech) the best I found. I mainly use Linux, but I do try to keep my dotfiles agnostic, or have ~'equivalents' like i3 & yabai.

MacOS is fine if you want to run with defaults and experience everything as Apple wants you to, and change that if they announce they want you to in the grand unveiling of the next version.

If you try to deviate at all, it becomes a fight.

Linux is sort of the opposite extreme and some people don't like it because to some extent (although surely not really true of Ubuntu etc.?) you have to have these would-be deviating opinions on setting something up, you know, choose a shell, a window/display manager, a browser, a file manager, etc. But because of that, it doesn't care which you pick, if you change it, or how long past its sell by date you keep it running.

Re: Lima: Linux-on-Mac

#47
post #33

Earlier quoted context omitted.

"I Just recently I learned you can't add more swap ( creating a swap file and adding it ). That seems incredible to me." At what point are you just approaching MacOS with the wrong mindset? MacOS isn't something you should or need to manage swap for or should really think about. It's the same reason you don't think about managing swap on Windows or your iPhone or your Android or your Smart TV.

> MacOS isn't something you should or need to manage swap for I would 100% agree with you with regards to most macOS users. But as a software dev of course this is something you might have to do every once in a while. The fact that you can't doesn't seem to align with the fact that macOS is the operating system of choice for software devs.

AFAIK macOS will use the whole drive for swap (or at least an awfully large number of gigabytes, correct me if I'm wrong), why would you want to add more?

Re: Lima: Linux-on-Mac

#48

Earlier quoted context omitted.

Long time Linux user and also long time macos user. I've never had any problems getting "basic things done" on either platform. Except for Linux, which has inferior applications for most things.

Would you call tethering your Android phone via USB to your laptop a basic thing? Recently, I was having trouble with my phone's WiFi hotspot and tried to tether via USB. The only solution was Horndis, a 3rd party kernel extension. I quickly became knowledgeable about kexts and csrutil, rebuilt a kernel extension for M1 architecture and gave up after several hours of frustration. It's ridiculous that Apple can get aw…

you can just use adb to forward a socks proxy through your phone. not sure why you would need a kext

Re: Lima: Linux-on-Mac

#49

Earlier quoted context omitted.

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…

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.

Re: Lima: Linux-on-Mac

#50
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 Just recently I learned you can't add more swap ( creating a swap file and adding it ). That seems incredible to me." At what point are you just approaching MacOS with the wrong mindset? MacOS isn't something you should or need to manage swap for or should really think about. It's the same reason you don't think about managing swap on Windows or your iPhone or your Android or your Smart TV.

> you don't think about managing swap on Windows

I haven't really been a Windows user since Win7, but as I remember it 'increase page file size' was right up there with 'clean the registry' and 'try turning it off and on again'.

Post reply on HN