00:01:26  * davidboyquit (Max SendQ exceeded)
00:05:08  * davidboyjoined
00:05:44  * mkandrashoffquit (Quit: Leaving.)
00:06:06  * slurp2joined
00:06:34  <luvit-bb>build #1069 of virgo-ubuntu10.04_x64 is complete: Failure [failed clone ele-agent-packages] Build details are at https://virgo-bb.k1k.me/builders/virgo-ubuntu10.04_x64/builds/1069
00:07:03  <luvit-bb>build #726 of virgo-rhel6.1_x64 is complete: Failure [failed clone ele-agent-packages] Build details are at https://virgo-bb.k1k.me/builders/virgo-rhel6.1_x64/builds/726
00:11:06  * mkandrashoffjoined
00:11:09  * slurp2quit (Ping timeout: 248 seconds)
00:12:04  * luvit-bbquit (Remote host closed the connection)
00:12:05  * slurp2joined
00:13:13  * mkandrashoffquit (Client Quit)
00:14:22  * slurp2quit (Read error: Connection reset by peer)
00:14:51  * slurp2joined
00:19:57  * slurp2quit (Ping timeout: 244 seconds)
00:20:12  * joshthecoderquit (Quit: Leaving...)
00:26:51  * davidboyquit (Ping timeout: 248 seconds)
00:50:53  * coolaj86quit (Ping timeout: 246 seconds)
00:54:06  * davidboyjoined
00:57:18  <CIA-113>Brandon Philips bump-libuv-to-0.8 * r2d2be05 / deps/uv : deps: uv: bump to v0.8 branch - https://github.com/luvit/luvit/commit/2d2be053f86438667cf2ecbcdba33c1d2a005b2f
00:57:18  <CIA-113>Brandon Philips bump-libuv-to-0.8 * r73a33bf / (9 files in 2 dirs): lib: luvit: bind to new uv_ref/uv_unref signatures - https://github.com/luvit/luvit/commit/73a33bf0668af811375ff474f2bb310ec9c57eb1
00:57:19  <CIA-113>Brandon Philips bump-libuv-to-0.8 * rcc6d079 / deps/uv : uv: bump to latests again. - https://github.com/luvit/luvit/commit/cc6d0791c3d6506b6a4479fbe21c4e718e76694b
00:57:19  <CIA-113>Brandon Philips bump-libuv-to-0.8 * r894a50c / (common.gypi lib/luvit/luvit.lua lib/luvit/uv.lua src/luv.c): dEBUGING - https://github.com/luvit/luvit/commit/894a50ca9c2e582c4b40960bba8547a513a25087
00:59:26  * travis-cijoined
00:59:26  <travis-ci>[travis-ci] luvit/luvit#301 (bump-libuv-to-0.8 - 894a50c : Brandon Philips): The build failed.
00:59:26  <travis-ci>[travis-ci] Change view : https://github.com/luvit/luvit/compare/b5320f9847a4...894a50ca9c2e
00:59:26  <travis-ci>[travis-ci] Build details : http://travis-ci.org/luvit/luvit/builds/2024462
00:59:26  * travis-cipart
01:01:38  * xmingjoined
01:04:57  * xming_quit (Ping timeout: 252 seconds)
01:53:45  * aliemquit (Remote host closed the connection)
01:57:08  * levijoined
02:33:35  * coolaj86joined
02:37:14  * coolaj86quit (Client Quit)
02:43:23  * joshthecoderjoined
03:09:02  * mmaleckiquit (Quit: Reconnecting)
03:09:19  * mmaleckijoined
03:52:31  * mmaleckiquit (Ping timeout: 240 seconds)
04:14:16  * coolaj86joined
04:24:55  * standoojoined
04:41:12  * joshthecoderquit (Quit: Linkinus - http://linkinus.com)
06:22:38  * `3rdEdenjoined
06:42:05  * indexzerojoined
06:59:36  * `3rdEdenquit (Quit: Linkinus - http://linkinus.com)
07:21:33  * TheJHjoined
07:43:25  * luastonedjoined
07:52:57  * luastonedquit (Quit: Leaving.)
08:22:42  * luastonedjoined
08:34:03  * indexzeroquit (Quit: indexzero)
08:35:06  * indexzerojoined
08:37:19  * indexzeroquit (Client Quit)
08:41:33  * mmaleckijoined
10:25:11  * aliemjoined
10:53:32  * xming_joined
10:54:39  * xmingquit (Ping timeout: 244 seconds)
10:54:41  * DarkGod2_quit (Ping timeout: 240 seconds)
10:54:48  * `3rdEdenjoined
10:54:49  * DarkGod2joined
10:54:51  * mmaleckiquit (Ping timeout: 244 seconds)
10:59:25  * mmaleckijoined
11:18:51  <standoo>hi
11:18:54  <standoo>anyone here?
12:54:24  * mmaleckichanged nick to mmalecki[away]
13:11:23  * standooquit (Quit: Leaving.)
14:15:17  * mkandrashoffjoined
14:48:47  <creationix>and he's gone (standoo)
14:58:34  * luastoned1joined
14:58:38  * luastonedquit (Ping timeout: 255 seconds)
15:19:39  * coolaj86quit (Ping timeout: 248 seconds)
15:36:11  <rphillips>worked on fixing up the UDP pull request yesterday
15:46:31  * tim_smartquit (Ping timeout: 240 seconds)
15:47:50  * tim_smart|awayjoined
15:47:53  * tim_smart|awaychanged nick to tim_smart
16:14:25  <rphillips>creationix: ok with the UDP PR I opened?
16:35:36  * coolaj86joined
16:39:36  <creationix>rphillips, I don't understand it
16:39:47  <creationix>rphillips, but I imagine it helps more than hurts right?
16:39:48  * coolaj86quit (Read error: No route to host)
16:46:29  <rphillips>creationix: that it does
16:46:54  <rphillips>philips_ and I are looking at upgrading libuv
17:03:39  <CIA-113>Brandon Philips bump-libuv-to-0.8 * r1abfc04 / common.gypi : common.gypi: bump to OSX backwards compat to 10.6 - https://github.com/luvit/luvit/commit/1abfc04084ccc5e8a9937d726925aea6e061e1e4
17:04:02  * mmalecki[away]changed nick to mmalecki
17:06:05  * travis-cijoined
17:06:05  <travis-ci>[travis-ci] luvit/luvit#302 (bump-libuv-to-0.8 - 1abfc04 : Brandon Philips): The build is still failing.
17:06:05  <travis-ci>[travis-ci] Change view : https://github.com/luvit/luvit/compare/894a50ca9c2e...1abfc04084cc
17:06:05  <travis-ci>[travis-ci] Build details : http://travis-ci.org/luvit/luvit/builds/2029987
17:06:05  * travis-cipart
17:06:46  <CIA-113>Ryan Phillips bump-libuv-to-0.8 * r7026a0f / common.gypi : remove gcc_version from gyp - https://github.com/luvit/luvit/commit/7026a0f97c0412784f1a3c248c3b341d9b39c60a
17:08:19  <philips_>pquerna: https://github.com/luvit/luvit/commit/1abfc04084ccc5e8a9937d726925aea6e061e1e4 :(
17:09:15  * travis-cijoined
17:09:15  <travis-ci>[travis-ci] luvit/luvit#303 (bump-libuv-to-0.8 - 7026a0f : Ryan Phillips): The build is still failing.
17:09:15  <travis-ci>[travis-ci] Change view : https://github.com/luvit/luvit/compare/1abfc04084cc...7026a0f97c04
17:09:15  <travis-ci>[travis-ci] Build details : http://travis-ci.org/luvit/luvit/builds/2029998
17:09:15  * travis-cipart
17:17:58  <rphillips>xcode project w/ xcode debugger works now in the branch we pushed
17:18:09  * aliemquit (Remote host closed the connection)
17:29:37  <philips_>rphillips: OMG +1
17:31:10  * luastoned1quit (Quit: Leaving.)
18:24:32  * Kami_quit (*.net *.split)
18:24:33  * CIA-113quit (*.net *.split)
18:24:33  * guybrushquit (*.net *.split)
18:24:33  * mkandrashoffquit (*.net *.split)
18:24:33  * leviquit (*.net *.split)
18:24:34  * philips_quit (*.net *.split)
18:24:34  * daurnimatorquit (*.net *.split)
18:24:34  * erlbot--quit (*.net *.split)
18:24:35  * rphillipsquit (*.net *.split)
18:24:35  * pquernaquit (*.net *.split)
18:24:36  * jimtquit (*.net *.split)
18:24:37  * tim_smartquit (*.net *.split)
18:24:38  * TheJHquit (*.net *.split)
18:24:40  * boxofroxquit (*.net *.split)
18:24:40  * dvv-quit (*.net *.split)
18:24:40  * creationixquit (*.net *.split)
18:24:45  * DarkGod2quit (*.net *.split)
18:24:45  * `3rdEdenquit (*.net *.split)
18:24:46  * russell_hquit (*.net *.split)
18:24:47  * othiym23quit (*.net *.split)
18:24:47  * mmaleckiquit (*.net *.split)
18:28:04  * rphillips_joined
18:28:04  * pquerna_joined
18:28:04  * joshthecoderjoined
18:28:04  * tim_smartjoined
18:28:04  * mkandrashoffjoined
18:28:04  * mmaleckijoined
18:28:04  * DarkGod2joined
18:28:04  * `3rdEdenjoined
18:28:04  * TheJHjoined
18:28:04  * levijoined
18:28:04  * erlbot--joined
18:28:04  * daurnimatorjoined
18:28:04  * philips_joined
18:28:04  * jimtjoined
18:28:04  * boxofroxjoined
18:28:04  * pquernajoined
18:28:04  * rphillipsjoined
18:28:04  * creationixjoined
18:28:04  * dvv-joined
18:28:04  * guybrushjoined
18:28:04  * CIA-113joined
18:28:04  * Kami_joined
18:28:04  * othiym23joined
18:28:04  * russell_hjoined
18:34:16  * pquerna_quit (Changing host)
18:34:17  * pquerna_joined
18:37:00  * Kami_quit (*.net *.split)
18:37:01  * CIA-113quit (*.net *.split)
18:37:01  * guybrushquit (*.net *.split)
18:37:02  * mkandrashoffquit (*.net *.split)
18:37:02  * leviquit (*.net *.split)
18:37:03  * philips_quit (*.net *.split)
18:37:03  * daurnimatorquit (*.net *.split)
18:37:03  * erlbot--quit (*.net *.split)
18:37:03  * rphillipsquit (*.net *.split)
18:37:03  * pquernaquit (*.net *.split)
18:37:04  * jimtquit (*.net *.split)
18:37:06  * tim_smartquit (*.net *.split)
18:37:07  * TheJHquit (*.net *.split)
18:37:08  * boxofroxquit (*.net *.split)
18:37:08  * dvv-quit (*.net *.split)
18:37:08  * creationixquit (*.net *.split)
18:38:21  * tim_smartjoined
18:38:21  * mkandrashoffjoined
18:38:21  * TheJHjoined
18:38:21  * levijoined
18:38:21  * guybrushjoined
18:38:21  * CIA-113joined
18:38:21  * Kami_joined
18:38:21  * dvv-joined
18:38:21  * creationixjoined
18:38:21  * boxofroxjoined
18:38:21  * philips_joined
18:38:21  * daurnimatorjoined
18:38:21  * erlbot--joined
18:38:25  * boxofroxquit (Ping timeout: 240 seconds)
18:41:15  * guybrushquit (Ping timeout: 265 seconds)
18:41:32  * joshthecoderquit (Read error: Connection reset by peer)
18:41:44  * joshthecoderjoined
18:43:11  * guybrushjoined
18:47:19  * boxofroxjoined
18:49:12  <CIA-113>Hiroaki Nakamura master * rd4abc4f / luvit.gyp : Add an install target for the gyp build system. - https://github.com/luvit/luvit/commit/d4abc4fde6d81d6f635f8bede972329934b07447
18:49:12  <CIA-113>Hiroaki Nakamura master * rfff3762 / luvit.gyp : use the variable luvit_prefix for installation target directories. - https://github.com/luvit/luvit/commit/fff37624beb9daae91c6ae6daf595612117b4e48
18:49:14  <CIA-113>Hiroaki Nakamura master * rd33b91b / configure : set default value for '--prefix' - https://github.com/luvit/luvit/commit/d33b91b849127125cc1a201ea799e838c8b2f81f
18:49:14  <CIA-113>Paul Querna master * re7287ca / (configure luvit.gyp): Merge pull request #285 from hnakamur/install_target_for_gyp - https://github.com/luvit/luvit/commit/e7287cae557de179cfc8ab8df64405fde27ab279
18:51:58  * travis-cijoined
18:51:59  <travis-ci>[travis-ci] luvit/luvit#304 (master - e7287ca : Paul Querna): The build passed.
18:51:59  <travis-ci>[travis-ci] Change view : https://github.com/luvit/luvit/compare/aef0f613fdc1...e7287cae557d
18:51:59  <travis-ci>[travis-ci] Build details : http://travis-ci.org/luvit/luvit/builds/2030659
18:51:59  * travis-cipart
18:52:33  * jimtjoined
18:56:17  * coolaj86joined
19:00:48  * jbuezajoined
19:05:43  * standoojoined
19:08:52  * jbuezaquit (Quit: jbueza)
19:26:34  * jbuezajoined
19:45:36  * jbuezaquit (Quit: jbueza)
20:13:28  * erlbot--quit (Remote host closed the connection)
20:43:08  * kevwiljoined
20:54:00  * `3rdEdenquit (Quit: Linkinus - http://linkinus.com)
21:02:47  * pquerna_changed nick to pquerna
21:20:12  * rphillips_changed nick to rphillips
21:23:31  * jbuezajoined
21:34:50  * mkandrashoff1joined
21:36:09  * mkandrashoffquit (Ping timeout: 255 seconds)
21:43:34  * mkandrashoff1quit (Quit: Leaving.)
22:07:09  <coolaj86>creationix: are anonymous functions local or global by default?
22:07:34  <coolaj86>i.e. for `function foo() function bar() end end` both foo and bar are global
22:08:30  <coolaj86>but how about `function foo() local bar = function () end end`? is bar different every time foo is called? or is bar always assigned the same anony?
22:11:16  <coolaj86>rphillips, do you know?
22:22:45  <philips_>coolaj86: my gut feels like bar it is created everytime, but I don't know for certain
22:27:51  * jbuezaquit (Quit: jbueza)
22:33:24  * kevwilquit (Quit: WeeChat 0.3.8)
22:49:16  * mkandrashoffjoined
22:57:14  * mkandrashoffquit (Quit: Leaving.)
23:02:01  * joshthecoderquit (Read error: Connection reset by peer)
23:02:04  <levi>anonymous functions are anonymous. Asking about their scope does not make sense.
23:02:06  * joshjoined
23:02:47  <levi>Variable bindings have scope, data values do not except when considered as part of a variable binding.
23:02:48  <coolaj86>levi: yes it does, if you've ever used javascript.
23:04:20  <levi>No, it doesn't even make sense in javascript.
23:05:18  <coolaj86>levi: yes it does, because an anonymous function still gets hoisted - there's the for loop problem, for example
23:05:49  <levi>Anonymous functions do not get hoisted. The variable bindings to anonymous functions do, just like any other variable bindings.
23:05:56  <coolaj86>you loop over a block with an anonymous function, but it only gets created once and then gets assigned multiple times. It's not local to the the scope you would intuitively think.
23:06:43  <CIA-113>Brandon Philips bump-libuv-to-0.8 * r31bfcc4 / common.gypi : remove the optimization level flag - https://github.com/luvit/luvit/commit/31bfcc47c469e1f1c2e71c44d4c48238a6c08c5b
23:07:36  <levi>Anonymous functions are data. Scope and hoisting are concerns of variables, not data.
23:08:47  * travis-cijoined
23:08:47  <travis-ci>[travis-ci] luvit/luvit#305 (bump-libuv-to-0.8 - 31bfcc4 : Brandon Philips): The build is still failing.
23:08:47  <travis-ci>[travis-ci] Change view : https://github.com/luvit/luvit/compare/7026a0f97c04...31bfcc47c469
23:08:47  <travis-ci>[travis-ci] Build details : http://travis-ci.org/luvit/luvit/builds/2032746
23:08:47  * travis-cipart
23:09:02  <levi>Now, if we could reformulate your question so that you're asking what you mean to be asking, I could probably figure out the answer.
23:15:48  <coolaj86>levi: just a second and I'll post a gist
23:15:55  <levi>Your confusion appears to be due to the fact that Javascript hoisting behavior is different for variables and named functions.
23:17:47  <coolaj86>my confusion is due to the fact that this example doesn't print out numbers in the order I expect
23:17:50  <coolaj86>https://gist.github.com/3252527
23:21:15  <rphillips>coolaj86: high level, what are you trying to do?
23:21:29  <coolaj86>I switched printNow and printLater from inline anonymous functions to how you see them now and the behaviour changed
23:21:50  <levi>Yes, that's what I would expect.
23:22:31  <levi>Named functions that are not declared local are equivalent to anonymous functions assigned to a global name variable in lua.
23:23:05  <coolaj86>rphillips: I got it working, I just didn't understand the behaviour
23:23:36  <coolaj86>levi: ha! you answered my question even without me asking it the way you wanted! I WIN!
23:23:48  <coolaj86>anonymous functions are [email protected]
23:23:50  <coolaj86>!*
23:24:20  * TheJHquit (Ping timeout: 248 seconds)
23:24:57  <levi>Uh, no.
23:25:42  <levi>Anonymous functions are functions that are not bound to a name, so they have no scope.
23:25:47  <levi>Until they are bound.
23:25:53  <coolaj86>levi: is function foo() local function () end end the same as function foo() function () end end in terms of hoisting and scope and binding and whatnot
23:25:57  <levi>Variable bindings have scope.
23:26:06  <levi>There's no hoisting in lua.
23:27:30  <coolaj86>Whatever. I believe in my heart that anonymous functions behave as locally declared bound functions and the only evidence I have supports the theory.
23:27:44  <coolaj86>Until a tiny voice tells me otherwise, that's what I'm going to believe.
23:27:49  <levi>function foo() is binding a function to the name 'foo' at the global scope.
23:28:11  <levi>local function foo() is binding a function to the name 'foo' at the current lexical scope.
23:28:44  <levi>Both are identical in meaning to manually declaring a variable at that point and then assigning an anonymous function to it.
23:29:41  <levi>Well, in the global scope you don't declare it first.
23:30:36  <rphillips>yeah, pretty sure levi is right on this
23:30:40  <levi>Why are you not seeing the contradiction in terms between 'anonymous' and 'bound'?
23:31:05  <levi>The scope belongs to the binding, not the function. The function is just data.
23:32:09  <levi>See the lua manual, section 2.5.9
23:34:33  <levi>'function () ... end' is an expression. It evaluates to an anonymous function, which is a type of data. When you bind it to a local variable, the name of the variable will then refer to that function (which is no longer anonymous, since you have bound it to a name) within the scope of that local variable. When you bind it to a global variable, the name will refer to that function whenever a local binding of the same name does not
23:34:33  <levi>shadow it.
23:38:37  <levi>Also, scoping of local variables in lua is block-based, and the binding becomes visible from the statement *after* the local declaration and remains in effect until the end of the immediately enclosing block.
23:40:27  <levi>(this means that you can't, in your local declaration, bind a variable to an expression that refers to the variable binding you're making)
23:41:39  <levi>(or any of the other variable bindings in the same local declaration)