[00:00] g2404: new members in our army of ldap-bound automatically generated unix-users :) --jkj [00:00] g2427 has joined the channel [00:00] MrNko has joined the channel [00:00] g2404: interestin part was using ldapjs to provide local unix accounts [00:00] g2404: from couchdb [00:01] seivan has joined the channel [00:01] g2404: the autogenerated usernames are somewhat dull though [00:01] teadict has joined the channel [00:01] MrNko has joined the channel [00:02] MrNko has joined the channel [00:02] g2404: I want my gravatar [00:02] g2404: http://koti.kapsi.fi/oh8glv/nko-oulu-irc.png [00:03] MrNko has joined the channel [00:03] alnewkirk has joined the channel [00:03] g2428 has joined the channel [00:04] g2429 has joined the channel [00:04] MrNko has joined the channel [00:04] g2401: hum [00:04] g2401: test [00:04] g2427: same [00:04] balupton has joined the channel [00:04] g2430 has joined the channel [00:05] g2431 has joined the channel [00:05] ragnis has joined the channel [00:05] sneakyness: where would you say is the best place to get started w/ node.js from? [00:05] MrNko has joined the channel [00:06] g2432 has joined the channel [00:06] sneakyness: http://nodeguide.com/beginner.html? [00:06] MrNko has joined the channel [00:06] g2433 has joined the channel [00:06] g2429: NKO [00:07] g2429: Hello Allu [00:07] meso_ has joined the channel [00:07] g2434 has joined the channel [00:07] g2432: jees [00:08] MrNko has joined the channel [00:08] g2434: huhuu? [00:08] g2435 has joined the channel [00:08] ttpva has joined the channel [00:08] Croms: sneakyness: http://nodebeginner.org/index.html http://ofps.oreilly.com/titles/9781449398583/ [00:08] pizthewiz has joined the channel [00:08] jheusala-nko: hi [00:09] jkj_: got to make a cleanup script to reap unused thingies [00:09] MrNko has joined the channel [00:09] sneakyness: oh that's perfect [00:09] sneakyness: thanks Croms [00:09] jheusala-nko: I am using our chat now :-) [00:09] apoc: hmm is npm offline? [00:09] sneakyness: It's easy enough to make a js file and hack on things, was looking for some more explanation about the backend [00:09] sanduz2 has joined the channel [00:09] sneakyness: what makes it what it is, etc [00:10] Ragnis has joined the channel [00:10] apoc: http://registry.npmjs.org/ [00:10] _bat has joined the channel [00:10] sanduz2: noob to node here, is one of node's features the ability to make 'index.js' come out processed like an html? [00:10] MrNko has joined the channel [00:10] sanduz2: if you were to type that in the url for example [00:11] robinduckett: sanduz2: nope [00:11] sanduz2: robinduckett, thanks [00:11] Croms: sneakyness: Check out the first chapters of the O'Reilly book. Should tell you the basics. [00:12] sneakyness: yeah I'm already on 3 [00:12] V1 has joined the channel [00:12] MrNko has joined the channel [00:12] robinduckett: sanduz2: it runs more like a server which is scripted through javascript [00:12] _numbers has joined the channel [00:12] robinduckett: like python or ruby [00:12] sanduz2: robinduckett, oh i see. so you build your app in node itself [00:12] robinduckett: but js [00:12] paveq3 has joined the channel [00:12] robinduckett: yes [00:12] g2436 has joined the channel [00:13] jheusala-nko has joined the channel [00:13] jheusala-nko: hmm [00:13] mikeal has joined the channel [00:13] MrNko has joined the channel [00:13] g2436: uhu [00:13] sneakyness: that drawing game was fun btw [00:13] g2437 has joined the channel [00:13] Gojohnnyboi has joined the channel [00:13] sneakyness: I hope people enjoyed my overly detailed drawings [00:13] sanduz2: robinduckett, is it simple to use in the same sense as, say, a python framework? or is it super low level? [00:13] robinduckett: there are frameworks which are high level [00:13] teadict: http://paste.ubuntu.com/676895/ ): [00:13] robinduckett: look into express [00:13] paveq3 has joined the channel [00:14] jheusala-nko: cool my avatar is now working [00:14] robinduckett: expressjs.com [00:14] sanduz2: robinduckett, thank you [00:14] robinduckett: there are good video casts there [00:14] robinduckett: np [00:14] g2437: test :) [00:14] sanduz2: oh express looks very nice [00:14] MrNko has joined the channel [00:15] teadict: do you need to reboot after installing build-essential? [00:15] sorensen: FO SHO [00:15] sorensen: nko madness [00:15] robinduckett: teadict: not usually [00:16] teadict: I don't understand the error in the pastie then [00:16] MrNko has joined the channel [00:16] bazookatooth has joined the channel [00:16] teadict: http://paste.ubuntu.com/676895/ [00:16] MrNko has joined the channel [00:17] teadict: mm, is now dependant on 0.5.1, cuz I'm on 0.4.11 [00:17] teadict: I don't get it [00:17] robinduckett: teadict [00:17] robinduckett: node-waf not found [00:17] robinduckett: you need to make install node [00:17] teadict: I sintalled from the repos... [00:17] teadict: dammit, I knew I shouldn't have [00:18] g2438 has joined the channel [00:18] booo has joined the channel [00:18] MrNko has joined the channel [00:18] paveq: :P [00:18] g2438: hi [00:19] sneakyness: am I doin it right http://cl.ly/12153V1J1Z1P3E1t2y2e [00:19] robinduckett: teadict: there's your issue [00:19] MrNko has joined the channel [00:19] robinduckett: do a manual install of v0.4.11 [00:20] kmiyashiro has joined the channel [00:20] teadict: yeah [00:20] g2439 has joined the channel [00:21] g2440 has joined the channel [00:21] MrNko has joined the channel [00:21] g2441 has joined the channel [00:21] mikeal has joined the channel [00:23] MrNko has joined the channel [00:23] g2442 has joined the channel [00:23] gtramont1na has joined the channel [00:24] g2439: gg [00:24] hornairs has joined the channel [00:25] MrNko has joined the channel [00:25] Epeli has joined the channel [00:25] g2440: wat [00:25] isaacs has joined the channel [00:25] tomshaw has joined the channel [00:26] guillermo has joined the channel [00:26] dylang: sneakyness: that's awsome!!! [00:26] MrNko has joined the channel [00:26] dylang: sneakyness: how has your chain evolved? [00:27] sneakyness: yeah [00:28] aconbere has joined the channel [00:28] MrNko has joined the channel [00:28] g2443 has joined the channel [00:28] zomgbie has joined the channel [00:30] cmichi has joined the channel [00:30] CrabDude has joined the channel [00:30] karlbright has joined the channel [00:31] overra has joined the channel [00:31] karlbright has joined the channel [00:32] MrNko has joined the channel [00:34] MrNko has joined the channel [00:34] sneakyness: dylang: [00:34] sneakyness: this one is for you [00:35] sneakyness: http://cl.ly/0d1A0s0I2k1y0e1y3r3r [00:37] dylang: sneakyness: holy shit that's awesome - everybody here is laughing. [00:37] kiffness has joined the channel [00:37] sneakyness: okay well now you have to meet my demands [00:37] sneakyness: 1. My kingdom for a fucking fill tool [00:37] Juan77 has joined the channel [00:37] Nuck: Anyone in the mood to help me work on my streaming multipart parser? [00:37] g2444 has joined the channel [00:37] sneakyness: 2. Can a nigga get a selection indicator on colors? [00:37] Nuck: Or at least battle-test that shit :P [00:38] dylang: sneakyness: i'd love to but i can't make any changes [00:38] sneakyness: 3. Color selection? I know HTML5 has [00:38] sneakyness: 4. The + cursor instead of the pointer [00:38] sneakyness: That's it [00:38] sneakyness: <3 [00:38] dylang: sneakyness: i wish i had you on the team [00:38] sneakyness: what team [00:38] sneakyness: are you hiring [00:38] Nuck: sneakyness: NKO [00:38] Nuck: Node Knockout [00:38] Nuck: It just ended [00:38] sneakyness: oh I think I know one of the judge dudes [00:39] Nuck: Probably, there's like 500 million of them [00:39] _numbers has left the channel [00:39] sneakyness: @ryanmcgrath on twitter I think [00:39] sorensen: lol [00:39] sneakyness: I just met him when I moved to dc [00:39] sorensen: nko was madness [00:39] sorensen: madness you say? [00:39] sorensen: THIS IS KNOCKOUT [00:40] raidfive has joined the channel [00:41] gtramont1na has joined the channel [00:42] te-brian2 has joined the channel [00:43] Nuck: Please, somebody write a script that will attempt to rape my splitter? [00:43] nullvztz has joined the channel [00:43] Nuck: I need to test when it breaks so I know what to fix :P [00:43] Nuck: What the fuck [00:44] nullvztz: is there any way to get a reference to a list of connected sockets? [00:45] jkj_: sorry... [00:45] jkj_: that was the cleanup [00:45] sneakyness: welp, dylang [00:45] sneakyness: since you can't meet my demands [00:45] sneakyness: I must attempt to explode your head [00:45] sneakyness: with INCEPTION DOODLES [00:45] sneakyness: http://cl.ly/3o391Z0M0n310m0L0V2w [00:45] _numbers has joined the channel [00:45] _numbers: npm install ready.js [00:46] jkj_: the guys the had left old session open.... no it's run */10 * * * * [00:46] _numbers: readyjs: command not found [00:47] rhdoenges has joined the channel [00:48] Nuck: I need opinions. [00:48] Nuck: Should I provide a header event for a part, or just buffer the headers and provide that on the part event? [00:48] g2445 has joined the channel [00:49] Nuck: For my multipart parser [00:52] blueadept` has joined the channel [00:52] rhdoenges: okay the node ko buttons are not working [00:53] rhdoenges: argh [00:53] k1ttty has joined the channel [00:54] sneakyness: dylang: wehre can I read more about your team? and also will good drawings help you win? [00:54] sneakyness: and will I be able to see all of the chains later? [00:54] sharkbird has joined the channel [00:55] shiawuen has joined the channel [00:55] MrNko has joined the channel [00:56] dylang: sneakyness: wow that is the best one yet. [00:56] blueadept has joined the channel [00:56] blueadept has joined the channel [00:56] teadict: http://paste.ubuntu.com/676919/ halp [00:57] sneakyness: dylang: http://cl.ly/3E2O1d0T0w2W103X1s20 [00:58] teadict: oh nvm [00:58] ckpcw_ has joined the channel [01:00] tomshaw has left the channel [01:01] fmeyer has joined the channel [01:01] Nuck: ACTION pokes the chat [01:01] Nuck: Nobody alive? [01:02] Acolyte: yep [01:02] nickaugust: howdy [01:03] bettsp has joined the channel [01:03] Nuck: Anyone feel like opining on whether I should provide a 'header' event for each part's headers or just buffering that up before passing it to the 'part' event? Note: This is a multipart/form-data parser [01:03] bettsp: I have a noob question - now that npm 1.x defaults to per-project package installs, what's the best way to run bins [01:03] Nuck: run bins? [01:04] bettsp: Like executables [01:04] bettsp: Do I really have to add every project I use commonly to $PATH? [01:04] Nuck: What about executables? [01:04] Nuck: Are you talking about the C++ moduleS? [01:04] Nuck: or jsut calling on an exe file? [01:05] bettsp: No, like coffee-script has "coffee", or Cakefile has "cake" [01:05] bettsp: They get stored under $PROJECT/node_modules/.bin [01:05] Nuck: bettsp: For things like that, you do npm install -g coffeescript [01:05] Nuck: that forces a global install [01:07] bettsp: That doesn't seem like the "correct" way to do things [01:07] Nuck: bettsp: It is [01:09] rickharrison has joined the channel [01:09] Nuck: chjj: You! You wrote a multipart parser, care to help me ponder this design choice? [01:10] chjj: ! [01:10] chjj: whats that? [01:10] Nuck: The design choice? [01:10] chjj: Nuck: whats the choice between? i just tabbed in here [01:10] Nuck: whether I should provide a 'header' event for each part's headers or just buffering that up before passing it to the 'part' event [01:10] ag90 has joined the channel [01:10] Bjfnvfhd has joined the channel [01:11] JaKWaC has joined the channel [01:11] Bjfnvfhd: Hi [01:11] chjj: i always found headers to be kind of a sticky situation there, because you *have* to buffer headers, theres no way around it [01:11] chjj: unless you want to dispatch header events with pieces of headers [01:11] Nuck: chjj: But *why* [01:11] chjj: which wouldnt be very pleasant for the user [01:11] g2446 has joined the channel [01:11] Nuck: I could buffer each header individually [01:12] Bjfnvfhd: I love node [01:12] Nuck: And dispatch a 'header' event after each one [01:12] chjj: Nuck: yeah, thats why i mean [01:12] chjj: but theres no way around buffering there [01:12] chjj: what i mean* [01:12] Nuck: Or I could buffer them all up and pass it to the callback for the 'part' event [01:12] chjj: in my own parser, i abstract that all away, there is no header event [01:12] chjj: the headers are handled internally [01:13] chjj: it depends on how low-level or malleable you want to make it [01:13] Nuck: chjj: I'm thinking it might be nice to provide them streamingly [01:13] chjj: yeah, then the user could do whatever he wanted with them [01:13] Nuck: Well, I follow the Node concept of "don't abstract much" [01:13] Nuck: Exactly [01:13] Nuck: Gonna make an epic testkit for this too [01:13] chjj: i just did it my way to make things simpler, and because i only wanted to use it for one thing [01:14] Nuck: Take a multipart string and fake the data events to the parser so it splits on every point [01:14] Nuck: So it will determine if there's any SPOF in there [01:14] chjj: i think a better design question is how to handle parse errors [01:14] chjj: gracefully or strictly [01:14] neoesque has joined the channel [01:14] Peniar has joined the channel [01:14] Nuck: chjj: I'm just gonna die if there's some major issue [01:15] Nuck: I'm not gonna try and write a "tag soup" parser [01:15] Nuck: That leaves room for errors [01:15] chjj: Nuck: thats what i do now, i originally wrote it buffering the last 3 bytes so i could gracefully handle parse errors [01:15] Nuck: And possible security hole [01:15] chjj: but it really complicated things [01:15] chjj: yeah [01:15] chjj: it was really hard to secure then, there were possibilities of overflows during the buffering of a header [01:16] Nuck: I rewrote my parser from before, now it handles multiple parts in a single chunk [01:16] chjj: because i was trying to gracefully handle errors [01:16] Nuck: Yeah, I'm gonna follow the rule of KISS [01:16] Nuck: Now, headers will always be separated from the body by the first \r\n\r\n, right? [01:16] chjj: yes [01:16] sneakyness: I really should be getting back to work soon [01:16] sneakyness: http://cl.ly/26441H0g2z0R2g3H1w3M [01:16] chjj: unless there is some buggy client [01:17] Nuck: That makes my life pretty easy [01:17] chjj: that does it wrong [01:17] abraxas has joined the channel [01:17] Nuck: I'm gonna go the malleable way [01:18] chjj: my parser was originally very monolithic, it handled everything, all you had to do was pipe a request object into it [01:18] chjj: ive changed it a lot since then [01:18] te-brian2 has joined the channel [01:18] Nuck: Mine is the same, you pipe the request object in, and it provides a ton of events [01:19] eyesUnclouded has joined the channel [01:19] Nuck: oh yay dinnertiemz [01:19] dgathright has joined the channel [01:20] chjj: i might change the headers around now that i think about it [01:20] chjj: ive slowly made it less and less monolithic [01:21] chjj: and handled more in the included middleware [01:22] schwab has joined the channel [01:24] enhydra has joined the channel [01:24] MrNko has joined the channel [01:25] pct has joined the channel [01:26] sorensen: ONE CSS RULE FROM TOTAL DOMINATION [01:26] sorensen: damnit [01:26] sorensen: fml [01:26] w3dot0 has joined the channel [01:26] Nuck|mobile: I'm not doing middleware honestly, chjj — don't see much of a point. [01:27] Nuck|mobile: I'm doing the equivalent of the HTTP module in Node [01:27] Nuck|mobile: But for multipart form data [01:27] chjj: well you know, the http module does throw all the headers into one object for you =/ [01:28] kiffness_ has joined the channel [01:28] Nuck|mobile: True but most HTTP things aren't dealing with huge files like this will be [01:28] Nuck|mobile: Headers can mean the difference between parsing a huge file or not [01:29] jmikola|w has left the channel [01:30] chjj: alright [01:30] gerard0 has joined the channel [01:30] g2447 has joined the channel [01:30] tonymilne has joined the channel [01:31] g2447: hi [01:31] Nuck|mobile: I might provide an option to do that later tho, since it is a rather useful thing [01:31] _numbers has left the channel [01:31] LevyYoung has joined the channel [01:32] sneakyness: which textmate bundle is the best for node.js? [01:32] sneakyness: https://github.com/drnic/javascript-node.tmbundle ? [01:32] Nuck|mobile: Are there node-specific bundles already? Wow. [01:32] sneakyness: oh definitely [01:32] sneakyness: how old is node? [01:33] Nuck|mobile: Well a couple years, I think. [01:33] rafaelcaricio has joined the channel [01:34] sneakyness: so why do you say "Are there node-specific bundles already?" [01:34] Nuck|mobile: JS ones should be enough for most cases. [01:34] Nuck|mobile: Node is just js, but with some added globals which might call for separate bundles [01:35] Nuck|mobile: I just didn't think anyone would bother [01:35] lunks has joined the channel [01:35] jakehow has joined the channel [01:35] jakehow__ has joined the channel [01:35] jakehow_ has joined the channel [01:35] kiffness has joined the channel [01:36] blakmatrix: bah :S [01:36] blakmatrix: app keeps thrashing taking up 90% mem [01:38] Dreamer3 has joined the channel [01:38] isaacs has joined the channel [01:40] _root_ has joined the channel [01:41] jacobolus has joined the channel [01:44] liveink has joined the channel [01:45] steffan_ has joined the channel [01:46] sneakyness: hey Croms [01:46] sneakyness: I'm in Chapter 6 right now, trying example 5.2, but when I call "node example.js", it's erroring out, "cannot find module Utils" [01:46] sneakyness: http://ofps.oreilly.com/titles/9781449398583/chapter_6.html [01:47] ronnieboy has joined the channel [01:48] Croms: sneakyness: You've found an error in the book. It's require("util"). [01:49] sneakyness: yay! [01:49] sneakyness: thank you [01:50] ale has joined the channel [01:50] ale: Hello, how can I do that when I access a web, I can see all the messages that were sent before I access it? [01:52] guillermo has joined the channel [01:52] dshaw_ has joined the channel [01:52] JSManiacs1 has joined the channel [01:53] Croms: sneakyness: yw. Btw, if you find older tutorials on the web, then you'll find that util used to be called sys. Just replace sys with util and everything runs fine. [01:53] sneakyness: good to know [01:53] sneakyness: thanks my mans [01:54] chjj: https://github.com/mixu/nodeko [01:54] chjj: damn thats really cool [01:54] chjj: im gonna do x stuff in node now [01:55] tmzt_: like? [01:55] tmzt_: oh wow [01:56] tmzt_: window manager? [01:56] sneakyness: what the fuck [01:56] chjj: yeah, its a nice node api for x [01:56] sneakyness: that is _crazy_ [01:56] chjj: looks awesome [01:56] chapel: http://trickledown.no.de/ << damn, I think they are gonna win [01:57] tmzt_: looks like he's using xlib though [01:57] chjj: yeah, still cool though [01:57] tmzt_: not xcb which is a much better fit for event driver js [01:57] tmzt_: driven [01:57] nickgreenie has joined the channel [01:57] chjj: hmm, ive never coded x stuff before [01:58] g2448 has joined the channel [01:58] AvianFlu: chapel: turtlerocket.nodejitsu.com FTW [01:58] chjj: but i think that guy should get points for trying to make node more general-purpose instead of entirely oriented around shiny web apps [01:59] perezd has joined the channel [01:59] g2448: Hello. [02:00] tmpvar has joined the channel [02:00] shanebo has joined the channel [02:01] JumpMast3r has joined the channel [02:01] amigojapan has joined the channel [02:01] tmzt_: chjj: yep [02:01] chapel: http://sponoders.nko2.nodeknockout.com/ << sorensen niftylettuce and my entry to nko [02:02] g2449 has joined the channel [02:04] boaz has joined the channel [02:04] nickgreenie has joined the channel [02:04] seivan has joined the channel [02:05] nickgreenie: Check out what we made for the node knockout hackathon!!!! Think of it as turntable.fm but for videos http://li271-178.members.linode.com/ [02:06] rurufufuss has joined the channel [02:07] ag90 has left the channel [02:07] ryanj has joined the channel [02:09] pen has joined the channel [02:10] _root_ has joined the channel [02:12] TheCoreh has left the channel [02:12] _root_ has joined the channel [02:13] rickharrison has joined the channel [02:13] te-brian has joined the channel [02:14] Voxxit has joined the channel [02:16] CrabDude has joined the channel [02:17] joshfng has joined the channel [02:17] mikekunze has joined the channel [02:19] willwhite has joined the channel [02:21] matyr has joined the channel [02:21] nibblebot has joined the channel [02:23] KingJamool has joined the channel [02:24] jhurliman has joined the channel [02:24] modular has joined the channel [02:24] g2450 has joined the channel [02:25] igl1 has joined the channel [02:25] guidocalvano has joined the channel [02:26] z6Dabrata has joined the channel [02:27] modular: i'm doing some experiments to see how node handles large arrays? i push a million character string onto an array 1 million times? that should take up a 1000 gigs of ram, yet node doesn't crash, and top only shows node using about 90M of ram... [02:27] modular: and i can pull things out of the array just fine. what's going on? am i missing something? [02:29] sneakyness: if it's the same million character string I would imagine it would only need to store it in memory once [02:29] MrNko has joined the channel [02:29] sneakyness: have you tried unique million character strings? [02:29] modular: i prefixed the string with the row number, so it's like "row10000xxxxxxxxxxxxxxx" [02:29] trentm has joined the channel [02:30] modular: you figure it's just storing all those x's once? [02:30] sneakyness: without a doubt [02:30] modular: hm. [02:30] sneakyness: try totally unique strings [02:31] brianseeders has joined the channel [02:32] kriszyp has joined the channel [02:33] matyr has joined the channel [02:34] kylefox has joined the channel [02:34] mikekunze has joined the channel [02:34] MrNko has joined the channel [02:35] cying has joined the channel [02:36] Qbix1 has joined the channel [02:36] ryanfitz has joined the channel [02:36] modular: yeah, that seems to do it. [02:39] MrNko has joined the channel [02:40] JaKWaC has joined the channel [02:40] cliffff has joined the channel [02:41] skm has joined the channel [02:45] sneakyness: there ya go [02:45] _dc has joined the channel [02:47] mnutt_ has joined the channel [02:47] skm has joined the channel [02:53] arthurdebert has joined the channel [02:55] ryanfitz has joined the channel [02:55] g2451 has joined the channel [02:56] g2451: /join 0 [02:57] losing has joined the channel [02:58] sneakyness: aw, where's dylang at? [02:59] JakeyChan has joined the channel [02:59] nibblebot has joined the channel [02:59] jerrysv_ has joined the channel [02:59] kenperkins has joined the channel [03:03] sneakyness has joined the channel [03:03] tilman_ has joined the channel [03:04] _dc has joined the channel [03:06] tilman_: need help building on windows using cygwin. i follow the instructions to the letter, but when running `make` i get an error: "Build failed -> task failed (err #1): {task cxx_link [...] -> node.exe}" any advice? [03:06] tilman_: https://github.com/joyent/node/wiki/Building-node.js-on-Cygwin-%28Windows%29 [03:06] tilman_: these instrusctions [03:06] ditesh|cassini has joined the channel [03:08] MrNko has joined the channel [03:10] JaKWaC has joined the channel [03:12] matyr has joined the channel [03:15] matyr_ has joined the channel [03:18] newy has joined the channel [03:19] tilman_: ok didnt read everything.. ld is crashing [03:19] tilman_: http://pastebin.com/MiR93Kug [03:19] tilman_: any idea? ;) [03:20] matyr has joined the channel [03:22] Aphelion has joined the channel [03:22] g2452 has joined the channel [03:23] matyr_ has joined the channel [03:23] tk has joined the channel [03:25] MrNko has joined the channel [03:26] exotichitch has joined the channel [03:27] heavysixer has joined the channel [03:28] exotichitch has left the channel [03:28] cliffff has joined the channel [03:29] jerrysv has joined the channel [03:32] JSManiacs has joined the channel [03:32] liveink has joined the channel [03:34] toki_kanno has joined the channel [03:35] g2453 has joined the channel [03:35] g2453: you tell me [03:37] eazyigz has joined the channel [03:38] g2453: Hello ? [03:39] Spion has joined the channel [03:40] JSManiacs has joined the channel [03:41] adelgado has joined the channel [03:43] g2454 has joined the channel [03:45] slifty has joined the channel [03:45] g2455 has joined the channel [03:45] exotichitch has joined the channel [03:45] arthurdebert has joined the channel [03:46] bergie has joined the channel [03:46] infynyxx has joined the channel [03:47] glyytch has joined the channel [03:48] sreeix has joined the channel [03:48] dgathright has joined the channel [03:48] dshaw_ has joined the channel [03:50] JSManiacs has joined the channel [03:51] hunghuynh has joined the channel [03:51] hunghuynh: hi all [03:52] hunghuynh: I begin with node.js [03:52] rafaelcaricio has joined the channel [03:52] davidbanham has joined the channel [03:52] tedsuo has joined the channel [03:52] hunghuynh: but I can't node.js [03:52] hunghuynh: node installed but it don't run [03:52] hunghuynh: error python 3 [03:52] tonymilne has joined the channel [03:52] hunghuynh: Who have solution ? help me [03:52] Nuck: hunghuynh: If it's a Python error, it's not installed yet [03:53] davidbanham: hunghuynh: Can you please provide more information? Please give us the entire error, linked on pastebin.com [03:53] neorab has joined the channel [03:53] Nuck: davidbanham: You mean gist.github.com [03:53] jgornick: hey guys, any recommendations for an http client module? or just simply use the nodejs packaged http module? [03:53] Nuck: jgornick: Depends on your purposes [03:53] hunghuynh: I will all see error [03:54] davidbanham: Nuck: Yeah, either or. I figure pastebin is more familiar to a lot of people and I always try and reduce entropy with these things. [03:54] Nuck: hunghuynh: I take it English isn't your first language? [03:54] jgornick: Nuck: Realyl to just make a post of data to another server (cross-domain) [03:54] hunghuynh: Nuck: yes, I from vietnamese [03:55] hunghuynh: +.+ [03:55] Nuck: jgornick: Ah, yeah, I'd say just use the basic node HTTP module, unless it doesn't do what you need [03:55] jgornick: Nuck: perfect, thanks! [03:55] matyr has joined the channel [03:56] hunghuynh: node.js:134 throw e: //process.nextTick erroe, or 'error' event on first tick [03:56] hunghuynh: SystaxError : Unexpected token { [03:56] davidbanham: hunghuynh: Please use pastebin or gist.github.com, don't paste entire errors into the chat. [03:56] Nuck: hunghuynh: You on Windows? [03:56] hunghuynh: at Module._copole (module.js:397:25) [03:57] chorrell has joined the channel [03:57] hunghuynh: Nuck : I on arch linux [03:57] Nuck: hunghuynh: You know how to select text in console? [03:57] hunghuynh: :( sorry davidbanham [03:57] hunghuynh: I first use irc [03:57] davidbanham: hunghuynh: No worries! We all learned once. [03:59] hunghuynh: so, node.js don't run with python3 [04:00] jamescarr has joined the channel [04:00] ag_ has joined the channel [04:00] edude03 has joined the channel [04:00] g2456 has joined the channel [04:01] Nuck: hunghuynh: Node does not require Python [04:01] andrewfff has joined the channel [04:01] Nuck: It only uses Python to orchestrate the initial installation [04:01] davidbanham: hunghuynh: Python is only needed for installation. After that it is not needed. [04:02] ag_: Hello everyone, I had a quick question. Using Jade.js how do you escape with a whitelist? As in, I have a comment box that obviously needs to be escaped, but I'm allowing multiple lines, so I'm converting line breaks to "
" before showing. [04:03] hunghuynh: Oh, maybe I error in code [04:03] hunghuynh: I try ... [04:03] davidbanham: hunghuynh: If you show us your code, we might see what's wrong. [04:03] firebalrog has joined the channel [04:04] tmzt_: hunghuynh: alt-space e-m [04:04] karlbrigh has joined the channel [04:04] tmzt_: er, e-k [04:04] tmzt_: select the text [04:05] tmzt_: press enter [04:05] Nuck: tmzt_: Is that just general or vim or what? [04:05] tmzt_: Nuck: windows console/cygwin [04:05] pen has joined the channel [04:06] tmzt_: oh [04:06] tmzt_: oops [04:06] tmzt_: confusing two questiosn [04:06] matyr_ has joined the channel [04:06] hunghuynh: I learn vim [04:07] hunghuynh: how paste text copy on terminal ? [04:08] modular has joined the channel [04:08] exotichitch: Triple click [04:08] zackattack has joined the channel [04:08] dan___ has joined the channel [04:09] g2457 has joined the channel [04:09] matyr has joined the channel [04:10] tilman_: hey everybody, can someone help me out? trying to build on windows using cygwin. `make`quite with an error message: http://pastebin.com/MiR93Kug [04:10] karlbright has joined the channel [04:10] _dc has joined the channel [04:11] boehm has joined the channel [04:11] hunghuyn2 has joined the channel [04:11] hunghuyn2: hic [04:11] ryan[WIN] has joined the channel [04:11] ben_alman_ has joined the channel [04:11] TheFuzzball has joined the channel [04:12] hunghuyn2: https://gist.github.com/1177755 [04:12] kmiyashiro has joined the channel [04:12] hunghuyn2: who watch my code to fix [04:12] hunghuyn2: I post on gist github [04:12] firebalrog: hunghuynh: v 5j d p will highlight 5 lines cut then paste [04:13] hunghuyn2: oh [04:14] mike5w3c has joined the channel [04:14] boltR has joined the channel [04:15] g2458 has joined the channel [04:16] hunghuyn1 has joined the channel [04:16] hunghuyn1: hi all [04:16] davidbanham: hunghuyn1: You had a spelling error in your code. [04:17] davidbanham: https://gist.github.com/1177767 [04:17] g2459 has joined the channel [04:17] davidbanham: hunghuyn1: Line 2, you were missing a 'c' from the word 'function'. [04:17] MrNko has joined the channel [04:17] nerdy_ has joined the channel [04:18] g2452: testing [04:18] hunghuyn1: oh I see, thanks davidbanham :) [04:19] davidbanham: hunghuyn1: No worries. [04:19] karlbright: hunghuyn1: Slightest typo on your console.log too. Doesn't matter too much but it stood out to me - https://gist.github.com/1177769 [04:20] g2460 has joined the channel [04:20] clifton has joined the channel [04:21] toki_kanno has joined the channel [04:22] sneakyness: okay I am totally done drawing into that doodle app for the rest of my life [04:22] dgathright has joined the channel [04:22] sneakyness: http://tinyurl.com/3ccjc27 [04:26] clifton: http://team-jerkface.nko2.nodeknockout.com/index [04:26] matyr has joined the channel [04:27] eazyigz has joined the channel [04:28] aguynamedben has joined the channel [04:28] fairwinds has joined the channel [04:29] g2461 has joined the channel [04:30] g2462 has joined the channel [04:31] sivy has joined the channel [04:31] g2462: lol [04:31] g2462: fsdfsd [04:31] g2463 has joined the channel [04:32] ckpcw has joined the channel [04:36] g2464 has joined the channel [04:40] Acolyte: what is the correct way of connecting to mongolab? [04:40] Acolyte: mongoose.connect('mongodb://dbh26.mongolab.com:27267/MyDatabase') ? [04:41] loob2 has joined the channel [04:41] nimstr has joined the channel [04:41] jamescarr_ has joined the channel [04:42] nimstr: wow, this is the most active irc chat I've seen in a while [04:44] nimstr: I've heard node.js doesn't work well with other frameworks very well, because it's only meant for IO; anyone know how difficult it would be to use node.js on top of ruby on rails? [04:44] cliffano has joined the channel [04:44] nimstr: in other words, using ruby on rails as the main data model and having node.js to handle some real-time i/o [04:44] matyr has joined the channel [04:46] Nuck: nimstr: Ruby is slower no matter what [04:46] Nuck: We're on V8, the only thing thats' gonna beat us at speeds will be native code [04:46] Nuck: And even then, the overhead of calling out to native code prevents that [04:47] g2465 has joined the channel [04:47] nimstr: I understand, but I just don't like the frameworks built on top of node.js thus far. They don't use the design patterns I've grown to love [04:47] Nuck: And what do you mean "doesn't work well with other frameworks"? [04:47] Nuck: nimstr: Get used to it, with a language comes the design patterns it brings [04:47] g2466 has joined the channel [04:47] Nuck: You look at ExpressJS? [04:47] nimstr: this seems to be the concensus [04:48] nimstr: yeah, express.js doesn't use MVC [04:48] nimstr: here's the reference [04:48] nimstr: http://stackoverflow.com/questions/3527482/ruby-on-rails-and-node-js [04:48] g2452: nimstr: Some other Ruby frameworks might be fast enough but I really prefer Python Flask myself. Simple and *fast* (well, fast considering that it is a dynamic language we are speaking of). [04:49] Nuck: nimstr: Just make the jump. Learn that MVC ain't so rigid [04:49] shanebo: Nuck, MVC is the awesomesauce [04:49] Nuck: Use Mongoose for Model, Express for View, and Control shit with jQuery [04:49] shanebo: nimstr, I actually agree with you [04:49] Nuck: Problem solved [04:50] Nuck: :P [04:50] Nuck: MVC is one of those things that people put way too much thought into [04:50] nimstr: hmm… that's too pro for me [04:50] Nuck: The best code is that which you don't hafta think about [04:50] shanebo: Nuck, the hidden stuff is what gives me nightmares :D [04:50] Nuck: Let your code form naturally, don't force it into a rigid structure [04:50] Lorentz: i.e. code someone else wrote and isn't your problem to fix [04:50] nimstr: I can look at any rails app and know exactly what's going on almost immediately [04:50] nimstr: because everything has a defined structure [04:51] shanebo: nimstr +1 [04:51] Nuck: nimstr: Same goes for Express apps [04:51] Nuck: It's a different structure, but you get used to it [04:51] Nuck: And forcing everyone to use the same exact style is NEVER a good thing [04:51] chjj: nuck: i kind of agree, im for following mvc as a general philosophy, but using a heavyweight mvc framework is really ugly imo [04:51] shanebo: I love that you can drop into Rails IRC and ask what's the way to do something and they tell you :D They don't say well here's 35 ways you could do that.. Pick one. [04:51] Nuck: It is invariably a negative, it prevents you from doing what feels right [04:52] Nuck: I roughly follow MVC [04:52] Nuck: I'll be honest, it's some semblance of MVC [04:52] Nuck: But, I don't actively attempt to stick to MVC [04:52] nimstr: alright, I guess I don't have the expertise yet to argue; I'll take a look at express; in the meantime, I have some apps built already in rails, just wondering if it's possible to port the i/o speed of node.js to rails [04:52] Nuck: nimstr: Node isn't magically fast, it's the fact that we have asynchronous I/O [04:53] jerrysv_ has joined the channel [04:53] chjj: im so glad express is what it is, and not some hideous mvc framework [04:53] kiffness_ has joined the channel [04:53] Nuck: chjj: Agreed [04:53] Nuck: I don't get why people seem to put so much stock in these MVC frameworks [04:53] chjj: we couldve been stuck with something terrible, instead we got something really nice [04:53] Nuck: I think it's Stockholm Syndrome [04:53] fairwinds_ has joined the channel [04:53] nimstr: >.< I understand, just wondering if anyone here has had experience building real-time apps using node.js interacting with a rails data model [04:53] toki_kanno has joined the channel [04:53] apang42 has joined the channel [04:54] Nuck: People have gotten so used to this rigid-ass MVC setup that to move to something so free-formed as Express or Node seems odd to them. [04:54] Nuck: It's a classic case of Stockholm Syndrome. [04:55] Nuck: nimstr: Just as you wouldn't make one thing using both Java and C++, you wouldn't do Ruby and Node. [04:55] shanebo: chjj, Nuck, I've written an MVC framework that's probably less than 800 LOC on top of connect. There's nothing bloated or nasty about it. I think you'all may be averse to too much magic, and I agree. Rails gets too magical for my taste... [04:56] fangel has joined the channel [04:56] Nuck: shanebo: It's not that it *is* bloated, it's that it FEELS bloated. [04:56] Nuck: You can't measure bloat in LOC [04:56] chjj: shanebo: its not just bloat in most of them [04:56] chjj: its very rigid like nuck said [04:56] slifty has joined the channel [04:56] Nuck: Exactly, the rigidity is the problem. [04:56] shanebo: exactly. because they believe that's the cleanest pattern. [04:56] shanebo: (which I agree with) [04:57] chjj: like i said, im all for following mvc as a general philosophy, but i dont need a framework to do it [04:57] Nuck: I am a fan of what I call Organic Development. By that I mean I let my code flow like diahrea from my fingertips. [04:57] g2467 has joined the channel [04:57] Nuck: I let it organize itself following logical patterns [04:57] ChrisPartridge has joined the channel [04:57] chjj: okay, i disagree with that part ^ [04:57] chjj: the fingertips thing [04:57] shanebo: when you don't embrace a pattern you end with spaghetti, repeating yourself all over the place and quadrupling the size of your codebase [04:57] Nuck: chjj: lol [04:58] theCode has joined the channel [04:58] Nuck: shanebo: Not at all [04:58] nimstr: when trying to convince people to switch to your coding philosophy, never compare your code to diahrea, haha [04:58] Nuck: If that's your default structure, there's a problem. [04:58] chjj: shanebo: you dont need a framework to embrace a pattern [04:58] Nuck: My code defaults to a frameworkless sorta-MVC-if-you-wanna-call-it-that [04:59] shanebo: chjj, agreed, but you'll have to write your own then… which I did [04:59] Nuck: I don't slap a label on it [04:59] nimstr: the problem I think is that you guys are working on project by yourselves [04:59] Nuck: shanebo: Or better yet, don't use anything [04:59] Nuck: And just built it yourself [04:59] Nuck: nimstr: Not at all [04:59] nimstr: you'll understand the beauty of MVC when you have to work on a project with 10+ people [04:59] chjj: shanebo: right, but i would never abstract "my own" into a framework, because it makes things more rigid [04:59] Nuck: I've got two other programmers working with me on this project, and my code is quite beautiful [04:59] Nuck: A framework is pointless [05:00] Nuck: nimstr: You'll understand the beauty of letting it organize itself when you need to meet a deadline for building something you haven't done before. [05:00] Nuck: I use a mixture of OOP and Functional code, with code organized by purpose more than Model, View, and Controller [05:00] shanebo: chjj, I suppose you'd have to give an example where MVC falls short in order for me to see where you're coming from. I've never run into a scenario where it felt rigidly impractical [05:01] Nuck: Hell, I don't really have any Views in Node. [05:01] Nuck: Or Models [05:01] kiffness has joined the channel [05:01] blessYAHU has joined the channel [05:01] shanebo: Nuck what DB are you using? [05:01] chjj: shanebo: once again, i never said mvc was the problem [05:02] Nuck: I have a database layer which handles common functions there, then I have my API layer, then I have my actual site on a separate Nginx server, using AJAX to load it in [05:02] Nuck: shanebo: Mongo [05:02] binaryjohn_ has joined the channel [05:02] Nuck: I have database functions, but when I need a new feature, I add the new feature. Plain and simple. [05:03] boltR has joined the channel [05:03] Nuck: I didn't plan a bit of this in advance. I just coded a ton, realized I needed to refactor, then planned that out and orchestrated that over a week or so, then got back to coding [05:03] Nuck: And lemme tell you, it's working WONDERFULLY so far [05:03] blessYAHU: for the node windows build, what directory do node_modules go in? [05:03] Nuck: It allows me fine-grained control over everything, opening up thousands of ways to optimize code, etc. [05:04] shanebo: Nuck, but I guarantee you that you've not done anything that hasn't already been done, pattern-wise. Only difference is you don't know what pattern it is ;) [05:04] Nuck: blessYAHU: If you have /foo/bar/app.js requiring 'thing', it checks /foo/bar/node_modules, then /foo/node_modules, then /node_modules/ [05:04] Nuck: It just climbs up [05:04] blessYAHU: Nuck: Thank you. [05:05] Nuck: shanebo: No, the difference is, I'm not labelling it and claiming that it's the One True Pattern, unlike all you MVC crazies. [05:05] kiffness has joined the channel [05:05] Nuck: I'm saying "I do whatever works" [05:05] dob_ has joined the channel [05:05] Nuck: Which translates to "no framework, because abstractions suck testicles" [05:05] Nuck: See? [05:06] shanebo: Nuck, so you're admitting to having bloated unDRY code? [05:06] shanebo: because that's what "abstractions" are… ways to avoid repeating yourself [05:07] Nuck: shanebo: Not at all. One of the core goals in NodeJS, as stated by ryan, is to avoid abstractions! [05:07] Nuck: Because abstractions suck ass! [05:07] shanebo: Nuck, javascript is an abstraction [05:07] shanebo: every time you use a method on any type, that's an abstraction [05:08] Nuck: shanebo: When we work in NodeJS we deal directly with POSIX calls [05:08] nimstr: does node have a "gem-like" equivalent [05:08] shanebo: side question, how come express passes req/res to every route method? [05:08] Nuck: We have a fancy wrapper around it, but it's the same thing [05:09] nimstr: so that if someone has written a chunk of code, I can reuse it? [05:09] Nuck: nimstr: Better, we have NPM! [05:09] MUILTFN has joined the channel [05:09] nimstr: ah, right... [05:10] Nuck: shanebo: Watch the Introduction to Node.js video [05:10] shanebo: Nuck, side question, how come express passes req/res to every route method? Why not set req/res to the app which can be accessible from any route method? [05:10] Nuck: You will hear Ryan flat-out say "we didn't want any uneccessary abstractions" [05:10] Nuck: Because req and res are per-request [05:11] Nuck: The server would not have them yet [05:11] shanebo: keyword is "unnecessary" [05:12] shanebo: Nuck I mean, request comes in, you set it to the app var so that it's accessible from any route, meaning the route wouldn't get fired unless it was requested [05:12] Nuck: shanebo: Trust me, your additions are EXTREMELY uneccessary [05:12] Nuck: shanebo: That'd be juggling variables, a very bad thing. [05:12] Nuck: The app is not per-client [05:12] shanebo: Nuck, how do you route to methods through paths? [05:12] Nuck: It's global to all connections [05:12] Nuck: What? [05:13] shanebo: I'm asking how YOU fire methods given the requested url [05:13] Nuck: shanebo: I use Express :V [05:13] shanebo: (now explain how the way you handle that, isn't an abstraction) [05:14] Nuck: It's a simple routing framework [05:14] Nuck: It's code I would write too [05:14] shanebo: right, and that's all I'm doing [05:14] Nuck: req and res are directly off the HTTP server [05:14] Nuck: That's not mcuh of an abstraction [05:14] MrNko has joined the channel [05:14] shanebo: Nuck, you're never wrong are you? :D [05:15] apang42 has joined the channel [05:15] Nuck: shanebo: No, it's just that you seem to accept MVC as the One True Way, when it's just One Of The Many, Many Ways [05:15] Nuck: And it's at one end of te spectrum [05:16] Nuck: I use whatever system works best for the current situation [05:16] Nuck: It's adaptive, agile, and extremely efficient. [05:16] shanebo: Nuck, I didn't say MVC was THE WAY for you [05:16] Nuck: I just do whatever [05:16] shanebo: I said I embrace the pattern of MVC as the best way to organize my code. and I've never run into a situation where it failed [05:17] Nuck: And I said MVC is insanely rigid [05:17] Nuck: It forces your code to fit its techniques. [05:17] jesusabdullah: I say, keep mvc in mind if it helps, and deviate when it makes sense to [05:17] Nuck: And it adds magic [05:17] jesusabdullah: y'know, if you're comfortable with the mvc paradigm [05:17] Nuck: I don't do magic, I make it quite obvious what's going on and I organize my code however seems most logical for the project [05:18] MrNko has joined the channel [05:18] toki_kanno_ has joined the channel [05:18] amigojapan has joined the channel [05:18] toki_kanno has joined the channel [05:18] kiffness_ has joined the channel [05:18] g2468 has joined the channel [05:18] shanebo: Nuck, every project, almost no matter what has consistent themes [05:18] toki_kanno has joined the channel [05:19] shanebo: a request is made, it routes to a method, a method does something, the result is rendered to the front-end [05:19] Nuck: Mine is bit more complex [05:19] shanebo: so you can either repeat in every method, rendering to the front-end, or write a controller class that handles that for you [05:20] Nuck: I only use Express because it is a very light abstraction layer [05:20] Nuck: I can organize my code however I want, and I do so [05:20] shanebo: light in terms of what it sets out to do? or light in terms of LOC? [05:20] shipit has joined the channel [05:20] apang42 has joined the channel [05:20] newy has joined the channel [05:21] Nuck: Light in terms of how little functionality it encompasses and how little it forces its ideals on you [05:21] Nuck: The end result is something that lets me work how I want [05:21] shanebo: Nuck, my understanding is that express is a WAY, and connect is less opinionated [05:22] Nuck: Express isn't a way how I [ab]use it! [05:22] bettsp has left the channel [05:22] Nuck: I separate shit into files, call on them asynchronously using a require() hack I devised, etc. [05:23] zcopley has joined the channel [05:24] Nuck: And honestly, I find connect to be very opiniated [05:24] liveink has joined the channel [05:24] Nuck: I have to devise middleware to its specifications [05:24] Nuck: I can't do my own style, really [05:24] euforic has joined the channel [05:24] Nuck: Doesn't stop me from doing it, of course, it's similar enough to what I would've done that I can deal with it [05:25] Nuck: Either way, stop acting like the world is just black and white [05:25] Nuck: Don't label things [05:25] Nuck: And don't assume that one way Always Works [05:25] Nuck: Because it never does [05:25] Nuck: And you need to be adaptive [05:26] Nuck: This is what people have been fighting to get to for years, with agile programming and such, and MVC is here to jsut fuck that all up [05:26] _root_ has joined the channel [05:26] eminion_ has joined the channel [05:27] Nuck: Programming in a rigid way may result in better code that without, but even better is code that is built in the environment of other well-done code [05:27] shanebo: Nuck, you do understand that the whole "agile" thing was championed by the Rails community right? :) [05:27] Nuck: It's the Apple effect [05:27] Nuck: shanebo: It was championed by Ruby [05:27] Nuck: Not by Rails [05:27] Nuck: No, not at all [05:27] Nuck: Rails threw a wrench in it by hooking the belief that Agile didn't work [05:28] shanebo: Nuck, what are you talking about? Hahaha [05:29] shanebo: agile was born out of convention over configuration [05:30] shanebo: what you've been going on about is configuration, no patterns, no convention [05:30] shanebo: which sadly sounds like early php [05:30] liveink has joined the channel [05:30] omni5cience_ has joined the channel [05:34] Nuck: shanebo: Agile was born out of a need to be free of idiocy [05:34] sebastianedwards has joined the channel [05:34] Nuck: To be free of the rigid pre-planned development [05:34] shanebo: when agile hit, were you born yet? ;) [05:35] shanebo: because you're severely lacking of why it was embraced [05:35] Nuck: ha ha, so funny [05:35] Nuck: But seriously, I think you must've had a rather odd understanding of things then [05:36] febits has joined the channel [05:36] Nuck: Because seriously, it was a shift from pre-planned programming where you planned your problems and devised solutions beforehand, to agile, where you approached problems as you got to them [05:36] matyr_ has joined the channel [05:37] balaa has joined the channel [05:37] Nuck: A shift from rigidity to freedom [05:38] Nuck: You can't argue with that, it's facts. [05:38] shanebo: Nuck, it's simple man. People got tired of the spaghetti code (that you're promoting). So they started writing frameworks. One of which was Rails. MVC, convention over configuration. And what it allowed was for people to not worry about code structure as much and focus more on their end result. The idea being, the framework made a lot of the decisions for you and allowed for quick/easy iterations, i.e., "Agile". [05:38] squeese has joined the channel [05:38] MrNko has joined the channel [05:39] Nuck: shanebo: Yeah, go look up what Agile is, and you'll find out that's not what you're talking about ;) [05:39] Nuck: Spaghetti code is also not that [05:39] Nuck: You're using basically every term wrong in that. [05:40] Nuck: Not to mention, things are cyclical, we are on the pendulum back to more loose conventions again [05:40] Nuck: With Node.js [05:40] phluffy has joined the channel [05:40] phluffy has joined the channel [05:40] apang42 has joined the channel [05:40] jesusabdullah: The idea behind agile is simply to deploy and iterate quickly [05:40] jesusabdullah: Push out an mvp and make it better over time [05:40] mikeycgto has joined the channel [05:40] jesusabdullah: instead of working on it for a year, making sure it's "perfect" and then learning that it sucks when you push it out [05:41] jesusabdullah: Everything else is just fluff and management self-help books [05:41] shanebo: jesusabdullah, agreed, but when did agile get legs? Was it not right when Rails hits? [05:41] jesusabdullah: No, it was when we weren't building cars anymore [05:42] jesusabdullah: and when the managers got their hands on the self-help books [05:42] jesusabdullah: Rails may have *helped* in that it gives you 90% of some subset of webapps you might want to write [05:42] jesusabdullah: but frameworks are just a tool [05:43] Nuck: Ruby just encouraged Agile because _why encouraged agile ;) [05:43] jesusabdullah: well [05:43] jesusabdullah: I think there were other reasons as well [05:43] jesusabdullah: I mean, agile's popular in all sorts of software environments [05:43] Nuck: So is _why [05:43] g2469 has joined the channel [05:43] mikeal has joined the channel [05:43] jesusabdullah: it probably gained ground in ruby generally because of open source and flexible tools [05:44] jesusabdullah: "flexible" [05:44] Nuck: Even though I never learned Ruby (I actually despise it), I still idolize _why [05:44] jesusabdullah: ie, it's a little hard to iterate really quickly when you have to give somebody a stupid .msi [05:44] jesusabdullah: ugh, don't idolize _why [05:44] jesusabdullah: He wrote a lot of good code, yeah [05:44] g2470 has joined the channel [05:44] jesusabdullah: but have you tried reading his poignant guide? It's honestly not that great [05:44] jesusabdullah: He was a little loopy [05:44] jesusabdullah: and then he deleted all his code like a douche [05:44] Nuck: The things he promoted were great [05:45] Nuck: And he helped initiate a lot of young coders [05:45] liar has joined the channel [05:46] jesusabdullah: and that's commendable [05:46] Nuck: Not to mention how motivational much of his writings were [05:46] kiffness_ has joined the channel [05:46] jesusabdullah: but is that worth idolatry? He was just a man like the rest of us [05:46] blessYAHU: anyone have references to run nodejs boilerplate on windows? [05:46] Nuck: jesusabdullah: He was a man who greatly furthered the community, and is that not enough to earn idolatry? [05:46] Nuck: Is that not what we want from every man? [05:47] blkcat: i think idolatry is a little much ;) [05:47] Nuck: He was just another man, yes. But he had amazing charisma and such a unique style that he invigorated the community and helped speed up the sphincter-loosenining [05:47] blkcat: but _why was a pretty swell dude, and it was sad when he left. [05:48] __tosh has joined the channel [05:48] Nuck: My startup has a guy who goes under a pseudonym [05:48] Nuck: And he's debating if he wants to keep his real identity a secret [05:48] Nuck: I fully support it [05:49] Nuck: (I know his real name, but I ain't telling anyone :P) [05:50] davidbanham: No problem whatsoever with people using pseudonyms if they feel like it, but it seems like a real missed opportunity in terms of getting your name out there. (I want to say personal branding but it makes me sound like an arsehole) [05:50] g2471 has joined the channel [05:50] Nuck: This guy has personally developed an identity under his pseudonym [05:50] g2472 has joined the channel [05:50] Nuck: He'd actually be losing quite a bit of his identity if he switched to a real name [05:51] adam_ has joined the channel [05:51] Nuck: Anyways, I'm gonna go take a shower and go to sleep. [05:51] Nuck: Got a class at 8AM tomorrow morning :'( [05:51] davidbanham: Enjoy, I'mma head out of the office. Gotta walk my dog. [05:51] apang42 has joined the channel [05:52] NuckingFuts has joined the channel [05:52] Nuck: davidbanham: lol I misread that as "frog" at first [05:52] Lorentz: Nuck: I use "Lorentz" as my "business" name [05:52] Nuck: Thanks to my background on mIRC [05:52] Lorentz: Not a lot of people know my actual actual name. [05:52] apang42 has joined the channel [05:52] Lorentz: Even if they know, they probably can't spell it, heh. [05:52] Nuck: Lorentz: This guy has a pseudonym of Mavyrk, and he's pretty well-known on deviantART under that name [05:52] Nuck: Took a lot to get him to reveal his real name and age to us :D [05:52] chjj: mirc! [05:53] chjj: ACTION vomits [05:53] Nuck: And there's still one of my cofounders who doesn't know (and I'm trying to keep it that way for fun) [05:53] Nuck: chjj: Inorite [05:53] Nuck: ACTION switches to Colloquy Mobile [05:53] neilk_ has joined the channel [05:53] NuckingFuts: :D [05:53] chjj: if youre not using irssi, youre doing it wrong i think ;) [05:54] jvolkman: ACTION remembers using mirc in windows 3.1 [05:54] chjj: i think windows 3.1 was the first os i ever tried [05:54] russell has joined the channel [05:55] kiffness has joined the channel [05:55] davidbanham: chjj: LimeChat is pretty slick. I've been tempted to switch to irssi a few times for nerd cred but just can't find a compelling reason [05:55] shanebo: guys, question about how node handles requests…. does each request and subsequent methods finish before a new request gets added to the event loop? [05:55] g2473 has joined the channel [05:56] chjj: davidbanham: i never tried irssi in the first place for "nerd cred", i tried it because i was out of ideas, and every irc client i had ever tried previous to it was terrible [05:56] g2473: asd [05:56] kiffness has joined the channel [05:56] chjj: ive really hated every irc client ive ever tried [05:56] chjj: as long as i can remember [05:56] Lorentz: Maybe rewrite irssi in node? [05:57] chjj: yes! [05:57] shanebo: meaning, if request A comes in and it has 15 methods before it's done, and request B comes in at method 7, is it added to the event loop at that point or does it go at the end of once request A is done? [05:57] Lorentz: With near identical interface, and loadable scripts being javascript [05:57] davidbanham: chjj: There's nothing pejorative about my use of "nerd cred". I shamelessly love my nerd cred and seek it out wherever possible! [05:57] chjj: davidbanham: sure, im just saying, thats not why i tried it in the first place [05:58] chjj: i was really backed into a corner when i tried it [05:58] CStumph has joined the channel [05:58] chjj: cause i was desperate to find a good irc client [05:58] davidbanham: Fair enough. Anyway, leaving the office now and won't be able to see anything you say after I do so because I'm using a user-side IRC client and not something like irssi on a server. :p [05:59] jvolkman: use znc [05:59] chjj: davidbanham: hehe, roger [05:59] Nuck|mobile: I would love to see an ncurses-based TUI irc client on node [05:59] Nuck|mobile: ACTION skedaddles [05:59] chjj: Nuck|mobile: are you in the shower right now? ...with your phone? [06:00] Nuck|mobile: Nah just in the bathroom half naked [06:00] chjj: i see [06:00] gartenstuhl has joined the channel [06:02] kiffness has joined the channel [06:03] stephank has joined the channel [06:04] andrewfff has joined the channel [06:04] Sidnicious has joined the channel [06:04] Sidnicious has joined the channel [06:06] mraleph has joined the channel [06:06] chjj: node is 47 watchers away from beating jquery [06:07] chjj: steadily gaining on them [06:07] Deegie has joined the channel [06:07] binaryjohn_ has joined the channel [06:09] SamuraiJack has joined the channel [06:10] zomgbie has joined the channel [06:10] kmiyashiro has joined the channel [06:10] Lorentz: Nuck|mobile: I wrote an irc bot [06:10] Lorentz: an irc client with ncurses wrapper is just next step up [06:11] KellyM has joined the channel [06:11] zeropx has joined the channel [06:11] shanebo: chjj, can you help me understand node's event loop? [06:12] chjj: shanebo: i hope so [06:13] cha0s has joined the channel [06:13] fly-away has joined the channel [06:13] __mark__ has joined the channel [06:14] __mark__: quick question: how do I turn off verbose logging in socket.io 0.8.0? [06:14] chjj: shanebo: what do you need to know? [06:14] g2474 has joined the channel [06:14] shanebo: :), if request A has 15 subsequent methods before the req.end() and request B comes in when request A is on method 7, will request B and it's subsequent methods go after req.end of request A, or be added into the loop at method 7 of request A? [06:14] shanebo: chjj ˆˆ [06:15] chjj: if all of those methods are synchronous, req B will come after the req.end() for A [06:16] chjj: synchronous stuff will block anything thats waiting on the event loop [06:16] jvolkman: node is single threaded so it won't know about request B before it finishes with request A and gets back to its event loop [06:16] sreeix has joined the channel [06:17] sreeix has joined the channel [06:17] g2474: foobar [06:17] chjj: shanebo: if that wasnt the case, node would be very hard to program in, stuff would be happening all over the place, completely out of your control [06:17] MrNko has joined the channel [06:17] shanebo: chjj, jvolkman, okay so is it safe to assume that I can assign the req/res to a default controller and access it as needed within my methods, and be confident it's the right request? [06:18] shanebo: chjj, hence why I asked. It feels like inception at times ;) [06:18] jvolkman: like chjj said, as long as you don't do anything asynchronous you're in control [06:19] tylerstalder has joined the channel [06:19] csanz has joined the channel [06:19] jvolkman: as soon as you defer the request to access a file, wait for a timer, etc, node gets back to its loop. [06:19] chjj: shanebo: yeah, as soon as you give a callback, something could change in between the time that callback is waiting on the event loop and when its executed [06:19] g2475 has joined the channel [06:19] chjj: but if everything you do blocks, you have total control [06:20] Nuck|mobile: Lorentz: I wrote a Bot for deviantart chat. I know a client is a lot harder than it sounds. [06:20] chjj: shanebo: if you want to gist something i could probably tell you more [06:21] Nuck|mobile: God colloquy is badass on mobile [06:21] shanebo: chjj here's the basic flow [06:22] chjj: before you do anything, dont copy and paste 10 lines here [06:22] chjj: gist! [06:22] chjj: ;) [06:22] Nuck|mobile: You know what I want on iPhone now? TextMate :D [06:22] Nuck|mobile: Or some other code editor with highlighting and such [06:23] chjj: ACTION has never used textmate [06:23] chjj: everyone says textmate is god [06:23] Nuck|mobile: Nor have I but I have seen the code for a bundle [06:23] shanebo: chjj request --> route --> fire proper controller action (which can change default views) --> default controller render --> req.end(rendered_view) [06:23] Nuck|mobile: And it seems fucking powerful [06:23] ivanfi has joined the channel [06:24] garrensmith: morning all [06:24] Nuck|mobile: Morning [06:24] shanebo: morning [06:24] chjj: shanebo: does the controller action do anything async? [06:24] zgryw has joined the channel [06:24] Nuck|mobile: All apps should aspire to be as well-made as colloquy mobile. [06:24] chjj: shanebo: i also dont understand, if youre just getting a request through your router or what have you, you dont have to worry about the request magically changing into a different request [06:25] shanebo: chjj, no, but the default controller render method does. it loads the view and layout template [06:25] Nuck|mobile: Customizable, but not excessively so, insanely stable, and a beautiful UI [06:25] _root_ has joined the channel [06:25] chjj: why is the render async if youre just buffering it and dumping it into .end? [06:26] shanebo: chjj, I'm using readFile, which I thought was async?? [06:26] chjj: shanebo: you have to show me some code for me to give you a thorough answer, otherwise, what i said before is what you need to know [06:26] chjj: well, it is async, but you can also call readFileSync [06:27] shanebo: I see, and that's not a no no? [06:27] shanebo: :D [06:27] chjj: most templating engines or view systems will cache compiled templates [06:27] chjj: its not a no-no [06:27] vikstrous has joined the channel [06:27] chjj: if youre caching the compiled template, in fact, its a yes-yes [06:27] chjj: its much faster because you dont have to do any io [06:28] chjj: you only have to do io the first time [06:28] chjj: when you read it and compile it for the first time [06:28] shanebo: should I load up all views before starting the server rather than readFile each request? [06:28] chjj: yeah, that works [06:28] chjj: just cache them afterward [06:28] chjj: its how most frameworks implement their view systems [06:29] chjj: or i guess i should say, every framework [06:29] shanebo: and doing readFileSync at that point is okay because the server hasn't started yet right? [06:29] chjj: the template is read and compiled once, and then cached [06:29] chjj: yes its okay, but its even okay after the server has started *as long as you cache it* and arent calling it for every request [06:30] shanebo: chjj cache it manually or is there a node core way to do that? [06:30] chjj: cache it manualy [06:30] chjj: unless youre using some kind of framework [06:31] shanebo: well data is dynamic in views though [06:31] chjj: right [06:31] chjj: which is why you compile the template, and cache the compiled function [06:31] shanebo: so maybe I cache the readFile contents and access each time and render via mustache each time [06:31] chjj: and then you have a function you can pass locals to [06:32] g2476 has joined the channel [06:32] chjj: im not sure you understand how templating systems work [06:32] g2476: test [06:32] shanebo: at the caching level, you're right [06:32] g2476: ok [06:32] g2476: /nick chris [06:33] chjj: templates are compiled into javascript, using using the function constructor - you can cache this compiled function, and simply pass locals to it whenever you want to render something [06:33] chjj: usually using* [06:33] Me1000 has joined the channel [06:33] shanebo: I see [06:33] g2477 has joined the channel [06:33] Nuck|mobile: To cache the results of templates, hash the inputs and store by that [06:33] shanebo: currently I'm using mustache [06:34] shanebo: i heart logicless views [06:34] Nuck|mobile: I have my own mustache-esque parser [06:34] andree has joined the channel [06:34] shanebo: cool [06:34] Nuck|mobile: I didn't know of mustache when I did it, and I personally prefer mine [06:34] shanebo: is it on github? and what are the differences? [06:35] g2477: Testaa uutta irkkiä [06:35] Nuck|mobile: Eh, I don't think I ever open-sourced it. It's just a very simple thing, tbh, nothing fancy [06:36] g2478 has joined the channel [06:36] shanebo: the mustache I'm using is only about 300 lines [06:36] shanebo: it's super fast [06:36] shapeshed has joined the channel [06:36] Nuck|mobile: It's just a simple function that accepts a string and an object, array, or series of arguments [06:37] Nuck|mobile: It then replaces {key} with the values [06:37] Nuck|mobile: And returns ir [06:37] Nuck|mobile: It was speedy, simple, and adaptive. [06:37] chjj: shanebo: all that matters is the function thats return, the speed of parsing and compiling is irrelevant [06:37] chjj: returned* [06:38] chjj: btw [06:38] chjj: https://github.com/chjj/liquor [06:38] chjj: my templating engine ^ :) [06:38] Nuck|mobile: I should make my parser return the function [06:38] Nuck|mobile: It could allow for more optimizations. [06:38] zgryw has joined the channel [06:39] newy has joined the channel [06:39] chjj: Nuck|mobile: thats all it should do, theres nothing faster than a function that does a few string concatenations or an array.join() [06:39] Nuck|mobile: Mine is all through string.replace [06:40] Nuck|mobile: And a for loop to iterate over the keys [06:40] chjj: yeah, you should compile a function instead [06:40] Nuck|mobile: I agree [06:40] newy has joined the channel [06:40] guidocalvano has joined the channel [06:41] Nuck|mobile: I just do Parse('hello {0} world!', 'lovely') and it handles ir [06:41] Nuck|mobile: I love encapsulation [06:41] chjj: i kind of wish js had some kind of native interpolation [06:41] shanebo: Nuck|mobile how do you handle nested objects? [06:41] shanebo: dot notation? [06:42] Nuck|mobile: I don't, simply put. [06:42] Nuck|mobile: Lol [06:42] shanebo: :) [06:42] Nuck|mobile: It was very, very basic. [06:42] Nuck|mobile: But i will likely use dot notation, yeah [06:43] ph^ has joined the channel [06:43] saimon_ has joined the channel [06:43] Yoric has joined the channel [06:44] eazyigz has joined the channel [06:45] shanebo: I'm using this branch: https://github.com/mhevery/mustache.js [06:45] yokoe has joined the channel [06:46] versicolor has joined the channel [06:49] g2479 has joined the channel [06:49] mikl has joined the channel [06:51] emattias has joined the channel [06:52] toki_kanno has joined the channel [06:52] simenbrekken has joined the channel [06:53] g2480 has joined the channel [06:55] anubhaw has joined the channel [06:57] __mark__: Hey, I'm experiencing "warn - websocket connection invalid" in production with socket.io 0.8.0 but in development it works just fine. [06:57] __mark__: has anybody had this issue? [06:57] __mark__: or know why it would behave different? [06:58] gkatsev has joined the channel [07:03] g2481 has joined the channel [07:03] fangel has joined the channel [07:03] kiffness has joined the channel [07:03] luke` has joined the channel [07:04] ttpva has joined the channel [07:05] groom has joined the channel [07:05] luke` has joined the channel [07:05] liveink has joined the channel [07:07] neoesque has joined the channel [07:07] raphdg has joined the channel [07:10] g2482 has joined the channel [07:11] Druid_ has joined the channel [07:11] topaxi has joined the channel [07:11] g2482: hi? [07:11] g2482: /part [07:12] cying has joined the channel [07:14] febits has joined the channel [07:14] dob_ has joined the channel [07:14] tonymilne has joined the channel [07:16] dob_ has joined the channel [07:18] stride: hi [07:18] necrodearia has joined the channel [07:18] felixhummel has joined the channel [07:18] MrNko has joined the channel [07:19] MrNko has joined the channel [07:20] ablomen has joined the channel [07:22] djcoin has joined the channel [07:24] fangel has joined the channel [07:24] toki_kanno has joined the channel [07:25] newy has joined the channel [07:25] g2483 has joined the channel [07:26] zackattack has joined the channel [07:27] Guest7021 has joined the channel [07:27] g2484 has joined the channel [07:27] shanebo: chjj, thanks a lot for the help! [07:27] shanebo: good night [07:30] hekkwan has joined the channel [07:32] mraleph has joined the channel [07:32] jomoho has joined the channel [07:34] liveink has joined the channel [07:35] g2485 has joined the channel [07:37] g2486 has joined the channel [07:39] g2486: ? [07:40] g2488 has joined the channel [07:40] g2487 has joined the channel [07:40] felixhummel has joined the channel [07:41] g2489 has joined the channel [07:42] g2490 has joined the channel [07:42] mcepl has joined the channel [07:42] FireFly|n900 has joined the channel [07:43] NetRoY has joined the channel [07:43] g2491 has joined the channel [07:45] g2492 has joined the channel [07:47] karlbright has joined the channel [07:47] japj has joined the channel [07:47] g2493 has joined the channel [07:48] cosmincx has joined the channel [07:49] cjheath has joined the channel [07:50] __tosh has joined the channel [07:51] jerrysv has joined the channel [07:52] g2494 has joined the channel [07:54] mpavel has joined the channel [07:55] emattias has joined the channel [07:55] g2495 has joined the channel [07:56] __doc__ has joined the channel [07:56] g2496 has joined the channel [07:56] jetienne__ has joined the channel [07:57] g2496: fubar [07:57] mendel_ has joined the channel [07:58] hasenj has joined the channel [07:58] g2497 has joined the channel [07:58] depywork has left the channel [07:58] mendel_ has left the channel [07:59] rurufufuss has joined the channel [07:59] ivanfi has joined the channel [08:01] kurtzhong has joined the channel [08:01] g2498 has joined the channel [08:02] g2499 has joined the channel [08:03] MrNko has joined the channel [08:03] g2499: test [08:03] g2499: /join #test [08:04] g2498: ab [08:04] zgryw has joined the channel [08:06] g2500 has joined the channel [08:08] Esteb has joined the channel [08:08] g2501 has joined the channel [08:09] hackband has joined the channel [08:09] g2447: :P [08:09] g2502 has joined the channel [08:09] [AD]Turbo has joined the channel [08:09] misterm_ has joined the channel [08:10] zastaph has joined the channel [08:11] g2503 has joined the channel [08:11] zemanel_ has joined the channel [08:11] _kud has joined the channel [08:14] MrNko has joined the channel [08:16] eldios has joined the channel [08:16] mikl_ has joined the channel [08:18] dgathright has joined the channel [08:18] gartenst_ has joined the channel [08:18] MrNko has joined the channel [08:20] g2504 has joined the channel [08:20] g2506 has joined the channel [08:20] g2507 has joined the channel [08:20] g2508 has joined the channel [08:20] g2505 has joined the channel [08:20] Fabryz has joined the channel [08:23] bergelmir has joined the channel [08:24] bergelmir has joined the channel [08:24] FireFly|n900 has joined the channel [08:24] toki_kanno has joined the channel [08:25] MrNko has joined the channel [08:25] g2509 has joined the channel [08:25] g2510 has joined the channel [08:26] mendel_ has joined the channel [08:27] g2511 has joined the channel [08:27] MrNko has joined the channel [08:27] g2512 has joined the channel [08:28] burningdog has joined the channel [08:29] fmeyer_ has joined the channel [08:30] fmeyer has joined the channel [08:30] antris has joined the channel [08:31] dob_ has joined the channel [08:31] jerrysv has joined the channel [08:33] fangel has joined the channel [08:33] mc_greeny has joined the channel [08:34] g2513 has joined the channel [08:36] ptlo has joined the channel [08:36] g2514 has joined the channel [08:36] skm has joined the channel [08:36] g2515 has joined the channel [08:37] sgimeno has joined the channel [08:37] JakeyChan: can to monitor all files with nodemon ? [08:37] JakeyChan: instead of only *.js file ? [08:38] antris: I'm using https://github.com/jorritd/node-watch to watch some files so i can run Jasmine specs. The problem is, when I change my spec file and it runs the tests again, the results don't change like they should. If there's a test expect(true).toBe(true); and I change it to expect(true).toBe(false);, it'll still pass. [08:38] antris: Is my tests being cached in some weird way? [08:38] antris: Are* [08:39] antris: The results work correctly when I shut the autotest process and start it up again, but with the file watch, they don't. [08:41] davidbanham has joined the channel [08:42] g2516 has joined the channel [08:45] g2517 has joined the channel [08:45] MrNko has joined the channel [08:46] g2518 has joined the channel [08:46] japj: it could be that the files are not reloaded, is the require cache flushed (or atleast the files that actually change?) [08:46] depywork has joined the channel [08:46] g2519 has joined the channel [08:47] g2519: aa [08:47] antris: i have no require statements yet, i'm only watching the spec file and the specs have no dependencies [08:49] newy has joined the channel [08:49] mcepl has joined the channel [08:49] g2520 has joined the channel [08:49] g2521 has joined the channel [08:50] tim_smart has joined the channel [08:50] antris: japj: How would one check what is in the cache / flush it? [08:51] g2522 has joined the channel [08:51] japj: I am not sure how jasmine works, never used it myself before, but does the example from node-watch Jakefile work? [08:52] g2523 has joined the channel [08:52] g2523: test [08:52] versicolor has joined the channel [08:52] japj: https://github.com/jorritd/node-watch/blob/master/Jakefile#L85 [08:53] g2523: asdf [08:53] g2524 has joined the channel [08:53] g2525 has joined the channel [08:54] g2526 has joined the channel [08:55] g2527 has joined the channel [08:55] g2528 has joined the channel [08:56] hekkwan has joined the channel [08:57] g2529 has joined the channel [08:59] MrNko has joined the channel [09:01] smithamax has joined the channel [09:02] rakesh314 has joined the channel [09:03] smithamax has left the channel [09:03] Cromulent has joined the channel [09:03] g2530 has joined the channel [09:03] [[zz]] has joined the channel [09:03] stagas has joined the channel [09:04] g2531 has joined the channel [09:04] g2532 has joined the channel [09:04] hekkwan has joined the channel [09:06] Emmanuel_ has joined the channel [09:06] g2533 has joined the channel [09:06] Nexxy has joined the channel [09:06] g2534 has joined the channel [09:07] sebastia_ has joined the channel [09:07] g2535 has joined the channel [09:07] g2536 has joined the channel [09:08] g2537 has joined the channel [09:08] g2538 has joined the channel [09:08] g2539 has joined the channel [09:09] eldios: NO WAY!!! Node dynamic windows manager! https://github.com/mixu/nwm O_O [09:09] paveq: how cool is that :) [09:09] g2540 has joined the channel [09:10] g2541 has joined the channel [09:11] g2542 has joined the channel [09:11] g2543 has joined the channel [09:11] g2545 has joined the channel [09:11] g2544 has joined the channel [09:11] g2546 has joined the channel [09:14] _kud has joined the channel [09:14] yonatan-xchat has joined the channel [09:15] ivanfi1 has joined the channel [09:16] yonatan-xchat has joined the channel [09:16] g2547 has joined the channel [09:16] tim_smart: csanz: I'll just throw it on my prgmr box [09:17] csanz: tim_smart: ok lol :D [09:18] g2548 has joined the channel [09:19] g2549 has joined the channel [09:20] g2550 has joined the channel [09:20] Smithamax has joined the channel [09:20] dexter_e has joined the channel [09:20] visnup: JakeyChan: my nodemon seems to monitor lots of things [09:21] g2551 has joined the channel [09:21] g2552 has joined the channel [09:22] JakeyChan: visnup: but in the read me of nodemon, it said : "By default, if nodemon will only restart when a .js JavaScript file changes. " [09:22] dexter_e: anyone use JSDOM ? [09:22] g2553 has joined the channel [09:23] g2554 has joined the channel [09:23] booo has joined the channel [09:24] g2555 has joined the channel [09:24] tim_smart has joined the channel [09:24] visnup: JakeyChan: it definitely works on .coffee, .conf... [09:24] visnup: I believe it has an ignore list for some types though [09:25] g2556 has joined the channel [09:27] JakeyChan: visnup: i will check the source code and find out this issue solution :D [09:28] anti has joined the channel [09:30] tim_smart has joined the channel [09:31] Nima has joined the channel [09:31] g2557 has joined the channel [09:34] sreeix_ has joined the channel [09:35] g2558 has joined the channel [09:36] g2559 has joined the channel [09:36] pkrumins: published Reflections on Node.js Knockout Competition 2011 http://catonmat.net/blog/nodejs-knockout-2011/ [09:37] pkrumins: guyse, if you love this, i'd love an upvote on paul graham's website http://news.ycombinator.com/item?id=2936552 [09:37] stride: looks awesome [09:41] tim_smart has joined the channel [09:41] boehm has joined the channel [09:41] g2560 has joined the channel [09:41] Smithamax has joined the channel [09:42] g2560: ? [09:44] JakeyChan: which more popular test framework you are on ? :) [09:44] g2561 has joined the channel [09:44] XniX23 has joined the channel [09:45] MrNko has joined the channel [09:46] _alram has joined the channel [09:46] sarvesh has joined the channel [09:46] tim_smar1 has joined the channel [09:48] sarvesh: i am new to node.js [09:48] sarvesh: looking for some help [09:49] g2562 has joined the channel [09:50] vuliev has left the channel [09:50] Cromulent has joined the channel [09:50] sarvesh: is there anyone using cygWin for node.js [09:55] stagas: sarvesh: what is your question? [09:56] synkro has joined the channel [09:57] g2563 has joined the channel [09:58] mh` has joined the channel [09:59] andrewfff has joined the channel [10:00] cognominal has joined the channel [10:01] jbrokc has joined the channel [10:02] N0va has joined the channel [10:03] MrNko has joined the channel [10:03] cjroebuck has joined the channel [10:03] guidocalvano has joined the channel [10:03] g2564 has joined the channel [10:04] rurufufuss has joined the channel [10:04] g2565 has joined the channel [10:04] einaros has joined the channel [10:05] Remoun_ has joined the channel [10:06] fangel has joined the channel [10:06] g2566 has joined the channel [10:06] mike5w3c_ has joined the channel [10:08] necrodearia has joined the channel [10:08] g2567 has joined the channel [10:09] fermion has joined the channel [10:10] g2568 has joined the channel [10:11] g2569 has joined the channel [10:11] Sebastien-L has joined the channel [10:15] pksunkara has joined the channel [10:16] pksunkara: Hey anybody know here which MVC framework is the best for web apps ? (Something like rails) [10:16] fly-away has joined the channel [10:16] jetienne__ has joined the channel [10:17] g2570 has joined the channel [10:18] g2571 has joined the channel [10:19] g2571: hey [10:20] g2572 has joined the channel [10:22] g2572: zz [10:23] g2573 has joined the channel [10:24] junkee[] has joined the channel [10:24] g2574 has joined the channel [10:27] mikl has joined the channel [10:29] g2575 has joined the channel [10:29] karlbright has joined the channel [10:29] antris_ has joined the channel [10:29] eldios: I still need to find a good webdesign book/tutorial source of nextgen tech (HTML5/CSS3/JS) [10:29] eldios: I can (almost) node but it seems I find it very difficult when it comes to make the frontend (webgui) part [10:30] eldios: if you guys have any hint.. it would be welcome =) [10:30] jro_ has joined the channel [10:30] jro_: hi all [10:30] g2576 has joined the channel [10:31] ehedenst has joined the channel [10:31] antris has joined the channel [10:33] adrianmg has joined the channel [10:34] g2577 has joined the channel [10:34] g2577: as [10:34] zackattack has joined the channel [10:34] g2577: hello [10:34] g2578 has joined the channel [10:35] Nima has left the channel [10:35] d3x7r0 has joined the channel [10:35] g2579 has joined the channel [10:35] rendar has joined the channel [10:36] g2580 has joined the channel [10:37] gaYak has joined the channel [10:37] jro_ has joined the channel [10:37] jro_: hi all [10:38] Nima has joined the channel [10:38] g2581 has joined the channel [10:38] g2582 has joined the channel [10:39] Nima: . [10:39] g2583 has joined the channel [10:40] g2584 has joined the channel [10:41] sfoster has joined the channel [10:41] FireFly|n900 has joined the channel [10:43] arnorhs has joined the channel [10:46] cha0s has joined the channel [10:47] a_suenami has joined the channel [10:47] tim_smart has joined the channel [10:47] g2585 has joined the channel [10:50] g2586 has joined the channel [10:50] minikomi has joined the channel [10:51] dylang has joined the channel [10:52] g2587 has joined the channel [10:54] tsd_ has joined the channel [10:55] minikomi has left the channel [10:55] zakuni has joined the channel [10:55] rakesh314 has joined the channel [10:55] Kami_: SubStack: hey, I'm playing with a burrito and I encountered a problem with wrap (bug?) Sometimes when when I wrap a node it doesn't include the end node [10:57] nimstr has joined the channel [10:57] DrMcKay has joined the channel [10:59] g2588 has joined the channel [11:00] tshpaper has joined the channel [11:01] shapeshed has joined the channel [11:01] g2589 has joined the channel [11:02] SubStack: Kami_: highly possible [11:02] SubStack: burrito just gets the start and end annotations from uglify [11:03] DrMcKay: SubStack: very nice project you have there :) [11:04] DrMcKay: SubStack: you think it would be possible to port heatwave to console? [11:06] SubStack: DrMcKay: absolutely! [11:06] rakesh314 has left the channel [11:06] SubStack: DrMcKay: you could use this module for the colors: https://github.com/substack/node-charm [11:06] SubStack: colors + moving the cursor around [11:06] Kami_: SubStack: actually, now I think it's a bug in uglify, yeah. it works properly if I set beautify attribute in deparse to true [11:07] SubStack: peculiar! [11:07] DrMcKay: SubStack: exactly what I need :) [11:08] sreeix_ has joined the channel [11:08] hackband has joined the channel [11:09] g2590 has joined the channel [11:09] DrMcKay: SubStack: can it bold and underline text? [11:10] SubStack: DrMcKay: it can do "bright" and "underscore" [11:10] SubStack: those might be the same things [11:10] SubStack: I was just going off the ansi names [11:10] versicolor has joined the channel [11:10] DrMcKay: SubStack: ah, good [11:11] DrMcKay: btw: https://github.com/busyloop/lolcat [11:12] zgryw: lol @ 666 users ;) [11:12] andre_pl has left the channel [11:12] madsleejensen has joined the channel [11:12] DrMcKay: zgryw: where? [11:12] jobim: in this channel [11:13] DrMcKay: lol [11:14] eldios: LOL [11:15] eldios: also uber-lol @ lolcat [11:15] eldios: I want one with nodejs [11:16] markwubben has joined the channel [11:16] DrMcKay: eldios: well, I'm currently at job [11:16] DrMcKay: eldios: and I'm bored [11:16] DrMcKay: eldios: expect one soon :D [11:16] eldios: \o/ [11:16] eldios: DrMcKay, put me in the team, pls! [11:17] eldios: also there where nodejs color from visionmedia possibly to ease such a task [11:17] MrNko has joined the channel [11:17] eldios: s/where/were/ [11:17] DrMcKay: eldios: give me an hour to finish stuff here [11:17] eldios: go go go [11:17] Fabryz_ has joined the channel [11:18] lunks has joined the channel [11:18] DrMcKay: eldios: this https://github.com/substack/node-charm or this: https://github.com/Marak/colors.js [11:18] eldios: that one [11:18] jro__ has joined the channel [11:18] DrMcKay: eldios: which? [11:18] jro__: hi all [11:18] eldios: HOLY FREAKING SH**!! [11:18] eldios: node-charm is exactly what I needed \o/!!! [11:18] Chopinn has joined the channel [11:19] eldios: colors would be more appropriate and easy to use for the nodejs lolcat impementation possibly [11:19] eldios: but node-charm is simply freaking awesome! [11:20] eldios: I suppose I will choose node-charm just to get used to it [11:20] DrMcKay: eldios: OK, I'll use colors for cat [11:20] DrMcKay: eldios: what are you doing? [11:20] DrMcKay: btw, lol @ this pull request about colon [11:20] eldios: too many things.. some of which involves CLI interface [11:21] eldios: when you'll have the repo up pls put me in [11:21] eldios: same name on github [11:21] DrMcKay: eldios: ok [11:22] luismreis has joined the channel [11:24] g2591 has joined the channel [11:24] DrMcKay: this pull request is awesome. [11:24] DrMcKay: I wonder how many of them are just trolling [11:25] barodeur has joined the channel [11:27] jro__: ls [11:27] fdenbow has joined the channel [11:27] nbjayme has joined the channel [11:28] antris: japj: Got it working by following that example. My tests are now running beautifully. Thanks! :) [11:29] nbjayme: hello all. i am new to node.js. can anyone point me to a good documentation that override the default error event of node.js? (TIA) [11:29] cliffff has joined the channel [11:30] g2592 has joined the channel [11:30] JakeyChan has joined the channel [11:31] hasenj has joined the channel [11:31] mikeal1 has joined the channel [11:31] industrial: I need some help with the Step library (https://github.com/creationix/step) or understanding parallel control flow in general. [11:31] H4ns: nbjayme: are you looking for http://nodejs.org/docs/v0.4.11/api/all.html#event_uncaughtException_ ? [11:31] industrial: I want to do two find actions in parralel, so I pass this.parallel() into both as callback [11:32] industrial: One of the two returns e, values and the other returns e, key, secret, values [11:32] mikeal has joined the channel [11:32] industrial: however in the next function in my Step flow I get these arguments all mixed, where the first argument isn't an error or null either, but seems to be one of the values returned from the second async find [11:33] mikeal1 has joined the channel [11:34] Cromulent has joined the channel [11:34] irahgel has joined the channel [11:35] eldios: industrial, gist is the way [11:35] eldios: =) [11:35] JakeyChan has joined the channel [11:36] eldios: also "industrial gist" could be a choice :P [11:36] industrial: eldios: this is sometimes not possible because I'm not working on open source code =) [11:36] eldios: eh.. [11:36] industrial: I can't expose proprietary code, non disclosure agreements etc [11:36] blueadept: could anyone tell me why when i do a npm link, then npm link name, it errors with "no such file" and deletes my repo inside my node_modules folder i was originally trying to link? [11:36] eldios: I see.. but then do not expect help from sources like IRC [11:37] eldios: not to be nasty. it's simply a statistical fact =) [11:37] industrial: eldios: I have to make examples out it [11:37] industrial: but I got it now :3 [11:37] eldios: that could help [11:37] eldios: ^_^ [11:38] brianseeders has joined the channel [11:39] joshthecoder has joined the channel [11:39] nbjayme: H4ns: http://pastebin.com/Nqww5tnC [11:39] felixhummel has joined the channel [11:40] nbjayme: i intent to override the core error handling of node .... if possible so I can handle syntax errors and the like.... but no joy yet... [11:40] adrianmg has left the channel [11:40] H4ns: nbjayme: what is sys.put? [11:42] _kud has joined the channel [11:43] blueadept: would anyone know why when i do npm link it fails and deletes my module? [11:43] blueadept: thats sort of lame i think [11:44] mikl has joined the channel [11:44] japj: blueadept "When you want to link the globally-installed package into your local development folder, you run npm link pkg where pkg is the name of the package that you want to install." [11:44] blueadept: right, i'm doing that [11:44] blueadept: i go to /usr/local/node/node_modules and i see my module [11:45] nbjayme: H4ns: i've already taken out the catch(e) line and sys.put and still the same result. :-( looking closely into the code. [11:45] blueadept: and its linked. but when i go to the project where i want to use the module, i do npm link and it failed saying it can't find, and then deletes my module [11:45] altamic has joined the channel [11:46] japj: blueadept: did you npm install -g? [11:46] H4ns: nbjayme: you could paste the result, too. but then, you need to really try to understand what you are doing. sys.put? what is it? why did you put it there? what is the error message? where is the error? what is the problem? [11:46] blueadept: oh wait, didn't do -g [11:46] blueadept: i'll do that [11:46] ph^ has joined the channel [11:46] blueadept: wait a minute [11:46] blueadept: its not on npm yet [11:46] jbrokc has joined the channel [11:47] blueadept: i just created it [11:47] g2593 has joined the channel [11:47] japj: blueadept: ok, not sure what you are trying to do then [11:48] japj: blueadept: you might want to check with isaacs when he is awake, he'll probably be able to help you more [11:48] nbjayme: H4ns: it's my mistake having placed that there. i'll try to look for codes in github if there is one that can answer my query. :-) [11:48] blueadept: cool, will do [11:48] blueadept: i'm seeing something similar here: https://github.com/isaacs/npm/issues/795 [11:49] nbjayme: H4ns: i am attempting to override the errors in nodejs so I can have option to bring that to the browser or any format I want to show. :-) [11:49] japj: blueadept: what version of npm are you using? [11:49] nbjayme: H4ns: i don't want the app to just hand and die because of syntax errors. :-) [11:49] blueadept: 1.0.6 [11:49] nbjayme: H4ns: i am using the latest node, btw. [11:49] japj: blueadept: that is ancient, we're at 1.0.27 at the moment [11:49] blueadept: ha [11:49] blueadept: that's probably it [11:50] japj: blueadept: might be good to upgrade then and try again [11:50] blueadept: yep, on it [11:52] g2594 has joined the channel [11:53] felixhummel has joined the channel [11:53] blueadept: damn [11:54] japj: still happening? [11:54] blueadept: still happening, i'll catch isaac later then [11:54] blueadept: i just did this with another lib [11:54] japj: you could add a comment to that issue [11:54] blueadept: i don't see why its happening with this one [11:55] g2595 has joined the channel [11:55] g2596 has joined the channel [11:55] burningdog has joined the channel [11:56] tdegrunt has joined the channel [11:56] H4ns: nbjayme: http://pastebin.com/TNzAqQKp [11:57] okuryu has joined the channel [11:57] swair has joined the channel [11:59] Juan77 has joined the channel [12:01] z6Dabrata has joined the channel [12:01] fyskij has joined the channel [12:01] g2597 has joined the channel [12:03] `3rdEden has joined the channel [12:03] raphael has joined the channel [12:04] bshumate has joined the channel [12:04] bshumate has joined the channel [12:05] edwardmsmith has joined the channel [12:05] g2597: just testing [12:06] eee_c has joined the channel [12:06] felixhummel has joined the channel [12:10] pandeiro has joined the channel [12:11] mehlah has joined the channel [12:12] g2598 has joined the channel [12:13] NetRoY has joined the channel [12:14] socketio\test\31 has joined the channel [12:14] hackband has joined the channel [12:14] ditesh|cassini has joined the channel [12:18] bergelmir has joined the channel [12:18] facorreia has joined the channel [12:20] booo has joined the channel [12:22] nbjayme: hello H4ns, thanks again. i have looked into calipso and it did use the king of error handling you've shown. i think i need to use the stable version of node. [12:22] sechrist has joined the channel [12:22] nbjayme: H4ns: king / kind [12:22] Fabryz has joined the channel [12:23] g2599 has joined the channel [12:24] g2600 has joined the channel [12:24] g2601 has joined the channel [12:24] torsd has joined the channel [12:25] Vertice has joined the channel [12:26] g2602 has joined the channel [12:27] dylang: any joyent guys awake? i can curl localhost via ssh node@doodle.no.de but not access it from anywhere else. it was working last night. happening to others too. [12:27] aconbere has joined the channel [12:27] fumanchu182 has joined the channel [12:30] industrial: fail? [12:30] javajunky has joined the channel [12:30] depywork: a mass one .. :) [12:30] yept has joined the channel [12:30] industrial: what are they doing in here anyway [12:32] kriszyp has joined the channel [12:34] g2603 has joined the channel [12:35] hybsch has joined the channel [12:35] g2604 has joined the channel [12:36] Remoun_ has joined the channel [12:37] depywork: no idea [12:38] mendel_ has joined the channel [12:38] __tomb has joined the channel [12:38] MrNko has joined the channel [12:38] tomb| has joined the channel [12:39] g2605 has joined the channel [12:40] g2606 has joined the channel [12:40] ryanfitz has joined the channel [12:42] jamesw has joined the channel [12:44] dob_ has joined the channel [12:44] g2607 has joined the channel [12:46] vikstrous has left the channel [12:46] nbjayme has left the channel [12:47] saschagehlich has joined the channel [12:48] azeroth_ has joined the channel [12:48] Renegade001 has joined the channel [12:50] g2608 has joined the channel [12:52] g2609 has joined the channel [12:53] edwardmsmith: funk4all [12:53] Ricki` has joined the channel [12:54] agnat_ has joined the channel [12:58] g2610 has joined the channel [12:58] mendel_ has joined the channel [12:59] _PalmerEk_ has joined the channel [12:59] hellp has joined the channel [12:59] azeroth_ has joined the channel [13:00] junkee[] has joined the channel [13:03] Margle has joined the channel [13:05] jakehow has joined the channel [13:05] jakehow__ has joined the channel [13:05] jakehow_ has joined the channel [13:06] adrianmg has joined the channel [13:08] mikl has joined the channel [13:08] c4milo1 has joined the channel [13:09] g2611 has joined the channel [13:09] jro_ has joined the channel [13:09] jro_: hi all [13:09] jro_: ddsd [13:11] bshumate has joined the channel [13:11] bshumate has joined the channel [13:12] jamesw has left the channel [13:12] edwardmsmith has left the channel [13:14] lunks has joined the channel [13:15] ceej has joined the channel [13:17] zgryw has joined the channel [13:20] Sembiance: hrm, that's interesting [13:21] paveq: yep, we have to run cron script to remove old ones :p [13:21] paveq: not many seem to talk :/ [13:22] paveq: client should work.. [13:22] postwait has joined the channel [13:22] jkj_: paveq: the cron didn't do the job? [13:22] christkv has joined the channel [13:23] paveq: its quite ugly :p [13:24] jkj_: sure, but it should work if it gets run [13:24] Nuck has joined the channel [13:25] ryanfitz has joined the channel [13:25] g2612 has joined the channel [13:26] jrgifford has joined the channel [13:27] davidsklar has joined the channel [13:27] christkv_ has joined the channel [13:27] g2613 has joined the channel [13:28] smtlaissezfaire has joined the channel [13:29] Remoun has joined the channel [13:31] Cromulent has joined the channel [13:31] al3xnull_ has joined the channel [13:32] __tomb has joined the channel [13:33] g2614 has joined the channel [13:34] MrNko has joined the channel [13:35] industrial: paveq: #myircthingytestchannel ? [13:36] g2615 has joined the channel [13:36] g2616 has joined the channel [13:37] H4ns: industrial: why test in private when you can annoy 666 people? [13:37] figital has joined the channel [13:38] Nuck: H4ns: EEEEEEVVVIIIIIIIIIIIL [13:38] g2617 has joined the channel [13:39] industrial: *iron maiden starts playing in the background from a seemingly unknown source* [13:41] vicapow_ has joined the channel [13:41] swair_ has joined the channel [13:42] g2618 has joined the channel [13:44] g2619 has joined the channel [13:44] sneakyness_wk has joined the channel [13:44] bnoordhuis has joined the channel [13:44] FireFly|n900 has joined the channel [13:44] g2620 has joined the channel [13:45] Nuck: So, it is currently.... 6:45 AM [13:45] Nuck: And I have class in an hour and fifteen minutes [13:45] jrgifford has left the channel [13:45] jheusala: jkj_: did we remember to make that channel even configureable :-P [13:45] Nuck: Ugh [13:46] simenbrekken has joined the channel [13:46] jheusala: basically those gNNNN's are just our web site users... :-P [13:46] Nuck: Too Fucking Early. [13:46] g2621 has joined the channel [13:47] Sembiance: so, just how different is v 0.4 vs 0.5? [13:47] jheusala: it's 4:47 PM here at Finland now. [13:47] g2622 has joined the channel [13:47] willwhite has joined the channel [13:47] Nuck: I have Intro to Business at 8 AM [13:47] Sembiance: Nuck: school eh? [13:47] Nuck: yup [13:48] igl: http://sixrevisions.com/infographs/web-designers-vs-web-developers/ [13:48] g2622: hm? [13:49] k1ttty has joined the channel [13:49] jheusala: g2622: hi [13:49] luke` has joined the channel [13:49] killfill: hey [13:49] killfill: are all nockouts avaible on github or something cimilar? [13:49] jheusala: btw the main problem is just that our shell service should be run on a better system than a 512 M virtual [13:49] swair_ has joined the channel [13:50] g2622: hai [13:50] nrstott has joined the channel [13:51] jheusala: we could have had 32 M systems if it would have been allowed to deploy on our own system :-/ [13:51] g2623 has joined the channel [13:51] jheusala: I mean 32 G [13:51] _kud has joined the channel [13:52] jheusala: actually I'm not sure if it would have been allowed to deploy on remote shell service provided by us... The website is basically just an isolated app and shell can be run on other servers.. [13:53] arthurdebert has joined the channel [13:54] jkj_: jheusala: it could be done? putting the users on a kapsi virtual machine doesn't require code changes [13:54] mpavel has left the channel [13:54] jheusala: great, I didn't know if you made it configurable :-) [13:55] g2624 has joined the channel [13:56] jheusala: jkj_: it would be nice to have a hostname that redirects to our website still [13:56] g2625 has joined the channel [13:57] sivy has joined the channel [13:57] g2626 has joined the channel [13:58] g2627 has joined the channel [13:59] eldios has joined the channel [13:59] JustinCampbell has joined the channel [13:59] hornairs has joined the channel [14:00] g2628 has joined the channel [14:01] g2629 has joined the channel [14:01] progme has joined the channel [14:01] g2630 has joined the channel [14:02] swair_afk has joined the channel [14:02] jheusala: jkj_: I guess we should ask permission still since the shell daemon still uses source code from the project (even if it can be installed from NPM...) [14:03] g2631 has joined the channel [14:03] Charuru has joined the channel [14:04] CIA-69: node: 03jkummerow@chromium.org 07master * rb5643cb 10/ deps/v8/src/elements.cc : [14:04] CIA-69: node: v8: remove unnecessary break-after-return in switch statement [14:04] CIA-69: node: BUG=v8:1642 [14:04] CIA-69: node: Review URL: http://codereview.chromium.org/7781007 [14:04] CIA-69: node: This is a back-port of upstream r9043. Fixes build on OS X 10.5. - http://git.io/rhv4Uw [14:04] g2632 has joined the channel [14:06] jheusala: only thing I really regret is that I forgot to deploy Google Analytics on our website [14:08] g2633 has joined the channel [14:08] baudehlo1 has joined the channel [14:08] ksheurs has joined the channel [14:08] gartenstuhl has joined the channel [14:09] g2634 has joined the channel [14:10] vikstrous has joined the channel [14:10] sivy has joined the channel [14:10] infynyxx has joined the channel [14:11] __sorin__ has joined the channel [14:11] jgornick has joined the channel [14:12] softdrink has joined the channel [14:12] eyesUnclouded has joined the channel [14:12] g2635 has joined the channel [14:13] slifty has joined the channel [14:15] mcepl has joined the channel [14:15] patweb99 has joined the channel [14:16] g2636 has joined the channel [14:16] amigojapan has joined the channel [14:16] edude03 has joined the channel [14:16] g2637 has joined the channel [14:17] kenperkins has joined the channel [14:17] infynyxx has joined the channel [14:17] erickt has joined the channel [14:18] rchavik has joined the channel [14:19] rafaelcaricio has joined the channel [14:19] __tomb has joined the channel [14:19] bazookatooth has joined the channel [14:19] MrNko has joined the channel [14:19] aconbere has joined the channel [14:20] jj0hns0n has joined the channel [14:21] mikekunze has joined the channel [14:21] brianc has joined the channel [14:21] Poetro has joined the channel [14:21] Poetro has joined the channel [14:22] nrstott: What is the correct way to set multiple cookies (Multiple Set-Cookie) in a single response? I see in http.js there is a comment about removing the support for the headers as an array 'when array is no lnoger accepted' so I don't want to use that. What's the alternative [14:23] liar has joined the channel [14:24] H4ns: nrstott: http://www.ietf.org/rfc/rfc2109.txt - multiple cookies in one set-cookie line [14:25] BillyBreen has joined the channel [14:25] felixhummel has joined the channel [14:26] FireyFly|n900 has joined the channel [14:28] dylang has joined the channel [14:28] fangel has joined the channel [14:28] altamic has joined the channel [14:28] altamic has joined the channel [14:28] charleso has joined the channel [14:30] g2638 has joined the channel [14:31] fangel_ has joined the channel [14:32] spasquali has joined the channel [14:32] spasquali has left the channel [14:32] fairwinds has joined the channel [14:33] JustinCampbell has left the channel [14:34] ryanfitz has joined the channel [14:34] g2639 has joined the channel [14:34] brianc: question...I got a C++ event emitter. I create it in C++, return it to v8 and subscribe to an event. Then next GC cycle v8 throws it away & I can see the C++ destructor is called. Why God?? [14:35] pickels has joined the channel [14:35] g2640 has joined the channel [14:36] eyesUnclouded_ has joined the channel [14:36] H4ns: brianc: works for me, but i found it tricky to get all things going. maybe you want to look at this: https://github.com/hanshuebner/midivent/blob/master/src/MIDI.cc#L1049 [14:36] FireFly has joined the channel [14:37] stepheneb has joined the channel [14:37] junkee[] has joined the channel [14:37] CodeWarriorAQ has joined the channel [14:38] CodeWarriorAQ: Hi! [14:39] CodeWarriorAQ: I need some help :) [14:39] smus has joined the channel [14:39] slifty has joined the channel [14:40] CodeWarriorAQ: ok! i need some help to consume the JSON from this site :] [14:40] simenbrekken: I'm about to deploy my first node app in prod on EC2 and I've made the shard image on a 32-bit micro instance, should I recompile the whole thing on the 64-bit machines? [14:41] DrMcKay: eldios: I'll set up this repo later today, I have few things to finish today [14:41] RORgasm has joined the channel [14:41] DrMcKay: eldios: but I believe you'll get a GH notification [14:42] sechrist_ has joined the channel [14:42] eldios: o/ [14:45] squeese has joined the channel [14:46] ingenthr has joined the channel [14:47] CodeWarriorAQ: jesus.. no one can help-me!? [14:47] CodeWarriorAQ: clear [14:47] CodeWarriorAQ: /clear [14:47] CodeWarriorAQ: aff.. [14:47] tbranyen: xD [14:48] CodeWarriorAQ: its so hard to get help to a simple question. Mr. Google wont help. [14:48] madsleejensen has joined the channel [14:48] madsleejensen has left the channel [14:48] Nathan_ has joined the channel [14:48] H4ns: CodeWarriorAQ: if you don't ask a question, it is not very likely that you'll get a suitable answer. [14:49] CodeWarriorAQ: oh, ok. [14:50] __tomb has joined the channel [14:50] CodeWarriorAQ: i'm new to node and trying to console.out the items of this JSON -> http://www.ergast.com/api/f1/1950.json [14:50] bingomanatee_ has joined the channel [14:51] kevwil has joined the channel [14:51] _dc has joined the channel [14:52] CodeWarriorAQ: H4ns then...? [14:52] Margle has joined the channel [14:52] jchris has joined the channel [14:52] BillyBreen has joined the channel [14:52] hakunin has joined the channel [14:53] creationix has joined the channel [14:53] slaskis: CodeWarriorAQ: there's no console.out? [14:53] H4ns: CodeWarriorAQ: JSON.parse? [14:53] g2641 has joined the channel [14:54] CodeWarriorAQ: @slaskis console.log [14:54] piscisaureus has joined the channel [14:54] slaskis: CodeWarriorAQ: right :) thought that might've been your issue :P [14:54] CodeWarriorAQ: @H4ns its just it!? dont need to require some modules!? [14:55] g2642 has joined the channel [14:55] H4ns: CodeWarriorAQ: no. [14:55] springmeyer has joined the channel [14:55] CodeWarriorAQ: @H4ns are you joking with me!? [14:55] H4ns: CodeWarriorAQ: dude, go and try it out. [14:55] g2643 has joined the channel [14:55] prettyrobots has joined the channel [14:55] CodeWarriorAQ: i create somefile.js, put JSON.parse(ergast.com/api/f1/1950.json); and node somefile.js? [14:56] context: codewarrioraq: there is a console, you could try this stuff [14:56] clifton has joined the channel [14:56] H4ns: CodeWarriorAQ: you need to read the file if you want to parse it. JSON.parse requires a string argument [14:56] CodeWarriorAQ: ok, i will try now [14:56] H4ns: CodeWarriorAQ: now go look at some documentation and maybe http://nodebeginner.org/ - also type "node" and play with it interactively. [14:56] alts has joined the channel [14:56] CodeWarriorAQ: but its much easy, its not possible! :) [14:57] _kud has joined the channel [14:58] CodeWarriorAQ: i try JSON.parse('ergast.com/api/f1/1950.json'); and -> Unexpected token ILLEGAL [14:58] yept has joined the channel [14:58] gw280 has left the channel [14:58] baudehlo1 has joined the channel [14:58] context: codewarrioraq: he already told you why [14:58] dingomanatee has joined the channel [14:58] tjholowaychuk has joined the channel [14:58] context: codewarrioraq: parse() PARSES json, it does not read a file [14:58] arg0s has joined the channel [14:59] pkrumins: creationix: doesnt work in chrome [14:59] luke` has joined the channel [14:59] patweb99: try JSON.parse('{"var1":"value1"}') which should give you an object with var1 as a key to a value of value1 [14:59] creationix: pkrumins: refresh the window [14:59] kmiyashiro has joined the channel [14:59] patweb99: hence the string in the parse call [14:59] creationix: pkrumins: it doesn't work the first load sometimes for some reason [14:59] creationix: pkrumins: I was barely awake for most of it [14:59] creationix: pkrumins: also, your video card has to support webgl [15:00] pkrumins: creationix: video card? interesting [15:00] pkrumins: i thought that was chrome stuff [15:00] creationix: pkrumins: half the app is written in GLSL shader language [15:00] dexter_e has joined the channel [15:00] creationix: most older intel cards don't have a GLSL compiler [15:00] pkrumins: yea doesnt work even after refresh [15:00] CodeWarriorAQ: context h4ns i'm completely new to Node. I need to read the file, something like fs.open(0? [15:00] kimico has joined the channel [15:00] shanebo has joined the channel [15:00] pkrumins: i have an old radeon video card from 2004 [15:01] creationix: pkrumins: dunno, GLES 2.0 is pretty new stuff [15:01] g2644 has joined the channel [15:01] pkrumins: creationix: doesnt work nope. oh wellz. [15:01] sub_pop has joined the channel [15:01] creationix: pkrumins: there are sites that help getting webGL working in your browser [15:01] geetarista has joined the channel [15:01] creationix: pkrumins: if you're on linux, it's pretty easy to compile and run it as a native desktop app [15:02] creationix: pkrumins: but then if your video card is the fault, then that won't work either [15:02] pkrumins: i just remembered i have a macbook [15:02] softdrink: anyone here *really* handy with vows? i'm trying to figure out the best way to test a lot of async code [15:02] pkrumins: trying on that one [15:02] pkrumins: creationix: on windows actually here ;) [15:02] pkrumins: ACTION hides [15:02] smtlaissezfaire has joined the channel [15:02] creationix: pkrumins: that should work unless it's a really old one [15:02] jtrudeau has joined the channel [15:02] ivanfi1 has left the channel [15:02] creationix: pkrumins: also, if you like it, vote for me http://nodeknockout.com/teams/minimason [15:03] neilk_ has joined the channel [15:03] pkrumins: will do! [15:03] pkrumins: hey vote for me too ;) http://nodeknockout.com/teams/replicants [15:03] slaskis: creationix: how do you compile webgl stuff on linux? [15:04] patrickgamer has joined the channel [15:04] patrickgamer has left the channel [15:04] pifantastic_ has joined the channel [15:04] leahculver has joined the channel [15:04] leahculver has joined the channel [15:05] jheusala: is it allowed to push our entry code into github as public repo? [15:05] ryan0x2 has joined the channel [15:05] ditesh|cassini has joined the channel [15:05] creationix: jheusala: good question, I did for my webgl part [15:05] creationix: but I don't know if that was against the rules [15:06] creationix: slaskis: well, node-sdl and node-webgl are simply node addons, both on my github and in npm [15:06] jheusala: I guess it would be ok if I had done it before the competition ended but is it considered deploying now [15:06] creationix: slaskis: you need a few headers installed before the packages will compile [15:06] pkrumins: creationix: works nicely on macbook [15:06] pkrumins: i got air [15:06] pkrumins: looks really cool [15:07] hydrozen has joined the channel [15:07] captain_morgan has joined the channel [15:07] creationix: pkrumins: nice. Also, I didn't know you were working on heatwave, I sat next to SubStack for half the competition [15:07] g2645 has joined the channel [15:07] industrial: where was this held? [15:07] industrial: geographically [15:07] pkrumins: in Latvia [15:07] pkrumins: creationix: oooh snap [15:08] slaskis: creatonix cool! [15:08] g2646 has joined the channel [15:09] pkrumins: creationix: voted on your entry! [15:09] creationix: I was at Joyent's office in San Francisco [15:09] pkrumins: gave a fair vote of what i think. [15:09] creationix: pkrumins: thanks. though, I'm not sure how much I'll get since it's so hard to explain and test. [15:09] CodeWarriorAQ: Its not possible to do it -> var season = JSON.parse('ergast.com/api/f1/1950.json'); and after do console.log(season.year); ? [15:10] rook2pawn: what would be the best way for me to get webgl enabled on my chromium? [15:10] rook2pawn: want to see those blue lava things again [15:10] creationix: now remember, it's not chrome's webgl I implemented, but one for node [15:10] pkrumins: rook2pawn: it just worked out of the box on macbook [15:10] creationix: I just have the web based version so people can more easily see something shiny [15:10] context: codewarrioraq: please dont PM people without asking. and no its not a way to do it [15:10] robertfw has joined the channel [15:10] creationix: it's the exact code as what's run in node [15:10] Draggor: creationix: link? [15:10] context: codewarrioraq: parse() DOES NOT READ FILES. for the third time [15:11] creationix: Draggor: http://nodeknockout.com/teams/minimason [15:11] Draggor: thx! [15:11] jheusala: I like this idea A LOT: http://nko2-infopoprac.herokuapp.com/ [15:11] context: codewarrioraq: JSON.parse("{'my': 'nifty', 'json': 'file', 'num': 432}") [15:11] losing has joined the channel [15:12] fyskij has joined the channel [15:12] H4ns has joined the channel [15:12] marcinkuzminski has joined the channel [15:12] g2647 has joined the channel [15:13] g2648 has joined the channel [15:13] marcinkuzminski: hi, why i'm getting error: script /my/path/start does not exist. running forever start app.js param param param [15:13] marcinkuzminski: without "start" it works fine with forever. Using nodejs 0.4.11 [15:13] g2649 has joined the channel [15:14] luke`_ has joined the channel [15:14] newy has joined the channel [15:15] g2648: does this work? [15:15] g2650 has joined the channel [15:16] marcinkuzminski: o nevermind i see https://github.com/indexzero/forever/issues/109 [15:16] dgathright has joined the channel [15:16] context: anyone remember that project name thats like mocksmtp but written in node [15:16] explodes has joined the channel [15:17] creationix: slaskis: are you still trying to build on Ubuntu, I can dig up the exact headers needed if that helps [15:17] creationix: slaskis: or are you on a different linux [15:17] MrNko has joined the channel [15:18] qbert has joined the channel [15:19] DrMcKay: jheusala: true, this gitBroker thing is cool [15:19] tjholowaychuk: creationix slick demo thing i like the shader(s)? [15:19] context: or maybe it was written in ruby :x [15:20] context: found :D [15:20] JSManiacs has joined the channel [15:20] jro_: hi all [15:21] bassui has joined the channel [15:21] jro_: I see error while I write tut [15:21] DrMcKay: a bit off-topic: is anyone here going to next devmeeting in Poznan? [15:22] jheusala: DrMcKay: I just bought your bot at gitBroker :-) [15:22] DrMcKay: jheusala: lol :D [15:23] versicolor has joined the channel [15:24] creationix: tjholowaychuk: thanks, but I didn't write the shaders or webgl code, just the implementation it's running on [15:24] creationix: and yes, it's slick shaders [15:24] aheckmann has joined the channel [15:24] DrMcKay: jheusala: and I bought some assets of your node-icecap :D [15:25] bassui: what happend with jade.renderFile() :( [15:25] jro_: if (typeof handle[pathname] === 'function') [15:25] g2651 has joined the channel [15:26] DrMcKay: I have to take part in node KO next year [15:26] jro_: Can't read property '/' of undefined [15:26] jheusala: DrMcKay: cool :-) [15:26] g2652 has joined the channel [15:26] jro_: hic please help me [15:26] Aikar: anyone who did the codingstage.com site for NKO here? [15:26] jro_: I begin with node [15:28] jheusala: I want our shell service at gitBroker :-P [15:28] zeropx has joined the channel [15:28] kmiyashiro has joined the channel [15:29] tdegrunt has joined the channel [15:29] jarek has joined the channel [15:29] jarek has joined the channel [15:30] glyytch_ has joined the channel [15:31] springmeyer has joined the channel [15:31] DrMcKay: oh, cool, my JS directory got bigger than my Python directory [15:32] sourcode has joined the channel [15:32] JSManiacs: ahhhh… My no.de server is down! Anyone else having issues? [15:32] jheusala: oh our NKO oulu repo is 151 M :-P [15:32] JSManiacs: the panel say's its running, but I can't hit my knockout project [15:33] kevwil_ has joined the channel [15:33] DrMcKay: jheusala: wut? [15:33] boaz has joined the channel [15:33] g2653 has joined the channel [15:33] jheusala: those were with node_modules directories [15:34] jheusala: node_modules was 70 MB just for our website app [15:34] DrMcKay: jheusala: ah, I always .gitignore them [15:34] DrMcKay: jheusala: you can always send the to /dev/null [15:34] DrMcKay: filter-branch or something [15:34] nibblebot has joined the channel [15:34] softdrink: tjholowaychuk: does express default to 'development' when running .configure()? [15:35] amigojapan has joined the channel [15:35] tjholowaychuk: softdrink yup [15:35] tjholowaychuk: NODE_ENV=production [15:35] jheusala: DrMcKay: yeah, actually I was just checking our local copy :-) [15:35] softdrink: ok cool. i thought i was just seeing weirdness [15:35] davidwalsh has joined the channel [15:35] jheusala: DrMcKay: but still it's quite a lot data as a deployed app [15:35] jakehow__ has joined the channel [15:35] jakehow_ has joined the channel [15:35] jakehow has joined the channel [15:36] DrMcKay: jheusala: how long was it deploying? [15:36] jamesd2 has joined the channel [15:36] jheusala: our code was 15 MB [15:37] tmpvar has joined the channel [15:38] boltR has joined the channel [15:38] jheusala: DrMcKay: I didn't do it on the server [15:40] Spion_ has joined the channel [15:40] dmkbot has joined the channel [15:40] DrMcKay: jheusala: oh, I get it [15:40] jheusala: I guess it would have taken some time to download every dependency [15:41] ekryski has joined the channel [15:41] jheusala: actually there might be unneeded things in package.json files and that would explain the size :-P [15:41] DrMcKay: jheusala: that got me an idea [15:42] DrMcKay: jheusala: I'll write a dependency detector [15:42] DrMcKay: (but later) [15:42] jheusala: that would be nice :-) [15:42] jheusala: I was planning that I might implement our ldapd thing someway as a node cloud service [15:42] DrMcKay: jheusala: you know, go through every .js file, run it in node, monkey-patch require or just regex-match it [15:42] yozgrahame has joined the channel [15:43] g2654 has joined the channel [15:43] jheusala: DrMcKay: I have thought that too some times [15:43] ekryski: Hey guys! How many instances of node can you run production for a quad-core 8 thread machine? [15:43] tjholowaychuk: 15 million [15:43] ekryski: ha ha [15:43] fangel has joined the channel [15:44] DrMcKay: OVER NINE THOUSAND! [15:45] ekryski: Node has a thread pool of up to 4 or 5 for blocking i/o so I'm thinking essentially one but is anyone vming node? [15:45] jtsnow has joined the channel [15:45] mikl has joined the channel [15:45] jheusala: ekryski: it depends on lot of things. Any one number cannot be said with this information. [15:46] H4ns: ekryski: the thread pool is there so that node can run blocking operations, not to offload computation to some (virtual) core. [15:47] k1ttty has joined the channel [15:47] guillermo has joined the channel [15:47] slaskis: tjholowaychuk: i must say your deploy script is just brilliant [15:48] ekryski: H4ns: yes. but I'm wondering is if you have 1 thread for node and the 4-5 for the thread pool it already doesn't leave much left over for anything else to go on the box (with an 8 thread machine) [15:48] tjholowaychuk: slaskis haha thanks, i haven't used it much yet so i haven't polished things up but it's a start [15:48] H4ns: ekryski: a thread that sleeps waiting for some i/o to finish does not make use of a core. [15:48] ekryski: I'm not sure but can more than one node.sj instance share the thread pool? [15:48] slaskis: took me 15 minutes to set up and deploy to my linode with it [15:48] tjholowaychuk: i always thought it should be a shell script, was never a fan of ruby-specific stuff etc [15:48] ekryski: H4ns: very true. I kinda forgot about that ;-) [15:48] H4ns: ekryski: so unless you have a very busy node system, you can run multiple instances on _one_ core. [15:49] slaskis: it does make a lot of sense yah, and your bash is probably the most readable i've ever seen [15:49] yhahn has joined the channel [15:49] caolanm has joined the channel [15:49] tjholowaychuk: thankya! [15:50] slaskis: tjholowaychuk: you're in victoria, right? [15:50] tjholowaychuk: yup [15:50] DrMcKay: jheusala: guys from gitBroker say that they're going to extend gitBroker after KO [15:50] kevwil has joined the channel [15:50] ekryski: H4ns: hmm. thanks for the feedback. I guess I can't even really have an answer to my question until we just try it out. [15:50] slaskis: i'll be going there in about two weeks, anything i shouldn't miss? [15:50] H4ns: ekryski: correct. [15:51] g2655 has joined the channel [15:51] tjholowaychuk: slaskis hmmm nothing crazy i can think of haha, it's an all around nice place but nothing too amazing tourism-wise [15:51] tjholowaychuk: we have wild seals you can feed and make them do tricks haha [15:52] slaskis: tjholowaychuk: yay, seals! [15:52] slaskis: i thought you guys club them, or is that only when they're babies? ;P [15:52] jerrysv has joined the channel [15:52] tjholowaychuk: haha no that's only in the north, if i saw that here i would club the guy [15:53] jheusala: DrMcKay: yeah, it would be stupid not to do since that's a great idea :-) [15:53] jesster7 has joined the channel [15:53] smathy has joined the channel [15:54] Remoun has joined the channel [15:54] bassui: could someone tell me if we're supposed to use jade.compile now instead of jade.render and jade.renderFile? [15:54] blessYAHU has joined the channel [15:55] g2656 has joined the channel [15:55] tjholowaychuk: bassui yup [15:55] tjholowaychuk: render/renderFile were legacy [15:55] tjholowaychuk: and not really necessary [15:55] balgarath has joined the channel [15:55] bassui: can jade.compile accept a file like jade.compile('layout.jade') ? [15:55] creationix: http://creationix.com/minimason.m4v [15:55] tjholowaychuk: bassui no but you can use node's "fs" to read it in [15:56] balgarath: hi all. favorite memcached client? [15:56] bassui: i've tried that and i'm having problems [15:56] zgryw has joined the channel [15:56] tjholowaychuk: bassui maybe just check out the old renderFile implementation [15:57] glyytch_ has left the channel [15:57] blessYAHU: what needs to change on nodejs boilerplate to run on windows build of nodejs? [15:57] bnoordhuis: blessYAHU: patience - until the windows port is complete [15:58] bnoordhuis: blessYAHU: maybe you can narrow down the question? [15:58] blessYAHU: :) [15:58] markwubben has joined the channel [15:58] blessYAHU: require is looking for node_modules. don't know what's supposed to go in there [16:00] tbranyen: tjholowaychuk: just got put on a project at work that uses stylus [16:00] jesusabdullah: blessYAHU: Node modules! [16:00] tbranyen: woot [16:00] tjholowaychuk: tbranyen woot! [16:00] stephank has joined the channel [16:00] tjholowaychuk: i was doing a regular css project [16:00] tjholowaychuk: on the weekend [16:00] jesusabdullah: blessYAHU: What OS are you trying to do this on? [16:01] tjholowaychuk: and really regretted being too lazy to set up sass/stylus haha [16:01] tbranyen: tjholowaychuk: uh oh should i tell them its going to get abandoned? [16:01] tjholowaychuk: regular css is such a PITA [16:01] tbranyen: :-p [16:01] hekkwan_ has joined the channel [16:01] Remoun has joined the channel [16:01] blessYAHU: windows [16:01] g2657 has joined the channel [16:01] jesusabdullah: yessch [16:01] tbranyen: tjholowaychuk: oh yeah especially when i try and do single line comments in regular css [16:01] tbranyen: such fail [16:02] Vertice has joined the channel [16:02] jesusabdullah: blessYAHU: Normally you'd use npm and it'd take care of it, but if you insist on windows, then [16:02] madsleejensen has joined the channel [16:02] kmiyashiro has joined the channel [16:02] steffan_ has joined the channel [16:02] _dc has joined the channel [16:02] jesusabdullah: when you require("foo") it's looking for all the codez in node_modules/foo/ [16:02] tjholowaychuk: tbranyen that too. I understand why css is the way it is, and I think it's good, js/css need to easily support minification [16:02] tbranyen: do they? [16:02] Aphelion has joined the channel [16:02] tjholowaychuk: single-line comments dont work to well for that (though you would strip them anyway) [16:02] jesusabdullah: so, you'd have node_modules/foo/package.json, for example [16:02] tbranyen: i mean gzip is pretty goood [16:03] jesusabdullah: Anyways, I gotta roll! D: [16:03] tjholowaychuk: yeah min+gzip [16:03] tbranyen: although i've seen smaller filesizes with gzip after minification [16:03] balgarath: anyone using memcached from node? looking for a recommendation of which client to use [16:03] captain_morgan has joined the channel [16:03] bassui: this will return a function: jade.compile(fs.readFile('views/file.jade'), data) how do send the rendered html back to the client using socket.on('request',function(data,fn) before i used fn(rendered_html) [16:03] blessYAHU: jesusabdullah: thanks [16:03] tbranyen: i kind of like linking my full source tho if i can [16:03] tbranyen: minified crap just makes it harder for end users to report errors when they pop up [16:03] tbranyen: and if you're tracking javascript errors the stack traces are useless [16:04] jesusabdullah: blessYAHU: Oh, also, even though v0.5.x works in windows now, I'd recommend either using linux (in a vm or normal-like) or cygwin if you want to work from a windows box [16:04] jesusabdullah: and use v0.4.x [16:04] jesusabdullah: because 0.5.x is still unstable and you don't have npm yet [16:04] tjholowaychuk: tbranyen yeah i dont like obfuscation much [16:05] blessYAHU: jesusabdullah: right. already got an Unbuntuu instance. Just giving windows build of node a whirl. [16:06] ap3mantus has joined the channel [16:06] blessYAHU: just have to figure out connecting to a virtualboy instance from the host machine... [16:07] alvaro_o has joined the channel [16:08] mike5w3c_ has joined the channel [16:08] MrNko has joined the channel [16:08] bnoordhuis: blessYAHU: virtualboy or virtualbox? [16:09] dshaw_ has joined the channel [16:09] JSManiacs has joined the channel [16:09] blessYAHU: bnoordhuis: virtualbox. lol [16:10] ekryski: so… does anyone know if multiple node instances share the i/o thread pool? [16:10] bnoordhuis: blessYAHU: right. set the vm's network adapter to bridged mode [16:10] bnoordhuis: ekryski: no [16:10] bnoordhuis: ekryski: that is, i know and the answer is no [16:10] ekryski: ok didn't think so. thanks [16:10] DrTeggy has joined the channel [16:11] balaa has joined the channel [16:11] dmkbot: *Uhm... yeah, don't expect users to do "node http://host/script.js".* reported by thejh: https://github.com/joyent/node/issues/1542 [16:11] ekryski: ok next question. What happens if your cpu doesn't have enough threads to handle the max i/o thread pool? (ie. 4 or 5 per instance) [16:12] bnoordhuis: ekryski: you mean cores? [16:12] bnoordhuis: ekryski: it doesn't matter, most of the threads will be blocked pending i/o anyway [16:12] slifty has joined the channel [16:12] marksoper has joined the channel [16:13] ghostwriter has joined the channel [16:13] ekryski: bnoordhuis: so if you have 8 threads total and you have two node instances then if your server is super busy will it just take longer to do i/o due to the limited number of threads? [16:13] at0mizer has joined the channel [16:13] ekryski: or will you drop i/o operations? [16:14] jacker224 has joined the channel [16:14] bnoordhuis: ekryski: it may take longer but it won't drop operations [16:14] ekryski: ok. thanks a bunch! [16:15] JSManiacs: is anyone else having problems getting to their NKO entry on no.de [16:15] JSManiacs: http://mocker.no.de/ will not come up [16:15] dgathright has joined the channel [16:15] JSManiacs: I can ping it [16:15] JSManiacs: I can ssh into it and restart node [16:15] StanlySoManly has joined the channel [16:15] JSManiacs: but no result [16:15] ckpcw has joined the channel [16:15] jacker224 has left the channel [16:15] at0mizer: are you listening on 80? [16:16] JSManiacs: yes [16:16] JSManiacs: keep in mind, it was all working when the knockout ended [16:16] JSManiacs: then poof… this morning it wasn't [16:16] at0mizer: weird. try to knock on #joyent [16:17] dshaw_1 has joined the channel [16:17] bengrue has joined the channel [16:19] Vertice: i'm happy that i just realized i can do _(listOfNumbers).sortBy(parseFloat) instead of _(listOfNumbers).sortBy(function(v){ return parseFloat(v); }) [16:19] Vertice: it's the little things [16:19] Remoun has joined the channel [16:19] mitchellhislop has joined the channel [16:20] larsemil has left the channel [16:21] CIA-69: node: 03Jann Horn 07master * r1a0edbc 10/ src/node.js : module: remove 'is URL?' check in module loader, dead code - http://git.io/PZX3WQ [16:22] MUILTFN has joined the channel [16:22] vidi has joined the channel [16:22] trevorsheridan has joined the channel [16:23] trevorsheridan: hello! Does anyone have any opinion on using Zombie for headless browser testing? [16:24] TooTallNate has joined the channel [16:24] TheJH has joined the channel [16:24] TheJH has joined the channel [16:24] dhughes has joined the channel [16:25] balgarath: anyone recommend a node.js client? [16:25] dhughes: hello everyone. [16:25] trevorsheridan: hello. [16:25] dhughes: anyone here happen to use mongoose? [16:25] at0mizer: client? what for? [16:25] dnjaramba has joined the channel [16:25] balgarath: whoops, a memcached client for node.js [16:25] balgarath: lol [16:26] dhughes: in mongoose if I have an schema where one item is a type Schema.ObjectId, is there any way to easily get that referenced object from the referring object? [16:26] ismell has joined the channel [16:26] g2658 has joined the channel [16:26] trentm has joined the channel [16:27] sbisbee has joined the channel [16:27] gerad has joined the channel [16:27] balaa has joined the channel [16:27] g2659 has joined the channel [16:28] g2660 has joined the channel [16:28] simenbrekken has joined the channel [16:28] i42n has joined the channel [16:29] asteig has joined the channel [16:29] g2661 has joined the channel [16:29] i42n has joined the channel [16:31] bazookatooth has left the channel [16:33] Ricki` has joined the channel [16:33] ronnieboy has joined the channel [16:33] rafaelcaricio has joined the channel [16:33] gtramont1na has joined the channel [16:33] guillotine138 has left the channel [16:34] devongovett has joined the channel [16:37] vipaca has joined the channel [16:37] vipaca has joined the channel [16:37] Remoun has joined the channel [16:37] theCode has joined the channel [16:37] g2662 has joined the channel [16:39] greg606 has joined the channel [16:39] greg606: hi [16:40] greg606: can you help me make first step with socket.io [16:40] swair_afk has joined the channel [16:40] swair_afk has joined the channel [16:40] jheusala: can we request a technical judge still? there is "any time before the coding ends" but the form looks like it would work still :-P [16:41] swair_afk has joined the channel [16:41] jheusala: greg606: just ask it's usually best way to get help [16:42] Croms has joined the channel [16:42] smus has joined the channel [16:42] greg606: jheusala: I just to run the first example from http://socket.io/ but it's not working [16:43] jheusala: greg606: what browser are you using? Can you put it as gist? [16:43] jheusala: greg606: we had problems if NODE_ENV was not set. I now have it always as development by default. [16:43] simenbrekken: I'm getting serious wierdness on EC2 with node, it seems argv is messed up, I can't run stuff like 'npm list installed' npm "WARN ls doesn't take positional args. Try the 'search' command" etc. [16:43] Cromulent has joined the channel [16:44] greg606: chrome [16:44] greg606: it's directly the same code [16:44] greg606: only i changed the port to 8080 [16:44] mendel_ has joined the channel [16:45] jheusala: greg606: with newest Chrome websockets do not work. Try to change transports. [16:45] g2663 has joined the channel [16:45] at0mizer: question: here is some wrapper code i came up with http://pastebin.com/k6mwv2KF is it enough to make a module work in both node and browser? there's no node-specific code inside the Thing. [16:46] jheusala: greg606: try this: io.set('log level', 1); io.set('transports', ['xhr-polling']); [16:47] jheusala: and run it NODE_ENV=development node server.js [16:47] jheusala: we didn't have time to figure out why socket.io wasn't working, we just hacked those settings to get it working on our Chromes... [16:48] gr-eg has joined the channel [16:48] Chopinn: hi! not that good with javascript but, can someone tell me why that error on line 31 happens? : http://pastebin.com/b81wQhih [16:48] dannycoates has joined the channel [16:48] jheusala: but did read that newest Chrome uses a newer Websockets protoco [16:48] mcepl has joined the channel [16:48] jheusala: *protocol [16:48] `3rdEden: jheusala socket.io 0.8 has support for that [16:48] `3rdEden: so just upgrade to latest version to have it working again [16:48] kenperkins has joined the channel [16:49] jheusala: `3rdEden: is it new update? we used the latest from NPM while coding for Node Knockout this weekend [16:50] `3rdEden: jheusala rauchg updated it during the node knockout [16:50] `3rdEden: he just released 0.8.1 a few minutes ago [16:50] `3rdEden: with some bug fixes [16:50] blessYAHU: bnoordhuis: that works. thanks for the tip on virtualbox! [16:50] jheusala: ah right [16:50] jheusala: I guess updating NPM modules are OK for Node Knockout rules :-P [16:50] greg606: jheusala: Uncaught TypeError: Object # has no method 'set' [16:50] at0mizer: Chopinn: you're issuing a second query before the first one completes. use callback from the first query to fire the second one [16:51] jheusala: greg606: those codes were for the server side [16:51] Charuru has joined the channel [16:51] jheusala: oh sorry [16:52] jheusala: I make a gist [16:52] mraleph has joined the channel [16:52] newy has joined the channel [16:53] towski has joined the channel [16:53] blessYAHU: got clone/configure/make to upgrade nodes? I've been away for awhile. [16:54] shapeshed has joined the channel [16:54] MrNko has joined the channel [16:54] Yoric has joined the channel [16:55] jheusala: greg606: https://gist.github.com/1178818 [16:55] jheusala: need to go, brb [16:56] boltR has joined the channel [16:56] greg606: i don;t use express [16:57] bnoordhuis: blessYAHU: yes but you should probably `git checkout v0.4.11` after cloning [16:57] bnoordhuis: blessYAHU: master is unstable-ish [16:57] Qbix1 has joined the channel [16:57] blessYAHU: thanks [16:57] te-brian has joined the channel [16:57] balaa has joined the channel [16:58] trevorsheridan: Does anyone know if it's possible to run vows tests in the browser? [16:59] g2664 has joined the channel [16:59] ossareh has joined the channel [16:59] JSManiacs: trevorsheridan: you can if you run https://github.com/substack/node-browserify [16:59] JSManiacs: or load browserify in your dom that is [17:00] dylang: http://doodle.no.de/ is back!! Thanks Joyent! [17:00] JSManiacs: yeah, mocker.no.de is back [17:00] g2665 has joined the channel [17:00] JSManiacs: I didn't do anything to break, didn't do anything to fix it [17:01] JSManiacs: what was wrong? [17:01] Me1000 has joined the channel [17:01] trevorsheridan: thanks JSManiacs! [17:01] trevorsheridan: i will take a look [17:02] xulien has joined the channel [17:02] MrNko has joined the channel [17:02] jrgarcia has joined the channel [17:03] amerine has joined the channel [17:03] qbert has joined the channel [17:03] Fabryz: dat doodle [17:04] jrgarcia: Is there a force flag for npm? That is, a way to force npm to install a module even if it is unsupported for a newer (or different) version of node? [17:05] jerrysv has joined the channel [17:06] mikl has joined the channel [17:06] kmiyashiro has joined the channel [17:07] Fabryz: jrgarcia npm install --force? [17:08] pquerna: has anyone looked at building an ElementTree http://effbot.org/zone/element-index.htm like thing for node? [17:08] g2666 has joined the channel [17:09] jrgarcia: --force doesn't work for me and I can't find any mention of it anywhere. [17:09] mehlah has joined the channel [17:10] g2667 has joined the channel [17:10] dnjaramba has joined the channel [17:10] jrgarcia: Ok, found mention of --force. It isn't working for me though. I'll work on it a little more. Thanks! [17:11] jetienne__ has joined the channel [17:12] dgathright has joined the channel [17:12] g2668 has joined the channel [17:12] devongovett has joined the channel [17:12] CrypticSwarm has joined the channel [17:12] markdaws has joined the channel [17:13] markdaws has joined the channel [17:13] devongovett has left the channel [17:13] devongovett has joined the channel [17:13] jrgarcia: Ok, it seems --force "will force npm to fetch remote resources even if a local copy exists on disk." It doesn't bypass version requirements. [17:13] liar has joined the channel [17:14] jtsnow has joined the channel [17:14] bassui: if anyone is having problems with jade.compile, I've solved my problem. Yeeeeeyyyy! :) here: http://pastebin.com/vDsrCqqp [17:15] pizthewiz has joined the channel [17:15] tjholowaychuk: bassui the point of removing those were to promote caching of the returned function [17:15] tjholowaychuk: you dont need to read the file each time [17:15] tjholowaychuk: nor compile the file each time [17:15] tjholowaychuk: that's slow [17:15] bassui: :/ [17:16] cliffff has joined the channel [17:16] g2669 has joined the channel [17:17] cliffff has left the channel [17:17] JWarm has joined the channel [17:17] thomblake has joined the channel [17:17] thomblake has left the channel [17:18] Vertice has joined the channel [17:18] g2670 has joined the channel [17:18] pjacobs has joined the channel [17:19] rickharrison has joined the channel [17:19] pickels has joined the channel [17:19] newy has joined the channel [17:20] jzacsh has joined the channel [17:20] chapel: jrgarcia: you can npm install @0.x.x [17:21] arthurdebert has joined the channel [17:21] chapel: if its purely a node version issue [17:21] chapel: fork the project, edit the package json, and you can npm install github/tarball [17:22] chapel: or clone it manually and use that to install [17:22] jrgarcia: chapel: That's what I've ended up doing. Express and Connect both require node < 0.5.0 and I'm running v0.5.5. [17:23] jrgarcia: I got everything working fine through cloning and and installing from a folder after editing the package.json. [17:23] vicapow has joined the channel [17:23] tjholowaychuk: doesnt npm have a flag? [17:23] jvdev has joined the channel [17:23] ryanfitz has joined the channel [17:24] jrgarcia: It has a --force flag, but it doesn't do what I'm suggesting. [17:24] bassui: tjholowaychuk: how do I use the cache? [17:24] jrgarcia: It just forces the fetch even if a local version exists. It still makes you adhere to the version requirements. [17:24] tjholowaychuk: bassui you just store those functions somewhere [17:25] tjholowaychuk: jrgarcia oh :( [17:25] nibblebo_ has joined the channel [17:25] jrgarcia: I can live with installing from source, but it seems like there should be something to allow that. If I get some time I'll see if I can make a patch for npm. [17:26] g2671 has joined the channel [17:26] leahculver has joined the channel [17:27] g2672 has joined the channel [17:28] balaa has joined the channel [17:28] NetRoY has joined the channel [17:28] piscisaureus has joined the channel [17:29] g2673 has joined the channel [17:29] abravo has joined the channel [17:29] jamesarosen has joined the channel [17:30] ryanj has joined the channel [17:31] dmkbot: *Scope in object grabs global scope for "this"* reported by navstev0: https://github.com/joyent/node/issues/1605 [17:32] markbao has joined the channel [17:33] guidocalvano: is there some function to invert the x axis of the camera? [17:34] g2674 has joined the channel [17:35] guidocalvano: I want my user on the other side of the view plane... [17:35] ph^ has joined the channel [17:35] guidocalvano: right now the screen shows a mirror image [17:36] apanda has joined the channel [17:36] fg3 has joined the channel [17:37] zcopley has joined the channel [17:38] g2675 has joined the channel [17:39] dgathright has joined the channel [17:40] DrMcKay: oh, wow, bot works [17:40] DrMcKay: I'm a proud dad now [17:40] piscisaureus_ has joined the channel [17:41] g2676 has joined the channel [17:43] dylang has joined the channel [17:44] dgathright has joined the channel [17:44] zastaph has joined the channel [17:45] MrNko has joined the channel [17:46] g2677 has joined the channel [17:47] g2678 has joined the channel [17:48] g2679 has joined the channel [17:49] g2680 has joined the channel [17:49] cognominal_ has joined the channel [17:50] ronnieboy has joined the channel [17:50] ecin has joined the channel [17:50] sylvinus has joined the channel [17:50] g2681 has joined the channel [17:50] KemoNine has joined the channel [17:50] dnyy has joined the channel [17:50] trotter has joined the channel [17:51] g2682 has joined the channel [17:51] g2683 has joined the channel [17:51] AvianFlu has joined the channel [17:52] bassui has left the channel [17:52] g2684 has joined the channel [17:52] g2686 has joined the channel [17:52] g2685 has joined the channel [17:53] jheusala: hmm is there anyware public stats from the nko plugin? [17:53] jheusala: *where [17:53] jheusala: or does it take stats [17:54] jheusala: actually I guess it cannot record website users? :-P [17:54] jarek has left the channel [17:54] Gojohnnyboi has joined the channel [17:54] g2687 has joined the channel [17:56] apanda has joined the channel [17:56] mlb- has joined the channel [17:57] pizthewiz_ has joined the channel [17:57] brion has joined the channel [17:57] Destos has joined the channel [17:58] booo has joined the channel [17:58] g2689 has joined the channel [17:58] g2688 has joined the channel [18:00] g2690 has joined the channel [18:00] fmeyer has joined the channel [18:01] isaacs has joined the channel [18:01] madsleejensen has joined the channel [18:01] xulien has joined the channel [18:01] bradleymeck has joined the channel [18:03] paniq has joined the channel [18:03] paniq: halp! [18:03] paniq: :) [18:03] g2691 has joined the channel [18:03] hornairs has joined the channel [18:03] stepheneb has joined the channel [18:03] AvianFlu: hey paniq, don't panic! [18:04] AvianFlu: XD [18:04] paniq: i'm using scripts from a non-js :) [18:04] paniq: err sorry [18:04] paniq: i'm using scripts from a non-node.js context, and i need them to include them "standard"-style [18:04] JaKWaC has joined the channel [18:05] paniq: i can't wield require() into doing what i want [18:05] paniq: and i don't want to change the scripts, especially because one is code-generated [18:06] g2692 has joined the channel [18:06] at0mizer: use "exports" object in each script to export whatever you need from them, then require them from your node script [18:06] pizthewiz has joined the channel [18:06] at0mizer: there is no other way afaik [18:06] paniq: @#$%& [18:06] at0mizer: yep. [18:06] zackattack has joined the channel [18:07] paniq: ok - another approach: [18:07] paniq: do you know a protobuf-js library that works both server-side (node.js) and client-side (browser)? [18:07] softdrink: paniq: if you find one, let me know [18:08] paniq: ACTION does the sad clown face [18:08] softdrink: noooooooooo no sadclown [18:08] softdrink: *cotton candy* [18:08] paniq: haha [18:08] paniq: ACTION does a few purzelbaums [18:09] paniq: (sommersaults) [18:09] eazyigz has joined the channel [18:09] mikeal has joined the channel [18:10] JSManiacs has joined the channel [18:10] prettyrobots_ has joined the channel [18:11] greg606: c [18:11] apanda has joined the channel [18:11] paniq: softdrink, what are you using instead? [18:11] paveq3 has joined the channel [18:12] softdrink: for...? [18:12] patcito has joined the channel [18:12] paniq: softdrink, for the thing that needs protobuf. [18:12] dmkbot: *Support ssl session get/set in tls. Useful for client side session resume.* reported by scunningham: https://github.com/joyent/node/issues/1606 [18:12] softdrink: protobuf-for-node… which is only server-side [18:13] paniq: softdrink, what language is the client written in? [18:13] paveq3 has joined the channel [18:13] R4md4c has joined the channel [18:13] softdrink: the protobuf client on the server, or the application in the browser? [18:14] paniq: softdrink, what kind of infrastructure is this!? [18:14] softdrink: lol [18:14] paniq: softdrink, how does the browser data get to the server? [18:14] softdrink: good ol' REST… the server makes internal service requests using protobuf... [18:15] R4md4c: Hello, When I try to use npm install sqlite3 on the production server it gave me these errors http://pastebin.com/wie7RYrz. I have no idea what these errors for I've compiled and installed the newest sqlite version from sqlite.org [18:15] kkaefer: R4md4c: that's a weird error [18:16] viewsrc has joined the channel [18:16] paniq: softdrink, so your data goes to the server unsanitized, as json, i presume, and there you wrap it in protobuffers and send it around on the same machine? [18:16] kkaefer: R4md4c: can you download node-sqlite3 as is and run ./configure and make? [18:16] paniq: softdrink, i presume you do this mostly for the schema validation? [18:16] smtlaissezfaire has joined the channel [18:16] R4md4c: kkaefer, I'll try [18:16] softdrink: same machine or other machines, depending on scale [18:16] paniq: ah. [18:16] softdrink: our architecture is all service based, speaking over protubuf [18:17] softdrink: the web part is just a tiny bit of it [18:17] paniq: i see [18:17] ben_alman_ has joined the channel [18:17] kkaefer: R4md4c: npm unfortunately obstructs the output a bit so it's kind of hard to say what failed [18:17] paniq: well i could try to use protojs/pbj on the client side, and protobuf-for-node in the server, and see if that gets me far [18:18] paveq3 has joined the channel [18:18] paniq: but pbj is still based on 2.3.0, so that gets me nowhere, most likely. [18:18] JaKWaC has joined the channel [18:19] balaa has joined the channel [18:19] softdrink: the web side of this project that i'm working on is still very new, and i wasn't the one dealing with protobuf-for-node unfortunately :T [18:19] paniq: :/ [18:19] paniq: i'm using socket.io over node.js; the problem is, it has no schemas, and i need an easy way to sanitize the data [18:20] _kud has joined the channel [18:20] greg606: paniq: [18:20] greg606: does it work? [18:20] paniq: does what work? [18:20] greg606: socket.io [18:20] paniq: yes, but only with chrome stable [18:20] greg606: paniq: socket.io [18:20] paniq: and in firefox 6 [18:20] paniq: it's not working in chrome beta [18:20] greg606: paniq: i use dev [18:21] paniq: it's also not working in dev [18:21] paniq: because the websocket protocol has been changed [18:21] paniq: and they want to wait until the next revision is up [18:21] greg606: paniq: I knew!!! [18:21] g2693 has joined the channel [18:21] paniq: the new websockets apparently have better support for binary data [18:21] `3rdEden: greg606 paniq socket.io 0.8 has support for that [18:21] `3rdEden: just update it... [18:21] paniq: socket.io 0.8 isn't out yet is it? [18:22] greg606: paniq: `3rdEden thanks [18:22] ben_alman has joined the channel [18:22] `3rdEden: paniq it's even at 0.8.2 atm [18:22] paniq: `3rdEden, http://socket.io says .7 [18:22] `3rdEden: paniq 0.8.0 got rleased yesterday [18:22] `3rdEden: paniq hmz seems like that is out of date than :p [18:22] paniq: sweet jesus christ on a butterscotch popsicle [18:22] random123 has joined the channel [18:23] paniq: very good [18:23] paniq: can i update it using npm? [18:23] Qbix1 has joined the channel [18:23] MrNko has joined the channel [18:23] paniq: i can! [18:24] paniq: :) [18:24] paniq: npm update socket.io [18:24] `3rdEden: :D [18:25] `3rdEden: btw, socket.io has it own channel #socket.io [18:25] paniq: good to know. [18:26] arg0s has left the channel [18:27] kkaefer: R4md4c: any progress? [18:28] kkaefer: R4md4c: please ping me if you're stuck [18:28] monokrome: Does anyone here know how to use a named function as a callback in CoffeeScript? [18:28] R4md4c: kkaefer, That is wierd I've downloaded and built node-sqlite3 and there are no problems [18:28] monokrome: Oh, hey. There is a coffee script channel. Sorry for off topic question. [18:28] gf3: monokrome: same as normal [18:28] kkaefer: R4md4c: maybe it was a permissions problem, I saw that you installed it into /root [18:29] balaa has joined the channel [18:29] R4md4c: Yeah, But I installed other modules (like node-mysql) without any problems [18:29] sneakyness_wk has joined the channel [18:29] sneakyness_wk has joined the channel [18:29] vikstrous has joined the channel [18:30] __sorin__ has joined the channel [18:30] steffan_ has joined the channel [18:30] shapeshed has joined the channel [18:30] temp01 has joined the channel [18:32] R4md4c: kkaefer, How can I install the newly compiled module ? [18:32] kkaefer: R4md4c: you typically place it in the node_modules folder of your project [18:32] greg606: I would be greatful for some simples server/client working code [18:33] context: http://www.okcupid.com/profile/irene [18:33] navaru has joined the channel [18:34] zgryw1 has joined the channel [18:35] R4md4c: kkaefer, It works now that alot for your precious help [18:35] R4md4c: thank* [18:35] Cromulent has joined the channel [18:35] kkaefer: R4md4c: cool [18:36] theCole has joined the channel [18:36] shanebo: hey guys, I'm getting an error with connect, trying to setup vhosts (http://senchalabs.github.com/connect/middleware-vhost.html). The error is "Error: vhost server required". Any ideas? [18:36] tmpvar has joined the channel [18:37] creationix has joined the channel [18:37] explodes: goddamn, is there any package good at converting timezones? [18:37] simenbrekken: explodes: datejs [18:38] g2694 has joined the channel [18:39] goshakkk has joined the channel [18:39] creationix has left the channel [18:39] tjholowaychuk: shanebo pass a server to vhost() [18:39] Benise1 has joined the channel [18:39] tjholowaychuk: that's what it's saying :p [18:39] sharkbird has joined the channel [18:39] tjholowaychuk: vhost(subdomain, server) [18:39] tylerstalder has joined the channel [18:39] vipaca: What are ppl using to keep node processes running forever, monit, god... ? [18:39] Benise1 has left the channel [18:40] al3xnull_: https://github.com/indexzero/forever - Forever [18:40] simenbrekken: I'm using forever [18:40] simenbrekken: until it broke just now :P [18:40] shanebo: tjholowaychuk, I am: http://cl.ly/1s0S1N3d01352z163i2z [18:40] StevenSoroka has joined the channel [18:41] dmkbot: *Add '.' '+' and '-' in url protocol pattern* reported by jordansissel: https://github.com/joyent/node/issues/1603 [18:41] tjholowaychuk: shanebo dont listen() [18:41] tjholowaychuk: shanebo the parent connect app is the only one that binds and listens [18:42] shanebo: tjholowaychuk so should I listen on the wrapping connect function? [18:42] tjholowaychuk: yeah the top level one [18:42] tjholowaychuk: the others behave like callbacks basically [18:43] ryanfitz_ has joined the channel [18:44] reid has joined the channel [18:44] greg606 has left the channel [18:45] shanebo: tjholowaychuk, in my hosts file I need to add the localhost IP and port right? [18:46] aurojit has joined the channel [18:46] tjholowaychuk: shanebo: yeah just echo "127.0.0.1 foo.com" >> /etc/hosts etc [18:46] ecin has joined the channel [18:46] tmedema has joined the channel [18:46] fairwinds: tjholowaychuk: hi ya. have you tried node on windows? [18:47] tjholowaychuk: fairwinds nope [18:47] tjholowaychuk: i dont touch windows [18:47] tjholowaychuk: ever [18:47] tjholowaychuk: :D [18:47] shanebo: :D [18:47] g2695 has joined the channel [18:47] fairwinds: me, I don't want to either, heh [18:47] shanebo: Windows is a kind of leprosy. It should be avoided at all costs. [18:47] TheJH: hey isaacs, what did you say about when you'd have a look at my complex search and "I use this" for npm? After node knockout? the judging time doesn't count, right? :D [18:47] fairwinds: yeah, windows is ugly alright [18:48] arnee has joined the channel [18:49] dmkbot: *0.5.5 on Cygwin: recreate_mmaps_after_fork_failed* reported by nponeccop: https://github.com/joyent/node/issues/1602 [18:49] arnee has joined the channel [18:49] dhughes has joined the channel [18:50] shanebo: tjholowaychuk, I can't get it to work. Do I need a port number at all in my listen()? [18:50] g2696 has joined the channel [18:50] tjholowaychuk: shanebo yeah [18:50] isaacs has joined the channel [18:50] tjholowaychuk: of course :p [18:50] tjholowaychuk: connect(connect.vhost(...)).listen(80) [18:50] tjholowaychuk: or whatever [18:51] fairwinds: tjholowaychuk: Without having all flavors of xp, vista, and 7, just not sure about whether node modules that are compile on xp say can be used on others [18:51] fairwinds: s/ compiled [18:51] tjholowaychuk: fairwinds yeah who knows [18:51] tjholowaychuk: we'll have to get some good CI going [18:51] rook2pawn: i may be working on that later this week [18:52] shanebo: tjholowaychuk, well I'm confused how hosts will hear it if localhost doesn't include the port?? [18:52] g2697 has joined the channel [18:52] navaru has left the channel [18:52] tjholowaychuk: hear it? [18:52] vidi has joined the channel [18:52] robi42_ has joined the channel [18:53] tjholowaychuk: just set up those vhost() calls, add the domains to /etc/hosts [18:53] tjholowaychuk: and then visit one of them [18:53] shanebo: that's what I'm doing [18:53] shanebo: it doesn't resolve [18:54] g2698 has joined the channel [18:54] isaacs: TheJH: i'll take a look at that stuff in the next few weeks [18:54] TheJH: isaacs, :) [18:54] jheusala: I will be npm updating socket.io on our nko-oulu service soon. Maybe it will then work better. [18:54] jheusala: just got reply that it's ok [18:55] tylerstalder has joined the channel [18:55] indexzero has joined the channel [18:55] g2699 has joined the channel [18:56] qbert_ has joined the channel [18:56] slifty_corsair has joined the channel [18:57] fcambus has joined the channel [18:57] shanebo: tjholowaychuk here's my server code (http://cl.ly/2v3B2O3R3i3f380y110e), in hosts I have '127.0.0.1 foo.local', I've reloaded hosts, then I visit foo.local and it won't resolve [18:57] TheJH: chess@home is hanging :( - are the authors here? [18:57] tjholowaychuk: shanebo try foo.local:7777 [18:58] Me1000 has joined the channel [18:58] TheJH: nevermind [18:58] tjholowaychuk: shanebo for convenience port forward 80 -> 3000 or something [18:59] jj0hns0n has joined the channel [18:59] g2700 has joined the channel [18:59] g2701 has joined the channel [18:59] Murvin has joined the channel [18:59] explodes: simenbrekken: does datejs allow you to convert a date in say Pacific Time to Atlantic Time? [18:59] simenbrekken: explodes: sure does [18:59] shanebo: tjholowaychuk, add that in hosts, or url? [18:59] balaa has joined the channel [18:59] Murvin: how to set the session cookie expiry time? [18:59] adrianmg has joined the channel [18:59] tjholowaychuk: shanebo what os? [18:59] tjholowaychuk: osx? [18:59] shanebo: the only OS [18:59] shanebo: yes :D [18:59] shanebo: Lion [18:59] tjholowaychuk: ipfw [18:59] liberum has joined the channel [19:00] g2702 has joined the channel [19:00] tjholowaychuk: shanebo something like $ sudo ipfw add fwd 127.0.0.1,3000 tcp from any to me dst-port 80 in [19:00] MrNko has joined the channel [19:01] shanebo: before I make it dynamic I'm asking if I need to add the port in the hosts file or in the url? [19:02] felixhummel has joined the channel [19:03] g2703 has joined the channel [19:03] tjholowaychuk: shanebo no hostnames in /etc/hosts [19:03] CoverSlide has joined the channel [19:03] yhahn has left the channel [19:04] shanebo: tjholowaychuk so remove '127.0.0.1 foo.local' from hosts now? :) [19:04] CoverSlide has left the channel [19:04] zackattack has joined the channel [19:04] dmkbot: *url.parse should handle + in protocol* reported by isaacs: https://github.com/joyent/node/issues/1466 [19:04] tjholowaychuk: sorry "no, hostnames in /etc/hosts" haha aka no portnos [19:05] theCode has joined the channel [19:06] kflorence has joined the channel [19:06] bradleymeck has joined the channel [19:07] Drakonite has joined the channel [19:07] g2704 has joined the channel [19:08] vicapow: any guess why npm init wont generate a package.json file? [19:08] g2705 has joined the channel [19:09] dmkbot: *Socket.remoteAddress is undefined on windows.* reported by Floby: https://github.com/joyent/node/issues/1345 [19:09] g2706 has joined the channel [19:11] m00p has joined the channel [19:11] lightcap has joined the channel [19:12] eldios has joined the channel [19:12] stagas has joined the channel [19:14] Aikar: vicapow: file permissions? [19:14] vicapow: Aikar: I don't get an error [19:16] abravo has left the channel [19:16] hekkwan has joined the channel [19:17] MrNko has joined the channel [19:17] sharkbird has joined the channel [19:17] Ricki` has joined the channel [19:17] dmkbot: *Typo.* reported by abi: https://github.com/joyent/node/issues/1600 [19:17] CoverSli1e has joined the channel [19:19] eignerchris has joined the channel [19:19] g2707 has joined the channel [19:19] javajunky has joined the channel [19:19] robotmay has joined the channel [19:20] shanebo: tjholowaychuk, still not working. Argh. I'm listening on port 3004, I've got '127.0.0.1 foo.local' in hosts, and am visiting http://foo.local:3004/ [19:20] perezd has joined the channel [19:21] sharkbird has joined the channel [19:21] stepheneb has joined the channel [19:22] mraleph has joined the channel [19:22] theCode has joined the channel [19:22] jesster71 has joined the channel [19:22] CIA-69: node: 03Mikeal Rogers 07master * r7c87e09 10/ lib/http2.js : [19:22] CIA-69: node: Sockets should never be attached to a ClientRequest before nextTick(). [19:22] CIA-69: node: This way the API for interacting directly with the socket object is [19:22] CIA-69: node: consistent before and after the Agent pool is exhausted. [19:22] CIA-69: node: Fixes #1601. - http://git.io/OPYDmQ [19:23] heavysixer has joined the channel [19:23] geetaris_ has joined the channel [19:24] R4md4c: I am trying to daemonize my node server by using forever start server.js but there is an error http://pastebin.com/fWVG2W7J I've been researching for that problem but I didn't find anything useful [19:24] liberum has joined the channel [19:24] geetaris_ has left the channel [19:25] g2708 has joined the channel [19:26] CoverSlide: R4md4c: tried just `forever server/js` [19:26] CoverSlide: ? [19:27] R4md4c: It works but it is not daemonized it can be interrupted by Ctrl+C [19:27] CIA-69: node: 03Abimanyu Raja 07master * rb5144b2 10/ src/node_stdio.cc : stdio: fix typo in doc comment - http://git.io/lMZIVw [19:27] pt_tr has joined the channel [19:28] g2709 has joined the channel [19:28] g2710 has joined the channel [19:29] balaa has joined the channel [19:31] irahgel has joined the channel [19:31] R4md4c: CoverSlide, So have any idea ? [19:32] alek_br has joined the channel [19:32] trotter has joined the channel [19:33] brolin has joined the channel [19:34] liveink has joined the channel [19:34] g2711 has joined the channel [19:35] javajunky: yo, gerad, you about ? [19:36] g2712 has joined the channel [19:36] gerad: ? [19:37] g2713 has joined the channel [19:38] sharkbird has joined the channel [19:39] Fabryz: how to install a certain version of a npm module? [19:39] kkaefer: npm install foo@0.0.0 [19:39] g2714 has joined the channel [19:39] Fabryz: thx [19:40] simenbrekken has joined the channel [19:40] g2715 has joined the channel [19:42] broofa has joined the channel [19:43] mcepl_ has joined the channel [19:45] liveink_ has joined the channel [19:45] Qbix1 has joined the channel [19:46] Raynos has joined the channel [19:47] liveink has joined the channel [19:47] Raynos: Can I install a npm module from a github link? [19:47] Remoun has joined the channel [19:47] R4md4c: When I try to use forever to daemonize my server it says cannot start forever http://pastebin.com/fWVG2W7J [19:50] Bonuspunk: R4md4c remove the "start" [19:50] g2716 has joined the channel [19:53] Nuck has joined the channel [19:53] davidwalsh has joined the channel [19:53] Nuck: Damn, my old school got Umbridge'd :/ got all the teachers under her thumb, held down by their paychecks... [19:54] Nuck: It's so sad to see it too. Some of the teachers were just amazing at what they did :'( [19:54] R4md4c: Bonuspunk, When I removed it worked but it is not daemonized I can interrupt it using Ctrl+C as if I am running a node server.js command [19:55] mykul has joined the channel [19:55] jga023 has joined the channel [19:56] MrNko has joined the channel [19:57] AvianFlu: R4md4c, what does 'which forever' tell you [19:57] indexzero has joined the channel [19:58] R4md4c: AvianFlu, http://pastebin.com/fWVG2W7J [19:59] R4md4c: AvianFlu, Oh sorry I didn't notice the marks here it is /usr/local/bin/forever [20:00] balaa has joined the channel [20:00] BrianTheCoder has joined the channel [20:00] dmkbot: *https server emits uncatchable errors* reported by mranney: https://github.com/joyent/node/issues/1577 [20:01] mikeal has joined the channel [20:02] AvianFlu: R4md4c, try [sudo] npm update forever -g and see if it updates for you [20:02] g2717 has joined the channel [20:03] R4md4c: AvianFlu, It is not updaing I guess [1]+ Exit 1 node server.js [20:04] blup has joined the channel [20:05] NuckingFuts has joined the channel [20:07] lot49 has joined the channel [20:08] g2718 has joined the channel [20:08] Me1000 has joined the channel [20:08] AvianFlu: wait, that's what you get? can you show me the output? [20:10] g2719 has joined the channel [20:10] jesster7 has joined the channel [20:10] g2719: hmm [20:11] g2719: looks like updating socket.io fixed our app [20:11] marlun: I'm using express.js and backbone.js and I would like to use jst (javascript templates) on the client. Any recommended ways? Is there a connect middleware or something? [20:14] robertfw has joined the channel [20:15] erickt has joined the channel [20:15] AvianFlu: hey R4md4c, you ran into a bug that got fixed today [20:16] AvianFlu: npm uninstall forever -g, npm uninstall nconf -g, npm cache clean, npm install forever -g again [20:16] AvianFlu: that looks like what the fix was [20:16] tjholowaychuk has joined the channel [20:16] AvianFlu: you can look at http://github.com/indexzero/forever/issues/108 for the rest of the details, R4md4c [20:16] R4md4c: AvianFlu, lol how lucky I am [20:16] AvianFlu: I'm glad I looked! [20:17] AvianFlu: I was like WAIT A SECOND I recognize this...! [20:17] markbao has joined the channel [20:18] g2720 has joined the channel [20:18] g2721 has joined the channel [20:18] g2720: Uh oh? [20:19] sharkbird has joined the channel [20:19] caolanm has joined the channel [20:19] g2722 has joined the channel [20:19] g2723 has joined the channel [20:20] g2724 has joined the channel [20:20] g2725 has joined the channel [20:20] EyePulp has joined the channel [20:20] zemanel has joined the channel [20:21] bradleymeck has joined the channel [20:21] g2726 has joined the channel [20:21] neorab has joined the channel [20:22] jheusala: if http://oulu.nko2.nodeknockout.com/ is not working (red balloon) it can be fixed by 1) preferences -> change api key (anything wrong) 2) refresh 3) now wait and it should work. [20:22] dmkbot: *documented behavior for arrays and unassigned parameters* reported by coolaj86: https://github.com/joyent/node/issues/1607 [20:22] g2725: testing [20:23] __tosh has joined the channel [20:24] versicolor has joined the channel [20:24] eddanger has joined the channel [20:25] g2727 has joined the channel [20:25] g2728 has joined the channel [20:25] g2727: test123 [20:25] nibblebot has joined the channel [20:26] jheusala: I gues I just wound a new bug in our web irc... it doesn't show these lines :-/ [20:26] jheusala: *guess [20:26] jheusala: don't know why though [20:26] jheusala: cannot fix either :-) [20:27] g2729 has joined the channel [20:27] ttpva has joined the channel [20:27] mc_greeny has joined the channel [20:27] newy has joined the channel [20:27] mrdoodles has joined the channel [20:28] mrdoodles: hey everyone, my apps i've built have gotten big enough (too much) to break apart everything into libs or node modules. I'm getting an error on fs.readdir( now [20:28] g2730 has joined the channel [20:29] mrdoodles: i have my node module, inside node_modules/my_module/lib/myModule.js [20:29] g2730: hi :) [20:29] jheusala: Hmm refreshing more fixes that nko-oulu thing [20:29] paveq: hi [20:29] g2731 has joined the channel [20:29] mrdoodles: it needs to read the folder called "controllers" in my m win app dir [20:29] paveq: test [20:29] g2725: yeah now this is working [20:29] Aphelion has joined the channel [20:29] Aphelion has joined the channel [20:29] ryah: 755 nicks? [20:29] mrdoodles: this worked before .. fs.readdir(__dirname + "/../controllers" [20:29] paveq: yep, needs refresh after new backend [20:30] g2732 has joined the channel [20:30] g2732: suppp [20:30] balaa has joined the channel [20:30] stride: ryah: the knockout irc entry adds a few [20:30] g2733 has joined the channel [20:31] MrNko has joined the channel [20:31] g2734 has joined the channel [20:31] paveq: not that many actually [20:31] paveq: seems to be around 20 nicks [20:32] paveq: hmm, we don't have any votes yet :( [20:32] mrdoodles: is there any sort of "nicer/prettier" way to write this? fs.readdir(__dirname + "/../../../controllers" [20:32] stride: heh, yeah, terminal was too small :) [20:32] massivebiz has joined the channel [20:33] g2735 has joined the channel [20:33] g2736 has joined the channel [20:34] g2735: asdfasdf' [20:34] g2737 has joined the channel [20:34] g2735: wow [20:34] g2738 has joined the channel [20:35] g2738: ? [20:35] paveq: :P [20:35] g2739 has joined the channel [20:35] g2740 has joined the channel [20:35] g2741 has joined the channel [20:35] g2735: dun dun dunn [20:36] versicolor has joined the channel [20:36] indexzero has joined the channel [20:37] g2742 has joined the channel [20:37] brolin_ has joined the channel [20:37] g2743 has joined the channel [20:37] g2743: dedrp [20:37] g2735: herpderp [20:38] g2735: wut [20:38] ckpcw has joined the channel [20:38] sharkbird has joined the channel [20:38] g2735: asdf [20:38] g2740: derp [20:38] g2740: what is this shit [20:39] eazyigz_ has joined the channel [20:39] jheusala: http://www.jhh.me/blog/2011/08/29/post-nko-greetings/ [20:39] eazyigz_: Hello, I am using Mongoose. Can someone help me understand this error: Object # has no method 'toLowerCase' [20:40] toabi has joined the channel [20:40] g2740: this shit seems boring! im out of here! [20:40] g2735: http://img17.imageshack.us/img17/8634/mickeymeths400.png [20:40] bnoordhuis: ACTION picks up the ban hammer [20:41] airhorns has joined the channel [20:41] AvianFlu: yeah I was just gonna tell you to do that ryah XD [20:41] Anton_ has joined the channel [20:41] jheusala: ryah: just tell us, we can remove them :-) [20:42] TheJH: whoah, fat rangeban hammer :D [20:42] ryah: jheusala: remove please [20:42] jheusala: actually I'm not sure if that's a code change... [20:42] jheusala: I'll check [20:42] tjholowaychuk has joined the channel [20:42] Niels77 has joined the channel [20:42] TheJH: seriously, who are those guys? did someone tell a schoolclass how to use IRC? :D [20:43] Nuck: TheJH: One of the NKO things IIRC [20:43] jheusala: TheJH: it is our web shell Node Knockout project [20:43] TheJH: ah [20:44] brolin has joined the channel [20:44] jheusala: hmh, it seems to be in the code... [20:44] jheusala: it should be a configuration thing. [20:44] javajunky: hmm any node-knockout judges in ? [20:45] ryah: visnup--^ [20:45] javajunky: thx ryah [20:47] jerrysv: hm? [20:47] jesusabdullah: How long is contestant voting open for? Anybody know? [20:47] jerrysv: javajunky: what's up? [20:47] jesusabdullah: I haven't had a chance to dig in yet [20:47] jerrysv: jesusabdullah: no idea, but we have until i think the 4th to vote [20:47] chrislorenz has joined the channel [20:47] jerrysv: i've only managed to go through 2 so far [20:47] javajunky: jerrysv: just wondering if there was a consistent position on judging apps that require 'writing' perms on say facebook or twitter ? [20:48] javajunky: was about to do my voting on one but it wanted moon+stick set of permissions. [20:48] jerrysv: javajunky: not that i've heard, so i believe it's up the individual judge [20:48] hoxoo has joined the channel [20:48] battlecollie has joined the channel [20:48] javajunky: jerrysv: I'm upto 3 :), it takes surprisingly long! [20:48] battlecollie: Hey, all. [20:48] battlecollie: Is there no requireAsync() anymore? [20:49] massivebiz has joined the channel [20:49] markwubben has joined the channel [20:49] jerrysv: javajunky: and having to weave it in with my day job makes it harder :) [20:49] theCode has joined the channel [20:49] lunks has joined the channel [20:50] javajunky: jerrysv: yes I can imagine.. not sure my employer would be too supportive on that [20:50] jerrysv: mine is, but i have a lot to do with work-work [20:51] mrdoodles: eazyigz: hey [20:51] mrdoodles: i had an issue like that yesterday. [20:51] mrdoodles: a schema itself doesn't have a to lowercase method ... [20:51] robi42_ has joined the channel [20:52] al3xnull_ has joined the channel [20:53] AvianFlu_ has joined the channel [20:54] jesusabdullah: jerrysv: Are you a judge or something? [20:54] JaKWaC has joined the channel [20:54] nibblebo_ has joined the channel [20:54] jerrysv: jesusabdullah: yeah - couldn't participate this year, so judging instead [20:54] jheusala: ryah: could you change that ban so that it's not *.kapsi.fi but nko-oulu.kapsi.fi since Kapsi is very popular shell service at Finland and there was ~10 people using it before our app. [20:54] jesusabdullah: jerrysv: y u no participate? [20:55] jerrysv: jesusabdullah: big deadline at work [20:55] jesusabdullah: jheusala: Your nko project got banned? [20:55] jesusabdullah: jerrysv: Ugh, I hear you. Weak. [20:55] jerrysv: always next year :) [20:56] Nuck: I have a company that needs founding [20:56] Nuck: Otherwise, I would've partooken. [20:56] jheusala: jesusabdullah: from this channel yes but it still works if you use it from your own shell server. Sadly from Kapsi's shell it doesn't work because of that * ban :-) [20:56] brolin has joined the channel [20:56] jheusala: ryah: thanks [20:56] Nuck: Speaking of which, Y COMBINATOR IS OPEN! [20:56] battlecollie: open? Whut? [20:56] Niels77 has joined the channel [20:56] g2752 has joined the channel [20:56] smtlaissezfaire has joined the channel [20:57] Kami_ has joined the channel [20:57] battlecollie: Also, anybody? requireAsync()? Gone, or renamed? [20:57] apanda has joined the channel [20:57] Nuck: The applications for the next round just opened up. [20:57] g2752: Node Rodeo [20:57] aaronmcadam has joined the channel [20:57] bnoordhuis: battlecollie: gone [20:57] jerrysv: jesusabdullah: though, while you guys did node knockout, i worked on one of my stealth startups, and managed to throw a bbq, so it's all good [20:57] battlecollie: So there's no way to load code without blocking now? /= [20:57] jheusala: ryah: we can change it on IRCNet where I am bofh at #node.js if that's not good here :-) [20:58] Nuck: jerrysv: I got to work on a new parser :D [20:58] jerrysv: nuck: see? we all win :) [20:58] Nuck: Hasn't requireAsync been gone for DECADES? [20:58] bnoordhuis: yes [20:58] jheusala: changing the network isn't configuration change [20:58] jheusala: ..I mean it can be done in the hosts file .-P [20:58] Nuck: jerrysv: I'm doing my own multipart parser, because Formidable can suck my formidably-sized cock. :P [20:58] MrNko has joined the channel [20:58] jerrysv: hahahaha [20:59] maushu has joined the channel [20:59] ryah: jheusala: well - whatever - i guess you can have a million bots [20:59] ryah: what do i care [21:00] Nuck: ryah: They're not bots, they're clients :P [21:00] jesusabdullah: jerrysv: Nice! I actually missed the big first code push on our project because I was sick, but I totally helped with graphics ^__^ [21:00] jheusala: ryah: they are not bots. Just website users. [21:00] Nuck: jesusabdullah: What were you guys? [21:00] jesusabdullah: ryah: speaking of bots, did you ban that spammer on the mailing list? [21:00] jesusabdullah: Nuck: http://heatwave.nodejitsu.com [21:00] zeropx has joined the channel [21:00] balaa has joined the channel [21:00] Nuck: Ah with SubStack. [21:01] jesusabdullah: Indeed [21:01] jesusabdullah: You see that ragefaced sun? [21:01] jesusabdullah: I drew that [21:01] Nuck: jesusabdullah: I can tell the graphics that SubStack did :P [21:01] tim_smart: jesusabdullah: ryah isn't the only mailing list moderator you know ;) [21:01] jesusabdullah: Though, James added the bitchin' cell shading [21:01] Nuck: lol [21:01] jesusabdullah: tim_smart: idk who the list mods are! I just troll it [21:01] Nuck: jesusabdullah: I lurk on the list [21:01] indexzero has joined the channel [21:02] jesusabdullah: substizzy is really good at inkscape. It's actually kinda mindblowing. [21:02] CIA-69: node: 03Ryan Dahl 07master * rff7f7ae 10/ src/node.cc : Fixes #1503. make libuv backend default on unix - http://git.io/sANkxQ [21:02] zeropx_ has joined the channel [21:02] Nuck: Inkscape is fucking awesome [21:02] Nuck: You ain't seen the shit I can do in there [21:02] Nuck: I've made some badass logos in there [21:03] jesusabdullah: Pics or it didn't happen ;) [21:03] jesusabdullah: But seriously, show off your work! [21:03] jesusabdullah: I used to be pretty boss at gimp [21:03] jesusabdullah: but not as much now [21:03] jesusabdullah: and I'm pretty pants at inkscape [21:03] g2753 has joined the channel [21:03] Nuck: jesusabdullah: Sadly, I lost the SVG for my best logo ever :( But it's on my deviantart! [21:03] Wizek has joined the channel [21:03] Nuck: nuckchorris0.deviantart.com [21:04] chjj: nuck: heres some more multipart tests for your parser: https://github.com/chjj/parted/tree/master/test [21:04] jesusabdullah: Somewhere I have some pretty good animated gifs [21:04] objectiveous has joined the channel [21:04] chjj: nuck: i saved some more for my own, but youre welcome to use them [21:04] jesusabdullah: One of them makes fun of netzero-style ads, has a computer tower surfing [21:04] chjj: nuck: good luck with it btw [21:04] jesusabdullah: another one asks people to donate money for computer parts to a friend [21:04] Nuck: chjj: Thanks, I'm working on the header parsing now [21:04] jesusabdullah: it blinks, "DONATE NOW!!!" [21:05] Nuck: jesusabdullah: You have no idea the work I put into my GIFs [21:05] g2753: Testing [21:05] Nuck: I seriously go through the trouble of making it super-smooth [21:05] jesusabdullah: Nuck: Nice. [21:05] Nuck: I'll do each frame as a PNG, then use ImageMagick in the command line to combine them all [21:05] Nuck: So I get local color tables [21:05] jesusabdullah: I think my interwebs one was just flipping between two frames [21:05] Nuck: I once hand-optimized a GIF using Photoshop [21:05] visnup: javajunky: yo [21:06] _fat has joined the channel [21:06] jesusabdullah: but I spent a LOT of time drawing the illustration in photoshop, with some crazy gradient coloring and shit [21:06] Nuck: I did the transparency-optimization for something, and it turned out amazing [21:06] jesusabdullah: from back when I was good at it [21:06] Nuck: I had to get it down to fit in deviantART's icon size limit [21:06] g2754 has joined the channel [21:06] jesusabdullah: I see [21:06] _fat: ryah: do you guys still have the thursday node question meetup type thing? [21:07] ryah: _fat: yes but not this thursday [21:07] _fat: oh boo [21:07] _fat: is there a calendar? [21:07] jesusabdullah: ahaha, that hedgehog one is great Nuck ! [21:07] ryah: no - it will resume weekly next week [21:07] blessYAHU_ has joined the channel [21:07] _fat: oh cool [21:07] blessYAHU_: can anyone pull down node-express-boilerplate? It's telling me that update-server-info needs to run. [21:07] irahgel1 has joined the channel [21:07] g2755 has joined the channel [21:07] Nuck: jesusabdullah: lol that was for my dA alt, horny4hedgehogs69 [21:07] Nuck: I use it to troll furries [21:07] _fat: what time? [21:08] chjj: am i the only one who ever used paint shop pro way back in the day? [21:08] markdaws: Hi - I have some .less files which I want to template, basically inject a baseUrl onto some image references, like I can using ejs, is there some way using the connect framework or expressjs to pass in variables when the .less files are compiled into .css files? [21:08] jesusabdullah: I used to post art to http://www.flickr.com/photos/jesusabdullah but nowadays I don't draw much and when I do I usually just imgur it or use it on a project [21:08] chjj: like, in the 90s [21:08] Nuck: _fat: ADVENTURE TIME! [21:08] g2756 has joined the channel [21:08] g2756: asdasd [21:08] jesusabdullah: chjj: Naw, I knew lotsa webcomic guys that rocked PSP [21:08] g2756: adsasdfasdfsdfas [21:08] Nuck: I am a hardcore Photoshop user [21:08] Nuck: g2706: Stopit, bitch. [21:08] jesusabdullah: When I was Nuck's age I had a webcomic [21:08] Nuck: >:C [21:08] jheusala: hmm we should have done some way to ban our users [21:08] chjj: jesusabdullah: awesome, i grew up using PSP, its the first thing i ever used, i think in maybe 1997 or something [21:08] g2757 has joined the channel [21:09] paveq: this is just hilarious :p [21:09] jesusabdullah: I learned on mspaint <_<; but then I got a bootleg copy of PS6 [21:09] jerrysv: jesusabdullah: wait, but you're so young [21:09] Nuck: jheusala: Implement it, so we don't go insane! [21:09] jheusala: paveq: no it's not [21:09] jheusala: Nuck: cannot change the code [21:09] paveq: :( [21:09] jheusala: niclone: it's a Node Knockout entry [21:09] jheusala: ups [21:09] jheusala: nuck I meant [21:09] chjj: im still slightly uncomfortable using gimp or photoshop because ive always been used to the psp interface [21:09] Nuck: jheusala: They might make an exception for you so you don't drive them fucking crazy :P [21:09] Nuck: jesusabdullah: My brother is a webcomic artist [21:09] jheusala: :-P [21:10] chjj: nuck: does he use PSP? [21:10] Nuck: Nah, Photoshop [21:10] Nuck: fivepoints.thecomicseries.com [21:10] chjj: fail! [21:10] Nuck: It's an asston of what the fuck [21:11] Cromulent has joined the channel [21:11] jesusabdullah: Nuck: I'll show you mine if you promise not to make fun of it. It's pretty bad. [21:11] chjj: ! [21:11] chjj: ACTION is scared [21:12] sylvinus has joined the channel [21:12] Nuck: jesusabdullah: It can't be worse that SubStack's :P [21:12] jesusabdullah: http://wholesomecoolness.comicgenesis.com/ This is from back when keenspace was where it was at for free hosting [21:12] jesusabdullah: pffsht, yeah it can [21:12] Nuck: yeeeeaaaah, it can [21:12] jesusabdullah: Oh yeah, I had a full beard at 18 [21:12] jesusabdullah: haha [21:13] Nuck: I loled at "I fucking QUIT!" [21:13] bsstoner has joined the channel [21:13] jesusabdullah: My dad has like a 2 foot beard so I didn't have any role models to teach me to shave. IT WAS AWKWARD ALRITE [21:13] Nuck: My dad is a crossdresser. [21:13] jesusabdullah: No shit? [21:13] Raynos: This page : http://reid.github.com/pact/ [21:13] Nuck: Doesn't mean I didn't have a role model for wearing pants. [21:13] g2758 has joined the channel [21:13] chjj: nuck: why am i not surprised [21:13] Raynos: Is annoying me. What generates that documentation [21:14] chjj: ;p [21:14] jesusabdullah: I bet your dad wears mom jeans [21:14] Nuck: He apparently once tried to buy bootie-shorts [21:14] jesusabdullah: One time my mom asked my sister about a pair of jeans and she wrinkled her nose and said "seriously borderline" [21:14] jesusabdullah: lol [21:14] Nuck: He had my sister review his shopping cart on an online site [21:14] jesusabdullah: haha [21:14] jesusabdullah: My dad would probably think your dad's a sissy [21:14] Nuck: This is a 50+-year-old FAT MAN [21:14] jesusabdullah: Dad's a hard core biker dude [21:14] chjj: my dad could beat up your dad [21:14] jesusabdullah: That's great XD [21:15] Nuck: And he fell for a canadian trannie. [21:15] jesusabdullah: Possibly! My dad didn't take care of himself and now his back's all fused together n' shit [21:15] Nuck: Named Danny [21:15] jesusabdullah: It's bad [21:15] Nuck: Yes, Danny the Tranny. [21:15] jesusabdullah: You gotta be trollin' me [21:15] Nuck: Nope [21:15] Nuck: That's how we reacted when he told us that [21:15] Nuck: The moment we hung up, we were busting up laughing so hard [21:16] kenperkins: what do you guys use for CDNs? [21:17] jesusabdullah: Nuck: Wow [21:17] kriszyp has joined the channel [21:17] `3rdEden: kenperkins akamai [21:17] Aphelion has joined the channel [21:17] Nuck: jesusabdullah: The rest of my family is pretty normal [21:17] Nuck: But my dad, he's a total nutjob [21:17] jesusabdullah: Huh! [21:18] rootslab has joined the channel [21:18] jesusabdullah: I should build a node webcomics engine sometime [21:18] jesusabdullah: like, just for posting [21:18] junkee[] has joined the channel [21:19] g2759 has joined the channel [21:19] jesusabdullah: I'll give it a REST api so I can publish with curls [21:19] Nuck: jesusabdullah: Have fun dealing with uploads in Node :P [21:19] jesusabdullah: ...naw [21:19] jesusabdullah: MAYBE I WILL [21:19] jesusabdullah: Well [21:19] Nuck: I learned how hard that is first-hand [21:19] Nuck: Hopefully my MultiPartser + Express middleware can help tho [21:19] jesusabdullah: you don't actually need to do all that though---you can just keep all the files in a folder and then bundle/deploy that [21:19] jesusabdullah: Yeah, that'd be sweet [21:20] kenperkins: akamai's site is confusing [21:20] blessYAHU_: can anyone pull down node-express-boilerplate? It's telling me that update-server-info needs to run. [21:20] jesusabdullah: rook2pawn, I think, did a lot of dealing with the web form stuff during our nko entry for uploads [21:20] Nuck: if you're too poor for Akamai, there's always Cooral CDN [21:20] jesusabdullah: James got curl uploads working pretty well [21:20] jesusabdullah: s/James/ SubStack / [21:21] Nuck: Well, for basic things, sure [21:21] jesusabdullah: I forget that not everyone knows SubStizzy on a first name basis [21:21] Nuck: I know who James is [21:21] jesusabdullah: Yeah, we never got multi-file with curl working [21:21] wookiehangover has joined the channel [21:21] jesusabdullah: Well you do NOW cause I TOLD you [21:21] jesusabdullah: >:P [21:21] Nuck: James Halliday [21:21] Nuck: Not just the multi-file, just multipart parsing, especially where you need to write to a file [21:21] Nuck: That's a bitch [21:22] euforic has joined the channel [21:22] tjholowaychuk: Nuck i have a generic multipart parser, it's not OS (yet?) though [21:22] tjholowaychuk: I needed something generic too [21:23] Nuck: tjholowaychuk: Orly? Does it handle streaming and whatnot? [21:23] tjholowaychuk: of course [21:23] Nuck: I'm in the process of making a streaming multipart parser with no buffering at all [21:23] jesusabdullah: Maybe just having a node process pull from a db would be the wtg here [21:23] jesusabdullah: and then interact with the couch (or mongo or whatever) if you want to add/subtract comix [21:24] Nuck: I got splitting down, though cases where the divider is in two chunks, it probably breaks [21:24] perezd has joined the channel [21:24] Nuck: In fact, I'm 99% sure it will break [21:24] jesusabdullah: though, that sounds like more trouble than it's worth mebbs [21:24] tjholowaychuk: Nuck haha yeah you cant really rely on any consistent chunks [21:25] Nuck: tjholowaychuk: Yeah, I've got a rough idea of what I gotta do, but it's a tad complex to handle [21:25] jesusabdullah: haha, I just found the best drawing in my flickr [21:25] jesusabdullah: http://www.flickr.com/photos/jesusabdullah/3099484063/in/photostream [21:25] jesusabdullah: This was one of my profs in college [21:25] jesusabdullah: I drew so many doodles of him [21:25] Nuck: The concept is to try every place from data.length - divider.length to the end, seeing if it matches up [21:25] Nuck: If it does, it saves the rest of the divider to a variable and tests the next chunk [21:26] monokrome: Does anyone here know how I could change the URL of nowjs? [21:26] eminion has joined the channel [21:26] tjholowaychuk: Nuck http://en.wikipedia.org/wiki/Boyer%E2%80%93Moore_string_search_algorithm [21:26] Nuck: It handles multiple parts in one chunk beautifully, and I aimed to get a nice API that was very much inspired by the http modules in Node. [21:26] vipaca: I'm need a message queue!!! Any suggestions? [21:26] Nuck: tjholowaychuk: Wait, did you implement that in Node!? [21:27] tjholowaychuk: yeah the thing im talking about is node [21:27] Nuck: ACTION is using bnoordhuis' buffertools for that [21:27] Nuck: tjholowaychuk: I mean in JS [21:27] Nuck: Not in C [21:27] slifty has joined the channel [21:27] tjholowaychuk: yeah js [21:27] Nuck: OMGOMGOMGOMG [21:27] tjholowaychuk: why would it be c? [21:27] Nuck: tjholowaychuk: Well, buffertools provides an indexOf on a buffer [21:27] Nuck: but it's a C module [21:28] jesusabdullah: vipaca: A message queue? What do you mean? [21:28] Nuck: I've been using buffertools for that reason [21:28] iammerrick has joined the channel [21:28] kenperkins: is there a way to preprocess less files with nodejs (before actually compiling them) [21:28] vipaca: I have a node application and I need a message system to push to [21:28] eminion: Hey, anyone know if there's an online developer community where people can "hire" help using some kind of barter system (ie: I'll design your logos, if you code my xyz module)? [21:29] vipaca: can't be amqp based [21:29] vipaca: I'm just looking for can''d solution [21:30] jesusabdullah: vipaca: I can think of two projects that implemente queues in node, not sure if they're what you want, but [21:30] jesusabdullah: vipaca: https://github.com/LearnBoost/kue and https://github.com/rook2pawn/node-queuelib [21:30] jesusabdullah: Somethings like these maybe? [21:30] hybsch has left the channel [21:31] vipaca: Kue looks promising [21:31] eee_c has joined the channel [21:31] eminion: I've used kue, very nice to use [21:31] jesusabdullah: It's probably battle-hardened too, since LB is using it [21:31] balaa has joined the channel [21:31] fly-away has joined the channel [21:31] dgathright_ has joined the channel [21:32] vipaca: jesusabdullah, thx and thx [21:32] jesusabdullah: Yeah, no sweat [21:32] jesusabdullah: Reading about ALL the projects is my major skill! [21:33] MrNko has joined the channel [21:34] sebastianedwards has joined the channel [21:34] hellp has joined the channel [21:34] Croms: This is pretty sexy: http://coreh.github.com/nide/ [21:34] mikeal has joined the channel [21:35] paniq has joined the channel [21:35] javajunky: Croms: Just judging that right at this moment, it is rather isn't it! [21:35] eminion: Heard of any projects that allow you to spread work across multiple servers? (job queue with 50 workers on different server instances, controlled from central server) [21:35] abjorn has joined the channel [21:36] trevorsheridan has joined the channel [21:36] Croms: javajunky: Best thing I've seen so far coming from NKO. [21:36] apanda has joined the channel [21:37] adrianmg has joined the channel [21:37] Creap has joined the channel [21:37] Creap: Hi. What's the recommended/most popular websocket module? [21:37] `3rdEden: Socket.io [21:37] `3rdEden: http://socket.io [21:37] CIA-69: libuv: 03Ryan Dahl 07master * r3be275b 10/ (9 files in 5 dirs): [21:37] CIA-69: libuv: Begin implementation of UNIX uv_fs_ functions [21:37] CIA-69: libuv: Adding this incomplete work now to ease rebase troubles later as it moves [21:37] CIA-69: libuv: the functions to src/unix/fs.c and introduces src/unix/internal.h. - http://git.io/pP9ENQ [21:38] javajunky: Croms: There are some other great entries too :) [21:38] Creap: thanks [21:39] Creap: looks awesome, didn't even know there was something with both server and client side magic for non-supporting browsers.. [21:39] Renegade001 has joined the channel [21:39] adrianmg has left the channel [21:40] Cromulent has joined the channel [21:41] mikeal has joined the channel [21:41] heavysixer has joined the channel [21:42] `3rdEden: Creap yeh, it takes away all the hassle you would have had if had to build your own realtime codes [21:45] arturadib has joined the channel [21:46] tmedema has joined the channel [21:46] brianc: omfg this nide thing is nice [21:47] tmedema: tjholowaychuk: hey, I was wondering if you could tell me whether dox is a good combination with modularized applications. My app has about 60 modules now, all with commented documentation, would like something like dox to render it. [21:48] soapyillusions has joined the channel [21:48] jheusala: Creap: yeah, and socket.io works also between node processes [21:48] tjholowaychuk: tmedema im mid-rewrite with it [21:48] dmkbot: *Add Buffer compare method* reported by mscdex: https://github.com/joyent/node/issues/1608 [21:48] tjholowaychuk: the next version will just output json for the docs [21:48] tjholowaychuk: and you can pass them through a template [21:49] jerrysv: tjholowaychuk: if i could count the number of times i've seen you say that you're mid rewrite of something ... :) [21:49] tmedema: tjholowaychuk: ah right, will the next version also focus on folders with files instead of just files? [21:49] tmedema: awesome by the way [21:49] tjholowaychuk: jerrysv that's what happens when you have 70+ libs [21:50] jerrysv: tjholowaychuk: yeah, i know. just funny to keep track [21:50] Creap: I'm making a mobile app, and I'm considering "backing up" the data to web storage to have it available when the user goes offline, and then when there's a connection again the data is somehow synched between webstorage and the server [21:50] Creap: Does that sound reasonable? Is there something like that already? [21:51] Creap: webstorage/cookies, depending on what's available [21:51] jerrysv: creap: like a cache manifest, coupled with localstorage? [21:51] jerrysv: creap: gmail does that [21:52] Creap: not really, I mean the user's data [21:52] Creap: or maybe I misunderstood [21:52] apanda has joined the channel [21:52] tmedema: tjholowaychuk: "I have my team of trusty ferrets :D" what happend with them? ;) [21:53] jerrysv: creap: you can write/send emails while offline with gmail, it stores them locally until you have an internet connection again [21:53] jerrysv: so, similar in concept? [21:53] Creap: ah ok, cool. yes. [21:53] DrMcKay has joined the channel [21:53] hydrozen has joined the channel [21:55] jerrysv: creap: https://github.com/marcuswestin/store.js [21:56] Creap: thanks! [21:57] jerrysv: np [21:58] mrchess has joined the channel [21:59] arturadib has joined the channel [22:01] balaa has joined the channel [22:01] abjorn1 has joined the channel [22:02] prettyrobots has joined the channel [22:03] jamesaro_ has joined the channel [22:03] CIA-69: libuv: 03Ryan Dahl 07master * rdf0b483 10/ uv.gyp : Fix gyp build - http://git.io/1sNkJg [22:04] sirdancealot has joined the channel [22:06] davidcoallier has joined the channel [22:07] shipit has joined the channel [22:08] ryah: jheusala: where is the website for your irc client? [22:08] mike5w3c_ has joined the channel [22:08] jheusala: ryah: http://oulu.nko2.nodeknockout.com [22:09] nibblebot has joined the channel [22:09] tjholowaychuk: i see a shit ton of the entries use that twitter thing [22:10] jbrokc has joined the channel [22:10] [[zz]] has joined the channel [22:11] ryah: jheusala: seems down [22:11] jheusala: hm [22:12] jheusala: works here [22:12] g2725: testing [22:13] jheusala: it might need refreshing or changing API key to something else (then it creates a new one) [22:14] jeffContext has joined the channel [22:15] MrNko has joined the channel [22:15] smathy: What are the popular deployment tools people are using? [22:16] paveq: smathy: deployment tools? :p [22:16] paveq: "manual deployment" o/ [22:16] smathy: paveq… like if I was to ask the same question in the RoR community, they'd point me to capistrano. [22:16] paveq: we tried joyent with push deployment, but ended with linode [22:17] paveq: and just added "production" user [22:17] jheusala: I seriously think I will move to use some kind of cloud deployment system which I can npm install from npm :-P [22:17] paveq: simply run "node app.js" in screen [22:17] smathy: paveq… no, I'm not talking about the environment setup, but tools to deploy app releases. [22:17] smathy: paveq… eg: https://github.com/bengourley/Node-Deployment [22:18] tjholowaychuk: smathy https://github.com/visionmedia/deploy [22:18] tjholowaychuk: is more abstract [22:18] tjholowaychuk: not node specific [22:19] smathy: tjholowaychuk… you've used and it has worked well for you? [22:19] tjholowaychuk: smathy i wrote it :p [22:19] tjholowaychuk: so my opinion doesnt matter [22:19] smathy: tjholowaychuk… ha :) Ok. [22:20] tjholowaychuk: the one thing I'd probably change next is to get rid of GIT support and just go with tarballs [22:20] smathy: tjholowaychuk… I wouldn't say that your opinion doesn't matter - just a caveat :) [22:21] smathy: tjholowaychuk… not an issue for me, we use git too. [22:21] tjholowaychuk: haha, well it works, but it's not perfect nor 100% done [22:21] felixhummel has joined the channel [22:21] jerrysv has joined the channel [22:21] andrewfff has joined the channel [22:21] jheusala: we published our source code: https://github.com/nko2/oulu [22:21] smathy: tjholowaychuk… fails out nicely on error? [22:22] CIA-69: libuv: 03Jorge Chamorro Bieling 07master * rcbbb254 10/ src/eio/eio.c : Fix for joyent/node#1506, OSX threaded write()s bug - http://git.io/UqmBDA [22:22] smathy: tjholowaychuk… if I wanted 100% done, I'd be in History - not Computers :) [22:22] Wa has joined the channel [22:22] devongovett has joined the channel [22:23] tjholowaychuk: smathy haha :) yeah [22:23] tjholowaychuk: plus it's nice and simple so you can fork it if you really need to change something, it's no monolithic js thing [22:23] softdrink: how do you get npm to install itself to a specific arbitrary directory? [22:24] ossareh: smathy: why not just use capistrano? [22:24] tjholowaychuk: boo cap [22:24] smathy: ossareh… that'd be my fallback, didn't really want to install Ruby if I didn't have to. [22:24] tjholowaychuk: shell scripts are made for this [22:24] ossareh: true [22:25] ossareh: I guess we're a ruby shop that is using node in some places so cap works well for us. [22:25] cliffff has joined the channel [22:25] dgathright has joined the channel [22:25] g2742: hi [22:26] smathy: ossareh… we're a Ruby shop too, but this is a new project and if I can avoid having another package to maintain on our node servers, then that's a win. [22:26] ossareh: smathy: fair enough. [22:26] CIA-69: node: 03Ryan Dahl 07master * r59fa16f 10/ (20 files in 7 dirs): [22:26] CIA-69: node: Upgrade libuv to cbbb254 [22:26] CIA-69: node: Fixes #1506 - http://git.io/JNcSGA [22:26] ossareh: fwiw, I didn't use cap, rolled my own - and now wishing I'd used cap. [22:27] nibblebo_ has joined the channel [22:28] topaxi has joined the channel [22:29] vicapow: whats the best project watcher so I dont have to keep stopping and starting my node server? [22:29] mavus has joined the channel [22:31] mavus: are there any guidelines about how events should be named? [22:31] stepheneb has joined the channel [22:32] DrMcKay: caolanm: ping? [22:32] smathy: vicapow… I've heard a lot about forever: https://github.com/indexzero/forever Looksgood. [22:32] smathy: ossareh… thanks for the clarification. [22:32] vicapow: smathy: what do you use? do you just relaunch node from the terminal each time? [22:33] tmpvar has joined the channel [22:33] captain_morgan has joined the channel [22:33] smathy: vicapow… haven't deployed yet, but forever is our front-runner right now. [22:33] vicapow: smathy: cool [22:33] caolanm: DrMcKay: pong [22:33] tjholowaychuk: https://github.com/learnboost/cluster is more geared towards server management [22:33] jerrysv: i use forever, works well [22:33] tjholowaychuk: than forever [22:33] levi501d has joined the channel [22:34] vicapow: tjholowaychuk: hey man, you don't know me but i love your code. just wanted to say thank you! [22:34] DrMcKay: caolanm: I wrote that patch removing testCase [22:34] tjholowaychuk: vicapow i know you [22:34] vicapow: really? [22:34] vicapow: lol [22:34] tjholowaychuk: no [22:34] tjholowaychuk: haha [22:34] DrMcKay: caolanm: (it's pull requested) [22:34] rootslab: :D [22:34] vicapow: haha [22:35] jheusala: ryah: it doesn't work because global connection limit has been reached... [22:35] caolanm: DrMcKay: thanks, I noticed :) ...moving to a new apartment at the moment so a bit busy, hopefully get it tested soon [22:35] DrMcKay: caolanm: but setUpGroup and tearDownGroup look a bit complicated (trivial implementation would just call them during wrapGroup) [22:35] dgathright has joined the channel [22:35] jheusala: I wonder if that .kapsi.fi host had a better limit :-D [22:35] softdrink: with http://npmjs.org/install.sh, can you set $PREFIX? [22:35] caolanm: DrMcKay: ok, so you've left out setUpGroup and tearDownGroup for now? [22:35] jheusala: we changed it to .nodeknockout.com just a moment ago [22:36] caolanm: anyone know who wrote the npm search couchapp? [22:36] DrMcKay: caolanm: yes, but I'll get back to it in few days (job) [22:36] schwab has joined the channel [22:36] caolanm: DrMcKay: ok, sounds good... it'll be a day before I can merge your code anyway [22:36] DrMcKay: caolanm: don't worry, take your time :) [22:37] dmkbot: *configure script for GYP build system* reported by ry: https://github.com/joyent/node/issues/1500 [22:37] ryan[WIN] has joined the channel [22:37] DrMcKay: um, what? [22:38] DrMcKay: this issue is from August [22:38] DrMcKay: did it happen before? [22:38] bnoordhuis: DrMcKay: it just got updated [22:38] vicapow: smathy: forever doesn't watch the files for changes, however [22:38] DrMcKay: bnoordhuis: but it shouldn't report it anyway, I think [22:38] smathy: tjholowaychuk… looks awesome, thanks for the pointer (and the app itself) for cluster :) [22:39] bnoordhuis: DrMcKay: well, i like it [22:39] smathy: vicapow… no, you'd use your deployment hooks to restart it. [22:39] DrMcKay: bnoordhuis: then let it be this way [22:39] tjholowaychuk: vicapow cluster can [22:39] tjholowaychuk: reload() plugin [22:39] tjholowaychuk: (use in dev only though) [22:39] smathy: vicapow… but see tjholowaychuk's comments - I'm definitely not an authority here. [22:39] raidfive has joined the channel [22:39] DrMcKay: vicapow: I've got that reload thing on my TODO list [22:40] [[zz]] has joined the channel [22:40] vicapow: DrMcKay: awesome [22:42] eazyigz has joined the channel [22:43] vidi: anyone updated to socket.io 8.x ? [22:43] `3rdEden: I did [22:43] vidi: seems like all browsers default to xhr now [22:43] `3rdEden: all? [22:43] vidi: yeah the ones i tried [22:43] vidi: chrome firefox [22:43] `3rdEden: which version of socket.io are you running? [22:43] vidi: not using websockets [22:43] `3rdEden: exact version [22:43] vidi: .8.2 [22:43] `3rdEden: hmz [22:44] `3rdEden: I'm running 8.1 [22:44] vidi: ok let me try that [22:44] `3rdEden: I know that it has flashsocket issues [22:45] tmedema: flash socket issues? where? :( [22:46] Sorella has joined the channel [22:46] `3rdEden: socket.io < 8.2 [22:46] jamesarosen has joined the channel [22:46] `3rdEden: since 8.0 [22:46] smathy: tjholowaychuk… would you still wrap cluster in upstart or initi.d or is it more magical than I'm seeing? [22:46] jheusala: we just updated to socket.io because Chrome etc didn't work (it was using too new websocket interface) [22:47] tjholowaychuk: smathy if you want your app to boot on restart yeah [22:47] smathy: tjholowaychuk… right, all makes sense - thanks. [22:47] tjholowaychuk: same as anything else [22:47] CIA-69: node: 03Ryan Dahl 07master * rda00ff4 10/ (74 files in 13 dirs): Upgrade V8 to 3.5.9.1 - http://git.io/_YU7jw [22:48] paveq3 has joined the channel [22:48] vidi: never mind its nowjs [22:48] smathy: tjholowaychuk… sure, I just wasn't sure that you hadn't made some event.d hook or something. I've stopped assuming I know how things work these days, all this stuff does a lot more than I expect ;) [22:49] vidi: it made it run using xhr instead of websockets [22:49] CStumph has joined the channel [22:49] massivebiz has joined the channel [22:49] vidi: remove nowjs and browser using web socket again [22:50] DrMcKay: btw, there's one new cool kid from Google [22:50] DrMcKay: it's somehow similar to web sockets [22:50] DrMcKay: Gmail uses it [22:50] DrMcKay: I'll google that [22:51] vidi: you talking about what they use in chrome to replace http ? [22:51] marcello3d has joined the channel [22:51] te-brian2 has joined the channel [22:51] vidi: SPDY [22:51] DrMcKay: SPDY [22:51] DrMcKay: yeah [22:51] dhughes has joined the channel [22:51] __doc__ has joined the channel [22:52] jamesarosen has joined the channel [22:52] vidi: i think native code in browser will replace flash and js [22:52] eldios: DrMcKay, you're completely unreliable.. the world could be way better by now [22:52] eldios: =) [22:52] eldios: serious things [22:52] cpetzold has joined the channel [22:53] DrMcKay: ah, node already supports that [22:53] DrMcKay: eldios: oh, I forgot [22:53] `3rdEden: SPDY doesn't even compare to WebSockets [22:53] DrMcKay: yeah, I'm on it [22:53] `3rdEden: and it's not new, it's old :p [22:53] DrMcKay: eldios: name? [22:53] DrMcKay: eldios: node-lolcat? [22:53] eldios: sounds good [22:53] vicapow: tjholowaychuk: dude, you're good... "Cluster detected over 20 worker deaths in the first 20 seconds of life, there is most likely a serious issue with your server." [22:53] DrMcKay: `3rdEden: well, I didn't know about it few months ago [22:53] robotarmy has joined the channel [22:54] eldios: how can I store exec stdout in a variable external to exec itself without using an external variable and an interval? =) [22:54] tjholowaychuk: vicapow haha yeah the child procs can get out of hand if you have a syntax error or something [22:54] tjholowaychuk: master cant save you forever [22:54] eldios: I already found a way but it's quite nasty :P better ideas would be welcome [22:54] DrMcKay: eldios: you're eldios? [22:54] eldios: DrMcKay, sounds like a weird question [22:54] eldios: but yes I am [22:55] DrMcKay: I mean, GH [22:55] vicapow: how can i set the __dirname of the child process? [22:55] nibblebot has joined the channel [22:55] eldios: vicapow, cd foobar ? [22:55] eldios: DrMcKay, yes eldios [22:55] DrMcKay: eldios: it would be weirder if I was asking about Sarah Connor [22:55] tjholowaychuk: vicapow there's a setting [22:55] vicapow: tjholowaychuk: cool [22:55] DrMcKay: eldios: added you [22:55] tjholowaychuk: looking it up [22:55] eldios: DrMcKay, would be definitely [22:55] tjholowaychuk: http://learnboost.github.com/cluster/docs/api.html [22:55] tjholowaychuk: "working directory" [22:56] DrMcKay: eldios: I'll try to write something for it in few minutes [22:56] DrMcKay: eldios: name: nlolcat? [22:56] eldios: yes ok [22:56] eldios: name is ok too [22:56] eldios: I'll wait for the first commit [22:57] eldios: not much times anyway.. 1AM here =) [22:57] newy has joined the channel [22:57] DrMcKay: eldios: k, give me a sec [22:57] eldios: no hurry ;) [22:57] DrMcKay: eldios: well, here as well [22:57] DrMcKay: eldios: where are you? [22:57] ttpva has joined the channel [22:58] MaSch: "Socket.end() called already; cannot write." can i found out where this happend? the stackdump just shows library functions [22:58] eldios: Italy [22:58] eldios: ^_^ [22:58] eldios: you? [22:58] DrMcKay: eldios: Poland [22:59] cjheath has joined the channel [22:59] ap3mantus has joined the channel [22:59] eldios: hum.. freezy =) [22:59] DrMcKay: eldios: you lucky bastards, you have those amazing pizzas [22:59] DrMcKay: eldios: but on the other hand, we have beatiful women [22:59] bnoordhuis: what? in poland? [22:59] bnoordhuis: where did you import them from? [22:59] eldios: don't make me tell anything about your freaking tall, blonde, blue-eyed girls which needs to be warmed [22:59] eldios: yeah.. right.. [23:00] eldios: exactly those [23:00] eldios: pff [23:00] eldios: =) [23:00] Qbix1 has joined the channel [23:01] dshaw_ has joined the channel [23:01] ckknight has joined the channel [23:02] cjheath has joined the channel [23:02] DrMcKay: bnoordhuis, eldios: but they're really nice! [23:03] DrMcKay: ah, my ex's birthday just ended an hour ago [23:03] DrMcKay: yay, I managed not to call [23:03] Me1000 has joined the channel [23:03] DrMcKay: eldios: pushed [23:03] bnoordhuis: i agree, a sweet character is important too [23:03] bnoordhuis: ...in a dog [23:04] cliffano has joined the channel [23:04] DrMcKay: bnoordhuis: but they're really very beatiful! [23:04] AvianFlu|lunch|: LOL [23:05] DrMcKay: bnoordhuis: and, well, my last gf was a real bitch, she was just pretty. [23:05] vicapow: tjholowaychuk: does this seem right? http://pastebin.com/kZHtps67 [23:05] DrMcKay: bnoordhuis: so, yeah, I have to agree [23:05] jchris has joined the channel [23:05] trotter has joined the channel [23:05] jchris has joined the channel [23:05] bnoordhuis: DrMcKay: you know how the internet works: pics or it didn't happen [23:05] vicapow: tjholowaychuk: any guess why that might not work? [23:05] dimroc has joined the channel [23:06] DrMcKay: bnoordhuis: give me a sec ;) [23:06] tjholowaychuk: vicapow looks ok, are you getting an error? [23:06] vicapow: nope, just that it doesn't reload when I make an edit [23:06] vicapow: tjholowaychuk: [23:06] eldios: waiting for the pic [23:06] eldios: DrMcKay, code cloned locally [23:07] tjholowaychuk: vicapow oh, hmm [23:07] JaKWaC has joined the channel [23:07] DrMcKay: bnoordhuis: http://i.imgur.com/qlaXW.jpg [23:07] antono has joined the channel [23:07] DrMcKay: bnoordhuis: I can't really show how bitchy she was [23:07] balaa has joined the channel [23:07] DrMcKay: oh, is it a cross? [23:07] bnoordhuis: DrMcKay: aw, she's cute [23:07] tjholowaychuk: vicapow maybe try switching to an absolute path like the others [23:08] DrMcKay: I though she was atheist [23:08] tjholowaychuk: depends on how you're running it [23:08] bnoordhuis: DrMcKay: there are no atheists in poland, well-known fact [23:08] jtrudeau has joined the channel [23:08] vicapow: tjholowaychuk: for reload() ? [23:08] tjholowaychuk: atheism ftw [23:08] eldios: DrMcKay, nice [23:08] tjholowaychuk: vicapow yeah [23:08] eldios: anticlericalism ftw [23:09] eldios: atheism is not enough [23:09] DrMcKay: bnoordhuis: well, yeah, unfortunately [23:09] MrNko has joined the channel [23:09] eldios: believe me [23:09] vicapow: tjholowaychuk: okay, i closed the cluster server but now it's still somehow still running [23:09] DrMcKay: I'm just waiting to turn 18 to become atheist oficially [23:09] tjholowaychuk: vicapow it probably did restart then [23:09] tjholowaychuk: you can use the cli or kill it like killall -9 node etc [23:09] eldios: DrMcKay, copyright doesn't sound good [23:09] mykul has joined the channel [23:09] jheusala: I guess I should not say I am an agnostic [23:09] eldios: change your licence [23:09] tjholowaychuk: vicapow it doesnt try to do any stupid require() cache magic to reload, it simply restarts [23:09] eldios: humanity will thank you in future for that [23:10] eldios: =) [23:10] tjholowaychuk: which happens to background the process [23:10] eldios: hell I knew I would pass 1AM when I sit down here -_-" [23:10] tjholowaychuk: which actually comes in handy, you can still commit etc while your server is sitting there, but i should add an option to reload the workers only [23:10] DrMcKay: eldios: it's MIT, but I can license it under WTFPL [23:11] eldios: s/sit/sat/lol [23:11] eldios: MIT is ok [23:11] vicapow: tjholowaychuk: using the absolute path seems to have worked [23:11] jheusala: DrMcKay: btw I wasn't baptiezed as baby. Did it 10 years old thought because of brainwash from society. [23:11] eldios: I stopped horrified on the copyright line [23:11] eldios: I should admit [23:11] eldios: =) [23:11] dylang has joined the channel [23:11] vicapow: tjholowaychuk: I still need to restart the cluster server which there's a syntax error, however :( [23:12] safea has joined the channel [23:12] jheusala: my parents thought I should choose it myself [23:12] jesusabdullah: you can have something copyrighted and then license under a permissive license. Most large software projects do this [23:12] tjholowaychuk: vicapow yeah, just dont have a ton of syntax errors :p [23:12] vicapow: tjholowaychuk: haha [23:12] eldios: jesusabdullah, exactly [23:12] DrMcKay: jheusala: in Poland you get baptism OOTB [23:12] eldios: just to prevent other big ones to steal work from them [23:12] eldios: OOTB? [23:12] DrMcKay: Out of the box [23:12] eldios: lol [23:13] eldios: same here in Italy.. not my children anyway [23:13] vicapow: tjholowaychuk: ;( [23:13] eldios: vicapow, try to catch a BIG external exception [23:13] jhurliman: once in a while my express/connect app will just crash with a socket is not writable exception in an http callback (https://gist.github.com/1179665). is there any way to prevent this from taking down the app? [23:13] jheusala: maybe here too, if mother is part of the official church, but mine wasn't [23:13] eldios: maybe that will catch syntax errors too [23:13] DrMcKay: well, if I'm ever gonna have kids I'm not going to baptism them [23:13] vicapow: eldios: you think side the cluster sever? [23:14] DrMcKay: jheusala: well, here it looks like, well, with software license [23:14] DrMcKay: jheusala: you just click OK and stop giving a fuck later [23:14] jheusala: heh [23:14] eldios: vicapow, ask that question with other words.. it was enigmatic =) [23:15] vicapow: eldios: there's two servers. the cluster server and my node app. should i place the try {} statement around the former or the later? [23:15] aoberoi has joined the channel [23:16] tjholowaychuk: it cant reload on a syntax error [23:16] tjholowaychuk: it'll just be recursive [23:16] tjholowaychuk: it has to bail [23:16] tjholowaychuk: or timeout [23:16] gerad has joined the channel [23:16] eldios: or revert back to last versino [23:16] eldios: version [23:16] eldios: if you have one stored somewhere [23:16] tjholowaychuk: this just for the dev reload() plugin [23:16] tjholowaychuk: it's not going to do any magic like that [23:17] slifty has joined the channel [23:17] eldios: not automagically unfortunately [23:18] k1ttty has joined the channel [23:19] ryanfitz has joined the channel [23:19] mosen has joined the channel [23:20] vicapow: tjholowaychuk: is there possibly a way to delay the quickness to which worker deaths are restarted [23:20] tjholowaychuk: with reload? [23:20] tjholowaychuk: just dont save so often with syntax errors :p [23:20] vicapow: tjholowaychuk: i thought that was all quickly the files are watched? [23:21] slifty: yeah that's right, I'm exercising right now. What are you gonna do about it? [23:21] tjholowaychuk: if oyu dont save it wont reload [23:21] eldios: vicapow, maybe you can make atwo step process [23:21] justinTNT has joined the channel [23:21] tjholowaychuk: but i think you can pass an interval [23:21] tjholowaychuk: let me check [23:21] tjholowaychuk: or check the cluster docs there [23:21] tjholowaychuk: I might let you pass the options for watchFile [23:21] eldios: the one which you save on [23:21] H4ns` has joined the channel [23:22] eldios: and a loop application which copies apps only if they wrk correctly [23:22] eldios: every minute or so [23:22] eldios: dunno.. just doing side-thinking [23:22] Me1000 has joined the channel [23:23] ChrisPartridge has joined the channel [23:23] mikeal has joined the channel [23:23] Nexxy: grrrr, tjholowaychuk [23:23] vicapow: tjholowaychuk: don't worry about it. [23:23] vicapow: tjholowaychuk: this is file [23:23] vicapow: fine* [23:23] Nexxy: you're never here when I have a question for you, and when you are here I forget what I wanted to ask [23:23] tjholowaychuk: Nexxy haha [23:23] Nexxy: 1800 # please [23:24] ChrisPartridge has joined the channel [23:25] bradleymeck has joined the channel [23:25] Nuck: 1-800-XPRESJS :D [23:25] MaSch: mikeal: can i close the readable stream of a request? (i'm using you library so i hope its okay that is hl you) [23:26] H4ns`` has joined the channel [23:26] Nuck: Or 1-800-irc.freenode.net/#Node.js [23:26] Nexxy: Nuck, did you ever tell tjholowaychuk how emo you thought he was? [23:26] tjholowaychuk: hahahah [23:26] tjholowaychuk: oh god [23:27] mikeal: what do you mean? [23:27] Nuck: I think so [23:27] Nexxy: teej, I defended your honor. [23:27] Nuck: tjholowaychuk: Your pic on Twitter made me think you were emo lol [23:27] Nexxy: it's okay though, he thinks he's a hipster [23:27] Nuck: Nexxy: Only ironically. [23:27] Nexxy: who said anything about a black fly? [23:27] Nuck: tjholowaychuk: It's the hair ;) [23:28] MaSch: mikeal: like .destroy() for any readable stream. im currently using request to stream large files. i'd like to be able to cancel the transfor by closing the request [23:28] Nexxy: Nuck, you still haven't shown us your hair [23:28] Nexxy: or any of you for that matter [23:28] mikeal: well, it's a duplex stream [23:28] mikeal: so what you write isn't what it reads [23:28] Nuck: Nexxy: Little-known fact, I'm actually a girl. [23:28] mikeal: close() could mean the input or output, depending on state [23:28] mikeal: the best thing to do would be to close the destination [23:28] Nuck: But no, I have shown myself online [23:28] Nexxy: what does that have to do with anything? lol [23:28] mikeal: or close the input [23:28] Nuck: I'm just not very photogenic :P [23:29] Nexxy: you're not very sociable either but that doesn't seem to stop you [23:29] anti has joined the channel [23:29] Nuck: I seem to look like a creepy bastard in ever photo ever [23:29] Nuck: Nexxy: I could say the same about you :P [23:29] Nexxy: ah huh [23:29] MaSch: how can i sput the request object from emiting "data"-Events? sry if i don't get it, its late her >.< [23:29] Nuck: Especially since you're the one accusing me of being unsociable, it seems rather, I dunno, unsociable? [23:29] Nexxy: I'm not the one that makes off-color remarks about various minorities [23:29] AvianFlu: nexxy has more internet points than you do, nuck, don't front [23:30] Nuck: AvianFlu: Internet points? [23:30] Nexxy: people give me their internets all the time [23:30] meandi has joined the channel [23:30] Nexxy: when was the last time someone gave you their internets?! [23:30] Nexxy: hmmmmmm? [23:30] Nuck: I tend to partake in odder communities, where I am well-known and have collected a great deal of internets [23:30] mikeal: var request(url) [23:30] mikeal: er [23:30] Nexxy: you mean devantart? [23:30] mikeal: var x = request(url) [23:30] Nuck: I am pretty well-known on deviantART [23:30] Nexxy: that's not plural [23:30] mikeal: x.response.end() [23:30] Nuck: In fact, I'm one of the top 5 user scripters on there and top 10 programmers too [23:31] mikeal: or .destroy() [23:31] MaSch: ahh, thanks [23:31] Nexxy: oh my god [23:31] MaSch: i tried x.destroy :D [23:31] Nexxy: why didn't you say so [23:31] Nexxy: Nuck, in that case; I completely retract everything I've ever said about you. [23:31] Nuck: I've had two daily deviations (as in, my scripts were considered that fucking useful) and am well-known for my great User Script UIs [23:31] Nexxy: why didn't you tell me you program [23:32] seebees has left the channel [23:32] Nuck: (though honestly I hate my UIs, as much as I hate my old work) [23:32] seebees has joined the channel [23:32] Nexxy: Nuck, now tell us about your sonichu pendant [23:32] Nuck: ACTION rolls his eyes [23:32] MaSch: something is calling .end on my response.. but why.. [23:33] Nuck: If I weren't too lazy to figure out the ignore features on mIRC (this thing is a fucking ugly beast), I would use them. [23:33] qbert_: how would I capture path entries as parameters with express ? for example listen to everything on /bangbang/*/store , and name that * parameter 'id' etc [23:33] Nuck: :) [23:33] bnoordhuis: is sonichu a phrase i dare to google? [23:33] Nuck: bnoordhuis: I'm not gonna [23:34] Nuck: Mostly because I don't give a fuck though. [23:34] tjholowaychuk: qbert_ :id(*) [23:34] Nexxy: bnoordhuis, he knows what it is [23:34] Nexxy: bnoordhuis, don't let him fool you! [23:34] tjholowaychuk: well or :id, but if it spans multiple segments use * [23:34] Nexxy: and yes, you should google [23:34] Nexxy: Nuck just reminds me a LOT of christian weston chandler [23:34] qbert_: tjholowaychuk, perfect thanks [23:34] Nuck: Oh yay, that was exceptionally easy :D [23:35] bnoordhuis: thank god for safesearch, i had no need to see the rule 42 of that [23:35] te-brian has joined the channel [23:35] leahculver has joined the channel [23:35] Nuck: bnoordhuis: 42? [23:35] bnoordhuis: sorry, rule 34 [23:35] Nuck: Ah [23:35] Nuck: Rule 34 is bad, but 35 is worse [23:35] Nexxy: bnoordhuis-- [23:35] v8bot_: Nexxy has taken a beer from bnoordhuis. bnoordhuis now has 0 beers. [23:35] catb0t: bnoordhuis now has -1 beer [23:35] Nuck: Because it is self-fulfilling. [23:36] bnoordhuis: Nexxy: ? [23:36] qbert_: tjholowaychuk, req.id ? [23:36] Nexxy: bnoordhuis, mixing rules of the internet ;[ [23:36] tjholowaychuk: qbert_ req.params.id [23:36] Nexxy: bnoordhuis++ [23:36] v8bot_: Nexxy has given a beer to bnoordhuis. bnoordhuis now has 1 beers. [23:36] catb0t: bnoordhuis now has 1 beer [23:36] tjholowaychuk: qbert_: if you dont name it then it's req.params[0] etc [23:36] Nuck: Yup, this is way better with ignores. [23:36] Nuck: ACTION is happy again [23:37] Nexxy: make sure everyone knows what you did, Nuck ! [23:37] qbert_: tjholowaychuk, awesome! [23:37] towski has joined the channel [23:37] anti has joined the channel [23:39] tjholowaychuk has joined the channel [23:39] vaheh has joined the channel [23:40] Nuck: tjholowaychuk: Did I tell you that I'm gonna make a middleware around my multipart parser that will aim to make uploads as simple as in PHP? [23:40] eddanger has joined the channel [23:40] tjholowaychuk: Nuck nice [23:40] tjholowaychuk: they aren't too hard with formidable though [23:40] tjholowaychuk: 3 or 4 lines [23:40] eddanger has left the channel [23:41] Nuck: tjholowaychuk: Aye, but with this, it'll just pipe to a file in /tmp/ (using a hash for the filename with random and timestamp and such), then set the fd on req.file.fd and unlink the file [23:41] Nuck: So it'll be deleted as soon as they get rid of the fd [23:42] Nuck: It's more designed for larger uploads, of course [23:42] tjholowaychuk: i dont think you can get larger uploads than felix deals with [23:42] Nuck: I'll probably also do a setTimeout for the file to be deleted or something [23:43] Nuck: tjholowaychuk: Yeah, but I want to make it PHP-simple [23:43] Nuck: By wrapping it all into one tiny package [23:43] Nuck: With a ribbon and a bow [23:43] softdrink: awwwwwwwwwwwwww yeah… project at work: git clone, make setup DONE [23:43] Nuck: And Formidable, while nice, isn't the nicest code, and it often seems too heavyweight for many cases [23:44] softdrink: installs node and npm to the projects local/ folder [23:45] pt_tr has joined the channel [23:45] ekryski1 has joined the channel [23:45] Nuck: I'm basing my APIs for my parser on those of HTTP, with one change - headers are handled via events next to 'data' [23:46] tjholowaychuk: Nuck no js is nice, our language is apparently so crappy people compile 50 others to it haha [23:46] m_ has joined the channel [23:46] sebastianedwards has joined the channel [23:46] Nuck: tjholowaychuk: I looked at Formidable's code. [23:46] Nuck: It looks like C [23:46] Nuck: But in JS [23:47] Nuck: Which made me wanna throw up [23:47] MrNko has joined the channel [23:47] hornairs has joined the channel [23:48] bnoordhuis: nothing wrong with c >:( [23:48] tjholowaychuk: >:( mad face [23:48] Nuck: bnoordhuis: Didja see? Apparently tjholowaychuk's already done the Boyer-Moore search in JS :P [23:48] tjholowaychuk: huh [23:48] Nuck: Didn't you say that earlier? [23:48] tjholowaychuk: no i said i wrote an abstract multipart parser, one that isn't so focused on form-data [23:49] tjholowaychuk: formidable is great, I just needed something for the rest [23:49] tjholowaychuk: and most importantly formidable is battle-tested [23:49] al3xnull has joined the channel [23:49] Nuck: Ah [23:50] Nuck: tjholowaychuk: You jsut mentioned boyer-moore, my mistake :P [23:50] Nuck: I'm gonna battle-test and benchmark my module against Formidable [23:50] Nuck: Not sure how it'll fare since I use buffertools, so I call out to C for a lot of things... [23:50] tjholowaychuk: yeah you can use a boyer-moore derived search to skip over chunks that are not relevant [23:50] eazyigz has joined the channel [23:51] tjholowaychuk: multipart is somewhat retarded, as are most of the plain-text type protocols I guess [23:51] Nuck: tjholowaychuk: I've got nothing but a high-school education in math, and my CS knowledge is all self-taught, so Boyer-Moore is a load of fancy-talk on first read :P [23:52] tjholowaychuk: im self-taught too [23:52] tjholowaychuk: you just pick things up as you go [23:52] Nuck: When I say self-taught, I mean I never really talked to devs until I joined #node.js :P [23:52] Nuck: Well, I did found a developer chat on dA, but it was 90% amateurs [23:52] tjholowaychuk: you know you want to skip irrelevant data, and then you find out there are algos and terms for all these things haha [23:52] ckpcw has joined the channel [23:53] rootslab: Hi Nuck and TJ [23:53] qbert_: Cannot find module 'waiter' [23:53] qbert_: anyone know where that module is ? [23:53] rootslab: I thnik that Boyer Moore is not the only solution [23:53] tjholowaychuk: of course not [23:53] qbert_: oops nm [23:53] davidcoallier has joined the channel [23:53] tjholowaychuk: there's no one solution for anything [23:54] rootslab: As you know, TJ, I have written anotherupload parser [23:54] rootslab: and I haven't used boyer moore [23:54] rootslab: YOu are right ;) [23:54] bnoordhuis: are we talking about the same thing? [23:54] bnoordhuis: boyer moore is a string search algorithm [23:54] rootslab: h ah [23:54] rootslab: yes [23:55] bnoordhuis: i probably missed some essential part of the discussion [23:55] wadey has joined the channel [23:55] FearOfMusic has joined the channel [23:55] rootslab: Only for saying, I have written a parser [23:55] Nuck: I'm tempted to implement boyer-moore though... [23:56] rootslab: that parse CSV and TXT faster than formidable [23:56] shipit has joined the channel [23:56] rootslab: and I have used a simple iterative parser [23:56] Nuck: The problem is, I'd hafta adapt it for this case [23:56] tjholowaychuk: Nuck what are you doing? just streaming through a single char? [23:56] rootslab: The implementation is the real performance problem, I think [23:56] Nuck: tjholowaychuk: Well, the concept is that I need to detect a beginning of the separator for multipart [23:57] tjholowaychuk: yeah [23:57] tjholowaychuk: that's what it's for [23:57] Nuck: So I was thinking, check all possible locations at the end [23:57] Nuck: I would start at buffer.length - divider.elngth [23:57] rootslab: you have to deal with chunked data [23:57] tjholowaychuk: you recv a chunk, scope it out by skipping around for parts of the boundary, move on or buffer if necessary blah blah [23:57] eldios: two minutes to go [23:58] Nuck: tjholowaychuk: The trick is, no buffering ;) [23:58] eldios: maybe I created an useful modues =) [23:58] tjholowaychuk: Nuck good luck [23:58] rootslab: ha ha [23:58] eldios: https://github.com/eldios/node-hq - node server monitoring panel [23:58] eldios: obv is just a stub as for now [23:58] eldios: any pull request would be welcome [23:58] Nuck: The only things I'll buffer are headers and if it seems to be the start of a divider, I'll buffer that [23:59] Nuck: If it turns out not to be a divider, it immediately fires 'data' when it finds out [23:59] rootslab: nuck, if you have 24 K chunks [23:59] Nuck: But while it buffers that bit, it already fires off the rest of the stuff until that point [23:59] MrNko has joined the channel [23:59] markdaws has joined the channel [23:59] Nuck: So it's minimally-buffered, and as a result, damn-near real-time