by treis · 4y ago · 0 comments
(1) It just works is total bullshit. Multiple times a day I accidentally move my dock to a different one of my monitors and have to go into settings and move it back. At least once a week I turn it on and it doesn't detect one of my monitors.
(2) Its a different work flow. It expects one window open per monitor and for you to switch windows. It doesn't natively support snapping or tiling.
(3) Docker is unusuably slow. Our tests natively take a few seconds to load the app and start running. In Docker it was 2-3 minutes.
(4) Compatibility is a pain in the ass. Yes you can run things emulated but then everything is emulated within that terminal session. Switching back and forth is annoying.
I could go on but the bottom line is that Linux is way better. It may be more fiddly to get running right but once it does it stays running right. At least in my experience.
IMHO there's no point to a mac as a developer. These days everything I use is electron or web based. Similarly the code you write is almost always going to run either on Linux or in an electron like cross OS environment.
All that said, the M1 Macs are a fantastic piece of hardware. Silent, the battery lasts forever, and the design is on point.
That being said – the dock will move between monitors if you take your mouse cursor and move it to the very bottom middle of a monitor and hold it there for a few seconds. If it's jumping from one monitor to the next, it's likely that you're triggering this accidentally in the course of doing something else. You can move the dock back to your intended monitor by doing the same deliberately on the monitor you want it to be on.
Not natively, but I use Rectangle (https://rectangleapp.com/) and I believe there are a few other popular window managers.
As others have said, the moving the dock to a different monitor is peculiar.
At least once a week I turn it on and it doesn't detect one of my monitors
I've had strange behavior with a 4K LG external monitor and a MBP: the MBP wakes up instantly, and the monitor takes 5 - 7 seconds, and the computer often forgets the correct placement of windows. So something is amiss and buggy there.
If I'm not mistaken, "Docker on Mac" does this under the hood, but there's something about their implementation that is slower than just pre-allocating your own VM.
Not sure if distribution matters or not, I think there are Linux distros being worked on that run natively on M1, so you won't need to translate instructions to x86.
When you run Docker "on" a Mac, you are actually running the Linux version of Docker inside of a hypervisor. Docker tries to make this as transparent as possible, but there is a performance penalty.
If you're on an M1 Mac and using an x86 container, you're also doing CPU translation. And unlike Rosetta, it's emulating a full CPU, not passing to native libraries.