Re:Hey Dropbox, why can't I compare file versions like this?
by narak on Sunday February 02, 2020 @11:58PM
(#22221518)
Am I missing something? This already exists in Google Docs. Much easier to implement when the doc is database-backed (recording every keystroke for OT) vs file-based.
[ Parent
| on HN ]
Re:Hey Dropbox, why can't I compare file versions like this?
by aaronharnly on Monday February 03, 2020 @06:47AM
(#22223362)
The Docs versión history tooling is pretty weak, though — you have to repeatedly select a timestamp. You can’t scrub, and you can’t even click on text and get “who put this here, when?”
Re:Hey Dropbox, why can't I compare file versions like this?
by cwyers on Monday February 03, 2020 @12:47AM
(#22221734)
Yeah, the thing is, you can't do this in a file-format-agnostic way (you need to know what a Word doc or an Excel sheet is), which makes the file system layer the wrong level of abstraction to consider.
Re:Hey Dropbox, why can't I compare file versions like this?
by enriquto on Monday February 03, 2020 @03:00AM
(#22222295)
You can, as long as your files have a meaningful representation as a text file. This is a good idea anyways.
Re:Hey Dropbox, why can't I compare file versions like this?
by eru on Thursday February 13, 2020 @01:44AM
(#22315812)
That representation is one way to encode the file-format knowledge you need.
Any other way to implement would probably also involve one common format (or a small few) behind the scenes.
Re:Hey Dropbox, why can't I compare file versions like this?
by cowsandmilk on Monday February 03, 2020 @07:30AM
(#22223555)
The diff when database-backed is still going to be file-format specific because a text-based document will not be stored in a DB identically to a spreadsheet.