lgierth changed the topic of #ipfs to: go-ipfs 0.4.12-rc1 is out! Please try out: https://dist.ipfs.io/go-ipfs/v0.4.12-rc1 | Dev chat: #ipfs-dev | IPFS, the InterPlanetary FileSystem: https://github.com/ipfs/ipfs | FAQ: https://git.io/voEh8 | Logs: https://botbot.me/freenode/ipfs/ | Code of Conduct: https://git.io/vVBS0
rtjure has quit [Ping timeout: 240 seconds]
maxlath has quit [Quit: maxlath]
rtjure has joined #ipfs
leeola has quit [Quit: Connection closed for inactivity]
corvinux has quit [Ping timeout: 240 seconds]
harlantwood has quit [Ping timeout: 260 seconds]
rcat has quit [Ping timeout: 240 seconds]
rcat has joined #ipfs
bwerthmann has quit [Ping timeout: 248 seconds]
<voker57> is there a way to make ipfs daemon not use colors in log / make it write logs somewhere else than std?
Steverman has joined #ipfs
<Steverman> Hi, I was wondering if I can use js-ipfs to create a twitch-like p2p only streaming service?
<voker57> ipfs is mostly about static content, not much for streaming I guess
<lgierth> no
<lgierth> yes you can
<lgierth> voker57: have you missed all the work on dynamic content in the last months?
<lgierth> there's also victorbjelkholm's very early vine clone: https://github.com/VictorBjelkholm/pine
<deltab> voker57: streams are static; they're just not available all at once, until they've finished
<lgierth> oh actually there's a js-ipfs example exactly about video streaming: https://github.com/ipfs/js-ipfs/tree/master/examples/browser-video-streaming
<Steverman> Yeah, my idea was to segment it
<Steverman> But my knowledge about videos and codecs is very limited
<Steverman> I tried to output dash mpeg, which was very straight forward to stitch together
<Steverman> literally just the 'cat' command in the right sequence
<Steverman> Right now I am just trying to get a peer network up and running
<Steverman> But I am not sure where to look, as browsers can be limiting on some areas
<lgierth> i don't know much about either js or video
<lgierth> unfortunately
<Steverman> Dang :)
<zignig> Steverman: hls is a good option , fits nicely with ipfs
<Steverman> But I can see DHT isn't implemented in ipfs-js
<lgierth> Steverman: it is - it's just behind a config flag for now because there's a bug that prevents it from interoperating with go-ipfs
<zignig> and a js player that I have used. https://videojs.github.io/videojs-contrib-hls/
<Steverman> Aha
<lgierth> it works among js-ipfs itself though
<Steverman> Oh, then it's perfect
<Steverman> I actually just need it to talk with one node server (distribution server), and only peers through the browser
<Steverman> My idea was to let viewers help with the network load, but my knowledge about ipfs is somewhat new
jaboja has joined #ipfs
<Steverman> Is the DHT based on any known DHT specs?
<lgierth> it's s/kademlia with a few tweaks that are largely undocumented so far
<Steverman> Oh Kademlia
<Steverman> Yeah, I just finished implementing that from scratch
<Steverman> I really hope this works out :). Gotta read up on ipfs
<Steverman> I suppose I could use it as a chat service as well?
<lgierth> yes
<lgierth> or as a distributed etherpad: https://peerpad.net/
<Steverman> That's pretty cool
<Steverman> This is way more documented than Webtorrent. Their IRC channel wasn't helpful either
<lgierth> you can use it e.g. as localhost:8080/ipfs/QmZEJqQiPH4tVtwbgv6XHuUJLtaNo1uoWb1sk2tZEb4S1Y or localhost:8080/ipns/peerpad.net
<Steverman> I guess I can't use it in the browser without hosting some http server
<lgierth> we're working on js-ipfs in a browser addon, so that we can have ipfs://hash URLs
<lgierth> (and you can also access any /ipfs or /ipns path through ipfs.io)
<lgierth> under our nginx hood, https://peerpad.net becomes https://ipfs.io/ipns/peerpad.net
<Steverman> I see
<Steverman> Just to make sure... The viewers in my project don't need to install anything to be part of the network, right?
<lgierth> if they don't have the addon, then the js-ipfs node will run just in the tab
<lgierth> it's of course much nicer to have the node in the background in an addon
dhruvbaldawa has joined #ipfs
<lgierth> i.e. less code to load, less general overhead
<Steverman> Yeah
<lgierth> and you can also use js-ipfs-api with a remote http api of a node, instead with an actual local embedded node
<Steverman> But for my project, the viewers just need to distribute the segmented files, and connect to a chat
<lgierth> if you're only using read methods, you can even point js-ipfs-api to ipfs.io
<lgierth> yeah than best to run a proper js-ipfs node there
jaboja has quit [Remote host closed the connection]
Alpha64 has joined #ipfs
<lgierth> *then
dhruvbaldawa has quit [Ping timeout: 258 seconds]
<pjz> whee, okay, pastepin coming soon
fredthomsen has quit [Remote host closed the connection]
aeftimia has joined #ipfs
<lgierth> whyrusleeping: i knew i remembered deepakjois from somewhere! former soundclouder :):)
aeftimia has quit [Remote host closed the connection]
<lgierth> whyrusleeping: i wonder if you can hear-sense what model of keyboard this is: https://soundcloud.com/l_rs/deepak-getting-shit-done-at
aeftimia has joined #ipfs
aeftimia has quit [Ping timeout: 240 seconds]
<Kubuxu> dryajov[m]: are you here right now?
<dryajov> Hey, right here
<dryajov> was responding to your comment
<dryajov> but this is easier :)
<dryajov> kubuxu: ^
<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]
gmoro has joined #ipfs
dhruvbaldawa has joined #ipfs
uptime has joined #ipfs
dhruvbaldawa has quit [Ping timeout: 248 seconds]
wolfen has joined #ipfs
nicolagreco has joined #ipfs
<nicolagreco> @pedrot hey!
<nicolagreco> thank you for merging the PR!
<nicolagreco> I just left you a little comment here: https://github.com/ipfs-shipyard/peerpad-core/issues/3#issuecomment-341348967
<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]
erictapen has joined #ipfs
joocain2_ has quit [Ping timeout: 248 seconds]
robattila256 has joined #ipfs
<dignifiedquire> Steverman: if you look at https://github.com/ipfs/interface-ipfs-core/blob/master/src/files.js you can see examples of add is used
<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]
aeftimia has joined #ipfs
<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> room.on('message', (message) => console.log('got message from ' + message.from + ': ' + message.data.toString()))
<pvh> these don't appear to ever arrive
<pvh> i tried the same code in node with the demo code verbatim except for adding a config thus: Addresses: {Swarm: ['/ip4/127.0.0.1/tcp/0']}}
<dryajov> is that the one under libp2p/examples/pubsub?
<Steverman> Correct
<Steverman> Oh yes
<Steverman> That one
<Steverman> Sorry =)
<dryajov> ok, thanks
<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
<dryajov> hmm, interesting
<dryajov> let me run this example
<pvh> that's where the messages should emerge, but was unable to get them to arrive
<pvh> with full debug on in node i saw what appears to be a good handshake / secio negotiation, etc, but no message
<dryajov> hmm… I see messages flowing back and forth - nothing is printed to the page, its all goes to the concole btw...
<victorbjelkholm> yeah, last saturday when I tried it the last time it worked as well
<pvh> it does go to the console yes. dryajov, do you see specifically the "got message from <peer_id>" messages? the broadcast ones are working fine.
<dryajov> yeah, those are the ones I see
Alpha64_ has joined #ipfs
<dryajov> pvh: Steverman ^^
<dryajov> thats what I get.. ignore the error about the protocol, its unrelated
<pvh> dryajov: yes, as above, the issue is room.on('message', (message) => console.log('got message from ' + message.from + ': ' + message.data.toString()))
<Steverman> Aha
<pvh> what you're seeing are the broadcast messages, not the sendTo messages
Alpha64 has quit [Ping timeout: 258 seconds]
<dryajov> pvh: Steverman: I see the direct message when the peer joins...
<pvh> i'll try again right now
<Steverman> How about the Chrome thing?
<dryajov> it only happens once
dconroy has joined #ipfs
<dryajov> right when the page loads (when peer is initially joining)
<pvh> okay, yes, i see it now
erictapen has joined #ipfs
<pvh> not sure if i missed it on the first try or there was a timing issue
_rht has joined #ipfs
<dryajov> 👍 awesome! yeah, it would be stelar to trace it down to a timeout, if that was the case, it should obviously not happen
j0hnsmith has quit [Quit: j0hnsmith]
<pvh> dryajov: still not working in node tho
<pvh> dryajov: give it a try? you'll need to add the config so that the two nodes don't both grab the same port
<dryajov> ok, trying
<dryajov> wait, I don’t think this demo is supposed to work in node… browser only
<dryajov> the module should work anywere, but the demo itself is browser only...
<dryajov> pvh: ^
j0hnsmith has joined #ipfs
j0hnsmith has quit [Client Quit]
dconroy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Steverman> dryajov: regarding chrome: Opening the url that serves the page within the LAN network emits this error: https://gist.githubusercontent.com/Steverman/150ca6f9a752264b5958eaed3bc128a4/raw/525904299bb58d74742dd5b6bb909a6268ea7f1a/gistfile1.txt
<Steverman> Anything other than localhost in Chrome doesn't work
<Steverman> I am not sure if it was just me, but pvh confirmed it for me
<Steverman> But yes, I am not using the demo in this case
<dryajov> ah, yes - I believe that its expected… for that to work it might require to be run over https
<Steverman> Oh
droman has joined #ipfs
<dryajov> I haven’t confirmed yet… so take it with a grain of salt
<Steverman> Let me test it real quick
<Steverman> Yep
<Steverman> That was it
<dryajov> yeah, webcrypto needs a secure origin - https://github.com/w3c/webcrypto/issues/28
Encrypt has joined #ipfs
<pvh> dryajov: what is it that makes it browser only?
<pvh> you can run app.js in node (with the previously mentioned port-collision-avoidance config change)
pat36 has quit [Read error: Connection reset by peer]
pat36 has joined #ipfs
leeola has joined #ipfs
<dryajov> we haven’t tested the demo outside of the browser thats it…
<dryajov> _it should work_ but we haven’t tested it, would be the right answer
<dryajov> its a good point tho, something to definitely to look into
<dryajov> could you please onpen an issue in the repo so that we can track node support there?
dconroy has joined #ipfs
jaboja has joined #ipfs
<pvh> dryajov: is there a room pubsub example/demo that runs elsewhere i could check before chasing that trail?
girrrrrrr2 has joined #ipfs
<dryajov> I believe that, thats the only demo we have for pubsub-room, pedrot might have more insights as he is the original author of that module
girrrrrrr2 has quit [Changing host]
girrrrrrr2 has joined #ipfs
dconroy has quit [Quit: Textual IRC Client: www.textualapp.com]
dorsatum has joined #ipfs
}ls{ has joined #ipfs
caladrius has joined #ipfs
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)
<dryajov> thats my config
<dryajov> pretty much just set the swarm address to /ip4/0.0.0.0/tcp/0
<dryajov> I did have to install async tho, otherwise my node was barking on it...
azy has joined #ipfs
pat36 has quit [Read error: Connection reset by peer]
<pvh> dryajov: and you do see the "Hello <peer>!" message?
<dryajov> yup
<pvh> hmmmmm
<pvh> maybe it's this machine or something
pat36 has joined #ipfs
<pvh> yea, i didn't think you were crazy but i'm pretty sure i'm running identical code to yours
<dryajov> hmm
<pvh> i'm going to try on my other box
pat36 has quit [Read error: Connection reset by peer]
<dryajov> try that?
<dryajov> just a copy of the app.js
pat36 has joined #ipfs
<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.
Encrypt has joined #ipfs
<victorbjelkholm> pvh: yeah, bit spotty atm. Our catch-all issue for windows in js-ipfs is this one: https://github.com/ipfs/js-ipfs/issues/1017
<victorbjelkholm> any help/feedback/reports are super welcome
bwerthmann has quit [Remote host closed the connection]
teod has joined #ipfs
stoopkid has joined #ipfs
<pvh> alright, victorbjelkholm. i left a slightly too-brief note there. if i isolate it farther i'll pass word along.
<Steverman> What are you trying to create btw?
erictapen has quit [Ping timeout: 240 seconds]
pat36 has quit [Read error: Connection reset by peer]
pat36 has joined #ipfs
erictapen has joined #ipfs
erictapen has quit [Remote host closed the connection]
erictapen has joined #ipfs
pat36 has quit [Read error: Connection reset by peer]
pat36 has joined #ipfs
leeola has quit [Quit: Connection closed for inactivity]
pat36 has quit [Read error: Connection reset by peer]
moellus[m] has joined #ipfs
pat36 has joined #ipfs
pat36 has quit [Read error: Connection reset by peer]
pat36 has joined #ipfs
<dryajov> pvh: any chance you could run the demo with DEBUG=* on windows and post a gist with it here - https://github.com/ipfs/js-ipfs/issues/1017
<dryajov> that would go a long way isolating things
pat36 has quit [Read error: Connection reset by peer]
pat36 has joined #ipfs
caladrius has quit [Quit: shutdown -h now]
M-r0kk3rz has joined #ipfs
subtrakti0n has quit [Remote host closed the connection]
subtraktion has joined #ipfs
ianopolous has joined #ipfs
pat36 has quit [Read error: Connection reset by peer]
pat36 has joined #ipfs
pat36 has quit [Read error: Connection reset by peer]
pat36 has joined #ipfs
pat36 has quit [Read error: Connection reset by peer]
pat36 has joined #ipfs
pat36 has quit [Read error: Connection reset by peer]
aeftimia has quit [Remote host closed the connection]
aeftimia has joined #ipfs
pat36 has joined #ipfs
aeftimia has quit [Remote host closed the connection]
aeftimia has joined #ipfs
dhruvbaldawa has joined #ipfs
pat36 has quit [Read error: Connection reset by peer]
pat36 has joined #ipfs
dhruvbaldawa has quit [Ping timeout: 240 seconds]
espadrine has joined #ipfs
pat36 has quit [Read error: Connection reset by peer]
pat36 has joined #ipfs
pat36 has quit [Read error: Connection reset by peer]
pat36 has joined #ipfs
pat36 has quit [Read error: Connection reset by peer]
pat36 has joined #ipfs
aeftimia has quit [Remote host closed the connection]
aeftimia has joined #ipfs
pat36 has quit [Read error: Connection reset by peer]
pat36 has joined #ipfs
fjl___ has joined #ipfs
fjl___ has quit [Client Quit]
rodolf0 has quit [Quit: Leaving]
aeftimia has quit [Ping timeout: 248 seconds]
dhruvbaldawa has joined #ipfs
jokoon has joined #ipfs
Alpha64_ has quit [Ping timeout: 258 seconds]
Alpha64 has joined #ipfs
rchansv has quit [Quit: Leaving]
rchansv has joined #ipfs
jokoon has quit [Quit: Leaving]
pat36 has quit [Read error: Connection reset by peer]
pat36 has joined #ipfs
dhruvbaldawa has quit [Remote host closed the connection]
tiroliro has quit [Ping timeout: 252 seconds]
rchansv has quit [Quit: Leaving]
Alpha64 has quit [Read error: Connection reset by peer]
Xiti has joined #ipfs
rchansv2 has joined #ipfs
lassulus has quit [Changing host]
lassulus has joined #ipfs
rchansv has joined #ipfs
rchansv has quit [Max SendQ exceeded]
rchansv has joined #ipfs
rchansv2 has quit [Quit: Leaving]
pat36 has quit [Read error: Connection reset by peer]
pat36 has joined #ipfs
rchansv2 has joined #ipfs
pat36 has quit [Read error: Connection reset by peer]
pat36 has joined #ipfs
rchansv2 has quit [Client Quit]
pawalls has quit [Ping timeout: 264 seconds]
pat36 has quit [Read error: Connection reset by peer]
pat36 has joined #ipfs
erictapen has quit [Ping timeout: 260 seconds]
rchansv has left #ipfs [#ipfs]
pat36 has quit []
girrrrrrr2 has quit [Read error: Connection reset by peer]
erictapen has joined #ipfs
_rht has quit [Quit: Connection closed for inactivity]
rchansv has joined #ipfs
rchansv has quit [Quit: Leaving.]
girrrrrrr2 has joined #ipfs
rchansv has joined #ipfs
rchansv has quit [Quit: Leaving.]
rchansv has joined #ipfs
rchansv has quit [Max SendQ exceeded]
girrrrrrr2 has quit [Ping timeout: 260 seconds]
robattila256 has quit [Quit: WeeChat 1.9.1]
rchansv has joined #ipfs
rchansv has quit [Max SendQ exceeded]
rchansv has joined #ipfs
rchansv has quit [Max SendQ exceeded]
rchansv has joined #ipfs
rchansv has quit [Max SendQ exceeded]
rchansv has joined #ipfs
rchansv has quit [Max SendQ exceeded]
ianopolous has quit [Ping timeout: 240 seconds]
rchansv has joined #ipfs
rchansv has quit [Max SendQ exceeded]
Encrypt has quit [Quit: Quit]
maxlath has joined #ipfs
Oatmeal has quit [Ping timeout: 248 seconds]
rchansv has joined #ipfs
rchansv has quit [Max SendQ exceeded]
aeftimia has joined #ipfs
pawalls has joined #ipfs
shizy has quit [Ping timeout: 248 seconds]
rchansv has joined #ipfs
rchansv has quit [Max SendQ exceeded]
Xiti has quit [Quit: Xiti]
Xiti 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
cjb has joined #ipfs
Xiti has quit [Quit: Xiti]
kus_ubuntui686 has joined #ipfs
kus_ubuntui686 has quit [Max SendQ exceeded]
subtrakti0n has joined #ipfs
subtrakti0n has quit [Remote host closed the connection]
robattila256 has joined #ipfs
subtrakti0n has joined #ipfs
subtraktion has quit [Ping timeout: 255 seconds]
mxmaiastone[m] has joined #ipfs
dhruvbaldawa has joined #ipfs
dhruvbaldawa has quit [Ping timeout: 248 seconds]
<whyrusleeping> musicmatze: youre the one asking about ssb and social networks on ipfs, yeah?
<whyrusleeping> (just making sure i correlate peoples names)
subtraktion has joined #ipfs
subtrakti0n has quit [Ping timeout: 240 seconds]
cris_thor` is now known as cris
pvh has quit [Quit: Connection closed for inactivity]