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
chriscool has quit [Ping timeout: 260 seconds]
Pent has left #ipfs ["Textual IRC Client: www.textualapp.com"]
rombou has joined #ipfs
mvr_ has joined #ipfs
NightRa has quit [Quit: Connection closed for inactivity]
rendar has quit [Quit: std::lower_bound + std::less_equal *works* with a vector without duplicates!]
OutBackDingo has quit [Quit: Leaving]
<victorbjelkholm> whyrusleeping, I've seen you've complained about godeps before. If I'm starting a go project, what package manager should I go with instead?
<whyrusleeping> haha, i'm working on one built on top of ipfs
<whyrusleeping> its still WIP, but we're starting to use it in ipfs
<victorbjelkholm> ready to be used? I'm happy to be early adopter
<whyrusleeping> yeah, it works.
<whyrusleeping> lacking on docs though
<victorbjelkholm> ok, seems to be that I would have to gx init and gx publish for packages not already using gx, correct?
<whyrusleeping> yeap, theres also: https://github.com/whyrusleeping/gx-go-tool
<victorbjelkholm> which is currently just goji so should be fine I guess
<victorbjelkholm> "gx-go-tool - A new cli application"
<victorbjelkholm> Original :D
<whyrusleeping> and you can do 'gx-go-tool import github.com/some/random/package' and it will import and publish that package to a gx hash for you
<whyrusleeping> lol
<whyrusleeping> like i said, still WIP
sonatagreen has joined #ipfs
<victorbjelkholm> ah, that's cool. Yeah, but source seems small so I'll find my way I think
<victorbjelkholm> thanks :)
<victorbjelkholm> whyrusleeping, language as in programming language or language as in language? :p Seems to be go specific so weird question maybe
<whyrusleeping> language as in programming language
<whyrusleeping> we're thinking of changing it to 'environment' or something
<whyrusleeping> the idea is that gx can be used for different languages easily
<victorbjelkholm> ah, that's an interesting idea
<whyrusleeping> (with go as my personal primary target)
<whyrusleeping> yeah, theres a couple issues open about discussing how best to do that
<victorbjelkholm> wow, working perfectly though
<whyrusleeping> haha, yay!
<victorbjelkholm> nicely done! I'll report back if/when my computer catches on fire
<whyrusleeping> :D let me know anything that needs work/docs/fixing
zeroish has quit [Ping timeout: 240 seconds]
<victorbjelkholm> whyrusleeping, sure thing!
NeoTeo has quit [Quit: ZZZzzz…]
<noffle> victorbjelkholm: awesome, another gx user :D
donpdonp has joined #ipfs
OutBackDingo has joined #ipfs
Matoro has joined #ipfs
dysbulic has joined #ipfs
pfraze has joined #ipfs
water_resistant has quit [Quit: Leaving]
chriscool has joined #ipfs
voxelot has quit [Ping timeout: 255 seconds]
HoboPrimate has quit [Quit: HoboPrimate]
hellertime has joined #ipfs
cemerick has joined #ipfs
dysbulic has quit [Ping timeout: 268 seconds]
tilgovi has joined #ipfs
cemerick has quit [Ping timeout: 260 seconds]
r04r is now known as zz_r04r
legobanana has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<ion> Would someone mind running this on OSX and helping me figure out why it doesn’t work in their version of sed? Thanks. printf 'Cache-Control: public, max-age=42\n' | sed -n 's/^Cache-Control:.* max-age=\([0-9]\+\).*$/\1/p'
<ion> It should print 42
<achin> prints nothing
<ion> Does this print 42? printf 'Cache-Control: public, max-age=42\n' | sed -n 's/^Cache-Control:.* max-age=\(42\).*$/\1/p'
<achin> yep
<ion> How about this? printf '42\n' | sed -n 's/^\([0-9][0-9]\)$/\1/p'
<achin> ion: if you have tmake, i'll just give you a shell
<achin> (after i build and install tmate)
<achin> (tmate, not tmake)
<ion> I have now.
<deltab> I imagine it's not GNU sed, and has slightly different regex syntax
<achin> hang on, it's asking for keys?
<ion> deltab: That’s correct.
<achin> i'm confused, tmate changed something since i last used it. hold on
chriscool has quit [Ping timeout: 264 seconds]
<ion> Huh. I’m getting a success on your computer from a command that fails here. https://travis-ci.org/ipfs/go-ipfs/jobs/89142745#L5126
<achin> i am running a fairly old version of OSX, do you think that matters?
<ion> Hard to say.
<ion> Does anyone here have OSX in which this fails to print the number? printf 'Cache-Control: public, max-age=315360000\r\n' | sed -n 's/^Cache-Control:.* max-age=\([0-9][0-9]*\).*$/\1/p'
<deltab> maybe use perl instead
<ion> Oh, turns out one of the sharness tests already uses perl, so it’s already a dependency.
<ion> I’ll go ahead and do that.
ygrek has quit [Ping timeout: 260 seconds]
pfraze has quit [Remote host closed the connection]
<achin> ok, the latest [still alpha] version of the irc log viewer is here: http://ipfs.io/ipfs/QmPy928RQ6D2KBg7K1wDmFV45bEXdgFGLTEwr6bJ4dD1cd
<achin> ion and cryptix ^^^
<ion> achin: Very nice
<ion> achin: https://api.jquery.com/slideDown/ might be nice for appearing logs.
<achin> i've not tried it here, but in the past i've found it's not very good with really large divs like this
<achin> (performance isn't so good, and doesn't look that nice)
<ion> achin: I wonder if it would be better or worse to refrain from inlining the actual logs in the spine structure and instead link to unixfs file objects containing the actual logs?
<ion> For videos, it would definitely be better.
jager_ has quit [Ping timeout: 268 seconds]
<ion> OTOH, IRC logs are tiny.
jager has joined #ipfs
<achin> your linking idea might be nicer from a demo UI perspective
<achin> with the current UI, it's hard to see everything loading
<achin> (but it is kinda neat to click a hash to load it, and then see a few of the chunks get updated with hash info)
<ion> You would still see chunks getting updated with hash info, some of them wouldn’t just load the logs unless clicked explicitly.
chriscool has joined #ipfs
<achin> not a bad idea
<ion> Adding a spinner to each chunk title being either loaded or traversed toward might be nice.
<achin> yeah. i end up having the javascript console open the whole time, so that's my progress monitor
<achin> (also, data is local to my node, it loads quickly)
<ion> Does the code check for new chunks through polling IPNS?
<achin> only when you refresh the page
<achin> but i don't run the backend script that shovels weechat logs into ipfs on a regular basis
<ion> aye
<achin> i also added an "update check". if you check in the javascript console you'll either see a "you're viewing the latest version of the site" or "latest version is here" message
Oatmeal has quit [Ping timeout: 260 seconds]
hellertime has quit [Quit: Leaving.]
ike___ has joined #ipfs
Oatmeal has joined #ipfs
sugarpuff_ has joined #ipfs
robmyers_ has joined #ipfs
sonatagreen has quit [Ping timeout: 246 seconds]
cleichner_ has joined #ipfs
silotis_ has joined #ipfs
gorhDroid_ has joined #ipfs
edrex_ has joined #ipfs
kragniz_ has joined #ipfs
sugarpuff has quit [Ping timeout: 240 seconds]
ike_ has quit [Ping timeout: 240 seconds]
robmyers has quit [Ping timeout: 240 seconds]
step21 has quit [Ping timeout: 240 seconds]
gorhDroid has quit [Quit: No Ping reply in 180 seconds.]
pod has quit [Ping timeout: 240 seconds]
silotis has quit [Ping timeout: 240 seconds]
captain_morgan has quit [Ping timeout: 240 seconds]
Nitori has quit [Ping timeout: 240 seconds]
multivac has quit [Ping timeout: 240 seconds]
edrex has quit [Ping timeout: 240 seconds]
cleichner has quit [Ping timeout: 240 seconds]
kragniz has quit [Remote host closed the connection]
ike___ is now known as ike_
sugarpuff_ is now known as sugarpuff
multivac has joined #ipfs
robmyers_ is now known as robmyers
Nitori has joined #ipfs
step21_ has joined #ipfs
cleichner_ is now known as cleichner
pod has joined #ipfs
step21_ is now known as step21
captain_morgan has joined #ipfs
<whyrusleeping> anyone have any interest in 'ipfs object diff', 'ipfs object merge', and 'ipfs object patch-apply' (last one might just be extra patch commands) ?
<ion> What does ipfs object merge do?
<whyrusleeping> combines the two objects, recursively
<ion> What does it do if they have links with the same name?
<whyrusleeping> if the objects have completely different links, it just returns a new object with all the links
<achin> whyrusleeping: probably not. if i need to something that the current object-patch command can't handle, i think i'm likely to be using object-patch-put anyway
<whyrusleeping> if they share a link with the same name then it recursively merges them together
<ion> How about when one points to a directory and the other to a file?
<ion> Or when both point to different files?
<whyrusleeping> its just graph operations, it doesnt care about your silly constructs ;)
slothbag has joined #ipfs
<whyrusleeping> (but really, it would return a merge conflict)
<whyrusleeping> i'm just thinking about exposing it through the cLI
<ion> What I would find useful would a a higher-level diff tool that output something much like “diff -ur /ipfs/foo /ipfs/bar” would but without downloading the objects that are unchanged in the first place.
chriscool1 has joined #ipfs
<whyrusleeping> ion: what output would you expect?
<whyrusleeping> this command wouldnt need to download it all
chriscool has quit [Ping timeout: 252 seconds]
<ion> Just like “diff -ur /ipfs/foo /ipfs/bar” when I have /ipfs mounted.
<ion> But a tool that understands IPFS would be able to know which directories do not contain changes, and even which chunks within files are unchanged.
<ion> and avoid downloading them just to show the diff if I don’t happen to have the data already.
border0464 has quit [Ping timeout: 252 seconds]
border0464 has joined #ipfs
amstocker has joined #ipfs
Saurischia has quit [Killed (Sigyn (Spam is off topic on freenode.))]
Matoro has quit [Ping timeout: 255 seconds]
kragniz_ is now known as kragniz
patience has joined #ipfs
patience has quit [Killed (Sigyn (Spam is off topic on freenode.))]
harlan_ has joined #ipfs
sseagull has quit [Quit: Lost terminal]
Matoro has joined #ipfs
Matoro_ has joined #ipfs
Matoro has quit [Ping timeout: 265 seconds]
mrcstvn has joined #ipfs
Qwertie has joined #ipfs
sharky has quit [Ping timeout: 252 seconds]
sharky has joined #ipfs
dysbulic has joined #ipfs
dysbulic has quit [Ping timeout: 260 seconds]
TheWhisper has quit [Quit: Leaving]
TheWhisper has joined #ipfs
rombou has quit [Ping timeout: 260 seconds]
davidar_ has joined #ipfs
domanic has joined #ipfs
dysbulic has joined #ipfs
e-lima has joined #ipfs
noffle has quit [Ping timeout: 244 seconds]
noffle has joined #ipfs
<amstocker> is anyone around for me to bounce some libp2p questions off of?
cow_2001 has joined #ipfs
<cow_2001> failing to mount ipfs somewhere under my home directory
<cow_2001> what am i doing wrong?
<cow_2001> `ipfs mount -f ipfs -n ipns` says it succeeds, but when i `ls`, the dirs appear unmounted
<cow_2001> `mount` lists the dirs as mounted, though
<cow_2001> i should probably open an issue
domanic has quit [Ping timeout: 246 seconds]
Xe has quit [Ping timeout: 240 seconds]
mildred has joined #ipfs
Xe has joined #ipfs
Tv` has quit [Quit: Connection closed for inactivity]
<davidar_> cow_2001: ls won't work (except for subdirectories)
<davidar_> it can't list everything on the network :p
<cow_2001> i use ls to show that they are not actually mounted
<cow_2001> that's the issue
<cow_2001> maybe someone has the same problem as i do
<cow_2001> you guys are doing awesome work, btw. i wish i knew anything about networking. knowing a little bit of golang is not enough. :\
<gendale_> window 14
<cow_2001> is that a thing?
kitcambridge has quit [Read error: Connection reset by peer]
<cow_2001> i find it a little bit humorous that the average twit is shorter than an /ipfs/ address https://twitter.com/txustice/status/661586114726248449
<cow_2001> (disclaimer: i haven't actually calculated the average length of a twit)
ygrek has joined #ipfs
sspookl has quit [Ping timeout: 264 seconds]
kitcambridge has joined #ipfs
sspookl has joined #ipfs
<davidar_> cow_2001: that's the expected behaviour, it isn't a bug
<davidar_> try "ls ipns/ipfs.io"
<whyrusleeping> amstocker: ping
<whyrusleeping> libp2p questions?
<amstocker> whyrusleeping, hi
<amstocker> one sec sorry
mrcstvn has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tilgovi has quit [Ping timeout: 240 seconds]
rendar has joined #ipfs
<amstocker> markdown rendering is so frustrating sometimes
<amstocker> whyrusleeping, still around?
<whyrusleeping> yeeep!
<amstocker> hey
<amstocker> so im trying to digest the libp2p specs
<whyrusleeping> take a few tums
<amstocker> which seem to be strewn about everywhere
<amstocker> yes
<amstocker> this is a short outline I wrote
legobanana has joined #ipfs
<whyrusleeping> this is the 'official' spec: https://github.com/ipfs/specs/tree/master/protocol/network
anshukla has joined #ipfs
<amstocker> ok good that's what I've been reading
<amstocker> along with some of the js-ipfs packages
<whyrusleeping> yeah... i'm node illiterate
<amstocker> i guess I'm mostly confused about the stream multiplexing/upgrading
<amstocker> I understand the multistream idea
<whyrusleeping> okay, upgrading is a new word to me, but multiplexing i know about
<amstocker> and the idea behind multistream-select
<amstocker> it seems like "upgrading" is like nesting in a protocol?
<amstocker> or something
<whyrusleeping> okay, so first, multiplexing is how you get multiple independent 'pipes' over the same tcp connection (tcp, or other)
<whyrusleeping> there are a few different multiplexers, and some are better in certain languages than others
<amstocker> so SPDY is a multiplexer
<amstocker> ?
<whyrusleeping> so we want to be able to pick which one we use for a given connection
<whyrusleeping> yes, spdy is a multiplexer
<amstocker> and HTTP/2
<amstocker> ok
<whyrusleeping> as is yamux in go
<whyrusleeping> and then this extremely basic multiplexer: https://github.com/whyrusleeping/go-multiplex
<whyrusleeping> (which, if you cant find another one, just implement that in python to start with)
<amstocker> cool
<amstocker> i hope theres probably some existing ones
<amstocker> but I havent looked around yet
<whyrusleeping> yeah
<whyrusleeping> but anyways, multistream-select is WAY less complicated than it seems
<whyrusleeping> its literally just a header you send to say which of a given set of protocols youre going to use
<amstocker> hmm ok
<amstocker> so thats something like
<whyrusleeping> so if i'm going to talk to you with a SPDY multiplexer, i start by sending you a header saying SPDY
<amstocker> or whatever
<whyrusleeping> and then start the SPDY traffic
<amstocker> oh ok
<whyrusleeping> go reference impl: https://github.com/whyrusleeping/go-multistream
<amstocker> so something like /ipfs/Qmb4d8ZLuqnnVptqTxwqt3aFqgPYruAbfeksvRV1Ds8Gri/spdy/3
<whyrusleeping> yeap!
<whyrusleeping> to uniquely identify the protocol we're going to be speaking
<amstocker> also, why are the protocol paths prefixed by the ipfs addr?
<whyrusleeping> they dont have to be
<whyrusleeping> and they arent currently
<amstocker> okay
<whyrusleeping> jbenets idea was that you could look up the spec for the protocol through that path
<amstocker> ah ok
<amstocker> cool thanks
<whyrusleeping> no problemo!
<amstocker> so just to get a larger concept of libp2p,
<amstocker> when you try to open a stream with a peer, if tries to connect on some transport
<amstocker> whichever one works the best
<amstocker> and if there is already an existing connection open it will multiplex the stream?
<amstocker> it tries to connect*
s_kunk has quit [Ping timeout: 268 seconds]
Muis has joined #ipfs
harlan_ has quit [Quit: Connection closed for inactivity]
<whyrusleeping> yeap!
<whyrusleeping> amstocker: you just say 'i want a stream to peer X'
<whyrusleeping> and if you arent connected, it tries to connect, once youre connected, it opens a new stream on whatever multiplexer is being used and hands you the result
<amstocker> whyrusleeping, ok
<whyrusleeping> er, you say 'i want to speak protocol X with peer Y'
<amstocker> sure
<whyrusleeping> instead of 'i want to speak on port X with computer at ip address Y'
<amstocker> so the layer responsible for figuring all this out also does NAT traversal and stuff
<whyrusleeping> yep! nat traversal is part of libp2p
<amstocker> fun
<whyrusleeping> it happens at a few different layers throughout
<whyrusleeping> but the end result is not having to worry about any of that shit :D
<whyrusleeping> (for the most part)
<amstocker> lol
<amstocker> what do you mean NAT traversal happens at a few different layers?
<cryptix> gmoning ipfstronauts
<amstocker> cryptix, what time zone are you?
<cryptix> CEST
<cryptix> 9:45am :)
<amstocker> its 12:45am PST (,_,)
<whyrusleeping> lol, PST
<whyrusleeping> yeah...
<whyrusleeping> amstocker: well, theres lots of things that have to happen for NAT traversal
<whyrusleeping> from SO_REUSEPORT for tcp, to STUN/TURN like interfaces, and dht address querying
<cow_2001> davidar_: no, the normal behaviour is for `ls` to complain that one cannot list the content of /ipfs
<cow_2001> s/normal/expected/
<multivac> cow_2001 meant to say: davidar_: no, the expected behaviour is for `ls` to complain that one cannot list the content of /ipfs
<cryptix> davidar_: i think everybody here knows by know how that replace is supposed to work
<amstocker> whyrusleeping, where exactly does the DHT fit in?
<amstocker> i know it is used for peer routing
<amstocker> but isn't it also a protocol built on libp2p?
<whyrusleeping> yeap! lol
<whyrusleeping> the 'host' is part of libp2p, and we give the dht a host
<whyrusleeping> and then use the dht to create an augmented host, that is capable of using the dht to lookup peer addresses
<whyrusleeping> anyways, i need some sleep
<whyrusleeping> if youre up in the morning, i'll be available to answer whatever
<amstocker> whyrusleeping, ok I suppose sleep is acceptable
<amstocker> :P
<cryptix> haha gn8 you two
multivac has quit [Quit: KeyboardInterrupt]
multivac has joined #ipfs
<davidar_> cow_2001: sorry, misunderstood :)
<davidar_> cryptix: alright, disabled it
<cow_2001> davidar_: thank you anyways!
<davidar_> s/it/regex module/
ianopolous has joined #ipfs
NightRa has joined #ipfs
s_kunk has joined #ipfs
dignifiedquire has joined #ipfs
amstocker has quit [Ping timeout: 246 seconds]
amstocker has joined #ipfs
e-lima has quit [Ping timeout: 268 seconds]
amstocker has quit [Quit: Leaving]
e-lima has joined #ipfs
ianopolous has quit [Ping timeout: 260 seconds]
Eudaimonstro has quit [Quit: Leaving]
Eudaimonstro has joined #ipfs
riveter has quit [Ping timeout: 255 seconds]
riveter has joined #ipfs
<cryptix> <3 davidar_ :) it's just a lot of additional text most of the time.
M-david has joined #ipfs
<rendar> if ipns names maps to hashes, there's no way to map hashes to ipns names, right?
Eudaimonstro has quit [Ping timeout: 265 seconds]
zz_r04r is now known as r04r
cemerick has joined #ipfs
NeoTeo has joined #ipfs
ygrek has quit [Ping timeout: 250 seconds]
<M-david> rendar: not really, you'd need a reverse index
M-david is now known as davidar
<davidar> rendar: i think zignig has been doing something related to that
<zignig> I have?
<zignig> ah yes, nostril.
<zignig> src code == QmbERWYcDQCrVMtaFeNDgeM929mxbdsQjc8Cswj2V8FBSh
<zignig> collects id and names and searches for other nostrils.
<zignig> the concordent / convergent name system is still swirling around in my brain.
M-erikj is now known as erikj`
Encrypt has joined #ipfs
mar77i has joined #ipfs
<mar77i> hello. I just came across this and... I'm worried. If I installed ipfs, will I have to worry about disk quota consumed by the ipfs daemon?
<davidar> mar77i: it will only store what you tell it to
<davidar> but no, it doesn't (yet) have a quota limit
<mar77i> so, if I happened to add data to the daemon to be served from my node, I'd have to keep my node publicly accessible for others to be able to leech it.
<mar77i> of course.
<mar77i> how long until ipfs is used as a leaker's pastebin - and correct me if I'm wrong, it's hard to get something out of ipfs, right?
<mar77i> it might be a bad idea. if I'm the only one distributing the data, I might be easily located and/or deanonymized. correct?
<davidar> mar77i: see ipfsbin.xyz
<davidar> i wouldn't call it secure though
<davidar> ipfs doesn't have any anonymisation itself
<davidar> you'd have to run it over something like tor
Muis has quit [Quit: Connection closed for inactivity]
e-lima has quit [Ping timeout: 260 seconds]
anshukla has quit [Remote host closed the connection]
e-lima has joined #ipfs
Pyrenochaeta has joined #ipfs
martinBrown has quit [Quit: -]
Encrypt has quit [Quit: Quitte]
martinBrown has joined #ipfs
r1k0 has joined #ipfs
dysbulic has quit [Quit: ChatZilla 0.9.92 [Firefox 41.0.2/20151016093648]]
NightRa has quit [Quit: Connection closed for inactivity]
r1k0 has quit [Client Quit]
OutBackDingo has quit [Quit: Leaving]
s_kunk has quit [Ping timeout: 260 seconds]
ipfs-gitter-bot has joined #ipfs
aurel_ has joined #ipfs
<ipfs-gitter-bot> (awrelll) hello
<aurel_> testing gitter bot
aurel_ is now known as Guest22203
<ipfs-gitter-bot> (tymat) hello
<ipfs-gitter-bot> (awrelll) hey !
<ipfs-gitter-bot> (awrelll) i got the irc bot back online
<ipfs-gitter-bot> (awrelll) it was down for a while
slothbag has quit [Quit: Leaving.]
dignifiedquire has quit [Quit: dignifiedquire]
atgnag has quit [Read error: Connection reset by peer]
hellertime has joined #ipfs
atgnag has joined #ipfs
shyamsk has quit [Ping timeout: 240 seconds]
shyamsk has joined #ipfs
dignifiedquire has joined #ipfs
cemerick has quit [Ping timeout: 268 seconds]
Guest22203 has quit [Quit: Page closed]
anshukla has joined #ipfs
SWingedSeraph has quit [Ping timeout: 272 seconds]
anshukla has quit [Ping timeout: 246 seconds]
dd0 has joined #ipfs
legobanana has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
s_kunk has joined #ipfs
s_kunk has joined #ipfs
SWingedSeraph has joined #ipfs
dignifiedquire has quit [Quit: dignifiedquire]
dignifiedquire has joined #ipfs
OutBackDingo has joined #ipfs
dignifiedquire has quit [Client Quit]
dignifiedquire has joined #ipfs
dignifiedquire has quit [Quit: dignifiedquire]
Tv` has joined #ipfs
JohnClare has joined #ipfs
<zignig> !pin QmbERWYcDQCrVMtaFeNDgeM929mxbdsQjc8Cswj2V8FBSh
<pinbot> now pinning /ipfs/QmbERWYcDQCrVMtaFeNDgeM929mxbdsQjc8Cswj2V8FBSh
anshukla has joined #ipfs
e-lima has quit [Ping timeout: 244 seconds]
anshukla has quit [Ping timeout: 240 seconds]
koo7 has quit [Ping timeout: 250 seconds]
sonatagreen has joined #ipfs
<sonatagreen> so, idea:
<sonatagreen> People are building apps to interact with IPFS.
<sonatagreen> Currently there are two ways to do tis.
<sonatagreen> *this
<sonatagreen> You could have a daemon running on your machine, that serves a UI and interacts with the API.
<sonatagreen> Or, you could have an app that runs in the browser, and you have to open up cross-whatsit API access, which effectively allows /any/ ipfs site to use your API.
<sonatagreen> But! There is a better way!
<sonatagreen> Consider the webui.
<sonatagreen> We have a /whitelisted/ ipfs hash that runs in the browser and interacts with the API.
<sonatagreen> All we need to do is allow the user to add more hashes to that whitelist, possibly using the config file.
<victorbjelkholm> sonatagreen, or you open up the API, putting nginx/iptables in front and be done with it :)
<sonatagreen> Then, it's possible to allow only the apps you choose to trust, while having those apps run in the browser and load over ipfs, with no additional daemons required.
<victorbjelkholm> probably more familiar for most developers
<sonatagreen> Can iptables distinguish between localhost:8080/ipfs/QmFoo and localhost:8080/ipfs/QmBar?
<sonatagreen> also, that feels like the wrong way to do it
<victorbjelkholm> sonatagreen, what you mean? Why would you?
<sonatagreen> The goal is to allow some apps --and therefore some hashes-- but not others to access the API.
<sonatagreen> I want a whitelist of the hashsites that I want to let use the thing.
<sonatagreen> like installing apps.
<victorbjelkholm> sonatagreen, ah, I see. I misunderstood what you were saying then
<sonatagreen> Currently there's a hardcoded whitelist of length 1; I'd like to be able to customize it through the config file.
hellertime has quit [Quit: Leaving.]
Matoro_ has quit [Ping timeout: 260 seconds]
hellertime has joined #ipfs
JohnClare has quit [Remote host closed the connection]
<sonatagreen> *pokes source* apparently longer than 1 actually, old versions remain whitelisted
Matoro has joined #ipfs
Matoro has quit [Ping timeout: 260 seconds]
anshukla has joined #ipfs
anshukla_ has joined #ipfs
dignifiedquire has joined #ipfs
Encrypt has joined #ipfs
anshukla has quit [Ping timeout: 246 seconds]
anshukla_ has quit [Ping timeout: 240 seconds]
<sonatagreen> error trying to 'make test': /ipfs/QmZgGPbVkQCDgW8NAANaqShrru5Civ2ysXR6mF4ivERgnh
cemerick has joined #ipfs
sseagull has joined #ipfs
dignifiedquire has quit [Ping timeout: 250 seconds]
dignifiedquire has joined #ipfs
<bergie> hey, if I want to create a "pseudo-directory" from set of filenames and ipfs hashes, what should I put in Data when I do the ipfs object put?
<sonatagreen> "Data": "\u0008\u0001"
<sonatagreen> so, \u0008\u0001
<bergie> thx. And do the links have to have a size?
<sonatagreen> dunno
<cryptix> sonatagreen: 'go version' ?
<cryptix> no -i flag on go build sounds very.. old
<sonatagreen> go version go1.2.1 linux/386
<cryptix> yup, thats it
<cryptix> ipfs requires 1.5.1
<sonatagreen> ok, thanks.
rombou has joined #ipfs
<cryptix> sonatagreen: you know, you can cross compile fairly easy with go (cd cmd/ipfs && GOOS=freebsd GOARCH=amd64 go build) or GOOS=windows etc
<cryptix> saves you from maintaining a recent go version on every machine you want to deploy latest master :)
Pyrenochaeta has quit [Killed (Sigyn (Spam is off topic on freenode.))]
broider has joined #ipfs
bsm1175321 has joined #ipfs
mrcstvn has joined #ipfs
rombou has quit [Ping timeout: 260 seconds]
cemerick has quit [Ping timeout: 250 seconds]
hellertime1 has joined #ipfs
hellertime2 has joined #ipfs
hellertime1 has quit [Read error: Connection reset by peer]
hellertime has quit [Read error: Connection reset by peer]
rombou has joined #ipfs
pfraze has joined #ipfs
mar77i has left #ipfs [#ipfs]
amade has joined #ipfs
Matoro has joined #ipfs
se3000 has joined #ipfs
mrcstvn has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
e-lima has joined #ipfs
vanila has joined #ipfs
<vanila> hiya
<cryptix> hey vanila :)
<vanila> gonna watch this tonight https://www.youtube.com/watch?v=gpvcc9C8SbM
<vanila> Aaron Swartz
jamie_k_ has joined #ipfs
<cryptix> how come nobody put my noes at jamescarlyle/ipfs-wiki?
<vanila> is that a github link?
<cryptix> vanila: oh i know that one - its good
mildred has quit [Quit: Leaving.]
mildred has joined #ipfs
<cryptix> the readme links QmYUxBeZfL1BQc8zdqudfAEt61ntouccNKmaNhz95Drfw7 as a version but im not sure its recent
<vanila> This is a minimum viable web application to explore the read/write web on IPFS
<vanila> Yes!
<vanila> going to investigate this
mildred has quit [Client Quit]
<cryptix> i hope somebody told him about --unrestricted-api
mildred has joined #ipfs
<cryptix> im not sure its verion related or my browser or me skipping the python server but the markdown rendering doesnt work for me
<cryptix> but creating pages and the revisioning wokrs
livegnik has quit [Remote host closed the connection]
mildred has quit [Ping timeout: 252 seconds]
water_resistant has joined #ipfs
jamie_k__ has joined #ipfs
jamie_k_ has quit [Ping timeout: 252 seconds]
NightRa has joined #ipfs
ygrek has joined #ipfs
voxelot has joined #ipfs
e-lima has quit [Ping timeout: 240 seconds]
e-lima has joined #ipfs
pfraze has quit [Remote host closed the connection]
sonatagreen has quit [Ping timeout: 264 seconds]
Taek42 has joined #ipfs
Taek has quit [Ping timeout: 246 seconds]
Matoro has quit [Ping timeout: 260 seconds]
<haadcode> g'day
anshukla has joined #ipfs
<haadcode> hey, anyone here from Berlin? seeing all these ipfs meetups popping up (Lisbon, Barcelona), I was thinking it'd be nice to gather in Berlin, too
<mue_> yup
<mue_> bergie ^
Matoro has joined #ipfs
anshukla has quit [Ping timeout: 255 seconds]
<mue_> haadcode, maybe at c-base
hellertime has joined #ipfs
hellertime2 has quit [Read error: Connection reset by peer]
<bergie> haadcode, mue_: would be awesome
kent_ has joined #ipfs
<haadcode> bergie, mue_: indeed
<haadcode> unfortunately I don't have time to arrange it the next couple of weeks but can coordinate it at the end of the month
hellertime has quit [Ping timeout: 250 seconds]
<mue_> end of month sounds good to me
<whyrusleeping> haadcode: yeah, i know ipfs people tend to hang out near c-base
Matoro has quit [Ping timeout: 246 seconds]
<haadcode> cool
<haadcode> if anyone wants to start organizing one, feel free to start already. otherwise I'll get back to this in couple of weeks.
sonatagreen has joined #ipfs
atrapado has joined #ipfs
hellertime has joined #ipfs
jamie_k__ has quit [Quit: jamie_k__]
jamie_k has joined #ipfs
<bergie> haadcode: I'm going to be out of town from Nov 16th onwards, so before would be nice ;-)
amstocker has joined #ipfs
<haadcode> bergie: got it
<cryptix> whyrusleeping: look what the cat dragged in! QmRQRpLUNkTazFLS7s1KhZoDoeP3tpkMW9aTWeCiSJbggw
<whyrusleeping> cryptix: woo!
<whyrusleeping> i'm wearing mine today too!
<cryptix> haha o/
<whyrusleeping> was asked to teach go for class this week
<whyrusleeping> gonna rep ipfs the whole time :D
<cryptix> nearly didnt open the door because i wasnt expecting it
<whyrusleeping> lol
<whyrusleeping> theyre really nice! they feel a bit thin, but theyre surprisingly dense
<cryptix> (most of the time its pkgs for neighbours which then dont get them for days, so...)
<cryptix> thought so too!
shyamsk has quit [Ping timeout: 244 seconds]
shyamsk has joined #ipfs
<amstocker> whyrusleeping, do you have time for one Q about libp2p?
s_kunk has quit [Ping timeout: 260 seconds]
<ion> Q was such an annoying character.
<whyrusleeping> amstocker: i will at 11, ask anyways though
<amstocker> im just wondering if you could clarify what you said about the DHT last night
<amstocker> also where do I get one of those hoodies
<cryptix> hehe i dont know either actualy
<cryptix> need to ask jbenet
tilgovi has joined #ipfs
<amstocker> the tech industry is always on top of the hoodie game
<cryptix> im still a bit bummed i didnt see the wiki earlier
shyamsk has quit [Ping timeout: 260 seconds]
shyamsk has joined #ipfs
<pjz> I know about pinbot, but is anyone running a pinning service?
<cryptix> victorbjelkholm is working on one
legobanana has joined #ipfs
<cryptix> pjz: working title 'openipfs' https://github.com/VictorBjelkholm/openipfs
<cryptix> im not sure if it is live yet
NeoTeo has quit [Quit: ZZZzzz…]
cemerick has joined #ipfs
<pjz> hm, okay, thanks
<pjz> I was thinking of standing up a commercial pinning service
<cryptix> victorbjelkholm is usually around later
<Stskeeps> pjz: i could easily forsee one where i would pay bitcoin for pins
<Stskeeps> ideally totally anonymously
bsm1175321 is now known as mcelrath
<pjz> Stskeeps: yeah, I had a wacky idea of taking bitcoins at my incoming addres and pinning the address(es) in the comments for as long as the bitcoins last
<Stskeeps> heh, that's neat
<pjz> Stskeeps: no way to 'unpin' anonymously, though
<Stskeeps> well, you get what you pay for..
<achin> i thought there were some serious problems with the "bitcoins are anonymous" idea
<pjz> true, though remixing helps a lot
<vanila> well bitcoins themselves are not anonymous
<vanila> you can trace transaction histories back to day 9
<vanila> day 0*
<vanila> and you can correlate all that information to build pictures up
<pjz> bitcoins mainly are an easy way to cross borders/currencies
<donpdonp> the history is public. whether an address is 'anonymous' is debateable
<vanila> there was an analysis done
<vanila> well an address has a public name
<achin> vanila: thanks for the link
<vanila> the issue is: One persons use of the system may include many address and transactions - can you somehow identify persons just from looking at the address and transactions?
<pjz> this isn't really the right forum for this discussion :)
Matoro has joined #ipfs
<achin> let's talk about storing the blockchain in ipfs!
<achin> i thought that was a quite clever idea to get around the unwieldiness of the blockchain
<donpdonp> i want to use ipfs to store iBeacon location records.
<donpdonp> then store the the R-Tree index also in IPFS
<achin> iBeacon is apple's location thingus?
<donpdonp> yup. just a tweak on bluetooth 4
<achin> and what's an R-tree indux?
<donpdonp> to build a geolocation service like google/apple/mozilla's wifi geo db.
<donpdonp> and R tree is a B tree that uses bounding boxes as a kind of ordering
<donpdonp> its meant to search for a value based on a lat/long, rather than the usual string key
<achin> what does it store?
<achin> ahh
<donpdonp> R means Rectangle, so its somewhat efficient at saying find all the points in the db inside this square
<achin> i wonder if a similar structure is used by the OSM database (when you load the editor, you specific a box, and all the OSM data in that box is downloaded)
<donpdonp> achin: hmm interesting, i dont know.
stryngs has joined #ipfs
<donpdonp> actually they likely have everything in postGIS which im sure has its own fancy indexing and could be researched if we really wanted to know
jhulten_ has joined #ipfs
koo7 has joined #ipfs
jhulten has quit [Ping timeout: 260 seconds]
stryngs has left #ipfs [#ipfs]
broider has quit [Killed (Sigyn (Spam is off topic on freenode.))]
semiconfident has joined #ipfs
jamie_k has quit [Quit: jamie_k]
jamie_k has joined #ipfs
tilgovi has quit [Ping timeout: 264 seconds]
dignifiedquire has quit [Quit: dignifiedquire]
<cryptix> you can also go on with that and make n out of the 2 dimensions of the rect
<multivac> [WIKIPEDIA] K-d tree | "In computer science, a k-d tree (short for k-dimensional tree) is a space-partitioning data structure for organizing points in a k-dimensional space. k-d trees are a useful data structure for several applications, such as searches involving a multidimensional search key (e.g. range searches and nearest..."
anshukla has joined #ipfs
<donpdonp> cryptix: interesting. thx
HoboPrimate has joined #ipfs
<cryptix> had a seminar about geometric algorithms and somehow ended up that & applying it to database queries.. ^^
anshukla has quit [Ping timeout: 246 seconds]
amstocker has quit [Ping timeout: 265 seconds]
rombou has quit [Ping timeout: 252 seconds]
ygrek_ has joined #ipfs
jamie_k has quit [Quit: jamie_k]
ygrek has quit [Ping timeout: 244 seconds]
jamie_k has joined #ipfs
<whyrusleeping> go lecture went well :)
<whyrusleeping> blew the students minds with multiple return types
jamie_k has quit [Ping timeout: 264 seconds]
kent_ has left #ipfs [#ipfs]
<donpdonp> website nitpick: $ ipfs version says i have 0.3.9, which is fine. in looking at https://ipfs.io/docs/install/ i cant tell what the latest is. a prominent place for the version and date of release would be nice.
amstocker has joined #ipfs
jamie_k_ has joined #ipfs
amstocker has quit [Client Quit]
Matoro has quit [Ping timeout: 246 seconds]
ygrek_ has quit [Ping timeout: 252 seconds]
ianopolous has joined #ipfs
ianopolous2 has joined #ipfs
<donpdonp> that look nice. file sizes, download buttons, dates, it has it all :)
ianopolous3 has joined #ipfs
ianopolous2 has quit [Read error: Connection reset by peer]
<ion> whyrusleeping: As in, returning and pattern matching a tuple?
<whyrusleeping> ion: like: 'func A() (int, string, int, error) {'
ianopolous has quit [Ping timeout: 255 seconds]
<whyrusleeping> holy shit, one of my friends companies just announced a 90m series c
ianopolous2 has joined #ipfs
<achin> what's that?
<whyrusleeping> they raised 90 million in a round of fundraising
<nicolagreco> oh wow
ianopolous3 has quit [Ping timeout: 255 seconds]
<achin> impressive
<achin> also, "90m series c" sounds like a type of car
<HoboPrimate> how do you update a go ipfs instalation? just do go get -u github.com... again?
ianopolous3 has joined #ipfs
<HoboPrimate> I can go look it up
ianopolous3 has quit [Read error: Connection reset by peer]
ianopolous3 has joined #ipfs
ianopolous2 has quit [Ping timeout: 240 seconds]
Matoro has joined #ipfs
pfraze has joined #ipfs
<sonatagreen> I think you just do the go get ... again, yeah
<whyrusleeping> yeah, make sure you have the -u option
simpbrain has quit [Ping timeout: 260 seconds]
<HoboPrimate> ok, thank you
simpbrain has joined #ipfs
Encrypt has quit [Quit: Quitte]
<sonatagreen> now running go 1.5.1, still getting errors with 'make test': /ipfs/QmYkLZcm3pdCJaoc4gvKXf2j3Am7cHVKrpnYJvfTRDkZ4x
<whyrusleeping> sonatagreen: check the contribute.md file for go development tips
pfraze has quit [Remote host closed the connection]
border0464 has quit [Ping timeout: 272 seconds]
tilgovi has joined #ipfs
ygrek_ has joined #ipfs
pfraze has joined #ipfs
Matoro has quit [Ping timeout: 246 seconds]
border0464 has joined #ipfs
<cryptix> sonatagreen: GOPATH seems to be unset
rendar has quit [Ping timeout: 246 seconds]
pfraze has quit [Remote host closed the connection]
<ipfsbot> [js-ipfs-api] haadcode opened pull request #103: Add object.patch to the API (master...master) http://git.io/vlxt8
Matoro has joined #ipfs
voxelot has quit [Ping timeout: 250 seconds]
<haadcode> daviddias: can you check that and merge if all good?
rendar has joined #ipfs
<daviddias> haadcode: sure :), Just left home, will check in a couple of hours
<daviddias> But first thing I will check is if it has tests :)
<daviddias> ( so if you didn't add them yet ;) )
anticore has joined #ipfs
chriscool1 has quit [Ping timeout: 240 seconds]
pfraze has joined #ipfs
wtbrk has joined #ipfs
anshukla has joined #ipfs
legobanana has quit [Ping timeout: 250 seconds]
anshukla has quit [Ping timeout: 268 seconds]
<sonatagreen> thanks
LiterallyBecca has quit [Quit: http://quassel-irc.org - Discuter simplement. Partout.]
LiterallyBecca has joined #ipfs
s_kunk has joined #ipfs
anticore has quit [Ping timeout: 260 seconds]
Encrypt_ has joined #ipfs
Encrypt_ is now known as Encrypt
LiterallyBecca has quit [Quit: http://quassel-irc.org - Discuter simplement. Partout.]
voxelot has joined #ipfs
voxelot has joined #ipfs
NeoTeo has joined #ipfs
hellertime has quit [Quit: Leaving.]
<sonatagreen> all right, I think I've set things up more correctly. /ipfs/QmUkiksrJmFAHmwnej9v2VcDxRpmvN1wPdgCPqqPrFCDur
<sonatagreen> It really looks like it's trying to interpret "github.com/ipfs/go-ipfs/repo/config" as a relative path on the local filesystem, rather than a remote url
amade has quit [Quit: leaving]
<ion> Is jbenet away?
<whyrusleeping> lgierth: pluto has like, 400 addresses...
ianopolous3 has quit [Ping timeout: 250 seconds]
wtbrk has quit [Remote host closed the connection]
Matoro has quit [Ping timeout: 246 seconds]
Matoro has joined #ipfs
danielrf has quit [Quit: WeeChat 1.3]
chriscool has joined #ipfs
ygrek_ has quit [Ping timeout: 240 seconds]
atrapado has quit [Quit: Leaving]
pfraze_ has joined #ipfs
ianopolous3 has joined #ipfs
pfraze__ has joined #ipfs
pfraze has quit [Ping timeout: 240 seconds]
pfraze_ has quit [Ping timeout: 240 seconds]
ianopolous3 is now known as ianopolous
<victorbjelkholm> sonatagreen, did you run go get ./... ? (assuming go-ipfs works like other go projects)
cemerick has quit [Ping timeout: 240 seconds]
<lgierth> whyrusleeping: mh? swarm addrs?
<sonatagreen> no, I did the source download from the website
<victorbjelkholm> Oh, seems like Godeps is already installed
<whyrusleeping> lgierth: yeah
<lgierth> that sounds funny... let me have a look
simonv3 has joined #ipfs
<sonatagreen> I'll try go get
<victorbjelkholm> sonatagreen, don't think you'll need it because the dependencies are already bundled in the scm
<ehd> Hallo
<lgierth> whyrusleeping: jupiter has >1000, according to pluto :)
<lgierth> whole /24s of 172.17/16
<lgierth> neptune 265
<lgierth> also, jupiter has its public ip, with tcp ports 2118 through 2424
<lgierth> "here are all of jupiters addresses, now have fun dialing"
pfraze has joined #ipfs
pfraze__ has quit [Ping timeout: 268 seconds]
anshukla has joined #ipfs
<lgierth> whyrusleeping: is it maybe learning outdated addresses from other nodes?
jamie_k___ has joined #ipfs
jamie_k_ has quit [Ping timeout: 252 seconds]
anshukla has quit [Ping timeout: 246 seconds]
ygrek_ has joined #ipfs
JohnClare has joined #ipfs
jadedctl has joined #ipfs
JohnClare has quit [Ping timeout: 240 seconds]
JohnClare has joined #ipfs
JohnClare has quit [Read error: Connection reset by peer]
JohnClare has joined #ipfs
jamie_k___ has quit [Quit: jamie_k___]
jamie_k_ has joined #ipfs
JohnClare has quit [Remote host closed the connection]
<whyrusleeping> lgierth: i'm really not sure whats happening...
<whyrusleeping> its really weird
<whyrusleeping> and causing dht slowness
<zignig> address explosion strikes again.
<zignig> DUM DUM DUM DAAAAAAAAAAAAAAHM
<zignig> ;)
<lgierth> goroutine explosion too, but i'm not sure for how many weeks exactly
<lgierth> let me update these
ianopolous2 has joined #ipfs
<lgierth> and then other funny things happen, like uranus had changed its hostname to something. just saw ansible change it back from i-dont-know-what
ianopolous has quit [Ping timeout: 250 seconds]
<whyrusleeping> brb, going on a walk to test out the new nexus 6p camera
HoboPrimate has quit [Quit: HoboPrimate]
<achin> ooh, yours arrived already!
<ion> I wonder if a company like CloudFlare would have interest in running a public IPFS gateway when IPFS gets more popular? They wouldn’t really be losing anything since anyone could run a gateway and get a free CloudFlare CDN proxy in front.
<lgierth> ion: it would probably save them bandwidth
<lgierth> put ipfs nodes on their edges
<lgierth> same for ISps
tilgovi has quit [Ping timeout: 260 seconds]
<ipfsbot> [js-ipfs-api] diasdavid pushed 3 new commits to master: http://git.io/vlpCb
<ipfsbot> js-ipfs-api/master 81110f3 samuli: Add object.patch to the API
<ipfsbot> js-ipfs-api/master 2f29ee6 David Dias: Merge pull request #103 from haadcode/master...
<ipfsbot> js-ipfs-api/master f194d3e samuli: Fix test for object.patch
<ipfsbot> [js-ipfs-api] diasdavid tagged v2.7.0 at f3fe890: http://git.io/vlpWT
<lgierth> whyrusleeping: we could allow only on address per peerid and /24 network, or something like that
Eudaimonstro has joined #ipfs
Encrypt has quit [Quit: Sleeping time!]
JohnClare has joined #ipfs
<lgierth> whyrusleeping: are these non-4001 ports for NAT?
pfraze has quit [Remote host closed the connection]
JohnClare has quit [Ping timeout: 264 seconds]
bedeho has joined #ipfs
sspookl is now known as sstangl
<whyrusleeping> lgierth: yeah, thats nat detection stuff...
<whyrusleeping> its kinda wrong though, because those nodes have public ips
tilgovi has joined #ipfs
<cryptix> hrmpf.. something about push is still broken in my git-remote-ipfs...
<cryptix> whyrusleeping: do you remember the pro's and con's of --unpack from git-ipfs-rehost?
<cryptix> i think i will make 'git push ipfs://ipfs/_/name.git' the equivalent of rehost
<cryptix> or maybe add a --rehost flag but that seems unintuitive
<whyrusleeping> uhm... chriscool is the one to ask
<whyrusleeping> i remember something bad about it though
glumpy` has joined #ipfs
NeoTeo has quit [Quit: ZZZzzz…]
<lgierth> whyrusleeping: their all running latest master now
<lgierth> *they're :)
<whyrusleeping> wooo!
<whyrusleeping> in related news, my dht query vis tool is pretty nifty so far