<Kubuxu>
dryajov: I always looked at this PR (and one similar to this one) at like 3am
<dryajov>
haha
<Kubuxu>
so I read them wrong (and also I dislike and I'm not the best in JS)
<Kubuxu>
so I was always confused what is going on
<dryajov>
hehe :)
<dryajov>
no worries at all… im a bit confussed myself...
<Kubuxu>
and I didn't notice that it was removing the `path.sep` from interface-datastore
<dryajov>
trying to make heads and tails of what we want first and foremost...
<dryajov>
yeah… so thats my fundamental question… the key should be os agnostic,IMO
<dryajov>
it was changed to be os specific at some point, but that sees to be wrong
<dryajov>
the key should stay os agnostic in the interface, and each datastore implementation should take care of serializing it according to the store needs...
<dryajov>
i.e. fs store, would make the conversion to the OS specific path separator
<dryajov>
thats my current understanding...
<Kubuxu>
dryajov: yes
<Kubuxu>
but we are not really ever currently use deep keys in flatfs
<dryajov>
ok… yeah, so that makes it simpler :D
<Kubuxu>
like the SHARDING file is read internally by flatfs itself
<Kubuxu>
to determine the sharding parameters for the flatfs
<Kubuxu>
the keys are base64 encoded by blockstore before the put into flatfs
<Kubuxu>
but it should be fixed either way
<dryajov>
hmm.. ok, I’ll have to look at all of that right now, cause I haven’t really dealt with the repo/datastore stuff… let me do some quick digging...
<dryajov>
ah… ok, in js land flatfs is ShardingDatatstore
<Kubuxu>
dryajov: it would be best if you got david and/or Why to take a look at it, I caused enough mess already
<dryajov>
yes, I would love to have more eyes on it - I’ll pull them in as well (oh boy, here we go :D)
neosloth has quit [Read error: Connection reset by peer]
dhruvbaldawa has joined #ipfs
dimitarvp has quit [Quit: Bye]
dhruvbaldawa has quit [Ping timeout: 240 seconds]
cris_thor` has joined #ipfs
cris has quit [Ping timeout: 248 seconds]
Xiti has quit [Quit: Xiti]
<Steverman>
lgierth: PubSub would work as a chat too right?
Xiti has joined #ipfs
dhruvbaldawa has joined #ipfs
dhruvbaldawa has quit [Read error: Connection reset by peer]
dhruvbaldawa has joined #ipfs
tangent128 has quit [Quit: ZNC 1.6.2 - http://znc.in]
tangent128 has joined #ipfs
etched has quit [Quit: etched]
ygrek_ has joined #ipfs
infinity0_ has joined #ipfs
infinity0 is now known as Guest30381
infinity0_ has joined #ipfs
infinity0_ has quit [Changing host]
Guest30381 has quit [Killed (card.freenode.net (Nickname regained by services))]
infinity0_ is now known as infinity0
dhruvbaldawa has quit [Remote host closed the connection]
lacour has quit [Quit: Leaving]
dhruvbaldawa has joined #ipfs
opal has quit [Killed (Sigyn (Spam is off topic on freenode.))]
ygrek_ has quit [Ping timeout: 258 seconds]
opal has joined #ipfs
Mateon1 has quit [Ping timeout: 240 seconds]
Mateon1 has joined #ipfs
Alpha64 has quit [Read error: Connection reset by peer]
ulrichard has joined #ipfs
Steverman has quit [Ping timeout: 258 seconds]
rendar has joined #ipfs
ludova has joined #ipfs
harlantwood has joined #ipfs
Caterpillar has joined #ipfs
hatefully has joined #ipfs
dhruvbaldawa has quit [Remote host closed the connection]
dhruvbaldawa has joined #ipfs
dhruvbaldawa has quit [Remote host closed the connection]
dhruvbaldawa has joined #ipfs
dhruvbaldawa has quit [Ping timeout: 252 seconds]
Rudde has quit [Ping timeout: 248 seconds]
hatefully has quit [Ping timeout: 260 seconds]
ylp has joined #ipfs
Steverman has joined #ipfs
robattila256 has quit [Quit: WeeChat 1.9.1]
dhruvbaldawa has joined #ipfs
drone621 has joined #ipfs
Rudde has joined #ipfs
Xiti has quit [Quit: Xiti]
dhruvbaldawa has quit [Remote host closed the connection]
<nicolagreco>
I don't think the snapshot will work without my PR
<nicolagreco>
also @pedrot I don't know why my peerpad instance (locally and remotely) does not work :/
<nicolagreco>
wow that was fast.
wolfen has quit [Remote host closed the connection]
ylp has quit [Quit: Leaving.]
whenisnever has joined #ipfs
<Steverman>
I have a question with js-ipfs. So the method ipfs.files.add() takes an object literal with the properties: 'path, content'. In a tutorial example they are defined as { path: 'hello.txt', content: Buffer.from('some string') }. Is it saved as hello.txt somewhere?
<Steverman>
Sorry, I just learned about ipfs, and it's pretty awesome
museless has joined #ipfs
museless has quit [Excess Flood]
contendress has joined #ipfs
corvinux has joined #ipfs
ylp has joined #ipfs
corvinux has quit [Ping timeout: 260 seconds]
jarboot has quit [Ping timeout: 258 seconds]
ygrek_ has joined #ipfs
joocain2 has joined #ipfs
erictapen has joined #ipfs
erictapen has quit [Remote host closed the connection]
<dignifiedquire>
it means that the metadata that this file is named `hello.txt` is stored alongside the data
<Steverman>
I see
drone621 has left #ipfs ["Leaving"]
<Steverman>
I am not sure how well IPFS it works for short lived files
<Steverman>
-it*
harlantwood has quit [Ping timeout: 240 seconds]
<r0kk3rz>
Steverman: depends what you mean by short lived
<Steverman>
I need to distribute short lived segmented files sequentially, which I hopefully won't have to save on disk
<r0kk3rz>
like a streaming video or something?
<Steverman>
Yes, but the length is infinite
<Steverman>
Possibily
olizilla has joined #ipfs
<r0kk3rz>
like values from a sensor?
<Steverman>
Just live streaming
<Steverman>
P2P Twitch if you can call it that
<r0kk3rz>
do you care at all about keeping history?
<Steverman>
Not at the moment
<Steverman>
You mean like saving as a vod?
<Steverman>
Video on demand
<r0kk3rz>
sounds like there will be multiple clients, so thats ok
<r0kk3rz>
you can just throw stuff around via pubsub
<r0kk3rz>
but generally youd stick it in a block and advertise the block cid via pubsub
<Steverman>
That's where I'm a little confused. Who's in the network?
<Steverman>
Just those who's connected?
<Steverman>
I don't have the whole picture of IPFS just yet, but from what I have read, is that it's like a one big swarm
<r0kk3rz>
it is one big swarm of everyone
jungly has joined #ipfs
<Steverman>
Okay, so when I distribute the data, it just goes to the one who requested it right?
dhruvbaldawa has joined #ipfs
<Steverman>
I have basic stuff running with React, and I intend to use WebRTC to distribute the data with the help from viewers
<Steverman>
I guess I could save the segmented in memory, and hopefully IPFS can handle that
maxlath has joined #ipfs
erictapen has quit [Ping timeout: 248 seconds]
dimitarvp has joined #ipfs
rtjure has quit [Ping timeout: 255 seconds]
rtjure has joined #ipfs
dhruvbaldawa has quit [Remote host closed the connection]
dhruvbaldawa has joined #ipfs
xnbya has quit [Ping timeout: 248 seconds]
dhruvbaldawa has quit [Remote host closed the connection]
erictapen has joined #ipfs
erictapen has quit [Remote host closed the connection]
erictapen has joined #ipfs
erictapen has quit [Remote host closed the connection]
erictapen has joined #ipfs
dhruvbaldawa has joined #ipfs
xnbya has joined #ipfs
girrrrrrr2 has quit [Read error: Connection reset by peer]
dhruvbaldawa has quit [Remote host closed the connection]
dhruvbaldawa has joined #ipfs
dhruvbaldawa has quit [Remote host closed the connection]
joocain2 has quit [Remote host closed the connection]
joocain2 has joined #ipfs
joocain2 has quit [Remote host closed the connection]
joocain2 has joined #ipfs
nicolagreco has quit [Quit: Connection closed for inactivity]
ParaNet has joined #ipfs
ParaNet has left #ipfs [#ipfs]
aeftimia has joined #ipfs
aeftimia has quit [Ping timeout: 240 seconds]
dhruvbaldawa has joined #ipfs
Encrypt has joined #ipfs
dorsatum has joined #ipfs
makaretu has quit [Ping timeout: 260 seconds]
jkilpatr has joined #ipfs
followers[m] has joined #ipfs
aeftimia has joined #ipfs
Encrypt has quit [Quit: Quit]
}ls{ has quit [Quit: real life interrupt]
dorsatum has quit [Quit: This computer has gone to sleep]
infinisil has quit [Quit: ZNC 1.6.5 - http://znc.in]
infinisil has joined #ipfs
dorsatum has joined #ipfs
goiko has quit [Quit: ﴾͡๏̯͡๏﴿ O'RLY? Bye!]
goiko has joined #ipfs
goiko has quit [Changing host]
goiko has joined #ipfs
dorsatum has quit [Quit: This computer has gone to sleep]
rtjure has quit [Ping timeout: 248 seconds]
rtjure has joined #ipfs
stoopkid has quit [Quit: Connection closed for inactivity]
Soft has quit [Ping timeout: 260 seconds]
Milijus has quit [Ping timeout: 258 seconds]
Encrypt has joined #ipfs
Soft has joined #ipfs
rodolf0 has joined #ipfs
bwerthmann has joined #ipfs
jkilpatr has quit [Remote host closed the connection]
shizy has joined #ipfs
jkilpatr has joined #ipfs
dhruvbaldawa has quit [Remote host closed the connection]
dhruvbaldawa has joined #ipfs
dhruvbaldawa has quit [Ping timeout: 248 seconds]
dconroy has joined #ipfs
pat36 has joined #ipfs
tiroliro has joined #ipfs
bwerthmann has quit [Ping timeout: 240 seconds]
bwerthmann has joined #ipfs
Steverman has quit [Ping timeout: 248 seconds]
ccii has joined #ipfs
ccii1 has quit [Ping timeout: 248 seconds]
pat36 has quit [Read error: Connection reset by peer]
pat36 has joined #ipfs
xnbya has quit [Ping timeout: 240 seconds]
ygrek_ has quit [Ping timeout: 264 seconds]
xnbya has joined #ipfs
Alpha64 has joined #ipfs
Steverman has joined #ipfs
Jesin has joined #ipfs
smuten has quit [Quit: leaving]
cwahlers has quit [Ping timeout: 240 seconds]
<whyrusleeping>
Steverman: yeah, data only goes to people who want it
<whyrusleeping>
ipfs is an opt in system
<Steverman>
Oh very cool then. I am experimenting with pubsub
<Alpha64>
i feel that it should be more clear in the main site
<Alpha64>
i thought that it was like freenet at first
clickjack has quit [Ping timeout: 246 seconds]
clickjack has joined #ipfs
<r0kk3rz>
Alpha64: was that because you're familiar withf freenet? or because its called a 'file system'?
aeftimia has quit [Remote host closed the connection]
<whyrusleeping>
Alpha64: yeah, we're open to ideas on making things clearer
<Alpha64>
if it's distributed an permanent i made the association
aeftimia has joined #ipfs
<r0kk3rz>
yeah permanent should be removed
<whyrusleeping>
yeah... its hard. because it *is* distributed, and it *is* permanent
<Alpha64>
what's permanent is links not storage
<whyrusleeping>
but in different ways than you would assume from reading them together
<r0kk3rz>
whyrusleeping: imo content-addressing is more meaningful than 'permanent links'
<Alpha64>
maybe it could be boiled down to pinning, cache and link rot ?
<r0kk3rz>
you can still have content rot though
cwahlers has joined #ipfs
aeftimia has quit [Ping timeout: 240 seconds]
clickjac_ has joined #ipfs
clickjack has quit [Ping timeout: 240 seconds]
<Alpha64>
that's prevented by pinning
<voker57>
you can't pin a node to the network
<Alpha64>
ofc, you can only pin content
ulrichard has quit [Remote host closed the connection]
j0hnsmith has joined #ipfs
<Icefoz_>
It's not permanent, it's content-addressed.
ccii has quit [Remote host closed the connection]
<Alpha64>
maybe use that to explain the system
<Alpha64>
"what is content addressing?"
ylp has left #ipfs [#ipfs]
<r0kk3rz>
yeah thats it, its a fairly core concept really
ccii has joined #ipfs
<Icefoz_>
And a super useful one.
<Alpha64>
you could use a broken geocities link to explain link rot
Xiti has joined #ipfs
<ZeroMe[m]>
zeronet
<r0kk3rz>
Alpha64: im not sure 'hey the link is fine but the content has gone' is really much better than 'hey the link is broken'
<Alpha64>
it is because if somebody that isn't geocities starts to host it again, it works
bwerthmann has quit [Ping timeout: 248 seconds]
<r0kk3rz>
obviously, but content will still drop off the network
Xiti has quit [Quit: Xiti]
dconroy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Icefoz_>
r0kk3rz: Because finding content doesn't depend on who hosts it.
Jesin has quit [Quit: Leaving]
<Icefoz_>
So it doesn't matter whether nytimes.com or archive.org has the content, it will still always work.
<Icefoz_>
As long as someone has it.
<Icefoz_>
Instead of archive.org having to move heaven and earth to mirror nytimes.com content or anything else.
<Icefoz_>
You say "I want this thing" and if someone has it, you get it.
<r0kk3rz>
Icefoz_: im familiar with the concept, its ok
<Icefoz_>
Ok, sorry.
maxlath has quit [Quit: maxlath]
<r0kk3rz>
but its somewhat clunky to explain that to someone who isnt
dconroy has joined #ipfs
<Alpha64>
it's like reverse shazam!
<Alpha64>
there
<r0kk3rz>
you go through this machination of 'if this then this and that, then this and fixed!'
<r0kk3rz>
explain content-addressing, explains how that shares the content around
<r0kk3rz>
and leave things like link-rot unaddressed :)
<Alpha64>
but isn't it the main issue it is solving
<r0kk3rz>
not quite, there is also the example of 'the internet goes down' that they have
lacour has joined #ipfs
<Icefoz_>
Actually now that I think of it mirroring a site might be a useful demonstration case.
<r0kk3rz>
as well as the 'youtube requires huge datacentres and bittorrent doesnt' example
<r0kk3rz>
and CDNs become mostly meaningless, so does cloudflare
<Alpha64>
ok simpler example for the average person
<Alpha64>
you have a bookmark, it doesn't work anymore
<Icefoz_>
I don't think CDN's will become mostly meaningless, I think they'll just host IPFS nodes. :-P
<Alpha64>
anybody worked on a seed for a reward system already for ipfs ?
<Alpha64>
i know that filecoin and whatnot is in the works
<r0kk3rz>
sure. but they'll be a lot less important for keeping popular sites available
dconroy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<r0kk3rz>
their purpose actually flips, they're better for not so popular sites
<Icefoz_>
I think that mostly their job will just become easier.
<r0kk3rz>
but anyway, my point was that theres several benefits to content addressing aside from any notion of link-rot
pvh has joined #ipfs
aeftimia has joined #ipfs
Jesin has joined #ipfs
<pvh>
Is there an art to running two js-IPFS nodes on the same host? I'm experimenting with ipfs-pubsub-room and I'm having difficulty getting the nodes to send each other messages. (I see the one node dial the other, I see a connection established, and I see the message get pushed, but nothing gets pulled out at the other end...)
<Steverman>
Heh, I am playing around with that as well
aeftimia has quit [Remote host closed the connection]
<pvh>
hmm, okay, it seems like the problem's not at my end
aeftimia has joined #ipfs
aeftimia has quit [Remote host closed the connection]
<pvh>
broadcast works fine, but sendTo not so much.
wking has quit [Ping timeout: 246 seconds]
aeftimia has quit [Remote host closed the connection]
aeftimia has joined #ipfs
aeftimia has quit [Remote host closed the connection]
aeftimia has joined #ipfs
aeftimia has quit [Remote host closed the connection]
aeftimia has joined #ipfs
<Steverman>
Yikes, really?
<pvh>
Steverman: let me know if you see different, but yes
clickjac_ is now known as clickjack
<Steverman>
Do you have problems connecting with chrome?
<Steverman>
Unrelated question
<Steverman>
If it's not localhost, but from my lan, I can't use Chrome
<Steverman>
Only Firefox works
aeftimia has quit [Ping timeout: 255 seconds]
aeftimia has joined #ipfs
<pvh>
hmm, yeah, doesn't seem to work for me here either
<pvh>
i don't know if that's something whyrusleeping or dryajov might want to hear about
<victorbjelkholm>
make sure you're having chrome in the background, as chrome throttles pretty aggressively
<victorbjelkholm>
you're NOT having chrome*
wking has joined #ipfs
pat36 has quit [Read error: Connection reset by peer]
pat36 has joined #ipfs
Encrypt has quit [Quit: Quit]
<Steverman>
What's the point if you can't use it =)
subtraktion has joined #ipfs
pat36 has quit [Read error: Connection reset by peer]
erictapen has quit [Ping timeout: 260 seconds]
pat36 has joined #ipfs
joocain2 has quit [Remote host closed the connection]
joocain2 has joined #ipfs
<dryajov>
Steverman: pvh: could you describe the specific issue your running? Perhaps you also have some sample code that we can test you scenario with? Both pubsub and pubsub-room have worked for us in the past.
<Steverman>
the pubsub demo should suffice
<pvh>
dryajov: open the pubsub room demo, look for the direct messages
<pvh>
dryajov: i tracked it down pretty thoroughly in the node example because i figured i'd made a mistake - the client appears to dial, open a connection, and send the message to the other node, but the receiving node never gets a message out of the connection
pat36 has quit [Read error: Connection reset by peer]
pat36 has joined #ipfs
Encrypt has quit [Quit: Quit]
dorsatum has quit [Ping timeout: 248 seconds]
Mateon3 has joined #ipfs
Mateon1 has quit [Ping timeout: 240 seconds]
Mateon3 is now known as Mateon1
jungly has quit [Remote host closed the connection]
<drozdziak1>
It looks for me like IPFS is composed from a great number of small elements. Is there any place where I could learn about those elements (or get to know how each one is relevant to the IPLD DAGs)? ATM I'm trying to understand IPLD so that I am able to help with implementing the Merkle DAG for Python
Jesin has quit [Quit: Leaving]
pat36 has quit [Read error: Connection reset by peer]
pat36 has joined #ipfs
Jesin has joined #ipfs
pat36 has quit [Read error: Connection reset by peer]
pat36 has joined #ipfs
<dryajov>
pvh: I was able to run the demo from the cmd in node :)
<pvh>
hmmmm
<pvh>
okay, that's definitely helpful. did you make the same change binding to port 0 as me?
<dryajov>
I had to update ipfs to latest (not sure if that fixed anything tho, there werent any changes to pubsub there AFAIK)
<pvh>
just did, same result. nice to know i now have a local issue rather than the code not working
<dryajov>
so essentially, you don’t get peers connected, or you don’t see the direct message when the peer initally connected?
pat36 has quit [Read error: Connection reset by peer]
<dryajov>
pvh: ^
pat36 has joined #ipfs
harlantwood has joined #ipfs
<Steverman>
Networks :)
<Steverman>
Will dht: true do anything in this demo?
pat36 has quit [Read error: Connection reset by peer]
pat36 has joined #ipfs
pat36 has quit [Read error: Connection reset by peer]
jonnycrunch has quit [Ping timeout: 248 seconds]
pat36 has joined #ipfs
<dryajov>
Steverman: I’m not entierly sure what the status of the DHT is at the moment, in theory it should help you discover nodes
<dryajov>
tho, afaik, those would be js node, since interop with go isn’t still 100%...
jonnycrunch has joined #ipfs
<Steverman>
sure, I only need js node
<dryajov>
others might give a better picture tho
pat36 has quit [Read error: Connection reset by peer]
<dryajov>
yeah, you can enable it with the EXPERIMENTAL.dht flag
<Steverman>
Yesterday someone said it will only make it work with node js
pat36 has joined #ipfs
<Steverman>
As I only intend to talk to browsers and one node server, I am perfectly fine with it
bwerthmann has joined #ipfs
<dryajov>
that _should_ work, I believe
pcctw has joined #ipfs
<Steverman>
Aww yiss. Time to get hacking
<Steverman>
the code.. that is
rendar has quit [Quit: std::lower_bound + std::less_equal *works* with a vector without duplicates!]
<pvh>
dryajov: okay, works on a different machine. thanks for looking into it for me.
<dryajov>
👍
<dryajov>
awesome!
<Steverman>
Weird! :)
<Steverman>
Can firewalls be disruptive?
pcctw has quit [Quit: Leaving]
<whyrusleeping>
yeah, firewalls are pretty obnoxious right now
jaboja has quit [Quit: Leaving]
pat36 has quit [Read error: Connection reset by peer]
pat36 has joined #ipfs
etched has joined #ipfs
olizilla has quit [Quit: Connection closed for inactivity]
<pvh>
i'm guessing it's a firewall issue on this windows machine, yea
subtrakti0n has joined #ipfs
subtraktion has quit [Ping timeout: 240 seconds]
<pvh>
okay, cool, even with the firewall disabled the direct connections don't appear to work on windows. i gather windows support is rather spotty at this point but let me know if it'd help to file a specific issue.