Dev Log 22: 2025-11-21

Noteleaf (code)

I implemented TF-IDF based search engine for notes using a simple JSON blob stored in a documents table in the sqlite that noteleaf uses to query data.

Today I'd like to deploy the documentation (its a docusaurus site) for this, likely on github pages.

Beacon

I've renamed loose mode to relaxed: I couldn't quite put my finger on it but loose didn't feel right. This gave me the opportunity to use some sed commands across the codebase! I learned this observing Claude code do some renaming in a project a while back

find [path] [criteria] -exec ... {} +

{} + appends found files to the end of the command rather than invoking it once per file (so that the command is run only once, if possible)

from an awesome askubuntu post

Then in the ... this call to sed is executed:

sed -i '' 's/pattern/replacement/g'

The patterns were variations of loose & loose mode to edit all occurrences (g) in place (-i). More notes here!

What is it about releases that make me averse to doing them? I "procrastinate productively" when I have to release stuff.

Anyways, I've cut v0.4.0 of Beacon! Checkout the release notes right here