00:00:01  * ircretaryquit (Remote host closed the connection)
00:00:10  * ircretaryjoined
00:08:20  * brsonquit (Quit: leaving)
00:08:29  * brsonjoined
00:23:41  * rmgjoined
00:26:19  * avalanche123joined
00:28:34  * rmgquit (Ping timeout: 265 seconds)
00:30:42  * avalanche123quit (Ping timeout: 245 seconds)
00:57:47  * abraxas__joined
01:02:24  * abraxas__quit (Ping timeout: 265 seconds)
02:35:20  * warehouse13joined
02:37:03  * Left_Turnquit (Ping timeout: 244 seconds)
02:46:28  * abraxas__joined
02:50:45  * abraxas__quit (Ping timeout: 255 seconds)
02:50:45  * jas-quit (Ping timeout: 255 seconds)
02:57:23  * AlexisMochaquit (Ping timeout: 240 seconds)
02:59:50  * dshaw_joined
03:03:10  * bradleymeckjoined
03:07:33  * brsonquit (Remote host closed the connection)
03:20:33  * bradleymeckquit (Quit: bradleymeck)
03:42:17  * qard_quit (Quit: leaving)
04:04:33  * avalanche123joined
04:09:03  * avalanche123quit (Ping timeout: 255 seconds)
04:09:15  * warehouse13quit (Remote host closed the connection)
04:35:14  * abraxas__joined
04:40:20  * abraxas__quit (Ping timeout: 256 seconds)
05:02:13  * iarnaquit (Remote host closed the connection)
05:45:06  * dshaw_quit (Quit: Leaving.)
06:24:19  * abraxas__joined
06:29:08  * abraxas__quit (Ping timeout: 256 seconds)
06:37:10  * iarnajoined
07:43:24  * iarnaquit (Remote host closed the connection)
07:54:57  * avalanche123joined
07:59:53  * avalanche123quit (Ping timeout: 264 seconds)
08:12:55  * abraxas__joined
08:17:53  * abraxas__quit (Ping timeout: 265 seconds)
08:48:14  * rendarjoined
08:50:32  * janjongboomjoined
09:27:31  * stagasjoined
09:41:10  * davijoined
10:01:59  * abraxas__joined
10:06:44  * abraxas__quit (Ping timeout: 256 seconds)
10:30:38  * daviquit (Ping timeout: 264 seconds)
10:34:17  * hueniversequit (Ping timeout: 240 seconds)
10:43:53  * iarnajoined
10:47:57  * iarnaquit (Ping timeout: 240 seconds)
10:58:49  * am11quit
11:15:16  * bhughesquit (Ping timeout: 265 seconds)
11:17:09  * chris_99joined
11:18:25  * bhughesjoined
11:30:01  * Left_Turnjoined
11:31:42  * seishunjoined
11:38:49  * tarrudajoined
11:50:26  * abraxas__joined
11:55:17  * hayesquit (Ping timeout: 240 seconds)
11:55:23  * abraxas__quit (Ping timeout: 240 seconds)
12:00:21  * hayesjoined
12:06:44  * janjongboomquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
12:20:57  * seishunquit (Remote host closed the connection)
13:30:14  * davijoined
13:30:14  * daviquit (Changing host)
13:30:14  * davijoined
13:39:56  * abraxas__joined
13:40:21  * AlexisMochajoined
13:44:53  * abraxas__quit (Ping timeout: 272 seconds)
14:03:37  * daviquit (Ping timeout: 240 seconds)
14:05:17  * seishunjoined
14:07:04  * seishunquit (Client Quit)
14:07:44  * seishunjoined
14:08:07  * mauriyouthjoined
14:08:20  * seishunquit (Client Quit)
14:08:51  * seishunjoined
14:20:32  * kazuponjoined
14:26:50  * stagasquit (Ping timeout: 250 seconds)
14:56:33  * mauriyouthquit (Quit: mauriyouth)
15:18:46  * mauriyouthjoined
15:21:48  * rmgjoined
15:24:20  * mauriyouthquit (Quit: mauriyouth)
15:26:26  * rmgquit (Ping timeout: 264 seconds)
15:28:33  * abraxas__joined
15:33:04  * stagasjoined
15:33:38  * abraxas__quit (Ping timeout: 264 seconds)
15:36:17  * mauriyouthjoined
15:36:25  * mauriyouthquit (Client Quit)
15:45:48  * iarnajoined
15:46:55  * tarrudaquit (Quit: WeeChat 0.4.2)
15:49:04  * mauriyouthjoined
15:52:05  * mauriyouthquit (Client Quit)
16:02:37  * a_lejoined
16:07:05  * mauriyouthjoined
16:14:22  * iarnaquit (Read error: Connection reset by peer)
16:15:01  * iarnajoined
16:22:42  * mauriyouthquit (Quit: mauriyouth)
16:27:06  * lumo_ejoined
16:31:05  * AlexisMochaquit (Ping timeout: 264 seconds)
16:37:23  * AlexisMochajoined
16:58:27  * quijotejoined
17:17:29  * abraxas__joined
17:21:09  * Damn3dquit (Ping timeout: 265 seconds)
17:22:41  * abraxas__quit (Ping timeout: 264 seconds)
17:22:58  * dshaw_joined
17:23:50  * dshaw_quit (Client Quit)
17:24:54  * Damn3djoined
17:24:55  * Damn3dquit (Changing host)
17:24:55  * Damn3djoined
17:25:10  <lumo_e>hi
17:25:21  <lumo_e>I'm having problems with filesystem events
17:25:23  <lumo_e>http://pastebin.com/85HkhAf4
17:25:59  <lumo_e>when I start this executable on a single file
17:26:14  <lumo_e>only the first change triggers the callback
17:26:25  <lumo_e>after that nothing happens
17:26:36  <lumo_e>even if I modify the file again
18:03:57  * iarnaquit (Remote host closed the connection)
18:09:02  <indutny>lumo_e: how are you modifying file?
18:09:08  <indutny>have you tried `touch /path/to/file` from command line?
18:09:10  * kazuponquit (Remote host closed the connection)
18:09:28  <indutny>lumo_e: also, what OS are you using?
18:11:00  * kazuponjoined
18:15:46  * kazuponquit (Ping timeout: 256 seconds)
18:16:44  * iarnajoined
18:19:26  * quijote_joined
18:19:37  * quijotequit (Read error: Connection reset by peer)
18:21:26  * iarnaquit (Ping timeout: 256 seconds)
18:28:14  * quijote_quit (Ping timeout: 244 seconds)
18:39:43  * lumo_equit (Ping timeout: 255 seconds)
18:43:29  * quijotejoined
19:02:00  * quijotequit (Ping timeout: 258 seconds)
19:06:11  * abraxas__joined
19:11:06  * abraxas__quit (Ping timeout: 250 seconds)
19:14:00  * SergeiRNDjoined
19:22:15  * kuebkjoined
19:25:54  * thlorenzjoined
19:26:51  * rmgjoined
19:27:49  <thlorenz>indutny: hey are you there, maybe continue discussion over here?
19:27:59  <indutny>thlorenz: heya
19:28:04  <indutny>sure, but I'll flicker a bit
19:28:06  <thlorenz>so I had the idea to generate a dwarf file from callstack info
19:28:08  <indutny>having a dinner atm
19:28:20  <thlorenz>ok -np this isn't urgent :)
19:28:27  <indutny>you mean the .dSYM directory?
19:28:31  <thlorenz>basically
19:28:56  <indutny>ok
19:29:00  <thlorenz>i.e. I get Instruments .csv file with callstack info, then resolve the JS JIT symbols
19:29:18  * quijotejoined
19:29:18  <thlorenz>then I tell Instruments to include another dSYM file to load the missing symbols
19:29:30  <indutny>hm...
19:29:34  <indutny>should be possible, I guess
19:29:46  <thlorenz>I could easily generate the dwarf text, but not sure what the actual encoding is
19:29:50  <indutny>you want to know function names, not the contents of functions, right?
19:29:53  <thlorenz>dwarf isn't text :)
19:29:54  <thlorenz>yep
19:29:59  <indutny>if so - you don't really need dwarf stuff much
19:30:06  <indutny>not sure how Instruments consumes this
19:30:07  <indutny>but
19:30:10  <indutny>technically
19:30:14  <indutny>it is just a Mach-O or ELF symbols
19:30:22  <indutny>and they are not related to the DWARF format
19:30:29  <indutny>but I guess there is a way to encode it in DWARF too
19:30:32  * ijrothjoined
19:30:37  <indutny>though, I'm not that much familiar with it :)
19:30:44  <indutny>only used it to figure out unwinding stuff
19:30:50  <indutny>and variable placement in stack slots and registers
19:30:53  <indutny>not much than that
19:30:56  <thlorenz>ok thanks, will dig deeper
19:30:56  <indutny>CFA, you know
19:30:58  <indutny>bbiab
19:31:00  <indutny>np
19:31:28  <thlorenz>this all wouldn't be an issue if I could load a modified .csv file back into Instruments, but this seems to be not working ATM
19:31:31  * rmgquit (Ping timeout: 258 seconds)
19:31:58  <thlorenz>the feature exists, but is just not bringing up anything
19:33:51  * quijotequit (Ping timeout: 244 seconds)
19:35:17  * chris_99quit (Ping timeout: 240 seconds)
19:36:57  <thlorenz>ah nice googled a bit more: https://github.com/Distrotech/libdwarf/tree/distrotech-libdwarf/dwarfgen
19:37:32  * chris_99joined
20:04:12  * a_lequit (Remote host closed the connection)
20:04:33  * a_lejoined
20:04:36  * a_lequit (Remote host closed the connection)
20:09:43  * bhughes_quit (Quit: Textual IRC Client: www.textualapp.com)
20:10:56  * a_lejoined
20:14:06  * ijrothquit (Quit: Leaving.)
20:21:55  * a_lequit (Remote host closed the connection)
20:26:10  * lumo_ejoined
20:26:39  <lumo_e>indutny, still there?
20:26:51  <lumo_e>I've tried to edit the file from the cmd
20:26:59  <lumo_e>I'm using archlinux as guest inside a vm
20:27:06  * SergeiRNDquit (Quit: Leaving.)
20:29:11  <indutny>lumo_e: kind of
20:29:21  <indutny>lumo_e: is it a shared folder?
20:29:26  <indutny>guess it is a virtualbox
20:29:33  <indutny>there is a bug for this
20:29:40  <indutny>and it is not something that we could figure out
20:29:45  <indutny>merely a limitation of virtualbox
20:29:49  <indutny>thlorenz: nice
20:29:50  <lumo_e>well the file is not on a shared folder
20:29:56  <indutny>lumo_e: are you sure?
20:30:00  * quijotejoined
20:30:02  <lumo_e>yes
20:30:05  <indutny>ok
20:30:17  <indutny>so `touch /path/to/file.js` doesn't trigger change event?
20:30:45  <lumo_e>no well, everything works if I listen on the entire dir tree
20:30:55  <lumo_e>./a.out . for example works just fine
20:31:03  <lumo_e>the problem is only if I specifiy the precise file to monitor
20:31:48  <lumo_e>In that case as soon as the file is written, I don't get notifications anymore
20:32:02  <indutny>erm, you are not answering my question :)
20:32:11  <indutny>does `touch ...` trigger event or not?
20:32:29  <lumo_e>let my try, it should
20:34:07  <lumo_e>codes ./test .
20:34:07  <lumo_e>Adding watch on .
20:34:07  <lumo_e>Change detected(1) in .: renamed file.js
20:34:07  <lumo_e>Change detected(2) in .: changed file.js
20:34:22  <lumo_e>i used touch from another terminal
20:34:28  <lumo_e>and it works
20:34:32  <lumo_e>but if I try e.g.
20:34:36  <lumo_e>./test file.js
20:34:36  * quijotequit (Ping timeout: 256 seconds)
20:34:55  <indutny>lumo_e: and what does test?
20:34:57  <lumo_e>it stops working after "file.js" is written
20:35:18  <lumo_e>test is compiled from this: http://pastebin.com/85HkhAf4
20:35:29  <indutny>erm
20:35:34  <indutny>ah, I see
20:35:39  <indutny>well, very interesting
20:35:43  <indutny>are you using linux?
20:36:06  <indutny>could you please do `strace ./test file.js` and do a couple of `touch ` invocations from other terminal
20:36:09  <indutny>and paste output of strace
20:36:39  <lumo_e>yes
20:37:23  <indutny>thank you
20:37:31  <indutny>lumo_e: please fill this as a libuv issue
20:37:33  * avalanche123joined
20:37:35  <indutny>we'll figure it out later :)
20:37:39  <indutny>with all your information
20:37:54  <lumo_e>ok
20:38:19  <lumo_e>I was hoping I had been doing something wrong
20:40:16  <indutny>well, I have yet to figure it out
20:40:22  <indutny>so I can't say anything right now :)
20:41:57  * avalanche123quit (Ping timeout: 245 seconds)
20:49:31  <lumo_e>indutny, strace doesn't show anything funny, but I found something that maybe is more relevant
20:49:37  <lumo_e>I was editing the file using vim
20:49:57  <indutny>heh, well
20:50:00  <lumo_e>I tried again using nano and this doesn't happen
20:50:06  <indutny>yeah, vim sometimes doesn't save the file
20:50:12  <indutny>touch always changes the file, on other hand
20:50:16  <indutny>this is why I asked you to try touch
20:50:17  * rendarquit (Ping timeout: 240 seconds)
20:50:25  <lumo_e>I tried to touch after editing with vim
20:50:27  <lumo_e>still doesn't work
20:51:08  <lumo_e>also, there's another thing, when I save the file with vim I get two renamed notifications
20:51:18  <lumo_e>I thought they were false positives but maybe this is the actual reason
20:51:45  <lumo_e>vim does something strange, the file gets moved to a file with the same path
20:51:57  <lumo_e>and the fd opened by inotify isn't the same anymore
20:52:00  <lumo_e>could this be possible?
20:52:25  * a_lejoined
20:54:47  <lumo_e>uhm bingo
20:55:22  * abraxas__joined
20:55:52  <lumo_e>indutny, http://pastebin.com/eS1D66bv
20:55:58  <lumo_e>I modified the program
20:56:11  <lumo_e>now it adds another watcher as soon as the filed is somehow changed
20:56:45  <lumo_e>I get an infinite loop at some point, but changes are detected
20:56:54  * rendarjoined
20:57:23  * a_lequit (Ping timeout: 258 seconds)
20:59:53  * abraxas__quit (Ping timeout: 264 seconds)
21:15:23  * ijrothjoined
21:16:53  * thlorenzquit (Remote host closed the connection)
21:19:52  * thlorenzjoined
21:23:13  <indutny>lumo_e: mind providing strace output?
21:26:27  <lumo_e>indutny, http://pastebin.com/WHBeGgN1
21:26:41  <indutny>lumo_e: ok, could you please file this as a libuv issue on github?
21:27:14  <indutny>with the source of your ./test thing
21:27:19  <indutny>and platform details
21:27:22  <lumo_e>okay
21:27:23  <indutny>linux distro, kernel
21:27:25  <indutny>platform bits
21:27:27  <indutny>64/32
21:30:43  * quijotejoined
21:34:03  * rmgjoined
21:35:23  * quijotequit (Ping timeout: 265 seconds)
21:49:37  <lumo_e>indutny, https://github.com/joyent/libuv/issues/1585
21:49:41  <lumo_e>is something missing?
21:49:42  <indutny>thanks man
21:50:11  <indutny>erm
21:50:17  <indutny>vim is not really the correct test case, ok?
21:50:27  <indutny>it should work with just `touch` tool
21:50:36  <indutny>because it definitely changes the file
21:51:04  <indutny>perhaps vim is removing origina file
21:51:06  <indutny>original file
21:51:10  <indutny>and replacing it with a newly created file
21:51:15  <indutny>just to ensure that no data is lost
21:51:21  <indutny>in this case - you won't get notification
21:51:34  <indutny>ha, guess this is the cause of your issue, actually
21:51:38  <lumo_e>indeed
21:51:41  <indutny>just figured out
21:51:41  <indutny>sorry
21:51:42  <lumo_e>this is what I thought
21:51:53  <lumo_e>but I expect to get them anyway
21:52:19  <indutny>nope
21:52:23  <indutny>you won't get them
21:52:30  <indutny>the file does not exist anymore
21:52:37  <indutny>how could it change? :)
21:52:48  <indutny>the new file is another file and you hadn't asked libuv to watch it yet
21:53:01  <indutny>the fact that they have the same name doesn't mean that it is the same file
21:53:04  <indutny>in fact, it is a different inode
21:53:15  <indutny>I guess you may want to watch directory instead
21:53:20  <indutny>since vim is not touching them
21:53:33  <lumo_e>I know.. but this is a problem nonetheless
21:53:38  <indutny>well
21:53:44  <lumo_e>because I shouldn't care for the actual implementation
21:53:45  <lumo_e>uv_fs_event_start
21:53:45  <indutny>it is, sort of, by-design thing
21:53:51  <indutny>of all APIs
21:53:53  <indutny>of all platforms
21:53:57  <lumo_e>asks me for a path
21:54:01  <indutny>and libuv is basically and abstraction
21:54:01  <lumo_e>not for an actual file descriptor
21:54:04  <indutny>for a platform-specific API
21:54:05  <lumo_e>it should monitor that path
21:54:08  <indutny>not a high-level thing
21:54:13  <indutny>it monitors the "file"
21:54:15  <indutny>not the "path"
21:54:40  <lumo_e>then it should accept an handle to that file instead of the path
21:55:17  <indutny>this is a good idea
21:55:26  <indutny>sorry gtg
21:55:28  <indutny>time to sleep
21:55:32  <indutny>you may want to reopen the issue
21:55:37  <indutny>and file this information there
21:55:41  <indutny>thank you!
21:55:46  <lumo_e>bye thanks
22:04:27  * ijrothquit (Quit: Leaving.)
22:14:19  * a_lejoined
22:31:20  * quijotejoined
22:31:45  * brsonjoined
22:35:58  * quijotequit (Ping timeout: 255 seconds)
22:59:13  * rendarquit
23:02:25  * kuebkquit
23:03:18  * thlorenzquit (Remote host closed the connection)
23:09:43  * seishunquit (Ping timeout: 255 seconds)
23:19:57  * wolfeidauquit (Ping timeout: 272 seconds)
23:21:30  * wolfeidaujoined
23:24:52  * chris_99quit (Quit: Ex-Chat)
23:29:27  * mauriyouthjoined
23:32:12  * quijotejoined
23:36:44  * quijotequit (Ping timeout: 250 seconds)
23:46:34  * lumo_equit (Read error: Connection reset by peer)
23:55:42  * janjongboomjoined