Diff Algorithms
41–50 of 64 posts
Re: Diff Algorithms
#42Nugroho (2019): How Different Are Different diff Algorithms in Git?
Re: Diff Algorithms
#43Not to critique on the article, but as a general suggestion, it would be great if people don't use emojis as a scale. Unless it shows a specific character like number emojis, they are sometimes read differently by people from different language backgrounds. So what the author might be trying to say might lead to misunderstandings.
> they are sometimes read differently by people from different language backgrounds
I'm really curious of some examples you have actually how an image is influenced by language ?
Re: Diff Algorithms
#44Not to critique on the article, but as a general suggestion, it would be great if people don't use emojis as a scale. Unless it shows a specific character like number emojis, they are sometimes read differently by people from different language backgrounds. So what the author might be trying to say might lead to misunderstandings.
But ai loves them, so we will be stuck with them for a few years at least. > they are sometimes read differently by people from different language backgrounds I'm really curious of some examples you have actually how an image is influenced by language ?
Re: Diff Algorithms
#45I am currently researching and have built my own naive implementation for diffing a dense tree and the performance... isn't very great.
The ideal outcome is to create patches by diffing different versions of the JSON object, then being able to apply said patches anywhere in the "commit" tree.
Re: Diff Algorithms
#46Not to critique on the article, but as a general suggestion, it would be great if people don't use emojis as a scale. Unless it shows a specific character like number emojis, they are sometimes read differently by people from different language backgrounds. So what the author might be trying to say might lead to misunderstandings.
Re: Diff Algorithms
#47Earlier quoted context omitted.
There is this debate of virtual DOM vs no virtual DOM, and from time to time you see people on HN claim how great vanilla JS is. Won't get into the former debate, but for the latter, people who make such comments probably aren't aware how different it is to create a UI as complex as Outlook/reddit/Spotify vs their personal website or a simple demo. For complex sites with lots of widgets and data, being able to write…
As someone mostly familiar with non-web UIs - isn't the real question "why aren't you using MVC instead of a big lump of spaghetti?"
Re: Diff Algorithms
#48Re: Diff Algorithms
#49What's a SoTA diffing algorithm for diffing of a deeply nested JSON structure for example? I am currently researching and have built my own naive implementation for diffing a dense tree and the performance... isn't very great. The ideal outcome is to create patches by diffing different versions of the JSON object, then being able to apply said patches anywhere in the "commit" tree.
Re: Diff Algorithms
#50There are at least 3 fundamentally different kinds of diff: * Single-dimensional. Diffs of text lines are just this. * Multi-dimensional. Diffs of words or characters are usually going to be this since lines still matter, but there are multiple approaches (line-first? weighted tokens?). * Tree-based. Unfortunately, these are woefully scarce and poorly documented. For text diffs, it's nontrivial to get the "missing ne…
Can you explain why the `p` example is unmergeable whereas the `b` one isn't? I can't see any difference between the two examples other than the tag used.