lgierth changed the topic of #ipfs to: go-ipfs 0.4.3 has been released! what's changed: https://ipfs.io/blog/19-ipfs-0-4-3-released -- IPFS - InterPlanetary File System -- https://github.com/ipfs/ipfs -- FAQ: https://git.io/voEh8 -- Channel logs: https://botbot.me/freenode/ipfs/ -- Code of Conduct: https://git.io/vVBS0 -- Sprints: https://git.io/voEAh
<whyrusleeping> oh my god travisCI is so slow
ianopolous__ has joined #ipfs
<whyrusleeping> lgierth: okay, we now have a go-multihash update ready for testing with your system :P
ralphtheninja has joined #ipfs
<dansup> ok thanks
<kevina> whyrusleeping: have some time? I would like to work through https://github.com/ipfs/go-ipfs/pull/3258
<lgierth> whyrusleeping: :)
<whyrusleeping> kevina: a little busy, but i can spare a few minutes
<lgierth> we have a few different yaks to shave right now haha
<whyrusleeping> by the time i finish shaving one yak, the others have grown more hair!
<whyrusleeping> lgierth: build me a yak shaving machine
<lgierth> i'm the yak barber
<kevina> whyrusleeping: if you are too busy it can wait, basically I would like that to go in as is (after I disallow adding multiple directories in PreRun).
<kevina> my thinking is we can clean up the add command later so find a better solution
<whyrusleeping> i dont think that is a good idea, Disallowing the adding of two directories at a time seems like such an arbitrary limitation...
ylp has quit [Ping timeout: 252 seconds]
<kevina> there is not an easy fix for that unfortunately, right now it is not really being handled correctly
kvda has joined #ipfs
<kevina> It has to do with the how commands are sent to the server
ylp has joined #ipfs
<kevina> adding directories works okay with "-w", and I will still allow that
<whyrusleeping> is there any way to tell from the resultant structure of the mfs root what the input was?
<whyrusleeping> like, for adding two directories recursively, does the final mfs root have two top level entries?
Oatmeal has joined #ipfs
<kevina> It might. But I can't be sure.
<kevina> Something like this might not work: ipfs add -r dir1/ dir2/subdirA dir2/subdirB.
gmcquillan__ has quit [Ping timeout: 265 seconds]
<kevina> If that works, than this likely won't: ipfs add dir1/subdirA dir2/subdirA as it will likely try to add two entries to the MFS root named subdirA.
<kevina> Even though they are not the same directory.
<whyrusleeping> ah, fair point
<lgierth> subdirA~1 subdirA~2
<lgierth> fat16 ftw
<whyrusleeping> kevina: go ahead and disallow that for now, but also file an issue describing the problem
<whyrusleeping> so we can make sure to fix it soon
<kevina> Will do! Thanks.
<whyrusleeping> the rest of this year will be paying off technical debt
ylp has quit [Ping timeout: 252 seconds]
JesseW has joined #ipfs
Kane` has quit [Remote host closed the connection]
Kane` has joined #ipfs
ylp has joined #ipfs
dignifiedquire has quit [Quit: Connection closed for inactivity]
<kevina> whyrusleeping: actually, I can't really even check this in the PreRun...
<whyrusleeping> oh?
<whyrusleeping> whys that?
<kevina> because we can only iterate through a directory once....
<kevina> I could add a NumFiles() method?
<whyrusleeping> that would be difficult too
<whyrusleeping> it would require running stat for each of the 'Directory' files
<whyrusleeping> but it might work...
<kevina> It should be safe to assume it is a SliceFile() and just add it to that method
<whyrusleeping> maybe just add it to sliceFile
<kevina> sorry just add NumFiles() method to SliceFile
<whyrusleeping> and then do a type assertion
<kevina> yep. It would be safe to assume that for now.
cemerick has joined #ipfs
<kevina> okay, will add NumFiles() to slice file and do a type assertion.
<kevina> If it failes should I error out, or just ignore it and skip the check?
<kevina> the type asseration that is
<whyrusleeping> uhm... i'd error out
<whyrusleeping> and see what happens
<kevina> okay.
<lgierth> updated the PR
<A124> So... even when adding single directory, use -w? Or what is the user outcome?
<A124> Got confused.
<whyrusleeping> A124: no, the only thing that changes is that we're going to temporarily disallow adding multiple directories with one invocation
<A124> Great. Fyi, tried to mirror the ipfs.io, some stuff is unresolvable.
Muis has quit [Ping timeout: 244 seconds]
nicolagreco has quit [Read error: Connection reset by peer]
bret has quit [Read error: Connection reset by peer]
<whyrusleeping> lgierth: alright, gonna try this
<whyrusleeping> do i need to set my GOPATH?
kyledrake has quit [Read error: Connection reset by peer]
xavivives has joined #ipfs
<lgierth> dest := filepath.Join(os.Getenv("GOPATH"), "src", "gx", "ipfs", h)
<lgierth> _, err = pm.GetPackageTo(h, dest)
<lgierth> only for the install step, but i suppose that ^ will work in cwd if it's not set
cketti has joined #ipfs
cketti has joined #ipfs
cketti has quit [Changing host]
se3000 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<whyrusleeping> lgierth: okay, so walk me through this, i want to update go-multihash across everything up to go-libp2p
<lgierth> i'm not actually running it in gopath myself, i have the ipfs+ipld+multiformats+libp2p+gxed org directories symlinked into gopath
<lgierth> ah. it'll go as far up as it can...
<whyrusleeping> i'm gonna start with an empty workspace though
<lgierth> if you change mrmkconfig.sh to not set up the ipfs org repos it might work
<lgierth> but you have all the repos anyhow i figure
herzmeister has quit [Quit: Leaving]
herzmeister has joined #ipfs
<lgierth> the assumption of update-tree is that we wanna have the same version of the dependencies everywhere
<lgierth> (it might ease testing lol)
wa7son has quit [Ping timeout: 265 seconds]
voldyman has quit [Ping timeout: 265 seconds]
yoshuawuyts has quit [Ping timeout: 272 seconds]
henriquev has quit [Ping timeout: 265 seconds]
mikolalysenko has quit [Ping timeout: 265 seconds]
nicolagreco has joined #ipfs
jryans has quit [Read error: Connection reset by peer]
richardlitt has quit [Ping timeout: 265 seconds]
<whyrusleeping> mrmkconfig.sh?
<whyrusleeping> i think i'm behind on something
<lgierth> i thought you had seen, sorry
edubai__ has quit [Read error: Connection reset by peer]
<whyrusleeping> ah, gotcha
<whyrusleeping> i should order some food...
<lgierth> go for it -- i'm gonna do some assets stuff and coreapi stuff
cmeik has quit [Ping timeout: 265 seconds]
<whyrusleeping> okay, i'll report back
<lgierth> bed in 1h
<whyrusleeping> lgierth: no worries, i can manage
<lgierth> :)
<whyrusleeping> hopefully
wa7son has joined #ipfs
voldyman has joined #ipfs
bret has joined #ipfs
cemerick has quit [Ping timeout: 248 seconds]
henriquev has joined #ipfs
jryans has joined #ipfs
mikolalysenko has joined #ipfs
Muis has joined #ipfs
edubai__ has joined #ipfs
<whyrusleeping> lgierth: you got myrepos into apt?
<whyrusleeping> or is that not your program
<lgierth> whyrusleeping: it's in ubuntu 16.04
<lgierth> a gx workspace tool can completely replace it
<lgierth> all we need is "run command on set of directories"
yoshuawuyts has joined #ipfs
<whyrusleeping> ah, gotcha
<lgierth> and "clone all these repos"
kulelu88 has quit [Quit: Leaving]
richardlitt has joined #ipfs
cmeik has joined #ipfs
kyledrake has joined #ipfs
<whyrusleeping> lgierth: 'gx test' is now a thing
<lgierth> i updated a couple of PRs too :)
rsync has quit [Ping timeout: 252 seconds]
<A124> Sorry to interupt again. Got two things. One, if I unpin, defeaults to recursive? and it unpins everything? And if so, if I have another directory that resolves to those files, does it preserve?
<A124> Two, B/W limiting. Some people cannot afford unlimited nodes, but can preserve content that would else die.
xavivives has quit [Read error: Connection reset by peer]
rsync has joined #ipfs
<ploop> when ipfs devs get stuck on a topological problem, do they say "DAG nabbit"?
rsync has quit [Ping timeout: 264 seconds]
JesseW has quit [Ping timeout: 264 seconds]
rgrinberg has quit [Ping timeout: 264 seconds]
Aeon has quit [Read error: Connection reset by peer]
se3000 has joined #ipfs
<whyrusleeping> ploop: i am so disappointed that i never thought of that
rgrinberg has joined #ipfs
gmcquillan__ has joined #ipfs
gmcquillan__ has quit [Client Quit]
gmcquillan__ has joined #ipfs
rsync has joined #ipfs
anewuser_ has joined #ipfs
anewuser has quit [Ping timeout: 248 seconds]
ygrek_ has quit [Ping timeout: 248 seconds]
gmcquillan__ has quit [Quit: gmcquillan__]
bonesso has quit [Quit: Leaving]
herzmeister has quit [Quit: Leaving]
herzmeister has joined #ipfs
PrinceOfPeeves has quit [Quit: Leaving]
Qwertie- has quit [Ping timeout: 272 seconds]
wallacoloo has joined #ipfs
JesseW has joined #ipfs
mgue has quit [Quit: WeeChat 1.5]
gmcquillan__ has joined #ipfs
Qwertie has joined #ipfs
anewuser_ has quit [Quit: anewuser_]
dmr has joined #ipfs
bsm117532 is now known as Guest26311
mgue has joined #ipfs
se3000 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
vmatekol_ has joined #ipfs
voldyman has quit [Quit: Connection closed for inactivity]
vmatekole has quit [Ping timeout: 264 seconds]
ylp has quit [Ping timeout: 252 seconds]
ylp has joined #ipfs
Aeon has joined #ipfs
rsync1 has joined #ipfs
rsync has quit [Ping timeout: 244 seconds]
gmcquillan__ has quit [Quit: gmcquillan__]
gmcquillan__ has joined #ipfs
jooni has joined #ipfs
<ploop> does having lots of things pinned (but without anyone downloading them) increase the amount of RAM/CPU IPFS uses?
gmcquillan__ has quit [Quit: gmcquillan__]
<JosiahHaswell[m]> @ploop I haven't noticed that it does
Foxcool has joined #ipfs
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Akaibu has quit [Ping timeout: 265 seconds]
Tv` has quit [Ping timeout: 265 seconds]
ulrichard has joined #ipfs
Tv` has joined #ipfs
kvda has joined #ipfs
Akaibu has joined #ipfs
kvda has quit [Client Quit]
corvinux has joined #ipfs
herzmeister has quit [Ping timeout: 252 seconds]
captain_morgan has quit [Ping timeout: 265 seconds]
Tv` has quit [Quit: Connection closed for inactivity]
ylp has quit [Ping timeout: 252 seconds]
JesseW has quit [Ping timeout: 248 seconds]
ylp has joined #ipfs
herzmeister has joined #ipfs
gmcquillan__ has joined #ipfs
dignifiedquire has joined #ipfs
konubinix has quit [Quit: ZNC - http://znc.in]
konubinix has joined #ipfs
gmcquillan__ has quit [Quit: gmcquillan__]
rgrinberg has quit [Ping timeout: 272 seconds]
voldyman has joined #ipfs
mildred has joined #ipfs
<Kubuxu> ploop: it might use a bit more CPU time but it should be almost unnoticeable
<Kubuxu> we periodically republish provider records for hashes you have locally
<Kubuxu> more hashes locally = more provider records to republish
<ploop> what if it was a ridiculous scale, like 3M images totaling 5TiB
<Kubuxu> Hmm, ~20M blocks, IDK.
neer_ has quit [Remote host closed the connection]
neersighted has joined #ipfs
pinkieval has quit [Read error: Connection reset by peer]
<dignifiedquire> good morning
ylp1 has joined #ipfs
trn has joined #ipfs
pinkieval has joined #ipfs
<ion> good ****ing
<Kubuxu> I usually write good whatever.
<cjd> good ****ing
<cjd> I like it
ecloud has quit [Ping timeout: 272 seconds]
trn has quit [K-Lined]
wuch has joined #ipfs
rsync1 has quit [Quit: Leaving]
ecloud has joined #ipfs
wallacoloo has quit [Quit: wallacoloo]
G-Ray has joined #ipfs
s_kunk has quit [Ping timeout: 272 seconds]
<ploop> cjd: are you the cjdns cjd?
Aeon is now known as Aeonwaves
ianopolous__ has quit [Remote host closed the connection]
zorglub27 has joined #ipfs
ianopolous__ has joined #ipfs
s_kunk has joined #ipfs
mgue has quit [Read error: Connection reset by peer]
mgue has joined #ipfs
ylp has quit [Ping timeout: 252 seconds]
ylp has joined #ipfs
cemerick has joined #ipfs
espadrine has joined #ipfs
<Kubuxu> ploop: yes he is
ianopolous__ has quit [Ping timeout: 265 seconds]
slothbag has joined #ipfs
ylp has quit [Ping timeout: 252 seconds]
ylp has joined #ipfs
herzmeister has quit [Quit: Leaving]
herzmeister has joined #ipfs
mrBen2k2k2k has joined #ipfs
mrBen2k2k2k has quit [Remote host closed the connection]
lkcl has joined #ipfs
mrBen2k2k2k has joined #ipfs
mrBen2k2k2k has quit [Read error: Connection reset by peer]
bonesso has joined #ipfs
ecloud has quit [Ping timeout: 272 seconds]
ecloud has joined #ipfs
marksei has joined #ipfs
bonesso has quit [Quit: Leaving]
rgrinberg has joined #ipfs
rgrinberg has quit [Client Quit]
rgrinberg has joined #ipfs
lkcl has quit [Ping timeout: 252 seconds]
neersighted has quit [Remote host closed the connection]
neersighted has joined #ipfs
ylp has quit [Ping timeout: 252 seconds]
ylp has joined #ipfs
dz[m] has quit [Quit: node-irc says goodbye]
slothbag has quit [Quit: Leaving.]
Mateon1 has quit [Ping timeout: 264 seconds]
wuch has quit [Quit: WeeChat 1.5]
ulrichard_ has joined #ipfs
ulrichard_ has quit [Read error: Connection reset by peer]
taaem has quit [Remote host closed the connection]
taaem has joined #ipfs
PrinceOfPeeves has joined #ipfs
mildred has quit [Remote host closed the connection]
mildred has joined #ipfs
OutBackDingo has joined #ipfs
kenshyx has joined #ipfs
cemerick has quit [Ping timeout: 244 seconds]
zielmicha[m] has quit [Quit: node-irc says goodbye]
<vmatekol_> Anyone on this channel speak to this question = http://stackoverflow.com/questions/39874496/ipfs-ipld-and-json-ld
corvinux has quit [Ping timeout: 265 seconds]
erikj_ has quit [Quit: kfonx]
erikj has joined #ipfs
erikj has joined #ipfs
erikj has quit [Changing host]
casework has quit [Ping timeout: 252 seconds]
<damongant> vmatekol_ absolutely consider minimizing metadata exposure
<damongant> this looks like you want to store it in a blockchain
<damongant> sure, you can make a makeshift chain with IPFS, but why?
anonymuse has joined #ipfs
<vmatekol_> damongant: only state changes made every 60mins are stored on-chain, essentially the current head of the chain.
<vmatekol_> damongant: storing all state changes on-chain would be expensive
rgrinberg1 has joined #ipfs
pawnbrokering has joined #ipfs
rgrinberg has quit [Ping timeout: 244 seconds]
<vmatekol_> damongant: can you elaborate more on minimizing metadata exposure?
<damongant> vmatekol_ just be aware you're putting this up on a public network, and it'll be hard to get this data out
<vmatekol_> damongant: you mean from a privacy perspective or data format? If the latter that is why we are not storing information that can change. We only store a hash of the postal address just to prove that was the address of the member at that time of registration. Any subsequent changes are stored in a private datastore.
<vmatekol_> damongant: and as for privacy we are only storing anonymised data.
<damongant> just be aware of correlation attacks, if two addresses have the same hash, if they sign up in the same timezone, and so on
<damongant> you should definitely not store raw hashes, but hmac(hash+salt)
<damongant> "anonymized data" is hard
<vmatekol_> damongant: Perfect advice. Thank you for that.
marksei has quit [Quit: Leaving]
kus_ubuntui686 has joined #ipfs
apiarian has quit [Quit: zap.]
<richardlitt> !pinbot QmRrKpSdQWHw5ov6qt1vZVqfoDeiyRkCKE5sohspxT8Fbi poster
<pinbot> now pinning /ipfs/QmRrKpSdQWHw5ov6qt1vZVqfoDeiyRkCKE5sohspxT8Fbi
<richardlitt> !pinbot QmXb5wDtydYFpjgcZBibmi39F5W9cPUvSNrdPn2Tf3LQg3 poster
<pinbot> now pinning /ipfs/QmXb5wDtydYFpjgcZBibmi39F5W9cPUvSNrdPn2Tf3LQg3
apiarian has joined #ipfs
ylp has quit [Ping timeout: 252 seconds]
ylp has joined #ipfs
JesseW has joined #ipfs
ashark has joined #ipfs
M-mistake has quit [Quit: node-irc says goodbye]
kenshyx has quit [Quit: Leaving]
<haad> !pin QmRrpM7BP9CHrnzN42yfnmJCMtuWYmk5T5Q5GaGwpB7eE9 Orbit-dist
<pinbot> now pinning /ipfs/QmRrpM7BP9CHrnzN42yfnmJCMtuWYmk5T5Q5GaGwpB7eE9
mildred has quit [Ping timeout: 248 seconds]
akofink has quit [Ping timeout: 248 seconds]
true_droid_ has joined #ipfs
true_droid_ is now known as true_droid
iovoid is now known as [io]
[io] is now known as iovoid
jedahan has joined #ipfs
jedahan_ has joined #ipfs
<vmatekol_> Hi! does IPFS store the time objects were created as part of its metadata?
jedahan_ has quit [Remote host closed the connection]
jedahan_ has joined #ipfs
jedahan has quit [Ping timeout: 252 seconds]
akofink has joined #ipfs
ylp1 has quit [Ping timeout: 265 seconds]
<Kubuxu> vmatekol_: no
<vmatekol_> Kubuxu: thanks
akofink has quit [*.net *.split]
kus_ubuntui686 has quit [*.net *.split]
erikj has quit [*.net *.split]
G-Ray has quit [*.net *.split]
voldyman has quit [*.net *.split]
ulrichard has quit [*.net *.split]
jooni has quit [*.net *.split]
dmr has quit [*.net *.split]
mikolalysenko has quit [*.net *.split]
jryans has quit [*.net *.split]
henriquev has quit [*.net *.split]
Kane` has quit [*.net *.split]
Oatmeal has quit [*.net *.split]
ralphtheninja has quit [*.net *.split]
fleeky__ has quit [*.net *.split]
galois_dmz has quit [*.net *.split]
Monokles has quit [*.net *.split]
codebam has quit [*.net *.split]
tokyo_jesus has quit [*.net *.split]
bauruine has quit [*.net *.split]
damongant has quit [*.net *.split]
Anduck has quit [*.net *.split]
ulrichard has joined #ipfs
ralphtheninja has joined #ipfs
erikj has joined #ipfs
erikj has joined #ipfs
erikj has quit [Changing host]
Monokles has joined #ipfs
fleeky__ has joined #ipfs
G-Ray has joined #ipfs
kus_ubuntui686 has joined #ipfs
kus_ubuntui686 has quit [Max SendQ exceeded]
akofink has joined #ipfs
jooni has joined #ipfs
Kane` has joined #ipfs
galois_dmz has joined #ipfs
Anduck has joined #ipfs
tokyo_jesus has joined #ipfs
kus_ubuntui686 has joined #ipfs
kus_ubuntui686 has quit [Max SendQ exceeded]
bauruine has joined #ipfs
nekomune has quit [Ping timeout: 240 seconds]
codebam has joined #ipfs
mikolalysenko has joined #ipfs
ylp1 has joined #ipfs
zorglub27 has quit [Quit: zorglub27]
mrBen2k2k2k has joined #ipfs
voldyman has joined #ipfs
jryans has joined #ipfs
henriquev has joined #ipfs
matoro has quit [Ping timeout: 272 seconds]
soloojos has quit [Ping timeout: 258 seconds]
nekomune has joined #ipfs
pfrazee has joined #ipfs
<lgierth> whyrusleeping: mind if we move go-ipfs branches that don't have an open PR to an archive repo?
<lgierth> cc Kubuxu
<Kubuxu> First check which of them are already merged in, you can remove those.
<Kubuxu> but I am all for it.
soloojos has joined #ipfs
<lgierth> ++
taw00 has joined #ipfs
Oatmeal has joined #ipfs
vmatekole has joined #ipfs
<Kubuxu> I had script for that.
<lgierth> go look for it, i wasn't gonna do anything about it right now ;)
ulrichard has quit [Remote host closed the connection]
<Kubuxu> git branch --merged | grep -v '\\*\\|master\\|develop\\|release' | xargs -n 1 git branch -d
pfrazee has quit [Remote host closed the connection]
<Kubuxu> but instead of git branch -d
<Kubuxu> git push origin --delete
vmatekol_ has quit [Ping timeout: 252 seconds]
kaotisk has joined #ipfs
taw00 has quit [Client Quit]
ylp1 has quit [Quit: Leaving.]
corvinux has joined #ipfs
Tv` has joined #ipfs
<hsanjuan> richardlitt: Im trying to use the standard-readme generator and I go through the questions but it doesn't write any file at the end :S any ideas?
<richardlitt> hmmm
<richardlitt> Interesting. Have you tried using it with Yeoman?
<hsanjuan> yes, same in both cases
<richardlitt> instead of `> standard-readme`, `> yo standard-readme`
<richardlitt> Can you show me a gist of the output?
<hsanjuan> theres no output other than the questions
anonymus_ has joined #ipfs
anonymuse has quit [Read error: Connection reset by peer]
flyingzumwalt_ has joined #ipfs
<hsanjuan> richarlitt: it exits with 0 too... maybe its putting the readme somewhere i dont expect it to
corvinux has quit [Remote host closed the connection]
PseudoNoob has joined #ipfs
shizy has joined #ipfs
pfrazee has joined #ipfs
<hsanjuan> richarlitt: found the problem pull req incoming...
JesseW1 has joined #ipfs
JesseW has quit [Read error: Connection reset by peer]
<richardlitt> hsanjuan: sorry, got sidetracked by another issue
<richardlitt> thanks for finding that, sorry!
Guest26311 is now known as bsm117532
tomoaki_ has joined #ipfs
<keks> okay, after a few weeks of woking on libp2p, now a total ipfs noob question: i want to use the library functions in ipfs/go-ipfs (i.e. core, path, repo, fsrepo, ...) but get go build errors all the time because 1/2 the code base is gx'd and the other isn't. Is there a standard procedure or is it random gx-go rewrite --undo everywhere?
<lgierth> keks: yes rewrite --undo for now, we'll have all of go-ipfs properly gx'd by the end of the year
<keks> but that also means gx'ing libp2p right?
<lgierth> libp2p is gx'd
<keks> hm okay
<tomoaki_> hi, is there any ipfs as video streaming CDN experiments ?
<lgierth> note that for stuff in go-ipfs, we can't give you any interface stability guarantees
<keks> yup, i'm looking at orbit in go atm
<hsanjuan> lgierth: Ithink go-libp2p is not really gx'ed.. at package.json is there but libs are not rewritten as in go-ipfs
<hsanjuan> (as of yesterday)
<lgierth> not right now at least -- we aim to have stable interfaces when everything is gx'd. and i'm also working on go-ipfs-core-api right now
<lgierth> hsanjuan: yes the rule of thumb is: if it's a lib, don't commit gx'd imports. if it produces an executable, commit the gx'd imports
<lgierth> so that libs can also be used without gx. we don't wanna force gx on people
<keks> that was super helpful
<keks> i didn't know that
<hsanjuan> lgierth: cool thanks
<Kubuxu> also the main reason why go-ipfs is gx rewritten by default is we don't want people to build it with go get without deps being pinned by gx
<lgierth> it's gonna be so amazing when go get works with go-ipfs again
taaem has quit [Ping timeout: 265 seconds]
Oatmeal has quit [Ping timeout: 272 seconds]
<keks> lgierth: but e.g. in go-ipfs/core/core.go all the libp2p stuff is embedded using gx, even though core is more of a library
<keks> but then again it is needed by ipfs and it would fire build errors...but that is the problem
<keks> i don't think "only gx executables" is a working solution because you force gx on everybody using the ipfs API
<lgierth> core is not technically a lib right now, since it's tightly coupled with the rest of go-ipfs.git
JesseW1 has quit [Ping timeout: 252 seconds]
<keks> yes i know
<lgierth> it is definitely going to be a proper nice lib in the next few months, but not quite yet
<keks> okay
<Kubuxu> yup, in future we should have core-interface
<lgierth> i'd love to be able to just flip a switch, but it's an awful lot of work :)
<keks> i know
<Kubuxu> but go-ipfs itself will be always bound to gx
<keks> i just don't see how gx is ever supposed to work seamlessly when it is super fragile with the go import paths and you need one format all along the tree
<keks> *dep tree
<Kubuxu> We are thinking about it, you could have for example some package say: I need dep X to work, it was tested with version A of X
<Kubuxu> but allow importing package to override: I want dep X to be version B
<richardlitt> hsanjuan: merged, patched,pushed, published
tokyo_jesus has quit [Ping timeout: 265 seconds]
passstab has joined #ipfs
<passstab> when i try to run ipfs init i get
<passstab> Error: ipfs configuration file already exists!
<passstab> Reinitializing would overwrite your keys.
<passstab> oh, sorry, i get it :P
<passstab> daemon, not init
akofink has quit [Ping timeout: 252 seconds]
tomoaki_ has quit [Quit: Page closed]
<richardlitt> :)
jedahan_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
akofink has joined #ipfs
Oatmeal has joined #ipfs
akofink has left #ipfs [#ipfs]
captain_morgan has joined #ipfs
* whyrusleeping has more gx'ing to do
damongant has joined #ipfs
<richardlitt> whyrusleeping: what's the go install command for gx repos?
<richardlitt> In a lot of the new libp2p repos, the install section should still be `go get __/___`, right?
espadrine has quit [Ping timeout: 264 seconds]
G-Ray has quit [Remote host closed the connection]
<whyrusleeping> they should all correctly say make install
dmr has joined #ipfs
<JosiahHaswell[m]> There seems to be a pause during downloading every 43 MB--is that a GC pause?
<JosiahHaswell[m]> And is that adjustable?
<whyrusleeping> JosiahHaswell[m]: the pause is likely because of out of order block receiving
<JosiahHaswell[m]> Why would that pause every 43 MB?
<whyrusleeping> 43MB seems roughly like the layer width of the merkletree... let me check
<whyrusleeping> yeah, that seems about right
<JosiahHaswell[m]> Out of curiosity, why 43 MB?
captain_morgan has quit [Ping timeout: 256 seconds]
captain_morgan has joined #ipfs
gmcquillan__ has joined #ipfs
<Kubuxu> Because it is home many links to 256k blocks we are able to fit in 256k block, iirc.
<Kubuxu> whyrusleeping: maybe we should prioritise downloading blocks that will give us fanout
vmatekole has quit [Remote host closed the connection]
vmatekole has joined #ipfs
Encrypt has joined #ipfs
<JosiahHaswell[m]> That makes sense. Thanks
<JosiahHaswell[m]> What would be the impact of increasing the block size, say, to 1 MB?
<lgierth> 256K blocks nicely fit in disk blocks
<lgierth> whyrusleeping: tried out update-tree?
<whyrusleeping> lgierth: i started to, then realized it wasnt playing nicely with repo location changes
<whyrusleeping> we have tons of things that needed changing from ipfs/go-libp2p-* to libp2p/go-libp2p-*
<whyrusleeping> and jbenet/go-multi* to multiformats/go-mult*
<whyrusleeping> so i did it all by hand
<lgierth> i had a near-dream about that the other day...
<whyrusleeping> finished off my bottle of whiskey last night
<lgierth> is it that it actually requires the thing-to-be-moved in both locations at the same time?
Oatmeal has quit [Read error: Connection reset by peer]
<whyrusleeping> nah, but it needs to rewrite the import paths
<lgierth> ah that
Mizzu has joined #ipfs
<lgierth> i don't know about your text editor, but mine has a find+replace in directory thing
<lgierth> find "jbenet/go-multi", replace "multiformats/go-multi"
<whyrusleeping> yeah, thats not bad
<whyrusleeping> but you have to do that recursively
<whyrusleeping> and i wasnt quite up enough on figuring that out for the update-tree command
<lgierth> just do it everywhere at once, then commit everything at once, then update-tree all the packages that were touched
ianopolous__ has joined #ipfs
Oatmeal has joined #ipfs
cemerick has joined #ipfs
mildred has joined #ipfs
<A124> whyrusleeping: Using about 300% of 3GHz CPU total, http://chunk.io/f/625c60553f4e4a26bf3b627d18f9dee9
<Kubuxu> for f in **/*.go; do sed 's|jbenet/go-multi|multiformats/go-multi|g' -i $f; done
<whyrusleeping> A124: could I also get your ipfs binary?
<whyrusleeping> Kubuxu: yes, or any number of different ways of doing it
Encrypt has quit [Quit: Quit]
musicmatze[m] has quit [Quit: node-irc says goodbye]
s_kunk has quit [Ping timeout: 244 seconds]
keks_ has joined #ipfs
<whyrusleeping> lgierth: i have a task i need your help with
<lgierth> whyrusleeping: shoot
<whyrusleeping> go to: Rigaer Straße 8, 10247 Berlin, Germany and ask for whoever is in charge, then tell them to give us more build runners. especially on the OSX side
<whyrusleeping> if they don't want to do it, throw money at them, preferably coins
<lgierth> i'm in that neighbourhood tomorrow lol
<lgierth> haad lives closer though ;)
<whyrusleeping> haad: you up for a little adventure?
ygrek_ has joined #ipfs
<passstab> i'm trying to install orbit
<passstab> npm install fails
bonesso has joined #ipfs
<whyrusleeping> lgierth: moving old branches to an archive is fine by me
galois_d_ has joined #ipfs
galois_d_ has quit [Remote host closed the connection]
galois_d_ has joined #ipfs
iovoid has quit [Quit: Iovoid has quit!]
iovoid has joined #ipfs
galois_dmz has quit [Ping timeout: 264 seconds]
iovoid is now known as Guest16955
<haad> passstab: hmmm.. sorry about that. looks like it needs to have your github ssh key to clone the repo. I'll fi that first thing tomorrow.
<Kubuxu> whyrusleeping: I am hunting more thread lockers, now main offender is sync call in datastore
keks_ has quit [Ping timeout: 244 seconds]
<haad> passstab: if you have one (github ssh key), you can make it work by adding the key to your ssh with ssh-add /path/to/key
<Kubuxu> do you think that semaphore type construct would solve that?
<Kubuxu> and is it good idea at all?
<whyrusleeping> Kubuxu: hrm... its worth a try.
<whyrusleeping> although limit the time you spend down that rabbit hole
<Kubuxu> it shouldn't be that deep of a rabbit hole
<whyrusleeping> heh
<Kubuxu> I wouldn't call go-reuseport rabbit hole, it is a atomic fallout shelter
<whyrusleeping> a little column A, a little column B
<A124> whyrusleeping what do you mean as binary, literally just ipfs, or whole dir tree?
<whyrusleeping> A124: the ipfs binary that you run
<Kubuxu> whyrusleeping: do you know what is the reason for not syncing dirs on windows in flatfs?
matoro has joined #ipfs
<whyrusleeping> Kubuxu: eh?
<whyrusleeping> link to code?
<Kubuxu> interesting
<Kubuxu> why it is in stdlib
<A124> whyrusleeping it is build from yesterday afternoon. http://chunk.io/f/7df8697dcd774e7f8b19883e560c5b94
<Kubuxu> does someone has windows here running?
<A124> Depends what for.
<Kubuxu> I would need to test super short snippet on windows.
<A124> I can I guess.
<passstab> haad, I don't know if it's up to date, but you could just use the npm package
<A124> Or maybe not, not sure if I got the drive.
captain_morgan has quit [Ping timeout: 264 seconds]
<Kubuxu> I need someone to test this on windows: https://play.golang.org/p/XQXNMch131
<richardlitt> thanks whyrusleeping
ne1 has joined #ipfs
MDude has joined #ipfs
<JosiahHaswell[m]> http://matrix.org/_matrix/media/v1/download/matrix.org/zMNubxAEDmtcuhNQiVJhOejW - JosiahHaswell[m]_2016-10-05_18:43:00.txt
<JosiahHaswell[m]> Windows 10
<Kubuxu> JosiahHaswell[m]: thanks
<JosiahHaswell[m]> np
pjz_ has quit [Ping timeout: 244 seconds]
pfrazee has quit [Remote host closed the connection]
dignifiedquire has quit [Quit: Connection closed for inactivity]
<Kubuxu> whyrusleeping: should I make separate package for simple semaphore, I see people everywhere overcomplicate it...
<Kubuxu> meh, I will just create it in place
galois_dmz has joined #ipfs
galois_d_ has quit [Read error: Connection reset by peer]
G-Ray has joined #ipfs
<A124> Kubuxu Still need it?
<whyrusleeping> Kubuxu: sure, that works for me
<whyrusleeping> most people just use a channel though
<whyrusleeping> Kubuxu: actually, just use a channel
A124 has quit [Quit: '']
captain_morgan has joined #ipfs
<Kubuxu> yeah, just using channel
<Kubuxu> for a moment I thought it would be more complicated as I stumbled on old golang issue
<Kubuxu> A124: no Josiah sent me hist results
jeffl35 is now known as jeffl42
wallacoloo has joined #ipfs
se3000 has joined #ipfs
true_droid has quit [Quit: Connection closed for inactivity]
<Kubuxu> whyrusleeping: can I get rights to go-ds-flatfs
<whyrusleeping> Kubuxu: done
G-Ray has quit [Quit: Konversation terminated!]
s_kunk has joined #ipfs
rgrinberg1 has quit [Ping timeout: 272 seconds]
rgrinberg has joined #ipfs
A124 has joined #ipfs
kulelu88 has joined #ipfs
bonesso has quit []
silotis has quit [*.net *.split]
silotis has joined #ipfs
ianopolous__ has quit [Ping timeout: 272 seconds]
<passstab> is anyone on orbit?
<whyrusleeping> passstab: not right now
se3000 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<haad> passstab: I'm on #ipfs. working also on a fix for the problem you reported ^
se3000 has joined #ipfs
captain_morgan has quit [Ping timeout: 272 seconds]
<ne1> hello is orbit for electron on mac working at the moment?
<ne1> im getting 0 peers connected
* whyrusleeping downloads orbit
matoro has quit [Ping timeout: 256 seconds]
<passstab> haad, there seem to be a few outdated dependancies
<passstab> ne1, what channel are you on?
<ne1> #ipfs and #sdv
<passstab> ne1 i'm in #ipfs, doesn't seem to be anyone else
<ne1> are you getting 0 peers connected?
<passstab> ne1, no i have 73
<ne1> what other channels have people?
Mizzu has quit [Quit: WeeChat 1.5]
<ne1> maybe ita my companys router
<whyrusleeping> Kubuxu: did i tell you i wrote a 'gx test' command?
taw00 has joined #ipfs
vyrod has joined #ipfs
vyrod has left #ipfs [#ipfs]
<whyrusleeping> haad: i've got no peers
Encrypt has joined #ipfs
Encrypt has quit [Client Quit]
trn has joined #ipfs
<achin> whyrusleeping is peerless
<whyrusleeping> achin: how very peerceptive of you
bonesso has joined #ipfs
<passstab> ne1, does ipfs itself work for you?
<achin> whyrusleeping: yes, it was apeerent to me
TheNain38 has joined #ipfs
captain_morgan has joined #ipfs
<Kubuxu> whyrusleeping: <3
<A124> How do I connect to orbit?
<lgierth> A124: github.com/haadcode/orbit
<A124> NOTE! Currently only the Electron (Desktop) version works. Oh.. alright. Was already on my way there. *looking forward to E10 on Firefox*
Aeonwaves has quit [Read error: Connection reset by peer]
dignifiedquire has joined #ipfs
pfrazee has joined #ipfs
<haad> ok, just pushed some fixes to orbit
<haad> passstab: which outdated modules are there?
<haad> I'm on #ipfs but can't anyone :/
<haad> whyrusleeping: connectivity problems, as soon as you do swarm connect <peer>, things start to work as expected, tested this morning with dhash
<whyrusleeping> haad: is it not bootstrapping?
<whyrusleeping> oooh, i know
<haad> whyrusleeping: afaik the discovery flag is on when orbit calls pubsub/sub
<haad> it's bootstrapping fine, and well-peered
<whyrusleeping> hrm... nvm then
<lgierth> is it because i forgot to deploy the websockets bootstrapper?
<whyrusleeping> lgierth: no, we're not using that yet
<lgierth> ok cool
<A124> haad lodash deprecated, pull unmaintained, I guess that is what he meant.
PseudoNoob has quit [Quit: Leaving]
<lgierth> why am i so stupid, la la la -- just locked myself out of a box
dmr has quit [Quit: Leaving]
<haad> A124: oh those, right, those are from other packages, can't do much about them :/
<A124> 279029 verbose stack Error: orbit@3.2.0 postinstall: `grunt clean:npm`
<haad> A124: are you on linux?
<A124> Cannot get it running. v4.6.0 2.15.9, 14.04 x64
<haad> A124: need nodejs 6.x and npm 3.x
<A124> Advice: Should I use nvm or something else for version management?
<haad> added the requirements to readme more clearly
<haad> thanks A124
<haad> can't help you with nvm, don't use it myself
ianopolous has joined #ipfs
jooni has quit [Ping timeout: 272 seconds]
<richardlitt> haad: can you look at my PR first? :P
<richardlitt> this is my third time I've tried to help out with orbit's readme...
<A124> That resemles me, with PRs to why, ignoring PR, and doing it few weeks later again by himself.
<haad> richardlitt: I took a look, there's changes needed :)
captain_morgan has quit [Ping timeout: 256 seconds]
cketti has quit [Ping timeout: 244 seconds]
Ragnis has joined #ipfs
<Kubuxu> lgierth: I might have hanged pollux
<Kubuxu> wanted to unpin package I've added and not it is hanged
<Kubuxu> ...
Aeon has joined #ipfs
Aeon has joined #ipfs
Aeon has quit [Changing host]
<lgierth> at least i responds to :5001/api/v0/id
<Kubuxu> It doesn't finalize add:
<Kubuxu> ipfs add Makefile  ✘
<Kubuxu> added QmZ69AspuLZiargWibYJiyHEEYzUoq9oXjpV46WkgTxNy9 Makefile
<Kubuxu> and it is stuck
<Kubuxu> might be pin lock
<Kubuxu> I love that sidetracking
<Kubuxu> "uninterrupted workflow"
<lgierth> :)
<lgierth> Kubuxu: it's spinning disks and sometimes other people do stuff on it too :)
edubai__ has quit [Ping timeout: 252 seconds]
cketti has joined #ipfs
cketti has joined #ipfs
cketti has quit [Changing host]
<Kubuxu> It might have unchocked
edubai__ has joined #ipfs
<haad> richardlitt: reviewed your PR
<Kubuxu> whyrusleeping: do you have branch with go-ipfs updated for libp2p after extraction?
<whyrusleeping> i'm working on it
<Kubuxu> kk, I will just revert myself to 3.6
<whyrusleeping> yeah, i needed to also update floodsub, and the dht, and iptb and a few other libs
<Kubuxu> ok, I can't figure out this mess
<whyrusleeping> give me a minute, nearly done
captain_morgan has joined #ipfs
<whyrusleeping> erk, context lib differences
<whyrusleeping> +15min
<Kubuxu> no reason to hurry
<Kubuxu> and I can review the pin sharder
<whyrusleeping> yeah, go do that
<whyrusleeping> review mah code pls
Guest16955 has quit [Quit: Iovoid has quit!]
<Kubuxu> now I am thinking about an attack where you make the other party pin DAG that has awful fanout with this alg.
<Kubuxu> ie. no fanout at all
<whyrusleeping> you only ever add one entry per pin to that
<Kubuxu> ahh, right, forgot about htat
<Kubuxu> and there is random seed
<whyrusleeping> its a solid algorithm
<whyrusleeping> might not be the best thing for our usecase
<whyrusleeping> but good nonetheless
<Kubuxu> yeah the sharing you implemented would be incremental, I don't think this is.
ashark has quit [Ping timeout: 265 seconds]
<whyrusleeping> i'm pretty sure its not
<Kubuxu> it shouldn't, it uses random seed every time
cemerick has quit [Ping timeout: 265 seconds]
<whyrusleeping> thus me being pretty sure
<whyrusleeping> Kubuxu: thoughts on adding a method to go-datastore:
<whyrusleeping> NewKeyFromBinary(...)
<whyrusleeping> that will base32 encode the input
<kevina> whyrusleeping: is this a method or a function?
<whyrusleeping> function
<kevina> so just a convenience fun than?
<whyrusleeping> yeap
captain_morgan has quit [Read error: No route to host]
<whyrusleeping> to keep it in one place
<kevina> off hands, sounds like a good idea to me :)
iovoid has joined #ipfs
iovoid is now known as Guest75921
captain_morgan has joined #ipfs
mildred has quit [Ping timeout: 272 seconds]
<kevina> whyrusleeping: BTW: I am strongly leaning to not rebasing my filestore code, but instead cleaning up the commits some and pushing each one on a new PR to make sure each commit pass the test...
<kevina> There is just too much code, and much of the earlier code depends on too many things that have changed.
<kevina> There may be some duplicate commits, but they may be unavailable
<kevina> do you think you could live with that?
<kevina> unavailable = unavoidable
<whyrusleeping> kevina: yeah, that seems fine. Its a pretty absurdly massive PR at this point :P
<kevina> thanks, will do!
<Kubuxu> Any recommendation of what I should use for storage of benchmark results, I would like us to be able to plot something like that: https://areweslimyet.com/ per commit bases
<lgierth> prometheus? :P
<Kubuxu> Not for something like this, I would rather think about some db.
<Kubuxu> or just ndjson but filtering this will be nightmare
<kevina> sqlite?
<lgierth> ah you're looking for more than just exactly the kind of data on that site? ^
<Kubuxu> yeah, I will have teamcity runners collect the data, maybe produce it as an artifact, then you can use it to join it into one big db or benchmarking data
<kevina> I am a big fan of using SQL for data like this.
<kevina> Makes getting exactly what you want really easy
<kevina> although I am not 100% sure what you are after :)
rgrinberg has quit [Ping timeout: 256 seconds]
<Kubuxu> yeah, sqllite seems like a good choice for the runners
<Kubuxu> use UUDIs for the keys so everything can be merged at whim
Guest75921 has quit [Changing host]
Guest75921 has joined #ipfs
keks_ has joined #ipfs
Guest75921 is now known as iovoid
<kevina> For go, I think this is the best library for sqlite3: https://github.com/mattn/go-sqlite3
<kevina> Based on by 2 minute research :)
TheNain38 has quit [Quit: I'm going away]
keks_ has quit [Ping timeout: 264 seconds]
keks_ has joined #ipfs
keks_ has quit [Ping timeout: 256 seconds]
iovoid is now known as iovoid42
keks___ has joined #ipfs
soloojos has quit [Remote host closed the connection]
wallacoloo has quit [Quit: wallacoloo]
soloojos has joined #ipfs
fleeky_ has joined #ipfs
iovoid42 has quit [Quit: Iovoid has quit!]
fleeky__ has quit [Ping timeout: 244 seconds]
pfrazee has quit [Remote host closed the connection]
ianopolous_ has joined #ipfs
anonymus_ is now known as anonymuse
ianopolous has quit [Ping timeout: 256 seconds]
iovoid has joined #ipfs
iovoid is now known as Guest73858
Guest73858 has quit [Changing host]
Guest73858 has joined #ipfs
Guest73858 is now known as iovoid
anonymuse has quit [Remote host closed the connection]
anonymuse has joined #ipfs
<richardlitt> haad: thanks
<A124> How do I diagnose network? Aka what stuff is being transfered to whom at what speed?
Kane` has quit [Quit: Leaving]
shizy has quit [Ping timeout: 252 seconds]
anonymuse has quit [Ping timeout: 264 seconds]
<lgierth> whyrusleeping: yay!
<whyrusleeping> lgierth: that was pretty itnense
<whyrusleeping> intense*
<lgierth> :):)
iovoid has quit [Quit: Iovoid has quit!]
ianopolous has joined #ipfs
ianopolous_ has quit [Ping timeout: 272 seconds]
<whyrusleeping> lgierth: yeah, lots of weird dependency stuff. I made extensive use of sed
<lgierth> btw, what's the relationship of the string type and the String() func on an a struct
<lgierth> i know the fmt package is aware of String(), but i figure the type system probably isn't
<whyrusleeping> you cant pass a Stringer into a function that takes a string
<whyrusleeping> unfortunately
<whyrusleeping> but otherwise you can use them interchangeably in things like fmt calls
<whyrusleeping> weirdly enough, the builtin string type doesnt implement Stringer
<lgierth> cause then nobody would use the string type for argument or return types, hehe
<lgierth> string -- the glorified byte array
bmpvieira has quit [Read error: Connection reset by peer]
sugarpuff has quit [Read error: Connection reset by peer]
iovoid has joined #ipfs
iovoid is now known as Guest11425
robmyers has quit [Ping timeout: 265 seconds]
oleavr has quit [Ping timeout: 272 seconds]
Guest11425 has quit [Changing host]
Guest11425 has joined #ipfs
Guest11425 is now known as iovoid
bmpvieira has joined #ipfs
sugarpuff has joined #ipfs
matoro has joined #ipfs
oleavr has joined #ipfs
robmyers has joined #ipfs
anonymuse has joined #ipfs
kvda has joined #ipfs
se3000 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<kevina> whyrusleeping: the build servers are having a hard time getting old gx deps: hanging on - running post install for gogo-protobuf: /home/ubuntu/.go_workspace/src/gx/ipfs/QmZ4Qi3GaRbjcx28Sme5eMH7RQjGkt8wHxt2a65oLaeFEV
JacobGadikian[m] has quit [Quit: node-irc says goodbye]
<kevina> and QmQgRCmDMVcbP42bVDgWRZbZnNHRRGSKmmjuU35oKEC7D1
gmcquillan__ has quit [Ping timeout: 264 seconds]
pfrazee has joined #ipfs
JesseW has joined #ipfs
dignifiedquire has quit [Quit: Connection closed for inactivity]