00:25:35  * DarkGodquit (Ping timeout: 264 seconds)
01:02:48  * kazuponjoined
01:38:53  <gavellaneda>https://msdn.microsoft.com/en-us/library/2kzt1wy3.aspx
01:48:14  <rphillips>i bet the windows build doesn't support debug symbols in the release binary
01:54:08  <gavellaneda>rphillips: https://github.com/luvit/luvit/pull/702
01:55:38  <rphillips>second time the process has crashed right there
01:56:19  <rphillips>gavellaneda: best to do a topic branch\
01:56:23  <rphillips>then PR it
01:57:30  * joconnorquit (Remote host closed the connection)
01:58:18  <gavellaneda>ok, but do you mean for the future PRs or for this PR too?
01:58:46  <rphillips>just future PR's
01:58:59  <gavellaneda>ok
01:59:12  <rphillips>it'll prevent a merge in your tree if we merge something else before yours
01:59:59  <rphillips>gavellaneda: just a commented out test
02:03:01  <gavellaneda>perfect
02:03:20  <gavellaneda>rphillips, i've commented out because is a failing test for the http end not fires bug
02:03:55  <gavellaneda>sorry, commented, no commented out.. :P
02:04:02  * pdurbinpart ("WeeChat 0.4.3")
02:11:53  <gavellaneda>creationix: I got a raspberry pi B+ i'm now running luvit on it :)
03:14:23  * joconnorjoined
03:27:49  * travis-cijoined
03:27:50  <travis-ci>luvit/luvit#2003 (master - 2da5900 : Tim Caswell): The build passed.
03:27:50  <travis-ci>Change view : https://github.com/luvit/luvit/compare/3f3af2cfcca9...2da5900870d6
03:27:50  <travis-ci>Build details : http://travis-ci.org/luvit/luvit/builds/59341752
03:27:50  * travis-cipart
03:29:15  * kazuponquit (Remote host closed the connection)
04:19:12  * kazuponjoined
04:24:25  * kazuponquit (Ping timeout: 264 seconds)
04:46:37  * SkyRocknRolljoined
04:46:37  * SkyRocknRollquit (Changing host)
04:46:37  * SkyRocknRolljoined
05:12:09  * gavellanedaquit (Ping timeout: 256 seconds)
05:21:25  * kazuponjoined
05:41:33  * joconnorquit (Remote host closed the connection)
05:57:15  * jetlquit (Read error: Connection reset by peer)
06:15:11  * SouL_|_joined
06:59:39  * kazuponquit (Remote host closed the connection)
07:01:38  * kazuponjoined
07:21:41  * DarkGodjoined
07:32:57  * ldf__joined
07:33:36  * ldf__quit (Client Quit)
07:34:56  * ldf__joined
07:39:26  * ldf__part
07:47:25  * lionel_joined
07:47:41  <lionel_>hello
08:01:41  * kazuponquit (Remote host closed the connection)
08:06:17  * kazuponjoined
09:07:25  * kazuponquit (Remote host closed the connection)
09:11:59  * kazuponjoined
09:17:55  * UniOnjoined
09:18:28  * UniOnquit (Remote host closed the connection)
09:18:51  * UniOnjoined
09:38:06  * lionel_quit (Ping timeout: 244 seconds)
09:44:30  * lionel_joined
10:03:17  * kazuponquit (Remote host closed the connection)
10:06:41  * kazuponjoined
10:11:01  * kazuponquit (Ping timeout: 248 seconds)
10:49:01  * lionel_quit (Ping timeout: 255 seconds)
11:12:34  * lionel_joined
11:31:36  * SouL_|_quit (Ping timeout: 240 seconds)
11:51:16  <rphillips>good morning
12:55:17  * SkyRocknRollquit (Remote host closed the connection)
13:25:37  * lionel_quit (Ping timeout: 264 seconds)
13:42:16  <avidal>morning
13:45:40  <rphillips>creationix: https://github.com/luvit/lit/pull/68
13:57:12  * lionel_joined
14:03:47  <rphillips>https://github.com/luvit/luvit/pull/703
14:06:31  * travis-cijoined
14:06:32  <travis-ci>luvit/luvit#2004 (prep/release_2_1_0 - fc8840a : Ryan Phillips): The build failed.
14:06:32  <travis-ci>Change view : https://github.com/luvit/luvit/commit/fc8840af57d3
14:06:32  <travis-ci>Build details : http://travis-ci.org/luvit/luvit/builds/59401862
14:06:32  * travis-cipart
14:06:40  <rphillips>depends on the lit release
14:14:49  * gavellanedajoined
14:22:22  <gavellaneda>good morning
14:22:31  <rphillips>hiya
15:10:11  <creationix>rphillips: morning
15:10:19  <rphillips>hi tim
15:10:37  <rphillips>couple PR's up for releases
15:11:43  <creationix>rphillips: you forgot to bump the lit version in package.lua
15:11:58  <rphillips>creationix: which project?
15:12:01  <rphillips>lit?
15:12:02  <creationix>in lit
15:12:41  <creationix>and luvi version in lit’s package.lua
15:12:51  <rphillips>pushed. thanks
15:15:32  <creationix>ok, I just wrote up some notes to help us remember this stuff https://github.com/luvit/lit/wiki/Lit-Release
15:17:16  <creationix>rphillips: ok, I synced in the changes from luvit/pretty-print
15:18:03  <creationix>rphillips: you can publish if you want the practice, just make and push a git tag matching the lit version and then `lit publish deps/* .` to publish to lit
15:18:41  <creationix>the get-lit.* scripts use the github tag so that step is pretty important
15:23:49  <creationix>ok, added a note to the wiki page about making sure to push the tag at the same time as updating get-lit.* in master
15:25:43  * lionel_quit (Quit: Leaving)
15:34:48  <rphillips>orry
15:34:51  <rphillips>sorry
15:34:52  <rphillips>had a phone call
15:37:20  <rphillips>published lit
15:50:33  <creationix>looks good
15:50:34  <creationix>thanks
15:50:49  <creationix>and `lit update` grabbed the new luvi
15:50:50  <creationix>:)
15:50:54  <rphillips>sweet
15:50:59  <rphillips>travis is building the new luvit
15:51:05  <rphillips>seems like travis is slow this week :/
15:52:10  <creationix>we should probably start a changelog for lit sometime
15:52:22  <rphillips>+1
15:59:40  * SouL_|_joined
16:08:18  <creationix>wow, travis is really slow today
16:08:25  <rphillips>yes... really
16:08:45  <rphillips>one of the builds was booting... but then went back to created
16:11:10  <rphillips>http://www.traviscistatus.com/
16:11:20  <rphillips>We are seeing higher error rate spawning test workers.
16:26:36  <creationix>rphillips: do we want to start setting the luvi version in luvit’s package.lua?
16:26:54  <rphillips>that is a good idea
16:27:09  <rphillips>i'll add it to the Pr
16:27:15  <creationix>then when you lit make a new luvit, it will use the specified luvi instead of whatever is in lit
16:27:51  * joconnorjoined
16:32:23  <rphillips>i also added sudo: false to the travis config... perhaps it'll be faster
16:32:33  <rphillips>(enabled docker builds)
16:32:40  <creationix>nice
16:34:13  * travis-cijoined
16:34:14  <travis-ci>luvit/luvit#2008 (prep/release_2_1_0 - f625b03 : Ryan Phillips): The build passed.
16:34:14  <travis-ci>Change view : https://github.com/luvit/luvit/compare/d7776170ff35...f625b03d45e4
16:34:14  <travis-ci>Build details : http://travis-ci.org/luvit/luvit/builds/59424045
16:34:14  * travis-cipart
16:35:17  <creationix>that seems faster :)
16:46:01  <rphillips>:)
16:46:23  <rphillips>the docker builds are not affected by the travis outage
16:49:44  <rphillips>published luvit 2.1.0
16:51:27  <creationix>awesome
16:52:39  <rphillips>now to upgrade my branch
16:54:08  <creationix>wow, the new elementary.os is really nice
16:54:17  <creationix>it’s as polished as osx, but is ubuntu based
16:54:17  <rphillips>never tried it
16:55:21  <rphillips>based off of ubuntu?
17:04:29  * travis-cijoined
17:04:30  <travis-ci>luvit/luvit#2010 (master - 47c0b4b : Ryan Phillips): The build passed.
17:04:31  <travis-ci>Change view : https://github.com/luvit/luvit/compare/2da5900870d6...47c0b4be2350
17:04:31  <travis-ci>Build details : http://travis-ci.org/luvit/luvit/builds/59426209
17:04:31  * travis-cipart
17:07:58  <creationix>yep https://elementary.io/
17:08:14  <creationix>the last release was getting pretty old and a lot of stuff was still incomplete
17:08:19  <creationix>this version is much better
17:20:44  * gavellanedaquit (Ping timeout: 256 seconds)
17:28:09  * travis-cijoined
17:28:10  <travis-ci>luvit/luvit#2011 (2.1.0 - 47c0b4b : Ryan Phillips): The build passed.
17:28:10  <travis-ci>Change view : https://github.com/luvit/luvit/compare/2.1.0
17:28:10  <travis-ci>Build details : http://travis-ci.org/luvit/luvit/builds/59426331
17:28:10  * travis-cipart
17:58:44  <rphillips>woo \o/ the branch built on windows
17:58:49  <rphillips>with the upgraded luvit
17:59:46  * joconnor_joined
18:02:25  <rphillips>travis is killing me today
18:03:02  * joconnorquit (Ping timeout: 250 seconds)
18:03:38  * coderkevinquit (Ping timeout: 265 seconds)
18:06:06  * coderkevinjoined
18:08:04  * SouL_|_quit (Ping timeout: 252 seconds)
18:08:19  * SouL_|_joined
18:14:24  * SouL_|__joined
18:15:49  * SouL_|_quit (Ping timeout: 248 seconds)
18:20:35  <rphillips>rje: https://github.com/virgo-agent-toolkit/rackspace-monitoring-agent/pull/717
18:20:37  <rphillips>this is ready!
18:28:29  * SouL_|_joined
18:29:56  <rphillips>rje: do we support powershell as a plugin?
18:32:09  * SouL_|__quit (Ping timeout: 265 seconds)
18:37:23  * travis-cijoined
18:37:24  <travis-ci>luvit/luvit#2004 (prep/release_2_1_0 - fc8840a : Ryan Phillips): The build failed.
18:37:24  <travis-ci>Change view : https://github.com/luvit/luvit/commit/fc8840af57d3
18:37:24  <travis-ci>Build details : http://travis-ci.org/luvit/luvit/builds/59401862
18:37:24  * travis-cipart
18:40:47  <rje>rphillips: the winbase.lua is a base checktype to run powershell
18:40:54  <rje>ohhhh
18:40:58  <rje>rphillips: yes
18:41:05  <rje>ignore the winbase commnet
18:41:23  <rje>we have many customers using powershell
18:41:36  <rphillips>hmm. where are the unit tests for that?
18:43:23  <rje>https://github.com/virgo-agent-toolkit/rackspace-monitoring-agent/blob/master/tests/check/init.lua#L553
18:44:09  <rphillips>how does this work in v1?
18:44:26  <rphillips>doesn't it need a powershell.exe on the beginning of the commandline?
18:44:38  <rje>ah no
18:44:47  <rje>we use the windows file associatiopns
18:46:35  <rphillips>hmm. k. i'll try this test again
18:48:07  <rje>it won't work in 2.0
18:48:22  <rphillips>ahk
18:48:38  <rphillips>is the file association code in the C code?
18:49:22  <rje>https://github.com/virgo-agent-toolkit/virgo-base-agent/blob/b5acdad47b940fc16ca1d8cfcb2b9643f67913ee/lib/virgo_lua.c#L259
18:51:28  <rphillips>thanks... i'll see about porting this in
18:52:14  <rje>looks very ffi-able
18:52:28  <rphillips>https://github.com/malkia/luajit-winapi/blob/master/ffi/winapi/windows/shlwapi.lua#L229
18:53:12  <rje>here's the magic we use in lua for thathttps://github.com/virgo-agent-toolkit/virgo-base-agent/blob/b5acdad47b940fc16ca1d8cfcb2b9643f67913ee/lib/lua/virgo_utils.lua#L96
18:56:06  <rje>that ffi line should work if you define the params like this: https://github.com/virgo-agent-toolkit/virgo-base-agent/commit/0a58e6fed8ca00d59197b564341aca6528607ad5#diff-9047c0f8568b06c6b90a4b8208c42171R25
18:58:04  <rphillips>is this in your branch?
18:58:42  <rje>no, this is a path code, its already merged into base
18:58:47  <rphillips>sweet.
19:08:45  * travis-cijoined
19:08:46  <travis-ci>luvit/luvit#2006 (prep/release_2_1_0 - d777617 : Ryan Phillips): The build passed.
19:08:46  <travis-ci>Change view : https://github.com/luvit/luvit/compare/fc8840af57d3...d7776170ff35
19:08:46  <travis-ci>Build details : http://travis-ci.org/luvit/luvit/builds/59423897
19:08:46  * travis-cipart
19:24:02  * gavellanedajoined
19:30:43  * jetljoined
19:39:13  <creationix>rphillips: so the server-side of of a tls handshake is different than client right?
19:39:29  <creationix>I’m trying to get coro-tls to work with servers
19:44:04  <creationix>I found https://github.com/luvit/luvit/blob/master/deps/tls/common.lua#L64-L67
19:44:17  <creationix>I also want a custom server cert like the AEP’s use
19:56:49  <rphillips>creationix: same api... you set a flag
19:57:12  <creationix>ok so handshake is still the same api
19:57:35  <rphillips>right
19:57:43  <creationix>all I can find using options.server is defaulting to VERIFY_NONE if there no requestCert
19:57:48  <rphillips>https://github.com/zhaozg/lua-openssl/blob/master/test/8.ssl_s.lua#L11
19:59:09  <creationix>ok, I see, the “mode” flag when creating a new sslctx
20:03:43  <creationix>rphillips: I can’t find where he’s using the “mode” flag https://github.com/zhaozg/lua-openssl/blob/master/test/sslctx.lua
20:04:51  <rphillips>https://github.com/luvit/luvit/blob/master/deps/tls/common.lua#L144
20:04:55  <rphillips>creationix: ^
20:05:20  <creationix>ahh, it’s not in context creation, it’s when connecting it
20:05:24  <creationix>that explains why I couldn’t find it
20:06:09  * lionel_joined
20:08:03  <creationix>rphillips: ok, so explain the agent - aep cert thing
20:08:23  <creationix>do the aep’s just use a self-signed cert (or non-root ca) and the client has the server’s cert
20:08:42  <rphillips>non-root ca (we generated it and protect it)
20:08:55  <rphillips>client has just the emebedded public cert
20:09:16  <creationix>but for testing, would a self-signed cert with copy in client work the same?
20:09:38  <creationix>I see the cert, key, and ca options
20:09:40  <rphillips>for testing... that works great
20:10:09  <rphillips>we have a -i mode (for insecure mode to use the testing cert)
20:10:37  <creationix>when I connected to the docker API, I needed ca, key, and cert I think https://gist.github.com/creationix/cf4f5386f499623a7a18#file-docker-stats-https-lua-L30-L32
20:11:03  <rphillips>yeah
20:11:21  <rphillips>you will just need a 'ca' cert for the client
20:11:34  <creationix>but the lua-openssl api for passing in cert needs key too
20:12:11  <creationix>https://github.com/luvit/lit/blob/master/deps/coro-tls.lua#L26
20:12:23  <rphillips>creationix: https://github.com/luvit/luvit/blob/master/deps/tls/common.lua#L75-L89
20:12:29  <rphillips>you do something like this by creating a cert store
20:13:39  <creationix>that’s what I do with docker’s “cert” pem file https://github.com/luvit/lit/blob/master/deps/coro-tls.lua#L29-L31
20:14:20  <creationix>so I guess for a self-signed cert that’s only “cert.pem” and “key.pem”, the server does :use(key, cert) but the client just creates a cert store with just cert?
20:15:11  <rphillips>correct
20:15:18  <rphillips>so
20:15:26  <rphillips>we only validate the server cert in the client
20:15:38  <rphillips>TLS also supports the option to validate the client cert/key on the server
20:15:48  <creationix>right, but that’s less common
20:15:51  <rphillips>correct
20:19:19  * lionel__joined
20:21:13  * lionel_quit (Ping timeout: 245 seconds)
20:23:46  <creationix>hmm, the server finished handshake, but the client never does
20:24:08  <creationix>and if I test with a curl client, it just hangs
20:28:03  <rphillips>hmm
20:28:31  <rphillips>curl -vvv has some debug
20:29:06  <creationix>interesting, wireshark doesn’t even detect it as ssl
20:29:16  <creationix>but curl did prompt me to add the -k option, so it does look like ssl to curl
20:58:08  * creationixgot a new hard-drive! and it’s installing linux in record time
20:58:49  <creationix>(Transcend Sata III 6Gb/s SSD 64GB)
21:02:49  <creationix>wow, boots in 2 seconds. I guess SSD upgrades are worth it
21:05:49  <rphillips>nice
21:06:00  <creationix>(as opposed to 5 seconds just to write a 1kb text file)
21:08:00  <bjorn>Very much worth it indeed.
21:08:02  * lionel_joined
21:08:20  <creationix>and it was only $50
21:08:26  <creationix>including next-day shipping
21:09:45  <rphillips>how does one set a ffi pointer to a value?
21:09:57  <rphillips>in this case, an integer
21:10:12  <creationix>with an array?
21:10:18  <creationix>is this for out args?
21:10:23  * lionel__quit (Ping timeout: 256 seconds)
21:10:44  <creationix>read “Functions with outargs” at http://luajit.org/ext_ffi_tutorial.html
21:11:18  <rphillips>creationix: it's for an in/out arg
21:11:40  <rphillips>this windows API set's the length on input, then sets it on output
21:11:46  <rphillips>https://msdn.microsoft.com/en-us/library/windows/desktop/bb773471%28v=vs.85%29.aspx
21:11:50  <rphillips>pcchOut
21:12:05  <creationix>same idea still works
21:12:14  <creationix>create an array of integers and read/write with arr[1]
21:12:24  <rphillips>cool. thanks
21:12:44  <creationix>lua doesn’t have pointers obviously so it’s the closest thing
21:13:49  <rphillips>i didn't realize it was _that_ smart
21:14:21  * lionel_quit (Ping timeout: 256 seconds)
21:14:33  <creationix>just be careful arounf function pointers, they are nasty with lots of bugs and gotchas
21:28:41  * hdmsjoined
21:29:10  <rphillips>cool. got it working
21:35:24  <rphillips>rje: i don't see where this function is called for plugins
21:35:39  <rje>?
21:35:48  <rje>rphillips: what function
21:36:26  <rphillips>virgo__lua_win32_get_associated_exe
21:39:01  <rje>https://github.com/virgo-agent-toolkit/virgo-base-agent/blob/b5acdad47b940fc16ca1d8cfcb2b9643f67913ee/lib/lua/virgo_utils.lua#L106
21:39:09  <rphillips>https://github.com/virgo-agent-toolkit/rackspace-monitoring-agent/blob/master/check/plugin.lua#L154
21:39:36  <rphillips>windowsConvertCmd code path only gets called on the upgrade path
21:40:02  <rje>vidyo?
21:40:54  <rphillips>i found it on line 154
22:05:05  <rje>rphillips: nice stuff
22:05:15  <rphillips>saw the PR?
22:05:18  <rphillips>https://github.com/virgo-agent-toolkit/virgo-base-agent/pull/161/files
22:05:23  <rphillips>thanks
22:05:27  <rje>yeah, readin it now
22:06:39  <rphillips>ffi for-the-win
22:11:09  <rphillips>wired up virgo-base to appveyor
22:12:02  <rje>rphillips: some typedef errors
22:13:28  <rphillips>good catch
22:13:44  <rphillips>fixed
22:14:43  * jetlquit (Read error: Connection reset by peer)
22:17:08  <rphillips>rje: +1?
22:18:25  <rje>yes
22:18:29  <rphillips>cool. thanks
22:18:38  <rje>looks nice
22:19:04  <rphillips>want to enable the ps1 unit test in the agent and see if it works
22:19:11  <rphillips>it's almost dinner time though :)
22:43:36  * DarkGodquit (Ping timeout: 264 seconds)
22:47:46  <creationix>wow, the openssl that comes with yosemite doesn’t even know tls 1.2
22:52:00  * SouL_|_quit (Ping timeout: 264 seconds)
22:52:37  * SouL_|_joined
23:13:51  <rphillips>it's pretty old
23:15:20  <rphillips>rje: https://ci.appveyor.com/project/racker-buildbot/rackspace-monitoring-agent/build/1.0.84#L1219
23:15:23  <rphillips>worked :)
23:17:02  <rje>rphillips, nice work
23:17:14  <rphillips>thanks
23:30:39  <rphillips>merged that to luvi-up
23:30:53  <rphillips>have a great weekend everyone
23:34:16  * hdmsquit (Quit: hdms)
23:42:06  * UniOnquit (Remote host closed the connection)
23:50:36  * gavellanedaquit (Ping timeout: 244 seconds)