News for hackers. Stuff that matters.
Re:Sandstorm – An open source operating system for personal ... by amelius on Friday July 15, 2016 @08:44PM (#12104680)
Does this OS provide building blocks for collaborative applications? Or does every app have to reinvent collaborative editing?

Update: Okay, so I created a flowchart in one instance, then shared the link, and opened it in another tab. Edited the flowchart in one tab, but it didn't change in the other tab. This is imho not how a cloud OS should work.

But the container technology seems quite cool.

Re:Sandstorm – An open source operating system for personal ... by kentonv on Friday July 15, 2016 @08:55PM (#12104710)
Almost all Sandstorm apps support real-time collaboration. It sounds like you tested draw.io, which unfortunately is one of the few that currently does not.

Sandstorm does not dictate what tech stack you use -- it supports any server stack that runs on Linux. Supporting real-time collaboration is normally the job of your tech stack. If you use Meteor, for example, you'll pretty much have it by default.

Sandstorm does make real-time collaboration easier to operate at scale through fine-grained containerization: each "document" runs in a separate container as a separate instance of the app. Sandstorm ensures that there is never more than one instance running for a particular document, so you don't have to worry about concurrent writes coming from another machine. Scalability is achieved by distributing the documents across machines.

https://sandstorm.io/how-it-works

Re:Sandstorm – An open source operating system for personal ... by yeowMeng on Saturday July 16, 2016 @12:24AM (#12105231)
> Scalability is achieved by distributing the documents across machines.

Unless everyone wants to edit the same doc at the same time.

Re:Sandstorm – An open source operating system for personal ... by kentonv on Saturday July 16, 2016 @02:02AM (#12105410)
Sure, but if you have hundreds of people trying to edit the same document, you are going to have a bad time no matter what architecture you use. This is why Google Docs reverts to read-only mode when too many people show up. We could do something like that too: give the app an API to provide some static content as a fall-back when a grain is overloaded.
Re:Sandstorm – An open source operating system for personal ... by the_common_man on Friday July 15, 2016 @09:12PM (#12104765)
You might have tried draw.io which according to the reviews is not supported anymore.