
Time Based Key‑Value Store in TypeScript: Find the Latest Eligible Version
Build a Time Based Key‑Value Store in TypeScript with append‑only histories and upper‑bound search, covering missing keys, time gaps, and ordering assumptions.
Articles from more than two decades of building, rebuilding, debugging, and leading web projects.

Build a Time Based Key‑Value Store in TypeScript with append‑only histories and upper‑bound search, covering missing keys, time gaps, and ordering assumptions.

React's reconciliation algorithm updates the UI by comparing the virtual DOM with the previous state. I explore how it works and why it improves performance.

Find the median of two sorted arrays in TypeScript, comparing a sorting baseline with binary partition, worked cuts, edge cases, and logarithmic complexity.

The JavaScript event loop explained clearly, including tasks, microtasks, rendering, and why async code can still feel surprising under pressure.

Run two Next.js applications behind one domain, with explicit route ownership, separate assets, hard navigation, shared session rules, and independent rollback.

call() Method in JavaScriptUncover the capabilities of JavaScript's call() for invoking functions with a custom context, a key technique for effective function and method management.

Test algorithms with independent references, exhaustive small inputs, useful properties, and deliberate mutations, including a complete TypeScript verifier.

Angular dependency injection explained clearly, from injector scopes and tokens to practical service design, testing boundaries, and application structure.

Explore the concept of short‑circuiting in software development, with a focus on its application in JavaScript using logical operators (AND && and OR ||).

Solve Word Break in TypeScript with prefix dynamic programming and memoisation, including greedy failures, reusable words, and honest string‑operation costs.

An exploration of techniques I used to find differences between two strings in JavaScript; from character‑by‑character comparison to substring analysis.

How to use Vue Teleport for modals and portals, whilst keeping overlays accessible, maintainable, correctly layered, and out of awkward DOM nests.

Poor memory management in JavaScript can slow applications down and cause memory leaks. Here, I explore practical tips to write efficient, memory‑safe code.

An exploration of the nuances of the words 'indexes' and 'indices' in web development. Focusing on convention over logic for effective coding and communication.

Decode nested strings in TypeScript using explicit stack frames, multi‑digit repeat counts, worked examples, and careful accounting for expanded output costs.

Improve Angular routing with scalable URL design, lazy‑loaded feature boundaries, guarded routes, observable loading, and route‑tree maintenance.

Use the Intersection Observer API to track geometric overlap, trigger work near the viewport, and understand thresholds, margins and callback timing.

Keep Node.js fetch pools moving by consuming or cancelling response bodies, with bounded streaming, reader ownership, and explicit connection settings.

Not all object copies in JavaScript behave the same way. Explore the difference between deep‑cloning and shallow‑cloning, when to use each, and common pitfalls.

A retrospective on React component APIs before hooks settled, covering render props, higher‑order components, context, classes, and migration judgement.

A practical guide to JavaScript iterators and generators, with lazy sequences, custom iteration, generator control flow, and the trade‑offs behind both.