00:19:42  <jirwin>creationix: nice!
00:31:27  * DarkGodquit (Ping timeout: 246 seconds)
01:16:33  <rphillips>creationix: a release anytime would be great
01:42:27  * kazuponjoined
03:34:23  * kazuponquit (Remote host closed the connection)
03:34:50  * kazuponjoined
03:39:03  * kazuponquit (Ping timeout: 246 seconds)
04:19:17  * kazuponjoined
04:32:59  * a_lequit (Remote host closed the connection)
05:01:48  * novikanequit (Ping timeout: 272 seconds)
05:28:12  * tim_smartquit (Quit: leaving)
06:30:28  * kazuponquit (Remote host closed the connection)
06:30:56  * kazuponjoined
06:31:17  * kazuponquit (Read error: Connection reset by peer)
06:31:22  * kazupon_joined
07:11:59  * kazuponjoined
07:15:00  * kazupon_quit (Ping timeout: 246 seconds)
07:16:27  * kazuponquit (Ping timeout: 245 seconds)
07:19:02  * DarkGodjoined
07:38:20  * kazuponjoined
10:44:37  * DarkGodquit (Ping timeout: 272 seconds)
10:57:33  * DarkGodjoined
11:03:52  * kazuponquit (Remote host closed the connection)
11:04:20  * kazuponjoined
11:08:52  * kazuponquit (Ping timeout: 244 seconds)
12:54:17  * a_lejoined
13:31:18  * kazuponjoined
14:20:22  * dan336joined
14:34:50  <creationix>it seems there is a memory leak we should fix before releasing
14:38:06  <rphillips>where?
14:39:59  <creationix>https://github.com/luvit/luvit/issues/509#issuecomment-56918579
14:41:13  <creationix>hmm, I can’t seem to find the actual issue as the moment. He’s in some asia timezone I think so it probably asleep now
14:42:27  <creationix>rphillips: how much do you know about coroutines and garbage collection in lua? They are different enough from es6 generators to be extremely confusing for me
14:43:02  * a_lequit (Remote host closed the connection)
14:43:13  <rphillips>very little
14:44:09  <creationix>cool, I’ve got an idea what’s wrong, was just hoping for some extra help.
14:44:33  <rphillips>http://stackoverflow.com/questions/3642808/abandoning-coroutines
14:44:39  <rphillips>this has a linked pdf
14:44:55  <creationix>Also Predawn for sublime combined with clang linter is a thing of beauty
14:45:45  <creationix>yep, my issue is they are being collected before I’m done with them
14:46:01  <creationix>libuv bindings allow me to keep references that lua vm doesn’t know about
14:46:19  <rphillips>gotcha
14:46:20  <creationix>(at least I assume that the issue, adding collectgarbage() everywhere triggers the bug)
14:48:54  <rphillips>https://github.com/kernelsauce/turbo/blob/master/turbo/ioloop.lua#L163
14:49:13  <rphillips>turbo keeps a reference for non-finalized coroutines
14:52:11  <creationix>I don’t want users of luv to have to do special things in lua side. It’s already bad that they have to remember to close all handles instead of automatically gc and close them.
14:52:42  <creationix>for userdata, I’m storing a reference in the global registry from creation till uv_close
14:52:51  <creationix>(till close callback actually)
14:53:13  <creationix>so that makes uv_loop_t* uv_req_t* and uv_handle_t* instances all safe
14:53:14  <rphillips>makes sense
14:53:48  <creationix>but I’m trying an experiment and blocking coroutines for one-off actions like uv.close and uv.write
14:54:15  <creationix>and all multiple emitters like timeouts and server connections create a new coroutine for the callback to run in
14:56:36  * a_lejoined
15:00:01  <creationix>ok, I think it’s my user-created coroutine getting collected. I never create one in C side in this case. I guess I need to always ref the currently running lua_State when yielding in C
15:34:35  <rphillips>i don't know what leak imzyxwvu is talking about
15:38:03  <creationix>I think hes confusing luv with luvit
16:00:57  * a_lequit (Remote host closed the connection)
16:07:06  * luastoned1joined
16:07:27  * luastoned1quit (Client Quit)
16:16:10  * a_lejoined
16:27:43  * a_lequit (Read error: Connection reset by peer)
16:28:21  * a_lejoined
16:42:45  * UniOnquit (Read error: Connection reset by peer)
16:43:41  * UniOnjoined
16:50:06  * UniOnquit (Read error: Connection reset by peer)
16:50:21  * UniOnjoined
16:55:19  * UniOnquit (Ping timeout: 272 seconds)
16:55:41  * UniOnjoined
17:02:17  * UniOnquit (Ping timeout: 272 seconds)
17:03:21  * UniOnjoined
17:06:29  * DarkGodquit (Ping timeout: 260 seconds)
17:14:13  * a_le_joined
17:14:49  * a_lequit (Read error: Connection reset by peer)
17:21:53  * a_le_quit (Ping timeout: 260 seconds)
17:31:56  * a_lejoined
17:43:27  * kazuponquit (Remote host closed the connection)
17:43:54  * kazuponjoined
17:44:15  * dan336quit (Read error: Connection reset by peer)
17:45:59  * dan336joined
17:46:35  * kazuponquit (Read error: Connection reset by peer)
17:46:48  * kazuponjoined
17:48:15  * kazupon_joined
17:49:44  * kazupon__joined
17:50:51  * kazuponquit (Read error: Connection reset by peer)
17:51:01  * kazupon__quit (Read error: Connection reset by peer)
17:51:14  * kazuponjoined
17:52:40  * kazupon_quit (Ping timeout: 260 seconds)
17:52:43  * kazupon__joined
17:54:11  * kazupon_joined
17:55:41  * kazupo___joined
17:55:56  * kazuponquit (Ping timeout: 272 seconds)
17:57:12  * kazuponjoined
17:57:20  * kazupon__quit (Ping timeout: 260 seconds)
17:59:06  * kazupon_quit (Ping timeout: 272 seconds)
17:59:47  * kazupo___quit (Ping timeout: 245 seconds)
18:00:12  * kazupon_joined
18:01:23  * kazuponquit (Ping timeout: 240 seconds)
18:01:34  * kazuponjoined
18:02:52  * kazuponquit (Read error: Connection reset by peer)
18:03:03  * kazuponjoined
18:04:35  * kazupon__joined
18:04:48  * kazupon_quit (Ping timeout: 272 seconds)
18:05:58  * kazupon__quit (Read error: Connection reset by peer)
18:06:03  * kazupon_joined
18:07:28  * kazupon__joined
18:07:34  * kazupon_quit (Read error: Connection reset by peer)
18:07:36  * kazuponquit (Ping timeout: 260 seconds)
18:11:57  * kazupon__quit (Ping timeout: 245 seconds)
18:11:57  * UniOnquit (Ping timeout: 272 seconds)
18:12:23  * UniOnjoined
18:22:32  * DarkGodjoined
18:26:14  * boxofroxjoined
18:38:01  * kazuponjoined
18:40:47  * kazuponquit (Read error: Connection reset by peer)
18:41:05  * kazuponjoined
18:49:41  * kazuponquit (Ping timeout: 260 seconds)
19:15:26  * kazuponjoined
19:20:29  * kazuponquit (Ping timeout: 260 seconds)
19:34:32  * grep_awezquit (Ping timeout: 272 seconds)
19:35:13  * grep_awayjoined
19:42:32  * kazuponjoined
19:49:21  * kazuponquit (Ping timeout: 260 seconds)
20:45:03  * kazuponjoined
20:50:13  * kazuponquit (Ping timeout: 258 seconds)
21:01:05  * indexzero_joined
21:01:27  * indexzero_quit (Client Quit)
21:04:22  * boxofroxquit (Ping timeout: 245 seconds)
21:30:42  * boxofroxjoined
21:46:04  * kazuponjoined
21:50:42  * kazuponquit (Ping timeout: 245 seconds)
22:27:12  * erlbot--quit (Remote host closed the connection)
22:27:26  * erlbot--joined
22:47:04  * kazuponjoined
22:51:52  * kazuponquit (Ping timeout: 250 seconds)
22:57:13  * dan336quit (Quit: Leaving.)
23:09:06  * a_lequit (Ping timeout: 246 seconds)
23:47:50  * kazuponjoined
23:52:56  * kazuponquit (Ping timeout: 272 seconds)