00:08:17  <luvit-bb>build #971 of virgo-windows2008_x64 is complete: Failure [failed integration tests] Build details are at https://virgo-bb.k1k.me/builders/virgo-windows2008_x64/builds/971
00:20:22  * arek_deepinitquit (Ping timeout: 248 seconds)
00:20:39  <luvit-bb>build #972 of virgo-windows2008_x64 is complete: Success [build successful] Build details are at https://virgo-bb.k1k.me/builders/virgo-windows2008_x64/builds/972
00:30:07  * mmaleckiquit (Quit: Reconnecting)
00:30:24  * mmaleckijoined
00:30:27  * coolaj86quit (Ping timeout: 240 seconds)
00:53:22  * mmaleckiquit (Ping timeout: 252 seconds)
00:55:11  * bakinsjoined
01:01:56  * xming_joined
01:05:06  * xmingquit (Ping timeout: 252 seconds)
01:17:32  * bakinsquit (Quit: bakins)
02:00:13  * mmaleckijoined
02:04:48  * mmaleckiquit (Ping timeout: 250 seconds)
03:39:23  * indexzerojoined
04:16:42  <daurnimator>creationix: does luvit have it's own http implementation? or does it grab it from uv or something?
04:21:55  * coolaj86joined
04:36:12  * arek_deepinitjoined
04:40:28  * philips_quit (Excess Flood)
04:42:57  * philips_joined
05:04:17  * coolaj86quit (Quit: Lost terminal)
05:20:42  * arek_deepinitquit (Ping timeout: 244 seconds)
05:22:32  * coolaj86joined
05:36:45  <dvv>daurnimator: luvit uses joyent/http_parser for low-level http, and http.lua high-level helpers
05:45:11  * indexzeroquit (Quit: indexzero)
06:02:43  * aliemjoined
06:34:04  * coolaj86quit (Ping timeout: 244 seconds)
07:14:10  * mmaleckijoined
07:14:14  * mmaleckiquit (Client Quit)
08:08:46  * arek_deepinitjoined
10:10:37  * pancakejoined
10:11:56  <pancake>how can i make the checkout of the local copy of a git repo be clean?
10:26:24  <daurnimator>git reset --hard
10:28:50  <pancake>git clean -Xdf ; git checkout -f
11:34:51  * arek_deepinitquit (Read error: Operation timed out)
11:39:50  * tim_smartchanged nick to tim_smart|away
12:08:25  <luvit-bb>build #973 of virgo-windows2008_x64 is complete: Failure [failed integration tests] Build details are at https://virgo-bb.k1k.me/builders/virgo-windows2008_x64/builds/973
12:51:06  * TheJHjoined
13:01:11  * mmaleckijoined
13:25:57  * mmaleckiquit (Ping timeout: 240 seconds)
13:59:22  * dvvpart
14:09:19  * TheJHquit (Ping timeout: 264 seconds)
14:10:53  <creationix>daurnimator, libuv doesn't do http
14:11:08  <creationix>we use http_parser to parse headers and stuff (same C library as what node uses)
14:11:15  <creationix>the rest is all lua code implemented inside luvit
14:27:48  * mmaleckijoined
14:35:04  <luvit-bb>build #974 of virgo-windows2008_x64 is complete: Success [build successful] Build details are at https://virgo-bb.k1k.me/builders/virgo-windows2008_x64/builds/974
15:47:27  * philips_quit (Excess Flood)
15:49:33  * philips_joined
15:56:38  * aliemquit (Remote host closed the connection)
15:58:42  * coolaj86joined
16:14:33  * dvv1joined
16:40:27  * mmaleckiquit (Quit: leaving)
16:43:08  * pancakequit (Quit: SIGBYE)
17:47:40  * TheJHjoined
18:05:56  * `3rdEdenjoined
19:30:35  * mmaleckijoined
19:34:36  * mmaleckiquit (Client Quit)
19:43:45  * kevwiljoined
19:51:41  * kevwilquit (Quit: WeeChat 0.3.8)
20:32:10  * dvv1quit (Read error: Connection reset by peer)
20:41:36  * `3rdEdenquit (Quit: Linkinus - http://linkinus.com)
21:02:06  <coolaj86>@creationix is there some sort of setTimout / setInterval?
21:08:54  <creationix>yes, the timer module
21:09:00  <creationix>require('timer').setTimeout
21:09:04  <creationix>though you'll shoot me
21:09:12  <creationix>setTimeout(delay, callback)
21:13:12  <coolaj86>thanks!
21:13:23  * coolaj86shines his gun
21:17:57  <coolaj86>creationix: is there a better or improved random?
21:20:08  * philips_quit (Excess Flood)
21:20:24  <creationix>coolaj86, haven't messed with random
21:20:39  <coolaj86>creationix: a higher resolution time?
21:20:45  <creationix>libuv hrtime
21:20:59  <creationix>so currently, I think that's at require('uv_native').hrtime()
21:21:04  * philips_joined
21:21:42  <coolaj86>At least that will get the random function to update quicker than once per second
21:22:16  <creationix>I have no idea what the period or unit of time hrtime returns though
21:22:37  <coolaj86>it appears to be a number, not a function -- from the error output I just got
21:23:03  <creationix>> require('uv_native').hrtime()
21:23:03  <creationix>104842530.98802
21:23:05  * coolaj86feels dumb...
21:23:13  <creationix>I'm getting ms units it seems
21:23:17  <coolaj86>I had an extra set of parans
21:23:19  <coolaj86>parens*
21:23:25  <creationix>ms + 5 digits of precision
21:25:05  <coolaj86>so to get a somewhat random number: math.randomseed(tonumber(tostring(hrtime):reverse():sub(1,6))) ; math.random()
21:25:19  <coolaj86>and by somewhat I mean not at all
21:25:43  <coolaj86>but maybe if there were some other way to get some entropy....
21:26:16  <creationix>what os?
21:26:24  <coolaj86>Preferrably any
21:26:32  <creationix>ok, so /dev/urandom is out then
21:26:40  <creationix>because that's good random
21:28:02  <creationix>so what's wrong with `math.randomseed(hrtime()); return math.random()`
21:28:07  <creationix>where htrime is the function
21:30:12  <creationix>http://stackoverflow.com/questions/461978/why-is-the-first-random-number-always-the-same-on-some-platforms-in-lua
21:30:26  <creationix>ffi into random(3) or drand48(3) ?
21:30:33  * TheJHquit (Ping timeout: 245 seconds)
21:31:31  <coolaj86>ffi = require('ffi') ?
21:34:43  <creationix>yep
21:34:56  <creationix>http://luajit.org/ext_ffi.html
21:35:12  <creationix>just feed it the header files to functions on your system
21:35:19  <creationix>many are already in the binary
21:35:28  <creationix>we bundle openssl for example, so I'm sure there is something useful in there
21:35:36  <creationix>there might even be a rand function in the ssl bindings
21:42:29  * toroidjoined
21:42:42  * toroidpart
21:43:27  <coolaj86>thanks
23:56:49  * coolaj86quit (Ping timeout: 246 seconds)