jbenet 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: https://github.com/ipfs/community/blob/master/code-of-conduct.md -- Sprints: https://github.com/ipfs/pm/ -- Community Info: https://github.com/ipfs/community/ -- FAQ: https://github.com/ipfs/faq -- Support: https://github.com/ipfs/support
<jbenet> anybody know a pdf compressor cli tool?
<jbenet> (installable easily on osx without forcing me to compile gcc locally to install ...)
<ansuz> I hear ipfs has great deduplication
<ansuz> hon hon hon
* ansuz shows himself out
<ion> jbenet: Run a binary build in a Linux VM. ;-)
karissa has quit [Ping timeout: 284 seconds]
chrisdickinson has quit [Excess Flood]
<daviddias> whyrusleeping: dignifiedquire is adding to the Access Control Headers, saying that the browser has permission to check the x- stuff we add on the API
chrisdickinson has joined #ipfs
<daviddias> it is necessary for the browser to be able to receive chunked or streamed data
<daviddias> it was a very good catch
karissa has joined #ipfs
<daviddias> it was the first time that we need to give permissions to the browser to see headers,
<lgierth> jbenet: imagemagick can work with pdfs, but i'm not sure it can compress without convert them to jpg
<whyrusleeping> daviddias: alright, mind giving a LGTM on the PR then?
<daviddias> but then again it must be a policy to avoid having all of the people putting their session ID in headers non standard
<daviddias> for sure
<ion> Now that you mentioned ImageMagick, I remembered some code of mine which downsamples images in PDFs. You can choose whether you want Zip or JPEG compression. https://github.com/ion1/myscan/blob/master/myscan.sh#L172
<lgierth> lol nice
<lgierth> there you go jbenet
josh has joined #ipfs
devbug has quit [Ping timeout: 264 seconds]
josh is now known as Guest54239
rombou has quit [Ping timeout: 240 seconds]
reit has quit [Quit: Leaving]
jabberwocky has joined #ipfs
pfraze has quit [Remote host closed the connection]
pfraze has joined #ipfs
jabberwocky has quit [Ping timeout: 255 seconds]
<ipfsbot> [js-ipfs-api] Dignifiedquire created greenkeeper-rimraf-2.4.4 (+1 new commit): http://git.io/v4Q8S
<ipfsbot> js-ipfs-api/greenkeeper-rimraf-2.4.4 6056323 greenkeeperio-bot: chore(package): update rimraf to version 2.4.4...
devbug has joined #ipfs
<ipfsbot> [js-ipfs-api] Dignifiedquire deleted greenkeeper-rimraf-2.4.4 at 6056323: http://git.io/v4Q4N
<whyrusleeping> daviddias: ping
<daviddias> whyrusleeping: pong
<whyrusleeping> could you give the fs-repo-migrations a try?
<whyrusleeping> specifically, the 2-to-3 branch
<daviddias> sure
<whyrusleeping> for migration to 0.4.0
<daviddias> I'm on 0.4.0
<daviddias> but can go back on forth
<whyrusleeping> hrm, okay
devbug has quit [Ping timeout: 260 seconds]
<whyrusleeping> if you have any 0.3.10 repos laying around, try it on those
<daviddias> have been using repos on external hdd (for npm stuff)
<daviddias> ah, I just have 0.4.0
<daviddias> but I can create some
pfraze has quit [Remote host closed the connection]
<daviddias> ok, so first thing:
Matoro_ has joined #ipfs
HoboPrimate has quit [Ping timeout: 265 seconds]
<daviddias> whyrusleeping:
NightRa has quit [Quit: Connection closed for inactivity]
Matoro has quit [Ping timeout: 255 seconds]
Matoro_ is now known as Matoro
qgnox has quit [Quit: WeeChat 1.3]
<whyrusleeping> why are there submodules
<whyrusleeping> wat
<lgierth> whyrusleeping: fixed seccat, it was passing a nil context to NewSession() -- made that a context.TODO()
<whyrusleeping> nil context. wat.
<whyrusleeping> thats pretty bad
<lgierth> like literally NewSession(nil, ...)
<lgierth> it looks like these initial 4 bytes before the propose packet are normal, but the third should be 1, while it's 0 with my cjdns code
doublec_ has joined #ipfs
jhulten_ has quit [Ping timeout: 272 seconds]
* lgierth doesn't quite understand how one secio.readMsgCtx() turns into two conn.Read(),, same for write
doublec has quit [Ping timeout: 240 seconds]
<lgierth> but that doesn't seem to be a problem anyhow
devbug has joined #ipfs
pfraze has joined #ipfs
voxelot has quit [Ping timeout: 250 seconds]
simonv3 has quit [Quit: Connection closed for inactivity]
<jbenet> lgierth: is there a cjdns-over-http tunnel yet?
<jbenet> i need to bust out of asinine networks.
devbug has quit [Ping timeout: 260 seconds]
<daviddias> can someone with a 0.4.0 try ipfs swarm connect /ip4/172.17.0.1/tcp/4001/ipfs/QmdNc4B89DxVeiuDKRN5bWdKsAPCmekgmJMkRSdUNa7x9z
<lgierth> jbenet: not yet :( you'll have to try iodine
der_donuten has joined #ipfs
<lgierth> daviddias: that's your docker0 bridge
rendar has quit [Quit: std::lower_bound + std::less_equal *works* with a vector without duplicates!]
<daviddias> oh, thank you lgierth , so which addr should I dial to get to it?
<lgierth> get to what? :)
<daviddias> only have localhost and bridge available
<daviddias> to get to the node
<lgierth> oh, castor?
<lgierth> hrm
<daviddias> yep to castor
<lgierth> dig +short castor.i.ipfs.io
<lgierth> docker is proxying :4001 on that ip to the container
<lgierth> to ipfs it'll look like the connection is coming from 127.0.0.1 though
<daviddias> sweet!:)
<lgierth> (that's what it does on all solarnet hosts)
<lgierth> i've noticed this a ocuple of times too, that ipfs doesn't notice its external ip
<lgierth> it's tricky in this setup, to be fair
<daviddias> whyrusleeping: not being able to resolve the IPNS for the mfs thing (only connected to the node that I'm trying to resolve that name), throws "Error: could not resolve name."
<daviddias> it would require some kind of stun, right lgierth ? otherwise it would never be sure
<lgierth> or other nodes telling it
<whyrusleeping> daviddias: resolve ipns for mfs?
der_donuten has quit [Quit: Page closed]
<daviddias> shouldn't it?
devbug has joined #ipfs
<daviddias> what I want to do is to copy DAG node that corresponds to a folder (/npm-registry/) inside the mfs of QmdNc4B89DxVeiuDKRN5bWdKsAPCmekgmJMkRSdUNa7x9z?
<whyrusleeping> okay, what does that have to do with ipns?
devbug has quit [Ping timeout: 240 seconds]
<daviddias> I though ipns would be able to resolve it
<daviddias> but now I see I was wrong :)
<daviddias> (in another hand, might be good to have some iprs command to resolve any kind of record in the network and inspect it)
<daviddias> but back on the question, how can I make that copy?
<daviddias> whyrusleeping: ^^
<NeoTeo> whyrusleeping A quick attempt: https://github.com/NeoTeo/ipfs-osx-service
doublec_ is now known as doublec
fleeky has joined #ipfs
<whyrusleeping> daviddias: im here
jhulten_ has joined #ipfs
jhulten_ has quit [Ping timeout: 252 seconds]
cemerick has joined #ipfs
guest234234 has joined #ipfs
<NeoTeo> Aside from setting the TXT record to dnslink=/ipns/QmHASH what else do I need to link a domain to an ipns hash? Just the TXT doesn't seem to be enough
<lgierth> NeoTeo: /ipns/<domain> doesn't resolve to /ipns/QmHASH ?
<NeoTeo> It does, but I'm trying to set up a newly purchased domain but am total amateur so not sure how to set it up so a domain url goes to my ipns site
<lgierth> in addition to the TXT, you need to point an A record to a host running an ipfs gateway
<NeoTeo> I see - so I really need to run my own gateway.
<lgierth> you can point to your own, or to ipfs.io (dig +short ipfs.io)
<NeoTeo> Is that cool to do?
<lgierth> sure
<lgierth> if you keep the content reasonable :)
<NeoTeo> :) of course. What is the long term strategy though when the rest of the world runs on IPFS?
<lgierth> for globally unique names?
cemerick has quit [Ping timeout: 250 seconds]
<rabbitface2> I remember seeing docs somewhere for a way to write your own custom plugins using IPFS's low-level p2p library. does that sound familiar? to piggyback on the existing p2p code?
<lgierth> we want to support other name systems apart from icann dns: namecoin, gns, kadnode come to mind
<lgierth> tor .onion of course
<NeoTeo> yeah
<lgierth> rabbitface2: yeah! it's in the the examples on the website i think
<lgierth> but i'm not sure how accurate it is today
<rabbitface2> I'm trying to find it but there are a lot of repos and things now :)
<jbenet> github.com/ipfs/examples
<jbenet> github.com/ipfs/website
<rabbitface2> yes, there it is. thanks!
<lgierth> whyrusleeping: StackExchange/wmi is weird, the repo doesn't have the rev specified in Godeps.json, and godep complains about that with everything i try to do (wanted to godep update gogo/protobuf)
<rabbitface2> in case anyone else is looking, it's here: https://github.com/ipfs/examples/tree/master/examples/api/service
guest234234 has quit [Ping timeout: 240 seconds]
<whyrusleeping> >.>
<whyrusleeping> lgierth: we'll be on gx soon enough :/
<NeoTeo> That worked \o/ Thanks lgierth
<lgierth> you're welcome!
<NeoTeo> whyrusleeping did u see the osx right clicky add to IPFS thingy?
<jbenet> diasdavid: take a look at /ipfs/QmPHNQddSK5L1WSKb52JDxZEshbFpmMMMMGsyNMrjqCRP6/ipfs-018.qconsf.pdf -- it's large. i gave up on compressing it.
<lgierth> whyrusleeping: oh i'm just rabbit holing myself a bit :)
jabberwocky has joined #ipfs
<rabbitface2> I also found go-libp2p and js-libp2p but they seem . If I wanted to build a p2p tool (not very related to IPFS) is that in a useful state? or should I make an IPFS service instead?
<rabbitface2> er, they seem not documented for public use yet
<lgierth> it's about the right time to starting giving them a try
<lgierth> to provide feedback, fix things
jabberwocky has quit [Ping timeout: 265 seconds]
pfraze has quit [Remote host closed the connection]
voxelot has joined #ipfs
voxelot has joined #ipfs
<whyrusleeping> NeoTeo: not yet! i'm not booted into osx at the momeny
border0464 has joined #ipfs
<NeoTeo> Cool. I'm off to bed real soon (4 AM here) :)
<whyrusleeping> NeoTeo: ah, gnite!
<NeoTeo> :) l8rs
pfraze has joined #ipfs
infinity0 has quit [Remote host closed the connection]
infinity0 has joined #ipfs
doublec_ has joined #ipfs
doublec has quit [Ping timeout: 252 seconds]
ygrek has quit [Ping timeout: 240 seconds]
doublec_ is now known as doublec
guest234234 has joined #ipfs
cemerick has joined #ipfs
patcon has joined #ipfs
Tv` has quit [Quit: Connection closed for inactivity]
cemerick has quit [Ping timeout: 246 seconds]
jabberwocky has joined #ipfs
jabberwocky has quit [Ping timeout: 244 seconds]
devbug has joined #ipfs
devbug has quit [Remote host closed the connection]
devbug has joined #ipfs
jhulten_ has joined #ipfs
voxelot has quit [Ping timeout: 250 seconds]
jhulten_ has quit [Ping timeout: 246 seconds]
jatb has quit [Ping timeout: 244 seconds]
jatb has joined #ipfs
r04r is now known as zz_r04r
NeoTeo has quit [Quit: ZZZzzz…]
mercurytw has joined #ipfs
<mercurytw> heyo
<mercurytw> whyrusleeping are you in?
reit has joined #ipfs
border0464 has quit [Quit: sinked]
devbug has quit [Remote host closed the connection]
devbug has joined #ipfs
Matoro has quit [Ping timeout: 246 seconds]
shyamsk has quit [Ping timeout: 240 seconds]
shyamsk has joined #ipfs
patcon has quit [Ping timeout: 250 seconds]
Matoro has joined #ipfs
mercurytw is now known as praxis
praxis is now known as mercurytw
chriscool has quit [Read error: No route to host]
chriscool has joined #ipfs
warner has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
jabberwocky has joined #ipfs
jabberwocky has quit [Ping timeout: 264 seconds]
pfraze has quit [Remote host closed the connection]
jhulten_ has joined #ipfs
jhulten_ has quit [Ping timeout: 260 seconds]
Matoro has quit [Ping timeout: 272 seconds]
Guest23423 has joined #ipfs
guest234234 has quit [Ping timeout: 240 seconds]
Matoro has joined #ipfs
<whyrusleeping> mercurytw: i'm here!
<mercurytw> oh hey
<mercurytw> so I've been thinking about ipfs. you have time to answer a couple questions about it?
Guest23423 has quit [Ping timeout: 252 seconds]
djdv has joined #ipfs
<tperson> mercurytw: best bet is to just ask, someone will probably answer them.
<mercurytw> I was wondering what people's (particularly whyrusleeping's) idea of the potential for ipfs are
<whyrusleeping> i wonder where humanity will be 100 years from now
<mercurytw> Is it a supplement to the http paradigm? or totally replace it?
<ansuz> > yes
<whyrusleeping> i would personally love to replace it
<mercurytw> so, let's say you do
<whyrusleeping> but we are aiming for full interop support until such a time
<whyrusleeping> gateways, local http servers
<whyrusleeping> http api's
<mercurytw> what would connecting to, say, facebook be like under ipfs?
<whyrusleeping> mystical
<mercurytw> lol
<whyrusleeping> theres been a lot of thought on the topic
<mercurytw> like I pull up firefox, and then what? Do you type the gigantic hash?
<ansuz> in 100 years, I hope we're not on facebook
<mercurytw> lol
<whyrusleeping> the general consensus is, once ipfs has pubsub, we can do a lot of these things pretty easily
<tperson> /ipns/facebook.com
<mercurytw> tperson, but then youve got to have a dns mechanism
<whyrusleeping> mercurytw: you'll soon realize this channel is 90% sarcasm, 8% code, and 2% science
<ansuz> only if we had a globally distributed filesystem, hopefully instead of facebook we have something else
<whyrusleeping> mercurytw: we have that already
<ansuz> hashbook.com
<ansuz> or such
<ansuz> 90% of that sarcasm comes from ansuz
<mercurytw> you do?
<whyrusleeping> ansuz: i'd like to browse your hashbook ;)
<ansuz> I'm taken
<ansuz> sorry
* whyrusleeping swears to himself 'not another one!'
<ansuz> ;)
<ansuz> I'm not on hashbook
<ansuz> I have privacy concerns
<mercurytw> okay cool. So what's going on behind the scenes there. Is name resolution handled in a distributed manner too?
patcon has joined #ipfs
devbug has quit [Ping timeout: 240 seconds]
<whyrusleeping> nah, the dns stuff just uses whatever dns the resolving machine has configured
<mercurytw> no I mean the ipns bit
<mercurytw> although that's a good point too
pfraze has joined #ipfs
<whyrusleeping> oh, ipns is a distributed naming system
Matoro has quit [Quit: Matoro]
Matoro has joined #ipfs
timgws has joined #ipfs
cow_2001 has left #ipfs ["ASCII drawing of Islam's prophet Muhammad - o<-<"]
pfraze has quit [Remote host closed the connection]
<haadcode> morning
mildred has joined #ipfs
reit has quit [Read error: Connection reset by peer]
timgws has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ygrek has joined #ipfs
jhulten_ has joined #ipfs
jhulten_ has quit [Ping timeout: 244 seconds]
chriscool has quit [Remote host closed the connection]
bootstrap has joined #ipfs
patcon has quit [Ping timeout: 246 seconds]
<bootstrap> Can anyone tell me how ipfs bootstraps peers? Does it use a static list of bootstrap nodes?
<tperson> Yep
<spikebike> indeed
amstocker has joined #ipfs
<bootstrap> can you point me to where that code lives :)
dignifiedquire has joined #ipfs
<amstocker> jbenet still in SF?
s_kunk has quit [Ping timeout: 252 seconds]
<amstocker> wish I saw the message earlier, I was just downtown earlier tonight
<bootstrap> thanks @tperson
niekie has quit [Ping timeout: 264 seconds]
Guest54239 has quit [Remote host closed the connection]
bootstrap has quit [Quit: Page closed]
reit has joined #ipfs
<dignifiedquire> jbenet: could you explain https://github.com/ipfs/go-ipfs/pull/1979#discussion_r45440684 to me please?
<ipfsbot> [go-ipfs] jbenet deleted fix/kbucket-fill at 06bc124: http://git.io/v45fg
niekie has joined #ipfs
ipfs-gitter-bot has joined #ipfs
<ipfs-gitter-bot> (awrelll) bridge up ?
awrelll has joined #ipfs
<awrelll> hello
awrelll has quit [Quit: Page closed]
<ipfs-gitter-bot> (d11e9) Woop
<ipfs-gitter-bot> (awrelll) hey there
rendar has joined #ipfs
forth has joined #ipfs
dignifiedquire has quit [Quit: dignifiedquire]
NightRa has joined #ipfs
Guest23423 has joined #ipfs
Guest23423 has quit [Read error: Connection reset by peer]
jhulten_ has joined #ipfs
s_kunk has joined #ipfs
<ipfsbot> [go-ipfs] jbenet pushed 1 new commit to master: http://git.io/v45BS
<ipfsbot> go-ipfs/master 93c2309 Juan Benet: Merge pull request #1971 from ipfs/gateway-url-rewrites...
amstocker has quit [Ping timeout: 272 seconds]
jhulten_ has quit [Ping timeout: 276 seconds]
guest234234 has joined #ipfs
<victorbjelkholm> daviddias, you should compare the speed that people have here https://github.com/npm/npm/issues/10380 with your ipfs npm version :)
<victorbjelkholm> or better, chime in to the discussion and suggest ipfs, if that might help the speed ;)
<daviddias> Thank you for suggesting that, definitely part of the plan and we have mentioned it to Npm people before
<daviddias> Right now I really want for people to be able to do registry-mirror --ipfs and be all set
<daviddias> And for that, I need castor to finish downloading
<daviddias> Then, share it with everyone :):)
hellertime has joined #ipfs
voxelot has joined #ipfs
elima_ has joined #ipfs
dignifiedquire has joined #ipfs
elima_ has quit [Ping timeout: 240 seconds]
Matoro has quit [Quit: Matoro]
Matoro has joined #ipfs
doublec_ has joined #ipfs
doublec has quit [Ping timeout: 250 seconds]
<64MAEC3YP> [ipfs] jbenet closed pull request #116: Project Directory cleanup (master...feature/dir-cleanup) http://git.io/vlcBP
<6A4AA6FNV> [ipfs] jbenet pushed 13 new commits to master: http://git.io/v456u
<6A4AA6FNV> ipfs/master d0cb61a Richard Littauer: Renamed node- to js-, some style changes...
<6A4AA6FNV> ipfs/master 80052ec Richard Littauer: Added js-ipfs-path
<6A4AA6FNV> ipfs/master 0cb5292 Richard Littauer: Alphabetized
dignifiedquire_ has joined #ipfs
<dignifiedquire_> daviddias: I’m so excited about that :)
<daviddias> me too :D
<dignifiedquire_> daviddias: what about fresh modules that are not yet on castor?
<daviddias> Castor will continue to replicate
<daviddias> and we will continue to refresh our copy of the node that is pointed by an IPNS name
<daviddias> so that we have the fresh list
<dignifiedquire_> yes but what if it has not replicated yet when I request a freshly published version
<daviddias> it is a bit of the same race when some is "publishing" and the "other is installing"
<daviddias> but with a bit more hops in the middle
<daviddias> it won't be "as instant"
<daviddias> but it won't take forever also
<daviddias> registry-static listens for changes on npm
<dignifiedquire_> just thought if it hasn’t replicated yet, but it knows about a new version that it immediately fetches that version instead of failing
<daviddias> do you want to try to `ipfs swarm connect /ip4/37.59.33.238/tcp/4001/ipfs/QmdNc4B89DxVeiuDKRN5bWdKsAPCmekgmJMkRSdUNa7x9z``
<daviddias> needs to be 0.4.0
<daviddias> I'm getting a failure: dial backoff
<daviddias> and I'm like "Don't tell me to backoff, you backoff!"
<dignifiedquire_> :D
<daviddias> ahah :D
<dignifiedquire_> connect succes
<dignifiedquire_> it likes me better than you
<dignifiedquire_> is that castor?
<dignifiedquire_> uhh I have lots of peers
<dignifiedquire_> \/ipfs swarm peers
<dignifiedquire_> \/ip4/104.236.179.241/tcp/4001/ipfs/QmSoLPppuBtQSGwKDZT2M73ULpjvfd3aZ6ha4oFGL1KrGM
<dignifiedquire_> \/ip4/107.191.118.42/tcp/4001/ipfs/QmWhYrUgb9EUXFVCVo8cGZ8Eo1e7LrqPYAhAC4VtwJWNjj
<dignifiedquire_> \/ip4/37.59.33.238/tcp/4001/ipfs/QmdNc4B89DxVeiuDKRN5bWdKsAPCmekgmJMkRSdUNa7x9z
<dignifiedquire_> \/ip4/85.246.155.135/tcp/30600/ipfs/QmTi4cb3QgG7NoZknzTarQdoozUxGCQ3oV6Mw7NkBunbfL
<daviddias> how, you have me
<daviddias> common, seriously Castor, why, why , whyyyy
<daviddias> wait, why do you see me on port 30600
<dignifiedquire_> no idea
mercurytw2 has joined #ipfs
<daviddias> connect successful wooo
<dignifiedquire_> yeaah
<daviddias> I'm getting the listing of all the modules through a IPNS + files API combo
<daviddias> this is reaaally exciting
mercurytw has quit [Ping timeout: 276 seconds]
<dignifiedquire_> uhh I want to as well, are just using registry-static —ipfs ?
<daviddias> I'm actually right now just proving it works through ipfs directly
<daviddias> ipfs name resolve QmdNc4B89DxVeiuDKRN5bWdKsAPCmekgmJMkRSdUNa7x9z
<daviddias> and then you will get an IPFS hash which is the root dir of the npm registry clone
<daviddias> ipfs files cp /ipfs/thatHash /npm-registry
<dignifiedquire_> uhhhhh
seductivebarry has quit [Changing host]
seductivebarry has joined #ipfs
<daviddias> ipfs files ls /npm-registry (it will take a bit to load, but should be all in there)
* dignifiedquire_ waiting for ls and really excite
<daviddias> you have bsdash installed?
<dignifiedquire_> I don’t know, so probably not
<daviddias> npm i -g bsdash
<daviddias> and then just bsdash
<daviddias> and you can see what is happening
NeoTeo has joined #ipfs
<dignifiedquire_> cool
<dignifiedquire_> no idea what any of that means though
<dignifiedquire_> :D
<daviddias> bsdash stands for bitswap dash
<daviddias> so it is all the logs from bitswap and the calls it makes
<dignifiedquire_> I see, but it says “active requests: 0”
<daviddias> you get to see when we are providing
<dignifiedquire_> even though ls is still running
<dignifiedquire_> it does list some events
<daviddias> it was nicer in the past, way less printing
<daviddias> more descriptive logs
<daviddias> not sure what changed in the meantime
<daviddias> so, I have done the `ls` on a node that the registry is local
<daviddias> and takes a bit too
<daviddias> but this network ls is taking forever
<dignifiedquire_> yeah
<daviddias> .tell whyrusleeping can you try doing https://gist.github.com/diasdavid/1bee90d0bccfd1264eb2 and check if it takes forever?
<multivac> daviddias: I'll pass that on when whyrusleeping is around.
<dignifiedquire_> daviddias: any idea what jbenet means here: https://github.com/ipfs/go-ipfs/pull/1979#discussion_r45440684
<daviddias> I believe he means the port 8080
<daviddias> API is 5001 R+W
<daviddias> Gateway is 8080 R
<daviddias> like, when accessing ipfs.io/ipfs/hash that is accessing through the gateway
<daviddias> when we use js-ipfs-api, we always connect to the API
mercurytw has joined #ipfs
mercurytw2 has quit [Ping timeout: 265 seconds]
hellertime has quit [Quit: Leaving.]
reit has quit [Read error: Connection reset by peer]
<dignifiedquire_> daviddias: oh god bsdash is going crazy
<dignifiedquire_> 900 + worker listings
<dignifiedquire_> daviddias: I see, but still don’t understand where I should change the config in addition
rombou has joined #ipfs
doublec has joined #ipfs
doublec_ has quit [Ping timeout: 272 seconds]
<daviddias> dignifiedquire_: I believe that is because it wasn't thought yet, so the Gateway isn't expecting to get special headers
<daviddias> or, maybe, it is using the same headers as the API
<dignifiedquire_> okay, I’ll let jbenet figure it out then
<daviddias> .ask whyrusleeping where should the headers for the Gateway be set (or is the Gateway setting any headers at all from the config?) - https://github.com/ipfs/go-ipfs/pull/1979#discussion_r45440684 //cc @dignifiedquire_
<multivac> daviddias: I'll pass that on when whyrusleeping is around.
mercurytw2 has joined #ipfs
mercurytw has quit [Ping timeout: 240 seconds]
dignifiedquire has quit [Quit: dignifiedquire]
dignifiedquire_ is now known as dignifiedquire
<dignifiedquire> poor whyrusleeping he will get spammed by multivac when he comes back :D
<dignifiedquire> daviddias: ls is still running oO
hellertime has joined #ipfs
<daviddias> it timed out to me now :( wonder if this is a bug on the files API
ygrek has quit [Ping timeout: 240 seconds]
voxelot has quit [Ping timeout: 240 seconds]
mercurytw2 has left #ipfs [#ipfs]
hellertime has quit [Quit: Leaving.]
jhulten_ has joined #ipfs
jhulten_ has quit [Ping timeout: 246 seconds]
infinity0 has quit [Remote host closed the connection]
Encrypt has joined #ipfs
<dignifiedquire> daviddias: still going strong for me oO
<dignifiedquire> ipfs is constantly uploading and downloading with around 150KB/s
<daviddias> check if you still have castor on your swarm
<dignifiedquire> got 5 peers
<dignifiedquire> and yes castor is still there
infinity0 has joined #ipfs
guest234234 has quit [Ping timeout: 250 seconds]
<dignifiedquire> daviddias: SUCESSSSSSSSSS
<dignifiedquire> but it seems there are quite a lot still missing
doublec has quit [Read error: Connection reset by peer]
<dignifiedquire> ❯ IPFS_PATH=/Volumes/npm/.ipfs ./ipfs files ls /npm-registry |wc -l
<dignifiedquire> 17424
<ipfsbot> [go-ipfs] rht created appveyor (+1 new commit): http://git.io/v4dtA
<ipfsbot> go-ipfs/appveyor fdb5793 rht: Add appveyor conf...
doublec has joined #ipfs
<daviddias> Woooo
<daviddias> Wait, could have been my node dragging everyone down?
<daviddias> It was the moment I closed my laptop to come to the airport
<daviddias> That you succeeded
<daviddias> And yes, castor is still downloading
<dignifiedquire> daviddias: you are the baad node
<ipfsbot> [go-ipfs] rht opened pull request #1982: Add appveyor conf (master...appveyor) http://git.io/v4dmv
<dignifiedquire> hmm but if castor is still downloading, shouldn’t the number increase when doing new requests?
<dignifiedquire> but it seems to stay at 17424
<dignifiedquire> or am I missing something?
<daviddias> I haven't automated the ipns publish
<dignifiedquire> ah so it’s pointing to an “outdated” list right now?
<daviddias> Now that I know it works, will add that to the registry-mirror in a bit ( metro right now )
<daviddias> Yep
<dignifiedquire> I get the feeling you and jbenet are always on the road somehwere :D
<daviddias> Ahah I can definitely say that I've been upgrading my traveling skills constantly
<daviddias> And I'm always on the lookout on new ways to get internet anywhere
Encrypt has quit [Quit: Quitte]
jabberwocky has joined #ipfs
<kandinski> davidar: amen
jabberwocky has quit [Ping timeout: 255 seconds]
NeoTeo has quit [Quit: ZZZzzz…]
devbug has joined #ipfs
doublec has quit [Ping timeout: 252 seconds]
hellertime has joined #ipfs
doublec has joined #ipfs
rombou has quit [Ping timeout: 255 seconds]
devbug has quit [Remote host closed the connection]
devbug has joined #ipfs
plddr has joined #ipfs
<ipfsbot> [go-ipfs] rht opened pull request #1983: Use 'dag' forall namespace import prefixes of merkledag (dev0.4.0...naming) http://git.io/v4dcL
<ipfsbot> [go-ipfs] rht opened pull request #1984: Replace strings.Join(elms, "/") with path.Join(elms...) (dev0.4.0...util/path) http://git.io/v4dCs
rombou has joined #ipfs
TheWhisper has quit [Read error: Connection reset by peer]
rombou has quit [Ping timeout: 272 seconds]
infinity0 has quit [Remote host closed the connection]
infinity0 has joined #ipfs
__konrad_ has quit [Ping timeout: 250 seconds]
__konrad_ has joined #ipfs
<daviddias> .tell victorbjelkholm that I didn't forgot about his Pastel de Nata crave :P https://usercontent.irccloud-cdn.com/file/JtZMmH6w/1448025564.JPG
<multivac> daviddias: I'll pass that on when victorbjelkholm is around.
<ipfsbot> [go-ipfs] rht closed pull request #1975: placeholder pr to rerun the test on djdv path parser pr (master...djdv) http://git.io/v4XuL
jhulten_ has joined #ipfs
jabberwocky has joined #ipfs
jhulten_ has quit [Ping timeout: 255 seconds]
jabberwocky has quit [Ping timeout: 260 seconds]
border0464 has joined #ipfs
guest234234 has joined #ipfs
eaterof has joined #ipfs
cleichner has quit [Ping timeout: 240 seconds]
cemerick has joined #ipfs
rabbitface2 has quit [Ping timeout: 240 seconds]
nekomune has quit [Ping timeout: 240 seconds]
eater has quit [Ping timeout: 240 seconds]
rabbitface2 has joined #ipfs
cleichner has joined #ipfs
nekomune has joined #ipfs
fazo has joined #ipfs
<fazo> I'm going crazy trying to get js-ipfs-api to work with webpack
<fazo> I was using browserify, everything was fine, but I really need webpack's code splitting
<fazo> also browserify is so slow... anyway it builds fine but every api call throws this: Error while getting ipfs version: Error: Payload stream closed prematurely
<fazo> (oops, skip the first part) the error is "Error: Payload stream closed prematurely"
guest234234 has quit [Ping timeout: 265 seconds]
<fazo> I mostly copied my webpack config from the one used to build js-ipfs-api... I really don't get what's wrong...
<fazo> oh. I solved it. Damn it!! I should start talking to my cat about why my code won't work
<ipfsbot> [js-ipfs-api] Dignifiedquire created greenkeeper-run-sequence-1.1.5 (+1 new commit): http://git.io/v4FvE
<ipfsbot> js-ipfs-api/greenkeeper-run-sequence-1.1.5 e92c938 greenkeeperio-bot: chore(package): update run-sequence to version 1.1.5...
<fazo> It's been five hours! I spell out the problem ONCE and I solve it
jhulten_ has joined #ipfs
<ipfsbot> [js-ipfs-api] Dignifiedquire deleted greenkeeper-run-sequence-1.1.5 at e92c938: http://git.io/v4FfD
jhulten_ has quit [Ping timeout: 244 seconds]
Encrypt has joined #ipfs
Matoro has quit [Ping timeout: 265 seconds]
master8787 has joined #ipfs
ashark has joined #ipfs
CarlWeathers has quit [Ping timeout: 250 seconds]
reit has joined #ipfs
Matoro has joined #ipfs
TheWhisper has joined #ipfs
Matoro has quit [Ping timeout: 265 seconds]
devbug has quit [Ping timeout: 246 seconds]
rombou has joined #ipfs
pfraze has joined #ipfs
<dignifiedquire> daviddias: got something for you
cemerick has quit [Ping timeout: 265 seconds]
jhulten_ has joined #ipfs
jhulten_ has quit [Ping timeout: 276 seconds]
cemerick has joined #ipfs
rombou has quit [Ping timeout: 246 seconds]
rombou has joined #ipfs
rombou has quit [Ping timeout: 246 seconds]
elima_ has joined #ipfs
Matoro has joined #ipfs
voxelot has joined #ipfs
voxelot has joined #ipfs
voxelot has quit [Remote host closed the connection]
voxelot has joined #ipfs
voxelot has quit [Changing host]
voxelot has joined #ipfs
Donald has quit [Remote host closed the connection]
dignifiedquire_ has joined #ipfs
devbug has joined #ipfs
<dignifiedquire_> daviddias: have you seen https://surge.sh?
mildred has quit [Ping timeout: 246 seconds]
<ion> dignifiedquire: I think that’s why his ipscend was named ipsurge at first.
<dignifiedquire_> daviddias: hehe
<dignifiedquire_> I was exactly thinking ipcend should work like that
<dignifiedquire_> well then looks like I’m late to the party :D
Tv` has joined #ipfs
zz_r04r is now known as r04r
anopluriform has joined #ipfs
CarlWeathers has joined #ipfs
<dignifiedquire_> ion: do you know by any chance where in the go-ipfs code I can find a list of all available api calls?
<ion> dignifiedquire: I’m afraid I don’t, but I’d look at what the “ipfs commands” command does.
jhulten_ has joined #ipfs
HoboPrimate has joined #ipfs
<dignifiedquire_> hmm looks like it’s not a one to one match from `ipfs commands` to the available api calls :(
<ion> Huh. I was under the impression the RPC API is isomorphic to the CLI API.
jhulten_ has quit [Ping timeout: 255 seconds]
<daviddias> dignifiedquire_: rad! Thank you :)
* daviddias landed in BCN
<dignifiedquire_> daviddias:
<dignifiedquire_> daviddias: do you know of the authorative list for available api cmds?
devbug has quit [Ping timeout: 276 seconds]
<daviddias> I actually built ipscend ( at the time ipsurge) because I just wanted to demo to the surge people how could it be if they used IPFS
<daviddias> But then realized there is a lot more things we could do because we use IPFS as a layer of transport
<daviddias> Authorative list? Like all of them ?
<daviddias> ipfs commands prints them all
<dignifiedquire_> nope
<dignifiedquire_> e.g. debug/vars is not listed under ipfs commands
<dignifiedquire_> but it exists
<daviddias> True, options are not printed
<dignifiedquire_> no the whole debug thing doesn’t exist under ipfs commnands
<dignifiedquire_> it’s a strange command anyway, it’s only available as http://127.0.0.1:5001/debug/vars but not as ipfs debug vars
<daviddias> Ah, that might be because whyrusleeping has implemented some stuff he uses, but didn't plan for them to be part of the full commands set
<daviddias> I believe diag will be obfuscated at some point too
<dignifiedquire_> which leaves me with the question where can I get a list of all these commands
<dignifiedquire_> and how to use them
border0464 has quit [Ping timeout: 260 seconds]
<daviddias> .ask whyrusleeping is there a way to print the API routing table ?
<multivac> daviddias: I'll pass that on when whyrusleeping is around.
<dignifiedquire_> (trying to figure out what I can add to js-ipfs-api so it’s available in the webui, and I can print pretty stats in there)
<daviddias> Ah, I see
jhulten_ has joined #ipfs
border0464 has joined #ipfs
<daviddias> That's cool :)
<dignifiedquire_> and the thing is debug/vars is really good, but I can’t seem to get it to work in the ipfs-api
<dignifiedquire_> this does not work: command('debug/vars')
<dignifiedquire_> I get a 404 on it
amstocker has joined #ipfs
<dignifiedquire_> it seems it’s only available as simple page on the api address Oo
<dignifiedquire_> .tell whyrusleeping debug/vars is a really odd command :(
<multivac> dignifiedquire_: I'll pass that on when whyrusleeping is around.
master8787 has quit [Quit: Leaving]
<lgierth> dignifiedquire_: yeah it's not a command
<dignifiedquire_> lgierth: but it would be nice if it were
<lgierth> we'd need to specify it, and add a layer that ensures spec compliance
<lgierth> the stuff comes from go's pprof pkg
<dignifiedquire_> I see
<dignifiedquire_> really useful stuff though for stats
<lgierth> tl;dr everything under /debug is not part of the api (for now)
<dignifiedquire_> and monitoring
<lgierth> /debug/metrics/prometheus in particular :)
<lgierth> also look at cmd/ipfs/daemon.go serveHTTPApi() and serveHTTPGateway()
<lgierth> sorry i'm lagging a bit
<dignifiedquire_> is there more under debug?
<lgierth> yeah!
warner has joined #ipfs
Matoro has quit [Ping timeout: 265 seconds]
<dignifiedquire_> ah interesting debug/pprof/
<dignifiedquire_> well I can still make it available from the js-ipf-api :D
<dignifiedquire_> no matter if it’s a cmd or not
<lgierth> make sure to mark it as private
<lgierth> or something else that signifies it may break at any moment
<lgierth> bbiab, running a few errands
<dignifiedquire_>
Matoro has joined #ipfs
sseagull has joined #ipfs
<ipfsbot> [js-ipfs-api] Dignifiedquire opened pull request #129: feat: Add diag/sys command (master...diag-sys) http://git.io/v4bYo
fazo has quit [Quit: Page closed]
reit has quit [Ping timeout: 240 seconds]
devbug has joined #ipfs
Matoro has quit [Ping timeout: 265 seconds]
* whyrusleeping mmmm...
<multivac> whyrusleeping: 2015-11-20 - 10:45:02 <daviddias> tell whyrusleeping can you try doing https://gist.github.com/diasdavid/1bee90d0bccfd1264eb2 and check if it takes forever?
<multivac> whyrusleeping: 2015-11-20 - 11:09:44 <daviddias> ask whyrusleeping where should the headers for the Gateway be set (or is the Gateway setting any headers at all from the config?) - https://github.com/ipfs/go-ipfs/pull/1979#discussion_r45440684 //cc @dignifiedquire_
<whyrusleeping> wheres my coffee
<multivac> whyrusleeping: 2015-11-20 - 16:49:16 <daviddias> ask whyrusleeping is there a way to print the API routing table ?
<multivac> whyrusleeping: 2015-11-20 - 16:52:25 <dignifiedquire_> tell whyrusleeping debug/vars is a really odd command :(
<whyrusleeping> jesus
<whyrusleeping> you people are needy
<whyrusleeping> o.o
<lgierth> :>
<lgierth> the last one is solved :]
<dignifiedquire_> well I partially, I still want it as a command cause it doesn’t have cors headers on it :(
<dignifiedquire_> and yes whyrusleeping I spent all day just finding things for you ;)
<dignifiedquire_> also whyrusleeping it’s all because you told me you want a pretty dashboard
<whyrusleeping> lol, in that case, ask all the questions you want :D
<whyrusleeping> pretty things!
<whyrusleeping> daviddias: api routing table?
devbug has quit [Ping timeout: 250 seconds]
devbug has joined #ipfs
<dignifiedquire_> I think we solved that one, there is ipfs commands which lists all available commands corresponding to available api routes, and then there is some secret stuff under /debug correct?
<dignifiedquire_> and then my request is if we could have the stats from /debug/vars somehow in the api (maybe a new command stats?) (or at least add cors headers) so I can use them in the webui to build a nice stats dashboard using that data
devbug has quit [Ping timeout: 240 seconds]
ygrek has joined #ipfs
<whyrusleeping> yeah /debug is really just for manual debugging of go code
<whyrusleeping> we could wrap it in another handler that adds those headers
erikj` has quit [Quit: node-irc says goodbye]
M-erikj1 has joined #ipfs
devbug has joined #ipfs
NeoTeo has joined #ipfs
<dignifiedquire_> you mean so it stays at /debug or so we have a real api command?
patcon has joined #ipfs
<dignifiedquire_> also is everything under /metrics/prometheus available under /vars as well, or is that completely different?
ygrek has quit [Ping timeout: 250 seconds]
s_kunk has quit [Ping timeout: 250 seconds]
<ipfsbot> [js-ipfs-api] diasdavid pushed 2 new commits to master: http://git.io/v4brk
<ipfsbot> js-ipfs-api/master cf8b80a dignifiedquire: feat: Add diag/sys command
<ipfsbot> js-ipfs-api/master 015d3df David Dias: Merge pull request #129 from Dignifiedquire/diag-sys...
<ipfsbot> [js-ipfs-api] diasdavid pushed 2 new commits to master: http://git.io/v4brA
<ipfsbot> js-ipfs-api/master 6689810 David Dias: chore: build
<ipfsbot> js-ipfs-api/master 1b6fd6c David Dias: Release v2.9.1.
<ipfsbot> [js-ipfs-api] diasdavid tagged v2.9.1 at 3448939: http://git.io/v4boe
devbug has quit [Ping timeout: 260 seconds]
<dignifiedquire_> whyrusleeping: daviddias could you please leave comment on https://github.com/ipfs/webui/issues/90 listing what stats you would like to see in the new dashboard
simonv3 has joined #ipfs
<lgierth> dignifiedquire_: the prometheus endpoint is completely different
M-erikj1 is now known as erikj`
<daviddias> dignifiedquire_: added :)
<daviddias> whyrusleeping: API routing table as in, which paths does the API has an handler for the request.
devbug has joined #ipfs
Matoro has joined #ipfs
<dignifiedquire_> lgierth: and everyone else of coure as well :)
ygrek has joined #ipfs
<lgierth> dignifiedquire_: huh?
fazo has joined #ipfs
<lgierth> gotta run!
<dignifiedquire_> .tell lgierth add a wishlist of stats for the webui in https://github.com/ipfs/webui/issues/90
<multivac> dignifiedquire_: I'll pass that on when lgierth is around.
devbug has quit [Read error: Connection reset by peer]
devbug has joined #ipfs
devbug has quit [Ping timeout: 272 seconds]
mildred has joined #ipfs
kaliy has joined #ipfs
step21 is now known as step21_
Senji has quit [Ping timeout: 255 seconds]
<whyrusleeping> i should probably fix fuse...
Encrypt has quit [Quit: Quitte]
<ipfsbot> [go-ipfs] whyrusleeping pushed 1 new commit to fix/record-accounting: http://git.io/v4NnE
<ipfsbot> go-ipfs/fix/record-accounting 6fabee3 Jeromy: return sentinel error for invalid records...
Matoro has quit [Ping timeout: 265 seconds]
<ipfsbot> [go-ipfs] whyrusleeping closed pull request #1980: add closenotify and large timeout to gateway (dev0.4.0...fix/gateway-close-notif) http://git.io/v4QfL
<ipfsbot> [go-ipfs] whyrusleeping created rht-add-no-sync (+1 new commit): http://git.io/v4NCl
<ipfsbot> go-ipfs/rht-add-no-sync cab5868 rht: Add config option for flatfs no-sync...
<ipfsbot> [go-ipfs] whyrusleeping opened pull request #1985: Add config option for flatfs no-sync (dev0.4.0...rht-add-no-sync) http://git.io/v4NCF
<M-rschulman1> whyrusleeping: didn't you say that about fuse like 3 months ago? ;)
Matoro has joined #ipfs
<whyrusleeping> yeah...
<whyrusleeping> i'll probably say it again in three months
<whyrusleeping> also, if anyone just wants to have multiple versions of ipfs, and swap between them easily, ipfs-update stores your old binaries tagged with their version
<whyrusleeping> so you can 'ipfs-update revert' and select which one you want
amstocker has quit [Ping timeout: 246 seconds]
<substack> fazo: browserify can do code splitting too https://github.com/substack/browserify-handbook#partitioning
Senji has joined #ipfs
fazo has quit [Ping timeout: 246 seconds]
<whyrusleeping> substack: you goin to 32c3?
<ion> edwardk’s talk about propagators: https://youtu.be/DyPzPeOPgUE (of interest to anyone thinking about CRDTs)
Matoro has quit [Ping timeout: 265 seconds]
water1_resistant has joined #ipfs
Smilex has joined #ipfs
Matoro has joined #ipfs
<dignifiedquire_> whyrusleeping: why is log/tail returning content-type text/plain even though it’s actually returning ndjson?
border0464 has quit [Quit: sinked]
<whyrusleeping> dignifiedquire_: good question
<whyrusleeping> dignifiedquire_: what api request are you making?
<whyrusleeping> are you setting the stream-channels=true?
<dignifiedquire_> I did one with stream-channels and one without, both return content-type = text/plain and x-stream-output = 1
<whyrusleeping> hmmm, i see
<whyrusleeping> wow this is tricky
<whyrusleeping> that change was made so that we wouldnt render html on priveleged api ports
<dignifiedquire_> why would returning conten type json render html?
<whyrusleeping> well, it wouldnt
<whyrusleeping> but if it was unset it would
<whyrusleeping> the log tail command is 'unique' in that is returns a reader, but that reader spits out json
<whyrusleeping> hrmmm
<whyrusleeping> that if statement i liked should probably be changed to something like 'ok && mime != "application/json"'
<dignifiedquire_> sounds like it because now everything just gets converted to text no matter what mime it was if I understand it correct
<Smilex> Hey guys. I have a prototype for something cool I built ontop of IPFS
<Smilex> Not sure if anyone's interested?
<dignifiedquire_> Smilex: I think everyone here is interested in cool things ontop of IPFS :D
<ipfsbot> [js-ipfs-api] Dignifiedquire opened pull request #130: feat: Fix log/tail for 0.3.9 (master...log) http://git.io/v4N1h
<dignifiedquire_> whyrusleeping: but I have a fix for js-ipfs-api at least as I know what to expect from that call so it’s not urgent
<kyledrake> whyrusleeping anybody ever try to use an S3 FUSE mount for the IPFS backend?
<kyledrake> It would be interesting to try to run this for the storage stuff https://github.com/kahing/goofys
<whyrusleeping> kyledrake: we were just going to have the datastore be backed by s3 directly
<whyrusleeping> that should be possible in 0.4.0
<kyledrake> It's directly integrated into 0.4.0?
<whyrusleeping> i havent actually tried it because i dont have any s3 creds
<kyledrake> I've got creds.
<kyledrake> How do I try it :)
<whyrusleeping> let me get back into figuring it out here...
<Smilex> I've been trying these decenterelized networks a bit lately, and once I got them setup, I never know what to do with them, or what others are doing. So I made this http://itjac.me:9080/
<whyrusleeping> kyledrake: set your config Datastore.Type to s3
<Smilex> Now I'm not entierly sure what it is, but the loose idea I have is that instead of indexing shit intrusively, people get to share their cool stuff at an aggrigator and get to control how it is shown
<Smilex> Unfortunately I used the example code for IPFS, so I can only show part of what I've done at a time
<whyrusleeping> set Datastore.Params to {"region":"YOURS3REGION", "bucket": "S3BUCKET", "acl": "S3ACL"}
<Smilex> since I can't run the IPFS daemon and scripts at the same time
<Smilex> the result is that you just see a website with a search bar that doesn't work, and some testing nonsense. But if there's anyone who's feeling adventurous, you could download the script I put a link to at the top
<Smilex> and then I can enable the other part of the thing
<whyrusleeping> kyledrake: and then your auth creds appear to come from the environment variables as specified here: https://github.com/crowdmob/goamz/blob/master/aws/aws.go#L377
NeoTeo has quit [Quit: ZZZzzz…]
shazow has joined #ipfs
<whyrusleeping> Smilex: what will the server send me if i connect to it using that script?
<Smilex> whyrusleeping: well the host script isn't running yet. That's what I want people to test with me
<Smilex> whyrusleeping: the return message will be "Retrieved"
<whyrusleeping> Smilex: ah, okay
<whyrusleeping> i've been thinking of a way to write those protocol handlers without requiring the daemon in process
<whyrusleeping> i'm thinking of an api where you can tell the daemon youre lsitening for a given service on a given address
<whyrusleeping> and when it receives a dial on that service/protocol it will dial you and forward things on
<ion> Smilex: You could add shill.go with -w and use “ipfs get /ipfs/QmBlah/shill.go”.
<Smilex> whyrusleeping: isn't that what corenet.Listen(node, "/service") does?
<Smilex> ion: Ah so that's how you do that
<whyrusleeping> Smilex: right, but doing it that way requires you running the daemon in process
shazow has left #ipfs [#ipfs]
<whyrusleeping> i want to be able to do the corenet.Listen with an already running daemon
<Smilex> Well my daemons not on.
<Smilex> Add a file or something with "ipfs add something" then use that hash as the hash argument in go run shill.go
<Smilex> let's see if it works
<Smilex> Oh and I don't think go understands quoted arguments as one string, so just use underscores as spaces
<ion> Note that your system is centralized in its current form.
<whyrusleeping> Smilex: alright, one sec
<whyrusleeping> Smilex: it connected and sent you something
<whyrusleeping> now its hanging
<whyrusleeping> does the server close the stream afterwards?
<Smilex> whyrusleeping: maybe not
<Smilex> never figured out why it wouldn't exit
<Smilex> I just use ctrl-C
<whyrusleeping> oh, yeah
<whyrusleeping> you'll probably want to call s.Close() on the server
<whyrusleeping> after you write 'Retrieved'
<kyledrake> whyrusleeping thank you sir, I'll play with it.
<Smilex> updated
<whyrusleeping> Smilex: is your code still running? i'll try another one that isnt just the code i downloaded from you :P
<Smilex> I can switch
<Smilex> now it is
<whyrusleeping> Smilex: also, you might want to make the client send quoted strings to the server
<whyrusleeping> use %q instead of %s
<Smilex> whyrusleeping: All of the code would be rewritten
<Smilex> So this is all quite underwhelming. But I wanted to do a sanity check. Am I making any sense with this idea?
<Smilex> I actually have quite a few ideas with IPFS, but this is the start
<whyrusleeping> sent another
<whyrusleeping> Smilex: i think its pretty cool
<Bat`O> whyrusleeping: an idea to solve this ? https://github.com/ipfs/go-ipfs/pull/1966#issuecomment-158517826
<whyrusleeping> keep on going, this type of thing will be important, even if it is centralized
border0464 has joined #ipfs
<Smilex> Got the jellyfish
<whyrusleeping> Bat`O: hrm... thats strange
<whyrusleeping> Smilex: :D
wowaname has joined #ipfs
<Bat`O> whyrusleeping: i have some printf that shows that the cors url end up in :8080
rendar has quit [Ping timeout: 240 seconds]
<kyledrake> whyrusleeping Can I use the go get system with branches? How do you compile dev0.4.0?
limpangel has joined #ipfs
limpangel has quit [Client Quit]
<Smilex> Does anyone here know how to compile things like "core" with -build=c-archive? I couldn't figure it out
<whyrusleeping> kyledrake: cd $GOPATH/src/github.com/ipfs/go-ipfs
<whyrusleeping> git fetch
<whyrusleeping> git checkout dev0.4.0
<whyrusleeping> go install ./cmd/ipfs
<Smilex> actually that should be "-buildmode=c-archive"
rendar has joined #ipfs
simonv3 has quit [Quit: Connection closed for inactivity]
<whyrusleeping> Smilex: i havent tried that
<Smilex> whyrusleeping: might not be necessary at all. Better solution might just be to write some glue code that I compile with that
<dignifiedquire_> daviddias: new ipfs package for stats and log streaming has begun: https://github.com/Dignifiedquire/js-ipfs-event-stream
patcon has quit [Ping timeout: 250 seconds]
<dignifiedquire_> whyrusleeping: need to bug you again, is there a list of event types that can appear in the log?
<whyrusleeping> uhhh
* dignifiedquire_ feels like he is asking whyrusleeping all the wrong questions
<whyrusleeping> once sec
ipfspics-Didier has joined #ipfs
ipfspics-Didier has left #ipfs [#ipfs]
ipfspics-Didier has joined #ipfs
<whyrusleeping> dignifiedquire_: try: grep -R -h "log.Event.*)" | grep -o '".*"'
<whyrusleeping> should get you close enough
<dignifiedquire_> whyrusleeping: okay thanks
<ipfspics-Didier> Hey, I had a simple question, would trying to pin the same file twice cause any problems?
<whyrusleeping> ipfspics-Didier: nope
<ipfspics-Didier> whyrusleeping: Ok thanks!
<whyrusleeping> ipfspics-Didier: cool stuff on the galleries btw
<whyrusleeping> i enjoyed that
<ipfspics-Didier> whyrusleeping: Thanks, we're really enjoying working on this :-) just to be sure, so pinning twice won't put the file twice on the computer?
<whyrusleeping> ipfspics-Didier: nope, not at all
<ipfspics-Didier> whyrusleeping: Because my backup system has trouble with the pin command
<ion> ipfspics-Didier: Btw, I’m curious, how replicated is ipfs.pics? (To avoid the death of a single data center killing the service, which might be seen as a failure of IPFS.)
<ipfspics-Didier> ion: We have three computers running pins of the pictures as often as possible, although one of them has crashed so we're down to two but it should be back rather soon
<ipfspics-Didier> ion: but as for the website itself, we are working on a docker file, which will make it easy to deploy if anything goes wrong
<whyrusleeping> ipfspics-Didier: what issues?
elima_ has quit [Ping timeout: 244 seconds]
<whyrusleeping> with pinning
<ipfspics-Didier> I've been looking into it for like an hour, I don't understand to be honest, it might just be my java class that doesn't send the command correctly, I'm still running tests
<ipfspics-Didier> whyrusleeping: in the shell, when the file has succesfully been pinned, it doesn't print anything if I'm not wrong, is there a way to know what problem might be causing the picture to not be pinned? (because I've tried pinning the pictures directly from the comand line and it doesn't work either)
devbug has joined #ipfs
<whyrusleeping> so you run 'ipfs pin add <hash>'
<whyrusleeping> and 'ipfs pin ls' doesnt show the hash?
<whyrusleeping> and the pin add command exits with status 0?
<whyrusleeping> and no error message?
hellertime has quit [Quit: Leaving.]
<ipfspics-Didier> I actually run 'ipfs pin add -r <hash>' and it doesn't exit, would that mean it's still looking for the file?
<ion> Does “ipfs bitswap stat” show something perpetually in the wantlist?
cemerick has quit [Ping timeout: 252 seconds]
dipen has joined #ipfs
<ipfspics-Didier> whyrusleeping: I forgot to mention that the file is indeed already on my computer
<ipfspics-Didier> but as you said that shouldn't cause a proble,
<ipfspics-Didier> problem*
dipen has quit [Client Quit]
elima_ has joined #ipfs
<whyrusleeping> ipfspics-Didier: thats interesting, how sure are you that its all on your computer?
<whyrusleeping> do an ipfs refs -r <hash> on it
<ipfspics-Didier> well i ran ipfs pin ls, and the hash I'm trying to pin currently was in the list
<ipfspics-Didier> ok wait
<ipfspics-Didier> nothing happens, was it supposed to output anything?
<whyrusleeping> it should print out all the subhashes of that hash
<whyrusleeping> unless its a small object and has no child blocks
<ipfsbot> [go-ipfs] whyrusleeping pushed 1 new commit to dev0.4.0: http://git.io/v4ACF
<ipfsbot> go-ipfs/dev0.4.0 b4ab684 Jeromy Johnson: Merge pull request #1985 from ipfs/rht-add-no-sync...
<ipfspics-Didier> Well it's a picture, our server has no problem displaying it
<ipfsbot> [go-ipfs] whyrusleeping closed pull request #1963: Add config option for flatfs no-sync (dev0.4.0...add-no-sync) http://git.io/v4v0s
<whyrusleeping> huh, that is odd
devbug has quit [Ping timeout: 250 seconds]
<ipfspics-Didier> it seems to be doing that with any hash... My daemon is running, I don't understand what would be causing this
<ipfspics-Didier> I'm gonna try and reboot my computer, if that doesn't work I'll have to fix it another time, thanks for the help though!
Encrypt has joined #ipfs
ipfspics-Didier has quit [Quit: Page closed]
devbug has joined #ipfs
dignifiedquire_ has quit [Quit: dignifiedquire_]
devbug has quit [Ping timeout: 240 seconds]
<lgierth> .
<multivac> lgierth: 2015-11-20 - 18:25:15 <dignifiedquire_> tell lgierth add a wishlist of stats for the webui in https://github.com/ipfs/webui/issues/90
<ion> ,
ygrek has quit [Ping timeout: 252 seconds]
cemerick has joined #ipfs
patcon has joined #ipfs
HoboPrimate has quit [Ping timeout: 272 seconds]
<noffle> .
<noffle> :'(
surajravi has joined #ipfs
<surajravi> hi, i am running ipfs on my server (which has a basic webapp other than ipfs) and wanted to expose ipfs webui to user via my i[
<surajravi> however ipfs port 5001 listens only on port 5001 locally
<surajravi> sorry i mean it listens only on 127.0.0.1
<surajravi> how do i either make it to listen on *
simonv3 has joined #ipfs
<surajravi> or proxy it such that my main nginx serves it along with my other basic webapp
<surajravi> here is my server block (relevant part) from my nginx.conf: http://sprunge.us/BZha
NeoTeo has joined #ipfs
<kyledrake> whyrusleeping any ideas on this error? I only get it when I plug in the S3 stuff https://gist.github.com/kyledrake/cd7c699c50f55812ef08
<surajravi> what i tried to do (without any luck) was to proxy the ipfs webui at `my_server_ip/ipfs` via the following changes to the above nginx.conf snippet: http://sprunge.us/dUhj
cemerick has quit [Ping timeout: 272 seconds]
<surajravi> but it redirects me to my base webapp with `my_server_ip/webui/`
<whyrusleeping> kyledrake: hmm... thats tricky
<whyrusleeping> its a response from s3 saying 'object not found'
<kyledrake> crowdmob/goamz/s3/s3test/server.go line 498
<kyledrake> How can I spit out the object in a printout right there
<kyledrake> So I can figure out what it's trying to get
<whyrusleeping> i see the problem
<whyrusleeping> we arent casting the s3 errors into errors we understand
<kyledrake> I threw those credentials into aws-sdk for ruby and it can at least list the buckets
<whyrusleeping> well this is annoying
<whyrusleeping> the s3 library we are using just returns a text error
<whyrusleeping> it basically throws away the 404
forth has quit [Quit: Lämnar]
* whyrusleeping looks at the github repo for it
<whyrusleeping> "no longer maintained"
<whyrusleeping> cooool
cemerick has joined #ipfs
<ipfsbot> [go-ipfs] whyrusleeping deleted rht-add-no-sync at cab5868: http://git.io/v4AKk
TheWhisper has quit [Ping timeout: 265 seconds]
ygrek has joined #ipfs
cemerick has quit [Ping timeout: 260 seconds]
Matoro has quit [Quit: Matoro]
Matoro has joined #ipfs
TheWhisper has joined #ipfs
Matoro has quit [Ping timeout: 255 seconds]
true_droid has quit [Ping timeout: 240 seconds]
zmanian_ has quit [Ping timeout: 250 seconds]
xicombd has quit [Ping timeout: 264 seconds]
nskelsey has quit [Ping timeout: 250 seconds]
mek_ has joined #ipfs
HoboPrimate has joined #ipfs
Matoro has joined #ipfs
patcon has quit [Ping timeout: 246 seconds]
mildred has quit [Ping timeout: 265 seconds]
dignifiedquire_ has joined #ipfs
Whispery has joined #ipfs
<kyledrake> whyrusleeping lol. So much for that.
<kyledrake> I could just try a FUSE mount and see what happens
TheWhisper has quit [Ping timeout: 276 seconds]
<multivac> [REDDIT] MASSIVE DARK NET HIRING SPREE (self.darknetplan) | 1 points (100.0%) | 0 comments | Posted by DNMHR | Created at 2015-11-20 - 22:58:04
<ansuz> heh
<whyrusleeping> kyledrake: theres a fork thats being maintained
<whyrusleeping> i'll update it tonight
<whyrusleeping> ansuz: interesting
<kyledrake> whyrusleeping please do, I'd love to try it out. I'm happy to send you the ID/secret so you can play with it. It's a test account I created just for this, so not a big security issue
<ansuz> > are you skilled in maintaining anonymity? if so, send us your resume
<jbenet> mek_ and i were just talking about the python API and got into discussing levels of completeness of APIs. we figured that we can just have something like http://iswebrtcreadyyet.com/ but for the different IPFS API clients AND for the different IPFS core implementations
<jbenet> cc richardlitt kyledrake daviddias o/ -- this would be very useful to communicate to users _WHAT_ they should be using
<whyrusleeping> kyledrake: yeah, that would be cool!
ashark has quit [Ping timeout: 255 seconds]
<kyledrake> For now I'm going to play with a FUSE mount to S3. If it works well that's a pretty strong option. Works for anything that implements a filey system for whatever their backend is.
<spikebike> fuse to blockstore is pretty common and works reasonably for well behaved clients
<spikebike> I use fuse -> hadoop pretty heavily
<kyledrake> spikebike I used a fuse mounted s3 thing before but the metadata lookups were performance killers and it was just dogging it. I'm going to try this https://github.com/kahing/goofys
Whispy has joined #ipfs
<spikebike> kyledrake: yeah, works, but not fast.
<kyledrake> data durability is the bane of my existence
<spikebike> heh, I agree.
<spikebike> been tinkering with a p2p backup widget on and off
Whispy is now known as TheWhisper
Whispery has quit [Ping timeout: 244 seconds]
Matoro has quit [Ping timeout: 255 seconds]
dignifiedquire has quit [Quit: dignifiedquire]
dignifiedquire_ is now known as dignifiedquire
zmanian_ has joined #ipfs
<ipfsbot> [go-ipfs] whyrusleeping created fix/bitswap-ctx-wire (+1 new commit): http://git.io/v4Ade
<ipfsbot> go-ipfs/fix/bitswap-ctx-wire fe40df8 Jeromy: wire contexts into bitswap requests more deeply...
true_droid has joined #ipfs
<ipfsbot> [go-ipfs] whyrusleeping opened pull request #1986: wire contexts into bitswap requests more deeply (dev0.4.0...fix/bitswap-ctx-wire) http://git.io/v4AdO
amstocker has joined #ipfs
nskelsey has joined #ipfs
Matoro has joined #ipfs
TheWhisper has quit [Quit: Leaving]
TheWhisper has joined #ipfs
guest234234 has joined #ipfs
NeoTeo has quit [Quit: ZZZzzz…]
TheWhisper has quit [Quit: Leaving]
dignifiedquire has quit [Quit: dignifiedquire]
TheWhisper has joined #ipfs
<kyledrake> I see a datastore and blocks directory, that seem to be storing different info. What's the difference in a nutshell?
Encrypt has quit [Quit: Quitte]
cody4k has joined #ipfs
r04r has quit [Quit: This shouldn't be happening. What's happening?!]