Hacker News new | ask | show | jobs
by eertami 1449 days ago
>enjoy macOS

If you're wanting to use your laptop for development work, you're going to pick the best job for the task. Moving to OSX would not only slow things down due to how slow non-native Docker is (no it is not negligible, yes I have an M1 Mac and I have tested it in a side-by-side comparison), but you have much less control over your environment compared to Linux.

The vast majority of the people I've worked with choose to use Linux laptops over Macs, and I don't think CPU efficiency is something that's going to get them to change. While working from home, I can think of zero scenarios where I need more than 8 hours of battery life, which my x86 Intel laptop already exceeds.

3 comments

I think we're getting faster at iterating on bringing up dev environments.

Silverblue is my favorite, but it's becoming common for me to develop everything within a docker image. As quickly as we're committing to a project, we're updating the env and rebuilding that image at the same time? I'm new to this.

I have a friend who's really big into k8s and ansible. Right now it feels like I'm toying around in 1 pod. He can bring up a set of services around the thing he's developing in a few minutes. I want his power. :x

It's called docker-compose, and it's really simple compared to even a 1 pod k8s. Or maybe I'm misunderstanding what you mean by bringing up a set of services.
Yeah seconding the recommendation for docker-compose, it's a great way to start up multiple services and once you know the syntax, pretty straightforward to use in my limited experience. You can essentially declaratively define which other Docker containers you want to start up (in which order), which volumes they can use, and which ports should be exposed.
I don't enjoy macOS but I enjoy the hardware.

All of my work goes into (local/alpha/beta) production linux box that's why the mac is technically just a display.

And when I say local, I refer to a linux server, the mac connects to it. the macOS terminal does a nice work doing that, don't think there would be any difference in that regard if the laptop was running linux.

The new mac checks all of the hardware boxes that I wanted. Even occasional gaming if I felt like it.

> due to how slow non-native Docker is

Are you running arm64 containers? Is x86 a requirement for you?