[00:00] Marak: mscdex: yeah its all git based though [00:00] mscdex: which module is db-mysql? [00:00] Marak: mscdex: and there are community gate keepers [00:00] Marak: mscdex: so no shitty docs [00:00] Zarathust: http://nodejsdb.org/db-mysql/ [00:01] mscdex: oh, that's that node-db mentioned in the mailing list today [00:03] fr0stbyte has joined the channel [00:04] mikeal has joined the channel [00:06] sourcode has joined the channel [00:07] kohai: @christophmccann: Facebook oauth now integrated with extension and just adding some sweet node.js ;) [00:07] vikstrous: does anyone here use connect-auth? i don't understand where req.isAuthenticated is supposed to be set... i'm trying to copy pieces of code from examples, but this function seems to be undefined for me and I don't know why [00:16] galaxywatcher has joined the channel [00:17] jacter has joined the channel [00:18] brimster has joined the channel [00:18] vikstrous: oh lol stupid mistake. the server didn't restart because it wasn't watching the folder i modified [00:18] zzak has joined the channel [00:18] zzak has joined the channel [00:20] kohai: @tunix: compiling node.js and creating an always up2date package for arch linux. contacted its current maintainer to adopt nodejs-git @ aur [00:22] fr0stbyte has joined the channel [00:23] jmoyers: ACTION had to write php all day. fuuuuuuuuuu [00:23] kohai: @DanGraetzer: Single Page Apps with Node.js - http://gloo.me/kVehzA [00:23] JianMeng has joined the channel [00:24] kohai: @thornyengine: Blog post discussing my solution for one codebase on #nodejs and browsers http://dev.thornyengine.com/2011/05/24/state-of-te/ [00:25] stepheneb has joined the channel [00:26] admc has joined the channel [00:36] kohai: @JoshNursing: Another epic discussion with @fbrunel this time on Node.js :P We need to do that show/podcast. [00:36] MikhX has joined the channel [00:37] justinTNT has joined the channel [00:37] baudehlo1 has joined the channel [00:38] justinTNT: morning, [00:38] Marak: morning justinTNT [00:39] justinTNT: ACTION puts lapalux on the stereo .. [00:40] AdmGre has joined the channel [00:40] CIA-90: node: 03Bert Belder 07master * r9cec08e 10/ (6 files): Batch of ev -> uv changes - http://bit.ly/k0L1De [00:40] CIA-90: node: 03Ryan Dahl 07master * ra72284e 10/ src/node_stdio_win32.cc : Fix windows EOL chars - http://bit.ly/inaxId [00:40] akume has joined the channel [00:40] sambao21 has joined the channel [00:40] edude03 has joined the channel [00:40] frewsxcv: anybody here in the central coast of california? [00:41] Marak: frewsxcv: is that the bay area? i have no idea [00:42] frewsxcv: Marak: no. geographically, the bay area is in the center of california on the coast, but is not considered the regional area 'the central coast' [00:42] frewsxcv: http://en.wikipedia.org/wiki/Central_Coast_of_California [00:43] frewsxcv: anyways i'm hosting a talk at Cal Poly in San Luis Obispo on Node.js if anyone would like to attend [00:44] AvianFlu: frewsxcv: say hi to all those cute blonde cal poly chicks for me! [00:44] AvianFlu: I mean, maybe not at your node.js talk [00:44] AvianFlu: but on the way there [00:44] AvianFlu: lol [00:45] sorens3n has joined the channel [00:45] frewsxcv: AvianFlu: oh god. too many white people here [00:45] frewsxcv: it's quite annoying [00:45] frewsxcv: ACTION blames the ag department [00:46] Marak: kill whitey [00:47] brianloveswords has joined the channel [00:47] Swimming_bird has joined the channel [00:48] benmonty has joined the channel [00:48] kohai: @joemccann: Got the node.js version of LevelDB building on Mac OS X thanks to @shinuza. Fast key/value store if you ain't know. [00:49] kohai: @fabiocerqueira: alguém teve problema de servir arquivos estáticos em dev no express.js? #nodejs #expressjs [00:49] littlemagician has joined the channel [00:49] SubStack: ¡Que node.js! [00:51] neoesque has joined the channel [00:53] indexzero has joined the channel [00:54] justinTNT: marak, speaking of killing ... [00:55] Marak: justinTNT: hrmm? [00:55] alindeman has joined the channel [00:55] justinTNT: um, I think you left your toys lying around last time you were here ... [00:55] Marak: who is justinTNT again? [00:56] justinTNT: justin@justat.in [00:56] Marak: whats going on? [00:56] justinTNT: kohai [00:56] Marak: !insult justinTNT [00:56] kohai: justinTNT is a wombat-loving heifer-puncher! [00:56] justinTNT: yoma. [00:57] gtramont1na: Hey all, what's the best way to detect if a script is running on node.js or in the browser? I want to reuse the same script in both front and back ends... [00:57] kohai: @pgriess: Writing my first new #nodejs module in a long time: a generic Kademlia library. I forgot how much fun writing Node code is. [00:57] igl: o.O [00:57] justinTNT: you could look for window. or exports. [00:57] igl: if (process) [00:58] gtramont1na: check for 'module' or 'module.exports'? Or check if 'this' is global? [00:58] justinTNT: or self [00:58] Marak: !tweet @pgriess We miss you in the #node.js room. :-[ [00:58] kohai: @NodeKohai: @pgriess We miss you in the #node.js room. :-[ [00:58] gtramont1na: I know there are several ways to validate, but what would be the most reliable one? [00:58] piscisaureus: some k.... scared him I think [00:59] Marak: gtramont1na: theres a lot of approaches.... [00:59] Marak: gtramont1na: you might want to use browserify ... [00:59] Marak: gtramont1na: that way you can actually re-use the code instead of doing a big if / else [01:00] Marak: gtramont1na: if( typeof exports !== 'undefined' ) [01:00] justinTNT: yeah checkout browserify. if that seems like overkill, just look at exports [01:00] Marak: will work....kinda... [01:00] gtramont1na: Marak: Thanks man. I'll check it out. [01:00] gtramont1na: Thanks! [01:00] mscdex: if (process && process.version) [01:00] mscdex: :p [01:00] Marak: of course, none of this will work if you had a value for exports or process as global in the browser, duh [01:01] mscdex: or if you implemented node in your browser! [01:02] sorens3n: Marak: saw JSONloops the other day, niiiiiiiice [01:02] lakin has joined the channel [01:02] Marak: thanks sorens3n , my favorite little hack project. i really wish i had the time and resources to devote to it [01:02] Marak: alas [01:02] zeade has joined the channel [01:02] sorens3n: i was thinking of using it in a chat :D [01:03] sorens3n: teh music channel [01:03] sorens3n: also found your jquery.emoticons.js [01:03] Marak: ohhh man, thats sooo old [01:03] Marak: first oss project i released on github i think [01:04] Marak: i got a bunch of older wierd js projects on my homepage, whole site is down atm because im lazy [01:04] Marak: :-) [01:05] sorens3n: lol, i like it, suits my needs [01:06] pauls: is dnode better than now.js? [01:06] sorens3n: yes [01:06] sorens3n: .... [01:06] sorens3n: imho [01:06] sorens3n: i used now.js when it first came out though [01:07] pauls: has either been used in published apps? [01:07] pauls: i mean like [01:07] pauls: proven, rather than just used [01:09] cloudhea1 has joined the channel [01:09] cloudhea1_ has joined the channel [01:09] pauls: looking for details :) [01:09] pauls: and problems [01:10] kriszyp has joined the channel [01:10] ParadoxQuine has joined the channel [01:12] bbttxu has joined the channel [01:12] harth has joined the channel [01:13] sorens3n: pauls: not entirely sure [01:13] sorens3n: i know dnode is used in browserling [01:14] pauls: thx [01:14] abraxas has joined the channel [01:14] sorens3n: i'm using dnode in a chat application atm, and its working wonderfully [01:14] sorens3n: very easy to use after you get it going [01:15] kohai: @ats: Single Page Apps with Node.js. - blog.nodejitsu.com - scaling node.js applications one callback at a time. http://tumblr.com/xkt2noxp67 [01:16] ruggedcoder has joined the channel [01:16] electronplusplus has joined the channel [01:16] electronplusplus: Hi [01:18] Draggor has joined the channel [01:19] dshaw: Marak: [01:19] Marak: sup dshaw [01:19] dshaw: Marak: for a second there I thought your bot was pumping ads. [01:19] dshaw: :) [01:19] Marak: dshaw: only ads to give me bitcoins [01:19] dshaw: Marak: lol [01:19] Bradleymeck: is there a way to add change notes to npm versions or just leave changelogs to files [01:20] kohai: @CoffeeScript: @RonJeffries Node.js is supposed to support Windows when 0.6 is released. Until then, you've got several OK options: http://bit.ly/fVg08R [01:20] cafesofie has joined the channel [01:20] Marak: does anyone remember that old CS story about the guy who did the AI competitions with like battleships and he kicked everyones ass by using a nueral network or something [01:20] Marak: trying to send to a friend, driving me nuts [01:20] kohai: @webdesignStatio: GoSquared – Blog – Panic Over! Node.JS Help Sheet is here. What’s this? A new GoSquared Help Sheet? Hell yeah! We’r...http://bit.ly/ilwanP [01:20] Marak: Bradleymeck: not sure...changelogs files perhaps? i think node_mailer needs one badly [01:20] Bradleymeck: marak im adding one right now lol [01:21] Bradleymeck: would be kinda nifty to search changelogs on npm, but thats overkill [01:21] justinTNT: ACTION frowns [01:21] justinTNT: don't see you'd use a neural net for that ... [01:21] sorens3n: i've heard of a PEAR neural network package [01:21] Marak: this was from the 70s or 80s [01:21] sorens3n: but thats it [01:21] Marak: its a great story [01:22] Marak: the guy made an unstoppable fleet of small quick ships, they kicked him out of the competition for winning too hard [01:22] sorens3n: lol nice, link us if you find it [01:23] Marak: :-\ will do [01:24] kohai: @maraksquires: Does anyone remember that story about the ai competition guy who kept winning the simulated naval battles? This is prob from 1970s or 1980s [01:24] sorens3n: ... [01:24] Marak: :-D [01:24] sorens3n: what is up with this kohai guy [01:24] Marak: i really should take my name off the tracker for that [01:24] Marak: will push update tonight, got a few new commands coming [01:24] Marak: kohai: introduce [01:24] kohai: I am Kohai, semi-useful communications-facilitating pseudointelligence! [01:24] Marak: !insult sorens3n [01:24] kohai: sorens3n is a wombat-loving heifer-puncher! [01:24] sorens3n: ahahhaa [01:24] Marak: hes announcing twitter for us [01:25] sorens3n: nice [01:25] Marak: https://github.com/nodejitsu/kohai [01:25] Marak: im gonna remove my name now before i forget [01:25] ss23: ACTION waits... [01:26] Marak: its done [01:26] Marak: !gtfo [01:26] kohai has joined the channel [01:26] kohai: I am Kohai, semi-useful communications-facilitating pseudointelligence! [01:26] Marak: thanks forever :-) [01:26] Marak: now a test [01:27] kohai: @maraksquires: This is not a relevant tweet. Please disregard. [01:27] Marak: !!!!! [01:27] Marak: wtf [01:27] dcampano has joined the channel [01:27] Marak: i swear i just updated it [01:27] zentoooo has joined the channel [01:28] Marak: ill push the new version tonight, it has the options to set config data from irc [01:30] patcito_ has joined the channel [01:30] Silly_Wabbit has joined the channel [01:31] Marak: Silly_Wabbit [trix.are.f@69.183.65.229] - < :) [01:32] pauls: I see in line 19 of this example they do "connect.staticProvider('public')", but I get an error on that [01:32] pauls: https://github.com/tanepiper/dnode-upload-example/blob/master/server.js [01:32] kohai: @tmpvar: latest family guy reminded me of this treasure: http://t.co/DCLbsOe [01:32] thalll has joined the channel [01:32] pauls: which is that connect has no method staticProvider. anyone seen that? [01:33] electronplusplus: I've a question about WebSockets in HTML5 [01:33] electronplusplus: is possible to use WebSockets to bind on a port as a server? [01:33] electronplusplus: client side [01:33] slloyd has left the channel [01:33] jerrysv has joined the channel [01:34] Silly_Wabbit: lol i didnt know it came up as my host on this net Marak [01:35] davidbanham has joined the channel [01:35] Marak: AvianFlu: why did that tweet get picked up by kohai ? [01:35] Marak: AvianFlu: is it twitter tracking users on the white list? [01:36] Corren has joined the channel [01:36] pgriess has joined the channel [01:36] avalanche123 has joined the channel [01:36] tmpvar: Marak, hey, don't hate on the star wars gangsta rap [01:37] Marak: tmpvar: i just want to reduce the noise as much as possible [01:37] Marak: your name is in the whitelist, but not the track list, maybe a bug [01:39] alindeman has joined the channel [01:39] galaxywatcher has joined the channel [01:42] jesusabdullah: tmpvar: Cruisin' Mos Espa in my Delorean [01:43] pauls_ has joined the channel [01:45] Emmanuel has joined the channel [01:45] seivan has joined the channel [01:45] electronplusplus: is possible to use WebSockets to bind on a port as a server? [01:45] electronplusplus: client side [01:46] pauls: i believe dnode does that...? [01:47] pauls: but not sure [01:48] perezd has joined the channel [01:48] zackattack has joined the channel [01:49] jakehow has joined the channel [01:49] sorens3n: pauls: that example is on an outdated version of connect i beleive [01:50] sorens3n: electronplusplus: look into socket.io [01:51] sorens3n: https://github.com/LearnBoost/Socket.IO [01:51] brianc1 has joined the channel [01:52] seivan has joined the channel [01:55] gtramont1na has joined the channel [01:55] tecmo has joined the channel [01:57] aheckmann has joined the channel [01:57] aheckmann has left the channel [01:58] tjholowaychuk has joined the channel [01:58] tecmo has joined the channel [01:59] Vertice has joined the channel [02:00] caike has joined the channel [02:00] skm has joined the channel [02:05] bentruyman has joined the channel [02:08] joe_ingersoll has joined the channel [02:10] jtrudeau has joined the channel [02:11] zackattack has joined the channel [02:12] quackslike: http://acko.net/blog/on-termkit [02:12] zackattack_ has joined the channel [02:14] brettgoulder has joined the channel [02:14] quackslike: looks interesting to me. also note the node.js daemon. [02:14] boogyman has joined the channel [02:15] eyesUnclouded has joined the channel [02:16] seivan has joined the channel [02:17] littlemagician has left the channel [02:17] ryah has joined the channel [02:18] dget has joined the channel [02:19] wano: i've wanted to see something like that for a long time, i hope it gets better [02:21] vikstrous: help? i have two routes: app.use(function (req, res, next) { and app.get ('/auth/facebook2', function(req, res, next) { but the get is being called before the use!!! [02:21] vikstrous: what's wrong with that? [02:22] kawaz_air has joined the channel [02:24] brianc has joined the channel [02:25] dyer_away has joined the channel [02:25] tjholowaychuk: vikstrous do you have use(app.router) ? [02:26] vikstrous: tjholowaychuk: hmm... i'm not sure... i don't think so? [02:26] vikstrous: oh i do [02:26] tjholowaychuk: well look at your middleware config [02:26] vikstrous: hmm [02:26] tjholowaychuk: that's why [02:26] pauls: sorens3n: thx [02:27] tjholowaychuk: all of the routes is one middleware [02:27] vikstrous: ahh [02:27] vikstrous: wow i see it now [02:27] vikstrous: thanks [02:27] tjholowaychuk: app.get() etc are just fancier ways to interface with the router middleware [02:27] tjholowaychuk: np [02:27] Dinosaurus: what is your opinion on twerking? [02:29] truedat101 has joined the channel [02:30] jtsnow has joined the channel [02:31] k1ttty has joined the channel [02:31] quackslike: wano: looks good from the screen shots, i think i'll try it out soon. [02:31] truedat101 has joined the channel [02:31] kohai: @lingzuer: Hello Node.js 仅仅是个开始。 [02:32] quackslike: i like the merging of technology.. node + web stuff, terminal/unix - it's pure gold. [02:32] Bradleymeck has joined the channel [02:34] jesusabdullah: I want termkit to work on the linuxes :C [02:35] tonymilne has joined the channel [02:35] brettgou_ has joined the channel [02:35] ruggedcoder has left the channel [02:36] quackslike: jesusabdullah: it does [02:36] jesusabdullah: I thought it only worked in osx? [02:36] jesusabdullah: :S [02:36] quackslike: nah it works on linux too [02:37] dget: How do I send POST data when making a request? I've tried using both http and mikeal's request library, and the parameters aren't being sent. [02:37] jesusabdullah: Huh, cool! [02:37] mynyml has joined the channel [02:39] quackslike: jesusabdullah: yeah i think only quicklook support requires OS X - at least that's what the author said in the comments section. [02:39] pquerna: ryah: https://issues.apache.org/jira/browse/CASSANDRA-2597 [02:39] quackslike: i like the idea of being able to cat a .png and see the bloody thing.. to oftern i find myself needing to do that kind of thing, really. [02:41] jesusabdullah: Yeah, that sounds fun [02:41] jesusabdullah: I think that, at worst, it's an awesome experiment [02:42] tjholowaychuk: "http.js:15026: Uncaught Error:..." [02:42] tjholowaychuk: is that supposed to be the lineno? [02:42] Marak: !tweet @lingzuer Node.js永远。永远Node.js [02:42] kohai: @NodeKohai: @lingzuer Node.js永远。永远Node.js [02:43] tjholowaychuk: ah it's that stupid getHeader() thing [02:44] tjholowaychuk: I thought that was removed [02:45] fr0stbyte has joined the channel [02:45] ngs has joined the channel [02:45] Marak: !tweet こんにちはすべて私の#nodejs_jpの友達に! [02:45] kohai: @NodeKohai: こんにちはすべて私の#nodejs_jpの友達に! [02:46] dkords has joined the channel [02:46] dkords has joined the channel [02:47] Dinosaurus has left the channel [02:48] kohai: @jinushaun: Node.js = rapid application development! [02:48] kriszyp has joined the channel [02:49] pauls: is kohai a twitter retweeter? [02:49] pauls: bot? [02:49] pauls: must be @_@ [02:49] jmoyers has joined the channel [02:49] ss23: It's a bot, it does more thanj ust retweet though [02:49] ss23: !insult pauls [02:49] ss23: :< [02:50] pauls: ss23++ [02:50] v8bot: pauls has given a beer to ss23. ss23 now has 1 beers. [02:50] ss23: One more than zero! [02:50] brettgoulder has joined the channel [02:50] Marak: pauls: http://github.com/nodejitsu/kohai [02:50] Marak: new version being pushed tonight, old one still running [02:50] jesusabdullah: quackslike: How do you use it, if you're not on osx? I mean, running the node process is easy, but idk what to do after that [02:51] jesusabdullah: tried chrome with localhost:2222, no dice [02:51] vikstrous: tjholowaychuk: is there a way to see the currently added middleware? i'm trying to do some crazy vhost stuff and i'm getting really confused about how the settings are inherited or if they are at all... [02:51] vikstrous: i want to have some settings common to all subdomains and some specific to each one... [02:51] Me1000 has joined the channel [02:52] pauls: Marak ss23 new version has !insult? [02:52] Marak: !insult pauls [02:52] kohai: pauls is a wombat-loving heifer-puncher! [02:52] vikstrous: i was under the impression that i can configure the main app and the subdomains will inherit everything, but it's not really like that... [02:52] RushPL has joined the channel [02:52] Marak: pauls: i dont think there is a changelog yet....but soon... [02:52] Marak: got released two days ago? three days ago? [02:52] pauls: ah, admin tool. kewl :) [02:52] piscisaureus has joined the channel [02:53] Marak: ss23: you cant execute !triggers because you are not on the admin list [02:53] ss23: mmm [02:54] ss23: :< [02:54] kohai: @god_tongue_19: 午前の部終わり。 [02:54] jesusabdullah: !insult marak [02:54] Marak: :-D [02:54] jesusabdullah: maan kohai why you gotta whitelist bitches like that [02:54] pauls: kohai++ [02:54] v8bot: pauls has given a beer to kohai. kohai now has 3 beers. [02:55] kohai: @dget: For the technically inclined, a post on something I got stuck on: Making a Post Request in Node.js - http://tumblr.com/xoi2nqzt8r [02:55] Marak: !stfu [02:55] Marak: ohh [02:55] Marak: umm [02:55] Marak: !gtfo [02:55] kohai1 has joined the channel [02:55] kohai1: I am Kohai, semi-useful communications-facilitating pseudointelligence! [02:55] Marak: thanks forever :-) [02:55] Marak: try again jesusabdullah [02:55] jesusabdullah: !insult Marak [02:55] kohai1: Marak is a wombat-loving heifer-puncher! [02:56] jesusabdullah: He totally is [02:56] Marak: huzaah! [02:56] jesusabdullah: CAUGHT ON TAPE [02:56] Marak: new version does config via IRC triggers, so no reset required [02:56] jesusabdullah: Neat [02:56] Marak: i could just pull it now without testing [02:56] Marak: that sounds like fun [02:56] Marak: any money that AvianFlu got it right? [02:56] kohai1: @tweetingpauls: Hi #nodejs. :) [02:57] pauls: :D [02:57] kohai1: @orospakr: I'm giving a talk on #nodejs at the Ottawa Ruby group tomorrow, 18:30 at the Shopify office! http://bit.ly/juyHJw http://ottawaruby.ca/ [02:57] Marak: hey, dont test in the room please [02:57] Marak: !gtfo [02:57] kohai has joined the channel [02:57] kohai: I am Kohai, semi-useful communications-facilitating pseudointelligence! [02:57] Marak: lol, wait that was me [02:57] orospakr: konobi, huh, that was creepy-fast. [02:57] Marak: ahaha [02:57] tjholowaychuk: vikstrous: app mounting [02:57] tjholowaychuk: is kinda lame [02:57] tjholowaychuk: but [02:57] kohai: @meansblue: This is cool - connecting Flash to XBox Kinect with node.js - http://labs.blitzagency.com/?p=2634 [02:57] tjholowaychuk: no settings are inherited by default, express has a hook though so you can do whatever you want when mounted [02:57] orospakr: As soon as my finger left my mouse button, my IRC client dinged with that. [02:58] Marak: !tweet @tweetingpauls Hello. [02:58] kohai: @NodeKohai: @tweetingpauls Hello. [02:58] tjholowaychuk: actually that's a lie, the settings should be inherited [02:58] tjholowaychuk: but app mounting is still a broken concept (not just with node) [02:59] mertonium has joined the channel [02:59] tlrobinson has joined the channel [02:59] kohai: @Tronix117: Coming soon on github, full JSON-RPC socket exchange in #nodejs ! Client available either in #CocoaTouch and in Webbrowser [03:00] jesusabdullah: Sounds sweet [03:00] joe_ingersoll has joined the channel [03:01] dipser_ has joined the channel [03:04] admc has joined the channel [03:04] ezl has joined the channel [03:04] quackslike: jesusabdullah: not sure mate. havn't used it yet. [03:04] jesusabdullah: XD [03:04] kohai: @hnfirehose: Calipso - A Node.JS CMS: http://calip.so/ [03:04] jesusabdullah: Well, it's definitely got some shit buried in the TermKit.app [03:04] galaxywatcher has joined the channel [03:05] quackslike: i hope node-db oracle support comes soon. [03:06] quackslike: jesusabdullah: hm ok. The comments were pretty clear that it should work on linux.. check the comments - see if there is a reference to running it on linux [03:06] jesusabdullah: It's Really Close, is the thing [03:06] quackslike: jesusabdullah: or just upgrade your OS to something good. ;) [03:06] jesusabdullah: pffsht my OS is DIVINE quackslike [03:07] ljounce has joined the channel [03:07] quackslike: ahah [03:11] ezmobius has joined the channel [03:11] vikstrous: tjholowaychuk: well, my solution ended up being to just configure each vhost's app as it's created [03:12] brownies has joined the channel [03:12] vikstrous: i run the same scripts on each one... [03:12] monokrome: Has anyone here had success with using require.js in NodeJS? [03:12] monokrome: Well, r.js [03:12] springmeyer has joined the channel [03:13] Me1000 has joined the channel [03:14] kohai: @YCHackerNews: Calipso - A Node.JS CMS: Comments: [03:14] varioust has joined the channel [03:15] actonapp has joined the channel [03:15] sebbie has joined the channel [03:15] fakewaffle has joined the channel [03:16] kohai: @myikegami_bot: Calipso - A Node.JS CMS http://goo.gl/fb/DRpNf [03:16] kohai: @jackhq: @copyhacker #nodejs and #coffeescript is pure awesome sauce! co http://github.com/twilson63/node-cloudq if you have time, <3 feedback [03:17] kohai: @jsMagazine: [js人気情報] text.ssig33.com - node.js でアプリケーションを作った。 http://bit.ly/jnAsB8 #javascript [03:17] fakewaffle: how can i tell if a result in the array of fs.readdir is a file or a dir? [03:18] chrisdickinson: fakewaffle: fs.stat(path.join(dir, file), function(err, stat) { stat.isDirectory(); }) [03:19] caseywstark has joined the channel [03:19] fakewaffle: what is dir and file? [03:20] kohai: @HNTweets: Calipso - A Node.JS CMS: http://bit.ly/mF6Ngj Comments: http://bit.ly/iqTStJ [03:20] justinTNT: fw: readdir gives you back an array of files. you need to join the file names to the directory path [03:20] Vertice has joined the channel [03:20] justinTNT: in order to pass it to stat [03:20] chrisdickinson: fs.readdir(BASE_DIR, function(err, files) { files.forEach(function(file) { fs.stat(path.join(BASE_DIR, file), function(err, stat) { stat.isDirectory(); }); }); }) [03:20] chrisdickinson: basically what justinTNT said :) [03:20] fakewaffle: ahh ok [03:20] chrisdickinson: well, exactly what he said. [03:21] tikva has joined the channel [03:21] actonapp has joined the channel [03:21] fakewaffle: thanks guys [03:22] brettgoulder has joined the channel [03:26] kohai: @HNComments: Calipso - A Node.JS CMS http://bit.ly/jNRbUu [03:27] AAA_awright: My skills in marketing are obviously horrible [03:27] harth has joined the channel [03:28] miller107 has joined the channel [03:28] miller107: hi [03:28] miller107: I'm trying to install node.js on windows 7 with cygwin [03:29] sechrist has joined the channel [03:29] miller107: can anyone help? [03:29] kohai: @cincijs: A not very short introduction to Node.js - dancroak: http://tumblr.com/xr52nrlqtl [03:30] kohai: @BundleOfStartup: Calipso - A Node.JS CMS: Comments http://calip.so/ [03:30] riven has joined the channel [03:34] kohai: @motchang: でええわ / text.ssig33.com - node.js でアプリケーションを作った。 http://htn.to/GuuxxL [03:34] McMAGIC--Copy has joined the channel [03:35] sonnym1 has joined the channel [03:36] fr0stbyte has joined the channel [03:36] MikeMakesIt has joined the channel [03:36] quackslike: miller107: it might be easier to run in in a virtual machine [03:36] brownies has joined the channel [03:37] actonapp has joined the channel [03:39] themiddleman has joined the channel [03:40] patcito has joined the channel [03:40] sabalaba has joined the channel [03:40] sabalaba: howdy, does anybody know who we should talk to about a slight syntax error in the documentation online? [03:41] willwhite has joined the channel [03:43] kohai: @bundleOfThought: Calipso - A Node.JS CMS: Comments http://calip.so/ [03:43] galaxywatcher has joined the channel [03:44] ben_alman has joined the channel [03:44] whoops has joined the channel [03:46] kohai: @vmi_jp: 午後はJava7, JRockit, JavaFX, Node.js BOF の予定。 [03:48] seivan has joined the channel [03:50] kohai: @pokkrap: Calipso - A Node.JS CMS: Comments http://calip.so/ [03:50] slloyd has joined the channel [03:50] kohai: @petrohi: oreilly's up and running with #node book http://bit.ly/a0dYPV #nodejs [03:52] mscdex: sabalaba: what is it? [03:52] yokoaway has joined the channel [03:53] kohai: @bartezzini: Calipso - A Node.JS CMS: Comments http://goo.gl/fb/27C5c [03:53] eyesUnclouded has joined the channel [03:53] hij1nx has joined the channel [03:55] mikeal has joined the channel [03:55] galaxywatcher_ has joined the channel [03:56] AvianFlu: !config get version [03:56] AvianFlu: lol [03:56] Viriix has joined the channel [03:58] fr0stbyte has joined the channel [03:59] sabalaba: mscdex, on http://nodejs.org/docs/v0.1.93/api.html#fs-write-128 File System.writeFile sys.puts('It's saved!'); --> sys.puts("It's saved!"); [04:00] jacter has joined the channel [04:00] mscdex: sabalaba: that's for a really old version of node [04:00] mscdex: sabalaba: latest docs: http://nodejs.org/docs/v0.4.8/api/ [04:00] heavysixer has joined the channel [04:01] tk has joined the channel [04:02] sabalaba: mscdex, thanks :) [04:02] boehm has joined the channel [04:03] bartt has joined the channel [04:04] Murugaratham has joined the channel [04:04] Hamms has joined the channel [04:05] v0idless- has joined the channel [04:05] Dreamer3 has joined the channel [04:05] jhurliman has joined the channel [04:06] gavin_huang has joined the channel [04:07] kohai: @technoweenie: i love that this node.js app is blocking on a sinatra api call [04:08] fr0stbyte has joined the channel [04:09] jbueza has joined the channel [04:11] kohai: @tmilewski: @technoweenie Ha! Playing w/ node.js made me feel the same way I felt when I first played w/ Ruby (on Rails.) #excited [04:11] fr0stbyte has joined the channel [04:13] Marak: okay, lets pull the new kohai, ready AvianFlu ? [04:14] Marak: ACTION kills him [04:14] mscdex: :O [04:14] Marak: git pull origin master [04:14] mscdex: he's dead jim! [04:14] Marak: hrmmm [04:15] mscdex: prepare to fast forward! [04:20] Marak: i got distracted by dominictarr oops [04:21] Murugaratham has joined the channel [04:21] vDubG has joined the channel [04:23] Marak: wow, i fucking hate vi and nano [04:23] scoates has joined the channel [04:23] slicky: vimftw? :D [04:23] Marak: im gonna use sftp on this [04:23] Marak: lol [04:24] pauls: textmate++ [04:24] v8bot: pauls has given a beer to textmate. textmate now has 1 beers. [04:24] brownies: hah [04:27] dominictarr has joined the channel [04:27] heavysixer has joined the channel [04:27] Silly_Wabbit has joined the channel [04:27] dominictarr: hey, whats the best word for dependencies/external resources like databases or http apis that a tool or app may depend on? [04:28] dominictarr: external resources? [04:28] slicky: PITA? [04:28] wookiehangover has joined the channel [04:28] slicky: that's my favorite term for them :D [04:28] dominictarr: thats good. [04:28] dominictarr: hmm. whats a more formal version of that? [04:29] pauls: pipeline technologies? [04:29] McMAGIC--Copy has joined the channel [04:29] pauls: server stack? [04:29] kohai-default has joined the channel [04:29] kohai-default: I am Kohai, semi-useful communications-facilitating pseudointelligence! [04:29] slicky: anoyances? [04:29] slicky: annoyances [04:29] dominictarr: kohai: you stay out of this! [04:29] Marak: lol, sorry [04:29] pauls: lol :D [04:29] Marak: im being stupid, i think hes ready [04:30] Marak: lets try.. [04:30] Marak: ACTION summons kohai [04:30] kohai has joined the channel [04:30] kohai: I am Kohai, semi-useful communications-facilitating pseudointelligence! [04:30] pauls: ohai [04:30] Marak: !config [04:30] pauls: ... kohai. [04:30] slicky: anyone else have this superhero ability to forget how to speel and/or construct proper sentences after coding all day/night long? [04:30] dominictarr: I know "tool chain ends" [04:30] Marak: AvianFlu: how do i run the new commands? [04:31] kohai: @CodinGuru: Well that was fast. Node.js is already done compiling. [04:31] Marak: i think i got it [04:31] Marak: brb [04:32] samsonjs has joined the channel [04:32] pifantastic has joined the channel [04:32] sechrist has joined the channel [04:32] indutny has joined the channel [04:33] kohai: @wiredcraft: @ussballantyne @hunvreus There was a typo in my (complex) username; did not receive it directly. Interesting stuff on #Nodejs in Hangzhou. [04:35] captain_morgan has joined the channel [04:35] captain_morgan has left the channel [04:35] captain_morgan has joined the channel [04:36] skm has joined the channel [04:36] JoshC has joined the channel [04:38] kohai has joined the channel [04:38] kohai: I am Kohai, semi-useful communications-facilitating pseudointelligence! [04:38] sechrist: nice [04:39] Marak: !insult sechrist [04:39] Marak: fucking its broken [04:39] sechrist: ACTION fail trombone [04:39] timmywil has joined the channel [04:40] caseywstark_ has joined the channel [04:41] kohai has joined the channel [04:41] kohai: I am Kohai, semi-useful communications-facilitating pseudointelligence! [04:41] mscdex: !insult everyone [04:41] mscdex: !! [04:41] mscdex: :( [04:42] Marak: thats it, im taking out your batteries for awhile kohai, blame AvianFlu [04:42] Marak: !gtfo [04:42] mscdex: lol [04:42] Marak: lol, of course [04:42] mscdex: stubborn [04:42] Marak: of course [04:42] Marak: CTRL^C [04:42] mscdex: our most useful feature... gone! [04:43] Marak: ill give the room a break for a bit as i got find and yell at AvianFlu [04:43] Marak: im totally gonna fire him [04:43] Marak: crap, we arent paying him [04:43] Marak: >><< [04:44] pquerna: first mistake [04:44] brettgoulder has joined the channel [04:44] Marak: never release the experimental software! that was the first mistake [04:44] Marak: :p [04:45] pen has joined the channel [04:45] pquerna: people release software? I thought all youhad to do was link to a githubpage [04:45] pquerna: if its in master is ready for production amirit [04:46] Marak: pquerna: i keep file issues on my github projects, but no one is fixing them. is github broken? who do i have to call at github to make someone fix my problems? [04:46] dgathright has joined the channel [04:47] pquerna: that would be a cool service. [04:47] Marak: crap [04:47] Marak: i think i was being stupid [04:47] Marak: bot is working [04:47] mscdex: release early, release often! [04:47] Marak: i was using the wrong trigger...default for testing is ~ [04:47] Marak: trying agian.... [04:47] kohai has joined the channel [04:47] kohai: I am Kohai, semi-useful communications-facilitating pseudointelligence! [04:47] Marak: !insult Marak [04:47] Marak: ... [04:48] Marak: :-( [04:48] fr0stbyte has joined the channel [04:48] sechrist: you're failing [04:48] sechrist: get a room [04:48] sechrist: :D [04:48] SubStack: silly robot [04:48] Marak: aight, hes gone [04:48] JoshC has joined the channel [04:48] Marak: sorry [04:48] pquerna: (i think there is a more important shift in software release engineering with github and the death of releases in general, esp as more companies are building SaaS products that don't have physical mediums for delivery, and desktop software like chrome has shown you can do fast cycles with desktop software) [04:48] sechrist: pquerna: yeah I see it too [04:48] sechrist: that chrome article today about versions really sank it in for me [04:49] sechrist: that amongst models like git push -> deploy [04:49] Marak: wtf, kohai is working in the test room [04:49] Marak: >.< [04:49] Marak: fuuuuuu Node.js !== node.js [04:49] sechrist: v8bot is assert()ing it's dominance [04:49] Marak: last try i swear [04:49] sechrist: oh lulz [04:50] pauls: kohai-- [04:50] v8bot: pauls has taken a beer from kohai. kohai now has 2 beers. [04:50] kohai has joined the channel [04:50] kohai: I am Kohai, semi-useful communications-facilitating pseudointelligence! [04:50] Marak: !insult pauls [04:50] kohai: pauls is a wombat-loving heifer-puncher! [04:50] Marak: !config get plugins:alias:whitelist [04:50] sechrist: NICE [04:50] kohai: plugins:alias:whitelist is [jesusabdullah, indutny, samsonjs, isaacs, mscdex, SubStack, `3rdEden, Aria, cloudhead, AvianFlu, Marak, hij1nx, indexzero, DTrejo, tmpvar, ryah, dominictarr] [04:50] sechrist: !insult marak [04:50] Marak: fuuuuuu [04:50] sechrist: !insult Marak [04:50] Marak: YOU AINT GOT NO WHITELIST sechrist [04:50] Marak: lets try [04:50] SubStack: whitelisted! [04:50] mscdex: !insult everyone [04:50] kohai: everyone is a wombat-loving heifer-puncher! [04:50] sechrist: !insult marack [04:51] sechrist: !insult Marack [04:51] sechrist: MAR_ACK [04:51] indutny: sechrist-- [04:51] v8bot: indutny has taken a beer from sechrist. sechrist now has 0 beers. [04:51] sechrist: !insult Marak [04:51] mscdex: sechrist-- [04:51] v8bot: sechrist is getting too many beers. Don't let sechrist get drunk! [04:51] sechrist: fail [04:51] Marak: !config add plugins:alias:whitelist sechrist [04:51] kohai: sechrist was added to plugins:alias:whitelist. [04:51] Marak: try now sechrist [04:51] sechrist: !insult Marak [04:51] kohai: Marak is a wombat-loving heifer-puncher! [04:51] sechrist: :D [04:51] Marak: :-) [04:51] Marak: everyone see how this works? [04:51] Marak: now behave [04:51] pquerna: whats wrong with wombats [04:51] Marak: !config add plugins:alias:whitelist pquerna [04:51] kohai: pquerna was added to plugins:alias:whitelist. [04:51] pauls: !insult sechrist [04:51] pauls: :'( [04:51] Marak: !tweet Things are getting real in the #nodejs irc room. [04:51] kohai: @NodeKohai: Things are getting real in the #nodejs irc room. [04:51] Marak: :-D [04:52] sechrist: nice [04:52] Marak: new command documentation availble @ https://github.com/nodejitsu/kohai [04:52] sechrist: I'd ++ you but you already have enough beer i'm sure [04:52] sechrist: we need another metric [04:52] tbranyen: beer me [04:52] sechrist: tbranyen++ [04:52] v8bot: sechrist has given a beer to tbranyen. tbranyen now has 2 beers. [04:52] tbranyen: woot [04:52] Marak: tbranyen++ [04:52] v8bot: tbranyen is getting too many beers. Don't let tbranyen get drunk! [04:52] tbranyen: Marak: i'm stuck in an airport [04:52] sechrist: there needs to be a way to drink the beer [04:52] tbranyen: literally on a cot [04:52] Marak: tbranyen: which one? [04:52] tbranyen: dallass [04:53] sechrist: HHHHHAAAAAA [04:53] sechrist: dfw? [04:53] tbranyen: yea [04:53] indutny: pquerna: I'm experimenting with Cast. And I found that it's truly magical [04:53] sechrist: sorry dude [04:53] tbranyen: its the worst [04:53] pootietang: !nodejs is shakin up the interwebs! [04:53] indutny: pquerna: but how can I use client w/o CLI ? [04:53] kohai: @Jxck_: 乗り換えミスった。 [04:53] gkatsev: tbranyen: they cancelled your flight and didn't give you another one? [04:53] tbranyen: gkatsev: they gave me one tomorrow [04:53] Marak: !translate @Jxck_: 乗り換えミスった。 [04:53] gkatsev: tbranyen: that sucks. Are you going to make it in time? [04:54] Charuru has joined the channel [04:54] indutny: pquerna: can I add you to gtalk? [04:54] tbranyen: gkatsev: yeah its not till wednesday [04:54] gkatsev: ok [04:54] tbranyen: but still [04:54] tbranyen: this sucks [04:54] gkatsev: yeah, definitely [04:54] tbranyen: we were supposed to arrive at noon today [04:54] tbranyen: got dicked aroudn [04:54] tbranyen: non stop [04:54] gkatsev: how long have you been there? [04:54] tbranyen: i've been flying since 5am est [04:54] gkatsev: wow [04:54] tbranyen: and by flying that means anything associated with planes [04:55] tbranyen: we were stuck on a plane for 2 hours [04:55] gkatsev: 5am from here to dallas? and then stuck there since? [04:55] gkatsev: or did you have another stop? [04:55] briznad has joined the channel [04:55] tbranyen: dallassholes were closed so went to hustin for a while [04:55] tbranyen: houstin [04:55] tbranyen: however that shit fuck place is spelled [04:55] gkatsev: austin? [04:55] tbranyen: i hate this whole goddamn state [04:56] gkatsev: where is your final destination? [04:56] kohai: @carnotweat: Calipso - A Node.JS CMS http://goo.gl/fb/pQQD5 [04:56] Marak: okay, gonna start up with forever and discon [04:56] Marak: !config save [04:56] kohai: Config saved. [04:56] tbranyen: gkatsev: colorado [04:56] Marak: !gtfo [04:56] kohai has joined the channel [04:56] kohai: I am Kohai, semi-useful communications-facilitating pseudointelligence! [04:56] Marak: !config get plugins:alias:whitelist [04:56] kohai: plugins:alias:whitelist is [jesusabdullah, indutny, samsonjs, isaacs, mscdex, SubStack, `3rdEden, Aria, cloudhead, AvianFlu, Marak, hij1nx, indexzero, DTrejo, tmpvar, ryah, dominictarr, sechrist, pquerna] [04:57] gkatsev: tbranyen: trade flight for a car drive all night? :P [04:57] Aria: Oh geez, tbranyen. [04:57] Aria: No fun. [04:57] sebbie has joined the channel [04:57] Aria: ACTION tosses a Fat Tire to tbranyen  [04:57] tbranyen: 11 hour drive gkatsev lol [04:57] tbranyen: Aria: is bad :( [04:57] pquerna: indutny: there is #cast-project [04:57] tbranyen: i've never gone through this before, waiting is the bane of human existance [04:57] gkatsev: tbranyen: you'll get there before the flight if you leave now. :P [04:57] indutny: pquerna: ah, forget about it [04:58] tbranyen: existence*? [04:58] gkatsev: tbranyen: but yes, totally sucks [04:58] gkatsev: sorry I can't help [04:58] tbranyen: i have my grandmother passed out on a couch in the lobby next to me i'm in a broken cot atm [04:58] pquerna: indutny: re: CLI, i mean the CLI is just using the HTTP/resty api underneath; At somepoint there will probally be pretty webUIs built, but thats not our focus right now [04:59] gkatsev: tbranyen: ouch. Does the airport have like rooms you can rent? But I guess that's too european. [04:59] Marak: tbranyen: http://www.youtube.com/watch?v=_P2gW7uRpGA [04:59] tbranyen: gkatsev: yeah for $499 a night [04:59] gkatsev: seriously? [04:59] gkatsev: wow [04:59] Marak: tbranyen: full volue [04:59] Marak: tbranyen: full volume [05:00] gkatsev: tbranyen: wow, just wow. [05:00] tbranyen: lol [05:00] tbranyen: gkatsev: yup the hotel is pricey [05:00] kohai: @eunikorn_imz: Everybody seems to be talking about #NodeJS and #npm ... am I the only one too lazy to dive in ? [05:01] Marak: !tweet @eunikorn_imz Instead of diving in you should just jump on the boat. :-] [05:01] kohai: @NodeKohai: @eunikorn_imz Instead of diving in you should just jump on the boat. :-] [05:01] gkatsev: tbranyen: oh, hotel? I guess makes sense. But I mean, like in zurich, they literally had like 10 rooms that had a bed in them that you can rent in 6 hour increments. And it was cheap. [05:01] tbranyen: heh that so european [05:01] kohai: @lancefisher: It was only a matter of time until a node.js CMS. Expect many more. This is great! http://calip.so/ [05:01] tbranyen: i'm in texas [05:01] tbranyen: the completely opposite [05:01] gkatsev: tbranyen: yeah, I figured. But it's so useful [05:02] sechrist: Are you from Texas? [05:02] sechrist: or just stuck at dfw [05:02] gkatsev: because it is cheap and exactly what you need for longer layovers [05:02] gkatsev: sechrist: he's stuck there overnight [05:02] tbranyen: sechrist: stuck [05:02] sechrist: oh man worse [05:02] tbranyen: from boston [05:02] tbranyen: never coming here again, it hailed a bit and the roads were icy so they cancelled all flgihts [05:02] sechrist: yikes [05:03] jacter1 has joined the channel [05:03] gkatsev: tbranyen: austin is ok. The rest can go away. [05:03] gkatsev: tbranyen: if you were in austin, you could've went to the alamo drafthouse. [05:03] tbranyen: yeah i didn't land there so not sure [05:03] tbranyen: can't verify [05:04] kohai: @junysb3: MVC with Node.js - Which modules? - Boldr: http://bit.ly/jlMoUu [05:05] kohai: @newsyc20: Calipso - A Node.JS CMS http://calip.so/ (http://bit.ly/iOtupw) [05:05] azeroth___ has joined the channel [05:06] caolanm has joined the channel [05:06] gkatsev: tbranyen: good luck. [05:06] tbranyen: thx [05:07] tbranyen: taking this time to learn lua [05:07] tbranyen: better [05:07] Marak: tbranyen: you gonna try out tir and mongrel2 ? [05:07] Marak: lol [05:07] tbranyen: i tried them before, they aren't really usable, just making my own thing for now [05:07] Marak: i hear there is a lua embedded in nginx [05:08] tbranyen: yeah that sounds more like it [05:08] Marak: lua in nginx sounds awesome [05:08] pquerna: its not [05:08] Marak: pquerna: really? i've never tried it [05:08] xsyn has joined the channel [05:08] gkatsev: there is lua in js. [05:09] tbranyen: yeah thats not really usable [05:09] tbranyen: lol [05:09] gkatsev: lol [05:09] tbranyen: cool too [05:09] gkatsev: emscripten ftw [05:09] tbranyen: tho* [05:09] gkatsev: they should make it a node module, lol [05:09] merry-andrew has joined the channel [05:09] sechrist: so i'm an irc dumby [05:09] sechrist: should I just give up and use irssi [05:09] gkatsev: yes [05:09] tbranyen: yeah [05:09] tbranyen: irssi rules [05:09] sechrist: figured [05:10] gkatsev: lol [05:10] gkatsev: what OS? [05:10] sechrist: i'm tired of my laptop's connectivity affecting the connectivity that people see in here [05:10] sechrist: closing my lid shouldn't send an event that I left [05:10] gkatsev: on OSX there is colloloqoqoqoqloloqly [05:10] sechrist: osx [05:10] sechrist: I use limechat currently [05:10] sechrist: cololololololollMEMORYHOG [05:10] gkatsev: lol, is it? [05:10] sechrist: was last I used it [05:10] sechrist: compared to limechat [05:10] gkatsev: I've only heard good things [05:10] gkatsev: but anyway, irssi ftw [05:10] sechrist: I'm a simple dude [05:11] Corren_ has joined the channel [05:11] sechrist: I like my participant list, my channel list, and my chat [05:11] tbranyen: harder to get simplier than irssi [05:11] sechrist: and inline images [05:11] tbranyen: unless you write your own [05:11] gkatsev: especially vps+screen/tmux+irssi [05:11] sechrist: irssi has no inline images [05:11] sechrist: however [05:11] sechrist: I could pipe into an x11 prog [05:11] gkatsev: if you like emacs, then erc [05:11] sechrist: and get the same shit [05:11] tbranyen: whats that image to ascii generator [05:11] tbranyen: toilet or something [05:11] sechrist: ew no [05:11] sechrist: I like my millions of colors [05:11] gkatsev: lol [05:11] sechrist: maybe for a preview [05:11] tbranyen: cacaview [05:11] sechrist: before I click and open my x11 prog [05:11] tbranyen: thats it [05:11] gkatsev: vim has vimirc for those so inclined [05:11] sechrist: OH SHI [05:12] sechrist: I am a total vimguy [05:12] gkatsev: sechrist: have you seen conque? [05:12] sechrist: nope [05:12] gkatsev: it's great [05:12] gkatsev: allows you to open shells and stuff in vim [05:12] sechrist: interactive commands [05:12] sechrist: in my vim [05:12] gkatsev: `g conque google code [05:12] gbot2: conque - Run interactive commands inside a Vim ... - Google Code - http://code.google.com/p/conque/ [05:12] sechrist: better than :!r or whatever [05:13] gkatsev: oh yes, it's the actual shell/interpreter [05:13] gkatsev: you can open up the node repl as a tab [05:13] gkatsev: it's great [05:13] gkatsev: and there is a send to conque tab command as well [05:13] gkatsev: very useful [05:13] gkatsev: and you don't need to use emacs [05:14] gkatsev: that is one of the cools things in emacs. Eval sexpr in repl [05:15] sechrist: man this is sweet [05:15] sechrist: so many ideas [05:15] sechrist: gkatsev++\ [05:15] sechrist: gkatsev++ [05:15] v8bot: sechrist has given a beer to gkatsev. gkatsev now has 7 beers. [05:16] gkatsev: tbranyen: seen luakit? [05:16] tbranyen: nope looks neato [05:16] tbranyen: holy crap it looks hot [05:16] tbranyen: gonna mess with dat [05:16] gkatsev: yeah, looks neat [05:16] sechrist: lua [05:16] sechrist: meeeeeeh [05:16] gkatsev: and it's lua [05:16] sechrist: why should I choose that over javascripts [05:16] sechrist: easy C implementation? [05:17] sechrist: because the language doesn't seem awesome [05:17] gkatsev: prototypal inheritance is even better [05:17] tbranyen: sechrist: i dunno seems pretty great to me [05:17] tbranyen: very portable [05:17] gkatsev: yeah, many game engines use lua [05:17] tbranyen: i wish node was more portable, but thats a v8 limitation [05:17] kohai: @kottufeed: Run multiple Node.js instnances in one machine http://bit.ly/kkYWCE [05:17] mraleph has joined the channel [05:18] sechrist: I mean I know garrysmod is like luaworld [05:18] sechrist: so is secondlife [05:18] e6nian has joined the channel [05:18] sechrist: but I'm of the opinion that if I had javascripts in them [05:18] sechrist: it would just be better [05:18] e6nian: /C [05:18] gkatsev: lua is faster [05:18] sechrist: nice [05:18] sechrist: I've seen old game engines that use crc32-based hashing for internal scripting languages and they were fast [05:18] sechrist: maybe this is why [05:18] sechrist: lua is popular now [05:19] sechrist: (like old custom ones designed for the specifications of older consoles and crap) [05:19] tbranyen: lua isn't faster than v8 by a long shot [05:19] tbranyen: at least not from my artificial testing [05:19] tbranyen: luajit is closer, but not quite there [05:19] gkatsev: I thought it was faster. [05:20] tbranyen: faster is relative [05:20] gkatsev: heh [05:20] sechrist: faster at what [05:20] tbranyen: maybe it is at some things [05:20] sechrist: runtime? [05:20] sechrist: development? [05:20] jesusabdullah: vroom vroom [05:20] FredFred has left the channel [05:20] gkatsev: runtime [05:20] Aria: faster at math? String manipulation? P [05:20] Aria: API boundary crossing? [05:20] sechrist: I want to see a picture of a spidermonkey drinking jaeger in a car with a v8 engine just rolling down the freeway [05:20] gkatsev: probably at Math [05:20] jesusabdullah: What's lua, a straight 4? ;) [05:20] gkatsev: since it's in a lot of game engines [05:21] gkatsev: sechrist: haha, that would be awesome [05:21] jesusabdullah: The reason lua is in game engines is because it's lightweight and embeddable [05:21] jesusabdullah: and "fast enough" [05:21] Aria: Heh. Actually, in game engines, it's the /game engine/ that does the math part. [05:21] gkatsev: sechrist: it should be tracing out the double yellow lines in the middle of the road [05:21] FredFred has joined the channel [05:21] tbranyen: according to the PIL book the lua implementation is fastest in the scripting world [05:21] tbranyen: which i disagree with now [05:21] jesusabdullah: and similar enough to c-family languages that programmers don't shit bricks when they see it [05:21] Aria: lua is usually used to direct higher level stuff -- so what math it's doing is minimal, not like C++ or GPU stuff. [05:21] sechrist: PFFTTT [05:21] sechrist: UNDER WHAT TESTS [05:22] sechrist: my lua is faster than my sse3 optimized asm blocks in my c++ [05:22] Aria: But lua /does/ have a very lightweight API. Integration is easy, and there's no huge penalty for jumping in and out of Lua. [05:22] Aria: There is in v8. [05:22] kohai: @Jxck_: ついた [05:22] tbranyen: sechrist: i'm just repeating what the official lua book says [05:22] tbranyen: :) [05:22] isaacs has joined the channel [05:22] Aria: In fact, the V8 API barrier is a royal PITA. [05:22] sechrist: isaacs: is LUA faster than JS? [05:22] isaacs: dunno [05:22] tbranyen: Lua isn't an acronym [05:22] azeroth____ has joined the channel [05:23] sechrist: Language (that) ain't awesome [05:24] sechrist: eh i'll try to remember to play around with it and compare it to stuff like Pawn I guess [05:24] kohai: @maraksquires: @Jxck_ I'm not sure why, but @NodeKohai likes your Tweet too much. Perhaps you are senpai? #nodejs #nodejs_jp ^_^ [05:24] sechrist: when i'm working with little C progs I want to add some scripting to [05:24] tbranyen: sechrist: lua offers a lot that isn't available in a majority of javascript implemenations atm [05:25] tbranyen: like metatables [05:25] sechrist: ooooh [05:25] tbranyen: and vice versa [05:25] tbranyen: javascript has a lot lua doesn't have [05:25] sechrist: wait wait [05:25] sechrist: A metatable is the section of a database or other data holding structure that is designated to hold data that will act as source code or metadata. [05:25] sechrist: code in your kv? [05:25] sechrist: neat [05:26] tbranyen: metatables allow you to augment the table structure to hook into different things [05:26] sechrist: wait I can _kind_ of do that with javascript with function variable references inside of arrays if this is what I'm thinking it is [05:26] mraleph: sechrist: http://www.lua.org/pil/13.html [05:26] sechrist: ah [05:26] tbranyen: mraleph: long time no see [05:26] mraleph: tbranyen: \o/ [05:26] mraleph: tbranyen: I have always been here. [05:26] azeroth_____ has joined the channel [05:27] tbranyen: mraleph: i dunno people were looking for you a while ago and you were no where to be found [05:27] mraleph: tbranyen: previous msg was kinda reference to an (old) scifi series [05:27] mraleph: tbranyen: let me check the logs [05:28] tbranyen: mraleph: is that Q from TNG? [05:28] mraleph: tbranyen: I am in GMT+1 so I was sleeping, I have to sleep sometimes :-) [05:28] tbranyen: yeah i suppose if you must [05:28] kohai: @Mallioch: Got some nice comments on my recent #nodejs blog post. They kinda think I suck but, you know, I try :) http://bit.ly/m3qLII [05:28] mraleph: tbranyen: It was Kosh from Babylon-5. I actually never watched Star Trek. [05:28] kohai: @shfx: Deploying #nodejs app with @cloudfoundry is super easy! [05:29] tbranyen: welp i was close [05:30] mraleph: there is nothing in the logs for the past 3 days. [05:30] Marak: !tweet I like your blog :-) It's just scary to see precious memory and cpu go to waste... [05:30] kohai: @NodeKohai: I like your blog :-) It's just scary to see precious memory and cpu go to waste... [05:30] Marak: fuck [05:30] Marak: !tweet @Mallioch I like your blog :-) It's just scary to see precious memory and cpu go to waste... [05:30] kohai: @NodeKohai: @Mallioch I like your blog :-) It's just scary to see precious memory and cpu go to waste... [05:30] mscdex: hah [05:30] tbranyen: mraleph: you've been gone a long tiem [05:30] vchub has joined the channel [05:30] Marak: !config list plugins:alias:whitelist [05:30] kohai: Sorry, Marak, invalid operation for config. [05:30] Marak: !config get plugins:alias:whitelist [05:30] kohai: plugins:alias:whitelist is [jesusabdullah, indutny, samsonjs, isaacs, mscdex, SubStack, `3rdEden, Aria, cloudhead, AvianFlu, Marak, hij1nx, indexzero, DTrejo, tmpvar, ryah, dominictarr, sechrist, pquerna] [05:31] mscdex: name highlight! [05:31] jesusabdullah: <3 [05:31] sechrist: limechat does awesome stuff with highlighting [05:31] jesusabdullah: !insult jesusabdullah [05:31] kohai: jesusabdullah is a wombat-loving heifer-puncher! [05:31] sechrist: WHY [05:31] DrJeuss: !insult Dreamer3 [05:31] DrJeuss: er [05:31] sechrist: would you [05:31] DrJeuss: well! [05:31] sechrist: punch heifers [05:31] DrJeuss: That worked out! [05:31] sechrist: heifer was the best character of Rocko's modern life. [05:31] kohai: @LinuxForYou: Node.js 0.4.8 Improves Error Reporting http://ht.ly/51mXt [05:31] sechrist: yes [05:32] bshumate has joined the channel [05:32] bshumate has joined the channel [05:32] AvianFlu: !config get version [05:32] kohai: version is "v0.0.6" [05:32] mscdex: does anyone actually use assert.fail() ? [05:33] SubStack: I do! [05:33] mscdex: seriously? [05:33] SubStack: when I have an error sure [05:33] mscdex: hmmm [05:33] SubStack: in tests [05:33] kohai has joined the channel [05:33] kohai: I am Kohai, semi-useful communications-facilitating pseudointelligence! [05:33] Marak: ( that was me i swear ) [05:33] Marak: thanks forever! [05:33] SubStack: if (err) assert.fail(err) [05:34] mscdex: you don't just use a plain throw? [05:34] SubStack: nah those make me uneasy [05:34] __tosh has joined the channel [05:34] mscdex: but that's the only thing assert.fail is doing [05:34] towski has joined the channel [05:34] mscdex: heh [05:34] mscdex: is throwing [05:35] mscdex: the docs for assert.fail need to be updated [05:35] SubStack: different test frameworks do things differently [05:35] mscdex: it doesn't do any tests [05:36] JimBastard: !tweet @towski TOWWSKKIII [05:36] JimBastard: oops [05:36] Marak: !tweet @towski TOWWSKKIII [05:36] kohai: @NodeKohai: @towski TOWWSKKIII [05:37] towski: I can't find your twitter [05:37] kohai: @Mallioch: @NodeKohai then by all means critique. Nothing is more useful than constructive criticism. [05:38] towski: there we go [05:38] towski: !tweet @maraksquires FUUUUUUUU [05:38] towski: aw [05:38] towski: it no like me [05:40] Marak: towski: [05:40] Marak: !config get plugins:alias:whitelist [05:40] kohai: plugins:alias:whitelist is [jesusabdullah, indutny, samsonjs, isaacs, mscdex, SubStack, `3rdEden, Aria, cloudhead, AvianFlu, Marak, hij1nx, indexzero, DTrejo, tmpvar, ryah, dominictarr, sechrist, pquerna] [05:40] mscdex: !!! [05:40] Marak: !config add plugins:alias:whitelist towski [05:40] kohai: towski was added to plugins:alias:whitelist. [05:40] Marak: !config get plugins:alias:whitelist [05:40] kohai: plugins:alias:whitelist is [jesusabdullah, indutny, samsonjs, isaacs, mscdex, SubStack, `3rdEden, Aria, cloudhead, AvianFlu, Marak, hij1nx, indexzero, DTrejo, tmpvar, ryah, dominictarr, sechrist, pquerna, towski] [05:40] Marak: try now towski [05:40] mscdex: !config save [05:40] kohai: Config saved. [05:40] Marak: !config rm plugins:alias:whitelist towski [05:40] kohai: towski was removed from plugins:alias:whitelist. [05:40] Marak: denied [05:40] AvianFlu: lol [05:40] towski: heh [05:41] mscdex: !config save [05:41] Marak: !config save [05:41] kohai: Config saved. [05:41] kohai: Config saved. [05:41] Marak: :-D [05:41] Marak: TOO SLOW [05:41] Aria: Spiffy. [05:41] sechrist: AvianFlu: I think I encountered you in Mikeal's back yard but i'm not sure [05:41] mscdex: !config unsave [05:41] kohai: Sorry, mscdex, invalid operation for config. [05:41] towski: i was trying to figure out a hack [05:41] AvianFlu: you probably did [05:41] Marak: Aria: the entire config is enumerated...i think passwords arent [05:41] AvianFlu: !config get auth:twitter [05:41] kohai: In-channel retrieval of authorization info not permitted. [05:41] AvianFlu: :) [05:41] Marak: win [05:41] sechrist: I heard somebody say avian flu and backed up but I was a few ++s in [05:41] sechrist: lol [05:41] Marak: give that man a raise [05:42] brettgoulder has joined the channel [05:42] Marak: !config get plugins:twitter:track [05:42] kohai: plugins:twitter:track is [#nodejs, node.js, @nodejitsu, @nodekohai, nodejitsu, #nodejitsu, #nodeconf] [05:42] Marak: :-) [05:43] sechrist: AvianFlu: oh you're charlie [05:43] Marak: Internet friends meet at last! [05:43] sechrist: 300f.js [05:43] Marak: bbq.js! [05:43] AvianFlu: yes, but please note that I AM NOT CHARLIE ROBBINS [05:43] mscdex: heh [05:43] Marak: indexzero approves [05:43] SamuraiJack has joined the channel [05:43] sechrist: nah you're cooler [05:43] mscdex: js.bbq [05:43] sechrist: I don't see him in here often [05:43] Marak: sechrist: he does real people business [05:44] mscdex: we're not real people? [05:44] sechrist: I do real people business [05:44] Marak: i was talking about me and AvianFlu [05:44] mscdex: heh [05:44] Marak: ahaha [05:45] mertonium has joined the channel [05:45] AvianFlu: so how do you set mode -m on a channel you own, /cs flags #channel -m ? [05:46] tbranyen: gkatsev: i just ripped my pants [05:46] coreb has joined the channel [05:46] tbranyen: this day can't get any worse [05:46] tbranyen: http://twitpic.com/51sm55 [05:46] AvianFlu: GET THIS MAN SOME PANTS [05:46] tbranyen: thats a solid tear [05:46] sechrist: that's the style [05:46] sechrist: foo [05:46] Aria: Oh man. [05:47] tbranyen: good thing i didn't rip the boxers too [05:47] AvianFlu: !config get channels [05:47] kohai: channels is [#kohai, #nodejitsu, #Node.js] [05:47] sechrist: how'd it happen? [05:47] tbranyen: no idea [05:47] tbranyen: its a shitty day [05:47] sechrist: looks like a bear just went RAWR [05:48] xsyn_ has joined the channel [05:50] gkatsev: tbranyen: ouch, sorry [05:51] tbranyen: haha [05:51] tbranyen: i can't win [05:52] amerine has joined the channel [05:53] brownies has joined the channel [05:53] Aria: ACTION offers another cold one [05:53] micheil has joined the channel [05:54] `3rdEden: !config add plugins:alias:whitelist towski [05:54] kohai: towski was added to plugins:alias:whitelist. [05:55] `3rdEden: !config save [05:55] kohai: Config saved. [05:55] towski: !tweet @maraksquires FUUUU [05:55] kohai: @NodeKohai: @maraksquires FUUUU [05:55] FireFly has joined the channel [05:55] AvianFlu: yeah we gotta add the identify check to that at some point [05:55] gkatsev: lol [05:55] AvianFlu: !config get plugins:alias:whitelist [05:55] kohai: plugins:alias:whitelist is [jesusabdullah, indutny, samsonjs, isaacs, mscdex, SubStack, `3rdEden, Aria, cloudhead, AvianFlu, Marak, hij1nx, indexzero, DTrejo, tmpvar, ryah, dominictarr, sechrist, pquerna, towski] [05:56] kohai: @KohaiTestbot: @maraksquires /mode #nodejitsu -m [05:58] Lorentz has joined the channel [05:59] kohai: @pshevtsov: Photo: (via GoSquared – Blog – Panic Over! Node.JS Help Sheet is here.) http://tumblr.com/xfq2ntiycb [05:59] killfill has joined the channel [06:00] kohai: @a3rght: Написал как подружить #Ext4, #NodeJS и #MongoDB http://a3r.me/blog/2011/ext4-nodejs-login.html [06:02] kohai: @CamillArtland: Real time notifications (part II). Now with node.js and socket.io http://bit.ly/kd7cfK [06:02] kohai: @CamillArtland: Real time notifications (part II). Now with node.js and socket.io http://bit.ly/kd7cfK [06:02] kohai: @CamillArtland: Real time notifications (part II). Now with node.js and socket.io http://bit.ly/kd7cfK [06:02] Aria: I just coined the word 'decleverify'. I'd appreciate it being spread around. [06:03] Aria: Marak: dedup filter seem appropriate there? Maybe buffer the last ten lines and don't send anything that's still in the buffer? [06:03] AvianFlu: for the record, guys [06:03] AvianFlu: that girl just tweeted that three times at once [06:03] AvianFlu: you can go check on twitter.com [06:03] Aria: Heh. I'd figured that was the case. [06:04] AvianFlu: I didn't think twitter let you [06:04] Aria: Oh, it does. [06:04] tbranyen: when do we get a .cum? [06:04] tbranyen: woops wrong channel [06:04] AvianFlu: !insult tbranyen [06:04] kohai: tbranyen is a wombat-loving heifer-puncher! [06:04] Aria: Have another beer, tbranyen. [06:04] gkatsev: tbranyen: haha [06:04] tbranyen: that was not appropriate [06:06] harth has joined the channel [06:08] bickie: yoooo [06:08] bickie: anyone wanna give me an example of when I'd want to use process.nextTick() ? [06:08] bickie: (want/need) [06:09] Marak: bickie: i use it in JSONloops [06:09] Marak: but i dont think anyone else would use it for that same purpose [06:09] seivan has joined the channel [06:09] jmoyers: uh [06:09] Marak: bickie: you prob dont need it for whatever you are doing [06:10] Aria: bickie: It's good to demonstrate asynchrony without actually tying to IO [06:10] jmoyers: when you're writing a flow control library ;-) [06:10] bickie: Aria: gotcha [06:10] dguttman has joined the channel [06:10] kohai: @mitchellh: @ericflo So I like Node.js for bringing this "evented everything" mindset to people. But you can do evented in any language. [06:10] bickie: Aria: does it actually let other operations happen in between? [06:11] Aria: Sure. Anything that was previously nextTicked. [06:11] bickie: ie: say you were processing some large array of items that doesn't require any IO to be processed [06:11] Aria: Also, the big deal is, it clears the stack before executing that function. [06:11] bickie: aah [06:11] bickie: so all stacked callbacks are executed? [06:11] Aria: So it works like async code does. [06:11] Aria: I believe so. I'd have to re-read the source. [06:11] bickie: nice [06:11] bickie: thanks [06:11] Aria: But yeah. IT goes around the event loop once. [06:11] Aria: So it's a sort of yield. [06:12] tbranyen: apparently it serves as a nicer form of setTimeout(function() { }, 0); as well [06:12] jmoyers: procedural code direcly after gets executed, also [06:12] Aria: Yeah. It is. [06:12] jmoyers: setTimeout(fn,0) can be used as a fallback in the browser [06:13] bickie: Aria: yeah, yield is kinda a nice analogy [06:13] abraham has joined the channel [06:13] bickie: ok, pop quiz, cos you guys seem smart enough :) [06:13] bickie: I've had a few people answer this, but trying to get a feel for approaches [06:13] gkatsev: 42! [06:14] gkatsev: the answer it always 42 [06:14] pootietang has left the channel [06:14] bickie: example sync code: http://pastie.org/private/rtznhzugbki0ogrzceerjw [06:14] bickie: what is a nice way to write that async? [06:14] bickie: demonstration of problem (async code): http://pastie.org/private/zc7xnqvx0dehrq1jhn358w [06:14] jmoyers: the.. exact same way witha callback [06:15] bickie: (note that's kinda pseudo-code, but you get the idea) [06:15] gkatsev: doSomeOtherSlowOp(3244, func) [06:15] maqr has joined the channel [06:15] sreeix has joined the channel [06:15] jmoyers: if it gets more complicated [06:15] jmoyers: like 3-4 callbacks depending on each other [06:16] jmoyers: use a flow control library [06:16] jmoyers: to keep the code 'flatter' [06:16] admc has joined the channel [06:16] gkatsev: or you just name the functions [06:16] jmoyers: or that [06:16] gkatsev: then if you want to get fancy, you can use a flow control lib [06:17] jmoyers: of which there are many [06:17] jmoyers: https://github.com/joyent/node/wiki/modules#async-flow [06:17] bickie: jmoyers: precisely [06:17] bickie: yeah [06:17] bickie: I've been using async.js [06:17] jmoyers: prefer https://github.com/caolan/async myself [06:17] jmoyers: i dont always drink flow control koolaid [06:17] jmoyers: but when i do, its async [06:18] bickie: jmoyers: yep, that's the one I'm using [06:18] kohai: @nobu666: text.ssig33.com - いい加減 node.js で何も作ったことありません、じゃダサいだろうと思ったので。 http://text.ssig33.com/51 [06:18] bickie: incicentally, the result to the above challenge was to use async.waterfall [06:18] kohai: @ieure: @ericflo Node.JS scales, The Bible Guarantees It! [06:18] bickie: where effectively, the result of what step is fed to the next [06:18] bickie: so optional steps are just skipped by returning the callback instantly [06:18] bickie: works well [06:18] kohai: @greyhatseo_org: Calipso - A Node.JS CMS [06:19] bickie: but still a bit messy [06:19] hassox has joined the channel [06:20] kohai: @NodeKohai: @CamillArtland How, exactly, did you tweet three times at once? [06:20] jmoyers: click....wtfthisthingisslowclickclick [06:20] jmoyers: did it yesterday... sent three meeting invites to half my dev team [06:21] jmoyers: real sweet [06:22] Marak: Aria: that was spam from a bot [06:22] bene1 has joined the channel [06:24] hassox_ has joined the channel [06:24] dgathright has joined the channel [06:25] Aria: Marak: Yeah. I was just thinking that it might be nice to have an output filter on the bot in general. [06:25] jmoyers: anything with the word 'awesomesauce' [06:26] madzak has joined the channel [06:27] runrunforest has joined the channel [06:27] runrunforest: hello [06:27] runrunforest: how do stop node server on a mac ? [06:29] madzak has joined the channel [06:30] materialdesigner: runrunforest: ctrl-c [06:30] runrunforest: oh :) [06:30] runrunforest: thanks [06:30] materialdesigner: no problem. just so you're aware, that's the general command for "quit this process" [06:31] TheCowby has joined the channel [06:32] AvianFlu: it sends a SIGTERM if I'm not mistaken [06:32] AvianFlu: but that stuff is easy to mistake [06:32] runrunforest: i make a simple module where should save it in the node server ? [06:32] madzak has joined the channel [06:33] AvianFlu: either way, it sends the "HEY YOU PROCESS, STOP RIGHT NOW!" signal [06:33] materialdesigner: runrunforest: You can place it pretty much anywhere inside of your application's directory [06:33] materialdesigner: modules installed locally by npm are installed into /node_modules [06:34] materialdesigner: but it doesn't really matter where you put it [06:34] SubStack: I love how node is ignoring commonjs right now in favor of getting shit done [06:34] nivoc has joined the channel [06:34] runrunforest: ok so where matter i put it, i just call it like require('./mydoule') ? [06:35] burningdog has joined the channel [06:35] materialdesigner: runrunforest: correct. Just make sure your path is correct. so ./mydoule would be in the SAME directory as your server.js or app.js file [06:36] MikhX has joined the channel [06:36] materialdesigner: if it's in a subdirectory, say "routers", then it'd be require("./routers/mydoule") [06:36] brettgoulder has joined the channel [06:36] runrunforest: that's great [06:37] MikhX has joined the channel [06:37] `3rdEden has joined the channel [06:38] prof-freud has joined the channel [06:39] runrunforest: how con can I replace ip address with domain name ? This is my ip where client connect to http://10.0.61.40:4000/ and this is my domain http://demo3.lhv.vn [06:40] runrunforest: obviously type http://demo3.lhv.vn:4000 doesn't take me to my node app [06:40] runrunforest: http://10.0.61.40:4000/ will [06:40] jonaslund has joined the channel [06:40] frodeniu1: 10.0.* is a vm? [06:40] runrunforest: but i want to be abot to access my node app by the domain name [06:41] runrunforest: able* [06:41] jmoyers: uh [06:41] frodeniu1: what you can do in any case: edit your hosts file, which is /etc/hosts on unix-like systems, WINDOWS\system32\driver\etc\hosts on win [06:41] jmoyers: did you set up the dns yourself? [06:41] runrunforest: no i didn't [06:41] frodeniu1: and add a line 10.0.61.40 demo3.lhv.vn [06:42] runrunforest: ok i try [06:42] kohai: @lordnaastik: Node.js 0.4.8 Improves Error Reporting: http://bit.ly/kCpMpJ [06:42] bene1 has left the channel [06:43] Mrfloyd has joined the channel [06:43] bene1 has joined the channel [06:43] bene1 has left the channel [06:43] kohai: @ArtemTitoulenko: Node.js Authentication with CouchDB and Express http://post.ly/25hwQ [06:44] ezl has joined the channel [06:46] kohai: @Kaleynol: I can't remember the last time I had this much fun programming. #nodejs [06:48] pigmej has joined the channel [06:49] JackeyChan has joined the channel [06:49] JackeyChan: who knows calipso? [06:50] JackeyChan: very great noed.js cms [06:50] AAA_awright: Calipso is barely even started [06:50] ivanfi has joined the channel [06:51] mehlah has joined the channel [06:52] JackeyChan: AAA_awright: ? [06:52] JackeyChan: AAA_awright: I do not get your said [06:52] AAA_awright: There's no one who even knows it yet [06:52] AAA_awright: I've been working on my own CMS for about 9 months now too, who knows that? :p [06:53] JackeyChan: which one ? [06:53] JackeyChan: I am looking good cms [06:53] AAA_awright: Oh it's not even stable, but [06:53] JackeyChan: can i join ? [06:53] JackeyChan: aha, maybe i am not good programmer [06:53] AAA_awright: JackeyChan: http://magnode.org/ [06:53] AAA_awright: Are you familiar with RDF? [06:54] JackeyChan: sorry, i am not [06:54] kohai: @alexconrad: @SlimTebourbi t'es branché Node.js ces temps-ci ? [06:54] AAA_awright: Hmm [06:55] AAA_awright: That seems to be a hurdle [06:55] JackeyChan: sorry. [06:55] JackeyChan: I will follow your project. i am on it now and read the document [06:56] mape: Anyone here had issues with socket.io crashing Safari in iPhone/iPad? [06:57] bene1 has joined the channel [06:57] bene1 has left the channel [06:58] towski: !config remove plugins:alias:whitelist towski [06:58] kohai: Sorry, towski, invalid operation for config. [06:58] towski: !config delete plugins:alias:whitelist towski [06:58] kohai: Sorry, towski, invalid operation for config. [06:58] matjas has joined the channel [06:58] towski: @!?$ [06:59] ss23: DENIED [06:59] tdegrunt has joined the channel [07:00] emattias has joined the channel [07:00] sreeix has joined the channel [07:00] emattias_ has joined the channel [07:01] Xano has joined the channel [07:02] JackeyChan: ping irc://freenode/AAA_awright,isnick [07:02] Skola has joined the channel [07:02] AAA_awright: pong [07:03] Skola: what do people use to test their routes in Express [07:03] JackeyChan: your project is ver conplex [07:03] JackeyChan: complext [07:03] JackeyChan: so crazy [07:03] materialdesigner: Skola: how many routes do you need to test? [07:03] JackeyChan: :D [07:03] Skola: not too many just now, about 10 [07:03] Skola: gonna be more later [07:03] k1ttty has joined the channel [07:04] AvianFlu: towski: it's rm [07:04] Skola: but I want to write tests for them [07:04] AvianFlu: !config rm plugins:alias:whitelist towski [07:04] kohai: towski was removed from plugins:alias:whitelist. [07:05] fangel has joined the channel [07:05] mAritz has joined the channel [07:05] AvianFlu: !config add plugins:alias:banlist Hitler [07:05] kohai: Sorry, cannot add to plugins:alias:banlist [07:05] Skola: !config add plugins:alias:banlist Sinterklaas [07:05] AvianFlu: !config get plugins:alias:banlist [07:05] kohai: plugins:alias:banlist is undefined [07:05] AvianFlu: that's weird [07:06] AvianFlu: !config set plugins:alias:banlist "[ 'Hitler' ]" [07:06] kohai: plugins:alias:banlist has been set to: "[ 'Hitler' ]". [07:06] AvianFlu: !config get plugins:alias:banlist [07:06] kohai: plugins:alias:banlist is "[ 'Hitler' ]" [07:06] AvianFlu: that's probably still a string, though [07:06] AvianFlu: lame [07:07] AvianFlu: oh wait, nevermind [07:07] AvianFlu: !config add plugins:irc:banlist Hitler [07:07] kohai: Hitler was added to plugins:irc:banlist. [07:07] AvianFlu: >.< [07:07] AvianFlu: way too much spam for a dumb joke [07:08] superjudge has joined the channel [07:09] Dreamer3 has joined the channel [07:09] materialdesigner: lol [07:09] `3rdEden: mape: Auto Proxy Discovery? [07:10] mape: `3rdEden: ? [07:10] `3rdEden: mape: try turning websockets off to see if that results crashing [07:10] kohai: @substack: Polishing up the browserling UI lots. Will be much snazzier soon. [07:10] djcoin has joined the channel [07:10] amaudy has joined the channel [07:10] mape: `3rdEden: hmm yeah that did it [07:11] amaudy has left the channel [07:11] SubStack: hey I didn't even mention node for that one [07:11] AvianFlu: !tweet @substack You really should rewrite the B-52's "Love Shack" to be "SubStack" instead [07:11] kohai: @NodeKohai: @substack You really should rewrite the B-52's "Love Shack" to be "SubStack" instead [07:11] amaudy has joined the channel [07:11] AvianFlu: it's cause NodeKohai is following you, most likely [07:11] SubStack: ACTION adds it to the queue [07:11] pickels has joined the channel [07:12] mape: `3rdEden: so any way to not have it hard crash the browser when using websockets? I've had it run fine before, recent change? [07:12] SubStack: now figuring out a nice way to do seemless reconnects for dnode browser code... [07:12] kohai: @MiCHiLU_: Node.js with Upstart and Monit - Pieter Michels http://j.mp/iq55VB [07:13] `3rdEden: mape on your mac do > Sys pref > network > select your current network > click the advance button > go to proxy > click auto proxy discovery on. Go to safari, open your app :D [07:14] jkridner has joined the channel [07:14] xsyn has joined the channel [07:14] kohai: @maraksquires: @NodeKohai @substack SubShack? [07:14] mape: `3rdEden: ah, duh >_> Guess I shouldn't be using a proxy, was using it to get a hold of local dev envs. Bad idea for websockets [07:15] `3rdEden: mape it's already fixed in later webkit builds [07:15] AvianFlu: SubStack: seamless [07:15] AvianFlu: not seemless [07:15] `3rdEden: mape because it shouldn't crash [07:15] mape: yeah [07:15] groom has joined the channel [07:16] AvianFlu: !tweet @maraksquires I thought SubShack was where we had meatball parm the other day... [07:16] kohai: @NodeKohai: @maraksquires I thought SubShack was where we had meatball parm the other day... [07:17] sechrist_ has joined the channel [07:18] frodeniu1: that is quite redundant communication [07:18] ss23: lol [07:18] ss23: I agree [07:19] kohai: @maraksquires: @NodeKohai Don't make me take out your batteries again. [07:19] kohai: @sheeshee: Shiny #nodejs cheatsheet http://is.gd/AbEMQU #javascript [07:20] snearch has joined the channel [07:21] emattias has joined the channel [07:21] kmiyashiro has joined the channel [07:21] kohai: @buzalicious: przemeqp: Node.js Authentication with CouchDB and Express - artem's posterous http://bit.ly/m1CbcQ [07:21] Skola: what do people use to test their routes in Express? anyone? [07:23] hassox has joined the channel [07:23] kohai: @hkzo: Node.js に決めた [07:23] kohai: @ohwada: @bad_at_math さん。 [07:24] kohai: @taktos9: Node.js か Asakusa かで迷ったけど、仕事的に使いそうな方ということで Asakusa へ。まあまあの入り。 #jjug_ccc [07:25] brettgou_ has joined the channel [07:25] kohai: @shun115: Node.js #jjug_ccc [07:25] SebastianFlyte has joined the channel [07:26] pauls has joined the channel [07:26] kohai: @nobeans: C10K問題→同時接続数が増えるとサーバがパンク→どうしたらいい? #jjug_ccc #nodejs [07:28] Esteb has joined the channel [07:29] qFox has joined the channel [07:30] tilgovi has joined the channel [07:30] tilgovi has joined the channel [07:30] mytrile has joined the channel [07:30] yozgrahame has joined the channel [07:31] alessio_alexAFK has joined the channel [07:32] JackeyChan: 发什么日本话 用英文 [07:33] skm has joined the channel [07:34] Druide_ has joined the channel [07:35] skm has joined the channel [07:36] jbpros has joined the channel [07:36] kohai: @wadeis: @cloudjunky don't you mean node.js ;) Am sure @lachlanhardy does not like Spanning Tree [07:37] kohai: @yoonhg84: @ibare 그때 node.js 테스트하던거 아직 있나요? [07:38] aliem has joined the channel [07:38] pen has joined the channel [07:38] seivan has joined the channel [07:40] indutny has joined the channel [07:42] kohai: @maraksquires: Well something went missing. [07:42] igl1 has joined the channel [07:43] kohai: @mike_neck: liveio Node.js の非同期I/O #jjug_ccc [07:43] seivan has joined the channel [07:43] kohai: @joenaha: あとで読む -- Up and Running with Node.js http://t.co/RQSvcxx [07:44] kohai: @3rdEden: Nice, Heroku launches a production ready beta for their Node.js support [07:44] `3rdEden: Y u highlight [07:44] littke has joined the channel [07:45] kohai: @maraksquires: Now you see me, now you don't. [07:45] seivan has joined the channel [07:45] jetienne: new version of http://pacmaze.com start to look like a real game :) [07:45] kohai: @NodeKohai: @maraksquires Nah, I still see you. [07:46] kohai: @Kieranties: w00t -> http://calip.so/ as Node.js CMS ! I'm migrating all my sites right now :P /via @emargee [07:46] Poetro has joined the channel [07:47] jetienne: server was in node.js + socket.io... now it is webworker + socket.io :) [07:48] groom has joined the channel [07:48] hassox has joined the channel [07:49] kohai: @hiro345: node.js で非ブロッキングI/Oの話がでている。Java だとGrizzlyというのがあると。Java NIOについては理解していないとGrizzlyは使えないみたいだ。 [07:51] stonebranch has joined the channel [07:53] tobmaster has joined the channel [07:53] gozala has joined the channel [07:54] nexxy has joined the channel [07:54] nexxy has joined the channel [07:56] ohtogo has joined the channel [07:56] sechrist has joined the channel [07:57] mc_greeny has joined the channel [07:57] troessner has joined the channel [07:59] seivan has joined the channel [07:59] hellp has joined the channel [07:59] msucan has joined the channel [08:00] adambeynon has joined the channel [08:00] jarek has joined the channel [08:00] jarek has joined the channel [08:00] mscdex: jetienne: nothing shows up on that site for me [08:01] kohai: @calca: http://bit.ly/mudOew calip.so node.js cms ;) [08:01] seivan has joined the channel [08:01] mscdex: also there's an error on the page: Unsafe JavaScript attempt to access frame with URL http://pacmaze.com/ from frame with URL http://www.youtube.com/embed/keyACacSi3o. Domains, protocols and ports must match. [08:02] xsyn has joined the channel [08:02] mscdex: :S [08:02] mscdex: hmm... works in firefox though [08:03] mscdex: need scrollbars :) [08:04] kohai: @badnima: I don't always use node.js modules, but when I do I prefer @izs's NPM http://bit.ly/kklMbM [08:06] kohai: @OhMeadhbh: been curious about #nodejs? take a look at the virtual appliance i put together w/ node pre-installed http://j.mp/lyHDQY [08:06] jetienne: mscdex: youtube error is due to youtube iframe... it happens for embedded youtube in chrome [08:06] jetienne: mscdex: you should get a menu on http://pacmaze.com ... you get nothing on which browser ? [08:06] kohai: @noto: #nodejs_jp が Ryan および Node.js コミッターを今年 9 月に日本呼ぶ予定、だそうです。 #jjug_ccc [08:07] mscdex: jetienne: no menu or anything. chromium [08:07] mscdex: 13.0.753.0 [08:07] pibi has joined the channel [08:07] jetienne: mscdex: hmm strange i run chrome+chromium all day [08:07] jetienne: i run chromimum 12... maybe a silly thing happening [08:08] mscdex: no idea [08:08] jetienne: i will look more later [08:08] secoif_ has joined the channel [08:10] `3rdEden: checkout your about:flags [08:10] kohai: @noto: nodejitsu.com という会社は「Node術」からきているらしい。 #jjug_ccc [08:10] `3rdEden: wrong channel ;! [08:11] adrianmg has joined the channel [08:14] NetRoY has joined the channel [08:14] kohai: @seorenn: [node.js] 스크립트 언어로써의 node.js http://nblo.gs/ieRJh [08:14] LolaLiLu has joined the channel [08:15] Bj_o_rn has joined the channel [08:16] ewdafa has joined the channel [08:18] kohai: @simonech: When I find some time I really have to start looking into node.js and related technologies #fb [08:19] kohai: @mike_neck: Node.js クラスタの人達は黒地に白文字がデフォルトだな [08:21] uchuff has joined the channel [08:22] jhurliman has joined the channel [08:24] hassox has joined the channel [08:26] kohai: @heisedc: Node.js 0.4.8 veröffentlicht http://heise.de/-1248246 [08:28] eldios has joined the channel [08:28] markwubben has joined the channel [08:29] test1 has joined the channel [08:29] kohai: @codeninjaaaa: Node.js cheat sheet - http://goo.gl/r58FY [08:29] micheil has joined the channel [08:29] test1 has left the channel [08:29] jonathantaylor has joined the channel [08:29] seivan has joined the channel [08:30] kohai: @blognode: une version 0.4.8 pour node.js http://j.mp/kVZ3JT [08:30] tbassetto has joined the channel [08:30] kohai: @activetraffic: Node.js 0.4.8 veröffentlicht - http://bit.ly/jsFKd5 @activetraffic #seo #consulting #onlinemarketing [08:32] secoif_ has joined the channel [08:33] mc_greeny has joined the channel [08:34] azeroth_______ has joined the channel [08:34] seivan has joined the channel [08:35] kohai: @stompfrog: New blog post about @rem's Node.js workshop last week - http://bit.ly/lg8gPH #node [08:35] jonathantaylor has joined the channel [08:35] kixxauth has joined the channel [08:37] seivan has joined the channel [08:40] mape: Hmm, the twitter -> irc worked a lot better in the "old days" [08:41] jonaslund: node is prolly too popular for this to work well [08:41] jeremyselier has joined the channel [08:41] dies_el has joined the channel [08:42] AAA_awright: It might be becasue I'm recompiling stuff, but Node.js is dying on me without error when it loads some modules or files [08:42] jonaslund: maybe change it to do digests at intervals [08:42] e6nian: how to use node.js to use a fake ip to requst url? [08:42] mape: fake ip? [08:43] mape: proxy the request? [08:43] AAA_awright: How do use? [08:43] `3rdEden: OMG HACKERS [08:43] jonaslund: AAA_awright: recompile ? [08:43] e6nian: mape: proxy request? how to? [08:44] AAA_awright: jonaslund: Clean and recompile, I haven't yet. But I'm newly using master [08:44] mape: e6nian: using a proxy, but what do you mean by fake ip? [08:44] greg_ has joined the channel [08:44] jonaslund: AAA_awright: oh node itself ? [08:44] Charuru has joined the channel [08:45] AAA_awright: jonaslund: Well, I'm recompiling things on my system but I don't think any of them have to do with Node.js [08:45] AAA_awright: Yeah Node itself is dying [08:45] LolaLiLu has left the channel [08:45] kohai: @tux_news: @heiseopen Node.js 0.4.8 veröffentlicht http://bit.ly/iesyKy #opensource [08:45] kohai: @TraumSpinner: Node.js 0.4.8 veröffentlicht: Das neue Release bringt verbesserte Fehlerberichte und Debugger-Unterstützun... http://tinyurl.com/3ase58z [08:45] e6nian: mape: like my actual ip is 8.8.4.4, but I wanna hide my real ip,instead wanna request the target url use fake ip like 6.6.6.6. [08:46] mape: Hmm that won't work [08:46] NetRoY has joined the channel [08:46] e6nian: mape: why? [08:46] jonaslund: e6nian: TCP/IP needs 2 valid endpoints to setup a connection [08:46] FireFly|n900 has joined the channel [08:46] kohai: @dhgrafx: Node.js 0.4.8 veröffentlicht - heise developer neueste Meldungen http://bit.ly/kyp7WR [08:46] mape: ^ that [08:47] cognominal_ has joined the channel [08:47] e6nian: jonaslund: So it should deep into TCP/IP? [08:48] FireFly has joined the channel [08:48] mape: TCP/IP in your TCP/IP [08:48] AAA_awright: e6nian: You can't fake your IP address, the routers and server would have no clue how to reply to your packets [08:48] davidbanham has joined the channel [08:48] kohai: @nobeans: なんかGoogle Waveっぽい。というか、Waveをプロトコルとしてつかえないのかな #jjug_ccc #nodejs [08:48] kohai: @TraumSpinner: Node.js 0.4.8 veröffentlicht: Das neue Release bringt verbesserte Fehlerberichte und Debugger-Unterstützung. Auc... http://bit.ly/iesyKy [08:48] yanneq has joined the channel [08:49] e6nian: AAA_awright: ok. maybe I'd refer to Tor. [08:49] jonaslund: e6nian: unless you're on the same ethernet network or can somehow intercept packs en-route then you can't effectively hide your ip [08:49] jonaslund: or fake a particular IP in this case [08:49] jonaslund: you can "hide" yourself on Tor ofcos but then you need to adapt and use a proxy [08:49] AAA_awright: e6nian: Tor != TCP/IP [08:49] e6nian: AAA_awright: I know that. [08:50] jonaslund: doesn't Tor work on the tcp/ip level ? [08:50] AAA_awright: It's an application on top of it yes. [08:50] e6nian: jspiros: no. [08:51] bzinger has joined the channel [08:52] seivan has joined the channel [08:52] sreeix has joined the channel [08:53] MrTopf has joined the channel [08:56] azeroth_______ has joined the channel [08:57] darshanshankar has joined the channel [08:58] AAA_awright: I'm wondering why my script is silently dying when I call Jade [08:58] Schmallon has joined the channel [08:58] AAA_awright: And then I fired up node-inspector and that won't launch either [08:59] adrianmg has joined the channel [09:00] bzinger_ has joined the channel [09:01] mscdex: AAA_awright: you shouldn't use master :S [09:01] kohai: @fille12: #socketio #nodejs crashes with #chrome, why :( [09:01] yanneq has left the channel [09:01] NetRoY has joined the channel [09:03] thalll has joined the channel [09:03] kohai: @takimoto3: Node.js LTなう [09:03] cryptix has joined the channel [09:04] TomY has joined the channel [09:04] mscdex: !tweet @fille12 chrome, socket.io, and node versions? [09:04] kohai: @NodeKohai: @fille12 chrome, socket.io, and node versions? [09:04] `3rdEden: I'm guessing Operating system: Mac [09:04] `3rdEden: Using WebSockets [09:04] `3rdEden: with proxy discovery ;) [09:05] `3rdEden: atleast, if the browser crashed ;9 [09:05] jesusabdullah: Man, trying to figure out distutils for python [09:05] jesusabdullah: So far, npm is a lot nicer [09:05] jesusabdullah: ;) [09:06] eee_mk has joined the channel [09:06] `3rdEden: you got easyinstall for python [09:06] jesusabdullah: Oh, I've been installing stuff forever [09:06] jesusabdullah: I meant the publishing side of things [09:06] AAA_awright: mscdex: If I have to deal with the occasional driven-off-the-cliff-and-taken-the-family-with-you failure, eh, it's cutting edge :) [09:06] `3rdEden: http://packages.python.org/distribute/easy_install.html [09:06] AAA_awright: And I get to fix bugs [09:06] mscdex: :s [09:06] darshanshankar: mscdex: im guessing not everyone has access to !tweet functionality? [09:07] kohai: @mike_neck: Kinect on Node.js デモ中 #jjug_ccc [09:07] mscdex: darshanshankar: only people in the "whitelist" [09:07] darshanshankar: ahh [09:07] Sami_ZzZ has joined the channel [09:07] Lorentz: Surprisingly lot of japanese people doing nodejs. hrm. [09:07] darshanshankar: smart [09:08] mscdex: whew, finally getting back to making json node api docs. got half the core modules done [09:08] mscdex: :-D [09:08] kohai: @line_o: new #webOS has #nodejs as a background service https://developer.palm.com/content/resources/intro_to_hp_webos_2_1.html#c18692 - sounds cool [09:08] kohai: @pinksy: w00t -> http://calip.so/ as Node.js CMS ! I'm migrating all my sites right now :P /via @emargee http://ff.im/-E4cFd [09:09] AAA_awright: Yeah it's the commit [09:09] AAA_awright: Who do I bug [09:09] ss23: Did... kohai just fail at decoding some htmlentities? [09:10] `3rdEden: mscdex: markdown to json? [09:10] kohai: @fille12: @NodeKohai chrome 11.0.696.68, joyent-node-68d840b. from repsository [09:11] eldios: https://github.com/nodejitsu/kohai [09:11] eldios: HERE IT IS!!!! [09:12] AAA_awright: Where's ryah [09:12] AAA_awright: Commit 207901e7de1ceeb35b73a9aa4bc1f3bb9ab0ff2c "Guard tick_spinner start/stop" broke my Node.js [09:12] cafesofie has joined the channel [09:13] e6nian: who is in forrst.com ? pls vote me http://forrst.com/i/5tX thanks a lot :) [09:14] seivan has joined the channel [09:15] gozala has joined the channel [09:16] kohai: @SaltwaterC: node.JS help sheet http://goo.gl/XnwmW [09:16] Xano has joined the channel [09:17] fille12 has joined the channel [09:17] fille12: hellop [09:17] fille12: anyone got problem with socket.io and chrome? [09:17] `3rdEden: !tweet @fille12 Try using a stable build instead see https://github.com/LearnBoost/Socket.IO-node/issues/207 [09:17] kohai: @NodeKohai: @fille12 Try using a stable build instead see https://github.com/LearnBoost/Socket.IO-node/issues/207 [09:17] `3rdEden: OH [09:18] fille12: aa thanks mate! [09:18] cafesofie has joined the channel [09:18] `3rdEden: fille12 got a gist of the error? :D [09:18] fille12: wait [09:18] anoop has joined the channel [09:19] fille12: hrm, i get it sometimes [09:19] kohai: @nodechatter: New feature, login your #nodechatter account with Google or Yahoo account. http://ow.ly/i/bYZV #openid #nodejs [09:19] kohai: @r0kawa: New feature, login your #nodechatter account with Google or Yahoo account. http://ow.ly/i/bYZV #openid #nodejs [09:19] fille12: something with crypto.js [09:20] `3rdEden: fille12 you using a trunk build of Node.js instead of a stable release? [09:20] fille12: i guess so [09:20] fille12: dammit [09:20] fille12: i will rebuild it then [09:20] kohai: @takesako: node.js で LT 発表予定です。ただいま待機中… #jjug_ccc [09:22] `3rdEden: You can always run them side by side fille12 [09:22] `3rdEden: I use nvm (node version manager) to run different node installations [09:23] `3rdEden: my default node process is the unstable trunk build that I build daily, and I use nvm to test on stable releases [09:23] NetRoY1 has joined the channel [09:23] fille12: okej, its strange, i just followed the stepes n socket.io ppage [09:23] kohai: @pedrogteixeira: Just sold: Hands-on Node.js e-book ($ 3.99) http://tpay.me/j8ujC3 [09:24] `3rdEden: fille12 what does your error say? [09:24] NetRoY1 has left the channel [09:24] Bradleymeck has joined the channel [09:24] fille12: talking about crypto.js 102:10 [09:24] fille12: but i dont get it anymore.. [09:25] kohai: @Nerdjob: Node.js 0.4.8 veröffentlicht http://bit.ly/kjiaKh #itnews [09:25] kohai: @SaltwaterC: Calipso - A node.js CMS - http://goo.gl/jSCeF [09:25] markwubben has joined the channel [09:25] NetRoY1 has joined the channel [09:26] mscdex: `3rdEden: no, it's a more complete documentation [09:26] mscdex: and more structure [09:26] kohai: @FrikiFeeds: GoSquared – Blog – Panic Over! Node.JS Help Sheet is here. http://dlvr.it/SnrR1 [09:26] fille12: 3rdEden shouldent socket.io choos websocket instead of jsonp-pooling [09:27] `3rdEden: mscdex wouldn't it just be easier to re-parse the markdown files? Or you will be managing 2 sets of documentation [09:27] `3rdEden: fille12 on Chrome? Yes [09:27] mscdex: you can't just parse the markdown files [09:27] jesusabdullah: YOU CANT HANDLE THE MARKDOWN [09:27] mscdex: there's lots of missing details and you can't detect examples and other different bits of content easily [09:27] pomodoro has joined the channel [09:27] jesusabdullah: Speaking of markdown, does anybody else dislike rst? [09:28] jesusabdullah: because I converted the docs of my python project to rst because that's how python rolls, and it makes me q_q [09:28] `3rdEden: mscdex than If you can't parse the markdown, why don't you just parse the rendered html files than :D [09:28] mscdex: i agree it will mean managing a separate set of documentation, but i think it's worthwhile [09:28] `3rdEden: As that is already rendered in a structure [09:28] mscdex: `3rdEden: the html is the same [09:28] mscdex: problem [09:29] mscdex: there are no classes to denote examples, variable types, etc in a clean way [09:29] mscdex: with the json you can have all the required details and render it however you like [09:29] `3rdEden: yes thats true [09:32] pkrumins: kkaefer: using node-png for www.browserling.com, rgba buffers come from vnc [09:34] fille12: anyone know what open-ssl [09:34] fille12: package is needed [09:34] fille12: for ubuntu [09:34] mscdex: libssl-dev on debian/ubuntu [09:34] fille12: thanks! [09:36] aliem has joined the channel [09:36] kohai: @nahi: せっかくnode.jsなので、クライアント<->サーバの通信を、カウンタをデクリメントしながら繰り返して、0になったら元の数字を表示するのはどうか。 #jjug_ccc #nodejs [09:37] [AD]Turbo has joined the channel [09:37] kohai: @kelvw: If SASS/SCSS has got a maintained node.js plugin, I would be happy to use it. But seems like I will now stick to LESS. [09:38] [AD]Turbo: hi there [09:39] saschagehlich has joined the channel [09:41] sechrist_ has joined the channel [09:42] bzinger has joined the channel [09:46] davidbanham has joined the channel [09:47] kohai: @felixge: A new day, a new #nodejs meta stream module. Check out combined-stream: http://t.co/MaV7xHd [09:48] anatoo has joined the channel [09:50] Treffynnon has joined the channel [09:52] kohai: @refractalize: walking a 3000 link HTTP resource asynchronously: node.js 10 seconds, C# 30 seconds. Now if only I could deploy node.js in production... [09:53] hellp has joined the channel [09:53] BruNeX has joined the channel [09:54] pita has joined the channel [09:54] JackeyChan has joined the channel [09:54] pita: https://github.com/Pita/etherpad-lite [09:54] pig_ has joined the channel [09:55] unomi has joined the channel [09:58] emattias has joined the channel [10:00] kohai: @persival: Showing daughter the hello world node.js example explaining the Internet. Her response was: I thought the Internet is safari and google. [10:00] aliem has joined the channel [10:00] AAA_awright: mscdex: In case you were wondering, make clean fixed it. Though that means there's still a bug in the Makefile somewhere. [10:01] kohai: @malenki: #NodeJS est sorti en version 0.4.8 il y a peu http://goo.gl/FXkE2 #dev [10:01] jesusabdullah: haha, that's great [10:01] jesusabdullah: that tweet I mean [10:02] jesusabdullah: the one about what the internet is [10:02] wjwoodward has joined the channel [10:03] kohai: @oisin: Calipso http://t.co/URDsnoU looks interesting as a light CMS - nodey goodness. #nodejs [10:03] kohai: @noto: node.js の mongoose 便利そうだなぁ。 [10:03] AAA_awright: What's the best driver to use for MongoDB? [10:04] nexxy: mongoose! [10:05] AAA_awright: Ah I see the MongoDB website lists it as an ORM [10:06] nexxy: it's nice if you like having a schema [10:06] FireFly|n900 has joined the channel [10:06] Billbad has joined the channel [10:06] mscdex: d'oh 6am [10:06] jacter has joined the channel [10:10] k1ttty_ has joined the channel [10:12] herbySk has joined the channel [10:15] jarek has joined the channel [10:15] jarek has joined the channel [10:17] kohai: @3rdEden: Obj Merge: function m(a,b,c){for(c in b)b.hasOwnProperty(c)&&((typeof a[c])[0]=='o'?m(a[c],b[c]):a[c]=b[c])} 97bytes @140bytes :) #freespace [10:20] saschagehlich has joined the channel [10:21] littke has joined the channel [10:22] kohai: @chambaz: Have you seen this http://t.co/uMCYm0S? (cc @fideloper) #nodejs #cms [10:23] mc_greeny has joined the channel [10:23] seivan has joined the channel [10:24] aliem has joined the channel [10:25] mhausenblas has joined the channel [10:25] beawesomeinstead has joined the channel [10:25] beawesomeinstead has joined the channel [10:25] dyer_away has joined the channel [10:29] nivoc has joined the channel [10:30] sreeix_ has joined the channel [10:31] fille12: how do i see what version of node js im on [10:31] mscdex: node -v [10:31] fille12: 0.5.0-pre [10:32] fille12: good or bad? [10:32] nexxy: use 0.4.8 [10:32] fille12: ok [10:32] nexxy: :) [10:32] nexxy: I had some troubles with 0.5.0-pre, and last I heard from ryan it's unstable [10:32] nexxy: and socket.io is broken with it [10:32] nexxy: afaik [10:32] fille12: thats why [10:32] fille12: :D [10:32] nexxy: yeah lol [10:32] fille12: have the same problem [10:33] nexxy: mhmm [10:33] nexxy: it's some binary assertion issue or somefing? [10:33] `3rdEden: node's fault ;0 [10:33] mscdex: haters gonna hate [10:33] `3rdEden: ye a assertion error in a encoding method of node [10:33] `3rdEden: But we are not gonna fix it anyways [10:34] `3rdEden: 0.7 has more priority [10:34] mscdex: node 0.7? [10:35] kohai: @NodeJSAtSO: How do I run Node.js on port 80? http://bit.ly/lsQE7v [10:35] kohai: @CharlesFung: How do I run Node.js on port 80?: My aim is to run Node.js on port 80. This is because I am finding node.js is b... http://bit.ly/jlij9O [10:35] kohai: @stackfeed: How do I run Node.js on port 80?: My aim is to run Node.js on port 80. This is because I am finding node.js is b... http://bit.ly/jlij9O [10:35] kohai: @bluepapa32: なんか Node.js したくなってきた。 [10:36] kohai: @pragmatrix: @refractalize interesting, do you know why node.js is so much faster? [10:37] mscdex: !tweet @pragmatrix because node has more cowbell! [10:37] kohai: @NodeKohai: @pragmatrix because node has more cowbell! [10:37] fille12: okej so after compiling 0.4.8 [10:37] fille12: :D [10:38] jesusabdullah: SO much cowbell [10:38] jesusabdullah: four hundred cowbells [10:38] mscdex: that ought to be a standard measurement for comparing programming languages [10:38] mscdex: cowbells being the units [10:39] mscdex: or maybe just cowbell [10:39] jesusabdullah: Yes, cowbell is now the plural of cowbell [10:39] saschagehlich has joined the channel [10:40] jesusabdullah: I wonder how many cowbell node.js actually is [10:40] jesusabdullah: We need something to benchmark as one cowbell, I think [10:40] mscdex: gotta come up with the formula first [10:40] jesusabdullah: Maybe C is one cowbell [10:40] jesusabdullah: Yeah, or that :) [10:40] mscdex: fire up labview! [10:40] mscdex: get crackin [10:41] thron7 has joined the channel [10:41] mscdex: ahhh coffee [10:42] pita: hi, is there any css compressor for node? [10:42] neoesque has joined the channel [10:42] Charuru: pita clean-css [10:42] gausby has joined the channel [10:42] Charuru: also future info: http://blago.dachev.com/modules [10:43] mnemonic has joined the channel [10:43] mscdex: and: https://github.com/joyent/node/wiki/modules [10:43] mscdex: in case some modules aren't on npm [10:43] sreeix has joined the channel [10:44] kohai: @phineasb: quick post on the power of story telling -NYC Geek-er-y and narrative | Sneakerhead VC http://bit.ly/lHxIdp [10:44] fille12: still getting the chrome to connect to the jsonp-pooling socket.io [10:44] sreeix_ has joined the channel [10:45] `3rdEden: fille12: gist it [10:45] `3rdEden: fille12 no, wait [10:45] `3rdEden: clear your cookies [10:45] `3rdEden: ;D [10:45] fille12: okej [10:46] thron7: is there something like a .nodejs or .nodejsrc, where i can put code that gets executed on interpreter startup? [10:46] `3rdEden: thron7 no [10:46] kohai: @tyage: [node.js] / node.js アプリの負荷分散構成を考える - KrdLabの不定期日記 http://htn.to/w7ztR6 [10:47] thron7: `3rdEden ah, too bad [10:48] mscdex: thron7: why do you need that for? [10:48] thron7 has left the channel [10:48] mscdex: d'oh :) [10:48] fille12: ´3edEden thanks mate [10:48] thron7 has joined the channel [10:49] mnemonic has joined the channel [10:49] Xano has joined the channel [10:49] thron7: convenience functions that i always want to have around, esp. in the REPL [10:50] mscdex: hmm [10:50] fbrandel has joined the channel [10:50] mscdex: well, you could look into building them into the node executable maybe [10:50] mscdex: there's a way to do that, but i haven't tried it personally [10:51] thron7: mscdex function reload(s) {if (require.cache[s])delete require.cache[s]; return require(s)} [10:51] thron7: mscdex go ahead [10:52] fly-away has joined the channel [10:53] chjj has joined the channel [10:53] mscdex: thron7: what you're asking for was recently asked on the mailing list and here's what isaacs said: http://groups.google.com/group/nodejs/msg/6d7a657ed4e771c0 [10:54] sfoster has joined the channel [10:54] LacKac has joined the channel [10:55] thron7: mscdex great, will read up on that (i searched the group, but obviously for the wrong terms ... :-/ ) [10:56] mscdex: thron7: the original thread is here: http://groups.google.com/group/nodejs/browse_thread/thread/987b59ab2dbc7a97 [10:56] thron7: cheers! [10:57] kohai: @hkuze_flipboard: node.js アプリの負荷分散構成を考える - KrdLabの不定期日記 http://dlvr.it/SpR97 [10:58] kohai: @johnbellone: @sh1mmer P.S. I want to see a #nodejs presentation (and book signing) in the big apple! [10:59] thalll has joined the channel [10:59] kohai: @tyage: [node.js] / text.ssig33.com - node.js でアプリケーションを作った。 http://htn.to/6uMK1z [11:00] kohai: @njrabit: @OhMeadhbh Very nifty as Ubuntu's repos only carry an ancient Node.js not supporting NPM, and not exactly a cakewalk to get it all set up. [11:00] littke has joined the channel [11:02] mscdex: !tweet @njrabit you might try this ppa: http://bit.ly/iTgbUu [11:02] kohai: @NodeKohai: @njrabit you might try this ppa: http://bit.ly/iTgbUu [11:03] mscdex: hrm.... only 0.4.7 for natty :\ [11:03] `3rdEden: like compiling from source is sooo hard to do ;D [11:04] mscdex: i know, but it's strange since maverick has 0.4.8 [11:04] kohai: @felixge: Want: Generic #nodejs module that I can plug data in that does life graphs. Use case: Visualizing stream.pipe() flows. Can be in-memory [11:04] mscdex: ircretary tell jetienne we need 0.4.8 for natty in your ubuntu ppa ;) [11:04] ircretary: mscdex: I'll be sure to tell jetienne [11:05] mscdex: hope that bot still works :p [11:05] burningdog has joined the channel [11:05] kohai: @othella: Just installed this, really amazing! Great use of node.js http://fb.me/1142Sdd0x [11:10] TomY has joined the channel [11:12] kohai: @d24m: Node.js 0.4.8 veröffentlicht http://j.mp/mwEszW [11:16] kohai: @yomedia_ro: Calipso – un CMS bazat pe serverul Node.js http://bit.ly/iwgNzJ [11:16] kohai: @njrabit: @NodeKohai Very nice, thanks! Did build from github source but using this will be much quicker next time I need to install node.js. [11:16] kohai: @worldIT: Calipso – un CMS bazat pe serverul Node.js http://goo.gl/fb/zWeYc [11:17] kohai: @AndreiAvadanei: Calipso – un CMS bazat pe serverul Node.js http://goo.gl/fb/Heefy [11:19] sreeix has joined the channel [11:19] thalll has joined the channel [11:22] bzinger has joined the channel [11:24] kohai: @mosiseven: Will Node Power the Next Twitter? NowJS Is Betting On It http://ow.ly/51vGv #NodeJS [11:25] tisba has joined the channel [11:26] kohai: @renedx: Event based MySQL Query's. That's a total other way of approaching your PHP knowledge. #nodejs [11:27] tbranyen: SubStack: neat trick i just learned from one of your project readmes [11:27] tbranyen: ````javascript [11:27] tbranyen: for syntax highlighting [11:28] ExsysTech has joined the channel [11:28] kohai: @tux_news: @heisedc Node.js 0.4.8 veröffentlicht: http://bit.ly/kjiaKh [11:28] `3rdEden: tbranyen actually it's 3 ```'s [11:29] tbranyen: he has 4 [11:29] mscdex: so: ````````` ? [11:29] mscdex: :p [11:30] jtsnow has joined the channel [11:30] kohai: @newsyc50: Calipso - A Node.JS CMS http://calip.so/ (http://bit.ly/iOtupw) [11:30] tbranyen: `3rdEden: 4 didn't work for me [11:30] tbranyen: you're probably right [11:30] tbranyen: testing 3 [11:30] `3rdEden: !insult mscdex [11:30] kohai: mscdex is a wombat-loving heifer-puncher! [11:30] `3rdEden: :D [11:31] tbranyen: didn't work either [11:31] tbranyen: welp [11:31] mytrile has joined the channel [11:31] tbranyen: maybe it needs to be against the left gutter [11:31] tbranyen: oh i see [11:31] tbranyen: i didn't end it [11:31] tbranyen: also yeah he has 4 `3rdEden [11:31] tbranyen: dunno if that makes a diff [11:32] Bradleymeck has joined the channel [11:32] `3rdEden: odd [11:32] `3rdEden: See releated blog: https://github.com/blog/832-rolling-out-the-redcarpet [11:32] tbranyen: i see the blog post now that shows 3 [11:32] tbranyen: yeah [11:32] tbranyen: i was just linked it :-p [11:33] tbranyen: using 4 doesn't screw with my syntax highlighting in vim [11:34] tbranyen: its markdown is finicky [11:36] cloudhead has joined the channel [11:36] cloudhead_ has joined the channel [11:36] mwob has joined the channel [11:37] lackac has joined the channel [11:40] mikl has joined the channel [11:40] mikl has joined the channel [11:41] kohai: @vandewilly: @fnando Já assistiu ao screencast do @peepcode sobre #nodejs ? Recomenda? [11:41] cloudhea1_ has joined the channel [11:41] cloudhea1 has joined the channel [11:43] k1ttty has joined the channel [11:43] lukegalea has joined the channel [11:45] tiagoa has joined the channel [11:46] mike5w3c has joined the channel [11:46] cloudhead_ has joined the channel [11:48] tmpvar has joined the channel [11:49] bnoordhuis has joined the channel [11:50] cloudhead has joined the channel [11:51] insin has joined the channel [11:53] kriszyp has joined the channel [11:53] roar has joined the channel [11:53] devrim has joined the channel [11:55] samuelviking has joined the channel [11:55] Xano has joined the channel [11:55] kohai: @NeilCanham: Get started quickly with Node.js - preconfigured virtualbox appliance from @OhMeadhbh looks like a great way to 'have a go' [11:55] exotichitch has joined the channel [11:56] kohai: @NeilCanham: Get started quick with Node.js - preconfigured virtualbox appliance from @OhMeadhbh http://www.meadhbh.org/services/node-appliance [11:56] cloudhea1 has joined the channel [11:56] cloudhea1_ has joined the channel [11:56] devrim has joined the channel [11:57] devrim has joined the channel [11:58] SeyZ has joined the channel [12:01] samuelviking: Hi! I have a node.js server issue: I have setup node.js on my debian server and am now remotely connected via ssh and developing a simple chat app(receiving and broadcasting). My chat seems to work fine, but nodejs always seems to crash after a few minutes (even with the only 1 or 2 clients connected). The weird thing is this also causes my SSH connection to instantly drop, and I am unable to connect until suddenly everything [12:01] thalll has joined the channel [12:02] rworth has joined the channel [12:03] kohai: @NodeMTL: NodeMTL #1 is tonight! Doors open at 6:30, presentations start at 7pm. Introduction to Node.js and Getting Started with CouchDB. [12:09] suresh has joined the channel [12:09] exotichitch has joined the channel [12:11] kohai: @rockncode: @mvz Yeah! The Twitter Streaming API with Node.js was a success! YAY! ;) [12:13] johnnywengluu: is there a way to serve static files from different folders in express? [12:13] cloudhead has joined the channel [12:13] johnnywengluu: eg. localhost/foo/bar.js and localhost/baz/bar.js [12:13] johnnywengluu: where foo and baz are different folders located in different paths in the fs [12:14] johnnywengluu: cause connect(connect.static(require('../config').modulesPath)).listen(9000); will only serve files from one location [12:14] Xano has joined the channel [12:14] johnnywengluu: i want multiple different locations [12:15] cloudhead_ has joined the channel [12:15] col3 has joined the channel [12:16] pascalopitz has joined the channel [12:16] gtramont1na has joined the channel [12:17] dnolen has joined the channel [12:17] kohai: @rupertredington: @adamamyl Don't think so, though with work python's rotor module might do it. Prolly fastest to implement Daniel's code in node.js [12:18] jonaslund: samuelviking: until suddenly everything..... ? [12:19] pen has joined the channel [12:19] otaku_coder has joined the channel [12:19] samuelviking: jonaslund> "works fine again (after 10-15 minutes)" - should be in the log. [12:19] kohai: @rubygeekdotcom: If there is one thing that Node.js will not be known for.. it is the oh so helpful error messages. [12:19] justinTNT: hi johnny, [12:20] jonaslund: samuelviking: what version of node ? [12:20] otaku_coder: hi, is it possible to stream arbitrary binary data over a websocket? more specifically png data, for rendering to a canvas clientside [12:20] kohai: @krolow: http://calip.so/ node.js cms #js #nodejs #mongodb [12:20] mhausenblas has joined the channel [12:20] lukegalea: otaku_coder: yep [12:20] lukegalea: I've done exactly that. [12:20] lukegalea: oh wait.. I didn't use a websocket.. [12:20] fumanchu182 has joined the channel [12:20] samuelviking: also, additional info ( very thankful for any help on this one) : nodejs, apache and SSH all runs on different ports on the same host [12:20] lukegalea: I had the client make a seperate request.. [12:20] lukegalea: b [12:20] lukegalea: ut [12:20] lukegalea: [12:21] samuelviking: jonaslund: v0.4.7 [12:21] justinTNT: something like app.use('/browser/', express.static(application_dir + '/each/path/')); [12:21] justinTNT: samuel: I see no reason why node would be messing with your ssh! [12:22] otaku_coder: lukegalea: awesome! [12:22] pibi has left the channel [12:23] otaku_coder: has anyone used node-canvas yet? [12:23] samuelviking: justinTNT: me neither. my first thought was that my server is cranky and notices the open socket connection and shuts it down after a while, but I don't see how that would affect two different connections on different ports at the same time [12:24] kohai: @pragmatrix: @NodeKohai are these any good for performance optimization: http://www.cowbell-central.com/order.html :) [12:24] samuelviking: my server is a fairly vanilla debian lenny and I have no fancy firewall rules or router restrictions [12:25] johnnywengluu: justinTNT: worked great thanks! [12:26] justinTNT: when your ssh session dies, have you jumped on to the console to do a netstat ? [12:26] Garo_: I'm running a server with Node Cluster and I'm getting some strange errors inside the cluster package: SyntaxError: Unexpected token ILLEGAL from node_modules/cluster/lib/mixins/receiver.js:32:24, at node_modules/cluster/lib/master.js:144:12. The exception happens when the master is trying to parse the IPC frame with JSON.parse, so the JSON what the worker had sent has turned invalid. Has anybody experienced anything similar? [12:27] nexxy has joined the channel [12:27] varioust has joined the channel [12:27] samuelviking: justinTNT: I'm connecting remotely from work, so I can't jump on any console [12:28] samuelviking: which also makes the debugging of this problem even harder [12:28] justinTNT: too many unknowns, samuel. are you running node in the session? so could node be crashing as a side effect of ssh dying? [12:29] jonaslund: samuelviking: try running top on the site and look if node eats up all memory or something like that ? [12:29] jonaslund: "top on the side" [12:31] samuelviking: justinTNT: I am, and that's a very good point. Question: will screen be able to keep nodejs alive even as I loose the session? Also looking at running as daemon [12:31] xandrews has joined the channel [12:31] kohai: @LozhkoBoy: Node.JS интересно. надо будет почитать [12:31] jonathantaylor has joined the channel [12:31] lukstr: samuelviking: of course screen will be able to keep nodejs alive if you lose an ssh session. that's the point [12:33] justinTNT: yeah of course, try screen first. [12:33] benmonty has joined the channel [12:33] samuelviking: lukstr,justinTNT: of course, I am trying this right now [12:34] samuelviking: jonas,justin,lukstr - thanks for assisting me on this =) [12:34] lukstr: what is it you are trying to do? [12:35] samuelviking: lukstr: I am just trying to run node for development [12:36] FireFly|n900 has joined the channel [12:36] lukstr: I never do any remote work not inside a screen session [12:36] lukstr: ACTION is in a screen session right now [12:37] dyer_away has joined the channel [12:37] samuelviking: lukstr: neither should I, probably, I just never took the time to get used to screen - I'm sort of a noob here [12:37] kohai: @mitechie: Changed my jslint in vim to use this node.js version and seems pretty snappy and working well: http://j.mp/lettyM Hadn't seen the :cw before [12:38] jonathantaylor has joined the channel [12:40] jonaslund: samuelviking: screen is awesome [12:40] jonaslund: install it and be a happy person :) [12:41] jonathantaylor has joined the channel [12:41] samuelviking: one point though: why would my SSH connection suddenly drop and stop responding, only when running node.js? even though the session reconnects or whatever, it shouldn't just die for 10 minutes [12:41] kohai: @NodeJSAtSO: Prerequesite knowledge for working with node.js http://bit.ly/kpz3RF [12:41] samuelviking: jonaslund: it's even installed already! and have been for long... [12:42] mAritz: question: there's the 'newListener' event on event emitters. is there a 'removeListener' event as well? (and not documented, because i don't see it) [12:42] jonaslund: screen -> ctrl-a d to detach and then screen -r to resume [12:42] jonaslund: alternatively screen -r PID incase you have multiple screens (you can name them aswell when starting to resume easier) [12:43] samuelviking: jonaslund: thanks. I actually even used screen for a while, I remember the commands now as you write them [12:43] samuelviking: jonaslund: I really need to get my screen on [12:44] kohai: @wdilt: #wdilt the principles of node.js [12:44] thalll has joined the channel [12:45] kohai: @elithp: How to easily monitor 5 daemons?: This is the scenario: I'm on this project for which I wrote 4 Node.js scripts ... http://bit.ly/mCo2RT [12:45] kohai: @johnniefeed: How to easily monitor 5 daemons?: This is the scenario: I'm on this project for which I wrote 4 Node.js scripts ... http://bit.ly/mCo2RT [12:45] samuelviking: hey, this time my node server crashed but screen actually kept the session alive and I could see the error message ! (thanks to nodemon wrapping nodejs) [12:46] samuelviking: and SSH is working as usual [12:46] postwait has joined the channel [12:46] samuelviking: so thanks alot for your help guys! now I can go on with battling the actual error [12:48] samuelviking: seems there is an error when safari on iphone auto-disconnects itself and something ends up undefined [12:48] arpegius has joined the channel [12:49] lukstr: Is kohai just pasting twitter posts with node.js in them? a bit annoying, no? [12:49] kohai: @phineasb: I'm at Peels w/ @ericfriedman http://4sq.com/lrjF9A [12:49] lukstr: samuelviking: ssh sessions would time out for a whole ton of reasons [12:50] hellp has joined the channel [12:50] SamNZ has joined the channel [12:50] `3rdEden: lukstr yes [12:50] `3rdEden: kohai read your twitter :o [12:51] hybsch has joined the channel [12:51] joe_ingersoll has joined the channel [12:51] nexxy: `3rdEden, are you talking to a bot? [12:51] lukstr: `3rdEden: your bot? [12:52] `3rdEden: nexxy :3 [12:52] `3rdEden: lukstr nope [12:52] nexxy: `3rdEden, wat [12:52] nexxy: y u three fayse me [12:52] samuelviking: lukstr: it seems to. although - what makes it reconnect again after 10-15 minutes? [12:53] `3rdEden: nexxy: kohai isn't a bot [12:53] kohai: 'Bot' is a derogatory term, and I'm offended. [12:53] `3rdEden: See [12:53] lukstr: samuelviking: not following you -- your ssh sesh dies then reconnects? [12:53] lukstr: kohai: dirty bot is dirty [12:53] kohai: I am Kohai, semi-useful communications-facilitating pseudointelligence! [12:53] nexxy: lol [12:53] temp01 has joined the channel [12:53] nibbo has joined the channel [12:53] nexxy: anyone have experience with kvm? [12:54] samuelviking: lukstr: my initial problem was that nodejs and SSH would crash at the same time and then I would be unable to reconnect through SSH for 10-15minutes [12:54] kohai: @theprogrammer: Wake up in the wrongest side of the bed. I better stay in my office today. [12:54] kohai: @jechanceux: Уже цмску на node.js замутили http://calip.so/ [12:55] fille12: :D [12:55] fille12: :D [12:55] samuelviking: lukstr: this also affected both of the SSH logins on my server, neither worked. as if the SSH program or port was completely blocked for a period of time [12:55] davidsklar has joined the channel [12:56] pradeepto has joined the channel [12:56] lukstr: samuelviking: well, if node mucked up your terminal it's possible, but ssh shouldn't become blocked... [12:56] samuelviking: oh well hey, it happened again =( [12:56] lukstr: is your sshd set up strange? [12:56] Poetro has joined the channel [12:57] bnoordhuis: samuelviking: do you have tripwire-like software installed? something that updates iptables when it detects funny traffic? [12:57] samuelviking: this time I was running through screen but my terminal just froze and I can't connect, same as before [12:57] lukstr: samuelviking: is it your server? [12:58] samuelviking: lukstr: it should be a very basic setup, I believe I followed this guide: http://www.usefuljaja.com/2007/6/debian-vps-setup-page-1 [12:58] d0k has joined the channel [12:58] kohai: @rjrodger: Awesome visual interface to Amazon SimpleDB: http://bit.ly/kdVm3r built using my #nodejs simpledb module of course! http://bit.ly/g5CCjb [12:59] heavysixer has joined the channel [12:59] samuelviking: bnoordhuis: no, nothing funny. I just have iptables-restore on interface up (not sure I'm using the right terms here) [12:59] AaronMT has joined the channel [12:59] unomi has joined the channel [12:59] stepheneb has joined the channel [12:59] lukstr: samuelviking: who is your VPS provider? [13:00] kohai: @ApplicationsDVP: TermKit : une console graphique fait le buzz, écrite en Node.js et jQuery, elle s'appuie sur le mo... http://bit.ly/jORHbm #Applications [13:00] uchuff has joined the channel [13:00] lukstr: kohai: is this the right place for such a bot? I'm getting a spam feel [13:00] kohai: I am Kohai, semi-useful communications-facilitating pseudointelligence! [13:01] samuelviking: lukstr: it's not a VPS, it's a debian machine at my home ( I had used the guide previously on a VPS ) [13:02] caike has joined the channel [13:02] kohai: @SeyZ_: Object-hash mapping library for Redis. http://goo.gl/2fkD6 #Nohm for #NodeJS : http://goo.gl/ixB6g [13:03] temp01 has joined the channel [13:04] varioust has joined the channel [13:04] lukstr: samuelviking: so you're using key based auth on some different port? [13:04] bnoordhuis: samuelviking: anything out of the ordinary in /var/log/kern.log? do you use ssh port knocking? [13:04] lukstr: samuelviking: oh did you follow that iptables setup from that guide? [13:04] lukstr: almost 100% unnecessary if it's just a local development machine [13:05] varioust has joined the channel [13:05] samuelviking: lukstr: yes. and after node.js on port A crashes and SSH on port B stops working, apache server on port C still serves my webpage happily [13:05] Bradleymeck has joined the channel [13:06] lukstr: what are you using for node.js and SSH ports? [13:06] samuelviking: lukstr: I actually use my server remotely for developing and hosting my personal homepage [13:07] samuelviking: lukstr: node.js is on 25XXX and SSH is on 33XXX, both are configured in my iptables setup [13:07] tisba_ has joined the channel [13:07] lukstr: samuelviking: what's in your iptables log? [13:08] samuelviking: bnoordhuis: i could check that, not familiar with it. not that I'm aware of.. [13:08] ezl has joined the channel [13:09] johnnywengluu: is there a way to print out markdown files on the console? [13:09] samuelviking: lusktr: I'll try and check that log aswell, as soon as my server starts responding to ssh connects again.. [13:09] johnnywengluu: with full formatting? [13:10] lukstr: samuelviking: try commenting out your iptables reject lines, I'm willing to bet the issue is in that file [13:10] samuelviking: lukstr: allright, I'll try that [13:11] samuelviking: will be right back [13:11] stepheneb has joined the channel [13:12] mhausenblas has joined the channel [13:13] cryptix has joined the channel [13:13] kohai: @NodeJSAtSO: NoSQL/MongoDB Style Query Engine in Node.js http://bit.ly/ju25u8 [13:15] okuryu has joined the channel [13:16] kohai: @fdebailleul: TermKit : une console graphique fait le buzz, écrite en Node.js et jQuery, elle s'appuie sur le moteur de rendu WebKit http://ow.ly/51AON [13:17] mynyml has joined the channel [13:19] voodootikigod: !log [13:19] johnnywengluu: what is the equivalent to npm link in the latest npm? [13:19] kohai: @sethetter: Code Review: Calipso - node.js open source CMS http://t.co/BivuvKi [13:19] samuelviking: lukstr: ssh still not working... interesting info though: I can't connect through SSH but the port is actually open [13:19] kohai: @Syntactix: Any #webOS devs out there working with XML in a Node.js service? If so mind pinging me. Thanks! [13:20] johnnywengluu: so that i wont have to install whenever i change the npm package [13:20] lukstr: samuelviking: dmesg | grep iptables [13:21] johnnywengluu: anyone? [13:21] seivan has joined the channel [13:22] samuelviking: lukstr: show a ton of denied connects [13:22] lukstr: lol so [13:22] lukstr: it's probably hosings your ssh [13:22] lukstr: do me a favor, [13:23] kohai: @Bradleycorn: @hedami @zhephree @webosdev Best way to parse xml in a node.js service? using 3rd party module gives 'exports is not defined'. Ideas? #webos [13:23] samuelviking: lukstr: so I'll try commenting out those reject lines now [13:23] lukstr: sudo iptables -L | tee ~/iptables_rules [13:23] lukstr: and then paste iptables_rules somewhere for me to see [13:24] pifantastic has joined the channel [13:25] tswicegood has joined the channel [13:26] kohai: @ouslewis: TermKit : une console graphique fait le buzz, écrite en Node.js et jQuery, elle s'appuie sur le m... http://bit.ly/llo3OH by Lewis Tweet [13:26] kohai: @Developpez: TermKit : une console graphique fait le buzz, écrite en Node.js et jQuery, elle s'appuie sur le moteur de rendu WebKit http://bit.ly/llo3OH [13:26] samuelviking: lukstr: http://pastebin.com/nWCPihPZ [13:26] thomblake has joined the channel [13:27] iori has joined the channel [13:29] eikaas_ has joined the channel [13:29] NetRoY has joined the channel [13:31] willwhite has joined the channel [13:31] kohai: @MacDeveloppez: TermKit : une console graphique fait le buzz, écrite en Node.js et jQuery, elle s'appuie sur le moteur de r... http://bit.ly/jeaBQS #mac [13:34] kohai: @dog_race: http://tinyurl.com/3tnm5s8 [13:35] jtsnow has joined the channel [13:35] kkaefer: pkrumins: ah! [13:36] kkaefer: pkrumins: any reason why you split up the modules? [13:36] kkaefer: instead of having one node-image module? [13:36] samuelviking: lukstr: what's your qualified opinion? [13:37] kohai: @lanymphedesbuzz: TermKit : une console graphique fait le buzz, écrite en Node.js et jQuery, elle s'appuie sur le moteur de r... http://bit.ly/jeaBQS #mac [13:37] lukstr: My entirely unqualified opinion is that you probably don't need iptables at all, tad bit crazy. Also those rules are kind of poor, I don't like a lot of what's going on there [13:39] kohai: @ITnewsFR: TermKit : une console graphique fait le buzz, écrite en Node.js et jQuery, elle s'appuie sur le moteur de rendu ... http://bit.ly/jTvnjw [13:39] pen has joined the channel [13:40] samuelviking: lukstr: isn't iptables a good idea to block *someone* doing *something* to my server? that is good to know, how could I improve them except removing all of them? [13:40] rbranson: ufw 4 life [13:41] kohai: @javascript_DVP: TermKit : une console graphique fait le buzz, écrite en Node.js et jQuery, elle s'appuie sur le... http://bit.ly/k8Kugx #javascript #web [13:41] tswicegood has joined the channel [13:41] brianseeders has joined the channel [13:41] lukstr: samuelviking: indeed it is, but unless you have something running on that port, you don't have too much to be concerned about. Seeing as you are allowing http[s], ssh and node anyways, you aren't really getting too much out of it [13:41] acdameli_ has joined the channel [13:41] postwait has joined the channel [13:42] temp01 has joined the channel [13:43] samuelviking: lukstr: I should probably stop using iptables, since I have a router taking care of all incoming connections. sort of obvious to me now... [13:43] willwhite has joined the channel [13:43] samuelviking: lukstr: BUT, do you think my iptables config might have caused the SSH problem? [13:43] lukstr: samuelviking: probably [13:43] Bonuspunkt has joined the channel [13:43] lukstr: samuelviking: unless your ssh config is scary too [13:44] samuelviking: lukstr: lol [13:44] lukstr: I don't know why he disabled PAM/some other things [13:44] kohai: @hedami: @Syntactix Wouldn't working with XML be the same in regular Javascript as it would in a node.js service? [13:45] sirkitree has joined the channel [13:45] brolin has joined the channel [13:45] kohai: @web_DVP: TermKit : une console graphique fait le buzz, écrite en Node.js et jQuery, elle s'appuie sur le moteur de r... http://bit.ly/mtiFiV #web [13:46] lukstr: samuelviking: future, I wouldn't follow guides that say "use this configuration to achieve this" when they don't explain what they are actually doing (e.g. disabling PAM) [13:46] lukstr: kohai: I am liking you less with every tweet [13:46] kohai: I am Kohai, semi-useful communications-facilitating pseudointelligence! [13:46] adelgado: kohai: Who is your daddy? [13:46] kohai: I am Kohai, semi-useful communications-facilitating pseudointelligence! [13:47] samuelviking: lukstr: here we go: http://pastebin.com/75pTfYbJ [13:47] kohai: @fille12: made a statment with #nodejs @office, [13:47] temp01 has joined the channel [13:48] fille12: :D [13:48] kohai: @Syntactix: @hedami A node.js service has no DOM so I believe he doesn't have access to the DOM parser. Brad's real question is how to import modules [13:48] baudehlo1: time to /ignore kohai I think. [13:48] samuelviking: lukstr: no, I probably shouldn't. still [13:49] samuelviking: lukstr: *still it's easy to get going with some defaults and then configure as you go [13:50] lukstr: samuelviking: yeah but stock works pretty good imo :P [13:50] sonnym has joined the channel [13:50] xsyn has joined the channel [13:51] lukstr: samuelviking: wait are you actually using key based auth? [13:51] samuelviking: lukstr: yeah, next time I'll go with stock and build on when needed.. [13:51] samuelviking: lukstr: no, I don't think so [13:52] lukstr: then yeah PAM should be on most likely [13:52] samuelviking: lukstr: I probably turned pass auth on because I was lazy [13:52] lukstr: it's on by default [13:52] lukstr: you just uncommented it :P [13:53] Hamms has joined the channel [13:53] mAritz: how do i properly dispose of an EventEmitter? can i just delete it or do i have to remove all listeners first? if i have to remove them: how do i get a list of all events that the eventemitter listens to? [13:53] temp01 has joined the channel [13:54] samuelviking: lukstr: so what is PAM? have a hard time finding any parsable info on it [13:54] rbranson: like pluggable authentication modules? [13:54] lukstr: samuelviking: yeah it's just an authentication framework [13:55] rbranson: should be lots of info on it [13:55] rbranson: it's old as shit [13:55] kohai: @mattfarina: #nodejs CMS http://calip.so/. This could be interesting for the high end CMS market. [13:55] wibblymat has joined the channel [13:55] lukstr: usually if you're doing only key based you can turn it off because you wouldn't be interacting with it anyways, and it guarantees that if you have a crap auth setup somewhere else it won't affect logging in [13:56] samuelviking: found it on wikipedia [13:56] nibbo has joined the channel [13:56] rbranson: if you should be using PAM, you probably already know what to do [13:57] ScottR4 has joined the channel [13:57] kohai: @indexzero: Peace New York. Heading to Denver till Friday. #nodejs [13:57] k1ttty has joined the channel [13:57] lukstr: rbranson: the sshd config for PAM integration is enabled by default, he turned it off per a guide [13:57] samuelviking: rbranson: well, lukstr just let me know what to do, so I guess now I should be using it :D [13:57] rbranson: ah [13:58] rbranson: what i'm saying is that PAM doesn't really have a use for most people, and if you have a use for it, you probably already know it [13:58] ScottR4: I'm trying to call fs.readFileSync from within a loaded module, but keep getting EBADF, Bad File Descriptor. I cannot for the life of me figure out why it won't read the file using relative paths, but absolute paths do work. [13:58] rbranson: like if you need to authenticate against an LDAP directory or Kerberos [13:59] rbranson: lukstr is right in that if you don't need it, it should be off... that's just good security in general [13:59] samuelviking: rbranson: I see. so now I'm sort of reverting back to leaving it as it is [13:59] BruNeX has joined the channel [13:59] rbranson: reduces exploitable surface area [13:59] kohai: @andrisreinman: Job ad done right (Y) http://t.co/ibgN95L @votizen #nodejs #python, if i'd be in the states, i'd definitely be interested to apply [13:59] temp01 has joined the channel [14:00] lukstr: kohai: gah I am muting you now [14:00] kohai: I am Kohai, semi-useful communications-facilitating pseudointelligence! [14:00] Muon has joined the channel [14:01] Muon has left the channel [14:01] samuelviking: it probably won't make a difference to me since I weren't even aware of the setting [14:02] kmiyashiro has joined the channel [14:02] samuelviking: anyways, now to see if nodejs and ssh are ready to play well [14:03] timmywil has joined the channel [14:06] kohai: @andymeek: @neilmcgibbon Have you installed node.js yet? [14:07] ewdafa has joined the channel [14:07] adrianmg has joined the channel [14:07] sirkitree has joined the channel [14:08] Swimming_bird has joined the channel [14:09] Corren has joined the channel [14:09] dcampano has joined the channel [14:09] sivy has joined the channel [14:10] kohai: @irobik: サーバサイドJavaScript Node.js http://nodejs.org/ http://nodejs.jp/ [14:10] kohai: @hedami: @Bradleycorn @syntactix Didn't realize node.js services didn't have dom parsing abilities. Not sure then how it would be done... [14:10] samuelviking: lukstr: everything seems to be working now, perhaps it was the iptables settings [14:11] lukstr: samuelviking: in any case you could probably debug the iptables with `dmesg | grep iptables` and see everything that's getting rejected [14:12] lukstr: but glad to hear everything is working again [14:12] edude03 has joined the channel [14:12] zmbmartin has joined the channel [14:12] samuelviking: lukstr: yeah, I learned a LOT of good tricks here. thanks so much for your help! [14:12] rbranson: damn the twitter bot is super annoying [14:13] lukstr: rbranson: I know. I already /ignore'd it [14:13] tcurdt has joined the channel [14:13] eikaas_ has joined the channel [14:14] niftylettuce has joined the channel [14:14] bentruyman has joined the channel [14:15] niftylettuce: anyone ever convert a textmate language to a .lang for gedit? [14:16] kohai: @Jxck_: 今日は CCC で #jsconf と #nodeconf の発表会をさせていただきました。 #nodejs_jp [14:17] Xano has joined the channel [14:17] otaku_coder has joined the channel [14:17] mertonium has joined the channel [14:18] deedubs has joined the channel [14:18] otaku_coder has left the channel [14:19] kohai: @gordienoye: Must ... not ... stop ... writing ... to ... play ... with ... node.js ... resistance ... failing ... [14:19] kohai: @Jxck_: 俺も朝早く起きなくていい生活がしたいなと思うなど。。 [14:19] `3rdEden: !mute [14:19] kohai: Twitter stream muted for the next 60 seconds. [14:20] `3rdEden: Y U NO STFU :D [14:20] rbranson: need a bot to type !mute every 60 seconds [14:20] `3rdEden: It needs rate limiting [14:20] `3rdEden: and tweet quality selection [14:20] bentkus has joined the channel [14:20] rbranson: sounds like a shit ton of work [14:20] samuelviking: lukstr: just had the same problem again... the crash actually seems to happen when I edit the js file that is being run by node [14:20] strmpnk has joined the channel [14:20] kohai: Twitter mute expired. [14:21] `3rdEden: thats fast [14:21] rbranson: THX KOHAI [14:21] apoc has joined the channel [14:22] samuelviking: lukstr: why it leaves my SSH down and out I have no idea [14:22] sandropadin has joined the channel [14:22] romainhuet has joined the channel [14:22] nibblebot has joined the channel [14:22] lukstr: `3rdEden: is it doing a search? or who it's following [14:22] avalanche123 has joined the channel [14:22] telemachus: anything about node? [14:23] telemachus: or people register with it, I now vaguely recall... [14:23] lukstr: telemachus: hey, when did you get sentience? go back to my basement, server [14:23] `3rdEden: It's following users and hashtags lukstr [14:23] kohai: @DidierGirard: 30 mai 2011 : CloudCamp, il reste quelques places (#PaaS #GAE #Rest #NoSQL #AWS #CloudBees #NodeJS #HTML5 #GWT) : http://bit.ly/kuYxsd [14:23] telemachus: lukstr: um, huh? [14:23] lukstr: `3rdEden: perhaps it should just follow people who have quality tweets [14:23] telemachus: ah, duh [14:23] telemachus: naming scheme? [14:23] `3rdEden: https://github.com/nodejitsu/kohai [14:23] kohai: @Pirhoo: Node.js and the "JavaScript Age" http://t.co/sGLXtL2 [14:23] lukstr: yeah you are my X-forwarding server [14:23] telemachus: gotcha [14:23] `3rdEden: lukstr fork or it doesn't happen! ;D [14:23] telemachus: I'm also me, I think [14:23] lukstr: hmmm maybe [14:24] telemachus: Though maybe I'm a Turing test [14:24] telemachus: one never knows [14:24] samuelviking: server is alive =X [14:24] lukstr: telemachus: you're a chinese room and you just don't know it [14:24] rfay has joined the channel [14:24] telemachus: I love that article [14:24] lukstr: `3rdEden: can't you just edit the list? [14:24] telemachus: That an "brains in a vat" [14:24] telemachus: good times [14:24] marshall has joined the channel [14:24] telemachus: s/an/and/ [14:25] seivan has joined the channel [14:26] `3rdEden: lukstr probably [14:26] aliem has joined the channel [14:27] lukstr: `3rdEden: some combination of well-known twitter accounts, no hash tags and no replies would probably make a lot more sense than what I've seen so far [14:27] lukegalea has left the channel [14:27] lukegalea has joined the channel [14:28] trotter has joined the channel [14:28] jscheel has joined the channel [14:28] pifantastic has joined the channel [14:28] c4milo has joined the channel [14:28] kohai: @ttaiyo: ふぃ~。今日も一日 Node.js チャットを改造してた。凄い苦労して画像のインライン表示に対応させた。後は Fancybox 対応だな。 [14:28] ohtogo has joined the channel [14:29] jscheel: hey guys, any ideas on how to parse a jsonp response? [14:29] dhasenan: What's jsonp? [14:29] `3rdEden: lukstr yup, i agree + rate limiting would help [14:29] `3rdEden: jsonp is just javascript.. [14:29] jscheel: dhasenan: json + padding [14:29] rbranson: JSONP is a JSON response wrapped in a function call [14:29] jscheel: `3rdEden: right, but it wraps it in a function call [14:29] rbranson: so you can use it like a script tag [14:30] rbranson: to avoid cross-site restrictions on XMLHTTPRequest [14:30] colinclark has joined the channel [14:30] jscheel: right, but to parse a response into an object on serverside, I figured I need to eval it [14:30] lukegalea has joined the channel [14:30] `3rdEden: jscheel you can use th VM module to create a sandboxed env. [14:30] `3rdEden: and just eval the code in there [14:30] rbranson: JSONP sucks because you can't detect a failure in the browser [14:30] Viriix has joined the channel [14:31] jscheel: `3rdEden: oh, good idea [14:31] rbranson: but I suppose that doesn't matter on the server side [14:31] ryanfitz has joined the channel [14:33] sebbie has joined the channel [14:34] McMAGIC--Copy has joined the channel [14:34] EyePulp has joined the channel [14:34] botto has joined the channel [14:35] samuelviking: I need some more help on this nodejs and SSH issue. recap: I'm running nodejs and SSH with no apparent problems. then when I edit (via ssh connected editor) the app.js file that node is running, both the node server and the SSH connection dies. [14:35] dies_el: ACTION removes his 'dies' highlight [14:35] kohai: @kleberthodin: TermKit : une console graphique fait le buzz, écrite en Node.js et jQuery, elle s'appuie sur le moteur de rendu WebKit http://goo.gl/H4ZFh [14:36] lukstr: `3rdEden: english would be cool too [14:36] tikva has joined the channel [14:36] botto: samuelviking If you edit other files on the same server [14:36] samuelviking: what happens then is that the node server seems to restart and work again (this is managed by nodemon), but SSH remains dead for about 20-30 minutes. my apache web server is working without problem all the time. node, apache and ssh are all on different ports [14:36] lukstr: samuelviking: how are you ssh'ing over? [14:36] lukstr: i.e. what is your os/terminal [14:36] `3rdEden: lukstr would be bit hard to detect :) [14:36] `3rdEden: unless we used the google translate API [14:37] `3rdEden: and hope we don't hit any lmits [14:37] kohai: @allysonbarros: This Time, You’ll Learn Node.js | Nettuts+ http://t.co/KAzVqOz [14:37] samuelviking: lukstr: mac osx terminal for running node through screen, and Coda for editing server files via ssh [14:37] jtsnow has joined the channel [14:37] lukstr: `3rdEden: I think I am just going to mute it, I am completely uninterested [14:37] lukstr: samuelviking: aha I bet it's Coda [14:38] lukstr: whatever the hell that is [14:38] lukstr: ACTION googles [14:38] jakehow has joined the channel [14:38] samuelviking: lukstr: it's a sweet code editor for mac [14:39] samuelviking: lukstr: it's just an editor with ftp/sftp capability [14:39] Tidwell has joined the channel [14:39] lukstr: that's great but it sounds like it's doing something terrible [14:40] botto: samuelviking, try using vim through ssh in the terminal [14:40] kohai: @lanymphedesbuzz: TermKit : une console graphique fait le buzz, écrite en Node.js et jQuery, elle s'appuie sur le moteur de rendu WebKit http://goo.gl/H4ZFh [14:40] timmywil_ has joined the channel [14:41] timmywil_ has joined the channel [14:41] yhahn has joined the channel [14:42] samuelviking: botto, lukstr: I should note that this nodemon program tracks changes and restarts node whenever a change is made to it's files (to make development easier) [14:42] samuelviking: botto: I could try that [14:42] lukstr: samuelviking: oh I bet coda and nodemon don't agree on something [14:43] indutny has joined the channel [14:43] brianloveswords_ has joined the channel [14:43] lukstr: and coda ties up your ssh somehow until it times out epicly [14:43] broofa has joined the channel [14:44] samuelviking: what is killing my ssh connection though? is it sshd itself or some other program blocking? [14:44] HerrTopf has joined the channel [14:44] lukstr: the actual connection probably isn't killed though [14:44] lukstr: what happens in Coda when this happens? [14:44] samuelviking: I'll try editing through terminal and see if that works [14:45] ExsysHost has joined the channel [14:45] ceej has joined the channel [14:45] Corren has joined the channel [14:45] ScottR4 has joined the channel [14:46] samuelviking: lukstr: coda's ssh connection seems to timeout, the same way that terminal does [14:46] lukstr: samuelviking: but do you actually get an error or does it just die [14:47] context: samuelviking: maybe its your connection and not ssh [14:47] nivoc has joined the channel [14:48] samuelviking: lukstr: coda tries transferring files for a few seconds and then says it cant connect. terminal ssh connection hangs and when I try to reconnect it also tries for a few seconds and then timeouts [14:48] ScottR4: i have kind of a basic question... for whatever reason, I can't redirect console.log output from a node script to a file. It only picks up the first console.log output and ignores the rest [14:49] samuelviking: context: how do you mean? [14:49] halfhalo has joined the channel [14:49] brianloveswords_ has joined the channel [14:49] halfhalo has joined the channel [14:50] kohai: @pinksy: @pedrogteixeira Hi, I bought the first edition of your node.js book as paper version on Lulu. Would I need to buy again for the update? thx [14:50] kohai: @fagnersilva: eu quero participar do workshop de node.js sem pagar nada! sorteio amanhã! http://bit.ly/hUPUaV #howtocode [14:50] lukstr: samuelviking: try not running nodemon [14:50] neynenmo has joined the channel [14:51] Bj_o_rn has joined the channel [14:52] ryah has joined the channel [14:52] brianleroux has joined the channel [14:52] springmeyer has joined the channel [14:52] mertonium has joined the channel [14:52] hoodow has joined the channel [14:52] samsonjs has joined the channel [14:53] samuelviking: lukstr: will do. right now, node doesn't want to start because of 'address already in use'. might have to do with the connection breaking [14:53] lukstr: yikes [14:54] kohai: @Nodester: @copyhacker @aglobus We are releasing new node.js hosting coupons today. submit your coupon request this morning! /cc @jackhq [14:54] mertonium has joined the channel [14:54] lukstr: samuelviking: I'd bet nodemon and Coda are fighting over some files. Perhaps adding some files to the nodemon ignore list will fix things? The nodemon log should show you what files changed [14:54] jscheel: `3rdEden: here's what I ended up with (as a start): http://pastie.org/1966527 [14:55] jscheel: `3rdEden: thanks for the suggestion [14:55] lukegalea has joined the channel [14:56] context: why does data from 'jsonFlickrFeed' need to be executed ? [14:56] Bj_o_rn has joined the channel [14:56] context: oh. wrong 'data' [14:56] samuelviking: lukstr: yeah, maybe. I'll start with making sure running *without* nodemon works [14:57] jscheel: context: well, the jsonp response just calls a callback with the data as an argument [14:57] `3rdEden: jscheel isn't it sandbox.photos.items instead of photos.items? [14:57] _rain has joined the channel [14:57] jscheel: `3rdEden: oops, yeo [14:57] jscheel: yep [14:57] `3rdEden: :D [14:57] samuelviking: lukstr: oops, now it seems I have multiple node instances running [14:58] BillyBreen has joined the channel [14:58] sub_pop has joined the channel [14:58] chrislerum has joined the channel [14:58] kohai: @chrismatthieu: Get in line for your free node.js hosting coupon from @nodester - curl -X POST -d "email=your_address@gmail.com" http://nodester.com/coupon [14:58] jscheel: context: I've never written anything to handle jsonp, just used it on the frontend with jquery :P Am I dong it wrong? [14:58] samuelviking: so now I'm live with node standalone [14:59] FireFly|n900 has joined the channel [14:59] kmiyashiro has joined the channel [14:59] `3rdEden: jscheel also, in your try catch maby do a return res.send(500) or you will res.send() and res.render() [14:59] samuelviking: context,lukstr: and now editing files with coda works well [14:59] `3rdEden: but it looks good [15:00] `3rdEden: to me * [15:00] jscheel: `3rdEden: hehe, this is what I get for writing code without testing it. thanks! [15:00] Xano has joined the channel [15:00] samuelviking: context,lukstr: guess the problem has to do with nodemon [15:00] FireFly has joined the channel [15:00] lukstr: samuelviking: it looks like nodemon pretty much restarts node when any file changes, so if coda is doing weird stuff or taking a while it might make a mess all over. You could probably mitigate the issue with some ignores but you'd have to see what coda is doing [15:01] newy has joined the channel [15:02] kohai: @parkeyparker: @TheDeveloper how long do you reckon it would take a Node.JS newbie to make a media encoding queueing server with priorities? [15:03] rfay has joined the channel [15:03] jgv_ has joined the channel [15:03] kohai: @parkeyparker: @TheDeveloper was only asking to give more info for my boss.. How easy is Node.JS to install? Can I install on same server for dev purposes? [15:04] Shrink has joined the channel [15:04] Shrink has joined the channel [15:04] samuelviking: lukstr: well, I know what coda does. it only uploads the file I am editing when I save it. the question is why this is affecting my ssh connection. anyhow, ignoring files would make nodemon's autorestart feature useless. I could just as well ignore changing the files myself [15:05] lukstr: samuelviking: yes but do you know what happens to that file when it uploads it? [15:06] samuelviking: lukstr: no, but I guess it is just being uploaded. could anything else be happening and breaking the connection? [15:07] mertonium has joined the channel [15:07] lukstr: but just being "uploaded" could do bad things when something is watching the file for changes every second [15:08] samuelviking: lukstr: wait; the server crashed again with only node running [15:08] context: lukstr: i think thats the /entire/ point behind nodemon. [15:08] context: lukstr: i would personally say the issue is coda. stop doing work over ssh. i never understood that [15:08] context: lukstr: nodemon is doing /exactly/ as it advertised. [15:09] lukstr: context: I agree, but if coda is doing unpredictable things to the file then nodemon and it are likely fighting [15:09] brianleroux_ has joined the channel [15:09] nuke- has joined the channel [15:09] caolanm has joined the channel [15:09] lukstr: he just isn't set up for them to play nicely, or coda will never play nicely with nodemon [15:10] samuelviking: context,lukstr: it just crashed again while node was running without nodemon [15:10] context: lukstr: its not nodemon's fault coda is retarded. [15:10] kohai: @pinboardpopular: GoSquared Blog Panic Over! Node.JS Help Sheet is here. http://j.mp/ktfVuv [15:10] kohai: @ycombinatornews: Real-time Website Stats through [15:10] lukstr: context: no but nodemon can be configured; I don't think samuelviking has any control over what Coda does, aside from not using it [15:11] lukstr: if it's crashing _without_ nodemon then Coda is borked [15:11] brianleroux_ has left the channel [15:11] kohai: @crazybob: @Imifos @cbeust Jetty has supported asynchronous processing for at least 7 years. How long has Node.JS been around? ;-) [15:11] lukstr: context: don't get me wrong this all scares me greatly, I just use vim for everything [15:11] samuelviking: context: I'd say coda is also doing as advertised: uploading the file. nevertheless, if I can't get node and coda playing nice then I'll just skip editing node files while node is running [15:11] mathieu has joined the channel [15:12] johnnywengluu: does anyone know how isaacs prints out markdown files on the console? https://github.com/isaacs/npm/tree/master/doc [15:12] johnnywengluu: eg. npm help view [15:12] samuelviking: lukstr: do you use vim for 500-row js files? I'm not that pro! [15:12] johnnywengluu: prints out view.md on the console [15:13] samuelviking: lukstr,context: anyways, back on track. this is weird: node is actually still running after my ssh connection dropped [15:13] lukstr: how is that weird [15:13] kohai: @AndreiAvadanei: Calipso – un CMS bazat pe serverul Node.js http://goo.gl/fb/Heefy. [15:13] lukstr: are you not using screen or anything? [15:13] mintbridge has joined the channel [15:14] samuelviking: lukstr,context: well, it's not what I assumed from the beginning :D. I assumed node crashed and took SSH with it, or vice versa [15:14] lukstr: samuelviking: not sure what you mean by 500-row js files, as in 500 column lines? because that's just insane [15:14] caolanm has joined the channel [15:14] lukstr: that seems pretty unlikely [15:14] wibblymat: I would have thought row = line [15:14] lukstr: I've never "taken" ssh out with anything [15:14] samuelviking: lukstr: haha, no, as in 500 lines of code. row/line [15:15] lukstr: samuelviking: what problem is there with vim and 500 lines of code? [15:15] samuelviking: lukstr: i guess it scares me, the way graphical interface editing with ssh browsing scares you ;D [15:16] a2800276 has joined the channel [15:16] lukstr: heh [15:16] lakin has joined the channel [15:16] lukstr: samuelviking: I don't use any other text editors :) [15:17] johnnywengluu: ah he is using https://github.com/kapouer/ronnjs [15:17] signalfade has joined the channel [15:18] signalfade has left the channel [15:18] samuelviking: lukstr,context: ok, as soon as ssh wants to connect again, I will run node without nodemon and without coda, and then try editing a file with vim [15:19] ivanfi has left the channel [15:20] willwhite has joined the channel [15:20] signalfade has joined the channel [15:20] wormphlegm has joined the channel [15:20] samuelviking: lukstr: also when I have to edit files through terminal, I've always used nano. as soon as i run vim I'm completely lost and almost start to cry before I can find the quit command [15:21] wibblymat: The only things you need to no about vim are: ESC !wq nano !! [15:21] wibblymat: :D [15:21] stisti: And even that was wrong :) [15:22] tbranyen: the only things you need to know about nano are ctrl z; sudo killall nano; vim [15:22] kohai: @parkeyparker: @TheDeveloper can I install Node.JS on the same server whilst devving or do I need 2 separate servers? [15:22] tbranyen: lol wow you can't ctrl z out of nano what a swell program [15:22] lukstr: tbranyen: wat [15:23] tbranyen: lukstr: i can't at least [15:23] lukstr: I justr cired a bit [15:23] lukstr: s/cired/cried/ [15:23] lukstr: tbranyen: I just did fine [15:23] kohai: @parkeyparker: @TheDeveloper brilliant... makes it a lot easier for me to justify using Node.JS now :D [15:23] tbranyen: meh i never use nano, hit ctrl z and it did nothing [15:23] tbranyen: suspended vim just fine [15:23] wibblymat: Obviously a long time since I accidentally used vim, I've clearly forgotten even how to quit! [15:23] samuelviking: try ctrl-x [15:24] lukstr: I lol'd [15:24] tbranyen: thats not hte same thing samuelviking [15:24] briznad has joined the channel [15:24] caseywstark has joined the channel [15:24] samuelviking: tbranyen: to nano it is the same thing =( [15:24] sebbie has joined the channel [15:25] tbranyen: lukstr: apparently arch linux disables that "feature" in the nanorc [15:25] tbranyen: awesome [15:25] lukstr: tbranyen: they should have just disabled nano [15:25] tbranyen: cheers to that [15:25] jarek has joined the channel [15:25] jarek has joined the channel [15:26] tauren has joined the channel [15:26] adelgado: alias nano='vim' [15:26] fakewaffle has joined the channel [15:26] tjholowaychuk has joined the channel [15:26] samuelviking: ok, that's it. come on all you nano users in da house, show your looove! [15:27] halfhalo: ACTION uses nano when he no has textmates [15:27] wibblymat: I have a soft spot for nano [15:27] e6nian has joined the channel [15:27] Bradleymeck: vim, emacs, macs, that program w/ the letter m in it... they are all the best [15:27] brianc1 has joined the channel [15:28] heavysixer has joined the channel [15:28] Bradleymeck: anyone here using require-analyzer? [15:28] tylerstalder has joined the channel [15:29] fakewaffle: i too use nano when i dont have textmate! [15:30] halfhalo: ACTION has coke..... mmmmmm...... [15:30] kohai: @felipernb: I've been trying #NodeJS + #express + #jade + #MongoDB to use in a pet project, and it seems to be a really cool combination! [15:30] e6nian: how to use `for (i=0;i<=10;i++){ function(i){} )` with non-Asynchronous ? [15:30] Bradleymeck: substack, you around? [15:30] samuelviking: lukstr,context: while waiting for my ssh to wake up again, do you guys have any idea on what exactly is controlling the ssh downtime? it seems like it's a set time, about 30 minutes. maybe whatever is managing this could have the answer to what's actually happening [15:31] pifantastic_ has joined the channel [15:31] [[zz]] has joined the channel [15:31] sreeix has joined the channel [15:31] lukstr: samuelviking: kill Coda entirely [15:32] samuelviking: lukstr: done [15:32] lukstr: there is no reason that should happen [15:32] lukstr: so I think it must be Coda [15:32] lukstr: can you still not connect after coda is dead? [15:32] iwilkinson has joined the channel [15:32] fakewaffle: why does textmate not spell check my JS comments? :( [15:33] samuelviking: lukstr: no, coda has been dead for a while. coda only opens the ssh connection when it transfers a file (after I told it to) [15:33] lukstr: samuelviking: maybe it tied up some of your OS resources [15:33] lukstr: hard to say [15:34] lukstr: I can't imagine it's a problem anywhere else [15:34] samuelviking: lukstr: you mean on my local machine? [15:34] lukstr: yes [15:34] samuelviking: lukstr: ssh does not work from any other clients either though [15:34] lukstr: on a different machine? [15:34] lukstr: what is the response you get? [15:34] eguest309 has joined the channel [15:35] namelessnotion__ has joined the channel [15:35] samuelviking: lukstr: I tried an online ssh service, which is on a remote machine somewhere in the world [15:35] lukstr: samuelviking: I don't know what kind of black magic coda did but it's usually pretty difficult to bork all ssh connections [15:35] context: samuelviking: you can check ssh and sshd config files for keepalive [15:35] context: TCPKeepAlive [15:35] samuelviking: lukstr: I get 'Operation timed out' [15:36] context: maybe your or the servers connection just sucks [15:36] context: this is the reason i do ALL development locally [15:36] context: i dont like to depend on an internet to get work done [15:36] lukstr: context: I do all development remotely, I don't like to depend on having a physical resource with me to get work done [15:37] matbee: I do development locally and sync it remotely. [15:37] sreeix has joined the channel [15:38] samuelviking: context: I'm with lukstr here. also, how would I develop a multi-client chat app locally on one client? [15:38] context: if my laptop isn't with me i dont need to get work done [15:38] context: i have 5 browsers installed. and half of them support incognito [15:39] rpj8 has joined the channel [15:39] lukstr: I mostly hack away from random computers [15:39] lukstr: netbook/laptop/someone else's laptop/work desktop/lab desktop/phone/home theatre pc [15:40] brianc1: hi [15:40] context: lukstr: any server i have access to i need my public key to access anyway. [15:40] brianc1: I am looking for a template engine for express [15:40] brianc1: but client does not want jade because client is afraid of significant white space [15:40] context: ejs ? [15:40] context: there are plenty of options [15:40] fakewaffle: brianc1: i just moved from jade to ejs [15:40] brianc1: any other recommendations? was thinking maybe mustache? what about "dust" anyone have experience w/ that? [15:40] brianc1: ejs? will check it out [15:40] gwoo has joined the channel [15:40] gwoo has joined the channel [15:40] brianc1: does ejs work client-side? [15:40] tbranyen: brianc1: i love mustache... but it has some issue :-/ [15:40] lukstr: context: I have a few servers I can get around that with, port knocking, tunneling, etc. [15:41] brianc1: tbranyen: what issue? [15:41] tbranyen: brianc1: looping nested objects and getting key/vals [15:41] context: brianc1: whats express have to do with client side [15:41] tbranyen: which is basically ever json structure ever [15:41] tbranyen: every* [15:41] brianc1: context: I would like to reuse some templates on the client and server [15:41] tjholowaychuk: the js mustache implementations are pretty bad too [15:41] rpj8: In express's routing, which one makes more sense to do in node? http://jsfiddle.net/MPgDg/ [15:41] tbranyen: brianc1: conditionals are shitty [15:42] samuelviking: context,lukstr: I guess we all can agree that remote and local development both have their pros and cons [15:42] tjholowaychuk: rpj8 depends if it's async or not [15:42] brianc1: I'll check out ejs. :) thanks y'all [15:42] tjholowaychuk: which i assume it is [15:42] rpj8: tjholowaychuk: isn't the goal of node to be asynch? [15:42] lukstr: samuelviking: of course :) I'm used to writing code where the compiler is, and the compiler is never nearby :) [15:42] tjholowaychuk: rpj8 yeah, and that doesnt change [15:42] samuelviking: context,lukstr: in the end though, isn't what matters that we all love and are loved in return? [15:42] tjholowaychuk: with either of those [15:43] tjholowaychuk: rpj8 views are not flow control [15:43] lukstr: samuelviking: no, violence and hate for everyone! [15:43] tjholowaychuk: they wont wait for your async stuff [15:43] samuelviking: lukstr: i'm noticing a pattern here - violence, hate, vim vs. love, peace, nano ;) [15:43] brianc1: emacs is the zen in the middle [15:44] rpj8: tjholowaychuk: i'm just wondering mostly which one the cool node programmers would choose ;) [15:44] lukstr: brianc1: you mean indecisive? ;) [15:44] tjholowaychuk: rpj8 the only one that works :p haha [15:44] tjholowaychuk: like i said you can't return a promise [15:44] context: samuelviking: and then you have emacs [15:44] tjholowaychuk: and have the view wait for it [15:44] tjholowaychuk: because it wont [15:44] context: the bastard child [15:44] tjholowaychuk: rpj8 though you can special-case it with https://github.com/LearnBoost/express-mongoose [15:44] tjholowaychuk: stuff like that [15:44] bene has joined the channel [15:44] samuelviking: allright, now ssh and node are running again, with coda out of the way [15:45] tjholowaychuk: but node does not have promises so I wont be supporting that in core [15:45] kohai: @harisamin: @nodejitsu any chance i can get a beta invite? was looking for you guys at #disrupt #hackathon but missed you [15:45] Bradleymeck: why would a module in ./node_modules not be able to get its sub dependencies? (ps edit.exe > all) [15:46] e6nian has joined the channel [15:46] Bradleymeck: and the mustache impls are bad because they try to fully emulate mustache in ruby and use `with` /shudder [15:46] tbranyen: with works really really well for templating tho [15:46] kohai: @samjoch: DotCloud buy DuoStack #ruby #nodejs #paas [15:46] e6nian: how to make controll flow sync whn I wanna do `for (i=0;i<=10;i++){ function(i){} )` in node.js ? [15:46] tjholowaychuk: Bradleymeck haha yeah we added "self" to jade as an option to remove with(){} [15:46] tjholowaychuk: and it's like 4x as fast [15:46] tjholowaychuk: something like that [15:46] dspree has joined the channel [15:47] tbranyen: so 40ms instead of 160ms? [15:47] tbranyen: :-p [15:47] Bradleymeck: emulated with (full featured with short circuiting) is faster in v9 yea [15:47] Bradleymeck: v8* even [15:47] tjholowaychuk: probably wouldn't be so bad if with(){} was read-only and didnt let you re-assign shit [15:47] Bradleymeck: eonian you dont , you could look into node fibres but there are problems with stuff [15:47] tbranyen: well its the dynamic lookup that kills it? [15:47] tjholowaychuk: tbranyen not sure i cant remember [15:48] tbranyen: can't optimize if you don't know where a variable is [15:48] mike5w3c has joined the channel [15:48] tjholowaychuk: for sure, i've just always thought it was strange that you can have { foo: 'bar' } and with (obj) { foo = 'bar' } [15:49] tjholowaychuk: yeah 400ms to 60ms [15:49] tjholowaychuk: haha [15:49] tjholowaychuk: fml [15:49] yozgrahame has joined the channel [15:49] stagas: yay new lib! https://github.com/stagas/rea wrapper over connect.router [15:49] tjholowaychuk: oh well, templates are no bottleneck anyway [15:49] tjholowaychuk: stagas connect.router [15:49] tjholowaychuk: will be gone [15:49] tbranyen: yeah, i mean if i had massive templates [15:49] tjholowaychuk: in the next version [15:49] tbranyen: with is a no god [15:49] tbranyen: go* [15:49] stagas: tjholowaychuk: shit! :) [15:50] Bradleymeck: its dynamic lookup + eval access + some oddities on what is actually accessible (for when stuff falls through the with statement) [15:50] stagas: tjholowaychuk: what about express.router ? [15:50] tjholowaychuk: that will be staying [15:50] ryah has joined the channel [15:50] tjholowaychuk: i just refactored it yesterday [15:50] tbranyen: lua has this cool setfenv that is basically with on crack [15:50] tjholowaychuk: bit more to do still though [15:50] pigmej: tjholowaychuk: w00t ? connect.router will be off ? [15:50] stagas: tjholowaychuk: ok I'll make it a wrapper over express.router then :P [15:50] pigmej: why so ? [15:50] brettgoulder has joined the channel [15:50] Xano has joined the channel [15:50] tjholowaychuk: i was modifying it to much for express so it doesnt really belong there [15:50] NetRoY has joined the channel [15:50] tbranyen: setfenv makes the current scope global basically [15:51] tjholowaychuk: it was a nice abstraction for a bit [15:51] tbranyen: so you lose all access to the global scope as you once knew it [15:51] tjholowaychuk: until it was no longer nice :) [15:51] Yuffster_work has joined the channel [15:51] tbranyen: even if you define a global it remains local [15:51] tbranyen: which is awesome for modules [15:51] fostah has joined the channel [15:51] Esteb has joined the channel [15:51] tbranyen: js should make with work that way [15:51] tbranyen: imo [15:52] jakehow has joined the channel [15:52] rpj8: tjholowaychuk: I see I see. Thanks for yoru help. [15:52] chrislerum has left the channel [15:52] brettgou_ has joined the channel [15:53] Bradleymeck: hard to deal w/ the this keyword and closure optimizations are the same as passing through contexts (so im sure some things need to be checked) [15:53] kohai: @Jxck_: 今日のスライドをアップしました。 [15:53] rpj8: tjholowaychuk: just curious; is there any planned implementation of promises in express? or is that a limitation just due to how views work as you said [15:53] tjholowaychuk: rpj8 nah i just dont want that [15:53] tjholowaychuk: in core [15:54] samuelviking: lukstr,context: status report: nodemon and ssh running, and nano was able to edit a file with nodemon restarting node as it should. nothing crashing at all. [15:54] lukstr: samuelviking: yeah so the problem was likely Coda doing terrible things [15:54] rpj8: tjholowaychuk: Gotcha [15:54] samuelviking: lukstr: yes it seems so [15:54] kohai: @javascript_news: Node.js on your Jailbroken iPhone or iPad http://bit.ly/iQbORZ [15:55] dgathright has joined the channel [15:55] tjholowaychuk: rpj8 thankfully js is good for monkey patching :D so we can do all the crazy weird suboptimal stuff in other modules [15:55] rpj8: tjholowaychuk: hahah, I'm a bit of a javascript newbie, so I'll leave that to the pros for now ;) [15:55] rpj8: just ordered the oreilly node and javascript books. [15:56] tbranyen: there is a node book now? [15:56] tbranyen: or is backorder? [15:56] rpj8: tbranyen: apparently [15:56] samuelviking: lukstr: so you were right! and I guess I'll just have to stay off coda while running node. [15:57] BillyBreen has joined the channel [15:57] mhausenblas has joined the channel [15:57] boaz has joined the channel [15:57] seivan has joined the channel [15:57] samuelviking: lukstr,context: thanks a lot for the help you guys. I could go on searching in all kinds of directions for days and probably would've just given up. [15:57] lukstr: samuelviking: I bet if you made nodemon ignore almost everything else they might play nice. Coda sounds like a horrible piece of software though [15:57] Mrfloyd has joined the channel [15:58] lukstr: seeing as it managed to poop all over you ssh for upwards of 30 minutes [15:58] samuelviking: lukstr,context: I'll probably be back here and bother you with new demons in the future [15:58] lukstr: that's why they pay me the big bucks [15:58] binarypie has joined the channel [15:59] lukstr: Disclaimer: I don't get paid for anything :( [15:59] ryanfitz has joined the channel [15:59] samuelviking: lukstr: yeah. I am still doubting it had to do with coda itself. it's more likely to be any desktop app uploading files via ssh and the way node or nodemon handles that. coda or other editors never broke my ssh connection before i was running node [16:00] m00p has joined the channel [16:00] roar has joined the channel [16:00] samuelviking: lukstr: you deserve the big bucks! you should fill in a request [16:02] johnnywengluu: what is the equivalent to "npm link ./package" for the latest npm? [16:02] lukstr: samuelviking: it's likely coda ran into a situation when nodemon tried to touch the file and it broke horribly, so yes likely Coda is at fault (due to provoking nodemon) [16:02] johnnywengluu: so i don't have to reinstall the package each time i modify it [16:03] context: lukstr: wait you get paid? [16:03] context: oh oops [16:03] context: hahah [16:03] context: lukstr: i was gonna say, i got ripped off [16:03] lukstr: context: :) [16:04] lukstr: maybe one day context, maybe one day [16:04] context: kk time to format my vps :D YAY [16:04] samuelviking: lukstr: I'll try to experiment with other editors and see what happens [16:04] kohai: @Jxck_: 今日発表した資料をアップしました。http://slidesha.re/j4Qja0 #jjug_ccc #nodejs_jp [16:04] lukstr: I'd recommend learning vim as a useful life skill :) [16:04] hermanjunge has joined the channel [16:04] lukstr: kohai: I hate you _so_ _much_ [16:04] kohai: I am Kohai, semi-useful communications-facilitating pseudointelligence! [16:04] Bradleymeck: johnnywengluu https://github.com/isaacs/npm/blob/master/doc/link.md , seems to still exists, just slightly different syntax [16:05] eyesUnclouded has joined the channel [16:05] tim_smart has joined the channel [16:06] mikeal has joined the channel [16:06] samuelviking: lukstr: I embrace your recommendation, I will give it a try. Since I'm at the design- and front-end department of this company though I might get suspicious looks [16:06] kohai: @ksahnine: Calipso, a simple CMS built on #nodeJS and #mongoDB http://calip.so/ [16:07] kohai: @Jxck_: Talked about visiting JSConf, NodeConf, Joyent, at Japanese Conf today :) http://slidesha.re/j4Qja0 #nodejs #nodeconf #jsconf [16:07] lukstr: samuelviking: suspicious looks of jealousy and fear [16:07] kohai: @ksahnine: Calipso, a simple CMS built on #nodeJS and #mongoDB http://calip.so/ . Code review : http://bit.ly/iweGCr [16:07] kohai: @github_cpp: node-bullet - "Bullet" physics for node.js http://bit.ly/ezE9VX [16:07] samuelviking: lukstr: anyway, time to log off and leave the digital world untouched for the rest of the day. thanks again, and make someone pay you [16:07] lukstr: samuelviking: thanks. I get paid, just not for this, so don't worry :) [16:08] donaldpcook has joined the channel [16:08] johnnywengluu: Bradleymeck: worked great .. thanks! [16:09] criswell has joined the channel [16:09] rpj8: tjholowaychuk: also, just curious, is there a way to get the 'View Source' to have new lines/indentation when using a jade template? [16:09] tjholowaychuk has joined the channel [16:09] rpj8: 'View Source' from the browser [16:09] rpj8: oop [16:09] rpj8: tjholowaychuk: also, just curious, is there a way to get the 'View Source' to have new lines/indentation when using a jade template? [16:09] context has joined the channel [16:09] willwhite has joined the channel [16:09] rpj8: sorry for reposting [16:09] jtsnow has joined the channel [16:09] tjholowaychuk: nope there's a patch somewhere for that [16:09] tjholowaychuk: but i need to apply it still [16:09] kohai: @Jxck_: Thank again for every one I met at JSConf & NodeConf. that's "Gold Experience" for me :-) [16:09] rpj8: alright, but it's in the works :) [16:09] samuelviking: lukstr: yeah I figured. still, your time and advice are worth money. even more so considering >I< am actually being paid for this and you're helping me ;) [16:09] Silly_Wabbit has joined the channel [16:10] rpj8: gotta love the oss community [16:10] daekano has joined the channel [16:11] kohai: @jerrysievert: living urban and working suburban doesn't work as well when your car key won't communicate with your car. I love technology? [16:11] samuelviking: lukstr: have a great day and I'll see you around =) [16:11] samuelviking: cheers [16:11] context: netbsd or ubuntu :x [16:11] donaldpcook has joined the channel [16:12] Corren has joined the channel [16:12] Corren has joined the channel [16:14] kmiyashiro has joined the channel [16:14] varioust has joined the channel [16:16] varioust_ has joined the channel [16:16] samsonjs has joined the channel [16:16] mertonium has joined the channel [16:17] kohai: @theprogrammer: DotCloud adquires DuoStack http://t.co/dyhCPC8 <- this makes total sense, congratulations. [16:17] cafesofie has joined the channel [16:17] slloyd has joined the channel [16:19] kohai: @soundkitchen: node.js 使う時って、フロントは nginx なり lighttpd なり立たせるもんなんかな? [16:19] various__ has joined the channel [16:19] stagas: I'm 3 modules away from the top 10! :P [16:19] amerine has joined the channel [16:20] dsirijus has joined the channel [16:20] varioust has joined the channel [16:20] kohai: @madmw_bmks: http://calip.so/ #cms #node.js #nodejs #javascript #calipso [16:21] mjr_ has joined the channel [16:21] johnnywengluu: anyone sitting on ubuntu? [16:21] tbranyen: i'm sitting on a chair [16:21] johnnywengluu: hmm let me try it in ubuntu channel instead =) [16:21] mscdex: sitting on it? no. using it? yes [16:21] johnnywengluu: tbranyen: :P [16:21] mscdex: :) [16:22] johnnywengluu: i meant sitting ON ubuntu! [16:22] philtor has joined the channel [16:22] johnnywengluu: the installation disc [16:22] mscdex: i might break the disc if i do that [16:22] indutny has joined the channel [16:22] kohai: @soundkitchen: 今度はしれっと node.js やっても良いかも。 [16:22] johnnywengluu: =) [16:23] johnnywengluu: it says "cannot send to channel" [16:23] johnnywengluu: i have a registered name .. does anyone know why i can't send messages in ubuntu and git channel [16:23] mscdex: i haven't ordered an ubuntu cd since.... 5.04 i think [16:24] kohai: @jackviers: Node.js vs. Apache: http://t.co/yXhPU0C [16:24] mscdex: oh jeez, comparing apache and node [16:24] eguest309: thats unfair [16:25] mscdex: well it's just that they're not really the exact same thing [16:25] ewdafa has joined the channel [16:25] lakin has joined the channel [16:26] pigmej: mscdex: let's say... it's completelly stupid benchmark ;) [16:26] kohai: @razzededge: there is a seed in my mind that is growing... using #nodejs to instantly report errors in production systems :) [16:26] ajsie has joined the channel [16:28] vuliev: win 25 [16:29] mscdex: that's an old article too [16:29] mscdex: :\ [16:30] kohai: @parkeyparker: Node.JS installed for the first time... looking forward to this!! :D [16:30] tbranyen: tjholowaychuk: i don't think i can embed markdown in yaml with your yaml-js c/d? [16:30] tjholowaychuk: probably not [16:30] tjholowaychuk: it doesnt cover the whole spec, just stuff i needed way back [16:31] tbranyen: yeah unfortunately thats what i need atm :| [16:31] tbranyen: i have a plane ride, i'll attempt to patch it in [16:31] sgimeno has joined the channel [16:31] tjholowaychuk: haha k cool [16:32] tbranyen: yaml and markdown is my new way of writing blog articles, gonna commit them and grab diffs [16:32] fermion has joined the channel [16:32] varioust has joined the channel [16:32] tbranyen: ben alman who i work with separately came up with the same idea [16:33] tbranyen: i think its a pretty good precedent for nerds who don't want to deal with databases or cms's [16:33] tjholowaychuk: yeah totally [16:33] tjholowaychuk: for little projects i just dump json to the disk [16:33] ryah has joined the channel [16:33] tjholowaychuk: super lazy [16:33] springify has joined the channel [16:33] tjholowaychuk: but markdown <3 [16:33] mscdex: that is lazy! [16:34] kohai: @fbzhong: 好像发现了NodeJS中vm.runInNewContext的奇怪实现:它不会把sandbox做为New Context的global object,而是把sandbox和global object的内容互相复制。。。明天试着改改代码瞅瞅。 #nodejs [16:34] lukstr: mscdex: but it works well, especially when you have roughly one user :) [16:35] mscdex: roughly heh [16:35] ryah: multi-pipe is bullshit [16:35] AvianFlu: !tweet @parkeyparker come into #Node.js on irc.freenode.net if you have any questions! [16:35] kohai: @NodeKohai: @parkeyparker come into #Node.js on irc.freenode.net if you have any questions! [16:35] roar1 has joined the channel [16:35] donaldpcook has joined the channel [16:36] aheckmann has joined the channel [16:36] langworthy has joined the channel [16:37] mscdex: multi-pipe? [16:37] context: that think let anyone tweet ? :x [16:37] kohai: @parkeyparker: @NodeKohai cheers... probably will do at this rate... Just looking for some starter tutorials atm :) [16:37] lukstr: context: I think it's whitelisted [16:37] vipaca has joined the channel [16:37] vipaca has joined the channel [16:37] mscdex: yeah [16:38] brettgoulder has joined the channel [16:39] mscdex: !tweet @parkeyparker http://bit.ly/fC4wF8 http://bit.ly/aOjkoI http://bit.ly/hKeeNJ http://bit.ly/8WY5bA http://bit.ly/eDdYBL [16:39] kohai: @NodeKohai: @parkeyparker http://bit.ly/fC4wF8 http://bit.ly/aOjkoI http://bit.ly/hKeeNJ http://bit.ly/8WY5bA http://bit.ly/eDdYBL [16:39] AvianFlu: !config get plugins:irc:whitelist [16:39] kohai: plugins:irc:whitelist is undefined [16:39] AvianFlu: oops [16:39] AvianFlu: !config get plugins:alias:whitelist [16:39] kohai: plugins:alias:whitelist is [jesusabdullah, indutny, samsonjs, isaacs, mscdex, SubStack, `3rdEden, Aria, cloudhead, AvianFlu, Marak, hij1nx, indexzero, DTrejo, tmpvar, ryah, dominictarr, sechrist, pquerna] [16:39] eganl has joined the channel [16:39] reid has joined the channel [16:39] kohai: @id_replication: node.js 0.4.8で動くようにエントリ直しました。 [16:40] iFire has joined the channel [16:40] namelessnotion has joined the channel [16:40] tim_smart: Who is this kohai [16:40] TooTallNate has joined the channel [16:40] AvianFlu: kohai: introduce yourself [16:40] kohai: I am Kohai, semi-useful communications-facilitating pseudointelligence! [16:40] ryah: can the bot be made to be less verbose [16:40] AvianFlu: sure [16:40] AvianFlu: twitter can get muted entirely [16:40] AvianFlu: !mute [16:40] kohai: Twitter stream muted for the next 60 seconds. [16:40] zachsmith has joined the channel [16:40] tim_smart: If I want tweets, I check twitter [16:40] tbranyen: tjholowaychuk: should i work in rewrite branch for js-yaml or is that p much dead [16:40] tim_smart: >.> [16:40] context: ahh gotcha [16:41] AvianFlu: ryah: we're going to filter the tweets better in the near future too [16:41] wookiehangover has joined the channel [16:41] lukstr: entirely & permenently? ;) [16:41] duncanbeevers: If I want magic 8-ball games, I come to IRC. [16:41] tjholowaychuk: tbranyen didnt know there was a rewrite branch [16:41] tjholowaychuk: haha [16:41] tbranyen: lol [16:41] AvianFlu: !config set plugins:irc:mute_timer 3600 [16:41] kohai: plugins:irc:mute_timer has been set to: 3600. [16:41] AvianFlu: !unmute [16:41] kohai: Twitter mute cancelled. [16:41] AvianFlu: !mute [16:41] kohai: Twitter stream muted for the next 3600 seconds. [16:41] tbranyen: looks like the last commits were ages ago [16:41] tbranyen: so pass [16:41] AvianFlu: !config set plugins:irc:mute_timer 60 [16:41] kohai: plugins:irc:mute_timer has been set to: 60. [16:41] kohai: Twitter mute expired. [16:41] context: i lkinda like the wtwitter stream, except for the dups like the new node cheat sheet [16:42] lukstr: why not something like 100 years? [16:42] context: i would not have heard about that cheat sheet if not for kohai [16:42] AvianFlu: yeah that's what we have to improve [16:42] fakewaffle: wow when you mute the damn thing it still talks like f-ing crazy [16:42] kohai: @parkeyparker: @NodeKohai ahhh major linkage!! Thank you so much *opens all in new tabs* :D [16:42] tim_smart: /ignore kohai. Clean once again. [16:42] context: what tim_smart said. [16:42] AvianFlu: that's cause it's responding to me muting it [16:42] zeade has joined the channel [16:42] AvianFlu: !mute [16:42] kohai: Twitter stream muted for the next 60 seconds. [16:42] mscdex: but some of us don't use twitter. kohai is our only way to respond! :p [16:42] fakewaffle: !mute [16:42] context: avianflu: then again.. how do you decide what to ignore... i imagine when kohai said it it wasn't the first time when i seen it [16:42] varioust has joined the channel [16:42] context: so where do you draw a line :/ [16:43] AvianFlu: right now we filter everything with an RT or with the retweeted flag set [16:43] fakewaffle: you should have it tweet everything in this irc channel [16:43] kohai: Twitter mute expired. [16:43] lukstr: I don't think this sort of channel is an appropriate place for a bot like that [16:43] steph021 has joined the channel [16:43] steph021 has joined the channel [16:43] kohai: @mgiglesias: Released new version of #nodejs node-db: http://j.mp/joL5MW [16:43] AvianFlu: !config set plugins:irc:mute_timer 3600 [16:43] kohai: plugins:irc:mute_timer has been set to: 3600. [16:43] AvianFlu: !mute [16:43] kohai: Twitter stream muted for the next 3600 seconds. [16:44] lukstr: AvianFlu: are you muting it while you change code? [16:44] context: personally i like it [16:44] AvianFlu: no, the timer change didn't apply right the first time [16:44] beriberikix has joined the channel [16:44] fakewaffle: i just dont get it, use twitter to read twitter shit, wtf? [16:44] lukstr: context: so far the majority of tweets have just looked like spam/nonsense to me [16:44] AvianFlu: fakewaffle: some of us really, really, really hate twitter [16:44] context: well i dont follow #nodejs [16:45] fakewaffle: so WHY BRING IT TO IRC?!?!!! [16:45] AvianFlu: just to bother you, fakewaffle [16:45] context: it looks likea duck [16:45] AvianFlu: it's all just for you [16:45] lukstr: it's one thing to get tweets re: commits, bugfixes, general announcements or other stuff, but people being all 'how does i shot web' seems kind of overkill [16:45] Venom_X has joined the channel [16:45] context: fakewaffle: to educate people on how to properly use the features of their irc client [16:46] lukstr: I think it would be a lot more effective if you followed only specific people sans replies [16:46] fakewaffle: huh? [16:46] AvianFlu: lukstr: the idea is to see people asking questions, or see people about to give up on node, and help them [16:46] mscdex: avianflu++ [16:46] v8bot: mscdex has given a beer to avianflu. avianflu now has 1 beers. [16:46] lukstr: I don't really idle in here to see people ask questions on twitter though... perhaps it could be done out of band? [16:47] mscdex: lukstr: then /ignore kohai [16:47] fakewaffle: better make a facebook bot too [16:47] lukstr: mscdex: that's what I did [16:47] AvianFlu: I'll make a facebook bot just to pm you all the time, fakewaffle ;) [16:47] mscdex: so then why complain? [16:47] mscdex: :) [16:47] lukstr: I'm not I'm trying to be constructive [16:47] lukstr: I don't know how it could be improved [16:47] bruse has left the channel [16:47] fakewaffle: i just hate the idea, sorry [16:47] lukstr: in that you either miss some people or get a lot of nonsense [16:48] lukstr: if it was just people asking questions that were appropriate, awesome, but it seems nontrivial to filter that out [16:48] AvianFlu: the nonsense can be filtered, it just needs a more complex algo than kohai has right now [16:48] AvianFlu: we've got a plan for it [16:48] AvianFlu: my assumption was that checking for the "retweeted" flag or "RT:" would be enough... silly me [16:49] lukstr: you need some sort of robot9000 in there [16:49] migimunz has joined the channel [16:49] lukstr: AvianFlu: besides, as far as I can tell, only people you have whitelisted can actually use it to reply [16:50] AvianFlu: right [16:50] AvianFlu: cause there's 644 people idling in the room [16:50] newy has joined the channel [16:50] varioust has joined the channel [16:50] AvianFlu: 644 people do NOT get to tweet through the same account [16:50] AvianFlu: lol [16:50] tbranyen: lol tjholowaychuk this code is pre-comma first days [16:50] stagas: so we couldn't help someone even if we wanted to [16:50] lukstr: so I can't really do anything with it if I try, aside from using twitter, which would defeat the purpose? [16:50] tjholowaychuk: tbranyen yeah man [16:50] tjholowaychuk: and pre sem-colon [16:50] tjholowaychuk: semi* [16:51] tbranyen: oh boy [16:51] tjholowaychuk: told you it's old [16:51] tjholowaychuk: :D [16:52] aheckmann has joined the channel [16:52] lukstr: I just think interfacing twitter like that to a relatively large channel like this is a difficult task that probably has more cons than pros. Don't get me wrong there are lots of awesome use cases for the bot, but it just strikes me as something that doesn't "fit" in here? I don't know [16:52] varioust has joined the channel [16:52] lukstr: AvianFlu: is it on github? [16:53] AvianFlu: yes [16:53] AvianFlu: https://github.com/nodejitsu/kohai [16:53] towski has joined the channel [16:53] AvianFlu: we've got an open ticket for a levenstein algo for tweet filtering [16:53] AvianFlu: if you feel like doing anything about your issues [16:53] AvianFlu: All further concerns: Marak is the only one with access to the running version of kohai [16:54] SubStack: easy to /ignore it [16:54] AvianFlu: I can answer questions, but either talk to Marak or /ignore kohai [16:54] AvianFlu: he's twitter muted in here for most of the next hour in the meantime [16:54] context: i do like how people tend to complain for a very long time when 5 seconds doing /ignore will suffice [16:55] tbranyen: context: great make everyone in #node.js /ignore instead of just fixing the problem :-p [16:55] fakewaffle: IGNORE Unknown command [16:55] aho has joined the channel [16:55] context: avianflu: you should tell marak to push his changes ;) [16:55] mscdex: COFFEE Unknown amount left [16:55] AvianFlu: what do you mean [16:55] lukstr: tbranyen: this is my issue. I'm not trying to complain, I just think it's a weird fit [16:55] context: tbranyen: i dont mind seeing the twitter stream [16:55] tbranyen: lukstr: first thing i did was /ignore [16:55] tbranyen: lol [16:56] lukstr: same [16:56] context: avianflu: oh wait nm. i read that wrong [16:56] fakewaffle: Yeah, I can't ignore... [16:56] mscdex: Y u no use modern irc client? [16:56] AvianFlu: kohai hasn't spoken in here in 13 minutes, I think you're okay [16:56] TheJH has joined the channel [16:56] fakewaffle: Because my work blocks EVERYTHING except port 80 and 443 [16:56] lukstr: fakewaffle: that's all you need :) [16:56] newy has joined the channel [16:57] SubStack: fakewaffle: utlimatum time! [16:57] SubStack: *ult [16:57] lukstr: fakewaffle: ssh tunnel over 443 ;) [16:57] TheJH: hello, does anyone know about a png->pixelbuffer library? [16:57] fakewaffle: i do that on one of my computers [16:57] mscdex: SubStack probably has something like that ;) [16:57] patrickgamer has joined the channel [16:58] tjholowaychuk: TheJH node-canvas? [16:58] mscdex: he's always doing crazy pixel stuff [16:58] SubStack: pfft not even [16:58] SubStack: pkrumins does all of that [16:58] mscdex: :O [16:58] niftylettuce: tjholowaychuk: when I run "make test-server" for stylus, I get "TypeError: expected rgba or hsla, but got function:light(color)" [16:58] tjholowaychuk: niftylettuce hmm old version of stylus, I think I have it bundled [16:59] tjholowaychuk: sorry i thoguht oyu said nib [16:59] TheJH: tjholowaychuk, I can only see buffer->png there, not the reverse [16:59] tjholowaychuk: umm [16:59] niftylettuce: I'm using nib [16:59] tjholowaychuk: niftylettuce stylus doesn't have a test-server [16:59] SubStack: but yeah you can pull out raster data with node-canvas [16:59] niftylettuce: tjholowaychuk: i meant stylus** [16:59] tjholowaychuk: TheJH: Image#src=Buffer [16:59] niftylettuce: tjholowaychuk: I mean nib**** lol [16:59] tjholowaychuk: ahahah [17:00] sebbie has joined the channel [17:00] tjholowaychuk: niftylettuce did you do $ npm install -d [17:00] tjholowaychuk: first? [17:00] TheJH: tjholowaychuk, I didn't see that, thanks! [17:00] zivester has joined the channel [17:00] tjholowaychuk: niftylettuce i'll update the readme [17:01] niftylettuce: tjholowaychuk: I stopped test-server, did "npm install -d", and same error [17:01] tjholowaychuk: hm [17:01] tjholowaychuk: its fine for me [17:01] niftylettuce: tjholowaychuk: I didn't install textmate bundle b/c I'm on gEdit/linux (i msg'd you on github bout that) [17:01] slloyd has joined the channel [17:01] niftylettuce: tjholowaychuk: could that be cause? [17:01] newy has joined the channel [17:02] tjholowaychuk: nah that shouldnt matter at all [17:02] tjholowaychuk: i remember that error, but it was just a version issue [17:02] varioust has joined the channel [17:02] niftylettuce: tjholowaychuk: what is command to list npm packages and their versions without outputting all tha extraz? [17:02] niftylettuce: npm list what is option [17:03] hipe: tjholowaychuk: hello thanks for the connect/express tip yesterday. i'm way into it and now i'm refactoring my little service whole hog into a express thing now . i'm trying for something like nested resoures (just a resource inside a namespace nothing too crazy) i'm starting with using 'express-namespace' and 'express-resource' [17:03] tjholowaychuk: hipe cool cool [17:03] mertonium has joined the channel [17:03] hipe: and so really i'm just announcing that. it's not even a question yet ;) [17:03] dget has joined the channel [17:03] niftylettuce: using stylus 0.3.18, node v0.5.0-pre, canvas 0.3.18, connect 0.3.18 etc etc [17:04] treasonx has joined the channel [17:04] tjholowaychuk: niftylettuce: that's really old stylus [17:04] tjholowaychuk: it's at 0.13.0 [17:04] tjholowaychuk: npm shouldn't grab that lol [17:05] pifantastic has joined the channel [17:05] niftylettuce: tjholowaychuk: argh lol yeah its at 0.13.0 [17:05] atsuya has joined the channel [17:05] aheckmann has joined the channel [17:05] fakewaffle has joined the channel [17:05] context: well he just said 3 packages were at the same exact version number [17:05] niftylettuce: I was so curious there for a second lol [17:05] context: i think he pasted wrong [17:05] niftylettuce: yeah lol [17:05] niftylettuce: QQ [17:06] isaacs has joined the channel [17:06] tjholowaychuk: haha [17:06] timmywil has joined the channel [17:07] tbranyen: tjholowaychuk: hmm you're already parsing documents weird... [17:07] tjholowaychuk: tbranyen probably not correctly [17:07] tbranyen: yeah still investigating [17:07] tbranyen: not even sure how this would work atm [17:07] unomi has joined the channel [17:08] niftylettuce: tjholowaychuk: the output of "make test" -- there are only 7 test cases? [17:08] dguttman has joined the channel [17:08] tjholowaychuk: niftylettuce yeah not many right now [17:08] neynenmo has joined the channel [17:08] tjholowaychuk: most are visual [17:08] olauzon has joined the channel [17:08] tjholowaychuk: stylus has about 8500 lines of tests [17:08] tjholowaychuk: so it has most things covered [17:09] niftylettuce: yea i tried visual test from the make test-server, and the buttons have no styles, so this is directly related to the CL error I was getting [17:09] ryanallenbobcat has joined the channel [17:09] tjholowaychuk: very weird :s i had that same error about 3 or 4 weeks ago with an old stylus but the new one is fine [17:10] dshaw has joined the channel [17:10] niftylettuce: tjholowaychuk: this might help us debug http://pastie.org/private/hnknd9xr4nzgcirwrpqasq [17:10] `3rdEden has joined the channel [17:11] neynenmo has joined the channel [17:11] tjholowaychuk: oh weird it's using the stylus from ./support [17:12] mhausenblas has joined the channel [17:12] tjholowaychuk: i think you need to update nib [17:12] tjholowaychuk: maybe [17:12] mhausenblas_ has joined the channel [17:12] abraham has joined the channel [17:13] steffkes has joined the channel [17:13] jmoyers has joined the channel [17:13] harth has joined the channel [17:14] hipe: cloudhead_: returning your ping from yesterday [17:14] mertonium has joined the channel [17:17] devrim has joined the channel [17:20] levi501d has joined the channel [17:20] tikva has joined the channel [17:20] bartt has joined the channel [17:21] samsonjs_ has joined the channel [17:22] rictic has joined the channel [17:22] admc has joined the channel [17:23] taf2: testing libuv, is this output okay? https://gist.github.com/989179 [17:24] eksmith has joined the channel [17:24] clyfe has joined the channel [17:25] clyfe: npm install installs my proj dependencies but not my dependencies's dependencies, anyone else has this problem ? [17:25] ryah has joined the channel [17:26] clyfe: for example it installs my dep. "dnode" but not dnode;s dep. "traverse" [17:26] Aikar: clyfe: it prolly did. if foo depends on bar, and bar depends o nbaz, baz will be in foo/node_modules/bar/node_modules/baz [17:26] eksmith: Anyone know any well-built express/ejs projects I can tear apart? Looking to learn by example. [17:26] dingomanatee has joined the channel [17:27] clyfe: Aikar: nope it didn't [17:27] clyfe: no ./node_modules/dnode/node_modules [17:27] newy has joined the channel [17:27] dshaw_ has joined the channel [17:27] CiRlE has joined the channel [17:28] ryah: mjr_: https://github.com/joyent/node/pull/1095 [17:28] ryah: mjr_: i wonder if this is related [17:28] broofa_ has joined the channel [17:30] zeade has joined the channel [17:30] admc1 has joined the channel [17:30] tmpvar has joined the channel [17:30] joshontheweb has joined the channel [17:31] SpoonMSU has joined the channel [17:32] CiRlE has joined the channel [17:33] Schmallon has joined the channel [17:34] afj176 has joined the channel [17:34] context: npm update will go through and validate all deps are there. [17:34] context: clyfe: thats for you [17:35] isaacs: ryah: that pull seems fine to me, but i havent' tested it. [17:35] mikeal has joined the channel [17:35] treasonx has left the channel [17:35] SpoonMSU has left the channel [17:35] ryah: i wonder if that error was present before felix's original multi-pipe patch [17:36] hij1nx has joined the channel [17:36] jetienne has joined the channel [17:36] ryah: this is suspiciously similar to mjr's death-bug [17:36] ryah: but that was already present in v0.4.6 [17:37] aphelion has joined the channel [17:37] Country has joined the channel [17:38] clyfe: context: thx [17:39] jerrysv has joined the channel [17:40] materialdesigner has joined the channel [17:40] isaacs: ryah: since errors weren't ever handled at all, i doubt it [17:40] ngs has joined the channel [17:40] eguest309 has joined the channel [17:40] eguest309: is the appache vrs node arguemnt finisehd :) [17:41] isaacs: kohai: you around? [17:41] kohai: I am Kohai, semi-useful communications-facilitating pseudointelligence! [17:41] niftylettuce: tjholowaychuk: nib version 0.0.7 from 4/24/11 [17:41] kohai: Twitter mute expired. [17:42] sebbie has joined the channel [17:42] Bradleymeck: eguest309 there was one (and by that i mean an intelligent one) ? [17:42] sirdancealot has joined the channel [17:43] Bradleymeck: they arent really direct competitors [17:43] kohai: Twitter mute expired. [17:43] niftylettuce: ughh test-server cmonnn [17:44] joshthecoder has joined the channel [17:44] tjholowaychuk: niftylettuce test from the repo [17:44] TheJH: does anyone know why this could segfault? node -e 'var canvas=require("canvas"); new (canvas.Image)()' [17:44] tjholowaychuk: 0.0.8 [17:44] tjholowaychuk: TheJH new (canvas.Image)() ? [17:44] TheJH: I installed canvas via npm [17:44] CIA-90: node: 03Brian White 07v0.4 * rd222594 10/ doc/api/assert.markdown : [17:44] CIA-90: node: Fix incorrect documentation for assert.fail() [17:44] CIA-90: node: Fixes #1100. - http://bit.ly/jeOc9D [17:44] tjholowaychuk: lol pulling a cloudhead [17:45] tjholowaychuk: new canvas.Image :p [17:45] TheJH: tjholowaychuk, humm, what? [17:45] tjholowaychuk: TheJH you dont need the funky parens [17:45] tjholowaychuk: but [17:46] tjholowaychuk: yeah it shouldn't segfault, works fine for me [17:46] tjholowaychuk: though I havent tried with -e [17:46] context: anyone here use prgmr ? [17:47] TheJH: I'm going to post an issue on github [17:48] perezd has joined the channel [17:48] eguest309: yeah it was .quick question.i am trying to connect to make a get request when i get a client connection from my socket Server .however i keep on getting var req = http.get(get_opts,responsefunc);TypeError: Object # has no method 'get' each time i try although i know the get request is still in scope.this is my sample code [17:48] eguest309: http://pastebin.com/64QqWswc [17:49] context: you people these days pick the worst paste sites ever [17:49] context: at LEAST pick something that does syntax highlighting [17:49] eguest309: hahahhahaha :) [17:49] mraleph has joined the channel [17:49] broofa has joined the channel [17:49] ewdafa has joined the channel [17:49] niftylettuce: I think my next side project is going to be building multiplayer node Loderunner [17:50] niftylettuce: calling it Noderunner [17:50] context: ahh ! [17:50] context: i wanna play loderunner [17:50] eguest309: line 35 specifically ? any ideas [17:50] context: its been like more than a decade [17:50] context: then* [17:50] niftylettuce: context: multiplayer ftw [17:50] kohai: @iamedu: dotCloud compró a duostack!!!!!!!!!!!!!! #nodejs #ruby [17:51] kohai: @badnima: Node.js at Facebook - Why it's Needed and What's Holding it Back http://bit.ly/iTTo7l [17:53] gazumps has joined the channel [17:53] adelgado: I didn't realize there was a node.conf [17:54] heavysixer has joined the channel [17:54] niftylettuce: tjholowaychuk: aren't you missing "text.ellipsis.css" from "text.ellipsis.styl" in the test/cases folder? [17:55] mertonium has joined the channel [17:55] tjholowaychuk: niftylettuce it was gitignored for some reason [17:55] tjholowaychuk: added it [17:56] patrickgamer has left the channel [17:56] niftylettuce: :) thx [17:57] hackeron has joined the channel [17:57] tdegrunt has joined the channel [17:57] niftylettuce: tjholowaychuk: 0.0.8 fixed my issue, thanks [18:00] broofa_ has joined the channel [18:00] Cozey has joined the channel [18:01] oh_no has joined the channel [18:02] eguest309: any ideas on my problem? [18:02] Cozey: Hello. Could somebody clarify one thing for me: there's a lot of software frameworks for node.js for coding _serverside_, like the module system (require/exports) What about the code which is ment to be run in the browser? Is it possible to test it under node.js and use similar coding techniques ? [18:02] kmiyashiro has joined the channel [18:02] liar has joined the channel [18:02] CiRlE has joined the channel [18:04] oh_no: To Cosey: some libraries can be used with https://github.com/substack/node-browserify [18:05] avalanche123 has joined the channel [18:06] oh_no: but only if they are written to be portable between browser and server i.e. not using node or browser APIs [18:06] Cozey: hmm.. so what is the pattern for coding the browser code ? [18:06] context: you put it in files only loaded in the browser [18:07] Cozey: using for instance QUnit for jquery, and have a differend coding pattern for serverside code? [18:07] caolanm_ has joined the channel [18:07] markwubben has joined the channel [18:08] aphelion has joined the channel [18:08] aphelion has joined the channel [18:08] caolanm_ has joined the channel [18:08] Marak has joined the channel [18:08] CiRlE has joined the channel [18:08] lukstr: Cozey: just to clarify node.js is primarily server side. Most node code isn't portable in that you could execute it in a browser. There is generally a divide between the server side js and the client side js. Disclaimer: it is possible, of course, to do all sorts of crazy stuff [18:09] flippyhead has joined the channel [18:09] Cozey: ok I understand [18:09] Cozey: in this way it doesn't help the development of js for the browser, to use node.js instead of, say, RoR? [18:10] isaacs: kohai: stfu [18:10] kohai: I am Kohai, semi-useful communications-facilitating pseudointelligence! [18:10] isaacs: !stfu [18:10] kohai: undefined's Gross Adjusted Noobosity has exceeded specified telemetry parameters. 3600 second mute has been initiated. [18:10] xSmurf has joined the channel [18:10] context: wtf [18:10] context: isaacs: i guess you are an undefined. ;) [18:10] Marak: he didnt specify a name [18:10] lukstr: not specifically, but it's possible to create/use frameworks designed to simplify those things [18:11] oh_no: I'm using prebuilt cygwin node to test on windows ... this fails to spawn an installed browser: require('child_process').exec("C:\\Program Files\\Safari\\Safari.exe"); // Any ideas? [18:11] AvianFlu: kohai also can't mute without ops [18:11] lukstr: Cozey: basically node.js is just javascript executed on a machine, and it's popular to make webservers with it. It doesn't have to be used that way [18:12] AvianFlu: can't mute people, I mean [18:12] oh_no: It works on Mac OS X with ópen'of course. [18:12] caolanm_ has joined the channel [18:13] igl has joined the channel [18:13] saschagehlich has joined the channel [18:13] CiRlE has joined the channel [18:14] lukstr: Cozey: do you follow? [18:14] Cozey: I see - btw. I always considered javascript (perhaps that's not justified) to be inferior to languages designed from ground up to implement server side code, say: python or ruby, maybe java (but perhaps java is too heavyweight). Why is node.js so popular? Is it really faster then ruby or python or anything 'older' ? or is it just fashion? [18:15] brianc1: was thinking of wiring a "node-alert" module which will block the node process until you press enter on std-in. [18:15] oh_no: Anyone know how to get child_process to work on node cygwin? [18:15] caolanm has joined the channel [18:15] brianc1: var alert = require('alert'); [18:15] brianc1: alert('oh no! no more requests until you hit enter'); [18:15] igl: because javascript isnt so inferior afterall [18:15] Cozey: (and please don't consider this a rant - i'd really like to know what are the pros for node.js fans) [18:15] igl: and after enough years of people having to learn javascript in the browser, people can do it [18:16] wink_: Cozey: the language is only a part of the picture [18:16] context: cozey: i would say, partially fashion. but also it closes a gap between developing on the server and client. one language everywhere. and i think people are starting to realize async code is the way to go, and that node does it really well [18:16] brianc1: Cozey: also node.js going with javascript over ruby or python allowed the ecosystem to start somewhat 'fresh' (not a large amount of pre-existing, blocking server side javascript) and so all modules were designed from the get-go to be async [18:16] context: err well... async as appose to threads, is good in a lot of situations [18:17] Cozey: I find it always a pain to code js - the debugging is quite miserable, searching for libraries scattered all over the internet, I always were able to produce good code with python or java. otoh - so many people loving node.js environment can't be wrong [18:17] isaacs: brianc1: maybe you could also do a document.write module? ;P [18:17] wink_: Cozey: what environment are you debugging js in that it's a pain? [18:17] wink_: firebug really changed that game years ago [18:17] brianc1: isaacs: excellent idea. [18:17] josephboyle has joined the channel [18:18] Cozey: well - firebug and chrome [18:18] isaacs: brianc1: if you call it after the first tick, YOUR WHOLE SERVER IS OVERWRITTEN [18:18] brianc1: lol [18:18] Cozey: chrome failing sometimes in strange ways [18:18] lukstr: Cozey: node.js is very young. And coding in JS in node is not like coding JS in the browser, however there are similarities, the environment is different because you are not in a browser. [18:18] Cozey: so in what way is it 'closing the gap' ? [18:18] wink_: chrome failing isn't the fault of the language though :| [18:18] CiRlE has joined the channel [18:18] Cozey: wink_: of course [18:18] flippyhead has joined the channel [18:19] dve has joined the channel [18:19] slicky: you guys mainly use vows or what for unit testing? Is there something better/easier to use for API/REST apps? [18:19] rubydiam_ has joined the channel [18:19] wink_: personally i dont think the communities are likely to see huge gains from the one language on both sides thing, but the async io is going to make a huge difference once websockets really start getting traction [18:19] Marak: !tweet test [18:19] Marak: !gtfo [18:19] wink_: the apache/iis hosts are going to be scrambling to find a way to deal with that [18:19] kohai1 has joined the channel [18:19] kohai1: I am Kohai, semi-useful communications-facilitating pseudointelligence! [18:20] Marak: !mute [18:20] kohai1: Twitter stream muted for the next 60 seconds. [18:20] Marak: see [18:20] oh_no: Anyone here who have tried the amazing cygwin version of node? At least it stumps me. [18:20] lukstr: Cozey: as far as developing environments go, last I checked https://github.com/dannycoates/node-inspector was pretty popular [18:20] Marak: simple [18:20] wink_: /timer 60 !mute [18:20] wink_: ;> [18:20] jerrysv: !mute [18:20] jerrysv: still won't listen to me [18:20] jerrysv: !insult Marak [18:20] Marak: jerrysv: you arent on the whitelist [18:20] wink_: oh_no: i havent, but i'd suggest installing virtualbox and a guest that node is a little more native to at the moment [18:20] superjudge has joined the channel [18:20] tjholowaychuk has joined the channel [18:21] kohai1: Twitter mute expired. [18:21] wink_: the windows port is making lots of headway, but its still not there afaik [18:21] wink_: !mute [18:21] wink_: :< [18:21] Cozey: wink_: but what when ruby/python will go async? why wouldn't they? [18:21] AvianFlu: !config set plugins:irc:mute_timer 600 [18:21] kohai1: plugins:irc:mute_timer has been set to: 600. [18:21] AvianFlu: !mute [18:21] kohai1: Twitter stream muted for the next 600 seconds. [18:21] dgathright has joined the channel [18:21] oh_no: Thanks but I already have node running on linux and Mac os x, only windows does not work [18:21] Cozey: afaik Twisted for python was async for a long time now [18:21] patcito has joined the channel [18:21] lukstr: oh_no: windows isn't production ready afaik [18:21] brianc1: Cozey: there are sync libraries for ruby & python already. Twisted for python and EventMachine for ruby [18:22] Cozey: yep [18:22] mnbvasd: lukstr: that hasn't stopped people from using it for years though :( [18:22] slicky: has windows in general ever been production ready? [18:22] mnbvasd: slicky: no ;) [18:22] jerrysv: Marak: i know :) [18:22] lukstr: Cozey: I just think node.js is more fun and faster to develop with [18:22] Cozey: al right :-) Thanks for the comments - i guess a wise man answer wold be to stick to the things that work for me [18:23] neynenmo has joined the channel [18:23] wink_: Cozey: absolutely they could, im not versed in python, but im assuming lots of people use mod_python (apache) to host their python code [18:23] oh_no: It seems to be a bug in node's implementation of child_process, not really Windows fault. [18:23] wink_: and thats where things will break [18:23] tmpvar: oh hey there jerrysv [18:23] wink_: not because of the languages [18:23] jerrysv: morning tmpvar [18:23] CIA-90: node: 03Felix Geisendörfer 07master * rf0a440d 10/ (lib/net.js test/simple/test-net-reconnect.js): (log message trimmed) [18:23] CIA-90: node: Remove 'connect' event from server side sockets [18:23] CIA-90: node: Sockets emitted by the 'connection' event are always connected, having [18:23] lukstr: oh_no: Because the windows port is far from finished, I don't even know if that's implemented yet :P [18:23] wink_: oh_no: they're working on a real windows port, it isnt finished yet. what exists now is going to be a crapshoot [18:23] Marak: !tweet test [18:23] slicky: wisest man would learn something new to use and gain their own perspective [18:23] CiRlE has joined the channel [18:23] Marak: !unmute [18:23] kohai1: Twitter mute cancelled. [18:24] jerrysv: tmpvar: had any more thoughts on that pull request? [18:24] lukstr: ACTION was never a fan of ruby... [18:24] oh_no: I have thousands of lines of code and http and web socket servers that all work in node on windows. It is not that bad. [18:25] mnbvasd: "work" [18:25] tmpvar: jerrysv, still chewing ;) [18:25] lukstr: oh_no: that's cool, but I wouldn't be surprised when something doesn't work [18:25] mnbvasd: ;) [18:25] lukstr: mnbvasd++ [18:25] v8bot: lukstr has given a beer to mnbvasd. mnbvasd now has 2 beers. [18:25] niftylettuce: did someone say micro$oft? [18:25] oh_no: only bug - I presume - is in child_process - where do i report the issue? [18:26] jerrysv: tmpvar: yup yup, my chewing told me that was the only way to satisfy all of our requirements. tried to keep it as simple as possible [18:26] CIA-90: node: 03Felix Geisendörfer 07v0.4 * r2b91256 10/ (lib/stream.js test/simple/test-stream-pipe-error-handling.js): (log message trimmed) [18:26] CIA-90: node: Fix error handling bug in stream.pipe() [18:26] CIA-90: node: Problem: Since stream.pipe() is registering it's own error handlers on [18:27] Cozey: ok, thnaks, bye! [18:27] Cozey has left the channel [18:27] caseywstark has joined the channel [18:28] mikeal has joined the channel [18:28] kohai1: @JulienGil: TermKit : une console graphique fait le buzz, écrite en Node.js et jQuery, elle s'appuie sur le... http://bit.ly/k8Kugx #javascript [18:28] langworthy has joined the channel [18:29] fakewaffle: oh jesus... [18:29] CiRlE has joined the channel [18:29] mnbvasd: you called? [18:29] fakewaffle: /ignore kohai* [18:29] mc_greeny has joined the channel [18:29] oh_no: The Joyent web site sent me here but this place is hardly going to help resolve an issue... What a waste of time. [18:29] lukstr: oh_no: what do you want resolved? [18:30] kohai1: @maraksquires: Don't like the kohai bot in #nodejs? You can: 1. /ignore him or 2. patch him. I had a third option but it wasn't appropriate for twitter. [18:30] oh_no: child_process.exec does not work on Windows - it works on Linux and Mac OS X [18:31] mnbvasd: good call /ignore kohai* [18:31] mnbvasd: erm [18:31] kohai1: @hij1nx: @maraksquires haha, is the third option “** **** **** ****"? [18:31] mnbvasd: /ignore kohai* [18:31] JustinCampbell has joined the channel [18:31] frewsxcv: i'm using the pg module for node. why does it seem like every password i choose for the posgres user grants access to any database? [18:31] lukstr: oh_no: as far as I can tell the cygwin builds aren't as well supported as mingw [18:31] mnbvasd: hmm fail [18:31] mnbvasd: :-/ [18:31] kohai1: Twitter mute expired. [18:31] kohai1: @fakewaffle: I really hate this twitter bot in #nodejs [18:31] oh_no: ok, never mind, I will debug node myself then. [18:31] oh_no has left the channel [18:31] jerrysv: frewsxcv: the postgres user is the super user for pg [18:32] frewsxcv: jerrysv: i set a password for it though [18:32] tfe_ has joined the channel [18:32] fangel has joined the channel [18:33] kohai1: @NodeKohai: @fakewaffle At least my waffles are real. [18:34] Marak: fakewaffle: first month in the room? new to irc? just /ignore kohai 3, problem solved forever [18:34] jerrysv: frewsxcv: and you are set up to use passwords in your pg_ident and friends? [18:34] kohai1: @fakewaffle: I am only going to communicate through it though... #nodejs [18:34] hij1nx: wow kohai sensors bad words [18:34] JustinCampbell: kohai [18:34] fakewaffle: or keep the damn thing out of here... [18:34] Marak: fakewaffle: no [18:34] Marak: fakewaffle: ignore it if you dont like it [18:34] mnbvasd: it is a quiet annoying bot [18:35] fakewaffle: That doesnt work for everypone [18:35] Marak: who the fuck are all these new people [18:35] fakewaffle: those that use webbased IRC [18:35] mnbvasd: I try to avoid using /ignores but it beat me. [18:35] hij1nx: it looks like kohai replaces passwords with *'s too... [18:35] lukstr: hij1nx: oh you [18:35] fakewaffle: How many different names of this damn bot do I have to ignore?!!! [18:35] mnbvasd: fakewaffle: people use web based irc? [18:35] Marak: !gtfo [18:35] mnbvasd: fakewaffle: isn't that called twatter? [18:35] kohai has joined the channel [18:35] kohai: I am Kohai, semi-useful communications-facilitating pseudointelligence! [18:35] Marak: there [18:35] indutny: hij1nx: yep, looks like so, cause that's my gmail password: *********** [18:35] podman has joined the channel [18:35] fakewaffle: dont be stupid: http://webchat.freenode.net/ [18:36] newy has joined the channel [18:36] podman: hi [18:36] tim_smart: ***** [18:36] Marak: dont complain to me you dont like IRC when you using webclient [18:36] Marak: hunter12 [18:36] Marak: FUCK MY PASSWORD [18:36] kcbanner has joined the channel [18:36] halfhalo: lol [18:36] hij1nx: tim_smart: yeah looks like it worked [18:36] rubydiam_ has joined the channel [18:36] hij1nx: hunter12 [18:36] fakewaffle: Marak: excuse me? I don't have a choice [18:36] tim_smart: IRC is amazing [18:36] hij1nx: fuck [18:36] kcbanner: hij1nx: all I see is ******** [18:36] Marak: fakewaffle: impossible [18:36] hij1nx: woah, marak we have the same pasword! [18:37] fakewaffle: /ignore Marak [18:37] cagdas has joined the channel [18:37] Marak: awesome [18:37] JustinCampbell: fakewaffle: it looks like youre using Colloquy [18:37] kohai: @przemyslawpluta: Watchlater - http://bit.ly/kXpj4H #ipad #app #nodejs [18:37] Marak: lol... [18:37] fakewaffle: I am right now, on my POS cell connection [18:37] Marak: fakewaffle: go write some fucking code already [18:37] fakewaffle: call my IT department and have them ublock it [18:37] Marak: thats what we do here [18:37] hij1nx: hmm.. seems like someone isnt having fun in #nodejs, time for some hugs!! (http://www.mikealrogers.com/) [18:37] fakewaffle: Marak: wow you're an ass lol [18:38] indutny: I always doing it here [18:38] Marak: i thought i was blocked fakewaffle ? [18:38] indutny: v8: var a = 1, b = 2; a + b [18:38] v8bot: indutny: 3 [18:38] halfhalo: You may write code, I just sit here and look pretty [18:38] indutny: you see [18:38] mnbvasd: fakewaffle: can't you just tunnel ssh to an screen session running irssi? [18:38] Marak: halfhalo: looking good ;-) [18:38] indutny: hafhalo++ [18:38] v8bot: indutny has given a beer to hafhalo. hafhalo now has 1 beers. [18:38] fakewaffle: Marak: it was a joke... [18:38] neynenmo has left the channel [18:38] hij1nx: asslol [18:39] podman: i have a question about mongodb-native.... does it make sense to open a connection on every request, or open one connection and reconnect if the connection dies? [18:39] dgathright has joined the channel [18:40] fakewaffle: podman: we only argue about the twitter bot i here [18:40] indutny: v8: x='aosl';[x[0],x[2],x[2],x[3],x[1],x[3]].join('') [18:40] v8bot: indutny: "asslol" [18:40] newy has joined the channel [18:40] fakewaffle: in* [18:40] kcbanner: podman: I believe one connection [18:40] indutny: podman: one instance - one request [18:40] indutny: podman: one connection [18:40] mnbvasd: podman: as a general rule it's quicker to have persisten connections. [18:40] podman: lol, conflicting opinions [18:40] mnbvasd: (I don't know specifically for that module tho). [18:40] indutny: podman: it's really one connection [18:40] kohai: @dcaravana: node.js is a great prototyping platform: using it + Socket.io to very quickly build a prototype of push platform that scales to 500K users [18:40] fakewaffle: podman: i keep the connection open with mysql on my app, i would imagine you would want to do the same? [18:41] maushu has joined the channel [18:41] podman: fakewaffle: yeah, in my initial interation of my application that's the way i did it. i'm using mongoHQ and hey seem to have issues [18:41] truewaffle: podman: don't listen him [18:41] markwubben has joined the channel [18:41] fakewaffle: truewaffle++ [18:41] v8bot: fakewaffle has given a beer to truewaffle. truewaffle now has 1 beers. [18:41] podman: it could also be that i'm using an old version of the driver [18:41] mnbvasd: though you may want many connections, as you can then theoretically run multiple concurrent queries. [18:41] lamewaffle: I agree [18:41] fakewaffle: lamewaffle++ [18:41] v8bot: fakewaffle has given a beer to lamewaffle. lamewaffle now has 1 beers. [18:41] lukstr: ACTION thinks about writing a bot to interface with his email... [18:42] orospakr: hm, I'm looking for something activerecordy, which can live on top of one of the SQL bindings. recommendations? [18:42] orospakr: orospakr++ [18:42] v8bot: orospakr: Don't cheat! You can't give a beer to yourself. [18:42] orospakr: :( [18:42] fakewaffle: orospakr-- [18:42] v8bot: fakewaffle has taken a beer from orospakr. orospakr now has -1 beers. [18:42] orospakr: NOES [18:42] wadey has joined the channel [18:42] kcbanner: orospakr++ [18:42] v8bot: orospakr is getting too many beers. Don't let orospakr get drunk! [18:42] fakewaffle: ?? [18:42] orospakr: hah! [18:42] orospakr: clearly, I've been cut off. [18:42] stephank has joined the channel [18:42] fakewaffle: you owe the bar tender still, even [18:42] kcbanner: orospakr: you've had -1 beers, clearly you've had enough [18:43] eguest309 has left the channel [18:43] podman: so, i'm just wondering if it's problems with the driver or mongoHQ [18:43] halfhalo: ACTION buys a round for everyone (using some random persons card) [18:43] fakewaffle: lamewaffle: i use evail() where ever possible [18:43] AvianFlu: lamewaffle++ [18:43] v8bot: AvianFlu has given a beer to lamewaffle. lamewaffle now has 2 beers. [18:44] fakewaffle: eval* [18:44] adnam: prevail() [18:44] harth_ has joined the channel [18:44] fakewaffle: that too [18:44] brownies has joined the channel [18:44] fakewaffle: AvianFlu-- [18:44] v8bot: fakewaffle has taken a beer from AvianFlu. AvianFlu now has -1 beers. [18:44] podman: i'm running pretty old versions of everything, and, since i'm rewriting it, i figured i'd see which worked best. new connection for every request or one connection and hope that the driver better detects connection issues [18:44] kohai: @indutny: I feel the presence of true waffles in #node.js room [18:45] kohai: @petrjanda: #ngin test instance running great. Multiple #nodejs apps spawned, npm packages auto-installed and http proxy dispatching requests well! :P [18:45] SwineFlue has joined the channel [18:45] SwineFlue: AvianFlu: I'm better than you [18:45] AvianFlu: HAHAHAHAHAHAHAHAHA [18:46] lukstr: Jesus I don't know who is who anymore, revert! [18:46] jmoyers has joined the channel [18:46] tilgovi has joined the channel [18:46] tilgovi has joined the channel [18:47] suresh has left the channel [18:47] kohai: @paddyforan: Has anyone found a workaround for #nodejs 0.5.0-pre not emitting an 'end' event for require('https').get(options, cb); ? [18:48] xsyn has joined the channel [18:48] sechrist has joined the channel [18:49] lukstr: kohai should have a tinyurl to the tweet, that would make it marginally more useful for those of us without the ability to reply (re: everyone) [18:49] TomY has joined the channel [18:49] podman: so, my problem is this. i have a connection open to mongodb (hosted on mongoHQ) and an express app. Sometimes, requests will just completely hang forever [18:49] NetRoY1 has joined the channel [18:49] gmonnerat has joined the channel [18:50] kcbanner: podman: are you sure its mongo that is hanging? [18:50] podman: i can duplicate it by manually dropping the connection to mongodb, so i think that's the problem [18:50] perezd: so, someone enlighten me: Is solaris preferred with socket-based applications?/ [18:50] kcbanner: ah [18:50] perezd: trying to figure out why people have an affinity for that platform [18:50] aheckmann has joined the channel [18:50] context: perezd: i think most of not all applications these days have sockets. [18:51] lukstr: perezd: some people like using solaris for servers [18:51] hij1nx_ has joined the channel [18:51] gmonnerat has left the channel [18:51] context: perezd: and considering oracle took solaris and bastardizing it, the remote idea of thinking of using it is unbelievable [18:51] nibblebot has joined the channel [18:51] dshaw_ has joined the channel [18:51] prophit has joined the channel [18:51] perezd: lukstr: what i mean is, how do you go about picking that over the other things, is it optimized for a particular type of situation? [18:51] podman: kcbanner: that doesn't mean that it really is mongodb that's causing it, it's just my best guess at this point [18:51] perezd: I haven't much messed with it, but curious that companies like joyent use it heavily [18:51] varioust has joined the channel [18:51] podman: so, to mitigate that, i was thinking that if i just opened a new connection for every request, that wouldn't be a problem anymore [18:51] context: perezd: every os has its pros/cons. if you dont know solaris and never touched it. dont start now. [18:51] kcbanner: podman: ok, I only ask because its easy to miss a logic path in express and not send anything back, which will cause the page to load forever [18:52] podman: but i figured i'd ask if that was the best practice [18:52] podman: kcbanner: no, the logic is pretty simple [18:52] kcbanner: ok [18:52] kcbanner: podman: in my express apps, I use mongoose and I haven't had this problem, but I also host my own mongod [18:52] perezd: context: I think thats pretty short sighted, I think it must serve some sort of need. [18:52] kcbanner: and I set up the connection once when the app starts [18:52] podman: kcbanner: i'll be getting to that eventually [18:52] context: perezd: and its possible joyent is running a lot of sun hardware. which id prolly run solaris on as well. or maybe they heavily depend on ZFS. [18:52] context: perezd: there isnt any one particular reason to use solaris [18:52] perezd: context: good point [18:53] podman: setting up a replica set on AWS doesn't sound like fun to me [18:53] lukstr: which are my thoughts exactly. Whenever I've used solaris it's been on sun hardware [18:53] perezd: context: I was curious if its something liek "yeah, it has a really solid socket implementation in its kernel" or something [18:53] lukstr: they should rename it to Oraclis [18:53] kcbanner: podman: https://github.com/kcbanner/nodelog/blob/master/app.js this is how I do my setup [18:53] context: perezd: this is 2011. every os has a 'solid' socket impl. [18:53] avalanche123 has joined the channel [18:54] podman: kcbanner: lol, nice stash [18:54] perezd: context: I don't want to make that assumption without knowing that to be true. [18:54] kohai: @naholyr: @piouPiouM je serais bien tenté de proposer un atelier #nodejs, mais moi c'est la logistique qui va coincer @ParisWeb [18:54] kcbanner: podman: ...sadly its not real [18:54] podman: i could tell [18:54] context: perezd: if any given os didn't have a solid socket impl. it wouldn't be used... period. [18:55] kcbanner: perezd: yep sockets are fairly critical. You can tune linux as well for better socket perf [18:55] context: NO ONE would use it. except the hobbyist writing it [18:55] podman: kcbanner: so, i would guess that mongoose does it's own connection management and will reconnect if there is an issue [18:55] ohtogo has joined the channel [18:55] perezd: kcbanner: are there any resources you could point me to to help me get better at that? [18:55] ohtogo has left the channel [18:56] context: perezd: is this an actual question, or you are worried one OS is better than another? [18:56] context: ... actually worried.. [18:56] kcbanner: perezd: tip #4 has kernel params, http://www.ibm.com/developerworks/linux/library/l-hisock/index.html [18:56] hermanjunge has joined the channel [18:56] kcbanner: podman: I assume it does, however I haven't tested this [18:56] Marak has joined the channel [18:56] perezd: context: I am just making sure I am not missing anything, my question seems dumb, but its only dumb if I didn't ask [18:56] kcbanner: podman: but I am very happy with Mongoose [18:57] context: perezd: or are you really just trying to improve performance where there is no problem [18:57] perezd: context: I have problems [18:57] nibblebot has joined the channel [18:57] perezd: context: I am trying to measure them, and diagnose them properly [18:57] perezd: lots of variables [18:57] context: so instead of fixing them you are asking about replacing you entire infrastructure [18:57] podman: kcbanner: i don't really have any problems with mongodb-native... unless they haven't fixed this connection issue [18:57] perezd: context: I was asking for perspective, not a lexture [18:57] perezd: lecture* [18:58] kcbanner: perezd: boil it down to simple test cases and tune to improve [18:58] lukstr: perezd: they are likely unrelated to which OS you are using, and solaris is unlikely going to solve anything. [18:58] perezd: I agree, I was mostly trying to understand what the rationale is behind it, eg: is it inherently better at dealing with a type of application [18:58] broofa has joined the channel [18:58] kcbanner: perezd: I'm more curious what tipped you off that Solaris might be better [18:58] lukstr: I'm pretty sure that whatever people use solaris for it's not because they are using node.js [18:58] fille12 has joined the channel [18:58] kcbanner: lukstr: heh, yep [18:59] fille12: hello my friends [18:59] perezd: kcbanner: it exists? and people use it? [18:59] context: heh [18:59] perezd: its something I know very little about [18:59] podman: kcbanner: i'm not exactly sure what version i'm using, but it's almost a year old now [18:59] lukstr: people use openbsd too [18:59] perezd: so I figured I'd learn about it some from any experience people may have in the room [18:59] context: i will say solaris' service management tools are WAY awesome. [18:59] ilya has joined the channel [18:59] kcbanner: perezd: I have only used it very briefly for desktop use, never seriously for a server [18:59] fille12: anyone got any experiance with express [18:59] kcbanner: fille12: yea [18:59] perezd: I was curious if anyone in here would be like "ZOMG ITS THE BEST WITH X" [19:00] fille12: kcbanner would ju recomend it? [19:00] perezd: but since nobody did, I imagine its irrelevant [19:00] varioust has joined the channel [19:00] aphelion has joined the channel [19:00] kcbanner: fille12: would *I* recommend it, yes. [19:00] kohai: @OhMeadhbh: interested in experimenting with #nodejs? i put together a virtual appliance to make it easy. more info @ http://j.mp/lyHDQY [19:00] kcbanner: not sure who "ju" is [19:00] fille12: jsorry :D [19:00] fille12: you i mean [19:00] kcbanner: yes I would [19:01] nibblebot has joined the channel [19:01] mikeal: mjr_: what do you use for long term log storage? [19:01] gsmcwhirter has joined the channel [19:01] mjr_: mikeal: flat files, but I'm not happy with that [19:01] rictic has joined the channel [19:01] mjr_: We have a log server that collects client errors which is backed by couchdb. [19:01] kcbanner: Express is great, no one should really reimplement the wheel with all these great frameworks [19:02] beriberikix_ has joined the channel [19:02] kohai: @srenaultcontact: TermKit : une console graphique fait le buzz, écrite en Node.js et jQuery, elle s'appuie sur le moteur de rendu WebKit http://t.co/ma3aXUi [19:02] mjr_: But server logs all go into a series of gigantic flat files. [19:02] mjr_: Probably going to build a hadoop cluster and put them in there. [19:02] dies_el has joined the channel [19:03] mikeal: what about these crazy cloud logging services [19:03] mjr_: yeah, I dunno. What do you make of them? [19:04] mikeal: i don't really know yet, trying to figure it out :) [19:04] pt_tr has joined the channel [19:04] mjr_: What do you guys do with them right now? [19:05] mikeal: i don't even wanna get in to how the logs work now [19:05] mikeal: there are a half dozen different systems in use [19:05] cafesofie has joined the channel [19:06] nivoc has joined the channel [19:07] newy has joined the channel [19:07] Spion has joined the channel [19:08] col3: node.js is giving me this "Native bson parser not compiled, please compile or avoud using native_parser=true" [19:08] col3: and idea why? [19:08] MichealBenedict has joined the channel [19:08] col3: or where i can change the native_parser=false [19:08] col3: or where i can compile native bson parser [19:08] podman: kcbanner: i think i'll give mongoose a shot [19:08] beriberikix__ has joined the channel [19:09] kcbanner: podman: good idea! [19:09] podman: looks like a cleaner syntax than using mongodb-native straight up [19:09] kcbanner: it is very clean, thats why I like it [19:09] kcbanner: much less nesting [19:09] podman: first i'm just going to test if what i have now works if i kill mongod [19:10] podman: actually, forget it. clearner syntax, ftw [19:10] tfe__ has joined the channel [19:11] fille12: how do i git th 0.4.8 repostory [19:11] nivoc has joined the channel [19:12] jhurliman has joined the channel [19:12] tfe_ has joined the channel [19:12] kohai: @github_js: nodemon - Monitor for any changes in your node.js application and automatically restart the server - http://bit.ly/k0cOmE [19:13] Transformer has joined the channel [19:13] dguttman_ has joined the channel [19:13] sirkitree|lunch has joined the channel [19:15] kohai: @maxdche: #nodejs, weclome to my sandbox :D [19:15] konobi: !mute [19:16] bartt has joined the channel [19:16] kohai: @3rdEden: Blog post on #nodejs theoretical real time performance almost finished.. FINALLY :O [19:17] `3rdEden: fille12 just download the tar from nodejs.org [19:17] `3rdEden: http://nodejs.org/dist/node-v0.4.8.tar.gz <-- [19:18] xsyn has joined the channel [19:18] kkaefer: I'm creating a SlowBuffer in C++ land [19:18] jerrysv: kkaefer: slowbuffer ? [19:18] sebbie has joined the channel [19:18] kkaefer: is there a way to expose that buffer as a Buffer in js land? [19:18] chrislorenz has joined the channel [19:18] kkaefer: instead of a SlowBuffer [19:19] Aikar: kkaefer: look at SlowBuffer.makeFastBuffer [19:19] Aikar: but, why? they are almost identical [19:19] kohai: @indexzero: The woman next to me on this plane is reading a book by Laura Bush. *insert snakes on a plane meme here* [19:19] tjholowaychuk has joined the channel [19:19] kohai: @jerrysievert: I've been finding myself using the #nodejs repl instead of #perl for my day to day utility and calculator work. says a lot. [19:19] Aikar: Buffer is faster than SlowBuffer for the fact it doesnt always need to alloc memory. Slowbuffer has already Alloc'd memory and converting to FastBuffer will require a mem cpy [19:20] Aikar: so careful about switching to Fast Buffer as it may actually be slower in overall gain [19:20] kkaefer: yeah, I know, but I'm creating the buffer in c++ land [19:21] kkaefer: and there doesn't seem to be a good way to create Buffer in c++ land [19:21] kohai: @hukl: Node.JS -> Tonne [19:21] stepheneb has joined the channel [19:21] Aikar: if your building it from V8 data, then you could initiate a Buffer instead of FastBuffer [19:21] Aikar: SlowBuffer* [19:21] varioust has joined the channel [19:21] kkaefer: either way, my buffers are bigger than the pool size [19:21] ExsysTech has joined the channel [19:22] Aikar: get the V8 Global, then global->Get(V8::String('Buffer')) [19:22] Aikar: then why bother converting to Fastbuffer? just pass it around as a SlowBuffer [19:23] kohai: @indexzero: Also, I think I can hear at least 5 different babies crying ::: grateful for headphones and in-flight WiFi [19:23] Marak: wtf [19:24] Marak: why is is tracking there [19:24] ryah: kkaefer: what are you trying to do? [19:24] systemfault: By the way... are typed arrays super slow in node.js too? [19:24] Marak: !config get plugins:twitter:track [19:24] kohai: plugins:twitter:track is [#nodejs, node.js, @nodejitsu, @nodekohai, nodejitsu, #nodejitsu, #nodeconf] [19:24] Aikar: Marak: O.o? tracking? [19:24] Aikar: oh that silly thing [19:24] Marak: AvianFlu: you see that bug? [19:24] kkaefer: ryah: buffer instanceof Buffer returns false for c++ land generated buffers [19:24] ryah: kkaefer: Buffer.isBuffer() should be okay [19:24] kkaefer: ah, cool [19:24] AvianFlu: it's because NodeKohai is following indexzero [19:25] bloodsucker has joined the channel [19:25] Marak: lets fix that, too much noise [19:25] kkaefer: thanks [19:25] sebbie has joined the channel [19:26] JoseCabo: Hello Hellooo [19:26] AvianFlu: on it [19:26] kohai: @hij1nx: @indexzero you’ve never been on a flight where there wasn’t a minimum of 5 crying babies. [19:27] nibblebo_ has joined the channel [19:27] kohai: @Jamesonjlee: @hij1nx is this how I get on kohai #nodejs [19:28] hij1nx: oh man, kohai is getting annoying now [19:28] Marak: yeah, there is a bug hij1nx its retweeting people it follows [19:28] Marak: fixing it now [19:28] Marak: !mute [19:28] kohai: Twitter stream muted for the next 60 seconds. [19:28] nibblebo_ has joined the channel [19:29] kohai: Twitter mute expired. [19:29] Marak: !config get plugins:twitter:mute_timer [19:29] kohai: plugins:twitter:mute_timer is undefined [19:29] kohai: @jackbach: As I said, I love Duostack's deploiment simplicity. Today DotCloud have acquired it http://t.co/BQ5YgNd #nodejs [19:29] Marak: AvianFlu: set the mute timer higher, and mute him, im on call, bbl [19:29] mkrecny has joined the channel [19:30] podman: speaking of deployment... how do most of you deploy your node apps? [19:30] kohai: @JaesonBrown: GoSquared – Blog – Panic Over! Node.JS Help Sheet is here. http://j.mp/mt2kkG [19:30] AvianFlu: !mute [19:30] kohai: Twitter stream muted for the next 3600 seconds. [19:30] podman: do most of you use PaaS? [19:30] Aikar: podman: a simple bash shell script [19:30] context: PaaS ? [19:30] podman: Platform as a service [19:30] context: ahh [19:30] dyer_away has joined the channel [19:31] Aikar: real men use their own systems ;) [19:31] context: whats diff between PaaS and SaaS [19:31] Bonuspunkt has joined the channel [19:31] context: or same just you're using someone else cloud [19:31] mnbvasd: Aikar: so what do you use then? ;) [19:31] mnbvasd: ACTION ducks [19:31] podman: the s stands for software [19:31] podman: the p stands for platform [19:31] Aikar: PaaS is used to reference things like nodester etc where git push etc deploys code [19:31] context: i know that [19:31] context: ahh gotcha [19:31] pifantastic_ has joined the channel [19:32] context: i dont really seeing an issue using a paas until you got a little bigger and need more control over the architecture [19:32] stepheneb_ has joined the channel [19:33] fille12: how do i clone version 0.4.8 from git [19:33] Aikar: mnbvasd: system I manage my self with my own few lines of bash to deploy :P, bundle files in a .tar.gz with build #s, simple SCP and basic unix commands = simple deploy, and modify as you grow [19:33] podman: I think i'm just going to deploy to EC2 and use something like capistrano [19:33] podman: and git [19:34] podman: i used to have my node app in a folder in my rails app and i would just deploy my rails app and restart node using monit [19:34] context: fille12: 'git clone' [19:34] Xano has joined the channel [19:34] mnbvasd: Aikar: sorry, I was being cheeky, as you said "real men... blah", well obviously you don't.. :-/ never mind ;P [19:34] context: fille12: and then checkout the 0.4.8 tag [19:35] context: i need to look into cast some time [19:36] eyesUnclouded has joined the channel [19:36] ncb000gt has joined the channel [19:36] mike5w3c has joined the channel [19:37] adambeynon has joined the channel [19:38] spetrea has joined the channel [19:39] orospakr: hey, how can one use libraries installed through npm globally (-g) with require()? [19:39] tfe_ has joined the channel [19:39] tfe_ has joined the channel [19:40] kcbanner: orospakr: from my experience you need to: npm link inside the dir where you want to require() it [19:40] orospakr: alas. [19:40] orospakr: I like being able to just fire up a node repl anywhere and require() things. [19:40] pita: is there a way to serve gziped responses with connect? like nginx does [19:41] jarek has joined the channel [19:42] kmwallio has joined the channel [19:44] varioust has joined the channel [19:44] kylefox has joined the channel [19:45] MikeMakesIt has joined the channel [19:45] podman: pita: you could write your own [19:45] varioust has joined the channel [19:46] podman: and i think i've seen middleware for that. [19:46] podman: though, make sure the overhead of gzipping doesn't slow things down [19:47] Aikar: orospakr: my solution to that is to rm -rf /usr/local/lib/node_modules then ln -s /usr/local/lib/node/ /usr/local/lib/node_modules [19:47] Aikar: then reinstall your modules and they will work globally again [19:47] orospakr: Aikar, heh, thanks. [19:47] orospakr: npm has this constant so-near-yet-so-far thing going on. [19:48] Aikar: i dont advocate using global modules in code, but stuff like vows is meant to be global [19:48] Aikar: and sucks that require('vows/bin/vows') doesnt work with latest ver of npm :/ [19:48] orospakr: I figure I have /usr/lib for a reason [19:48] indutny has joined the channel [19:48] orospakr: although *sometimes* I want the contained-in-project behaviour. [19:49] Aikar: so now ive learned my test runner stub i use in all my projects only works for myself ;/ [19:49] tjholowaychuk: ryah that accept() = EMFILE work-around in net.js is neat! [19:49] jetienne has joined the channel [19:50] neynenmo has joined the channel [19:51] matjas has joined the channel [19:51] level09 has joined the channel [19:52] level09 has left the channel [19:53] neynenmo has left the channel [19:53] level09 has joined the channel [19:53] level09: can node.js act as a push engine ? [19:54] tfe__ has joined the channel [19:54] level09: I'd like to watch a file, and push the changes to a web page , is that possible ? [19:54] jerrysv: level09: sure? why not? websockets? [19:55] level09: jerrysv: aha, but on the web page, websocets is not part of HTML5 specs ? [19:55] jerrysv: level09: huh? websockets are part of html5 [19:55] Aikar: websockets is turned on for Chrome [19:55] jerrysv: level09: and if you use socket.io there are fallbacks [19:55] level09: like what? [19:55] Aikar: just some mozilla exec is a moron and its disabled in firefox when it shouldnt be [19:56] level09: aah [19:56] level09: so it is not reliable [19:56] tauren: Marak: how long is the wait on nodejitsu activation emails? I registered a few weeks back and haven't received anything yet. [19:56] jerrysv: level09: then watch for a message, decode the data, and replace the elements [19:56] Aikar: socket.io is reliable [19:56] Aikar: it has fallback [19:56] jerrysv: level09: socket.io encapsulates websockets, ajax, comet, flash, etc for complete reliability [19:56] level09: so it works in most browsers ? [19:56] Aikar: not as instant as wesockets bit works [19:56] Aikar: yes [19:56] `3rdEden: And that same moron talked to Opera and than they hide their websockets behind a preference as well ;D [19:56] level09: jerrysv: that's nice [19:56] `3rdEden: level09 socket.io support start at IE 5.5 [19:57] fumanchu182 has joined the channel [19:57] level09: do you guys recommend a specific website / resource to learn that ? [19:57] Aikar: howtonode.org [19:57] mertonium has joined the channel [19:57] `3rdEden: http://socket.io [19:57] m00p has joined the channel [19:57] level09: Thanks , much appreciated [19:57] Aikar: http://google.com :P [19:57] tbranyen: `3rdEden: its annoying that websockets are disabled by default, but its still experimental anyways [19:57] tbranyen: should not be relied upon for production [19:57] tilgovi has joined the channel [19:57] tilgovi has joined the channel [19:58] rfay has joined the channel [19:58] `3rdEden: tbranyen probably not, as safari, ipad, iphones crash when you are behind a proxy ;D [19:58] Marak: tauren: i can activate you now, we are still in private beta [19:58] level09: hmmm , how does now.js compare to socket.io ? [19:58] `3rdEden: nowjs is build on top of socket.io [19:58] tauren: Marak: that would be great. username is tauren, but just registered another account "groovee" [19:58] johnnywengluu: are node.js conf 2011 videos out yet? [19:59] Marak: i activated account "tauren" [19:59] tbranyen: level09: how does human compare to doctor [19:59] tauren: thanks! [19:59] Aikar: doctor has 2 hearts [20:00] level09: tbranyen: why? they both seem to be targeting real time apps [20:00] level09: its not a vague comparison [20:00] dingomanatee: Hey anyone have any interesting projects in node? I'm doing a talk in the south bay [20:00] m00p has joined the channel [20:00] dingomanatee has left the channel [20:00] Aikar: yes dingo id love to tell you! [20:01] Aikar: if you was here [20:01] jetienne has joined the channel [20:01] gozala1 has joined the channel [20:02] `3rdEden: Marak can your pdf.js also read pdfs? [20:02] Marak: `3rdEden: I wouldn't say its "mine", and no [20:02] Marak: it generates pdfs [20:02] `3rdEden: darn it. [20:03] slloyd has joined the channel [20:03] `3rdEden: Marak: Well, it's in your github ;) [20:03] `3rdEden: I'll check it out to see how easy it would be to create a decoder [20:03] nibblebot has joined the channel [20:03] `3rdEden: I need to read + index 300+ ebooks [20:04] Marak: `3rdEden: let me know, ill accept patche for sure [20:04] caseywstark has joined the channel [20:05] eguest309 has joined the channel [20:05] level09: is there [20:05] level09: oops [20:05] level09: I cant find any website that has information about websockets browser support [20:06] `3rdEden: http://caniuse.com/ [20:06] eguest309: try socket.io [20:06] level09: it seems like it is disabled by default in FF4 [20:07] level09: thanks `3rdEden [20:07] `3rdEden: level09 we said that already, read up above :p [20:07] `3rdEden: FF4 & Opera disabled it by default [20:07] `3rdEden: chrome and safari ship with it [20:07] eguest309: hello guys.quick question.i was able to run a get request when i use node in the command line yet when i use it in a script i get Object # has no method 'get'.i was able to use it at first in a script but after a while kept gettting thsi error.any ideas as to why? [20:08] level09: `3rdEden: sorry, i thought you just said FF , did not mention the version [20:08] `3rdEden: http://caniuse.com/#search=websockets [20:08] `3rdEden: :0 [20:08] level09: FF4 is not yet that popular [20:08] level09: is there any alternative to web sockets ? [20:09] konobi: level09: use socket.io [20:09] konobi: it provides fallback mechanisms [20:09] podman: `3rdEden: have you looked at http://documentcloud.github.com/docsplit/ [20:09] level09: konobi: let me get it clear, socket.io is not related to websockets ? [20:10] konobi: it is [20:10] level09: but it has fallback mechanisms? [20:10] level09: so it would work on most browsers ? [20:10] konobi: but it will fallback to other longpolling methods if websockets are not available [20:10] level09: nice [20:10] konobi: (several levels of fallbacks too) [20:11] level09: I'll take a look , thanks very much [20:11] `3rdEden: why don't you just read http://socket.io [20:11] `3rdEden: it's all ther [20:12] dyer_away has joined the channel [20:13] level09: yeah I 'm on that page [20:13] level09: nice, it will use flash socket support as a fallback [20:13] fille12: how do i check out the node.js 0.4.8 at github ? [20:13] level09: these people are smart :D [20:13] eguest309: any ideas why a get request will work in the command line but not in a script ? same syntax everything ? [20:13] TheJH has left the channel [20:14] konobi: fille12: clone, then checkout 0.4.8 [20:16] bartt has joined the channel [20:17] Marak has joined the channel [20:20] jdalton has joined the channel [20:20] jdalton has left the channel [20:20] nibblebot has joined the channel [20:21] unomi has joined the channel [20:21] fille12: igit checkout -b v0.4.8 [20:21] fille12: and then [20:21] sebbie has joined the channel [20:21] Marak: !unmute [20:21] kohai: Twitter mute cancelled. [20:21] beriberikix_ has joined the channel [20:22] tisba has joined the channel [20:23] podman: !mute [20:23] podman: ha! [20:23] Marak: !config get plugins:alias:whitelist [20:23] kohai: plugins:alias:whitelist is [jesusabdullah, indutny, samsonjs, isaacs, mscdex, SubStack, `3rdEden, Aria, cloudhead, AvianFlu, Marak, hij1nx, indexzero, DTrejo, tmpvar, ryah, dominictarr, sechrist, pquerna, towski, jameson] [20:24] podman: booo [20:24] Marak: everyone on the whitelist can !mute and !unmute the bot at anytime [20:24] `3rdEden: y u highlight [20:24] Marak: feel free to do so [20:24] niftylettuce: tjholowaychuk: you recommend cleancss or something else? [20:24] tjholowaychuk: what's that [20:24] niftylettuce: tjholowaychuk: or does Stylus do its job? [20:24] niftylettuce: https://github.com/GoalSmashers/clean-css [20:24] Marak: !config add plugins:alias:whitelist tjholowaychuk [20:24] kohai: tjholowaychuk was added to plugins:alias:whitelist. [20:24] Marak: !config save [20:24] kohai: Config saved. [20:24] tjholowaychuk: niftylettuce stylus has minification built in [20:24] tjholowaychuk: there is a compress option [20:25] niftylettuce: compress true :) [20:25] asdfsafdsa: why doesnt stylus get rid of line breaks too? [20:26] stepheneb has joined the channel [20:26] willwhite has joined the channel [20:26] eldar has joined the channel [20:26] niftylettuce: what about js minificatino [20:27] niftylettuce: minification* -- is uglifyjs the popular one? [20:27] tjholowaychuk: ive used ugly for a few things [20:27] raynos has joined the channel [20:27] tjholowaychuk: but use --no-mangle [20:27] tjholowaychuk: the first time i didnt it fucked shit up [20:27] duncanbeevers: niftylettuce: uglifyjs has a lot of momentum and incorporates some transforms other minifiers don't. [20:27] raynos: Can we support node.js by upvoting the WebStorm feature request for node.js support ;) http://youtrack.jetbrains.net/issue/WI-3451 [20:28] niftylettuce: ty tjholowaychuk + duncanbeevers [20:28] `3rdEden: raynos pff no vim suppoort ;)? [20:28] raynos: `3rdEden some people are not hardcore [20:28] raynos: For the general masses WebStorm is the most familiar IDE for JS [20:29] fille12: my webhost wont let me choose a diffrent port other then port 80 [20:29] nivoc1 has joined the channel [20:30] kohai: Twitter mute expired. [20:31] beriberikix_: tjholowaychuk: is there a way to pretty-print using jade? [20:31] Xano has joined the channel [20:31] tjholowaychuk: nope [20:31] tjholowaychuk: there's a pull request somewhere but git was being a bitch [20:32] cafesofie has joined the channel [20:32] JulioBarros has joined the channel [20:33] arpegius has joined the channel [20:33] sirkitree has joined the channel [20:34] sherod has joined the channel [20:34] mikey_p: raynos: um, they are already working on the plugin and seem to have committed to supporting it [20:34] mkrecny: raynos: u mean vim right ? ; P [20:35] jetienne has joined the channel [20:35] Marak: im tired of hearing people bitching at me [20:35] Marak: this is why we cant have nice things [20:35] Marak has left the channel [20:35] raynos: mikey_p: So there's a plugin that we should use instead? [20:36] mikey_p: raynos: did you read the page you linked to? [20:36] rpflo has joined the channel [20:36] mikey_p: raynos: and that is how different lang/framework are supported in webide, with plugins [20:36] ryah has joined the channel [20:36] raynos: mikey_p: Yes. It looked like a 3rd party plugin [20:36] mikey_p: raynos: http://plugins.intellij.net/plugin/?idea&id=6098 [20:36] mikey_p: the vendor is jetbrains [20:37] raynos: I thought node.js support would be integrated into webstorm fully at some point in the future [20:37] raynos: Guess it's just my mis understanding then :) [20:43] eyesUnclouded has joined the channel [20:43] jonaslund: Does the webstorm node.js debugger work well ? [20:43] adambeynon has joined the channel [20:43] stepheneb has joined the channel [20:43] CIA-90: node: 03Ryan Dahl 07master * r8f06547 10/ wscript : Fixes #1102. Install ev.h into $PREFIX/include/node/ev/ev.h - http://bit.ly/m8HTs4 [20:44] raynos: jonaslund: no clue, havnt used the plugin [20:45] jonaslund: I'm using eclipse/aptana/chromedevtools right now [20:45] beriberikix_: tjholowaychuk: ha, git being a diva [20:45] jonaslund: and i'm not really impressed :P [20:45] jonaslund: atleast aptana isn't half as buggy as jsdt [20:45] tjholowaychuk: beriberikix_ it does weird shit sometimes, says there is a conflict but leaves nothing for me to merge [20:46] raynos: I find WebStorm generally more polished then aptana / eclipse [20:46] tjholowaychuk: haven't looked into it much [20:46] wookiehangover has joined the channel [20:46] raynos: but for debugging node just use a command line debugger [20:46] raynos: or `console.log` [20:46] raynos: or write _correct_ code ;) My personal favourit [20:46] Adman65 has joined the channel [20:47] skm has joined the channel [20:48] eyesUnclouded has joined the channel [20:48] xsyn has joined the channel [20:48] Renegade001 has joined the channel [20:48] admc1 has joined the channel [20:49] jonaslund: well chromedevtools works [20:49] jonaslund: kinda [20:49] jonaslund: it works for debugging [20:49] raynos: node --debug works [20:49] puffpio has joined the channel [20:50] jonaslund: what chromedevtools sucks at is to sync workspace breakpoints to the debugger (it could be my windows env making things "complicated") [20:50] jonaslund: I kinda like my breakpoints to survive restarts :P [20:52] mikeal has joined the channel [20:53] Nican has joined the channel [20:56] fille12: you see i have a apache server on port 80 [20:56] fille12: and i whant node.js on another portn [20:56] Aikar: -t [20:56] fille12: then i whant to cloak the node.js server [20:56] fille12: is it possible, any ide for a solotion [20:56] fille12: ? [20:57] fille12: idea* [20:57] jonaslund: fille12: you could always ProxyPass / ProxyPassReverse in apache [20:57] jonaslund: if you insist on having apache in front that is [20:58] fille12: got almost 10 sites on the server, but i whant to build a node.js site and deploy it [20:58] MrTopf has joined the channel [20:58] jonaslund: fille12: look up ProxyPass / ProxyPassReverse in your apache manual [20:59] fille12: jonaslund thanks mate [20:59] fille12: jonaslund swedish? [20:59] mcluskydodallas has joined the channel [20:59] bene has joined the channel [20:59] jonaslund: yes, but i don't take kindly to unsolicited pm's [21:00] moop has joined the channel [21:00] tdegrunt has joined the channel [21:00] fille12: okej. [21:00] AvianFlu has left the channel [21:01] gazumps has joined the channel [21:01] slloyd has joined the channel [21:01] markwubben has joined the channel [21:03] newy_ has joined the channel [21:05] mikeric has joined the channel [21:05] niftylettuce: tjholowaychuk: yt? [21:09] sherod has joined the channel [21:10] raynos: Theres another article on dzone about node (http://java.dzone.com/articles/java-non-blocking-servers-and). This one actually seems to address the general business concerns againts using node.js [21:11] astropirate has joined the channel [21:11] raynos: But I feel it seems to be too negative / worried / over valueing disadvantages and under estimating the advantages of using non blocking IO [21:11] flippyhead has joined the channel [21:11] postwait has joined the channel [21:12] raynos: Is the article unfairly biased against node or am I just being a bit too defensive of node. [21:12] cafesofie has joined the channel [21:13] SubStack: reasoning about multiple execution pointers and scheduling will continue to be difficult [21:13] SubStack: that's my biggest complaint about threads: reasoning about concurrency with shared memory is crazy hard [21:14] alex_b has joined the channel [21:14] bbttxu has joined the channel [21:15] sirkitree has joined the channel [21:16] ryah has joined the channel [21:17] dshaw_1 has joined the channel [21:17] jonaslund: it's not crazy hard.. it's just so easy to do stupid shit if you don't think about it [21:17] jonaslund: (it's not crazy hard if you do things the "right" way) [21:17] jmoyers: raynos: this guy is a java ee dude [21:18] jmoyers: that just throws all his bullshit out the window imo [21:18] jbpros has joined the channel [21:18] raynos: jmoyers: I know. I'm curious whether the generic Enterprise guy made a reasonable judgement or not [21:18] SubStack: jonaslund: it's easy to do it the wrong way and hard to do it the right way... I'd consider that "hard" [21:18] jmoyers: well he's right in that many platforms use a similar concept [21:18] raynos: I can't tell whether node.js has any place for being used in situations where .NET / J2EE stacks are used [21:18] jmoyers: we have thread pools and such and blah blah blah [21:19] jerrysv: java was fun back in the early days, before it became so burly filled with more needing to know all of the api documentation rather than needing to know the language [21:19] niftylettuce: tjholowaychuk: I pushed github instructions to readme.md for stylus [21:19] SubStack: where j2ee stacks are used there are other more systemic problems [21:19] easternbloc has joined the channel [21:19] tjholowaychuk: niftylettuce you're not using npm? [21:19] jonaslund: jerrysv: i disagree.. the only benefit today for java is that you can accomplish very much by just writing shims to existing libs for this and that [21:19] raynos: I've actually never used j2ee so I dont know whether its good/bad [21:20] jmoyers: its just a heavy container [21:20] SubStack: one of the biggest draws for me about node is reductionism [21:20] jonaslund: jerrysv: OTOH if you want to do a lot of stuff you're in for pain [21:20] jmoyers: that is supposed to do things such as handle clustering for you [21:20] jmoyers: and he mentioned ORMs and such [21:20] SubStack: take away all the stupid bullshit and just delete it, don't even make it possible [21:20] jmoyers: java guys are used to hibernate et al [21:20] niftylettuce: tjholowaychuk: no I am, but latest version from npm didn't have 0.0.8 yet so I did it with git, and plus all my projects have different node_modules, so its easier to maintain multiple servers using a node_modules folder vs npm at times [21:20] SubStack: like promises, throw that shit in user space [21:20] jonaslund: SubStack: personally i love the Erlang model of shared immutable data [21:20] jerrysv: jonaslund: so much domain specific knowledge though [21:20] niftylettuce: tjholowaychuk: you can deny pull request, i just threw it in there since I had just done it earlier today [21:20] jmoyers: node.js doesn't have hibernate and garbage of its ilk because most of us view that kind of stuff as technical debt [21:21] jonaslund: ACTION holds his thumbs for JS to receive immutable structures [21:21] SubStack: that java example of a tcp server on that page has all of these inside-out interfaces that you have to know about to write stuff tersely [21:21] raynos: jmoyers: I agree on that. [21:21] SubStack: but in node that is the only way to do it [21:21] raynos: KISS. Write micro frameworks [21:21] jmoyers: he mentions "seem to specify a standardised way of writing components" -- by which in the EE world, he's thinking of various BEANS of various types and such [21:21] raynos: Dont over engineer. [21:22] SubStack: jonaslund: you might like dnode, which I wrote [21:22] raynos: jmoyers: isnt that what require is for ;) require allows you to require a component [21:22] SubStack: although I've never used erlang [21:22] jmoyers: well not exactly [21:22] jmoyers: in java ee there are different classes of component that have scaling behaviors and such [21:22] jonaslund: SubStack: my point for immutable datatypes is to allow for efficient use of in-process concurrency [21:22] pifantastic has joined the channel [21:22] unomi has joined the channel [21:22] jmoyers: and the java engineers at my shop loooooove shit like automatically generated SOAP interfaces [21:23] jmoyers: i tend to hate that with an intense passion [21:23] SubStack: jonaslund: dunno, I tend to like pushing that stuff into c++ bindings with a nice javascript api [21:23] sherod has joined the channel [21:23] jmoyers: its all about style -- these guys like to be cradled in a bunch of verbose xml driven build systems and automatically generated interface code and deep long winded abstractions [21:23] jerrysv: ugh. soap [21:23] jmoyers: HOWEVER [21:23] jmoyers: java ee is used in some enterprise environment quite well [21:24] jonaslund: SubStack: err what stuff ? [21:24] jmoyers: financial systems and the like [21:24] jmoyers: whatever man, im not interested [21:24] Poetro1 has joined the channel [21:24] niftylettuce: tjholowaychuk: the git clone resolved my CL issue earlier today for nib, so just for consistency I did a git clone on both stylus and nib and installed that way [21:25] jmoyers: even getting an application container up and running makes me want to puke [21:25] jmoyers: tomcat, jboss, blah blah [21:25] springmeyer has joined the channel [21:25] niftylettuce: tjholowaychuk: looks like you pushed 0.0.8 though so I can go back to npm baby :) [21:25] tjholowaychuk: yup :p [21:25] ako has joined the channel [21:25] SubStack: jonaslund: problems where you want shared-state concurrency for performance reasons [21:26] SubStack: I like it when those sorts of problems are self-contained and I can't treat them with a higher-level interface as if it wasn't insanity underneath [21:27] beawesomeinstead has joined the channel [21:27] softdrink has joined the channel [21:27] niftylettuce: tjholowaychuk: dang good job w/stylus bro [21:27] jmoyers: facade to the max [21:27] niftylettuce: tjholowaychuk++ [21:27] v8bot: niftylettuce has given a beer to tjholowaychuk. tjholowaychuk now has 29 beers. [21:27] tjholowaychuk: thanks man [21:28] niftylettuce: i'm coming from sass/compass :) [21:28] niftylettuce: the days of "compass watch" are over [21:28] niftylettuce: and compass compile -e production [21:28] niftylettuce: yuckK [21:28] tjholowaychuk: haha [21:28] tjholowaychuk: is that how they use it? [21:28] duncanbeevers: Those days are ending for the Rails folks too. [21:29] tjholowaychuk: sass has been around for 5 years it should be nicer to use than that [21:30] jmoyers: people talk about compass all the time [21:30] jmoyers: one of the main reasons i was hesitant to go with stylus [21:30] jmoyers: i dove in head first though, never looked back ;-) [21:30] tjholowaychuk: compass docs are great [21:30] softdrink: people use Windows all the time… ;) [21:30] jonaslund: SubStack: well yeah.. you can do that but right now you're still bound to a single in-process JS thread.. even if web-workers was implemented as in-memory you'd still need serialization so shared state would not really help much. [21:31] JianMeng has joined the channel [21:31] jmoyers: tjholowaychuk: yeah, they seem to take a designer slant also, so people who are just focused on markup can grok it easily [21:31] jmoyers: as silly as it is [21:32] tjholowaychuk: maybe yeah [21:32] jmoyers: the website is damn fine looking [21:32] tjholowaychuk: it's pretty verbose but easy for designers i guess [21:32] jmoyers: well it may or may not actually be easier for designers [21:32] jmoyers: but their marketing is solid [21:32] tjholowaychuk: for sure [21:32] tjholowaychuk: like i said though, stylus is reallllly new [21:32] jmoyers: yerp [21:33] tjholowaychuk: ~2 months vs 5 years [21:33] hellp has joined the channel [21:34] niftylettuce: tjholowaychuk: so we don't need to build a library for docs, we can just use .md's and such [21:34] tjholowaychuk: haha yeah [21:34] tjholowaychuk: nib has like no docs at all [21:34] niftylettuce: tjholowaychuk: i'm sure I can help [21:34] tjholowaychuk: so it's kinda hurtin but whatever it will happen some day [21:34] niftylettuce: tjholowaychuk: maybe even get some stylus screenr's up myself to help get support [21:34] jmoyers: life is hard when you have 60 modules ;-) [21:35] SubStack: jonaslund: yes you get a single JS thread but you can use the thread pool in c++ land, which is probably for the best [21:35] niftylettuce: jmoyers++ [21:35] v8bot: niftylettuce has given a beer to jmoyers. jmoyers now has 1 beers. [21:35] niftylettuce: I haz no more b33rz [21:35] SubStack: because then whenever you write in JS you don't have to care about threaded execution [21:35] SubStack: which naturally lends itself to a module-driven design [21:35] ryah has joined the channel [21:35] jonaslund: you wouldn't really care much more with immutable data passing [21:36] SubStack: one person can figure this shit out for library X and publish it to npm, everybody wins [21:36] niftylettuce: tjholowaychuk: why named "nib" [21:36] tjholowaychuk: a stylus nib [21:36] tjholowaychuk: i dunno [21:36] tjholowaychuk: haha [21:36] tjholowaychuk: lame name [21:36] niftylettuce: jonzin.js [21:36] niftylettuce: jonzin for some sexy css? [21:37] niftylettuce: use stylus + jonzin [21:37] niftylettuce: lol [21:37] kylefox has joined the channel [21:37] SubStack: jonaslund: well I haven't used erlang but I haven't been to impressed by rpc systems that only pass data around [21:37] SubStack: I like to pass function references around for managing both sides of asynchronous transactions [21:38] mlins has joined the channel [21:39] drefined has joined the channel [21:39] ryah has joined the channel [21:40] beawesomeinstead has joined the channel [21:40] fakewaffle has joined the channel [21:40] sherod_ has joined the channel [21:42] dguttman has joined the channel [21:42] ryanallenbobcat has joined the channel [21:42] k1ttty has joined the channel [21:43] mcschied has joined the channel [21:49] Wizek has joined the channel [21:50] mc_greeny has joined the channel [21:50] Yuffster_work has joined the channel [21:53] slloyd has joined the channel [21:56] ExsysHost has joined the channel [21:58] jmoyers: is there a tiny library that exists that abstracts mq back end? [21:58] jmoyers: and has things like wildcards * and such that amqp/rabbitmq and ilk support [21:58] jmoyers: for channels [21:58] jmoyers: i just want an in-process pubsub to start so i don't have to deal with starting an actual mq during dev [21:59] nivoc has joined the channel [22:00] greg has joined the channel [22:03] a|i has joined the channel [22:04] a|i: why is that big sites, like facebook, never use _push_ for realtime messaging? why is that they prefer _pulling_ instead? in the case of facebook, they use long polling. [22:04] shimondoodkin has joined the channel [22:04] ptlo has joined the channel [22:05] a|i: any efficiency difference when using websocket push vs long polling with node+socket.io? [22:06] jerrysv: ali: yes. flashsockets have a slow startup [22:07] a|i: jerrysv: on the server side, or the client side? [22:07] jerrysv: ali: not sure, never tried to track down which [22:08] a|i: is node's efficiency comarable to erlang, when it comes to handling many long-polling users? [22:08] m00p has joined the channel [22:08] tauren: a|i: perhaps facebook implemented realtime messaging when long polling was the best and most compatible solution at the time? [22:09] a|i: tauren: isn't it, still? [22:09] duncanbeevers: Long-polling works in more hardened environments. Corporate firewalls are likely to have permissive http policies. [22:09] eksmith has joined the channel [22:10] a|i: duncanbeevers: correct, I guess long-polling has the best coverage of all. [22:10] tauren: i suppose so, but its not what i'd use for my sites [22:10] jerrysv: tauren: socket.io, let the best of breed figure itself out [22:10] duncanbeevers: There's no reason you can't support more than one protocol. [22:10] tauren: but then i don't have the reach of facebook! [22:11] duncanbeevers: Limiting yourself just limits your potential customer base. [22:11] a|i: it seems the only downside of long-polling is, using a lot of resources on the server side due to keeping a connection open for ever, but erlang does not care about that. [22:11] tauren: right, of course. i'm using socket.io. I'm just saying that something like it didn't exist when FB created their solution. [22:11] jerrysv: duncanbeevers: bummer about the bourbonic, btw -- i saw your tweet right after i saw the bailey's tweet about it being replaced [22:11] jonaslund: a|i: neither does node [22:11] a|i: duncanbeevers: but long-polling supesedes all other methods? [22:12] mundanity has joined the channel [22:12] a|i: jonaslund: I would be very interested to see some benchmarking of node vs erlang on this. [22:12] duncanbeevers: jerrysv: Yeah, they said that was gone within 24 hours. [22:13] jerrysv: duncanbeevers: i'm still debating going tonight. plan on trying to hit the javascript admirers meeting tomorrow [22:13] roar has joined the channel [22:13] a|i: jerrysv: the problem with socketio various methods is that, it's has a big fat client side files: the js file is huge, the swf file is huge-er. [22:14] tauren: jerrysv: you in portland? [22:14] jerrysv: tauren: yup yup. you? [22:14] nivoc1 has joined the channel [22:14] tauren: yep [22:14] tauren: tualatin to be exact [22:14] duncanbeevers: TMI [22:14] tauren: are those meetings good? never been [22:14] jerrysv: tauren: live in nopo, work out next to the raccoon lodge [22:14] drudge: how is the wedding in portland [22:14] jerrysv: tauren: no idea, had to work late last time [22:14] jerrysv: drudge: wedding? [22:15] tauren: cool. i play soccer near racoon. soccerplex [22:15] drudge: err weather [22:15] tauren: comfortable and sunny [22:15] jerrysv: drudge: perfectly clear skies right now [22:16] Silly_Wabbit has joined the channel [22:16] jonashuckestein has joined the channel [22:17] felipernb has joined the channel [22:17] jerrysv: tauren: did you go to nodeconf? [22:17] nibblebot: any mongoose users in here? Does all logic live in my router/controller functions and the model stays lean? [22:18] tauren: no, i couldn't make it. i didn't start working with node until all the tickets were sold out. [22:18] tauren: jerrysv: you? [22:18] felipernb: hi! I'm starting to use nodejs and express, what do you use/suggest to gzip the responses? [22:18] context: nibblebot: skinny controller fat model [22:19] context: nibblebot: controller is to read the request and return a response. model is where most/all business logic goes [22:19] nibblebot: there are no examples i've seen that talk about extending the models [22:19] jerrysv: tauren: yeah, managed to buy a ticket right out of the gate with jsconf bundle, and my SO managed to get one when nodeconf tix went available. we got to hit both confs together [22:19] mikeal has joined the channel [22:20] nibblebot: context: ^ [22:20] tauren: sweet. no brainer living here in town. i was upset i couldn't go. tried to make one of the parties, but it didn't work out. [22:20] jerrysv: tauren: bummer - there's always js admirers [22:21] nibblebot: context: my mongoose models just return an object that contains Schema() defs, it seems like it doesn't make sense to add model methods to the schema definition file [22:21] tauren: jerrysv: i've got my daughter tomorrow night, but i'm trying to work something out so I can go. [22:22] tauren: jerrysv: you working with node for fun, a side project, or your job? [22:22] jerrysv: tauren: fun and side projects currently, trying to work it into job. you? [22:24] tauren: jerrysv: i'm self employed, so I get to use it for my job. ;) however, it will be a while before I really have anything in production. [22:24] jonashuckestein has joined the channel [22:25] greg has joined the channel [22:26] jmoyers: arraggghghghh @ github being slow today [22:26] jmoyers: :: punches repository in the face :: [22:27] tilgovi: can anyone with a mac tell me what `pkg-config --cflags --libs pthread-stubs` gives? [22:28] captain_morgan has joined the channel [22:28] rytas has joined the channel [22:29] a|i has joined the channel [22:29] a|i has joined the channel [22:29] joshthecoder: tilgovi no output for me. [22:29] tilgovi: joshthecoder: as in its blank, but no errors? [22:30] joshthecoder: yeah blank [22:30] tilgovi: cool. thanks. [22:30] joshthecoder: reports version being 0.1 [22:30] mikeric has joined the channel [22:31] frewsxcv: what database module is the most solid at the moment? [22:31] prettyrobots has joined the channel [22:31] frewsxcv: i've found that pg gives absolutely useless errors and doesn't help me debug :-/ [22:31] marshall has joined the channel [22:31] hever has joined the channel [22:32] eyesUnclouded has joined the channel [22:33] captain_morgan: Can anyone give an advice on getting a module to statically compile into a Node module? [22:33] captain_morgan: My build works and linking works [22:33] captain_morgan: but when I attempt to load I get Symbol not found: __ZTI5******* [22:34] captain_morgan: Expected in: flat namespace [22:34] brianmario has joined the channel [22:34] jerrysv: captain_morgan: are you linking against a lib or other .o's? [22:34] captain_morgan: and checking with `nm -gmu` I get (undefined) external __ZTI5***** (dynamically looked up) [22:34] captain_morgan: .a [22:34] hever: Hello I'm going to parse a website and fetch some data from it. Do you have any nice mod that you can recommend? Actually I'm thinking of doing it using massive RegExp rules but it's a table I've to read in so you've perhaps some ideas... [22:34] captain_morgan: hever: jsdom [22:35] jerrysv: captain_morgan: that was a straight up c lib? [22:35] jerrysv: captain_morgan: i fixed my problem by compiling the lib from source and linking straight against it [22:35] captain_morgan: cpp, extern "C" for the node parts [22:35] jerrysv: captain_morgan: may not have been the most elegant solution, but it "worked" [22:36] hever: It sucks a bit that you can't read somewhere what a mod is doing or am I just not getting it? [22:38] captain_morgan: jerrysv: So somethinkg like bld.stlib(source..., target..., name...) [22:39] jerrysv: captain_morgan: my c++ is rusty at best, i only made it through the linking stage on mine by adding the c src into the wscript and fixing a bunch of cast errors [22:40] captain_morgan: ohhh, yeah, that wont fly [22:40] greg has joined the channel [22:40] liar has joined the channel [22:41] avalanche123 has joined the channel [22:42] skm has joined the channel [22:43] skm has joined the channel [22:43] a|i_ has joined the channel [22:43] a|i_ has joined the channel [22:43] davidbanham has joined the channel [22:44] a|i_ has joined the channel [22:44] a|i_ has joined the channel [22:47] caolanm has joined the channel [22:47] CarterA has joined the channel [22:48] fakewaffle: how do i test if something is in an exports.? [22:49] iFire` has joined the channel [22:50] riven` has joined the channel [22:50] Wizek_ has joined the channel [22:50] Nican_ has joined the channel [22:50] Fuu` has joined the channel [22:51] jmoyers: fakewaffle: you mean from outside a module? [22:51] jmoyers: typeof require('module').name [22:51] CarterA: if (exports.something) { //it's in exports. } [22:51] mikeal has joined the channel [22:52] fakewaffle: jmoyers: yeah [22:52] jmoyers: then that snippet should work [22:53] fakewaffle: i need to use typeof? [22:53] titanous has joined the channel [22:53] jmoyers: thats just whatever [22:53] jmoyers: one way [22:53] jmoyers: if() probably works [22:53] jmoyers: if(require('module').exportName) [22:53] jmoyers: it will be undefined if it doesn't exist [22:54] fakewaffle: ok thanks :) [22:54] xandrews has joined the channel [22:56] jerrysv: stupid question i asked late at night on saturday but never got an answer to, hoping to get a better answer today [22:56] Wizek has joined the channel [22:56] willwhite has joined the channel [22:56] harth_: [22:56] jerrysv: i'd like to coerce an argument in a c++ addon to binary data and then back to node as its proper type, thoughts? [22:57] titanous: I'm running into what seems to be a regression in https.get / v0.4.8: https://gist.github.com/989941 [22:57] titanous: end isn't firing [22:57] Wizek_ has joined the channel [22:58] steph021_w has joined the channel [22:58] maushu_ has joined the channel [22:58] xicubed has left the channel [22:59] azeroth_ has joined the channel [22:59] hassox has joined the channel [22:59] harth_: [22:59] harth_: [23:00] jmoyers: tjholowaychuk: with Soda and Sauce, you can actually get full videos of cross browser tests? [23:00] cloudhead has joined the channel [23:00] jmoyers: so ui can actually be verified with your eyes and such? [23:00] tjholowaychuk: jmoyers yup [23:01] jmoyers: hmmm HMMMM [23:01] jmoyers: i may just have to try this out [23:01] tjholowaychuk: you see a list of tests, red ones for failures and you can click to view the video to see what happened [23:01] tjholowaychuk: and the selenium log [23:01] jmoyers: i've used selenium rc and such [23:01] titanous: can anyone tell me if I'm doing something wrong, I'm getting a regression in v0.4.8: https://gist.github.com/989941 [23:01] jmoyers: but its always been a pain because i cant cover the UI for IE etc etc [23:02] captain_morgan has joined the channel [23:03] jmoyers: titanous: i've heard off and on that https wasn't/isn't emitting end [23:03] titanous: is there a bug filed somewhere? [23:03] jmoyers: https://github.com/joyent/node/issues/728 [23:03] kkaefer: hmm [23:03] titanous: thanks [23:03] mikeal has joined the channel [23:04] kkaefer: [0] on a SlowBuffer doesn't seem to return the correct result [23:04] jerrysv: so nobody has any thoughts or answers for me? i am going to log off and go pout. [23:04] jerrysv: (not really) [23:04] davidbanham has joined the channel [23:04] igl: Firefox 5 beta arrives wow [23:04] dshaw_ has joined the channel [23:05] igl: mozilla is really pushing their release cycle now [23:06] systemfault: Normal. [23:06] systemfault: Chrome somehow... motivated them :P [23:07] jerrysv: systemfault: i just hope we don't suddenly jump to mozilla 10 in a couple of months [23:07] postwait has joined the channel [23:07] duncanbeevers: If only the millions of dollars Google gave them prior to launching Chrome had been more motivating... [23:08] systemfault: It won't be long.. Firefox 7 is supposed to be released before the end of the year [23:08] niftylettuce: rewind back to 98' [23:08] niftylettuce: netscape ftw? [23:08] systemfault: Haha [23:09] systemfault: Mozilla had a "monopoly" as being the only good alternative to IE... So they bacame lazy.. [23:09] systemfault: And we've been stuck with 3.x for... I can't remember how long [23:09] niftylettuce: sorry I just watched Code Rush @ http://blip.tv/coderush/code-rush-2305163 [23:10] systemfault: The browser wasn't improving at all. [23:11] wookiehang0ver has joined the channel [23:13] riven has joined the channel [23:13] HerrTopf has joined the channel [23:13] iori has joined the channel [23:16] ChrisPartridge has joined the channel [23:16] niftylettuce: SubStack: hey what is proper usage of mounting multiple files with browserify, e.g. http://pastie.org/private/xjkdetf9tqrrzs2z9obya [23:17] niftylettuce: SubStack: can you have an array of mounts/entries? [23:17] creationix has joined the channel [23:18] xsyn has joined the channel [23:18] pauls has joined the channel [23:19] segaway has joined the channel [23:20] coreb has joined the channel [23:20] mikeric has joined the channel [23:20] jonashuckestein has joined the channel [23:21] sechrist: http://www.thriftdb.com/ [23:21] sechrist: can this be implemented on top of riak [23:21] sechrist: I'd rather not see another backend datastore started from scratch [23:22] ryah has joined the channel [23:22] aphelion has joined the channel [23:22] aphelion has joined the channel [23:22] jerrysv: sechrist: i dunno, might as well. and write a framework at the same time [23:22] sechrist: right now I trust the basho guys [23:22] sechrist: f errbody [23:22] jerrysv: ACTION is attempting to trigger a Marak posting of framework image [23:23] ParadoxQuine has joined the channel [23:23] jerrysv: oh, he's not even here [23:23] wookiehangover has joined the channel [23:23] hever: I'm parsing a website and I'm getting "SyntaxError: could not parse "\r"" I tried to replace the \r but that was not possible. Is this a but, must I convert the content somehow or activate any compatibillity ? [23:24] hever: I meant "Is this a bug?" [23:24] lakin has joined the channel [23:25] mjr_: sechrist: where did thriftdb come from? Is that super new? [23:26] sechrist: I think it got onto my radar via mikeal [23:26] sechrist: not sure though [23:26] mikeal: what? [23:26] sechrist: did you tweet about thriftdb [23:26] sechrist: oh wait no it's on the front page of hacker news [23:26] sechrist: hurf [23:26] mikeal: yeah, not me [23:27] mikeal: i've been looking at leveldb tho [23:27] sechrist: you were tweeting about riak stuff [23:27] sechrist: ooh [23:27] sechrist: that's what [23:27] sechrist: that* [23:27] creationix: leveldb rocks [23:27] mikeal: yeah, tilgovi is building a PouchDB api on top of it [23:27] mikeal: which is the new IDBCouch [23:27] sechrist: all of these couches and pouches and caprisun databases [23:27] mikeal: so we'll have an in browser version for IndexedDatabase [23:27] sechrist: I can't keep up [23:27] mikeal: and a leveldb version for node.js [23:27] creationix: PouchDB? does that mean it's pocketable? [23:27] mjr_: That's gonna be great. [23:28] tilgovi: creationix: yes [23:28] mikeal: PouchDB is a portable CouchDB in javascript that can replicate with CouchDB [23:28] creationix: leveldb bindings are fun [23:28] tilgovi: pocketable indeed. [23:28] sechrist: oh my [23:28] tilgovi: creationix: I might take a stab at the WriteBatch right now. [23:28] creationix: tilgovi: go for it, I was about to, but I've been busy [23:28] creationix: should be pretty easy [23:28] tilgovi: yep. [23:29] mjr_: couchdb replication / changes is such a great feature. [23:30] mscdex: http://idle.slashdot.org/story/11/05/24/1257229/Increased-Power-Usage-Leads-to-Mistaken-Pot-Busts-for-Bitcoin-Miners [23:30] mscdex: hah [23:30] maqr has joined the channel [23:30] creationix: mjr_: it shouldn't be hard to implement the redis api on top of leveldb either [23:30] sechrist: burn [23:31] niftylettuce: anyone here use browserify? [23:31] creationix: just not sure the use case [23:31] azeroth_______ has joined the channel [23:33] alex_b has joined the channel [23:33] xandrews has joined the channel [23:34] bfuster has joined the channel [23:35] jonashuckestein has joined the channel [23:35] kmwallio has joined the channel [23:35] febits has joined the channel [23:36] SubStack: niftylettuce: I do I do [23:36] mjr_: creationix: are you guys exploring putting node+leveldb in your distro? [23:37] creationix: mjr_: not officially, but it's something I want to explore [23:37] mjr_: because that sounds like a great solution for different devices [23:37] creationix: mjr_: right, if not for internal use, it would be great for third-party devs [23:37] mjr_: I'm so over sqlite [23:37] rchavik has joined the channel [23:37] creationix: I'd prefer sqlite over what I have now [23:37] mjr_: Seems like a great solution for mobile devices, but it's slow slow slow [23:37] jonashuckestein has joined the channel [23:37] SubStack: niftylettuce: you can have an array of entries I'm pretty sure but to have multiple mounts you can just have multiple calls to browserify [23:37] creationix: mobile is slow slow slow [23:38] mjr_: sure, then combine that with sqlite for ultimate slowness [23:38] creationix: lol [23:38] creationix: I haven't built my module on webos yet, but I know node is much slower on mobile [23:38] mjr_: of course [23:38] kkaefer: sqlite is pretty fast far what it is [23:38] SubStack: niftylettuce: so pretty much what you've got there in that paste looks fine [23:39] mjr_: it's not so slow that I don't use it. [23:39] alek_br_ has joined the channel [23:39] creationix: mjr_: what level of queries do you usually do? [23:39] kkaefer: it's essentially a free form file format that you can query with sql [23:39] mjr_: But it's pretty damn slow [23:39] creationix: leveldb doesn't have any query engine, but one can be build on top of it [23:40] mjr_: If you can batch up your sqlite queries, you can avoid a lot of the per-transaction overhead and it's pretty fast. [23:40] mjr_: But if your access pattern or your programming language doesn't easily support this, the granular access to sqlite is brutally slow [23:41] creationix: ahh yeah, I don't think there are any locks in leveldb [23:41] creationix: just mvcc through the nature of the db [23:41] kkaefer: mjr_: read access is actually relatively fast, write access is pretty slow though [23:41] mjr_: kkaefer: yes, for sure [23:41] kkaefer: you can do PRAGMA journal_mode=wal; [23:41] kkaefer: and set sync to 0 [23:41] mjr_: if you can batch writes, sqlite blazes [23:41] kkaefer: and batch inserts into transactions [23:42] hever: I need to replace a \r, any idea how I can do this? [23:42] creationix: hever: in a string? [23:42] hever: yes [23:42] creationix: mystring.replace("\r", newvalue) [23:42] creationix: will replace the first \r in the string and return a new string [23:43] hever: creationix, I'm retrieving html and parsing it... ok but it seems it doesn't ;) [23:43] creationix: do you need the first one, or all of them? [23:43] creationix: that's different [23:43] hever: ooh [23:43] mjr_: kkaefer: not sure if we've tried that yet on iOS. [23:43] creationix: mystring.replace(/\r/g, newvalue) [23:43] kkaefer: stock iOS doesn't support WAL [23:43] kkaefer: it's new in 3.7 [23:43] mjr_: ahh, that's why [23:43] kkaefer: you have to statically compile sqlite if you want that [23:44] hever: it was my fault I thought argument 1 is a regexp as you used it in your second example [23:44] hever: creationix, thanks ! [23:44] creationix: :) [23:44] marcoseliziario has joined the channel [23:45] mikey_p: kkaefer: i'm seriously impressed with the work that's being done with sqlite [23:45] hever: creationix, uhm no and sorry again. It's still not working... [23:45] mjr_: kkaefer: thanks for the tip, I'll check that out. That might actually help us a lot. [23:45] mikey_p: i love that the mbtiles format is just a wrapper on sqlite [23:45] creationix: "Hello\rWorld".replace("\r", "\n") [23:45] kkaefer: mjr_: it's not a lot faster though, not sure whether it's a lot faster [23:45] hever: not with "\r" nor /\r/ or /\\r/ [23:46] kkaefer: mjr_: it's faster if you have multiple database handles writing to the same databases [23:46] jpick has joined the channel [23:46] kkaefer: as it handles logging more gracefully [23:46] creationix: js: "Hello\rWorld".replace("\r", "\n") [23:46] gbot2: creationix: "Hello\nWorld" [23:46] kkaefer: s/logging/locking/ [23:46] mjr_: kkaefer: that's exactly our scenario [23:46] kkaefer: ah, heh [23:46] kkaefer: mikey_p: thanks! [23:46] creationix: js: "lulululu".replace(/u/g, "a") [23:46] gbot2: creationix: "lalalala" [23:47] justinTNT has joined the channel [23:47] mikey_p: kkaefer: i think the whole mapping stack is one of the most interesting projects in node [23:47] creationix: hever: I'd experiment in the node repl or web-inspector console [23:47] creationix: faster feedback that way [23:47] shanez has joined the channel [23:47] kkaefer: mikey_p: we also have https://github.com/developmentseed/bones [23:48] hever: creationix, ok now I got it. It must be something like t.write(ent.encode(response).replace(/[\r\n]/g, '')); [23:48] mikey_p: kkaefer: yeah, i've been following that closely [23:48] hever: I replaced the response before I encoded it ;) [23:48] hever: that won't work ;) [23:48] mikey_p: kkaefer: right now, I'm toying with trying to handle some small scale tile serving for one of our clients [23:49] creationix: mjr_: so do you do a lot of joins or other relational things, or will simple key/value or couch-style map-reduce be enough? [23:49] mjr_: no joins, just a couple of simple indicies [23:49] mikey_p: ACTION just found http://support.mapbox.com/kb/tilestream/using-tilestream-with-drupal, this is awesome! [23:50] creationix: maybe indexdb will make it into ios some day [23:52] JoshC has joined the channel [23:52] davidbanham has joined the channel [23:54] eliziario has joined the channel [23:54] dgathright has joined the channel [23:54] raynos has joined the channel [23:55] [[zz]] has joined the channel [23:55] pekim has joined the channel [23:57] jonashuckestein has joined the channel [23:57] deedubs has joined the channel [23:58] amerine has joined the channel