News for hackers. Stuff that matters.
Re:Dat: non-profit, secure, and distributed package manager ... by tbv on Tuesday September 26, 2017 @08:44PM (#15343969)
I'm one of the creators of the Beaker browser[1] and the reason we use Dat is that as a p2p protocol, it offers a lot of neat properties, including making datasets more resilient. As long as one peer on the network is hosting a dataset, it will be reachable, even if the original author has stopped hosting it.

I won't speak authoritatively on behalf of the Dat team, but I believe one of their goals is to make it difficult for public scientific datasets to be lost, and data living on a centralized server is particularly vulnerable to that.

1. https://github.com/beakerbrowser/beaker

Re:Dat: non-profit, secure, and distributed package manager ... by rspeer on Wednesday September 27, 2017 @03:42AM (#15345645)
The use case really speaks to me, but I'm not convinced that decentralization is going to help datasets not to get lost.

I spent a while trying to download recent updates to the Reddit comment corpus [1], which is hosted on BitTorrent. The downloads never seem to finish.

It seems to me that decentralization means that, when a dataset stops being new and exciting, it will disappear. How will Dat counter this?

[1] https://www.reddit.com/r/datasets/comments/65o7py/updated_re...

Re:Dat: non-profit, secure, and distributed package manager ... by yoshuaw on Wednesday September 27, 2017 @03:48AM (#15345672)
Because Dat is just a protocol, decentralization is a choice. For quick, ephemeral exchanges direct P2P works brilliantly. For longer lived data sets, sharing it with a (commercial) mirror might make sense. Or perhaps you host it yourself. The beauty is that you, as a user of the protocol, get to decide what works best for you.
Re:Dat: non-profit, secure, and distributed package manager ... by filiwickers on Wednesday September 27, 2017 @11:34AM (#15348827)
We have a few approaches to the disappearing data.

First, we are working with libraries, universities, or other groups with large amounts of storage/bandwidth. They'd help provide hosting for datasets used inside their institutes or other essential datasets.

Second, we started to work on at-home data hosting with Project Svalbard[1]. This is kind of a SETI@home idea where people could donate server space at home to help backup "unhealthy" data (data that doesn't have many peers).

Finally, for "published" data (such as data on Zenodo or Dataverse), we can use those sites as a permanent HTTP peer. So if no data is available over p2p sites then you can get it directly from the published source.

As others said, decentralization is an approach but not a solution. It gives you the flexibility to centralize or distribute data as necessary without being tied to a specific service. But we still need to solve the problem!

[1] https://medium.com/@maxogden/project-svalbard-a-metadata-vau...

Re:Dat: non-profit, secure, and distributed package manager ... by tbv on Wednesday September 27, 2017 @09:12AM (#15347418)
That’s something we think about a lot, and decentralization isn’t a silver bullet solution to data loss, but I do think it’s more resilient than what we typically do now.

To counter that, you can take measures to mirror important datasets with a dedicated peer. It requires effort, but it at least makes it much, much harder for example, for a government agency to take down public data without warning.

Re:Dat: non-profit, secure, and distributed package manager ... by kevinSuttle on Tuesday September 26, 2017 @11:24PM (#15344681)
Why dat or quilt and not blockchain?
Re:Dat: non-profit, secure, and distributed package manager ... by tbv on Wednesday September 27, 2017 @12:23AM (#15344904)
A blockchain is an over-engineered solution to the problems we’re trying to solve. Blockchains provide shared global state. We don’t need that.

https://beakerbrowser.com/docs/inside-beaker/other-technolog...

Re:Dat: non-profit, secure, and distributed package manager ... by jhoechtl on Wednesday September 27, 2017 @12:55AM (#15345029)
A blockchain is a rather weak database in itself. However to store pointers into a dht like Dat would be fine
Re:Dat: non-profit, secure, and distributed package manager ... by kevinSuttle on Wednesday September 27, 2017 @10:52AM (#15348355)
A rather weak database? How do you figure?
Re:Dat: non-profit, secure, and distributed package manager ... by pfraze on Wednesday September 27, 2017 @12:13PM (#15349244)
This may not always be the case, but, so far, blockchains have low throughput and fat datasets that you have to sync. Compared to other databases, they don't perform that well, so if you don't need decentralized strict consensus, a blockchain isn't a good choice.