I did something dumb this weekend. In fact, I did some things dumb.
1. Upgrading OS X for no reason
The release of the newest version of OS X is a great opportunity to reevaluate the tools that I use to get work done. I jumped at the chance to put the latest and greatest on my machine.
The jury is out on whether Yosemite's visual redesign is great, and Apple isn't touting any performance gains for the venerable OSX 10.10. This is why I felt especially burned when the in place upgrade broke my WiFi connectivity.
Upon first launch, I was getting speeds hardly double that of the venerable 56k modems of yore. This was disappointing, considering a modern computer is an essentially useless aluminum wedge without a real connection to the internet.
2. Fresh install with no backup
Maybe the issue wasn't with Yosemite itself. Maybe there were remnants of strange system hacks that had broken because of the upgrade. Maybe.
I made a bootable USB installer with Yosemite on it. I formatted my main internal disk. I installed Yosemite fresh.
No problem, though. Restoring from a Time Machine backup is why you make Time Machine backups.
The rub here is that I had used my Time Machine disk to move some large files around, blowing out my backups. Now I was stranded on a broken install.
Although there is no fix from Apple at the time of posting this, I was able to figure out a workaround with my router's configuration to restore connectivity. I also invested in a Lightning to Ethernet dongle.
3. Conflating npm update and apt-get update
apt-get update apt-get install cycling is a calming pseudo-mantra that soothes a certain part of my brain. Node's package manager Npm has an update command, but it is more like
I had just spent a few hours on a project wherein I migrated a few sites from a diaspora of servers and other hosting environments to a single Digital Ocean droplet. An
npm update command overwrote that installation, and erased my content.
Once the server that held the original blog became redundant, I had destroyed it. The original JSON object used to import the content in the first place was lost in a third install of Yosemite (don't ask).
All of my posts are lost to the sands of time.
A learning opportunity
I made some really stupid, careless mistakes that cost me time and data. I was not ignorant of best practices, I just recklessly ignored them. Here is what I learned:
1. Don't early adopt an OS, especially for no good reason
2. Make and verify all backups both periodically and directly before doing anything interesting with your system.
3. Learn the tools that you are using, and don't assume things about them. Backup regularly any internet content you are responsible for.