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.

61 postsPage 4 of 6RSS feed

  1. Code Snippets2 min read

    Web Workers: move heavy work off the main thread

    Heavy JavaScript freezes the page because it shares a thread with the interface. A Web Worker runs that work in the background. A working example and the limits to know.

  2. Tech News2 min read

    WebAssembly beyond the browser: what WASI enables

    WebAssembly began as a way to run fast code in browsers. With WASI it runs on servers, at the edge and inside plugins: sandboxed, portable and quick to start.

  3. Tech News2 min read

    Angular Signals: fine-grained reactivity explained

    Signals give Angular a precise way to track state: when a value changes, only the views that read it update. How signal, computed and effect work, with examples.

  4. Tech Tips2 min read

    Tree shaking: why your bundle still ships unused code

    Tree shaking removes code you never import, but only when the bundler can prove it is unused. ES modules, the sideEffects flag and your import style decide what goes.

  5. Tool Reviews2 min read

    Monorepo dependencies with pnpm and npm workspaces

    Workspaces let a frontend, an API and shared packages live in one repository with one install. How pnpm and npm workspaces work, and when each one fits.

  6. Code Snippets2 min read

    Promise.allSettled: keep the results that succeeded

    Promise.all throws away every result when one request fails. Promise.allSettled waits for all of them and reports each outcome, so one failure cannot empty a page.

  7. Tech Tips2 min read

    JavaScript debugging beyond console.log

    console.log works until the bug is three calls deep. Breakpoints, conditional breakpoints, logpoints and the call stack show what the code does while it runs.

  8. Tool Reviews2 min read

    Dev Containers: one environment for the whole team

    New developers lose days to setup, and 'works on my machine' never dies. A devcontainer.json file gives everyone the same tools, versions and services.

  9. Tech News2 min read

    The WebAssembly Component Model, explained

    Core WebAssembly modules can only exchange numbers. The Component Model adds typed interfaces, so code written in Rust, Go, Python or JavaScript can be combined safely.

  10. Guides3 min read

    Error handling in microservices: retries and circuit breakers

    In a distributed system, something is always failing a little. Timeouts, retries with backoff, circuit breakers and consistent errors keep one fault from spreading.

  11. Guides3 min read

    JWT best practices: expiry, storage and validation

    JSON Web Tokens are simple to issue and easy to get wrong. Short lifetimes, refresh token rotation, safe storage and strict validation close the common holes.

  12. 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.

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.