00:13:39  * domanicquit (Quit: Konversation terminated!)
00:13:56  * domanicjoined
00:17:24  <kumavis>implementing a duplex stream - how do i correctly shutdown both ends of the stream {readable, writable} when underlying transport has closed
00:17:38  <kumavis>using readable-stream duplex
00:17:44  <kumavis>i see the end event but seems end-of-stream is waiting for a 'finish' event or something as well?
00:18:55  <jfhbrook>one thing I don't like about node streams is that they're poorly documented at the end of the day
00:19:09  <jfhbrook>iow I don't know the answer and I don't even know that the node docs would give you a satisfying answer
00:19:20  <jfhbrook>that said
00:19:38  <jfhbrook>I think 'finish' is when a readable stream is Done, and 'close' is when a writable stream can no longer be written to
00:19:42  * domanicquit (Ping timeout: 260 seconds)
00:20:07  <jfhbrook>and if I got those reversed, either way ¯\_(ツ)_/¯ I suspect the idea is that a duplex stream should emit both
00:22:18  <kumavis>ok ill take a swing at it
00:22:28  <kumavis>i agree about the poor documentation
00:38:21  * phatedjoined
00:43:09  * phatedquit (Ping timeout: 252 seconds)
02:26:56  * phatedjoined
02:28:49  <joepie91>duplex streams have both a Readable and a Writable interface, that are managed separately; they exist in the same object but are not otherwise connected
02:29:00  <joepie91>Transform streams are a specialized form of Duplex stream where it *is* wired together
02:31:03  * contraha_joined
02:31:30  * phatedquit (Ping timeout: 252 seconds)
02:33:03  * contrah__joined
02:33:30  * contrahaxquit (Read error: Connection reset by peer)
02:35:27  * contraha_quit (Ping timeout: 240 seconds)
03:29:00  * contrahaxjoined
03:29:27  * contrah__quit (Ping timeout: 240 seconds)
04:14:53  * phatedjoined
04:19:13  * phatedquit (Ping timeout: 248 seconds)
04:38:38  * phatedjoined
04:43:13  * phatedquit (Ping timeout: 248 seconds)
05:28:54  * pfrazeequit (Quit: Connection closed for inactivity)
10:23:50  <mafintosh>kumavis: did you mention me in the node channel yesterday?
10:24:09  <mafintosh>got a notification but there is too many messages so cant find it
10:25:11  * mylesborinsquit (Quit: farewell for now)
10:25:41  * mylesborinsjoined
12:32:50  * harrowquit (*.net *.split)
12:32:50  * gildeanquit (*.net *.split)
12:32:50  * mattronixquit (*.net *.split)
12:33:01  * gildean_joined
12:33:14  * harrowjoined
12:33:50  * mattronixjoined
12:35:17  * contrahaxquit (Ping timeout: 260 seconds)
12:36:30  <yangwao>hey, who of you is comming to 34c3? I could maybe supply our token (progressbar hackerspace) someone if you would like to attend
12:38:22  * contrahaxjoined
14:58:35  * gildean_changed nick to gildean
15:22:14  * pfrazeejoined
16:10:49  <kumavis>mafintosh: yeah with the same q as above
16:11:24  <kumavis>Having trouble closing my duplex such that it triggers end-of-stream callback
16:13:26  <mafintosh>kumavis: do have a gist?
16:45:07  <kumavis>mafintosh: https://gist.github.com/kumavis/76b847236eb3ff27ffbfa36a841217e1
16:45:54  <kumavis>mafintosh: what should i do in _onDisconnect to close the stream such that end-of-stream callback triggers
16:48:07  <kumavis>the transport here is the chrome runtime.Port api
17:10:09  * domanicjoined
17:18:22  * domanicquit (Ping timeout: 264 seconds)
19:25:05  <mafintosh>kumavis: .push(null)
19:25:35  <mafintosh>kumavis: you should never emit end/finish yourself
19:57:26  * phatedjoined
19:58:32  <foreigneye[m]>mafintosh: I have a voucher for you
20:00:19  <foreigneye[m]>#34c3 it is
20:10:59  <mafintosh>foreigneye[m]: nice, how do I get it?
20:48:09  * domanicjoined
22:06:18  * domanicquit (Ping timeout: 240 seconds)
22:13:11  * domanicjoined
22:19:35  * domanicquit (Ping timeout: 240 seconds)
22:41:06  <kumavis>mafintosh: yeah the manual emits were attempts at getting it to work, originally all I was doing was push(null) but that didn't trigger the callback
22:52:59  * phatedquit (Remote host closed the connection)