Super impressed with the Ariadne library for compiler error formatting. It handles all the messy line highlighting, underlining etc that a good error should have.
Left: old, handrolled error formatting
Right: Ariadne formatting
Here's a tricky diff situation I haven't seen before: a minimal text diff can be ugly.
It would be nicer to match line 6 on the left with line 3 on the right, so the removed region is contiguous.
(git-diff handles this case nicely already.)
Wilfred Hughes
Shared words: handles, line, Left, Right
Score: 80
I've been working on a search tool for a website with 9K items and a dumb implementation works just fine. I'd normally gravitate to a library or tool like elasticsearch (ES).
Adding custom filters etc is trivial on handrolled code. I wonder what scale requires actual search infra like ES.
I've been adding heuristics to difftastic for showing comment changes. See before and after.
It's a messy problem: do I split on spaces or word boundaries? Do I handle "reflowing" single-line comments where a word is added to a sentence and several comments change?