00:08:34  * avalanche123quit (Quit: Computer has gone to sleep.)
00:14:14  * AvianFluquit (Quit: Leaving)
00:18:11  * avalanche123joined
00:28:29  * EhevuTovquit (Quit: This computer has gone to sleep)
00:48:13  <bnoordhuis>scizo: no, or not yet
00:48:45  <bnoordhuis>scizo: if you build with gyp, you can set the type to shared_library
00:49:08  <scizo>Thanks, I'll check it out.
00:49:25  <bnoordhuis>scizo: ps, there's a PR that add autotools support and lets you build a .so
00:49:56  <scizo>bnoordhuis: What do you mean PR?
00:51:30  <bnoordhuis>scizo: pull request
00:52:06  <scizo>Ah. Thanks. I'll definitely check it out.
00:52:45  <scizo>I just changed the type to shared_library and got the following error: KeyError: 'Undefined variable shared_library in /usr/local/src/libuv/uv.gyp while trying to load /usr/local/src/libuv/uv.gyp'
00:53:13  <scizo>I don't know anything about gyp though.
00:53:20  <TooTallNate>scizo: "shared_library", not "<(shared_library)"
01:02:35  * dapquit (Quit: Leaving.)
01:06:49  <scizo>bnoordhuis TooTallNate: Thanks! Using the pull request worked. The change to uv.gyp worked got me started, but there were errors in relation to the architecture that the pull request had already worked around.
01:11:05  <CIA-108>node: Ben Noordhuis v0.8 * r2eb6a62 / doc/api/child_process.markdown : doc: document child_process.fork() limitation - http://git.io/iw7APw
01:14:27  * pieternquit (Quit: pietern)
01:14:47  * mmaleckichanged nick to mmalecki[zzz]
01:15:23  * scizopart
01:26:21  * mikealjoined
01:30:54  * avalanche123quit (Quit: Computer has gone to sleep.)
01:32:51  * TheJHquit (Ping timeout: 252 seconds)
01:36:41  * AvianFlujoined
01:48:18  * theColequit (Quit: theCole)
01:49:50  <isaacs>bnoordhuis: https://github.com/joyent/node/commit/2eb6a62f4fafd6ed7aa4fa22b509686e5e910050 <-- really?
01:49:53  <isaacs>that's kinda lame.
01:51:04  * lohkeypart
01:57:58  * ericktquit (Ping timeout: 264 seconds)
02:01:26  <bnoordhuis>isaacs: what is? that it doesn't auto-exit?
02:01:35  <isaacs>bnoordhuis: yeah
02:01:55  <bnoordhuis>you didn't know?
02:02:09  <bnoordhuis>it's something people complain copiously and loudly about
02:02:22  <bnoordhuis>i propose this: https://github.com/joyent/node/issues/3799
02:03:12  <isaacs>bnoordhuis: ohhh, right, teh channel. derp, of course.
02:03:18  <isaacs>bnoordhuis: your proposal sounds wonderful.
02:03:44  <isaacs>indeed,it is surprising to many
02:03:50  <isaacs>even some people who should know better.
02:03:52  * isaacswas surprised
02:04:11  <bnoordhuis>yeah, it trips me up from time to time as well
02:05:09  <bnoordhuis>i'll write patch tomorrow, should be straightforward *knock on wood*
02:05:14  <bnoordhuis>but for now i'm off to bed :)
02:09:44  * bnoordhuisquit (Ping timeout: 246 seconds)
02:11:18  * abraxasjoined
02:32:54  * dominictarrchanged nick to dominicisasleeps
02:37:47  * dominicisasleepsquit (Ping timeout: 260 seconds)
02:39:13  * mikealquit (Quit: Leaving.)
03:00:32  * brsonquit (Ping timeout: 260 seconds)
03:11:45  * blackorzar_quit (Remote host closed the connection)
03:19:31  * lohkeyjoined
03:26:53  * brsonjoined
03:32:37  * brsonquit (Ping timeout: 260 seconds)
03:34:00  * brsonjoined
03:37:59  * lohkeyquit (Quit: lohkey)
03:44:53  * lohkeyjoined
03:58:06  * blackorzarjoined
04:07:40  * TooTallNatequit (Quit: Computer has gone to sleep.)
04:17:10  * brsonquit (Ping timeout: 264 seconds)
04:18:46  * brsonjoined
04:37:22  * brsonquit (Ping timeout: 260 seconds)
04:39:08  * brsonjoined
04:47:26  * davispquit (Ping timeout: 252 seconds)
04:47:31  * dshaw_joined
04:47:34  * dshaw_1quit (Ping timeout: 246 seconds)
04:54:33  * dshaw_quit (Quit: Leaving.)
04:58:05  * mikealjoined
05:12:42  * mikealquit (Quit: Leaving.)
05:20:12  * AvianFluchanged nick to AvianusAsleepus
05:27:23  * charlies_joined
05:27:27  * charlies_changed nick to charliesome_
05:47:45  * indexzerojoined
05:48:02  * indexzeroquit (Client Quit)
05:53:40  * mikealjoined
06:18:17  * blackorzarquit (Ping timeout: 260 seconds)
06:33:54  * TooTallNatejoined
06:34:01  * TooTallNatequit (Client Quit)
06:51:47  * lohkeyquit (Quit: lohkey)
06:52:34  * stephankquit (Quit: *Poof!*)
07:11:46  * `3rdEdenjoined
07:12:19  * paddybyersjoined
07:23:38  * mikealquit (Quit: Leaving.)
07:24:51  * mikealjoined
07:25:05  * brsonquit (Quit: leaving)
07:29:49  * dshaw_joined
07:37:35  * theColejoined
07:38:49  * TheJHjoined
07:49:12  * btraskjoined
07:58:59  * stagasjoined
08:15:44  * theColequit (Quit: theCole)
08:31:04  * AndreasMadsenjoined
08:52:12  * mmalecki[zzz]changed nick to mmalecki
08:53:35  * TheJHquit (Ping timeout: 252 seconds)
09:03:04  * TheJHjoined
09:13:54  * rendarjoined
09:21:15  * stagasquit (Quit: ChatZilla 0.9.88-rdmsoft [XULRunner 1.9.0.17/2009122204])
09:33:02  * theColejoined
09:33:31  * theColequit (Client Quit)
09:34:02  * theColejoined
09:54:23  * dominicisasleepsjoined
10:00:02  * dominicisasleepsquit (Read error: No route to host)
10:19:07  * toothrotquit (Read error: Connection reset by peer)
10:19:23  * toothrjoined
10:25:02  * TheJHquit (Ping timeout: 260 seconds)
10:35:17  * loladirojoined
10:35:20  * loladiroquit (Client Quit)
10:36:22  * bnoordhuisjoined
10:36:44  * loladirojoined
10:37:16  * loladiroquit (Client Quit)
10:56:03  * abraxasquit (Remote host closed the connection)
10:59:50  * loladirojoined
11:06:14  * hzjoined
11:17:40  * piscisaureus_joined
11:18:59  * theColequit (Quit: theCole)
11:46:31  <CIA-108>node: Ben Noordhuis v0.8 * rde16da5 / (8 files in 4 dirs): deps, tools: remove stray reject files - http://git.io/LBnFug
11:48:30  * piscisaureus_quit (Quit: ~ Trillian Astra - www.trillian.im ~)
11:57:52  * AndreasMadsenquit (Remote host closed the connection)
12:01:48  * hzquit
12:07:16  * beachdogquit (Remote host closed the connection)
12:20:45  * loladiroquit (Quit: loladiro)
12:27:38  * felixgejoined
12:27:38  * felixgequit (Changing host)
12:27:39  * felixgejoined
12:28:00  * beachdogjoined
12:29:07  * theColejoined
12:29:24  * piscisaureus_joined
12:31:03  <piscisaureus_>hello
12:51:27  * TheJHjoined
12:56:16  * txdvquit (Read error: Connection reset by peer)
12:56:41  * txdvjoined
12:59:28  <bnoordhuis>piscisaureus_: bertje, ben jij donderdag in 020?
13:01:46  * loladirojoined
13:02:57  * Casanjoined
13:09:50  * Casanquit (Quit: Leaving)
13:20:24  * chobi_e_changed nick to chobi_e
13:24:01  <piscisaureus_>bnoordhuis: sure
13:24:06  <piscisaureus_>bnoordhuis: I am always in 020
13:24:15  <bnoordhuis>at the office too?
13:24:29  <piscisaureus_>bnoordhuis: I think so
13:34:44  * hzjoined
13:41:02  * hzquit (Quit: Yaaic - Yet another Android IRC client - http://www.yaaic.org)
13:59:39  * Casanjoined
14:08:21  * beachdogquit (Remote host closed the connection)
14:14:48  * blackorzarjoined
14:18:02  * charliesome_quit (Quit: Textual IRC Client: www.textualapp.com)
14:21:15  * AvianusAsleepuschanged nick to AvianFlu
14:22:53  * beachdogjoined
14:29:47  * c4milojoined
14:30:33  <piscisaureus_>Hmm, Erik Corry is also moving over to Dart in september
14:30:35  <piscisaureus_>:-(
14:31:37  <bnoordhuis>guess one of us has to pick up the slack
14:31:44  <bnoordhuis>how is aarhus in summer?
14:32:41  <piscisaureus_>bnoordhuis: haha
14:32:48  <piscisaureus_>bnoordhuis: I think you have to go to munchen now
14:33:00  <piscisaureus_>bnoordhuis: I think Erik was the the last of the mohicans in Aarhus
14:33:03  <bnoordhuis>that's not too bad, munchen is nice
14:33:12  <piscisaureus_>It's better in October
14:33:16  <bnoordhuis>the dialect is incomprehensible though
14:33:27  <piscisaureus_>yeah, that too
14:37:29  <piscisaureus_>hmm, the unexpected-read test is flaky on windows
14:39:35  * blackorzar_joined
14:40:04  <piscisaureus_>I hate file systems
14:42:53  <piscisaureus_>bnoordhuis: https://github.com/joyent/node/issues/3768
14:43:09  * blackorzarquit (Ping timeout: 250 seconds)
14:44:44  <bnoordhuis>ah, guess i should land that
14:50:22  * pieternjoined
14:52:05  <bnoordhuis>of course it won't apply to v0.8...
14:54:40  * theColequit (Quit: theCole)
15:01:42  <CIA-108>libuv: Bert Belder reviewme * r9eccc44 / src/win/fs.c : windows: fix regression in uv_fs_link - http://git.io/Vm-FGw
15:01:43  <CIA-108>libuv: Bert Belder reviewme * r8b36a78 / (src/win/fs.c src/win/winapi.h): windows: fix the MinGW build - http://git.io/GjRo9A
15:01:45  <CIA-108>libuv: Bert Belder reviewme * r5bb8959 / (src/win/fs.c src/win/winapi.h): windows: improve uv_fs_unlink - http://git.io/wR7fxg
15:01:47  <piscisaureus_>bnoordhuis: can I get a signoff --^
15:02:49  <bnoordhuis>piscisaureus_: in a second
15:02:59  <piscisaureus_>bnoordhuis: well, that would be very fast
15:03:00  * mmaleckichanged nick to mmalecki[away]
15:03:18  <piscisaureus_>bnoordhuis: I would give you a raise if you were always that fast :-p
15:03:37  * travis-cijoined
15:03:37  <travis-ci>[travis-ci] joyent/libuv#511 (reviewme - 8b36a78 : Bert Belder): The build was broken.
15:03:37  <travis-ci>[travis-ci] Change view : https://github.com/joyent/libuv/compare/9eccc4485ba8^...8b36a78e4831
15:03:37  <travis-ci>[travis-ci] Build details : http://travis-ci.org/joyent/libuv/builds/2001173
15:03:37  * travis-cipart
15:08:33  <bnoordhuis>piscisaureus_: do you want me to review or test those commits? (or both)
15:10:39  <CIA-108>libuv: Bryan Cantrill master * rcfb06db / src/unix/sunos.c : sunos: workaround OS bug to prevent fs.watch() from spinning - http://git.io/JqdJ9w
15:10:43  <CIA-108>libuv: Ben Noordhuis v0.8 * rd192a31 / src/unix/sunos.c : sunos: workaround OS bug to prevent fs.watch() from spinning - http://git.io/5jL9mA
15:13:03  * travis-cijoined
15:13:04  <travis-ci>[travis-ci] joyent/libuv#513 (v0.8 - d192a31 : Ben Noordhuis): The build is still failing.
15:13:04  <travis-ci>[travis-ci] Change view : https://github.com/joyent/libuv/compare/4168855da57f...d192a317aa33
15:13:04  <travis-ci>[travis-ci] Build details : http://travis-ci.org/joyent/libuv/builds/2001278
15:13:04  * travis-cipart
15:13:13  <CIA-108>libuv: Ben Noordhuis v0.6 * rd6a96de / src/unix/sunos.c : sunos: workaround OS bug to prevent fs.watch() from spinning - http://git.io/M-Hk_w
15:15:02  * travis-cijoined
15:15:02  <travis-ci>[travis-ci] joyent/libuv#514 (v0.6 - d6a96de : Ben Noordhuis): The build is still failing.
15:15:02  <travis-ci>[travis-ci] Change view : https://github.com/joyent/libuv/compare/06e03193d59b...d6a96de4e398
15:15:02  <travis-ci>[travis-ci] Build details : http://travis-ci.org/joyent/libuv/builds/2001312
15:15:02  * travis-cipart
15:19:43  <bnoordhuis>piscisaureus_: lgtm
15:19:48  * theColejoined
15:20:42  * ericktjoined
15:25:51  <CIA-108>libuv: Bert Belder v0.8 * r7f6b86c / (src/win/fs.c src/win/winapi.h): windows: improve uv_fs_unlink - http://git.io/65ty1Q
15:25:52  <CIA-108>libuv: Bert Belder v0.8 * red2bc23 / (src/win/fs.c src/win/winapi.h): windows: fix the MinGW build - http://git.io/NxLmPg
15:25:53  <CIA-108>libuv: Bert Belder v0.8 * r7edc29a / src/win/fs.c : windows: fix regression in uv_fs_link - http://git.io/88Q91g
15:28:02  * travis-cijoined
15:28:02  <travis-ci>[travis-ci] joyent/libuv#515 (v0.8 - ed2bc23 : Bert Belder): The build is still failing.
15:28:02  <travis-ci>[travis-ci] Change view : https://github.com/joyent/libuv/compare/d192a317aa33...ed2bc23346ac
15:28:02  <travis-ci>[travis-ci] Build details : http://travis-ci.org/joyent/libuv/builds/2001416
15:28:02  * travis-cipart
15:30:18  * theColequit (Quit: theCole)
15:31:53  * xaqjoined
15:35:28  <piscisaureus_><3 p4merge
15:40:31  <isaacs>going to start 0.8.5 today, probably release tomorrow
15:40:41  <isaacs>also, new.npmjs.org going live this afternoon probably.
15:40:57  <piscisaureus_>isaacs: we really need to upgrade libuv in node before releasing
15:41:03  <isaacs>yep
15:41:20  <isaacs>piscisaureus_: if you wanna do that, go for it. otherwise i usually check before cutting the release anyway
15:41:52  <piscisaureus_>isaacs: I am trying to get some patch in, after that I will upgrade
15:41:59  <isaacs>ok, kewl
15:42:01  <isaacs>thanks :)
15:42:06  * benviechanged nick to Benvie
15:42:43  * `3rdEdenquit (Quit: Linkinus - http://linkinus.com)
15:43:55  * joeandaverdejoined
15:52:57  * theColejoined
15:54:29  * chobi_echanged nick to chobi_e_
15:55:07  * stephankjoined
15:55:50  * hzjoined
16:02:11  * brsonjoined
16:15:34  * saghulquit (Remote host closed the connection)
16:26:41  * saghuljoined
16:28:02  * AndreasMadsenjoined
16:31:12  * dapjoined
16:34:29  * brsonquit (Ping timeout: 252 seconds)
16:35:56  * mmalecki[away]changed nick to mmalecki
16:38:49  <piscisaureus_>bnoordhuis: you changed the v0.6 abi :-p
16:40:55  <CIA-108>libuv: Bert Belder merge * r0c7d9ab / (include/uv-private/uv-unix.h src/unix/ev/ev.c): Merge branch 'v0.6' - http://git.io/X2ohwA
16:42:55  * travis-cijoined
16:42:55  <travis-ci>[travis-ci] joyent/libuv#516 (merge - 0c7d9ab : Bert Belder): The build passed.
16:42:55  <travis-ci>[travis-ci] Change view : https://github.com/joyent/libuv/commit/0c7d9ab14951
16:42:55  <travis-ci>[travis-ci] Build details : http://travis-ci.org/joyent/libuv/builds/2002113
16:42:55  * travis-cipart
16:43:01  * brsonjoined
16:53:09  * davisp-joined
16:54:13  * retrobabyjoined
16:54:13  * hzquit
16:56:01  * dshaw_quit (Quit: Leaving.)
16:57:37  <retrobaby>hi, I am just beginning libuv, is there a special flag I need to add to run libuv on a 64 bit mac?
16:58:14  * dshaw_joined
16:58:50  <retrobaby>all i am doing is basically #include "uv.h" int main() {printf("Hello world"); return 0;}
16:59:09  <retrobaby>and ofc #include <stdio.h> in the beginning
17:00:37  <retrobaby>i get the `undefined symbols for x86_64:...` error
17:00:54  * cocacolajoined
17:01:33  <cocacola>What's the easiest way to replace the deprecated ev_ref(EV_DEFAULT_UC) ?
17:04:50  * KiNgMaRjoined
17:08:36  * TooTallNatejoined
17:09:27  <piscisaureus_>retrobaby: link to uv.a, probably
17:09:41  <piscisaureus_>cocacola: there is no one-to-one replacement, because we changed the model
17:10:04  <cocacola>piscisaureus_: What's the best way to approach this, then?
17:10:12  <piscisaureus_>cocacola: if you want a handle to not keep the loop alive, you can use uv_unref(handle), and you can use uv_ref(handle) to undo the effects of uv_unref
17:11:33  <piscisaureus_>cocacola: I don't know what you are trying to do, so I can't really tell what the best approach is. (cf. "I have no wrench. How do I solve my problem now")
17:11:42  <cocacola>piscisaureus_: 1) what exactly is the handle, and 2) I'm supposed to use unref before ref?
17:12:04  <piscisaureus_>cocacola: do you know what ev_ref does?
17:12:28  <cocacola>piscisaureus_: It's a database driver. The node process ends before the callbacks are processed.
17:12:31  <cocacola>piscisaureus_: nope
17:13:26  <piscisaureus_>cocacola: try ripping out all mentions of ev_unref/uv_unref/ev_ref/uv_ref
17:13:43  <piscisaureus_>cocacola: oh wait - you're using node 0.6 ?
17:13:50  <cocacola>piscisaureus_: no, 0.8.4
17:14:02  <piscisaureus_>cocacola: then try what I suggested.
17:14:29  <piscisaureus_>cocacola: if that doesn't work, make sure you actually know how it works :-)
17:15:12  <cocacola>piscisaureus_: so I'm supposed to make the handle?
17:15:36  <retrobaby>piscisaureus_: i do link uv.a: gcc -DEV_MULTIPLICITY=0 -o webserver webserver.c uv/uv.a
17:15:54  <retrobaby>and do $(MAKE) -C uv for uv.a
17:20:32  <piscisaureus_>retrobaby: ooh, you probably need -lm
17:20:57  <piscisaureus_>cocacola: try ripping out all mentions of ev_unref/uv_unref/ev_ref/uv_ref
17:20:59  <piscisaureus_>your best bet
17:21:00  <cocacola>piscisaureus_: so i tried making the handle, and it's not working. i tried using an uv_idle as well as an uv_async. i declared them, called init, and then called uv_start. although i got no errors during compile time, in run time they did not seem to be doing anything.
17:21:24  <joeandaverde>dshaw_: oops i put the wrong date
17:21:30  <joeandaverde>the weekend after this
17:21:42  <joeandaverde>sorry!
17:22:35  <piscisaureus_>cocacola: haha, forget about the uv_ref(handle)
17:22:41  <piscisaureus_>cocacola: just rip it all out
17:22:53  <AndreasMadsen>isaacs: about the cluser downtime issue with "a) downtime, b) dirty workers, or c) slower responses". You should know that (c) automatically kicks in when no worker exist, sure it is very possible that (b) is the best solution, but it is nice to know that you have (c) as a fallback.
17:23:27  <cocacola>piscisaureus_: the entire reason why i'm trying to use it is to add a callback to the node event loop
17:25:46  * mjr_joined
17:28:50  * brsonquit (Ping timeout: 240 seconds)
17:31:22  * cocacolaquit (Quit: Page closed)
17:31:36  * felixgequit (Quit: felixge)
17:40:36  <dshaw_>joeandaverde: np
17:40:48  <dshaw_>joeandaverde: scratch my suggestions then. :)
17:41:51  <CIA-108>libuv: Bert Belder v0.8 * r9d71d1c / src/win/process-stdio.c : windows/uv_spawn: ignore errors when duplicating fd 0-2 fails - http://git.io/hrbprg
17:43:45  * travis-cijoined
17:43:45  <travis-ci>[travis-ci] joyent/libuv#517 (v0.8 - 9d71d1c : Bert Belder): The build is still failing.
17:43:45  <travis-ci>[travis-ci] Change view : https://github.com/joyent/libuv/compare/ed2bc23346ac...9d71d1cab5fb
17:43:45  <travis-ci>[travis-ci] Build details : http://travis-ci.org/joyent/libuv/builds/2002616
17:43:45  * travis-cipart
17:50:47  * stagasjoined
17:55:49  * mikealquit (Quit: Leaving.)
18:00:02  * brsonjoined
18:02:36  * mikealjoined
18:04:54  * pieternquit (Quit: pietern)
18:06:51  * beachdog_joined
18:07:46  * lohkeyjoined
18:09:50  * beachdogquit (Ping timeout: 240 seconds)
18:09:53  * pieternjoined
18:12:16  <indutny>hey people
18:12:22  <indutny>I'm at Ukraine atm
18:12:23  <indutny>:D
18:12:26  <indutny>howdy?
18:13:40  * mikealquit (Quit: Leaving.)
18:17:38  * xaq_joined
18:18:26  * dshaw_quit (Quit: Leaving.)
18:19:17  * xaqquit (Ping timeout: 260 seconds)
18:20:27  * xaq_quit (Remote host closed the connection)
18:20:45  * xaqjoined
18:23:16  * arlolrajoined
18:24:21  * xaqquit (Remote host closed the connection)
18:24:59  * xaqjoined
18:29:49  * mikealjoined
18:30:25  * xaqquit (Remote host closed the connection)
18:30:51  * xaqjoined
18:31:56  * beachdogjoined
18:34:09  * stagas_joined
18:34:57  * beachdog_quit (Ping timeout: 249 seconds)
18:35:06  * xaqquit (Read error: Connection reset by peer)
18:35:48  * stagasquit (Ping timeout: 255 seconds)
18:35:49  * stagas_changed nick to stagas
18:36:36  * Casanquit (Quit: Leaving)
18:37:07  * xaqjoined
18:41:26  * `3rdEdenjoined
19:01:38  * joeandaverde_joined
19:04:05  <piscisaureus_>hmm, scheisse
19:04:29  * xaqquit (Remote host closed the connection)
19:05:09  * xaqjoined
19:05:31  * stagasquit (Quit: ChatZilla 0.9.88-rdmsoft [XULRunner 1.9.0.17/2009122204])
19:09:37  * xaqquit (Read error: Connection reset by peer)
19:09:44  <CIA-108>libuv: Bert Belder v0.8 * r69c2ef8 / src/win/fs.c : windows: initialize uv_fs_t.path to NULL - http://git.io/VYu6qg
19:09:50  * xaqjoined
19:11:37  * travis-cijoined
19:11:37  <travis-ci>[travis-ci] joyent/libuv#518 (v0.8 - 69c2ef8 : Bert Belder): The build is still failing.
19:11:37  <travis-ci>[travis-ci] Change view : https://github.com/joyent/libuv/compare/9d71d1cab5fb...69c2ef8acc01
19:11:37  <travis-ci>[travis-ci] Build details : http://travis-ci.org/joyent/libuv/builds/2003619
19:11:37  * travis-cipart
19:13:13  * brsonquit (Ping timeout: 248 seconds)
19:17:07  * dshaw_joined
19:17:47  <Benvie>so as it is now
19:17:52  <Benvie>ar
19:21:02  * EhevuTovjoined
19:29:23  <CIA-108>node: Bert Belder v0.8 * r80ab9a8 / (7 files in 5 dirs): uv: upgrade to 69c2ef8 - http://git.io/QG6qAw
19:29:41  <piscisaureus_>^-- isaacs: done
19:40:37  <CIA-108>node: Bert Belder v0.8 * r9e2319f / doc/api/child_process.markdown : docs: remove unused require from example - http://git.io/xwE0Tg
19:50:10  * brsonjoined
19:58:01  * `3rdEdenquit (Quit: Leaving...)
19:59:47  * piscisaureus__joined
20:03:10  * piscisaureus_quit (Ping timeout: 255 seconds)
20:08:57  <piscisaureus__>hello
20:09:14  <piscisaureus__>is there a way to search the full text of all man pages for a particular keyword?
20:09:14  * `3rdEdenjoined
20:10:33  <tjfontaine>/keyword
20:10:43  <tjfontaine>oh *all*
20:10:48  <piscisaureus__>yes
20:10:50  <tjfontaine>grep :)
20:10:51  <piscisaureus__>I know man -k
20:11:07  <piscisaureus__>yeah but many of the man pages are gzipped :-(
20:11:25  <tjfontaine>zgrep
20:11:55  <tjfontaine>zgrep will gracefully handle clear text as well
20:12:25  <piscisaureus__>and it does not support recursive tree search :-(
20:12:37  <tjfontaine>"recursive tree"?
20:12:48  <piscisaureus__>yeah, search all files in all subdirs
20:12:54  <piscisaureus__>grep -r
20:12:54  <tjfontaine>zgrep -r
20:13:11  <piscisaureus__>. /bin/zgrep: -r: option not supported
20:13:33  <tjfontaine>what kind of bastardized system are you on? :)
20:13:44  <tjfontaine>hmm oh my debian does it too
20:13:45  <tjfontaine>moment
20:13:56  <piscisaureus__>Linux piscisaureus-mint 3.0.0-17-generic #30-Ubuntu SMP Thu Mar 8 20:45:39 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
20:15:05  <tjfontaine>ah zgrep in this case is a silly bash script
20:15:52  * pepsicolajoined
20:17:01  <pepsicola>i need help
20:17:54  <pepsicola>how come idle init calls the callback continuous
20:18:11  * mmaleckiquit (Ping timeout: 252 seconds)
20:18:16  <pepsicola>uv_idle_t*
20:18:54  <piscisaureus__>pepsicola: because that's what it does. idle callbacks are called when there's nothing else to do
20:19:29  <pepsicola>wouldn't that take 100% cpu
20:19:34  <piscisaureus__>pepsicola: yep
20:19:40  * xaqquit (Remote host closed the connection)
20:19:57  * xaqjoined
20:20:05  <piscisaureus__>pepsicola: that's why you should only turn on an idle watcher if you have some "idle" work to do
20:20:11  <piscisaureus__>otherwise you should stop it
20:21:12  <tjfontaine>piscisaureus__: find /usr/share/man -print0 | xargs -0 zgrep -i <keyword>
20:21:21  <piscisaureus__>heh
20:21:28  <piscisaureus__>yeah I was going to do something like that :-)
20:21:59  <tjfontaine>find /usr/share/man -exec zgrep <keyword> '{}' \+
20:22:04  <tjfontaine>if your find supports the + operator
20:22:06  <indutny>hi
20:22:55  <pepsicola>@piscisaureus__: so see i'm building this database module and it's running a callback on a different thread then returning via eio nop. the event loop dies before i get the value. how do i fix this? i can workaround by introducing a timeout
20:23:47  * mmaleckijoined
20:24:15  <piscisaureus__>pepsicola: you probably want to use uv_async and uv_queue_work
20:24:27  <piscisaureus__>or probably uv_queue_work only should suffice
20:25:19  <piscisaureus__>it takes 2 callbacks, one is run on the thread pool and the other one is run on the main thread after the thread function returns
20:26:25  <pepsicola>@piscisaureus__: thanks. um what about arguments?
20:28:09  <piscisaureus__>pepsicola:
20:28:10  <piscisaureus__>https://github.com/joyent/libuv/blob/master/include/uv.h#L301-302
20:28:10  <piscisaureus__>https://github.com/joyent/libuv/blob/master/include/uv.h#L1333-1334
20:28:10  <piscisaureus__>http://nikhilm.github.com/uvbook/threads.html#libuv-work-queue
20:32:19  <piscisaureus__>isaacs: https://new.npmjs.org/browse/starred <-- linked, but broken
20:33:06  <isaacs>piscisaureus__: yes, should be https://localhost.npmjs.org:15443/browse/star
20:33:07  <isaacs>thanks
20:33:13  <isaacs>er, but at the proper url, not localhost :)
20:34:11  * AndreasMadsenquit (Remote host closed the connection)
20:35:17  <isaacs>piscisaureus__: fixed
20:35:27  <piscisaureus__>kewl
20:35:44  * `3rdEdenquit (Quit: Leaving...)
20:41:57  <pepsicola>@piscisaureus__: thanks
20:43:46  * xaq_joined
20:47:40  <pepsicola>@piscisaureus__: does queuework take care of thread switching for me?
20:47:48  * xaqquit (Ping timeout: 264 seconds)
20:48:49  * felixgejoined
20:48:49  * felixgequit (Changing host)
20:48:49  * felixgejoined
20:49:15  <piscisaureus__>pepsicola: Iyes
20:49:26  <piscisaureus__>isaacs: truncate should be renamed to ftruncate
20:50:35  <pepsicola>@piscisaureus__: is it asynch?
20:54:19  <piscisaureus__>pepsicola: dude, please try it out. There's code to look at in in the /test dir in the libuv source tree, there's some examples in the uv book.
20:54:20  <piscisaureus__>yes it is async
20:56:03  <loladiro>piscisaureus__: Any update on the process spawning/pipes/IPC?
21:01:59  * hzjoined
21:05:30  * pepsicolaquit (Ping timeout: 245 seconds)
21:05:32  <piscisaureus__>loladiro: not really, :S
21:06:27  <loladiro>piscisaureus__: Ok, just asking since it came up in #julia. We don't really need it ourselves, so we just implemented the non-IPC parts for our use right now
21:06:47  <piscisaureus__>loladiro: ok, that's good to hear :-)
21:07:02  <piscisaureus__>loladiro: sorry, I've been planning to do this many times but there was always something more urgent
21:07:27  <loladiro>piscisaureus__: No problem
21:15:25  * c4miloquit (Remote host closed the connection)
21:17:56  * c4milojoined
21:18:00  <isaacs>piscisaureus__: i agree
21:18:09  <isaacs>piscisaureus__: and we should have a truncate(path,cb) function
21:18:33  <isaacs>piscisaureus__: but truncate (in fs.js anyway) has to sniff for numericness and call ftruncate
21:18:52  <isaacs>the c stuff can just assume correctness
21:18:55  <piscisaureus__>isaacs: I think the purpose of truncate(path, cb) is pretty nonexistent :-), but posix has it so maybe we should too
21:19:20  <isaacs>piscisaureus__: well, sometimes you know the path of the file you want to zero-out, but don't wanna bother opening it
21:19:21  <piscisaureus__>isaacs: but ftruncate is the correct name. Maybe we should start by aliasing ftruncate
21:19:30  <isaacs>yes.
21:19:40  * xaq_quit (Remote host closed the connection)
21:19:44  <isaacs>piscisaureus__: that can land any time in master.
21:19:49  <piscisaureus__>k
21:20:54  <piscisaureus__>https://github.com/joyent/node/issues/3805
21:22:21  <isaacs>new website is minutes away from being The npm website
21:22:56  * pieternquit (Quit: pietern)
21:23:35  * pieternjoined
21:24:26  <bnoordhuis>piscisaureus__: apropos keyword
21:24:39  <piscisaureus__>bnoordhuis: ?
21:24:44  <piscisaureus__>bnoordhuis: rendezvous keyword?
21:24:52  <bnoordhuis>piscisaureus__: re: search all man pages for a keyword
21:24:56  <piscisaureus__>aah
21:24:58  <piscisaureus__>thanks
21:25:16  <piscisaureus__>bnoordhuis: aah, that only searches the short descriptions...
21:25:20  <piscisaureus__>bnoordhuis: just like man -k
21:25:41  <bnoordhuis>yes
21:25:47  <piscisaureus__>bnoordhuis: but I was looking for all occurrances of EISDIR and these don't show up in the short descriptions
21:25:53  <piscisaureus__>bnoordhuis: I wanted to search the full text
21:27:00  <piscisaureus__>win/fs.c is looking more and more like cygwin :-(
21:27:22  <bnoordhuis>piscisaureus__: you say that as if it's a bad thing
21:27:36  <piscisaureus__>bnoordhuis: did you ever look at the cygwin source code? :-)
21:28:09  <bnoordhuis>i have had precious little reason to
21:28:17  <bnoordhuis>don't tell me, it uses the gnu coding style?
21:28:38  * xaqjoined
21:29:56  <piscisaureus__>bnoordhuis: it's horrendous
21:30:20  * loladiroquit (Read error: Connection reset by peer)
21:30:20  <piscisaureus__>it's all cvs of course, but maybe there's a github mirror
21:31:59  <piscisaureus__>actually, their biggest sin is mixing tabs and spaced
21:32:02  <piscisaureus__>*spaces
21:32:25  <mmalecki>WHAT.
21:32:31  * loladirojoined
21:32:48  <mmalecki>I thought everyone grew up enough not to do that already.
21:34:02  <mmalecki>actually, zsh does that too
21:36:43  * loladiroquit (Ping timeout: 248 seconds)
21:37:12  * loladirojoined
21:37:49  * loladiropart
21:40:02  * hzquit (Quit: Yaaic - Yet another Android IRC client - http://www.yaaic.org)
21:43:15  <piscisaureus__>c'mon CIA
21:43:22  * piscisaureus__changed nick to piscisaureus
21:44:06  <piscisaureus>github is super slow :-(
21:45:01  * loladiro_joined
21:49:45  * pieternquit (Quit: pietern)
21:52:19  <CIA-108>libuv: Bert Belder reviewme * r038583b / src/win/fs.c : windows: only allow opening directories for reading - http://git.io/6PTbkw
21:52:30  * EhevuTov_joined
21:52:54  <piscisaureus>^-- bnoordhuis: review that
21:53:02  <bnoordhuis>piscisaureus: what's the magic word?
21:53:21  * piscisaureusponders
21:53:31  <piscisaureus>trousers?
21:54:07  * c4miloquit (Remote host closed the connection)
21:54:20  * travis-cijoined
21:54:20  <travis-ci>[travis-ci] joyent/libuv#519 (reviewme - 038583b : Bert Belder): The build is still failing.
21:54:20  <travis-ci>[travis-ci] Change view : https://github.com/joyent/libuv/commit/038583bfc591
21:54:20  <travis-ci>[travis-ci] Build details : http://travis-ci.org/joyent/libuv/builds/2004668
21:54:20  * travis-cipart
21:54:57  * pieternjoined
21:55:36  * EhevuTovquit (Ping timeout: 264 seconds)
21:55:52  <piscisaureus>isaacs: new.npm, nice
21:56:17  <piscisaureus>isaacs: and very slow btw ...
21:56:36  <isaacs>piscisaureus: getting kinda hammered
21:56:46  <isaacs>piscisaureus: also, tihe index is like one of the slowest pages.
21:56:51  <isaacs>i should probably fix that :)
21:57:05  <TooTallNate>isaacs: how up-to-date is the data on there?
21:57:18  <piscisaureus>maybe cache it for a minute?
21:58:42  <mmalecki>isaacs: what does it do, actually? looks like it just queries _changes and few views
21:59:53  <mmalecki>isaacs: oh, hey, I found a bug1
21:59:57  <mmalecki>s/1/!/g
22:00:29  <isaacs>TooTallNate: it's loading each time
22:00:38  <isaacs>TooTallNate: and for each hit :)
22:00:43  <isaacs>though it's cached on the fs
22:00:49  <isaacs>going to upate it to be 1-minute
22:01:00  <piscisaureus>now github is really fucked
22:01:03  <mmalecki>isaacs: https://gist.github.com/75cefffdf052250b3aed - /browse/authors
22:01:04  <TooTallNate>isaacs: i mean is that the live npm registry? or an outdated replica?
22:03:34  <isaacs>TooTallNate: super duper live
22:03:42  <TooTallNate>nice :)
22:05:48  * theColequit (Quit: theCole)
22:06:16  <piscisaureus>isaacs: much faster ++
22:06:59  <piscisaureus>I find it somewhat lame that search is done by google
22:08:00  <piscisaureus>I mean, it makes all the sense in the world, it just shows that we can't do better ...
22:09:47  * joeandaverdequit (Ping timeout: 248 seconds)
22:09:58  <retrobaby>i am still getting the Undefined symbols for architecture x86_64:... error, i use gcc -DEV_MULTIPLICITY=0 -lm -o webserver webserver.c uv/uv.a, even as piscisaureus adviced, -lm flags dont work.
22:10:03  * arlolraquit (Quit: Linkinus - http://linkinus.com)
22:10:24  <piscisaureus>retrobaby: so which symbols are undefined
22:10:50  <retrobaby>_ev_rt_now, _AbsoluteToNanoseconds
22:10:54  <isaacs>ok, new workers with faster stuff coming on line.
22:11:03  <isaacs>piscisaureus: oh, it's shitty using google for search here.
22:11:04  <piscisaureus>retrobaby: ah, that's cf stuff
22:11:09  <isaacs>piscisaureus: at least, we should be using bing.
22:11:16  <isaacs>piscisaureus: seeing as how bing actually uses node.
22:11:16  <piscisaureus>isaacs: ?? why
22:11:21  <piscisaureus>haha
22:11:44  <isaacs>piscisaureus: also, bing's site-search is actually really nice now that i'm looking into it. it's just not as trivial to use for free without any account or anything.
22:11:48  * loladiro_quit (Ping timeout: 264 seconds)
22:12:23  <piscisaureus>retrobaby: you need to link with CoreServices.framework
22:12:31  <piscisaureus>retrobaby: but I don't know how to do that to be honest
22:13:16  <piscisaureus>retrobaby: probably add this to your link flags:
22:13:16  <piscisaureus>-framework CoreServices
22:13:31  <retrobaby>kk i will try that
22:14:13  <piscisaureus>bnoordhuis: can we get rid of CoreServices.framework btw?
22:14:18  <piscisaureus>Zijn kop staat me niet aan.
22:15:38  * mjr_quit (Quit: mjr_)
22:16:31  <retrobaby>actually that did get rid of one of the undefined symbols! lol. http://pastie.org/4367692 but i have 2 more.
22:16:45  * EhevuTov_quit (Quit: Leaving)
22:17:42  <retrobaby>I actually dont know the codebase so well to trace them. -_-'
22:18:42  * EhevuTovjoined
22:21:24  * felixgequit (Ping timeout: 260 seconds)
22:22:33  * pfox__quit (Quit: leaving)
22:25:56  <piscisaureus>retrobaby: uv_init no longer exiss
22:26:03  <piscisaureus>retrobaby: you should remove it
22:26:19  <piscisaureus>retrobaby: -DEV_MULTIPLICITY=0 should not be necessary
22:26:23  <retrobaby>ok
22:26:40  <piscisaureus>retrobaby: also, you are calling ev_now probably. You should call uv_now()
22:27:01  <KiNgMaR>what's with all the actually resolved issues in the tracker? like https://github.com/joyent/node/issues/2771 - does nobody care to close em? :)
22:27:23  * TheJHquit (Ping timeout: 248 seconds)
22:28:11  <bnoordhuis>piscisaureus: i don't think so, we use stuff that lives in CoreServices
22:28:25  <piscisaureus>bnoordhuis: I know, but it's not much right?
22:28:43  <bnoordhuis>piscisaureus: no, probably only AbsoluteToNanoseconds()
22:28:48  <bnoordhuis>i take patches btw :)
22:28:50  <tjfontaine>which is deprecated :)
22:29:16  <isaacs>KiNgMaR: if you ever want to be helpful, and you notice such a thing, you can post a comment saying "This is fixed" or some such
22:29:28  <piscisaureus>bnoordhuis: speaking of patches
22:29:32  <piscisaureus>bnoordhuis: lgty?
22:29:37  <KiNgMaR>isaacs: alrighty :)
22:29:39  <piscisaureus>bnoordhuis: want the (DWORD) dropped?
22:29:39  <bnoordhuis>piscisaureus: i commented on it
22:29:45  <piscisaureus>bnoordhuis: I replied
22:29:46  <retrobaby>kk removing the uv_init fixed one issue, adn the -DEV_MULTIPLICITY=0 fixed the _ev_rt_now undefined symbol.
22:29:53  <bnoordhuis>piscisaureus: well, i wondered why it's there
22:30:06  <piscisaureus>bnoordhuis: because I tried to be type-agnostic
22:30:17  <piscisaureus>bnoordhuis: suppose DWORD was int64
22:30:29  <piscisaureus>bnoordhuis: which isn't the case - I can drop the DWORD if you like
22:30:38  <retrobaby>lol at the nodejs channel topic
22:30:44  <piscisaureus>ah, nice, all the comments are gone :-(
22:30:52  <KiNgMaR>also bnoordhuis if you have a minute, there's a buffer issue in node I'd like to discuss :) https://github.com/joyent/node/issues/3651#issuecomment-7379596
22:30:56  <piscisaureus>github *shakes fist*
22:31:14  <bnoordhuis>piscisaureus: either use it everywhere or nowhere, i would say
22:31:33  <bnoordhuis>so i guess i know what you're going to do :)
22:31:47  <bnoordhuis>KiNgMaR: is that the binary encoding issue?
22:31:59  <KiNgMaR>bnoordhuis: it is
22:32:04  <bnoordhuis>i'm aware of it
22:32:46  <CIA-108>libuv: Bert Belder v0.8 * r109e176 / src/win/fs.c : windows: only allow opening directories for reading - http://git.io/Nq7tqA
22:33:58  * joeandaverde_quit (Ping timeout: 255 seconds)
22:33:58  <KiNgMaR>alrighty :)
22:34:39  * travis-cijoined
22:34:40  <travis-ci>[travis-ci] joyent/libuv#520 (v0.8 - 109e176 : Bert Belder): The build is still failing.
22:34:40  <travis-ci>[travis-ci] Change view : https://github.com/joyent/libuv/compare/69c2ef8acc01...109e176ae2b3
22:34:40  <travis-ci>[travis-ci] Build details : http://travis-ci.org/joyent/libuv/builds/2005003
22:34:40  * travis-cipart
22:37:10  * pfox__joined
22:44:51  * retrobabyquit (Ping timeout: 252 seconds)
22:48:36  * paddybyersquit (Quit: paddybyers)
22:56:25  * toothrquit (Changing host)
22:56:25  * toothrjoined
22:56:51  <CIA-108>node: Bert Belder v0.8 * r2981f01 / deps/v8/tools/gyp/v8.gyp : v8: don't show performance warnings when compiling with msvc - http://git.io/0J-9bQ
23:04:53  <piscisaureus>bnoordhuis: what are you up to these days btw?
23:05:38  <bnoordhuis>piscisaureus: various things, mostly node stuff today
23:06:56  <piscisaureus>bnoordhuis: what are you doing besides node?
23:06:57  * arlolrajoined
23:07:07  <piscisaureus>(professionally, that is)
23:07:32  <isaacs>the new site spends a lot of time in util.format: http://static.izs.me/stacks.svg
23:07:52  <isaacs>i should probably figure out a more efficient way to do logging
23:09:36  <CoverSlide>if util.format is so sly, why not just use concats?
23:09:42  <CoverSlide>*slwo
23:09:45  <CoverSlide>*slow
23:11:18  * dshaw_quit (Quit: Leaving.)
23:11:30  <piscisaureus>isaacs: that looks shitty
23:11:57  <bnoordhuis>piscisaureus: professionally? nothing
23:12:03  <piscisaureus>ah, right
23:12:13  <CoverSlide>he holds a cardboard sign off the highway while he codes
23:12:27  <isaacs>piscisaureus: yeah, flamegraphs are hard to look at when you don't have one clear slow point
23:12:40  <piscisaureus>isaacs: haha. I see one slow point
23:12:53  <isaacs>but, lots of narrow spikes means that the program is mostly working well
23:12:54  <bnoordhuis>https://github.com/bnoordhuis/node/compare/fork-auto-exit <- opinions? it's all js, adds a new 'removeListener' event
23:13:03  <piscisaureus>isaacs: in fact, this is the easiest to interpret flame graph I have ever looked at
23:13:35  * dshaw_joined
23:13:42  <bnoordhuis>but i'll open a PR for it, easier to track / review
23:14:13  <piscisaureus>bnoordhuis: I don't mind removelistener but what does ab -c 100 -n 50000 say?
23:14:28  <bnoordhuis>piscisaureus: so far nothing
23:14:48  <piscisaureus>bnoordhuis: that's not an awful lot. I think in these areas performance is our greatest concern
23:15:03  <bnoordhuis>it won't be too bad except for the removeAllListeners() case
23:15:11  <bnoordhuis>which could be optimized i think
23:15:46  <piscisaureus>new target for v0.10: build without warnings
23:15:52  <piscisaureus>on x64
23:17:04  <bnoordhuis>13.8K vs 13.4K req/s, on average
23:19:29  * mikealquit (Quit: Leaving.)
23:20:34  <bnoordhuis>easily fixed - it's even faster than master now
23:21:51  <piscisaureus>bnoordhuis: huh, so how did removeListener make it faster ... ?
23:23:18  <piscisaureus>bnoordhuis: test: generalize common.mustCall() <-- squash
23:23:30  <bnoordhuis>piscisaureus: no, but this did: https://github.com/bnoordhuis/node/commit/802f0c4
23:25:49  <piscisaureus>bnoordhuis: this.listener('message') will be slow once we start returning a copy
23:25:55  <piscisaureus>(when there are many)
23:27:25  <bnoordhuis>piscisaureus: we already do
23:27:49  <piscisaureus>would it not be better to just count refs
23:27:57  <piscisaureus>like on addlistener x++
23:28:02  <bnoordhuis>please god no
23:28:02  <piscisaureus>on removelistener --x
23:28:21  <bnoordhuis>oh, like that - this seems more elegant
23:28:30  <piscisaureus>bnoordhuis: yeah, sure
23:28:31  <bnoordhuis>and people have been asking for a removeListener event for ages now
23:28:42  <piscisaureus>bnoordhuis: yeah, I agree with it
23:32:06  <CIA-108>libuv: Bert Belder v0.8 * r6209fe5 / src/win/process-stdio.c : windows: invalid stdio handles should be INVALID_HANDLE_VALUE and not NULL - http://git.io/R2sC5Q
23:34:08  * travis-cijoined
23:34:08  <travis-ci>[travis-ci] joyent/libuv#521 (v0.8 - 6209fe5 : Bert Belder): The build is still failing.
23:34:08  <travis-ci>[travis-ci] Change view : https://github.com/joyent/libuv/compare/109e176ae2b3...6209fe51f0e5
23:34:08  <travis-ci>[travis-ci] Build details : http://travis-ci.org/joyent/libuv/builds/2005410
23:34:08  * travis-cipart
23:34:32  * mikealjoined
23:44:00  * rendarquit
23:45:14  <CIA-108>node: EugenDueck v0.8 * r7e20488 / doc/api/http.markdown : doc: http: document res.write() `drain` return value - http://git.io/hkRP0A
23:46:20  <CIA-108>node: Eugen Dueck v0.8 * raf699c4 / doc/api/http.markdown : doc: http: document res.write() `drain` return value - http://git.io/u2PqBA
23:46:48  <CIA-108>node: Bert Belder v0.8 * r285a46d / (deps/uv/src/win/fs.c deps/uv/src/win/process-stdio.c): uv: upgrade to 6209fe5 - http://git.io/sSggKg
23:48:31  <piscisaureus>https://github.com/joyent/node/commit/d559bed0d59c3666718b847a11a7ba42dd4de54e <-- bnoordhuis: does that not break ABI ?
23:48:59  <bnoordhuis>piscisaureus: no
23:49:07  <bnoordhuis>it's got c linkage
23:50:19  <piscisaureus>right, ok
23:50:21  <bnoordhuis>the dutch women hockey team is quite popular on twitter, it seems...
23:50:36  <piscisaureus>bnoordhuis: you don't do twitter, do you?
23:50:39  <piscisaureus>heresy
23:50:50  <bnoordhuis>no, but i occasionally skim it
23:51:21  <piscisaureus>skimmin' like a romanian
23:51:25  <bnoordhuis>haha
23:52:01  <piscisaureus>alright
23:52:06  <piscisaureus>I am going home
23:52:19  <piscisaureus>12 hours ago I arrived at the office ...
23:58:44  * xaqquit (Remote host closed the connection)
23:58:55  <bnoordhuis>off you go, bertje
23:59:06  <bnoordhuis>piscisaureus: btw, what have *you* been up to?