<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by xenit on Medium]]></title>
        <description><![CDATA[Stories by xenit on Medium]]></description>
        <link>https://medium.com/@xenit?source=rss-d3a4560f4045------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*eua9aQnL3RDPWScH</url>
            <title>Stories by xenit on Medium</title>
            <link>https://medium.com/@xenit?source=rss-d3a4560f4045------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 11:33:27 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@xenit/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How to Use Modern Web Guidance With Your Coding Agent]]></title>
            <link>https://medium.com/@xenit/how-to-use-modern-web-guidance-with-your-coding-agent-04e73ac9faa2?source=rss-d3a4560f4045------2</link>
            <guid isPermaLink="false">https://medium.com/p/04e73ac9faa2</guid>
            <dc:creator><![CDATA[xenit]]></dc:creator>
            <pubDate>Fri, 13 Nov 2026 14:10:55 GMT</pubDate>
            <atom:updated>2026-11-13T14:10:55.732Z</atom:updated>
            <content:encoded><![CDATA[<h4>Chrome’s skill pack for coding agents hit 1.0 on November 10. Here’s how to try it before you install it, what to set up first, and what its legacy scan won’t catch.</h4><p>Ask a coding agent for a settings modal and there’s a good chance you’ll get a div, a second div for the backdrop, z-index: 9999 and a jQuery fadeIn. It works. It&#39;s also the way people built modals ten years ago, before browsers shipped &lt;dialog&gt;, the Popover API and CSS that can animate an element as it appears and disappears.</p><p>That happens because the models learned from years of old code. On November 10, Chrome released version 1.0 of <a href="https://developer.chrome.com/blog/modern-web-guidance-v1">Modern Web Guidance</a>, a set of skills meant to push agents toward current HTML, CSS and browser APIs, with Firefox and Edge now contributing. I build browser tools and small websites with AI coding agents, so I spent an afternoon running its command line tool against a small test project. Here’s what I found.</p><p>[MEHMET (optional, delete this line if you skip it): one old pattern your agent kept writing on your own sites, in a sentence or two. Turkish is fine, I will translate.]</p><h3>What Modern Web Guidance actually is</h3><p>It’s two things. One is a library of short guides, each about a single task: animating a dialog, building a tooltip, preventing layout shift, sanitizing HTML. The other is a small CLI that searches those guides and prints them, so an agent can pull the right one into its context before it writes code.</p><p>The <a href="https://github.com/GoogleChrome/modern-web-guidance-src">README</a> says the project is maintained by the Chrome, Edge, Firefox and MDN teams. According to the announcement, the guides have Baseline browser support data built in. Baseline is a label defined by the <a href="https://web.dev/baseline">WebDX Community Group</a>: a feature is “Newly available” once all the core browsers support it, and “Widely available” 30 months after that. When I ran the list command, it returned 208 entries.</p><p>The skill file it installs is blunt about when to use it. It tells the agent to search first for any HTML, CSS or client-side JavaScript task, and not to bother with backend code, CI scripts or config files. Its reason, in its own words: “training weights contain obsolete patterns.”</p><h3>Try it before you install it</h3><p>You don’t have to install anything to see whether the guides are any good. You need Node 22 or newer. npx downloads the package and runs it in one step:</p><pre>npx modern-web-guidance@latest search &quot;animate dialog backdrop&quot;<br>npx modern-web-guidance@latest retrieve &quot;animate-to-from-top-layer&quot;</pre><p>search returns IDs and one-line descriptions. retrieve prints the whole guide.</p><figure><img alt="Terminal output of a Modern Web Guidance search for “animate dialog backdrop”, listing guide IDs such as animate-to-from-top-layer, light-dismiss-a-dialog and dialog with one-line descriptions" src="https://cdn-images-1.medium.com/max/1024/1*byvRFwhqndElKA3gkg8Ppw.png" /><figcaption>The first five of ten results for one search. Screenshot by the author.</figcaption></figure><p>The dialog animation guide was a fair test, since the announcement names dialog and popover transitions as one of the areas where Chrome’s evals show models fall short. It explains why elements that toggle display: none were hard to animate, then shows @starting-style, transition-behavior: allow-discrete and the overlay property, with the scale effect wrapped in a prefers-reduced-motion check.</p><p>One practical note: that single guide came to about 11 KB of text. That’s fine for one task, but every guide your agent pulls in takes up context you’re paying for.</p><h3>Install it, then tell it which browsers you support</h3><p>The <a href="https://developer.chrome.com/docs/modern-web-guidance">docs</a> list an install path for each agent. The general one runs a short setup wizard:</p><pre>npx modern-web-guidance@latest install</pre><p>For Claude Code it’s a plugin:</p><pre>claude plugin marketplace add GoogleChrome/modern-web-guidance<br>claude plugin install modern-web-guidance@googlechrome</pre><p>Two things are worth doing right after.</p><p><strong>Allow only this command.</strong> The skill runs npx over and over. Its own instructions say to allowlist npx -y modern-web-guidance@latest * and never a bare npx *. Take that advice. A blanket npx permission lets your agent download and run any package on the registry without asking.</p><p><strong>Write down your browser policy.</strong> By default the guides assume any feature that’s “Baseline Widely available” is safe to use without a fallback. If your users are on old iPads, or you ship inside Electron, that default may not fit you. The skill suggests adding one line to your AGENTS.md or CLAUDE.md, and its example is a decent start: allow Newly available features, but only with a fallback of 20 lines or fewer and no extra dependencies. Adjust it to fit your project.</p><p>There’s also a simple way to tell whether the skill fired at all. Its instructions ask the agent to finish with a short section headed “Modern Web Guidance” that names each guide it used. If that section isn’t there, assume your agent never looked anything up.</p><h3>What the legacy scan finds, and what it misses</h3><p>The main addition in 1.0 is a modernization workflow. The CLI’s legacy-scan command reads your HTML, CSS, JavaScript and package.json and lists places to upgrade. I tried it on a test project I wrote to look about ten years old: jQuery loaded from a CDN, the div modal from the top of this post, a tooltip that appends a div on mouseenter, and core-js, whatwg-fetch and object-assign in package.json.</p><p>It found one thing. The jQuery script tag had no Subresource Integrity hash. The modal, the hand-made tooltip and the polyfills didn’t come up.</p><p>The output explains why, if you read the first line. The scan covers 33 guides that have fixed rules, about 20% of the collection, and each rule is narrow. The dialog rule looks for hand-written “click the backdrop to close” code on a &lt;dialog&gt;. My div modal closed with a button, so there was nothing for it to match. The tooltip rule looks for tippy() calls and hover code built on delay timers, and mine had neither. When I added a tippy() call and a real &lt;dialog&gt; with a backdrop listener, the scan reported three findings.</p><figure><img alt="Terminal output of legacy-scan reporting three findings: a dialog backdrop click listener, a tippy() tooltip call, and a CDN script tag without Subresource Integrity, each with Keep when and Drop when rules" src="https://cdn-images-1.medium.com/max/1024/1*-Ajf0AWVsbKtsrT1jb5kiQ.png" /><figcaption>The second scan of the test project, after I added a tippy() call and a dialog backdrop listener. Screenshot by the author.</figcaption></figure><p>That’s less a flaw than a matter of scope. The <a href="https://developer.chrome.com/blog/modern-web-guidance-v1">announcement</a> says this first release uses static analysis on a limited set of patterns, and that audits where the agent reasons about your code are planned for later. Each finding even comes with “keep when” and “drop when” rules so the agent can throw out false positives. Just don’t read a short report as a clean bill of health. A scan that finds nothing has only checked about a fifth of what the guides know.</p><h3>How far to trust the numbers</h3><p>The project publishes an <a href="https://googlechrome.github.io/modern-web-guidance-src/">eval dashboard</a> that runs Claude Code, Codex CLI and Antigravity CLI on the same tasks with and without the guides, then grades the output in a real browser.</p><figure><img alt="The Modern Web Guidance eval dashboard showing a pass rate of 52% without the guides and 92% with them across 1,104 task runs, and automated accessibility checks rising from 56% to 94%" src="https://cdn-images-1.medium.com/max/1024/1*SmSMBDilp2zYpksyl03Xuw.png" /><figcaption>The public eval dashboard as of November 13, 2026. The numbers change with each nightly run. Screenshot by the author of the Modern Web Guidance project’s page.</figcaption></figure><p>When I looked on November 13, it showed 52% of checks passing without the guides and 92% with them, across 1,104 task runs. Two things to keep in mind. The checks are written by the same project, and some of them ask for the exact features the guides teach. In the menu task I opened, the first check required the commandfor and command=&quot;toggle-popover&quot; attributes, so an agent that has never seen those attributes fails it no matter how good its menu is. The page says that when an audit finds a check rejecting a valid alternative, the team broadens the check and re-scores the suite. And the accessibility score carries its own label: &quot;Not a full WCAG audit.&quot;</p><p>The sharpest criticism comes from accessibility specialist Adrian Roselli. In <a href="https://adrianroselli.com/2026/05/maybe-dont-rely-on-googles-modern-web-guidance.html">his post about the May preview</a>, he used Antigravity with the guides to build the accordion from the project’s own example prompt. The animation didn’t work in Firefox, and he found WCAG errors within moments. He points out that Baseline doesn’t track whether browsers support accessibility features, so “widely available” says nothing about screen readers. And he quotes the project acknowledging the main limit: “LLMs are non-deterministic. Even if we do everything right, there is no guarantee any guideline will be used for any given prompt.”</p><p>Version 1.0 added a dedicated accessibility review of the user-facing guides, so some of what he found may be fixed. I haven’t repeated his test. The core point still stands: a guide makes good code more likely, not certain.</p><h3>What I’d try first</h3><p>Before you install anything, run search for the next UI piece you were going to ask your agent for, and read the guide yourself. If it teaches you something, install the skill, allow just its one npx command, and add a browser support line to your agent&#39;s instructions. Then check the result the old way: open it in Firefox and Safari, tab through it with the keyboard, and turn on reduced motion. The guide can tell your agent what to write. It can&#39;t tell you whether it worked.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=04e73ac9faa2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Using an LLM for Classification? Check the Math at Your Volume]]></title>
            <link>https://medium.com/@xenit/using-an-llm-for-classification-check-the-math-at-your-volume-22786a296f5e?source=rss-d3a4560f4045------2</link>
            <guid isPermaLink="false">https://medium.com/p/22786a296f5e</guid>
            <category><![CDATA[llm]]></category>
            <dc:creator><![CDATA[xenit]]></dc:creator>
            <pubDate>Tue, 10 Nov 2026 20:05:25 GMT</pubDate>
            <atom:updated>2026-11-10T20:05:25.096Z</atom:updated>
            <content:encoded><![CDATA[<h4>Amazon swapped Claude Sonnet for a small decision model and cut its cost per label by 98%. At a few hundred items a month, the math can point the other way.</h4><p>If you have a feature where a language model reads something (a support email, an app review, a bug report) and drops it into one of a few buckets, you probably picked a big model because it worked on the first try. That’s how most of these features start, and it’s easy to never look at it again.</p><p>This week two Amazon engineers <a href="https://strandsagents.com/blog/amazon-saves-millions-replacing-sonnet-with-strands-decider/">wrote</a> that they replaced Claude Sonnet 4.6 with a small “decision model” for exactly this kind of job and cut the cost per label by 98%. The post went past 600 points on <a href="https://news.ycombinator.com/item?id=50436640">Hacker News</a>. I build small apps with AI coding agents, so I read it with one question in mind: does any of this hold at my size?</p><h3>What Amazon actually changed</h3><p>The job is labeling tickets in a large internal ticketing system: customer escalations, capacity requests, alarms, security findings, each sorted into one of 20 categories. Sonnet did it with a long system prompt on every ticket and answered in JSON.</p><p>The replacement is <a href="https://github.com/strands-labs/strands-decider">Strands Decider</a>, an open source model that can’t write text at all. You give it some state and a question with a fixed set of options, and it returns a probability for each option plus a confidence score. The team started with the 2B version, found that the <a href="https://strandsagents.com/blog/strands-decider-gemma-4-models/">Gemma 4 E4B build</a> did better on their tickets, and ran it on one A10G GPU per instance.</p><p>Their numbers, from the post:</p><ul><li><strong>Time per call:</strong> 4,215 ms with Sonnet, 897 ms with the decision model.</li><li><strong>Tokens per ticket:</strong> 6,724 with Sonnet, 2,010 with the decision model. The output went from 170 tokens to one.</li><li><strong>Cost per ticket:</strong> $0.0222 with Sonnet, about $0.0005 with the decision model.</li></ul><p>Two details matter more than the headline. First, the label descriptions they used in production were longer than the new model’s whole 4,096-token window, so they rewrote each of the 20 labels as a one- or two-sentence rule and added a “none” option. Second, they didn’t switch over in one go.</p><figure><img alt="Three boxes for the three modes of one config setting: BEDROCK where Sonnet labels every ticket, DUAL where both models run and disagreements are logged, and DECIDER where only the decision model runs" src="https://cdn-images-1.medium.com/max/1024/1*X90pHyh8OrXe09N8TJ1HGQ.png" /><figcaption>The three-way switch described in Amazon’s post. Diagram by the author.</figcaption></figure><h3>The 98% is a volume number</h3><p>Sonnet is billed per token. The decision model is billed per GPU hour: the post quotes $1.408 an hour for the instance, and with headroom for bursts the team lands at about $500 per million tickets. That is a great deal when you have millions of tickets. One commenter on HN worked out that saving $2 million a year this way means about 92 million tickets.</p><p>Most of us don’t have 92 million of anything. So I put the post’s numbers into a small script and ran it at smaller volumes. It assumes the same prompt size as Amazon’s tickets and one GPU instance left on for a whole month (730 hours):</p><pre>IN_TOK, OUT_TOK = 6554, 170          # Sonnet 4.6 tokens per ticket, from the post<br>sonnet = IN_TOK * 3.00e-6 + OUT_TOK * 15.00e-6<br># Haiku 5.5: $0.10 in / $0.50 out per million; newer tokenizer, about 30% more tokens<br>haiku = IN_TOK * 1.3 * 0.10e-6 + OUT_TOK * 1.3 * 0.50e-6<br>instance_month = 1.408 * 730         # one ml.g5.xlarge left on all month</pre><pre>Sonnet 4.6 per item:  $0.0222<br>Haiku 5.5 per item:   $0.00096<br>Decider GPU, 730 h:   $1,027.84<br>Break-even vs Sonnet: 46,274 items/month</pre><p>Below roughly 46,000 items a month, a GPU you keep running for the decision model costs more than simply paying Sonnet. At 1,000 items a month, Sonnet costs about $22 and the GPU costs about $1,028.</p><figure><img alt="A table of monthly labeling cost at 1,000, 10,000, 100,000 and 1,000,000 items for Sonnet 4.6, Haiku 5.5 and one GPU instance left on all month" src="https://cdn-images-1.medium.com/max/1024/1*YXykagG9mEoMjN6k7fv-GA.png" /><figcaption>Monthly cost at four volumes, from list prices. Table by the author.</figcaption></figure><p>The right column is the one that changes most with your setup. An endpoint that scales down when idle, a cheaper GPU or a machine you already pay for can all bring it down. The makers describe the 2B version as small enough to run on a local CPU or GPU and answer in tens of milliseconds, so on a server with spare capacity that column could be close to zero. I haven’t run it myself.</p><h3>The one-line change most of us should try first</h3><p>A question that came up again and again in the HN thread was why the team didn’t just move to a smaller hosted model. Anthropic’s <a href="https://platform.claude.com/docs/en/about-claude/pricing">price page</a> lists Claude Haiku 5.5 at $0.10 per million input tokens and $0.50 per million output tokens, and describes it as built for “classification, extraction, and routing”. The same page says newer Claude models produce about 30% more tokens for the same text, which my script includes. That puts Haiku at about a tenth of a cent per item, or under $10 for 10,000 items a month.</p><p>That is a change to one model ID, not a new deployment. And since the long label list is the same on every call, prompt caching can cut that further: Anthropic bills a cache hit at a tenth of the normal input price.</p><p>Some commenters went further back and asked whether anyone had tried scikit-learn. One linked a <a href="https://arxiv.org/abs/2103.06927">2021 paper</a> on a log classification pipeline built with SVMs that took a couple of minutes to train. If you already have a few thousand labeled examples, a classic classifier is a fair thing to test before any model you pay for per call.</p><p>What none of this tells you is accuracy. I don’t know whether Haiku labels these tickets as well as Sonnet or the decision model does, and I didn’t find a measurement in the thread either. That’s why the next part matters more than the price table.</p><h3>What I would copy at any size</h3><ul><li><strong>A closed list with a way out.</strong> Write each label as a one- or two-sentence rule and add a “none” option. It gives any model a clearer job, and writing the rules forces you to decide what each label actually means.</li><li><strong>A three-way switch.</strong> Old model only, both, new model only, read from config on every call. In the middle mode both models run, the old answer still wins, and every disagreement goes to a log you read.</li><li><strong>The same input in the same order.</strong> The Amazon team found that changing the order of JSON keys moved the output probabilities by up to 0.19. They now sort the keys on every request.</li></ul><p>This is the switch in its smallest form:</p><pre>import json<br>MODE = &quot;dual&quot;  # &quot;old&quot;, &quot;dual&quot; or &quot;new&quot;; read it from config, not code<br>def label(item, old_model, new_model, log):<br>    payload = json.dumps(item, sort_keys=True)  # same key order every call<br>    if MODE == &quot;old&quot;:<br>        return old_model(payload)<br>    if MODE == &quot;new&quot;:<br>        return new_model(payload)<br>    old, new = old_model(payload), new_model(payload)<br>    if old != new:<br>        log.append({&quot;item&quot;: item[&quot;id&quot;], &quot;old&quot;: old, &quot;new&quot;: new})<br>    return old  # in dual mode the old answer still wins</pre><p>With two fake models and three toy items, the log keeps only the one they disagree on:</p><pre>[{&#39;item&#39;: 2, &#39;old&#39;: &#39;bug&#39;, &#39;new&#39;: &#39;billing&#39;}]</pre><p>The team wrote that running both models on real traffic and judging every disagreement told them more than any offline eval, and that going back was a 45-second config change. None of that depends on volume. At a few hundred items a month, a dual week with a hosted model adds a few cents.</p><p>[MEHMET: optional, delete this line if you skip it. One or two sentences on something in your own work you would sort this way (store reviews, support mail, bug reports) and roughly how many a month. Turkish is fine, I will translate.]</p><h3>Where a decision model doesn’t fit</h3><p>The post is upfront about its limits. It worked because the task was a closed choice from a known list, the volume was high and speed mattered. If your labels need an explanation, if the list changes every week, or if the useful context doesn’t fit in a few thousand tokens, the authors say a decision model probably can’t replace the LLM. Even in their case, long tickets had their oldest comments dropped to fit.</p><p>The makers’ own <a href="https://strandsagents.com/blog/introducing-strands-decider/">introduction</a> adds that this kind of model is much worse than a reasoning model at complex problems and can’t do anything that needs generated text.</p><p>And the accuracy claim is thin. The post says the E4B model beat production Sonnet on a separate set of tickets, but it gives no accuracy figure, which one HN commenter pointed out too. That doesn’t make it wrong. It means the only accuracy number you can trust is the one from your own dual mode.</p><p>If you have a labeling feature running on a big model today, try it in this order: rewrite the labels as short rules with a “none” option, put the cheapest hosted model behind a dual switch for a week, and read every disagreement. Think about GPUs when your monthly bill says so, not when a headline does.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=22786a296f5e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Get a Golden Ratio Grid on Your Phone Camera]]></title>
            <link>https://medium.com/@xenit/how-to-get-a-golden-ratio-grid-on-your-phone-camera-6d6f9dedac1e?source=rss-d3a4560f4045------2</link>
            <guid isPermaLink="false">https://medium.com/p/6d6f9dedac1e</guid>
            <category><![CDATA[golden-ratio]]></category>
            <category><![CDATA[photography]]></category>
            <category><![CDATA[compsition]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[smartphone-photography]]></category>
            <dc:creator><![CDATA[xenit]]></dc:creator>
            <pubDate>Fri, 06 Nov 2026 20:05:21 GMT</pubDate>
            <atom:updated>2026-11-06T20:05:21.012Z</atom:updated>
            <content:encoded><![CDATA[<h4>Where iPhone, Pixel and Samsung keep the grid, how much the golden ratio version really changes, and what to do when your phone only has thirds.</h4><p>You read that the golden ratio makes for better framing, open your phone’s camera settings to turn on a golden ratio grid, and find a single switch called Grid. Some phones go further, and some hide the option under a name you’d never search for.</p><p>I build an Android camera app around composition guides like these. In an <a href="https://medium.com/@xenit/d5b26d38bd9c">earlier post</a> I wrote about what the spiral and the grids are good for, and what they can’t do. This one covers the practical side: where to find a grid on your phone, how much a golden ratio grid really differs from a thirds grid on a phone screen, and how to get the same result when your camera only offers thirds.</p><p>First, the two grids in one paragraph. A rule of thirds grid cuts the frame at 33% and 67% across and down. A golden ratio grid, also called a phi grid, cuts it at 38.2% and 61.8%, which comes from the golden ratio of about 1.618. The phi grid’s middle band is narrower, so its four crossings sit a little closer to the center.</p><p>Google Play Link: <a href="https://play.google.com/store/apps/details?id=com.owlapp.spiralens&amp;hl=tr">https://play.google.com/store/apps/details?id=com.owlapp.spiralens&amp;hl=tr</a></p><figure><img alt="The same photo of a white lighthouse on a green headland above the sea, shown twice: once with rule of thirds lines and once with golden ratio grid lines, which sit closer to the center" src="https://cdn-images-1.medium.com/max/1024/1*q4PtvvnkJUbt1MKpgOh5YA.jpeg" /><figcaption>The same photo with a thirds grid (left) and a golden ratio grid (right). The lighthouse sits almost exactly on the right-hand thirds line. Photo by Dietmar Rabich (CC BY-SA 4.0, Wikimedia Commons); the grid lines were added by the author, and this version is shared under the same license.</figcaption></figure><p>Both do the same basic job. They give you a few places to put the thing you’re photographing that aren’t the dead center and aren’t jammed against an edge.</p><h3>Where to find the grid on your phone</h3><p><strong>iPhone.</strong> The switch isn’t in the Camera app. Apple’s user guide puts it in Settings &gt; Camera, where you turn on Grid, and Level next to it. There’s a single Grid switch, with no choice of grid type.</p><p><strong>Google Pixel.</strong> Google’s help page lists it under the camera’s settings as Grid type. A <a href="https://howtosimply.com/guides/how-to-turn-on-the-camera-grid-on-a-google-pixel/">walkthrough on a Pixel 10a</a> running Android 17, updated in October 2026, shows the choices: No grid, 3 x 3, 4 x 4 and Golden ratio. To get there, open the camera, tap the photo settings button at the bottom left, then the three-dot button. Grid type is under Composition. That makes Pixel the only phone here where I could confirm a golden ratio grid.</p><p><strong>Samsung Galaxy.</strong> On One UI 7 and later, Samsung’s <a href="https://www.samsung.com/in/support/mobile-devices/composition-guide-feature-in-galaxy-devices/">support page</a> says to open the camera’s quick controls, tap Settings and turn on Composition guide, which covers grid lines and a level. On older versions the same setting is called Grid lines.</p><p><strong>Other Android phones.</strong> Open the camera’s settings and look for “grid”, “gridlines” or “composition”. If you only find a thirds grid, the next two sections are for you.</p><h3>How much the golden ratio grid really changes on a phone</h3><p>Less than you might think. Hold a phone upright with a screen 1,080 pixels wide, and the thirds line and the phi line on each side are about 53 pixels apart, a few millimeters on most phones, less than a fingertip. Up and down, on a 1,920-pixel-tall screen, the gap is about 93 pixels. That’s a real difference, but it’s a nudge, not a different photo.</p><p>There’s a less obvious point too. If you like the golden spiral, it’s natural to assume the phi grid is the closer match. On a tall phone frame it isn’t. By the math in my app, the spiral’s curl (the tight point it winds into) sits about 7% of the frame width from the nearest thirds crossing in a full-screen 9:16 frame, and about 16% from the nearest phi-grid crossing. On a 1,080-pixel-wide screen, that’s roughly 75 pixels versus 180. In a standard 3:4 photo frame, the numbers are about 7% and 15%.</p><p>Google Play Link: <a href="https://play.google.com/store/apps/details?id=com.owlapp.spiralens&amp;hl=tr">https://play.google.com/store/apps/details?id=com.owlapp.spiralens&amp;hl=tr</a></p><figure><img alt="A tall phone-shaped frame with dashed blue rule of thirds lines, solid gold golden ratio grid lines, and a black dot for the golden spiral’s curl, which sits right next to the lower-right thirds crossing" src="https://cdn-images-1.medium.com/max/1024/1*5ZbxrrpmI39MmerinjY1hQ.png" /><figcaption>On a tall phone frame, the golden spiral’s curl lands closer to a thirds crossing than to a golden ratio grid crossing. Diagram by the author.</figcaption></figure><p>So if the spiral is what you’re after, a plain thirds grid is the better stand-in. If you just want to stop putting everything dead center, either grid works.</p><h3>Using a thirds grid like a golden ratio grid</h3><p>If your phone only has the 3 x 3 grid, you can still aim for golden ratio points.</p><ol><li>Find the crossing nearest to where you want the main detail, say the lower-right one.</li><li>Aim slightly inside it, toward the center of the frame. A phi crossing sits about 5% of the frame inward from each thirds crossing, roughly a seventh of one grid box.</li><li>If you shot it a little off, fix it in the crop. Most photo editors let you drag the crop box until the detail lands where you want it.</li></ol><p>A habit that helps: put one small detail on the crossing, like an eye, a window or a flower, rather than trying to fit a whole body or building onto it. A small point is much easier to place on a thin line than a big shape.</p><h3>Symmetry and the horizon use different lines</h3><p>Not every photo wants a crossing. A face looking straight at you, a single product or a symmetric building often looks best right in the middle. A 3 x 3 grid has no center line, which makes this harder than it should be. Pixel’s 4 x 4 grid splits the frame into 16 parts, so it has a line down the middle.</p><p>For horizons and buildings, the level matters more than any grid. Turn on Level on an iPhone, the level in Samsung’s Composition guide, or Framing hints on a Pixel, which the same walkthrough describes as on-screen tips and tools like levelers. Line the horizon up with the level, then decide whether it goes high or low in the frame, depending on whether the sky or the ground is more interesting.</p><h3>When you want the guide to tell you where to move</h3><p>A grid shows the lines, but it doesn’t tell you which way to move the phone to put something on them. That’s the gap I built <a href="https://play.google.com/store/apps/details?id=com.owlapp.spiralens&amp;referrer=utm_source%3Dmedium%26utm_medium%3Darticle%26utm_campaign%3Dgolden_ratio_grid_2026_11">Spiralens</a> to fill. It has five guides: golden spiral, rule of thirds, golden ratio grid, symmetry and level horizon. Each one comes with a short lesson and before-and-after examples.</p><p>In the camera, you tap your target, an arrow tells you which way to move the phone, and a ring around the target turns green when the target sits on the guide’s point and the camera is ready. You can take the photo at any time. Green is a hint, not a rule.</p><figure><img alt="Spiralens camera screen with a golden spiral over a photo of a dog, a target circle marked “Place here”, and the hint “Move your phone down”" src="https://cdn-images-1.medium.com/max/1024/1*3XUFaPJahv4wuXEQPjHz2g.jpeg" /><figcaption>Spiralens, from its Google Play listing.</figcaption></figure><figure><img alt="Spiralens camera screen with a green ring on a dog’s eye and the hint “Ready. Tap the shutter.”" src="https://cdn-images-1.medium.com/max/1024/1*s1_eDjsP7XMtaVpxHG9ELg.jpeg" /><figcaption>Spiralens, from its Google Play listing.</figcaption></figure><p>The catch: it’s Android only, the free version has ads and puts a Spiralens watermark on saved photos, and a one-time purchase or a subscription removes them. All five guides are in the free version.</p><h3>What a grid can’t tell you</h3><p>A grid tells you where things are, not whether the photo is good. It can’t judge the light, the timing or what’s actually in the frame. I’d rather you use whichever grid you’ll leave switched on than spend time choosing between two whose crossings sit a few percent apart.</p><p>Start small: turn on the grid and the level in your camera settings today, and take your next ten photos with the main detail on a crossing instead of in the middle. Then look at which ones you like and why.</p><p>Google Play Link: <a href="https://play.google.com/store/apps/details?id=com.owlapp.spiralens&amp;hl=tr">https://play.google.com/store/apps/details?id=com.owlapp.spiralens&amp;hl=tr</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6d6f9dedac1e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Agent Hooks You Never Installed: How to Find and Remove Them]]></title>
            <link>https://medium.com/@xenit/agent-hooks-you-never-installed-how-to-find-and-remove-them-a798b8a58d6a?source=rss-d3a4560f4045------2</link>
            <guid isPermaLink="false">https://medium.com/p/a798b8a58d6a</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[postman]]></category>
            <category><![CDATA[developer-tools]]></category>
            <category><![CDATA[claude-code]]></category>
            <dc:creator><![CDATA[xenit]]></dc:creator>
            <pubDate>Fri, 06 Nov 2026 17:39:55 GMT</pubDate>
            <atom:updated>2026-11-06T17:39:55.432Z</atom:updated>
            <content:encoded><![CDATA[<h4>Postman’s desktop app quietly added plugins, a startup hook and an MCP server to Claude Code and Codex. A plain guide to checking what your own coding agent loads.</h4><p>Your coding agent starts announcing a skill you never asked for, or warns at startup that some MCP server needs a login. You didn’t change anything. Something else did.</p><p>That’s roughly what one Postman user described in a GitHub issue on October 25, and the story hit the Hacker News front page this week. I write most of my code with AI coding agents, so the folders where they keep plugins and hooks matter to me as much as my source code: whatever sits there gets read before my first prompt. Here’s what Postman changed, why the startup hook is the part that matters, and the commands I’d run to see what your own agent loads.</p><h3>What Postman put into Claude Code and Codex</h3><p>The <a href="https://github.com/postmanlabs/postman-app-support/issues/14370">issue</a> is careful and worth reading in full. The reporter opened Postman desktop 12.33.4 on a Mac after a break, and Postman’s own log recorded an automatic install with the source auto-existing-upgrade and the results claude-code:installed and codex:installed. When they looked, they found:</p><ul><li><strong>Codex:</strong> a Postman plugin marketplace and plugin in ~/.codex/config.toml, a session-start hook, and a trust record for that hook.</li><li><strong>Claude Code:</strong> the Postman plugin from Anthropic’s official marketplace, enabled at user scope, so it loads in every project.</li><li><strong>A remote MCP server</strong> at mcp.postman.com, which failed at startup because it needed a login.</li><li><strong>A Postman CLI</strong> in ~/.local/bin.</li></ul><p>To be clear about scope: the reporter writes that the report “does not claim to establish data exfiltration.” The <a href="https://news.ycombinator.com/item?id=50354960">Hacker News title</a> said Postman “attempts to share all API data,” which goes further than the issue does. What the issue documents is a consent problem. An API client changed the setup of other tools on the machine because someone opened it.</p><figure><img alt="GitHub issue 14370 in the postman-app-support repository, titled “Desktop auto-installs Codex/Claude plugins; installer attempts to trust its own startup hook”, marked Closed" src="https://cdn-images-1.medium.com/max/942/1*N63l7NlsvpXbOUYuf8uf_g.png" /><figcaption>The issue that started it, opened on October 25, 2026. Screenshot by the author from GitHub.</figcaption></figure><p>On November 5, a Postman team member <a href="https://github.com/postmanlabs/postman-app-support/issues/14370">replied</a> that the goal was to make agent setup easier, that the messaging hadn’t made that clear, and that they are “reverting this change” while they redesign it “with the right level of control.” The issue was closed and locked the same day.</p><h3>Why the startup hook is the part to worry about</h3><p>A plugin that adds a few commands is easy to ignore. A session-start hook is different. It runs a command every time a session starts, and its output can end up in what the model reads. Claude Code’s <a href="https://code.claude.com/docs/en/hooks">hooks reference</a> says that for SessionStart it “adds plain-text stdout as context that Claude can see and act on.”</p><p>Postman’s hook prints a <a href="https://github.com/postmanlabs/postman-plugin/blob/6c8e452e0f4237f4bcc0901cb1ac442dec707e49/hooks/session-start-context.md">short text file</a> wrapped in &lt;EXTREMELY_IMPORTANT&gt; tags. It tells the agent that before any non-trivial API task (designing, implementing, testing, documenting, deploying and so on) it should load the postman:api-engineer skill and follow it. In practice every API task gets routed through Postman, which is exactly what the reporter noticed. The same file does say your own AGENTS.md or CLAUDE.md instructions take precedence.</p><figure><img alt="Plain text file starting with an EXTREMELY_IMPORTANT tag and “You have the Postman plugin”, telling the agent to load the postman:api-engineer skill before any non-trivial API engineering task" src="https://cdn-images-1.medium.com/max/1024/1*S8enSm-IVf0UqX04utogvw.png" /><figcaption>The text Postman’s session-start hook prints for the agent. Screenshot by the author of session-start-context.md in the postman-plugin repository.</figcaption></figure><p>Codex has a guard for exactly this. Its <a href="https://learn.chatgpt.com/docs/hooks">hooks docs</a> say a non-managed hook doesn’t run until you review and trust “the exact hook definition,” and that trust is recorded against the hook’s hash. Postman’s installer <a href="https://github.com/postmanlabs/postman-plugin/blob/6c8e452e0f4237f4bcc0901cb1ac442dec707e49/installer/src/hosts/codex-hooks.ts">approves its own hook</a>: it asks Codex for the hook’s current hash and writes that hash into the trust table. The <a href="https://github.com/postmanlabs/postman-plugin/blob/6c8e452e0f4237f4bcc0901cb1ac442dec707e49/README.md">README</a> says so plainly: “There is no separate hook prompt or dump of its instructions.”</p><figure><img alt="Codex documentation section “Review and trust hooks”, explaining that Codex records trust against the hook’s current hash and that /hooks lets you review, trust or disable hooks" src="https://cdn-images-1.medium.com/max/900/1*jn2asmoY8luKRehxWZyuBg.png" /><figcaption>The trust step Codex puts in front of every non-managed hook. Screenshot by the author from the Codex docs.</figcaption></figure><p>That’s the lesson I took from this, more than anything about Postman. A trust record is a few lines in a config file in your home folder, and any program running as your user can write them. The plugin install commands are public too. Postman’s <a href="https://github.com/postmanlabs/postman-plugin/blob/6c8e452e0f4237f4bcc0901cb1ac442dec707e49/installer/src/hosts/claude-code.ts">Claude Code installer</a> simply runs claude plugin install with --scope user, the same command you would type. The <a href="https://github.com/postmanlabs/postman-plugin/blob/6c8e452e0f4237f4bcc0901cb1ac442dec707e49/installer/src/hosts/index.ts">same installer</a> has entries for nine agents, including Cursor, GitHub Copilot CLI and OpenCode, although the log in the issue only shows Claude Code and Codex.</p><h3>How to see what Claude Code loads</h3><p>These commands work in Claude Code 2.1.319. None of them change anything.</p><pre>claude plugin list                # installed plugins and their scope<br>claude plugin marketplace list    # where plugins can come from<br>claude plugin details &lt;name&gt;      # what one plugin contains<br>claude mcp list                   # MCP servers, with a health check</pre><p>details is the useful one. It lists a plugin&#39;s components, so you can see whether an innocent-looking plugin ships hooks or an MCP server.</p><p>Inside a session, type /hooks. It opens a read-only list of every configured hook and labels where each one comes from: user settings, project settings, local settings, a plugin or the current session. On your own machine, hooks live in ~/.claude/settings.json, in a project&#39;s .claude/settings.json and .claude/settings.local.json, and in hooks/hooks.json inside each enabled plugin. Skills and subagents can carry hooks in their frontmatter too.</p><p>One detail on the same docs page surprised me. In an interactive session, Claude Code holds back hooks until you accept the trust dialog for the folder. In a -p or SDK run there is no dialog and the folder is treated as trusted, so hooks committed to a repo&#39;s .claude/settings.json run without asking. Keep that in mind before you point a headless script at a repository you just cloned.</p><h3>How to see what Codex loads</h3><p>The Codex CLI has the same kind of read-only commands:</p><pre>codex plugin list<br>codex plugin marketplace list<br>codex mcp list</pre><p>In the CLI, /hooks shows hook sources and lets you review, trust or disable each non-managed hook. In the desktop app it&#39;s under Settings &gt; Hooks. Then open ~/.codex/config.toml and look for [hooks.state.&quot;...&quot;] sections with a trusted_hash line. Each one is a hook that is allowed to run. If you don&#39;t remember approving one, find out where it came from before your next session.</p><h3>Removing Postman’s pieces</h3><p>Postman’s README offers npx @postman/postman-plugin status to show what is installed and npx @postman/postman-plugin remove to uninstall it. Some people in the thread didn&#39;t want to run another Postman script to undo the first one, and I get that. The manual route uses each agent&#39;s own commands:</p><pre>claude plugin uninstall postman@claude-plugins-official --scope user<br>codex plugin remove postman@postman<br>codex plugin marketplace remove postman</pre><p>After that, delete the Postman entry under hooks.state in ~/.codex/config.toml if it&#39;s still there, check ~/.local/bin for a postman executable you didn&#39;t put there yourself, and restart both agents.</p><p>I haven’t run this cleanup on a machine Postman actually changed, so read each command’s output before moving on. I also couldn’t find out whether Postman’s revert removes what it already installed. Someone asked exactly that in the thread before it was locked, and I didn’t see an answer.</p><h3>What I’m doing from now on</h3><p>These checks only tell you what is there today. To notice the next change, keep your agent config in git, the way many people keep their dotfiles, and look at the diff now and then. A new plugin, a new marketplace or a new trust hash shows up as a line you didn’t write. Keep secrets out of that repo, or at least keep it private.</p><p>It won’t catch everything. Instructions added to a project’s AGENTS.md or CLAUDE.md, skills dropped into a skills folder, or a tool that changes behavior without touching a config file can all slip past it. For those I don’t have a better answer than reading what your agent says at the start of a session, and asking where it came from when it mentions something you never set up.</p><p>If you only do one thing this week, run claude plugin list or codex plugin list, open /hooks, and make sure you recognize every line.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a798b8a58d6a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Is Stack Overflow Dying? What the Numbers Mean for Small Builders]]></title>
            <link>https://medium.com/@xenit/is-stack-overflow-dying-what-the-numbers-mean-for-small-builders-7bd6749db20a?source=rss-d3a4560f4045------2</link>
            <guid isPermaLink="false">https://medium.com/p/7bd6749db20a</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[stackoverflow]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[developer-tools]]></category>
            <dc:creator><![CDATA[xenit]]></dc:creator>
            <pubDate>Thu, 29 Oct 2026 19:42:56 GMT</pubDate>
            <atom:updated>2026-10-29T19:42:56.164Z</atom:updated>
            <content:encoded><![CDATA[<h4>Stack Overflow got 969 new questions in September 2026. What the data shows, what it doesn’t, and what I’m changing in how I work.</h4><p>You paste an error message into a search box, land on a Stack Overflow answer from 2019, and then ask an AI assistant anyway because the answer was written for an older version. If that’s your routine now, you’re part of the trend behind a number that hit the Hacker News front page this week: Stack Overflow has dropped below 1,000 new questions a month.</p><p>I’m a solo developer in Turkey, and I write most of my code with AI coding agents, so I’m not watching this from the outside. I wanted to see the actual numbers, work out what they do and don’t say, and decide what to change in my own habits.</p><p>[MEHMET: one or two sentences on when you last asked or answered a question on Stack Overflow, and what you do now when you hit an error you can’t solve (Turkish is fine, I will translate)]</p><h3>Is Stack Overflow dying? What the data shows</h3><p>The number comes from a <a href="https://data.stackexchange.com/stackoverflow/query/1926661">public query on Stack Exchange Data Explorer</a> that counts new questions on Stack Overflow per month. I opened it and copied all 220 months, from July 2008 to October 2026.</p><figure><img alt="Line chart of new Stack Overflow questions per month from 2008 to 2026, peaking at 207,169 in March 2014, at 109,120 in November 2022 and falling to 969 in September 2026" src="https://cdn-images-1.medium.com/max/1024/1*0CTOTZoSVQeGzxe_fa6IwQ.png" /><figcaption>New questions per month, from the public Data Explorer query. Chart by the author.</figcaption></figure><p>The peak was March 2014, with 207,169 new questions. September 2026 had 969, less than half a percent of that. October shows 808 so far, but the Data Explorer copy was <a href="https://data.stackexchange.com/help">last updated on 24 October</a>, so that month isn’t finished.</p><p>A few caveats before anyone reads too much into it. This is the public copy of the data, which Stack Exchange describes as similar to its data dumps, not a live count from the site. I don’t know how many deleted questions it leaves out, so the number of questions people actually asked may be higher. And it counts questions, not visits. People may still read old answers every day, and this query can’t show that.</p><h3>It was falling before ChatGPT</h3><p>The easy story is “AI killed Stack Overflow.” The chart doesn’t quite say that. In November 2022, the month <a href="https://openai.com/index/chatgpt/">ChatGPT launched</a> (on the 30th), the site got 109,120 questions, about 47 percent below its 2014 peak. Almost half of the fall had already happened.</p><p>The <a href="https://news.ycombinator.com/item?id=50282454">Hacker News thread</a> about the query has more than 650 comments, and many come from people who used to answer questions there. Several of the top ones say they stopped years before LLMs: questions got closed as duplicates, low-effort homework questions crowded out the interesting ones, and old answers went stale while the duplicate rule kept newer ones out.</p><p>What changed after November 2022 is the speed. Going from 109,120 that month to 969 in September 2026 is a 99 percent drop in under four years.</p><figure><img alt="Bar chart of new Stack Overflow questions per month from January 2024 to October 2026: 47,572 in January 2024, 18,182 in January 2025, 3,627 in January 2026 and 969 in September 2026" src="https://cdn-images-1.medium.com/max/1024/1*TlJEvIoMOnmotigopGa0rw.png" /><figcaption>The last 34 months. October 2026 is grey because it only runs to the 24th. Chart by the author.</figcaption></figure><h3>Where the questions went</h3><p>Mostly into private chats with AI tools, as far as I can tell. In Stack Overflow’s own <a href="https://survey.stackoverflow.co/2025/ai">2025 Developer Survey</a>, 84 percent of respondents said they use or plan to use AI tools in their development process, and 51 percent of professional developers use them daily. In the survey’s list of workflow tasks, “search for answers” came first.</p><p>The same survey has the other half of the story. More developers said they distrust the accuracy of AI output (46 percent) than trust it (33 percent). So a lot of people ask the AI first and then double-check what it says.</p><p>That worries me more than one website’s traffic. When you asked on Stack Overflow, the question, the wrong answers and the right one stayed public. Someone with the same error two years later could find them, and anyone could vote or add a correction. When you ask a chatbot, the answer lives in your chat history and nowhere else.</p><figure><img alt="Screenshot of the Stack Exchange Data Explorer query with its SQL and the results grid showing monthly counts from July 2025 (6,621) down to October 2026 (808)" src="https://cdn-images-1.medium.com/max/1024/1*rRNRbCDHAsjMVtAXH1AsxQ.png" /><figcaption>The query behind the Hacker News post, with its latest rows. Screenshot of Stack Exchange Data Explorer by the author.</figcaption></figure><h3>What I’m changing as a small builder</h3><p>None of this needs a big plan. These are small habits, and I’m writing them down so I actually stick to them.</p><ul><li><strong>Write the fix down where search can find it.</strong> When an error costs you an hour, put the exact error message and the fix somewhere public: a GitHub issue, a troubleshooting section in your README, or a short post. Exact error text is what people paste into search boxes, and a public page is something AI search tools can find too.</li><li><strong>Check the date and version on every answer.</strong> That goes for an old Stack Overflow answer and for an AI answer, which may have learned from those same old answers. If the library has had a major release since then, test before you trust it.</li><li><strong>Look where the maintainers are.</strong> For newer tools, the useful discussion is often in the project’s own GitHub issues or discussions, not on a general Q&amp;A site.</li><li><strong>Make your own error messages searchable.</strong> If you ship a tool, your users are less likely than before to post about it on Stack Overflow. They’ll paste your error message into a chatbot, and it can only repeat what’s public. Clear error messages and a public page that explains them matter more now.</li></ul><p>[MEHMET: one recent error you fixed with an AI tool that you couldn’t find answered anywhere public, in one or two sentences, and whether you wrote the fix down anywhere (Turkish is fine, I will translate)]</p><h3>What I don’t know</h3><p>I don’t know whether AI answers will get worse for new libraries as fewer people write public Q&amp;A about them. Models can also learn from documentation, source code and issue trackers, so the gap may get filled some other way. I also don’t know how much of Stack Overflow’s traffic now comes from people reading old answers rather than asking new ones, and this query can’t show that either.</p><p>What I’m fairly sure of is that the public record is getting thinner. If you solve something hard this week, the cheapest thing you can do for the next person, who may be you a year from now, is leave the answer somewhere public.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7bd6749db20a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Set Up Claude Code With GLM While You Wait for GLM-5.5]]></title>
            <link>https://medium.com/@xenit/how-to-set-up-claude-code-with-glm-while-you-wait-for-glm-5-5-b930c092c5cd?source=rss-d3a4560f4045------2</link>
            <guid isPermaLink="false">https://medium.com/p/b930c092c5cd</guid>
            <category><![CDATA[claude-code]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[developer-tools]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[ai-coding]]></category>
            <dc:creator><![CDATA[xenit]]></dc:creator>
            <pubDate>Mon, 26 Oct 2026 10:57:04 GMT</pubDate>
            <atom:updated>2026-10-26T10:57:04.276Z</atom:updated>
            <content:encoded><![CDATA[<h4>GLM-5.5 isn’t out yet. Here is a Claude Code and GLM setup that works today, plus the context window and API key traps the rumor threads skip.</h4><p>If you follow AI coding accounts, your feed this week was probably full of GLM-5.5: leaked parameter counts, screenshots of a “glm 5.5 flash” entry in OpenCode’s model list, posts saying it drops tomorrow. I went looking for the actual release and couldn’t find one.</p><p>I build small web and Android tools on my own, and I run Claude Code against Z.ai’s GLM models next to Claude itself. So the name of the next model matters less to me than whether today’s setup works. Here is the setup I use, and the two traps I’d warn you about first.</p><h3>Is GLM-5.5 out? Not as of 26 October</h3><p>Z.ai hasn’t announced it. The <a href="https://docs.z.ai/release-notes/new-released">release notes on its developer docs</a> end with GLM-5.3-Flash on 26 August, and the newest models on <a href="https://huggingface.co/zai-org">Z.ai’s Hugging Face account</a> are the GLM-5.3 family, uploaded the day before. There is no model card, no API name and no price for anything called 5.5. Everything else you have seen is leaks and guesses, however confident they sound.</p><figure><img alt="Z.ai release notes page listing GLM-5.3-Flash on 26 August 2026 as the newest entry, then GLM-5.3 and GLM-5.2" src="https://cdn-images-1.medium.com/max/1024/1*i1kL2rm5fr9ywwpHjF2s2A.png" /><figcaption>Z.ai’s release notes on 26 October 2026: the newest entry is GLM-5.3-Flash. Screenshot of docs.z.ai by the author.</figcaption></figure><p>What you can use today is <a href="https://docs.z.ai/guides/llm/glm-5.3">GLM-5.3</a>, released on 18 August. Z.ai lists a 1M-token context window and up to 128K output tokens, and reasoning is always on. Its own benchmark table shows big jumps over GLM-5.2, such as Terminal-Bench 3.0 going from 4.6 to 28.3. Those are vendor numbers, so treat them as a reason to try it, not as proof.</p><p>The good news for anyone waiting: on the GLM Coding Plan, <a href="https://docs.z.ai/devpack/overview">requests for GLM-5.2 and GLM-5.1 are already routed to GLM-5.3</a>. If the next model follows that pattern, a setup you build now is one line away from using it.</p><h3>Give GLM its own Claude Code profile</h3><p>Z.ai’s <a href="https://docs.z.ai/devpack/tool/claude">Claude Code guide</a> tells you to put the GLM settings in ~/.claude/settings.json. That works, but it turns your normal Claude Code into a GLM client. I wanted both, so I keep GLM in a separate config folder.</p><p>Claude Code reads its settings, history and plugins from the folder in <a href="https://code.claude.com/docs/en/env-vars">CLAUDE_CONFIG_DIR</a>, which defaults to ~/.claude. Point it somewhere else and you get a second, independent setup. Mine starts with a short shell function:</p><pre># in ~/.bashrc or ~/.zshrc<br>glm() {<br>  CLAUDE_CONFIG_DIR=&quot;$HOME/.claude-glm&quot; \<br>  ANTHROPIC_AUTH_TOKEN=&quot;$(cat &quot;$HOME/.secrets/zai-key&quot;)&quot; \<br>  env -u ANTHROPIC_API_KEY claude &quot;$@&quot;<br>}</pre><p>The key lives in its own file, not in the settings, so the config folder can be backed up or shared without it. Unsetting ANTHROPIC_API_KEY is a habit more than a fix: Claude Code <a href="https://code.claude.com/docs/en/authentication">already prefers the bearer token</a>, but I&#39;d rather not have my Anthropic key in the environment of a session that talks to someone else’s server.</p><p>Then ~/.claude-glm/settings.json maps Claude Code&#39;s model names to GLM:</p><pre>{<br>  &quot;env&quot;: {<br>    &quot;ANTHROPIC_BASE_URL&quot;: &quot;https://api.z.ai/api/anthropic&quot;,<br>    &quot;ANTHROPIC_DEFAULT_OPUS_MODEL&quot;: &quot;glm-5.3&quot;,<br>    &quot;ANTHROPIC_DEFAULT_SONNET_MODEL&quot;: &quot;glm-5.3&quot;,<br>    &quot;ANTHROPIC_DEFAULT_HAIKU_MODEL&quot;: &quot;glm-5.3-flash&quot;,<br>    &quot;CLAUDE_CODE_MAX_CONTEXT_TOKENS&quot;: &quot;1000000&quot;,<br>    &quot;API_TIMEOUT_MS&quot;: &quot;3000000&quot;<br>  }<br>}</pre><p>The Haiku slot matters more than it looks. Claude Code uses it for <a href="https://code.claude.com/docs/en/env-vars">background work</a>, so pointing it at Flash, which costs about a third as much in plan credits, keeps those small chores cheap. The CLAUDE_CODE_MAX_CONTEXT_TOKENS line is there because of the next section. The long timeout comes from Z.ai&#39;s own guide.</p><p>[MEHMET: one or two sentences on how you split work between Claude (Opus) and GLM in your own projects, e.g. which kinds of tasks you send to which. Turkish is fine, I will translate.]</p><h3>The context window trap</h3><p>This one bit me on 8 October. GLM-5.3 can hold 1M tokens, but Claude Code compacted my conversation at around 170K, as if the model were much smaller.</p><p>The reason is in <a href="https://code.claude.com/docs/en/model-config#correct-the-window-for-a-gateway-or-custom-model-id">Claude Code’s model docs</a>. When it doesn’t recognize a model ID, and glm-5.3 is not a name it knows, it assumes a 200K window and compacts as the conversation approaches that limit. Current versions print a warning at startup (&quot;isn&#39;t recognized · context assumed to be 200k tokens&quot;), which is easy to miss when you start a session and look away.</p><p>There are two ways to fix it:</p><ul><li><strong>Set the window yourself.</strong> CLAUDE_CODE_MAX_CONTEXT_TOKENS=1000000 in the env block tells Claude Code the real size. This was my fix.</li><li><strong>Add the </strong><strong>[1m] suffix to the model ID.</strong> Writing glm-5.3[1m] makes Claude Code assume a 1M window. Z.ai&#39;s guide now uses this form, together with CLAUDE_CODE_AUTO_COMPACT_WINDOW set to 1000000.</li></ul><p>Don’t mix the two and expect both to apply. The docs say that with [1m] in the ID, the max-tokens variable doesn&#39;t take effect on its own.</p><figure><img alt="Diagram: glm-5.3 alone means a 200K assumed window, glm-5.3 plus CLAUDE_CODE_MAX_CONTEXT_TOKENS uses the set window, glm-5.3[1m] assumes 1M" src="https://cdn-images-1.medium.com/max/1024/1*UFOkSWMcwUicFcjTH99s9w.png" /><figcaption>How Claude Code decides the context size for a GLM model ID. Diagram by the author, based on the Claude Code docs.</figcaption></figure><h3>Which key and which URL spend your plan</h3><p>The second trap is billing, and it changed on 16 October. Z.ai now <a href="https://docs.z.ai/devpack/notice/api-key-management">manages Coding Plan keys and standard API keys separately</a>. For keys created on or after that date, the key type decides how calls are billed, not the URL. A standard API key in Claude Code does not touch your plan quota, even if you have a subscription. It charges your account balance instead.</p><figure><img alt="Z.ai API Key Management Guide dated October 16, 2026, with a table of key types: Standard API Key, Individual Plan API Key, Team Plan Key" src="https://cdn-images-1.medium.com/max/765/1*K0eLi2n-Ep8ydRVCg9H7Kg.png" /><figcaption>Z.ai’s notice from 16 October 2026: plan keys and standard keys are now separate. Screenshot of docs.z.ai by the author.</figcaption></figure><p>So if you subscribe, create the key under the Coding Plan entry on the API Keys page, not under Standard. Older keys were assigned a type automatically and keep working, but for those the URL still matters. The plan endpoints are https://api.z.ai/api/anthropic for Claude Code and https://api.z.ai/api/coding/paas/v4 for tools that speak the OpenAI format. The general https://api.z.ai/api/paas/v4 is billed as normal API use, even while plan quota is left. In my own setup, only calls to the coding URL draw from the plan quota.</p><p>[MEHMET: optional, one sentence: which plan you are on (Lite, Pro or Max) and whether its 5-hour limit has been enough for your work.]</p><p>A few numbers from the <a href="https://docs.z.ai/devpack/overview">plan overview</a> help you plan your sessions. Each plan has a 5-hour and a weekly credit limit (Lite: 2,000 and 10,000 credits). Usage outside peak hours costs half. Peak is Monday to Friday, 14:00 to 18:00 Singapore time, which is 09:00 to 13:00 for me in Turkey, so evening sessions after a day job land in the cheap window. In credits, output costs about three and a half times as much as input.</p><h3>What I would not expect from it</h3><p>The plan is only for <a href="https://docs.z.ai/devpack/faq">tools Z.ai supports</a>. Claude Code, OpenCode, Cline and a long list of others are fine, but you can’t use it as a cheap general API for your own app. Plans start at $18 a month and are non-refundable, so start with a month, not a year.</p><p>The benchmarks come from Z.ai, and a jump on a benchmark is not the same as fewer bad edits in your own code. Run it on a real task from your backlog before you move anything important to it.</p><p>[MEHMET: one or two sentences on where GLM-5.3 did well and where it fell short compared with Opus in your real work. Turkish is fine.]</p><p>If you want to try it this week, set up the separate profile first, so nothing about your normal Claude Code changes. Then fix the context window on day one, and check which kind of key you created. When GLM-5.5 actually ships, I expect the change to be a single model name in that settings file, and I will believe the specs when they are on Z.ai’s own release page.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b930c092c5cd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The OpenCode Leak for Small Builders: Where Your API Keys Live]]></title>
            <link>https://medium.com/@xenit/the-opencode-leak-for-small-builders-where-your-api-keys-live-85ad0d0d139e?source=rss-d3a4560f4045------2</link>
            <guid isPermaLink="false">https://medium.com/p/85ad0d0d139e</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[api]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[xenit]]></dc:creator>
            <pubDate>Sun, 18 Oct 2026 09:27:09 GMT</pubDate>
            <atom:updated>2026-10-18T09:27:09.552Z</atom:updated>
            <content:encoded><![CDATA[<h4>What actually leaked on 17 October, a ten-minute check of where your own keys sit, and what a coding agent can read on your machine.</h4><p>If you use AI coding tools, you probably have more API keys than you remember, and some of them are sitting in places you have never looked. This weekend’s OpenCode news is a good reason to find out where.</p><p>On 17 October, OpenCode said a breach had hit 1.4% of its Console users, and that provider keys saved in their workspaces may have been exposed. I build small web and Android tools mostly with AI coding agents, so my machine is full of keys for model providers, hosting and app stores. The news was a good push to check where those keys actually live.</p><h3>What actually leaked, and what didn’t</h3><p>The details matter here, because a lot of the first reactions mixed up two different products.</p><p>OpenCode is an open-source coding agent you run in your terminal. OpenCode Console is the company’s hosted service. In <a href="https://x.com/opencode/status/2111519637049319818">its own post</a>, OpenCode said the breach affected “1.4% of OpenCode Console users”, that it was “a subset of users who had external providers linked”, and that people who did not get an email were not affected. The statement quoted in the <a href="https://news.ycombinator.com/item?id=50133401">Hacker News thread</a> says the access was to “a legacy system that we were in the process of decommissioning”, and that third-party keys “saved in your workspace may have been exposed”. Affected users were told to rotate those keys at each provider and check recent usage.</p><p>So the people at risk had pasted an OpenAI, Anthropic or Google key into a web dashboard and let the service make calls for them. Commenters in the same thread said people who only use the terminal agent were not affected, since their keys never went to OpenCode’s servers. OpenCode has not published a root cause yet, and the incident was still ongoing when it posted, so I would treat everything beyond that as unconfirmed.</p><p>I use OpenCode myself. I didn’t get their email, so by their own rule I wasn’t affected, but it made me count how many tools hold my keys.</p><figure><img alt="Diagram comparing two setups: a key saved by the CLI on your laptop going straight to the model provider, and a key pasted into a hosted console where the service’s server stores it and calls the provider" src="https://cdn-images-1.medium.com/max/1024/1*US2ScsN21EaaVITUBzxrDg.png" /><figcaption>Two places a coding agent’s key can live. In the second, a breach at the service exposes it too. Diagram by the author.</figcaption></figure><h3>Where to store API keys: count the copies</h3><p>A key is a password that can spend money. Every place that holds a copy is one more place it can leak from, so the useful answer to “where to store API keys” is less a file path than a short list of who has one.</p><p>When the CLI saves a key, it stays on your disk. OpenCode’s docs say keys added with /connect are <a href="https://opencode.ai/docs/providers/">stored in </a><a href="https://opencode.ai/docs/providers/">~/.local/share/opencode/auth.json</a>. Claude Code and the GitHub CLI keep their login tokens in similar files in your home folder. That copy is exposed if your laptop, your repo or a tool running as you leaks it.</p><p>When a hosted console makes calls for you, there is a second copy on someone else’s server, and you inherit their security on top of yours. That is not automatically wrong. It is the trade you make for features like a web dashboard or shared team keys. But it is worth making on purpose, not because the setup screen asked for a key and you pasted one.</p><h3>A ten-minute check of where my keys sit</h3><p>I wanted numbers, not a feeling, so I had my coding agent write a short script that prints file names and counts and never prints a secret. It looks for three things: .env files and whether git would pick them up, key-shaped strings in shell history, and the credential files that coding tools write, with their permissions.</p><pre>#!/usr/bin/env bash<br># Where do my keys live? Prints names and counts, never the secrets.<br>ROOT=&quot;${1:-$HOME/code}&quot;</pre><pre>list=$(mktemp)<br>find &quot;$ROOT&quot; -type f \( -name &#39;.env&#39; -o -name &#39;.env.local&#39; -o -name &#39;.env.production&#39; -o -name &#39;.dev.vars&#39; \) \<br>  -not -path &#39;*/node_modules/*&#39; -not -path &#39;*/.git/*&#39; 2&gt;/dev/null &gt; &quot;$list&quot;<br>echo &quot;found: $(wc -l &lt; &quot;$list&quot;)&quot;</pre><pre>while read -r f; do<br>  d=$(dirname &quot;$f&quot;); b=$(basename &quot;$f&quot;)<br>  git -C &quot;$d&quot; rev-parse 2&gt;/dev/null || continue<br>  if git -C &quot;$d&quot; ls-files --error-unmatch &quot;$b&quot; &gt;/dev/null 2&gt;&amp;1; then echo &quot;TRACKED BY GIT: $f&quot;<br>  elif ! git -C &quot;$d&quot; check-ignore -q &quot;$b&quot;; then echo &quot;NOT IGNORED: $f&quot;; fi<br>done &lt; &quot;$list&quot;</pre><pre>cat ~/.bash_history ~/.zsh_history ~/.local/share/fish/fish_history 2&gt;/dev/null |<br>  grep -cE &#39;sk-[A-Za-z0-9_-]{20,}|AIza[0-9A-Za-z_-]{30,}|gh[po]_[A-Za-z0-9]{30,}|(API_KEY|TOKEN|SECRET)=[^ ]{12,}&#39;</pre><pre>for f in ~/.claude.json ~/.claude/.credentials.json ~/.local/share/opencode/auth.json ~/.codex/auth.json \<br>         ~/.config/gh/hosts.yml ~/.npmrc ~/.git-credentials ~/.aws/credentials; do<br>  [ -e &quot;$f&quot; ] &amp;&amp; stat -c &#39;%a  %n&#39; &quot;$f&quot;<br>done<br>rm -f &quot;$list&quot;</pre><p>This is trimmed for the article; the full version only adds section headers and a summary line, which you can see in the sample output below. It uses GNU stat, so on a Mac change stat -c &#39;%a %n&#39; to stat -f &#39;%Lp %N&#39;.</p><p>Here is what the output looks like on a small demo folder. Two things show up that are easy to miss. The old-test project has no .gitignore at all, the kind of folder you forget exists until you git add . from the wrong place. And demo-app ignores .env but not .env.local, because a .gitignore line only matches the exact name you wrote.</p><p>On my own machine it found 32 env files across my projects. None were tracked by git. The one that wasn’t ignored sat in an old test folder and held a dummy value, not a real key. Lucky, not careful.</p><figure><img alt="Terminal output of the key audit script on a demo folder: 4 env files found, 2 not covered by gitignore, 0 key-shaped strings in shell history, and two credential files with permission 600" src="https://cdn-images-1.medium.com/max/1024/1*8RYn4J0U1Ud9uFf61KBfCg.png" /><figcaption>Sample output from a demo folder with placeholder files, not a real machine. Screenshot by the author.</figcaption></figure><p>Even a clean run isn’t the whole story, though.</p><h3>Your agent can read all of it</h3><p>Mode 600 means only my user can read or change the file. A coding agent runs as my user. So every key the script found is one cat away from the agent, and from anything that can steer the agent, like a prompt hidden in a web page or a README it was asked to read.</p><p>Claude Code does let you deny reads. Its <a href="https://code.claude.com/docs/en/settings">settings docs</a> show this rule to stop it reading .env files:</p><pre>{<br>  &quot;permissions&quot;: {<br>    &quot;deny&quot;: [&quot;Read(./.env)&quot;, &quot;Read(./.env.*)&quot;]<br>  }<br>}</pre><p>The <a href="https://code.claude.com/docs/en/permissions">permissions page</a> is honest about the limit. Deny rules cover its own file tools and shell commands it recognizes, such as cat and head, but not &quot;a Python or Node script that opens files itself&quot;. For a real wall it points you to its OS-level sandbox. The same page says the mode that skips all permission prompts should only be used &quot;in isolated environments like containers or VMs&quot;.</p><p>I’ll be honest here: I usually give my agents full permissions, because stopping for every prompt slows me down too much. That is exactly the setup this section is about.</p><p>None of this is special to one vendor. The CSO Online piece that was also on the Hacker News front page this week, about <a href="https://www.csoonline.com/article/4234854/ai-agents-arent-going-rogue-frontier-labs-are-skipping-security-basics.html">AI agents reaching systems they should not</a>, makes the same point at a much bigger scale: the experts quoted blame missing containment and monitoring, not clever models. A solo builder’s version of containment is smaller and more boring, which is the good news.</p><h3>What I would do this week</h3><p>None of these takes long, and none needs a paid tool.</p><ul><li><strong>Know which service holds a copy.</strong> List every dashboard where you pasted a provider key. If you no longer use it, delete the key at the provider, not just in the dashboard.</li><li><strong>One key per tool.</strong> If each agent and each app has its own key, a leak tells you which one, and rotating it breaks one thing instead of everything.</li><li><strong>Cap the damage.</strong> Anthropic lets you <a href="https://platform.claude.com/docs/en/api/rate-limits">set your own monthly spend limit</a> below your tier’s cap on the Billing page, and set limits per workspace. A leaked key with a low cap is an annoying evening, not a surprise bill.</li><li><strong>Run the script and fix what it finds.</strong> Add the stray .env to .gitignore or delete it. Move keys out of any project folder you share or zip.</li><li><strong>Fence the agent.</strong> Add the deny rules, and if you let it run without prompts, do that inside a container or with the sandbox on.</li></ul><p>The part I have no good answer for yet is the agent itself. I can keep keys out of git and off other people’s servers, but a tool that runs as me can read what I can read. The one rule that holds up: the fewer keys live on the machine where the agent works, the less there is to lose. Keeping keys away from the agent without making it useless is the problem I want to work on next.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=85ad0d0d139e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Golden Spiral Won’t Make Your Photo Beautiful. Here Is What It Is Good For]]></title>
            <link>https://medium.com/@xenit/the-golden-spiral-wont-make-your-photo-beautiful-here-is-what-it-is-good-for-d5b26d38bd9c?source=rss-d3a4560f4045------2</link>
            <guid isPermaLink="false">https://medium.com/p/d5b26d38bd9c</guid>
            <category><![CDATA[photography]]></category>
            <category><![CDATA[photography-tips]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[smartphones]]></category>
            <dc:creator><![CDATA[xenit]]></dc:creator>
            <pubDate>Fri, 16 Oct 2026 13:56:01 GMT</pubDate>
            <atom:updated>2026-10-16T13:56:01.448Z</atom:updated>
            <content:encoded><![CDATA[<p>Most phone cameras can draw a grid over the preview, and some apps offer a spiral. Nobody explains what the lines are for, so people switch them on, shoot as usual and wonder why nothing changed.</p><p>I build a camera app around the golden spiral, so I have read a lot about this. My honest summary: these lines are a way to stop putting your subject in the dead centre or jammed against an edge. They are not proof of beauty. Here is how I use them and how I would explain them to a friend.</p><h3>What the lines actually are</h3><ul><li><strong>Rule of thirds.</strong> Two vertical and two horizontal lines that cut the frame at one third and two thirds. Where they cross are four spots to put your subject.</li><li><strong>Phi grid.</strong> The same idea with the cuts at 38.2% and 61.8%, from the golden ratio, about 1.618. The middle band is narrower than in a thirds grid, so the crossing points sit a little closer to the centre.</li><li><strong>Golden spiral.</strong> A curve whose size shrinks by the golden ratio every quarter turn. Its tight curl gives you one clear place for the most important detail. The spiral you usually see in photo apps is built from Fibonacci squares, which is a close approximation, not the same curve.</li></ul><p>On a phone screen the three give nearly the same advice: move the subject off the edge and give it room.</p><h3>The honest part</h3><p>I looked for evidence that these shapes improve photos. In my project notes I found none. The studies on the golden ratio that I came across report weak or no preference for it, and people’s tastes differ a lot. I have not re-checked those papers myself, so treat that as my reading, not a ruling.</p><p>What does have some support is smaller. One study found that an object seen from the front is usually preferred near the centre, while an object facing sideways looks better off-centre with space in front of it. Another found that a dish seen from the side looks better low in the frame. Space in front of where someone looks is a rule you can rely on more than the exact ratio.</p><p>So think of the lines as a ruler, not a judge. Your favourite photo may break every one of them.</p><h3>Which guide for which shot</h3><p>My rough guide:</p><ul><li><strong>Person or pet, from the side:</strong> spiral or thirds. Put the eye near the curl and leave open space on the side they look toward.</li><li><strong>Face filling the frame, looking at you:</strong> the centre line. A face looking straight at the camera often works in the middle.</li><li><strong>Group:</strong> centre it and keep people close together.</li><li><strong>Food from above:</strong> spiral, with the best detail at the curl. One round plate from above can just sit in the centre.</li><li><strong>Close-ups of a flower or insect:</strong> phi grid, simple background.</li><li><strong>Landscape:</strong> keep the horizon level and off-centre. More sky if the sky is the show, more ground if the foreground is.</li><li><strong>Single product facing you:</strong> centred, with room around it.</li><li><strong>Building facade:</strong> centred, standing on its middle line.</li></ul><p>Some of this rests on studies and some is photographers’ habit. My app marks which is which on each subject card.</p><figure><img alt="Spiralens scene picker listing Person, Face close-up, Group and Pet, each with where to tap and which guide it suggests" src="https://cdn-images-1.medium.com/max/1000/1*Ts7pA0r6DlZs9VqIdfxcTQ.jpeg" /></figure><h3>Tap the eye, not the middle of the face</h3><p>For people and animals, the eye nearest you is the thing to focus on and the thing to place on the guide. If you tap the middle of a face, you are placing the nose or cheek on the guide instead of the eye.</p><p>Tap the eye on your phone’s preview before you shoot. Then move the phone, not the person, until that eye sits where you want it. With a profile or three-quarter view, leave the open side of the frame where they are looking or walking.</p><p>A tapped spot works best when it has some detail around it. A plain wall or a clear sky gives a camera little to hold on to, which is true for focus and for any tracking built on top of it.</p><figure><img alt="Spiralens demo screen showing a golden spiral drawn over an AI-generated portrait illustration, with the ring on the eye" src="https://cdn-images-1.medium.com/max/1000/1*tHp0Jwf1xUPU5HRxazNh8Q.jpeg" /></figure><h3>Level, horizon and angle</h3><p>A tilted horizon is the easiest flaw to spot and the easiest to avoid. If your camera app has a level indicator or a grid option, switch it on and line the horizon up with a horizontal line before you press the shutter.</p><p>Two angle habits are worth knowing:</p><ul><li><strong>Buildings:</strong> pointing the phone up makes vertical lines lean toward each other. If you want them parallel, hold the phone upright and step back. Leaning lines are a valid choice, but make it on purpose.</li><li><strong>People and pets:</strong> getting down nearer their eye level usually looks more natural than shooting from high above.</li></ul><p>For food, the usual views are straight from above or from the side. In my app the steep in-between view, roughly 60 to 75 degrees below level, is the one it asks you to move away from. That is a habit among photographers more than a rule, and the best angle depends on the dish.</p><h3>Fixing a shot afterwards with a golden-ratio crop</h3><p>If the photo is already taken, you can still move the subject. Cropping is how.</p><ol><li>Decide what the photo is about, usually one eye or one object.</li><li>Draw the guide on the cropped frame: lines at 38.2% and 61.8% across and down.</li><li>Crop so that detail lands on one of those crossings, keeping as much of the photo as you can.</li></ol><p>Any photo editor with a crop tool can do this by eye. Do not crop so tightly that the photo goes soft.</p><p>In Spiralens this is a built-in step. Open the Photos tab and choose <strong>Frame a photo from your gallery</strong>, or open a photo you took in the app. Tap your subject on the photo. The <strong>Golden-ratio crop</strong> card shows how much of the photo it keeps, and <strong>Apply</strong> puts your subject on the golden point. Turn on <strong>Compare original</strong> to see the difference, and use the <strong>Straighten</strong> slider if the horizon leans. Your original stays untouched, and the result is saved as a separate copy with <strong>Save to gallery</strong>.</p><figure><img alt="Spiralens field guide page for the golden spiral over an AI-generated illustration of a pear tart seen from above" src="https://cdn-images-1.medium.com/max/1000/1*iLI8kxkTcN02NZC80nGvwA.jpeg" /></figure><p>If a crop would remove too much, the app says so and suggests another shape. The crop shapes it offers are whole photo, 4:5, square, 16:9 and cinema.</p><h3>Practising with an app</h3><p>Spiralens is my attempt to make the guide something you can feel instead of read. You tap your subject, the app follows that spot, and an arrow tells you which way to move the phone. When the ring turns green, the tapped detail is on the guide and the phone is steady enough. You can still take the photo at any time, green or not.</p><p>I should be careful here. The tracking can lose a detail on plain surfaces or in fast movement, and some phones have given me trouble. I do not know that it will improve your pictures, and I would rather you treat it as practice for your eye than a promise. The free version has ads. Photos saved to the gallery or shared carry a faint mark across the picture and a stronger one in the corner, and a short video plays before saving. A one-time purchase removes all of that. It is on <a href="https://play.google.com/store/apps/details?id=com.owlapp.spiralens">Google Play</a> if you want to try it.</p><p><em>Disclosure: I’m the developer of Spiralens. An AI assistant wrote this post from the project’s code and notes.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d5b26d38bd9c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Make a Photo Calendar at Home and Print It Without Cropped Edges]]></title>
            <link>https://medium.com/@xenit/how-to-make-a-photo-calendar-at-home-and-print-it-without-cropped-edges-a6c9491747be?source=rss-d3a4560f4045------2</link>
            <guid isPermaLink="false">https://medium.com/p/a6c9491747be</guid>
            <category><![CDATA[calendar]]></category>
            <category><![CDATA[diy]]></category>
            <category><![CDATA[photography]]></category>
            <category><![CDATA[printing]]></category>
            <dc:creator><![CDATA[xenit]]></dc:creator>
            <pubDate>Thu, 15 Oct 2026 13:51:01 GMT</pubDate>
            <atom:updated>2026-10-15T13:51:01.991Z</atom:updated>
            <content:encoded><![CDATA[<p>A photo calendar is a cheap gift that gets looked at every day. The part that goes wrong is the printing: a corner of the photo is cut off, the bottom row of dates is missing, or the lines come out thin because the printer shrank the page.</p><p>I build a free calendar tool, so I print a lot of test sheets. This is the routine I would follow to avoid those problems. It takes one evening for twelve months. Everything below happens in the browser, with no account.</p><h3>Before you start: pick twelve photos</h3><p>Photos from a phone are almost always big enough. Screenshots and pictures saved from chat apps often are not. A rough rule: for a photo printed about 8 inches (20 cm) wide, you want around 2,400 pixels across, which is 300 pixels per inch.</p><p>The tool’s Print check warns when a photo drops below 150 pixels per inch at its printed size. That is a floor, not a target. Between 150 and 300 the print will look acceptable but softer.</p><p>Two practical limits: the tool takes PNG or JPEG files under 25 MB each. A photo bigger than that is rejected with a message, and your current photo stays as it was.</p><h3>1. Start from the Photo calendar layout</h3><p>Open the Studio at <a href="https://printemplates.com/studio/">printemplates.com/studio</a>. In the left panel, under “Choose a calendar”, you will see starting points such as Writing lines, Large print and Photo calendar. Pick “Photo calendar”. It opens January with an empty frame that says “Your photo goes here”.</p><figure><img alt="The Printemplates Studio with the Photo calendar layout open and an empty photo frame at the top of January 2027" src="https://cdn-images-1.medium.com/max/1024/1*UHxSvfTMJCes13blRbnTYQ.jpeg" /></figure><p>Give the project a name in the box at the top left. The status next to it should say “Saved on device”. That is your confirmation that the work is stored in this browser.</p><h3>2. Choose paper and week start first</h3><p>Change paper before you place photos. In the right panel, look for the Page section and set Paper size. A4 is the standard in most countries. Letter is the standard in the US and Canada. You can also pick A3, A5, a square page, or enter a custom size in millimetres.</p><p>In the same section, set Year, Week starts (Sunday or Monday) and Holidays. Holidays offers US, England and Wales, Australia and Canada, or Blank. Use Blank if you do not want any printed.</p><h3>3. Add a photo to each month</h3><p>Select the empty frame and press “Add photo to frame”. Pick a file. Then fine-tune it under “Position, size &amp; effects”: Photo zoom, Horizontal focus and Vertical focus decide which part of the picture stays inside the frame. Keep faces away from the very edge of the frame.</p><p>Once January looks right, press “Create 12 months” at the bottom. The new months come with empty frames, so each month needs its own photo. A short message tells you each time: “New month ready. Add a photo to the empty frame.”</p><p>If you change the paper size on one month only, the project ends up with mixed sizes. The panel then shows a warning and an “Apply this paper size to all pages” button. Use it.</p><h3>4. Add birthdays and family dates</h3><p>Open the Add tab and press Events. Type one event per line, as month-day, comma, title:</p><pre>02-14, Anna&#39;s birthday<br>12-28, Family dinner</pre><p>Press “Save events”. The dates appear on every matching month. Keep titles short. A long name in a small cell shrinks the text, and Print check will tell you when event text drops below 6 pt.</p><h3>5. Run Print check</h3><p>Press “Print check” at the top. It goes through every page and lists notes. It looks at text that does not fit, photos with low resolution, small calendar labels and objects that extend beyond the page edge. It also flags empty photo frames, which is how I catch a month where I forgot a picture.</p><figure><img alt="The Print check panel on a phone listing a low-resolution photo note and an empty photo frame note" src="https://cdn-images-1.medium.com/max/390/1*UZ2LEpAQ8z_22c1_9xIX5w.jpeg" /></figure><p>Read it as a to-do list. If it says “No layout warnings found”, that only means the file is consistent. It cannot know your printer, and the tool says so itself: printer margins and colours depend on your printer.</p><h3>6. Print one test sheet first</h3><p>This is the step that saves paper. Do not print twelve pages yet.</p><ol><li>Under the Page section, press “Download this page” for one month with a photo and some events.</li><li>Open the PDF and set the scale to 100% or “Actual size”. “Fit to page” shrinks the sheet and gives uneven borders.</li><li>Make sure the paper in the tray matches the file: A4 file on A4 paper, Letter on Letter.</li><li>Print it and hold it up. Check the photo edges, the last row of dates, and any text near a border.</li></ol><p>Most home printers cannot print right to the edge. If a corner of the photo is cut off on the test sheet, make the frame smaller (Width and Height under “Position, size &amp; effects”), move it, or pull important content away from the border. A design that runs to the very edge needs a printer that supports borderless printing, or a print shop that trims.</p><figure><img alt="A January 2027 calendar page with a year wheel and US holidays marked in red" src="https://cdn-images-1.medium.com/max/900/1*lYgoKwrxBanGTRPOzTapqw.jpeg" /></figure><p>Measure the white margin on all four sides of the test sheet with a ruler. That tells you how much room your printer needs, and you can keep dates and text at least that far from the border.</p><h3>7. Download the full PDF and back it up</h3><p>When the test sheet is right, press “Download PDF”. Twelve pages come out in one file. Look through all of them on screen before printing. Check that each month has the right name and that the weekdays line up.</p><p>Then open Projects and press “Export backup”. The project is stored only in your browser on this device. Clearing browser data or using a private window can remove it, and it does not sync to other devices. The backup file lets you reuse the calendar next year or open it on another computer with “Import backup”.</p><h3>For a school or planner calendar instead</h3><p>If you do not need photos, the same tool has Writing lines, Notes beside dates, Large print and Undated starting points. The site also has ready-made PDFs for 2026 and 2027 that need no design work. My separate <a href="https://printemplates.com/guides/make-a-photo-calendar/">guide on photo calendars</a> goes into photo choice in more detail.</p><p><em>Disclosure: I’m the developer of Printemplates. An AI assistant wrote this post from the project’s code and notes.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a6c9491747be" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Take a Passport Photo at Home That Actually Gets Accepted]]></title>
            <link>https://medium.com/@xenit/how-to-take-a-passport-photo-at-home-that-actually-gets-accepted-a6819b9aab31?source=rss-d3a4560f4045------2</link>
            <guid isPermaLink="false">https://medium.com/p/a6819b9aab31</guid>
            <category><![CDATA[photography]]></category>
            <category><![CDATA[passport]]></category>
            <category><![CDATA[travel]]></category>
            <category><![CDATA[travel-tips]]></category>
            <dc:creator><![CDATA[xenit]]></dc:creator>
            <pubDate>Wed, 14 Oct 2026 13:51:01 GMT</pubDate>
            <atom:updated>2026-10-14T13:51:01.657Z</atom:updated>
            <content:encoded><![CDATA[<p>Most home passport photos are not rejected because of the camera. They are rejected because of a ceiling light, a shadow on the wall, or a phone held too close. All three are easy to fix once you know to look for them.</p><p>I make Sizefoto, a free passport photo tool, and I have read a lot of rejection lists from passport offices. This is the practical version.</p><h3>Why photos get rejected</h3><p>Published rejection reasons fall into four groups:</p><ul><li><strong>Light.</strong> Shadows on the face, glare, red eye, an uneven background.</li><li><strong>Camera position.</strong> Head too big or too small, face off centre, face distorted by being too close.</li><li><strong>Paperwork.</strong> The photo is too old, it came by the wrong route, the file is the wrong size.</li><li><strong>Something on the face.</strong> Glasses, hair over the eyes, a covered ear where ears must show, a hand holding a baby.</li></ul><p>No authority I found publishes a ranking of which reason is most common. Ireland’s passport office does say poor quality photographs are the main reason it rejects applications. If you see an article quoting “the number one reason is X, 22 percent”, treat it as made up.</p><h3>Set up the wall, the light and the distance</h3><p><strong>Light.</strong> Stand facing a window in daylight, out of direct sun. Turn the ceiling light off. An overhead lamp throws the eye sockets into shadow, and a room that looks bright to you can still produce that. A quick test: hold a flat hand under your chin. If a hard shadow lands on your neck, the light is above you.</p><p><strong>Flash off.</strong> On a phone the flash sits next to the lens. It flattens the face, burns out the forehead and throws a hard shadow on anything close behind you.</p><p><strong>Distance.</strong> This surprises people. A phone’s main lens is wide-angle, and at arm’s length it makes the nose and forehead look bigger. Ask someone to take the photo from about two metres, with the rear camera, and crop afterwards. Do not pinch to zoom while shooting, because it throws away pixels you will need later.</p><p><strong>The gap behind you.</strong> Stand at least a metre in front of the wall. If you stand against it, your shadow lands on the wall next to your head. Step forward until you cannot see your own shadow on the wall.</p><p><strong>Camera settings.</strong> Portrait mode off (it guesses the edge of your hair), beauty filters off, flash off, highest resolution.</p><p><strong>Pose.</strong> Shoulders square, chin level, both eyes open, mouth closed, hair off your face. Take five or six frames, because blinks and tilts show up only in the file.</p><h3>Glasses, smiles and head coverings</h3><p>These differ by country, so do not copy a rule from a friend who applied somewhere else.</p><ul><li><strong>Glasses.</strong> The direction is towards taking them off. The US Department of State rule I checked says to remove eyeglasses and sunglasses, with a doctor’s note needed if they cannot come off.</li><li><strong>Smiling.</strong> The US allows a natural smile but no teeth in the online renewal photo. Canada excludes both smiling and frowning. A forced neutral face often turns into a frown, so relax your mouth rather than pressing your lips together.</li><li><strong>Head coverings.</strong> Usually allowed for religious or medical reasons, with the face visible from chin to forehead and no shadow across the eyes. Some countries want a signed statement.</li></ul><h3>Babies and children</h3><p>For a baby, lay them on their back on a smooth plain white sheet and photograph from straight above. A car seat with a white blanket over the seat behind the head also works in Canada’s rules. Keep your hands and the baby’s hands out of the frame, and take twenty frames, not five, since you are waiting for half a second with the head straight.</p><p>Some countries relax rules for young children. The UK says children under one do not need open eyes. Framing, background and “child alone in the picture” are not relaxed anywhere I checked.</p><h3>Check size, background and file limit</h3><p>The print and the upload are different things.</p><ul><li><strong>Print size</strong> is in millimetres. The UK uses 35 x 45 mm, the US 51 x 51 mm.</li><li><strong>Upload size</strong> is usually pixels plus a file-size range. The UK asks for at least 600 x 750 pixels and 50 KB to 10 MB, and tells you not to crop. The US renewal portal takes a file between 54 KB and 10 MB.</li><li><strong>Age.</strong> Six months is common. The UK is shorter, and the old good photo from earlier in the year is a classic mistake.</li><li><strong>Route.</strong> France requires an approved photographer or booth, so a home photo cannot be submitted there at all. For German passports the template is marked as taken at the authority. Always read the page for your own country before you spend time on anything else.</li><li><strong>Messaging apps.</strong> Do not send the photo through one. They shrink it and it arrives too small.</li></ul><h3>Check the rules for your country</h3><p>Rules change, and I cannot promise this list is current by the time you read it. Open the passport authority’s own page for the document you are applying for and check the size, age limit and upload rules there.</p><figure><img alt="Sizefoto page for the United States passport photo showing 51 by 51 mm, head height 25 to 35 mm and an official source label" src="https://cdn-images-1.medium.com/max/1024/1*Zqv_aJzFcxIzKHuaLswfWg.jpeg" /></figure><p>On Sizefoto each country page lists the pages its numbers came from, with the date they were last read. Specs I could not confirm from an official source are hidden and not offered in the picker.</p><h3>Make it in the browser</h3><p>You can do the cropping and measuring by hand, but it is fiddly: head height has to land in a band measured in millimetres, and the eye line has to sit in another. This is where I wrote a tool to do it. Sizefoto is free, needs no account, puts no watermark on the download, and processes the photo on your own device, so it is not uploaded.</p><p>The steps, using the labels you will see on the page:</p><ol><li>Open the page and pick your country and document under “Country” and “Document”. Under “Who is in the photo?” pick “An adult”, “A child, 5 to 12” or “A baby, under 2”.</li><li>Press “Choose a photo” (or “Use camera” to take one).</li><li>Wait while it reads the photo, removes the background and crops to the template.</li><li>Read the compliance report. Items marked “Check this” tell you what to change. If it says “Meets every rule we can check”, that only covers what a computer can measure. Expression and glasses are still judged by a person.</li><li>Press “Download JPG”. For paper, use the print sheet in 10 x 15 cm or A4, and print at 100 percent with no scaling.</li></ol><figure><img alt="Result screen for a United Kingdom passport photo made from a drawn demo face, with a compliance report and Download JPG button" src="https://cdn-images-1.medium.com/max/1024/1*kwRXnx2MUcLZcPkkiyhF7A.jpeg" /></figure><p>The image above uses a drawn test face, not a real person. One catch: some authorities forbid changing the background. For those templates the tool keeps your original background, so you need to shoot against a plain wall. The US passport template is one of them.</p><h3>Print it, then check with the authority</h3><p>A photo shop can print the 10 x 15 sheet cheaply. Before you submit, compare the result with the authority’s own page one more time. No tool can promise acceptance, mine included: the decision belongs to the office, and rules change.</p><p>If you want to try it, it is at <a href="https://sizefoto.com/en">sizefoto.com/en</a>.</p><p><em>Disclosure: I’m the developer of Sizefoto. An AI assistant wrote this post from the project’s code and notes.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a6819b9aab31" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>