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
calavera has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Senji has quit [Ping timeout: 244 seconds]
ggoZ has quit [Ping timeout: 240 seconds]
patcon has quit [Ping timeout: 264 seconds]
M-ryanwilliams has quit [Quit: node-irc says goodbye]
Guanin_ has quit [Ping timeout: 260 seconds]
<ipfsbot> [js-ipfs] noffle opened pull request #86: upgrades peer-id to 0.6.0 (master...upgrade-peer-id) https://git.io/va45y
voxelot has quit [Ping timeout: 260 seconds]
<jbenet> zignig: yes, too much :)
<ipfsbot> [go-ipfs] whyrusleeping created feat/fd-limit-check (+1 new commit): https://git.io/va4dI
<ipfsbot> go-ipfs/feat/fd-limit-check 2009d6f Jeromy: try to raise ulimit if its too low...
<ipfsbot> [go-ipfs] whyrusleeping opened pull request #2466: try to raise ulimit if its too low (master...feat/fd-limit-check) https://git.io/va4ds
IlanGodik has quit [Quit: Connection closed for inactivity]
reit has joined #ipfs
Guanin_ has joined #ipfs
M-sivachandran has quit [Quit: node-irc says goodbye]
reit has quit [Read error: Connection reset by peer]
M-Peer2Peer has quit [Quit: node-irc says goodbye]
sivachandran has joined #ipfs
nicolagreco_ has quit [Quit: nicolagreco_]
<sivachandran> whyrusleeping: are you around for discussion about generic key-pair dht?
r04r is now known as zz_r04r
Kane` has joined #ipfs
voxelot has joined #ipfs
inconshreveable has quit [Read error: Connection reset by peer]
patcon has joined #ipfs
<whyrusleeping> sivachandran: i am!
dignifiedquire has quit [Quit: Connection closed for inactivity]
<tmg> is there a plan to pull the commands package out of go-ipfs repo?
ipfsrocks has quit [Ping timeout: 244 seconds]
ygrek has quit [Ping timeout: 252 seconds]
<whyrusleeping> tmg: yeah, we want to
<whyrusleeping> the tricky part will be how to make it not rely on the main ipfs codebase
<whyrusleeping> currently it has a few fields internally that are ipfs specific and we'd like to have it be its own thing, agnostic of ipfs
<whyrusleeping> but, if the first iteration of it being extracted still depends on ipfs, my feelings wont be too hurt
nicolagreco_ has joined #ipfs
leer10 has joined #ipfs
<voxelot> daviddias: ping
<voxelot> err 2am in portugal
micxjo has joined #ipfs
<whyrusleeping> voxelot: lol
ipfsrocks has joined #ipfs
ipfsrocks has quit [Ping timeout: 248 seconds]
jfred has joined #ipfs
<sivachandran> whyrusleeping: I was looking at the dht implementation of public key(/pk/) and ipns(/ipns/). Wondering how the implementation prevents someone circulating wrong record for public key.
<sivachandran> I understand that public key DHT records are signed but I don't understand why can't some X circulate wrong public key for Y? the DHT record could be signed by X own's private key so the signature check will pass.
<whyrusleeping> public keys are checked
<whyrusleeping> their contents must hash to the key
<nicolagreco_> whyrusleeping: are we going to have a /pk/ ?
<sivachandran> I couldn't find where we are checking the public key records are signed by the same person. May be I am missing something.
<whyrusleeping> routing/record/validation.go
<whyrusleeping> nicolagreco_: /pk/ is a dht key prefix
<nicolagreco_> nice, is there a list of root folders ? /ipfs, /ipns.. ?
<sivachandran> The implementation uses the Author field to retrieve the public key and verifies the signature. I don't where we do the Key == Author check.
<whyrusleeping> nicolagreco_: theyre not really folders, theyre only namespaces
<whyrusleeping> sivachandran: routing/record/validation.go line 81ish
<nicolagreco_> I didn't know how to call them :) is there a list of namespaces?
<whyrusleeping> theres currently just /ipns/ and /pk/
<sivachandran> whyrusleeping: Is the ValidatePublicKeyRecord function called even while retrieving the value? I mean GetValue
<whyrusleeping> sivachandran: yeap
TheWhisper_ has joined #ipfs
<nicolagreco_> why are /pk/ in their own namespaces? could they not be just /ipfs or they have different implementation semantics (just wondering)
tilgovi has quit [Ping timeout: 240 seconds]
<sivachandran> oh, then I need understand how it is getting called. I was wondering if I know the system I can very well inject wrong public key records without this check. But if we also do the validation at the time of retrieval then it is fine.
<voxelot> anyone know how to create in memory at runtime buffer in the browser?
<sivachandran> whyrusleeping: I am not sure how the generic key-value pair DHT should be. Any node can publish a key-value pair in the DHT. how do we decide which one we should pick.
<sivachandran> I was thinking similar approach of what we do for the public key records
TheWhisper has quit [Ping timeout: 240 seconds]
<sivachandran> Prefixing with the node's public key. So the retriever decides which record he wants.
<sivachandran> What do you think about this approach?
dedgecumbe has quit [Read error: Connection reset by peer]
dedgecumbe has joined #ipfs
<whyrusleeping> sivachandran: hrm... i don't know about that so much
<whyrusleeping> at that point, we might as well just use ipns
<whyrusleeping> so you have one record per key
<sivachandran> yes, that is exactly I was also thinking
<sivachandran> why can't we extend the ipns entries to have paths
<whyrusleeping> they do have paths, you just publish a directory
<sivachandran> something like /ipns/QmTkzDwWqPbnAh5YiV5VwcTLnGdwSNsNTn2aDxdXBFca7D/name1 /ipns/QmTkzDwWqPbnAh5YiV5VwcTLnGdwSNsNTn2aDxdXBFca7D/name2
<sivachandran> with directory I need to republish everything
<whyrusleeping> then what happens if i do `ipfs ls /ipns/<hash>`
<sivachandran> hmm... yes that could be a problem when we publish directory on the peer ID
<sivachandran> but if we stick with the rule that we don't publish anything on the root/peer hash then this will work
<whyrusleeping> eh...
<whyrusleeping> i'm not a fan of that
<sivachandran> so we will never publish something on '/ipns/<hash>' but allow publishing like '/ipns/<hash>/<name>'
<whyrusleeping> then that kill discoverability
<whyrusleeping> i have no way of just looking at a peers ipns stuff
<sivachandran> yes, you are correct
<sivachandran> then I am not sure how to do this generic dht
leer10 has quit [Quit: Leaving]
<whyrusleeping> i'm still not sure what youre trying to accomplish
<voxelot> whyrusleeping: do you know what would be the case of a merkle dag node being empty? or the data field not containing data
<whyrusleeping> whats the issue with republishing a directory when its changed?
<whyrusleeping> voxelot: uhm, that should be valid
<sivachandran> a side question, assuming a directory and its files are available in multiple nodes. can a peer publish the directory on its hash/peerID and go offline but still can other nodes resolve the peerID and retrieve the directory?
<voxelot> that is unfortunate for me atm
<whyrusleeping> voxelot: `ipfs object new` creates such an object
<whyrusleeping> voxelot: why?
<voxelot> poop
<whyrusleeping> sivachandran: yes
<voxelot> well in our current js implementation, if we try to unmarshal such an object, we at runtime create an empty buffer
<voxelot> not sure how to do that in the browser
<sivachandran> whyrusleeping: oh, then I think it solves my requirement
<whyrusleeping> uhm, doesnt `new Buffer` do that?
<sivachandran> I basically wanted to store some name-to-hash mapping within the network
<whyrusleeping> sivachandran: oh, woo!
<voxelot> maybe brfs can run new Browser?
<voxelot> lemme check
<whyrusleeping> sivachandran: yeah, the record you publish will be valid for 24 hours
<sivachandran> I don't want it to keep the mapping in one node as it might go down
<voxelot> s/new Browser/ new Buffer
<sivachandran> So now I am thinking I will put the mapping in a file(e.g. JSON) and publish it with the node hash
<sivachandran> and once the mapping file is cached in nodes within the network then anyone can provide the mapping. am I right?
<sivachandran> whyrusleeping: thanks for your help in understanding this. will do some experiments and check whether it satisfies my requirement.
<whyrusleeping> sivachandran: awesome, let me know if you need anything
<sivachandran> whyrusleeping: replied to the https://github.com/ipfs/go-ipfs/pull/2446.
<whyrusleeping> sivachandran: and yes, once the record is on the dht, it can be provided by the dht
<whyrusleeping> sivachandran: yeah, i need to get to that other PR soon. probably tomorrow or wednesday
<sivachandran> whyrusleeping: thanks
tilgovi has joined #ipfs
<voxelot> whyrusleeping: yeah my question is how to do this line in the browser https://github.com/nginnever/js-ipfs-merkle-dag/blob/master/src/dag-node.js#L163
<whyrusleeping> voxelot: does that code not browserify?
<voxelot> negative
<voxelot> we usually raw load buffers
<voxelot> like thus
<whyrusleeping> voxelot: what type is that buffer stuff on the browser side?
<whyrusleeping> can you not use a zero length uint8 array?
<voxelot> looking at feross code.. think i found it maybe var Buffer = require('buffer/').Buffer
<voxelot> or you're right, something to create a uint 0 length buffer
slothbag has quit [Quit: Leaving.]
<whyrusleeping> i think feross is here
<whyrusleeping> we should just ask him
<whyrusleeping> voxelot: why doesnt that code browserify? what fails?
<voxelot> yeah just hard to find an example of someone creating a 0 len buf
<voxelot> i know how to create an empty text file and require that which result in a 0 len buf, but that's hacky
<whyrusleeping> why doesnt the code you have work?
<voxelot> actually browserify doesnt throw any errors, just our webpack hates it
Akaibu has joined #ipfs
nicolagreco_ has quit [Quit: nicolagreco_]
nicolagreco_ has joined #ipfs
<whyrusleeping> what is the webpack error?
<whyrusleeping> because 'var x = new DAGNode(null, null)'
pfraze has quit [Remote host closed the connection]
<whyrusleeping> and 'x.unMarshal(new Uint8Array(0))' works fine
<voxelot> Buffer is undefined
<whyrusleeping> >.>
<whyrusleeping> thats pretty much as far as my knowledge goes
<voxelot> yeah browser stuff confuzzles me
<whyrusleeping> i feel it
<tperson> Where is the webpack config at?
<voxelot> that's not actually the module, but i'm using the same thing for merkle-dag module
O47m341 has quit [Ping timeout: 252 seconds]
<voxelot> data-importing module uses merkle dag module but never tested the case of adding empty nodes
<tperson> Is there a test you can write that breaks in data-importing?
M-hellomoto has quit [Quit: node-irc says goodbye]
zeroish has quit [Ping timeout: 244 seconds]
<voxelot> tperson: committing a test now, also for some reason Buffer.isBuffer works sometimes and now i just broke it lol
<voxelot> i dont get it
frabrunelle has quit [Quit: Textual IRC Client: www.textualapp.com]
<tperson> So this isn't ideal, but it fixes it
<tperson> global.Buffer = global.Buffer || require('buffer').Buffer
<tperson> Trying to figure out why Webpack isn't shimming itself thoguh
<voxelot> tperson: it's just weird, the module was not throwing the error until i ran standard and was just cleaning up things that shouldn't affect it and them boom, buffer is not defined
<tperson> Do you have a SHA of the module prior to running standard?
<voxelot> i did before i made that last commit lol
<voxelot> i could revert it if you want
<tperson> No need to revert it
<voxelot> thanks btw
O47m341 has joined #ipfs
pfraze has joined #ipfs
<tperson> hmm this is strange
Aeon is now known as Aeonwaves
pfraze has quit [Remote host closed the connection]
Magik6k has quit [Ping timeout: 276 seconds]
Kubuxu has quit [Ping timeout: 250 seconds]
dedgecumbe has quit [Ping timeout: 276 seconds]
<voxelot> tperson: just going to use that hack until dignfiedquire yells at me, it works for now
Magik6k has joined #ipfs
Kubuxu has joined #ipfs
<tperson> Okay, I'm going to work on this a bit more
qbg has quit [Quit: Konversation terminated!]
_rht has joined #ipfs
tmg has quit [Ping timeout: 264 seconds]
tmg has joined #ipfs
<voxelot> awesome!
frabrunelle has joined #ipfs
flapjack0811 has joined #ipfs
frabrunelle has quit [Client Quit]
frabrunelle has joined #ipfs
sivachandran has quit [Quit: Connection closed for inactivity]
frabrunelle has quit [Quit: Textual IRC Client: www.textualapp.com]
frabrunelle has joined #ipfs
<tperson> The issue has something to do with webpack not seeing that the module is using Buffer
<tperson> If you simply do `var x = new Buffer(0)` in dag-node.js webpack will inject the buffer and everything works.
Senji has joined #ipfs
<tperson> Fat arrows are breaking webpack
<tperson> If you use Buffer inside of a fat arrow function it will not include the shim for Buffer, if you use a regular function it includes it.
<voxelot> tpersron++
<M-mubot> tpersron has 1 point
<tperson> Ya, super simple example: `var x = () => new Buffer(0)` <- breaks webpack, `var x = function () { return new Buffer(0) }` <- works
ygrek has joined #ipfs
ygrek has quit [Ping timeout: 248 seconds]
<tperson> I filed an issue, we will see what someone says https://github.com/webpack/webpack/issues/2187
Tv` has quit [Quit: Connection closed for inactivity]
Guanin_ has left #ipfs [#ipfs]
Guanin_ has joined #ipfs
gigq has quit [Ping timeout: 268 seconds]
gigq has joined #ipfs
tmg has quit [Ping timeout: 250 seconds]
ulrichard has joined #ipfs
ulrichard has quit [Read error: Connection reset by peer]
tilgovi has quit [Ping timeout: 250 seconds]
inconshreveable has joined #ipfs
flapjack0811 has quit [Quit: Leaving]
ggp0647 has quit [Ping timeout: 264 seconds]
ggp0647 has joined #ipfs
Guanin_ has left #ipfs [#ipfs]
ulrichard has joined #ipfs
ulrichard has quit [Read error: Connection reset by peer]
ulrichard has joined #ipfs
MahaDev has quit [Read error: Connection reset by peer]
ulrichard has quit [Read error: Connection reset by peer]
ggp0647 has quit [Ping timeout: 264 seconds]
MahaDev has joined #ipfs
ggp0647 has joined #ipfs
inconshr_ has joined #ipfs
inconshreveable has quit [Ping timeout: 260 seconds]
joshbuddy has joined #ipfs
Akaibu has quit [Quit: Connection closed for inactivity]
Arakela007 has joined #ipfs
ulrichard has joined #ipfs
afternuun is now known as nuun
ulrichard has quit [Read error: Connection reset by peer]
rendar has joined #ipfs
ulrichard has joined #ipfs
ylp has joined #ipfs
OutBackDingo has quit [Ping timeout: 244 seconds]
nicolagreco_ has quit [Quit: nicolagreco_]
ulrichard has quit [Read error: Connection reset by peer]
OutBackDingo has joined #ipfs
mildred has joined #ipfs
patcon has quit [Ping timeout: 248 seconds]
computerfreak has quit [Quit: Leaving.]
frabrunelle has quit [Quit: Textual IRC Client: www.textualapp.com]
ulrichard has joined #ipfs
dignifiedquire has joined #ipfs
ulrichard has quit [Read error: Connection reset by peer]
Kane` has quit [Remote host closed the connection]
ygrek has joined #ipfs
calamansi has quit [Ping timeout: 276 seconds]
mats_ has quit [Ping timeout: 264 seconds]
ggoZ has joined #ipfs
Arakela0_ has joined #ipfs
zz_r04r is now known as r04r
ulrichard has joined #ipfs
Arakela007 has quit [Ping timeout: 260 seconds]
ygrek has quit [Ping timeout: 240 seconds]
ulrichard has quit [Read error: Connection reset by peer]
cemerick has joined #ipfs
mid has joined #ipfs
ulrichard has joined #ipfs
ulrichard has quit [Read error: Connection reset by peer]
martinkl_ has joined #ipfs
inconshr_ has quit [Ping timeout: 248 seconds]
inconshreveable has joined #ipfs
ulrichard has joined #ipfs
ulrichard has quit [Read error: Connection reset by peer]
zorglub27 has joined #ipfs
martinkl_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
s_kunk has joined #ipfs
<daviddias> voxelot: pong ahah
mats_ has joined #ipfs
ulrichard has joined #ipfs
ulrichard has quit [Read error: Connection reset by peer]
martinkl_ has joined #ipfs
martinkl_ has quit [Max SendQ exceeded]
martinkl_ has joined #ipfs
<daviddias> tperson: I believe that is fixed in Webpack 2. we had the same problem before
IlanGodik has joined #ipfs
ulrichard has joined #ipfs
ulrichard has quit [Read error: Connection reset by peer]
martinkl_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<daviddias> voxelot: there is indeed an empty Node test -> https://github.com/vijayee/js-ipfs-merkle-dag/blob/master/tests/dag-node-test.js#L25-L32
<daviddias> voxelot: tperson whyrusleeping (now, after reading the whole discussion) We've hit that bug in the past, in fact, Webpack 1.X gets weird with arrow functions and doesn't shim things properly, Webpack 2.X however, does the right thing, that is why we use it in all the other repos -> https://github.com/ipfs/js-ipfs/blob/master/package.json#L68
copernicusMogley has joined #ipfs
<dignifiedquire> good morning everyone :)
<daviddias> mornin' dignifiedquire :)
ulrichard has joined #ipfs
ulrichard has quit [Read error: Connection reset by peer]
<dignifiedquire> daviddias: how is life?
<daviddias> I'm out of coffee beans
<daviddias> life is terrible
<daviddias> :P
<dignifiedquire> :D
<daviddias> j/k I'm not like that xD
tmg has joined #ipfs
<daviddias> how are you?
<dignifiedquire> great, all things are moving in the right direction, I just had an excellent workout at the gym and now I'm thinking about a formal type specification for IPLD
<daviddias> 'formal type'?
<dignifiedquire> representing the graph of an IPLD object in a type system, and definining operations on it, in a way that it gurantees that a mapping onto another graph is 1:1 and invertible
<dignifiedquire> yes that's what I'm basing my work on
Encrypt has joined #ipfs
ulrichard has joined #ipfs
ulrichard has quit [Read error: Connection reset by peer]
<jbenet> daviddias: i have a nespresso pod machine. it's surprisingly good.
<jbenet> dignifiedquire: that's fantastic. btw, we may be able to ask cleichner and davidar (on github) for help on this. im sure they'd be interested in the problem.
<daviddias> jbenet agree, I like them as well, in fact I have one too
* M-davidar catches up
<daviddias> but for a morning wake up routine, grinding beans gives you an extra kick
<M-davidar> dignifiedquire: sounds interesting
ulrichard has joined #ipfs
Guest52 has joined #ipfs
<dignifiedquire> jbenet: M-davidar yes happy to get some help on this, but want to have a prototype/draft first so it's to discuss
<dignifiedquire> *easier
* dignifiedquire typing skills ran away
ulrichard has quit [Read error: Connection reset by peer]
___ has joined #ipfs
* M-davidar is planning on integrating IPLD with Haskell at some point, so I imagine there'd be some overlap
<dignifiedquire> M-davidar: I'm very sure there will be overlap, will ping you when I have sth to show
<M-davidar> cool
copernicusMogley has quit [Ping timeout: 240 seconds]
hellertime has joined #ipfs
martinkl_ has joined #ipfs
ulrichard has joined #ipfs
ulrichard has quit [Read error: Connection reset by peer]
jbenet has left #ipfs [#ipfs]
jbenet has joined #ipfs
<ipfsbot> [js-ipfs] diasdavid closed pull request #86: upgrades peer-id to 0.6.0 (master...upgrade-peer-id) https://git.io/va45y
cemerick has quit [Ping timeout: 264 seconds]
ulrichard has joined #ipfs
ulrichard has quit [Read error: Connection reset by peer]
cemerick has joined #ipfs
reit has joined #ipfs
cemerick has quit [Ping timeout: 244 seconds]
<tmg> can someone define IPLD for this noob?
<daviddias> and yesterday's IPLD hangout https://www.youtube.com/watch?v=QVfL0VrvBww
ulrichard has joined #ipfs
ulrichard has quit [Read error: Connection reset by peer]
Guanin_ has joined #ipfs
_rht has quit [Quit: Connection closed for inactivity]
<demize> F
<olso> cool stuffs
inconshreveable has quit [Remote host closed the connection]
Arakela007 has joined #ipfs
Arakela0_ has quit [Ping timeout: 240 seconds]
Encrypt has quit [Quit: Quitte]
ulrichard has joined #ipfs
copernicusMogley has joined #ipfs
<copernicusMogley> dignifiedquire: did you have a chance to discuss the Declare Your Independence podcast interview with the rest of the team?
<dignifiedquire> copernicusMogley: oh damn, I'm so sorry I forgot
<dignifiedquire> I will talk with the others today
<dignifiedquire> daviddias: ping
ulrichard has quit [Read error: Connection reset by peer]
<daviddias> Declare Your Independence?
inconshreveable has joined #ipfs
<daviddias> Are you planning a riot?
<daviddias> let me call my army
<daviddias> I'll put you in line :P
<daviddias> dignifiedquire: pong
<dignifiedquire> yes daviddias we shall riot the world with the IPFS independence fighters
bielewelt has joined #ipfs
reit has quit [Ping timeout: 268 seconds]
<daviddias> punks :P
mats_ has quit [Ping timeout: 248 seconds]
<voxelot> viva la revolution!
<dignifiedquire> voxelot: why are you still awake??
<daviddias> voxelot: zombies, amiright
<voxelot> nah its 5:30 here, been working out in the mornings
<voxelot> bout to get ready to leave for the office
* dignifiedquire impressed by voxelots work ethic
<copernicusMogley> daviddias: I'm always planning some kind of trouble ;)
<r0kk3rz> dignifiedquire: without fully understanding what your independance thing is about, i just want you to be aware that this was tried before https://www.youtube.com/watch?v=pcYJTIbhYF0
martinkl_ has quit [Ping timeout: 276 seconds]
O47m341 has quit [Ping timeout: 252 seconds]
ulrichard has joined #ipfs
martinkl_ has joined #ipfs
zorglub27 has quit [Ping timeout: 244 seconds]
jaboja has joined #ipfs
ulrichard has quit [Read error: Connection reset by peer]
<r0kk3rz> or copernicusMogley rather ^^
mats_ has joined #ipfs
<copernicusMogley> r0kk3r: It's a podcast that has interviewed me and the other founder of Alexandria before. They are very interested in IPFS and reached out to me for another interview, this time with the focus on the IPFS part of our system.
<copernicusMogley> I'm not a fan of blockchain law/governance, personally, and tend to avoid that sort of thing.
<r0kk3rz> its an interesting talk regardless, mostly focusing on lessons we can learn from the dawn of the internet
<daviddias> voxelot: nice! :)
<r0kk3rz> and how people then thought it was all going to turn out
<r0kk3rz> including a 'declaration of independance' which was recorded in 1996
cemerick has joined #ipfs
reit has joined #ipfs
<copernicusMogley> That is interesting. watching the video now.
bielewelt has quit [Ping timeout: 268 seconds]
ulrichard has joined #ipfs
olso has quit [Quit: Textual IRC Client: www.textualapp.com]
ulrichard has quit [Read error: Connection reset by peer]
jaboja has quit [Remote host closed the connection]
O47m341 has joined #ipfs
tmg has quit [Quit: leaving]
bielewelt has joined #ipfs
inconshreveable has quit [Remote host closed the connection]
ulrichard has joined #ipfs
mats_ has quit [Ping timeout: 244 seconds]
rhalff has joined #ipfs
<rhalff> does something like https://blockstack.org/ fit in with ipfs?
<rhalff> seems there are a 1000 ways to implement decentralized concepts
ulrichard has quit [Read error: Connection reset by peer]
ugjka has joined #ipfs
mildred has quit [Ping timeout: 244 seconds]
mats_ has joined #ipfs
<mnp> see also http://namecoin.info
ulrichard has joined #ipfs
jaboja has joined #ipfs
ulrichard has quit [Read error: Connection reset by peer]
mildred has joined #ipfs
<dignifiedquire> daviddias: very very rough thingy for ipld: https://github.com/dignifiedquire/rust-ipld/blob/master/src/lib.rs#L73
<dignifiedquire> M-davidar: ^^
<dignifiedquire> (just trying to get sth to build on top)
mats_ has quit [Ping timeout: 260 seconds]
<tperson> daviddias: Good to know (webpack 2)
ulrichard has joined #ipfs
tmpds has joined #ipfs
tmpds has left #ipfs [#ipfs]
ulrichard has quit [Read error: Connection reset by peer]
ashark has joined #ipfs
martinkl_ has quit [Ping timeout: 244 seconds]
zootella has joined #ipfs
zootella has left #ipfs [#ipfs]
martinkl_ has joined #ipfs
nicolagreco__ has joined #ipfs
ulrichard has joined #ipfs
computerfreak has joined #ipfs
___ has quit [Quit: Page closed]
Encrypt has joined #ipfs
ulrichard has quit [Read error: Connection reset by peer]
OutBackDingo has quit [Read error: Connection reset by peer]
Not_ has joined #ipfs
ulrichard has joined #ipfs
copernicusMogley has quit [Ping timeout: 250 seconds]
ulrichard has quit [Read error: Connection reset by peer]
ulrichard has joined #ipfs
ulrichard has quit [Read error: Connection reset by peer]
mats_ has joined #ipfs
<ipfsbot> [js-ipfs] diasdavid force-pushed feature/swarm from d88de11 to 47271e5: https://git.io/v24B2
<ipfsbot> js-ipfs/feature/swarm 47271e5 David Dias: start
mats_ has quit [Remote host closed the connection]
reit has quit [Ping timeout: 268 seconds]
_rht has joined #ipfs
tilgovi has joined #ipfs
ulrichard has joined #ipfs
ulrichard has quit [Read error: Connection reset by peer]
Encrypt has quit [Quit: Quitte]
Tv` has joined #ipfs
ulrichard has joined #ipfs
tilgovi has quit [Remote host closed the connection]
ulrichard has quit [Read error: Connection reset by peer]
jaboja has quit [Remote host closed the connection]
bedeho has joined #ipfs
patcon has joined #ipfs
sahib has joined #ipfs
OutBackDingo has joined #ipfs
ulrichard has joined #ipfs
ulrichard has quit [Read error: Connection reset by peer]
amiller_ has quit [Ping timeout: 276 seconds]
copernicusMogley has joined #ipfs
nicolagreco__ has quit [Quit: nicolagreco__]
Guest80236 has joined #ipfs
pfraze has joined #ipfs
Not_ has quit [Ping timeout: 240 seconds]
ylp has quit [Quit: Leaving.]
O47m341 has quit [Ping timeout: 268 seconds]
bielewelt has quit [Quit: Leaving.]
kseistrup has quit [Quit: bbl]
kseistrup has joined #ipfs
O47m341 has joined #ipfs
Guanin_ has left #ipfs [#ipfs]
nicolagreco_ has joined #ipfs
zootella has joined #ipfs
pfraze has quit [Remote host closed the connection]
copernicusMogley has quit [Ping timeout: 244 seconds]
nicolagreco_ has quit [Quit: nicolagreco_]
patcon has quit [Ping timeout: 250 seconds]
ugjka has quit [Quit: Leaving]
jokoon has joined #ipfs
<whyrusleeping> dignifiedquire: heyo
<whyrusleeping> daviddias: out of coffee beans?
<daviddias> whyrusleeping: arrived home like 10 minutes ago with two new bags
<daviddias> :D
<whyrusleeping> lol, okay good
<whyrusleeping> i can bring you some really good stuff from kuma when we meet up :)
ugjka has joined #ipfs
<daviddias> yes, please! :D
<ipfsbot> [go-ipfs] whyrusleeping pushed 3 new commits to master: https://git.io/va01b
<ipfsbot> go-ipfs/master 8506023 Jeromy Johnson: fix double transfer encoding head problem...
<ipfsbot> go-ipfs/master 655804c Jeromy Johnson: fix whitespace trimming...
<ipfsbot> go-ipfs/master 573b191 Jeromy Johnson: Merge pull request #2465 from ipfs/fix/double-encoding-header...
<whyrusleeping> daviddias: my roommate and I are super proud of our coffee station in the new place
<daviddias> ahah I got that the first moment you showed it to me :)
<noffle> whyrusleeping: pics? :D
<whyrusleeping> uno segundo :)
<ipfsbot> [go-ipfs] RichardLitt created feature/alphabetize-object (+1 new commit): https://git.io/va0MV
<ipfsbot> go-ipfs/feature/alphabetize-object c692286 Richard Littauer: Alphabetized subcommands...
<ipfsbot> [go-ipfs] RichardLitt opened pull request #2471: Alphabetized subcommands (master...feature/alphabetize-object) https://git.io/va0MK
<daviddias> whyrusleeping: s/uno/um
<daviddias> there, fixed it for you :P
<whyrusleeping> daviddias: lol, but i cant do the russian accent required to sound portugese :P
zootella has quit [Quit: zootella]
pfraze has joined #ipfs
zootella has joined #ipfs
<noffle> whyrusleeping: that's a thing of real beauty, right there. <3
<whyrusleeping> :D
<noffle> that's where people go to become happy
<noffle> and not asleep
<whyrusleeping> the best recent addition is the electric kettle that you can set a temperature on
<whyrusleeping> and it has a 'hold' button
<whyrusleeping> so you can say 'get the water to 201 degrees, and just hold it there until i'm ready'
<redfish> energy star certified: warmimg the earth one kettle at a time
<noffle> nice
<noffle> coffee is no joke
<whyrusleeping> redfish: my house is consistently at a cozy 62f
<whyrusleeping> so im okay leaving the kettle on while my fingers freeze
<whyrusleeping> in other news; single pane windows, while definitely stylish and rustic, do not make for a happy heating bill
<whyrusleeping> and the landlord refuses to replace them because 'theyre part of the house'
<Kubuxu> and here we are planning to introduce laws that all new houses must be build passive, which means that they should be warm only on normal energy usage, w/o heating.
martinkl_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nicolagreco_ has joined #ipfs
<whyrusleeping> i own two personal space heaters. does that count as 'normal energy usage' ?
ygrek has joined #ipfs
<whyrusleeping> or should i start mining bitcoin in my basement
<Kubuxu> the latter
nicolagreco_ has quit [Quit: nicolagreco_]
nicolagreco_ has joined #ipfs
zootella has quit [Quit: zootella]
nicolagreco_ has quit [Client Quit]
zootella has joined #ipfs
chriscool1 has joined #ipfs
nicolagreco_ has joined #ipfs
<dignifiedquire> good morning whyrusleeping
<whyrusleeping> dignifiedquire: can i get a quick feature request on randor?
<dignifiedquire> whyrusleeping: yes but not immediately
<whyrusleeping> okay, i was just wanting the debug mode of randor to be a little less verbose when printing out file contents
Encrypt has joined #ipfs
hellertime has quit [Quit: Leaving.]
<richardlitt> xicombd: you around?
zootella has quit [Quit: zootella]
<xicombd> richardlitt: on the tube heading home, give me 5 mins :)
<richardlitt> xicombd: cool. No rush. :)
hellertime has joined #ipfs
<dignifiedquire> whyrusleeping: how exactly? what do you not want to be printed?
zootella has joined #ipfs
<whyrusleeping> dignifiedquire: it would be nice if the entire contents of the file didnt get printed
<voxelot> dignfiedquire: repo.keys should be an object containing all of the data blocks plus a get function correct?
<whyrusleeping> maybe just the first 20 characters and some elipses, or something
<dignifiedquire> whyrusleeping: try this
<whyrusleeping> [aewkjhlkfjah3ASF... (5000 bytes)]
<dignifiedquire> whyrusleeping: DEBUG=randor:*,-randor:generate IPFS_EXEC=$GOPATH/bin/ipfs bin/randor run -l 100 -p 10
<dignifiedquire> this removes the generate output
<voxelot> ohh keys is the private key
<dignifiedquire> whyrusleeping: is that enough, or do you need the short args to be still printed?
<whyrusleeping> that doesnt appear to have worked...
<dignifiedquire> what happend?
<dignifiedquire> maybe you need to add quotes
<dignifiedquire> whyrusleeping: DEBUG="randor:*,-randor:generate" IPFS_EXEC=$GOPATH/bin/ipfs bin/randor run
calavera has joined #ipfs
<voxelot> dignifiedquire: when we create the repo in our web tests, there is a step that goes through all of the blocks and loads them into an array, does this not get passed to the datastore?
nicolagreco_ has quit [Quit: nicolagreco_]
<dignifiedquire> voxelot: no idea
<voxelot> logging, repo.datastore is an empty object with the createreadStream and such functions
<dignifiedquire> xicombd: and daviddias can probably help there
<voxelot> ahh ty
<daviddias> what's up
<voxelot> i'm trying to run this test
<daviddias> voxelot: it uses indexDB underneath
<daviddias> repo.datastore offers an interface to read from indexedDB
<voxelot> but i can't get a properly loaded repo in the browser, since datastore is empty
<voxelot> i logged data store in the repo webtests, and it is also an empty object
<dignifiedquire> whyrusleeping: ?
zorglub27 has joined #ipfs
<voxelot> does it just interface? not store
<daviddias> voxelot: just interface
<daviddias> blobs are stored in indexedDB
<voxelot> which means i;m not properly loading indexdb
<voxelot> hmm
<daviddias> seems like it
<voxelot> ty
<daviddias> note how there are two db in indexdb
<voxelot> yeah that's what im going off of
<daviddias> because indexedDB uses paths as keys for the buckets
<xicombd> richardlitt: just got to the computer, what's up?
<voxelot> i see where the paths are supposed to be getting travsered and loaded into the repoData array. is there a way to console.log indexedb to be sure i'm loaded?
<daviddias> you can open chrome dev tools
<daviddias> and see it loaded there
<daviddias> on the Resources tab
<voxelot> ahh i see ty
<daviddias> do you see the IndexedDB icon there?
<daviddias> awsm :)
<dignifiedquire> also whyrusleeping important question, what kind of grinder do I need?
<voxelot> hmm i haz all the blocks, why no finds when tests :(
hellertime has quit [Quit: Leaving.]
<daviddias> voxelot: make sure that you are seeking on the right bucket
<richardlitt> xicombd: working on object patch commands
<daviddias> dignifiedquire: I got one of these http://www.thinkgeek.com/images/products/zoom/f2ff_kyocera_ceramic_coffee_grinder.jpg I bought it with whyrusleeping
<richardlitt> xicombd: got the rest of ipfs object <subcmds> specced out in new PR
<dignifiedquire> daviddias: I'm lazy, I'd rather have an electric one
<daviddias> dignifiedquire: you are missing part of the experience
<richardlitt> Would be good to get review of that; will have `ipfs object patch <subsubcmds>` PR up soon
<whyrusleeping> dignifiedquire: for espresso?
<dignifiedquire> daviddias: it will be enough work to figure out how to get nice milk froth, so I'm ok with that :P
<xicombd> richardlitt: cool! I'll have a look :)
<dignifiedquire> whyrusleeping: or is that complete overkill?
<whyrusleeping> no, i was going to recommend something along those lines
<whyrusleeping> you don't want to grind espresso by hand
<whyrusleeping> you'll never do anything else
<dignifiedquire> exactly
<whyrusleeping> everything on my 'i want that coffee grinder' list is around or over $500 :/
<dignifiedquire> Oo
<dignifiedquire> show me
<whyrusleeping> baratza preciso
<whyrusleeping> or on the expensiver side, the baratza forte
<whyrusleeping> AP
<dignifiedquire> that thing is "just " 289
<dignifiedquire> (the first one)
<whyrusleeping> lol
<dignifiedquire> okay the forte is expensive *cough*
<whyrusleeping> yeah
zootella has quit [Quit: zootella]
<whyrusleeping> yeah....
<whyrusleeping> the coffee shop i go to every other day uses their vario grinder
nicolagreco_ has joined #ipfs
<whyrusleeping> the biggest thing that a good grinder improves is the consistency of the grind
<whyrusleeping> you want all the tiny little grounds to be as close as possible to the same size
<richardlitt> whyrusleeping: I'm sorry for all of the little issues :(
<whyrusleeping> richardlitt: lol
<dignifiedquire> I see
<dignifiedquire> did the randor thing work?
<whyrusleeping> nope
<whyrusleeping> it appears to have hung
<dignifiedquire> that's odd
<whyrusleeping> and then when i tailed the output file, it exited
<richardlitt> I keep getting this issue: `curl: (56) Recv failure: Connection reset by peer`
<dignifiedquire> it works fine for me
<richardlitt> What could it mean?
<whyrusleeping> richardlitt: is the daemon running?
<richardlitt> aye
<dignifiedquire> whyrusleeping: try running it without piping the file anywhere
<richardlitt> 14:38:09.734 ERROR mdns: mdns lookup error: failed to bind to any unicast udp port mdns.go:130
<richardlitt> those errors a lot
<whyrusleeping> richardlitt: thats fine
<richardlitt> ok
<whyrusleeping> means your router doesnt like mdns
<whyrusleeping> (i need to drop that to warning sometime)
<richardlitt> dignifiedquire and xicombd: this one https://github.com/ipfs/http-api-spec/pull/67
hellertime has joined #ipfs
<richardlitt> I feel bad for the friend of the friend of my cousin whose password and account I use without him knowing to access internet in this cafe
<richardlitt> Also, `patrick`, you really shouldn't use a five character name of what I assume is your wife as your password
<xicombd> ricardlitt: btw, why do you put curls inside the body sections for apiary? like in https://github.com/ipfs/http-api-spec/pull/67/files#diff-2625016b50d68d922257f74801cac29cR3773
<xicombd> *richardlitt
<dignifiedquire> whyrusleeping: so I can get this one "QuickMill Orione 3000" and "Rancilio Silvia" for nearly the same price together with the above mentioned grinder any thoughts which one?
<whyrusleeping> dignifiedquire: i get no output from randor when i do that
<dignifiedquire> whyrusleeping: that makes no sense, can you show me your terminal, also what shell are you using?
<richardlitt> xicombd: So that it doesn't throw a syntax error
<whyrusleeping> fish
<richardlitt> apiary format is weird.
<dignifiedquire> whyrusleeping: could you try in bash for me?
<whyrusleeping> hrm, thats better. must be something different about the '*' character being set in the env vars
pfraze has quit [Remote host closed the connection]
<xicombd> richardlitt: ahaha cool
pfraze has joined #ipfs
TheWhisper_ is now known as TheWhisper
s_kunk has quit [Ping timeout: 244 seconds]
nicolagreco_ has quit [Quit: nicolagreco_]
<ipfsbot> [go-ipfs] RichardLitt created feature/object-patch-set-data-docs (+1 new commit): https://git.io/vaETI
<ipfsbot> go-ipfs/feature/object-patch-set-data-docs ba4c7e9 Richard Littauer: Edited object patch set-data doc...
<ipfsbot> [go-ipfs] RichardLitt opened pull request #2475: Edited object patch set-data doc (master...feature/object-patch-set-data-docs) https://git.io/vaETm
maxlath has joined #ipfs
zootella has joined #ipfs
zootella has left #ipfs [#ipfs]
<richardlitt> :D
zorglub27 has quit [Ping timeout: 240 seconds]
maxlath is now known as zorglub27
<xicombd> \o/
<richardlitt> Sorry about the delay
<yangwao> is 0.4 ready yet? :P
<whyrusleeping> yangwao: idk, ask richardlitt ;)
<richardlitt> -.-
<richardlitt> No.
<yangwao> :P
<yangwao> subscribed
<richardlitt> Ask juan. I'm just a scribe. See bullet point 4: https://github.com/ipfs/go-ipfs/issues/2334#issuecomment-195046511
<yangwao> hmm where was issue with changelog?
patcon has joined #ipfs
nicolagreco_ has joined #ipfs
<richardlitt> bbl. walking home.
<yangwao> oh got it
<yangwao> yeah thanks!
martinkl_ has joined #ipfs
nicolagreco_ has quit [Quit: nicolagreco_]
micxjo has quit [Quit: Connection closed for inactivity]
nicolagreco_ has joined #ipfs
mid has quit [Ping timeout: 248 seconds]
M-2617 has quit [Quit: node-irc says goodbye]
patcon has quit [Ping timeout: 244 seconds]
palkeo has joined #ipfs
edrex_ is now known as edrex
ulrichard has joined #ipfs
jokoon has quit [Quit: Leaving]
Encrypt has quit [Quit: Quitte]
rendar has quit [Ping timeout: 252 seconds]
inconshreveable has joined #ipfs
rendar has joined #ipfs
martinkl_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Protocol_under has quit [Quit: Teleported with a cheezecake]
<whyrusleeping> apparently, if i fill up all my ram by file bombing my /tmp directory, it makes vim print out the file i'm trying to save instead of actually saving it
<whyrusleeping> weirdest bug ever
<whyrusleeping> also, on that note: dignifiedquire, could i get a flag to make randor use a custom path for its 'temp' ?
hellertime has quit [Quit: Leaving.]
zootella has joined #ipfs
zootella has left #ipfs [#ipfs]
<whyrusleeping> lol
<dignifiedquire> whyrusleeping: do you need a different path or a different name as well?
<whyrusleeping> dignifiedquire: i just want to be able to tell it to put its test repo on my disk somewhere
<whyrusleeping> the last randor test i ran filled up my 32GB of memory
<dignifiedquire> hmm so you mean the repo path for the ipfs instance it spawns?
warner has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
<whyrusleeping> dignifiedquire: sweet, thanks :)
<dignifiedquire> also how did you get it to fill up 32gb Oo
<dignifiedquire> that must have been running for some time
<whyrusleeping> yeah, all morning
<dignifiedquire> nice, any errors in that?
<whyrusleeping> doesnt appear so
<dignifiedquire> cool
<voxelot> daviddias: ping
martinkl_ has joined #ipfs
monostele has joined #ipfs
<ipfsbot> [go-ipfs] whyrusleeping deleted feat/update-libp2p at 20f7590: https://git.io/vaE0Z
mildred has quit [Ping timeout: 276 seconds]
disgusting_wall has joined #ipfs
martinkl_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nicolagreco_ has quit [Quit: nicolagreco_]
Guanin_ has joined #ipfs
<ipfsbot> [go-ipfs] Stebalien opened pull request #2477: Pin command fixes (master...pin-fixes) https://git.io/vaEz5
<redfish> any resources/thoughts about feasibility of an indexed database on top of IPFS, presumably, a B-tree? Difficulty is in insert/delete. Thx.
<redfish> in many respects IPFS is just like an HD -- for efficiency, gotta minimize the lookups (analogously to reads), so same solutions should be applicable
<M-mubot> in many respects ipfs is just like an hd has -1 points, -1 of which is for efficiency, gotta minimize the lookups (analogously to reads), so same solutions should be applicable.
<whyrusleeping> M-mubot: i'm going to kick you
<whyrusleeping> redfish: a few different people have looked into implementing databases on top of ipfs
<redfish> would love to read about it
<whyrusleeping> i think the most recent effort i've seen is https://github.com/haadcode/orbit-db
Senji has quit [Ping timeout: 244 seconds]
<whyrusleeping> some notes here: https://github.com/ipfs/faq/issues/51
martinkl_ has joined #ipfs
cemerick has quit [Ping timeout: 240 seconds]
zorglub27 has quit [Ping timeout: 268 seconds]
<ipfsbot> [go-ipfs] whyrusleeping pushed 2 new commits to master: https://git.io/vaEVc
<ipfsbot> go-ipfs/master c0ec802 dignifiedquire: feat: Update the webui to work with the latest changes in 0.4...
<ipfsbot> go-ipfs/master 24d88da Jeromy Johnson: Merge pull request #2463 from dignifiedquire/webui-04...
tlevine has joined #ipfs
domanic has joined #ipfs
devbug has joined #ipfs
martinkl_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Arakela007 has quit [Remote host closed the connection]
<ipfsbot> [go-ipfs] whyrusleeping pushed 1 new commit to v0.4.0-changelog: https://git.io/vaEKw
<ipfsbot> go-ipfs/v0.4.0-changelog 592c391 Jeromy: update changelog...
<ipfsbot> [go-ipfs] whyrusleeping tagged v0.4.0-rc3 at master: https://git.io/vaEKP
<redfish> whyrusleeping: thx. fascinating. so, CRDT is approaching the problem from a totally different perspective. IIUC, a bunch of nodes form a pubsub group, they are replicas, they maintain a DB.
<redfish> the other perspective is simpler -- IPFS = storage layer for an *unreplicated* DB, so no consistency problem. Anybody can "mutate" the db, just like anybody can commit on top of a git root.
<redfish> perhaps, the question I should have asked is: what are efficient methods for searching across merkel trees?
<redfish> s/merkel trees/merkel tree/
pfraze has quit [Remote host closed the connection]
<redfish> general content search, that is, not lookup of hash, of course
<whyrusleeping> redfish: well, just treat the merkletree like you would a B-tree
ugjka has quit [Ping timeout: 240 seconds]
<redfish> yeah, it's a game of indexing
<redfish> index is entangled with data in a B-tree (my feeling), but with IPFS, it needs to be a super-clean isolated companion
_rht has quit [Quit: Connection closed for inactivity]
<whyrusleeping> yeah, you will very likely want the index separate from the data itself
<redfish> yep. ok, thanks a lot for the thinking material, i'm glad I asked (else stuck in own box of thoughts)
<whyrusleeping> which frees you up to make some interesting design choices on making a B-Tree like datastructure *just* for indexes
<whyrusleeping> (and possibly other metadata)
martinkl_ has joined #ipfs
martinkl_ has quit [Max SendQ exceeded]
<redfish> say we restrict the problem scope: e.g. append-only DB with an append-only index, more doable and still very useful
<redfish> philosophical.. when does an index become data, index of index of ... index of data...
martinkl_ has joined #ipfs
ashark has quit [Ping timeout: 244 seconds]
<whyrusleeping> lol
<whyrusleeping> redfish: if you come up with an append-only DB implementation, i'd love to see it
<achin> months ago someone in here linked to a handy webpage that had a nice graphical layout of your current time, and what that would be locally for every other timezone. does anyone happen to know what i'm talking about and have that URL handy?
<redfish> correction: db traversal wouldn't have much to do with merkel tree traversal, the DB would be its own tree, just linking hahes together, without the Merkle property (obviously...)
<redfish> yeah, i'll come back if any concrete ideas crystalize
slothbag has joined #ipfs
<dignifiedquire> jbenet: https://github.com/dignifiedquire/rust-ipld/blob/master/src/lib.rs#L65 a rough idea of how unixfs files + a mapping to ipld could look like (yes this actually compiles :) )
<ogd> if anyone wants to go to berlin in may, come to csv conf! http://csvconf.com/ there will be a talk on IPDB
nicolagreco_ has joined #ipfs
pfraze has joined #ipfs
nicolagreco_ has quit [Client Quit]
Guest80236 has joined #ipfs
Guest80236 is now known as amiller
Encrypt has joined #ipfs
zootella has joined #ipfs
zootella has left #ipfs [#ipfs]
domanic has quit [Read error: Connection reset by peer]
chriscool1 has quit [Quit: Leaving.]
MahaDev has quit [Remote host closed the connection]
nuun is now known as thetruthaboutlif
thetruthaboutlif is now known as evening
dPow has quit [Remote host closed the connection]
dPow has joined #ipfs
rendar has quit [Quit: std::lower_bound + std::less_equal *works* with a vector without duplicates!]
O47m341 has quit [Ping timeout: 252 seconds]
domanic has joined #ipfs
DFM20 has quit [Ping timeout: 240 seconds]
martinkl_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
O47m341 has joined #ipfs
<daviddias> voxelot: pong:)
<jbenet> whyrusleeping teamcity looks good. curious about all the "ignored tests"
<voxelot> daviddias: okay so one last thing about web tests
<voxelot> i'm trying to get this line running in the browser https://github.com/nginnever/js-ipfs-data-importing/blob/master/tests/test-import.js#L84
<daviddias> you need to change it to be one of those require buffers from WebPack
<voxelot> if i try to require('...txt.data') it doesn't pick up the other blocks in the data-store
<daviddias> or use a browserify transform such as brfs
<voxelot> right
<voxelot> so take 1.2MiB.txt.. it is like 6 blocks, how should i require all of them
<daviddias> that specific line is just requiring one of the blocks
<daviddias> so ~(256Kb + protobuf stuff)
<daviddias> even if you were loading into memory 1.2MiB, it would be ok
<voxelot> somehow, dagnode.size() equals the entire dag, not just one node
<voxelot> loading 1.2MiB into mem wont pick up each chunks proto and is too smal
<daviddias> dagnode.size() will equal to the entire dag
<daviddias> cause it sums the sizes of the nodes it points too
<daviddias> that is the correct behavior
<voxelot> right, so to test against the blocks, i need to load all of the nodes
<voxelot> and test against the created node.size() from our data-importer, just not sure how to load all of the blocks
<daviddias> The way that the tests are written is:
<daviddias> 1) files get loaded and added to IPFS using the importers, which create the respective unixfs nodes (dir and file nodes)
<daviddias> 2) the root node from that import (and some of the leaves) is compared to matching node that go-ipfs generated (those .block on the test-data folder)
<daviddias> does this helps to make sense out of it?
<voxelot> no haha, i understand that part
<voxelot> i just dont understand how readFileSynce on one block, then unmarshal that buf leads to the entire dag
<daviddias> because it doesn't :)
<voxelot> does unmarshal read the links then pik up the other blocks too
<voxelot> then how is the size equal to the entire dag?
<daviddias> the math is that if you compare the root node, and check its size, it's data field and the links it is pointing too
<daviddias> you are pretty damn sure that the thing is the same underneath
<daviddias> you can check if the tree is the same, if the root hash is the same
<daviddias> this was actually the first use case for MerkleTrees:)
<daviddias> what happens after is that I pick one of the leafs and compare it as well, but that is there because when I was building it, I caught some bugs and started testing the creation of every leaf to make sure they were right too
<daviddias> I can jump into a call and talk this through, it might help :) are you available ?
<voxelot> yeah that would be great, Uncaught AssertionError: expected 1258318 to equal 251
<daviddias> voxelot: that might be because of the encoding
<daviddias> of how the files are being buffered into memory
<voxelot> 1258318 is the node.size() from our bufferImporter which is the correct size
dPow has quit [Remote host closed the connection]
dPow has joined #ipfs
<whyrusleeping> jbenet: the 'ignored' tests are things that we call skip on for one reason or another
<whyrusleeping> either in the go tests or the sharness tests
<whyrusleeping> we've never really had good insight into that before, so this is really nice to have
Encrypt has quit [Quit: Quitte]
inconshreveable has quit [Read error: Connection reset by peer]
pfraze has quit [Remote host closed the connection]
palkeo has quit [Quit: Konversation terminated!]