Blog
Short reads on building software.
Tips, tool reviews and news for people who build for the web. One idea per post, explained plainly.
62 postsPage 5 of 6RSS feed
Intersection Observer: react when elements scroll into view
Scroll listeners that measure element positions are slow and fiddly. Intersection Observer tells you when an element enters the viewport, with a few lines of code.
Rust async functions in traits: what changed and why
Rust 1.75 made async fn in traits part of stable Rust, removing the need for the async-trait macro in many cases. What you can write now and the limits that remain.
Native image lazy loading: one attribute, used well
The loading attribute delays offscreen images until the user scrolls near them. It takes one word, but on the wrong image it makes a page slower. Where it belongs.
Serverless cold starts: causes and fixes
The first request to an idle serverless function is slow because the platform has to start it. What happens during a cold start and six ways to shorten or avoid it.
structuredClone: deep copy objects in JavaScript
The spread operator copies only one level, and the JSON trick loses dates and breaks on cycles. structuredClone makes a true deep copy with one built-in call.
WebGPU: modern graphics and compute in the browser
WebGPU gives web apps direct, modern access to the graphics card for 3D rendering and for general computation such as machine learning. What it is and where it stands.
Image optimization for the web: a practical guide
Images are usually the heaviest part of a page. Resize them, compress them, serve modern formats and the right size per screen, and load them in the right order.
API endpoint security: a practical checklist
Most API breaches come from a short list of mistakes: missing authorization checks, trusted input and no rate limits. A checklist to review every endpoint against.
Keep API keys out of your frontend and your repo
An API key in frontend code or a Git commit is a public key. Where secrets belong, how a backend proxy protects them, and what to do the moment one leaks.
JavaScript performance: keep the main thread free
A page can load fast and still feel slow. Batch DOM updates, debounce noisy events and break up long tasks to keep the interface responsive.
Why Vite is fast: native ES modules in development
Vite starts a dev server in moments because it does not bundle your app first. How native ES modules, pre-bundled dependencies and hot module replacement make that work.
AI code assistants: where they help and where they don't
AI code assistants now sit inside most editors. A candid look at the work they speed up, the work they make worse, and how teams get real value from them.
Tell us what’s in the way.
A few lines is enough. You get a candid yes, a candid no, or a sharper question.
- Working software in week four
- A reply in one business day
- Handover is the deliverable
Prefer email? [email protected]