00:53:36  * Kami_quit (Excess Flood)
00:55:52  * Kami_joined
01:01:26  * xming_joined
01:04:55  * xmingquit (Ping timeout: 265 seconds)
01:18:14  <daurnimator>creationix: we found coroutines didn't scale well, but thats with normal lua
01:26:15  <creationix>daurnimator: did you see https://twitter.com/creationix/status/224670691591602178
01:26:21  <creationix>or the luajit mailing list post I got it from
01:27:07  <daurnimator>i just read the list
01:56:52  * mkandrashoffquit (Quit: Leaving.)
02:15:53  * mkandrashoffjoined
02:51:55  * mkandrashoff1joined
02:54:46  * mkandrashoffquit (Ping timeout: 244 seconds)
03:11:13  * Kami_quit (Excess Flood)
03:12:54  * Kami_joined
03:31:15  * philips_quit (Excess Flood)
03:34:04  * philips_joined
03:38:56  * Kami_quit (Excess Flood)
03:42:54  * Kami_joined
03:43:05  * Spionquit (Ping timeout: 246 seconds)
03:50:20  <CIA-113>Brandon Philips master * rd5a4e92 / (.gitignore Makefile): Makefile: introduce dist_build target - http://git.io/VJcfNQ
03:50:20  <CIA-113>Brandon Philips master * ra75dccd / (.gitignore Makefile): Merge pull request #278 from luvit/pull-out-dist-build - http://git.io/OWAOcw
03:56:07  * Spionjoined
04:39:40  * luastonedjoined
04:41:26  * luastoned1joined
04:43:47  * luastonedquit (Ping timeout: 244 seconds)
05:44:41  * luastonedjoined
05:47:00  * mkandrashoff1quit (Quit: Leaving.)
05:48:02  * luastoned1quit (Ping timeout: 246 seconds)
05:51:35  * tim_smart|awaychanged nick to tim_smart
05:52:24  * tim_smartchanged nick to tim_smart|away
06:12:03  <luvit-bb>build #167 of luvit-ubuntu10.04_x64 is complete: Failure [failed git] Build details are at https://virgo-bb.k1k.me/builders/luvit-ubuntu10.04_x64/builds/167
10:02:54  * mmaleckiquit (Ping timeout: 246 seconds)
10:28:57  * ixtijoined
10:30:03  <ixti>Hi everybody :)) Does luvit has some kind of modules system like gem or pip or npm ?
11:03:59  * Spionquit (Ping timeout: 240 seconds)
11:06:26  * Spionjoined
11:43:58  * boxofroxquit (*.net *.split)
11:45:21  * boxofroxjoined
11:56:28  <ixti>Found the answer. :))
12:03:48  <luvit-bb>build #168 of luvit-ubuntu10.04_x64 is complete: Success [build successful] Build details are at https://virgo-bb.k1k.me/builders/luvit-ubuntu10.04_x64/builds/168
13:28:41  * dvvquit (Ping timeout: 250 seconds)
13:49:19  <creationix>ixti, what was the answer?
13:50:24  <ixti>creationix: :)) Basically I found that I can `cd my-project && mkdir modules && git clone git://example.com/foobar.git modules/foobar` :))
13:50:34  <ixti>That was more than enough for me :))
13:53:35  <ixti>creationix: I was just thinking about to play with luvit to jump into the lua, and the best option for me is trying to do something interesting like porting Sprockets or Faye
13:54:50  <creationix>ixti, very cool
13:54:58  <creationix>yes, we have "modules" where node has "node_modules"
13:55:13  <creationix>I'm hoping the community will build a tool like npm
13:55:20  <ixti>that's cool :))
13:55:24  <creationix>We currently have lum which is pretty nice
13:55:34  <creationix>no central repository (though I consider that a good thing)
13:55:36  <ixti>i hope it will be like gem though
13:55:43  <creationix>how so?
13:56:25  <ixti>i mean i would like to have something like gem + bundler rather than npm
13:57:08  * tim_smart|awayquit (Read error: Operation timed out)
13:58:01  <ixti>i can't find lum. where i can read about it?
14:01:54  <ixti>creationix: do you use any documenting (e.g. luadoc) for api docs?
14:04:42  <creationix>not yet
14:04:47  <creationix>I started something like that
14:05:01  <creationix>there is a (probably broken) `make doc` target in the makefile
14:07:37  <ixti>ok. thanks.
14:08:02  <ixti>just wanted to know which documentor is a "mainstream" for lua :))
14:08:15  <ixti>as i found only luadoc :))
14:10:00  <daurnimator>whats wrong with luarocks?
14:10:10  <daurnimator>ixti: ldoc is a newer take on luadoc
14:10:14  <daurnimator>not that I use it
14:11:03  <ixti>just to explain: i'm totally newbie for lua :))
14:11:36  <ixti>daurnimator: thanks for the info
14:11:54  <daurnimator>I tend to be rather poor at writing documentation
14:12:10  <daurnimator>though when I do I just maintain markdown files seperately
14:12:21  <daurnimator>lua doesn't lend itself to static analysis very well :P
14:12:50  <daurnimator>in my daily coding I only rarely actually give functions names.... or even name my classes
14:13:26  * dvvjoined
14:13:47  <daurnimator>"There are only two hard things in Computer Science: cache invalidation and naming things." ==> I get to skip one of them ;)
14:14:01  <ixti>:))
14:21:47  <creationix>in luvit source I wrote a luvit-specefic parser and I have to write my code a certain way to make it parsable
14:22:30  <creationix>and then I do some basic static analysis on the file assuming the code follows those conventions
14:22:40  <creationix>for example, luvit modules have to return their exports https://github.com/luvit/luvit/blob/master/lib/luvit/core.lua#L264
14:22:59  <creationix>then I read backwards looking for where that was defined https://github.com/luvit/luvit/blob/master/lib/luvit/core.lua#L25
14:23:13  <creationix>then all exports are defined as extensions to that object and I look for comments
14:23:27  <creationix>"classes" must extend Object or another class
14:23:39  <creationix>and methods use : syntax when being defined
14:23:49  <creationix>the contents of the comment is markdown
14:25:37  <daurnimator>i was once working on a runtime documentation engine
14:25:51  <daurnimator>but I got stuck on trying to create an output format
14:25:58  <creationix>how do you get comments using runtime in lua?
14:26:15  <creationix>atleast in javascript you can .toString() function and get their source
14:26:37  <daurnimator>creationix: http://lua-users.org/lists/lua-l/2011-12/msg00088.html
14:28:19  * TheJHjoined
14:28:40  * tim_smart|awayjoined
14:29:00  * tim_smart|awaychanged nick to tim_smart
14:31:17  <creationix>daurnimator, interesting syntax
14:31:25  <creationix>the optional parens really throw me
14:32:07  <creationix>so where do you tell doc to wrap the function
14:32:16  <creationix>some global config option elsewhere
14:32:55  <daurnimator>creationix: just do it lazily.
14:33:29  <daurnimator>ie, it just stores it in a table somewhere; and if you do help(print) it generates it all.
14:34:01  <daurnimator>also for generating docs you'd codedoc.genall():tohtml() or something
14:35:31  <daurnimator>I spent a whole week trying to document the documentation function with itself. really did my head in :p
14:36:25  <daurnimator>creationix: I also thought you could have a global flag where you turn on apicheck/debug mode. and codedoc would validate all your arguments :)
14:36:52  <creationix>neat
14:36:57  <daurnimator>but yeah.... was hard, and I got sidetracked
14:37:01  <creationix>though I still prefer static analysis of the source-code
14:37:07  <creationix>looks a lot cleaner to me
14:37:25  <creationix>and it's a lint check since it enforces a special style of coding
14:37:36  <daurnimator>I change coding styles though
14:37:52  <daurnimator>depending on who I'm writing for/what sort of code I'm writing/etc
14:38:08  <creationix>indeed
14:38:15  <creationix>that's why this would a luvit specific tool
14:38:16  <daurnimator>creating something that works on all code would be a big plus
14:38:23  <creationix>lua is too flexible
14:38:27  <creationix>that's hard to do right
14:38:39  <daurnimator>I think I thought of a good solution :)
14:38:46  <daurnimator>just need someone with lots of time to flesh it out
14:39:00  <creationix>yeah, the runtime stuff works great, just not my style
14:39:33  <ixti>creationix: for JS I love PDoc. It's not analyzing sources in fact. It analyzes doc blocks only. And that's quiet more than enough :))
14:40:31  <ixti>So it generates something like this: http://api.prototypejs.org/
14:51:31  <daurnimator>creationix: are you interested to get parts of luvit working on fend? cause that would be an interesting project
14:59:27  * mkandrashoffjoined
15:16:09  * coolaj86quit (Ping timeout: 250 seconds)
15:28:10  * davidboyquit (Ping timeout: 255 seconds)
15:29:29  * davidboyjoined
15:32:15  * luastonedquit (Quit: Leaving.)
15:41:17  * Spionquit (Ping timeout: 246 seconds)
15:42:49  * mkandrashoff1joined
15:45:08  * mkandrashoffquit (Ping timeout: 246 seconds)
15:54:43  * Spionjoined
15:58:21  <creationix>daurnimator, maybe, but I'm already overwhelmed with experiments
15:58:26  <creationix>maybe once things settle some
16:22:36  <daurnimator>sure; I also have no shortage of things ;)
16:26:47  * TheJHquit (Ping timeout: 246 seconds)
16:36:29  * philips_quit (Excess Flood)
16:36:37  * philips_joined
16:44:49  * coolaj86joined
17:00:26  <coolaj86>Any reason that modules require init.lua rather than index.lua?
17:07:19  <creationix>coolaj86, I don't really use either
17:07:30  <creationix>I don't remember why init was chosen
17:07:39  <creationix>it's index in node right?
17:08:15  <daurnimator>init.lua is a lua thing
17:08:29  <daurnimator>(it's in the default package.path)
17:09:06  <coolaj86>makes sense
17:29:25  * jelliottquit (Quit: leaving)
17:33:24  * jelliottjoined
17:35:24  * `3rdEdenjoined
17:57:23  * philips_quit (Excess Flood)
17:59:37  * philips_joined
18:17:55  * TheJHjoined
18:48:03  * jelliottquit (Quit: leaving)
19:21:46  * `3rdEdenquit (Quit: Linkinus - http://linkinus.com)
19:44:52  * jelliottjoined
20:49:21  * mkandrashoff1quit (Quit: Leaving.)
22:22:04  * kevwiljoined
22:26:14  * Spionquit (Ping timeout: 246 seconds)
22:44:18  * ixtiquit (Quit: So Long, and Thanks for All the Fish!)
22:59:07  * TheJHquit (Quit: goodbye)
23:02:20  * kevwilquit (Quit: WeeChat 0.3.8)
23:09:26  * mkandrashoffjoined
23:14:56  * mkandrashoffquit (Quit: Leaving.)
23:22:46  * davidboychanged nick to davidboy|alive
23:49:13  * davidboy|alivechanged nick to davidboy|living
23:50:21  * davidboy|livingchanged nick to davidboy