whyrusleeping changed the topic of #ipfs to: go-ipfs v0.4.9 is out! https://dist.ipfs.io/#go-ipfs | Week 13: Web browsers, IPFS Cluster, Orbit -- https://waffle.io/ipfs/roadmaps | IPFS, the InterPlanetary FileSystem: https://github.com/ipfs/ipfs | FAQ: https://git.io/voEh8 | Logs: https://botbot.me/freenode/ipfs/ | Code of Conduct: https://git.io/vVBS0
<poopie> Ok, that makes sense. Cool beans.
<poopie> Do you mainly use IRC? Other chat programs are so prevalent now that it's kinda become obscure..
<poopie> Speaking about stuff like Slack, Hipchat, etc mostly
<pjz> sort of? for some stuff. Also: MOO, slack, gitter, google chat, xmpp... I may have an AIM connection too, I forget if I still have pidgin running it...
infinity0 has quit [Ping timeout: 240 seconds]
infinity0_ has joined #ipfs
infinity0_ has joined #ipfs
infinity0_ is now known as infinity0
<pjz> lgierth: is pinning still synchronous? ie. if I do 'pin XYZ' does it only return onces it's pinned? or return immediately and pin it async?
charley has quit [Remote host closed the connection]
charley has joined #ipfs
poopie has quit [Quit: Page closed]
<lgierth> it still synchronous, and no plans to change that
<lgierth> there might be a flag for async in the future i guess
<lgierth> but not default -- we aim to not change compatibility-relevant things
charley_ has joined #ipfs
charley has quit [Ping timeout: 263 seconds]
<pjz> it's just a bit painful when pinning big things over the network
<pjz> and if the daemon dies then it has to be restarted
charley_ has quit [Ping timeout: 276 seconds]
charley has joined #ipfs
<lgierth> mh! a --retry flag
charley has quit [Remote host closed the connection]
<pjz> mh?
charley has joined #ipfs
<pjz> and it's even worse if you try and pin via the API
<lgierth> i mean ipfs pin add --retry, so that it'd retry the api request if it failed
<lgierth> failed = the underlying connection to :5001 got reset
<lgierth> or a 5xx response code
<lgierth> similar to wget --retry or whatever the flag is called in wget
<lgierth> and yeah eventually have `ipfs pin jobs` or so
<lgierth> and `ipfs pin add -j Qmfoo`
<Guest2429> 14213935 4548500015550437 04/19 060 CLAUD LENTINELLO Address City State ZIP ARGENTINA Phone gggd 28.01-ARmixP2 Check Mon, 01/05/2017 - 06:37 NOT
rudolph has quit [Ping timeout: 240 seconds]
rudolph has joined #ipfs
ygrek_ has quit [Remote host closed the connection]
ygrek_ has joined #ipfs
<pjz> whyrusleeping was thinking about making pins and adds and such async, since (last I heard) ipfs was about to grow an internal task manager of some sort
<whyrusleeping> yeah, thats on the 'lets figure out how to make it work' track right now
<whyrusleeping> we have tracking of running commands
<whyrusleeping> and through that, should be able to fairly easily get the ability to cancel them
kenmazsyma__ has quit [Quit: Connection closed for inactivity]
sirn has quit [Ping timeout: 255 seconds]
joocain2 has quit [Ping timeout: 248 seconds]
<pjz> what does pinbot do to pin big stuff?
jaboja has quit [Ping timeout: 246 seconds]
joocain2 has joined #ipfs
<M-hash> hm 'internal task manager'?
jonnycrunch has quit [Ping timeout: 240 seconds]
jonnycrunch has joined #ipfs
Guest2429 has left #ipfs [#ipfs]
TheGuyWho has quit [Ping timeout: 246 seconds]
rudolph has quit [Ping timeout: 246 seconds]
TheGuyWho has joined #ipfs
Akaibu has quit [Quit: Connection closed for inactivity]
* pjz hacks on py-ipfs-api
jaboja has joined #ipfs
charley has quit [Remote host closed the connection]
sirn has joined #ipfs
charley has joined #ipfs
joocain2 has quit [Ping timeout: 248 seconds]
joocain2 has joined #ipfs
charley has quit [Remote host closed the connection]
charley has joined #ipfs
sirn has quit [Ping timeout: 240 seconds]
shizy has joined #ipfs
sirn has joined #ipfs
Miezel_ has joined #ipfs
Miezel has quit [Ping timeout: 276 seconds]
libman has joined #ipfs
Svetlana has joined #ipfs
Svetlana has quit [Max SendQ exceeded]
Svetlana has joined #ipfs
charley has quit [Remote host closed the connection]
Svetlana has quit [Max SendQ exceeded]
rudolph has joined #ipfs
Aranjedeath has joined #ipfs
orion__ has joined #ipfs
<orion__> hey
X-Scale has quit [Ping timeout: 260 seconds]
charley has joined #ipfs
rudolph has quit [Ping timeout: 276 seconds]
sprint-helper7 has quit [Remote host closed the connection]
ygrek_ has quit [Ping timeout: 260 seconds]
charley has quit [Ping timeout: 246 seconds]
Hijiri has quit [Ping timeout: 240 seconds]
strixy has quit [Ping timeout: 240 seconds]
frood_ has quit [Ping timeout: 240 seconds]
substack has quit [Ping timeout: 240 seconds]
Igel_ has quit [Ping timeout: 240 seconds]
Blustone has quit [Ping timeout: 255 seconds]
thefinn93 has quit [Ping timeout: 255 seconds]
joocain2_ has joined #ipfs
<whyrusleeping> jamesstanley: Hey, i left some comments on your gateway PUT PR
shizy has quit [Ping timeout: 268 seconds]
brodo has joined #ipfs
<whyrusleeping> pjz: pinbot doesnt do anything special to pin big things
Igel has joined #ipfs
joocain2 has quit [Ping timeout: 248 seconds]
strixy has joined #ipfs
llama has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
sprint-helper has joined #ipfs
thefinn93 has joined #ipfs
substack has joined #ipfs
brodo has quit [Ping timeout: 260 seconds]
Blustone has joined #ipfs
Hijiri has joined #ipfs
frood has joined #ipfs
bed7 has joined #ipfs
dimitarvp has quit [Quit: Bye]
tilgovi has joined #ipfs
asyncsec has quit [Quit: asyncsec]
tilgovi has quit [Ping timeout: 276 seconds]
Jesin has quit [Quit: Leaving]
TheGuyWho has quit [Ping timeout: 276 seconds]
sirn has quit [Ping timeout: 240 seconds]
joocain2_ has quit [Ping timeout: 248 seconds]
TheGuyWho has joined #ipfs
joocain2 has joined #ipfs
Aranjedeath has quit [Quit: Three sheets to the wind]
bedeho has joined #ipfs
charley has joined #ipfs
Jesin has joined #ipfs
orion__ has quit [Quit: Lost terminal]
robattila256 has quit [Ping timeout: 276 seconds]
jaboja has quit [Remote host closed the connection]
llama has joined #ipfs
anshukla has joined #ipfs
homelessrobot[m] has left #ipfs ["User left"]
enzo__ has quit [Quit: This computer has gone to sleep]
Maxz has joined #ipfs
joocain2_ has joined #ipfs
bed7 has quit [Quit: Leaving]
palkeo has joined #ipfs
joocain2 has quit [Ping timeout: 248 seconds]
tilgovi has joined #ipfs
homelessrobot[m] has joined #ipfs
chris613 has quit [Quit: Leaving.]
enzo has joined #ipfs
enzo is now known as Guest83049
ulrichard has joined #ipfs
Mitar has quit [Ping timeout: 240 seconds]
Hoosilon has quit [Ping timeout: 240 seconds]
joocain2_ has quit [Ping timeout: 248 seconds]
joocain2 has joined #ipfs
palkeo has quit [Ping timeout: 276 seconds]
bedeho has quit [Remote host closed the connection]
tilgovi has quit [Ping timeout: 240 seconds]
charley has quit [Remote host closed the connection]
charley has joined #ipfs
Miezel_ has quit [Quit: This computer has gone to sleep]
pcre has joined #ipfs
charley has quit [Ping timeout: 276 seconds]
Miezel has joined #ipfs
Miezel has quit [Client Quit]
brodo has joined #ipfs
bedeho has joined #ipfs
brodo has quit [Ping timeout: 246 seconds]
anshukla has quit [Remote host closed the connection]
m0ns00n has joined #ipfs
m0ns00n has quit [Quit: quit]
llama has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
llama has joined #ipfs
joocain2_ has joined #ipfs
sirdancealot has joined #ipfs
tilgovi has joined #ipfs
joocain2 has quit [Ping timeout: 248 seconds]
jhand has quit [Quit: Connection closed for inactivity]
llama has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
pat36 has joined #ipfs
llama has joined #ipfs
llama has quit [Client Quit]
rendar has joined #ipfs
ygrek_ has joined #ipfs
ylp1 has joined #ipfs
TheGuyWho has quit [Ping timeout: 255 seconds]
TheGuyWho has joined #ipfs
sirn has joined #ipfs
ulrichard has quit [Read error: Connection reset by peer]
o33 has joined #ipfs
Mitar has joined #ipfs
anshukla has joined #ipfs
mildred has joined #ipfs
homer6 has joined #ipfs
anshukla has quit [Quit: Leaving...]
mahloun has joined #ipfs
joocain2 has joined #ipfs
joocain2_ has quit [Ping timeout: 248 seconds]
Guest83049 has quit [Quit: This computer has gone to sleep]
TheGuyWho has quit [Ping timeout: 276 seconds]
TheGuyWho has joined #ipfs
brodo has joined #ipfs
libman has quit [Quit: Connection closed for inactivity]
maxlath has joined #ipfs
Boomerang has joined #ipfs
mildred has quit [Read error: Connection reset by peer]
mildred has joined #ipfs
brodo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sirn has quit [Ping timeout: 276 seconds]
maxlath1 has joined #ipfs
maxlath has quit [Ping timeout: 276 seconds]
maxlath1 is now known as maxlath
<ruunyan> are files you have pinned in any way "announced" to the network, or would someone have to know of the hash beforehand to know you're pinning it?
sirn has joined #ipfs
<voker57> ruunyan: pinning is strictly local
sirdancealot has quit [Ping timeout: 246 seconds]
<voker57> blocks you download and ipfs add, however, are announced
<ruunyan> ah
<ruunyan> thanks
charley has joined #ipfs
tilgovi has quit [Ping timeout: 246 seconds]
charley has quit [Ping timeout: 255 seconds]
joocain2_ has joined #ipfs
ygrek_ has quit [Ping timeout: 240 seconds]
joocain2 has quit [Ping timeout: 248 seconds]
tilgovi has joined #ipfs
tilgovi has quit [Ping timeout: 246 seconds]
cxl000 has joined #ipfs
charley has joined #ipfs
charley has quit [Ping timeout: 246 seconds]
cmbrnt has quit [Ping timeout: 276 seconds]
ilyaigpetrov has joined #ipfs
clemo has joined #ipfs
brodo has joined #ipfs
Caterpillar has joined #ipfs
brodo has quit [Client Quit]
charley has joined #ipfs
corvinux has joined #ipfs
joocain2_ has quit [Ping timeout: 248 seconds]
charley has quit [Ping timeout: 255 seconds]
o33 has quit [Quit: Leaving]
joocain2 has joined #ipfs
brodo has joined #ipfs
bedeho has quit [Remote host closed the connection]
espadrine_ has joined #ipfs
bedeho has joined #ipfs
jkilpatr has quit [Ping timeout: 258 seconds]
mahloun has quit [Remote host closed the connection]
corvinux has quit [Ping timeout: 255 seconds]
Miezel has joined #ipfs
<victorbjelkholm> pjz: the same as any other pins, pins it on the gateways. Normally we don't use pinbot for too large things though
dimitarvp has joined #ipfs
rcat has joined #ipfs
charley has joined #ipfs
joocain2_ has joined #ipfs
joocain2 has quit [Ping timeout: 248 seconds]
charley has quit [Ping timeout: 276 seconds]
rendar has quit [Ping timeout: 276 seconds]
rendar has joined #ipfs
jkilpatr has joined #ipfs
joocain2_ has quit [Ping timeout: 248 seconds]
joocain2 has joined #ipfs
maxlath has quit [Ping timeout: 276 seconds]
charley has joined #ipfs
charley has quit [Ping timeout: 246 seconds]
Jesin has quit [Read error: Connection timed out]
joocain2_ has joined #ipfs
joocain2 has quit [Ping timeout: 248 seconds]
jkilpatr has quit [Read error: Connection reset by peer]
maxlath has joined #ipfs
brodo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
brodo has joined #ipfs
brodo has quit [Ping timeout: 276 seconds]
jkilpatr has joined #ipfs
brodo has joined #ipfs
brodo has quit [Read error: Connection reset by peer]
brodo has joined #ipfs
charley has joined #ipfs
brodo has quit [Quit: Textual IRC Client: www.textualapp.com]
charley has quit [Ping timeout: 276 seconds]
jkilpatr has quit [Ping timeout: 260 seconds]
jkilpatr has joined #ipfs
jkilpatr has quit [Ping timeout: 268 seconds]
gmoro has quit [Ping timeout: 240 seconds]
corvinux has joined #ipfs
gmoro has joined #ipfs
joocain2 has joined #ipfs
rendar has quit [Ping timeout: 240 seconds]
joocain2_ has quit [Ping timeout: 248 seconds]
muvlon has joined #ipfs
ralphtheninja has joined #ipfs
ralphtheninja has quit [Quit: leaving]
ralphtheninja has joined #ipfs
charley has joined #ipfs
charley has quit [Ping timeout: 246 seconds]
bed7 has joined #ipfs
tt_ has joined #ipfs
<tt_> hi
tt_ has quit [Client Quit]
m0ns00n has joined #ipfs
asyncsec has joined #ipfs
m0ns00n has quit [Client Quit]
corvinux has quit [Ping timeout: 260 seconds]
jsierles has joined #ipfs
charley has joined #ipfs
charley has quit [Ping timeout: 240 seconds]
tomatopeel has quit [Quit: WeeChat 1.4]
joocain2_ has joined #ipfs
bedeho has quit [Remote host closed the connection]
bedeho has joined #ipfs
joocain2 has quit [Ping timeout: 248 seconds]
rendar has joined #ipfs
rendar has joined #ipfs
rendar has quit [Changing host]
bedeho has quit [Ping timeout: 255 seconds]
ashark has joined #ipfs
tomatopeel has joined #ipfs
<tomatopeel> hey https://github.com/ipfs/examples/blob/master/webapps/play/Makefile what's up with this example? Are we supposed to set up $WEB_ROOT/ipfs/ as the IPFS_PATH or something?
<tomatopeel> I get that the play html file is just some html/js to set up video.js in the client browser, unclear how we're plugging the video from IPFS into this though
<jsierles> anyone using ipfs with fuse?
ulrichard has joined #ipfs
tantalum has joined #ipfs
<Polychrome[m]> poopie: Sadly other chat programs beside IRC, XMPP, Matrix and I suppose MOOs are very commercially focused and run on non-federated servers. New stuff are just mostly uncool :(
Miezel has quit [Quit: This computer has gone to sleep]
<tomatopeel> hmmm so `make publish` actually works, but what the hell is happening? I get this http://localhost:8080/ipfs/QmVfjzSs6YZU8csqXB7HAypK7cinZY4Qa8rk4T9vFmSv2e/play#/ipfs/QmTKZgRNwDNZwHtJSjCp6r5FYefzpULfy37JvMt9DwvXse ... I guess the video is just something that is available over ipfs... and also this whole play dir gets added recursively to ipfs...
rudolph has joined #ipfs
<tomatopeel> I wonder if I can access this on the gateway
<voker57> yeah, that's right. you should be able if gateway can connect to somebody who added it
<tomatopeel> I have the same web code that's in this play dir hosted at tomatopeel.com right now though
<tomatopeel> so I figured going to http://tomatopeel.com/play#/ipfs/QmTKZgRNwDNZwHtJSjCp6r5FYefzpULfy37JvMt9DwvXse might render the video in the browser also
<tomatopeel> but instead it just tries to save some web-page locally
<tomatopeel> because its the play dir that's being served
<tomatopeel> hmmm now I'm getting a 403 O.o
<tomatopeel> first time it seemed to half load
<crankylinuxuser> you need to make an exception for nginx. I'd whitelist content if you dont want a public gateway.
<jsierles> would IPFS fuse be a good use case for distributing software packages? like literally whole operating systems with lots of small files?
rudolph is now known as rodolf0
<jsierles> i couldn't find much info about its caching behavior
sirn has quit [Quit: ZNC - http://znc.in]
sirn has joined #ipfs
<tomatopeel> crankylinuxuser: not sure what you mean actually, thought you meant about allowing the mime types but I checked and video mp4 is allowed in my nginx mime types
<tomatopeel> checked the access log and it just says 403, no other useful info
<crankylinuxuser> you're using nginx with a mounted filesystem (IPFS). That's normally disallowed by default.
<tomatopeel> crankylinuxuser: okay, what piece of config is this though?
rudolph has joined #ipfs
rudolph has quit [Client Quit]
<tomatopeel> this is new territory for me
rodolf0 has quit [Quit: Leaving]
rodolf0 has joined #ipfs
shizy has joined #ipfs
<tomatopeel> my nginx conf if it helps http://termbin.com/wj65 very standard, the play html file is in /data/www along with the lib dir, exactly as in the webapps example on github
<tomatopeel> nginx error log says "directory index of /data/www is forbidden" O.o maybe I should make the dir a+x
<tomatopeel> hmm made no difference, same error
<crankylinuxuser> Are you running SElinux?
<crankylinuxuser> run "sestatus" in console. what's the "SELinux Status:" output?
<tomatopeel> disabled
rodolf0 has quit [Quit: Leaving]
<tomatopeel> even if this was working though I have no idea what's happening, can I just ask: http://tomatopeel.com/#/ipfs/QmTKZgRNwDNZwHtJSjCp6r5FYefzpULfy37JvMt9DwvXse what's the # all about? Isn't that like a div ID?
bedeho has joined #ipfs
rodolf0 has joined #ipfs
<tomatopeel> there is no index.html (well this is now, I just renamed play to index.html to test this)
<crankylinuxuser> So do you have nginx handling all your webserver, or is it in front of apache?
<tomatopeel> I mean are we supposed to be hitting the play html file and going to the div id "/ipfs/QmBlahBlahBlah" ?
<tomatopeel> just nginx
joocain2 has joined #ipfs
<tomatopeel> most minimal setup ever, config in the termbin a few lines up
<crankylinuxuser> you could always symlink the /ipfs/#hash to /data/www/ipfs/#hash
<crankylinuxuser> Its quick and dirty, but it'd work.
<tomatopeel> crankylinuxuser: how can you symlink an ipfs hash? this stuff is just in blocks in the repo isn't it?
<crankylinuxuser> you have to mount ipfs first , to /ipfs . Then it shows up in your directory structure. Then, it's as simple as ln -s /ipfs/#hash /data/www/ipfs/#hash
joocain2_ has quit [Ping timeout: 248 seconds]
<tomatopeel> oh jeez
<crankylinuxuser> you could technically mount it to /data/www/ipfs , but then any request wuld make your server an open IPFS node.
<tomatopeel> how did I only just learn that ipfs mounting was a thing just now... I've been looking at this project for like a whole week
<voker57> # is for fragments in URI. often used to pass some parameters to javascript
charley has joined #ipfs
<voker57> in your case js gets video URI to play via #
<voker57> video multihash *
wak-work has quit [Ping timeout: 246 seconds]
Miezel has joined #ipfs
Calinou is now known as CALINOU
<tomatopeel> voker57: so this is what's being served https://gist.github.com/tomatopeel/ca316363ff31a494742737b3c40c8465 (dir structure) and this is the 'play' html file https://github.com/ipfs/examples/blob/master/webapps/play/play ... my nginx config just specifies the root to be /data/www ... surely I have to have play in the URL in order to hit the play file, or set a redirect to it or something?
charley has quit [Ping timeout: 255 seconds]
Miezel has quit [Ping timeout: 240 seconds]
<voker57> tomatopeel: yes, you need to access "play" file
<tomatopeel> voker57: annoyingly if I hit tomatopeel.com/play#anything my browser tries to download the file...
enzo__ has joined #ipfs
<voker57> tomatopeel: that's because nginx doesn't detect "play" type. Either force text/html in config or rename to play.html
<crankylinuxuser> I'd use your developer options to see what's being negotiated, since you said nginx is giving garbage logs.
<fabrixxm> or call it index.html
bedeho has quit [Remote host closed the connection]
charley has joined #ipfs
<fabrixxm> and now you need a pubblic ipfs gateway
<tomatopeel> so localhost:8080 is a local gateway... so that means it can somehow pull files from ipfs... tomatopeel.com is no gateway right now... so it's going to be impossible to pull a file from ipfs like that, right?
<tomatopeel> ah yeah, as I was typing :D
wak-work has joined #ipfs
<tomatopeel> (was just talking about the localhost:8080 thing in general, like on my client machine right now... localhost:8080 is not a thing on my tomatopeel.com host right now... least I don't think... maybe it is...)
<tomatopeel> okay I think I kind of understand how all this is supposed to work now. Some work to do. Thanks all!! :)
ylp1 has quit [Quit: Leaving.]
charley has quit [Ping timeout: 276 seconds]
jc has joined #ipfs
<voker57> yeah or if you have ipfs station in browser original page workd
wak-work has quit [Read error: Connection reset by peer]
wak-work has joined #ipfs
<crankylinuxuser> ^^ Yes, but allows me to run exploits I load into my IPFS ran via your security policy.... http://tomatopeel.com/play.html#http://localhost:8080/ipfs/QmTKZgRNwDNZwHtJSjCp6r5FYefzpULfy37JvMt9DwvXse/ipfs/QmY3GMPfonu8ipZQQ6idgo9G5yP4SSCAzG6FNd4pK67vvy/hacked.txt
<crankylinuxuser> ^^ the right URL.
<voker57> that's normal for modern web
bedeho has joined #ipfs
lidel has quit [Quit: WeeChat 1.8]
<tomatopeel> lmao oh wow
Miezel has joined #ipfs
<tomatopeel> hmmm would a different approach than this gateway stuff to be to use js-ipfs maybe?
<voker57> js-ipfs is different network from go-ipfs
<tomatopeel> yeah why is that?
<voker57> because js cannot into sockets
<tomatopeel> websocket?
<voker57> not a socket
<voker57> it uses webrtc atm
<Magik6k> It is not different, most nodes don't have common transports, though there is relay protocol in development
sirn has quit [Quit: ZNC - http://znc.in]
<tomatopeel> is the relay protocol going to involve a bunch of supernodes acting as bridges or something?
<voker57> best option rn is to use //ipfs.io/ipfs/ in your code I guess, browser plugins rewrite this to local gateway
sirn has joined #ipfs
<voker57> and you can use no webserver at all, just publish your play code as IPNS and add it to your DNS record
<tomatopeel> voker57: you wouldn't be able to use client-side js video player code to dynamically play different videos with that though would you?
Miezel has quit [Ping timeout: 240 seconds]
<tomatopeel> I'm looking to demo/PoC ipfs
<tomatopeel> oops
<tomatopeel> ipfs's answer to youtube... well at least that's the pipe dream I had this morning lol
<tomatopeel> I guess if it was that trivial it would've already been done eh
<tomatopeel> the merkled block approach is so perfect for video streaming though right?
<tomatopeel> and my friend that runs a site for streaming football videos is looking to upgrade his site to do more modern/cool stuff just now, so was hoping to be able to demo something to him using ipfs...
<voker57> tomatopeel: what do you mean, dynamically? you can play any video on ipfs that way
<voker57> he could benefit from js-ipfs easily, yes
<voker57> not sure what is 'streaming' here though, if it's live, stuff s harder
<tomatopeel> voker57: hmm not sure what I meant actually haha... need to play around more
<tomatopeel> and no it's not live
<tomatopeel> but he wants to do some half interesting stuff like tracking how much of a video has been watched
<fabrixxm> voker57: js-ipfs would download the file in browsers localstorage ?
ulrichard has quit [Remote host closed the connection]
<voker57> fabrixxm: I think so
HeWhois has quit [Ping timeout: 240 seconds]
<voker57> if it's not live, easy, he hosts video via js-ipfs and serves js-ipfs code + ipfs link to customers, they swarm the video
<voker57> tracking has to be trusted for client-side js to report though
bedeho has quit [Remote host closed the connection]
<fabrixxm> tracking has to be from client-side js anyway :-)
<voker57> also if his sites gets down people can still watch video :)
Miezel has joined #ipfs
<voker57> maybe if they didn't close the page yet...
jhand has joined #ipfs
HeWhois has joined #ipfs
jkilpatr has joined #ipfs
joocain2 has quit [Ping timeout: 248 seconds]
joocain2 has joined #ipfs
robattila256 has joined #ipfs
maxlath has quit [Ping timeout: 276 seconds]
jc has quit [Ping timeout: 260 seconds]
HeWhois has quit [Ping timeout: 276 seconds]
HeWhois has joined #ipfs
bedeho has joined #ipfs
detran has quit [Read error: Connection reset by peer]
<tomatopeel> any advice on this would be cool https://discuss.ipfs.io/t/fuse-mountpoint-mini-faq/312/2
maxlath has joined #ipfs
corvinux has joined #ipfs
<crankylinuxuser> yep. You cant "ls /ipfs"
lidel has joined #ipfs
<crankylinuxuser> thats because, by definition every hash exists. All 2^256 of them
<crankylinuxuser> You **CAN** "ls /ipfs/#hash/"
<voker57> you can't but ls /ipfs works for me
<crankylinuxuser> does it give an empty directory? If so, it sounds like IPFS isn't mounted over /ipfs
HeWhois has quit [Ping timeout: 246 seconds]
corvinux has quit [Client Quit]
HeWhois has joined #ipfs
<voker57> ah, you're right
<kythyria[m]> You can also do this without fuse if your httpd supports being a reverse proxy.
<crankylinuxuser> Yep. Good ol mod_proxy.
<kythyria[m]> Hm, you couldn't safely point a web browser to file:///ipfs/ afaik.
<kythyria[m]> (or could--AFAIK file URLs are severely nerfed--but it wouldn't be very useful)
joocain2_ has joined #ipfs
bedeho has quit [Remote host closed the connection]
joocain2 has quit [Ping timeout: 248 seconds]
<crankylinuxuser> Ideally, I was looking at doing symlinks in /var/www/ipfs and allowing symlinks only to /ipfs/#hash where I indicate a list of whitelisted hashes. That's to prevent my server from being a public gateway to stuff I dont want to serve. (AKA, copyright crap)
<voker57> better solution would be to modify ipfs daemon not to fetch non-pinned content
<voker57> i need that too
<crankylinuxuser> Its hard to determined if an arbitrary block is pinned or not, as you have to climb the DAG to determine that.
<crankylinuxuser> And a block can be part of a pinned and non-pinned content.
<voker57> you don't need to determine it, only fetch all the blocks then pinning
<voker57> when pinning *
<voker57> and don't fetch them on demand
<crankylinuxuser> But only the root pinned hash is marked as pinned. The rest are recursively grabbed when pinned. And a block can be a part of multiple hashes.
<voker57> so?
<voker57> you need some tree you need to server from your gateway, pin it
<crankylinuxuser> Meaning you have to walk the dag for each block to determine if it is part of a pin on the local peer.
<voker57> no, just serve it if it's present in blockstore, otherwise ignore the request
<crankylinuxuser> I believe that approaches something like O(n^2) time to compute.
<voker57> yeah that's what ipfs currently performs on every pinned tree if you use `pin rm` on unpinned block currently...
<voker57> but as i pointed out in case of pin-only gw it's not needed
<crankylinuxuser> No, not at all. The root block contains pointers that point downward the graph. Its trivial to walk them for the list. Going upward requires scanning to look at what's pointing to them.
<voker57> exactly, so ipfs tries to go upwards from your block to see if there's a pin on the top
<crankylinuxuser> It is not obvious , given a hash, if it's part of a larger hash. It's trivial to determine the contents of said hash.
<crankylinuxuser> It's an exhaustive search with severe computational penalties.
jkilpatr has quit [Ping timeout: 246 seconds]
<crankylinuxuser> What you're saying is possible voker57. What one has to consider is not only "Is it possible?", but also considerations like computation time, memory usage, feasibility, and the like. And in this case, I'd posit that that computation time to determine if X hash was related to a pin is going to be really bad. My guess is N^2, but could be even worse than that.
<voker57> my point is, doing this computation is not required to host a gateway with only pinned content
<crankylinuxuser> Yes, it is. Because /ipfs/hash can be pointing to an image. That image is part of Dir_hash . That dir_hash is part of more multiple directories, leading to a pinned node. The structure in IPFS is flat AND is directed acyclic. The directed part is only a 1-way direction. So the reverse dirction *must* be computed manually and exhaustively until a Pin is found (if any).
<whyrusleeping> you could just enumerate a big filter of all pins (including children of recursive pins)
<whyrusleeping> it would be expensive in terms of memory, but probably fine on cpu
<whyrusleeping> you could also just require that the hash in the url be a recursive pin (so you couldnt directly access a file inside a pinned directory, you would have to go through the directory)
espadrine_ has quit [Ping timeout: 268 seconds]
<voker57> crankylinuxuser: whatever the overlaying structure is, /ipfs/hash is either already present in DB (if pinned) or not. So it's simple check for existance of block
<crankylinuxuser> And it's just easier to whitelist a specific /ipfs/#hash than climbing through the DAG or assembling blocklists and graphs. It may not be the most elegant solution, but it sure is simple.
<crankylinuxuser> The downside is if your whitelist gets unmaintainable, like the example of "banned public gateway hashes"
<crankylinuxuser> But these are stopgaps until browsers receive first-class IPFS resolution. After that, then content can directly access ipfs:// without stupid of mod_proxy, reverse proxying, and the like.
<whyrusleeping> ooooh, a 'local' gateway is a neat idea
<whyrusleeping> only serve content that exists locally
* whyrusleeping likes
<crankylinuxuser> I wasn't wanting to suggest that, for the off chance that everyone does that. Then nobody would offer bandwidth from their temp cache. Then the gains would be mostly moot for using IPFS.
Encrypt has joined #ipfs
<crankylinuxuser> Synonymous with joining a bittorrent file share, and setting "upload == 0 KB/s"
<kythyria[m]> crankylinuxuser: I thought the roadmap was browsers accessing file:///ipfs/
<voker57> eh, that does nothing fo bandwidth. local gateway only restricts HTTP serving
<voker57> you still don't normally serve other people's content in IPFS. gateways are stopgap
<crankylinuxuser> That's absolutely not true. Any content in the ipfs cache can and will be served.
<crankylinuxuser> Ive pinned about 2GB of content on this machine, and have about 5GB in the cache. And I can watch my computer fulfilling requests for the blocks I have stored temporarily.
<voker57> yeah -- but that's not controlled by other people.
<voker57> there is only content you requested or pinned yourself
<voker57> local gateway just doesn't fetch new blocks if requested via http
<crankylinuxuser> Yes, and every time I request someone else's content, I also then serve it as well unless I clean my repo (or it does it itself).
<voker57> i'm not suggesting affecting that
X-Scale has joined #ipfs
bedeho has joined #ipfs
Encrypt has quit [Quit: Quit]
rendar has quit [Ping timeout: 276 seconds]
joocain2 has joined #ipfs
joocain2_ has quit [Ping timeout: 248 seconds]
charley has joined #ipfs
charley_ has joined #ipfs
charley has quit [Ping timeout: 246 seconds]
charley_ has quit [Ping timeout: 246 seconds]
f0x[m] has joined #ipfs
mildred2 has joined #ipfs
jkilpatr has joined #ipfs
Mitar has quit [Ping timeout: 260 seconds]
enzo__ has quit [Quit: This computer has gone to sleep]
Miezel has quit [Quit: This computer has gone to sleep]
charley has joined #ipfs
charley has quit [Ping timeout: 255 seconds]
enzo__ has joined #ipfs
rendar has joined #ipfs
rendar has joined #ipfs
rendar has quit [Changing host]
joocain2_ has joined #ipfs
joocain2 has quit [Ping timeout: 248 seconds]
charley has joined #ipfs
charley_ has joined #ipfs
charley__ has joined #ipfs
charle___ has joined #ipfs
charl____ has joined #ipfs
char_____ has joined #ipfs
charley has quit [Ping timeout: 246 seconds]
charley has joined #ipfs
charley_ has quit [Ping timeout: 246 seconds]
charley__ has quit [Ping timeout: 246 seconds]
charle___ has quit [Ping timeout: 246 seconds]
charl____ has quit [Ping timeout: 246 seconds]
ygrek_ has joined #ipfs
char_____ has quit [Ping timeout: 246 seconds]
charley has quit [Ping timeout: 246 seconds]
jsierles has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
jsierles has joined #ipfs
Mitar has joined #ipfs
sprint-helper has quit [Remote host closed the connection]
sprint-helper has joined #ipfs
bedeho has quit [Remote host closed the connection]
gmoro has quit [Ping timeout: 240 seconds]
gmoro has joined #ipfs
charley has joined #ipfs
HeWhois has quit [Ping timeout: 244 seconds]
Miezel has joined #ipfs
HeWhois has joined #ipfs
joocain2 has joined #ipfs
Encrypt has joined #ipfs
charley_ has joined #ipfs
charley has quit [Ping timeout: 276 seconds]
Miezel_ has joined #ipfs
joocain2_ has quit [Ping timeout: 248 seconds]
Miezel has quit [Ping timeout: 260 seconds]
HeWhois has quit [Ping timeout: 255 seconds]
libman has joined #ipfs
HeWhois has joined #ipfs
bed7 has quit [Quit: Leaving]
ashark has quit [Ping timeout: 246 seconds]
pohvak has joined #ipfs
ashark has joined #ipfs
rendar has quit [Quit: std::lower_bound + std::less_equal *works* with a vector without duplicates!]
bedeho has joined #ipfs
zod_ has joined #ipfs
zod_ has quit [Client Quit]
Boomerang has quit [Quit: Lost terminal]
_zod has joined #ipfs
_zod has quit [Client Quit]
szod has joined #ipfs
ashark has quit [Ping timeout: 276 seconds]
ashark has joined #ipfs
atrapado_ has joined #ipfs
gde33 has quit [Quit: KVIrc 4.9.2 Aria http://www.go-here.nl/]
charley_ has quit [Remote host closed the connection]
charley has joined #ipfs
szod has quit [Ping timeout: 246 seconds]
leeola has joined #ipfs
mildred2 has quit [Read error: Connection reset by peer]
mildred has quit [Read error: No route to host]
charley has quit [Ping timeout: 240 seconds]
mildred2 has joined #ipfs
shizy has quit [Quit: WeeChat 1.8]
mildred has joined #ipfs
shizy has joined #ipfs
bedeho has quit [Remote host closed the connection]
mildred has quit [Ping timeout: 255 seconds]
mildred2 has quit [Ping timeout: 258 seconds]
whythat has quit [Quit: WeeChat 1.8]
gmoro has quit [Remote host closed the connection]
gmoro has joined #ipfs
joocain2_ has joined #ipfs
joocain2 has quit [Ping timeout: 248 seconds]
lgierth changed the topic of #ipfs to: go-ipfs v0.4.10 is out! https://dist.ipfs.io/#go-ipfs | IPFS, the InterPlanetary FileSystem: https://github.com/ipfs/ipfs | FAQ: https://git.io/voEh8 | Logs: https://botbot.me/freenode/ipfs/ | Code of Conduct: https://git.io/vVBS0
Encrypt has quit [Quit: Quit]
pat36 has quit []
CALINOU is now known as Calinou
espadrine has quit [Ping timeout: 276 seconds]
tantalum has quit [Remote host closed the connection]
charley has joined #ipfs
charley has quit []
Mateon3 has joined #ipfs
espadrine_ has joined #ipfs
szod has joined #ipfs
Mateon1 has quit [Ping timeout: 240 seconds]
Mateon3 is now known as Mateon1
Caterpillar has quit [Quit: You were not made to live as brutes, but to follow virtue and knowledge.]
espadrine_ has quit [Ping timeout: 255 seconds]
joocain2 has joined #ipfs
chris613 has joined #ipfs
atrapado_ has quit [Quit: Leaving]
joocain2_ has quit [Ping timeout: 248 seconds]
ashark has quit [Ping timeout: 240 seconds]
Miezel_ has quit [Quit: This computer has gone to sleep]
rodolf0 has quit [Ping timeout: 276 seconds]
asyncsec has quit [Quit: asyncsec]
aseriousgogetta has joined #ipfs
<aseriousgogetta> is anyone available?
<aseriousgogetta> im having issues getting ipfs set-up on my system
szod has quit [Ping timeout: 260 seconds]
ilyaigpetrov has quit [Quit: Connection closed for inactivity]
<aseriousgogetta> have got go 1.8.3 (latest) on my i686 arch pc.. i keep getting GOPATH errors, it just completed sucessfully a moment ago but ims still getting command not found when i "ipfs"
<aseriousgogetta> or "ipfs init"
<aseriousgogetta> damn path env variables are kixkin my ass
<aseriousgogetta> lulz
<aseriousgogetta> anyone handy to help me iron this wrinkle out?
<Kubuxu> aseriousgogetta: make sure `$GOPATH/bin` is in your `PATH`.
<aseriousgogetta> can u give me a little more help on that. im using a user_account; i have a .bash_profile i can edit available
<aseriousgogetta> but i kept adding and adding export PATH: bullshit earlier
<aseriousgogetta> so i had to make new user account over all that
<aseriousgogetta> lul
<aseriousgogetta> so if u could help walk me thru the setting up of my path env..
<aseriousgogetta> that owuld be sweet
<aseriousgogetta> Kubuxu: "export $GOPATH/bin?"
maxlath1 has joined #ipfs
<Kubuxu> ok: My set up is: `export GOPATH="$HOME/go` `export PATH="$GOPATH/bin:$PATH"`
<Kubuxu> then the ipfs repo has to be in correct place in that gopath
<aseriousgogetta> k, what do u mean by correct place in gopath?
maxlath has quit [Ping timeout: 255 seconds]
maxlath1 is now known as maxlath
<aseriousgogetta> i can give u the pwd of the downloaded ipfs
<Kubuxu> go get will put it there but it is: `$GOPATH/src/github.com/ipfs/go-ipfs`
<aseriousgogetta> should i try those exports?
<Kubuxu> yeah
<aseriousgogetta> well, the wiki says sum bullshit about go get not working anymore
<aseriousgogetta> k, uno momento
<Kubuxu> you can go get the src `go get -d github.com/ipfs/go-ipfs`
<Kubuxu> the build won't work
<aseriousgogetta> the build seemed to happen successful
<aseriousgogetta> but when i tried ipfs
<aseriousgogetta> nothing
<Kubuxu> did you do: make install in that dir?
<aseriousgogetta> yar
<aseriousgogetta> it ran all the way thru it seemed
<Kubuxu> if you did: ls `$GOPATH/bin`
<aseriousgogetta> returned me $
<Kubuxu> also do: `hash -r` to clear PATH cache (harmless).
<aseriousgogetta> done doing hash -r
<aseriousgogetta> now, time to add fresh exports?
<Kubuxu> aseriousgogetta: so: check the env vars you set, make sure they are exported, check the PATH so it includes GOPATH/bin, check if GOPATH/bin contains the binary
<Kubuxu> hash -r to refresh the PATH cache
<Kubuxu> of this doesn't work, no idea
<aseriousgogetta> that should work
<aseriousgogetta> tyvm
krzysiekj has quit [Quit: WeeChat 1.5]
joocain2 has quit [Ping timeout: 248 seconds]
gde33 has joined #ipfs
krzysiekj has joined #ipfs
joocain2 has joined #ipfs
maxlath has quit [Quit: maxlath]
asyncsec has joined #ipfs
shizy has quit [Ping timeout: 255 seconds]
rcat has quit [Remote host closed the connection]
cxl000 has quit [Quit: Leaving]
HeWhois has quit [Ping timeout: 268 seconds]
HeWhois has joined #ipfs
joocain2_ has joined #ipfs
joocain2 has quit [Ping timeout: 248 seconds]
M-iav has left #ipfs ["User left"]
chris613 has quit [Quit: Leaving.]