00:02:52  * erlbot--quit (Remote host closed the connection)
00:16:21  * erlbot--joined
00:45:37  * UniOnquit (Remote host closed the connection)
00:50:49  * DarkGodquit (Ping timeout: 264 seconds)
01:32:35  * Akagi201_quit (Read error: Connection reset by peer)
01:33:12  * Akagi201joined
01:39:20  * joconnor_joined
01:42:16  * joconnorquit (Ping timeout: 255 seconds)
01:43:37  * joconnor_quit (Ping timeout: 255 seconds)
01:49:14  * Akagi201quit (Remote host closed the connection)
01:49:59  * Akagi201joined
02:18:27  * not^vjoined
02:20:16  <creationix>rphillips: thanks, fixed.
02:20:17  <creationix>https://twitter.com/creationix/status/580917098152505345
03:10:45  <rphillips>creationix: can you give me push access to the luvit.io repo
03:10:50  <rphillips>i have a WIP of a blogpost
03:11:18  <creationix>ok, luvit-admins added
03:11:54  <rphillips>thanks. pushed
03:15:53  <creationix>rphillips: though you won't be able to push it to luvit.io without my help yet
03:16:03  <creationix>(the real luvit.io, not the github repo)
03:17:29  <rphillips>np. still working on it
03:17:55  <creationix>rphillips: good start. One of the feedbacks I got from ken was to be careful with walls of text. I tried really hard to keep my code snippets as short as possible (leaving out a bit of detail that wasn't essential)
03:18:17  <creationix>also I think the long thin images in hardware-control help break it up too
03:18:48  <rphillips>good idea.
04:15:33  * not^vquit (Quit: http://i.imgur.com/Akc6r.gif)
04:52:37  * travis-cijoined
04:52:38  <travis-ci>luvit/luvit#1909 (http_post_error - 43812bd : Rob Emanuele): The build has errored.
04:52:39  <travis-ci>Change view : https://github.com/luvit/luvit/compare/0c84c7e32114...43812bd4e54f
04:52:39  <travis-ci>Build details : http://travis-ci.org/luvit/luvit/builds/55903820
04:52:39  * travis-cipart
05:03:47  * travis-cijoined
05:03:48  <travis-ci>luvit/luvit#1911 (http_post_error - fc6b624 : Rob Emanuele): The build has errored.
05:03:48  <travis-ci>Change view : https://github.com/luvit/luvit/compare/43812bd4e54f...fc6b624a45e7
05:03:48  <travis-ci>Build details : http://travis-ci.org/luvit/luvit/builds/55903875
05:03:48  * travis-cipart
06:05:45  * pfrazequit (Remote host closed the connection)
06:26:20  * Akagi201quit (Ping timeout: 272 seconds)
06:32:10  * Akagi201joined
08:33:05  * DarkGodjoined
10:46:38  * SouLjoined
11:09:23  * Akagi201quit (Remote host closed the connection)
11:09:58  * Akagi201joined
11:30:26  * pippinquit (*.net *.split)
11:30:27  * avdquit (*.net *.split)
11:30:27  * Akagi201quit (*.net *.split)
11:30:28  * piernovquit (*.net *.split)
11:30:28  * Michalikquit (*.net *.split)
11:30:29  * rjequit (*.net *.split)
11:30:29  * endouquit (*.net *.split)
11:30:29  * ksheedloquit (*.net *.split)
11:30:29  * jirwinquit (*.net *.split)
11:30:30  * jetlquit (*.net *.split)
11:30:30  * bjornquit (*.net *.split)
11:30:31  * Igelquit (*.net *.split)
11:30:32  * endou________quit (*.net *.split)
11:30:33  * indexzeroquit (*.net *.split)
11:30:33  * erlbot--quit (*.net *.split)
11:30:34  * tjcraveyquit (*.net *.split)
11:30:34  * avidalquit (*.net *.split)
11:30:35  * DarkGodquit (*.net *.split)
11:30:35  * creationixquit (*.net *.split)
11:30:35  * songgaoquit (*.net *.split)
11:30:35  * rchquit (*.net *.split)
11:30:36  * mapequit (*.net *.split)
11:30:36  * SouLquit (*.net *.split)
11:30:37  * rphillipsquit (*.net *.split)
11:34:01  * avd`joined
11:34:01  * Akagi201joined
11:34:01  * SouLjoined
11:34:01  * DarkGodjoined
11:34:01  * erlbot--joined
11:34:01  * pippinjoined
11:34:01  * piernovjoined
11:34:01  * jetljoined
11:34:01  * rjejoined
11:34:01  * endoujoined
11:34:01  * creationixjoined
11:34:01  * ksheedlojoined
11:34:01  * bjornjoined
11:34:01  * songgaojoined
11:34:01  * Igeljoined
11:34:01  * Michalikjoined
11:34:01  * rchjoined
11:34:01  * tjcraveyjoined
11:34:01  * rphillipsjoined
11:34:01  * jirwinjoined
11:34:01  * avidaljoined
11:34:01  * endou________joined
11:34:01  * indexzerojoined
11:34:01  * mapejoined
12:06:06  <rphillips>good morning
12:21:15  * SouLquit (Read error: Connection reset by peer)
14:24:24  * avd`quit (Changing host)
14:24:24  * avd`joined
14:28:27  * UniOnjoined
14:28:45  * UniOnquit (Remote host closed the connection)
14:29:10  * UniOnjoined
14:33:40  * pfrazejoined
15:04:20  * UniOnquit (Remote host closed the connection)
15:04:45  * UniOnjoined
15:22:34  * pfrazequit (Remote host closed the connection)
15:40:01  <creationix>mornin
15:40:07  <rch>good morning
15:49:00  <rphillips>morning
16:08:29  * Akagi201quit (Remote host closed the connection)
16:09:06  * Akagi201joined
16:16:33  <rphillips>creationix: does lit make to the github URL understand how to use a tag?
16:16:47  <creationix>yes
16:16:57  <creationix>github://user/project#tag
16:17:14  <rphillips>sweet. thanks
16:17:32  <creationix>it just replaces “master” with the tag or branch https://github.com/luvit/lit/archive/master.zip
16:17:41  <creationix>so whatever github supports
16:17:52  <rphillips>cool. exactly what I needed
16:17:59  <rphillips>working on the build scripts
16:18:57  * Akagi201_joined
16:22:42  * Akagi201quit (Ping timeout: 256 seconds)
16:31:26  * joconnorjoined
17:09:33  * joconnorquit (Remote host closed the connection)
17:12:22  <rphillips>porting all the changes into the luvi-up branch
17:16:11  * joconnorjoined
17:28:25  * pfrazejoined
17:29:21  <rphillips>done
17:31:40  <rje>creationix: https://github.com/luvit/luvit/pull/669 this test now gives the correct result but luvit never exits. is there a good way to see what descriptors are still in use?
17:32:24  <creationix>rje: you can always use uv.walk to see what uv handles are open
17:32:25  <creationix>not sure how much detail you can get from them though
17:33:30  <rphillips>uv.walk(p)
17:40:56  <rch>i like this in node: https://github.com/Raynos/leaked-handles
17:41:00  <rch>something similar in luvit might be cool
17:41:25  <rch>lit install --dev rje/leaked-handles
17:41:27  <rch>^ think of it
17:41:33  * rchdoesn't know if lit supports --dev
17:42:27  <creationix>it doesn’t, but it doesn’t even auto-insert into package.lua anyway
17:43:11  <creationix>btw, the “tap” test framework used by luvit already has something like raynos/leaked-handles built in
17:43:24  <creationix>it’s a hard failure to not cleanup after yourself in a test
17:44:23  <rje>creationix: trying to fix the http issue where the server closes the socket before all the data is sent
17:44:45  <creationix>my luvit.io server was stopping on me last night while writing the blog post
17:44:50  <creationix>no error at all, it would just sometimes exit
17:44:59  <rphillips>hmm
17:45:14  <creationix>it does’t use any of luvit’s http code other than the http-codec
17:45:17  <rje>https://github.com/luvit/luvit/pull/669/files
17:45:33  <rje>oh, then its not that
17:45:36  * joconnorquit (Remote host closed the connection)
17:45:46  <creationix>yeah, unrelated I think
17:47:51  * joconnorjoined
18:05:07  * DarkGodquit (Ping timeout: 265 seconds)
18:08:42  * SouLjoined
18:09:05  <rphillips>i think this could be cool... have a REST API that auths via github ssh key
18:09:14  <rphillips>and executes a remote command
18:27:51  <creationix>rphillips: and then the server can have a list of authorized users and even have local user accounts for them
18:27:59  <creationix>or allow some users to run as root
18:30:34  <rphillips>exactly
18:31:39  * creationixis trying to cleanup the luvit backlog, got it down to 50 issues on waffle.
18:58:56  <creationix>much cleaner, down to 36 is backlog
18:59:02  <creationix>now what’s left are real issues mostly
19:21:31  * joconnorquit (Remote host closed the connection)
19:25:58  <rje>so the http issue comes down to this.... https://github.com/luvit/luvit/pull/669/files#diff-ca5fe4df66831f999037cad7605bf824L125
19:26:46  <rje>if we _end the socket there, the buffered data will not get sent. if we don't end it, it'll never get closed
19:39:50  * joconnorjoined
19:39:59  * joconnorquit (Remote host closed the connection)
19:44:45  <creationix>shutdown, wait for callback and then end
19:45:11  * pfrazequit (Remote host closed the connection)
19:45:22  <creationix>I wonder if that’s what _end is supposed to do
19:46:02  <creationix>rje: ^
19:47:14  <rje>i'm just reading net.lua L129 and going hmmmmmm
19:48:58  <rje>shutdown for the win
20:03:27  * DarkGodjoined
20:05:38  * pfrazejoined
20:11:04  * pfrazequit (Remote host closed the connection)
20:20:12  * pfrazejoined
20:24:40  <creationix>I think I finally figured how to handle errors in luv!
20:25:43  <creationix>I’ll add a couple of callbacks to uv.run that will also implement asyny-handler functionality as well as scoped error handlers
20:26:16  <creationix>all calls from C to lua will be protected and forward the exceptions to the callbacks
20:26:47  <creationix>if the error handler errors, then it will be forwarded to the parent uv.run()
20:26:51  <creationix>(they can be nested)
20:27:18  <creationix>if a top-level uv.run error handler throws, then the process will hard-exit
20:27:48  <creationix>it should be easy enough in luvit to write an error handler that’s unlikely to throw
20:31:16  * travis-cijoined
20:31:17  <travis-ci>luvit/luvit#1913 (http_post_error - 0e642e3 : Rob Emanuele): The build passed.
20:31:17  <travis-ci>Change view : https://github.com/luvit/luvit/compare/fc6b624a45e7...0e642e376c51
20:31:17  <travis-ci>Build details : http://travis-ci.org/luvit/luvit/builds/56008086
20:31:17  * travis-cipart
20:43:53  <rphillips>creationix: nice
20:47:45  * joconnorjoined
20:50:09  <creationix>rphillips: explained in more detail at https://github.com/luvit/luv/issues/127 and https://github.com/luvit/luv/issues/128
20:52:31  <rphillips>nice
20:52:35  <creationix>rphillips: what do you mean unbounded?
20:52:46  <rphillips>if it's a stack of errors
20:52:55  <rphillips>it might grow unbounded
20:53:25  <creationix>I don’t understand what you mean
20:53:38  <creationix>the error handlers can only by nested by nesting multiple uv.run() calls
20:53:40  <rphillips>i guess my concern is if the application does not handle the errors
20:53:49  <rphillips>oh i see
20:54:11  <creationix>if an error handler throws, it doesn’t loop into itself
20:54:19  <rphillips>yeah, that makes sense, I was confused
20:54:21  <creationix>just it’s parent handler if there is one
20:54:36  <creationix>the only use case I know of for nested uv.run calls is test frameworks
20:54:53  <creationix>since it is global in scope, but limited in time
20:55:00  <rphillips>right
20:55:35  <creationix>I don’t even need a linked list to remember the parent error handler, I can store it in a local variable in my uv.run wrapper and restore when uv_run() returns
20:55:40  <creationix>it will all be in the C stack
20:57:44  <creationix>hmm, but that will be tricky since my wrapper function will be still blocked by uv_run() when the exception happens.
21:00:05  <creationix>I’ll just have to store the error somewhere global and call uv_stop() to unblock uv_run()
21:02:27  <creationix>yeah, that will work really nice actually and be quite simple to implement
21:13:01  * joconnorquit (Remote host closed the connection)
21:17:32  * joconnorjoined
21:24:55  <rje>are these fs test errors new? https://ci.appveyor.com/project/racker-buildbot/luvit/build/1.0.576
21:25:18  <rje>https://github.com/luvit/luvit/pull/669
21:27:50  <creationix>rje: I think that’s the windows-only errors that rphillips mentioned during our last maas planning meeting
21:27:53  <creationix>it’s been there a while
21:28:40  <creationix>looks like a bad test rather than an error in the library
21:30:10  <rje>ok
22:09:34  * joconnorquit (Remote host closed the connection)
22:13:27  * joconnorjoined
22:31:56  * joconnorquit (Remote host closed the connection)
22:33:27  * travis-cijoined
22:33:28  <travis-ci>luvit/luv#281 (error-redo - c32f97d : Tim Caswell): The build has errored.
22:33:28  <travis-ci>Change view : https://github.com/luvit/luv/commit/c32f97db753d
22:33:28  <travis-ci>Build details : http://travis-ci.org/luvit/luv/builds/56024583
22:33:28  * travis-cipart
22:34:44  * creationixpart
22:34:51  * creationixjoined
22:36:09  * travis-cijoined
22:36:10  <travis-ci>luvit/luv#283 (error-redo - 940bdc2 : Tim Caswell): The build passed.
22:36:10  <travis-ci>Change view : https://github.com/luvit/luv/compare/c32f97db753d...940bdc20eeec
22:36:10  <travis-ci>Build details : http://travis-ci.org/luvit/luv/builds/56024758
22:36:10  * travis-cipart
22:53:43  * joconnorjoined
23:04:22  * joconnorquit (Remote host closed the connection)
23:13:06  * joconnorjoined