00:00:00  * ircretaryquit (Remote host closed the connection)
00:00:08  * ircretaryjoined
00:00:30  <trevnorris>saghul: ping
00:01:15  <trevnorris>saghul: oy, so I don't forget: the format for LEPs, did that come from somewhere (i.e. is there a proposal standard or some such)?
00:03:08  <jgi>trevnorris: if you have some time: https://github.com/joyent/node/pull/9231
00:03:49  <trevnorris>jgi: done. :)
00:04:01  <trevnorris>(had looked at it earlier, but didn't know if you were done)
00:04:43  <jgi>trevnorris: thanks!
00:04:51  <trevnorris>yup. and thank you for taking care of it.
00:13:51  * thlorenz_quit (Remote host closed the connection)
00:20:18  * thlorenz_joined
00:20:58  * thlorenz_quit (Remote host closed the connection)
00:21:24  <MI6>joyent/node: Julien Gilli v0.12 * a103712 : deps: do not add extra newline in log file (+4 more commits) - http://git.io/Ndm2
00:23:07  * iarnaquit (Read error: Connection reset by peer)
00:24:14  * iarnajoined
00:36:47  <MI6>joyent/node: Julien Gilli v0.12 * 7b55402 : src: update AUTHORS after merge - http://git.io/NdsI
00:37:36  <Jacob843>In libuv .10, what happens if you get -1 as a return of uv_ip4_addr, and since the loop hasn't been called yet, you can't trace the error down?
00:38:16  <Jacob843>Well, generally speaking, uv_udp_bind is returning -1, but I traced the issue to uv_ip4_addr
00:43:12  <MI6>joyent/node: Julien Gilli master * b3fcc24 : src: update AUTHORS after merge of v0.12 in master (+25 more commits) - http://git.io/NdGo
01:21:51  * thlorenz_joined
01:23:33  * qardquit (Quit: leaving)
01:24:26  * qardjoined
01:28:12  * a_lequit (Ping timeout: 245 seconds)
01:32:41  * crispyzealjoined
01:34:53  * thlorenz_quit (Ping timeout: 244 seconds)
01:36:37  * a_lejoined
01:38:55  * crispyzealquit (Quit: bye)
01:42:14  * qardquit (Quit: leaving)
01:43:03  * crispyzealjoined
01:56:33  <jgi>trevnorris: https://github.com/joyent/node/pull/9179#issuecomment-74605786
01:59:59  <jgi>trevnorris: signing off, I’ll probably be online later tonight, otherwise I’ll talk to you tomorrow!
02:04:06  * jgiquit (Quit: jgi)
02:06:00  * thlorenz_joined
02:19:18  * iarnaquit (Remote host closed the connection)
02:29:41  * iarnajoined
02:30:20  * a_lequit (Ping timeout: 264 seconds)
02:34:05  * iarnaquit (Ping timeout: 246 seconds)
02:35:38  * iarnajoined
02:40:26  * a_lejoined
02:46:25  * rmgquit (Read error: Connection reset by peer)
02:46:35  * rmgjoined
02:57:55  * Left_Turnquit (Ping timeout: 250 seconds)
02:58:48  * Left_Turnjoined
03:00:11  * rmgquit (Read error: Connection reset by peer)
03:00:28  * rmgjoined
03:02:19  * rmgquit (Read error: Connection reset by peer)
03:02:58  * rmgjoined
03:10:02  * Tux64changed nick to Tux64_
03:22:18  * sandr8joined
03:24:40  * Left_Turnquit (Remote host closed the connection)
04:02:32  * imzyxwvujoined
04:06:12  * imzyxwvu1joined
04:09:56  * imzyxwvuquit (Ping timeout: 252 seconds)
04:16:41  * thlorenz_quit (Remote host closed the connection)
04:16:45  * petka__quit (Quit: Connection closed for inactivity)
04:29:35  * AvianFluquit (Remote host closed the connection)
04:35:58  * imzyxwvu1quit (Ping timeout: 252 seconds)
04:41:29  * rmgquit (Remote host closed the connection)
04:41:35  * jgijoined
04:44:32  * imzyxwvujoined
05:10:18  * crispyze_joined
05:12:24  * crispyzealquit (Ping timeout: 244 seconds)
05:15:56  * crispyzealjoined
05:17:33  * thlorenz_joined
05:18:36  * crispyze_quit (Read error: Connection reset by peer)
05:20:56  * crispyze_joined
05:21:21  * crispyzealquit (Ping timeout: 250 seconds)
05:22:25  * thlorenz_quit (Ping timeout: 256 seconds)
05:42:04  * rmgjoined
05:47:13  * rmgquit (Ping timeout: 264 seconds)
06:09:19  * DrPizzaquit (Ping timeout: 252 seconds)
06:09:26  * DrPizzajoined
06:12:11  * brsonquit (Quit: leaving)
06:23:05  * reqsharkjoined
06:23:08  * reqsharkquit (Client Quit)
06:25:23  * seishunjoined
06:40:42  * jgiquit (Quit: jgi)
06:42:26  * jgijoined
06:44:17  * brsonjoined
06:49:41  * brendanashworthjoined
06:50:19  * SergeiRNDjoined
06:51:36  * crispyze_quit (Quit: zzz)
06:52:04  * crispyzealjoined
06:53:08  * brsonquit (Ping timeout: 264 seconds)
06:55:28  <brendanashworth>hi there
06:55:41  <brendanashworth>i'm trying to jump into libuv with my somewhat C experience
06:55:54  <brendanashworth>but i'm getting an error upon compilation regarding the linker and undefined symbols
06:56:15  <brendanashworth>i'm pretty sure i did something wrong, but i'm not too sure; would there be any issues with directly #include'ing the libuv/include/uv.h ?
07:00:54  * crispyze_joined
07:04:22  * crispyzealquit (Ping timeout: 240 seconds)
07:06:30  * SplinterOfChaosquit (Ping timeout: 250 seconds)
07:06:40  * thlorenz_joined
07:20:17  * thlorenz_quit (Ping timeout: 256 seconds)
07:26:41  <brendanashworth>nope nevermind got it - thanks
07:29:08  * seishunquit (Ping timeout: 246 seconds)
07:37:12  * iarnaquit (Remote host closed the connection)
07:45:32  * jgiquit (Quit: jgi)
07:54:56  * iarnajoined
08:07:56  <saghul>txdv: read it, thanks! :-)
08:08:48  <saghul>trevnorris: the idea came from Python PEPs, but the format is (still) loose
08:09:01  <saghul>trevnorris: the idea is to refine it as we use it more
08:38:49  * brendanashworthquit (Remote host closed the connection)
08:42:01  * rendarjoined
09:04:44  * thlorenz_joined
09:07:34  * a_lequit (Remote host closed the connection)
09:08:10  * a_lejoined
09:09:08  * thlorenz_quit (Ping timeout: 250 seconds)
09:21:06  * a_le_joined
09:24:48  * a_lequit (Ping timeout: 265 seconds)
09:53:34  <txdv>saghul: someone wants to add plan9 support to libuv/
09:53:52  <saghul>Ben will be happy :-P
09:57:16  <txdv>the / should have been a ?
09:57:32  <txdv>I mean, I am listening to the podcast right now and I heared that someone wants to add plan9 support?
09:57:42  <txdv>why does Ben want to have plan9 support/
09:58:51  <saghul>it was a joke really :-) he used to joke about it
09:59:15  <saghul>to me, it's at the same priority of supporting Hurd
10:09:29  * a_le_quit (Ping timeout: 252 seconds)
10:41:19  <txdv>well
10:41:35  <txdv>nothing new in the podcast
10:41:46  <txdv>everything has already been discussed on github
10:41:50  <txdv>o yeah and jenkins really sucks
10:41:54  <txdv>fuck jenkins
10:46:25  * petka__joined
10:53:30  * thlorenz_joined
10:54:44  * Left_Turnjoined
10:57:52  * thlorenz_quit (Ping timeout: 240 seconds)
11:01:41  * SergeiRNDquit (Quit: Leaving.)
11:03:14  <txdv>(gdb) file run-tests
11:03:14  <txdv>"/home/bentkus/Projects/c/libuv/test/run-tests": not in executable format: File format not recognized
11:03:17  <txdv>:/
11:07:54  <saghul>txdv: if you built it using autotools that might be a symlink
11:08:38  <txdv>its a bash script
11:10:04  <txdv>whos idea was that
11:10:10  <txdv>and how do i run gdb with it now?
11:12:40  <saghul>txdv: use test/.libs/run-tests
11:12:47  <saghul>or build with gyp
11:18:15  <txdv>jeez, that backtrace doesn't help whatsoever
11:27:06  <txdv>saghul: when read_cb in the new uv_read gets called with nread = 0
11:27:08  <txdv>what does that mean?
11:27:10  <txdv>stream completed/
11:33:42  * SergeiRNDjoined
11:50:31  <saghul>txdv: it means EOF
11:51:32  <saghul>txdv: wait, if the read data is 0 I put UV_EOF there
11:51:42  <saghul>so you should never see 0 there
11:53:15  <txdv>but I receive that
11:53:20  <txdv>in the test i just pushed
11:53:34  <txdv>and im porting test-ipc-send-recv right now
11:53:37  <txdv>and i get nread = 0 too
11:57:59  <txdv>the test doesnt pass but ill just push it too so we can investigate it later
12:01:34  <txdv>o ipc-send-recv doesn't pass because i didn't port ipc.c
12:01:43  <txdv>nevermind then, but one test befor that returns nread = 0
12:09:40  * rmgjoined
12:12:34  <saghul>txdv: that's weird
12:12:42  <saghul>we'll investigate later
12:12:59  <saghul>benchmarks all work now (the ones that worked before, that is)
12:14:23  * rmgquit (Ping timeout: 256 seconds)
12:33:25  * brett19quit (Ping timeout: 255 seconds)
12:40:40  * brett19joined
12:42:18  * thlorenz_joined
12:44:25  * LinuxJediquit (Ping timeout: 256 seconds)
12:44:27  * LinuxJedi_joined
12:46:27  * iarnaquit (Remote host closed the connection)
12:47:04  * thlorenz_quit (Ping timeout: 244 seconds)
12:47:52  * iarnajoined
12:52:08  * iarnaquit (Ping timeout: 246 seconds)
13:22:16  <txdv>its calling it with nread = 0 all the time
13:28:00  * AvianFlujoined
13:38:50  <saghul>txdv: is it an IPC thing?
13:39:47  <txdv>seems like not
13:40:00  <txdv>tcp_close_accept fails too
13:43:28  <saghul>i'll take a look
13:48:36  * iarnajoined
13:51:06  * thlorenz_joined
13:55:37  * thlorenz_quit (Remote host closed the connection)
13:58:29  * rmgjoined
13:58:38  * gremaudcjoined
13:59:17  <gremaudc>Hi all. I'm a newbie with libuv and a have a problem to print my socket ip_address and port
13:59:35  <gremaudc>uv_tcp_getsockname((uv_tcp_t*)socket, &sock_addr, &addr_sock_len);
13:59:35  <gremaudc> uv_ip4_name((struct sockaddr_in*)&sock_addr, addr_sock_str, 16);
13:59:35  <gremaudc> sprintf(new_client->ip_port_nms, "%s:%u", addr_sock_str, ((struct sockaddr_in*)&sock_addr)->sin_port);
13:59:43  <gremaudc>what is wrong with this ?
14:02:47  * rmgquit (Ping timeout: 245 seconds)
14:13:08  * inolenquit (Read error: Connection reset by peer)
14:15:03  * inolenjoined
14:18:05  * Tux64_changed nick to Tux64
14:25:42  * iarnaquit (Ping timeout: 245 seconds)
14:29:38  * thlorenz_joined
14:45:45  * SergeiRNDquit (Quit: Leaving.)
14:51:20  <saghul>gremaudc: what is the problem?
14:51:40  <saghul>did you check the return codes of uv_tcp_getsockname and uv_ip4_name
15:11:25  <gremaudc>the problem is that it is not the correct value
15:11:41  <gremaudc>my server listen on multiple IP but always on port 161
15:14:30  * SplinterOfChaosjoined
15:16:45  * a_lejoined
15:22:05  <thlorenz_>saghul: ping (got tired of the twittering)
15:22:54  <thlorenz_>saghul: I suppose most of the examples would have to stay inside libuv-dox? since they wouldn't really make much sense inside official docs (some are large and it's nice to be able to clone the repo to run them)
15:26:36  * avalanche123joined
15:26:49  <saghul>thlorenz_: pang
15:27:12  <thlorenz_>saghul: do you agree that examples stay in libuv-dox?
15:27:36  <saghul>I'm not 100% sure... on one hand I think it would be nice to have them inside the official docs, but there is a risk of rotting
15:27:53  <saghul>also, the current format for the API docs is just that, API docs
15:28:07  <saghul>so yeah, lets keep them separate for now
15:29:56  <thlorenz_>- categorization into methods/types/callbacks
15:29:57  * Fishrock123joined
15:30:17  <thlorenz_>- and inheritance outline of types
15:30:36  <thlorenz_>i.e. https://github.com/thlorenz/libuv-dox/blob/master/types.md#uv_getaddrinfo_t--uv_req_t
15:31:12  <saghul>those are covered by the API docs
15:31:17  <thlorenz_>it's important to know this in case you are casting
15:31:18  <thlorenz_>oh
15:32:12  <thlorenz_>where is it saying that uv_stream_t inherits uv_handle_t here? http://docs.libuv.org/en/v1.x/stream.html?highlight=uv_stream_t#c.uv_stream_t
15:33:04  <thlorenz_>I can see though you did it for most of the non-abstract types -- nice
15:33:04  <saghul>maybe we need to add a explicit note, but look at the note here: http://docs.libuv.org/en/v1.x/stream.html?highlight=uv_stream_t#public-members
15:34:30  <thlorenz_>ah, yeah explicit would be better
15:34:56  <thlorenz_>also if we could get an overview of all types and their relations like in the TOC here: https://github.com/thlorenz/libuv-dox/blob/master/types.md that'd be nice
15:38:11  <saghul>thlorenz_: yeah, maybe a top level section with the object hierarchy
15:38:17  <saghul>can you open an issue about this?
15:38:22  <thlorenz_>sure
15:42:12  * avalanche123quit (Remote host closed the connection)
15:42:43  <thlorenz_>saghul: https://github.com/libuv/libuv/issues/209
15:43:49  <saghul>thanks
15:48:08  * a_lequit (Remote host closed the connection)
15:51:59  <thlorenz_>saghul: also linking man pages when we say: "Equivalent to pwritev(2)." would be nice. Not only convenience, but also `man pwritev` no worky on Mac ;)
15:52:03  * a_lejoined
15:52:08  * avalanche123joined
15:52:50  * iarnajoined
15:54:55  * avalanche123quit (Remote host closed the connection)
15:57:17  * iarnaquit (Ping timeout: 246 seconds)
16:00:26  * avalanche123joined
16:03:35  <gremaudc>if I use the default loop, how can i correctly close it when a press ctrl+C for example ? I'm able to catch the signal for ctrl+C, and call a function to close the loop but Valgrind always give me some error
16:04:42  * thlorenz_quit (Remote host closed the connection)
16:12:00  <gremaudc>it's ok. the mistake it was that i dont use uv_signal but posix signal....
16:12:04  <gremaudc>now it's ok
16:31:43  * SergeiRNDjoined
16:42:43  * avalanche123quit (Remote host closed the connection)
16:43:14  * thlorenz_joined
16:45:08  * thlorenz_quit (Remote host closed the connection)
16:47:13  * bajtosjoined
16:49:24  * imzyxwvuquit (Ping timeout: 245 seconds)
16:52:20  * avalanche123joined
16:53:04  * jgijoined
16:54:17  * avalanche123quit (Remote host closed the connection)
16:59:10  * jgiquit (Quit: jgi)
17:00:17  <MI6>joyent/node: Bruno Jouhier master * 4c31cda : fs: properly handle fd passed to truncate() - http://git.io/NxLy
17:05:18  * rmgjoined
17:05:49  * bajtosquit (Quit: bajtos)
17:09:12  * bajtosjoined
17:11:48  * bajtosquit (Client Quit)
17:12:31  <MI6>joyent/node: cjihrig created branch 0.12 - http://git.io/Nx3F
17:12:56  <MI6>joyent/node: Bruno Jouhier v0.12 * b3aa876 : fs: properly handle fd passed to truncate() - http://git.io/Nxsf
17:19:34  * seishunjoined
17:22:13  * a_lequit (Remote host closed the connection)
17:27:17  * Ralithquit (Ping timeout: 246 seconds)
17:33:55  * jgijoined
17:35:37  * a_lejoined
17:44:59  * sandr8quit
17:46:00  * thlorenz_joined
17:50:21  * thlorenz_quit (Ping timeout: 244 seconds)
18:02:16  * Ralithjoined
18:14:29  * thlorenz_joined
18:19:00  * dap_joined
18:21:24  * avalanche123joined
18:31:02  * SergeiRNDquit (Quit: Leaving.)
18:57:05  * iarnajoined
19:01:46  * iarnaquit (Ping timeout: 255 seconds)
19:03:07  * brett19quit (Ping timeout: 255 seconds)
19:06:35  * brett19joined
19:15:02  * jgiquit (Quit: jgi)
19:21:15  * Sczcyajoined
19:23:20  * jgijoined
19:28:42  * Sczcyapart
19:31:38  * roxlujoined
19:32:44  * crispyze_changed nick to crispyzeal
19:35:27  * felix89joined
19:35:31  <felix89>hey
19:35:55  <felix89>I am just starting out with libuv, was hoping for some pointers
19:36:32  <felix89>I am trying to create a simple repl. I was using a (while(fgets(…)) loop before; how would I do this in libuv?
19:36:53  <felix89>I saw I can read the tty as a stream - is that something to look into?
19:38:35  * brsonjoined
19:39:43  * tmwjoined
19:43:41  * jgiquit (Quit: jgi)
19:49:11  * a_lequit (Remote host closed the connection)
19:51:30  * a_lejoined
19:52:54  <felix89>if i create a stream to read from tty, i get an error in on_read, saying "bad address in system call argument"
19:57:15  * feross_changed nick to feross
20:02:14  * a_lequit (Read error: Connection reset by peer)
20:02:24  * a_lejoined
20:07:34  * roxluquit (Quit: My Mac has gone to sleep. ZZZzzz…)
20:41:06  * avalanche123quit (Remote host closed the connection)
20:43:13  * avalanche123joined
20:47:02  * iarnajoined
20:48:10  * AlexisMochaquit (Read error: Connection reset by peer)
21:05:10  <felix89>nvm, got it going :-)
21:25:35  * jgijoined
21:30:41  * a_lequit (Remote host closed the connection)
21:31:24  * a_lejoined
21:42:37  * seishunquit (Read error: Connection reset by peer)
21:46:29  * qardjoined
21:47:55  <rendar>felix89, what was that?
21:51:41  <felix89>rendar: it's allgood, i wanted to read the stdin stream, rather than using fgets in a while loop
22:10:08  <rendar>oh i see
22:10:08  <rendar>:)
22:11:40  <jgi>octetcloud: ping
22:18:20  * WalrusPony1joined
22:19:27  * WalrusPonyquit (Ping timeout: 245 seconds)
22:27:34  * jreyno40_joined
22:31:06  * rmgquit (Remote host closed the connection)
22:33:14  <rendar>guys, does libuv provides a callback which is called when the fd is finally closed? (by me, or by the other side) i want this is the last callback called on the uv_stream_t, so i can deallocate the structure and cleaning stuff
23:24:25  * lanceballchanged nick to lance|afk
23:27:52  * rmgjoined
23:31:41  * thlorenz_quit (Remote host closed the connection)
23:57:34  * brsonquit (Quit: Lost terminal)
23:57:44  * brsonjoined