RandomWits

life is too short for a diary

Most popular




boolean vs Boolean in Java

What's the difference between boolean and Boolean in Java? At first, they look almost the same. Both can hold true or false...

Continue reading → Tags : java






Adding Clap Controlled Dark Mode With TensorFlow.js

I added a small experiment to this site: click a clap listener button, allow the microphone, clap your hands, and the site toggles dark mode. The interesting part is not the dark mode itself. The interesting part is how a static Jekyll site can run a small machine learning model in the browser without a backend server...

Continue reading → Tags : javascript tensorflowjs ml jekyll dark-mode






Logging Codex Sessions Without Spending Context

Codex already writes a local JSONL transcript for every session. A stop hook can use that transcript to append each prompt and response to Markdown, giving you searchable Obsidian notes without asking the model to summarize anything...

Continue reading → Tags : codex ai obsidian tmux