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/
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
hellertime has joined #ipfs
<jbenet> whyrusleeping: maybe you have peers because other nodes remember you and try to dial you?
<jbenet> whyrusleeping: no peer IDs on the addrs in that list? that's very odd
<whyrusleeping> jbenet: also see: https://github.com/ipfs/go-ipfs/issues/1654
cjb has quit [Ping timeout: 250 seconds]
<jbenet> whyrusleeping, lgierth: i recommend NOT using mars for gateway service. this is an official high availability service we need to run. we're already relied upon. we do DNS load balancing right now. if a user clicks a link to "ipfs.io/..." and happened to get a DNS entry to mars, and mars crashed and waiting for whyrusleeping to wake up or something, that user
<jbenet> is completely hosed. mars is not "devops managed". so please leave it out. whyrusleeping, if you want to see traffic, log into the other machines and attach to the containers to inspect running processes. don't kill them, as people _do depend_ on this service.
<jbenet> every time an ipfs.io/ link 404s or 403s or 500s or anything like that, it's a huge "THIS THING SUCKS" sign. please take it seriously.
<whyrusleeping> 'ipfs add -r doesnt work, this thing sucks'
<jbenet> (( perhaps we should load balance differently, to avoid the geographic locality issue ))
<jbenet> whyrusleeping: of course, that too!
anshukla has joined #ipfs
<whyrusleeping> aaaaany idea why ipfs would want to dial my router 800 or so times on port 5555?
<jbenet> (did you bring it up for another reason beyond "we must fix this"?)
<whyrusleeping> nope, just that
<whyrusleeping> CR here pls: https://github.com/ipfs/go-ipfs/pull/1653
<jbenet> whyrusleeping: that's absurd. not sure.
<lgierth> jbenet: yeah i agree -- i took it back out of dns earlier
<jbenet> my only guess is NAT-- where are the dials coming from? what sub service
<jbenet> ?
<jbenet> lgierth: ok thanks
<whyrusleeping> jbenet: any idea how to tell where the dials are coming from?
<whyrusleeping> i'm seeing this in lsof
patcon has quit [Ping timeout: 246 seconds]
<jbenet> whyrusleeping crash the process and look at the stack trace?
* jbenet wonders if it might be the nat code, but low probability.
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
amstocker has quit [Ping timeout: 244 seconds]
<whyrusleeping> and of course, when i redirect the daemons stderr to a file
<whyrusleeping> oh, that just happened to coincide with my addresses expiring so people stopped dialing me
border_ has joined #ipfs
border has quit [Ping timeout: 264 seconds]
jamescarlyle has joined #ipfs
anshukla has quit [Remote host closed the connection]
<ipfsbot> [go-ipfs] jbenet pushed 1 new commit to master: http://git.io/vGxuM
<ipfsbot> go-ipfs/master e93c0c0 Juan Benet: Merge pull request #1653 from ipfs/async-cmd-error...
<ipfsbot> [go-ipfs] jbenet deleted async-cmd-error at 4d8eddc: http://git.io/vGxuQ
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
anshukla has joined #ipfs
jamescarlyle has quit [Ping timeout: 240 seconds]
anshukla has quit [Remote host closed the connection]
<ipfsbot> [go-ipfs] jbenet pushed 2 new commits to master: http://git.io/vGxzl
<ipfsbot> go-ipfs/master 8ec1212 rht: Bump version of dir-index-html...
<ipfsbot> go-ipfs/master ebbf569 Juan Benet: Merge pull request #1650 from rht/directory-listing-css...
<ipfsbot> [go-ipfs] jbenet pushed 4 new commits to master: http://git.io/vGxgB
<ipfsbot> go-ipfs/master ddc8dff rht: serialfile: Explicit err on unrecognized file type...
<ipfsbot> go-ipfs/master ccc9cd6 rht: Refactor serialfile...
<ipfsbot> go-ipfs/master 1b26ca7 rht: Add test for ipfs add err for unsupported file type...
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
amstocker has joined #ipfs
notduncansmith has joined #ipfs
<jbenet> !pin QmcBfgYXfRwE3sJtqTyFh1fDna9RfbCCAY3CcwnndXwtJ1
<pinbot> now pinning /ipfs/QmcBfgYXfRwE3sJtqTyFh1fDna9RfbCCAY3CcwnndXwtJ1
notduncansmith has quit [Read error: Connection reset by peer]
<amstocker> jbenet: do i explicitly setup ipfs/py-ipfs-api?
<amstocker> does someone else make the repo?
<jbenet> amstocker you can transfer it i think, that way preserve history, viewers, etc
<jbenet> then i'll add you as admin
<jbenet> may not be able to transfer to ipfs/ org, if so transfer to jbenet and i will transfer it to org and add you.
<ipfsbot> [go-ipfs] whyrusleeping force-pushed editor-staging from 991cd4c to 920f557: http://git.io/v3jvk
<ipfsbot> go-ipfs/editor-staging 920f557 Jeromy: move mem-dag construction to its own function, and actually call WriteOutputTo...
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
amstocker has quit [Ping timeout: 244 seconds]
amstocker has joined #ipfs
<amstocker> ok I couldnn
<amstocker> *I couldn't xfer to ipfs so I xferred to jbenet
ThomasWaldmann has quit [Ping timeout: 255 seconds]
ThomasWaldmann has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<ipfsbot> [go-ipfs] jbenet created procfix (+1 new commit): http://git.io/vGxK2
<ipfsbot> go-ipfs/procfix 8b99e60 Juan Batiz-Benet: bitswap/workers: fix proc / ctx wiring...
<jbenet> amstocker: i dont see it xferred to me yet. i still see it at https://github.com/amstocker/python-ipfs-api
<jbenet> nvm
amstocker has quit [Ping timeout: 244 seconds]
<jbenet> amstocker: all set
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<kyledrake> whyrusleeping around now
<whyrusleeping> kyledrake: do you have lsof installed?
<kyledrake> yes
<kyledrake> whyrusleeping it's a bit unwieldy, if you know the right command I can check the open files list
<kyledrake> s/command/syntax
<whyrusleeping> yep, one sec
<whyrusleeping> okay, so start the ipfs daemon
<whyrusleeping> and get ready to runn 'lsof -p (pidof ipfs) -P -n' in a terminal
<whyrusleeping> then start the add (to repro the failure)
<whyrusleeping> and as soon as it fails, run the lsof command
<whyrusleeping> (preferably redirecting the output somewhere)
<ipfsbot> [go-ipfs] jbenet closed pull request #1655: bitswap/workers: fix proc / ctx wiring (master...procfix) http://git.io/vGxKV
<jbenet> hey kyledrake!! o/ owe you mail and a chat! :) sorry crazy last few weeks. maybe let's chat after 9/12?
<ipfsbot> [go-ipfs] jbenet deleted procfix at 8b99e60: http://git.io/vGx6H
<whyrusleeping> jbenet: you saw this earlier, right? https://gist.github.com/whyrusleeping/c675078efbc6400af7a4
<jbenet> whyrusleeping yes, why no ids!?
<whyrusleeping> my guess is that the no peer ID comes from nodes dialing us, and the 'identify' handshake not completing yet
<jbenet> yeah
<jbenet> makes sense
<whyrusleeping> do we add a conn to the swarm as soon as we get it?
<whyrusleeping> (that would be bad IMO)
<jbenet> well, the crypto handshake reveals the other side's pubkey, which is enough for the ID.
<jbenet> so really, the user should be seeing it at that point,even before identify
<jbenet> thing is dont want to prevent other work before identify, otherwise there's a ton of RTTs before any meaningful work can be done
<kyledrake> ok one sec
inconshreveable has joined #ipfs
<ipfsbot> [go-ipfs] jbenet force-pushed editor-staging from 920f557 to b3aee28: http://git.io/v3jvk
<ipfsbot> go-ipfs/editor-staging b522107 Jeromy: an attempt at making the editor more efficient...
<ipfsbot> go-ipfs/editor-staging 30d10ce Jeromy: add-only-hash no longer stores entirety of everything in memory...
<ipfsbot> go-ipfs/editor-staging b3aee28 Jeromy: move mem-dag construction to its own function, and actually call WriteOutputTo...
<whyrusleeping> jbenet: i thought we did prevent the conn from being used before identify
<whyrusleeping> whats the point of identify again?
<jbenet> no, i dont think so.
<whyrusleeping> oooh, identify just sends our addr and stuff
<jbenet> mostly to figure out addrs, and protocol version matches, (pubkey, if there's no crypto handshake in testing)
hellertime has quit [Quit: Leaving.]
<kyledrake> whyrusleeping anything in particular you're looking for in that lsof output?
<ipfsbot> [go-ipfs] jbenet deleted editor-staging at b3aee28: http://git.io/vGxir
<jbenet> ok, i'm out for tonight.
notduncansmith has joined #ipfs
<kyledrake> gnight jbenet!
notduncansmith has quit [Read error: Connection reset by peer]
<whyrusleeping> gnite!
<whyrusleeping> kyledrake: looking for anything out of the ordinary
<whyrusleeping> like, 800 pending dials to your router on port 5555
<whyrusleeping> or something
<kyledrake> it spikes for a second and then drops
<whyrusleeping> cool, does the output show lots of dials to something?
<kyledrake> i'm trying to dump it one sec
<kyledrake> of course now it's not doing it
border has joined #ipfs
border_ has quit [Ping timeout: 265 seconds]
<whyrusleeping> lol
<kyledrake> I think you're onto something though. It fails during the spike of crap
<whyrusleeping> yeap
<kyledrake> And probably peaks on files at 1024 or something dumb like that, because Linux is optimized by default for Linus Torvalds 386
<whyrusleeping> the issue appears to be that adding a bunch of stuff causes the upnp code to go fucking nuts
<whyrusleeping> and dial your router a ton
<kyledrake> Could the solution just be to juice up the file descriptors available?
<kyledrake> and/or a workaround for now
<whyrusleeping> that could be a workaround, yeah
<kyledrake> Yeah my open files is at 1024
<whyrusleeping> the solution will be to find out why the upnp code is so upset
<davidar> ping zignig
<kyledrake> Now I just need to remember which of the 50 things you use to ROFLscale that number up
<whyrusleeping> my daily dose of focus is fading, not sure if i'll get to it tonight
<kyledrake> No worries, ulimit issues are a pretty routine thing for me. My blog gets a million hits per second bro
<whyrusleeping> lol
<kyledrake> I'll crank that for now.
<kyledrake> thx for figuring that out!
<whyrusleeping> yeap! let me know how it goes
<whyrusleeping> and i'll let you know when its fixed
<kyledrake> cool thanks
<kyledrake> It's just a process of figuring out how to make ulimit stick. It's always a PITA for some reason
<whyrusleeping> jbenet: found the nat issue
<jbenet> whyrusleeping: why's that a problem?
<whyrusleeping> every call to that calls out to the nat lib as far as i can tell
<whyrusleeping> which makes a request to the router
<jbenet> whyrusleeping we want that, it's how holepunching works.
<jbenet> ohhh whaaaaat
<jbenet> it doesn't cache?
<whyrusleeping> unless i'm missing something obvious
<whyrusleeping> gimme a sec
<whyrusleeping> yeah, look at line 215 of p2p/nat/nat.go
rjeli has quit [Ping timeout: 246 seconds]
<jbenet> wow, ok. so, we need to do that every once in a while. but not all the time.
<jbenet> great find.
<jbenet> not sure how to fix it and i need to sleep.
<jbenet> whyrusleeping: also, we keep diverging from dev 0.4.0. maybe we should just merge it before IPLD make IPLD 0.5.0.
<whyrusleeping> yeah, same
<jbenet> not sure.
<whyrusleeping> i'm down with that
<jbenet> (though ipld is here)
<jbenet> (just needs plugging in)
<whyrusleeping> i just about broke my computer rebasing dev0.4.0 again
<jbenet> (i pushed all the multicodec and go-ipld changes, it even handles old protobufs)
anshukla has joined #ipfs
<davidar> whyrusleeping: any idea why nosync doesn't seem to have helped?
<jbenet> https://github.com/jbenet/go-multicodec <-- heavy lifting
<whyrusleeping> nosync didnt help?
<whyrusleeping> davidar: in that its still slow? or that it crashes?
<davidar> Slow
<whyrusleeping> davidar: not to doubt your ability at all, but youre sure that you rebuilt and installed the new code, and you restarted your daemon?
rjeli has joined #ipfs
<jbenet> whyrusleeping the next step on the IPLD saga is to plug it into go-ipfs dev 0.4.0. which wont be trivial. it may be better to draw the line, land 0.4.0 first, and do ipld after. i hate to do two migrations but at this point, it's hard.
<davidar> whyrusleeping: haha, had the same thought myself. Built from a clean working directory, no daemon running, installed it under a different name, so reasonably sure
<whyrusleeping> davidar: huh.
<whyrusleeping> what kind of setup do you have?
<whyrusleeping> SSD? raid?
<whyrusleeping> lots of ram?
<jbenet> i think he's on pollux. probably HDD.
<whyrusleeping> beefy cpu?
<jbenet> large disks.
<whyrusleeping> okay
<jbenet> whyrusleeping you should be able to go in there and inspect the i/o. (davidar may want to guide you)
<jbenet> ok, im out for reals this time.
<davidar> whyrusleeping: if you wanted to test it yourself, download http://gateway.ipfs.io/ipfs/Qmew9KT7J1yrr3Gc2kfYmZH1czARrmjrGW5HkgnFE4pufM
<davidar> Untar it and add
* whyrusleeping sees 2.6GB
<davidar> yeah
<whyrusleeping> not on my internet, lol
<whyrusleeping> i've got a shitty dsl link that likes to play dead
<davidar> Try it on Pollux then ☺
<whyrusleeping> lol
<davidar> whyrusleeping: if you don't want to download anything, just generate a bunch of small (<100kb) files and try to add them
<whyrusleeping> yeah, thats what i was gonna do
Tv` has quit [Quit: Connection closed for inactivity]
t3sserakt has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
mquandalle has quit [Quit: Connection closed for inactivity]
inconshreveable has quit [Remote host closed the connection]
<whyrusleeping> davidar: lol, i'm gonna have to try it on pollux, my disk is fast enough that it crashes add due to the bug i was working on today
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<davidar> whyrusleeping: haha, ok
inconshreveable has joined #ipfs
<whyrusleeping> davidar: my guess is that we should try making the stat and open calls for the next file in line while the current one is being read
<whyrusleeping> asynchronously
<whyrusleeping> that will probably buy us a lot
<davidar> sounds good
<davidar> whyrusleeping: what's the status on being able to read directly from tar archives, btw?
<deltab> what's the stat call for?
<whyrusleeping> deltab: gotta check if its a symlink or a pipe or something else weird
<whyrusleeping> before we open it
<whyrusleeping> davidar: read directly from tar archives?
<davidar> whyrusleeping: i thought there were plans for ipfs to be able to create a unixfs tree directly from a tarball?
<davidar> would be a useful stopgap, since tar is a lot faster at reading files from the disk
<deltab> with the tar file as an object, or reading and adding each entry in it?
<deltab> a python script could do the latter, using the tarfile module and ipfs-api
<davidar> deltab: as in, extract it and recursively add the resulting directory, but without having to actually extract it to disk first
<whyrusleeping> davidar: ooooh, yeah. a tar cognizant chunker/layout
<davidar> so i can just do ipfs add --tar foo.tar, and then ipfs cat <hash>/some/file/in/the/archive.txt
<whyrusleeping> yeap
<davidar> i take it from your response, the current status is "not started yet"? :)
<deltab> davidar: yeah, should be straightforward
<whyrusleeping> lol, not started yet.
<whyrusleeping> deltab: the difficult part would be making 'ips cat <hash>' still return the exact data of the original tar
<whyrusleeping> so constructing the merkledag in such a way that its both tar and not tar
<whyrusleeping> (maybe not require that it recreate the same exact tar, but the same set of files in a tar)
bedeho has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
inconshreveable has quit [Ping timeout: 244 seconds]
inconshreveable has joined #ipfs
inconshreveable has quit [Remote host closed the connection]
jamescarlyle has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<deltab> can I find the hash of a file before adding it? or, having added it, can I find out whether it was already available elsewhere?
sharky has quit [Ping timeout: 264 seconds]
jamescarlyle has quit [Ping timeout: 264 seconds]
sharky has joined #ipfs
<whyrusleeping> deltab: knowing the hash, you can ask the network who else has it
<whyrusleeping> 'ipfs dht findprovs <hash>'
<deltab> thanks
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]
inconshreveable has joined #ipfs
anshukla has quit [Remote host closed the connection]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<deltab> davidar: /ipfs/QmWznBRqtmCFN12SEcBijvHexLc9RUyYQuhaSjzvkWYQEx — imported from a zipfile :-)
<davidar> deltab: cool. how fast is it if you have lots of small files in the zipfile?
zabirauf has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<deltab> I don't have any suitable files to test that on
<deltab> but you can try it if you like: QmXPwEuiLfWD22nVXVvGdMxkn2M3MVpYXq4sQmSJp2pvoB
<deltab> no error handling, expects a flat directory structure, etc.
<kyledrake> Okay, nofile is juiced to 16k now
<deltab> re cookies on http://ipfs.io: you could limit it to whitelisted files and keep everything else on gateway
akhavr has quit [Quit: akhavr]
domanic has joined #ipfs
akhavr has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
jamescarlyle has joined #ipfs
jamescarlyle has quit [Read error: Connection reset by peer]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
jamescarlyle has joined #ipfs
anshukla has joined #ipfs
jamescarlyle has quit [Read error: Connection reset by peer]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
ygrek has joined #ipfs
anshukla_ has joined #ipfs
anshukla has quit [Read error: Connection reset by peer]
amstocker_mobile has joined #ipfs
domanic has quit [Ping timeout: 264 seconds]
<davidar> deltab: oops, missed it
anshukla_ has quit [Read error: Connection reset by peer]
notduncansmith has joined #ipfs
anshukla has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
anshukla_ has joined #ipfs
anshukla has quit [Read error: Connection reset by peer]
anshukla has joined #ipfs
jamescarlyle has joined #ipfs
amstocker_mobile has quit [Quit: Bye]
jamescarlyle has quit [Read error: Connection reset by peer]
anshukla_ has quit [Ping timeout: 244 seconds]
anshukla_ has joined #ipfs
jamescarlyle has joined #ipfs
anshukl__ has joined #ipfs
anshukla has quit [Ping timeout: 240 seconds]
anshukla_ has quit [Ping timeout: 240 seconds]
jamescarlyle has quit [Read error: Connection reset by peer]
JasonWoof has quit [Ping timeout: 240 seconds]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
jamescarlyle has joined #ipfs
jamescarlyle has quit [Read error: Connection reset by peer]
jamescarlyle has joined #ipfs
jamescarlyle has quit [Read error: Connection reset by peer]
jamescarlyle has joined #ipfs
jamescarlyle has joined #ipfs
notduncansmith has joined #ipfs
jamescarlyle has quit [Read error: Connection reset by peer]
notduncansmith has quit [Read error: Connection reset by peer]
jamescarlyle has joined #ipfs
zabirauf has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
inconshreveable has quit [Remote host closed the connection]
jamescarlyle has quit [Read error: Connection reset by peer]
jamescarlyle has joined #ipfs
jamescarlyle has joined #ipfs
jamescarlyle has quit [Read error: Connection reset by peer]
jamescarlyle has joined #ipfs
anshukl__ has quit [Quit: Leaving...]
jamescarlyle has quit [Read error: Connection reset by peer]
jamescarlyle has joined #ipfs
jamescarlyle has quit [Read error: Connection reset by peer]
jamescarlyle has joined #ipfs
jamescarlyle has quit [Read error: Connection reset by peer]
amstocker has joined #ipfs
jamescarlyle has joined #ipfs
kerozene has quit [Max SendQ exceeded]
kerozene has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
jamescarlyle has quit [Read error: Connection reset by peer]
jamescarlyle has joined #ipfs
jamescarlyle has quit [Read error: Connection reset by peer]
jamescarlyle has joined #ipfs
border_ has joined #ipfs
border has quit [Ping timeout: 264 seconds]
jamescarlyle has quit [Read error: Connection reset by peer]
jamescarlyle has joined #ipfs
jamescarlyle has quit [Remote host closed the connection]
jamescarlyle has joined #ipfs
notduncansmith has joined #ipfs
jamescarlyle has quit [Read error: Connection reset by peer]
notduncansmith has quit [Read error: Connection reset by peer]
jamescarlyle has joined #ipfs
jamescarlyle has quit [Read error: Connection reset by peer]
jamescarlyle has joined #ipfs
amstocker has quit [Ping timeout: 246 seconds]
domanic has joined #ipfs
ygrek has quit [Ping timeout: 265 seconds]
Encrypt has joined #ipfs
jamescarlyle has quit [Read error: Connection reset by peer]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
jamescarlyle has joined #ipfs
jamescarlyle has quit [Remote host closed the connection]
jamescarlyle has joined #ipfs
jamescarlyle has quit [Read error: Connection reset by peer]
domanic has quit [Ping timeout: 240 seconds]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
bedeho has quit [Ping timeout: 246 seconds]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
uhhyeahbret has quit [Remote host closed the connection]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
uhhyeahbret has joined #ipfs
ei-slackbot-ipfs has quit [Remote host closed the connection]
ei-slackbot-ipfs has joined #ipfs
Encrypt has quit [Quit: Quitte]
jamescarlyle has joined #ipfs
jamescarlyle has quit [Read error: Connection reset by peer]
jamescarlyle has joined #ipfs
uhhyeahbret has quit [Quit: WeeChat 1.3]
jamescarlyle has quit [Read error: Connection reset by peer]
uhhyeahbret has joined #ipfs
jamescarlyle has joined #ipfs
jamescarlyle has quit [Read error: Connection reset by peer]
jamescarlyle has joined #ipfs
jamescarlyle has quit [Read error: Connection reset by peer]
jamescarlyle has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
jamescarlyle has quit [Read error: Connection reset by peer]
jamescarlyle has joined #ipfs
jamescarlyle has quit [Read error: Connection reset by peer]
jamescarlyle has joined #ipfs
jamescarlyle has quit [Read error: Connection reset by peer]
jamescarlyle has joined #ipfs
ianopolous has quit [Quit: Page closed]
jamescarlyle has quit [Read error: Connection reset by peer]
jamescarlyle has joined #ipfs
jamescarlyle has quit [Read error: Connection reset by peer]
jamescarlyle has joined #ipfs
notduncansmith has joined #ipfs
jamescarlyle has quit [Read error: Connection reset by peer]
notduncansmith has quit [Read error: Connection reset by peer]
jamescarlyle has joined #ipfs
jamescarlyle has quit [Remote host closed the connection]
ianopolous has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
danslo has quit [Remote host closed the connection]
jamescarlyle has joined #ipfs
danslo has joined #ipfs
jamescarlyle has quit [Read error: Connection reset by peer]
jamescarlyle has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
jamescarlyle has quit [Read error: Connection reset by peer]
jamescarlyle has joined #ipfs
jamescarlyle has quit [Read error: Connection reset by peer]
jamescarlyle has joined #ipfs
border_ has quit [Ping timeout: 260 seconds]
border has joined #ipfs
jamescarlyle has quit [Remote host closed the connection]
danslo has quit [Remote host closed the connection]
danslo has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
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]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
jamescarlyle has joined #ipfs
SebastianCB has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
ianopolous has quit [Ping timeout: 246 seconds]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
jamescarlyle has quit [Remote host closed the connection]
jamescarlyle has joined #ipfs
jamescarlyle has quit [Remote host closed the connection]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
SebastianCB has quit [Ping timeout: 256 seconds]
jamescarlyle has joined #ipfs
jamescarlyle has quit [Ping timeout: 272 seconds]
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]
border_ has joined #ipfs
border has quit [Ping timeout: 250 seconds]
chriscool has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
Leer10 has quit [Ping timeout: 246 seconds]
voxelot has joined #ipfs
voxelot has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
bedeho has joined #ipfs
<alu> Um.
chriscool has quit [Ping timeout: 256 seconds]
voxelot has quit [Ping timeout: 240 seconds]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
atomotic has joined #ipfs
<mappum> alu: wow, that project has grown a lot since i first saw it
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
chriscool has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
yosafbridge has quit [Ping timeout: 256 seconds]
SebastianCB has joined #ipfs
yosafbridge has joined #ipfs
atrapado has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
atomotic has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
voxelot has joined #ipfs
mildred has joined #ipfs
ygrek has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
inconshreveable has joined #ipfs
mildred has quit [Ping timeout: 250 seconds]
t3sserakt has quit [Read error: Connection reset by peer]
mildred has joined #ipfs
voxelot has quit [Ping timeout: 244 seconds]
Encrypt has quit [Quit: Quitte]
<SebastianCB> Hi, I started playing with IPFS and love it so far. What is right now the best option to mirror/backup files via IPFS except for having it just on my own machine(s)? I could put my block-directory into dropbox,storj etc but it all doesnt seem very elegant.
atomotic has joined #ipfs
<mappum> SebastianCB: we're working on a service for that! you'll be able to pay to pin your files on a server
Wkter_ has left #ipfs ["Leaving"]
Leer10 has joined #ipfs
mildred has quit [Ping timeout: 255 seconds]
mildred has joined #ipfs
<blame> cjdns as a p2p vpn-ish replacement is not bad.
<blame> Only 1 system needs to be open to via nat, and it figures out how to route from there.
<blame> I have my home workstation + vps + laptop networked pretty seamlessly.
<SebastianCB> mappum: are you talking about filecoin? Cool, looking forward to whatever it is.
<SebastianCB> Alternatively I was wondering if we could setup some service ourselves, e.g. IT department of a university would probably very willing to commit to this
<blame> SebastianCB: How would you feel about an IRC-bot that traded pinning for bitcoin at a flat btc/mb rate?
<SebastianCB> sounds good. I'd have to check how a uni would feel about paying btc/mb but I'm willing to find out
<blame> I know my department would not be up for something like that
<SebastianCB> Blame: checking cjdns, dont see how this could store a backup, just routing, do i get something wrong?
chriscool has quit [Ping timeout: 255 seconds]
<blame> cjdns does not really do backups. Sorry, the messages were not intended as response to you
<SebastianCB> ah thanks!
<blame> folks in the channel had asked me to report back on how well that worked out for me
<blame> ipfs is not really meant for backups either
<blame> but it could be used for that
<blame> ipfs is meant to create a robust public internet
<blame> not private backups
<SebastianCB> ok, got that, i guess im waiting for filecoin
<blame> since everything you put on ipfs is viewable
<blame> by anybody
<blame> and even easy to find
<SebastianCB> I'm interested in your IRC bot service I guess
<SebastianCB> if we could deploy that also, e.g. locally in a department and students could commit stuff into that local IPFS-based backup it could be quite useful and I guess we'd use it
<blame> Honestly I am not even sure I like the idea of such a bot
<blame> but I wanted to see what people tought
<blame> It is the sort of thing that is going to happen someday
Leer10 has quit [Ping timeout: 260 seconds]
atomotic has quit [Quit: Textual IRC Client: www.textualapp.com]
mildred has quit [Ping timeout: 250 seconds]
atrapado has quit [Quit: Leaving]
Leer10 has joined #ipfs
<daviddias> whyrusleeping: jbenet around? I need a quick clarification on bitswap
Encrypt has joined #ipfs
mildred has joined #ipfs
jamescarlyle has joined #ipfs
chriscool has joined #ipfs
<blame> new experiments in ipfs+cjdns madness
<blame> My DNS points a wildcard subdomain to my vps, my vps is connected via a private cjdns network to my workstation, my workstation is running ipfs. I abused nginx to path_foward to my workstation via cjdns to resolve the site via ipns.
amstocker has joined #ipfs
jamescarlyle has quit []
mildred has quit [Ping timeout: 272 seconds]
jb55_ is now known as jb55
jb55 is now known as jb55_
ygrek has quit [Ping timeout: 272 seconds]
mildred has joined #ipfs
mildred has quit [Ping timeout: 260 seconds]
t3sserakt has joined #ipfs
SebastianCB has quit [Ping timeout: 246 seconds]
patcon has joined #ipfs
bedeho has quit [Ping timeout: 255 seconds]
amstocker has quit [Ping timeout: 244 seconds]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
amstocker has joined #ipfs
<blame> whyrusleeping: what does the dns -> ipns integration look like right now?
bedeho has joined #ipfs
simonv3 has joined #ipfs
amstocker has quit [Ping timeout: 246 seconds]
border has joined #ipfs
border_ has quit [Ping timeout: 250 seconds]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
chriscool has quit [Ping timeout: 240 seconds]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
t3sserakt has quit [Quit: Leaving.]
reit has quit [Ping timeout: 244 seconds]
reit has joined #ipfs
domanic has joined #ipfs
<whyrusleeping> Blame: i think you put a TXT record that contains 'dnslink=/ipns/QmBlah' on your domain
<whyrusleeping> run dig on ipfs.io
inconshreveable has quit [Remote host closed the connection]
<fleeky> blame , i understood some of those words
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<blame> fleeky: me too... I don't do web-dev so this is all very exciting to me.
<fleeky> what is the use case ?
<fleeky> was confused why you needed to jump through so many hoops
<whyrusleeping> daviddias: i'm around
<daviddias> I figured it out, thank you anyway :)
<whyrusleeping> lol, fine!
<daviddias> it was about how the mapping between blocks being provided and actual records is done
<daviddias> since records are MDAG objs too therefore, can have their own hash
<whyrusleeping> daviddias: yeah... thats gonna get weird
ygrek has joined #ipfs
<daviddias> Sorry for not having it explained right away :)
<daviddias> What I'm doing in the DRS, inspired by the current DHT impl in go-ipfs is making a record being looked up by the hash of block it is refereeing
<daviddias> and so when a DRS gets a request for key->k, I check a table for which Records are linked to key k, that table will have the hashes of the Signature of the Records (which link to the Record itself) and that are stored inside the MerkleDAG Store
<whyrusleeping> makes sense
<daviddias> I say inspired by the current DHT impl, because right now every Record is looked up by the block hash (which will remain the same), although the DHT doesn't need to have this mapping as the 'records' are just simple objs
<blame> fleeky: mostly for the fun of it. I wanted my website hosted on ipfs, I don't have ipfs running on my vps yet, I have it running on my workstation, I was learning nginx and I just setup a secure cjdns virtual network between my workstation, vps, and laptop. So I wrote a nginx config that forwarded my website to my workstation's ipfs node via the secure
<blame> virtual network.
<daviddias> Blame, you can always host your website locally and let the gateways do the magic of finding and caching your website for you as clients request it
<fleeky> ahhh
<fleeky> heh nice
<daviddias> IPFS will know how to traverse the network and get to your machine in your LAN
<blame> daviddias I plan on doing that too
<daviddias> however, your solution sounds like a very cool hack, please do it and document it :)
<blame> but should I just use nginx to forward my domain to a public gateway?
<fleeky> i really want to run my sites off of ipfs soon, but i dont have enough time to get serious about ipfs atm
mquandalle has joined #ipfs
<blame> daviddias: right now I have my nginx config setup to forward requests to ipfs.io's gateway iff my ipfs node goes down. Whats best practice here?
warptangent has quit [Read error: Connection reset by peer]
<blame> daviddias: The ideal way would be something like a cdn style dns hack that points you at the closest "public" gateway
<daviddias> do you want to have the resources on the webpage being loaded directly by ipfs.io/ipfs/... or you want to have your site served entirely by your domain (using nginx as a proxy)?
warptangent has joined #ipfs
notduncansmith has joined #ipfs
<blame> both?
notduncansmith has quit [Read error: Connection reset by peer]
<blame> Since ipns is still iffy, it makes sense to try and push the request to my own gateway, which I know has an up to date ipns entry
<daviddias> You can do that, seems the quickest way to get it done is to have the latest hash to point users to the gateway
<daviddias> nice :)
chriscool has joined #ipfs
<blame> but it requires a nginx forward. based on the context, is there a different/better way to forward my domain -> ipfs?
<fleeky> Blame: are all your url's generated as ipfs hashes??
<fleeky> how did you manage that with your cms .. or is it manual?
<blame> It is all manual
<blame> DNS -> IP -> nginx -> magic
<fleeky> haha
<fleeky> this sounds like nice magic
<fleeky> that was one of the things stopping me in the beginning from hosting my site on ipfs
patcon has quit [Ping timeout: 244 seconds]
<blame> this is what my nginx avlailible-sites looks like http://ipfs.blamestross.com/QmRWqwpfHJxegrMjrBK7va4DP6RXdS5yURQy3ZhPkjnLqf/
<fleeky> im confused on the part where your href's are normal , but it links to the proper ipfs hash
<daviddias> Blame: on that, lgierth will be the best person to provide with more creative ways. But I wouldn't say that looks bad
* fleeky looks at your page source
<blame> fleeky: I'm missing somethign in your question
<fleeky> i probably dont understand ipfs enough
<fleeky> so in your page code it links to say index.html
<fleeky> but then it goes to ipfs/hashhh
<blame> the last server in the list is my site
<blame> it does manually link to a given hash
<fleeky> so nginx is doing the translation
<blame> the "ipns_hosts" is a hack to let me use ipfs.io as a backup
<blame> yeah
<fleeky> nicee
<fleeky> so how does nginx do the translation ?
<fleeky> i have a server at my house that i was going to setup apache and such with that would be my new self hosted server but this sounds much more interesting
ygrek has quit [Ping timeout: 250 seconds]
<blame> nginx was obtuse at first
<blame> but essentially it a pattern match + transform
<blame> My goal was to have more controll over subdomains
<blame> so I could forward sub-domains to services I have running on odd ports.
<blame> Now I just need a static site generate that I do not hate
<blame> I could write all the html myself, but I loath it.
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<fleeky> yeah writing that html manually sounds.. painfull
<fleeky> you generated that site with piwiki ?
<blame> piwiki?
patcon has joined #ipfs
<fleeky> oic your doing wordpress
<fleeky> ?
inconshreveable has joined #ipfs
patcon has quit [Ping timeout: 265 seconds]
<blame> oic?
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
chriscool has quit [Ping timeout: 256 seconds]
<mappum> Blame: nice GoL
<blame> Its kinda a theme for me
<ipfsbot> [go-ipfs] whyrusleeping created fix/debug-err (+1 new commit): http://git.io/vZezO
<ipfsbot> go-ipfs/fix/debug-err 308ab9a Jeromy: remove error log i forgot to remove from another PR...
<ipfsbot> [go-ipfs] whyrusleeping opened pull request #1657: remove error log i forgot to remove from another PR (master...fix/debug-err) http://git.io/vZezG
Encrypt has quit [Quit: Quitte]
<lgierth> Blame: reading backlog
<lgierth> jbenet: are the ipfs presentations online somewhere? someone's asking for the layers slide
<ipfsbot> [go-ipfs] whyrusleeping pushed 1 new commit to master: http://git.io/vZegi
<ipfsbot> go-ipfs/master d5cfb01 Jeromy Johnson: Merge pull request #1657 from ipfs/fix/debug-err...
<lgierth> Blame: for ipfs.io, we point the TXT to /ipfs/... because /ipns doesn't have ordering yet
<ipfsbot> [go-ipfs] whyrusleeping created feat/async-files (+1 new commit): http://git.io/vZe2C
<ipfsbot> go-ipfs/feat/async-files d2af0a3 Jeromy: process directory entries asynchronously from the rest of the file processing...
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<blame> lgierth: what is the proper format for the txt record?
<whyrusleeping> Blame: run dig on ipfs.io
<blame> whyrusleeping: you told me to that earlier. I forgot. am doing now
<ipfsbot> [go-ipfs] whyrusleeping opened pull request #1658: process directory entries asynchronously (master...feat/async-files) http://git.io/vZeak
<blame> ok thanks
* blame now needs a decent site to link to
<whyrusleeping> lol
<lgierth> :)
<lgierth> Blame: i think you should even be able to link to a directory without an index.html, and get a dir list
<lgierth> (i never tested that with TXT)
<blame> whyrusleeping: whats the very vague non-committal timeline on ipns ordering?
<lgierth> Blame: you can and will hit old entries
<blame> I noticed already when testing
<whyrusleeping> Blame: no guarantees right now
<lgierth> records and validity are the keywords
<blame> whyrusleeping: does the server re-insert "/ipfs/" or "ipns" for relative links?
<blame> try using a relative link on http://ipns.blamestross.com/ipfs.io/
<whyrusleeping> Blame: nope, it doesnt do that
<whyrusleeping> thats why the gateways have */ipfs/XXXX
<whyrusleeping> instead of just */XXXX like you have
<blame> no, I mean the relative links look right, but instead they get forwarded to ipns.blamestross.com/ipns/blah rather than ipns.blamestross.com/blah
<whyrusleeping> hrm...
<whyrusleeping> lgierth: any idea?
* blame is sorry he breaks things so regularly
<lgierth> Blame: yeah well ipfs sees a request for /ipfs/...
<lgierth> it has no clue you're messing with the URI
<lgierth> you're rewriting on the way in, so you also need to rewrite on the way out :)
<lgierth> i had to do that in the gatewayhandler too
<lgierth> for directory listings and redirects to work correctly
Leer10 has quit [Excess Flood]
<border> ok gentlemans, I have some bandwith aviable, how can I help ?
Leer10 has joined #ipfs
reit has quit [Ping timeout: 272 seconds]
notduncansmith has joined #ipfs
thomasreggi has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<blame> border: the short answer is just run an ipfs node? Am I missing context?
<whyrusleeping> border: yeap, just run the ipfs daemon :)
<whyrusleeping> you can pin popular content for other people if you like as well
<border> and if i don't query stuff, it gonna contribute to the network ?
<border> ok so I need to do query in order to "seed"
<border> ?
<lgierth> yeah
<lgierth> query or pin
<lgierth> whyrusleeping: maybe we should have a pinlist
<whyrusleeping> border: just running a node will help out with the dht, hosting lookup information and provider records
<whyrusleeping> lgierth: that would be a good idea 'pin these things to help us out'
<border> is there a discovery process, or it's like the dark net
<border> ah ok good cool
<lgierth> border: there are bootstrap nodes specified in the default config
<lgierth> whyrusleeping: can be a simple object in ipns
<lgierth> linking to all pinned objects (non-recursive)
<lgierth> s/pinned/to-be-pinned/
* blame now has the same dns -> nginx -> ipns -> dns -> ipfs loop ipfs.io has
<blame> interestingly, if you have a public gateway, we can use that to convince a bunch of gateways to soft-pin content
simonv3 has quit [Quit: Connection closed for inactivity]
inconshreveable has quit [Remote host closed the connection]
Leer10 has quit [Ping timeout: 240 seconds]
<border> whats a gateway ?
<whyrusleeping> border: a gateway is a public node serving content over http from ipfs
<border> like tor2web ?
<blame> I have my domain + ipfs node setup so you can get anything on ipfs via blamestross.com/ipfs/hashhere
<border> cool
<blame> ipns.io is setup the same way