Work through the problem. Check what actually works.
Bilingual implementation notes on Web development, PostgreSQL, Cloudflare, AI tool workflows, and TypeScript programming problems.
Featured notes
- A Green Build Is Not a Live Release
Separate a successful build from evidence that a release is live.
- Why does the next page repeat a row? OFFSET and keyset pagination
Reproduce duplicate and skipped rows after inserts or deletes, then choose a pagination strategy.
- The site is deployed. Why am I still seeing the old version?
Trace stale pages through HTML, ETags, and asset URLs.
Recent notes
Introducing UI SDK: composable interactions and an interface agents can use
A practical introduction to UI SDK behaviors, primitives, framework adapters, and the agent bridge, with React requirements, benchmark limits, and a small Astro integration to evaluate.
JavaScript Closures: How Functions Remember Outer Variables
Use counters to explore closures and lexical scope, shared and independent state, and memory cleanup.
JavaScript Callbacks and Higher-Order Functions: Passing Behavior as an Argument
Build a reusable array transformation to understand callbacks, higher-order functions, map, arrow functions, mutation, and shallow copies.
What Happens When a JavaScript Function Runs? Execution Context and Local Memory
Trace JavaScript function calls, parameters, return values, and local variables with original examples, then see how closures preserve state.
What Is an AI Harness? From Answering Questions to Executing Tasks
Follow a bug fix to understand AI harnesses: instructions, tools, the agent loop, context, and model adapters—and how they differ from Agent Skills, MCP, and sandboxes.
Structured Output: The AI Returned JSON. Now What?
Compare format prompts, JSON mode, and schema constraints. Use metadata checks, timestamps, and a token-estimation counterexample to see what the application still needs to validate.
Curious to explore more?
Explore all notes