ML.
/

Writing log71 posts289 tagslatest Oct 23, 2026

Posts.

I take large codebases apart and write down how they actually work.

Latest posts

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

    llmlosscross-entropy+2

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

    llmmathsoftmax+2

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

    llmmathvector+2

  4. LLM Paper Evolution Map (MOC)

    A Map of Content page for reading core LLM papers in order, starting from the Transformer.

    llmpaper-readingmoc+1

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

    llmtransformerattention+2

  6. Transformer Basics: Residual, LayerNorm, FFN

    Why Residual, LayerNorm, and FFN are necessary in a Transformer block — explained with equations, commentary, and examples.

    llmtransformerresidual+3

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

    playwrightagent-browserlightpanda+3

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

    nextjsmermaidcontentlayer+2

  9. TIL: Ruby and Rails Knowledges 1

    TIL: Ruby and Rails Knowledges

    rubyrailspost+1

  10. LeetCode 201 Solutions

    LeetCode 201 solutions #bit manipulation #number theory

    javascriptleetcodepost+1