<_mak>
victorbjelkholm: that's awesme man. I've struggled to find a way to work with pubsub last weekend
<_mak>
thanks a lot
onabreak has joined #ipfs
elkalamar_ has quit [Remote host closed the connection]
pat36 has quit [Read error: Connection reset by peer]
pat36 has joined #ipfs
maxlath1 has joined #ipfs
maxlath has quit [Ping timeout: 260 seconds]
maxlath1 is now known as maxlath
m0ns00n_ has joined #ipfs
m0ns00n_ has quit [Client Quit]
maxlath has quit [Client Quit]
m0ns00n_ has joined #ipfs
Miezel has joined #ipfs
Miezel has quit [Client Quit]
<dignifiedquire>
Mateon1: feel free to open issues on the rust libraries and I'll see that I get to it
<dignifiedquire>
they haven't had a ton of real world usage yet, so feedback is very welcome
<dignifiedquire>
(prs of course as well)
<dignifiedquire>
Mateon1: also in regards to next steps, multi things and cid are there the next step that is needed is to figure out the interfaces & libraries to use for streams and to implement multistream + tcp transport (will take probably a couple of rounds to get right)
_shizy has quit [Ping timeout: 260 seconds]
cxl000 has joined #ipfs
rcat has joined #ipfs
<Mateon1>
dignifiedquire: Yeah, I am mainly looking at the interfaces. One thing I wish existed, was a multihash utility that allows directly hashing data/digesting a stream using a specified algorithm, outputting matching multihash
<dignifiedquire>
you mean something like "echo "content" | mymultihasher --algo sha512" ?
<Mateon1>
Huh, only Sha1/Sha2 and MD5 are digestable? That's odd
fid has joined #ipfs
<Mateon1>
It seems that the Rust ring crypto library only supports Sha1/2 digests. github.com/RustCrypto/hashes is an alternative that seems to be able to digest other hashes
dimitarvp has joined #ipfs
robattila256 has quit [Ping timeout: 248 seconds]
jmill has joined #ipfs
jmill has quit [Ping timeout: 255 seconds]
_shizy has quit [Ping timeout: 268 seconds]
_shizy has joined #ipfs
Miezel has joined #ipfs
Miezel has quit [Client Quit]
mildred has joined #ipfs
mildred1 has quit [Read error: Connection reset by peer]
mildred4 has quit [Read error: Connection reset by peer]
Miezel has joined #ipfs
mildred1 has joined #ipfs
ulrichard has quit [Remote host closed the connection]
Miezel has quit [Client Quit]
Miezel has joined #ipfs
kenshyx has joined #ipfs
nunofmn has joined #ipfs
rendar has quit [Read error: Connection reset by peer]
rendar has joined #ipfs
rendar has quit [Changing host]
rendar has joined #ipfs
m0ns00n has quit [Quit: quit]
nunofmn has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<fid>
Hi Guys, bit new to IPFS and wondering, is there a way to create a directory which will keep the same hash, but then have mutable files inside where the hashes for the files will change, and if I ls the directories hash (which is not changed) I get the hashes of the updated files? (Sorry for the noob question)
<fid>
... and I assume that only my node now is able to make changes to the IPNS QmTjsNZgwUwZcxSUccEEEJ48PuiQLgGYEmN2fsBmwPRqda entry, is that right?
<xelra>
It would be great if it were possible to browse to ipfs resources with an address like myipnsdomain.ipfs or something similar. :)
<SchrodingersScat>
fid: yeah, i think it's some kind of key based system?
<SchrodingersScat>
fid: so hypothetically you could copy the 'key' and then use other machines if you needed redundancy, but the chances of another random node randomly making the same key is unlikely.
zuck05 has quit [Read error: Connection reset by peer]
mildred has quit [Read error: No route to host]
mildred1 has quit [Read error: No route to host]
mildred has joined #ipfs
zuck05 has joined #ipfs
<Kythyria[m]>
xelra: AIUI the canonical way to do that is to be on a unix-like system and mount IPFS and IPNS as local filesystems.
<Kythyria[m]>
Certainly the paths are that shape :)
<SchrodingersScat>
does the dns link work with mounted /ipns/ ?
mildred1 has joined #ipfs
gmoro has quit [Remote host closed the connection]
gmoro has joined #ipfs
christopherdebee has joined #ipfs
ulrichard has joined #ipfs
adampaigge[m] has joined #ipfs
jeffree has joined #ipfs
ralphtheninja has quit [Quit: leaving]
Arno has joined #ipfs
<Arno>
Hi! I have few questions about libp2p
<SchrodingersScat>
Arno: go ahead and ask
<Arno>
I use railing to bootstrap the connections between my nodes
<Arno>
Now I would like to use libp2p-kad-routing, but I to put it into the libp2p Node
<dignifiedquire>
Arno: kad-routing is not in a usable state as far as I know, we have https://github.com/libp2p/js-libp2p-kad-dht which can do routing based on kademlia dht
<daviddias>
to use DHT with js-ipfs today, you have to:
<daviddias>
apologies the confusion, we need to upload those old packages with pointers to the new stuff
<dignifiedquire>
daviddias: but the module kad-routing is not in a usable state though is it? might be good to add some warnings in the readme
<daviddias>
dignifiedquire: not with the latest libp2p
<SadE54>
Is it possible to get statistic (numbers of peers, availibility, ) while retrieving ipfs files ?
<daviddias>
yeah, agreed
<Mateon1>
SadE54: There is no built in way to do this, you can do this manually for every block with `ipfs dht findprovs`
ashark has joined #ipfs
<daviddias>
Arno: libp2p is getting the love it deserves when it comes to documentation :)
jaboja has joined #ipfs
brabo has quit [Ping timeout: 260 seconds]
Guest69116 is now known as X-Scale
brabo has joined #ipfs
<Arno>
Thank you very much, I'll check that
<SadE54>
Does libp2p is as efficient than bittorrent protocol ?
<Arno>
By the way, libp2p/ipfs are very cool projects, thank for that too
nunofmn has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Arno>
I'll be happy to contribute when I'll be mastering it
<Arno>
Another question : what could I use to have some kind of key/value dictionnary share between all my node, and where anyone could add an entry in it?
<Arno>
shared*
<Arno>
Is it the purpose of merkle dag, or could it be?
<voker57>
share ipns private key between them
<voker57>
purpose of merkle dag is to store acyclic graphs, not sure what you do mean
jaboja has quit [Ping timeout: 260 seconds]
rodolf0 has joined #ipfs
agracie[m] has left #ipfs ["User left"]
brabo has quit [Ping timeout: 260 seconds]
brabo has joined #ipfs
brabo has quit [Ping timeout: 240 seconds]
brabo has joined #ipfs
konubinix has quit [Remote host closed the connection]
konubinix has joined #ipfs
konubinix has quit [Remote host closed the connection]
<r0kk3rz>
Arno: orbit-db is what you want
konubinix has joined #ipfs
espadrine has joined #ipfs
<Arno>
Let me go deeper into my constraints: I have many nodes, potentially thousands. Each node will be routed together using kademlia protocol. Each node add information about itself, in a shared datastructure. Each node must always have all the information about the other nodes using this datastructure. Any node can add information about itself, but the other nodes cannot modify the information. The constraints seem close to a blockchain like
<Arno>
If no structure like that already exists in libp2p or ipfs, I think I will implement it using a block system with a merkle tree. We can think it like a git repository which stores some key/value pairs instead of files. When a node disconnect from the network, it would be nice if the data about itself disappears, but in a blockchain style it is not possible, so maybe I can make old block obsolete after a while and remove it from the chain.
<Arno>
have to periodically update their info. What do you think?
<r0kk3rz>
so basically, some kind of permissioned decentralised MQTT
<Arno>
r0kk3rz: thank, I will check
<Arno>
for orbit-db
<r0kk3rz>
which orbit-db is close, but theres no constraint about who can publish to what
<r0kk3rz>
and it also depends on your consistency requirements, if hard consistency is required then thats a blockchain
<Arno>
ok, maybe it can work for a while in my project
<r0kk3rz>
if eventual consistency is ok, then pubsub might be ok
<Arno>
But with pubsub, every node would have to send data to every node, right?
reed_ has joined #ipfs
<r0kk3rz>
yeah in practice thats how it works for now, but eventually i think they plan on being a bit cleverer with it
Styromaniac[m] has left #ipfs ["User left"]
<Arno>
Thank you, I will be able to continue my researches
<Arno>
Do you know if there is already a blockchain implementation on libp2p/ipfs?
reed_ has quit [Ping timeout: 248 seconds]
ulrichard has quit [Remote host closed the connection]
Caterpillar has quit [Ping timeout: 240 seconds]
cwahlers has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ylp has quit [Quit: Leaving.]
chenlee1116[m] has joined #ipfs
reed_ has joined #ipfs
<Arno>
I was also wondering something else with libp2p. I use Railing to connect to my network of node using a bootstrap node address. Let's call the bootstrap node A. B and C are connecting to A. There are two questions, the first one: B knows the peerId of C, how can I send him a message. Question two: when B and C are connecting to A, what would be the best way to propagate the address of B to C and of C to B. I know I can use pubsub to solve
<Arno>
but maybe these features are already built-in.
<Arno>
I've made some tests and I don't see B from C or C from B. Does the `node.peerBook` should be automatically updated in B and C, or a `peer:connect` or `peer:discovery` event should be received?
<Arno>
I have `railing` as discovery module and `kad-dht` as dht module.
galois_d_ has joined #ipfs
galois_dmz has quit [Ping timeout: 246 seconds]
fid has quit [Remote host closed the connection]
jchoi has joined #ipfs
jchoi has quit [Client Quit]
spacebar_ has joined #ipfs
sirdancealot has joined #ipfs
spacebar_ has quit [Ping timeout: 255 seconds]
jhand has joined #ipfs
ashark has quit [Ping timeout: 255 seconds]
JPLaurin has joined #ipfs
<JPLaurin>
Hello test
espadrine has quit [Ping timeout: 248 seconds]
ashark has joined #ipfs
rendar has quit [Quit: Leaving]
ralphtheninja has joined #ipfs
<limbo_>
If I get a file with ipfs get, is that data only on my machine once, or is the ipfs daemon I'm running store it somewhere else? (like whe you add a file normally, without using -nocopy)
<limbo_>
If so, can you download/pin files in -nocopy mode.
<whyrusleeping>
limbo_: its like adding a file without nocopy
Encrypt has joined #ipfs
kenshyx has quit [Quit: Leaving]
Miezel has quit [Quit: This computer has gone to sleep]
Miezel has joined #ipfs
<limbo_>
Is it possible to get the file through ipfs without having two copies? for instace, you wanted to download a 4gb file and only have 5gb of disk space. Is that possible?
<limbo_>
And, is there any automatic way of doing the nocopy thing? (aside from wrapping it in a script to run gc, and add -nocopy after finishing the download)
<whyrusleeping>
limbo_: there is an issue open to try and do that
<whyrusleeping>
in short: its hard, but its definitely possible to implement
Arno has quit [Ping timeout: 260 seconds]
<limbo_>
Great. Is it far off? I want to make an ipfs "client" that works like a bittorrent client.
<whyrusleeping>
limbo_: we havent started working on it
<whyrusleeping>
voice your interest in the issue here
Aranjedeath has joined #ipfs
Encrypt has quit [Quit: Quit]
realisation has joined #ipfs
enzo__ has joined #ipfs
galois_d_ has quit [Remote host closed the connection]
galois_dmz has joined #ipfs
cwahlers has joined #ipfs
jaboja has joined #ipfs
realisat_ has joined #ipfs
droman has joined #ipfs
realisation has quit [Ping timeout: 255 seconds]
shizy has quit [Quit: WeeChat 1.9]
realisat_ has quit [Ping timeout: 246 seconds]
robattila256 has joined #ipfs
ygrek has joined #ipfs
lothar_m has joined #ipfs
brodo has joined #ipfs
Encrypt has joined #ipfs
pat36 has quit [Read error: Connection reset by peer]
pat36 has joined #ipfs
Miezel has quit [Quit: This computer has gone to sleep]
vindelschtuffen has joined #ipfs
Miezel has joined #ipfs
Jesin has joined #ipfs
Miezel has quit [Client Quit]
MDude has joined #ipfs
lmars has joined #ipfs
<lmars>
I see that ipfs/go-ipld is deprecated, does any one know what it is deprecated in favour of? I'm planning on writing a tool to convert XML schema docs to IPLD in Go, wondering what tooling to use
<whyrusleeping>
lmars: you probably want go-ipld-cbor
<lmars>
I'll try and send some patches as I work through my use case
<whyrusleeping>
:)
lmars is now known as lmars_away
maxlath has joined #ipfs
maxlath has quit [Remote host closed the connection]
maxlath has joined #ipfs
lothar_m_ has joined #ipfs
lothar_m has quit [Ping timeout: 248 seconds]
nunofmn has joined #ipfs
pat36 has quit [Read error: Connection reset by peer]
pat36 has joined #ipfs
lothar_m_ has quit [Quit: WeeChat 1.9-rc1]
lothar_m has joined #ipfs
jaboja has quit [Ping timeout: 248 seconds]
chungy has joined #ipfs
Encrypt has quit [Quit: Quit]
whythat has quit [Quit: WeeChat 1.9]
Miezel has joined #ipfs
whythat has joined #ipfs
whythat has left #ipfs ["WeeChat 1.9"]
maxlath has quit [Quit: maxlath]
whythat has joined #ipfs
Mitar has quit [Ping timeout: 276 seconds]
pat36 has quit []
brodo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lmars_away is now known as lmars
lmars is now known as lmars_away
lmars_away is now known as lmars
Mitar has joined #ipfs
rodolf0 has quit [Quit: Leaving]
Jesin has quit [Quit: Leaving]
ashark has quit [Ping timeout: 260 seconds]
Jesin has joined #ipfs
rcat has quit [Remote host closed the connection]
<tomatopeel>
hmmm I'm interested in mobile p2p capabilities/limitations right now, anyone have some good info/links?
<tomatopeel>
it seems pretty clear that if me and alice are in wifi range of one another then it's not a problem... but what if alice and I are 1 mile apart...
<tomatopeel>
I guess then it's the ICE thing, assisted by a TURN server?
spossiba has quit [Ping timeout: 248 seconds]
spossiba has joined #ipfs
sprint-helper has quit [Remote host closed the connection]
sprint-helper has joined #ipfs
sprint-helper has quit [Remote host closed the connection]
sprint-helper has joined #ipfs
ralphtheninja has quit [Quit: leaving]
ralphtheninja has joined #ipfs
mildred has quit [Ping timeout: 260 seconds]
sprint-helper has quit [Remote host closed the connection]
sprint-helper has joined #ipfs
sprint-helper has quit [Remote host closed the connection]
sprint-helper has joined #ipfs
mildred1 has quit [Ping timeout: 246 seconds]
atrapado_ has quit [Quit: Leaving]
sprint-helper has quit [Remote host closed the connection]
sprint-helper has joined #ipfs
sprint-helper has quit [Remote host closed the connection]