[00:02] polotek: andrei: search the mailing list [00:02] streampunk has joined the channel [00:02] polotek: think I remember seeing a similar question [00:03] hellp has joined the channel [00:03] mrb_bk has joined the channel [00:04] boaz has joined the channel [00:06] dilvie: gerad: Is that composition? [00:06] gerad: dilvie: don't understand [00:07] dilvie: gerad: can you explain what's going on in your code sample? [00:07] dilvie: gerad: it looks like you're inheriting from an existing object... [00:08] gerad: dilvie: basically it creates a copy of a class with a different constructor [00:08] gerad: we use it to initialize stuff without calling the constructore [00:09] saikat_ has joined the channel [00:11] _announcer: Twitter: "wonna install node.js on windows? http://www.lazycoder.com/weblog/2010/03/18/getting-started-with-node-js-on-windows/" -- Andreas Andreou. http://twitter.com/andyhot/status/22393961473 [00:12] punytan_ has left the channel [00:12] statim: anyone using Faye? http://github.com/jcoglan/faye Im trying to figure out how to know once the browser client is 'ready'. if i just create the client and immediately subscribe and publish it doesnt quite work. must be an undocumented 'on connect' type thing im thinking [00:13] dilvie: gerad: how do you do object composition? [00:13] dilvie: (the prototypal way) [00:13] mape: the soundcloud varnish thingy is down :S [00:13] gerad: dilvie: don't know the best way [00:13] gerad: dilvie: I usually rougly do [00:14] gerad: dilvie: for (method_name in oldObject.prototype) newObject.prototype[method_name] = oldObject.prototype[method_name] [00:14] hsuh: rauchg: changing to port 80 on client too helped! [00:14] gerad: but that's gross [00:14] dilvie: I like to use composition with ajax so I only have to send stuff over the wire that isn't default in the model. [00:14] jamesarosen has joined the channel [00:15] gerad: I was thinking that there's probably some way to do it by inserting the parent into the prototype chain, but haven't investigated [00:16] zemanel: now all i need is to get messages from the textbox into the chat rooms :p [00:16] jamesarosen: got a socket.io question: I seem to be getting the equivalent of ("" + buffer) instead of (buffer) on the client side. If I look at the on('message') object, it's a string that looks like "[object Object]" [00:16] _announcer: Twitter: "thinking about proposing a talk to #codebits named node.js - a deep dive, where I try to explain node.js architecture and internals" -- Pedro Teixeira. http://twitter.com/pedrogteixeira/status/22394268958 [00:16] jashkenas: gerad: I don't think you can do that if you want the mixin object itself to be able to inherit properties. [00:17] dilvie: gerad: won't that method lose stuff that doesn't show up in for..in loops? [00:17] jashkenas: gerad: otherwise, clone the mixin object, and inject it into the prototype chain right above the object. [00:17] victorstan has joined the channel [00:17] hsuh: jamesarosen: you are using npm's socketio? [00:17] jamesarosen: yeah [00:17] hsuh: hehe. i was there 2 hours ago.. [00:17] hsuh: rauchg said he would update, but i just removed the npm and included socketio as a git submodule [00:17] jamesarosen: just like the demo chat app on it's project page (and pretty much like the demo in the Node KO blog) [00:18] dannycoates has joined the channel [00:18] hsuh: jamesarosen: same here, same here... you have to update your socket.io, i'm not sure rauchg has it updated [00:18] hsuh: i was getting crazy getting a [object Object] string [00:19] jamesarosen: "npm update socket.io > nothing to update" [00:19] hsuh: that sucks... i would remove that version and do via git submodule add git://github.com/LearnBoost/Socket.IO-node lib/socket.io-node [00:20] hsuh: then in your server.js update to point to lib/socket.io-node and you should be good to go [00:20] rauchg: i honestly have never tried the npm version too much, don't see why the git submodule is bad [00:20] JimBastard has joined the channel [00:20] rauchg: since we don't have any depedendencies [00:21] rauchg: but after i'm done with a few tasks i'm gonna make sure the npm version is rock solid [00:21] jamesarosen: rauchg: you at Joyent? [00:21] rauchg: yep [00:21] quirkey has joined the channel [00:21] hsuh: rauchg: yep its great now [00:21] rauchg: hsuh sorry about the trouble [00:21] rauchg: jamesarosen you too ? [00:22] hsuh: jamesarosen had exactly the same one now [00:22] jamesarosen: rauchg: yup. near the ping-pong tables [00:22] jamesarosen: rauchg: gonna hit the head right now. Where can I find you after that? [00:23] _announcer: Twitter: "Prediction: Development with Node.js with Node.js will be even more exciting when V8 is updated compliant with the ECMAScript 5 spec." -- Ryan W Tenney. http://twitter.com/ryantenney/status/22394707243 [00:23] t3h_awesome_ has joined the channel [00:23] dshaw1 has joined the channel [00:24] drudge: i bet it will it will [00:27] creationix_ has joined the channel [00:27] _announcer: Twitter: "24 hours into #nodeko and the NYC NODEJITSU NINJAS ARE KILLING IT! http://github.com/nodejitsu/ http://nodejitsu.com #nodejs #node.js" -- Nodejitsu. http://twitter.com/nodejitsu/status/22394981708 [00:27] _announcer: Twitter: "Prediction: Node.js will be even more exciting when V8 is updated to be compliant with the ECMAScript 5 spec." -- Ryan W Tenney. http://twitter.com/ryantenney/status/22394992516 [00:29] johnfn has joined the channel [00:30] JimBastard: hey guys, anyone wanna test this real-time game we got going here? [00:30] rauchg: jamesarosen [00:30] rauchg: let's play [00:30] rauchg: ping pong [00:30] mrb_bk: JimBastard: sure [00:30] mape: bring it [00:31] matt_c: +1 on SocketIO client as submodule. I've done that a couple of times. [00:31] MattDiPasquale has joined the channel [00:31] benv: "Error: Cannot find module './crypto'" :( [00:31] benv: isn't that built into node? [00:32] mape: not if you prefix with ./ [00:32] benv: var crypto = require('crypto'); [00:32] jesusabdullah: JimBastard: I'd be down, 'cept I'm making a MORE BETTERS GAME >:O [00:33] benv: mape ^ [00:33] mape: benv: that plays? [00:33] mape: or is that how you do it? [00:34] mape: Use require('crypto') to access this module. [00:34] jamesarosen: rauchg: I'm game. come ping me. (pun fully intended) [00:34] benv: isn't that what i wrote? or am i high or something [00:35] rauchg: hahahahahah [00:35] mape: http://www.flickr.com/photos/danielqo/4935818579/ [00:35] mape: wtf is that? [00:35] mape: bread dipped in chocolate? [00:35] benv: ah, you know what, nm ... [00:36] benv: its actually blowing up when i require my vendor dir [00:36] JimBastard has joined the channel [00:36] JimBastard: stupid irc [00:36] JimBastard: yo rauchg [00:36] JimBastard: you wanna peep this socket.io game? [00:36] JimBastard: http://hid.im:3008/ [00:37] JimBastard: dude at the nyc hq is working on it [00:37] jashkenas: JimBastard: not for Node KO though, right? [00:37] JimBastard: jashkenas: naaah, mnutt is working on it for fun [00:37] jashkenas: nice. [00:39] mattikus has joined the channel [00:39] [[zz]] has joined the channel [00:40] _announcer: Twitter: "Javascript is not a language only used in browsers anymore. It can be used pretty much everywhere now! #javascript #nodejs" -- Richard Nyström. http://twitter.com/richardnystrom/status/22395749749 [00:41] benv: jimbastard: phew [00:41] benv: *wipes sweat off brow* [00:41] JimBastard: benv: got nervous? [00:41] JimBastard: lol [00:41] jacques has joined the channel [00:42] _announcer: Twitter: "OH: "Well, to internet .... but do not Know f-f it works, Jun !!!!!" # # Nodejs nodeko" [cy] -- Nick Campbell. http://twitter.com/ncb000gt/status/22395862297 [00:44] _announcer: Twitter: "@sh1mmer I was too till I realized it was completely my fault...then it turned towards seppuku. #nodeko #nodejs" -- Nick Campbell. http://twitter.com/ncb000gt/status/22395971800 [00:44] JimBastard: !tweet @rioter people are doing deploys, entries arent ready / contest is not over [00:44] vnguyen: rauchg: when doing client.on('disconnect', fn), should client.sessionId be available inside fn? >_> [00:44] hsuh: is anyone using "hot reload for node.js on code change" ? [00:45] hsuh: http://dracoblue.net/dev/hot-reload-for-nodejs-servers-on-code-change/173/ [00:46] rauchg: vnguyen yep, shouldn't be lost [00:46] rauchg: we're talking server side riht ? [00:46] vnguyen: rauchg: yeah, for some reason, if I sys.log(sys.inspect(client)) inside fn, the output cuts off [00:47] bpot has joined the channel [00:47] rauchg: uhm, have you tried console.log(client.sessionId) directly [00:47] vnguyen: rauchg: nm, that happens when node errors due to an error somewhere else [00:47] rauchg: yeah, in fact, i remember now [00:47] rauchg: that when a client disconnects in the chat example [00:47] rauchg: i broadcast the id saying that id disconnected [00:48] ncb000gt: Anyone worked with node buffers in c before? [00:48] ncb000gt: or c++ [00:48] ncb000gt: either or [00:51] creationix has joined the channel [00:52] jamescarr: you know I had an idea I wish I would have followed up on [00:52] cheriot has joined the channel [00:52] JimBastard: guys, i think we have a winnder [00:52] jamescarr: Infinite Legend of Zelda [00:52] JimBastard: http://github.com/bancek/node-interactive-shell [00:53] JimBastard: jamescarr: you ever play Graal? [00:53] jamescarr: Graal? [00:53] _announcer: Twitter: "Got my popcorn and waiting for the @nodeknockout live coverage to come back online. Meanwhile I'm gonna learn me some node.js. Check it out!" -- Ryan Detert. http://twitter.com/rdetert/status/22396577401 [00:53] JimBastard: yeah jamescarr , its an online zelda [00:53] ncb000gt: jamescarr: don't listen to JimBastard, he's trying to distract [00:54] JimBastard: ncb000gt: im too scared about http://github.com/bancek/node-interactive-shell [00:54] ncb000gt: JimBastard: MUSTNT CLICK LINK! [00:55] jamescarr: JimBastard, eh, I was thinking zelda 1 [00:56] mscdex: aw man, chromium 7 is borked [00:56] mscdex: at least the latest release is [00:56] jamescarr: sigh [00:56] jamescarr: I'd love to code a video game [00:56] jamescarr: some cyberpunk RPG genre, like Shadowrun [00:57] mau2: Denied. [00:58] hsuh_ has joined the channel [00:59] techpeace has joined the channel [01:00] kylejginavan has joined the channel [01:01] devongovett has joined the channel [01:02] indexzero: jamescarr: Shadowrun was such an amazing concept [01:03] indexzero: too bad M$FT screwed up the XBOX360 game [01:03] jamesarosen: is there a Node equivalent of jQuery.extend(object1, object2, ...)? [01:03] jamescarr: indexzero, yes, I really liked it [01:03] jamescarr: http://www.nesmaps.com/maps/zelda/sprites/ZeldaSprites.html [01:03] indexzero: jamesarosen: underscore? [01:03] jamesarosen: (copy all vars in object2 into object1 iff they are in hasOwnProperty) [01:03] mau2: Oh yeah, magic is supposed to show up next year, right? [01:04] jamesarosen: indexzero: a function or the fn-programming library? [01:04] jamescarr: http://www.nesmaps.com/maps/zelda/ZeldaBG.html [01:04] jamescarr: with all that, I am sure someone with cavas skills and other skills could easily recreate [01:04] indexzero: jamescarr: http://documentcloud.github.com/underscore/#extend [01:04] bpot has joined the channel [01:05] indexzero: oops, I mean jamesarosen, too similar :) [01:05] jamesarosen: indexzero: :) [01:06] polotek: jamesarosen: take a look at underscore and make sure it's using hasownproperty [01:06] polotek: I had to patch it a while back [01:06] visnup_ has joined the channel [01:06] polotek: might be fixed now [01:07] jashkenas: polotek: _.extend doesn't have a hasOwnProperty check, purposefully. [01:08] jashkenas: polotek: the rest of the iteration and collection methods do. [01:08] polotek: jashkenas: yeah I was just seeing that [01:08] polotek: any particular reason? [01:08] jamesarosen: nope. additionally, 1.1.0 is out (still doesn't use hasOwnProperty), though 1.0.4 is latest in NPM [01:08] jashkenas: polotek: only because you want to copy all of the properties, not just the local ones. [01:08] zaach has joined the channel [01:08] jakehow has joined the channel [01:08] polotek: I guess most of the time yes [01:09] jashkenas: jamesarosen: I can fix that 1.0.4 problem... [01:09] polotek: jashkenas: that's why I had to patch it [01:09] indexzero: wattup jashkenas, kyuri lexer is 100% awesome thanks to your tips ;) [01:09] jamesarosen: jashkenas: what about an "extendLocal"? [01:09] jashkenas: indexzero: wonderful ... link? [01:10] indexzero: http://github.com/nodejitsu/kyuri/blob/master/lib/kyuri/lexer.js [01:10] indexzero: jashkenas: decided to go with a custom parser though because it's such a simple state machine [01:10] jashkenas: jamesarosen: Underscore 1.1.0 should be available via NPM now. [01:10] V1: time for a power nap :) [01:10] jamesarosen: jashkenas: :) [01:11] jashkenas: jamesarosen: or perhaps an option you can pass to extend. ... polotek: do you remember the case where you had to patch it? [01:11] jamesarosen: generic node style question: if I want to require a module for all files in my app, is it preferred to do "global.Foo = require('foo')" or something else? [01:11] jashkenas: indexzero: all the better. [01:11] V1: design is finished, dashboard, is a bit working, got login, sign up, 1 script deployment, sandboxing all done, but a shit load more to do :*( [01:11] stagas_ has joined the channel [01:11] jashkenas: indexzero: wow, lexer.js looks really nice. [01:12] indexzero: jashkenas: Thanks. So much inspiration from coffeescript. I'm going to add you as a contributor [01:12] indexzero: ;) [01:12] jashkenas: ha ha. [01:12] visnup has joined the channel [01:12] indexzero: yeah, I had a huge 'ah ha' moment when I realized that gherkin doesn't have multi-line statements [01:13] indexzero: so I didn't need to do all the fancy stuff you do in coffeescript to make trailing '.''s [01:13] anteaya has joined the channel [01:13] benv: what's joyent's policy on girlfriend food moochers? [01:14] benv: [01:15] isaacs: jamesarosen: nooooo!!!!!! [01:15] jamesarosen: isaacs: happy to change to something else. suggestions? [01:15] kylejginavan has joined the channel [01:16] isaacs: jamesarosen: exports.foo = require("foo"); exports.bar = require("bar") [01:16] isaacs: jamesarosen: then myDeps = require("deps") [01:16] jamesarosen: no, no [01:16] jamesarosen: that part I'm good on [01:16] jamesarosen: I mean I have an index.js that does "var Foo = require('foo');" then in bar.js I have to repeat myself b/c Foo is local to index.js [01:16] isaacs: jamesarosen: yeah, do that. [01:17] isaacs: jamesarosen: repeat yourself. [01:17] jamesarosen: repeat myself? [01:17] isaacs: yes [01:17] jamesarosen: really? [01:17] isaacs: yes [01:17] jamesarosen: that seems... redundant [01:17] isaacs: local vars are local [01:17] jamesarosen: so I should have "var _ = require('underscore');" at the top of basically every file? [01:18] _announcer: Twitter: "Ask HN: Small apps ideas to learn Node.js? - http://su.pr/1Mthpv" -- eBot. http://twitter.com/kicauan/status/22398116516 [01:18] cloudhead has joined the channel [01:19] nerdEd has joined the channel [01:19] polotek: jashkenas: sorry, I only patched it to use hasownproperty [01:19] polotek: because I only wanted the locals [01:19] devongovett: jamesarosen: you could make it global: global._ = require('underscore') in one file and then just use it from the others... [01:19] isaacs: jamesarosen: yes, that is correct. [01:20] isaacs: jamesarosen: i recommend not touching the global object ever. [01:22] polotek: is there a reason node Buffer uses signed char instead of unsigned [01:22] polotek: and how would I write unsigned char data to it with it getting mangled? [01:23] jamesarosen: so that's one vote for global._ and one vote for keeping it local to each file? [01:24] mau2: jamesarosen, local. [01:24] isaacs: jamesarosen: local! [01:24] mau2: Don't goddamn destroy the main point of modules. [01:24] isaacs: jamesarosen: i just voted again!! [01:24] necrodearia has joined the channel [01:24] _announcer: Twitter: "OH: dude1: "You know what we should do?" dude2: "We're not hacking buffers..." dude1: "we should!" #nodejs #nodeko" -- Nick Campbell. http://twitter.com/ncb000gt/status/22398531140 [01:24] jamesarosen: isaacs: are you from Chicago ;) [01:25] matt_c: local.no.de is racking up the votes. [01:26] mape: Votes? [01:26] isaacs: jamesarosen: nope. [01:26] matt_c: mape: failed attempt at a joke crossing votes for local over global with votes for teams... [01:27] mape: matt_c: ah k [01:27] ryah: polotek: hey [01:27] polotek: ryah: hey, see my question about Buffer? [01:27] ryah: no [01:29] cardona507_ has joined the channel [01:29] technoweenie has joined the channel [01:30] c4milo has joined the channel [01:30] benburkert has joined the channel [01:31] polotek: is there a reason node Buffer uses signed char instead of unsigned [01:31] polotek: [9:22p] polotek: [01:31] polotek: and how would I write unsigned char data to it with it getting mangled? [01:31] c4milo has left the channel [01:31] polotek: ryah^ [01:32] ryah: eh, it shouldn't [01:33] polotek: ryah: stand by, trying something [01:34] ryah: it casts to u char when outputing it [01:34] SoldierOfCode: hi all [01:34] coen has joined the channel [01:35] atmos has joined the channel [01:35] SoldierOfCode: anyone familiar with Connect? I have a strange problem where when I post to a route the params are never populated [01:36] cardona507_: man I got a lot to learn :P [01:36] mrb_bk has left the channel [01:37] overra: cardona507_: so do i [01:37] cardona507_: overra: :) that makes me feel slightly better [01:37] overra: cardona507_: same here :) [01:37] overra: coming from php background here, how about you? [01:38] cardona507_: mainly I have done basic html & css with a bit of jQuery - I am trying to understand the backend a little better and think that node is my best bet being JS and all [01:38] cardona507_: but i am having super newb issues [01:38] cardona507_: I can't even post values from one page to the next [01:39] jpick has joined the channel [01:39] cardona507_: what is the node equiv of $_REQUEST? [01:39] ncb000gt: SoldierOfCode: I personally haven't had any problems. Gist maybe? [01:39] SoldierOfCode: one sec... [01:41] overra: cardona507_: are you using a framework module? [01:41] cardona507_: overra: yep express [01:41] cardona507_: I have a simple app that grabs your long and lat with html5 - [01:41] cardona507_: I then autopopulate a form with those values [01:42] cardona507_: the user then clicks submit and i want it to post those values to /confirm [01:42] cardona507_: should be straight forward - but I am definitely at a wall [01:43] overra: just need to figure out how express handles post requests [01:43] atmos: SoldierOfCode: what's up with it ? [01:43] cardona507_: yeah [01:43] SoldierOfCode: Here is a gist [01:43] SoldierOfCode: https://gist.github.com/d0cadcf3ef510e0f824f [01:44] konobi: what's a decent place to start with websockets? [01:44] SoldierOfCode: if you look at the bottom [01:44] _announcer: Twitter: "Prodigy - Breathe remix through @ukfluke , great for some #nodeko hackery if you like #dubstep I recommend it. http://bit.ly/cZNOzx #nodejs" -- Nick Campbell. http://twitter.com/ncb000gt/status/22399769717 [01:44] SoldierOfCode: thats a partial output of the request obj [01:44] SoldierOfCode: the params are always empty but I can confirm I am sending them to the server [01:45] overra: cardona507_: http://expressjs.com/guide.html#Routing [01:45] cardona507_: i'm sure it's simple - more than anything this hackathon is showing me my weakspots [01:45] cardona507_: overra: thanks [01:45] rauchg: konobi: http://github.com/learnboost/socket.io [01:45] polotek: so ry [01:45] polotek: I have unsigned char * data [01:45] polotek: I need to write it to a Buffer in C++ [01:45] polotek: I cannot figured out how to do that properly [01:46] polotek: ryah^ [01:47] ncb000gt: SoldierOfCode: i presume you've looked at the requests in something like firebug [01:47] SoldierOfCode: ya, in chrome and ff [01:47] ncb000gt: ok [01:47] ncb000gt: cool [01:47] ncb000gt: figured [01:47] atmos: SoldierOfCode: you need the body decoder prolly [01:47] SoldierOfCode: looking now... [01:47] ncb000gt: SoldierOfCode: you know. [01:47] konobi: otek> I have unsigned char * data [01:48] ncb000gt: I'm using formidable [01:48] konobi: bah [01:48] mape: ryah: any way to get a hold of one of those squid tshirts? [01:48] ncb000gt: and it get the multipart data we want. [01:48] ncb000gt: check it out [01:48] badaxx_ has joined the channel [01:48] technoweenie: mape: they're at joyent, are you here [01:48] mape: I'm in Sweden.. [01:48] sant0sk1 has joined the channel [01:48] technoweenie: oh, well then no [01:48] halorgium: technoweenie: did you get something sorted? [01:48] technoweenie: sorry [01:48] mape: k :/ [01:48] atmos: halorgium: you're alive ! [01:48] technoweenie: halorgium: something sorted? [01:48] halorgium: not really [01:49] halorgium: technoweenie: for the KO [01:49] technoweenie: oh, yea [01:49] technoweenie: i'm sorted [01:49] atmos: mape i could see about getting one for ya [01:49] ncb000gt: mape: I want one too, unfortunately I'm not there either [01:49] technoweenie: mate [01:49] jbr__ has joined the channel [01:49] mape: atmos: If possible that would be awsome :) [01:49] jbr_ has joined the channel [01:49] halorgium: ACTION has been haxing too much rubyz with sr :) [01:50] technoweenie: i'm sure one of the joyent dudes could handle that [01:50] technoweenie: it looks like they had a ton left still [01:50] ncb000gt: SoldierOfCode: have you checked out Formidable? [01:50] ncb000gt: technoweenie: that's good news to me! :) [01:50] SoldierOfCode: ncb000gt: looking now [01:50] ncb000gt: I'm sure my teammates would love one [01:50] ncb000gt: SoldierOfCode: good deal [01:50] ncb000gt: SoldierOfCode: I'm using it with connect. [01:52] halorgium: atmos: you at joyent or hubz? [01:53] atmos: joyent now, gonna hack for a bit then head home to let canines out [01:53] atmos: might grab drinks with andy a little later if you're up for it [01:54] halorgium: yer, been keeping sr company while watching some tvz [01:54] halorgium: should charge my phone again :) [01:54] _announcer: Twitter: "Playing as NodeJS actually only been around for some examples see ...:-)" [gl] -- Felipe Kenobi. http://twitter.com/scaphe/status/22400443420 [01:54] cardona507_: i am getting an error when i try to push to heroku - it is saying that it is missing express - and then when I npm install express I am getting Error: ECONNREFUSED, Connection refused - anyone have any ideas why? [01:54] halorgium: tech == fail :) [01:55] halorgium: cardona507_: does it have a startup log? [01:55] njero has joined the channel [01:55] cardona507_: you mean heroku logs? [01:55] atmos: that's not implemented [01:55] halorgium: lolz [01:55] njero: mbleigh: hey, I finally got everything for the twitter stuff working... thanks so much for the help [01:55] halorgium: ENOTIMPLD [01:56] njero: halorgium: E NOT IMPLODE? [01:56] njero: ACTION hides [01:56] atmos: it's actually pretty class how they do it [01:56] paul_irish has joined the channel [01:56] halorgium: classy? classless? [01:56] njero: so what was the story on mongohq, I heard some people got that running [01:57] atmos: http://img.skitch.com/20100824-kxuxqwbmx9kd2h7u5df8rct82j.jpg [01:57] atmos: njero: it works pretty well [01:57] njero: atmos: you got it connected and running? [01:57] atmos: njero: yup, works fine [01:57] njero: is there a howto on that? I thought there were a couple of people saying earlier something was broken [01:58] njero: I am tempted :) [01:58] coen has joined the channel [01:58] atmos: http://github.com/atmos/http-pulse-app/blob/master/lib/app.js [01:58] atmos: that uses it [01:58] njero: awesome, thanks! [01:58] njero: I may come back around on this whole thing yet :) [01:59] cardona507_: hmmm - i am being told that I need to have all of my dependencies in my repository - how can I check to confirm that I have express in my repository? [02:00] tjholowaychuk: cardona507_: cat .gitmodules [02:00] njero: atmos: that is pretty great, thanks [02:00] cardona507_: tjholowaychuk: I get - cat: .gitmodules: No such file or directory [02:01] atmos: cardona507_: it's pretty easy to vendor all you need for express [02:01] dipser_ has joined the channel [02:01] atmos: if you look at the link i just gave njero, all the files can easily be copied out of vendor/ [02:01] evilhackerdude: arnold schwarzenegger really likes sys.pump http://www.youtube.com/watch?v=drioQ137NhA [02:02] halorgium: atmos: how long you at joyent? [02:02] atmos: and look at server.js for pushing the required folders onto your load path [02:02] atmos: halorgium: dunno yet, you rsvp for the thing here ? [02:02] _announcer: Twitter: "Cool this little venture # kiwi, who embarks on the # # NodeJS Sinatra - http://bit.ly/avIpYw" [pt] -- Felipe Kenobi. http://twitter.com/scaphe/status/22400974283 [02:02] atmos: if you didn't they're gonna give you a hard time at the door [02:02] halorgium: yer, i did, but decidedly didn't turn up :) [02:03] atmos: free food and beer [02:03] atmos: plus PING PONG [02:03] halorgium: looking good btw :P [02:04] bigfleet: atmos: Get me the biggest damn t-shirt they got, I'll be out to collect sooner or later [02:04] bigfleet: :-) [02:04] guybrush: http://www.spleenville.com/journal/archives/coffee.jpg [02:06] v_oid_ has joined the channel [02:06] coen has joined the channel [02:06] cardona507_: atmos - the link you just agave njero? [02:07] cardona507_: i dont' know what you mean by 'vendor all you need' [02:07] technoweenie: he's playing ping pong [02:07] technoweenie: vendor means copying libs into some directory local to your app, vs using something like npm [02:08] technoweenie: typically you put these in a vendor dir, like 'vendor/node-redis-0.2.0/lib' or whatever [02:09] cardona507_: ahhh [02:09] cardona507_: so how can I vendor express so that I can push it to heroku? [02:09] technoweenie: copy it in a directory and require it manually [02:09] technoweenie: require('../vendor/connect/lib/connect') or whatever [02:09] halorgium: require.paths.unshift works too? [02:09] MattDiPasquale: how do i translate (new Date()).getTime() which returns mlliseconds to seconds? [02:10] MattDiPasquale: my solution: Math.floor((new Date()).getTime() / 1000) [02:10] MattDiPasquale: is it best? [02:10] V1 has joined the channel [02:10] cardona507_: I am totally new to this - how do I find where it is located on my machine so that I can copy it to a new directory? [02:10] technoweenie: halorgium: yea, i hate modifying the require stuff [02:10] mape: MattDiPasquale: could use Date.now() instead of getTime [02:10] technoweenie: cardona507_: usually its relative to your current file [02:11] technoweenie: so if you're in say lib/index.js and connect.js is in vendor/connect/lib, then you'd require('../vendor/connect/lib') [02:11] halorgium: technoweenie: guess so, i'd only do that at the top-level app layer [02:11] MattDiPasquale: mape: what's the difference? [02:11] MattDiPasquale: is that better? [02:11] mape: not really, shorter [02:11] MattDiPasquale: mape: also, better semantically [02:11] mape: looks better imo, doubt it matters [02:11] MattDiPasquale: mape: k, thanks [02:12] mape: :) [02:13] devongovett: MattDiPasquale: as it turns out, using a Double bitwise Not is actually faster than using Math.floor (http://jsperf.com/rounding-numbers-down/5). Do `~~(Date.now() / 1000)` [02:13] mark[oz]: anyone have any idea how to render a jade partial in express? Its running htmlentities over the partial, resulting in the html being printed. [02:13] tjholowaychuk: mark[oz]: != [02:13] tjholowaychuk: by default it escapes [02:13] MattDiPasquale: devongovett: cool thanks! [02:13] devongovett: yup :-) [02:14] cardona507_: how the heck do I figure out where npm installed express? [02:14] mark[oz]: tjholowaychuk: thanks :D [02:14] jsilver_ has joined the channel [02:14] chewbranca: anyone have any success getting a service plan from upload juicer? [02:14] chewbranca: still haven't heard back from them [02:15] terinjokes: nope [02:15] MattDiPasquale: devongovett: that site is freakin sweet! I got the same result. :) [02:15] chewbranca: terinjokes, did you send them an email? [02:16] devongovett: MattDiPasquale: yeah, I know! @mathias made it [02:17] BrianTheCoder has joined the channel [02:19] mikeal1 has joined the channel [02:19] bradleymeck: asdas [02:19] terinjokes: chewbranca: negative, but that didn't seem to be a precondition [02:19] ncb000gt: SoldierOfCode: did formidable work? [02:20] cardona507_: how do I get npm v 0.1.27? I have 0.1.22 [02:20] SoldierOfCode: ncb000gt: not the right solution for me - I did find the solution though [02:20] SoldierOfCode: I had to use connect.bodyDecoder() in myserver stack [02:20] ncb000gt: SoldierOfCode: ahhh gotcha. cool. [02:21] chewbranca: terinjokes, just running with the email, said to email them with your team name for access. I'm thinking they didn't realize this was a weekend hackathon and went home yesterday when this whole thing started [02:21] SoldierOfCode: ncb000gt: thanks for the suggestoin though - I may still use it [02:21] ncb000gt: SoldierOfCode: :) happy hacking [02:21] terinjokes: cardona507_: i have version 0.1.25 [02:21] halorgium: atmos: be down in 15 [02:22] bpot has joined the channel [02:22] _announcer: Twitter: "We're discovering that the randomly-assigned team name we were given ("zenith-workloom") actually *fits* what we're building?! :-) #nodejs" -- Clint Andrew Hall. http://twitter.com/clintandrewhall/status/22402287195 [02:22] cardona507_: terinjokes: I am trying to figure out where express is installed on my local machine so that I can put it in a vendor directory to push to heroku - i am having total fail time - so the next best bet is a tutorial i red but I need to have npm v0.1.27 for this to work and I can't seem to upgrade [02:23] aaronblohowiak has joined the channel [02:23] cardona507_: sooo close yet sooo far away :/ [02:23] bradleymeck: i crave man flesh! ... sorry, too many errors going on for my tastes in my ko [02:23] terinjokes: chewbranca: ah yes, the hackaton... how's that going? [02:23] _announcer: Twitter: "4:22 AM node.js the knockout (http://nodeknockout.com/) teams here in the space are still in the chop. - The future is now! ^ MB" [de] -- Coworking Cologne. http://twitter.com/CowoCo/status/22402353177 [02:24] jollyjerry has joined the channel [02:24] chewbranca: terinjokes, going good, having fun with it, I ended grabbing a free dev account from uploadjuicer and am quickly nearing my 100 image limit :/ [02:25] polotek: bradleymeck: you writing C addons? [02:25] jamescarr: Why is creationx number 1 on the leaderboard??? [02:26] jamescarr: I thought he's not even in the competition? [02:26] atmos: JOKE'S ON YOU, BUD [02:26] technoweenie: he's just that awesome [02:26] aaronblohowiak: hahahaha [02:26] v_oid has left the channel [02:26] jamescarr: we've been #3 since the KO started [02:26] jamescarr: no idea why though [02:26] bradleymeck: polotek, no, just ws appear to be borked on localhost so any bug means ~5min of deploys [02:26] _frijole has joined the channel [02:26] technoweenie: the leaderboard is for joyent deployments, not the competition [02:27] atmos: bradleymeck: ws works here ! [02:27] jamescarr: expressjs + joyent question: why is app.settings['env'] still "development" on production? [02:27] _announcer: Twitter: "two days until kiwi is coming down, if you are still using it for some reason, dont :) #nodejs" -- TJ Holowaychuk. http://twitter.com/tjholowaychuk/status/22402640101 [02:27] bradleymeck: i envy you atmos [02:28] atmos: bradleymeck: socket.io or somethign else ? [02:28] bradleymeck: node-websocket-server [02:28] atmos: ahh, i'm using socket.io without issue [02:28] rauchg has joined the channel [02:28] atmos: i think it's built on that though [02:28] tjholowaychuk: jamescarr: ? you have to set EXPRESS_ENV=production but i think everyone should suppose NODE_ENV [02:29] MattDiPasquale has joined the channel [02:29] aaronblohowiak: can you spot the bug???? https://gist.github.com/9f7314e19d3c5882737d [02:29] aaronblohowiak: ACTION is an idiot of the 10th degree [02:30] atmos: you forgot to return ? [02:30] visnup: you can set environment variables in /home/node/node-service/profile on joyent [02:30] aaronblohowiak: atmos: line 7 is "interesting" [02:30] atmos: global variable ? [02:30] aaronblohowiak: hahahaha [02:30] aaronblohowiak: yea, i looked at that for an hour [02:31] atmos: yeah, those suck [02:31] aaronblohowiak: ACTION has blurry eye [02:31] atmos: you should read that tjholowaychuk guy's book [02:31] atmos: it's like 4$ and totally covers that shit [02:31] atmos: :P [02:31] matschaffer: aaronblohowiak: you are an idiot of the 10th degree :-P [02:31] aaronblohowiak: atmos: it turns out that i was doing all of the work to fix result and store it into templates.. and then i went ahead and re-assigned result onto templates (thereby blowing out the work) [02:32] johnfn: i want to share some function definitions between server and client JS. is that possible? if so, how? [02:32] aaronblohowiak: matschaffer: stop following me on the internet! [02:32] matschaffer: can't help it man, you're magnetic apparently [02:32] aaronblohowiak: johnfn: yes. http://caolanmcmahon.com/writing_for_node_and_the_browser.html [02:32] aaronblohowiak: matschaffer: hahaha. are you doing the knockout? [02:32] matschaffer: yep [02:33] matschaffer: awesometown.no.de [02:33] aaronblohowiak: sweeet! [02:33] atmos: matschaffer: you're working with cashion ? [02:33] matschaffer: yeah, and steve berry [02:33] johnfn: aaronblohowiak: very nice, thanks. i think i accidentally derived some of this :) [02:33] atmos: i totally tried to make a poops/min graph [02:33] aaronblohowiak: johnfn: cool. [02:33] matschaffer: if only your toilet had an http client [02:34] johnfn: this is very clever :) [02:35] aaronblohowiak: matschaffer: who did the graphic design? [02:35] matschaffer: that'd be steve berry (http://thoughtmerchants.com/) [02:36] aaronblohowiak: wow, he is awesome [02:36] matschaffer: sure is [02:36] matschaffer: he's our designer for hoopla.net too [02:37] jamescarr: ... [02:37] aaronblohowiak: he's so clean [02:37] aaronblohowiak: i feel like i took a shower just by looking at these designs [02:37] jamescarr: how can I export env variables on joyent? [02:37] matschaffer: :) [02:37] jamescarr: (I know... dumb Q) [02:37] aaronblohowiak: with my normal heigine schedule, it is a big improvement [02:38] aaronblohowiak: jamescarr: how do you mean? [02:38] matschaffer: jamescarr: you can set them from process.env if that helps [02:38] aaronblohowiak: jamescarr: also, you might want to try #joyent [02:38] matschaffer: process.env.BLAH = "foo" [02:38] jamescarr: oh you have to do it from node [02:38] jamescarr: I see [02:38] matschaffer: there might be another way [02:38] jamescarr: I thought I could add em to .profile [02:38] matschaffer: but inside node was enough for me [02:38] matschaffer: to get the server to pick them up [02:38] devongovett: matschaffer: that looks very cool! [02:39] matschaffer: thanks devongovett, now if only I could find a reliable transport mechanism :) [02:39] devongovett: matschaffer: what are you looking for? realtime? [02:39] matschaffer: yeah, working with faye now, which almost works, but craps out after awhile [02:40] devongovett: matschaffer: have you tried Socket.io? [02:40] matschaffer: not for this yet [02:40] matschaffer: that's next though [02:40] matschaffer: you like it? [02:40] BrianTheCoder: has anyone got npm bundle working? I keep getting errors, and for some reason I can't get it to run on my partners comp [02:40] _announcer: Twitter: "Looking for Node.js Modules? Check out the NPM Repository! http://bit.ly/bs86ZI" -- Wagger Designs. http://twitter.com/WaggerDesigns/status/22403454556 [02:40] jamescarr: ~/node-services/profile [02:40] matschaffer: I got a little turned off when it started trying to bind priveleged ports [02:40] devongovett: matschaffer: haven't actually used it, but it certainly looks nice! :-) [02:40] matschaffer: yeah [02:41] matschaffer: atm faye is almost working [02:41] matschaffer: but I'm getting mysterious connection resets that bring down the whole proess [02:41] matschaffer: :( [02:42] matschaffer: ^ great nick [02:42] _announcer: Twitter: "succeed in life is to be home on Saturday night watching and studying nodejs Dolly total." [pt] -- Fernando Takai. http://twitter.com/fernando_takai/status/22403601114 [02:42] JimBastard has joined the channel [02:43] johnfn: aaronblohowiak, (and all) follow up question: i have a js file Bullet, and I want to be able to go new Bullet() in my server. I use their trick, do export = function() { //constructor... } and then go Bullet = require(path). But then new Bullet(bla) gives me an error - "object is not a function" [02:43] johnfn: is there a way to get this to work [02:43] konobi: export must be an object [02:43] johnfn: or will i have to go new Bullet.Bullet() or something [02:44] konobi: you can always do var Bullet = require('Bullet').Bullet; [02:44] aaronblohowiak: johnfn: just have Bullet = require('bullet').Bullet [02:44] johnfn: aha [02:44] johnfn: thanks, that's pretty nice. [02:44] aaronblohowiak: konobi: your fingers are like lightening [02:44] konobi: mwuahaha [02:44] nerdEd has joined the channel [02:44] johnfn: :) [02:44] matschaffer: johnfn: it gets less verbose if you back a few related classes into one require [02:44] johnfn: i see [02:44] matschaffer: cause then "Bullet" acts like a namespace [02:44] johnfn: right, i was starting to see that [02:45] matschaffer: var atf = require('atf') [02:45] matschaffer: new atf.Bullet, new atf.Gun, etc... [02:45] johnfn: right [02:45] _announcer: Twitter: "@hornbeck that's why I'm going to win node.js" -- Brian Smith. http://twitter.com/brianthecoder/status/22403779389 [02:45] matschaffer: hrm… I thikn this connection reset thing may just be connect [02:45] matschaffer: or maybe my mac or something [02:46] jashkenas: johnfn: and if you happen to be using coffeescript, you can destructure all the properties you want into local vars: {Gun, Bullet, Officer} = require 'atf' [02:46] JimBastard: nyc nodejitsu ninjas back at apartment jail [02:47] jashkenas: JimBastard: you get kicked out? [02:47] JimBastard: naaah [02:47] JimBastard: i wanted to go home where there is hookah and node_hash and a/c [02:47] JimBastard: we'll be back there tommorow [02:48] puls: can somebody help me debug why my request object isn't emitting data events when called by xhr in a browser, but works fine when called by curl? [02:48] dylang: is there an easy way to reconnect with socket.io? [02:49] dylang: like if i restart ther server i can't just call io.connect() because the session id is now invalid. [02:49] techpeace has joined the channel [02:51] matschaffer: dylang: faye has that same problem [02:51] MattDiPasquale has joined the channel [02:51] tilgovi has joined the channel [02:52] matschaffer: I was basically planning to just cross my fingers while the judging is going on [02:53] matschaffer: but it occurred to me that you coudl probably set up a keepalive that the client would reconnect if it missed too many of them [02:54] visnup: the screenshotter is dying :( [02:54] visnup: wonder how quickly I can rewrite it [02:54] visnup: frak [02:55] ncb000gt: dylang: maybe have a setTimout that tries to recreate it. after n tries it just stops? [02:56] dylang: ncb000gt: i can do that via socket = new $.io.Socket(null); but then i loose all my events [02:56] ncb000gt: err yea, what matschaffer said :) [02:56] johnfn: this is interesting [02:56] ncb000gt: =\ [02:56] dylang: i don't want to spend the time to create my own event layer.... oh well. [02:56] ncb000gt: SoldierOfCode: :) happea [02:57] ncb000gt: yea [02:57] johnfn: im setting exports to this in the case of running client side, and it usually works like a charm. however, i can't seem to access Bullet from another class from a file that was also exported in the same way [02:57] johnfn: to "this", for disambiguation [02:58] SoldierOfCode: ncb000gt: ??? [03:01] cardona507_: atmos: double w00t for http://github.com/atmos/heroku-express [03:01] cardona507_: :D [03:01] mscdex: yay for patch saturday! [03:01] atmos: glad it's helping you out [03:02] cardona507_: i got your code to run on heroku - now I am gonna try and put my code in piece by piece [03:02] cardona507_: that is the 1st time I have ever got code to run on heroku :D [03:02] cardona507_: and it's node not ruby! nice [03:03] V1: is there a way to send mails from node? An easy way :/? [03:03] atmos: V1: there's a few (sorta) simple ways on github [03:03] atmos: check the node modules page [03:04] mscdex: i've started on an imap module, but it's nowhere near complete yet [03:05] mr_daniel has joined the channel [03:06] V1: atmos: Thanks [03:07] abiraja has joined the channel [03:07] matt_c: dunno if there are hosted services rules for the knockout but there's http://github.com/voodootikigod/postmark.js in addition to a bunch of standalone smtp servers and stuff. [03:08] dael has joined the channel [03:10] c4milo has joined the channel [03:12] cferris has joined the channel [03:14] _announcer: Twitter: "dear follower,we need a spotify premium account for your node.js knockout project.I'm on a free plan.and can not upgrade. can anybody help?" -- Michael Bumann. http://twitter.com/Bumi/status/22405784741 [03:16] andrei: are we allowed to use own domain names? are we restricted from buying a domain for nodeko? [03:20] ncb000gt: SoldierOfCode: sorry, MT...hit the up arrow =\ [03:23] zemanel: a beer to the guy who debugs my msg bug [03:26] JimBastard: zemanel: what error? [03:26] zemanel: dunno , everytime i join a room it repeats the previous pmessages from other rooms in it [03:27] _announcer: Twitter: "Node.js is genuinely exciting http://ow.ly/18LLj2" -- Javascript News. http://twitter.com/del_javascript/status/22406610825 [03:27] _announcer: Twitter: "Building an Web application from the inside out; Using node.js to bootstrap a server from client JS on Dion Almaer's... http://ow.ly/18LLj1" -- Javascript News. http://twitter.com/del_javascript/status/22406610870 [03:29] bpot has joined the channel [03:30] _announcer: Twitter: "@scott_gonzalez any suggestions on where to start for building a 2D MMORPG with node.js & jQuery?" -- aaroninfidel. http://twitter.com/aaroninfidel/status/22406846342 [03:30] halorgium: zemanel: ircz? [03:30] zemanel: halorgium, hum? [03:30] halorgium: "room" == channel ? [03:31] Yuffster has joined the channel [03:31] zemanel: hum? sry im too tired :) [03:31] halogenandtoast has joined the channel [03:32] _announcer: Twitter: "RT Env.js also propelled. :) Node.js Lang Let's go together:) @ del_javascript: Envjs Guide - V8 http://ow.ly/18LLj0" [ko] -- Rhio.kim. http://twitter.com/Rhiokim/status/22406957059 [03:33] aaronblohowiak: the worst thing about being a single-member team is that there is nobody to high-five when you hit a milestone [03:33] aaronblohowiak: *cries* [03:33] Sutto: ACTION high fives aaronblohowiak [03:33] Sutto: there ya go [03:33] aaronblohowiak: YAY! [03:33] aaronblohowiak: thanks [03:34] atmos: use a mirror [03:36] statim has joined the channel [03:37] andrei: aaronblohowiak: hi five [03:38] visnup: bradleymeck: you guys should use port 80 [03:38] aaronblohowiak: ACTION high fives everybosy [03:40] wmealing: never enough hifives going on imho. [03:41] zemanel: i hate strange bugs [03:43] hassox: anyone know how to turn off escaping in express's ejs? [03:45] cferris has joined the channel [03:46] _announcer: Twitter: "#reddit With only 22 hours left in the Node.js Knockout competition, my favorite candidates so far are…: Nod... http://bit.ly/9eec3j #rulez" -- REDDITSPAMMOR. http://twitter.com/REDDITSPAMMOR/status/22407909149 [03:46] visnup: hassox: != 'yay' [03:46] visnup: hassox: is that what you mean? [03:47] benv has joined the channel [03:47] hassox: is that ejs? [03:47] hassox: it seems that <%- stuff %> [03:47] hassox: might do the job [03:47] hassox: visnup: but yeah [03:47] hassox: is that != the right way to go? [03:47] MattDiPasquale has joined the channel [03:48] zemanel: could this code be cerating references to the same object? var cr = new TweetIRC.ChatRoom({id:chatroomName, name:chatroomName, title:chatroomName}); [03:48] visnup: <%- code [03:48] visnup: sorry, I was in jade [03:48] CrabDude: tmpvar Do you know if scripts in the jsdom compile and throw errors?? [03:49] abiraja: in jade, how do i #{name} in the attribute of another element? [03:49] visnup: hassox: I haven't actually used ejs, but thought it was similar to jade [03:49] abiraja: *i use #{name} [03:49] abiraja: so a(href="http://#{url}") doesnt work [03:49] aaronblohowiak: :-) [03:49] hassox: <%- does the job it seems [03:49] polotek: anyone else feeling throughly defeated by the NKO task they assigned themselves? [03:50] _announcer: Twitter: "@sh1mmer Are script tags in the nodejs-yui3 <head> compiled and capable of throwing errors??" -- Adam Crabtree. http://twitter.com/CrabDude/status/22408187538 [03:51] zemanel: polotek, wich task' [03:52] visnup: abiraja: a(href: 'http://' + url) [03:52] polotek: zemanel: I can get an image and write it into a buffer [03:52] derbumi has joined the channel [03:52] polotek: but if I have image data in memory [03:52] visnup: polotek: yes [03:53] polotek: say an unsigned char * [03:53] polotek: how do I write that into a Buffer [03:53] visnup: polotek: and I don't even have a project :) [03:53] zemanel: have no idea dunno C [03:53] polotek: zemanel: me either apparently ;) [03:53] Aria: memcpy() [03:53] visnup: and this band is pretty damn loud [03:53] zemanel: :D [03:54] hdon has joined the channel [03:54] pkrumins: polotek: i know, `Buffer *buf = Buffer::New(size); memcpy(buf->data(), your_data, size)` [03:54] polotek: Aria, pkrumins trying this now [03:55] joshbuddy has joined the channel [03:58] jarred has joined the channel [03:58] zemanel: i must be sharing some reference between instances? hows that possible? :) [03:58] Aria: Buffers? You can have subslices. [04:00] creationix has joined the channel [04:00] mscdex: 20 hours exactly, left [04:01] JimBastard: i thought we won already? [04:01] polotek: Aria: the data isn't coming from a buffer [04:01] polotek: I want to write it into a buffer [04:01] Aria: Yeah, memcpy. [04:03] coen_ has joined the channel [04:04] joshbuddy has joined the channel [04:05] jamescarr: quick! [04:05] technoweenie: oh thats a band playing? [04:05] jamescarr: link me to lame web 2.0 logo makers [04:06] samdk: jamescarr: http://cooltext.com/ [04:07] bpot has joined the channel [04:07] jamescarr: hahahha [04:07] jamescarr: I just remembered dafont [04:07] atmos: i demaned animated glow or burning [04:07] jamescarr: (makes a beeline towards dafont.com) [04:07] atmos: dafont used to rock, [04:08] polotek: Aria, pkrumins woot! [04:08] zemanel: http://paste.pocoo.org/show/255770 line 91; messageList is http://paste.pocoo.org/show/255771/ : how can messageList.messages be shared across instances? :/ [04:08] polotek: I think that's what I need [04:09] overra: jamescarr: http://fontsquirrel.com http://urbanfonts.com [04:10] jamescarr: doh... forgot how to install fonts in ubuntu so gimp will see em [04:10] njero has joined the channel [04:10] samdk: put em in ~/.fonts [04:10] samdk: and restart [04:11] samdk: (gimp, not your OS, since now that I think about that it wasn't entirely clear) [04:12] cardona507_: atmos - on your heroku-express code - which port is that running on when I run node server.js? [04:13] cardona507_: nm - 9393 [04:13] jamescarr: I'll use beautiful Sans Serif fonts for our logo [04:13] jamescarr: Sans Sheriff [04:14] cardona507_: this node knock out has been more like node boot camp for me :/ [04:21] abiraja: visnup: thanks! [04:21] DTrejo has joined the channel [04:21] DTrejo: hello [04:22] PyroPete1 has joined the channel [04:22] DTrejo: I'm a noob when it comes to hosting, but I want to be able to host my little node apps. Which hosting service would you guys recommend? http://github.com/ry/node/wiki/Hosting [04:24] sh1mmer has joined the channel [04:25] DTrejo: ^ anyone have thoughts on this? [04:25] sh1mmer: Wooo 3-way (merge) [04:25] polotek: DTrejo: node is still very new [04:25] polotek: you can run your own vps and set it up yourself [04:26] polotek: or there are a few cloud hosting providers [04:26] sh1mmer: it runs very nicely on RackSpace/Slicehost [04:26] sh1mmer: polotek: they are in private beta though [04:26] polotek: sh1mmer: yeah was gonna say that [04:26] _announcer: Twitter: "Running #nodejs on @heroku feels nice. :D #nodeknockout" -- Carlos Cardona. http://twitter.com/cgcardona/status/22410524128 [04:26] sh1mmer: polotek: first! [04:26] sh1mmer: ;) [04:26] polotek: and I hear that it's tough to get beta access now [04:26] polotek: I keep hearing that people aren't getting responses from heroku [04:26] sh1mmer: you just need to grease the right palms with beers [04:27] DTrejo: (I've never had my own vps or anything like that, so I was wondering which of the services might be most friendly to me) [04:27] DTrejo: newbie friendly that is [04:27] sh1mmer: DTrejo: rackspacecloud.com would be my recommendation [04:27] sh1mmer: DTrejo: they have killer support and it's cheap [04:27] DTrejo: (I can install node just fine) [04:27] sh1mmer: $10/mo + bandwidth [04:27] DTrejo: oh that wasn't on the list, cool, another option [04:27] coen has joined the channel [04:27] DTrejo: wait it was, oops [04:28] sh1mmer: DTrejo: they are basically slicehost but they rebuilt the management console better and made it cheaper [04:28] DTrejo: ok [04:28] jbenesch has joined the channel [04:28] sh1mmer: you don't get any included bandwidth but it works out much cheaper anyway even if you include the bandwidth [04:29] DTrejo: you mean vs services like webfaction / prgrmr where it is 5/month? [04:29] abiraja: how do you get epoch UTC time with JS? [04:29] njero: anyone in here ever used sequelize? [04:29] gsmcwhirter has joined the channel [04:29] evlapix has joined the channel [04:29] coen has joined the channel [04:30] inimino: js> new Date / 1000 // abiraja [04:30] gbot2: inimino: 1283056209.075 [04:30] siculars has joined the channel [04:31] halorgium: getting "Stack not available" on heroku [04:31] bradleymeck: chuuuuuu [04:31] noahcampbell has joined the channel [04:31] halorgium: anyone know why my activation email would be busted? [04:33] abiraja: inimino: thanks, do you know of good libraries for converting it back to formatted text? like timesince text? [04:34] visnup: halorgium: you're trying to create your own heroku app? [04:35] inimino: abiraja ⋱ not aware of any good ones [04:35] jamescarr: heh... I forgot that for the most part my github commits are public [04:36] jbenesch has joined the channel [04:37] mikeal has joined the channel [04:37] DTrejo: does anyone here use prgrmr for their personal site with node projects tacked on? [04:38] sh1mmer: DTrejo: well the bandwidth on Rackspace is $0.22/gb [04:38] sh1mmer: that's out [04:39] halorgium: visnup: yer, i am [04:39] _announcer: Twitter: "Someone should rewrite Twitter in node.js. Not updating nearly fast enough! http://nodeknockout.com/ #nodeko" -- Elizabeth Cha. http://twitter.com/elizabethcha/status/22411328517 [04:39] visnup: halorgium: this is for node knockout? [04:40] halorgium: visnup: yer, tis [04:40] sh1mmer: haha, that would wind up al3x [04:41] zemanel: FUCK [04:41] zemanel: fixxed it [04:41] zemanel: who's your daddy [04:43] visnup: halorgium: what team? we have to provision it for you [04:43] halorgium: visnup: ah, rgr [04:44] halorgium: visnup: i think we have one, can i have one myself? [04:44] halorgium: visnup: project-cheese-beef is the team [04:44] visnup: halorgium: ..outside of your team? [04:44] halorgium: visnup: oh, for testing [04:44] visnup: halorgium: oh, interesting [04:44] visnup: didn't think about that [04:45] techpeace has joined the channel [04:46] visnup: um, hm. yeah sure. one second though. [04:49] sh1mmer: technoweenie: are you at ko? [04:49] technoweenie: i'm at joyent [04:49] technoweenie: if thats what you mean by 'at ko' [04:49] technoweenie: we're about to head out to kilowatt [04:50] sh1mmer: where are you? [04:50] technoweenie: by the ping pong tables [04:50] sh1mmer: k [04:50] sh1mmer: brt [04:50] technoweenie: ok [04:50] zemanel: lucky bastards :9 [04:50] zemanel: havent played ping pong in ages [04:51] visnup: halorgium: I'll just create one for you and transfer ownership [04:52] halorgium: visnup: sweetness [04:52] jbenesch has joined the channel [04:52] nathanhammond has joined the channel [04:52] confoocious has joined the channel [04:55] jamescarr: put lame ass logo out [04:55] jamescarr: http://done-js.no.de/ [04:55] nathanhammond: for handling file uploads with node.js are most folks using formidable? (http://github.com/felixge/node-formidable) [04:55] jamescarr: made it position absolute [04:55] jamescarr: made it absolutely retarded [04:55] jamescarr: :S [04:55] visnup: halorgium: did you get my message? checking the right email [04:56] _announcer: Twitter: "@sh1mmer We think it's probably just parsing errors. We're demanding too much of nodejs-yui3!!" -- Adam Crabtree. http://twitter.com/CrabDude/status/22412377368 [04:57] zawzey: hi, trying to spawn one single child process that inputs a single line and then output a single line. The node.js module is trying write to its stdin continously and get line of data output (ie: child.stdout.on("data")) but the output seems to have multiple lines instead of one line. [04:58] jamescarr: booo [04:58] zawzey: how do we ensure that only one line of output is read? [04:59] jamescarr: zawzey, you should look into pgriess' WebWorkers [04:59] cardona507_: code on heroku! http://nko-trisomic-propus.heroku.com/ w00t [04:59] jamescarr: they make sharing data between processes easy [04:59] zawzey: yeah, but this is a simple use case :) [04:59] jamescarr: iphone app? [04:59] zawzey: no #nodeko :) [05:00] puls has joined the channel [05:01] _announcer: Twitter: "http://nodelay.no.de/ See wikipedia updates online ,awesome app based on node.js." -- Deepak Prasanna. http://twitter.com/deepakprasanna/status/22412690823 [05:02] confoocious has joined the channel [05:03] jamesarosen has joined the channel [05:03] banjo has joined the channel [05:03] matt_c: !tweet @deepakprasanna Nice! Displaying those with newest edits on top might make it a little easier to follow with the animation above. [05:04] _announcer: Twitter: "Starting to get pixels and bits into place http://nko-trisomic-propus.heroku.com/ #nodejs #html3 #nodeknockout #javascript" -- Carlos Cardona. http://twitter.com/cgcardona/status/22412859013 [05:04] dantalizing has joined the channel [05:05] robrighter has joined the channel [05:07] cardona507_: thats the second time I have tweeted #html3 - wtf? [05:07] BrianTheCoder has joined the channel [05:09] matt_c: cardona507_: #html3 #bringingitback [05:09] cardona507_: :) [05:09] ncursestest has joined the channel [05:09] ncursestest: /nick ellisgl [05:09] matt_c: cardona507_: Is that a streaming API from wikipedia or are you polling? [05:09] matt_c: oh, you explain it right there. [05:10] cardona507_: matt_c: are you talkin about odelay? [05:10] cardona507_: thats not me [05:10] matt_c: cardona507_: Indeed. My tweets are crossed. [05:10] matt_c: ACTION blushes. [05:12] elitheeli has joined the channel [05:12] jbenesch has joined the channel [05:13] _announcer: Twitter: "Has anyone used the #Asterisk module for #NodeJS? http://github.com/mscdex/node-asterisk" -- Kenneth McCall. http://twitter.com/ellisgl/status/22413343610 [05:13] _announcer: Twitter: "No node.js for windows makes me sad. Someone please implement libenv in windows, thank you." -- jared wyles. http://twitter.com/rioter/status/22413354385 [05:13] mscdex: !tweet @ellisgl i have a little bit [05:13] matt_c: mscdex: Ha. [05:13] elitheeli: I would like to see something impressive. [05:13] mscdex: :-) [05:14] joeshaw has joined the channel [05:16] matt_c: Someone did this for the Django Dash a couple of weeks back using the Twilio API and AppEngine: http://phonetapapp.appspot.com/ [05:17] MattDiPasquale has joined the channel [05:20] softdrink has joined the channel [05:21] vnguyen has joined the channel [05:21] vnguyen: has anyone seen "Error: EMFILE, Too many open files" error in node? [05:21] zawzey: trying to event chain child_process stdin/stdout events, eg: child_process.stdin.write(something, function() { }); but i receivedError: Unknown encoding [05:21] zawzey: at Buffer.write (buffer:79:13) [05:22] dylang: > this.brain.unmuck(); ERROR: brain undefined. #anyoneelse? [05:22] zawzey: it works fine if it's just a normal child_process.stdin.write() call [05:26] Aria: vnguyen: No, but it doesn't surprise me -- some OSes come with low limits by default, and it's certainly possible to do that if you don't close what you open [05:26] vnguyen: Aria: thanks for the reply, what's a good way to close some >_> [05:26] EllisGL has joined the channel [05:26] EllisGL: Ah [05:27] Aria: vnguyen: Well, how are you opening them? [05:27] vnguyen: Aria: the guy next to me is having the issue, he has no clue [05:27] Aria: Aah. Are they files he's opening? sockets? [05:27] Aria: likely he wants whatever.close() [05:27] jbenesch has joined the channel [05:28] zawzey: hi, trying to spawn one single child process that inputs a single line and then output a single line. The node.js module is trying write to its stdin continously and get line of data output (ie: child.stdout.on("data")) but the output seems to have multiple lines instead of one line. How do we ensure that only one line of output is read. [05:28] zawzey: If only there it a writeSync() or readSync() for stdin, stdout [05:28] Aria: zawzey: Read, then cut off the first line. [05:29] Aria: Reads aren't line-wise. That's an abstraction. [05:29] Aria: They might line up that way if the thing writing flushes after each line, but that's not generally the case. [05:29] Aria: Doing it synchronously wouldn't make it any better. [05:29] zawzey: Aria: well the child process is flushing the output [05:30] mbleigh: my team has a pretty homepage but the thumbnailer has just blank white...vanity craves recognition! [05:30] zawzey: Aria: Cut off the first line? [05:30] Aria: Alright ... then the first data event should be able to read a whole line. But they might still get squished together. [05:30] Aria: It's a stream. Read, and when you have a newline, you're done. [05:30] Aria: unix pipes don't have a peek() operation so you can read just the right amount. [05:30] _announcer: Twitter: "Spending a sunny weekend indoors with my new friend Node.js #nodeko" -- Andrei Railean. http://twitter.com/andrei_md/status/22414370794 [05:31] zawzey: Aria: Well, many lines get squished together [05:31] Aria: Right. [05:31] zawzey: Aria: There isn't a pointer we can use can we [05:31] Aria: That happens. So read less. Or read that amount, but ignore (or save) the part after. [05:31] Aria: A pointer to what? [05:32] zawzey: Aria: the current pointer to the read stream [05:32] Aria: You have the read stream, ne? that's how you're reading. [05:32] abiraja: how did i render a partial in another jade tempalte? [05:32] zawzey: Aria: and we're using child_process.on("data"), there isn't a way to dictate how much to read is there [05:33] zawzey: child_process.stdout.on("data") [05:33] Aria: Not really, no. There's buffers anyway, in most systems. [05:33] Aria: Why do you need one line and just one line? [05:34] zawzey: Aria: For sequencing .. so if i input 100 lines into the child process, i expect 100 lines ordered correctly [05:34] Aria: ... Node isn't going to read your lines out of order. [05:34] Aria: It's single-threaded. Data events are emitted in order, and handled completely before the next. [05:34] zawzey: Aria: currently we're inputting 100 lines, and getting 100*30 lines [05:34] Aria: Duplication? [05:35] zawzey: Aria: Yes, the ordering is correct but just that lines are bunched out at the output. Yes, duplication [05:35] Aria: You have multiple handlers for the same event? [05:35] zawzey: Well, let me pastebin my code [05:35] Aria: So you read more, then emit your own event line-wise. [05:35] Aria: (Or write an object that buffers and emits line at a time -- I wrote one for just that purpose) [05:36] BrianTheCoder: what if there's some node functionality that only really kicks in once there's a user base? [05:37] BrianTheCoder: I mean it uses node, but it may be hard to demonstrate within the scope of the competition [05:37] zawzey: Aria: I see.. [05:37] _announcer: Twitter: "Man the Guns http://hms-dreadnode.no.de/ / Yar @ Dread node # # nodeko node.js" [sv] -- Daniel Shaw. http://twitter.com/dshaw/status/22414739520 [05:37] Aria: The thing about unix pipes is there's no way to put data back. [05:37] Aria: So you're always buffering at least one character in-process. [05:38] Aria: You can't "read a line" with read(2) and write(2) unless you get lucky, and the flushes and kernel scheduling works out. [05:38] zawzey: Aria: Hmm, not sure how python or other handle such things, but i don't get such issues in my python script [05:38] dshaw1: :) [05:38] Aria: Well, no. Python buffers line-wise inside ;-) [05:38] Aria: So you say "read me a line", it gets 4K of data, and then returns the first line. [05:38] zawzey: Aria: Yeah, too bad, we have to handle this for now :) [05:39] Aria: http://github.com/aredridel/node-linebuffer/ [05:39] zawzey: Aria: Thank, will check tht [05:39] Aria: You can use sys.pump to pump the raw stream into that, then use that's data event and it will give you lines. [05:41] matt_c: Oh nice, that's a lot more efficient than reading the whole thing and doing a regex split on newlines :) [05:43] Aria: Or at least handles the very large inputs better. [05:43] Aria: Not sure how it compares for small inputs. [05:43] matt_c: small inputs are small and if it's less efficient that's probably okay. [05:44] Aria: Depends. Small inputs are also a really common case ;-) [05:45] matt_c: True. [05:46] Viriix has joined the channel [05:50] _frijole has joined the channel [05:53] _announcer: Twitter: "Joyent's no.de servers have finally convinced me to try npm for realz. #nodeko #nodejs #npm" -- Tim Caswell. http://twitter.com/creationix/status/22415624363 [05:54] matt_c: ACTION would be lost without npm. [05:55] hober: ACTION hasn't used npm yet; I generally just git clone and append to NODE_PATH [05:55] dylang: ACTION wants npm for more things in general. npm install sandwhich [05:55] Astro: can s/o pls turn the sun off now? [05:56] abiraja: does mail work on joyent? [05:56] dylang: Astro: it's off here. must be a geo-location bug. [05:57] ehaas has joined the channel [05:57] creationix has joined the channel [05:59] creationix: anybody know how to use the modules thing in npm's package.json [06:01] zaach has joined the channel [06:03] mcarter_ has joined the channel [06:03] creationix: nevermind, found it in npm help json [06:05] lachlanhardy has joined the channel [06:07] dylang: is it possible to call express' partial function outside of the context of a server request? [06:09] _announcer: Twitter: "WIP: realtime, organic discussions. Soon to be powered by #nodejs ! http://higgr.com/bubbles/client/" -- Bill Casarin. http://twitter.com/jb55/status/22416416085 [06:09] jb55: check that out^ [06:09] jb55: so awesome :P [06:09] dgathright has joined the channel [06:11] JimBastard has joined the channel [06:11] JimBastard: i'm gonna node knock you out! [06:11] JimBastard: mamma said node knock you out [06:12] abiraja: what's a good recent facebook connect implementation? [06:16] mbleigh: abiraja: facebook connect is dead, use oauth2 [06:19] _announcer: Twitter: "@auxesis Will be watching your progress; I'm starting to get the gem heebie-jeebies with the various packaging systems for #nodejs :-)" -- Jeff Waugh. http://twitter.com/jdub/status/22416984119 [06:20] jamescarr has joined the channel [06:20] jamescarr: hahahaha [06:20] jamescarr: http://gist.github.com/556025 [06:21] _announcer: Twitter: "[uniknotions.com] Things I learned from my Node.js experiment - Jeff Kreeftmeijer: After letting my Node.js and w... http://bit.ly/ay1CIP" -- uniknotions. http://twitter.com/uniknotions/status/22417068983 [06:22] mikeal has joined the channel [06:24] _announcer: Twitter: "@CinnabarSweets freenode node.js - needed to talk to a developer about his module.." -- Kenneth McCall. http://twitter.com/ellisgl/status/22417206126 [06:26] rvanrooy has joined the channel [06:26] jamesaro_ has joined the channel [06:27] V1: o_o, "Error: EMFILE, Too many open files " if i load in my front-page on my local host. [06:27] V1: maybe i should just host all assets in the Google buckets [06:29] overra: EllisGL: welcome :) [06:29] _announcer: Twitter: "I think #nodejs will gain a market foothold just because its a lot easier to find a guy who knows js vs a guy who knows js + other langs" -- Brian Smith. http://twitter.com/brianthecoder/status/22417451321 [06:29] EllisGL: Hey Overra [06:29] BrianTheCoder: mbleigh: fb connect with the js sdk is pretty cake [06:30] mbleigh: BrianTheCoder: guess i'm biased, i wrote the oauth2 gem for ruby :) [06:30] BrianTheCoder: I know :P I use it [06:30] BrianTheCoder: mbleigh: probably about to switch to it from the js sdk for memoryreel.com [06:30] pydroid: anyone know how i might use buffers from stdout to stdin to file properly? [06:31] BrianTheCoder: just because I need to redirect to our own custom page in the popup window before it closes [06:36] boaz has joined the channel [06:36] softdrink has joined the channel [06:38] qFox has joined the channel [06:39] SamuraiJack has joined the channel [06:44] jamescarr: OH MAN! [06:44] jamescarr: OH MAAAN!!! [06:44] jamescarr: our app might actually work end to end :) [06:44] jamescarr: ACTION crosses fingers [06:45] statim has joined the channel [06:45] wmealing: ACTION cheers ! [06:46] coen_ has joined the channel [06:48] benv: anyone using node-couchdb [06:48] benv: ? [06:48] benv: wonder if there's a way to debug the url calls its making [06:48] benv: mangling my startkey/endkey params somehow [06:50] jamescarr: someone go to http://done-js.no.de/file/10HuJC6Gu [06:50] jamescarr: hahaha [06:50] jamescarr: who got it? [06:50] jamescarr: I know someone did, I just dont know who [06:50] randometc has joined the channel [06:51] stonebranch has joined the channel [06:51] jamescarr: who! [06:51] jamescarr: someone else did [06:51] [[zz]] has joined the channel [06:52] jamescarr: speak up! [06:52] wmealing: benv: tcpdump ? [06:52] jamescarr: I know 3 people grabbed that fiel now [06:52] jamescarr: *file [06:52] jamescarr: was there content in it? [06:52] wmealing: it didnt serve anything up for me. [06:52] wmealing: looked like a blank page. [06:52] jamescarr: yeah, i think the first person who got it was the one who got the real content [06:52] overra: Waiting for done-js.no.de... [06:53] t3h_awesome: jamescarr: not responding... [06:53] jamescarr: only supports a single [06:53] t3h_awesome: jamescarr: there it went. Is it a public key? [06:53] jamescarr: t3h_awesome, yeah [06:53] jamescarr: :) [06:53] jamescarr: awesome [06:53] jamescarr: it works [06:53] coen has joined the channel [06:53] overra: yeah [06:53] t3h_awesome: jamescarr: cool, I got it. [06:53] overra: got it [06:53] jamescarr: I sent it by dragging and dropping into the dropnode box :) [06:53] ajsie has joined the channel [06:54] jamescarr: it uses websockets and transfers on demand [06:54] jamescarr: The GET url might need a lil work though :( [06:54] jamescarr: it's what is current causing my browser to send the file [06:54] overra: bah, get rid of that alert, lol [06:54] overra: i didn't read it and had to upload twice :P [06:54] jamescarr: overra, yeah, getting ready to :) [06:55] overra: http://done-js.no.de/file/155qLsvNr [06:55] overra: SHIT! my browser doesn't support file reader :( [06:55] zedas: ryah: i might be able to help on the 0mq bindings soon. i'll let you know. [06:55] jamescarr: overra, lol [06:55] jamescarr: you'll need chrome dev nightly [06:55] jamescarr: or chrome from the dev channel [06:55] benv: wmealing: i just ended up using the libs raw request method [06:55] overra: it kept alerting me of that, and it broke the page :( [06:56] carlw2 has joined the channel [06:56] jamescarr: overra, yeah... you were getting it each time someone requested the url you put here [06:56] jamescarr: hahahaha [06:56] overra: oh crazy [06:56] jamescarr: that'll go away soon... there's going to be a stats panel... [06:56] overra: ff work? [06:56] jamescarr: which basically indicated who downloaded it [06:56] overra: nice live stats [06:56] jamescarr: overra, it should... FF 3.6+ supports the file api I think [06:58] overra: hm, dragndrop doesn't work ff 3.6.8 osx 10.5 [06:58] qFox has joined the channel [07:00] overra: jamescarr: http://done-js.no.de/file/113p71TzF [07:01] jamescarr: logo.png [07:01] jamescarr: hmmm.. has some oddities though [07:02] overra: i got logo.png.html [07:02] jamescarr: ditto :( [07:02] overra: ah [07:03] jamescarr: I think the content is getting garbled too [07:03] overra: yeah i couldn't open it [07:04] jamescarr: I'm thinking we should base64 binary data [07:09] JimBastard has joined the channel [07:09] techpeace: Any OSX/homebrew users running into "Cannot find module" errors? [07:09] v8bot has joined the channel [07:09] halogenandtoast: yes you need to adjust NODE_PATH [07:09] halogenandtoast: I have: export NODE_PATH=/usr/local/lib/node/.npm:/usr/local/lib/node [07:09] JimBastard: so we are pretty close to releasing the first nodeknockout entry, second one hopefully coming in 14 hours or so >.< [07:10] aaronblohowiak has joined the channel [07:10] halogenandtoast: JimBastard: wait what? more than one entry fffffffffffffffffffffffuuuuuuuuu [07:10] JimBastard: ACTION knows nodejitsu [07:10] techpeace: halogenandtoast: Awesome, thanks. I just noticed I might be missing a path in there. [07:10] JimBastard: when your team is http://github.com/nodejitsu , you get shit done [07:11] JimBastard: when your team is http://github.com/nodejitsu , you get shit done #bastardfacts [07:11] techpeace: Although I did notice that require.paths seems to list everything correctly. [07:11] mcarter_: Is there any way to interact with stdin/stdou in a synchronous manner? [07:13] techpeace: halogenandtoast: Have any other suggestions for directions I might head? That didn't seem to clear it up. [07:13] halogenandtoast: Hmm no that was my issue, make sure you're up to date on npm [07:13] techpeace: Cool, thanks again. [07:13] halogenandtoast: np [07:14] mcarter_: whoops, s/stdou/stdout/ [07:14] dylang: socket.io isn't serving the flash... i know i need to point the directory to where socket.io is installed - but it's installed via npm.... [07:18] joshthecoder: dylang: I guess just copy the lib/vendor folder to our public directory [07:18] joshthecoder: keep that directory layout [07:18] dylang: joshthecoder: okay cool [07:18] dylang: thanks [07:18] abiraja: was expressPlugins = require('express/plugins') deprecated? [07:21] _announcer: Twitter: "Anyone design tips for my #nodeKO #nodejs entry? http://speedo.no.de/ the red squares will be images ;$.." -- Arnout Kazemier. http://twitter.com/3rdEden/status/22419980074 [07:21] abiraja: how do you use cookies with express? [07:22] sveimac has joined the channel [07:22] sveisvei has joined the channel [07:22] jamescarr has joined the channel [07:23] alecmuffett has joined the channel [07:25] wmealing__ has joined the channel [07:26] Egbert9e9 has joined the channel [07:26] jamescarr: there's no reference to attachment() on http response [07:28] abiraja: is anyone around? [07:29] sh1mmer: yo [07:29] sh1mmer: is there a good pattern to throttle connections on http? [07:30] Aria: If(count of bytes is too big) pause() settimeout(resume()) [07:33] abiraja: wth happend to require('express/plugins')? [07:34] _announcer: Twitter: "http://bit.ly/9QsCbk What do you think about "MASSIVETRIS" name for my MMO-Tetris created for @node_knockout ? #nodeKO #nodejs" -- MichalBe. http://twitter.com/michalbe/status/22420610762 [07:35] jbr_ has joined the channel [07:44] jamescarr has joined the channel [07:48] cardona507_: so this is my app so far - http://nko-trisomic-propus.heroku.com - it works in chrome - it gets your lat and long with HTML5 geolocation and then puts them on the page. If you click 'submit' you will be taken to /confirm. I have some fake data loading there but ideally the info from the former page would carry over. How do I get the values from the form on the first page to carry over to /confirm? [07:49] _announcer: Twitter: "Trying hard to see the awesomeness of node.js and failing. I need a good project idea node.js would be good for." -- Dan Jacob. http://twitter.com/zeemonkee/status/22421259762 [07:49] Aria: Spit them out as hidden input fields, cardona507_ [07:49] _announcer: Twitter: "The websocket node.js write about tomorrow." [ja] -- Jxck. http://twitter.com/Jxck_/status/22421272975 [07:49] cardona507_: Aria: thats what I figured - but how do I retrieve the value on the other side? thnx [07:50] Aria: Other side of what? It's a separate request. Same as you'd expect.. [07:51] peutetre has joined the channel [07:52] cardona507_: i don't totally understand - I don't know what to expect - with php I would use $_REQUEST - I don't know what to do in this situation [07:53] Aria: Using raw http server stream? [07:53] Aria: You'd have to read and parse [07:54] cardona507_: it must be easier than that to pass JSON between two pages [07:54] Aria: Ah, if it's json, then just decode the input. [07:55] cardona507_: i am thinking maybe jQuery $.post [07:55] cardona507_: i am fairly new to programming and my skills are mostly with jQuery [07:55] JimBastard: zzzzzz [07:55] cardona507_: heh [07:55] cardona507_: :P [07:56] jamescarr: hahahahah! [07:56] jamescarr: it works! [07:56] jamescarr: nom nom nom [07:57] jamescarr: now I just need a cross browser File API compatibility [08:00] lachlanhardy has joined the channel [08:02] abiraja: hey guys, where can i find out more about express plugins? [08:03] jbr_ has joined the channel [08:03] _announcer: Twitter: "I've been working a lot with Node.js recently, so I volunteered for browser JS at #nodeko. Hear that? It's consistency flying away..." -- Reid Burke. http://twitter.com/reid/status/22421900884 [08:04] _announcer: Twitter: "Towards Auto-sharding in Your Node.js App - http://ngchi.wordpress.com/2010/08/23/towards-auto-sharding-in-your-node-js-app/" -- Abrdev Blog. http://twitter.com/abrdev/status/22421921272 [08:07] ajsie has left the channel [08:09] benv: teamwork: http://cl.ly/322247f4397c6524d8d3 [08:16] JimBastard: !tweet #node.js reporting in for #nodeko on irc.freenode.net [08:16] MattJ has joined the channel [08:16] JimBastard: hrmm [08:17] JimBastard: fail? [08:17] JimBastard: did we lose franky [08:17] JimBastard: ACTION summons franky [08:17] _frankie has joined the channel [08:18] JimBastard: !tweet #node.js reporting in for #nodeko on irc.freenode.net [08:18] JimBastard: twitter is stupid [08:18] JimBastard: !tweet #node.js reporting in for #nodeko on irc.freenode.net [08:19] JimBastard: >.< [08:19] JimBastard: fu frankie [08:22] AAA_awright: What's nodeko? [08:22] crohr has joined the channel [08:23] _announcer: Twitter: "Testing streamie.org. Wow it's built on all the hot stuff: node.js, web sockets, bespin. ..and you can fork and hack it." -- Hans Schroeder. http://twitter.com/js4all/status/22422818927 [08:24] _frijole has joined the channel [08:24] JimBastard: AAA_awright: node knockout? [08:24] JimBastard: we are in the middle of a node.js coding competition [08:24] AAA_awright: Right I knew that [08:24] MikeSmith has joined the channel [08:24] JimBastard: its the hash tag [08:25] JimBastard: twitter is stupid [08:30] sh1mmer: AAA_awright: http://nodeknockout.com [08:31] AAA_awright: Yep [08:32] _ts has joined the channel [08:33] pplante has joined the channel [08:33] V1: Is there an easy way to host your subdomain.no.de as regular domain? I still got "performance.ms" available as domain name [08:33] micheil: V1: joyent or heroku? [08:33] V1: joyent [08:33] sh1mmer: V1: just point your domain at your Joyent IP [08:33] micheil: okay, I'm not sure on the details, but yeah [08:34] almay has joined the channel [08:34] V1: sh1mmer: Thanks, good point :) [08:34] sh1mmer: micheil: I watched ry dicking with the dyndns records [08:34] sh1mmer: :) [08:34] micheil: sh1mmer: that works ;P [08:34] sh1mmer: V1: the joyent instances have a static ip which is just yours [08:34] sh1mmer: micheil: he was kind enough to add a wildcard above our host [08:35] V1: Yeah i read that on there site :) [08:37] visnup: V1: you can also cname your domain to the x.no.de domain [08:37] sh1mmer: true that [08:37] V1: Atleast i got enough options :) thanks guys [08:39] randometc has left the channel [08:41] martyziff has joined the channel [08:42] V1: I love this part of the KO race, the application is finally coming together http://speedo.no.de/ index's fancy pancy signup's http://speedo.no.de/signup , http://speedo.no.de/demo pages <3, but that I realize, thats only 10% of my whole applications ;9 [08:42] mcarter_ has joined the channel [08:42] cardona507_: heh [08:45] jamescarr: holy cow [08:46] jamescarr: it'd be possible to use the app we created to host a website on someone else's server [08:46] jamescarr: using the technology [08:47] micheil: V1: your demo doesn't do anything yet :( [08:47] visnup: http://ko-734m.no.de/ [08:48] V1: micheil: it requires other users to also click the page [08:48] micheil: looks pretty interesting though [08:48] V1: See the changes yet? [08:48] V1: ACTION is clicking like mad man [08:49] overra: visnup: crazy [08:49] JimBastard: that is FUCKING AWESOME, whoever did it [08:49] visnup: hahahha [08:49] clintandrewhall has joined the channel [08:49] JimBastard: ACTION has been drinking heavily [08:49] huned: thanks JimBastard! [08:50] JimBastard: ACTION with the jsconf mug [08:50] V1: Seems like games are hot during this contest :) [08:50] JimBastard: i got 10 bucks on a the best clicky click draggy drag [08:50] huned: oh. it's not a game. [08:50] micheil: visnup: interesting :P [08:50] JimBastard: we've decided to go a bit more humble and try to build a tool that is kinda useful [08:51] JimBastard: we got two entries, this is one http://github.com/nodejitsu/kyuri [08:51] micheil: url? [08:51] JimBastard: http://blog.nodejitsu.com [08:51] visnup: huned: where's the hugging? [08:51] JimBastard: go go wheat! [08:52] huned: hugging is still in our icebox [08:52] _TS has joined the channel [08:52] visnup: lame [08:52] visnup: I should probably sleep [08:52] visnup: writing voting code while sleepy is a bad idea [08:53] jesusabdullah: I hear you [08:53] micheil: ACTION just got up. [08:53] david has joined the channel [08:54] ollym has joined the channel [08:54] _announcer: Twitter: "I got node.js to talk to couchdb on my first try! I's because they both speak http, and so do I. Hey that rhymed." -- lancefisher. http://twitter.com/lancefisher/status/22424136332 [08:54] aho has joined the channel [08:55] _announcer: Twitter: "Ever wanted to know who is just editing stuff on wikipedia? http://nodelay.no.de/ #nodejs #knockout" -- Richard Wöber. http://twitter.com/der_rich/status/22424176590 [08:55] jamescarr: booo [08:55] jamescarr: nodelay is going to beat me :( [08:57] hipertracker has joined the channel [08:58] coen_ has joined the channel [09:00] stephank has joined the channel [09:01] clintandrewhall_ has joined the channel [09:02] coen has joined the channel [09:03] felixge has joined the channel [09:07] apemsel has joined the channel [09:07] apemsel: Hi Folks [09:07] jamescarr: HOWDY! [09:09] apemsel: Maybe someone can help me with an express question [09:10] clintandrewhall_ has joined the channel [09:11] apemsel: Is there a simple way to prevent the set-cookie header from being sent for a specific file served by a staticProvider? [09:13] badaxx has joined the channel [09:13] okuryu has joined the channel [09:17] hipertracker_ has joined the channel [09:17] beynon has joined the channel [09:17] derbumi has joined the channel [09:18] johnfn has joined the channel [09:18] JimBastard has joined the channel [09:18] JimBastard: drunk photoshop, is the best protoshop. http://github.com/nodejitsu/kyuri [09:18] MikeSmith: hmm, it's kind of a bummer when using express render() that if a particular template has a reference to a reference to an undefined variable in it, the errors I get don't actually tell me which template file the problem reference is in [09:19] techpeace has joined the channel [09:19] jamescarr: Fricking awesome [09:19] MikeSmith: apemsel: I would think you could remove it from the response.headers array… ? [09:19] ph^ has joined the channel [09:19] jamescarr: http://done-js.no.de/ [09:19] jamescarr: just got to get binary working now [09:20] MikeSmith: what's cucumber? [09:20] clintandrewhall has joined the channel [09:20] jamescarr: MikeSmith, something awesome [09:20] JimBastard: MikeSmith: click the link? [09:20] JimBastard: is there one? [09:20] apemsel: @mike: yeah but where can I hook in before the file gets sent? [09:21] JimBastard: bdd [09:21] JimBastard: agile yo [09:21] JimBastard: you write tests and make money [09:21] JimBastard: i think [09:21] JimBastard: whats drop node use as a data backend [09:21] JimBastard: s3? [09:21] MikeSmith: JimBastard, jamescarr - yeah, thanks, reading up on it now [09:22] JimBastard: i guess fuuu https://addons.mozilla.org/en-US/firefox/addon/8482/ [09:22] _announcer: Twitter: "An awesome output of #nodeko : kyuri - story level BDD tool for node.js http://github.com/nodejitsu/kyuri" -- jamescarr. http://twitter.com/jamescarr/status/22425322835 [09:22] JimBastard: boom@ [09:22] jamescarr: hehehehe [09:22] jetienne_ has joined the channel [09:23] jamescarr: so, anyone underrstand why my binary files get garbled? [09:23] clintandrewhall_ has joined the channel [09:23] _announcer: Twitter: "@knodelay you're welcome. Good luck at the node.js knockout" -- Devil's Advocate. http://twitter.com/peter_tonoli/status/22425377898 [09:23] jamescarr: I do a XHR PUT from the client side of the file, which is then served up to the person downloading the file [09:23] martyziff has joined the channel [09:23] JimBastard: jamescarr: toString() ? i dunno [09:23] JimBastard: >.< [09:23] jamescarr: JimBastard, ASCII files work fine [09:23] randometc has joined the channel [09:24] JimBastard: prob pebcak [09:24] jamescarr: binary files, like PNGs or ZIP wont open [09:24] JimBastard: its late [09:24] jamescarr: lol yeah [09:26] randometc has left the channel [09:26] MikeSmith: apemsel: sorry, dunno -- not tried it yet myself, so I'm probably not gonna be much help [09:27] apemsel: kk thx anyway [09:29] _announcer: Twitter: "Pm: A stack-based programming language written in NodeJS just for fun! - http://su.pr/2IENbP" -- eBot. http://twitter.com/kicauan/status/22425642699 [09:29] benburkert has joined the channel [09:37] hipertracker_ has joined the channel [09:37] _announcer: Twitter: "hey @jedschmidt did we get the translation right? >.< http://github.com/nodejitsu/kyuri #nodeko #node.js" -- Nodejitsu. http://twitter.com/nodejitsu/status/22425964702 [09:37] ahc has joined the channel [09:38] JimBastard: i wonder where jed is in all of this [09:38] jacques has joined the channel [09:42] _announcer: Twitter: "@zef Do you know http://thechangelog.com ? They've got quite a lot of articles related to node.js" -- Christian Land. http://twitter.com/chland/status/22426189590 [09:43] clintandrewhall has joined the channel [09:43] coen has joined the channel [09:44] micheil: well, it sorta works. http://unsaving-daiva.no.de/ [09:45] coen_ has joined the channel [09:45] JimBastard: oopa! [09:45] jetienne_: anybody already used qunit with node.js ? [09:46] MikeSmith: micheil: stuff moves around when I click. I love it [09:46] MikeSmith: add more stuff, and more things for me to click [09:46] MikeSmith: and I will love it even more [09:46] pdelgallego has joined the channel [09:46] MikeSmith: add some powz [09:47] MikeSmith: and make them say funny stuff when I click [09:48] javajunky has joined the channel [09:48] jetienne has joined the channel [09:48] Tim_Smart has joined the channel [09:49] jamescarr: hmmm... whats a good way to base64decode something quickly? [09:49] Tim_Smart: jamescarr: new Buffer(string, 'base64').toString()? [09:49] _announcer: Twitter: "jquery qunit + node.js ... wouldnt that be great ? anybody tried ?" -- Jerome Etienne. http://twitter.com/jerome_etienne/status/22426501639 [09:51] coen has joined the channel [09:52] _announcer: Twitter: "great article about #node.js http://www.sitepoint.com/blogs/2010/07/13/node-js-is-the-new-black/" -- Jasper Verplanken. http://twitter.com/jaspervp/status/22426600615 [09:54] rioter_ has joined the channel [09:55] rioter_: Hello, i was wondering if anyone in here wrote http://leaderboard.no.de/ ? [09:56] atmos has joined the channel [09:57] keeto has joined the channel [09:57] atmos_ has joined the channel [09:57] _announcer: Twitter: "Who edited # wikipedia right now? Chart in real time using # nodejs http://bit.ly/bmxsry" [fr] -- Jean-Louis Huynen. http://twitter.com/gallypette/status/22426823998 [09:57] aliem has joined the channel [09:59] coen has joined the channel [09:59] jamescarr: BOOO [09:59] jamescarr: TypeError: Argument must be a string [09:59] jamescarr: at ServerResponse.send (/home/jamescarr/projects/donejs/vendor/.npm/express/1.0.0rc/package/lib/express/response.js:80:22) [10:00] cheriot: Has anyone used connect-auth with socket.io? [10:01] cheriot: Or any kind of auth with socket.io? [10:02] cheriot: I'm not sure how to identify users from my connection/message listeners [10:04] rubydiamond: what does "Recent Connections" means in leaderboard [10:04] badaxx has joined the channel [10:07] cardona507_: rubydiamond: what is the url for the leaderboard? [10:08] mark[oz]: soooo close to deploying! damn css bugs [10:08] cardona507_: anybody know if it's ok to have nested key/values in HTML5 localStorage? [10:09] atmos: FUCKIN CSS [10:09] cardona507_: nah - fuckin browser differences [10:10] Tim_Smart: Has anyone not slept since the beginning of the KO? [10:11] apemsel: cardona507_: I think no, but why not save stringified json? [10:11] cardona507_: apemsel- i don't know about stringified json - let me google that [10:12] cardona507_: this leaderboard is great btw [10:12] hellp has joined the channel [10:12] apemsel: JSON.stringify(mycomplexdata) [10:12] cardona507_: mycomplexdata is the object? [10:12] Tim_Smart: The leaderboard could probably win the KO on its own. [10:12] apemsel: Yeah [10:12] rnewson has joined the channel [10:13] apemsel: The leaderboard is awesome [10:13] cardona507_: hmmm I gotta try this real quick [10:13] cardona507_: here's what I got so far http://nko-trisomic-propus.heroku.com/ [10:13] cardona507_: I am solo [10:13] teemow has joined the channel [10:14] cardona507_: if you look at the localStorage in a webkit browser you will see that it saves an object everytime you refresh [10:14] _announcer: Twitter: "http://tinyurl.com/yhnxg6d Node.js is genuinely exciting" -- desk_stage. http://twitter.com/desk_stage/status/22427531650 [10:14] cardona507_: the object is the lat and lon values [10:14] cardona507_: i want to be able to retrieve them but I am getting [object Object] :/ [10:17] apemsel: Yeah because it calls .toString on your Object before saving it [10:17] apemsel: Either serialized it with JSON.stringify or overwrite .toString [10:17] jamescarr has joined the channel [10:19] jblanche has joined the channel [10:20] cardona507_: how do I unserialize? [10:20] javajunky has joined the channel [10:21] apemsel: JSON.parse [10:21] cardona507_: no args? [10:21] apemsel: Note that this only works for data, not functions [10:21] aho: *deserialize [10:21] aho: <: [10:22] _announcer: Twitter: "After implementing a test project in Rails 3, i think i'll try node.js instead." -- James Urquhart. http://twitter.com/sjamesu/status/22427899532 [10:22] aho: see http://en.wikipedia.org/wiki/JSON and http://json.org/ [10:22] apemsel: var object=JSON.parse(string) [10:24] cardona507_: hmm - I am getting SyntaxError: Unexpected token ILLEGAL from that [10:25] cardona507_: the serialize part worked like a charm [10:25] cardona507_: thanks for that knowledge [10:25] cardona507_: now I need to turn the string back into an object [10:26] apemsel: Um yeah no idea why you get that error, sorry... [10:26] apemsel: Should work [10:26] apemsel: Maybe you can redeploy so I can have a look at the data [10:27] cardona507_: 1 sec [10:27] javajunky: cardona507_: what does the string look like, that JSON parse is 'strict' [10:28] cardona507_: I am gonna deploy the code in just a sec [10:29] zomgbie has joined the channel [10:32] cardona507_: ok it's live now [10:32] cardona507_: http://nko-trisomic-propus.heroku.com/ [10:32] cardona507_: but its not correct [10:32] cardona507_: here is the function http://gist.github.com/556190 [10:32] _announcer: Twitter: "Hacking on #nodejs for #knockout: http://bit.ly/bmxsry" -- Max Carlson. http://twitter.com/vjqak/status/22428334223 [10:33] apemsel: Hmm the string looks good [10:33] Tim_Smart: Right, couple hours of sleep, then some more KO. [10:33] Tim_Smart: :p [10:34] cardona507_: oddly enough it works from my console [10:34] cardona507_: doh [10:34] femtoo has joined the channel [10:35] cardona507_: apemsel: the string looks good? what do you mean? [10:36] apemsel: I don't know why it is not parseable [10:37] mark[oz]: will the judges be using ie? [10:38] mark[oz]: :D [10:38] cardona507_: haha [10:38] mark[oz]: nuts to ie then! hello html5 [10:38] nathanhoad: sounds good [10:38] mape: mark[oz]: Just use a popup to tell them to use something else :) [10:39] mark[oz]: mape: yepo, we're working on that now! [10:39] mark[oz]: its been a long couple of days.. looking for to deployment and some sleep [10:41] rvanrooy has joined the channel [10:41] mape: Hehe for sure [10:42] cardona507_: off to sleep - thanks for the help everyone [10:42] apemsel: Kk sleep tight [10:43] lachlanhardy has joined the channel [10:45] JimBastard has joined the channel [10:45] JimBastard: can i get two node knockout entires and some french toast? http://github.com/nodejitsu/prenup [10:46] wmealing: sorry, fresh out of french. [10:47] JimBastard: seamlessweb isnt [10:47] JimBastard: and they are inc! [10:47] JimBastard: its time to sober up [10:47] JimBastard: 11 hours to go [10:47] wmealing: get your game on ! [10:47] JimBastard: break time for breakfest [10:47] JimBastard: when it arrives [10:48] JimBastard: http://github.com/nodejitsu/kyuri [10:48] JimBastard: boom [10:50] mitkok has joined the channel [10:52] javajunky: npm dead atm ? [10:53] coen has joined the channel [10:57] clintandrewhall has joined the channel [10:58] clintandrewhall: dumb question... my dates on my remote server are different than in the browser... is there a way to figure out the offset and render them correctly? [10:59] mape: clintandrewhall: send a server timestamp and keep an offset on the clients end [10:59] termie: how does one get mongodb and the like running on joyent? [11:00] clintandrewhall_ has joined the channel [11:00] MikeSmith: hey, it's termie! [11:00] coen has joined the channel [11:00] mape: termie: people seem to recommend going with mongoHQ [11:00] clintandrewhall_: mape: I'm not sure I follow, unfortunately... I'm rendering the date, stored in the database, in an .ejs file [11:01] MikeSmith: termie, it's MikeSmith from W3C (formerly of Opera) .. we met a BarCamp in Amsterdam a few years back [11:01] lachlanhardy has joined the channel [11:01] clintandrewhall_: mape: my local version renders correctly, b/c of where the server is... remote is off by several hours... [11:01] clintandrewhall_: are you saying send the offset from the client to the server? [11:01] clintandrewhall_: (I've been up late, and I'm apparently dumb this morning) [11:02] termie: MikeSmith: howdy :) [11:02] termie: mape: :( [11:03] xla has joined the channel [11:03] termie: i expected that the joyent option was a vm [11:04] termie: rather than something in between that and heroku [11:05] jetienne has joined the channel [11:06] visnup: termie: you could try to install mongodb locally, but mongohq works pretty well [11:08] clintandrewhall_ has joined the channel [11:08] larsvegas has joined the channel [11:08] jetienne: hmmm mdns .local is not honored [11:10] clintandrewhall has joined the channel [11:11] termie: le sigh, i have very little interest in wasting a bunch of time dealing with awkward server stuff when i am fully capable of installing a configuring a normal server on my own [11:13] coen has joined the channel [11:13] termie: but i suppose that has the plus side that i don't have to sit on a computer the rest of the day [11:17] zomgbie has joined the channel [11:24] clintandrewhall_ has joined the channel [11:28] mark[oz]: hey guys, any rules around creating a cname to the joyent address that is given? [11:30] andrei: i think people are buying domains for their systems, so cname'ing should be fine [11:30] andrei: i'll buy a domain for myself [11:30] andrei: :) [11:31] altamic has joined the channel [11:31] mark[oz]: ;) ok excellent [11:31] ph^ has joined the channel [11:31] mark[oz]: so there aren't any crazy rules about that just yet? [11:33] andrei: i think this is NOT one of the "do not pay for anything" [11:33] andrei: i guess as long as you system works with the stock domain, you're safe [11:34] andrei: though my system relies on CNAMEs [11:35] _announcer: Twitter: "@olympum I've completely missed the node.js train. Why do people want to write Javascript on the server-side?" -- Pekka Enberg. http://twitter.com/penberg/status/22431071348 [11:36] MikeSmith: heh [11:36] mark[oz]: andrehjr: cheers, just set stuff up [11:36] mark[oz]: how are everyones apps going? [11:37] claudiu__ has joined the channel [11:39] V1: Did anyone here sucessfully use socket.io in there project? Especially Firefox:? [11:39] SubStack: I'm using dnode [11:40] SubStack: which uses socket.io [11:43] hipertracker_ has joined the channel [11:44] V1: which kind of transport does it use in firefox? Flash sockets or XHR could you check that for me SubStack ? [11:45] SubStack: I don't deploy flash sockets since it's a pain to get the ports, so firefox falls back into xhr-multipart [11:45] SubStack: at least, 3.5.8 does [11:46] SubStack: ACTION gets some sleep [11:47] V1: aaaah oooh aaah i found the issue [11:47] V1: I was hosting the WebSocketMain on the Google Developer cdn [11:48] Akufen has joined the channel [11:48] Akufen has joined the channel [11:49] _announcer: Twitter: "my recent tinkering with node.js showed how little I know about I/O (and UNIX)" -- Nestor Pestelos. http://twitter.com/ngpestelos/status/22431766246 [11:56] clintandrewhall has joined the channel [12:00] aussiegeek has joined the channel [12:01] mark[oz]: hey guys, I can't get into my joyent control panel, I've reset my password, but I still can't get in [12:01] mark[oz]: any ideas? [12:01] gm__: yo [12:01] gm__: any abstraction to get POST params from http request ? [12:02] rvanrooy has joined the channel [12:02] rvanrooy: #stackvm [12:02] gm__: still using on('data') [12:02] mark[oz]: gm__: response.params.post_variable [12:03] gm__: post_variable a collection or just the name of my variable ? [12:04] clintandrewhall_ has joined the channel [12:04] mark[oz]: a specific variable. [12:04] mark[oz]: so if you have a username input, and post it, then response.params.username [12:04] DTrejo has joined the channel [12:05] mark[oz]: so... any joyent guys heres? [12:05] mark[oz]: here* [12:05] gm__: TypeError: Cannot read property 'post_variable' of undefined [12:05] gm__: seems like param is undefined for res [12:05] mark[oz]: uhmm try request [12:05] _announcer: Twitter: "#nodeko - Yea, it's kind of like this -> http://bit.ly/a844OZ #nodejs" -- Nick Campbell. http://twitter.com/ncb000gt/status/22432605036 [12:06] zomgbie has joined the channel [12:06] gm__: same thing [12:06] gm__: no params [12:06] ncb000gt has joined the channel [12:06] clintandrewhall has joined the channel [12:06] mark[oz]: gm__: its 100% request.params.username [12:07] mark[oz]: to get the params from a post. [12:07] mark[oz]: gm__: maybe do something like console.log(sys.inspect(request)); [12:07] gm__: I am doing it already :) [12:07] mark[oz]: to dump the request object.. you might see something there [12:07] mark[oz]: k [12:08] gm__: param is not there, is it a new feature ? [12:08] mark[oz]: its params (plural) [12:08] mark[oz]: uhmm, nah I'm not sure. [12:08] mark[oz]: ahhh are you using express? [12:08] gm__: local node.js [12:08] gm__: dont know about express [12:08] mark[oz]: uhmm not sure then. [12:09] gm__: ok, thanks mate [12:10] gm__: will try a bit more googling [12:10] Astro: our project is up: http://bitsuckr.net/ [12:10] zemanel: O/ [12:11] mark[oz]: congrats Astro [12:11] mape: Astro: Nice [12:12] mark[oz]: Astro: how did you get the url? [12:12] mape: Astro: Is it suppose to start streaming? [12:12] markwubben has joined the channel [12:12] Astro: depends on the torrent :) [12:12] mark[oz]: ahh A record [12:12] mape: leeching with 26KB/s [12:13] Astro: fine [12:13] mape: But not showing video [12:13] rubydiamond: Hey. need little help for our app .. Can someone reply on twitter "@_inception911 MED, Koregaon Park, Pune" with their GPS enabled handphones.. [12:13] rubydiamond: my GPS enabled phone doesn't work :( [12:15] apemsel: Very nice project [12:15] mape: Astro: not obvious that you need to select the file to view it, perhaps add a play icon or something on the right side? :) [12:15] rubydiamond: apemsel: ? [12:15] matschaffer has joined the channel [12:15] apemsel: Bitsuckr, looks great [12:15] apemsel: Congrats [12:15] Astro: mape: I already proposed this to my webdesigning team mate [12:16] mape: Astro: Neat [12:16] apemsel: about to cancel my put.io account ;-) [12:16] gerad has joined the channel [12:16] Astro: mark[oz]: url? you mean how you register a domain? [12:16] ncb000gt: Astro: very cool. Tho buffering hangs for me here. [12:16] Astro: apemsel: suspend it for a week ;) [12:16] mark[oz]: Astro: nah didn't realise you just pointed an A record at the joyent server.. [12:16] mark[oz]: we've done the same thing [12:17] V1 has joined the channel [12:17] _announcer: Twitter: "OK, so I delete gists in my sleep. Gist I mentioned earlier (about parallel tasks in #nodejs) is now at http://gist.github.com/556241" -- Tobie Langel. http://twitter.com/tobie/status/22433223790 [12:17] rubydiamond: mark[oz]: halp [12:17] mark[oz]: rubydiamond: ? [12:18] rubydiamond: Hey. need little help for our app .. Can someone reply on twitter "@_inception911 MED, Koregaon Park, Pune" with their GPS enabled handphones.. [12:18] mape: ryancnelson in #joyent suggested a cname instead incase they move the machine around [12:18] rubydiamond: mark[oz]: just tweet this "@_inception911 MED" [12:18] mape: Better then a A-record to the IP [12:18] mark[oz]: mape: I can't get into the control panel [12:19] mape: mark[oz]: Of the domain manager? [12:19] mark[oz]: not sure where I can get support for it either. [12:19] mark[oz]: mape: can you cname the root domain? i.e. basedomain.com ? [12:19] mape: That is what I did [12:19] mape: Seems to work [12:20] Astro: there's a cname too: bitsuckr.codetu.be [12:24] mark[oz]: using out app to test our app :) http://skitch.com/markgandolfo/dwr6a/dnsbot-global-dns-propagation-checker [12:24] larsvegas has joined the channel [12:25] gm__: the number 250 rings a bell for anyone ? seems like my app is blocking at max 250 conn (COMET) [12:26] nathanhoad: heres a better one, mark[oz] : http://skitch.com/nathanhoad/dwr9b/dnsbot-global-dns-propagation-checker [12:27] mark[oz]: ;) [12:27] mark[oz]: looking sexy [12:27] _announcer: Twitter: "node.js blocking at 250 connections. (limits are ok, connections are persistent comet) any tips, twitter ?" -- gleicon. http://twitter.com/gleicon/status/22433749430 [12:27] _announcer: Twitter: "hello world benchmarks for #nodejs 0.2.0 web frameworks, august 2010 ( #expressjs way faster, congrats! ) http://bit.ly/agH9W0" -- DracoBlue. http://twitter.com/DracoBlue/status/22433752392 [12:27] gm__: heh [12:27] gm__: answer me, world of interwebs [12:30] _announcer: Twitter: "in-browser nodejs idea for # # nodeko nodejs http://fewtter.no.de/" [da] -- Senmiao Liu. http://twitter.com/lsm/status/22433889017 [12:34] larsvegas1 has joined the channel [12:39] Dmitry has joined the channel [12:39] zemanel has joined the channel [12:40] mitkok has joined the channel [12:40] ironfroggy_: this has been working fine until i compiled Node on a new machine, and now i get http://paste.pocoo.org/show/255862/ with an error inside crypto and i dont know why [12:41] jodo has joined the channel [12:43] micheil: someone after me? [12:43] mape: ? [12:44] ncb000gt: has anyone had issues with using the gridfs on mongohq? [12:45] micheil: yeah, it was mikesmith [12:45] _announcer: Twitter: "Ey, tweeting from a node.js app! #nodeko" -- Sebastian Senf. http://twitter.com/mustardamus/status/22434724209 [12:46] clintandrewhall_ has joined the channel [12:51] bradleymeck2 has joined the channel [12:52] mitkok1 has joined the channel [12:52] kriszyp has joined the channel [12:53] coen has joined the channel [12:54] coen_ has joined the channel [12:55] rnewson has joined the channel [12:56] sant0sk1 has joined the channel [12:57] hipertracker has joined the channel [12:58] _announcer: Twitter: "NodeJS tutorial: http://vimeo.com/13957000" [lv] -- Jaime Bueza. http://twitter.com/jbueza/status/22435444019 [12:58] gm__: installing an ubuntu Vm to see if the node limit is mac os relates [12:58] gm__: *related [12:59] bradleymeck2 has left the channel [13:00] codetonowhere has joined the channel [13:00] trotter has joined the channel [13:00] _frankie has joined the channel [13:01] bigfleet_ has joined the channel [13:02] trotter: good morning, everyone ready to do this thing today? [13:02] micheil: morning [13:03] mape: Probly a ton of projects that will be released later today [13:03] trotter: mape: hehe, yea, that's my guess [13:04] trotter: we've been trying to do the continual release thing… so it's all smoothing the edges today [13:04] mape: Feels like there will be more attention if you release later in the game, rather then something broken early on [13:04] mape: Then people won't check it out since they had a bad experience the first time [13:04] anteaya has joined the channel [13:05] _announcer: Twitter: "Pro Tip: If node.js complains that require('crypto').Hash is undefined, you forgot to build with OpenSSL." -- Calvin Spealman. http://twitter.com/ironfroggy/status/22435903548 [13:09] d0k has joined the channel [13:12] micheil: mape: don't worry, I've just taken a look at a lot of the entries [13:13] mape: What do you think so far? [13:15] coen has joined the channel [13:16] _announcer: Twitter: "start loving nodejs, express, jade, less & coffescript ! Beautifull !" -- Samuel Morello. http://twitter.com/ouvanous/status/22436560252 [13:16] hipertracker has joined the channel [13:18] V1: redbull #4 almost there [13:18] Astro: mape: better now? [13:18] mape: With the sickness? [13:18] mape: Or the button [13:19] mape: Ah yeah, better! [13:19] zemanel has joined the channel [13:20] sant0sk1: is there any way to hook into node right before the process closes to do some cleanup? I was looking at http.Server's "close" event but I don't think that will work [13:20] mape: sant0sk1: on sigint? [13:20] mape: process.addListener('SIGINT', function () {}); [13:20] mape: guess it depends on how it closes [13:20] sant0sk1: ok that might do it [13:21] sant0sk1: yah, wonder what signal Joyent sends [13:21] coen has joined the channel [13:22] mape: Astro: In what browser is it suppose to work? [13:22] temp01 has joined the channel [13:23] mape: Tried safari and chrome and it shows ? and loading in safari and black in chrome [13:23] bradleymeck2 has joined the channel [13:23] rvanrooy has joined the channel [13:24] mape: White box with quicktime logo on firefox [13:24] clintandrewhall has joined the channel [13:25] _announcer: Twitter: "node.js seems to have run out of memory... WHAT?!" -- James Urquhart. http://twitter.com/sjamesu/status/22437116891 [13:25] Astro: mape: complain to the browser vendors :< [13:25] mape: Well which one should I use? :P Tried FF, Chrome, Safari [13:26] Astro: not IE I can tell you [13:26] mape: Hehe [13:27] Astro: anyway, just give the url to your mediaplayer [13:27] _announcer: Twitter: "http://sourlander.no.de/ cannon moves smooth now! #nodejs #nodeko" -- Mark Schmale. http://twitter.com/themasch/status/22437246173 [13:27] mape: http://bitsuckr.net/2be808c54b33c17ed6a2f8396404a52152bf3047/The.Yes.Men.Fix.The.World.P2P.Edition.2010.Xvid-VODO.avi ? [13:28] mape: VLC is loading [13:28] mbleigh has joined the channel [13:29] mape: Doesn't seem to wanna display anything [13:30] rnewson has joined the channel [13:30] _announcer: Twitter: "Tequila: it's the #nodeKO way! #nodejs http://flic.kr/p/8wm5Fw" -- Lachlan Hardy. http://twitter.com/lachlanhardy/status/22437445473 [13:35] crohr has joined the channel [13:37] karchie has joined the channel [13:37] rnewson has joined the channel [13:37] rnewson has joined the channel [13:38] pgriess has joined the channel [13:39] coen has joined the channel [13:40] _announcer: Twitter: ""Finished" the main page of the Team speedo, now people will hopefully understand what it does :p http://speedo.no.de/ #node.js #nodeko" -- Arnout Kazemier. http://twitter.com/3rdEden/status/22438055042 [13:40] coen has joined the channel [13:41] Blink7 has joined the channel [13:41] _announcer: Twitter: "Happy camping with Mongoose node.js / mongodb simplifier http://www.learnboost.com/mongoose/" -- psvensson. http://twitter.com/psvensson/status/22438143083 [13:41] coen has joined the channel [13:42] bradleymeck2: !tweet @3rdEden, very nice! [13:43] V1: !tweet @bradleymeck2 Thanks :D [13:43] V1: :p [13:43] _announcer: Twitter: "Wow. Wiring up #nodejs w/ express & mustache.js was easy like a Staples button." -- Tim Dysinger. http://twitter.com/dysinger/status/22438263242 [13:43] mape: people really should have the same twitter handle as on irc :P [13:43] V1: Some nut stole V1 @ twitter, its inactive for like 2 years now ;9 [13:43] trotter: yea, would make it easier [13:43] trotter: speedo looks good [13:44] rnewson has joined the channel [13:44] rnewson has joined the channel [13:44] micheil: V1: it's worse for me; @micheil has been used, and I'm one of the few people in the world with the name that I know of [13:45] V1: thanks trotter, i still have some issues with the websockets, but I'll have the gracefully die and only support browser that allows me to do so. [13:45] V1: That does suck micheil [13:45] coen has joined the channel [13:45] micheil: V1: actually, funny story, some guy on twitter once told me he'd kill me because I'd stolen "his name" [13:46] micheil: it was the sort of thing that granted a pear lolwut response [13:46] mape: micheil: any idea when the voting begins? And how long it goes? [13:47] V1: lol [13:47] micheil: it starts tomorrow, iirc. [13:47] mape: not the moment it ends? [13:47] zomgbie has joined the channel [13:47] micheil: V1: which websocket library? [13:47] V1: socket.io micheil [13:47] micheil: oh, I can't help you then [13:47] mape: micheil: Seems I'm the only one using your lib :S [13:47] micheil: not at all [13:48] micheil: I've seen a bunch of other apps using it [13:48] micheil: + I'm actually using it [13:48] mape: Well I guess then people having issues are using socket.io [13:48] micheil: http://unsaving-daiva.no.de [13:48] V1: How much browsers does your implementation support? micheil [13:48] mape: Heard lots having issues with socket.io but no one mentioning yours, guess that is a good thing ;) [13:48] micheil: I think only chrome + safari [13:48] mape: and latest ff [13:48] micheil: (those are released) [13:48] mape: beta [13:48] micheil: then the minefield firefox [13:49] micheil: and an internaluild opera b [13:49] V1: Ah so just the regular "protocols" [13:49] mitkok has joined the channel [13:49] micheil: internal opera build [13:51] claudiu__ has joined the channel [13:52] masch: hmm i like the speedo project [13:52] rvanrooy has joined the channel [13:52] codetonowhere has joined the channel [13:52] gm__: anyone serving comet with node.js and would like to talk load testing ? [13:53] Egbert9e9 has joined the channel [13:54] _announcer: Twitter: "node.js knockout" -- John Goodsen. http://twitter.com/jgoodsen/status/22439018698 [13:54] _announcer: Twitter: "So for hackering around on some light stuff this weekend I have a website setup with nodejs, mustache.js & written in 100% coffescript #fun" -- Tim Dysinger. http://twitter.com/dysinger/status/22439023148 [13:56] masch: someone from awesometown here? [13:56] _announcer: Twitter: "Playing with node.js, thinking about getting the peepcode video" -- Jose Fernandez. http://twitter.com/jrfernandez/status/22439134810 [13:56] bradleymeck2: masch, you called? [13:57] masch: bradleymeck2: may i post a feature request? [13:57] bradleymeck2: gm_ comet over websocket or longpolling? [13:57] V1: I fixed more socket.io issues that I could imagine [13:57] bradleymeck2: oh you meant a team :/ [13:58] bradleymeck2: gm__* above [14:00] halogenandtoast has joined the channel [14:01] zapnap has joined the channel [14:02] _announcer: Twitter: "We summarize tweets such as #nodejs in a nice format - follow me to find out more! http://www.startupweekly.com/hashtag/show/nodejs.html" -- Startup Weekly. http://twitter.com/startupweeklies/status/22439518381 [14:02] polotek has joined the channel [14:05] _announcer: Twitter: "intense node.js + dmx hacking. node.js is turning into my new "get something sys-related down quickly"" -- wesen. http://twitter.com/wesen/status/22439727146 [14:06] rubydiamond: Anybody has GPS enabled mobile phone ? [14:06] rubydiamond: can he do a favour for our team ? [14:06] bradleymeck2: what you want [14:07] bradleymeck2: i can [14:07] rubydiamond: bradleymeck2: send a tweet like this [14:07] rubydiamond: @1_800_TWEET FOOD [14:07] maushu has joined the channel [14:07] rubydiamond: bradleymeck2: thanks [14:08] rubydiamond: bradleymeck2: did you send? [14:09] bradleymeck2: no, grabbed phone [14:09] rubydiamond: bradleymeck2: pls send asap :D [14:10] bradleymeck2: ill tell ya [14:10] rubydiamond: bradleymeck2: is it gps enabled tweet ? [14:10] rubydiamond: send gps enabled phone tweet pls [14:11] _announcer: Twitter: "so, to get into the details: node.js -> custom usb-dmx interface -> galvanic separation + dmx relay -> custom dmx rgb controller" -- wesen. http://twitter.com/wesen/status/22440170116 [14:11] vnguyen has joined the channel [14:11] bradleymeck2: i had to turn on my gps for you, but it should be [14:11] bradleymeck2: sent [14:11] rubydiamond: cool [14:11] wmealing: sent, as well [14:12] rubydiamond: :) [14:12] DTrejo has joined the channel [14:13] rubydiamond: wmealing: haven't received yet [14:13] rubydiamond: "@1_800_TWEET FOOD" ? [14:14] rubydiamond: bradleymeck2: ? [14:14] bradleymeck2: ? [14:14] rubydiamond: bradleymeck2: did you send ? [14:14] rubydiamond: hmm [14:14] ncb000gt has joined the channel [14:15] bradleymeck2: ill send again, maybe had an exta [14:15] bradleymeck2: _ [14:15] breccan has joined the channel [14:15] rubydiamond: bradleymeck2: previous one looks like went to ether [14:15] rubydiamond: I can see one by 3rdEden [14:17] rubydiamond: bradleymeck2: not tweet yet [14:17] rubydiamond: looks like twitter is dropping tweets [14:18] bradleymeck2: sometimes it takes a min, at least for announcer [14:19] rubydiamond: bradleymeck2: announcer? did not get you.. [14:20] bradleymeck2: _announcer is the node.js twitter tracker in here [14:21] polotek: can't imagine why, twitter is always reliable... [14:22] bradleymeck2: sshhhhh [14:22] bradleymeck2: we wont mention the fail whale [14:22] bradleymeck2: or that i had set my tweets to protected... [14:23] rubydiamond: polotek: can you tweet @1_800_TWEET FOOD [14:23] polotek: no _ between tweet and food right? [14:23] rubydiamond: polotek: [14:23] _announcer: Twitter: "Calling it a night, work tomorrow. It was a blast, thanks #nodeko and @mikelim and jaideep (my teammates). #node.js FTW!" -- Kenny Shen. http://twitter.com/kenny_shen/status/22441034022 [14:23] rubydiamond: polotek: but [14:23] rubydiamond: do that from your GPS enabled phone only pls [14:25] polotek: rubydiamond: sent [14:26] bradleymeck2: ehehehehe, gps on chrome [14:26] MattDiPasquale has joined the channel [14:29] icozzo has joined the channel [14:30] vnguyen has joined the channel [14:30] bradleymeck2: odd, twitter doesnt pick up my gps on phone like it does on a browser... [14:30] rubydiamond: bradleymeck2: polotek thanks guys [14:31] rubydiamond: bradleymeck2: which browser ? [14:31] rubydiamond: and bradleymeck2 which laptop ? [14:32] bradleymeck2: chrome is picking it up on my personal laptop [14:32] Neil_ has joined the channel [14:32] bradleymeck2: android phone not sending gps even with it enabled on twitter phone and an app [14:33] micheil: http://github.com/miksago/unsaving-daiva [14:33] micheil: for those interested [14:34] micheil: qevent + node-websocket-server + express [14:34] _announcer: Twitter: "# Tampico good day to tds! Nvo goodbye One day THANKS! Today! DEQ yESPERANZA Dsperte FE sto cnla end soon! "Man" Ask God nodejs d" [es] -- David Castellanos T. http://twitter.com/dcastellanost/status/22441796634 [14:36] _announcer: Twitter: "I found myself in the FreeBSD ports and came in node.js" [ja] -- こば@踏んでください. http://twitter.com/KOBA789/status/22441947188 [14:37] sveisvei has joined the channel [14:38] jamescarr: Me and my sherpa from MIT [14:38] _announcer: Twitter: "Just compiled Node.js, installed Express, and got "Hello world" to show. In like 10 minutes... :D" -- Gustaf Nilsson Kotte. http://twitter.com/gustaf_nk/status/22442126981 [14:41] jamescarr: I hope he isnt doing that for the node KO :) [14:41] apemsel: Lol [14:41] micheil: there's still 9hrs! [14:41] micheil: Go go go! [14:42] polotek: micheil: interesting [14:42] polotek: every visitor gets a dot? [14:42] njero has joined the channel [14:42] markwubben has joined the channel [14:43] jamescarr: shit... who here has used XHR to transfer binary data??? [14:43] jamescarr: we hit a snag [14:43] polotek: jamescarr: don't [14:43] jamescarr: when binary data gets transfered from client to server it has been hurt [14:43] polotek: unless you are posting an image [14:43] jamescarr: polotek, unfortunately a large part of our app rests on the capability of sharing binary files [14:44] njero: jamescarr: in general it is not cross browser to do that [14:44] njero: jamescarr: you need to convert to base64 or something similar and transer that [14:44] polotek: jamescarr: what do you mean by sharing? [14:44] V1: What would be more efficient. a setTimeout of 10 minutes or a cron tab of 10 minutes that calls a node script :? [14:44] njero: zapnap has done something similar with transfering binary data via xhr I think [14:44] apemsel: setTimeout is fine I think [14:44] njero: jamescarr: ^ [14:45] apemsel: Use a huge amount of setTimeouts in another couch app [14:45] polotek: V1: no use a cron [14:45] jamescarr: yeah, I think we might need to do a base64encode [14:45] polotek: setTimeout spins and checks the clock constantly [14:45] aubergine has joined the channel [14:45] zapnap: yeah [14:45] zapnap: convert to base64 and back [14:46] polotek: jamescarr: sounds like a plan [14:46] polotek: it'll be smaller too [14:46] V1: But the event is only fired when the users press a "record" button. So i can log all infromation for 10 minutes in to the database. [14:46] jamescarr: the tech undr the app is fucking sweet [14:47] jamescarr: when someone you're sharing a file with goes to the url and downloads, it forced the sharer's client to PUT the data to the server... [14:47] jamescarr: the data is redirected directly to the getter [14:48] micheil: polotek: yup [14:52] rafacv has joined the channel [14:52] pHcF has joined the channel [14:54] programble has joined the channel [14:57] aliem_ has joined the channel [14:58] jamescarr: http://gist.github.com/556358 [14:58] jamescarr: I base64 encoded the body [14:58] jamescarr: still having issues [14:58] jamescarr: idea? [14:58] jamescarr: *ideas [14:58] jamescarr: the written file is corrupted [14:59] polotek: jamescarr: if you've got it base64 why then go to binary [14:59] polotek: just write the base64 version [14:59] jamescarr: oh? [15:00] polotek: I would keep it in base64 as long as possible [15:01] jamescarr: what in tarnation! [15:02] dshaw has joined the channel [15:02] claudiu_ has joined the channel [15:02] DTrejo has joined the channel [15:03] jamescarr: still doesnt work [15:03] jamescarr: the written file is corrupted [15:10] coen has joined the channel [15:14] [[zzz]] has joined the channel [15:16] bradleymeck2: shhh mape, i broke it [15:16] mape: ? [15:16] bradleymeck2: rose [15:16] micheil: well, the top bit isn't too bad: http://paper.li/tag/nodeko [15:18] mape: bradleymeck2: oh yeah [15:18] bradleymeck2: lol fun to break stuff last day [15:21] jamescarr: you you... you broke it! [15:21] mape: bradleymeck2: what is the purpose? [15:21] _announcer: Twitter: "@rszeno thanks ruset, redland+sqlite would be good w/ setup I've got (node.js+reddis) nice and light, single process" -- nathan. http://twitter.com/webr3/status/22445351577 [15:22] bradleymeck2: does a couple things, translates the whole irc channel (is actually in #knockoutrose for now), and handles DCC file sending [15:22] bradleymeck2: basically bringing web irc up to par [15:23] jamescarr: has anyone here EVER dealt with sending binary data (images, whatever) to a nodejs server using XHR or websockets? [15:23] mape: base64 it? [15:24] jamescarr: I did [15:24] jamescarr: still corrupted on the end :( [15:24] bradleymeck2: are you writing out the buffer as binary? [15:24] jamescarr: I base64encoded it, sent to the server and fs.writeFile(name, type, 'base64') [15:24] bradleymeck2: dont use tostring, evil [15:24] yoni has joined the channel [15:25] njero: jamescarr: we once saw the websocket in nodejs dropping frames but that was fixed way back.. you are on the latest version right? [15:25] c4milo has joined the channel [15:25] jamescarr: bradleymeck2, example? [15:25] jamescarr: njero, yes [15:25] jamescarr: bradleymeck2, when relaying back to the client I WAS using toString('binary') [15:25] njero: jamescarr: in your test which bytes are dropping... upload a small file, check the bytes on the other end [15:26] njero: is it in the front, is it in the middle, the back? is it a byte order problem? [15:26] MattDiPasquale has joined the channel [15:26] jamescarr: give me a secon [15:26] bradleymeck2: stream.write(buffer,"binary") [15:26] jamescarr: bradleymeck2, anyway to do that with a serverresponse object? [15:27] ncb000gt: anyone having issues with mongohq and gridfs? [15:28] bradleymeck2: i thought ServerResponse had an encoding argument [15:28] bradleymeck2: on wirte* [15:30] webandy has joined the channel [15:31] webandy: hey we have a team member without gcc/build tools installed on OS X, is there a prebuilt binary Node.JS I can send him? [15:31] webandy: any suggestions? (OS X) thanks [15:32] Blink7_ has joined the channel [15:32] webandy: just source on the website right? [15:33] polotek: webandy: try ivy [15:33] polotek: from creationix [15:33] webandy: polotek: checking it out [15:33] polotek: webandy: http://github.com/creationix/ivy-bin [15:35] _announcer: Twitter: "Note: English, node.js, Xcode, LPI .... way to go threw ー." [ja] -- fu_su. http://twitter.com/fu_satou/status/22446388703 [15:36] _announcer: Twitter: "Node.js install was a bit harder on Cygwin than on Ubuntu. 'rebaseall' was the key. Test won't run tho, but "Hello world" works on Express." -- Gustaf Nilsson Kotte. http://twitter.com/gustaf_nk/status/22446436855 [15:36] mscdex: node.js rules! [15:36] Frans-Willem has joined the channel [15:36] Frans-Willem: Heya, anyone fill me in on anything I missed since friday :)? [15:36] Frans-Willem: Bound to be a lot of new things with node knockout [15:36] vnguyen has joined the channel [15:37] _announcer: Twitter: "Nodify - a web-based IDE for Node.js applications built with @Bespin for @node_knockout: http://del-fuegos.no.de/" -- Muhammad Yoosuf. http://twitter.com/eyoosuf/status/22446527911 [15:37] bradleymeck2: asd [15:39] robrighter has joined the channel [15:40] _announcer: Twitter: "still thinking what to do to play nodejs." [pt] -- Fernando Takai. http://twitter.com/fernando_takai/status/22446741966 [15:41] kmooney has joined the channel [15:41] [[zz]] has joined the channel [15:42] brucespang has joined the channel [15:42] rnewson has joined the channel [15:42] rnewson has joined the channel [15:42] sarenji has joined the channel [15:45] jollyjerry has joined the channel [15:45] ollym_ has joined the channel [15:45] SoldierOfCode: is anyone using any xml to json converter libs? [15:45] zemanel: memcached on npm down? http://paste.pocoo.org/show/255927/ [15:45] masch: is there a known raphael webkit bug? [15:47] _announcer: Twitter: "Best quote of the day from #nodeko. "I hope this doesn't work. I'd wrather be stupid than crazy." #node.js #bearshark" -- Marco Rogers. http://twitter.com/polotek/status/22447301262 [15:48] polotek: SoldierOfCode: I've seen some [15:48] polotek: SoldierOfCode: what are you using for your xml? do you want to convert the string or do you have a dom? [15:49] SoldierOfCode: I've tried about 5 different ones but all of them dont work for one reason or another - I want to consume xml from some web services but I want to convert from xml string to json object [15:49] polotek: SoldierOfCode: yeah you'll probably have to get a dom first [15:49] siculars has joined the channel [15:49] endor has joined the channel [15:49] SoldierOfCode: I tried to use JSDom but I dont get how [15:50] SoldierOfCode: this is where I am currently looking: http://github.com/maqr/node-xml2js/ [15:50] _announcer: Twitter: "is struggling to build #nodejs on #Windows7" -- Gopal Venkatesan. http://twitter.com/g13n/status/22447498529 [15:50] trotter: oh snap, we win the teen vote: http://awesometown.no.de/ [15:51] bradleymeck2: haha he went over the top for a sec [15:51] trotter: he's just *that* popular :-) [15:51] endor has left the channel [15:51] ceej has joined the channel [15:54] fbstj has joined the channel [15:55] devneal has joined the channel [15:56] JimBastard has joined the channel [15:56] JimBastard: zzzzzzzzzzzzzzzzzzzzzzzzzzzz [15:56] bradleymeck2: hush im trying to be awake! [15:57] zemanel: hows it looking over there http://tweetirc.com/ ? [15:57] ssoper has joined the channel [15:58] CrabDude: anyone know the best way to do a redirect in node? headers.location apparently doesn't change the URL in the browser [15:59] matschaffer: CrabDude: in express you can do res.redirect(url) [15:59] matschaffer: so if you're not, maybe check the source on express (or maybe connect)? [15:59] zemanel: CrabDude, are you ending the response? [15:59] CrabDude: matschaffer excellent. exactly what i needed =) [15:59] _announcer: Twitter: "New blog post: This week there's been a lot of Node.js... http://leepa.co/7hD" -- Lee Packham. http://twitter.com/Joolz/status/22448177564 [15:59] CrabDude: zemanel no [15:59] zemanel: res.writeHead(303, { 'Location': TWITTER_AUTHORIZATION_URL+"?oauth_token=" + oauth_token }); [15:59] zemanel: res.end(''); [15:59] cheriot has joined the channel [16:00] CrabDude: redirect from /app/nodeknockout.com to /app/[channelId] [16:00] zemanel: CrabDude, you should have sticked on my team :p [16:00] CrabDude: zemanel =) [16:00] ceej has joined the channel [16:02] CrabDude: zemanel matschaffer neither of those actually redirect to the new url, they just serve up the new urls's content [16:03] dylang has joined the channel [16:03] CrabDude: I need something like window.location = 'xxxx' that actually changes the currrent URL to the new URL [16:03] matschaffer: CrabDude: doesn't work that way for me [16:03] CrabDude: well poo [16:03] CrabDude: I wonder what's up [16:03] matschaffer: I have a restful-thing going where I post to /new then redirect to the created thingie [16:03] matschaffer: and the URL doesn't stay as /new [16:03] CrabDude: ya, that's exactly what i'm trying to do [16:03] CrabDude: are you sending any headers before res.redirect? [16:03] tmpvar has joined the channel [16:04] matschaffer: nah [16:04] tomh- has joined the channel [16:04] matschaffer: https://github.com/nko/awesometown/blob/master/app.js#L71 [16:04] matschaffer: the actual res.redirect happens here https://github.com/nko/awesometown/blob/master/app.js#L28 [16:04] CrabDude: yes. i want it. [16:04] matschaffer: excuse the bieber [16:04] dylang: mape: are you working on http://npm.mape.me? i'm noticing some strange things this mornin. [16:05] mscdex: 7 hours 55 minutes! [16:05] mape: dylang: haven't touched it since I added the github stuff a week ago [16:05] dylang: hmm [16:05] CrabDude: matschaffer lol, at my company mefeedia we always pass examples of a new feature with bieber as the query [16:05] matschaffer: ha! [16:05] DTrejo has joined the channel [16:06] matschaffer: glad I'm not the only one [16:06] dylang: mape: yoni's workhorse isn't showing up, and clicking info jumps around the page. sorting seems strange too. [16:06] CrabDude: matschaffer ohhhh, the problem was an overagressive routing [16:06] matschaffer: interesting [16:06] CrabDude: so the redirect to route was hijacking the original route, so it only looked like it was redirecting [16:06] codetonowhere has joined the channel [16:07] mape: ah someone added a repo without their mail [16:07] njero has joined the channel [16:08] wmealing__ has joined the channel [16:08] njero: trotter: I love that the x-axis is labeled "x-axis" [16:08] matschaffer: hrm… anyone know how to tell jade to escape content in the attrs of a tag? [16:08] trotter: gotta let people know what it is :-) [16:08] matschaffer: for example: input(value: someValue) [16:08] mape: dylang: fixed [16:10] dylang: mape: awesome, thanks. hmm. going to hit yoni for having [object Object] as his user name. [16:10] mape: Well he doesn't [16:10] mape: but he is the first of hundreds of people to obmit the data breaking the script [16:10] mape: or packages at least [16:10] mape: I'll fix it after the KO is over [16:11] matschaffer: oh, nm it is [16:11] dylang: mape: yoni is fixing it now [16:11] matschaffer: #{blah} doesn't get escaped [16:11] matschaffer: but = does [16:11] matschaffer: got it [16:11] _announcer: Twitter: "Probably not going to get my #nodejs KO entry done. Didn't feel that well yesterday and today is worse : /" -- Felix Geisendörfer. http://twitter.com/felixge/status/22449089842 [16:12] _announcer: Twitter: "And our team members in Australia shut down again, leaving @lstoll to carry on through the night! http://gabbertalk.com/ #nodejs #nodeko" -- Lachlan Hardy. http://twitter.com/lachlanhardy/status/22449141598 [16:13] jamescarr: looking over the entries, it seems there's several tams that arent doing anything [16:13] jamescarr: nice way to waste reserved spots :( [16:15] gnrfan has joined the channel [16:15] grahamalot has joined the channel [16:15] jamescarr: otoh, theres some cool entries [16:15] jamescarr: good job guys [16:16] micheil: jamescarr: that said, anyone who's been after a spot, if they've emailed all@nodeknockout.com then they have been considered for spots. [16:16] njero has joined the channel [16:17] dylang: mape: does the author name come from package.json or the npm registry? [16:17] _frijole has joined the channel [16:17] gnrfan: Hi there.. totally new to node.. I'm using OSX 10.6.4, just compiled node.js from git sources and now want to install npm from git sources too but get this error -> http://pastie.org/1124323 <-- TypeError: Object # has no method 'on' <-- doing curl http://npmjs.org/install.sh | sudo sh yields same results.. any hints? [16:18] mape: dylang: http://registry.npmjs.org/ [16:18] bsstoner has joined the channel [16:18] jamescarr: http://ko-734m.no.de/ [16:18] mape: Probly that he isn't in maintainsers [16:19] mape: Seems he is the only one in the entire repo with an empty maintainers attribute [16:20] dylang: mape: i just saw that too, thanks! [16:20] V1: What happens if our applications crashes after the KO? Are we allowed to restart / resolve it? Or are we just fucked? [16:20] mape: V1: restart [16:20] mape: But yeah.. [16:21] chorrell has joined the channel [16:21] JimBastard: node apps dont crash [16:21] JimBastard: only node users [16:21] JimBastard: ACTION javascript [16:21] micheil: V1: yeah, that's fine [16:21] micheil: V1: just no code changes [16:21] [[zz]] has joined the channel [16:21] mape: resolv === restart [16:21] mape: many times if needed [16:22] pplante has joined the channel [16:22] zomgbie has joined the channel [16:22] visnup: V1: yes [16:22] visnup: what micheil said [16:22] V1: That could be one of the issues. As I remember my complete mongodb that i was running on joyent got completely fucked and i had to more to a other database provider ( mongoHQ ) because it completely crashed my app, so there kind of code changes are not allowed or do we need discuss it ;P? [16:22] mikeal has joined the channel [16:23] micheil: morning visnup [16:23] visnup: morning! [16:23] mape: V1: time to start coding fallback :P [16:23] V1: mape: I got bigger issues than that lol [16:23] visnup: V1: no code changes. environment and server changes ok. for joyent, utilize /home/node/node-service/profile to set your env [16:24] V1: like 50% of the projects :p [16:24] drew_and_patrick has joined the channel [16:24] mape: guess I should deploy me project sooner or later, bet there will be issues [16:24] visnup: V1: you can look at it like: sysadmin stuff ok. development work not ok. [16:24] visnup: mape: yeah I've been wondering what you're working on [16:24] hipertracker has joined the channel [16:24] visnup: mape: thinking, this is going to be an awesome clock. [16:25] mape: http://bladderblock.com/ [16:25] mape: Which turns out to be the worst domain name ever, but it makes sense in swedish :P [16:25] visnup: riight [16:25] visnup: mape: are you feeling better btw? [16:26] micheil: visnup: do patched modules need to be made public? [16:26] mape: yeah, more of less all of it wore off last nice, so I'm all good [16:26] bigfleet has joined the channel [16:26] visnup: not really, but on the record, follow their licenses. [16:26] micheil: hassox: ^^ [16:27] mape: Plus I'm happy about the project so all is good [16:27] hassox: rgr [16:27] visnup: mape: nice [16:27] hassox: apparenlty linc has a fork so he's going to push it [16:27] russf has joined the channel [16:28] visnup: micheil: hassox so if it's like gpl, then yeah you should eventually publish it somewhere [16:28] mape: visnup: so any work left now or just chill? [16:28] hassox: he's pushing it now to his fork [16:28] visnup: mape: we're going to open beta (fake) voting soon for people to play with [16:28] visnup: hassox: sweet [16:28] micheil: ACTION should be working on something. but can't get into a rhythm of writing [16:28] mape: play with? [16:29] micheil: explaining how you make a webapp to exam markers is boring as all. [16:29] kperch1 has joined the channel [16:29] visnup: mape: yeah, they kinda double as comments. and we want to hopefully work out bugs with it [16:29] gerad: mape: all the data will be cleared out before real voting starts [16:29] kperch1: function (value){ [16:29] mape: ah k [16:29] visnup: that warning is in red, so hopefully people read it [16:29] micheil: gerad / visnup: need any help with that? [16:30] gerad: micheil: yeah, could use some help with it [16:30] micheil: skype? [16:30] gerad: micheil: messing around with it when it goes out [16:30] gerad: sure [16:30] micheil: k [16:31] cloudhead has joined the channel [16:31] JimBastard: whats the word for when your super hung over and exhausted from coding all weekend [16:31] JimBastard: have i been node knocked out >.< [16:31] micheil: hmm... this is rather good: http://www.paris-one.com/ [16:32] ryancnelson_ has joined the channel [16:32] ceej_ has joined the channel [16:32] danielzilla has joined the channel [16:32] _announcer: Twitter: "nyc nodejitsu ninjas starting back up for the last day for #nodeko ^_^ #node.js" -- Nodejitsu. http://twitter.com/nodejitsu/status/22450580497 [16:33] SlowCheetah has joined the channel [16:33] rose_tester has joined the channel [16:34] pyronicide1 has left the channel [16:34] _announcer: Twitter: "@ Felixge greeting next door;) co_up @ # # phptestfest2010 nodejs" [de] -- Andreas Mauf. http://twitter.com/amauf/status/22450696193 [16:35] hassox: mape: visnup micheil http://github.com/gimite/web-socket-js/issues/issue/31 [16:35] rose_tester: function (value){ [16:36] V1: Yeah, i love that I did my heatmap implementation in canvas. I can now export the generated heatmaps :)) \o/ [16:36] tobiassjosten has joined the channel [16:36] sh1mmer has joined the channel [16:36] _announcer: Twitter: "Migrating an old secret project from PHP/Mysql to NodeJS/Mongodb. We'll see. •" -- François-G. Ribreau. http://twitter.com/FGRibreau/status/22450859879 [16:39] mbleigh: mape: not the worst domain ever. try http://www.ChildrenSlaughter.com or http://www.FerretHandJobs.com [16:39] mape: guess mape.me isn't better.. [16:40] cheriot has joined the channel [16:41] V1: hassox: it got solved? o_O [16:41] hassox: v1 our guy in switzerland woke up and patched it [16:41] V1: Thats great news :o [16:41] hassox: the pathes are in that link ^^ [16:41] jacobolus has joined the channel [16:41] V1: Sweet thanks for the heads up :D! [16:41] hassox: np [16:42] V1: So this means i can actually host it again on google and it will connect with other servers, wewt :p [16:42] hassox: :D [16:43] ama has joined the channel [16:44] hipertracker has joined the channel [16:44] jbr_ has joined the channel [16:44] V1: it works woot [16:45] bigfleet: mbleigh: Is your business in the right hands? [16:45] V1: And just in time as well, it should be hours later [16:45] mbleigh: bigfleet: :) [16:46] BrianTheCoder has joined the channel [16:46] mitkok has joined the channel [16:46] BrianTheCoder: has anyone got the bundle command to work right for them? it keeps blowing up on me [16:46] paulwe has joined the channel [16:47] jacobolus has joined the channel [16:48] _announcer: Twitter: "Did you know that I'm programmed in CoffeeScript? http://coffeescript.org/ #nodeko #node.js" -- FlockFeeds. http://twitter.com/flockfeeds/status/22451652298 [16:48] cardona507_ has joined the channel [16:49] V1: hassox there's also another issue in socket.io which i had to patch manually the __handleMessages function of WebSocket gives issues if it uses the "e.initMessageEvent("message", false, false, data, null, null, window, null);"; if you have it use the IE work around, it works fine. [16:49] MarkusT has joined the channel [16:49] cloudhead has joined the channel [16:50] _announcer: Twitter: "Douglas on NodeJS and YUI 3 http://flic.kr/p/8vZMmf" -- kejun. http://twitter.com/kejunz/status/22451750457 [16:50] cardona507_: w00t - good morning all [16:50] cardona507_: how goes it? [16:50] ThoughtMerchant has joined the channel [16:51] jacques has joined the channel [16:51] vnguyen: Morning everybody [16:51] njero has left the channel [16:52] sonnym has joined the channel [16:53] DTrejo: hello everyone [16:53] DTrejo: cardona507_: life is good [16:54] thejefflarson has joined the channel [16:55] MarkusT: I'm highly interested in getting libseed (http://live.gnome.org/Seed) to work with node.js. I'm even willing to wrestle with C/C++ to get this to work :-). The seed source is quite simpel, but I'm having a hard time finding the correct way to include external libraries in the node.js code. Could someone give me a few pointers on how to achieve my goal? :-) [16:55] V1: hassox: Have you noticed any IE issues with the sockets? Or is just my code as it give javascript errors in IE6 [16:55] BrianTheCoder: mbleigh: so are you using the master of mongoose? [16:56] mbleigh: nope, the 0.0.3 from npm [16:56] atmos_ has joined the channel [16:56] gnrfan: finally debugged my problem.. just symlinking /opt/nodejs/bin/node to /usr/bin doesn't work.. I had to add /opt/nodejs/bin to my PATH and everything works fine now... also changed the owner of /opt/nodejs and everything works nicely now :) [16:56] eazyigz has joined the channel [16:56] BrianTheCoder: w/ your hack? you had mentioned that a newer version fixed the problem [16:57] eazyigz: if I am calling .exec() to run a python script, how do I get the return value of that script? Is it the stdout of the callback? [16:57] cardona507_: how is everyone feeling about their projects - i am all rested up and ready to push toward the finish line :) [16:58] _announcer: Twitter: "back at JoyentHQ for bagels and #nodejs." -- ryan nelson. http://twitter.com/ryancnelson/status/22452341871 [16:59] matschaffer: trotter: db.graphs.find({_id: ObjectId("4c7a6fe5b2908504a3000001")}) [16:59] mape: Trying to get flash fallback to work, other then that I'm pretty happy [17:00] saikat has joined the channel [17:00] mbleigh: BrianTheCoder: yeah 0.0.3 was deployed after the knockout started [17:00] mbleigh: so i switched from my hack to it [17:00] BrianTheCoder: cool [17:00] cardona507_: mape - flash... [17:00] cardona507_: ACTION sudders [17:00] cardona507_: :) [17:01] cardona507_: heh [17:02] _announcer: Twitter: "http://bitsuckr.net/ the stream. torrent through nodejs #;) http://ow.ly/2wp13 | too cool" [fr] -- Jean-Louis Huynen. http://twitter.com/gallypette/status/22452564018 [17:03] sh1mmer: gah [17:03] sh1mmer: why is JavaScript the only language in which Date.getTime() is _mili_secconds since the epoch [17:04] terinjokes: sh1mmer: designed solely to annoy you [17:05] jakehow has joined the channel [17:06] cardona507_: sh1mmer: not sure - but I like it :) [17:06] sh1mmer: why? [17:06] sh1mmer: unixtime is seconds since epoch [17:06] jamescarr_ has joined the channel [17:06] sh1mmer: why do that? [17:06] Astro: #;) [17:06] jamescarr_: the clock is ticking [17:06] jamescarr_: and I am doomed! [17:06] cardona507_: i see what you mean [17:06] cardona507_: jamescarr_: the story of my life ;) [17:07] jamescarr_: I'll give away an old dell laptop with no power cord if someone can solve my binary file over HTTP woes :) [17:07] terinjokes: jamescarr_: who are you giving it to? [17:07] cardona507_: sh1mmer: I am relatively new to programming and JS is my first language outside of good ole CSS & HTML - So I haven't known any difference's with Date.getTime() [17:07] cardona507_: so I have been fond of .getTIme() [17:07] jamescarr_: terinjokes, whoever csn solve my problem :) [17:08] markwubben has joined the channel [17:08] atmos_: terinjokes: are you setting 'binary' on the buffer ? [17:09] mape: Anyone here have experience using gimite's web-socket-js? I ahve the policy file served on 843 and I have window.WebSocket up, but it doesn't connect. Works with Chrome and Firefox [17:09] micheil: sh1mmer: I prefer +(new Date) [17:10] _announcer: Twitter: "node.js-based viz of realtime Wikipedia edits http://nodelay.no.de (brain goes *pop!*) go @neb go! :)" -- Boris Anthony. http://twitter.com/bopuc/status/22453091770 [17:10] sh1mmer: micheil: too much like Perl [17:10] sh1mmer: ;) [17:10] jamescarr_: heh... tried some Lion the Witch and the Wardrobe RPG thing from the KO earlier... [17:11] jamescarr_: the first person I encountered told me to go fuck myself and left [17:11] atmos_: hah [17:11] technoweenie has joined the channel [17:11] atmos_: that nodelay shit is pretty awesome [17:11] jamescarr_: yeah... he knocked me off the leaderboard [17:12] technoweenie: hey atmos [17:12] technoweenie: getting a real breakfast before i head out [17:12] atmos_: yo [17:12] atmos_: heading to the office ? [17:12] cardona507_: I don't totally understand the leaderboard - what is going on there? [17:13] jamescarr_: cardona507_, most unique IP views + deployes [17:13] mape: [WebSocket] cannot connect to Web Socket server at ws://localhost:443 (SecurityError) make sure the server is running and Flash socket policy file is correctly placed :/ [17:13] ryancnelson_: it's just measuring "people viewing contestants's stuff, and contestants deploying" [17:13] ryancnelson_: ...it's not "who's winning" [17:13] jamescarr_: my team has been in the top 5 all weekend, but this morning started getting dropped :( [17:13] cardona507_: jamescarr_: so they are already counting how many people come to your site? [17:13] jamescarr_: cardona507_, yes [17:13] cardona507_: ahh - gotcha thnx - bummer about your team [17:13] ryancnelson_: just for informational, cool-looking, shiny-object purposes [17:13] cardona507_: but like you said - it isn't who's 'winning' [17:14] _announcer: Twitter: "Scale you a Node.js for Great Embarrassment http://post.ly/uQog" -- Toby DiPasquale. http://twitter.com/codeslinger/status/22453360225 [17:14] micheil: mape: try running on a different port [17:14] jamescarr_: hey [17:14] micheil: or, use wss://localhost for secure websockets [17:14] jamescarr_: is there a way to a stream a base64 attachment as binary? [17:14] jamescarr_: in expressjs' server response? [17:14] cardona507_: so we need to have our app on port 80 ? [17:14] mape: micheil: Seems it never does the request to the policy file.. But it serves if I browse to it.. [17:15] micheil: cardona507_: yes [17:15] cardona507_: micheil: good to know [17:15] cardona507_: any other specifics that come to mind? [17:16] micheil: cardona507_: check out the rules / judging page on the website [17:16] cardona507_: gotcha [17:16] cardona507_: micheil: how is your app coming? [17:16] mape: micheil: Changing the port doesn't make any difference, still doesn't request the policy file [17:16] _announcer: Twitter: "node j's web framework http://expressjs.com/" [de] -- Jeff Schoolcraft. http://twitter.com/jschoolcraft/status/22453519418 [17:16] micheil: ACTION isn't in KO [17:16] micheil: cardona507_: my app was an example [17:16] micheil: for fun, not for competition [17:16] micheil: mape: no idea [17:16] jamescarr_: I should have made an app that broke people's brains [17:17] cardona507_: what is your example? [17:17] micheil: http://unsaving-daiva.no.de [17:17] jamescarr_: stuff like "what if all of existence has only been here since midnight 1970 and all recorded history is just fabrications?: [17:17] jdub: MarkusT: are you a seed maint/devel? [17:17] codetonowhere has joined the channel [17:17] rvanrooy has joined the channel [17:17] ollym has joined the channel [17:18] _announcer: Twitter: "Final day of #nodejs #nodeko! Time to add some final touches and brush up the CSS. The leaderboard - http://leaderboard.no.de/ #javascript" -- Carlos Cardona. http://twitter.com/cgcardona/status/22453651542 [17:19] eazyigz: if I am going to have multiple requests from many clients, do I have to do response.end()? [17:19] eazyigz: if not, how do I write to the response [17:20] MarkusT: jdub: God, no. I just really like the product and I really like node.js :-). I started looking at a few node modules, I guess I'll find a way to figure it out :-) [17:20] jdub: MarkusT: ah :-) [17:21] jamescarr_: I've gotten to the point where a memory map and backtrace get dumped and node terminates [17:21] trotter: anyone else having troubles w/ asset serving off joyent? http://skitch.com/trotter/dwft8/simulchart [17:21] jdub: MarkusT: i think you are on the right track though, and hope the seed folk think likewise [17:21] tuxsbro has joined the channel [17:21] trotter: we're using connect to serve static files [17:21] jdub: MarkusT: seed and node should be thoroughly intertwined :-) [17:21] MarkusT: jdub: Thanks. And I hope so, too :-) [17:22] JimBastard has joined the channel [17:22] matschaffer: gerad: (or other possible admin). I'm getting connction refused to joyent a fair bit http://img.skitch.com/20100829-cyu7juaxurc3mpeqcgqdru33yj.jpg [17:22] gerad: matschaffer: email support@joyent.com [17:22] _announcer: Twitter: "node.js is useful for Twitter is no library. So I have my own" [ja] -- こば@踏んでください. http://twitter.com/KOBA789/status/22453928735 [17:22] gerad: that's the best bet [17:22] matschaffer: whoops [17:22] matschaffer: that's the wrong image [17:23] gerad: also you can cc all@nodeknockout.com [17:25] jdub: quick theory question [17:25] mape: micheil: Seems you can't use require('http') but need to use net instead, might be good to know [17:25] jdub: if i have a plain text unix socket protocol [17:25] altamic has joined the channel [17:25] eazyigz: do I have to call response.end()? [17:25] mape: So now it works in all but IE [17:25] micheil: mape: what? [17:25] jdub: which expects synchronous use, and thus does not tag responses [17:25] atmos_: hey mape i snagged you a tshirt last night [17:25] atmos_: hah [17:26] BrianTheCoder: mbleigh: do you know if you can do 2d indexes in mongoose? [17:26] mape: micheil: What I asked about earlier when it couldn't connect to it [17:26] mape: atmos_: Awsome! Might I ask what size? [17:26] micheil: k [17:26] atmos_: large [17:26] atmos_: will that work? [17:26] BrianTheCoder: atmos: are you not competing? [17:26] mbleigh: BrianTheCoder: i believe so. look at the github landing page i think it describes 2d indexes [17:26] jdub: how do i pair requests with responses in an eventful way, via the one data stream? [17:26] atmos_: BrianTheCoder: not really [17:26] JimBastard: is it over yet [17:26] atmos_: team sorta lost interest as the comp got closer [17:26] benburkert has joined the channel [17:27] atmos_: been hacking over technoweenie's shoulder this weekend [17:27] atmos_: porting showoff to node [17:27] mape: atmos_: Not sure, I'm 185cm 75kg. But I have no idea how the US sizes are. I assume I'll fit in it though ;D [17:27] JimBastard: atmos_: we are down two members today due to sickness >.< [17:27] jesusabdullah: showoff? [17:27] indexzero has joined the channel [17:27] atmos_: jesusabdullah: http://github.com/schacon/showoff [17:27] atmos_: JimBastard: liquor sickness of exhaustion sickness ? [17:28] mikeal has joined the channel [17:28] atmos_: mape it should fit you just fine then [17:28] atmos_: you're about the size of my roommate and he wwears a large [17:28] JimBastard: atmos_: i dunno, i raged until 7am and got wasted, im fine [17:28] mape: atmos_: Awsome [17:28] JimBastard: those other guys went to sleep early [17:28] JimBastard: indexzero went and partied for a while ahahaha, hes fine too [17:28] indexzero: it's true JimBastard and I held it down shaolin style [17:29] BrianTheCoder: atmos: I thought rick had already written show in node, isn't that what the showoff server thing is? [17:29] JimBastard: atmos_: you see the first half of our entry? http://github.com/nodejitsu/kyuri [17:29] indexzero: ACTION is part man, part machine [17:29] reid has joined the channel [17:29] JimBastard: imacomputer [17:29] atmos_: half shark/alligator half man [17:29] benv has joined the channel [17:29] indexzero: mycpuisaneuralnetworkprocessor [17:30] JimBastard: we got Kyuri, and http://github.com/nodejitsu/prenup [17:30] bradleymeck2: man, node-irc really does not want to disconnect a client [17:30] JimBastard: prenup is sick, requires months of dev, but we got an awesome start this weekend [17:30] mape: atmos_: When you have the time let me know how we can setup the shipping and what costs there are for you [17:31] jchris has joined the channel [17:31] atmos_: mape will do, shoot me an email tomorrow or something, atmos@atmos.org [17:31] mape: atmos_: Ok, thanks a ton for taking the time :) [17:31] bradleymeck2: anybody here ever tried to disconnect an irc.Client for node-irc? [17:31] atmos: didn't realize i was already logged in [17:32] atmos: mape: no worries, i just had to sneak in ninja style and STEAL IT for ya [17:32] atmos: they had stacks of them on a table, i doubt they'll notice [17:32] mape: Free is good, stolen is even better! [17:32] micheil: tmpvar: ping, what's your team called? [17:33] JimBastard: tmpvar is the nodebodies [17:34] micheil: k [17:34] JimBastard: i dont think hes deployed at all [17:34] iheartnodejs has joined the channel [17:34] iheartnodejs: lol [17:34] iheartnodejs: /exit [17:34] iheartnodejs: DOUBLE LOL [17:34] atmos: EVEN I DEPLOYED [17:35] V1: Is here someone with IE7? [17:35] atmos: V1: obviously not [17:35] atmos: ie7 is reserved for corporate environments [17:36] V1: :p [17:36] mbleigh: anyone really familiar with express in here? [17:36] atmos: mbleigh: sorta, whatcha doing / [17:36] jamescarr_: mbleigh, kinda [17:36] mbleigh: getting errors when i try to set up an error page [17:36] micheil: oooh the irony. [17:36] jamescarr_: speaking of express, with connect how can I get o the underlying ServerResponse object??? [17:36] eazyigz: I am doing response.write() and response.end() but my client isn't getting anything back [17:37] eazyigz: has anybody seen this situation? [17:37] mbleigh: specifically getting "TypeError: Cannot set property '__filename' of undefined" [17:37] micheil: eazyigz: create a gist.github.com of your code [17:37] V1: i'm not supporting IE but it would be nice, if my script doesn't give errors as it gets embed in other sites :p [17:37] ceej_: V1: I can test [17:37] mscdex: V1: IE7 errors are a feature, not a bug [17:37] ceej_: I have IE 6,7,8 [17:37] atmos: mbleigh: got a snippet ? [17:37] atmos: has everyone made their projects public by now ? [17:38] V1: ceej_: Can je check if http://speedo.no.de gives a JavaScript error? [17:38] V1: Just during load or after clicking on a random location? [17:38] mape: onar: nope [17:38] mbleigh: atmos: http://gist.github.com/556486 [17:38] mbleigh: pretty much as simple as can be [17:39] ceej_: V1: http://screencast.com/t/MTYyYzNiYWIt [17:39] atmos: one of these days i'm gonna graduate to coffeescript [17:39] mape: What is http://ko-3-2-1.no.de/ ? [17:39] V1: Thanks ceej_, it seems like socket.io isn't working on IE, at all [17:39] atmos: mape my guess is a proxy [17:40] ceej_: V1: Ye it doesn't that's why I use faye [17:40] atmos: mbleigh: do you get a stacktrace at all ? [17:40] ceej_: faye even works with IE6 [17:40] mape: atmos: Ah that makes sence, but the page isn't really representative of the node code ;) [17:40] V1: if( !+"\v1" ) return; //fixed :D [17:40] V1: i'm not going to waste more time on that [17:40] mbleigh: atmos: updated the gist http://gist.github.com/556486 [17:40] mscdex: V1: the ui is screwed up in IE6 [17:40] eazyigz: micheil: https://gist.github.com/7227194e254b76b4e89b [17:41] ceej_: member:V1: http://faye.jcoglan.com/ :) [17:41] V1: mscdex: Iknow, the menubar gets fucked, same in IE7 [17:41] mscdex: :S [17:41] V1: ceej_: a bit late to implement that atm ;p [17:41] mscdex: V1: and of course no animation [17:42] V1: -webkit animations ftw :) [17:42] mscdex: it doesn't even show the circles [17:42] mscdex: it just shows a big blue-grayish box with one white dot [17:42] ceej_: :) [17:42] atmos: mbleigh: if you remove the .ejs suffix does it fix it ? [17:43] V1: mscdex: I know, it stacks up the PNGs :p If i have time, i might deploy a png fix ;9 [17:43] mscdex: :o [17:43] atmos: OH [17:43] mbleigh: atmos: nope [17:43] mscdex: pngfix.js? :D [17:43] V1: DD_png? [17:44] mscdex: node-png! [17:44] mscdex: lulz [17:44] atmos: mbleigh: check my mod [17:44] BrianTheCoder: why does npm bundle seem to bork if the package is already installed? [17:44] V1: Or i can make uhm, indexed apha pngs [17:44] V1: PNG8's [17:45] jacobolus has joined the channel [17:45] jesusabdullah: atmos: I like using beamer for my presentations >_> [17:45] jesusabdullah: There's a pretty sweet python app that can show pdf presents too [17:45] jesusabdullah: impressive! [17:46] jesusabdullah: Yeah, that's what it's called [17:46] jesusabdullah: Anyways [17:46] jesusabdullah: Better knock out this node before it knocks ME out [17:46] jesusabdullah: Already wasted too much moroning [17:47] eazyigz: can somebody please take a look at my gist and tell me why the client is not getting anything back from the server? https://gist.github.com/7227194e254b76b4e89b [17:47] mscdex: jesusabdullah: 6 hours 14 minutes to pull of a double rainbow [17:48] mscdex: eazyigz: browser client? [17:48] eazyigz: yes [17:48] _announcer: Twitter: "http://sourlander.no.de/ you can start a game now! Nearly complete! #nodejs #nodeko" -- Mark Schmale. http://twitter.com/themasch/status/22455600473 [17:48] jamescarr_: how can I write a base64 encoded buffer to a stream as binary? [17:48] jesusabdullah: mscdex: Nay---TRIPLE RAINBOW [17:49] jesusabdullah: all up in dis [17:49] atmos: jamescarr_: seriously, set the buffer type to binary [17:49] jamescarr_: Atm0z, the data is base64 encoded [17:49] jamescarr_: atmos, [17:50] jamescarr_: I heard I should avoid new Buffer(data, 'base64').toString('binary') [17:50] mscdex: if it's base64-encoded why does it have to be in binary? [17:50] stephank: jamescarr_: stream.write buffer.toString('base64') [17:50] sonnym has joined the channel [17:50] stephank: you can pass a buffer directly to the write method [17:50] atmos: i dunno, i watched someone fumble with that shit fo rlike 2 hours yesterday [17:50] BrianTheCoder: mbleigh: how do you a count? I tried Place.find().all().count(), Place.count(), Place.find().count(), Place.all().count(), all gave me errors [17:50] jamescarr_: mscdex, because it's a png and I want to save it? [17:50] atmos: and it was because they were sending it back as ascii [17:50] mbleigh: BrianTheCoder: haven't tried one yet, let me know if you figure it out thogh :) [17:51] stephank: jamescarr_: wait, uhm.. you got it right, just new Buffer(data, 'base64'), and pass it to the write method [17:51] mscdex: jamescarr_: just pass the buffer to the writeFile method or whatever [17:51] eisd has joined the channel [17:51] eazyigz: in what circumstances would a response.write() not deliver the payload to the client? I am trying to understand [17:51] atmos: mbleigh: did adding locals to the render call help ? [17:51] jamescarr_: mscdex, it'll convert to binary on write? [17:51] polotek: eazyigz: are you calling response.end() ? [17:51] mscdex: eazyigz: you should only need to do response.end(stdout) [17:51] polotek: after you've done all of your writing? [17:51] jamescarr_: because currently I'm eeing base64 encoded content [17:51] eazyigz: I am not calling response.end() [17:52] mscdex: jamescarr_: new Buffer(encodedPng, 'base64') [17:52] jamescarr_: mscdex, [17:52] jamescarr_: yeah [17:52] eazyigz: I was experimenting with it. Is response.end necessary? [17:52] mscdex: use that in writeFile or write [17:52] jamescarr_: I did that... [17:53] jamescarr_: var buff = new Buffer(body, 'base64') [17:53] jamescarr_: var s = fs.createWriteStream(__dirname + "/"+r.name) [17:53] jamescarr_: s.write(buff) [17:53] jamescarr_: s.end() [17:53] jamescarr_: ack [17:53] mscdex: eazyigz: line 35 you are calling it [17:53] mbleigh: atmos: sorry haven't had a chance to try [17:53] jamescarr_: sorry [17:53] rauchg has joined the channel [17:53] DTrejo has joined the channel [17:53] jamescarr_: still writes it as base64 data instead of decoded binary data... toString('binary') leads to corrupted data [17:53] eazyigz: mscdex: and it does not work [17:54] mbleigh: atmos: still no help [17:54] ryancnelson_: hey, awesometown folks? [17:54] atmos: mbleigh: suck :( [17:54] mbleigh: i guess i'll just have to make sure no errors happen :P [17:54] gerad: matschaffer: ryancnelson for you [17:54] mscdex: eazyigz: ok, but i'm just saying you don't need the .write() on the line before it if you're writing all the content at once [17:54] matschaffer: hello ryancnelson_ [17:54] jamescarr_: this blows [17:54] matschaffer: thanks, gerad [17:54] mscdex: eazyigz: you can do that with .end [17:54] ryancnelson_: i'm gonna look into your zone for connection issues [17:54] matschaffer: thanks [17:55] matschaffer: let me know if you need any info [17:55] jamescarr_: new Buffer(data, 'base64').toString('binary') leads to a file originally 288KB to being 709KB [17:55] eazyigz: mscdex: I am trying that as well, and it makes no difference. Firefox shows nothing! [17:55] mscdex: eazyigz: where is the execution not reaching in your code? [17:55] eazyigz: mscdex: node doesn't throw any exceptions on the clientside [17:56] rauchg_ has joined the channel [17:56] mscdex: eazyigz: no, i mean if you insert debug statements inside some of your if statements and whatnot, what does/doesn't get called? [17:56] gerad: eazyigz: node inspector [17:57] gerad: eazyigz: http://nodeknockout.posterous.com/countdown-to-knockout-post-4-debugging-with-n [17:59] andrehjr has joined the channel [17:59] eazyigz: everything seems to get called according to debug stmts. I will try node inspector [18:00] rubydiamond: request":"/1/statuses/update.json","error":"User is over daily status update limit." [18:00] stephank: Wooo! I'm not even participating in the knockout, but I'm excited! I just got my game's networking code working. [18:00] JimBastard: go go stephank ! [18:01] mscdex: go go gadget shoe ! [18:01] JimBastard: go go team nodejitsu! [18:01] ryancnelson_: hey, matschaffer: i don't see anything out of the ordinary on there... bandwidth isn't an issue, or connections (port starvation) .... and (from here), i can pull 10000 of the png you used as an example, with a concurrency of 200, and they all complete fine [18:01] JimBastard: http://github.com/nodejitsu [18:01] delapouite has joined the channel [18:01] mscdex: go go team ice! [18:01] rubydiamond: guys.. we have just posted 30-35 updates on twitter .. but twitter is giving us error User is over daily status update limit. [18:01] BrianTheCoder: anyone successfully used npm bundle? [18:01] ryancnelson_: ...when you deploy, it bounces your server... maybe you were deploying? [18:01] JimBastard: BrianTheCoder: not yet... [18:01] mscdex: http://www.youtube.com/watch?v=GFLGRidfFo4 [18:01] thielmann_ has joined the channel [18:02] altamic has joined the channel [18:02] matschaffer: ryancnelson_: it wasn't mid-deploy. I'm wonderign if it's a connection path problem from philly maybe? [18:03] matschaffer: ryancnelson_: did you pull down that png through the app or by some other means? [18:03] _announcer: Twitter: "Ok, maybe some sleep, http://fewtter.no.de/ updated #nodeko #nodejs" -- Senmiao Liu. http://twitter.com/lsm/status/22456540697 [18:03] ryancnelson_: i used "ab" [18:03] eazyigz: why is it that when I do response.end("teststring"), firebug will complain: "teststring is not defined" [18:03] SlowCheetah has joined the channel [18:03] ryancnelson_: from my laptop, on the joyent wireless here in sf [18:03] ryancnelson_: lemme test from the east coast [18:03] matschaffer: ryancnelson_: thanks [18:03] matschaffer: so long as the judges are in sf, I'm fine there :) [18:03] eisd has left the channel [18:03] ivong has joined the channel [18:04] BrianTheCoder: JimBastard: its keeps succeeding now, but its not creating the folders, just the index.j [18:04] BrianTheCoder: er index.js [18:05] ryancnelson_: from my shady-ass colo box in nyc, i did get a few connect resets, but it's fine for the most part [18:05] BrianTheCoder: where's isaacs whe you need him? [18:06] stephank: woohoo! http://stephan.kochen.nl/imgs/bolo-multiplayer.png [18:06] mape: stephank: return fire? [18:06] indexzero: yo node room, what's the most efficient way to clone a large json structure in node? [18:06] stephank: oh, they're not shooting yet :) [18:07] mape: stephank: http://www.juegomania.org/Return+Fire/foto/pc/0/343/343.jpg/Foto+Return+Fire.jpg [18:07] stephank: mape: oh, you were naming a game. :) [18:07] stephank: mape: No, this is a remake of Bolo, an old Macintosh game. [18:07] matschaffer: ryancnelson_: where can I find the node logs on the server? [18:08] mape: stephank: Ah k [18:08] micheil: stephank: is it on no.de yet? [18:09] technoweenie has joined the channel [18:09] stephank: micheil: I'm not participating. XD [18:09] sh1mmer: is Jade the same as Haml or is it different? [18:09] micheil: stephank: why not? [18:09] stephank: micheil: besides, this took way longer than 48 hours ;) [18:09] atmos: different [18:09] sh1mmer: *sigh* [18:09] micheil: sh1mmer: different [18:09] sh1mmer: thanks [18:10] micheil: no %'s [18:10] micheil: pretty much [18:10] matschaffer: sh1mmer: jade-lang.com for an example [18:10] ryancnelson_: matschaffer: run "node-service-log" from your shell [18:10] matschaffer: it's pretty similar [18:10] stephank: micheil: It's a project I started several weeks ago, so I don't think I could've participated with it. [18:10] sh1mmer: matschaffer: yeah just poking around it now [18:10] micheil: stephank: true [18:10] micheil: stephank: but you could still create something for KO? [18:10] visnup: BOLO! [18:11] visnup: I'm excited for bolo [18:11] lorennorman has joined the channel [18:11] stephank: micheil: Totally wished I did, now. :) [18:11] matschaffer: ryancnelson_: okay, looks like the node process is dying. fun [18:11] matschaffer: https://gist.github.com/bf2f3e05dca7fa479d07 [18:12] micheil: stephank: well, if you want to make something in 5 hours, you might still be able to get a team.. /cc gerad & visnup ? [18:12] _announcer: Twitter: "@jbandi I'm planning to check out the Node.js episode this weekend. I'll let you know next week how good it is." -- James Williams. http://twitter.com/ecspike/status/22457115367 [18:12] ryancnelson_: well, i'm kinda glad it wasn't my stuff, at least :) [18:12] technoweenie: whooboy i have a ton of work to do still [18:13] gerad: stephank: sorry [18:13] gerad: stephank: too much going on, we can't do it [18:13] matschaffer: ryancnelson_: what's especially odd here is that we're not making any requests [18:13] gerad: stephank: you can compete in spirit! :- [18:13] visnup: technoweenie: I was liking the slide stuff [18:13] visnup: so far [18:13] _announcer: Twitter: "So.. Mongoose lets me create any object but update none, mongodb/nodejs vanilla is on LSD vs its docs. Sigh." -- psvensson. http://twitter.com/psvensson/status/22457198493 [18:13] tj has joined the channel [18:13] micheil: technoweenie: where's your entry? [18:13] technoweenie: its not really functional, i've been doing mostly clientside js and ui mockups [18:14] technoweenie: http://emergent-heroes.no.de/talks/1/2 [18:14] BrianTheCoder: anyone seen this before? http://gist.github.com/556516 [18:14] mig000 has joined the channel [18:14] matschaffer: oh, except for mongo [18:14] stephank: micheil / gerad: that's okay, I'd rather dot some i's on this project and call it 0.1 :D [18:15] technoweenie: online editor / live stream of a talk [18:15] technoweenie: today i get to write the fun code though [18:15] technoweenie: http://github.com/nko/emergent-heroes is the code [18:15] _announcer: Twitter: "All I want is a JS object database for node that is EASY to set-up, massage, cook food for, paint lipstick on and work with." -- psvensson. http://twitter.com/psvensson/status/22457315801 [18:15] visnup: if anyone wants to test voting it's live right now [18:15] visnup: or, if anyone wants to try to ballot stuff, it's live right now [18:15] visnup: :) [18:16] mape: Where? :) [18:16] BrianTheCoder: argh! I just restarted my dev server and now I can't get it to run anymore [18:17] mscdex: maybe it's just tired [18:18] mape: visnup: perhaps remove the duplicate of my own vote in the votes section? :) [18:18] visnup: mape: that's a ui issue I think [18:18] visnup: the bottom one is your vote in the stream [18:18] visnup: the top one is an easy way to see/edit your vote [18:19] visnup: is that what you mean? [18:19] mape: Yeah, reccon you can ping your own vote at the top and always have it there [18:19] mape: *pin [18:19] eazyigz: are there any good examples of returning application/json cont-type from nodejs? [18:21] BrianTheCoder: so no one has any helpful advice? [18:21] visnup: BrianTheCoder: I've never seen it [18:22] saikat has joined the channel [18:22] mbleigh: atmos: your advice was sound, i was just being stupid. fixed the error page [18:22] mbleigh: http://skitch.com/mbleigh/dwfsg/flockfeeds-turn-twitter-into-personalized-news-feeds [18:22] visnup: BrianTheCoder: what's on that line that it's trying to set .__filename on? [18:22] mape: visnup: Btw any reason you feel it necessary to broadcast my IP to the public after I've made a vote? :P [18:22] _announcer: Twitter: "I looked like or node.js Sencha Touch, now that I think it's time for JS. JS answers came so far only the minimum required to study in earnest" [ja] -- きしすけ. http://twitter.com/kishisuke/status/22457784131 [18:23] halogenandtoast has joined the channel [18:23] visnup: mape: to let people know we're watching you [18:23] halogenandtoast: What should we do if one of out team mates doesn't have access to the github account? [18:23] mape: visnup: Hehe, k [18:23] visnup: could just hide it.... [18:23] mbleigh: BrianTheCoder: did you get that from a render statement? [18:23] mape: visnup: I would just assume people who would cheat would at least use proxys? [18:23] BrianTheCoder: visnup: what's really weird is that this is the two lines its borking on // Pass filename to the engine and view [18:23] BrianTheCoder: options.locals = options.locals || {}; [18:23] BrianTheCoder: options.locals.__filename = options.filename = path; [18:24] mbleigh: i got the same thing because i accidentally did [18:24] BrianTheCoder: mbleigh: yes [18:24] mbleigh: res.render 'sometemplate', 500 [18:24] visnup: mape: I feel like it instills just the right amount of "hm, they've thought through this a little bit." [18:24] mbleigh: instead of res.render( 'sometemplate'), status:500 [18:24] BrianTheCoder: ah [18:24] mape: visnup: Yeah, true, might want to mess it up a little? [18:24] visnup: BrianTheCoder: whoa, freaky [18:24] visnup: mape: x.x. parts? [18:24] BrianTheCoder: mbleigh: that seemed to be it [18:24] mape: ip.replace(/[0-9]\./g, '*') [18:24] mape: yeah [18:25] visnup: mape: I'll take out parts of the subnet... [18:25] mape: Not that I care about who can see my IP but some people might [18:25] _TS has joined the channel [18:25] sh1mmer: visnup: we can finish the code by 5 and then make a screen cast after that right? [18:25] pzich has joined the channel [18:25] visnup: sh1mmer: yup [18:26] BrianTheCoder: so, if no one is using npm, how are people managing deployment dependencies for heroku? [18:26] sh1mmer: do docs, etc count? [18:26] eisd has joined the channel [18:26] visnup: BrianTheCoder: commit the library into your repo [18:26] eisd has left the channel [18:26] pquerna: +0.8 [18:26] visnup: sh1mmer: no commits/pushes to the repo [18:26] atmos: BrianTheCoder: put it in vendor/ [18:26] BrianTheCoder: visnup: and then just do the ugly require path? [18:26] visnup: BrianTheCoder: yeah [18:27] micheil: require.paths.push(__dirname+"/vendor/") [18:27] atmos: http://github.com/atmos/heroku-express [18:27] visnup: sh1mmer: well, no commit with a timestamp on it can be used for deploy [18:27] BrianTheCoder: is there a way to just pull the repo without the git info? since heroku doesn't like submodules [18:27] cardona507_: w00t for that file [18:27] sh1mmer: visnup: I'm with you. [18:28] visnup: cool [18:28] tj has joined the channel [18:28] visnup: BrianTheCoder: I personally use braid (ruby gem) I think npm has some bundling features now though [18:28] micheil: it's tj [18:28] mape: Is the leader board still broken? [18:29] tj: micheil: hey man [18:29] visnup: BrianTheCoder: but I don't know how to use them. I just heard this from talking to creationix yesterday [18:29] BrianTheCoder: cool [18:29] jetienne has joined the channel [18:29] SlowCheetah_ has joined the channel [18:29] BrianTheCoder: its so frustrating not being able to do certain stuff in ruby [18:29] mape: Oh they removed stuff [18:29] visnup: BrianTheCoder: http://github.com/isaacs/npm/blob/master/doc/bundle.md [18:30] MattDiPasquale has joined the channel [18:30] visnup: BrianTheCoder: you can use ruby too [18:30] visnup: BrianTheCoder: for components or utils or stuff [18:31] dbathurst has joined the channel [18:31] tilgovi has joined the channel [18:31] teemow has joined the channel [18:31] mbleigh: technoweenie: we just came across chain gang and it's PERFECT for what we need. thanks for writing it! [18:32] technoweenie: oh nice [18:32] mbleigh: BrianTheCoder: have you figured out sorting very well with mongoose? it doesn't seem to work right for me [18:32] visnup: technoweenie: same goes for twitter-node [18:33] BrianTheCoder: mbleigh: haven't done too much with it yet [18:33] technoweenie: cool, though there are likely better twitter streamers out there [18:33] micheil: man... I've really stuffed this assessment up. [18:33] JimBastard: what did you do now micheil [18:33] micheil: note to self: never do a website for a design technology assessment. [18:34] visnup: nodelay is getting a lot of twitter mentions [18:34] visnup: wooo [18:34] dgathright has joined the channel [18:35] jdalton has joined the channel [18:35] _announcer: Twitter: "http://streamie.org nice looking twitter client. real time, nodejs, nice work @cramforce" -- Jerome Etienne. http://twitter.com/jerome_etienne/status/22458524078 [18:35] JimBastard: i think we might have good chance to take the utility category [18:35] JimBastard: :-p [18:35] benv: is there a way, to get ejs, to not choke when a varible is missing from locals? [18:36] bpot has joined the channel [18:36] mape: use (locals.yourvar || '') ? [18:36] benv: so, if you always access from locals [18:36] benv: it won't explode [18:36] _announcer: Twitter: "More @swardley bets: 'By 2015, JavaScript popular for full application dev, client & server.' Yep, node.js showing up in PaaS offers now." -- Rich Miller. http://twitter.com/rhm2k/status/22458631191 [18:36] benv: (i.e. the explicit locals object -- i was just doing 'varname') [18:37] mape: Think I've used that, not sure though [18:37] _TS: cheers mape! [18:37] _announcer: Twitter: "I have been so buzy coding backend JavaScript, that i didn't even had enough time yet to implement front end javascript. #node.js" -- Arnout Kazemier. http://twitter.com/3rdEden/status/22458678803 [18:37] benv: mape: that's the ticket, thanks [18:37] mape: np [18:38] _TS: do you have an entry? [18:38] mape: Me? [18:38] JimBastard: mape: is an entry [18:38] BrianTheCoder: visnup: I mean more in the fact that I know the ruby libs, deployment, dep mgmt, here its kinda like the wild west [18:38] mape: Guess I should just publish mine [18:39] mape: See if it works on joyent [18:39] JimBastard: lol mape thats what 745pm is for [18:39] JimBastard: our node app kinda works without node :p [18:39] _TS: is there any standout teams so far? [18:39] micheil: well that's no fun JimBastard [18:39] micheil: cloudq and that dns one [18:40] JimBastard: micheil: it makes perfect sense, we have two projects to enter [18:40] micheil: >_> [18:40] JimBastard: one is the backend parser, the other is the front-end app. the front-end app kinda works without node [18:40] JimBastard: http://github.com/nodejitsu/kyuri [18:40] JimBastard: http://github.com/nodejitsu/prenup [18:41] BrianTheCoder: JimBastard: lol, isn't it working with node part of the competition :P [18:41] JimBastard: it does [18:41] JimBastard: >.< [18:41] _TS: micheil dns bot one? [18:41] micheil: yeah [18:42] technoweenie: did you do that w/ brian [18:42] JimBastard: the UI is just decoupled, you can play with the UI by opening index.html in your browser. can do anything except save to server, <3 single-page apps [18:43] rubydiamond: where Does this team gone http://nodeknockout.com/teams/c355214cffcd06f11b030000 ? [18:43] rubydiamond: technoweenie: any idea? [18:44] ryah: hi [18:44] technoweenie: they're alive, thats all i can say [18:44] sveimac has joined the channel [18:44] sveisvei has joined the channel [18:44] visnup: BrianTheCoder: yeah, I feel the same way [18:44] micheil: hey ryah [18:44] visnup: BrianTheCoder: which is the point too though [18:44] Egbert9e9 has joined the channel [18:45] BrianTheCoder: visnup: agreed. It's just frustrating to know that I'd already be done in ruby :P [18:45] rubydiamond: :) [18:45] pquerna: morning [18:45] visnup: BrianTheCoder: or just as screwed on a different problem :) [18:46] BrianTheCoder: visnup: I like to be optimistic [18:46] BrianTheCoder: it is wicked fast though [18:46] nerdEd has joined the channel [18:47] visnup: which is sad that we think it's so fast. it's like "correct" fast. we're just used to slow. :( [18:47] mape: Anyone feel like helping me test out my submission to KO? http://bladderblock.com/ [18:47] _announcer: Twitter: "the whole team is raging out for the final stretch ^_^ http://github.com/nodejitsu/ #nodeko #node.js" -- Nodejitsu. http://twitter.com/nodejitsu/status/22459265316 [18:47] _announcer: Twitter: "A very good example of the awesomeness of node.js http://metzlar.nl/fez" -- ivan metzlar. http://twitter.com/ivanmetzlar/status/22459266037 [18:49] dylang: is there a quickie on getting a custom hostname for our no.de site? [18:49] JimBastard: lulz [18:49] JimBastard: i think there is a new rule of the internet to be had....where there is multi user sketch pads, there will be cock [18:51] bigfleet: JimBastard: That's Ze Frank's rule [18:51] bigfleet: You don't even need multiuser sketch pads [18:51] bigfleet: just the internet [18:51] _announcer: Twitter: "Walter does not roll on the Shabbos. But we are sure gonna roll today #node.js" -- Jeff Rafter. http://twitter.com/jeffrafter/status/22459501484 [18:51] njero has joined the channel [18:52] micheil: If there's any aussies in here, then you can probably submit your node ko. apps to http://mcfarlaneprize.com/ [18:52] bpot has joined the channel [18:54] tjholowaychuk: haha mape's game is sweet [18:54] tjholowaychuk: didnt bring a damn mouse here though [18:54] jesusabdullah: Man it'll be nice to be able to enjoy these after we're done [18:54] atmos: link ? [18:54] _announcer: Twitter: "nodejs game's map is great http://bladderblock.com/" [sk] -- TJ Holowaychuk. http://twitter.com/tjholowaychuk/status/22459699948 [18:55] jamescarr has joined the channel [18:55] _announcer: Twitter: "@deanlandolt I actually just came to it in the nodejs module list. Looks good. Too bad about nodules :) Will see tomorrow." -- psvensson. http://twitter.com/psvensson/status/22459710237 [18:55] tjholowaychuk: wtf [18:55] tjholowaychuk: that is not what i typed at all [18:55] BrianTheCoder: atmos: how do I get express to recognize my vendored connect? keep giving errors about not being able to find it [18:56] sh1mmer: dylang: define custom hostname [18:56] dilvie: Hmm.. I've been looking for the best way to do object composition in a prototypal way... looked at the Traits library http://code.google.com/p/es-lab/wiki/Traits -- but this feels anti-prototypal. Traits are basically composable classes. [18:56] technoweenie: mape: that looks cool [18:56] mape: technoweenie: :) [18:56] sh1mmer: dylang: just point a cname at your node hostname [18:56] JimBastard: bigfleet: specific to multi user sketch pads [18:56] atmos: BrianTheCoder: look at server.js [18:56] technoweenie: my son plays something like that w/ the ds pictochat shit [18:56] tjholowaychuk: BrianTheCoder: you can unshift the require path so that you can require('connect') [18:56] ryah: mape: blaedderblock is your game? [18:56] mape: ryah: Yeah [18:56] ryah: awesome [18:56] mape: Bl�dderblock [18:57] dilvie: basically, I want something that takes two or more prototypes, and creates a new object, preserving the prototype chain. [18:57] skampler: scrap book :) [18:57] BrianTheCoder: tjholowaychuk: i have and its still erroring out [18:57] BrianTheCoder: I have express, connect, and ejs all in vendor [18:57] skampler: dilvie: have you looked at sys.inherits ? [18:57] dilvie: two or more prototypes = two or more instantiated js objects. [18:57] tjholowaychuk: BrianTheCoder: what is the exception? [18:57] dilvie: skampler: no, but I will now. =) [18:58] saikat has joined the channel [18:59] tjholowaychuk: mape: got my vote man, pretty polished already, great interface as usual :) [18:59] mape: visnup: There are colors in the top right [18:59] visnup: mape: oh [18:59] visnup: I didn't notice [18:59] visnup: mape: the pop-up could include the current word too [18:59] mape: Yeah, need to fix the max 8 people thingy [18:59] mape: True, 1sec [18:59] visnup: though, my resolution height doesn't seem to be very high compared to others [19:00] BrianTheCoder: tjholowaychuk: http://gist.github.com/556568 [19:00] tjholowaychuk: ah fuck lol stupid coffeescript [19:00] aho has joined the channel [19:00] tjholowaychuk: one sec [19:01] tuxsbro has joined the channel [19:01] tjholowaychuk: BrianTheCoder: Express internally does a require('connect') so you need something like require.paths.unshift(__dirname + '/vendor/connect/lib') [19:01] BrianTheCoder: oh, gotcha [19:02] visnup: mape: http://done-js.no.de/preview/CHfyD94t [19:02] ruquay has joined the channel [19:02] tjholowaychuk: I could localize connect within express, but then it becomes a clusterfuck because every middleware would need to ship with connect as well [19:02] tjholowaychuk: all kinds of bs [19:02] mape: visnup: Oops! This link appears to be broken. [19:02] visnup: mape: damn, I guess their entry still has some bugs :) [19:03] zemanel: http://tweetirc.com/ i win [19:03] visnup: mape: http://twitpic.com/2jfuty [19:03] visnup: mape: that's the max height of my browser :( [19:03] micheil: mape: the chat needs to persist [19:04] mape: Hmm seems it broke [19:04] saikat has joined the channel [19:05] dgathright has joined the channel [19:05] statim: anyone know if its possible to parse the query format rails uses on the node side? for example it serializes arrays as arr[][]=… etc. and on the node side id like to get it to reconstruct/interpret it the same way, but looks like thats not the default [19:06] tjholowaychuk: statim: urlencoded? [19:06] visnup: mape: damn it, if you win solo, we have to ship internationally [19:06] eazyigz: is the following a valid way to return content-type application-json: response.end(JSON.stringify("("+{'data':returnData}+")")) [19:06] mape: visnup: shit is breaking so don't worry yet :P [19:07] statim: tjholowaychuk: not sure, will see if i can figure it out. im using express in case that makes a difference [19:07] jackish has joined the channel [19:07] tjholowaychuk: statim: is it a request body? form urlencoded? because you can use express.bodyDecoder() to handle that [19:08] tjholowaychuk: statim: then access via req.body, so user[name]=tj will become { user: { name: 'tj' }} [19:08] V1: What is the command to see which librarys you installed with NPM? [19:08] BrianTheCoder: tjholowaychuk: any idea about this? I added mongodb to my loadpath and even tried add __dirname to the require statement http://gist.github.com/556578 [19:09] _announcer: Twitter: "@ken5m1th JS tools and deep resources are still early stages. Keep your eyes open. More interesting PaaS offers experimenting w/ node.js" -- Rich Miller. http://twitter.com/rhm2k/status/22460552273 [19:09] dilvie: ACTION just baked fresh crescent rolls to top with fried eggs and melted cheese - YUM [19:09] johnfn has joined the channel [19:09] tjholowaychuk: BrianTheCoder: woah.. hmm. not sure sorry, i havent used mongo [19:09] statim: tjholowaychuk: ah i see what you mean. i believe its form urlencoded, but i could make my POST put it in the body instead if that makes life easier [19:09] BrianTheCoder: dagnabit [19:09] atmos: BrianTheCoder: http://github.com/atmos/http-pulse-app uses mongo [19:09] jamescarr: can someone share an ascii file with the latest safari at http://done-js.no.de? [19:10] jamescarr: send me the link please when ready [19:10] tjholowaychuk: statim: just not sure where your data is coming from, if it is just a string you already have you can use the querystring module that is in node already [19:10] tjholowaychuk: statim: require('querystring').parse('user[name]=foo') etc [19:10] dilvie: I've been playing with express a little bit. I like it! =) [19:11] BrianTheCoder: atmos: any idea about the error? [19:11] dilvie: v1: npm ls installed [19:11] V1: thanks dilvie [19:11] atmos: oh, yeah [19:11] trotter: anyone else using faye for their project? [19:11] statim: tjholowaychuk: so using httparty to POST to /internal/dispatch on a node server with :query => { :data => somearray }, this is what node/express see: https://gist.github.com/a65e9c546e32b6d88e87 [19:11] _announcer: Twitter: "must sleep now... http://fewtter.no.de/ #nodeko #nodejs" -- Senmiao Liu. http://twitter.com/lsm/status/22460707541 [19:11] trotter: it's crapping out on us :-( [19:12] _announcer: Twitter: "Could someone try out our node.js based file shareing app (http://done-js.no.de) in the latest safari? Want to see if it works #nodeKO" -- jamescarr. http://twitter.com/jamescarr/status/22460754644 [19:12] jackish has joined the channel [19:12] statim: trotter: as of yesterday yes, only in dev stage right now though… seems great so far [19:12] atmos: BrianTheCoder: look at the vendor structure in that app [19:12] eazyigz: if I want to return a list to the client, do I have to return JSON.strringify({'data':myList})? [19:13] statim: trotter: what do you mean by crapping out [19:13] atmos: all it does it push things onto the require path [19:13] trotter: statim: for some reason, it's causing our server to error out, which == a failed request [19:13] eazyigz: what is the best way to return a list in the response? [19:13] trotter: and somehow, this appears to be causing our static asset loads to fail [19:13] tjholowaychuk: eazyigz: return a list? [19:13] trotter: quite weird, but if we comment out faye… life is grand [19:13] atmos: http://github.com/atmos/http-pulse-app/blob/master/lib/models/user.js#L3 [19:14] atmos: and then you can require things in that fashion [19:14] thoughtbotfred has joined the channel [19:14] statim: trotter: hmm not good… is there any detail to the error? [19:14] eazyigz: tjholowaychuk: my client will have to iterate over this list like an array [19:14] BrianTheCoder: atmos: weird, your version of mongodb is totally different from mine [19:14] trotter: statim: will let you know when we figure it out [19:14] trotter: something DNS related [19:14] atmos: BrianTheCoder: you using the pure one ? [19:14] trotter: failing to find some host [19:14] tjholowaychuk: statim: hm looks about right, is it not parsing as you thought it would or something? [19:15] BrianTheCoder: atmos: nope native, but the dir structure is diff. How did you go about vendoring? [19:15] atmos: i just cloned em, nuked .git and the folders/files ii didn't need [19:15] tjholowaychuk: eazyigz: w/ express you can res.send(['some', 'stuff']); as application/json if that is what you want [19:15] eazyigz: tjholowaychuk: what is express? [19:16] stephank: How do I package for npm? I can't seem to find good documentation. [19:16] tjholowaychuk: eazyigz: framework, are you just using raw node? geddy? fab? [19:16] jdub: technoweenie: goodness, twitter-node is delightful, not sure why i hadn't seen it when looking previously [19:16] eazyigz: tjholowaychuk: just raw node. I have no need for middleware [19:16] technoweenie: thanks, are you using it for your nodeko app? [19:16] V1: is npm dead again?npm ! Error: ECONNREFUSED, Connection refused at IOWatcher.callback (net:871:22) at node.js:266:9 [19:16] eazyigz: other than node [19:17] tjholowaychuk: raughg: you at joyent? [19:17] BrianTheCoder: atmos: what version of mongodb are you using? there's a lot of extra dirs in mine compared to yours, including the whole external-libs dir [19:17] jdub: technoweenie: no, sadly not entering nodeko, but working on this: hellodenby.com [19:17] tjholowaychuk: eazyigz: ah gotcha, well just serialize an array and respond with it [19:17] logix812 has joined the channel [19:17] technoweenie: hey its the fallout guy [19:17] jdub: :-) [19:17] jdub: he is my pre-launch mascot [19:17] atmos: http://github.com/christkv/node-mongodb-native [19:18] atmos: BrianTheCoder: i dunno, a week ago or so [19:18] eazyigz: tjhollowaychuk: so no need for anything like JSON.stringify? [19:18] jdub: technoweenie: i'm molesting it for oauth and user streams now -- you likely to want the results? [19:18] tjholowaychuk: eazyigz: if you have no framework you will need to res.writeHead(200, { 'Content-Type': 'application/json' }); res.end(JSON.stringify(myArray)); [19:19] fbstj has left the channel [19:19] BrianTheCoder: atmos: how were you able to get rid of the external libs dir? using BSONNative requires it [19:19] sonnym has joined the channel [19:19] statim: tjholowaychuk: would have expected query to have: { data: [ ["a", { message: { foo: 'b' } } ] ] }. [19:19] jdub: technoweenie: denby is currently using a cobbled together mess of pieces, but i'm switching it atm :-) [19:19] atmos: BrianTheCoder: i only use the pure ones [19:19] eazyigz: thanks [19:19] BrianTheCoder: atmos: ah [19:20] technoweenie: jdub: rock on. i dont actually use it so i'm welcome to take patches [19:20] sonnym has joined the channel [19:22] tjholowaychuk: statim: it is kinda like that, inspect() only goes so deep though so you see the [Object] crap [19:22] jdub: second param tells inspect how deep to go [19:22] statim: tjholowaychuk: gotcha.. k, ill try some things, seems like its probably working i just need to figure out how to get to it [19:24] drostie has joined the channel [19:26] sonnym has joined the channel [19:26] isaacs has joined the channel [19:27] BrianTheCoder: any rap fans in here? [19:28] isaacs: ircretary: tell javajunky npm looks fine to me. are you still having issues? [19:28] ircretary: isaacs: I'll be sure to tell javajunky [19:28] benv: brianthecoder: you don't mean raptors, do you [19:28] benv: [19:28] matt_c: ACTION is a fan of the Utahraptor personally. [19:28] BrianTheCoder: isaacs: any idea why npm bundle would succeed, but only create the index.js and not vendor the deps [19:29] _announcer: Twitter: "@tjholowaychuk i can do a not loading page in php too #nodejs #timeout #whitepage #beta" -- Sebastian Schürmann. http://twitter.com/sschuermann/status/22461704087 [19:29] hipertracker has joined the channel [19:29] trotter: statim: fyi, it _appears_ (though we could be completely f-ing wrong) that it dies when faye tries to write to the socket during the initial handshake. Still no fix [19:29] isaacs: BrianTheCoder: npm update npm, and then lmk if it still fails. [19:29] _announcer: Twitter: "@keithmcgreggor If it were a tiny bit more mature, I'd say you should be playing with NodeJS for this stuff. Fits your minimalist app style." -- lorennorman. http://twitter.com/lorennorman/status/22461732041 [19:29] BrianTheCoder: ls [19:29] isaacs: BrianTheCoder: there was an issue i fixed yesterday with configs [19:30] BrianTheCoder: cool [19:30] sonnym1 has joined the channel [19:31] inkneal has left the channel [19:33] BrianTheCoder: isaacs: I can't seem to get it to update, it looks like its installing, but npm -v is still returning '0.1.27-9' [19:33] isaacs: BrianTheCoder: did you change your root or binroot config or at some point? [19:34] ryan_gahl has joined the channel [19:35] vnguyen: how can I execute a function when my node server quits? [19:35] rnewson has joined the channel [19:35] rnewson has joined the channel [19:35] isaacs has joined the channel [19:37] statim: tjholowaychuk: ok, so now i actually do think there is a parsing difference between the way the data is serialized and posted, and the way bodydecoder and queryparser expect it to be: https://gist.github.com/a65e9c546e32b6d88e87 [19:37] ezmobius has joined the channel [19:39] jodo has left the channel [19:39] ryan_gahl: tmpvar: ping [19:39] BrianTheCoder: isaacs: I don't even know how to do so, so no :P [19:39] bscofield has joined the channel [19:39] jodo has joined the channel [19:40] isaacs: BrianTheCoder: get the npm code from github or something, do "make uninstall install" [19:40] eazyigz: how do I serialize an array of arrays? [19:40] isaacs: eazyigz: JSON.stringify? [19:40] CrypticSwarm has joined the channel [19:40] BrianTheCoder: k [19:40] BrianTheCoder: isaacs: is master stable? [19:40] isaacs: BrianTheCoder: yeah, i'm keeping it working [19:41] isaacs: BrianTheCoder: just been fixing bugs that people are finding through nodeknockout, no new features or anythign [19:41] Jaco has joined the channel [19:42] technoweenie: damnit, dont think i'm gonna make it [19:42] CrypticSwarm has joined the channel [19:42] BrianTheCoder: isaacs: go this when I did npm -v http://gist.github.com/556611 [19:43] omgwtflol has joined the channel [19:43] technoweenie has joined the channel [19:43] _announcer: Twitter: "Ugg, running into some really annoying faye / nodejs bug." -- Trotter Cashion. http://twitter.com/cashion/status/22462500874 [19:43] isaacs: BrianTheCoder: something weird there. what was the output of "make uninstall install"? [19:43] omgwtflol: http://gist.github.com/556608, create_random_id(), in case anyone is looking for something like it [19:44] BrianTheCoder: isaacs: refresh, added it to the gist [19:44] statim: tjholowaychuk: nm on this… instead of dealing with how the two may generate/parse urlencoded query strings, im just going to post the actual json to the body… seems like you cant go wrong with that [19:44] isaacs: BrianTheCoder: check out that warning. [19:45] MattDiPasquale has joined the channel [19:45] isaacs: BrianTheCoder: it's installing the npm executable outside of the PATH [19:45] BrianTheCoder: isaacs: ah [19:45] isaacs: BrianTheCoder: you installed node with homebrew, i'm guessing? [19:45] BrianTheCoder: yeah, so adding that to the path should fix it? [19:45] eazyigz: how can I use .exec() to get back an object from my python script. So far stdout returns a string [19:46] bsstoner has joined the channel [19:46] sant0sk1 has joined the channel [19:46] isaacs: BrianTheCoder: sure, or you could change the npm "binroot" config. make uninstall ; node cli.js config set binroot /usr/local/bin/or/some/shit ; make install [19:46] BrianTheCoder: k [19:47] _announcer: Twitter: "@tjholowaychuk ur last link was a typical nodejs dead server ... not running into a timeout is a nodejs thingie ;)" -- Sebastian Schürmann. http://twitter.com/sschuermann/status/22462728818 [19:47] benv: couch people; does this seem familiar? [19:47] benv: {"total_rows":2,"offset":0,"rows":[]} [19:48] Egbert9e9 has joined the channel [19:48] benv: my view is suddenly not returning data, but it says it has rows [19:48] MrTopf has joined the channel [19:48] sant0sk1: so in the browser if I want to get the number of keys in an object I can do: keys(myObject).length, but Node says that "keys" is not a known method. How would I accomplish this task in Node? [19:48] SlowCheetah has joined the channel [19:48] cardona507_: i am wanting to loop through the values in localStorage on this site http://nko-trisomic-propus.heroku.com/ - each value is a lat and long - i would like to split(',') the values into an array and the remove the meaningless characters to get just the string for the lat and the long - i would then like to put those characters into the map - this is the function that is producing the 10 random dots - http://gist.github.com/55661 [19:48] ryan_gahl: tmpvar: (in case you're just afk... just emailed a .patch file for jsdom, explanation in email) [19:49] _announcer: Twitter: "Not competing in #nodeko, but had a sprint any way. Orona now has networking! Woooo! http://is.gd/eK8rI #nodejs #coffeescript #websockets" -- Stéphan Kochen. http://twitter.com/ko_si_nus/status/22462858093 [19:49] ryah: yes, tank war [19:49] ryah: finally [19:50] BrianTheCoder: isaacs: woot! seemed to work [19:50] ryah: !tweet ko_si_nus is that hosted somewhere? [19:51] _announcer: Twitter: "starting #node.js now hope something useful turns out of it in 3 hours to submit :) old habits (last hour work) Die Hard" -- AbhishekKr. http://twitter.com/abionic/status/22462953828 [19:51] cardona507_: my bad - I just realized that I didn't have the right code on heroku [19:51] cardona507_: now you can see that there are 10 random dots http://nko-trisomic-propus.heroku.com/ [19:51] _announcer: Twitter: "If someone knows a way around the IE issues that Suckit.io is causing, please share #nodejs #nodeKO I'm going mad here" -- Arnout Kazemier. http://twitter.com/3rdEden/status/22462976024 [19:51] cardona507_: i want to make those not random by looping through localStorage and using those values [19:52] benv: any couchdb experts? [19:52] micheil: jan____: iirc is [19:53] _announcer: Twitter: "adding SMS API metrics to our admin UI, and writing Node.js apps vicariously through the #NodeKO tag" -- Cloudvox. http://twitter.com/cloudvox/status/22463065268 [19:53] eazyigz: when I use .exec(), the only thing I can get back in the callback is s tring? right? [19:55] stephank: ryah: hmm.. what does !tweet do? I'm not getting that. But either way: http://github.com/stephank/orona [19:56] ryah: are you going to host that somewher? [19:56] JimBastard: stephank: !tweet is for nodejsbot on twitter [19:57] stephank: I'd love to. Right now, I only have github pages, which runs a local game. Is there only joyent that supports websockets/ [19:57] JimBastard: http://twitter.com/nodejsbot [19:57] benv: couchdb is scuttling my app at the last minute :( [19:57] JimBastard: yeah stephank , where you been [19:57] benv: code, design docs haven't changed; db just isnt returning data anymore [19:57] stephank: JimBastard: Oh, it was missing the @, now I see :) [19:59] ryan_gahl: tjholowaychuk: ping [20:00] tjholowaychuk: ryan_gahl: pong [20:00] ceej_ has joined the channel [20:00] ryan_gahl: i think I asked you this a bit ago but can't remember... have you tried extjs core on the server yet? [20:00] isaacs: stephank: _frankie is @nodejsbot [20:01] tjholowaychuk: ryan_gahl: not personally no, havent heard of anyone doing it yet [20:01] ryan_gahl: alrighty, here goes then [20:01] tjholowaychuk: im personally not a fan of taking things that are built to work cross browser and plunking it on the SS [20:01] hellp has joined the channel [20:01] tjholowaychuk: prefer optimized stuff for node [20:01] ryan_gahl: well, i'm working with a dom, so [20:02] micheil: tjholowaychuk: express+node-websocket-server is nice. [20:02] ryan_gahl: prefer a known api [20:02] SlowCheetah: hey, anyone using couchDB know how to make the db return JSONP instead of JSON? [20:02] sarenji: if i use socket.io, what's the best way to send a message to all clients from the server? [20:02] tjholowaychuk: micheil sweet :D [20:02] micheil: http://github.com/miksago/unsaving-daiva [20:03] micheil: messy as code though, admittedly [20:03] mjr_: SlowCheetah: I've not hear of CouchDB doing JSONP before. You might have to proxy with node to convert the response. [20:03] SlowCheetah: kk, ty [20:04] _announcer: Twitter: "Took a first look at node.js yesterday. Seriously considering Node + NoSQL (Mongo or Couch) as backend for a new project idea I have." -- Aaron McCall. http://twitter.com/aaronmccall/status/22463702270 [20:04] xer0x has joined the channel [20:06] maqr has joined the channel [20:06] eazyigz: has anybody use .exec() to call python scripts? I cannot figure out how to get back an object. I only see a way for stdout to give me a string [20:07] jesusabdullah: eazyigz: Can you make your python script spit out json onto stdout? :v [20:07] jetienne: eazyigz: use json ? [20:08] jesusabdullah: Yeah, json would be pretty easy imo [20:08] BrianTheCoder: we have minor liftoff: http://nko-professional-drunks.heroku.com/ [20:08] jackowayed has joined the channel [20:08] jesusabdullah: BrianTheCoder: Specials? [20:09] BrianTheCoder: jesusabdullah: going to list local specials near you [20:09] jesusabdullah: Hmm [20:09] javajunky has joined the channel [20:09] jesusabdullah: Interesting [20:10] jackowayed: I'm having trouble getting node to connect to redis on my smart machine. just using default configs. redis-cli connects fine. any ideas? [20:11] jdub: technoweenie: initial cut of oauth and user streams support -> http://github.com/jdub/twitter-node [20:11] jetienne: BrianTheCoder: where to you get the data to know the specials ? [20:12] huned has joined the channel [20:12] bsstoner has left the channel [20:13] BrianTheCoder: manual entry + scraping + apis [20:13] maqr has joined the channel [20:14] m4rvin has joined the channel [20:15] _announcer: Twitter: "Found a MUCH nicer lib for #nodejs Twitter streaming, so added first cut of OAuth and user stream support: http://is.gd/eKgY7 :-D" -- Jeff Waugh. http://twitter.com/jdub/status/22464327666 [20:16] techpeace has joined the channel [20:18] terinjokes: piratetron doesn't work :( [20:18] matt_c: +1 on twitter-node being teh hotness. [20:18] thejefflarson has joined the channel [20:19] jdub: matt_c: it reads very well. technoweenie has wonderful taste. :-) [20:19] _announcer: Twitter: "so hot that it has not yet been announced: http://bit.ly/dsRzxG it would have hardly noticed out of sheer node.js # rails3" [de] -- Michael Bumann. http://twitter.com/Bumi/status/22464561152 [20:20] _announcer: Twitter: "cool, a JS templating engine for #node.js (and probably also client side) in 33 lines of code: http://github.com/ollym/parrot #javascript" -- Christian Scholz. http://twitter.com/mrtopf/status/22464614835 [20:20] mjr_: jdub: did you write all of that oauth stuff just now? [20:21] jdub: mjr_: well, the integration with that oauth lib (see full commit message) [20:21] jdub: mjr_: it's not the tidiest oauth lib around, but it's very straightforward for this [20:21] mjr_: Oh, OK. [20:21] matschaffer: so is anyone using something other than faye or sockets.io for handling the real time messaging? [20:22] mjr_: I looked at doing user streams last week, and I couldn't believe how awkward the whole oauth thing was. [20:22] jdub: when ciaranj's 'getRequest' branch goes into mainline, i'll probably switch to that [20:22] mjr_: matschaffer: lots of people use plain old XHR. Why? [20:22] matschaffer: mjr_: just polling? [20:22] matschaffer: yeah, maybe I should do that [20:23] matschaffer: I've been trying to use faye [20:23] matschaffer: but the old version dies after like 5 or 6 updates [20:23] mjr_: matschaffer: XHR is tried and true, even though it is awkward and inefficient. [20:23] matschaffer: and the new version totally kills the server [20:23] jdub: mjr_: there are plenty of good libs around though [20:23] mjr_: matschaffer: If you have jquery or something on the client side, it's a lot less painful. [20:23] matschaffer: yeah.... [20:23] breccan has joined the channel [20:23] jdub: mjr_: the trick with something like node is to get one which beautifully integrates into the normal apis [20:24] huned: uh, this might expose my n00bness. but how do you close/disconnect an httpClient? [20:24] huned: i need to disconnect from this twitter stream. way too much data :) [20:25] MrTopf: matschaffer: I am using websocket-server for my pong experiment which seems to work well so far [20:25] jamescarr: WOOHOO!!! [20:25] EllisGL has joined the channel [20:25] jamescarr: got this binary bitch fixed up [20:25] Frans-Willem: ? [20:25] jamescarr: http://done-js.no.de now supports binary file transfers [20:26] Frans-Willem: Neat [20:26] MrTopf: jamescarr: great! [20:26] matschaffer: MrTopf: does that install on joyent reasonably? [20:26] jimmybaker has joined the channel [20:26] MrTopf: matschaffer: no idea as I was too late for nodeko [20:27] MrTopf: but it's a simple node.js package so I guess it will [20:27] matschaffer: MrTopf: so it's this? http://github.com/miksago/node-websocket-server [20:27] MrTopf: yep [20:27] danielqo has joined the channel [20:27] mjr_: huned: If you want to force client to close in the middle of a request/response, you have to do req.connection.destroy() [20:27] matschaffer: is there code in here somewhere to connect from the node side? or just the browser? [20:27] MrTopf: matschaffer: http://static.brandedcode.com/nws-docs/ has more docs [20:28] matschaffer: oh [20:28] huned: thanks mjr_. any way to just do it if i have the client obj? [20:28] matschaffer: you start it in the node server [20:28] matschaffer: I see [20:28] MrTopf: yes [20:28] MrTopf: there is an example in examples/ [20:28] bpot has joined the channel [20:29] matschaffer: so I guess I'll rephrase that. What about the client? Just use native websockets implementation? [20:29] MrTopf: I did so [20:29] mjr_: huned: what's a client obj? Where did you get it? [20:29] MrTopf: but I guess with socket.io it's more flexible.. but otoh it's also more complex and for my experiment the native approach was the easiest after debugging socket.io for an evening [20:29] _announcer: Twitter: "3h 30m until node.js knockout ends. Great ideas coming through #nodeko" -- Leonidas Tsementzis. http://twitter.com/goldstein/status/22465149752 [20:29] huned: mjr_ it's the httpClient obj given to me by TwitterNode [20:30] pgriess has left the channel [20:30] eazyigz: how can I assign stdout to a variable? [20:30] MrTopf: matschaffer: the example at least uses the native implementation [20:30] technoweenie: 3 hours, i'm so fucked, haha [20:30] digitalspaghetti has joined the channel [20:30] huned: so, spoken more clearly :) I have a running TwitterNode instance. and i want to shut it down :) [20:31] _announcer: Twitter: "Here is a nice and simple file sharing tool build during #node.js knockout: http://done-js.no.de/ #nodeko" -- Christian Scholz. http://twitter.com/mrtopf/status/22465239865 [20:31] jackowayed: technoweenie: think you'll get around to improving it after the KO? I was excited for yours [20:31] technoweenie: yea, i wanna finish it [20:31] eazyigz: I wish to save the value of stdout to a variable. Is that possible? [20:31] technoweenie: but its taking me too long to do much db stuff [20:32] mjr_: huned: sorry, I don't know what that is. sys.inspect it and find the connection obj that must be buried in there somewhere. [20:32] jackowayed: what db are you using? [20:32] sh1mmer: how do you loop through an array of stuff in JadE? [20:32] technoweenie: couch [20:32] sh1mmer: any pointers? [20:32] mjr_: huned: once you find the connection object, invoke connection.destroy() [20:32] jackowayed: oh. never used it [20:32] huned: got it. thanks mjr_ ... i shall investigate further [20:32] jackowayed: this was my first time using redis though. it took me longer than I had hoped to get it figured out too. but I really like it now [20:33] technoweenie: i dont need help, i just need more time :) [20:33] reid has joined the channel [20:33] mjr_: huned: there might be a clean way to shut down twitternode. Destroying the underlying socket is a pretty unclean way, but it'll probably work. [20:33] reid: Does anybody know how to pass locals to a layout in Express? [20:33] c4milo: mape, fu** genius [20:33] huned: technoweenie: any thoughts on how to cleanly destroy a TwitterNode object? [20:33] mape: c4milo: hehe [20:34] technoweenie: huned: no, maybe call end() on the response? [20:34] technoweenie: it could be an end function on the twitternode class [20:34] c4milo: mape: you have my wife and I stick to this game [20:34] huned: heh. okay, thanks will give it a shot. [20:34] technoweenie: its just an http client request/response, shouldnt be hard [20:34] c4milo: stuck [20:35] mape: c4milo: there are private rooms as well if you don't want the random non players dropping in [20:35] visnup: you think if we decided, "hell, let's extend the deadline 24 more hours!" people would be glad or scared? [20:36] mape: Probly piss some people off [20:36] visnup: hehehehe [20:37] DTrejo has joined the channel [20:37] eazyigz: can someone give me a hint why I cannot do the following? response.end(JSON.parse('('+stdout+')')); [20:37] _TS has joined the channel [20:37] eazyigz: I am so lost! [20:38] mjr_: response.end wants a string, not an object [20:38] mjr_: JSON.parse() returns an object from a string argument. [20:38] eazyigz: so how in the world can I pass an array back to the client?? [20:39] mjr_: response.end(JSON.stringify(somearray)); [20:39] mjr_: Then in the client, you do var arr = JSON.stringify(xhr.responseText); [20:39] eazyigz: mjr_: I don't have somearray [20:39] eazyigz: I have stdout [20:39] joshbuddy has joined the channel [20:39] mjr_: What is stdout? [20:39] mjr_: a string? [20:39] eazyigz: yes?? [20:40] mjr_: A JSON string? [20:40] eazyigz: yes [20:40] jetienne: console.dir(stdout); may help [20:40] mjr_: Easy: response.end(stdout) [20:40] huned: uhm. well. i got it going with twitters[sessionId]._clientResponse.connection.destroy(); [20:40] huned: artless, yet effective [20:40] polotek: anybody here using gridfs with mongohq? [20:41] huned: thanks mjr_ and technoweenie for the suggestions [20:41] DTrejo has joined the channel [20:41] mjr_: eazyigz: then probably JSON.parse it back on the client side [20:42] mjr_: Wow, 362 people in #node.js. [20:42] cardona507_: node boom [20:42] bradleymeck2: ooom boom [20:42] jetienne: :) [20:42] _announcer: Twitter: "know how I know nodejs is the new rails? Supported in heroku." [pt] -- Fernando Takai. http://twitter.com/fernando_takai/status/22465925923 [20:43] stephank: hmm... I accidentally deleted the `repo` directory, thinking I could recreate it with `git init --bare`. uh oh. [20:43] Egbert9e9 has joined the channel [20:43] BryanWB has joined the channel [20:43] ryancnelson_: wow [20:43] ryancnelson_: stephank [20:43] ryancnelson_: on joyent? [20:43] stephank: yes [20:43] ryancnelson_: what teamname? [20:44] ryancnelson_: actually, take it to #joyent [20:44] ryancnelson_: we'll try to help you [20:44] ryah: stephank: heh [20:44] ryah: ryancnelson_: i got it [20:44] ryancnelson_: cool, thx [20:45] micheil: stephank: didn't you say you weren't a team? [20:45] _announcer: Twitter: "Would love to see some help bug testing my #nodeko #nodeknockout entry! http://bladderblock.com #nodejs" -- Mathias Pettersson. http://twitter.com/mape/status/22466061142 [20:45] eazyigz: mjr_: when I do response.end(stdout) firebug shows nothing [20:45] eazyigz: my callback doesn't invoke! [20:45] easternbloc has joined the channel [20:45] henk__ has joined the channel [20:47] ryah: stephank: restored [20:47] stephank: ryah: awesome, thanks again. Sorry to be so much trouble. :S [20:47] ryah: np, as long as i can play bolo soon [20:47] ryah: :) [20:48] micheil: lol, nice [20:48] eazyigz: if I am using jsonp with script tag injection on the client, what should my node server return? [20:49] stephank: ryah: great success: http://wadna-ramet.no.de/ [20:50] DTrejo has joined the channel [20:50] stephank: ryah: 'soon' might be a big word, btw. Most of what's there is basic movement and networking. [20:51] stephank: but the plan is to have all basic game elements in by 0.2 :) [20:51] _announcer: Twitter: "Node.JS Knockout: 500 variations of the same chartroom based on the same sample code." -- Majd Jack Taby. http://twitter.com/jtaby/status/22466428308 [20:51] jdub: clueless douche. [20:51] javajunky: mape, your game's ace ;) simple but ace [20:51] jamescarr: hahhaha [20:52] jamescarr: fatal: 'joyent': unable to chdir or not a git archive [20:52] jamescarr: I mean http://ko-734m.no.de/ [20:52] jamescarr: wiers [20:52] jamescarr: *weird but fun [20:52] mape: javajunky: Simple is good for 48h ;) [20:52] jamescarr: meet me at the flagpole [20:52] codetonowhere has joined the channel [20:52] rnewson has joined the channel [20:52] micheil: stephank: how's the collision detection work? [20:53] ryah: stephank: that really awesome! [20:53] ryah: i love bolo [20:53] ryah: how can i shoot? [20:53] dbathurst has joined the channel [20:53] gsmcwhirter has joined the channel [20:53] stephank: micheil: There's only map collisions for now. It basically just checks the corners of the tank. [20:53] micheil: oh [20:53] stephank: ryah: That's... also to be implemented. :) [20:53] micheil: so, it's not actually svg collision? [20:54] stephank: Nope [20:54] stephank: I'm basing it mostly on winbolo code, which is also open-source [20:54] jamescarr: stephank, how do you shoot? [20:55] stephank: jamescarr: You can't yet. I see this is going to be a priority. XD [20:58] chorrell: ha! [20:58] eazyigz: how do I return jsonp from nodejs? firebug shows the response, but the callback function does not get executed [21:01] aliem_ has joined the channel [21:02] saikat has joined the channel [21:02] jamescarr: stephank, give people a chance to interact online and the first thing they'll want is to ability to reach out and hurt someone ;) [21:03] easternbloc: but how do you shoot :D [21:03] stephank: haha [21:04] stephank: I totally intend to make that happen, though [21:04] stephank: >;) [21:04] easternbloc: hehe [21:05] jamescarr: it's like http://ko-734m.no.de/ ... I tried it and the first person I encounted told me to go fuck myself and vanished ;) [21:05] micheil: ryah: question, what's svcs? [21:05] jamesarosen has joined the channel [21:05] stephank: Oh wow, that's pretty awesome too [21:05] stephank: hadn't seen that yet [21:05] saikat has joined the channel [21:06] ryah: micheil: man smf [21:06] micheil: k [21:06] stephank: It's totally amazing what people are doing in less than 48 hours. Considering I've been on the bolo thing for several weeks now in my spare time. [21:07] jamescarr: ha... there's some sites out there with just the Express default page [21:08] sh1mmer: if anyone at joyent that knows about express has a minute to swing by and help me with something that would be appreciated [21:08] jamescarr: I cannot push to joyent anymore [21:08] jamescarr: what gives? [21:09] SlowCheetah has joined the channel [21:09] cardona507_: so i heard earlier that the apps need to be running in port 80 - for some reaon the heroku code of atmos' that I am using doesn't like that port - is 8080 ok? [21:09] atmos: cardona507_: just hack it [21:10] atmos: bottom of app.js should have a listen call [21:10] cardona507_: I don't totally understand what is happening [21:10] cardona507_: yeah its app.listen(parseInt(process.env.PORT) || 8080) [21:10] atmos: http://github.com/atmos/heroku-express/blob/master/lib/app.js#L25 [21:10] atmos: yeah change that to 80 [21:10] atmos: and you'll be fine [21:10] cardona507_: but if I change it to 80 I get this fail http://gist.github.com/556690 [21:11] _announcer: Twitter: "Watched the Node.js @peepcode episode today. Great intro! Recommended!" -- Gustaf Nilsson Kotte. http://twitter.com/gustaf_nk/status/22467699417 [21:11] atmos: cardona507_: weird, totally worked for me [21:12] atmos: what's in ~/node-service/profile [21:12] atmos: on yoru joyent instance [21:12] cardona507_: i am on heroku not joyent [21:12] atmos: oh gotcha [21:12] cardona507_: does the port 80 thing apply on heroku? [21:13] atmos: nah, just set it back to 8080 [21:13] atmos: nah, it doesn't at all [21:13] atmos: they're gonna proxy shit down to you [21:13] cardona507_: ok - sounds good [21:13] cardona507_: thnx [21:13] atmos: so you should be able to submit your url and that'll listen on 80 [21:13] cardona507_: i hope so [21:13] atmos: you'll be on a port number you shouldn't need to care about [21:14] cardona507_: cool [21:14] atmos: lemme know when you ship it and i'll test it out for ya [21:14] cardona507_: it's live onw [21:14] cardona507_: *now [21:14] atmos: link? [21:14] cardona507_: http://nko-trisomic-propus.heroku.com/ [21:14] cardona507_: still tweaking css [21:14] cardona507_: but I think I am done with features [21:14] cardona507_: if you refresh it will show you each time and place you 'checked in' [21:15] atmos: oh neat [21:15] jesusabdullah: cardona507_, it thinks I'm like five miles to the right of my actual location! [21:15] jesusabdullah: >:O [21:15] cardona507_: yeah [21:15] jamescarr: can anyone else push to joyent? [21:15] cardona507_: :) [21:15] cardona507_: good ole html5 geolocationn [21:15] cardona507_: heh [21:15] jamescarr: #joyent is unresponsive :( [21:16] jesusabdullah: I've been pushing to joyent' [21:16] jesusabdullah: Why? [21:16] jamescarr: jesusabdullah, right now? [21:16] aussiegeek has joined the channel [21:16] jbenesch1 has joined the channel [21:16] isaacs has joined the channel [21:17] cardona507_: if you view source it's a mess because i was having issues getting any folder structure to work [21:17] cardona507_: so i had to put my styles and scripts inline - sheesh [21:17] jesusabdullah: jamescarr: Like 2,3 minutes ago [21:17] cardona507_: so please - those source viewers out there judge lightly :) [21:17] jesusabdullah: hehe [21:18] xbancekx has joined the channel [21:19] jodo has left the channel [21:19] lachlanhardy has joined the channel [21:19] xbancekx: is Mu supported already in Express.js? [21:19] DTrejo has joined the channel [21:19] cardona507_: atmos: were you able to check it? [21:19] atmos: yup [21:19] atmos: worked fine [21:20] atmos: i think you're set [21:20] cardona507_: it's on port 8080 [21:20] cardona507_: gravy [21:20] cardona507_: :) [21:20] jbenesch has joined the channel [21:20] jay has joined the channel [21:20] zomgbie has joined the channel [21:21] trotter: hrmmm… we're almost out of time [21:21] olauzon has joined the channel [21:22] MattDiPasquale has joined the channel [21:23] mikezter has joined the channel [21:23] altamic has joined the channel [21:24] mikezter has joined the channel [21:24] stephank: Can't wait to see some more finished works tomorrow. :) [21:24] stephank: Best of luck, all! [21:27] V1: Ha, its a miracle that my app actually works on the server ;$ just found out im still running node 1.1~ on my localhost [21:27] abiraja: is there urllib for node? [21:27] V1: http client? [21:28] V1: http.client? [21:28] kriszyp_ has joined the channel [21:28] ollym has joined the channel [21:28] atmos: abiraja: look at the docs [21:28] atmos: it's called URL [21:28] abiraja: atmos: that doesnt fetch the url, does it? [21:29] atmos: you mean http request [21:29] atmos: and yeah, http.Client [21:29] atmos: in the docs [21:30] rektide: eval() doesnt seem to be affecting my module's global scope, like ui'd assumed it would [21:30] rektide: any ideas [21:30] m4rvin has left the channel [21:30] _announcer: Twitter: "Real time wikipedia edits stream with node.js http://nodelay.no.de/" -- Dominik Susmel. http://twitter.com/Keyframe/status/22468873046 [21:32] mape: visnup: Shouldn't have turned on voting, now people who voted on me won't come back :P [21:32] ollym_ has joined the channel [21:33] rektide: i need to load some code from another file into my global scope [21:33] hipertracker has joined the channel [21:33] rektide: eval() doesnt seem to let me do that [21:33] rektide: in a module [21:33] rektide: i suspect a bug. [21:33] rektide: bah [21:33] rektide: frell [21:34] zawzey has joined the channel [21:34] visnup: mape: you need to draw more attention ! [21:34] mape: visnup: So you can guess it? :D [21:35] danielzilla has joined the channel [21:35] visnup: that was bad [21:35] ollym has joined the channel [21:35] mape: hehe [21:36] ollym: morning [21:36] rektide: rage [21:36] rektide: anger [21:36] rektide: acceptance [21:36] rektide: denial [21:36] rektide: ok done [21:36] rektide: cycle of mourning complete [21:36] easternbloc: morning? [21:37] ollym: morning [21:37] DTrejo has joined the channel [21:37] ollym: yes [21:38] hammerdr_ has joined the channel [21:38] micheil: ollym: howdy [21:38] kperch has joined the channel [21:38] easternbloc: http://nodelay.no.de/ that's seriously cool. [21:39] hdon: hi all :) it appears --targets=i386 got ignored when i configured. could someone else try to build with that option and see what kind of binary they get, or if the build process blows up on not having the proper tools to compile such code? [21:41] eazyigz has joined the channel [21:41] benv: anyone know how to add a custom filter to ejs? [21:41] benv: tried passing a filter: { mymethod: ... } object to render, but no dice [21:42] micheil: mape: fix the thing with it clearing the text box.. sooo annoying [21:42] mape: micheil: if you clear the cache I already fixed it [21:42] eazyigz: how do I tell node to listen on my machine's ip address? Do I need to run nginx in front of it or something? [21:42] micheil: oh really? [21:42] sarenji: oh man - that was fun seeing 5 people all shooting at each other in my app =) [21:42] mape: micheil: Jup [21:42] ollym: eazyigz: You can use an HTTP server [21:42] ollym: made with node.js [21:43] ollym: there are a few of them [21:43] eazyigz: is that a git proj? [21:43] ollym: Nitrode, Connect, AntiNode [21:43] pquerna: is there like [21:43] pquerna: a button [21:43] pquerna: to link to the voting page? [21:43] ollym: yes, they're all hosted on github [21:43] pquerna: or even a stable url for voting? [21:43] micheil: eazyigz: when you have a http or net server instance, tell it to listen: Server.listen(port, host) [21:43] micheil: host is optional [21:44] micheil: read the documentation, http://nodejs.org/api.html [21:44] eazyigz: I actually found out that by default node listens on my local machine's ip addr. So if I am on a lan, then I do not have to set anything else up [21:44] clintandrewhall: Something is driving me crazy... maybe someone can help me? [21:44] clintandrewhall: I have three API calls I need to make, that retrieve data, so I nest them... [21:45] clintandrewhall: func1(param, function(error, result1) { [21:45] clintandrewhall: func2(param2, function(error, result2) { [21:45] clintandrewhall: etc [21:45] mikeal has joined the channel [21:45] clintandrewhall: but they're getting invoked 10 times [21:45] _announcer: Twitter: "http://nodelay.no.de vizualization of realtime Wikipedia edits (based on node.js)" [ro] -- Ian Jørgensen. http://twitter.com/ianjorgensen/status/22469813114 [21:46] clintandrewhall: it's driving me bananas... can someone slap me around? [21:46] dbathurst: don't nest them, that's dirty. [21:46] micheil: ACTION slaps clintandrewhall around [21:46] micheil: you asked for it. [21:46] micheil: :P [21:46] clintandrewhall: what should I do? I need them all to return before I render [21:46] clintandrewhall: (yes... yes I did) [21:46] clintandrewhall: :-) [21:46] micheil: clintandrewhall: without code, we can't help you much [21:47] clintandrewhall: pastebin incoming... [21:47] _announcer: Twitter: "node-mysql: A MySQL driver for Node.JS — http://bit.ly/dcSr9e" -- Romain Ruetschi. http://twitter.com/romac17/status/22469919474 [21:47] dbathurst: set a variable that's something like var isajaxDoneYet = false; and every time you make an ajax call check that var then on the third one set it to true and go on from there. [21:47] JimBastard: MUST WRITE CODE FASTER [21:47] JimBastard: GO GO GO GO [21:47] JimBastard: ahhhhhhhhhhhhhhhhhhhhhhhhhh [21:48] clintandrewhall: http://pastebin.com/CDNU2Ap7 [21:48] clintandrewhall: its on the server [21:48] micheil: mape: you.. mean.. you can't have the connections auto reconnect? [21:48] mape: micheil: Well since I keep swapping connections and paths reconnect would be an issue [21:48] mape: at least when I did it [21:49] micheil: I'm thinking of writing a client side websocket library to handle that kinda fu. [21:49] _announcer: Twitter: "working on #nodeko this weekend, i've spent more time on IRC in two days than I have in the last 5 years. #joyent #node.js" -- ryan nelson. http://twitter.com/ryancnelson/status/22470032721 [21:49] mape: micheil: That would be neat [21:50] micheil: mape: I already have this: http://gist.github.com/555530 [21:51] clintandrewhall: is there some fundamental theory of NodeJS I'm missing here? [21:52] micheil: mape: it needs a name! [21:52] kperch has joined the channel [21:52] BrianTheCoder: how do you do view partials in express? [21:53] mape: micheil: the frontend framework? [21:53] micheil: yeah [21:53] clintandrewhall: BrianTheCoder: does this help? http://expressjs.com/guide.html#View-Partials [21:53] jamescarr: JimBastard, tak 3 stackers downed by a can of Wired344 [21:53] jamescarr: code till you get carted off to the hospital [21:53] JimBastard: jamescarr: adderral ftw [21:53] clintandrewhall: These pretzels are making me thirsty!! [21:54] jamescarr: JimBastard, I'm happy... our team hit a major hurdle in the 11th hour but got past it [21:54] BrianTheCoder: clintandrewhall: well I'm trying to figure out how to do them in a view? [21:54] JimBastard: nice jamescarr [21:54] techpeace: Anybody know where we can find our team's vote button? [21:54] JimBastard: its been a fun event all around [21:54] clintandrewhall: BrianTheCoder: ahhh.... [21:54] jamescarr: http://done-js.no.de is now fully operational and I just transfered a zip file to somoene ;) [21:54] JimBastard: im really happy with how our team is working together [21:54] JimBastard: i'll have to peep later, aight back to work [21:54] BrianTheCoder: I have a partial for facebook that I'm trying to break out [21:55] jamescarr: ACTION now watches in horror as his teams creation becomes a warez hub [21:55] micheil: jamescarr: broken: http://done-js.no.de/preview/s8JJBRBL [21:55] clintandrewhall: jamescarr: LOL IRL [21:55] micheil: click the download link [21:55] clintandrewhall: micheil: I'm sure you're busy, but did you see the code I pasted? [21:56] micheil: clintandrewhall: yeah, I have no idea sorry [21:56] jamescarr: micheil, did you navigate away from the page? [21:56] micheil: uhh.. yeah [21:56] micheil: why? [21:56] clintandrewhall: micheil: :-) no worries [21:56] jamescarr: micheil, you can't ... thats the "trick" [21:56] jamescarr: the file is uploaded on demand [21:56] micheil: jamescarr: aww.. it's not functional in safari [21:57] jamescarr: micheil, yeah, you need safari 5.0.1 [21:57] jamescarr: http://done-js.no.de/preview/5mOJyUaT [21:57] micheil: uh, ReadFile not there [21:57] jamescarr: any browser can download though [21:57] _announcer: Twitter: "2 hours left for node.js knockout to end. http://nodeknockout.com/ http://nodeknockout.com/teams/del-fuegos" -- Christos Stathis. http://twitter.com/chstath/status/22470527796 [21:57] micheil: oooh.. [21:57] micheil: okay, cool [21:57] karchie: jamescarr: I have 5.0.1 and it doesn't work here. have needed the Chrome dev [21:57] richcollins has joined the channel [21:57] micheil: jamescarr: maybe add a fallback? [21:58] jamescarr: micheil, argh, trying to, couldnt find one [21:58] eazyigz has joined the channel [21:58] micheil: jamescarr: upload file? [21:58] jamescarr: karchie, 5.0.1 doesnt work either? [21:59] karchie: jamescarr: you know, I designed protections against warez/pronhubdom. unfortunately I spent all day wrestling with base64 conversion crap [21:59] jamescarr: karchie, lol yeah :) [21:59] knockoutrosegues has joined the channel [22:00] matschaffer has joined the channel [22:01] zaach has joined the channel [22:01] davidwalsh has joined the channel [22:01] zum: a-ha, it's only for temporary sharing! [22:02] iganapolsky has joined the channel [22:02] satori_ has joined the channel [22:02] zum: no wonder it seemed so instantaneous... [22:03] rose_tester has joined the channel [22:03] JimBastard: ohh yeah, every single real-time entry is gonna be super open to spam / attack [22:03] JimBastard: no way you can code all edge cases in 2 days [22:03] zum: jamescarr: it would be nice to see the downloaders and the download progress in the sharing end [22:04] matschaffer: any nodeknockout admins in here? [22:04] zum: if you're going to develop this further after the KO [22:04] trotter: JimBastard: we sure as shit are :-) [22:04] matschaffer: Simulchart is on the teams list twice http://nodeknockout.com/teams [22:04] jamescarr: JimBastard, yeah, I think people will get a free pass on it [22:05] jamescarr: "Oh your app is nice, but it has a zero day exploit in it and allows for JSON injection attacks. NO PRIZE FOR YOU!" :) [22:05] _announcer: Twitter: "awesome! viz of wikipedia editors flow using node.js http://nodelay.no.de/ #realtime #nodejs #wikipedia" -- Régis Gaidot. http://twitter.com/rgaidot/status/22471029679 [22:05] JimBastard: ahahaha, yeah [22:05] zum: ok, perhaps I should stop sharing my pagefile.sys now [22:06] atmos: wtf is pagefile.sys ? [22:06] jamescarr: will the entries stay up long after node knockout ends? [22:06] hipertracker_ has joined the channel [22:07] bradleymeck2: well, after fighting, ctcp aint working still on http://rose.no.de , but translation and the basic irc is fine. need to submit all these patches to node-irc [22:07] _announcer: Twitter: "Node.js + CouchDB + Djangode seem a nice match after working on a hobby project for a weekend. Not sure how to do data models though." -- Kenneth Falck. http://twitter.com/kennu/status/22471143397 [22:07] jamescarr: DJangnode? [22:07] zum: swap file on windows [22:07] zum: had to try if it's possible to share a 2GB file... [22:08] kerch89 has joined the channel [22:08] jamescarr: lol [22:08] jamescarr: did it work? [22:08] micheil: jamescarr: about a week at min. [22:09] zemanel has joined the channel [22:11] overra_ has joined the channel [22:12] V1 has joined the channel [22:12] zum: jamescarr: it seemed as though it were downloading, although I didn't have the patience for it to finish [22:12] SlowCheetah has joined the channel [22:13] jamescarr: zum lol [22:13] aussiegeek has joined the channel [22:13] V1: For some obsecure reason i alway turn the power off @ mac when i stand up ._. [22:14] zum: jamescarr: anyway, nice app you have there - probably the easiest filesharing site I've seen [22:15] jamescarr: http://done-js.no.de/preview/bjKhowUy [22:15] jamescarr: http://done-js.no.de/preview/brRYqoxn [22:15] micheil: damn you mape. I almost lost my coffee when reading your intro to bladderblock game [22:15] jamescarr: yeah [22:15] ryah: :) [22:15] jamescarr: I think a lot could be done with it [22:15] mape: micheil: Not my fauilt :P [22:15] ryah: there's some rad demos here [22:15] micheil: lol [22:16] micheil: ryah: any favs? [22:16] lachlanhardy has joined the channel [22:16] mape: *fault [22:16] ryah: h4ck-n-lash.no.de is great [22:16] micheil: hey lachlanhardy [22:16] lachlanhardy: yo yo micheil! [22:16] jamescarr: yeah good job everyone [22:17] jamescarr: theres a lot of neat apps out there [22:17] hellp has joined the channel [22:18] DTrejo has joined the channel [22:18] micheil: aww.. it crashed :( [22:19] _announcer: Twitter: "Another day another #nodejs issue. But I believe @simulchart is now stable _enough_ now." -- Mat Schaffer. http://twitter.com/matschaffer/status/22471913732 [22:20] hipertracker has joined the channel [22:20] mape: micheil: The browser? :S [22:20] micheil: yeah [22:20] micheil: ACTION quite bladder [22:20] micheil: *quit [22:20] mape: Hmm that is no good, what browser? [22:21] Nohryb has joined the channel [22:22] micheil: uhh.. no, h4ck n slash [22:22] micheil: crashed [22:22] mape: ah k, good [22:22] micheil: I left the game in bladder [22:22] Sami_ZzZ has joined the channel [22:22] mape: k [22:23] micheil: mape: I need a name for this new websocket library [22:23] technoweenie: another one? [22:23] tj has joined the channel [22:23] trotter: hehe, we can monitor our server load using our app: http://awesometown.no.de/ (scroll to the bottom) [22:24] hipertracker_ has joined the channel [22:24] _announcer: Twitter: "The #nodejs Daily is out - read this Twitter newspaper on http://paper.li/tag/nodejs (14 contributions today)" -- Christos Stathis. http://twitter.com/chstath/status/22472239250 [22:24] mape: ryah: If you want to get those live graphs back on the leader board you might want to tell the front end developers to take a look at my node monitor script, I changed the smoothie script so it only renders the canvas once every 2 sec instead of 30 times a sec and it still animates smooth [22:25] joeshaw has joined the channel [22:26] DTrejo has joined the channel [22:26] zemanel has joined the channel [22:27] micheil: js>0x88.toString(10) [22:27] micheil: js> 0x88.toString(10) [22:27] gbot2: micheil: "136" [22:27] jacquesc has joined the channel [22:28] micheil: js> 0x18.toString(10) [22:28] gbot2: micheil: "24" [22:28] micheil: js> 0x98.toString(10) [22:28] gbot2: micheil: "152" [22:29] DTrejo has joined the channel [22:29] mape: man where is anansi getting all that traffic [22:30] trotter: mape: it's based on embedding a script in your page [22:31] trotter: so anytime one of the embeds gets hit, that's a new unique ip [22:31] mape: oh, they embedded it somewhere good? ;D [22:31] trotter: hehe, probably :-) [22:32] _announcer: Twitter: "So very, very tired... but we learned a lot, did a good job with a great idea: http://zenith-workloom.no.de/ #nodeko #nodejs" -- Clint Andrew Hall. http://twitter.com/clintandrewhall/status/22472744426 [22:32] mbleigh: holy crap, i think it's working [22:32] johnpaulett has joined the channel [22:32] atmos: mbleigh: :) [22:32] clintandrewhall: mbleigh: best statement evar... love it [22:32] mape: mbleigh: What? [22:33] trotter: mbleigh: nice [22:34] JBenesch_ has joined the channel [22:34] rauchg has joined the channel [22:34] rauchg_ has joined the channel [22:34] geekfreak has joined the channel [22:34] _announcer: Twitter: "Hey, vote for our site repl http://nv/no.de # nodejs # nodeko @ ELV1S @ kadirpekel Misha Reyzlin http://nodeknockout.com/teams/nv" [ms] -- Kadir Pekel. http://twitter.com/kadirpekel/status/22472907308 [22:35] DTrejo_ has joined the channel [22:35] visnup: mape: does http://rallarpojken.no.de work? [22:36] mape: visnup: Should? [22:36] visnup: or does it not respond on that address? [22:36] _announcer: Twitter: "@jseidelin where does one start if I wanted to create an MMORPG with Javascript & node.js? with no prior knowledge of programming." -- aaroninfidel. http://twitter.com/aaroninfidel/status/22472995563 [22:36] visnup: mape: mine times out [22:36] mjr_: k [22:36] mape: visnup: bladderblocket.com c-names to that [22:36] johnpaulett: no--its dead code [22:37] visnup: mape: ...ok now neither are up for me [22:37] mape: I'm playing it right now with someone [22:37] _announcer: Twitter: "After 48 hours of coding like crazy the node.js knockout is coming to an end. Nodify is up and running. go check http://nodifyjs.com" -- Christos Stathis. http://twitter.com/chstath/status/22473076344 [22:38] mjr_: mape, are you doing a KO entry? [22:38] micheil: technoweenie: yeah, this ones client side [22:38] micheil: technoweenie: just for a bit of fun [22:38] technoweenie: oh cool [22:38] Dmitry has joined the channel [22:38] mape: mjr_: Yeah, but seems the joyent server doesn't want to play.. [22:38] micheil: technoweenie: and then I think I'll write some qunit or Y tests for the client-server protocol [22:39] micheil: so I can run and benchmark servers [22:39] micheil: or clients [22:39] micheil: or both [22:39] mape: visnup: Anyone from joyent close you can talk to? [22:39] visnup: yeah one sec [22:39] _announcer: Twitter: "Just over an hour left in @node_knockout. Holy shit I'm fried ... but CloudQ is looking really solid. #nodeko #node.js" -- Ben Vinegar. http://twitter.com/bentlegen/status/22473209714 [22:39] mjr_: mape: I'm anxious to see what you come up with. Your other stuff is always cool. [22:39] ryancnelson_: hi, mape [22:39] ryancnelson_: whassup [22:39] _announcer: Twitter: "Testing node.js is really, really hard. Callbacks make simple things frustrating." -- Nick Quaranto. http://twitter.com/qrush/status/22473218934 [22:40] kmooney has left the channel [22:40] mape: ryancnelson_: Trying to get my thingy to work, seems the server is down [22:40] mape: or the DNS or something is breaking [22:40] ryancnelson_: mape.no.de ? [22:40] mape: nope, rallarpojken.no.de [22:40] mape: or bladderblock.com [22:40] V1 has joined the channel [22:40] V1: Halp, Internet died lol [22:41] _announcer: Twitter: "Coding for Hermes in # j / # # nodejs 80sMusic http://bit.ly/duJN47" [de] -- Spot. http://twitter.com/spotnyk/status/22473303877 [22:41] puls: can somebody help me with joyent deploy errors over on #nodeko? [22:41] aaronblohowiak has joined the channel [22:41] mjr_: mape: I can't resolve bladderblockk.com [22:41] mjr_: er, with one k [22:41] V1: I can't commit my changes :(( [22:41] TooTallNate has joined the channel [22:41] sh1mmer: anyone know why console.log doesn't work from express? [22:41] tjholowaychuk: sh1mmer: it should..? i use it all the time [22:41] micheil: puls: #joyent [22:42] sh1mmer: tjholowaychuk: weird [22:42] mape: mjr_: does the site work for you? [22:42] micheil: tjholowaychuk: I saw similar issues [22:42] mjr_: mape: which URL? [22:42] tjholowaychuk: :S wtf [22:42] tjholowaychuk: that is weird... [22:42] _announcer: Twitter: "@qrush Check out http://vowsjs.org/ -- built for testing callbacks in nodejs." -- Chris Strom. http://twitter.com/eee_c/status/22473383005 [22:42] softdrink has joined the channel [22:42] tjholowaychuk: nothing in connect nor express touch console [22:42] sh1mmer: in fact I can't do sys.log either [22:42] tjholowaychuk: and i use it all the time just fine [22:42] mape: mjr_: any, rallarpojken.no.de or bladderblock.com [22:42] V1: No issues here either with logging [22:42] sh1mmer: tjholowaychuk: can you swing by for a sec [22:42] sh1mmer: if you are at joyent [22:42] tjholowaychuk: sh1mmer: where are you at [22:42] puls: micheil: thanks [22:42] tjholowaychuk: my laptop is just about to die haha [22:42] tjholowaychuk: one sec [22:42] sh1mmer: swordfish [22:42] sh1mmer: left if you leave the warroom [22:42] sh1mmer: k [22:43] mjr_: mape: it starts to load, but doesn't finish or something [22:43] mjr_: looks like loading WebSocketMain.swf gets stuck [22:44] jsilver_ has joined the channel [22:44] mape: Seems like the server is overall wonky [22:45] V1: But seriously my Internet is dead, I can't finish the node ko :(( [22:45] mape: anansi is breaking joyent? :P [22:45] JimBastard: V1: THEN WHO WAS IRC [22:45] mjr_: V1 how are you on IRC then? [22:45] V1: No thetheron iPhone either [22:45] stagas: mape: site doesn't load here either, WebSocketMain.swf seems to not finish [22:45] V1: 3G [22:45] JimBastard: also, I FUCKING HATE JQUERY UI (and love it) [22:45] atmos: don't ask those kinda questions mjr_ [22:45] atmos: :P [22:45] zemanel: /home/zemanel/.node_libraries/node-memcached/nMemcached.js:285 [22:45] zemanel: dataSet = Compression.Inflate( dataSet ); [22:45] zemanel: ^ [22:45] zemanel: TypeError: Object # has no method 'Inflate' [22:45] zemanel: at Stream. (/home/zemanel/.node_libraries/node-memcached/nMemcached.js:285:31) [22:46] V1: Zamanel I fucked that part up [22:46] gerad has joined the channel [22:46] stagas: mape: and a warning about client.js: Resource interpreted as script but transferred with MIME type text/plain. [22:46] V1: Compassion should be off [22:46] mape: stagas: Hmm that shouldn't matter [22:47] mape: visnup: Any luck? [22:47] visnup: ryancnelson_: is looking into it [22:47] micheil: bye chaps' and ladies. [22:48] mape: later [22:48] isaacs has joined the channel [22:48] V1: I need to jb my iPhone so I can update my repo lol [22:49] mjr_: V1: surely a friend or neighbor or cafe has an internet they can lend you. [22:49] cardona507_: so how does this thing officially end? I am working 100 % remote [22:49] mjr_: Promise to give it right back. [22:49] V1: It's 1200 am [22:49] jblanche has joined the channel [22:49] jblanche has left the channel [22:49] dgathright has joined the channel [22:49] mjr_: That sucks [22:49] cardona507_: and I just stop working before that point - thats easy - [22:49] cardona507_: how about judging and stuff [22:49] cardona507_: i'll check the site [22:49] V1: Yes it does suck balls [22:50] gerad: cardona507_: did you see the email? [22:50] mjr_: cardona507_: there was an email that went out about that [22:50] gerad: cardona507_: or the blog post [22:50] ryancnelson_: mape: your server is working fine... at least it's not network [22:50] gerad: cardona507_: or the tweet? [22:50] ryancnelson_: for example: [22:50] ryancnelson_: http://rallarpojken.no.de/static/js/1283120119000/client.js [22:50] andrehjr has joined the channel [22:50] ryancnelson_: works fine [22:50] mjr_: I should learn to type faster than gerad [22:50] gerad: cardona507_: :-) [22:50] gerad: mjr_: isn't there an app for that? [22:50] cardona507_: i don't see the email [22:50] aaronblohowiak: the final hour!!! [22:50] cardona507_: so i'll check the blog [22:50] mape: ryancnelson_: So any reason it would just stop? [22:51] gerad: cardona507_: http://nodeknockout.posterous.com/whats-up-next [22:51] c4milo has joined the channel [22:51] mape: Hmm works after I restarted the process, that is strange [22:51] cardona507_: thnx [22:51] mjr_: mape: it just unstuck [22:51] mape: mjr_: yeah reloaded [22:51] mjr_: something happened, and now it suddently works [22:51] cardona507_: so judging starts tonight at 8? [22:51] _announcer: Twitter: "Wow, C/C++ to JavaScript Compiler. Should have big implications for #nodejs and HTM5 webgames. http://bit.ly/aAm0RI" -- Joe McCann. http://twitter.com/joemccann/status/22473988490 [22:52] cardona507_: I am in california and am trying to figure out what 3:00 UTC is to me [22:52] cardona507_: :/ [22:52] cardona507_: come on wolfram alpha don't fail me now [22:53] trotter: faye + node is not a recipe for handling heavy load [22:53] visnup: mape: up for me now... [22:53] visnup: did you redeploy or anything? [22:53] mape: Yeah, seems when i restarted it works [22:53] mape: but I have no logs to see what caused it [22:54] ryancnelson_: now it's fine... something was blocking, but other specific assets were loading fine. [22:54] ryancnelson_: so, some service call (or something like that) was pausing on the page load [22:54] mape: That is strange, express is just serving templates [22:54] mape: everything else is over websockets [22:54] mape: static templates [22:54] softdrink: cardona507_: http://everytimezone.com/ [22:54] polotek: question folks [22:54] cardona507_: you rock [22:55] polotek: we're taking image uploads [22:55] mjr_: mape: http://idisk.me.com/mranney/Public/Pictures/Skitch/Web_Inspector_%E2%80%94_http__rallarpojken.no.de_-20100829-155440.jpg [22:55] polotek: and displaying them to others [22:55] polotek: what kind of disclaimer do we need to have about that [22:55] cardona507_: all I need to know is that I gotta stop in an hour [22:55] c4milo: mape: my browser tab die :S [22:55] mape: mjr_: yeah that is when it tries to connect to a dead websocket conn [22:55] cardona507_: there is no official check to say we are done or anything? [22:55] mape: c4milo: What browser? [22:55] c4milo: chrome [22:55] cardona507_: and then voting starts 3 hours after that through friday [22:55] c4milo: osx leopard [22:55] cardona507_: anyone can vote but they gotta vote at least 5 times for any votes to count [22:56] jamiew has joined the channel [22:57] _announcer: Twitter: "There's about to be a whole bunch of new websocket html5 games hitting the interwebs soon. #nodejs #nodeko" -- Ⓘⓢⓐⓐⓒ. http://twitter.com/izs/status/22474322929 [22:57] c4milo: omg ! [22:57] c4milo: it dies again ! [22:57] c4milo: mape: [22:57] mbleigh: EMERGENCY! [22:57] c4milo: I think I will restart my entire browser [22:58] mbleigh: does anyone have ANY IDEA what this stacktrace could mean: [22:58] mbleigh: http://gist.github.com/556787 [22:58] indexzero: Kyuri is done, check it out http://github.com/nodejitsu/kyuri [22:58] mape: tjholowaychuk: http://gist.github.com/556788 [22:58] indexzero: part of my nodeko entry [22:58] mape: c4milo: what browser? :S [22:59] mape: seems express/connect dies with to many connections [22:59] mape: which is really bad.. [22:59] mape: the gzipping? [22:59] tjholowaychuk: mape: EXPRESS_ENV=production ? [22:59] tjholowaychuk: i didnt write/never use the gzipping [22:59] tjholowaychuk: it sucks ass [22:59] aussiegeek has joined the channel [22:59] mape: how would I set that on a a joyent box? [23:00] konobi: set it in your .profile [23:00] tjholowaychuk: mape: not to sure I havent deployed anything but if you can ssh and set the env var [23:00] _announcer: Twitter: "Monitoring real-time editing Wikipedia with Node.js http://nodelay.no.de/" [ko] -- KIM Taeho. http://twitter.com/__ditto/status/22474536039 [23:00] atmos: konobi: nope [23:00] mape: so just vim add it and source /restart things? [23:00] tjholowaychuk: would be nice if it switches to NODE_ENV and their deploys can have that as production [23:00] tjholowaychuk: as a default [23:00] atmos: mape try ~/node-service/profile [23:00] tjholowaychuk: but that will prevent i/o for the views [23:01] c4milo: mape: the game is full , so sad :( [23:01] kmooney has joined the channel [23:01] c4milo: hehe [23:01] c4milo: now I'm in [23:01] mape: atmos: so add it there and do a restart? [23:02] jamescarr: heh. I dont think any version of safari works with done-js.no.de [23:02] atmos: mape yeah that should work [23:02] mjr_: mape: if a player ignores the window and gets selected as the drawer, the game is stuck [23:02] jamescarr: that'll lose us points as every judge uses a MBP :( [23:02] mape: mjr_: Know, will fix it now [23:02] overra: http://done-js.no.de/preview/TfvbblJf [23:02] mbleigh: i take it no one has any clues on http://gist.github.com/556787 - it's totally f-cking me up [23:03] Tim_Smart has joined the channel [23:04] V1 has joined the channel [23:04] isaacs: mbleigh: what are you doing when that happens? [23:04] ryah: http://node-us.no.de/ <-- cute [23:04] cardona507_: alright - I guess I am done http://nko-trisomic-propus.heroku.com/ - off to have some food with the family - best of luck everyone - :) [23:04] mbleigh: isaacs: i THINK it's happening when i'm trying to fetch and parse some HTML [23:04] isaacs: mbleigh: is your parser emitting an "error" event that your'e not listening to? [23:05] isaacs: mbleigh: uncaught "error" event sthrow [23:05] mjr_: mape's game is fun [23:05] c4milo: really fun [23:05] mjr_: Playing it with the kids. [23:05] drudge: what game is his [23:05] mbleigh: isaacs: not sure, but it's not being caught when i wrap almost everything in a try catch [23:06] mbleigh: it still crashes the server [23:06] mbleigh: which is bad news for me [23:06] jamescarr: overra, quit sharing? [23:06] drudge: http://nodebodies.no.de/ this is nicely done [23:06] overra: jamescarr: yeah i see that now [23:07] _announcer: Twitter: "Just finished my #nodeko app. Stepping away for dinner with family. Best of luck to everyone still coding. Remeber - cut features! #nodejs" -- Carlos Cardona. http://twitter.com/cgcardona/status/22474986379 [23:07] overra: pretty neat, how it only shares while i have the window open [23:07] Blackguard has joined the channel [23:07] polotek: anybody dropped google analytics into the joyent boxes? [23:07] _announcer: Twitter: "Vows - http://vowsjs.org/ - behavior driven development framework for #nodejs built to test asynchronous code - simply delicious!" -- Maciej Zgadzaj. http://twitter.com/maciejzgadzaj/status/22475041695 [23:07] polotek: does it work as expected? [23:08] tjholowaychuk: lots of bespin [23:08] _announcer: Twitter: "Finished my very first #nodejs app! Used #socket.io. So satisfying to learn dive into a new mindset of web dev. Web sockets FTW" -- Ken Snyder. http://twitter.com/tr0gd0rr/status/22475084048 [23:09] ryah: http://salamander.no.de/ [23:10] jamescarr: overra, yeah, I think I need to add something that makes it clearer... [23:10] jamescarr: what makes done-js.no.de cool is the file isn't uploaded until someone requests it [23:10] c4milo: mape: when there are many people, it turns a little slow in the chat [23:10] samdk: nodeKO question: is it possible to get an alternate URL as the link to our knockout solution? rather than teamname.no.de? [23:10] mape: slow? [23:11] mape: c4milo: that might be because I'm doing 600/req per sec on the site to make sure it will hold up in 50min :P [23:11] mape: Hopefully the production env did it [23:12] jamescarr: Richard Stallman stopped by the joyent offices and played ping pong!? [23:12] jamescarr: http://blip.tv/file/4057531 [23:12] mape: What? [23:12] jamescarr: just joking about the guy that looks like RMS [23:12] jedschmidt has joined the channel [23:12] ivong has left the channel [23:13] V1 has joined the channel [23:13] ryah: i love all these games [23:14] ryah: it's so awesome [23:14] mape: All play, nothing serious :P [23:14] jedschmidt: hey there noders, i'm thinking about stopping by HQ in a few minutes to catch the final dash... can someone let me in? [23:15] lorennorman: ryah: its amazing that the browsers - websockets - node all hold up so well to the high rate of updates games require! [23:15] overra: oh wtf, two heads hit eachother :( [23:15] lorennorman: this is a big deal [23:16] ryah: swarmnation is RAD [23:16] overra: swarmnation? [23:16] jamescarr: NodeKO generated a lot of games [23:17] jamescarr: Rails Rumble doesnt do that, does it? [23:17] webandy has joined the channel [23:17] CrabDude: anyone know where the vote badge code is? [23:17] ryah: overra: http://swarmation.com/ [23:17] nerdEd has joined the channel [23:17] jamescarr: CrabDude, Node Knockout Posterous [23:19] mape: ryah: awsome idea [23:19] ajpiano has joined the channel [23:19] c4milo: mape !! [23:20] c4milo: my tab die !! [23:20] mape: What browser? [23:20] c4milo: wife's tab in another computer as well [23:20] c4milo: chrome [23:20] mape: And info on why? [23:20] c4milo: Aug 29 19:14:21 macbooksito sandboxd[26528]: Google Chrome He(26527) deny mach-lookup com.apple.windowserver.session [23:20] c4milo: Aug 29 19:14:24 macbooksito sandboxd[26528]: Google Chrome He(26529) deny mach-lookup com.apple.windowserver.session [23:20] c4milo: I catch that on my system log [23:21] ehaas has joined the channel [23:21] c4milo: mape: and then this Aug 29 19:19:45 macbooksito [0x0-0x5bd5bd].com.google.Chrome[26484]: [26484:22019:121969388380499:ERROR:/b/slave/chrome-official5-mac/build/src/chrome/browser/renderer_host/socket_stream_host.cc(51)] ViewMsg_SocketStream_Closed failed. [23:21] c4milo: Aug 29 19:19:45 macbooksito [0x0-0x5bd5bd].com.google.Chrome[26484]: [26484:22019:121969388678263:ERROR:/b/slave/chrome-official5-mac/build/src/chrome/browser/renderer_host/socket_stream_host.cc(51)] ViewMsg_SocketStream_Closed failed. [23:21] polotek: tjholowaychuk: hey [23:21] mikeal has joined the channel [23:22] polotek: can you point me to an example of using inline javascript with jade? [23:22] polotek: it's crapping out the way I'm trying to do it [23:22] jedschmidt: isaacs: there? can you come down and let me in in 15 minutes? [23:22] c4milo: mape: weird I refreshed and the wife's tab die at the same time [23:22] isaacs: yeah, just call up when you're here [23:22] isaacs: jedschmidt: ^ [23:22] mape: c4milo: that is strange [23:22] jedschmidt: isaacs: cool, headed over. [23:22] tjholowaychuk: polotek: ummm ./examples/layout.jade or something [23:22] _announcer: Twitter: "checking out the express framework guide. http://bit.ly/am3NAI #nodejs" -- Matthew Kane Parker. http://twitter.com/moonmaster9000/status/22476025896 [23:22] jsilver__ has joined the channel [23:23] tjholowaychuk: polotek: you just have to use | as the text margin, but you can use interpolation for dynamic stuff in there [23:24] c4milo: mape: confirmed [23:24] cardona507 has joined the channel [23:24] c4milo: this is the message when that happend [23:24] c4milo: Aug 29 19:23:08 macbooksito sandboxd[26551]: Google Chrome He(26550) deny mach-lookup com.apple.windowserver.session [23:25] cheriot__ has joined the channel [23:26] mape: c4milo: Think I have a fix for it [23:26] kperch has joined the channel [23:26] overra: swarmnation need a mumble or vent server so we can coordinate! [23:26] mape: hehe [23:26] rauchg: who is the genius behind swarmnation [23:26] bradleymeck2: overra fluorine.typefrag.com:6151 vent [23:26] overra: they're too busy playing lol [23:27] overra: for real? [23:27] c4milo: mape: I think this is the issue http://code.google.com/p/chromium/issues/detail?id=30143 [23:28] overra: hmm, does anyone know if you can stream audio over a websockets and play it through an audio tag [23:28] mjr_: overra: I don't think you can [23:29] mjr_: I think it needs a URL for the media file [23:29] mape: c4milo: could you try agian? And make sure you really cleared the cache? [23:29] AAA_awright: overra: Just play an audio streem [23:29] Blackguard_ has joined the channel [23:29] [[zz]] has joined the channel [23:29] overra: i'm thinking about something like a web based mumble client [23:29] overra: not sure it's possible though [23:30] c4milo: mape: I'm clearing my cache now [23:30] AAA_awright: overra: Just play a real audio stream with the tag... [23:30] saikat has joined the channel [23:30] AAA_awright: overra: I've contemplated that too [23:30] c4milo: mape: It may be a bug with chrome [23:30] overra: AAA_awright: ever thought about PBX+mumble? [23:30] Tim_Smart: I wish I didn't have so much on this weekend, I could have got my entry finished. [23:30] mape: c4milo: happened again? [23:31] overra: so you could call into a mumble server and speak with several people [23:31] c4milo: mape: not yet [23:31] AAA_awright: overra: No, pfft that would be hard I imagine [23:31] rauchg: overra not possible yet [23:31] rauchg: but will be [23:31] overra: not possible? :( [23:31] mw__ has joined the channel [23:31] matschaffer has joined the channel [23:32] AAA_awright: You still have to encode the data and by that point you are better off just playing the stream through Flash or an object tag [23:32] AAA_awright: like audio or object [23:32] Tim_Smart: http://error-500.no.de/ looks nice [23:32] JimBastard: ACTION prob shouldnt have waited to the last minute to buy the domain [23:32] jdub: http://gist.github.com/556811 <- how to use my updated twitter-node with userstreams and oauth [23:32] ryah: saber-tooth-moose-lion.no.de is swarmation.com [23:32] andrehjr has joined the channel [23:33] overra: can't wait until , hope it includes usb and others [23:33] AAA_awright: overra: Also, the claim to fame for mumble is the very low latency, that is faster than the speed of sound at 20 meters, doing it through the browser would kill that [23:33] jdub: ryah: quick theory q for you if you have a moment [23:33] SoldierOfCode: DONE!!!!! http://soldier-of-code.no.de/ [23:33] mape: c4milo: let me know if it wonks out [23:34] _announcer: Twitter: "node.js programming contest. Closing Soon the 48h time limit like. @ Jxck_ you said before that Hakkason node.js of this is that I can. http://nodeknockout.com/" [ja] -- Kosei Moriyama. http://twitter.com/cou929/status/22476758968 [23:34] c4milo: mape: sure [23:34] overra: yeah i think i tested it out and could hear myself from a server thousands of miles away, about as well as i could hear the words coming out of my mouth [23:34] charlenopires has joined the channel [23:34] zomgbie has joined the channel [23:34] _announcer: Twitter: "installing the @coffeescript compiler and getting ready to try out express for node.js." -- Matthew Kane Parker. http://twitter.com/moonmaster9000/status/22476815363 [23:35] JimBastard: hey gerad , all@nodeknockout.com goes to someone running knockout right? [23:35] jdub: AAA_awright: low latency just gives you the room to add latency if you need it :-) [23:35] overra: AAA_awright: it would be nice to not have to have a mumble client though, kinda like a meebo for voice servers [23:35] gerad: JimBastard: yes [23:35] JimBastard: 10-4 [23:36] AAA_awright: overra: You would probably have to program a Java client or something, idk if even Flash would be good enough, and then you interact with that using an HTML/Javascript interface [23:36] ryah: jdub: ok [23:36] overra: yeah, it's a few years off, just ideas nothing i need to accomplish :) [23:37] jdub: ryah: i have a plain text protocol over a unix socket, but the requests/responses (writes/reads) are not tagged as related [23:37] jdub: ryah: so a single evented 'data' stream can be confusing [23:37] tjholowaychuk has joined the channel [23:38] rauchg has joined the channel [23:38] jdub: ryah: i've tried queuing callbacks to run as each response completes [23:38] jdub: ryah: but it feels icky and fragile [23:38] c4milo: mape: what did you do ? now works well [23:38] jdub: is there a more sensible way to do this, or is it hampered by the protocol? [23:38] mape: c4milo: just made sure you weren't writing to the socket when it was doens [23:38] mape: glad it works now [23:38] ryah: jdub: hm [23:38] ryah: jdub: you can reply in the order that they came in [23:39] c4milo: mape: that makes sense [23:39] jdub: ryah: that's pretty much what my callback queue achieved, i think [23:40] jdub: ryah: i also experimented with pause/resume, but... still seems fragile and silly ;) [23:40] Astro: my heart... [23:40] stagas: http://swarmation.com/ fun [23:40] ryah: jdub: you can tag each request with a seq number [23:40] ryah: jdub: and add that in the response [23:40] ryah: then youc an respond out of order [23:41] _announcer: Twitter: "bitsuckr.net is good project for .torrent using html5 and nodejs #nodejs #html5 #nodeko" -- Régis Gaidot. http://twitter.com/rgaidot/status/22477239228 [23:42] _announcer: Twitter: "Having a fun time with my #nodeko entry http://bladderblock.com along with @paul_irish and some other folks. #nodejs" -- Mathias Pettersson. http://twitter.com/mape/status/22477303192 [23:42] jdub: ah, instead of just a queue; hrm. i can't relaly add tthat to the reponse tho. [23:42] jdub: hmmmmmm [23:44] jacobolus has joined the channel [23:44] jdub: i suppose i could always just check if the socket is active, and make a new connection if it is ;-) [23:45] mape: anansi is raping the leader board [23:46] mape: c4milo: crashed again? :S [23:46] c4milo: mape: my tab died again and I cleaned my cache [23:46] overra: same [23:46] mape: Bah damit [23:46] c4milo: mape: yes [23:46] overra: i <3 ice? [23:46] BrianTheCoder: how do I render without a layout in express? [23:47] _announcer: Twitter: "#Rails 3 is finally released... during #nodeko. No one notices. #nodejs" -- Jeff Waugh. http://twitter.com/jdub/status/22477604752 [23:47] c4milo: mape: this was the message in the log [23:47] c4milo: ug 29 19:41:41 macbooksito [0x0-0x5bd5bd].com.google.Chrome[26484]: 2010-08-29 19:41:41.475 Google Chrome Helper[26587:207] __CFServiceControllerBeginPBSLoadForLocalizations received error 1100 from bootstrap_look_up2 [23:47] c4milo: Aug 29 19:41:41 macbooksito sandboxd[26609]: Google Chrome He(26587) deny mach-lookup com.apple.pasteboard.1 [23:47] c4milo: Aug 29 19:41:41 macbooksito sandboxd[26609]: Google Chrome He(26587) deny mach-lookup com.apple.pbs.fetch_services [23:47] c4milo: Aug 29 19:41:41 macbooksito sandboxd[26609]: Google Chrome He(26587) deny mach-lookup com.apple.system.logger [23:48] V1: Still no Internet here [23:48] TooTallNate: swarmation.com has crashed on me twice [23:48] mape: Bah and it won't work, express won't serve the page _>< [23:48] c4milo: mape: but don't worry, this game is so funny that I don't care about crashes :P [23:48] hassox: lads [23:48] hassox: is there anything special we need to do to say "finished"? [23:49] andrei:  [23:49] jedschmidt has joined the channel [23:49] _announcer: Twitter: "oh snap that's sexy! hello coffeescript + express/node.js http://bit.ly/b8A7Ix" -- Matthew Kane Parker. http://twitter.com/moonmaster9000/status/22477762919 [23:50] gerad: hassox: nope [23:50] gerad: hassox: just stop deploying [23:50] gerad: hassox: and then also, make sure your app description is up to date [23:51] TooTallNate: YES! That "fortess" is a beast. 17 points! [23:51] V1: Share your Internet with the poor [23:51] gerad: http://nodeknockout.posterous.com/ [23:51] _announcer: Twitter: "Suddenly Node.js doesn't looks so bad with coffescript. Hah." -- Seivan Heidari. http://twitter.com/Seivanheidari/status/22477894441 [23:51] jesusabdullah: Nine minutes! D: [23:52] mape: gerad: It is still ok for me to reload the server? [23:52] mape: node-service-reload [23:52] mape: Seems it hangs after a certain amount of requests :/ [23:52] _announcer: Twitter: "We are done! Check out the hard work - http://bit.ly/awesome-town Awesome job @cashion @matschaffer #nodejs #nodeko" -- thoughtmerchant. http://twitter.com/thoughtmerchant/status/22477963658 [23:53] gerad: mape: yes, you can admin your server during the judging week but not change code [23:53] gerad: see the link i just posted [23:53] mape: yeah, k [23:53] visnup: crap 7 minutes [23:53] mape: So anyone feel like helping me fix this in 7min? :P [23:53] mape: I can links **** and it works [23:54] gm__: hi [23:54] gm__: :D [23:54] mape: I can get static content through the browser but the page won't load at all if I go to / [23:54] _announcer: Twitter: "Tech Talk on Ryan Dahl com Node.js http://youtu.be/F6k8lTrAE2g # nodejs # v8javascript # io # C10K # sensational" [es] -- Rodrigo Pinto. http://twitter.com/rodrigoospinto/status/22478054127 [23:54] mape: On http://bladderblock.com/ [23:54] gm__: any hints about node.js on mac giving a tra like (libev) select: Invalid argument ? [23:54] V1: Internet!! b bbbb!!!!!!!!! [23:55] BrianTheCoder: how do you render without a layout? [23:55] BrianTheCoder: anyone? [23:55] joshbuddy has joined the channel [23:55] joshbuddy has joined the channel [23:55] V1__ has joined the channel [23:55] apemsel has joined the channel [23:55] V1__: YES! just in time [23:55] apemsel: dito, just in time *g* [23:55] V1__: 5 minutes before final i got my internet back [23:55] apemsel: re folks [23:55] V1__: fucking hoax [23:55] _announcer: Twitter: "#node.js #nodeko projects using socket.io http://gist.github.com/556830 (and probably more!)" -- Guillermo Rauch. http://twitter.com/rauchg/status/22478149438 [23:55] _announcer: Twitter: "And we are done with 4 min to spare. #nodeko http://node-us.no.de/ #nodejs" -- Josh. http://twitter.com/applepie/status/22478167264 [23:56] BrianTheCoder: anyone? [23:56] BrianTheCoder: great I'm going to not finish cause of shitty doc [23:56] JimBastard: aight we done [23:56] visnup: render x, { layout: false } [23:56] JimBastard: huzaah [23:56] gm__: well. will wait after KO :) [23:56] JimBastard: ill post a link shortly [23:56] gerad: @render 'partials/votes/index.html.jade', { layout: false } [23:56] gerad: BrianTheCoder: @render 'partials/votes/index.html.jade', { layout: false } [23:56] visnup: render('foo', { layout: false}) [23:57] BrianTheCoder: thx [23:57] gerad: 3 minutes left!!!! [23:57] jacquesc: ahhhh [23:57] polotek: okay folks [23:57] joshthecoder: had a lot of fun with this contest [23:57] atmos: ACTION did too [23:57] polotek: http://bearshark.no.de/ [23:57] joshthecoder: node ftw [23:57] stonebranch has joined the channel [23:57] mbleigh: and that's a wrap [23:57] mbleigh: http://flockfeeds.com [23:57] polotek: ACTION drops his laptop and walks away [23:57] c4milo: mape !! my tab die again [23:58] mape: c4milo: :/ [23:58] mape: And the page won't load [23:58] jacquesc: lets see some urls peeples [23:58] mape: think it has something to do with the websocket server [23:58] apemsel: http://codexmeus.no.de - probably the most boring idea, but we need it for work *g* [23:58] jacquesc: http://scrabb.ly [23:58] slaskis: ehm, what's up with joyent? [23:58] technoweenie has joined the channel [23:58] slaskis: is it down for maintenance? [23:58] sarenji: i wish i had 1 more hour :( [23:58] polotek: slaskis: no [23:58] mape: you have 1min [23:59] slaskis: i've pushed but nothing shows up [23:59] ryancnelson_: could you be a little more specific slaskis? [23:59] slaskis: it worked before [23:59] technoweenie: jedschmidt: hey dude, did you see i got my hands dirty w/ fab [23:59] Astro: aawwww [23:59] atmos: done [23:59] atmos: :D [23:59] _announcer: Twitter: "I CANT FUCKING BELIEVE IT THAT THE UMEBOSHI FIRETEAM MADE IT ON TIME!!! I NEED TO DRINK. http://umeboshi-fireteam.no.de/ #nodeko #nodejs" -- Fabricio Zuardi. http://twitter.com/fczuardi/status/22478407254 [23:59] joshthecoder: technoweenie: hey thanks for twitter-node [23:59] joshthecoder: we used it to power our app [23:59] ryah: 10 seconds! [23:59] ryah: 5! [23:59] technoweenie: sweet