Work in progress: 181,232 of 181,233 sites checked so far, more every week · updated 2 Nov 2026Missing a blog? Tell us

Top all-time · #15378

L

Lup Peng

Personal blog · luppeng.wordpress.comprogrammingsystems

Lup Peng writes Technical Scratchpad, a personal blog at luppeng.wordpress.com about programming and systems. Since 2021, 5 different Hacker News readers have linked it 5 times, most often “When to Use Each of the Git Diff Algorithms”. It is still writing: the last post was on 2026-10-02, and you can follow it by feed.

Visit the blog
5mentions?
5HN people?
2021–2024first – last linked?
Links on Hacker News per year · peak 2 in 2024

Too few sampled comments (2) to say how often HN recommends it.?

Why HN links it

HN readers link this blog for its explanation of Git's diff algorithms and when to use each, such as patience and histogram. It comes up in threads about how Git diffs are computed.

Summarised by Claude from a sample of 2 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.

Blog by Lup Peng about Virtualization, Containerization, Databases, IaaS, PaaS, DevOps, and everything else he’s learning about.

Most-linked posts?

  1. When to Use Each of the Git Diff Algorithms
    5 people · 5 mentions · first linked 2021-10-26

What Hacker News says?

  1. You'll probably enjoy the patience or histogram diff algorithms. See https://luppeng.wordpress.com/2020/10/10/when-to-use-each-of... for more. [diff] algorithm = "histogram" You can also teach git to always show e.g. function names in the diff hunk heading. For example, to always show previous Markdown heading: ~/.config/git/config [diff "markdown"] xfuncname = "^(#+\\s*.*)" ~/.config/git/attributes *.md diff=markdo…

    Comment linking /2020/10/10/when-to-use-each-of-the-git-diff-algorithms/

    on “Do we think of Git commits as diffs, snapshots, and/or histories?”
  2. Submitted When to Use Each of the Git Diff Algorithms as a story · 3 points

    HN discussion
  3. This made me think of a couple other interesting things: 1. you can change which algorithm is used in git diff as multiple are supported https://luppeng.wordpress.com/2020/10/10/when-to-use-each-of... 2. Google has an edit graph implementation in Go in the cmp package https://github.com/google/go-cmp/blob/master/cmp/internal/di...

    Comment linking /2020/10/10/when-to-use-each-of-the-git-diff-algorithms/

    on “Visualizing Diffs: The Myers difference algorithm (2020)”
  4. Submitted When to Use Each of the Git Diff Algorithms as a story · 3 points

    HN discussion
  5. Submitted When to Use Each of the Git Diff Algorithms as a story · 3 points

    HN discussion

Search all of HN for luppeng.wordpress.com