Live data from Hacker News

Lima: Linux-on-Mac

github.com

71–80 of 366 posts

Re: Lima: Linux-on-Mac

#71
post #45

Earlier quoted context omitted.

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,…

Yeah the different keyboard shortcuts are annoying. Though I have the opposite perspective, and macOS’ feel much more natural. That said, on macOS there is a preference pane in which you can rebind almost all shortcuts, and add shortcuts for things that don’t have them, and it works OS-wide without fuss. In particular you can add shortcuts to services (which is something you probably want to look into), and you can s…

I do love that the command-key allows terminal copy/paste without overloading Ctrl-C (and was overjoyed when I center-clicked by reflex and the Terminal did the right thing :))

Re: Lima: Linux-on-Mac

#72
post #45

Earlier quoted context omitted.

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,…

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

Re: Lima: Linux-on-Mac

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

It’s just a trade-off. Which part of the OS do you hate fighting the least. Given that by the early 2000s you couldn’t really get away with a text-only terminal as your dev machine and years of fighting with XF86Config and some other bullshit I left it for MacOS using Emacs tramp-mode on the Linux box for development. I’m still waiting for the “year of desktop Linux” to arrive.

Re: Lima: Linux-on-Mac

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

Not that I'll say Linux filesystem managers are any real good (last one I liked I think was replaced by nautilus), but Finder is no great piece of software. It actively opposes me finding hidden folders and files. It intermingles folders and files, with (AFAIK) no way to to change it. It won't show to-the-byte files sizes (AFAIK). Cut and paste and moving files is annoying. It constantly forgets I want details and not other views. It won't show zip contents without exploding it.

There are a dozen other things I recall shaking my head at but don't remember the specifics. File extension hiding, program association issues, split view crashes, integrations constantly broken between releases.

Re: Lima: Linux-on-Mac

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

Swap files are created by the OS when the existing ones are full. They are removed by the OS when they are empty. There is no way to set the swap size, because it is dynamic. What is the point of setting the size yourself, besides running artificially out of swap when you need more or taking unnecessary space when you need less?

Re: Lima: Linux-on-Mac

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

But as a software dev of course this is something you might have to do every once in a while.

In about twelve years of a variety of software development on Mac, from embedded to iOS/Mac apps to web, it has never even once occurred to me to do that. Considering that the OS will fill the disk with swap if need be, I'm trying to think of a reason to even want to do this.

Re: Lima: Linux-on-Mac

#77
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 don't feel that I have to fight the operating system at all. In order to get the package manager and a modern version of coreutils you have to run three commands:

    $ sudo xcode-select --install
    $ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
    $ brew install coreutils
The upside is getting a system where most of what I need works out of the box with fairly sensible defaults. The viability of macOS probably depends heavily on the kind of work you're doing.

Re: Lima: Linux-on-Mac

#78
post #65
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.

The Finder doesn't even allow me to middle-click to open a folder in a new tab, it's horrible. I miss KDE Dolphin.

True that. Finder is only slightly better than nautilus, but it gets beaten up by Dolphin badly. It would win outright for me with the "Press F4 for an integrated shell" feature alone.

Re: Lima: Linux-on-Mac

#79

Earlier quoted context omitted.

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

Linux is more customisable, but macOS is much, much better out of the box. I use both every day for about the same amount of time, and macOS requires much less fighting to get the basics right (i.e. networking and Bluetooth just works, no need to tinker with X or Wayland, printing is much less problematic, OS updates are non-events, etc). I am happy to use Linux at work, but I would never put it on my main computer a…

Well, let's start with the places I take issue with:

> OS updates are non-events

Big Sur and Catalina have been the most disastrous updates in MacOS history. I'm not really sure why you'd choose now to highlight their notorious stability and ease of use. Ask any sysadmin who had a fleet of Macbooks during this update cycle: it was a nightmare and a half. Failing that, ask them about Catalina. They might run and hide under the table, a lot of them are still a little skittish about the word.

> I don’t know why you say that there is no package manager. This is demonstrably false.

Brew and Macports both suck. If you use Linux on a daily basis, then you're well familiar with what a good package manager looks like: apt and Pacman are both good examples. The amount of software on either of those platforms default providers makes Macports and Brew look like a pathetic joke. Add in the lack of extensibility offered on them both, the lazy Macports development cycle, Brew's half-correct installation philosophy and how out of place they all feel on MacOS, and you've got yourself a package management system that is just about as helpful as 'make install'ing it yourself.

> The old coreutils are the result of GPLv3. Latest versions are one command away with your package manager of choice.

The ball is in Apple's court then. If they want to brag about being a real Unix system, the least they can do is ship modern Unix tools with their OS. Ironically, MacOS is the least compatible Unix system around.

> If you’re alluding to the Little Snitch thing, it had nothing to do with VPNs, and has been fixed AFAIK.

No, I'm referring to the fact that Apple gives divided their networking API into privileged and non-privileged systems as of Big Sur. Now, Apple can designate certain developers (and themselves) a way to circumvent any custom network filters when sending data.

> Honestly, your points sound like third-hand complaints you’ve heard in an echo chamber. It’s fine if you don’t want to use the OS, but then you don’t need to comment either.

I mean, the M1 Macbook Air is sitting in my desk as we speak. I've also run MacOS on my beloved Thinkpad(s), but even the magic of a touchscreen Mac couldn't really persuade me to like the operating system. My guff is well founded, I think: as the most valuable company in the world, Apple has an obligation to provide at least some level of modularity in their ecosystem. Otherwise, the precedent they set will continue to influence every market we can conceive, until our concept of "ownership" is poisoned to mean a subscription service. It's driven by greed, and makes me sick. It always comes at the cost of the user, and the declining greatness of MacOS is a perfect example of how Apple's hunger for money is poisoning their product line.

Re: Lima: Linux-on-Mac

#80

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…

Not that I'll say Linux filesystem managers are any real good (last one I liked I think was replaced by nautilus), but Finder is no great piece of software. It actively opposes me finding hidden folders and files. It intermingles folders and files, with (AFAIK) no way to to change it. It won't show to-the-byte files sizes (AFAIK). Cut and paste and moving files is annoying. It constantly forgets I want details and no…

> It intermingles folders and files, with (AFAIK) no way to to change it.

“Keep folders on top” is a Finder preference as of Big Sur.

> file extension hiding

Also a Finder preference

> program association issues

That’s nothing to do with the Finder, but rather with how macOS discovers app-bundle file association claims through Spotlight. It applies equally to files opened through CLI open(1).

(Hint: if you downloaded the app from a website/through Homebrew, try opening the app itself once. It’s probably quarantined. Spotlight ignores quarantined things until you vouch for them. This is also why you won’t find the app in a search until you open it.)

Post reply on HN