[00:00] rbranson: FATAL ERROR: Allocation failed - process out of memory [00:00] rbranson: is this basically a for-sure leak in my code? [00:01] atmos_: no, you could be low on memory on the system [00:01] rbranson: 1.42GB free, it's not using it up [00:01] rbranson: I think it's broken code [00:01] rbranson: like i keep appending to a buffer i probably should have flushed [00:01] atmos_: does anyone know of a good example of handling dns resolution and failed connection errors with the node http client / [00:04] c4milo has joined the channel [00:04] murz has joined the channel [00:05] _announcer: Twitter: "Cloud9: Node.js-powered IDE in the Sky - The Changelog - Open Source moves fast. Keep up. http://bit.ly/d5xmzS" -- Joshva. http://twitter.com/joshva/status/3236864555229184 [00:06] tanepiper: tj: latest update of canvas fails to build for me :( [00:06] tj: tanepiper: yeah I need to release again right away [00:06] tanepiper: ahh, k [00:09] _announcer: Twitter: "#nodejs is really powerfull and easy, chat server is running ! wonderfull works at https://github.com/LearnBoost/Socket.IO-node #socket.io" -- Franck Ernewein. http://twitter.com/FranckErnewein/status/3237873411170304 [00:10] Artem_S has left the channel [00:10] _announcer: Twitter: "WISH I COULD GO TO THIS: http://camp.nodejs.org staying tuned for the global tour." -- Tristen Brown. http://twitter.com/fallsemo/status/3238290429845504 [00:10] softdrink: whoa, you can do digraphs in vim. i was unaware. [00:13] derferman has joined the channel [00:15] _announcer: Twitter: "Would love to go to node.js camp, but it's in San Fran! Sounds like just the thing to get me started. http://bit.ly/9casnl" -- Charlie Hothersall. http://twitter.com/chigley101/status/3239371629137921 [00:15] AAA_awright_ has joined the channel [00:17] cloudhead has joined the channel [00:17] bradleymeck has joined the channel [00:20] tony_ has joined the channel [00:21] aconbere has joined the channel [00:21] tanepiper: is JimBastard hiding from us spamming him for nodejitsu invites? [00:21] ryah_: sounds like poeple are excited about node camp :) [00:21] igorgue has joined the channel [00:22] bradleymeck: node camp? [00:22] isaacs[away]: bradleymeck: OMGNODECAMPYOUMEANYOUHAVENTSIGNEDUPWTF!!??? [00:22] tanepiper: ryah_: definetly, but looking forward to nodeEU camp :) [00:22] isaacs[away]: bradleymeck: http://camp.nodejs.org/ [00:22] rauchg_ has joined the channel [00:22] ryah_: node eu camp sounds like a good excuse for me to hang out in germany for 3 weeks :) [00:23] bradleymeck: i would love to go, but would need to check ticket prices [00:23] konobi: shame node camp is on while my sister is visiting =0( [00:23] mikeal has joined the channel [00:23] bradleymeck: for airlines* [00:23] isaacs: bradleymeck: yeah, i think that's going to be the blocker for a lot of folks. [00:23] isaacs: but it should be a fun day [00:24] tanepiper: well germany is just under two hours from here - SF a *little bit* further :) [00:24] stride: ryah_: where in germany are you from btw? [00:24] bradleymeck: if i could find another person to do a really long road trip from austin to there would work too [00:24] bradleymeck: or if I get hired in SF in next couple weeks lol [00:25] CIA-95: node: 03Ryan Dahl 07writev * rf66e95b 10/ (4 files in 4 dirs): Add callback to socket.write(), fix test-sendfds - http://bit.ly/bVrF6b [00:25] bradleymeck: why the F is the JNI so hard to link to properly [00:25] ryah_: stride: cologne [00:25] zemanel has joined the channel [00:25] ryah_: stride: im not from there - just lived there [00:25] bradleymeck: i cannot find a single cross platform way [00:26] bradleymeck: let alone finding where it is stored [00:26] stride: ryah_: oh, okay :) [00:26] ryah_: f66e95b <-- and there was much rejoicing [00:27] Anti-X: HURRAY [00:27] bradleymeck: yay [00:27] Anti-X: ? [00:27] stride: \o/ [00:27] bradleymeck: can we eventually phase that out "drain" event then? (prolly a small perf gain, but also means only 1 callback easily to writes) [00:27] WRA: fuuuu [00:28] WRA: why is node.js so good [00:28] halfhalo: its made of unicorns and magic, thats whay [00:28] halfhalo: why* [00:28] isaacs: WRA: because it's javascript wrapped around async IO patterns. [00:28] WRA: Its so easy to do anything [00:28] WRA: I know isaacs :D [00:28] isaacs: oh, ok :) [00:28] tanepiper: Anti-X: https://github.com/ry/node/commit/f66e95b [00:28] bradleymeck: cause you understand how to start things and let them finish, rather than watching that pot boil [00:28] isaacs: ACTION thought it was a question, not a statement [00:28] WRA: so I'm going to build a visual scripting language on top of it methinks [00:28] Anti-X: tanepiper? [00:29] tanepiper: oh, i thought you were questioning what f66e95b was? [00:29] Anti-X: no i can read :p [00:29] ryah_: it seems writev is faster [00:29] ryah_: whew [00:29] isaacs: hahaha [00:30] isaacs: that woul'dve sucked [00:30] bradleymeck: ryah_ can we move to a higher level of waf for node-waf sometime? [00:30] tanepiper: WRA: VisualNode6 D: Also, you might want to check out https://github.com/Tim-Smart/node-gtk [00:30] AAA_awright_ has joined the channel [00:30] ryah_: bradleymeck: how so? [00:30] davidc_ has joined the channel [00:31] bnoordhuis: nodeeu camp in germany? [00:31] bnoordhuis: make it amsterdam and i'm coming [00:31] WRA: what does it do tane? [00:31] bradleymeck: 1.6 (well technically head) has java linking built in for the evil that is finding the JDK [00:31] tanepiper: WRA: wrapper for gtk so you can script desktop apps on top of node (i assume that;s what you mean by visual scriping language?) [00:31] WRA: nah [00:32] WRA: more like objects and routines have a graphical representation [00:32] WRA: and users connect the dots [00:32] tanepiper: oh, that's what i'm doing (well trying to do) [00:33] tanepiper: probably going to rip some of http://code.google.com/p/jsplumb/ off [00:33] WRA: its a good use of time, visual scripting languages are the new hotness [00:33] stride: that's what they say about visual foo since years and yet they only gained traction in very specialized fields.. like max msp for audio 'n stuff [00:34] WRA: unreal has it and its used [00:34] tanepiper: mine is mainly for organisation trees and business process visualisation for organisations [00:34] stride: WRA: yeah, "specialized fields" [00:34] tanepiper: sounds boring (and it is) so i need to make it as fun as possible to code :) [00:35] WRA: Stride: gaming is a specialized field? [00:35] WRA: Fuuuu [00:35] rbranson: 1kb message decode 10000000 times in 9163ms (1091345.629160755/sec) [00:35] rbranson: V8 is so fast [00:35] shimondoodkin: tanepiper: can you share your code... [00:35] stride: WRA: I'd call it a highly overrated part of our industry but.. yeah ;> [00:35] tanepiper: shimondoodkin: nope, commercial product :) [00:36] _announcer: Twitter: "Yeah! http://bit.ly/92gizF socket.io canvas & harmony, was a good opportunity to play with #nodejs" -- Mickael Daniel. http://twitter.com/mklabs/status/3244709245886464 [00:36] WRA: stride: :( [00:36] WRA: why overrated? [00:36] tanepiper: plus i haven't started on that bit yet, i'm finishing off the ExtJS-based stuff [00:36] shimondoodkin: well i want to build a visual ide for bpm [00:37] WRA: business process management? [00:37] shimondoodkin: yes [00:37] tanepiper: i think i'll go with something like this first though: http://www.codeproject.com/KB/scripting/graphic_javascript_tree.aspx [00:37] stride: WRA: that's just my highly subjective view, I don't play games.. :) [00:37] _announcer: Twitter: "@smarx Show us a simple CRUD app with node.js and Tables please." -- r u crazy. http://twitter.com/rucrazy/status/3245139413696512 [00:38] tanepiper: just use the algorithim to build canvas/svg based, instead of DOM based [00:38] WRA: Ah, I mean, you're talking about my bread and butter here ;) [00:38] tanepiper: shimondoodkin: check out J Q Walker II's stuff [00:38] stride: WRA: sorry for that :) [00:38] tanepiper: his article is "A node-positioning algorithm for general trees [00:38] WRA: Why don't you play games btw? [00:38] tanepiper: which might be more suited to BPM [00:39] shimondoodkin: http://www.ajax.org/#demos/elements.flowchart [00:40] stride: WRA: no idea, never fascinated me. I started "programming" with qbasic as a kid and did that instead when I was bored [00:40] jarek: how can I pass variable from callback function to parent function? [00:40] tanepiper: shimondoodkin: the ajax.org guys even said "don't use that" - apparently it's broken [00:40] WRA: mine was apple basic [00:40] jarek: I guess this has something to do with closures, which I don't understand... [00:40] WRA: and I used it to make games. [00:40] WRA: :D [00:40] tanepiper: + it's LGPL [00:40] shimondoodkin: humm [00:41] shimondoodkin: i want something like this but mit/bsd [00:41] bnoordhuis: jarek: define an object in the outer scope (the parent) and set a property in the the inner scope [00:41] stride: WRA: :D [00:41] bnoordhuis: jarek: that should read: a property of the object [00:41] jarek: bnoordhuis: it won't work if the callback is asynchronous [00:41] jarek: bnoordhuis: I'm getting undefined [00:41] WRA: obviously the flavor of basic you learned as a kid determines whether you play games or not [00:42] bnoordhuis: jarek: could you post a gist of your code [00:43] jarek: bnoordhuis: http://jsbin.com/upisi4/edit [00:43] stride: WRA: well, that and probably the fact that I sucked at every single computer game I've tried over the years.. :) [00:43] ajpi has joined the channel [00:44] tanepiper: i once worked on a game, nearly got a publisher but the team kersploded :( [00:44] bnoordhuis: jarek: that won't work no [00:44] tanepiper: but we used spidermonkey as our underlying scripting engine, 10 years ago [00:44] tanepiper: JS FTW! [00:44] bnoordhuis: but truthfully, you're taking a wholly wrong approach here [00:45] Dreamer3: 10 years ago [00:45] Dreamer3: that's a long time [00:45] bnoordhuis: your function should be something like function ls(dir, callback) { /* ... */ } [00:45] tanepiper: Dreamer3: yea, http://games.gamepressure.com/view_screen.asp?ID=8330 :) [00:45] bnoordhuis: of course you can just use fs.readdir() then :) [00:46] bnoordhuis: and what you probably are after is fs.readdirSync() [00:46] SubStack has joined the channel [00:46] jarek: bnoordhuis: uhm... I have to think about it for while :) [00:47] zemanel_ has joined the channel [00:47] WRA: its cool stride [00:47] jarek: s/for while/for a while [00:47] WRA: I started making a NodeJS multiplayer game framework [00:47] Gruni has joined the channel [00:47] WRA: you know, to solve all the hard problems and provide a nice API for people to build on [00:47] WRA: unfortunately when I took a step back and looked at I was building... it was not a game framework anymore :( [00:48] tanepiper: someone started implementing the minecraft server in nodejs :) i hope that takes off cos it would be awesome [00:48] tanepiper: WRA: what was it? [00:48] WRA: Turns out I'm working on a Cloud based operating system that uses browsers for terminals [00:48] maqr has joined the channel [00:49] miccolis has joined the channel [00:49] WRA: I'm working on integrating Xen today so I can do some virtualization as well [00:49] jarek: bnoordhuis: I see now [00:49] tanepiper: you should speak to SubStack WRA :) [00:49] jarek: bnoordhuis: I don't really need the read function to be asynchronous [00:49] jarek: so I can just do [00:49] stride: WRA: heh :) [00:49] jarek: function ls(dir) { var files = fs.readdirSync(dir); return files;} [00:49] bnoordhuis: jarek: yep, that's it [00:49] jarek: works like ls command on linux :) [00:50] jarek: bnoordhuis: thanks for help [00:50] bnoordhuis: or just call fs.readdirSync() directly [00:50] WRA: what is substack working on? [00:50] tj: does node expose the base64 api through buffers in later versions? [00:51] bnoordhuis: tj: what do you want to do exactly? [00:51] WRA: oh hey, substack and I made the same remote method invocation system [00:51] tj: bnoordhuis: I need it in my addon, I cant gracefully defer some of my logic to js-land [00:51] tj: not easily at least [00:51] _announcer: Twitter: "Just signed up for node.js camp in SF! http://camp.nodejs.org/" -- Bob Burbach. http://twitter.com/peregrinator/status/3248670195580928 [00:52] _announcer: Twitter: "RabbitMQ » Blog Archive » rabbitmq + node.js = rabbit.js - Messaging that just works http://instapaper.com/zhy2x1x1Q" -- Greg. http://twitter.com/grego/status/3248686209433600 [00:52] tj: but if I could initialize a base64 Buffer in c++ and then grab the data that would be rad [00:52] bnoordhuis: tj: you mean expose in the c++ api? [00:52] WRA: actually ours are different but yeah I should talk to substack [00:52] bnoordhuis: right [00:52] tj: yeah [00:52] bnoordhuis: no, unfortunately [00:53] tj: damn [00:53] bnoordhuis: tj: you could fake by invoking the JS constructor of buffer [00:53] hsuh has joined the channel [00:53] bnoordhuis: but that's kind of tricky [00:54] tj: yeah I might have to [00:54] bnoordhuis: prone to break when the JS API changes [00:54] tj: either that or I paste in a base64 implementation [00:54] tj: yet again [00:54] tj: duplicating that to the max [00:55] tj: it is in some of my deps too, but they dont expose it as public either [00:55] bnoordhuis: i actually did some work on a generalized base64 encoder/decoder [00:55] bnoordhuis: but i never got around to finish and submit it [00:55] bnoordhuis: i realize that doesn't really help :) [00:56] tj: :D [00:56] tj: its not a huuuuge deal to inline one, but I would rather not [00:57] zemanel has joined the channel [00:58] twoism has joined the channel [00:58] inimino: isaacs ⋱ Why do you think that `sudo chown -R $USER /usr/local` is more secure than just using sudo with npm? [00:59] jashkenas: inimino: fight the good fight ;) [00:59] inimino: heh [01:00] inimino: isaacs ⋱ In the latter case I'm exposed to potentially evil npm packages, in the former, I've just removed any protections at all between my PATH and my user account. [01:00] Dreamer3__ has joined the channel [01:01] ajsie has joined the channel [01:01] _announcer: Twitter: "@shauber @tranqy Screw all of them, learn JavaScript and node.js." -- Steve Streza. http://twitter.com/SteveStreza/status/3251008423600129 [01:01] pagameba has left the channel [01:01] sudoer has joined the channel [01:03] tanepiper: god, flash sucks [01:04] Dreamer3 has joined the channel [01:06] Dreamer3 has joined the channel [01:06] _announcer: Twitter: "Rabbitmq + node.js = rabbit.js - Messaging that just works: Comments http://bit.ly/bwsbEJ" -- Rk Tech. http://twitter.com/arkay_tech/status/3252241607692288 [01:06] Dreamer3 has joined the channel [01:06] _mythz has joined the channel [01:13] _announcer: Twitter: "Very late on this, but this is very exciting. Server code might never look the same after Node.js: http://tinyurl.com/237ffq9 #nodejs" -- Julien Letrouit. http://twitter.com/jletroui/status/3254028871929856 [01:16] ajsie: anyone that has used jsgi? [01:16] ajsie: or connect? [01:16] tj: connect yeah [01:16] _announcer: Twitter: "Node.JS Camp SF on EventBrite: http://campnodejssf.eventbrite.com/" -- Guillermo Rauch. http://twitter.com/rauchg/status/3254959361490944 [01:18] ajsie: hah [01:18] ajsie: you are the creator of course you use it =) [01:19] ajsie: wanted some unbiased opinions [01:19] tj: :p [01:19] tj: it needs love, far from perfect [01:19] tj: but does the trick for now [01:20] ajsie: tj: since im going to create my own framework i need to create some middlewares [01:20] AAA_awright_ has joined the channel [01:20] tj: gotcha [01:21] ajsie: tj: so its between jsgi and connect .. i've looked at jsgi .. its following a chaining pattern .. a middleware could be used for another middleware thus creating vertical linkage [01:21] Athox has joined the channel [01:21] ajsie: tj: or at least that is what i understood from looking at it 2 min...is it the same with connect? [01:21] softdrink has joined the channel [01:22] tj: "a middleware could be used for another middleware"? what do you mean [01:22] _announcer: Twitter: "RabbitMQ + node.js http://bit.ly/c2mNtK - nice but ZeroMQ is where the action is these days." -- Don Park. http://twitter.com/donpark/status/3256333222543360 [01:22] tj: a convenience that connect provides is how you define your middleware stack [01:22] tj: in a linear manor, making it easier to read / modify etc [01:22] ajsie: tj: cant you chain together jsgi middlewares ? [01:23] tj: you could with connect too [01:23] jpld has joined the channel [01:23] tj: its js :p you can do pretty much anything you want [01:24] rauchg_: tj: except cleanly accessing function argument names [01:24] ajsie: tj: but jsgi seems to be created for it: "a function that takes in one argument, “app” (a Jack application, possibly wrapped in other middleware) and returns another Jack application" [01:24] tj: rauchg_: yup lol [01:25] tj: ajsie: app.use(anotherApp) [01:25] tj: you can do this with connect as well [01:25] tj: a "middleware" is just a function, it can do anything [01:25] tj: invoke other functions [01:25] tj: blah blah [01:26] Athox: recursive server! [01:26] ajsie: okay [01:27] _announcer: Twitter: "http://dl.dropbox.com/u/219436/node.js/handson/build/html/index.html # shibukawa" [sw] -- Yohei Sasaki. http://twitter.com/yssk22/status/3257552796131328 [01:27] tj: ajsie: IMO if you were to use jsgi, you misewell just not use anything.. because a function can call another function without jsgi lol [01:27] tj: trivial stuff [01:27] ajsie: yeah [01:27] ajsie: true =) [01:28] ajsie: documentation : connect > jsgi [01:28] zemanel_ has joined the channel [01:29] F3ar has joined the channel [01:30] alexfner: are there any concurrency figures I can look at for node? [01:30] alexfner: I'm trying to figure out if it would be good for a certain function I want for an application [01:30] F3ar: Getting these errors when running the tests: http://f3ar.pastebin.com/cKz0MCRt [01:30] ajsie: tj: i guess jsgi is just a spec [01:30] F3ar: Any ideas and how to fix? [01:30] alexfner: and the issue would be the possible number of concurrent users [01:30] ajsie: so all jsgi compliant apps are used in the same way [01:30] tj: yeah [01:31] ajsie: tj: nr of modules: jsgi > connect [01:31] _mythz has left the channel [01:32] Anti-X: "When we said “sexy” we really meant “slick.” Can you make those changes?" [01:32] MasterCJ has joined the channel [01:32] ajsie: tj: but i dont quite get connect .. you fire up a server for it? [01:32] halfhalo: sexy/slick>working [01:32] ajsie: tj: so connect is like wrapping node.js? [01:33] tj: it extends http.Server [01:33] tj: so yeah, a connect.Server is a http.Server which you can call listen() etc [01:33] ajsie: okay [01:34] tj: damnit Buffer::New is private so I cant even do that [01:34] tj: grr [01:34] tj: fuck private shit, god damn [01:35] softdrink has joined the channel [01:38] maqr has joined the channel [01:38] JimBastard has joined the channel [01:39] _announcer: Twitter: "Rabbit.JS: http://www.rabbitmq.com/blog/2010/11/12/rabbitmq-nodejs-rabbitjs/" -- Guillermo Rauch. http://twitter.com/rauchg/status/3260552969191424 [01:45] WRA: heya [01:45] WRA: does require pass by value or reference [01:45] F3ar: Getting these errors when running the tests: http://f3ar.pastebin.com/cKz0MCRt [01:45] F3ar: Any ideas and how to fix? [01:45] Anti-X: WRA, everything in JS is pass by reference [01:46] Anti-X: unless it's a literal [01:47] WRA: yeah, but require is implemented in C [01:47] xicubed_ has joined the channel [01:47] WRA: (kakow) [01:47] JimBastard: reporting in from joyent [01:47] JimBastard: wooooot [01:50] micheil has joined the channel [01:50] ajsie: tj how do i use Connect.format() ? [01:50] tj: ajsie: it doesnt exist anymore [01:50] tj: old docs probably [01:51] ajsie: ok are there newer docs than this: http://senchalabs.github.com/connect/ [01:51] ajsie: JimBastard: you are at joyent? [01:51] JimBastard: yeah hanging out [01:51] ajsie: cool [01:51] WRA: require passes by value [01:51] ajsie: you are going to collaborate with them with nodejitsu? [01:52] WRA: Anti-X :D [01:52] JimBastard: nodejitsu is for everyone! [01:52] tanepiper: JimBastard: how goes the private beta (and when do we all get invites :p) [01:52] JimBastard: im just hanging out [01:52] JimBastard: tanepiper: i've been travelling all day. indexzero sent out some, im going to be sending more [01:52] JimBastard: i want to add a few more things :-) [01:53] tanepiper: cool. I think i signed up with the correct email before i dumped my old one :) [01:53] ajsie: tj: so basically every middleware i want to use is passed as argument like: Connect.createServer(Connect.router, Connect.jsonrpc, Connect,session, function(req,res) { ... }); ? [01:53] ajsie: thats it? [01:53] Anti-X: WRA, i think you may have misunderstood what pass by value means [01:54] ajsie: JimBastard: oh .. there are beta invitations already? [01:54] ajsie: JimBastard: you promised me to get one! [01:54] JimBastard: ajsie: they are coming! indexzero done started sending them out when i was afk [01:54] JimBastard: once i get back to home base im on it [01:54] ajsie: JimBastard: =) [01:54] JimBastard: WRA: requires is written in JS [01:54] ajsie: ok [01:54] JimBastard: SO SAYS WE ALL [01:55] rwaldron has joined the channel [01:55] Anti-X: require('some_mod').a = true;console.log(require('some_mod').a); [01:55] Anti-X: will output true [01:55] Anti-X: i think. at least it should. [01:55] _announcer: Twitter: "No longer a Node.js virgin. w00t!" -- Nicholas C. Zakas. http://twitter.com/slicknet/status/3264746698579968 [01:56] jvolkman_ has joined the channel [01:57] Anti-X: virgin.js [02:00] _announcer: Twitter: "StartupNews: Rabbitmq + node.js = rabbit.js - Messaging that just works http://bit.ly/d0mcTO" -- Web Startup Group. http://twitter.com/WebStartupGroup/status/3266037302697984 [02:01] tanepiper: woop, looks like the video for my talk should be up this weekend [02:03] jesusabdullah: Sweet [02:03] jesusabdullah: Did it go well, tanepiper ? [02:04] delapouite has joined the channel [02:05] tanepiper: seems to, positive feedback from people [02:05] tanepiper: i kept it quite short and feature light: http://www.slideshare.net/tanepiper/techmeetup-edinburgh-nodejs-talk [02:05] tanepiper: just covered some basics to give everyone an idea of what it's about [02:06] tanepiper: anyway, 2am so i'm off to bed :) [02:07] _announcer: Twitter: "@SteveStreza @shauber didn't know heroku supported node.. I must admit I've been intrigued by node. Do love me some JS.." -- Aaron Junod. http://twitter.com/tranqy/status/3267759941091328 [02:09] ajsie: anyone here uses connect? [02:09] stagas: ajsie: a lot [02:10] Anti-X: do you have alzheimers or something? [02:10] Anti-X: didn't you ask that question twice already in two days? [02:10] ajsie: did i? [02:10] _announcer: Twitter: "Announcing a Node.js Book Project http://lru.jp/ld96" -- _pablo. http://twitter.com/_pablo/status/3268434473263105 [02:11] Anti-X: i'm sure it was you, but maybe it wasn't about connect [02:11] _announcer: Twitter: "Node.js: Building a Simple Web Service [Video Tutorial] http://lru.jp/23nc" -- _pablo. http://twitter.com/_pablo/status/3268629411926016 [02:11] Anti-X: nvm [02:11] Anti-X: bedtime [02:12] _announcer: Twitter: "@devongovett, just went through your at Node.js tutorial @nettuts. Great stuff. Thanks for taking time to do that. Excited to learn more." -- Kenton Newby. http://twitter.com/kentonnewby/status/3268874791297024 [02:12] tony_ has joined the channel [02:13] Anti-X: what happened to _frankie? [02:13] SubStack has joined the channel [02:22] jakehow has joined the channel [02:22] bartt has joined the channel [02:23] programble has joined the channel [02:24] saikat has joined the channel [02:26] tony_ has joined the channel [02:28] ajsie: connect it is [02:28] ajsie: instead of jsgi [02:29] ajsie: good choice ? [02:29] JimBastard: ajsie: if you do your shit right the middleware tier doesnt matter [02:29] JimBastard: you can use any "middleware" assuming it takes: req, resp, and callback [02:29] JimBastard: as the arguments [02:29] ajsie: JimBastard: but good to have something to start with [02:30] ajsie: unneccessary to write everything from scratch [02:30] JimBastard: ajsie: i use raw http server and then "steal" some of the connect middlwares [02:30] JimBastard: its not as much work as you'd think [02:30] JimBastard: you can use the connect middle wares with drop and replace [02:30] ajsie: yeah i now [02:34] ajsie: JimBastard: what was you occassion in San Francisco ? [02:36] JimBastard: ajsie: nodejitsu! [02:36] JimBastard: im meeting up with a bunch of node people out here [02:36] JimBastard: joyent, couchone, learnboost [02:36] JimBastard: etc [02:36] ajsie: ah .. was like a conference? [02:36] JimBastard: naaah [02:37] JimBastard: trying to get the word out for launch, getting some feedback [02:37] ajsie: ah ok [02:37] JimBastard: :-) [02:38] jesusabdullah: v8> Math.sqrt(566) [02:38] v8bot: jesusabdullah: 23.790754506740637 [02:38] _announcer: Twitter: "Simplifying the stack is one of the biggest appeals of node.js, in my opinion. LAMP vs Node+db. Not to mention using JS for everything." -- Henrik Joreteg. http://twitter.com/HenrikJoreteg/status/3275423936942080 [02:42] ben_alman has joined the channel [02:45] ajsie: JimBastard: You see Ryan there? [02:46] JimBastard: yeah hes sitting a couple seats down. isaacs is here too, so is mikeal [02:46] ajsie: cool [02:46] ryah_: ajsie: hi [02:46] JimBastard: celebrity node party [02:46] ajsie: ryah_: hi =) [02:46] ajsie: yeah haha [02:46] _announcer: Twitter: "@HenrikJoreteg I'm planning on doing some node.js and socket.io hacking tomorrow if you want to get together and hacks for a few hours." -- Adam Baldwin. http://twitter.com/adam_baldwin/status/3277577414250497 [02:47] AAA_awright_ has joined the channel [02:48] _announcer: Twitter: "Writing tests for #stashit using #expresso on #node.js: https://github.com/mindscratch/stashit" -- Craig W. http://twitter.com/mind_scratch/status/3278091359092736 [02:53] sh1mmer has joined the channel [02:57] dysinger has joined the channel [02:59] saikat: trying to get socket.io to use flashsocket, and i am running into an issue where it keeps telling me that "this.target.invokeASMethod is not a function" - has anyone else seen this before [02:59] saikat: it's loading the swf correctly (this is on my localhost) [03:01] davidascher has joined the channel [03:03] dguttman_ has joined the channel [03:10] brianmario has joined the channel [03:11] pavl-dude has joined the channel [03:11] pavl-dude: hi [03:11] pavl-dude: I have a question regarding the http.createClient [03:12] _announcer: Twitter: "Hummingbird is an interesting use MonogoDB + Node.js services: Real time ecommerce analytics with MongoDB http://slidesha.re/9yBI0r" [ja] -- いのうえ たかひろ. http://twitter.com/doryokujin/status/3284139658715136 [03:13] pavl-dude: I have a problem when it comes using that to connect to another web server, it uses a lot of file descriptor on Centos but it seems to never release it... or close it sorry I am new at this [03:17] langworthy_ has joined the channel [03:19] sanduz2 has joined the channel [03:20] jchris has joined the channel [03:20] langworthy has joined the channel [03:20] pavl-dude: heya? :) [03:23] tim_ has joined the channel [03:23] _announcer: Twitter: "booked tickets to node.js camp" -- Peter Braden. http://twitter.com/peterbraden/status/3286764529651713 [03:26] _announcer: Twitter: "read something stupid rabbitmq rabbitmq by debasishg rabbitmq + node.js = rabbit.js http://bit.ly/9H3Xo0 .. and" -- kschzt. http://twitter.com/kschzt/status/3287444308893696 [03:27] noahcampbell has joined the channel [03:28] mikeal has joined the channel [03:30] capndiesel has joined the channel [03:34] disqk has joined the channel [03:43] rwaldron has joined the channel [03:45] hzin has joined the channel [03:47] _announcer: Twitter: "# Shibukawa node.js Na is about perception and I heard a lot recently, survived the morning. I'll try this evening." [ja] -- mori_dev. http://twitter.com/mori_dev/status/3292748727721984 [03:47] robotarmy has joined the channel [03:48] paulwe has joined the channel [03:49] pavl-dude has joined the channel [03:50] pavl-dude: is anyone here? [03:50] atmos_: everyone is at the pub [03:51] mbrochh has joined the channel [03:51] mbrochh has joined the channel [03:51] pavl-dude: lol [03:51] pavl-dude: mind if I ask questions? :P [03:54] ajsie: dont ask if you can ask [03:54] ajsie: that's the only question you can't ask here [03:54] ajsie: :) [03:55] pavl-dude: sorry I was reading the node doc [03:55] pavl-dude: ok [03:55] pavl-dude: well I am using the http.createClient to request a DBSlayer (another web service) [03:56] pavl-dude: the problem is over concurrency I run out of file descriptor rapidly [03:56] pavl-dude: is there a way to control that ? [03:56] atmos_: you're prolly not closing them [03:56] pavl-dude: closing? destroy? [03:56] pavl-dude: sorry noob here [03:57] pavl-dude: do you have an example of how you close it? [03:58] ajsie: im pretty new to node myself .. i'll let someone else answer that =) [03:58] pavl-dude: I read in the doc "stream.destroy" [03:58] pavl-dude: Closes the underlying file descriptor. Stream will not emit any more events. [03:59] pavl-dude: is it attached to a request or response object? [03:59] pavl-dude: :( [04:00] pavl-dude: muh :S [04:00] pavl-dude: lol [04:02] ajsie: impressive Sproutcore app http://scsudoku.appspot.com/ [04:02] atmos_: pavl-dude: yeah man either you're trying to do something too quickly or really doing something wrong [04:03] atmos_: running outta file descriptors is hard to do on most systems [04:03] pavl-dude: I am sure I am doing something wrong :( [04:04] pavl-dude: well it is pretty simple, for each request I get to my http server, I create a new http client to request another web service [04:04] pavl-dude: if I remove the http client part everything is fine [04:04] pavl-dude: that means creating http client is evil [04:04] _announcer: Twitter: "#nodejs There seem to be a lot of misconceptions about what Node is and why it’s worth using http://bit.ly/cICAbZ" -- nanhapark. http://twitter.com/nanhapark/status/3297211605585920 [04:08] ben_alman has joined the channel [04:09] _announcer: Twitter: "Some guru Javascript / Node.js / Websockets awake and who can give me a little help? # # Codebits codebits2010" [pt] -- Tomás Senart. http://twitter.com/tsenart/status/3298333980364801 [04:10] wilmoore has joined the channel [04:13] AAA_awright_ has joined the channel [04:28] brianmario has joined the channel [04:29] robotarmy has joined the channel [04:41] _announcer: Twitter: "In all this dynamic vs. static language stuff, you know what's getting lost? #nodejs! It's written in C, and uses JS. best of both worlds." -- NodeCore. http://twitter.com/nodecore/status/3306552853266432 [04:42] EyePulp has joined the channel [04:43] murz has joined the channel [04:45] _announcer: Twitter: "On an actual bus in SF with node.js people, non-ironically." -- Matt Ranney. http://twitter.com/mranney/status/3307399532257281 [04:48] _announcer: Twitter: "The possibility to inspect your code on the fly is ridiculously awesome #nodejs https://github.com/dannycoates/node-inspector" -- Xavier Damman. http://twitter.com/xdamman/status/3308156469911552 [04:59] stagas_ has joined the channel [05:06] _announcer: Twitter: "node.js moment this evening, "please try it anyway" is the stance from time to time .... question # shibukawa" [ja] -- Yohei Sasaki. http://twitter.com/yssk22/status/3312665816465409 [05:06] _announcer: Twitter: "From http://dl.dropbox.com/u/219436/node.js/handson/build/html/webapp/http_server.html. HTTP! = Web apps without a thrust." [ja] -- Yohei Sasaki. http://twitter.com/yssk22/status/3312821584531456 [05:08] herbySk has joined the channel [05:08] deadlyicon has joined the channel [05:14] masahiroh has joined the channel [05:15] JimBastard has joined the channel [05:16] jashkenas has joined the channel [05:20] AAA_awright has joined the channel [05:23] mbrochh has joined the channel [05:29] sechrist has joined the channel [05:29] sechrist: Has anybody implemented amazon's simpledb into a module or something? -- Don't see one specifically for simpledb but I see other modules for various other AWS services [05:29] jacobolus has joined the channel [05:29] jakehow has joined the channel [05:32] _announcer: Twitter: "I wish I could. Monday, December 14 @ San Francisco http://camp.nodejs.org/" [ja] -- K Suzuki. http://twitter.com/suzu_v/status/3319145923878912 [05:40] mAritz has joined the channel [05:43] AAA_awright_ has joined the channel [05:43] mr_daniel has joined the channel [05:43] springmeyer has joined the channel [05:44] _announcer: Twitter: "http://tinyurl.com/2vz6fod The Last 10%: Lessons From Building Node.js Apps - fortnightlabs" -- dog_race. http://twitter.com/dog_race/status/3322217546907648 [05:52] jchris has joined the channel [05:54] tony_ has joined the channel [05:57] _announcer: Twitter: "I did it! "WebSocket Real-time Web applications - node.js hands-on v1.0 documentation" - http://j.mp/aFQAKa" [ja] -- mori_dev. http://twitter.com/mori_dev/status/3325521244983296 [05:59] AAA_awright_ has joined the channel [06:04] davidascher has joined the channel [06:10] _announcer: Twitter: "Dear JavaScript, Please fail silently: undefined.something should return undefined, period. Thanks, Xavier #nodejs" -- Xavier Damman. http://twitter.com/xdamman/status/3328817661743104 [06:23] faust45 has joined the channel [06:24] _announcer: Twitter: "node.js we make it It is okay version." [ja] -- Yohei Sasaki. http://twitter.com/yssk22/status/3332348523319296 [06:28] alexfner has joined the channel [06:31] AAA_awright_ has joined the channel [06:41] tk has joined the channel [06:44] _announcer: Twitter: "Raw node.js, Cookie was himself as usual I have to parse or not. Express / Geddy but partly because I use do it yourself." [ja] -- Yohei Sasaki. http://twitter.com/yssk22/status/3337421202661376 [06:47] _announcer: Twitter: "Well, let's see how node.js will cope" [ru] -- Artem Iglikov. http://twitter.com/arti_kz/status/3338107017502720 [06:52] _announcer: Twitter: "”I grabbed the "Hello world!" examples from both Node.js and Rhino running on Jetty ”" -- yoshitaka fujisawa. http://twitter.com/yoshifuji_tokyo/status/3339281078689792 [06:55] _announcer: Twitter: "Just installed and setup Node.js. Wondering if it could be a cool tool for messaging apps with flex and JSamf." -- Simeon Bateman. http://twitter.com/simBateman/status/3340172854824961 [07:02] galaxywatcher has joined the channel [07:07] _announcer: Twitter: "@simBateman I've been looking at node.js a bit lately... some really interesting stuff." -- boushley. http://twitter.com/boushley/status/3343091335430144 [07:23] mbrochh has joined the channel [07:23] robotarmy has joined the channel [07:23] shirro has joined the channel [07:27] sanduz2 has joined the channel [07:27] AAA_awright_ has joined the channel [07:30] kjeldahl has joined the channel [07:45] intacto has joined the channel [07:48] _announcer: Twitter: "twerk is a node.js module that makes sending and receiving messages on a stream a breeze. http://bit.ly/d8RXIO" -- Rick. http://twitter.com/rbranson/status/3353467376631808 [07:48] rbranson: micheil: ping :) [07:51] dohtem has joined the channel [07:51] dohtem has joined the channel [07:57] dohtem has left the channel [07:59] TomsB: http://pastebin.com/pJ7CMEye Little code example. [07:59] TomsB: docs: Each XML message is a complete XML document, terminated by a zero byte. [07:59] TomsB: So, I'd lke to split buffer when zero byte is received. [08:00] agnat has joined the channel [08:00] TomsB: How to do that? [08:01] rauchg_: rbranson: [08:01] rauchg_: nice [08:09] yeevgen has joined the channel [08:11] softdrink has joined the channel [08:13] _announcer: Twitter: "Oh I see. "DOM that can handle HTML and XML processing can be handled by jQuery notation is that." "On the server side using jQuery - node.js hands-on" - http://j.mp/96z6AW" [ja] -- mori_dev. http://twitter.com/mori_dev/status/3359822766411776 [08:14] mikew3c has joined the channel [08:14] SamuraiJack has joined the channel [08:17] dgathright has joined the channel [08:17] NemesisD has joined the channel [08:18] evanmeagher has joined the channel [08:19] NemesisD has joined the channel [08:19] NemesisD: whoops [08:19] jpld has joined the channel [08:22] AAA_awright_ has joined the channel [08:23] _announcer: Twitter: "Node.js (0.1.95) HTTP POST handling of form data. http://www.toxiccoma.com/random/nodejs-0195-http-post-handling-of-form-data" -- hisaitami. http://twitter.com/hisaitami/status/3362198164344832 [08:29] _announcer: Twitter: "node_debug ... Hmm ... Gwaenchaneundeut use ... But it looks sucks ... But even more amazing thing is that stupid turn in the window well nodejs ... Jjajeungnaseo I just tried installing Ubuntu VM ..; http://goo.gl/aIOsd" [ko] -- Jeong-won Ko. http://twitter.com/Highgarden/status/3363686643146752 [08:33] mikeal has joined the channel [08:34] deoxxa: nice google translate [08:34] _announcer: Twitter: "time jslint topdown.js -> 0.782s #node #jslint #v8" -- Antonio Vieiro. http://twitter.com/antoniovieiro/status/3365070931230720 [08:34] vid has joined the channel [08:35] nv: _nv_ [08:36] mikeal1 has joined the channel [08:38] dquestions has joined the channel [08:39] _announcer: Twitter: "With stuff like node.js, jquery, and MongoDB, seems like JavaScript is quickly becoming the lingua franca of web dev" -- Jasonvan. http://twitter.com/Jasonvan/status/3366293751205888 [08:44] Utkarsh has joined the channel [08:45] mjr_ has joined the channel [08:45] Druid_ has joined the channel [08:46] _announcer: Twitter: "@ Shibukawa retwis node.js / express version is what I could leave?" [ja] -- Yohei Sasaki. http://twitter.com/yssk22/status/3368032063717376 [08:48] xilostech has joined the channel [08:48] ewdafa has joined the channel [08:49] adambeynon has joined the channel [08:51] intacto has joined the channel [08:55] Ezku\_ has joined the channel [08:58] sechrist has joined the channel [08:59] jetienne has joined the channel [09:01] derferman has joined the channel [09:01] derferman has left the channel [09:01] _announcer: Twitter: "@mparka Same! Thinking about setting up nodejs + express + nginx + couchdb on an ec2 instance :))) I'm not sure how expensive it'll be tho." -- Jaime Bueza. http://twitter.com/jbueza/status/3371959559655424 [09:02] RevoOf: hi. how can i debug my c++ addon? (e.g. http://pastebin.com/BuvT9yxq ) [09:02] mjr_: With a C++ addon, you can use a real debugger like gdb. [09:02] mjr_: gdb node_g [09:02] mjr_: run program.js [09:04] alexfner: is there a place to learn about protocols and such? [09:04] alexfner: Like the irc bots [09:04] alexfner: the video streaming server in node [09:04] alexfner: audio streaming servers [09:04] alexfner: but I wouldn't know how to do any of those things [09:05] alexfner: so where do these people who make said things, find the specs? [09:05] ajsie: could one say that every computer operation is one of the CRUD methods? [09:06] mjr_: alexfner: at some level, most of those protocols have published RFCs. [09:07] alexfner: ah [09:07] mjr_: So usually there's a reasonable description on Wikipedia like this one for RTP: http://en.wikipedia.org/wiki/Real-time_Transport_Protocol [09:07] mjr_: But then the real, actual specification is here: http://tools.ietf.org/html/rfc3550 [09:07] stephank has joined the channel [09:08] mjr_: Many things follow that pattern. [09:08] RevoOf: mjr: must node_g be a directory? [09:08] mjr_: RevoOf: you get node_g if you do: ./configure --debug [09:08] RevoOf: when building node.js? [09:08] mjr_: But your issue is a linker error, so node_g and gdb aren't going to help you. [09:08] mjr_: Yes, when building node, you do: ./configure --debug ; make [09:09] mjr_: And you'll get node_g, which is a node executable with debugging symbols in and some other runtime consistency checks which are useful when debugging addons. [09:09] mjr_: But your issue is an undefined symbol, which is some sort of linker issue. [09:10] RevoOf: mjr_: ok. thanks. how can i find out more about the issue i have? [09:10] derren13 has joined the channel [09:10] mjr_: It's some kind of gtk thing, so however the ui-gtk library was built wasn't quite right. [09:11] mjr_: Or possibly wasn't even on this machine [09:11] mjr_: Or needs a new LD_LIBRARY_PATH or whatever BSD/OSX calls that. [09:11] mjr_: I need to get to bed. Good luck. [09:12] RevoOf: mjr_: good night ;) [09:12] ajsie: do you believe we could create AI in the future? [09:12] qFox has joined the channel [09:12] ajsie: damn wrong channel [09:12] fangel has joined the channel [09:13] Fullmoon has joined the channel [09:16] intacto has joined the channel [09:23] _announcer: Twitter: "node.js - The event-based programming environment for real-time Web # podcast http://chaosradio.ccc.de/cre167.html" [de] -- Felix. http://twitter.com/leobm/status/3377490823221248 [09:25] masahiroh has joined the channel [09:25] tg has joined the channel [09:29] evanmeagher: in js, if you want to create a temp var inside of a for loop, is it best to do so inside of an anon function? [09:29] evanmeagher: as in... [09:29] evanmeagher: for (...) { (function() { var blah = foo; use_blah(); })(); ) [09:29] RevoOf: hi. how can i debug linker errors in addons? [09:29] evanmeagher: instead of... [09:29] evanmeagher: for (...) { var blah = foo; use_blah(); } [09:30] RevoOf: or can i find out about them at build time? [09:32] ph^ has joined the channel [09:35] Ezku\_: evanmeagher: yes. [09:35] Ezku\_: failing to do so unacknowledgingly can lead to nasty bugs [09:35] evanmeagher: Ezku\_: thought so. having read js the good parts strikes again. :) [09:35] evanmeagher: thanks for the reassurance [09:36] Ezku\_: such as if you use blah in a deferred callback - the last value of blah will be reused in every instance, because blah is really scoped within the function containing for, not within each iteration of the loop [09:37] evanmeagher: right [09:37] Ezku\_: as a sidenote, coffeescript deals with this really nicely as well _b [09:37] evanmeagher: yeah, i've noticed [09:37] _announcer: Twitter: "@jerome_etienne No rate limit. Client sends as fast as it can. Node is vry fast, Node.js is practically falling asleep waiting 4 the nxt one" -- Mario Gonzalez. http://twitter.com/1dayitwillmake/status/3381015926018048 [09:38] d0k has joined the channel [09:40] _announcer: Twitter: "@1dayitwillmake nice to know. my server is in node.js too" -- Jerome Etienne. http://twitter.com/jerome_etienne/status/3381627409403904 [09:40] mikew3c has joined the channel [09:40] langworthy has joined the channel [09:41] mAritz: i was trying to explain node.js to my father (20 years of professional programming experience). finally gave up and just linked him to ryans jsconf.eu talk from 2009. hopefully that'll stop him from talking about threads and apache xD [09:41] mAritz: (but he's interested in it, which is awesome) [09:42] SubStack: if my 12-year-old brother can learn node... [09:42] SubStack: or maybe he's 11, anyways [09:43] mAritz: SubStack: you don't know his age? :D [09:43] herbySk has joined the channel [09:43] evanmeagher: at least your dad's a programmer [09:44] evanmeagher: i haven't been able to even begin to explain to my parents what i do in school or professionally for years [09:45] mAritz: mym mom compiled something a few days ago! they're awesome. (but i essentially dictated what to type :D ) [09:45] evanmeagher: cool! did she understand what was happening, to some degree? [09:46] hornbeck has joined the channel [09:46] adambeynon has joined the channel [09:48] SubStack: mAritz: Hey now, I have 3 younger siblings. I can't keep track of all of them. Or even 1 of them. [09:48] mAritz: ^^ [09:49] SubStack: my parents are also starting a company so they know how it works ;) [09:49] mAritz: evanmeagher: nah. she said "i'm programming", which was adorable. [09:49] evanmeagher: haha nice [09:50] SubStack: although a dental practice is pretty different from an internet startup [09:51] christophsturm has joined the channel [09:54] jetienne: im feeling old :) [10:00] tekky has joined the channel [10:01] themiddleman has joined the channel [10:04] slaskis has joined the channel [10:05] JimBastard has joined the channel [10:06] _announcer: Twitter: "Flask, Node.js, Express, Mustache, and Sammy are equally awesome!" -- Sean Ren. http://twitter.com/shawiz/status/3388313922699264 [10:08] _announcer: Twitter: "@ Nesquik69 otherwise, you're tested node.js?" [fr] -- Jérémy Barbe. http://twitter.com/capitainemousse/status/3388615778369536 [10:11] oal has joined the channel [10:12] _announcer: Twitter: "mongodb-rest (https: / / github.com / tdegrunt / mongodb-rest), but try and work properly. The debug node.js not figure out how ..." [ja] -- youichi kato. http://twitter.com/katoy/status/3389652446744576 [10:13] sixtus42 has joined the channel [10:14] herbySk has joined the channel [10:16] _announcer: Twitter: "Lessons From Building Node.js Apps http://t.co/tPoieQz" -- Rajesh Balasubramani. http://twitter.com/rajesh_bala/status/3390666470064128 [10:20] _announcer: Twitter: "node-canvas, a canvas implementation for nodejs: http://bit.ly/aH4fk5 ... sure makes it easy to render stuff on the server..." -- Leukeleu. http://twitter.com/leukeleu/status/3391786588315648 [10:23] _announcer: Twitter: "#todo alternative architecture to sticking node.js into Chromium: chimera of (1) ChromeOS (2) xyzLinux with node.js, on OpenVZ or Xen." -- breaking in 48 days . http://twitter.com/jerng/status/3392462009667584 [10:26] _announcer: Twitter: "Today I'm adding node.js to the mix of Chrome, HTML5, video.js. Very impressed with node so far: insanely easy to work with." -- David Harvey. http://twitter.com/david_harvey/status/3393186617626624 [10:26] _announcer: Twitter: "node canvas, HTML5 canvas Node.js (http://bit.ly/aH4fk5) is rendering on the server easy-peasy ... now install ff Node.js" [nl] -- Leukeleu. http://twitter.com/leukeleu/status/3393238924795904 [10:27] kkaefer: what's the best way to debug a script that is /not/ a long running process like a server? [10:27] kkaefer: the debuggers I found so far all seem to have a timeout of like 2 seconds between checking whether a node instance is listening on the debug port [10:27] kkaefer: but my script doesn't run that long [10:28] kkaefer: ah, it's debug-brk, not debug [10:28] _announcer: Twitter: "Node.js - Scalable Server Side Javascript http://tinyurl.com/3ym4n9n" -- blogfreakz. http://twitter.com/blogfreakz/status/3393836998987777 [10:30] mAritz: i need a uk proxy. public lists aren#t getting me anywhere right now and i don't have a credit card. does someone here have an idea? [10:33] intacto has joined the channel [10:34] shockie has joined the channel [10:37] tim has joined the channel [10:38] RevoOf has left the channel [10:39] jetienne: v8: "".substring(1) [10:39] v8bot: jetienne: "" [10:40] RevoOf has joined the channel [10:42] jetienne: v8: var a = 2; console.dir(a); a = 3; [10:42] v8bot: jetienne: TypeError: Object [object Object] has no method 'dir' [10:44] sixtus42 has joined the channel [10:46] _announcer: Twitter: "@sweemeng @sniiffit yes, decentralisation of web; on tech side, for shits, I want to know if I can chuck a node.js server inside Chromium" -- breaking in 48 days . http://twitter.com/jerng/status/3398256121880576 [10:47] _announcer: Twitter: "@illicitonion @cjm55 Seen http://nodejs.org/ ?" -- MarkDalgarno. http://twitter.com/MarkDalgarno/status/3398413647355904 [10:49] sixtus42 has joined the channel [10:50] dquestions has joined the channel [10:51] Yuffster_work has joined the channel [10:51] Tim_Smart has joined the channel [10:54] saschagehlich has joined the channel [10:54] saschagehlich: hey, do you know a good smtp/pop3 server for node? I tried n3 by andris9 but the example pop3_server.js does not work for me [10:55] saikat has joined the channel [10:56] femtoo has joined the channel [10:58] herbySk has joined the channel [11:00] robotarmy has joined the channel [11:05] shirro has joined the channel [11:07] Twelve-60 has joined the channel [11:09] tmedema has joined the channel [11:15] mraleph has joined the channel [11:15] zorzar_ has joined the channel [11:15] hassox has joined the channel [11:20] Nohryb has joined the channel [11:24] MattJ has joined the channel [11:25] keeto_ has joined the channel [11:26] _announcer: Twitter: "Podnakopit tickets for node-mysql-libmysqlclient, when the same address? # Nodejs # mysql" [ru] -- Oleg Efimov. http://twitter.com/SannisDev/status/3408433701199873 [11:29] _announcer: Twitter: "This is so cool... I gotta learn Node.js - http://ajaxian.com/archives/aves-game-engine" -- Jan Kuča. http://twitter.com/JanKuca/status/3409208594669569 [11:32] _announcer: Twitter: "#bettercms should use #node.js http://t.co/3WouASB" -- soliex. http://twitter.com/soliex/status/3409950273445888 [11:32] dquestions has joined the channel [11:33] _announcer: Twitter: "rabbitmq + node.js = rabbit.js «provide MESSAGING BETWEEN BROWSERS, and between application servers, and so on.» (cap. mine)" -- Claudio Cicali. http://twitter.com/caludio/status/3410148567556096 [11:34] _announcer: Twitter: "@ JanKuca Node.js great. Sometimes on something I have to move. And CouchDB same. Web cease Beit PHP and MySQL: D" [cs] -- Marek Hrabě. http://twitter.com/marek/status/3410243027472384 [11:34] abstractj has joined the channel [11:34] _announcer: Twitter: "node.js likely make things interesting by using" [ja] -- こば@恋する生徒会長. http://twitter.com/KOBA789/status/3410299658969089 [11:35] disqk has joined the channel [11:37] matjas has joined the channel [11:39] path[l]2 has joined the channel [11:45] hassox has joined the channel [11:45] bnoordhuis has joined the channel [11:45] ooooPsss has joined the channel [11:55] _announcer: Twitter: "Blog rolling with mongoDB, express and Node.js - How To Node - NodeJS http://ff.im/tG04j" -- Sergio Panagia. http://twitter.com/panaghia/status/3415721761574912 [12:02] Anti-X has joined the channel [12:02] masahiroh has joined the channel [12:07] stagas: flstudio time [12:07] spetrea-home has joined the channel [12:08] robinduckett has joined the channel [12:08] robinduckett: morning [12:08] xla has joined the channel [12:08] spetrea-home: robinduckett, hi [12:08] _announcer: Twitter: "Na node.js possible doing good. chores is perfect for writing a simple script. Now I will not make any progress." [ja] -- mooz. http://twitter.com/stillpedant/status/3418930995535873 [12:11] T-Co: Hey guys. I just pulled latest node and tried to make Socket.IO, but I'm getting: http://nodejs.pastebin.com/gxYaS0LN [12:12] robinduckett: Anyone know how I can get connect logger to log to a file? [12:12] robinduckett: I've tried using the stream option and passing it a writable stream but it always errors out with a stream not writable even though it is [12:12] _announcer: Twitter: "Structure of a Node.js application, serving static files using node-paperboy: http://i.imgur.com/mgxEN.png" -- Charl van Niekerk. http://twitter.com/charlvn/status/3419923644682240 [12:12] robinduckett: spetrea-home: hey. [12:13] robinduckett: guessing no onw knows then [12:13] robinduckett: that's cool, i didn't need to log any of those 10,000 unique page views I got yesterday [12:13] robinduckett: *look of disapproval* [12:13] robinduckett: T-Co: Not sure why that's happening, are you using npm? [12:15] T-Co: robinduckett, What is npm? [12:18] _announcer: Twitter: "What Node.js is and isn't good for, http://bit.ly/cuDAwN&utm_content=Google+Reader" -- James Thomas. http://twitter.com/thomasj/status/3421374559289344 [12:18] erlnoob has joined the channel [12:19] oal: What module should I use to load data from existing websites, like urllib does in Python? [12:19] Brainlag has joined the channel [12:19] erlnoob: anyone here has experience with sessions in expressjs? [12:20] erlnoob: i read the sparse docs, and it said to just use: req.sessions.myItem = "some value" [12:20] robinduckett: T-Co: node package manager [12:20] erlnoob: but that feels wrong [12:20] robinduckett: erlnoob: If it works, then it works. [12:20] T-Co: robinduckett, Oh, from git [12:21] robinduckett: T-Co: eh? [12:21] robinduckett: It doesn't use git. [12:21] erlnoob: because there's nothing stopping you and me from masking req.session.regenerate or req.session.destroy functions [12:21] _announcer: Twitter: "Finally arrived at bcl8, doing a nodejs talk at 14:45." -- Robbie Clutton. http://twitter.com/robb1e/status/3422188598198273 [12:21] T-Co: Need to take a look at this some other time. Tried to fasttest rabbit.js which is like RabbitMQ over node.js [12:21] robinduckett: http://github.com/isaacs/npm [12:21] robinduckett: read instructions [12:21] T-Co: Ok, thanks [12:22] robinduckett: it allows you to install packages without doing shit wrong. [12:22] jetienne: T-Co: im using socket.io on node 0.2.4 without issue [12:22] robinduckett: erlnoob: so don't use a framework pon framework then? use connect. [12:23] robinduckett: or build a session abstraction layer [12:23] robinduckett: whatevs [12:23] erlnoob: i mean i must miss something here.. [12:23] robinduckett: jetienne: have you ever gotten connect to log to a file? [12:23] robinduckett: erlnoob: i think it really is just aht [12:23] robinduckett: *that [12:24] jetienne: robinduckett: nope on the other end, i only tried connect for like 20min [12:24] robinduckett: I was losing my nut trying to figure out how to get the original page request from connect's router to my socket.io stuff, until i realised the client has "client.request" x-x [12:24] robinduckett: jetienne: kk [12:26] jetienne: erlnoob: http://japhr.blogspot.com/2010/08/expressjs-flash.html the web is full of example of expressjs and session. have you read them ? i dont have personnal experience just trying to help [12:28] erlnoob: jetienne: i have read some of them but none have fully answered my questions so far. the docs isn't exactly helping either [12:29] jetienne: ok [12:31] tanepiper: cloudhead: ping when your awake [12:32] stride: robinduckett: connect.logger({stream: require('fs').createWriteStream('/path/to/log'), seems to work fine. although the logger middleware doesn't really check if it's writable in the old version of connect I'm running [12:32] robinduckett: yeah [12:32] robinduckett: i figured out what it was [12:33] robinduckett: works now :) [12:33] stride: oh, okay :) [12:33] robinduckett: thanks anyway [12:33] _announcer: Twitter: "building riak on a 1.66ghz mac mini: 2min. nodejs: 6min. erlang: 26min. having homebrew do it for me: priceless." -- alexander sicular. http://twitter.com/siculars/status/3425314659115008 [12:35] _announcer: Twitter: "Played with node.js a bit...its pretty cool. http://nodejs.org/" -- Dan Horrigan. http://twitter.com/dhorrigan/status/3425592892456960 [12:40] huehnts has joined the channel [12:45] spetrea-home has joined the channel [12:54] _announcer: Twitter: "@danbenjamin I believe @Carsonified used node.js for one of the conference chat rooms ... It was pretty Awesome" -- Ryan Barresi. http://twitter.com/inkdotmedia/status/3430467709706240 [13:11] _announcer: Twitter: "jxck's blog now confirmed. Na node.js're going to care about that level of participation in the training today? Members were too gorgeous .." [ja] -- mori_dev. http://twitter.com/mori_dev/status/3434710394994688 [13:11] _announcer: Twitter: "I go to bed feeling so good from a streak node.js posts grave!" [ja] -- mori_dev. http://twitter.com/mori_dev/status/3434897553231872 [13:15] RevoOf1 has joined the channel [13:17] jvolkman_ has joined the channel [13:21] tmedema: Hi folks, what debugger is most commonly used for node.js nowadays? [13:25] dunk__ has joined the channel [13:26] tprice has joined the channel [13:29] tprice: how do i set coockiie on a createClient? [13:32] omarkj has joined the channel [13:33] faust45 has joined the channel [13:34] bnoordhuis: tprice: add a Cookie header to the request [13:34] christophsturm: tmedema: i think node-inspector [13:35] tmedema: christophsturm: alright, just saw a video of it, looks great - hope it's stable [13:37] tprice: hey you want to look at this? [13:37] tprice: http://pastebin.com/VE3fUK5P lione 31 [13:37] tprice: should it look liek that? [13:38] mbrochh has joined the channel [13:38] mbrochh has joined the channel [13:38] Nohryb has joined the channel [13:39] bnoordhuis: tprice: it's Cookie, not Set-Cookie (that's what the server sends) [13:39] bnoordhuis: and it should be a string, not an array [13:40] dipser has joined the channel [13:40] bnoordhuis: tmedema: what are you trying to debug? [13:40] miccolis has joined the channel [13:40] tmedema: bnoordhuis: a future webserver [13:40] bnoordhuis: okay, but anything in particular? [13:41] bnoordhuis: stepping through the code, heap or cpu profiling, etc. [13:41] tmedema: bnoordhuis: I still have to start, just preparing atm, I'll have to create a webcrawler aswell as setup a webserver etc. [13:41] tmedema: bnoordhuis: yeah all that would be great, looks like node-inspector has it [13:43] bnoordhuis: tmedema: i don't think node-inspector supports profiling [13:44] bnoordhuis: but if you'll allow me to link to a project of my own: http://github.com/bnoordhuis/node-profiler [13:46] Nohryb has joined the channel [13:46] tmedema: bnoordhuis: looks very interesting, I think I'll combine the two -- thanks :) [13:49] shanebo has joined the channel [13:49] _announcer: Twitter: "After all, like Sinatra + node.js, node.js just like there is no pattern" [ja] -- mori_dev. http://twitter.com/mori_dev/status/3444425443250176 [13:50] tmedema: To be honest these translates might aswell just not be announced :) [13:51] shanebo: good morning folks, I'm just getting started in node.js and hoping someone can point me in the right direction regarding a static file server [13:52] bnoordhuis: shanebo: antinode [13:53] shanebo: bnoordhuis so is this loosely likened to a vhost? [13:54] bnoordhuis: shanebo: yes [13:55] shanebo: bnoordhuis, very cool, and what about dynamic front controller type rerouting? [13:56] shanebo: I'm used to rerouting via htaccess, parsing the route and then loading/firing controllers [13:57] shanebo: typical MVC type setup but node is a bit vague to me at this point [13:57] bnoordhuis: shanebo: node doesn't handle that for you [13:57] bnoordhuis: but frameworks like connect and express do [13:58] shanebo: Yeah, I'm not expecting it to. I'm just unclear how I would achieve the same type of flow with something that doesn't use apache :) [14:00] shanebo: bnoordhuis will antinode catch any route that's sent to a host whereby I can catch the request, do my parsing and load/fire my controller action? [14:01] rajeshsr has joined the channel [14:01] bnoordhuis: shanebo: not 100% sure but i think you can [14:03] InsDel has joined the channel [14:04] shanebo: bnoordhuis so I could do something like this: http://pastie.org/private/vz3h38fxkwrefsuzvbkkfg [14:05] shanebo: and www.foo.com/bar/update/5 [14:05] shanebo: would catch and open index.php where I could get the request, do my parsing etc.? [14:05] sixtus42 has joined the channel [14:05] bnoordhuis: shanebo: no [14:05] bnoordhuis: antinode only serves static files [14:06] bnoordhuis: your example probably wouldn't even start because antinode expects the document root to be a directory [14:06] Nohryb has joined the channel [14:06] shanebo: is index.php the default file root though? [14:07] bnoordhuis: shanebo: index.php gets run by apache [14:07] kriszyp has joined the channel [14:07] bnoordhuis: node / antinode does no such thing [14:07] bnoordhuis: i recommend you check out express or connect [14:08] shanebo: looking at express now... however, I'm wanting to port my own php mVC framework over [14:09] skampler has joined the channel [14:10] zemanel has joined the channel [14:14] rajeshsr has joined the channel [14:14] jakehow has joined the channel [14:16] jchris has joined the channel [14:16] tprice: i really dont get how to login with a coockie and node [14:17] tprice: any tips? [14:17] tisba has joined the channel [14:18] aubergine_ has joined the channel [14:25] _announcer: Twitter: "# Codebits2010 someone wants to join after the Codebits to make a clone of twitter + twitpic using the services of the frog? python or Node.js" [pt] -- zemanel. http://twitter.com/zemanel/status/3453353795260417 [14:26] ysynopsis has joined the channel [14:26] xla_ has joined the channel [14:27] _announcer: Twitter: "freenode's irc #node.js bot trapped and translated my last tweet to english #wtf #wickedcool" -- zemanel. http://twitter.com/zemanel/status/3453820310921216 [14:27] pavl-dude: ok I create a test server that creates a http client ... the problem is that I run out of socket quickly when I load test it http://codepad.org/gg1LJZ3x [14:27] pavl-dude: is there anyone have a clue about this? [14:28] javruben2 has joined the channel [14:28] zemanel_ has joined the channel [14:28] MattJ has joined the channel [14:32] braddunbar has joined the channel [14:33] braddunbar: is there an idiom similar to python's "if __name__ == '__main__':" in node? if not, how could I emulate it? [14:33] _announcer: Twitter: "Anyone know the hours for node.js camp? Might just have to LAX to SFO if it's convenient. #node.js #camp" -- Adam Venturella. http://twitter.com/logix812/status/3455402561769472 [14:34] pavl-dude: check process [14:34] braddunbar: pavl-dude: k, looking now [14:35] sudoer has joined the channel [14:35] kkaefer: braddunbar: module.parent [14:35] kkaefer: if it's truthy, it's not the main file [14:35] kkaefer: so use if (!module.parent) startup(); [14:35] svnlto has joined the channel [14:36] braddunbar: kkaefer: Thanks! ...never would have found that [14:37] sveimac has joined the channel [14:38] saschagehlich has joined the channel [14:38] shanebo: bnoordhuis thanks for the help! Much appreciated. [14:39] saschagehlich: inside the socket.io "disconnect" event... can I see which client has disconnected? [14:39] bnoordhuis: shanebo: you're welcome [14:39] jpld has joined the channel [14:39] jpld has joined the channel [14:39] _announcer: Twitter: "Next talk (14:45) in Jubilee: Simple node.js apps without web sockets. #bcl8" -- BarCamp London. http://twitter.com/barcamplondon/status/3456975354462208 [14:40] _announcer: Twitter: "so I started reading the source in wafadmin and I figured out how to 'include' mapserver.h - now to figure out how to get it to link #nodejs" -- pagameba. http://twitter.com/pagameba/status/3457241818595328 [14:42] polotek has joined the channel [14:42] mape: Hmm no way of adding a youtube video to github readme? [14:43] braddunbar: kkaefer: is that in the docs somewhere? I can't find any reference to it [14:43] kkaefer: not sure [14:43] braddunbar: kkaefer: maybe its in the commonjs docs (node's docs reference commonjs' module system) [14:44] kkaefer: braddunbar: I don't think that is standardized yet [14:45] aubergine has joined the channel [14:46] _announcer: Twitter: "Correction: Simple node.js without web sockets is in Piccadilly (not Jubilee) at 14:45 (now!) #bcl8" -- BarCamp London. http://twitter.com/barcamplondon/status/3458562491678720 [14:46] braddunbar: kkaefer: commonjs module system isn't standardized? or the node module system isn't? [14:46] kkaefer: that particular feature [14:47] kkaefer: but I'm not sure [14:47] braddunbar: kkaefer: ah, ok [14:47] kkaefer: nodejs modules loosely follow the commonjs module spec, but that spec is also in flux [14:47] crodas has joined the channel [14:48] braddunbar: yea, commonjs.org looks to have three different module specs up [14:48] kkaefer: they are iterations, afaik [14:50] _announcer: Twitter: "alright, it runs without complaining but doesn't 'do' anything. Lets see if I actually learned something and make it load a map! #nodejs" -- pagameba. http://twitter.com/pagameba/status/3459628134309888 [14:50] _announcer: Twitter: "#bcl8 in Node.js session. Building simple web apps entirely with node. Interesting stuff" -- Christian Blunden. http://twitter.com/christianralph/status/3459733897879552 [14:51] bradleymeck has joined the channel [14:54] polotek has joined the channel [14:57] zemanel_ has joined the channel [15:00] femtoo has joined the channel [15:01] ThePub has joined the channel [15:01] peteatolia has joined the channel [15:04] rajeshsr_ has joined the channel [15:04] liar has joined the channel [15:08] tprice: how would a post look with clientcreate? [15:09] tprice: does the post info go into the head? [15:09] bradleymeck: post info is generally sent in the body [15:09] bradleymeck: set content-type, content-length, body [15:10] stride: tprice: you can call .write on the request object to send that data [15:10] javruben has joined the channel [15:11] strmpnk has joined the channel [15:11] RevoOf1 has left the channel [15:12] saschagehlich: hey, I've got a http.ClientResponse which is downloading a lot of data... how can I stop the download inside the "data" event? [15:12] ThePub has joined the channel [15:13] mbrochh has joined the channel [15:14] tapwater has joined the channel [15:15] ooooPsss: hey, anyone from nodejitsu? [15:18] stride: saschagehlich: there's only pause/resume functionality built-in iirc, although you could call response.socket.close() I guess [15:18] tprice: i must be missing something [15:18] tprice: damn [15:21] stride: tprice: you have a .end() somewhere on the variable returned by createClient, right? before that you can .write('foo=bar'); your http body [15:27] heavysixer has joined the channel [15:27] zemanel_ has joined the channel [15:28] RevoOf1 has joined the channel [15:28] intacto has joined the channel [15:30] mif86_ has joined the channel [15:32] AAA_awright has joined the channel [15:33] tprice: stride: i have it like .end('foo=bar'); [15:34] tprice: you know just hainvg nodejs in the good search messes up the search [15:34] tprice: there is not much about node [15:35] svnlto has joined the channel [15:35] jashkenas has joined the channel [15:35] stride: tprice: oh, yeah that should work as well [15:36] dunk__: Anyone knows if Ryan actually uses the issue tracker on GitHub? [15:37] dunk__: I figured I'd spend some time learning the node.js internals and maybe contribute when I get a hang of it, so I'd like to start out just contributing docs and really small fixes [15:37] tprice: i think the google group could be better for you duke [15:38] tprice: or dunk_ [15:38] tprice: haha [15:38] dunk__: Haha :P [15:38] sixtus42 has joined the channel [15:38] dunk__: I guess you mean the -dev group? [15:38] stride: dunk__: he comments occasionally but I think he likes getting patches on the -dev mailing list [15:40] dunk__: stride: Ok, where would be the right place to look for things that I could fix then? [15:40] tylerstalder has joined the channel [15:44] EyePulp has joined the channel [15:45] mraleph has joined the channel [15:47] hassox has joined the channel [15:48] softdrink has joined the channel [15:49] Nevtus has joined the channel [15:49] Nevtus has joined the channel [15:51] mape: Anyone here encountered Redis reply parser error: Error: didn\'t see LF after NL while reading bulk length with connect-redis? [15:52] chrischris has joined the channel [15:54] stride: dunk__: I don't really know, sorry [15:56] InsDel has joined the channel [15:56] TomsB has joined the channel [15:57] masm has joined the channel [15:58] dunk__: stride: Ok, I'll try to follow the stuff on -dev then. Thanks :) [16:00] erlnoob has joined the channel [16:06] sanduz2 has joined the channel [16:12] ceej has joined the channel [16:12] Gruni has joined the channel [16:15] zk has joined the channel [16:16] faust45 has joined the channel [16:18] langworthy has joined the channel [16:20] c4milo has joined the channel [16:27] erlnoob: this may seem silly, but I'm having a hard time trying to output:
with Jade [16:30] aubergine_ has joined the channel [16:31] rajeshsr_ has joined the channel [16:32] masm has left the channel [16:34] brianmario has joined the channel [16:35] WRA has joined the channel [16:36] pavl-dude: anyone knows if the http.createClient reconnects on request = client.request? [16:38] intacto has joined the channel [16:41] davidc_ has joined the channel [16:43] jchris has joined the channel [16:46] Brainlag has joined the channel [16:46] Utkarsh has joined the channel [16:47] galaxywatcher has joined the channel [16:52] pavl-dude: hi [16:53] ceej: anyone use mongodb native? I'm getting.... http://pastie.textmate.org/private/be8c5bf2eq6cgjbu3k7pq [16:53] SamuraiJack has joined the channel [16:54] softdrink has joined the channel [16:55] astrolin has joined the channel [16:56] Dreamer3 has joined the channel [16:58] bradleymeck has joined the channel [16:58] guybrush: what geo-targeting-database would you recommend? i guess http://ipinfodb.com/ is pretty good? [17:00] prettyrobots has joined the channel [17:02] ceej: anyone here using mongoose 1.0 ? [17:06] c4milo has joined the channel [17:06] bradleymeck: is there some easy macro or method to get the char* pointer for a v8::String? [17:07] dnolen has joined the channel [17:08] derren13 has joined the channel [17:08] mbrochh_ has joined the channel [17:08] rbranson: String::Utf8Value str(...); [17:09] rbranson: (char *)(*str) [17:09] bradleymeck: bleh, should have known [17:10] bradleymeck: ty [17:10] Anti-X has joined the channel [17:11] c4milo has joined the channel [17:13] sivy has joined the channel [17:14] strmpnk has joined the channel [17:14] jetienne has joined the channel [17:19] chrischris has joined the channel [17:20] zemanel has joined the channel [17:21] wilmoore has joined the channel [17:26] mbrochh_: is it possible to install npm on a windows machine? [17:27] robotarmy has joined the channel [17:28] Moominpapa: Stupid question: is there a feature in jade for multi-level templates? Or are you meant to hack it from the outside? [17:29] prettyrobots has joined the channel [17:29] intacto has joined the channel [17:32] jetienne: mbrochh_: asks isaacs, he is the author [17:36] sixtus42 has joined the channel [17:37] jherdman has joined the channel [17:39] shimondoodkin has joined the channel [17:41] davidascher has joined the channel [17:41] aconbere has joined the channel [17:44] ehaas has joined the channel [17:46] Moominpapa: Brain failure: jade doesn't have one, express has view partials. Makes sense :) [17:47] zemanel_ has joined the channel [17:51] altamic has joined the channel [17:54] matjas has joined the channel [18:03] dipser has joined the channel [18:09] tisba has joined the channel [18:09] huehnts has joined the channel [18:10] blaines has joined the channel [18:10] jetienne: v8: {a: "slota"}.keys [18:10] v8bot: jetienne: SyntaxError: Unexpected token . [18:11] strmpnk has joined the channel [18:11] sixtus42: v8: Object.keys({a: "slota"}) [18:11] v8bot: sixtus42: ["a"] [18:11] jetienne: sixtus42: oh thanks [18:11] sixtus42: but be careful: [18:11] sixtus42: Object.keys(undefined) [18:11] sixtus42: v8: Object.keys(undefined) [18:11] v8bot: sixtus42: TypeError: Object.keys called on non-object [18:11] sixtus42: that's an exception [18:12] jetienne: v8: typeof {a: "slota"} == 'object' [18:12] v8bot: jetienne: true [18:12] sixtus42: so make sure to only pass in objects [18:12] jetienne: sixtus42: how come {a: "slota"}.keys doesnt work in Object.keys exists and {a: "slota"} is object ? [18:13] sixtus42: because it's Object.keys not Object.prototype.keys [18:13] robotarm_ has joined the channel [18:13] jetienne: sixtus42: hmm ok, something i still dont get on this js. thanks for the help [18:14] sixtus42: jetienne: js is actually pretty normal, the only confusion is that you can't tell an object from a class apart [18:14] sixtus42: Object.keys would be a class method, Object.prototype.keys an instance method [18:14] sixtus42: (if you have a oo background) [18:14] jetienne: i do, did c++ a lot [18:15] jetienne: but in c++, {}.keys would work :) [18:15] sixtus42: ok: then Object is actually the constructor, Object.prototype is where the instance methods are [18:15] sixtus42: v8: typeof Object [18:15] v8bot: sixtus42: "function" [18:15] sixtus42: see [18:15] sixtus42: it's the constructor [18:16] matjas has joined the channel [18:16] jetienne: so type Object == "function" and typeof {a:2} == 'object' ... yep all normal :) [18:17] jetienne: sixtus42: i will read more on it [18:17] sixtus42: jetienne: it'll make all sense very soon [18:17] Aikar: jetienne: Object.defineProperty(Object.prototype, 'keys', {value: Object.keys}); [18:17] Aikar: put that in your code then it should work :P [18:18] jetienne: Aikar: maybe but i wont understand my codez :) [18:18] jetienne: ok ok i focusing [18:18] jetienne: thanks for the help [18:18] zemanel_ has joined the channel [18:18] Aikar: that maps Object.prototype.keys to Object.keys so {}.keys works [18:19] Aikar: and [].keys would work too [18:19] sixtus42: jetienne: what Aikar is showing you is that objects (and classes as they are objects) are open and mutable by default. If you don't like it, just change it around. at runtime [18:19] jetienne: Aikar: isnt tthat the complex version for Object.prototype.key = Object.key ? [18:19] Aikar: jetienne: yes but if you do it that way it breaks some other ppls code [18:20] jetienne: ok [18:20] Aikar: as for(var i in {}) would enumerate over .keys unexpectedly [18:20] polotek: jetienne: have you read this series of articles on howtonode.org? http://howtonode.org/object-graphs [18:20] Aikar: defineProperty sets enumerable to false by default [18:20] jetienne: polotek: yep but looks like i should do another pass [18:20] dnolen has joined the channel [18:20] tanepiper: anyone using ndistro? [18:21] polotek: jetienne: once the understanding of functions and prototypes clicks, you'll find things much easier [18:21] liar_ has joined the channel [18:22] softdrink has joined the channel [18:22] programble has joined the channel [18:22] programble has joined the channel [18:24] andrehjr has joined the channel [18:26] miccolis has joined the channel [18:27] Aikar: these kids need to stop screaming outside >:( [18:29] Anti-X: turns out there's a product for that [18:29] Anti-X: guns [18:32] davidascher has joined the channel [18:36] dquestions has joined the channel [18:42] herbySk has joined the channel [18:44] mjr_: mape: that's an error message from node_redis. I'm not sure which version tj has embedded in connect-redis, but is there any way for you to check and/oro upgrade? Several tricky parsing bugs have been fixed over the past month. [18:44] jashkenas has joined the channel [18:44] mape: mjr_: It went away :S [18:44] mjr_: Oh,OK [18:44] mjr_: Well, if you can figure out how to reproduce it, I'd be interested in seeing that. [18:45] mjr_: Trying to make node_redis as solid as possible. [18:45] mape: mjr_: Absolutely [18:49] saikat: every now and then my app seems to start getting an assertion error once a minute every minute until I restart it. The stack is this: https://gist.github.com/675537 - it seems to point to this line in net.js: assert(first != peek(list)); which apparently somehow ends up getting called from process.loop() in node.js, but i'm not entirely sure how [18:49] saikat: i'm using Socket.io, in case anyone has seen this too [18:51] saikat: running node 0.2.4 and latest socket.io [18:52] rnewson has joined the channel [18:52] rnewson has joined the channel [18:56] jetienne: saikat: im using socket.io and node 0.2.4 for a dev right now. i havnt seen this issue but at dev stage, so it may simply be me [18:56] jetienne: saikat: if you find out the solution, im interested [18:57] jetienne: ACTION is bored of writing a console.* for mobile webapps [18:58] jacobolus has joined the channel [19:02] tisba_ has joined the channel [19:02] saikat: mjr_: does node_redis have 0.2.x support or is it 0.3.x still? [19:02] saikat: i'm wondering if these assertion errors i'm getting have to do with fictorial's node library [19:02] mjr_: node_redis should run on both 0.2 and 0.3 [19:03] mjr_: The whole reason I started node_redis in the first place is that fictorial's didn't work on recent nodes, even recent 0.2 nodes, without some work. [19:03] saikat: hmm [19:03] mjr_: But that said, I don't regularly test on 0.2 like I should. So maybe issues have crept in. [19:03] saikat: how solid is it at this point? you've been using it personally? [19:04] mjr_: I use it in production, and I've heard from several people that are also using it in production. [19:04] mjr_: Improvements to the test suite are welcome if that gives you a better comfort level. [19:04] saikat: cool - yeah i might try to upgrade to it soon [19:05] saikat: a little scary using a legacy db driver [19:05] saikat: thanks for it [19:11] Aikar: hmm .11 load time on my express server! lol [19:12] Aikar: http://starlis.com:8124/ although thats all it says lol. [19:12] strmpnk has joined the channel [19:13] tmpvar has joined the channel [19:13] maushu has joined the channel [19:16] softdrink has joined the channel [19:19] kriszyp has joined the channel [19:19] jegade has joined the channel [19:20] jegade: davidc_: Hi [19:21] jegade: :( [19:22] faust45 has joined the channel [19:23] softdrink1 has joined the channel [19:25] maushu: _announcer, clean the tubes. [19:25] _announcer: Cleaning the tubes for great justice! [19:26] davidc_ has joined the channel [19:26] mjr_: Does that actually do something, other than print a hilarious message.? [19:28] jegade: davidc_: how much nodes and Edges could your node-graph handle? I like so setup 1.000.000 edges [19:32] _announcer: Twitter: "I would love to know how much Joyent paid to bring Node.js "under its wing". http://bit.ly/9FqxsL" -- Michael DePuy. http://twitter.com/RedMikeD/status/3530629043982336 [19:32] _announcer: Twitter: "My goal this weekend is to learn to use http://nodejs.org/" [es] -- eveevans. http://twitter.com/eveevans/status/3530630990143488 [19:32] maushu: mjr_, reconnects to twitter. [19:38] karboh has joined the channel [19:43] dtrasbo has joined the channel [19:45] caolanm has joined the channel [19:46] noahcampbell has joined the channel [19:50] dquestions has joined the channel [19:51] ph^ has joined the channel [19:53] jvolkman_ has joined the channel [19:59] ceej: can node stream video files like lighttpd ? [20:04] bnoordhuis: ceej: look up chunked encoding, that's what streaming video is [20:04] bnoordhuis: and yes, node can do that [20:06] _announcer: Twitter: "@MarkDalgarno @illicitonion I've heard a lot about NodeJS from @thatismatt and it got a lot of love from @sh1mmer at #wdx conference London" -- Christopher Morgan. http://twitter.com/cjm55/status/3539307549687808 [20:07] dtrasbo has joined the channel [20:07] dgathright has joined the channel [20:08] ceej: bnoordhuis: I'll take a look, do you know if any libs have been made to simplify it ? [20:08] sh1mmer has joined the channel [20:08] _announcer: Twitter: "I'm attending Node.js Camp SF on Dec 14 -- http://www.eventbrite.com/s/235R" -- Mars. http://twitter.com/marsi/status/3539700484669440 [20:09] bnoordhuis: ceej: no (as in: don't know) [20:09] prettyrobots has joined the channel [20:14] jshaw: setTimeout says it returns a callbackID, i'm getting an object { repeat: 0, callback: [Function] }, using 0.2.4 [20:17] mjr_: jshaw: just stick that in a var if you ever want to use clearTimeout() [20:17] deadlyicon has joined the channel [20:18] _announcer: Twitter: "Node.js seems like it "is going to be"/"is" a big thing. Lucky me, already fluent in javascript. :)" -- Armin Pašalić. http://twitter.com/Krule/status/3542144824385536 [20:18] jshaw: mjr_: oh ok, so the 'timeoutID' is really the reference to the object? [20:18] mjr_: yep [20:19] Anti-X: :D [20:19] jshaw: k thanks [20:19] mjr_: You just looked under the covers a bit [20:19] jshaw: i was expecting some hash string :) [20:20] mikeal has joined the channel [20:21] astrolin_ has joined the channel [20:21] Anti-X: cool [20:21] Anti-X: didn't know this [20:21] Anti-X: that means you can change the timeout function while it's running [20:22] Anti-X: not while the function is running, but while it counts down [20:22] astrolin_ has joined the channel [20:22] Anti-X: just tested it in repl, and it worked fine [20:25] skampler has joined the channel [20:30] _announcer: Twitter: "project for the future nodejs + node-sfml + node-canvas + cider, #jsftw" -- Elijah Insua. http://twitter.com/tmpvar/status/3545133656047617 [20:30] zk has joined the channel [20:33] galaxywatcher has joined the channel [20:33] _announcer: Twitter: "For anyone wondering why my node.js demo didn't work earlier, Firefox was in offline mode! Thanks to @bengillies for the suggestion #bcl8" -- Robbie Clutton. http://twitter.com/robb1e/status/3546128712732673 [20:34] softdrink has joined the channel [20:34] derren13 has joined the channel [20:35] path[l] has joined the channel [20:37] dgathright has joined the channel [20:39] sveimac has joined the channel [20:40] davidc_: jegade, I'm not sure :) [20:40] davidc_: I've goen up to 25,000 no worries [20:41] davidc_: We could try a million :) [20:41] davidc_: Let me try it [20:41] davidc_: Just creating a million vertices. [20:41] murz has joined the channel [20:42] davidc_: Ok jegade it's creating :) [20:44] davidc_: And my computer's brought to a crawl. [20:45] jegade: hehe [20:46] jegade: did you take a look a the memory usage? [20:46] davidc_: If I could change window I would ;) [20:48] davidc_: hah node millionth.js [20:48] davidc_: FATAL ERROR: CALL_AND_RETRY_2 Allocation failed - process out of memory [20:48] davidc_: I don't blame node though, on a machine with enough memory I don't see why it wouldn't work correctly. [20:48] jegade: how much memory you have? [20:49] jegade: could you paste the script? Then i could test this here [20:49] davidc_: On the machine I tested, something like 2G with Firefox, Chrome, etc. [20:49] ceej has joined the channel [20:49] davidc_: Sure. [20:49] jegade: here about 8GB and on the server 12/16GB ;) [20:50] davidc_: You should be fine, jsut a sec [20:50] bnoordhuis: davidc_: i think v8's heap is limited to 1 gb [20:51] davidc_: bnoordhuis, ohh [20:51] davidc_: jegade, http://friendpaste.com/4E5tRfccSCCUPgD5Bs9XWh [20:51] jegade: davidc_: ok, thats the same as i testet :( [20:51] davidc_: What happened to you? [20:51] davidc_: Same thing? [20:51] jegade: locked at 1GB [20:51] davidc_: Ok so bnoordhuis is right. [20:51] davidc_: I wonder if there's a way to modify this. [20:52] andrehjr` has joined the channel [20:53] davidc_: Dirty: [20:53] davidc_: The limit for 64 bit V8 is around 1.9Gbytes now. Start V8 with the [20:53] davidc_: --max-old-space-size=1900 flag. [20:54] strmpnk has joined the channel [20:54] davidc_: Ah jegade that's interesting, I've been processing everything in batch and haven't hit that 1GiB limit :) [20:54] mr_daniel has joined the channel [20:54] davidc_: I'm investigating to see if there's a way to increase the v8 limit somehow. [20:55] jegade: but not a million, only 10.000 :( let memory failed :( [20:55] davidc_: Let me check. [20:56] ajpiano has joined the channel [20:57] davidc_: Oh I see why. [20:57] davidc_: The adjacency matrix builds a uber-massive array. [20:57] davidc_: Let's see if I remove that how much I can reach. [20:57] dipser has joined the channel [20:58] davidc_: Yeah without the adjacency matrix I can build a million vertices in about 5-6 seconds. [21:00] guybrush: davidc_: you can avoid hitting the the 1gb limit of v8-heap by using node-buffers http://nodejs.org/api.html#buffers-2 or using multiple node-processes [21:00] guybrush: if it comes to [21:00] guybrush: buffers are outside of v8 [21:02] davidc_: Hmm guybrush interesting. [21:02] davidc_: Thanks. [21:03] davidc_: So jegade I dont' think the graph code has limitations itself if we could use it with external buffers as guybrush pointed to. [21:04] jegade: ok [21:07] davidc_: Seems tedious though [21:07] guybrush: right [21:07] guybrush: its one of ryah_'s 9 problems [21:07] guybrush: mentioned in his jsconf.eu talk [21:08] davidc_: guybrush, I'm surprised that v8 can't be configured with arbitrary values. [21:08] guybrush: i only know very little about v8, but i think it is not so easy to fix this [21:09] davidc_: It's very complex in fact :) [21:09] davidc_: There seems to be a LOT based on the memory allocator and this change would be a dangerous one. [21:16] davidc_: jegade, let me know if you get anything working yeah? :) [21:16] davidc_: And especially if you have features you want in that graph module. I haven't had much time to work on it as it's conference season. [21:16] galaxywatcher has joined the channel [21:17] jegade: davidc_: sure, plan to build some social networking [21:17] davidc_: Cool :) [21:17] jegade: display the same friends and routes between to persons [21:18] davidc_: Ah right cool :) [21:18] Mikushi has joined the channel [21:18] davidc_: Yeah by bumping that limit somehow, it'd be pretty easy using the adjacency matrix I think. [21:19] siculars has joined the channel [21:20] matt_c has joined the channel [21:24] tprice has joined the channel [21:24] _announcer: Twitter: "the ease with which one can do all sorts of network tomfoolery with node.js is insane." -- Ari Turetzky. http://twitter.com/AriT93/status/3558797691846657 [21:25] Aikar: yea really... require('express').createServer().get('/', function(req, res) { res.send('HACK THE PLANET!!!!'); }).listen(80, '209.239.116.37'); [21:25] Aikar: (in response to that twitter) [21:26] Aikar: got that running on starlis.com atm lol [21:26] meandi has joined the channel [21:26] hansek has joined the channel [21:27] guybrush: is not so easy? :> [21:27] davidc_: guybrush, single quotes are more effective ;) [21:27] Aikar: O.o ? this isnt php lol [21:27] Aikar: davidc_: actually someone did test, if your not using variables inside it, it actually doesnt matter lol [21:27] Aikar: though i still use ' out of habit [21:27] davidc_: Aikar, it does. [21:27] davidc_: Let me find the benchmarks. [21:28] guybrush: right i prefer ' normaly, i dont know why i used douple ones [21:28] Aikar: or maybe im confusing 'x' . $foo . 'y' is no diff than "x$fooy" - thats prolly what i was thinking about davidc_ [21:29] davidc_: Most likely. [21:29] guybrush: ther MUST be any diff :p since one has to look for a var inside doublequotes [21:30] davidc_: It's a language construct (When using " with variables) whereas with a single quote + concatenation is actually more work for the parser. [21:30] davidc_: iirc. [21:30] _announcer: Twitter: "Playing Citadels/machiavelli with 8 at the neighbours after delightful dinnertalk: ARC, sproutcore and node.js" -- Francis Siefken. http://twitter.com/fsiefken/status/3560286967570432 [21:30] _announcer: Twitter: "Unimpressed by the 1GB (Don't suggest 1.9GB) memory limitations of #v8. I've hit some major blocking in my node.js graph module. /cc @jegade" -- David Coallier. http://twitter.com/davidcoallier/status/3560412930904064 [21:30] Aikar: actually this is odd [21:31] guybrush: but hey i did not do any php for some time now - since i got into node [21:31] Aikar: http://phpbench.com/ is showing single quotes being slower lol [21:31] davidc_: guybrush, I don't code "much" php now. Mostly core stuff apart from that I try not to touch php :) [21:31] davidc_: Even core stuff took the bench for me. [21:31] davidc_: Aikar, I'll re-run the tests on 5.3.99 (latest) [21:32] Aikar: beyond the point its a difference of .04 ms [21:32] guybrush: ye there might be other bottlenecks ^^ [21:32] davidc_: Yeah definitely. [21:32] Aikar: err .02 [21:32] davidc_: When are you are at that bottleneck, you've done your work correctly :) [21:33] Aikar: yeah ive done PHP for like uh 8 years now, im gonna try to move onto node too lol. [21:34] Aikar: js is fun [21:34] tmpvar has joined the channel [21:34] davidc_: I like whatever fits my need really. [21:34] Aikar: i like its design better than php [21:34] davidc_: What I love about node is that I can write code without having to worry about browsers. :) [21:34] Aikar: though i do miss the better class construction of php than js [21:34] tmpvar: lol [21:34] davidc_: Aikar, hey you can do the happy var $new = function() { return 'woot'; }; now ;) [21:35] Aikar: lol [21:35] davidc_: I love PHP even though what many people (Who've only used PHP about 6 years ago) say :) [21:35] davidc_ has left the channel [21:35] davidc_ has joined the channel [21:35] Aikar: i meant to build a 'class' in js with inheritance is sloppy in js, where as its easy / similiar to other langs for PHP [21:35] davidc_: Oops, close the wrong window. [21:36] davidc_: Well I usually, if you want PHP in JS, just use PHP. [21:36] davidc_: Same if someone wants all the features of JS in PHP. Just use JS [21:36] Aikar: i dont want php in js lol, i just meant its a lil more confusing to do in js with prototypal inheritance [21:36] davidc_: For instance, I'd never try to use any maths libraries in PHP (Well nothing like Python offers me with scipy and numpy) [21:36] davidc_: Ah yeah, different paradigms. [21:38] Aikar: though class utility funcs can be implemented at least, just would be nice if it was part of the language officially :) [21:40] Aikar: ie if a syntax like var newClass = class({ "__constructor": function(arg) { }, method: function(){}}).extends(otherClass); was built in [21:42] Aikar: which would provide stuff like this.parent().someMethod(); which does the .call(this with the objects scope for ya. I'm prolly gonna write up my own class to do all that for me heh [21:42] guybrush: i like node because it brought me closer to network-programming [21:42] Aikar: just saying would be nice if it was part of the lang spec :) [21:42] davidc_: guybrush, yeah same for me actually. [21:43] Aikar: yeah im going to node cause i was needing network-programming and doing it in PHP was rough :( [21:43] davidc_: Even though now I'm in need of writing a non-event-driven redis module [21:43] Aikar: i got to the point i had an event based model built ontop of PHP with major use of stream_select and tick functions for setTimeout/setInterval type callbacks lol [21:43] davidc_: I've written an HTTP layer to communication with Redis using JSON but all the redis modules are callbacks and that breaks my interface :) [21:43] brianmario has joined the channel [21:43] davidc_: Aikar, sounds like bad design. [21:44] Aikar: the code works great, im just worried bout performance in high use cases [21:44] Aikar: why? [21:44] davidc_: Well timeouts in PHP are generally odd. [21:44] davidc_: or rather "sleep-then-invoke-function"? [21:44] micheil: Aikar: things like classes are unlikely to ever be included in node [21:45] Aikar: i know, that was one of the harder parts to implementing socket server in php was properly detecting when a connection drops [21:45] Aikar: specially since all the php socket based funcs behave differently [21:45] micheil: however, you can require() third party modules, such as JS.Class which implement them [21:45] davidc_: micheil, Ah that's interesting. [21:45] guybrush: before i came in touch with nodejs i did not really care about socket(2) connect(2) write read bind listen accept getaddrinfo .. now it just all makes sense :p [21:45] Gruni has joined the channel [21:45] micheil: http://jsclass.jcoglan.com/ [21:46] jakehow has joined the channel [21:46] jashkenas: Aikar: also, CoffeeScript does all that stuff for you... [21:46] Aikar: hmm nice thx for links [21:47] Aikar: jsclass on npm? [21:47] micheil: jashkenas: good point. [21:47] micheil: Aikar: I'm not sure [21:50] springmeyer has joined the channel [21:50] Aikar: i guess its easy to export JS.class tho, module.exports = JS lol [21:51] Aikar: JS.Class looks excellent [21:51] gf3 has joined the channel [21:53] micheil: isaacs: you about? found what looks to be a bug in npm [21:54] rbranson: micheil: https://github.com/rbranson/twerk/ [21:56] micheil: rbranson: reading the word heartbeat suddenly makes me want to listen to Grum.. >_> [21:57] micheil: rbranson: as for the twerk code.. it looks kinda nasty [21:57] rbranson: hehe [21:57] ajsie has joined the channel [21:57] rbranson: message framing is nasty stuff [21:57] micheil: not at all [21:57] micheil: so, that's using the first spec? [21:57] rbranson: yup [21:58] micheil: len,message [21:58] micheil: hmm.. I think I can do it better :P [21:58] bartt has joined the channel [21:58] rbranson: think so? :) [21:58] rbranson: node test.js --perf [21:59] micheil: hmm.. [22:00] mikeal has joined the channel [22:00] micheil: it's hanging, or just taking ages [22:00] rbranson: they're ~10 seconds each on my MBP [22:00] micheil: ouch [22:00] rbranson: the first test is 30m iterations [22:01] micheil: hmm.. I think that test is wrong some how. [22:01] rbranson: how so? [22:01] micheil: like, rather then trying to do X number of iterations [22:01] micheil: it should be "do as many as you can in 1 seconds" [22:01] rbranson: hmm, that's not a bad idea [22:02] zemanel has joined the channel [22:02] rbranson: the timers in node aren't really accurate, so I chose benches that ran in roughly ~10s on my laptop :D [22:02] rbranson: so yeah, I probably should do it using a time strategy [22:02] micheil: heh [22:02] mjr_: davidc_: you want a blocking interface to Redis? But it talks over a blocking TCP connection, which could lock up all of node. [22:03] rbranson: no blocking... boo [22:03] micheil: tim-smart was doing a bunch of tests where he could actually tell you the hz rating [22:03] micheil: sides, for redis, you can just do onreq -> send to redis -> wait for results -> write response [22:03] micheil: all as nested callbacks [22:04] mjr_: Yeah, I have that in my benchmark too, but it gets complicated with pipelining. [22:04] liar_ has joined the channel [22:04] rbranson: the twerk.decoder() code is awful and ugly because it's fast :/ [22:04] mjr_: I built a little ascii histogram so you could measure the response times like you were using dtrace or something. [22:05] micheil: rbranson: I think that reasoning is invalid. [22:05] rbranson: my first cut was much cleaner [22:05] rbranson: but it was 50x slower [22:05] davidc_: mjr_, yes [22:05] davidc_: I'm aware it could lock [22:06] rbranson: "infrastructure" code shouldn't get in the way [22:06] davidc_: rbranson, it's not a question of should or shouldn't in this case. It's an experiment so anything "should" be doable. [22:06] jvolkman_ has joined the channel [22:06] davidc_: If the TCP connection blocks, so be it. [22:06] micheil: rbranson: uhh.. dude, your code has some weird naming:https://github.com/rbranson/twerk/blob/master/twerk.js#L111 [22:07] micheil: davidc_: then why use node if you want to block? [22:07] davidc_: micheil, I'd say because it destroys stuff ;) [22:08] davidc_: micheil, because I already have a bunch of other events. It's not *only* redis in this case, it's a bunch of things mashed up together. [22:08] ph^ has joined the channel [22:08] micheil: okay, and what's wrong with chaining them together? [22:08] micheil: mjr_: btw, your redis library vs tim-smart's, how do they compare? [22:08] davidc_: micheil, let me show you :) [22:09] davidc_: Where my issue resides. [22:09] micheil: rbranson: yeah, I certainly think you're doing your parser wrong. [22:10] davidc_: Check this out: http://friendpaste.com/4kdfNVnW1OguvOfKxlgK7M [22:10] davidc_: my problem is on line 16 where the return happens. [22:10] micheil: rbranson: about that grum reference.. http://listen.grooveshark.com/#/s/Heartbeats+Radio+Edit+/2FMmO6 [22:10] mogilny has joined the channel [22:10] johan_bouveng: micheil: hey man. zup? [22:11] micheil: johan_bouveng: I'm sure I know you, but I can't remember... [22:11] johan_bouveng: BAH [22:11] mogilny: argh [22:11] johan_bouveng: :) [22:11] micheil: ACTION is really bad with names. [22:11] rbranson: micheil: it's not a parser :) [22:12] micheil: pah. decoder then, rbranson [22:12] micheil: it's still parsing data [22:12] johan_bouveng: micheil: im the swedish guy, who works at tradeshift inc in copenhagen. and learning node.js+express.js+mongodb. [22:12] johan_bouveng: micheil: you gave me advice before. [22:12] davidc_: johan_bouveng, that's a sexy mix. [22:12] davidc_: I mean the node.js+express+mongo [22:13] micheil: davidc_: yeah, in that case, you should be giving the getter access to the request and response objects [22:13] mogilny: nice profile [22:13] matjas has joined the channel [22:13] rbranson: micheil: there's a bunch of cleaner ways to write it, but all several orders of magnitude slower [22:13] micheil: rbranson: hmm.. I'm going to have to try for myself. [22:13] johan_bouveng: davidc_: im trying out the mongoose abstraction of mongodb. but i swear all the time :7 [22:13] davidc_: micheil, from the get I do have access to the request and response objects. [22:14] micheil: davidc_: also, watch with get being a reserved word, iirc. [22:14] davidc_: micheil, don't worry, the get works fine :) [22:14] davidc_: same for post, delete, etc ;) [22:14] micheil: johan_bouveng: mongoose is kinda odd because some of it looks blocking [22:14] micheil: okay [22:14] micheil: I was just referring to the getter/setter stuff in ES5 [22:15] davidc_: Oh damn you're right. [22:15] johan_bouveng: micheil: its kind of odd all the time, beause there is so little documentation and fundamental things i want to do are written in the sky. [22:15] davidc_: Anyways, how would you do that? Just inject the response of the callback in the response object? [22:15] micheil: johan_bouveng: I can't say I've really used it [22:15] karboh: micheil: I saw you talking before about building a graph db on top of redis, did you go anywhere with that? [22:16] davidc_: karboh, it's fairly easy to do with neo4j [22:16] johan_bouveng: micheil: for example, i have created an uniqe index on email in my collection. and when i insert something that exists, it, as it should, doesent get inserted, however i would like to catch that so i can communicate that to the front end. [22:16] johan_bouveng: micheil: and i still havent been successfull in getting the data out. [22:16] micheil: davidc_: something like http://friendpaste.com/4EArg2GjryG2UhmwIhqL2e [22:16] karboh: davidc_: yeah I tried that, but their REST server is a bit lacking [22:17] davidc_: karboh, oh right, look at that then, might be of interest: https://github.com/dmitriid/blueredis [22:17] micheil: karboh: not yet, but I may be soon. [22:17] davidc_: Oh wait, I'm not in redis? [22:17] davidc_: Crap sorry all, thought I was in #redis [22:17] karboh: micheil: ok, thx [22:17] micheil: davidc_: oh, neat, blueprints :P [22:18] davidc_: But yeah karboh blueprint is quite teh sexy; you might be interested in blueredis [22:18] micheil: karboh: why, do you have a use case for a graphdb built on redis? [22:18] johan_bouveng: micheil: :( [22:18] johan_bouveng: micheil: i dont want to revert to mysql+php+apache :((( [22:19] micheil: johan_bouveng: I can't really help you with mongoose.. try talking to rauchg, tj or others at learnboost [22:19] davidc_: johan_bouveng, you are trying to run before walking. [22:19] davidc_: mysql to mongo is a massive paradigm and mindsef shift. [22:19] boaz has joined the channel [22:19] davidc_: apache-php to node is also another one. [22:19] davidc_: s/mindsef/mindset/ [22:19] rbranson: eh [22:19] mape: node is to cool for school [22:19] rbranson: mysql to mongo is not much of a shift imho [22:19] mape: *too [22:19] rbranson: i think that's why mongo is so popular [22:19] micheil: mape: /to/too [22:19] micheil: lol [22:19] johan_bouveng: davidc_: i know i know. [22:19] olivvv has joined the channel [22:19] mape: micheil: keep up! [22:20] micheil: mape: there was some irony in that. [22:20] johan_bouveng: davidc_: i understand the concepts of nosql. [22:20] davidc_: rbranson, yeah yo might be right, people do too often go to mongo with the concepts of mysql and then wonder why their stuff sucks :P [22:20] mape: micheil: I don't need school, I have node ;) [22:20] johan_bouveng: davidc_: db design is no problem, this is on app-level. inserting fetching, and handle errors. [22:20] rbranson: davidc_: analytics queries are really slow if they hit disk, much slower than regular SQL databases [22:21] johan_bouveng: davidc_: im not trying to build relational db's [22:21] aconran___ has joined the channel [22:21] karboh: micheil: I wanted to do analysis/visualizations of the blogosphere by first crawling stuff and putting it in a graph db [22:21] davidc_: rbranson ;) Those damn disks. [22:21] johan_bouveng: davidc_: but please, do enlighten me, trying to learn this combo. [22:21] micheil: karboh: ah, okay. [22:21] davidc_: micheil, everything fits as a use-case for anything graph-theory related. [22:21] davidc_: :) [22:22] davidc_: johan_bouveng, sorry working on some slides right now but I'd play around with mongoose and spend those hours swearing and whatnot. [22:22] micheil: davidc_: duh, because humans thing in a fundamentally relational way [22:22] micheil: when you think about something, it's generally in relation to a memory not an address [22:22] mikeal has joined the channel [22:23] johan_bouveng: micheil: i loved the 90's when we scaled db's on the horizon =) [22:24] micheil: ACTION shouldn't probably mention he was < 10 in the 90's [22:24] davidc_: For all of them? :O [22:24] davidc_: :) [22:24] johan_bouveng: micheil: :O [22:24] micheil: yeah. [22:24] johan_bouveng: micheil: when are u born? =) [22:24] johan_bouveng: or forked.. [22:24] micheil: 92. [22:24] johan_bouveng: :) [22:24] johan_bouveng: <- 79 [22:25] micheil: haha, wow. :P [22:25] mape: johan_bouveng: 79 years old? :P [22:25] rbranson: :D [22:25] johan_bouveng: CREATE_DATE() [22:25] stride: johan_bouveng: false [22:25] mape: uppercase? [22:26] johan_bouveng: nevermind that now, im born 1979. [22:26] micheil: rbranson: besides, with the protocol format, you know that it's going to be a number, then a comma, then the data [22:26] johan_bouveng: micheil: would you suggest that i drop mongoose and go mongodb classic callback style in my project instead? [22:26] micheil: rbranson: to get to the end of the message, you do number + 1 + number.length [22:27] micheil: johan_bouveng: you may find it easier. [22:27] CIA-95: node: 03Ryan Dahl 07master * rde6e88c 10/ src/node_crypto.cc : [22:27] CIA-95: node: Fix segfault on test-crypto [22:27] CIA-95: node: Plus random cleanups. This code needs help. - http://bit.ly/b5hzCi [22:27] miccolis has joined the channel [22:27] rbranson: micheil: buf.substr(hdrlen, pldlen) [22:27] johan_bouveng: micheil: this is my simple app at the moment: http://pastie.org/1295867 , does it look ok? or have i done something awkward? [22:28] micheil: johan_bouveng: doesn't mongoose have a Instance.valid() method? [22:29] jchris has joined the channel [22:29] jchris has joined the channel [22:31] johan_bouveng: micheil: i dont know.. [22:32] chewbran1a has joined the channel [22:32] micheil: ryah_: hmm, looking at what those cleanups are, I think it could well take a brave person to even look into node_crypto.cc :D [22:32] micheil: bbl. breakfast. [22:32] johan_bouveng: micheil: https://github.com/LearnBoost/mongoose/blob/master/README.md [22:32] Aikar: lol breakfast [22:32] johan_bouveng: micheil: thats about it. [22:32] johan_bouveng: 23:32 here in sweden. [22:33] Aikar: he must be aussie [22:33] Aikar: yep [22:33] johan_bouveng: he is. [22:33] mape: indeed he is [22:33] johan_bouveng: so, anyone have any suggestions for me? [22:33] johan_bouveng: i want to move along with this. [22:33] johan_bouveng: :) [22:33] Aikar: aus is somewhere i want to visit sometime in my life [22:34] sveimac has joined the channel [22:34] mogilny: what is a good 3rd party module to convert a non streaming api to a streaming one with node? [22:34] Aikar: oh man i feel the bass from my music, i so need a house instead of apt so i dont have to worry bout disturbing neighbors :( music isnt even loud lol [22:34] karboh: is there any module or built in support for cross origin resource sharing in connect/express? (I tried to rtfm) [22:35] Aikar: karboh: resources as in ? [22:35] Aikar: like a socket? [22:35] karboh: http://www.w3.org/TR/cors/ [22:36] karboh: Aikar: cross domain xhr requests [22:36] Aikar: should be able to set headers as normal with response object [22:36] karboh: yeah, but it would be nice to configure a policy as to which actions are allowed for cross origin requests [22:37] Aikar: res.header("XX-XX-XX-XX", "XX") [22:37] Aikar: oh [22:38] softdrink has joined the channel [22:38] muk_mb has joined the channel [22:38] rbranson: Aikar: I bought a 300w 12" polk sub when I lived in a house :/ [22:38] Aikar: lol [22:39] Aikar: yeah im on some crappy Logtech X540's (analog), i wanna get the 5000 series [22:39] Aikar: im not an audiophile, but i need digital speakers as my XFi Titanium is going to waste lol ; ; [22:39] rbranson: meh [22:40] Aikar: http://www.newegg.com/Product/Product.aspx?Item=N82E16836121120 is what im looking at getting [22:40] rbranson: the transport is almost never the problem :P [22:40] mogilny: anyone? should i just poll the non streaming api and use emitters? [22:40] rbranson: I'd worry more about how clean the power in your place is w/o a torroidial power supply [22:40] Aikar: cant use the surround sound things like DD and Ac3 [22:40] rbranson: toroidal, rather [22:40] rbranson: oh [22:41] Aikar: 5.1 is pretty much worthless on these analog speakers, even if the video supports it cant hear anything from the other speakers unless your ear is right up to it [22:41] rbranson: I just have stereo for the computer, yeah, so I also bought this harmon kardon receiver for A/V :/ [22:41] rbranson: also in the house [22:41] Aikar: ah yeah this is for an HTPC, not my desktop lol [22:42] Aikar: http://sphotos.ak.fbcdn.net/hphotos-ak-snc4/hs150.snc4/36854_456030531280_589866280_6319698_2921048_n.jpg lol [22:42] Aikar: love my htpc [22:42] rbranson: I never got too deep into the HTPC... I have a WDTV right now [22:42] Aikar: that case costed the most out of it [22:42] rbranson: and a horrifically bad Comcast DVR [22:43] rbranson: i watch like 5-6 hours of TV a week, at most... so I've already spent too much money [22:43] Aikar: was like 500-600$~ total for complete build, well + 140~ or so for win7 pro but someone gave me that copy for free (legal copy) [22:43] rbranson: not bad [22:44] kkaefer: Aikar: the z5500 is nice [22:44] kkaefer: but it draws 30w [22:44] Aikar: im not big into electric stuff, what does that mean lol [22:44] kkaefer: power consumption [22:44] Aikar: that high? [22:44] kkaefer: fairly, about the amount your monitor consumes [22:45] Aikar: doesnt go to sleep? [22:45] Aikar: although im having issues with my htpc going to sleep anyways, having to manually hit button :/ [22:45] kkaefer: it does, but it's still at ~5 watts [22:45] kkaefer: so I always end up switching it off completely [22:46] kkaefer: but the switch is only in the back of the subwoofer [22:46] kkaefer: it's also quite large, btw [22:46] kkaefer: > 1 foot wide and high and about 1.5 foot deep [22:47] sprout has joined the channel [22:47] Aikar: does it have the feature the X540's have to convert 2ch to 5.1ch audio, and is it better about it? if i turn that button on it makes 2ch sound better, but when i play a video that has 5.1ch native, it breaks some the channels like i cant hear people talking but can hear background sounds, and i have to turn the button off [22:47] ajpi has joined the channel [22:47] kkaefer: there are multiple ways for that [22:48] Aikar: its an actual button on the vol control knob for X540 :/ [22:48] Aikar: annoying to have to hit it each time switching [22:49] kkaefer: you're probably talking about dolby pro logic? [22:49] kkaefer: not sure if there's a way to autodetect that [22:49] kkaefer: but it doesn't autodetect, afaik [22:49] Aikar: i dunno, its something matrix the speakers themself provide [22:49] kkaefer: oh, matrix is something different though [22:49] Aikar: i was asking if the x5500 does it w/o the hardware toggle [22:50] jashkenas has left the channel [22:50] ysynopsis1 has joined the channel [22:50] kkaefer: it's on the remote as well [22:50] kkaefer: is that what you mean? [22:50] Aikar: i guess remotes suffiecient lol [22:50] _announcer: Twitter: "Cloud-based node.js hosting with super-easy deploys. Nice. http://blog.nodejitsu.com/commit-deploy-test-invite-release" -- Ryan Carson. http://twitter.com/ryancarson/status/3580563638194176 [22:50] Aikar: i dont use the matrix feature on the 540s much cause ill get nice and seated into recliner for a movie, then notice i cant hear anyone talking :( [22:51] kkaefer: its pretty good about decoding the surround sound signal though [22:51] kkaefer: it played anything i've thrown at it [22:52] kkaefer: with optical cables [22:52] rbranson: that's the one thing I don't like about my HK AVR - 65w idle draw [22:52] Aikar: cool, i was just more so asking about the "matrix" feature for converting 2ch to emulated 5.1ch [22:52] rbranson: so I turn it off [22:52] kkaefer: Aikar: you mean dolby pro logic? [22:52] kkaefer: rbranson: ugh [22:53] Aikar: it would be nice if you could leave matrix on and it not mess up real 5.1 audio [22:53] rbranson: pro logic is a 4-ch encode in a 2-ch signal [22:53] kkaefer: rbranson: yes [22:53] Aikar: http://www.logitech.com/en-hk/172/2757 [22:53] Aikar: Matrix Surround Sound [22:53] kkaefer: Aikar: if the z5500 is recognizing a 5.1 signal like DTS, it automatically switches to that [22:54] Lorentz: I need to get get speakers too. [22:54] Lorentz: ACTION has an Auzentech Forte [22:55] Lorentz: More accurately, need a new amp, since it blew up. [22:55] rbranson: the HK does it all though... PL/PL-II, Digital+, DTS, TrueHD, DTS-HD MA [22:55] Aikar: im gonna have to wait till dec~ to get em lol, hit a deer oct30th so gotta pay deductible ;/ [22:55] rbranson: of couse, I don't even have a BD player, so most of it is pointless :) [22:56] kkaefer: rbranson: write a node library that generates DTS sound ;) [22:56] rbranson: haha [22:56] rbranson: DTS-HD Master Audio! [22:56] kkaefer: at least [22:56] Aikar: require('dts').playLoudMusic(); [22:57] rbranson: DTS-HD is like 25mbit/s [22:57] Aikar: i saw some idiots on youtube with a 30kW system in their SUV [22:57] Aikar: it vibrated the buildings around thems windows :s [22:57] davidc_: Aikar, this is when the saying comes in: "Only in America" [22:57] Aikar: lol [22:58] kkaefer: in other countries, the window panes are properly fixed to the window frame [22:58] Aikar: http://www.youtube.com/watch?v=cedfX-gzHuM [22:58] kkaefer: ;) [22:59] CIA-95: node: 03Rasmus Andersson 07master * re5a0fbe 10/ (62 files in 21 dirs): Added support for cross compilation and also fixed DEST_CPU to represent the canonical symbols dictated by v8 - http://bit.ly/97I5HB [22:59] CIA-95: node: 03Ben Noordhuis 07master * r5d80bdb 10/ wscript : Add --profile flag to configure script, enables gprof profiling. - http://bit.ly/biQaTN [22:59] CIA-95: node: 03Bert Belder 07master * re129630 10/ (2 files in 2 dirs): Fix V8 build on Cygwin - http://bit.ly/9ZJeA1 [22:59] CIA-95: node: 03Ryan Dahl 07master * r320e002 10/ (Makefile tools/doctool/doctool.js): fix 'make doc' - http://bit.ly/bNH8t8 [22:59] rbranson: http://www.youtube.com/watch?v=inuJeP5kUfw#t=0m50s [23:00] Aikar: LOL [23:00] ryah_: micheil: can we get archor links for each of the sections in the docs? [23:00] Aikar: looks like same guy as other videos i saw [23:00] ryah_: e.g. file:///home/ryan/projects/node/doc/api/process.html#process.argv [23:00] ryah_: or something. [23:01] mogilny: if you man node, it looks better [23:01] JimBastard has joined the channel [23:01] JimBastard: ohh hai client parse error with no line number again [23:01] JimBastard: did eventsource stuff ever land? [23:01] ryah_: JimBastard: no [23:02] johan_bouveng: ryah_: hi, grats to joyent stuff, hope node.js will benefit from it! [23:04] rbranson: ryah_: is anyone working on the kernel AIO problem right now? [23:04] JimBastard: ryah_: do you have any idea when that may get in? would be very useful [23:04] Aikar: yeah whats up with this on joyent? someone said joyent 'bought' node? O.o [23:05] pquerna: JimBastard: can i get a beta account? [23:05] JimBastard: pquerna: yyeaaaahhh [23:05] ajsie: JimBastard: yeah me too [23:05] JimBastard: one sec [23:06] JimBastard: pquerna and ajsie can you pm your emails and desired user names, ill send out the invite [23:06] cloudhead has joined the channel [23:06] JimBastard: pquerna: im in SF btw [23:08] johan_bouveng: beta acc to what? =) [23:08] CIA-95: node: 03Ryan Dahl 07master * rb842fbd 10/ .gitignore : Update gitignore for new docs - http://bit.ly/a2ab4T [23:08] CIA-95: node: 03Ryan Dahl 07master * rbc0118e 10/ doc/api/process.markdown : Remove process.compile from docs - http://bit.ly/cvioQC [23:08] ryah_: rbranson: no [23:08] ajsie: johan_bouveng: nothing! dont ask! [23:09] ryah_: JimBastard: not in the near future. maybe 3 weeks? [23:09] johan_bouveng: ajsie: why not. [23:09] rbranson: ryah_: is it something that you feel needs to be fixed in libeio or done in node? [23:09] ajsie: johan_bouveng: donno [23:09] ajsie: :) [23:09] JimBastard: 10-4 [23:09] johan_bouveng: JimBastard: what invites? =) [23:09] ryah_: rbranson: it should be done in libeio [23:09] ajsie: johan_bouveng: to nodejitsu .. a node hosting service [23:09] ryah_: johan_bouveng: thnaks [23:10] johan_bouveng: ah. [23:10] johan_bouveng: ajsie: i host my nodez at AMZN. [23:10] johan_bouveng: =) [23:10] Aikar: i think ima signup for the free amazon package they got going on right now [23:10] Aikar: to do my devving [23:10] rbranson: micros suck [23:10] johan_bouveng: ryah_: u in copenhagen/sweden area soon? would love a meetup/session/hack [23:10] ajsie: Aikar: rackspace? [23:10] rbranson: just get a 512 linode [23:10] ajsie: oh [23:10] ajsie: wrong person [23:11] ajsie: johan_bouveng: rackspace? [23:11] ryah_: johan_bouveng: no, sorry [23:11] johan_bouveng: rbranson: my payed micro works well. [23:11] Aikar: i have a dedicated right now, but i wanted to test out scaling over multi servers [23:11] ajsie: rbranson: micros? [23:11] jpld has joined the channel [23:11] rbranson: AMZN micro instances [23:11] ajsie: ok [23:11] rbranson: or rather ,ec2 [23:11] ajsie: rbranson: why? [23:11] ajsie: Aikar: i want to upload and forget about it [23:11] rbranson: the I/O is stupid slow [23:11] ajsie: dont want to maintain anything at all =) [23:12] rbranson: like it's slow to untar things [23:12] johan_bouveng: uhm. [23:12] rbranson: and compilation is unbelievably slow [23:12] johan_bouveng: im not buliding a untar and compile SAAS. [23:12] johan_bouveng: =D [23:12] pquerna: at least they dont' run out of them [23:12] Aikar: ah... maybe better off with just normal dedicated then lol [23:12] rbranson: pquerna: hehe [23:13] Aikar: im with ServerLoft atm [23:13] johan_bouveng: rbranson: my t1.micro works like a charm for my current node needs. [23:13] sechrist has joined the channel [23:13] johan_bouveng: rbranson: =) [23:13] rbranson: the large instances are, as they should be, a ton faster [23:13] pquerna: RS, much love for various reasons, but, open ticket right now because their api is returning a NPE trying to boot a machine :| [23:13] mikew3c has joined the channel [23:14] _announcer: Twitter: "Released a new Node.js powered site the other day, http://jsonip.com. Get a client's ip address as json or jsonp #nodejs" -- Charles. http://twitter.com/geuis/status/3586447282016256 [23:14] rbranson: I also get a 18ms ping to my linode, so :D [23:14] ajsie: wow [23:14] ajsie: i got 250 ms [23:14] cardona507 has joined the channel [23:14] Aikar: rackspace is so badly overpriced o.o, what does 'managed' give you? [23:15] pquerna: not rackspace rackspace, but rackspace cloud [23:15] _announcer: Twitter: "@heydenberk @jsgoecke @ebooq How about a proper node.js meetup in Philly sometime soon?" -- Mark Headd. http://twitter.com/mheadd/status/3586695920357379 [23:15] muk_mb: I <3 slicehost [23:15] rbranson: 64 bytes from 69.164.201.182: icmp_seq=0 ttl=53 time=18.889 ms [23:15] rbranson: :O [23:15] Aikar: i pay 100$/mo for 1.6ghz quadcore, 4gb memory, 250gb hdd i think, 5tb bandwidth [23:15] Aikar: and like 6 IP [23:15] Anti-X: rackspace cloud is cheaper than amazon [23:15] pquerna: great, now I need to boot 30 machines today. [23:16] rbranson: 5TB BW for $100/mo sounds overbooked [23:16] pquerna: and you don't have EBS; Which is a massive negative, and/or a massive plus. [23:17] Aikar: http://www.serverloft.com/dedizierte-server/server-details.php?products=0 [23:17] johan_bouveng: jsonip? [23:18] johan_bouveng: heh [23:18] halfhalo: ACTION had slicehost then went to linode since they have better specs [23:18] johan_bouveng: rbranson: what ping do u get to tapbit.com? [23:18] CIA-95: node: 03Ryan Dahl 07master * r268bc57 10/ (8 files in 2 dirs): Use require('javascript') instead of process.binding('evals') - http://bit.ly/cAMjQE [23:18] rbranson: johan_bouveng: it's blocking the pings [23:18] johan_bouveng: ah, hm. [23:19] JimBastard has joined the channel [23:19] JimBastard: fucking internet [23:19] CIA-95: node: 03Ryan Dahl 07master * rd787a44 10/ (9 files in 3 dirs): Use require('javascript') instead of process.binding('evals') - http://bit.ly/byc6FV [23:19] johan_bouveng: internet is made up out of peoples need to fuck, so watch your words JimBastard [23:19] johan_bouveng: :P [23:20] ryah_: actually, i'm going to call that require('js') [23:20] ryah_: hm [23:20] ryah_: or, i guess javascript is fine... [23:20] Aikar: shorter is better :p [23:20] _announcer: Twitter: "the #nodejs community get their shit right, must say that node-boilerplate is pretty neat. clojure need this." -- Michael Ossareh. http://twitter.com/ossareh/status/3588116912807936 [23:20] Aikar: but yeah it did seem weird to me before to do proces.binding to access that instead of a normal require [23:21] JimBastard: pquerna and ajsie should be sent, let me know if you have any issues or questions [23:21] rbranson: the linode DC also gets ridiculous pings to big sites [23:21] rbranson: PING google.com (74.125.227.50) 56(84) bytes of data. [23:21] rbranson: 64 bytes from 74.125.227.50: icmp_seq=1 ttl=56 time=0.657 ms [23:21] ajsie: JimBastard: yeah thanks ill check it out [23:21] ajsie: :) [23:21] [[zz]] has joined the channel [23:22] johan_bouveng: rbranson: perhaps i could remove that blocking of pings. its more or less amazon default. [23:22] rbranson: i mean amazon is appropriate in some situations [23:22] rbranson: but I think it's a little overhyped and most people could get away with VPS [23:23] rbranson: I've ran EC2 infrastructures too [23:24] Aikar: well cloud really is vps, just with utilities provided to make spinup/spindown/imaging easily accessible and programmatical [23:24] rbranson: EC2 is a little different though [23:24] rbranson: I feel, anyway [23:24] rbranson: the hourly billing [23:24] rbranson: that's sort of the main thing that I think separates EC2/Rackspace from VPS providers [23:24] Aikar: yeah and overly complicated :| trying to figure out what a monthly bill would be is insane [23:25] rbranson: EC2 is "for us by us" for people that build at big scale [23:25] Aikar: if they just said "if tis server is on, you get billed this per hour" without seperate billings for bandwidth and everything it wouldnt be so bad [23:25] rbranson: and they've only recently really started to compete at smaller/medium scale [23:25] pquerna: http://www.symantec.com/connect/blogs/stuxnet-breakthrough [23:25] dipser_ has joined the channel [23:26] Aikar: O.o [23:26] Aikar: i didnt read up on stuxnet, wtf is it trying to do? [23:27] _announcer: Twitter: "installing older version of node.js and coffeescript in order to use range notation" -- ujm. http://twitter.com/ujm/status/3589743912681472 [23:27] ajsie: JimBastard: looks cool [23:27] Pilate: lol nobody here could do it justice, read the symantec whitepaper on it [23:27] Pilate: its the most amazing piece of malware ever written [23:27] Aikar: yeah i see it talking about frequency converters and stuff lol [23:27] Aikar: i thought it was just some hack into iran nuclear station or something? [23:28] _announcer: Twitter: "Talking about node.js at WebExpo Digest, hosted by Microsoft Prague. Sunday 3pm, come if you're around: http://bit.ly/ds29Vg" -- Jakub Nesetril. http://twitter.com/jakubnesetril/status/3589997303173120 [23:28] Pilate: nobody knows exactly what installations it was targeting, so they cant say definitively [23:28] rbranson: fucking jimmy wales [23:28] pquerna: Aikar: its an impressive combination of attack/coordination techniques, inlcuding zero days, signed drivers (so windows trusts it, etc), and it all is built around the payload to mess up a PLC [23:29] Pilate: and they didnt find it until it had been in existence for over a year =) [23:29] Aikar: PLC? [23:29] pquerna: a computer that controls a physical thing [23:29] rbranson: http://i.imgur.com/Vz21r.jpg [23:29] pquerna: like a motor [23:29] pquerna: or a press in a factory [23:29] pquerna: that kind of thing [23:29] rbranson: SCADA, those things that fucking ruin 900MHz [23:29] Aikar: o.o [23:29] rbranson: and any other unlicensed freq [23:30] johan_bouveng: rbranson: the micro is a price worthy alternative to most hosts i think. [23:30] pquerna: the combination of attach techinques, zero days, and control system, along with it was such a targetted attack -- it doesn't mess up every PLC, just very very specific ones [23:30] pquerna: it has led to speculation that only a goverment could of made it [23:31] johan_bouveng: rbranson: just started using it. have used ec2 at work in large scale deployment, but never used it for personal small stuff. [23:31] johan_bouveng: rbranson: and its 2010, you have to host in the cloud, you might get laughed at otherwise :P [23:31] pquerna: i honestly agree with that assetment; ithe payload attacking specific PLCs just doesn't make sense if you are making a spam botnet :) [23:31] rbranson: lol [23:31] rbranson: johan_bouveng: you should go check out a linode 512, seriously... you will be impressed... it's a few dollars more than a micro and 10x more performant [23:32] rbranson: and the linode management tools > EC2 [23:32] Pilate: +1 for linode [23:32] johan_bouveng: is there an iphone app? i love kicking some instances while eating sushi for the fun of it :D [23:33] rbranson: yeah [23:33] johan_bouveng: rbranson: url? [23:33] rbranson: linode.com [23:33] johan_bouveng: oh. [23:33] johan_bouveng: :P [23:33] rbranson: http://blog.linode.com/2010/02/04/linode-manager-for-iphone/ [23:33] Omni5cience has joined the channel [23:33] rbranson: linode made me question all my EC2 elitism [23:34] rbranson: most VPS providers seem shady and unprofessional [23:35] johan_bouveng: rbranson: not so much info on the 512. [23:35] rbranson: it's on the homepage [23:35] _announcer: Twitter: "rabbitmq + = node.js rabbit.js http://t.co/5UNwByr # # rabbitmq nodejs" [hr] -- Régis Gaidot. http://twitter.com/rgaidot/status/3591901563322368 [23:36] ajsie: JimBastard: how will nodejitsu install dependencies like npm? [23:36] Anti-X has joined the channel [23:37] wilmoore has joined the channel [23:37] JimBastard: ajsie: with magic [23:37] JimBastard: i gotta brb ttyl [23:37] ajsie: ok [23:37] dgathright has joined the channel [23:37] ajsie: c u [23:40] liar has joined the channel [23:43] _announcer: Twitter: "been working with #ometa-js . i have to make it work with node.js . requires proper imports and removing the modification of native types" -- Brian Mavity. http://twitter.com/bmavity/status/3593734696472576 [23:43] devinus has joined the channel [23:44] _announcer: Twitter: "Node Jitsu (node.js-hosting) is shaping up: http://blog.nodejitsu.com/commit-deploy-test-invite-release" [sv] -- Filip Salomonsson. http://twitter.com/filip/status/3594000556625920 [23:54] malkomalko has joined the channel [23:56] Dreamer3: so [23:56] Dreamer3: other than if you love JS and need high concurrency wht might i want to dabble with node other than say Rails? [23:57] rbranson: if you like writing javascript? [23:57] rbranson: Rails and node.js aren't really the same thing at all [23:57] rbranson: Rails is a full-stack web framework for writing traditional stateless web applications [23:58] rbranson: node.js is a runtime for asynchronous network applications