agalactous has quit [Remote host closed the connection]
cketti has quit [Quit: Leaving]
harpy has joined #ipfs
slothbag has joined #ipfs
dmr has quit [Ping timeout: 250 seconds]
rgrinberg has joined #ipfs
rmi7 has quit [Ping timeout: 276 seconds]
rgrinberg has quit [Ping timeout: 276 seconds]
dmr has joined #ipfs
giodamelio has joined #ipfs
rajabose has joined #ipfs
Qwertie has quit [Ping timeout: 260 seconds]
pfraze has joined #ipfs
Oatmeal has quit [Ping timeout: 276 seconds]
rmi7 has joined #ipfs
anshukla has joined #ipfs
pfraze has quit [Remote host closed the connection]
rhalff has quit [Ping timeout: 260 seconds]
pfraze has joined #ipfs
arpu has quit [Ping timeout: 240 seconds]
pfraze has quit [Remote host closed the connection]
cemerick has quit [Ping timeout: 276 seconds]
sahib has joined #ipfs
arpu has joined #ipfs
Oatmeal has joined #ipfs
i_am_ss has joined #ipfs
insanity54 has joined #ipfs
Senji has joined #ipfs
<daviddias>
Morning everyone :)
herzmeister has quit [Ping timeout: 276 seconds]
ylp has joined #ipfs
ylp has quit [Client Quit]
rendar has joined #ipfs
ylp has joined #ipfs
i_am_ss has quit [Remote host closed the connection]
herzmeister has joined #ipfs
Senji has quit [Ping timeout: 252 seconds]
mildred has joined #ipfs
i_am_ss has joined #ipfs
i_am_ss has quit [Remote host closed the connection]
Arakela007 has joined #ipfs
i_am_ss has joined #ipfs
sd1 has joined #ipfs
<daviddias>
dignifiedquire, just had a realisation about the TCP socket hang ups
i_am_ss has quit [Remote host closed the connection]
Qwertie has joined #ipfs
i_am_ss has joined #ipfs
i_am_ss has quit [Remote host closed the connection]
i_am_ss has joined #ipfs
dignifiedquire has joined #ipfs
i_am_ss has quit [Remote host closed the connection]
ylp1 has joined #ipfs
disgusting_wall has quit [Quit: Connection closed for inactivity]
<haad_>
morning
<Kubuxu>
\o
reit has quit [Ping timeout: 260 seconds]
anshukla has quit [Quit: Leaving...]
jon_ross has joined #ipfs
<ianopolous>
morning!
mildred1 has joined #ipfs
mildred has quit [Ping timeout: 260 seconds]
<haad_>
daviddias: any updates on js-ipfs? I'm still getting the "node.encoded() is not a function" from DAGService.
<haad_>
daviddias: it's on line 21 in dag-service.js. if I change that to: 'var data = node//.encoded();' it runs through. however, in that case ipfs.object.put returns:
<haad_>
also, ipfs.object.put, when using js-ipfs instead of js-ipfs-api, doesn't return promises (it works only with callbacks)
ygrek has joined #ipfs
rajabose has quit [Remote host closed the connection]
<jon_ross>
r0kk3rz: "carefully controlling the bootstrapping process" sounds not too safe. I want to be able to guarantee that the network is private and only trusted nodes are accepted.
<daviddias>
haad_: the promisse API is only on js-ipfs-api, that is correct
<daviddias>
on the node.encoded()
<daviddias>
I've never been able to replicate your error, unfortunately
<daviddias>
but we did made a lot of changes recently, across all deps
<daviddias>
can you do a fresh install and make sure you are using all the latest?
<haad_>
daviddias: I did
<daviddias>
during the weekend?
<haad_>
just now
<daviddias>
oh
<daviddias>
can you make a test case for it?
<daviddias>
when you run the tests, does it break?
<r0kk3rz>
jon_ross correct, trivial to 'hack' if you know the IP of a node in the network
<daviddias>
haad_: it is a blocker in the sense that js-ipfs-api interface was designed by several people on the principle of 'rule of thumb, works for now'
<haad_>
daviddias: I have but wasn't sure where that is on your timeline
<daviddias>
there were a ton of pieces that didn't exist before js-ipfs itself (like creation of dag nodes)
herzmeister has quit [Quit: Leaving]
herzmeister has joined #ipfs
<daviddias>
haad_: it was supposed to be pre- 25th of April
<haad_>
ok
<haad_>
daviddias: and what's blocking it currently? people not having time to work on it?
* daviddias
needs to run now, will be back in 1 hour
<ansuz>
rip
<haad_>
daviddias: I feel getting the js-ipfs and js-ipfs-api on API parity is hugely important for testing it in a "real world" use case. as of today, I'd need to change a big chunk of code to try out js-ipfs, and then at some point revert back to core api, which doesn't sound awesome.
<haad_>
daviddias: that being said, I want to try to get this working with orbit-db, so is there an example of the usage of the dagNode or ipfs-object-put that I could follow?
<voxelot>
though having the multihash as string of the byte array of a buffer is not fun
rajabose has joined #ipfs
<voxelot>
morning dignifiedquire :)
<dignifiedquire>
voxelot: daviddias haad_ there is a big issues at the moment related to how we use mulithashes in different forms atm
chungy has joined #ipfs
<dignifiedquire>
as often keys are buffers, which do not easily translate to a multihash in base58 encoding, and things are pretty mixed around the code base
<dignifiedquire>
lets talk about this when daviddias is back and figure out a path on how to clean this up and make sure that these are used consistently in the apis + things do not blow up if one or the other is passed
zorglub27 has joined #ipfs
jon_ross has quit [Ping timeout: 250 seconds]
<voxelot>
haas_: you could do this for now, although its ugly
<dignifiedquire>
yes but we are not consistent in the representation
<daviddias>
Walking home :) 3 mins
<dignifiedquire>
sometimes we use a buffer
<dignifiedquire>
sometimes a hex string
Guest50582 has quit [Ping timeout: 260 seconds]
<dignifiedquire>
sometimes the base58 as a string
<daviddias>
Ok, let's see
<dignifiedquire>
and this can bite you very bad as for example base58.encode(new Buffer('hexstring', 'hex')) !== base58.encode('hexstring')
Soft has joined #ipfs
* dignifiedquire
dreams of having types
jon_ross has joined #ipfs
<daviddias>
Got it
<daviddias>
Yeah, not sure where that is, but we shouldn't pass strings to b58.encode
Animazing has joined #ipfs
<dignifiedquire>
it's kind of hard to enforce that though, my idea is that we stop using bs58 directly and always use a key object, which has different to string methods including toBs58 and fromBS58
<dignifiedquire>
something like a Multihash object
Soft has quit [Ping timeout: 276 seconds]
taw00 has joined #ipfs
martinkl_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
* daviddias
is at home :)
jon_ross has quit [Ping timeout: 250 seconds]
taw00_ has quit [Ping timeout: 276 seconds]
<ipfsbot>
[js-ipfs] dignifiedquire force-pushed feat/bitswap from 2320cdf to 89de3fd: https://git.io/vwjRp
<ipfsbot>
js-ipfs/feat/bitswap cb8b3e4 Friedel Ziegelmayer: start integration of bitswap
lispmeister has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<daviddias>
ah, dignifiedquire one thing I found is that the error from spdy
<daviddias>
happens when we close the socket and spdy was still performing its internal handshake
<daviddias>
(sending the settings frame, etc)
<dignifiedquire>
interesting
<dignifiedquire>
getting those errors now locally as well on the bitswap branch :/
Guest89406 has joined #ipfs
jon_ross has quit [Ping timeout: 244 seconds]
computerfreak has joined #ipfs
jon_ross has joined #ipfs
<daviddias>
what did you change?
Boomerang has joined #ipfs
<baccenfutter>
what is the best way in go to resoved the dependency tree of any given source package?
<baccenfutter>
is there a dependency graph for go-ipfs somewhere?
herzmeister has quit [Quit: Leaving]
<dignifiedquire>
daviddias: just rebased onto master and updated deps
<ipfsbot>
[js-ipfs] diasdavid created greenkeeper-libp2p-ipfs-0.3.6 (+1 new commit): https://git.io/vremP
<ipfsbot>
js-ipfs/greenkeeper-libp2p-ipfs-0.3.6 6b84b65 greenkeeperio-bot: chore(package): update libp2p-ipfs to version 0.3.6...
jon_ross has quit [Ping timeout: 276 seconds]
<ipfsbot>
[js-ipfs] diasdavid deleted greenkeeper-libp2p-ipfs-0.3.6 at 6b84b65: https://git.io/vreYS
jon_ross has joined #ipfs
ofdm has quit [Quit: leaving]
martinkl_ has joined #ipfs
rajabose has quit [Remote host closed the connection]
ofdm- is now known as ofdm
Poefke has quit [Ping timeout: 260 seconds]
Poefke has joined #ipfs
reit has joined #ipfs
zorglub27 has quit [Ping timeout: 246 seconds]
jon_ross has quit [Ping timeout: 250 seconds]
jon_ross has joined #ipfs
<dignifiedquire>
daviddias: seems like adding some delays of half a second resolves the issues as it gives the sockets enough time to finish their handshakes
<dignifiedquire>
at least locally
<daviddias>
exactly
<daviddias>
that is what I'm doing for the bitswap test network generation
<daviddias>
voxelot: are you around?
<daviddias>
you will like to know that :)
<ipfsbot>
[js-ipfs-api] dignifiedquire tagged v3.0.3 at d1b06e4: https://git.io/vreZy
<ipfsbot>
[js-ipfs] diasdavid created greenkeeper-ipfs-api-3.0.3 (+1 new commit): https://git.io/vrenB
<ipfsbot>
js-ipfs/greenkeeper-ipfs-api-3.0.3 9a9b5dd greenkeeperio-bot: chore(package): update ipfs-api to version 3.0.3...
computerfreak has quit [Remote host closed the connection]
<ipfsbot>
[js-ipfs] greenkeeperio-bot opened pull request #203: ipfs-api@3.0.3 breaks build
<dignifiedquire>
daviddias: left some more comments :)
<dignifiedquire>
daviddias: what about a version that works in the browser? are we missing anything crucial for that?
<daviddias>
nothing other than it won't be a single function
<daviddias>
how do you want to design those tests?
<daviddias>
when it is browser, only browser assertions?
<dignifiedquire>
first phase I would like to have a set of node.js nodes for the node.js tests and a set of browser nodes for the browser tests, ideally with the exact same api so the tests using don't need to be written twice
<dignifiedquire>
using the memory blob store should make that also easier I think
jon_ross has quit [Ping timeout: 276 seconds]
<dignifiedquire>
daviddias: any idea what this is about:
<daviddias>
dignifiedquire: re: bitswap test network - What I was thinking is that we can use the same util func to spawn a bunch of bitswap Node.js nodes and then have a similar one that receives the peerInfos through some Karma enabled pipe and creates browser nodes with websockets and dials to all of the previous Node.js created nodes
<daviddias>
dignifiedquire: I'm planning after lunch to do the edits to the NYC and Boston videos, are you waiting in anything from me, right now? Just so that I reorg prioritites :)
<dignifiedquire>
daviddias: not immediately, as voxelot is not around I'm going to finish the code edits for the files pr so I can merge this, I want to get bitswap in
<dignifiedquire>
I would also like to have a call with you about the multihash business mentioned earlier
<daviddias>
ok, sounds good, we can make it today
dmr has quit [Ping timeout: 250 seconds]
<ipfsbot>
[js-ipfs] dignifiedquire created files-core-fix (+3 new commits): https://git.io/vreBu
<whyrusleeping>
for some reason my macbook takes ages to get to the bootloader...
<richardlitt>
boot
<richardlitt>
daviddias: You coming? :)
<dignifiedquire>
daviddias: ping
<richardlitt>
Starting now!
<whyrusleeping>
alternate wednesdays?
r04r is now known as zz_r04r
<Boomerang>
Where is your beard richardlitt? ^^
<richardlitt>
I ate it. :)
<Boomerang>
:)
stensonb has joined #ipfs
<dignifiedquire>
whyrusleeping: those are the secret meetings without you
<whyrusleeping>
i love daviddias, "two minutes, a quick bit about what youve been working on"
xa0 has quit [Quit: Divided by zero]
<noffle>
:D
dmr has quit [Ping timeout: 276 seconds]
xa0 has joined #ipfs
xa0 has quit [Changing host]
xa0 has joined #ipfs
<whyrusleeping>
bye bye freidel
<dignifiedquire>
my internet died :(
<richardlitt>
It happens!
computerfreak has joined #ipfs
computerfreak has quit [Client Quit]
<Kubuxu>
Would it be possible to make hash algs pluggable to multihash? Like: val mh = require("multihash"); mh.addHasher(require("multishash-sha256"))
<haad_>
daviddias dignifiedquire voxelot: if I understood correctly, you want to get js-ipfs on the level of js-ipfs-api this week, correct? what's the plan there (take js-ipfs-api and replace http with whatever is equivalent of js-ipfs or something else)? what can I do?
<haad_>
richardlitt: no, not to the CI discussion
<haad_>
unless you need me
<haad_>
?
<richardlitt>
Cool. Nope!
zz_r04r is now known as r04r
<noffle>
haad_: daviddias: I'm also interested in this
<daviddias>
haad_: let's chat after the CI chat :)
<voxelot>
haad_: this week i planned to continue work on js-ipfs http for add and cat, and js-ipfs-api get and js-ipfs http, lets do a chat
Arakela007 has quit [Read error: Connection reset by peer]
<daviddias>
goal: converge both
Arakela007 has joined #ipfs
cryptix has joined #ipfs
<haad_>
daviddias: ping me when you're done, I'm here
<daviddias>
cool :)
<haad_>
voxelot: can you point me to the branch/PR where the add/cat is happening for js-ipfs http and where js-ipfs-api get is happening?
<voxelot>
haad_: sure i shut down a PR with the HTTP things smashed into the CLI things and the HTTP things were not put together correctly by me in some places so I seperated it out
s_kunk has quit [Ping timeout: 260 seconds]
<voxelot>
i'll go ahead and open up a files/http branch now and show you where i'm at so it doesn't look too hard to find things
pfraze has quit [Remote host closed the connection]
legba7 has joined #ipfs
<whyrusleeping>
Icefoz: theres an open PR that does that
jaboja has joined #ipfs
<whyrusleeping>
its just really really tricky
<Icefoz>
Fair enough.
achin has joined #ipfs
Peer3Peer has quit [Quit: Peer3Peer]
sd1 has quit [Ping timeout: 244 seconds]
computerfreak has quit [Remote host closed the connection]
<voxelot>
Haas_: i pushed a commit to branch file/http on js-ipfs that has my work on add/cat http-api
jaboja has quit [Ping timeout: 240 seconds]
<voxelot>
Haad_
<voxelot>
i need to write up some things about what works and what does not for each, they are close but there are some issues
<voxelot>
haad_ ^
Arakela007 has joined #ipfs
jaboja has joined #ipfs
reit has quit [Ping timeout: 246 seconds]
martinkl_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mpierce has quit [Ping timeout: 246 seconds]
Sonarpulse has joined #ipfs
Sonarpulse has left #ipfs ["ERC (IRC client for Emacs 24.5.2)"]
Arakela007 has quit [Remote host closed the connection]
<tundracomp>
Q: What happens when I pin an ipns path (i.e.: `ipfs pin /ipns/QmZ86ow1byeyhNRJEatWxGPJKcnQKG7s51MtbHdxxUddTH`)?
<whyrusleeping>
tundracomp: currently, it just resolves it to an ipfs hash and pins that
<tundracomp>
That's what I feared :-(
<tundracomp>
What's the best way to add + publish on my local machine and have my server mirror that then?
<ipfsbot>
[go-ipfs] RichardLitt created docs/lint-diff-text (+1 new commit): https://git.io/vrvHm
<ipfsbot>
go-ipfs/docs/lint-diff-text b91b623 Richard Littauer: Linted object diff help text...
Wolf480pl has left #ipfs ["Leaving"]
<Icefoz>
tundracomp: Cron job? :-(
<tundracomp>
But won't ipns break then, unless my computer is running?
cmeik has quit [Quit: Connection closed for inactivity]
<whyrusleeping>
tundracomp: what would the best way to do this *without* ipfs be?
<whyrusleeping>
something like an rsync daemon?
<tundracomp>
Me using scp/rsync to push a directory to my server, every time I change something?
<whyrusleeping>
yeah, thats roughly what I would do. so with ipfs, youre just replacing parts of that process
<whyrusleeping>
instead of an scp/rsync, youre using 'ipfs get' or similar
<whyrusleeping>
the fuse mount gets a little closer
<Icefoz>
tundracomp: Check out syncthing maybe?
PrinceOfPeeves has quit [Quit: Leaving]
<whyrusleeping>
but the fuse code needs a little more work to be able to update behind the scenes from network changes
HostFat_ has joined #ipfs
<jbenet>
!pin Qmdgn2PENa3HSKcMGxpuEJFHftQHHmxHUMqfJDs4FL3tbH blog
<pinbot>
now pinning /ipfs/Qmdgn2PENa3HSKcMGxpuEJFHftQHHmxHUMqfJDs4FL3tbH
HostFat has quit [Ping timeout: 250 seconds]
<tundracomp>
So the right answer currently is (in a cron job): resolve ipns, if different than last: pin new, publish new, unpin old ?
zorglub27 has quit [Remote host closed the connection]
ljhms has quit [Ping timeout: 276 seconds]
gmcquillan has joined #ipfs
ljhms has joined #ipfs
<jbenet>
!pin Qmdgn2PENa3HSKcMGxpuEJFHftQHHmxHUMqfJDs4FL3tbH blog
<pinbot>
now pinning /ipfs/Qmdgn2PENa3HSKcMGxpuEJFHftQHHmxHUMqfJDs4FL3tbH
<jbenet>
pinbot: y u no work
martinkl_ has joined #ipfs
computerfreak has joined #ipfs
computerfreak has quit [Client Quit]
Encrypt has joined #ipfs
pfraze has joined #ipfs
<whyrusleeping>
jbenet: hes working, be patient
<whyrusleeping>
(some of the gateways are really dumb and need kicking)
<whyrusleeping>
tundracomp: yeah, at least for now
<Icefoz>
Hmm, does the ipfs daemon have some way to output logs anywhere?
<whyrusleeping>
tundracomp: we do plan on adding support for pinning ipns names and paths though
<whyrusleeping>
Icefoz: what sort of logs are you looking to see?
<Icefoz>
The equivalent of web server logs, essentially... Just how much particular hashes have been served and to whom.
pfraze has quit [Remote host closed the connection]
<Icefoz>
If I'm going to be sticking a Linux package mirror in IPFS I want to see how much people use it, since at least initially my mirror will be the only one.
PrinceOfPeeves has joined #ipfs
<Icefoz>
Basically just curious how much it gets used.
<ipfsbot>
[go-ipfs] whyrusleeping pushed 1 new commit to fix/build-process: https://git.io/vrvd5
<ipfsbot>
go-ipfs/fix/build-process 1e31839 Jeromy: use repo level bins in test Makefile...
<whyrusleeping>
Icefoz: for that, you can check ipfs bitswap stat
rgrinberg has quit [Ping timeout: 246 seconds]
<whyrusleeping>
and ipfs stats bw
<Icefoz>
Aha
<Icefoz>
Thank you!
<whyrusleeping>
stats bw has a --proto flag you can use to see only bitswap traffic
<baccenfutter>
... which makes me notice the entire gc thing for the first time.
sahib has joined #ipfs
zorglub27 has joined #ipfs
mildred1 has quit [Ping timeout: 240 seconds]
<dignifiedquire>
whyrusleeping: js-ipfs tests are running again, I updated the build steps
martinkl_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<dignifiedquire>
whyrusleeping: also new teamcity version for you to upgrade :)
<whyrusleeping>
yeah... i saw that
<whyrusleeping>
i'll get to it, lol
<ianopolous>
whyrusleeping: are there plans for IPNS to ever allow publishing from a key that the daemon doesn't have the private key for (i.e. a hash (or pair of hashes) already signed?
<baccenfutter>
is there some kind of way to htauth the http gateway or is the idea to build a reverse proxy in-front of it?
<baccenfutter>
I think i kinda answered my own question, nevermind...
<whyrusleeping>
dignifiedquire: its a fast internet connection and no stdout, so it skips the "we're going to make the install take ten times as long with our progress bar" thing
<dignifiedquire>
npm is never that fast
<ipfsbot>
[webui] greenkeeperio-bot opened pull request #374: Update eslint-plugin-react to version 5.1.0
Akaibu has quit [Quit: Connection closed for inactivity]
merkledog has quit [Quit: Leaving]
<whyrusleeping>
dignifiedquire: but the normal node tests run just fine
<dignifiedquire>
I suspect it's using some cached version or sth like this