-
For the past few years I’ve had an anchor project that runs in two places. The first is on my Mac Pro (trashcan) - keeping this system running has meant disabling OS updates; making sure filepaths don’t change, never updating NodeJS or any dependencies. My “home office” (I’ve worked from home for over a decade now) is in the corner of my bedroom and, if you know anything about the black Mac Pro; it makes a ton of noise.
When the M1 macs were announced a glimmer of hope came in to my world. Could it finally be time to migrate off of the Mac Pro and consign it to the realm of, well, not being four feet from my head while I’m trying to sleep?
I picked up the Macbook Air with some windfall cash from a crypto expirement I did a couple of years ago (I like function keys and the Esc key feels like it’s in the right place.) Last night I finally had the headspace to try to figure out how to get the project running on that machine. There are several dependencies (it’s a NodeJS project after-all) and I was worried that binary compatibility would be a problem.
The second environment is a linux server that isn’t so much spinning plates; but I don’t want to mess with dependencies there if I can help it. As it works out; it seems like bumping the Node version from 14LTS to 15.8.0 gets the core system running handily.
From there it was a matter of changing my Sequelize dependency to the latest. This broke some of my model auto-import code but it works out that the newer preferred method of initializing model definitions is backwards compatible (and a lot cleaner than what I was doing.)
Right now the system is running in skeleton mode; there’s no data or accounts. That’s a job for another day. So far I’ve been really pleased with the battery life; I worked for about 3 hours last night in bed, compiling native versions of Node and a couple of gyp libraries and I only used around 5-6% of the battery.
I still wish they’d included at least one regular Type-A USB port and an SD card slot, maybe we see something like that in June. Here’s to hoping.
-
Gonna try for a full eight hours today. We’ll see how it goes.
subscribe via RSS