00:07:43  * mattlgyquit (Remote host closed the connection)
00:44:35  * UniOnquit (Remote host closed the connection)
00:53:57  * kazuponjoined
00:54:09  * kazuponquit (Remote host closed the connection)
00:54:17  * kazuponjoined
01:04:42  * kazuponquit (Remote host closed the connection)
01:11:34  * kazuponjoined
01:24:07  * cledevjoined
01:38:00  <rphillips>.
02:04:52  * cledevquit (Ping timeout: 245 seconds)
02:25:59  <rphillips>creationix: thanks tim... got the WIP working with one unit test https://github.com/luvit/luvit/compare/codec.emitter
02:26:00  * cledevjoined
02:26:34  * travis-cijoined
02:26:34  <travis-ci>luvit/luvit#1194 (codec.emitter - 74055a4 : Ryan Phillips): The build passed.
02:26:34  <travis-ci>Change view : https://github.com/luvit/luvit/commit/74055a47e7ea
02:26:34  <travis-ci>Build details : http://travis-ci.org/luvit/luvit/builds/41319470
02:26:34  * travis-cipart
02:40:27  * travis-cijoined
02:40:27  <travis-ci>luvit/luvit#1196 (bytecode - 9ca3087 : Tim Caswell): The build has errored.
02:40:27  <travis-ci>Change view : https://github.com/luvit/luvit/compare/bytecode
02:40:27  <travis-ci>Build details : http://travis-ci.org/luvit/luvit/builds/41320318
02:40:27  * travis-cipart
02:41:02  * travis-cijoined
02:41:02  <travis-ci>luvit/luvit#1197 (external-libs - 4b4c965 : Tim Caswell): The build has errored.
02:41:02  <travis-ci>Change view : https://github.com/luvit/luvit/compare/external-libs
02:41:02  <travis-ci>Build details : http://travis-ci.org/luvit/luvit/builds/41320320
02:41:02  * travis-cipart
02:43:11  <rphillips>those are old branches i restored in github
02:43:20  * travis-cijoined
02:43:20  <travis-ci>luvit/luvit#1198 (fixes/windows_dns - d9a241e : Ryan Phillips): The build passed.
02:43:20  <travis-ci>Change view : https://github.com/luvit/luvit/commit/d9a241eb7634
02:43:20  <travis-ci>Build details : http://travis-ci.org/luvit/luvit/builds/41320423
02:43:20  * travis-cipart
02:47:22  * cledevquit (Ping timeout: 240 seconds)
03:10:09  * DarkGodquit (Ping timeout: 264 seconds)
03:21:40  * kazuponquit (Remote host closed the connection)
03:33:21  * a__joined
04:02:03  * kazuponjoined
04:16:11  * cledevjoined
04:57:10  * cledevquit (Ping timeout: 250 seconds)
05:37:02  * typedlambdaquit (Ping timeout: 250 seconds)
05:42:37  * typedlambdajoined
05:44:44  * a__quit (Remote host closed the connection)
05:45:50  * a__joined
06:03:01  * a__quit (Remote host closed the connection)
06:03:56  * a__joined
06:37:10  * a__quit (Remote host closed the connection)
06:38:06  * a__joined
08:21:21  * DarkGodjoined
09:38:37  * kazuponquit (Remote host closed the connection)
09:38:50  * kazuponjoined
09:46:22  * erlbot--joined
10:07:40  * kazuponquit (Remote host closed the connection)
10:08:06  * kazuponjoined
10:12:29  * kazuponquit (Ping timeout: 244 seconds)
10:21:47  <bjorn>I just tried luvit on Windows and am getting truncated attributes in fs.stat:
10:21:47  <bjorn>http://paste.ubuntu.com/9069781/
11:17:50  * torporjoined
11:48:53  * cledevjoined
12:17:22  * cledevquit (Ping timeout: 240 seconds)
12:28:34  * cledevjoined
12:41:05  * tjcraveyjoined
13:15:37  <rphillips>bjorn: what is missing?
13:15:50  <rphillips>we are using the uv_stat_t structure from libuv
13:26:38  <bjorn>rphillips: 'atim' instead of 'atime'
13:26:54  <bjorn>mtim, birthtim...
13:27:14  <bjorn>In node.js the variables are documented as atime, mtime.
13:28:13  <rphillips>https://github.com/luvit/luv/blob/master/src/fs.c#L34
13:28:33  <rphillips>i'll create a ticket for luvit
13:28:51  <bjorn>Why would the e be left out in libuv? :S
13:29:11  <rphillips>https://github.com/luvit/luvit/issues/539
13:30:04  <rphillips>sys/stat.h has truncated names as well
13:30:26  <bjorn>Yeah, that puzzles me.
13:31:54  <bjorn>But well, I guess the main reason to diverge from libuv here would be for node.js compatibility.
13:33:19  <bjorn>Not sure if that's actually a good reason, to be honest. Could also be fixed by having luvit docs.
15:39:03  * UniOnjoined
15:47:17  * ra^^quit (Read error: Connection reset by peer)
15:47:21  <creationix>yes, docs would be great
15:47:30  <creationix>that will certainly be part of the luvit 2.0 release
15:59:41  <creationix>rphillips: in luvi, should the data in the bundled zip come before the LUVI_DIR environment variable?
16:00:03  <creationix>currently LUVI_DIR is checked first so it will ignore the bundled zip if set
16:00:24  <creationix>the idea was you could develop luvit using an older luvit binary instead of a bare luvi binary
16:00:56  <creationix>but occassionally is suprizes me when the code inside the embedded zip isn’t used
16:02:39  <rphillips>hmm. i almost think the LUVI_DIR should override anything in the executable
16:06:27  * dan336joined
16:08:03  <creationix>ok, I’ll keep it as is then
16:08:13  <creationix>btw, I’m ready to pull the generator pr if you’re ok with my changes
16:09:32  <rphillips>commented
16:09:35  <rphillips>minor nit, but +1
16:10:36  <creationix>is strip not safe?
16:10:53  <creationix>I guess I should test on osx, that was the one that had issues before
16:12:47  <rphillips>it'll probably strip the luajitted objects
16:13:18  <rphillips>s/luajitted/byte compiled/
16:13:26  * travis-cijoined
16:13:26  <travis-ci>luvit/luvi#124 (fixes/add_generator_support - bb357b5 : Tim Caswell): The build passed.
16:13:26  <travis-ci>Change view : https://github.com/luvit/luvi/compare/41d22d40cedf...bb357b591881
16:13:26  <travis-ci>Build details : http://travis-ci.org/luvit/luvi/builds/41376959
16:13:26  * travis-cipart
16:14:18  <creationix>sure enough, it can’t find init.lua
16:14:21  <creationix>ok, I’ll remove the -s
16:14:37  <creationix>we’ll fix that later with some hack to tell it to preserve the symbol
16:20:12  * travis-cijoined
16:20:12  <travis-ci>luvit/luvi#126 (zip - c7464dd : Tim Caswell): The build passed.
16:20:12  <travis-ci>Change view : https://github.com/luvit/luvi/compare/c5196f9b97fc...c7464dd93db6
16:20:12  <travis-ci>Build details : http://travis-ci.org/luvit/luvi/builds/41377239
16:20:12  * travis-cipart
16:36:44  * dan336quit (Read error: No route to host)
16:36:54  * dan336joined
16:39:45  <creationix>my zip branch is almost done https://github.com/luvit/luvi/blob/zip/samples/test.app/main.lua#L172-L188
16:39:57  <creationix>I just need to fix that commented part to work
16:40:17  <creationix>it’s a nice feature to copy entries quickly from another zip
16:40:49  <creationix>so luvit could dump itself to a zip, then add in the new files from the disk
16:41:31  <creationix>if we modify the bundle system to layer zip and LUVI_DIR into a single unified filesystem, you could even develop without extracting the luvit lua files to disk
16:41:42  <creationix>just write the new modified files to disk and link it with LUVI_DIR
16:42:18  <creationix>I should also expose the offset of where the zip starts so luvit can copy the exe part as well
16:46:30  * travis-cijoined
16:46:31  <travis-ci>luvit/luvi#127 (fixes/add_generator_support - 6ca4e2f : Tim Caswell): The build passed.
16:46:31  <travis-ci>Change view : https://github.com/luvit/luvi/compare/bb357b591881...6ca4e2f04d3d
16:46:31  <travis-ci>Build details : http://travis-ci.org/luvit/luvi/builds/41380261
16:46:31  * travis-cipart
16:53:04  * travis-cijoined
16:53:05  <travis-ci>luvit/luvi#129 (zip - 14e676f : Tim Caswell): The build passed.
16:53:05  <travis-ci>Change view : https://github.com/luvit/luvi/compare/c7464dd93db6...14e676f3ee20
16:53:05  <travis-ci>Build details : http://travis-ci.org/luvit/luvi/builds/41380668
16:53:05  * travis-cipart
17:02:28  <creationix>got it!
17:03:02  <creationix>rphillips: zip writer works now https://github.com/luvit/luvi/blob/zip/samples/test.app/main.lua#L172-L192
17:03:23  <creationix>and reader supports combined files (Was not a feature of miniz)
17:03:25  <rphillips>hot!
17:12:53  <creationix>rphillips: if you want to test the new luvi with luvit, the “env” module has moved to just require(‘env’) and not require(‘luvi’).env
17:13:06  <creationix>the only change needed in luvit is in modules/utils.lua
17:13:21  <rphillips>sweet
17:13:34  <rphillips>almost got this emitter codec test case done
17:14:51  * travis-cijoined
17:14:51  <travis-ci>luvit/luvi#131 (zip - f3f872a : Tim Caswell): The build passed.
17:14:51  <travis-ci>Change view : https://github.com/luvit/luvi/compare/14e676f3ee20...f3f872a83e4f
17:14:51  <travis-ci>Build details : http://travis-ci.org/luvit/luvi/builds/41383267
17:14:51  * travis-cipart
17:18:09  <creationix>when you get a chance, I’d like to merge the zip pr in luvi and push new binaries so I can start integrating it into luvit
17:18:57  * travis-cijoined
17:18:57  <travis-ci>luvit/luvit#1199 (luvi-up - 7d3b553 : Tim Caswell): The build passed.
17:18:57  <travis-ci>Change view : https://github.com/luvit/luvit/compare/0924a4ca22e6...7d3b553c3749
17:18:57  <travis-ci>Build details : http://travis-ci.org/luvit/luvit/builds/41384111
17:18:57  * travis-cipart
17:22:53  <creationix>for “only” $59/month appveyor will give us faster builds. Seems little pricy to me
17:23:28  <creationix>though you’ll have to pay $1590/year if you want to run more than one build at a time
17:24:30  <rphillips>seems expensive
17:25:33  <rphillips>https://github.com/luvit/luvit/pull/540
17:25:36  <rphillips>reviewing the zip pr
17:33:00  * torpor1joined
17:33:34  * torporquit (Ping timeout: 256 seconds)
17:34:02  * travis-cijoined
17:34:02  <travis-ci>luvit/luvit#1200 (codec.emitter - 867a202 : Ryan Phillips): The build passed.
17:34:02  <travis-ci>Change view : https://github.com/luvit/luvit/compare/74055a47e7ea...867a202bfa5f
17:34:02  <travis-ci>Build details : http://travis-ci.org/luvit/luvit/builds/41385492
17:34:02  * travis-cipart
17:35:14  <creationix>nice, so my codec example mostly worked? It doesn’t look like you changed it much.
17:36:17  <rphillips>yep. not too much
17:36:20  <rphillips>thanks
17:40:26  <creationix>so I was wrong when I said codec was optional. I forgot that it also turns functions into coroutines
17:40:43  <creationix>you got it right and used codec.chain when you had only one decoder
17:40:50  <creationix>*chain was optional
17:46:23  <creationix>rphillips: did you like how I used the two do..end blocks to scope the variables for the two coroutines?
17:46:38  <creationix>I read somewhere that keeping local variable scope as short as possible makes the interpreter faster
17:46:40  <rphillips>yes. that was smart
17:46:56  <creationix>also I wanted to use “wait” for both but they needed to be independent
17:48:05  * travis-cijoined
17:48:05  <travis-ci>luvit/luvi#135 (master - b226c3d : Tim Caswell): The build passed.
17:48:05  <travis-ci>Change view : https://github.com/luvit/luvi/compare/b0ba1daf0fa2...b226c3d5eafc
17:48:05  <travis-ci>Build details : http://travis-ci.org/luvit/luvi/builds/41386908
17:48:05  * travis-cipart
17:52:19  <creationix>hmm, I think my zip code might actually be broken on windows, appveyor finally built some of it
17:52:24  * creationixboots up windows laptop
17:58:44  <creationix>rphillips: did you mean to drop events on the floor when they are written during a pause?
17:59:24  <creationix>you test tests for that case explicitly and appears to expect the “testing” string to never emit.
18:02:40  <rphillips>that was my idea yeah. if you have ideas on how to make that test better that would be great
18:20:04  * travis-cijoined
18:20:04  <travis-ci>luvit/luvi#137 (master - 45a69da : Tim Caswell): The build passed.
18:20:04  <travis-ci>Change view : https://github.com/luvit/luvi/compare/b226c3d5eafc...45a69daecaa6
18:20:04  <travis-ci>Build details : http://travis-ci.org/luvit/luvi/builds/41390865
18:20:04  * travis-cipart
18:20:42  <creationix>yeah, that’s a tricky test. I’ll see if I can make it test more
18:20:54  <creationix>turns out that return is never tested at all
18:21:01  <creationix>I got my writes confused
18:21:15  * travis-cijoined
18:21:15  <travis-ci>luvit/luvi#136 (zip - 11f5f3e : Tim Caswell): The build was broken.
18:21:15  <travis-ci>Change view : https://github.com/luvit/luvi/compare/d643cbb27865...11f5f3e54fb3
18:21:15  <travis-ci>Build details : http://travis-ci.org/luvit/luvi/builds/41390841
18:21:15  * travis-cipart
18:34:12  <creationix>rphillips: fixed the test https://github.com/luvit/luvit/commit/3a95a0d79ad2387d579331598169396f9c1b6b79
18:34:19  <creationix>I think it now tests all the interface in the wrapper
18:34:25  <creationix>and most the code paths
18:39:17  <rphillips>sweet
18:39:23  * travis-cijoined
18:39:23  <travis-ci>luvit/luvit#1202 (codec.emitter - 3a95a0d : Tim Caswell): The build passed.
18:39:23  <travis-ci>Change view : https://github.com/luvit/luvit/compare/867a202bfa5f...3a95a0d79ad2
18:39:23  <travis-ci>Build details : http://travis-ci.org/luvit/luvit/builds/41392991
18:39:23  * travis-cipart
18:39:36  <rphillips>nice
18:39:45  <rphillips>coroutines are still throwing me for a loop
18:42:26  <creationix>yeah, it takes a bit to get used to
18:42:52  <creationix>it’s amazing how luvi can build in 30 seconds using Ninja, but takes 15 minutes in VS
18:43:05  <creationix>or rather MSVC
18:44:26  <creationix>it’s also annoying that the “tiny” build on windows builds all of openssl and then throws it away
18:46:37  <rphillips>hmm. might be a bug in the batch file
18:48:10  <rphillips>https://gist.github.com/rphillips/cec93f314e9418e63ffb
18:48:20  <rphillips>i added an event emitter to the tls codec
18:48:33  <rphillips>i think it works out rather nicely
18:48:46  <rphillips>line 23
18:53:15  <creationix>nice, though I was hoping to keep dependencies in the codecs as minimal as possible (not use emitter)
18:53:40  <creationix>you could just check for an .onhandshake property on tls and call it if it exists
18:53:53  <rphillips>good idea
18:53:59  <creationix>then in your usage, do tls.onhandshake = callback
18:55:42  <creationix>does this actuall work? https://gist.github.com/rphillips/cec93f314e9418e63ffb#file-test-lua-L19
18:55:57  <creationix>I thought wrapEmitter returned read, write (which would get truncated to just read)
18:56:12  <creationix>chain expects a function that takes (read, write)
18:57:34  <rphillips>it does work
18:58:31  * travis-cijoined
18:58:31  <travis-ci>luvit/luvi#138 (master - 1239c0b : Tim Caswell): The build passed.
18:58:31  <travis-ci>Change view : https://github.com/luvit/luvi/compare/45a69daecaa6...1239c0b2587e
18:58:31  <travis-ci>Build details : http://travis-ci.org/luvit/luvi/builds/41394967
18:58:31  * travis-cipart
18:59:08  <rphillips>at least from what I can tell...
18:59:10  <rphillips>i'll fix it up
18:59:40  <creationix>this is the version of wrapEmitter you’re calling right? https://github.com/luvit/luvit/blob/codec.emitter/app/modules/codec.lua#L94
19:00:21  <creationix>and here chain passes in read and write into each segment https://github.com/luvit/luvit/blob/codec.emitter/app/modules/codec.lua#L203
19:00:23  <rphillips>roger
19:05:00  * cledevquit (Ping timeout: 256 seconds)
19:06:10  * dan336quit (Quit: Leaving.)
19:07:14  <rphillips>i'll fix that
19:15:30  <rphillips>https://gist.github.com/rphillips/a63300a04ad6a378d006
19:15:41  <rphillips>socket drops... not sure if it's client or server side yet
19:41:07  * a_lejoined
19:44:45  <rphillips>creationix: should that be chain(tls.decoder, tls.encoder) ?
19:46:42  <creationix>no, it needs to be two chains
19:46:56  <creationix>one chain goes from read on and socket to write on the wrapped emitter
19:47:01  <creationix>(the decoder)
19:47:08  <creationix>and another encoder chain for the other half
19:47:50  <creationix>chain(tls.decoder)(socketRead, emitterWrite); chain(tls.encoder(emitterRead, socketWrite)
19:48:11  <creationix>(with missing ‘)’ added after tls.encoder)
19:49:04  <creationix>we could make a new helper that works at a higher level and auto-detects some stuff
19:49:10  * travis-cijoined
19:49:10  <travis-ci>luvit/luvi#140 (master - d65c660 : Tim Caswell): The build passed.
19:49:10  <travis-ci>Change view : https://github.com/luvit/luvi/compare/1239c0b2587e...d65c6606a8d3
19:49:10  <travis-ci>Build details : http://travis-ci.org/luvit/luvi/builds/41400115
19:49:10  * travis-cipart
19:49:56  <rphillips>https://gist.github.com/rphillips/62d2af0cdc0f4023efc0
19:50:00  <rphillips>looks like i have that
19:50:19  <rphillips>modules/codecs/tls.lua bad argument #1 to 'write' (string expected, got no value)
19:50:30  <rphillips>looks like it's half way setup since the encoder isn't called
19:51:47  <creationix>and you’re calling cleartext:write() with some data?
19:52:51  <creationix>some good news, luvi finally built and passed in appveyor and I pushed the new binaries to luvi-binaries https://ci.appveyor.com/project/creationix/luvi/build/1.0.145
19:54:36  <rphillips>yeah
19:55:04  <rphillips>https://gist.github.com/rphillips/62d2af0cdc0f4023efc0
19:55:07  <rphillips>updated the gist
19:55:42  <rphillips>perhaps I should commit this to a branch
19:56:26  <creationix>luvi 0.3.0 is in master luvit now
19:58:16  <rphillips>pushed to tls.connect
19:58:29  <creationix>yeah, put it in a branch, I can trace it and see where it’s getting stuck
20:02:16  * travis-cijoined
20:02:17  <travis-ci>luvit/luvit#1204 (tls.connect - b2a3310 : Ryan Phillips): The build failed.
20:02:17  <travis-ci>Change view : https://github.com/luvit/luvit/commit/b2a331068369
20:02:17  <travis-ci>Build details : http://travis-ci.org/luvit/luvit/builds/41401701
20:02:17  * travis-cipart
20:03:42  * cledevjoined
20:25:39  * dan336joined
20:48:11  * dan3361joined
20:48:11  * dan336quit (Read error: Connection reset by peer)
21:02:14  * travis-cijoined
21:02:14  <travis-ci>luvit/luvit#1205 (tls.connect - 454553d : Ryan Phillips): The build is still failing.
21:02:14  <travis-ci>Change view : https://github.com/luvit/luvit/compare/b2a331068369...454553d75ada
21:02:14  <travis-ci>Build details : http://travis-ci.org/luvit/luvit/builds/41407536
21:02:14  * travis-cipart
21:02:47  * DarkGod2quit (Ping timeout: 245 seconds)
21:03:03  * DarkGod2joined
21:14:03  * torpor1quit (Quit: Leaving.)
21:17:33  * a_lequit (Ping timeout: 258 seconds)
21:18:19  * travis-cijoined
21:18:19  <travis-ci>luvit/luvit#1206 (tls.connect - 413cb07 : Ryan Phillips): The build is still failing.
21:18:19  <travis-ci>Change view : https://github.com/luvit/luvit/compare/454553d75ada...413cb070b20c
21:18:19  <travis-ci>Build details : http://travis-ci.org/luvit/luvit/builds/41409218
21:18:19  * travis-cipart
21:19:14  * a_lejoined
21:54:54  <rphillips>libsigar is around 157k
21:55:14  <rphillips>added statically to the luvi binary, and it is still 1.2 MB RSS
22:04:42  <rphillips>https://github.com/luvit/luvi/pull/29
22:04:52  <rphillips>appveyor is queued
22:11:17  * travis-cijoined
22:11:18  <travis-ci>luvit/luvi#141 (cpucount_windows - c8e30b5 : Ryan Phillips): The build passed.
22:11:18  <travis-ci>Change view : https://github.com/luvit/luvi/commit/c8e30b59382a
22:11:18  <travis-ci>Build details : http://travis-ci.org/luvit/luvi/builds/41415682
22:11:18  * travis-cipart
22:14:33  * travis-cijoined
22:14:33  <travis-ci>luvit/luvi#143 (cpucount_windows - 996ea0e : Ryan Phillips): The build failed.
22:14:33  <travis-ci>Change view : https://github.com/luvit/luvi/compare/c8e30b59382a...996ea0ee9d7a
22:14:33  <travis-ci>Build details : http://travis-ci.org/luvit/luvi/builds/41416170
22:14:33  * travis-cipart
22:17:11  <rphillips>bummer... appveyor only gives 1 cpu core for free accounts
22:20:30  * cledevquit (Ping timeout: 256 seconds)
22:22:37  * cledevjoined
23:02:30  <rphillips>this tls.connect is still escaping me
23:02:49  <rphillips>openssl s_server says there is a handshake error
23:06:23  * cledevquit (Ping timeout: 240 seconds)
23:17:46  * tjcraveyquit (Quit: Textual IRC Client: www.textualapp.com)
23:26:30  * a_lequit (Read error: Connection reset by peer)
23:26:45  * a_lejoined
23:56:00  * dan3361quit (Quit: Leaving.)