[00:00] mscdex: the north pole? [00:00] mscdex: :P [00:00] Tim_Smart: In digits? I'm playing with the twitter api [00:00] Tim_Smart: 180 to -180 right? [00:01] stagas: no [00:01] stagas: -90 +90 [00:01] Tim_Smart: stagas: That skips out half the earth :/ [00:02] stagas: yes you're probably right [00:02] stagas: heh [00:02] Tim_Smart: Yeah 180 to -180 makes sense [00:03] mattly has joined the channel [00:03] stagas: longitude is -180 +180 and latitude is -90 +90 [00:04] Tim_Smart: Sweet. [00:04] stagas: greenwich and equator are the 0s [00:06] stagas: (so diminishing for them) [00:06] stagas: lol [00:07] stagas: I've had a few drinks don't pay attention [00:07] _announcer: Twitter: "Just registered for http://nodeknockout.com/. 48hrs, node.js, prizes and glory. It's on!" -- aaron heckmann. http://twitter.com/aaronheckmann/status/17610144502 [00:08] _announcer: Twitter: "couldn't get node.js running on the ipad this week. time to learn some python." -- Scott Fitchet. http://twitter.com/figital/status/17610203547 [00:08] Tim_Smart: Urgh twitter does allow -180,-90,180,90 [00:08] Tim_Smart: :p [00:08] Tim_Smart: *doesn't [00:09] stagas: 0 360 0 180 ? [00:09] Tim_Smart: stagas: They only allow 1 degree edges or something [00:09] Tim_Smart: s/edges/sides/ [00:09] _announcer: Twitter: "Ryan Dahl: “Introduction to NodeJS” (58 min.) http://tumblr.com/xzscmhi5d" -- wacker. http://twitter.com/wacker/status/17610292328 [00:10] stagas: bounty really works in SO [00:13] malkomalko: mscdex: I installed libxmljs and your snippet worked like a charm, thanks... just getting annoying xmlMemFree(60B320) error's in the console [00:13] stagas: I'm making a super fun project in node and the browser I hope I finish it [00:15] mscdex: malkomalko: good to hear. yeah that output is a known problem, there's already a github issue regarding it [00:16] malkomalko: yah, just found it [00:16] malkomalko: much appricated [00:16] mscdex: np [00:17] stagas: Tim_Smart: you're at the end of the world, how's it like there? :P [00:17] Tim_Smart: Winter [00:17] Tim_Smart: Overcast / cloudy today [00:17] mscdex: tell bigfoot, elvis, and the chupacabra i said hi [00:17] mscdex: :P [00:18] stagas: it's summer here tonight is hot as hell [00:19] mscdex: oh, i thought we were still talking about the end of the world as being -180,-90,180,90 or whatever :P [00:19] stagas: Tim_Smart is probably off the scale there [00:19] stagas: :P [00:19] stagas: (watching wargamez.mape.me) [00:20] Tim_Smart: Damn twitter API limiting [00:20] Tim_Smart: (And Google Geocoding API is limited too..) [00:20] kersny has joined the channel [00:22] stagas: that app should be merged in irc protocol it's so fun [00:22] bmizerany has joined the channel [00:24] _announcer: Twitter: "Testing... node.js + socket.io + <canvas> http://mrdoob.com/lab/javascript/multiuserpad/ Thanks for the push @kschzt!" -- Mr.doob. http://twitter.com/mrdoob/status/17611052713 [00:26] tmpvar: Tim_Smart [00:26] tmpvar: boom [00:26] steven_t has joined the channel [00:27] Tim_Smart: tmpvar: Bam. [00:27] tmpvar: mape, wargamez is pretty awesome :) [00:28] stagas: tmpvar: attack! [00:28] Tim_Smart: stagas: Flanked. [00:29] tmpvar: creationix [00:29] stagas: mscdex: just because you're a lonely dot there :P [00:30] a: i've found a bug :P [00:31] creationix: tmpvar: hey, I'm about to head out, bbl [00:31] stagas: all a letters go to me now hehe [00:31] tmpvar: np, was just looking at wargamez heh [00:35] DarthShrine has joined the channel [00:35] _announcer: Twitter: "“@aaronheckmann: Just registered for http://nodeknockout.com/. 48hrs, node.js, prizes and glory. It's on!” <-- samesies!!!" -- Jim Van Fleet. http://twitter.com/bigfleet/status/17611670878 [00:36] mscdex: wha? [00:36] creationix has joined the channel [00:42] brianmario has joined the channel [00:42] mklappstuhl has joined the channel [00:46] DarthShrine: So, I'm trying to wrap my head around asynchronousness here. I'm trying to perform a map on an array of IDs which grabs a value from the DB for each ID for rendering later, but I can't figure out the asynchronous map. Code here: http://gist.github.com/462141 [00:47] zaach has joined the channel [00:51] _announcer: Twitter: "node.js knockout http://bit.ly/biO1rw" -- maxschulze. http://twitter.com/MaxSchulze/status/17612555288 [00:52] stagas: DarthShrine: I'm dizzy [00:52] stagas: use Step or something [00:54] DarthShrine: stagas: Okay, I'll check it out. [00:54] dmshann0n has joined the channel [00:56] khug: Hey all - did someone post a fixed version of typeof the other day? [00:56] mklappstuhl has joined the channel [00:57] huyhong has joined the channel [00:58] mscdex: khug: fixed how? [00:59] khug: on that reports arrays and null as not "object" [00:59] khug: *one [00:59] JimBastard has joined the channel [01:00] khug: ideally I'd like to modify it to report dates and such properly as well [01:01] mde: khug: So you want something that knows what something is instanceof, right? [01:01] mscdex: khug: why not used instanceof? [01:01] mscdex: *use [01:02] mde: instanceof is great if you know what the choices are. [01:02] mde: But if you're in the browser, instanceof fails across window boundaries for Array. [01:02] JimBastard: http://github.com/marak/javascript-fu [01:02] JimBastard: ? [01:02] JimBastard: >.< [01:03] mscdex: tofu [01:03] mde: Pretty common to use an isArray check for that. [01:03] mscdex: huhu [01:03] mscdex: yeah that too [01:03] mde: E.g, length is a number, splice if a function, etc. [01:03] _announcer: Twitter: "wants to find something fun to do with node.js..." -- Geoffrey Gallaway. http://twitter.com/geoffeg/status/17613225832 [01:05] _announcer: Twitter: "Screencast: nodejs # & # @ websockets from anoras - http://bit.ly/bCHPJq # js # ssjs # # dev webdev" [de] -- Spot. http://twitter.com/spotnyk/status/17613307027 [01:06] khug: yeah, I suppose instanceof will work for now [01:06] mde: khug: FWIW: http://gist.github.com/462157 [01:07] Tim_Smart: Does someone want to visit http://121.79.216.71:8080/ and look at their JS console? [01:07] paulwe: Tim_Smart: {"messages":["{\"sessionid\":\"8333885113243014\"}"]} [01:07] Tim_Smart: paulwe: Cool. Anything else? [01:08] paulwe: yeah, just got something [01:08] mde: Tim_Smart: Chrome is complaining that the CSS has text/html MIME type. [01:08] paulwe: Object { text="@Teachme247 lol u silly http://myloc.me/8JJna", more...} [01:08] paulwe: Object { text="13-107 A1 AMSTERDAM OU...:43 #p2000 #watiserloos", more...} [01:08] paulwe: Object { text="@Cristiano #portugal!!!:0)", more...} [01:08] Tim_Smart: paulwe: Brilliant. [01:08] paulwe: etc... [01:08] mklappstuhl: am i wrong or does underscore.js's .uniq() not work for strings? [01:08] Tim_Smart: mde: Because I haven't got CSS for my asset-packager to find yet [01:08] Tim_Smart: mde: So its sending a 404 [01:08] mde: Ah, gotcha. [01:08] mde: Ah, right on. :) [01:09] Tim_Smart: Its falling back to multipart for firefox - great! [01:09] mde: And I'm getting the same parade of objects, yeah. [01:09] khug: sweet - that quack sounded arrayish to me :-) [01:10] mde: Heheh [01:10] Tim_Smart: mde: I'm just filtering out geo tagged tweets, [01:10] mde: Ah, interesting. [01:10] Tim_Smart: From the twitter sample stream. [01:11] bmizeran_ has joined the channel [01:14] BrianTheCoder has joined the channel [01:14] BrianTheCoder_ has joined the channel [01:15] brainproxy has joined the channel [01:16] danicgross has joined the channel [01:16] Tim_Smart: mde: Well the server side is the easy bit. Doing something interesting with the data.. [01:17] danicgross: hey, is does anyone know of an IMAP plugin for node? [01:17] Tim_Smart: mde: http://gist.github.com/462165 [01:19] JimBastard: i dunno about IMAP danicgross but there is smtp [01:21] danicgross: do you mean this: http://gist.github.com/278814 [01:21] danicgross: or is there something else that i haven't seen? [01:22] mscdex: several months ago someone on the ML said they wrote an imap client, but i don't know if they ever made it publicly available anywhere or not [01:23] danicgross: ok. i'm writing one up now, i just wanted to make sure there isn't anything active out there that i missed [01:23] sat has joined the channel [01:26] Tim_Smart: geotweets: http://121.79.216.71:8080/ [01:26] Tim_Smart: UI coming soon. [01:27] streblo has joined the channel [01:30] malkomalko: man, combined with jsonpath, your solution is kicking ass mscdex [01:30] mscdex: glad to hear it's working for you :-) [01:31] malkomalko: pretty sweet for dealing with web api's now [01:34] mscdex: yep [01:35] mscdex: i originally wrote it to deal with the stackoverflow api [01:35] _announcer: Twitter: "going thru node.js documentation; so many things seem to have changed just in 6 months" -- prajwal tuladhar. http://twitter.com/infynyxx/status/17615007031 [01:36] _announcer: Twitter: "BlisterPipe Testing... node.js + socket.io + <canvas> http://mrdoob.com/lab/javascript/multiuserpad/ Thanks for th... http://bit.ly/cPHfMv" -- BlisterList. http://twitter.com/BlisterList/status/17615031814 [01:38] jacoblyles has joined the channel [01:38] halorgium: Tim_Smart: you're lucky i can visualise lat/long [01:40] Tim_Smart: halorgium: I'll plot it to a map with raphael soon ;) [01:40] mscdex: nooooo they're ruining my artwork! [01:43] [[zz]] has joined the channel [01:43] BrianTheCoder has joined the channel [01:44] jakehow has joined the channel [01:44] JimBastard has joined the channel [01:45] mscdex: that sketchpad is pretty neat [01:46] mscdex: hmmm... [01:47] JimBastard: . __ [01:47] JimBastard: . _____ __ ___ /\_\ ____ [01:47] JimBastard: . /\ '__`\ /'__`\ /' _ `\ \/\ \ /',__\ . /\ '__`\ /'__`\ /' _ `\ \/\ \ /',__\ [01:47] JimBastard: . \ \ \L\ \/\ __/ /\ \/\ \ \ \ \ /\__, `\ [01:47] JimBastard: . \ \ ,__/\ \____\\ \_\ \_\ \ \_\\/\____/ [01:47] JimBastard: . \ \ \/ \/____/ \/_/\/_/ \/_/ \/___/ [01:47] JimBastard: . \ \_\ [01:47] JimBastard: . \/_/ [01:47] JimBastard: lol [01:48] JimBastard: inappropiate! [01:48] steven_t: diggin [01:49] mscdex: ? [01:55] mostlygeek has joined the channel [01:57] _announcer: Twitter: "translate.js - Babelfish JavaScript for the browser and from # @ nodejs maraksquires http://bit.ly/d7pUI3" [it] -- The Changelog. http://twitter.com/changelogshow/status/17616227675 [01:59] JimBastard: swish! [02:00] bradleymeck1: give me a sec jim utility is about to come back w/ tweet-translate [02:02] khug has joined the channel [02:08] DTrejo has joined the channel [02:09] DTrejo: hey guys [02:09] JimBastard: nice bradleymeck [02:09] stepheneb has joined the channel [02:09] DTrejo: JimBastard: check out my side project: http://news.ycombinator.com/item?id=1482928 [02:09] JimBastard: ughhhhhhhh [02:10] JimBastard: my home ip is still miserabled [02:10] JimBastard: so it takes a long time to load links [02:10] DTrejo: aw [02:10] DTrejo: well then go straight to mixest.com [02:10] JimBastard: http://www.mixest.com/ [02:10] JimBastard: yeah [02:10] JimBastard: its taco time IRL [02:10] DTrejo: and maybe the music will play [02:10] JimBastard: brb [02:10] DTrejo: hopefully [02:11] _frankie has joined the channel [02:12] bradleymeck: whew [02:13] bradleymeck: !translate Japanese hello everybody! [02:13] _utility: みなさんこんにちは! [02:13] mscdex: at first i read that as mixtest [02:15] DTrejo: mscdex: yeah I have similar problems sometimes [02:16] dgathright has joined the channel [02:16] DTrejo: if anyone else wants to check out my side project, feedback is appreciated :) http://news.ycombinator.com/item?id=1482928 [02:19] Vekz: DTrejo the light on lite color theme could use some help [02:20] DTrejo: yeah I guess it's hard to read [02:20] Vekz: yeah it obscures some of the features as well [02:20] DTrejo: Vekz: meaning hard to tell they exist? [02:21] Vekz: yeah like i couldn't tell if the hearts were buttons or decorative water marks [02:21] huyhong: DTrejo: it's not clear what's a link and what's text [02:22] mtodd has joined the channel [02:22] huyhong: i.e. "We're new" is the same color as links [02:24] DTrejo: yeah [02:24] DTrejo: we need to work on that [02:27] _announcer: Twitter: "@ JunoTweet then using server-side programming with Javascript NodeJS bosimyi push? Uh, I may recommend it to wrap themselves called jujeongong." [ko] -- A.J. http://twitter.com/andrwj/status/17617997235 [02:28] mscdex: whaaaat? lol [02:33] _announcer: Twitter: "@ericflo I'm so glad that you didn't point to my node.js project. I may have cried haha." -- Colin Gourlay. http://twitter.com/login_required/status/17618334350 [02:38] coolston_bro has joined the channel [02:41] everton has joined the channel [02:46] paulwe: huyhong: must depend on gamma... it's pretty readable for me o.O [02:48] everton has joined the channel [02:48] huyhong: paulwe: Has more to do with what a user expects to be a link vs. what's text. Right now, all the text and links are the same color, so the only way a user can predict the behavior of the site is to hover their mouse over, which is not an optimal scenario. [02:49] paulwe: ah, righto [02:49] paulwe: ACTION is not a designer [02:50] mscdex: ACTION is not a doctor nor a brick layer [02:50] sechrist has joined the channel [02:52] khug: soooo….. it seems like CommonJS includes execute within the process, but have no write access to the global object. Does that make sense to anyone? [02:52] khug: btw: mixest is awesome. [02:53] paulwe: khug: is that true? i've been using underscore.js without any magic and it doesn't export anything [02:53] DTrejo: thank you khug, upvote us if you haven't already :) [02:54] khug: I thought underscore added to exports as well [02:55] mde: khug: I don't think it's part of CommonJS, but at least in Node you can write to the global. [02:55] zapnap has joined the channel [02:55] paulwe: oh, i lied, underscore does write to exports [02:56] paulwe: my bad... [02:59] khug: It's exporting to global just fine; I must be losing my mind. [03:00] khug: OH [03:00] khug: this is set to exports in CommonJS [03:00] khug: I'm used to "this" in the "global" scope being either global or window [03:00] jedschmidt has joined the channel [03:01] mde: Ah, right, that's the whole thing of sandboxing a module. [03:07] Tim_Smart: mape: http://121.79.216.71:8080/ [03:07] ryah: hi [03:07] Tim_Smart: The locations are a bit out... but still works good. [03:07] Tim_Smart: Hey ryah :) [03:09] Tim_Smart: People tweet in india :p [03:10] mscdex: :o [03:16] liucougar has joined the channel [03:17] sechrist has joined the channel [03:19] isaacs has joined the channel [03:23] derferman has joined the channel [03:24] sechrist has joined the channel [03:26] pkrumins: any way to get current time with microsecond resolution in node.js? [03:26] pkrumins: or do i have to write a new module for that? :) [03:27] _announcer: Twitter: "Comet with node.js and V8 - amix.dk http://ow.ly/17YVk7" -- Javascript News. http://twitter.com/del_javascript/status/17621475809 [03:27] pkrumins: seems like i am gonna create node-time module [03:28] ryah: pkrumins: there was some talk on the list a while ago [03:28] ryah: check it out.. [03:29] isaacs: ryah: hey, what's up with test/message/undefined_reference_in_new_context.js failing? [03:30] isaacs: i see "foo is not defined", which when i look at the test file, looks like 100% expected behavior. [03:31] sechrist has joined the channel [03:32] isaacs: oh, i see, it's reporting the error improperly. [03:33] isaacs: so the test should be asserting that the stack is correct, not just throwing it. [03:35] ben_alman: is there a standard way to clone node-related git repos and have them be accessible via require? [03:36] ben_alman: (and have them all in one central place shared by multiple apps) [03:36] DTrejo: npm? [03:36] DTrejo: but not totally [03:36] DTrejo: I dunno [03:37] isaacs: ben_alman: check out either npm or nodules. [03:37] ben_alman: either? [03:37] isaacs: ben_alman: with npm, they could be installed in one central place, and i'm trying to get people to use it. [03:37] isaacs: ben_alman: nodules is a module loader, that can pull things in via urls. [03:37] isaacs: ben_alman: both require the use of a package.json file [03:37] isaacs: ben_alman: so, if people don't use that, then you should complain to them :) [03:38] ben_alman: you recommend people curl a tarball of npm instead of cloning the repo? [03:38] isaacs: ben_alman: you can clone the repo if you'd like. [03:38] isaacs: ben_alman: keep reading. [03:38] ryah: i wish i could give talks about what i find interesting in node :) [03:39] ryah: but it's really unfair to people who aren't familiar with it [03:39] ryah: kinda need to keep giving the same introduction talk over and over [03:39] isaacs: ryah: we should set up a node conferrence. [03:39] ben_alman: ryah: video them, and then people can go back at their own leisure [03:39] isaacs: no introductions (or maybe one given by someone else) [03:39] softdrink has joined the channel [03:39] isaacs: ryah: and you could talk about some super uber nerdy c stuff. [03:39] ben_alman: i saw the 2010 jsconf node talk before the 2009 one [03:39] DTrejo: ryah: hehe, yes. I've tried to tell a few people and I come off sounding really excited, but I think I do a bad job explaining [03:39] ryah: nerdy c stuff :P~ [03:40] ben_alman: it got me excited to try node :D [03:40] isaacs: haha [03:40] danicgross has joined the channel [03:40] isaacs: ryah: yeah, i imagine the "ok, this is node, it's cool and stuff" is kind of dull after the first three or four times you give it [03:40] ryah: so im 80% done implementing hard emitters [03:40] isaacs: nice [03:40] malkomalko: what's the proper way to make sure all your code is required before proceeding? it appears I'm doing something wrong [03:40] ryah: do you want to see the code, it's going to be awesome :) [03:40] isaacs: sure! [03:41] danicgross has left the channel [03:41] ben_alman: isaacs: http://pastie.org/1029012 [03:41] malkomalko: i basically require one file that require's other libraries for my 'setup', but my code tries to call functions that I guess didn't fully load yet [03:41] ben_alman: that was after a clone and make [03:42] isaacs: ben_alman: well, it's failing for node not being compiled with ssl support [03:42] isaacs: which i thought i'd changed, but hold on a sec [03:42] ryah: http://gist.github.com/462282 [03:42] ben_alman: all i did for node was git clone http://github.com/ry/node.git && cd node && ./configure && make && make install [03:43] ryah: EventSource::MakeCallback <-- the shit [03:43] isaacs: ryah: you know you can publish branches, right? [03:43] isaacs: ;P [03:43] ryah: eh, it's not working yet [03:43] ryah: but basically it should give these "lon"g stack traces [03:44] ryah: "long" [03:44] ryah: chaining events [03:44] isaacs: nice [03:44] ryah: it also should massively simply some of the c++ classes [03:44] isaacs: ben_alman: sudo apt-get install libopenssl or some such [03:44] ryah: also lay the ground work for dtrace stuff [03:44] ryah: assuming it will work [03:44] ryah: which im still unsure of [03:45] ben_alman: isaacs: it's not that.. there are a lot of hits for ssl tho [03:45] ben_alman: unsure which to install [03:45] isaacs: ben_alman: openssl [03:45] ryah: i did this work on the plane - i realize it's some of the first "new" stuff i've done in a while [03:45] isaacs: ben_alman: or maybe openssl-dev [03:46] ryah: mostly im fixing bugs to some degree or another [03:46] statim has joined the channel [03:46] ryah: but EventSource is real creative programming [03:46] ryah: i really hope it works [03:46] isaacs: that's pretty awesome [03:46] ben_alman: do i need to re-make node? [03:46] DTrejo: ryah: thank you for node, it allows me to not use vb or .net for my government job :) [03:47] ben_alman: or just npm [03:47] isaacs: ben_alman: you'll need to re-configure/make/install node [03:47] ben_alman: k [03:47] isaacs: ben_alman: i'm trying to track down why it's failing lik ethat, though. it shouldn't. [03:48] ben_alman: isaacs: now when i make node, it says build successful, but it has 2 red lines "cannot find config.h" [03:48] isaacs: ben_alman: ahh, i see it [03:48] ben_alman: is that expected? [03:48] _announcer: Twitter: "translate.js - translate text from 1 language 2 another on node.js n browser. 30+ languages supported simple as cake http://bit.ly/aNVlDg" -- jalbertbowdenii. http://twitter.com/jalbertbowdenii/status/17622730808 [03:48] isaacs: ben_alman: i didn't expect it :) maybe make dist-clean and then try again? i dunno. if it works, whatever. [03:49] ryah: DTrejo: :) [03:50] ben_alman: should i install any other non-default ubuntu 10.04 packages for node? [03:50] ben_alman: this is a totally new server [03:50] _announcer: Twitter: "say.js - TTS (text to speech) send text from node.js to your speakers - http://bit.ly/b87VMY" -- jalbertbowdenii. http://twitter.com/jalbertbowdenii/status/17622826819 [03:51] isaacs: ben_alman: just pushed a fix for your issue now. [03:52] ben_alman: it compiled btw [03:52] wilmoore has joined the channel [03:52] isaacs: ben_alman: http://github.com/isaacs/npm/commit/67675204461881f21e11afa5a4c322ad8cd84147 [03:52] ben_alman: gotcha [03:53] hdon has joined the channel [03:54] ben_alman: do you recommend a make install? [03:54] ben_alman: is it relatively stable? [03:54] isaacs: ben_alman: oh, lord no [03:54] isaacs: npm isn't anywhere near stable. [03:55] isaacs: :) [03:55] isaacs: but you doing make install is probably more useful to me [03:55] ben_alman: np [03:55] isaacs: so, yeah, totally do that, and lmk what's broken [03:56] _announcer: Twitter: "Macs work. osx server, worked themselves to turn,,, "@ jalbertbowdenii: say.js - TTS (text to speech) send text from node.js to your speakers - http://bit.ly/b87VMY"" [ko] -- A.J. http://twitter.com/andrwj/status/17623147257 [03:56] isaacs: someone should write a nodejs program that reads what's going on in irc [03:57] ben_alman: so the general idea is that i do npm install someidentifier and now it's in a place that any node app i'm running can utilize? [03:57] isaacs: ben_alman: yes. that's the general idea [03:57] Tim_Smart: isaacs: I'm working on a map for twitter: http://121.79.216.71:8080/ [03:57] ben_alman: where does it store the packages? [03:57] Tim_Smart: isaacs: Adding a few things atm... [03:58] isaacs: ben_alman: npm config get root [03:58] isaacs: ben_alman: so, that folder has symlinks and shims pointing into ".npm" inside it [03:59] ben_alman: so it's only useful of course, if the lib you want is registered with npm. [03:59] isaacs: ben_alman: sure, but you can also do "npm install " [03:59] isaacs: ben_alman: or "npm install " [04:00] isaacs: ben_alman: it's only useful if the lib you want has a package.json file, at any rate. [04:00] khug: is there any way to instantiate a constructor with apply, e.g. new Constructor.apply(arguments) [04:00] ben_alman: sure [04:00] isaacs: khug: yeah, but you won't like it ;) [04:00] khug: ugh [04:00] isaacs: ACTION gisting [04:00] khug: thx [04:00] ben_alman: it would be nice to give it npm install http://github.com/foo/bar.git [04:01] isaacs: ben_alman: it would. but you can do npm install http://github.com/foo/bar/tarball/master [04:01] isaacs: ben_alman: and that works just fine [04:01] ben_alman: ok. [04:01] ben_alman: i didn't know it worked with a remote tarball [04:01] isaacs: ben_alman: yep [04:01] isaacs: that used to be the only way it worked :) [04:01] isaacs: turns out, typing urls is a pain in the ass [04:03] ryah: we really need to alias addListener = on [04:03] isaacs: ryah: YES [04:03] Tim_Smart: DO IT [04:03] ben_alman: lol [04:03] ben_alman: on is pretty universal [04:03] ryah: will my talk examples so much better [04:03] pkrumins: ryah: gonna check it out, thanks [04:03] ben_alman: ACTION wonders why jQuery used .bind instead of .on actually [04:04] pkrumins: ryah: i had this question the other day: [04:04] ben_alman: so anyways isaacs, how do i get a list of installed packages? [04:04] isaacs: ben_alman: npm ls installed [04:04] ben_alman: ok, awesome. [04:04] mjr_: ryah: it may be time for you to deputize some node introducers so you can talk about the more advanced stuff. [04:04] pkrumins: ryah: when writing a c++ module that does some kind of IO and longer computations, how do I make these synchronous operations asynchronous? [04:05] ryah: mjr_: if someone was willing! [04:05] ben_alman: and if i want to update npm to the latest version at any time, is there a command for that? [04:05] mjr_: I'll do Bay Area node intros if you want. [04:05] isaacs: ben_alman: npm install npm [04:05] ben_alman: awesome. [04:05] isaacs: ben_alman: or npm install foo or npm install foo@latest [04:05] ben_alman: thanks for being patient with me here, this is my first day trying to do anything with node [04:06] ben_alman: does it not default to latest? [04:07] isaacs: khug: http://gist.github.com/462301 [04:07] isaacs: ben_alman: it does default to latest. [04:07] mtodd has joined the channel [04:07] isaacs: ben_alman: but you can also use different tags or versions using the @ syntax [04:07] isaacs: ben_alman: you can even do: npm install foo@"1.2.3 - 4.2.1" [04:08] isaacs: ben_alman: or: npm install foo@">=0.2.1 <0.3.4" [04:08] pkrumins: any tips on making synchronous calls async? [04:08] khug: isaacs: thanks - will be parsing that few min [04:08] ben_alman: Tim_Smart: is your yui-compressor the latest 2.4.2 ? [04:08] mjr_: pkrumins: you can always use the thread pool. Check out the ASYNC_CALL macro. [04:09] Tim_Smart: ben_alman: Not sure. [04:09] Tim_Smart: What for? [04:09] pkrumins: mjr_: didn't know about this, looking! [04:09] ben_alman: your .jar doesn't have version numbers [04:09] isaacs: ryah: how would you feel about making the default NODE_PATH be based on process.execPath rather than process.installPrefix? [04:09] mjr_: pkrumins: if you look at how the fs stuff is implemented, you'll see how node works around synchronous calls. [04:09] Tim_Smart: ben_alman: Oh right. When did 2.4.2 come out? [04:10] ben_alman: a while ago [04:10] ben_alman: i'm guessing it's the most recent [04:10] Tim_Smart: Well I used the most recent, yeah. [04:10] ben_alman: ok, cool [04:11] ryah: isaacs: ok [04:11] pkrumins: mjr_: looks easy, trying to implement it [04:11] ryah: isaacs: join(execPath, "../lib/node/") or something ? [04:11] stevendavie has joined the channel [04:11] isaacs: ryah: yeah. so. follow-up question: what if {execPath}/../../lib/node doesn't exist? [04:12] ryah: isaacs: i know creationix really wants that [04:12] ryah: isaacs: then do nothing [04:12] isaacs: ryah: yeah, i do too. [04:12] isaacs: ryah: ok. [04:12] isaacs: i guess, i mean, is ../../lib/node the best place for that, you think? [04:12] ryah: isaacs: it pains me to add a stat() to node's startup ... [04:12] ben_alman: isaacs: got some errors @ the bottom http://pastie.org/1029036 [04:12] isaacs: ryah: no stats, no [04:13] ryah: isaacs: to check if that exists [04:13] isaacs: ryah: it'll just fail to stat the file there when it looks for a module. [04:13] ryah: ah [04:13] ryah: okay [04:13] ryah: yeah do it lazily.. [04:13] ben_alman: markdown is listed as installed, but i can't seem to uninstall or install it [04:13] isaacs: ben_alman: looks like markdown isn't compiling right [04:14] dgathright has joined the channel [04:14] isaacs: ben_alman: hrm. what happens when you try to install it? just the same node-waf crap all over the place? [04:14] ben_alman: now when i try to install it, "Nothing to install" [04:14] ben_alman: and when i try to uninstall, fail [04:14] isaacs: ben_alman: k, so... that's odd. [04:15] ben_alman: "npm ! Error: ENOENT, No such file or directory" [04:15] isaacs: ben_alman: rm -rf $(npm config get root)/.npm/markdown [04:15] isaacs: ben_alman: working on clearing up exactly this kind of thing now. it's a tricky problem to deal with in the general case. [04:16] ben_alman: same issue on install [04:16] ben_alman: i'll try an older version [04:16] isaacs: ryah: so, i'll have npm create that folder if it doesn't exist, then [04:16] isaacs: or at least, try to, and fail quickly if it can't [04:16] ben_alman: markdown-0.1.1 works, markdown-0.1.2 fails [04:16] isaacs: ben_alman: no idea there. [04:16] ben_alman: dunno why it would be failing [04:16] ben_alman: ya [04:16] ben_alman: np [04:17] ben_alman: maybe there's a lib i need [04:17] ben_alman: maybe markdown [04:17] ben_alman: heh [04:17] isaacs: looks like it's failing on error: mkdio.h: No such file or directory [04:18] isaacs: ryah: aren't you in paris or something? [04:19] ben_alman: what about the kiwi package manager? [04:19] ben_alman: yet another one? [04:19] ryah: isaacs: yeah [04:19] isaacs: ben_alman: kiwi is supported, but no longer developed [04:19] ben_alman: gotcha. [04:20] isaacs: ben_alman: i don't speak for tjholowaychuk, but that's the message i've heard from him [04:20] jedschmidt has joined the channel [04:26] ryah: heh, i realize, writing this talk, that node is just, like, a grab bag of things i find cool [04:26] ryah: http-parser, readline, sys.pump, etc [04:29] isaacs: hahah [04:29] ryah: btw - sys.pump is great [04:29] ryah: i just did [04:29] isaacs: ryah: watch out, though. down that road lies php. [04:29] ryah: pump(child.stdout, process.stdout) [04:30] ryah: and it worked [04:30] Tim_Smart: http://121.79.216.71:8080/ Yay [04:30] Tim_Smart: Primitive twitter map [04:30] isaacs: ryah: i was doing something similar to that (manually) in npm. but it turns out, passing the stdio FDs to the child is even more badass [04:30] isaacs: ryah: then you can have "less" as a child process. or vim. or whatever. [04:32] ryah: Tim_Smart: doesn't work [04:32] Tim_Smart: ryah: Browser? [04:32] ryah: isaacs: yes, that's better - are you doing that? [04:32] ryah: Tim_Smart: chrome [04:32] isaacs: ryah: yeah [04:32] isaacs: ryah: npm help is WAY more awesome now [04:32] Tim_Smart: ryah: Weird, I'm using chrome... [04:33] isaacs: it's like git help, actually drops into whichever pager you use for man [04:33] Tim_Smart: Hard refresh work? [04:33] ryah: Tim_Smart: getting 404 [04:33] Tim_Smart: Oh [04:33] Tim_Smart: Let me move it to my VPS [04:33] mattly has joined the channel [04:34] ryah: i should push a release today [04:35] mjr_: isn't it tomorrow already? [04:36] mjr_: so the next release is .100? [04:38] DTrejo: gnight everyone! hackfast and strong [04:38] DTrejo has left the channel [04:38] isaacs: ryah: http://github.com/isaacs/node/commit/762d1188b6a36debfca2e9659eaf6396f481752b [04:39] isaacs: mjr_: how much you wanna bet people will start calling 0.1.100 "1.0.0" [04:39] isaacs: or 1.1.0 [04:39] mjr_: yeah, it'll be hilarious [04:39] mjr_: It's too bad promises were made about 0.2, because that would be less confusing. [04:41] rtl has joined the channel [04:41] ryah: mjr_: .100 yeah [04:41] ryah: mjr_: :) [04:41] ryah: or i could just say 'fuck it' and release 0.2 [04:42] ryah: it's pretty stable now [04:42] isaacs: ryah: i'd recommend giving it some time for any hard-emitter changes to settle [04:43] isaacs: ryah: like, ideally, the diff between 0.2 and 0.2(-1) should be minimal [04:43] ryah: it's not getting landed before 0.2 [04:43] isaacs: oic [04:43] ryah: it's not even working [04:43] ryah: i'll need another plane flight to finish it [04:43] mtodd has joined the channel [04:43] ryah: but it's one of those thigns that isn't going to change much [04:43] isaacs: i see [04:43] isaacs: right [04:43] ryah: if the tests pass, it'll be fine [04:44] ryah: just make sure the recording stack traces are disabled by default [04:45] CIA-76: node: 03Ryan Dahl 07master * r24de2bd 10/ .gitignore : Amend .gitignore - http://bit.ly/cke4H8 [04:45] CIA-76: node: 03Ryan Dahl 07master * r2998e3b 10/ tools/updateAuthors.awk : Add my awk script to update AUTHORS file - http://bit.ly/dCHxzA [04:45] CIA-76: node: 03Ryan Dahl 07master * r192234c 10/ src/node_events.cc : Remove unnecessary defines in node_events.cc - http://bit.ly/a1BDGq [04:46] _announcer: Twitter: "Is #nodejs complete JS language? http://gist.github.com/462316 I have a doubt" -- prajwal tuladhar. http://twitter.com/infynyxx/status/17625939155 [04:46] _announcer: Twitter: "Node.js package manager = Kiwi http://kiwijs.com/" -- Matt Shannon. http://twitter.com/dmshann0n/status/17625964678 [04:46] isaacs: !tweet @infynyxx It runs on v8, which is a very complete JS parser, yes. [04:47] zaach has joined the channel [04:48] jedschmidt has joined the channel [04:50] _announcer: Twitter: "It must be disconcerting to tweet about #nodejs and have random folks from the irc room reply to you." -- Ⓘⓢⓐⓐⓒ. http://twitter.com/izs/status/17626147793 [04:55] pquerna: ryah: is there a todo list somewhere? the github issue tracker seems.. unmaintained [04:56] SvenDowideit_ has joined the channel [04:57] isaacs: dmshann0n: lol [04:57] dmshann0n: :) [04:58] isaacs: dmshann0n: not the first time i've conversed over twitter because of seeing the tweets in here from someone also in here. [04:59] isaacs: i suppose it brings more visibility than having the conversation in irc only [04:59] creationix has joined the channel [04:59] SamuraiJack has joined the channel [05:02] bpot has joined the channel [05:03] Tim_Smart: ryah: http://fostle.com:8000/ [05:03] Tim_Smart: Does that work now? [05:05] halorgium: that works for me [05:05] halorgium: zooooooom [05:07] brainproxy has joined the channel [05:10] isaacs: just published about the tiniest npm package possible. [05:10] isaacs: http://registry.npmjs.org/websocket [05:10] Tim_Smart: halorgium: Good good. [05:12] dmshann0n: mmm, underscore is in here? [05:13] Tim_Smart: dmshann0n: underscore? [05:13] dmshann0n: sorry, digging around in npm [05:13] dmshann0n: rhetorical question :D [05:13] Tim_Smart: Oh. Right. [05:13] isaacs: dmshann0n: npm install underscore [05:13] isaacs: dmshann0n: or just: npm ls underscore [05:14] jedschmidt: isaacs: can tag names be co-opted as keywords in npm? [05:15] mscdex: ryah: the nodejs.org docs is missing execPath [05:15] isaacs: jedschmidt: not sure what you mean exactly [05:15] danicgross has joined the channel [05:15] dmshann0n: isaacs: I got that far, having a bit of a fit with the mongodb pkg [05:15] jedschmidt: isaacs: can i use any tag name, and then use list to find the tag? [05:15] danicgross: does anyone know of a good resource that contains every IMAP server call? [05:16] isaacs: jedschmidt: so, the @tag= business in npm ls is not the "tags" array in your package.json, but the "dist-tags" thing that you manage with npm tag [05:16] isaacs: jedschmidt: i suspect that that may go away at some point, i'm not sure. [05:16] isaacs: jedschmidt: at the very least, it's a bit premature in the lifetime of node and npm. [05:17] pquerna: isaacs: maybe a niave question, whats the plan for npm on like, a website side? [05:17] jedschmidt: isaacs: ah, okay. there's no concept of searching on keywords right now? [05:17] isaacs: jedschmidt: no, but i think bradleymeck was lookin ginto that. [05:17] isaacs: jedschmidt: not sure how far he got [05:17] micheil: mape: what's up? [05:18] isaacs: jedschmidt: i'd like a more customizable thing, sorta like git log almost, so you could do: npm ls --pretty terse or --pretty "format:{name}@{version} {keywords}" [05:18] isaacs: or whatever. [05:18] isaacs: pquerna: i have three things that i'd like and need to do: [05:18] jedschmidt: isaacs: right, that'd be neat. [05:19] isaacs: pquerna: 1. automagically convert the markdown docs into html, and have them up somewhere on npmjs.org [05:19] isaacs: pquerna: 2. host the registry using npm itself, and the site, so you can fire up the doc site by just firing up the npm registry [05:19] isaacs: pquerna: 3. write some good intro/index/quick-start type docs that go over the basic usage. [05:20] isaacs: pquerna: mape has done some experimentation into visualizing the registry in a prettier format (unless you think json is pretty, which i kinda do) [05:20] huyhong has joined the channel [05:20] isaacs: pquerna: http://npm.mape.me/ [05:22] pquerna: ah [05:23] pquerna: by markdown, you mean the npm docs themselves right? [05:23] pquerna: not docs in a module :) ? [05:23] isaacs: pquerna: right [05:23] isaacs: pquerna: though, eventually, automatically parsing any markdown in the {"directory":{"docs":"./doc"}} folder of apackage would be pretty baller [05:24] isaacs: *directories, rather [05:24] isaacs: pquerna: eventually heading towards maybe even some kind of rubyforge type deal. [05:24] devinus has left the channel [05:24] pquerna: that seems like an excessive scope, I'd be happy with html browsing instead of json :) [05:25] isaacs: pquerna: i'd also like to have info in the registry about what the package contains. files, package.json contents, scripts, etc. [05:25] isaacs: pquerna: so, i mean, this is like the 5 year plan. [05:25] pquerna: yes, CPAN browser [05:25] pquerna: does that nicely [05:25] isaacs: yeah [05:25] isaacs: totally [05:25] isaacs: and CPAN is like 15 years old or something. [05:25] isaacs: so, i mean, there's no rush [05:25] pquerna: heh [05:26] brainproxy has joined the channel [05:29] pquerna: isaacs: do you keep stats on downloads? [05:30] isaacs: pquerna: no, but that's planned. i have logs if you feel like analyzing them [05:38] danicgross has left the channel [05:42] robotblake has joined the channel [05:42] Prinny has joined the channel [05:43] qFox has joined the channel [05:43] robotblake: Prinny: Hey man [05:43] Prinny: Howdy. [05:44] robotblake has left the channel [05:45] robotblake has joined the channel [05:45] Prinny: robotblake: Hey, what's going on? [05:45] kristate has joined the channel [05:45] robotblake has left the channel [05:46] Prinny: jedschmidt: Hi! [05:47] jedschmidt: hey Prinny. [05:47] pplante has joined the channel [05:47] sh1m has joined the channel [05:49] Prinny: Sorry, I was testing out the wargamez feature. Just wanted to see an extra-large line shoot across my screen. [05:49] Prinny: It was well worth it, so thanks! [05:50] mscdex: heh [05:52] ryah: Tim_Smart: cool [05:52] ryah: Tim_Smart: what's that about? [05:52] jedschmidt: Prinny: that's what i'm here for! [05:52] ryah: pquerna: todo, no [05:53] ryah: pquerna: it's in my head :) [05:53] Tim_Smart: ryah: Plots geo tagged tweets. [05:54] robotblake has joined the channel [05:54] ryah: i really am excited about these long stacks.. [05:55] ryah: i wish i was locked in a bo for 2 days [05:55] ryah: box [05:55] creationix: ryah: trans atlantic flight is pretty close [05:56] ryah: yeah [05:56] pquerna: i dunno how people code on airplanes [05:56] pquerna: i like big lcds [05:57] malkomalko has joined the channel [05:57] ryah: big lcds are dangerous [05:57] ryah: even when i have one i work in a small terminal [05:58] ryah: (so that i don't get used to having a million windows open) [06:03] sechrist: I have a 24" apple led [06:03] sechrist: dangerous? lol [06:03] sechrist: I think multiple monitors are more useful than giant ones honestly [06:03] sechrist: ryah: do you code in vim? or do you use textmate or something? [06:04] ryah: sechrist: vim [06:04] sechrist: why bro WHY [06:04] pquerna: i only converted to textmate a month ago. I guess i'm a few years behind everyone else. [06:04] sechrist: ryah: with ctags right? [06:04] ryah: sechrist: yes [06:05] ryah: why? because it's the best editor. [06:05] ryah: well - at least for myself [06:05] ryah: spend 10 years learning it - not going to learn something new [06:06] ryah: gr.. i can't what's wrong with this test... [06:07] ryah: s/i can't// [06:11] Tim_Smart: vim - better than sliced bread. [06:16] creationix: ACTION likes big lcds with low resolutions because he's blind [06:16] CIA-76: node: 03Ryan Dahl 07master * r82ce348 10/ test/message/undefined_reference_in_new_context.out : Fix undefined_reference_in_new_context test - http://bit.ly/bnc0Qr [06:17] creationix: ACTION also likes vim AND textmate [06:17] mscdex: Tim_Smart: i dunno, sliced bread is pretty delicious [06:18] Tim_Smart: ACTION likes bacon. [06:18] peburrows has joined the channel [06:24] mscdex: bacon bread [06:25] mscdex: hahaha wargames is on right now [06:33] Tim_Smart: http://fostle.com:8000/ [06:35] ryah: Tim_Smart: doesn't seem to update ... [06:35] Tim_Smart: ryah: Hmm. Cleared cache? [06:35] Tim_Smart: Or Shift + Refresh [06:38] sh1mmer: anyone played with brain? [06:42] _announcer: Twitter: "Finished a node.js tutorial http://j.mp/cm5qxD So much I've never touched - node.js, express, mongoDB - mixed w/ familiar js, haml, sass. :)" -- Jon Suderman. http://twitter.com/suderman/status/17631491828 [06:44] _announcer: Twitter: "Finally hammered out some docs for node-jake, a JavaScript port of rake for Node.js http://github.com/mde/node-jake #nodejs #node.js" -- Matthew Eernisse. http://twitter.com/mde/status/17631595141 [06:49] malkomalko_ has joined the channel [06:50] _announcer: Twitter: "node-jake , cause Ruby sucks :) http://github.com/mde/node-jake #nodejs" -- Mikeal. http://twitter.com/mikeal/status/17631823718 [06:50] jedschmidt has joined the channel [06:50] mostlygeek has joined the channel [07:01] _announcer: Twitter: "has an appointment with node.js today ... not motivated ..." [fr] -- Romain Simiand. http://twitter.com/pixxelboy/status/17632270475 [07:01] ryah: mde: isnt there already a jake? [07:04] mikeal: ryah: that one worked with narwhal only i think [07:12] ryah: make jake isn't a good name, though... [07:12] mscdex: heh [07:12] ryah: s/make/maybe/ [07:12] mikeal: it's very not googleable [07:12] mikeal: of course, neither is node :) [07:13] mscdex: it's the second result for "node" on google [07:13] mscdex: :P [07:13] mikeal: but usually i want to look for [07:13] mikeal: node fuse [07:13] mscdex: oh [07:13] mikeal: or node stream [07:13] mikeal: and it's a terrible set of results [07:13] mscdex: append "site:github.com"? [07:14] mscdex: :S [07:14] mikeal: haha [07:14] mikeal: that's what django people used to say except with code.google.com [07:14] mscdex: or "site:wiki.github.com/ry/node/modules" [07:14] mscdex: :-P [07:16] isaacs: No need to do "npm publish ." or "npm link ." any more. just "npm publish" or "npm link" [07:16] CIA-76: node: 03Peter Griess 07master * r94cd83e 10/ (doc/api.markdown lib/net.js): [07:16] CIA-76: node: Doc fixes for FD related features, upgrade. [07:16] CIA-76: node: - Add docs for 'fd' events, Server.listenFD(), Stream.write(...[, fd]) [07:16] CIA-76: node: and http.Client 'upgrade' event. - http://bit.ly/auo5JI [07:16] CIA-76: node: 03Ryan Dahl 07master * r2072925 10/ (54 files in 12 dirs): Upgrade V8 to 2.2.21 - http://bit.ly/aJBWjn [07:16] CIA-76: node: 03Ryan Dahl 07master * ra6b8586 10/ (AUTHORS ChangeLog doc/api_header.html doc/index.html wscript): bump version - http://bit.ly/al0aFF [07:16] zomgbie has joined the channel [07:19] mikeal: 0.1.100, really :) [07:19] mikeal: are we afraid of 0.2 :) [07:19] ryah: yes, we are [07:19] mscdex: lol [07:19] ryah: i have commitment issues [07:19] _announcer: Twitter: "New version of npm. Fixes a few bugs, works better with nave and nvm. Requires at least #nodejs 0.1.99. #npm `npm install npm` to upgrade." -- Ⓘⓢⓐⓐⓒ. http://twitter.com/izs/status/17633023376 [07:19] isaacs: JESUS [07:20] isaacs: i swear the announcer repeats my tweets before my mouse button comes up from the "post" button [07:20] mscdex: heh [07:20] _announcer: Twitter: "#nodejs v0.1.100 released http://groups.google.com/group/nodejs/browse_thread/thread/7716eec53a02d4cb" -- Ryan Dahl. http://twitter.com/ryah/status/17633055514 [07:20] mscdex: why does the name not show up? [07:20] mscdex: it shows it as unicode boxes for me.. [07:20] mscdex: :S [07:21] isaacs: mscdex: maybe you need a better font :) [07:21] mscdex: meh [07:21] isaacs: mscdex: does it show up on http://twitter.com/izs [07:21] isaacs: ? [07:21] mscdex: i'm using whatever xchat uses [07:21] isaacs: colloquy ftw! [07:21] mscdex: no it doesn't [07:21] mscdex: shows boxes thar too [07:21] mikeal: i use the latest Adium beta [07:22] mikeal: it's got support for everything [07:23] mscdex: it's set to auto-detect in the browser [07:23] _announcer: Twitter: "node.js v0.1.100 release. Buffer.write replaced the order of the arguments. Heck, I like Buffer and many improvements have been around" [ja] -- KOBA789. http://twitter.com/koba789/status/17633159176 [07:23] mscdex: oh well [07:24] huyhong: +1 for the latest adiumx beta [07:26] ryah: that translation is amazing [07:26] ryah: "Heck, "... wow [07:26] ryah: i wonder how correct it is... [07:28] huyhong: "てか" is what google thinks is "heck" [07:30] CIA-76: node: 03Ryan Dahl 07master * r515dc21 10/ (2 files in 2 dirs): Experimental: 'on' as alias to 'addListener' - http://bit.ly/a0tVcS [07:30] ryah: :) [07:31] sh1mmer: ryah: when did node start working on cygwin? [07:31] _announcer: Twitter: "console.log('node is javascript'); http://nodejs.org/docs/v0.1.100/api.html" -- Jeff Larson. http://twitter.com/thejefflarson/status/17633481161 [07:31] ryah: sh1mmer: a few weeks ago [07:31] sh1mmer: ryah: awesome work. [07:31] sh1mmer: that's great news. [07:31] ryah: isaacs: checkout that commit--^ [07:31] huyhong: ryah: http://tangorin.com/words/っつーか is the best thing i could find :) [07:32] isaacs: ryah: yes, stuff like that is why i <3 js [07:32] _announcer: Twitter: "Node.js now works on Cygwin. Good work team!" -- Tom. http://twitter.com/sh1mmer/status/17633541315 [07:33] ryah: ACTION is liking the on() [07:33] teemow has joined the channel [07:33] pquerna: sh1mmer: cygwin seems meh though, mingw would be nice :) [07:33] ryah: 2 chars > 11 chars [07:33] ryah: pquerna: yes [07:33] ryah: mingw is my dream [07:33] sh1mmer: pquerna: a windows solution is a start, at least now people can do something. [07:34] mscdex: beam him up scotty! [07:34] _api has joined the channel [07:34] ryah: but cygwin is infinitely better than nothing [07:34] mscdex: !api fd:events [07:34] _api: mscdex: (Readable Stream) event: fd(fd) -- Emitted when a file descriptor is received on the stream. Only UNIX streams support this functionality; all others will simply never emit this event. [ http://nodejs.org/api.html#event-fd-28 ] [07:34] sveisvei: ryah: another awesome rls. Btw console should maybe be documented as global? [07:34] ryah: sveisvei: probably [07:36] mscdex: !api upgrade in client [07:36] _api: mscdex: (http.Client) event: upgrade(request, socket, head) -- Emitted each time a server responds to a request with an upgrade. If this event isn't being listened for, clients receiving an upgrade header will have their connections closed. [ http://nodejs.org/api.html#event-upgrade-185 ] [07:36] sat: pquerna: mingw would be much nicer [07:37] ryah: !api upgrade [07:37] _api: ryah: (http.Server) event: upgrade(request, socket, head) -- Emitted each time a client requests a http upgrade. If this event isn't listened for, then clients requesting an upgrade will have their connections closed. [ http://nodejs.org/api.html#event-upgrade-163 ] [07:37] ryah: mscdex: sweet. [07:38] mscdex: ryah: a lot of the urls don't work though because i had to make some changes to api.markdown to make it easily parseable :-\ [07:38] mscdex: like the fs.stat functions were all listed on one line and stuff [07:39] mscdex: so i separated them and that throws the counter in the # id [07:39] mscdex: but at least the description and stuff is there [07:40] ryah: mscdex: hm [07:40] ryah: mscdex: feel free to push those changes up to me [07:40] zomgbie has joined the channel [07:40] ryah: as long as the webpage and node.1 still look ok [07:41] ryah: i think buffer should be a global variable soon [07:41] Tim_Smart: Yay. [07:41] mscdex: ryah: ok. i'll do that tomorrow [07:41] ryah: might rename it.. waiting on webgl list [07:41] ryah: (to TypedArray) [07:42] ryah: the other API wart: require('child_process" [07:43] ryah: need to change that, i hate require('child_process') [07:43] manveru: Tim_Smart: is there better handling of url query string planned? [07:43] ryah: require('subprocess') or something would be better... [07:43] ryah: I think 'on()' is going to stay [07:43] ryah: it looks awesome. [07:44] Tim_Smart: manveru: response.parseUrl() [07:44] manveru: response? [07:44] Tim_Smart: manveru: The response object [07:44] manveru: i mean from the request [07:44] Tim_Smart: Oh sorry, request.parseUrl() [07:45] _announcer: Twitter: "Replacing addListener() with on() makes #nodejs code look a lot better. (Why did it take me a year to do that?)" -- Ryan Dahl. http://twitter.com/ryah/status/17634051443 [07:45] mscdex: ryah: one other thing i was thinking of the other day that would be nice to have is examples have an autogenerated id attribute in the html output [07:45] manveru: hmm [07:46] ryah: mscdex: yeah [07:46] manveru: i think i'll make a module that makes this easier [07:46] ryah: mscdex: mape is working on the doc page [07:46] mscdex: ryah: then i could link to the example [07:46] ryah: mscdex: you might want to find out what he's doing [07:46] ryah: we're thinking about splitting up the page [07:46] mscdex: ryah: alright thanks [07:47] ryah: still ahve one file: api.markdown but as you parse it outputing different pages for each section [07:47] ryah: just make it a bit more managable.... [07:47] mscdex: ah ok [07:47] _announcer: Twitter: "@ryah nice work man. looking forward to trying this release #nodejs" -- Brock Whitten. http://twitter.com/sintaxi/status/17634126293 [07:48] manveru: Tim_Smart: and the binding? no shortcuts for binding "/some" as /^\some/ ? [07:48] Tim_Smart: manveru: Not at this stage [07:48] Tim_Smart: Well you can do '/some/' but it won't match children [07:50] _announcer: Twitter: "Writing a presentation for #WebWorkersCamp about #Node.js, #MongoDB, #Cappuccino, #Titanium..." -- Nicolas Mérouze. http://twitter.com/nmerouze/status/17634226281 [07:50] manveru: '/some/' will match '/some?foo=bar' ? [07:51] Tim_Smart: Not at this stage. I didn't want too add too much overhead for normal string parsing. [07:52] ryah: mape: ping [07:54] mostlygeek: ryah: what does sys.pump do? [07:55] ryah: mostlygeek: pumps one stream into another [07:55] ryah: pump(req, process.stdout) [07:55] mostlygeek: ohhh.... [07:56] mostlygeek: thx [07:56] ryah: http.createServer(function (req, res) { sys.pump(req, process.stdout, function () { [07:56] ryah: res.writeHead(200); [07:56] ryah: res.end("bye\n"); }); [07:56] unscene has joined the channel [07:57] unscene: omg can't override querystring.escape [07:57] pquerna: ryah: btw, on things like the http parser, do you want patches to properly handle options * type requests? [07:58] ryah: pquerna: ? [07:58] unscene: this is making me sad :( [07:58] unscene: qs.escape = function(str) { return encodeURIComponent(str).replace(/%/g,"%25") } [07:59] ryah: pquerna: oh, OPTIONS requests? [07:59] ryah: pquerna: how should that work? [07:59] pquerna: ryah: well, there are a few things in the http-parser, like.. strictly speaking, GET ?foo HTTP/1.1 is.. valid. [07:59] pquerna: though nginx rejects it, apache doesn't [07:59] ryah: pquerna: yes, i want to accept it [08:00] pquerna: but OPTIONS * is somewhat common [08:00] ryah: ah [08:00] ryah: yes, i want patches for that :) [08:00] ryah: ACTION gtg. later [08:00] pquerna: yeah. i think the challenge would be to just try to implement a full forward proxy, and webdav. [08:00] pquerna: if it can do those things, it covers about 90%, minus all the authentication crap. [08:02] mape: ryah: `? [08:04] mikeal has joined the channel [08:20] _announcer: Twitter: "@ryah cool! What's the versioning scheme for node.js?" -- Christian Johansen. http://twitter.com/cjno/status/17635372230 [08:22] Tim_Smart: Lol laggggg http://fostle.com:8000/ [08:23] jedschmidt has joined the channel [08:25] FliPPeh has joined the channel [08:25] mape: Tim_Smart: the link you pasted didn't work [08:25] Tim_Smart: mape: Really? Works fine here. [08:25] Tim_Smart: Its on a VPS... [08:26] mape: Oops! Google Chrome could not connect to 121.79.216.71:8080 [08:26] Tim_Smart: mape: http://fostle.com:8000/ [08:26] mape: ah yeah works [08:27] Tim_Smart: It will steal you CPU like a thief [08:27] mape: Tim_Smart: Runs like 1% here :) [08:28] mape: Oops sorry, 10% [08:28] mikemike86 has joined the channel [08:28] Roelven has joined the channel [08:28] Connorhd has joined the channel [08:28] drhodes has joined the channel [08:28] mape: Doesn't plot a whole lot though? Just every now and then [08:28] pufuwozu has joined the channel [08:28] Tim_Smart: mape: The scrolling text mainly... [08:28] drudge has joined the channel [08:29] mape: yeah, might want to add some spacing to that so you can see the difference between tweest [08:29] aliem has joined the channel [08:29] mape: not that you have the time to read but yeah.. :P [08:31] Tim_Smart: mape: Doesn't plot very often because not many tweets are geo tagged [08:31] mape: ah k [08:34] _announcer: Twitter: "Opinions on current awesomest node.js web framework? fab? connect? something else? #node.js #js #nodejs" -- Toby Hede. http://twitter.com/tobyhede/status/17635878773 [08:36] Tim_Smart: mape: Firefox doesn't seem like it can handle it >.< [08:36] Tim_Smart: I think those DOM operations I'm doing are pretty in-efficient [08:39] mape: the DOM is never fun [08:40] Tim_Smart: Hmm yeah. [08:45] huyhong has joined the channel [08:47] WarBot has joined the channel [08:47] mape: test [08:47] aho has joined the channel [08:48] WarBot has joined the channel [08:48] mape: There we go [08:48] mape: hmm [08:48] WarBot has joined the channel [08:49] aubergine has joined the channel [08:49] nostromo has joined the channel [09:02] Dmitry has joined the channel [09:03] Tim_Smart: mape: Faster? http://fostle.com:8000/ [09:03] Tim_Smart: Might need to clear cache [09:04] Tim_Smart: (I should append the mtime to the assets >.>) [09:04] mape: Pretty much the same [09:04] Tim_Smart: OK cool. It wasn't an issue for you before anyway... [09:07] cloudhead has joined the channel [09:09] ewdafa has joined the channel [09:09] femto has joined the channel [09:09] ashb has joined the channel [09:11] mape: Tim_Smart: so got twitter api with full access? :) [09:12] Tim_Smart: nope [09:12] mape: just white list? [09:12] Tim_Smart: sample atm. [09:12] mape: Just dummy? [09:13] Tim_Smart: http;//dev.twitter.com/doc/get/statuses/sample [09:14] mape: oh [09:14] mape: there are a log of asian tweets in there [09:14] mape: Funny how sectioned one is on twitter [09:14] jetienne has joined the channel [09:15] Tim_Smart: mape: Yeah, and I haven't loaded the glyphs into the font data for raphael >.> [09:19] tmpvar has joined the channel [09:20] Tim_Smart: mape: If you need to make fonts for raphael [09:20] Tim_Smart: http://cufon.shoqolate.com/generate/ [09:21] mape: Any reason to use rapahel for it? [09:21] mape: I just assumed native font support would be faster [09:21] Tim_Smart: Better transformations [09:22] mape: Hmm k [09:23] Tim_Smart: Well I don't really need it, but meh [09:28] Tim_Smart: mape: Also seems to have better rendering cross-browser [09:28] Tim_Smart: Rather, cross-OS [09:28] mape: Tim_Smart: Is that really an issue? If people use an OS with shitty font rendering they won't really care? [09:29] Tim_Smart: mape: They will be like "OMG THAT IS SEXY FONTS" [09:29] mape: Hmm yeah.. [09:30] Tim_Smart: I swapped out the font for a better one. (Still no international support though :() [09:31] mape: Better one? [09:31] femto has joined the channel [09:31] Tim_Smart: I like Helvitica or something [09:34] mape: Hmm yeah, I find the current one to be more wargamesy though [09:35] Tim_Smart: I might see if this works in IE.. haha [09:35] mape: IE .. :S [09:37] mape: Looking at the stats for node knockout IE isn't really an issue [09:43] _announcer: Twitter: "Got my first web app running on Node.js. Now the Hello world sample is done, let's build something more complex. #nodejs" -- Bart Riemens. http://twitter.com/briemens/status/17638367349 [09:44] mape: Is it just me or has the "why is the hello world slow" messages gotten less and less [09:45] Tim_Smart: mape: This is just for fun. Not sure what I will do for knockout [09:46] mape: Tim_Smart: All good, all good :) [09:57] _announcer: Twitter: "reading interesting article and comments about @ringojs vs @nodejs http://bit.ly/bpUWtj" -- Oleg Slobodskoi. http://twitter.com/oleg008/status/17638844634 [10:02] lianj has joined the channel [10:06] teemow has joined the channel [10:06] _announcer: Twitter: "@anoras very cool!, this WebSockets, is that html5?, or other? #nodejs #websockets" -- Asbjørn A Mikkelsen. http://twitter.com/neslekkim/status/17639183993 [10:13] _announcer: Twitter: "@ Nmerouze nodejs you use in http server?" [fr] -- nicoclavier. http://twitter.com/nicoclavier/status/17639415081 [10:17] mape: ryah: whe you get back, when is the talk? [10:17] SvenDowideit_ has joined the channel [10:19] mape: *when� [10:19] hellp has joined the channel [10:19] markwubben has joined the channel [10:20] markwubben has joined the channel [10:20] dmitry has joined the channel [10:30] Dmitry has joined the channel [10:38] drostie has joined the channel [10:38] tmedema has joined the channel [10:38] mape: wollibolli [10:38] mape: worst time ever for the channel [10:38] femtoo has joined the channel [10:43] mape: Really need to get an activity graph on the page [10:43] mape: The european section of the communtiy is performing bad [10:44] markwubben_ has joined the channel [10:44] niklasfi has joined the channel [10:47] niklasfi: what is the best way to implement error handling? I am currently using a custom construct which writes an err header and puts something to sys.log to avoid code duplication but this is not really what i want since code is still executed after that call [10:47] Dmitry: mape: did you see my page? [10:47] Dmitry: mape: http://raphaeljs.com/map.html [10:47] mape: Dmitry: yeah, the page is all raphael now :) [10:47] sixbit has joined the channel [10:47] mape: mine that is [10:49] Dmitry: my map is equal to yours, but three times smaller [10:49] Dmitry: in terms of bytes [10:49] mape: oh, so how did you do that? [10:49] hellp has joined the channel [10:50] sixbit_ has joined the channel [10:51] wao: hehe [10:51] wao: Dmitry: nice [10:55] niklasfi: anyone? [10:55] mape: niklasfi: most? [10:57] niklasfi: mape: most? [10:57] mape: niklasfi: yeah [10:57] niklasfi: mape: i don't know what you mean [10:58] wilmoore has joined the channel [11:00] sechrist: most! [11:03] ditesh|cassini has joined the channel [11:07] wao: btw [11:07] wao: mape: is that wargamez .js already public? :) [11:07] mape: you can access it no? [11:08] wao: mape: and what kind of irc backend does it using? [11:09] mape: wao: node-irc [11:13] wao: mm, gona give it a try:) [11:14] wao: wut, node-irc is only for windows? [11:14] mape: huh? [11:15] _announcer: Twitter: "#rcg4 #nodejs . Great Talk on Node js. Co-Working Cologne Rocks :-) http://yfrog.com/mvwmbj" -- Tillmann Bielefeld. http://twitter.com/tielefeld/status/17641643665 [11:15] wao: mape: this is that backend http://sourceforge.net/projects/node/files/ ? [11:15] wao: oh wait, node-irc module from nodejs.org? [11:17] tmedema: Anyone managed to build sqlite3_bindings.cc for orlandovs's sqlite lib? http://github.com/orlandov/node-sqlite [11:19] tmedema: I think I have to run node-waf, but it returns "ImportError: No module named Scripting " [11:33] _announcer: Twitter: "The grid, the first sessions @ #WebWorkersCamp #nodejs #mongodb #couchdb #js http://yfrog.com/50pywj" -- Alex. Eisenchteter. http://twitter.com/ineation/status/17642350324 [11:34] mitkok has joined the channel [11:40] niklasfi: what is the best way to implement error handling? I am currently using a custom construct which writes an err header and puts something to sys.log to avoid code duplication but this is not really what i want since code is still executed after that call [11:45] mitkok: guys, how can I install the man page ? Is it installed by default, because when I hit % man node it spits empty page [11:54] _announcer: Twitter: "I play with node.js build FreeBSD ports. Unsuccessful.悪Irashii ccache and chemistry. Were misses. To finally start." [ja] -- A1ZU. http://twitter.com/A12u/status/17643196662 [11:59] _announcer: Twitter: "node.js the configure script in the "v8 doesn't like ccache" was written. CC environment variable to check that, PATH, and check the trap ineffective in doing work." [ja] -- A1ZU. http://twitter.com/A12u/status/17643424252 [12:01] _announcer: Twitter: "working on my firs NodeJS event driven app, it's an awesome library http://www.nodeJS.org" -- MrOhad. http://twitter.com/MrOhad/status/17643511831 [12:03] _announcer: Twitter: "@ Angry_web nodes - node.js. She knows how much, yes, just WebStorm Chutka easier to be yes, and there are more opportunities deploya like." [ru] -- Devgru. http://twitter.com/Devgru/status/17643583911 [12:15] _announcer: Twitter: "Real server push demo with #websockets and #nodejs http://vimeo.com/13043828 (by @anoras)" -- Denis Jacquemin. http://twitter.com/denisjacquemin/status/17644121021 [12:18] stagas has joined the channel [12:28] polo has joined the channel [12:31] _announcer: Twitter: "A HTTP Proxy Server in 20 Lines of node.js Code - good coders code, great reuse http://ow.ly/17Z8wZ" -- Javascript News. http://twitter.com/del_javascript/status/17644832960 [12:32] drostie has joined the channel [12:40] Gruni has joined the channel [12:40] wereHamster has joined the channel [12:46] _dose has joined the channel [12:47] ditesh|cassini has joined the channel [12:50] blackdog_ has joined the channel [12:50] zomgbie has joined the channel [12:53] maritz has joined the channel [12:54] malkomalko has joined the channel [13:01] hansek has left the channel [13:11] rolfb has joined the channel [13:12] maushu has joined the channel [13:15] _announcer: Twitter: "FreeBSD 7.2 has been compiled in node.js 0.1.100 or ... I'll go through my tears?" [ja] -- KOBA789. http://twitter.com/koba789/status/17646965887 [13:16] maushu: 0.1.100?! I KNEW IT! [13:17] halorgium: maushu: we have some internal stuff which is 0.22.2xx :P [13:17] halorgium: ridiculous IMO [13:18] maushu: ryah = biggest troll ever. [13:20] halorgium: the best way ;) [13:24] _announcer: Twitter: "Saturday equals hackday. #nodejs is such fun!" -- Sverre Ølnes. http://twitter.com/sverre_olnes/status/17647422436 [13:25] Tim_Smart: I have done my hack for the day - twitter visualization with raphael :p [13:25] halorgium: Tim_Smart: haha, been great to see it progress [13:26] _announcer: Twitter: "ported ajaxorg php-github-api to nodejs! http://github.com/ajaxorg/node-github # github # fire # opensource # javascript" [id] -- Thibault. http://twitter.com/ornicar/status/17647531217 [13:26] halorgium: i just spent a few hours playing TF2 with a bunch of friends from back in NZ [13:27] _announcer: Twitter: "Yeah node.js limited terrible student I get off the ww meeting this summer or even impossible to have sex but not that busy ☆" [ja] -- KOBA789. http://twitter.com/koba789/status/17647577866 [13:27] Tim_Smart: Huh, what a translation. [13:27] _announcer: Twitter: "I try anyway or translation nodejs.org" [ja] -- KOBA789. http://twitter.com/koba789/status/17647617669 [13:33] Avius has joined the channel [13:33] nostromo: ryah: are you sure pump should bind 'close' and not 'end'? [13:33] nostromo: also, the code you told pumping a request to process.stdout is not showing anything here [13:34] ryan__ has joined the channel [13:35] ryan__: mape: ping [13:35] drostie has joined the channel [13:35] ryan__: maushu: ping [13:35] maushu: pong [13:35] ryan__: maushu: testing the wargamez [13:35] ryan__: ACTION <- ryah [13:35] maushu: You just nuked me! THIS MEANS WAR! [13:36] maushu: ACTION fire missiles at ryan__! [13:36] maushu: Wait, what are you doing in france. [13:36] ryah: ryan__: . [13:36] ryah: maushu: . [13:36] ryah: maushu: im in paris [13:37] maushu: Oh right. [13:37] maushu: Fire at ryan__! [13:37] ryah: going to show off the wargamez in a moment [13:37] maushu: Hmm, it's not working. [13:37] ryah: at this conf [13:37] gJ|Alex has joined the channel [13:38] maushu: ryah, does that means tons of users are going to join the channel any moment? :p [13:38] ryah: *shrug* [13:39] meiu has joined the channel [13:39] meiu: ACTION waves [13:40] blackdog_: is this the command line for building orlandov's sqlite, node-waf wscript [13:40] ryan__: blackdog_: node-waf configure build [13:40] blackdog_: ah, thanks [13:40] zomgbie has joined the channel [13:41] blackdog_: i'm still getting ImportError: No module named Scripting [13:42] davidwalsh has joined the channel [13:44] tacobreath has joined the channel [13:44] mw has joined the channel [13:54] phiggins has joined the channel [13:57] mtodd has joined the channel [13:58] _announcer: Twitter: "The world cup game and the node.js talk are going to happen at the same time, it s a hard choice to make !" -- Jonathan Blanchet. http://twitter.com/jblanchefr/status/17649428186 [14:00] maushu: Not such a hard choice. [14:00] maushu: The node.js talk won't have vuvuzelas. [14:00] maushu: Zing! [14:01] tmedema: Anyone knows about this "ImportError: No module named Scripting" when trying to build the sqlite addon? [14:01] maushu: Maybe they meant "Script"? [14:02] maushu: Ah wait, Script is not a module. [14:02] tmedema: Its http://github.com/orlandov/node-sqlite made by orlandov [14:02] tmedema: I think it should be stable [14:05] _announcer: Twitter: "Yeah #nodejs session is starting @ #webworkerscamp" -- Alex. Eisenchteter. http://twitter.com/ineation/status/17649876357 [14:09] _announcer: Twitter: "Doing a little node.js hacking this morning before doing moving stuff." -- Steve Streza. http://twitter.com/SteveStreza/status/17650175643 [14:09] _announcer: Twitter: "# Webworkerscamp architectures funny, NoSQL, nodejs, ..., barcamp THE year! (@ La Cantine by Silicon Sentier w / 2 others)" [fr] -- Stéphane Distinguin. http://twitter.com/Fano/status/17650190770 [14:10] _announcer: Twitter: "Node.js ... I feel that I'm gonna be dropped" [fr] -- Alexis. http://twitter.com/6xela/status/17650273079 [14:11] _announcer: Twitter: "keynote "node.js" by @ryah #webworkerscamp" -- Yann Klis. http://twitter.com/yannski/status/17650315892 [14:12] _announcer: Twitter: "Watching a keynote by @ryah on his project Node.JS http://nodejs.org/ #webworkerscamp" -- Félix Bellanger. http://twitter.com/keeguon/status/17650387278 [14:14] _announcer: Twitter: "With Skulpt brings python to client side and node.js takes javascript to server side, who can deny the world *is* becoming a better place?" -- Alex Dong. http://twitter.com/alexdong/status/17650516694 [14:15] _announcer: Twitter: "The cellars, node.js conference. http://yfrog.com/12ir4ej" [it] -- Fabien Penso. http://twitter.com/fabienpenso/status/17650581700 [14:17] _announcer: Twitter: "You node.js, → tried to Japanese translation only top half http://nodejs.mine.nu/" [ja] -- KOBA789. http://twitter.com/koba789/status/17650747533 [14:17] JimBastard has joined the channel [14:17] JimBastard: all hail king neptune and his water breathers [14:17] JimBastard: sup party people [14:18] JimBastard: http://github.com/explore [14:18] JimBastard: :-D [14:21] sveisvei has joined the channel [14:22] kriszyp has joined the channel [14:22] _announcer: Twitter: "Interesting presentation about node.js by its creator @ryah at #WebWorkersCamp" -- Ronan Amicel. http://twitter.com/amicel/status/17651095280 [14:24] Xavura has joined the channel [14:26] _announcer: Twitter: "Listening to @ryah on Node.JS. #WebWorkersCamp" -- Romain Huet. http://twitter.com/romainhuet/status/17651348377 [14:27] _announcer: Twitter: "#nodejs session live in English #webWorkersCamp http://lacantine.ubicast.eu/lives/at-la-cantine/" -- Alex. Eisenchteter. http://twitter.com/ineation/status/17651416605 [14:28] drostie has joined the channel [14:28] stevendavie has joined the channel [14:29] JimBastard: !tweet @at-la-cantine tell ryah the irc rooms says hi! [14:29] JimBastard: !tweet @romainhuet tell ryah the irc rooms says hi! [14:30] JimBastard: !tweet @amicel tell ryah the irc rooms says hi! [14:30] JimBastard: :-D [14:30] malkomalko: beautiful day again in nyc [14:30] JimBastard: is it? lol [14:30] JimBastard: i told my friend i'd help him move today [14:30] JimBastard: fuck [14:31] kersny has joined the channel [14:31] malkomalko: got this awesome breeze happening right now [14:32] JimBastard: where are you at again? BK? [14:32] malkomalko: yah, park slope [14:33] mitkok has joined the channel [14:35] ditesh|cassini has joined the channel [14:35] _announcer: Twitter: "Same as APE: node.js with Ryan @ryankdahl, interesting too! http://tweetphoto.com/30538833" -- Bruno Lévêque. http://twitter.com/bruno42/status/17652010089 [14:36] devtime has joined the channel [14:36] JimBastard: !tweet @bruno42 go go node.js! :-D [14:37] JimBastard: i love freaking these people out [14:37] JimBastard: OMG TWITTER IS SEARCHABLE IN REALTIME [14:37] JimBastard: PEOPLE CAN SEE WHAT IM SAYING WTF [14:37] malkomalko: lol [14:37] kristate has joined the channel [14:40] bradleymeck: yub, freaking em out will do that [14:40] mjr_: Hey neat, a live feed of ryah's talk. [14:41] JimBastard: hee hee [14:41] bradleymeck: do we got a build bot for all systems? [14:41] JimBastard: sup? [14:41] maushu: JimBastard, ...if they don't want people to see what they are writing, why are they writing in the first place? [14:42] JimBastard: i know [14:42] mjr_: bradleymeck: we have most, and it looks like they are all broken. http://buildbot.nodejs.org:8010/grid [14:42] mjr_: The OSX one is my old laptop. [14:42] maushu: ryah leaves and buildbot explodes. [14:42] maushu: Typical. [14:43] bradleymeck: !translate English 汉字 [14:43] _utility: 汉字 [14:43] bradleymeck: why does Chinese always fail... [14:44] JimBastard: doesnt work in browser either bradleymeck , i think you need a special char set? [14:44] JimBastard: jedschmidt would know possibly [14:45] bradleymeck: shouldnt matter if im throwing it as utf8 i would think [14:45] malkomalko: I think the world needs nodecasts [14:45] malkomalko: somebody has the domain but has been sitting on it [14:45] malkomalko: maybe I'll start this shiz up [14:46] JimBastard: malkomalko: im down ahaha [14:46] JimBastard: but only if i get to play rap songs and make off colored jokes [14:47] maushu: bradleymeck, you just sent \x0000 and \x0000. [14:47] maushu: Your client doesn't support chinese characters? [14:47] bradleymeck: wonder why it showed up as chinese on all my things then [14:48] ditesh|cassini has joined the channel [14:48] JimBastard: i think its a special char set? no? [14:48] JimBastard: i dont know too much about this [14:48] maushu: !translate English 为伟大的正义! [14:48] _utility: 为伟大的正义! [14:48] maushu: Hmmm. [14:48] pkrumins: anyone knows if I can just return Integer::New(...) from a subroutine that returns Handle, or do I always have to wrap it in scope.Close(Integer::New(...))? [14:48] JimBastard: pkrumins: did you get that thing i sent you [14:48] JimBastard: http://github.com/tmpvar/node-microseconds [14:49] pkrumins: JimBastard: oh snap [14:49] pkrumins: i just wrote my own thing [14:49] pkrumins: looking into that :) [14:49] JimBastard: aye [14:49] JimBastard: research first, code later [14:49] JimBastard: ive learnt this lesson many times [14:49] maushu|web has joined the channel [14:49] JimBastard: its hard to not just start coding [14:49] pkrumins: didn't find this one [14:49] maushu|web: !translate English 为伟大的正义! [14:49] _utility: 为伟大的正义! [14:49] maushu: Hmm, nevermind. [14:49] JimBastard: maybe IRC can't handle it? [14:49] JimBastard: i dunno [14:49] JimBastard: chinese doesnt work in my browser [14:49] maushu: It's my client that is failing. [14:50] JimBastard: on www.maraksquires.com/translate.js/ [14:51] nostromo has joined the channel [14:52] pandark_ has joined the channel [14:53] pkrumins: JimBastard: my module has more stuff :) [14:53] pkrumins: JimBastard: getUnixTime, getTimeval, getMilliseconds. :) [14:53] _announcer: Twitter: "listening ryan dahl speaking about nodejs at webworkercamp." -- benoît chesneau. http://twitter.com/benoitc/status/17653386189 [14:53] malkomalko: huzzuh! [14:54] pandark_: I just want to point the fact that a few minute ago, _ry said hates javascript :D [14:54] mjr_: yeah, I noticed that [14:54] malkomalko: soundbyte! [14:54] pkrumins: i love javascript. [14:54] JimBastard: cool cool [14:55] JimBastard: nodejs rapsong? [14:55] paulwe has joined the channel [14:55] JimBastard: with ry samples? [14:55] pkrumins: actually i love all the languages, the more i know, the better my chances of making millions with my knowledge ;) [14:55] malkomalko: yah man, I'm a musician [14:55] malkomalko: I write music like it's my job, but it isn't [14:55] JimBastard: nice [14:55] malkomalko: we'd need a pimp ass theme song/intro if we wanted to do the casts [14:55] JimBastard: did i ever show you my reddit rap [14:55] JimBastard: its pretty bad [14:55] pandark_: JimBastard, he's speaking at a barcamp [14:55] malkomalko: haha no [14:56] JimBastard: http://www.youtube.com/watch?v=IrkDqh9ZVog [14:56] JimBastard: the production quality sucks, i didnt produce it [14:56] JimBastard: i just did instrumental, writing, rapping and dancing [14:56] JimBastard: theres a bunch of stuff like this around ive made a few tracks [14:57] malkomalko: awwwwwwww shittttttttttttt [14:57] malkomalko: nice coat [14:57] maushu: Yay! Ryah talked about my bot! [14:58] mjr_: yeah, bit props for _announcer [14:58] JimBastard: i like some of my video game rap songs. these random youtube people uploaded my shit [14:58] JimBastard: http://www.youtube.com/watch?v=8aJB7Le2_kU [14:58] mjr_: big [14:58] JimBastard: http://www.youtube.com/watch?v=zCvFxf41cbU [14:58] JimBastard: EQ rap from 1999 [14:58] JimBastard: a classic [14:59] malkomalko: my band [14:59] malkomalko: http://www.woundedbuffalotheory.com/download-music/jerkempirical-evidence-single/Empirical%20Evidence.mp3 [14:59] JimBastard: The page /download-music/jerkempirical-evidence-single/Empirical Evidence.mp3 could not be located on this website. [14:59] malkomalko: I don't believe you [15:00] JimBastard: ? [15:00] malkomalko: ahh [15:00] _announcer: Twitter: "Http://nodejs.mine.nu/ little bit more → Translation" [ja] -- KOBA789. http://twitter.com/koba789/status/17653875234 [15:00] khug has joined the channel [15:00] JimBastard: i got it [15:00] malkomalko: maybe it's a space.. throw a %20 in for the space bw empirical evidence [15:00] JimBastard: listening [15:00] _announcer: Twitter: ""frameworks build on nodejs will enable to build full website" , hey it seems like @ryah is speaking of our nodzle project ;-)" -- Alex. Eisenchteter. http://twitter.com/ineation/status/17653906180 [15:00] JimBastard: lol who is singing [15:01] JimBastard: WARNING WUSS ROCK AHEAD [15:01] malkomalko: lol [15:01] malkomalko: it's our "single" [15:01] JimBastard: is that you singing? [15:01] malkomalko: nope, my buddy big john [15:01] JimBastard: thank god [15:01] malkomalko: he's got no teeth [15:01] JimBastard: lolwut [15:01] JimBastard: big john aint got no teef [15:01] malkomalko: I just produced it [15:01] malkomalko: hahaha [15:02] JimBastard: http://www.youtube.com/watch?v=CwCWvn60L3w [15:02] JimBastard: i mean, its solid production [15:02] _announcer: Twitter: "#webworkerscamp Node.JS community officially challenging #RoR on 48h to the end of August ;)" -- utopiah. http://twitter.com/utopiah/status/17654024015 [15:02] JimBastard: i dont like it though [15:02] JimBastard: not my style at all [15:03] gwoo: nice! "Replacing addListener() with on()" [15:03] malkomalko: I dig your style dude [15:03] maushu: nice! "Replacing addListener() with on()" [15:03] maushu: Wat. [15:03] martoche has joined the channel [15:04] ineation has joined the channel [15:04] _announcer: Twitter: "Hmmm "One Node.js will ultimately be able to run all the websites of you guys in this room" #WebWorkersCamp" -- Mathieu Lemaire. http://twitter.com/Maz/status/17654177483 [15:04] gwoo: maushu: http://twitter.com/ryah/status/17634051443 [15:05] JimBastard: yeah gwoo that looks terrible [15:05] JimBastard: wtf is wrong with bind/trigger [15:05] gwoo: does it? [15:05] JimBastard: thats what jquery uses [15:05] gwoo: on is shorter :) [15:06] brainproxy has joined the channel [15:06] malkomalko: did the .on change make .100? [15:06] gwoo: i don't think so [15:06] JimBastard: i hope not [15:06] JimBastard: thats gonna be a shit ton of stuff for me to fix aahahah [15:06] JimBastard: im gonna start having bad dreams about breaking API changes in node [15:06] malkomalko: it wasn't a replace, just an alias [15:06] malkomalko: process.EventEmitter.prototype.on = process.EventEmitter.prototype.addListener; [15:06] gwoo: for no [15:06] gwoo: for now [15:06] JimBastard: yeah [15:07] ollie has joined the channel [15:07] micheil has joined the channel [15:07] maushu: Ryah is done. [15:07] gwoo: is there a recording? [15:07] mjr_: ryah said that he hates it when people write web frameworks. [15:07] mjr_: boom [15:07] gwoo: ha [15:08] maushu: mjr_, must missed that. [15:08] maushu: Did he say why? [15:08] mjr_: he likes programs that do things. [15:08] maushu: Ah, yes. [15:08] _announcer: Twitter: "@dionyziz Why don't you learn Node.js?" -- Micheil Smith. http://twitter.com/miksago/status/17654498980 [15:09] maushu: From gamedev there is a saying: Make games, not engines. [15:09] jakehow has joined the channel [15:12] micheil: ry not about? [15:13] JimBastard: can anyone see http://news.ycombinator.com/item?id=1483881 ? [15:14] kodisha has joined the channel [15:17] maushu: micheil, drinking coffee :p [15:17] pkrumins: node-time is out: http://github.com/pkrumins/node-time [15:17] micheil: maushu: me? or ryah? [15:17] micheil: :P [15:17] pkrumins: provides getUnixTime, getTimeval and getMilliseconds [15:17] maushu: ryah [15:17] pkrumins: i wonder what else could be added to it. [15:18] maushu: JimBastard, no. [15:18] pkrumins: JimBastard: just read your message :) [15:18] JimBastard: yeah, could anyone do a HN post for me? im still banned, really dont feel like ban evading [15:18] JimBastard: Transate.js - a dual-sided translation library for node.js and browser http://thechangelog.com/post/763660008/translate-js-a-javascript-babelfish [15:18] maushu: Got b&? xD [15:18] micheil: maushu: fair fair; 'there some meetup tonight? [15:18] JimBastard: yeah of course maushu [15:18] martoche has left the channel [15:18] JimBastard: will take < 1 minute to post [15:18] maushu: Next time try not to steal horrible vb6 code from 10 years ago. :P [15:19] maushu: JimBastard, want me to post that link? [15:19] JimBastard: yeah, with that caption if you could [15:19] JimBastard: would be awesome [15:19] JimBastard: "Transate.js - a dual-sided translation library for node.js and browser" [15:20] JimBastard: if you made a comment about my being banned too that would be funny, but just getting the link up would be awesome [15:20] JimBastard: thanks [15:20] malkomalko: nope [15:20] _announcer: Twitter: "@miksago Which V8 server-side engine would I use on Debian to run node.js?" -- Dionysis Zindros. http://twitter.com/dionyziz/status/17655326672 [15:20] JimBastard: ty maushu [15:20] maushu: No prob. [15:21] JimBastard: !tweet @dionyziz , it doesnt work like that.... you just install node and comes with v8 [15:21] _announcer: Twitter: "Since node.js didn't have any functions for getting current time, I wrote a new node-time module: http://bit.ly/9c9jGs" -- Peteris Krumins. http://twitter.com/pkrumins/status/17655404991 [15:22] maushu: JimBastard, fixed the title. Transate.js -> Translate.js [15:22] micheil: JimBastard: I'll follow this up.. [15:22] maushu: Unless that was a inside joke and I missed it. [15:22] JimBastard: maushu: HN does that for all posts [15:22] JimBastard: sup micheil ? [15:23] micheil: JimBastard: dionyziz is a friend from the past ;P [15:23] JimBastard: 10-4 [15:23] JimBastard: GO CONVERT THE HEATHEN [15:26] maushu: pkrumins, couldn't you inject those functions into Date? [15:27] malkomalko has joined the channel [15:29] micheil: JimBastard: converting in progress. [15:29] micheil: but what's with people and their love of mysql? [15:30] mjr_: mysql goes fast and works, even though sql kind of sucks [15:30] JimBastard: RDBMS is pointless when you have access to JSON [15:30] JimBastard: i mean, thats a broad statement [15:30] mjr_: pkrumins: new Date() doesn't get the current time? [15:30] JimBastard: but you dont need an RDBMS if you set your shit up right [15:30] JimBastard: they are easy though [15:31] JimBastard: http://i.imgur.com/zAmRC.jpg [15:32] pandark_ has joined the channel [15:33] micheil: righteo.. which code is that? [15:33] micheil: rugby? [15:33] _announcer: Twitter: "Trying out Node.js after @miksago's suggestion. It's a server-side JS engine for network-enabled applications http://nodejs.org" -- Dionysis Zindros. http://twitter.com/dionyziz/status/17656755009 [15:34] JimBastard: some good ole cock grabbin fun [15:34] JimBastard: inappropiate ! [15:35] mjr_: That was 100% more cock-grabbing than I was expecting. [15:35] mitkok has joined the channel [15:37] JimBastard: whats the capital of thailand? [15:37] JimBastard: ACTION punches mjr_ in the dick [15:38] JimBastard: BANGCOCK [15:38] JimBastard: maybe i should be going now [15:38] mape: hmm [15:39] mape: bah ryah should have told me the time [15:39] mape: but yeah, it works [15:42] dionyziz has joined the channel [15:43] malkomalko: json in and out of redis is super tight [15:44] dionyziz: Hi guys. How do I install this library for Node.js on a debian machine? http://github.com/masuidrive/node-mysql [15:44] Aria has joined the channel [15:46] bradleymeck: just throw it into a folder, if you want to make it available to use easier put it in ~/.node_libraries [15:46] bradleymeck: a package manager really helps too like npm [15:46] micheil: mmm... really cold meat pie at 2am :D [15:48] micheil: bradleymeck: said package isn't on npm [15:48] bradleymeck: i know but for future reference [15:49] micheil: true true [15:53] dionyziz: bradleymeck, I installed npm, thanks for that. As for node-mysql, I suspect I'll have to copy the source somewhere. Would /usr/lib/nodejs/mysql be OK? [15:53] dionyziz: I want to install it for all users. [15:54] micheil: I'll check [15:55] dionyziz: ACTION wants cold meat pie too. [15:55] micheil: it was actually a currie pie, tasted kinda crap [15:58] micheil: dionyziz: you should be able to place it anywhere on the fs [15:59] kriszyp has joined the channel [15:59] micheil: although, if you want to just do: require("node-mysql") and not reference the full path, you'd need to add it to the require.path [16:00] micheil: require.paths, rather [16:00] dionyziz: micheil, I would love to be able to do that. Is there some configuration file I can use to change require.paths? [16:00] micheil: not really [16:00] micheil: just do it where ever [16:01] micheil: require.paths.unshift("path/to/library/") [16:02] dionyziz: Do I have to do that in every application I create? [16:02] creationix has joined the channel [16:02] micheil: yeah, you would [16:02] dionyziz: But I see that the default paths include /usr/local/lib/node, so maybe I'll just move everything there. [16:03] micheil: I do, however, see a env["NODE_PATH"]] [16:03] micheil: which may also work [16:04] micheil: I wouldn't recommend placing stuff near the installation path (lest something get overridden by an update.) [16:05] _announcer has joined the channel [16:08] dionyziz: Okay so /usr/local/lib/node is in my require.paths, and the library is at /usr/local/lib/node/mysql i.e. I see the file /usr/local/lib/node/mysql/api.md and the folder /usr/local/lib/node/mysql/lib. Not sure how to load it still. I tried require( 'node-mysql' ); require( 'mysql' ); and require( 'mysql/client' ) with no luck :( [16:08] Aria: .md? [16:08] ineation has joined the channel [16:08] Aria: Got any .node or .js files? [16:08] micheil: okay, mysql/lib/mysql [16:09] maushu: ^ [16:09] micheil: Aria: yeah, there are js files. looks like that's just a clone of the repo. [16:09] dionyziz: Yay, that worked! Thanks @ micheil [16:10] micheil: dionyziz: but like I said, I wouldn't recommend putting libraries in that particular folder. [16:10] dionyziz: micheil, it seems that this folder may be designated for holding libraries, as I see it in require.paths. Is that assumption wrong? [16:14] micheil: maybe it's for system libraries, I'm not sure [16:14] micheil: I personally use npm or vendor the libraries I need [16:15] Aria: I've been putting things in ~/.node_libraries, but I'd put them in /usr/local/lib/node when I have package management to remove them again and keep track of where they came from [16:15] dionyziz: I'd use ~/.node_libraries, but I want the rest of my team to be able to access installed libraries easily too. [16:15] micheil: is this for zino? [16:16] softdrink has joined the channel [16:16] maushu: dionyziz, how about keeping the libs locally? [16:16] maushu: Like require('./vendor/mysql'); [16:16] micheil: maushu: I think it's cross project [16:17] khug has joined the channel [16:18] _announcer: Twitter: "Fun comp-sci challenge for today, implement online compaction for nStore, a #node.js document store. http://bit.ly/bb3Vtg (This will be fun)" -- Tim Caswell. http://twitter.com/creationix/status/17660747885 [16:23] khug has joined the channel [16:23] virtuo has joined the channel [16:27] _announcer: Twitter: "For the record: node.js and CoffeeScript together is pure awesome." -- Jonathan Rudenberg. http://twitter.com/titanous/status/17661385806 [16:29] BrianTheCoder has joined the channel [16:31] mklappstuhl has joined the channel [16:34] malkomalko: jonathan is right about that [16:37] mikeal: creationix: i'm thinking about what you posted on twitter [16:37] mikeal: i'm trying to figure out how that would work without a by-sequence index [16:38] dionyziz: micheil, no, it's for a debugging tool I'm making for PHP. It's very possible that the Zino development team will be using it to debug Zino however, [16:38] dionyziz: but I [16:38] dionyziz: 'm doing it as an experiment mostly. [16:38] micheil: ah, okay [16:38] micheil: cool stuff [16:39] micheil: I wasn't sure if zino was still going or what. [16:39] dionyziz: maushu, good idea, but may cause code duplication if many different apps are developed. [16:39] dionyziz: micheil, oh yeah totally. We're actually preparing a new version which we'll be launching during the summer, focused on web-based video calling and monetization based on video advertising (5-second before video calls) [16:40] micheil: hmm.. fair enough :) [16:40] dionyziz: Also playing around with XML/XSLT a little ;) you bet it takes processing requirements off the server! [16:41] micheil: xml & xslt.. *shudder* [16:41] micheil: I'll stick to my JSON, thanks [16:43] dionyziz: We've actually done some pretty cool stuff with JS and XSLT. Asynchronous XSLT transformation from XML into HTML using JS: http://www.chorvus.com/axslt/ [16:43] dionyziz: Very useful for AJAX when your site is purely XML API and no HTML. [16:43] dionyziz: (Chorvus is one of our developers) [16:45] teemow has joined the channel [16:45] micheil: yeah.. but no thanks :P [16:46] dionyziz: lol :D [16:46] hellp has joined the channel [16:47] _announcer: Twitter: "socket.io makes realtime browser way too easy. I got a rudimentary push server running in Node.js with some logic in under 40 lines." -- Jonathan Rudenberg. http://twitter.com/titanous/status/17662727683 [16:47] micheil: hmm.. I've really gotta finish rebuilding that smtp client library some day. [16:47] cloudhead has joined the channel [16:49] mjr__ has joined the channel [16:49] _announcer: Twitter: "http://socket.io makes realtime browser push way too easy. I have a functional push server running on #nodejs in under 40 loc." -- Jonathan Rudenberg. http://twitter.com/titanous/status/17662880776 [16:53] zomgbie has joined the channel [16:53] maushu: ... [16:54] _announcer: Twitter: "Vows.js - Asynchronous Behavior Driven Development For Node.js http://vowsjs.org/" -- jalbertbowdenii. http://twitter.com/jalbertbowdenii/status/17663175693 [16:54] micheil: yes, because something needed to be said, didn't it maushu. [16:54] micheil: :P [16:55] nostromo: should console.log("%d") bomb? [16:56] mitkok has joined the channel [16:56] sveisvei: dionyziz: a xslt parser? [16:56] jbrantly1 has joined the channel [17:01] Yuffster has joined the channel [17:06] pkrumins: oops, my node-time module is uselss [17:07] pkrumins: i forgot about Date() object [17:08] aho: ... :> [17:08] micheil: heh heh [17:08] pkrumins: :D [17:09] malkomalko: hehe [17:09] skampler: :D [17:15] _announcer: Twitter: "#webworkerscamp finished! now I need some rest and let my brain (with NoSQL, NodeJS, WebSockets...) to process all that!" -- utopiah. http://twitter.com/utopiah/status/17664478447 [17:16] Aria has joined the channel [17:18] khug has joined the channel [17:19] Kiba has joined the channel [17:19] Kiba: yo [17:19] Kiba: my random function is acting weirdly [17:19] Kiba: http://gist.github.com/462708 [17:20] Kiba: randomChoice is returning the same values twice.. [17:20] Kiba: err [17:20] Kiba: or at least getShape is. [17:21] brainproxy has joined the channel [17:21] virtuo has joined the channel [17:21] _announcer: Twitter: "How to install node on Windows: http://blog.dtrejo.com/how-to-install-nodejs-on-windows #nodejs" -- Ewoud van den Boom. http://twitter.com/ewoudj/status/17664894157 [17:22] creationix has joined the channel [17:28] b_erb has joined the channel [17:31] _announcer: Twitter: "Wrote my first lines of MongoDB and Node.js - see u all at #WebWorkersCamp 2.0 after this summer!" -- Mathieu Lemaire. http://twitter.com/Maz/status/17665435157 [17:35] _announcer: Twitter: "Moving on from #HPHP my next attempt is at #Node.js, currently make'ing on my desktop comp" -- Miguel Espinoza. http://twitter.com/purefan/status/17665659394 [17:36] brainproxy has joined the channel [17:36] _announcer: Twitter: "AF83 will be happy to host an all-nighter NodeJS knokckout... http:// nodeknockout.com/ soon more details" -- Ori A Pekelman. http://twitter.com/OriPekelman/status/17665747176 [17:37] Kiba: hmm [17:37] Kiba: hey [17:37] Kiba: http://gist.github.com/462719 [17:38] Kiba: I am trying to generate shape [17:38] Kiba: but it seem [17:38] Kiba: that future inherient current's shape [17:38] Kiba: does that mean [17:38] Kiba: that future refer to the same object as current's? [17:43] jashkenas has joined the channel [17:44] mape: hmm [17:44] mklappstuhl has joined the channel [17:44] _announcer: Twitter: "Super simple, round robin, TCP port forwarding in 45 lines of coffee-script running on node.js http://gist.github.com/462720 #nodejs" -- Andy Kent. http://twitter.com/andykent/status/17666202420 [17:49] mitkok has joined the channel [17:52] _announcer: Twitter: "npm the defacto package manager for #nodejs so says @ryah! though package managers are evil." -- Ori A Pekelman. http://twitter.com/OriPekelman/status/17666623559 [17:52] mostlygeek has joined the channel [17:56] liucougar has joined the channel [17:57] niklasfi has left the channel [17:59] _announcer: Twitter: "Translate.js - a dual-sided translation library for node.js and browser http://ff.im/n8QSp" -- antest. http://twitter.com/antest/status/17667039263 [18:02] jakehow has joined the channel [18:04] jashkenas: Are sys.puts and sys.print going away, now that console.log is out? [18:06] peburrows has joined the channel [18:07] ditesh|cassini has joined the channel [18:09] cfq has joined the channel [18:15] ewdafa has joined the channel [18:16] saikat has joined the channel [18:17] mitkok has joined the channel [18:18] stepheneb has joined the channel [18:19] maushu: jashkenas, hope not. Console.log is silly. [18:20] jashkenas: sys.puts is no longer documented, so I was a little worried about it... [18:22] derferman has joined the channel [18:22] virtuo has joined the channel [18:27] mscdex: well, puts() is stil mentioned in the docs once [18:27] mscdex: heh [18:30] x_or has joined the channel [18:38] keeto has joined the channel [18:44] brainproxy has joined the channel [18:44] brainproxy has joined the channel [18:46] isaacs_mobile has joined the channel [18:46] mertimor has joined the channel [18:49] brainproxy has joined the channel [18:52] stagas has joined the channel [18:52] drostie has joined the channel [18:53] isaacs_mobile: creationix: we should just merge nvm and nave one of these days [18:53] sooli has joined the channel [18:53] creationix: isaacs_mobile: agreed, just not a high priority for me [18:53] creationix: it works enough [18:54] isaacs_mobile: Me neiother [18:54] isaacs_mobile: Both work fine, just a tad differently [18:54] micheil: you see, this is how we roll. [18:54] micheil: G'night chaps. [18:54] isaacs_mobile: Gnite [18:54] benburkert has joined the channel [18:57] malkomalko has joined the channel [18:59] coolston_bro has joined the channel [18:59] _announcer: Twitter: "I built something with four technologies that I'd never used before today: CoffeeScript, Node.js, Redis, and Web Sockets" -- Jonathan Rudenberg. http://twitter.com/titanous/status/17670235025 [19:03] aaronblohowiak has joined the channel [19:05] sooli has joined the channel [19:06] stagas has joined the channel [19:06] benburkert has joined the channel [19:13] aheckmann has joined the channel [19:14] sveimac has joined the channel [19:15] brainproxy has joined the channel [19:16] gwoo has joined the channel [19:25] zomgbie has joined the channel [19:31] mscdex: was there a live stream of barcamp or something? [19:35] malkomalko: not sure [19:45] peburrows has joined the channel [20:00] mjr__: jashkenas: console.log is the future [20:00] polo has joined the channel [20:01] mjr_: I think it is awkward as well, but I'm sure we'll all get used to it. [20:02] jashkenas: It's awkward to keep sys.print around then ... someone should take it out back and shoot it. [20:02] shimondoodkin has joined the channel [20:02] mjr_: I don't think sys.puts / sys.print are quite right either. [20:02] mscdex: console.log doesn't seem like a very good name, especially if you have stdout redirected somewhere else [20:03] mjr_: Yeah, I think console is awkward because there is no "console". There is just stdout. [20:03] mjr_: \ [20:03] mjr_: console is a web browser thing, like window. [20:03] mjr_: I suspect that the console ship has sailed though, so we should all get used to it. [20:03] shimondoodkin: maybe somebody knows if node js supports querystings of arrays and subarrays like php? arr[x][1]=asdfasdf ? [20:04] mjr_: I think the querystring parser supports that. [20:04] mjr_: Doesn't it? [20:04] malkomalko: arr[x] has to already exist [20:05] jashkenas: shimondookin: it supports the Rails/PHP standard, as far as I know. [20:05] shimondoodkin: thanks [20:05] jashkenas: mjr_: I usually mix-in "sys" globally, so I have puts() and print() handy at all times. I guess we'll just have to set it up for whatever's comfortable. [20:06] mjr_: I like the idea of a logger with different priorities though. I'm just not sure it helps to have it be compatible with console.* [20:07] shimondoodkin: what about the error output? [20:08] shimondoodkin: also it is not always a log, sometimes it is just print [20:09] shimondoodkin: also you could have 3rd stream as log [20:09] mattly has joined the channel [20:09] technoweenie has joined the channel [20:10] shimondoodkin: the consule.log or sys. log is could be bufffered with lasy write [20:13] shimondoodkin: why it is console.log is it copied from ruby or what, maybe it is good idea to make some standart or to join a standart and todo asl all common js or as like browsers competible like firebug ... [20:14] jashkenas: ha, ha. [20:16] shimondoodkin_ has joined the channel [20:16] shimondoodkin_: is it true because it seemed few days ago like some one dropped a ward about it, like it is a rumor - about what else bad about node js [20:18] OSInet has joined the channel [20:18] OSInet has left the channel [20:22] shimondoodkin has joined the channel [20:23] mikeal has joined the channel [20:37] sveisvei has joined the channel [20:38] tav has joined the channel [20:39] drostie has joined the channel [20:39] kodisha has joined the channel [20:42] ryah has joined the channel [20:44] JimBastard has joined the channel [20:44] JimBastard: !tweet @katzenzungen http://maraksquires.com/translate.js/ [20:45] benburkert has joined the channel [20:53] teemow has left the channel [20:54] MattJ has joined the channel [20:56] polotek has joined the channel [20:57] ditesh|cassini has joined the channel [20:58] markwubben has joined the channel [20:59] mjijackson has joined the channel [21:00] markwubben has joined the channel [21:02] brainproxy has joined the channel [21:04] polotek: hey mikeal. tweetstream seems to be broken [21:05] Tim_Smart has joined the channel [21:05] hellp has joined the channel [21:10] polotek: mikeal: sent you a github issue [21:10] polotek has left the channel [21:11] brainproxy has joined the channel [21:11] MrNibbles has joined the channel [21:16] softdrink has joined the channel [21:20] JimBastard: http://news.ycombinator.com/item?id=1483890 [21:20] JimBastard: i think its great that people think posting a video of me rapping in fur coat as a comment to one of my OSS projects is derogatory [21:20] qschzt has joined the channel [21:21] pkrumins: JimBastard: got your message. yeah, millisecond resolution isn't available [21:21] JimBastard: pkrumins: i think tmpvar's, it is [21:21] pkrumins: yeah [21:21] pkrumins: with his module it is [21:22] JimBastard: i thought thats what you were doing [21:22] pkrumins: not really, i needed only microsecond resolution :) [21:22] JimBastard: hence me sending you the project [21:22] pkrumins: yeah. [21:23] pkrumins: but thanks! [21:23] JimBastard: anytime [21:29] qschzt: http://mrdoob.com/lab/javascript/multiuserpad/ i finally got mrdoob to use node :) [21:30] ditesh|cassini has joined the channel [21:32] JimBastard: for real [21:32] JimBastard: mrdoob is awesome [21:32] JimBastard: thats cool qschzt [21:35] mape: like how you see the cursors :) [21:36] shimondoodkin: JimBastard: ive made changes to translate would you like test them? [21:36] JimBastard: not really [21:36] JimBastard: lol let me check the fork queue [21:36] JimBastard: one sec [21:37] JimBastard: which one is you? [21:37] shimondoodkin: shimondoodkin [21:37] JimBastard: http://github.com/Marak/translate.js/network [21:37] JimBastard: i dont see you [21:37] shimondoodkin: ohh it is helpmepro1 [21:37] shimondoodkin: it is my other unbranded account [21:38] JimBastard: ohh nice dude [21:38] JimBastard: im reading now [21:38] JimBastard: you added intent it looks like [21:38] JimBastard: http://github.com/Marak/translate.js/issues#issue/2 [21:38] liucougar_ has joined the channel [21:39] JimBastard: i should be able to merge and push that tonight [21:39] JimBastard: cool? [21:39] shimondoodkin: yes but it is untested [21:39] JimBastard: ill check it out [21:39] JimBastard: i was gonna do this anyway, just not anytime soon [21:39] JimBastard: :-) [21:39] shimondoodkin: cool [21:39] JimBastard: thanks again [21:39] bpot has joined the channel [21:40] JimBastard: nice! i just got another translate.js patch in! [21:40] sechrist has joined the channel [21:40] JimBastard: from someone else [21:41] JimBastard: epic win [21:42] qschzt: 13 users, 16% cpu [21:42] qschzt: :s [21:43] Tim_Smart: qschzt: Thats not bad [21:44] WarBot has joined the channel [21:46] qschzt: yeah all of them are more or less constantly active [21:48] mikeal has joined the channel [21:52] qschzt: the server for that is http://pastebin.com/1Qy4UcZi [21:52] everton has left the channel [21:52] mrdoob has joined the channel [21:53] mrdoob has left the channel [21:54] mrdoob has joined the channel [21:54] qschzt: mrdoob, just pasted the pastebin url. very nice [21:54] mrdoob: not that I did much though :) [21:54] qschzt: we were talking about how you could only send events onclick, otherwise every 1s [21:55] mrdoob: it's the sockets.io chat example simplified :) [21:55] mrdoob: yeah, the onclick would lose some realtime magic, but 1s sounds like a way [21:56] mrdoob: but, I though there was not much data (apart from the one I send) [21:56] mrdoob: so what would be the difference of sending 10 string of 10 characters [21:56] qschzt: it's not so heavy, about constant 300kbps both ways [21:56] mrdoob: instead of 1 string of 100 characters? [21:57] qschzt: i dunno I think 16% cpu for 13 users is a problem [21:57] mattly has joined the channel [21:58] qschzt: mrdoob the cost of processing / deserializing new messages is one [21:58] mrdoob: is not contact though [21:58] mrdoob: right now 10 users 5% cpu [21:58] mrdoob: wait, now 12% [21:58] mrdoob: :) [21:58] qschzt: in fact the socket.io server doesn't need to do that, but it does [21:59] Tim_Smart: socket.io needs a bit of refining [21:59] qschzt: you could just broadcast the raw json, in theory (dangers lurk) [21:59] mape: could need a better example/docs [21:59] mrdoob: uhm, I'm not using json [22:00] qschzt: oh :) [22:00] mrdoob: or is socket.io doing that in between? [22:00] qschzt: yes it is [22:00] Tim_Smart: socket.io uses JSON yeah [22:00] mrdoob: oh [22:00] qschzt: that's probably most of the cpu bind on the server [22:00] mrdoob: I was going to use miksago's node websocket at first [22:01] mrdoob: would that be better? [22:01] jashkenas: is it supposed to be black? [22:01] mrdoob: http://github.com/miksago/node-websocket-server/ [22:01] mrdoob: but in the end I used socket.io because apparently it would handle firefox&co [22:02] mrdoob: (which doesn't seem to do, or I haven't been able to make it do) [22:02] mape: mrdoob: yeah should have fallback. [22:02] shimondoodkin: probably it is possible to reqrite socket io to not use json [22:03] shimondoodkin: *reqrite [22:03] DarthShrine has joined the channel [22:03] shimondoodkin: *rewrite [22:03] mrdoob: anyone has experience with node-websocket then? [22:03] Tim_Smart: mrdoob: Did you remove the flashsocket? [22:03] mscdex: shimondoodkin: someone had started working on something like that, i think it was olly [22:03] JimBastard: hey mrdoob ! you rock! [22:03] JimBastard: << marak [22:03] rtl has joined the channel [22:03] Tim_Smart: mrdoob: flashsocket transport on socket.io did work for me. [22:04] Tim_Smart: *didn't [22:04] mrdoob: Tim_Smart, I didn't see anything about flashsocket on the files I had [22:04] admc_ has joined the channel [22:04] admc has joined the channel [22:04] mscdex: shimondoodkin: http://github.com/ollym/node-io [22:04] mrdoob: (which was the socket.io chat example) [22:04] mrdoob: JimBastard, hey! thanks! :D [22:05] sechrist: anybody know how to cross compile node? [22:05] sechrist: I need an armv6 version [22:05] qschzt: sending json probably isn't much of a problem, having the server decode and re-encode every message could be avoided .. [22:05] sechrist: oh my god we're on 0.1.100 [22:05] sechrist: fuuuuuuuuuuu [22:05] qschzt: you do have to trust everyone at that point :) [22:06] qschzt: but you can validate the message at the client's cpu cost [22:06] mrdoob: yep [22:06] dmitry has joined the channel [22:06] mscdex: but you can't trust the client [22:06] mscdex: ! [22:06] mscdex: :P [22:06] sechrist: mscdex: lulz [22:07] sechrist: yeah does anybody know anything about cross compiling nod? [22:07] mscdex: the antivirus? [22:07] sechrist: node obviously [22:07] mscdex: huhu [22:07] ditesh|cassini has joined the channel [22:08] qschzt: hmm, sounds like a fork+patch for socket.io-node [22:08] mscdex: not sure if anyone has done it outside of the ipad/iphone efforts [22:08] mscdex: ipad/iphone/android [22:09] mrdoob: does ollym's node-io also use json? [22:09] mscdex: i don't believe so, but i haven't looked at it much [22:09] Tim_Smart: mrdoob: Line 6http://gist.github.com/462874 [22:09] mscdex: /afk [22:10] Tim_Smart: (Client code for http://fostle.com:8000/ ) [22:11] qschzt: hahah someone figured out how to make it all black :-D [22:11] jashkenas: I'll stop. [22:11] jashkenas: var black = function() {socket.send(COMMAND_MOUSEDOWN + ',1'); for (var i=0; i<1000; i++) { socket.send( COMMAND_POSITION + ',' + 0 + ',' + i ); socket.send( COMMAND_POSITION + ',' + 2000 + ',' + i ); } }; [22:11] jashkenas: ;) [22:11] qschzt: nice [22:12] cloudhead has joined the channel [22:12] jashkenas: someone should figure out how to drop in a sine wave or something animated. [22:12] hansek has joined the channel [22:14] mrdoob: jashkenas: haha :D [22:14] jashkenas: that one's too compressed. [22:14] steven_t: bananas [22:15] Tim_Smart: jashkenas: You black function didn't work :( [22:15] jashkenas: it does ... you just don't see it on your screen. [22:15] jashkenas: Open up a different window. [22:15] jashkenas: there you go. [22:16] Tim_Smart: Oh I see now... heh [22:17] jashkenas: there we go. [22:17] mrdoob: lets hope slicehost is ok with all this, it's quite we still have 140gb left of fun ;) [22:17] jashkenas: bandwidth? [22:17] qschzt: very worthwhile experiment I'd say [22:17] mrdoob: yeah [22:17] Tim_Smart: mrdoob: Whats the mean transfer with 10 users? [22:18] qschzt: pretty responsive isn't it [22:19] jashkenas: oops. [22:19] qschzt: jashkenas, your black doesn't reach the full width in my browser [22:19] qschzt: oh nice [22:19] jashkenas: refreshed to kill it. [22:20] mrdoob: Tim_Smart: I don't know... [22:20] mrdoob: I can say that in 3 hours it has consumed about 1gb [22:20] mrdoob: (1/3 less than yesterday though) [22:20] Tim_Smart: mrdoob: Has it been on Hacker News yet? [22:20] mrdoob: no [22:20] mrdoob: otherwise there would be 1000+users [22:21] Tim_Smart: That would be interesting... [22:21] mrdoob: so far is contant at 11 (for some reason) [22:21] jashkenas: there we go ... that's the idea. [22:21] mrdoob: now with all you guys running scripts [22:21] mrdoob: it's hitting 100% cpu [22:21] jashkenas: I bet. [22:21] Tim_Smart: Would be un-usable with 20+ people really. [22:21] jashkenas: so, how can we throttle this sort of thing, if you can't trust the client? [22:22] jashkenas: and you want to have a responsive multi-user chat or sketchpad. [22:22] jashkenas: block sessionids if there's too many within 5 secs? [22:22] Tim_Smart: Make the messages less expensive is one way. Socket.io adds quite a bit of overhead. [22:23] shimondoodkin: the implementation might need to be different [22:23] shimondoodkin: to send pixels once in a ... [22:23] mrdoob: Tim_Smart: would you suggest another lib? [22:23] jashkenas: it's getting groovy in there. [22:23] Tim_Smart: mrdoob: Maybe just normal websockets for now? [22:23] mrdoob: does node.js have websockets? [22:23] mrdoob: oh, that's the thing you sent [22:24] mrdoob: now I get it [22:24] Tim_Smart: mrdoob: http://wiki.github.com/ry/node/modules#ws-ajax [22:24] mrdoob: ... or may be not [22:25] jashkenas: Sin: https://gist.github.com/e0d6164bc20bcfcfd45e [22:26] Tim_Smart: mrdoob: http://github.com/miksago/node-websocket-server [22:26] qschzt: mape, what did you use first? [22:26] mape: qschzt: I'm still using what tim just pasted [22:26] qschzt: mape, did you go to socket.io yet? [22:26] qschzt: ok [22:26] qschzt: mrdoob, do that [22:26] mape: No haven't switched [22:27] qschzt: :) [22:27] mrdoob: yeah, that's the one I was going to use at first [22:27] mrdoob: ok [22:27] mrdoob: I'll move it over [22:27] mrdoob: but I wanted to rise the bar of the scripters :P [22:27] qschzt: mape, do you have easy access to the deserialized message? [22:28] qschzt: i mean, before deserialization [22:28] qschzt: not-deserialized message :) [22:28] mape: qschzt: huh? JSON.stringify [22:29] Tim_Smart: I might make a re-factored branch of socket.io, make it more performant. [22:29] qschzt: mape, I mean I guess for multiuserpad mrdoob just wants to pass along the message without deserializing it in node [22:29] Tim_Smart: (At some point) [22:29] qschzt: Tim_Smart, i think that's in order yes [22:30] mape: qschzt: just broadcast it back? [22:30] qschzt: mape, yeah [22:30] Tim_Smart: comma seperated commands are probably the way to go. [22:30] mape: there is a .broadcast() [22:30] jashkenas: hey, it's art. [22:30] mrdoob: Tim_Smart, that's whatI'm doing [22:31] Tim_Smart: mrdoob: Yeah, its getting bottle-necked by socket.io's JSON.stringify and JSON.parse [22:31] qschzt: yep [22:32] qschzt: just need a raw version of onClientMessage and broadcast() [22:32] Tim_Smart: jashkenas: http://img251.imageshack.us/img251/6143/screenshotvpo.png [22:32] jashkenas: looks like ms paint. [22:33] Tim_Smart: You might want to attach that one to your portolio. [22:33] Tim_Smart: *portfolio [22:34] mrdoob: http://twitpic.com/225bzm/full [22:34] mrdoob: that was before the coders ;) [22:36] jashkenas: masterpiece: http://cl.ly/4342a60141fec062da16 [22:36] tmpvar has joined the channel [22:38] Tim_Smart: A tablet would be amazing right now... [22:40] marshall_law has joined the channel [22:40] qschzt: just need to remove JSON.stringify and JSON.parse in client.js [22:41] Tim_Smart: qschzt: And changed the commands to integer values [22:42] Tim_Smart: *change [22:43] Tim_Smart: That would mean only 2-3 bytes per message were taken by socket.io [22:44] Tim_Smart: Well, more than that if there is extra data it sends. [22:47] x_or has joined the channel [22:51] qschzt: http://pastie.org/1029634 attempts to remove the (de)serialization, maybe problem with sessionId [22:55] Tim_Smart: qschzt: socket.io will have internal handshake messages and such. [22:55] qschzt: nah, mrdoob is right, switching to node-websocket-server is a better idea [22:56] qschzt: there seems to be a bit of overhead due to message batching in socket.io, which is very nice normally [22:59] qschzt: Tim_Smart, yeah exactly. is Rauch around here? [23:04] mklappstuhl has joined the channel [23:05] qschzt: mape, what kind of load did you see from HN? [23:05] mape: qschzt: peaked at like 0.09 [23:05] mrdoob: 0.09% cpu? [23:05] mape: load [23:06] qschzt: tasks in queue [23:06] mrdoob: ah, I'm a noob you know :) [23:06] qschzt: mrnoob [23:07] mrdoob: ;) [23:10] shimondoodkin: creationx, may i ask you a queuestion about connect? [23:12] shimondoodkin: creationix: [23:12] creationix has joined the channel [23:13] shimondoodkin: i want to understand how filters work in connect to integrate them into my framework, maybe you can tell me where to look to find it quicker? [23:16] mikeal has joined the channel [23:19] jashkenas has joined the channel [23:24] mattly has joined the channel [23:24] shimondoodkin has joined the channel [23:27] admc_ has joined the channel [23:27] admc has joined the channel [23:30] Avius has joined the channel [23:32] malkomalko has joined the channel [23:34] aheckmann has joined the channel [23:34] steven_t has left the channel [23:40] Matsimitsu has joined the channel [23:44] saikat has joined the channel [23:48] creationix has joined the channel [23:53] satori has joined the channel [23:54] JimBastard_ has joined the channel [23:56] markc has joined the channel [23:59] JimBastard has joined the channel