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/
rschulman_ has joined #ipfs
rschulman_ has quit [Client Quit]
therealplato has quit [Ping timeout: 240 seconds]
rschulman_ has joined #ipfs
<kbala> hey jbenet can you still talk today?
<rschulman_> whyrusleeping: You should drop 0.3.6 like its hot.
<voxelot> can i create a for loop with the API to pound the DHT with files atm?
<voxelot> or would the garbage collection be good enough to stop that
gordonb has quit [Quit: gordonb]
gordonb has joined #ipfs
gordonb has quit [Client Quit]
voxelot has quit [Ping timeout: 244 seconds]
hellertime has joined #ipfs
<whyrusleeping> krl, could you take a look at why drag and dropping files on the webui doesn't work?
gordonb has joined #ipfs
<rschulman_> ugh, god, sometimes I forget why I hate javascript so much
<rschulman_> then I have to code in it again
rschulman_ has quit [Quit: rschulman_]
cdata4 has quit [Ping timeout: 252 seconds]
rschulman_ has joined #ipfs
therealplato has joined #ipfs
gordonb has quit [Quit: gordonb]
rschulman_ has quit [Client Quit]
rschulman_ has joined #ipfs
gordonb has joined #ipfs
<rschulman_> aw, nobody wants to bitch about JS with me? :(
<whyrusleeping> rschulman_: lol, i'm busy at the moment :P
<rschulman_> well shit
<rschulman_> :)
rschulman_ has quit [Quit: rschulman_]
rschulman_ has joined #ipfs
<zignig> whyrusleeping: http on the api is still not working ....
<whyrusleeping> zignig: got a repro?
<zignig> run ipfs ( latest master ) , run astralboot.
<whyrusleeping> lol, how does astralboot interact with ipfs?
<zignig> golang http calls to the api
<pjz> I'm seriously considering doing my next 'js' project in pypyjs(.org)
rschulman_ has quit [Quit: rschulman_]
<whyrusleeping> zignig: so like, http.Get(...) stuff?
rschulman_ has joined #ipfs
<whyrusleeping> or are you using ipfs-shell?
<krl> whyrusleeping: yes i could, i'll just have to install gnome again :)
<whyrusleeping> zignig: make sure youre closing your http response bodies when youre done with them
<zignig> I'll check , I might not be.
<whyrusleeping> i dont know what changed recently, but we're pretty sensetive to that happening for some reason
<whyrusleeping> it could be that we're now hijacking all of the connections serverside
<whyrusleeping> which is messing with the connection pooling logic clientside
<zignig> if you look at the irc logs , I posted the commit that it happend on.
<whyrusleeping> i should check that...
<whyrusleeping> zignig: ah, the trailers commit
voxelot has joined #ipfs
voxelot has joined #ipfs
<zignig> hmmm, I may not be closing them properly.
<zignig> will have to take a look tonight.
<whyrusleeping> jbenet: it could be that clientside connection pooling doesnt like us hijacking the connections
rschulman_ has quit [Quit: rschulman_]
rschulman_ has joined #ipfs
reit has joined #ipfs
rschulman_ has quit [Read error: Connection reset by peer]
rschulman_ has joined #ipfs
<rschulman_> whyrusleeping: Can you think of a security reason why we shouldn’t pass a path to ipfs cat?
<rschulman_> so /api/v0/cat/<hash>/path/from/hash ?
<whyrusleeping> rschulman_: no, we allow that
<whyrusleeping> theres no such thing as the backreference '..'
rschulman_ has quit [Client Quit]
rschulman_ has joined #ipfs
<voxelot> had any luck getting calls to ipfs in javascript yet rschulman_?
<rschulman_> whyrusleeping: it works on the command line but I get a 404 not found if I try through a web browser
<gordonb> whyrusleeping: https://www.file.io/
<rschulman_> voxelot: Yeah, its totally working
<whyrusleeping> rschulman_: oooh, you have to use the arg thing
<voxelot> i noticed that the add example doesn't return anything which makes me think how am i supposed to get the hash of the files aded
<rschulman_> but really cumbersome to traverse the dag
<rschulman_> whyrusleeping: ohhhh
<rschulman_> ok, hang on then.
<whyrusleeping> /api/v0/cat?arg=<hash>/path/to/thing
gordonb has quit [Quit: gordonb]
<zignig> the /'s after the arg need to be %2F
<whyrusleeping> zignig: good catch
<zignig> html escaping for the win.
<zignig> (sometimes)
<rschulman_> whyrusleeping: I’ll play with that more tomorrow
<rschulman_> bed for me now
<rschulman_> g'nite
rschulman_ has quit [Quit: rschulman_]
gordonb has joined #ipfs
<voxelot> so we need to /api/v0/cat?arg=<hash>%2F/path%2F/to%2F/thing right zignig
gordonb has quit [Quit: gordonb]
<zignig> voxelot: tes
<zignig> *yes
<zignig> without the slashes
<voxelot> awesome, thanks man
<voxelot> or woman
<voxelot> shouldn't assume all devs are males :)
cdata4 has joined #ipfs
<zignig> no problem.
hellertime has quit [Quit: Leaving.]
voxelot has quit [Ping timeout: 244 seconds]
voxelot has joined #ipfs
pinbot has quit [Remote host closed the connection]
pinbot has joined #ipfs
zabirauf has joined #ipfs
cdata4 has quit [Ping timeout: 265 seconds]
tilgovi has quit [Ping timeout: 264 seconds]
voxelot has quit [Ping timeout: 256 seconds]
cdata4 has joined #ipfs
hrjet has quit [Ping timeout: 244 seconds]
hrjet has joined #ipfs
hrjet has quit [Changing host]
hrjet has joined #ipfs
<ei-slackbot-ipfs> <ebuchman> hey guys. I took a shot at adding support for posting directories to the gateway. would appreciate some feedback if/when someone has a chance before making a PR: <https://github.com/eris-ltd/go-ipfs/commit/444424ccc283a2477726759dc359887e987aba41>
sbruce has quit [Ping timeout: 260 seconds]
sbruce has joined #ipfs
<mappum> that's it, the singularity has happened. now we can replace ourselves with AI: https://gist.github.com/mappum/5dfa50bce12ea37938b9
sbruce has quit [Ping timeout: 246 seconds]
<krl> SetMultiRemove :)
www has quit [Ping timeout: 260 seconds]
slothbag has joined #ipfs
sbruce has joined #ipfs
sharky has quit [Ping timeout: 246 seconds]
zabirauf has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sharky has joined #ipfs
<slothbag> hey all, my IPFS (latest master) is throwing 403 - Forbidden in the webgui for all the api calls.. is this the same as the http get bug from a few days ago?
<slothbag> nah cant be.. because I was getting "Upgrade available" messages last time
tilgovi has joined #ipfs
cdata4 has quit [Ping timeout: 244 seconds]
Tv` has quit [Quit: Connection closed for inactivity]
cdata4 has joined #ipfs
zabirauf has joined #ipfs
zabirauf has quit [Max SendQ exceeded]
<cryptix> hell0w
<zignig> cryptix: greetings your cypheriness.
pfraze has quit [Remote host closed the connection]
<cryptix> :)) hey zignig
slothbag has quit [Remote host closed the connection]
<zignig> been busy ?
<cryptix> way too busy
<cryptix> way way too busy today and tomorrow - hopefully starting less-busy cycle next week
<zignig> sleep++
<zignig> :)
<zignig> with a full time job and two small children, busy is the norm for me.
<zignig> cryptix: interesting busy or crazy busy ?
<cryptix> well...
<cryptix> 'im too young for a burn out'-busy
besenwesen has quit [Quit: ☠]
<cryptix> two obligations that both expect full time attention leading to trouble in family life leading to more stress.. i have a circuitbreaker (music festival) coming up in two weeks.. i hope that will normalize things a bit
besenwesen has joined #ipfs
besenwesen has joined #ipfs
<cryptix> its all 'interesting' but way to much
<zignig> I know that feeling ( a few years ago ).
<zignig> My advice to you .... Family must _always_ come first.
cdata4 has quit [Ping timeout: 250 seconds]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<cryptix> zignig: yea, i thought that goes without saying.. its frightning how you can hurt people you love without noticing
besenwesen has quit [Quit: ☠]
besenwesen has joined #ipfs
besenwesen has quit [Changing host]
besenwesen has joined #ipfs
<zignig> it is weird , but yes I have done that before too.
<cryptix> back to ipfs: i tried go1.5b2 and b3 with it and found a weird crasher - https://github.com/golang/go/issues/11931
<cryptix> cc jbenet whyrusleeping
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
js2a 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]
dbolser has quit [Remote host closed the connection]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
sff has quit [Read error: Connection reset by peer]
sff has joined #ipfs
kbala has quit [Quit: Connection closed for inactivity]
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]
Leer10 has quit [Ping timeout: 252 seconds]
MatrixBridge has quit [Ping timeout: 272 seconds]
MatrixBridge has joined #ipfs
uhhyeahbret has quit [Ping timeout: 252 seconds]
uhhyeahbret has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
voxelot has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
voxelot has quit [Ping timeout: 260 seconds]
voxelot has joined #ipfs
slothbag has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
border has joined #ipfs
border_ has joined #ipfs
border_ has quit [Ping timeout: 240 seconds]
border has quit [Ping timeout: 252 seconds]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
voxelot has quit [Ping timeout: 250 seconds]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
hellertime has joined #ipfs
js2a has quit [Remote host closed the connection]
rschulman_ has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
rschulman_ has quit [Quit: rschulman_]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
rschulman_ has joined #ipfs
rschulman_ has quit [Client Quit]
rschulman_ has joined #ipfs
rschulman_ has quit [Client Quit]
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]
www has joined #ipfs
JasonWoof has quit [Quit: leaving]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
therealplato has quit [Ping timeout: 272 seconds]
pfraze has joined #ipfs
therealplato has joined #ipfs
therealplato1 has joined #ipfs
therealplato has quit [Ping timeout: 244 seconds]
rschulman_ 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]
rschulman_ has left #ipfs [#ipfs]
slothbag has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
domanic has joined #ipfs
www has quit [Ping timeout: 240 seconds]
<zignig> jbenet: negative on fix.
<zignig> have been making sure all the connections are closed in astral boot , but still getting random fails.
<zignig> next ( tomorrow , time for bed ) is to make a lot of requests to the api and get a fail (or not) rate.
<zignig> gnite...
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
www has joined #ipfs
pfraze has quit [Remote host closed the connection]
<pjz> zignig: gnite!
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<rschulman> ethereum network goes live in like an hour, which is kinda cool
* whyrusleeping crawls out of bed
<cryptix> :)
<cryptix> hey guys
<whyrusleeping> cryptix: heyo!
<whyrusleeping> long time no see!
therealplato1 has quit [Ping timeout: 256 seconds]
<cryptix> yea... life isnt treating me well currently
<whyrusleeping> :(
<whyrusleeping> come to seattle!
pfraze has joined #ipfs
<rschulman> whyrusleeping: morning. :)
<cryptix> yea.. well.. i'm maybe close to a point where dealing with DHS is better than whats going on in my life but not yet ;)
<whyrusleeping> rschulman, morning!
<rschulman> how’s things?
<whyrusleeping> cryptix, Lol. I'll be waiting
<freedaemon> guys, just tried installing ipfs on a new iMac
<whyrusleeping> rschulman, gonna drop 0.3.6 after coffee
<freedaemon> I first had to install Go
<whyrusleeping> which, brb coffee
<rschulman> whyrusleeping: Yay!
<cryptix> btw looks like our tests are weird enough to trip up go1.5 https://github.com/golang/go/issues/11931
<freedaemon> and for some reason the Go installation didn't put ~/.go/bin in the path
<freedaemon> so 'ipfs' command wasn't working until I manually fixed that
<rschulman> freedaemon: It doesn’t do that because different people may want their installation in different places.
<cryptix> freedaemon: how did you install go?
<cryptix> (you dont need to if you just want ipfs btw)
<freedaemon> maybe update docs to point this out in FAQ
<freedaemon> I installed Go via https://golang.org/dl/
<rschulman> update the IPFS docs?
<rschulman> yeah, if all you want is the ipfs binary, I would suggest downloading one of the precompiled versions from ipfs.io
<freedaemon> and the OSX 10.8 pkg
<cryptix> freedaemon: what rschulman just said
<freedaemon> nah, I'd prefer to compile from source
<freedaemon> just giving some feedback on the installation process :-)
therealplato has joined #ipfs
<cryptix> i never used the .pkg install on osx, just got it through homebrew or installed go from source itself
<freedaemon> it was non-intuitive that
<rschulman> if you’re the kind of person who likes to compile from source, you should be able to figure out how to set up the tool chain. :)
<freedaemon> go get -u github.com/ipfs/go-ipfs/cmd/ipfs
<freedaemon> worked
<freedaemon> but then ipfs was not working
<rschulman> freedaemon: I think the problem you have is with go, not ipfs, is what I guess I’m saying.
<cryptix> $GOPATH/bin isn't in $PATH by default because it depends on where you choose to put your $GOPATH
<rschulman> though I do agree with you that this aspect of go isn’t all that intuitive.
<freedaemon> yes
<freedaemon> so imagine a scenario that there is a user
<freedaemon> that cares about IPFS
<freedaemon> but not about Go
<freedaemon> they'd be confused about what happened and why is IPFS not working
<rschulman> I would tell them to use the precompiled binaries.
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<freedaemon> and you don't want to put a FAQ question up?
<cryptix> or use homebrow (brew install ipfs) which also takes care of installing go properly
<cryptix> freedaemon: it is in the 'install go' documentation
<freedaemon> after you install go
<freedaemon> 'go' from command line works
<freedaemon> given the illusion that go was installed properly
<rschulman> freedaemon: Again, your problem is with the go install process/documentation
<rschulman> not every go project that doesn’t disclaim the go documentation
<freedaemon> ah forget it
<cryptix> a hint about adding $GOPATH/bin to $PATH might be in order
<freedaemon> I'm just trying to give you some feedback
<rschulman> I mean, cryptix is right
<rschulman> it won’t hurt us to do
<rschulman> so sure
<rschulman> but if you got caught up on installing go, please talk to the go folks too
<rschulman> sorry, I don’t mean to push you away
<freedaemon> here is my point
<freedaemon> when I installed go
<freedaemon> and tried testing if go was installed properly
<freedaemon> I concluded that yes it was
<rschulman> right
<freedaemon> then the next step is
<freedaemon> go get -u github.com/ipfs/go-ipfs/cmd/ipfs
<freedaemon> which also completes with out giving any errors
www has quit [Ping timeout: 246 seconds]
<freedaemon> and then 'ipfs' doens't work
<freedaemon> which makes me think that ipfs (a project that is much less stable than go) didn't install properly and there is some bug/error
<freedaemon> with absolutely no hints about what the error can possibly be
<freedaemon> I had to waste 5 mins to figure out what happened
<cryptix> freedaemon: you are right, that steps is weird if you are unfamiliar with go
<cryptix> 'go get' wouldnt run if you havnt set GOPATH.. so.. the ipfs binary ending up in $GOPATH/bin isnt that straight forward espc than needing to add $GOPATH/bin to $PATH
<cryptix> freedaemon: would this have helped? https://github.com/ipfs/website/pull/34/files
<cryptix> this is on http://ipfs.io/docs/install/
<freedaemon> I think so
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<whyrusleeping> freedaemon: you arent the only one to come to us with this issue
<whyrusleeping> freedaemon: i think the issue is that the section: http://golang.org/doc/install#gopath
<freedaemon> I think the source of confusion is that the Go docs tell you to add /usr/local/go/bin to PATH
<freedaemon> after which 'go' starts working
<whyrusleeping> and they dont say that the GOPATH is just as important
<freedaemon> yep, exactly
<whyrusleeping> yeah, we should probably note that.
<cryptix> whyrusleeping: heh.. i wonder when any browser will find a sensible way to highlight anchors at the bottom of the page...
<whyrusleeping> cryptix: probably never, lol
<rschulman> ugh, freedaemon that is a really good point
<rschulman> that’s some bad installation instructions.
<rschulman> setting up the environment isn’t even on the same page.
<cryptix> rschulman: hey.. they made it bold.... :P
<rschulman> lol
<rschulman> indeed
Tv` has joined #ipfs
<freedaemon> I'd say easiest is to just expand on the Go installation instructions on the IPFS github doc. It's just a couple of extra lines/steps
<freedaemon> point to the the Go download directly and then here are the steps to install Go. Simple
gordonb has joined #ipfs
<ipfsbot> [go-ipfs] whyrusleeping tagged v0.3.6 at master: http://git.io/vOeM3
<cryptix> yey :)
<ipfsbot> [go-ipfs] muneeb-ali opened pull request #1542: Update README.md re $GOPATH/bin (master...patch-1) http://git.io/vOeMa
<pjz> woo, IPFS gets some press
<whyrusleeping> cryptix: they bisected that go bug and found something involving maps :)
<whyrusleeping> we found a real bug :D
<pjz> from http://lwn.net, reporting on the EuroPython 2015 3rd day keynote
<cryptix> whyrusleeping: yup :)
<whyrusleeping> pjz: wheres the press?
<cryptix> pjz: that hpk i think :)
<cryptix> was*
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
headbite has joined #ipfs
null_radix has quit [Excess Flood]
JasonWoof has joined #ipfs
null_radix has joined #ipfs
gordonb has quit [Quit: gordonb]
<pjz> whyrusleeping: it's in this week's LWN ; I can msg you a free link to the article if you want
notduncansmith has joined #ipfs
<whyrusleeping> pjz: sure
notduncansmith has quit [Read error: Connection reset by peer]
<pjz> whyrusleeping: there ya go
gordonb has joined #ipfs
<pjz> it's a reasonable article, but press is press :)
gordonb has quit [Client Quit]
Tv` has quit [Read error: Connection reset by peer]
Tv` has joined #ipfs
<whyrusleeping> pjz: pretty good stuff
<whyrusleeping> i still havent managed to find coffee...
gordonb has joined #ipfs
* pjz offers you some penguin mints
otherchas__ has quit [Remote host closed the connection]
hosh__ has quit [Remote host closed the connection]
kyledrake has quit [Remote host closed the connection]
dandroid has quit [Remote host closed the connection]
kumavis has quit [Write error: Broken pipe]
daviddias has quit [Remote host closed the connection]
zrl has quit [Remote host closed the connection]
mikolalysenko has quit [Remote host closed the connection]
jonl has quit [Remote host closed the connection]
ehd has quit [Remote host closed the connection]
henriquev has quit [Remote host closed the connection]
richardlitt has quit [Remote host closed the connection]
bret has quit [Remote host closed the connection]
gordonb has quit [Client Quit]
voxelot has joined #ipfs
voxelot has quit [Changing host]
voxelot has joined #ipfs
<rschulman> whyrusleeping: Is coffee elusive or something in Seattle?
ehd has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<jbenet> pjz: mind linking me too?
hosh__ has joined #ipfs
<pjz> jbenet: there you go
therealplato has quit [Read error: Connection reset by peer]
<ipfsbot> [go-ipfs] jbenet pushed 2 new commits to master: http://git.io/vOvTr
<ipfsbot> go-ipfs/master b730f1e Juan Benet: Merge pull request #1542 from muneeb-ali/patch-1...
<ipfsbot> go-ipfs/master a70db39 Muneeb Ali: Update README.md
<whyrusleeping> rschulman: no, i'm just lazy
<whyrusleeping> did i misunderstand what ethereum was? i thought it was a platform for decentralized computation
<whyrusleeping> it looks like its just another orgy of hashing for money
<cryptix> whyrusleeping: looks like that bug is unfolding quite interestingly
<whyrusleeping> cryptix: oooh, interesting
rubiojr has quit [Remote host closed the connection]
ogd has quit [Remote host closed the connection]
feross has quit [Remote host closed the connection]
caseorganic has quit [Remote host closed the connection]
ladekjaer has quit [Remote host closed the connection]
nrw has quit [Remote host closed the connection]
therealplato has joined #ipfs
<pjz> whyrusleeping: it's both; the intention is to provide computational contracts
<ipfsbot> [go-ipfs] jbenet created release from v0.3.6 (+0 new commits): http://git.io/vOvqZ
<whyrusleeping> jbenet: ++
thelinuxkid has joined #ipfs
dignifiedquire has quit [Quit: dignifiedquire]
<pjz> whyrusleeping: like: watch github, and for every day that whyrusleeping commits at least X new lines to ipfs, send him .1 BTC
<whyrusleeping> pjz: hrm... okay
<pjz> whyrusleeping: or: if the money in account X gets to be over $Y, send it to person Z; if that doesn't happen before time T, send it all back to its originators
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<ipfsbot> [go-ipfs] jbenet pushed 1 new commit to master: http://git.io/vOvYB
<ipfsbot> go-ipfs/master 244c957 Juan Batiz-Benet: updated install instructions...
<pjz> whyrusleeping: the base idea being that the system can be a trustworthy intermediary
<whyrusleeping> jbenet: also need to mention actually setting GOPATH
rubiojr has joined #ipfs
bret has joined #ipfs
kumavis has joined #ipfs
zrl has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<pjz> is there a way to set up ipns aliases?
otherchas__ has joined #ipfs
<pjz> or is via DNS the only way ?
<whyrusleeping> pjz: aliases locally?
<pjz> whyrusleeping: yes
<whyrusleeping> not yet, i want them though
<pjz> whyrusleeping: like a kind of /etc/hosts file for ipns :)
<whyrusleeping> but it doesnt make a lot of sense to do that before we finish the ipns implementation
<whyrusleeping> so i've held off
<pjz> I thought /ipns/ was workingish?
mikolalysenko has joined #ipfs
ogd has joined #ipfs
<whyrusleeping> pjz: yeah, it works
<whyrusleeping> so if you build things that use it, the interface is very unlikely to change much
henriquev has joined #ipfs
<whyrusleeping> but its not super reliable because we need to work out validity of records
<whyrusleeping> and repropogation
<whyrusleeping> all of this should be happening quite soon
<pjz> aliases seem like they'd be easy: if /ipns/<x>, look up x in a flat file somewhere and turn it into Qm...
ladekjaer has joined #ipfs
<whyrusleeping> pjz: yeah, could just have them in the config file
feross has joined #ipfs
<pjz> depends on how you're doing update/reread of the config file
nrw has joined #ipfs
<pjz> ~/.ipfs/names could be simple key:value
<pjz> or even key<whitespace>value
<pjz> ala /etc/hosts
jonl has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
richardlitt has joined #ipfs
gordonb has joined #ipfs
<pjz> whyrusleeping: geez, you even already have the mechanism in your test code
thelinuxkid has quit [Quit: Leaving.]
<whyrusleeping> pjz: lol, we have 'local'
<rschulman> pjz: Or you could keep it in your own ipns already
<rschulman> ipns/local/.config/names
<rschulman> :)
<rschulman> course then anyone could read them
<pjz> rschulman: right, which is why not to do that ;)
<rschulman> pjz: Well, encrypt them with your node’s private key and you’re ok.
<rschulman> whyrusleeping ^ that would be a nice feature to think about doing soon too. ;)
<pjz> whyrusleeping: what's 'local' exactly?
<rschulman> pjz: Its just an alias for your own ipns space
<whyrusleeping> pjz: local redirects to your own key
<whyrusleeping> and right now its kinda special cased
kyledrake has joined #ipfs
daviddias has joined #ipfs
<pjz> hm, I'd try a proquint but it seems difficult to go from my hash to the right proquint string
dandroid has joined #ipfs
<whyrusleeping> pjz: there needs to be a tool
notduncansmith has joined #ipfs
<pjz> whyrusleeping: it should go from base64(that's what the hashes are in now, yes?) to proquint
notduncansmith has quit [Read error: Connection reset by peer]
headbite has quit [Remote host closed the connection]
<whyrusleeping> pjz: theyre currently in base58
caseorganic has joined #ipfs
headbite has joined #ipfs
<ipfsbot> [go-ipfs] ebuchman opened pull request #1543: core/corehttp: add support for posting directories to gateway (master...post_dir_gateway) http://git.io/vOvd5
headbite has quit [Remote host closed the connection]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
Leer10 has joined #ipfs
voxelot has quit []
voxelot has joined #ipfs
voxelot has quit [Client Quit]
voxelot has joined #ipfs
voxelot has quit [Changing host]
voxelot has joined #ipfs
atrapado has joined #ipfs
cdata4 has joined #ipfs
<pjz> whyrusleeping: ...ew
<cryptix> whyrusleeping: the escape analysis bug i found is nearly fixed :] fix CL already reviewed
<cryptix> "i found" ofc
<whyrusleeping> lol
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
thelinuxkid has joined #ipfs
www has joined #ipfs
<Tv`> stubbing your toe on the coffee table in the darkness is a method of finding it
dignifiedquire has joined #ipfs
<whyrusleeping> Tv`: just imagine being blind
<Tv`> we have a blind dog, no need for imagination here
<cryptix> uhm... whyrusleeping 'ipfs id' still returns 0.3.5 on latest master?
<whyrusleeping> cryptix: fffff
<cryptix> rebuild on two hosts :x
www has quit [Ping timeout: 244 seconds]
<ipfsbot> [go-ipfs] whyrusleeping pushed 1 new commit to master: http://git.io/vOfqV
<ipfsbot> go-ipfs/master d50def3 Jeromy: go-ipfs version 0.3.6 (config version bump)...
<ipfsbot> [go-ipfs] whyrusleeping merged master into v0.3.6: http://git.io/vOfqD
<whyrusleeping> cryptix: yeah... although that one seems slightly different
<rschulman> huh
<rschulman> on mac os and colloquy a file:///ipfs/<hash> url opens in the finder instead of a browser.
<whyrusleeping> rschulman: that makes sense
<rschulman> no, it totally does
<rschulman> but I’m still thinking about how we shoehorn ipfs links into browsers.
<rschulman> without having to rewrite everything. :)
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]
<cryptix> anyone know the author of the ipfs addon for firefox? im confused why it handles ipfs:$hash but not /ipfs/$hash
<rschulman> there’s an ipfs addon for firefox??
<whyrusleeping> jbenet: it broke
_whitelogger____ has joined #ipfs
insanity54_ is now known as insanity54
daviddias has joined #ipfs
kyledrake has joined #ipfs
xelra has joined #ipfs
<mappum> it's checking if the referer == "http://localhost", but it should be checking if the host in the referer URL is localhost
<whyrusleeping> mappum: okay, so i should parse the referrer using a url parser and compare the host portion, yeah?
<mappum> right, and if we do it that way then instead of using this list: https://github.com/ipfs/go-ipfs/blob/8a75c755d449d96b27af72bc67257a12d8b38eef/commands/http/handler.go#L58-L63, we should use just "localhost" and "127.0.0.1"
notduncansmith has joined #ipfs
<whyrusleeping> mappum: sounds good
notduncansmith has quit [Read error: Connection reset by peer]
ei-slackbot-ipfs has quit [Remote host closed the connection]
ei-slackbot-ipfs has joined #ipfs
<pjz> whyrusleeping: is there a way to get the full public key of a remote node?
<whyrusleeping> pjz: uhm... good question
<whyrusleeping> one se
<whyrusleeping> c
<whyrusleeping> pjz: 'ipfs id <peer ID>'
<whyrusleeping> will give you their public key
gordonb has quit [Quit: gordonb]
kbala has joined #ipfs
<sprintbot> Sprint Checkin! [whyrusleeping jbenet cryptix wking lgierth krl kbala_ rht__ daviddias dPow chriscool gatesvp]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
dignifiedquire has quit [Quit: dignifiedquire]
voxelot has quit [Ping timeout: 244 seconds]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
JasonWoof has quit [Ping timeout: 260 seconds]
JasonWoof has joined #ipfs
<freedaemon> design question: looks like mostly focuses on immutable storage and for mutable storage there is basically some variant of a SFS-style self-certifying naming
<freedaemon> how are the SFS-style names then mapped/bound to the "virtual root"
<freedaemon> I guess what I'm really looking for is the different between immutable storage naming and mutable storage naming
tilgovi has quit [Remote host closed the connection]
<pjz> ipns maps a hash of your public key to an immutable name that's been encrypted with the private key.
tilgovi has joined #ipfs
<whyrusleeping> sprintbot: landed 0.3.6, got rabin fingerprinting implemented, and debugging the webui not behaving
gordonb has joined #ipfs
<Luzifer> hmm does anyone know about the existence of a method to reliable checksum a struct?
<whyrusleeping> Luzifer: you mean just a generic struct?
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<Luzifer> whyrusleeping: I mean a configuration like that one for the jenkins container here: https://github.com/Luzifer/dockermanager#development-status
<Luzifer> so not only to check whether the image changed but to check whether a single piece of data changed in it
<ipfsbot> [go-ipfs] whyrusleeping created fix/allowed-origins (+1 new commit): http://git.io/vOJf6
<ipfsbot> go-ipfs/fix/allowed-origins 2b520b0 Jeromy: fix allowed origins to make webui work again...
<Luzifer> I thought about checksumming a json export but afaik the json may change the order of the elements randomly which would change the hash
<ipfsbot> [go-ipfs] whyrusleeping opened pull request #1544: fix allowed origins to make webui work again (master...fix/allowed-origins) http://git.io/vOJJm
<whyrusleeping> Luzifer: you can use reflection and sort the order of hashing things alphabetically by field name
<whyrusleeping> it probably works
<whyrusleeping> or
<whyrusleeping> marshal to a json thing and then back to map[string]interface{}
<whyrusleeping> enumerate the strings, and hash things in alphabetical order of the strings (same thing as reflection option, minus actually touching reflection)
<Luzifer> hmm :( had the hope there was something ready-to-use
<whyrusleeping> Luzifer: oh, cool
<whyrusleeping> i didnt know order was guaranteed
<Luzifer> me too
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
mildred has joined #ipfs
voxelot has joined #ipfs
hellertime has quit [Quit: Leaving.]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<daviddias> whyrusleeping: use this -> https://github.com/feross/drag-drop
<daviddias> :)
mildred has quit [Quit: Leaving.]
Encrypt 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]
pinbot has quit [Ping timeout: 250 seconds]
cblgh has quit [Ping timeout: 250 seconds]
cblgh has joined #ipfs
pinbot has joined #ipfs
ruby32 has quit [Ping timeout: 255 seconds]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<ReactorScram> The IPFS daemon has commands like "pin" and "unpin" right? And if something is unpinned, it will eventually be garbage-collected?
<voxelot> it's supposed to be, i have seen posts about the level db not getting reduced thoough, not sure if they have fixed that
<ReactorScram> I'm kind of beating around the bush. What I'm wondering is, with one IPFS daemon / node per computer, but multiple client apps, is there a way to only unpin when all client apps no longer want something
<whyrusleeping> ReactorScram: yeah, the commands are 'ipfs pin add' and 'ipfs pin rm'
<whyrusleeping> and once its unpinned, you can run 'ipfs repo gc' to garbage collect the unused data
<ReactorScram> Sicne it may be that two apps have similar kinds of data, if they're both music players or something
<ReactorScram> Also if that memory leak was fixed, I'll start running my node again
www has joined #ipfs
<voxelot> anyone here been able to get the json api to run with eclipse tomcat server?
<voxelot> getting tons of errors like it cant find the node mobules from browserify
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]
<ipfsbot> [go-ipfs] whyrusleeping created feat/real-rabin (+2 new commits): http://git.io/vOJhO
<ipfsbot> go-ipfs/feat/real-rabin 408550e Jeromy: use rabin fingerprinting for a chunker...
<ipfsbot> go-ipfs/feat/real-rabin 18d60c7 Jeromy: implement rabin fingerprinting as a chunker for ipfs...
domanic has quit [Ping timeout: 264 seconds]
Encrypt has quit [Quit: Sleeping time!]
<ipfsbot> [go-ipfs] whyrusleeping opened pull request #1545: Feat/real rabin (master...feat/real-rabin) http://git.io/vOJjh
www has quit [Ping timeout: 244 seconds]
pfraze has quit [Remote host closed the connection]
www has joined #ipfs
<ipfsbot> [go-ipfs] whyrusleeping pushed 1 new commit to feat/real-rabin: http://git.io/vOUTK
<ipfsbot> go-ipfs/feat/real-rabin dc4a48e Jeromy: vendor correctly...
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<voxelot> anyone had problems with fs getting lost when browserify bundles? what is fs?
<voxelot> node.js file system?
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<whyrusleeping> voxelot: i just learned what browserify actually does
domanic has joined #ipfs
<voxelot> yeah it's giving me a headache
<whyrusleeping> me too
<voxelot> whats the easiest setup on node to get your test code working?
<whyrusleeping> 'sudo pacman -S npm' is as far as ive gotten
* whyrusleeping writes a lot of go, but not much of that scripty java stuff
<voxelot> or what local web server shoyuld i run
<whyrusleeping> which test code?
<voxelot> your node-api example
<voxelot> which is what npm pull and then browserify tries to bundle
<whyrusleeping> i honestly have no idea, mappum or daviddias or krl are going to be the people to ask
therealplato1 has quit [Ping timeout: 265 seconds]
www has quit [Ping timeout: 246 seconds]
<voxelot> rschulman also got it to work with browserify too if you get to chat with him
atrapado has quit [Quit: Leaving]
<daviddias> voxelot: I'm not sure if I understood the question
<daviddias> JSON API on a tomcat server?
<daviddias> You can bundle your client side code with Node.js
<daviddias> and serve it from your tomcat server
therealplato has joined #ipfs
<voxelot> right and it seems to work
<voxelot> just when i got to bundle with browserify, i lose things like fs and get a ton of errors
<voxelot> here's what i did, created a directory on my tomcat web platform. created an index.js that holds the same code as the example for the node-api on the github
<daviddias> you have to apply brfs transform to enable fs
<voxelot> ohh whats that :D
<voxelot> transform?
<daviddias> voxelot: doesn't work like
<voxelot> i install npm install brfs
notduncansmith has joined #ipfs
<daviddias> tomcat will not do browserify for you
<daviddias> (or that I know of )
notduncansmith has quit [Read error: Connection reset by peer]
<voxelot> no im using browserify to bundle
<voxelot> just putting the files on tomcat
<daviddias> does browserify give you an error?
<voxelot> nope
<daviddias> so it is not being bundled :)
<voxelot> just the consol debug in chrome saying fs cant be founf
<daviddias> here is an example how to browserify with brfs
<voxelot> yup i put that into my package.json
<daviddias> is a good resource
<voxelot> yeah its just weird, when browser went to append everythign into the one js file it just left out the var require('fs');
<voxelot> I'll look at it thanks
<voxelot> so it must not be able to find fs module
<daviddias> it means you are not using brfs
<daviddias> browserify won't replace fs calls if the brfs transform isn't applied
<voxelot> right, when i tried to bundle the first ipfs-api it said missing brfs, so i npm install brfs and it didnt complain anymore
<voxelot> i must have installed it wrong
<voxelot> and i can see the fs require in the brfs module
<daviddias> cool, so works now?
<voxelot> ohh no haha
<voxelot> have you ever set up the api without bundling?
<whyrusleeping> and import it in a <script> tag
<whyrusleeping> then do 'ipfs = ipfsAPI()'
<whyrusleeping> and you can call methods on that ipfs object
* whyrusleeping is just figuring this out himself
<voxelot> will do whyrusleeping :)
<voxelot> kinda think having the extra layer is silly anyway
<voxelot> i should still contain all of the files in the github right? since that js is a build script
notduncansmith has joined #ipfs
<whyrusleeping> yeah
notduncansmith has quit [Read error: Connection reset by peer]
<whyrusleeping> that ipfsapi.min.js is everything as far as i can tell
<voxelot> k
<rschulman> whyrusleeping: oh wow, I didn’t know that existed either
<rschulman> I don’t have to browserify this
<voxelot> so what would a call look like on that object?
<voxelot> i'm such a script noob
<voxelot> just the same as the examples right
<voxelot> like under Add - usage
<rschulman> still getting the “dest is undefined” error when I try to output the result of ipfs.cat but that does seem to have worked otherwise
fleeky has joined #ipfs
fleeky_ has quit [Read error: Connection reset by peer]
<rschulman> is there a flag to tell cat to only return json, not a stream?
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<voxelot> you guys getting syntax error on ipfsapi.min.js? line 4 of spaghetti code :D
therealplato has quit [Ping timeout: 256 seconds]
<voxelot> i suspect this is the problem?
<voxelot> {if(i[o]==255){a+=8}else{var s=i[o]&255;while(s){s=s<<1&255;a++}}}
<voxelot> uexpected token <
<voxelot> probably meant to be <=
<voxelot> err nvm