00:11:55  * UniOnquit (Remote host closed the connection)
00:16:59  * a_lequit (Remote host closed the connection)
00:40:03  * a_lejoined
00:51:00  * kazuponjoined
01:06:38  * kazuponquit (Remote host closed the connection)
01:18:18  * kazuponjoined
01:21:50  * DarkGodquit (Ping timeout: 265 seconds)
01:37:27  * a_lequit (Remote host closed the connection)
01:38:40  * a_lejoined
01:51:03  * a_lequit (Remote host closed the connection)
03:49:06  * kazuponquit (Remote host closed the connection)
04:45:07  * kazuponjoined
04:53:26  * kazupon_joined
04:55:45  * kazuponquit (Ping timeout: 260 seconds)
05:33:38  * a_lejoined
05:38:39  * a_lequit (Remote host closed the connection)
06:49:52  * SouL_quit (Ping timeout: 245 seconds)
07:18:23  * SouLjoined
10:34:08  * kazupon_quit (Remote host closed the connection)
13:21:27  * SouLquit (Ping timeout: 265 seconds)
14:44:12  * kazuponjoined
15:01:39  * a_lejoined
16:26:33  * a__quit (Remote host closed the connection)
16:29:56  * a__joined
16:43:22  <rphillips>https://github.com/zhaozg/lua-openssl
16:44:23  <rch>neat, uses select to not entirely impossible it could be rewritten to be async https://github.com/zhaozg/lua-openssl/blob/master/lib/ssl.lua#L93
16:45:07  <rphillips>yeah
16:45:40  <rphillips>rch: hey look, already done :) https://github.com/zhaozg/lua-openssl/blob/master/lib/luv/ssl.lua
16:47:01  <rch>awesome!
16:47:03  <rch>wow
16:48:05  <rphillips>creationix: ^ that would be slick to use in luvit_2
16:50:22  <creationix>good find. I should add that as an option into luvi
16:51:19  <creationix>heh, he updated his libuv bindings recently as well
16:51:24  <creationix>https://github.com/zhaozg/lua-lluv
17:42:03  * kazuponquit (Remote host closed the connection)
17:47:30  <creationix>rphillips, rch: the new require unit test passes with circular dependencies https://github.com/luvit/luvit/blob/luvi-up/tests/test-require.lua#L123-L131
17:47:50  <rphillips>hot
17:47:53  <creationix>https://github.com/luvit/luvit/blob/luvi-up/tests/fixtures/modules/child.lua https://github.com/luvit/luvit/blob/luvi-up/tests/fixtures/modules/parent.lua
17:52:35  * a_lechanged nick to a_le_AFK
17:56:03  <rch>neat
18:18:35  <creationix>I really want to implement readline in lua like node did in js
18:19:00  <creationix>it’s a pain to use the repl and not have readline support. Plus it would be cool to have auto-complete in the repl. rlwrap can’t do that
18:26:46  <creationix>rphillips: turned travis back on for the luvi-up branch https://travis-ci.org/luvit/luvit/builds/39300509
18:26:56  <creationix>using pre-built luvi binaries to speed up the tests a lot
18:37:36  <creationix>so a full clean/build/test cycle for luvit is currently super fast
18:37:38  <creationix>make clean test 0.03s user 0.02s system 81% cpu 0.064 total
18:37:57  <creationix>where “clean” is `rm app.zip luvit` and “build” is zip and concat
18:40:05  * travis-cijoined
18:40:05  <travis-ci>luvit/luvit#959 (luvi-up - 264c59e : Tim Caswell): The build was fixed.
18:40:05  <travis-ci>Change view : https://github.com/luvit/luvit/compare/fda2a7e5fb69...264c59ebc575
18:40:05  <travis-ci>Build details : http://travis-ci.org/luvit/luvit/builds/39300509
18:40:05  * travis-cipart
18:48:38  * travis-cijoined
18:48:39  <travis-ci>luvit/luvit#959 (luvi-up - 264c59e : Tim Caswell): The build was fixed.
18:48:39  <travis-ci>Change view : https://github.com/luvit/luvit/compare/fda2a7e5fb69...264c59ebc575
18:48:39  <travis-ci>Build details : http://travis-ci.org/luvit/luvit/builds/39300509
18:48:39  * travis-cipart
18:51:45  * travis-cijoined
18:51:45  <travis-ci>luvit/luvit#960 (luvi-up - ec96a28 : Tim Caswell): The build was fixed.
18:51:45  <travis-ci>Change view : https://github.com/luvit/luvit/compare/264c59ebc575...ec96a28776c2
18:51:45  <travis-ci>Build details : http://travis-ci.org/luvit/luvit/builds/39301960
18:51:45  * travis-cipart
18:52:56  * kazuponjoined
18:53:36  * travis-cijoined
18:53:37  <travis-ci>luvit/luvit#961 (luvi-up - 05ab0a0 : Tim Caswell): The build was fixed.
18:53:37  <travis-ci>Change view : https://github.com/luvit/luvit/compare/ec96a28776c2...05ab0a044e2b
18:53:37  <travis-ci>Build details : http://travis-ci.org/luvit/luvit/builds/39302024
18:53:37  * travis-cipart
18:57:37  * kazuponquit (Ping timeout: 260 seconds)
19:03:21  * travis-cijoined
19:03:22  <travis-ci>luvit/luvit#962 (luvi-up - 3d078ac : Tim Caswell): The build has errored.
19:03:22  <travis-ci>Change view : https://github.com/luvit/luvit/compare/05ab0a044e2b...3d078ac8baf6
19:03:22  <travis-ci>Build details : http://travis-ci.org/luvit/luvit/builds/39303330
19:03:22  * travis-cipart
19:03:49  * travis-cijoined
19:03:49  <travis-ci>luvit/luvit#963 (luvi-up - a7233a5 : Tim Caswell): The build passed.
19:03:49  <travis-ci>Change view : https://github.com/luvit/luvit/compare/3d078ac8baf6...a7233a5d72f0
19:03:49  <travis-ci>Build details : http://travis-ci.org/luvit/luvit/builds/39303377
19:03:49  * travis-cipart
19:13:16  * travis-cijoined
19:13:17  <travis-ci>luvit/luvit#963 (luvi-up - a7233a5 : Tim Caswell): The build passed.
19:13:17  <travis-ci>Change view : https://github.com/luvit/luvit/compare/3d078ac8baf6...a7233a5d72f0
19:13:17  <travis-ci>Build details : http://travis-ci.org/luvit/luvit/builds/39303377
19:13:17  * travis-cipart
19:15:02  <rphillips>creationix: i am thinking about binding lua-openssl to luvi with an `-DOpenSSL ON` option
19:15:16  <rphillips>thoughts?
19:15:28  <creationix>sounds great. I’m not sure what the proper way to add optional flags to cmake are
19:16:18  <creationix>also what about shared openssl vs static?
19:16:26  <creationix>(I prefer shared fwiw)
19:16:36  <rphillips>i think both should be a requirement
19:16:43  <rphillips>default to shared
19:16:48  <creationix>cool
19:17:01  <creationix>right now I’m setting CI for luvit on windows
19:17:13  <creationix>using the luvi.exe that was created by the CI for luvi
19:17:40  <creationix>as far as pre-built binaries, I think I’ll make just two flavors till we can setup some on-demand system
19:17:44  <creationix>bare and fat
19:17:51  <creationix>fat will have openssl, zlib, etc..
19:18:28  <rphillips>+1
19:18:38  <creationix>but plain luvi has enough primitives to replace most my production systems in node. luvi has a tiny inflate implemenetation it uses for zip reading. I’ll need that to read git repos as well
19:18:51  * creationixis considering porting js-git to lua
19:18:54  <rch>hahaha
19:18:55  <rch>whee
19:19:10  <creationix>I get constant emails about memory leaks in my node servers
19:19:15  <creationix>monitoring works
19:19:17  <creationix>:)
19:19:35  <rch>=]
19:19:40  <creationix>at least systemd restart them and the sites are up “most” the time
19:26:10  <creationix>heh require is busted on windows. I should have known
19:33:40  <creationix>wow, windows doesn’t have a command-line zip tool?
19:34:56  <rch>must have one
19:35:05  * rchhasn't used windows in 8 years
19:36:30  <creationix>you can zip via explorer in the gui
19:36:39  <creationix>right client and send to zip just like on osx or linux
19:36:51  <creationix>but I need something the ci can run
19:48:35  * UniOnjoined
19:49:18  * UniOnquit (Remote host closed the connection)
19:49:44  * UniOnjoined
20:01:02  * a_le_AFKchanged nick to a_le
20:23:00  * travis-cijoined
20:23:00  <travis-ci>luvit/luvi#38 (master - 539c8d1 : Tim Caswell): The build has errored.
20:23:00  <travis-ci>Change view : https://github.com/luvit/luvi/compare/e2263c20127e...539c8d1001e5
20:23:00  <travis-ci>Build details : http://travis-ci.org/luvit/luvi/builds/39311017
20:23:00  * travis-cipart
20:23:58  * travis-cijoined
20:23:58  <travis-ci>luvit/luvi#39 (master - f3846e1 : Tim Caswell): The build has errored.
20:23:58  <travis-ci>Change view : https://github.com/luvit/luvi/compare/539c8d1001e5...f3846e1ba51b
20:23:58  <travis-ci>Build details : http://travis-ci.org/luvit/luvi/builds/39311115
20:23:58  * travis-cipart
20:26:54  <creationix>what, how does changing the windows specefic path code break linux?
20:27:10  <creationix>good news, luvit passes all tests in windows!
20:27:26  <creationix>hopefully it also passes on appveyor
20:31:07  <creationix>looks like the travis failure was a network issue getting a submodule
20:31:09  <creationix>it’s fixed now
21:02:22  <creationix>Wohoo! Windows CI passed for luvi version of luvit https://ci.appveyor.com/project/creationix/luvit/build/1.0.3
21:02:44  <creationix>prebuild windows binaries for luvit can now be found at https://ci.appveyor.com/project/creationix/luvit/build/1.0.3/artifacts
21:02:55  <creationix>or rather https://ci.appveyor.com/project/creationix/luvit/build/artifacts
21:03:10  <creationix>551kb isn’t too bad
21:29:30  * DarkGodjoined
21:33:05  <rphillips>nice!
21:41:33  <creationix>I wonder how node.exe sets the green icon in the terminal window
21:41:43  <creationix>luvit.exe gets the generic app icon
21:42:18  <rphillips>"0.4.0" "Lua 5.1" "OpenSSL 1.0.1j 15 Oct 2014"
21:42:19  <rphillips>sweet
21:42:44  <creationix>rphillips: what’s that
21:42:46  <rphillips>requires an upstream tweak to the compat-5.2 library
21:42:52  <rphillips>that is lua-openssl bound to luvi
21:42:55  <creationix>nice
21:43:24  <creationix>I’m wondering if I should update the bindings to joyent/http-parser or port my pure js http parser to lua
21:43:31  <creationix>I’m pretty sure I’ll port my JSON parser to lua
21:43:34  <creationix>yajl is a mess
21:43:43  <creationix>luajit is quite fast if the lua code is written properly
21:44:06  <creationix>though for dukluv I’ll probably need http-parser to have any kind of performance. It’s JS engine is a simple interpreter
21:44:24  <creationix>(In the evenings I’m trying to keep dukluv to have feature parity with luvi and luvit
21:44:39  <rphillips>1 MB for the luvi executable dynamically linked
21:44:49  <creationix>rphillips: on OSX?
21:44:53  <rphillips>correct
21:44:58  <creationix>not bad
21:45:21  <creationix>it’s 786k without openssl
21:45:22  <creationix>not sure why osx is larger than windows
21:45:25  <rphillips>rebuilding with openssl, -DWithOpenSSL=OFF (default)
21:45:32  <rphillips>without*
21:45:51  <rphillips>786kb
21:45:54  <rphillips>not bad
21:46:45  <rphillips>https://github.com/hishamhm/lua-compat-5.2
21:47:00  <rphillips>i wonder if I can disable this library in lua-openssl
21:47:16  <creationix>My appveyor trial expires on Nov 10th
21:47:30  <rphillips>luaL_traceback and luaL_fileresult are duplicate symbols
21:47:53  <creationix>we have #define’s in luvi that so some 5.2 compat
21:48:34  <creationix>oh, I see, they also add stuff to the lua side. I’d rather not include that if possible
21:50:33  <rphillips>looks like the header only is needed
21:52:19  <creationix>great
21:53:30  <rphillips>i may have missed a define... checking into it
21:54:00  <creationix>and we can modify my defines to be more compatable if needed
21:54:11  <creationix>or add the missing ones needed by his bindings
21:54:34  <creationix>https://github.com/luvit/luv/blob/master/src/luv.h#L48-L56
22:11:48  <creationix>rphillips: for JSON do we need a streaming parser or just a JSON.parse() style one?
22:14:38  <rch>the protocol is newline delimited specifically to make streaming not necessary for virgo
22:14:57  <rch>i saw a good argument for double newline the other day so you can pretty print in the protocol
22:26:21  * travis-cijoined
22:26:21  <travis-ci>luvit/luvit#964 (luvi-up - 773184e : Tim Caswell): The build was broken.
22:26:21  <travis-ci>Change view : https://github.com/luvit/luvit/compare/6a72ac20b74c...773184e3d524
22:26:21  <travis-ci>Build details : http://travis-ci.org/luvit/luvit/builds/39323302
22:26:21  * travis-cipart
22:31:35  * kazuponjoined
22:42:28  * kazuponquit (Remote host closed the connection)
22:53:09  <rphillips>rch: link?
23:18:35  * UniOnquit (Remote host closed the connection)
23:20:46  * kazuponjoined
23:25:11  * kazuponquit (Ping timeout: 258 seconds)
23:37:27  <creationix>rch: yep, double newline works great if you want to allow pretty-printed json in the transport stream
23:37:50  <creationix>I just wonder if that’s taking it too far. Pretty-printed JSON is terribly bloated on the wire
23:38:03  <creationix>transport and human-readable have conflicting goals
23:38:41  <creationix>I guess if you applied a deflate transform on the stream it wouldn’t be as bloated
23:39:08  <creationix>but then it’s not human readable at all without inflate tools, so yeah
23:39:41  * travis-cijoined
23:39:41  <travis-ci>luvit/luvit#965 (luvi-up - 6d01443 : Tim Caswell): The build is still failing.
23:39:41  <travis-ci>Change view : https://github.com/luvit/luvit/compare/773184e3d524...6d01443b78fa
23:39:41  <travis-ci>Build details : http://travis-ci.org/luvit/luvit/builds/39330607
23:39:41  * travis-cipart
23:46:53  * songgaoquit (Ping timeout: 265 seconds)
23:48:56  * songgaojoined