Last week I spent hours debugging our application. Something was broken in the remote request layer, and I spent quite a bit of time debugging it with curl.
The culprit? Apple. I missed a notification hidden below all the windows that iTerm was requesting access to my local network. So curl installed via Homebrew and activated using direnv was not working because it was not getting the required entitlement.
But curl in the `/usr/bin` directory was working just fine because it has the necessary entitlement from Apple. So "/usr/bin/curl http://192.168.20.1" was working just fine, while "/opt/homebrew/bin/curl http://192.168.20.1" was silently failing.
Fun. Fun. Fun.
Can you disable this bullshit? Nope. Permission grants need to be renewed every 30 days. And they pop up at the most inopportune moments.
Desktop Docker (eww, yuck) and it’s permissions, path hell and general bs.
Can <permissions dialogue> it <permissions dialogue> be <permissions dialogue> any <permissions dialogue> other <permissions dialogue> way? <permissions dialogue>
I want a headless mac mini running docker. Why is it so hard?
Yeah, you can get a little Beelink with AMD's new chips and a boatload of RAM for around the price of a mac mini (cheaper if you are trying to max out the mini). The Ryzen AI 9 can run at about 28W I believe, it's not too bad.
I’m running the mini on 7w (averaged over a month).
It’s networked at 10gb, which is hard to do on mini pc/nuc without using a lot more power. My other Nucs use 70ish (nuc 9 extreme) or 35 (nuc 10 with thunderbolt dongle).
The mini is also much more powerful.
The is was a bit of a nightmare to tame but I’ve got it sorted now.
The culprit? Apple. I missed a notification hidden below all the windows that iTerm was requesting access to my local network. So curl installed via Homebrew and activated using direnv was not working because it was not getting the required entitlement.
But curl in the `/usr/bin` directory was working just fine because it has the necessary entitlement from Apple. So "/usr/bin/curl http://192.168.20.1" was working just fine, while "/opt/homebrew/bin/curl http://192.168.20.1" was silently failing.
Fun. Fun. Fun.
Can you disable this bullshit? Nope. Permission grants need to be renewed every 30 days. And they pop up at the most inopportune moments.