00:00:00  * ircretaryquit (Remote host closed the connection)
00:00:11  * ircretaryjoined
00:01:04  * a_lequit (Remote host closed the connection)
00:02:56  * brsonquit (Quit: leaving)
00:03:18  * brsonjoined
00:06:45  * avalanche123joined
00:08:31  * thlorenzjoined
00:14:54  * thlorenz_joined
00:17:53  * thlorenzquit (Ping timeout: 245 seconds)
00:24:47  * jgiquit (Quit: jgi)
00:25:03  * brsonquit (Quit: leaving)
00:29:48  * toothrotjoined
00:31:32  * wolfeidauquit
00:34:50  * importantshockquit (Remote host closed the connection)
00:34:52  * dsantiagoquit (Quit: Computer has gone to sleep.)
00:35:25  * importantshockjoined
00:39:36  * importantshockquit (Ping timeout: 240 seconds)
00:48:33  * dsantiagojoined
00:56:27  * dsantiagoquit (Quit: Computer has gone to sleep.)
01:12:29  * dap_quit (Quit: Leaving.)
01:15:17  * AlexisMochaquit (Read error: Connection reset by peer)
01:18:13  * avalanche123quit (Remote host closed the connection)
01:22:27  * avalanch_joined
01:26:56  * avalanch_quit (Ping timeout: 250 seconds)
01:31:49  * kazuponjoined
01:46:09  * dsantiagojoined
01:59:41  * qard_joined
02:07:16  * a3fquit (Ping timeout: 272 seconds)
02:15:30  * Ralithquit (Ping timeout: 272 seconds)
02:22:16  * jonaslundquit (Quit: ChatZilla 0.9.91-rdmsoft [XULRunner 32.0.3/20140923175406])
02:24:07  * jonaslundjoined
02:24:12  * thlorenz_quit (Remote host closed the connection)
02:25:57  * thlorenzjoined
02:26:22  * thlorenzquit (Remote host closed the connection)
02:39:17  * kellabytejoined
02:42:06  * Left_Turnquit (Remote host closed the connection)
02:43:55  * Ralithjoined
02:49:06  * jonaslundquit (Quit: ChatZilla 0.9.91-rdmsoft [XULRunner 32.0.3/20140923175406])
02:55:39  * jonaslundjoined
03:02:10  * avalanche123joined
03:03:02  * jonaslund_joined
03:04:13  * jonaslundquit (Disconnected by services)
03:04:18  * jonaslund_changed nick to jonaslund
03:27:12  * thlorenzjoined
03:32:27  * thlorenzquit (Ping timeout: 276 seconds)
03:33:43  * alexforsterjoined
03:38:53  * avalanche123quit (Remote host closed the connection)
03:40:33  * alexforsterquit
03:41:23  * alexforsterjoined
03:41:31  * jonaslundquit (Ping timeout: 255 seconds)
03:44:18  * avalanche123joined
03:51:51  * alexforsterquit (Ping timeout: 250 seconds)
03:55:31  * reqsharkjoined
04:17:52  * rmgquit (Remote host closed the connection)
04:18:26  * rmgjoined
04:21:03  * kazuponquit (Remote host closed the connection)
04:23:09  * rmgquit (Ping timeout: 276 seconds)
04:54:30  * kellabytequit (Quit: Connection closed for inactivity)
04:56:13  * avalanche123quit (Remote host closed the connection)
05:05:32  * kazuponjoined
05:42:25  * jgijoined
05:48:41  * kellabytejoined
05:53:24  * marcus366joined
05:56:45  * avalanche123joined
05:59:25  * reqsharkquit (Quit: Be back later ...)
06:01:37  * avalanche123quit (Ping timeout: 264 seconds)
06:07:44  * toothrotquit (Ping timeout: 250 seconds)
06:12:22  * felipealmeidaquit (Ping timeout: 272 seconds)
06:17:26  * felipealmeidajoined
06:23:32  * MLMquit (Quit: Connection closed for inactivity)
06:31:43  * FROGGS[mobile]joined
06:35:08  * jgiquit (Quit: jgi)
06:47:43  * qard_quit (Remote host closed the connection)
07:02:39  * marcus366quit (Quit: 离开)
08:01:53  * jan____joined
08:02:13  * jan____quit (Changing host)
08:02:14  * jan____joined
08:08:38  * kazuponquit (Remote host closed the connection)
08:09:53  * Left_Turnjoined
08:16:23  * rendarjoined
08:18:40  * thlorenzjoined
08:19:31  * SergeiRNDjoined
08:21:19  * Left_Turnquit (Remote host closed the connection)
08:23:39  * thlorenzquit (Ping timeout: 276 seconds)
08:41:18  * etnbrdjoined
08:47:57  * a_lejoined
08:49:19  * jonaslundjoined
09:09:25  * kazuponjoined
09:11:23  * etnbrdquit (Quit: etnbrd)
09:14:46  * kazuponquit (Ping timeout: 272 seconds)
09:15:04  * seishunjoined
09:31:04  * Left_Turnjoined
09:33:26  * a_lequit (Remote host closed the connection)
09:37:40  * a_lejoined
09:41:29  <rendar>why uv_buf_t dosn't contain an 'offset' value? i mean, what about i want to write multiple uv_buf_t in a file, but with different offsets? iirc, writev() allows to specify that for files..
09:42:50  * chris_99joined
09:46:05  <saghul>rendar: that is part the uv_fs_write api
09:46:17  <saghul>the offset is in the file, not the buffer
09:47:11  <rendar>saghul: oh, i see, thanks
09:47:35  <rendar>saghul: so, if i want to write N buffers with different offsests, i have to do N api calls for each buffer?
09:49:24  <saghul>in that API, offet means file offset, not buffer offset
09:49:27  * kazuponjoined
09:49:37  <rendar>saghul ok
09:49:55  <saghul>so if you want to write different buffers at different offsets yes, you need X API calls
09:50:40  <rendar>saghul: i see, but iirc it can be done with writev(), even in Windows, right?
09:53:15  <saghul>idk
09:53:22  <rendar>ok
09:53:56  <saghul>rendar: actually, no
09:54:10  <saghul>pwritev, which takes an offset parameter, specifies where to write
09:54:15  <saghul>not the offset of the buffer
09:59:13  <rendar>ok
10:00:19  <txdv>in C it always was (pointer, count), instead of (pointer to memory chunk, offset, count)
10:04:03  * zju1quit (Remote host closed the connection)
10:09:38  * davijoined
10:09:38  * daviquit (Changing host)
10:09:38  * davijoined
10:15:41  * kazuponquit (Remote host closed the connection)
10:16:18  * kazuponjoined
10:20:33  * kazuponquit (Ping timeout: 250 seconds)
10:28:29  * a_lequit (Remote host closed the connection)
10:31:39  * a_lejoined
10:43:25  * a_lequit (Remote host closed the connection)
10:43:26  * zjuquit (Ping timeout: 272 seconds)
10:44:30  * kellabytequit (Quit: Connection closed for inactivity)
10:45:13  * a_lejoined
10:51:54  * daviquit (Ping timeout: 245 seconds)
10:59:30  * SergeiRNDquit (Quit: Leaving.)
11:07:20  * WalrusPonyjoined
11:10:08  <txdv>saghul: http://paste.ubuntu.com/10837980/
11:10:12  <txdv>this produces only 920
11:10:22  <txdv>a behaviour i thought my wrapper is faulty off at first
11:10:34  <txdv>what is the best way to get 1k ticks with an event loop like that?
11:21:34  * benjamingrjoined
11:23:16  * avalanche123joined
11:27:50  <txdv>https://lkml.org/lkml/2015/1/8/66
11:28:30  * avalanche123quit (Ping timeout: 264 seconds)
11:35:10  * SergeiRNDjoined
11:39:21  <txdv>looks like some dude from Red Hat called Fam Zheng is working on aio and epoll
11:39:34  * etnbrdjoined
11:43:23  <brucem>10 years late, but ...
11:45:24  <txdv>http://thread.gmane.org/gmane.linux.kernel.api/8250
11:49:42  <txdv>brucem: the aio stuff is really hard
11:49:50  <txdv>you need to know the entire file system code of linux
11:50:08  <txdv>but when it comes to that nano second timeout, i really wonder how noone else came up with that earlier
11:53:46  <txdv>he has only 3 commits in the mainline
11:53:57  <txdv>and there doesnt seem much interest in this
12:06:40  <txdv>brucem: linux will get aio support even if i have to write it alone
12:10:52  <jonaslund>hmmm
12:11:15  <jonaslund>uv_queue_work will schedule things into worker threads pretty much randomly ?
12:11:39  <txdv>the first one to call gets his stuff scheduled first
12:12:26  <jonaslund>i mean
12:12:59  <jonaslund>if i want ordering of events i'll be shooting myself in the foot by just calling uv_queue_work without anything additional
12:13:15  <txdv>what kind of ordering?
12:13:24  <txdv>First in First Out is a nice order for me
12:13:57  <jonaslund>yeah, but if uv_queue_work puts things into different threads it could schedule things quite randomly in terms of completion, right?
12:15:27  <jonaslund>(appending to a file, pondering on if the writes i send could end up landing in different orders)
12:15:48  <jonaslund>otoh, the return call (node) gets a position parameter so code should rely on that really
12:17:50  <txdv>i think it just executes one after the other
12:17:56  <txdv>in another thread
12:18:30  <txdv>o no
12:18:32  <txdv>it has 4 threads
12:18:59  <jonaslund>per default
12:19:00  <txdv>by default
12:19:07  <txdv>yeah, you can make it 1 and then it will be sequential
12:19:21  <txdv>otherwise you have to do some magic on your own
12:19:54  <jonaslund>well that part is ok
12:20:03  <jonaslund>i lock the file access itself
12:20:26  <jonaslund>just struck me as a potential bug in my code but then i realized that the code is written in a way that i shouldn't rely on ordering anyhow :)
12:21:50  <jonaslund>(since the after cb will report the position that i appended to and that is all that the caller should concern itself with)
12:34:26  * thlorenzjoined
12:36:20  * tarrudajoined
12:39:45  * thlorenzquit (Ping timeout: 276 seconds)
12:49:18  * lance|afkchanged nick to lanceball
12:59:26  * AlexisMochajoined
13:11:31  * tarrudaquit (Remote host closed the connection)
13:26:37  * thlorenzjoined
13:37:27  * kellabytejoined
13:44:01  * etnbrdquit (Quit: etnbrd)
13:46:50  * etnbrdjoined
14:08:23  * seishunquit (Read error: Connection reset by peer)
14:09:34  * MLMjoined
14:16:02  * seishunjoined
14:39:54  * AlexisMocha_joined
14:40:00  * AlexisMochaquit (Ping timeout: 276 seconds)
14:40:38  * Fishrock123joined
15:01:17  * SergeiRNDquit (Quit: Leaving.)
15:12:14  * importan_joined
15:19:52  * zjujoined
15:20:49  * rmgjoined
15:21:27  * avalanche123joined
15:23:25  * rmgquit (Remote host closed the connection)
15:23:37  * rmgjoined
15:26:02  * avalanche123quit (Ping timeout: 252 seconds)
15:27:09  * brsonjoined
15:28:34  <a_le>if i try and connect a unix domain socket to a path where no-one is listening, I don't get a connect callback with an error status. what could i be doing wrong?
15:37:30  * alexforsterjoined
16:04:43  * brsonquit (Quit: leaving)
16:04:48  * yunongquit
16:05:23  * Ralithquit (Ping timeout: 245 seconds)
16:07:01  * brsonjoined
16:07:07  * yunongjoined
16:08:22  * SergeiRNDjoined
16:14:20  * SergeiRNDquit (Quit: Leaving.)
16:15:28  * jgijoined
16:33:44  * etnbrdquit (Quit: etnbrd)
16:33:48  * qard_joined
16:43:21  * a_lequit (Remote host closed the connection)
16:46:30  * a_lejoined
16:48:30  * Fishrock123quit (Quit: Leaving...)
16:50:33  * avalanche123joined
16:55:29  * thlorenzquit (Remote host closed the connection)
16:56:16  * thlorenzjoined
16:57:52  * Ralithjoined
17:00:43  * thlorenzquit (Ping timeout: 255 seconds)
17:05:49  * thlorenzjoined
17:06:48  * thlorenz_joined
17:14:09  * seishunquit (Read error: Connection reset by peer)
17:23:06  * Fishrock123joined
17:45:18  * bajtosjoined
17:45:21  * bajtosquit (Client Quit)
17:50:40  * dap_joined
17:51:38  * dap_quit (Client Quit)
17:54:54  * dap_joined
18:08:44  * reqsharkjoined
18:10:04  * zju4joined
18:13:30  * zjuquit (Ping timeout: 264 seconds)
18:34:41  * thlorenzquit (Remote host closed the connection)
18:34:53  * thlorenz_quit (Remote host closed the connection)
18:35:22  * thlorenzjoined
18:35:29  * tarrudajoined
18:46:12  * SergeiRNDjoined
18:56:40  * SergeiRNDquit (Quit: Leaving.)
18:56:54  * SergeiRNDjoined
18:58:10  * avalanche123quit (Remote host closed the connection)
19:01:02  * avalanche123joined
19:07:18  * thlorenzquit (Remote host closed the connection)
19:08:24  * thlorenzjoined
19:09:37  * lanceballchanged nick to lance|afk
19:09:52  * tarrudaquit (Quit: WeeChat 1.0.1)
19:23:54  * SergeiRNDquit (Read error: Connection reset by peer)
19:35:31  * seishunjoined
19:36:48  * lance|afkchanged nick to lanceball
19:40:51  * rendarquit (Ping timeout: 250 seconds)
19:46:57  * rendarjoined
19:47:08  <saghul>txdv: sorry, i just read IRC, today was a looong day
20:07:21  * SergeiRNDjoined
20:09:54  * jgiquit (Ping timeout: 264 seconds)
20:15:09  * jgijoined
20:25:11  * dsantiag_joined
20:27:54  * dsantiagoquit (Ping timeout: 250 seconds)
20:33:12  * SergeiRNDquit (Quit: Leaving.)
20:44:17  * jgiquit (Read error: Connection reset by peer)
20:47:11  * jgijoined
20:57:42  * dainis_joined
20:59:22  * dainisquit (Ping timeout: 264 seconds)
21:06:20  * jgiquit (Quit: jgi)
21:14:38  * reqsharkquit (Quit: Be back later ...)
21:31:06  * reqsharkjoined
21:33:22  * seishunquit (Ping timeout: 244 seconds)
21:51:23  * a_lequit (Remote host closed the connection)
21:54:30  * kellabytequit (Quit: Connection closed for inactivity)
21:56:23  * jgijoined
21:58:40  * dsantiag_quit (Quit: Computer has gone to sleep.)
22:05:51  * toothrotjoined
22:07:18  * yunong_joined
22:08:18  * yunongquit (Ping timeout: 245 seconds)
22:17:49  * dsantiagojoined
22:25:31  <coderkevin>So, I just learned about the silver searcher this week... Where has this been all my life?
22:25:56  <coderkevin>https://github.com/ggreer/the_silver_searcher
22:34:49  * alexforsterquit
22:52:19  * a_lejoined
22:57:10  * a_lequit (Ping timeout: 256 seconds)
23:07:23  * rendarquit
23:24:43  * thlorenzquit (Remote host closed the connection)
23:29:17  * Fishrock123quit (Quit: Leaving...)
23:38:55  * Ralithquit (Ping timeout: 244 seconds)
23:39:37  * thlorenzjoined
23:44:29  * Ralithjoined
23:44:43  * brsonquit (Quit: leaving)
23:53:44  * inolenquit (Ping timeout: 250 seconds)
23:53:45  * inolen1joined