Code: A very simple way to persist the logs of tasks run via crontab is to pipe their stdout and stderr into /usr/bin/logger, which merges them into the syslog. This reuses the existing logging infrastructure already present on most UNIX-y machines, including standard log rotation. Best suited for small amounts of lines.

<some-command> 2>&1 | /usr/bin/logger -t <tag>

It is remarkable how much long-term advantage people like us have gotten by trying to be consistently not stupid, instead of trying to be very intelligent.

Charlie Munger

Food: Hummus, zucchini and bresaola sandwhich. Slice the zucchini lengthwise into strips and quickly sear them on high-heat. Don’t be shy with the hummus, don’t make the zucchini strips too thin or too dry. Best made with sourdough bread. Delicious!

Book: Sea of Tranquility by Emily St. John Mandel. This book is a glorious celebration of longing and belonging, of beauty, of empathy. A graceful, intimate work of speculative fiction masterfully woven across time, confronting some of mankind’s fundamental questions with a sense of wonder that never dissipates. I’ll have to read it again soon.

Code: Just discovered Kysely (GitHub, NPM), a type-safe query builder for Node.js written in TypeScript. Fantastic developer experience, particularly when accompanied by Kysely Codegen (GitHub, NPM).

Music: “Spirits” by Nothing More. Evocative mix of post-screamo, hardcore and nu metal with accents of djent and EDM. This is what happens when we embrace our teenage angst as we grow up, learning how to wield it and focus it against the struggles of adult life. Loved it. Highlights: “Ships in the Night”, “Don’t Look Back”, “Deja Vu”, “Dream With Me”.