News for hackers. Stuff that matters.
Re:Graphtage: A semantic diff utility for JSON, HTML, YAML, ... by saagarjha on Friday February 26, 2021 @05:35PM (#26280674)
Interesting use of U+031F COMBINING PLUS SIGN BELOW to indicate additions, I don't think I've seen that before.
Re:Graphtage: A semantic diff utility for JSON, HTML, YAML, ... by hinkley on Friday February 26, 2021 @06:25PM (#26281050)
It's the kind of UI experimentation I like to see people try, but I'm not sure they nailed this one.

Probably onto something though. Try different diacritical symbols and see what sticks. Given how '"' looks, maybe combining above or below needs to vary by character. Above probably looks awful for '.' and ','.

Really I think the strikethrough might suffice. The only way to know for sure is to take away the color highlighting, so my brain doesn't use it as a crutch, and see if people can still read the diff.

Re:Graphtage: A semantic diff utility for JSON, HTML, YAML, ... by jacobolus on Friday February 26, 2021 @08:24PM (#26281816)
Using diacritics for this is extremely visually noisy and not very legible.

There has to be a better method.

Re:Graphtage: A semantic diff utility for JSON, HTML, YAML, ... by colejohnson66 on Friday February 26, 2021 @09:09PM (#26282037)
Plus and minus symbols at the beginning of a colored line have worked pretty well. It is a neat trick, but it is noisy.
Re:Graphtage: A semantic diff utility for JSON, HTML, YAML, ... by ynx0 on Friday February 26, 2021 @06:04PM (#26280903)
I think it's really cool as well. Although, it does start to look a little wonky with quotes and probably some other characters and makes skimming a bit harder. Maybe monospaced fonts will start to handle this better if it gets popular?
Re:Graphtage: A semantic diff utility for JSON, HTML, YAML, ... by eurasiantiger on Friday February 26, 2021 @06:14PM (#26280972)
Ruby typography support in terminals maybe?