00:05:56  * coolaj86joined
00:10:41  * coolaj86quit (Ping timeout: 246 seconds)
00:38:32  * coolaj86joined
01:01:35  * creationixjoined
01:01:35  * xming_quit (Read error: Connection reset by peer)
01:03:06  * jbuezaquit (Quit: jbueza)
01:06:09  * xmingjoined
01:11:28  * TheJHquit (Ping timeout: 244 seconds)
02:10:22  * coolaj86_joined
02:11:48  * coolaj86quit (Ping timeout: 264 seconds)
02:47:36  * jbuezajoined
03:23:30  * jbuezaquit (Quit: jbueza)
03:30:27  * mmaleckiquit (Ping timeout: 244 seconds)
04:17:47  * coolaj86_quit (Ping timeout: 246 seconds)
04:26:47  * coolaj86joined
04:33:11  * coolaj86quit (Ping timeout: 246 seconds)
04:41:47  * coolaj86joined
04:48:56  * coolaj86quit (Ping timeout: 246 seconds)
04:52:17  * coolaj86joined
07:04:21  * `3rdEdenjoined
07:26:43  * mmaleckijoined
07:30:59  * mmaleckiquit (Ping timeout: 246 seconds)
07:33:00  * luastonedjoined
07:35:07  * indexzeroquit (Quit: indexzero)
08:02:40  * aliemjoined
08:41:55  * mmaleckijoined
10:34:23  * jimt_quit (Ping timeout: 246 seconds)
10:36:14  * jimtjoined
12:07:29  * mmaleckichanged nick to mmalecki[food]
13:01:10  * aliemquit (Remote host closed the connection)
14:44:17  * luastoned1joined
14:47:26  * luastonedquit (Ping timeout: 246 seconds)
14:59:20  * boxofroxquit (Ping timeout: 255 seconds)
15:05:29  * boxofroxjoined
15:20:17  * mmalecki[food]changed nick to mmalecki
15:24:08  * jelliottjoined
15:28:02  * coolaj86quit (Ping timeout: 246 seconds)
15:32:18  * `3rdEdenquit (Quit: fooding <3)
15:35:29  * luastoned1quit (Read error: Connection reset by peer)
15:36:01  * luastonedjoined
16:02:59  * luastoned1joined
16:05:29  * luastoned2joined
16:06:23  * luastonedquit (Ping timeout: 272 seconds)
16:08:55  * luastoned1quit (Ping timeout: 244 seconds)
16:52:09  * mmaleckichanged nick to mmalecki[away]
17:01:26  * coolaj86joined
17:15:34  <coolaj86>levi: Have I met you at the user groups?
17:22:16  <levi>coolaj86: Possibly, but I haven't actually been to tT in a long time. I was at the Darlington open house, though.
17:23:30  <levi>When tT was open to the public every Saturday, I showed up once or twice a month, but now it's pretty rare for me to both have the free time and remember that it's an open Saturday.
17:28:35  <coolaj86>p.s. I ported a simpler version of Join and Sequence from FuturesJS to Lua
17:29:00  <coolaj86>levi: does lua have something like JavaScript's .apply and .call?
17:29:39  <rphillips>the util's library has a bind function
17:32:01  <levi>I don't recally exactly what the difference between .apply and .call is right now, or what their behavior is with regard to Javascript's weird object system.
17:33:20  <levi>I tried to like Javascript's weird prototype-based inheritance scheme, but it doesn't even really do prototype-based inheritance well. Ugh.
17:34:09  <coolaj86>levi: instanceObject.foo() <- does foo with `this`ness of instanceObject
17:34:37  <coolaj86>setTimeout(instanceObject.foo, 1000) <- `this`ness is lost
17:35:11  <coolaj86>var foo = instanceObject.foo; foo(); <- `this`ness is lost
17:35:35  <coolaj86>foo.apply(instanceObject, arg) <- `this`ness assigned to instanceObject
17:36:14  <coolaj86>setTimeout(instanceObject.foo.bind(intanceObject), 1000) <- preserves `this`ness
17:36:52  <coolaj86>I'm just wondering if the way to do it in lua is simply to always use a closure or if there's something like bind / apply / call that retains the self/this/me-ness of the thing
17:37:27  <coolaj86>setTimeout(1000, function () instanceObject:foo() end)
17:37:29  <coolaj86>vs
17:37:55  <coolaj86>setTimeout(1000, keepThisness(instanceObject:foo))
17:38:02  <levi>Well, there's no 'this' by default in lua. It's an explicit parameter, but it can be elided from the list if you use the : notation for calling instead of .
17:38:51  <levi>I'm not sure exactly what the bind function in the utils library that rphillips mentioned does, but it's likely to be what you're looking for.
17:39:38  <coolaj86>right. I notice that setTimeout(1000, instanceObject:foo) is a syntax error and setTimeout(1000, instanceObject.foo) loses the thisness.
17:40:13  <coolaj86>oh, I didn't see your response at first rphillips
17:41:27  * joshthecoderjoined
17:45:29  * luastonedjoined
17:46:04  * arek_deepinitjoined
17:46:42  * arek_deepinitquit (Client Quit)
17:47:05  * luastoned2quit (Ping timeout: 244 seconds)
17:54:49  <levi>Anyway, the gist of it is that in lua, functions have no built-in concept of 'this' or 'me-ness'. It's always an explicit parameter. When you define a function using :, it de-sugars to a definition that has 'self' as the first parameter. So you can call it with . and pass the object to the left of the . as the first parameter, or you can call it with : and it will do that automatically (except it will only evaluate the expression to
17:54:49  <levi>the left of the : once).
18:00:24  * luastonedquit (Ping timeout: 264 seconds)
18:03:40  * luastonedjoined
18:27:48  * erlbot--_joined
18:31:33  * mmalecki1away]joined
18:39:59  * mmalecki[away]quit (Remote host closed the connection)
18:40:00  * erlbot--quit (Write error: Broken pipe)
19:12:43  <creationix>I wonder how this performs compared to our yajl based json stuff https://github.com/antirez/lua-cmsgpack
19:18:20  <CIA-113>Ryan Phillips dgram * r65c21e2 / lib/luvit/dgram.lua : bug fixes (+5 more commits...) - https://github.com/luvit/luvit/commit/65c21e2258cf64be1218c6dfe9883fa858c4aad2
19:20:29  * travis-cijoined
19:20:29  <travis-ci>[travis-ci] luvit/luvit#306 (dgram - 65c21e2 : Ryan Phillips): The build passed.
19:20:29  <travis-ci>[travis-ci] Change view : https://github.com/luvit/luvit/compare/559e0f396a2b...65c21e2258cf
19:20:29  <travis-ci>[travis-ci] Build details : http://travis-ci.org/luvit/luvit/builds/2050374
19:20:29  * travis-cipart
19:42:24  * `3rdEdenjoined
20:09:24  * indexzerojoined
20:18:23  * luastonedquit (Quit: Leaving.)
20:40:14  * mmalecki1away]quit (Ping timeout: 246 seconds)
21:07:46  <rphillips>goal: get luvit onto a space satellite or rover
22:01:26  * `3rdEdenquit (Quit: Zzzzz)
22:58:49  * indexzeroquit (Quit: indexzero)
22:59:47  * indexzerojoined
23:00:02  * indexzeroquit (Client Quit)