Sometimes, in the favor of progress, you need to accept that you don’t understand something. Plenty of examples in software engineering. Write it down, come back it to later, but for now, accept that it works for you and not against you.
tail -f ~/notes
short notes, TILs, and what I'm tinkering with.
4 entries · newest first
-
Accept the abstraction -
Rebuilt itrogers.com on Astro Migrated this site off Gatsby and onto Astro. The old build had drifted out of date and felt heavier than a personal site should be. Astro ships zero JavaScript by default, which is exactly right for something that’s mostly words.
Kept every article, set up 301s from the old date-prefixed URLs, and added this notes stream so the site can be a living document instead of a thing I touch once every two years.
-
TIL: Astro content collections + the glob loader Astro 5’s content layer lets you point a collection at a folder with the
glob()loader and validate frontmatter with a Zod schema. Bad frontmatter fails the build instead of silently rendering wrong — which is how it should be.const notes = defineCollection({ loader: glob({ pattern: "**/*.md", base: "./src/content/notes" }), schema: z.object({ date: z.coerce.date() }), }); -
Shipping beats polishing Reminder to self: a site that’s live and a little rough beats a perfect one that never ships. This stream exists to lower the bar for posting — short notes, no ceremony.