News for hackers. Stuff that matters.
Re:Qri: A global dataset version control system built on the... by DocSavage on Saturday March 23, 2019 @09:11AM (#19470305)
Interesting project, particularly with the choice of IPFS and DCAT -- something I'll have to look into. There have been other efforts to handle mostly file-based scientific data with versioning in both distributed (Dat https://blog.datproject.org/tag/science/) and centralized ways (DataHub https://datahub.csail.mit.edu/www/). Juan Benet visited our research center to give a talk about IPFS a few years ago. Really fantastic stuff.

I'm the creator of DVID (http://dvid.io), which has an entirely different approach to how we might handle distributed versioning of scientific data primarily at a larger scale (100 GB to petabytes). Like Qri and IPFS, DVID is written in Go. Our research group works in Connectomics. We start with massive 3D brain image volumes and apply automated and manual segmentation to mine the neurons and synapses of all that data. There's also a lot of associated data to manage the production of connectomes.

One of our requirements, though, is having low-latency reads and writes to the data. We decided to create a Science API that shields clients from how the data is actually represented, and for now, have used an ordered key-value stores for the backend. Pluggable "datatypes" provide the Science API and also translate requests into the underlying key-value pairs, which are the units for versioning. It's worked out pretty well for us and I'm now working on overhauling the store interface and improving the movement of versions between servers. At our scale, it's useful to be able to mail a hard drive to a collaborator to establish the base DAG data and then let them eventually do a "pull request" for their relatively small modifications.

We've published some of our data online (http://emdata.janelia.org) and visitors can actually browse through the 3d images using a Google-developed web app, Neuroglancer. It's running on a relatively small VM so I imagine any significant HN traffic might crush it :/ We are still figuring out the best way to handle the public-facing side.

I think a lot of people are coming up with their own ideas about how to version scientific data, so maybe we should establish a meeting or workshop to discuss how some of these systems might interoperate? The RDA (https://rd-alliance.org/) has been trying to establish working groups and standards, although they weren't really looking at distributed versioning a few years ago. We need something like a Github for scientific data where papers can reference data at a particular commit and then offer improvements through pull requests.

Re:Qri: A global dataset version control system built on the... by amirouche on Saturday March 23, 2019 @10:09AM (#19470503)
> We need something like a Github for scientific data where papers can reference data at a particular commit and then offer improvements through pull requests.

exactly my thought, do you know any working group that is working toward that goal?

Re:Qri: A global dataset version control system built on the... by DocSavage on Saturday March 23, 2019 @10:16AM (#19470521)
If by working group you mean a cross-company collection of people, I don't know of any or I would've joined them :) I've been working toward that goal for the last 5 years, but primarily with an eye to our kinds of data problems in the Connectomics field. I've been meaning to look at RDA again but reluctant to start a working group myself.
Re:Qri: A global dataset version control system built on the... by b_fiive on Saturday March 23, 2019 @10:23AM (#19470549)
Hey DocSavage! I'm one of these Qri folks, I'd love to see that working group exist. I have a friend or two at the RDA. maybe we should get an email going on the subject? Projects like these are bigger than any one company or tool :)
Re:Qri: A global dataset version control system built on the... by amirouche on Sunday March 24, 2019 @10:45AM (#19476618)
I started a awesome list dubbed "awesome data distribution" feedback welcome at https://github.com/amirouche/awesome-data-distribution
Re:Qri: A global dataset version control system built on the... by DocSavage on Saturday March 23, 2019 @10:33AM (#19470596)
Agreed. Will follow up on email through your Qri contact page.
Re:Qri: A global dataset version control system built on the... by b_fiive on Saturday March 23, 2019 @11:31AM (#19470849)
delightful. thanks!
Re:Qri: A global dataset version control system built on the... by benhamner on Saturday March 23, 2019 @09:02PM (#19473375)
Any way we can help at Kaggle? Is https://www.kaggle.com/datasets helpful for your work in connectomics?
Re:Qri: A global dataset version control system built on the... by brynb on Saturday March 23, 2019 @11:29AM (#19470840)
We’re building something along these lines at Axon (http://axon.science). Sign up for our beta if you’re interested in checking it out, and we should be able to get you set up in the next few days (we’re just starting to roll things out to the public this week).

The basic idea is distributed version control, like git, but over p2p swarms rather than clusters around “central” repositories. We have special handling for large datasets (but still using git) to improve transfer efficiency and diffing.

There’s a UI layer for collaboration (discussion, PRs, review) that supports deep linking to and embedding of files at specific commits, which sounds a bit like what you’re looking for.

Feedback is very much appreciated!

Re:Qri: A global dataset version control system built on the... by DocSavage on Saturday March 23, 2019 @12:05PM (#19470978)
That looks very interesting, particularly the UI layer for collaboration. Your website says it supports “massive data sets” but I would spell out what you mean since data for different fields vary by several orders of magnitude. (Massive for me starts at TBs and goes to petabytes.)

One of the issues for me is file-based versioning, which then requires the means to parse the format. A number of ventures and organizations (e.g., NeuroData without Borders) address versioning of the entire ecosystem necessary to correctly use the underlying data files, so not sure if that’s an explicit part of your ecosystem. Most importantly, is your stack going to be open source?

Re:Qri: A global dataset version control system built on the... by benhamner on Saturday March 23, 2019 @09:01PM (#19473371)
We're working on that through Kaggle Datasets https://www.kaggle.com/datasets

We support data versioning, interactive web previews, seamless loading into hosted Jupyter notebooks (Kaggle Kernels), seeing/sharing analytic results built on the data version, and adding direct collaborators right now.

We don't support a data-oriented version of an "issue" or a "pull request" quite yet, but these needs are definitely on our radar.

Re:Qri: A global dataset version control system built on the... by mbreese on Saturday March 23, 2019 @09:48PM (#19473605)
It's probably too late for this year, but ISMB is one of the traditional locations for such a working group in the biological sciences. It might be interesting for the meeting next year though. If anyone is interested in putting together a proposal, let me know. I'd be happy to help.
Re:Qri: A global dataset version control system built on the... by j88439h84 on Saturday March 23, 2019 @01:14PM (#19471295)
http://Dvc.org does this
Re:Qri: A global dataset version control system built on the... by DocSavage on Saturday March 23, 2019 @02:26PM (#19471650)
What are the differences between Dvc and Pachyderm.io, which I should have mentioned earlier?
Re:Qri: A global dataset version control system built on the... by dmpetrov on Monday March 25, 2019 @08:44PM (#19488226)
"From a very high level perspective - Pachyderm is a data engineering tool designed with ML in mind, DVC.org is a tool to organize and version control an ML project. Probably, one way to think would be Spark/Hadoop or Airflow vs Git/Github." from https://news.ycombinator.com/item?id=19130499
Re:Qri: A global dataset version control system built on the... by smarx007 on Saturday March 23, 2019 @02:39PM (#19471716)
Zenodo?
Re:Qri: A global dataset version control system built on the... by ktpsns on Saturday March 23, 2019 @02:40PM (#19471722)
> scientific data primarily at a larger scale (100 GB to petabytes)

Buying hard discs (100TB for a few 10kEUR a few years ago) is a real investion in our institute. As far as I understood, with distributed storages each participant volunteers to share his disc to store his (and other) data. Here's the devil's advocate: Why should I share my expensively bought disc space with you?

Re:Qri: A global dataset version control system built on the... by DocSavage on Saturday March 23, 2019 @03:38PM (#19471992)
Some institutions won't pay for others. In our space, big non-profit science institutions like Janelia and Allen Brain foot the bill for making the data available. Depending on the utility of the data, Amazon (https://aws.amazon.com/opendata/public-datasets/) or Google (https://cloud.google.com/public-datasets/) could also handle the cost of storing and distributing the data.

With versioned data, you could leverage the largesse of the big institutions to provide the base data, and then only the deltas for the children versions need be handled by users making changes.