jbenet changed the topic of #ipfs to: IPFS - InterPlanetary File System - https://github.com/jbenet/ipfs -- channel logged at https://botbot.me/freenode/ipfs/ -- code of conduct at https://github.com/ipfs/community/blob/master/code-of-conduct.md -- sprint at https://github.com/ipfs/pm/issues/7
hellertime has quit [Quit: Leaving.]
rht__ has quit [Quit: Connection closed for inactivity]
hellertime has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
www1 has quit [Ping timeout: 276 seconds]
guest965 has quit [Ping timeout: 264 seconds]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
anshukla has quit [Remote host closed the connection]
anshukla has joined #ipfs
Wallacoloo has quit [Ping timeout: 264 seconds]
anshukla has quit [Ping timeout: 272 seconds]
Wallacoloo has joined #ipfs
therealplato has quit [Ping timeout: 272 seconds]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<jbenet> whryusleeping: spacecat. omg yes
<whyrusleeping> lol
<zignig> hola.
therealplato has joined #ipfs
<whyrusleeping> zignig: hello
<zignig> whyrusleeping: going to have to convert astralboot across to your tftp server ( and mod it in the process ).
<zignig> the one I am using ( github.com/pin/tftp ) , craps out a about 4 concurrent reqs ( grrr )
<jbenet> we need a massive CC archive of cat pictures
<tperson> Who would of thought that code would be useful one day lol
<jbenet> wait maybe that's just flicker
<jbenet> "flickr"
<zignig> meow.ipfs.io ?
<tperson> ipfs.cat
<tperson> listens to provides and analyzes data to see if it's a picture of a cat...
<zignig> tperson: agreed ;)
<whyrusleeping> zignig: haha, someone might use my tftp code???
<tperson> relavent xkcd: http://xkcd.com/1425/
<zignig> indeed, need to rework it to have read and write functions that take a pipe reader , but shouldn't be to hard.
<tperson> Alright, this is going to happen now that the hard part is already done.
<tperson> More motivation to finish node-ipfs, that kittydar is javascript.
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<jbenet> i own ipfs.cat
guest965 has joined #ipfs
<zignig> jbenet: nice
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
therealplato has quit [Ping timeout: 240 seconds]
guest965 has quit [Ping timeout: 255 seconds]
guest965 has joined #ipfs
williamc_ has quit [Ping timeout: 256 seconds]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
alexandria-devon has quit [Quit: alexandria-devon]
therealplato has joined #ipfs
hellertime has quit [Quit: Leaving.]
<whyrusleeping> jbenet: a netcat tool for multistream isnt trivial...
<jbenet> whyrusleeping: how come?
<whyrusleeping> because its hard to tell it when to stop reading varint delimited messages
<jbenet> what do you mean?
<whyrusleeping> like, if i type 'SPDY'
<jbenet> after the multistreap protocol selection part, it goes to whatver other protocol
<whyrusleeping> yeah, but how does my client know that?
<jbenet> you get the same thing
<jbenet> the other side responds with headers too
<jbenet> it's bi-directional.
<whyrusleeping> hrmmm
<whyrusleeping> jbenet: how do i differentiate that from the response from ls
<jbenet> because you entered ls?
<whyrusleeping> so, the netcat thing needs to understand the protocol completely?
<whyrusleeping> so its more of a shell than netcat
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<jbenet> well, if you want to support multistream-select, then you need a thing that understands multistream select?
<jbenet> else yeah, it would only work for the header
<jbenet> (the one time
<whyrusleeping> mmkay
<whyrusleeping> so, does the response of ls have a format?
<tperson> Just a list of protocol headers right?
<whyrusleeping> should it be a single length delimited message containing all the protocols?
<lgierth> the overloaded gateways seem to always need a multiple of 1 minute to respond
<jbenet> see the #todo
<jbenet> "maybe include a varint number of protocols here ?"
<lgierth> it even happens right after a restart. or maybe it just tries to dial my node once a minute
<whyrusleeping> soooooo, should it be one message? or #messages -> lengthdelim -> lengthdelim...
therealplato has quit [Ping timeout: 272 seconds]
* lgierth out
<jbenet> lgierth: night o/
<jbenet> lgierth: not sure about that
<jbenet> whyrusleeping: i think we want some length-delim before each string (so follow the header as usual) to quickly scan long lists of headers.
williamcotton has joined #ipfs
<whyrusleeping> thats complicateddddd
<whyrusleeping> how do you know when to stop reading strings?
<jbenet> no, you can varint prefix the whole message.
<jbenet> <msg len><# of headers><s1 len><s1>\n<s2 len><s2>\n ...
<jbenet> it's like how msgpack, protobuf, bson, ubjson, and so on do arrays
<whyrusleeping> whats the point of length deliminating the whole thing?
<jbenet> it's not strictly needed, but it's easier for you because it's the same routine-- always read a varint first.
<jbenet> it's a single message
<whyrusleeping> hrm...
<whyrusleeping> that makes it harder to print though
<whyrusleeping> because i cant just print the message
<whyrusleeping> i have to parse the bytes i just read
<tperson> We'll you'll have to no matter what lol
<whyrusleeping> not really, i could just print it
<tperson> Having each len in there allows you to easily jump and strcmp
<tperson> You no longer need to search for the newline
<whyrusleeping> jbenet: so, i cant have a protocol named na, right?
<whyrusleeping> or one named ls
notduncansmith has joined #ipfs
<whyrusleeping> oh wait, they have to start with a /
<jbenet> na.
<whyrusleeping> right?
<jbenet> ya.
notduncansmith has quit [Read error: Connection reset by peer]
<jbenet> well, they _should_. theoretically, multistream doesn't force it, but we could make it force it.
<whyrusleeping> enfore ^/* ? [y/n]
<whyrusleeping> enforce*
williamcotton has quit [Read error: Connection reset by peer]
williamcotton has joined #ipfs
<jbenet> sure, force it.
therealplato has joined #ipfs
guest9651 has joined #ipfs
guest965 has quit [Read error: Connection reset by peer]
<whyrusleeping> cool cool
guest965 has joined #ipfs
guest9651 has quit [Read error: Connection reset by peer]
therealplato has quit [Ping timeout: 246 seconds]
williamcotton has quit [Ping timeout: 245 seconds]
rht__ has joined #ipfs
reit has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
pfraze has quit [Remote host closed the connection]
Evermore has quit [Quit: leaving]
www has joined #ipfs
anshukla has joined #ipfs
EricJ2190 has quit [Ping timeout: 250 seconds]
williamcotton has joined #ipfs
nessence has quit [Remote host closed the connection]
williamcotton has quit [Ping timeout: 265 seconds]
williamcotton has joined #ipfs
williamcotton has quit [Ping timeout: 244 seconds]
Evermore has joined #ipfs
kbala has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
warner has quit [Read error: Connection reset by peer]
warner has joined #ipfs
guest965 has quit [Read error: Connection reset by peer]
guest9651 has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
kbala has quit [Ping timeout: 265 seconds]
kbala_ is now known as kbala
anshukla has quit [Remote host closed the connection]
therealplato has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
guest965 has joined #ipfs
guest9651 has quit [Read error: Connection reset by peer]
Wallacoloo has quit [Remote host closed the connection]
Wallacoloo has joined #ipfs
Wallacoloo has quit [Client Quit]
williamcotton has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
Wallacoloo has joined #ipfs
guest9651 has joined #ipfs
guest965 has quit [Read error: Connection reset by peer]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
guest9651 has quit [Ping timeout: 265 seconds]
guest965 has joined #ipfs
sharky has quit [Ping timeout: 246 seconds]
Tv` has quit [Quit: Connection closed for inactivity]
guest965 has quit [Ping timeout: 255 seconds]
guest965 has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
guest9651 has joined #ipfs
guest965 has quit [Ping timeout: 272 seconds]
timgws has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
guest449 has joined #ipfs
anshukla has joined #ipfs
anshukla has quit [Ping timeout: 240 seconds]
tso has joined #ipfs
anshukla has joined #ipfs
anshukla has quit [Ping timeout: 245 seconds]
guest4491 has joined #ipfs
ei-slackbot-ipfs has quit [Remote host closed the connection]
ei-slackbot-ipfs has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
guest449 has quit [Ping timeout: 258 seconds]
mildred has joined #ipfs
Wallacoloo has quit [Quit: Leaving.]
<krl> !pin QmTxNTmUDXBPvyjg4bAo5Qizs6ag1sXtZkfhNxv7yE7AzC
<pinbot> now pinning QmTxNTmUDXBPvyjg4bAo5Qizs6ag1sXtZkfhNxv7yE7AzC
<pinbot> pin QmTxNTmUDXBPvyjg4bAo5Qizs6ag1sXtZkfhNxv7yE7AzC successful!
besenwesen has quit [Quit: ☠]
guest9651 has quit [Ping timeout: 255 seconds]
zabirauf has joined #ipfs
brab has joined #ipfs
tilgovi has quit [Remote host closed the connection]
mildred has quit [Ping timeout: 276 seconds]
Wallacoloo has joined #ipfs
tilgovi has joined #ipfs
besenwesen has joined #ipfs
besenwesen has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
Wallacoloo has quit [Ping timeout: 245 seconds]
guest965 has joined #ipfs
karthik has joined #ipfs
karthik is now known as Guest9718
therealplato has quit [Read error: Connection reset by peer]
mildred has joined #ipfs
therealplato has joined #ipfs
<zignig> !pin QmU8U8831gnrVCpbXuno2P2KcZXLWZZZkj4wZTDC1E3uu2
<zignig> !botslap
<zignig> ;/
Bioblaze has quit [Ping timeout: 256 seconds]
<zignig> whyrusleeping: can I get pinbot access ?
zabirauf has quit [Ping timeout: 240 seconds]
williamcotton has quit [Ping timeout: 244 seconds]
guest965 has quit [Ping timeout: 265 seconds]
elima_ has joined #ipfs
Guest9718 has quit [Quit: WeeChat 0.4.2]
guest965 has joined #ipfs
Wallacoloo has joined #ipfs
elima_ has quit [Ping timeout: 252 seconds]
elima_ has joined #ipfs
brab` has joined #ipfs
brab has quit [Ping timeout: 272 seconds]
brab`` has joined #ipfs
brab` has quit [Ping timeout: 272 seconds]
brab`` is now known as brab
brab has quit [Client Quit]
brab has joined #ipfs
<tperson> !pin QmU8U8831gnrVCpbXuno2P2KcZXLWZZZkj4wZTDC1E3uu2
<pinbot> now pinning QmU8U8831gnrVCpbXuno2P2KcZXLWZZZkj4wZTDC1E3uu2
<pinbot> pin QmU8U8831gnrVCpbXuno2P2KcZXLWZZZkj4wZTDC1E3uu2 successful!
<ipfsbot> [webui] krl opened pull request #63: stop navbar flowing into to two lines (master...responsive-tweak-navbar) http://git.io/vII0q
guest965 has quit [Ping timeout: 245 seconds]
guest965 has joined #ipfs
sharky has joined #ipfs
nessence has joined #ipfs
anshukla has joined #ipfs
zabirauf has joined #ipfs
domanic has joined #ipfs
guest965 has quit [Read error: Connection reset by peer]
guest9651 has joined #ipfs
hellertime has joined #ipfs
tilgovi has quit [Ping timeout: 244 seconds]
<cryptix> krl: that static index looks awesome
timgws has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<krl> cryptix: thx, might need some extra template magic though
Bat`O has quit [Ping timeout: 256 seconds]
zabirauf has quit [Read error: Connection reset by peer]
<krl> cryptix: could you look at maybe integrating it into the gateway? if you have time
<krl> i could give it a shot as well, but it would probably be more painful :)
Wallacoloo has quit [Ping timeout: 265 seconds]
brab has left #ipfs ["ERC (IRC client for Emacs 24.5.1)"]
hellertime has quit [Read error: No route to host]
brab has joined #ipfs
hellertime has joined #ipfs
guest9651 has quit [Ping timeout: 255 seconds]
* krl is setting up a windows virtualbox :P
<cryptix> krl: i'll try but i'm currently totally cluttered... :(
brab has quit [Remote host closed the connection]
brab has joined #ipfs
guest4491 has quit [Ping timeout: 276 seconds]
guest449 has joined #ipfs
guest449 has quit [Read error: Connection reset by peer]
guest4491 has joined #ipfs
guest449 has joined #ipfs
guest965 has joined #ipfs
guest4491 has quit [Ping timeout: 245 seconds]
atomotic has joined #ipfs
guest9651 has joined #ipfs
guest965 has quit [Read error: Connection reset by peer]
guest965 has joined #ipfs
guest9651 has quit [Read error: Connection reset by peer]
mildred has quit [Quit: Leaving.]
mildred has joined #ipfs
mildred has quit [Client Quit]
<jbenet> !pin QmQ8GaSPFgvVQevZdmFVrbdZNUYzPZy4Xk89KXPtn4iNeM
<pinbot> now pinning QmQ8GaSPFgvVQevZdmFVrbdZNUYzPZy4Xk89KXPtn4iNeM
<jbenet> mmm taking a bit of time.
<jbenet> krl zignig request access at https://github.com/whyrusleeping/pinbot
<jbenet> pinbot, what's your deal
<jbenet> !pin QmQ8GaSPFgvVQevZdmFVrbdZNUYzPZy4Xk89KXPtn4iNeM
<jbenet> hmmm
<jbenet> whyrusleeping o/
<jbenet> krl: what if we make the viewer be javascript on top of a raw page?
<jbenet> krl: i've always been annoyed that default directory listings on the web are html pages, cause i can't curl it into unix tools.
pinbot has quit [Ping timeout: 244 seconds]
<jbenet> krl: this wouldn't quite fix it... but may get closer
<jbenet> aww pinbot :(
atomotic has quit [Read error: Connection reset by peer]
guest965 has quit [Ping timeout: 252 seconds]
<krl> jbenet: curl it into unix tools?
<krl> how would js solve this?
<krl> otherwise, yes i think making it more client side makes sense, keeping the gateway code free of template wrangling
Encrypt has joined #ipfs
<krl> i'll get to that in a minute
<Encrypt> o/
<krl> but hmm, this would maybe require the readonly gateway thing?
<jbenet> well, wouldn't _quite_ work, but what i'm thinking is have something like the actual listing is (inside html sadly but) in one div on the page but formatted as text or whatever, and then js that loads can transform it into the pretty index.
<jbenet> not sure it's worth it--
<jbenet> (because browsers without js would be hosed)
<jbenet> then again... browsers without js...
guest965 has joined #ipfs
<krl> could fall back to the uglies inside noscript
<krl> but regarding curling the gateway, there's actually no need since you have ipfs ls
<jbenet> krl: true
<krl> that's more of an old web problem ;)
<Encrypt> Simply create an alert: "Enable JS please."
<Encrypt> :}
<krl> but ok, how is the gateway readonly api being implemented btw?
<krl> i see an overlap here with the gateway/api distinction in general
<krl> i'm kind of leaning towards that it would be nice to basically have window.ipfs be set automagically
<cryptix> 'enable js please' is horrible
<krl> or root.ipfs, whatever. something so that you don't have to bother as you're writing a webui-panel, or js for your ipfs-web page
<jbenet> Encrypt: javascript:alert("please enable javascript! ----- oh...");
<Encrypt> jbenet, Hum
<Encrypt> I think there's another way to do that
<Encrypt> A fallback in HTML
<jbenet> oh i was jk. we shouldn't do that
<krl> enable js please makes no sense, since anyone not running it most likely has a reason for it.
<jbenet> krl: yeah the "gateway/api" distinction is fuzzy.
zabirauf has joined #ipfs
anshukla has quit [Remote host closed the connection]
anshukla has joined #ipfs
<elima_> hi folks!
<elima_> where can I find updated docs on the REST API?
<krl> jbenet: what i would like is a notion of an ipfs-aware js-module
<elima_> I've been experimenting a bit with it, but I'm stuck at a "File argument 'path' is required"
<krl> that might take an env as an argument
<krl> so you'll have env.ipfs
<krl> hmm, that example does not use env.ipfs, but it's there
<Encrypt> I was thinking about this: http://www.w3schools.com/tags/tag_noscript.asp
<elima_> looking at https://github.com/ipfs/go-ipfs/blob/master/commands/http/parse.go I see the 'path' is apparently coming from the URL path...
<jbenet> elima_ what does the request look like?
<elima_> I'm trying this: curl -v -X POST -H "Content-Type: text/plain" --data-binary "Hello world!" "http://localhost:5001/api/v0/add"
<elima_> jbenet, --^
<cryptix> elima_: i think that add want's a multipart form
<krl> and btw, electron works now, addressed the tray crash bug, now we just need to think about installers
<krl> setting up to test on windoze atm
<Blame> morning!
<elima_> cryptix, hmm maybe, though that's not what the code suggests.. multipart is selected if content-type (mediatype) specifies so
<elima_> it seems that a required argument 'path' is not being resolved from the URL I'm trying, but I'm not sure what the expected syntax is, and found no doc on it
<jbenet> elima_ that's odd-- the path shouldn't be required. but try adding ?arg=foo at the end
<elima_> jbenet, tried curl -v -X PUT -H "Content-Type: text/plain" --data "Hello world!" "http://localhost:5001/api/v0/add?arg=foo" -> same error "File argument 'path' is required"
<Blame> ran on my machine
<jbenet> elima should look at what the cli sends when doing `echo foo | ipfs add` with daemon on.
<Blame> got same error.
<jbenet> can check by inspecting the http request sent out-- can do it by launching the daemon, editing the config to change the api url, and then setting up a netcat server there or something
<jbenet> krl: awesome, can i try it out on osx?
<elima_> jbenet, ok I will try to inspect it that way, thanks!
Encrypt has quit [Quit: Quitte]
<krl> jbenet: yes you can
guest965 has quit [Ping timeout: 252 seconds]
<krl> jbenet: node_modules/.bin/electron-packager . electron-ipfs --platform=darwin --ach=x64 --version=0.26.1
guest965 has joined #ipfs
inconshreveable has joined #ipfs
inconshreveable has quit [Read error: Connection reset by peer]
<krl> jbenet: thx!
<jbenet> krl: it gives me usage, but afaict, execution line is right
<krl> btw, could you make a .icns file from the logos? it's a special osx one right?
<jbenet> oh --arch
<krl> ach so :P
<jbenet> .icns? yeah i'll look into it
* krl master tyist
<jbenet> :(
<krl> hmm
<krl> do you get this with ipfsd-ctl on its own as well?
<krl> jbenet: think i can workaround, one sec
<jbenet> krl: give me a command to try with ipfsd-ctl ?
<jbenet> krl: should i merge https://github.com/ipfs/node-ipfsd-ctl/pull/1 ?
zabirauf has quit [Ping timeout: 252 seconds]
guest9651 has joined #ipfs
guest965 has quit [Read error: No route to host]
<krl> jbenet: yeah, might make more sense than pushing to the branch
<krl> jbenet: try with this: https://github.com/ipfs/electron-app/pull/2
<krl> if shutdown-handler is not portable, i'll have to look at that, it's not really used in this case though
<jbenet> (if publishing, might as well)
<ipfsbot> [webui] jbenet pushed 1 new commit to master: http://git.io/vILXf
<ipfsbot> webui/master c597b96 Juan Batiz-Benet: Merge pull request #63 from ipfs/responsive-tweak-navbar...
<krl> jbenet: try it with latest: https://github.com/ipfs/electron-app/pull/2
<elima_> cryptix, you were right, the request generated by cli is multipart
brab has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
<elima_> jbenet, the cli request for "add" doesn't require any path in the URL, and it uses multipart/form-data
<elima_> the question now is if *only* multipart requests work
domanic has quit [Ping timeout: 255 seconds]
<elima_> in any case, I can now move on by using requests similar to cli "add", but curl is no longer useful :(, unfortunate
<jbenet> krl: same story
<krl> exception setRawMode?
nessence has quit [Remote host closed the connection]
nessence has joined #ipfs
<jbenet> krl: yeah
<krl> jbenet: seems to be this https://github.com/joyent/node/issues/8204c
<krl> jbenet: seems to be this https://github.com/joyent/node/issues/8204
<krl> i'll fork and pr shutdown-handler to check for this condition
* krl is getting jittery from too much mate
<krl> stopped smoking since monday, compensating with salami and caffeine :P
<cryptix> krl: congrats!
<cryptix> krl: i'll try as well but decided that it wont make much sense to try before fusion :P
<jbenet> krl: congrats, that's great o/
<jbenet> krl: i'm glad for this, you'll live longer and we'll hack more things together
<jbenet> krl: also, i miss mate here
<krl> last time i quit was around when i was excited about the future of ethereum :P
<jbenet> krl: i can patch some js into a module to check if it will work
<jbenet> krl: any idea where it would be?
<jbenet> i like running into sindresorhus on github
<krl> test with this patch
guest965 has joined #ipfs
guest9651 has quit [Ping timeout: 256 seconds]
<krl> jbenet: any luck?
guest965 has quit [Ping timeout: 256 seconds]
<jbenet> krl: sorry was writing an issue, sec
guest965 has joined #ipfs
nessence has quit [Remote host closed the connection]
atomotic has joined #ipfs
guest965 has quit [Ping timeout: 244 seconds]
<jbenet> krl: that worked! \o.
<jbenet> krl: this is great \o/
<krl> awesomes!
<krl> copying the pkg.js code from friends atm
<jbenet> krl: hahhahaha the tray icon
<krl> jbenet: what about it? :)
<jbenet> in osx, it's a bit ... large. and colored. https://www.evernote.com/l/AMavEQN_sxxMh7w12X7BbwWmFJVCL8OTA2QB/image.png
<krl> lolzz
<krl> resistance is futile
<jbenet> "menubar" and uses the small icon there.
<krl> mhm. but we want a colorful one for non-osx
<jbenet> krl: yeah probably want to switch on platform
<krl> someone wants attention :)
<jbenet> krl: does it create a node with different ports?
<jbenet> krl: or will it clash with a local node?
<krl> it clashes, as of now
<krl> not sure what the best approach would be
<jbenet> it could ask-- if the ports are taken, ask whether to [ specify port | randomize port | exit ]
<jbenet> (kinda annoying for many ports, but, realistically, many people will clash with 8080
<jbenet> and maybe we want to add this info to the menu bar (what ports it is on, etc)
<krl> yeah, 8080 is pretty contested
<krl> i really want to move towards merging api/gateway soonish
elima_ has quit [Ping timeout: 256 seconds]
atomotic has quit [Read error: Connection reset by peer]
<jbenet> krl +1
<krl> so, what are the dimensions of the tray icons on osx?
<krl> ie, which one in the logo repo
elima_ has joined #ipfs
<krl> ok, we should add it to logo
<jbenet> ok i'll make one
guest965 has joined #ipfs
<krl> jbenet: bump the package version as well when you add files
<krl> jbenet: i already did .2, make it .3
pfraze has joined #ipfs
<Evermore> Is ipfs supposed to run as root to use the mount?
<grawity> no
<Evermore> When I do ipfs mount it says permission denied
<Evermore> WHen I do sudo ipfs mount it says ipfs not initialized
<grawity> do google about setting up FUSE on your distro
<grawity> debian is picky about it, requires adding yourself to the 'fuse' group
<Evermore> Do I need to mkdir /ipfs
<krl> Evermore: yes
<Evermore> ok
<krl> at this point you need to manually make /ipfs and /ipns, and set permissions for you user
<krl> *your
williamcotton has joined #ipfs
shazow has joined #ipfs
williamcotton has quit [Ping timeout: 258 seconds]
<jbenet> we need a "ipfs mount setup" that is run automatically on first run
<krl> jbenet: i published 0.1.2 already, could you make it 0.1.3
<jbenet> krl: published without pushing?
<krl> speaking of, i should move my npm ipfs related stuff to the org
<jbenet> yeah
<krl> jbenet: yeah, i guess maybe i shouldnt
<jbenet> krl: you bump it up and publish-- i dont think we should have commits up that are not actually published
<jbenet> (i cant publish to it)
<krl> i'll try to reassign my npm
<krl> jbenet: what should i add as collaborator?
<jbenet> mm jbenet and ipfsbot
<jbenet> (no need to reassign)
<jbenet> just add
<krl> ipfsbotuser not found: ipfsbot
<shazow> any plans for more ipfs blog posts? :D I keep checking back every few weeks in hopes for an overview of what's new :)
<jbenet> krl: ah i need to make a user, just jbenet then
<jbenet> shazow: yeahhhh need to do so many things
<jbenet> help us write some
<shazow> i keep wanting to do some demo projects on ipfs but i'm trying to catch up on expenses with some contract work right now
<krl> jbenet: ok you're in
<krl> jbenet: i'll do the bump if you don't mind
<jbenet> yeah go for it
tso has quit [Ping timeout: 256 seconds]
<krl> jbenet: got it
guest4491 has joined #ipfs
tperson has quit [Ping timeout: 256 seconds]
tperson has joined #ipfs
guest449 has quit [Ping timeout: 276 seconds]
rht__ has quit [Quit: Connection closed for inactivity]
<krl> jbenet: check this out: https://github.com/ipfs/electron-app/pull/6
bedeho2 has joined #ipfs
bedeho has quit [Ping timeout: 276 seconds]
<daviddias> woot! Thesis done, now time for IPFS hacking :D
<krl> daviddias: woho!
<jbenet> hey daviddias, huge congrats!!
<krl> daviddias: whats your thesis on?
<daviddias> Thank you :D
<daviddias> P2P networks, more specifically DHT on the browser with WebRTC to leverage volunteered CPU resources for Job Scheduling
<daviddias> I even made a cute logo https://cloudup.com/cfIUkJyp5ay ahaha
<daviddias> (I called it browserCloud.js :P)
<daviddias> ahaha
Confis has quit [Quit: leaving]
con_ has joined #ipfs
Encrypt has joined #ipfs
<cryptix> daviddias: congrats!!! :) enjoy your freedom
<daviddias> thank you :) It's such a good feeling
guest449 has joined #ipfs
therealplato has quit [Ping timeout: 265 seconds]
guest4491 has quit [Ping timeout: 265 seconds]
therealplato has joined #ipfs
nessence has joined #ipfs
<Luzifer> daviddias: congrats!
<daviddias> thank you
guest965 has quit [Ping timeout: 276 seconds]
bedeho2 has quit [Quit: Nettalk6 - www.ntalk.de]
<krl> uuurg, builds for windows runs into path length issues..
<whyrusleeping> krl: lol, freakin windows
<whyrusleeping> daviddias: woo! youre done!
<krl> do we really need windows support? :( :( :( :(
flugsio has quit [Quit: WeeChat 1.2]
besenwesen has quit [Quit: ☠]
besenwesen has joined #ipfs
Encrypt has quit [Quit: Quitte]
besenwesen has joined #ipfs
<whyrusleeping> krl: i guess as long as the go code works on windows we arent leaving them out too much...
<Blame> That problem looks like it should be solved with content addressing
<whyrusleeping> Blame: huh, if only there was a great distributed content addressed filesystem around that we could use...
<krl> whyrusleeping: thing is, the electron stuff makes the most sense for windows peeps.
<krl> well, maybe osx as well
<whyrusleeping> krl: hrmm....
rht__ has joined #ipfs
guest4491 has joined #ipfs
guest449 has quit [Ping timeout: 255 seconds]
<jbenet> krl: we should have windows support
<jbenet> did we run into the problem?
<jbenet> what do we import that's so long?
<Luzifer> wow. 30.5 degree celsius (~87 F)... I'm melting… :(
<whyrusleeping> Luzifer: ouch
<whyrusleeping> jbenet: its just npms recursive import thing
guest449 has joined #ipfs
guest4491 has quit [Ping timeout: 276 seconds]
tilgovi has joined #ipfs
lmatteis has joined #ipfs
lmatteis has quit [Client Quit]
<bret> windows pathing is a bitch
williamcotton has joined #ipfs
tilgovi has quit [Ping timeout: 246 seconds]
nessence has quit [Remote host closed the connection]
<bret> does ipfs have funding?
Encrypt has joined #ipfs
Tv` has joined #ipfs
guest4491 has joined #ipfs
guest449 has quit [Ping timeout: 272 seconds]
domanic has joined #ipfs
<daviddias> mafintosh you around? I'm looking for the multistream module you mentioned on issue #13
<mafintosh> daviddias: if the newline is part of the length we can just use length-prefixed-message which just reads a varint prefixed message from a stream
<mafintosh> daviddias: so we'd just need to wrap that in a simple through stream
<daviddias> reading length-prefixed-message. Your idea is to wrap in a through stream to do the byte count for the writer and also have a thing to declare the header of the stream (which is just one more write in the beginning), right? And then on multistream-select, we will just need a way to get those headers and see if the last one writing wasn't the one writing now,
<daviddias> also push the header again plus unique Id (for SPDY streams for example)
<daviddias> doing that :)
guest449 has joined #ipfs
guest4491 has quit [Ping timeout: 255 seconds]
inconshreveable has joined #ipfs
Encrypt has quit [Quit: Quitte]
chriscool has joined #ipfs
guest4491 has joined #ipfs
guest449 has quit [Ping timeout: 246 seconds]
williamcotton has quit [Ping timeout: 272 seconds]
Taek has quit [Quit: No Ping reply in 180 seconds.]
Taek has joined #ipfs
guest4491 has quit [Remote host closed the connection]
williamcotton has joined #ipfs
grncdr has joined #ipfs
grncdr has quit [Ping timeout: 256 seconds]
grncdr has joined #ipfs
inconshr_ has joined #ipfs
inconshreveable has quit [Ping timeout: 265 seconds]
grncdr has quit [Quit: Leaving.]
Wallacoloo has joined #ipfs
grncdr has joined #ipfs
lohkey has quit [Remote host closed the connection]
vonzipper has quit [Remote host closed the connection]
insanity54 has quit [Remote host closed the connection]
Luzifer has quit [Remote host closed the connection]
jbenet has quit [Remote host closed the connection]
mappum has quit [Remote host closed the connection]
Bioblaze has joined #ipfs
<sprintbot> Sprint Checkin! [whyrusleeping jbenet cryptix wking lgierth krl kbala_ rht__]
<lgierth> checkin: made sure ipfs on the gateways gets restarted regularly, today looking into switching from ipfs-gateway-fs to ipfs daemon
<Evermore> So this uses JavaScript to composite the text over the image, and it uses IPFS to de-duplicate the image, saving precious kiolbytes
<Evermore> It says "made on imgur" because I ripped the wolf image from there
Wallacoloo has quit [Quit: Leaving.]
shazow has left #ipfs [#ipfs]
<Evermore> Right now it's just uploading HTML, I need to fix it so it makes a directory with the JS or something so those will get pinned
<wking> checking: No progress since yesterday
williamcotton has quit [Ping timeout: 265 seconds]
<Evermore> I could use a "add from stdin" although I think I already asked about that once
atrapado has joined #ipfs
<lgierth> Evermore: add from stdin exists
<lgierth> Evermore: echo foo | ipfs add
<Evermore> lgierth: oh cool. I was expecting ipfs add -- like some programs do
<Evermore> It looks like Lua doesn't support opening a process read/write but ideally this would be a bash script anyway
inconshr_ has quit [Read error: Connection reset by peer]
inconshreveable has joined #ipfs
Wallacoloo has joined #ipfs
null_radix has quit [Quit: EliteBNC free bnc service - http://elitebnc.org - be a part of the Elite!]
<bret> easy merge ^^ :]
niran has quit [Remote host closed the connection]
Tv` has quit [Remote host closed the connection]
prosodyContext has quit [Remote host closed the connection]
robmyers has quit [Remote host closed the connection]
bigbluehat has quit [Remote host closed the connection]
ffmad has quit [Remote host closed the connection]
mafintosh has quit [Remote host closed the connection]
tibor has quit [Remote host closed the connection]
oleavr has quit [Remote host closed the connection]
Blame has quit [Remote host closed the connection]
sindresorhus has quit [Remote host closed the connection]
<Evermore> irccloud, eh?
williamcotton has joined #ipfs
<tperson> Did it just die, or people just leaving? I thought the point of it was to keep you connected.
inconshreveable has quit [Read error: Connection reset by peer]
<Evermore> guessing it died since they all left at once
inconshreveable has joined #ipfs
<ipfsbot> [webui] travisperson opened pull request #64: Reverted to fix issue with broken view (master...bug/remove-fixed-globe) http://git.io/vIYZs
<bret> tperson: there are a few outages a month
<bret> but unlike zinc, i don't have to be the one to fix it!
ZioFork has joined #ipfs
<bret> s/zinc/znc
null_radix has joined #ipfs
bigbluehat has joined #ipfs
williamcotton has quit [Ping timeout: 264 seconds]
nessence has joined #ipfs
<tperson> <3 znc, though I think I'm going to switch to running weechat and it's relay protocol.
<tperson> They have a nice android app.
<bret> ohh that sounds neat
<bret> is that new?
<lgierth> i started using weechat just yesterday
<tperson> I think it's kind of new
<bret> i could never quite get znc the way I wanted it to work
<daviddias> I've moved to IRCCloud since DTNConf after seeing a bunch of people using it, what are the issues you are dealing with?
<tperson> I just don't use IRCCloud, I'm sure it's great.
<tperson> IF you run a weechat relay though you can have a webui
<daviddias> btw mafintosh , https://github.com/mafintosh/length-prefixed-message is pretty cool :) Will you publish it on npm? Would like to avoid having to have git dependencies. Also I'm looking in a way to make it support uint64 to make it compatible with the go encoding/binary we are using
<tperson> Is that the package he was talking about on that issue?
Wallacoloo has quit [Ping timeout: 256 seconds]
<tperson> Doesn't look like he owns it though, it's forked from sorribas
<daviddias> tperson yes it is. I'm just creating a stream wrapper, add a way to stream headers and call it node-multistream to conform with the spec.
<daviddias> tperson true, but sorribas implementation is has a different way of working
williamcotton has joined #ipfs
williamcotton has quit [Ping timeout: 250 seconds]
niran has joined #ipfs
<bret> daviddias: congrats on completion your thesis
<bret> completing*
<daviddias> thank you bret :)
<bret> are you still working at &yet?
<daviddias> not anymore, left +- one month ago
<bret>
sindresorhus has joined #ipfs
Encrypt has joined #ipfs
oleavr has joined #ipfs
insanity54 has joined #ipfs
jbenet has joined #ipfs
Bioblaze has quit [Remote host closed the connection]
<tperson> If &yet wasn't in the Tri-Cities I would of probably applied there.
lohkey has joined #ipfs
mafintosh has joined #ipfs
prosodyContext has joined #ipfs
tibor has joined #ipfs
<kbala> whyrusleeping: would you like help with the packaging tool you mentioned?
ffmad has joined #ipfs
mappum has joined #ipfs
<tperson> bret: I'm snooping around and reading your blog. Ran across an image. https://www.flickr.com/photos/bretc/12094906366/
<tperson> What is the task program?
www has quit [Ping timeout: 255 seconds]
Tv` has joined #ipfs
<kyledrake> I'm trying to figure out if there's a simple way to download an entire site into a directory using it's IPFS directory hash.
<jbenet> kyledrake: ipfs get -o desiredName <hash>
<jbenet> or <path>
<jbenet> bret: yeah, we've some. i started a company to develop it and other protocols. http://ipn.io
Luzifer has joined #ipfs
vonzipper has joined #ipfs
grncdr has quit [Quit: Leaving.]
<jbenet> daviddias mafintosh that should work-- though need to make sure (a) the varint style matches, (b) we only use that during the headers-- nested protocols will do their own thing / msg prefixing.
grncdr has joined #ipfs
www has joined #ipfs
<daviddias> ah! I was seeing it as two layers, where multistream would do the first unwrap
<jbenet> daviddias: yeah-- we could do length-prefixed everything-- i have that as a WIP in https://github.com/jbenet/multistream/tree/master/msg-stream -- but some protocols do their own packetizing-- i.e. dont need to varint prefix http2, spdy, or QUIC streams, etc.
<jbenet> so someone will complain about double length wrapping
<jbenet> so i opted for making "multistream" just force the header and that's it.
Encrypt has quit [Quit: Quitte]
<daviddias> So, how the receiver endpoint, since once the header is sent, there is no way to tell when will that stream segment will end, or we just keep unwrapping (which will result in some weird formats) everything till something looks like a new header?
<daviddias> Another thing that I'm looking into is how to make maffintosh version work with uint64 (btw, maffintosh version is not using varint, it sets fixed header length https://github.com/mafintosh/length-prefixed-message/blob/master/index.js#L1-L25
<jbenet> daviddias: yeah we can't do EOF with base multistream :( -- it took me a while to come to terms with that -- packetizing (or cryptographic magic values, as some protocols do) is the only way to know when a stream has ended from above (i.e. "from below" = the children just exits and yields back control).
<jbenet> the bad thing about magic values (and i started on this) is that it is error prone-- no longer universal. if you happen to pipe part of the same stream inside (say as debug info) you may accidentally trigger weird unwrapping
EricJ2190 has joined #ipfs
Wallacoloo has joined #ipfs
<jbenet> yeah, so it is very unlikely that a protocol header would ever really _need_ a varint. (if you need more than uint64 bytes for a header, probably doing it wrong). i just tend to prefer forward-safe choices. -- we could abandon it in this case, i think whyrusleeping prefers fixed size here too. (though with a varint, most headers will only be one byte.
<jbenet> but that's not a huge win because the rest of the header will be pretty verbose)
<daviddias> yeah, then we would have to have transform streams in the middle to encode bad chars. Wouldn't an extra byte with a flag for "header", resolve the issue? Notifying the multistream-select that "is time to select"
<whyrusleeping> whats going on here?
therealplato has quit [Ping timeout: 258 seconds]
<jbenet> not seeing that o/ -- i see it as "multistream-select" is a child protocol like any other, it just happens to know how to nest other protocols. take a look at the muxer whyrusleeping wrote
<mafintosh> daviddias: checkout sorribas/length-prefixed-message instead of my fork. That uses varint prefixed messages
robmyers has joined #ipfs
<daviddias> thanks jbenet mafintosh , will look into it first then
Blame has joined #ipfs
rht__ has quit [Quit: Connection closed for inactivity]
Wallacoloo has quit [Quit: Leaving.]
therealplato has joined #ipfs
<ipfsbot> [go-ipfs] chriscool created update-cheggaaa-pb (+1 new commit): http://git.io/vIYAi
<ipfsbot> go-ipfs/update-cheggaaa-pb 24de361 Christian Couder: Godeps: update cheggaaa/pb to the latest version...
<kbala> jbenet: what should i aim to do now? should i just write the test scenario scripts for iptb?
<whyrusleeping> kbala: thats one way you could start going about things
<whyrusleeping> and might be a good course of action
<whyrusleeping> another thing would be to look at extracting the bitswap code so you can just create a bunch of bitswap instances and simulate different network conditions
<kbala> got it, i'll get to work on those
grncdr has quit [Quit: Leaving.]
chriscool has quit [Ping timeout: 272 seconds]
grncdr has joined #ipfs
Bioblaze has joined #ipfs
therealplato has quit [Read error: Connection reset by peer]
therealplato has joined #ipfs
<whyrusleeping> kbala, the first thing we want is some fine grained tests around expected bitswap behavior
<kbala> whyrusleeping: what would an example test be?
<jbenet> ideally we want a scripting tool, kind of like the dhtHell scripts
<jbenet> so that it's trivial to write complicated scenarios
<jbenet> whyrusleeping can you point kbala to good examples of that?
<whyrusleeping> examples of scripting things?
grncdr has quit [Ping timeout: 255 seconds]
<rschulman> is ubuntu lts 14.04 in IPFS yet?
<jbenet> rschulman give me a sec
<jbenet> rschulman: arch?
<rschulman> amd64
<jbenet> whyrusleeping: the dhtHell scripts
<whyrusleeping> got it
<whyrusleeping> that one creates 20 nodes, makes nodes 3 through 19 bootstrap to nodes 0 -> 2
<whyrusleeping> has nodes 10 through 19 start 'off'
<whyrusleeping> and then you can tell each node what to do
<whyrusleeping> so it makes it really simple to script different scenarios
<whyrusleeping> having an up to date program like this for bitswap
<whyrusleeping> would be pretty nice
* whyrusleeping looks for a good issue to post this in
<jbenet> whyrusleeping: ipfs/notes ?
<whyrusleeping> there? or the bitswap-ml issues page?
<jbenet> yeah either
<rschulman> what’s the latest version, btw?
<daviddias> whyrusleeping can I take 5 of your minutes to give me some clarifications on this https://github.com/whyrusleeping/go-multistream/issues/1 ? :)
<kbala> oh ok thanks whyrusleeping
<whyrusleeping> daviddias: sure
<jbenet> we need to cut the next release
<whyrusleeping> daviddias: responded
<daviddias> thank you!
<jbenet> whyrusleeping: your patch PR-- does that fix "Key.UnmarshalJSON: invalid b58 string"
www1 has joined #ipfs
www has quit [Ping timeout: 265 seconds]
<jbenet> whyrusleeping o/ ?
<Luzifer> wow... changed the firewall provider, had the rules blocking ipfs down for a few moments and got the next abuse message from my provider :(
<rschulman> jbenet: Don’t worry about ubuntu, I’m dling from the oficial site, just wondering if there was a faster way. :)
<jbenet> Luzifer :/// we really need to get on that
<jbenet> sorry for the inconvenience.
<Luzifer> definitely…
<jbenet> rschulman: /ipfs/QmdppLwP3omWrcNH49aioBCSfYXn7XSzU4FXmyRHM4kJ4x/ubuntu-14.04.2-desktop-amd64.iso
Wallacoloo has joined #ipfs
<Luzifer> 2m20s firewalls down, 604 lines netscan log…
<rschulman> jbenet: Yeah, but will it be any faster dling from you than from ubuntu.com? :)
flugsio has joined #ipfs
atrapa has joined #ipfs
atrapa has quit [Client Quit]
<Luzifer> wow. this time 12h time until the server is blocked :(
<whyrusleeping> jbenet: yeah
<whyrusleeping> (re: my patch/patch PR)
atrapado has quit [Quit: Leaving]
elima_ has quit [Ping timeout: 265 seconds]
<jbenet> whyrusleeping: tests so it doesnt happen again? i wanna merge it cause i wanna use it
<jbenet> rschulman: probably not.
<whyrusleeping> i can get to tests sometime tomorrow, busy today
<jbenet> Luzifer: you mean unblocked?
<jbenet> Luzifer: would it help for me to apologize to them and tell them we're working on it?
<Luzifer> jbenet: nope. 12h to fix the problem or the server will get disconnected from the network… I already put in a statement about what happened and referenced the last issue…
<Luzifer> (disconnected = blackholed in the core-router)
<whyrusleeping> i dont understand why we are trying to dial so much...
<Luzifer> I don't understand 604 connects within 2m20s
<whyrusleeping> if your node is already fully connected.. and its idle
<whyrusleeping> thats just absurd
<whyrusleeping> something is broken in the dialing code...
therealplato1 has joined #ipfs
<Luzifer> that's just… wow…
<whyrusleeping> thats blatantly a bug in something
<whyrusleeping> you dial the same address and fail multiple times
<whyrusleeping> within a minute
<jbenet> It's symmetric nats.
therealplato has quit [Ping timeout: 264 seconds]
<jbenet> and yeah-- we should do that o/
<jbenet> that's pretty silly.
<Luzifer> that container is connected to 37 peers all over the world (increasing) so no need to find an initial network or something...
therealplato1 has quit [Ping timeout: 265 seconds]
<Luzifer> at least the successful recheck gives me another 10h time... I hope my statement will get accepted again… otherwise I need to take down the container until we got a solution :(
<jbenet> Luzifer: its not about an initial network, it's about finding the shortest connection to a peer. i've detailed the problem in that issue already and the steps to fix it, we just need to take them.
<jbenet> (there are probably other things to fix too, like not dialing same addresses over and over)
inconshreveable has quit [Ping timeout: 265 seconds]
<jbenet> but whats on the issue should really help already.
<Luzifer> Hope so...
<jbenet> Luzifer: sinking the iptables like filter into go-ipfs will give the strongest protection. we can try to increase prio, but we're very overloaded with other important thigns
therealplato has joined #ipfs
* whyrusleeping tries to remember everything on his TODO list
Wallacoloo has quit [Ping timeout: 265 seconds]
<Luzifer> I gave that up... My list is too big to remember. Some parts which are important are nagging me automatically and the rest... The rest is a huge pile of tasks slowly migrating to a pile of dust...
<Luzifer> And then there are tasks quite important but that big I don't even start to work on it and it's getting worse every time I skip them... :(
<jbenet> rschulman: check out https://github.com/jbenet/ipfs-vbox
<jbenet> rschulman: install and try it with /ipfs/QmdppLwP3omWrcNH49aioBCSfYXn7XSzU4FXmyRHM4kJ4x/ubuntu-14.04.2-desktop-amd64.iso
<jbenet> rschulman: i just tried it from a coffee shop. took a while to get rolling, but it certainly hasn't downloaded the whole thing
<jbenet> wish i could trick VBoxManage to let me give it a pipe.
<jbenet> osxfuse breaks
<jbenet> the random accesses piss it off or something
<whyrusleeping> jbenet: tperson ran into issue with fuse recently as well
tso has joined #ipfs
<whyrusleeping> not sure if he was on osx or linux
<tperson> linux
<jbenet> daviddias whyrusleeping https://github.com/whyrusleeping/go-multistream/issues/1#issuecomment-109483285 sorry for not being clear -- my fault
<jbenet> lol my osxfuse is totally hosed
<jbenet> lovely, vbox reading on fuse, fuse calling ipfs, ipfs stuck somewhere, cant kill even kill -9 ipfs
<Evermore> jbenet: Happens to me weekly with sshfs
<jbenet> whyrusleeping: wait, is all the fuse stuff synch? on one goroutine?
Blame has quit [Quit: Connection closed for inactivity]
<whyrusleeping> jbenet: okay, from your spec, it seemed very clear that the newline was separate from the varint
<whyrusleeping> jbenet: i have no idea how fuse works. it might be on different threads
<whyrusleeping> it might be all on one
<jbenet> whyrusleeping: no i mean our code that handles fuse
<whyrusleeping> our code that handles fuse just implements the fuse interface
<whyrusleeping> theres nothing to be sync or not, its just a bunch of handlers
<jbenet> it doesnt synchronize somehow?
<jbenet> ok
<whyrusleeping> i mean, i wrote it assuming that it was going to be concurrent
<jbenet> what im seeing is this: when im requesting something large, all other iops hang, even if they're local
<whyrusleeping> it passes the race detector
<jbenet> so it's hung for network io, and so even stat calls on stuff that i know is local hang
<whyrusleeping> thats just osxfuse breaking
<jbenet> cc Tv` o/
<Tv`> hey
<jbenet> oh no, cctv-- recording everything
<jbenet> whyrusleeping: sorry normally i show examples with binary raw output to be extra clear, but i didnt in this one.
<Tv`> btw something being slow with virtualbox is not news
<rschulman> jbenet: Would love to try that out, but can’t install osxfuse on this comp
<jbenet> Tv` thoughts on the above though? where's the concurrency in fuse?
<jbenet> whyrusleeping: https://github.com/jbenet/multistream/blob/master/README.md#the-header clarified further (see the example)
<jbenet> (correct me if im wrong there)