Kubuxu changed the topic of #ipfs to: Release Candidate 3 of go-ipfs v0.4.3 has been released, available at https://dist.ipfs.io/go-ipfs/v0.4.3-rc3 -- IPFS - InterPlanetary File System -- https://github.com/ipfs/ipfs -- FAQ: https://git.io/voEh8 -- Channel logs: https://botbot.me/freenode/ipfs/ -- Code of Conduct: https://git.io/vVBS0 -- Sprints: https://git.io/voEAh
<lgierth> whyrusleeping: mmh yes these make sense - i'm just wondering about these cases where you update the package, and then have to make sure that every go-multihash in the dependency graph is the same
<whyrusleeping> eh, you cant escape that one
<lgierth> no?
<lgierth> mh, it's gonna be even more of a recurring pain for non-ipfs projects which will use e.g. go-libp2p
<lgierth> or further down the road, some app using multihash and two packages from different maintainers/orgs also using multihash, etc.
anonymuse has quit [Remote host closed the connection]
<lgierth> is there some cast-this-struct-type-to-another-struct-type-with-the-same-fields thing in golang that i'm missing?
<whyrusleeping> lgierth: you cant even use the multiaddr interfaces from different packages together
<whyrusleeping> interfaces don't solve that problem for you
matoro has joined #ipfs
<lgierth> uuuugh
<lgierth> ok that makes sense and sad
<whyrusleeping> yeap
<lgierth> ok forget everything i said abuot interfaces then
<whyrusleeping> basically, make any package tons of people are gonna import be perfect
<lgierth> otherwise it's gonna be 1) go-cid.Cid2, or 2) upgrade pain
<lgierth> ok
cads has quit [Ping timeout: 255 seconds]
<lgierth> i guess it fits with the way go get works
<lgierth> you don't really have versions of packages, everything just flows, or so
espadrine has quit [Ping timeout: 265 seconds]
cemerick has joined #ipfs
kvda has joined #ipfs
Kane` has joined #ipfs
JesseW has joined #ipfs
anewuser has joined #ipfs
anonymuse has joined #ipfs
sametsisartenep has quit [Quit: _·_ zzzZZZ]
firemound has quit [Quit: firemound]
herzmeister has quit [Quit: Leaving]
herzmeister has joined #ipfs
<whyrusleeping> lgierth: yeah... its pretty annoying
<whyrusleeping> i'm hoping we can have better things soon
dignifiedquire has quit [Quit: Connection closed for inactivity]
aarontyree has joined #ipfs
Oatmeal has quit [Ping timeout: 244 seconds]
nycoliver has joined #ipfs
anonymuse has quit [Remote host closed the connection]
apiarian has quit [Ping timeout: 244 seconds]
aarontyree has quit [Read error: Connection reset by peer]
aarontyree has joined #ipfs
<lgierth> whyrusleeping: LGTM!
shizy has quit [Ping timeout: 265 seconds]
<whyrusleeping> lgierth: what do you think the pinners 'Key' functions should be renamed to?
<whyrusleeping> i hesitate to use RecursiveCids
apiarian has joined #ipfs
<lgierth> yeah that's my reservation too
<lgierth> i hesitate to think of CIDs when i read Key ;)
<lgierth> we can take care of it later
<lgierth> RecursiveCIDs?
Oatmeal has joined #ipfs
<whyrusleeping> yeah, laters fine with me
abbaZaba has joined #ipfs
doesntgolf has joined #ipfs
<lgierth> the fact the blocks/key.B58KeyDecode() just throws away chars that it can't decode is... wonky
<lgierth> it means the number of possible inputs for any given output is practically infinite
<lgierth> eeh nevermind
JesseW has quit [Read error: Connection reset by peer]
JesseW has joined #ipfs
Pornmod has joined #ipfs
krs93 has joined #ipfs
Peeves has quit [Ping timeout: 276 seconds]
Pornmod is now known as Peeves
abbaZaba has quit [Quit: Textual IRC Client: www.textualapp.com]
aarontyree has quit [Ping timeout: 264 seconds]
aarontyree has joined #ipfs
nycoliver has quit [Ping timeout: 244 seconds]
abbaZaba has joined #ipfs
JesseW has quit [Ping timeout: 244 seconds]
ygrek_ has quit [Ping timeout: 240 seconds]
ygrek_ has joined #ipfs
aarontyree has quit [Remote host closed the connection]
herzmeister has quit [Quit: Leaving]
herzmeister has joined #ipfs
Nycatelos has quit [Ping timeout: 250 seconds]
Nycatelos has joined #ipfs
aarontyree has joined #ipfs
Oatmeal has quit [Ping timeout: 260 seconds]
ygrek_ has quit [Ping timeout: 265 seconds]
opal has left #ipfs [#ipfs]
mgue has quit [Quit: WeeChat 1.5]
mgue has joined #ipfs
PrinceOfPeeves has quit [Quit: Leaving]
Kane` has quit [Remote host closed the connection]
clownpriest has quit [Ping timeout: 260 seconds]
ianopolous has quit [Ping timeout: 244 seconds]
aarontyr_ has joined #ipfs
sdgathman has joined #ipfs
aarontyree has quit [Ping timeout: 255 seconds]
Mateon1 has quit [Ping timeout: 244 seconds]
JesseW has joined #ipfs
Tugger has quit [Ping timeout: 250 seconds]
anewuser has quit [Quit: anewuser]
Tugger has joined #ipfs
rgrinberg has quit [Ping timeout: 276 seconds]
Mateon1 has joined #ipfs
Mateon1 is now known as Guest93338
Tv` has quit [Quit: Connection closed for inactivity]
doesntgolf has quit [Ping timeout: 265 seconds]
<sdgathman> Is there a CLI app to convert an http webpage (including transforming the links to //gateway/ipfs/xxxx) ?
<sdgathman> My simple project was to load http://www.freedos.org/download/ into ipfs, including the downloads.
<sdgathman> I can see that the conversion could be complex.
<panicbit-M> sdgathman: Take a look at [IPFScrape](https://github.com/victorbjelkholm/ipfscrape)
<panicbit-M> sdgathman: Take a look at [IPFScrape](https://github.com/victorbjelkholm/ipfscrape)
<sdgathman> Yah, that's going to get the relative links I suppose.
<sdgathman> But not the downloads.
<panicbit-M> Why would it not? The downloads are relative.
<sdgathman> But maybe wget can do something with that (follow off site links and copy to subdir, fixing up urls)
<sdgathman> panicbit-M: Oh! You're right
aarontyree has joined #ipfs
kvda has quit [Remote host closed the connection]
aarontyr_ has quit [Ping timeout: 250 seconds]
<sdgathman> Now, since freedos doesn't sign their downloads or use https, I would like to see if anyone else has a copy of a download with a different hash. That would be a search by name, however.
<sdgathman> yeah, wget pretty much did what I want for the copy.
<sdgathman> Actually not.
<sdgathman> The links still point to freedos!
<sdgathman> I guess I just have to manually edit it.
<sdgathman> But how would the relative links work anyway?
<sdgathman> The scrape script would have to calculate the hash to create an ipfs link.
<JesseW> ooh, panicbit-M looks very neat
<JesseW> er, let me rephrase that
<JesseW> panicbit-M: ooh, ipfscrape looks very neat
<panicbit-M> Looks like wget needs to get passed some other parameters
<panicbit-M> wget actually seems to rewrite the relative links to absolute links
<panicbit-M> Yeah, I'm playing around with it
pfrazee has quit [Remote host closed the connection]
<panicbit-M> sdgathman: Looks like you want to add `-r` (--recursive) to wget
<panicbit-M> And maybe `-k` to convert absolute links to relative ones
krs93 has quit [Ping timeout: 276 seconds]
<panicbit-M> Also `--relative`
<panicbit-M> Though `--relative` probably excludes stuff like css
<panicbit-M> (Note that I also modified the download path!)
locusf has quit [Ping timeout: 240 seconds]
<panicbit-M> Looks like the `fdboot.img` is on a completely different domain (and thus not included)
<panicbit-M> Maybe it would make more sense to archive http://www.ibiblio.org/pub/micro/pc-stuff/freedos/ ?
locusf has joined #ipfs
firemound has joined #ipfs
<sdgathman> Thanks for the help. Getting too sleepy. Good night!
<panicbit-M> sdgathman: Sleep well :)
ppham has joined #ipfs
firemound has quit [Quit: firemound]
aarontyr_ has joined #ipfs
chris613 has quit [Quit: Leaving.]
aarontyree has quit [Ping timeout: 264 seconds]
silwol1 has joined #ipfs
silwol1 has quit [Client Quit]
aarontyree has joined #ipfs
Peeves has quit [Read error: Connection reset by peer]
aarontyr_ has quit [Ping timeout: 244 seconds]
firemound has joined #ipfs
m0ns00n has joined #ipfs
krs93 has joined #ipfs
silwol1 has joined #ipfs
<JesseW> Here's a directory containing fd11src.iso (as downloaded from ibiblio by me just now): https://ipfs.io/ipfs/QmZeqm9JyhWEPyXuTcnFEcWH1w8a91HdpF5meVoAeL1Dwy
<JesseW> interestingly, the wayback machine has two *different* hashes for the URL: http://www.freedos.org/download/download/fd11src.iso
<JesseW> From 2013-03-13 till 2015-2-17 it had one hash; then sometime between then and 2015-10-7 it changed, and it has remained with the new hash until at least 2016-4-3
cketti has quit [Quit: Leaving]
aarontyree has quit [Ping timeout: 244 seconds]
mildred has joined #ipfs
JesseW has quit [Ping timeout: 255 seconds]
ppham has quit [Remote host closed the connection]
rendar has joined #ipfs
pfrazee has joined #ipfs
ylp has joined #ipfs
bielewelt has joined #ipfs
dignifiedquire has joined #ipfs
cemerick has quit [Ping timeout: 264 seconds]
wuch has joined #ipfs
espadrine has joined #ipfs
firemound has quit [Ping timeout: 244 seconds]
espadrine has quit [Read error: Connection reset by peer]
espadrine has joined #ipfs
pfrazee has quit [Remote host closed the connection]
m0ns00n has quit [Quit: quit]
espadrine has quit [Ping timeout: 240 seconds]
bauruine has quit [Ping timeout: 250 seconds]
m0ns00n has joined #ipfs
mgue has quit [Ping timeout: 240 seconds]
bauruine has joined #ipfs
Ipe_ has joined #ipfs
mgue has joined #ipfs
Ipe_ has quit [Quit: Konversation terminated!]
espadrine has joined #ipfs
plddr has quit [Ping timeout: 255 seconds]
plddr has joined #ipfs
PseudoNoob has joined #ipfs
computerfreak has joined #ipfs
zorglub27 has joined #ipfs
<victorbjelkholm> panicbit-M, ipfscrape might be a bit old and out of date, haven't updated it in a while... However, it's trivial to just use recursive with wget "wget -r --no-parent https://example.com/downloads"
<victorbjelkholm> panicbit-M, oh, I see, you got there later... Mind opening a PR with the changes you did to make it work better?
zorglub27 has quit [Ping timeout: 240 seconds]
Encrypt has joined #ipfs
zorglub27 has joined #ipfs
ylp1 has joined #ipfs
ylp has quit [Read error: Connection reset by peer]
silwol1 has left #ipfs [#ipfs]
sametsisartenep has joined #ipfs
Aeon has quit [Ping timeout: 250 seconds]
Aeon has joined #ipfs
computerfreak has quit [Remote host closed the connection]
<dignifiedquire> 🎉 all js-ipfs tests passing with the pull-stream conversion, last thing left to do is a small update to interface-ipfs-core :)
<dignifiedquire> victorbjelkholm: if you have some time you can start reviewing https://github.com/ipfs/js-ipfs/pull/440
<victorbjelkholm> dignifiedquire, ah, only 68 changed files :) I'll take a look
<dignifiedquire> trivial :P
bielewelt has quit [Quit: Leaving.]
Encrypt has quit [Quit: Quitte]
anonymuse has joined #ipfs
Oatmeal has joined #ipfs
taaem has joined #ipfs
Oatmeal has quit [Ping timeout: 240 seconds]
cemerick has joined #ipfs
anonymuse has quit [Remote host closed the connection]
PrinceOfPeeves has joined #ipfs
evernite has joined #ipfs
m0ns00n has quit [Quit: quit]
m0ns00n has joined #ipfs
doesntgolf has joined #ipfs
anonymuse has joined #ipfs
Encrypt has joined #ipfs
anonymuse has quit [Remote host closed the connection]
Oatmeal has joined #ipfs
anonymuse has joined #ipfs
anonymuse has quit [Remote host closed the connection]
lassulus has quit [Changing host]
lassulus has joined #ipfs
<dignifiedquire> whyrusleeping: daviddias I made something https://github.com/ipld/js-cid
<panicbit-M> victorbjelkholm: Yeah I'll open a PR
<daviddias> dignifiedquire: nice :)
<daviddias> let's move it to /ipfs/
<dignifiedquire> why? in the cid issue they are said to be in ipld
<daviddias> dignifiedquire: don't just merge and release stuff that is red on CI
<daviddias> dignifiedquire it makes more sense, for me, for CID to be in /ipfs, but I can double check
tweezed has joined #ipfs
<dignifiedquire> daviddias: as I said in the comment Ci is fine, it's just not properly reportig
<dignifiedquire> if you look at the logs, it's actually all passing
<daviddias> so, is the plan to have a big red badge at the top of the repo?
<dignifiedquire> no the plan is to figure out why the reporting is broken, as documented here: https://github.com/ipfs/js-ipfs-bitswap/issues/34
computerfreak has joined #ipfs
<victorbjelkholm> daviddias, missing one files test, regarding the directory, because of the order of the files... https://ipfs.io/ipfs/QmaGxPqhG81Du4YThozGbeM7bH6FThJpMEcPU25RqBEtPW
<victorbjelkholm> order is important I'm guessing?
<daviddias> victorbjelkholm: it is not :)
<victorbjelkholm> woo! Ok
<daviddias> the way the http-api (even in go) is designed
<daviddias> is to not care about the order
<daviddias> because of the flush/no flush
<daviddias> in js-ipfs, we never flush (cause we don't have the flushing yet)
<victorbjelkholm> ah, all right, I'll fix the test then
<victorbjelkholm> thanks daviddias
<daviddias> but in go-ipfs if you add a very large dir witha lot of nested dirs, you will see that go-ipfs will emit more than one hash to the same dir
<daviddias> victorbjelkholm: 👌🏽
<victorbjelkholm> oh
PseudoNoob has quit [Remote host closed the connection]
rgrinberg has joined #ipfs
<dignifiedquire> daviddias: wait, https://circleci.com/gh/ipfs/js-ipfs-bitswap/138 << there is not a single test failing here, not even the disconnect is happening
ckwaldon1 has joined #ipfs
ckwaldon has quit [Remote host closed the connection]
ckwaldon1 is now known as ckwaldon
<daviddias> dignifiedquire: good job with getting the CID done btw :)
<daviddias> dignifiedquire: it still exists with 1
<dignifiedquire> yeah but there is no failure, it's probably a bug in aegir/karma
<dignifiedquire> thanks
<dignifiedquire> daviddias: https://circleci.com/gh/ipfs/js-ipfs/877 << greeen
<dignifiedquire> aand of course travis is too slow so things randomly time out -.-
ckwaldon has quit [Ping timeout: 249 seconds]
<dignifiedquire> daviddias: I give up..now it is green: https://circleci.com/gh/ipfs/js-ipfs-bitswap/139
<dignifiedquire> daviddias: can we chat later about milestone2 and 3 ?
<whyrusleeping> dignifiedquire: nice on the cids
Encrypt has quit [Quit: Quitte]
<whyrusleeping> ipld train, chooo chooo
<dignifiedquire> whyrusleeping: thanks, could you give it a review when you have some time? I wasn't a 100% sure on the toString() for v1
<victorbjelkholm> `19 passing (8s)` < FINALLY
<whyrusleeping> dignifiedquire: looks right to me
<dignifiedquire> cool
<dignifiedquire> soo daviddias I want to publish cid, should I move it to ipfs yes or no?
arpu has quit [Ping timeout: 240 seconds]
pfrazee has joined #ipfs
<daviddias> dignifiedquire: go-cid is on /ipfs
<daviddias> Please add me as an owner as well in npm :)
<dignifiedquire> maybe
<dignifiedquire> :P
<dignifiedquire> we will have to use "cids" as "cid" is taken :/
<dignifiedquire> daviddias: can't move it, you are blocking it with ipfs/js-cid
<dignifiedquire> can you delete that?
<dignifiedquire> daviddias: also could you give me write access to multiformats/js-multicodec-packed?
<dignifiedquire> I see green on js-ipfs pull for travis
fleeky has joined #ipfs
tweezed has quit [Ping timeout: 264 seconds]
arpu has joined #ipfs
anonymuse has joined #ipfs
<daviddias> ahah not blocking, I just had started the repo before
<daviddias> ok, I'll delete for a clean move
<daviddias> dignifiedquire: it is on the js-ipfs team (multicodec-packed)
<daviddias> deleted js-cid under ipfs
<dignifiedquire> daviddias: with read or write access to the js-ipfs-team?
<dignifiedquire> daviddias: there is no js-ipfs team on multiformats
<daviddias> just checked that too
<daviddias> creating one
<daviddias> true
ylp1 has quit [Ping timeout: 244 seconds]
ylp has joined #ipfs
PseudoNoob has joined #ipfs
<dignifiedquire> daviddias: https://www.npmjs.com/package/cids
<daviddias> cids?
<daviddias> was cid taken?
<dignifiedquire> yeah :(
<daviddias> lets do ipfs-cid then
<daviddias> more searchable
<dignifiedquire> I would suggest to leave it at cids and request cid, as that is 3 years old and untouched
<daviddias> let's do ipfs-cid and request cid, because who know how long that can take and people searching npm for IPFS stuff will type ipfs
<daviddias> and npm search is not that great for searching, namespacing modules is actually the best trick
<daviddias> ok, I'm ready to chat
<daviddias> opening an hangout
<dignifiedquire> sorry need 5 min
<daviddias> ok, no prob
Tugger has quit [Ping timeout: 240 seconds]
herzmeister has quit [Quit: Leaving]
Guest93338 has quit [Ping timeout: 276 seconds]
herzmeister has joined #ipfs
<dignifiedquire> daviddias: you merged the pull pull request :O
<daviddias> did I miss something?
<dignifiedquire> daviddias: ready
<dignifiedquire> no, just excited
ashark has joined #ipfs
<daviddias> :D
<daviddias> ahah don't ":O" me then, I got worried xD
<dignifiedquire> okay :D
<dignifiedquire> :o
<dignifiedquire> trying to figure this out..
reit has quit [Quit: Leaving]
<dignifiedquire> music?
<dignifiedquire> yeah that's me
gamemanj has joined #ipfs
aarontyree has joined #ipfs
aarontyr_ has joined #ipfs
aarontyree has quit [Ping timeout: 240 seconds]
Tugger has joined #ipfs
abbaZaba has quit [Quit: Textual IRC Client: www.textualapp.com]
Tugger has quit [Max SendQ exceeded]
Tugger has joined #ipfs
<daviddias> victorbjelkholm how is that files PR, should I review it now?
<victorbjelkholm> daviddias, no, did some hacks I want to remove first, working on that atm
<victorbjelkholm> I'll keep you posted
<daviddias> victorbjelkholm: sounds good :)
shizy has joined #ipfs
reit has joined #ipfs
Encrypt has joined #ipfs
doesntgolf has quit [Ping timeout: 244 seconds]
jedahan has joined #ipfs
<geoah> whyrusleeping could I interest you in something like this? https://github.com/ipfs/go-ipfs/compare/master...geoah:chore/extract-key?expand=1
<geoah> it extracts go-key, and updates to latest go-datastore, autobatch, retry-datastore, and failstore.
<whyrusleeping> geoah: yeah, i could probably live with that
<geoah> I started from extracting go-key but go-datastore was a bit more out of data than I'd like :P
<geoah> and couldn't only do go-key
<whyrusleeping> yeah, the key.DstoreKey() would have been weird
<whyrusleeping> fair enough
<geoah> I'll make the PR, just take a look at it and if it's still unreviewable let me know and I'll try to split it even more
<geoah> I'd just have to not use the latest go-key version
herzmeister has quit [Quit: Leaving]
rgrinberg has quit [Ping timeout: 255 seconds]
herzmeister has joined #ipfs
pfrazee has quit [Remote host closed the connection]
<geoah> ** goddammit I forgot about gitcop **
computerfreak has quit [Remote host closed the connection]
<victorbjelkholm> daviddias, interface-ipfs-core is supposed to run over go-ipfs as well right? How can I try it out in local?
matoro has quit [Ping timeout: 276 seconds]
<dignifiedquire> victorbjelkholm: only js-ipfs and js-ipfs-api currently
<dignifiedquire> js-ipfs-api runs against a go daemon
<geoah> hm... https://github.com/ipfs/go-ipfs/pull/3198 Is there someone who can try re-triggering the js-ipfs-api-tests for me pretty please?! :D
<dignifiedquire> geoah: done
<geoah> dignifiedquire thank you :)
<victorbjelkholm> dignifiedquire, hm, so if I run the tests from js-ipfs-api with modified interface-ipfs-core, I can be sure I'm not breaking the tests for go-ipfs as well?
<dignifiedquire> victorbjelkholm: there are no tests for go itself yet (on an api level), just the interactions through the http api from js-ipfs-api
<geoah> w00t cool domain lol, just noticed it! ipfs.team :D
<victorbjelkholm> dignifiedquire, ok, thanks
<dignifiedquire> daviddias: https://github.com/Babblr/cid/issues/1
<geoah> hm... failed again... `Error: Cannot find module 'pull-stream'`. I'll check it again after a fresh cup of coffee in case I actually broke something :P
<dignifiedquire> geoah: sounds like a caching issue
<dignifiedquire> or a bug on js-ipfs-api side
<dignifiedquire> let me check
pfrazee has joined #ipfs
<dignifiedquire> geoah: it's a bug on our side, don't worry
matoro has joined #ipfs
ylp has quit [Quit: Leaving.]
Peeves has joined #ipfs
<dignifiedquire> daviddias: can you please add me as an owner to ipfs-merkle-dag, already pushed and tagged the release on github, but the publish failed
cads has joined #ipfs
ligi_ has joined #ipfs
aarontyree has joined #ipfs
anonymuse has quit [Read error: Connection reset by peer]
anonymuse has joined #ipfs
aarontyr_ has quit [Ping timeout: 244 seconds]
ligi has quit [Ping timeout: 252 seconds]
m0ns00n has quit [Quit: quit]
mildred has quit [Ping timeout: 260 seconds]
Tv` has joined #ipfs
aarontyr_ has joined #ipfs
aarontyree has quit [Read error: Connection reset by peer]
cemerick has quit [Ping timeout: 260 seconds]
firemound has joined #ipfs
cketti has joined #ipfs
cketti has joined #ipfs
cketti has quit [Changing host]
matoro has quit [Ping timeout: 260 seconds]
jedahan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<victorbjelkholm> damn, just saw there seems to be a conflict...
firemound_ has joined #ipfs
<victorbjelkholm> dignifiedquire, you think you can take a look at the conflict in js-ipfs#323? Seems related to pull-streams and I don't want to destroy it
<dignifiedquire> jbenet: awesome just in time so I can updatr js-cid :)
herzmeister has quit [Quit: Leaving]
<dignifiedquire> victorbjelkholm: sure thing will take a look as soon as I got my coffee ;)
herzmeister has joined #ipfs
anonymuse has quit []
firemound has quit [Ping timeout: 252 seconds]
<dignifiedquire> jbenet: what version would we use on the gateways? the human readable one or the regular one?
aarontyr_ has quit [Remote host closed the connection]
aarontyree has joined #ipfs
zorglub27 has quit [Quit: zorglub27]
ygrek has joined #ipfs
gmcquillan has quit [Ping timeout: 250 seconds]
<dignifiedquire> victorbjelkholm: will be force pushing a rebased version once the tests pass locally
doesntgolf has joined #ipfs
rgrinberg has joined #ipfs
<dignifiedquire> victorbjelkholm: please make sure before merge to squash commits and change their message so they follow https://github.com/ipfs/community/blob/master/js-commit-guidelines.md
<dignifiedquire> so that we can have nice changelogs
rgrinberg has quit [Client Quit]
rgrinberg has joined #ipfs
fxrs has joined #ipfs
ligi_ has quit [Remote host closed the connection]
<jbenet> dignifiedquire: only ever use the regular one. the human readable one is just for debugging or explaining
<dignifiedquire> jbenet: okay thanks 👍
<jbenet> dignifiedquire and it may be "one-way" because delimiters are not guaranteed to be well defined (the human readable codes may have various delimiters in them and CID can't pick one guaranteed not to show up)
ppham has joined #ipfs
<victorbjelkholm> dignifiedquire, sure thing, thanks for taking a look
Encrypt has quit [Quit: Quitte]
aarontyree has quit []
A124 has quit [Quit: '']
A124 has joined #ipfs
gmcquillan__ has joined #ipfs
gmcquillan__ is now known as gmcquillan
ygrek has quit [Ping timeout: 244 seconds]
jedahan has joined #ipfs
pfrazee has quit [Remote host closed the connection]
danielrf1 has quit [Read error: Connection reset by peer]
Oatmeal has quit [Ping timeout: 250 seconds]
pfrazee has joined #ipfs
espadrine_ has joined #ipfs
espadrine has quit [Ping timeout: 265 seconds]
espadrine_ has quit [Client Quit]
espadrine_ has joined #ipfs
<whyrusleeping> daviddias: dignifiedquire quit breaking my tests
<daviddias> ?
<daviddias> ah, running the js-ipfs-api ones?
<whyrusleeping> js-ipfs-api tests are failing
<dignifiedquire> whyrusleeping: as soon as daviddias gives me publish rights I can fix it
<dignifiedquire> so make himn
<daviddias> is that the real reason?
<dignifiedquire> victorbjelkholm: need to fix some things related to pull-streams, but getting close
<whyrusleeping> dignifiedquire: dont push broken stuff in the first place yo
<dignifiedquire> daviddias: that is the real reason why haven't fixed it yet
<dignifiedquire> whyrusleeping: I try
<daviddias> what is the PR? Has it been reviewed? Has it been merged?
<dignifiedquire> daviddias: I missed a dependency of pull-stream on js-ipfs-merkle-dag
<daviddias> shame on you :P
<dignifiedquire> and wanted to relases it as written above
<dignifiedquire> but I don't have the rights on npm
<dignifiedquire> so all is pushed to gh and tagged
<dignifiedquire> but not on npm
<daviddias> dignifiedquire: added you
<dignifiedquire> ta
<dignifiedquire> publishing
<lgierth> | * 29c1872 - SQUASHME: some cleanup (Wed Sep 7 15:16:21 2016 -0700) <Jeromy>
vquicksilver has quit [Quit: WeeChat 1.4]
<lgierth> :=
<dignifiedquire> whyrusleeping: restarting should fix it
<dignifiedquire> sorry about that 😊
<whyrusleeping> lgierth: oh dammit
wuch has quit [Quit: WeeChat 1.5]
doesntgolf has quit [Ping timeout: 264 seconds]
herzmeister has quit [Quit: Leaving]
herzmeister has joined #ipfs
krs93 has quit [Ping timeout: 250 seconds]
Oatmeal has joined #ipfs
Qwertie has quit [Ping timeout: 240 seconds]
Qwertie has joined #ipfs
matoro has joined #ipfs
herzmeister has quit [Quit: Leaving]
herzmeister has joined #ipfs
firemound_ has quit [Quit: firemound_]
Oatmeal has quit [Quit: Suzie says, "TTFNs!"]
espadrine_ has quit [Ping timeout: 265 seconds]
<lgierth> :)
<whyrusleeping> QmRFFywpgAixu9fJwbrV8j8xNB8edHMDAPDvi7PVwTUsmL
herzmeister has quit [Quit: Leaving]
herzmeister has joined #ipfs
palkeo has joined #ipfs
palkeo has joined #ipfs
palkeo has quit [Changing host]
ppham has quit [Remote host closed the connection]
<dignifiedquire> victorbjelkholm: it's a bit more work than I hoped, here is what I got so far: https://github.com/ipfs/js-ipfs/pull/469
anewuser has joined #ipfs
<daviddias> dignifiedquire: not sure what you mean by 'wooot' here https://github.com/ipfs/js-ipfs-merkle-dag/pull/40#issuecomment-245998291
<daviddias> is that excitment?
<dignifiedquire> no, confusion
<dignifiedquire> no idea what it means :(
<daviddias> just making sure we have multistream into the same language here :P
<dignifiedquire> lol
<dignifiedquire> will use a more appropriate responese the next time, like ??????????
<daviddias> fixed :)
<daviddias> webpack was freaking out again because we gave it too many files
<daviddias> we might to have to have a service to load stuff into the browser through a side channel
<daviddias> webpack keeps failing us
<lgierth> interface-ipfs-core.git be like... let's add 15 MB of random data to an otherwise super-slim repo :)
<dignifiedquire> daviddias: yeah we should make those file reads be async fetch requests instead of inlining 15mb into our code
Boomerang has quit [Quit: Lost terminal]
mgue has quit [Quit: WeeChat 1.5]
<lgierth> whyrusleeping: mh gx-go assumes that the package is in the repo's root yeah? e.g. the dvcsimport field
rendar has quit [Ping timeout: 244 seconds]
<whyrusleeping> ooooh, yeah...
<whyrusleeping> you can change it manually
<whyrusleeping> but the automatic inference assumes that
<dignifiedquire> daviddias: I think I have a cool idea that should allow us to not inline 15mb of random data :D
<daviddias> do eeeet
<daviddias> in a PR :D
<lgierth> dignifiedquire: it's already in the git history *shrug*
<dignifiedquire> lgierth: not talking about git
<dignifiedquire> talking about code processing in tge browser
<lgierth> aah ok
fxrs has quit [Quit: Leaving]
<lgierth> +1 then!! :)
mgue has joined #ipfs
sametsisartenep has quit [Quit: Time will tell...]
fxrs has joined #ipfs
Encrypt has joined #ipfs
HastaJun_ has quit [Ping timeout: 264 seconds]
<pjz> ?
cads has quit [Ping timeout: 255 seconds]
rendar has joined #ipfs
terence977[m] has joined #ipfs
nycoliver has joined #ipfs
arpu has quit [Quit: Ex-Chat]
<whyrusleeping> geoah: btw, merged the go-key PR
HastaJun_ has joined #ipfs
Oatmeal has joined #ipfs
pockata has joined #ipfs
Oatmeal has quit [Ping timeout: 250 seconds]
<daviddias> dignifiedquire: why there was a need to create a fork of the branch https://github.com/ipfs/js-ipfs/pull/323?
<daviddias> it was already opened in the main repo
<daviddias> and now with the ability to commit to forks, we don't even need to open it on the main repo
<dignifiedquire> because I didn't just want to force push over the branch, while it is not working
<dignifiedquire> I can eventually foce push over that branch when it's working, I just didn't want to do so while I'm still workign things out
<daviddias> dignifiedquire: roger
<daviddias> I wasn't sure because the new PR is directly to master
cemerick has joined #ipfs
<whyrusleeping> daviddias: i've got about 25 min worth of battery left
<whyrusleeping> and there arent any chargers nearby
anewuser has quit [Quit: anewuser]
nycoliver has quit [Ping timeout: 244 seconds]
wuch has joined #ipfs
<jbenet> whyrusleeping: ok, confirm: the wantlists are updated only by +/- deltas (want and cancel) and not by sending it whole again?
<jbenet> (i.e. sent whole only once)
cads has joined #ipfs
gamemanj has quit [Ping timeout: 250 seconds]
<dignifiedquire> finally..found the bug deeply nested in pull-file
pockata has quit [Ping timeout: 276 seconds]
gmcquillan__ has joined #ipfs
<lgierth> dignifiedquire: :):)
<dignifiedquire> deeply nested issues with reading files from disk are always fun
gmcquillan has quit [Ping timeout: 244 seconds]
<dignifiedquire> where a race condition produces double read of the first chunk of the file
cemerick has quit [Ping timeout: 240 seconds]
<lgierth> godspeed friedel
<victorbjelkholm> dignifiedquire, what is not working exactly?
<dignifiedquire> victorbjelkholm: https://github.com/ipfs/js-ipfs/pull/469
Foxcool has quit [Ping timeout: 264 seconds]
<victorbjelkholm> dignifiedquire, yeah, was reading "I managed to find the issue" but I'm not sure I understand the issue 100% and just want to make sure you're not trying to fix something I already had working and might know solution to :)
<dignifiedquire> no, this is a bug introduced in the pull stream changes
<dignifiedquire> it's a nasty race condition, that wasn't triggered before
<victorbjelkholm> ooh, I see, hence I couldn't find where pull-file in files where being used :p
<dignifiedquire> yeah pull-file is used down the stack, ipfs-repo -> pull-fs-blob-store -> pull-file
<richardlitt> `ipfs add` and `ipfs pin add` are the same, correct?
<richardlitt> They both add the hash of what is added to whatever is shown in `ipfs pin ls`
<dignifiedquire> no they are not
<richardlitt> dignifiedquire: That's what I thought.
<dignifiedquire> ipfs pin add, only pins something that is already known to ipfs
<dignifiedquire> ipfs add, takes a file adds it to ipfs and pins it by default, which can be disabled using a flag
<richardlitt> so, running ipfs add <hash> and then ipfs pin add <hash> is unnecessary
<dignifiedquire> yes
<richardlitt> Thank you.
<richardlitt> One final question, I think: ipfs add <hash> will be default not pin this recursively
palkeo has quit [Quit: Konversation terminated!]
<dignifiedquire> it will in the sense that if it is a large file all chunks will be pinned, but for adding a directory you need to pass `-r` to add and pin recursively
<richardlitt> In that case, why does it say `<hash> recursive`, even if -r isn't specified?
<richardlitt> echo `sdljflsjlfsjl` | ipfs add
<richardlitt> ipfs pin ls <correspondingHash> will show:` <correspondingHash> recursive`
<richardlitt> Why?
<richardlitt> (thanks dignifiedquire!! trying to get to the bottom of this
<dignifiedquire> because recursive pin != recursive add
<dignifiedquire> recursive add => walk unixfs folders recursively and add all of them
<dignifiedquire> recursive pin => pin this hash, and all hashes that are linked to it
<dignifiedquire> so in that sense it defaults to recursive pin
<richardlitt> How are those hashes linked to it?
<dignifiedquire> the same as "ipfs pin add" defaults to recursive pinning
<dignifiedquire> if you add a file to ipfs through "ipfs add" it gets put into a specific structure, a dagnode
<dignifiedquire> that dagnode can have links
<richardlitt> What format are those links?
<richardlitt> Where can I read more about those links?
<dignifiedquire> those are just regular ipfs hashes
espadrine_ has joined #ipfs
<richardlitt> how do I know if there are links attached to a hash?
cads has quit [Ping timeout: 255 seconds]
<dignifiedquire> ipfs object --help
<dignifiedquire> is where you want to look if you want to view those raw merkeldag nodes
<dignifiedquire> there are options to view the links of an object for example
<richardlitt> thank you, dignifiedquire. i've got something to do, will be back in a few minutes. working on a blog post, I appreciate the help.
<richardlitt> Hadn't run across recursive pin vs recursive add before
musicmatze[m] has joined #ipfs
corvinux has joined #ipfs
<musicmatze[m]> Hi. I just watched two videos on IPFS (Stanford talk and some 15 minute hands on) and wanted to stop by here and say that this looks awesome! I really want to play around with this as soon as possible... And I have some questions, though not now (2300 in my timezone and I have to get up early tomorrow) but after my vacation I will come back and ask a lot of things if you people in here are okay with it. (Sorry for the
<musicmatze[m]> wall of text)
<lgierth> musicmatze[m]: you're welcome to -- happy to hear you like it
corvinux has quit [Remote host closed the connection]
jedahan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jedahan has joined #ipfs
ashark has quit [Ping timeout: 264 seconds]
* panicbit-M waves musicmatze
jedahan has quit [Client Quit]
ckwaldon has joined #ipfs
<panicbit-M> The alpha already looks very promising
jedahan has joined #ipfs
<musicmatze[m]> panicbit: are you hanging out in all channels? :-) ... I'm afk now... 6 hours left to sleep. See you!
<galois_d_> Question for anybody who might know: given the IP address and port of a running IPFS daemon (i.e., I know there's an IPFS daemon running on 10.0.0.1 port 4001 TCP, so I can make the string "/ip4/10.0.0.1/tcp/4001/ipfs", but I don't have the hash), is there any way to discover its hash (and thus be able to connect to it as a peer)?
galois_d_ is now known as galois_dmz
xelra has quit [Ping timeout: 260 seconds]
<daviddias> dignifiedquire: saw your comment about pull-file
<daviddias> the description of the repo is: "EXPERIMENTAL: Pull streams implementation of a file reader"
<daviddias> now that stream-to-pull-stream conversion is all good, anything against of using fs.createReadStream?
<bret> what is CID ?
Oatmeal has joined #ipfs
espadrine_ has quit [Ping timeout: 265 seconds]
<lgierth> bret: check out github.com/ipld/cid, it has a spec draft
<bret> cool ty
Encrypt has quit [Quit: Sleeping time!]
cow_2001 has quit [Quit: cow_2001]
jedahan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<whyrusleeping> !pin QmSQTrukQXH32RKSbnU7ZR5RRCHK84EwsYidrRXJeeVMMm
<pinbot> usage: !pin <hash> <label>
<whyrusleeping> !pin QmSQTrukQXH32RKSbnU7ZR5RRCHK84EwsYidrRXJeeVMMm dists go-ipfs 0.4.3-rc4
<pinbot> now pinning /ipfs/QmSQTrukQXH32RKSbnU7ZR5RRCHK84EwsYidrRXJeeVMMm
<whyrusleeping> impressive
<whyrusleeping> that was like 100MB of new stuff
<dignifiedquire> daviddias: that would be very inefficient
<daviddias> dignifiedquire: how so?
<lgierth> whyrusleeping: yeah and the metrics showed a nice bump of RX/TX bytes
<whyrusleeping> hot
ckwaldon has quit [Read error: Connection reset by peer]
<dignifiedquire> pull-file uses fs.open and fs.read directly, if we use the readStream, things have to go through a node stream + a pull-stream + we don't get the laziness of a pull-streams, that it only reads when we actualy need it to read
Oatmeal has quit [Quit: Suzie says, "TTFNs!"]
<daviddias> but we do get the correctness
<dignifiedquire> not guranteed
<dignifiedquire> there can still be bugs
<dignifiedquire> I've been reviewing pull-file closely for the last hours + fs.createReadStream
<daviddias> ok, from your comment on github sounded that you had concluded that a pull-file fix wasn't possible.
<dignifiedquire> I'm pretty confident I can get pull-file ready for prime time
<daviddias> there can still be bugs with the conversion?
<daviddias> dignifiedquire: sweet:)
<dignifiedquire> no not at all, I was just tried and had to stop
ebel has quit [Ping timeout: 255 seconds]
<dignifiedquire> daviddias: I see you found the new release feature of aegir? https://github.com/ipfs/js-ipfs/releases/tag/v0.15.0
<daviddias> yeah :D
<daviddias> richardlitt: is going to love that ^
<dignifiedquire> if you want to start generating a changelog.md, do a release using "touch CHANGELOG.md && ./node_modules/.bin/aegir-release --first" that will generate the changelog
<dignifiedquire> (and do a release)
<dignifiedquire> only needs to be done the fist time around
<dignifiedquire> *first
cow_2001 has joined #ipfs
ebel has joined #ipfs
<jbenet> whyrusleeping: confirm pls: the wantlists are updated only by +/- deltas (want and cancel) and not by sending it whole again? (i.e. sent whole only once)
<whyrusleeping> jbenet: confirmed
<daviddias> dignifiedquire: 👍
<jbenet> whyrusleeping thanks
ebel has quit [Ping timeout: 250 seconds]
gmcquillan__ has quit [Quit: gmcquillan__]
taaem has quit [Ping timeout: 250 seconds]
ebel has joined #ipfs
matoro has quit [Ping timeout: 252 seconds]
espadrine_ has joined #ipfs
shizy has quit [Ping timeout: 250 seconds]
gmcquillan__ has joined #ipfs
herzmeister has quit [Quit: Leaving]
herzmeister has joined #ipfs
rendar has quit [Quit: std::lower_bound + std::less_equal *works* with a vector without duplicates!]
doesntgolf has joined #ipfs
nycoliver has joined #ipfs
xelra has joined #ipfs
PseudoNoob has quit [Remote host closed the connection]
matoro has joined #ipfs
<richardlitt> Wow!
<richardlitt> This is great!
fleeky_ has joined #ipfs
<lgierth> the providers changes in 0.4.3-rc are great
<lgierth> eeeh in master -- i'm not sure they're in 0.4.3-rc too
<lgierth> anyhow, i can finally max out my little 2MB downstream
fleeky has quit [Ping timeout: 265 seconds]
vquicksilver has joined #ipfs
chris613 has joined #ipfs