A broken link checker looks at status codes. A soft 404 hides from it, because the status code says everything is fine. The server answers 200, and the page says "Sorry, this product is no longer available," or shows the site's not-found template, or is nearly blank. Search Console reports these as soft 404s and, per Google, "Such pages are excluded from Search." This post builds a small auditor in Python using only the standard library (urllib, urllib.robotparser, xml.etree, html.parser, difflib, uuid, csv, concurrent.futures). It reads your sitemap or sitemap index, first requests a URL that
The PR adds Zustand so a settings modal can keep an open flag. The repo already uses Redux (or Recoil, or a single React context plus React Query) for app state, and local useState for UI that does not need to be global. The new dependency is a second source of truth, a second devtools path, and a new pattern for the next agent to copy. I’ve started treating a new state library in a feature PR as a scope break, even if the modal works. One widget is not a reason to change how the app holds state. Why the extra library shows up Many training examples reach for Zustand or Redux Toolkit as the de
Part of a public week-one log of moving from ML/quant work into robotics: what was actually run, what it cost, and the honest next steps. The scripting was done with an AI coding agent; every number below was measured on one CPU-only Linux box (Python 3.12, MuJoCo 4.0.1, PyTorch 2.15 CPU wheels). Why MuJoCo first, not VLA The robotics job market talks about VLA and foundation models, but the interviews keep probing the layer underneath: state estimation, kinematics, contact, and the discipline of measuring before claiming. MuJoCo is free, runs on a laptop CPU, and every experiment below is che
A PDF preview can look fine on a laptop and go blank on a high-density phone. The file may be small on disk, yet the viewer allocates a large canvas for every rendered page. Zoom and device pixel ratio multiply both canvas dimensions, so memory grows with the square of the scale. A PDF.js issue describes a failure with large scanned drawings on high-resolution screens. That report concerns a particular setup, not a universal browser limit. It is a useful prompt to separate the size of a PDF file from the size of the pixels used to display it. Count pixels before rendering Suppose a page occupi
William James was an American psychologist and philosopher, one of the first to publicly and actively write about success, work and… Continue reading on Medium »
📅 November 22, 2026 • The Decoder On November 20, 2026 Levent Alpöge released a proof of the Riemann Hypothesis as a Lean library of 17 million lines of code. His own note says: "I believe I have, working with Claude, discovered a proof of the Riemann Hypothesis", and that "Claude and I have also formalized the arguments without assumptions". On November 21 the Lean and Mathlib communities, backed by the Lean FRO and the Mathlib Initiative, published a joint statement: they have full confidence that Alpöge's proof is correct and certify the statement and the proof. Dozens of people reported co
Aku marah, aku sungguh marah. Bagimana bisa kau berjalan melewatiku tanpa menyapa, apakah kau lupa tentang cerita yang kita buat… Continue reading on Medium »
When building a voice-controlled teleprompter, accurately tracking spoken words against a script is critical. The challenge lies in handling imperfect speech recognition—common with real-world audio—while maintaining precise synchronization. This article explains a lightweight, effective approach using fuzzy matching with a lookahead window, designed to tolerate minor recognition errors without derailing the prompter. The Core Idea: Pointer and Lookahead Window The system maintains a pointer that tracks the next expected word in the script. As speech recognition outputs words (via the Web Spee
Emotion is a CSS-in-JS library. It lets you write real CSS — the same selectors, media queries, and pseudo-classes you already know — but inside your JavaScript files, scoped to a component. If you like CSS but hate managing class names and global stylesheets, Emotion is the middle ground. There are two ways to use it. The css prop lets you style any element inline: /** @jsxImportSource @emotion/react */ import { css } from "@emotion/react"; function Card() { return ( <div css={css` padding: 24px; border-radius: 12px; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); &:hover { transf
When you run multiple AI agents on one machine—or connect an existing CLI agent to ChatGPT, Gemini, Cursor, or Claude—managing keys and switching identities shouldn't mean copy-pasting raw tokens. Parlup v0.3.0 (me.parlup/parlup on the Official MCP Registry) makes both effortless. 1. Multi-Handle Isolation with --profile You can now run completely isolated agent identities from a single global parlup CLI: parlup --profile alpha register --handle my-alpha parlup --profile beta register --handle my-beta parlup profile use alpha parlup profile list Each profile keeps its own config.json and state
Calculating key real estate investment metrics—such as amortization, cash flow, NOI, cap rate, and cash-on-cash return—is essential for evaluating rental property performance. This article walks through implementing these calculations in JavaScript using verified formulas and test cases from the rental-roi-formulas repository. Core Formulas and Implementation The foundation of the calculation begins with the monthly mortgage payment, calculated using the standard amortization formula: M = P * r(1+r)^n / ((1+r)^n - 1) Where: M = monthly payment P = loan principal r = monthly interest rate n = n
This article explains how to implement a browser-based Sobel edge detection pipeline entirely client-side, using only JavaScript and a <canvas> element. The process converts images into clean line art suitable for stencil printing, with no data leaving your device. Grayscale Conversion The first step is converting an RGBA image to grayscale using perceptual weights. The standard luminance formula—0.299*R + 0.587*G + 0.114*B—is applied to each pixel: function grayscale(rgba, n) { const g = new Float32Array(n); for (let i = 0; i < n; i++) g[i] = 0.299 * rgba[i * 4] + 0.587 * rgba[i * 4 + 1] + 0.
Before switching to a cheaper coding model, look at how much the current agent spends repeating work in the same repository. A Microsoft Research experiment suggests that retaining useful context can reduce model costs, although the result still needs to be checked against the quality and review cost of the fixes. In a report on TokenEconomizer, researchers from UC Berkeley, Microsoft Research and Microsoft Security tested a plugin that learns from previous coding sessions. Across 277 SWE-Bench bug-fixing tasks in six repositories, they report average cost reductions of 18.4% to 30.9% across f
I don't know what the balance of karma means. But people say that whatever we are receiving today may be the result of our good deeds from… Continue reading on Medium »
Long before tourists came to admire Amber Fort, the kingdom woke to the sound of temple bells. Most visitors drive up to the fort and… Continue reading on Medium »
Somewhere out there, a publisher passed on a book that went on to sell millions of copies. It’s probably not a good day when they think… Continue reading on Medium »
In 1770, a court in Vienna was promised something impossible: a machine that could play chess and beat you. A Hungarian inventor named… Continue reading on Medium »
Apple Health holds every step, sleep cycle, and workout you've generated for years, yet the native app insists on hiding your trends behind rigid weekly rings and vague bar charts. Like many engineers staring at a black box of personal data, I grew tired of guessing whether my sleep hygiene actually correlated with my deep work output. The export function in the Apple Health app spits out a massive XML file called export.xml. It's a stubborn, nested beast that will choke standard text editors instantly. If you want to understand your own body, you have to treat that export like any other messy
Keeping a property management service available during production API key rotation requires a period of credential overlap, but overlapping access must not become overlapping billing records. Short answer: schedule usage fetches into your own store, preserve a stable billing identity across credential changes, publish complete snapshots atomically, and show the last successful collection time separately from the period the usage covers. Rotate the credential used by the collector as a separate deployment step; a fresh credential must not reset the chart or change which property owns a charge.
When I started building ATLAS, I wanted to fix a frustrating pattern when studying history, politics, and economics online: you read an article on Marxism, Liberalism, or the Vargas Era, jump to a scattered summary elsewhere, lose track of who influenced whom, and have no quick way to tell whether a claim is a documented fact, an attributed thesis, or a contested interpretation. The default architecture would be Postgres + a Node/Go API + an admin panel. For an open-source project maintained by one person—and designed to stay fast and cheap without a 24/7 backend—a traditional database adds mo
Written on launch day, June 16, 2026. A few of the choices below have changed since; what changed is at the end. This was supposed to be a weekend project. It became three very focused days. By the end of June 16, Checkmeup was live with cron monitoring, uptime checks, SSL expiry alerts, status pages, billing, and a mobile UI. Here's the honest account of how that happened. Day 1 — Decisions before code The first day was mostly architecture decisions, and getting them right matters more than writing fast. The temptation with monitoring tools is to reach for a job queue — Redis, BullMQ, somethi