00:20:57  * coolaj86quit (Ping timeout: 246 seconds)
00:26:57  * hnakamurjoined
00:27:57  * TheJH_quit (Ping timeout: 248 seconds)
00:31:13  * hnakamurquit (Ping timeout: 240 seconds)
00:35:29  * hnakamurjoined
01:03:53  * xmingquit (Ping timeout: 260 seconds)
01:44:15  * elguapo99joined
02:32:41  * hnakamurquit (Remote host closed the connection)
02:54:43  * coolaj86joined
02:59:35  * xmingjoined
03:03:08  * hnakamurjoined
03:10:02  * coolaj86quit (Read error: Connection reset by peer)
03:10:14  * coolaj86joined
03:12:53  * hnakamurquit (Ping timeout: 265 seconds)
03:20:03  * elguapo99quit (Ping timeout: 276 seconds)
03:28:12  * hnakamurjoined
03:32:42  * hnakamurquit (Ping timeout: 268 seconds)
03:52:34  * hnakamurjoined
04:06:11  * hnakamurquit (Remote host closed the connection)
05:03:07  * hnakamurjoined
05:13:25  * hnakamurquit (Ping timeout: 244 seconds)
06:09:53  * hnakamurjoined
06:14:54  * hnakamurquit (Ping timeout: 276 seconds)
07:09:01  * joshthecoderquit (Quit: Linkinus - http://linkinus.com)
07:10:27  * hnakamurjoined
07:14:36  * hnakamurquit (Ping timeout: 246 seconds)
07:42:53  * mmaleckiquit (Ping timeout: 260 seconds)
07:43:57  * hessamjoined
07:46:46  * mmaleckijoined
07:50:07  * hessamquit (Ping timeout: 245 seconds)
08:11:05  * hnakamurjoined
08:15:14  * hnakamurquit (Ping timeout: 245 seconds)
08:26:56  * kristatejoined
09:09:52  <kristate>Hi everyone. I am new to the community. I just opened a pull-request regarding Buffers. https://github.com/luvit/luvit/pull/334
09:10:33  * hnakamurjoined
09:13:22  * xmingquit (Changing host)
09:13:22  * xmingjoined
09:27:13  * hnakamurquit (Quit: Leaving...)
09:27:26  * hnakamurjoined
10:30:54  * hnakamurquit (Remote host closed the connection)
10:34:06  * hnakamurjoined
11:00:26  * hnakamurquit (Remote host closed the connection)
11:03:13  * hnakamurjoined
12:05:34  * hnakamurquit (Ping timeout: 240 seconds)
12:05:50  * hnakamurjoined
12:41:03  * TheJHjoined
14:13:03  * hnakamurquit (Remote host closed the connection)
14:13:34  * hnakamurjoined
14:18:34  * hnakamurquit (Ping timeout: 245 seconds)
14:44:02  * hnakamurjoined
14:52:19  * hnakamurquit (Ping timeout: 252 seconds)
15:07:03  * hnakamurjoined
15:18:45  * elguapo99joined
16:11:48  * luastonedjoined
16:18:21  * hnakamurquit (Remote host closed the connection)
16:18:52  * hnakamurjoined
16:23:08  * hnakamurquit (Ping timeout: 252 seconds)
16:27:04  * hnakamurjoined
16:32:07  <kristate>Announce: cBuffers: New ffi-less Buffer module; https://github.com/kristate/luvit/commit/75a39308929df5176c9fd48611c1d5b5ed64f8d3
16:36:14  <rphillips>kristate: awesome
16:36:16  <rphillips>thank you!
16:36:22  <rphillips>i'll take a look
16:36:25  <kristate>Cool thanks
16:37:15  <rphillips>kristate: looks like the travis build failed
16:37:17  <rphillips>http://travis-ci.org/#!/luvit/luvit/builds/2235762
16:37:29  <kristate>Looks like I need to update the Makefile aswell
16:37:40  <rphillips>true
16:38:48  <kristate>building… :)
16:40:06  <kristate>I have been working with nakamura-san here in Japan
16:40:19  <kristate>we're really excited about luvit and will be putting a lot of time into the project
16:40:55  <rphillips>awesome
16:40:56  <hnakamur>I think cBuffers is a great addition, too!
16:40:57  <kristate>Okay, local Makefile looks good here
16:41:03  <kristate>going to push
16:41:04  <rphillips>cBuffers++
16:41:12  <hnakamur>cBuffers++
16:41:19  <rphillips>i'm commenting on the PR
16:41:58  <kristate>pushed
16:50:34  <rphillips>looks good... just a few tweaks and making sure tests pass
16:50:45  <rphillips>i have some errands to do, but I'll be back
16:50:46  <kristate>push
16:51:49  <rphillips>all the C functions need the variable tweaks
16:51:52  <rphillips>to the top
16:53:44  <hnakamur>Buffer.length is used at Buffer:toString() in lib/luvit/buffer.lua
16:54:36  <hnakamur>Oh, forget it.
16:54:51  <kristate>きっとtestsuiteだと思う
16:57:22  <hnakamur>It seems that Buffer.length is not used in https://github.com/luvit/luvit/blob/master/tests/test-buffer.lua
16:59:47  <kristate>そうそう、なくした
17:00:03  <kristate>対応するよ
17:02:59  <kristate>pushed
17:05:01  <kristate>まだfailedかw
17:05:29  <hnakamur>kristate: Please run 'make test' to see whether tests pass.
17:05:35  <kristate>yes
17:09:01  <rphillips>bbiab
17:14:26  <hnakamur>luvit tests/test-buffer.lua seems pass at my Mac here.
17:14:54  <hnakamur>My bad.
17:15:11  <hnakamur>It should have been ./build/luvit tests/test-buffer.lua
17:15:32  <hnakamur>And it fails with /Users/hnakamur/mysrc/luvit/luvit/lib/luvit/luvit.lua:221: /Users/hnakamur/mysrc/luvit/luvit/lib/luvit/buffer.lua:63: bad argument #3 to '__newindex' (Value is longer than Buffer Length)
17:16:10  <hnakamur> [C]: in function '__newindex'
17:16:10  <hnakamur> /Users/hnakamur/mysrc/luvit/luvit/lib/luvit/buffer.lua:63: in function '__newindex'
17:16:10  <hnakamur> /Users/hnakamur/mysrc/luvit/luvit/tests/test-buffer.lua:31: in function 'fn'
17:16:11  <hnakamur> /Users/hnakamur/mysrc/luvit/luvit/lib/luvit/module.lua:67: in function 'myloadfile'
17:16:13  <hnakamur> /Users/hnakamur/mysrc/luvit/luvit/lib/luvit/luvit.lua:321: in function </Users/hnakamur/mysrc/luvit/luvit/lib/luvit/luvit.lua:221>
17:16:15  <hnakamur> [C]: in function 'xpcall'
17:16:17  <hnakamur> /Users/hnakamur/mysrc/luvit/luvit/lib/luvit/luvit.lua:221: in main chunk
17:16:19  <hnakamur> [C]: in function 'require'
17:16:21  <hnakamur> [string " local path = require('uv_native').execpat..."]:1: in main chunk
17:16:23  <hnakamur>WARNING: forgot to close luv_tty lhandle=0x7729c30 handle=0x7fe2eac20f10
17:18:33  <hnakamur>test-buffer.lua:31 https://github.com/luvit/luvit/blob/master/tests/test-buffer.lua#L29
17:20:34  <hnakamur>buffer.lua:63 https://github.com/kristate/luvit/blob/new_cbuffers/lib/luvit/buffer.lua#L61
17:20:48  <kristate>うん yes
17:21:00  <kristate>patching lua_buffer.c :)
17:21:07  * philips_quit (Excess Flood)
17:22:00  * philips_joined
17:27:30  <hnakamur>I think 3rd arg 'value' is better a number https://github.com/kristate/luvit/blob/new_cbuffers/src/luv_buffer.c#L98
17:27:45  <kristate>そうそう
17:27:53  <kristate>I almost have the patch ready
17:29:00  <hnakamur>If you change value in __newindex to be a number, you should change the return value of __index to be a number, I think.
17:31:06  <hnakamur>A Buffer is a byte array, so one byte may be a ASCII character or a part of a UTF-8 multibyte character.
17:34:48  <kristate>もう少し -- almost here
17:36:58  <kristate>PASS
17:37:03  <kristate>おk,pushするよ
17:37:06  <hnakamur>nice!
17:39:18  <kristate>push済み!
17:39:33  <kristate>let's see what travis has to say ;)
17:41:08  <kristate>https://github.com/kristate/luvit/commit/044a655540ece6aae8376cc7fe07044cde0d3342
17:41:24  <hnakamur>Yay, it passes!
17:41:39  <kristate>おぉー This pull request passes (merged 044a655 into 6727d4f).
17:50:11  <hnakamur>Now I go to bed. BBT
17:51:04  * coolaj86quit (Ping timeout: 240 seconds)
18:17:26  * hnakamurquit (Remote host closed the connection)
18:56:05  * `3rdEdenjoined
18:58:00  * elguapo99quit (Ping timeout: 276 seconds)
19:04:39  * kristatequit (Read error: Connection reset by peer)
19:04:54  * kristatejoined
19:05:43  * elguapo99joined
19:17:53  * mmaleckiquit (Read error: Connection reset by peer)
19:18:10  * mmaleckijoined
19:18:29  * hnakamurjoined
19:27:28  * hnakamurquit (Ping timeout: 244 seconds)
19:35:39  * `3rdEdenquit (Quit: Leaving...)
19:35:42  * kristatequit (Ping timeout: 276 seconds)
19:57:48  * elguapo99quit (Ping timeout: 276 seconds)
20:22:34  * luastonedquit (Quit: Leaving.)
20:24:29  * hnakamurjoined
20:29:15  * hnakamurquit (Ping timeout: 272 seconds)
21:03:34  * coolaj86joined
21:14:33  * coolaj86quit (Read error: Connection reset by peer)
21:25:04  * hnakamurjoined
21:29:56  * hnakamurquit (Ping timeout: 260 seconds)
21:34:01  * mmaleckiquit (Ping timeout: 260 seconds)
21:44:58  * hessamjoined
21:51:00  * coolaj86joined
22:04:36  * joshthecoderjoined
22:17:03  <boxofrox>!ping
22:25:32  * coolaj86quit (Ping timeout: 240 seconds)
22:25:42  * hnakamurjoined
22:25:54  * kristatejoined
22:30:17  * hnakamurquit (Ping timeout: 252 seconds)
22:31:55  * coolaj86joined
22:33:11  * elguapo99joined
22:49:27  * coolaj86quit (Ping timeout: 244 seconds)
23:16:15  * hnakamurjoined
23:24:29  * coolaj86joined
23:33:55  * coolaj86quit (Ping timeout: 244 seconds)
23:40:36  * TheJHquit (Ping timeout: 244 seconds)
23:53:06  * elguapo99quit (Ping timeout: 276 seconds)