Live data from Hacker News

Show HN: Simperium, a realtime data layer

simperium.com

31–40 of 90 posts

Re: Show HN: Simperium, a realtime data layer

#31
post #30

Looks awesome, quick question, is it possible to mutate data from a javascript client? In the API reference, all I see for javascript are event listeners. Also, how would a javascript client receive an access token? https://auth.simperium.com/ does not allow cross origin requests.

Yes definitely, you can update directly using the bucket.update() method, and pass in an id and the data object. The better way would be to implement the 'local' callback to return the data, then just call bucket.update(id), and the library will call your 'local' method to retrieve the current state for that id. You can read about the 'local' callback here: https://simperium.com/docs/reference/js/#local For auth, we'…

perfect, thanks!

Re: Show HN: Simperium, a realtime data layer

#35
post #15

We desperately need a high quality open-source Firebase/Simperium/Spire. A simple, robust, realtime data synchronization layer with libraries for major platforms. These projects all look great, but outsourcing this infrastructure is simply not feasible for lots of projects.

Are there any operational transform libs that are transport independant? Socket.io and socketstrwam can handle communication.

Re: Show HN: Simperium, a realtime data layer

#36
post #33

Something I don't understand: when your fundamental value proposition is moving data between platforms ("everywhere it's needed"), why didn't you consider your MVP to include an Android library?

We agree Android is important, but we found enough developers who thought iOS/OSX, JavaScript and Python were sufficiently compelling, so we focused on those for launch.

Releasing more libraries is a priority.

Re: Show HN: Simperium, a realtime data layer

#37

Excellent product and superb demo. Question that may be a bit off-topic but one I'd really like to know: what editor are you using there when you're editing the python service? Thanks and congratulations on your launch.

Thanks, appreciated.

The editor is Sublime Text 2: http://www.sublimetext.com/2

Re: Show HN: Simperium, a realtime data layer

#38
Is every object on a separate timeline for purposes of operational transformation and synchronization? As an example where this would be noticeable, if I make a change to one object, and then a different one, am I guaranteed that everyone will see the first change before the second? Put from the different side, is it possible for me to not have seen changes on one object yet, but end up downloading a fresh copy of a different object that is from a later point in time? Finally, related to that latter stating, is it possible to use the data before it has fully finished downloading, in that I might only initially need a subset of the objects (and is it even Simperium's goal to keep the entire data store synchronized, or just the active subset)?

Re: Show HN: Simperium, a realtime data layer

#40
post #33

Something I don't understand: when your fundamental value proposition is moving data between platforms ("everywhere it's needed"), why didn't you consider your MVP to include an Android library?

We agree Android is important, but we found enough developers who thought iOS/OSX, JavaScript and Python were sufficiently compelling, so we focused on those for launch. Releasing more libraries is a priority.

What I find really odd is that you have no statement of such on your web page. I search the entire thing and I can't tell if you ever plan to release an Android library. As a developer it shapes my perception of you as not a cross platform play but an iOS play and immediately rules you out for just about anything I would do. If I was you I would at very least have a note in your libraries section that Android is on your agenda.
Post reply on HN