00:03:30  * bradleymeckquit (Quit: bradleymeck)
00:10:36  <MI6>joyent/libuv: Shigeki Ohtsu master * 0cca539 : unix, windows: disallow NULL worker in thread pool See #629. - http://git.io/_uwnNg
00:11:22  * c4miloquit (Remote host closed the connection)
00:12:26  * travis-cijoined
00:12:26  <travis-ci>[travis-ci] joyent/libuv#887 (master - 0cca539 : Shigeki Ohtsu): The build is still failing.
00:12:26  <travis-ci>[travis-ci] Change view : https://github.com/joyent/libuv/compare/90271e1a3cf6...0cca5391ba85
00:12:26  <travis-ci>[travis-ci] Build details : http://travis-ci.org/joyent/libuv/builds/3334107
00:12:26  * travis-cipart
00:13:05  * brsonjoined
00:15:23  <MI6>joyent/node: Ben Noordhuis master * aa3441a : js2c: raise proper Exception, not a string Fixes the following error mes - http://git.io/2KHiKQ
00:36:20  * sblomquit (Ping timeout: 255 seconds)
00:37:00  * c4milojoined
00:52:14  * TheJHquit (Ping timeout: 240 seconds)
00:53:47  * Ralt_quit (Remote host closed the connection)
00:56:31  * sblomjoined
01:07:27  * benoitcquit (Excess Flood)
01:08:45  <bnoordhuis>indutny: fedor, when are you going to fix those debugger tests?
01:08:58  <bnoordhuis>they're always leaving stray processes on my machine >:(
01:09:24  <mmalecki>poor stray processes
01:10:56  * benoitcjoined
01:14:07  * jmar777quit (Remote host closed the connection)
01:14:43  * jmar777joined
01:17:56  * ArmyOfBrucequit (Excess Flood)
01:18:28  * ArmyOfBrucejoined
01:18:54  * jmar777quit (Ping timeout: 240 seconds)
01:23:00  * warzjoined
01:23:00  * warzquit (Changing host)
01:23:00  * warzjoined
01:44:47  * perezdjoined
01:50:30  * stagas_joined
01:51:15  * stagasquit (Ping timeout: 260 seconds)
01:51:25  * stagas_changed nick to stagas
01:57:00  * jmar777joined
02:09:10  * jmar777quit (Remote host closed the connection)
02:09:42  * jmar777joined
02:12:13  * benoitcquit (Excess Flood)
02:14:16  * jmar777quit (Ping timeout: 252 seconds)
02:19:58  * benoitcjoined
02:29:32  * sblomquit (Ping timeout: 256 seconds)
02:36:19  * dapquit (Quit: Leaving.)
02:41:46  * brsonquit (Ping timeout: 252 seconds)
02:57:07  * loladiroquit (Quit: loladiro)
03:12:37  * benoitcquit (Excess Flood)
03:17:32  * benoitcjoined
03:25:43  * brsonjoined
03:28:38  * bnoordhuisquit (Read error: Operation timed out)
03:40:07  * sblomjoined
03:47:57  * xakajoined
03:49:36  <xaka>is there any way to steal/borrow file descriptor after uv_tcp_connect succeed? i need to pass it to 3rd party library
04:02:23  <xaka>looks like everyone still celebrates thanksgiving or whatever holiday :)
04:08:11  * brsonquit (Quit: leaving)
04:08:39  <mmalecki>xaka: in europe whe have this holidayu
04:09:08  <mmalecki>called ranbolmy getting' drunk]
04:10:41  <xaka>in russia we have something like that...everyday :)
04:11:16  <mmalecki>samein Poland yo
04:11:37  <xaka>cheers!
04:11:38  <mmalecki>except im in franece adn i have to drink beer and vine
04:11:51  <mmalecki>sucks ._.
04:12:13  <xaka>beer isn't enough strong for you?
04:12:28  <mmalecki>I storngly prefer vodka
04:12:58  * benoitcquit (Excess Flood)
04:13:15  <xaka>btw, what is good time to ask questions here?
04:13:57  * jmar777joined
04:14:45  <mmalecki>prolly roudn 18:00 utc
04:14:55  <mmalecki>usa and eu ar up at that time
04:17:04  * stagasquit (Ping timeout: 252 seconds)
04:19:03  * benoitcjoined
04:36:16  * sblomquit (Ping timeout: 245 seconds)
04:46:16  * c4miloquit (Remote host closed the connection)
05:01:04  * jmar777quit (Remote host closed the connection)
05:01:38  * jmar777joined
05:06:02  * jmar777quit (Ping timeout: 244 seconds)
05:13:18  * benoitcquit (Excess Flood)
05:17:33  * benoitcjoined
05:54:16  * warzquit
06:08:24  * loladirojoined
06:08:59  * loladiroquit (Client Quit)
06:33:42  * loladirojoined
07:12:00  * ryahquit (Quit: leaving)
07:23:52  * xakaquit (Ping timeout: 250 seconds)
07:37:47  * benoitcquit (Excess Flood)
07:38:04  * benoitcjoined
07:45:45  * rendarjoined
08:15:54  * Ralt_joined
08:18:46  * loladiroquit (Quit: loladiro)
08:20:42  * loladirojoined
08:23:30  * xer0x_joined
08:37:04  * xer0x_quit (Quit: leaving)
08:37:14  * xer0x_joined
08:39:58  * Ralt_quit (Remote host closed the connection)
09:14:47  * Ralt_joined
09:16:34  * xer0x_quit (Quit: Lost terminal)
09:33:49  <rendar>why did libuv abandon c-ares?
09:48:25  <txdv>because it is really easy to integrate c-ares into libuv
09:48:33  <txdv>libuv is just an interface for sockets and some other shit
09:50:04  <txdv>https://github.com/joyent/libuv/issues/518
10:09:01  * loladiroquit (Quit: loladiro)
10:21:22  <rendar>txdv: i see
10:21:58  <rendar>txdv: but if i got it, libuv now resolves DNS names with a pool of threads, simply calling that getaddr function, right?
10:22:04  <rendar>which is blocking
10:22:37  <txdv>I guess it works on the threadpool
10:23:11  <txdv>the only function which I haven't exposed in my bindings
10:23:22  <rendar>txdv: but is this the way c-ares worked? i mean, if you have to resolve 8 address, and you have 8 threads in the pool, all threads get blocket, right?
10:24:13  <txdv>it won't block
10:24:20  <txdv>c-ares doesn't work like that
10:24:47  <txdv>since you would integrate it using the uv_udp_t, it would be truly async
10:25:21  <rendar>yeah, c-ares
10:25:29  <rendar>but now there isn't c-ares anymore
10:25:46  <rendar>and according to the docs, libuv resolves dns calling that blocking getaddr from thread pool
10:26:33  <txdv>O my god
10:26:39  <txdv>I told you, it is easy to integrate c-ares
10:27:04  <txdv>So easy that there is no reason to keep the code of an external project in the source of libuv
10:27:28  <txdv>https://github.com/joyent/libuv/blob/32f93e14cbeea53ac8e2fc1dc77207dc6b251003/src/cares.c
10:27:32  <txdv>here, 200 lines of c
10:27:55  <txdv>20 lines of C# once I wrote bindings for libuv and cares
10:28:23  * Ralt_quit (Remote host closed the connection)
10:29:14  <rendar>txdv: sorry, misread
10:30:24  <txdv>since it is a library build ON TOP of sockets
10:30:32  <txdv>there is absolutely no reason to keep it
10:30:40  <rendar>i see now
10:30:44  <txdv>and it has easy interfaces to integrate in whatever socket interface you have
10:32:03  <txdv>so if you do a shitload of dns resolutions, you should probably consider integrating c-ares
10:32:29  <txdv>because the level of paralelity of getaddrinfo is limited
10:35:45  <rendar>yeah right
10:37:20  <rendar>txdv: basically c-ares for truly asynch, instead of using getaddrinfo, makes real packets for DNS protocol, send them on its sockets, and uses epoll/kqueue/etc for these sockets? (udp i suppose), or i guess it can also use socket created elsewhere
10:37:31  * stagasjoined
10:41:29  <txdv>getaddrinfo sends packets too, but it uses blocking calls, hence run in a threadpool
10:41:29  * Ralt_joined
10:45:07  <rendar>txdv, yeah
11:00:37  <rendar>txdv: you was writing a binding in c# right?
11:12:42  * stagasquit (Ping timeout: 264 seconds)
11:46:10  <txdv>yeah
11:50:49  <rendar>cool
11:52:10  <rendar>txdv: do you know that problem about windows iocp that send you asynch information only if you actually read bytes from an fd, instead in unixes system, the system alert you _before_ you read from the fd that some data is ready?
11:53:01  <txdv>i use libuv, not windows iocp
11:53:14  <rendar>i know, it was just for talking :)
11:53:14  <txdv>and I code on linux via mono
11:55:22  * stagasjoined
11:55:29  <txdv>no i don't know that
11:55:40  <txdv>piscisaureus should know about it
11:55:45  <rendar>i'll ask him
11:55:48  <rendar>thanks
11:55:59  <txdv>or bnoordhuis, since he is the one who was hired by microsoft to work on libuv
11:56:19  <rendar>oh i see
11:56:34  <rendar>libuv is also developed by microsoft?
11:56:47  <txdv>yeah
11:56:52  <txdv>well not directly anymore
11:56:58  <txdv>they spend some money to make node.js work
11:57:06  <rendar>with Azure
11:57:09  <txdv>yeah
11:57:09  <rendar>yeah i remember
11:57:17  <txdv>so what they actually spend the money on is libuv
11:57:22  <txdv>not node
11:57:49  <txdv>v8 works on windows without problems, the evented IO was slow on windows
11:58:07  <rendar>i see
11:59:05  <txdv>so they hired somebody to make an abstraction of windows iocp in libuv
12:00:49  <rendar>yeah because libev didn't support windows nt
12:01:14  <rendar>when libuv was relying on libev, iirc
12:01:23  <txdv>yeah
12:02:28  <txdv>turned out that libev was a fat library
12:02:36  <rendar>oh
12:02:41  <rendar>bloated?
12:02:47  <txdv>yeah
12:03:01  <txdv>much more api than libuv needs
12:03:19  <txdv>so libuv is the leanest lib now around
12:03:19  <rendar>i see
12:03:23  <txdv>working everywhere
12:03:43  <txdv>libev is bigger, but still not that phat
12:03:46  <txdv>but works only on unix
12:03:53  <rendar>yeah exactly
12:03:59  <rendar>what about libevent or libevent2?
12:04:07  <txdv>it is as fat as your moma
12:04:10  <rendar>lol
12:04:38  <txdv>this is the third one, which works on windows now too, has so much api that your head hurts
12:04:59  <txdv>but it is not only an eventloop, it has extensive support for threads
12:05:13  <rendar>yeah
12:05:20  <rendar>i see
12:05:30  <rendar>txdv: do you know that boost.asio?
12:05:37  <txdv>o ok
12:05:38  <txdv>i was wrong
12:05:44  <txdv>boos.asio is the as fat as your mom
12:05:48  <rendar>haah
12:05:53  <rendar>i see
12:05:56  <txdv>but it is not c anymore
12:06:03  <rendar>yep
12:06:10  <txdv>it's not even c++
12:06:14  <txdv>it is boost template heaven
12:06:28  <rendar>txdv: but for fat you mean having a bunch of apis, or having very slow execution?
12:06:53  <rendar>txdv: because a lib can have a bunch of apis, but can also perform very well on executin
12:06:56  <rendar>execution*
12:07:07  <txdv>both
12:07:13  <rendar>yeah
12:07:13  <txdv>libev is a little bit slower, has much more api
12:07:20  <txdv>libevent is slower, has even more api
12:07:39  <txdv>and boost ... well, compiling it is already slow, i don't want to see the benchmarks
12:07:51  <rendar>i'm writing a little library in C++ for my own developing stuff, it has a lot of apis, but it is fast as hell :)
12:08:06  <rendar>txdv: yeah you're absolutely right on boost
12:11:33  <txdv>too bad that dude stopped coding on node.native
12:11:58  <rendar>who? schmorph? the author of libev?
12:12:04  <txdv>no
12:12:09  <txdv>some dude made a c++ abstraction of libuv
12:12:14  <rendar>oh
12:12:21  <txdv>and added some stuff which common in node
12:12:35  <rendar>i see
12:12:50  <txdv>event emitter
12:12:57  <txdv>http server/client
12:13:07  <indutny>oh
12:13:30  <txdv>but anyway, I like c# more and wouldn't have touched node.native anyway
12:13:57  <txdv>chrome/chromium uses libevent
12:14:08  <rendar>really?
12:14:13  <rendar>i thought theyy had their own
12:14:31  <txdv>libevent is very widespread
12:14:35  <txdv>but they have only a mailinglist
12:14:42  <txdv>prude grown up developers
12:15:03  <rendar>eheh
12:15:27  <rendar>well, speaking about bloating: Qt, lol
12:15:38  <rendar>i don't even know if they have asynch stuff in that mess
12:15:47  <txdv>signals
12:16:11  <rendar>txdv: yeah but Qt didn't use windows iocp, or epoll etc for i/o, at least in some versions ago
12:17:50  <txdv>never coded qt
12:17:57  <txdv>though I have written a deserializer in c# for qt
12:18:05  <txdv>for the qt serialization protocol
12:18:12  <rendar>i see
12:18:21  <rendar>for reading binary data?
12:18:35  <txdv>for reading serialized qt objects
12:18:44  <rendar>i see
12:18:46  <txdv>do you know quassel?
12:18:58  <rendar>mm i heard the name, but don't remember
12:19:16  <txdv>distributed irc client
12:19:25  <rendar>oh yeah, that
12:19:34  <txdv>so i am writing my own frontend
12:19:39  <txdv>in C# based on libuv and ncurses
12:19:44  <rendar>cool
12:41:33  * karupaneruraquit (Excess Flood)
12:42:18  * karupanerurajoined
13:02:32  * `3rdEdenjoined
13:02:44  * benoitcquit (Excess Flood)
13:05:45  * benoitcjoined
13:12:52  * bnoordhuisjoined
13:14:36  * stagasquit (Ping timeout: 245 seconds)
13:15:32  * TheJHjoined
13:18:51  * `3rdEdenquit (Remote host closed the connection)
13:27:50  * stagasjoined
13:43:54  * TheJHquit (Ping timeout: 240 seconds)
13:46:41  * loladirojoined
13:54:08  * loladiroquit (Quit: loladiro)
13:58:46  * loladirojoined
14:00:04  * benoitcquit (Excess Flood)
14:01:46  * jmar777_joined
14:02:47  * benoitcjoined
14:14:36  * stagas_joined
14:16:51  * stagasquit (Ping timeout: 252 seconds)
14:17:01  * stagas_changed nick to stagas
14:17:27  * TheJHjoined
14:22:40  * stagas_joined
14:25:51  * stagasquit (Ping timeout: 245 seconds)
14:26:05  * stagas_changed nick to stagas
14:32:30  * TheJHquit (Ping timeout: 276 seconds)
14:35:13  * CoverSlidejoined
14:36:27  * hzjoined
14:42:50  * loladiroquit (Quit: loladiro)
14:58:44  <MI6>joyent/node: Ben Noordhuis v0.8 * 4cb17cb : net: fix net.connect() resource leak The 'connect' event listener was at - http://git.io/--UiJA
15:14:59  * Benviequit
15:34:49  * hzquit (Disconnected by services)
15:34:52  * hzjoined
15:35:15  * loladirojoined
15:36:56  * loladiroquit (Client Quit)
15:43:21  * loladirojoined
15:43:58  * kristatejoined
15:48:44  * kristat__joined
15:51:42  * kristatequit (Ping timeout: 264 seconds)
15:51:55  * loladiroquit (Quit: loladiro)
16:05:26  * TheJHjoined
16:09:38  * TheJHquit (Read error: Operation timed out)
16:10:52  * loladirojoined
16:40:24  * loladiroquit (Quit: loladiro)
16:53:34  * hzquit (Disconnected by services)
16:53:37  * hzjoined
17:05:25  * Benviejoined
17:06:08  * sblomjoined
17:10:18  * stagasquit (Ping timeout: 264 seconds)
17:10:34  * xakajoined
17:14:21  * stagasjoined
17:21:39  * sblomquit (Ping timeout: 252 seconds)
17:21:48  * perezd_joined
17:24:13  * perezdquit (Ping timeout: 252 seconds)
17:24:13  * perezd_changed nick to perezd
17:24:53  * stagasquit (Ping timeout: 256 seconds)
17:30:39  * TheJHjoined
17:32:38  * sblomjoined
17:44:36  * TheJHquit (Ping timeout: 245 seconds)
17:48:42  * sblomquit (Ping timeout: 264 seconds)
17:55:38  * jmar777_quit (Remote host closed the connection)
17:56:11  * jmar777joined
18:00:31  * jmar777quit (Ping timeout: 244 seconds)
18:13:51  * c4milojoined
18:18:24  * c4miloquit (Remote host closed the connection)
18:19:23  * sblomjoined
18:19:39  * piscisaureus_joined
18:19:50  <piscisaureus_>hello
18:19:53  <piscisaureus_>ircretary: notes
18:20:21  * piscisaureus_quit (Client Quit)
18:22:11  * piscisaureus_joined
18:26:52  <indutny>hello
18:28:46  <deoxxa>hey piscisaureus_
18:28:52  <piscisaureus_>hey deoxxa
18:28:57  <deoxxa>got a bit of a troll problem in #node.js
18:29:02  <deoxxa>"trankil"
18:29:11  <deoxxa>dude's being a right jerk at every opportunity
18:29:22  <piscisaureus_>alright
18:29:39  <piscisaureus_>"<deoxxa> bronzebyte: trankil is a failure as a person" <-- don't feed :-)
18:29:41  <piscisaureus_>I will take a look
18:52:28  * c4milojoined
19:04:08  * TheJHjoined
19:09:05  * joshthecoderjoined
19:09:44  * c4miloquit (Remote host closed the connection)
19:10:41  * c4milojoined
19:12:30  * c4miloquit (Remote host closed the connection)
19:13:18  * AvianFlujoined
19:14:04  * TooTallNatejoined
19:23:17  * kristat__quit (Ping timeout: 265 seconds)
19:44:20  * c4milojoined
19:47:45  <xaka>anyone around?
19:48:05  <piscisaureus_>yes
19:50:03  <xaka>oh, at last :)
19:50:54  <xaka>is there any way to get socket/file descriptor after uv_tcp_connect succeed? i need to pass it to 3rd party library
19:51:48  <piscisaureus_>xaka: not an officially supported way, no
19:52:31  <piscisaureus_>xaka: you can poke in the uv_tcp_t struct yourself, on unix, you'll find an fd property in there (in very recent libuv versions it's in handle.io_watcher.fd)
19:52:48  <piscisaureus_>on windows it's the "sock" member
19:53:03  <piscisaureus_>(iirc - it's quite easy to figure that out)
19:54:13  <xaka>yeah, i was looking at private fields, but wasn't sure it the right way to do. haven't seen "sock" there though, thx for the point
19:54:41  <piscisaureus_>might be "socket"
19:54:51  <piscisaureus_>whatever, it'll be obvious :=-)
19:54:52  <xaka>but it's not "fd", right?
19:54:55  * AvianFluquit (Remote host closed the connection)
19:55:00  <piscisaureus_>on windows, no
19:55:03  <xaka>got it
19:55:06  <piscisaureus_>and in fact it is not an fd :-)
19:55:55  * stagasjoined
19:59:26  * TheJHquit (Ping timeout: 252 seconds)
20:14:46  * sblomquit (Ping timeout: 260 seconds)
20:38:50  * bnoordhuisquit (Read error: Operation timed out)
20:48:30  * c4miloquit (Remote host closed the connection)
20:54:22  * Benviequit (Ping timeout: 246 seconds)
20:55:25  * Benviejoined
21:03:22  * TheJHjoined
21:11:16  * jmar777joined
21:15:45  * Ralt_quit (Remote host closed the connection)
21:26:13  * xakaquit (Ping timeout: 252 seconds)
21:35:47  * Ralt_joined
21:35:50  * Ralt_quit (Remote host closed the connection)
21:41:53  * brsonjoined
22:05:49  * TheJHquit (Ping timeout: 252 seconds)
22:16:37  * TheJHjoined
22:33:47  * sblomjoined
22:37:45  * rendarquit
22:47:11  <piscisaureus_>creationix: hi, yt?
23:09:47  * stagas_joined
23:12:52  * stagasquit (Ping timeout: 248 seconds)
23:12:55  * stagas_changed nick to stagas
23:48:32  * AvianFlujoined
23:55:47  * TooTallNatequit (Quit: ["Textual IRC Client: www.textualapp.com"])
23:57:49  * piscisaureus_quit (Quit: ~ Trillian Astra - www.trillian.im ~)