<JCaesar>
(I fail to mention the ipfs object commands, mostly because I don't understand them.)
toxync01 has joined #ipfs
fredthomsen has joined #ipfs
SimpleName has quit [Quit: SimpleName]
vv01f[m] has joined #ipfs
cloudcell_ has joined #ipfs
cloudcell_ is now known as Guest3261
wolfen has joined #ipfs
U1f985 has quit [Ping timeout: 240 seconds]
zautomata has joined #ipfs
Guest21152 has quit [Ping timeout: 240 seconds]
fredthomsen has quit [Quit: Leaving.]
SunflowerSociety has quit [Ping timeout: 265 seconds]
ONI_Ghost has joined #ipfs
SimpleName has joined #ipfs
<infinisil>
Ah yeah i also figured it out with the ipfs object commands: ipfs object patch add-link <folder-hash> <new-filename> <new-filehash>
<infinisil>
which gives a new hash of the folder with the file inserted
spossiba has quit [Ping timeout: 265 seconds]
spossiba has joined #ipfs
Jesin has joined #ipfs
leeola has joined #ipfs
fredthomsen has joined #ipfs
pierssturley has left #ipfs [#ipfs]
fredthomsen has quit [Client Quit]
ashark has joined #ipfs
bauruine has quit [Ping timeout: 240 seconds]
Cavedude has quit [Ping timeout: 240 seconds]
chiui has joined #ipfs
<chiui>
I have perhaps a stupid question: adding a file twice should give the same hash, right?
reit has quit [Quit: Leaving]
shizy has joined #ipfs
<r0kk3rz>
it should
<chiui>
I have this script: ipfs.io/ipfs/QmTTQs99HujyExEr7rRrfXALeMZ1NSaE1LUjaNBtj1Fbw7
<chiui>
running it twice, (second time adding file via mounted ipfs filesystem) results in different hash
<chiui>
but the file is the same, according to cmp
U1f985 has joined #ipfs
<r0kk3rz>
ah
<r0kk3rz>
could be cidv0 vs cidv1
<r0kk3rz>
QmBlah looks like cidv0
yuhl has quit [Ping timeout: 240 seconds]
Xiti has joined #ipfs
zhaba has joined #ipfs
bsm117532 has joined #ipfs
zhaba_ has quit [Ping timeout: 250 seconds]
<chiui>
can you check the script I linked?
<chiui>
it's funny, file is always the same, but the hash changes (but sha256 of it is constant)
<SimpleName>
I start signal server in local with: star-signal --port=9090 --host=127.0.0.1, now what’ s my signalling server
<SimpleName>
somethings like /dns4/ws-star-signal-1.servep2p.com/tcp/443/wss/p2p-websocket-star/ipfs/<your-peer-id>
<SimpleName>
`/dns4/localhost:9090/wss/p2p-websocket-star/ipfs/${peerIdStr}` is ok
<SimpleName>
solved :)
<voker57>
--pin=true is default
bauruine has joined #ipfs
spossiba has quit [Ping timeout: 240 seconds]
<appa>
Is the mount function always so difficult?
spossiba has joined #ipfs
<chiui>
voker57, indeed, I'll remove it
cwahlers has joined #ipfs
<chiui>
still have no idea why the hash is changing all the time
ulrichard has quit [Remote host closed the connection]
nope_23 has quit [Ping timeout: 272 seconds]
Jesin has quit [Quit: Leaving]
vv01f[m] has left #ipfs ["User left"]
<victorbjelkholm>
chiui: mounted filesystem as in FUSE?
<chiui>
exactly
<chiui>
~/ipfs/{ipfs|ipns} are mounted filesystems in my case
<victorbjelkholm>
chiui: you don't have to create a symlink there, if it doesn't exists since before (the hash), it will be fetched and put in place for you
<victorbjelkholm>
afaik, the mounted filesystem should not even be writable, it's read-only
<chiui>
it's the opposite case
<chiui>
I put the file in ipfs, and replace the file with a symlink
<chiui>
(to ipfs fuse)
<victorbjelkholm>
ah, I see, always mix up the ln order...
spossiba has quit [Ping timeout: 260 seconds]
<chiui>
who doesn't :D it's the only command I end up reading the manual every time
<victorbjelkholm>
chiui: hah, right! So, the second time you're adding it to ipfs, you're really adding the symlink, not the file which it resolves to, so you get a different hash
<victorbjelkholm>
you would have to check if the file is a symlink, resolve it and then add that file to ipfs, if you want to be able to add twice
<chiui>
but the added file it doesn't look like a symlink: it's resolved by public gateway and it works
<chiui>
it just gets a different hash
<chiui>
I'm wondering why, really
<SimpleName>
what’is WebRTCStar do ?
<SimpleName>
transport ?
<chiui>
actually not
<victorbjelkholm>
chiui: hm, trying to load a symlink on the http gateway gives me "ipfs cat /ipfs/QmRVFRCLzcHxsyRa3KqjG81BpD3ZDEsTW8q4coD3rQXtfc: cannot currently read symlinks"
<chiui>
victorbjelkholm, you are totally right, sorry for the noise
<victorbjelkholm>
which version are you using?
<victorbjelkholm>
SimpleName: webrtc-star is just for discovering other nodes
infinisil has quit [Ping timeout: 264 seconds]
<victorbjelkholm>
chiui: no worries :)
<SimpleName>
victorbjelkholm: if I give one peer-id, it can find it, and connect it ?
<SimpleName>
of course, they connect same signal-server: star-signal --port=9090 --host=127.0.0.1
<victorbjelkholm>
SimpleName: if you connect two nodes to the same star-signal server, they will be able to figure out how to connect to each other, yes
<SimpleName>
victorbjelkholm: how to connect it manually, and send the node one message
<victorbjelkholm>
gives you a good walkthrough how you can set it up and make sure things are being transfered between two nodes
U1f985 has quit [Ping timeout: 248 seconds]
ylp has quit [Quit: Leaving.]
<SimpleName>
victorbjelkholm: I walkthrough it today, and write some code, but because the document is uncomplete, I know how to dial one peer with tcp transport, but not know base one rtcstar
<SimpleName>
base on
guhcampos has joined #ipfs
<SimpleName>
and the file transfer is fetch resource(file) not connect and send something
<SimpleName>
victorbjelkholm: those looks like test case only for webrtc-star, maybe webrtc support connect
<SimpleName>
directly
<victorbjelkholm>
SimpleName: not sure what you mean, those are tests using dial/listen, for directly connecting to peers. Take a look at the multiaddr at line 25
<SimpleName>
victorbjelkholm: I just want to create one simple messenger, if you open my site, you get an peer-id, and you give it to me, then I can use it connect you ,and chat with each other
bomb-on has quit [Quit: zzz]
<victorbjelkholm>
I would probably just use ipfs.pubsub.subscribe/.publish for that, allows you to send messages back and forth between many participants
JayCarpenter has joined #ipfs
<LaPingvino[m]>
WebRTC works P2P
raynold has joined #ipfs
mtodor_ has quit [Ping timeout: 260 seconds]
<LaPingvino[m]>
you can just implement that with pubsub for the handshake
<LaPingvino[m]>
you don't need pubsub for the whole conversation
<LaPingvino[m]>
webrtc for a direct communication channel works perfectly fine
<whyrusleeping>
All hands time!
<LaPingvino[m]>
but you need a handshake to establish a WebRTC connection
<frist>
Does anyone have the agenda notes link?
<LaPingvino[m]>
ah, something I would like to try...
noveletter has quit [Remote host closed the connection]
<Kubuxu>
done
Encrypt has quit [Ping timeout: 255 seconds]
<grandy>
hello just wondering if anyone has gotten pubsub to work in the browser
tombusby has quit [Ping timeout: 248 seconds]
<whyrusleeping>
Any windows users here?
<grandy>
my code that works from the command line does not seem to be working in the browser when I use this '/dns4/wrtc-star.discovery.libp2p.io/tcp/443/wss/p2p-webrtc-star'
<whyrusleeping>
grandy: probably want to ask dryajov[m] or daviddias
<grandy>
whyrusleeping: thanks
<victorbjelkholm>
grandy: hm, should be working fine. I've used pubsub in the browser lots of times before. You have a small example where this problem is reproduced?
soesoe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tombusby has joined #ipfs
larpanet has joined #ipfs
brotli has quit [Ping timeout: 240 seconds]
upperdeck has quit [Read error: Connection reset by peer]
newhouse has joined #ipfs
<grandy>
victorbjelkholm: sure, it's possible that i'm not setting up the config properly... all I did was replace the config.Addresses.Swarm entry that was '/ip4/127.0.0.1/tcp/1337' (and worked from the console) with '/dns4/wrtc-star.discovery.libp2p.io/tcp/443/wss/p2p-webrtc-star... not sure if anything more needs to be done to make it work in the browser.
soesoe has joined #ipfs
<grandy>
victorbjelkholm: did you have to do anything unusual to get it to work?
<Ylebre>
whyrusleeping: windows user here, why?
<whyrusleeping>
Ylebre: I was wondering if you have any issues building go-ipfs
upperdeck has joined #ipfs
Guest3261 has quit [Ping timeout: 264 seconds]
James_Epp has joined #ipfs
<Ylebre>
never tried, but I can give it a shot :)
SimpleName has quit [Quit: SimpleName]
<whyrusleeping>
Ylebre: that would be helpful, thank you!
jungly has quit [Remote host closed the connection]
akkad is now known as ober
ashark has quit [Ping timeout: 260 seconds]
<Ylebre>
ok, will see how it goes - downloading things now
s4y has quit [Ping timeout: 265 seconds]
<whyrusleeping>
:)
ckwaldon has joined #ipfs
clickjac_ has quit [Quit: clickjac_]
larpanet has quit [Remote host closed the connection]
larpanet has joined #ipfs
larpanet has quit [Remote host closed the connection]
larpanet has joined #ipfs
larpanet has quit [Remote host closed the connection]
larpanet has joined #ipfs
larpanet has quit [Remote host closed the connection]
<Ylebre>
only issue I had is that the escape codes for colors are not working
larpanet has quit [Remote host closed the connection]
larpanet has joined #ipfs
upperdeck has quit [Read error: Connection reset by peer]
<jfmherokiller[m]>
whyrusleeping: i use the script found at this ipfs hash Qmdf4BjLYgZ4tDT1oNCLmop72cCnL3t2by3iVQPG6ThL3n
<jfmherokiller[m]>
I dont use make
<whyrusleeping>
Ylebre: huh, we will have to take a look at the color codes
<whyrusleeping>
Ylebre: thanks a bunch for trying that for us :)
<whyrusleeping>
jfmherokiller[m]: is that a powershell script?
<jfmherokiller[m]>
yes
<jfmherokiller[m]>
its a powershell script of my own design
<whyrusleeping>
okay, thanks
<jfmherokiller[m]>
its based off the buiding on windows guide
<Ylebre>
whyrusleeping: anytime, I blame the shell for the color issue :)
<grandy>
when it connects via webrtc in the browser, ipfs js outputs: Swarm listening on /dns4/wrtc-star.discovery.libp2p.io/tcp/443/wss/p2p-webrtc-star/ipfs/QmT92XaCAfhdoi6iVHfzZbAvXwaiRBibgNDUCWdRpEPrX6
<grandy>
but when I type ipfs ping QmT92XaCAfhdoi6iVHfzZbAvXwaiRBibgNDUCWdRpEPrX6 it is not found
upperdeck has joined #ipfs
spossiba has quit [Ping timeout: 264 seconds]
<jfmherokiller[m]>
whyrusleeping: to handle updating ipfs, i stop ipfs using nssm, run the script, start ipfs using nssm once the script completes
spossiba has joined #ipfs
ashark has joined #ipfs
<jfmherokiller[m]>
there was an issue a while back where i think go-gx was unable to download a specific dependeciy
SimpleName has quit [Quit: SimpleName]
erictapen has quit [Ping timeout: 240 seconds]
espadrine has joined #ipfs
watson_ has joined #ipfs
tsglove has joined #ipfs
<watson_>
hi
<tsglove>
o/
<watson_>
I need help making some js IPFS code asynchronous
<watson_>
could anyone help?
Xiti has quit [Quit: Xiti]
Xiti has joined #ipfs
larpanet has quit [Ping timeout: 240 seconds]
nope_23 has joined #ipfs
<tsglove>
watson_, post up your questions!
tombusby has quit [Remote host closed the connection]
tombusby has joined #ipfs
<watson_>
okay!
rendar has quit [Quit: std::lower_bound + std::less_equal *works* with a vector without duplicates!]
<grandy>
daviddias: hmm, well I am actually trying to get it working in the browser.
<daviddias>
grandy: Ah! I read that it was node.js vs browser
<grandy>
daviddias: i tried the pubsub demo, and that seems to get its own broadcasts, but I am not able to get messages that are being created by a different IFPS node I set up
<daviddias>
you are saying that you don't get PubSub working on the browser with WebRTC?
<grandy>
daviddias: I am now getting the onReady event, but not any pubsub messages
<grandy>
daviddias: it's OK to not specify a repo in the config, right?
<Icefoz>
Hmm, looks like they are now officially a subset of URI's.
<grandy>
daviddias: also, it's not clear to me whether I should be able to ping the ID of the in-browser ipfs node.
erictapen has joined #ipfs
erictapen has quit [Remote host closed the connection]
erictapen has joined #ipfs
ilyaigpetrov has quit [Quit: Connection closed for inactivity]
<Icefoz>
bah, and they are also a... weirdly human-oriented construct.
spossiba has quit [Ping timeout: 240 seconds]
erictapen has quit [Ping timeout: 264 seconds]
spossiba has joined #ipfs
ccii1 has joined #ipfs
ccii has quit [Ping timeout: 268 seconds]
Icefoz has quit [Quit: Changing server]
<grandy>
daviddias: So upon further testing it is able to subscribe to events that the same node publishes, but not events published by other nodes ... not sure if this means i've configured something incorrectly or that NAT is not working, etc.
larpanet has joined #ipfs
colin__ has joined #ipfs
sz0 has joined #ipfs
jonah has joined #ipfs
ober has quit [Excess Flood]
soesoe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<daviddias>
grandy: can you do an ipfs.swarm.peers and see if the other peer Id is connected ?
akkad has joined #ipfs
<grandy>
daviddias: yes checking
akkad has quit [Excess Flood]
larpanet has quit [Ping timeout: 256 seconds]
soesoe has joined #ipfs
akkad has joined #ipfs
erictapen has joined #ipfs
<grandy>
daviddias: daviddias it has not added the go-ipfs node running in a terminal window on this laptop, or the other go-ipfs node that is the source of the pubsub messages
_fil_ has joined #ipfs
_fil_ has left #ipfs [#ipfs]
<daviddias>
grandy: ah!
<daviddias>
Currently, your node won't auto find the go-ipfs node
<daviddias>
you can dial to it though, once you dial the messages will start going through
<grandy>
daviddias: ahh ok, could you tell me what command will dial it?
<grandy>
daviddias: still a bit confused about whether it's pubsub.peers.add or add or Swarm.add or something else (probably because i have not yet done a deeper dive into how IPFS works)
<grandy>
daviddias: ahh ok, just tried this and it says 'no transports registered, dial not possible'
leavehouse has quit [Quit: leavehouse]
<grandy>
daviddias: hmm I googled that and it seems that maybe it's not possible to connect the two? What do you think is the easiest solution if I am able to switch away from go-ipfs where the events are being published?
U1f985 has joined #ipfs
nope_23 has quit [Ping timeout: 248 seconds]
leeola has quit [Quit: Connection closed for inactivity]
jonah has left #ipfs [#ipfs]
mtodor has joined #ipfs
shizy has quit [Quit: WeeChat 2.0]
shizy has joined #ipfs
leavehouse has joined #ipfs
Encrypt has joined #ipfs
dconroy has quit [Read error: Connection reset by peer]
yuhl has joined #ipfs
krs93 has joined #ipfs
<walle303>
Would mirroring an up-to-date copy of english wikipedia to ipfs be welcome?