News for hackers. Stuff that matters.
Re:Ask HN: Best Alternative to Homebrew in 2021? by vr46 on Tuesday November 02, 2021 @08:25AM (#29080199)
I find Mike McQuaid pretty reasonable and forthright whenever I have ever messaged him. Also, he is hardly responsible for every formula out there.

For anyone who remembers the year 2000 and having to compile everything from scratch, Homebrew is brilliant - but there are complexities and quirks. For Python I’d go with pyenv. Postgres - well, watch your step and maybe use Docker instead.

Re:Ask HN: Best Alternative to Homebrew in 2021? by geraneum on Tuesday November 02, 2021 @08:47AM (#29080399)
For PostgreSQL on macOS I use and suggest https://postgresapp.com/ which is free and able to manage multiple Postgres major versions. It's also self-contained in a folder in /Applications. Also, version 14 of Postgres in the app has m1 native support.
Re:Ask HN: Best Alternative to Homebrew in 2021? by rbanffy on Tuesday November 02, 2021 @10:02AM (#29081353)
For “infrastructure” apps like databases, caches, etc, I’ve been using Docker containers. Very easy to setup and tear down in a repeatable way. Unless I’m modifying the app itself, of course.
Re:Ask HN: Best Alternative to Homebrew in 2021? by tarsinge on Tuesday November 02, 2021 @10:36AM (#29081905)
For me it’s the only sane way to manage multiple small projects. A few lines in a docker compose file and I’m done, no matter the Postgres/Python/Ruby/Lib or framework version, everything is isolated and reproductible. Downside is gigabytes of RAM wasted.
Re:Ask HN: Best Alternative to Homebrew in 2021? by brodouevencode on Tuesday November 02, 2021 @10:11AM (#29081507)
Exactly. I have a few build tools on my machine but any service installed locally has been long gone. Even the apps I work on - I just have the code locally and compile/package it up for testing within a container, which resembles the actual production landing spot. No more "it works on my machine".