[00:00] webr3: complete brain drain :( [00:00] cardona507: gotta get me one http://www.redbubble.com/products/configure/23494522 [00:00] maushu: It's supposed to connect by itself but... [00:00] digitalspaghetti: ooooPsss: yup hang on [00:00] webr3: v8 "hello world".split(/ */) [00:00] v8bot: webr3: ["h", "e", "l", "l", "o", "w", "o", "r", "l", "d"] [00:00] webr3: v8 "hello world".split(/ {1,2}/) [00:00] v8bot: webr3: ["hello", "world"] [00:01] maushu: ...and its not working. [00:01] JohnnyL: Node.js doesn't use win32 undef windowsxp, only cygwin, correct? [00:01] quirkey has joined the channel [00:01] overra_: thanks for the quick fix isaacs [00:02] isaacs: overra_: it only seems quick because you found the bug just now :) [00:02] webr3: String.prototype.chunk = function(n) { return this.match( new RegExp('.{1,'+n+'}','g') ); }; "hello world".chunk(2); [00:02] ooooPsss: If grasshopper the best MVC framework for node now? [00:02] isaacs: overra_: your'e welcome, though :) [00:02] webr3: v8 String.prototype.chunk = function(n) { return this.match( new RegExp('.{1,'+n+'}','g') ); }; "hello world".chunk(2); [00:02] v8bot: webr3: ["he", "ll", "o ", "wo", "rl", "d"] [00:02] webr3: sweet [00:02] Anti-X: quick fix? no drug dealing in here, thanks [00:02] Nohryb: v8 try { while (1) ; } catch (e) { "Oops: "+ e.message } [00:02] v8bot: Nohryb: Error: Timeout [00:02] webr3: v8 "hello world".chunk(3) [00:02] v8bot: webr3: TypeError: Object hello world has no method 'chunk' [00:02] maushu: Oh, silly me. [00:03] webr3: v8 String.prototype.chunk = function(n) { return this.match( new RegExp('.{1,'+n+'}','g') ); }; "hello world".chunk(3); [00:03] v8bot: webr3: ["hel", "lo ", "wor", "ld"] [00:03] overra_: Anti-X: lol [00:03] Nohryb: v8 argv [00:03] v8bot: Nohryb: ReferenceError: argv is not defined [00:04] webr3: v8 parseInt() [00:04] v8bot: webr3: NaN [00:04] webr3: v8 parseInt() >0 [00:04] v8bot: webr3: false [00:04] webr3: v8 parseInt() <0 [00:04] v8bot: webr3: false [00:05] webr3: v8 parseInt() == 0 [00:05] Nohryb: v8 Object.getOwnPropertyNames((function(){return this})()) [00:05] v8bot: Nohryb: ["TypeError", "decodeURI", "parseFloat", "Number", "URIError", "encodeURIComponent", "RangeError", "ReferenceError", "RegExp", "Array", "isNaN", "Date", "Infinity", "Boolean", "Error", "NaN", "execScript", "String", "Function", "Math", "undefined", "encodeURI", "escape", "unescape", "decodeURIComponent", "EvalError", "SyntaxError", "Object", "eval", "parseInt", "JSON", "isFinite"] [00:05] v8bot: webr3: false [00:05] Yuffster has joined the channel [00:05] Anti-X: it's NaN, so it can't be any number [00:05] Anti-X: :P [00:05] webr3: v8 parseInt() == NaN [00:05] v8bot: webr3: false [00:05] Anti-X: well [00:05] webr3: v8 parseInt() == Number.NaN [00:05] v8bot: webr3: false [00:05] _announcer has joined the channel [00:06] Anti-X: v8 typeof parseInt() == 'NaN' [00:06] v8bot: Anti-X: false [00:06] webr3: typeof NaN [00:06] bcg has joined the channel [00:06] webr3: v8 typeof NaN [00:06] v8bot: webr3: number [00:06] Anti-X: haha [00:06] Anti-X: i'm confused [00:06] maushu: v8 typeof Infinity [00:06] v8bot: maushu: number [00:06] webr3: typeof Number.NaN [00:06] maushu: v8 Infinity / Infinity [00:06] v8bot: maushu: NaN [00:06] Nohryb: v8 throw Error("Aaarghh"), 0; [00:06] v8bot: Nohryb: undefined: undefined [00:06] webr3: v8 typeof Number.NaN [00:06] v8bot: webr3: number [00:06] Anti-X: v8 typeof parseInt() [00:06] v8bot: Anti-X: number [00:07] webr3: parseInt() == Number.NaN [00:07] webr3: v8 parseInt() == Number.NaN [00:07] v8bot: webr3: false [00:07] webr3: v8 typeof parseInt() [00:07] v8bot: webr3: number [00:07] Anti-X: v8 typeof (parseInt()) [00:07] v8bot: Anti-X: number [00:07] Nohryb: v8 throw Error("Aaarghh") [00:07] v8bot: Nohryb: SyntaxError: Unexpected token ILLEGAL [00:07] webr3: v8 isNaN(parseInt()) [00:07] v8bot: webr3: true [00:07] maushu: God dammit! [00:07] webr3: ;) [00:08] Anti-X: announcer not behaving? [00:08] Nohryb: v8 Error("oops") [00:08] v8bot: Nohryb: at Stream.emit (events:26:26) [00:08] v8bot: Nohryb: at Stream.emit (events:26:26) [00:08] v8bot: Nohryb: at Stream.emit (events:26:26) [00:08] Anti-X: v8 throw Error('haha') [00:08] v8bot: Anti-X: Error: haha [00:08] v8bot: Nohryb: at Stream.emit (events:26:26) [00:08] webr3: v8 String.prototype.chunk = function(n) { return this.match( new RegExp('.{1,'+(isNaN(parseInt(n))?1:(n>1?n:1))+'}','g') ); }; "hello world".chunk(3); [00:08] v8bot: webr3: ["hel", "lo ", "wor", "ld"] [00:08] v8bot: Nohryb: at Stream.emit (events:26:26) [00:08] stagas: lol [00:08] Anti-X: well now [00:09] v8bot: Nohryb: [Output truncated...] [00:09] Anti-X: you killed it [00:09] _announcer has joined the channel [00:09] Anti-X: oh [00:09] maushu: There! I fixed it. [00:09] _announcer: Twitter: "Poke'ing announcer in the node.js channel." -- Graphnode. http://twitter.com/graphnode/status/24149262815 [00:09] Anti-X: poking is hot [00:09] maushu: I really need to find a better unit test. [00:10] Nohryb: v8 "sorry chap" [00:10] v8bot: Nohryb: sorry chap [00:10] webr3: v8 try { throw Error(Object.prototype); } catch(e) { return JSON.stringify(e) } [00:10] v8bot: webr3: SyntaxError: Illegal return statement [00:10] _announcer: Twitter: "node-cloudservers: Node.js Meets Rackspace Cloud - Setting up new servers can often be quite a pain,... http://tumblr.com/xqii6li9g" -- The Changelog. http://twitter.com/changelogshow/status/24149299573 [00:10] webr3: v8 try { throw Error(Object.prototype); } catch(e) { throw JSON.stringify(e) } [00:10] v8bot: webr3: undefined: undefined [00:10] webr3: v8 try { throw Error(Object.prototype); } catch(e) { JSON.stringify(e) } [00:10] v8bot: webr3: {"message":"[object Object]","stack":"Error: [object Object]\n at Error (unknown source)\n at evalmachine.:1:13\n at String. (/home/inimino/v8bot/lib/sandbox/shovel.js:39:18)\n at Stream.run (/home/inimino/v8bot/lib/sandbox/shovel.js:45:5)\n at Stream.emit (events:26:26)\n at IOWatcher.callback (net:471:53)\n at node.js:772:9"} [00:10] Anti-X: yeah that [00:10] maushu: shovel? [00:10] maushu: gf3 sandbox? [00:10] webr3: v8 JSON.stringify(this) [00:10] v8bot: webr3: {} [00:11] Anti-X: v8 var that = this;that; [00:11] v8bot: Anti-X: [00:12] maushu: v8 that [00:12] v8bot: maushu: ReferenceError: that is not defined [00:12] Anti-X: maybe it's bigger than the max irc message length [00:12] Anti-X: so it skips it [00:12] maushu: The sandbox is destroyed. [00:12] webr3: v8 evalmachine [00:12] v8bot: webr3: ReferenceError: evalmachine is not defined [00:12] Anti-X: v8 eval(this) [00:12] v8bot: Anti-X: [00:13] maushu: webr3, it's using this: http://github.com/gf3/node-sandbox [00:13] Anti-X: v9 this=function(this) {this = this(this)};this(); [00:13] Anti-X: v8 this=function(this) {this = this(this)};this(); [00:13] v8bot: Anti-X: SyntaxError: Unexpected token this [00:13] Anti-X: oh shut your face [00:14] Anti-X: v8 this=function(this) {this = this(this)};this(this); [00:14] v8bot: Anti-X: SyntaxError: Unexpected token this [00:14] Anti-X: right [00:14] Anti-X: i don't wanna play anymore [00:14] webr3: lol [00:14] Anti-X: ACTION steals the toys and fucks off [00:15] kersny has joined the channel [00:15] webr3: v8 [1,2,3,4].reduce(function(o,r,i,a){return o<> (o<<(i*r)) },10); [00:19] v8bot: webr3: 131072 [00:20] Nohryb: v8 function f (p) { throw p }; a= Error("oops"); f(a); [00:20] v8bot: Nohryb: Error: oops [00:20] rauchg_: v9 while(true){ [1,2,3].slice(1); } [00:20] hayeah has joined the channel [00:20] rauchg_: v8 while(true){ [1,2,3].slice(1); } [00:20] v8bot: rauchg_: Error: Timeout [00:20] rauchg_: :( [00:21] rauchg_: v8 require [00:21] v8bot: rauchg_: ReferenceError: require is not defined [00:21] webr3: v8 global [00:21] v8bot: webr3: ReferenceError: global is not defined [00:21] webr3: v8 this.prototype [00:21] v8bot: webr3: undefined [00:21] rauchg_: v8 throw new Error() [00:21] v8bot: rauchg_: Error: [00:21] webr3: v8 this.constructor [00:21] v8bot: webr3: function Object() { [native code] } [00:21] webr3: v8 this.constructor.prototype [00:21] v8bot: webr3: {} [00:21] rauchg_: v8 this.prototype.toString(); [00:21] v8bot: rauchg_: TypeError: Cannot call method 'toString' of undefined [00:21] rauchg_: v8 this.constructor.toString(); [00:21] v8bot: rauchg_: function Object() { [native code] } [00:21] Nohryb: v8 function f (p) { throw p }(Error("oops")) [00:21] v8bot: Nohryb: SyntaxError: Unexpected token ILLEGAL [00:22] webr3: v8 JSON.stringify(Object.getOwnPropertyNames(this)) [00:22] v8bot: webr3: ["TypeError","decodeURI","parseFloat","Number","URIError","encodeURIComponent","RangeError","ReferenceError","RegExp","Array","isNaN","Date","Infinity","Boolean","Error","NaN","execScript","String","Function","Math","undefined","encodeURI","escape","unescape","decodeURIComponent","EvalError","SyntaxError","Object","eval","parseInt","JSON","isFinite"] [00:23] rauchg_: v8 throw new EvalError [00:23] v8bot: rauchg_: EvalError: [00:24] vnguyen has left the channel [00:24] vnguyen has joined the channel [00:25] dohtem has joined the channel [00:25] dohtem has joined the channel [00:25] webr3: v8 JSON.stringify(Object.getOwnPropertyNames(this)).split(/ */).map(function(i){ return i.charCodeAt(0) << 5 }) [00:25] v8bot: webr3: [2912, 1088, 2688, 3872, 3584, 3232, 2208, 3648, 3648, 3552, 3648, 1088, 1408, 1088, 3200, 3232, 3168, 3552, 3200, 3232, 2720, 2624, 2336, 1088, 1408, 1088, 3584, 3104, 3648, 3680, 3232, 2240, 3456, 3552, 3104, 3712, 1088, 1408, 1088, 2496, 3744, 3488, 3136, 3232, 3648, 1088, 1408, 1088, 2720, 2624, 2336, 2208, 3648, 3648, 3552, 3648, 1088, 1408, 1088, 3232, 3520, 3168, 3552, 3200, 3232, 2720, 262 [Output truncated...] [00:25] lachlanhardy has joined the channel [00:26] webr3: v8 JSON.stringify(Object.getOwnPropertyNames(this)).split(/ */).map(function(i){ return i.charCodeAt(0) << 5 }).reduce(function(a,b,c,d){return a+b}); [00:26] v8bot: webr3: 945568 [00:26] webr3: v8 JSON.stringify(Object.getOwnPropertyNames(this)).split(/ */).map(function(i){ return i.charCodeAt(0) << 5 }).reduce(function(a,b,c,d){return a+b}) >> 32; [00:26] v8bot: webr3: 945568 [00:27] webr3: v8 parseInt(JSON.stringify(Object.getOwnPropertyNames(this)).split(/ */).map(function(i){ return i.charCodeAt(0) << 5 }).reduce(function(a,b,c,d){return a+b})) << 4; [00:27] v8bot: webr3: 15129088 [00:27] webr3: v8 parseInt(JSON.stringify(Object.getOwnPropertyNames(this)).split(/ */).map(function(i){ return i.charCodeAt(0) << 5 }).reduce(function(a,b,c,d){return a+b})) >> 16; [00:27] v8bot: webr3: 14 [00:27] webr3: v8 parseInt(JSON.stringify(Object.getOwnPropertyNames(this)).split(/ */).map(function(i){ return i.charCodeAt(0) << 5 }).reduce(function(a,b,c,d){return a+b})) >> 16 ^ 8 ^ 6 | 1; [00:27] v8bot: webr3: 1 [00:28] Zuardi: this channel could use an op… [00:29] webr3: v8 ["so","r","ry"].join("").concat(" "); [00:29] v8bot: webr3: sorry [00:31] tyfighter has joined the channel [00:31] codelotus has joined the channel [00:35] [[zz]] has joined the channel [00:35] tapwater has joined the channel [00:37] Sami_ZzZ has joined the channel [00:40] joshbuddy has joined the channel [00:40] _announcer: Twitter: "node 0.2.1 is out! http://t.co/2SmghTM (http://t.co/IbCCRbF) #nodejs" -- Régis Gaidot. http://twitter.com/rgaidot/status/24151353749 [00:41] _announcer: Twitter: "ok, got mongodb installed on my node.js server. tomorrow (if i have time) i will start the blog migration process. exciting! night all" -- Brian Mavity. http://twitter.com/bmavity/status/24151434313 [00:41] JimBastard: there he is [00:42] JimBastard: im getting random Connect errors on this one site, it crashes every once and while [00:42] JimBastard: good thing there is a request queue and it just restarts >.< [00:51] bpot has joined the channel [00:51] gthb has joined the channel [00:55] _announcer: Twitter: "Tomorrow will be hackday with node.js and if all goes well, will roll status in the blog = D" [pt] -- Éber F. Dias. http://twitter.com/eber_freitas/status/24152362035 [00:56] _announcer: Twitter: "Palm's webOS, following a 2.0 or is lost from the JavaVM. Another Java may continue to use Java's not worth enough to pay licensing fees? ... ... [Read diagonally] Palm's webOS2.0: Java VM with changed from Node.js http://bit.ly / cuG8Vz" [ja] -- kako. http://twitter.com/kakocom/status/24152455054 [00:57] dilvie has joined the channel [00:58] rauchg_: http://www.peereboom.us/assl/assl/html/openssl.html [01:04] rauchg_: pquerna: did you see that article? hilarious [01:04] markwubben has joined the channel [01:08] noahcampbell_ has joined the channel [01:09] pquerna: rauchg_: yeah. [01:10] pquerna: rauchg_: i don't think openssl is as bad as he does, its just not well documented beyond 'example' code in projects; Though to be fair, the pain of OpenSSL is why I original wrote mod_gnutls about 5 or 6 years ago, because I was tired of patching mod_ssl because of the painful OpenSSL API. [01:12] c4milo1 has left the channel [01:14] freeformz has joined the channel [01:14] _announcer: Twitter: "@joyent do you have any beta slots available for testing your node-based SmartPlatform service? I'd love to try it out w/nodejs" -- Clay Loveless. http://twitter.com/claylo/status/24153707421 [01:15] MikhX has joined the channel [01:18] omarkj has joined the channel [01:19] _announcer: Twitter: "Hawksworx » Blog Archive » The next generation stack. Is NodeJS ... http://bit.ly/bTsslZ" -- Computing Power. http://twitter.com/TekMaster_Comp/status/24154034656 [01:19] statim has joined the channel [01:19] statim has left the channel [01:22] lakin has joined the channel [01:24] markwubben has joined the channel [01:25] cosbynator has joined the channel [01:26] c4milo1 has joined the channel [01:32] MikhX_ has joined the channel [01:37] niemeyer__ has joined the channel [01:37] zikes has joined the channel [01:38] codysoyland has joined the channel [01:39] ehaas has joined the channel [01:39] _announcer: Twitter: "@jasonsalas node.js and the new palm webos seem to think that V8 is already to be a full VM. Chrome OS can pull it off the same way." -- fritzy. http://twitter.com/fritzy/status/24155488355 [01:40] siong1987 has joined the channel [01:41] zikes_ has joined the channel [01:41] _announcer: Twitter: "Something that I feel it coming http://nodejs.org/" [ja] -- nati ueno. http://twitter.com/nati/status/24155648860 [01:43] evanpro has joined the channel [01:44] _announcer: Twitter: "JavaScript enters the server room with Node.js | Open Source - InfoWorld http://t.co/oJqOMfO" -- A-Dubb Wimberly. http://twitter.com/mr_adubb_atl/status/24155814807 [01:46] saikat has joined the channel [01:47] markwubben has joined the channel [01:47] mattikus has joined the channel [01:48] aho has joined the channel [01:52] mbrochh]2 has joined the channel [01:52] Egbert9e9 has joined the channel [01:53] bradleymeck has joined the channel [01:54] bradleymeck: mmmm who wants to take a shot at debugging some c++ bindings? [01:55] _announcer: Twitter: "node.jsに挑戦中" -- Masayoshi MIZUTANI. http://twitter.com/m_mizutani/status/24156607189 [01:55] bradleymeck: ack, where did translation go!? [01:56] paulwe has joined the channel [01:56] robotarmy has joined the channel [01:58] stepheneb has joined the channel [01:59] stepheneb has joined the channel [02:00] themiddleman has joined the channel [02:00] markwubben has joined the channel [02:03] siculars has joined the channel [02:06] jacobolus has joined the channel [02:07] zikes_: anybody familiar with the mysql module? [02:08] _announcer: Twitter: "About to be the biggest noob in the room #nodejs #meetup" -- jacob thornton. http://twitter.com/jacobthornton/status/24157590189 [02:09] _announcer: Twitter: "Great idea and have used process.env environment variable to control the envs Node.JS! @ @ Lucabastos emerleite and, as you do?" [pt] -- diogobaeder. http://twitter.com/diogobaeder/status/24157622526 [02:09] devneal has joined the channel [02:10] mbrochh has joined the channel [02:10] mbrochh has joined the channel [02:16] markwubben has joined the channel [02:16] _announcer: Twitter: "I agree with etherpad node.js + websocket Let's make like" [ja] -- nati ueno. http://twitter.com/nati/status/24158156388 [02:18] c4milo1 has left the channel [02:18] marcostoledo has joined the channel [02:19] Anti-X: Let's make like. [02:19] abiraja: how do i set a JSON object on the server to a local variable with jade? [02:19] abiraja: local variable as in something the javascript on the rendered page can access [02:19] _announcer: Twitter: "[Read diagonally] Palm's webOS2.0: Java VM with changed from Node.js http://j.mp/bjVyyj" [ja] -- 2sentimetro. http://twitter.com/2sentimetro/status/24158391047 [02:20] Anti-X: maushu, what kind of translation thing does announcer use? because it's really really bad with japanese :P [02:21] _announcer: Twitter: "Naa, even with the WebOS Node.js drastic. Anyway that things will not come out somewhat, but the iPhone and Android HP Do you have a strategy to catch up? http://bit.ly/dgKMOe" [ja] -- クラフトギア 渡辺俊輔. http://twitter.com/craftgear/status/24158492638 [02:21] matschaffer has joined the channel [02:22] mikew3c has joined the channel [02:22] _announcer: Twitter: "At the SF Node.js meetup. In the amazingly saloon-like DogPatch Labs" -- Jonathan Lister. http://twitter.com/jayfresh/status/24158570208 [02:22] maushu: Anti-X, google's. [02:22] Anti-X: is this where i lol? [02:23] _announcer: Twitter: "At node.js meetup, ryan dahl giving talk about node. #ilovesf" -- mynyml. http://twitter.com/mynyml/status/24158684619 [02:23] _announcer: Twitter: "LAMP (Linux, Apache, MySQL, PHP) is the next NNNN (notWindows, NginX, NoSQL, Node.js) I guess. http://ow.ly/2CDjK # nodejs_jp" [ja] -- koichik. http://twitter.com/koichik/status/24158691032 [02:29] Aria has joined the channel [02:32] _announcer: Twitter: "At DogPatchLabs for a nodeJS hackers meetup" -- Johann Romefort. http://twitter.com/romefort/status/24159293475 [02:32] aho has joined the channel [02:33] _announcer: Twitter: "Node.js talk @DogpatchLabs SF @ Dogpatch Labs http://instagr.am/p/1c/" -- Bruce Robert Abbott. http://twitter.com/Abbott/status/24159369712 [02:33] bradleymeck: F U C++ RIIA [02:34] Anti-X: did they sue you? [02:35] bradleymeck: thats the RIAA, im talking resource instanciation is allocation, it was the c++ been hunting for 2 days [02:35] Anti-X: oh, wrong abbreviation [02:35] bradleymeck: anywho node-sfml pixel buffers are now working creationix1 [02:36] Anti-X: and it's not an abbreviation, it's an acronym. hah. in my face. [02:38] SvenDowideit has joined the channel [02:44] paulwe_ has joined the channel [02:50] _announcer: Twitter: "@romefort yup! That's the one thanks! Enjoy your nodejs meetup! May the v8 engine be with you :)" -- shunjie. http://twitter.com/shinchi/status/24160646775 [02:52] saikat has joined the channel [02:53] markwubben has joined the channel [02:55] _announcer: Twitter: "Palm WebOS Node.js に が 載る! Http://d.hatena.ne.jp/vwxyz/20100910/1284121010" [lt] -- yoko. http://twitter.com/yksk/status/24160958993 [03:07] dnolen_ has joined the channel [03:08] markwubben has joined the channel [03:16] _announcer: Twitter: "Socket.IO - "the jQuery of WebSocket". Hmm. Looks good for cross-browser streaming #node.js" -- Jonathan Lister. http://twitter.com/jayfresh/status/24162479093 [03:18] eisd has joined the channel [03:18] zapnap has joined the channel [03:18] _announcer: Twitter: "Oh boy, new node.js goodies: http://groups.google.com/group/nodejs/browse_thread/thread/c4fd50b99f1e50be#" -- Chris Strom. http://twitter.com/eee_c/status/24162656302 [03:19] SubStack: yay twitspam is back [03:20] jesusabdullah: Indeed [03:23] MikhX has joined the channel [03:29] c4milo1 has joined the channel [03:29] Me1000 has joined the channel [03:33] _announcer: Twitter: "Palm's webOS2.0: Java VM with changed from Node.js - Client-side scripting with Web Standards http://bit.ly/cDi6Is" [ja] -- Kunio Murasawa. http://twitter.com/m92o/status/24163693477 [03:33] _announcer: Twitter: "WOW!!! This is amazing: Detacheable UI using Node.js http://vimeo.com/14626831 /via@fczuardi" -- Jason Wicker. http://twitter.com/Logrythmik/status/24163697652 [03:34] Eber has joined the channel [03:36] _announcer: Twitter: "node.js if not pleased with. You have to grasp WebSocket. http://gihyo.jp/dev/feature/01/websocket/0001?page=2" [ja] -- jean. http://twitter.com/jean926/status/24163881597 [03:41] ajpiano has joined the channel [03:43] Eber: Does anyone here have any experience with Mongoose? I want to create a model, but I don't know how do define arrays... [03:44] Eber: Ow, I guess I found it at the docs :) Thanks anyway! [03:44] joshbuddy has joined the channel [03:45] Tim_Smart has joined the channel [03:47] guybrush: someone uses nave? how do you handle npm-modules with multiple node-installations? [03:47] bpadalino: so much node! [03:53] Anti-X has joined the channel [03:54] jacobolus has joined the channel [03:57] lachlanhardy has joined the channel [03:59] EyePulp has joined the channel [04:01] Anti-X has joined the channel [04:02] matschaffer has joined the channel [04:03] EyePulp_ has joined the channel [04:04] mtodd has joined the channel [04:10] Anti-X has joined the channel [04:10] _announcer: Twitter: "Friday night hacking with haproxy + nodejs + express + redis + couchdb + facebook connect + html5 canvas... Can it get any better? ;)" -- Sébastien. http://twitter.com/arnaudsj/status/24166147719 [04:18] _announcer: Twitter: "I hope the JavaVM WebOS2.0 Node.js stop now. The PalmPad 2011Q1 wait. Symbian ^ 3 is probably a goner." [ja] -- Gajananvihari. http://twitter.com/Gajananvihari/status/24166723571 [04:20] Eber: So, I'm trying to use Express here, and with render, if I want to use haml... Do I have to define or select the view engine before? Do I have to require it somehow? [04:21] EyePulp has joined the channel [04:26] ChrisPartridge has joined the channel [04:28] Eber: Guys... I'm totally new to node and express, I'm trying to put my head around it but I'm getting this error: http://pastie.org/1151550 [04:28] Eber: Could someone help me here? I'm trying to render it with haml... Let me paste my app... [04:29] Eber: Here is the code... http://pastie.org/1151551 I'm trying to follow this tutorial http://howtonode.org/express-mongodb but updating express and using Mongoose... [04:30] HAITI has joined the channel [04:31] ChrisPartridge: Eber: using npm? [04:31] marshall_law has joined the channel [04:32] Eber: ChrisPartridge: yep! [04:32] ChrisPartridge: npm install haml [04:33] Eber: ChrisPartridge: let me see if it works now... [04:33] Eber: ChrisPartridge: nothing happend... [04:33] ChrisPartridge: Eber: Did npm install haml work? [04:34] Eber: ChrisPartridge: apparently the package doesn't exist... [04:34] Eber: ChrisPartridge: or it is installed already... [04:35] jimmybaker has joined the channel [04:35] Eber: ChrisPartridge: here is the output I have: http://pastie.org/1151566 [04:37] marcostoledo has joined the channel [04:38] Eber: Maybe it's the file name... Or whatever... [04:39] ChrisPartridge: Eber:npm output looks fine, appears it still can't find it though.. [04:39] Eber: ChrisPartridge: if tha package didn't exist on the server, there would be an error message I guess... [04:39] Eber: I assume it's already installed... [04:42] Eber: ChrisPartridge: the correct package name is hamljs [04:42] ChrisPartridge: Eber: there is haml and hamljs [04:43] Eber: ChrisPartridge: weird... [04:43] ChrisPartridge: You have 'view engine' specified as haml, so it will require('haml') [04:44] Eber: ChrisPartridge: I added this line "app.register('.haml', require('haml-js'));" let's see if that works... [04:44] ChrisPartridge: Eber: check out /usr/local/lib/node/.npm/ [04:45] Eber: ChrisPartridge: Weird enough... It works with hamljs itself... I wish I didn't have to do this... [04:46] Eber: ChrisPartridge: I feel like something is wrong... Maybe its my npm or something... [04:46] ChrisPartridge: Eber: yeah, something seems strange - do you have a haml dir in /usr/local/lib/node/.npm ? [04:46] Me1000 has joined the channel [04:46] eisd: For child processes, to simulate the user pressing enter, I would just do process.stdin.write("foo\n"), right? [04:47] mu-hannibal has joined the channel [04:48] Eber: ChrisPartridge: Nope... [04:48] _announcer: Twitter: "4 things I want to study next: scala, erlang, Node.js & guitar .. incidentally .. I need to find a non-geek hobby" -- jeffrydegrande. http://twitter.com/jeffrydegrande/status/24168584559 [04:48] Eber: ChrisPartridge: But neither do I have ejs or jade... [04:51] _announcer: Twitter: "Run Node.js as a Service on Ubuntu Karmic http://bit.ly/9cMFQp" -- Delicious Over 50. http://twitter.com/delicious50/status/24168734283 [04:51] Eber: Well, I guess I would have to npm all of them... It's just that the docs never mention it... [04:51] mtodd has joined the channel [04:54] m64253 has joined the channel [04:55] Eber: ChrisPartridge: Thanks for the help mate :) I'll be back tomorrow =D Bye! [05:03] EyePulp has joined the channel [05:04] _announcer: Twitter: "@ericflo How do you know that you aren't actually a node.js program that's writing Python? #inception" -- Rob Hudson. http://twitter.com/robhudson/status/24169501884 [05:08] x_or has joined the channel [05:08] sudoer has joined the channel [05:10] x_or1 has joined the channel [05:11] saikat has joined the channel [05:17] _announcer: Twitter: "NodeJS syntax very eggs in pain. ." [zh-CN] -- Jerry Chen. http://twitter.com/starry_sky_/status/24170294482 [05:19] _announcer: Twitter: "Thanks everyone for coming to the node.js meetup. Had a really good time and met some great ppl!" -- Guillermo Rauch. http://twitter.com/rauchg/status/24170369224 [05:21] mirko_ has joined the channel [05:21] zomgbie has joined the channel [05:21] inimino: "NodeJS syntax very eggs in pain." <3 _announcer [05:22] jimmybaker has joined the channel [05:22] LowValueTarget has joined the channel [05:22] dohtem has joined the channel [05:22] dohtem has joined the channel [05:24] rodasc has joined the channel [05:24] abiraja has joined the channel [05:25] Tim_Smart: inimino: <3 the Chinese. [05:25] Tim_Smart: s/Chinese/Google Translate/ [05:25] amerine has joined the channel [05:25] _announcer: Twitter: "Note Tta node.js http://piratepad.net/node Now that you have a development environment" [ja] -- nati ueno. http://twitter.com/nati/status/24170719917 [05:26] LowValueTarget: anyone use socket.io over https? [05:26] polotek has joined the channel [05:28] SubStack: LowValueTarget: I tried but couldn't get it to work [05:28] SubStack: this was around 1 month ago [05:28] LowValueTarget: you get the location mismatch ws/wss BS SubStack? [05:29] SubStack: I didn't get anything. [05:29] _announcer: Twitter: "What I can do with NodeJS useful? I began map / reduce (mini-Hadoop), a master node gearman not (and create their workers), but I am not convinced." [es] -- César D. Rodas. http://twitter.com/crodas/status/24170918061 [05:29] LowValueTarget: i have it working perfect on http [05:29] LowValueTarget: but when i try and run it on https [05:29] LowValueTarget: i get location mistach ws://* != wss:/* [05:30] mikeal has joined the channel [05:31] SubStack: this is my try with dnode: http://github.com/substack/dnode/blob/master/examples/ssl/https.js [05:31] andrehjr` has joined the channel [05:36] _announcer: Twitter: "hey @heroku, your docs say @mongohq handles replication, theirs say it's in a limited beta. also, any ETA on Node.js support release?" -- James Home. http://twitter.com/jameshome/status/24171328318 [05:38] guybrush: i am trying to use multiple node-versions with the same modules installed with npm, this is how i do it http://gist.github.com/574872 - what do you think about this? [05:38] LowValueTarget: i get this message [05:38] LowValueTarget: Error during WebSocket handshake: location mismatch: ws://socket.domain.com:8999/socket.io/websocket != wss://socket.domain.com:8999/socket.io/websocket [05:39] LowValueTarget: using socket.io [05:39] LowValueTarget: any ideas? [05:48] polotek: guybrush: you could also just use ~/.node_libraries [05:48] polotek: that is always on the node path by default [05:48] polotek: set the npm root to there and you willl have no problems [05:48] polotek: don't need the alias [05:48] guybrush: ah cool, didnt know that - ty [05:51] bpot has joined the channel [05:51] mies has joined the channel [05:55] HendrikB has joined the channel [05:58] overra_ has joined the channel [05:59] x_or has joined the channel [06:00] dgathright_ has joined the channel [06:07] aaronblohowiak has joined the channel [06:08] aaronblohowiak: ryah: how come ChildProcess doesn't have detach [06:12] SubStack: aaronblohowiak: because SIG_IGN isn't exposed [06:12] SubStack: http://github.com/ry/node/issues/issue/265 [06:14] lachlanhardy has joined the channel [06:14] aaronblohowiak: ACTION bows before substack [06:15] aaronblohowiak: SubStack: I was thinking about traverse on the train ride to work today. Is it safe to use in browser? [06:15] SubStack: upboat the issue if you think it's important ;) [06:16] mitkok has joined the channel [06:16] SubStack: aaronblohowiak: it should be [06:17] SubStack: require('traverse/web').sourcE() [06:17] SubStack: *source [06:17] SubStack: note: not tested in IE [06:17] SubStack: since I only have this linux laptop [06:17] aaronblohowiak: SubStack: i wish i knew more about nix programming. I think i could get around this by writing a bash script that will kick off the process and return immediately [06:17] SubStack: which is part of the reason why I'm building stackvm [06:17] aaronblohowiak: SubStack: that is the ultimate yak shave [06:18] SubStack: I know right? [06:18] SubStack: it works though [06:18] SubStack: seemingly [06:18] SubStack: I've been thinking about better ways to do this [06:18] SubStack: but haven't come up with much [06:19] SubStack: aaronblohowiak: oh but what do you mean by "yak shave": does this shave your yaktastic code or was this statement directed at the module itself? [06:20] aaronblohowiak: SubStack: building StackVM in order to test a library in ie [06:20] SubStack: oh hah [06:20] aaronblohowiak: SubStack: http://www.catb.org/~esr/jargon/html/Y/yak-shaving.html [06:20] SubStack: yeah, totally [06:20] aaronblohowiak: SubStack: are you using UML ? [06:21] SubStack: why would I ever use such an abomination? [06:21] aaronblohowiak: (did we already have this convo? i seem to slightly remember something like that) [06:21] SubStack: I have not had a conversation such as this. [06:22] aaronblohowiak: is it an abomination? it sounds like a differnt form of jail or chroot, but i havent looked into its implementation [06:22] aaronblohowiak: SubStack: user mode linux, not the diagram thing [06:22] SubStack: oh hah [06:22] SubStack: i was thinking the diagram [06:22] SubStack: stackvm is just using qemu for now mostly [06:23] SubStack: that backend stuff doesn't matter much at this stage [06:23] aaronblohowiak: :) okie!! [06:25] SubStack: which is pretty much the opposite attitude from every other vm project I think [06:25] aaronblohowiak: SubStack: being different is more important than being "better" along the metric that the crowd is using [06:26] aaronblohowiak: SubStack: besides, when you get bought by vmware, they'll change your backend anyway [06:26] aaronblohowiak: ;) [06:27] LowValueTarget: sweet got socket.io working with node.js [06:27] LowValueTarget: over https [06:28] _announcer: Twitter: "crap, missed the node.js meetup in soma tonight. organize through twitter, not google groups and facebook, wtf? ha" -- technowürst. http://twitter.com/technoweenie/status/24173928026 [06:28] SubStack: I would rather get bought by amazon [06:29] SubStack: they'd put this tech to good use [06:29] ph^ has joined the channel [06:29] aaronblohowiak: SubStack: the vnc code alone is nifty. [06:30] adambeynon has joined the channel [06:31] aaronblohowiak: SubStack: holy crap. sharing the vm? this is like the ultimate screen session [06:32] SubStack: pretty much [06:32] SubStack: there are a few other startups with tech like ours [06:33] SubStack: but it's all shitty browser plugins [06:33] SubStack: and java applets [06:33] SubStack: at least it shows that there's money in it [06:35] path[l] has joined the channel [06:35] x_or1 has joined the channel [06:39] qFox has joined the channel [06:40] SubStack: aaronblohowiak: oh also as soon as the overhaul branch gets merged into master I'll npm publish ^_^ [06:40] sudoer has joined the channel [06:40] aaronblohowiak: SubStack: of which library =) [06:40] SubStack: stackvm proper [06:43] SubStack: I'm thinking we can do a custom npm registry for software updates too [06:43] muk_mb has left the channel [06:43] EyePulp has joined the channel [06:43] mirko_ has joined the channel [06:44] SubStack: separate by default for better version stability but you'll be able to link them too [06:45] SubStack: yay npm is mit/x11 [06:45] googol has joined the channel [06:45] derferman has joined the channel [06:46] aaronblohowiak: ooooh [06:47] _announcer: Twitter: "http://tinyurl.com/2b8oyz6 Meet Node.js | PeepCode Screencasts for Web Developers and Alpha Geeks" -- desk_stage. http://twitter.com/desk_stage/status/24174794991 [06:52] _announcer: Twitter: "attended node.js meetup in soma tonight. great overview of some current projects! Node.JS Socket.IO Mongoose" -- Mirko Buholzer. http://twitter.com/mirkobuholzer/status/24175012846 [06:53] technoweenie has joined the channel [06:55] _announcer: Twitter: "@fritzy I've got a stupid/awesome idea for an app/experiment that I want to build using websockets and node.js Need more time in the day ;)" -- Henrik Joreteg. http://twitter.com/HenrikJoreteg/status/24175150324 [06:57] _announcer: Twitter: "Oh btw, nodejs http://codebetter.com/blogs/matthew.podwysocki/archive/2010/09/07/getting-started-with-node-js-on-windows.aspx # # windows" [fil] -- Peter van der Zee. http://twitter.com/kuvos/status/24175247438 [06:57] Tim_Smart has joined the channel [07:00] saikat has joined the channel [07:00] eisd has left the channel [07:00] SamuraiJack has joined the channel [07:02] jakehow has joined the channel [07:04] SubStack: surveying templating engines now [07:08] Nohryb has joined the channel [07:11] mitkok has joined the channel [07:13] jetienne has joined the channel [07:14] Tim_Smart has joined the channel [07:15] HAITI: substack: Mustache!! [07:15] HAITI: =) [07:15] SubStack: I'll check it out [07:15] HAITI: its sexy [07:15] benburkert has joined the channel [07:15] hayeah has joined the channel [07:17] SubStack: HAITI: is it the same as Mu? [07:19] _announcer: Twitter: "@rMorrxo Well if you going to start learning a server-side language I recommend node.js, It's super fast and supports the new HTML5 stuff." -- JaredXD. http://twitter.com/jaredxd/status/24176258954 [07:20] SubStack: beh logic-less templates [07:21] SubStack: it'd be neat to have a templating engine that only did expressions, not statements [07:23] SubStack: or at least, every code block is fully isolated from every other block so side-effects are completely boxed [07:23] jetienne: "nodejs is support html5 stuff" :) [07:23] _announcer: Twitter: "node.js good! ! Web apps are so quick to write event-" [ja] -- nati ueno. http://twitter.com/nati/status/24176448466 [07:23] SubStack: I will survey all of these templating engines though [07:27] _announcer: Twitter: "node-cloudservers: Node.js Meets Rackspace Cloud http://bit.ly/9V71VV cc: @scobleizer" -- Johann Romefort. http://twitter.com/romefort/status/24176640885 [07:28] aaronblohowiak: SubStack: you should report back when you have picked The Winner [07:28] MrTopf has joined the channel [07:28] _announcer: Twitter: "It's not unusual for node.js Cloud" [ja] -- nati ueno. http://twitter.com/nati/status/24176679271 [07:29] V1 has joined the channel [07:29] SubStack: aaronblohowiak: can do [07:29] aaronblohowiak: ty [07:30] vhost- has joined the channel [07:31] aaronblohowiak: what is a terse way to say "if you have subscribed to a channel-glob, then you should receive a message when a channel whose name is your prefix with more content has a message sent to it" [07:31] _announcer: Twitter: "Bjr a tous, program today: race, mow the lawn (and it is again green # Britain), test Touran TDI / DSG, node.js bench!" [fr] -- Vincent RABAH. http://twitter.com/itwars/status/24176819148 [07:31] aaronblohowiak: i got it down to: "a wildcard subscription should recieve messages from more verbose channels" [07:32] aaronblohowiak: but that is not quite accurate [07:33] Utkarsh has joined the channel [07:33] _announcer: Twitter: "Watching node.js screencast by PeepCode." -- Ilya Sabanin. http://twitter.com/isabanin/status/24176887135 [07:35] SubStack: subscribe to a channel glob to get messages matching your prefix [07:36] aaronblohowiak: :-) [07:37] kaichen has joined the channel [07:38] dipser has joined the channel [07:42] JimBastard has joined the channel [07:42] themiddleman has joined the channel [07:42] JimBastard: hrmm connect died again [07:43] saikat: JimBastard: are you using compression by any chance [07:43] saikat: er, the gzip module [07:43] JimBastard: i think so [07:43] saikat: that thing leaks memory like crazy currently [07:43] JimBastard: its in a hosted app, our blog [07:43] JimBastard: word [07:43] JimBastard: we've been seeing a mem leak.... [07:43] saikat: JimBastard://github.com/egorich239/node-compress/issues#issue/3 [07:43] saikat: er [07:43] saikat: http://github.com/egorich239/node-compress/issues#issue/3 [07:44] JimBastard: but it just crashed out, i gotta check log and see what happened [07:44] JimBastard: our current logging sucks [07:45] aaronblohowiak: JimBastard:// is a new protocol. it uses lots of kola nuts and pringles [07:45] saikat: judging from how much JimBastard talks in this channel, he may just be the new IRC protocol [07:45] JimBastard: lol.. [07:45] saikat: all our messages simply route through him [07:45] fyskij has joined the channel [07:45] JimBastard: i gotta find this fuggin error [07:46] lachlanhardy has joined the channel [07:47] V1: less chatting more hacking [07:48] mikew3c_ has joined the channel [07:48] aaronblohowiak: V1: bcdea6b..3d093f8 master -> master [07:48] V1: o__0 okay [07:49] felixge has joined the channel [07:49] felixge has joined the channel [07:50] SubStack: so far nun is winning despite the broken engish on its readme [07:50] aaronblohowiak: i have 100% test coverage now... of course, it only counts the LOC for the files that are 'require'd =/ [07:51] SubStack: what does 100% test coverage mean? [07:52] aaronblohowiak: SubStack: every loc is touched. of course this is not every permissable code path =( [07:52] SubStack: tests... touch lines of code? [07:52] saikat has joined the channel [07:52] aaronblohowiak: SubStack: with their noodly appendages [07:53] aaronblohowiak: SubStack: expresso has a code coverage tool that it includes. it is beautiful [07:53] _announcer: Twitter: "Lamp was yesterday. Today is with> T. CouchDB #, # Unix Nodejs # => # Thrill" [gl] -- Jan-Piet Mens. http://twitter.com/jpmens/status/24177771430 [07:53] SubStack: I see. [07:53] SubStack: I haven't bothered with that sort of stuff yet. [07:53] SubStack: I am already using expresso though [07:54] saikat_ has joined the channel [07:54] aaronblohowiak: SubStack: oh. then you are a couple commands away from having code coverage stats [07:54] JimBastard: fucking 120 meg log file [07:54] gerred has joined the channel [07:58] ashleydev has joined the channel [07:58] ivan has joined the channel [07:58] Utkarsh has joined the channel [07:59] jjcm has joined the channel [07:59] _announcer: Twitter: "Cleaning up my #nodejs XML-RPC client to send to #github soon." -- Tomas Heran. http://twitter.com/tomasheran/status/24178032883 [07:59] adinardi has joined the channel [07:59] Sutto has joined the channel [08:00] _announcer: Twitter: "choosing what tech to learn for a side project built around mass-voting. @couchdb vs @mongodb (w node.js?) ...or is there something better?" -- Andrew Cove. http://twitter.com/andrewacove/status/24178078882 [08:00] V1: The Russian Federation seems to digg nodejs: http://www.google.com/trends?q=nodejs&ctab=0&geo=all&date=all&sort=0 [08:00] V1: ;D [08:01] JimBastard: 1. San Francisco, CA, USA [08:01] V1: After that moscow [08:01] aaronblohowiak: V1: many people put in the period http://www.google.com/trends?q=node.js&ctab=0&geo=all&date=all&sort=0 [08:01] V1: if you compare the 2: http://www.google.com/trends?q=node.js,+nodejs&ctab=0&geo=all&date=all&sort=0 [08:02] V1: anyways fun stuff [08:02] aaronblohowiak: san francicans prefer the period, new yorkers cant be bothered [08:04] gerred: any nodejitsu guys online? [08:04] aaronblohowiak: gerred: JimBastard [08:04] JimBastard: yo [08:04] JimBastard: i didnt do it [08:04] aaronblohowiak: ACTION destroys the evidence [08:04] JimBastard: lol [08:04] JimBastard: im battling with production and Connect right now [08:04] JimBastard: Connect seems to be randomly becoming unresponsive on this one app [08:04] JimBastard: >.< [08:04] gerred: oh hey. [08:05] gerred: so when can I start hosting my node apps with you guys? ;) [08:05] JimBastard: soon! [08:05] JimBastard: zomg [08:05] JimBastard: did you sign up? [08:05] gerred: yep. [08:05] JimBastard: i think im gonna do a blast email in a couple of days [08:05] JimBastard: gotta figure out what everyone needs [08:05] gerred: well i should be i might as well make sure. [08:05] JimBastard: database / file system / etc [08:05] aaronblohowiak: JimBastard: are you going to proxy websockets? [08:06] JimBastard: aaronblohowiak: we are gonna pretty much do anything that a client requests, within reason [08:06] gerred: honestly I'm just using my node.js apps to push data back and forth, any DB stuff is handled by my actual app. [08:06] JimBastard: as long as it doesnt cost a million dollars [08:06] aaronblohowiak: :p [08:06] JimBastard: gerred: yeah, awesome [08:06] JimBastard: gerred: so you wouldnt want your DB hosted? [08:06] gerred: so my stuff is mostly CPU. [08:06] aaronblohowiak: JimBastard: are you trying to be more like EY or more like Heroku? [08:06] gerred: nah, it's hosted on my ruby side. [08:06] JimBastard: aaronblohowiak: im not really happy with either of those to be honest [08:07] aaronblohowiak: JimBastard: me neither. [08:07] gerred: my philosophy for node.js best practices is node should really only be handling I/O, and leave the logic to other apps. ;) [08:07] JimBastard: gerred: yeah that would be perfect, we scale application servers and database servers diffirently [08:07] SubStack: ok ejs is now winning the template search [08:07] JimBastard: if you have a production ready app you want deployed we can try to get it up [08:07] JimBastard: we have a deployment api, just not public [08:07] JimBastard: yet... [08:08] gerred: i should have a few production ready ones in the coming days [08:08] JimBastard: just drop me a line, we can get you going [08:08] SubStack: ejs has pipes \m/ [08:08] gerred: okay cool. [08:08] JimBastard: i'm gonna try to see if we can get some free community hosting for people too [08:08] JimBastard: if anyone needs a community project thing hosted [08:08] JimBastard: meetup groups / etc [08:08] MrTopf has joined the channel [08:09] gerred: i'm gonna try to get a node group going here in denver. [08:09] gerred: send me a mention on twitter though if I don't get in touch with you before you guys officially launch: @gerredb [08:09] FuzzYspo0N has joined the channel [08:09] gerred: and i'll speed it up. ;) [08:09] JimBastard: gerred: did you sign up? [08:09] JimBastard: you will get email [08:09] gerred: oh wait [08:09] gerred: yeah [08:09] gerred: i will. [08:09] gerred: you're right. [08:12] codysoyland has joined the channel [08:12] _announcer: Twitter: "nodejs is real cool (shameless ads to show low latency of twitter to my gf)" -- Jerome Etienne. http://twitter.com/jerome_etienne/status/24178610755 [08:16] V1: Does anybody here know how to move one github repo to another github account? [08:16] JimBastard: hrmmm error message is not be had [08:16] JimBastard: dammit [08:16] gerred: V1, can you just ofrk it? [08:16] V1: Not forking, moving [08:17] V1: I want repo x from account y to moved to account z so it will only have repo x [08:17] JimBastard: this is kinda borked. maybe i should add something to broodmother that will force an app to restart if it stops responding to http requests. would have to be careful with that one [08:19] aaronblohowiak: V1: #github [08:19] aaronblohowiak: V1: http://help.github.com/moving-a-repo/ you do the fork, then you email support [08:20] V1: aaronblohowiak: Thanks for the headsup [08:20] V1: I was googling for a while now but couldn't find it o_o [08:20] jetienne: #git is quite helpfull too [08:21] aaronblohowiak: ACTION wants a way to have the computer slap him if a file is gt 150 lines [08:23] _announcer: Twitter: "Node.js - Windows API programming experience and had developed a very friendly approach if the approach can be. :) The horse in front of front-end developers can not even eat bread, it could mean" [ko] -- Rhio.kim. http://twitter.com/Rhiokim/status/24179067395 [08:24] jetienne: inotifywait + wc -l + echo \a :) [08:24] aaronblohowiak: :-) [08:25] gerred: we actually just had a guy apply for my firm [08:25] gerred: who submitted a code sample [08:25] gerred: that was a 4000 line controller. [08:25] gerred: unbelievable. [08:26] aaronblohowiak: gerred: this is my unholy code sample of choice: http://github.com/aaronblohowiak/inspector_gadget [08:26] JimBastard: gerred: you dont understand, it does anything you'd ever need [08:26] SubStack: aaronblohowiak: ejs wins the template search [08:27] gerred: hm, cool. [08:27] aaronblohowiak: SubStack: sweet, thanks. [08:27] aaronblohowiak: gerred: yea, dont try that with rails. it will make your machine cry [08:27] gerred: JimBastard: it really did. he had no idea the inner workings of rails or any of its modules [08:27] gerred: in fact [08:27] gerred: he made rails look like php [08:27] gerred: which is a feat [08:32] _announcer: Twitter: "After a survey of node.js template engines, ejs, I choose you! It has pipes! http://github.com/visionmedia/ejs" -- James Halliday. http://twitter.com/substack/status/24179449571 [08:33] SubStack: for future reference [08:34] Anti-X has joined the channel [08:34] _announcer: Twitter: "@miksago Really though, I just think we should all try to be as noob friendly as possible. more ppl on #nodejs = better for everyone :)" -- Daniel Erickson. http://twitter.com/TechWraith/status/24179554323 [08:36] SubStack: whatever "noob friendly" means [08:37] SubStack: I think one of the biggest benefits for new users is that in node apps the entrypoints are obvious [08:37] JimBastard: clicky click draggy drag [08:40] V1: It's fun to see all the people who have already signed up for http://speedo.no.de/ [08:41] V1: There are even some high profile people there [08:41] overra_: nice :) [08:42] V1: And the best thing.. 0% IE users :D [08:42] jetienne: V1: it is offline ? not connecting from here [08:43] V1: hmz.. jetienne No clue lemme see if can reach it [08:43] overra_: same [08:43] V1: oh noes. [08:43] V1: ACTION hits the panic button [08:43] overra_: :o [08:43] mape: jup not working [08:43] V1: it just take along time to load [08:44] V1: working agian :p [08:44] V1: ACTION strokes the reboot button [08:45] V1: I have no clue why it keeps crashing like that [08:45] V1: There's nothing "usefull" in the logs either [08:45] jetienne: V1: i dont get the demo... arrows are highlighted and grey... but where is the heatmap ? [08:48] aaronblohowiak: jetienne: open *another* window and start clicking [08:48] _announcer: Twitter: "Russia first? http://google.com/trends?q=nodejs # nodejs # Russia # pervyynah" [ru] -- Kirill Nikitin. http://twitter.com/Locke23rus/status/24180120941 [08:48] V1: jetienne: I still to to build in some check if there are other users on the site, if not i need to simulate some active users :9 [08:48] MrTopf has joined the channel [08:49] aaronblohowiak: V1: astro-turf ! [08:49] jetienne: V1: this is not noob friendly, the demo is too complex. it is hard to understand what should happen. try to make it as 3 simple steps [08:49] mape: V1: the heatman isn't that usefull on centered sites since the heatmap is offset? [08:49] jetienne: aaronblohowiak: i did. and nothing special happen, what should i see ? [08:50] V1: mape: If you resize your browser the clicks will still be on the same location [08:50] mape: V1: yeah but if I have 200 users and they all have different sized screens it still won't match up? [08:51] freeall has joined the channel [08:51] V1: mape: the screensizes are send with the request and normalized in the render module so they are all on the same location [08:51] aaronblohowiak: jetienne: what browser? [08:51] hellp has joined the channel [08:51] mape: V1: Hmm k doesn't seem to work here [08:51] jetienne: V1: and this konami code stuff is not culture friendly, i had to google it. - jkust feedback [08:51] jetienne: aaronblohowiak: chrome/linux [08:51] mape: jetienne: The konami code is right there? [08:52] V1: jetienne: Yeah thanks, the konami code is actually on the demo page. And in the next update users can actually use they own key press sequence. I made it configurable [08:52] V1: mape: how is not working for you than? [08:52] jetienne: mape: no idea. This is the first time i heard about the word. and a rapid search tells me it is related to asian writing [08:52] mape: V1: The heatmap shows the clicks on different locations from where I clicked on my other window [08:53] ph^ has joined the channel [08:53] V1: mape: I will check it out again, but we are still running it live on http://www.hotels.nl and the clicks seems to be there all spot on. And that is centered layout [08:54] aaronblohowiak: requiring rapid or socket.io means that my tests never finish =/ [08:55] bpot has joined the channel [08:55] aliem has joined the channel [08:59] V1: jetienne: If you have a better idea of activating a interface on website through third party code, I'm open to suggestions :) [09:00] jetienne: V1: currently i dont understand what it is supposed to do, so hard for me to suggest an alternative. but this demo page would be improved if you make it simple steps [09:00] mape: V1: squarespace just uses Esc [09:00] jetienne: V1: long non culturefree text is no good for demo. people coming wont spend more than 30sec if they dont get it immediatly [09:01] jetienne: V1: apparently there is another window to open, open it for me for example [09:01] jetienne: V1: put big buttons in there, not long texts, "show, dont tell" kinda [09:02] jetienne: feedback here, my pages are no good :) [09:03] V1: mape: I didn't know that but I think the Esc key is a bit to general [09:04] V1: jetienne: Thanks for the feedback [09:04] ahc has joined the channel [09:08] Locke23rus has joined the channel [09:08] SubStack: ACTION wonders how hard it is to plug nstore into connect session middleware [09:08] V1: jetienne: I could probably just add another button to the demo page with "skip konamicode" and toggle the interface right away [09:08] SubStack: looks like I can just extend the store prototype [09:09] SubStack: and then just this.set = db.save probably [09:09] robotarmy has joined the channel [09:09] SubStack: aha, there is already nstore-session [09:09] V1: i was about to say that [09:10] V1: and there a really easy wrapper API to create your own storage [09:10] V1: for the connect session [09:10] jetienne: V1: what is the purpose of this "konamicode" [09:11] V1: jetienne: It used to toggle interface that is used to track the heat map clicks and other options [09:11] jetienne: V1: so it is like a weirdo captcha ? [09:12] V1: jetienne: So you don't have to go a separate page to just view the interactivity on your own site. I can just be done directly on your page [09:12] nofxx1 has joined the channel [09:12] _announcer: Twitter: "Interesting article: #NodeJS + @MongoDB = http://j.mp/Scrabbly, multiplayer online Scrabble" -- Phillip B Oldham. http://twitter.com/digitala/status/24181144847 [09:12] nofxx1 has left the channel [09:12] V1: jetienne: Yes to "regular" users don't accidentally toggle the interface [09:13] SubStack: nstore-session isn't on npm -_- [09:13] HAITI has left the channel [09:13] jetienne: V1: "useless barrier to entry" is the word coming to my mind [09:13] jetienne: ACTION is fleeing his /dev/random linux issues [09:14] _announcer: Twitter: "Interesting article: #NodeJS + @MongoDB = http://j.mp/Scrabbly, multiplayer online Scrabble making great use of Mongo's geospacial indexing" -- Phillip B Oldham. http://twitter.com/digitala/status/24181217880 [09:14] V1: jetienne: It was the best think I could come up with in 48 hours [09:14] V1: but i'm open for better and simpler suggestions [09:15] jetienne: V1: ah yep i understand the time limit. not complaining or telling "i would do better". just making suggestions if you are going on this project [09:15] Utkarsh has joined the channel [09:16] HAITI has joined the channel [09:18] V1: jetienne: I'm certainly going on with the project. But you are right that I should make the interface activation more simple [09:19] V1: maybe somethink like ctrl+ I would work [09:19] _announcer: Twitter: "@gazraa @jamescreedy surely you've got to be powered by node.js. jQuery helps things look pretty, but only goes skin deep." -- Tom McMillen. http://twitter.com/cymantic/status/24181451346 [09:20] V1: but than again like mape stated the Esc would probably work just as good [09:21] V1: But that would mean you cant use Squarespace and my service together. [09:21] _announcer: Twitter: "Foenu? Enfour? QT @ koichik: LAMP (Linux, Apache, MySQL, PHP) is the next NNNN (notWindows, NginX, NoSQL, Node.js) I guess. http://ow.ly/2CDjK # nodejs_jp" [ja] -- ヨゴレクルー. http://twitter.com/ygr96/status/24181528482 [09:24] stephank` has joined the channel [09:28] Sutto has joined the channel [09:28] adinardi has joined the channel [09:29] ashleydev has joined the channel [09:29] jjcm has joined the channel [09:29] nuwah has joined the channel [09:29] _announcer: Twitter: "Asynchronous JavaScript #nodejs http://icio.us/3ynhkl" -- Mauro De Giorgi. http://twitter.com/mdgArt/status/24181872829 [09:30] lachlanhardy has joined the channel [09:31] ivan has joined the channel [09:38] ngw has joined the channel [09:40] John9e9 has joined the channel [09:42] kjeldahl has joined the channel [09:44] ChrisPartridge has joined the channel [09:50] HAITI: b Ωx n L.,K.L÷…" [09:50] zemanel has joined the channel [09:52] mirko_ has joined the channel [09:53] _announcer: Twitter: "Is node.js really used in production applications? If so, what kind? We use it for a small internal app but hasn't really caught on yet." -- birchsport. http://twitter.com/birchsport/status/24182843889 [09:54] SubStack: why does it matter if node is used in production environments? [09:55] SubStack: people are such sheep [09:55] _announcer: Twitter: "webOS2.0 after adding node.js, node should begin to stabilize it." [zh-CN] -- ioNull. http://twitter.com/ioNull/status/24182922530 [09:56] V1: We use it in production :) [09:57] V1: There are allot of people using it in production [09:57] V1: But indeed who gives a fuck [09:58] sveimac has joined the channel [10:01] V1: wow github is amazingly fast in support. They already moved my complete github repo o_o [10:03] SubStack: I want to manage support for my company through an irc bot [10:06] sveisvei has joined the channel [10:08] JimBastard: is there a word for when you are too scared to go to sleep because you are afraid production might go down? [10:08] JimBastard: if not, there should be [10:09] SubStack: JimBastard: same here :/ [10:09] JimBastard: lol [10:09] JimBastard: i blame Connect [10:09] JimBastard: ive been blaming indexzero for a few days, figured it was time to change it up [10:09] SubStack: I just figured out how to go about solving a big chunk of the stuff in my queue [10:09] SubStack: but I'm too tired right now to actually do it [10:09] JimBastard: working on stackvm stuff? [10:09] SubStack: yep [10:09] JimBastard: awesome [10:10] JimBastard: you guys trying to get funding at all? [10:10] SubStack: yes [10:11] JimBastard: word [10:12] SubStack: most of the rest of this stuff is just hum-drum sessions and cookies and such [10:12] SubStack: we've already solved all the interesting problems [10:12] JimBastard: yeah, im building client site now [10:12] JimBastard: but at least jquery is kinda fun [10:12] FuzzYspo0N has left the channel [10:13] mirko_ has joined the channel [10:14] SubStack: it's somewhat insane that we pass image data over a json protocol [10:14] SubStack: but empirically it works really well [10:15] jetienne: websocket allows binary no ? [10:15] JimBastard: theres always bert, or something >.< [10:15] SubStack: meh [10:15] SubStack: dnode \o/ [10:15] bradleymeck: dum dee doh [10:15] JimBastard: SubStack: did you see indexzero's solution for running node code remotely on a machine? [10:16] JimBastard: its pretty lulz [10:16] SubStack: I probably didn't. [10:16] JimBastard: http://blog.nodejitsu.com/nodejs-cloud-server-in-three-minutes [10:16] JimBastard: http://blog.nodejitsu.com/nodejs-cloud-server-in-three-minutes/ssh.js [10:16] JimBastard: too funny [10:17] JimBastard: just piping over ssh, not very effective, but does bootstrapping [10:19] SubStack: I've done worse. [10:20] SubStack: one time I wrote a module to query a mysql database by wrapping around the mysql command line tool [10:20] digitalspaghetti has joined the channel [10:20] JimBastard: ahaha [10:20] SubStack: at the time it seemed necessary [10:21] JimBastard: one time i wrote a web app that used ms access [10:21] bradleymeck: you guys think requiring someone to install libsndlib, openal, and sfml is too much for an sfml binding? [10:21] JimBastard: bradleymeck: depends on how painful the install is right? [10:21] SubStack: just put a line at the top of the readme with what they have to apt-get install [10:22] SubStack: for copy-pastery [10:22] bradleymeck: true, the installs are pretty easy, might be automatically doable except sfml [10:22] SubStack: delicious copy pastries [10:22] JimBastard: woah, copy pastries [10:22] JimBastard: dessert after copy pasta [10:22] aaronblohowiak: zomg. i want some [10:29] bradleymeck: anyone on a mac out there give me its uname? [10:32] aaronblohowiak: Darwin [10:33] JimBastard: which is better, lots and lots of if statements, or a switch case [10:33] Anti-X: associative array [10:33] JimBastard: shoot the hostage [10:34] SubStack: agree, ifs and switches suck [10:34] SubStack: hah [10:34] JimBastard: wait, aa, what? [10:35] Anti-X: var options = {'one': function(x) {lick the toad}, 'two': function(x) {eat the beetle}}; options[value] ? options[value](x) : ur rong!; [10:36] SubStack: a hash [10:36] mape: Hmm got OCR working though gyazo->node->tesseract [10:36] Anti-X: associative array. [10:36] SubStack: -_- [10:36] mape: but tesseract is awfull for ordinary text on websites :S [10:36] SubStack: only php programmers call them that [10:36] bradleymeck: jimbastard string based switch [10:36] Anti-X: I CALL THEM THAT. That's all you need to know. [10:36] JimBastard: bradleymeck: ya? thats what im going for [10:36] JimBastard: its like the routing table in this state machine [10:37] JimBastard: so each case is a string state [10:37] bradleymeck: sting based switch is a real jump table, number based is not in v8 [10:37] JimBastard: nice [10:38] SubStack: I hate switches [10:38] bradleymeck: mape ocropus? [10:38] SubStack: so much [10:38] SubStack: they ugly [10:38] bradleymeck: i love switches! fallthrough saves me cpu [10:38] mape: bradleymeck: yeah looked at it, seems to be a pita to get running though [10:38] bradleymeck: mape it is, its on the list, sfml then ffi then oniguruma then ocropus [10:38] bradleymeck: getting help on it is even worse [10:38] SubStack: bradleymeck: the compiler should be optimizing away that kind of stuff, not the programmer [10:38] mape: :/ [10:39] SubStack: and anyways, when is a switch statement a bottleneck? [10:40] SubStack: you could probably just loop over an array several times and not even be able to detect a difference [10:40] bradleymeck: compiling away switch(protocol) {case "https:": usesecure=true;case "http:": http.createClient... would be brutal to optimize on the compiler side using ifs, and i do mean brutal. plus it makes coding that easier on my eyes [10:41] JimBastard: bradleymeck: can i jump into cases from other cases? [10:41] paulwe has joined the channel [10:41] bradleymeck: no :( I wish [10:41] JimBastard: ahahaha, is that what you always talk about? [10:41] bradleymeck: yes [10:41] JimBastard: i think i finally get it [10:41] JimBastard: fuuuck [10:41] JimBastard: that would be epic [10:41] bradleymeck: i dont want goto anywhere else [10:41] JimBastard: just inside switch case [10:41] JimBastard: yeah [10:41] SubStack: special syntax for case/break is icky [10:42] JimBastard: im gonna have to wrap everything in methods, the switch / case breaks closure [10:42] bradleymeck: its sugar for real labels and breakable blocks, heh [10:42] JimBastard: needs a named method inside [10:42] JimBastard: meeeeh [10:42] mirko_ has joined the channel [10:43] bradleymeck: also, how is case special? its unique in use? like continue,break [10:43] JimBastard: yeah, i gotta go back to if statements [10:43] JimBastard: i can just overwrite the "state" variable, and it could pass further down conditionals [10:43] JimBastard: should be sufficient for now [10:46] FuzzYspo0N has joined the channel [10:56] JimBastard: AHHH [10:56] JimBastard: Connect did it again [10:57] JimBastard: TRACING [10:57] JimBastard: dammit [10:57] JimBastard: no fucking error [10:57] JimBastard: errrrrrr [10:58] JimBastard: well [10:58] JimBastard: i think the lesson here...is that just because the app is running, doesnt mean its fucking responding to requests [10:58] JimBastard: >><< [10:59] mape: JimBastard: that is what I had with bladderblock [10:59] JimBastard: thats really annoying, i wonder why this started happening. it wasnt happening before we update the http-proxy [10:59] mape: JimBastard: if you curl the url does it return the html? [10:59] JimBastard: mape: i dunno, i restarted app already [10:59] JimBastard: i can test next time >.< [10:59] mape: k [10:59] JimBastard: mape: did you ever find a solution? or a cause? [10:59] mape: Couldn't find the issue either [10:59] JimBastard: so how did you solve it? [11:00] mape: Just know I got websocket server errors at the same time [11:00] mape: restarting it every couple hours [11:00] mape: messed up my sleep :P [11:00] digitalsanctum has joined the channel [11:00] JimBastard: fucking shit [11:00] MrTopf has joined the channel [11:00] bradleymeck: mape, every 2 hrs? [11:00] JimBastard: i guess ill try and bug tj or tim tommorow [11:01] JimBastard: i have our blog running on wheat [11:01] mape: bradleymeck: nah now it has been working for days [11:01] JimBastard: i think ill just implement a static cache asap [11:01] JimBastard: and only run wheat once on start up [11:01] Utkarsh has joined the channel [11:01] JimBastard: (wheat runs on connect) [11:01] mape: but during the noKO peak it was often, when a lot of people used it it started breaking [11:02] JimBastard: i was holding 300 concurrent for a while on the blog the other day. but it seems to be sporadically breaking now [11:03] JimBastard: maybe Connect update [11:03] JimBastard: without error message or test, its like uhhh [11:03] JimBastard: fuck [11:04] JimBastard: mape: did you file an issue on http://github.com/senchalabs/connect/issues/ [11:04] JimBastard: ? [11:04] mape: JimBastard: no I couldn't single out that it was Connect [11:05] mape: But think I spoke to them about it [11:05] JimBastard: i like, swore i saw a connect error message the other night, but nothing now [11:05] JimBastard: just stops responding [11:05] JimBastard: im pretty sure its in there [11:05] mape: I don't know how to reproduce it, and get no errors [11:05] JimBastard: since the rest of the stack does fine [11:05] JimBastard: yeah [11:05] mape: So not a lot to go on [11:05] JimBastard: okay thanks [11:09] V1: I also have issues with not responding apps, and i'm also use connect... [11:09] V1: So It might indeed be connect related. [11:10] V1: Like today when speedo supposed to be down.. Node was just still running but nothing was happening [11:10] zorzar has joined the channel [11:10] okuryu has joined the channel [11:11] JimBastard: fucking gitub issues, just lost my whole thing [11:11] JimBastard: stupid ajax [11:12] mape: JimBastard: V1 had the issue on the local box? Or just on no.de? [11:12] V1: no.de [11:12] mape: V1: And possible to reproduce? [11:12] V1: mape: I haven't been able to reproduce it, it totally random [11:13] mape: k [11:13] V1: and nothing in the logs [11:14] JimBastard: V1: http://github.com/senchalabs/connect/issues/issue/103 [11:15] JimBastard: has anyone written an http-cache for node.js yet? [11:18] V1: JimBastard: thakns [11:18] V1: thanks( [11:18] V1: fffs fat fingers... Thanks* [11:18] JimBastard: ahaha [11:18] JimBastard: im tempted to write a really dumb http cache [11:18] JimBastard: instead of waiting to figure out why connect sucks [11:18] JimBastard: errr, why im failing rather [11:19] FuzzYspo0N: ;p [11:19] JimBastard: i think i could make easy cache with rest api for invalidation [11:19] JimBastard: do it in memory [11:20] V1: JimBastard: Might be useful to post your connect configuration in the issue maybe one plugin fucks it up. [11:20] JimBastard: V1: ill see what they say first, im using standard wheat config [11:20] V1: Okayy [11:20] JimBastard: i think something about our new proxy did it [11:21] JimBastard: we were being inefficient about request processing before [11:21] JimBastard: now its pretty fast and has a pool [11:21] JimBastard: so connect might be hitting a bottleneck [11:25] gthb has joined the channel [11:29] mirko_ has joined the channel [11:31] danfo has joined the channel [11:39] V1: awww not all browser seems to support my hack :( [11:40] FuzzYspo0N has left the channel [11:41] bradleymeck: which hack? [11:43] _announcer: Twitter: "@miksago I 100% agree! This is why a really good #nodejs wiki would be great." -- Daniel Erickson. http://twitter.com/TechWraith/status/24187735902 [11:43] V1: I had browser :hover emulation on regular html tags. [11:43] V1: a well, who gives a fuck about that :p [11:45] V1: user following is almost as good as done now [11:51] kriszyp has joined the channel [11:54] _announcer: Twitter: "NNNN It looks fun. NNN Node.js remove the very real if you take out" [ja] -- emorins. http://twitter.com/emorins/status/24188289431 [11:54] Utkarsh has joined the channel [11:55] bradleymeck: 2n^2 hehe [11:58] V1: I'm having so much fun with user following :)) [11:58] V1: Can't wait to test it out live next week [12:00] _announcer: Twitter: "@sophistifunk & with that, java has jumped the shark. definitely time for me to find something else.. nodejs looks fun." -- shaunau. http://twitter.com/shaunau/status/24188616066 [12:01] _announcer: Twitter: "Work in progress on speedo. Heat map intensity update and progress on real time user following. #realtime #node.js http://screenr.com/YGn" -- Arnout Kazemier. http://twitter.com/3rdEden/status/24188689718 [12:02] SubStack: java has just now jumped the shark? [12:02] SubStack: pretty sure it did that back in 1997 [12:03] SubStack: cripes, 1997 was 13 years ago [12:04] femtoo has joined the channel [12:06] mbrochh has joined the channel [12:06] bradleymeck: ok i think i got the installer automated [12:06] mbrochh has joined the channel [12:06] JimBastard: mmm, stupid cache is almost working [12:11] kaichen has joined the channel [12:15] Akufen has joined the channel [12:15] Akufen has joined the channel [12:16] maushu has joined the channel [12:17] d0k has joined the channel [12:17] ooooPsss has joined the channel [12:20] bradleymeck: ok linux installer is a ok, wish i could get mac os x on a vm :( [12:24] mbrochh has joined the channel [12:24] mbrochh has joined the channel [12:25] JimBastard: err, why doesnt this work, im sleepy [12:25] JimBastard: res.writeHead(200, { 'Content-Type': 'text/plain', 'X-nodejitsu': 'you got cached!' }); [12:26] bradleymeck: what doesnt work about it [12:27] bradleymeck: lowercase the x btw [12:27] jetienne: bradleymeck: it is kinda possible. i did it recently [12:27] JimBastard: dunno, bout to push code [12:27] JimBastard: built a http-cache [12:27] JimBastard: using http module and http-proxy module [12:27] JimBastard: was pretty easy [12:27] JimBastard: having an all node stack is fun! [12:28] jetienne: http://www.webupd8.org/2010/07/run-mac-osx-in-virtualbox-under-linux.html <- you follow this and it works. it was running ok, but started to fail when i needed to update macs kernel [12:28] ooooPsss: JimBastard: sleepy? is 1PM ;) [12:29] JimBastard: 830 am [12:31] JimBastard: been battling with Connect [12:31] _announcer: Twitter: "http://github.com/ther/yanx nodejs # # xml-rpc" [lv] -- Tomas Heran. http://twitter.com/tomasheran/status/24190356924 [12:31] abiraja has joined the channel [12:31] JimBastard: decided to create http-cache to fight it [12:31] JimBastard: since site is static [12:31] JimBastard: will be handy tool to have around anyway i thhink [12:32] V1: Pff had enough node for today, time for some css:source [12:33] JimBastard: hrmmm, so i think this kinda works [12:33] JimBastard: http://github.com/nodejitsu/node-http-cache [12:34] markwubben has joined the channel [12:34] _announcer: Twitter: "http://bit.ly/cTNWht #nodejs This is a HTTP client with basic auth support. Please slap (metaphorically) my face if there's some other way." -- Tomas Heran. http://twitter.com/tomasheran/status/24190534022 [12:34] jetienne: yet another http client [12:35] jetienne: http client belongs to core, in my book [12:35] HerrTopf has joined the channel [12:36] bradleymeck: there is one though [12:37] JimBastard: npm install request [12:37] JimBastard: npm install pool [12:37] JimBastard: npm install http-proxy [12:37] JimBastard: npm install http-cache [12:37] JimBastard: all day long [12:38] ooooPsss: JimBastard: have you been fighting with that all night? [12:38] bradleymeck: is the update script a valid place to put a node-waf configure build script for npm? [12:38] JimBastard: no, this: http://github.com/senchalabs/connect/issues#issue/103 [12:39] JimBastard: ooooPsss: [12:39] JimBastard: we have one connect app running on the hive and it stops responding [12:39] kjy112 has joined the channel [12:43] tobiassjosten has joined the channel [12:45] bradleymeck: anyone else having npm install . fail as of 0.2.0? [12:51] _announcer: Twitter: "mixing ndistro and git submodules is causing me pain #nodejs" -- Robbie Clutton. http://twitter.com/robb1e/status/24191510304 [12:51] shockie has joined the channel [12:54] _announcer: Twitter: "no, geonode isn't a geo framework based on nodejs, nodegeo could be though :-)" -- Eric Lemoine. http://twitter.com/erilem/status/24191706593 [12:58] jacobolus has joined the channel [13:01] bradleymeck: is there a way to do string compares in sh? [13:02] xla has joined the channel [13:03] _announcer: Twitter: "node.js cloud server in three minutes - http://bit.ly/diKwZP" -- Hernan Garcia. http://twitter.com/theprogrammer/status/24192305552 [13:04] _announcer: Twitter: "Server-Side JavaScript, we had that at the end of the 90 Classic ASP. At that time it was uncomfortable again today cool # Node.js" [de] -- Albert Weinert. http://twitter.com/DerAlbert/status/24192334507 [13:04] jetienne: bradleymeck: try #bash for those questions, they are often helpfull [13:04] bradleymeck: bash works fine, but found the problem with my expr [13:04] jetienne: bradleymeck: #bash is about any shell in fact :) [13:06] JimBastard: boom ^^ [13:06] JimBastard: thats the sound of my server dying [13:07] _announcer: Twitter: "Batch processing to an existing system written in node.js Mite Teru. What you do not particularly what I do not take advantage of features in RDBMS (this PostgreSQL) in connection with your problem. # Nodejs_jp" [ja] -- 西山 雄也/Nishiyama Yuya. http://twitter.com/nsyee/status/24192545486 [13:08] bradleymeck: f'in sh is making this a bitch [13:08] evanpro has joined the channel [13:08] bradleymeck: full paths to all non natives! [13:09] path[l] has joined the channel [13:09] zemanel has joined the channel [13:11] jacobolus has joined the channel [13:12] _announcer: Twitter: "I put Ssu @ nsyee node.js practice! ? Well parentheses." [ja] -- koichik. http://twitter.com/koichik/status/24192841992 [13:13] markwubben has joined the channel [13:13] wlll has joined the channel [13:13] altamic has joined the channel [13:19] pgriess has joined the channel [13:21] bradleymeck: anyone have an idea how to get sudo to work inside an npm script? [13:26] JimBastard: uhh hrmm hey, if i response.writeHead(200, { 'Content-Length': body.length, 'Content-Type': 'text/plain' });, is there a way to get that data back out of the response object? [13:26] JimBastard: o.O [13:27] niemeyer has joined the channel [13:28] bradleymeck: what data? [13:29] JimBastard: the headers i guess? [13:30] JimBastard: im trying to cache a response [13:30] sstephenson: JimBastard: response._header, though it's private [13:30] bradleymeck: umm not as the js obj it once was [13:30] JimBastard: sstephenson: trying...thanks [13:30] sstephenson: and it'll be a string [13:32] bradleymeck: curl does not like sh [13:34] adambeynon has joined the channel [13:38] stepheneb has joined the channel [13:38] c4milo1 has joined the channel [13:39] trotter has joined the channel [13:39] JimBastard: sstephenson: so how would i do something like res.writeHead(cachedResponse.headers); ? assuming i had stored the _header in there [13:39] sstephenson: you can't without re-parsing the headers [13:39] JimBastard: is there a one-liner for that? [13:40] JimBastard: or maybe i could store them better? [13:40] mikew3c has joined the channel [13:40] sstephenson: no. I think you want to store them yourself [13:40] JimBastard: hrmm [13:40] sstephenson: with a wrapper around response.writeHead [13:41] sstephenson: that's a better idea than relying on a private property anyway [13:42] _announcer: Twitter: "node-cloudservers: Node.js Meets Rackspace Cloud http://dlvr.it/54Sk8" -- solydzajs. http://twitter.com/solydzajs/status/24194852441 [13:45] JimBastard: sstephenson: i actually had access to response.headers in the scope i was in [13:45] JimBastard: but its still not quite working, im getting content encoding errors [13:45] JimBastard: but the logging seems to match up [13:46] JimBastard: res.writeHead(200, cachedResponse.headers); res.write(cachedResponse.body); res.end(); [13:46] JimBastard: is that no good? [13:46] mtodd has joined the channel [13:48] JimBastard: hrmm, i bet i know what it could be [13:48] romanb has joined the channel [13:48] mikew3c_ has joined the channel [13:50] _announcer: Twitter: "by me: nodejs, nDistro and git submodules: http://blog.iclutton.com/2010/09/nodejs-ndistro-and-git-submodules.html # tapas" [es] -- Robbie Clutton. http://twitter.com/robb1e/status/24195407200 [13:51] mischievious has joined the channel [13:51] freeall has joined the channel [13:52] cardona507 has joined the channel [13:52] jetienne: im not sure people realise that mongodb is under agpl [13:52] JimBastard: yeah, no clue why im getting content encoding errors [13:52] JimBastard: maybe nap time [13:54] _announcer: Twitter: "Early morning and finally getting around to #sencha touch! #html5 #nodejs" -- Carlos Cardona. http://twitter.com/cgcardona/status/24195715461 [13:55] marienz has joined the channel [13:56] cardona507: actually let me try that again with the sencha touch link [13:56] bradleymeck: ACTION flops about fighting npm's script stuff [13:56] JimBastard: ohhh hey whats up connect gzip [13:56] JimBastard: the second i took that out everything worked [13:56] JimBastard: wow [13:57] bradleymeck: jim there are known issues w/ connect gzip [13:58] JimBastard: BWAHAHAHAH [13:58] JimBastard: i just built an http-cache that can do 2246.13 requests per second on this little laptop [13:58] JimBastard: ab -c 50 -n 1000 http://127.0.0.1:8001/ [13:58] JimBastard: bad ass [13:59] JimBastard: i just speed up our blog 6x [13:59] JimBastard: or so [14:00] _announcer: Twitter: "Reading @robb1e's blog on #nodejs, #nDistro and #Github http://blog.iclutton.com/2010/09/nodejs-ndistro-and-git-submodules.html #nnnn" -- Phil Hawksworth. http://twitter.com/philhawksworth/status/24196188319 [14:01] bradleymeck: submodules of submodules, the reason you should be able to preserve githooks and why there needs to be an init githook [14:02] dilvie has joined the channel [14:03] JimBastard: this is kinda interesting though, i can implement caching on different levels of the http routing stack for broodmother [14:03] JimBastard: every time though, it takes up a little more memory [14:04] _announcer: Twitter: "@cramforce Could you please take a look at my project: http://bit.ly/cBxKrZ ? I'm looking for testers, thank you! #nodejs #mongodb #gmaptalk" -- Fedor Indutny. http://twitter.com/indutny/status/24196461571 [14:04] gthb has joined the channel [14:04] softdrink has joined the channel [14:05] cardona507: ACTION <3 express [14:07] JimBastard: connect died again [14:07] JimBastard: lol [14:07] JimBastard: brb [14:08] JimBastard: okay, turned gzip off Connect app [14:08] JimBastard: rebooted hive [14:08] mirko_ has joined the channel [14:08] JimBastard: lets see how see holds! [14:08] JimBastard: am i the only one who gets excited watching node battle the internet? [14:08] bradleymeck: ACTION crosses fingers the npm installer is finally working [14:08] bradleymeck: i dont do much inet work so never really seen it [14:08] JimBastard: ACTION you do not ddos node, node ddos you! [14:10] bradleymeck: would be funny if there was a ddos detector that send ddos back [14:10] bradleymeck: sent* [14:10] JimBastard: in theory, i could do that [14:10] JimBastard: proxy all the requests back, and spawn up more app servers to handle load [14:10] JimBastard: it would just cost some money [14:11] JimBastard: assuming that upstream wasnt already saturated [14:11] bradleymeck: and probably get you in trouble [14:11] JimBastard: yeah, indexzero would yell at me if i wasted money on that [14:11] JimBastard: speaking of which im gonna go wake his ass up [14:11] JimBastard: its time to write some code [14:12] bradleymeck: darn tooting it is [14:12] bradleymeck: been bash scripting for almost 4 hrs ... ug [14:14] bpadalino: more like bash my skull in scripting, amirite? [14:15] wlll has left the channel [14:16] bradleymeck: yea [14:18] JimBastard: im on an all node diet [14:18] JimBastard: sometimes ill splurge on jquery [14:18] JimBastard: aight iced coffee time [14:18] codelotus has joined the channel [14:19] bpadalino: nnnn is the new stack, right ? [14:19] mitkok has joined the channel [14:19] okuryu has joined the channel [14:21] bradleymeck: BWAHAHAHAHA [14:22] aubergine has joined the channel [14:22] mies has joined the channel [14:23] bradleymeck: npm install sfml, now to figure out what to do next on making features work, events are still being a bitch [14:24] bradleymeck: ACTION doesnt know how the mac install for that will work out [14:24] _announcer: Twitter: "Just discovering node.js. Very cool. Who'd've thought 5 yrs ago that a good way to get real performance from a server is to use JavaScript?" -- Quentin S-F. http://twitter.com/quentinsf/status/24197952581 [14:24] _announcer: Twitter: "Enjoyed the Node.js meetup last night. Nice to meet you @ryah, @philfreo, @rauchg, @saikatc" -- Jonathan Lister. http://twitter.com/jayfresh/status/24197994092 [14:27] c4milo has joined the channel [14:27] romanb has joined the channel [14:29] ctp has joined the channel [14:38] mirko_ has joined the channel [14:39] JimBastard: okay, listening to johnny cash. things just got real [14:42] cognominal has joined the channel [14:43] marienz has joined the channel [14:45] bradleymeck: pixel buffers to files working [14:47] JimBastard: bradleymeck: is this okay graphic for http-cache? i think i lost it http://i.imgur.com/DXTV7.gif [14:47] bradleymeck: that dude looks depressed [14:47] JimBastard: ..when the node comes around [14:48] JimBastard: lol its johnny cash [14:48] JimBastard: bad picture [14:48] JimBastard: round 2 perhaps [14:48] bradleymeck: if you give me an idea i can whip something out [14:49] JimBastard: it was either johnny cash or cash rules everything around me [14:49] marshall_law has joined the channel [14:49] JimBastard: i was gonna call it cream [14:49] JimBastard: but serious name should be serious [14:50] bradleymeck: why not a dragon on a pile of gold? [14:50] JimBastard: >.< [14:50] bradleymeck: ok fine, a pile of servers [14:50] gerred: morning. [14:50] bradleymeck: im tired [14:51] bradleymeck: yo [14:51] gerred: for some reason JimBastard is still awake [14:51] JimBastard: gerred: i wrote an http-cache :-) [14:51] bronson has joined the channel [14:51] gerred: ahh. :) [14:51] gerred: i just got stood up for breakfast. :D [14:51] JimBastard: im kinda stuck now though [14:51] JimBastard: i gotta do a logo [14:51] JimBastard: >.< [14:52] gerred: fortunately we have a designer for such things, my logos are a bad idea. [14:52] JimBastard: i really want to call this http-cache "cream" [14:52] JimBastard: i wont [14:54] _announcer: Twitter: "Looking for a reason to use node.js - good overview: http://j.mp/9fPwm4" -- Justin Chen. http://twitter.com/jc22/status/24200239042 [14:54] JimBastard: _ _ ___ ___ ___ ____ ____ ____ _ _ ____ [14:54] JimBastard: |__| | | |__] __ | |__| | |__| |___ [14:54] JimBastard: | | | | | |___ | | |___ | | |___ [14:54] JimBastard: easy enough [14:56] programble has joined the channel [14:59] tav has joined the channel [15:00] _announcer: Twitter: "@quentinsf CODA already partly runs on node.js - your challenge is to guess where/why, and sshing in to the servers is cheating ;)" -- Michael Dales. http://twitter.com/mdales/status/24200768732 [15:03] bradleymeck: heres a question, sfml makes ptrs to pixel arrays invalid after a resize or reload, should i just leave the js objects pointing at bad memory, or spend a day or 2 wrapping them up for ppl? [15:03] _o has joined the channel [15:04] marshall_law has joined the channel [15:04] Akufen has joined the channel [15:04] Akufen has joined the channel [15:06] dnolen_ has joined the channel [15:07] kkaefer has joined the channel [15:07] kkaefer: hi [15:07] bradleymeck: yo [15:07] kkaefer: what's the preferred approach to profiling node.js [15:07] kkaefer: I want to find out which functions take how much time [15:08] kkaefer: like cachegrind [15:09] bradleymeck: node --prof test.js [15:09] bradleymeck: there is also node-profiler [15:09] bradleymeck: and express has built in code coverage [15:09] bradleymeck: expresso* [15:10] kkaefer: and use http://code.google.com/p/v8/wiki/V8Profiler on the output of --prof? [15:11] bradleymeck: yep, comes with node in the deps folder [15:11] cardona507: is there a sencha chatroom? [15:11] bradleymeck: extjs [15:11] kkaefer: bradleymeck: ok, thanks [15:17] _announcer: Twitter: "@ Mistakah webOS 2.0 javascript to be equipped with all the w node.js" [ja] -- Yohei Sasaki. http://twitter.com/yssk22/status/24202135331 [15:18] FireFly has joined the channel [15:19] matschaffer has joined the channel [15:21] aliem has joined the channel [15:21] _announcer: Twitter: "Now the hot topic with node.js @ ranzwertig http://twitpic.com/2nema2" [de] -- Mario Volke. http://twitter.com/webholics/status/24202498662 [15:29] sudoer has joined the channel [15:29] saikat has joined the channel [15:32] _announcer: Twitter: "finally technically correct: node.js session # bcs3" [de] -- Michael. http://twitter.com/miloe/status/24203351258 [15:32] christkv has joined the channel [15:33] christkv: Getting segfaults for my node extension in C++ on 2.1 but not 2.0 or earlier. Anybody got the same problem and idea of what changed ? [15:35] shockie has joined the channel [15:36] mirko_ has joined the channel [15:37] bradleymeck: christkv where is the segfault, the wrap/unwrap for object_wrap was changed slightly, it no longer uses externals [15:39] nuwah has joined the channel [15:39] _announcer: Twitter: "@schuyler among other things it'd be cool to have a GEOS wrapper for node, a js port of Shapely in other words" -- Eric Lemoine. http://twitter.com/erilem/status/24203933797 [15:40] christkv: @bradleymeck so Buffer *buffer = ObjectWrap::Unwrap(args[0]->ToObject()); [15:40] christkv: is not longer valid ? [15:40] bradleymeck: that should still be valid [15:41] bradleymeck: but thats the only thing i know of that changed [15:46] _announcer: Twitter: "@vmische I was really referring to a js wrapper to libgeos, so probably something specific to the node platform" -- Eric Lemoine. http://twitter.com/erilem/status/24204470578 [15:46] christkv: something id definitively changed [15:47] christkv: it's happening when trying to build a object in the parser [15:47] christkv: unwrapping seems to be working [15:47] christkv: but I'm not sure about wrap [15:47] dohtem` has joined the channel [15:47] _announcer: Twitter: "#nodejs session is really good. All participants are discussing. That's how it should be... #bcs3" -- Markus Knittig. http://twitter.com/mknittig/status/24204612699 [15:48] Eber has joined the channel [15:53] JimBastard: has anyone made a varnish wrapper yet for node? [15:54] Eber: Hey guys... I'm using Express and Sass to render CSS, but the browser isn't loading the CSS as CSS for some reason... [15:54] mau has joined the channel [15:54] Eber: I'm passing the content-type, but for some reason, it doesn't work the way it is supposed to work... [15:54] maushu: Are you sure its passing css and not sass? [15:54] maushu: Check the css url. [15:56] christkv: @bradleymeck any idea how to use externals again ? [15:56] christkv: I have to pass back C++ object instances [15:56] jchris has joined the channel [15:56] christkv: which need to be external to avoid being gc'ed [15:56] maushu: JimBastard, why the heck do you want a varnish wrapper? [15:56] maushu: Just run the thing. [15:56] Eber: maushu: http://localhost:3000/style.css -> this is the URL... [15:57] maushu: Check that url for valid css. [15:57] Eber: maushu: if I set res.contentType, when I try to access it, it tries to download the file... [15:57] Eber: if I don't set the contentType, it loads as text/html... [15:57] danfo has left the channel [15:57] ooooPsss: is there anything similar to pusherapp but open source? [15:58] Eber: the W3 CSS validator tells me that everything is just fine... [15:58] Aria has joined the channel [15:59] niemeyer has joined the channel [16:00] Zuardi has joined the channel [16:01] _announcer: Twitter: "@erilem thanks to @paulsmith - http://github.com/paulsmith/geonode - GEOS bindings for node.js" -- Schuyler Erle. http://twitter.com/schuyler/status/24205681037 [16:04] Egbert9e9 has joined the channel [16:05] indexzero has joined the channel [16:05] indexzero: wattup all [16:06] thedjinn has joined the channel [16:09] gerad has joined the channel [16:10] mirko_ has joined the channel [16:11] Sutto has joined the channel [16:12] zum: last time I checked, GEOS was an operating system for C64 [16:12] Simone has joined the channel [16:13] zapnap has joined the channel [16:17] softdrink has joined the channel [16:19] stephank has joined the channel [16:21] jamescarr_ has joined the channel [16:22] Anti-X has joined the channel [16:26] gsmcwhirter has joined the channel [16:30] zemanel has joined the channel [16:35] _announcer: Twitter: "Getting Started with Node.js on Windows http://bit.ly/dvOOvT /cc @feedly" -- Obi-Wan. http://twitter.com/old_ben/status/24208434645 [16:36] gthb has joined the channel [16:38] fyskij has joined the channel [16:40] kjeldahl_ has joined the channel [16:44] _announcer: Twitter: "@mattpodwysocki Used your article as my citation for nodejs + Windows in my new article featured on @changelogshow http://bit.ly/bcgss3" -- Charlie Robbins. http://twitter.com/indexzero/status/24209121056 [16:46] _announcer: Twitter: "Using http-agent? You should upgrade to #npm 0.2.0 ... issue with including packages that had a '-' in them: http://bit.ly/9ptKry #nodejs" -- Charlie Robbins. http://twitter.com/indexzero/status/24209282981 [16:46] gf3 has joined the channel [16:46] timemachine3030 has joined the channel [16:48] timemachine3030: Is there a way to write a message to stderr? sys.debug() adds extra cruff I don't want. I just want to print a line, but to strerr instead of strout. [16:49] pgriess has joined the channel [16:49] timemachine3030: stderr, stdout ... [16:51] indexzero: hmmm....that would be useful [16:51] indexzero: I don't see it in the docs, but it might exist, let me 'spec [16:52] timemachine3030: yeah .. where in the sourch is sys defined? I'll just add it. [16:52] indexzero: timemachine3030: You don't want to add it to sys, that's totally the wrong place for it [16:52] indexzero: stdout lives on the top-level process [16:52] indexzero: http://nodejs.org/api.html#process-52 [16:53] indexzero: so you would want to add stderr there [16:53] timemachine3030: ok [16:53] indexzero: but I can't seem to find any js-source for process [16:53] indexzero: it might be all c++ [16:53] niemeyer has joined the channel [16:53] indexzero: anyone have any input on this? I don't know where to look in the node source [16:55] kaichen has joined the channel [16:57] voxpelli has joined the channel [16:58] davidwalsh has joined the channel [16:59] indexzero: timemachine3030: Maybe post something to the mailing list, this seems like it should exist [16:59] indexzero: I was seeing some edge cases with stdout / stderr the other day when trying to pipe a password to a child process [16:59] indexzero: for our node-cloudservers sample: http://blog.nodejitsu.com/nodejs-cloud-server-in-three-minutes [17:00] timemachine3030: ok, I'm going to keep poking around for sys or process. [17:00] timemachine3030: but I'll ship something to the mailing ist. [17:00] timemachine3030: list [17:01] ooooPsss: anyone knows if http://paularmstrong.github.com/nko-jackalope-promo/ is open sourced? [17:03] _announcer: Twitter: "Node.js, Unix based OS and MongoDB (NUM) are the new LAMP http://is.gd/f5SKm" [pt] -- Bradley Joyce. http://twitter.com/bradleyjoyce/status/24210546497 [17:05] _announcer: Twitter: "@ Martiusweb I used bookmarks for techno ^ ^ + HTML5 node.js:)" [fr] -- Clément. http://twitter.com/clementj/status/24210679733 [17:06] Nohryb has joined the channel [17:06] Anti-X: :D [17:07] Me1000 has joined the channel [17:07] benburkert has joined the channel [17:07] Nohryb: v8 typeof console [17:07] v8bot: Nohryb: undefined [17:09] daglees has joined the channel [17:09] Anti-X: v8 var arr = ["h", "r", "N", "o", "y", "b"];do{arr.shuffle();}while(arr != ["N", "o", "h", "r", "y", "b"]);arr + ' you v8 whore.'; [17:09] v8bot: Anti-X: TypeError: Object h,r,N,o,y,b has no method 'shuffle' [17:09] Anti-X: bah [17:10] Anti-X: v8 var arr = Array(["h", "r", "N", "o", "y", "b"]);do{arr.shuffle();}while(arr != ["N", "o", "h", "r", "y", "b"]);arr + ' you v8 whore.'; [17:10] v8bot: Anti-X: TypeError: Object h,r,N,o,y,b has no method 'shuffle' [17:10] Anti-X: v8 var arr = new Array(["h", "r", "N", "o", "y", "b"]);do{arr.shuffle();}while(arr != ["N", "o", "h", "r", "y", "b"]);arr + ' you v8 whore.'; [17:10] v8bot: Anti-X: TypeError: Object h,r,N,o,y,b has no method 'shuffle' [17:10] Anti-X: eat shit and die! [17:11] dgathright has joined the channel [17:11] daglees: That's a cool bot [17:12] Anti-X: oh shuffle aint a js method [17:12] Me1000 has joined the channel [17:12] Anti-X: how silly [17:13] _announcer: Twitter: "Apparently "Node.js, OS X, and MongoDB are the new LAMP." http://bit.ly/dgDZ9H Gosh, I just love these." -- C. Scott Andreas. http://twitter.com/cscotta/status/24211286628 [17:17] Anti-X: !tweet @cscotta Apparently a lot with Node.js is the new LAMP, but nobody seems to agree on which one it is. Which just goes to show, people don't know anything. [17:17] MrTopf has joined the channel [17:17] aheckmann has joined the channel [17:17] Eber: I just created a blog with node+express+mongoose :) awesome! I'm just litle bit disapointed that I couldn't use sass for the CSS... for some reason, the browser wasn't reading it right... Any ideas why? [17:18] _announcer: Twitter: "Um, no. No it isn't. http://www.travisglines.com/web-coding/node-js-unix-based-os-and-mongodb-num-are-the-new-lamp" [pt] -- Wes Morgan. http://twitter.com/wesmorgan/status/24211631753 [17:18] _announcer: Twitter: "Screen scraping with @jquery and @nodejs -- http://cl.ly/2LYF" -- Hector Castro. http://twitter.com/hectcastro/status/24211682469 [17:19] Anti-X: how many times has that link been tweeted now [17:20] Anti-X: i must have clicked it at least 5 times... stupid url shorteners [17:20] Tobsn has joined the channel [17:21] timemachine3030: indexzero, I found it, it is spelled: process.binding('stdio').writeError() [17:21] timemachine3030: which is a mouthfull [17:21] Anti-X: no direct reference to stderr? [17:21] Anti-X: as a writestream [17:21] googol has joined the channel [17:21] Anti-X: writeable* [17:22] _announcer: Twitter: "Node.js, Unix based OS and MongoDB (NUM) are the new LAMP http://bit.ly/dgDZ9H <- Things took a turn nobody expected! But a good turn IMHO." -- Charl van Niekerk. http://twitter.com/charlvn/status/24211949960 [17:22] jchris has joined the channel [17:23] Anti-X: ffs [17:23] timemachine3030: Anti-X, not that I can see. [17:23] Anti-X: for some reason node won't serve my .png properly [17:23] _announcer: Twitter: "c3d2-newsfeeds: TA: node.js http://ow.ly/18XR9f" [mt] -- Piraten Dresden. http://twitter.com/PiratenDD/status/24212014142 [17:24] Anti-X: oh i got it [17:24] Anti-X: had to add 'binary' to the write as well [17:24] Anti-X: not just file open [17:25] siculars has joined the channel [17:25] cbrake: with expresso, I always get: uncaught: Error: ECONNREFUSED, Connection refused [17:25] cbrake: what does this mean? [17:25] kaichen has joined the channel [17:26] KungFuHamster has joined the channel [17:27] Anti-X: it means you couldn't connect to something, and you didn't catch the exception, so it fell through the whole stack and made the process terminate [17:27] ehaas has joined the channel [17:27] _announcer: Twitter: "node.js cloud server in three minutes http://blog.nodejitsu.com/nodejs-cloud-server-in-three-minutes" -- Amr Numan Tamimi. http://twitter.com/amrnt/status/24212313177 [17:27] Anti-X: process.on('uncaughtException', function(e) {console.log(e.stack);}); [17:27] Anti-X: add this to your main file [17:28] Anti-X: should give you a better idea where it comes from [17:29] Anti-X: it's weird that the stack isn't printed by default when you print an exception.. i'd think that was the only reason to print it... [17:32] c4milo has left the channel [17:34] Aria: Oops. Looks like nodejitsu went down. [17:35] KungFuHamster has joined the channel [17:35] _announcer: Twitter: "Updated Node.js JSLint wrapper: http://github.com/timemachine3030/node-jslint Now sending errors to stderr... Like a BOSS!" -- Daniel. http://twitter.com/timemachine3030/status/24212914414 [17:36] timemachine3030: That's obnoxious.... [17:36] Aria: Yeah? [17:36] Aria: I rather like it. [17:36] timemachine3030: I like it when it is other people tweets ... [17:36] Aria: Hehe. And it's unnerving as can be otherwise. [17:37] Anti-X: now you're just showing off [17:37] Anti-X: "look i can read source code" etc [17:37] Anti-X: ACTION ducks behind the couch [17:38] overra_ has joined the channel [17:38] timemachine3030: lol [17:38] bsstoner has joined the channel [17:39] _announcer: Twitter: "node.js latest documents for the Japanese version was updated to v0.2.1. http://nodejs.jp/nodejs.org_ja/ # nodejs_jp" [ja] -- Toshihiro Shimizu. http://twitter.com/meso/status/24213180364 [17:40] gerred has joined the channel [17:40] Anti-X: those japs are quick [17:40] indexzero: I like it because it makes the IRC logs the full log of all things nodejs [17:40] KungFuHamster has joined the channel [17:41] Anti-X: i had logs for 5 years on three networks and a total of 20 channels... a whopping 4 MB... i'm beginning to think that database normalization is a waste of time :P [17:42] Anti-X: if that many rows of text take that little space i mean [17:42] webr3: but i do wish there was a good list of pure javascript modules/classes for reference (non node) things like amf.js - quality, standalone non dom related js that works on clients and server [17:42] Anti-X: well there's the ecma standard [17:43] webr3: ummm... hows that related? [17:43] Anti-X: anything there that doesn't say "DOM" [17:43] Anti-X: is general js [17:43] Anti-X: isn't it? [17:43] Anti-X: oh [17:43] Anti-X: you mean actual code things [17:43] webr3: yeah there,s the ecmascript-262 v3 and v5 standards - but I'm referring to libs and classes [17:43] LFabien has joined the channel [17:43] Anti-X: i thought you were looking for a reference [17:43] webr3: yes :D [17:43] Anti-X: haha [17:43] webr3: nah have read both specs more times than i can remember [17:44] Anti-X: gimme those scissors, i'm going for a jog [17:44] webr3: easy to find quality node apps [17:44] mr_daniel has joined the channel [17:44] webr3: hard to find quality pure ecmascript client+server code that isn't "from the node community" [17:44] creationix has joined the channel [17:44] Anti-X: well to be honest, most client libs are pure shit [17:44] Anti-X: except those that "everybody" have heard about [17:45] webr3: and it is out there, amf.js is good, js-crypto, stanford crypto library, php.js and so forth [17:45] Anti-X: php.js? [17:45] webr3: not things like jquery, extjs etc [17:45] Anti-X: i shudder [17:45] codelotu1 has joined the channel [17:45] webr3: Anti-X indeed! [17:45] webr3: http://phpjs.org/ [17:45] creationix: ryah: how was the meetup yesterday? [17:46] webr3: not advocating it, but it is an example of a standalone lib that could be node'd up or used on any ecmascript v3 platform [17:46] aaronblohowiak: webr3: you should make such a list [17:46] creationix: what about extjs? [17:46] aaronblohowiak: webr3: there is a great UUID library that i love [17:47] webr3: aaronblohowiak, if nobody else has, then it may be a good idea [17:47] webr3: creatinix, nothing about extjs, was looking for a "list" of non-node, non dom / presentation reliant javascript libs [17:48] webr3: cos there is some quality, but no list from what i can tell [17:49] aaronblohowiak: webr3: cpan.js [17:49] aaronblohowiak: ;) [17:49] Anti-X: the php people can't get people to adopt their approach, so they force their approach onto other platforms... the most abominal idea of all: php on android... like.. for apps! [17:49] Anti-X: jesus face [17:49] bsstoner has joined the channel [17:50] aaronblohowiak: Anti-X: php's strtotime is pretty neat. [17:50] Anti-X: php allows below average programmers to have a job in programming [17:50] Anti-X: which half pisses me off [17:51] webr3: ack i know some v good programmers that only got started because of php [17:51] aaronblohowiak: Anti-X: i have a theory that the amount of terrible programmers actually keeps talented programmers salary inflated [17:51] Anti-X: i'm not saying make the learning curve harder, i'm just saying, if you can't handle the learning curve, you can't be a programmer... [17:51] KungFuHamster has joined the channel [17:51] webr3: problem with PHP is that it hides real programming, patterns and paradigms behind a huge function base [17:52] Anti-X: webr3, that's not what i mean.. php creates good programmers, too, but it lets the shitty ones stay in business [17:52] webr3: if there was an add(x,y) function in php people would use that rather than x+y [17:52] tapwater has joined the channel [17:52] Anti-X: i'm sure your great programmer friends would have been great programmers if they had started in other things, like perl [17:52] webr3: Anti-X, i agree [17:52] creationix: Anti-X: what's wrong with there being programmers who don't mind doing the boring work and don't care about becoming great programmers [17:53] aaronblohowiak: webr3: PHP has done some things right, like their documentation. [17:53] Anti-X: creationix, because they are great salesmen.. and so they steal the good jobs, produce shitty code, and taint the reputation of the rest of us in general [17:54] creationix: I guess so [17:54] webr3: creationix,Anti-x: it's probably a pedantic don't label them the same as me thing - personally I'm glad there are people that spend their life making drupal/wordpress sites and taking on shitty jobs for low prices - makes my work amazingly fun and well paid :) [17:54] webr3: labeling things and people makes a lot of problems (imho) [17:54] creationix: I used to be one of those php developers, but I god bored with it and decided to really learn languages and theory [17:54] webr3: + for some companies it's far more valuable to be able to hack out a joomla site than it is to crete an earth shatteringly good library [17:55] webr3: creationix, snap [17:55] Anti-X: making wordpress sites means that at least you know something, but there are worse people out there. people who still run a front controller switch to load pages through index.php?action=page... i'm not saying it's bad, it just reflects their skill level as being ~noob [17:55] webr3: ACTION was very involved in php for a number of years [17:55] njero has joined the channel [17:55] webr3: Anti-X yup, but there's always noobs [17:55] webr3: has to be [17:56] creationix: we were all children once [17:56] webr3: ACTION nods [17:56] creationix: when I was a kid, I had a neighbor. She was this old grouchy lady that hated kids. I always thought "well you were one once" [17:56] aaronblohowiak: Anti-X: it sounds like you have been spurned by competing with low-end coders. When i doubled my rates, I started getting less % of gigs, but had much higher quality relationships and more respect.. [17:56] webr3: aaronblohowiak, regarding strtotime, remember Date.parse [17:56] elijah-mbp: some of those n00bs will be colleagues soon. some are more teachable than others. [17:57] Anti-X: i have been spurned yes [17:57] aaronblohowiak: webr3: Date.parse("next friday") [17:57] Anti-X: not sure what it means, but i assume it's related to "surprise buttsecks" [17:57] creationix: I think the real tragedy is when end users have crappy lives because all the software they use is utter garbage [17:57] elijah-mbp: :) [17:57] webr3: +1 [17:57] creationix: that's the problem we should solve [17:57] elijah-mbp: AMEN [17:57] webr3: v8 Date.parse('next friday') [17:57] v8bot: webr3: NaN [17:58] webr3: thing is.. [17:58] aaronblohowiak: ACTION nods towards creationix  [17:58] webr3: we'll all amke a huge set of libs and frameworks for node, and eventually you'll get the same noobs using node.js+express+other lib and not actually knowing how to code too :p [17:58] webr3: node.js will have as many, if not more, noobs than php does now [17:59] webr3: ACTION has to shoot, cheers & tara [17:59] jimmybaker has joined the channel [17:59] Anti-X: i doubt it, because node requires cygwin, and for a noobety noob to install cygwin and then learn some basic unix commands is no joke [18:00] quirkey has joined the channel [18:00] creationix: Anti-X: some day there will be an easy to install node for windows [18:00] Anti-X: i hope not [18:00] Anti-X: for node's sake [18:01] creationix: I actually talked about this with rmurphy the other day [18:01] creationix: the problem with jQuery isn't that it's bad code, it's that people no longer know javascript [18:01] creationix: same thing for rails people not knowing ruby [18:01] creationix: and (insert name here) users not knowing node [18:01] zemanel has joined the channel [18:02] Anti-X: yeah frameworks are to blame [18:02] creationix: no frameworks aren't to blame [18:02] Anti-X: i love jquery, but only because i know what it does behind the scenes [18:02] creationix: we are for not explaining the purpose of frameworks [18:02] stagas has joined the channel [18:02] creationix: we need frameworks [18:02] _announcer: Twitter: "@ryah Does node's "make install" not install the lib/*.js libraries? If not, what's the right way? Just a cp?" -- Judd Vinet. http://twitter.com/juddv/status/24214788890 [18:02] Anti-X: i mean they are to blame for people not bothering to learn things properly [18:03] webben: "I think the real tragedy is when end users have crappy lives because all the software they use is utter garbage" : so true. [18:03] creationix: I really intend to write up a howtonode article about my feelings about all this [18:03] creationix: I've been thinking about for a while now [18:03] creationix: I finally realized why I so much write my own libs instead of using stuff already written [18:04] Anti-X: in php, those half assed devs use frameworks to spit out website after website... that's fine.. but then don't apply for a job at a company developing a CMS... because you have no effing clue what you're doing. [18:04] creationix: Anti-X: but that job will be how they learn [18:04] creationix: I was there. I realized I didn't know anything [18:04] creationix: then i learned [18:04] _announcer: Twitter: "@ SkaKri node.js here would be perfectly" [lv] -- Sandis. http://twitter.com/sandis/status/24214929140 [18:04] Anti-X: well that's not what they say in the interview [18:05] creationix: of course not, they don't realize it yet [18:05] creationix: and the company will get burned [18:05] creationix: the project will probably fail [18:06] Anti-X: and people coming out of uni [18:06] Anti-X: knowing everything [18:06] Eber: Guys... I'm trying to learn node here and I'm using express... I was trying to render a css file using sass, but for some reason, the browser doesn't reads the file as a css file... I have it all, I've even setted the Content-Type, but couldn't make it work... Any ideas? I can paste some code if you guys like it... [18:06] creationix: Anti-X: the way I see it, if the company can't tell you from a noob, then you probably don't want to work there anyway [18:06] Anti-X: true [18:06] webben: Eber: Can you link to the page? [18:06] Anti-X: also they did seem more interested in having a business than actually innovating [18:07] Eber: webben: it's not online... :( [18:07] creationix: webben: git it with curl to see the headers output by node [18:07] creationix: browser inspectors sometimes lie [18:07] aaronblohowiak: Eber: are you using firebug? if so, what is the content being returned from the server? [18:07] Eber: webben: I'll paste my code... [18:07] webben: Eber: In the absence of the page, I'd bet you've got the URL of the referenced stylesheet wrong. [18:08] webben: or the HTML applying the stylesheet wrong [18:08] Eber: aaronblohowiak: I'm... When I select the file, it says the sheet has no styles, but if I hit "Edit", everything is there... If I type a space, it get recognized... [18:08] Eber: webben: the link is correct... I can access it directly... [18:08] webben: Eber: It's specified as an absolute URL in the HTML? [18:09] Eber: webben: relative [18:09] aaronblohowiak: Eber: so if you type a space, it then loads all the styles? [18:09] webben: Eber: Maybe your relative path is wrong. [18:09] webben: Eber: Also, try validating the output CSS with the W3C validator. [18:09] webben: maybe there's some sort of horrible syntax error in there [18:09] MikhX has joined the channel [18:09] Anti-X: Eber, which browser(s)? [18:09] Anti-X: have you tested in several? [18:10] Eber: aaronblohowiak: exactly... on firebug... before that, nothing loads... if I hit the file itself, without defining any content-type, I get text/html [18:10] robotarmy has joined the channel [18:10] Eber: Anti-X: just firefox... I'm on a VM right now... no other browser available... I'll get chromium... [18:10] dipser: does someone know a method like: getHostByAddr/Ip [18:10] Anti-X: request.connection.remoteAddress [18:11] aaronblohowiak: Eber: what is the statement like in your header? [18:11] Anti-X: in http [18:11] dohtem` has joined the channel [18:11] Eber: here is the code of my app: http://pastie.org/1152341 [18:11] Eber: aaronblohowiak: [18:11] maushu: dipser, dns.reverse(ip, callback) [18:11] Anti-X: dipser, you mean an actual DNS lookup? [18:11] Anti-X: yeah that [18:11] dipser: Anti-X this is ip [18:11] Eber: should I pass the content type? [18:11] dipser: yes [18:12] Yuffster has joined the channel [18:12] maushu has left the channel [18:12] maushu has joined the channel [18:12] dipser: thx maushu [18:12] aaronblohowiak: Eber: ah, you might want to look into using the compiler middleware to do your sass compilation for you [18:13] Anti-X: Eber, you need to do type="text/css" [18:13] Anti-X: rel isn't enough i think [18:13] Eber: aaronblohowiak: uhmm, I see... I'll try that... [18:13] Eber: Anti-X: Just added... Same thing... :( [18:14] aaronblohowiak: Eber: what is the Content-Type in firebug? [18:15] Eber: aaronblohowiak: text/html; charset=utf-8 [18:15] aaronblohowiak: Eber: that's not good =) [18:15] Eber: aaronblohowiak: and if I define the contentType on the application I get "application/octet-stream" [18:15] Eber: :( [18:16] aaronblohowiak: Eber: how are you trying to define the contentType? [18:16] vnguyen has joined the channel [18:16] Eber: aaronblohowiak: http://pastie.org/1152341 line 16 (uncommented) [18:17] aaronblohowiak: Eber: the contentType takes a filename =/ try it with contentType("foo.css") [18:17] Eber: damn! let me try that! [18:17] vnguyen: does anyone know how I can use nave, nvm, or sea to keep separate versions of other modules installed by npm? [18:17] aaronblohowiak: Eber: that is a tricky interface [18:18] aaronblohowiak: vnguyen: npm keeps separate versions of modules already [18:18] Eber: aaronblohowiak: indeed, it works now! [18:18] aaronblohowiak: Eber: sweeet! [18:18] Eber: aaronblohowiak: maybe I shoud use res.header(); [18:18] aaronblohowiak: creationix: another happy user served ;) [18:18] Eber: aaronblohowiak: inserting a filename looks hacky... [18:19] aaronblohowiak: Eber: *shrug* http://senchalabs.github.com/connect/compiler.html [18:19] vnguyen: aaronblohowiak: i just setup a subshell with nave, installed some things with npm and I can access everything from every level; I think i'm doing something wrong >_> [18:19] creationix: aaronblohowiak: where, I wasn't following [18:19] Eber: creationix: BTW, thanks for you blog man, I've followed this article [http://howtonode.org/express-mongodb], trying to update it to the latest version of express... I think I'll post it on my blog today :) [18:19] aaronblohowiak: Eber: use the connect compile middleware to handle caching and file change detection [18:20] creationix: Eber: cool [18:20] Eber: aaronblohowiak: that looks awesome! i'll try it out! :) I was just disapointed that I couldn't make it work like in the tutorial... now it works and I know why, so I'm happy =D [18:20] bsstoner has joined the channel [18:20] aaronblohowiak: vnguyen: ah, sorry. ask the google group and isaacs will respond [18:20] matschaffer has joined the channel [18:20] aaronblohowiak: Eber: \(^.^)/ [18:21] Eber: aaronblohowiak: res.header() works better :P don't know why I didn't try it before... [18:21] aaronblohowiak: Eber: that will force node to read and recompile on every page request =/ [18:22] crodas has joined the channel [18:22] Eber: aaronblohowiak: yeah... the only way to cache is using compiler? [18:22] aaronblohowiak: Eber: or to re-write what it does =) [18:22] Eber: aaronblohowiak: well, that is not a real option :P I'll try it out ;) [18:22] aaronblohowiak: okie! [18:22] aaronblohowiak: gl&hf [18:23] marshall_law has joined the channel [18:24] softdrink has joined the channel [18:24] pgriess has joined the channel [18:27] mies has joined the channel [18:31] Eber: aaronblohowiak: cool :) it works! [18:31] aaronblohowiak: Eber: huzzzah [18:31] Eber: aaronblohowiak: thanks for the help ;) [18:31] aaronblohowiak: Eber: np. where do i send the invoice ;) [18:32] Eber: aaronblohowiak: Brazil :P [18:32] aaronblohowiak: Eber: bom dia [18:32] Eber: aaronblohowiak: bom dia :) como você está? [18:33] aaronblohowiak: Eber: hungry! [18:33] cosbynator has joined the channel [18:33] Eber: aaronblohowiak_afk: have a good snack :) [18:36] romanb has joined the channel [18:36] pgriess has joined the channel [18:36] mies has joined the channel [18:37] _announcer: Twitter: "playing around with Node.js http://t.co/rnXgXua" -- Joe Moore. http://twitter.com/joem/status/24217012730 [18:39] Anti-X: wow [18:39] Anti-X: they actually shortened the url to be longer [18:39] Anti-X: well done [18:40] Anti-X: stupidity [18:43] _announcer: Twitter: "Exploring #nodejs and refreshing my JavaScript knowledge. JavaScript suddenly looks more beautiful without the DOM." -- Roman S. Borschel. http://twitter.com/romanborschel/status/24217453998 [18:44] KungFuHamster has joined the channel [18:46] mies has joined the channel [18:47] KungFuHamster has joined the channel [18:47] mape: creationix: it doesn't crash, just stops handling reqs [18:48] xla has joined the channel [18:48] creationix: that's even worse [18:48] ryah: what does? [18:48] pydroid has joined the channel [18:48] mape: jup, hard to debug [18:48] creationix: any way to reproduce it? [18:48] mape: nope [18:48] mape: "lots of traffic" [18:48] mape: but sometimes with less traffic [18:48] ryah: mape: memory leak? [18:48] creationix: ryah: http://github.com/senchalabs/connect/issues/#issue/103 [18:48] mape: So that doesn't help [18:48] mape: ryah: connect [18:49] ryah: hm [18:49] creationix: mape: are you using the uncaught exception [18:49] ryah: not good [18:49] mape: creationix: yeah [18:49] mape: I can curl it and get the html [18:49] mape: but the browser just hangs [18:49] creationix: mape: does it echo any errors it catches to the terminal [18:50] mape: not related to this no [18:50] creationix: mape: gzip disabled? [18:50] ryah: mape: what's cpu/memory look like? [18:50] mape: no enabled [18:50] creationix: mape: try curl with Accept-Encoding: gzip [18:50] mape: ryah: not sure, but don't think it is a peak [18:50] mape: playin sc2 now so later [18:51] creationix: mape: ok, but try curl with gzip [18:51] rcy has joined the channel [18:52] ryah: mape: hehe [18:52] mape: well then I'll have to reproduce it :) [18:53] Eber: guys... I'm using connect.compile with express and the first time I access a page, the compilation isn't ready... only on a second load, the compiled file is available... is this correct, or there is a way to compile and them serve the page? [18:56] creationix: Eber: not sure, I've never used that. If you put up an issue TJ will probably see it [18:56] creationix: mape: I'm pretty sure it's something in the gzip middleware [18:57] creationix: I'm almost ready to rip it out of connect core [18:57] Eber: creationix: ok, I'll :) thanks! [18:58] technoweenie has joined the channel [18:58] technoweenie: creationix: hey where's that git-fs lib you use in wheat [18:58] _announcer: Twitter: "learning a bit more about node.js http://bit.ly/dtHEX0 and the stuff we can make (better) with it" -- ianfitzpatrick. http://twitter.com/ianfitzpatrick/status/24218349098 [18:59] matschaffer has joined the channel [19:00] technoweenie: oh weirdddd... http://github.com/creationix/wheat/tree/master/lib/wheat/ shows just a few files [19:00] njero has joined the channel [19:01] technoweenie: but when i clone, i see a bunch of directories too [19:01] creationix: technoweenie: git submodules [19:01] creationix: + symlinks [19:01] technoweenie: we should be showing submodules on github hmm [19:01] creationix: you do [19:02] creationix: hmm, actually wheat doesn't use submodule anymore [19:02] technoweenie: what kind of game are you playing, tim??? [19:02] creationix: technoweenie: but here are submodules http://github.com/creationix/ivy/tree/master/modules/ [19:02] technoweenie: http://github.com/creationix/wheat/node-git doesnt exist? [19:02] zk has joined the channel [19:02] technoweenie: nvm [19:03] technoweenie: ok i wonder why they're not showing [19:04] _announcer: Twitter: "going through a really good basic step by step nodejs tutorial http://github.com/neerajdotname/node-chat-in-steps" -- Richard Sage. http://twitter.com/richardsage/status/24218757442 [19:06] creationix: technoweenie: wheat doesn't have submodules anymore, it used to [19:06] technoweenie: creationix: if wheat doesnt use submodules, what is it using? [19:06] creationix: I forgot I had pushed my changes [19:06] creationix: it's all npm based now [19:06] technoweenie: oh ok there's still a .modules dir [19:07] creationix: ? really [19:07] technoweenie: file i mean [19:07] technoweenie: http://github.com/creationix/wheat/blob/master/.gitmodules [19:07] creationix: oh, yeah, git doesn't like to clear that file out [19:07] Anti-X: maushu, maybe you could add a stackoverflow thing to announcer, looking for new questions tagged with node.js, there are a couple per day atm, i only expect it to pick up. and there is a stackoverflow api for it. [19:08] technoweenie: ok cool [19:08] technoweenie: i got confused because i couldnt find git-fs in npm either [19:08] technoweenie: but i think npm is just busted on my laptop, i get no output [19:08] creationix: yeah, I added it to npm [19:08] _announcer: Twitter: "Just live node.js hacking into the lobby with @ # bcs3 ranzwertig" [de] -- Mario Volke. http://twitter.com/webholics/status/24218991161 [19:08] creationix: howtonode.org is running from npm right now [19:08] creationix: I had to package a lot of stuff to get it working [19:09] technoweenie: yea [19:09] technoweenie: i may start hacking on it [19:09] creationix: cool [19:09] creationix: it's mostly very old code [19:09] creationix: wheat was my first real app written in node [19:09] technoweenie: yea its really cool [19:09] _announcer: Twitter: "@ Webholics too stupid that I could not come .. # # Bcs3 node.js" [de] -- Christian Scholz. http://twitter.com/mrtopf/status/24219061372 [19:10] technoweenie: actually, if someone could get http://github.com/libgit2/libgit2 bindings for node, that would rock [19:10] siong1987 has joined the channel [19:10] gerad has joined the channel [19:10] maushu: Anti-X, actually, we had that. [19:10] Anti-X: oh [19:11] maushu: But for some reason I can't remember I removed it. [19:11] Anti-X: heh [19:11] Anti-X: well it says they removed the /questions/tagged method, but i can still get a response on it, so i'm not sure if that's what they meant [19:11] maushu: Maybe the api wasn't that good when it was implemented. [19:12] jakehow has joined the channel [19:12] _announcer: Twitter: "Node.js 0.2.1 released http://nodejs.org/changelog.html" -- Don Park. http://twitter.com/donpark/status/24219230673 [19:12] mape: creationix: well aren't there better ways of doing gzip? [19:12] Anti-X: 1.0 was released in july, and it says that it's locked [19:13] mape: I removed it and used nginx instead but on something like joyent hosting it kinda has to work [19:13] Anti-X: but before that it was changing a lot every release [19:13] creationix: mape: I think pre-gzipping files and serving from the cache is better [19:13] creationix: be it cache in ram or cache on disk [19:13] mape: that doesn't work on dynamic templates? [19:13] creationix: but not gzip per request for static stuff [19:14] creationix: mape: agreed, but node-compress is pretty rough, and the only other option I know is gzip in a subshell [19:14] mape: ah k [19:14] creationix: mape: do you really have a lot of dynamic content that needs gzipping [19:15] mape: creationix: every common website on the world that uses dynamic templates? [19:15] c4milo has joined the channel [19:15] creationix: in my experience, most truly dymanic content (stuff that is always unique) is for web applications and doesn't need to be indexed. In that case it's better to send json, not html [19:15] creationix: for public facing stuff with server-generated html, then you can do page caching and gzip at that level [19:16] creationix: but I guess it would be nice to gzip even the json sent to apps [19:16] creationix: if it's large enough [19:16] _announcer: Twitter: "'ve Just written a node.js key value store in 29 line code;) # bcs3" [de] -- Mario Volke. http://twitter.com/webholics/status/24219454565 [19:16] indexzero: creationix: less data is always better [19:16] webben: I think it's better for websites and webapps not to depend on clientside JS. [19:16] creationix: webben: really? [19:17] webben: Yes. [19:17] indexzero: also, is this about the connect gzip issue? I think JimBastard was up all night to make sure our blog didn't go down ;) [19:17] creationix: you want old-school form + post for things like gmail [19:17] lianj: for information on the internets that is. [19:17] isaacs has joined the channel [19:17] saikat: indexzero: http://github.com/egorich239/node-compress/issues#issue/3 ? [19:17] saikat: i'm trying to fix that right now too [19:17] creationix: that was a question [19:17] saikat: did you guys get anywhere with it? [19:17] creationix: indexzero: yeah, mape's issue is the same as your guys I think [19:17] indexzero: saikat: Thanks, I was so discouraged because I thought it was another node-http-proxy issue [19:18] webben: Yes ... and gmail does have that pretty much in it's Basic View ... it's just not done with progressive enhancement. [19:18] indexzero: I've been hacking the crap out of that this week [19:18] creationix: indexzero: I'm pretty sure just disabling gzip will fix it for now [19:18] Utkarsh has joined the channel [19:18] webben: *its [19:18] mu-hannibal has joined the channel [19:18] saikat: er, that link is also for mape then [19:18] mape: creationix: Demanding simple dynamic websites require js doesn't seem like a solution at all, and it is shitty for frontend performance [19:18] romanb has joined the channel [19:18] indexzero: creationix: I think we have that disabled now, we're perf / stress testing the node-http-proxy component of nodejitsu now [19:18] mape: saikat: using gzip? [19:18] saikat: mape: yes [19:18] creationix: mape: actually in my experience it's faster on the frontend [19:18] indexzero: ACTION really wishes there were better traces on uncaught error events :-/ [19:18] creationix: less bandwidth at the cost of more cpi [19:18] creationix: *cpu [19:19] saikat: also mape indexzero i have a fork of the original waveto code that doesn't have a lot of the improvements that ivan's code has but it at least does not leak [19:19] webben: that's not always a good tradeoff. [19:19] mape: creationix: to have to parse all the js, touch the dom, reflow/repaint everything? [19:19] saikat: and lets you gzip using zlib [19:19] saikat: if you are interested [19:19] saikat: but the right thing to do is probably just fix this lib [19:19] creationix: well, not redraw everything in the client [19:19] mape: How do you prevent it from redrawing when you are inserting all the dynamic content [19:19] Zuardi has joined the channel [19:19] creationix: an application is dynamic, don't redraw the entire thing at once [19:20] mape: Are you talking one page apps or "standard" websites? [19:20] creationix: mape: one page apps [19:20] mape: Well then sure it might make sense, I'm talking good ole websites [19:20] mape: That randomize images, updates news posts etc etc [19:20] creationix: well old fasioned websites can usually page cache [19:21] creationix: and then you just gzip inside that cache [19:21] mape: Yeah, but dropping gzip support because some sites don't use it seem strange [19:21] creationix: but either way, it helps to gzip html or json [19:21] creationix: mape: no, I'd be dropping it because it breaks stuff and I don't have time to fix it [19:21] mape: For sure, gzip is essential [19:21] mape: Yup [19:21] webben: mape: Could you throw squid in front and gzip with that maybe? [19:22] mape: webben: Using nginx for my server [19:22] mape: can't do that on joyent hosting (that I know of) [19:22] creationix: and it's a real pain to accept patches into core connect. I'd love a high-quality gzip module maintained by someone who really needs it [19:22] saikat: creationix: you dropping gzip from connect? [19:23] saikat: because of this memory issue? [19:23] creationix: not yet, but if it keeps breaking stuff, I might [19:23] saikat: bleh [19:23] creationix: I really do want it to just work [19:23] saikat: has this module been problematic before too? [19:23] creationix: yep [19:23] webben: mape: Can nginx not gzip content proxied from node? [19:23] saikat: hm [19:24] saikat: maybe it's just trying to be too fancy [19:24] cosbynator has joined the channel [19:24] creationix: my original one is super simple [19:24] webben: mape: http://wiki.nginx.org/NginxHttpGzipModule ? [19:24] saikat: creationix: link? [19:24] creationix: just pipe data through a gzip child process [19:24] mape: webben: It works fine if you use nginx as a proxy, that is what I'm doing. But like I said, on hosting like joyent I don't have nginx [19:24] saikat: oh [19:24] saikat: but slower =/ [19:24] saikat: i assume then right? [19:24] creationix: yep [19:24] webben: mape: oh i see [19:25] saikat: creationix: the gzip module this one was forked from unfortunately isn't maintained by the guy anymore, but i had gotten it working fairly consistently for my app [19:25] saikat: but it doesn't have a lot of the features this one provides [19:25] saikat: no streaming api, for example [19:25] saikat: and not async [19:25] saikat: but i'm not really convinced [19:25] saikat: gzip needs to be async [19:25] saikat: and i feel like a lot of the issues the current module has is by trying to implement async gzipping using v8 threads [19:25] creationix: making cpu intensive things like gzip async actually makes a server slower overall [19:25] saikat: though that is mostly a feeling, i have no idea what's actually leaking yet [19:25] creationix: it just keeps the event loop running a little smoother [19:26] saikat: would you be willing to have a synchronous, simpler gzip in connect then? [19:26] saikat: that doesn't also try to do bzip2 and all this other stuff [19:26] creationix: simpler is good [19:26] benburkert has joined the channel [19:27] _announcer: Twitter: "@romanborschel I'm still missing Objective-J, although V8 / Node.js is very cool." -- Pierre Minnieur. http://twitter.com/pminnieur/status/24220107916 [19:29] _announcer: Twitter: "@ Webholics and what is her beautiful with # Codet node.js? :) # Bcs3" [de] -- Christian Scholz. http://twitter.com/mrtopf/status/24220244751 [19:30] sudoer has joined the channel [19:32] mu-hannibal has joined the channel [19:34] creationix: gerad: how do you want to transfer articles to howtonode? [19:34] evanpro has joined the channel [19:34] creationix: should I just scrape them one a day [19:34] zeekay has joined the channel [19:34] gerad: creationix: whatever you think is best [19:34] gerad: creationix: most of them originally came in markdown [19:34] creationix: gerad: could I have the source to your site (markdown) [19:35] gerad: creationix: ? it's posterous [19:35] creationix: oh, I see [19:35] creationix: I guess I'll just scrape them [19:35] creationix: I can convert html to markdown [19:35] gerad: creationix: I can send you what people originally sent me, which is generally markdown [19:35] creationix: should I preserve the original publish dates [19:35] gerad: creationix: if that's easier [19:35] creationix: or republish them the date I move them [19:36] gerad: creationix: I'll defer to your judgement [19:37] zeekay has joined the channel [19:37] crodas has joined the channel [19:40] _announcer: Twitter: "There is a feeling that # nodejs forgets to close the files - after some time waddle EMFILE: Too many open files" [ru] -- Devgru. http://twitter.com/Devgru/status/24220871755 [19:40] _announcer: Twitter: "A little #nodejs Twitter OAuth script http://post.ly/wz8X" -- Tane Piper. http://twitter.com/tanepiper/status/24220899591 [19:42] _announcer: Twitter: "@ Webholics Jo, I have our Aachen Open Data project, so once started, could do with a pong make over. # Node.js" [de] -- Christian Scholz. http://twitter.com/mrtopf/status/24221009058 [19:42] dannycoates has joined the channel [19:42] gerad: creationix: so do you want the original markdown or are you cool? [19:42] Anti-X: original markdown IS cool [19:43] creationix: gerad: I'm cool [19:43] gerad: creationix: awesome thx [19:43] creationix: gerad: I think I'll republish them a day at a time [19:43] creationix: I'll have to update the content some [19:44] creationix: gerad: hmm, who are the authors though [19:44] creationix: should I just create a node knockout author [19:44] gerad: your call... they're generally listed in the top of the post [19:44] digitalspaghetti: anyone know whats up with nodul.es? [19:44] gerad: so, node knockout author is probably fine [19:45] creationix: I see [19:46] SubStack: hooray, pull request accepted [19:46] saikat: mape: creationix JimBastard indexzero http://github.com/saikat/node-compress-lite - it's not great (not using buffers, for example), but it doesn't leak memory [19:46] saikat: also no bzip support or really any of the things egorich added since his fork [19:47] saikat: in case you guys need a quick fix for now [19:47] Aria has joined the channel [19:48] V1 has joined the channel [19:48] mikew3c_ has joined the channel [19:52] _announcer: Twitter: "@ericflo You really hate NodeJS/MongoDB don't you, haha." -- Shane Reustle. http://twitter.com/Reustle/status/24221594122 [19:53] siong1987 has joined the channel [19:53] _announcer: Twitter: "@thekarladam The ARM binary was probably for WebOS’ node.js support. Which is what I’m trying to add to iPhone." -- Steve Streza. http://twitter.com/SteveStreza/status/24221664556 [19:55] _announcer: Twitter: "@SteveStreza Why would you want node.js support on a mobile device exactly?" -- Karl Adam. http://twitter.com/thekarladam/status/24221791572 [19:56] Me1000 has joined the channel [19:56] KungFuHamster has joined the channel [19:57] gerad has left the channel [19:58] _announcer: Twitter: "@thekarladam Because node.js is awesome. Also a fun hacking project." -- Steve Streza. http://twitter.com/SteveStreza/status/24221912431 [19:58] rcy: node repl color in comint shell buffers in emacs doesn't work, I see the escape codes. The node man page doesn't tell me how I can turn that off, is there a way? [19:59] TobiasFar has joined the channel [19:59] rcy: oops, of course I just find it after asking, env NODE_NO_READLINE=1 does it. [20:01] hober: rcy: I submitted a patch to ryah to make node DTRT when run under emacs [20:01] hober: (don't do crazy TTY crap when SHELL=dumb) [20:01] hober: but he hasn't accepted the patch [20:01] hober: yet anyway [20:02] hober: maybe I should ping him again about it [20:02] bsstoner has left the channel [20:02] rcy: how is node doing it differently than say ls --color? the latter does work for me with ansi-color-for-comint-mode-on [20:03] rcy: maybe emacs could be improved instead [20:04] _announcer: Twitter: ""WebOS2.0: Java VM from Node.js changed with" Ah! ! Node.js great. http://ow.ly/2CP7F" [ja] -- lanius. http://twitter.com/lanius/status/24222305346 [20:05] v8bot has joined the channel [20:05] stagas has joined the channel [20:05] hober: rcy: compare what node does to what, say, irb does, or the python repl, or the sbcl repl, etc. [20:06] _announcer: Twitter: "nearly finished the nodejs chat example, realised i need to read up on javascript syntax" -- Richard Sage. http://twitter.com/richardsage/status/24222387719 [20:06] hober: those other repls all understand the generic mechanism for the process that runs them to say "don't do crazy readline stuff / ansi escape sequences" [20:06] hober: they don't have their own, one-off mechanisms [20:06] mitkok has joined the channel [20:06] jspiros has joined the channel [20:06] eisd has joined the channel [20:07] hober: it seems silly to have to teach emacs about NODE_NO_READLINE when node could just use the same generic mechanism that other tools use (TERM=dumb) [20:07] rcy: node is using readline, isnt it? [20:07] zum: node has its own mini-readline [20:07] jamescarr has joined the channel [20:08] Aria: Yeah, since readline's API is meant for synchronous use. [20:08] zum: quite a bit more simpler than gnu readline as well http://github.com/ry/node/blob/master/lib/readline.js [20:08] Aria: Yep. [20:09] KungFuHamster has joined the channel [20:09] MikhX_ has joined the channel [20:10] rcy: we should, as hober's patch presumably does, test for process.env['TERM'] === 'dumb' in readline.js [20:10] siong1987 has joined the channel [20:10] hober: yeah, that's the whole patch essentially. [20:10] _announcer: Twitter: "@SteveStreza FWIW, webOS was using V8 long before adding node.js support." -- zach. http://twitter.com/zadr/status/24222639445 [20:10] hober: ACTION digs up the link [20:10] romanb has joined the channel [20:11] _announcer: Twitter: "@_imanel yeah, it's cool! just can't get it to work with Android, but so far I saw only one node.js based solution that worked with it..." -- Hubert Łępicki. http://twitter.com/hubertlepicki/status/24222688653 [20:11] hober: http://github.com/hober/node/commit/8eb0c1c29dcc8c6cd9ddab35b3aa140630cdd88a [20:13] rcy: thanks hober, I just patched mine locally with that [20:13] rtomayko has joined the channel [20:14] TobiasFar has joined the channel [20:15] zum: speaking of readline, is there an official way to write to stdout and use readline at the same time without messing up the terminal? [20:15] _announcer: Twitter: "Hooray! I have successfully built, installed, and run Node.js. It was easy! #nodejs" -- Jeremy Kahn. http://twitter.com/jeremyckahn/status/24222953473 [20:16] zum: I implemented a readline.puts that erases the line before writing to the tty, and refreshes it afterwards... but it seems a bit hacky [20:17] rcy: hober: do you know if anyone has hacked up an inferior node mode for emacs yet? [20:18] hober: rcy: use js-comint.el [20:18] hober: then (setq inferior-js-program-command "node") [20:18] rcy: thanks [20:19] tmpvar has joined the channel [20:19] brainfck` has joined the channel [20:19] mikeal has joined the channel [20:20] FuzzYspo0N has joined the channel [20:20] brainfck`: does anybody know a large node.js application where I can have a look at its source code? [20:22] zum: oh, there's a mailing list for node.js as well, didn't know that [20:24] ooooPsss: brainfck`: http://github.com/ry/node/wiki [20:25] brainfck`: ooooPsss: thx [20:25] eisd: `v git node modules @ brainfck` [20:25] v8bot: brainfck`: Modules - node - GitHub - http://wiki.github.com/ry/node/modules [20:25] eisd: brainfck`: ^ that one as well [20:26] brainfck`: eisd: wow, thanks [20:27] satori_ has joined the channel [20:31] _announcer: Twitter: "@_imanel ah, right. I was looking at this http://chat.nodejs.org/ but just looked at source code ant it's not using WebSocket at all!" -- Hubert Łępicki. http://twitter.com/hubertlepicki/status/24223871255 [20:35] austinfromboston has joined the channel [20:35] KungFuHamster has joined the channel [20:40] codelotus has left the channel [20:42] _announcer: Twitter: "good lord, a month in node.js world is equivalent of an year." -- frangossauro. http://twitter.com/frangossauro/status/24224554341 [20:43] marshall_law has joined the channel [20:44] dannycoates has left the channel [20:44] orlando has joined the channel [20:45] creationix has joined the channel [20:49] _announcer: Twitter: "I just wrote two same Web Service with node.js. I have not had that much fun programming in a while. #in #nodejs" -- MikeMKH. http://twitter.com/MikeMKH/status/24224903145 [20:49] _announcer: Twitter: "began to transfer their projects to the Narwhal NodeJS - Narwhal certainly conceptual, but NodeJS much better "moves"" [ru] -- Sergey Berezhnoy. http://twitter.com/veged/status/24224932403 [20:50] Zuardi has left the channel [20:51] _announcer: Twitter: "I just wrote two small Web Services using node.js, very fun. I plan on checking it out some more. #in #nodejs" -- MikeMKH. http://twitter.com/MikeMKH/status/24225021092 [20:55] JimBastard: connect did it again [20:55] JimBastard: arggg [20:56] hellp has joined the channel [20:57] _announcer: Twitter: "@rmurphey Gotcha. Yeah, charting real-time data is a great use case for Node.js. Good luck." -- Derek Gathright. http://twitter.com/derek/status/24225402386 [21:01] JimBastard: im about to park this http in front of connect and be done with it [21:01] JimBastard: lol [21:01] JimBastard: http-cache [21:02] aaronbloho_afk: http-cache? [21:04] _announcer: Twitter: "#nodejs is cool." -- Rui Vieira. http://twitter.com/ruimvieira/status/24225800566 [21:05] mattikus has joined the channel [21:06] JimBastard: !tweet @ruimvieira yes, yes it is! [21:07] dilvie has joined the channel [21:08] Tim_Smart has joined the channel [21:08] saikat: JimBastard: did you see what i mentioned earlier [21:08] saikat: about a non-leaky gzip module? [21:08] saikat: in case that is in fact your problem [21:08] JimBastard: saikat: yeah, its not just gzip [21:08] JimBastard: something else causing connect to die [21:08] JimBastard: or wheat [21:08] saikat: oh that sucks =/ [21:09] JimBastard: im tossing a varnish in front of our blog, will work for now [21:09] KungFuHamster has joined the channel [21:09] _announcer: Twitter: "exposing native libraries in node, great read: https://www.cloudkick.com/blog/2010/aug/23/writing-nodejs-native-extensions/" -- Bruno Fernandez-Ruiz. http://twitter.com/olympum/status/24226095017 [21:13] aho has joined the channel [21:14] tav has joined the channel [21:14] dgathright has joined the channel [21:14] googol has joined the channel [21:15] dgathright has joined the channel [21:16] bpadalino: just saw this, thought it was interesting since it uses libevent and libeio - but none of the other node stuff it seems: http://github.com/mathgladiator/node.ocaml [21:16] mikeal has joined the channel [21:17] FuzzYspo0N: cool JimBastard. how so? [21:17] JimBastard: ? [21:17] JimBastard: http-cache? [21:18] FuzzYspo0N: no the blog [21:18] FuzzYspo0N: sorry , replied late ;p [21:22] joshbuddy has joined the channel [21:24] mape: JimBastard: turned of gzip and still not working? [21:24] JimBastard: yeah [21:24] mape: :/ [21:24] JimBastard: randomly not responding [21:24] JimBastard: ive got a solution but i havent slept in a while [21:24] JimBastard: i need to nap before i can deploy [21:25] Anti-X: sleep, sounds like a good plan [21:26] _announcer: Twitter: "@daagaak UIWebView is very opaque. The only control you have is to execute a string of JS. Node defines an API for things like files/ntwrkng" -- Steve Streza. http://twitter.com/SteveStreza/status/24227036907 [21:26] creationix: JimBastard: so no clue still? [21:27] JimBastard: just stops responding to requests without warning. i gotta assume it has something to do with v0.3.0 of http-proxy, but all other non connect apps are working [21:27] tilgovi has joined the channel [21:27] JimBastard: and we are getting no errors on our end [21:27] bradleymeck has joined the channel [21:27] JimBastard: the only thing that changed was the proxy code [21:27] creationix: strange [21:28] creationix: can you repeat it without the proxy [21:28] creationix: I guess that's hard without real traffic [21:28] JimBastard: unknown, yeah [21:28] JimBastard: without being able to reproduce [21:28] JimBastard: ill keep digging into it [21:29] bradleymeck: creationix, where have you been? [21:30] creationix: I've was driving to Utah last weekend, and I was at CouchCamp most this week [21:30] bradleymeck: oooo [21:30] creationix: not much internet at either [21:30] callen: creationix: well it's Utah. [21:31] bradleymeck: at couchcamp? odd i would think, got pixel buffers in node-sfml (can see in test/test.js), dunno if the npm install works, but it seems fine on this comp for linux, dont have a mac machine here to test [21:31] creationix: bradleymeck: what's the npm name? [21:32] bradleymeck: sfml [21:32] tmpvar: bradleymeck, nice. very very nice. [21:32] FuzzYspo0N: how does it use smfl bradleymeck? [21:32] bradleymeck: the fin event loop integration is killing me [21:32] _announcer: Twitter: "After pondering for weeks, i'll settle on Couchdb + jquery + node.js for my next Opensim related dev project + debian, my faithfull mistress" -- Peter C. Host. http://twitter.com/PeterHost/status/24227419910 [21:33] bradleymeck: its a binding to sfml, incomplete but enough to get started w/ pixel buffers and sound [21:33] FuzzYspo0N: interesting, what sort of application can it be used for? [21:33] tmpvar: bradleymeck, nice. we'll have to hook node-ogl and this thing together at some point :) [21:33] FuzzYspo0N: application as in usage [21:34] tmpvar: that, and damn.. we could do sound! [21:34] bradleymeck: right now nothing until i get the events working with node's event loop [21:34] FuzzYspo0N: bradleymeck: but idealistically? [21:34] tmpvar: good luck bradleymeck, keep up the good work :) [21:34] codelotus has joined the channel [21:35] bradleymeck: desktop applications, hw accelerated graphical work [21:35] bradleymeck: not sure what to do about Buffers to pixel arrays cause they can be invalidated... [21:36] FuzzYspo0N: bradleymeck: but using node how so :) Just curious [21:37] bradleymeck: node can work with the pixel buffers, eventually hooking in node-ogl should let us do some intense graphics generated by node itself, and working directly with sound to be send out to card through js. so mostly filters / transferance of formats i would think, could do screen scraping i guess [21:38] FuzzYspo0N: hmm , true. [21:38] FuzzYspo0N: cool, bradleymeck. [21:39] Nohryb has joined the channel [21:39] bradleymeck: i know creationix wanted to redo a canvas api so im trying to get the rending stuff done before events etc. gotta work on the text stuff then move onto rotations/etc [21:40] creationix: bradleymeck: still compiling SFML [21:40] bradleymeck: yea XD [21:40] bradleymeck: its a beast but its fast once there [21:40] tmpvar: I'm interested in writing a ogl backed canvas implementation :) [21:40] creationix: well, I just compiled ghc (to get pandoc) so my laptop is already quite warm [21:40] FuzzYspo0N: lol [21:41] creationix: tmpvar: does your gl thing create windows on most platforms? [21:41] tmpvar: creationix, negatory. thats where sfml comes in :) [21:41] creationix: I see [21:42] creationix: I think gl would be the ideal base api for node graphics [21:42] creationix: supported on all platforms and accellerated on most [21:42] FuzzYspo0N: yea its better [21:42] FuzzYspo0N: esp if going mobile [21:42] tmpvar: i mean, i've seen it work on mac and linux.. but it was in no way ideal [21:42] creationix: a hardware accelerated canvas like on webos would be rad [21:43] FuzzYspo0N: lol, valve on mac shows its just fine, tmpvar [21:43] FuzzYspo0N: steam* [21:43] tmpvar: word, its in my queue so if anyone starts it before I do, please let me know [21:43] tmpvar: FuzzYspo0N, was referencing node-ogl [21:43] FuzzYspo0N: tmpvar: oh of course [21:43] FuzzYspo0N: sorry i misread [21:43] FuzzYspo0N: lol [21:44] tav has joined the channel [21:44] creationix: bradleymeck: your waf file needs help [21:44] creationix: OSError: [Errno 2] No such file or directory: '/home/bradley/Documents/node-sfml/build' [21:44] creationix: hard-coded paths [21:44] FuzzYspo0N: ;p [21:44] bradleymeck: mmm well that shouldnt be there [21:44] tmpvar: this is why I'm building carena now, widgets and such, testable in the browser [21:44] creationix: tmpvar: have you messed with webos yet [21:45] tmpvar: i have not [21:45] creationix: I hope it comes on a device with nice hardware soon [21:45] creationix: hardware accelerated canvas is the native api [21:45] tmpvar: nice, that sounds hot. [21:45] creationix: + html5 and css3 [21:45] tmpvar: and soon node, right? [21:45] creationix: yep [21:45] FuzzYspo0N: ftw [21:45] tmpvar: love it [21:45] creationix: for background processes [21:45] tmpvar: yep [21:45] creationix: but the current hardware sucks [21:46] creationix: well, compared to iPhone and nexus one that is [21:46] tmpvar: right [21:46] creationix: it's still a pretty good smart phone [21:46] bradleymeck: mmm not in my waf file i guess npm uploaded my dev build dir... ugg [21:46] creationix: the palm pre has about the same power of the original eeepc [21:47] creationix: I wrote sousaball on one of those [21:47] creationix: (eeepc that is) [21:48] HerrTopf has joined the channel [21:50] davidwalsh has joined the channel [21:50] bradleymeck: sent out a new version, (warn me if this makes you install sfml again) [21:51] creationix: ok [21:52] creationix: bradleymeck: version 0.0.3? [21:52] creationix: it's downloading SFML again [21:54] sveimac has joined the channel [21:55] lakin has joined the channel [21:56] lakin: it appears node.js/expressjs doesn't do any cookie handling on its own. Which cookie library does anyone recommend? I'm considering http://github.com/jed/cookie-node but it doesn't appear to be in npm, so I'm thinking it isn't used often. [21:57] creationix: lakin: it should [21:57] creationix: lakin: if you have session you have cookies [21:57] creationix: it's all connect middleware stacked [22:00] lakin: creationix: aaah, so it's connect that provides the cookie support. /me googles [22:00] altamic has joined the channel [22:02] lakin: creationix: thanks. That was my issue, I totally forgot about connect as a possibility for google searches - I found this - http://senchalabs.github.com/connect/cookieDecoder.html [22:05] aho: creationix, postgres-js -> "See test.js for sample usage." but there is no test.js :> [22:08] _announcer: Twitter: "@ Gabrielpires type? node.js up was inspired by jquery." [pt] -- Fernando Takai. http://twitter.com/fernando_takai/status/24229463208 [22:08] brainfck` has joined the channel [22:09] jchris has joined the channel [22:09] googol has joined the channel [22:10] _announcer: Twitter: "oh hell to the yes! #node.js && #ocaml -- http://github.com/mathgladiator/node.ocaml" -- ian eyberg. http://twitter.com/feydr/status/24229591876 [22:12] cloudhead has joined the channel [22:12] gerred has joined the channel [22:14] njero has joined the channel [22:14] tav has joined the channel [22:14] cloudhead: hey anyone got an example of including libraries in a wscript? [22:15] _announcer: Twitter: "node.js is so yesterday, it's all about node.ocaml (http://github.com/mathgladiator/node.ocaml)" -- Postmodern. http://twitter.com/postmodern_mod3/status/24229871345 [22:15] cloudhead: like, -I/usr/include/xx and -lbz2 [22:15] cloudhead: I need to add some things to the build process [22:15] creationix: aho: I thought I got rid of the bad docs [22:15] creationix: well, the node-persistence docs should be right [22:15] creationix: I think [22:16] shockie has joined the channel [22:16] creationix: aho: http://github.com/creationix/node-persistence/blob/master/README.markdown [22:16] aho: well, just saw that yesterday [22:16] creationix: postgres-js is the js driver to node-persistance [22:16] shockie has joined the channel [22:16] creationix: but slightly less old [22:16] aho: current rule of thumb state? [22:17] creationix: what do you mean? [22:17] aho: stable-ish? [22:17] creationix: yeah, stablish [22:17] aho: ace [22:17] _announcer: Twitter: "Announcing node.ocaml http://blog.mathgladiator.com/2010/09/announcing-nodeocaml.html #nodejs #ocaml" -- Régis Gaidot. http://twitter.com/rgaidot/status/24230021411 [22:17] creationix: I know my postgres-js will die under high concurrency [22:17] creationix: aurynn: had a good fork [22:18] creationix: and FransWillian has a rewrite that's pretty good too [22:18] aho: make the docs point to persistence then ;) [22:18] creationix: not sure what's worse, bad docs or bad code [22:18] aho: persistence... "four backend drivers"... following list contains 3 hum :> [22:19] creationix: heh [22:20] aho: nuke() :D [22:20] aho: "node-persistence is [licensed][] under the MIT license." []? :) [22:21] creationix: markdown fail looks like [22:22] creationix: the problem with releasing a new open source project every couple of weeks is that several suffer bit rot [22:22] aho: [text](url) [22:22] creationix: [text][] works too [22:22] creationix: but you can put the link at the bottom [22:22] _announcer: Twitter: "Drinking the Node.js Kool-Aid - Comments http://ow.ly/18Y05v" -- marcelobernard. http://twitter.com/marcelobernard/status/24230331329 [22:23] nwhite has joined the channel [22:23] _announcer: Twitter: "Drinking the Node.js Kool-Aid http://journal.paul.querna.org/articles/2010/06/12/node-js/" -- Charl van Niekerk. http://twitter.com/charlvn/status/24230369690 [22:24] nwhite has joined the channel [22:28] _announcer: Twitter: "Top story on the #nodejs Daily http://bit.ly/aOxf1J ▸ Getting Started with Node.js on Windows - Matthew Podwysocki - CodeBetter.Com" -- Samuel Morello. http://twitter.com/ouvanous/status/24230647900 [22:30] gerred has joined the channel [22:41] saikat_ has joined the channel [22:41] gerred has joined the channel [22:42] isaacs has joined the channel [22:44] lakin has joined the channel [22:50] _announcer: Twitter: "Twitter Streaming API + node.js + Appcelerator Titanium = Real-time tweet map http://bit.ly/axQBO6" -- Charl van Niekerk. http://twitter.com/charlvn/status/24232001290 [22:52] maushu: Hmm, found process.dlopen [22:58] charlenopires has joined the channel [23:01] charlenopires_ has joined the channel [23:03] davidwalsh has joined the channel [23:03] leitgebj has joined the channel [23:04] bpot has joined the channel [23:05] tav_ has joined the channel [23:09] crodas has joined the channel [23:16] _announcer: Twitter: ""the JVM just isn’t a great platform for fast cycle web development" http://journal.paul.querna.org/articles/2010/06/12/node-js/" -- Eivind Uggedal. http://twitter.com/uggedal/status/24233608923 [23:17] creationix: maushu: yeah, but too bad it only opens .node files [23:18] _announcer: Twitter: "@maccman I'm trying Juggernaut 2, but 'node server.js' dies immediately with node.js:63 throw e; TypeError:Object S? Any ideas?" -- Jon Evans. http://twitter.com/burmasauce/status/24233730715 [23:22] _announcer: Twitter: "Twitter Streaming API + + node.js Appcelerator Titanium = Real-time map tweet http://j.mp/9pL1ST nodejs # # # titanium twitter" [nl] -- Régis Gaidot. http://twitter.com/rgaidot/status/24234028986 [23:26] ryanfitz has joined the channel [23:26] _announcer: Twitter: "good introduction to npm http://j.mp/dB9Oj6 #nodejs #npm" -- Régis Gaidot. http://twitter.com/rgaidot/status/24234282267 [23:27] _announcer: Twitter: "Thanks to @substack, lulzbot the node.js irc bot is now much better! http://github.com/jesusabdullah/lulzbot" -- Joshua Holbrook. http://twitter.com/jesusabdullah/status/24234342889 [23:28] jesusabdullah: YEAH BABBY [23:28] SubStack: thanks to me! [23:28] jesusabdullah: Sheah [23:29] SubStack: ACTION is a helper [23:29] jesusabdullah: indeed [23:29] lazukars has joined the channel [23:29] lazukars: What is, currently, the best way to send form data in node? [23:29] isaacs: creationix: hey, how come nodeknockout is listed as the owner of the npm intro post i wrote? that's so super unfair, dude [23:30] creationix: you want to be the author? [23:30] creationix: no problem [23:30] FuzzYspo0N: lol [23:30] isaacs: creationix: it's not a big deal. i'll edit on my fork and remove the first paragraph if you're cool with that [23:30] dipser: lazukars: GET ;) [23:30] creationix: isaacs: sure [23:32] _announcer: Twitter: "Wonder how many node.js talks are going to be submitted to #codemash.." -- Benjamin W. Smith. http://twitter.com/benjaminws/status/24234641986 [23:32] isaacs: creationix: fixed on my fork in 802e1767045a068119dfb25302a48dec6b96eeb8 [23:33] isaacs: creationix: i was happy to see that article on there, and then i looked for my giant head, and was totally let down /o\ [23:33] creationix: isaacs: well, giant head is back! [23:33] isaacs: awesome!! [23:33] creationix: ACTION loves curl + git am [23:34] isaacs: as it should be!! [23:34] isaacs: hehe [23:35] isaacs: creationix: this is handy too: http://github.com/isaacs/dotfiles/blob/master/.extra.bashrc#L668-681 [23:35] creationix: neat [23:35] isaacs: creationix: then you can just do: ghadd isaacs ; git pull isaacs [23:35] creationix: I like to cherry pick [23:35] isaacs: sure. [23:35] isaacs: you can also do stuff like: git cherry-pick isaacs/master [23:35] creationix: but yeah, that would make it easier to cherry pick instead of curl from github.com [23:36] isaacs: or git cherry-pick [23:36] isaacs: but yeah, i usualy fetch and cp, too [23:36] isaacs: can you specify a range with cherry-pick or rebase or merge? seems like that'd be handy [23:36] isaacs: a lot of times i want to cherry-pick 4 commits or something [23:37] creationix: not sure [23:37] isaacs: it'd be rad to do git cherry-pick deadbeaf..cafebad [23:39] _announcer: Twitter: "http://geddyjs.org/ Node.js web framework" -- jakescott. http://twitter.com/jakescott/status/24235122661 [23:44] rtomayko has joined the channel [23:44] saikat_: is http://github.com/bnoordhuis/node-profiler built in to node? [23:44] saikat_: oh i guess not [23:44] saikat_: node-waf build is usually the way to build these things right? [23:44] cloudhead has joined the channel [23:45] orlandov: saikat_: v8 has a built in profiler that's accessible from node [23:46] saikat_: can i get heap snapshots with it from node? i was under the impression that i'd need to use this project [23:46] KungFuHamster_ has joined the channel [23:46] orlandov: i *think* it's enabled with the --prof and --prof_auto flags [23:46] orlandov: not sure [23:46] siong1987 has joined the channel [23:47] isaacs: orlandov: i was under the impression that heap profiling with node was not (yet) possible [23:47] isaacs: ACTION may very well be wrong of course [23:48] saikat_: isaacs: yeah that module seems to allow it [23:48] maushu: heap? Hmmm. [23:48] saikat_: but that was my impression too [23:48] maushu: Debugger? [23:48] isaacs: saikat_: then that's kinda neat. [23:48] saikat_: or well, ryah also soeemed to think so last night [23:48] isaacs: saikat_: i mean, really awesome [23:48] saikat_: seemed* [23:48] orlandov: idk about heap profiling, but you can do stuff like described here http://code.google.com/p/v8/wiki/V8Profiler [23:49] isaacs: WOW, this is neat! [23:50] orlandov: isaacs: ?? [23:50] isaacs: orlandov: talking about http://github.com/bnoordhuis/node-profiler [23:50] KungFuHamster_ has joined the channel [23:50] orlandov: the module itself is super tiny [23:51] isaacs: yeah [23:51] orlandov: seems like maybe something that would be useful baked into core [23:51] isaacs: +1 [23:51] isaacs: though... i don't really see how to get at the heap stats... [23:51] isaacs: does it just output a v8.log and then you have to parse it with their funky tool? [23:51] orlandov: hmmm ThrowException(Exception::Error(String::New("profiler.heapSize is deprecated, use process.memoryUsage().heapTotal instead."))); [23:52] googol has joined the channel [23:52] isaacs: hm. [23:53] orlandov: oh i see, those two methods are deprecated, but you can still use the HEAP_STATS and HEAD_SNAPSHOT flags to with pause/resume [23:55] shajith has joined the channel [23:57] _announcer: Twitter: "I just saw the slides on the @ emerleite NodeJs very good. http://slidesha.re/cUbAut" [pt] -- Davi Busanello. http://twitter.com/davibusanello/status/24236256712 [23:57] mikeal has joined the channel [23:59] icey has joined the channel