calavera has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<whyrusleeping>
huh, the storage limit config setting apparently works
<whyrusleeping>
TIL
domanic has quit [Read error: Connection reset by peer]
ggoZ has quit [Ping timeout: 260 seconds]
jaboja has joined #ipfs
sahib has quit [Ping timeout: 264 seconds]
hellertime has joined #ipfs
computerfreak has quit [Remote host closed the connection]
pfraze has joined #ipfs
inconshreveable has joined #ipfs
IlanGodik has quit [Quit: Connection closed for inactivity]
domanic has joined #ipfs
reit has joined #ipfs
danielrf has quit [Quit: WeeChat 1.4]
Aeonwaves is now known as Aeon
dignifiedquire has quit [Quit: Connection closed for inactivity]
<redfish>
re database: oh, here's a simple approach: just use a hash-based index: it amounts to creating aliases for data values stored in the "DB", so that they are reachable not only by content hash but also by hash of arbitrary metadata.
<redfish>
could compress into a hash-table to save space, but even that is unnecessary if data items are much larger than the metadata
ygrek has quit [Ping timeout: 248 seconds]
<slothbag>
doing a gx install on the latest ipfs takes a long time... are all the deps hosted somewhere?
devbug has quit [Ping timeout: 260 seconds]
domanic has quit [Ping timeout: 260 seconds]
jaboja has quit [Remote host closed the connection]
Akaibu has joined #ipfs
tidux has joined #ipfs
<tidux>
so any word on when gx and missinggo are going to be fixed for illumos?
<tidux>
build is still failing
uhhyeahbret has quit [Quit: WeeChat 1.4]
<whyrusleeping>
slothbag: investigating
calavera has joined #ipfs
Protocol_under has joined #ipfs
domanic has joined #ipfs
reit has quit [Read error: Connection reset by peer]
wiedi has quit [Read error: Connection reset by peer]
micxjo has joined #ipfs
M-Nickfost has quit [Quit: node-irc says goodbye]
wiedi has joined #ipfs
calavera has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hellertime has quit [Quit: Leaving.]
danielrf has joined #ipfs
calavera has joined #ipfs
calavera has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ulrichard has quit [Ping timeout: 276 seconds]
Tv` has quit [Quit: Connection closed for inactivity]
domanic has quit [Ping timeout: 268 seconds]
Guanin_ has left #ipfs [#ipfs]
Guanin_ has joined #ipfs
diffalot_ has quit [Remote host closed the connection]
diffalot has joined #ipfs
mburns has quit [Ping timeout: 264 seconds]
zjohnson_ has quit [Ping timeout: 276 seconds]
zjohnson has joined #ipfs
mburns has joined #ipfs
MahaDev has joined #ipfs
gunn has joined #ipfs
<ipfsbot>
[go-ipfs] whyrusleeping force-pushed feat/promise-fail from 46152f2 to 4d0a37a: https://git.io/vgrhH
<ipfsbot>
go-ipfs/feat/promise-fail 8404899 Jeromy: allow promises to fail...
<ipfsbot>
go-ipfs/feat/promise-fail a8e99e2 Jeromy: don't fail promises that already succeeded...
<ipfsbot>
go-ipfs/feat/promise-fail 4d0a37a Jeromy: add a test for this...
warner has joined #ipfs
<ipfsbot>
[js-ipfs-api] dignifiedquire created greenkeeper-gulp-bump-2.0.0 (+1 new commit): https://git.io/vaubg
<ipfsbot>
js-ipfs-api/greenkeeper-gulp-bump-2.0.0 facd9ee greenkeeperio-bot: chore(package): update gulp-bump to version 2.0.0...
micxjo has quit [Quit: Connection closed for inactivity]
ecloud has joined #ipfs
Senji has joined #ipfs
Guanin_ has left #ipfs [#ipfs]
Arakela007 has joined #ipfs
voxelot has quit [Ping timeout: 250 seconds]
Akaibu has quit [Quit: Connection closed for inactivity]
ulrichard has joined #ipfs
ulrichard has quit [Read error: Connection reset by peer]
ulrichard has joined #ipfs
ulrichard has quit [Read error: Connection reset by peer]
pfraze has quit [Remote host closed the connection]
ulrichard has quit [Read error: Connection reset by peer]
Kane` has joined #ipfs
zootella has joined #ipfs
zootella has quit [Client Quit]
jokoon has joined #ipfs
jaboja64 has quit [Ping timeout: 252 seconds]
herzmeister has quit [Quit: Leaving]
ralphtheninja has quit [Quit: Lost terminal]
jaboja has joined #ipfs
ralphtheninja has joined #ipfs
Guanin_ has joined #ipfs
jaboja has quit [Ping timeout: 250 seconds]
s_kunk has quit [Ping timeout: 276 seconds]
zootella has joined #ipfs
copernicusMogley has joined #ipfs
zootella has left #ipfs [#ipfs]
kerozene has quit [Ping timeout: 240 seconds]
s_kunk has joined #ipfs
Guanin_ has left #ipfs [#ipfs]
kerozene has joined #ipfs
Kane` has quit [Ping timeout: 248 seconds]
micxjo has joined #ipfs
tmg has joined #ipfs
<tmg>
Evening IPFS
O47m341 has quit [Ping timeout: 246 seconds]
<ansuz>
good morning
jaboja has joined #ipfs
zootella has joined #ipfs
zootella has left #ipfs [#ipfs]
sahib has joined #ipfs
Guanin_ has joined #ipfs
ggoZ has joined #ipfs
hellertime has joined #ipfs
M-pieohpah has quit [Quit: node-irc says goodbye]
O47m341 has joined #ipfs
Akaibu has joined #ipfs
martinkl_ has quit [Read error: Connection reset by peer]
martinkl_ has joined #ipfs
martinkl_ has quit [Max SendQ exceeded]
martinkl_ has joined #ipfs
<daviddias>
howdy y'all :)
inconshreveable has quit [Remote host closed the connection]
Guanin_ has left #ipfs [#ipfs]
Guanin_ has joined #ipfs
<ipfsbot>
[js-ipfs] diasdavid pushed 1 new commit to feature/swarm: https://git.io/vazML
<ipfsbot>
js-ipfs/feature/swarm 8678bef David Dias: add loadPeerInfo and change how `id` works underneath
<ipfsbot>
[js-ipfs] diasdavid force-pushed feature/swarm from 8678bef to f2acc29: https://git.io/v24B2
<ipfsbot>
js-ipfs/feature/swarm f2acc29 David Dias: add loadPeerInfo and change how `id` works underneath
ulrichard has joined #ipfs
ulrichard has quit [Read error: Connection reset by peer]
Protocol_under has quit [Remote host closed the connection]
Protocol_under has joined #ipfs
martinkl_ has quit [Ping timeout: 268 seconds]
monostele has quit [Ping timeout: 268 seconds]
martinkl_ has joined #ipfs
zootella has joined #ipfs
zootella has left #ipfs [#ipfs]
slothbag has quit [Quit: Leaving.]
martinkl_ has quit [Max SendQ exceeded]
martinkl_ has joined #ipfs
ulrichard has joined #ipfs
ulrichard has quit [Read error: Connection reset by peer]
cemerick has joined #ipfs
draget_ has quit [Quit: quit]
spm_draget has joined #ipfs
brixen_ has quit [Ping timeout: 260 seconds]
copernicusMogley has quit [Ping timeout: 240 seconds]
Bat`O has quit [Ping timeout: 260 seconds]
chrisdickinson has quit [Ping timeout: 260 seconds]
chrisdickinson has joined #ipfs
Bat`O has joined #ipfs
brixen has joined #ipfs
ulrichard has joined #ipfs
ulrichard has quit [Read error: Connection reset by peer]
tmg has quit [Ping timeout: 252 seconds]
tmg has joined #ipfs
ulrichard has joined #ipfs
ulrichard has quit [Read error: Connection reset by peer]
flapjack0811 has joined #ipfs
O47m341 has quit [Ping timeout: 276 seconds]
computerfreak has joined #ipfs
mildred has quit [Ping timeout: 244 seconds]
ulrichard has joined #ipfs
ulrichard has quit [Read error: Connection reset by peer]
mildred has joined #ipfs
TheWhisper has quit [Read error: Connection reset by peer]
TheWhisper has joined #ipfs
<richardlitt>
dignifiedquire: any plan to enable preview for PDFs?
<richardlitt>
I might actually be able to help there.
O47m341 has joined #ipfs
zootella has joined #ipfs
<dignifiedquire>
richardlitt: I was thinking of using an iframe as I don't want to ship pdf.js
tmg has quit [Ping timeout: 248 seconds]
ashark has joined #ipfs
ulrichard has joined #ipfs
ulrichard has quit [Read error: Connection reset by peer]
<richardlitt>
mmm k.
tmg has joined #ipfs
<dignifiedquire>
richardlitt: why, what was your idea?
copernicusMogley has joined #ipfs
<richardlitt>
Shipping pdf.js :D
ulrichard has joined #ipfs
<dignifiedquire>
:D
<dignifiedquire>
richardlitt: will take a look
ulrichard has quit [Read error: Connection reset by peer]
Guanin_ has left #ipfs [#ipfs]
<ipfsbot>
[js-ipfs] diasdavid pushed 1 new commit to feature/swarm: https://git.io/vagma
<ipfsbot>
js-ipfs/feature/swarm fdd37b1 David Dias: lots of changes all over the place - expose a ipfs.load() function fto load its peerInfo, required to change every call to understand async
OutBackDingo has quit [Remote host closed the connection]
ulrichard has joined #ipfs
OutBackDingo has joined #ipfs
calavera has joined #ipfs
astrocyte has joined #ipfs
<ipfsbot>
[js-ipfs] diasdavid pushed 1 new commit to master: https://git.io/vagO7
<ipfsbot>
js-ipfs/master 725abf4 David Dias: Merge pull request #73 from ipfs/feature/swarm...
ulrichard has quit [Read error: Connection reset by peer]
martinkl_ has quit [Read error: Connection reset by peer]
martinkl_ has joined #ipfs
konubinix has quit [Ping timeout: 244 seconds]
konubinix has joined #ipfs
astrocyte has left #ipfs ["Leaving"]
copernicusMogley has quit [Ping timeout: 246 seconds]
mildred1 has quit [Ping timeout: 244 seconds]
konubinix has quit [Ping timeout: 240 seconds]
konubinix has joined #ipfs
pfraze has quit [Remote host closed the connection]
hellertime has quit [Quit: Leaving.]
JasonWoof has joined #ipfs
deltab has quit [Ping timeout: 240 seconds]
nicolagreco_ has joined #ipfs
hellertime has joined #ipfs
deltab has joined #ipfs
pfraze has joined #ipfs
<whyrusleeping>
gooood morning everyone
ygrek has joined #ipfs
<whyrusleeping>
richardlitt: any update on the blog?
<daviddias>
whyrusleeping: someone woke up to sunshine today :D
<whyrusleeping>
daviddias: ehhhh, its party cloudy
<whyrusleeping>
but i've had two cups of coffee
<whyrusleeping>
so things are pretty bright
martinkl_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<sahib>
Is there a constant somewhere deep in ipfs which indicates which default hash function it uses? https://github.com/ipfs/go-ipfs-util/blob/master/util.go#L118 tells me it's SHA2_256, but how would I figure that out from a go program? (other than hacks like guessing it from the first two bytes of my own peer id). Or is SHA2_256 something very fixed?
kaiza has quit [Quit: o7]
<voxelot>
sahib: look into multihash, SHA2 256 is not the only hash function you can use,
<sahib>
voxelot: I know. I just wanted to know (programatically) which hash function ipfs uses by default.
<voxelot>
ohh, yes, the first part of the multihash is supposed to inform you of the hash function used
calavera has joined #ipfs
<voxelot>
or the protobuf has a name key with value of hash function
s_kunk has quit [Ping timeout: 250 seconds]
<sahib>
voxelot: Thanks, but still that wouldn't tell me which is the default one in ipfs. I know it's a bit of a esoteric question :)
<whyrusleeping>
sahib: i would imagine the default one is the one that is used by all ipfs operations
<whyrusleeping>
so taking the first two bytes off of one, ex: 'QmRmpR5SyWDzurB6Ty1y9smc2RdKi32vEFYCQS1kdqBBrp'
<sahib>
whyrusleeping: okay, so there is no constant that a go program could just read? easiest way would be then "add some dummy, look at first two bytes of hash"?
<sahib>
(or the mentioned hack of looking at the first two bytes of the own peer id)
<whyrusleeping>
well, no. ipfs uses sha256 hashes by default right now
<voxelot>
but you wouldn't want to hard code that as a constant in case you start getting multihashes with other algos
MahaDev has quit [Remote host closed the connection]
MahaDev has joined #ipfs
kaiza has joined #ipfs
<voxelot>
daviddias: i tried separating out the repo setup from the browser mocha tests just like js-ipfs-repo does it, but now buffer loader can't find the files
<voxelot>
and maybe it has something to do with requiring the test in the browser file and passing the repo to it like a function, really not sure
<voxelot>
ipfs-repo does something similar with no problem though
<daviddias>
why do you need to require the file on the test file too?
<daviddias>
(should not be a problem)
<daviddias>
nvm what I just asked
<daviddias>
you are requiring it two times
<daviddias>
:13 and :19
<voxelot>
ohh yeah that is redundant, but not the root of the problem
<voxelot>
taking out the first require yields an error on the next file 200bytes.txt
Encrypt has joined #ipfs
gigq has joined #ipfs
M-22341 has quit [Quit: node-irc says goodbye]
herzmeister has joined #ipfs
<daviddias>
so, one things is that it doesn't look like you are populating indexedDB with the repo-example your are reading into memory
<voxelot>
is that because of passing just 'ipfs' as the repo param path?
hellertime has quit [Ping timeout: 250 seconds]
<daviddias>
again, nvm. Github was folding that part for me. Too many things pulling my attention. Running the code instead of trying to figure it out by looking
<voxelot>
thanks, sorry for so many bugs when i do things, browser test love to hate me it seems
<daviddias>
no problem :) browsers being browsers™
<daviddias>
I think I'm getting a different error: "Cannot set property 'needReadable' of undefined
<daviddias>
" is this what you see?
<voxelot>
i have never seen the word needReadable in my life :D
<daviddias>
the node.js tests were running test file available on taht folder
Guanin_ has joined #ipfs
<daviddias>
ahaha I feel like we figured it out at the same time, wasn't it?
<voxelot>
nah i didnt think about the filter lol
JasonWoof has quit [Quit: leaving]
<voxelot>
was all you
<daviddias>
the click was when you said that I ran the node test first
<daviddias>
because I assumed the node tests were still good
<daviddias>
so I did npm run test:browser
<daviddias>
so you will get this other error now
<voxelot>
so any thoughts on the needReadable
<voxelot>
seems to be coming from async
<daviddias>
I don't have anything that comes to mind, I never seen it as well, do you want to try to figure it out first? Probably other people have hit that error too.
<voxelot>
yup, let me play around
<daviddias>
awesome, thank you :)
<whyrusleeping>
daviddias: i wrote you an example for libp2p
<ipfsbot>
[js-ipfs-api] greenkeeperio-bot opened pull request #231: Update gulp-bump to version 2.0.1
<voxelot>
i didn't even know you could represent a buffer with json
<dignifiedquire>
whyrusleeping: we really need some easy to find docs about all the options in the config
<dignifiedquire>
Most of the times it's just guess work
inconshreveable has joined #ipfs
ianopolous has quit [Ping timeout: 244 seconds]
<voxelot>
daviddias: okay, so now that i have our browser tests running in their own separate file, the first fixed size chunker test failes because the last chunk is not a scalar so it cant assert it to equal 256
<voxelot>
why was this not the case when it was all in one file?
<daviddias>
:|
<voxelot>
right...
<whyrusleeping>
dignifiedquire: yeah... i agree on that
calavera has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
zootella has quit [Quit: zootella]
<ipfsbot>
[js-ipfs] diasdavid pushed 1 new commit to feature/swarm: https://git.io/va2cb
<ipfsbot>
js-ipfs/feature/swarm dbf9c7c David Dias: libp2p start and stop
<voxelot>
daviddias: glad you made me do that either way, those tests were not running correctly in one file
<voxelot>
those assertions never should have passed
ianopolous has joined #ipfs
bielewelt has quit [Quit: Leaving.]
nicolagreco_ has quit [Quit: nicolagreco_]
rhalff has joined #ipfs
nicolagreco_ has joined #ipfs
<ipfsbot>
[go-ipfs] whyrusleeping pushed 1 new commit to feat/fd-limit-check: https://git.io/va2Cw
<ipfsbot>
go-ipfs/feat/fd-limit-check d93b05e Jeromy: don't use Max for setting Current...
<daviddias>
nice :D
computerfreak has quit [Quit: Leaving.]
<dignifiedquire>
whyrusleeping: also what's the reason that the versions are specified in the config? that seems to make little sense to me that you can change those to your liking (and potentially break things?)
<whyrusleeping>
dignifiedquire: i have no idea why thats there
<dignifiedquire>
lol
<dignifiedquire>
that's a good start
<noffle>
dignifiedquire: whyrusleeping: +1 -- I'm going to skip this property in js-ipfs init
NuXeD is now known as r4sp
<dignifiedquire>
whyrusleeping: maybe after 0.4 is shipped we can sit down and look how to improve the config story
<noffle>
dignifiedquire: what are the pain points you had in mind?
<dignifiedquire>
noffle: 1. no docs, 2. easy to get wrong (json by hand can easily fail) 3. things in there that don't make sense like versions
Akaibu has quit [Quit: Connection closed for inactivity]
<dignifiedquire>
no proper file extension
palkeo has joined #ipfs
<dignifiedquire>
5. priv key??
<dignifiedquire>
6. tour config? that's not a config that's just state to be stored by ipfs
<dignifiedquire>
it does not use 'use strict' even though it uses new es6 features, which enabling fixes the issue
zootella has quit [Client Quit]
<dignifiedquire>
voxelot: in addition you need to use babel-loader with babel-preset-2015 for all browser tests that use js-ipfs code as it is written using es6 features and not all browser are fully spec compliant yet
zootella has joined #ipfs
M-3526 has joined #ipfs
martinkl_ has joined #ipfs
slothbag has joined #ipfs
zorglub27 has quit [Quit: zorglub27]
Encrypt has joined #ipfs
ashark has quit [Ping timeout: 260 seconds]
pepesza has quit [Ping timeout: 244 seconds]
HastaJun has quit [Ping timeout: 276 seconds]
O47m341 has joined #ipfs
tmg has joined #ipfs
Kubuxu has joined #ipfs
fiatjaf has joined #ipfs
Magik6k has joined #ipfs
martinkl_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pepesza has joined #ipfs
Arakela007 has quit [Remote host closed the connection]
<dignifiedquire>
voxelot: found all issues, fixing nw
<whyrusleeping>
found *all* issues?
<whyrusleeping>
whoa
HastaJun has joined #ipfs
<voxelot>
dignfiedquire is a beast
<voxelot>
*dignifiedquire
<dignifiedquire>
voxelot: if it makes you happy all the bugs are in js-ipfs-repo not in your code
<voxelot>
it really looked like everything i touched turned to red tests the other day
<voxelot>
good to know
<voxelot>
but that isn't the issue with not finding the right indexedb bucket for the merkle-dag test right
computerfreak has joined #ipfs
fiatjaf has quit [Read error: No route to host]
<dignifiedquire>
voxelot: no but that isssue was in the same file ;)
<voxelot>
ohh wow
O47m341 has quit [Ping timeout: 244 seconds]
kpcyrd_ has quit [Quit: My MacBook Pro 15" Retina i7 Yosemite has gone to sleep...]
Encrypt has quit [Quit: Quitte]
micxjo has quit [Quit: Connection closed for inactivity]
<daviddias>
run the complete test suit to see how it goes :)
<dignifiedquire>
daviddias: that is the whole testsuite
<daviddias>
oh, for some reason, I was only seeing the cli ones
<dignifiedquire>
there are 8 pages
kseistrup has joined #ipfs
<dignifiedquire>
daviddias: need to just fix the setup on the build agents from whyrusleeping, because it's only working with the agent on my machine ttm
<dignifiedquire>
*atm
jaboja has joined #ipfs
<ipfsbot>
[js-ipfs] dignifiedquire pushed 2 new commits to teamcity: https://git.io/vaaCq
<ipfsbot>
js-ipfs/teamcity fa53fdb dignifiedquire: test
<ipfsbot>
js-ipfs/teamcity 38bcf19 dignifiedquire: test
fiatjaf has joined #ipfs
tmg has quit [Ping timeout: 248 seconds]
<ipfsbot>
[js-ipfs] dignifiedquire force-pushed teamcity from 38bcf19 to f912907: https://git.io/vaaWY