0:10 AM
jarib has quit
0:11 AM
dat-git-bot
0:11 AM
dat/master 22091b8 Max Ogden: slightly better write stream feedback
0:12 AM
ogd
mafintosh: i think our stats should switch from happening on stream write to happening at a fixed interval (i think you have said this before)
0:13 AM
mafintosh
yea
0:13 AM
ogd
mafintosh: but in the meantime i switched dat import to show rows/sec based on the parser stream in write-stream, not the write stream results data which comes in batches thanks to byte stream
0:13 AM
wking joined the channel
0:14 AM
mafintosh: now it updates a little better, but still has some pauses as the batches are writing and the stream slows down
0:14 AM
jarib joined the channel
0:15 AM
mafintosh
maybe we should change the progress stream a bit as well
0:15 AM
i mean the stream being piped to dat.progressStream
0:16 AM
ogd
0:16 AM
mafintosh: and pipe that to the progress stream now
0:17 AM
also im gonna use 'processed' instead of 'parsed'
0:18 AM
mafintosh
how about emitting a progress event instead having a progress stream?
0:18 AM
it could emit something like {blobs:4, documents:42, bytes:10000} etc
0:19 AM
ogd
well the progress pauses sometimes
0:19 AM
e.g. when stuff is waiting
0:19 AM
so the setTimeout/setInterval logic has to happen somewhere
0:19 AM
we could change the progress stream to start a timer on init
0:19 AM
and write at a fixed interval
0:19 AM
mafintosh
then expose the .blobs , .documents .bytes as well on the return value and emit 'progress' when these change
0:19 AM
ogd
and then clean up on finish
0:20 AM
mafintosh: yea that sounds good
0:20 AM
mafintosh
then i could do the same in the replicator
0:26 AM
ogd: i found the replication bug! :D
0:26 AM
pushing out a fix
0:26 AM
it only replicated the first blob for each doc
0:31 AM
restarting the clone on the other machine...
0:31 AM
tphummel joined the channel
0:49 AM
sorribas has quit
0:50 AM
dybskiy has quit
0:51 AM
dybskiy joined the channel
0:54 AM
0:55 AM
then dat.progress can just poll the props every 0.5s etc
0:55 AM
dybskiy has quit
0:56 AM
750 secs into clone and sofar 25gbs transferred
1:01 AM
jbenet
mafintosh: nice!
1:01 AM
much better.
1:25 AM
zjj joined the channel
1:27 AM
zjj has quit
1:31 AM
zjj joined the channel
1:32 AM
ogd
mafintosh: +1 to that progress api
1:32 AM
mafintosh: you wanna rip out progressLogStream or should I?
1:32 AM
mafintosh
i can do it tomorrow
1:32 AM
ogd
kewl
1:32 AM
mafintosh: hows the clone going?
1:33 AM
mafintosh
87gb cloned sofar
1:33 AM
2800s in
1:33 AM
ogd
ah nice, tailing output.log now
1:44 AM
dang didnt beat an hour
1:45 AM
jbenet
1:46 AM
ogd
jbenet: +1
1:48 AM
yay it finished!
1:48 AM
mafintosh
there it is
1:48 AM
a little over an hour for 114gb :)
1:48 AM
ogd
i think theres a bug where it doesnt call .close when clone finishes....
1:49 AM
mafintosh
no it closed
1:49 AM
ogd
oh ok cool
1:49 AM
mafintosh
your tailing the output :)
1:49 AM
ogd
oh right haha
1:49 AM
mafintosh: ok lets start 10 clones at once
1:50 AM
or 3
1:50 AM
one on the server and one on each of our laptops
1:50 AM
and watch the original to see how it does w/ serving
1:50 AM
mafintosh
kk
1:50 AM
zjj has quit
1:50 AM
cloning now
1:51 AM
ogd
mafintosh: did you push your attachment fix?
1:51 AM
mafintosh
yeah - you need to npm install again
1:51 AM
ogd
k
1:52 AM
i deleted the npm clone on the second DO server
1:53 AM
mafintosh
pulling on the good side of 2mb per sec here
1:53 AM
to my laptop
1:54 AM
ogd
my local npm is being dumb... one sec
1:54 AM
paulfitz joined the channel
1:55 AM
mafintosh
time is approaching 4 in the morning here so I'm probably going to bed soonish
1:55 AM
ogd
haha
1:55 AM
jbenet
i can help! i dont have 100 GB free, but I can run it for a while to give it load.
1:55 AM
plus am in a coffeeshop, packet loss guaranteed :)
1:56 AM
mafintosh
1:56 AM
ogd
git dat, not npm i dat
1:56 AM
jbenet
yeah, git pulled :)
1:57 AM
ogd
ok pulling on DO#2 and my laptop
1:57 AM
cloning*
1:58 AM
jbenet
ogd: thoughts on `dat [--]version` ?
1:58 AM
ogd
oh yea that should be there
1:59 AM
should be easy, i attach a .version property to dat instances (i think its .version)
1:59 AM
jbenet
i'll send a pr shortly. do you prefer subcommand or flag?
1:59 AM
ogd
both -v and --version should work
1:59 AM
jbenet
yea sgtm
1:59 AM
ogd
dat version might as well
2:00 AM
mafintosh: looks like the server is pretty busy, throughput on DO#2 is lower
2:00 AM
mafintosh: go to bed though!
2:00 AM
mafintosh
yea DO#2 is eating all the cpu
2:00 AM
that was expected though
2:00 AM
since the network is super good between DO#1 and DO#2
2:01 AM
we could consider adding a throttle stream to the replication api impl
2:01 AM
that would probably distribute the load better
2:02 AM
alright guys - gonna call it a night. see you tomorrow :)
2:02 AM
ogd
night!
2:05 AM
nseger has quit
2:10 AM
frewsxcv________ is now known as frewsxcv_
2:19 AM
tphummel has quit
2:31 AM
jbenet
ogd: finished writing. do you want me to push to PR or push to master? (dont think i have collab access)
2:31 AM
2:33 AM
(tests pass, except 1: live rep, but think that's ok
2:36 AM
ogd
jbenet: just added you
2:36 AM
jbenet: live rep tests should be passing now.... hmm...
2:37 AM
dat-git-bot
2:37 AM
dat/master bc76da1 Juan Batiz-Benet: added version cmd
2:37 AM
ogd
w00t
2:37 AM
jbenet
ogd: they failed for me on prev head too
2:37 AM
(22091b8)
2:37 AM
:D
2:38 AM
ogd
jbenet: can you try deleting the dat/node_modules folder, then doing npm install && npm test again?
2:38 AM
jbenet
ahh, that might be it, sec.
2:38 AM
dat-git-bot
2:38 AM
dat/master 159d29c Max Ogden: update collaborators
2:39 AM
jbenet
there should be a way to add post receive hooks to git that ship with the repo. so like, we could make it npm install every time a dep changed.
2:41 AM
ogd
agreed
2:43 AM
jbenet
npm install takes forever on coffeeshop-fi.
2:43 AM
ogd
hah
2:43 AM
soon you can just run npm locally w/ dat :)
2:44 AM
jbenet
ogd :D yay
2:45 AM
tphummel joined the channel
2:45 AM
also soon, ipfs mounted node_modules cache. "you already have it" before you download it.
2:46 AM
ogd
hah yes
3:01 AM
tphummel has quit
3:10 AM
taterbase has quit
3:15 AM
tphummel joined the channel
3:16 AM
taterbase joined the channel
3:17 AM
paulfitz has quit
3:19 AM
zjj joined the channel
3:41 AM
tphummel has quit
3:44 AM
tphummel joined the channel
3:51 AM
zjj has quit
4:01 AM
tphummel has quit
4:04 AM
tphummel joined the channel
4:33 AM
zjj joined the channel
4:38 AM
zjj has quit
4:44 AM
tphummel has quit
4:52 AM
fjhqjv has quit
4:54 AM
fjhqjv joined the channel
6:33 AM
fjhqjv has quit
7:05 AM
dybskiy joined the channel
7:07 AM
dybskiy_ joined the channel
7:10 AM
dybskiy has quit
7:18 AM
shama has quit
8:18 AM
shama joined the channel