News for hackers. Stuff that matters.
Re:Vanadium – Create distributed applications that can run a... by niftich on Saturday October 15, 2016 @06:54PM (#12715988)
After 10 minutes, here's what I found out:

- The authors are either Google and/or heavily affiliated with Google

- On their website, the two highlighted projects/products are Syncbase and Vanadium Core.

- Syncbase is a distributed, works-offline datastore, with well-defined ways of doing reconciliation. Think, git merges, or collaborative docs, or y'know anything with vector clocks but approached from the side of the UX they want to target.

- Vanadium Core is "the discovery, RPC, and security layer underlying Syncbase", including its custom binary data serialization format 'VOM' and its IDL called 'VDL'.

Re:Vanadium – Create distributed applications that can run a... by inopinatus on Saturday October 15, 2016 @07:30PM (#12716114)
> Syncbase: "Offline-first and peer-to-peer, Syncbase provides local storage that opportunistically syncs data".

I have an application for that _right now_. Syncbase doesn't look ready though, does anyone know of an alternative data store that ticks all those boxes? e.g. I was looking at Cognito, but it lacks peer-to-peer.

Re:Vanadium – Create distributed applications that can run a... by aboodman on Saturday October 15, 2016 @08:14PM (#12716219)
You should take a look at Noms:

https://github.com/attic-labs/noms

Happy to answer questions here or in our Slack channel.

Re:Vanadium – Create distributed applications that can run a... by azinman2 on Saturday October 15, 2016 @10:14PM (#12716502)
Nothing else does what vanadium does, especially at its sophistication level. I don't know if I'd use it in production yet unless you are willing to put in some engineering resources, but you're unlikely to find something else as well made elsewhere. This is the product of a very elite team... which means it's also very complicated to use.
Re:Vanadium – Create distributed applications that can run a... by pavlov on Saturday October 15, 2016 @11:01PM (#12716650)
This is the product of a very elite team... which means it's also very complicated to use.

That's an unfortunate assumption. Looking back at historic examples, the Windows API was complicated to use while the NeXTSTEP API wasn't. Is there any question which was created by an "elite team"?

Re:Vanadium – Create distributed applications that can run a... by azinman2 on Sunday October 16, 2016 @12:19AM (#12716876)
Syncbase is the attempt to simplify it and abstract a lot of it. It's API is much more straightforward and is fairly easy to work with.

Part of the complexity is that it's solving like 15 major problems at the same time in an interconnected way. It's also solving them for people like google which means there are a lot of requirements for all the things it needs to do.

Because it does new things, in addition to old things in new ways, there's a steep learning curve for all of its concepts. I totally agree that doesn't mean it couldn't be more elegant and "simple," but the win32/nextstep analogy isn't fair as they were far more similar than vanadium is to anything else. Vanadium is like a hybrid of (to use existing concepts) dns/http/ssl/json/bluetooth/nosql/ntp/kerberos and more. When you put it all together there isn't a lot of existing references or cognitive frames to help you "get it" righ away.

Re:Vanadium – Create distributed applications that can run a... by inopinatus on Sunday October 16, 2016 @12:46AM (#12716996)
The outcome I'm looking for is basically CRDT (or something very like it) using only BYO smartphone & laptop devices (acting as both the forwarding nodes and the application client), robust against nontechnical user mishap and patchy/absent Internet connectivity.

I was looking at http://www.opengarden.com/meshkit.html but they don't seem interested in my scale.

Re:Vanadium – Create distributed applications that can run a... by azinman2 on Sunday October 16, 2016 @04:40PM (#12720809)
I'd go with something that's more production ready / supported. Don't know about meshkit but sounds cool.
Re:Vanadium – Create distributed applications that can run a... by HodGreeley on Sunday October 16, 2016 @10:59PM (#12722433)
Hod @ Couchbase here. Depending on what you mean, I have to disagree. Are you talking about Vanadium Core, or Vanadium and Syncbase? From what I'm reading, Couchbase does significantly more than Syncbase. It supports many of the security features of Vanadium, although it doesn't have ACLs with things like proximity built-in.
Re:Vanadium – Create distributed applications that can run a... by HodGreeley on Sunday October 16, 2016 @10:54PM (#12722419)
Couchbase Lite does all this, and is a mature, shipping product with many real-world deployments (including peer-to-peer as a primary use). It's a JSON document database, with full map/reduce indexing/query capabilities. It uses MVCC (similar to git) to handle offline first + conflict resolution.

Couchbase Lite can be used stand-alone, or as part of the Couchbase Mobile stack, which includes Sync Gateway and Couchbase Server. Everything is open source, too.

I'm happy to answer questions here, you can ping me on twitter, or through our forums, etc. Hod @ Couchbase

Re:Vanadium – Create distributed applications that can run a... by marknadal on Saturday October 15, 2016 @09:51PM (#12716431)
Re:Vanadium – Create distributed applications that can run a... by weitzj on Saturday October 15, 2016 @07:18PM (#12716064)
Also something about Syncbase on Youtube.

https://www.youtube.com/watch?v=2cHzd8pBYmU

Re:Vanadium – Create distributed applications that can run a... by the_duke on Saturday October 15, 2016 @07:25PM (#12716097)
Hilariously awkward video.

But the key points:

-) All data is encrypted both on the wire and "at rest" (presumably on disk)

-) All options are versioned to allow merging

-) Provides builtin policies for resolving conflicts (eg last one wins)

-) Handles structured data (nosql api) and binary data (blob api)

-) Fine grained ACLs for permissions

-) Apparently offers p2p syncing without a central server

Re:Vanadium – Create distributed applications that can run a... by azinman2 on Saturday October 15, 2016 @10:19PM (#12716523)
It's written to be security and offline first. Most systems have this bolted on afterwards which is notoriously difficult to do and never quite right.

You're also missing:

- a very sophisticated ACL/role model all built off cryptography that allows me to do things like grant Bob permission to watch my TV if Bob is within 100ft of a vanadium-powered Bluetooth device that can verify his proximity. And that's just the tip of the iceberg.

- solves RPC in a cross-platform way, handles bi-directional steaming, and data marshaling

- solves decentralized DNS using something called mounttables that can work just as well for servers in a cloud environment as routing to your IoT devices

- basically reinvents how devices talk to each other in many other ways that are too much for a HN comment.

Re:Vanadium – Create distributed applications that can run a... by noahl on Saturday October 15, 2016 @08:11PM (#12716211)
The core repository has an AUTHORS file, and the only entry is "Google, Inc."

Disclaimer: I work for Google, but I have no idea what this is.

Re:Vanadium – Create distributed applications that can run a... by solipsism on Saturday October 15, 2016 @11:46PM (#12716775)
You keep using that word ("disclaimer"), I do not think it means what you think it means.
Re:Vanadium – Create distributed applications that can run a... by noahl on Sunday October 16, 2016 @12:30AM (#12716925)
You're right :). But I've also seen "disclaimer" commonly used in specifically this context (disclosing your affiliation with a company you're mentioning), which is why I use it that way. "Disclosure" would be more accurate, but that's not what people actually say.
Re:Vanadium – Create distributed applications that can run a... by mbrock on Sunday October 16, 2016 @04:47AM (#12717681)
HN users have lots to disclaim.

http://mbrock.github.io/disclaimer.html

Re:Vanadium – Create distributed applications that can run a... by the_duke on Saturday October 15, 2016 @07:10PM (#12716045)
How did you find the association with Google?

But you are probably right: page is in material design, the repos are mostly Dart or Go.

Re:Vanadium – Create distributed applications that can run a... by niftich on Saturday October 15, 2016 @07:22PM (#12716085)
I'm so glad you asked!

- I read the Vanadium ToS [1]

- In the video embedded from the page on 'Syncbase' [2] everyone shown works at Google.

- At this point, the association with Google looks very likely. I searched for 'syncbase google' and found a ton of intriguing stuff, including the prospect that it's being used in production settings by Google.

- I searched for 'vanadium google' and found this Twitter thread [3]

[1] https://vanadium.github.io/tos.html

[2] https://vanadium.github.io/syncbase/

[3] https://twitter.com/chuhnk/status/685455321465237504

Re:Vanadium – Create distributed applications that can run a... by weitzj on Saturday October 15, 2016 @07:25PM (#12716095)
I wonder if Vanadium is the project Jeff Nichols http://www.jeffreynichols.com is talking about.

  Quote:
  I am a Staff Research Scientist at Google managing a team of roughly seven people at the Mountain   View campus.
  I work on a project that you haven't heard of and that I can't talk about, but, needless to say, we're doing really cool stuff that you'll be excited about when it's finally released.
Re:Vanadium – Create distributed applications that can run a... by danielsju6 on Sunday October 16, 2016 @05:01PM (#12720930)
Yep
Re:Vanadium – Create distributed applications that can run a... by sly010 on Saturday October 15, 2016 @07:19PM (#12716074)
Their intro video is done by 2 Google engineers.
Re:Vanadium – Create distributed applications that can run a... by avighnay on Saturday October 15, 2016 @11:33PM (#12716744)
And they say 'working on here at Google' in the video