A Small Script for a Quiet Morning
A short technical note, mostly an excuse to show what a code block looks like here.
Most of my automation is small and selfish. It exists to remove one specific irritation from one specific morning, and then it is done. I am not building a platform. I am removing a papercut.
Here is the shape of the kind of thing I mean. Nothing clever. Just a few lines that decide, once, what the day’s soundtrack should be, so I do not have to.
const rooms = {
morning: 'Vida Tigris',
afternoon: 'Aperol Spritz Weekend',
evening: 'Evening Cocktails'
} as const;
function soundtrackFor(hour: number): string {
if (hour < 12) return rooms.morning;
if (hour < 18) return rooms.afternoon;
return rooms.evening;
}
console.log(`Put on: ${soundtrackFor(new Date().getHours())}`); That is the whole program. It will never scale, it will never be a product, and it makes exactly one decision I was tired of making. To me that is what personal technology is for. Not to build an empire on. To make a good morning slightly more automatic, and then to get out of the way.