News for hackers. Stuff that matters.
Re:macOS Containers v0.0.1 by hamandcheese on Tuesday September 26, 2023 @04:39AM (#37656242)
> homebrew is pretty great

I hear this said a lot in passing, and I'm really curious what people mean when they say this.

Re:macOS Containers v0.0.1 by kowlo on Tuesday September 26, 2023 @04:45AM (#37656298)
Perhaps they are talking about Homebrew the package manager [1].

[1] https://brew.sh

Re:macOS Containers v0.0.1 by hamandcheese on Tuesday September 26, 2023 @04:57AM (#37656391)
I wonder what people mean when they say "Homebrew is pretty great", I do not wonder what they mean when they say "Homebrew".
Re:macOS Containers v0.0.1 by hizanberg on Tuesday September 26, 2023 @05:13AM (#37656506)
It does what it says on the tin and installs the plethora of software available on homebrew with a simple command, which is pretty great
Re:macOS Containers v0.0.1 by orf on Tuesday September 26, 2023 @05:06AM (#37656458)
They mean that they have an overall positive opinion of Homebrew, more than “not bad” but less than “amazing”.
Re:macOS Containers v0.0.1 by dividedbyzero on Tuesday September 26, 2023 @05:20AM (#37656583)
As someone who would readily say that Homebrew is pretty great, this is exactly how I feel about Homebrew.
Re:macOS Containers v0.0.1 by anonymoushn on Tuesday September 26, 2023 @05:16AM (#37656542)
For example people do not use homebrew to install python3 on a fresh install of mac os and get a python that spews a bunch of messages to stderr about the version of libc6.so and cannot speak TLS.
Re:macOS Containers v0.0.1 by sofixa on Tuesday September 26, 2023 @05:37AM (#37656754)
It only upgrades PostgreSQL 3 major versions up alongside without asking.
Re:macOS Containers v0.0.1 by eviks on Tuesday September 26, 2023 @08:40AM (#37658425)
Think this issue was fixed a few years ago
Re:macOS Containers v0.0.1 by sofixa on Tuesday September 26, 2023 @12:31PM (#37661782)
Not sure I agree, when I use brew it still regularly updates random unconnected crap through multiple major releases. And of course it takes ages doing so
Re:macOS Containers v0.0.1 by eviks on Wednesday September 27, 2023 @11:36AM (#37676239)
I was referring to your postgresql example, those became rudimentary @versioned packages
Re:macOS Containers v0.0.1 by pdpi on Tuesday September 26, 2023 @06:17AM (#37657091)
It's plenty solid, and there's a good library of packages on there. It's a package manager, doesn't take more than that.
Re:macOS Containers v0.0.1 by tomduncalf on Tuesday September 26, 2023 @05:09AM (#37656476)
I mean, it installs stuff more or less reliably for me so I’d say that’s pretty great. I’m sure it has issues (I’ve had problems trying to install old versions of packages for example) but I don’t think I’ve ever had “brew install <whatever>” fail to install what I wanted
Re:macOS Containers v0.0.1 by rafaelmn on Tuesday September 26, 2023 @06:12AM (#37657053)
I can use it to get stuff I need to do work and I don't remember the last time I couldn't. Upgrades sometimes leave me broken but it's usually ironed out fast because everyone is using it. If my dependencies are that locked down I'm using docker and special environments anyway. Linux can get tedious with upgrades breaking or dependency mismatches. Homebrew is probably the largest homogenous community - if you're doing something relatively popular there will be a lot of noise when stuff breaks. Linux is spread out across various distros/repos/package managers, overlap of users with your problem is a lot smaller.

Beats all the package management experiences I've had on Windows, admittedly I have not tried to use Windows for work for >1 year.

Re:macOS Containers v0.0.1 by nightfader on Tuesday September 26, 2023 @07:42AM (#37657841)
Homebrew is available for Linux as well since approx 3yrs now. I've been using it without issues https://docs.brew.sh/Homebrew-on-Linux
Re:macOS Containers v0.0.1 by rafaelmn on Tuesday September 26, 2023 @08:23AM (#37658232)
OK but what I like about homebrew on mac is that when I'm having an issue with "popular stack X broke after updating" it's probably me and >10k other people out there, so by the time I hit the problem it's already under investigation on GH. I'm not sure the same would apply to homebrew on Linux - even if you ignore the differences between distros - how popular is homebrew on linux and linux desktop in comparison ?
Re:macOS Containers v0.0.1 by jmbwell on Tuesday September 26, 2023 @10:04AM (#37659480)
I wish more of those 10k people would help get others off of a package manager that is so fragile and convoluted that updating so often leads to popular things breaking.

Things like macports and pkgsrc do things in an arguably much simpler, more unixy way, without the contortions that so often seem to leave homebrew in a bind after routine operations like updating.

Re:macOS Containers v0.0.1 by edgyquant on Tuesday September 26, 2023 @10:55AM (#37660320)
I’ve never experienced a broken homebrew and I’ve used Mac for years
Re:macOS Containers v0.0.1 by pneumic on Tuesday September 26, 2023 @11:38AM (#37660957)
Neither have I. My main complaint is that it's slow.
Re:macOS Containers v0.0.1 by jmbwell on Tuesday September 26, 2023 @11:50AM (#37661131)
The comment was in response to parent's stated complaint, namely having to wait for someone else to resolve issues with popular packages being broken after an update, which has been the experience of more than one user.
Re:macOS Containers v0.0.1 by edgyquant on Tuesday September 26, 2023 @10:54AM (#37660313)
I’m curious what’s the benefit? I use homebrew as a Linux package manager for MacOS. On Linux I just use the distros package manager
Re:macOS Containers v0.0.1 by samtheprogram on Tuesday September 26, 2023 @11:43AM (#37661030)
If you need to build something from source (my use-case: Vim, so I can change which language bindings exist in the resulting build) it can sometimes be a lot easier than cloning and using the "raw" C/Make build system.

Also, assuming a downstream distro like Debian or Ubuntu, what's in Homebrew is likely a more up to date package. You could fiddle with adding/using Debian testing or some PPA, or... you could just use Homebrew.

(FWIW: I use Arch and the AUR on my desktop Linux installs these days, and it's essentially the same process. But still using Homebrew on the Mac, and occasionally in Linux when I'm not on a desktop)

Re:macOS Containers v0.0.1 by licebmi__at__ on Tuesday September 26, 2023 @07:45AM (#37657871)
The experience is really seamless, mostly it just works… which IMO is nothing special as they mostly support installing the latest and maybe a couple of other versions, and software that requires weird stuff will likely be packaged in a self contained way.
Re:macOS Containers v0.0.1 by jmbwell on Tuesday September 26, 2023 @09:59AM (#37659411)
They mean they haven’t tried another package manager for Mac, like pkgsrc or macports.
Re:macOS Containers v0.0.1 by fiddlerwoaroof on Tuesday September 26, 2023 @11:04AM (#37660443)
I switched to it after using both Fink and macports and it was the first time I felt like I had a package manager as reliable to apt on Linux. Both Macports and Fink would routinely break my whole system by putting extra versions of system libraries where other applications could find them. Since, I’ve switched to nix.