Re:Cloud desktops aren't as good as you'd think
by Huh1337 on Thursday October 06, 2022 @06:36AM
(#33106620)
Ideally that would be handled on the FS layer and completely transparent to all apps. Things would get synchronized once connection is restored.
Re:Cloud desktops aren't as good as you'd think
by viraptor on Thursday October 06, 2022 @06:57AM
(#33106727)
You can't just synchronise things without knowing the file formats. You can't do a seamless distributed FS which allows offline changes.
Or more precisely, you can, but by choosing the most fresh file and people have lost work that way. There's a few "dropbox ate my files" stories out there.
Re:Cloud desktops aren't as good as you'd think
by Huh1337 on Thursday October 06, 2022 @07:13AM
(#33106816)
CRDTs?
Perhaps the idea of plain text/binary files is a little outdated too.
Re:Cloud desktops aren't as good as you'd think
by viraptor on Thursday October 06, 2022 @08:10AM
(#33107201)
CRDT is extremely format-specific. File systems don't operate at that level. And that's before we even decide if the merged edits is what you actually want.
Re:Cloud desktops aren't as good as you'd think
by jeffreygoesto on Thursday October 06, 2022 @07:06AM
(#33106782)
I assume that "decent" in the comment meant to address that?
Re:Cloud desktops aren't as good as you'd think
by viraptor on Thursday October 06, 2022 @08:13AM
(#33107235)
It would have to be magical not just decent. This is not solvable on the level of the file system. You can't add a blue line to an image on one system and a red line on another system and expect the filesystem to somehow figure out how to handle that on its own. The best you can count on is the conflict being flagged with both versions exposed.
Re:Cloud desktops aren't as good as you'd think
by marcosdumay on Thursday October 06, 2022 @12:06PM
(#33110038)
That is usually handled by exposing a "driver" API where the relevant programs can install merging components.
And yes, default into choosing some one, with an extended interface for displaying and managing conflicts.
Re:Cloud desktops aren't as good as you'd think
by Multicomp on Thursday October 06, 2022 @06:57AM
(#33106722)
I mean, isn't that a potential usecase for Syncthing? If I go offline on one of my devices, my files are still locally on the system. When it comes back online, it re-syncs the other devices to use my latest files.
Re:Cloud desktops aren't as good as you'd think
by hdjjhhvvhga on Thursday October 06, 2022 @10:19AM
(#33108485)
This is a very simple use case when you are working alone. Think about a team of people and hundreds of potentially conflicting changes to review manually.* Sometimes a tangible divide between online and offline is extremely useful.
*) Unless you believe this can be resolved by software - I'm afraid we're very far from that point yet.
Re:Cloud desktops aren't as good as you'd think
by rand49an on Thursday October 06, 2022 @06:43AM
(#33106666)
But then you have to deal with conflicts in a sensible way that won't lose users files and make it simple enough for people to choose which files to synchronise.
Re:Cloud desktops aren't as good as you'd think
by gw99 on Thursday October 06, 2022 @06:40AM
(#33106651)
That would have been nice. Cached 9P perhaps.
Instead we got OneDrive, Dropbox and iCloud. Ugh.
While I agree, this by itself doesn't solve the problem when you depend on such a FS for your work in a way that when you lose network connectivity, you can no longer work.