All Articles / Engineering notes

Field notes on AI and web engineering

AI development, AI tools, 3D web, building products, and Java migration. Each article covers settings, measurements, and failures we actually ran into.

Latest

New

Why I built One Ladle Army

One Ladle Army is a mobile action game about a camp cook. Everyone in his army has food poisoning, so he grabs a soup ladle and charges into hundreds of soldiers alone.

Read article

AI Development in Practice

Methods, frameworks, and hard-won lessons from putting AI into a real development workflow — from knowledge management to tooling.

Build a Claude Code mod: one pane for your AI work queue

I often run several AI work lanes at once. One writes code, one writes copy, one does research. To check progress, I switched between many windows.

Read article

Will WebMCP replace Playwright? Turning “guess the button” into tools the website provides

No. Playwright is a browser automation and testing tool. WebMCP lets a cooperating website declare capabilities hidden behind its interface as structured tools. They solve problems at different layers.

Read article

How to validate AI-generated code: five layers in this site’s build

A source-based walkthrough of bilingual article checks, initial HTML validation, and advertising scope, separating enforced checks from recommendations and human review.

Read article

Running AI agents on a schedule: three pitfalls, starting with "exit 0 does not mean success"

An AI agent script that passed a hundred manual runs died on its first night under launchd. And not the noisy kind of death — the kind that prints an error message and then returns exit 0.

Read article

Avoiding wrong answers in browser automation: reliability checks for a NotebookLM integration

Use kof-notebooklm-mcp to examine stale replies, interrupted streams, and UI contamination, while distinguishing enterprise APIs from this browser integration.

Read article

Feeding YouTube links straight to Gemini: one API call, and four things the docs will not tell you

To turn a YouTube video into structured notes, the intuitive pipeline is: scrape the transcript, feed it to a model. You do not need any of that — Gemini's fileData accepts a YouTube URL directly, and the model watches the video itself, subtitles or not.

Read article

AI Tools & Models

First-hand testing of models and tools: which one fits where in your workflow.

llms.txt vs AGENTS.md vs OKF: three kinds of "markdown for AI" that solve different problems

Lately there is a pile of "markdown for AI": llms.txt, AGENTS.md, CLAUDE.md, OKF. They keep getting lumped together, so people ask "if I have one, do I still need the others?"

Read article

I gave my repo a memory so my AI agents would stop forgetting. It almost made me miss a bug.

I built this site piece by piece with Claude Code and Codex. Every session starts cold, so they do not know what came before. I used Google’s Open Knowledge Format (OKF) to turn the repo’s "brain" into a structured Markdown knowledge base.

Read article

OKF vs RAG vs vector databases: what differs, and when to use each

The phrase "OKF replaces the vector database" is confusing because it pits three things from different layers against each other. OKF is a format for knowledge, RAG is a workflow for using it, and a vector database is one retrieval infrastructure.

Read article

Diagnosing RAG errors: chunks, similarity, versions and scope

A hypothetical retention-policy case separates similarity ranking, environment filters and version synchronization, with a runnable model-free example.

Read article

How to write an OKF bundle: one directory, three rules, one minimal example

The OKF spec is deliberately tiny: a directory of markdown, YAML frontmatter, and the three rules in section 11. This piece walks through a minimal, runnable bundle.

Read article

Connecting OKF to RAG: source versions, chunks and query contracts

A source format does not repair retrieval automatically. Start from this site’s knowledge navigation to define index fields, version switching and answer checks.

Read article

3D & Interactive Web

Getting started with Three.js, WebGL, and Blender, alongside playable experiments in the lab.

Your File Stays on Your Device: Parsing PNG, PDF, DXF, and DWG in the Browser to Build a 3D Layout

Part 05 turned a hand-prepared layout into 3D with Three.js. This one handles the plan you already have. It might be a screenshot, a PDF, or a DXF or DWG file from your architect.

Read article

Replaying a game from a share code: seeds, decisions, and version changes

Build reproducible game reports with a frozen career-simulator engine, a runnable 4,096-case check, and a concrete approach to finding replay divergence.

Read article

Checking a Godot 4 web export: threads, file sizes, loading, and audio

Inspect Last Pitch Derby’s actual export settings and files, distinguish compressed transfer size from memory cost, and diagnose startup and audio failures with a repeatable checklist.

Read article

Turning a floor plan into a 3D space you can walk into: the complete Three.js approach

Floor plans are the most universal language of space, and most people cannot actually read them — between that 2D drawing and "what it feels like to live there" sits a translation gap. I turned a real three-bedroom layout into a browser 3D space with orbiting views and draggable furniture.

Read article

I wrote the same BFS twice: once as a quality gate, once as a teacher

My Sokoban game has two solvers. The algorithm is identical — plain breadth-first search — one written in GDScript inside Godot, one in TypeScript running in the browser. This is not wheel reinvention, because they are two entirely different products.

Read article

I did not hand-build 100 levels: reverse generation, BFS, and CI for a Godot Sokoban game

BoxCat launched with 40 levels. For version 1.1.0 I wanted 100, with no unsolvable maps, no invented par scores, and no sudden drops in the difficulty curve.

Read article
See interactive work in the lab →

Building Products

First-hand notes from idea to launch: what got built, why, and what it taught.

Why I built One Ladle Army

One Ladle Army is a mobile action game about a camp cook. Everyone in his army has food poisoning, so he grabs a soup ladle and charges into hundreds of soldiers alone.

Read article

A whole floor plan in a URL: serverless share links, measured at 511 to 834 characters, and what one changed character does

My 3D layout tool has "Copy share link" but no backend. The whole layout is compressed into the part of the URL after #: compact JSON, then deflate-raw, then base64url. Share links for all seven Taiwan templates are 511 to 834 characters long.

Read article

Keep article bodies out of the homepage bundle

Trace KeepOnFirst’s catalog, per-article modules, and loader map, then reproduce the checks that distinguish code splitting from merely hiding content.

Read article

Why downloads break on English pages: routes versus static files

Trace an /en/downloads routing failure through localization, native anchors, prerendering, and SPA fallback, with concrete checks for the actual returned file.

Read article

Does Deleting iPhone Photos Delete Them from iCloud? Find Your Separate Copy First

With iCloud Photos enabled, deletions sync too. Distinguish device storage from cloud storage, then locate a usable independent copy before removing photos.

Read article

Where Does “Learn More” Go? Writing Clear Link Text

Link text should tell readers what they will find next. Concrete examples cover registration, downloads, and references, including what to keep short and what to explain alongside the link.

Read article

Java enterprise migration

Learning paths and migration checks for JBoss EAP and Spring Boot.

JBoss EAP 09: understand Spring XML and verify Java configuration behavior

Compare XML, Java configuration, and ImportResource with one service and shared tests.

Read article

JBoss EAP 10: MDB-to-database failures, redelivery, and duplicate effects

Trace transaction ownership across MQ, adapters, EJB, MDB, and service boundaries, then run an H2 delivery model.

Read article

JBoss EAP, step by step: understand the container, deployment, and transactions

Continue from Spring Boot into JBoss/WildFly/EAP with six foundation lessons and four practical follow-ups.

Read article

JBoss EAP 01: standalone, domains, and management interfaces

Distinguish individual instances, managed domains, profiles, and server groups.

Read article

JBoss EAP 02: WAR, EAR, and the path to a working API

Understand packaging and startup ownership for WARs, EARs, and adapters.

Read article

JBoss EAP 03: JARs, module visibility, and Jakarta migration

Separate build dependencies, packaged files, and runtime visibility.

Read article

Looking for tools to plan a home or place furniture? They are in the home planning tools.

Open home planning tools