Writing log71 posts289 tagslatest Oct 23, 2026
Posts.
I take large codebases apart and write down how they actually work.
Latest posts
LLM Learning Basics: cross-entropy and perplexity
Explains cross-entropy and perplexity — the metrics used to measure how wrong a model is — with formulas, commentary, and examples.
LLM Math Basics 2: Softmax and Probability Interpretation
A walkthrough of how softmax converts raw scores into probability-like values, with formulas, explanations, and examples.
LLM Math Basics 1: Vectors and the Dot Product
A walkthrough of vectors and the dot product — with notation, explanations, and examples — covering what you need to know before reading LLM papers.
LLM Paper Evolution Map (MOC)
A Map of Content page for reading core LLM papers in order, starting from the Transformer.
Transformer Basics: Intuition Behind Q, K, and V
Explains the role of Q, K, and V through the attention formula, a plain-language walkthrough, and a concrete example.
Transformer Basics: Residual, LayerNorm, FFN
Why Residual, LayerNorm, and FFN are necessary in a Transformer block — explained with equations, commentary, and examples.
Playwright vs agent-browser vs Lightpanda — Which Browser Automation Tool Should You Use?
Playwright, agent-browser, Lightpanda — a comparison of the positioning and key differences among three browser automation tools, with the same task implemented in each, to provide practical guidance for choosing the right one.
Adding Mermaid Diagram Support to a Next.js Blog
How to add build-time Mermaid diagram rendering with rehype-mermaid to a Next.js + Contentlayer2 blog, with conditional loading to keep CI build times lean.
TIL: Ruby and Rails Knowledges 1
TIL: Ruby and Rails Knowledges
LeetCode 201 Solutions
LeetCode 201 solutions #bit manipulation #number theory