DevIdiot!
Finding every image on a page from a content script, and the lazy iframe that cost 8 seconds
The browser already knows every image it has loaded, but an extension cannot ask it for that list. chrome.webRequest only shows requests while you listen, and it never sees an image that has not loaded yet: the lazy one 3,000 px below the fold, the one still sitting in data-src, the one a script will copy into place on scroll. So my extension, PixLasso, does it the hard way. It injects one content script into every frame and walks the DOM.Below: what the walk looks at besides <img>, what i
Building Data Review APIs for Autonomous AI Agents with x402
From an idea to six working API servicesI recently started experimenting with a question: can autonomous AI agents use specialized data analysis services and pay for individual API requests?With AI assistance, I developed a testnet prototype using Node.js, REST APIs and the x402 payment protocol.The goal was to explore the technical feasibility of machine-to-machine payments and automated data review. 1. Building deterministic servicesInstead of relying on a language model for every A
That CORS error in Chrome: what's actually wrong, and how to keep working while it gets fixed
You open your front end, hit the API, and the console says:Access to fetch at 'https://api.example.com/items' from origin 'http://localhost:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.The annoying part is that the request often did reach the server. Open the Network tab and you'll see a response. Chrome got it, looked at the headers, and refused to give it to your JavaScript. Why it only breaks in the browsercurl and Po
Build a Multi-Voice Dialogue Generator
Why a Multi‑Voice Dialogue Generator MattersWhen building conversational agents, we often stop at a single, generic voice. In the real world, interactions happen between multiple people, each with a distinct timbre, accent, and speaking style. Imagine a virtual customer support team, a multi‑character storytelling app, or an AI‑driven game where each NPC has a unique voice. A multi‑voice dialogue generator lets you bring that realism to life without recording thousands of samples for every
How to Build a Podcast Intro Generator
Why a Podcast Intro Generator?A great intro sets the tone for a show, but recording it every episode can become a tedious chore—especially if you’re juggling production, editing, and promotion. With modern voice AI, you can automate the whole process: write a short script, feed it to a text‑to‑speech (TTS) engine, sprinkle in some royalty‑free music, and you’ve got a polished intro ready to drop into every episode.In this post I’ll walk you through building a Podcast Intro Generator from s
Notion as a back end for an AI-built site: where the integration token ends up
Notion is a popular back end for small AI-built sites: a blog, a changelog, a waitlist, a directory. The AI often wires the page straight to the Notion API, and that tends to put an integration token somewhere it should not be. What the token isA Notion integration token acts as a bot user. It can read and write any page or database you shared with that integration. If the token is in browser code, any visitor can copy it and call the API with the same reach.Things that go wrong:The token s
ElePHPant Tracks: Build a Production-Ready Photo Map Trail App in PHP 8.2, Imagick & Google Maps
I created this tutorial to bridge the gap between basic "Hello World" exercises and real-world, production-grade PHP development. Taking an idea from concept to code—and ultimately to a deployed website—is rarely straightforward, so this project keeps the experience approachable and fun while focusing on practical skills you can actually use on the job. To guide you all the way to a finished product, I’ve paired this post with an accompanying video, a GitHub companion repository, browser screens
A price floor that rounds the right way: why $19.44 is wrong and $19.45 is right
A price floor answers one question: what is the lowest price at which one order still leaves my minimum contribution? With a percentage fee on the price, the answer is a division, and the division almost never lands on a whole cent. The rounding direction decides whether you lose money.Example inputs: unit cost $10.00, fulfilment $2.00, a fixed fee of $0.50, a fee of 10% of the price, and a minimum contribution of $5.00.price - 10.00 - 2.00 - 0.50 - 0.10 * price >= 5.000.90 * price >= 17.5
Net 30 vs Net 60 in integer cents: the cash gap, its yearly cost and the longest safe terms
When a customer moves from Net 30 to Net 60, nothing on the invoice changes, but a slice of your cash stops arriving for a month. Here is the calculation as a small, testable function with money in integer cents (BigInt), so no float ever touches a total.// money in cents (BigInt), rates in basis pointsconst DAYS = 365n;const divRound = (a, b) => (2n * a + b) / (2n * b); // half-up for non-negative valuesfunction termsCost({ salesCents, fromDays, toDays, rateBp, cashAboveReserveCents }) { co
Testing a Score Calculator: Boundary Values, Bands, and Off-by-One Bugs
Every score calculator starts as the friendliest ticket in the backlog: read atable, return a number. Nobody reviews it closely. The table is right there, thearithmetic is trivial, and the first few manual checks pass. Then someone entersa value that lands exactly on a line in the table, gets the wrong score, and thebug surfaces weeks later in a support thread.Score-lookup calculators are fragile for one structural reason: the interestingcases are edges, and edges are exactly where comparisons,
C64 3D first person game written in assembly by an LLM
<a href="https://news.ycombinator.com/item?id=50765708">Comments</a>
Crypt Check-in: building a spooky event check-in desk with Kiro for Kiroween 2026
This post is written as part of the Kiroween 2026 hackathon. My entry is Crypt Check-in, in the Costume Contest category.Live app: https://crypt-checkin.vercel.appSource code (MIT): https://github.com/Jolycky/crypt-checkinDemo video: https://youtu.be/tGt2Oae108w The problemI help run community tech events. Check-in is the first thing every guest sees, and it is usually the worst part of the night. A volunteer scrolls a spreadsheet on a laptop. The venue Wi-Fi drops. The line gets long.I wan
React Aria: Creating Accessible Components the Easy Way
"The power of the Web is in its universality. Access by everyone regardless of disability is an essential aspect." - Tim Berners-Lee, inventor of the World Wide WebEvery frontend team eventually builds the same thing from scratch: a dropdown, a date picker, a combobox, a dialog. It looks right in the browser, ships, and gets forgotten - until a screen-reader user can't tell what's selected, a keyboard-only user gets stuck inside it with no way out, or an auditor flags a dozen missing aria-* attr
Darling: Steam, WebKit and the Road to Mac OS 9
<a href="https://news.ycombinator.com/item?id=50764816">Comments</a>
Our next chapter: Thunderbird Technologies Corporation
<a href="https://news.ycombinator.com/item?id=50764602">Comments</a>
Claude still falls for old jailbreak exploits
<a href="https://news.ycombinator.com/item?id=50764475">Comments</a>
Building a screen-blur extension that doesn't fall apart on React apps
A few weeks ago I shipped BlurDock — live on the Microsoft Edge Add-ons store — a Chrome/Edge extension that blurs sensitive regions of the screen live — before and during a screen share, recording, or screenshot. The pitch sounds trivial: draw a box, blur what's under it. It is not trivial, and almost every version I tried before landing on the current approach broke in one specific, humiliating way: the blur worked perfectly on a static page, and then silently disappeared the moment the underl
Rare books destroyed in freakish truck crash, upending Oakland man's future
<a href="https://news.ycombinator.com/item?id=50764364">Comments</a>
Strava Heatmap
StravaHeatmap connects to your Strava account, fetches your activities, and displays your routes on a real OpenStreetMap map.It also combines all your activities into a single heatmap, allowing you to see which routes you use most frequently.The entire project is self-hosted, meaning your data stays on your own server. Technologies UsedASP.NET Core Web APIEntity Framework Core + SQLiteReact + TypeScriptLeaflet + OpenStreetMapDockerGitHub Actions Building OAuth 2.0 from ScratchOne of th
Into which trinitarian heresy hath ye fallen?
<a href="https://news.ycombinator.com/item?id=50764235">Comments</a>