2HAASStart a project

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

  1. Code Snippets2 min read

    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.

  2. Tech News2 min read

    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.

  3. Tech Tips2 min read

    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.

  4. Tech Tips2 min read

    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.

  5. Code Snippets2 min read

    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.

  6. Tech News2 min read

    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.

  7. Guides3 min read

    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.

  8. Guides3 min read

    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.

  9. Tech Tips2 min read

    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.

  10. Tech Tips2 min read

    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.

  11. Tool Reviews2 min read

    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.

  12. Industry Updates2 min read

    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]

The problem, who it is for, and what is in the way right now.

One business day to a real reply. No sales sequence, no call required.