Live data from Hacker News

Mendoza: Use stack machines to compute efficient JSON diffs

sanity.io

21–30 of 35 posts

Re: Mendoza: Use stack machines to compute efficient JSON diffs

#21
post #19

I'm super interested in this topic. Recently (and still ongoing) I started on hashing out how to diff large datasets and what that even means. I would love to get an understanding of how the HN crowd sees diffing datasets should be (lets say >1GB in size). Are you more interested in a "patch" quality diff of the data which is more machine tailored? Or is a change report/summary/highlights more interesting in that cas…

Both! I need to be able to handle merge conflicts for data, but I also need the machine to be able to apply the changes.

Re: Mendoza: Use stack machines to compute efficient JSON diffs

#23
post #15

This is an interesting tool for computing minimal diffs, but the result is not very human friendly. If this is your goal and you are looking for something better than diff, have a look at graphtage: https://github.com/trailofbits/graphtage Also works for XML, HTML, YAML and CSV.

The article explains very clearly that this is a purpose-built non-human-friendly solution.

Re: Mendoza: Use stack machines to compute efficient JSON diffs

#25
post #15

This is an interesting tool for computing minimal diffs, but the result is not very human friendly. If this is your goal and you are looking for something better than diff, have a look at graphtage: https://github.com/trailofbits/graphtage Also works for XML, HTML, YAML and CSV.

Would be cool if there is were a way to plug this into git

Re: Mendoza: Use stack machines to compute efficient JSON diffs

#28
post #23
post #15

This is an interesting tool for computing minimal diffs, but the result is not very human friendly. If this is your goal and you are looking for something better than diff, have a look at graphtage: https://github.com/trailofbits/graphtage Also works for XML, HTML, YAML and CSV.

The article explains very clearly that this is a purpose-built non-human-friendly solution.

I know, I wasn't trying to ignore or denigrate this purpose. It seemed apt to show a similar tool which still has a drastically different (and complementing) purpose, which is human readability.

Re: Mendoza: Use stack machines to compute efficient JSON diffs

#29
post #19

I'm super interested in this topic. Recently (and still ongoing) I started on hashing out how to diff large datasets and what that even means. I would love to get an understanding of how the HN crowd sees diffing datasets should be (lets say >1GB in size). Are you more interested in a "patch" quality diff of the data which is more machine tailored? Or is a change report/summary/highlights more interesting in that cas…

Both! I need to be able to handle merge conflicts for data, but I also need the machine to be able to apply the changes.

You should checkout dolthub.com. It's versioned DB tool that allows for diffs and merges.
Post reply on HN