00:00:01  * ircretaryquit (Remote host closed the connection)
00:00:13  * ircretaryjoined
00:01:33  * ijrothjoined
00:06:27  * abraxas__joined
00:07:00  <chrisdickinson>jgi: cool to merge that PR?
00:07:11  <jgi>chrisdickinson: yes
00:07:16  <chrisdickinson>woo!
00:07:17  <chrisdickinson>thanks
00:07:52  * AlexisMochajoined
00:09:46  * piscisaureusquit (Quit: ~ Trillian Astra - www.trillian.im ~)
00:11:27  * abraxas__quit (Ping timeout: 244 seconds)
00:21:25  <MI6>joyent/node: Rory Bradford v0.12 * 2d17193 : path: added parse() and format() functions (+1 more commits) - http://git.io/xFyTSQ
00:38:53  * warehouse13joined
00:40:02  * iarnaquit (Remote host closed the connection)
00:40:57  * Left_Turnquit (Ping timeout: 240 seconds)
00:41:39  * pgicxplzsjoined
00:43:46  * warehouse13quit (Ping timeout: 258 seconds)
00:46:19  * ijrothquit (Quit: Leaving.)
00:47:21  * ijrothjoined
00:47:59  * AlexisMochaquit (Read error: Connection reset by peer)
00:50:15  * AlexisMochajoined
01:11:06  * kazuponjoined
01:33:09  * kriskowalquit (Quit: kriskowal)
01:35:21  * ijrothquit (Quit: Leaving.)
01:35:21  * kriskowaljoined
01:37:14  * abraxas__joined
01:46:31  * dap_quit (Quit: Leaving.)
01:46:58  * dap_joined
01:48:50  * dap_quit (Client Quit)
01:53:23  * dsantiagoquit (Ping timeout: 240 seconds)
01:58:22  * dsantiagojoined
02:05:06  * avalanche123quit (Remote host closed the connection)
02:05:25  * stagasquit (Ping timeout: 258 seconds)
02:09:23  * Ralithquit (Ping timeout: 240 seconds)
02:11:18  * kriskowalquit (Quit: kriskowal)
02:24:27  * AlexisMochaquit (Ping timeout: 245 seconds)
02:33:07  * Ralithjoined
02:33:09  * rmgquit (Remote host closed the connection)
02:43:32  * ijrothjoined
02:43:33  * ijrothquit (Client Quit)
02:48:07  * brsonquit (Quit: leaving)
02:51:34  * jgiquit (Quit: jgi)
02:53:27  * a_lequit (Remote host closed the connection)
03:05:38  * avalanche123joined
03:10:23  * avalanche123quit (Ping timeout: 240 seconds)
03:23:33  * a_lejoined
03:33:58  * rmgjoined
03:36:28  * brsonjoined
03:38:17  * rmgquit (Ping timeout: 240 seconds)
03:40:23  * rmgjoined
03:40:33  * iarnajoined
03:45:07  * iarnaquit (Ping timeout: 255 seconds)
03:51:03  * inolenjoined
03:59:41  * a_lequit (Remote host closed the connection)
03:59:52  * kazuponquit (Remote host closed the connection)
04:01:45  * pgicxplzsquit (Remote host closed the connection)
04:05:30  * inolenquit (Ping timeout: 244 seconds)
04:12:20  * brsonquit (Quit: leaving)
04:45:23  * qard_joined
04:48:11  * kazuponjoined
04:53:10  * kazuponquit (Ping timeout: 250 seconds)
04:54:23  * kazuponjoined
05:10:05  * octetcloudquit (Ping timeout: 244 seconds)
05:11:43  * qard_quit (Quit: leaving)
05:12:34  * qard_joined
05:13:12  * qard_quit (Client Quit)
05:14:15  * qard_joined
06:25:47  * hueniversejoined
06:30:27  * bradleymeckjoined
06:56:27  * hueniversequit (Ping timeout: 255 seconds)
07:05:09  * thlorenzquit (Remote host closed the connection)
07:05:43  * thlorenzjoined
07:08:14  * rmgquit (Remote host closed the connection)
07:10:31  * thlorenzquit (Ping timeout: 265 seconds)
07:13:12  * hueniversejoined
07:15:36  * hueniversequit (Read error: Connection reset by peer)
07:25:16  * abraxa___joined
07:28:48  * abraxas__quit (Ping timeout: 264 seconds)
07:31:15  * bradleymeckquit (Quit: bradleymeck)
07:42:55  * hueniversejoined
07:50:13  * rendarjoined
08:00:38  * Ldxngx_joined
08:08:43  * rmgjoined
08:09:25  * seishunjoined
08:13:24  * nickleeflyjoined
08:13:30  * rmgquit (Ping timeout: 244 seconds)
08:27:45  * SergeiRND1joined
08:31:09  * qard_quit (Quit: leaving)
08:41:35  * iarnajoined
08:44:51  * janjongboomjoined
08:50:44  * iarnaquit (Remote host closed the connection)
08:52:19  * iarnajoined
08:54:10  * avalanche123joined
08:55:50  * hueniversequit (Ping timeout: 250 seconds)
08:56:15  * iarnaquit (Read error: Connection reset by peer)
08:59:02  * avalanche123quit (Ping timeout: 258 seconds)
09:02:40  * iarnajoined
09:15:02  * janjongboomquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
09:18:12  * seishunquit (Ping timeout: 255 seconds)
09:21:34  * janjongboomjoined
09:26:20  * iarnaquit (Read error: Connection reset by peer)
09:26:53  * iarnajoined
09:37:34  * iarna_joined
09:37:48  * iarnaquit (Read error: Connection reset by peer)
09:58:57  * iarna_quit (Read error: Connection reset by peer)
09:59:26  * iarnajoined
10:19:44  * kazuponquit (Remote host closed the connection)
10:20:10  * kazuponjoined
10:20:14  * janjongboomquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
10:20:25  * nickleeflyquit (Quit: Connection closed for inactivity)
10:24:43  * kazuponquit (Ping timeout: 255 seconds)
10:50:35  * abraxa___quit (Remote host closed the connection)
10:51:03  * chris_99joined
10:51:10  * abraxas__joined
10:52:59  * iarna_joined
10:53:43  * iarnaquit (Read error: Connection reset by peer)
10:55:57  * abraxas__quit (Ping timeout: 258 seconds)
10:59:39  * iarna_quit (Read error: Connection reset by peer)
11:00:08  * iarnajoined
11:05:11  * Left_Turnjoined
11:07:29  * SergeiRND1quit (Quit: Leaving.)
11:16:58  * AlexisMochajoined
11:38:33  * fmorenojoined
11:38:54  * fmorenopart
11:42:16  * SergeiRNDjoined
11:46:45  * rmgjoined
11:51:20  * rmgquit (Ping timeout: 250 seconds)
11:52:56  * Dijoined
11:53:18  * Dipart
12:03:29  * roxlujoined
12:05:23  <roxlu>hey indutny, I’ve implemented some code which creates a memory mapped file on posix systems and I’m now looking into how Windows does this. I read that you can create a global/shared memory mapped file using a name for the file with “Global\somename”, but for this the user needs administrative permissions. There is “Session\somename” and “Local\somename”. When I want to share memory between two apps that the user created, do
12:05:24  <roxlu>know if I should use just “Local” ?
12:06:50  * iarna_joined
12:06:53  * iarnaquit (Read error: Connection reset by peer)
12:11:34  <rendar>roxlu: check out the MapViewOfFile() API on Windows
12:11:53  <indutny>heya
12:12:11  <indutny>what rendar said
12:12:23  <rendar>roxlu: why are you creating a memory mapped file?
12:14:00  <roxlu>Hey rendar thanks, that’s what I’m looking at indeed. But MapViewOfFile needs a ‘HANDLE’ that was created with CreateFileMapping. And, CreateFileMapping needs a name so I can refer to it in another process. The name of the mapping can be like I described above but I’m not sure if I should use Global, Session or Local
12:14:38  <roxlu>rendar: I wanted to used shared memory to share memory between a couple of processes … why are you asking?
12:14:50  <rendar>roxlu: it depends, for normal purposes i'd go with "Local", what you need exctly?
12:15:00  <rendar>roxlu: oh
12:15:05  <rendar>roxlu: i see,
12:15:19  <rendar>roxlu: they maybe you want "Global" for that
12:15:24  <rendar>then*
12:15:26  <roxlu>rendar: The user will open one application that will “read” from the shared memory and other applciation provide data to tit
12:15:37  <roxlu>but the user will open both apps himself
12:15:41  * jas-joined
12:15:47  * Dijoined
12:15:50  <rendar>roxlu: got it, a shared memory for producer/consumer paradigm
12:15:59  <roxlu>(That feels like “local” but I’m not very familiar with the Windows security model)
12:16:03  <roxlu>rendar: yep
12:16:23  <rendar>roxlu: why not using a pipe?
12:16:53  <rendar>roxlu: with shared memory you also have the hassle of synchronoizing
12:16:58  <rendar>with a pipe, you won't
12:17:46  <roxlu>rendar: yeah, but shared mem gives me some more freedom/flexibility and I got it already working with posix systems. I guess (hope) that sync can be done with a semaphore like approach that I’m using for posix now
12:18:01  <rendar>absolutely
12:18:50  <roxlu>Is “Local” representing a level for a “user” who is logged in? So it can access everything created by the user itself?
12:19:03  <rendar>roxlu: can i ask you what kind of flexibility shared memory gives you more? i'm just curious to study those methods to see what is better, for the job :-)
12:19:21  <rendar>roxlu: iirc, yes
12:19:34  <rendar>but its better you read it from MSDN, i could remember wrongly
12:20:08  <roxlu>e.g. I can have many ‘input’ streams with shared mem
12:20:12  <roxlu>from different sources
12:20:58  <rendar>oh, you mean N consumers for the same produced data?
12:21:19  <roxlu>yep and the other way aournd too
12:21:39  <rendar>yeah
12:21:42  <rendar>that's interesting
12:26:02  * tarrudajoined
12:30:19  * stagasjoined
12:37:17  * iarnajoined
12:37:18  * iarna_quit (Read error: Connection reset by peer)
12:39:40  * abraxas__joined
12:44:59  * abraxas__quit (Ping timeout: 265 seconds)
12:46:41  * SergeiRNDquit (Read error: Connection reset by peer)
12:47:09  * SergeiRNDjoined
12:55:21  * iarnaquit (Remote host closed the connection)
12:55:59  * iarnajoined
12:56:42  * iarnaquit (Read error: Connection reset by peer)
12:58:47  * iarnajoined
13:18:49  <roxlu>Windows way of shared memory and semaphores seems to be pretty similar to posix
13:19:50  <roxlu>a basic implementation: https://gist.github.com/roxlu/afd4535bd6401184d17e
13:24:44  * Ldxngx_quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
13:35:38  * rmgjoined
13:39:39  * iarnaquit (Remote host closed the connection)
13:40:06  * rmgquit (Ping timeout: 250 seconds)
13:42:31  * lance|afkchanged nick to lanceball
13:45:54  * ijrothjoined
13:58:34  * SergeiRNDquit (Quit: Leaving.)
14:06:40  * eugenewarequit (Ping timeout: 272 seconds)
14:06:59  * importantshockjoined
14:07:39  * eugenewarejoined
14:15:32  * wwicksquit (Ping timeout: 272 seconds)
14:15:32  * kellabytequit (Ping timeout: 272 seconds)
14:16:01  * creationixquit (Excess Flood)
14:16:13  * creationixjoined
14:16:29  * wwicks_joined
14:16:39  * kellabytejoined
14:26:08  * Fishrock123joined
14:29:00  * abraxas__joined
14:33:12  * abraxas__quit (Ping timeout: 245 seconds)
14:35:48  * AvianFlujoined
14:43:24  * kazuponjoined
14:44:22  * AvianFluquit (Ping timeout: 265 seconds)
14:50:16  * seishunjoined
15:05:30  * iarnajoined
15:25:23  * AvianFlujoined
15:36:08  * Diquit (Quit: Leaving.)
15:37:19  * ijrothquit (Ping timeout: 258 seconds)
15:38:26  * AvianFluquit (Ping timeout: 256 seconds)
15:49:20  * iarnaquit (Remote host closed the connection)
15:51:10  * bradleymeckjoined
15:51:14  * ijrothjoined
15:55:41  * ijrothquit (Ping timeout: 264 seconds)
15:58:20  * a_lejoined
16:00:58  * ijrothjoined
16:03:39  * a_lequit (Remote host closed the connection)
16:05:10  * a_lejoined
16:05:22  * ijrothquit (Ping timeout: 255 seconds)
16:07:00  * iarnajoined
16:10:46  * chris_99quit (Remote host closed the connection)
16:14:07  * kazuponquit (Remote host closed the connection)
16:17:26  * abraxas__joined
16:22:28  * abraxas__quit (Ping timeout: 255 seconds)
16:37:08  * hueniversejoined
16:50:21  * rishidjoined
16:51:11  <rishid>Hi, I am trying to figure out after a uv_tcp_connect and say I get a connection refused... is it safe for me to just call uv_tcp_connect again inside my call back? I want to retry for lets say N times or for some period of time.
16:54:10  * janjongboomjoined
16:55:41  * stagasquit (Ping timeout: 264 seconds)
17:00:29  * octetcloudjoined
17:01:07  * thlorenzjoined
17:01:29  * ijrothjoined
17:02:02  * rmgjoined
17:02:59  * a_lequit (Remote host closed the connection)
17:05:37  * ijrothquit (Ping timeout: 240 seconds)
17:06:54  * jgijoined
17:07:56  * chris_99joined
17:09:09  * a_lejoined
17:14:20  * ijrothjoined
17:16:47  * dap_joined
17:22:31  <saghul>rishid: yes, you can retry the connection
17:22:36  <saghul>in the callback
17:24:56  * kazuponjoined
17:25:32  * tarrudaquit (Quit: WeeChat 0.4.2)
17:29:34  * a_lequit (Remote host closed the connection)
17:29:38  * kazuponquit (Ping timeout: 258 seconds)
17:30:54  * a_lejoined
17:40:37  * dshaw_joined
17:46:27  * ijrothquit (Quit: Leaving.)
17:48:44  * Fishrock123quit (Read error: Connection reset by peer)
17:49:16  * Fishrock123joined
17:54:24  * bradleymeckquit (Quit: bradleymeck)
18:01:41  <rishid>saghul: awesome thanks, do I need to uv_close the uv_connect_t handle or anything first?
18:02:11  <saghul>rishid: no, uv_close is for handles, not requests
18:02:18  <saghul>just call uv_tcp_connect again
18:02:48  <rishid>ah, got it. thanks.
18:03:37  * a_lequit (Remote host closed the connection)
18:03:43  * brsonjoined
18:04:50  * a_lejoined
18:06:37  * abraxas__joined
18:07:28  * AlexisMochaquit (Ping timeout: 256 seconds)
18:08:30  <rishid>saghul: is this what you were referring to? my connect only appears to be getting tried once https://gist.github.com/rishid/32e98f4f14d39f21a700
18:09:32  * kriskowaljoined
18:11:27  * abraxas__quit (Ping timeout: 255 seconds)
18:14:25  * inolenjoined
18:14:56  * inolenquit (Client Quit)
18:15:57  * importantshockquit (Remote host closed the connection)
18:22:49  <saghul>rishid: that should work, but you need to check the return code for uv_tcp_connect
18:22:53  <saghul>it could be failing
18:25:35  * thlorenzquit (Remote host closed the connection)
18:32:18  * avalanche123joined
18:32:41  <saghul>rishid: actually, forget it, sockets wheich fail to connect enter a weird state, you are better off using a new handle
18:33:48  * thlorenzjoined
18:35:07  * AvianFlujoined
18:36:11  * thlorenzquit (Remote host closed the connection)
18:49:49  * avalanche123quit (Remote host closed the connection)
18:53:57  * avalanche123joined
19:04:49  <chrisdickinson>saghul: re: statvfs in libuv, would we want to do the intersection of features with GetDiskFreeSpaceEx? (i.e., free bytes available to user, total size available to user, total size available to system)?
19:06:25  <chrisdickinson>where the user free bytes is `f_bavail * f_frsize`, user total bytes is `(f_blocks - (f_free - f_bavail)) * f_frsize`, and total would be `f_blocks * f_frsize` from statvfs
19:09:21  * a_lequit (Read error: Connection reset by peer)
19:09:50  * a_lejoined
19:13:58  * stagasjoined
19:19:43  * thlorenzjoined
19:19:56  <chrisdickinson>or do we want to see if we can get statvfs-like attributes out of windows?
19:22:55  * warehouse13joined
19:25:05  * Left_Turnquit (Ping timeout: 264 seconds)
19:25:28  * thlorenzquit (Remote host closed the connection)
19:25:52  * octetcloudquit (Quit: WeeChat 1.0.1)
19:26:35  * octetcloudjoined
19:30:14  * kriskowalquit (Quit: kriskowal)
19:33:00  * kriskowaljoined
19:33:01  * kriskowalquit (Client Quit)
19:35:21  * chris_99quit (Ping timeout: 272 seconds)
19:38:32  * thlorenzjoined
19:38:46  * chris_99joined
19:41:00  * thlorenzquit (Remote host closed the connection)
19:51:53  * rendarquit (Ping timeout: 240 seconds)
19:54:20  * AlexisMochajoined
19:56:31  * kriskowaljoined
19:58:20  * rendarjoined
20:00:51  * thlorenzjoined
20:01:10  * kriskowalquit (Ping timeout: 255 seconds)
20:09:03  * dshaw_quit (Quit: Leaving.)
20:10:26  * kriskowaljoined
20:12:16  * thlorenzquit (Remote host closed the connection)
20:13:16  * chris_99quit (Ping timeout: 256 seconds)
20:13:42  * bradleymeckjoined
20:14:54  * dshaw_joined
20:20:09  * kriskowalquit (Quit: kriskowal)
20:24:04  * avalanche123quit (Remote host closed the connection)
20:51:49  * avalanche123joined
20:52:47  * kriskowaljoined
20:56:37  * inolenjoined
21:17:00  * lanceballchanged nick to lance|afk
21:21:51  * rishidquit (Quit: Page closed)
21:21:57  * jgiquit (Quit: jgi)
21:22:39  * jgijoined
21:28:09  * thlorenzjoined
21:33:28  * jgiquit (Quit: jgi)
21:39:02  * inolenquit (Quit: Leaving.)
21:44:25  * Ralithquit (Ping timeout: 264 seconds)
21:57:36  * Fishrock123quit (Remote host closed the connection)
22:08:35  * roxluquit (Quit: roxlu)
22:14:50  * AlexisMochaquit (Ping timeout: 265 seconds)
22:28:31  * jgijoined
22:34:30  * avalanche123quit (Remote host closed the connection)
22:36:26  * avalanche123joined
22:38:14  * bradleymeckquit (Quit: bradleymeck)
22:47:50  * hayesquit (Ping timeout: 250 seconds)
22:50:53  * Fishrock123joined
22:52:00  * Fishrock123quit (Client Quit)
22:53:15  * hayesjoined
23:01:40  * thlorenzquit (Remote host closed the connection)
23:03:20  * thlorenzjoined
23:04:59  * thlorenzquit (Remote host closed the connection)
23:06:47  * chris_99joined
23:11:04  * dshaw_quit (Quit: Leaving.)
23:12:17  * Ralithjoined
23:20:58  * dshaw_joined
23:29:04  * kriskowalquit (Quit: kriskowal)
23:32:53  * abraxas__joined
23:38:33  * abraxas__quit (Ping timeout: 272 seconds)
23:43:44  * kriskowaljoined
23:48:36  * kriskowalquit (Ping timeout: 265 seconds)
23:52:06  * a_le_joined
23:55:16  * a_lequit (Ping timeout: 258 seconds)