RSSAmplifier

Blog

Lei Huang

AI-focused full-stack engineer building reliable agentic systems and developer tools. Previously at Klarna and Alipay. Based in Hangzhou.

leihuang.meRSS feed ↗11 posts

Latest posts

Finding John Rabe

A personal travel narrative from Berlin tracing the forgotten grave of John Rabe—the German who saved over 200,000 lives during the Nanjing Massacre. Blending history, memory, and a Chinese perspective, this story explores how Rabe is remembered differently in Germany and China.

Two Days, Countless Lakes, and One Canal That Didn't Exist

A two-day kayaking trip through Müritz National Park, one hour from Berlin by train. Connected lakes, quiet campsites, a footpath disguised as a canal, and a humbling crossing of Germany's largest inland lake.

Stones of the Brenta: A Via Ferrata Traverse of the Brenta Dolomites

A travelogue from a week hiking and climbing via ferrata across Italy's Brenta Dolomites — from Rifugio Tuckett to Agostini, with conversations along the way.

Learn Batching From LLM

A conversation-driven note on what a tiny task queue teaches about batching, event loops, and DOM work.

Category Mapping with Embedding

A deep dive into how I used embeddings and LLMs to automate a complex product categorization migration.

Time-slicing With Coroutine

Improving time-slicing with coroutine and JavaScript generators

Time-slicing With Continuation-passing Style

Time-slicing With Continuation-passing Style to handle performance bottleneck

Typewriter Effect With RxJS

A practical RxJS walkthrough for building a typewriter effect by encoding time as streams of values.

Implementing A Trie In JavaScript

A step by step guide to implement a Trie in JavaScript

Introduction to Lenses in JavaScript

This article aims to teach you how to implement lenses in vanilla JavaScript. You'll appreciate the expressiveness of functional programming.

Parabolic Curve Animation With RxJS

An RxJS walkthrough for modeling parabolic animation as streams of time and position.