0:00 AM
notwes has quit
1:54 AM
bret
has anyone done an type of progress transform stream with folder-walker?
1:54 AM
yoshuawuyts
bret: not sure I get what you mean
1:54 AM
bret: (you at moz tonight btw?)
1:55 AM
bret
oh no whats going on at mom?
1:55 AM
moz*
1:55 AM
yoshuawuyts
bret: lol
1:55 AM
bret: data refuge hack night
1:55 AM
bret
oh crap no
1:55 AM
im on dinner duty
1:56 AM
travis-ci
1:56 AM
bret
basically im looking for a way to do a progress bar for a folder-walker object stream that does work with the objects
1:57 AM
so something to look ahead and count how many total files there are while the worker stream kicks off work with backpressure
1:57 AM
yoshuawuyts
bret: this for dats?
1:57 AM
bret
no not directly
1:57 AM
but seems similar
1:57 AM
err similar type of work
1:58 AM
most of the progress bar type libs need a total count
1:58 AM
yoshuawuyts
uehhhh, wouldn't know of any of that - in planet dat there's currently a metadata stream which holds a ref to a file ahead of time
1:58 AM
bret: and in the next version iirc there'll be a dir walk function that gives back all the files
1:58 AM
bret
i mean, i can do that already with concat-stream or whatever
1:59 AM
just wondering if anyone else has done something similar yet before i go reinvent a wheel
2:07 AM
travis-ci
2:07 AM
jhand
I think I did that but not following 100% what you are trying to do.
2:09 AM
for file importing, I start a count of all the files in the dir and separately start importing them.
2:09 AM
(not using folder walker right now)
2:11 AM
bret
jhand: basically i have folder-walker object stream that pipes into a slowish worker writable object stream, and I want to get a percentage complete value out of the stream as it works based on the total files that folder-walker will find
2:13 AM
i could just count the files and then start the work, but it would be cool to do it in parallel
2:13 AM
jhand
bret: ah ya. that was part of why I stopped using folder-walker. it seemed faster to walk the directories twice - once for the counting and once for importing (slow worker).
2:13 AM
ya definitely
2:13 AM
2:14 AM
let me know if you figure out a nice way to do it in parallel though
2:14 AM
notwes_ has quit
2:15 AM
bret
it would be cool API if you could throw some transform streams in the beginning and middle of the pipeline to monitor progrees of a folder-walker stream
2:15 AM
what do you use instead of folder-walker/
2:15 AM
?
2:17 AM
jhand
2:19 AM
bret
introducing parallelism to object streams is a little weird i guess
2:19 AM
err concurrency sorry
2:21 AM
jhand
ya I think i tried to do that at some point with folder walker and got confused so stopped =)
2:22 AM
getting the count done as quick as possible was kinda important too for the UI
2:31 AM
yoshuawuyts
2:31 AM
ogd: think this should be good
2:31 AM
cc/ jhand
3:26 AM
jhand
3:37 AM
travis-ci
4:15 AM
notwes joined the channel
4:20 AM
notwes has quit
4:29 AM
archive-bot has quit
4:29 AM
archive-bot joined the channel
4:30 AM
archive-bot has quit
4:30 AM
archive-bot joined the channel
4:47 AM
4:53 AM
archive-bot has quit
4:53 AM
archive-bot joined the channel
4:54 AM
dat-git-bot
[dat] greenkeeperio-bot opened pull request #614: Update dat-node to version 1.3.4 🚀 (master...greenkeeper-dat-node-1.3.4)
https://git.io/vDnMn
4:58 AM
pfrazee has quit
5:17 AM
travis-ci
5:25 AM
archive-bot has quit
5:26 AM
archive-bot joined the channel
5:58 AM
6:09 AM
m-i joined the channel
6:30 AM
archive-bot has quit
6:31 AM
archive-bot joined the channel
6:35 AM
6:51 AM
archive-bot has quit
6:52 AM
archive-bot joined the channel
6:52 AM
archive-bot has quit
6:53 AM
archive-bot joined the channel
6:57 AM
archive-bot has quit
6:57 AM
archive-bot joined the channel
7:00 AM
archive-bot has quit
7:00 AM
archive-bot joined the channel
7:05 AM
7:07 AM
7:32 AM
7:34 AM
archive-bot has quit
7:35 AM
archive-bot joined the channel
8:00 AM
ddem-bot has quit
8:00 AM
8:01 AM
ddem-bot joined the channel
8:36 AM
8:43 AM
8:49 AM
9:06 AM
9:24 AM
9:26 AM
archive-bot has quit
9:26 AM
archive-bot joined the channel
9:27 AM
archive-bot has quit
9:27 AM
archive-bot joined the channel
9:30 AM
9:31 AM
notwes joined the channel
9:35 AM
notwes has quit
10:03 AM
yoshuawuyts
11:19 AM
archive-bot has quit
11:19 AM
archive-bot joined the channel
11:27 AM
archive-bot has quit
11:28 AM
archive-bot joined the channel
11:29 AM
archive-bot has quit
11:29 AM
archive-bot joined the channel
11:29 AM
archive-bot has quit
11:29 AM
archive-bot joined the channel
11:30 AM
archive-bot has quit
11:30 AM
archive-bot joined the channel
13:28 PM
archive-bot has quit
13:28 PM
archive-bot joined the channel
13:29 PM
archive-bot has quit
13:29 PM
archive-bot joined the channel
13:52 PM
archive-bot has quit
13:52 PM
archive-bot joined the channel
13:59 PM
archive-bot has quit
13:59 PM
archive-bot joined the channel
14:03 PM
m-i has quit
14:04 PM
m-i joined the channel
14:34 PM
Ben__ joined the channel
14:36 PM
Ben__
hi folks, I'm just learning about the dat protocol and just installed the beaker browser. Super cool stuff. Is it possible to get a 'nice' URL for a dat address?
14:38 PM
Also, this website:
https://www.datprotocol.com/ states that its contents come from "dat://ff34725120b2f3c5bd5028e4f61d14a45a22af48a7b12126d5d588becde88a93/" but when I visit that address in the Beaker Browser I get a 408 time out
14:43 PM
m-i joined the channel
14:55 PM
archive-bot has quit
14:55 PM
archive-bot joined the channel
14:55 PM
archive-bot has quit
14:55 PM
archive-bot joined the channel
14:56 PM
archive-bot has quit
14:56 PM
archive-bot joined the channel
15:22 PM
archive-bot has quit
15:22 PM
archive-bot joined the channel
15:44 PM
m-i joined the channel
16:09 PM
m-i has quit
16:10 PM
m-i joined the channel
16:26 PM
Ben__ has quit
16:38 PM
archive-bot has quit
16:39 PM
archive-bot joined the channel
17:05 PM
archive-bot has quit
17:06 PM
archive-bot joined the channel
17:23 PM
archive-bot has quit
17:23 PM
archive-bot joined the channel
17:43 PM
pfrazee joined the channel
17:50 PM
ogd
interestingly I only cloned 62% of that dat o/
17:50 PM
18:25 PM
dat-git-bot
[dat] joehand closed pull request #614: Update dat-node to version 1.3.4 🚀 (master...greenkeeper-dat-node-1.3.4)
https://git.io/vDnMn
18:27 PM
[dat] joehand closed pull request #609: Transfer dat-next codebase and remove old code (master...dat-next-code)
https://git.io/vDYCH
18:27 PM
[dat] joehand closed pull request #612: Update readme for dat-next (master...dat-next-docs)
https://git.io/vDYzJ
18:37 PM
pfrazee
jhand: congrats!
18:37 PM
jhand
pfrazee: 🎉
18:38 PM
pfrazee
18:38 PM
travis-ci
18:39 PM
pfrazee
jhand: dat version is hosting from my cloud server. I added the .well-known/dat file and pushed to github, netlify hosts, done
18:40 PM
jhand
pfrazee: awesome!
18:40 PM
took me awehile to see that wasn't http lol
18:40 PM
pfrazee
hah yeah