00:27:55  * dan336joined
00:30:29  * dan336quit (Client Quit)
00:33:07  * UniOnquit (Remote host closed the connection)
01:06:35  * kazuponjoined
01:15:40  * a_lequit (Remote host closed the connection)
01:36:05  * a_lejoined
01:56:20  * DarkGodquit (Quit: Leaving)
01:57:30  <rphillips>outerRead is returning nil
02:13:41  * dan336joined
02:16:36  * dan336quit (Client Quit)
02:17:45  * erlbot--quit (Remote host closed the connection)
03:12:05  * a_lequit (Read error: Connection reset by peer)
03:26:27  * kazuponquit (Remote host closed the connection)
03:27:04  * a_lejoined
04:00:04  * odiumjoined
04:00:18  * odiumchanged nick to Guest89258
04:00:33  * Guest89258changed nick to odiumx
04:09:40  * kazuponjoined
04:48:08  * travis-cijoined
04:48:08  <travis-ci>luvit/luvit#1207 (tls.connect - 230c3c8 : Ryan Phillips): The build is still failing.
04:48:08  <travis-ci>Change view : https://github.com/luvit/luvit/compare/413cb070b20c...230c3c8805f3
04:48:08  <travis-ci>Build details : http://travis-ci.org/luvit/luvit/builds/41443154
04:48:08  * travis-cipart
05:00:46  * travis-cijoined
05:00:46  <travis-ci>luvit/luvit#1208 (tls.connect - a4e7ff9 : Ryan Phillips): The build was fixed.
05:00:46  <travis-ci>Change view : https://github.com/luvit/luvit/compare/230c3c8805f3...a4e7ff96250a
05:00:46  <travis-ci>Build details : http://travis-ci.org/luvit/luvit/builds/41443737
05:00:46  * travis-cipart
05:00:52  <rphillips>woo
05:00:53  <rphillips>it works
05:36:24  * kazuponquit (Remote host closed the connection)
05:36:53  * kazuponjoined
07:24:30  * a_lequit (Remote host closed the connection)
07:25:09  * a_lejoined
07:30:49  * kazuponquit (Remote host closed the connection)
07:33:32  * kazuponjoined
08:04:24  * kazuponquit (Remote host closed the connection)
08:09:54  * kazuponjoined
08:16:37  * DarkGodjoined
10:53:52  * kazuponquit (Remote host closed the connection)
11:45:56  * ra^^joined
11:52:36  * a_lequit (Ping timeout: 265 seconds)
12:25:01  * a_lejoined
12:52:31  * cledevjoined
13:15:41  * erlbot--joined
13:43:40  * tjcraveyjoined
15:18:10  <creationix>mornin
15:24:42  <creationix>I’m trying to setup my raspberry pi to build luvi binaries. I remember people loves to use luvit on raspberry pi before
15:26:48  * dan336joined
15:30:20  <rphillips>morning
15:34:09  <creationix>nice, luajit detects hardware fpu and arm processor correctly
15:35:09  <creationix>also considered getting a Radxa Rock Pro RK3188 Quad-core 1.6 GHz 2G RAM 8G Flash open source Single-board Computer
15:35:26  <creationix>but I’m not sure if binaries for that would be useful since it’s not very popular
15:36:44  <creationix>I mean it only has 5 reviews on amazon. There can’t be that many people who have one
15:37:16  <creationix>(the latest model of the raspPI has 143 reviews for comparison)
15:52:17  * a_lequit (Ping timeout: 258 seconds)
15:59:46  * a_lejoined
16:10:14  * a_lequit (Read error: Connection reset by peer)
16:10:45  * a_lejoined
16:18:40  * travis-cijoined
16:18:40  <travis-ci>luvit/luvit#1209 (luvi-up - dfe9c8b : Tim Caswell): The build passed.
16:18:40  <travis-ci>Change view : https://github.com/luvit/luvit/compare/3af39c21de02...dfe9c8b26d6d
16:18:40  <travis-ci>Build details : http://travis-ci.org/luvit/luvit/builds/41496500
16:18:40  * travis-cipart
16:21:48  * travis-cijoined
16:21:48  <travis-ci>luvit/luvi#145 (master - 53bc4b0 : Ryan Phillips): The build passed.
16:21:48  <travis-ci>Change view : https://github.com/luvit/luvi/compare/d65c6606a8d3...53bc4b024148
16:21:48  <travis-ci>Build details : http://travis-ci.org/luvit/luvi/builds/41496506
16:21:48  * travis-cipart
16:42:43  <creationix>wow archlinux arm has a really slow server. I've been downloading for about 40 minutes and it's only half done
16:43:46  * UniOnjoined
16:43:51  <creationix>rphillips: so now that luvi has zip writing ability, what interface do we want in luvit? I was thinking some command-line action to combine luvit with a folder to create a new binary
16:44:05  <rphillips>+1
16:44:12  <creationix>and maybe another action to unpack what's in luvit to a folder
16:44:21  <rphillips>that would be slick as well
16:44:30  <creationix>what are the use cases for virgo?
16:44:37  <creationix>you mentioned layers might be good?
16:44:38  <rphillips>we will need to pack the luvit modules, as well as say a virgo subdirectory
16:44:57  <rphillips>it'll look like the app/ folder in luvit
16:45:28  <creationix>what about the idea to make the bundle hybrid where it looks in LUVI_DIR first, but then falls back to the packed zip if a file isn't found there?
16:46:14  <rphillips>that would work
16:46:34  <creationix>that way you don't have to have the luvit files in your virgo tree
16:46:37  <creationix>just the differences
16:46:49  <creationix>though I guess there wouldn't be a way to delete files then
16:46:54  <rphillips>https://github.com/virgo-agent-toolkit/virgo-base-agent/tree/luvi-up/app
16:47:13  <rphillips>so we have virgo-base, which are the 'shared' modules for agents
16:47:25  <creationix>that's really clean
16:47:26  <rphillips>we will need to add the rackspace-monitoring flavors in as well
16:47:48  <rphillips>i haven't started on the rackspace-monitoring refactor yet
16:48:12  <creationix>so that would be layered on top of virgo then
16:48:26  <rphillips>my intent is to be able to get a test framework setup for virgo-base using that main.lua https://github.com/virgo-agent-toolkit/virgo-base-agent/blob/luvi-up/app/main.lua
16:48:28  <creationix>yeah, I think this hybrid bundle is going to be super useful
16:49:00  <rphillips>the rackspace-monitoring should have it's own test framework as well
16:49:47  <rphillips>an interesting concept we have in rackspace-monitoring is an entry point... rma (rackspace-monitoring-agent from now on) rma -x check_runner -t agent.mysql etc
16:50:15  <creationix>neat
16:50:17  <rphillips>-x will execute a module called check_runner within the zip
16:50:41  <rphillips>since FFI is risky, the main agent process spawns itself with that separate runner
16:51:07  <rphillips>in this case, that runner runs a mysql check using the FFI layer
16:51:21  <rphillips>something to keep in mind
16:51:38  <creationix>good idea
16:52:09  <creationix>ok, I'll work no hybrid bundle and cli options in luvit to bundle itself
16:52:27  <rphillips>nice
16:52:35  <creationix>maybe even put some of the bundle stuff in luvi itself so we don't have a bootstrap problem in luvit
16:52:47  <creationix>but since luvi doesn't have command-line args, it's trickier
16:52:52  <rphillips>i'm working on tls context setup... etc
16:59:51  <rphillips>it would be slick to support npm luvit modules
17:01:41  * creationixquit (Ping timeout: 272 seconds)
17:07:57  * tjcraveyquit (Read error: Connection reset by peer)
17:08:02  * tjcravey_joined
17:14:25  * kazuponjoined
17:14:36  * tjcravey_changed nick to tjcravey
17:37:23  * a_lequit (Read error: Connection reset by peer)
17:59:04  * a_lejoined
17:59:34  * creationix_joined
18:02:38  * creationix_changed nick to creationix
18:48:34  * creationixpart
18:48:51  * creationixjoined
18:54:52  <creationix>I think it would be nice if app was the root folder in luvit. We just need some way to exclude certain files/folders from the bundle
18:55:02  <creationix>maybe add a .luvitignore file?
18:58:11  <rphillips>+1
18:58:50  <rphillips>https://github.com/luvit/luvit/commit/00ace8543369fd059ccff62a2e9dcc5ba5f9ba6d
18:58:54  <rphillips>got the ca roots added
18:58:59  <creationix>nice
18:59:22  <rphillips>it stores one global state DEFAULT_ROOT_STORE when it's first instantiated
19:00:17  * kazuponquit (Remote host closed the connection)
19:00:17  <creationix>are the actual roots in openssl?
19:00:31  <rphillips>mozilla
19:00:40  <creationix>oh, nevermind, I see it
19:01:00  <creationix>I hope that compresses well
19:01:32  <rphillips>https://github.com/agl/extract-nss-root-certs
19:01:49  <rphillips> adding: modules/_root_ca.lua (deflated 47%)
19:02:23  <creationix>not too bad, but still 150k
19:03:49  <creationix>stripping the comments would help some
19:04:10  <creationix>but that would require a way to trigger “compiles” for certain files
19:04:51  <rphillips>3.2 MB with that same test from yesterday
19:05:32  <rphillips>luckily we don't have to load those certs all the time for the agent
19:07:15  * kazuponjoined
19:07:35  * travis-cijoined
19:07:35  <travis-ci>luvit/luvit#1210 (tls.connect - 00ace85 : Ryan Phillips): The build was broken.
19:07:35  <travis-ci>Change view : https://github.com/luvit/luvit/compare/a4e7ff96250a...00ace8543369
19:07:35  <travis-ci>Build details : http://travis-ci.org/luvit/luvit/builds/41514847
19:07:35  * travis-cipart
19:07:57  <creationix>so does the test now verify my ca at luvit.io?
19:12:51  * kazuponquit (Remote host closed the connection)
20:20:00  <creationix>I wonder if there is a way to tell cmake to not build both luajit51.a and luajit the binary?
20:20:16  <creationix>compiling luajit twice on my raspberry pi made the build about 10 minutes longer
20:21:26  <rphillips>not yet... close
20:21:48  <rphillips>i need a good way to stop the stream
20:22:15  <rphillips>well... the chain
20:22:38  <creationix>what do you mean “stop"
20:23:04  <creationix>writing nil signals end of stream
20:23:28  <creationix>there is currently no way for a reader to say it’s no longer interested though
20:23:49  <rphillips>hmm k.
20:24:02  <rphillips>i got a crash, but it's in openssl_ssl_ctx_gc
20:24:32  * dan336quit (Read error: Connection reset by peer)
20:24:33  * dan3361joined
20:46:28  <rphillips>creationix: have time for a small brain dump on the poller code?
20:46:35  <creationix>sure
20:47:32  <rphillips>dialing...
21:45:30  * tjcraveyquit (Quit: Textual IRC Client: www.textualapp.com)
21:47:04  <rphillips>so the cert store is free'ed in the ssl context free
21:49:47  <creationix>alright luvi-binaries are building on my raspberry pi. Let’s see if you can fix the ssl bug before it’s done ;)
21:57:14  <rphillips>probably not
21:57:32  <rphillips>i can see why he gc's the x509_store
22:00:00  <rphillips>needs a new_no_ref()
22:03:07  * cledevquit (Ping timeout: 255 seconds)
22:08:10  <rphillips> local mt = getmetatable(store)
22:08:10  <rphillips> mt.__gc = nil
22:08:10  <rphillips> setmetatable(store, mt)
22:08:12  <rphillips>bummer
22:08:17  <rphillips>this doesn't work on userdata
22:10:18  <jirwin>no unpipe() ?
22:11:54  <rphillips>unref()... no
22:12:17  <creationix>considering putting this in luvit since I sometimes make typoes in libuv api names https://gist.github.com/creationix/95d2016f42e4cf619e51
22:17:03  <rch>creationix: heh
22:17:15  <rch>creationix: i feel like it should be an optional cli flag or something
22:17:32  <creationix>I’m making it a module called “helpful”
22:17:37  <rch>wow nice
22:17:46  <rch>so then there's a place for all the helpful ideas
22:17:57  <rphillips>nice
22:18:22  * cledevjoined
22:31:11  <creationix>http://showterm.io/cd67b56adcb328e03f2ab
22:32:31  <rphillips>handy
22:33:17  <creationix>https://github.com/luvit/luvit/pull/541
22:33:39  <rphillips>creationix: license header
22:34:48  <rphillips>+1
22:35:06  <creationix>done
22:37:39  <rch>i can't wait until package management is a solved problem in luvit
22:37:40  <creationix>should probably make a package manager + registry some time soon. There is no reason this needs to go in core
22:37:46  <rch>creationix: o/
22:41:23  <creationix>rphillips: fwiw, the static build of luvi fails on Raspberry pi
22:41:27  <creationix>I’m just going to skip it for now
22:41:30  <rphillips>bummer
22:41:31  <rphillips>where?
22:42:24  <creationix>https://gist.github.com/creationix/1cf6c4ae9ae461c540d5
22:42:45  <creationix>might have just run out of ram
22:42:48  * travis-cijoined
22:42:48  <travis-ci>luvit/luvit#1211 (helpful - 9dcb55d : Tim Caswell): The build has errored.
22:42:48  <travis-ci>Change view : https://github.com/luvit/luvit/commit/9dcb55d1d92e
22:42:48  <travis-ci>Build details : http://travis-ci.org/luvit/luvit/builds/41539018
22:42:48  * travis-cipart
22:42:51  <creationix>I ordered the B+ model that has 512mb
22:42:58  <creationix>should be here tomorrow
22:44:40  <creationix>hmm, I think this is the issue https://gist.github.com/creationix/1cf6c4ae9ae461c540d5#file-error-log-L443-L446
22:45:57  * travis-cijoined
22:45:57  <travis-ci>luvit/luvit#1213 (helpful - e830664 : Tim Caswell): The build has errored.
22:45:57  <travis-ci>Change view : https://github.com/luvit/luvit/compare/9dcb55d1d92e...e83066403c2c
22:45:57  <travis-ci>Build details : http://travis-ci.org/luvit/luvit/builds/41539266
22:45:57  * travis-cipart
22:47:11  <creationix>looks like we need to define OPENSSL_NO_EC_NISTP_64_GCC_128 to skip that feature
22:48:09  <creationix>https://github.com/luvit/openssl/blob/32153a72dbdc30b39b3b3cf32c31cec6bdb16da8/openssl/crypto/ec/ecp_nistp224.c#L29-L44
22:49:49  <creationix>I guess that would need to go in the CMake file for openssl for all non-64-bit platforms
22:51:07  <creationix>I guess windows didn’t have this issue because it wasn’t gcc
23:05:27  * arek_deepinitjoined
23:08:57  <rphillips>creationix: https://github.com/luvit/openssl/blob/master/openssl.cmake#L839
23:09:02  <rphillips>looks like we define it here for windows
23:09:36  * arek_deepinitquit (Client Quit)
23:11:33  <creationix>I wonder if we need that MK1MF_BUILD flag too
23:16:02  <rphillips>node creates a global x509 ca store
23:16:22  <rphillips>i don't get why it doesn't double free as well
23:21:13  <creationix>all tests in luvit now pass on raspberry pi. Takes 8.4 seconds to run `make clean test`
23:21:16  <creationix>yay for prebuilt binaries
23:21:27  <creationix>(the binary took ~ 30 minutes to build I think)
23:23:12  <creationix>running luvit on the command line only has 0.1s overhead (much better than node’s startup time)
23:23:16  <creationix>dinner time
23:25:58  <rphillips>nice!
23:33:16  * cledevquit (Ping timeout: 244 seconds)
23:33:16  <rphillips>https://github.com/zhaozg/lua-openssl/pull/28
23:33:22  <rphillips>seems to work
23:33:34  <rphillips>and the __gc still gets called for the certstore
23:47:35  * travis-cijoined
23:47:35  <travis-ci>luvit/luvit#1216 (tls.connect - 5637e16 : Ryan Phillips): The build was fixed.
23:47:35  <travis-ci>Change view : https://github.com/luvit/luvit/compare/00ace8543369...5637e160cf2d
23:47:35  <travis-ci>Build details : http://travis-ci.org/luvit/luvit/builds/41546435
23:47:35  * travis-cipart
23:56:40  * dan3361quit (Quit: Leaving.)