00:05:26  * grantilaquit (Quit: Leaving.)
00:20:16  * brsonjoined
00:38:49  * brsonquit (Quit: leaving)
00:38:58  * brsonjoined
00:41:36  * Ralith_quit (Ping timeout: 244 seconds)
00:49:22  * Ralith_joined
01:00:25  * zju1joined
01:02:12  * zjuquit (Ping timeout: 250 seconds)
01:10:36  * brsonquit (Ping timeout: 246 seconds)
01:15:57  * brsonjoined
01:22:50  * brsonquit (Quit: leaving)
01:41:23  * Fishrock123quit (Remote host closed the connection)
02:38:35  * zju1quit (Remote host closed the connection)
02:38:55  * zjujoined
02:42:38  * Fishrock123joined
02:47:28  * Fishrock123quit (Ping timeout: 260 seconds)
02:47:43  * Ralith__joined
02:48:37  * Ralith_quit (Ping timeout: 248 seconds)
03:02:32  * cremesquit (Quit: cremes)
04:01:14  * rmgquit (Remote host closed the connection)
04:18:06  * rmgjoined
04:23:02  * rmgquit (Ping timeout: 260 seconds)
04:44:09  * rmgjoined
04:49:11  * rmgquit (Ping timeout: 260 seconds)
05:12:31  * Jacob843quit (Remote host closed the connection)
05:12:53  * Jacob843joined
05:15:25  * brycebarilquit (Ping timeout: 260 seconds)
05:15:26  * mikealquit (Ping timeout: 260 seconds)
05:15:54  * MLM_quit (Ping timeout: 260 seconds)
05:18:21  * brycebariljoined
05:18:34  * MLM_joined
05:19:07  * mikealjoined
05:38:22  * rmgjoined
05:42:51  * rmgquit (Ping timeout: 260 seconds)
06:32:13  * rmgjoined
06:36:59  * rmgquit (Ping timeout: 260 seconds)
07:20:25  * rendarjoined
07:22:40  * seishunjoined
07:26:55  * rmgjoined
07:31:35  * rmgquit (Ping timeout: 260 seconds)
07:53:52  * rmgjoined
07:58:39  * rmgquit (Ping timeout: 260 seconds)
08:20:28  * seishunquit (Ping timeout: 245 seconds)
08:48:00  * rmgjoined
08:52:47  * rmgquit (Ping timeout: 260 seconds)
09:25:14  * Nephojoined
09:25:37  <Nepho>Hello, I'm having an issue with libuv and Node.js, could anyone help me with that? https://github.com/nodejs/help/issues/393 Thanks in advance!
09:27:31  <txdv>does nodejs use the default loop?
09:28:08  <Nepho>What other loops are there? I thought using the default loop would wake up Node's main loop
09:30:14  <txdv>looks like it does
09:30:46  <Nepho>Well, according to my experiment (code written in the gist), the work sent by uv_async_sent isn't ran in Node's main loop. :(
09:31:37  <Nepho>I actually just saw that someone commented on my gist, maybe it will help
09:31:43  <txdv>your gist doesnt compile
09:31:47  <txdv>its just some random code thrown together
09:32:16  <Nepho>Yes, there is sample of my C++ code and the startup js file
09:32:26  <Nepho>Can't include the whole solution because it's part of a bigger project
09:33:08  <txdv>yeah, but you can include a compilable version
09:34:01  <Nepho>Well, issue solved actually. The person's comment fixed it. I have no idea why, though
09:34:31  <txdv>neither do i
09:34:40  <txdv>doesnt look like a libuv issue then
09:35:00  <sgimeno>Looks like a context issue
09:35:31  <Nepho>Actually the fix was to send the function `(a, b) => process.emit(a, b)` instead of `process.emit`
09:35:37  <Nepho>I have 0 idea why
09:35:52  <Nepho>I thought it was a loop or context issue too, looks like it isn't the case
10:38:08  <kellabyte>do I need a uv_write_t per write request or per stream connection? I'm wondering if I'm malloc()'ing too many
10:47:03  * Nephoquit (Quit: Page closed)
11:10:23  * jessicaquynhquit (Remote host closed the connection)
11:10:41  * jessicaquynhjoined
11:15:11  <txdv>kellabyte: per write request
11:15:29  <txdv>if you do 2 write request at once, you malloc enough space for 2 write requests
11:25:09  * thealphanerdquit (Quit: farewell for now)
11:25:40  * thealphanerdjoined
11:30:22  * rmgjoined
11:35:40  * rmgquit (Ping timeout: 260 seconds)
11:57:03  * kaesoquit (Ping timeout: 246 seconds)
11:57:49  * rmgjoined
11:58:08  * kaesojoined
12:02:43  * rmgquit (Ping timeout: 260 seconds)
12:10:59  * cremesjoined
12:24:51  * rmgjoined
12:29:19  * rmgquit (Ping timeout: 260 seconds)
12:51:59  * rmgjoined
12:56:23  * rmgquit (Ping timeout: 260 seconds)
13:08:31  <kellabyte>ok thanks!
13:09:29  <kellabyte>txdv: what do you mean by at once?
13:10:43  <txdv>you can tell libuv at once that it should queue 2 buffers for write
13:10:50  <txdv>of course they will be written in the order you queued
13:19:10  * rmgjoined
13:23:55  * rmgquit (Ping timeout: 260 seconds)
13:30:34  * jessicaquynhquit (Remote host closed the connection)
13:31:06  * jessicaquynhjoined
13:33:45  <kellabyte>txdv: by calling uv_write() twice you mean?
13:34:47  <txdv>yeah
13:35:10  <txdv>yeah, you can literally queue two buffers with one write, but i meant queing them with 2 seperate write requests
13:35:50  * jessicaquynhquit (Ping timeout: 268 seconds)
13:39:52  <kellabyte>ok so if I'm doing http pipelining thats probably the case
13:46:25  * rmgjoined
13:50:22  * frerichjoined
13:50:30  <frerich>hi all
13:50:59  * rmgquit (Ping timeout: 260 seconds)
14:09:24  * frerichquit (Quit: Page closed)
14:13:22  * rmgjoined
14:15:18  * Morn_joined
14:18:03  * rmgquit (Ping timeout: 260 seconds)
14:21:12  <kellabyte>hmm what would cause this?: src/unix/stream.c:700: uv__write_req_size: Assertion `req->handle->write_queue_size >= size' failed.
14:43:04  <txdv>kellabyte: probably my stupidity
14:47:09  <txdv>kellabyte: are you doing multiple buffers per one write?
14:50:06  <kellabyte>yeah
14:58:19  <kellabyte>I'm trying different write patterns but I passed in multiple buffers that time that caused that assert
15:14:21  <txdv>the logic behind was present before my change
15:14:24  <txdv>so its bnoordhuis fault!
15:16:02  <txdv>kellabyte: is that on unix?
15:16:10  <txdv>are you using uv_try_write?
15:17:02  <txdv>kellabyte: the values of the varaibles in that function would be helpful
15:22:50  * jessicaquynhjoined
15:46:15  * grantilajoined
15:46:33  * Fishrock123joined
15:47:14  <kellabyte>txdv: this is with int rc = uv_write(write_req, stream, bufs, requests, after_write);
16:11:11  * jessicaquynhquit (Remote host closed the connection)
16:13:03  * jessicaquynhjoined
16:22:22  * grantilaquit (Quit: Leaving.)
16:23:30  * grantilajoined
16:23:37  * grantilaquit (Client Quit)
16:47:00  * grantilajoined
16:51:22  * grantilaquit (Ping timeout: 250 seconds)
16:54:04  * jessicaq_joined
16:54:21  * jessicaquynhquit (Read error: Connection reset by peer)
16:55:58  * rmgjoined
17:00:27  * rmgquit (Ping timeout: 260 seconds)
17:06:22  * jessicaq_quit (Ping timeout: 250 seconds)
17:18:39  * seishunjoined
17:21:29  * jessicaquynhjoined
17:23:13  * rmgjoined
17:27:59  * rmgquit (Ping timeout: 260 seconds)
17:33:00  * jessicaquynhquit (Ping timeout: 256 seconds)
17:34:46  * rmgjoined
17:36:10  * charles_anthonyjoined
17:36:56  <charles_anthony>I'm trying to build libuv under MSYS2 on Windows 7 64bit; FIONCLEX & FIOCLEX undefined.
17:39:40  * grantilajoined
17:42:56  * jessicaquynhjoined
17:49:27  * grantilaquit (Quit: Leaving.)
17:56:54  * grantilajoined
17:57:21  * grantilaquit (Client Quit)
17:57:36  * grantilajoined
17:57:37  * grantilaquit (Client Quit)
18:35:11  * jessicaquynhquit (Remote host closed the connection)
18:35:45  * jessicaquynhjoined
18:56:13  * grantilajoined
19:07:21  * jessicaquynhquit (Remote host closed the connection)
19:08:02  * jessicaquynhjoined
19:22:55  * rendarquit (Ping timeout: 258 seconds)
19:34:42  * charles_anthonyquit (Quit: Page closed)
19:53:11  * rendarjoined
19:54:13  * seishunquit (Ping timeout: 245 seconds)
20:06:36  * jessicaquynhquit (Remote host closed the connection)
20:10:45  * jessicaquynhjoined
20:23:00  * jessicaquynhquit (Remote host closed the connection)
20:27:46  * jessicaq_joined
20:32:04  * jessicaq_quit (Ping timeout: 256 seconds)
20:34:03  * italoacasaschanged nick to Guest49166
20:34:03  * Guest49166quit (Killed (tepper.freenode.net (Nickname regained by services)))
20:37:23  * jessicaquynhjoined
20:37:54  * jessicaquynhquit (Remote host closed the connection)
20:38:24  * jessicaquynhjoined
20:39:43  * jessicaquynhquit (Remote host closed the connection)
20:40:31  * jessicaquynhjoined
20:58:54  * brsonjoined
21:03:03  * jessicaquynhquit (Remote host closed the connection)
21:07:40  * jessicaquynhjoined
21:11:59  * jessicaq_joined
21:12:21  * jessicaquynhquit (Ping timeout: 260 seconds)
21:12:33  * brsonquit (Ping timeout: 258 seconds)
21:13:22  * jessicaq_quit (Remote host closed the connection)
21:13:33  * jessicaquynhjoined
21:15:29  * brsonjoined
21:24:23  * seishunjoined
21:42:55  * rendarquit (Quit: std::lower_bound + std::less_equal *works* with a vector without duplicates!)
22:00:21  * brsonquit (Ping timeout: 244 seconds)
22:01:14  * MoZu4k_joined
22:10:28  * seishunquit (Ping timeout: 245 seconds)
22:15:23  * jessicaquynhquit (Remote host closed the connection)
22:18:21  * jessicaquynhjoined
22:22:51  * jessicaquynhquit (Ping timeout: 265 seconds)
23:00:40  * MoZu4k_quit (Quit: MoZu4k_)
23:06:03  * brsonjoined
23:11:09  * brsonquit (Ping timeout: 246 seconds)
23:17:59  * grantilaquit (Quit: Leaving.)
23:21:29  * Fishrock123quit (Quit: Leaving...)
23:26:24  * brsonjoined
23:30:44  * brsonquit (Ping timeout: 250 seconds)
23:31:26  * brsonjoined