Questions tagged [dat-protocol]

Dat is a grant-funded, open-source, decentralized data sharing specification and toolkit for efficiently versioning and syncing changes to data.

Dat can be used to version data locally, or to share and sync data over the internet. Dat includes an optional peer-to-peer distribution system, meaning that the more widely that a dataset is shared, the faster it is for users to retrieve or sync a copy, and the more redundant that the dataset’s availability becomes.

By building tools to build and share data pipelines, we aim to bring to data a style of collaboration similar to what Git brings to source code. Dat is designed as a general-purpose tool for any data on the Web, with our main priority being to ensure scientific data can be more easily published and archived. Dat is fully open source and is built using JavaScript, Node.js and Electron.

Project Links

Related Projects

40 questions
13
votes
2 answers

What is hyperdrive and how is that different from dat?

I've been trying to get into dat recently and I'm wondering about the difference between dat and the hyperdrive module.
rtn
  • 127,556
  • 20
  • 111
  • 121
3
votes
0 answers

hyperdb - replication occurs without errors, but documents aren't propagated

I'm trying to replicate the documents between two or more remote instances of the hyperdb import hyperdb from 'hyperdb' import signalhub from 'signalhub' import pump from 'pump' import swarm from 'webrtc-swarm' import wrtc from…
Tobias Mesquita
  • 269
  • 2
  • 9
3
votes
1 answer

Issues with dat project's hyperdb in browser with webrtc and signalhub

I'm trying to use hyperdb in browser with swarming via webrtc and signalhub. The code is pretty strait forward, but there is some issue with hyperdb replicate where the connecting is killed because of a sameKey check in hypercore. So, I'm thinking…
jbg
  • 993
  • 1
  • 11
  • 19
3
votes
1 answer

in dat protocol, if I install dat and use it to share folder, I become so-called peer and also store other peers's data, right?

I am studying some new emerging p2p protocols, then I found dat protocol. In dat protocol, if I install dat and use it to share folders, I will become so-called peer and also store other peers's data, right? I found no docs and FAQs saying that…
Henry Leu
  • 2,184
  • 4
  • 22
  • 34
2
votes
1 answer

Can `dat` protocol efficiently support live streaming of video?

I would like to be able to live stream video (or any other file that is large and continuously modified/appended) via dat. Here it says, The dat:// protocol doesn't support partial updates at the file-level, which means that with multiple…
localhost
  • 1,253
  • 4
  • 18
  • 29
1
vote
1 answer

AMPL duplicate member "x" for set "y", how to fix it

I'm working with AMPL. In the ".mod" I have declared a set like this: set path_intersections; It consists of rows of two numbers, the first one is the number of the path, and the second one the number of the intersection, in the .dat it looks like…
Ares
  • 11
  • 4
1
vote
1 answer

How to load dat file from IR camera in python with specific structure

I try to read a dat file with the structure given below. It is a video from an IR camera. I tried different methods, but I always get errors along the way. I would like to convert it in a different file format and load it in python, so I can do some…
Alex
  • 29
  • 4
1
vote
0 answers

Reading binary data (.tec) into C++ program variable matrices

So I am expected a data file usually with ending .tec but also seen as .dat with an ASCII version that looks like such: Title="UPSCALE DATA" Variables="X","Y","Z","U","V","W","rho" Zone I= 3, J= 3, K= 3, U=POINT, V=POINT, W=POINT, …
1
vote
1 answer

Read TXT or DAT file in Python

I need to read a .DAT or .TXT file, extract the column names and assign them to new names and write the data to a pandas dataframe. I have an environment variable called 'filetype' and based on it's value(DAT or TXT), I need to read the file…
1
vote
1 answer

Bi directional data flow with Dat

I have a folder that turned into a Dat with $ dat share Then in a different machine, I've access to it like (from node script) const Dat = require('util').promisify(require('dat-node')) dat = await Dat(DAT_FOLDER, { key…
Yerko Palma
  • 12,041
  • 5
  • 33
  • 57
1
vote
2 answers

How to run dat-node as a micro service?

UPDATE: Added the full server code. Notice that the route for static content is working fine, only the one relative to Dat fails. Also, I'm running node 10.8.0 with no transpiler or anything, server is ran with micro -l tcp://0.0.0.0:$PORT I'm…
Yerko Palma
  • 12,041
  • 5
  • 33
  • 57
0
votes
0 answers

Why does the contour plot that I do in Origin Lab look like this?

I have a question. I imported into origin lab a .dat that I exported from a wolfram mathematica contour plot before and when I do the contour plot in origin lab the plots have some vertical lines that in mathematics they…
0
votes
1 answer

Need help upon using serialization without classes in C++ since I didn't yet begin object oriented programming. I have an assignment. Please help me

I didn't learn working with classes in C++, focusing on non object oriented programming. So I ran into a situation where I need to make sure I can serialize vectors and other primitive data types, so I can revive the variables and their value with…
0
votes
0 answers

MSSQL 2012 import dat. file

I received an assignment to work on MSSQL 2012 and with a 'dat.' file. I don't know how to upload the 'dat.' file to the SQL and I tried various things in order to make it work (opened it with TXT and Notepad++, tried to convert it to CSV, tried to…
Hadar
  • 1
0
votes
0 answers

How can I separate data in a MATLAB dat file into proper columns?

I am trying to read a dat file in MATLAB but my data is not correctly separated into columns. All of the data is in one single column. I am not sure how to separate them into proper columns What I am trying to do is to have the data separated into…
Emily
  • 1
  • 1
1
2 3