whyrusleeping changed the topic of #ipfs to: IPFS - InterPlanetary File System - https://github.com/ipfs/ipfs -- channel logged at https://botbot.me/freenode/ipfs/ -- code of conduct at https://github.com/ipfs/community/blob/master/code-of-conduct.md -- sprints + work org at https://github.com/ipfs/pm/ -- community info at https://github.com/ipfs/community/
<jbenet> kyledrake sgtm.
<whyrusleeping> rschulman: no, its a different protobuf, just decode it
<rschulman> ohhhh
<rschulman> which .proto file?
<whyrusleeping> rabble: i want mobile stuff to happen, but i think ipfs might be a little too resource hungry right now
<whyrusleeping> by all means try it and post your results somewhere!
<whyrusleeping> (also, link to the android one?)
<rschulman> whyrusleeping: why does a hash that I created by doing echo “blah” | ipfs add have unixfs data in it?
<whyrusleeping> because 'add' is for add files
<pjz> rschulman: what unixfs data?
<whyrusleeping> adding*
<rschulman> whyrusleeping: Well, that would make sense then, wouldn’t it?
<whyrusleeping> rschulman: only sometimes
<whyrusleeping> we need to put some data in there to make it possible for us to do directories vs files and file chunking layours
<rschulman> whyrusleeping: it would be nice
<whyrusleeping> it *is* nice ;)
voxelot has quit [Ping timeout: 244 seconds]
Leer10 has quit [Ping timeout: 272 seconds]
Leer10 has joined #ipfs
<whyrusleeping> jbenet: can you give me an example use case for code that would call the Next() (io.Reader, error) method?
<whyrusleeping> it doesnt work well anywhere in our codebase it seems
<whyrusleeping> because everywhere i would use it, we just end up call ioutil.ReadAll() on the reader (which overallocates memory :( ) and putting the bytes into a dag.Node to be written to disk
patcon has quit [Ping timeout: 260 seconds]
qqueue has quit [Quit: ZNC - 1.6.0 - http://znc.in]
queue has joined #ipfs
queue is now known as qqueue
dlight has quit [Ping timeout: 256 seconds]
gordonb has quit [Quit: gordonb]
<rschulman> rust-ipfs-api is now working with protobufs exclusively and is happier for it
<rschulman> cat and ls work again
<whyrusleeping> lol, but json....
<rschulman> f json
<rschulman> :)
<rschulman> nobody likes it anyway
<rschulman> “be conservative in what you send”
<rschulman> I’m all about that part
<rschulman> liberal in what you receive, on the other hand...
<whyrusleeping> lol
dlight has joined #ipfs
<ipfsbot> [go-ipfs] whyrusleeping pushed 1 new commit to feat/real-rabin: http://git.io/vODOx
<ipfsbot> go-ipfs/feat/real-rabin 3c0fbd7 Jeromy: refactor chunking interface a little...
<rschulman> mmmm, rabin chunking
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
dlight has quit [Ping timeout: 244 seconds]
voxelot has joined #ipfs
simonv3 has quit [Quit: Connection closed for inactivity]
uhhyeahbret has joined #ipfs
uhhyeahbret has quit [Remote host closed the connection]
inconshreveable has joined #ipfs
patcon has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<whyrusleeping> rschulman: indeed
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
voxelot has quit [Ping timeout: 252 seconds]
voxelot has joined #ipfs
jedahan has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
gunn has quit [Quit: Textual IRC Client: www.textualapp.com]
gunn has joined #ipfs
jedahan has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
Eudaimonstro has joined #ipfs
<whyrusleeping> so the 'tv hacking' in mr robot is actually pretty beleivable
yosafbridge has quit [K-Lined]
yosafbridge has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
pfraze has quit [Remote host closed the connection]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
voxelot has quit [Ping timeout: 244 seconds]
inconshreveable has quit [Ping timeout: 244 seconds]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
sharky has quit [Ping timeout: 240 seconds]
sharky has joined #ipfs
bren2010 has quit []
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
inconshreveable has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
Tv` has quit [Quit: Connection closed for inactivity]
mildred has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
M-davidar has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
dignifiedquire has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
reit has quit [Ping timeout: 240 seconds]
patcon has quit [Ping timeout: 260 seconds]
xelra has quit [Quit: ZNC - http://znc.in]
xelra has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
Eudaimonstro has quit [Ping timeout: 250 seconds]
<ogd> kyledrake: are you going to CCC from pdx?
<kyledrake> ogd Unfortunately won't be able to attend this year, wasn't jiving with the schedule.
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<ogd> kyledrake: ah ok
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
keroberos has quit [Excess Flood]
keroberos has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
xelra has quit [Ping timeout: 256 seconds]
inconshreveable has quit [Remote host closed the connection]
zabirauf has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
reit has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<cryptix> gmorning ippfssss
<Luzifer> ohai cryptix
<jbenet> morning o/
<Luzifer> aaaand now: Merge all the things!
<Luzifer> => 188.40.126.69 [2015-08-06 09:39:33 +0000] "GET /get/github.com/Luzifer/cloudkeys-go/cloudkeys-go_v1.2.2_windows-amd64.zip" 302 250 0.19ms "" "Mozilla/5.0 (compatible; MJ12bot/v1.4.5; http://www.majestic12.co.uk/bot.php?+)"
<Luzifer> seriously? I hate that bot…
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
zabirauf has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
slothbag has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<cryptix> i see occasional fails of TestNotifications in p2p/net/mock under 1.5rc1
<cryptix> doesnt look that spectecular but it fails ~50%
se3000_ has joined #ipfs
M-staplemac has quit [Ping timeout: 260 seconds]
se3000 has quit [Ping timeout: 240 seconds]
se3000_ is now known as se3000
M-staplemac has joined #ipfs
<jbenet> :(
<cryptix> i stabbed into writable gateway yesterday night but it went a little like this: /ipfs/QmeGnteUkGjyAA3PTEFSGRAnH9WG7LVK7xqqZTUsY1mUR3
<jbenet> hahahah
<jbenet> !pin /ipfs/QmeGnteUkGjyAA3PTEFSGRAnH9WG7LVK7xqqZTUsY1mUR3
<pinbot> now pinning /ipfs/QmeGnteUkGjyAA3PTEFSGRAnH9WG7LVK7xqqZTUsY1mUR3
<pinbot> pin /ipfs/QmeGnteUkGjyAA3PTEFSGRAnH9WG7LVK7xqqZTUsY1mUR3 successful! -- http://gateway.ipfs.io/ipfs//ipfs/QmeGnteUkGjyAA3PTEFSGRAnH9WG7LVK7xqqZTUsY1mUR3
<jbenet> hmm i thought i had deployed.
<cryptix> i threw out some old stuff but i didnt find a sane way to find the parent of a child, change it and bubble all the changes up to the root
<cryptix> resolving all the nodes and changing the parent, i got down i think
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<jbenet> cryptix: ipfs object patch does it all for you
<jbenet> it has bubbling now
<cryptix> hmm i looked into that but.. maybe i missed the magic :)
<cryptix> jbenet: doesnt it still come down to two calls? (add-link rm-link) http://gotools.org/github.com/ipfs/go-ipfs/core/commands#object-go-L494
<cryptix> yess :))
<jbenet> (he even has the bubbling through the dag right)
<jbenet> cryptix: yeah those should do it, i think
voxelot has joined #ipfs
<jbenet> tperson are you around?
Quiark has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<daviddias> jbenet: anything blocking you on this PR https://github.com/ipfs/node-ipfs-api/pull/35? I am looking into getting that and this https://github.com/ipfs/node-ipfs-api/pull/39 merged so I can start tinkering with the code while I use it for the drag-&-drop feature on the electron-app
<jbenet> daviddias: havent looked at it after whyrusleeping's vinyl fix
<jbenet> daviddias i can look now
<daviddias> that would be nice, thank you :)
<jbenet> daviddias: i think i found another bug in the dht test -- will update the pr momentarily
<M-davidar> Is this the right place to ask (possibly stupid :) questions about ipfs?
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<jbenet> M-davidar yeah
<daviddias> M-davidar: every question is welcome :)
<jbenet> hey daviddias if users do not supply a cb, is it always set to noop? or should it throw (programmer error)?
<jbenet> M-davidar: yeah, what daviddias said :) -- and, no question is stupid. we have a conceptual space of epic proportions
<jbenet> so it's hard to understand
<jbenet> (or rather, not as easy as i would like it to be, up front)
<daviddias> well, you decide how your function works, if there is some async call inside your function, throwing an error won't work (or do any good)
<daviddias> I typically just `noop
<daviddias> noop' it
<daviddias> and that is what I've seen the most, following the callback pattern
<jbenet> if there's no cb, then it will eventually throw, when it returns. which is at least _some_ feedback
<jbenet> (want to avoid the case of "why isnt this working???" when an err is silenced by a noop we insert
<M-davidar> I've been thinking about trying to mirror citeseerx.ist.psu.edu to ipfs, and was interested in whether anyone has any thoughts as to how feasible that would be?
<jbenet> M-davidar: very feasible! are you part of citeseerx?
<daviddias> jbenet definitely agree, but encouraging the use of the callback pattern is not a bad thing
<jbenet> daviddias: oh i entirely agree, -- i just mean whether we should throw or not if the user supplied cb or not.
<jbenet> (not = silent error, yes = a bit annoying if you have to pass a noop. though i guess it puts you fully in control, so that's more understandable)
<M-davidar> jbenet: No, just a user afraid of it disappearing at some point in the future :)
<jbenet> M-davidar: i totally agree with you. i think this should be done with their permission though. remember what happened to aaron swartz.
voxelot has quit [Ping timeout: 252 seconds]
<daviddias> ah, got it, the throw if the user doesn't supply a `cb`. If the `cb` has a `resuls` arg, so definitely throw, otherwise the user will never even get the results of calling that func, if the cb has a `err` field, I guess is debatable if it should throw, but do agree that it is good to remember the user to handle error, if the `cb` has no arguments and only
<daviddias> tells the user when something is 'ready', then I guess there is no need to throw.
<jbenet> M-davidar: i'm working on a "dead-org's switch" post about how publicly funded orgs who -- for whatever reason cannot liberate content during their lifetime -- to setup external enxrypted caches and a dead-org switch which releases if the org dies (i.e. an M:N sig requirement to reconstruct a key, etc).
Quiark has quit [Ping timeout: 246 seconds]
<M-davidar> jbenet: It seems as if they're open to sharing data: http://csxstatic.ist.psu.edu/about/data
<jbenet> M-davidar: hopefully, orgs can see that that allows them to at the very least setup distributed replicas/backups even if their present-day copyright-laden legal framework does not let them make the raw content be generally available to the general public (funders)
<jbenet> M-davidar: Awesome!!! \o/
<jbenet> M-davidar: we should make an "Open Data Compliance" index of all the research artifact repositories.
kbala has quit [Quit: Connection closed for inactivity]
<Luzifer> jbenet: works. tagged commits are now buildable even if they are not master/HEAD
<jbenet> M-davidar: one big listing that scores the repository (maybe gives it a color {green, yellow, red}) -- like http://iswebrtcreadyyet.com/
notduncansmith has joined #ipfs
<jbenet> M-davidar: ok since that's good, proceed with your Qs :)
notduncansmith has quit [Read error: Connection reset by peer]
<M-davidar> jbenet: like opendoar.org ?
<jbenet> M-davidar dont see the sort of thing im looking for there, but that's an org that might be able to provide a lot of the required data
<daviddias> jbenet: OH, i like that!
<jbenet> daviddias: for https://github.com/ipfs/node-ipfs-api/pull/39 -- should we just bump up the timeout for the whole test?
<jbenet> 10s is not much, particularly given network tests
<daviddias> the CI test failed because .Type is not available in 0.10
<daviddias> 1) ipfs node api returns an error when getting a non-existent key from the DHT:
<daviddias> Uncaught TypeError: Cannot read property 'Type' of undefined
<daviddias> at index.js:318:21
<daviddias> at IncomingMessage.<anonymous> (index.js:107:16)
<daviddias> at _stream_readable.js:944:16
<M-davidar> jbenet: Anyway, my main question is, given that I don't have spare terabytes of disk space lying around, does ipfs have any kind of infrastructure set up that people could donate disk space towards mirroring public resources like this?
<daviddias> oh, that one even fails sooner
<daviddias> let me take a look
<jbenet> daviddias: looks like the res array is empty then.
<jbenet> (which may be a dht query finishing and returning no resulsts? not sure on the semantics there)
<jbenet> M-davidar: this is a much requested feature-- we're specing out how "clustering" ipfs nodes will work, so that they gather together their available disk space and distribute pieces.
<jbenet> M-davidar: this is a protocol _on top of_ ipfs core, that's non trivial in itself, so will take some time to figure out.
<jbenet> M-davidar: but kyledrake is also interested in this so maybe can find stopgaps before.
jedahan has joined #ipfs
<daviddias> jbenet: yep, you are right.
<jbenet> daviddias: know of a script to setup irc reporting on github?
<jbenet> i just pushed a change
<M-davidar> jbenet: how about on-demand mirroring i.e. get a mapping of hashes to external resources, and have a server that pulls them in when requested
<jbenet> also, wait, is that a test to the real dht? lol
<jbenet> daviddias: green! \o/ https://github.com/ipfs/node-ipfs-api/pull/39
<jbenet> i think it's intermittent because it's using the real dht.
<daviddias> ahah \o/ living on the edge
<daviddias> jbenet not one that I vet no. But https://hubot.github.com/, should be one of the best ones to do github reporting to IRC, (besides a million other things)
<daviddias> jbenet: good to merge? :)
<daviddias> push the green button :P
<jbenet> daviddias: oh i meant just a script that posts to github api and sets it up, alraedy have the config options in mind.
<jbenet> it's just a pain to do per repo by hand.
<jbenet> we should have a repo-init script
<daviddias> also, if you feel like it, push the green button on this https://github.com/ipfs/electron-app/pull/27 too :)
dvn has joined #ipfs
<jbenet> that sets up the readme with the badges, sets up the irc reporting, sets up travis and circleci, etc
<daviddias> yeah, I guess that is one of the things where gitter excels
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<daviddias> for the reporting part
xelra has joined #ipfs
<jbenet> daviddias think we should still do https://github.com/ipfs/node-ipfs-api/pull/35/files ?
<cryptix> !pin /ipfs/QmTWXMP6NV2Rk5FHHvH9JV1DLvhVCHSUx5NpWToyznDvBc /ipfs/QmdFuH4RDGVxsPFLxai9tFFRThzsjddGjQVdWRQ5K6TYJD
<pinbot> now pinning /ipfs/QmTWXMP6NV2Rk5FHHvH9JV1DLvhVCHSUx5NpWToyznDvBc
<pinbot> pin /ipfs/QmTWXMP6NV2Rk5FHHvH9JV1DLvhVCHSUx5NpWToyznDvBc successful! -- http://gateway.ipfs.io/ipfs//ipfs/QmTWXMP6NV2Rk5FHHvH9JV1DLvhVCHSUx5NpWToyznDvBc
<cryptix> !pin /ipfs/QmdFuH4RDGVxsPFLxai9tFFRThzsjddGjQVdWRQ5K6TYJD
<jbenet> point is to be able to use with https://www.npmjs.com/package/vinyl-fs
<pinbot> now pinning /ipfs/QmdFuH4RDGVxsPFLxai9tFFRThzsjddGjQVdWRQ5K6TYJD
<pinbot> pin /ipfs/QmdFuH4RDGVxsPFLxai9tFFRThzsjddGjQVdWRQ5K6TYJD successful! -- http://gateway.ipfs.io/ipfs//ipfs/QmdFuH4RDGVxsPFLxai9tFFRThzsjddGjQVdWRQ5K6TYJD
<jbenet> lgierth: i havent redeployed pinbot to pluto. should i? or did you want to push to scruffy?
<cryptix> btw how about notes/comments on pinbot? should make cleaning it up easier? (those were jquery and bootstrap version btw)
<daviddias> jbenet: why wouldn't we?
<lgierth> jbenet: let me quickly merge these two pull requests
<lgierth> jbenet: i held back on adding the ipfs private keys to the protocol/infra.git
<jbenet> daviddias: the stream construction is screwed up, i believe
<lgierth> jbenet: should i still do it in lack of a secrets store?
<jbenet> in MutlipartDir in that PR
<lgierth> or i could deploy for you and take care of the secrets store this week
<lgierth> i could add these keys and rewrite history when we have a store
<lgierth> i.e. rewrite history of protocol/infra.git
<jbenet> lgierth: maybe just use gpg with a symmetric key and put that key on meldium
<lgierth> jbenet: ok i'll take care of the gpg thing asap. want me to deploy for you in the meantime?
<jbenet> lgierth: sure!
jedahan has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jbenet> lgierth: or instead of gpg, let me quickly write a thing that uses the go crypto
<jbenet> (even easier, no gpg dep)
<lgierth> kek
jedahan has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<Luzifer> jbenet: all ipfs builds should now be downloadable with gobuilder-cli
<jbenet> Luzifer: thanks!! \o/ <3
<Luzifer> (re-triggered builds for all tags shown in the labels list so it collected metadata for them)
<M-davidar> More generally, I guess my question is, is it possible for an ipfs node to outsource file storage to a machine outside the ipfs network?
<jbenet> M-davidar: yeah of course, we're soon merging an S3 datastore (a way to load + store an ipfs node's state from S3)
<rschulman> morning everyone
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<M-davidar> jbenet: would it be feasible to bridge existing s3 buckets (that don't have any knowledge of ipfs)?
pinbot has quit [Remote host closed the connection]
pinbot has joined #ipfs
amiller has quit [Quit: ZNC - http://znc.sourceforge.net]
Guest90372 has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<jbenet> M-davidar: yes but require quite a bit of work.
domanic_ has joined #ipfs
slothbag has quit [Quit: Leaving.]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
jedahan has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
vijayee_ has joined #ipfs
voxelot has joined #ipfs
voxelot has quit [Ping timeout: 260 seconds]
<lgierth> jbenet: what is there to deploy re: pinbot? it run's latest master
<jbenet> lgierth: really? i fixed some things... ---
<jbenet> !pin /ipfs/QmeGnteUkGjyAA3PTEFSGRAnH9WG7LVK7xqqZTUsY1mUR3
<pinbot> now pinning /ipfs/QmeGnteUkGjyAA3PTEFSGRAnH9WG7LVK7xqqZTUsY1mUR3
<jbenet> ah, there we go
<jbenet> now it's good.
<jbenet> it was different earlier today
<lgierth> jbenet: 2/8?
pfraze has joined #ipfs
<lgierth> hrm that might have been because of the ~outdated nginx config on the other 6
<lgierth> not really outdated though, just layed out a little differently...
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
domanic_ has quit [Ping timeout: 256 seconds]
voxelot has joined #ipfs
voxelot has quit [Ping timeout: 265 seconds]
domanic_ has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
jedahan has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
domanic_ has quit [Ping timeout: 246 seconds]
<whyrusleeping> gooood morning!
notduncansmith has joined #ipfs
<rschulman> howdy whyrusleeping
notduncansmith has quit [Read error: Connection reset by peer]
besenwesen is now known as besenghost
<pguth2> Gooooood morning :D
<whyrusleeping> hows everyone doing?
<cryptix> hey :) whyrusleeping
* cryptix is nerding at random
<cryptix> had a delightful day yesterday and now my plate for today was mostly empty
<cryptix> still have dishes and shopping on the stack but otherwise totally nice day
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<whyrusleeping> wooo!
<cryptix> yes :))
<whyrusleeping> thats always nice
<cryptix> even got my teeth a little into ipfs
<cryptix> maybe i can fix the putHandler on writable gateway later
<whyrusleeping> :D
<cryptix> whyrusleeping: i was going to use the add-link,rm-link stuff from object patch (which can handle bubbling up changes from a node to its root i was told)
<whyrusleeping> it can indeed!
<cryptix> perfect.. most of the code right now tries to deal with that and its a total mess
<whyrusleeping> yeah... just use merkledag/util
<whyrusleeping> its got everything you should need
<jbenet> cryptix: have you worked on that git protocol hack?
<jbenet> what was missing on it?
<cryptix> jbenet: i got derailed on the '2nd method to fetch objects'
<jbenet> (as a community, we should endeavor to finish the many hacks we have in-flight instead of context switching so much)
<jbenet> what was the 2nd method to fetch objects?
<cryptix> i need to get back into it but you basically need to handle the dependency graph of unpacked objects.. which is quite a mouthfull...
<cryptix> jbenet: packed vs unpacked objects
<cryptix> i think i'll scratch that stuff until somebod needs it
<cryptix> and focus on pushing
<cryptix> otherwise i need a libgit to handle parsing the objects trees
<cryptix> cloining from packed is easy and works
<cryptix> (re meta: totally.)
<whyrusleeping> jbenet: i updated rabin
<whyrusleeping> btw
bren2010 has joined #ipfs
<jbenet> whyrusleeping cool i'll CR in a bit
<jbenet> cryptix: i need it :D
<cryptix> jbenet: yea.. i hope not. those are cgo libgit2 bindings
<cryptix> jbenet: i think i can pull of push without full fledged git bindings
<jbenet> reming me why cgo matters?
<cryptix> well.. i fear it does all the os.Open stuff in c land
<cryptix> thus making it hard to port to vfs/ipfs
<cryptix> if needed we can go through >clone to /tmp and work there> back but id like to make it sexy :))
<cryptix> and again. i dont think this 2nd method for clone is actually needed if with do the ipfs-git-rehost dance with packed objects for now
<jbenet> yeah though non-existent is worse
<cryptix> if it makes more sense (dedup wise) to store them unpacked id like to discuss that with somebody more familiar with the process
<whyrusleeping> implementing the git object format stuff is pretty simple
<cryptix> or hand it over all together
<whyrusleeping> linus wrote some pretty basic formats
<cryptix> yea the pack format sure
atrapado has joined #ipfs
<cryptix> but then it goes into 'client ask s for hash x' you can just give it the object for that hash but to reconstruct the commit you need all the objects that it points to, too
<cryptix> thus you need an index of how they all fit together
<cryptix> basically you end up doing all the work that a packed repo already did for you
<cryptix> and i dont want to duplicate that right now
<cryptix> and again: not necessary for push at all
<whyrusleeping> ah
<whyrusleeping> okay then
<jbenet> hey mappum are you around?
<mappum> jbenet: yep, what's up?
<cryptix> if im wrong there is an issue and fork button on github.com/cryptix/git-remote-ipfs :)
notduncansmith has joined #ipfs
<jbenet> i'm looking into the file to multpart stuff in node-ipfs-api
notduncansmith has quit [Read error: Connection reset by peer]
<jbenet> is it one big multipart stream where everything is nested in a tree underneath?
<jbenet> or it it a sequence?
<jbenet> better put: is it a tree or a list
Tv` has joined #ipfs
<jbenet> i want to do the vinyl->multipart async, so returning a readable stream and have it start writing out before all the files are read
<mappum> i don't think i wrote that code, but it certainly can be either (in go-ipfs it is a tree)
<jbenet> ah
<jbenet> ok
mildred has quit [Quit: Leaving.]
voxelot has joined #ipfs
<mappum> hm, it might not be adding any child directories? https://github.com/ipfs/node-ipfs-api/blob/master/multipartdir.js#L74
<whyrusleeping> fun ipfs thing of the day: 'cat /dev/zero | ipfs add'
<whyrusleeping> or: 'dd if=/dev/zero bs=4M count=10000 | ipfs add'
<whyrusleeping> jbenet: working towards 100% test coverage on mfs pointed out a bug in the unixfs/format.go
<whyrusleeping> there, 84.5% isnt bad
<ipfsbot> [go-ipfs] whyrusleeping pushed 1 new commit to feat/mfs: http://git.io/vOQL8
<ipfsbot> go-ipfs/feat/mfs 0844025 Jeromy: test coverage!!...
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<whyrusleeping> daviddias: jbenet could one of you publish the node-ipfs-api to npm?
<daviddias> whyrusleeping: I can
<daviddias> Published to npm.
<daviddias> Released new version 2.1.1 successfully.
<daviddias> whyrusleeping: ^ :)
<whyrusleeping> wooo! :)
domanic_ has joined #ipfs
<daviddias> with tag and everything -> https://github.com/ipfs/node-ipfs-api/tree/v2.1.1 . whyrusleeping if you ever find yourself constantly publishing modules and want to avoid repeating all the commands, `npm-release` is a sweet tool
<whyrusleeping> isnt it just 'npm version patch' 'npm publish' ?
<daviddias> it also creates a tag on the git repo
<daviddias> and well, I believe that `npm version patch` wasn't there went it was first released
<whyrusleeping> oooh, okay
inconshreveable has joined #ipfs
<mappum> there is also a cool tool that does all that automatically: https://github.com/semantic-release/semantic-release
<mappum> as long as your commit messages follow the AngularJS conventions
<daviddias> mappum semantic-release is pretty cool :) met the dev at Data Terra Nemo (when I first learned about it)
<daviddias> still haven't adopted it to my workflow yet though
<mappum> i think it makes a lot of sense, the only big difference is changing the commit message conventions. i made a git template to make that easier to follow
<daviddias> wanna post the link herE?
besenghost is now known as besenwesen
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
a1uz10nn has joined #ipfs
<a1uz10nn> oy vey
notduncansmith has joined #ipfs
Leer10 has quit [Ping timeout: 260 seconds]
notduncansmith has quit [Ping timeout: 264 seconds]
simonv3 has joined #ipfs
bren2010 has quit []
bren2010 has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
jedahan has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
domanic_ has quit [Ping timeout: 240 seconds]
<jbenet> hey mafintosh or ogd: do you guys know of a "vinyl-tree" or "vinyl-flatten" type module? i basically need to take a stream of vinyl files, flatten into a hierarchy and walk it recursively. (to turn it into a multipart stream)
inconshreveable has quit [Remote host closed the connection]
Encrypt has joined #ipfs
inconshreveable has joined #ipfs
a1uz10nn has quit [Read error: Connection reset by peer]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
domanic_ has joined #ipfs
Guest90372 is now known as amiller
amiller has joined #ipfs
amiller has quit [Changing host]
konubinix has quit [Quit: ZNC - http://znc.in]
konubinix has joined #ipfs
freedaemon has joined #ipfs
<ipfsbot> [go-ipfs] whyrusleeping pushed 1 new commit to feat/mfs: http://git.io/vOQdQ
<ipfsbot> go-ipfs/feat/mfs 839f2da Jeromy: test for previously found bug in dagmod...
inconshreveable has quit [Ping timeout: 246 seconds]
Encrypt has quit [Quit: Quitte]
<whyrusleeping> krl: ping
voxelot has quit [Ping timeout: 255 seconds]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<whyrusleeping> nvm, figured it out
martinklepsch has quit [Ping timeout: 240 seconds]
martinklepsch has joined #ipfs
<edrex> is pinning an IPNS node something that's supported?
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
a1uz10nn has joined #ipfs
<rschulman> edrex: Everything you insert into IPFS is automatically pinned by your own node.
<rschulman> I believe
<rschulman> if your ipns node points to a hash that you didn’t insert, though, I don’t know what happens.
<a1uz10nn> can livestrean defcon?
voxelot has joined #ipfs
a1uz10nn has quit [Read error: Connection reset by peer]
patcon has joined #ipfs
bren2010_ has joined #ipfs
patcon has quit [Ping timeout: 264 seconds]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
dignifiedquire has quit [Quit: dignifiedquire]
a1uz10nn has joined #ipfs
bren2010 has quit [Remote host closed the connection]
bren2010 has joined #ipfs
bren2010 has quit [Remote host closed the connection]
bren2010 has joined #ipfs
bren2010 has quit [Client Quit]
bren2010 has joined #ipfs
bren2010 has quit [Client Quit]
bren2010 has joined #ipfs
domanic_ has quit [Ping timeout: 265 seconds]
bren2010 has quit [Remote host closed the connection]
bren2010 has joined #ipfs
bren2010 has quit [Remote host closed the connection]
<cryptix> edrex rschulman: i dont think you can pin /ipns/... directly (as in it will stay up to date)
<cryptix> you would have to remove the old pin at some point and i havn't seen any listening/event api (which is planned as pub/sub iirc) cc whyrusleeping
<cryptix> resolving /ipns/.. to /ipfs/ and pinning that is possible ofc
<cryptix> to drop just the hold pin's you would need some manual book-keeping
Encrypt has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
mildred has joined #ipfs
kbala has joined #ipfs
jedahan has joined #ipfs
jedahan has quit [Client Quit]
patcon has joined #ipfs
domanic_ has joined #ipfs
jedahan has joined #ipfs
domanic_ has quit [Remote host closed the connection]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
voxelot has quit [Ping timeout: 260 seconds]
dignifiedquire has joined #ipfs
mildred has quit [Ping timeout: 250 seconds]
mildred has joined #ipfs
patcon has quit [Ping timeout: 252 seconds]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
mildred has quit [Quit: Leaving.]
mildred has joined #ipfs
mildred has quit [Client Quit]
voxelot has joined #ipfs
voxelot has joined #ipfs
Leer10 has joined #ipfs
queue has joined #ipfs
qqueue has quit [Ping timeout: 260 seconds]
<edrex> who all was at the PDX meetup last month? trying to map faces to nicks. jbenet, kyledrake, ogd are the only ones I have so far
<edrex> seems like the pubsub thing is orthogonal to whether the peer implementation lets users pin IPNS nodes
<edrex> i mean, the peer could just poll until an effecient mechanism is available
<edrex> an important use case would automatic mirroring
<cryptix> edrex: agreed, but its basically all there to do it on top with scripts right now
domanic has joined #ipfs
inconshreveable has joined #ipfs
<edrex> oh, and caseorganic and bret
<bret> heyoo
<edrex> hi
<jbenet> edrex: who were you?
<jbenet> and hello o/
<bret> edrex: also mathpunk
<bret> new job taking all my time, apologies for my absence
<edrex> hi jbenet :) i think i was somewhat responsible for your talk going way over https://twitter.com/edrex
<edrex> bret: yeah, he doesn't irc
<edrex> is there much spec'd out around private sharing? i guess there are two possible approaches: cleartext objects where the source peer authenticates the request, or encrypted objects
<edrex> full disclosure: I'm authoring a detailed comparison of camlistore and ipfs
<edrex> or maybe private sharing is out of scope.
<edrex> camlistore takes the first approach: the requester provides the hash of a certificate signed by the owner of the object declaring that the requester is allowed to access it
<edrex> there's also support for transitive sharing. in that case the requester has to provide the path back to the directly shared object
<edrex> it's a bit awkward though
<edrex> btsync's approach seems pretty straightforward to implement on IPFS tho
<edrex> you basically just specify a root that you want to share, and a list of peer pubkeys to share with. with btsync it's mutable, and each peer share can either be RO or RW
dignifiedquire has quit [Quit: dignifiedquire]
vijayee_ has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
a1uz10nn has quit [Read error: Connection reset by peer]
MrKeon has joined #ipfs
<MrKeon> Hello
jedahan has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<voxelot> think we are looking at cjdns here to accomplish data privacy
<voxelot> but thanks for that info edrex, cool stuff that i'm looking into now :)
<edrex> i found https://github.com/syncthing/syncthing via that last doc, thinking to use that. Nice to use a tool purpose-built rather than to try to shoe horn a zillion use cases into one tool.
Encrypt has quit [Quit: Quitte]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
Eudaimonstro has joined #ipfs
Eudaimonstro has quit [Remote host closed the connection]
Eudaimonstro has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
atrapado has quit [Quit: Leaving]
<cryptix> edrex: syncthing is nice for a single-user dropbox replacement
<cryptix> using it with multiple people gets messy... :-/
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<edrex> cryptix: setting it up now for single user. does it support RO/RW authorizations like btsync?
<edrex> guess i'll find out soon enough :)
Eudaimonstro has quit [Ping timeout: 240 seconds]
inconshreveable has quit [Read error: Connection reset by peer]
inconshreveable has joined #ipfs
freedaemon has quit [Remote host closed the connection]
<whyrusleeping> MrKeon: heyo!
<MrKeon> What up pinball masta!!
<whyrusleeping> MrKeon: hows it goin?
Eudaimonstro has joined #ipfs
okket_ has quit [Excess Flood]
okket has joined #ipfs
<jbenet> edrex oh hi! o/ welcome
<ipfsbot> [go-ipfs] whyrusleeping pushed 1 new commit to feat/mfs: http://git.io/vOdMI
<ipfsbot> go-ipfs/feat/mfs 169c669 Jeromy: add in write and mkdir commands...
<MrKeon> The life of WebUI is interesting at the moment
tilgovi has joined #ipfs