Hollow Light is an endless walk along a black lake, and our love letter to the atmospheric games we grew up on, Limbo above all. The world is dark. Your voice is the only way to see it: a short call sends an echo that draws the forest for a breath,…
Most overtime calculators assume one hourly rate. Real work is messier. I know people who stock shelves at $20 an hour on weekdays and wash dishes at $14 an hour at the weekend, all for the same employer. When that week hits 50 hours, which rate…
You rip out a useEffect, a useState, and a cleanup flag, replace all three with one line of use(), and the component looks cleaner than it has in months. Then you refresh the page and the loading spinner never stops. Network tab: the same request,…
Somewhere in your codebase there's a function that looks like this: function get(obj: any, path: string) { return path.split(".").reduce((acc, key) => acc?.[key], obj); } const primaryColor = get(config, "theme.colros.primary"); Read that path…
The badge in the corner goes from green to red to green again. Three seconds, tops — long enough to walk through a subway turnstile, short enough that nobody files a bug. Your reconnect logic did exactly its job: it noticed the drop, waited, and…
A team ships personalized product recommendations on a product page. The data depends on the visitor's session cookie, so a teammate wraps the fetch in a plain 'use cache' function and reads cookies() inside it. next build passes. next start…
You write function greet(value: string | null), guard it with if (value === null) return;, and schedule a setTimeout callback that uses value. Right after scheduling it, you reset value back to null — a one-line cleanup, nothing dramatic. TypeScript…
A support engineer is looking at a refund ticket. They copy an ID from one browser tab, paste it into another, and call issueRefund(id). The function signature says id: string. The ID they pasted is a string. TypeScript has nothing to say about it.…
Your app uses a file every time it starts, and your cleanup tool says you can delete it. That was life for anyone running Knip on a Mastra project. I wrote the Mastra plugin for Knip in webpro-nl/knip#2227, after joealden asked for one in issue…
I added shift differentials to my time card calculator last week, and the feature turned out to be harder than the overtime rules I had already shipped. Night pay and weekend pay sound simple: you earn a bit extra per hour for working unsociable…
Gold prices are quoted globally in US dollars per troy ounce, but shoppers in Saudi Arabia think in riyals per gram, split by karat (24K, 22K, 21K, 18K). If you are building a finance widget, a price bot or just a personal dashboard, converting…
This is Part 7 of the zero-dependency engineering series behind SOL-2027 (Part 1: Kodak 1928 Algorithm · Part 2: 13 New Moons Ephemeris · Part 3: 1080×1920 Canvas 2D Story Cards · Part 4: 300 DPI Print Pipeline · Part 5: Kodak 40-Line Vanilla JS ·…
Originally published on ExtensionBooster. Custom Chrome DevTools panels let you put your own debugging UI right beside Elements, Console and Network, which is exactly how tools like React DevTools and Redux DevTools work. The tricky part is not the…
Working with APIs, test fixtures, and spreadsheet exports often comes down to two repetitive data-prep tasks: Validating and editing nested JSON payloads without breaking syntax. Turning raw newline-separated lists (IDs, emails, SKUs, or SQL filter…
Generating a CAD floor plan PDF with pdf-lib is easy on a single 24' × 18' open-concept studio. The moment a real user drafts a 48' × 34' three-bedroom house with two 5' × 8' bathrooms, a 3'-6" hallway, a 16'-0" overhead garage door, and kitchen…
A Simple Shopify Cart Chatbot in 30 Lines of JavaScript Most shoppers don't abandon a cart because of the product. They leave over small doubts about delivery, COD, or a coupon. Here's a tiny bot that answers those on the cart page. Read the cart…
When users import an existing house blueprint, landlord leasing brochure, or scanned builder sheet into a browser CAD editor, roughly half of those files are not PNGs or JPEGs—they are PDFs. Sometimes it is a crisp vector ARCH D (24" × 36") drawing…
I wanted chunky, cute voxel pets for a focus timer, and I wanted them to stay smooth on a cheap Android phone. So instead of WebGL or a 3D library, the pets are drawn by a tiny ray caster that writes pixels into an ordinary 2D canvas. The whole…
Originally published at muhammadmoiz.dev. The TypeScript 7 upgrade is worth doing now for most projects. Version 7.0 (currently 7.0.2) swaps the JavaScript compiler for a native one written in Go, and full builds typically run 8 to 12 times faster.…
Spending long hours sitting at a desk can make shoulders, neck, and lower back feel stiff by evening. Standing up for a couple of minutes every hour and doing gentle stretches helps improve circulation and ease tension. Many people also pair light…