home.social

#diff — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #diff, aggregated by home.social.

  1. One of the beautiful things about Sublime Merge¹ (and git/diffs) is that you can see exactly what has changed in complex expected values in tests to ensure that you’re updating the tests without overlooking regressions.

    (This is from the Markdown page loader tests in Kitten², as I’m refactoring to implement the upcoming breaking change in the stateful components API³ as it affects the generated code for stateful layout components in Markdown pages.)

    ¹ Which I always have running, full-screen on its own monitor.
    ² kitten.small-web.org
    ³ Currently experimental and undocumented but that should change once this breaking change is implemented.

    #git #diff #unitTests #tape #SublimeMerge #Kitten #SmallWeb #web #dev #developerExperience

  2. The new Claude Desktop app includes a new diff viewer. I compared three ways to review Claude's code changes: the Desktop app diff viewer, the Claude Code CLI, and plain git diff, with a note on when to reach for each one.

    lotharschulz.info/2026/04/17/c

    #claude_code #diff

  3. gvc (git-visual-compare) is a new visual git diff tool that I'm releasing today! Try it out at: dafoster.net/projects/gvc/ #coding #programming #diff #git

    I've been using the diff mode of the venerable yet unmaintained GitX tool for a decade. But now I need my diffs to support dark mode, to avoid waking the baby at night. Astonishingly, existing GUI diff tools only support diffing *individual* commits, not ranges . So I finally bit the bullet and wrote my own. Enjoy!

  4. Announcing Textual Diff View!

    Add beautiful diffs to your terminal application.

    ⭐ Unified and split view
    ⭐ Line and character highlights
    ⭐ Many themes
    ⭐ Horizontal scrolling

    github.com/batrachianai/textua

    #Python #Textual #Diff #AI

  5. → Markdown Ate The World (by @matdevdug)
    matduggan.com/markdown-ate-the

    “Most writing is about getting words down in a structure that makes sense, and then getting those words in front of other people. #Markdown does that with less #friction than anything else ever created. You can learn it in ten minutes, write it in any text editor on any device, read the source file without rendering it, diff it in version control, and convert it to virtually any output format.”

    #text #diff #write #format

  6. I. CORRECTIONS:

    (1) The notation has square brackets for the old version:
    [-old-]{+new+}
    —I made several typos in the original post.

    (2) The incantation is `git diff --word-diff=plain'.

    II. NOTES:

    (a) There is also --word-diff-regex="." marking differences at single character granularity.

    (b) Sometimes I run `git diff' directly from the command line and sometimes from another environment, such as Emacs.
    The defaults may vary.

    @dougmerritt

    #Diff
    #Git
    #GitDiff
    #SoftwareTools

  7. Funny thing, algorithms.
    I replaced

    performanceID

    with

    performerID

    and if I were marking the change manually,
    it would be:

    -perform[-ance-]ID
    +perform{+er+}ID

    but in fact it is:

    -perform[-anc-]eID
    +performe{+r+}ID

    (obviously...).

    [Typos corrected.]

    #Diff
    #Morphology
    #SoftwareTools

  8. Смарт-контракт без иллюзий: разговор с Solidity-аудитором

    Смарт-контракты могут использоваться не только в публичных блокчейнах, но и в корпоративных и permissioned‑EVM-сетях. При этом с аудитами безопасности по‑прежнему связано много упрощенных представлений: от веры в то, что они не нужны в приватной сети, до ожидания, что аудит способен гарантировать отсутствие уязвимостей. Мы обсудили эти вопросы с нашим экспертом по аудиту смарт‑контрактов на Solidity, Владимиром Чечеткиным. Под катом — разговор о типичных заблуждениях, качестве подготовки проектов и о том, почему ценность аудита часто раскрывается не в отчете, а в процессе взаимодействия.

    habr.com/ru/companies/pt/artic

    #смартконтракты #solidity #evm #dosатаки #diff #аудит_безопасности #блокчейнтехнологии #интервью #профессии_в_it

  9. @david_chisnall I have only one minor criticism of GitHub's highlighting, and I don't know whether it is (or should be) fixable.

    In cases such as the one pictured below, it's necessary to scroll/page down hugely to bring a tiny change into sight.

    In other words, 'Show Diff' shows much, much more than the diff.

    A wild guess: maybe specific to AsciiDoc in GitHub, or the FreeBSD Documentation Project's use of AsciiDoc in cases such as this.

    @zev @bentolor

    #GitHub #AsciiDoc #preview #diff

  10. 𝗗𝗶𝗳𝗳𝗧𝗲𝘅𝘁:

    #Diff #Checker #Text #Difftext

    thewhale.cc/posts/difftext

    A simple diff checker tool to quickly find the difference between two blocks of text.

  11. Wow this will make code review easy! 🔥

    🧩 **oyo** — A special diff viewer with step-through mode.

    👀 Watch the diff evolve step by step.

    💯 Supports syntax highlighting, git blame, smooth animations & more!

    🦀 Written in Rust & built with @ratatui_rs

    ⭐ GitHub: github.com/ahkohd/oyo

  12. And the Dublin International Film Festival has some silent screenings, including shorts with Harold Lloyd, Buster Keaton, and Laurel & Hardy, but also early SF classic The Inhuman Woman and saucy comedy The Garden of Eden.

    #DIFF #DublinInternationalFilmFestival #DublinListings

  13. Okay, da musste ich jetzt länger suchen. Die meisten Tools, die Texte vergleichen, sind für Programmiercode gedacht (Meld usw.). Für den Vergleich von "Fließtext" in zwei Markdown-Dateien gefällt mir aktuell die Darstellung mit VSCode am besten - aber wer dafür noch andere Tools empfehlen kann, Tipps werden gerne angenommen :-)

    #markdown #compare #diff #editor

  14. Probably a good time to repeat myself:

    - Run your #node-based prod app **AND** dev stack in isolated #containers / #vms (most malware targets you, the dev!)
    - Use as few external packages as possible
    - Check all packages carefully before installing, incl. updates (grab tarball and use #diff when in doubt!)
    - What you see in a module's #GitHub is not necessarily what's on #npm

    And btw, the issue lies with npm and the move-fast-and-break-things culture, not #javascript

    #ShaiHulud #docker

  15. @paequ2 "diffing tools" - I use Eskil a lot - eskil.tcl-lang.org/home/doc/tr .

    In case it's not obvious, the "starpack" downloads are all-in-one-file executables for different OSs, no installation needed, just make the file executable and run it.
    #diff #programming

  16. Article by @alefunguju on how to use pandoc to produce nice-looking diffs for docx and odt with , and even how to provide that functionality with .

    spiffyk.cz/blog/git-pandoc/

  17. @ariadna I have a bundle of Erlang projects I wrote as exercises while I taught myself the language. One of then is a conversion of my IOCCC winner npdif into erlang-diff. Lots of references about difference algorithms, so not only learn the language, but a complex subject too.

    #c #erlang #editdistance #lcs #LongestCommonSubsequence #diff

  18. Da haben wir den #toolsday ein wenig vernachlässigt die letzten zwei Wochen... Heute soll es aber mit #dyff weiter gehen. Wer regelmäßig mit #yaml files zu tun hat, dürfte sich über dieses #tool freuen. Es ist eine #diff #alternative für yaml auf der #kommandozeile .

    github.com/homeport/dyff

    #linux #terminal #yaml