Blogs
Writing on frontend engineering, infrastructure, and shipping products end to end, plus notes from each of my projects.
- מה TCP שומר כשהחיבור שקט? — שני שרתים יכולים להישאר מחוברים שעה בלי לשלוח דבר. מה הקרנל שומר בכל צד, מי באמת מאזין, ואיך רואים את זה בפעולה עם Python, ss ו־tcpdump?
- A week of building: products, systems and things I learned — A week of product updates, mobile design, privacy improvements, infrastructure work and new bilingual reading—plus an invitation to share what you would like to see next.
- A small filter, an entire image — Convolution reuses local filters across an image. Parameter count stays fixed while activation memory grows with image area.
- Why the old address lives on after you change the DNS record — Lowering TTL does not shorten an already-cached answer. Negative caches, stale serving and existing connections complicate migrations.
- Accuracy lies when the rare case is the one that matters — A worked confusion matrix shows how recall, false-positive rate and prevalence determine alert quality and operator workload.
- One transaction, two different snapshots — Atomicity does not freeze concurrent data. Read Committed and Repeatable Read choose snapshots at different boundaries.
- You forked a process. Did you copy all its memory? — Fork can share private physical pages until writes separate them. Count distinct dirtied pages and distinguish RSS from PSS.
- A bigger queue does not make the service faster — Bounded queues must slow admission, not just collect waiting tasks. Little's Law relates average work, throughput and residence time.
- Root in a container: which powers remain? — UID, capabilities, no_new_privs and read-only filesystems protect different boundaries. Ordinary writable data remains writable.
- The request timed out. Was the order created? — A timeout leaves the outcome unknown. Safe retries need stable operation keys, unique constraints and atomic effect records.
- Attention matches keys and mixes values — Queries match keys; the resulting weights mix values. One numerical example exposes the roles, shapes and limits.
- Why a classifier learns from logits, not argmax — Argmax loses the score differences needed for ordinary gradient training. Softmax and cross entropy preserve a useful signal.
- A similarity score is not a probability — Dot product and cosine can rank the same vectors differently. Similarity also depends on compatible encoders, normalization and versioning.
- Fewer bits, the same number of weights — INT8 changes how weights are represented. Scale, rounding and clipping explain both the storage benefit and the accuracy trade-off.
- Who decided that 0.5 was the right threshold? — The same model can justify different thresholds when error costs change. Calibration and review capacity belong in the decision.
- Ten Linear layers still need nonlinearity — Stacking affine layers still produces an affine map. ReLU changes that; a two-unit XOR makes the difference explicit.
- The order was saved. The event disappeared. — Save business state and publication intent together. A relay can recover after crashes, but duplicate delivery still needs handling.
- Exit code 137: the container that ran out of memory — A container that dies with no error in its own logs was often killed from outside. Its memory limit is separate from the machine's.
- The edge cases are the spec — The happy path is the part everyone already agrees on. What the software does with nothing, with too much and with the unexpected is what users actually meet.
- Cache by content, not by guess — A cache that is keyed on the wrong thing is either useless or dangerous. Key it on what the result depends on, and order the work so the stable parts come first.
- Why the old address lives on after you change the DNS record — A DNS change is not a switch, it is a countdown. Every resolver keeps the old answer until its time runs out, and some keep it longer.
- Accuracy lies when the rare case is the one that matters — If one case in a hundred is the one you care about, a model that never finds it is 99% accurate. Precision and recall say what accuracy hides.
- A model that remembers has not learned — A model can score perfectly on what it has seen and fail on everything else. Splitting the data three ways is how you find out which one you built.
- Train for the failure, not the happy path — Nobody learns recovery from reading about it. Rehearse the failure on purpose, in a safe place, and write down what you did.
- Time goes to waiting, not typing — The slow part of most changes is the gap between steps: a build, a review, a deploy. Shrink the change and the gaps shrink with it.
- Parallel work needs one owner per area — Adding hands only helps if two of them never reach for the same thing. Split by what is touched, brief like a peer, and check what comes back.
- Training and inference are two different jobs — A training step is forward, loss, backward, update. Serving needs only the forward pass, and two separate switches control that.
- Did the model succeed, or did the test leak the answers? — Shuffling frames into train and test looks tidy and still leaks. The split boundary should match what is new at use time.
- Why a GPU likes batches, and your user may not — Batching shares weights across requests and raises throughput, but each request still waits for the whole batch.
- A pipeline gate that earns its place — Good gates check the thing users see, fail with a clear reason, and are exact about what moves production.
- Why my code change did not change the live site — I changed the hero in code and production still showed the old text. The content store overrides the built-in defaults.
- Stop trying things, start verifying — Three plausible fixes failed because none was checked against the real page. The cause was one CSS line on the root element.
- Why is the container slow when the server is almost idle? — A CPU limit is a time budget per window. Spend it early with parallel workers and the container waits, even with free cores.
- Why localhost in a container is not your machine — 127.0.0.1 belongs to a network namespace. A process in a different one is looking at a different loopback.
- You sent two messages and received one and a half — TCP is an ordered stream of bytes. Message boundaries are your protocol's job, usually a length prefix and a buffer.
- The write succeeded. Will it survive a crash? — Reading data back proves nothing about durability. Only a successful fsync, or a WAL flush, makes the storage commit to it.
- Spend tokens like a budget, not like a tap — Almost all tokens in agent work are re-reads of context. Smaller contexts, fewer calls and delegated short answers cut cost.
- Site 1.4: the name leads, and nothing shifts while it loads — Blog posts and project pages stop jumping as they load, section headings outrank card titles, project tabs fit a phone, pictures use the responsive ladder, and the home hero now leads with the name.
- WindoM 1.6 to 1.8: asking less, showing more, readable docs — Three releases in a week: WindoM asks for location and history only when you choose them, accounts gain sessions, export and a security log, the extension becomes keyboard accessible, and windom.app is rebuilt around reading.
- Site 1.2: Hebrew, an admin for everything, and an MCP server — Everything on the site becomes editable from the admin, the whole site exists in Hebrew with a workflow that keeps the translation current, and an MCP server can read and write it.
- The site in Hebrew, and how the translation stays current — Every page exists under /he. Each piece of Hebrew remembers the English it was written against, so an English edit shows up as stale Hebrew, and search engines only index a Hebrew page that has Hebrew.
- Two replicas, CI-owned images, and CI for the infrastructure — The site now runs two replicas of each service with rollouts that never drop to zero. The manifests no longer name an image, so applying them cannot revert CI, and the infrastructure repository gained its own CI before it went public.
- From merge to prod: preprod, a tag, one credential each — A merge to main deploys to preprod, and a version tag promotes the same image digests to production. Each environment now has its own cluster credential, and the deploy refuses one that reaches the other.
- Telemetry for WindoM on the same small cluster — WindoM's API sends its logs, metrics and traces to the cluster over OTLP. The collector removes personal data before anything is stored, retention is short by design, and five alert rules send email.
- A media library in the database the site already had — The site gained a media library without an object store or a new volume: each item is one CouchDB document with its variants attached, its metadata stripped, and immutable URLs.
- The site's content moves out of the source — Changing a sentence on the home page used to mean a commit and a release. Now the content lives in the store with a draft and a publish step, and the source files remain as the seed and the fallback.
- An MCP server for the site, locally and over HTTPS — The site can be read and edited by an MCP client: first as a local stdio server over the API, then at a public HTTPS endpoint with an OAuth 2.1 sign-in through GitHub that only the owner can pass.
- Site 1.1: dashboards for notes and work, and releases by digest — Notes and work become dashboards over a new activity API, the first project notes arrive, and CI changes so a release promotes the very image it built and scanned.
- Site 1.0: the first release — The first tagged release of yehudabriskman.com: the rebuilt pages, an accessibility floor held in CI, and a pipeline where merging reaches preprod and only a tag reaches production.
- An updater that cannot choose the version — Bothy's updater deploys only what the main branch already pins. It checks before, snapshots, verifies by response body, rolls back on failure, and never replaces itself mid-run.
- Why Bothy has no shell in the browser — Bothy can restart, stop and start a container, and nothing else. The missing exec is a deliberate regression, and the limit is enforced in places a later change cannot quietly widen.
- Bothy asks Docker what is running — A console for one machine is usually a hand-written list, wrong from the first container that moves. Bothy has no list: it joins two read-only APIs and classifies what it finds.
- Why the Gmail widget was withdrawn — Reading mail needs a Google scope that requires a recurring third-party security assessment. WindoM switched the widget off behind a flag instead of deleting it.
- A provider's 401 is not a signed-out user — Signing in to WindoM worked, then undid itself. A stale Calendar or Spotify grant was being read as an expired session, and the refresh storm that followed ended the real one.
- The glass is computed, not decorated — WindoM's glass bends the wallpaper through Snell's law instead of faking it with blur and tint. Getting there meant finding the browser fault that had been erasing the backdrop.
- The cluster pulls the site's images; CI only rolls them out — The node stopped building the site from a working directory and started pulling the images CI publishes. The deploy account can touch two named deployments and nothing else, and preprod got its own namespace and database.
- WindoM 1.5: computed glass, and Gmail withdrawn — The glass becomes real refraction, the Gmail widget is withdrawn for a licensing reason, windom.app is rebuilt, and 1.5.1 fixes a sign-in that undid itself.
- WindoM 1.4.1: a release about not breaking — Database migrations leave server startup, health checks start telling the truth, every release passes one shared gate, and users can see and revoke their sessions.
- Bothy 2026.9: five services, a cluster console, and a guide — Bothy goes from eight containers to five, gains a Kubernetes console with 29 audited actions, moves to VictoriaMetrics and Alloy, and ships a guide for people who have not read the source.
- Every check must be able to fail — Bothy has a CI job whose only purpose is to break something on purpose — because a check that has never failed might not be a check at all.
- A Kubernetes cluster on a free-tier ARM VM — oci-free is the infrastructure this site runs on: a single free-tier ARM VM created with OpenTofu and cloud-init, running k3s, with Traefik on the node, cert-manager for certificates and nightly backups.
- Bothy 2026.8: the first release — The first tagged release of Bothy: a console discovered from Docker, local single sign-on with four roles, the bothy CLI, and an install with nothing to fill in.
- WindoM 1.4: the Apps Hub, markets and a first-run guide — Integrations move into one Apps Hub, a finance dashboard arrives for stocks and crypto, and new users get templates, onboarding and a guide in English and Hebrew.
- WindoM 1.3: weather without a key, and accounts you can recover — Weather moves to Open-Meteo and needs no API key. Accounts gain email verification, password reset and deletion, and both OAuth flows move to PKCE.
- WindoM 1.1: settings that follow you — WindoM 1.1 syncs preferences to your account, fixes several ways a signed-in user could be disconnected, adds a command palette, and lays down the backend's tests and structure.
- WindoM 1.0: the new tab as a dashboard — WindoM 1.0 replaces Chrome's empty new tab with a dashboard: clock, weather, tasks, calendar, music, quick links and a focus timer, with an optional account behind it.