whyrusleeping changed the topic of #ipfs to: IPFS - InterPlanetary File System - https://github.com/ipfs/ipfs -- channel logged at https://botbot.me/freenode/ipfs/ -- code of conduct at https://github.com/ipfs/community/blob/master/code-of-conduct.md -- sprints + work org at https://github.com/ipfs/pm/ -- community info at https://github.com/ipfs/community/
<lgierth> yeah we can definitely do udp
ryan___ has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
ryan___ has quit []
* lgierth deploying ipfs on the master, including whyrusleeping's :5001 api fix
<lgierth> *on the gateways
Leer10 has joined #ipfs
reit has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
tilgovi has quit [Ping timeout: 240 seconds]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
border_ has quit [Quit: Konversation terminated!]
<bret> I'm just at working, heading over now
<bret> s/working/work
<lgierth> wow i somehow just youtube'd right into ted cruz reading green eggs and ham
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<jbenet> !pin QmZjMzrgbiBYs6K97iUsEmiW22kXM62wPnaRtvcSBYMy4Q
<pinbot> now pinning QmZjMzrgbiBYs6K97iUsEmiW22kXM62wPnaRtvcSBYMy4Q
<pinbot> pin QmZjMzrgbiBYs6K97iUsEmiW22kXM62wPnaRtvcSBYMy4Q successful!
<jbenet> !botsnack
<pinbot> om nom nom
<Xe> I need to find the id's for it, but I currently have 2 gigabytes of gangnam style remixes in ipfs
<Xe> it is so much more convenient than figuring out a FTP server
<ReactorScram> nice
<Xe> is there a way to run a webapp inside the context of IPFS?
<ReactorScram> Like with server-side scripting?
<krl> Xe: this is in the making atm
<ReactorScram> krl: how's that going to work?
<Xe> ah cool
<jbenet> Luzifer: i would really like to be able to run "gobuilder get-all <import-path> <version> output/dir" which would download _all_ archs and put them into output/dir (for local caches)
<jbenet> Xe you can already do it, see how the webui works
<jbenet> Xe https://github.com/ipfs/webui -- but krl is making it easier/nicer
<jbenet> Xe: try: localhost:5001/webui
<jbenet> Xe: the webui is special, because it uses the api (and we need to figure out ACLs for it)
<jbenet> Xe (people will be able to "allow" apps they trust to susbets of api
<jbenet> Xe: BUUTTTT if you can get away with what the http gateway provides, you can do that already
<krl> Xe: ReactorScram: you can look at the tooling here: https://github.com/ipfs/ipfs-web-app
<jbenet> !pin QmebLjKHBbWFJ7naZuAZG9pxKc2B9oPTVJFweDzLgweXJU
<pinbot> now pinning QmebLjKHBbWFJ7naZuAZG9pxKc2B9oPTVJFweDzLgweXJU
<jbenet> a true test of pinbot's abilities. (that's local and not on the gateway)
<jbenet> and it's not small.
<pinbot> [host 0] failed to grab refs for QmebLjKHBbWFJ7naZuAZG9pxKc2B9oPTVJFweDzLgweXJU: invalid character '<' looking for beginning of value
<whyrusleeping> pinbot: wtf are you doing?
<lgierth> mmmh, might that be an html error from nginx?
<lgierth> cause it goes through that first
<lgierth> (for authentication using the cjdns ipv6)
<jbenet> you know, having my daemon on is probably a good idea....
<lgierth> bleh
<jbenet> !pin QmebLjKHBbWFJ7naZuAZG9pxKc2B9oPTVJFweDzLgweXJU
<pinbot> now pinning QmebLjKHBbWFJ7naZuAZG9pxKc2B9oPTVJFweDzLgweXJU
* lgierth looking at nginx logs
<jbenet> (i have it pulling on a remote machine directly connected too, so it should help)
<pinbot> [host 0] failed to pin QmebLjKHBbWFJ7naZuAZG9pxKc2B9oPTVJFweDzLgweXJU: invalid character '<' looking for beginning of value
<lgierth> whyrusleeping: know what that error might be? api rejecting the request proxied by nginx...
<lgierth> :[
<whyrusleeping> :(
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<lgierth> look at that:
<lgierth> 2015/07/23 01:32:23 [error] 7#7: *208780 upstream timed out (110: Connection timed out) while reading response header from upstream, client: fc98:424c:b433:d7e2:7ee3:9541:73ff:2cdb, server: , request: "POST /api/v0/pin/add?arg=QmebLjKHBbWFJ7naZuAZG9pxKc2B9oPTVJFweDzLgweXJU&enc=json&r=true&stream-channels=true HTTP/1.1", upstream:
<pinbot> [host 4] failed to pin QmebLjKHBbWFJ7naZuAZG9pxKc2B9oPTVJFweDzLgweXJU: invalid character '<' looking for beginning of value
<lgierth> is there some ipfs command that tells me the commit i'm running?
<pinbot> pin QmebLjKHBbWFJ7naZuAZG9pxKc2B9oPTVJFweDzLgweXJU successful!
<lgierth> lol. very successful
<jbenet> :)
<jbenet> whyrusleeping if we use a makefile, we can patch in the current git commit into the build process. basically, put in a magic value like var currCommit = "hey-you-replace-me-with-the-version", and then "sed" the binary.
<bret> Oh man running late. Getting on the max in a few
<reit> is there any way to map files directly to ipfs without caching a blockstore version like bittorrent does?
<reit> i have over a TB of stuff I'd like to add but don't really want to expend double the disk space storing multiple copies
<lgierth> stick all that in `ipfs version -a` or so
<lgierth> would also be cool to have the api that
<jbenet> reit we're thinking about this feature. people request it a lot. it is _hard_ to do right. it may be an "advanced user mode" type of thing
<jbenet> lgierth: genius! \o/
<lgierth> :)
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<reit> jbennet: ok, even if it has to be managed manually by the user that'd still be very helpful
<reit> er, *jbenet:
tilgovi has joined #ipfs
domanic has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<alu> the infamous darkengine is there
<alu> mwuahhahaa
<alu> I feel like the universe is about to fork into a positive direction
domanic has quit [Ping timeout: 252 seconds]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<whyrusleeping> jbenet: i had a way i linked a little while back that could do the commit sha with just the go tool
<bret> !pin Qmf1kyWaVebZsZkjWkZvEPgAae3zP2uB9NQ48LVsRVYzZj
<bret> derp
tilgovi has quit [Ping timeout: 272 seconds]
<whyrusleeping> !pin Qmf1kyWaVebZsZkjWkZvEPgAae3zP2uB9NQ48LVsRVYzZj
<pinbot> now pinning Qmf1kyWaVebZsZkjWkZvEPgAae3zP2uB9NQ48LVsRVYzZj
<pinbot> [host 1] failed to pin Qmf1kyWaVebZsZkjWkZvEPgAae3zP2uB9NQ48LVsRVYzZj: invalid character '<' looking for beginning of value
<pinbot> pin Qmf1kyWaVebZsZkjWkZvEPgAae3zP2uB9NQ48LVsRVYzZj successful!
<bret> woops]
<whyrusleeping> pinbot: good enough
<bret> did i mess soemthig up on that hash?
<lgierth> nope it's an api bug
<lgierth> (probably)
tperson has quit [Quit: Connection closed for inactivity]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
void_ has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<bret> hey whyrusleeping, what is the best document to understand how to use ipns?
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
Leer10 is now known as Ler10
<spikebike> Hrmm, I wonder if something like this would be helpful for visualizing peers
<spikebike> (like the globe display in the web UI)
www has quit [Ping timeout: 246 seconds]
Ler10 has quit [Quit: Leaving]
ReactorScram has quit [Ping timeout: 264 seconds]
ReactorScram has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
kbala has quit [Quit: Connection closed for inactivity]
<bret> ogd: yeah thats in the webui
<bret> or is that one different
<ogd> oh i misunderstood question
<ogd> but thats a different implementation
<bret> i gotta go
<bret> :(
<bret> by daviddias
<bret> see ya juan
www has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
cdata has joined #ipfs
cdata has quit [Client Quit]
cdata has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
semidreamless has joined #ipfs
sharky has quit [Ping timeout: 264 seconds]
sharky has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
sugarpuff has quit []
sugarpuff has joined #ipfs
tilgovi has joined #ipfs
tilgovi has quit [Remote host closed the connection]
tilgovi has joined #ipfs
cdata has quit [Ping timeout: 250 seconds]
pfraze has quit [Remote host closed the connection]
<daviddias> it was great to have you bret :)
www has quit [Ping timeout: 272 seconds]
Blame has quit [Remote host closed the connection]
Blame has joined #ipfs
<jbenet> hey ogd: vinyl doesn't like filereader-streams -- any idea why?
<ogd> jbenet: vinyl browserified?
<jbenet> ogd: yeah
<jbenet> ogd: it complains the filereader-streams stream isn't a stream
tilgovi has quit [Remote host closed the connection]
<ogd> jbenet: oh thats true actually
<ogd> jbenet: i just use eventemitter and dont subclass a stream properly https://github.com/maxogden/filereader-stream/blob/master/index.js
<jbenet> ah
<jbenet> i'll file a bug and maybe PR later
<ogd> jbenet: yea if i wrote it today i would just require('through2') and return a through instance
<jbenet> ogd: take a look at this and lmk what you think. we're trying to pass a dataurl with an image and turn it into a legit stream (or a vinyl file)
<jbenet> ogd: we found your filereader-stream and seemed to be what we wanted, is there another thing?
<ogd> jbenet: not that i know of
<ogd> jbenet: but if its a dataurl you have it in memory right
<ogd> jbenet: so you can just use like require('from2') and emit a single buffer
<jbenet> ogd yeah. so given a FileReader()-- how do i grab the buffer?
<jbenet> maybe readAsBinaryString()
<ogd> i dont think you even need to do a FileReader you can just create a Blob from the dataUrl
<ogd> but i could be wrong
<ogd> jbenet: but you want readAsArrayBuffer
<ogd> jbenet: and then you can do new Buffer(new Uint8Array(arraybuffer))
<jbenet> ogd: ahh and from there, how do i get a proper Buffer
<jbenet> nice
<jbenet> thanks let me try
zabirauf has joined #ipfs
<jbenet> ogd: this isn't working, something about the Buffer isn't right. i tried with require('buffer') and with feross/buffer module
<ogd> jbenet: if you browserify it then Buffer should automatically get inserted, no need to require
<jbenet> ogd: that works for making a buffer, but still vinyl doesnt think it is a buffer
<ogd> sounds like a vinyl bug
<jbenet> yep
<ogd> if they used Buffer.isBuffer it would work
<ogd> because Buffer browserify is actually a monkeypatched Uint8Array
<ogd> so their instanceof fails
void_ has quit [Quit: ChatZilla 0.9.91.1 [Firefox 39.0/20150629114848]]
<ogd> i actually have no idea why that file exists
dignifiedquire has joined #ipfs
eternaleye has joined #ipfs
<jbenet> ogd thanks! contents: streamifier.createReadStream(buffer) fixed it in the end
<eternaleye> Huh, I just found IPFS, and I find myself wondering if there might be a neat way of integrating it with HIPv2(RFC 7401) at the HI/NodeID/peer-address level.
<eternaleye> Specifically, so long as the IPFS NodeID public key is of a type that is supported in HIP, then a HIT ORCHID can also be generated from it, and a /hit/ peer address namespace could Just Work
<eternaleye> And that'd provide some neat multihoming/mobility/NAT-bypass stuff "for free", along with a nice keying protocol for an IPsec ESP transport
Tv` has quit [Quit: Connection closed for inactivity]
atomotic has joined #ipfs
<cryptix> hej everybody
semidreamless has quit [Quit: Connection closed for inactivity]
con__ has joined #ipfs
con_ has quit [Ping timeout: 240 seconds]
atomotic has quit [Quit: Textual IRC Client: www.textualapp.com]
cdata has joined #ipfs
rawtaz_ is now known as rawtaz
cdata has quit [Ping timeout: 240 seconds]
reit has quit [Ping timeout: 272 seconds]
<Luzifer> jbenet: cool usecase
reit has joined #ipfs
atomotic has joined #ipfs
zabirauf has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ei-slackbot-ipfs has quit [Remote host closed the connection]
ei-slackbot-ipfs has joined #ipfs
atomotic has quit [Quit: Textual IRC Client: www.textualapp.com]
hellertime has joined #ipfs
domanic has joined #ipfs
hellertime has quit [Quit: Leaving.]
hellertime has joined #ipfs
Muis has quit [Quit: Connection closed for inactivity]
MatrixBridge has quit [Read error: Connection reset by peer]
MatrixBridge has joined #ipfs
therealplato has quit [Ping timeout: 264 seconds]
therealplato has joined #ipfs
vonzipper has quit []
vonzipper has joined #ipfs
rschulman__ has joined #ipfs
Luzifer has quit []
Luzifer has joined #ipfs
<bret> thnx for coming to Portland! So cool too meet you all in person
pfraze has joined #ipfs
cdata has joined #ipfs
hellertime1 has joined #ipfs
hellertime has quit [Read error: Connection reset by peer]
semidreamless has joined #ipfs
cdata has quit [Ping timeout: 264 seconds]
hellertime1 has quit [Read error: Connection reset by peer]
hellertime has joined #ipfs
domanic has quit [Ping timeout: 265 seconds]
vijayee_ has joined #ipfs
<bret> any pans to be near downtown/train station before 9?
www has joined #ipfs
cdata has joined #ipfs
cdata has quit [Ping timeout: 250 seconds]
martinBrown has quit [Ping timeout: 264 seconds]
ruby32 has joined #ipfs
martinBrown has joined #ipfs
<lgierth> tmg finally crackking down on localhost:4001
<whyrusleeping> lgierth: thats really weird....
<whyrusleeping> whats on 4001 other than us?
<whyrusleeping> and how did they get a localhost IP on their lists?
<Xe> if they ban localhost from google
<Xe> do they ban google?
<whyrusleeping> man, i feel like such a rebel right now
<whyrusleeping> browsing stuff on ipfs on localhost
<lgierth> http://cacaoweb.org/en/ seems to use 4001
<lgierth> (apart from fleet)
<lgierth> rebel with a cause
<ipfsbot> [go-ipfs] whyrusleeping created pinfail-debug (+1 new commit): http://git.io/vYsAJ
<ipfsbot> go-ipfs/pinfail-debug 7c91e63 Jeromy: print output on test failure for t0081...
<ipfsbot> [go-ipfs] whyrusleeping opened pull request #1510: print output on test failure for t0081 (master...pinfail-debug) http://git.io/vYsAg
mappum has quit []
mappum has joined #ipfs
sff has quit [Read error: Connection reset by peer]
sff has joined #ipfs
Tv` has joined #ipfs
lohkey has quit []
lohkey has joined #ipfs
tilgovi has joined #ipfs
tilgovi has quit [Ping timeout: 240 seconds]
tilgovi has joined #ipfs
<whyrusleeping> jbenet: i want to cut 0.3.6 today
rschulman__ has quit [Quit: rschulman__]
tilgovi has quit [Read error: No route to host]
tilgovi has joined #ipfs
<whyrusleeping> lgierth: youre coming to seattle today????
noffle has joined #ipfs
rschulman__ has joined #ipfs
insanity54 has quit []
insanity54 has joined #ipfs
jbenet has joined #ipfs
kevin`` has quit []
kevin`` has joined #ipfs
Encrypt has joined #ipfs
tilgovi has quit [Ping timeout: 246 seconds]
tilgovi has joined #ipfs
Encrypt has quit [Quit: Quitte]
pfraze has quit [Remote host closed the connection]
AtnNn_ is now known as AtnNn
<ipfsbot> [go-ipfs] whyrusleeping created fix/windows (+1 new commit): http://git.io/vYGpm
<ipfsbot> go-ipfs/fix/windows 3b822c5 Jeromy: vendor lib so windows builds work again...
<ipfsbot> [go-ipfs] whyrusleeping opened pull request #1511: vendor lib so windows builds work again (master...fix/windows) http://git.io/vYGpE
rschulman__ has quit [Quit: rschulman__]
cdata has joined #ipfs
rschulman__ has joined #ipfs
pfraze has joined #ipfs
<jbenet> bret: sorry, our train leaves 12:15
<bret> we've still got irc :)
<Xe> I wonder if it would be feisable to make a chat program over ipfs
<bret> immutable chat logs
<whyrusleeping> Xe: you could make a chat service using ipfs's networking stack
<noffle> whyrusleeping: ooh, cool
<whyrusleeping> noffle: :) i thought it was pretty cool too.
<whyrusleeping> we have this great 'p2p-net' package that we've been building/using
<whyrusleeping> and i want to extract it for people to use
<whyrusleeping> right now, its easiest to use it as shown in that example
<noffle> whyrusleeping: eek. I think fsrepo#At is now fsrepo@ConfigAt (https://github.com/ipfs/go-ipfs/blob/master/repo/fsrepo/fsrepo.go#L195)
<noffle> s/@/#/
<noffle> I can do a quick PR, but it'll have to be post-work-hours for me
<whyrusleeping> noffle: mind just filing an issue for me? I can get to it :)
<whyrusleeping> (unless you really want to PR it, then by all means go ahead and do so)
cdata has quit [Ping timeout: 244 seconds]
<noffle> yup, I can file something
<noffle> whyrusleeping: hm. I'm getting "panic: multihash length inconsistent: &{4 180 [242 122 13]}" when I try to run the client. The server is outputting "<peer.ID XoPY8C>" -- are peer ids that short?
<daviddias> whyrusleeping: found an article explaining all the craziness about econreset in the different node versions
<daviddias> I know your issue was in Go, but it is a very good reference
<sprintbot> Sprint Checkin! [whyrusleeping jbenet cryptix wking lgierth krl kbala_ rht__ daviddias dPow chriscool gatesvp]
rschulman__ has quit [Quit: rschulman__]
<jbenet> sprintbot: I'm fixing a ton of bugs i found hacking with ward.
therealplato1 has joined #ipfs
therealplato has quit [Read error: Connection reset by peer]
<ei-slackbot-ipfs> <zramsay> what's the deal with the error "context deadline exceeded"
<ei-slackbot-ipfs> <zramsay> seems to come and go as it pleases
<jbenet> zramsay: it means a timeout. the --timeout command whyrusleeping added should allow you to try resolving for a long time. it may mean the content is not available or is hard to reach.
<alu> 2oi
<alu> Yo
<alu> I have a good test for IPFS
<alu> I'm going to try it now
<alu> oh interesting
<alu> It will take a bit more work than I thought
<alu> wait a sec
<alu> maybe this isnt the best service to run on IPFS LOL
cdata has joined #ipfs
<ei-slackbot-ipfs> <zramsay> cool, thanks
<jbenet> everyone, we'll have a meetup in Seattle tonight -- see http://attending.io/events/ipfs-seattle-july-2015 -- if that breaks, let us know.
<alu> I think a decentralized bitcoin marketplace would want to be ephemeral.
<daviddias> If attending.io page for the IPFS meetup tonight happens to be down for some reason, we also have a Meetup.com - http://www.meetup.com/Seattle-IPFS-Meetup/events/224077819/ - as backup. Make sure to RSVP so we can figure out resources :)
<jbenet> hey thefinn93 d6e tperson whyrusleeping -- could you invite other people in the area that would be interested to come? (I dont know people around here)
<thefinn93> sure
<thefinn93> i guess i could mail the seattle meshnet list
<jbenet> +1
<whyrusleeping> jbenet: yeap, i've been inviting people i know
rschulman__ has joined #ipfs
<whyrusleeping> although a good chunk of my tech friends are vacationing right now
<whyrusleeping> apparently caves in vietnam are more interesting >.>
<thefinn93> jbenet: eh, its a bit late to put it on the mailing list
<thefinn93> if you want to tho
<thefinn93> seattle@lists.projectmesh.net
<jbenet> daviddias want to send an email (since you wrote the other ones) \o
<daviddias> sure :)
<daviddias> on it
<whyrusleeping> daviddias: <3
rschulman___ has joined #ipfs
rschulman__ has quit [Ping timeout: 265 seconds]
rschulman___ is now known as rschulman__
domanic has joined #ipfs
<d6e> yeah, sure
Encrypt has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<daviddias> email sent out :)
whidgle has joined #ipfs
tilgovi has quit [Ping timeout: 244 seconds]
kalmi has joined #ipfs
<thefinn93> put through
hellertime has quit [Ping timeout: 265 seconds]
hellertime has joined #ipfs
<whyrusleeping> jbenet: i think 'ipfs get' is broken...
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
dignifiedquire has quit [Quit: dignifiedquire]
emery has quit [Disconnected by services]
<jbenet> whyrusleeping: oh uh? how come?
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<whyrusleeping> it will randomly exit without error or getting all the data
ehmry has joined #ipfs
tilgovi has joined #ipfs
hellertime1 has joined #ipfs
hellertime has quit [Read error: Connection reset by peer]
<jbenet> whyrusleeping: what! that's really, really bad. can you reproduce it? what will cause it to exit? is it silenced errors somewhere?
<whyrusleeping> i can reproduce it, but not super reliably
<whyrusleeping> like, i was able to reproduce it three times, but the fourth time its just hanging waiting for data
<daviddias> if you want auto gofmt for JS, considering checking Standard and add this https://github.com/feross/standard/issues/195#issuecomment-124235935 to the vimrc :) pretty cool
kalmi has quit [Remote host closed the connection]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
atrapado has joined #ipfs
hij1nx has quit [Quit: leaving]
<lgierth> whyrusleeping: no? why?
<lgierth> re: coming to seattle
<jbenet> lgierth: rsvped at attending.io/events/ipfs-seattle-july-2015
<whyrusleeping> ^
<lgierth> oh yeah daviddias asked for that
<lgierth> spamspam :)
<daviddias>
* lgierth can't read the utf8 emojis
semidreamless has quit [Quit: Connection closed for inactivity]
bedeho has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
Encrypt has quit [Quit: Sleeping time!]
rschulman__ has quit [Ping timeout: 240 seconds]
<daviddias> jbenet did you save krl screencapture on the hdd? can't find it
pinbot has quit [Remote host closed the connection]
pinbot has joined #ipfs
<lgierth> !pin Qmf1kyWaVebZsZkjWkZvEPgAae3zP2uB9NQ48LVsRVYzZj
<pinbot> now pinning Qmf1kyWaVebZsZkjWkZvEPgAae3zP2uB9NQ48LVsRVYzZj
<pinbot> pin Qmf1kyWaVebZsZkjWkZvEPgAae3zP2uB9NQ48LVsRVYzZj successful! -- http://gateway.ipfs.io/ipfs/Qmf1kyWaVebZsZkjWkZvEPgAae3zP2uB9NQ48LVsRVYzZj
<whyrusleeping> what a boss
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<whyrusleeping> lgierth: dont know if you noticed, but youve got collab on pinbot now
bedeho has quit [Ping timeout: 264 seconds]
<whyrusleeping> jbenet: what do you think of that nsfs api i proposed the other day?
JasonWoof has quit [Ping timeout: 250 seconds]
<jbenet> lgierth: there's a webcam there?
<jbenet> ah yeah, yeah there is
JasonWoof has joined #ipfs
<jbenet> whyrusleeping nsfs looks good to me, but i also want a lot of that in regular ipfs-land.
bedeho has joined #ipfs
<jbenet> i think it makes sense to implement it for /ipfs-land and then support it in ipns land by republishing the name to the root
<lgierth> jbenet: i just grepped through the channel log for something to pin :)
<lgierth> whyrusleeping: yep thanks!
<whyrusleeping> jbenet: what do you mean 'implement it for /ipfs-land' ?
alu has quit [Quit: WeeChat 1.3-dev]
<whyrusleeping> i'm really trying to get access to https://github.com/ipfs/go-ipfs/tree/master/ipnsfs via api
<whyrusleeping> save didnt happen, so i refined the interace
cdata has quit [Ping timeout: 252 seconds]
<jbenet> whyrusleeping can i see the interface once more? (link?)
<jbenet> like, i think i'm +1 on this existing, i just thing it's scope is larger than just name-based fs.
<jbenet> like replace "nsfs" with: "fs <root>"
<whyrusleeping> well, what it really is, is a mutable filesystem backed by merkledags
<jbenet> and it outputs the new root
<jbenet> nsfs could wrap _that_ and publish to names, hiding all the root stuff.
<jbenet> whyrusleeping yeah, so that node *dag.Node
<jbenet> i'd love these interfaces to work with dag.Node.
cdata has joined #ipfs
<jbenet> btw, i have something for you to look at.
<whyrusleeping> is it a cat?
<lgierth> shame on him if it isn't
bedeho has quit [Ping timeout: 244 seconds]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<jbenet> ok, here's one fun for pinbot
<jbenet> !pin /ipfs/QmSmhTk6TfkELqeGp9csJWZZ4xc68gGqMgGht7DNLHsVWh/:p.gif
<pinbot> now pinning /ipfs/QmSmhTk6TfkELqeGp9csJWZZ4xc68gGqMgGht7DNLHsVWh/:p.gif
<pinbot> pin /ipfs/QmSmhTk6TfkELqeGp9csJWZZ4xc68gGqMgGht7DNLHsVWh/:p.gif successful! -- http://gateway.ipfs.io/ipfs//ipfs/QmSmhTk6TfkELqeGp9csJWZZ4xc68gGqMgGht7DNLHsVWh/:p.gif
* jbenet wins
<whyrusleeping> lol, lgierth you broke it!
cdata has quit [Ping timeout: 256 seconds]
<lgierth> you found the bug, you gon fix it :)
therealplato1 has quit [Ping timeout: 244 seconds]
<whyrusleeping> jbenet: dont break things you cant fix ;)
<lgierth> heh
<lgierth> true
<jbenet> also, what should pinbot do in that case
<jbenet> because, the pin is for "/ipfs/QmSmhTk6TfkELqeGp9csJWZZ4xc68gGqMgGht7DNLHsVWh/:p.gif"
cdata has joined #ipfs
<whyrusleeping> oh look, jbenet has collab on pinbot
pfraze has quit [Remote host closed the connection]
<jbenet> but if it doesn't also pin "/ipfs/QmSmhTk6TfkELqeGp9csJWZZ4xc68gGqMgGht7DNLHsVWh" ....
<jbenet> should it pin the path directly?
<whyrusleeping> my intention was that pinbot just pin hashes
<whyrusleeping> i didnt think about paths
<whyrusleeping> jbenet: could you take a look at the three issues on the 0.3.6 milestone?
<whyrusleeping> they should be rfm
<whyrusleeping> or at least https://github.com/ipfs/go-ipfs/pull/1501 so i can rebase the others on it an reroll for clean tests
cdata has quit [Ping timeout: 240 seconds]
vijayee_ has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
hellertime1 has quit [Quit: Leaving.]
therealplato has joined #ipfs
<jbenet> yep
<ipfsbot> [go-ipfs] jbenet pushed 3 new commits to master: http://git.io/vYn1m
<ipfsbot> go-ipfs/master b60f494 Jeromy: fix race condition in notifications test...
<ipfsbot> go-ipfs/master 47cd70f Jeromy: fix same test in swarm...
<ipfsbot> go-ipfs/master ebfdb3a Juan Benet: Merge pull request #1501 from ipfs/fix/notif-test...
<ipfsbot> [go-ipfs] whyrusleeping force-pushed fix/windows from 3b822c5 to f0badb6: http://git.io/vYn1D
<ipfsbot> go-ipfs/fix/windows f0badb6 Jeromy: vendor lib so windows builds work again...
notduncansmith has joined #ipfs
<ipfsbot> [go-ipfs] whyrusleeping force-pushed feat/patch-create from f1d8b2f to c95c097: http://git.io/vYLXR
<ipfsbot> go-ipfs/feat/patch-create 8242851 Jeromy: allow patch to optionally create intermediate dirs...
<ipfsbot> go-ipfs/feat/patch-create 5f59ba9 Jeromy: let rm understand paths...
<ipfsbot> go-ipfs/feat/patch-create c95c097 Jeromy: more tests and better path handling in object...
notduncansmith has quit [Read error: Connection reset by peer]
<whyrusleeping> jbenet: when are you gonna get in?
<whyrusleeping> i wanna chat about docker stuffs
<jbenet> 16:00/17:00 ?
<jbenet> trains are apparently not the fastest things ever.
<jbenet> (in the us)
<jbenet> whyrusleeping, ok i want your feedback.
<jbenet> i'm making datastructures super nice to make with go
<jbenet> and js both
<whyrusleeping> elon, save is from mundane travel! build us your hyperloop!
<whyrusleeping> jbenet: that go struct isnt really that useful at all...
<jbenet> given how json, cbor, protobuf, and other encoders work (with reflect) we should be able to do a "dag.Unmarshal(buf, &commit)" that just works.
<whyrusleeping> i would want real types
<jbenet> yeah take that up with rob pike, go doesnt do generics
<whyrusleeping> one sec, let me write something for you
<jbenet> and, those are links.
<jbenet> they're not the object. you should be able to get the raw nose with: commit.Author.Node(), and unmarshal with wither: commit.Author.Node().Unmarshal(&author) or commit.Author.Unmarshal(&author) as a shortcut.
<jbenet> raw node*
<jbenet> whyrusleeping: note that this is like a pb struct, remember that right now we hide all our pb structs and copy over everything. this wouldnt do that.
<jbenet> we'd unmarshal directly into the proper struct.
<whyrusleeping> if we're using reflection anyways, might as well do it the nice way :)
<jbenet> whyrusleeping: no, i want the link specifically, because the link has other data.
<jbenet> not just the hash.
<jbenet> (also, you dont want to do that necessarily, because unmarshalling one node would unmarshal the entire dag in memory. imagine doing that to a root directory.
<jbenet> google's python datastore api did this dynamically. grabbing the object would lazily load it. so we could hide that behind functions, but it gets really really annoying to do in go without codegen.
<whyrusleeping> we're going to need codegen anyways
<jbenet> not necessarily, this can work with a generic cbor decoder.
<jbenet> i guess protobuf does that too
<jbenet> if you pass in the schema.
<jbenet> whyrusleeping: how would you deal with unmarshalling the root of an enormous dag in your case
<whyrusleeping> i see the value in using the links
<whyrusleeping> we would just have getters for accessing everything
bedeho has joined #ipfs
www1 has joined #ipfs
www has quit [Ping timeout: 240 seconds]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
cdata has joined #ipfs
<lgierth> anybody know a good linux tool for ascii graphs?
<lgierth> or ascii diagrams... such stuff
<lgierth> heh http://asciiflow.com/ is neat
bedeho has quit [Ping timeout: 260 seconds]
<spikebike> lgierth: claims you can move a box, haven't figured out how
<lgierth> select, then move the selection
<spikebike> ah, that works, but breaks the connections
pfraze has joined #ipfs
<spikebike> was hoping for a ascii version of xfig or similar
M-Eric has joined #ipfs
<M-Eric> lgierth: perhaps https://github.com/gizak/termui is the worth of thing you're looking for?
<M-Eric> s/worth/sort/
<lgierth> M-Eric: now *that* is neat
<lgierth> i love blessed-contrib
<jbenet> the "@type": "mlink" isnt necessary with expanded json-ld schemas. e.g.
<lgierth> M-Eric: i want such dashboard for ipfs
notduncansmith has joined #ipfs
<lgierth> can scrape :5000/debug/metrics/*
<lgierth> <3<3
notduncansmith has quit [Read error: Connection reset by peer]
<whyrusleeping> jbenet: whats the linksP and sdataP thing for?
<whyrusleeping> why not just check for nil?
<jbenet> whyrusleeping is an empty map not nil?
<whyrusleeping> an empty map is not nil
<whyrusleeping> make(map[string]interface{}) != nil
<whyrusleeping> var X map[string]interface{}, X == nil
<jbenet> yep, fail.
<whyrusleeping> okay, just making sure i wasnt missing something
<jbenet> makes sense.
<whyrusleeping> so you just marshal everything to a map?
<whyrusleeping> also, you'll want map[string]interface{}, your key values have to be concrete
<whyrusleeping> key types*
<whyrusleeping> (i know, thats aside from the point)
<whyrusleeping> would the Commit structure from earlier be a 'Doc' ?
<whyrusleeping> and whats the Data on the Link for?
bigbluehat has quit []
bigbluehat has joined #ipfs
<jbenet> a map is intermediate, we can marshal directly from a []byte to a commit with the ugorji decoder, i think.
<jbenet> Doc is draft 1, was making https://github.com/ipfs/go-ipfsld/blob/master/dag/dag.go (where node is sort of the same thing as a Doc)
<jbenet> (not sure i should wrap doc, or have the functions that do the links checking stuff as just functions)
<jbenet> whyrusleeping: see https://github.com/ipfs/go-ipfsld/issues/1 <-- thats the json definitions that we could have
<jbenet> (3) looks nice, no?
<whyrusleeping> jbenet: how do you handle namespacing in contexts?
<whyrusleeping> can i use multiple contexts?
<jbenet> yeah
<jbenet> namespacing and all the power is at http://json-ld.org/
<whyrusleeping> in #3, youre dropping the size from links?
<whyrusleeping> i guess thats okay, we didnt really use it
<jbenet> whyrusleeping: in this example yes. we dont have to, but i think it was krl that pointed out we should either have more things that size (like tree height, node count, etc) or not.
<jbenet> i do like having the size, i'm not sure.
<jbenet> so one "not-breaking-anything" way to do things is to wrap this whole cbor thing into the Data segment of a protobuf object, pull out the links and construct our protobuf links table
<jbenet> that duplicates data
<whyrusleeping> yeap
<whyrusleeping> it doesnt really duplicate data
<jbenet> blowing up the storage requirement, unless we do clever things
<jbenet> the links would be in two places.
<jbenet> no, remember the unixfs case, where the unixMode is in the link too
<jbenet> marshalling and unmarshalling becomes a dance everyone has to define
<jbenet> and that's annyoing, instead of just a generic Marshal/Unmarshal
<whyrusleeping> unixMode isnt in the link though?
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<jbenet> we can also rebind { "type": "@type", "@value": "value"} in the root mdag context, so people dont have to use "@"s
ruby32 has quit [Ping timeout: 244 seconds]
<jbenet> whyrusleeping we're arriving. we'll grab some zeitgeist and meet you soon
<whyrusleeping> SGTM
<whyrusleeping> we're on the second floor
<whyrusleeping> its crowded today because intel
niran has quit []
niran has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
okket has quit [Ping timeout: 256 seconds]
okket has joined #ipfs
www1 has quit [Ping timeout: 246 seconds]
<daviddias> whyrusleeping: we've arrived
<daviddias> On the second floor room that we always take over
<daviddias> Where are you ?
<whyrusleeping> i'm upstairs?
therealplato has quit [Quit: Leaving.]
<daviddias> Which area ?
atrapado has quit [Quit: Leaving]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
sindresorhus has quit []
sindresorhus has joined #ipfs
<thefinn93> wait isnt it at like, 7?
<thefinn93> i suppose y'all might just be there early
<whyrusleeping> thefinn93: we're hanging out at the coworking space
<whyrusleeping> they just got back from portland
<whyrusleeping> meetup is still at 7, no worries
<thefinn93> aah
<thefinn93> cool