00:02:45  <ryah>the contest started!
00:04:27  <ryah>DrPizza: is it possible to set node as the "startup project" automatically from gyp?
00:04:43  <DrPizza>I could not see a way, unfortunately
00:06:21  <ryah>bnoordhuis: so - we can set --use-uv default now
00:06:22  <CIA-75>node: Igor Zinkovsky master * r779c93c / (README.md vcbuild.bat generate-projects.bat): merge vcbuild.bat and generate_projects.bat - http://git.io/UvzGbw
00:06:22  <ryah>DrPizza: too bad
00:06:25  <ryah>igorzi: thanks
00:06:40  <DrPizza>ryah: yeah, it's a little annoying
00:06:55  <bnoordhuis>ryah: yep
00:09:50  * arlolraquit (Quit: Linkinus - http://linkinus.com)
00:24:09  * indutnyjoined
00:43:51  * brsonquit (Ping timeout: 252 seconds)
00:45:08  * johnm1234_joined
01:02:39  <DrPizza>igorzi: so at the moment, the fs stuff all works on int fds and does CRT operations in a thread pool?
01:03:52  * arlolrajoined
01:07:09  <igorzi>DrPizza: yep, precisely
01:09:45  <ryah>fuck https://github.com/joyent/node/issues/1592
01:10:07  <ryah>i knew i should have run another test on 2k3
01:10:15  <ryah>booting 2k3 now
01:15:54  <DrPizza>igorzi: have the relevant changes been made to node yet, or is it just uv at the moment?
01:16:06  <igorzi>DrPizza: just uv
01:16:50  <ryah>it works for me on win2k3
01:17:06  <DrPizza>yeah I don't get that error
01:17:20  <DrPizza>the only calls to CreateSymbolicLink are in eio.c, and they're stubbed out anyway
01:17:30  <DrPizza>it should never link against the function
01:17:49  * arlolraquit (Quit: Linkinus - http://linkinus.com)
01:19:07  <ryah>http://blog.nodejs.org/2011/08/26/node-v0-5-5/#comment-955
01:19:10  <ryah>^-- :)
01:19:19  * brsonjoined
01:19:33  <DrPizza>oh neat
01:20:26  <ryah>bnoordhuis: ping
01:20:33  <bnoordhuis>ryah: pong
01:20:46  <ryah>bnoordhuis: you need to do "make website-uplaod"
01:20:52  <ryah>bnoordhuis: to update the homepage
01:21:00  <bnoordhuis>okay, 1s
01:22:17  <DrPizza>ryah: huh odd, it is indeed importing CreateSymbolicLinkA
01:22:20  <igorzi>hmm, do we have WINVER defined somewhere?
01:22:20  <DrPizza>I just don't immediately see why
01:22:37  <igorzi>(that's what eio is checking)
01:22:41  <DrPizza>igorzi: I'm hoping we just use <sdkddkver.h>
01:22:46  <DrPizza>hmm
01:23:00  <ryah>yeah im getting the CreateSymbolicLinkA error too
01:23:07  <bnoordhuis>done
01:23:11  <ryah>bnoordhuis: thanks
01:23:23  <DrPizza>ohhhh
01:23:30  <DrPizza>the #define is BENEATH the calls
01:23:38  <DrPizza>how extraordinarily useful eio
01:23:40  <DrPizza>what a piece of shit
01:25:25  <DrPizza>ryah: so I guess two options, I can do a quick fix (LoadLibrary instead of load-time linking) or we can stop using eio and use igorzi's code
01:25:31  <DrPizza>I'm guessing using LoadLibrary is the better quick fix
01:27:38  <igorzi>DrPizza: even an easier fix: symlink is currently not used for windows, so just #ifdef _WIN32 it in eio.c
01:27:49  <DrPizza>oh is it not?
01:27:53  <DrPizza>yes that would be even easier
01:28:17  <DrPizza>igorzi: actually I'll just rip out the entire function body
01:28:27  <DrPizza>and leave it with the EIO_ERRNO(ENOENT, -1) line
01:28:48  <igorzi>https://github.com/igorzi/node/blob/master/src/node_file.cc#L397
01:29:31  <DrPizza>igorzi: although tbh we could remove the #ifdef POSIX there and instead defer to eio to do runtime detection
01:29:45  <DrPizza>whichever
01:29:51  <DrPizza>all the same
01:31:12  <igorzi>DrPizza: then you'll need to update some js code (i think there's some if(windows) js-land code for symlink as well)
01:31:14  <bnoordhuis>okay, off to bed and some casual reading
01:31:20  <bnoordhuis>have a great weekend, guys
01:31:25  <DrPizza>igorzi: oh huh
01:31:29  <DrPizza>igorzi: nothing's ever easy!
01:31:31  <igorzi>you too, bnoordhuis
01:31:56  <igorzi>DrPizza: probably easiest is to just #ifdef POSIX symlink
01:32:30  <igorzi>i'll bbl..
01:32:35  * graydonquit (Quit: Leaving.)
01:33:44  <ryah>bnoordhuis: bye
01:35:33  * bnoordhuisquit (Ping timeout: 240 seconds)
01:36:03  <DrPizza>oh annoying
01:37:17  <DrPizza>needs to be a uv fix not a node fix but uv is now way divergent thanks to igorzi's fs work
01:38:39  <DrPizza>ryah: what do we do here, I can give you a fix for node, but if you want to have a corresponding version of libuv then it'll need to be branched I guess
01:39:12  <DrPizza>ryah: anyway pretty sure this should fix 0.5.5 (can't test, no legacy machines here) https://github.com/joyent/node/pull/1593
01:55:28  <igorzi>DrPizza: this could just go into uv, and then integrate uv to node.. the fs work shouldn't do anything bad to node (node just won't use those new apis for a while)
01:55:59  <DrPizza>igorzi: yeah true, I'm just not sure if we want to run that risk *shrug*
02:00:02  * rmustaccpart
02:05:33  <igorzi>DrPizza: what about we just put _WIN32_WINNT into node.gyp? (similar to uv.gyp)
02:05:53  <igorzi>then the condition in eio.c should work
02:06:16  <DrPizza>igorzi: I'd rather keep _WIN32_WINNT current so that we don't need to manually write function signatures and stuff
02:06:19  <DrPizza>and structures
02:06:41  <DrPizza>I mean if we want to dynamic link any stuff, it's nice to have all the structure definitions etc. visible
02:08:19  <igorzi>yeah, but then we're not using it as it was intended, and then we have issues like these
02:09:35  <DrPizza>*shrug*
02:09:55  <DrPizza>given the way the win32 headers are, you're causing pain for yourself if you set _win32_winnt to the earliest version you want to support
02:10:00  <DrPizza>because you don't just lose the function signatures
02:10:05  <DrPizza>you lose structures and #defines too
02:11:16  <igorzi>DrPizza: right, i get that.. we just need to be careful to what we link to then.. doing it through _WIN32_WINNT flags it at compile time rather than after the release :)
02:11:23  <DrPizza>true
02:11:38  <DrPizza>but so does running the tests on the target platform before releasing
02:11:44  <DrPizza>and I feel that's probably the more robust strategy
02:11:45  <igorzi>true :)
02:16:02  <DrPizza>igorzi: how about stick with <sdkddkver.h> for the time being and if we find it's still too easy to screw up in the future, then we set _WIN32_WINNT manually
02:17:09  <igorzi>DrPizza: yep, that's fine
02:28:24  <DrPizza>ughghgh
02:28:34  <DrPizza>I wish filesystems gave direct access to extents
02:29:07  <DrPizza>so sad that adding metadata to some 500 MBfiles requires the entire files to be rewritten from start to finish
02:35:25  * brsonquit (Ping timeout: 260 seconds)
02:49:50  <ryah>DrPizza: thanks
02:49:55  <ryah>very busy here
02:55:48  <CIA-75>node: Peter Bright master * r186364e / deps/uv/src/eio/eio.c :
02:55:49  <CIA-75>node: Don't load-time link against CreateSymbolicLink, it doesn't exist on Windows Server 2003.
02:55:49  <CIA-75>node: Fixes #1592. - http://git.io/Sq2RTQ
02:58:57  <DrPizza>ryah: you'd better double check if you have a 2003 system around, I do not
03:07:19  * isaacsquit (Quit: isaacs)
03:09:16  * isaacsjoined
03:16:10  <ryah>DrPizza: i did
03:16:30  <DrPizza>ok cool
03:17:20  <ryah>i uploaded a modified .exe
03:29:08  * arlolrajoined
04:43:35  <CIA-75>libuv: Igor Zinkovsky master * r3ea037c / src/win/fs.c : windows: free fs arguments inside uv_fs_req_cleanup - http://git.io/_mF5DA
04:45:52  * arlolraquit (Quit: Linkinus - http://linkinus.com)
04:49:32  * isaacsquit (Quit: isaacs)
04:54:30  <CIA-75>libuv: Igor Zinkovsky master * r3a374ca / include/uv.h : add missing values to uv_fs_type - http://git.io/jHUVxQ
08:35:32  * piscisaureusjoined
09:00:40  * mralephjoined
09:15:58  * piscisaureusquit (Ping timeout: 245 seconds)
13:46:23  * robarnoldquit (Read error: Connection reset by peer)
15:35:29  * piscisaureusjoined
15:53:54  * piscisaureusquit (Ping timeout: 276 seconds)
16:55:57  * piscisaureusjoined
17:02:38  * piscisaureusquit (Ping timeout: 245 seconds)
17:21:07  * piscisaureusjoined
17:23:01  * arlolrajoined
17:28:53  * piscisaureusquit (Quit: ~ Trillian Astra - www.trillian.im ~)
17:31:27  * piscisaureusjoined
17:47:45  * isaacsjoined
17:53:13  * piscisaureus_joined
17:55:17  * piscisaureusquit (Ping timeout: 252 seconds)
19:02:33  * piscisaureus_quit (Ping timeout: 240 seconds)
19:37:02  * isaacsquit (Quit: isaacs)
19:55:26  * arlolraquit (Quit: Linkinus - http://linkinus.com)
20:09:42  * brsonjoined
20:23:53  * isaacsjoined
20:42:50  <igorzi>ryah: it would be good to also put node.pdb (debug symbols) next to node.exe on http://nodejs.org/dist/v0.5.5/
20:59:55  <CIA-75>libuv: Igor Zinkovsky master * r925564e / src/win/fs.c : windows: improve error handling for fs functions - http://git.io/Ya0Z1g
21:11:35  * arlolrajoined
21:34:50  <ryah>igorzi: how do people use that?
21:35:07  <ryah>igorzi: how do i generate that?
21:55:50  <ryah>igorzi: nevermind - figured it out
21:56:12  <DrPizza>gets generated automatically
21:56:21  <DrPizza>generally they putthe pdb nextto the .exe I think
21:56:24  <DrPizza>it should getfoundthere
21:56:29  <DrPizza>although tbh
21:56:33  <DrPizza>for an open source projcet
21:56:35  <DrPizza>it's not sucha big deal
21:57:40  <ryah>i updated http://nodejs.org/dist/v0.5.5/
22:09:13  * mralephquit (Quit: Leaving.)
22:15:32  <igorzi>ryah: great! this will enable people to create better bug reports (stack traces)
22:16:15  <igorzi>also, if someone just wants to debug node.exe (without building), they can just download sources and start debugging
22:50:57  * isaacsquit (Quit: isaacs)
23:33:24  * isaacsjoined