DevIdiot!
Twelve pnpm exemptions for a Next.js version we have not installed in 181 days, and four override lines that turned out to be floors
pnpm 11 holds back any package version that was published less than a day ago. The setting is minimumReleaseAge, it defaults to 1,440 minutes, and it exists so that a freshly published malicious release has a day to be noticed before your install picks it up. The companion setting, minimumReleaseAgeExclude, is the escape hatch: a list of exact versions that may skip the wait.I wrote about that gate once already, from an Expo monorepo where the exclude list was nine pinned versions. This time the
Your blog post title is not a URL slug
Your blog post title is not a URL slugEvery CMS turns your title into a URL automatically, and most of them do a lazy job of it. The slug they generate is usually too long, full of stop words nobody searches for, and sometimes broken in ways you only notice when the link gets shared. A slug is a small thing, but it is the part of your URL that Google reads, that people read, and that never changes once the page is live.Here is the whole job, in plain JavaScript:function slugify(title) { return
Atomic CSS in dx-styles: a build option, and when to use it
dx-styles 1.6 added a second output model, and 1.7 makes it cheaper when the page renders. By default a style still becomes one class with all of its declarations. With one build option, output: "atomic", every declaration becomes a shared class of its own, an atom, and every other style that sets the same property to the same value reuses it. You write styles the same way in both models; only the build output changes.Atomic CSS is not new. StyleX, Panda and Compiled are built around it, and the
The same screens in a native app and a web app: the message bridge I keep reusing
Most "app or web?" arguments end with one of them being treated as the lesser copy. In practice the interesting version is both: the screens live inside a native shell, the content keeps living on the web, and the two have to agree on a small set of things — back navigation, session, deep links, and what happens when someone taps a link that is not ours. Everything else can stay separate.This is the contract I keep coming back to after shipping a marketplace app (iOS + Android) on top of a web a
Our Mac app ships 74 open source packages and four of them carry a licence notice, and Electron's own 20 MB licence file stays behind
I have already written about the exclusion list in our installer config. In Our installer names 454 of the 528 MB in node_modules to leave out the licence line was one bullet: !**/LICENSE* is case sensitive, so a few lowercase files slip past it. That post counted what survived. This one asks the question I skipped: what do those files say, and what is left of them in the app a customer installs?The numbers below come from the built bundle in app/release/mac-arm64/Notifio.app, produced on 22 Sep
On 1 January, a footer year will throw a React hydration error on all 38 of our pages
The footer of notifio.app says © 2026 CogniPrep Ltd. The line that writes it is:<p className="text-[12px] text-[#404040]">© {new Date().getFullYear()} CogniPrep Ltd</p>It is the only wall clock on the whole website. A grep for new Date(, Date.now, getFullYear and toLocaleDateString across the server source finds this line, three timestamps in the licence code and a grant script. Nothing else on a page reads the time.It looks harmless, and today it is. The question I wanted answered i
How to Build a Privacy-First Image Editor (No Uploads) – APIC Studio
Most "free" online image editors work like this: you upload your photo, a server edits it, you download the result.Convenient, but your photo has now left your device, and you don't know who stores it, how long, or what it's used for.I'm building APIC Studio, a free, browser-based, privacy-first image editor at Akhouri Systems, and its rule is simple: your photo never leaves your device.This guide covers the design rules and techniques behind that, so you can build your own privacy-first image e
A Tailwind dark-mode toggle that never flashes (and 5 more lessons from shipping 6 landing pages)
I just finished a set of six Tailwind CSS landing page templates: SaaS, agency, mobile app, portfolio, restaurant and conference. Each one is a single HTML file that uses the Tailwind v3 Play CDN for preview, a bit of vanilla JS, and dark mode. I went with single files because anyone can open one by double-clicking it. There's no build step, no framework, and nothing to install before you can see the result.Building six pages in a row meant I hit the same problems six times, so I eventually fixe
Strip invisible characters from text without breaking emoji
Text copied from a PDF, a web page or an AI chat often carries characters you can't see: zero width spaces, a byte order mark, soft hyphens, direction marks. They break string comparisons, CSV headers and password fields, so the usual fix is a one-line regex that deletes them.That one-liner has a side effect that's easy to miss. Some of the same "invisible" characters are part of emoji and of several writing systems. Delete them blindly and 👨👩👧 becomes three separate people. What the one-
Send email reminders from a Google Sheet with Apps Script (no servers)
Your renewals, contracts and certificates probably already live in a spreadsheet. The problem is that nobody opens the sheet on the right day.Google Sheets has no built-in "email me N days before this date" feature, but Apps Script can do it, for free, on Google's servers, even while the sheet is closed. This post builds a small version you can copy in about ten minutes:a daily time-driven triggerseveral lead times per row (for example 30, 7 and 1 days before)a "last notified" column, so a row i
Your Search Box Shows the Wrong Results (Fixing the Fetch Race Condition with AbortController)
I typed "react" into a search box, and it showed me the results for "re".There was no typo in the code and no bug on the server. It's a race condition, and almost every search box, filter and autocomplete that fetches on each keystroke has it. It just rarely shows up on a fast local machine.I reproduced it against a real local HTTP server, then fixed it with AbortController, first in plain JavaScript and then in React 19.Prefer video? Here's the 4-minute version: The usual codeasync fun
A Headline That Swells Under Your Cursor (Variable Fonts + Motion)
Most hover effects on hero headlines move the whole line: a gradient sweep, a tilt, a glow. This one works per letter. Each letter of the headline gets heavier and darker the closer your cursor is, so moving across the line feels like pressing into it.It needs three things: a variable font, the pointer position as motion values, and one small calculation per letter. Why a variable fontA variable font carries every weight between its lightest and heaviest in one file. That means font-weight
Staging Works, Prod Doesn't: I Built an Open Source Toolkit for Azure DevOps Variable Groups
The pipeline is green. Staging is green. Production is on fire.You dig in, and the cause turns out to be embarrassingly small: one app setting that exists in the staging variable group and never made it into prod.If you run Azure DevOps with a variable group per environment, you have probably lived this. The fix takes thirty seconds. Finding it takes thirty minutes: open Library, open one group, open another group in a second tab, squint at two lists of keys, give up, paste both into a spreadshe
A spam-resistant contact form in the Next.js App Router (Server Actions, Zod, useActionState)
Almost every business website needs a contact form, and almost every contact form ends up as a target for bots. In the Next.js App Router you no longer need a separate API route for this: a Server Action can receive the form, validate it and send the enquiry, while the page keeps working even before JavaScript loads.This tutorial builds that form step by step:A plain form componentA Server Action that receives itValidation with ZodA honeypot field and a timing check for botsField errors and a pe
React2STEAL: Unpatched Next.js Servers Are Leaking Secrets to Public GitHub Repos
On November 18, 2026, OpenSourceMalware published research on a campaign it calls React2STEAL. GitHub Actions workflows in what look like hijacked GitHub accounts scan the internet for Next.js servers. They exploit two bugs that were fixed long ago and commit whatever they steal, including environment variables, .env files, cloud credentials and AI provider keys, to public repositories.The bugs are not new. What's new is the scale and the fact that stolen secrets are published in the open. If yo
f'n ln print!>{Atten! Learn!}>
<div class="highlight js-code-highlight"><pre class="highlight plaintext"><code>`</code></pre></div>
UTM parameters done right: 7 rules that keep your campaign reports clean
Disclosure: I'm part of the team behind FastAnalytics. The rules below work in any analytics tool, and the builder I mention is free and needs no sign-up.UTM parameters are the simplest tracking tool there is: five tags at the end of a link that tell your analytics where a visit came from. And yet most UTM reports end up messy, with Facebook, facebook and fb listed as three different sources, and campaigns nobody remembers creating.The problem is never the tags. It's the lack of rules. Here are
4 Tactile Multiplayer Web Patterns on Cloudflare D1: Scratch-Off Canvas, 400-Byte Vector Doodles & Zero-MP3 Audio
Building tactile, multiplayer web experiences usually pulls in heavy dependencies: auth providers, WebSockets, cloud object buckets for user drawings, and audio asset CDNs.Over the past week, while adding a zero-login Friend-Filled Mystery 3x3 mode to Anime3x3 and a 60-Second Daily Reflex Challenge to FontNumbers, I wanted to see how much tactile polish we could pack into plain HTML5 Canvas, Web Audio API, and Cloudflare D1 at $0 marginal cost.Here are four self-contained patterns you can drop s
How to Build a Client-Side Image Converter Using Modern Browser APIs
Handling image formats can quickly become a frustrating bottleneck in web development. Whether you need to convert a batch of PNGs to WebP for better performance, or quickly turn a rogue SVG into a usable PNG, you usually reach for a command-line utility or some random website of dubious privacy. Processing images directly in the browser using modern APIs solves these headaches. It keeps user data private, saves you from paying for backend server processing, and avoids complicated setup scripts.
Building a Fast, Privacy-First Browser Color Analyzer in Vanilla JavaScript
If you work with web design, UI styling, or accessibility checks on a regular basis, you’ve probably run into a common annoyance: needing to pull color information from an image or a design asset, only to find yourself blocked by bloated web apps that require account creation, slow server uploads, or invasive tracking scripts. I recently built a lightweight utility to solve this exact problem without overcomplicating things. It relies on standard browser APIs to inspect image colors locally, mea