00:12:55  * DarkGodquit (Quit: Leaving)
00:13:04  * DarkGodjoined
00:24:35  * travis-cijoined
00:24:35  <travis-ci>luvit/luvit#1420 (tweak/dns_resolve_prototype - b476225 : Ryan Phillips): The build passed.
00:24:35  <travis-ci>Change view : https://github.com/luvit/luvit/commit/b47622589af8
00:24:35  <travis-ci>Build details : http://travis-ci.org/luvit/luvit/builds/46016964
00:24:35  * travis-cipart
01:06:09  * UniOnquit (Remote host closed the connection)
01:14:02  * a_lequit (Remote host closed the connection)
01:16:26  * travis-cijoined
01:16:26  <travis-ci>luvit/luvit#1421 (tweak/dns_resolve_prototype - c2486cf : Ryan Phillips): The build passed.
01:16:26  <travis-ci>Change view : https://github.com/luvit/luvit/compare/b47622589af8...c2486cfcb1be
01:16:26  <travis-ci>Build details : http://travis-ci.org/luvit/luvit/builds/46020611
01:16:26  * travis-cipart
01:23:02  * DarkGodquit (Quit: Leaving)
01:23:24  * a_lejoined
01:31:02  * a_le_joined
01:32:03  * a_le_quit (Remote host closed the connection)
01:32:35  * a_lequit (Ping timeout: 256 seconds)
01:37:24  * a_lejoined
01:38:07  * travis-cijoined
01:38:07  <travis-ci>luvit/luvit#1423 (luvi-up - d1dd4de : Ryan Phillips): The build passed.
01:38:07  <travis-ci>Change view : https://github.com/luvit/luvit/compare/dc04fceae938...d1dd4de49c40
01:38:07  <travis-ci>Build details : http://travis-ci.org/luvit/luvit/builds/46022025
01:38:07  * travis-cipart
02:52:37  * a_lequit (Remote host closed the connection)
03:01:07  * travis-cijoined
03:01:07  <travis-ci>luvit/luvit#1424 (luvi-up - 72edede : Tim Caswell): The build passed.
03:01:07  <travis-ci>Change view : https://github.com/luvit/luvit/compare/d1dd4de49c40...72ededea6f2f
03:01:07  <travis-ci>Build details : http://travis-ci.org/luvit/luvit/builds/46027509
03:01:07  * travis-cipart
03:14:35  * a_lejoined
03:16:23  <rphillips>new libuv release
09:07:11  * torporjoined
09:25:19  * torporquit (Quit: Leaving.)
10:12:40  * torporjoined
10:55:25  * UniOnjoined
11:04:53  * torpor1joined
11:06:07  * torporquit (Ping timeout: 252 seconds)
11:17:36  * UniOnquit (Read error: Connection reset by peer)
11:18:02  * UniOnjoined
11:55:15  * torpor1quit (Quit: Leaving.)
11:55:59  * torporjoined
12:06:02  * franz_joined
12:08:52  <franz_>hello ony may simple question. With luvit it shut be possible to make a cgi to lua scritp or isnt it? (I mean with cgi, that i have a page in my brwoser where i can enter a value for a variable and this value is passed to my lua script wher i can do stuff and pass it back to the page in my browser). Sorry if english is bad or if question is really stupid... but i search for a way to do this quit for a long time...
12:29:54  <xt>franz_: use openresty instead :-)
13:34:26  * Akagi201quit (Ping timeout: 244 seconds)
14:20:01  <rphillips>franz_: cgi is just environment variables
14:20:14  <rphillips>so yes, you could use luvit for that
14:20:34  <rphillips>might be better to proxy to a service
14:31:56  * torporquit (Quit: Leaving.)
14:33:43  * torporjoined
14:44:57  * torporquit (Quit: Leaving.)
14:47:38  * torporjoined
15:49:34  * torporquit (Read error: No route to host)
15:49:38  * torpor1joined
15:52:44  * franz_quit (Quit: Verlassend)
16:12:05  <rphillips>creationix: can you review the TLS PR?
16:12:59  * travis-cijoined
16:12:59  <travis-ci>luvit/luvit#1425 (luvi-up - e126b43 : Ryan Phillips): The build passed.
16:12:59  <travis-ci>Change view : https://github.com/luvit/luvit/compare/72ededea6f2f...e126b43f4404
16:12:59  <travis-ci>Build details : http://travis-ci.org/luvit/luvit/builds/46087561
16:12:59  * travis-cipart
16:40:26  <creationix>it appears I’m still the only author on lit. Has everyone been to busy to test or is it not working?
16:40:46  <creationix>(this is for the default upstream at lit.luvit.io port 4821)
16:46:44  <rphillips>i'll install it. on call this week
16:49:46  <rphillips>/Users/tim/Code/luvi/src/lua/init.lua:341: ENOENT: no such file or directory: /Users/ryan.phillips/Development/@cloudkick/lit/app/modules/creationix/require.lua
16:49:48  <rphillips>hmm
16:49:51  <rphillips>creationix: ^
16:51:57  <creationix>yeah, bootstrapping is somewhat tricky because some of the deps aren’t in the git tree
16:52:24  <creationix>if you copy require.lua and pretty-print from luvit’s modules folder to lit’s modules/creationix folder, it will be enough to run the lit install the rest
16:53:05  <creationix>or you can checkout the build branch which is just the app folder with all deps pre-installed
16:53:11  <creationix>and do the normal LUVI_APP, LUVI_TARGET dance
16:53:16  <creationix>it doesn’t need luvit anymore, just luvit
16:53:20  <creationix>*(just luvi)
16:54:34  <rphillips>worked
16:55:27  <rphillips>it needs quite a few files moved over
16:55:41  <rphillips>json, http-codec, readline
16:55:46  <creationix>yep
16:56:02  <rphillips>fail: [string "bundle:modules/creationix/ssh-rsa.lua"]:90: bad argument #2 to 'digest' (string expected, got nil)
16:56:49  <creationix>trying to `lit auth`?
16:56:55  <rphillips>yeah
16:57:08  <creationix>you do have a private key at $HOME/.ssh/rsa_key right?
16:58:04  <rphillips>~/.ssh/id_rsa
16:58:06  <rphillips>?
16:58:31  <creationix>yeah, that’s what I meant
16:58:42  <rphillips>yeah, I just added it to github
17:00:41  <creationix>I wonder how you got nil, stach trace?
17:00:42  <creationix>*stack
17:01:28  <creationix>the fingerprint on line 43 of commands/auth.lua can’t be nil, loadPrivate always throws or returns a string
17:01:45  <creationix>maybe inside importKeys somewhere
17:01:51  <rphillips>checking
17:04:10  <creationix>yep, must be that one. loadPublic will return nil if it encounters a problem
17:04:29  <creationix>you must have some non rsa keys on github
17:04:45  <rphillips>https://gist.github.com/rphillips/230f215df331f57060af
17:04:48  <rphillips>stacktrace
17:04:58  <creationix>yep, your first key is a dss
17:05:03  <creationix>my bug, I’ll fix
17:06:22  <creationix>pull and try again. I’m deploying to the server now so you can publish too
17:06:49  <creationix>ok, deployed
17:06:57  <rphillips>bingo
17:06:59  <rphillips>success
17:07:41  <creationix>thanks for testing
17:08:06  <creationix>let me know when you have something published
17:09:32  <rphillips>lit publish .
17:09:34  <rphillips>?
17:09:48  <creationix>if it’s a folder, yeah
17:09:54  <creationix>publish uses the same path as add
17:09:57  <creationix>defaults to cwd
17:10:14  <rphillips>upstream required to publish
17:10:19  <creationix>`lit up`
17:10:23  <creationix>defaults to offline mode
17:11:12  <rphillips>https://gist.github.com/rphillips/dc7e78abfc3bfa48883b
17:11:20  <rphillips>econnrefused
17:11:23  <rphillips>oh
17:11:26  <rphillips>i'm on the vpn at the office
17:11:42  <creationix>yeah, I was afraid of that
17:11:50  <creationix>I guess I need to move to websockets over tls
17:12:12  <creationix>stupid proxies
17:12:16  <rphillips>+1
17:12:55  <creationix>https is the only reliable protocol there right?
17:13:06  <creationix>I seem to remember http gets changed by some proxy
17:13:13  <creationix>though I doubt it would affect websockets
17:13:50  <rphillips>right
17:13:58  <rphillips>https is probably the best bet
17:16:34  <creationix>time to figure out https client then
17:26:40  * travis-cijoined
17:26:40  <travis-ci>luvit/luvit#1426 (luvi-up - 0e8e313 : Tim Caswell): The build passed.
17:26:40  <travis-ci>Change view : https://github.com/luvit/luvit/compare/e126b43f4404...0e8e313fc2b5
17:26:40  <travis-ci>Build details : http://travis-ci.org/luvit/luvit/builds/46096038
17:26:40  * travis-cipart
17:50:44  * torpor1quit (Quit: Leaving.)
18:20:59  * dan336joined
18:36:31  <rphillips>creationix: rje: https://github.com/luvit/luvit/pull/579
18:37:09  <creationix>looks good
18:37:19  <creationix>did you test it against luvi 0.5.6 yet (with updated lua-openssl)?
18:39:49  <rphillips>i have
18:39:57  <rphillips>worked
18:41:22  * travis-cijoined
18:41:22  <travis-ci>luvit/luvit#1427 (luvi-up - f0be195 : Ryan Phillips): The build passed.
18:41:22  <travis-ci>Change view : https://github.com/luvit/luvit/compare/0e8e313fc2b5...f0be195d97ac
18:41:22  <travis-ci>Build details : http://travis-ci.org/luvit/luvit/builds/46104477
18:41:22  * travis-cipart
18:44:37  * DarkGodjoined
19:25:22  <rphillips>creationix: i'm integrating luvit into virgo-base
19:25:29  <rphillips>and something is catching exceptions
19:25:45  <creationix>any idea what it is
19:25:50  <creationix>I’ve been seeing that issue off and on
19:25:57  <creationix>it’s not coroutine.resume as I thought
19:26:08  <creationix>and you’re not using mane coroutines anyway right?
19:26:40  <rphillips>right
19:28:17  <rphillips>might be the streams
19:28:55  <rphillips>nope
19:29:13  <rphillips>i'll try and figure it out... it's making debugging really hard
19:30:36  <creationix>I think it’s an issue with luv
19:30:48  <creationix>I’ve been considering changing how errors are handled in callbacks
19:31:11  <rphillips>testing.SomeFunc = 1
19:31:11  <creationix>maybe add a global error handler for luv for when callbacks throw
19:31:18  <rphillips>if i put that into a file it doesn't exit
19:31:32  <rphillips>testing is nil
19:31:40  <creationix>in luvit?
19:32:15  <rphillips>hmm. it excepts in the luvit repl
19:32:56  <rphillips>i'll play with it some more... might be tap
19:33:05  <rphillips>i'm running things through the tap framework
19:33:14  <creationix>could be
19:33:20  <creationix>my tap or the old luvit one?
19:33:34  <rphillips>not sure... which one is the most recent?
19:33:43  <creationix>the one in luvi-up is mine
19:34:08  <rphillips>k
19:34:43  <creationix>but really, I’ve been thinking for a while I need to improve error handling in luv. If there is an uncaught exception in any callback (so basically anything before the first uv.run), it will long jump out of uv.run
19:34:52  <rphillips>that was it!
19:35:06  <rphillips>i copied the latest tap, and it crashes now
19:35:15  <creationix>yeah, I fixed a few bugs there
19:35:21  <rphillips>fg
19:35:24  <rphillips>woops
19:46:36  <rphillips>sweet...
19:47:09  <rphillips>the connection test suite (just one legacy test ported), works... binary crashes in the x509 stuff at the end though
19:48:05  <creationix>interesting
19:48:34  <rphillips>the x509_store memory management has been a real PITA
19:56:34  <rphillips>https://github.com/zhaozg/lua-openssl/issues/34
19:57:47  <creationix>the joys of using new software
19:59:41  <rphillips>yeah, it's still the same issue
20:04:44  <rphillips>hmm. checked out a new tree and it worked
20:05:10  <rphillips>submodule wasn't updated :(
20:05:19  <rphillips>cool. no crash and the test worked
20:05:25  <creationix>:(
20:05:47  <creationix>I was worried I built the binary wrong
20:21:32  <creationix>rphillips: so the _common_tls.lua file is your main wrapper around lua-openssl?
20:45:07  * torporjoined
20:47:51  * torporquit (Client Quit)
20:58:22  <rphillips>creationix: correct
20:58:31  <rphillips>there is a tls.lua as well
21:03:54  <creationix>I’m currently running luacheck on the codebase
21:04:02  <creationix>so many scope errors and leaking globals in the stream code
21:07:40  <rphillips>do you have a git commit hook? I should set one up as well
21:09:28  <creationix>https://github.com/luvit/luvit/pull/581
21:09:44  <creationix>some of the more obvious errors in the lint check. It doesn’t fix all the warnings
21:10:17  * travis-cijoined
21:10:18  <travis-ci>luvit/luvit#1428 (luacheck-fixes - 7792bfb : Tim Caswell): The build passed.
21:10:18  <travis-ci>Change view : https://github.com/luvit/luvit/compare/0a1da2b8a733^...7792bfbf7cbb
21:10:18  <travis-ci>Build details : http://travis-ci.org/luvit/luvit/builds/46122071
21:10:18  * travis-cipart
21:13:04  <creationix>rje: I see we have the pro version of appveyor, but for some reason, it hasn’t built anything in over 20 days
21:15:26  * travis-cijoined
21:15:26  <travis-ci>luvit/luvit#1430 (luacheck-fixes - 5f300bf : Tim Caswell): The build passed.
21:15:26  <travis-ci>Change view : https://github.com/luvit/luvit/compare/7792bfbf7cbb...5f300bf49070
21:15:26  <travis-ci>Build details : http://travis-ci.org/luvit/luvit/builds/46122326
21:15:26  * travis-cipart
21:24:31  * travis-cijoined
21:24:31  <travis-ci>luvit/luvit#1432 (luacheck-fixes - 1d51af9 : Tim Caswell): The build passed.
21:24:31  <travis-ci>Change view : https://github.com/luvit/luvit/compare/5f300bf49070...1d51af906761
21:24:31  <travis-ci>Build details : http://travis-ci.org/luvit/luvit/builds/46123569
21:24:31  * travis-cipart
21:26:16  <creationix>rphillips: ok, added a lint target to the luvit makefile with a somewhat sane luacheck config
21:26:24  <creationix>after my patch there are still 22 warnings
21:26:29  <rphillips>coo
21:26:43  <creationix>now if only I can install luacheck on my windows box
21:27:21  * travis-cijoined
21:27:21  <travis-ci>luvit/luvit#1434 (luacheck-fixes - 9e72a6b : Tim Caswell): The build passed.
21:27:21  <travis-ci>Change view : https://github.com/luvit/luvit/compare/1d51af906761...9e72a6b747c0
21:27:21  <travis-ci>Build details : http://travis-ci.org/luvit/luvit/builds/46123904
21:27:21  * travis-cipart
21:39:48  <rje>creationix, yeah, we got the upgrade christmas week. not sure why it hasn't built
21:59:40  <rphillips>looks like the webhook fired
22:00:15  <creationix>yeah, it’s got the commits queued
22:00:28  <rphillips>webhook id changed
22:01:16  <rphillips>updated
22:01:19  <rphillips>for luvit
22:01:29  <creationix>I moved them all to the new appveyor account back then
22:01:45  <bjorn>Hmm, thanks for making me aware of luacheck. :)
22:01:55  <creationix>luacheck is awesome
22:02:25  <rphillips>is it still https://ci.appveyor.com/project/creationix/luvit
22:02:25  <bjorn>I'll certainly try it out on our codebase at work. Though, we already were using a custom checker for global usage. Unused locals would be nice clean out as well though.
22:02:27  <rphillips>?
22:02:43  <creationix>rphillips: nope
22:02:59  <creationix>moved to racker-buildbot account
22:04:38  <rphillips>hmm. do I need access to tha account?
22:04:40  <rphillips>that*
22:05:50  * not^vjoined
22:06:11  <rphillips>looks like we should kill the builds from 21 days ago
22:16:25  <creationix>ok, canceled the old luvi builds
22:20:14  <creationix>luvit seems to be running again, maybe
22:20:26  <creationix>hmm, but it’s all broken
22:21:37  <creationix>ok, we’ve only got one concurrent build, once the luvit queue finishes, I’ll see if the others start
22:23:45  <creationix>yep, seems to be working. It randomly picks from the three queues. Should be caught up after a bit
22:24:18  * dan336quit (Quit: Leaving.)
22:29:37  <creationix>luvit is green! https://ci.appveyor.com/project/racker-buildbot/luvi
22:29:41  <creationix>*luvi
22:34:47  <rphillips>sweet
22:35:10  <rphillips>3 minute build
22:35:14  <rphillips>that is a ton faster, isn't it?
22:36:47  * travis-cijoined
22:36:47  <travis-ci>luvit/luvit#1436 (luvi-up - 7baa330 : Tim Caswell): The build passed.
22:36:47  <travis-ci>Change view : https://github.com/luvit/luvit/compare/f0be195d97ac...7baa330e069b
22:36:47  <travis-ci>Build details : http://travis-ci.org/luvit/luvit/builds/46131686
22:36:47  * travis-cipart
22:39:36  * dan336joined
22:39:55  <creationix>luv is now gren https://ci.appveyor.com/project/racker-buildbot/luv
22:39:58  <creationix>*green
22:56:34  * not^vquit (Ping timeout: 244 seconds)
23:15:25  <rphillips>creationix: is there a way to readdir a directory in the bundle?
23:16:00  <creationix>yep
23:16:43  <creationix>just do bundle.readdir(path)
23:16:48  <rphillips>sweet, thanks
23:16:49  <creationix>it will return a list of entries
23:16:53  <creationix>https://github.com/luvit/luvi/blob/master/samples/test.app/main.lua#L149
23:20:55  * erlbot--quit (*.net *.split)
23:20:56  * endou_quit (*.net *.split)
23:21:15  * endoujoined
23:21:31  * erlbot--joined