[00:04] kenperkins: has anyone seen this vefore: method = ontimeoutnode: ../src/node.cc:951: void node::MakeCallback(v8::Handle, const char*, int, v8::Handle*): Assertion `callback_v->IsFunction()' failed. [00:04] eb4890 has joined the channel [00:05] Wizek has joined the channel [00:06] tshpaper has joined the channel [00:09] hij1nx has joined the channel [00:10] k1ttty has joined the channel [00:10] devdazed has joined the channel [00:10] perezd: sh1mmer: so, even if I don't process.kill anything, node does it anyway on a SIGINT [00:11] mmalecki_ has joined the channel [00:11] perezd: something is fucked up with SIGINT [00:12] mmalecki has joined the channel [00:13] perezd: yeah, its SIGINT [00:13] jaitaiwan has joined the channel [00:13] perezd: not sure why [00:13] sh1mmer: perezd: it has a default behavior [00:13] perezd: I removed it [00:13] sh1mmer: you can override it [00:13] perezd: process.removeAllListeners('SIGINT') [00:14] perezd: that should stop it [00:15] salva has left the channel [00:16] Agos has joined the channel [00:17] memcap has joined the channel [00:18] makeInstallBot has joined the channel [00:18] xeodox has joined the channel [00:18] xeodox: Is anyone here familiar with using the "request" module? [00:20] CIA-109: node: 03Ben Noordhuis 07isolates * rd496d52 10/ src/node_internals.h : internals: add BUILD_BUG_ON and DISALLOW_* macros - http://git.io/KWZIsQ [00:20] CIA-109: node: 03Ben Noordhuis 07isolates * r0a0322a 10/ src/node_atomic.h : atomic: add atomic operations utility classes - http://git.io/Hp8cUQ [00:20] CIA-109: node: 03Ben Noordhuis 07isolates * r6228172 10/ src/node.cc : isolates: make main thread reap subordinate threads - http://git.io/dyu8yQ [00:20] darkenco has joined the channel [00:22] Marak has joined the channel [00:22] jergason_school has joined the channel [00:22] Marak: yo ryah pquerna , not sure if you guys saw the tweet. i just realized we have 500+ rackspace servers right now running node in production [00:22] Marak: :-D [00:23] memcap: Hello. How do I convert (or write) a Buffer that is already in memory to a Stream? All the examples I've seen refer to a file on disk using fs.createReadStream. Thanks for your time... [00:23] domino14 has joined the channel [00:24] domino14: 'a really long name lol !!!!'.replace(' ', '+') —— how do i replace all the spaces with + and not just the first one" [00:24] Lingerance: memcap: stream.write(...) [00:24] domino14: ? [00:24] domino14: > 'a really long name lol !!!!'.replace(' ', '+') [00:24] Marak: .replace(/ /g, '+') [00:24] bnoordhuis: memcap: are you looking for fs.createWriteStream()? [00:24] domino14: why doesnt the other work [00:24] Marak: domino14: regex is hard [00:24] Lingerance: Because it's not a global regex [00:25] dgathright has joined the channel [00:25] baudehlo has left the channel [00:32] mcluskydodallas has joined the channel [00:34] willwhite has joined the channel [00:34] replore_ has joined the channel [00:34] replore has joined the channel [00:34] mraleph1 has joined the channel [00:35] xeodox: Anyone here familiar with "request" module? [00:35] stagas has joined the channel [00:35] asoltys has joined the channel [00:36] davidbanham: I'm using felix's node-mysql and it's great. I keep running into issues, though, because I want my callback to know what values were passed into the query in order to generate that result. There doesn't seem to be any way to make the values array available to the callback, though. [00:36] bnoordhuis: xeodox: i hear this mikeal guy sometimes uses it [00:36] xeodox: bnoordhuis: -.- [00:37] maxogden: first rule of irc: never ask to ask [00:37] xeodox: How come using the Node.js “request” module, when I download a file using GET, the mime-type is application/octet-stream even when it's supposed to be JPG? [00:38] colinclark has joined the channel [00:38] fzzzy has joined the channel [00:38] mmalecki: bnoordhuis: LIES [00:39] maxogden: xeodox: if you do curl -v yourimageurl.jpeg does it out put content-type: image/jpeg in the response headers? [00:39] brianloveswords has joined the channel [00:40] hostsamurai has joined the channel [00:40] xeodox: maxogden: yes [00:40] mraleph has joined the channel [00:40] xeodox: However, i'm not looking at the content-type. [00:41] xeodox: Snipplet here: http://stackoverflow.com/questions/8482769/how-come-using-the-node-js-request-module-when-i-download-a-file-the-mime-ty [00:41] sechrist has joined the channel [00:43] maxogden: xeodox: oh i see. maybe this is the culprit https://github.com/mikeal/request#L141 [00:43] maxogden: wait github messed up the url, https://github.com/mikeal/request/blob/master/mimetypes.js#L141 [00:43] sechrist_ has joined the channel [00:43] mikeal: that's if the extension doesn't match [00:43] mikeal: on a file [00:43] mikeal: but only on a file [00:44] xeodox: oh hi mikeal haha [00:44] mikeal: if you're pipeing a request to another request it'll keep the content-type from the response header [00:44] Brandon_ has joined the channel [00:44] mikeal: xeodox: what do you mean by "download" [00:44] mikeal: ? [00:45] xeodox: mikeal: I just want to download a JPG from a uri, and then save it to a file (using node.js) [00:45] Brandon_: Hey guys [00:45] Brandon_: textmate 2 has been released candiated [00:45] xeodox: I thought of using "request" module for doing that. Code here: http://bit.ly/sdeCTm [00:45] Brandon_: is it better than st 2? [00:45] mikeal: request(url).pipe(fs.createWriteStream('file.png')) [00:45] mikeal: content type doesn't matter [00:45] galaxywatcher has joined the channel [00:45] xeodox: ohhh I see [00:45] xeodox: 1 sec, trying :) [00:46] tonymilne: does he need encoding: 'binary' in there? [00:46] maxogden: mikeal: did you see this bug btw https://github.com/mikeal/request/issues/129 [00:46] mikeal: no [00:46] mikeal: no encoding when streaming [00:46] madhums has joined the channel [00:46] meandi2 has joined the channel [00:47] tonymilne: mikeal but if he used request.get( … - he would need to use encoding? [00:47] tonymilne: (asking because i've done the same thing with your module!) hehe. [00:48] mikeal: no [00:48] mikeal: you only use encoding if you're passing a callback [00:48] mikeal: and you want the "body" option to be encoded [00:48] mikeal: if you're streaming to a file encoding doesn't matter [00:49] mikeal: you're going to take bytes straight from one file descriptor to another, so just write the buffers as is [00:49] fairwinds has joined the channel [00:50] brianseeders has joined the channel [00:50] tonymilne: ah,ok - yeah i pass a callback. [00:50] TooTallNate: does anyone know of like a windows native module build-server kind of project [00:50] maxogden: mikeal: i "Cannot resume() closed Socket." on the second example from https://github.com/mikeal/request/issues/129. seems like a bug due to the 302 [00:50] TooTallNate: that anyone is building? [00:50] mikeal: i think i saw that ones [00:50] mikeal: er once [00:50] TooTallNate: isaacs seems like something that would fit well into npm ^ [00:51] maxogden: mikeal: using current npm request, is master newer? [00:51] tonymilne has joined the channel [00:51] xeodox: mikeal: how do I know when the file is completely written (callback) ? is it "request.on('end',function(){} )" [00:51] isaacs: TooTallNate: yeah, it would :) [00:51] isaacs: TooTallNate: i'm not working on that. someone else might be [00:51] TooTallNate: ok [00:51] mikeal: xeodox: if you're writing to the filesystem you want to know what the filesystem writing is done [00:52] xeodox: er….writeStrea.on('end') right? [00:52] mikeal: 'close" [00:52] mikeal: that means it's been flushed [00:52] jetienne has joined the channel [00:53] xeodox: ahh ok, thanks [00:55] jhurliman has joined the channel [00:57] neilk_ has joined the channel [00:58] jozefdransfield has joined the channel [01:00] memcap: Thanks for the info Lingerance: and bnoordhuis: I'm still trying to figure out a solution. I have a Buffer (a JPG) in memory and I would like to convert it to a stream - so that I can pass a readable stream object as a parameter to another module. Any way to do this without reading/writing to the file system? This is likely a gap in my understanding of streams... A pointer to sample code would be great. Regards. [01:01] Brandon_: hey issacs ] [01:01] Brandon_: nice being witty on the webos github page lol [01:01] Brandon_: wasn't very professional but funny lol [01:02] maxogden: memcap: how did you get the jpg into a buffer in the first place? [01:02] memcap: maxogden: It was given to my code via an IMAP module. [01:03] maxogden: memcap: im guessing the imap module isnt streaming? [01:03] omenar has joined the channel [01:03] freewil has joined the channel [01:04] memcap: maxogden: I wind up with a Buffer. If I look at a lower level in the code I'm sure there is a stream... [01:04] dgathright_ has joined the channel [01:04] memcap: maxogden: I believe I get an email message as a stream, including the attachments (the JPG, in this case), and then a mail parser gives me a buffer. [01:05] maxogden: memcap: ideally you could just accept a stream from the imap client and pass it to your other module but that is dependent on the imap library [01:05] maxogden: memcap: you might find this useful https://github.com/maxogden/haraka-couchdb/blob/master/plugins/couchdb.js [01:06] maxogden: memcap: oh wait i was doing Buffer => base64 str in that one [01:06] mike5w3c has joined the channel [01:06] jozefdransfield: anyone know why a node process run from an child_process.exec can't find any the js files it is passed as an argument? [01:06] dominictarr has joined the channel [01:06] maxogden: memcap: havent used it but http://search.npmjs.org/#/bufferstream might do what you want [01:06] memcap: maxogden: I can def look into using the stream directly. It would be nice to convert buffers to streams. Looking at your links. thanks. [01:07] juske has joined the channel [01:07] dshaw_ has joined the channel [01:07] juske has joined the channel [01:08] hij1nx has joined the channel [01:09] dominictarr has left the channel [01:09] jozefdransfield has left the channel [01:09] JesusRosso: Hi, could be that npm is using a new version of python? I'm getting this error in my ubuntu LTS server: 'NoneType' object has no attribute 'copy' [01:09] jozefdransfield has joined the channel [01:09] JesusRosso: this is my version Python 2.6.5 [01:10] ag4ve_ has joined the channel [01:10] Brandon_: lpp [01:11] juske has joined the channel [01:14] jozefdransfield has left the channel [01:14] c4milo1 has joined the channel [01:15] rauchg has joined the channel [01:16] djbell has joined the channel [01:17] kazupon has joined the channel [01:19] corpix has joined the channel [01:21] mikeric has joined the channel [01:22] mikeric has joined the channel [01:22] hij1nx has joined the channel [01:23] firephoenix has joined the channel [01:23] jergason has joined the channel [01:24] ccallahan has left the channel [01:26] mnutt has joined the channel [01:28] sechrist has joined the channel [01:28] Sorella has joined the channel [01:28] k1ttty has joined the channel [01:28] firephoenix has joined the channel [01:29] abraxas has joined the channel [01:30] sechrist_ has joined the channel [01:31] k1ttty_ has joined the channel [01:34] neoesque has joined the channel [01:36] reid has joined the channel [01:36] isaacs: JasonSmith: Hey, does follow really need to be stuck to request 2.2.5? [01:37] isaacs: JasonSmith: any reason why that's not ~2.2.5? [01:38] Emmanuel` has joined the channel [01:38] TN has joined the channel [01:38] rchavik has joined the channel [01:40] sechrist has joined the channel [01:41] EyePulp has joined the channel [01:42] ditesh|cassini has joined the channel [01:44] Emmanuel` has joined the channel [01:45] willwhite has joined the channel [01:45] gavin_huang has joined the channel [01:46] icewhite has joined the channel [01:49] avih has joined the channel [01:50] spathi has joined the channel [01:51] jocafa has joined the channel [01:53] scott_gonzalez has joined the channel [01:54] sorensen__ has joined the channel [01:54] tonymilne has joined the channel [01:56] jaequery has joined the channel [01:58] bradleymeck has joined the channel [02:00] Aria has joined the channel [02:00] sechrist_ has joined the channel [02:02] mandric has joined the channel [02:03] BojanBG has joined the channel [02:04] BojanBG: Hi, I have a question: I have a custom Websocket server, written in JAVA, and I want to use socket.io just as a client side wrapper for websockets, is that possible? [02:08] jskulski has joined the channel [02:10] isaacs: ack. shit. well, apparently that readme publishign thing only applied to packages that were published forthe first time using later versions of npm. [02:10] isaacs: anything that had already been published wouldn't have it. [02:11] dshaw_ has joined the channel [02:12] ceej has joined the channel [02:13] mmalecki: isaacs: mikeal said that he'd run some script over the registry [02:14] isaacs: mmalecki: yeah, but that should just be to catch up. [02:14] isaacs: mmalecki: that script'll be slow. [02:14] mmalecki: isaacs: slow is way too nice here [02:15] wtfizzle has joined the channel [02:15] wtfizzle has left the channel [02:16] wtfizzle has joined the channel [02:16] abraxas: Any module developers here have good suggestions Markdown file preview before pushing stuff onto github? I'm getting really tired of my vim md-syntax highlighter disagreeing with github on what constitutes correct Markdown [02:18] mmalecki: abraxas: chjj's marked [02:18] BonusWare has joined the channel [02:18] mmalecki: abraxas: https://github.com/chjj/marked/tree/gfm [02:18] __tosh has joined the channel [02:19] abraxas: mmalecki: thanks, i'll check it out [02:19] c4milo1 has joined the channel [02:19] c4milo1 has joined the channel [02:20] c4milo1 has joined the channel [02:20] c4milo1 has joined the channel [02:20] c4milo1 has joined the channel [02:20] c4milo1 has joined the channel [02:20] c4milo1 has joined the channel [02:20] c4milo2 has joined the channel [02:21] c4milo1 has joined the channel [02:21] skm has joined the channel [02:21] c4milo1 has joined the channel [02:21] c4milo1 has joined the channel [02:22] Aria: the github flavored markdown library [02:22] c4milo1 has joined the channel [02:22] c4milo1 has joined the channel [02:22] c4milo1 has joined the channel [02:22] c4milo1 has joined the channel [02:22] ChaoWang has joined the channel [02:23] c4milo1 has joined the channel [02:23] abraxas: Aria: is that what marked is? :) and does that include javascript syntax highlighting when i do ``` javascript? [02:23] c4milo1 has joined the channel [02:23] c4milo1 has joined the channel [02:23] jaitaiwan has joined the channel [02:23] c4milo1 has joined the channel [02:26] Aria: I've no idea what dialect marked uses, though chjj seems to produce great stuff. Github flavored is a ruby library written by github. [02:27] AaronMT has joined the channel [02:28] abraxas: github thinks that ``` javascript \n\n ``` is a great way to highlight JS, but my vim syntax highlighter thinks that is clearly wrong. [02:29] a_suenami has joined the channel [02:29] abraxas: equally, when in vim i write a bullet list using dashes instead of asterisks, it always highlights fine, but github seems to require a whiteline before the bullet list. [02:29] abraxas: nice and consistent [02:29] nick has joined the channel [02:29] abraxas: is the github one opensourced? [02:30] BonusWare: got anyone fs.symlink working on windows with directories? [02:30] JasonSmith: isaacs: I got burned depending on request "*" so now I'm oversteering [02:30] JasonSmith: I'll push an update [02:30] JasonSmith: I'm using it for static+ anyway [02:31] nickp: anyone know a good node library for simple string functions like 'capitalize'? [02:33] jtsnow has joined the channel [02:34] jaitaiwan_ has joined the channel [02:36] darkenco has joined the channel [02:38] maxogden: nickp: theres a String extension to underscore.js floating around [02:38] zanefactory has joined the channel [02:38] nickp: maxogden: thx [02:39] githogori has joined the channel [02:40] sarlalian1 has joined the channel [02:41] jimubao has joined the channel [02:42] benlyn has joined the channel [02:44] dwhittle has joined the channel [02:47] JasonSmith: isaacs: yeah, no I just fixed that strict package dependency you mentioned, and minor logging fixes [02:47] isaacs: nice [02:47] JasonSmith: isaacs: I'm seeking advice for this kanso issue [02:47] isaacs: i have not looked into it [02:48] JasonSmith: I think it has the express problem where there are plugins that aren't a good fit for dependencies [02:48] tilgovi has joined the channel [02:48] tilgovi has joined the channel [02:48] BonusWare: anyone around who can reopen https://github.com/joyent/node/issues/2274 ? [02:48] mikeric has joined the channel [02:48] JasonSmith: isaacs: The only question I wanted to ask you is, currently, packages do a lot of require("kanso/foo"), but it sucks to put all the public API at the top-level, because Kanso is a complex project doing many things [02:49] isaacs: JasonSmith: yeah. they need to not do that, or do require("kanso/lib/foo") [02:49] JasonSmith: package.json has a "main" field so I can put my entry point anywhere in the project [02:49] isaacs: yeah. [02:49] isaacs: we're not going to ressurrect the "modules" hash or the "lib" directory, if that's where you're going. [02:49] isaacs: been there. it is dumb. [02:49] aroman has joined the channel [02:49] isaacs: for what? to save a few ../blah or require("foo/lib/bar"? [02:49] isaacs: not worth it. [02:49] aroman: Aria: you win an internet [02:50] isaacs: Aria: Github-flavored-markdown, the npm package, is a js thing that the github folks ported from showdown [02:50] mikeric_ has joined the channel [02:50] isaacs: and then i ported to npm [02:51] isaacs: JasonSmith: but, if Kanso can export the thing that all the things hang on, and then do require("kanso").foo, then that's highly flexible and can be lovely. [02:51] JasonSmith: isaacs: Your ideas are intriguing to me and I wish to subscribe to your newsletter [02:51] wbednarski has joined the channel [02:51] isaacs: JasonSmith: :) [02:51] aroman: Aria: I've been working on my parsing stuff, and somehow I decided I would be cool and try it with regular old jsdom and htmlparse. Well, it worked for one page but completely failed at another task. Then I switched to HTML5 and "it just works". Thanks :) [02:51] JasonSmith: isaacs: Yeah that is what I will try to encourage [02:51] JasonSmith: thanks much! [02:51] isaacs: JasonSmith: np. [02:52] isaacs: JasonSmith: Here's the thing that was the nail in the coffin, ultimately: [02:52] isaacs: JasonSmith: it's not that important that you know what your code does. you wrote it. you know what it does. saving an insignificant amount of esthetic pain on your part is of very limited value. [02:52] isaacs: JasonSmith: on the other hand, this whole magic lib dir, or modules nested, but not nested using the actual paths, makes it much harder for any new contributors to know wth is going on. [02:52] JasonSmith: yeah, he already merged my fixes for inter-package requires [02:53] JasonSmith: yeah, also it seems like you could totally confuse node. Baiscally you're talking about doing the same thing as require.paths [02:53] isaacs: JasonSmith: yeah, sort of [02:53] isaacs: JasonSmith: in the end, we decided "main" is nice, so you can treat the package as one "thing". but beyond that? it's a folder. you want submodules? they're files. have fun. [02:54] JasonSmith: as-is, kanso sets $NODE_PATH and I'm trying to move it to 100% going with the NPM grain, which I am calling "the Catholic experience" [02:54] isaacs: this is super duper obvious. [02:54] isaacs: hahah [02:54] devongovett has joined the channel [02:54] isaacs: you don't have to kneel or anything [02:54] pradeebv has joined the channel [02:54] perezd_ has joined the channel [02:54] JasonSmith: The other day I realized that NPM is itself one of Node's strongest selling points. Or maybe not NPM, but the inverted approach. No, global packages are bad! Local are good. Trust me. [02:55] isaacs: yep [02:55] isaacs: that's why with 1.0, i opted to not even put them in /usr/local/lib/node [02:55] JasonSmith: Crystal. Clarity/ [02:55] mikeric has joined the channel [02:55] isaacs: they are not for require() [02:55] JasonSmith: That is how I feel every time I want to think about how these modules are working together [02:55] isaacs: they are for command line utils and npm link, since that has to live *somewhere* [02:55] JasonSmith: yeah [02:56] scott_gonzalez has joined the channel [02:56] JasonSmith: I have never, ever, felt total clarity when thinking about Perl, Python, or Ruby modules [02:56] isaacs: yeah [02:56] sechrist has joined the channel [02:56] isaacs: in php, it was usually kind of nice, since the "magic" ways of doing it were so obscure and obnoxious. [02:56] isaacs: so you always just end up bundling everything in your app out of necessity [02:57] isaacs: there's no ecosystem there, really. (well, pear, but i mean, really.) [02:57] c4milo1 has joined the channel [02:58] c4milo1 has joined the channel [02:58] c4milo1 has joined the channel [02:58] c4milo1 has joined the channel [02:58] kriszyp4 has joined the channel [02:58] c4milo1 has joined the channel [03:01] spathi has joined the channel [03:02] boehm has joined the channel [03:04] triptec: I always liked ruby gems [03:04] codygray has joined the channel [03:05] davidbanham has joined the channel [03:05] langworthy has joined the channel [03:07] torm3nt has joined the channel [03:07] wilmoore has joined the channel [03:08] devongovett_ has joined the channel [03:08] sechrist has joined the channel [03:10] codygray has joined the channel [03:10] Glendon has joined the channel [03:10] CIA-109: libuv: 03Igor Zinkovsky 07v0.6 * ra4c8ffa 10/ src/win/pipe.c : windows: correctly check the result of malloc - http://git.io/ydAAsw [03:11] sechrist has joined the channel [03:11] davidban_ has joined the channel [03:12] jtgiri_ has joined the channel [03:13] towski has joined the channel [03:17] JasonSmith: yeah, an un-ecosystem [03:17] sechrist has joined the channel [03:19] Aria: aroman: You're welcome! [03:21] brianloveswords has joined the channel [03:21] aroman1 has joined the channel [03:22] meandi has joined the channel [03:22] aroman has joined the channel [03:22] codygray has joined the channel [03:23] domino141 has joined the channel [03:25] domino141 has left the channel [03:25] aroman: Aria: one thing though. my console logs all sorts of nasty javascript errors, which I presume are being run from the page's DOM. Can I either suppress these messages, or suppress DOM script execution? [03:28] Aria: That's a JSDOM thing. I imagine the short answer is "Yes, hack it to have a different console.log" [03:28] smathy has joined the channel [03:29] Aria: And I think there's a mode to not run scripts. I fully intend to support that better when I implement some of the craziest bits of the parsing (document.write) [03:29] Aria: But I've not looked. tmpvar is the person to ask. [03:29] harthur has joined the channel [03:30] dgathright has joined the channel [03:30] dr0id has joined the channel [03:30] aroman: Aria: alright, thanks for the info. [03:31] sarlalian has joined the channel [03:32] jergason_school has joined the channel [03:36] bartt1 has joined the channel [03:37] tonymilne has left the channel [03:38] hij1nx has joined the channel [03:40] jimt_ has joined the channel [03:41] binaryjohn_ has joined the channel [03:41] c4milo1 has joined the channel [03:41] JakeyChan has joined the channel [03:42] devongovett has joined the channel [03:43] josephg has joined the channel [03:45] kmiyashiro has joined the channel [03:46] brianc1 has joined the channel [03:49] boltR has joined the channel [03:55] aroman has left the channel [03:55] r04r has joined the channel [03:58] brianc1 has joined the channel [03:59] icewhite has joined the channel [04:00] secoif has joined the channel [04:00] r04r has joined the channel [04:00] secoif has joined the channel [04:02] issackelly_ has joined the channel [04:03] mansoor has joined the channel [04:05] r04r has joined the channel [04:05] wilmoore has joined the channel [04:05] jimt has joined the channel [04:06] madhums has joined the channel [04:07] tommyvyo has joined the channel [04:09] cafesofie has joined the channel [04:10] r04r has joined the channel [04:11] sh1mmer has joined the channel [04:15] r04r has joined the channel [04:15] brianloveswords has joined the channel [04:17] amigojapan has joined the channel [04:18] IrishGringo has joined the channel [04:18] marcello3d has joined the channel [04:18] amigojapan has joined the channel [04:19] mikeric has joined the channel [04:20] r04r has joined the channel [04:23] jakehow has joined the channel [04:24] r04r has joined the channel [04:24] r04r has joined the channel [04:25] secoif_ has joined the channel [04:26] brianc1 has joined the channel [04:27] sarlalian has joined the channel [04:27] dgathright has joined the channel [04:28] Sample has joined the channel [04:28] Sample has joined the channel [04:28] kazupon has joined the channel [04:29] r04r has joined the channel [04:30] k1ttty has joined the channel [04:31] PyroPete1 has joined the channel [04:32] kevinswiber has joined the channel [04:33] secoif_: got it, wasn't using ./configure [04:33] Skaag has joined the channel [04:33] redir_ has joined the channel [04:34] r04r has joined the channel [04:37] mansoor: ACTION regrets not writing tests from the beginning and not looking forward to writing tests :( [04:39] r04r has joined the channel [04:41] ag4ve_ has joined the channel [04:42] towski has joined the channel [04:43] benvie: http://bbenvie.com/lab/domjs/ there's some DOM action [04:44] wiwillia has joined the channel [04:44] r04r has joined the channel [04:45] lorfds has joined the channel [04:45] lorfds: best mysql driver for node.js? [04:45] sarlalian: npm install mysql :) [04:48] joestein has joined the channel [04:49] r04r has joined the channel [04:52] Xiphias3 has joined the channel [04:54] r04r has joined the channel [04:54] xeodox: In the "request" module, is there a way to get the response code without downloading the webpage? (method GET) [04:56] Me1000 has joined the channel [04:58] jeremycw has joined the channel [04:59] patcito_ has joined the channel [05:00] mansoor: xeodox: does it allow you to use HEAD? if so thats what you want, if the server honors it, then you should only get the headers [05:01] xeodox: I don't know if that module has HEAD , let me check [05:01] xeodox: ahh I see, I think it does [05:02] codygray has joined the channel [05:02] mbrevoort has joined the channel [05:03] matt4447 has joined the channel [05:03] merlin83 has joined the channel [05:04] jtsnow has joined the channel [05:04] admc has joined the channel [05:04] ben_alman has joined the channel [05:08] RORgasm_ has joined the channel [05:09] madhums has joined the channel [05:09] boltR has joined the channel [05:09] jeremycw has left the channel [05:11] EyePulp has joined the channel [05:22] N0va` has joined the channel [05:23] codygray has joined the channel [05:25] RORgasm_: hey guys [05:26] clarkfischer: hey RORgasm [05:26] OmidRaha has joined the channel [05:26] RORgasm_: i was just a bit confused as to when one would want to use the dgram module to talk over UDP as opposed to using websockets or TCP [05:26] RORgasm_: ? [05:26] RORgasm_: the dgram module seem pretty straightforward to me [05:26] RORgasm_: i guess i'm not sure what kind of use cases are better suited for UDP communication as opposed to TCP [05:26] RORgasm_: thoughts? [05:27] innociv has joined the channel [05:27] RORgasm_: clarkfischer: hey [05:31] dgathright has joined the channel [05:31] kejun has joined the channel [05:32] shedinja_ has joined the channel [05:32] langworthy has joined the channel [05:33] asoltys has joined the channel [05:35] webguynow has joined the channel [05:37] lorin has joined the channel [05:38] RORgasm_: anyone used dgram for UDP communication before? [05:39] TooTallNate has joined the channel [05:40] galaxywatcher has joined the channel [05:41] atahani has joined the channel [05:42] dgathright has joined the channel [05:42] jjd has joined the channel [05:43] chrisdickinson: RORgasm: UDP does not guarantee delivery (at all, or even in order). TCP does, I do believe. [05:44] Aria: Kind-of. [05:44] mikeal has joined the channel [05:44] meso has joined the channel [05:44] Aria: tcp rate-limits, windows, streams, and handles retransmits, and generally lets you know within the window size what the other end has received. [05:44] Aria: UDP gives you checksums and not much else. But that's entirely unrelated to what RORgasm_ asked. [05:44] RORgasm_: hmm [05:45] RORgasm_: so for trying to stream a video form some client to a server to another client [05:45] RORgasm_: would UDP make sense? [05:45] kejun has joined the channel [05:45] Aria: Depends on the use case. [05:46] RORgasm_: well [05:46] Aria: Your overhead with TCP is going to be minimal in that case, and with modern retransmit algorithms, won't even slow down for a missed packet here and there. [05:46] Aria: And can your video decoder deal with dropped packets? What sort of interleaving does it need or have? [05:46] RORgasm_: hmm [05:47] RORgasm_: Aria: i haven't done much of this...just a thought experiment [05:47] RORgasm_: that on an iOS device [05:47] Aria: Hehe. It really depends on some specifics. [05:47] Aria: However, Apple uses TCP if that's any indication. [05:47] Aria: RTSP. [05:47] RORgasm_: i would grab a video stream from the camera and broadcast it to a UDP nodejs server which then broadcasts it to other clients connected to that server [05:47] RORgasm_: ah [05:47] RORgasm_: i see [05:47] RORgasm_: RTSP is over TCP? [05:48] RORgasm_: wasn't sure of that [05:48] Aria: Yeah, it is. [05:48] RORgasm_: cool [05:48] RORgasm_: hmm [05:48] Aria: How important is sync? Is this video compressed? [05:48] RORgasm_: it would be compressed [05:48] chrisdickinson: Aria: (sorry for the foggy/inexact explanation earlier) [05:48] RORgasm_: but it won't have to be stored anywhere [05:48] RORgasm_: so if packets are lost...they're lost [05:48] RORgasm_: no harm done [05:49] Aria: Big harm done. [05:49] Aria: Compressed video loses sync easily with single dropped packets. [05:49] RORgasm_: so i'm thinking then i can just stream the video over websockets to the server then [05:49] RORgasm_: Aria: i c [05:49] Aria: Interesting. Why websockets? (what client software?) [05:49] RORgasm_: Aria: purely a thought experiemnt [05:49] RORgasm_: right now [05:50] Aria: ACTION nods. [05:50] RORgasm_: i've deone websocket communiation [05:50] RORgasm_: from iOS devices to nodejs servers [05:50] Aria: Websockets is message-oriented, so that's probably a downside in this case. [05:50] RORgasm_: via faye [05:50] RORgasm_: i love it :) [05:50] RORgasm_: i'm not an iOS dev [05:50] Aria: Not pure streaming. [05:50] RORgasm_: i usually work with someone [05:50] RORgasm_: who is [05:50] RORgasm_: well [05:50] RORgasm_: we're trying to get streaming i guess [05:50] RORgasm_: but we don't want to save the video stream as a fiel [05:51] Aria: ACTION nods. [05:51] lulzilla has joined the channel [05:51] RORgasm_: essentially i was wondeirng how hard a video caht thing would be to build via websockets [05:51] Aria: Probably quite doable. [05:51] lulzilla: does forever rerun a script after a reboot? [05:51] RORgasm_: where teh video is not being stored anywhere per se but just transmitted [05:51] Aria: Yeah. [05:51] RORgasm_: Aria: so you're thinking something like that can be done over websockets without having to drop down to UDP sockets? [05:52] Aria: Yes, but I'd probably go TCP, not websocket. [05:52] Aria: (In fact, I'd use RTSP) [05:52] RORgasm_: websocket is over TCP though [05:52] bminer has joined the channel [05:52] RORgasm_: isn't it? [05:52] bminer: hi [05:52] Aria: Yes, but it's a message-oriented layer on TOP of TCP. [05:52] Aria: And video is streamy, not message-oriented. [05:52] RORgasm_: i see [05:53] chrisdickinson: so, a message sent from a client to a server via a websocket is guaranteed to arrive eventually, right? [05:53] RORgasm_: so back to my original question [05:53] RORgasm_: where do UDP sockets come in handy? [05:53] bminer: quick question for anyone out there... any good node static asset deployment libraries? [05:53] Aria: chrisdickinson: Transmit half message. Cut wire. Logic says no. [05:53] RORgasm_: when would one want to use them instead [05:53] RORgasm_: ? [05:53] chrisdickinson: haha. [05:53] Aria: chrisdickinson: If you figure out how to guarantee delviery in a network, let someone know. [05:53] Aria: RORgasm_: Chat is naturally messagey. Web page updates, game packets .. .all message-like. [05:53] chrisdickinson: well, guaranteed inasmuch as TCP guarantees delivery. [05:54] Aria: And great for when the client is a web browser, since browsers don't expose pure TCP sockets to pages. [05:54] brokenjames has joined the channel [05:54] RORgasm_: right [05:54] RORgasm_: and UDP sockets? [05:54] bminer: UDP comes in handy when you are broadcasting a lot of packets and don't care as much if they make it [05:54] Aria: TCP doesn't guarantee delivery. It guarantees that an ACK must come back at least once per window to keep sending. [05:55] RORgasm_: bminer: Aria any particular example come to mind where something liek that might be useful? [05:55] Aria: UDP is good for implementing probey protocols -- things like gossip consensus, multicast transmission, and stuff like that. [05:55] nmir has joined the channel [05:55] jjd has joined the channel [05:55] Aria: Where you tend to have many unreliable, weakly connected nodes. [05:55] RORgasm_: where does multicast transmission come in handy? [05:55] bminer: RORgasm_: sure... anything that might be multicast... like older LAN-based video games used UDP [05:55] Aria: Video streaming on a LAN. [05:55] bminer: video streaming is good [05:56] chrisdickinson: re: using UDP for video games: http://vimeo.com/1808631 [05:56] Aria: Also: UDP is perfect for fixed-bandwidth, better-lost-than-late. [05:56] Aria: Like realtime streaming. Like voice. [05:56] RORgasm_: ah [05:56] hoborick has joined the channel [05:56] RORgasm_: hmm [05:56] bminer: so like...Skype *could* use UDP... maybe [05:56] RORgasm_: so...we just were talking about how tcp would be better for video chat then udp earlier :) [05:57] Aria: VoIP codecs are usually optimized to be able to tolerate any frame getting lost. [05:57] RORgasm_: Aria: ^ ? [05:57] nmir: hey, does anyone know where i can find a proper example of rendering form validation errors back to the user in a node+express site? the req.flash thing seems like it is meant more for messages than field-level error messages (like "invalid email address" next to a form field) [05:57] Aria: Their coding isn't interdependent. [05:57] Aria: Video, on the other hand, tends to drop everything until the next I-frame when it loses a chunk. [05:57] Aria: Which on tightly coded video (I-frames are expensive!) could be a minute or more. [05:58] hoborick: Is the cluster API that's now part of Node that same one that Learnboost made? [05:59] Aria: No. [05:59] RORgasm_: bminer: Aria check this out http://stackoverflow.com/questions/6187456/tcp-vs-udp-on-video-stream [05:59] Aria: But some similar ideas. Node's is lower-level. [05:59] RORgasm_: bminer: Aria in my case the video would not be stored...so udp u think? [05:59] SamuraiJack has joined the channel [06:00] hoborick: nmir: I seem to remember this doing that (providing validations errors mingled with form HTML): https://github.com/caolan/forms [06:00] hoborick: Aria: Ah, thanks. [06:00] Aria: No, I think TCP ;-) [06:00] kevinswiber has joined the channel [06:00] Aria: Are your clients local? [06:00] Aria: Or remote? [06:00] bminer: RORgasm_: I dunno... maybe see what Flash Media Server does??? [06:01] RORgasm_: Aria: remote [06:01] Aria: Okay, so you have bandwidth sensitivity too. [06:01] bminer: RORgasm_: check this out... http://en.wikipedia.org/wiki/Real_Time_Media_Flow_Protocol [06:01] bminer: Aria: ^ [06:01] Aria: So what happens on a client with 290kbps available and a 300kbps stream? [06:01] RORgasm_: Aria: yeah...honestly i can see the case either way...thought there would be more consensus on the matter :) [06:02] nmir: hoborick: this seems a bit strange, as it auto-generates form html? i was planning on using express-validator along with some sort of solution for rendering the errors back to the client [06:02] bminer: Aria: you bump down to a 200kps stream :) [06:02] RORgasm_: Aria: i'm assuming that client will miss a few frames? [06:02] RORgasm_: contributing to the choppiness of the video stream...? [06:03] Aria: bminer: In realtime? At what changepoint? What does the client do? How do you know to slow down? [06:03] Aria: RORgasm_: Video isn't transmitted in frames. [06:03] Aria: RORgasm_: It's transmitted in long runs of b and d-frames that all depend on each other. [06:03] RORgasm_: Aria: i understand...i meant from the viewer's perspective [06:03] bminer: Aria: all excellent questions that someone smarter than me has hopefully figured out and built into the RTMFP [06:03] RORgasm_: lol [06:03] Aria: bminer: I doubt it. It's codec-sensitive. [06:04] Aria: Yeah, that's the thing. You don't miss frames. You miss huge globs of video and sound. [06:04] bminer: Aria: of course... it's Adobe [06:04] Aria: So what you probably want to do is buffer, pause, catch up, then resume. [06:04] bminer: Aria: Unfortunately, Flash video has become a sort of de-facto standard for live video... Amazon CloudFront only seems to work with Flash Media Server... last I checked?? [06:05] HT has joined the channel [06:05] Aria: bminer: One of many, many options. [06:05] Aria: MPEG is much more common. [06:05] RORgasm_: Aria: this is interesting http://en.wikipedia.org/wiki/Voice_over_IP "But VoIP usually uses UDP not TCP because recovering from congestion through retransmission usually entails too much latency.[13] So QoS mechanisms can avoid the undesirable loss of VoIP packets by immediately transmitting them ahead of any queued bulk traffic on the same link, even when that bulk traffic queue is overflowing." [06:06] RORgasm_: Aria: that's voice, not video...but interesting nonetheless :) [06:06] Aria: Yes. VoIP is super latency sensitive. Also low enough bandwidth that it can be ignored most of the time. [06:06] RORgasm_: i c [06:06] Aria: You want impressive? Skype. [06:06] chrisdickinson: falling under the category "better lost than late"? [06:06] Aria: Yeah. [06:06] RORgasm_: http://protocolinfo.org/wiki/Skype [06:06] Aria: Its codecs are all adjustable in realtime. It slows, its speeds, it adapts to changing network speeds FAST. [06:07] Aria: Plus their huge effort at just bypassing firewalls is impressive too. [06:07] RORgasm_: apparently skype uses both UDP+TCP [06:07] bminer: neat [06:07] bminer: yeah Skype is a pretty nice solution to VoIP over the net [06:08] bminer: I have had good luck with Google Voice, too, though [06:08] bminer: unfortunately, I dunno how well it handles multicast video broadcasting [06:08] bminer: (Skype that is) [06:08] codygray has joined the channel [06:08] Aria: It doesn't multicast. [06:08] Aria: Ever. [06:09] bminer: didn't think so [06:09] bminer: 1-to-1 only then? [06:09] Aria: Google Voice isn't VoIP, actually, at least not externally. [06:09] RORgasm_: so they're probably sticking more to tcp then [06:09] RORgasm_: more i think of it [06:09] Aria: Yeah, 1-to-1. Conference, but mediated through a central party. [06:09] RORgasm_: tcp makes more sense in what i was trying to do [06:09] bminer: got it [06:09] RORgasm_: coz i was trying to do a 1-on-1 thing too [06:09] RORgasm_: wow [06:09] RORgasm_: this has been a very enlightening conversation [06:09] RORgasm_: thanks guys [06:10] RORgasm_: bminer: Aria :) [06:10] Aria: You are welcome. [06:10] RORgasm_: learn something new everyday [06:10] RORgasm_: btw [06:10] RORgasm_: on the bright side [06:10] RORgasm_: you guys should check out opentok [06:10] maxogden: on the topic of voip + node https://twitter.com/#!/mranney/status/145778414165569536 [06:10] RORgasm_: i've done a couple of hackathons with their api [06:10] Aria: Can you tell I've worked with streaming media in detail? (And had to tune a network to hell and beyond to get good voice quality since the buffers in my equipment were huge) [06:10] RORgasm_: http://www.tokbox.com/ [06:10] RORgasm_: Aria: :) [06:11] RORgasm_: i think the safest bet is to let someone else handle the hard work :) [06:11] Aria: Interesting! [06:11] bminer: cool [06:12] bminer: RORgasm_: thx for that... will keep them in mind [06:12] RORgasm_: yeah [06:12] bminer: Anyone know of any node.js static asset modules? Good ones... [06:12] RORgasm_: i made a lil node+html5 canvas game called YOurFace for gamehackday [06:12] Aria: Heh. Sigh. None of my client's uses are allowed under their terms of service. [06:13] RORgasm_: essentaily two players are shotting at each other but instead of shooting at each other's rocket ships...you're shooting at each other's face :) [06:13] RORgasm_: used faye w/websockets for updating game info [06:13] lightcap has joined the channel [06:13] ryan_stevens has joined the channel [06:13] Aria: Hehe. [06:13] RORgasm_: Aria: really? [06:13] stride has joined the channel [06:13] Aria: Yeah. Adult services. [06:14] RORgasm_: lol [06:14] RORgasm_: wow [06:14] kenperkins has joined the channel [06:14] RORgasm_: no wonder you know so much about video streaming ;) [06:15] bminer: lol [06:15] RORgasm_: i'm actually surprised i've never met a developer in that industry [06:15] RORgasm_: definitely see it being challengin [06:15] RORgasm_: Aria: mind me asking where you've node in your solution stacks? [06:15] Aria: Hehe. I've never actually done adult video streaming. But it's something clients of mine need. [06:15] RORgasm_: gottya [06:15] Aria: Node for me is messaging middleware. Chat servers, event queueing and relay. [06:16] RORgasm_: right [06:16] Aria: Proxies. [06:16] RORgasm_: that's how i've used node mainly [06:16] RORgasm_: for chat and/or pub/sub notificaitons, and event queuest [06:16] RORgasm_: queues [06:16] SamuraiJack has joined the channel [06:16] RORgasm_: i'm mainly a ruby developer [06:16] RORgasm_: Aria: i really like faye a lot...i've used it for a ton of projects [06:17] RORgasm_: and the author of faye just recently extracted the websocket library out of faye to have a fully cmpliant standlaloen wesocket lib [06:17] Aria: Nice. [06:17] Aria: I've been watching that. I think we may start reimplementing our chat at work with that. [06:18] bminer: Hey guys.... sorry to be annoying... but anyone with any static asset libraries that are any good? [06:18] RORgasm_: Aria: https://github.com/jcoglan/faye-websocket-node [06:18] Aria: bminer: What would a 'static asset library' do? [06:18] RORgasm_: bminer: sorry bud :( [06:18] halfhalo: Eh, for some reason I'm generally hesitant to make a full site out of node. But I think I am going to use it to fully power a cloudfoundry/git web based management portal. [06:18] RORgasm_: bminer: a static asset packaging thing? [06:19] bminer: Aria: things like Browserify.... [06:19] RORgasm_: Aria: btw i'm @harisamin on twitter... [06:19] Aria: @aredridel here [06:19] bminer: anything that will bundle assets nicely... CSS files, client-side JS, ... [06:19] nmir has left the channel [06:19] bminer: ideally deploy them to S3, etc. [06:19] RORgasm_: Aria: hey...i know u...i think [06:20] Aria: Oh, wow. Full stack stuff. Most node tools will do those sorts of things in parts, I think [06:20] RORgasm_: Aria: one sec :) [06:20] SubStack: bminer: check out http://browserify.nodejitsu.com/ [06:20] halfhalo: mmm.... deploying a site directly from a git tag with integrated uglify-js... [06:20] Aria: Yeah, I've been around a while, and ruby among other places, RORgasm_ [06:20] ShinyDarkness has joined the channel [06:20] SubStack: ad-hoc browserify cdn [06:21] RORgasm_: Aria: oh man [06:21] SubStack: need to finish this design work so I can finish up stagecoach [06:21] RORgasm_: Aria: not sure if you rememebr me... i'm @hamin on github... i used your smtp server library for my Kyatchi mail app https://github.com/aredridel [06:21] SubStack: git deploys will be so nice [06:21] Aria: Oh yeah! [06:21] SubStack: Aria: you wrote an smtp server? :o [06:21] RORgasm_: Aria: http://hamin.github.com/kyatchi [06:21] RORgasm_: :) [06:21] Aria: SubStack: A library for it. Simple stuff. [06:22] SubStack: I didn't find that in my survey of extant smtp libs [06:22] halfhalo: stagecoach looks like fancy shit. i like it. [06:22] SubStack: so I wrote https://github.com/substack/node-smtp-protocol [06:22] bminer: SubStack: thanks... I have been using Browserify... but it would be cool to auto-deploy everything, too. For example, I have assets like Stylus .styl files, .css files, client-side JS, Jade views... [06:22] RORgasm_: Aria: small world :) [06:22] SubStack: halfhalo: super alpha though but you get the idea [06:23] bminer: Maybe I want my pre-compiled Jade views to be available to the client... for use with Backbone.JS or something [06:23] Aria: Hehe. That API looks pretty familiar, SubStack [06:23] RORgasm_: bminer: Aria on a different topic... an iOS dev friend of mine and i released this iOS 5 app for iphone/ipad2 that about amonth ago [06:23] RORgasm_: http://cyborgvisionapp.com [06:23] RORgasm_: :) [06:23] Aria: Spiffy! [06:23] RORgasm_: give it a shot...some good ol' fashion terminator-style fun :) [06:23] SubStack: Aria: I did get around to doing at least rudementary client sending [06:23] SubStack: although it's missing some important stuff like tls upgrades [06:23] RORgasm_: we hacked on it on video hackday and won 1t place and people's choice...and decided to move along and release it [06:24] Aria: Yeah. Mine too. [06:24] bminer: that's cool [06:24] maletor has joined the channel [06:25] bminer: SubStack: in development environments, I want these assets to have all debugging info and served locally.... in production, I want to serve these files from Amazon S3 with strong and weak caching.... and utilize URL fingerprinting [06:25] halfhalo: SubStack: i may steal that for a develoment env for my work. my current plan was just to use github hooks, but that only works for github. [06:26] SubStack: Aria: yeah this is eerily similar [06:26] SubStack: even the accept/reject api [06:27] SubStack: wish I would have found it sooner >_< [06:27] Aria: Hehe. [06:27] Aria: Oops! [06:27] RORgasm_: SubStack: when i wrote the Kyatchi node app, i just needed an smtp server lib...i think i came across yours but Aria's lib worked for my needs perfectly [06:27] SubStack: Aria: the docs page was a bit hard to get to though [06:27] SubStack: the one at http://dinhe.net/~aredridel/projects/js/node-smtp/doc/ [06:28] RORgasm_: i also did use someone else'se smtp parsing library [06:28] Aria: Yeah. I need to revamp all that and just haven't had time. [06:28] RORgasm_: man finding decent smtp parsing libs in pretty much any language suck [06:28] RORgasm_: except for ruby [06:28] halfhalo: cloudfoundry needs to support node 0.6.x and all will be well [06:28] Aria: SMTP or MIME? [06:28] bminer: I just use sendmail and nodemailer... am I a loser? [06:28] RORgasm_: the mail gem in ruby is pretty freaking awesome...covers almost all of teh specifications that matter for mail [06:28] mikeal has joined the channel [06:28] RORgasm_: i guess MIME [06:28] RORgasm_: :) [06:29] RORgasm_: Aria: so yeah i've been working on a desktop version of Kyatchi on and off using Macruby [06:29] RORgasm_: really liking it [06:29] RORgasm_: using the ruby mail gem for parsing [06:29] maxogden: i wrote a mail app using haraka a while ago and was impressed by the thoroughness [06:29] RORgasm_: email = Mail.parse(data) and BAM...i have all the parts that i need :) [06:29] RORgasm_: maxogden: yeah i rememebr looking at harak [06:29] RORgasm_: it lookded pretty good [06:30] RORgasm_: i felt like it was a bit more heavy handed then what i needed as far as an smtp server goes [06:30] Margle has joined the channel [06:30] RORgasm_: maxogden: Aria's lib was light and easy enough for me to grasp [06:30] maxogden: RORgasm_: if you dont need streaming then node is kind of heavy handed :P cause Mail.parse(data) is way easier to program [06:30] RORgasm_: lol [06:31] SamuraiJack has joined the channel [06:31] RORgasm_: maxogden: i was just inspired by http://mailcatcher.me which is writtein in Ruby/Eventmachine...i thought that node would eb a better impleemetnation...and it was...till i got ot the mime parsing bit :) [06:31] RORgasm_: but really [06:31] RORgasm_: i'm more excited about the macruby version that i've been working on [06:31] RORgasm_: its fun :) [06:32] RORgasm_: wrote the smtp server in plain on ruby instead of Obj-C...starting to like Obj-C..its atually pretty cool...but by no means am i way comfortable with it [06:32] RORgasm_: but yeah [06:32] RORgasm_: fun fun fun...i like me some GUMBO if you will :) [06:33] jaitaiwan has joined the channel [06:33] fangel has joined the channel [06:33] kishoreyekkanti has joined the channel [06:33] RORgasm_: ooh this is nice :) http://scriptsrc.net/ [06:34] RORgasm_: i hate googling for this everytime :) [06:34] garrensmith has joined the channel [06:35] halfhalo: hah [06:35] bminer: throwing it out there... JavaScript rules [06:35] bminer: it's the best language [06:35] RORgasm_: i'm just happy to be doing a bunch of stuff right now [06:36] RORgasm_: been on a js kick for about a year on the server side and loving it [06:36] bminer: indeed [06:36] RORgasm_: but still love my ruby...and obj-c is starting to get fun too :) [06:36] RORgasm_: alright guys [06:36] RORgasm_: i'm out [06:36] RORgasm_: great talking to u all [06:36] bminer: later [06:36] RORgasm_: nice [06:36] Aria: Hehe. Ta! [06:36] RORgasm_: night [06:36] bminer: same [06:36] Aria: Don't let NodObjC find you. [06:36] Aria: Aw, missed. [06:36] Aria: And on that note, I'm out too. [06:36] Aria: Night! [06:37] bminer: same [06:37] bminer: night [06:37] bminer has left the channel [06:38] Heisenmink has joined the channel [06:38] flip_digits has joined the channel [06:39] skm has joined the channel [06:39] sreeix has joined the channel [06:41] clarkfischer: Hrm… anyone familiar with the udp/bittorrent protocol? [06:46] k1ttty has joined the channel [06:47] dreamdust has joined the channel [06:47] stonebranch has joined the channel [06:48] djbell has joined the channel [06:49] skm has joined the channel [06:51] dubenstein has joined the channel [06:51] EyePulp_ has joined the channel [06:53] dubenstein has joined the channel [06:53] kejun has joined the channel [06:54] sechrist_ has joined the channel [06:54] jaequery has joined the channel [06:57] AvianFlu has joined the channel [06:57] mikeal has joined the channel [06:57] mike5w3c_ has joined the channel [06:57] kejun1 has joined the channel [06:58] martin_sunset has joined the channel [06:59] langworthy has joined the channel [07:01] chjj has joined the channel [07:03] confoocious has joined the channel [07:03] confoocious has joined the channel [07:05] kevinswiber has joined the channel [07:05] jaitaiwan has joined the channel [07:06] AAA_awright has joined the channel [07:06] skm has joined the channel [07:06] neilk_ has joined the channel [07:06] pyparadigm: Is there a way to do JS Async like it was Sync yet? [07:07] pyparadigm: I tried messing with TameJS but it seems to have issues still. [07:09] admc has joined the channel [07:09] NetRoY has joined the channel [07:10] skylamer` has joined the channel [07:10] beseku has joined the channel [07:12] neshaug has joined the channel [07:12] beseku: Hey all. Whats the recommended approach for deploying node on an ubuntu box? [07:13] jacobolus has joined the channel [07:14] dgathright has joined the channel [07:15] sveisvei has joined the channel [07:15] sechrist has joined the channel [07:16] pyparadigm: beseku, either use APT for install from source [07:16] braoru has joined the channel [07:16] beseku: pyparadigm: I meant running it - is there a best practice for keeping it up? [07:16] boltR has joined the channel [07:16] beseku: I have it installed easily enough. [07:17] pyparadigm: nohup node script.js & [07:17] pyparadigm: to stop killall node [07:18] pyparadigm: beseku, you can also use something called Forever [07:18] pyparadigm: http://stackoverflow.com/questions/4018154/node-js-as-a-background-service [07:20] beseku: thats wahat i needed. many thanks. [07:22] pyparadigm: beseku, np [07:22] AAA_awright_ has joined the channel [07:23] pity has joined the channel [07:23] freakyfractal has joined the channel [07:24] scottschecter has joined the channel [07:25] buttface has joined the channel [07:29] maletor has joined the channel [07:29] wbednarski has joined the channel [07:30] towski has joined the channel [07:33] superjudge has joined the channel [07:37] cli933 has joined the channel [07:38] hotroot has joined the channel [07:38] hackband has joined the channel [07:38] hotroot: are ( x == "") (x == " ") and (x == " ") the same thing? [07:39] josephg has joined the channel [07:39] abraxas: all whitespace is falsy [07:39] abraxas: as is the empty string [07:40] abraxas: so if you compare them to true or false, the outcome is equal [07:40] Daegalus has joined the channel [07:41] benvie: but if you compare them directly to each other then strict equals will be used since they're both strings and it won't be true [07:41] abraxas: correct [07:41] benvie: need to coerce to boolean first [07:41] kishoreyekkanti_ has joined the channel [07:42] hotroot: That's why I'm using == [07:43] hotroot: Err, wait [07:43] harthur has joined the channel [07:43] hotroot: so ("" == false) and (" " == false) but ("" != " ") [07:43] groom has joined the channel [07:44] benvie: yeah [07:44] kishoreyekkanti has joined the channel [07:44] benvie: the == operation coerces the result in each side to a boolean [07:44] benvie: before then comparing the results [07:44] benvie: but in the second case you're directly comparing two strings [07:45] jtgiri_ has joined the channel [07:46] arcanin has joined the channel [07:46] cli162 has joined the channel [07:48] jomoho has joined the channel [07:48] ph^ has joined the channel [07:48] stagas has joined the channel [07:50] otakutomo has joined the channel [07:51] garrensmith: which is the best javascript vim plugin? [07:51] h4ck3r has joined the channel [07:53] caffine has joined the channel [07:53] davidbanham has joined the channel [07:54] Morkel has joined the channel [07:56] igl1 has joined the channel [07:58] braoru has joined the channel [07:58] hipsters_ has joined the channel [07:59] bosphorus has joined the channel [08:00] mikeal has joined the channel [08:01] emattias has joined the channel [08:01] lackac has joined the channel [08:02] lackac: hi all [08:02] lackac: I have a logging question [08:03] lackac: in a web application with high load what is the best way to log request information without them being interleaved in the log file? [08:03] lackac: we're using winston for logging [08:03] Leemp2 has joined the channel [08:04] gripir has joined the channel [08:04] shiawuen has joined the channel [08:04] fangel has joined the channel [08:05] aaronmcadam has joined the channel [08:06] JaKWaC has joined the channel [08:08] kejun has joined the channel [08:08] petrjanda has joined the channel [08:12] Net_RoY has joined the channel [08:13] Net_RoY_ has joined the channel [08:13] gripir: Hi, I dont know how to call the jQuery functions in my Jade templates ... any ideas? [08:14] mikeal has joined the channel [08:14] hotroot: So I've heard it's bad form to do " if (object[element]) { blah} to see if it exists and is non falsey. Any reasoning behind this? [08:15] kejun has joined the channel [08:16] hotroot: Because "object.hasOwnProperty(property)" seems to be not working right [08:16] lorfds: how do i monitor how long a process has been running in node [08:16] lorfds: process.something()? [08:17] zomg: hotroot: I don't see how it would be bad [08:17] zomg: Seems like a reasonable approach to me if you want to ignore any falsy values [08:17] kuebk has joined the channel [08:17] hotroot: I'mma try it then =) [08:19] p1d has joined the channel [08:20] mange has joined the channel [08:21] superjudge has joined the channel [08:21] romanb has joined the channel [08:22] JaKWaC has joined the channel [08:23] reith2004 has joined the channel [08:24] PyroPeter has joined the channel [08:24] gripir has joined the channel [08:24] ablomen has joined the channel [08:25] `3rdEden has joined the channel [08:27] djcoin has joined the channel [08:27] BrianE has joined the channel [08:34] sgimeno has joined the channel [08:34] polotek has joined the channel [08:35] caioketo: Hi there, im trying to install node [08:36] caioketo: with the cygwin, but when i type "./configure" it sends me an error "cygwin not supported" [08:36] lorfds: is there an easy way to run the same node scripts multiple times in parallel [08:36] AD7six_ has joined the channel [08:40] socketio\test\06 has joined the channel [08:41] maxogden: lorfds: what are you trying to accomplish exactly? [08:41] jbpros has joined the channel [08:41] cognominal has joined the channel [08:41] lorfds: well...i have this web scraper that is kind of lossy [08:41] lorfds: so while i could run multiple requests in parallel [08:41] lorfds: id rather have one request per script instance [08:41] lorfds: and run that same script multiple times [08:43] maxogden: lorfds: interesting [08:43] hotroot: "caioketo: Hi there, im trying to install node [08:43] hotroot: (12:36:09 AM) caioketo: with the cygwin, but when i type "./configure" it sends me an error "cygwin not supported"" [08:43] salva has joined the channel [08:43] hotroot: That's an error how? [08:43] hotroot: That's like if you stick a $5 in a vending machine and it says "Five dollar bills not allowed" [08:43] mikeric has joined the channel [08:43] salva has left the channel [08:44] maxogden: hotroot: actually its like if you see a vending machine that says '$5 dollar bills only' and you complain when it doesnt take your $20 [08:44] sylvinus has joined the channel [08:45] hotroot: And it gives you a perfectly legit message explaining that it doesn't take fives [08:45] hotroot: Why run it in cygwin anyway? Isn't there a windows version? [08:45] maxogden: hotroot: no, it *does* take fives :) [08:46] sylvinus_ has joined the channel [08:46] maxogden: ACTION #metaphorfail [08:46] hotroot: Oh, right, lol [08:46] hotroot: Wait, tired as shit, were you making the opposite point? [08:46] robhawkes has joined the channel [08:47] maxogden: hotroot: its not an error if it tells you your platform isnt supported [08:47] maxogden: hotroot: its a bummer, but its not an error [08:47] hotroot: Yeah, that's what I meant =) [08:47] maxogden: :P [08:47] Druid_ has joined the channel [08:49] gripir: does someone know how to call a jQuery function in a jade template file? [08:49] gripir: for example i have: input(type="text", id="date") and for this element I wanna call datepicker() [08:50] maxogden: gripir: i embrace the logicless templates philosophy sorry [08:51] aesptux has joined the channel [08:51] dwhittle has joined the channel [08:51] cjroebuck has joined the channel [08:52] gripir: maxogden: hm you're right ... but how to use the jQuery libs then? [08:52] hotroot: I've noticed something, like 99% of the time someone here asks about a small library or anything like that, nobody answers at all. Why do people even try? =P [08:52] ccare has joined the channel [08:53] hotroot: Ask the library devs, lol [08:54] caioketo: hi there im getting an error while installing node [08:54] caioketo: i type vcbuild.bat release [08:54] caioketo: and get "No module named gyp" [08:56] caioketo: can someone help me? [08:56] FIQ has joined the channel [08:59] arcanin has joined the channel [09:00] twolfson has joined the channel [09:01] hackband has joined the channel [09:01] jimt has joined the channel [09:04] beevits has joined the channel [09:05] vvo has joined the channel [09:06] LeMike has joined the channel [09:06] Corey_ has joined the channel [09:06] NetRoY has joined the channel [09:06] booyaa: morning kiddies [09:07] amigojapan has joined the channel [09:07] stagas has joined the channel [09:07] jldbasa has joined the channel [09:12] Feherlofia has joined the channel [09:15] bergie has joined the channel [09:15] caioketo: morning [09:15] caioketo: booyaa [09:15] caioketo: can u help me? [09:15] caioketo: im trying to install node [09:16] caioketo: but im getting an error [09:16] booyaa: what os? [09:16] caioketo: windows 7 [09:16] booyaa: did you use the msi? [09:16] booyaa: looks like yuo're trying to compile it [09:16] caioketo: yeah, but whatever i dont need to compile [09:16] caioketo: there is an msi? [09:16] booyaa: yes [09:17] caioketo: where? :P [09:17] booyaa: http://nodejs.org/#download [09:17] booyaa: there you go my child [09:17] booyaa: christ i just noticed it's top position as well [09:17] d0k has joined the channel [09:17] hipsters_ has joined the channel [09:17] caioketo: the problem is I was on github project :D [09:18] caioketo: kkkk [09:18] caioketo: thnks [09:18] thalll has joined the channel [09:18] booyaa: go forth and make applications [09:18] booyaa: *makes the sign of the cross* [09:18] stonebranch has joined the channel [09:18] postwait has joined the channel [09:18] booyaa: <-- wonders how long before he gets bk'd [09:18] booyaa: :P [09:19] zomg: I was going to make an auschwitz joke earlier when guys were talking about gas vs electricity on ##javascript [09:19] zomg: But I was wondering about that kickban as well and decided not to [09:19] zomg: ;> [09:19] booyaa: ACTION groans [09:19] booyaa: zomg++ [09:19] catb0t: zomg now has 1 beer [09:19] booyaa: dafuq? [09:19] booyaa: you only have one beer? [09:19] booyaa: this is poor [09:20] zomg: :D [09:20] zomg: I don't actually even drink IRL [09:20] zomg: =) [09:20] booyaa: sok i can drink them on your behalf [09:20] zomg: Yep [09:20] booyaa: to help out [09:20] zomg: booyaa++ [09:20] catb0t: booyaa now has 1 beer [09:20] zomg: zomg-- [09:20] catb0t: zomg now has -1 beer [09:20] booyaa: heh [09:20] zomg: Oh right, it gave away one of my beers to you when I ++'d [09:20] zomg: zomg++ [09:20] catb0t: zomg now has 1 beer [09:20] zomg: zomg-- [09:20] catb0t: zomg now has -1 beer [09:20] booyaa: heh [09:20] zomg: or maybe it just doesn't work [09:21] adambeynon has joined the channel [09:21] booyaa: right a cup of coffee, a bit of surf, then time to get signatures [09:22] booyaa: never work for a bank unless you like getting paid stupid amounts of cash. i hate the separation of developers and production systems. [09:22] booyaa: i know why they do this, but it's a pain in the arse to get anything done [09:22] zomg: heh [09:22] kishoreyekkanti_ has joined the channel [09:22] otakutomo has joined the channel [09:22] zomg: For once I'd like to work in a company with programmers who care for quality [09:22] paulbaumgart has joined the channel [09:23] caioketo: hey booyaa, I installed from msi, but how can I use it from cmd? [09:23] otakutomo has joined the channel [09:23] booyaa: zomg how are they not caring about quality? [09:23] booyaa: zomg no comments? nested ifs? [09:23] ppcano has joined the channel [09:24] booyaa: caioketo: fire up a command prompt. npm and node will be available. if not reboot the computer because it means node installer hasn't added the code to your PATH env var [09:24] caioketo: it says its not recognized as comand blablabla [09:25] booyaa: caioketo: reboot [09:25] caioketo: ohhh man... [09:25] caioketo: :D [09:25] herbySk has joined the channel [09:25] caioketo: i hate when I needs to reboot [09:25] caioketo: but there I go... [09:26] booyaa: caioketo: you should be used to it by now ;) (using windows) [09:26] booyaa: i'll it install it on my xp box at work [09:26] booyaa: only briefly looked at it at home in a vm [09:26] booyaa: just wanted to see if it would run. [09:26] zomg: booyaa: well one guy does a decent'ish job, but another just does pretty much whatever he pleases and ignores coding standards, writes poor code, code that no one understands... [09:26] zomg: commit messages which make no sense whatsoever [09:27] zomg: I doubt our unit tests have passed (or completed for that matter) for months (I wrote like 95% of them in the first place) [09:27] booyaa: zomg: yeah we had a guy who did that. the entire team suffers. [09:27] zomg: Yeah it's fun when most of the time you're wondering what this code is really supposed to be doing [09:27] booyaa: most of his applications are now considered proof of concept and are being rewritten [09:27] zomg: Or why some line of code is commented out, whether it's supposed or not to... =) [09:27] booyaa: zomg: do you do secret santa at work? [09:28] ppcano has joined the channel [09:28] zomg: Nop [09:28] ppcano has joined the channel [09:28] booyaa: buy him a copy of clean code by robert "uncle bob" martin [09:28] booyaa: leave it by his desk [09:28] zomg: :D [09:28] zomg: Yeah [09:29] booyaa: it's actually a good reference especially when it's been a while since you've written software that others might have to maintain [09:29] Glenjamin has joined the channel [09:29] booyaa: about a year ago i switched from sysadmin to dev. even though i did compsci it's been so long since i've written software (i've done scripts for work, but that's not the same) [09:30] zomg: Well I sorta doubt it would have any effect since we've told him a bazillion times about it [09:30] blup has joined the channel [09:30] zomg: Hell even our Jr. dev writes better code than he does [09:30] booyaa: oh dear. [09:30] zomg: It kinda sucks 'cause otherwise this is a nice place :P [09:31] booyaa: yeah just take one dev, manager can't do anything? [09:31] zomg: He is basically the manager... :D [09:32] whitman has joined the channel [09:32] zomg: I should start using a stopwatch to find out how much extra time everything takes because of this, maybe he'd finally get the point once he sees that :P [09:32] ccare has joined the channel [09:33] booyaa: oh noes [09:33] TomY has joined the channel [09:34] soulraven has joined the channel [09:34] ShotgunKlaus has joined the channel [09:34] shreekavi has joined the channel [09:36] butu5 has joined the channel [09:36] caioketo has joined the channel [09:37] caioketo: im back [09:37] alessioalex has joined the channel [09:37] Morkel has joined the channel [09:37] benlyn has joined the channel [09:41] michaelhartau has joined the channel [09:41] Emmanuel` has joined the channel [09:42] daGrevis has joined the channel [09:43] daGrevis has left the channel [09:44] tdegrunt has joined the channel [09:47] ditesh|cassini has joined the channel [09:47] prettyrobots has joined the channel [09:48] kejun1 has joined the channel [09:54] swestcott has joined the channel [09:55] eldios has joined the channel [09:55] mckincy has joined the channel [09:56] ppcano has joined the channel [09:56] ppcano has joined the channel [09:56] mAritz has joined the channel [09:57] ppcano has joined the channel [10:00] lzskiss has joined the channel [10:00] kejun has joined the channel [10:02] drdave has joined the channel [10:02] josh-k has joined the channel [10:04] descipher has joined the channel [10:06] boehm has joined the channel [10:06] saschagehlich has joined the channel [10:09] meso has joined the channel [10:09] sriley has joined the channel [10:11] satyr has joined the channel [10:11] Esteb has joined the channel [10:12] stagas has joined the channel [10:13] caioketo: booyaa: u still there? [10:15] tekky has joined the channel [10:16] Feherlofia has joined the channel [10:17] Glenjamin has joined the channel [10:17] booyaa: no i am sleep coding [10:17] booyaa: sup bro? [10:17] skm has joined the channel [10:18] caioketo: sup [10:18] caioketo: all worked fine [10:18] caioketo: but i have a question, but its not about node.js, is about socket.io thing, u use it? [10:18] ShotgunKlaus_ has joined the channel [10:18] ccare has joined the channel [10:19] booyaa: no, i think we spoke about (web)sockets and c# as your server? [10:19] caioketo: yeah [10:20] caioketo: im trying to do a basic socket "proxy" server, so ill implement the socket.io so it will recieve websocket connections, and then transfer for a normal socket, so I dont need to do 2 times the same job in c# serv... [10:20] ShotgunKlaus_ has joined the channel [10:20] davidbanham has joined the channel [10:20] caioketo: but im really lost in the socket.io thing, thew first example is a little lost, it just sais "For this example, simply run `npm install socket.io`" [10:21] caioketo: but dont sais where i need to save the file, what name, etc... [10:21] jldbasa has joined the channel [10:22] caioketo: it installed the node.js [10:22] caioketo: the socket.io [10:22] caioketo: but in a folder called "node_modules" [10:22] caioketo: thhis folder should be where? [10:23] caioketo: i guess i found out [10:24] caioketo: =D [10:24] tk_idle has joined the channel [10:24] skm has joined the channel [10:25] astrobunny has joined the channel [10:26] booyaa: dude, learn to walk: http://nodeguide.com/beginner.html [10:26] lzskiss has joined the channel [10:26] booyaa: it's a short tut but you will get a good foundation [10:27] caioketo: ok ill read, im a lot lost here :D [10:27] booyaa: anyone use the opensearch plugin stuff? [10:28] booyaa: i know it's supported in firefox, not sure if ie still uses [10:28] booyaa: i don't think safari/chrome do any more because they've integrated the search box into location [10:29] jameshowe has joined the channel [10:31] ditesh|cassini has joined the channel [10:31] jameshowe: hello, http.request says you can pass it an Agent - where do you get one from that isn't the default one? [10:36] Ambriely has joined the channel [10:36] markwubben has joined the channel [10:37] stagas has joined the channel [10:38] swestcott has joined the channel [10:39] jameshowe: can you just do new http.Agent()? [10:39] kejun has joined the channel [10:39] jameshowe: if so, what are the arguments? [10:39] Glenjamin: might need to check the code [10:39] Glenjamin: https://github.com/joyent/node/blob/master/lib/http.js [10:40] caioketo: thnks booyaa nice tuto... [10:40] caioketo: but i guess now my problems is in socket.io =D [10:40] BonusWork has joined the channel [10:41] matti has joined the channel [10:43] jimt has joined the channel [10:45] snearch has joined the channel [10:45] jeremyselier has joined the channel [10:46] snearch has joined the channel [10:47] boltR has joined the channel [10:48] zilch_: I want to expose some of the command utils to web [10:48] augustl: zilch_: command utils? [10:48] zilch_: i.e I can write ls on web page form and it will give me the output the way it gives you in terminal [10:49] Xano has joined the channel [10:49] zilch_: so basically I want to expose the terminal or particular command on web [10:49] zilch_: is it possible [10:49] augustl: zilch_: it's dangerous [10:50] zilch_: augustl, what is command line utils ? [10:50] augustl: what if people write rm -rf / [10:50] zilch_: augustl, I am aware but this is not to be in productin or live [10:50] zilch_: augustl, I am going to limit it to one command ... that is mongo console. [10:50] romainhuet has joined the channel [10:50] zilch_: and even that will be on dev server [10:51] augustl: zilch_: http://nodejs.org/docs/latest/api/child_processes.html [10:51] mAritz: anyone else here able to use jade.min.js from version v0.19.0 in the browser? doesn't work for me, but the non-minified version works. (i don't actually need the minified version, just wondering whether I should open a bug report) [10:52] jameshowe has joined the channel [10:52] zilch_: augustl, I am aware of the basic building blocks, what I am looking for is any ready made work already done by somebody [10:52] ShotgunKlaus_ has joined the channel [10:52] augustl: zilch_: it's super mega easy to write it yourself [10:52] zilch_: a module that I can instantly use [10:52] augustl: zilch_: just call the one method [10:52] zilch_: augustl, I see [10:53] zilch_: then I am scrathcing it [10:54] jameshowe: again not in the docs: does adding "Connection:close" disable keep-alive? [10:54] LeMike has joined the channel [10:54] saswata has joined the channel [10:55] jameshowe: in 0.6+ [10:55] rendar has joined the channel [10:56] kmox83 has joined the channel [10:57] stefpb has joined the channel [10:57] louissmit has joined the channel [10:58] Leemp2 has joined the channel [10:59] fly-away has joined the channel [11:00] amigojapan has joined the channel [11:00] Leemp2 has joined the channel [11:01] jameshowe: it says adding 'keep-alive' enables keep-alive, even though keep-alive is on by default [11:01] andy_f has joined the channel [11:01] jameshowe: but doesn't say how to disable keep-alive while still using an agent [11:04] Abbaduxo has joined the channel [11:08] cjroebuck has joined the channel [11:09] jimmysparkle has joined the channel [11:09] nephics has joined the channel [11:10] martin_sunset has joined the channel [11:12] lorfds has joined the channel [11:14] MrBenn has joined the channel [11:14] aliem has joined the channel [11:16] adrianF has joined the channel [11:18] LeMike has joined the channel [11:20] booyaa: dumb ass, forked and then forgot to push [11:21] skoom has joined the channel [11:25] jameshowe: anybody? [11:27] quijote has joined the channel [11:27] stagas has joined the channel [11:28] isaacsanders has joined the channel [11:29] AAA_awright has joined the channel [11:33] Juan77 has joined the channel [11:33] alexrbarlow has joined the channel [11:36] josh-k has joined the channel [11:38] codehotter has joined the channel [11:39] ENTBSAWTBRT has joined the channel [11:41] syoyo has joined the channel [11:43] secoif has joined the channel [11:46] redeyedsphinx has joined the channel [11:47] raphdg has joined the channel [11:52] stagas has joined the channel [11:53] paulwe has joined the channel [11:53] cosmincx has joined the channel [11:55] satyr has joined the channel [11:56] sreeix has joined the channel [11:56] versicolor has joined the channel [11:58] alexrbarlow has left the channel [11:59] jj0hns0n has joined the channel [12:03] patrickgamer has joined the channel [12:03] zilch_: Hi, have a look at https://gist.github.com/1471889 [12:03] patrickgamer has left the channel [12:03] davidbanham has joined the channel [12:03] zilch_: it is simple app that allows me to interact with node REPL enviroment using web [12:04] zilch_: I start the app using node app-general.js --command="node" [12:06] handahalf has joined the channel [12:06] pity: Hello, I am having troubles with installing png module on 0.65 node version, are there any compatibility issues? [12:07] shreekavi has joined the channel [12:07] zilch_: and the I can provide the input to the node process spawned by ... http://localhost:3000/input/Date [12:07] zilch_: works perfectly [12:07] zilch_: I get the output "stdout: [Function: Date] " [12:08] zilch_: but instead of node if I spawn "mongo" , it is not helping me [12:08] LarryMah has joined the channel [12:09] broofa has joined the channel [12:12] LarryMah has joined the channel [12:12] CrisO has joined the channel [12:17] paera has joined the channel [12:18] augustl has joined the channel [12:19] shreekavi has joined the channel [12:19] robi42 has joined the channel [12:21] mc_greeny has joined the channel [12:22] larssmit has joined the channel [12:22] tilgovi has joined the channel [12:22] galaxywatcher has joined the channel [12:23] sgimeno has joined the channel [12:26] Zosk has joined the channel [12:27] ivanfi has joined the channel [12:37] stagas has joined the channel [12:37] isaacsanders has joined the channel [12:38] redir_ has joined the channel [12:39] ph^ has joined the channel [12:39] satyr has joined the channel [12:41] otakutomo has joined the channel [12:41] jetienne has joined the channel [12:42] scott_gonzalez has joined the channel [12:42] criswell has joined the channel [12:43] Morkel has joined the channel [12:46] willwhite has joined the channel [12:51] maushu|work has joined the channel [12:53] jaitaiwan has joined the channel [12:53] timbl_ has joined the channel [12:54] jameshowe: why are you using Node just to spawn another Node process? [12:54] neurodrone has joined the channel [12:54] jameshowe: just start the process you want in the first place [12:55] sreeix_ has joined the channel [12:57] mike5w3c_ has joined the channel [12:57] franky_ has joined the channel [12:58] otakutomo has joined the channel [13:00] boehm has joined the channel [13:00] otakutomo has joined the channel [13:00] codehotter has left the channel [13:00] mehtryx has joined the channel [13:01] vkareh has joined the channel [13:03] mehtryx has left the channel [13:03] pancake has joined the channel [13:05] gabriel has joined the channel [13:06] fairwinds has joined the channel [13:06] scottmizo has joined the channel [13:06] scott_gonzalez has joined the channel [13:07] otakutomo has joined the channel [13:08] pancake: it is possible to control timeouts in async operations? [13:08] tommyvyo has joined the channel [13:09] tuhoojabotti: ? [13:09] tuhoojabotti: Of course [13:10] pancake: how? [13:10] tuhoojabotti: setTimeout :D [13:10] tuhoojabotti: problems? [13:10] pancake: settimeout will not cancel a locked async open operation [13:11] zmbmartin has joined the channel [13:11] caiogondim has joined the channel [13:11] caiogondim has left the channel [13:12] hellp has joined the channel [13:12] sylvinus has joined the channel [13:12] c4milo1 has joined the channel [13:12] brianseeders has joined the channel [13:12] enmand has joined the channel [13:13] eb4890 has joined the channel [13:13] sechrist has joined the channel [13:14] tuhoojabotti: i know [13:14] erichynds has joined the channel [13:14] bshumate has joined the channel [13:14] bshumate has joined the channel [13:15] k1ttty has joined the channel [13:16] Keto has joined the channel [13:16] Keto: hi there [13:16] __doc__ has joined the channel [13:17] Keto: there is some way to use node.js to be a client that connects to a C# socket server? [13:17] tuhoojabotti: Sure why not [13:17] tuhoojabotti: Keto: TCP, UDP? [13:17] Keto: TCP [13:17] tuhoojabotti: simple [13:17] Keto: is there some example? [13:17] tuhoojabotti: http://nodejs.org/docs/v0.6.5/api/net.html [13:18] Keto: so simply create a net.connect? [13:18] tuhoojabotti: I supposed, I've only used UDP so far. :P [13:18] tuhoojabotti: it's pretty simple. [13:18] Keto: and UDP is diferent? [13:18] tuhoojabotti: I guess with TCP you connect then write [13:19] tuhoojabotti: in UDP you just send the stuff and hope it comes through :D [13:19] tuhoojabotti: afaik [13:20] Keto: but how can I send data over UDP with node.js? [13:20] Keto: is good to know too [13:20] Keto: =D [13:20] tuhoojabotti: dgram [13:20] tuhoojabotti: datagram api [13:20] vl4kn0 has joined the channel [13:21] Keto: ohh good to know too [13:21] gavin_hu_ has joined the channel [13:21] Keto: have a lot of diference between UDP and TCP?? speed, etc..? [13:23] braoru has joined the channel [13:24] happyoink has joined the channel [13:25] happyoink: hi guys. :) [13:25] johnnywengluu has joined the channel [13:26] dr0id: yes? [13:26] happyoink: i'm new to node.js and i'm just wondering how to get npm to work with node.js native .exe install on win7? its installed by the looks of it but no idea how to get it working. [13:27] benlyn has joined the channel [13:28] johnnywengluu has joined the channel [13:29] thinkjson has joined the channel [13:29] johnnywengluu has joined the channel [13:29] thinkjson: Is there someone in here that does Node.js+CouchDB a lot? [13:33] pickels has joined the channel [13:34] JakeyChan has joined the channel [13:34] Ownatik has joined the channel [13:35] BonusWork has joined the channel [13:36] dob_ has joined the channel [13:36] BonusWork: ryah are you around? [13:37] subbyyy has joined the channel [13:37] subbyyy has joined the channel [13:38] fumanchu182 has joined the channel [13:38] jtrudeau has joined the channel [13:39] kriszyp4 has joined the channel [13:40] sifu has joined the channel [13:40] superjudge has joined the channel [13:41] brianc1 has joined the channel [13:41] chia has joined the channel [13:41] superjudge has joined the channel [13:41] geekbri has joined the channel [13:42] ceej_ has joined the channel [13:43] subbyyy has joined the channel [13:43] sineltor has joined the channel [13:45] sreeix has joined the channel [13:46] bnoordhuis has joined the channel [13:46] stagas has joined the channel [13:46] heavysixer has joined the channel [13:48] josh-k has joined the channel [13:49] ccapndave has joined the channel [13:50] CarterL has joined the channel [13:51] jbpros has joined the channel [13:55] hunterloftis has joined the channel [13:55] thinkjson has left the channel [13:56] Heisenmink has joined the channel [13:56] Rushing: any IDE recommendations? are cloud9 or nide worth actually using, or is there some magic aptana/netbeans setup? [13:57] AaronMT has joined the channel [13:57] dannyamey has joined the channel [13:57] tuhoojabotti: c9 bugs alot [13:58] tuhoojabotti: nide seems to work, but I can't really use it as I only have one external port, and if nide uses it I can't :D [13:58] chia has joined the channel [13:59] Rushing: ah, so it's a your-fav-text-editor sort of thing? [13:59] tuhoojabotti: ? [14:00] Rushing: what do you use and consider stable/efficient for dev? [14:01] timbl has joined the channel [14:01] Glenjamin: komodo 7 is ok [14:02] jmar777 has joined the channel [14:03] chia has joined the channel [14:03] tanepiper: Textmate 2 is out :D [14:03] plutoniix has joined the channel [14:03] tanepiper: (p.s. I have never used it, or Textmate) [14:03] iaincarsberg has joined the channel [14:04] tanepiper: But there is also: Vim, Sublime Text 2, Emacs [14:04] ovaillancourt has joined the channel [14:05] pagameba has joined the channel [14:05] Rushing: yeah, just nice to have a really good IDE. saves alot of time looking up API stuff [14:05] chia has joined the channel [14:06] tuhoojabotti: notepad [14:06] alessioalex: Vim is unbeatable [14:06] tuhoojabotti: Rushing: Having 3 monitors makes stuff easy [14:06] alessioalex: and our benevolant dictator @ryah is using it [14:06] alessioalex: :P [14:07] tanepiper: vim has autocompletion, and I've written a package for Sublime Text 2 to provide autocomplete [14:07] tanepiper: although it;s not ideal yet, just need to find time to sit down and improve the format [14:07] albertosh has joined the channel [14:07] jergason has joined the channel [14:08] Rushing: :X how do i start a node process without it taking over my shell? [14:08] loob2 has joined the channel [14:08] ccapndave: rushing: I like Intellij IDEA, or its little brother WebStorm; code completion is the best I've found and it does Coffeescript too if that's your bag [14:08] chia has joined the channel [14:09] willwhite has joined the channel [14:10] creationix has left the channel [14:10] xetorthio has joined the channel [14:10] lazyshot has joined the channel [14:11] Rushing: thanks ccapndave, i'll check 'em out [14:11] chia has joined the channel [14:11] Venom_X has joined the channel [14:11] willwhite has joined the channel [14:12] jmar777: webstorm looked interesting - weren't they implementing support for required modules (e.g., code complete based on require paths)? [14:12] jstash has joined the channel [14:12] herbySk has joined the channel [14:13] ccapndave: jmar777: It might already be in there; I know that maybe 80% of the time the code completion gets it right, which for a dynamic language like JS is quite impressive [14:13] swaj: textmate is all I need :P [14:13] swaj: or sublime [14:13] jmar777: i've been rockin sublime text 2 [14:13] ccapndave: sublime is easy on the eyes, but the code completion isn't up to Intellij [14:13] chia has joined the channel [14:14] jmar777: ya - i think it's more based on word density or proximity (or something like that). it's not really trying to intelligently determine anything [14:15] ccapndave: Right [14:15] hipsters_: text mate 2 alpha went live yesterday [14:15] ccapndave: but on the other hand its very quick and lightweight which is nice [14:15] c4milo has joined the channel [14:15] jjd has joined the channel [14:16] skm has joined the channel [14:16] chia has joined the channel [14:16] Rushing: so...i'm trying nide and it doesn't seem to create any files or folders. anyone have this issue? [14:16] pyparadigm: How can you over ride a static file in Express? [14:17] jmar777: pyparadigm: override? [14:17] jmar777: pyparadigm: as in serve something other than the static file? [14:17] xerox: you'd have to put a middleware before the app.use of express.static [14:17] jmar777: ^^ [14:17] xerox: wait, isn't app.router before that anyway [14:17] pyparadigm: jmar777, for instance, I have it set to server static files, but there is this one JS file I want to handle manually with an app.get for instance and minify it first [14:17] Hounth has joined the channel [14:18] jetienne: https://wiki.mozilla.org/Platform/Features/SPDY will be added to firefox 11 ... we *need* spdy support [14:18] jmar777: pyparadigm: so you want the static file handler to serve the file, but you want another piece of middleware to minify it on the way out? [14:19] pyparadigm: jmar777, yes [14:19] pyparadigm: jmar777, I suppose minify it, then static serve it out [14:20] ChiefWuki has joined the channel [14:20] whitman has joined the channel [14:20] jmar777: pyparadigm: so, basically what xerox said, but you'll still want to call `next()`. let me see if i can find a good example [14:20] ChiefWuki: hey everyone [14:20] xerox: I think it's much easier to serve the file from your route [14:21] xerox: you are going to need to read it to minify it anyway! [14:21] pyparadigm: jmar777, it works, thanks [14:21] pyparadigm: jmar777, I just put next as parameter and called it after it was wrote to file [14:21] ChiefWuki: does anyone have any good example of extending event.prototype [14:21] pyparadigm: xerox, ty too btw [14:22] VeXii has joined the channel [14:22] ChiefWuki: sorry i meant EventEmitter [14:22] lduros has joined the channel [14:22] jmar777: xerox: can't minifying be done in a streaming way? [14:23] jmar777: xerox: so you could stack the middleware w/ cache, minify, and then static middleware [14:23] Rushing: what are the approaches to having multiple sites running on port 80? [14:24] jmar777: xerox: actually i kind of take that back - i guess you can't minify while streaming, you'd have to buffer it, but having the minified version cached should negate the cost of that [14:25] xerox: agreed [14:26] jmar777: Rushing: use 0.8 :p [14:26] ZeepZop has joined the channel [14:26] xerox: 0.8 ??? [14:26] xerox: already [14:26] jmar777: Rushing: right now it might be easiest to reverse proxy w/ nginx or similar. <=0.6 doesn't have great support for that [14:27] jmar777: xerox: i was just joking - 0.8 will be the first stable branch with domain/isolates [14:27] xerox: hah [14:27] xerox: in 0.6 there is cluster [14:27] kazupon has joined the channel [14:27] metalball2 has joined the channel [14:27] xerox: maybe one could hack it on top of that? [14:28] jmar777: Rushing: in theory you can just bind a single server instance to port 80 (or a cluster, per xerox), and then inspect the host in the headers [14:29] NetRoY has joined the channel [14:29] Rushing: jmar777, yeah i thought about that, but then one site crashing would bring all of them down [14:29] EhevuTov has joined the channel [14:29] Rushing: ccapndave, so is webstorm just a subset of IDEA, or is webstorm better at the js intellisense? [14:29] jmar777: Rushing: so i guess you could have several servers running on e.g., 3001, 3002, etc., and then have one instance running on 80 that proxies through to the "real" server [14:30] jmar777: btw, are domains and isolates actually related? i always see them grouped together, so i've started assuming that different domains will run in their own isolate/context/thing. is that true? [14:30] Rushing: thanks jmar777, that sounds like a good option [14:30] ccapndave: Rushing: A subset; there is WebStorm, RubyMine, PhpStorm, etc, and IDEA is the big daddy that can install everything as plugins [14:31] Rushing: cool, and how do you think it stacks up against aptana? [14:31] ccapndave: Rushing: So the intellisense is identical [14:31] ccapndave: Rushing: I gave up on Aptana ages ago :) [14:31] hij1nx has joined the channel [14:32] ccapndave: Rushing: Everytime I install it into my Eclipse it messes it up somehow [14:32] jmar777: Rushing: for the proxy, take a peak at https://github.com/nodejitsu/node-http-proxy [14:32] gut4 has joined the channel [14:32] eeemsi: might i give a hint that the image of nodejs does not fit pretty good on http://jobs.nodejs.org/a/jobs/find-jobs [14:33] jmar777: ccapndave: same. i've always had to install the standalone distribution [14:33] eeemsi: different colors… ;) [14:33] xetorthio has joined the channel [14:33] rwaldron has joined the channel [14:33] jmar777: anyone know why the menu is where it is on the redesign? [14:33] fermion has joined the channel [14:34] jmar777: i generally dig it - just think that's a bit of a usability snag [14:35] neurodrone has joined the channel [14:35] ccapndave: jmar777: Yeah, and Eclipse is too heavy and annoying to configure to have multiple installs hanging around [14:35] nakort has joined the channel [14:35] postwait has joined the channel [14:36] mnutt has joined the channel [14:36] jmar777: Rushing: oh ya - this one looked good too: https://github.com/substack/bouncy [14:38] SamuraiJack_ has joined the channel [14:38] lduros has joined the channel [14:39] thomblake has joined the channel [14:39] doki_pen: is there a library that will let me asign it a bunch of callbacks then call my callback when all the other callbacks are finished? [14:40] criswell has joined the channel [14:40] nakort has joined the channel [14:40] augustl: doki_pen: sure, libraries implementing the promise pattern typically do that [14:41] ccapndave: jmar777: Eclipse just hit me with an "out of memory error has occurred", for example ;) [14:41] jmar777: doki_pen: https://github.com/joyent/node/wiki/modules#wiki-async-flow [14:41] innociv has joined the channel [14:42] doki_pen: thanks guys [14:42] augustl: doki_pen: http://pastie.org/3010565 [14:42] augustl: that's how most promise libraries work [14:42] doki_pen: wow, lots. any recommendations? [14:42] augustl: a promise is just an object that lets outsiders observe "success" and "failure" [14:42] k1ttty has joined the channel [14:42] augustl: so it's a bit better than a plain callback since there's a standard way of differentiating success and failure [14:43] doki_pen: augustl: but does doThings() take a callback? [14:43] augustl: doki_pen: I'll show you, sec [14:44] swaj: sigh, I hate the GPL. [14:44] augustl: doki_pen: updated the pastie, http://pastie.org/3010565 [14:45] augustl: doki_pen: doThing can take a callback, that's up to you [14:45] augustl: doki_pen: the important part is that you create a promise object, and call either resolve or reject on it [14:45] augustl: when all the promises are ehtier resolved or rejected, myPromiseLib.all will trigger [14:45] doki_pen: ah, cool [14:45] augustl: so basically, myPromiseLib.all just listens for reject or resolve to be called [14:46] swaj: I wish everything was MIT/BSD [14:46] Poetro has joined the channel [14:47] thomblake has left the channel [14:47] augustl: doki_pen: and obviously you can inline whatever doThing does in the for loop [14:48] augustl: doki_pen: http://pastie.org/3010593 for example ;) [14:48] augustl: back to work.. [14:50] doki_pen: thanks [14:50] ENTBSAWTBRT has joined the channel [14:52] Poetro has joined the channel [14:52] chia has joined the channel [14:53] kazupon has joined the channel [14:53] satyr has joined the channel [14:54] franky_ has joined the channel [14:54] esmevane has joined the channel [14:54] JasonJS has joined the channel [14:55] SamuraiJack_ has joined the channel [14:55] guy has joined the channel [14:55] chia has joined the channel [14:55] swestcott has joined the channel [14:55] guy: anyone know where can I find less.js changelog? [14:56] tuhoojabotti: internet [14:56] tuhoojabotti: A wild bet [14:58] stagas: Rushing: I just published a reverse proxy for running many apps on port 80 http://github.com/stagas/nploy should install with -g [14:58] stagas: Rushing: actually uses nodejitsu's http-proxy [14:59] stagas: Rushing: it's an early release but you can try it out, it works [15:00] lduros has joined the channel [15:00] booyaa: tuhoojabotti++ [15:00] mbrevoort has joined the channel [15:00] JasonJS has joined the channel [15:01] tuhoojabotti: booyaa! [15:01] booyaa: indeed [15:01] bearnard has joined the channel [15:02] Keto has joined the channel [15:02] tuhoojabotti: You saw what I did there. [15:02] Keto: Hi there, anyone here can help me with node.js and socket.io? [15:02] tuhoojabotti: Keto: #socket.io? [15:03] jimt has joined the channel [15:03] Keto: i tried there, but no1 answear there =/ [15:03] sylvinus_ has joined the channel [15:03] franky_ has joined the channel [15:03] jjd has left the channel [15:04] tuhoojabotti: Keto: Well, usually just asking is the best approach on getting help online. [15:04] tuhoojabotti: Asking about asking is not very effective. [15:04] Xano has joined the channel [15:04] Keto: i asked there, but here, i dont want to mix the subjects.... like talking in the worng chanel =D [15:04] realguess has joined the channel [15:04] tuhoojabotti: It's fine [15:04] tuhoojabotti: I asked about nodejs on ubuntu channel once. [15:04] tuhoojabotti: :D [15:05] Keto: but is simple if u know socket.io how can I send an array of bytes with socket.io? [15:05] Keto: =D [15:05] Keto: every example i see is sending string [15:05] tuhoojabotti: turn the array into json? [15:06] Phlogistique: tuhoojabotti: it's an array of bytes! [15:06] davidwalsh has joined the channel [15:07] tuhoojabotti: Well perhaps something like base64 is better 8) [15:07] einaros: Keto: what are you trying to send, and between what client/server? [15:07] jerrysv has joined the channel [15:07] tuhoojabotti: sounds like a buffer to me [15:08] Keto: im tring to send between client/server [15:08] einaros: right, well I added binary support to socket.io's websocket transports a month or so back [15:08] tuhoojabotti: cool [15:08] einaros: but we're still undecided on how to support it for all transports [15:08] lazyshot_ has joined the channel [15:08] joshkehn has joined the channel [15:09] tuhoojabotti: roger_raymond: Who told you to change your nickname when you're sleeping? :u [15:09] kishoreyekkanti has joined the channel [15:09] einaros: Keto: if you want to do ArrayBuffer / FloatArray / etc sends right now, you could try my 'ws' module (https://github.com/einaros/ws) [15:09] Skaag has joined the channel [15:09] einaros: that is, until we bring it properly into socket.io / websocket.io [15:09] nbaldwin has joined the channel [15:10] joshkehn has left the channel [15:10] tuhoojabotti: einaros: I knew your nick sounded familiar. [15:10] einaros: 'ws' is mainly a websocket client / protocol implementation, but I've also added a server to it, so it should enable you to send arraybuffers to the latest chrome [15:10] Keto: humm [15:11] Keto: what about to convert it to a string, and then convert back to a array bytes? [15:11] Keto: enconding in base64? [15:12] einaros: sure, you can base64-encode it. it'll be slow as a fudge, though [15:12] tuhoojabotti: Keto: It's all about speed and effiency [15:12] tuhoojabotti: Depends on what you're doing [15:12] Keto: so no encoding [15:12] Keto: i need the faster solution [15:12] tuhoojabotti: I'll probably use einaros' ws for my webgl game [15:13] Keto: a guy in socket.io channel told me I can use socket.emit('test', [0x00, 0x01, 0xFF]); [15:13] tuhoojabotti: that' will probably convert it to json [15:13] tuhoojabotti: :P [15:13] einaros: yep [15:13] roger_raymond: tuhoojabotti: sorry, i think it's automatic when i'm away... let me check my settings [15:13] tuhoojabotti: roger_raymond: Using /away is nice and subtle [15:13] Keto: but will it work? slow? [15:13] tuhoojabotti: Keto: Depends on what you're doing. [15:13] tuhoojabotti: "sending data" [15:13] einaros: it'll work (granted that you convert it back to an arraybuffer / whatever you need), but it'll be slow [15:14] Keto: humm [15:14] chia has joined the channel [15:14] Keto: so, unless I use ws i cant make it fast [15:15] Squeese has joined the channel [15:15] roger_raymond: tuhoojabotti: was a znc plugin - i turned it off - sorry to upset you - cheers [15:15] einaros: ws was written to be very fast (and can round-trip 100MB of binary data in just over one second), but I haven't had time to expose a widely supported server for it [15:15] soFarAslant has joined the channel [15:15] k1ttty has joined the channel [15:15] tuhoojabotti: roger_raymond: irssi ftw. ;-) [15:15] einaros: websocket.io will be that server, when the 'time' situation improves :) [15:15] chia has joined the channel [15:16] roger_raymond: i've used irssi before but now i just let znc log me in on my server and i can use whatever client i want [15:16] roger_raymond: currently using linkinus @work [15:16] roger_raymond: was tired of using screen or other alternatives :) [15:17] Keto: so i think ill try ur ws out [15:17] Keto: couse i cant lose speed [15:17] tuhoojabotti: Keto: What are you doing? webgl game? [15:18] chia has joined the channel [15:19] chia has joined the channel [15:20] chrisvwebdev has joined the channel [15:22] diogogmt has joined the channel [15:22] Morkel: is it possible to build an app like this with node.js http://fakeapp.com/ [15:22] Morkel: with no gui [15:23] JulioBarros has joined the channel [15:24] icebox_ has joined the channel [15:24] jergason has joined the channel [15:24] Swimming_Bird has joined the channel [15:24] issackelly_ has joined the channel [15:24] chia has joined the channel [15:25] tuhoojabotti: zombie.js? [15:25] kmiyashiro has joined the channel [15:25] joestein has joined the channel [15:26] luoluoluo has joined the channel [15:26] NetRoY has joined the channel [15:27] Morkel: tuhoojabotti: but after 6/7 Steps you have so many callbacks [15:27] tuhoojabotti: You're doing it wrong. [15:27] confoocious has joined the channel [15:27] mmalecki: tuhoojabotti++ [15:27] catb0t: tuhoojabotti now has 1 beer [15:27] jtsnow has joined the channel [15:27] tuhoojabotti: Morkel: https://github.com/caolan/async [15:27] mehlah has joined the channel [15:28] mmalecki: and functions. [15:28] tuhoojabotti: Yes, functions. [15:28] tuhoojabotti: functions<3 [15:28] mmalecki: take a look at nodejitsu code, it's pretty well structured [15:28] booyaa: hey guys complete off topic, but what type of encoding is this? \u7B2C\u4E00\u540D\u79F0\uFF1A [15:28] booyaa: i thought it was html entities, but it would appear not [15:28] tuhoojabotti: unicode? [15:28] mmalecki: booyaa: weird? [15:29] Glenjamin: looks like 4 unicode codepoints [15:29] booyaa: i was setting up some localized files, tried copying some sample simplified (least i think it is) chinese. all i got was some crazy ass boxes. [15:30] booyaa: then i saw this example which worked [15:30] booyaa: unicode eh? okay time to google [15:30] tuhoojabotti: yeah [15:30] tuhoojabotti: Yeah [15:30] tuhoojabotti: oops [15:30] Aikar: https://s-hphotos-sea1.fbcdn.net/hphotos-snc7/375284_253898831339575_100001583812569_742394_1416264720_n.jpg [15:32] CIA-109: node: 03Ben Noordhuis 07v0.6 * re90db17 10/ src/node_file.cc : fs: fix typo in error message - http://git.io/yDofjA [15:32] CIA-109: node: 03Ben Noordhuis 07v0.6 * rb1b3dc6 10/ (lib/fs.js test/simple/test-fs-read-stream.js): [15:32] CIA-109: node: fs: handle fractional or NaN ReadStream buffer size [15:32] CIA-109: node: Fixes #2320. - http://git.io/uE8AFQ [15:32] nibblebot has joined the channel [15:32] chrisvwebdev has left the channel [15:32] tuhoojabotti: booyaa: hmm [15:33] tuhoojabotti: booyaa: I got it :D [15:33] tuhoojabotti: booyaa: console.log("\u7B2C\u4E00\u540D\u79F0\uFF1A".replace('u', '%')); [15:33] tuhoojabotti: well unescape that [15:33] andersonjuhasc has joined the channel [15:34] tuhoojabotti: hmm [15:34] tuhoojabotti: what did I just do [15:34] tomlion has joined the channel [15:34] andersonjuhasc: Hello, someone uses VIM? [15:34] tuhoojabotti: I meant console.log(unescape("\u7B2C\u4E00\u540D\u79F0\uFF1A".replace('\\', '%'))); [15:34] mmalecki: I do. also, it's best to just ask [15:35] willwhite has joined the channel [15:35] tuhoojabotti: booyaa: escape escapes with %u not \u, but it's the same. [15:36] eeemsi: andersonjuhasc: is there something else? ;) [15:36] booyaa: lemme stick that code in here [15:36] devaholic has joined the channel [15:36] jomoho has joined the channel [15:36] tuhoojabotti: booyaa: Perhaps /\\u\d\d\d\d/ is better [15:37] dambalah has joined the channel [15:37] joshsmith has joined the channel [15:38] andersonjuhasc: I'd like to run this function VIM on windows, can anyone help? http://jsfiddle.net/andersonJuhasc/zdgbX/1/ [15:38] tuhoojabotti: booyaa: Chrome's console unescapes that automaticly. :D [15:38] tuhoojabotti: I think js should too hmm [15:38] tuhoojabotti: dunno [15:38] andersonjuhasc: eeemsi: can you help me to use this function in windows? http://jsfiddle.net/andersonJuhasc/zdgbX/1/ [15:39] mmalecki: lol, windows. andersonjuhasc: you need lessc to be in your path [15:39] zemanel has joined the channel [15:39] galaxywatcher has joined the channel [15:40] wmage has joined the channel [15:40] andersonjuhasc: mmalecki: not understand [15:41] mmalecki: andersonjuhasc: can you call lessc from the command line? [15:41] andersonjuhasc: mmalecki: yes [15:42] roger_raymond has joined the channel [15:42] luoluoluo: ho [15:42] fumanchu182 has joined the channel [15:42] mmalecki: andersonjuhasc: ok, why wouldn't it work in vim, then? [15:43] andersonjuhasc: mmalecki: sorry. I can't call lessc [15:43] EyePulp has joined the channel [15:44] andersonjuhasc: mmalecki: how to configure less.js for this in windows? [15:44] OmidRaha has joined the channel [15:44] mmalecki: andersonjuhasc: ok, then you should add the folder it's in to the PATH. [15:44] mmalecki: how did you install less? [15:44] AAA_awright: percent-encoding encodes bytes not code points [15:45] cronopio has joined the channel [15:45] icebox_: andersonjuhasc: http://blog.dotsmart.net/2010/11/26/running-the-less-js-command-line-compiler-on-windows/ [15:45] BonusWork has joined the channel [15:46] AAA_awright: booyaa tuhoojabotti: You realize \uxxxx and \Uxxxxxxxx is a Javascript escape sequence, right? [15:46] BonusWork: bnoordhuis: can you give https://github.com/joyent/node/issues/2274 a second look [15:46] andersonjuhasc: humm [15:46] superjudge has joined the channel [15:47] bnoordhuis: BonusWork: why? [15:47] andersonjuhasc: icebox_: but as I use this code to work on windows? http://jsfiddle.net/andersonJuhasc/zdgbX/1/ [15:48] braoru has joined the channel [15:48] dexter_e has joined the channel [15:49] icebox_: andersonjuhasc: that code may be inserted in your _vimrc file [15:50] andersonjuhasc: icebox_: ok, thx man for your help [15:50] fumanchu182 has joined the channel [15:51] icebox_: andersonjuhasc: when you have inserted that code in you _vimrc file, when you save a buffer, that function, containing lessc command, is called [15:51] andersonjuhasc: mmalecki: thx ;) [15:52] colinclark has joined the channel [15:52] prettyrobots has joined the channel [15:52] icebox_: andersonjuhasc: the toolchain should be: lessc running in windows console, inserting vim code in your config file, saving a buffer [15:52] Poetro1 has joined the channel [15:52] craigm has joined the channel [15:54] BonusWork: bnoordhuis: it doesnt work on windows with folders [15:54] dilvie has joined the channel [15:55] andersonjuhasc: icebox: ok, thx man I understand [15:55] icebox: andersonjuhasc: you are welcome [15:56] BonusWork: bnoordhuis: it seems like the type of the source is not termined correctly - it only generate file symlinks [15:56] bnoordhuis: BonusWork: can you update your comment and make it action/expected/actual? i read it as 'works as expected' [15:57] tuhoojabotti: AAA_awright: I haven't looked into encoding. [15:57] AAA_awright: tuhoojabotti: You don't know about backslash escaping and Unicode in Javascript? [15:58] tuhoojabotti: Well now that you put it that way.. [15:58] tuhoojabotti: :D [15:58] sechrist_ has joined the channel [15:58] neurodrone has joined the channel [15:58] tuhoojabotti: In json its's \u and 4 hexadecimal digits [15:58] tuhoojabotti: pizza -> [15:59] nicholasf has joined the channel [15:59] sorensen__ has joined the channel [15:59] chia has joined the channel [15:59] sechrist has joined the channel [15:59] jerrysv: tuhoojabotti: 第一名称: [16:00] jtgiri_ has joined the channel [16:00] AAA_awright: Javascript strings are a series of Unicode code points, which is problematic if you're working with binary data, which is the very reason we have Uint8Array and Buffer. Also, 第一名称. [16:00] jerrysv: First Name [16:00] jerrysv: tuhoojabotti: http://rishida.net/tools/conversion/ -- see "Javascript Escapes" at the bottom if you just want to use a tool [16:01] BonusWork: bnoordhuis: updated - http://msdn.microsoft.com/en-us/library/windows/desktop/aa363866%28v=vs.85%29.aspx it seem like the value for dwFlags is incorrectly [16:02] bnoordhuis: BonusWork: reopened [16:02] BonusWork: bnoordhuis: ty [16:03] jocafa has joined the channel [16:04] brianloveswords has joined the channel [16:05] ryan_stevens has joined the channel [16:05] p1d has joined the channel [16:06] chia has joined the channel [16:08] TheJH has joined the channel [16:09] brianc1 has joined the channel [16:09] vvo has joined the channel [16:09] chia has joined the channel [16:10] brianc1: I just got hired to a node.js job [16:10] booyaa: yay! [16:10] brianc1: yay! [16:10] mnutt has joined the channel [16:10] booyaa: brianc1: fuck yeah! [16:10] booyaa: the other yay was for me [16:10] brianc1: thanks to the node.js team for creating a new industry segment! [16:10] booyaa: finally found a tool to take 当前语言 and turn it into \u5f53\u524d\u8bed\u8a00 [16:10] brianc1: (and the most bodacious web stack since sliced bread) [16:11] devongovett has joined the channel [16:11] booyaa: brianc1: dude we're all going to have big yachts and super model girls [16:11] brianc1: haha [16:11] PhilK has joined the channel [16:11] booyaa: or guys don't want to discriminate [16:11] diversario has joined the channel [16:12] chia has joined the channel [16:12] augustl: booyaa: wait, what? [16:12] augustl: booyaa: why do you need to translate it to a string literal? [16:13] SoulRaven has joined the channel [16:13] Edy has joined the channel [16:13] booyaa: no doubt i'm doing this arse about face. going to ask one of my colleagues who speaks japanese to provide some localized text [16:13] tuhoojabotti: jerrysv, AAA_awright: It was booyaa, who asked. [16:13] konobi: locale-maketext++ [16:13] booyaa: i suspect it'll be encoded 当前语言 [16:14] booyaa: i tried to use this directly in a non-node.js related code and it got garbled. [16:14] augustl: talking about encoding by using encoded characters via a system with configurable decoding is nasty :) [16:14] kmiyashiro has joined the channel [16:14] booyaa: eventually i found out these use this notation \u5f53\u524d\u8bed\u8a00 which is unicode? [16:15] booyaa: then tuhoojabotti points out that unicode to html is just a case of replacing some characters i think it's the \uHEX with &#HEX;? [16:15] tuhoojabotti: well [16:15] booyaa: yeah to be honest i'm still confused...need to play around with this more [16:15] augustl: sounds like you should work more with buffers and less with strings [16:15] chia has joined the channel [16:16] tuhoojabotti: booyaa: That was url encoding with %u [16:16] booyaa: ah oh okay that's not the same right? [16:16] tuhoojabotti: yeah [16:16] bearnard has joined the channel [16:16] devaholic: http://teespring.com/nodejs [16:16] tuhoojabotti: damn that unicode [16:16] tuhoojabotti: it breaks my url-regexp on the shell [16:17] tuhoojabotti: :D [16:17] otakutomo has joined the channel [16:19] booyaa: well looks like js escaped unicde is html entities (hex) with a few char swaps [16:20] booyaa: \uHEX => &#HEX; [16:20] jakehow has joined the channel [16:21] craigm has joined the channel [16:21] mandric has joined the channel [16:21] augustl: are you scanning javascript source code or something? [16:22] Renegade001 has joined the channel [16:22] augustl: it's a syntax thing so you can't look for \uHEX in strings in runtime [16:22] augustl: you won't know if a multibyte character came from a literal or String.fromCharCode(0x0102) or whatever [16:23] augustl: booyaa: ^^ [16:24] fatjonny has joined the channel [16:26] hij1nx has joined the channel [16:26] jaequery has joined the channel [16:26] sdwrage has joined the channel [16:27] chia has joined the channel [16:28] ritch has joined the channel [16:28] ritch has left the channel [16:29] albertosh has joined the channel [16:30] OmidRaha has left the channel [16:30] vvo has joined the channel [16:32] ph^ has joined the channel [16:32] ajpiano has joined the channel [16:34] N0va` has joined the channel [16:35] caolanm has joined the channel [16:36] davidsklar has joined the channel [16:36] kenperkins has joined the channel [16:36] SamuraiJack_ has joined the channel [16:37] isaacs has joined the channel [16:37] drudge has joined the channel [16:38] jbpros has joined the channel [16:38] Destos has joined the channel [16:39] nibblebo_ has joined the channel [16:40] ivanfi has left the channel [16:41] TimTimTim has joined the channel [16:41] TimTimTim: helloo [16:43] madhums has joined the channel [16:43] redir_ has joined the channel [16:43] booyaa: augustl: i /think/ i'm messing around with java/jsf property files for localization [16:44] booyaa: i say think because xpage (ibm technology) appears to built on this stuff [16:45] jelveh has joined the channel [16:45] kenperkins has joined the channel [16:45] vvo has joined the channel [16:46] TimTimTim: quick question: i'm debating on converting everything serverside from php to node+socket.io because i'd like my apps to be realtime... the majority of the functionality/code is clientside, so only roughly 1000 lines of code serverside... i'm curious as to how feasible it would be to rewrite everything in node.js and what kinds of "gotchas" i would need to look out for [16:46] fzzzy has joined the channel [16:47] drudge: is anyone using mongoose express on railway? [16:47] Industrial: well if its only 1000 lines, punch that sucker out and try it? :D [16:47] TheJH: TimTimTim, you can write your own server code. also, everything is one big process, and currently, one big error makes the whole thing go down [16:47] TheJH: TimTimTim, so be careful [16:47] bradleymeck has joined the channel [16:47] ank has joined the channel [16:48] Rushing has joined the channel [16:48] TheJH: TimTimTim, also, make sure not to make any mistakes that open security holes (you have the same problem in PHP, but with different things to watch for) [16:49] TimTimTim: and i'm also wondering about whether or not i would have to rewrite a hefty portion of php's native functions in node.js, mainly things like array manipulation, string manipulation, file reading/writing, memcached, and mail functions [16:49] brianthecoder has joined the channel [16:49] TimTimTim: i'm sure there are some node.js libraries out there but i would prefer to keep everything to a minimum (don't want a bunch of extra fluff) [16:49] Industrial: that's writing PHP in javascript then, right? :P Aren't you already doing thise things on the front end already with js? [16:51] TimTimTim: well i'm not doing any file i/o, memcached, and mail client side [16:52] TimTimTim: i mentioned array/string manip so maybe i can get a feel for where node.js stands with its native functions for all that [16:53] gerard0 has joined the channel [16:53] pizthewiz has joined the channel [16:53] CoffeeIV has joined the channel [16:53] sorensen__ has joined the channel [16:54] _sorensen_ has joined the channel [16:54] bradleymeck: TimTimTim, https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array [16:54] Phlogistique: 17:52:21 < TimTimTim> i mentioned array/string manip <- this, you get the same as in the browser, plus underscore.js [16:54] Phlogistique: (if you want underscore.js) [16:54] chjj: TimTimTim: what are you asking exactly? what the php -> js conversion table would be? [16:54] TimTimTim: ah ok, so nothing extra natively? [16:55] chjj: TimTimTim: javascript is a really lightweight language actually [16:55] Phlogistique: TimTimTim: yes there is some extra natively [16:55] Phlogistique: but not on generic string/array stuff [16:55] chjj: TimTimTim: php probably has a ton of functions more than js [16:55] chjj: but theres nothing that cant be done [16:56] bradleymeck: TimTimTim, you get stuff that is more modern than what you will see when you need to use browser cross compat, a lot has changed since IE6 but a lot of non JS gurus think you have to use IE6 style code [16:56] TimTimTim: yeah php is way overkill for a lot of stuff but that's what makes it easier/quicker to knock out stuff here and there (sometimes) [16:56] Phlogistique: now TimTimTim you _will_ need an external library for mail and memcached in node.js [16:56] TimTimTim: Phlogistique: cool good to know thanks :) [16:56] TimTimTim: i guess what i'm REALLY wondering is whether or not i should go ahead and convert everything to node.js or leave some as PHP and only use node.js for the realtime functionality [16:57] chjj: yeah, i was specifically referring to string/array manipulation with what i said before [16:57] zomgbie has joined the channel [16:57] chjj: TimTimTim: i would say dont do the "node as a side dish" thing, but im biased [16:57] Phlogistique: TimTimTim: one thing to know if you prolly do _not_ want to run node.js behind a reverse proxying apache [16:58] TimTimTim: i'm leaning towards full conversion... likely more efficient than php plus easier to maintain, as i won't need to worry about what's what [16:58] TimTimTim: yeah i'm using nginx [16:58] TimTimTim: no apache [16:58] chjj: ive seen a lot of people coming in here asking for help, the worst issues seem to occur when they do node as a side dish [16:58] chjj: they have to come up with weird solutions to share php sessions with node [16:58] chjj: etc [16:58] jtgiri_ has joined the channel [16:58] TimTimTim: yeah i can foresee some issues trying to mix and match [16:59] sorensen__ has joined the channel [16:59] TimTimTim: nginx+node pretty easy to set up? [16:59] GrizzLyCRO has joined the channel [17:00] TimTimTim: and node+socket.io is pretty secure as far as we know right? nothing i really need to account for other than typical input sanitization and xss? [17:00] bradleymeck: uggg php sessions need to be documented on *how* they work, not just ghostly references to them using this or that [17:00] lazyshot has joined the channel [17:01] chjj: nuck is no longer off? [17:01] Nuck: chjj: It is not. [17:01] chjj: nuck: how is the startup? [17:01] Nuck: Good, getting code done faster than ever [17:02] chjj: cool [17:02] TimTimTim: what's your startup O:) [17:02] booyaa: tuhoojabotti++ # finally understand the whole escape thing now :D [17:02] jocafa: anyone using Diigo? [17:02] Nuck: TimTimTim: Artuous.com [17:03] Glenjamin: if you have decent application separation, you can just do one module at a time into node [17:03] BillyBreen has joined the channel [17:04] grampajoe has joined the channel [17:04] tingham has joined the channel [17:04] norviller has joined the channel [17:05] Rushing: ccapndave, if you're still around, how do i install webstorm into IDEA? does the webstorm download do that, or do i need to find the plugin? [17:05] ccapndave: Rushing: IDEA actually comes with all the bits by default [17:05] bnoordhuis: man, HN is really going downhill... http://news.ycombinator.com/item?id=3347457 <- already covered by slashdot yesterday. slashdot! [17:05] trotter has joined the channel [17:05] sreeix has joined the channel [17:06] chjj: bnoordhuis: sometimes the tech subreddit gets it first! [17:06] Rushing: oh, i don't seem to have any "javascript" related stuff [17:06] ccapndave: Rushing: Just make a file with a .js suffix and see what happens [17:06] broofa has joined the channel [17:06] Dmitrijus: bnoordhuis: yes, it is going downhill for a long time now :) [17:06] r1ngzer0 has joined the channel [17:06] bearnmeister has joined the channel [17:07] jtgiri_ has joined the channel [17:07] ccapndave: Rushing: If it asks what editor to open then the javascript stuff isn't installed, if it opens straight away then its already installed [17:08] langworthy has joined the channel [17:08] AndreasMadsen has joined the channel [17:08] tblobaum has joined the channel [17:08] Optimis has joined the channel [17:08] booyaa: augustl++ # i'm almost certain his warning will come back and bite me in the ass [17:09] CIA-109: node: 03Ben Noordhuis 07v0.6 * rd70ef19 10/ (src/node_crypto.cc test/simple/test-crypto.js): crypto: fix memory leaks in PBKDF2 error path - http://git.io/twWRwQ [17:09] jimmysparkle has joined the channel [17:10] perezd has joined the channel [17:10] enigma1 has joined the channel [17:10] Zosk has joined the channel [17:12] idefine has joined the channel [17:12] booyaa: right time to head to the hackspace [17:12] booyaa: :) [17:12] booyaa: good day...so far [17:14] thalll has joined the channel [17:16] nakort has joined the channel [17:17] TimTimTim: node+socket.io is pretty secure as far as we know right? nothing i really need to account for other than typical input sanitization and xss? [17:18] creationix has joined the channel [17:18] TimTimTim: is it bad practice to use sockets for client->server stuff in... say for example... a contact form? [17:19] TimTimTim: or should i stick with posting via ajax for simple stuff like that? [17:19] nakort_ has joined the channel [17:19] Rushing: ccapndave, is there a tree view of these project files or am i stuck with the breadcrumb thing at the top? [17:20] dgathright has joined the channel [17:20] ccapndave: Rushing: There should be a tree view at the top left like http://www.jetbrains.com/idea/img/intellij_idea_new_ui.png [17:20] tingham has joined the channel [17:21] ccapndave: Rushing: You might need to click on the 'Project' button in the left edge to expand it? [17:22] harthur has joined the channel [17:23] tingham: Has anyone seen "Unknown Error 110" when attempting to install modules via npm? ( https://github.com/isaacs/npm/issues/1874 ) [17:23] isaacs: tingham: Errno 101 is "Network is unreachable''. [17:23] springmeyer has joined the channel [17:23] Rushing: yeah, it's there, it's just not really showing any of my directories [17:24] isaacs: tingham: do you have internet access? can node reach out in other ways? try a little test script that requests google.com or something [17:24] broofa has joined the channel [17:24] ccapndave: Rushing: Muck about with the 'Project structure' settings - you might need to add the folders as source folders or something like that [17:25] gr-eg has joined the channel [17:25] ccapndave: Rushing: Just fiddle about - its pretty easy to get set up (compared to Aptana anyway) [17:25] xtianw has joined the channel [17:26] ccapndave: Rushing: Also be sure you are looking at 'View as: Project', not 'View as: Packages' [17:28] TimTimTim: sorry to bump, but google isn't being very helpful right now :| [17:28] TimTimTim: node+socket.io is pretty secure as far as we know right? nothing i really need to account for other than typical input sanitization and xss? [17:28] JHartig|away_ has joined the channel [17:28] TimTimTim: is it bad practice to use sockets for client->server stuff in... say for example... a contact form? [17:28] TimTimTim: or should i stick with posting via ajax for simple stuff like that? [17:28] Keto has joined the channel [17:28] aheckmann has joined the channel [17:29] tingham: isaacs https://gist.github.com/1473032 [17:29] dingomanatee has joined the channel [17:29] ENTBSAWTBRT has joined the channel [17:29] isaacs: tingham: there ya go [17:29] tingham: wget and curl work fine from the cli [17:29] isaacs: tingham: well… somehting's messed up for node :) [17:30] Zosk has joined the channel [17:30] isaacs: what version of node is this? [17:30] tingham: latest tarball from the website [17:30] tingham: 065 I think [17:30] isaacs: node -v [17:30] Keto: hey einaros u there/ [17:30] gut4 has joined the channel [17:30] isaacs: run that % [17:30] isaacs: ^ [17:30] TooTallNate has joined the channel [17:30] tingham: Yeah, 0.6.5 [17:30] isaacs: k [17:30] slajax has joined the channel [17:30] maletor has joined the channel [17:30] Skaag_ has joined the channel [17:30] isaacs: tingham: what kind of network are you on? any weird proxies or ipv6 mumbo jumbo? [17:31] te-brian has joined the channel [17:31] tingham: negatory - this is a pretty standard centos rig in a vmware colo [17:31] dob__ has joined the channel [17:31] hij1nx has joined the channel [17:32] tingham: is there anything out of the ordinary that node requires for networking that wouldn't be installed by default? Gah, what a black box question that is. [17:32] nakort_ has joined the channel [17:33] sdboyer has joined the channel [17:33] sdboyer has joined the channel [17:33] moogoo has joined the channel [17:33] wadey|away has joined the channel [17:34] elliotttf has joined the channel [17:34] malkomalko has joined the channel [17:35] TheJH: tingham, do "dig" and "nslookup" work? [17:35] rauchg has joined the channel [17:35] tingham: TheJH yes they do sir. [17:35] josh-k has joined the channel [17:36] somenickname3212 has joined the channel [17:36] TheJH: tingham, phew... does the http request stuff work if you work with an IP directly so that there's no DNS involved? [17:37] trose has joined the channel [17:37] tingham: sec [17:37] captain_morgan has joined the channel [17:38] tingham: Same error [17:38] isaacs: creationix: good choice on name.com. i've had good results with them. they're only slightly sleazy. [17:38] TheJH: tingham, uh, same? still a DNS error although you specified an IP? [17:38] alvaro_o has joined the channel [17:39] ixti has joined the channel [17:40] xy has joined the channel [17:40] tingham: hah [17:40] TheJH: tingham, ? [17:40] tingham: specifying host: "74.125.45.99" instead of host: "http://74.125.45.99" has a different result [17:40] tingham: I'm not seeing any console output from my handler; but that could just be the invalidity of "arguments" [17:41] TheJH: tingham, aaah :D - yup, the host shouldn't include the protocol :D [17:41] wmage has joined the channel [17:42] lzskiss has joined the channel [17:42] tingham: It looks like the request never returns. [17:42] Destos has joined the channel [17:43] kenperkins: So I'm a little confused: are there currently any modules/options to have a reload worker processes when the code changes in node v0.6x [17:43] lightcap has joined the channel [17:43] ShinyDarkness has joined the channel [17:43] dexter_e_ has joined the channel [17:43] tingham: nodemon works [17:43] TheJH: tingham, either call request.end() [17:43] djbell has joined the channel [17:44] TheJH: tingham, or just use "get" instead of "request" [17:44] tingham: ok - I'm getting 200 back now (sorry I'm still a bit new) [17:44] jtsnow has joined the channel [17:44] Rushing: ccapndave, do you create "projects" or "modules" for your apps? ...sry, this thing is not clicking with me yet [17:44] somenickname1234 has joined the channel [17:44] tingham: So that works okay with an ip address; going to re-test with a domain [17:45] ccapndave: Rushing: I think I make projects, not quite sure. Try both :) [17:45] tingham: TheJH using host: "www.google.com" - also returns 200 [17:46] Rushing: modules wants to put a whole bunch of java crap in my dir...but the IDEA help says a "project" is like an eclipse "workspace", and a "module" is like an eclipse "project" [17:46] Rushing: but either way, i still see no directories in my project panel -_- [17:46] madhums has joined the channel [17:46] EvRide has joined the channel [17:47] jergason has joined the channel [17:47] somenickname1234 has joined the channel [17:48] sdwrage has joined the channel [17:48] petrjanda has joined the channel [17:48] neilk_ has joined the channel [17:49] GrizzLyCRO has joined the channel [17:50] xy has joined the channel [17:50] romanb has joined the channel [17:51] Carter has joined the channel [17:51] dnissley has joined the channel [17:52] towski has joined the channel [17:53] tingham: isaacs do you think this could be caused by a deficiency in my git install or something? [17:54] isaacs: tingham: so, this script that's fetching google and getting a 200. can you change it to request registry.npmjs.org instead? [17:55] _dc has joined the channel [17:57] tingham: isaacs - that causes the error to appear, same as before [17:57] isaacs: tingham: awesome. [17:57] isaacs: tingham: what about `dig registry.npmjs.org` [17:57] isaacs: what does that show you? [17:57] tmartiro_ has joined the channel [17:57] isaacs: ACTION suspects your dns server doesn't know the way to my house [17:57] tingham: registry.npmjs.org. 173 IN CNAME isaacs.iriscouch.net. [17:57] tingham: isaacs.iriscouch.net. 13122 IN A 107.20.159.167 [17:57] tingham: oops, sorry [17:58] isaacs: np [17:58] isaacs: so, it's getting an ip there. [17:58] tingham: forgot this client doesn't do internal CR [17:58] isaacs: yeah, irc doesn't do that [17:58] isaacs: but flooding a little is fine :) [17:59] isaacs: tingham: can you make a request with node to "107.20.159.167"? [17:59] isaacs: does that work? [17:59] Cromulent has joined the channel [17:59] genexp has joined the channel [17:59] demian has joined the channel [17:59] demian: Hi! [17:59] Cromulent has joined the channel [18:00] demian: I have a proble wiyh de node.js pack in ubuntu [18:00] tingham: isaacs negative on ip; running traceroute [18:00] demian: when i trie make install [18:00] sh1mmer: isaacs: is this the mac thing again? [18:00] demian: `make install` is not implemented yet. Bug bnoordhuis about it in #node.js [18:00] makeInstallBot: demian: `make install` is not supported on current node.js `master` due to build system refactor. Please use latest stable tag (v0.6.x). [18:00] isaacs: sh1mmer: no, he's on a linux thing, right tingham? [18:00] mandric has joined the channel [18:01] tingham: isaacs https://gist.github.com/1473032#comments [18:01] tingham: centos [18:01] donald_cook has joined the channel [18:01] demian: thanks but with make test o my own js file all fail, [18:02] cole_gillespie has joined the channel [18:02] isaacs: tingham: ok, so, host: should be just the hostname, not the full url [18:02] isaacs: also, there needs to be a .end() there [18:02] tingham: that gist is out of date [18:03] tingham: I pasted my traceroute, lemme update the gist [18:03] lightcap has joined the channel [18:03] ryan_stevens has joined the channel [18:03] tingham: updated [18:03] xy has joined the channel [18:03] dshaw_ has joined the channel [18:03] qbit_: damn - i want to fork node... but it currently has 1337 forks! [18:04] booyaa: greetins again [18:05] willwhite has joined the channel [18:05] rauchg has joined the channel [18:06] bearnard has joined the channel [18:07] ShinyDarkness has joined the channel [18:07] isaacs: tingham: yeah, some kind of network blockage. [18:09] isaacs: tingham: https://gist.github.com/1473150 [18:09] isaacs: tingham: it's odd that you can get to google, but not iriscouch [18:10] vl4kn0 has left the channel [18:10] isaacs: tingham: can you open up http://107.20.159.167/ in a web browser? what about http://isaacs.iriscouch.net/? [18:10] mmalecki: try something from amazon aws [18:10] mmalecki: afaik, iriscouch is hosted there [18:10] tingham: isaacs both of those work in the browser; incidentally I'm on the same network as that box [18:10] isaacs: can you curl both of those? [18:10] tingham: new code presents the same error [18:10] StanlySoManly has joined the channel [18:10] isaacs: from that box? [18:10] isaacs: the ENOENT? or the errno 110 [18:11] Typo has joined the channel [18:11] Typo has joined the channel [18:11] tingham: 110 [18:11] eeemsi: qbit_: good point ;) [18:11] tingham: curl: Host not found: 107.20.159.167[root@mwp01 ~]# [18:11] eb4890 has joined the channel [18:11] isaacs: tingham: ok, so that's something. [18:11] tingham: iriscouch worked fine [18:12] Cromulent has joined the channel [18:12] isaacs: tingham: ok… but… dig isirscouch.net showed that ip address...? [18:12] tingham: hang [18:12] tingham: one sec [18:12] tingham: too many open terms [18:12] isaacs: so why can it curl iriscouch.net and not the ip? [18:13] tingham: Yeah, okay that was my bad. It can't curl either of those on the affected server. [18:13] tingham: Same error in both cases. [18:13] tingham: I have another box outside of this network that appears to be connecting fine. [18:13] Rushing: ccapndave, fyi, turns out i could create projects/modules on a drive share, but then IDEA didn't want to read them, so i just had to map a drive for the share [18:13] ccapndave: Rushing: Aha :) [18:13] ccapndave: Rushing: Cool [18:13] Rushing: didn't like the \\ip addresses [18:13] tingham: to iriscouch that is - the ip doesn't work on both servers [18:13] Rushing: too often the simple things -_-... [18:14] kenperkins: so is it the recommend best practice to call cluster.fork in the cluster.on('death', ...) handler [18:14] kenperkins: suck that you don't lose all your children processes [18:14] kenperkins: such [18:17] tkaemming has joined the channel [18:18] Morkel has joined the channel [18:18] patcito has joined the channel [18:19] ceej has joined the channel [18:21] smathy has joined the channel [18:22] ShinyDarkness has joined the channel [18:22] dubenstein has joined the channel [18:23] tingham: I'm going to run this up the IT chain here and find out if we have some rogue vendor in place that's blocking traffic or whatever for some reason. [18:23] tingham: bbiab [18:24] willwhite has joined the channel [18:24] Rushing: i like the idea of saying module.exports = MyClass, but then MyClass gets a whole bunch of stuff attached to it [18:24] Rushing: is that considered a no-no? [18:24] TheJH: Rushing, I'd say it's a common practice [18:25] TheJH: Rushing, and there's not really a reason for not doing so [18:25] josh-k has joined the channel [18:27] hipsters_ has joined the channel [18:27] Rushing: well, except sometimes it's useful/good practice to attach things to your constructors [18:28] Rushing: like utilities or metadata [18:28] Rushing: so it seems liek a namespace collision [18:28] langworthy has joined the channel [18:28] rurufufuss has joined the channel [18:29] nibblebot has joined the channel [18:29] lwille has joined the channel [18:29] chrisvwebdev has joined the channel [18:29] chrisvwebdev has left the channel [18:30] chrisdickinson: Rushing: it's pretty much the closest you get to static methods in JS [18:30] chrisdickinson: (I'm a fan of attaching certain things to the constructor function -- especially registries) [18:31] Zosk has joined the channel [18:31] Renegade001 has joined the channel [18:31] chrisdickinson: the only place i think it might bite you is if two different modules require your package at different versions. they'd get two different constructors, and thus two different registries. [18:31] localhost has joined the channel [18:32] Ownatik has joined the channel [18:33] ccallahan has joined the channel [18:34] ccallahan: Is there a way to take a JSON object value and make it a variable? [18:34] pickels has joined the channel [18:34] insin has joined the channel [18:35] andy_f has joined the channel [18:35] ShinyDarkness: ccallahan: Do you mean deserializing a JavaScript object from a JSON string? [18:35] ccallahan: I think so. [18:36] ShinyDarkness: According to Google: JSON.parse [18:36] mikeal has joined the channel [18:36] ShinyDarkness: javascriptObject = JSON.parse(jsonString); [18:36] ccallahan: Thanks. [18:36] pizthewiz has joined the channel [18:37] djbell has joined the channel [18:37] ShinyDarkness: ccallahan: yw, but try it first, maybe I am wrong, I am a total noob when it comes to Javascript. [18:37] fangel has joined the channel [18:37] ccallahan: Okay [18:37] JaKWaC has joined the channel [18:40] aaronmcadam has joined the channel [18:41] jomoho has joined the channel [18:41] aaronmcadam has joined the channel [18:42] galaxywatcher has joined the channel [18:42] JaKWaC has joined the channel [18:43] Drakonite has joined the channel [18:43] canadian_marc has joined the channel [18:43] elliotttf has joined the channel [18:43] canadian_marc has left the channel [18:45] AvianFlu has joined the channel [18:45] mcluskydodallas has joined the channel [18:45] drudge: is there anyone here using railwayJS? [18:45] perezd: cd into a folder with a package.json and hitting npm install should create a node_modules folder in that same path and install to there, correct? [18:46] trose: brianc1, any idea what could be causing this in pg? https://gist.github.com/1473304 [18:46] Keto has joined the channel [18:46] trose: brianc1, so far it seems to be happening when i overwhelm the server with a lot of requests [18:47] Keto: Hi there... [18:47] Keto: in the function socket.write() [18:47] perezd: also, can I kill the cache? [18:47] Keto: can I send an array of bytes? [18:47] perezd: in npm [18:47] perezd: so that it doesn't try to save it to $HOME/.npm [18:47] reid has joined the channel [18:47] chrisdickinson: perezd: if you cd into a folder with a package.json, and type npm install... it should create a node_modules dir, yes. [18:47] chrisdickinson: ACTION tests. [18:47] perezd: excellent [18:48] perezd: I see there is a way to configure node to ignore the $HOME/.npm [18:48] chrisdickinson: perezd: oh, that's one caveat. [18:48] isaacs: perezd: npm cache clean [18:48] perezd: yeah, I want it to never write a cache basically [18:48] isaacs: perezd: you can configure the location of this cahce folde rwith the "cache" config [18:48] perezd: yeah /dev/null [18:48] isaacs: perezd: um.. not an option. [18:48] isaacs: perezd: that's where it unpacks tarballs. [18:48] isaacs: you cna't not have a cache. [18:48] perezd: oh okay. [18:48] isaacs: it's a working dir [18:48] perezd: I'll put it somewhere else then [18:49] franciscallo has joined the channel [18:49] perezd: thx! [18:49] chrisdickinson: isaacs: wait, a question: if you ``npm install`` in a dir with a package.json, and the dir above you has a ``node_modules`` dir, does it create a new, local node_modules, or does it install into the one above? [18:49] chrisdickinson: if you're just typing npm install in that situation, it goes into the one above, but is the behavior different for package.json's? [18:50] Nuck: Ugh. Now that I actually want to try writing a unit test, I find that al the unit testing frameworks suck incredibly hard [18:50] chrisdickinson: (i've never actually run into this problem, just sort of a thought experiment.) [18:50] isaacs: chrisdickinson: either the presence of node_modules or package.json will root npm [18:50] chrisdickinson: cool. thanks! [18:52] albertosh has joined the channel [18:52] brianloveswords has joined the channel [18:52] adrianF has joined the channel [18:52] Keto has joined the channel [18:52] Keto: hi there im back [18:53] Keto: How can I send an array of bytes in a net.Socket [18:54] nakort has joined the channel [18:54] Keto: How can I send an array of bytes in a net.Socket??? [18:56] tmm1 has joined the channel [18:57] mike5w3c_ has joined the channel [18:57] josh-k has joined the channel [18:57] tingham: new chat clients ftL [18:57] tingham: Did I miss any amazing insights? [19:00] tjfontaine: something about urmom and elderberries [19:00] patcito has joined the channel [19:00] tingham: ACTION cries. [19:00] wmage has joined the channel [19:01] klatchbaldar has joined the channel [19:01] gregmoreno has joined the channel [19:01] sebastianedwards has joined the channel [19:01] czak has joined the channel [19:02] sarlalian has joined the channel [19:02] klatchbaldar: I just installed node on Mac using the installer [19:02] czak: hi [19:02] klatchbaldar: hi [19:02] yaron_ has joined the channel [19:02] klatchbaldar: but when try npm -v [19:02] czak: can someone point me to a decent (& recent) guide on node.js deployment options? [19:02] EyePulp: whoa - http://blog.macromates.com/2011/textmate-2-0-alpha/ [19:02] klatchbaldar: I try sorry [19:02] EyePulp: the end is nigh [19:02] klatchbaldar: it throws an error [19:02] Graphikos has joined the channel [19:03] yaron-na has joined the channel [19:03] klatchbaldar: any thoughts? [19:04] czak: klatchbaldar: how did you install node? [19:04] czak: and what's the error? [19:04] djbell has joined the channel [19:04] Graphikos: would it be possible to run a TCP server and a faye server from the same script (on different ports)? I need to relay information from TCP to faye and not sure the best way to do it. [19:04] salva1 has joined the channel [19:04] klatchbaldar: I installed through the .pkg [19:05] tingham: klatchbaldar what's the error? [19:05] klatchbaldar: getting node.js:201 [19:05] klatchbaldar: Error: No such module [19:05] appinsanity-mike has joined the channel [19:05] klatchbaldar: node -v gives me "v0.6.5" [19:05] tingham: which osx? [19:06] yaron-na: hello there , can someone send me a link to an article that really explains the benefits of Node.js, i really want to understand how it can handle more connections than other platforms [19:06] gsmcwhirter has joined the channel [19:06] hunterloftis has joined the channel [19:06] Graphikos: yaron-na: http://zgadzaj.com/benchmarking-nodejs-basic-performance-tests-against-apache-php [19:06] garrensmith has joined the channel [19:06] klatchbaldar: 10.7.2 (11C74) [19:08] klatchbaldar: I am in /usr/local/bin [19:08] tingham: ACTION Io:~ tingham$ npm debug -1.1.0-alpha-2 [19:08] klatchbaldar: and see node and npm [19:09] jbpros has joined the channel [19:09] yaron-na: Graphikos - thankx [19:09] neilk_ has joined the channel [19:10] `3rdEden has joined the channel [19:11] innociv_ has joined the channel [19:11] Graphikos: would it be possible to run a TCP server and a faye server from the same script (on different ports)? I need to relay information from TCP to faye and not sure the best way to do it. [19:11] gkatsev: you can run multiple servers in the same script [19:11] czak: Graphikos: I'm pretty sure it would be, I'm running http(express) and faye in the same script [19:11] Graphikos: ok... nothing tricky about it then? [19:11] czak: or maybe that's not a good example since faye uses http [19:11] EyePulp: Graphikos: yes, that's quite easy to do [19:11] gkatsev: nope, just make sure the ports are different [19:12] czak: but anywya, I guess no problem [19:12] Graphikos: ok great.. I'll investigate further. thanks. [19:12] nrajlich has joined the channel [19:12] czak: guys I have a clean ubuntu vps and deploying my first node app onto it [19:12] czak: what is the current best approach for node.js production deployment? [19:13] czak: do i use anything in front of node? [19:13] czak: like nginx or haproxy [19:13] gkatsev: your choice [19:13] czak: or just direct on port 80? [19:13] mmalecki: czak: SubStack and dominictarr have a pretty set of tools [19:13] mmalecki: that, maybe? https://github.com/dominictarr/balancer [19:13] swestcott has joined the channel [19:14] czak: thanks, will look into it [19:14] gkatsev: czak: you can use nginx or something or you can run node as root and then change the app to not be root internally after you listen on port 80 [19:14] yaron-na has joined the channel [19:14] czak: "change the app to not be root internally" - what do you mean by that? [19:15] elliotttf has left the channel [19:15] liar has joined the channel [19:15] mmalecki: czak: drop privileges [19:15] jxson has joined the channel [19:15] gkatsev: that's the terms I was looking for [19:15] czak: ok [19:16] isaacs: czak: process.setuid("nobody") [19:16] isaacs: czak: can only setuid if you're root already [19:17] czak: and the reason for dropping privileges is security I presume right? [19:17] mmalecki: yeah [19:17] czak: so that the script doesn't access too much [19:17] PaulCapestany has joined the channel [19:17] harthur has joined the channel [19:17] petrjanda has joined the channel [19:18] mmalecki: file descriptors which are open persist [19:18] forzan has joined the channel [19:18] mmalecki: so you can still listen on 80 without being root [19:18] gkatsev: yeah, you run it as root to be able to bind port 80, then drop priviliges so that you can't access everything else as root [19:18] mmalecki: there's also iptables method [19:18] mmalecki: you redirect port 80 to 8080 or whatever [19:18] mmalecki: I've never done it before tho [19:19] scottschecter has joined the channel [19:19] czak: okay thanks [19:19] snearch has joined the channel [19:19] TooTallNate has joined the channel [19:19] klatchbaldar: sorry to bother again, but does anyone have any troubleshooting ideas for the npm install? [19:19] franciscallo has joined the channel [19:20] klatchbaldar: I tried npm debug but it still threw the error [19:20] mikl has joined the channel [19:20] czak: klatchbaldar: have you had any previous npm installs? what does `which npm` say? [19:20] czak: it should be /usr/local/bin/npm [19:21] klatchbaldar: I have /usr/bin/npm [19:21] Edy has joined the channel [19:21] klatchbaldar: npm was working previously [19:21] klatchbaldar: but I reinstalled node to upgrade the version [19:22] lazyshot has joined the channel [19:22] czak: the new pkg installs to /usr/local [19:22] albertos_ has joined the channel [19:22] czak: i guess you need to get rid of the old one [19:22] bradleymeck has joined the channel [19:23] Margle has joined the channel [19:23] yaron-na: is node.js easier to learn then ruby ? (documentation, tutorials) [19:23] klatchbaldar: from that path? [19:23] arcanin has joined the channel [19:24] yaron-na has joined the channel [19:24] czak: from /usr/bin [19:24] czak: perhaps copy it somewhere safe first [19:24] yaron-na: is node.js easier to learn then ruby ? (documentation, tutorials) [19:24] yaron-na: *than [19:24] brianc1: trose [19:25] brianc1: i need to see the code [19:25] brianc1: trose: usually what causes that is you're storing a reference to a client returned from pg.connect and using it outside the connect function. [19:26] chia has joined the channel [19:26] trose: brianc1, actually.... yeah I think that's what happened [19:26] Typo has joined the channel [19:27] brianc1: trose: yeah, the client will "timeout" after a configurable delay. at this point the pool will close the client's socket, and throw it away [19:27] trose: brianc1, okay so i should just wrap the offending code in a fresh connect callback and all should be well [19:28] brianc1: trose: the right way is to always use pg.connect(...) for each new set of queries you want to run [19:28] klatchbaldar: which npm now returns /usr/local/bin/npm [19:28] pyparadigm: Anyone know of any projects trying to get the DB/Node/JS/DOM in sync with data? [19:28] socketio\test\10 has joined the channel [19:28] brianc1: trose: or you can create client instances directly by calling new pg.Client(/*same args as first arg to pg.connect*/) [19:28] klatchbaldar: but npm returns -bash: /usr/bin/npm: No such file or directory [19:28] trose: okay [19:28] brianc1: trose: non pool-managed clients will never timeout & close [19:28] klatchbaldar: how can I change the search path for npm? [19:29] trose: brianc1, awesome [19:29] isaacs: klatchbaldar: hash -r [19:29] brianc1: trose: sometimes I think adding in connection pooling was a mistake & it should be handled outside the module [19:29] isaacs: klatchbaldar: you just need to tell bash to reset its cache [19:29] brianc1: trose: either way the pg.connect & pooling feature is entirely optional [19:29] mmalecki: I hate bash caching so hard :/ [19:29] klatchbaldar: hash -r worked! [19:29] trose: brianc1, hmm yeah, it confuses me a bit [19:29] klatchbaldar: thanks! [19:29] isaacs: klatchbaldar: np [19:29] mmalecki: it can be turned off during compilation, I think [19:30] admc has joined the channel [19:30] djbell has joined the channel [19:31] xtianw has joined the channel [19:32] i42n has joined the channel [19:37] ccallahan has left the channel [19:37] `3rdEden has joined the channel [19:37] deedubs has joined the channel [19:37] nephics has joined the channel [19:38] buttface_ has joined the channel [19:38] criswell has joined the channel [19:38] k1ttty has joined the channel [19:38] maushu has joined the channel [19:39] albertosh has joined the channel [19:39] m_dev has joined the channel [19:39] fostah has joined the channel [19:40] Feherlofia has joined the channel [19:40] Kami_ has joined the channel [19:40] m_dev_ has joined the channel [19:41] yaron-na has joined the channel [19:41] m_dev_ has left the channel [19:41] devongovett has joined the channel [19:42] ayo has joined the channel [19:42] willwhite has joined the channel [19:42] mikl has joined the channel [19:43] CarterL has joined the channel [19:43] kenperkins: anyone using cluster with 0.6 in production? [19:43] kenperkins: any lessons learned? [19:44] shiawuen_ has joined the channel [19:44] thepatr1ck has joined the channel [19:45] PaulCapestany: hi all, I've built an iPhone app, and now I need a backend database for it that I want in the cloud. I'm a complete node newbie, and figured this might be a good way to learn about it.. [19:45] jbpros has joined the channel [19:46] booyaa: man i pity guys who've never worked in a hackspace. i can code whilst getting slowly very drunk. the OH is never boring... [19:46] PaulCapestany: are there any good resources ya'll could point me to for sending/receiving JSON to a nodes backend? [19:46] booyaa: we've been listening to how smutty a coin slot data sheet can be... [19:46] eignerchris has joined the channel [19:47] booyaa: PaulCapestany: knockoutjs is pretty nifty with to and fro JSON [19:47] booyaa: but then again it's building on on jquery [19:47] PaulCapestany: I get drunk at work as well.. benefit of working from home ;) [19:47] m_dev has joined the channel [19:47] booyaa: PaulCapestany: true dat [19:47] PaulCapestany: cool, gonna checkout knockout [19:48] PaulCapestany: what about railwayjs though? [19:48] Vennril has joined the channel [19:49] tingham: isaacs: nothing is running on that server that would shut down connections for some reason right? [19:49] tingham: like fail2ban, etc. [19:50] CIA-109: node: 03Ryan Dahl 07isolates2 * r28a80be 10/ (src/node.cc src/node_isolate.cc src/node_isolate.h): move thread_id to node_isolate.cc - http://git.io/zVUbfA [19:50] romanb has joined the channel [19:51] iRoj has joined the channel [19:55] chrisvwebdev has joined the channel [19:57] djMax has joined the channel [19:57] djMax: I'm getting what is almost certainly a stack overflow in node.js/mongoose somehow. How do I set about debugging this when console.log has failed? [19:58] catb0t has joined the channel [19:58] willwhite has joined the channel [19:59] pkrumins: Hey guys, wrote the 9th post in "Node.js modules you should know about" series. This time it's node_redis by mjr: http://www.catonmat.net/blog/nodejs-modules-redis/ [20:00] mmalecki: pkrumins++ [20:00] catb0t: pkrumins now has 1 beer [20:00] gkatsev: pkrumins: great series :) [20:00] N0va has joined the channel [20:00] vikifor has joined the channel [20:00] pkrumins: gkatsev: thanks! [20:00] pkrumins: mmalecki: thank you too :) [20:01] willwh: pkrumins: you have a little typo: "All functions take either take either " [20:02] TimTimTim has joined the channel [20:03] pkrumins: willwh: correcting, thanks. [20:03] CoverSlide has joined the channel [20:03] cjm has joined the channel [20:03] pkrumins: willwh: fixed! [20:03] cjm: The new NodeUp featuring @mranney and @voxer is up. http://nodeup.com/nine [20:04] djMax: model.update({_id:doc._id}, blah) is blowing up in Mongoose. [20:05] hoodow has joined the channel [20:05] bartt has joined the channel [20:08] nibblebo_ has joined the channel [20:08] PhilK has joined the channel [20:08] catb0t has joined the channel [20:09] Wa has joined the channel [20:09] state has joined the channel [20:09] state: l [20:10] devaholic: djMax: is Model.update [20:11] devaholic: i.e. not to be used on an instance, iirc [20:11] djMax: yes, just an irc typo [20:11] devaholic: also takes 4 params [20:11] djMax: It sits there for 30 seconds, then dies with FATAL ERROR: CALL_AND_RETRY_2 Allocation failed - process out of memory [20:11] state: i know this might be a bit off-topic, but … [20:11] state: I'm using jade to interpret my templates, and I want to be able to use underscore for iteration, etc. Using the mustache style I can't seem to do {{ _.each …, and using ERB none of my div(attar="<%= var %>") will work. Ideas? [20:12] chia has joined the channel [20:12] djMax: four arguments or 3? [20:12] devaholic: 1 might be optional [20:12] devaholic: but you need more than 2 [20:12] devaholic: pretty sure [20:12] bergie has joined the channel [20:12] djMax: yes, I have 3 - {id:id}, {$set:{x:y}}, and a function [20:13] kickingvegas has joined the channel [20:13] devaholic: maybe make a gist that reproduces [20:14] mikl has joined the channel [20:14] state: agh: http://stackoverflow.com/questions/7361185/each-loop-in-underscore-js-template-wtf [20:14] state has left the channel [20:14] criswell has joined the channel [20:15] beppu has joined the channel [20:15] liamr has joined the channel [20:15] liamr: greetings #node.js [20:15] liamr: is it appropriate to ask for assistance here? [20:15] chrisdickinson: yep. [20:15] chrisdickinson: what's up? [20:16] liamr: i written an https server using node and connect. i noticed it responds to regular http requests (any and all) with 200 and blank response. [20:16] liamr: how can i define a handler for this so i can return something more meaningful? [20:16] liamr: i've* [20:17] skm has joined the channel [20:17] tingham: liamr: you mean like the example from http://www.nodebeginner.org/ ? [20:17] liamr: tingham: not sure, i will have a look :) thanks [20:18] r1ngzer0 has joined the channel [20:18] kickingvegas: liamr: if you're writing the server, you set the response code and whatever message you send back... [20:19] liamr: tingham: that tutorial doesn't seem to answer my question. [20:19] liamr: kickingvegas: and i do, for all https requests... but it doesnt seem to hit my routes when http is used instead [20:19] liamr: perhaps it's something to do with using the connect module? [20:20] devaholic: you want https/http to resolve to the same place? [20:21] liamr: devaholic: not exactly - i want to handle http differently than https. currently if i make https requests to my app it works brilliantly, but if i make an http request it returns 200 and a blank response for all routes. [20:21] liamr: i am trying to figure out how to handle the https requests. [20:21] liamr: er [20:21] liamr: the http requests [20:22] devaholic: what port is the app listening on [20:22] liamr: 4000 [20:22] devaholic: so what is in front of it [20:22] liamr: nothing, running standalone [20:23] joaquin_win has joined the channel [20:23] devaholic: .. https is port 443, http port 80 [20:23] catb0t: Exception: SyntaxError: Unexpected identifier [20:24] jbpros has joined the channel [20:24] CIA-109: node: 03Ben Noordhuis 07v0.6 * r77f2178 10/ src/node_crypto.cc : [20:24] CIA-109: node: crypto: fix memory leak when decrypting empty strings [20:24] CIA-109: node: Also fixes a dangling pointer delete[] in the error path. - http://git.io/TT2oLg [20:24] liamr: devaholic: those are the standard ports, yes. is node context sensitive with regards to ports and the https module? [20:24] reid has joined the channel [20:24] devaholic: set up two servers in your app for each of those ports, or use something else in front of them to send them both to the same place [20:25] devaholic: im not sure [20:25] Sabbie has joined the channel [20:25] devaholic: about that [20:25] liamr: devaholic: i feel i am not communicating my problem well... basically, i have this app that runs https [20:25] AaronMT has joined the channel [20:25] devaholic: are you doing https://domain.com:4000 orwhat [20:25] liamr: and that part works fine [20:25] liamr: devaholic: yes [20:25] liamr: for example [20:25] liamr: https://localhost:4000/some/path [20:26] liamr: returns stuff from my routes logic [20:26] djMax: shouldn't the update document {$set:{r:1}} set r to 1 in a mongoose model? [20:26] liamr: however [20:26] liamr: http://localhost:4000/some/path [20:26] m_dev has joined the channel [20:26] liamr: returns 200 and a blank response [20:26] liamr: i dont see it hitting my routes at all [20:26] liamr: and i don't know how to define a callback or a route to handle the http [20:26] jacobolu_ has joined the channel [20:27] devaholic: djMax: that would set it to the db, you'd need to get it from the db again [20:27] djMax: yeah, I do, and it's not set. [20:27] Skaag has joined the channel [20:27] devaholic: is it in the db? [20:27] djMax: yes [20:27] devaholic: o.o [20:28] djMax: yeah, indeed. Don't know who to blame first. [20:28] devaholic: no one, make a gist that shows it? [20:28] devaholic: is it in your schema? [20:29] devaholic: liamr: i'd suggest using the standard ports you'll need to do it eventually anyways [20:29] devaholic: if nothing else to test [20:29] fly-away has joined the channel [20:30] liamr: devaholic: thanks for the advice, i will try the standard ports [20:30] djMax: https://gist.github.com/1473746 [20:30] jarek has joined the channel [20:30] jarek has joined the channel [20:31] devaholic: liamr: return with code to show if you still have probs [20:31] devaholic: man that indentation is trolls [20:31] djMax: yeah, cut/paste problem [20:32] kmiyashiro has joined the channel [20:33] devaholic: so basically console.log(doc3); doesnt have r = 5 [20:33] devaholic: ? [20:34] djMax: there, indentation less painful. [20:34] devaholic: is "r" set in your schema? [20:34] djMax: Right, r != 5 [20:34] djMax: yes, r: Number [20:34] tingham has joined the channel [20:34] superjudge has joined the channel [20:35] djMax: ok, I just cleared the db and ran again and that bit worked this time. [20:36] djMax: I don't really get why clearing would matter since I *think* I'm searching by id [20:37] devaholic: its because you didnt have multi:true set, and you were using findOne, so you kept finding the first doc in your db which wasnt the one getting r set [20:37] robin has joined the channel [20:37] djMax: and somehow this doesn't kill node like my "real version" does, though it sure seems damn similar. [20:37] pagameba has joined the channel [20:37] djMax: but aren't I saying find by document id? [20:38] djMax: I see that bug, ok. [20:38] devaholic: sure at one point you do but the one you are checking for r you arent [20:39] hotroot has joined the channel [20:39] stagas has joined the channel [20:39] zomg: Anyone happen to know how to specify caching rules for static content served with express? [20:40] zomg: Or should this be served/specified preferably by something else [20:40] zomg: I'm serving a bunch of images which never change so I could just tell the client to cache them forever [20:40] djMax: I wonder if I have a different problem... Does console.log flush right away? [20:40] devaholic: zomg: should probably land on a CDN eventually for web scale but i think express is fine for most use cases [20:40] jesusabdullah: idk how to set cacheing time in connect's static middleware, but the one I wrote has adjustable cache time iirc [20:40] jesusabdullah: if not, it should [20:41] Brandon has joined the channel [20:41] Brandon: get gyts [20:41] jesusabdullah: I think the "standard" is an hour, so [20:41] isaacs: any node-glob users here? [20:41] Brandon: i have a question [20:41] Brandon: what is amd? [20:41] zomg: devaholic: "web scale" always reminds me of that "mongodb is web scale" thing.. =) [20:41] Brandon: i keep hearing people say node should support amd [20:41] isaacs: Brandon: asynchronous module definition [20:41] Brandon: is it the processor? [20:41] Brandon: oh [20:41] zomg: devaholic: any idea how to specify the cache-control headers using express though? [20:41] isaacs: Brandon: (it shouldn't) [20:41] isaacs: :) [20:41] devaholic: well you know what i mean... most projects wouldnt need it but eventually a cdn is the logical extreme [20:41] zomg: Yeah [20:41] isaacs: Brandon: it's the define("foo", ["bar", "baz"], function (bar, baz, require, exports, module) { … }) style of module definition [20:42] dudeinthemirror has joined the channel [20:42] isaacs: Brandon: requirejs style [20:42] liamr: devaholic: https://gist.github.com/1473789 [20:42] Brandon: node require function is the only blocking function in node right? [20:42] subdeuxed: hey luc :) [20:42] liamr: devaholic: it still didnt work on 443 :/ [20:42] jesusabdullah: Brandon: No [20:42] Brandon: other than the xxxsync functions [20:42] isaacs: Brandon: right [20:42] devaholic: zomg: search the express.js docs for cache [20:42] isaacs: Brandon: other than the blahSync functions [20:42] Brandon: yy [20:42] jesusabdullah: and console.error is blocking right? [20:42] devaholic: zomg: its there [20:42] liamr: devaholic: if i request this with https, it hits my route. if i request http, it does not. [20:42] isaacs: Brandon: node used to have an async require. the thing is, it's kind of a pita to set up properly [20:42] jesusabdullah: and console.log as of 0.6? [20:42] zomg: devaholic: nothing useful :P I'll search again, perhaps I missed it [20:43] devaholic: zomg: or use jesusabdullah's static thing [20:43] isaacs: and not really worht it, since setup phase is an ok time to do sync file io [20:43] devaholic: zomg: really its in there though (in express) [20:43] zomg: devaholic: is there some other docs for express besides the "guide" on expressjs.com? the guide talks only about a view cache [20:43] devaholic: what about github examples [20:44] devaholic: those are docs too [20:44] zomg: Yeah didn't see anything about that either [20:44] devaholic: im sure its there somewhere [20:44] zomg: Probably [20:44] devaholic: that is where i learned about it :P [20:45] Brandon: where is the expressjs docs [20:45] xeodox has joined the channel [20:45] Brandon: this? http://expressjs.com/guide.html [20:45] devaholic: app.use({ maxAge: 31557600000 }) [20:46] Brandon: kool [20:46] hellp has joined the channel [20:46] devaholic: Brandon, yes [20:46] Brandon: so what do u guys think of the new nodejs page [20:47] EvRide has joined the channel [20:47] maxogden: doesnt have cool drop shadows like http://www.dartlang.org, time to switch to dart [20:47] insin: it all done growed up... it's pretty sweet [20:47] bartt has joined the channel [20:47] mehlah has joined the channel [20:47] Brandon: i wonder what node.js will be in 10 years [20:47] zomg: devaholic: looks like it's in connect rather than express [20:47] Brandon: or what the computer industry will be like in 50 years [20:48] devaholic: zomg ahh [20:48] socketio\test\06 has joined the channel [20:48] r04r has joined the channel [20:48] devaholic: liamr: not sure what to tell you, other than to use something in front to send both types of requests to the same server or setup two http listeners in your app [20:49] devaholic: i dont knwo what escort is [20:49] devaholic: also i dont want to give you bad info, there are easy ways to unify https/http in express for instance [20:50] socketio\test\19 has joined the channel [20:50] davidbanham has joined the channel [20:51] hotroot: I liked the old page better [20:51] hotroot: The new one is more aesthetically pleasing, but I liked having that API link just a tiny bit away [20:51] hotroot: And the general positioning of other stuff to [20:51] zomg: devaholic: that too is only half-documented :P at least the source is readable [20:51] monokrome has joined the channel [20:51] Brandon: nodejs needs to make the docs better [20:51] Brandon: that white page is getting old [20:52] caioketo: Hi there [20:52] RobWC has joined the channel [20:52] liamr: devaholic: escort is a router middleware. [20:52] hotroot: I like the node docs, lol [20:52] liamr: devaholic: thanks for the assistance [20:52] caioketo: How can I send an array of bytes with a socket? [20:52] hotroot: Links to examples would be nice though [20:52] maxogden: docs.nodejitsu.com ftw [20:52] devaholic: the node.js docs are good how they are [20:52] TheJH: caioketo, write a Buffer object [20:53] Brandon: they dont match the rest of the shite [20:53] devaholic: better than nodejitsu docs with the x-files font if for no other reason you can search the whole docs with ctrl+f [20:53] Brandon: nodejitsu is pretty kool [20:53] caioketo: how can I make it? [20:54] sh1mmer has joined the channel [20:54] devaholic: nodejitsu is awesome, just sayin i like the node.js docs just how they are [20:54] mmalecki: yeah, the purposes are different really [20:54] mmalecki: we didn't aim to create full api docs [20:54] caioketo: How can I write a Buffer object? [20:54] mmalecki: we just wanted some hands on tutorials [20:55] zomg: caioketo: http://nodejs.org/docs/v0.6.5/api/buffers.html [20:56] caioketo: but ill need to encode to string? [20:57] RobWC1 has joined the channel [20:57] hotroot: caioketo: I can link you to the PB of my little chat server. It uses a buffer and encodes the strings correctly for sending and receiving [20:57] devongovett has joined the channel [20:57] zemanel has joined the channel [20:57] caioketo: i want to avoid encoding, couse that consumes a lot of time [20:57] hotroot: caioketo: http://pastebin.com/5yxePtFW [20:57] caioketo: i need to send it directly like bytes [20:58] djMax: well, I've isolated the problem. When I do a $set: { location: {lon:x,lat:y}} }, the world explodes. [20:58] zomg: caioketo: you can read/write bytes directly using buf[0] = byteval; which would set the first byte in the buffer to the value of byteval [20:58] TimTimTim: `make install` is not implemented yet. Bug bnoordhuis about it in #node.js [20:58] makeInstallBot: TimTimTim: `make install` is not supported on current node.js `master` due to build system refactor. Please use latest stable tag (v0.6.x). [20:58] TimTimTim: lol [20:58] chrisvwebdev has left the channel [20:59] TimTimTim: :| [20:59] TheJH: caioketo, you can create Buffers like `new Buffer([1,2,3])` [20:59] caioketo: but i can make socket.write(buffer) ? [20:59] TheJH: caioketo, yes, that works [20:59] hotroot: Yeah [20:59] chia has joined the channel [20:59] hotroot: The buffer just holds data to a maximum limit [21:00] Brandon: we need a connect version for .net [21:00] caioketo: Ok, that worked for me [21:00] Brandon: to build tcp servers and not http [21:00] caioketo: I tried that out, it works like a charm [21:00] caioketo: =D [21:00] caioketo: im building an "proxy" [21:00] liamr has left the channel [21:00] hotroot: Brandon: Maybe it's for the better if it moves people from .NET to node =P [21:00] PhilK has joined the channel [21:00] caioketo: it will be a websocket server, and replies the data trhough a .net socket [21:00] Brandon: i mean not module [21:01] Brandon: net [21:01] Graphikos has left the channel [21:01] Brandon: and not .net lol [21:01] stisti has joined the channel [21:01] hotroot: Oh, lol [21:01] zomg: MS brainwashing seems to work [21:01] zomg: =) [21:01] hotroot: we have socket.connect don't we? 0.o [21:02] timbl has joined the channel [21:03] canadian_marc_ has joined the channel [21:03] brianc1: is mikeal here under a different name? [21:03] zomg: I wonder if I'm pointlessly future-proofing my code by making my synchronous function calls look like asynchronous function calls :P [21:03] pizthewiz has joined the channel [21:03] _dc has joined the channel [21:03] brianc1: zomg: backbone's lack of async calls is one of the main reasons I find it hard to reuse backbone models on the server [21:04] brianc1: zomg: the other main reason is I don't know much about backbone. :p [21:04] zomg: Heh [21:04] thalll_ has joined the channel [21:05] zomg: I have a bunch of ejs views which show certain info which currently is polled automatically at certain intervals [21:05] sylvinus has joined the channel [21:05] superjudge has joined the channel [21:05] zemanel has joined the channel [21:05] zomg: I made functions which read that data from the object look like async even though they just return the polled values right away in the callback [21:05] qbert_ has joined the channel [21:05] zomg: Perhaps I'll change it at some point so that it doesn't poll, but not sure :D [21:05] jtgiri_ has joined the channel [21:06] caioketo: einaros are u there? [21:06] jesusabdullah: Usually I leave sync stuff returning unless I need a callback [21:06] qbert_: I need a tool to monitor node performance, any suggestions ? [21:06] brianc1: qbert_: monit? [21:06] jesusabdullah: cause once you're doing cps you can't really "undo" it and return a value from a callback two closures up [21:07] mikeal has joined the channel [21:07] maxogden: brianc1: mikeal is sitting next to me, whatchoo want [21:07] RobWC has joined the channel [21:07] Phlogistique: I see adds for Joyent everywhere of the web [21:07] mikeal: just sat down [21:08] maxogden: mikeal: LIVE TWEET MIKEALS LIFE [21:08] mikeal: haha [21:08] caioketo: someone here tried out the ws of einaros? [21:08] tingham_ has joined the channel [21:08] Phlogistique: I think they should think a little more and figure that if I know Node.js, the chances that I know Joyent are already pretty high [21:08] brianc1: oh just wondering he been tweeting a lot about TM2. Non-troll wondering "what about vim?!" [21:08] mikeal: i'm gonna get a shirt that says @maxogden is my foursquare [21:08] mikeal: i know about vim :) [21:08] chrisvwebdev1 has joined the channel [21:09] chrisvwebdev1 has left the channel [21:09] maxogden: mikeal: as long as it has this version of me on it http://harkavagrant.com/index.php?id=261 [21:09] tuhoojabotti: booyaa: You did it wrong. :/ [21:09] mikeal: i configured a PPP dialup connection by hand using vi on freebsd1 back when you were IN GRADE SCHOOL BOY! [21:09] mikeal: haha [21:09] brianc1: mikeal: i figured you did...just wondering why TM/TM2 [21:09] maxogden: node-ppp DO IT [21:09] mikeal: there are advantages to using well formed graphical editors [21:10] brianc1: mikeal: not for 'religion' reasons, just haven't looked at textmate for years [21:10] mikeal: i've tried to leave TM1 like 4 times [21:10] mikeal: i would love to not use it [21:10] mikeal: it's just too good at the things that matter [21:10] mmalecki: I'm fine with each text editor. [21:10] mmalecki: as long as it's called vim. [21:10] mikeal: i don't use any advanced features either [21:10] slide has joined the channel [21:10] mmalecki: s/each/every/ [21:10] mikeal: copy/paste is better in TextMate than any editor i've ever used [21:11] brianc1: mikeal: i understand. sometimes insert mode is all you need. and actual, simple drag drop, project drawer and real 'automatic' OS clipboard integration are nice things [21:11] mikeal: highlight and indent is also the best [21:11] slide: Is there any built in way in Node.js dump an array to code? For later loading? [21:11] mikeal: the whole open bracket creates close bracket and puts me in the middle thing, once you get used to that you can't live without it [21:11] mikeal: it dramatically reduces bugs [21:11] alexpbrown has joined the channel [21:11] zomg: slide: JSON.stringify(whatever) is a pretty easy way to serialize most things [21:12] mikeal: brianc1: it's a bunch of very little things [21:12] diogogmt has joined the channel [21:12] mikeal: the polish that makes the smallest interactions seamless [21:12] brianc1: mikeal: kinda like truuuuue love [21:12] slide: thanks [21:12] mikeal: save on application switch is now a requirement [21:12] brianc1: yeah I just added that to vim it is haaamazing how such a little thing makes such a difference [21:13] hotroot: How do I keep breaking this chat server? Every time I change something, it goes back to not sending messages -.- [21:13] ENTBSAWTBRT has joined the channel [21:13] mikeal: yeah, it makes the cmd+tab switch from editor to terminal workflow seamless [21:13] TheJH: hotroot, more practice :D [21:13] mikeal: my first love is still vi [21:13] KBM has joined the channel [21:13] fangel has joined the channel [21:13] mikeal: if i'm in the terminal and need to quickly edit, i instinctively use vi without even thinking about it [21:13] hotroot: I just don't get how the changes I make are breaking this thing =P [21:13] brianc1: mikeal: thanks for the thoughts. i know your busy & wasn't wanting to troll. soon i will be switching to mac for full time job & was curious about the +/- of TM [21:14] mikeal: but for writing lots of code, it's just not what i need [21:14] hotroot: It won't put the fucking sockets into an object I made, but idk why. Half the time it does it just fine [21:14] mikeal: i would be the first person to jump on MacVim but it's just not built exactly to the workflow i'm doing [21:14] KBM has left the channel [21:14] mikeal: i feel the same way with big IDEs [21:14] TheJH: ACTION uses gedit [21:14] mikeal: they are built for a different workflow [21:14] KBM has joined the channel [21:14] brianc1: yeah no me gusta big IDEs. but they're nice when you're compiling tons of C# [21:14] TheJH: it has syntax highlighting, too :D [21:15] jarek has joined the channel [21:15] sechrist: anybody in here use sublime text? [21:15] mmalecki: TheJH: vim does as well [21:15] mikeal: sechrist: i did for a few months [21:15] mmalecki: TheJH: you shold really try it [21:15] Agos has joined the channel [21:15] mikeal: SublimeText2 that is [21:16] sechrist: yeah, 2, with the neat code window thing [21:16] mikeal: that was my latest attempt to leave TM1 [21:16] devaholic: sublimetext2 is uber decent [21:16] sechrist: TextMate? [21:16] mikeal: it was almost there [21:16] TheJH: mmalecki, tried gvim [21:16] devaholic: faster than textmate [21:16] sh1mmer: <3 vim [21:16] purr: Let it be known that sh1mmer hearts vim. [21:16] devaholic: you can actually use your mouse [21:16] devaholic: i'm in [21:16] mikeal: but copy/paste and indentation rules were not good enough [21:16] gsmcwhirter has joined the channel [21:16] michaelhartau has joined the channel [21:16] sh1mmer: hm. bots much? [21:16] mikeal: i really really have tried to leave TM1 [21:16] Fuu has joined the channel [21:17] mmalecki: TheJH: I don't really like gvim, regular vim is better [21:17] mmalecki: like, console one [21:17] sh1mmer: mikeal: what stopped you? [21:17] hotroot: http://xkcd.com/378/ [21:17] TheJH: mmalecki, do I also have a cursor there? [21:17] mmalecki: or macvim, if you have a mac [21:17] sechrist: I saw your tweet this morning.. the console command for it isn't working? [21:17] sechrist: that's a simple wrapper lol [21:17] mikeal: nothing was quite good enough [21:17] mmalecki: TheJH: like, mouse cursor? [21:17] Phlogistique: mmalecki: how better is it? [21:17] chia has joined the channel [21:17] sh1mmer: I have to admit I'm much happier with vim 7.3 in iterm2 than macvim [21:17] TheJH: mmalecki, yes [21:17] mikeal: all the little things in TM1 that made my workflow so much smoother [21:17] hotroot: That xkcd link explains the real best editor =P [21:17] mikeal: i love iterm2 [21:17] brianc1: can your editor do this: https://github.com/qdot/deldo [21:17] TheJH: mmalecki, also, I wasn't able to figure out how to copy/paste yet [21:17] sechrist: butterflies [21:17] sh1mmer: mikeal: really? I've been feeling that way about vim [21:17] gkatsev: sh1mmer: can't you use macvim in the terminal? [21:18] mmalecki: TheJH: if you :set mouse=a [21:18] devaholic: some things in sublimetext2 are too complicated when they could be simple, like searching [21:18] devaholic: bit of a turn off [21:18] sh1mmer: gkatsev: macvim is a windowed implementation of grim 7.3 [21:18] devongovett_ has joined the channel [21:18] mmalecki: TheJH: hah :). you delete with d and copy with y [21:18] mikeal: i use vi instinctively in command line, but as an editor it's not optimized for large project editing and writing a lot of code quickly [21:18] TheJH: also, best editor EVER: http://hackertyper.com/ - unbelivable typing speed :) [21:18] mmalecki: Phlogistique: how what is better? [21:18] sh1mmer: gkatsev: I prefer the CLI version with xterm-256 [21:18] TheJH: try it :D [21:18] mikeal: it's the greatest sys admin editor in the history of the world [21:18] context: HAHAHAHHAHAHAHAHAHA ! [21:18] context: brianc1: holy shit ! [21:18] gkatsev: sh1mmer: ok, I thought that it added apple key support to terminal vim and made the gui for mac. [21:19] context: brianc1: does emacs have a text editor yet htough? [21:19] brianc1: context: I know. as if I needed another reason to stop using emacs. [21:19] sechrist: I like the fact that sublime text 2 is cross platform [21:19] sh1mmer: gkatsev: nah. but iterm2 makes up a lot of those things pretty well [21:19] sh1mmer: and then you get consistency on/off machine [21:19] KBM has left the channel [21:19] sechrist: but everybody has a mac these days [21:19] gkatsev: ok, good to know if I ever develop on OSX [21:19] sh1mmer: I like having the same ssh experience as on machine [21:19] mikeal: sechrist: that would be important if it was a factor for me, but it's not, i never edit code not on mac [21:19] TheJH: mmalecki, where can you code faster, vim or http://hackertyper.com/ ? :D [21:19] mikeal: it's like features in ES5 [21:19] mikeal: i only write node, so i just use them [21:20] gkatsev: sh1mmer: have you seen vimperator? [21:20] mikeal: and never think about using a shim [21:20] Phlogistique: mmalecki <- terminal vim [21:20] killtime has joined the channel [21:20] hotroot: All this text editor talk is making me want to try some out...As much as I love Geany [21:20] Xano_ has joined the channel [21:20] sh1mmer: gkatsev yeah, but no [21:20] jhurliman has joined the channel [21:20] sechrist: I mean I am a vim person as well, but for some things, like major code refactors, tm and sublime are nice [21:20] mmalecki: Phlogistique: I kinda like it more, that's just a preference tho [21:21] sh1mmer: iterm2 + lion = hotness [21:21] mmalecki: TheJH: haha [21:21] gkatsev: don't like it? it's the main thing that's keeping me on firefox [21:21] criswell has joined the channel [21:21] sechrist: that and getting javascript auto-indenting working well and with pasting is something I never got right with vim [21:21] dexter_e has joined the channel [21:21] sh1mmer: gkatsev: I've just found it too jarring when it doesn't quite work [21:21] sh1mmer: gkatsev: I'm ok with mousing for surking [21:21] JasonJS_ has joined the channel [21:21] gkatsev: works-for-me :D [21:22] cedeon_ has joined the channel [21:22] sh1mmer: which is 100% the main thing [21:22] mikeal: once TM2 can full screen i'm going to switch [21:22] mikeal: and then i can do iTerm and TM2 full screen [21:22] gkatsev: also, it's more mouse friendly since version 3 which came out with ff4 [21:22] sechrist: with terms that support it, you can use a mouse in vim [21:22] mikeal: and i'll be the happiest person in the world [21:22] brianc1: mikeal: does the lion "delay" when switching full screen apps bother you? drives me crazy. [21:23] sh1mmer: mikeal: I'm addicted to iterm2 fullscreen, split into 3 cols on my thunderbolt display [21:23] mikeal: not really [21:23] sh1mmer: it's hotness [21:23] mikeal: it's still faster than the context switch my head makes when bringing a window to the foreground [21:23] isaacs: JasonSmith: hey, is there any way to tell follow to pause for a sec? [21:23] sechrist: sh1mmer: 3 columns as separate terms? [21:23] mmalecki: can iterm split? [21:23] sh1mmer: sechrist: yes [21:23] mikeal: i'm sure a curmudgeon [21:23] dob_ has joined the channel [21:23] diogogmt has joined the channel [21:23] Sorella has joined the channel [21:23] salazr_ has joined the channel [21:23] githogori has joined the channel [21:23] mikeal: i think find split views and multiple big monitors to be placebo for programmers [21:24] brianc1: my favorite setup is awesome window manager + vim full screen + term full screen + browser & web inspector split in spiral layout 50/50 [21:24] sh1mmer: apple+d is split vertical, apple+shift+d is split horizontal [21:24] gkatsev: ugh, thunderbolts keeps making me thing of the phone [21:24] sh1mmer: mikeal: most things are [21:24] Rushing: is there an event for when the current model has loaded? [21:24] sechrist: anybody use a widescreen in portrait? [21:24] sh1mmer: mikeal: this whole conversation is bike shedding [21:24] mikeal: for me, i can't handle the context switch [21:24] mmalecki: sechrist: I do [21:24] brianc1: sh1mmer: it is indeed [21:24] mikeal: i travel, and bike around town, with just my laptop [21:24] czak has left the channel [21:24] sechrist: just one? or with others [21:24] gkatsev: sechrist: widescreen in portrait ftw [21:24] mikeal: i can't go somewhere and plug in [21:24] mmalecki: sechrist: let me take a pic [21:24] mikeal: to a big monitor, and totally change my workflow [21:25] sh1mmer: mikeal: when it's on my laptop I do 2 cols on the big screen 3 [21:25] sechrist: with multiple monitors I find myself not really using anything but the primary [21:25] gkatsev: sechrist: I have one in landscape and on the side another one in portrait [21:25] shawnjan has joined the channel [21:25] sh1mmer: anywayt [21:25] sh1mmer: back to work [21:25] maxogden: multiple monitors makes me look really cool though [21:25] mikeal: i can't do columns [21:25] mikeal: one thing at a time [21:25] gripir has joined the channel [21:25] shawnjan: Hey All, I ran into some crazyness with KeepAlive that I wanted to ask about [21:25] maxogden: i can impress my friends when i bring them to my office [21:25] mikeal: use all the screen, keep anything that isn't this task out of view [21:25] sh1mmer: also vote on my new company logo 99designs.com/logo-design/contests/jetpacks-dinosaurs-needs-awesome-logo-108629/poll/savq82/ :D [21:25] gripir has left the channel [21:26] mikeal: shawnjan: server or client? [21:26] sh1mmer: whoops. clickable http://99designs.com/logo-design/contests/jetpacks-dinosaurs-needs-awesome-logo-108629/poll/savq82/ [21:26] isaacs: ACTION loves full screen, on a small screen [21:26] isaacs: i do split vim buffers a lot, though [21:26] isaacs: that's why i <3 having no more than about 60 chars per line, most of the time [21:26] gkatsev: sh1mmer: I like #14 and #60 #72 is ok too [21:27] joshthecoder has joined the channel [21:27] TheJH: isaacs, if you use small screens, you should like coco or so because of the compact syntax :D [21:27] mikeal: with split view, i trick myself in to thinking i don't need to keep the code in one pane in my head while i read the other [21:27] isaacs: TheJH: i like javascript, too [21:27] mikeal: and this is not true, i need to keep that code in my head and use it as context for the code i'm reading [21:27] mikeal: split view tricks my brain, so i don't use it [21:27] konobi: sh1mmer: #14 [21:28] sh1mmer: vote on the thing, damn you all :P [21:28] shawnjan: so I have a Node.js proxy server running, and I had some crazyness where there would be a POST request with a 302 response, and then a GET request. the response for the POST would come back, but the request for the GET would just hang [21:28] mmalecki: sechrist: http://i.imgur.com/R1949.jpg [21:28] mmalecki: it's a win/win [21:28] sechrist: ahhh [21:28] shawnjan: when I set "close" on the connection header everything was fine [21:28] shawnjan: any help would be appreciate :) [21:28] mikeal: shawnjan: were you handling the GET? [21:28] shawnjan: also may be a bug [21:29] shawnjan: yep [21:29] shawnjan: @mikeal yep [21:29] mikeal: so, in node.js server, the keep alive is transparent [21:29] mikeal: the parser will emit a new request event [21:29] mikeal: you won't even really know that it's the same socket [21:30] mikeal: so my guess is that something else is happening, at the application layer [21:30] shawnjan: hmmm [21:30] shawnjan: I mean I would immediately put a console log statement at the beginning of my request handler, and would recieve nothing for that GET [21:31] canadian_marc has joined the channel [21:32] broofa_ has joined the channel [21:32] shawnjan: mikeal: any idea? [21:32] shawnjan: setting connection to close did the trick [21:32] mikeal: right, which makes me think the location header is not right [21:33] dexter_e has joined the channel [21:33] mikeal: or your proxy logic isn't right [21:33] mikeal: do you have the code for your proxy? [21:33] mikeal: somewhere i can view it [21:33] shawnjan: just a sec [21:33] shawnjan: it's private on github [21:34] k1ttty has joined the channel [21:34] gerard0 has joined the channel [21:34] sveimac has joined the channel [21:34] shawnjan: also, i dont think it has anything to do with the lcoation header, why do you suspect that? [21:35] superjudge has joined the channel [21:35] shawnjan: im going to reduce the fluff from the code [21:36] ShinyDarkness has joined the channel [21:37] joshontheweb has joined the channel [21:38] jbpros_ has joined the channel [21:38] joshontheweb: any http-proxy modules besides node-http-proxy and bouncy? [21:38] joshontheweb: http-proxy doesn't have a 0.6.x compatible version [21:38] alystair has joined the channel [21:38] joshontheweb: and bouncy doesn't seem to work [21:38] smathy has joined the channel [21:39] maxogden: joshontheweb: did you open a ticket on bouncy? [21:39] joshontheweb: maxogden there is a ticket open that I believe is the problem. its related to parsely [21:40] bingomanatee_: Does Jetpacks for Dinosaurs relate to SubStack's "Rocket Turtle"? [21:40] mikl1 has joined the channel [21:40] joshontheweb: isn't merged in yet [21:40] torm3nt has joined the channel [21:41] joshontheweb: looking to see if there are other options first [21:41] joshontheweb: maxogden you using bouncy successfully? [21:42] Renegade001 has joined the channel [21:43] maxogden: joshontheweb: havent used it in 0.6 yet but the author is my roommate [21:43] canadian_marc has joined the channel [21:44] joshontheweb: am I trying to switch to 0.6 too early? 0.5 was bugging out on me so Im still on 0.4.12 [21:45] skoom has joined the channel [21:45] bnoordhuis: joshontheweb: if you don't hurry up the 0.6 releases will be EOL'd again [21:46] bingomanatee_: josh - if you don't get up to 0.6, then by the time 0.8 comes up you will be totally screwed. (Januaryish.) [21:46] bingomanatee_: Make the white queen run so fast…. [21:46] joshontheweb: k, good to know [21:47] joshontheweb: so what is everyone using for http-proxying? [21:47] joshontheweb: nginx doesn't support websockets from what I can tell [21:47] joshontheweb: node-http doesn't support 0.6 [21:48] joshontheweb: http-proxy rather [21:48] springmeyer has joined the channel [21:48] joshontheweb: is bouncy the way to go, maybe I didn't give a fair try [21:48] mmalecki: joshontheweb: it does, websockets won't work on 0.6 tho [21:50] Fuu has joined the channel [21:50] joshontheweb: did I miss that in the release notes? what is the plan for websocket support? [21:50] joshontheweb: kinda need that :) [21:51] jxson has joined the channel [21:51] mmalecki: joshontheweb: plan is make it fucking work >.<. it's an annoying bug which is hard to debug [21:52] joshontheweb: so maybe it wasn't bouncy that was failing but node 0.6 [21:52] mmalecki: joshontheweb: hm, that's possible [21:53] mmalecki: I can describe the bug we've had if you want to [21:53] joshontheweb: mmalecki please [21:53] TheJH: mmalecki, debug a bug? that's like "solve the solution" :D [21:53] mmalecki: I mean, not really our bug. [21:53] lduros has left the channel [21:53] mmalecki: so, basically, new protocol doesn't need any body when client responds to an UPGRADE [21:54] mmalecki: there's a bug in http.js which loses all empty messages - they simply don't get send out [21:54] mmalecki: we have a workaround, which forces these messages to be flushed [21:55] mmalecki: but it may not work now. idk, really [21:55] joshontheweb: yeah, that fits what I was experiencing [21:55] mmalecki: I should prolly sit with a tcpdump [21:55] TheJH: mmalecki, sure it's in the JS part? [21:55] josh-k has joined the channel [21:55] mmalecki: joshontheweb: I can link you to the issue. [21:55] mmalecki: TheJH: yes. [21:55] joshontheweb: it seems to think the websocket is working so socket.io doesn't fallback to xhr [21:55] TheJH: mmalecki, it's that hard to track down? [21:56] TheJH: mmalecki, you know what file it's in and it's so hard to find? [21:56] mmalecki: joshontheweb: https://github.com/nodejitsu/node-http-proxy/issues/97 [21:56] joshontheweb: mmalecki thanks [21:56] mmalecki: joshontheweb: hah, exactly what I thought first [21:57] mmalecki: but socket.io seems to think that websockets are accessible! [21:57] cp42 has joined the channel [21:57] joshkehn has joined the channel [21:57] joshkehn has left the channel [21:58] mmalecki: TheJH: last I checked, it was a bug in something with cycle in name. if you feel like fixing it, go for it. [21:59] mmalecki: I've had amazing fun debugging this shit. [21:59] TheJH: mmalecki, is it this one? https://github.com/joyent/node/blob/master/lib/http.js#L751 [21:59] mmalecki: there were printf's and console.log's everywhere [21:59] Rushing: are we able to add to require.paths while an app is running, or do you have to use NODE_PATH? [22:00] mmalecki: TheJH: looks like [22:00] jergason has joined the channel [22:00] stefpb has joined the channel [22:00] mmalecki: Rushing: you can't add require.paths and you shouldn't use NODE_PATH as well. [22:00] TheJH: mmalecki, so, that just needs to be a do { } while( ), right? [22:00] Rushing: mmalecki, why's that? [22:00] sdwrage: hey guys. where is a good place to go to get started with nodejs and expressjs?' [22:00] TheJH: (with default for non-existing data and stuff, of course [22:00] mmalecki: TheJH: possibly... I don't know [22:01] mmalecki: Rushing: node_modules, man [22:01] TheJH: hmm, no... [22:01] willwh: sdwrage: www.expressjs.com is pretty good :] [22:01] Rushing: right, but i'm working on a "core" module, so it just sits there and doesn't really do anything on its own [22:01] skm has joined the channel [22:02] Rushing: and i want to install it in multiple other modules [22:02] Rushing: err, i want to reference it, but i want to use ONE core [22:02] sdwrage: willwh: should I go to another website though for nodejs stuff? [22:02] mmalecki: Rushing: npm link [22:03] ceej has joined the channel [22:03] mikl has joined the channel [22:04] stagas: so are ws working now? [22:04] stagas: mmalecki: ^ [22:05] kickingvegas: general question; how are folks here debugging their Node.js apps? Wondering if V8 integration in Eclipse is baked well enough to use. [22:05] thalll has joined the channel [22:05] mmalecki: stagas: no :(. not on 0.6. [22:05] michaelhartau has joined the channel [22:05] mmalecki: stagas: they work on 0.4 [22:05] Skaag has joined the channel [22:06] qbert_: anyone have a monit config for node ? Im lazy [22:06] mmalecki: stagas: https://github.com/nodejitsu/node-http-proxy/tree/0.6-compatibility <- general compatibility branch [22:06] dev_ has joined the channel [22:07] dev_: hello? [22:07] stagas: mmalecki: I see [22:07] devaholic has joined the channel [22:07] Marak has joined the channel [22:07] TheJH: dev_, nodody can hear you [22:07] TheJH: *manic laughter* [22:07] dev_: anybody here? [22:07] TheJH: dev_, noooobody! [22:07] qbert_: I'm not here [22:08] TheJH: ACTION is not here either [22:08] dev_: me neither [22:08] Marak: not here [22:08] joshontheweb: such a welcoming channel ;P [22:08] dev_: i'm there [22:08] thalll__ has joined the channel [22:08] mmalecki: yeah, I'm out as well [22:09] dev_: petite question [22:09] sdwrage has joined the channel [22:09] tonymilne has joined the channel [22:10] malletjo: dev, love those petite [22:10] prettyrobots has joined the channel [22:10] dwhittle has joined the channel [22:10] dev_: me too [22:11] dev_: is dart going to replace nodejs? [22:11] Rushing: mmalecki, thanks for the tips. might have some questions for you some other time if that's alright ... can't seem to get npm link to work for me at the moment [22:11] eldios has joined the channel [22:11] mmalecki: Rushing: ask away [22:11] jackyyll has joined the channel [22:11] TheJH: dev_, isn't dart just a language? [22:12] TheJH: dev_, dart is a language. Javascript is a language. So, the question is whether dart will replace JS, not whether it will replace node [22:12] Rushing: i went into my "core" folder and said npm link [22:12] TheJH: dev_, apart from that: nice troll :P [22:12] mmalecki: ok, what is the "core"? [22:13] Rushing: then went to my dependent app and said npm link [22:13] dev_: sorry, i dont wanted... i know my question sound like trolling [22:13] mmalecki: yeah, it should wokr [22:13] ped_ has joined the channel [22:13] eclifford has joined the channel [22:14] jackyyll has joined the channel [22:14] LeMike has joined the channel [22:15] Rushing: yeah...it's not, but i'm spent. so many snags...can't wait till i'm comfortable in this env [22:15] Rushing: y'all have a good one [22:16] mmalecki: Rushing: what happens? [22:16] ped_: hi, just started learning node.js. got a question, but it's easier to explain it like this: http://pastebin.com/TC9Q6HwT [22:16] PhilK has joined the channel [22:18] devaholic: ped_: module.exports.varX [22:18] ped_: sweet! thanks devaholic [22:18] rauchg has joined the channel [22:18] twolfson_ has joined the channel [22:18] erichynds: how do you peeps integrate a build system into a deploy script? do you deploy with capistrano or whatever and then build the app on the server? [22:19] jimubao has joined the channel [22:19] levi501d has joined the channel [22:20] ped__ has joined the channel [22:21] kickingvegas: guessing node-inspector it is... [22:22] joshgillies has joined the channel [22:22] Wizek has joined the channel [22:22] nbaldwin has joined the channel [22:23] josephg has joined the channel [22:23] gzmask has joined the channel [22:27] salva has joined the channel [22:28] tommyvyo has joined the channel [22:28] jon-_ has joined the channel [22:31] thalll has joined the channel [22:31] hipsters_ has joined the channel [22:32] enmand has joined the channel [22:32] thalll_ has joined the channel [22:33] jaitaiwan has joined the channel [22:34] Me1000 has joined the channel [22:34] prettyrobots: Any difference between Array and new Array? [22:35] prettyrobots: Or rather, Array(5) and new Array(5)? [22:35] jbpros has joined the channel [22:35] isaacsanders has joined the channel [22:36] dblado has joined the channel [22:38] djbell has joined the channel [22:38] Renegade001 has joined the channel [22:38] gkatsev: probably not, but stick with new just in case. [22:39] caioketo: someone here uses einaros ws framework thing? [22:39] joaquin_win has joined the channel [22:41] hipsters_ has joined the channel [22:41] akter has joined the channel [22:43] benvie: no difference using new [22:44] skm has joined the channel [22:44] mmalecki_ has joined the channel [22:44] Marak: caioketo: whats that? [22:45] TooTallNate: Marak: https://github.com/einaros/ws [22:45] joshsmith has joined the channel [22:46] criswell has joined the channel [22:46] mmalecki_: Marak: I was planning to use it for node-http-proxy websocket tests [22:46] Marak: i see [22:46] Marak: i take it, pgreiss client is not supported anymore? or it doesnt have latest ws spec? [22:47] sh1mmer: Marak: I don't think he's worked on that in a year [22:47] sh1mmer: Marak: afaik he doesn't do any node at FB [22:47] mmalecki_: if pgreiss client == the one we have in node-http-proxy, then it's outdated as fuck [22:48] Marak: sh1mmer: hi! i actually wanted to ping you about your dnsserver.js project [22:48] Marak: sh1mmer: do you have a minute? [22:48] sh1mmer: Marak: for you, always [22:48] Marak: i'll PM [22:48] TimTimTim: i'm a noob at linux... how do i make node always run without having to explicitly call "node app.js"? [22:49] CIA-109: node: 03Ryan Dahl 07isolates2 * r058892d 10/ (src/node.cc src/node_isolate.cc src/node_isolate.h): Move uv loop initialization into isolate - http://git.io/ifSU2w [22:49] devongovett has joined the channel [22:50] gkatsev: you can shebang it in the script, probably [22:50] TimTimTim: what do you mean [22:50] gkatsev: not sure how it changes the semantics of how you do some of the stuff [22:50] jhurliman: ryah, is isolates2 the branch you were telling me about that helps with enumerating all of the current watchers and getting stack traces for them? [22:50] gkatsev: TimTimTim: #!/usr/bin/bash but instead you point to node. something like that [22:50] timbl has joined the channel [22:51] caioketo: I tried to instal that ws thing with "npm install ws" but it crashes [22:51] TimTimTim: oh ok... and that will make it automatically start every time my server restarts? [22:51] jhurliman: gkatsev, i think he was asking how to keep a node app running all of the time (presumably across reboots) [22:51] ryah: jhurliman: no - domains [22:51] jhurliman: ah n/m [22:51] gkatsev: jhurliman: yeah, probably [22:51] caioketo: can someone help me with that? [22:52] gkatsev: TimTimTim: never mind, you want to write an upstart script or something like that that will run your app on restart [22:52] _unary has joined the channel [22:52] hotroot: Socket, Y U NO in clients object? =( [22:52] gkatsev: upstart on ubuntu, init.d otherplaces, something else on even other places [22:52] c4milo: isaacs: does npm have issues dealing with package names that include the "-" characters? [22:52] jerrysv: marak: qq? do you have up to date videos about hook.io? [22:52] Marak: jerrysv: not right now, soon more [22:53] jerrysv: Marak: anything not quite up to date but a good intro? [22:53] isaacs: c4milo: shouldn't [22:53] isaacs: c4milo: a lot of packages have - in the name [22:53] joestein has joined the channel [22:53] jacobolus has joined the channel [22:54] c4milo: isaacs: oh well, nodejs perhaps? I'm having problems requiring the package [22:54] c4milo: isaacs: nodejs 0.4.12 [22:54] Marak: jerrysv: the videos [22:54] Marak: jerrysv: and the wikipages on the main repo [22:54] c4milo: isaacs: https://gist.github.com/1474334 [22:54] jerrysv: Marak: on them now, thanks [22:55] isaacs: c4milo: maybe it doesn't expose a "main"? [22:55] isaacs: i dunno [22:55] c4milo: isaacs: hum you are right, thanks man [22:56] r1ngzer0 has joined the channel [22:58] liar has joined the channel [22:58] mara has joined the channel [22:59] tdegrunt has joined the channel [23:01] hotroot: I'm pretty new to databases, about to start using sqlite in node. I assume I only db.close() when the server is shutting down? on "end"? [23:02] hotroot: I don't actually open and close the DB for each chunk of SQL calls right? [23:02] mike5w3c has joined the channel [23:02] TheJH: hotroot, right [23:02] hotroot: kk [23:04] Renegade001 has joined the channel [23:04] tdubellz_ has joined the channel [23:05] hotroot: So "server.on('close', function (stream) { [23:05] hotroot: db.close(); [23:05] hotroot: });" [23:09] kmiyashiro: where to get tm2 [23:09] crescendo has joined the channel [23:10] mraleph has joined the channel [23:10] mmalecki_ has joined the channel [23:12] mmalecki_ has joined the channel [23:12] mmalecki has joined the channel [23:12] timbl has joined the channel [23:13] makeInstallBot has joined the channel [23:13] caioketo: hey [23:14] brianseeders has joined the channel [23:16] issackelly_ has joined the channel [23:16] chrixian has joined the channel [23:17] caioketo: Hi there im getting an error while trying to build node.js [23:17] caioketo: i try that vcbuild.bat [23:17] mikeal has joined the channel [23:17] caioketo: and its throwing an error [23:17] caioketo: invalid syntax in node.gyp [23:19] styol has joined the channel [23:19] euforic has joined the channel [23:20] josh-k_ has joined the channel [23:20] euforic: http://pastie.org/private/olkvencrev8xjflduiifjw Having issues uploading an image an moving it on the server with express.js any ideas on what I'm doing wrong. I keep getting the error DEBUG: Error: ENOENT, no such file or directory '/tmp/d017d6df9dcfdbc81c69802b1b06e716' but I checked and the file is there [23:21] euforic: I am guessing it is trying to move the file before the upload completes [23:22] caioketo: can someone heklps me, i need to build node.js in vs2010, but when I run vcbuild.bat it throws me an error "invalid syntax" in node.gyp [23:24] mcluskydodallas has joined the channel [23:26] pixel13 has joined the channel [23:26] pixel13 has left the channel [23:29] salva has joined the channel [23:29] Arro has joined the channel [23:31] euforic: http://pastie.org/private/olkvencrev8xjflduiifjw Having issues uploading an image an moving it on the server with express.js any ideas on what I'm doing wrong. I keep getting the error DEBUG: Error: ENOENT, no such file or directory '/tmp/d017d6df9dcfdbc81c69802b1b06e716' but I checked and the file is there? [23:33] pixel13 has joined the channel [23:33] pixel13 has left the channel [23:34] sdwrage: does readfile return the contents of the file? [23:35] sdwrage: var filedata = fs.readfile...etc [23:39] k1ttty has joined the channel [23:39] grumdrig has joined the channel [23:40] justicefries has joined the channel [23:40] justicefries: what's the web frameworks everyone is using these days? express? geddy? [23:40] davidbanham has joined the channel [23:40] butat has joined the channel [23:41] jaitaiwan has joined the channel [23:41] JohnBeales has joined the channel [23:43] k1ttty_ has joined the channel [23:43] jerrysv: anyone know of a mysql client that works with mysql 4? [23:43] butat: get a job [23:43] EyePulp: classic asp? [23:43] jerrysv: justicefries: i use bricks, but i'm biased [23:43] butat: you blog too much [23:45] stagas: woo https://github.com/stagas/nploy [23:45] Bioxyde has joined the channel [23:45] justicefries: jerrysv: github link? [23:45] jerrysv: justicefries: https://github.com/JerrySievert/bricks [23:45] jerrysv: justicefries: also see http://bricksjs.com/documentation.html [23:45] butat: yes hello [23:47] justicefries: interesting...have to check it out. [23:49] prettyrobots has joined the channel [23:49] shawnjan: hello! [23:50] shawnjan: i came by with an issue before, i am back now with some code [23:50] euforic: sdwrage yes it reads the data fine [23:51] euforic: sdwrage yes it reads the data fine [23:51] sdwrage: euforic: so I could store it in a var and use it to do http.write on that data? [23:51] Sembiance: Anyone have a favorite logger module they want to recommend? [23:51] shawnjan: the issue was that i created a proxy server in node, we use the proxy server to inject some stuff into our HTML for development purposes. we have one very specific problem where we proxy through a POST request, which returns a 302 to the browser, and the 302 contains a location to some URL, and this request hangs [23:52] hotroot: Anyone here used sqlite3 in node? Little confused about callbacks [23:52] butat: get a job [23:52] shawnjan: here is the code [23:52] shawnjan: http://pastebin.com/GXEpk34z [23:52] butat: lol [23:52] dgathright has joined the channel [23:52] shawnjan: i think this may possibly be a bug? [23:52] euforic: sdwrage all I want to do with the file after it is received though is move it from the tmp dir to another dir and change the file name [23:52] ryan_stevens1 has joined the channel [23:52] shawnjan: to fix the issue i had to change the connection int he request header to "close" [23:52] Sembiance: butat: but.. I just quit my job so I could code indie web games with node.js back ends full time! [23:53] sdwrage: euforic: wait… I was asking a question lol not answering yours but what issue are you having>? [23:53] sorensen__: Sembiance: winston [23:53] butat: you are a fat faggot [23:53] Circlefusion: wtf [23:53] butat: unfunny [23:54] ph^ has joined the channel [23:54] Sembiance: sorensen__: thanks :) [23:54] killtime: where can i host node.js app for free? [23:54] sorensen__: np [23:54] killtime: for testing ... [23:54] euforic: sdwrage when i try to do a fs.rename it cannot find the file even though it does exist so I'm not sure if it is trying to move it before the upload finishes or what [23:57] Flushot has joined the channel [23:57] cody-- has joined the channel