00:18:47  * DarkGodquit (Ping timeout: 264 seconds)
00:19:11  <daurnimator>creationix: not much; but that's why we have https://github.com/luvit/luv/blob/master/examples/cqueues-slave.lua
00:19:32  <creationix>oh neat, that's one way to do it
00:21:21  <creationix>daurnimator, so I see you can use cqueues sleep calls with libuv, but doesn't it also do I/O?
00:21:32  <daurnimator>creationix: yes.
00:21:45  <daurnimator>creationix: see line 24 :)
00:22:14  <creationix>ahh, you merged the event loops
00:22:14  <daurnimator>cqueues will make sure the file descriptor number returned by cq:pollfd will poll readable if cqueues has any i/o work to do
00:22:53  <creationix>that's pretty neat
00:23:21  <daurnimator>creationix: well libuv has the same idea via uv.backend_fd()
00:23:29  <creationix>yep
00:24:09  <creationix>I guess in the end you just need to know the minimal timeout and some FD to select on
00:25:26  <creationix>daurnimator, btw have you seen the method syntax with luv?
00:25:38  <creationix>uv.new_timer():start(1000, 1000, fn)
00:25:52  <daurnimator>creationix: that's the whole principal of cqueues: a schedulable object should have 3 methods: :pollfd, :events, :timeout
00:26:22  <daurnimator>creationix: nope. feel free to update the example' it's in your repository ;)
00:27:27  <creationix>are you planning on using libuv or just wanted to see how to integrate the event loops?
00:28:13  <daurnimator>creationix: I plan on making cqueues work within *any* lua program, no matter the main loop
00:28:33  <creationix>I like it
00:28:35  <daurnimator>==> because I want to release libraries (like lua-http) that work anywhere lua does.
00:28:51  <creationix>I keep forgetting that do...end is not an infinite loop
00:28:56  * creationixneeds to do more lua
00:29:46  <daurnimator>creationix: give lua-http a go today; find my bugs ;)
00:29:54  * daurnimatoris off to meet a friend for coffee
00:30:04  <creationix>have fun
00:36:50  * travis-cijoined
00:36:51  <travis-ci>luvit/luv#139 (master - 85ccc04 : Tim Caswell): The build passed.
00:36:51  <travis-ci>Change view : https://github.com/luvit/luv/compare/4e71e08804e0...85ccc040c328
00:36:51  <travis-ci>Build details : https://travis-ci.org/luvit/luv/builds/93608294
00:36:51  * travis-cipart
01:01:36  * UniOnquit (Read error: Connection reset by peer)
05:33:49  * kostco_joined
05:42:10  * kostcoquit (*.net *.split)
05:42:12  * kostco_changed nick to kostco
05:48:17  * erlbot--_joined
05:54:42  * creationix_joined
05:56:37  * erlbot--quit (*.net *.split)
05:56:41  * creationixquit (*.net *.split)
06:00:24  * torque_changed nick to torque
08:10:49  * SkyRocknRolljoined
09:45:50  * SkyRocknRollquit (Ping timeout: 260 seconds)
09:51:09  * DarkGodjoined
09:59:20  * SkyRocknRolljoined
13:14:50  * DarkGodquit (Ping timeout: 240 seconds)
15:43:20  * DarkGodjoined
16:28:56  * erlbot--_changed nick to erlbot--
17:47:59  * DarkGodquit (Ping timeout: 246 seconds)
22:30:06  * piernovquit (Ping timeout: 240 seconds)
22:30:34  * piernovjoined
22:53:39  * DarkGodjoined