Skip Navigation code drift

TIL

Today I learned...

Next.js Attempting to Pre-Render route.ts Files

(1 min read) Your route.js / route.ts likely needs to force dynamic rendering. export const dynamic = "force-dynamic"; Otherwise during the build process. Next will try and pre-render that page. That means it calls APIs, needs process.env, etc. It will do this even though route.* would lead you to believe

Fast App Searching on Windows

(1 min read) ueli (MIT Licensed) is Alfred, but for those of us on Windows. With the most recent Win 11 builds, you can't just tap the windows key 🪟 and then begin typing what you want.

Patching the Windows 11 Start Menu

(1 min read) ExplorerPatcher can undo the majority of Windows 11 Start Menu crap you never asked for. Recommendations? Gone. Bing Search? Gone. I'm not asking for much here. I just want my "click here for programs" button to do what's on the tin.

Making nulls distinct in Postgres < 15

(1 min read) From the postgres docs on unique indexes: When an index is declared unique, multiple table rows with equal indexed values are not allowed. Null values are not considered equal. A multicolumn unique index will only reject cases where all indexed columns are equal in multiple rows. Unfortunately, disabling distinct null

The Hidden Spotify “Dislike” Button

(1 min read) Turns out if you need to "teach" Spotify about music you're not into or never want again, there's a way. 1. Make a playlist. Call it something like "Unliked Songs" or "Mistakes were made" I won't judge 2.