00:41:53  * coolaj86quit (Read error: Operation timed out)
00:53:50  * joshthecoderquit (Read error: Connection reset by peer)
00:53:55  * jroessleinjoined
01:01:54  * xming_joined
01:04:48  * xmingquit (Ping timeout: 246 seconds)
01:22:45  * jroessleinquit (Quit: Leaving...)
01:29:25  * luastonedjoined
01:31:34  * luastonedquit (Client Quit)
03:10:42  <boxofrox>interesting goal. luvit's documentation will require vast improvement, imho, among other things to convince a team to put it on a satellite or rover. unless you know someone?
03:14:00  * joshthecoderjoined
03:29:43  * coolaj86joined
03:39:42  <creationix>boxofrox: true that
03:39:56  <creationix>my goal is just get it inside a popular iOS app-store game
03:40:06  <creationix>or android or desktop
03:40:36  <creationix>I want to make something like phone-gap that's a cross paltform app framework using lua + GL
03:40:44  <creationix>(phonegap is html5)
04:13:30  <levi>I want to make so many things that I never get around to making any of them. :P
04:54:12  * coolaj86quit (Ping timeout: 276 seconds)
05:46:07  <CIA-113>Brandon Philips bump-libuv-to-0.8 * rebc9f81 / (src/luv_process.c tests/test-process.lua): luv_process: upgrade to libuv 0.8 - https://github.com/luvit/luvit/commit/ebc9f8122851b463877dc85bdbb5014ce6464042
05:47:51  <CIA-113>Brandon Philips bump-libuv-to-0.8 * re00bf17 / tests/test-dns.lua : test-dns: note why we are calling deprecated functions in test - https://github.com/luvit/luvit/commit/e00bf17cc93c626d8c94040f4282ecff5f5d2245
06:02:35  * aliemjoined
06:17:24  * travis-cijoined
06:17:25  <travis-ci>[travis-ci] luvit/luvit#307 (bump-libuv-to-0.8 - ebc9f81 : Brandon Philips): The build is still failing.
06:17:25  <travis-ci>[travis-ci] Change view : https://github.com/luvit/luvit/compare/31bfcc47c469...ebc9f8122851
06:17:25  <travis-ci>[travis-ci] Build details : http://travis-ci.org/luvit/luvit/builds/2054755
06:17:25  * travis-cipart
06:18:46  * coolaj86joined
06:19:12  * xming_quit (Read error: Connection reset by peer)
06:19:14  * travis-cijoined
06:19:14  <travis-ci>[travis-ci] luvit/luvit#308 (bump-libuv-to-0.8 - e00bf17 : Brandon Philips): The build is still failing.
06:19:14  <travis-ci>[travis-ci] Change view : https://github.com/luvit/luvit/compare/ebc9f8122851...e00bf17cc93c
06:19:14  <travis-ci>[travis-ci] Build details : http://travis-ci.org/luvit/luvit/builds/2054760
06:19:14  * travis-cipart
07:13:30  * `3rdEdenjoined
07:14:30  * mmalecki[away]joined
07:24:03  * coolaj86quit (Ping timeout: 252 seconds)
07:25:03  * luastonedjoined
07:33:19  * luastonedquit (Quit: Leaving.)
07:41:34  * mmalecki[away]changed nick to mmalecki
07:44:32  * `3rdEdenquit (*.net *.split)
07:44:33  * leviquit (*.net *.split)
07:44:33  * daurnimatorquit (*.net *.split)
08:09:24  * `3rdEdenjoined
08:12:42  * levijoined
08:12:42  * daurnimatorjoined
08:17:41  * joshthecoderquit (Ping timeout: 240 seconds)
09:00:04  * mmaleckiquit (Ping timeout: 244 seconds)
09:18:31  * mmaleckijoined
09:42:39  * aliemquit (Remote host closed the connection)
10:54:04  * mmaleckichanged nick to mmalecki[food]
11:39:51  * jimt_joined
11:41:52  * jimtquit (Ping timeout: 250 seconds)
13:15:58  * mmalecki[food]changed nick to mmalecki
13:19:53  <pquerna>https://github.com/joyent/libuv/issues/518
13:24:26  * luastonedjoined
14:31:24  <rphillips>hmm. ok
14:40:55  * philips_quit (Excess Flood)
14:40:56  * coolaj86joined
14:44:50  * philips_joined
14:49:36  * coolaj86quit (Ping timeout: 276 seconds)
15:03:25  * bakinsjoined
15:04:43  * coolaj86joined
15:10:06  * bakinsquit (Quit: bakins)
15:27:19  * coolaj86quit (Ping timeout: 252 seconds)
15:33:39  * kevwiljoined
15:36:32  * kevwilquit (Read error: Connection reset by peer)
15:39:13  * kevwiljoined
15:48:07  * kevwilquit (Read error: Connection reset by peer)
15:48:56  * bakinsjoined
15:52:41  * bakinsquit (Client Quit)
15:56:11  * kevwiljoined
16:11:14  * luastonedquit (Read error: Connection reset by peer)
16:11:37  * mmaleckiquit (Quit: Reconnecting)
16:11:38  * luastonedjoined
16:11:53  * mmaleckijoined
16:44:56  * bakinsjoined
16:55:20  * coolaj86joined
17:02:40  * neomantrajoined
17:20:59  * joshthecoderjoined
17:22:33  * kevwilquit (Read error: Connection reset by peer)
17:34:26  <CIA-113>Brandon Philips bump-libuv-to-0.8 * rc3baea7 / (lib/luvit/uv.lua src/luv_process.c): luvit: uv: Process: stop opening pipes - https://github.com/luvit/luvit/commit/c3baea71c73d10cbdf4b2f8d61d6f56e19575bf9
17:36:29  * travis-cijoined
17:36:29  <travis-ci>[travis-ci] luvit/luvit#309 (bump-libuv-to-0.8 - c3baea7 : Brandon Philips): The build is still failing.
17:36:29  <travis-ci>[travis-ci] Change view : https://github.com/luvit/luvit/compare/e00bf17cc93c...c3baea71c73d
17:36:29  <travis-ci>[travis-ci] Build details : http://travis-ci.org/luvit/luvit/builds/2059305
17:36:29  * travis-cipart
17:54:29  * ctultjoined
17:55:04  <ctult>Can you easily port node js code over to luvit?
17:58:34  <rphillips>ctult: yes. it's not bad at all
18:00:03  <ctult>Even something as large as http://flatironjs.org/?
18:00:36  <rphillips>that would be involved
18:00:57  <creationix>ctult, the important thing is the APIs are more or less the same
18:01:09  <creationix>it's mostly replacing curly braces with end statements
18:01:22  <creationix>basic control-flow is a little different though
18:01:29  <creationix>and regular expressions are very different
18:01:39  <coolaj86>speak of the devil, I'm porting FuturesJS to lua right now
18:02:05  <creationix>I ported step and kernel with no problem
18:02:09  <creationix>but they were very small libraries
18:02:18  <coolaj86>what's the equivalent of `arguments` in lua?
18:02:19  <creationix>actually kernel was somewhat tricky because it used "with" in javascript
18:02:27  <creationix>coolaj86, ...
18:02:34  * kevwiljoined
18:02:50  <creationix>in the end I first ported kernel to js strict mode and then it was easier to port to lua
18:03:52  <creationix>coolaj86, that was the "..." operator/keyword/expression/whatever not saying I'll answer later
18:04:01  <rphillips>coolaj86: arg is populated when you used variable arguments (...)
18:04:13  <creationix>rphillips, what versions of lua have that?
18:04:23  <rphillips>5.something
18:04:33  <coolaj86>I was trying the `arg` thing, but it didn't work
18:04:40  <creationix>http://www.lua.org/pil/5.2.html
18:04:59  <coolaj86>`function (...) pp(...) end` seems to work
18:05:01  <creationix>right, I think that changed between 5.0 and 5.1
18:05:10  <coolaj86>`function (...) pp(arg) end` no worky
18:05:14  <creationix>I have PIL2nd edition, but it's not free
18:05:20  <creationix>coolaj86, try pp(...)
18:05:34  <coolaj86>creationix: look up two lines
18:05:42  <coolaj86>or 4... whatever
18:06:13  <creationix>coolaj86, yeah, I think "arg" was removed in 5.1
18:06:14  <creationix>https://github.com/luvit/luvit/blob/master/lib/luvit/utils.lua#L151-185
18:06:28  <creationix>a harder to find trick was getting the length of args passed in
18:06:34  <creationix>select("#", ...) does it
18:06:42  <creationix>and {...} converts the args to a table
18:06:51  <creationix>but any nil arguments won't be in the table
18:06:57  <creationix>(not at the end at-least)
18:07:11  <rphillips>local arg = {...} works too
18:07:17  * kevwilquit (Read error: Connection reset by peer)
18:07:50  <creationix>rphillips, unless you want to preserve nul arguments at the end
18:07:53  <rphillips>true
18:07:54  <creationix>which I did for prettyPrint
18:08:03  <rphillips>smart
18:08:16  <creationix>I spent a whole day in #lua working on that one
18:08:25  <creationix>in the end I was pleased with our pretty printer
18:08:35  <coolaj86>what will `local a = ...` do?
18:08:45  <creationix>store the first arg in a
18:08:47  <coolaj86>it appears to only get the first arg of ...
18:08:54  <coolaj86>so to store all of the args?
18:08:59  <creationix>... is kinda like a macro
18:09:03  <creationix>it expands to multiple args
18:09:10  <creationix>a = 1,2,3 will store 1 in a
18:09:19  <creationix>a = {1,2,3} will store a table in a
18:09:38  <coolaj86>local a = {...}
18:09:47  <creationix>yep
18:10:20  <coolaj86>`while select('#', ...) > #a do table.insert(a, nil) end` ?
18:10:42  * `3rdEdenquit (Quit: gone)
18:10:43  * coolaj86now looks at the link creationix gave him
18:10:51  <creationix>good idea
18:12:24  <creationix>btw table.insert(a, nil) won't change the #a value
18:12:37  <creationix>remember tables can't hold nil values
18:12:48  <creationix>but ... can since it's not a table
18:13:42  <coolaj86>hmm... so how would I unpack arguments from one callback to another?
18:14:13  <coolaj86>ah, key of i with value of nil?
18:14:53  <coolaj86>hmm... but I can't index into ... can I?
18:15:11  <creationix>no, ... is like a macro
18:15:18  <creationix>but you can index the table generated by {...}
18:15:34  <creationix>setting a key that doesn't exist to nil is a no-op
18:15:57  <creationix>actually looking at utils.bind, I think we can do better
18:16:03  <creationix>rphillips, did you know who wrote that one?
18:16:36  <creationix>heh, blame has a different person for every line
18:16:40  <creationix>that's fun
18:16:47  <coolaj86>local a = {1, 2, nil, 4}
18:16:52  <coolaj86>a[3] returns nothing
18:16:57  <coolaj86>is that not nil?
18:18:43  <creationix>nil is nothing
18:19:08  <creationix>I get "nil" in the repl
18:19:30  <creationix>and tostring(nil) is "nil"
18:19:34  <coolaj86>it seems to be preserving values correctly, assuming that unpacking does what I expect
18:19:45  <creationix>ahh, now unpack breaks on nil
18:19:59  <creationix>p(unpack({1, nil, 3})
18:20:21  <coolaj86>then how do you pass a nil from one function to another?
18:20:30  <creationix>> p(unpack({1, nil, 3}))
18:20:30  <creationix>1
18:20:30  <creationix>> p(1, nil, 3)
18:20:30  <creationix>1 nil 3
18:20:45  <creationix>good question
18:21:04  <rphillips>looping through 1..#a works though
18:21:14  <rphillips>not ideal still though
18:21:20  <creationix>rphillips, how does that work?
18:21:31  <creationix>you still have to call unpack at the end
18:21:35  <coolaj86>a list comprehension?
18:21:38  <rphillips>a[3] will resolve to nil
18:21:53  <creationix>rphillips, but what about a[4]
18:22:01  <creationix>unpack is nil terminated
18:22:15  <rphillips>right, unpack is an issue.. I was on a tangent
18:23:17  <creationix>ok, now this is strange:
18:23:18  <creationix>> #({1,2,nil,4})
18:23:18  <creationix>4
18:23:18  <creationix>> #({1,nil,4})
18:23:18  <creationix>1
18:25:34  <creationix>got it!
18:25:46  <creationix>> p(unpack({1,2,nil,4},1,4))
18:25:46  <creationix>1 2 nil 4
18:25:51  <creationix>unpack takes start and end args
18:26:05  <creationix>and we know the true length from the select("#", ...)
18:27:08  <creationix>coolaj86, unpack(args, 1, argsLength)
18:27:16  * kevwiljoined
18:27:16  <creationix>argsLength = select("#", ...)
18:27:20  <creationix>aargs = {...}
18:29:23  <creationix>rphillips, are we supposed to be under_score or camelCase in luvit core libraries
18:29:33  * kevwilquit (Read error: Connection reset by peer)
18:29:34  <creationix>I thought it was camelCase, but utils.lua is under_score
18:29:51  <rphillips>supposed to be camelcase
18:30:01  <creationix>I'm patching bind to preserve all args
18:30:10  <rphillips>nice
18:30:34  * kevwiljoined
18:31:03  <coolaj86>I figured my thing out also
18:33:04  <creationix>rphillips, how does this look? https://gist.github.com/94d8bd5e815dcbfa98fe
18:33:53  <creationix>hmm, shouldn't the bind args go first?
18:34:13  <creationix>trying again...
18:35:05  * `3rdEdenjoined
18:35:22  <creationix>rphillips, there we go, much better https://gist.github.com/94d8bd5e815dcbfa98fe
18:35:54  <creationix>just need to stop thinking in javascript and it becomes a lot easier
18:36:08  <rphillips>heh
18:36:10  <rphillips>that lgtm
18:36:15  <creationix>minus the typo
18:36:34  <rphillips>bindArgs
18:36:39  <creationix>yep
18:37:45  * jimtjoined
18:38:23  <creationix>hmm, the unit test is failing
18:39:34  * jimt_quit (Ping timeout: 252 seconds)
18:41:01  * bakinsquit (Quit: bakins)
18:42:53  <creationix>ahh, looks like I need to ignore the passed in self
18:42:58  <creationix>that's a strange api
18:43:52  <creationix>hmm, no
18:46:44  <creationix>oh right, you can't have two unpack calls
18:46:54  <creationix>only the last arg can be variable
18:50:42  <creationix>rphillips, alright, got one that works and passes the test https://gist.github.com/94d8bd5e815dcbfa98fe
18:50:51  <creationix>had to copy args in the case where args are bound in
18:56:07  <CIA-113>Tim Caswell master * rb598475 / (lib/luvit/utils.lua tests/test-utils.lua): Fix utils.bind to preserve nil arguments and optimize for basic case - https://github.com/luvit/luvit/commit/b598475324dc91def4d680503a6b402555807e65
18:56:32  <CIA-113>Ryan Phillips bump-libuv-to-0.8 * r0fc4010 / (lib/luvit/uv.lua src/luv.c src/luv_misc.c src/luv_misc.h): debug: add support for displaying all or active handles - https://github.com/luvit/luvit/commit/0fc4010ca792a59a8242ecb007d31acff0afb26e
18:57:19  <creationix>rphillips, care to double check my sanity in this comment? https://github.com/luvit/luvit/blob/b598475324dc91def4d680503a6b402555807e65/lib/luvit/utils.lua#L197-208
18:57:46  <creationix>since we never actually pass the table reference outside this closure, it shouldn't matter it gets reused right?
18:57:47  <CIA-113>Ryan Phillips bump-libuv-to-0.8 * r32aba44 / src/luv_misc.c : remove an 'e' - https://github.com/luvit/luvit/commit/32aba44384a03a00fee3fe5f32f5838e93b6b5c3
18:58:50  <creationix>I guess it does leak references to the args
18:59:25  <creationix>maybe instead of reusing the original table, we create a copy on every call
19:00:22  * travis-cijoined
19:00:22  <travis-ci>[travis-ci] luvit/luvit#312 (bump-libuv-to-0.8 - 32aba44 : Ryan Phillips): The build is still failing.
19:00:22  <travis-ci>[travis-ci] Change view : https://github.com/luvit/luvit/compare/0fc4010ca792...32aba44384a0
19:00:22  <travis-ci>[travis-ci] Build details : http://travis-ci.org/luvit/luvit/builds/2060049
19:00:22  * travis-cipart
19:02:32  * bakinsjoined
19:03:14  <creationix>rphillips, also I don't think bind should assume self
19:04:20  <rphillips>+1
19:04:39  <CIA-113>Ryan Phillips bump-libuv-to-0.8 * r346240a / src/luv_misc.c : fix warnings - https://github.com/luvit/luvit/commit/346240a3d066d92530d619fa875f0c029017ff67
19:04:42  <creationix>though if you don't pass in at least one arg, what is the purpose of bind
19:04:55  <creationix>bind(fn, "foo") fn() -> fn("foo")
19:05:36  <rphillips>it would be the same as a callback function
19:05:39  <rphillips>sorta silly
19:06:57  * travis-cijoined
19:06:57  <travis-ci>[travis-ci] luvit/luvit#313 (bump-libuv-to-0.8 - 346240a : Ryan Phillips): The build is still failing.
19:06:57  <travis-ci>[travis-ci] Change view : https://github.com/luvit/luvit/compare/32aba44384a0...346240a3d066
19:06:57  <travis-ci>[travis-ci] Build details : http://travis-ci.org/luvit/luvit/builds/2060083
19:06:57  * travis-cipart
19:08:42  <CIA-113>Tim Caswell master * r3e88201 / lib/luvit/utils.lua : Fix memory leak in utils.bind - https://github.com/luvit/luvit/commit/3e88201e15960bac22e0f5ac10b570c7e9469220
19:10:44  * travis-cijoined
19:10:44  <travis-ci>[travis-ci] luvit/luvit#314 (master - 3e88201 : Tim Caswell): The build passed.
19:10:44  <travis-ci>[travis-ci] Change view : https://github.com/luvit/luvit/compare/b598475324dc...3e88201e1596
19:10:44  <travis-ci>[travis-ci] Build details : http://travis-ci.org/luvit/luvit/builds/2060152
19:10:44  * travis-cipart
19:17:40  <coolaj86>Sequence and Join for luvit: https://github.com/coolaj86/futures-luvit
19:18:01  <coolaj86>I suppose I ought to figure out how to add myself on the package registry...
19:18:39  <coolaj86>what's the name of that thing again?
19:19:54  <rphillips>lum
19:20:22  <rphillips>could use 'core' Object so you don't have to rewite the OO model
19:20:22  <coolaj86>how does one publish to it?
19:20:34  <coolaj86>I don't see it much in the readme
19:20:46  <rphillips>probably a pull request, but I haven't done it myself
19:21:03  <creationix>if I remember right, lum doesn't require a central repository
19:21:32  <coolaj86>it's a feature, not a bug
19:21:39  <coolaj86>"require" isn't really the right word
19:21:49  <coolaj86>perhaps "lum doesn't have a central repository yet"
19:21:53  <coolaj86>or something along those lines
19:21:57  <creationix>I don't think it's very active anymore though, I haven't seen pancake here in a while
19:21:57  * jbuezajoined
19:22:18  <creationix>coolaj86, no, I think the ideal usage of lum was without a central repo
19:22:26  <creationix>that's what I remember at least
19:22:34  <coolaj86>creationix: I don't see how that would be ideal
19:22:47  <creationix>depends on your point of view
19:22:58  <creationix>I kinda like internet URIs as package names
19:23:04  <coolaj86>git is distributed, but we gravitate towards github
19:23:05  <creationix>it's a namespace we already know
19:23:45  <coolaj86>I like package names and package names and URIs as where to download them
19:23:58  * `3rdEdenquit (Ping timeout: 246 seconds)
19:24:17  <coolaj86>"*" isn't as nice of a namespace as "lumit.org"
19:24:25  <coolaj86>sounds a lot more like an implicit global
19:25:24  <CIA-113>Brandon Philips bump-libuv-to-0.8 * r3573b32 / lib/luvit/uv.lua : luvit: uv: Timer: replace ref logic with close - https://github.com/luvit/luvit/commit/3573b32e208e1594c54d25d4da3c773b6bcbb2cd
19:25:26  <CIA-113>Brandon Philips bump-libuv-to-0.8 * r2998350 / tests/test-socket-timeout.lua : tests: test-socket-timeout: use luvit.io - https://github.com/luvit/luvit/commit/2998350019c8478e14a3a7cb452958c8bde7a6e3
19:26:03  <philips_>rphillips: https://github.com/luvit/luvit/pull/277
19:26:07  <philips_>rphillips: it seems to work for me
19:26:18  <philips_>rphillips: would love a review of the last two commits
19:26:35  <philips_>rphillips: if it looks good to you I will spend a few minutes and clean it up to rebase some of our bad commits
19:26:42  <philips_>rphillips: out for lunch for a bit.
19:27:09  <rphillips>k
19:27:20  <philips_>I think it is all correct
19:28:05  * travis-cijoined
19:28:06  <travis-ci>[travis-ci] luvit/luvit#315 (bump-libuv-to-0.8 - 2998350 : Brandon Philips): The build was fixed.
19:28:06  <travis-ci>[travis-ci] Change view : https://github.com/luvit/luvit/compare/346240a3d066...2998350019c8
19:28:06  <travis-ci>[travis-ci] Build details : http://travis-ci.org/luvit/luvit/builds/2060336
19:28:06  * travis-cipart
19:28:29  <rphillips>travis passes
19:28:31  <rphillips>good sign
19:28:35  <rphillips>works on osx
19:28:39  * `3rdEdenjoined
19:30:15  <rphillips>philips_: +10
19:33:53  * indexzerojoined
19:36:57  <creationix>cool!
19:39:20  <creationix>coolaj86, feel free to make your own package manager
19:39:26  <creationix>there isn't a lot of competition in that space
19:40:35  * coolaj86quit (Ping timeout: 265 seconds)
19:41:00  <rphillips>philips_: getting a crash in virgo using that libuv branch
19:42:28  <rphillips>fixed the gyp flags in virgo to be the same as luvit (remove gcc version and force 10.6 OSX)
19:42:30  <rphillips>works
19:42:32  * indexzeroquit (Read error: Connection reset by peer)
19:42:43  <creationix>rphillips, philips_ did you guys see that c-ares was removed from libuv?
19:42:56  <rphillips>pquerna linked us
19:43:01  <creationix>good
19:43:11  <rphillips>looks like it's a submodule now, right?
19:43:28  <creationix>not sure
19:57:20  * coolaj86joined
20:00:04  * luastonedquit (Quit: Leaving.)
20:04:45  * jbuezaquit (Quit: jbueza)
20:05:22  <philips_>rphillips: awesome!
20:07:32  * kevwilquit (Read error: Connection reset by peer)
20:08:15  * kevwiljoined
20:09:06  * kevwilquit (Read error: Connection reset by peer)
20:09:46  * coolaj86quit (Ping timeout: 252 seconds)
20:22:27  <rphillips>going to merge udp
20:22:57  <philips_>rphillips: do it
20:24:00  <CIA-113>Ryan Phillips master * r24d2aef / (9 files in 4 dirs): UDP support - https://github.com/luvit/luvit/commit/24d2aef0619ceb04f57bab9bb294be0ee17b5fd7
20:25:19  <rphillips>philips_: i've been running the agent with the libuv branch... memory usage is sane
20:25:29  <philips_>rphillips: great, thanks
20:26:36  * travis-cijoined
20:26:36  <travis-ci>[travis-ci] luvit/luvit#316 (master - 24d2aef : Ryan Phillips): The build passed.
20:26:36  <travis-ci>[travis-ci] Change view : https://github.com/luvit/luvit/compare/3e88201e1596...24d2aef0619c
20:26:36  <travis-ci>[travis-ci] Build details : http://travis-ci.org/luvit/luvit/builds/2060789
20:26:36  * travis-cipart
20:41:57  <rphillips>hmm I received an assertion failure
20:42:08  <philips_>rphillips: wehre?
20:42:11  <rphillips>Assertion failed: (!(handle->flags & UV_CLOSED)), function uv__finish_close, file ../deps/luvit/deps/uv/src/unix/core.c, line 130.
20:42:19  <philips_>rphillips: hrm, odd
20:42:27  <philips_>rphillips: How are you triggering it
20:42:31  <rphillips>https://gist.github.com/3eb72f9363a8c6b42a3c
20:42:47  * `3rdEdenquit (Read error: Connection reset by peer)
20:43:00  <philips_>rphillips: I think we need to hook into libuv and just block double close for all handles
20:44:51  <rphillips>philips_: do you know what is causing the double close?
20:45:02  <philips_>rphillips: the last one was in timer
20:45:35  <philips_>rphillips: It was being closed by the Socket class and by the Timer class
20:47:20  <rphillips>philips_: https://gist.github.com/fa040d89afc801cd7d97
20:47:21  <rphillips>?
20:50:16  <CIA-113>Brandon Philips bump-libuv-to-0.8-base * rcbcba85 / lib/luvit/uv.lua : luvit: uv: remove stdin pauseNoRef() (+9 more commits...) - https://github.com/luvit/luvit/commit/cbcba854a3cc68b82fdea5ba82184db86199232a
20:52:06  * kevwiljoined
20:52:35  * travis-cijoined
20:52:35  <travis-ci>[travis-ci] luvit/luvit#317 (bump-libuv-to-0.8-base - cbcba85 : Brandon Philips): The build passed.
20:52:35  <travis-ci>[travis-ci] Change view : https://github.com/luvit/luvit/compare/b08e90a6c383^...cbcba854a3cc
20:52:35  <travis-ci>[travis-ci] Build details : http://travis-ci.org/luvit/luvit/builds/2060966
20:52:35  * travis-cipart
20:54:13  <rphillips>hmm. that logic is already there
20:54:59  <CIA-113>Brandon Philips bump-libuv-to-0.8-base * r0004593 / common.gypi : common.gypi: remove GCC_VERSION on OSX - https://github.com/luvit/luvit/commit/00045930c0c87cc709b9dbe1796a205b0504c073
20:56:25  * _ctultjoined
20:56:29  * ctultquit (Ping timeout: 250 seconds)
20:56:36  <philips_>rphillips: yea...
20:56:42  <philips_>rphillips: It might be another handle type
20:56:59  <rphillips>i think it's the net socket handle
20:57:02  <philips_>rphillips: rebased all of the things: https://github.com/luvit/luvit/pull/289
20:57:38  * travis-cijoined
20:57:38  <travis-ci>[travis-ci] luvit/luvit#318 (bump-libuv-to-0.8-base - 0004593 : Brandon Philips): The build passed.
20:57:38  <travis-ci>[travis-ci] Change view : https://github.com/luvit/luvit/compare/cbcba854a3cc...00045930c0c8
20:57:38  <travis-ci>[travis-ci] Build details : http://travis-ci.org/luvit/luvit/builds/2061035
20:57:38  * travis-cipart
20:57:52  * kevwilquit (Read error: Connection reset by peer)
21:01:42  * neomantraquit (Quit: Leaving.)
21:02:16  * 45PAAT16Pjoined
21:03:49  * 45PAAT16Pquit (Client Quit)
21:13:14  <creationix>looks like we're close to having uv 0.8.x
21:14:05  <philips_>creationix: yea, it seems to work
21:14:13  <philips_>creationix: at least for the test cases we have in place
21:14:23  <rphillips>i think we should track down or work around the double close issue
21:14:40  <philips_>rphillips: agreed.
21:15:15  <philips_>rphillips: Shall I go down the route of having luvit introspect the flags on the uv_handles and see if they are already closed?
21:15:29  <philips_>rphillips: and then avoiding the second close so we don't assret?
21:15:44  <philips_>rphillips: or do you want to figure out where we are double closing and fix those directly?
21:15:59  <rphillips>i think the lua approach is fine
21:16:08  * coolaj86joined
21:16:14  <rphillips>a luvit user should never see an assert
21:16:44  <philips_>rphillips: I just feel a bit dirty tracking the "is this handle closed" meta data in both lua and libuv
21:16:57  * erlbot--_changed nick to erlbot--
21:18:39  <rphillips>libuv also?
21:20:01  <philips_>rphillips: libuv tracks whether a handle is closed with handle->flags & UV_HANDLE_CLOSED
21:20:25  * coolaj86quit (Ping timeout: 252 seconds)
21:23:02  <rphillips>philips_: looks like libuv is closing the socket automatically
21:23:39  <rphillips>https://gist.github.com/6a302d502f38e718b05f
21:24:21  <philips_>rphillips: are you sure it is the Socket and now tthe timer?
21:25:03  <rphillips>i'm not sure
21:27:49  <rphillips>we could be trying to use a closed handle someplace also
21:29:49  <philips_>rphillips: yea, you are right
21:30:04  <philips_>probably best to nip the actual double closes in the bud
21:36:55  * kevwiljoined
21:40:52  <rphillips>philips_: i sorta like this https://gist.github.com/f8fe1913369298e4a1f3
21:41:12  <philips_>rphillips: i went that route initially too
21:41:33  <philips_>rphillips: I think we need a way of letting users know if they double close though
21:42:06  <rphillips>emit an process:on('error') event?
21:42:37  <philips_>rphillips: Or raise an error if like "strict close" is set?
21:42:45  <philips_>rphillips: Or LUVIT_STRICT or something?
21:42:56  <rphillips>wfm
21:44:06  <rphillips>what does node do?
21:44:16  <rphillips>a double close isn't a fatal error is it?
21:46:01  * kevwilquit (Quit: WeeChat 0.3.8)
21:50:03  * coolaj86joined
21:51:33  <philips_>rphillips: throws an error
21:51:43  <philips_>rphillips: throwing is uncomfortable in lua though
21:52:21  <philips_>rphillips: tell everyone to check the return code if they need to know if they double closed
21:52:30  <philips_>rphillips: otherwise just make it a noop on double
21:53:17  <rphillips>That works
21:53:51  <philips_>rphillips: ok I will work on that
21:54:06  <philips_>rphillips: and see about using the libuv flags instead of tracking everything ourselves if that is OK with you
21:57:11  * kevwiljoined
21:59:22  * coolaj86quit (Ping timeout: 245 seconds)
22:13:06  * kevwilquit (Read error: Connection reset by peer)
22:17:13  * bakinsquit (Quit: bakins)
22:17:33  <philips_>rphillips: so, it seems the values of UV_CLOSED are internal member
22:17:42  <philips_>rphillips: need to track it in lua
22:18:09  <philips_>rphillips: I will merge your patch with some error returns if close has already been clalled
22:46:34  * coolaj86joined
22:47:28  <CIA-113>Ryan Phillips bump-libuv-to-0.8-base * ra691b84 / (9 files in 4 dirs): UDP support - https://github.com/luvit/luvit/commit/a691b841e96da55d65fde26276ae49a700b96f87
22:47:29  <CIA-113>Brandon Philips bump-libuv-to-0.8-base * r55d55b3 / (4 files in 2 dirs): luvit: uv: Handle: avoid double close on handles - https://github.com/luvit/luvit/commit/55d55b36f155b74e64880bbf7ca9722a84c64b43
22:49:35  <CIA-113>Brandon Philips bump-libuv-to-0.8-base * ref514c0 / (4 files in 2 dirs): luvit: uv: Handle: avoid double close on handles (+11 more commits...) - https://github.com/luvit/luvit/commit/ef514c0233d1e08dd6f3b433b7f9107fb28e4887
22:49:39  <philips_>rphillips: https://github.com/luvit/luvit/commit/ef514c0233d1e08dd6f3b433b7f9107fb28e4887
22:49:42  <philips_>rphillips: thoughts?
22:54:45  * travis-cijoined
22:54:45  <travis-ci>[travis-ci] luvit/luvit#319 (bump-libuv-to-0.8-base - 55d55b3 : Brandon Philips): The build was broken.
22:54:45  <travis-ci>[travis-ci] Change view : https://github.com/luvit/luvit/compare/00045930c0c8...55d55b36f155
22:54:45  <travis-ci>[travis-ci] Build details : http://travis-ci.org/luvit/luvit/builds/2061938
22:54:45  * travis-cipart
22:56:40  * travis-cijoined
22:56:40  <travis-ci>[travis-ci] luvit/luvit#320 (bump-libuv-to-0.8-base - ef514c0 : Brandon Philips): The build is still failing.
22:56:40  <travis-ci>[travis-ci] Change view : https://github.com/luvit/luvit/compare/55d55b36f155...ef514c0233d1
22:56:40  <travis-ci>[travis-ci] Build details : http://travis-ci.org/luvit/luvit/builds/2061962
22:56:40  * travis-cipart
23:09:41  * bakinsjoined
23:53:01  * coolaj86quit (Ping timeout: 245 seconds)
23:57:38  * joshthecoderquit (Quit: Leaving...)