yamoto.dev
I build for the web and write down what I learn by taking things apart: protocols, databases, and the tools in between.
2026
- Understanding When, How Many Times, and in What Order Webhooks Arrive
I built a stand-in webhook sender and caused duplicates, reordering, and a stopped endpoint locally, to see when, how often, and in what order events arrive.
日本語 - Understanding the Differences Between Polling, Long Polling, SSE, and WebSocket
The same progress notification built four ways, with polling, long polling, SSE, and WebSocket, to see how they differ as HTTP on the wire.
日本語 - Understanding What I Write in a Dockerfile and compose.yml
What belongs in a Dockerfile and what belongs in compose.yml, and which one wins when both set the same thing, checked with a small PHP and PostgreSQL setup.
日本語 - Understanding What composer install/update/require Do
What composer install, update, and require each do, and which files each one changes, checked by running them locally.
日本語 - Understanding Why Stream Uploads in PHP Are Memory Efficient
Memory use of a PHP server that relays uploaded images, reading php://input whole versus a little at a time. Whole grows with the size; streaming stays flat.
日本語 - Understanding How GitHub Actions Expressions (${{ }}) Behave
GitHub Actions' ${{ }} pastes text in before a step runs. How that turns into script injection, checked by sending the same string through six places.
日本語 - Understanding Feature Flags
The concept of feature flags, and a working example built with CakePHP and Unleash, written so that each flag is easy to remove later.
日本語 - Understanding OpenTelemetry Tracing
Tracing calls from Next.js through a PHP BFF to several APIs with OpenTelemetry: linking them with the traceparent header and viewing the trace in Jaeger.
日本語 - Understanding When Zod's superRefine Runs
Why Zod v4 skips superRefine once an earlier check aborts, traced through Zod's processing order, and how refine's when option fixes it.
日本語 - Understanding Character Encoding and How Browsers Display Text
How Unicode (a character set) differs from UTF-8 (an encoding), and a test of whether the browser decodes a page by its charset, with UTF-8 and Shift_JIS.
日本語 - Understanding What apt update / install / upgrade Do
What apt update, install, and upgrade each do, traced through where the package lists come from and the files apt keeps on the machine.
日本語
2025
- Automating Scheduled Releases with GitHub Actions
A GitHub Actions workflow that automates scheduled releases, read step by step, from computing the next tag to creating a release with generated notes.
日本語 - Understanding What Goes into a GitHub Actions Workflow
How to read a GitHub Actions workflow from top to bottom, using a minimal example, and which parts are safe to change and which need care.
日本語 - Understanding ETag and If-Match
What ETag and If-Match are, how they prevent overwriting someone else's update with optimistic locking, and whether adding If-Match causes a CORS error.
日本語 - I Tried a Way to Detect Unknown Properties in Emotion's CSS Objects
Catching unknown CSS properties, such as typos, in Emotion styles right in the editor with eslint-plugin-css, tried for each way of writing the styles.
日本語 - What Does a containerlab YAML File Define?
What the name, nodes, and links sections of a containerlab YAML file each define, walked through with a simple example topology.
日本語 - Copying Files from a VM to Your Local Machine
Copying a file from a Vagrant VM to your machine: read the host, port, and private key from vagrant ssh-config, then transfer the file with scp.
日本語 - A Simple Hands-On for Understanding WebRTC
The roles of WebRTC, a signaling server, and WebSocket, and a minimal chat built with Next.js. Also covers the STUN and TURN servers for crossing NAT.
日本語 - I Wanted to Manage an Array in XState Context
In XState v5, an array assigned to the context comes back as an object. How I checked it, the cause, and the fix: wrap the array in an object.
日本語