[00:00] JimBastard: yeah i hate those people with irc alias's [00:00] SteveDekorte has joined the channel [00:00] docjohnson has joined the channel [00:01] silentrob: well it is my github account, lets face it, Im a coder before social media douchebag [00:01] JimBastard: are you related to silent bob? [00:01] mape: well, one uses the same for github/twitter/irc/other random thing [00:02] silentrob: No relation JimBastard [00:02] jesusabdullah: I do! [00:02] jesusabdullah: I'm jesusabdullah almost everywhere! [00:03] silentrob: I feel sorry for my kids trying to pick usernames in 10 - 15 years [00:03] satori_: little johnny12224356546 [00:03] silentrob: haha [00:04] nicholas__ has joined the channel [00:05] satori_: wikileaks just dropped another motherload [00:05] satori_: lol [00:07] _announcer: Twitter: "Just pushed out node-sizzle to GitHub. My objective is to leave Sizzle.js code untouched and load it into Node. /cc @rob_ellis" -- Daniel Shaw. http://twitter.com/dshaw/status/19531058120 [00:07] n3v3le has joined the channel [00:08] _announcer: Twitter: "nod-sizzle http://github.com/dshaw/node-sizzle # nodejs" [lv] -- Daniel Shaw. http://twitter.com/dshaw/status/19531130167 [00:11] also has joined the channel [00:13] mscdex: silentrob: kids were picking out usernames like that in the late 90's on aolol [00:13] silentrob: ya unique usernames must die [00:14] bradleymeck1: we could all end up w/ what china is starting w/ real user names being mandated for many internet sites [00:14] d3str0yer_99: like this? [00:14] bradleymeck1: real names* [00:14] d3str0yer_99: :) [00:14] isaacs_mobile has joined the channel [00:15] dshaw has joined the channel [00:16] dshaw: silentrob, you here? [00:16] mscdex: bradleymeck1: you mean like what the WoW forums tried to pull? ;-) [00:16] _announcer: Twitter: "Apricot (see parser) @ rob_ellis village is full of awesome http://github.com/silentrob/Apricot # # nodejs xui" [sv] -- Brock Whitten. http://twitter.com/sintaxi/status/19531578338 [00:17] marshall_law_ has joined the channel [00:18] josemoreira: hi [00:19] mscdex: hola [00:19] dgathright has joined the channel [00:19] nicholas__ has joined the channel [00:22] also has joined the channel [00:22] davidwalsh has joined the channel [00:25] bradleymeck1: mscdex ya [00:28] ThePub: bradleymeck1: For some communities it would definitely be the best choice. Lack of personal accountability turns everyone into monsters when they fire up the Internet in my experience. As time progresses it only gets worse. [00:29] ThePub: And in developer communities in chat it sometimes would be great to know who you're talking :) [00:30] satori_: I usually use the same or similar handles everywhere, unless i want to be anon. [00:32] [[zz]] has joined the channel [00:36] dilvie has joined the channel [00:37] ryah: npm build Success: apricot-0.0.2 [00:37] ryah: (i love when that works) [00:37] bradleymeck1: wonder if we should make an npm buildbot somehow [00:37] ryah: been thinking the same [00:37] JimBastard: +2 [00:37] mape: with benchmarks one could add to packages.json? [00:38] ryah: mape: ++ [00:38] ryah: jefe to run the benchmarks [00:39] huyhong1 has joined the channel [00:39] bradleymeck1: only problem is you need a very good test library for buildbotting [00:40] ryah: hm [00:40] ryah: could spin up a VM for each test case ;) [00:41] mscdex: heh [00:41] bradleymeck1: true, but how to know it installed right? [00:41] ryah: ACTION has infinite access to VMs [00:41] mape: stackvm... [00:41] huyhong has joined the channel [00:42] mape: seems like a good fit when that is running [00:43] damienkatz has joined the channel [00:44] JimBastard: hey damienkatz , im working on a couchdb rap melody right now [00:44] silentrob: ACTION has infinite access to VMs too [00:45] bradleymeck1: i wanna see if i can get stackvm running inside of a node based browser [00:45] JimBastard: ^_^ [00:46] huyhong has left the channel [00:46] damienkatz: rap melody? want to know more :) [00:46] JimBastard: was working on it earlier today with mikeal. i can share you on the google doc if you want? [00:46] JimBastard: i got most of the lyrics done, arranging beats now [00:47] damienkatz: want to see the finished product :) [00:47] JimBastard: ill catch you in a couple weeks :-) [00:47] isaacs: YES, npm buildbot [00:47] isaacs: and automated testing [00:48] bradleymeck1: isaacs you can delegate some tickets out too [00:48] isaacs: bradleymeck1: true that [00:49] bradleymeck1: *coughs* [00:49] isaacs: hehe [00:49] isaacs: i will, i will [00:49] isaacs: but actually, delegating is in a way more work than just doing them [00:51] bradleymeck1: sometimes, but it gives others a chance to learn the code before it goes outta control [00:51] nicholas__ has joined the channel [00:51] isaacs: true that [00:52] [[zz]] has joined the channel [00:54] drudge: how do i use the connect.bodyDecoder() in express? [00:54] josemoreira: if anyone needs a help on node.js knockout let me know [00:54] josemoreira: i'd like to pump my skills a bit [00:55] drudge: To utilize urlencoded request bodies, req.body should be an object. This can be done by using the connect.bodyDecoder middleware. [00:55] bradleymeck1: what are you good at josemoreira? [00:55] josemoreira: bugs [00:55] josemoreira: :) [00:56] josemoreira: cant say, backend/js stuff [00:56] josemoreira: its better to say what im not good at, ui design [00:57] _announcer: Twitter: "@skry I've got a limited understanding of the whole thing at this point, but node.js (the JS server) is an evented server, not threaded." -- Daniel Erickson. http://twitter.com/TechWraith/status/19533883928 [00:57] yoni has joined the channel [00:59] bradleymeck1: josemoreira, might be best to try to go w/ ui design, you can think of design before the competition but no digital assets is what it seems like. Unfortunately my team doesnt need any more [01:00] drudge: yeah i don't get how to use the bodyDecoder at all [01:00] saikat has joined the channel [01:00] josemoreira: bradleymeck1, thanks anyway ;) [01:05] drudge: anyone know how to read post vars in espresso sent with multipart/form-data content-type? [01:05] deanlandolt_home has joined the channel [01:07] steadicat has joined the channel [01:07] josemoreira: btw i was kidding about the bugs part :P [01:08] _announcer: Twitter: "@DmitryBaranovsk Atlassian isn't, that I know of. I have a website to rewrite and am considering Node.js frameworks." -- David Taylor. http://twitter.com/zensatellite/status/19534563088 [01:13] tyfighter has joined the channel [01:15] dgathright has joined the channel [01:27] nicholas__ has joined the channel [01:31] damienkatz has joined the channel [01:31] damienkatz has joined the channel [01:33] yoni: Poll: any favorite testing frameworks? i'm looking for something that is simple and handles asyncronous server testing elegantly. [01:34] samdk: yoni: haven't used it, but vows.js looks interesting and is built for node (http://vowsjs.org/) [01:35] yoni: samdk: been reading about it a bit. looks like an interesting lib. [01:36] marshall_law has joined the channel [01:37] ditesh|cassini has joined the channel [01:37] silentrob has joined the channel [01:38] dilvie has joined the channel [01:38] silentrob has left the channel [01:40] bradleymeck1: that and expresso [01:41] tmpvar has joined the channel [01:45] yoni: bradleymeck1: thanks. [01:49] also: any reason this shouldn't work: new process.binding('evals').Script('true') [01:50] also: it results in "FATAL ERROR: v8::Object::SetInternalField() Writing internal field out of bounds" [01:50] nicholas__ has joined the channel [01:56] nicholas__ has joined the channel [01:57] _announcer: Twitter: "Apricot - a simple Hpricot Clone for nodejs - http://su.pr/15t0pG" -- eBot. http://twitter.com/kicauan/status/19537487131 [02:04] gwoo has joined the channel [02:04] dgathright has joined the channel [02:05] mape: http://www.effectgames.com/demos/canvascycle/ [02:06] _announcer: Twitter: "@ggoodale sure, i'm up for it! I dont know node.js too well, but can crank out some UI stuff and learn as I go along" -- Jacques Crocker. http://twitter.com/railsjedi/status/19538079946 [02:07] richcollins has joined the channel [02:08] isaacs has joined the channel [02:09] bradleymeck1: mape, very soothing [02:09] mape: jup [02:11] dshaw has joined the channel [02:12] _announcer: Twitter: "Socket.io + node.js make real-time web programming so easy now." -- Josh Bohde. http://twitter.com/joshbohde/status/19538512680 [02:14] bradleymeck1: !tweet @joshbohde yep, and websockets allow for some amazing new interactions i find [02:14] JimBastard: you could totally do myst with http://www.effectgames.com/demos/canvascycle/ [02:16] Eber has joined the channel [02:17] SubStack: *some* stuff is easy with socket.io [02:18] SubStack: annoying having to route messages manually though [02:19] _announcer: Twitter: "Just finished a 73 hour work week. Lots of JavaScript, Node.js and iOS development. Tons of fun, but I am super pooped now. Time to relax." -- Ray Morgan. http://twitter.com/raycmorgan/status/19538907896 [02:19] damienkatz has joined the channel [02:19] damienkatz has joined the channel [02:22] mitkok has joined the channel [02:30] dshaw: substack: if you can go pure web sockets, it's so much nicer. [02:31] dshaw: @mrdoob on Twitter ended up pulling socket.io and replacing it with node-websocket-server to handle the heavy load of multiusercanvas. [02:31] dshaw: http://mrdoob.com/projects/multiuserpad/ [02:34] EyePulp has joined the channel [02:38] bradleymeck1: dshaw, yea websocket-server is faster but socket.io has more fancy events [02:39] dshaw: Yeah, if you want to put something into production socket.io's the more sane approach. [02:39] bradleymeck1: yea, but if you are running on low resources socket-server is the way to go, trade offs [02:40] dshaw: However, if you're developing a proof of concept or just having fun, then web sockets are fabulous. [02:40] bradleymeck1: socket-server has a flash fallback as well thanks to web-socket-js [02:41] dshaw: how flash socket performance? [02:41] dshaw: I block flash, so I'd probably never see it? [02:41] tekky: hmm is there a couchdb module in npm that works? 'couchdb' appears to be outdated or should I just find a url with a diffferent couchdb setup? [02:41] bradleymeck1: the flash client side does show some perf hit, but it supports ie6 so heh [02:41] bradleymeck1: you wouldnt see it [02:42] dshaw: Free IE6. Can't beat that. [02:42] bradleymeck1: 15% of my sites traffic, ugg [02:43] tyfighter has joined the channel [02:44] donspaulding has joined the channel [02:44] dshaw: I find working on some projects on the side that totally ignore the mess that is IE to be gratifying. [02:45] bradleymeck1: it is, but old ladies tend to not upgrade [02:45] dshaw: I deal with enough IE at work. [02:47] dshaw: Gotta feed your hacker soul too. [02:47] bradleymeck1: :D [02:49] cataska has joined the channel [02:49] bradleymeck1: but yea the flash support just requires the stuff i posted on news group, its not too bad [02:54] _announcer: Twitter: "@ Chanwit more good fun from here, on this server push now I moved camp node.js ago." [th] -- pphetra. http://twitter.com/pphetra/status/19541161756 [02:56] _announcer: Twitter: "@dshaw what's up? you're trying to get a heroku node.js beta account?" -- node knockout. http://twitter.com/node_knockout/status/19541269555 [03:04] JimBastard: tekky: use cradle [03:04] tekky: cradle? hmm [03:04] JimBastard: http://github.com/cloudhead/cradle [03:05] tekky: ahhh interesting [03:06] ChrisPartridge has joined the channel [03:12] _announcer: Twitter: "@ampdlife I haven played with Rails much but I had similar view as him. I'm working a lot in Node.js, Racket, and Python these days." -- Praful Mathur. http://twitter.com/dasickis/status/19542377481 [03:13] jesusabdullah: What's racket? :/ [03:14] samdk: jesusabdullah: Racket is the new name of PLT Scheme [03:14] samdk: http://racket-lang.org/ [03:14] jesusabdullah: huh [03:14] jesusabdullah: You use it? [03:15] samdk: I used PLT Scheme when I was going through the little schemer/the seasoned schemer, but I haven't used it since it became Racket, which was fairly recently. [03:15] jesusabdullah: ah [03:15] jesusabdullah: Oh, I think pkrumins went through those books! [03:15] jesusabdullah: Are they good? [03:16] samdk: they're my favorite programming books. I'd been taught recursive/functional programmer a couple of times before I read the little schemer, but it didn't really become natural until after I read it. [03:17] jesusabdullah: Hmm! [03:17] jesusabdullah: Cool [03:18] jesusabdullah: Do you know of anything cool that's been done with scheme lately? [03:18] jesusabdullah: I've noticed that this is what gets me interested in a language [03:18] jesusabdullah: like, not the language itself, but what the community has done with it [03:19] isaacs_mobile has joined the channel [03:19] ryah: http://news.ycombinator.com/item?id=1546634 [03:19] samdk: in terms of actual applications? no. scheme is a very minimal language without much in the way of libraries. it's more a thing for learning lisp/fp and also academic stuff, I think. if you want a lisp with lots of cool stuff happening, clojure's the language to look at. [03:21] softdrink has joined the channel [03:22] isaacs: ryah: voted! [03:24] _announcer: Twitter: "Apricot: a simple Hpricot clone for node.js http://github.com/silentrob/Apricot #nodejs" -- Ⓘⓢⓐⓐⓒ. http://twitter.com/izs/status/19543114423 [03:24] jesusabdullah: Ah [03:24] tekky: JimBastard: good call on cradle :) [03:24] JimBastard: aye [03:24] isaacs: we really gotta get keyword searching in npm [03:25] tekky: and maybe some way of flagging broken packages [03:25] tekky: 'couchdb' fails its make process [03:25] bradleymeck1: isaacs one day you will swap to the ls2 fork [03:26] isaacs: bradleymeck1: yes, definitely [03:26] isaacs: bradleymeck1: but i want to call that search [03:26] isaacs: the more i think about changing it, the more i started to notice how often I tell people to do "npm ls something" to debug stuff [03:26] isaacs: making that less simple would kind of suck. but we need fancy pants searching [03:26] isaacs: with queries and stuff [03:27] tekky: now to see if I Can implement couch for something useful :) [03:28] jesusabdullah: I kinda wanna play with couch, but idk what I would do with it! [03:28] tekky: I'm gonna see if I can make a cheesy album/song tracker for my mp3 collection :P [03:29] jesusabdullah: Hmm! [03:29] jesusabdullah: I wanna make a music recommendation system sometime [03:29] jesusabdullah: well, not really music recommendation [03:29] jesusabdullah: More like, music characterizing [03:29] isaacs: I made an apricot salad today in honor of Apricot. [03:29] tekky: pandora :P [03:29] tekky: (characterizes music) [03:30] isaacs: Witch looks interesting, too, though [03:30] jesusabdullah: sorta [03:31] mikeal has joined the channel [03:31] jesusabdullah: From what I've seen, Pandora makes use of music characterization, but that characterization itself was done with people [03:31] jesusabdullah: and was not mechanized [03:31] tekky: i wanna figure out a way to build my playlists w/o duplicating files due to repeat appearances on albums but that screws up my folder organization.... [03:33] wilmoore has joined the channel [03:38] holydevil has joined the channel [03:41] meso has joined the channel [03:43] yoni has joined the channel [03:47] o_o has joined the channel [03:47] yoni has left the channel [03:48] bradleymeck1: isaacs just say what you want in whitch and ill work on it, cant get npapi working, which is my current goal [03:58] _announcer: Twitter: "CouchDB, sinatra, js, mandoo.js, node.js, express, rails3 # fairs" [es] -- Rafael Souza. http://twitter.com/rafaelkin/status/19545309084 [04:01] rtomayko has joined the channel [04:06] CIA-77: node: 03Dmitry Baranovskiy 07master * ra585c5b 10/ src/node.js : Fixed format, so it wouldn’t blow up if %d argument is null or undefined + ensure that numbers will be numbers - http://bit.ly/akdufL [04:06] CIA-77: node: 03Dmitry Baranovskiy 07master * r8ab3c3e 10/ (lib/buffer.js test/simple/test-buffer.js): Added ability to pass offset to buffer write and toString methods as a string, i.e. '2' and encoding as anything - http://bit.ly/aRiIBx [04:09] bradleymeck1 has joined the channel [04:09] meso_ has joined the channel [04:09] bradleymeck1 has left the channel [04:14] cloudhead has joined the channel [04:14] tjgillies: does nodejs have default argument value i can declare in function declaration? [04:15] tjgillies: like function foo(bar=baz){} [04:15] cloudhead: tjgillies: that would require javascript to have that functionality, which it doesn't [04:16] tjgillies: ok [04:16] cloudhead: tjgillies: remember you can pass object literals to functions though [04:17] _announcer: Twitter: "New blog post: Using an SSL Certificate to Make a Secure HTTP Request in Node.JS http://bit.ly/bYw7EL" -- jamescarr. http://twitter.com/jamescarr/status/19546407420 [04:17] cloudhead: `func({ a: 1, b: 2 });` [04:20] tjgillies: cloudhead, thnx [04:21] mscdex: woot. my first chance to debug nodebuilder, and it still works :> [04:25] mscdex: jamescarr: in general, you shouldn't need to create your own key and certificate just to connect to a secure server [04:42] siculars has joined the channel [04:44] tekky: ahh darn, scratch that idea :( iTunes doesnt use playlist files anymore (if it ever did) [04:44] Guest16822 has joined the channel [04:45] ChrisPartridge: tekky: I don't think it ever did [04:46] tekky: i thought at one time it still used them... maybe im thinking WMP though (its been years (prior to switching to mac) since I bothered looking) [04:46] khug has joined the channel [04:47] tekky: if it did I was gonna try and get node + couch to output dynamic playlists ... maybe nextime [04:52] confoocious has joined the channel [05:00] rauchg_ has joined the channel [05:03] tyfighter has joined the channel [05:04] lachlanhardy has joined the channel [05:05] donpdonp has joined the channel [05:09] isaacs: tekky: i think itunes still has a sqlite/applescript interfae [05:09] isaacs: could you use that? [05:09] tekky: isaacs: maybe but the intiial idea was to watch file changes [05:09] isaacs: i see [05:10] isaacs: and i suppose sqlite doesn't have a _changes feed :) [05:11] tekky: well if it does not sure it would work this way [05:14] tekky: depending on how itunes handles changes to the db maybe it could... [05:16] mikeal has joined the channel [05:17] n3v3le1 has joined the channel [05:19] SteveDekorte has joined the channel [05:23] sh1mmer: this is probably dumb, but. [05:23] sh1mmer: why does 256 & 0xff not equal 1? [05:24] chilts: 256 is 0x100 [05:24] chilts: 255 is 0xff [05:24] tekky: chilts beat me to it [05:24] tekky: heh [05:24] chilts: :) [05:24] jsilver has joined the channel [05:24] sh1mmer: oh yeah, I guess that makes sense [05:24] chilts: I get the easy question :D [05:24] mscdex: coffeescript! [05:24] sh1mmer: it's one of those days [05:25] chilts: heh [05:25] chilts: hope it gets better :D [05:25] sh1mmer: I'm glad I've been debugging myself [05:25] sh1mmer: :D [05:26] tekky: heh [05:27] jsilver: hello node crew [05:27] jsilver: hello mscdex [05:27] mscdex: greetings earthling [05:27] jsilver: you like coffee? [05:27] jsilver: o/ [05:27] mscdex: i like coffee and scripts, but not together [05:27] jsilver: really, cause i like coffeee scrips [05:27] mscdex: orly [05:27] jsilver: ya rly [05:28] jsilver: u??? [05:28] mscdex: orly [05:28] jsilver: hold up. u trollin [05:28] mscdex: nowai [05:28] jsilver: omgyawai [05:28] jsilver: so ne wayz [05:29] jsilver: ne 1 hard enuf 2 help me make a coffee highlighter for codemirror? [05:29] jsilver: btw new episode of changelog is good ;) [05:30] sh1mmer: apparently I write a much better algorithm than I realised [05:30] jsilver: yea [05:30] sh1mmer: ACTION just deleted half my code as unneeded [05:30] jsilver: bal33t [05:31] jsilver: hey what do you guys think of "web 3.0" [05:31] sh1mmer: yeah. [05:31] jsilver: it's SSJS and pure JS sprouty stuff right? [05:31] jsilver: imo [05:31] holydevil has joined the channel [05:31] sh1mmer: everyone defines 'web 3' in a different way [05:32] sh1mmer: frankly we didn't know we had web 2.0 until we were there [05:32] jsilver: chris lloyd and eric shmidt are the only ones i agree with [05:32] jsilver: i feel like i knew about web 2.0 and am glad we are off it [05:33] jsilver: web 2.0: ajaxy crap, XHR, fake glossy shit, plastic, mix of languages (ruby/html/css/js/ajax) [05:33] sh1mmer: jsilver: I think you are only looking at the technology angle [05:33] jsilver: web 3.0: desktop RIA applications with the bussiness logic in JS so they can be cached and only dealing with a backend in a datastore fashion, and using webSocket instead of XHR for livey crap [05:34] sh1mmer: it's not XHR it's what XHR enabled. [05:34] jsilver: yeah [05:34] jsilver: im just trying to define it from the angle of what characteristics the apps have [05:35] jsilver: but so i youtubed "web 3.0" and watched like nearly every video [05:35] jsilver: and i disagree with most of the definitions [05:35] jsilver: :) [05:35] saikat has joined the channel [05:36] gwoo has joined the channel [05:37] tjgillies: how do you do dot notation on something like headers.content-type = "text/html"; im getting: ReferenceError: Invalid left-hand side in assignment [05:37] mscdex: tjgillies: headers['content-type'] [05:37] tjgillies: mscdex, thanks [05:40] jsilver: hehe [05:40] jsilver: so ya [05:41] jsilver: the point im makiing is [05:41] jsilver: i dont think the web has to be all about application... it can be for fun too... web 3.0 concepts can be applied to experiences that are just meant to be artistic or experimental... [05:42] jsilver: given the power of JS which we all know and love [05:43] jsilver: right? [05:44] jsilver: and the power of love as well [05:46] jsilver: with your powers combined [05:47] jsilver: i am [05:47] jsilver: Captain JavaScript [05:47] jsilver: ... [05:48] CaptainJavaScrip: lost my t in the great upgrade of web 2.0 [05:48] CaptainJavaScrip: ... [05:49] CaptainJavaScrip: arr, single-threadedness arr [05:50] CaptainJavaScrip: ACTION sails around in a ship completely made out of JavaScript [05:50] jsilver: that was a fun persona :\ [05:51] jsilver: too dead in here [05:51] jsilver: hope i caused some lols [05:55] mjr_: sh1mmer: have you seen Calculator.app's "Programmer view"? ⌘-3 It's great for doing bit math. [05:59] sh1mmer: mjr_: yeah [05:59] sh1mmer: I use that a lot [05:59] tekky: slackers, /me does it all in his head! [05:59] tekky: ok maybe not but it felt good to say it :P [05:59] sh1mmer: it feels good to lie? [06:01] confoocious has joined the channel [06:03] Blink7_ has joined the channel [06:07] khug has joined the channel [06:10] jansc has joined the channel [06:10] sh1mmer: mjr_: I just reread what you said. I thought you meant apple-2 [06:10] sh1mmer: mjr_: that's a really neat view [06:10] mjr_: oh cool [06:10] sh1mmer: thanks :) [06:10] mjr_: Yeah, I use it all the time when dissecting / packing protocols and packets. [06:13] sh1mmer: I'm pleased with the little helper I just wrote [06:13] sh1mmer: lemme gist it [06:13] sh1mmer: http://gist.github.com/490234 [06:13] sh1mmer: you can pass it a buffer [06:13] sh1mmer: and a number [06:14] sh1mmer: and then it will push the number to the buffer as bytes with the amount of padding you want [06:14] sh1mmer: e.g. if you want 1 to be 4 bytes it'll do that [06:15] mjr_: oh, cool. [06:15] sh1mmer: it will also split up big numbers into bytes [06:18] isaacs: oh, man, the next version of npm is gonna be SO customizable. [06:18] isaacs: already I've got relative links working, so you'll be able to pick the root up and move it around [06:18] cataska has joined the channel [06:19] isaacs: this is gonna make ivy and homebrew much happier [06:19] muhqu has joined the channel [06:20] ryah: isaacs: are npm docs on the web somewhere? [06:20] markwubben has joined the channel [06:20] isaacs: ryah: not yet, unless you count the markdown files in teh github repo [06:20] isaacs: ryah: i'm hoping someone will come along with an awesome "turn this into great html" solution at some point, and i wont' have to. [06:21] CIA-77: node: 03Ryan Dahl 07master * r402bcb8 10/ doc/api.markdown : Add reference to base64 encoding - http://bit.ly/bIsAZn [06:22] hassox has joined the channel [06:28] hassox has joined the channel [06:34] _announcer: Twitter: "@damienkatz Options: shell out; port driver a la @kevsmith; low-overhead comms channel e.g. 0MQ; implement dist protocol (e.g., in node.js)" -- Michael Bridgen. http://twitter.com/squaremobius/status/19553505300 [06:35] micheil: ryah: any feedback about separating the API documentation and developer documentation out of the manpage? [06:44] CIA-77: node: 03Ryan Dahl 07master * r2a4568c 10/ (5 files in 3 dirs): bump version - http://bit.ly/cYdFuq [06:45] _announcer: Twitter: "Said node.js more version to 0.1.102 of the ... http://plurk.com/p/6k6mrt" [zh-TW] -- Hsu Ping Feng. http://twitter.com/fillano/status/19553966746 [06:45] ryah: micheil: will reply tomorrow [06:46] _announcer: Twitter: "#nodejs v0.1.102 released http://groups.google.com/group/nodejs/browse_thread/thread/f672dab20e1bc4c5" -- Ryan Dahl. http://twitter.com/ryah/status/19554011759 [06:50] micheil: ryah: okay, thanks [06:50] micheil: ryah: because I'd really like to split the two so that we can make better documentation. [06:53] muhqu_ has joined the channel [06:56] micheil: ryah: also, about that stuff that's currently a branch, event source; could you tell me a bit about it? [06:57] micheil: like just quickly as to whether that's something I should be looking at for future development for the os interface or? [07:01] ctp has joined the channel [07:02] satori_ has joined the channel [07:03] SamuraiJack has joined the channel [07:03] franksalim has joined the channel [07:07] beanie___ has joined the channel [07:08] _announcer: Twitter: "node.js v0.1.102 has been released: http://nodejs.org/docs/v0.1.102/ #nodejs #javascript" -- Christian Scholz. http://twitter.com/mrtopf/status/19554982727 [07:08] _announcer: Twitter: "@austinfromboston: Wonderful seeing you again yesterday! Good luck building on node.js; another time perhaps." -- Renee Chu. http://twitter.com/reneighbor/status/19554991470 [07:10] _announcer: Twitter: "It's time to compile # nodejs 0.1.102. I've been trying a new system deployment versions." [ru] -- Serge Shirokov. http://twitter.com/kurokikaze/status/19555073068 [07:10] ryah: micheil: i have some slides about it [07:10] micheil: okay, cool [07:11] ryah: micheil: http://nodejs.org/illuminati0.pdf [07:11] micheil: I saw the branch on the weekend, and thought it'd be relevant to get more information on it before thinking about working on the os module I was working on [07:18] _announcer: Twitter: "node.js http://su.pr/2lnhWs provide an easy way to build scalable network programs" -- Amer Ghalayini. http://twitter.com/singetak/status/19555407219 [07:21] satori_: _ [07:25] _announcer: Twitter: "This movie could have been made in JavaScript with 3 nested closures. #inception #nodejs" -- Xavier Damman. http://twitter.com/xdamman/status/19555732641 [07:29] _announcer: Twitter: "Added a simple blog example for meryl using mustache.js http://bit.ly/cBjHvp . meryl and mustache marriage will be nice! #nodejs" -- Kadir Pekel. http://twitter.com/kadirpekel/status/19555894889 [07:36] teemow has joined the channel [07:40] pdelgallego has joined the channel [07:40] shockie has joined the channel [07:44] javajunky has joined the channel [07:47] qFox has joined the channel [07:52] ntelford has joined the channel [07:53] javajunky has joined the channel [08:02] TomY_ has joined the channel [08:04] sh1mmer: hell yes. [08:04] sh1mmer: first A record served. [08:05] adrienf: I was wondering: is there anyway to know what modules have been required? (an equivalent of sys.modules in python) [08:06] sh1mmer: adrienf: trying to work out if you need to include something? [08:06] sh1mmer: it should resolve transient deps for you [08:07] adrienf: sh1mmer: trying to watch if deps were modified since launch [08:07] _announcer: Twitter: "Just served the first A record from my _extremely_ rudimentary Node.js DNS server." -- Tom. http://twitter.com/sh1mmer/status/19557480613 [08:08] sh1mmer: adrienf: I don't know of a way, personally, sorry. [08:08] adrienf: I could hack a hook on require, but I'd really like not to touch to node's source… [08:09] sh1mmer: adrienf: do it and send in a patch [08:09] sh1mmer: :) [08:09] sh1mmer: These be pioneering days [08:10] N` has joined the channel [08:11] jonathantaylor has joined the channel [08:11] sh1mmer: night all [08:11] ryah: sh1mmer: nice [08:12] sh1mmer: :) [08:12] sh1mmer: thanks [08:12] sh1mmer: seriously I have to go though so I can get up for my day job [08:17] ctp has joined the channel [08:19] virtuo has joined the channel [08:21] femto has joined the channel [08:30] MrTopf has joined the channel [08:31] zomgbie has joined the channel [08:40] caolanm has joined the channel [08:41] hojberg has joined the channel [08:44] _announcer: Twitter: "NodeJS right? RT @ 54chen @ Fenng how to use js to write back services seeking the truth then" [zh-CN] -- arbow. http://twitter.com/arbow/status/19558990642 [08:48] siculars_ has joined the channel [08:57] aliem has joined the channel [09:02] Guest16822 has joined the channel [09:06] stride: adrienf: console.log(sys.inspect(process.mainModule.moduleCache)); or console.log(sys.inspect(module.moduleCache)); (though this doesn't include the native modules) [09:08] adrienf: stride: this is pure awesomness ! [09:11] stride: I'd call it undocumented and volatile ;) [09:13] adrienf: it'll do for now ;) [09:13] stride: :) [09:16] _announcer: Twitter: "@dylanfm Rails Rumble for node.js apps iirc." -- Ryan Bigg. http://twitter.com/ryanbigg/status/19560324417 [09:19] pkrumins: jesusabdullah: samdk: yeah, i read the little/seasoned schemer, half of the reasoned schemer, and the little mler. best books ever written. [09:23] damienkatz has joined the channel [09:23] damienkatz has joined the channel [09:23] maushu has joined the channel [09:24] blackdog has joined the channel [09:25] bvleur has joined the channel [09:27] Ned_: mikeal: ? [09:27] bvleur: Hi. What is the best way to search and replace a string in stream which I'm passing through sys.pump? Do I need to manually implement a stream interface, maintain buffers and loop through characters? [09:28] Ned_: heh, pump looks kinda cool [09:32] olegp has joined the channel [09:32] BiscuitsLap has joined the channel [09:34] sveimac has joined the channel [09:35] stride: bvleur: seems like it, since pumps only callback is for the close event and the buffers don't have a encoding aware replace functionality (at least I think so) [09:36] jetienne has joined the channel [09:36] bvleur: But looping through characters in node doesn't sound very speedy but regexes can't work if the string is split across chunks. [09:36] bvleur: It sound pretty tedious. [09:37] stride: yeah, you'd have to buffer to use regexp I guess. which is, of course, not really nice [09:37] bvleur: I can pipe it through a sed child process.. but that's not node :) [09:45] hassox has joined the channel [09:45] ewdafa has joined the channel [09:46] charlesjolley- has joined the channel [09:52] mscdex: bvleur: why not just handle the streams yourself, then you can have access to the data as it comes in? [09:54] bvleur: okay, so I could easily mimick sys.pump, but I can't write out a chunk as it comes in. I would have to buffer the incoming chunks as the needle might be across buffer boundaries.. And I would have to write string searching and manipulate the buffer myself right? And I have to make no (edge-case) mistakes there.. [09:54] bvleur: so I was wondering if anyone had any tips for doing that stuff without it getting really slow [09:55] stride: if you know the encoding you can convert it to a string and use regular replace methods but other than that, yep [09:55] bvleur: just making a for loop for every buffer character already sounds quite slow (which I only know if I do it) [09:55] MattJ has joined the channel [09:56] bvleur: I think I just want the node-sed module to be written for me :D [09:56] mscdex: bvleur: well until Buffer gets an indexOf method, your best bet is to just buffer large chunks at a time and then replace [09:57] bvleur: well, it's nice to know I'm not overlooking some obvious way of integrating a regex in a stream or something. [09:57] mscdex: i mean, you could always do buffer.toString().indexOf() i suppose [09:58] mscdex: or if you're only dealing with non-binary data, just set an encoding on the stream and it'll always be a string instead of a buffer [09:58] stride: bvleur: nah, just looked into node_buffer.cc and the js part for it, nothing for your use-case there that I can see [10:00] mAritz has joined the channel [10:04] sveimac has joined the channel [10:08] _announcer: Twitter: "gotta say ... node.js is fantastic! Using Orbited for HTML5 WebSocket emulation is pretty useful too :)" -- Ryan Grenz. http://twitter.com/ryangrenz/status/19562570452 [10:12] bryanwbxvzf has joined the channel [10:14] bryanwbxvzf: Any italiano noders out there? [10:20] ryan[WIN]: Enterprise software design is all about taking something that took up 100k lines of COBOL and ran on a single mainframe computer in 1978 and find a way to make it run slower on 150 modern computers with a million lines of Java. [10:21] ryan[WIN]: true or false [10:27] ntelford: that's rubbish imo [10:27] mscdex: COBOLOL [10:27] stride: only if your approval lifecycle makes it possible to put stuff newer than 1978 into productive use :) [10:27] ntelford: enterprise problems have changed a lot since 1978 [10:32] aurynn has joined the channel [10:36] jetienne: q. how to intercept ctrl-c/sigint with node ? [10:37] beanie___: process.on('SIGINT', function () { [10:37] beanie___: console.log('Got SIGINT. Press Control-D to exit.'); [10:37] beanie___: }); [10:37] beanie___: @jesusabdullah [10:37] beanie___: @jetienne [10:37] beanie___: sorry [10:37] beanie___: :))) [10:38] jetienne: beanie___: i never get the console.log and the program is interupted [10:38] beanie___: which node version do you have? [10:38] beanie___: you need > 101 [10:38] jetienne: 101 [10:38] jetienne: 101 is no more the last? [10:38] jetienne: like implemented yesterday:) [10:39] beanie___: hmm [10:39] maushu: jetienne: Are you sure you are using "on"? [10:39] jetienne: beanie___: same behavior with 102 and 101 [10:40] jetienne: process.on('SIGINT', function () { console.log('Got SIGINT. Press Control-D to exit.'); }); [10:40] jetienne: i just did cut/past. are you runing linux or mac ? [10:40] beanie___: mac [10:42] maushu: Ah yes. Mac. [10:42] maushu: The source of all EVIL! [10:43] jetienne: process.addListener('SIGINT', function () { console.log('Got SIGINT. Press Control-D to exit.'); }); [10:43] jetienne: nope [10:43] jetienne: process.on doesnt exist in the 102 source [10:44] jetienne: http://github.com/ry/node/blob/master/src/node.js#L80 [10:45] mscdex: .on() is only available for objects that inherit from EventEmitter [10:47] jetienne: ryah just forgot on this one i guess [10:51] aurynn has joined the channel [10:54] Guest45299 has joined the channel [10:56] mqt` has joined the channel [10:56] fermion has joined the channel [10:58] mqt` has joined the channel [10:58] josemoreira has joined the channel [11:04] mqt` has joined the channel [11:10] joshbuddy has joined the channel [11:11] robinduckett has joined the channel [11:12] robinduckett: mornign [11:14] josemoreira: howdy [11:15] mscdex: morning [11:17] MrTopf: hi [11:21] mikeal has joined the channel [11:23] mAritz: morning [11:26] jchris has joined the channel [11:26] chapel has joined the channel [11:26] bmizerany has joined the channel [11:27] mattly has joined the channel [11:28] phiggins has joined the channel [11:28] wilmoore has joined the channel [11:36] phiggins has left the channel [11:43] dnolen_ has joined the channel [11:54] _announcer: Twitter: "is going to learn networking by installing Debian Linux, and setting up a server running nodeJS: server-side JavaScript FTW!" -- Christopher Scott. http://twitter.com/christopherscot/status/19567668752 [11:56] charlesjolley- has joined the channel [12:02] javajunky has joined the channel [12:03] mpoz2 has joined the channel [12:04] micheil has joined the channel [12:05] victorstan has joined the channel [12:06] mscdex: coffee time! [12:07] sveisvei has joined the channel [12:08] micheil has joined the channel [12:09] MattJ: I read that as "Twitter is going to learn networking by installing Debian Linux" [12:09] mscdex: :> [12:09] chrischris has joined the channel [12:09] mscdex: well, maybe they are :-D [12:13] micheil has joined the channel [12:14] MattJ: Stranger things have happened :) [12:15] aheckmann has joined the channel [12:22] karboh has joined the channel [12:26] xla has joined the channel [12:28] _announcer: Twitter: "node.js IRC visualized by @mape as war games. http://wargamez.mape.me/" -- Dan Croak. http://twitter.com/Croaky/status/19569602858 [12:31] MattJ: Hmm [12:32] bvleur: Which events does a child process emit? I only see 'exit' defined in the docs, but the same docs also talk about the 'output' callback [12:32] jansc has joined the channel [12:33] mscdex: bvleur: where? [12:33] bvleur: Near the Event: 'exit' it says: [12:33] bvleur: After this event is emitted, the 'output' and 'error' callbacks will no longer be made. [12:34] mscdex: i don't see that text... [12:34] dnolen_ has joined the channel [12:34] bvleur: http://nodejs.org/api.html#event-exit-89 [12:34] mscdex: oh, you're looking at the child process exit event [12:35] mscdex: looks like a typo [12:36] bvleur: Okay.. there are no such callbacks right? [12:36] mscdex: not as far as i know [12:36] mscdex: well, i mean the 'error' event is special [12:37] mscdex: but 'output' doesn't exist i'm pretty sure [12:37] bvleur: There is an 'error' event for child processes? [12:38] bvleur: Oh, every EventEmitter has one.. I see [12:38] mscdex: yeah [12:41] _announcer: Twitter: "@amrnt when i will start playing with nodejs , can i turn to you with questions? i could use some help on it..." -- Amir Harel. http://twitter.com/amir_harel/status/19570328219 [12:41] bvleur: I'm so confused though. The order of spawning two processes inside one event handler really seems to matter, even if I don't do anything with the processes from node [12:42] bvleur: But I can't produce a reduced test-case yet [12:43] _announcer: Twitter: "Mongoose for #mongo and #nodejs looks super awesome. Can't wait for it to mature a bit before we can use it. http://bit.ly/afPM6I" -- Lachy. http://twitter.com/supagroova/status/19570476001 [12:45] mscdex: bvleur: what do you mean? [12:46] bvleur: It probably all means I'm messing up. I guess it isn't fair to bother you unless I have a reasonable test-case [12:46] bvleur: But I'm spawning perl and ghostscript inside a 'response' event [12:47] mscdex: !tweet @amir_harel we're here for your questions too... #Node.js on irc.freenode.net :-) [12:47] bvleur: and if I'm doing ghostscript first and perl next the entire thing locks up.. If swap them, everything is fine [12:47] bvleur: but it's just two lines that can't be interupted by events or something.. that's what's confusing me most. [12:48] mscdex: what locks up? [12:49] bvleur: Wel, the sys.pump piping output from ghostscript into perl seems to not pump any events. [12:49] _announcer: Twitter: "From Europe, looking for sponsorships to go to SF's Node.js knockout - http://su.pr/2ekif3" -- eBot. http://twitter.com/kicauan/status/19570820735 [12:50] bvleur: How does spawning work? Is the process created synchronously, or is it created on the next tick? [12:50] zapnap has joined the channel [12:51] mscdex: dunno off the top of my head [12:51] jherdman has joined the channel [12:52] BryanWB has joined the channel [12:54] _announcer: Twitter: "http://dosync.posterous.com/clojure-nodejs-and-why-messaging-can-be-lame" -- nareshov. http://twitter.com/nareshov/status/19571094368 [12:55] mscdex: glancing through the source, it looks like it creates the process right away [12:56] bvleur: but it does internally buffer all stdin en stdout directly [12:56] bvleur: well, I guess that happens on OS level anyway in some way [12:59] sadiq has joined the channel [12:59] joshbuddy has joined the channel [12:59] robinduckett: I do like how the barcode on the nodejsbot twitter is inaccurate [13:00] sadiq: robinduckett: oh? [13:00] robinduckett: as in, content wise [13:01] robinduckett: should it not be irc://irc.freenode.net/node.js rather than irc://irc.freenode.net#node.js [13:01] sadiq: robinduckett: ahh, yes. [13:05] josemoreira: im the guy behind that europe annoucement :) [13:05] ben_alman has joined the channel [13:06] mape: europe announcement? [13:06] mape: oh nm [13:06] BryanWB: any noders out there in Rome? [13:07] wattz: Morning! [13:09] maushu: Romans? [13:09] wattz: Rome, GA? [13:09] wattz: :D [13:10] jetienne has joined the channel [13:12] kriszyp has joined the channel [13:18] _announcer: Twitter: "Node.js you should be able to move. Rashii" [ja] -- Daigo Iwade. http://twitter.com/daigo31/status/19572694838 [13:20] BryanWB: anybody know which ubuntu packages provide execinfo, kqueue, and sys/event.h? [13:20] mAritz: seriously node.js, MOVE! [13:20] BryanWB: maushu, yes ;) [13:21] BryanWB: wattz, i have been to Rome, GA and it very different from the Rome I see out my window :) [13:21] FransWillem has joined the channel [13:22] mscdex: BryanWB: those things are for other operating systems [13:22] BryanWB: mscdex, ah,tks [13:22] mscdex: BryanWB: don't worry about them [13:27] mape: http://yourworldoftext.com/opensource [13:29] c4milo has joined the channel [13:29] eyzn: nice :D [13:30] _announcer: Twitter: "Javascript & jQuery templating on serverside and client side by @renedudfield: http://bit.ly/alVUz9 #JavaScript #jQuery #NodeJS" -- Kevin Darty. http://twitter.com/kdarty/status/19573437460 [13:31] davidsklar has joined the channel [13:32] tmedema has joined the channel [13:33] d0k has joined the channel [13:34] stepheneb has joined the channel [13:35] stepheneb has joined the channel [13:36] _announcer: Twitter: "i live in portugal, europe, and i'm looking for sponsors to fly out to http://nodeknockout.com; please RT; .@node_knockout #node.js" -- zemanel. http://twitter.com/zemanel/status/19573902649 [13:37] josemoreira: your twitter bot is stalking me [13:37] mscdex: ;-) [13:38] pgriess has joined the channel [13:39] mscdex: we need yourworldoftext to be node.js-based! :-> [13:41] pgriess has joined the channel [13:41] josemoreira: mscdex, talking to me? [13:41] mscdex: no, the link mape posted [13:42] josemoreira: ah [13:46] maushu: ACTION pokes josemoreira. [13:46] maushu: mscdex: I was thinking about it. [13:47] mscdex: :o [13:47] behmann has joined the channel [13:47] ewdafa has joined the channel [13:49] maushu: I really don't like using tables there though, I was wondering of divs would be better. [13:49] liesen has joined the channel [13:50] davidsklar has joined the channel [13:52] josemoreira: ACTION knows out maushu  [13:52] pgriess has left the channel [13:56] _mythz has joined the channel [13:56] _announcer: Twitter: "Our very own @voodootikigod is juding the Node.js KO @node_knockout event http://bit.ly/bM8v7O" -- JSConf. http://twitter.com/jsconf/status/19575220610 [13:56] _announcer: Twitter: "On the advice of @ kurokikaze looked Module promise for # node.js. I decided that for the sake Erbeck is not worth pulling nakaryabal velosipedik." [ru] -- Devgru. http://twitter.com/Devgru/status/19575259863 [13:57] aaronj1335 has joined the channel [13:58] akahn has joined the channel [14:01] _announcer: Twitter: "Understanding node.js - http://bit.ly/cDdmwQ #javascript #server" -- Peter C. http://twitter.com/kaosu_/status/19575593161 [14:03] jetienne: promise ? what is this [14:03] robinduckett: you know what would be good? HMAC-SHA1 support on buffers [14:03] pgriess has joined the channel [14:04] hellp has joined the channel [14:05] davidwalsh has joined the channel [14:05] ajpiano has joined the channel [14:07] pgriess has left the channel [14:08] ceej has joined the channel [14:08] aaronj1335 has joined the channel [14:09] ewdafa has joined the channel [14:09] aaronj1335: I have a question, when I run this: fs.readFile('data.json', function(err, data) {console.log(data);}) [14:09] aaronj1335: I get a the file contents which looks like JSON: {"dbport": 27017, "dbhost": "localhost", "dbname": "my_db"} [14:09] robinduckett: JSON.parse() perhaps? [14:10] aaronj1335: but I get an error when I run this: fs.readFile('data.json', function(err, data) {JSON.parse(data);}) [14:10] robinduckett: what error? [14:10] robinduckett: how are you encoding the data? [14:10] aaronj1335: error text: [object Context]:1 [14:10] aaronj1335: se(data);}) [14:10] aaronj1335: ^ [14:10] javajunky: JSON: looks a bit weird. [14:10] javajunky: if thats in your file I suggest removing it. [14:10] aaronj1335: the JSON was output from python json.dump() [14:11] mscdex: aaronj1335: you have to do JSON.parse(data.toString()); i think [14:11] robinduckett: javajunky: i think that's output from his string [14:11] robinduckett: s/string/script [14:11] robinduckett: wtf is wrong with me toda [14:11] robinduckett: y [14:11] javajunky: robinduckett: not entirel ysure you can assume that [14:11] robinduckett: *kilsl self* [14:12] aaronj1335: hey yo! that .toString() seemed to work [14:12] mscdex: aaronj1335: data is a Buffer, unless you explicitly specify an encoding [14:12] javajunky: go mscdex, although I'm somewhat surprised by that, if you provide an encoding to fs.readFile does that help [14:12] javajunky: ah indeed [14:13] robinduckett: how are you encoding the data? [14:13] bpot has joined the channel [14:13] zaach has joined the channel [14:13] robinduckett: just sayin' [14:13] mscdex: :P [14:13] mscdex: the answer is they weren't [14:14] aaronj1335: thanks mscdex, i think i'm learning [14:14] javajunky: it probably doesn't help that there will be numerous wxampls of that without the encoding stuff ;) [14:15] mscdex: aaronj1335: you'll find that a lot (if not all) of the file system methods use Buffers for data, as well as other modules, such as http stuff [14:15] gf3 has joined the channel [14:15] mscdex: aaronj1335: unless you explicity set an encoding, in which case it'll be a string of that encoding [14:15] Politoed has joined the channel [14:16] robinduckett: and console.log probably automatically calls .toString() on buffer objects passed to it [14:17] robinduckett: or it outputs the buffer byte by byte [14:17] _announcer: Twitter: "Still buy the display? Heck yes node.js itself but are put into Easy, my imagination? Oh, what imagination RT: @ daigo31: Utsu Rru Datsu! Force already broken heart? (Smartly" [ja] -- keiko. http://twitter.com/keiko713/status/19576737723 [14:17] robinduckett: Best. Translation. Ever. [14:18] d0k: Heck yes node.js! [14:18] robinduckett: "Still buy the display? Heck yes node.js itself but are put into Easy, my imagination? Oh, what imagination" [14:18] robinduckett: My imagination? Oh, what imagination [14:18] robinduckett: engrrrrish [14:18] Gruni has joined the channel [14:19] BryanWB: is there a way I can run a node script and then invoke the command-line interpreter at the end of it? would help my debugging [14:19] mscdex: that sounds like something from Napolean Dynamite: "heck yes node.js" [14:19] aaronj1335: mscdex: how do i specify an encoding other than .toString()? [14:20] [[zz]] has joined the channel [14:21] mscdex: aaronj1335: well you can do it two ways: fs.readFile(filename, 'utf8', function(err, data) {}) OR specifying an encoding in the toString method like: data.toString('utf8') [14:21] maushu: BryanWB: use require('child_process').spawn(command, args=[]); [14:22] mscdex: aaronj1335: i think data.toString() uses utf8 by default though iirc [14:22] BryanWB: maushu, hmm, where command is my script? or do I put that statement inside my script? [14:22] maushu: Remember that node.js is async, the application might not end at the end of the script. [14:22] BryanWB: maushu, ah yes [14:22] maushu: BryanWB: That is used to run a command from node.js [14:23] _announcer: Twitter: "Dear Node.js: I sincerely miss you. Will come over for pizza and beer in a few weeks." -- Paul Allen. http://twitter.com/xyoni/status/19577145585 [14:23] mscdex: !tweet @xyoni we miss you too! [14:25] keeran has joined the channel [14:26] wattz: ahh, and a fine morning it is! [14:26] mischievious has joined the channel [14:26] wattz: planning out this node mysql driver [14:27] BryanWB has joined the channel [14:27] wattz: wondering if i should make a vanilla driver for mysql for general js then use node and js to make it more nodey :D [14:27] mscdex: eh? [14:27] ThePub has joined the channel [14:28] mscdex: what's wrong with the current bindings? [14:29] wattz: which ones, I saw a ton of them on de'webz [14:31] BryanWB: is their a preferred module for command-line argument parsing? [14:31] BryanWB: s/their/there/ [14:32] pgriess has joined the channel [14:32] mscdex: BryanWB: there's a few: http://wiki.github.com/ry/node/modules#parsers-commandline [14:32] maushu: yourworldofimages.com is available! Just $10.69*/yr [14:32] BryanWB: mscdex, tks [14:32] wattz: mscdex: you have a nice weekend? [14:33] mscdex: wattz: there's this one which is pure js: http://github.com/sidorares/nodejs-mysql-native [14:33] wattz: yeah i would rather write one in C++ [14:33] mscdex: wattz: meh it was ok. finally pushed api docs for grappler [14:33] wattz: just to expsoe the core functionality [14:33] wattz: mscdex: nice [14:34] mscdex: wattz: there is a c++ binding, but it's not async yet [14:34] wattz: I finally got my forms (for node framework) working like i want to [14:34] wattz: I was going to just write core mysql bindings in C++ and then js for making async [14:34] mscdex: a wrapper around libmysqlclient or what? [14:35] mscdex: here is the c++ binding: http://github.com/Sannis/node-mysql-libmysqlclient [14:35] wattz: yeah, mysql.h [14:35] wattz: yeah saw that one, not sure i was a fan [14:35] wattz: came across as coded a bit cumbersome [14:36] mscdex: if you use libmysqlclient, you'll have to use a thread pool [14:36] wattz: right [14:36] ewdafa has joined the channel [14:36] Blink7_ has joined the channel [14:36] wattz: im still in planning [14:36] wattz: i have written mysql drivers before with libmy and sockets [14:36] wattz: just not for js [14:36] bradleymeck_ has joined the channel [14:36] Blink7__ has joined the channel [14:37] samdk has joined the channel [14:38] mscdex: i've had good luck with the pure js driver [14:38] mscdex: and it's actively maintained which is a plus [14:38] Blink7___ has joined the channel [14:38] wattz: mscdex: yeah [14:38] kodisha has joined the channel [14:38] wattz: but seems like a slow way to do it [14:39] mscdex: why slow? [14:39] mscdex: it uses async sockets :-) [14:39] wattz: it's jsut sockets right? [14:39] wattz: maybe it's just stigma, seems C++ would be faster [14:40] c4milo: jum [14:40] c4milo: o you can write bindings for libdrizzle [14:40] c4milo: s/o/or/i [14:40] wattz: seen that [14:41] c4milo: that would be nice :) [14:43] wattz: c4milo: drizzle is the open source mysql effort right? [14:44] voodootikigod_ has joined the channel [14:44] ntelford: yes [14:44] wattz: they past mysql 3 yet? [14:44] mscdex: "Drizzle is a community-driven project based on the popular MySQL DBMS that is focused on MySQL's original goals of ease-of-use, reliability and performance." [14:45] mscdex: http://drizzle.org/wiki/MySQL_Differences [14:45] mscdex: :p [14:45] frodenius: mysql _is_ open source? [14:45] mscdex: it's oracle source [14:45] mscdex: :s [14:45] frodenius: and that's not open? [14:45] wattz: mscdex: lol [14:45] wattz: yeah [14:46] wattz: open-ISH [14:47] mscdex: yes, the source is still available [14:47] wattz: im staring hard at couch right now [14:47] wattz: read some bad stuff about mongo :P [14:47] jetienne: soon we will get orm for those nosql stuff [14:48] frodenius: wattz: oh i'd be interested in that [14:48] jetienne: thus being independant of the underlying db system [14:48] mscdex: wattz: furniture shopping? [14:48] wattz: jetienne: pretty soon there will be orm's for our orms. [14:48] wattz: mscdex: yeah, need a futon! [14:49] mscdex: that sounds like the name of a lightweight alternative to couchdb [14:49] wattz: is couch heavy? [14:49] mscdex: depends on how many people are lifting [14:49] wattz: [14:49] mscdex: :> [14:50] mscdex: futondb [14:50] wattz: heh [14:50] _announcer: Twitter: "@optilude it's a mixed bag; in no-man's lands like node.js, finding more up-to-date forks can be a godsend" -- MattBowen. http://twitter.com/MattBowen/status/19579120192 [14:50] wattz: Im going to start a new storage engine called "HighChair" it will be the storage engine for baby developers [14:51] wattz: :D [14:52] mscdex: as long as it can scale infantly [14:52] mscdex: ;-) [14:53] wattz: naa, it basically just shits itself and drools. [14:54] wattz: wow, my lowes.com email address gets more spam than my gmail. [14:55] _announcer: Twitter: "With no optimisations, jquery + node.js is fast enough... ~100 req/s on laptop. Loading/parsing everything from scratch each req, no cache." -- Rene Dudfield. http://twitter.com/renedudfield/status/19579427187 [14:56] robinduckett: 100 req/s is slow? [14:56] robinduckett: as long as it can scale infantly < this is a funny thing. [14:56] mape: depends on what you are duing [14:56] dylan_ has joined the channel [14:56] mape: if it is solving cancer I'd say it's pretty fast [14:56] mape: *doing [14:57] robinduckett: plz to be adding interrobang on your sentences so i know if you're being sarcastic [14:57] JimBastard has joined the channel [14:57] quirkey has joined the channel [14:58] mscdex: here he comes [14:58] robinduckett: JimBastard? :D [14:58] JimBastard: ALL HAIL KING NEPTUNE AND HIS WATER BREATHERS [14:58] JimBastard: im in a retro right now so i cant talk much [14:58] robinduckett: in a whatnow? [14:58] JimBastard: AGILE METHOD NIGGA DO YOU HAZ IT [14:58] JimBastard: retrospective [14:59] JimBastard: >.< [14:59] robinduckett: Man I'm so Agile I'm a Ninja. [14:59] ewdafa has joined the channel [14:59] robinduckett: Relatively speaking, at least, being the only developer. [15:00] steadicat has joined the channel [15:00] wattz: heh [15:00] MattJ: "Right team, we're throwing away all the code and starting again" <-- you can't get this agile with a team :) [15:00] wattz: who is a SCRUM pirate here? [15:00] robinduckett: I love refering to myself in the third person as "team". [15:01] wattz: hell while Im in C++ mode, should just write my url router in C++ too :P [15:01] wattz: robinduckett: they throw the word "agile" around here in our 6 month release cycle and our 4 meetings a day world! :D [15:01] SubStack: just spin off as much code as possible into properly packaged npm-able reusable modules [15:02] joshbuddy has joined the channel [15:02] SubStack: throwing away code == awesome [15:02] robinduckett: I wish I could do that [15:02] mscdex: until your bitbucket gets full [15:02] wattz: vomitting code is awesome [15:02] wattz: be more fun if i wasn't a commit nazi :P [15:02] gf3 has joined the channel [15:02] adamv has joined the channel [15:03] wattz: what's the word when 2 different languages can intercommunicate? inter....p... [15:03] wattz: not interpolation.. [15:03] SubStack: interprocess [15:03] wattz: doesn't sound right [15:03] wattz: putting together my bullshit bingo card [15:04] wattz: ajax, agile, scrum, [15:04] wattz: web 2.0 [15:04] wattz: box model [15:04] wattz: good card going here and im going to win this time [15:04] SubStack: I hate agile personally [15:04] SubStack: too much process [15:04] wattz: just give me a bullet list of what you want, and let me build it. [15:04] mscdex: too much? [15:04] wattz: + timeframe [15:05] javajunky: SubStack: surely by definition there should only be as much process as you require/want ? [15:05] mscdex: agile is people-oriented [15:05] javajunky: people over process in fact is part of the manifesto iirc ? [15:05] mscdex: yeah [15:05] softdrink has joined the channel [15:05] wattz: it is interpolation but "Engineering has curved it's meaning to mean communication between analysis or process" [15:07] SubStack: yeah, screw people [15:07] SubStack: just write some programs to figure out if what you just threw up into your $EDITOR is good enough to ship [15:07] robinduckett: interoperate? :P [15:08] SubStack: interpolation really? [15:08] wattz: yup [15:08] SubStack: "when I think interpolation I think of $this" [15:08] SubStack: (a message (spoken or written) that is introduced or inserted [15:08] wattz: i think of communication between to objects who share a common source of data [15:09] wattz: it's so weird coming from a startup to a large corp [15:10] _announcer: Twitter: "best nodejs redis client? google doesn't know about it yet." -- Dylan Clendenin. http://twitter.com/deepthawtz/status/19580511970 [15:10] wattz: i seem to finish stuff way to fast :P [15:10] adamv: wattz: You're making the rest of them look bad. [15:10] wattz: haha [15:10] wattz: it's why im talking to you guys and not closing this ticket yet :P [15:12] donspaulding has joined the channel [15:13] donspaulding1 has joined the channel [15:13] wattz: perhaps i should just be really trendy and write a noSQL store :D [15:13] d0k: myNoSQL? [15:14] wattz: haha [15:14] wattz: you can force mysql to be nosql, it's hackeriffic [15:14] wattz: friendfeed dudes did it up [15:15] wattz: eh, router in C++ would be awkward :P [15:16] SubStack: nosql folks should start building object graphs instead of their powerless key/value stores [15:16] wattz: lol [15:16] mscdex: distributed linked lists! [15:16] Tim_Smart has joined the channel [15:17] wattz: i had a convo with a dude who actually said "You could use memcache db to store stuff in memory" [15:17] wattz: ACTION get's sick to his stomach [15:17] mscdex: bad burrito? [15:17] wattz: if by burrito you mean "memcache db" [15:18] aho has joined the channel [15:18] mjijackson has joined the channel [15:19] markwubben has joined the channel [15:19] wattz: any of you guys do any C++ for noe? [15:19] wattz: node [15:19] aspergillusticor: Guess the reference and win [15:19] softdrink: that is a hell of a nick. [15:19] wattz: fungus? [15:20] SubStack: nosql reminds me of tea party "activists" [15:20] aspergillusticor: Guess the reference! [15:20] softdrink: no idea [15:20] aspergillusticor: Clue: 1347 [15:20] SubStack: against something, sql in this case, which can be pretty terrible [15:20] wattz: right tool for the job [15:20] wattz: that is all. [15:20] robinduckett: You guys suck [15:21] wattz: i thought aspergillusticor was a fungus [15:21] wattz: heh [15:21] SubStack: robinduckett: it's true [15:21] robinduckett: Not a real one [15:21] wattz: Ticor [15:21] wattz: Protein [15:21] robinduckett: Aspergillus is a fungus, there's no such species as Ticor [15:21] wattz: right [15:21] wattz: but that was the reference [15:21] robinduckett: No [15:21] wattz: ? [15:21] wattz: forgot the ? [15:21] robinduckett: What was I referencing [15:22] robinduckett: Answer: http://www.primermovie.com/ [15:22] adamv: Probably some zombie movie [15:22] robinduckett: boom smoked you [15:22] wattz: movie [15:22] adamv: D'oh [15:22] d0k: I don't remember any fungus in primer [15:22] d0k: but I didn't understand that movie anyway [15:22] wattz: aspergillusticor is the fungus [15:22] adamv: The fungus was how they figured out about the time dliation [15:22] _announcer: Twitter: "Slicehost, Node.js & WebSockets / / The sur l'installation de node.js sur ubunu [EN] http://icio.us/wsllio" [cs] -- Gregoire Pineau. http://twitter.com/lyrixx/status/19581412182 [15:22] SubStack: primer <3 [15:22] robinduckett: <3 Primer && SubStack [15:23] SubStack: d0k: then you understand primer perfectly [15:23] robinduckett: I just bought the soundtrack [15:23] robinduckett: for �6 [15:23] robinduckett: on amazon mp3 [15:23] robinduckett: Abe's voice annoys the fuck out of me though. (Watching Primer in work) [15:23] SubStack: I've only watched it twice though :( [15:24] wattz: never seen it :P [15:24] robinduckett: I've watched it about 50 times [15:24] robinduckett: and I do understand the bulk of the timelines [15:24] mw_ has joined the channel [15:24] robinduckett: and the whole TG incident was purposefully confusing [15:25] Blink7 has joined the channel [15:25] robinduckett: To illustrate someone erasing a timeline [15:25] robinduckett: And it just so happened that both the main characters were effected [15:26] robinduckett: Shane Carruth seems like a really cool dude. [15:28] javajunky has left the channel [15:28] wattz: ok, you guys have to answer a client side js question for me :D [15:29] wattz: hey, someone point me in the right direction to be able to grab cookie's from an iframe content [15:29] robinduckett: lol [15:29] wattz: D [15:30] charlesjolley- has joined the channel [15:30] samdk has joined the channel [15:32] tjholowaychuk has joined the channel [15:32] _mythz has left the channel [15:33] ceej: tjholowaychuk: morning, just saw you message on the google groups [15:33] tjholowaychuk: ceej: morning [15:33] robinduckett: wang [15:33] robinduckett: uh [15:33] tjholowaychuk: just working on some of that stuff right now [15:33] robinduckett: wattz [15:33] robinduckett: http://www.lmgtfy.com?q=js+cookie+iframe [15:33] robinduckett: go nuts [15:33] ceej: are you talking about you blog example where you mount the blog app to you main route ? [15:33] robinduckett: third one down is pretty good. [15:34] wattz: robinduckett: i did, it's not cross domain [15:34] wattz: going to do a hostfile hack [15:34] tjholowaychuk: ceej: mounting in general but thats the only example so far yup [15:34] BryanWB: one node process will only run on one cpu core, correct? so to use more cores i have to delegate work to child processes, correct? [15:34] mjr_ has joined the channel [15:36] felixge has joined the channel [15:36] felixge has joined the channel [15:36] _announcer: Twitter: "Someone Literature Reviews bzgl node.js # and # NoSQL? Amazon is not as up-to-date ..." [de] -- Falco. http://twitter.com/ulmerleben/status/19582352679 [15:36] ceej: tjholowaychuk: ye I was playing around with that the other day, I love the way the mounted app inherits from the main and you can override views/public folder inside the mounted app so that mounted app can be completely contained [15:36] dmcquay has joined the channel [15:36] felixge: ryah: Can http_parser handle > 2GB POST bodies? It seems like it can't due to content_length being a ssize_t ? [15:37] jesusabdullah: 2 gigabytes? [15:37] jesusabdullah: o_o [15:37] tjholowaychuk: ceej: yeah man :) some people wanted the ability to inherit some settings, so I added app.mounted(), just a little hook where you can do whatever you wish to the parent app or the child app [15:38] o_o has joined the channel [15:38] ditesh|cassini has joined the channel [15:41] felixge: jesusabdullah: yes [15:41] ceej: I get you, because the way I have laid out my app is each module (folder) contains the MVC public/views etc.. then you can just mount to the route at /whatever but I don't have to set things like sessions in the module because it inherits from the main. I'm actually trying to convince my business partner to switch from php/ci to express. So are you proposing making the inheritance manual? [15:41] bpot has joined the channel [15:41] _announcer: Twitter: "my #node.js script looks like Hell w/ all the callbacks, time to try Step.js" -- Bryan. http://twitter.com/bryanwb/status/19582726141 [15:41] jesusabdullah: felixge: What're you doing, if you don't mind me asking? What would lead to you trying to post so much data? I mean, that sounds almost scientific in size [15:41] jesusabdullah: naw mean? [15:41] JimBastard: sup mikeal, you alive? [15:42] mikeal: yeah [15:42] JimBastard: jesusabdullah: transload.it [15:42] mikeal: i went to Death and Co and PDT last night [15:42] wattz: Mr. Couch himself! [15:42] wattz: :D [15:42] felixge: jesusabdullah: video file uploads ;) [15:42] mikeal: i should have just gone home after Death and Co [15:42] JimBastard: hee hee [15:42] jesusabdullah: felixge: Ah, that makes sense :D [15:42] JimBastard: im at work [15:42] jesusabdullah: Oh yeah, transload.it, I remember this! [15:42] jesusabdullah: Sounds nifty [15:43] jesusabdullah: Makes me want to get into some sorta web biz just to have an excuse to play with these cool things [15:43] felixge: jesusabdullah: you can always get a paying account and not use it :) [15:43] felixge: just kidding [15:43] jesusabdullah: felixge: XD [15:44] _announcer: Twitter: "listen again at about nodejs @ @ temanmacet" [id] -- Manuk Guwek. http://twitter.com/tediscript/status/19582914974 [15:44] aglemann has joined the channel [15:45] voodootikigod__ has joined the channel [15:45] charlesjolley- has joined the channel [15:46] V1_ has joined the channel [15:47] softdrink: anyone happen to have a vim syntax definition for Jade? [15:49] ceej: tjholowaychuk: did you see my response ^ [15:49] tjholowaychuk: ceej: hm nope, cleared the screen lol sorry [15:49] tjholowaychuk: softdrink: not sure if there is one [15:49] cloudhead has joined the channel [15:49] ceej: "I get you, because the way I have laid out my app is each module (folder) contains the MVC public/views etc.. then you can just mount to the route at /whatever but I don't have to set things like sessions in the module because it inherits from the main. I'm actually trying to convince my business partner to switch from php/ci to express. So are you proposing making the inheritance manual?" [15:49] ceej: np :) [15:50] softdrink: yeah i couldn't really find one. might as well hack tpope's haml.vim [15:51] shockie has left the channel [15:51] tjholowaychuk: ceej: I think there are some things that would make sense, but id rather not impose [15:52] voodootikigod_ has joined the channel [15:52] jchris has joined the channel [15:52] mertimor has joined the channel [15:52] ceej: tjholowaychuk: what things were you thinking of stopping? As that was half the appeal :) [15:52] robinduckett: hmm [15:52] wattz: My chick bad, My Chick good.. [15:53] robinduckett: what channel is the couchdb channel? [15:53] robinduckett: nvm :D [15:53] tjholowaychuk: ceej: nothing by default [15:53] JimBastard: yaa SubStack is following me now1 [15:53] _announcer: Twitter: "Video Sync with #HTML5 #WebSocket and #Node.js http://bit.ly/dtvsfT << Really interesting. It could be the base for future #Web #Seminar" -- Ivan De Marino. http://twitter.com/detronizator/status/19583552214 [15:53] _announcer: Twitter: "New article: Experimenting with Node.js (http://bit.ly/9890rW). :)" -- Jeff Kreeftmeijer. http://twitter.com/jkreeftmeijer/status/19583558575 [15:54] wattz: Lunch! [15:54] sh1mmer has joined the channel [15:55] ceej: tjholowaychuk: so you have to do it all manually using app.mounted() ? What would the syntax look like? just do like app.use parent.session() [15:55] tjholowaychuk: ceej: well the way Connect handles mounting you should not need to re use() the sess middleware at all [15:56] tjholowaychuk: buuut [15:56] tjholowaychuk: hmm [15:56] JimBastard: http://nodejs.se/ [15:56] tjholowaychuk: that sort of implies that you would only use it in the top level app [15:56] JimBastard: i win! [15:57] tjholowaychuk: ceej: not sure I have a good solution for that right now, you could just not use() sess in the child app, but thats lame [15:59] ceej: tjholowaychuk: right now the mounted app inherits all the configs of the main app and you just override the ones you want to change (which i like), but you're suggesting to not do that and do it manually right? [15:59] sudoer has joined the channel [15:59] damienkatz has joined the channel [15:59] damienkatz has joined the channel [16:00] sh1mmer: ryah: did you see http://mmcgrana.github.com/2010/07/threaded-vs-evented-servers.html ? [16:00] _announcer: Twitter: "Deliver real-time information to your users using node.js http://bit.ly/9joDg4" -- montrealhackers. http://twitter.com/montrealhackers/status/19583976576 [16:00] tjholowaychuk: ceej: I just changed that, it never actually inherited anything, the configure() callbacks for the child were simply ignored [16:00] b_erb has joined the channel [16:00] tjholowaychuk: ceej: but now configure() callbacks are called immediately [16:02] JimBastard: anyone wanna nominate me for hacker of the week at HN? http://weeklyhacker.com/ [16:02] JimBastard: just make sure to mention im perma banned [16:02] aglemann has joined the channel [16:03] robinduckett: JimBastard why are you perma banned? lol [16:03] JimBastard: robinduckett: mostly for being too epic [16:03] JimBastard: its a recurring problem [16:04] robinduckett: Ah I see [16:04] robinduckett: This is why my family don't enjoy Primer [16:04] robinduckett: it's far too epic for their tiny minds. [16:06] khug has joined the channel [16:07] JimBastard: robinduckett: i just took over the time line [16:07] ceej: tjholowaychuk: I get you. Question, do you think express/connect is stable enough for production? [16:07] JimBastard: ceej: considering node isnt version 1.0 yet? [16:07] sh1mmer: JimBastard: modest too [16:07] jesusabdullah: Also, how stable is "stable enough?" [16:07] Sudhirj has joined the channel [16:07] jchris has joined the channel [16:07] tjholowaychuk: ceej: id recommend holding off until the RC at least as far as Express goes, but it wont change much, just bug fixes now [16:07] JimBastard: sh1mmer: im the most modest person ever. in fact my level of modesty is far superior to everyone else [16:08] JimBastard: .....fuc [16:08] ceej: I guess I mean stable as in syntax not changing [16:08] jesusabdullah: *rimshot* [16:08] tjholowaychuk: ceej: that stuff should be fine [16:09] robinduckett: JimBastard: ffffuuu [16:09] jchris has joined the channel [16:09] robinduckett: reddit.com/r/fffffffuuuuuuuuuuuu [16:09] _announcer: Twitter: "Frameworks, extensions, modules for Node.js http://bit.ly/d6yQvc #javascript" -- Peter C. http://twitter.com/kaosu_/status/19584652554 [16:10] robinduckett: 7/12 [16:12] mikeal: hrm [16:13] markwubben: hi folks [16:13] markwubben: looking at the crypto support in v0.1.102, there doesn't seem to be any way to get a secure random number? [16:13] robinduckett: hrm [16:13] Blink7 has joined the channel [16:16] claudio has joined the channel [16:17] jamescarr: markwubben, what do you need? a random number or a hash? [16:17] markwubben: hash [16:17] markwubben: passwords… [16:17] markwubben: need to generate a random salt [16:17] mikeal: uuid? [16:18] _announcer: Twitter: "I think we're gonna see an official node.js mongo driver soon :) http://10gen.com/jobs" -- Nicolas Mérouze. http://twitter.com/nmerouze/status/19585199560 [16:18] javajunky has joined the channel [16:19] bradleymeck_: sh1mmer interesting article but i dont think evented programming should be considered limited to a single cpu [16:19] markwubben: mikeal: maybe. would prefer to just use the openssl tools though [16:19] markwubben: ruby binds to SecureRandom or something, but that's not exposed in the node crypto module [16:19] sh1mmer: bradleymeck_: I think that was for the purposes of making a model [16:19] claudio: has anyone ever tried a node.js fastcgi/scgi approach to "proxy" php request (or whatever)? [16:19] sh1mmer: bradleymeck_: it also discounts non-blocking [16:19] sh1mmer: bradleymeck_: which has a large effect on evented systems [16:20] bradleymeck_: true but the only way you can have w be large enough to counteract c is w/ multiple execution environments [16:20] ehaas has joined the channel [16:21] sh1mmer: bradleymeck_: well the current model is to treat each core as an instance and then link them with web workers [16:21] sh1mmer: although someone pointed out to me you could load balance them too [16:21] Yuffster has joined the channel [16:22] tmpvar has joined the channel [16:22] ehaas has joined the channel [16:22] omarkj has joined the channel [16:22] bradleymeck_: yea, i hope someday we will have true concurrency based primitive blocks so that they can manage cores better :/ [16:22] donpdonp: sh1mmer, bradleymeck_: this project is interesting http://github.com/kriszyp/multi-node [16:23] _announcer: Twitter: "Experimenting with Node.js http://goo.gl/fb/Z9Phv" -- Patrick Mylund. http://twitter.com/pmylund/status/19585535088 [16:23] sh1mmer: donpdonp: yeah, I heard Kris was working on that [16:23] donpdonp: if you're talking about the hackernews post on evented vs threading, i too thought it was odd to use a single-core cpu as the reference [16:23] tmpvar has joined the channel [16:23] bradleymeck_: looks a lot l ilke broodmother [16:24] _announcer: Twitter: "@sh1mmer grats that you got the node.js dns going. Where can I follow along with your experiments?" -- krisread. http://twitter.com/krisread/status/19585591974 [16:24] sh1mmer: donpdonp: we are [16:24] donpdonp: sh1mmer: looks like it has advantages over a plain-old proxy in front of multiple nodes [16:24] sh1mmer: it would be interesting to extend the model [16:24] omarkj: That looks good. [16:24] bradleymeck_: donpdonp agreed, evented takes sandboxing hits pretty hard on multicore if you need that [16:24] bradleymeck_: but it can do multicore pretty easy too [16:24] kriszyp: bradleymeck_: what are you looking for with "true concurrency based primitive blocks"? [16:24] _announcer: Twitter: "Java 6 JDK U21 = 155.78 MB; node.js v0.1.102 = 3.7MB" [nl] -- Francisco Treacy. http://twitter.com/frank06/status/19585631116 [16:24] sh1mmer: hm, how do I set myself up on twitter with announcer? [16:24] JimBastard: sh1mmer: just try !tweet [16:24] donpdonp: haha @announcer [16:25] JimBastard: if you are registered on irc you should be good to go [16:25] sh1mmer: JimBastard: it can't tweet at me though [16:25] JimBastard: ? [16:25] sh1mmer: s/at/as/ [16:25] JimBastard: you want to have your tweets picked up by _announcer [16:25] JimBastard: or do you want to tweet out from command line here [16:25] SubStack: s/or/xor/ [16:26] JimBastard: _announcer will show anything with node.js in it [16:26] omarkj has joined the channel [16:26] bradleymeck_: i want to have an os able to have mathematically checked up blocks of code that can be derived from procedural execution as independent and then executed in parallel, even if it requires precompilation to declare the blocks beforehand, might be asking too much since the halting problem is still pretty ugly even w/ the microsoft math to detect it [16:27] omarkj_ has joined the channel [16:27] sh1mmer: JimBastard: tweet from the command line [16:27] ehaas has left the channel [16:27] JimBastard: what looks like broodmother bradleymeck_ ? [16:27] JimBastard: sh1mmer: just !tweet [16:27] JimBastard: multinode? [16:28] _announcer: Twitter: "For the Node.js DNS server no source to share just yet (sorry) releasing soon few loose ends before v0.01 /cc @krisread @klimpong" -- Tom. http://twitter.com/sh1mmer/status/19585874191 [16:28] JimBastard: to my understanding multi-node is for balancing on one machine [16:28] JimBastard: and virtual hosts for one machine [16:28] JimBastard: we balance over the wire [16:28] JimBastard: and can spawn node on multiple machines [16:28] sh1mmer: JimBastard: node supporting multi-core [16:29] JimBastard: yeah [16:29] JimBastard: exactly [16:29] sh1mmer: !tweet test [16:29] JimBastard: we plan on using spark for that [16:29] kriszyp: bradleymeck_: ah, I see [16:29] JimBastard: and letting broodmother handle the rest [16:30] mjr_: sh1mmer: can I use your rr decoder in pcap? [16:30] mertimor has joined the channel [16:31] sh1mmer: mjr_: not yet [16:31] sh1mmer: mjr_: I'd give you that now but I need to get cleared by Yahoo! to contribute [16:31] sh1mmer: should be doing that tomorrow [16:31] mjr_: ok [16:31] bradleymeck_: sh1mmer its posting on nodejsbot [16:32] sh1mmer: bradleymeck_: ah [16:32] sh1mmer: heh [16:32] bradleymeck_: kinda funny when ppl tweet back at the bot, need to pick those up [16:33] sh1mmer: mjr_: did you see the dnscaching project? [16:33] mertimor has joined the channel [16:33] mjr_: I didn't, but I saw your tweet a minute ago and your triumphant celebration last night [16:33] sh1mmer: http://github.com/skampler/node-dnscache/blob/master/dnscache.js [16:33] joshbuddy has joined the channel [16:33] sh1mmer: that's not mine, but it probably has the code you need in it [16:34] sh1mmer: mjr_: I wrote some of the rr code as a sideline, but while I'm doing the authority server stuff it isn't actually relevant to me [16:36] _announcer: Twitter: "@debasishg I still think an easy framework for async will be a killer app - node.js might not proof easy for very large apps." -- Stephan Schmidt. http://twitter.com/codemonkeyism/status/19586438233 [16:40] omarkj: How large is a very large app ? [16:40] SubStack: don't write large apps then [16:40] SubStack: should be doing that anyways [16:40] sh1mmer: well you can't proof it [16:41] sh1mmer: ;) [16:41] omarkj: Haha [16:41] omarkj: :) [16:41] sh1mmer: I'm sure his English is better than my German though [16:41] sh1mmer: assuming he's German from the name [16:42] SubStack: large apps are just programs that haven't been properly abstracted yet [16:42] stride: which language is supposed to be easy for "large apps"? [16:43] JimBastard: stride: VB classic or PHP [16:43] eyzn: assembler! [16:43] JimBastard: you know, procedural , top to bottom [16:43] JimBastard: GOTO is my flow control [16:44] blowery: ACTION gots flow control like kermit [16:44] dilvie has joined the channel [16:44] mjr_: sh1mmer: that dnscache.js just forwards the entire packet without understanding it. [16:44] sh1mmer: mjr_: ok, I haven't looked at it in depth [16:44] mjr_: It's beautifully simple though. I never would have thought to do that. [16:44] sh1mmer: mjr_: it looked like he was unpacking a bit, I assumed to store which qnames he was forwarding to cache them [16:45] sh1mmer: mjr_: I love reading other people's code [16:45] sh1mmer: I dumped a hundred lines reading yours [16:45] mjr_: yeah, he does unpack it a bit, but not the compression. [16:45] mjr_: wow, that's fantastic. [16:45] mjr_: Yeah, I love reading other people's code too. [16:46] sh1mmer: mjr_: the compression is actually really simple [16:46] sh1mmer: qnames can just reference the starting byte of a previously used qname [16:46] mjr_: Yeah, I know. I almost have it, but I was hoping someone else would figurethat bit out. [16:47] mjr_: I'm sure I could finish it off in an hour or so of focused time. [16:47] _announcer: Twitter: "@ Nartzco but not jaxer request response. direct means is disconnected? if the demo yesterday nodejs continue to hold the connection in the socket like a chat" [id] -- Manuk Guwek. http://twitter.com/tediscript/status/19587136022 [16:48] sh1mmer: mjr_: I should be able to do it this week [16:48] sh1mmer: I'm travelling so once I get approval I'll have some laptop plane lovefest time [16:48] sh1mmer: :) [16:49] femto has joined the channel [16:50] TheEnd2012 has joined the channel [16:50] _announcer: Twitter: "@ Nartzco oh iya jg e is callbacknya. soulmate with the same nodejs nih:))" [id] -- Manuk Guwek. http://twitter.com/tediscript/status/19587292361 [16:50] sh1mmer: brb - bus is arriving [16:52] aconbere has joined the channel [16:52] _announcer: Twitter: "My Javascript love affair is heating up: Experimenting with Node.js http://tumblr.com/xkle967jd" -- Kurt Mackey. http://twitter.com/mrkurt/status/19587427369 [16:52] _announcer: Twitter: "Node.js and Web Socket Servers: http://bit.ly/9890rW" -- johnheiner. http://twitter.com/johnheiner/status/19587462617 [16:53] creationix has joined the channel [16:53] silentrob has joined the channel [16:54] damienkatz has joined the channel [16:54] damienkatz has joined the channel [16:55] mertimor has joined the channel [16:55] rauchg_ has joined the channel [16:58] jetienne has joined the channel [16:59] _announcer: Twitter: "cassandra doesnt scale because it isnt built on node.js" -- Joe Damato. http://twitter.com/joedamato/status/19587924029 [17:02] d0k: hehe [17:07] [[zz]] has joined the channel [17:07] _announcer: Twitter: "Notes cursors other sailors in real time: http://jeffkreeftmeijer.com/2010/experimenting-with-node-js/" [es] -- Fidel Ramos. http://twitter.com/ampajaro/status/19588413939 [17:08] maushu: lulz. [17:09] JimBastard: no soy marinero [17:09] JimBastard: no soy marinero [17:10] _announcer: Twitter: "Fun node.js experiment: http://jeffkreeftmeijer.com/2010/experimenting-with-node-js/" -- Alex Kahn. http://twitter.com/akahn/status/19588572980 [17:10] JimBastard: soy capitan soy capitan [17:10] _announcer: Twitter: "#5 on @hackernews, but @nodejs is still moving mouse cursors like a champ. (http://bit.ly/9890rW) :)" -- Jeff Kreeftmeijer. http://twitter.com/jkreeftmeijer/status/19588606117 [17:11] Blink7 has joined the channel [17:11] _announcer: Twitter: "@joedamato yeah dog. imagine how web 3.0 a mad DHT in node.js would be." -- Dane Jensen. http://twitter.com/danej/status/19588645453 [17:11] kjeldahl has joined the channel [17:11] mertimor has joined the channel [17:11] richcollins has joined the channel [17:11] xer0xM has joined the channel [17:14] _announcer: Twitter: "tecosystems » Why You Should Pay Attention to Node.Js http://ff.im/-oj7wl" -- Cliff Gerrish. http://twitter.com/cgerrish/status/19588848271 [17:14] dylang has joined the channel [17:14] _announcer: Twitter: "Anybody know how to make socket.io connections persist over a node.js restart? Having a few difficulties." -- Elliott Kember. http://twitter.com/elliottkember/status/19588874772 [17:15] JimBastard: !tweet @elliottkember i think you'd need to have a supervisor service running for that to work, jump into #node.js on irc.freenode.net [17:16] jpld has joined the channel [17:16] _announcer: Twitter: "Experimenting with Node.js - Jeff Kreeftmeijer http://bit.ly/b1PoPl" -- Rodger Cooley. http://twitter.com/deldotb/status/19588967075 [17:16] _announcer: Twitter: "Understanding node.js » Debuggable Ltd http://ff.im/-oj7Nl" -- Cliff Gerrish. http://twitter.com/cgerrish/status/19588969312 [17:17] careo: that's an awesome feature, re JimBastard's !tweet [17:17] pquerna: ACTION ponders libffi [17:17] _announcer: Twitter: "Real-time tracking of mouse movements on a website with #nodejs http://digs.by/bV8lvA" -- Sam Shull. http://twitter.com/samshull/status/19589032518 [17:17] _announcer: Twitter: "This Node.js + web sockets demo tempts me to not think badly of JavaScript: http://is.gd/dKgGe" -- crashsystems. http://twitter.com/crashsystems/status/19589051553 [17:17] JimBastard: careo: the spanning? [17:18] careo: JimBastard: yeah. tweeting back at him [17:18] JimBastard: of tweets? [17:18] JimBastard: ohh, i thought you meant the fact it split it into two tweets [17:18] JimBastard: i wonder what happens if i go really long, will it go 3 [17:18] careo: oh haha. I didn't even notice that it did that. [17:18] benbinary has joined the channel [17:18] careo: yeah. that's slick too :) [17:18] aliem has joined the channel [17:19] _announcer: Twitter: "Wow, awesome Node.js Web Sockets experiment: http://bit.ly/cbrCEh" -- Ara Pehlivanian. http://twitter.com/ara_p/status/19589157184 [17:19] creationix: I see the way to generate a buzz is websockets + node [17:20] Eber has joined the channel [17:20] creationix: JimBastard: how went the weekend hacking? [17:21] JimBastard: !tweet this is a test of a really long tweet. i am the very model of a modern cyber general. i've information musical, digital and venereal. i know the pings of the lans and i know the games historical, from Rogue to GTA, in order categorical. I'm very well acquainted too with matters mathematical, I understand equations both the simple and quadratical. I'm good at penetration and differential calculas, I know the scientific name [17:21] JimBastard: creationix: awesome, we are making a couchdb rap video this week [17:22] JimBastard: i should finish the docs for the reverse proxy today [17:22] JimBastard: maybe after lunch [17:22] tilgovi has joined the channel [17:22] _announcer: Twitter: "pushed my first Github proj. http://j.mp/node-amf AMF library for NodeJS (very much in development)" -- Tim Whitlock. http://twitter.com/timwhitlock/status/19589355366 [17:22] JimBastard: lol bradleymeck_ http://twitter.com/nodejsbot [17:22] JimBastard: spanning fail [17:23] JimBastard: it spanned out of order [17:23] creationix: JimBastard: sounds like fun [17:23] creationix: JimBastard: you should find an excuse to come to Palo Alto in a couple of weeks [17:23] elliottkember has joined the channel [17:23] creationix: we're going to have a meetup while a few out-of-towners are in the area [17:25] elliottkember: hey all [17:25] grahamalot has joined the channel [17:26] creationix: elliottkember: hey [17:26] _announcer: Twitter: "Building a blog with node.js and MongoDB. I discovered the kiwi package manager from this post! Must try. http://bit.ly/b9DSkR" -- Ikai Lan. http://twitter.com/ikai/status/19589557884 [17:26] creationix: sigh [17:26] SubStack: oh noes, not kiwi [17:26] ewdafa has joined the channel [17:26] creationix: people keep reading old posts on my blog and thing the stuff it up to date [17:26] creationix: I mean it was only 5 months ago, but that's ages in node years [17:26] elliottkember: haha [17:27] creationix: s/thing/think/ [17:27] _announcer: Twitter: "Free your mind: http://bit.ly/doc7dA #nodejs" -- Joel Perras. http://twitter.com/jperras/status/19589622135 [17:27] tjholowaychuk: haha [17:27] tjholowaychuk: fuck [17:27] elliottkember: hey I tweeted something a couple minutes ago, had a reply from @nodejsbot that said to come and ask here - anybody got a minute? [17:27] tjholowaychuk: i gotta get on updating the kiwi readme [17:27] SubStack: !tweet @ikai npm is the new hotness for packaging node.js modules http://github.com/isaacs/npm [17:27] creationix: !tweet @ikai that post is somewhat old, try npm [17:27] tjholowaychuk: package managers = fail [17:27] creationix: doh [17:27] SubStack: heh [17:27] SubStack: anyways, double plus good [17:27] creationix: elliottkember: so, what's up [17:28] elliottkember: I'm using Socket.IO for a chat app [17:28] elliottkember: and I'm having a weird problem where node.js restarts every once in a while [17:28] creationix: rauchg_: around? [17:28] rauchg_: creationix: [17:28] rauchg_: yo [17:28] elliottkember: I'm using upstart + monit to supervise it [17:28] aheckmann has joined the channel [17:28] creationix: elliottkember: restarts? [17:28] rauchg_: elliottcable: [17:28] SubStack: s/restarts/dies/ [17:28] rauchg_: i mean [17:28] rauchg_: elliottkember: [17:28] elliottkember: ah - yeah, that's right [17:28] rauchg_: any debug info ? [17:29] elliottkember: none in the log file it's outputting [17:29] creationix: elliottkember: rauchg_ is the socket.IO author [17:29] creationix: elliottkember: what node version? [17:29] elliottkember: node 0.1.100 [17:29] elliottkember: Server running at http://0.0.0.0:8080/ [17:29] elliottkember: 26 Jul 15:42:43 - socket.io ready - accepting connections [17:29] _announcer: Twitter: "fun little node.js demo: http://jeffkreeftmeijer.com/2010/experimenting-with-node-js/ . get it now before the server dies." -- Chris Shorrock. http://twitter.com/EbinFlow/status/19589781191 [17:29] elliottkember: sorry - I meant to say, that's all it comes up with in the log file [17:30] elliottkember: although I suddenly realise I should run it in debug mode and see if I can trace it [17:30] elliottkember: the thing is, my thinking is that I might as well write a workaround for detecting node.js restarts so I can restart it if I deploy new code [17:30] elliottkember: so I'm trying to check on the client-side whether the socket's disconnected [17:30] elliottkember: only problem is - Firefox under xhr-multipart doesn't realise it's been disconnected [17:31] sh1mmer has joined the channel [17:31] _announcer: Twitter: "#nodejs "keys" 0.1.0 adds Riak support to the unified key/val client http://github.com/visionmedia/keys" -- TJ Holowaychuk. http://twitter.com/tjholowaychuk/status/19589900052 [17:31] _announcer: Twitter: "Having way too much fun with http://jeffkreeftmeijer.com/2010/experimenting-with-node-js/ (requires websocket support)." -- Mark Boas. http://twitter.com/maboa/status/19589907355 [17:32] rauchg_: elliottkember: yeah im aware of that issue, it's being fixed in the 05 branch [17:32] rauchg_: the disconnection detection has been improved noticieably [17:32] rauchg_: it's almost perfect now [17:32] tmpvar has joined the channel [17:33] tjholowaychuk: rauchg_: just saw the 1 mill funding thing, good job man [17:33] elliottkember: oh, fantastic [17:33] _announcer: Twitter: "'Experimenting with Node.js' cool article with a twist. http://jeffkreeftmeijer.com/2010/experimenting-with-node-js/ #html5 #websockets" -- Mark Boas. http://twitter.com/maboa/status/19590009487 [17:33] evilhackerdude has joined the channel [17:34] elliottkember: how stable is the 05 branch now? [17:34] JimBastard: creationix: that sounds like it could be fun, i rarely leave NY lately though [17:34] JimBastard: very busy [17:34] _announcer: Twitter: "@ikai Kiwi's recently been deprecated in favor of the community focusing on NPM. #nodejs" -- Daniel Shaw. http://twitter.com/dshaw/status/19590087109 [17:34] JimBastard: hey i summoned elliottkember [17:34] pquerna: for config files, everyone just using JSON files? [17:35] JimBastard: pquerna: yep [17:35] bradleymeck_: jimbastard it spans in order, you just are using a top filling client ^_~ [17:35] pquerna: kinda need to solve the comments thing/ [17:35] pquerna: i guess a regex can do it. [17:35] creationix: pquerna: I use js files [17:35] JimBastard: bradleymeck_: ? [17:35] creationix: json is too limiting [17:35] JimBastard: im using twitter.com and irc [17:35] tjholowaychuk: and annoying [17:35] JimBastard: whats a "top filling client" [17:35] creationix: you can't put comments in JSON [17:35] creationix: and you have to quote all keys [17:35] JimBastard: creationix: you can [17:35] pquerna: creationix: so, you just require('/etc/foo.conf') [17:36] creationix: pquerna: yep [17:36] JimBastard: you cant just JSON.parse it [17:36] JimBastard: you have to eval() it [17:36] sh1mmer: This is an awesome demo [17:36] sh1mmer: http://jeffkreeftmeijer.com/2010/experimenting-with-node-js/ [17:36] mjr_: doing config as a require-able module seems like the way to go. [17:36] bradleymeck_: means they post the newest at the top [17:36] creationix: sh1mmer: yeah, it's all over twitter it seems [17:36] mjr_: I guess that makes it hard to hot reload though. [17:36] pquerna: yes [17:36] JimBastard: bradleymeck_: look at http://twitter.com/nodejsbot [17:36] sh1mmer: visual demos win a lot of hte time [17:36] JimBastard: its completely out of order [17:37] JimBastard: not just reverse [17:37] pquerna: and harder to ... chain like, ["~/.cast", "/etc/cast.conf"] [17:37] creationix: JimBastard: if you're evaling it, then it's not json, it's javascript [17:37] sh1mmer: creationix: reminds me of some other demo I saw in Texas [17:37] creationix: sh1mmer: ;) [17:37] bradleymeck_: completely? mmm [17:37] sh1mmer: but I can't think what [17:37] elliottkember: JimBastard: hehe, thanks for the summoning :) [17:37] JimBastard: yeah i got a thanks! [17:37] JimBastard: thats makes 61 [17:37] JimBastard: http://nodejs.se/ [17:37] creationix: sh1mmer: too bad my demo doesn't work well over the internet [17:37] JimBastard: you welcome elliottkember [17:37] elliottkember: rauchg_: Thanks man - I'm going to give the 05 branch a go and see how it goes [17:38] sh1mmer: creationix: well there is the thing, code for the internets [17:38] rauchg_: well actually it's sort of under heavy development [17:38] rauchg_: :D [17:38] bradleymeck_: jimbastard odd, posts to twitter went in order [17:38] creationix: sh1mmer: it was a quick demo for my presentation [17:38] _announcer: Twitter: "Ah the wonders of node.js and websockets. I'm sure there is a good use for this: http://bit.ly/cDCzsE" -- Tom Sartain. http://twitter.com/xiian/status/19590301315 [17:38] creationix: I do plan on making something better for the internet next [17:38] JimBastard: bradleymeck_: im sure they went out in order, but they arent processed that way [17:38] sh1mmer: creationix: I know, I'm just giving you shit [17:38] JimBastard: you prob have to queue the posts to wait for the rsp [17:38] JimBastard: its not like twitter is only one machine [17:38] creationix: sh1mmer: so I wonder what day we should have the meeting in August [17:38] creationix: tues, wed, or thurs evening [17:39] sh1mmer: creationix: are we doing it in the city or the valley? [17:39] creationix: 10,11,12 I think are the days [17:39] _announcer: Twitter: "fellow #javascript nerds, check out this Node.js experiment: http://jeffkreeftmeijer.com/2010/experimenting-with-node-js/" -- Jackola. http://twitter.com/jackola/status/19590360405 [17:39] _announcer: Twitter: "freaky cool node.js experiment http://bit.ly/bCS6rO" -- josh c. http://twitter.com/joshcoffman/status/19590366048 [17:39] creationix: sh1mmer: I know of at least 3 people wanting it down here [17:39] bradleymeck_: yea, but that means i have to work on something bleh [17:39] bradleymeck_: ill get around to it [17:39] JimBastard: i would take out spanning [17:39] mjr_: The Bay Area is filled with noders, it seems. [17:39] JimBastard: or leave it alone [17:39] JimBastard: not really worth fucking with imo [17:40] JimBastard: its nice to have though [17:40] sh1mmer: creationix: there seemed to be an equal number of city dwellers on the mailing list [17:40] sh1mmer: I'm not saying the valley is a no-go I'm just trying to figure out which works for people [17:40] creationix: mjr_: that's because ryah keeps going to local businesses and presenting node to them [17:41] bradleymeck_: !tweet @jkreeftmeijer dont forget there are some flash bridge fallbacks for WebSockets -> http://github.com/gimite/web-socket-js [17:41] creationix: sh1mmer: I'd rather it be down here since it's hosted by Sencha, unless there is a hige majority of people up there [17:42] sh1mmer: creationix: I think someone offered us space in the city too [17:42] elliottkember has left the channel [17:42] elliottkember has joined the channel [17:42] creationix: sh1mmer: oh yeah, there is tons of space up there, that's never a problem [17:42] bradleymeck_: jimbastard all i really need to do it put it in a Step chain, so meh, just dont want to track down the exact location right now [17:43] pquerna: i prefer city just because I don't own a car. [17:43] JimBastard: i wouldnt worry about it bradleymeck_ [17:43] sh1mmer: creationix: if I get a chance I'll review the mails on the list [17:43] creationix: sh1mmer: cool [17:43] sh1mmer: and see who has the most votes [17:44] _announcer: Twitter: "Holy shit check out this sweet node and web sockets demo: http://jeffkreeftmeijer.com/2010/experimenting-with-node-js/" -- Matt Hackett. http://twitter.com/richtaur/status/19590647934 [17:44] creationix: I'm pretty sure there will be more votes up that way [17:44] silentrob has joined the channel [17:44] _announcer: Twitter: "Node.js wiki... It will be a good introduction to node.js http://bit.ly/8eMJ9K" -- Shameer Chamal. http://twitter.com/shameerc/status/19590681955 [17:44] creationix: a wiki? [17:45] jxson has joined the channel [17:46] V1_ has joined the channel [17:48] derferman has joined the channel [17:49] _announcer: Twitter: "@ Nartzco http://chat.nodejs.org/ nih cobain" [es] -- Manuk Guwek. http://twitter.com/tediscript/status/19590967454 [17:49] aliem has joined the channel [17:50] aheckmann has joined the channel [17:50] mAritz: i've got a bit of a dilemma: i could either work on my node projects or i could try playing civ4 on my netbook... help me, i don't think there's a civ-anonymous meeting in my country. :/ [17:50] wereHamster has joined the channel [17:51] JimBastard: mAritz: if you have to think about that decision you might as well just /quit now and never come back [17:51] JimBastard: go play civ4, im sure your next employeer will be impressed at your high score [17:51] mAritz: having a good day? :D [17:51] JimBastard: more room for me to get paid [17:51] mAritz: in germany? :P [17:51] JimBastard: actually, yeah lol [17:52] omarkj: Is it being used alot there? [17:52] JimBastard: now go hack on node before i yell at you more [17:52] JimBastard: omarkj: one of the core developers is based in germany [17:52] jan____ has joined the channel [17:52] jan____ has joined the channel [17:52] mAritz: but seriously: you don't want to do what i currently do: fixing xml templates on a giant java clusterfuck to make everything work in polish. [17:52] omarkj: JimBastard: Yeah, I was aware of that. Just wondering if that has boosted adoption there. It probably has. :) [17:53] JimBastard: mAritz: know of those words sounded appealing to me [17:53] JimBastard: none* [17:53] JimBastard: none of those words [17:53] JimBastard: xml, java, polish [17:53] mAritz: omarkj: not really, no. none of my current or former co-workers knew anything about node and weren't all that interested when i told them about it. might be my awful explaining skills though. [17:53] mAritz: JimBastard: it's worse than it sounds. :( [17:55] benburkert has joined the channel [17:55] _announcer: Twitter: "@tjholowaychuk @izs What do you think of putting a note in the Kiwi README directing people to NPM? #nodejs" -- Daniel Shaw. http://twitter.com/dshaw/status/19591349264 [17:56] JimBastard: tjholowaychuk: ^^ [17:56] JimBastard: like i said last week [17:56] tjholowaychuk: rarararar [17:57] dgathright has joined the channel [17:57] karboh has joined the channel [17:59] _announcer: Twitter: "The Node.js cursors demo is making the rounds today. Did you see the multi-user drawing app a while back? http://sean-o.com/nodejsdraw" -- Sean O. http://twitter.com/seanodotcom/status/19591576046 [18:00] CIA-77: node: 03Ryan Dahl 07master * r6fdb874 10/ doc/api.markdown : Fix DNS example in docs - http://bit.ly/b9PBep [18:00] CIA-77: node: 03Chandra Sekar S 07master * r66deea1 10/ lib/readline.js : Support for HOME and END in REPL. - http://bit.ly/9znzJy [18:01] WALoeIII has joined the channel [18:05] kodisha has joined the channel [18:06] _announcer: Twitter: "@abrahamvegh Uh, Freenode, of course. #Node.js ##Paws #MacOSX #archlinux ##JavaScript ##C #offrails #ruby … Around *80 channels*, all told." -- if(e)_(e). http://twitter.com/elliottcable/status/19591953468 [18:06] elliottcable: rauchg_ 3» ’sup? [18:06] elliottcable: elliottkember 3» wait, *you’re* in here now? :O [18:06] elliottkember: yup [18:07] elliottcable: elliottkember 3» damnit, you’re gonna mooch on my status in the Node.js community by having my name! D: [18:07] elliottcable: lol :D [18:07] elliottcable: since when are you into Node? :O [18:07] huyhong has joined the channel [18:08] elliottkember: elliottcable: not that long, been using it to do some socket stuff [18:08] elliottcable: elliottkember 3» also, I @replied you a few days ago, but you didn’t seem to notice. I’m giving all the Ellio(t(t)?)?s I know addresses at http://ell.io if they want ’em [18:08] elliottcable: elliottkember 3» so if you want http://ell.io/ttkember and/or kember@ell.io, lemme know [18:08] elliottkember: elliottcable: oh, I meant to reply - thanks, but I think I'm good hehe [18:08] stagas has joined the channel [18:08] elliottcable: ACTION nods [18:08] elliottkember: oh actually, ell.io/ttkember woul dbe cool [18:09] elliottcable: ikr? [18:09] elliottcable: ell.io is awesome, no lie [18:09] elliottcable: you want a subdomain, or you want me to give you ssh access to dump stuff in /ttkember? [18:09] saikat has joined the channel [18:10] elliottkember: a redirect to elliottkember.com would suit me just fine :D [18:10] elliottcable: here, just hit me up in ##Paws so I don’t spam the friendly Noders. [18:10] MattJ: ACTION was just watching http://wargamez.mape.me/ and wondered how elliot was in two places at once [18:10] _announcer: Twitter: "Alternative style for Node.js documentation (dark text on white background, and a few other tweaks) http://bit.ly/brylWm #nodejs" -- George Stagas. http://twitter.com/stagas/status/19592219374 [18:10] elliottcable: MattJ 3» :D [18:10] elliottcable: mape 3» srsly, that thing is pretty awesome [18:11] elliottcable: MattJ 3» anyway, that thing is a lying bastard. I’m in Alaska D: [18:11] MattJ: :D [18:11] keeto has joined the channel [18:11] elliottcable: keeto3! [18:12] keeto: hello [18:12] _announcer: Twitter: "+1 - Experimenting with Node.js http://jeffkreeftmeijer.com/2010/experimenting-with-node-js/" -- Ayan Barua. http://twitter.com/ayanb/status/19592310221 [18:13] rauchg_: elliottcable: sorry about that, elliott* autocompletion problems [18:13] elliottcable: rauchg_ 3» no prob. You were the one who wrote the original Google Wave script for Fluid, right? [18:13] elliottcable: ACTION has a terrible memory [18:13] _announcer: Twitter: "http://jeffkreeftmeijer.com/2010/experimenting-with-node-js/ #yam #dev #nodejs #js #websockets too much good stuff out there" -- nate.vaughn. http://twitter.com/folktrash/status/19592391861 [18:13] _announcer: Twitter: "Experimenting with Javascript → Node → http://bit.ly/8ZVFNj JS" [de] -- Alex. http://twitter.com/atllta_lnkd/status/19592393107 [18:14] rauchg_: elliottcable: yes [18:14] rauchg_: we had a tweetversation in the tweeterverse [18:14] elliottcable: I thought as much [18:14] elliottcable: but it’s really hard to remember, especially with as much Twitter traffic as I get :x [18:16] JimBastard: twitter is gay [18:16] JimBastard: melts the mind [18:17] elliottcable: so we’ve heard you think, JimBastard [18:17] elliottcable: even with my absolutely horrid memory, I remember you giving me shit for using Twitter last september [18:17] jesusabdullah: tbh I don't really "get" twitter [18:17] JimBastard: if i want 5k people to hear me something ill yell really loud [18:17] JimBastard: hear me say something [18:17] jesusabdullah: Why not, y'know, write a full-sized blog post, or comment on something directly? [18:17] JimBastard: elliottcable i wasnt here in sept [18:18] elliottcable: JimBastard 3» I almost entirely use it for A) conversations and B) short quips/jokes/comments/banalities [18:18] elliottcable: JimBastard 3» I almost never ‘comment’ on things via Twitter (by which I suppose you mean linking something I saw elsehwere on the internet, and providing useless additional commentary next to the link) [18:18] elliottcable: crap, that was for jesusabdullah [18:19] JimBastard: elliottcable: i cant see how i could have a meaningful conversation over twitter [18:19] JimBastard: and as for the other stuff, yeah.... [18:19] elliottkember: JimBastard: a meaningful conversation over twitter?! [18:19] elliottcable: JimBastard 3» shit, you’re right, you entered in September [18:19] JimBastard: nov? [18:19] elliottkember: JimBastard: Twitter is where your meaningless conversations are supposed to go [18:19] elliottcable: sorry, not sept [18:19] elliottcable: I’m really tired gimmie a break D: [18:20] JimBastard: you got old logs elliottcable , you can grep for me? [18:20] JimBastard: i think its possible my first day was nov 23 [18:20] JimBastard: which is the exact same day logs turned on [18:20] ryah: dont you people have jobs? [18:20] elliottcable: that’s what I I’m looking for now [18:20] JimBastard: ryah: im at my job, i coded too good now i have nothing to do [18:20] elliottcable: 16:49 -!- JimBastard [n=jimbasta@216.213.97.190] has joined #node.js [18:20] elliottcable: that’s the first I have [18:20] elliottcable: onnnn… [18:21] pkrumins: creationix: here? did you write a framework that abstracted common pattern when callacks called more callbacks, which called more callbacks, until you got the result you wanted? [18:21] creationix: pkrumins: yeah, a few [18:21] creationix: pkrumins: I use http://github.com/creationix/step mostly [18:22] BryanWB: node gurus! here is my script for converting .wav files to .mp3 files. http://gist.github.com/490973 Am trying to figure out how to output a count once all files are processed. any ideas? [18:22] _announcer: Twitter: "this is awesome --> http://jeffkreeftmeijer.com/2010/experimenting-with-node-js/ #nodejs" -- Abhinay Omkar. http://twitter.com/abhiomkar/status/19592923174 [18:22] pkrumins: creationix: thanks! [18:22] creationix: speaking of Step [18:22] pkrumins: yeah? [18:22] creationix: BryanWB: used it in his gist [18:23] creationix: pkrumins: ^ [18:23] JimBastard: BryanWB: you got me excited, thought you were doing actual conversion [18:23] elliottcable: JimBastard 3» yep, 23rd is first I have [18:23] JimBastard: http://nodejs.debuggable.com/2009-11-23.txt [18:23] JimBastard: elliottcable: yeah, if you check the first day of logs [18:23] BryanWB: JimBastard, that would require actual intelligence [18:23] JimBastard: i sign in like 20 minutes later [18:23] JimBastard: BryanWB: +20 [18:23] JimBastard: ACTION agrees [18:23] elliottcable: ryah 3» no, we’d rather hang in here than make money [18:23] damienkatz has joined the channel [18:23] creationix: BryanWB: you need to put a callback in your convert() function [18:23] elliottcable: JimBastard 3» the logs on this machine only go back 10 days before the ones on debuggable.com [18:23] pkrumins: creationix: got it [18:24] elliottcable: JimBastard 3» I have comprehensive ones back to, uh, august or sept? but they’re lost somewhere in one of my backups before my old instance went kablooie [18:24] creationix: BryanWB: and you'll need a counter that counts pending callbacks [18:24] BryanWB: creationix, but won't that call on each invocation? i only want to call it once at the end [18:25] joshbuddy has joined the channel [18:25] creationix: you can wrap it another step layer if you want [18:25] rtomayko has joined the channel [18:25] creationix: BryanWB: do you want it to only succeed if all the converts succeed, or just some of them? [18:25] ryah: creationix: do we have an issue for http-parser pausing correctly? [18:25] ryah: i haven't got it to work yet, btw [18:25] ryah: but i have a test i'd like to paste [18:25] BryanWB: creationix, only succeed at end if all succeed [18:25] creationix: ryah: issue on github? don't think so [18:26] creationix: BryanWB: great, then Step is perfect [18:26] creationix: BryanWB: just a sec, I'll send a gist [18:26] BryanWB: creationix, will try another step layer, but then don't i have to execute the forEach call in subprocess? [18:26] BryanWB: creationix, grt, tks [18:29] sveisvei has joined the channel [18:30] jamescarr: hmmm [18:31] huyhong has left the channel [18:32] _announcer: Twitter: "interesting the demo with websockets and node.js, even more interesting is the ratelimit function!good stuff" -- Andrea Giammarchi. http://twitter.com/WebReflection/status/19593472983 [18:32] maushu has joined the channel [18:32] TommyM has joined the channel [18:33] creationix: BryanWB: haven't actually ran it, but this is the idea http://gist.github.com/490990 [18:33] bradleymeck_: best way to break an Array.forEach? [18:33] elliottcable: hrm [18:33] BryanWB: creationix, tks dude, mile grazie [18:34] creationix: BryanWB: group() is a special part of Step that generates callbacks that get put into a single argument on the next step [18:34] creationix: this.group()() generates the callback [18:34] creationix: parallel is like it, but uses a argument for each result [18:34] creationix: this.parallel() generates the callback [18:34] _announcer: Twitter: ""Experimenting with Node.js" - use a web socket enabled browser when checking out... > http://bit.ly/9vkyBx" -- Sean T Allen. http://twitter.com/SeanTAllen/status/19593624330 [18:35] elliottkember: bah, well that experiment didn't work :| [18:35] brianmario has joined the channel [18:35] drudge: here either, in chrome or safari :( [18:35] _announcer: Twitter: "del.ici.us-popular: Experimenting with Node.js - Jeff Kreeftmeijer http://tinyurl.com/2vxpu4m" -- Kyle Welsh. http://twitter.com/kyledwelsh/status/19593677783 [18:36] elliottkember: ol' Firefox and its socket.connected => true [18:36] tek has joined the channel [18:37] creationix: BryanWB: if you don't want line 13 to throw an error, just call callback() [18:37] BryanWB: creationix, ok [18:37] wattz: anyone ever try to implement oop interfaces in js? [18:37] jamescarr: ryah, looks like my issue was bogus [18:37] jamescarr: sorry bout that [18:38] creationix: wattz: what do you mean? [18:38] creationix: it's just JS [18:38] jamescarr: I forgot to import my vim settings to my new laptop that prevent trailing newlines :) [18:38] wattz: like OOP interfaces [18:38] jamescarr: wattz, its been awhile, but there are frameworks that try to enforce something like contracts in js [18:38] wattz: not UI [18:38] _announcer: Twitter: "NodeJS faster than a simple Java Servlet. Then yes!" [pt] -- Luiz Corte Real. http://twitter.com/srsaude/status/19593848589 [18:39] creationix: wattz: it can be done a million different ways, I don't have any generic libraries for it though [18:39] jamescarr: wattz, its anoying though because it means you have to check that an instance fulfills a specific contract inside each function call [18:39] wattz: jamescarr: that's what Im finding [18:40] jamescarr: it's been YEARS since I saw it... [18:40] creationix: I usually just check for properties when I need them [18:40] wattz: and see i don't really create 'classes' the best way either [18:40] wattz: i just do [18:40] jamescarr: creationix, I find thats the best way to do it [18:40] wattz: var Class = function() { this.init.apply(this, arguments); }; [18:40] jamescarr: wattz, oh boy... [18:40] wattz: than extend prototype [18:40] wattz: quick and dirty [18:41] creationix: wattz: that works [18:41] wattz: it does, no inheritence [18:41] wattz: but not real worrked about that [18:41] creationix: inheritance is easy [18:41] wattz: yeah [18:41] jamescarr: yep [18:41] wattz: set a var [18:41] wattz: lol [18:41] wattz: _parent = this.prototype [18:41] creationix: just have one prototype Object.create() from another [18:41] wattz: oh [18:42] wattz: lol [18:42] muhqu has joined the channel [18:42] creationix: or set __proto__ on the subclass to match the paren't prototype [18:42] creationix: prototypal inheritance is much simpler [18:42] _announcer: Twitter: "@jkreeftmeijer Awesome article on Node.js! +follow" -- Niels van Aken. http://twitter.com/vanakenpublic/status/19594069257 [18:42] creationix: though you still have to copy the constructor definition from above [18:42] _announcer: Twitter: "The Node.js Ecosystem - Frameworks, Libraries and Best Practises http://bit.ly/b5RuoV" -- Dionysios Synodinos. http://twitter.com/synodinos/status/19594070710 [18:43] creationix: if you want it to look classical [18:43] wattz: right [18:44] _announcer: Twitter: "node.js is fun.. should do something with node.js... like doing javascript in server side. :-)" -- Seung-jin Kim. http://twitter.com/seungjin/status/19594185179 [18:45] _announcer: Twitter: "Well almost. I hope that's there. http://journal.dedasys.com/2010/04/29/erlang-vs-node-js" [ja] -- Yukimura Anzu. http://twitter.com/yukimura_anzu/status/19594230702 [18:46] _announcer: Twitter: "Kind of cool - a little creepy too: http://j.mp/asfIja #nodejs #websockets" -- Travis Swicegood. http://twitter.com/tswicegood/status/19594279440 [18:47] jamescarr: I could have sworn that ES5 provided some kind of mechanism to copy the properties from one object to another safely [18:47] wattz: this just seems like a whole lot of unneeded: http://ejohn.org/blog/simple-javascript-inheritance/ [18:47] wattz: but maybe it's just me [18:47] jamescarr: I asked this on the mailing list but the responses I got was how to do it by hand, something I've been doing for the good part of the decade ;) [18:47] _announcer: Twitter: "cool, my #nodejs / #expressjs infoq interview is up http://www.infoq.com/articles/nodejs-frameworks" -- TJ Holowaychuk. http://twitter.com/tjholowaychuk/status/19594350366 [18:48] ryah: strange that infoq didn't ask me for an interview [18:48] jamescarr: lol [18:48] jamescarr: ryah, you're going to be at strange loop in Oct right? [18:48] ryah: jamescarr: yeah [18:48] ryah: you too? [18:49] jamescarr: yeah, I'm giving a talk on BDD with scala ;) [18:49] rwaldron has joined the channel [18:49] claudio: grrrr, I'd like to fcgi support to node.js but I really can't find an example (even in C) for a "client"... only responders [18:49] jamescarr: it was a pretty awesome conference last year, so I can't wait to see how it turns out this year [18:49] ryah: claudio: i htink you'll need to opne the spec [18:50] claudio: ryah: not that helpful either :( [18:50] claudio: but yeah, seems the only way [18:51] ryah: ACTION is waiting for a compelling reason to make a fcgi parser/library [18:51] ryah: would really like to [18:51] claudio: I've spawn-cgi listening, but I don't know what to say to it :) [18:51] _announcer: Twitter: "Forget my last post about node.js and kiwi, the new package manager is NPM http://bit.ly/96hD7G" -- Ikai Lan. http://twitter.com/ikai/status/19594539550 [18:51] claudio: ryah: well... my ipothetical scenario is a mixed environment with node.js and (say) php [18:52] ryah: compelling = my boss tells me to do make it :) [18:52] claudio: ah :) [18:52] tyfighter has joined the channel [18:55] creationix: tjholowaychuk: interesting group of people in the infoq article [18:55] creationix: fun read [18:56] c4milo: ahah [18:56] _announcer: Twitter: "I probably shouldn't have as much fun with this website as I'm having. http://jeffkreeftmeijer.com/2010/experimenting-with-node-js/" -- Konrad Siek. http://twitter.com/kondziu/status/19594853309 [18:57] _announcer: Twitter: "Experimenting with Node.js and a node web socket server http://jeffkreeftmeijer.com/2010/experimenting-with-node-js/" -- jakescott. http://twitter.com/jakescott/status/19594912893 [18:59] _announcer: Twitter: "InfoQ interviewed me about Geddy for an article on Node.js frameworks: http://www.infoq.com/articles/nodejs-frameworks" -- Matthew Eernisse. http://twitter.com/mde/status/19594987118 [18:59] docjohnson has joined the channel [19:01] josemoreira has joined the channel [19:01] _announcer: Twitter: "@nileshashra I've only tested with node.js as client." -- Mattias Gunneras. http://twitter.com/mattiasgunneras/status/19595151440 [19:02] bradleymeck_: anyone know how to cast a void* that I know is a Function to a Handle in v8's c++ [19:02] Astro: oh shit, my nodeko team vanished and now registration is closed [19:02] _announcer: Twitter: "Check out my InfoQ interview on Node.JS: http://www.infoq.com/articles/nodejs-frameworks Also @tjholowaychuck and @mde!" -- Guillermo Rauch. http://twitter.com/rauchg/status/19595200016 [19:02] Astro: t'was http://nodeknockout.com/teams/3999234c47730e064c0b0000 [19:03] jherdman has joined the channel [19:03] _announcer: Twitter: "This is a bit creepy (http://bit.ly/b9q4WK) and the best Node.js experiment I've ever seen. @jkreeftmeijer #thefuture" -- Peter Frasca. http://twitter.com/uselesscarnival/status/19595271219 [19:03] visnup has joined the channel [19:04] elliottcable: bradleymeck_ 3» I’m not familiar with C++’s casts. Sorry, they’re a clusterfuck [19:04] elliottcable: only in C++ could you possibly need four freaking different distinct kinds of casts… |=< [19:04] jamescarr: OMG [19:04] bradleymeck_: the void* to Handle in v8 leaves much to be desired [19:04] jamescarr: that is very f'ing cool [19:04] programble has joined the channel [19:04] dgathright has joined the channel [19:04] elliottcable: jamescarr 3» what is? [19:05] jamescarr: http://jeffkreeftmeijer.com/2010/experimenting-with-node-js/ [19:05] _announcer: Twitter: "wow, those 22 bonus spots filled up quickly. 222 teams registered for node.js knockout!" -- node knockout. http://twitter.com/node_knockout/status/19595384874 [19:07] Astro: is there a KO channel? [19:08] _announcer: Twitter: "#Awesome application of Node.js, or *awesomest* application of Node.js? http://jeffkreeftmeijer.com/2010/experimenting-with-node-js/" -- ell.io. http://twitter.com/elliottcable/status/19595532207 [19:08] elliottcable: dude [19:08] elliottcable: way neat [19:08] mattly has joined the channel [19:09] jamescarr: did you know I've written nodejs code every single night the past two weeks? [19:09] jamescarr: I think I've written mode nodejs code than I do for my crappy JEE day job ;) [19:09] Egbert9e9 has joined the channel [19:10] elliottcable: ACTION high-fives jamescarr  [19:11] drudge: i wrote nodejs code all weekend [19:11] drudge: more node than cocoa! [19:11] _announcer: Twitter: "Cassandra is based on async SEDA architecture. In this sense it is like node.js. I retweeted previous tweet because it sounds weird." -- maxgrinev. http://twitter.com/maxgrinev/status/19595720620 [19:11] drudge: whatever elliottcable [19:12] elliottcable: wait, drudge? [19:12] elliottcable: what the shit? [19:12] drudge: what's up dude :) [19:12] elliottcable: gah this room *breeds* small-world connections [19:12] drudge: i've been here for a month+. where you been. [19:12] elliottcable: practically every coder I’ve ever known, from Ruby, JavaScript, Cocoa, Io, or my tiny time around Haskell, has appeared in here at some time or other [19:13] elliottcable: drudge 3» heh, I was away from Node for a few months [19:13] elliottcable: drudge 3» my last activity in here until a week or so ago… was circa. v0.1.22 [19:13] rope has joined the channel [19:13] elliottcable: drudge 3» in fact, the server I’m IRCing from is running http://tau.pe/ on v.0.1.17 :x [19:15] drudge: elliottcable: node.js is the new hotness, what do you expect [19:15] elliottcable: nah, Node.js is the old hotness now. *Paws* is the *new* hotness ;D [19:16] elliottcable: lol. I’m kidding, I love teh nodes forevah. [19:16] drudge: paws, ha [19:16] _announcer: Twitter: "Incredibly creative web sockets demo. http://jeffkreeftmeijer.com/2010/experimenting-with-node-js/" [no] -- Marcus Ramberg. http://twitter.com/nordmarcus/status/19596008535 [19:16] drudge: elliottcable: we got some linkinus stuff powered by node now [19:17] elliottcable: drudge 3» the push-notif bouncer, I’m guessing? [19:17] drudge: yeah [19:17] dgathright has joined the channel [19:17] voodootikigod_: who the fuck let elliottcable in here [19:17] drudge: and syncing of connections, chans, queries, etc [19:17] drudge: i know right voodootikigod_ [19:17] elliottcable: god damnit it’s voodootikigod_ too? [19:18] drudge: this is where awesome people come to hang out [19:18] elliottcable: ugh, next thing I know, zenspider is gonna show up, and I’m gonna be forced go all THIS… IS… SPARTAAAAAA [19:18] teemow has joined the channel [19:18] elliottcable: no, ##Paws is where awesome people go to hang out ;D [19:18] elliottcable: this channel has 300 people O_O [19:18] drudge: no that is where awesome people go to die [19:18] elliottcable: pff [19:18] drudge: or become less awesome [19:18] elliottcable: speak not ill of the ##Paws D:< [19:19] elliottcable: drudge 3» you writing any non-linkinus-related stuff in Node, then? [19:19] aglemann has joined the channel [19:19] drudge: elliottcable: just some other web services, a blog, help desk, etc [19:19] elliottkember has joined the channel [19:20] drudge: i actually ported our software activation server over to node [19:20] drudge: but it's not in production yet [19:20] elliottcable: you’ve been a damn busy bee [19:20] _announcer: Twitter: "@jkreeftmeijer Hey, HN brought me to your blog. +1 on the node.js experiment! Also, your blog template is fabulous. What are you using?" -- Ayan Barua. http://twitter.com/ayanb/status/19596243138 [19:21] sh1mmer: drudge: who is "we"? [19:21] sh1mmer: ACTION curious [19:21] _announcer: Twitter: "The Node.js Ecosystem - Frameworks, Libraries and Best Practises: http://www.infoq.com/articles/nodejs-frameworks" -- Camilo Aguilar. http://twitter.com/c4milo/status/19596254451 [19:21] v88d88tikigod: sh1mmer 3» Linkinus peeps [19:21] v88d88tikigod: sh conceited software or whatevah [19:21] drudge: sh1mmer: http://conceited.net [19:21] sh1mmer: v88d88tikigod: wtf is wrong with your numbers? [19:22] sh1mmer: drudge: hm. I guess I wouldn't have named a company after a character defect, but you seem to be doing cool stuff [19:22] v88d88tikigod: voodootikigod_ 3» hm? [19:22] v88d88tikigod: sh1mmer 3» * what? [19:22] voodootikigod_: ? [19:22] drudge: sh1mmer: defect? i think not [19:22] voodootikigod_: sh1mmer: thats elliott cable [19:22] sh1mmer: why do you have 88s instead of oos [19:22] voodootikigod_: not me [19:22] v88d88tikigod: voodootikigod_ 3» nothin’; mis-hilight. Where do I know you from, though? [19:22] _announcer: Twitter: "@nickmolnar #nodejs ftw" -- Charlie Robbins. http://twitter.com/indexzero/status/19596350982 [19:22] sh1mmer: ah [19:22] elliottcable: sh1mmer 3» y’know, v88d88. v8 voodoo. [19:23] sh1mmer: oh, yes, that's so obvious. [19:23] elliottcable: totally obvious. [19:23] voodootikigod_: who knows [19:23] sh1mmer: voodootikigod_: good work on the beer.js [19:23] elliottcable: oh, scratch that, you’re the JSConf dude. [19:23] voodootikigod_: thanks man [19:24] voodootikigod_: you stay the night [19:24] voodootikigod_: i wanna kick up something you guys have been doing already [19:24] voodootikigod_: or did [19:24] voodootikigod_: the "signs ofdrinking with leroux" [19:24] voodootikigod_: you wake up at a conference and its 3pm in a hotel that is not what you booked, you must have been drinking with @brianleroux [19:25] sh1mmer: voodootikigod_: yeah that was awesome [19:25] sh1mmer: I love how the vancouver crowd ran with it [19:25] voodootikigod_: those guys are awesome [19:25] elliottcable: there’s a JS crowd in Vanc? [19:25] elliottcable: I’m gonna be driving through there in a few days [19:26] sh1mmer: elliottcable: big crowd [19:26] elliottcable: :O [19:26] xer0xM: van.js for the win :) [19:26] sh1mmer: vanjs has about 100 people [19:26] elliottcable: some sort of official meeting thing? [19:26] drudge: i wish there was a big crowd here in upstate NY :P [19:26] elliottcable: mmm awesome [19:26] sh1mmer: they have joyent, mozilla, nitobi [19:26] voodootikigod_: haha [19:26] elliottcable: ugh, there’s like no programming community where I’m moving [19:26] voodootikigod_: elliottcable: you would get pantsed by those kids [19:26] elliottcable: then again, I’m moving *from* Alaska; it can’t get any worse than it already is [19:26] elliottcable: voodootikigod_ 3» pfft [19:26] sh1mmer: elliottcable: but you can see russia from there [19:27] sh1mmer: surely that makes up for it [19:27] _announcer: Twitter: "Got selected for an #InfoQ interview on #NodeJS: http://www.infoq.com/articles/nodejs-frameworks" -- Astro. http://twitter.com/astro1138/status/19596605919 [19:27] _announcer: Twitter: "#iaflash Cassandra is based on async SEDA architecture. In this sense it is like node.js. I retweeted previous twe... http://bit.ly/cfziBp" -- I, Architect.. http://twitter.com/iaflash/status/19596607932 [19:27] voodootikigod_: they would have you dancing naked in teh streets and youtubing it while you shouted I LOVE MUTHAFUCKING RUBY [19:27] elliottcable: sh1mmer 3» unfortunately, neither here nor russia (at least the bits I can see) has any programming community [19:27] drudge: in russia your pants pants you? [19:27] elliottcable: voodootikigod_ 3» s/RUBY/PAWS/ but pretty much [19:27] voodootikigod_: only soviety russia [19:28] sh1mmer: voodootikigod_: have you tried lost coast old ale? [19:28] sh1mmer: I found a random bottle of it in a 6 pack of 8-ball I bought. it's awesome. [19:29] voodootikigod_: got a pic [19:29] voodootikigod_: they are out of sandiego right [19:29] sh1mmer: no [19:29] voodootikigod_: downtown brown [19:29] voodootikigod_: yea [19:29] sh1mmer: Eurika, I guess, I dunno where that is [19:30] dylang has joined the channel [19:30] voodootikigod_: never had the stout [19:30] voodootikigod_: the alt you say [19:30] sh1mmer: the stout is decent [19:30] voodootikigod_: they dont have an old ale [19:30] sh1mmer: but there was one bottle of old ale [19:30] sh1mmer: oh they do [19:30] sh1mmer: LD [19:31] voodootikigod_: consider it a mission! [19:31] sh1mmer: http://beeradvocate.com/beer/profile/256/49356 [19:31] sh1mmer: voodootikigod_: I was thinking that it might be some promition they are doing [19:31] sh1mmer: slipping in the odd bottle [19:31] sh1mmer: that would be awesome [19:31] voodootikigod_: genius ide if it is [19:32] drudge: http://www.corebrewing.com/2009/04/lost-coast-old-ale/ [19:32] tjholowaychuk: shit, hard to code outside [19:32] sh1mmer: hm, the one I got said 11.7% [19:32] sh1mmer: or maybe 11.2 [19:32] SubStack: some brewer should make the standard stout [19:32] mertimor has joined the channel [19:32] voodootikigod_: tjholowaychuk: odds you can ensure that you slap a 1.0 final on express soon? [19:33] SubStack: or stdout for short [19:33] sh1mmer: voodootikigod_: trying to win a bet? [19:33] sh1mmer: haha [19:33] voodootikigod_: hmm [19:33] voodootikigod_: maybe [19:33] tjholowaychuk: we shall see! [19:33] tjholowaychuk: RC in a day or two [19:33] voodootikigod_: BEAT RAILS [19:33] drudge: express totally beats rails :P [19:34] voodootikigod_: BEAT RAILS 3 out the door [19:34] voodootikigod_: !!! [19:34] voodootikigod_: for greater good [19:34] voodootikigod_: and hookers [19:34] voodootikigod_: and blow! [19:34] tjholowaychuk: haha [19:34] voodootikigod_: i can only help with one of those [19:34] tjholowaychuk: anyone here tried a laptop shade? do they suck? look really ugly but hey [19:34] voodootikigod_: sh1mmer: can handle the rest [19:34] SubStack: tjholowaychuk: I have used a towel with great success [19:35] SubStack: a towel and a black box [19:35] voodootikigod_: get a box [19:35] SubStack: for driving around an underwater rov in hawaii [19:35] voodootikigod_: cut a hole in the box [19:35] tjholowaychuk: haha [19:35] tjholowaychuk: cardboard box [19:35] tjholowaychuk: stylish [19:35] SubStack: and how! [19:36] drudge: connect-form was totally not reading my multipart form data right :( was ignoring the boundary [19:36] drudge: well, formidable [19:36] tjholowaychuk: drudge: take it up with formidable :p [19:36] drudge: yeah i know :P [19:36] rolfb has joined the channel [19:37] drudge: tjholowaychuk: great work on connect and express btw, really digging it [19:37] mertimor has joined the channel [19:37] tjholowaychuk: drudge: thanks man [19:38] deepthawtz has joined the channel [19:38] drudge: thanks for giving me a new bicycle [19:39] ashleydev has joined the channel [19:39] cardona507 has joined the channel [19:41] _announcer: Twitter: "concept: state machine based system (maybe node.js?) that would do operator/commutator math (http://bit.ly/9SmObE) idea still forming." -- Adam Dill. http://twitter.com/adamdill/status/19597454660 [19:42] ryah: need callbacks on write()... [19:42] ryah: i keep needing it [19:42] josemoreira has joined the channel [19:42] paul____ has joined the channel [19:43] CIA-77: node: 03Ryan Dahl 07master * r28db0c2 10/ TODO : Add write() callback TODO item - http://bit.ly/azuwPE [19:43] _announcer: Twitter: "Team Speedo is still searching for team members for #nodejs @node_knockout!" -- Arnout Kazemier. http://twitter.com/3rdEden/status/19597558987 [19:44] CrabDude has joined the channel [19:44] _announcer: Twitter: "Start your cursors! Fun with node and websockets. http://jeffkreeftmeijer.com/2010/experimenting-with-node-js/" -- Dion Almaer. http://twitter.com/dalmaer/status/19597624937 [19:45] _announcer: Twitter: "[del] [from ctaskiran] Hacker News | Experimenting with Node.js: Cursor games, as someone mentions in teh comments http://url4.eu/6QJlV" -- sldfjd ldajds. http://twitter.com/sldfjd/status/19597656815 [19:45] _announcer: Twitter: "[The] [from ctaskiran] Experimenting with Node.js - Jeff Kreeftmeijer: http://url4.eu/6QJlU" [ca] -- sldfjd ldajds. http://twitter.com/sldfjd/status/19597657115 [19:45] mischief has joined the channel [19:47] saikat: What solutions are out there currently for loading commonjs-compatible modules on the client-side? [19:48] saikat: I've just been doing a check to see if "exports" exist in my .js file and, if so, adding to exports. For example - http://github.com/saikat/commonjs-json-sync/blob/master/sync.js#L363 . Is this the right way to be doing this? [19:48] aconbere has joined the channel [19:49] mertimor has joined the channel [19:49] creationix: wohoo, added unit tests and updated the docs to Step [19:50] _announcer: Twitter: "WebSockets: http://jeffkreeftmeijer.com/2010/experimenting-with-node-js/ Wow!" [sv] -- Vojto. http://twitter.com/ivojto/status/19597967697 [19:51] EyePulp has joined the channel [19:51] _announcer: Twitter: "how do I get npm to pull in restler and have it work on current node.js ? node.js breaks things. #nodejs" -- Carlos Cardona. http://twitter.com/cgcardona/status/19598020941 [19:51] mertimor has joined the channel [19:52] JimBastard: !tweet @cgcardona come in #node.js on irc.freenode.net for help [19:52] elliottcable: saikat 3» thiiiiis is why commonJS’ module system sucks. [19:53] _announcer: Twitter: "InfoQ: Virtual Panel: The Node.js Ecosystem - Frameworks, Libraries and Best Practises: http://bit.ly/b3DzsU" -- Martin Hrabovcin. http://twitter.com/martinhrabovcin/status/19598087435 [19:53] elliottcable: saikat 3» if you’re open to writing non-CommonJS compatible code, there’s better options IMNSVHO [19:53] ewdafa has joined the channel [19:53] cardona507: JimBastard: \o [19:53] JimBastard: lol cardona507 got summoned [19:53] JimBastard: was he already ehre [19:53] JimBastard: cardona507: im not sure if restler is up to date with current node [19:54] saikat: elliottcable: for now, i don't much care about commonjs-compatibility. I just want my same JS files to be loadable from me node server and from my client-side [19:54] saikat: from my* [19:54] JimBastard: saikat: dont we all [19:54] _announcer: Twitter: "Introduction to NodeJS video - http://yhoo.it/9uOVSw" -- TheNatd. http://twitter.com/TheNatd/status/19598161260 [19:54] elliottcable: saikat 3» I’ve a `require()` replacement that is much more competible with client-side code [19:54] elliottcable: saikat 3» but I’m in the middle, right this moment, of updating it for more recent Node.js versions [19:54] JimBastard: saikat: there are like 4 libraries for doing that [19:54] _announcer: Twitter: "To see the cursor at other online visitors? Node.js! http://jeffkreeftmeijer.com/2010/experimenting-with-node-js/" [cs] -- Michal Kobelka. http://twitter.com/kobitch/status/19598183760 [19:54] JimBastard: RequireJS is prob the most advanced [19:54] elliottcable: saikat 3» http://github.com/elliottcable/from [19:55] kuya: creationix: with connect router... wouldnt it make a lot more sense to attach the params to the request and keep the method signature the same as for other middleware? [19:55] JimBastard: that looks way better then http://requirejs.org/ elliottcable [19:55] JimBastard: :-) [19:55] elliottcable: JimBastard 3» it is. [19:55] elliottcable: #completelackofsarcasm [19:55] daniellindsley has joined the channel [19:55] JimBastard: elliottcable: im running your tests now, you right [19:55] JimBastard: my bad [19:55] elliottcable: wat? [19:55] elliottcable: anyway [19:56] elliottcable: http://requirejs.org/ looks great, there’s just one teensy little problem with it at first glance… [19:56] tjholowaychuk: kuya: doesnt really matter [19:56] elliottcable: … it uses CommonJS modules. [19:56] elliottcable: ACTION deadpan [19:56] saikat: i see, thanks guys [19:56] tjholowaychuk: kuya: its not really meant to be used directly, connect is not a high level framework [19:56] _announcer: Twitter: "got to try this. Node.js + websockets http://bit.ly/aMz8qV" -- Tony Maley. http://twitter.com/TonyMaley/status/19598280131 [19:57] creationix: kuya: then it's req.params.foo [19:57] cardona507: JimBastard: 3 issues: restler is broken on latest node + (2) npm doesn't know about restler + (3) restler seems to use mjsunit and I don't know how to get that dependency solved either. [19:57] creationix: more typing [19:57] creationix: kuya: besides, I didn't design that api, tj did [19:58] JimBastard: cardona507: ....... [19:58] creationix: kuya: in my version it's even shorter, the params are inlined in the function arguments [19:58] JimBastard: cardona507: npm only knows about packages which people have added [19:58] JimBastard: cardona507: the fact that no one has added restler is somewhat of an indicator that its not properly supported [19:58] JimBastard: you should just clone the repo and run a submodule update and see if that works [19:58] SvenDowideit has joined the channel [19:58] kuya: hrm ok thanks tjholowaychuk / creationix [19:59] _announcer: Twitter: "@jkreeftmeijer I see you’re enjoying Node.js. :D" -- ell.io. http://twitter.com/elliottcable/status/19598425697 [19:59] JimBastard: if restler is not working, open an issue, or patch that shit [19:59] sh1mmer: voodootikigod_: what am I handling? I went to lunch [19:59] voodootikigod_: the blow [19:59] sh1mmer: oh ok [19:59] kuya: i wasnt really thinking about shortness of code - just being able to attach middleware to routed stuff [19:59] sh1mmer: no worries, mate [20:00] tjholowaychuk: kuya: might be something worth looking into [20:00] tjholowaychuk: *into changing [20:01] mjr_ has joined the channel [20:01] mischief has joined the channel [20:01] tjholowaychuk: kuya: whats the use-case for your routed middleware? [20:01] jamescarr: well that was easy... [20:01] jamescarr: only took me a few minutes to get nodejs and my java app talking to each other over rabbitmq [20:01] _announcer: Twitter: "A gorgeous example of Node.js --> http://bit.ly/9QRMff" -- Ramon Hernandez. http://twitter.com/hernan43/status/19598580455 [20:01] kuya: tjholowaychuk: just pondering atm [20:02] SvenDowideit has joined the channel [20:02] creationix: tjholowaychuk: though, now that I think about it, I'm fine with having it on req [20:02] creationix: it's not much more typing [20:02] tjholowaychuk: its not brutal no [20:02] creationix: ", params" vs "var params = req.params;" [20:03] tjholowaychuk: (req, res, next, ...apply...) might be ok [20:03] kuya: tjholowaychuk: ive got a slightly OT question... what do you do about database connections? im used to pylons where they are thread local and i dont really know how to deal with them atm with connect/node [20:03] creationix: kuya: use whatever library you want [20:03] creationix: just be careful when using spark is multi-process mode [20:03] creationix: *in [20:04] kuya: well im using mongo - but in every route i have to open a connection and then pass that around to all my "library" code [20:04] kuya: it seems all wrong [20:04] cardona507: JimBastard: thx.. I guess node.js is still the wild west in terms of libraries. (seems restler has no .gitsubmodules, and there is no clear way to get the dependency on mjsunit resolved to even be able to test restler. So it looks like about as much work as I had expected -- after dumping 2 of my first days in node.js land on it) [20:04] femtoo has joined the channel [20:04] creationix: kuya: I just create a connection in the global closure [20:04] jamescarr: mjsunit? [20:04] creationix: and reference it from the routes [20:04] kuya: so you just have one connection? [20:05] creationix: kuya: why would you need more? [20:05] creationix: the connection is non-blocking it the library was written right [20:05] kuya: creationix: i dont know :) im not used to dealing with this stuff :) [20:05] cardona507: jamescarr: its michael jacksons test unit [20:06] creationix: kuya: yeah, 99% of the time you want to share a connection [20:06] deepthawtz: cardona507: :P [20:06] creationix: node is single threaded, so there are no locking issues [20:06] kuya: well that simplifies my code a lot :) [20:07] creationix: kuya: :) that's node [20:07] creationix: the only hard part is managing all the callback chains [20:07] creationix: Step helps [20:07] kuya: does spark have some sort of hook for stuff to run before actually launching the server? [20:07] creationix: kuya: not built-in, but you can execute arbitrary code in your config file [20:07] _announcer: Twitter: "Website shows you where other users' mouse pointers are with Node.js http://tumblr.com/xtve9kjce" -- Max Masnick. http://twitter.com/masnick/status/19598926149 [20:07] creationix: it's js [20:08] kuya: ok - ive not done anything with spark except have a app.js [20:08] creationix: kuya: and you can run stuff in your app.js file too [20:08] V1_ has left the channel [20:08] creationix: but config.js is loaded first if it exists [20:08] kuya: thanks guys - think im out of questions :) [20:08] jamescarr: last year I did " a week of js TDD frameworks" [20:09] creationix: kuya: thanks for asking [20:09] jamescarr: maybe I need to do "a month of nodejs test frameworks" [20:09] elliottcable: lol [20:09] elliottcable: shit I need to write one [20:09] elliottcable: :O [20:09] jamescarr: since by my count there are now 24 different nodejs test frameworks [20:09] kuya: your bound to be asked them again by someone ;) [20:09] elliottcable: rather, i need to put code in the repository that’s sitting there waiting for one [20:09] elliottcable: github.com/elliottcable/grizzly [20:10] jamescarr: well, if anyone has time to kill, mind doing a code review of http://github.com/jamescarr/payment-paypal-payflowpro for me? [20:10] nefD has joined the channel [20:10] jamescarr: I need to be told what in it looks like shit that I should clean up ;) [20:11] kuya: ACTION runs and hides from anything todo with paypal [20:11] _announcer: Twitter: "If @google wanted to set the world on fire, they would support node.js on App Engine. I would personally kiss someone." -- Kevin Whinnery. http://twitter.com/kevinwhinnery/status/19599122944 [20:11] creationix: jamescarr: does getBalance always just emit one success or one error? [20:11] jamescarr: yep [20:12] _announcer: Twitter: "A creepy but really cool websockets and Node.js demo: Real-time mouse cursors http://bit.ly/bfp1uT" -- Tim Dorr. http://twitter.com/timdorr/status/19599161454 [20:12] creationix: jamescarr: perhaps a callback is better than an event emitter for that case then? [20:12] creationix: jamescarr: but, not a big deal, event emitters are a little more flexible [20:12] jamescarr: I considered function(err, data) as callbacks... [20:13] jamescarr: but like the idea of saying "if it fails, do this; if it succeeds, then do this :) [20:13] _announcer: Twitter: "Today, @igrigorik and @jkreeftmeijer made me smarter. Thanks, guys! Async Ruby http://bit.ly/aNj87u - Node.js http://bit.ly/9QR2YO" -- Joe Alba. http://twitter.com/joealba/status/19599221603 [20:13] jamescarr: plus I think there's another ack for warnings [20:13] jamescarr: but havent found it in the paypal apidocs yet [20:13] creationix: jamescarr: also, with node style callbacks, you get to hook into control-flow libraries [20:13] jamescarr: oh, so node style callbacks are always function(err, data)? [20:14] creationix: jamescarr: just my personal style to expose the simplest possible api and let people layer on it how they want [20:14] jamescarr: I see [20:14] creationix: jamescarr: yea, function (err, arg1, arg2, ...) [20:14] khug has joined the channel [20:15] jamescarr: yeah, the thing I dislike is having to check for the error and then do the work [20:15] jamescarr: forces me to use an if statement. :( [20:16] _announcer: Twitter: "Neat demo of #websockets and #nodejs: http://jeffkreeftmeijer.com/2010/experimenting-with-node-js/g-with-node-js/" -- Adrian Lienhard. http://twitter.com/adrianlienhard/status/19599421015 [20:17] creationix: jamescarr: "if () {}" is less code than "on("foo", function () {}).on("error", function () {})" ;) [20:17] bradleymeck_: what was that module that invokes the Garbage Collector? [20:17] jamescarr: ah good point ;0 [20:17] jamescarr: ;) [20:17] creationix: jamescarr: but, yeah, I understand, just giving feedback [20:17] JimBastard: cardona507: you picked some random library that is unsupported, dont judge node by that [20:17] _announcer: Twitter: "Okay this is more than a little awesome: http://jeffkreeftmeijer.com/2010/experimenting-with-node-js/ #nodejs" -- Steven. http://twitter.com/sdegutis/status/19599473636 [20:17] JimBastard: cardona507: http://github.com/danwrong/restler hasnt been updated in 2 months [20:18] jamescarr: JimBastard, heh, thats even a worse problem in the ruby world yet I still dont hear people complain [20:18] creationix: jamescarr: basically, events are great and powerful and flexible. I just think it's overkill for simple async functions [20:19] JimBastard: cardona507: and if you really spent two days of your time you should at least open up an issue, http://github.com/danwrong/restler/issues [20:19] _announcer: Twitter: "@kevinwhinnery Agreed. There's obviously Rhino support & community efforts like http://appenginejs.org, but yeah, native node.js would rock." -- Jeff Gilfelt. http://twitter.com/readyState/status/19599561894 [20:19] cardona507: JimBastard: agreed [20:19] JimBastard: restler is just a wrapper around http.Client anyway [20:20] _announcer: Twitter: "Yak Shaved. A standalone nodejs web service that compiles coffee-script: http://github.com/xaviershay/coffee-script-ws" -- Xavier Shay. http://twitter.com/xshay/status/19599608402 [20:21] _announcer: Twitter: "Interesting Web Sockets and node.js example http://jeffkreeftmeijer.com/2010/experimenting-with-node-js/" -- Carlos Cardona. http://twitter.com/cgcardona/status/19599680548 [20:23] saikat has joined the channel [20:23] JimBastard: i really need to have a talk with indexzero about "proper" API design [20:23] JimBastard: not everyone is a fucking rocket scientist [20:23] jamescarr: creationix, thanks... I'll consider it... [20:23] zomgbie has joined the channel [20:24] BryanWB: one node process should only use one 1 cpu core, except for any child processes created, correct? [20:24] jamescarr: creationix, it'll be exciting once I implement the remaning API methods... [20:24] _announcer: Twitter: "Geddy web framework for Node.js http://geddyjs.org/" -- Web Developer Links. http://twitter.com/webdevlinks/status/19599850417 [20:24] JimBastard: BryanWB: sounds about right [20:24] BryanWB: so i thought . . . [20:24] jamescarr: especially the one that takes care of all the heavy work (capturing the CC number from the end user, etc) and just gives you callbacks on whether or not authorization passed/failed [20:25] JimBastard: jamescarr: you working on shopping cart? [20:25] JimBastard: or subscription based stuff? or what? [20:25] jamescarr: JimBastard, just thought I'd take my payment gateway experience and implement a set of nodejs modules [20:26] JimBastard: that would be very nice [20:26] silentrob: very cool [20:26] jamescarr: I have more planned... authorize.net, braintree, etc [20:26] JimBastard: whats the first gateway? [20:26] jamescarr: paypal :) [20:26] JimBastard: 10-4 [20:26] JimBastard: do you haz repo yet/ [20:26] jamescarr: yeah http://github.com/jamescarr/payment-paypal-payflowpro [20:26] silentrob: do you have a repo [20:26] jamescarr: it's already available via npm [20:26] silentrob: oops to late [20:27] jamescarr: npm install paytment-paypal-payflowpro [20:27] JimBastard: GUESS WHO HAS A NEW GITHUB FOLLOWER jamescarr [20:27] JimBastard: ;-) [20:27] silentrob: haha [20:27] JimBastard: i dont like being marak in irc, people might try to ask me support questions [20:27] jamescarr: lol [20:27] JimBastard: its better to be a bastard [20:28] _announcer: Twitter: "http://bit.ly/9x2wV7 <- strucks me as very true. the only reason I can deal w/ eventmachine is 'cuz I'm using fibers heavily. #nodejs" -- harry vangberg. http://twitter.com/ichverstehe/status/19600081919 [20:28] _announcer: Twitter: "Coolness of real-time web explained, in one blink: http://bit.ly/cmtOQw #nodejs" -- Almad. http://twitter.com/almadcz/status/19600090011 [20:29] DTrejo__ has joined the channel [20:29] DTrejo__: hello [20:29] sintaxi has joined the channel [20:29] _announcer: Twitter: "here is my first nontrivial #node.js demo http://gist.github.com/490973 thanks to @creationix for his help and step.js" -- Bryan. http://twitter.com/bryanwb/status/19600126786 [20:29] DTrejo__: I'm curious if anyone has a thoughts on this comment about how nodejs is "technically not superior to x, y z"*? http://news.ycombinator.com/item?id=1549023 [20:30] elliottcable: heh [20:30] elliottcable: I /window’d back here just to see if there was a flame war going on about that very post [20:30] DTrejo__: if so, it'd be cool to get a discussion going on that comment [20:30] elliottcable: my takeaway is mostly this: [20:30] elliottcable: that guy doesn’t understand callbacks at all, and hasn’t developed anything serious using them. [20:30] JimBastard: DTrejo__: id love to comment, perma banned [20:30] elliottcable: He *thinks* he knows what it’s ‘all about,’ but he doesn’t. [20:30] elliottcable: JimBastard 3» why am I not surprised? [20:30] elliottcable: JimBastard 3» I’ll transcribe for you, if you like [20:31] creationix: BryanWB: I think there is a bug in your gist [20:31] elliottcable: JimBastard 3» I never use the damn site; I don’t really care if I end up banned [20:31] JimBastard: elliottcable: i can view, just at very slow speeds [20:31] JimBastard: they do silent banning [20:31] _announcer: Twitter: "Experimenting with Node.js and websockets = awesome http://bit.ly/9890rW" -- Galen Ward. http://twitter.com/galenward/status/19600251731 [20:31] creationix: BryanWB: have you tested lines 27-29? If you don't call callback then the step on line 21 will never fire [20:32] DTrejo__: elliottcable: I'd love to hear a more in depth response / see a more in depth comment [20:32] JimBastard: DTrejo__: how about this [20:32] DTrejo__: oh here we go [20:32] elliottcable: oh god [20:32] DTrejo__: 4 comments all real fast [20:32] jamescarr: well, I will say this and put a flameproof suit on... [20:32] DTrejo__: let me read hehe [20:32] DTrejo__: uh oh [20:32] jamescarr: callbacks are lost on single minded code monkeys [20:32] jamescarr: ACTION runs [20:32] DTrejo__: nodejs mafia hah [20:32] JimBastard: DTrejo__: assume node.js is terrible, okay now that we have established that.....assume node.js uses the most popular scripting language in existence. right there, win. [20:32] JimBastard: you can ignore everything else [20:32] DTrejo__: descend on HN [20:33] DTrejo__: JimBastard: I love javascript [20:33] JimBastard: yep [20:33] tjholowaychuk: kuya: you there [20:33] JimBastard: my point [20:33] DTrejo__: did I show you the clock I made JimBastard ? [20:33] JimBastard: no [20:33] CrabDude has joined the channel [20:33] JimBastard: ACTION knows what time it is [20:33] elliottcable: my clock is cooler than yours [20:33] elliottcable: because nobody but me can read it [20:34] kuya: hi tjholowaychuk [20:34] elliottcable: http://drp.ly/1qM25i [20:34] DTrejo__: JimBastard: there's a small math mistake I haven't fixed, but : http://datrej.appspot.com/qlock/qlock.html [20:34] tjholowaychuk: kuya: making that change thata you requested [20:34] sintaxi: I think some people are going to have a very hard time accepting that JavaScript own our asses. [20:34] sammcd has joined the channel [20:34] kuya: tjholowaychuk: oh great! [20:34] elliottcable: DTrejo__ 3» http://yreality.net/UJD/ 1-up’d [20:34] sintaxi: there is very little that can be done about it. [20:34] JimBastard: cool DTrejo__ [20:34] jamescarr: whenever I used callbacks at on job filled with "this is just my job" developers, they got ultra confused ;0 [20:35] elliottcable: sintaxi 3» wrong. [20:35] DTrejo__: "Weather you like the model or not" [20:36] kuya: tjholowaychuk: i hadnt even navigated to the file to look at doing it yet... :) [20:36] benburkert has joined the channel [20:36] DTrejo__: elliottcable: cool, I like it. make sure to look at the JS and see if you see any ways to make it cleaner (ignore the timing error after half past, I haven't uploaded the fix) [20:36] tjholowaychuk: kuya: haha, it was a really quick fix. something I had been contemplating changing at least on the Express end (express uses router) [20:37] creationix: DTrejo__: what are you talking about, I speled it right ;) [20:37] elliottcable: DTrejo__ 3» heh, my code is meaningless; it’s just BS [20:37] elliottcable: DTrejo__ 3» it’s the timekeeping system that is awesome [20:37] DTrejo__: * oh i meant look at my code [20:38] kuya: tjholowaychuk: i think it makes sense to keep the signatures the same [20:38] elliottcable: :x if I can [20:38] elliottcable: a bit busy [20:38] kuya: tjholowaychuk: shall i "pull"? [20:38] elliottcable: with `from` [20:38] elliottcable: which nobody uses, but w/e [20:38] DTrejo__: creationix: oh, I guess I'm wrong, I always thought it was 'whether' [20:38] elliottcable: ACTION bitter [20:38] bradleymeck_: someone w/ v8 c++ knowledge about? for some reason i can get a hold of a Persistent* and back (i know pointer of handles are discouraged) [20:39] DTrejo__: elliottcable: no worries [20:39] creationix: DTrejo__: it is, you must have loaded the page before I fixed the typo [20:39] bradleymeck_: cant* [20:39] creationix: hn seems really slow today [20:39] tjholowaychuk: kuya: yeah it does, should be up there now i think [20:39] kuya: thanks tjholowaychuk - thats what i call service! =] [20:39] elliottcable: ACTION retreats to ##Paws [20:41] muhqu has joined the channel [20:41] kuya: tjholowaychuk: my one comment would using request.params... at least in pylons params is a combined dict of post/get vars... perhaps url_args or something similar? [20:42] creationix: kuya: I'm pretty sure we don't want to mix GET and POST vars [20:42] creationix: not in connect at least [20:42] tjholowaychuk: kuya: originally I had req.params.{get,path,post} and then Express has a req.param() helper which checks all of these [20:42] tjholowaychuk: kuya: however now that we removed params as a param [20:43] tjholowaychuk: kuya: req.params is the only non-ugly solution really, I changed express to use req.query for GET etc [20:43] kuya: i dont think "params" clearly defines what it is [20:43] _announcer: Twitter: "Node.js seems too exciting... waiting to try it, take a look here: http://bit.ly/9vkyBx" -- Diego Giorgini. http://twitter.com/ogeidix/status/19600915004 [20:43] kuya: creationix: im not suggesting you have something like that - just that params isnt clear exactly what its for [20:43] mde: kuya: FWIW, Geddy does something similar to Pylons with params. [20:43] creationix: kuya: just out of curiosity, how do you like the node-router style? [20:44] mde: There are reasonable arguments for doing it either way though, really. [20:44] tjholowaychuk: node-router style? [20:44] kuya: mde: i just looked at geddy - nice :) [20:44] creationix: tjholowaychuk: yeah, I'm having trouble finding an example, I've converted everything over [20:44] mde: kuya: Okay, cool. I'm very interested in feedback. :) [20:44] JimBastard: !tweet @ogeidix go go node.js! #node.js on irc.freenode.net for all your node.js needs! [20:45] creationix: app.get("/:user/:level", function (req, res, user, level, next) {...}) [20:45] creationix: kuya: tjholowaychuk ^^ [20:45] tjholowaychuk: thats how express used to be [20:45] tjholowaychuk: we need next() in there too though [20:45] kuya: no - that stops you using middleware on the route [20:45] kuya: i prefer tjholowaychuk's way [20:45] creationix: kuya: I never considered using middleware on the route [20:46] creationix: but I guess that technically works [20:46] DTrejo__: have a good day guys, thanks for responding to that comment on HN, it makes me feel better about using node (I already felt great btw, in case I haven't mentioned that) [20:47] davidwalsh has joined the channel [20:47] _announcer: Twitter: "Node.js Presentation http://post.ly/ouD6 #video" -- Jay Fallon. http://twitter.com/jayfallon/status/19601114064 [20:47] _announcer: Twitter: "Jabber Vkontakte implemented on node.js!" [ru] -- Александр Баранов. http://twitter.com/scr4t/status/19601126291 [20:48] beelzabub: hey ryah - you there? [20:48] JimBastard: !twwet @scr4t link? [20:49] tjholowaychuk: kuya: params is not a good word, ive never liked it but I dont know what else to call it :D [20:49] tjholowaychuk: argv haha [20:49] tjholowaychuk: jk [20:49] kuya: lol [20:49] deanlandolt_home has joined the channel [20:49] kuya: route_args ? [20:50] kuya: seems very clear and is what it is [20:50] confoocious has joined the channel [20:50] donpdonp: params is good enough for rails. [20:50] tjholowaychuk: but do you really want to req.routeArgs every time [20:50] tjholowaychuk: im fine with applying the "params" to the callback as long as its after next() [20:50] kuya: oops naming convention fail :) [20:50] tjholowaychuk: even then the long signatures look weird anyways [20:51] tjholowaychuk: but that is what sinatra does [20:51] bradleymeck_: http://gist.github.com/491221 , gah, c++ pointers blow w/ casting overloads [20:51] kuya: i think it belongs to the request [20:52] creationix: kuya: I call it matches [20:52] kuya: just have one signature thru-out [20:52] creationix: matches on the regexp used on the url [20:52] tjholowaychuk: kuya: ya i think that looks better as well [20:52] tjholowaychuk: captures [20:52] tjholowaychuk: but thats ugly too IMO [20:52] creationix: req.captures sounds good [20:52] tjholowaychuk: req.captures [20:52] tjholowaychuk: actually thats ok [20:52] tjholowaychuk: hm [20:52] tjholowaychuk: hmMmmM [20:53] kuya: -1 [20:53] ctp has joined the channel [20:54] tjholowaychuk: definitely open to suggestions im about as happy with "params" as I am with "vendor" [20:54] tjholowaychuk: which is not happy lol [20:54] creationix: kuya: req.matches [20:54] JimBastard: hey tjholowaychuk , does the redirect for connect mask the redirect at all? [20:54] kuya: i dont think thats really right either [20:55] tjholowaychuk: JimBastard: what connect redirect [20:55] tjholowaychuk: req.capturesFromTheRouteString [20:55] tjholowaychuk: we have a winner [20:55] JimBastard: tjholowaychuk: the redirect middleware, nm i dont need to know [20:55] JimBastard: sorry [20:55] kuya: i cant think of anything better than routeArgs/routeVars [20:56] creationix: kuya: remember the shorter, the better [20:56] dnolen has joined the channel [20:56] kuya: lol [20:56] beelzabub: hey guys - i'm having a problem with https - no response comes for my request. http://pastebin.com/rRyXF1pA [20:56] creationix: this will likely be embedded a couple times in a single line [20:56] kuya: im not a fan of that practice ;) [20:56] _announcer: Twitter: "#WebOS is getting #nodejs. I'm so jealous. #android" -- Phred. http://twitter.com/fearphage/status/19601616951 [20:56] beelzabub: http works fine [20:56] beelzabub: i have configured with openssl [20:56] beelzabub: any pointers how i should troubleshoot this? [20:56] _announcer: Twitter: "nodejs is the new ruby on rails." -- Fernando Takai. http://twitter.com/fernando_takai/status/19601640714 [20:57] creationix: kuya: I'm not a fan of having simple commands span two lines [20:57] tjholowaychuk: kuya preferably single word [20:57] tjholowaychuk: I try to keep common things in Express down to one word, dynamicHelpers is probably the only exception so far I think [20:57] creationix: beelzabub: tcpdump? [20:57] tjholowaychuk: and I hate it [20:57] tjholowaychuk: lol [20:57] kuya: hehe [20:58] creationix: req.foo [20:58] creationix: got it [20:58] _announcer: Twitter: "@ssethi no they don't :) & I have no idea whthr it scales or not, but it's an echo to rumors about Node.js being the solution to evrythg" -- superfeedr. http://twitter.com/superfeedr/status/19601699696 [20:58] creationix: no, req.$ [20:58] beelzabub: creationix: i'm tired of you giving reasonable suggestions that I should have thought of myself [20:58] creationix: :P [20:58] beelzabub: stop it [20:58] tjholowaychuk: req[n] would be sweet for splats [20:58] creationix: beelzabub: actually node_pcap is really nice [20:59] creationix: tjholowaychuk: I think that's going too far [20:59] tjholowaychuk: :D [20:59] tjholowaychuk: haha [20:59] d0k: ryah: can you review 3 tiny patches for me while I fill in the CLA? [20:59] tjholowaychuk: nevaa [20:59] hellp has joined the channel [20:59] kuya: im out of ideas ^_^ [20:59] creationix: req.$_$ [20:59] beelzabub: creationix: i'm going to use wireshark [20:59] felixge has joined the channel [20:59] creationix: beelzabub: that works [20:59] beelzabub: i like their UI [20:59] tjholowaychuk: req['route arguments'] [20:59] tjholowaychuk: lol [20:59] creationix: it's the matches/captures on the url [21:00] jimmybaker has joined the channel [21:00] jimmybaker: yo [21:00] ryah: d0k: sure [21:00] ryah: would be my pleasure [21:00] jimmybaker: is there a heroku-like hosting company for node.js? [21:00] d0k: ryah: http://github.com/d0k/node :) [21:00] rauchg_: it's called joyent [21:01] _announcer: Twitter: "Heh, now that the NodeJS on webOS news is out I must say I can't wait to see all you haters packin a webOS device in 6 months." -- xnoɹǝʃ uɐıɹq. http://twitter.com/brianleroux/status/19601871203 [21:01] mjr_: jimmybaker: there is also a heroku-like company called heroku. [21:01] rauchg_: and it's gonna take the world by storm [21:01] JimBastard: sup jimmybaker [21:01] jimmybaker: uh.. [21:01] cardona507: jimmybaker: heroku is hosting some node.js [21:01] cardona507: but you gotta sign up for it [21:01] steadicat has joined the channel [21:01] JimBastard: jimmybaker: http://nodejitsu.com [21:01] creationix: jimmybaker: there is heroku, the their node stack is rather under nourished [21:01] jimmybaker: oh nice [21:01] JimBastard: is a heroku for node [21:01] jimmybaker: i'm sorry for the stupid question then [21:01] JimBastard: (coming soon) [21:01] cardona507: jimmybaker: http://blog.heroku.com/archives/2010/4/28/node_js_support_experimental/ [21:02] creationix: jimmybaker: no, it's a great question [21:02] tjholowaychuk: kuya / creationix / rauchg_ : at least with this sig change we can introduce applying of the path captures later on, not a big deal right now [21:02] rauchg_: exactly [21:02] jxson has joined the channel [21:02] creationix: tjholowaychuk: applying later on? [21:02] rauchg_: req, res, next[, ...] [21:03] tjholowaychuk: creationix: the sinatra-ish (req, res, next, captureA, captureB) etc [21:03] kuya: i was going to ask some day about path capturing :) [21:03] ryah: so much node news today [21:03] creationix: interesting [21:03] tjholowaychuk: now that next is shifted back [21:03] mjr_: jimmybaker: people seem really happy with heroku, and more options are popping up all the time. [21:03] tjholowaychuk: at least I can add that later [21:03] tjholowaychuk: without busting the shit out of peoples apps [21:03] kuya: ACTION thinks he's talking about something else  [21:03] mjr_: ryah: and 270 people in IRC, climbing all the time. [21:03] papandreou has joined the channel [21:03] mikeal has joined the channel [21:04] kuya: what exactly are path captures? [21:04] tjholowaychuk: kuya: /user/:id is converted to a RegExp [21:04] jimmybaker: yeah. i'm in the process of shifting one of my apps to heroku. it's a fairly large app (about $15mil/year) so I'm putting a lot of faith in their skillz ;) [21:04] _announcer: Twitter: "Experimenting with Node.js (not mine though) http://icio.us/5yswjo" -- Anlek Consulting. http://twitter.com/anlek/status/19602060764 [21:04] tjholowaychuk: kuya: :id becomes a capture group [21:04] kuya: oh ok [21:04] jimmybaker: i don't own the app, i'm just the developer. [21:04] jimmybaker: the poor poor dev [21:04] ryah: mjr_: http://github.com/d0k/node/commit/eeb54c63d85ed4a03cab2539aae5753d7d3aa68a [21:05] ryah: mjr_: what was the corner case? on some system sun_path wasn't null terminated? [21:05] mjr_: this is better. memset the whole struct first, then it'll be null terminated. [21:05] _announcer: Twitter: "Node.js looks a little like home." -- Sara Chipps. http://twitter.com/SaraJChipps/status/19602128122 [21:05] mjr_: The issue was that OSX didn't null terminate the string, even though the header files say that it should be. [21:05] creationix: jimmybaker: keep in mind that heroku's node version hasn't been updated in a very long time [21:05] bradleymeck_: i think i need to start up a support group for v8 c++ survivors [21:06] mjr_: ACTION high-fives d0k  [21:06] ryah: mjr_: ok [21:06] _announcer: Twitter: "One of the incredible things you can build with Node.js: http://bit.ly/97Osp0 (the mouse pointers are those of other visitors on the page)" -- Lukas Fittl. http://twitter.com/lfittl/status/19602163990 [21:06] JimBastard: ryah is joyent gonna stomp our little startup into oblivion? :-( [21:06] JimBastard: :p [21:06] d0k: mjr_: I think it was the caused by addrlen being one byte too short on osx though [21:06] mjr_: Yeah, I dunno why I didn't think of zeroing out the struct first. [21:07] mjr_: d0k: on my OSX machine, there was just random garbage after the path. [21:07] mjr_: Nary a null in sight. [21:07] d0k: yeah, but we were explicitly terminating the string [21:07] mjr_: oh, but terminating it wrong sometimes I guess. [21:07] beelzabub: k - ran wireshark [21:07] rtomayko has joined the channel [21:07] d0k: this whole sockaddr_un API is crazy :( [21:07] beelzabub: i see syn/syn-ack [21:08] jimmybaker: creationix: good to know [21:08] mjr_: er, wrong on BSD because of my crazy -2 OSX compensation. [21:08] jimmybaker: thanks [21:08] beelzabub: then i send out http continuation [21:08] beelzabub: then i see a TCP ack [21:08] beelzabub: then i send out a FIN & get a FIN ack [21:08] mjr_: beelzabub: I'm guessing there is some SSL error that you'd want to look for from openssl on either end. [21:09] mjr_: wireshark can't easily insert itself into the middle of the byte stream to find out what's going on. [21:09] mjr_: what with the encryption and all. [21:10] grahamalot has joined the channel [21:10] sh1mmer: mjr_: you could use the ssl proxy in charles [21:10] creationix: jimmybaker: heroku http://sousaball.heroku.com/ linode http://creationix.com:7777/ [21:10] creationix: notice the binary data get's messed up [21:10] sh1mmer: mjr_: that's full of the hotness [21:10] _announcer: Twitter: "During break I made some updates to payment-paypal-payflowpro nodejs module... now with SSL Certificate support! http://bit.ly/alumun" -- jamescarr. http://twitter.com/jamescarr/status/19602416153 [21:11] mjr_: sh1mmer: I hadn't seen Charles before. Looks pretty great. [21:11] _announcer: Twitter: "@galenward Talk with @stingleff he's the man over here with node.js experience" -- dierken. http://twitter.com/dierken/status/19602447047 [21:11] creationix: yeah, charles is pretty slick [21:11] _announcer: Twitter: "Botched an upgrade of #node.js, broke npm, fixed it again. Baby steps. http://kjeldahl.net/d7/node/27" -- kjeldahl. http://twitter.com/kjeldahl/status/19602458839 [21:11] sh1mmer: mjr_: charles is awesomely awesome [21:11] sh1mmer: mjr_: but only for browser stuff [21:11] wattz: link? [21:11] mjr_: Does it expose data that would otherwise be encrypted? [21:11] wattz: i want to see awesomely awesome [21:11] mjr_: http://www.charlesproxy.com/ [21:12] sh1mmer: mjr_: yes [21:12] JimBastard: charles in charge, of thro-tl-ling all my connections. charles in charge of my proxy so i can debug race cooooonditions [21:12] creationix: sh1mmer: I guess if you're the man in the middle you can do anything [21:12] sh1mmer: mjr_: you accept charles' certs [21:12] mjr_: Does it make the client put up a warning? [21:12] JimBastard: and i want [21:12] JimBastard: and i want [21:12] JimBastard: charles to proxy, for me! [21:12] wattz: so it's sorta like that live headers (livehttp?) for firefox? [21:12] sh1mmer: and then it proxies through itself so it can decrypt [21:12] sh1mmer: creationix: correct [21:12] rednul has joined the channel [21:12] sh1mmer: creationix: but having a system that makes that easy to do for inspection is nice [21:13] _announcer: Twitter: "@jkreeftmeijer Very cool implementation of Node.js and web sockets. I definitely see value from a UX perspective" -- Randall Kent. http://twitter.com/RandallKent/status/19602555906 [21:13] creationix: mjr_: I think it has a firebug plugin that helps with things like that [21:13] _announcer: Twitter: "Node.JS is so cool. http://bit.ly/aMz8qV" -- Randall Bennett. http://twitter.com/randallb/status/19602574028 [21:13] sh1mmer: wattz: sort of, but it uses a proxy [21:13] wattz: gotcha [21:13] wattz: anyone port LiveHTTP to chrome yet? [21:13] sh1mmer: it's nice because it's browser agnostic [21:13] wattz: man i haven't fired up firefox in soooo long [21:13] _announcer: Twitter: "@anlek not really a fan of node.js but it becoming quite the rave...It's still javascript to me..." -- jeremyhamel. http://twitter.com/jeremyhamel/status/19602605886 [21:13] mjr_: Yeah, it doesn't believe that browsers exist. [21:13] wattz: don't even have it installed on my personal box [21:14] CIA-77: node: 03Benjamin Kramer 07master * reeb54c6 10/ src/node_net.cc : [21:14] CIA-77: node: Fix addrlen for unix_dgram sockets [21:14] CIA-77: node: The old definition was off by one byte on BSD. Also simplify [21:14] CIA-77: node: ADDRESS_TO_JS because sun_path is always zero-terminated now. - http://bit.ly/cpXMm8 [21:14] CIA-77: node: 03Benjamin Kramer 07master * r93cb096 10/ src/node_stdio.cc : [21:14] CIA-77: node: Add missing parentheses [21:14] CIA-77: node: & has higher precedence than ==, making this a noop. Use the less [21:14] CIA-77: node: error-prone S_IS* macros instead. Found by clang. - http://bit.ly/aDrjmH [21:14] CIA-77: node: 03Benjamin Kramer 07master * reeaf1ef 10/ src/node_buffer.cc : [21:14] CIA-77: node: Constify read-only global data [21:14] CIA-77: node: Also silences a compiler warning about deprecated conversion from const [21:14] CIA-77: node: char* to char*. - http://bit.ly/9dgvar [21:14] d0k: spam <3 [21:14] sh1mmer: !tweet @jeremyhamel but JavaScript loves you [21:14] creationix: "Found by clang", now that's cool [21:14] ryah: d0k: danke schoen [21:15] creationix: d0k: so are you using llvm? [21:15] _announcer: Twitter: "#node.js http://debuggable.com/posts/understanding-node-js:4bd98440-45e4-4a9a-8ef7-0f7ecbdd56cb -" -- vishal sodani. http://twitter.com/vishalsodani/status/19602673865 [21:15] mjr_: I thought C++ wasn't supported yet by clang. [21:15] beelzabub: has been for a few months [21:15] mjr_: well, shit [21:15] ryah: v8 doesn't compile though [21:15] mjr_: I'm behind the curve. [21:15] d0k: creationix: I'm a llvm contributor actually ;) [21:15] creationix: d0k: welcome to the community, we love the help :D [21:15] mjr_: d0k: have you applied the static analysis magic wand to node yet? [21:16] bradleymeck_: ryah, do you know how to preserve a Persistent inside of a void* in v8? [21:16] JimBastard: hee hee d0k , welcome [21:16] _announcer: Twitter: "@brianleroux Have a link to the node.js news? Love to read more about it." -- Matthew Irish. http://twitter.com/meirish/status/19602742164 [21:16] d0k: mjr_: analyzer doesn't work well with c++ yes [21:16] d0k: *yet [21:16] ryah: bradleymeck_: you can allocate those on the heap [21:16] ryah: bradleymeck_: despite comments in v8.h that suggest otherwise [21:16] mjr_: d0k: oh, that's too bad. At least you get better warnings from the frontend. [21:17] bradleymeck_: not sure i understand? i need it in c++ land to handle a weakreferencecallback [21:17] bradleymeck_: it has to be inside of a void* :/ [21:17] beelzabub: how do i configure node's http client to use a proxy? [21:18] creationix: beelzabub: I think you have to manually speak the proxy protocol [21:18] creationix: though there are likely libraries that handle this for you [21:18] tpryme has joined the channel [21:18] creationix: (I only half know what I'm talking about here) [21:18] benburkert has joined the channel [21:18] beelzabub: i'm pretty sure proxies are transparent [21:18] qschzt has joined the channel [21:18] bradleymeck_: ryah does that make sense why i cant throw it on the heap? [21:19] _announcer: Twitter: "@brianleroux unfortunately one good decision does not offset a clusterfuck of poor marketing/bizdev. #nodejs #webOS" -- Brock Whitten. http://twitter.com/sintaxi/status/19602905540 [21:19] creationix: beelzabub: what I mean is you hit the proxy directly and send along whatever parameters it expects to forward your connection [21:19] jimmybaker: is there a good book for node.js yet? [21:19] creationix: beelzabub: unless you mean reverse proxy, in which case it's 100% transparent [21:19] creationix: jimmybaker: there is one comming [21:19] creationix: *coming [21:19] jimmybaker: or a preferred site to use for learning? [21:19] creationix: jimmybaker: howtonode.org [21:19] pquerna: beelzabub: there are transparent proxies in the world, but HTTP has a seperate bits of the protocol to use a proxy from the client [21:19] jimmybaker: creationix: thank you :) [21:19] beelzabub: ahh [21:20] beelzabub: so to use charles i have to hack on node [21:20] beelzabub: dammit [21:20] creationix: pquerna: so I was halfway right then, awesome? [21:20] mscdex: charlie the unicorn! [21:20] beelzabub: has anyone had any luck with HTTPS? [21:20] fil`work has joined the channel [21:20] creationix: beelzabub: no, charles integrates with osx's proxy [21:20] creationix: the os handles it for you [21:20] creationix: I'm pretty sure [21:20] mjr_: for web browsers it does [21:20] mjr_: But not for node. [21:21] creationix: mjr_: you sure? [21:21] mjr_: Hmm, not positive I guess. [21:21] ryah: bradleymeck_: sorry - having difficulty following the channel [21:21] paul____ has joined the channel [21:21] beelzabub: using linux [21:21] beelzabub: dunno if it's the same thing [21:21] ryah: bradleymeck_: new Persistent() [21:21] _announcer: Twitter: "@voodootikigod @brianleroux the question is, where did @fearphage hear that node.js was coming to webos?" -- Kyle Simpson. http://twitter.com/getify/status/19603055692 [21:21] saikat: extremely noob question - if i have this code: http://gist.github.com/491271 and i want the last line to print 5 instead of 10, is there a better way to do that than, in my loop, do h[i].index = i and in the function do sys.puts(this.index) instead of sys.puts(i)? [21:21] mjr_: creationix: you think that control panel thingy changes some firewall rules to force all outgoing port 80 traffic through a proxy? [21:21] bradleymeck_: sec i got a gist [21:22] pquerna: creationix: brwosers just use the OS level *preferences* for the proxy, which charles sets, but node.js doesn't.. so.. [21:22] creationix: pquerna: thanks, that explains it [21:22] aglemann has joined the channel [21:22] aglemann has left the channel [21:22] creationix: ACTION is still learning os level stuff [21:23] bradleymeck_: http://gist.github.com/491221 <- all the printfs show different values for the pointers. I can only have a void* as the param due to the typedef of WeakReferenceCallback [21:23] mjr_: saikat: your anonymous function in the loop is closing over the loop variable, which will always be the last value. [21:23] saikat: mjr_: yeah i know - i feel like there is a common way to make it do the behavior i want instead though? [21:23] saikat: maybe i'm just misremembering [21:23] khug has joined the channel [21:23] saikat: the way i just said earlier is one way to do it [21:24] saikat: but not sure if that's the cleanest way [21:24] _announcer: Twitter: "A pretty damn good tutorial from @jkreeftmeijer on how to use Node.js, NWS, and WebSockets — http://is.gd/dKIKl" -- Micheil Smith. http://twitter.com/miksago/status/19603232000 [21:25] ryah: bradleymeck_: http://github.com/ry/node/blob/eeaf1ef970a09cf8f77cff438fa7bcc004798295/src/node.h#L65-70 [21:25] mjr_: saikat: http://gist.github.com/491281 [21:26] bradleymeck_: i love you ryah [21:26] wattz: aww [21:26] saikat: mjr_: ah right, thanks [21:26] _announcer: Twitter: "[del] [from euler] Experimenting with Node.js - Jeff Kreeftmeijer: This is an experiment I did to play around http://url4.eu/6QYgK" -- sldfjd ldajds. http://twitter.com/sldfjd/status/19603342510 [21:26] mjr_: saikat: curry is both a delicious dish and a delicious programming pattern. [21:27] saikat: heh yeah, the thing is, i just realized i've done that elsewhere in my code [21:27] creationix: mmm curry [21:27] saikat: just forgot how =) [21:27] donpdonp: i dont see other mouse cursors (chrome), is anyone looking at that page now? [21:27] _announcer: Twitter: "Experimenting with Node.js - Jeff Kreeftmeijer http://dlvr.it/33Ktx" -- Tech & Friki Stuff. http://twitter.com/FrikiFeeds/status/19603383254 [21:28] saikat: though that is also not strictly currying =) [21:29] JimBastard: okay +20 for indexzero, writing async tests for a reverse-proxy with latency isnt exactly easy [21:29] felixge: ryah: seems like http parser can only handle <= 2GB posts? [21:29] JimBastard: lol felixge [21:29] mjr_: saikat: guilty as charged, your honor [21:29] saikat: but i still agree about the dish [21:29] creationix: felixge: you're using 64 bit node right? [21:29] saikat: so you get half credit [21:30] ryah: felixge: hm [21:30] felixge: creationix: I think so [21:30] ryah: felixge: possibly - let me check [21:30] javajunky has joined the channel [21:30] creationix: felixge: ok, just a shot in the dark, ryah would know better for sure [21:30] felixge: ryah: ssize_t content_length; ? [21:31] mscdex: ssize64_t? :S [21:31] hassox has joined the channel [21:31] creationix: felixge: what I want to know is who has an uplink capable of 2gb files [21:31] felixge: creationix: curl [21:31] pquerna: felixge: yeah, it'll have to change types [21:31] JimBastard: creationix: i dont think ive ever tried to post that much data, ever. not over http..... [21:32] pquerna: creationix: 2gb uploads is something i'd need later too. [21:32] konobi: i've done that plenty of times before [21:32] JimBastard: konobi: what service? [21:32] konobi: maybe not from a browser, but from a script or whatever [21:32] _announcer: Twitter: "Very cool node.js experiment involving web sockets! http://bit.ly/9vkyBx" -- Chris Bloom. http://twitter.com/chrisbloom7/status/19603688099 [21:32] JimBastard: konobi: uploading to where? [21:32] creationix: I guess it's not unheard of with 1mbs+ connections [21:32] konobi: internal systems at BBC iplayer [21:32] JimBastard: konobi: LAN? [21:33] felixge: we process some videos coming from FTP [21:33] konobi: nope, from home tii [21:33] JimBastard: word [21:33] felixge: some guy uploaded a 2.4 GB video [21:33] konobi: ACTION has a 10Mbit uplink at home [21:33] felixge: so this is not a "what would be if" case ;) [21:33] creationix: felixge: I'm sure, transloadit is great for stress-testing http's request body [21:33] mjijackson has joined the channel [21:33] creationix: I've posted at most maybe 5k [21:33] creationix: and never multi-part [21:34] felixge: creationix: it works flawlessly, at least at the version we are on [21:34] felixge: creationix: need to upgrade at some point [21:34] felixge: setTimeout() seems to have issues so [21:34] creationix: felixge: what version are you on? [21:34] felixge: but the code isn't trivial, haven't gotten the time to properly debug it [21:35] creationix: v0.1.102 is a lot stabler for my use cases (many small requests with cookies and other large headers) [21:35] felixge: creationix: v0.1.99-21-g67f7fe5 [21:35] creationix: felixge: ok, so not too bad [21:35] felixge: 1 month ;) [21:36] felixge: but yeah, curious to see if the upgrade will bring problems [21:36] felixge: we have an extensive test suite that should detect most things right away [21:36] creationix: hopefully not, you've got a real service to run [21:36] creationix: we all want you to succeed [21:37] felixge: : ) [21:37] felixge: thanks [21:37] felixge: I hope I'll have more time for node again from now on [21:37] felixge: had to really make a cut on my open source time to make the launch happen [21:38] creationix: felixge: btw, feel free to include nStore in your jsconf talk, maybe as something like dirty [21:38] cardona507: ls [21:38] creationix: cardona507: README.md app.js lib/ ... [21:38] ryah: felixge: yeah, i can change that to a uint64_t [21:39] cardona507: ls -al [21:39] felixge: creationix: I'm using nstore's API for inspiration for the new dirty version I'll have to finish now - will definitley mention it [21:39] damienkatz has joined the channel [21:39] damienkatz has joined the channel [21:39] felixge: ryah: that'd be great : ) [21:39] creationix: cool, node-dirty was inspiration for nStore [21:39] tjholowaychuk: haha [21:39] tjholowaychuk: oOo [21:39] tjholowaychuk: thats funny/awesome (both inspiring eachother) [21:40] tjholowaychuk: good stuff [21:40] creationix: ACTION wants to know if he's speaking at jsconf.eu too [21:40] tjholowaychuk: felixge: give me a ping when your done with dirty I will add support for it in "keys" [21:40] creationix: tjholowaychuk: so what is keys? [21:40] creationix: just an interface on top of stuff [21:40] felixge: tjholowaychuk: cool [21:40] creationix: orm maybe? [21:40] tjholowaychuk: moneta basically [21:40] tjholowaychuk: potentially [21:41] felixge: ACTION headed to bed now, will be back tomorrow [21:41] creationix: moneta? never heard of that one [21:41] creationix: felixge: ok, take care [21:41] dji has joined the channel [21:41] creationix: tjholowaychuk: Yehuda's thing? [21:41] tjholowaychuk: creationix: yup [21:42] creationix: that's cook [21:42] creationix: *cool [21:42] tjholowaychuk: I used to use it a fair amount with ruby stuff so figured it would be nice [21:42] creationix: tjholowaychuk: yeah, I tried something like that with node-persistence a while back [21:42] creationix: but I think it was too soon back then [21:42] tjholowaychuk: would be nice to add expire support to, then it could easily serve as the session stores as well [21:42] creationix: tjholowaychuk: did you see how I hooked the expire code in nstore-session [21:43] creationix: it only purges on compact, so as to not bloat the data file [21:43] tjholowaychuk: creationix: I did look but I forget now [21:43] creationix: it would be nice if libraries could still make optimizations like that [21:43] bradleymeck_: grrr maybe its something w/ v8, even w/ that persist its blowing up [21:45] _announcer: Twitter: "Really wanted to find otherwise, but seems Node.js developer tools (Express, Mongoose) just aren't there ready yet. Check again later." -- Vincent DiBartolo. http://twitter.com/vdibart/status/19604464229 [21:45] egorFiNE has joined the channel [21:48] CIA-77: node: 03Ryan Dahl 07master * r552cf28 10/ (25 files in 7 dirs): Upgrade V8 to 2.3.3 - http://bit.ly/ceyCUE [21:48] ryah: ^--- Function.prototype.bind [21:49] javajunky: ughhh embarassing github issues raised on my api, I've gone random on my capitalisation of two very similar methods, if I change it to be sane it'll screw up anyone who uses the library doh :( [21:49] javajunky: (in other news I suck) [21:50] mjr_: javajunky: but in still other news, you gave away software that people can use for free! [21:50] _announcer: Twitter: "Cool! node.js and websockets make many mouse pointers move: http://jeffkreeftmeijer.com/2010/experimenting-with-node-js/ #nodejs #html5" -- Christian Scholz. http://twitter.com/mrtopf/status/19604718852 [21:50] sh1mmer: voodootikigod_: are you judging nodeknockout from cali? [21:50] javajunky: mjr_: does that ever count ;) [21:50] voodootikigod_: dowhat [21:50] sh1mmer: you are judging nodeknockout [21:50] voodootikigod_: yea [21:50] voodootikigod_: just from dc [21:50] sh1mmer: are you doing it from VA? [21:50] voodootikigod_: yea [21:50] sh1mmer: ok [21:51] _announcer: Twitter: "JavaScript (JQuery) templating - run client or server side with node.js http://renesd.blogspot.com/2010/07/javascript-templating.html" -- Brent Graham. http://twitter.com/brentg/status/19604757250 [21:51] voodootikigod_: unless tehy ahve some way of getting me out there [21:51] _announcer: Twitter: "jquery/javascript templates for node.js http://icio.us/ws1unt" -- ionrock. http://twitter.com/ionrock/status/19604783485 [21:51] sh1mmer: voodootikigod_: brown paper and stamps [21:52] javajunky: ryah: sweet, I can totally confuse myself even more with scope [21:52] troymg has joined the channel [21:52] _announcer: Twitter: "I think most of what I know about JavaScript cones from playing around with node.js" -- Joel Garcia Martinez. http://twitter.com/jgarciama/status/19604846096 [21:52] mjr_: voodootikigod: I heard they fly airplanes into Dulles still. Not sure if that's true. [21:53] sh1mmer: mjr_: pirates sail. [21:53] bradleymeck_: ryah even w/ the pointer on heap using node.h something is blowing up, guess there is some kinda pointer logic im doing wrong @_@, no idea what though [21:53] mjr_: oh right, so that'll take a bit longer. [21:53] bradleymeck_: ACTION goes off to take nap [21:53] voodootikigod_: PIRATE FUCKING SALE [21:54] voodootikigod_: and I would never get past tortuga if I did [21:54] _announcer: Twitter: "via Del.icio.us : Experimenting with Node.js - Jeff Kreeftmeijer: http://bit.ly/cBjg2M #social #networking" -- Karen Kinnaman. http://twitter.com/KarenKinnaman/status/19604944108 [21:54] behmann has joined the channel [21:54] voodootikigod_: should be a good time [21:54] voodootikigod_: Ia m going to wear my pirate outfit during the judging [21:54] mjr_: voodootikigod: wait, you take it off sometimes? [21:54] voodootikigod_: and drink per point I give out [21:54] voodootikigod_: all to let me man parts air out [21:55] Wandrewvious has joined the channel [21:55] visnup: voodootikigod: I don't know if I'd want to be at the beginning of your judging spree or at the end [21:56] _announcer: Twitter: "How to run node.js on windows: install (virtual) ubuntu http://listentorick.blogspot.com/2010/03/nodejs-on-windows.html" -- Hugo Estrada. http://twitter.com/hugoestr/status/19605057236 [21:56] mjr_: visnup: I think it depends on which part he airs out his man parts in. [21:56] voodootikigod_: visnup: what are you writing [21:56] voodootikigod_: ... [21:56] voodootikigod_: thats the biggest determiner [21:56] visnup: voodootikigod_: the code that will enable you to judge ;) [21:57] kodisha has joined the channel [21:57] voodootikigod_: I would say end of drinking [21:57] voodootikigod_: else I would spend most of the time hacking the judging code so i wn [21:57] voodootikigod_: win [21:57] voodootikigod_: :) [21:58] troymg has left the channel [21:58] voodootikigod_: does anyone know where to buy lederhosen in the USA [21:59] mjr_: voodootikigod: I'm sure ryah has some .de hookups. [21:59] visnup: you might look good in http://www.cutenkinky.com/costumes/sexy-maids/bavarian-bar-maid/prod_959.html [22:00] visnup: voodootikigod_: not sure if yellow complements your eyes though [22:00] mjr_: I like how quickly you came up with that link. [22:00] mjr_: Almost like you'd been there before. [22:00] troymg has joined the channel [22:00] visnup: mjr_: almost.. [22:00] hassox has joined the channel [22:00] troymg has joined the channel [22:01] mscdex: what's the freeware alternative du jour for textmate? [22:01] satori_ has joined the channel [22:01] wattz: textwrangler :P [22:01] wattz: if you can bare it [22:01] visnup: mscdex: eclipse? [22:01] mscdex: i'm looking for something like gedit or notepad++ [22:01] voodootikigod_: perfecto visnup [22:01] konobi: vim [22:01] konobi: gvim [22:01] konobi: macvim [22:02] mscdex: no vim lol [22:02] konobi: wuss [22:02] mscdex: i've already had this discussion ad nauseum ;-) [22:02] jamescarr: I use gedit on linux [22:02] Dmitry has joined the channel [22:02] CIA-77: node: 03Ryan Dahl 07master * r23cf556 10/ (3 files): [22:02] CIA-77: node: Upgrade http-parser [22:02] CIA-77: node: support for [22:02] CIA-77: node: - long messages [22:02] CIA-77: node: - spaces in header fields - http://bit.ly/c35xsa [22:02] jamescarr: its the closest you can get to textmate [22:02] konobi: there's also komodo edit, which a know a few folks use [22:03] mscdex: ACTION shakes a fist at mac [22:03] jamescarr: I don't use macs, because I like to think different [22:03] jamescarr: so I use ubuntu on Sony Vaios ;) [22:03] mjr_: woah, in your face, Apple Fanboys. [22:03] konobi: jamescarr: you're a hurd user? [22:03] jamescarr: konobi, sure, when it is released ;) [22:04] mscdex: oh cool, there's a gedit for mac [22:04] mscdex: the hurd is the word :-D [22:04] jamescarr: you might want to follow this if you are using gedit: http://grigio.org/pimp_my_gedit_was_textmate_linux [22:05] _announcer: Twitter: "my mouse is up in your internets http://jeffkreeftmeijer.com/2010/experimenting-with-node-js/" -- ben koonse. http://twitter.com/bennyfreshness/status/19605609177 [22:05] ryah: http://www.hack.org/mc/hacks/mcwm/ <-- [22:05] ryah: want [22:05] konobi: http://www.activestate.com/komodo-edit [22:06] WALoeIII has joined the channel [22:07] jamescarr: I once saw an ad for a Rails job position, it required that applicants develop on with macs [22:07] jamescarr: how fing narrow minded [22:07] _announcer: Twitter: "@brianleroux is that in reference to me? Node.js on webOS? I was talking about the in #node.js this past weekend..." -- rick waldron. http://twitter.com/rwaldron/status/19605739932 [22:07] rwaldron: yep. i sure was [22:07] rwaldron: or maybe it was last week... [22:08] fernmicro has joined the channel [22:08] hij1nx has left the channel [22:08] hij1nx has joined the channel [22:08] konobi: komodo-edit is extendable using javascript, btw [22:09] jamescarr: whew... I think it's time for me to try integrating my payment module into an example express ap [22:09] jamescarr: *app [22:09] mape: creationix: There? [22:11] gf3_ has joined the channel [22:12] creationix: mape: yep [22:12] mape: creationix: you moved the connect cli helper out from connect? [22:12] admc has joined the channel [22:13] creationix: mape: yep [22:13] creationix: it's spark [22:13] beelzabub: i hate https - btw the problem I had turned out to be the wrong port was being used :P [22:13] mape: creationix: oh k [22:13] creationix: http://github.com/senchalabs/spark [22:13] mape: yeah [22:13] creationix: people kept thinking it needed connect to work [22:14] creationix: so we broke it out [22:15] mape: k [22:15] javajunky has joined the channel [22:17] _announcer: Twitter: "I've retweeted to this http://www.infoq.com/articles/nodejs-frameworks already but it really is a good read. #nodejs" -- David Taylor. http://twitter.com/zensatellite/status/19606330751 [22:17] micheil: ryah: that interfaces thing would probably be good to be in the OS module [22:17] jamescarr: so you can use pure connectjs for an app instead of express? [22:18] _announcer: Twitter: "Node.js play with. U Moe points Zainoga probably demo. RT @ newsycombinator: Experimenting with Node.js http://bit.ly/aXMToO" [ja] -- Masakazu . http://twitter.com/studiomaestro/status/19606405532 [22:18] mertimor has joined the channel [22:18] tjholowaychuk: jamescarr: yup [22:19] tjholowaychuk: if you wanted to.. but its lower level than express [22:19] jamescarr: I see [22:19] ryah: micheil: too specific to be included in core [22:19] tjholowaychuk: Express 1.x is built on connect [22:19] micheil: ryah: okay, I see that now; I should read further into things first ;) [22:19] tjholowaychuk: jamescarr: abstracts out stuff that should have been out initially :D [22:20] jamescarr: ah I see [22:20] jamescarr: hopefully it only takes me an hour to set up an example app for my module ;) [22:20] mertimor has joined the channel [22:21] JimBastard has joined the channel [22:21] rauchg_ has joined the channel [22:21] tjholowaychuk: jamescarr: let me know if you have questions [22:21] maqr has joined the channel [22:22] jamescarr: yeah... how come you dont have the dependencies in your package.json? :) [22:22] _announcer: Twitter: "@fearphage were you in #node.js last friday evening?" -- rick waldron. http://twitter.com/rwaldron/status/19606651748 [22:22] mertimor_ has joined the channel [22:23] _announcer: Twitter: "this node.js experiment has my sympathy for farmyard animals subliminally stirred. http://tinyurl.com/33ootfg" -- noele. http://twitter.com/noele/status/19606680982 [22:23] rauchg_ has joined the channel [22:23] cloudhead has joined the channel [22:23] fearphage has joined the channel [22:23] khug has joined the channel [22:24] rwaldron: fearphage: yo [22:24] _announcer: Twitter: "http://jeffkreeftmeijer.com/2010/experimenting-with-node-js/ Add your cursor to his collection! #nodejs" -- David Taylor. http://twitter.com/zensatellite/status/19606740092 [22:24] rwaldron: fearphage:i tried hitting you up on twitter [22:24] fearphage: rwaldron: hello there [22:24] fearphage: i'm always around [22:25] rwaldron: so, last friday evening, i was talking about loading node.js onto my palm pre (webOS) [22:25] rwaldron: and then i forgot to try it on saturday [22:25] rwaldron: so i am doing so now [22:25] dgathright has joined the channel [22:25] rwaldron: that might be the root of where you saw that mentioned [22:25] rwaldron: in here. from me [22:26] fearphage: no, that wasn't it [22:26] rwaldron: hm. [22:26] fearphage: i think i confused couchdb with nodejs for a moment [22:26] rwaldron: oh word [22:26] rwaldron: anyway [22:26] fearphage: not confused but just transposed [22:26] rwaldron: i am mid-attempt [22:26] rwaldron: loading novacom onto luci [22:26] rwaldron: lucid* [22:27] rwaldron: my plan: use the novacom pathway to ssh into the phone, which gives you root access [22:27] rwaldron: no "rooting" invloved, you, the owner are already root and allowed to do as yo uplease [22:27] rwaldron: anyway, from there, i'll see how it goes [22:30] jamescarr: is express available via npm? [22:31] JimBastard: yeah jamescarr [22:31] tjholowaychuk: jamescarr: should be yup [22:31] rednul has joined the channel [22:31] javajunky: has connect been updated yet ? [22:31] JimBastard: jamescarr: npm list [22:31] fearphage: interesting [22:31] JimBastard: jamescarr: that will show you all the npm packages [22:31] jamescarr: ha [22:31] jamescarr: my version number was wrong [22:32] JimBastard: npm install express, should work [22:32] bradleymeck_: whew weak refs are a go [22:32] jamescarr: I'm getting into a habit of setting up package.json with deps in my projects [22:32] jamescarr: so other people can just do an npm install to get the deps [22:32] creationix: javajunky: it should be updated enough to run express [22:33] _announcer: Twitter: "Thanks for @tmpvar for pointing this out. This is absolutely amazing: http://jeffkreeftmeijer.com/2010/experimenting-with-node-js/" -- Daniel Lacy. http://twitter.com/dcompute/status/19607291817 [22:33] tjholowaychuk: jamescarr: you can $ curl -x# http://expressjs.com/install.sh | sh [22:33] javajunky: creationix: so its got working bodydecoders in it ? [22:33] tjholowaychuk: ACTION keeps forgetting to add connect to package.json [22:33] sh1mmer: I can't believe the semi-colons thread hasn't died yet [22:34] tjholowaychuk: javajunky: yeah that was an express issue with mounting the router middleware [22:34] sh1mmer: I blame isaacs [22:34] mde: sh1mmer: It's a war of attrition. :) [22:34] mjr_: sh1mmer: that thread is dead to me. [22:34] sh1mmer: mde: not really [22:34] tjholowaychuk: javajunky: now you can leave it as-is and it should work, or you can do app.use(app.router) in config if you surround it with static etc [22:34] jamescarr: tjholowaychuk, yeah, but I do it to add other deps my project might use [22:34] creationix: sh1mmer: I did think felixge's poll was funny though [22:34] sh1mmer: It's isaacs' project. He can do whatever the fuck he wants. [22:34] tmpvar: !tweet [22:35] tjholowaychuk: jamescarr: that didnt go to well with Express last time around, people just thought you could ONLY use haml etc [22:35] tjholowaychuk: tough call [22:35] sh1mmer: I personally disagree with him, but it's such a small issue to obsess over. [22:35] jamescarr: tjholowaychuk, ah I see [22:35] tjholowaychuk: connect dep should be added though [22:35] creationix: I think inimino's article lays out the technical sides quire clearly, it's all convention and personal style from there [22:35] creationix: tjholowaychuk: do it! [22:36] mde: sh1mmer: It's a war of attrition in the sense that it's going to drag on endlessly without any clear 'winner.' [22:36] gf3_ has joined the channel [22:36] sh1mmer: mde: well isaacs already won, at least in npm. [22:36] sh1mmer: It's his project and he can do whatever he liked. [22:36] tjholowaychuk: vs kiwi? [22:37] tjholowaychuk: I gave up on kiwi alonggg time ago lol [22:37] creationix: sh1mmer: yes, the the thread was about someone posting code that was broken because of a missing semicolon [22:37] tjholowaychuk: I dont even personally use PM for node [22:37] mde: sh1mmer: Neither side wins in the sense they won't convince the other side of the rightness of their argument. [22:37] javajunky: creationix: tjholowaychuk hmmm I'm sure there were a couple of issues that meant I had to install connect + express locally, but clearly I've forgotten them now ;) [22:37] tjholowaychuk: javajunky: haha :D hmm well let me know how it goes [22:38] javajunky: okey doke ;) [22:38] bradleymeck_: who else was it that needed weak references? [22:38] javajunky: nn [22:38] tmpvar: i could always use some [22:39] bradleymeck_: node-overload experimental branch has testcase showing off it but its in c++ module [22:39] tjholowaychuk: cant remember why i didnt want to use npm dependency stuff [22:39] sh1mmer: notice how I am clearly not taking a side [22:39] tjholowaychuk: i swear isaacs said it was not working well [22:39] sh1mmer: so creationix you won't drag me in :P [22:39] bradleymeck_: i know you dont like the c++ side tmpvar :/ [22:40] creationix: sh1mmer: drag who is to what? [22:40] sh1mmer: creationix: I'm not engaging in the right/wrongness of semicolons [22:40] JimBastard: also, for the record i declared npm the "winner", not that, that means anything at all [22:40] sh1mmer: creationix: and again I'm just teasing you [22:40] JimBastard: :-) [22:40] creationix: sh1mmer: I'll tell crockford on you [22:40] bradleymeck_: I declare my pants to be the best distribution of node modules, trusty usbstick, go! [22:40] tmpvar: bradleymeck_, :/ i love the c++ side [22:41] sh1mmer: creationix: go nuts. I had a lovely conversation with him this morning [22:41] creationix: (is that saying even proper english?) [22:41] jesusabdullah: I feel like this is a really dumb question, but: How would I go about reading in a json file in node? [22:41] jesusabdullah: :E [22:41] JimBastard: bradleymeck_: i second that [22:41] JimBastard: jesusabdullah: read the file use FS then JSON.parse() [22:41] creationix: sh1mmer: you should get him to come to the node meetup [22:41] troymg: fyi: I just installed both express & connect via NPM on a clean install and it worked fine [22:41] jesusabdullah: Oh, built-in? Awesome [22:41] sh1mmer: creationix: I'll see what I can do [22:41] sh1mmer: he's got something else on during knockout [22:41] JimBastard: jesusabdullah: JSON.parse, JSON.stringify both built in [22:41] sh1mmer: but we are bringing pgriess, or rather pgriess is bringing himself :) [22:42] creationix: sh1mmer: well, considering the node meeting is still one of three nights, it shoulnd't be hard to find a night that works [22:42] tpryme has joined the channel [22:42] _announcer: Twitter: "# # http://github.com/jamescarr/payment-paypal-payflowpro nodejs showmethemoney" [pl] -- David Taylor. http://twitter.com/zensatellite/status/19607821792 [22:42] pgriess: creationix: any idea on the date of the meetup next week? [22:42] sh1mmer: creationix: unless he's out of town [22:42] rauchg_: pgriess: are you gonna be there ? [22:42] creationix: sh1mmer: true you speaker guys sure travel a lot [22:43] pgriess: rauchg_: yeah, 8/8 - 8/14 [22:43] rauchg_: awesome [22:43] bradleymeck_: but yea tmpvar, weak refs down, then i give use some ephemeron tables, and /drool i can avoid mem leaks! [22:43] bradleymeck_: holding to the Harmony APIs [22:43] sh1mmer: creationix: I've been trying to get people to leave me alone so I can stay in CA and code [22:43] hij1nx: JimBastard in the haus [22:43] lachlanhardy has joined the channel [22:43] creationix: pgriess: you mean week after next? [22:43] JimBastard: hij1nx: and i got me some couch swag woooot [22:44] hij1nx: word! [22:44] JimBastard: working on the track tonight [22:44] JimBastard: just gotta do this phone call in 15 mins or so [22:44] pgriess: creationix: yeah [22:44] JimBastard: what you getting into? [22:44] _announcer: Twitter: "dipping my hand into the pool node.js" [af] -- andy. http://twitter.com/whereandy/status/19607951703 [22:44] JimBastard: !tweet @whereandy the water is warm! [22:45] creationix: pgriess: do you care if it's the 10, 11, or 12th [22:45] jamescarr: out of curiosity, anyone get cucumber working with node.js? [22:46] creationix: jamescarr: it should work like any other http server [22:46] jamescarr: I heard it has v8 bindings, so I was curious if anyone had [22:46] _announcer: Twitter: "The coolest node.js and websockets demo I've seen so far: http://jeffkreeftmeijer.com/2010/experimenting-with-node-js/" -- Dave Mosher. http://twitter.com/dmosher/status/19608067313 [22:46] jamescarr: creationix, well, not against the http server ;) [22:46] creationix: jamescarr: vows is somewhat like that [22:46] pgriess: creationix: 11th woul d work best for me, but i can do any of those, really. just would like to know sooner rather than later to pin down my schedule [22:46] jamescarr: yeah, thats what I've been using [22:47] sh1mmer: creationix: let me find out about space in the city [22:48] mde: sh1mmer, creationix Yammer could probably host if need be. [22:49] jamescarr: vows has been pretty slick so far, I've used it for my integration specs for my paypal payment module [22:49] chrischris has joined the channel [22:49] creationix: sh1mmer: I'm just trying to figure how Sencha can help support the meetup. They want to support the node.js community [22:50] mikeal has joined the channel [22:50] tjholowaychuk: jamescarr: link? I am curious how they look [22:50] creationix: tjholowaychuk: did you see my expect thing? [22:51] jamescarr: tjholowaychuk, http://github.com/jamescarr/payment-paypal-payflowpro/blob/master/spec/integration/getTransactionDetails.spec.js [22:51] tjholowaychuk: creationix: ya [22:51] jamescarr: tjholowaychuk, I've yet to look at expresso btw [22:51] jamescarr: like I said, I think I'm going to follow up my "week of javascript testing frameworks" with "A month of nodejs testing frameworks" [22:51] sh1mmer: mde: oh yeah Adam said I should come around and meet you guys next week [22:51] tjholowaychuk: jamescarr: IMO expresso can look a lot cleaner than that, sounds good tho :) [22:51] tjholowaychuk: wait till I get a fancy site lol [22:52] sh1mmer: creationix: beer money always helps [22:52] tjholowaychuk: and proper docs [22:52] sh1mmer: creationix: or there will be other meet ups [22:52] jamescarr: creationix, oh, is that the node meetup in Palo Alto? [22:52] sh1mmer: creationix: maybe we should flip/flop [22:52] creationix: jamescarr: yep [22:52] mjr_: Seems like there is enough interest that we could alternate between Palo Alto and SF. [22:52] creationix: but it seems there are more people coming from SF [22:52] mikeal: this HN thread is super annoying [22:52] sh1mmer: mikeal: which? [22:53] mikeal: http://news.ycombinator.com/item?id=1549023 [22:53] mikeal: the one ryan posted [22:53] jamescarr: creationix, yeah, i think I might try to organize one in the midwest, probably St.Louis [22:53] jamescarr: there seems to be more and more nodejs users popping up out here ;) [22:53] sh1mmer: upvoted isaac downvoted main comment [22:53] bcurren has joined the channel [22:53] creationix: sh1mmer: upvote me too ;) [22:54] jesusabdullah: dammot [22:54] sh1mmer: I might when I read what you wrote [22:55] bcurren: does express do anything "special" to open and close connections to a db? how do i make sure the db connection gets closed properly? [22:56] tjholowaychuk: bcurren: express has no notion of a b.. [22:56] tjholowaychuk: db* [22:56] tjholowaychuk: you can use whatever library you like [22:56] bcurren: let me show you what our functioning code looks like now. i'm trying to move to spark and am not sure where to move open to [22:56] sh1mmer: creationix: you should link to the howtonode posts [22:56] tjholowaychuk: s/coffee/water/ wooot go m [22:56] tjholowaychuk: e [22:56] sh1mmer: the crux of his argument is that you can't code big projects in an evented style [22:56] bcurren: here is what we have now: http://gist.github.com/491401 [22:57] bcurren: i need to refactor to look something like this: [22:57] sh1mmer: which is a valid point, but in this context filibustering [22:57] creationix: sh1mmer: isn't linking like that considered spam? [22:57] sh1mmer: creationix: not really. [22:57] sh1mmer: it's on topic [22:57] _announcer: Twitter: "hot. Experimenting with Node.js (and websockets and mouse-cursor funtimes) http://j.mp/9890rW" -- Paul Irish. http://twitter.com/paul_irish/status/19608769708 [22:57] sh1mmer: disclose you write it [22:57] sh1mmer: wrote [22:58] mjr_: sh1mmer: I think you can program large projects in an evented style just fine as long as you put common things into different functions. [22:58] bcurren: http://gist.github.com/491404 [22:58] jamescarr: oh freakin A! [22:59] mjr_: It gets all crazy if you chain everything from the http.createServer() callback down, but you can set up layers that make it very readable and workable while still using the event / callback structure. [22:59] jamescarr: just got the express checkout working from the express example ;) [23:00] kevm__ has joined the channel [23:00] mikeal: i love that argument [23:00] mikeal: "the indentation get huge!" [23:00] tjholowaychuk: bcurren: ah see what you mean. [23:00] mikeal: you don't *have* to use anonymous functions [23:00] mjr_: It seems like that's the only issue though, too much indentation. [23:00] mikeal: you can name them and abstract things [23:00] mjr_: That's what I keep reading in these arguments. [23:01] mikeal: you can also use eventEmitters to abstract things that are more complex and granular than just a callback [23:01] bcurren: tjholowaychuk: this code is forked so i'm trying to not refactor too much to accomplish this. i also don't want it too ugly though [23:01] mikeal: i really should work on my slides [23:01] mikeal: but think I'm going to work on something else instead [23:01] mjr_: mikeal: yeah, using your own event is a pretty useful abstraction [23:01] tjholowaychuk: bcurren: personally I dont think its brutal to just noop the db connection callback, unless your app is taking hits immediately, otherwise yeah you have to do something like that [23:01] mjr_: One that I think gets overlooked too often. [23:01] mikeal: i'm gonna write an rproxy in node that is for sticking in front of CouchDB that just adds some extra features to view queries [23:02] tjholowaychuk: bcurren: I have implemented async exports before lol kinda awkward but it works [23:02] jamescarr: tjholowaychuk, is there anwyay to configure express to reload views? [23:02] mikeal: people are asking about AND queries a lot again [23:02] _announcer: Twitter: "Swarming and nerd herd behavior, a.k.a Experimenting with Node.js http://jeffkreeftmeijer.com/2010/experimenting-with-node-js/ #UX" -- Antoine Valot. http://twitter.com/avalot/status/19609051556 [23:02] bcurren: tjholowaychuk: the first won't leak connections? just one per process, right? [23:02] tjholowaychuk: jamescarr: yup, app.set('reload views', n) where n is the interval for watching the files [23:02] mjr_: mikeal: AND and DISTINCT come up pretty often in our use of couchdb. "But this would be so easy with SQL". [23:02] jamescarr: awesome [23:03] mikeal: DISTINCT is called _id [23:03] mikeal: with peer-to-peer eventually consistent replication you can't enforce consistency at any other level [23:05] tjgillies has joined the channel [23:06] _announcer: Twitter: "If everyone would work together, we could spell 'penis' and be done with it R @paul_irish Nodejs, websockets,mouse-cursor http://j.mp/9890rW" -- Greg Ferrell. http://twitter.com/gregferrell/status/19609297617 [23:06] SubStack: o_O [23:08] chrischris has joined the channel [23:08] jesusabdullah: ahahaha [23:08] jesusabdullah: AWesome [23:09] tk has joined the channel [23:09] _announcer: Twitter: "Getting more and more impressed by node.js - amazing bit of kit." -- fud. http://twitter.com/fud/status/19609527664 [23:10] bcurren: tjholowaychuk: thanks for the help. seems to be working. [23:10] jamescarr: creationix, darn you were right... on('success', fn).on('error', fn) turned out not to be too practical :( [23:10] tjholowaychuk: bcurren: np! [23:10] mscdex: that tweet is a bunch of fud [23:10] _announcer: Twitter: "Article:Virtual Panel: The Node.js Ecosystem - Frameworks, Libraries and Best Practices: Node.js is a server side ... http://bit.ly/9oQ59v" -- Alexis Rodriguez. http://twitter.com/arm1433/status/19609552239 [23:10] mscdex: :p [23:10] creationix: jamescarr: sorry to hear [23:11] mscdex: so yeah, silly me was packaging node wrong [23:11] mscdex: :S [23:11] ryah: is anyone using socket.io with connect ? [23:11] mscdex: well, for 64-bit anyway [23:11] jamescarr: creationix, nah, it'll be easy to change [23:13] creationix: jamescarr: just make sure the callback is callback(err, data) [23:13] creationix: then it will interop nice with other stuff [23:13] creationix: like Step :) [23:14] jesusabdullah: http://gist.github.com/491426 Can anybody tell me why JSON.parse() chokes on this? [23:14] jesusabdullah: I'm not very good at serialization :( [23:14] bcurren: missing comma on line 13 [23:15] bcurren: jesusabdullah: and on line 18 [23:15] drudge: now tell him how you found that so he doesn't ask again :P [23:15] bcurren: drudge: i looked at the file:) [23:15] drudge: jslint says the same thing though :P [23:16] creationix: ok, where is the comma-first crowd now? [23:16] mde: I'm a fan, actually. :) [23:16] creationix: I am too, comma first looks neat [23:16] jamescarr: creationix, hamljs question... is there a way to do an if statement to check if a local is defined? [23:16] drudge: eww [23:16] bpot has joined the channel [23:16] jesusabdullah: bcurren: Good eye! [23:16] creationix: jamescarr: typeof var !== 'undefined [23:16] mde: Anything that makes it harder to write a bug is A-OK by me. [23:16] Dmitry: …but dumb [23:16] jesusabdullah: Oh, jslint can catch that? [23:16] jesusabdullah: Hmm [23:17] bcurren: jesusabdullah: in all seriousness, the first thing i check is commas. that is usually bites me in the ass. an extra comma or not enough [23:17] jesusabdullah: I believe you [23:17] mde: creationix: Yeah, I'm starting to get used to how it looks. It's not bad. [23:17] jesusabdullah: I just don't have an eye for them [23:17] tjholowaychuk: jamescarr: http://jade-lang.com is haml-like and does buffering "correctly" so you can do - if (foo) .. - else etc [23:17] mscdex: comma comma comma comma chameleon [23:17] creationix: jamescarr: what tjholowaychuk said [23:17] mde: mscdeeeeeeeeeeeeex ... :) [23:17] mscdex: :> [23:17] tjholowaychuk: i dont mind comma first, ive had a few globals without that :( [23:17] tjholowaychuk: stupid refactoring [23:17] mscdex: gedddddddddyyyyyyyyy [23:18] drudge: these sencha labs guys are the bees knees [23:18] creationix: lol [23:18] drudge: ;) [23:18] mde: mscdex: *There* it is! I was waiting for it. :) [23:18] jamescarr: tjholowaychuk, yeah, I've been meaning to check out jade :) [23:18] mscdex: i gave up on it for awhile, as i thought it had become annoying ;-) [23:18] benbinary has joined the channel [23:18] tjholowaychuk: jamescarr: ive been meaning put up the interactive demo-ish thinger [23:18] tjholowaychuk: would be nice to have the docs on the site eventually instead of the readme too [23:18] mde: Haha [23:19] mde: mscdex: Nah, it's nice to be able to depend on some things. :) [23:19] hassox has joined the channel [23:19] gwoo has joined the channel [23:20] jesusabdullah: oh wow! [23:20] jesusabdullah: jslint is magical [23:21] creationix: tjholowaychuk: did we ever get a grain version of jade [23:21] jesusabdullah: drudge: Thanks [23:21] creationix: ? [23:21] tjholowaychuk: nope [23:21] creationix: supporting async callbacks and streaming? [23:21] rolfb has left the channel [23:21] drudge: you got it jesusabdullah [23:21] tjholowaychuk: when I have time im going to add the compile/execute methods to abstract from my huge render meth [23:21] hassox: creationix: Is grain going to allow contexts to be passed in? [23:21] creationix: hassox: what do you mean by contexts? [23:22] creationix: you can just use apply or call to set "this" [23:22] creationix: it's a function [23:22] hassox: Oh cool :) [23:22] creationix: hassox: though the only grain implementation I know of is my simple "Corn" language [23:23] hassox: So that issue with mixins we talked about the other day doesn't. Need to be an issue [23:23] sh1mmer: the best thing about working for a big company is knowing then when you screw up you screw it up for lots of people [23:23] tjholowaychuk: jade needs to do some magic for error reporting so I cant just pass back a fn, but I could potentially return a fn that proxies all that internal crap [23:23] tjholowaychuk: shouldnt be a huge deal [23:23] beelzabub: sh1mmer: also, that when you screw up it takes 2 years for someone to notice [23:23] creationix: sh1mmer: I once had a typo in my database migration script and deleted databases for a few customers, and the sys-admin just happened to not have backups for those dbs [23:23] sh1mmer: beelzabub: I personally find that not to be true [23:24] mscdex: yay, 64-bit .deb packages are fixed [23:24] sh1mmer: creationix: I think you told me that story over drinks (that I was drinking) [23:24] creationix: I try to not work 100 hours weeks anymore, keeps the typos down in stuff like that [23:24] mscdex: more corn! [23:25] creationix: ACTION likes naming projects after food, he must code hungry [23:25] btipling_ has joined the channel [23:25] tjholowaychuk: hahaha [23:25] mscdex: corn modules are called husks? [23:25] mscdex: :> [23:25] tjholowaychuk: ACTION likes miss spelling project names [23:25] hassox: Anyone know where I can find out about using webbsockrts from site X to server foo.bar? [23:26] creationix: though the worst is wheat and grain [23:26] jakehow has joined the channel [23:26] tjholowaychuk: misspelling* bahahah.. fail [23:26] creationix: they have nothing in common [23:26] hassox: I.e. Cross domain [23:26] mscdex: hassox: you can, but server foo.bar has to allow it [23:27] hassox: Mscdex do you know of any reaourxes wgere i could read up on doibg that? [23:28] mscdex: hassox: the only thing the server has to do is reply with an Origin header that matches the Origin header sent by the client [23:28] hassox: Mkay [23:29] Aria has joined the channel [23:29] WALoeIII has joined the channel [23:29] hassox: Thx [23:29] WALoeIII has joined the channel [23:31] ryah: checking out cool node modules [23:31] ryah: :) [23:33] JimBastard: yo i read on this blog that nodejs was the shit [23:33] JimBastard: how can i start writing some cool node apps [23:33] maushu has joined the channel [23:33] ryah: connecti is pretty sweet [23:34] mape: i? [23:35] _announcer: Twitter: "What I learned this weekend node.js is cool and traveling with a newborn niece is slow going :)" -- paulcrawford. http://twitter.com/paulcrawford/status/19611102511 [23:35] ryah: s/i// [23:35] tjholowaychuk: getting there sorta [23:36] benbinary: curious, anyone using Socket.IO in production? [23:36] JimBastard: benbinary: ask rauchg_ [23:36] jamescarr: benbinary, not yet [23:36] creationix: ryah: awesome [23:36] mape: would be neat to have something like ajaxian but for node, that does a little writeup with some graphics for new modules [23:36] creationix: JimBastard: http://somecrazyurl.ru/install.sh | sh [23:36] JimBastard: mape: +2 [23:36] mape: and general info/articles [23:37] JimBastard: lolwut creationix [23:37] creationix: JimBastard: make that "sudo su" [23:37] creationix: *"sudo sh" [23:37] rauchg_: benbinary: i put socket.io for stress testing in our techcrunch post [23:37] rauchg_: did perfect [23:37] JimBastard: http://www.i-tchat.com/tchat.html uses socket.io [23:37] rauchg_: with like 2k simultaneous connections [23:37] mscdex: sudo su sue [23:37] mscdex: :P [23:37] rauchg_: so, we're hoping to launch it in production in a couple weeks :D [23:37] mape: rauchg_: how much data is being sent? [23:38] benbinary: rauchg_: excellent, are you using all of the transports? xhr-polling seems to be the most widely supported... [23:38] rauchg_: benbinary: socket.io does feature detection [23:38] chewbranca has joined the channel [23:38] ryah: dislike submodule hell [23:38] rauchg_: mape: not much, but with a lot of frequency. also, my 05 branch contains a lot of optimizations and improvements for disconnection detection [23:39] rauchg_: i removed the JSON dependency [23:39] ryah: (git submodule hell, that is) [23:39] creationix: mape: howtonode.org does some of that, but it's more aimed for concepts, not projects [23:39] rauchg_: or i should say i'm in the process of [23:39] creationix: ryah: submodule update --init --recursive [23:39] creationix: or something like that [23:39] mape: creationix: yeah I mean more like hilights, putting a spotlight to cool stuff, could be small "dumb" stuff or larger community related things [23:40] mjr_: ryah: what's the intended difference between stream 'end' and stream 'close' events? EOF vs "socket is gone" ? [23:40] benbinary: rauchg_: is the xhr-polling transport supposed to reconnect after losing connection? any good way to handle that? [23:40] creationix: mape: thechangelog almost does that, it's just not node specific [23:40] mde: mape: +1, continuous stream of bite-sized articles keep people's interesting going. [23:40] rauchg_: benbinary: if the entire "socket" disconnects, then reconnection handling is up to the user [23:41] mape: creationix: yeah, and imo to far and few betweeen [23:41] rauchg_: but of course xhr-polling works by connecting and disconnecting every 20 seconds and that's taken care of. [23:41] benbinary: ah [23:41] creationix: mape: I'l cool with starting a node specific spotlight site, I just don't think I have time to run it [23:42] benbinary: ok, i'll play with it some more tonight, was noticing the connection getting killed on ipad and not reconnecting [23:42] ryah: mjr_: that's the difference [23:42] ryah: mjr_: EOF doesn't imply that it's not writable [23:42] mape: creationix: yeah I guess that is the issue, someone has to run it, the development isn't the issue [23:42] mjr_: ryah: is it ever possible to have EOF without the socket being or about to be gone? [23:42] ryah: yes [23:42] mjr_: ohhhh, half closed [23:42] benburkert has joined the channel [23:43] benbinary: rauchg_: thanks tho, very useful project. I'll let you know when I've got something in production :) [23:43] ryah: e.g. you upload a file then socket.end() - and the other side replies with a checksum before EOFing [23:43] creationix: mape: I'm pretty swamped with howtonode, work, and my projects [23:43] _announcer: Twitter: "@jkreeftmeijer I dig your node.js article, but more importantly I dig your code syntax highlighter! Did you roll it yourself?" -- Steven Peterson. http://twitter.com/squeakytoy/status/19611640997 [23:43] bcurren: is there anything like bundler for node? i saw kiwi and npm but those seem to be more like rubygems. [23:44] mape: creationix: yeah guess somekinda crowdsourcing would be best [23:44] ryah: mjr_: having control over half-closed sockets was one major goal for doing node [23:44] mape: unless someone in here is a writer [23:44] ryah: the other being streaming http messages [23:44] mjr_: ryah: yeah, its a level of control that most APIs don't give you access to. [23:45] mjr_: And one that doesn't come up as often in a purely HTTP request / response world, but gets a lot more relevant with things like websocket or other bi-directional protocols. [23:46] mscdex: mape: you mean like a site that showcases node in use? [23:47] mape: mscdex: no, ajaxian but node only and the articles can be even more bite size [23:47] mscdex: oh [23:47] creationix: mape: I wanted to crowdsource with howtonode.org, but I ended up writing most the articles [23:48] ryah: i hate that i have to restart my connect server everytime i change something [23:48] mjr_: ryah: I've got some pretty interesting benchmarks going now, and some results I don't fully understand. I'm doing the "proxy lots of small HTTP chunks" test. When I get up to 300 writers and 300 readers, server CPU is 100% I can still add about 300 more writes/readers and nobody gets behind. [23:48] ryah: >:/ [23:48] mape: "got the idea" again when I read about some db dude who sent out a "catch up" mail every other day to the mail list in order to keep people involved [23:48] mape: creationix: Yeah, hard to get people comitted to things that aren't their own, or the project has great momentum [23:48] ryah: mjr_: i'm guessing latency suffers [23:48] _announcer: Twitter: "Copying and pasting from the node.js API docs, and getting no method exceptions. I need my binky!" -- Jim Van Fleet. http://twitter.com/bigfleet/status/19611940912 [23:49] ryah: mjr_: proxying small http chunks is a real sore spot [23:49] mjr_: ryah: latency does indeed go up, but not by a lot. If the CPU is at 100%, where does the extra work come from? [23:49] mjr_: Is the new data buffering in the kernel, and then doing less work on the JS side? [23:50] mjr_: I guess that's a reasonable explanation. [23:50] cardona507 has left the channel [23:50] cardona507 has joined the channel [23:50] cardona507 has left the channel [23:53] _announcer: Twitter: "@bigfleet even *you* are onto Node.js now? Gah!" -- ell.io. http://twitter.com/elliottcable/status/19612214239 [23:53] _announcer: Twitter: "@bigfleet I’m going to be in NC soon, we should have a little Node.js meetup :D" -- ell.io. http://twitter.com/elliottcable/status/19612237639 [23:54] ryah: mjr_: does memory go up? [23:54] mjr_: ryah: why is the small chunk proxy so expensive? [23:54] mjr_: no, memory is super low. [23:55] maushu has joined the channel [23:55] ryah: creationix: 27 Jul 00:54:19 - Illegal transport "socket.io.js" ? [23:55] mjr_: Amazingly low. [23:55] ryah: mjr_: lots write(2) calls [23:55] ryah: and their associated javascript wrappers [23:55] cardona507 has joined the channel [23:55] mjr_: ryah: top reports system time of 20% and user time of 80%. [23:55] _announcer: Twitter: "@inkpixelspaper node.js is implemented with CommonJS" -- rick waldron. http://twitter.com/rwaldron/status/19612368935 [23:56] creationix: ryah: ? [23:56] ryah: creationix: connect is telling me that.. [23:57] JimBastard: i love hanging out in this french chat room built on node [23:57] JimBastard: http://www.i-tchat.com/tchat.html [23:57] ryah: somehow it does doesn't like "socket.io.js" in my public/ folder [23:57] JimBastard: i make funny faces at people and curse them out via translate.js [23:57] creationix: ryah: very strange, never seen that [23:58] creationix: ryah: what's your connect stack? [23:58] jamescarr: has anyone made a shopping cart for node yet? [23:59] JimBastard: ryah: ;-) [23:59] ryah: creationix: [23:59] ryah: var server = connect.createServer( connect.logger(), connect.staticProvider(__dirname + '/public')); [23:59] creationix: hmm, seems pretty simple [23:59] ryah: oh maybe it's socket.io that's making that error