[00:02] tim_smart: I write negative codes [00:03] qcom: tjholowaychuk: hey, what do I need to add to my express server file to connect stylus to nib? [00:03] tim_smart: For every line I write, I delete 2 lines ^^ [00:03] quackslike: tim_smart: lol [00:03] tim_smart: 2.5 lines rather [00:03] tjholowaychuk: qcom: you'll need the "compile" option for the stylus middleware [00:03] tjholowaychuk: and within that [00:03] tjholowaychuk: add stylus(str).use(nib())...otherstuff.. [00:03] qcom: oh ok [00:04] gf3: tjholowaychuk: parser.js is the prettiest auto-generated code I have ever seen [00:04] qcom: thanks, and I think I found a good example with your finance app [00:04] tjholowaychuk: gf3: ahaha thanks [00:04] tjholowaychuk: beats writing it all by hand [00:04] tjholowaychuk: thats forsure [00:04] gf3: hella [00:05] Hamms has joined the channel [00:05] tjholowaychuk: im going to check out that one you suggested too, always cool to see what other people do [00:06] aheckmann has joined the channel [00:08] gf3: tjholowaychuk: releasing the parser generator? [00:08] tjholowaychuk: yup [00:08] tjholowaychuk: still missing some features and error reporting is meh right now but yeah [00:08] JianMeng has joined the channel [00:09] doctorm has joined the channel [00:10] gf3: tjholowaychuk: generated parser from PanPG: https://github.com/gf3/IRC-js/blob/master/lib/parser.js [00:10] tjholowaychuk: haha eyah i saw that [00:10] tjholowaychuk: its madness [00:11] doctorm: I'm having some trouble understanding how n is supposed to work. I installed node 0.5.0 and npm, but some of the packages I need are restricted to 0.4.7. After installing n as a user and changing N_PREFIX so it points to a user directory, I install 0.4.7 successfully. How do I make it so that is the default node binary to use for this user account? Is that built into n or do I do it manually? [00:12] ji0n has joined the channel [00:12] tjholowaychuk: gf3: doesn't look like it uses functions for recursion so it's probably faster [00:12] tjholowaychuk: i'll try it out [00:12] tjholowaychuk: however does not look fun to debug haha [00:12] gf3: heh [00:13] gf3: well thankfully it has pretty good error reporting [00:13] gf3: also inimino and azatoth are usually around to bug [00:15] gf3: tjholowaychuk: I kind of like a separate walking phase, because things can get pretty hairy when the grammar rules and parsing logic are mixed [00:15] gf3: although your example is clean and easy to understand [00:16] yhahn has left the channel [00:16] tjholowaychuk: that's the point of a recursive descent parser, it uses recursion to apply the rules [00:16] tjholowaychuk: nothing wrong with that [00:16] tjholowaychuk: it's just one of the many alternatives [00:16] Marak: hey guys [00:16] Marak: im writing this blog article right now, could someone succintly explain to me how to say this statement is wrong: "node solves the problem by changing how a connection is made to the server. Instead of spawning a new OS thread for each connection (and allocating the accompanying memory with it), each connection creates a process, which doesn't require the memory block to go with it." [00:16] themiddleman_itv has joined the channel [00:16] tjholowaychuk: just like you could say mixing the lexer with the parser is "bad" [00:16] Marak: tjholowaychuk: ? [00:17] tjholowaychuk: sorry haha talking to gf3 [00:17] Marak: the word "process" there bothers me [00:17] Marak: tjholowaychuk: i know, im just harrassing you [00:17] doctorm: Also, what's the most common practice for mapping domains to node servers? I'm used to apache, but I was just going to use node-http-proxy as a reverse proxy. Is this kosher? [00:17] Marak: doctorm: dude, use haibu [00:17] Marak: doctorm: for real [00:17] Marak: https://github.com/nodejitsu/haibu [00:18] doctorm: Marak: hadn't heard of that, just getting started exploring node recently, thanks [00:18] Marak: doctorm: its our application server built on top of httpProxy [00:18] Marak: doctorm: we working on the CLI tool now, but haibu is super powerful [00:18] Marak: new release, but we use it in production [00:18] gf3: tjholowaychuk: of course, just personal preference when it comes to code maintenance [00:19] doctorm: Marak: Sounds good, might be overkill for just getting a domain mapped on my personal VM ;) But I'll check it out. [00:19] mertonium has joined the channel [00:19] phyrephox has joined the channel [00:19] Marak: doctorm: its a one line install, one line start [00:19] Marak: doctorm: adding one site is trivial :p [00:19] phyrephox: hi guys, [00:19] tsesame has joined the channel [00:19] Marak: doctorm: super small codebase too [00:20] phyrephox: for some reason npm is installing packages to ./node_modules (in the directory from which i execute npm) [00:20] Draggor: Any everyauth people here I can pester? [00:20] Marak: doctorm: but yes, there are other options, i just get excited you know :-) [00:20] phyrephox: i thought it was supposed to install to some system location [00:20] doctorm: Marak: Ok awesome, it looks cool, I'll play with it [00:20] isaacs: phyrephox: that's on purpose [00:20] phyrephox: anyone know why npm might be acting in this way? [00:20] PhilK has joined the channel [00:20] isaacs: phyrephox: because i made it act that way [00:20] isaacs: on purpose [00:20] _fat has joined the channel [00:20] Marak: doctorm: let me know, #nodejitsu for support too [00:20] flippyhead has joined the channel [00:20] phyrephox: i see [00:20] isaacs: phyrephox: try it. you'll like it :) [00:20] softdrink has joined the channel [00:20] Marak: isaacs: can you tell me why this is wrong? "node solves the problem by changing how a connection is made to the server. Instead of spawning a new OS thread for each connection (and allocating the accompanying memory with it), each connection creates a process, which doesn't require the memory block to go with it." [00:20] gf3: doctorm: virtually every production http server has some sort of proxy method [00:20] doctorm: Marak: Ah, right on, I ran across that when looking for possible hosting [00:21] isaacs: phyrephox: install with -g for cli apps that you run from the command line. install locally when you want to require() something [00:21] mertonium has left the channel [00:21] jhford has joined the channel [00:21] phyrephox: isaacs: okay, thanks [00:21] isaacs: Marak: i don't even know where to start [00:21] rubydiamond has joined the channel [00:21] phyrephox: isaacs: so every project has its own set of packages? [00:21] Marak: isaacs: im about to own ibm.com, just need to finish that last sentence [00:21] _fat: isaacs: are there docs for using npm not as a cli? [00:21] Marak: isaacs: the word "process" is defintely wrong there [00:21] tjholowaychuk: gf3: how do you use theirs? does it have a cli? [00:21] isaacs: _fat: not much. just what's in the readme [00:21] _fat: ah ok [00:22] gf3: tjholowaychuk: PanPG? [00:22] isaacs: _fat: you could check out the bin/npm.js for an example of it [00:22] tjholowaychuk: yeah [00:22] tjholowaychuk: doesnt seem to [00:22] _fat: alright cool -- thanks for the tip [00:22] isaacs: _fat: in short: npm.load({ configs }, function (er, npm) { if er, then it broke. otherwise, npm.commands.install([args], cb) }) [00:22] rauchg has joined the channel [00:22] gf3: tjholowaychuk: https://github.com/gf3/IRC-js/blob/master/util/generate.js [00:23] mdaisuke has joined the channel [00:23] Marak: isaacs: can i quote you on that? lol "[17:21] Marak: i don't even know where to start" [00:23] _fat: alright [00:23] isaacs: Marak: sure :) [00:23] sh1mmer has joined the channel [00:23] Marak: sweet [00:23] tjholowaychuk: gf3: weird not to ship with that [00:23] Marak: brb [00:24] qcom has left the channel [00:24] AddZero has joined the channel [00:24] gilesgoatboy has joined the channel [00:25] rphillips has joined the channel [00:25] gf3: tjholowaychuk: indeed, but easily fixable [00:26] alek_br__ has joined the channel [00:26] rauchg has joined the channel [00:26] zackattack_ has joined the channel [00:26] mateu has joined the channel [00:27] kmiyashiro has joined the channel [00:30] dabailey has joined the channel [00:31] JohnnyL has joined the channel [00:31] JohnnyL: How would one find the outoing internet address of a server on a lan? [00:32] dcampano has joined the channel [00:32] btipling has joined the channel [00:32] JohnnyL: (ie what the people on the internet see) [00:32] ChrisPartridge: JohnnyL: whatismyip.com ? [00:32] mike5w3c_ has joined the channel [00:32] JohnnyL: ChrisBuchholz no , programmatically [00:33] sechrist has joined the channel [00:34] quackslike: JohnnyL: probably the most reliable way would be: /usr/sbin/traceroute [00:34] quackslike: sometimes the traffic will take different routes.. so.. [00:34] Hamms has joined the channel [00:35] quackslike: on one of our LANs the traffic can take one of many routes out. [00:35] neoesque has joined the channel [00:35] mnemonic has joined the channel [00:37] JohnnyL: quackslike: i have to screen scrape traceroute?! [00:37] chalaschek has joined the channel [00:37] xeodox: I have 20 controllers. Instead of adding the middleware to every one of these 20, can I add 1 line of code so that all the controllers get this middleware first (before doing anything esle) [00:38] maushu_ has joined the channel [00:38] ezl has joined the channel [00:39] quackslike: JohnnyL: you could parse the output of it, yes, i'm not sure of another way, it's just a suggestion. [00:39] tmpvar: xeodox, im sure you can.. [00:39] quackslike: JohnnyL: take it or leave it. :) [00:39] xeodox: how would I do that? [00:40] gf3: JohnnyL: mmm: alias ip='curl -s http://checkip.dyndns.com/ | sed '\''s/[^0-9\.]//g'\' [00:40] tmpvar: xeodox, an example in connect : https://github.com/tmpvar/reflex/blob/master/bin/reflex.js#L6 [00:40] xeodox: 40 [00:40] xeodox: 404 [00:40] tmpvar: https://gist.github.com/969748 [00:40] tmpvar: sorry about that [00:40] dguttman has joined the channel [00:41] tmpvar: you should be able to just chain methods like that [00:41] wizard_ has joined the channel [00:41] wizard_ has left the channel [00:41] tmpvar: do your thing, call next() [00:41] xeodox: tmpvar: I'm using express [00:41] quackslike: xeodox: you put the middleware in the config section. [00:41] tmpvar: which runs on top of connect; ) [00:42] xeodox: app.configure(function(){ app.use(...), app.use(...) } ); [00:42] xeodox: that's my configure function [00:42] _fat: isaacs: one more small question... if i'm doing npm.commands.install()... is there any "silent" option... or something to squash npm output? [00:42] tjholowaychuk: xeodox: config functions are optional [00:42] maixmosis has joined the channel [00:43] tjholowaychuk: xeodox: but if you have more than one env (everyone does) then yeah use em [00:43] isaacs: _fat: npm.load({ logfd: null, outfd: null }, function ...) [00:43] tonymilne has joined the channel [00:43] _fat: ahh [00:43] _fat: alright [00:43] _fat: great thanks! [00:43] isaacs: np [00:43] isaacs: if that blows up, lemme know :) [00:43] _fat: ha [00:43] _fat: ok [00:43] xeodox: tjholowaychuk: I'm trying to put a "universal" middleware inside the app.configure() , because I have 20 contorllers and I want all of them to use that middleware, but I don't want to copy and paste to every one of them [00:43] isaacs: _fat: you can also supply a Stream object, and just send it nowhere [00:43] quackslike: xeodox: this is what i have: http://pastebin.com/1VkB68h3 [00:43] _fat: oh interesting [00:43] _fat: alright [00:44] xeodox: quackslike: line 21 to 23 is ur middleare, right? [00:44] tjholowaychuk: xeodox: what's the issue? [00:44] _fat: isaacs: works perfect, thanks! [00:44] isaacs: sweet :) [00:44] eee_c has joined the channel [00:44] isaacs: _fat: do sniff for errors, though. [00:44] kmiyashiro has joined the channel [00:44] _fat: k [00:45] quackslike: yeah i think you can put stuff about the route and it will always do it, like the nerd.js header [00:45] tjholowaychuk: yup [00:45] xeodox: tjholowaychuk: Right now for every controller, I copy and paste the middleware to it. But I don't want to do that. Instead I want to have one line that automatically tells all the controllers to hit that middleware first. [00:45] tjholowaychuk: xeodox: then yeah just add an app.use(whatever) [00:45] xeodox: ahh ok. [00:46] tjholowaychuk: before app.use(app.router) (if you even have this) [00:46] xeodox: thanks quackslike , tjholowaychuk [00:46] xeodox: I don't have app.router lol [00:46] tjholowaychuk: then yeah just chuck it in there somewhere [00:46] xeodox: sweet [00:47] wilmoore has joined the channel [00:47] isaacs: is anyone on the phone? [00:48] isaacs: i'm just hearing weird europop hold music. [00:48] isaacs: wtf. [00:48] aguynamedben has joined the channel [00:48] Maximosis has joined the channel [00:50] jonaslund has joined the channel [00:52] Hamms has joined the channel [00:54] Emmanuel__ has joined the channel [00:54] chunhao: when I use jade, is there some way to check if a variable is set? [00:54] tjholowaychuk: chunhao same way as js [00:54] tjholowaychuk: typeof [00:55] tjholowaychuk: OR if (locals.whatever) which is kinda better than if ('undefined' == typeof whatever) [00:56] chunhao: ah, locals.whatever [00:56] chunhao: thanks [00:56] chunhao: I was just using the variable name directly, and it kept giving me an error about it not being defined [00:56] tjholowaychuk: yeah [00:57] tjholowaychuk: js will do that [00:58] mscdex: europop hold music? it's a trap! [00:59] jtsnow has joined the channel [01:01] flippyhead has joined the channel [01:01] dguttman has joined the channel [01:02] LukeGalea_ has joined the channel [01:03] LukeGalea_: isaacs: Hey. Are you around? [01:03] isaacs: lukegalea: yeah [01:04] LukeGalea_: isaacs: Great! I just tried moving to npm 1.0. I've been using npm bundles since way back so the global -> bundle change is no biggie. But I'm getting tons of "gzip: ... unexpected end of file" errors. [01:04] isaacs: lukegalea: npm cache clean [01:04] isaacs: are you on cygwin? [01:05] LukeGalea_: isaacs: This is on a fresh machine that has never had anything on it before.. and it's Ubuntu 10.10. ... npm cache clean *did* work just now (sweet), but it's not the first time I've tried it. [01:05] LukeGalea_: I had to rm -rf node_modules, then npm cache clean, then npm install [01:06] cwc has joined the channel [01:06] LukeGalea_: lemme see if I can reproduce the problem by starting my deploy over. [01:06] tonymilne: Any idea why i'd get "Can't use $maxDistance with Array." when doing geo queries with Mongoose? [01:06] tonymilne: Something that works fine as a native mongodb query is tripping up in Mongoose. [01:06] ngs has joined the channel [01:07] LukeGalea_: tonymilne: Try using mongodb with verbose options so you can see what's being queried. [01:07] JacobSingh has joined the channel [01:07] mostmodernist has joined the channel [01:07] LukeGalea_: Sometimes mongoose issues weird queries.. [01:07] Torkn2U has joined the channel [01:08] ngs has joined the channel [01:08] tonymilne: Seems like it err before it attempts the query, so mongoose isn't happy with it, more than anything. [01:08] dmojoryder has joined the channel [01:09] dyer has joined the channel [01:09] tmpvar_ has joined the channel [01:12] LukeGalea_: isaacs: I'm getting really inconsistent results here. Now that I've blown away node_modules and I can't get it to install again. Want to take the discussion private to avoid flooding the channel? I can walk you through some serious weirdness here. [01:12] postwait has joined the channel [01:12] Twelve-60 has joined the channel [01:13] justinTNT has joined the channel [01:13] LukeGalea_: isaacs: or would you prefer I just log it in github and revert to the previous version of npm? [01:13] JohnnyL has left the channel [01:13] justinTNT: high, [01:13] LukeGalea_: tonymilne: I haven't tried geospatial stuff in mongoose so I can't help you there.. sorry. [01:14] mscdex: low [01:16] indexzero has joined the channel [01:17] Hamms has joined the channel [01:18] ChrisPartridge: LOL @ the ibm article [01:18] markstory has joined the channel [01:19] mscdex: ibm article? [01:19] ChrisPartridge: http://www.ibm.com/developerworks/opensource/library/os-nodejs/index.html [01:20] tjholowaychuk: " Those servers are stand-alone server products, ready to install and deploy applications instantly" [01:20] tjholowaychuk: wtf [01:20] tjholowaychuk: lol [01:20] mscdex: wth [01:20] mscdex: "each connection creates a process" [01:20] tjholowaychuk: node is easier to install [01:20] mscdex: ??? [01:21] mscdex: :S [01:21] tjholowaychuk: IMO [01:21] tjholowaychuk: ahahha [01:21] tjholowaychuk: wtf [01:21] tjholowaychuk: each connection? [01:21] tjholowaychuk: right on [01:21] kmiyashiro has joined the channel [01:21] mscdex: lol this article is silly [01:22] ChrisPartridge: I love the last dot point in the "Get products and technologies" header at the bottom [01:22] mbrevoort has joined the channel [01:22] ChrisPartridge: "Innovate your next open source development project with IBM trial software," [01:22] tjholowaychuk: ". Node doesn't enable these types of dynamic HTML-driven pages. Again, Node isn't ideally suited to be a web page serve" [01:22] tjholowaychuk: thats because node is not a fucking web framework [01:22] tjholowaychuk: idiots [01:23] tjholowaychuk: haha [01:23] tjholowaychuk: god damn [01:23] ChrisPartridge: "His focus nowadays is on Rich Internet Applications and making them both more complex and simpler at the same time." [01:23] ChrisPartridge: contradict much? [01:23] flippyhead has joined the channel [01:24] tjholowaychuk: what a joke [01:24] mscdex: i also like how they make it sound like you have to have OOP to do event-driven stuff [01:25] xeodox: Right now, when I go to a template, I do this: res.render('template',{locals:myparams} ); [01:25] mscdex: yeah there's so many things wrong with this article [01:26] mscdex: heh [01:26] mostmodernist: xtjholowaychuk i am going to use node as a website server framework, why not? What kind of website isn't a web app? [01:26] xeodox: But typing "locals:params" all the time is cumbersome. How can I automatically shoot the params to the template without typing it all the time? [01:26] tjholowaychuk: xeodox: dont use locals, that's express 1.x stuff [01:26] tjholowaychuk: use [01:26] xeodox: huh? [01:26] xeodox: really [01:26] xeodox: LOL [01:26] tjholowaychuk: res.render(view, { foo: 'bar', my: 'locals' }) [01:27] hassox has joined the channel [01:27] xeodox: res.render('tempalte',params); [01:27] xeodox: that's it? [01:27] xeodox: and params will be shot to the template to be used.. [01:27] tjholowaychuk: mostmodernist yeah sure but the article is targeting node as if it is not capable of being used to serve dynamic content [01:27] tjholowaychuk: which is not the direct goal for node [01:27] tjholowaychuk: because its not a web framework really it's just generic networking [01:28] mostmodernist: "good enough for government work" [01:28] googol has joined the channel [01:28] xeodox: But what if I want to do layout: false? [01:28] LukeGalea_: isaacs: I logged it here: https://github.com/isaacs/npm/issues/906 and here: https://gist.github.com/969789 [01:28] tjholowaychuk: xeodox: you can still pass that [01:28] tjholowaychuk: it just happens to become a local as well [01:28] LukeGalea_: isaacs: will go back to pre 1.0 for now. [01:29] tjholowaychuk: no big deal [01:29] LukeGalea_: thanks. [01:29] isaacs: lukegalea: noooooo!!!! [01:29] isaacs: LukeGalea_: just mkdir node_modules [01:29] xeodox: awesome! thanks [01:30] isaacs: lukegalea: hm, that's odd. [01:30] quackslike: It seems like he still doesnt really know what node is going by: What should you expect from Node in the future [01:30] pyrotechnick has joined the channel [01:30] pyrotechnick: tjholowaychuk: ping [01:30] tahu has joined the channel [01:31] Marak: http://blog.nodejitsu.com/ibm-doesnt-care-about-nodejs-people [01:31] Marak: :-D [01:31] mostmodernist: node is gonna be all kinds of awesome [01:31] tjholowaychuk: pyrotechnick: hey [01:31] tshpaper has joined the channel [01:31] pyrotechnick: any plans to support selenium 2 in soda? [01:31] xeodox: is Node.js the future of web development? Will django and rails decline? [01:31] gtramont1na has joined the channel [01:31] pyrotechnick: i like the idea of not needing the java server [01:31] aguynamedben has joined the channel [01:31] mostmodernist: javascript is going to become like latin when latin was the shit [01:31] xeodox: No way! node.js channel already has more members than the django channel [01:32] pyrotechnick: i just had a play around with the ios examples, it's pretty rad [01:32] xeodox: And it has more members than #rubyonrails [01:32] tjholowaychuk: pyrotechnick: yeah eventually I would like to get soda updated [01:32] pHcF has joined the channel [01:32] devrim1 has joined the channel [01:32] tonymilne: JavaScript is #1 language on github [01:32] jesusabdullah: \o/ [01:33] Marak: tonymilne: HELL YEAH [01:33] ditesh|cassini has joined the channel [01:33] Marak: tonymilne: i watched it take ruby, one day at a time [01:33] Marak: tonymilne: i refresh every day until it did [01:33] pyrotechnick: have you taken a look at v2 yet? easier/harder? [01:33] tjholowaychuk: gf3: cdescent is different [01:33] tjholowaychuk: btw [01:33] tjholowaychuk: hha [01:33] eyesUnclouded has joined the channel [01:33] tjholowaychuk: just a reentrant version of peg/leg that i was talking about [01:33] tjholowaychuk: slowly cleaning up the source [01:33] tjholowaychuk: since its ugly as fuck [01:34] tonymilne: Marak: Yeah, i'd be glad to see the back of rails, et al to be honest. ;) [01:34] tjholowaychuk: pyrotechnick: nah I havent looked at it much [01:34] Marak: i have a feeling this blog post might take our production stack down, oops [01:34] tjholowaychuk: test frameworks are kinda the last thing i want to work on [01:34] tjholowaychuk: very boring [01:35] arthur_kalm has joined the channel [01:35] LukeGalea_: isaacs: I tried mkdir node_modules. No difference. [01:35] mostmodernist: tjholowaychuk how many hours a day do you code? [01:35] alek_br_ has joined the channel [01:36] tjholowaychuk: mostmodernist: 10-ish maybe mon-fri [01:36] ChrisPartridge: Marak: Great work on the blog post [01:36] quackslike: tjholowaychuk: i quite like the look of your shoulda.js project.. [01:36] tjholowaychuk: that's how startups roll [01:36] Marak: ChrisPartridge: upboat? http://news.ycombinator.com/item?id=2543137 [01:36] Marak: :-D [01:36] shanez has joined the channel [01:36] tonymilne: more than 9000 upboats! [01:36] quackslike: Marak: The Bear Grylls image is gold. [01:36] LukeGalea_: isaacs: even more weirdness. [01:36] chunhao: how can I listen to the 'open' event in mongoosejs? [01:36] arthur_kalm: hey, quick question. npm pre 1.0 had the npm bundle command that'd pull down your dependencies declared in your package.json locally. That command is gone in 1.0, what do I use instead? [01:37] pyrotechnick: Marak: use quickmeme next time, but sweet article bro [01:37] isaacs: arthur_kalm: use "install" [01:37] LukeGalea_: arthur_kalm: just npm install [01:37] demastrie has joined the channel [01:37] LukeGalea_: you have to say -g to be the global(ie. non bundle) version [01:37] Marak: lol thanks [01:37] arthur_kalm: is the version required now? [01:37] Marak: you guys rock [01:37] Marak: i just couldnt let IBM shit on everyone here [01:37] Marak: cause thats what they did [01:37] Marak: LIKE WE DONT EXIST [01:37] Marak: FUCK THAT [01:37] arthur_kalm: isaacs and LukeGalea_ thanks [01:38] quackslike: Marak: it's just ignorance, not malice (i assume) [01:38] arthur_kalm: Marak: lol, I have to use websphere at work :'( [01:38] LukeGalea_: isaacs: So you saw how many failures I got during my install. But when I do an npm install, it says very little.. and npm install a third time says nothing at all [01:38] Marak: quackslike: A wise man says, "Never assume malice when stupidity will suffice" [01:38] jchris has joined the channel [01:38] isaacs: lukegalea: -d or -dd will makeit more noisy [01:39] LukeGalea_: isaacs: but npm ls shows a ton of invalid and unmet dependencies. [01:39] quackslike: Marak: aye [01:39] Marak: ACTION says, "I'm trolling at optimal efficiency"  [01:39] arthur_kalm: isaacs: sorry, I should make my question a bit more explicit. Does the package.json require a version number for the dependencies now? [01:39] Marak: :-D [01:39] arthur_kalm: before you could just leave the version blank and it'd pull down the latest [01:39] quackslike: Marak: you posted something about writing a new blog entry to the nodejs list.. is that article done? it interested me but i cant remember what it was about.. [01:40] LukeGalea_: isaacs: That shows a whole bunch of "already installed"s, even though the installs had failed horribly. [01:40] Marak: quackslike: ??? i cant remember what i had for breakfest [01:40] Tidwell has joined the channel [01:40] quackslike: Marak: ah. yeah. same. oh well, i'll go through the emails and see if i can find it. [01:41] isaacs: arthur_kalm: it does require either a version number or range. "" is valid. [01:41] quackslike: Marak: oh well, that was easier than i thought.. "awesomeness of dnode" [01:41] isaacs: { "foo" : "" } [01:41] seivan has joined the channel [01:42] Marak: http://blog.nodejitsu.com/ibm-doesnt-care-about-nodejs-people/livewire.png [01:42] Marak: quackslike: www.thechangelog.com [01:42] LukeGalea_: isaacs: In that same vein, how does one check what versions are available in v1.0?? npm search, find, etc all don't list available versions. [01:42] Marak: tjholowaychuk: isaacs : http://blog.nodejitsu.com/ibm-doesnt-care-about-nodejs-people/framework.png [01:42] Marak: tjholowaychuk: http://blog.nodejitsu.com/ibm-doesnt-care-about-nodejs-people/framework.png <===== [01:42] Marak: lol [01:42] quackslike: Mar: cheerss [01:42] maximosis has joined the channel [01:42] grothendieck has joined the channel [01:43] quackslike: Marak: cheers [01:43] Marak: quackslike: :-) [01:43] arthur_kalm: isaacs: hmm, when I run npm install on this: https://gist.github.com/70ca35c57c9ba4998c67 [01:43] arthur_kalm: it just sits there, not doing anything [01:43] Marak: ryah: http://blog.nodejitsu.com/ibm-doesnt-care-about-nodejs-people/livewire.png [01:43] isaacs: arthur_kalm: try with -dd on the command [01:44] isaacs: it'll be super noisy [01:44] quackslike: Marak: lol little shorter than i was expecting.. [01:44] quackslike: ok, time to do work... [01:44] EvanCarroll: there is no way within jade to write something in the target view that modifies the layout right? [01:44] isaacs: lukegalea: npm view glob versions [01:45] Marak: quackslike: dnode is just badass, try it out [01:45] zentoooo has joined the channel [01:45] qcom has joined the channel [01:45] arthur_kalm: isaacs: thanks, here's the output: https://gist.github.com/70ca35c57c9ba4998c67 [01:45] quackslike: Marak: i shall. [01:45] LukeGalea_: isaacs: sweet. will give that a go. I'm in the middle of reverting to 0.3.18 now though.. sorry :( [01:45] arthur_kalm: it seems to be doing stuff... [01:45] arthur_kalm: should npm install come back with something? [01:45] dguttman has joined the channel [01:45] isaacs: arthur_kalm: generally, yes. [01:46] arthur_kalm: isaacs: hmm, stuff is coming out of that command... but it's very slow... [01:46] tonymilne: OH on Twitter: [01:46] tonymilne: Did IBM just read about node.js on the back of a cereal box? http://ibm.co/my7J1X Marak chimes in: http://bit.ly/kHbSQ0 #nodejs #melbjs [01:47] Marak: tonymilne: lol [01:47] arthur_kalm: tonymilne: lol [01:47] tonymilne: I don't want to troll them, but I kinda agree with you Marak that IBM is a big deal, and it's not awesome of them to publish mis-informed articles like that one. [01:47] arthur_kalm: isaacs: ok, perhaps npmjs.org is slow right now? [01:47] Marak: tonymilne: yeah man...its a community based site though, so IBM isnt directly responsible , but that domain carries serious weight [01:48] arthur_kalm: tonymilne: unfortunately, a lot of developer works articles aren't very well done [01:48] Marak: tonymilne: imagine you didnt know anything about anything, and that was the FIRST thing you EVER read about web development [01:48] Marak: :-( [01:48] copongcopong has joined the channel [01:48] tonymilne: OH, dudes! We have been running JavaScript meetups in Melbourne! [01:49] isaacs: arthur_kalm: so, it's just taking a long time? [01:49] isaacs: arthur_kalm: what if you install each of those packages one at a time? [01:49] arthur_kalm: yeah, it's still running [01:49] demastrie has left the channel [01:49] sorens3n: oh wow [01:49] arthur_kalm: tonymilne: in fact, most IBM stuff is like that, at least what I've used [01:49] ChrisPartridge: tonymilne: melbourne, au? [01:49] tonymilne: One of the guys from my work just presented on socket,io - anyways, If anyone would like to do a short talk one time (via skype etc), would be awesome. [01:49] arthur_kalm: isaacs: just finished [01:49] tonymilne: ChrisPartridge: yep. [01:50] arthur_kalm: isaacs: so it was just slow [01:50] pyrotechnick: SubStack: i'm going crazy [01:50] sorens3n: love the meme references on Marak's post [01:50] sorens3n: f*cking databases, how do they work? [01:50] arthur_kalm: Marak: are you using that gem for generating those memes [01:50] ChrisPartridge: tonymilne: have a mailing list or something? Might be able to pop over for one sometime [01:51] arthur_kalm: I saw it on the Github blog a little while back, great for pull requests ;) [01:51] tonymilne: Yeah Chris, check out melbjs on google groups, or #melbjs. [01:51] tonymilne: Soz, #melbjs on twitter. [01:51] tonymilne: (We're rocking 2nd wednesday of the month meetups in the city) [01:51] Marak: arthur_kalm: just the website [01:52] arthur_kalm: Marak: linky? awesome post btw [01:52] patzak has joined the channel [01:52] patzak has joined the channel [01:52] mikey_p: Marak: I don't understand how the author tries to compare to both a webserver (tomcat, apache) and templating languages (JSP, PHP) in the same article [01:52] Marak: arthur_kalm: bottom of post, i give creds [01:52] ChrisPartridge: tonymilne: sweet, if time permits I'll try come up with a talk on something [01:52] sh1mmer has joined the channel [01:52] arthur_kalm: Marak: thanks :), haven't read it fully hehe [01:53] qcom: sores3n: which post? [01:53] qcom: I want to see some meme references xD [01:53] Marak: mikey_p: its easy, just look at the cartoons i generated [01:53] aconbere has joined the channel [01:53] tonymilne: ChrisPartridge: Cool buddy, the flow is usually 1 or 2 shorter talks (10 - 15 min) and a longer talk (1/2 hr or so). We've had front end / back end talks, free pizza + beer too. :) [01:53] Marak: mikey_p: those 5 images replace his whole article lol [01:54] sorens3n: qcom: the latter [01:54] ChrisPartridge: tonymilne: Cool, might come up with something on dnode if it hasn't been talked about already [01:55] mikey_p: Marak: i've wondered if it's just an epic troll [01:55] sourcode has joined the channel [01:56] Marak: mikey_p: me? for sure [01:56] Marak: mikey_p: that guy? naaah [01:56] qcom has joined the channel [01:56] pyrony has joined the channel [01:57] tsesame: Marak: Check the weekdays shown for the released/updated dates on the IBM article [01:57] Marak: tsesame: link? [01:57] JacobSingh has joined the channel [01:57] Marak: tsesame: you mean our blog? [01:57] tsesame: yeah [01:58] Marak: tsesame: :-) https://twitter.com/#!/maraksquires/status/68850120065687552 [01:58] Marak: not on fire! [01:58] tsesame: Marak: :) [01:58] Marak: im thinking the blog will actually catch fire shortly [01:58] Marak: 200 concurrents right now [01:58] Marak: and raising! [01:59] Marak: i just get soo scared because our entire stack is written in node from scratch [01:59] Marak: so if anything goes wrong i have 10k lines of code in my end :-( [02:01] arthur_kalm: Marak: good test for node ;) [02:01] pyrony_ has joined the channel [02:03] arthur_kalm: hope people don't mind a noobish question, perhaps there are some good blog posts I haven't seen. I'm trying to figure out what the best way is to use socket.io between node and some JS. Would you host the html/css/js through node, and how would you return it? [02:03] jhurliman: Marak, you're lucky ibm doesn't care about node. in my experience, if ibm *does* like your open source project things get a lot worse :) [02:03] arthur_kalm: does it make sense to use something like jade? if most of the page will be updated using JS and events from socket.io [02:04] arthur_kalm: jhurliman: hope that doesn't mean phonegap is in trouble :( [02:05] jhurliman: hehe [02:05] AddZero has joined the channel [02:06] mikey_p: jhurliman: are you using backbone or something like that? [02:06] jhurliman: hm? [02:06] pHcF has joined the channel [02:07] tonymilne: was that backbone question aimed at arthur_kalm? [02:08] beppu has joined the channel [02:08] colinclark has joined the channel [02:08] SubtleGradient has joined the channel [02:08] vikstrous has joined the channel [02:08] arthur_kalm: isaacs: hmm, I'm trying to npm install something (supervisor) and again it's really slow... do you see any issues with the npm servers? [02:09] jhurliman: mikey_p, i think you meant arthur_kalm [02:09] qcom has joined the channel [02:09] arpegius has joined the channel [02:09] grothendieck has joined the channel [02:09] vipaca_ has joined the channel [02:10] gavin_huang has joined the channel [02:11] mikey_p: ahh [02:12] arthur_kalm: mikey_p: I know of backbone, haven't actually played with it [02:12] boehm has joined the channel [02:12] doki_pen: what is the proper way to emit errors from an eventemitter? [02:15] hassox has joined the channel [02:15] baoist has joined the channel [02:16] pyrotechnick has joined the channel [02:17] EvanCarroll: does jade provide any for construct to reproduce a block 5 times or something? [02:18] draginx has joined the channel [02:18] draginx: How do I upgrade nodejs from 0.4.4 to 0.4.5? [02:18] draginx: or to the latest O_o [02:18] draginx: npm wont update it :( [02:19] ChrisPartridge: EvanCarroll: loop? [02:19] EvanCarroll: right. how? [02:19] sivy has joined the channel [02:19] EvanCarroll: I only see object-property iteration or array iteration [02:19] ChrisPartridge: EvanCarroll: E.g. var blocks = []; items.forEach(function(item) { blocks.push(res.render(tpl, item)) }); [02:20] bartt has joined the channel [02:21] arjun has joined the channel [02:21] ChrisPartridge: s/res/jade [02:22] towski has joined the channel [02:25] doki_pen: ah, just pass an exception [02:25] isaacs: draginx: ? [02:26] grothendieck has joined the channel [02:26] isaacs: arthur_kalm: works for me [02:26] draginx: isaacs: im trying to get 0.4.5 how can I do this? [02:26] draginx: i just tried pulling from git didnt work =/ [02:26] isaacs: draginx: 0.4.5 of what? [02:26] draginx: nodejs [02:26] draginx: why does forever say i need 0.4.5 :| [02:26] draginx: oh i need 0.4.7 actually O-o [02:27] grothendieck has joined the channel [02:29] grothendieck: /whois pHcF [02:29] poola has joined the channel [02:29] grothendieck: fail! :P [02:29] arthur_kalm: isaacs: strange [02:29] arthur_kalm: anyone else finding npm commands to be slow? it seems to take a while to download anything [02:29] arthur_kalm: could be an ISP thing.. [02:30] grothendieck has left the channel [02:31] poola: Hey, i am trying to install node using option 1 mentioned in the site: https://gist.github.com/579814 [02:31] poola: i keep getting the following errors after running the command : ./configure [02:31] doki_pen: is there a way to create a range in nodejs? [02:31] poola: ~/node-latest-install/node-v0.4.7 $ ./configure --prefix=~/local [02:31] poola: Traceback (most recent call last): [02:31] poola: File "/homes/poola/node-latest-install/node-v0.4.7/tools/waf-light", line 157, in ? [02:31] poola: import Scripting [02:31] poola: File "/homes/poola/node-latest-install/node-v0.4.7/tools/wafadmin/Scripting.py", line 9, in ? [02:31] poola: import Utils, Configure, Build, Logs, Options, Environment, Task [02:31] poola: File "/homes/poola/node-latest-install/node-v0.4.7/tools/wafadmin/Build.py", line 18, in ? [02:31] doki_pen: like [0,5,10,15,20]? [02:31] poola: import Runner, TaskGen, Node, Scripting, Utils, Environment, Task, Logs, Options [02:31] poola: File "/homes/poola/node-latest-install/node-v0.4.7/tools/wafadmin/TaskGen.py", line 54, in ? [02:31] poola: class task_gen(object): [02:31] poola: File "/homes/poola/node-latest-install/node-v0.4.7/tools/wafadmin/TaskGen.py", line 87, in task_gen [02:31] poola: traits = Utils.DefaultDict(set) [02:31] poola: NameError: name 'set' is not defined [02:31] doki_pen: poola: try pastebin [02:31] arjun has left the channel [02:31] isaacs: Marak: "At the risk of having a stroke, I continue reading" [02:31] isaacs: awesome. [02:32] jesusabdullah: XD [02:32] tim_smart has joined the channel [02:32] Marak: isaacs: ahahaha :-) your quote really makes it [02:33] jamescarr has joined the channel [02:33] isaacs: :) [02:33] jamescarr: isaacs, hey... I've apparently been living under a rock and just updated to the latest npm... [02:33] doki_pen: I mean, I know I can make a loop. but is there a short cut? [02:33] Jckf has joined the channel [02:33] poola: i pasted the errors in pastebin: http://pastebin.com/61PSGxWn [02:34] jamescarr: has somehing changed when installing packages that install commandline bins? like vows and express? [02:34] jamescarr: when I do an npm install express, running express doesnt seem to work :) [02:34] isaacs: jamescarr: install it globally with -g [02:34] ChrisPartridge: npm -g install express [02:34] arjun has joined the channel [02:34] isaacs: ^ [02:34] maximosis has joined the channel [02:35] jamescarr: ah [02:35] jamescarr: that makes sense actually [02:35] Jckf: Is Node.js capable of 2d or 3d graphics? [02:35] sourcode has joined the channel [02:35] jamescarr: that'd be sweet [02:35] brettgoulder has joined the channel [02:36] jamescarr: a 3d game written in node [02:36] ChrisPartridge: jamescarr: it's much better [02:36] ChrisPartridge: jamescarr: check out npm link as well [02:36] ChrisPartridge: isaacs had a good article, somewhere [02:36] EvanCarroll: ChrisPartridge: got it, the undocumented loop construct... [02:36] jamescarr: ChrisBuchholz, yeah, I used to have lots of problems when running tests that picked up a global installation of an app [02:36] EvanCarroll: - for ( var i = 0; i < 10; i++ ) [02:37] MikhX has joined the channel [02:37] draginx: WTF a latest git pull only gives me 0.4.4 :O [02:39] AAA_awright: git pull master [02:41] arthur_kalm: thanks everyone for your help, take care [02:41] ChrisPartridge: EvanCarroll: I wouldn't say it's undocumented, loops are just standard JS stuff [02:45] draginx: isaacs: how do I get npm to install everywhere instead of just within that directory? [02:45] draginx: AAA_awright: thanks but a few seconds late :S <3 [02:45] isaacs: draginx: well, it always installs *somewhere*, never *everywhere* [02:45] isaacs: draginx: but -g will install to /usr/local/lib/node_modules [02:45] AAA_awright: You mean globally? [02:45] draginx: isaacs: can it do ~/usr/local/lib? [02:45] draginx: yeah [02:45] isaacs: draginx: sure. [02:45] isaacs: npm config set prefix ~/usr/local [02:46] tim_smart: Oh man that IBM article is BAD [02:46] draginx: thanks :) [02:46] isaacs: jamescarr, ChrisPartridge: http://blog.nodejs.org/ [02:48] EvanCarroll: interesting [02:50] varioust has joined the channel [02:51] mikeal has joined the channel [02:54] draginx: kind of stinks how u have to do -g every time :( [02:54] tbranyen: draginx: well luckily shells are awesome and allow you to write scripts :D [02:55] draginx: troof [02:55] tbranyen: very trivial to write a wrapper around npm [02:55] draginx: TypeError: Cannot read property 'yellow' of undefined <— any idea why i get this with forever? :( [02:55] isaacs: draginx: npm config set global true if you really really want to do this silly thing. [02:55] ryanfitz has joined the channel [02:55] draginx: well my global is really non global :P [02:56] draginx: my sysadmin put me on a weird system >.> [02:56] isaacs: draginx: but seriously, i'ts better to just put deps in the package [02:56] tbranyen: isaacs: does Joyent have any provisions for you guys to speak at meetups? [02:56] isaacs: what do you mean by "provisions"? [02:56] tbranyen: heh so that you don't have to pay to come to the east coast [02:57] isaacs: oh, i see. i don't know, i don't think i'm gonna travel any time soon [02:57] isaacs: i mean, after next week [02:57] tbranyen: yeah thats understandable [02:57] tbranyen: jsconf wasn't that long ago [02:57] tbranyen: i just started up a meetup for node.js in boston and i'm interested in finding someone popular to give the first talk if possible [02:58] tbranyen: someone from joyent or learnboost would be cool [02:58] justin2NT has joined the channel [02:58] justin2NT: ACTION spins around ... blinking .. [02:58] LowValueTarget has joined the channel [02:58] gkatsev: who doesn't want to head to boston for a small vacay? [02:58] tbranyen: heh [02:59] draginx: Anyone know of any good alternatives to forever? [02:59] gkatsev: node-daemon? [02:59] Marak: draginx: having issues with forever? [02:59] draginx: marak: yessir [02:59] Marak: draginx: we use that like everywhere, so if its broken, id really like to know [02:59] Marak: draginx: forever helps me sleep at night [03:00] draginx: lol well im using command line... [03:00] gkatsev: Marak: you run on forever? [03:00] draginx: http://pastie.org/private/gnhniwtqosbgrpiidfobw the error [03:00] draginx: using node 0.5 [03:00] gkatsev: try using a stable node? [03:01] PhilK has joined the channel [03:01] ChrisPartridge: Why not just user supervisord ? [03:01] ChrisPartridge: s/user/use [03:02] draginx: gkatsev: tbh i thought the git master branch was stable lol =x [03:02] gkatsev: draginx: heh, odd minor versions of node are unstable builds while even are stables. [03:02] gkatsev: git master would be the newest whatever it is [03:03] Marak: draginx: thats a really simple fix, i think its already patched actually, just not published to npm [03:03] ryah has joined the channel [03:03] Marak: draginx: you are performing an invalid action [03:04] Marak: https://github.com/nlco/forever/commit/828cd48eca05473de64c82a340676dfa2c742c39 [03:04] draginx: ah i see [03:04] Marak: try forever help [03:04] draginx: forever help gives me same error lol =x [03:04] Marak: one sec [03:04] Marak: reinstalling it from npm to double check [03:04] draginx: it could be my nodejs version... [03:05] Marak: draginx: forever --help [03:05] Marak: ? [03:05] Marak: forever -h ? [03:05] draginx: forever -h worked [03:05] Marak: my local npm is borked on this machine actually, unrelated issue [03:05] draginx: and there we go :) works good now [03:05] Marak: draginx: you gotta read the docs, ill make sure we get commits landed to fix that stuff, its a very minor issue [03:06] gkatsev: Marak: /lastlog topic [03:06] gkatsev: oops [03:06] draginx: hmm but its not actually running the file xD lol [03:06] Marak: draginx: i HIGHLY recommend using github issues. if you file something on our projects, im gonna try to respond in < 5 minutes [03:06] gkatsev: Marak: sorry :) [03:06] draginx: Marak: thanks :) will keep in mind if i run into anything else [03:06] phiggins: is there a tell bot in here? [03:07] phiggins: yobot: tell someone I said this? [03:07] gkatsev: wow, that log is exremely up-to-date [03:07] tbranyen: yeah lol [03:07] phiggins: oh marak is no longer jimbastard [03:07] draginx: is there a way for me to list all of the require('') "commands" that I can do? [03:07] Marak: phiggins: people love to see a good story about change [03:07] tbranyen: jimbastard wasn't a very becoming nick anyways [03:08] Marak: phiggins: you gotta start somewhere and end up somewhere else [03:08] phiggins: jimbastard: http://blog.nodejitsu.com/ibm-doesnt-care-about-nodejs-people is wrong [03:08] draginx: just tried npm -g install express but express isn't showing up (when i do require('express') [03:08] Marak: phiggins: ahahaha sorry [03:08] phiggins: i don't see a way to comment [03:08] Marak: phiggins: it might not be IBM's fault, but i can't have that coming up in google search results [03:08] phiggins: and there's too much negativity in the overall js world right now to make a stink [03:08] phiggins: but understand a) [03:08] mertonium has joined the channel [03:08] phiggins: ibm dev works !== ibm [03:09] Marak: phiggins: i understand, i wasnt trying to bring negative attention to JS at all [03:09] phiggins: don't call out ibm as a tech company on some random division that publishes mostly jqueryftw articles [03:09] Marak: phiggins: i just have little tolerance for crap being published in the name of node. imagine you had never heard of anything before, and that IBM article was the FIRST thing you read [03:10] willwhite has joined the channel [03:10] Marak: phiggins: i understand im being harsh on IBM :-( [03:10] Marak: phiggins: and im sorry if i made you mad. you are like a js demi-god to me [03:10] Marak: :-( [03:10] phiggins: i have little tolerance for crap being published too but that doesn't stop it from happening [03:11] phiggins: and maybe ubervocal is a way to be but I am against that [03:11] phiggins: you didn't make me mad [03:11] phiggins: just know ibm probably cares a lot more about node[cloud]js than you think [03:11] ditesh|cassini has joined the channel [03:11] phiggins: and invests heavily in all sorts of emerging tech [03:11] Marak: phiggins: well maybe now, they will be more included to get public about what they are doing? [03:11] Marak: errr [03:12] Marak: /s/include/inclined [03:12] phiggins: whoever wrote that particular article was some random paid someone [03:12] Marak: yeah i know [03:12] phiggins: didn't even find a link right off [03:12] phiggins: i've bitched at devworks editors directly before, "this is sooooo 2005, plz stop" [03:12] phiggins: it's just business there. but again devworks !== IBM, inc. [03:13] tbranyen: phiggins: shame devworks falls under the IBM umbrella then [03:13] sion has joined the channel [03:14] phiggins: ACTION does not disagree [03:14] phiggins: but it is what it is. [03:14] Marak: phiggins: yeah, i mean, please appreciate im just trolling IBM [03:14] Marak: and trying to make people aware of how awesome node.js is [03:14] phiggins: trolling doesn't make friends [03:14] Corren has joined the channel [03:14] tbranyen: which is the exact kind of response articles like that creates [03:15] jamescarr_ has joined the channel [03:15] phiggins: this community (js in general, not just us browser-old-guys) is falling apart [03:15] phiggins: \o/ node.js [03:15] Marak: phiggins: really? you think so? [03:15] AAA_awright: That article is written as if everyone uses NPM and Express [03:15] jamescarr_: anyone with a mac book pro up for testin growl support for me? [03:15] phiggins: yes [03:15] phiggins: it makes me sad. [03:15] AAA_awright: Module != npm package, people [03:15] Marak: phiggins: i kinda disagree, ive seen a lot of awesome stuff coming out [03:15] tbranyen: phiggins: probably because people are getting butthurt and keeping too much pride [03:15] Marak: phiggins: lots of new developers too [03:15] Jckf has left the channel [03:16] tbranyen: that microframework debacle could have been avoided if people could just be responsible [03:16] jamescarr_: phiggins, don't worry... with my re-involvment with node the community will rise :) [03:16] Marak: phiggins: we are working on a lot of really solid tools too, to help people do all sorts of neat node stuff [03:16] jamescarr_: so, anyone with a MBP willing to try some growl stuff out for me? [03:17] dmcquay has joined the channel [03:17] maximosis has joined the channel [03:17] phiggins: i'm switching back to python. they've already figured out modules. [03:17] qcom has joined the channel [03:17] tbranyen: hahaha really? thats why everyone ends up working with a virtual environment? [03:17] draginx: I have "express" in ~/usr/local/lib/node_modules but when I do require('express') its no where to be found =/ [03:17] tbranyen: i had nothing but paid dealing with python/django [03:17] tbranyen: thats pain* [03:18] Aria has joined the channel [03:18] tsesame: I'm surprised to hear the comment about the js community coming apart [03:18] tbranyen: tsesame: look no further than the mailing list [03:18] tsesame: not at all how I see it [03:18] mscdex: I'm surprised it's already 11:20pm [03:18] AAA_awright: phiggins: Is that a joke? [03:18] AAA_awright: Python has modules figured out? lolololetc... [03:18] Marak: draginx: did you install with -g ? there are some problems with migrating from old npm to new [03:19] Marak: draginx: you might have to clear that lib/node_modules folder and reinstall npm [03:19] Marak: dont listen to me though [03:19] tbranyen: tsesame: http://groups.google.com/group/comp.lang.javascript/topics some good stuff in there [03:19] tsesame: tbranyen: will take a look [03:20] tbranyen: just look for garret smith or david mark [03:20] draginx: Marak: I did clean install on npm and I did -g [03:20] tbranyen: and you'll be on the right track [03:20] Marak: draginx: you sure express installed right? worse case scenario, you should be able to clone and link [03:20] Marak: i gotta go though, sorry :-( [03:20] Marak: bbl [03:21] draginx: later, and i mean.. "npm -g install express" dont know how else to do it :P [03:21] draginx: is there a nodejs config for searching for lib? [03:21] qcom: dude, Marak. Nice post on IBM [03:21] fakewaffle has joined the channel [03:21] gkatsev: do 'npm list' does express show up? [03:21] fakewaffle: hi [03:21] darshanshankar has joined the channel [03:21] gkatsev: er, or is it npm list installed? [03:24] draginx: gkatsev: ├─┬ express@2.3.4 yup [03:24] jamescarr__ has joined the channel [03:25] jamescarr__: hmmm [03:25] jamescarr__: so... [03:25] jamescarr__: any brave souls willing to test growl for me? I dont have a MBP :) [03:25] jamescarr__: npm -g install jasmine-runner [03:26] c4milo____ has joined the channel [03:26] indutny has joined the channel [03:26] c4milo____: is marak in here? [03:26] draginx: c4milo: he just left [03:26] Marak: c4milo____: kinda, im a little busy [03:26] draginx: oh =x [03:26] c4milo____: Jim bastard [03:27] gmanik has joined the channel [03:28] c4milo____: I ran across your post about the article written by a dumb freelance dev at IBM devworks [03:28] c4milo____: ah ok [03:28] c4milo____: hehe [03:28] Marak: everytime i get to the databases image i crack up [03:28] kriszyp has joined the channel [03:29] c4milo____: http://news.ycombinator.com/item?id=2543137 [03:29] abraxas has joined the channel [03:29] c4milo____: hehe [03:30] openpercept has joined the channel [03:31] tsesame: tbranyen: wow ok I think I see now [03:31] ChrisPartridge: Marak: LOL ditto, those meme images are great [03:31] zentoooo has joined the channel [03:31] fakewaffle: is there an equivalent in node for mysql_real_escape_string in php? [03:32] Epeli: template engines have usually built in [03:32] Epeli: hups, mysql [03:32] Corren: so who's running node as part of their production app today? [03:33] Epeli: maybe the mysql driver has one [03:33] gkoberger has joined the channel [03:34] qcom has joined the channel [03:34] no-gooder has joined the channel [03:34] fakewaffle: Epeli: i just saw it in the doc after i asked :P ty [03:35] sleeplessinc has joined the channel [03:35] Mrfloyd has joined the channel [03:36] jamescarr_ has joined the channel [03:39] jamescarr__ has joined the channel [03:39] jwcooper has joined the channel [03:40] n2liquid has joined the channel [03:41] Hamms has joined the channel [03:41] _fat has joined the channel [03:41] catshirt has joined the channel [03:41] jwcooper: anyone know if it's possible to force a module to install with npm when the node version is listed as incompatible? [03:41] n2liquid: getting segfaults when requiring hello.node (compiled as shown here: http://nodejs.org/docs/v0.4.7/api/addons.html) [03:41] gkoberger has joined the channel [03:41] avalanche123 has joined the channel [03:41] n2liquid: I REALLY have absolutely no idea what's going on [03:41] n2liquid: this was working when I first tried [03:42] n2liquid: now gdb just says 'Program received signal SIGSEGV, Segmentation fault. [03:42] n2liquid: 0x1af6cbb7 in v8::internal::Context::global_context () [03:42] n2liquid: from /cygdrive/d/Dev/Projects/scratchpad/cpp.node' [03:42] n2liquid: (yeah, I'm using crapwin) [03:44] n2liquid: hints please? pretty please? [03:44] tbranyen: n2liquid: can you paste your native code? [03:44] tbranyen: in a gist or something [03:44] n2liquid: tbranyen, sure, just a sec [03:44] tbranyen: n2liquid: i've written a few native bindings for nodejs and they work fine in cygwin [03:44] tbranyen: so if you're doing just a hello world [03:44] tbranyen: its probably something silly [03:45] tbranyen: also what version of node are you using? [03:46] n2liquid: tbranyen, here's the native: http://pastebin.com/mndNbkYy [03:46] n2liquid: node is 0.5.0-pre [03:47] n2liquid: this crashes as soon as I require('hello.node'); [03:47] tbranyen: n2liquid: well why are you using an unstable build? [03:47] tbranyen: any particular reason? [03:47] _fat has joined the channel [03:47] tbranyen: does it work on a stable? [03:47] tbranyen: build [03:47] n2liquid: didn't try.. actually I freezed for a while when I read that "pre" [03:48] n2liquid: I thought I was on 0.4.8 [03:48] jamescarr__ has joined the channel [03:48] poshenghsu has joined the channel [03:48] n2liquid: 0.4.7* [03:49] tbranyen: n2liquid: hmmm you're doing String:New [03:49] n2liquid: tbranyen, I'll install the stable version and try again, thx [03:49] tbranyen: for the key [03:49] n2liquid: yes? [03:49] tbranyen: instead of String:NewSymbol [03:49] polvero has joined the channel [03:49] n2liquid: hm [03:49] tbranyen: give that a shot? [03:49] n2liquid: dunno what's the difference? that was on an example from nodejs.org [03:49] darshanshankar has joined the channel [03:49] n2liquid: just a sec [03:49] tbranyen: oh really [03:49] _fat has left the channel [03:50] pcardune has joined the channel [03:50] n2liquid: tbranyen, still crashes :\ [03:50] tbranyen: so it is [03:50] n2liquid: gotta download 0.4.7, though [03:50] tbranyen: interesting [03:50] tbranyen: n2liquid: yeah def [03:50] n2liquid: I'll report back, thx ;) [03:51] qcom has joined the channel [03:51] sh1mmer has joined the channel [03:53] alek_br_ has joined the channel [03:53] shimondoodkin has joined the channel [03:53] JackeyChan has joined the channel [03:53] zentoooo has joined the channel [03:54] n2liquid: tbranyen, btw, what's the difference between New and NewSymbol? [03:54] donaldpcook has joined the channel [03:55] tim_smart has joined the channel [03:55] tbranyen: n2liquid: i'm not 100% sure, from what i gather symbols are unique in memory and are returned if you try and create more than one or something [03:55] tbranyen: i see them used for events and constructors [03:55] n2liquid: tbranyen, ah, that's probably it [03:55] JackeyChan: who knows jade template engine good ? I want to add the form action with variable that be post by jade render like: [03:55] JackeyChan: form(action:"terms/#{tid}"); res.render("terms", {tid: "2"}); [03:55] tbranyen: n2liquid: v8 is horribly documented [03:55] n2liquid: I noticed [03:56] darshanshankar: is nodejitsu.com down for anyone else? [03:56] tbranyen: darshanshankar: nope and there is a site that answers that very question [03:56] ChrisPartridge: JackeyChan: form(action='terms/'+ tid) [03:56] _fat has joined the channel [03:56] tbranyen: http://www.downforeveryoneorjustme.com/nodejitsu.com [03:56] tbranyen: :D [03:57] JackeyChan: Thanks! Chris [03:57] ChrisPartridge: yw [03:58] febits has joined the channel [03:58] zackattack_ has joined the channel [03:58] Hamms has joined the channel [03:58] yhahn has joined the channel [03:58] xeodox: For Node.js , does it matter if I run it on EC2 Tiny or Small? They both have 1 "compute unit"...but small has better I/O Performance and 3x the ram. [03:59] shimondoodkin: how promises wait until all requests are fullfiled? i can't find a clue [04:00] ChrisPartridge: xeodox: It should run on both [04:00] xeodox: ChrisPartridge: what would run better? [04:00] shimondoodkin: tbranyen> http://www.downforeveryoneorjustme.com/nodejitsu.com [04:00] shimondoodkin: [06:56] [04:07] tbranyen: n2liquid: have you considered using node-waf t obuild instead of g++? [04:07] Wa has joined the channel [04:08] n2liquid: draginx, what do you mean? [04:08] draginx: git pull https://github.com/joyent/node.git 0.4.7 didn't work =/ [04:08] draginx: unless i have to do 0.4/0.4.7 o-o [04:08] Marak: can anyone tell me if nodejitsu is actually responding? http://blog.nodejitsu.com/ibm-doesnt-care-about-nodejs-people [04:08] n2liquid: tbranyen, I might try that, but.. it was working until [04:08] Marak: looks down [04:08] n2liquid: it suddenly stopped working, er [04:08] shimondoodkin: JackeyChan: https://github.com/shimondoodkin/node_spreadsheet https://github.com/shimondoodkin/nodejs-phpmailer [04:08] draginx: marak: its up [04:08] chjj: "Instead of spawning a new OS thread for each connection (and allocating the accompanying memory with it), each connection creates a process" [04:08] n2liquid: draginx, I downloaded the tarball from nodejs.org [04:08] mscdex: Marak: http://isup.me/blog.nodejitsu.com [04:08] draginx: n2liquid: interesting.. meh i wish git worked :| thanks [04:09] n2liquid: hm.... [04:09] mscdex: shimondoodkin: soon you won't need php to parse those excel files ;) [04:09] n2liquid: crap, this is really pissing me off [04:09] shimondoodkin: mscdex: really why? [04:09] draginx: O_o node doesn't have an excel parser? [04:10] draginx: and are there any good Auth/Roles systems for node? [04:10] mscdex: shimondoodkin: draginx: https://github.com/mscdex/documation [04:10] mscdex: :-D [04:10] n2liquid: mscdex, documation? [04:10] n2liquid: lol [04:10] mscdex: yeah, that's the name i went with :p [04:11] n2liquid: mscdex, waw, care to explain? XDD [04:11] mscdex: i'm not good at coming up with fun names [04:11] n2liquid: lolol [04:11] shimondoodkin: mscdex: looks like a large rewrite [04:11] mscdex: although, i jumped at the chance to use "buffy" :p [04:11] shimondoodkin: mscdex: good luck [04:11] mscdex: shimondoodkin: it's not a port, i'm doing it from scratch [04:11] n2liquid: why buffy? [04:12] n2liquid: I wouldn't waste a chance to deal with Microsoft files without joking about it somehow [04:12] mscdex: n2liquid: to slay the problem of conveniently accessing and manipulating multiple buffers [04:12] mscdex: but buffy is a separate project heh [04:12] n2liquid: mscdex, ah :) [04:13] shimondoodkin: how promises wait until all requests are fullfiled? [04:13] mscdex: n2liquid: i left the microsoft file jokes to Apache's POI project ;) [04:13] n2liquid: hm? don't know that, gonna take a look [04:14] PhilK has joined the channel [04:14] mscdex: it's basically a java api for dealing with the same type of files as documation [04:14] mscdex: office files, outlook messages, etc [04:14] n2liquid: hm [04:14] n2liquid: and what kinds of jokes did they come up with? [04:15] n2liquid: microsoft spreadshit? [04:15] Corren has joined the channel [04:15] shimondoodkin: microsoft weird [04:15] mscdex: well, maybe not so much jokes, but humorous names for their packages: http://poi.apache.org/apidocs/index.html [04:16] sechrist has joined the channel [04:17] n2liquid: mscdex, lolol, I like that [04:19] n2liquid: dreadful drawing format, lol [04:19] rpflo has joined the channel [04:19] frkout has joined the channel [04:19] mscdex: :) [04:20] n2liquid: btw, I'm writing an OpenGL/Direct3D abstraction for node [04:20] hink has joined the channel [04:20] n2liquid: (for developing native apps, not web apps) [04:21] n2liquid: I'd like to know how's the interest on desktopy node programming, especially game programming [04:21] draginx: n2liquid: plz link me or setup github so I can bookmark that :) [04:21] shimondoodkin: serusly, i think microsoft's software is good. i do not understand why everybody is jokeing about it. (expect to have fun) [04:21] mbrevoort has joined the channel [04:21] draginx: n2liquid: ive been a browser game developer for a looooong time now.. I would love a way to branch out a bit :p [04:22] shimondoodkin: *except [04:22] n2liquid: draginx, it's still very early to github it, but you can bookmark my blog: n2liquid.wordpress.com [04:22] Corren has joined the channel [04:22] n2liquid: I'll certainly post a lot about it there [04:23] hink_ has joined the channel [04:23] n2liquid: shimondoodkin, I actually like Windows and find it pretty damn stable [04:23] mscdex: shimondoodkin: have you ever had to use the windows api for a considerable length of time? [04:23] LowValueTarget has joined the channel [04:23] n2liquid: but the APIs are really shameful.. [04:23] ChrisPartridge: beyond shameful.. [04:23] draginx: n2liquid: this seems different O_o [04:23] n2liquid: someone pointed out Xlibs are pretty horrid too [04:24] n2liquid: so I dunno [04:24] hink_ has joined the channel [04:24] draginx: id like the easiness of nodejs to remain intact [04:24] n2liquid: draginx, it doesn't mention the project yet [04:24] draginx: draw_cube(x,y,z,blah,blah) [04:24] draginx: oh [04:24] draginx: i love ur first post though :D [04:24] shimondoodkin: mscdex:yes... historicaly bad, the later are much better. but this how every software is evolving. [04:24] n2liquid: the C++ thing is just a rant [04:24] n2liquid: :P [04:24] mertonium has joined the channel [04:24] n2liquid: draginx, how old are you? [04:24] mscdex: i mean.... for example, their dates for compound files are "64-bit values representing the number of 100-nanosecond intervals since January 1, 1601 (UTC)" [04:25] isaacs has joined the channel [04:25] throughnothing has joined the channel [04:25] mscdex: those are the classic things that make me go wtf [04:25] draginx: n2liquid: Why? :P (early 20s) [04:25] n2liquid: draginx, just wondering; I'm 18 [04:25] draginx: n2liquid: aye, ur hatred for school wont go away [04:26] n2liquid: :PPPP [04:26] n2liquid: good [04:26] draginx: u can either shovel till the end or.. take ur skills and use them wisely [04:26] eyez: i read raymond chen's blog just to remind myself how nice development is over on this side of the fence rather than his side [04:26] mscdex: and windows has like 2 or so other date formats used in various other places in the api [04:26] draginx: eyez: ? :P [04:26] mscdex: it's crazy [04:27] hink_ has joined the channel [04:27] shimondoodkin: mscdex:humm, therese no normal way to record a really old date in this new computers, ... super wierd [04:27] eyez: draginx: he talks about a lot of really weird ms development issues his customers run into [04:27] draginx: ahh nice [04:27] eyez: he's on the developer support team for ms or somethin [04:27] LowValueTarget has joined the channel [04:27] mscdex: shimondoodkin: ok, but this is for _file_ creation/modification/last edit dates [04:27] mscdex: home computers have not been around since 1601 [04:28] mscdex: :) [04:28] eyez: lol [04:28] n2liquid: mscdex, I love things like: "blahbuffers [in, optional]: Pass here the blah buffers you want to render. Blah buffers are not supported." (and beautifully like that, the documentation ends) [04:29] jamescarr_ has joined the channel [04:29] mscdex: it's no wonder microsoft was so reluctant to release the specifications for their binary formats.... they're ridiculous [04:29] mscdex: i'd be embarrassed [04:30] shimondoodkin: yes they are messy [04:30] eyez: chen also talks a lot about all of the little tiny hacks that are shoved into windows just to keep whatever application from 1994 from crashing because it did something incredibly inane with a prerelease copy of w95 or something [04:31] edude03 has joined the channel [04:31] eyez: i super pity ms's app compatibility team [04:31] polvero has joined the channel [04:31] mscdex: heh [04:31] n2liquid: shimondoodkin, who's chen? [04:31] nubusaurelius has joined the channel [04:31] n2liquid: oops [04:32] n2liquid: eyez, I mean [04:32] mscdex: anyway back to coding :-D [04:32] eyez: n2liquid: raymond chen [04:32] eyez: n2liquid: http://blogs.msdn.com/b/oldnewthing/ [04:32] n2liquid: ah, the old new thing [04:32] eyez: ya [04:32] n2liquid: I knew the blog [04:34] pifantastic has joined the channel [04:34] eyez: its insomnia fodder for me but [04:34] eyez: relatively entertaining insomnia fodder a lot of the time, and at least just [04:35] eyez: making me glad im not an ms-land c++ coder [04:35] abraxas: eyez: Good morning. Thanks for yesterday man (telling me about async). You're a life saver! [04:35] jamescarr_: who here knows coffeescript? :) [04:35] jamescarr_: I got some issues :) [04:35] jacter has joined the channel [04:35] boehm_ has joined the channel [04:35] Hamms has joined the channel [04:35] chjj: i still cant get over how terrible this ibm article is [04:36] eyez: jamescarr_: what issues? i dont know it well but im super in love with it already if that counts for anything [04:36] shimondoodkin: coffee script is clearly isane [04:36] shimondoodkin: insane [04:36] chjj: this ^ [04:36] eyez: if i could have just [04:36] jamescarr_: chjj, heh, that article [04:36] eyez: coffeescript without significant whitespace [04:36] eyez: i'd be :3 [04:37] jamescarr_: they took the simple 5 line http server example... [04:37] jamescarr_: and made it 100 lines with comments :) [04:37] chjj: no no no, the best part of that [04:37] chjj: was [04:37] chjj: new Number() [04:37] chjj: LOL [04:37] jamescarr_: https://gist.github.com/969977 [04:37] jamescarr_: any idea why My PerfectNumberFinder doesnt become global? [04:37] chjj: apparently [04:38] chjj: this guy claims to be a "JQuery developer" [04:38] n2liquid: marak was insanely polite when talking about that article [04:38] chjj: yeah, i wouldnt be able to contain myself like that [04:38] jamescarr_: is there something you have to do in coffeescript to make an object global? :) [04:38] pyrotechnick: window. = [04:38] chjj: step 1: dont use coffeescript [04:38] pyrotechnick: everything is wrapped in a closure [04:38] eyez: jamescarr_: same way you'd do it in js if you're wrapped in that, window.foo = [04:38] chjj: step 2: profit [04:39] shimondoodkin: https://gist.github.com/969977 << thats correct [04:39] sorens3n: does anyone else use 4chan for user testing? [04:39] tbranyen: n2liquid: get it working? [04:39] n2liquid: sorens3n, what? [04:39] pyrotechnick: jamescarr_: in the future ask coffeescript questions in #coffeescript [04:39] n2liquid: tbranyen, nope :\ [04:39] tbranyen: sorens3n: lol or for load testing [04:39] sorens3n: and general feedback [04:39] tonymilne: sorens3n: I think mechanical turks is 4chan 2.0 [04:39] jamescarr_: pyrotechnick, doh... thanks. I just knew some folks in here were into it [04:39] tbranyen: n2liquid: even with node-waf? [04:40] pyrotechnick: jamescarr_: they are but unfortunately there's alot of trolls here too [04:40] sorens3n: mechanical turks? [04:40] tonymilne: Amazon service. [04:40] DrAwesomeClaws has joined the channel [04:40] n2liquid: tbranyen, didn't try.. should I really try that? seems pretty pointless to me [04:40] pyrotechnick: jamescarr_: in #coffeescript you wont get answers like 1) dont use coffeescript [04:40] boehm has joined the channel [04:40] tonymilne: serens3n: pay small amount of money for trivial human tasks. [04:40] saschagehlich has joined the channel [04:40] tbranyen: n2liquid: do you have any better ideas heh [04:41] n2liquid: tbranyen, ok, I'll try [04:41] jamescarr__ has joined the channel [04:41] tbranyen: if the hello world you directly copied and pasted from the website fails to work on a stable build [04:41] tbranyen: and the only difference is you manually using g++ [04:41] sorens3n: ah, id rather harvest some anons :) [04:41] jamescarr__: I know... the #node.js of last summer that I knew and love seems to have vanished [04:41] tbranyen: i'd logically think to try using what the guide recommends [04:42] tbranyen: jamescarr__: times they are a changing [04:42] n2liquid: tbranyen, yeah, makes sense [04:42] chjj: "Image file server"..."Image file server"... [04:42] chjj: ACTION facepalms [04:43] n2liquid: chjj, you're crashed, dude, how about rebooting and forgetting that already? :P [04:43] chjj: cant stop, wont stop [04:43] n2liquid: why stop [04:44] chjj: but seriously, its hard to get that filth out of my head [04:44] JackeyChan: hi, I want to get params with GET method, the URL like : term?name=dev&addTerm=Add, how to? I am using express [04:44] n2liquid: chjj, it reminded me religious talks about japanese animation or something [04:44] chjj: JackeyChan: req.query [04:45] JackeyChan: chjj: thanks a lot! [04:45] chjj: n2liquid: haha, what? [04:46] slloyd_ has joined the channel [04:46] n2liquid: chjj, have you ever met an evangelic before? [04:46] Bonuspunkt has joined the channel [04:46] ryanfitz has joined the channel [04:46] n2liquid: they talk a lot of bullshit as if they understood anything to convince people to join in spreading their bullshits [04:47] chjj: yeah, but i dont think ive heard them talk about anime before [04:47] n2liquid: wow, not even about Pokemon or Dragon Ball? [04:47] n2liquid: and Yu-Gi-Oh? oh boy, it's funny [04:47] chjj: nope, is that a regular subject for them? [04:48] chjj: i was wondering why you mentioned that topic specifically lol [04:48] n2liquid: ah [04:48] n2liquid: well, here in Brazil [04:48] n2liquid: when Yu-Gi-Oh was airing [04:48] n2liquid: the cards were the devil cards to possess children [04:49] chjj: i can probably guess the rest [04:49] n2liquid: uh huh [04:49] shimondoodkin: i try to write some specs for "npm and more web gui" https://docs.google.com/document/d/1anJzzbK9kzAWf3_doIMcKxsEanN6EsdwdvEFZYd8Tdw/edit?hl=en [04:49] jamescarr_ has joined the channel [04:49] boehm_ has joined the channel [04:50] n2liquid: they FAQey-likey answer things about the origins and stuff [04:50] jacter has joined the channel [04:50] chjj: presumably the devils were the bad guys on that show, why did they have a problem with it i wonder [04:50] n2liquid: as if a lot of research was involved [04:50] n2liquid: chjj, the bad guys? no, that would make too much sense [04:50] n2liquid: the devil was everywhere [04:50] n2liquid: probably because children were staying home instead of going to the local church [04:51] chjj: well this guy to me sounded more like a java/jquery dev lecturing on node.js [04:51] chjj: ...wait, thats what it was [04:52] chjj: or maybe [04:52] chjj: "mislecturing" would be a better word [04:52] chjj: is that a word? it should be if its not [04:53] draginx has left the channel [04:54] boehm has joined the channel [04:54] yozgrahame has joined the channel [04:55] jhurliman: what is the easiest way to make a blocking call in node.js? [04:55] ryah has joined the channel [04:56] n2liquid: tbranyen, crap, waf actually made it work [04:56] n2liquid: I wonder how can I see the commands it calls? [04:57] Hamms has joined the channel [04:58] SamuraiJack has joined the channel [05:01] emaad_ has joined the channel [05:01] emaad_ has left the channel [05:01] tedsuo has joined the channel [05:02] ryah has joined the channel [05:02] emaad has joined the channel [05:03] JackeyChan: I want to add class name with variable that post by the express render like : p.#{type}= message; How to ? [05:04] sleeplessinc has joined the channel [05:04] eyez: hm; sit down and play with eventemitter for the first time vs. read the 2nd ed scala book [05:05] quackslike: any noders from Thailand? [05:06] eyez: i don't even intend to even think about writing something in scala but thats a really good book, i read part of the first edition a while back and recommend it to pretty much anyone [05:06] k1ttty has joined the channel [05:07] quackslike: sittin here with headphones on.. no music playin - doh.. [05:07] nexxy: quackslike, I do that a lot too ._. [05:07] jesusabdullah: lol, I've done that [05:07] boehm_ has joined the channel [05:07] quackslike: :) [05:07] mbrevoort has joined the channel [05:07] nexxy: you are not alone, quackslike ! [05:07] nexxy: we're here for you! [05:08] quackslike: whew! [05:08] sorens3n: oh lord, quack, i do it to [05:08] nexxy: sometimes I'll ride the bus/train with headphones on just to see what people are saying whilst under the impression that I can't hear them [05:09] harth has joined the channel [05:09] quackslike: nexxy: oh sneaky. i like it. [05:09] nexxy: ;P [05:09] nexxy: I got the idea from some cartoon when I was a kid [05:09] nexxy: I've done it every now and then ever since [05:09] Nican has joined the channel [05:09] n2liquid: lol [05:09] nexxy: ACTION has been in terminal too long [05:10] nexxy: just tried to type "clear" in the address bar of chrome [05:10] quackslike: hmm looks like i might be able to wangle a node project into the company.. [05:10] nexxy: quackslike, hooray! [05:10] n2liquid: quackslike, do it! [05:10] n2liquid: 8D [05:10] nexxy: someone should make an "node.js success stories" blog [05:10] quackslike: i will if i can. [05:10] nexxy: so we can build a compendium of ways people have saved projects/time/money with node.js [05:10] nexxy: to make it easier for people to convince pointy haired bosses [05:11] mbrevoort has joined the channel [05:11] chalaschek has joined the channel [05:11] n2liquid: anyone here knows how can I discover which commands node-waf issued? [05:11] sorens3n: oh! i have something for you then [05:11] mbarnes679: this might be a silly question but does anyone know of a music streaming server that uses node.js? [05:11] n2liquid: I want to know why my code compiles and crashes while it waffed doesn't [05:11] jesusabdullah: ummmmmmmm [05:11] jesusabdullah: not a silly question mbarnes679 [05:12] sorens3n: http://nodeguide.com/convincing_the_boss.html [05:12] mbarnes679: I was thinking about working on one [05:12] mbarnes679: but I didn't want to be redundant [05:12] jesusabdullah: well [05:12] towns has joined the channel [05:12] jesusabdullah: one project I know of is [05:12] jesusabdullah: umm [05:12] quackslike: nexxy, i used the firefox location bar to hit a cgi that runs find on my api docs for various framworks, then generate links to the results, firefox has a way you can use a keyword for a url and a %s for a replacement value, so you type something like: api *String* and you get a link of things like String.html, StringBuilder.html for whatever api docs you have. kinda nice really. very handy. [05:12] kPb_in has joined the channel [05:13] jesusabdullah: https://github.com/tanepiper/dnode-mediaplayer isn't done but looks promising [05:13] nexxy: quackslike, gief!! [05:13] jesusabdullah: https://github.com/robinduckett/node-mpd looks handy [05:13] jesusabdullah: umm [05:13] jesusabdullah: I watched a client-side media player thing the other day [05:13] jesusabdullah: you might be able to use node on the backend for it [05:13] dmojoryder has joined the channel [05:13] jesusabdullah: probably what tane's using [05:13] jesusabdullah: ummmm [05:13] jchris has joined the channel [05:14] jesusabdullah: also, mbarnes679, there's like a $400 bounty for bindings to a sound library for node [05:14] jesusabdullah: it has to be cross-platform and direct bindings [05:14] jesusabdullah: for low latency [05:15] jesusabdullah: and all that is a non-trivial problem, as I understand it [05:15] jesusabdullah: does that give you an idea, mbarnes679 ? [05:15] mbarnes679: jesusabdullah: it does thank you [05:16] jesusabdullah: Awesome [05:16] mbarnes679: sorry I needed to log into the box I'm using to idle this channel from a machine with a web browser :P [05:16] nexxy: why is there no nodebounty.com yet? [05:16] jesusabdullah: I'd actually like to make a custom mpd client with node [05:16] jesusabdullah: :) [05:17] boehm has joined the channel [05:17] Hamms has joined the channel [05:18] mbarnes679: That seems like a cool project [05:18] mbarnes679: dnode media player seems pretty close to what I'm thinking about doing thank you for pointing me to that [05:19] isaqual has joined the channel [05:19] n2liquid: tbranyen, just discovered what the problem was [05:19] tonymilne: Best charting/graphing library to in my node app? [05:19] n2liquid: I should be linking my addon to libnode.a, not libv8.a directly [05:19] n2liquid: :\ [05:19] hassox has joined the channel [05:19] n2liquid: *facepalm* [05:19] jamescarr__ has joined the channel [05:19] jesusabdullah: mbarnes679: Yeah, it sounds neat [05:20] mbarnes679: jesusabdullah: are you working on anything right now? [05:21] boehm_ has joined the channel [05:23] Spion_ has joined the channel [05:23] boehm has joined the channel [05:23] quackslike: tonymilne: i think ChrisPartridge might have some idea? [05:24] quackslike: i think he mentioned a lib like that the other day.. [05:24] indutny has joined the channel [05:26] __tosh has joined the channel [05:26] jacobolus has joined the channel [05:26] jwl: this is the best build tool for node? https://github.com/mde/node-jake [05:29] bad_at_math has joined the channel [05:29] tim_smart has joined the channel [05:29] jdalton has joined the channel [05:29] boehm_ has joined the channel [05:33] boehm has joined the channel [05:36] boehm_ has joined the channel [05:37] Hamms has joined the channel [05:38] superjudge has joined the channel [05:38] coreb has joined the channel [05:38] ChrisPartridge: tonymilne: What are you trying to chart/graph? [05:38] __tosh has joined the channel [05:39] ChrisPartridge: I got dnode-smoothiecharts, need to tidy a few things up before I put it in npm [05:39] muhqu has joined the channel [05:41] Charuru: is there an admin interface for node [05:41] Charuru: like [05:41] Charuru: http://activeadmin.info/ [05:41] temp01 has joined the channel [05:42] joshgillies has joined the channel [05:42] ChrisPartridge: Charuru: I doubt it [05:42] Charuru: ohs well [05:42] ChrisPartridge: node != rails [05:43] V1 has joined the channel [05:43] mbarnes679 has joined the channel [05:43] jdalton has left the channel [05:44] patzak has joined the channel [05:44] patzak has joined the channel [05:45] tonymilne: ChrisPartridge: It's going to vary i guess, but effectively analytic type graps. [05:45] boehm has joined the channel [05:46] tonymilne: Events over time, e.g. Google Analytic page views. [05:46] tonymilne: And also some Pie charts. [05:47] ChrisPartridge: tonymilne: For that sort of stuff I'm using dnode and extjs charting (need license for extjs, if using for commercial) [05:47] quackslike: ChrisPartridge: ping me when you npm what you've done so i can have a gander. [05:50] boehm_ has joined the channel [05:50] polvero has joined the channel [05:51] tonymilne: ChrisPartridge: What's the pricing like for a commercial app? [05:52] tonymilne: Actually, it looks too complex/feature rich for my liking :( [05:53] boehm has joined the channel [05:53] jamescarr__: I piled some hate on coffeescript in the past [05:53] __tosh has joined the channel [05:53] jamescarr__: after tonight, I discovered that my hatred was unfounded ;) [05:54] ChrisPartridge: tonymilne: It's a simple framework, and you can package it quite easily to only use the dependencies you need (e.g. charting) [05:55] ChrisPartridge: jamescarr__: converted huh? [05:55] jamescarr__: yeah [05:55] jamescarr__: it's.... expressive [05:56] vipaca has joined the channel [05:56] eyez: it didnt take me long to get hooked on it [05:57] halfhalo: hooked on phonix? [05:57] n2liquid: anyone here using V8-Juice? [05:57] Hamms has joined the channel [05:58] Bonuspunkt has joined the channel [05:58] n2liquid: http://code.google.com/p/v8-juice/ [05:58] n2liquid: I can't get it to compile under Cygwin [05:58] rook2pawn has joined the channel [05:59] jesusabdullah: mbarnes679: A few odds and ends. I just finished up a taxing masters degree so I'm still trying to get back into the swing of things. Nothing involving music though [06:02] DTrejo has joined the channel [06:04] dmcquay has joined the channel [06:09] mendel_ has joined the channel [06:10] mendel__ has joined the channel [06:12] polvero has left the channel [06:15] __tosh has joined the channel [06:15] mendel__ has joined the channel [06:15] mendel__ has left the channel [06:16] ngs has joined the channel [06:17] Casperin has joined the channel [06:19] ditesh|cassini has joined the channel [06:19] kaarlo has joined the channel [06:20] FireFly has joined the channel [06:20] tauren has joined the channel [06:21] jaket_ has joined the channel [06:21] jaket_: hi guys, is there any blogging engine thats more built out than looseleaf? [06:23] mjijackson has joined the channel [06:24] mjijackson: what is the best postgres package for node? [06:26] mjijackson: there seem to be quite a few in the experimental stage... [06:28] boehm_ has joined the channel [06:28] DTrejo has joined the channel [06:29] ryah has joined the channel [06:29] mjijackson: going to try https://github.com/brianc/node-postgres [06:32] ChrisPartridge: Is there a *proper* method for setting a view local up a piece of express middleware? [06:32] mike5w3c_ has joined the channel [06:33] er1c_ has joined the channel [06:38] __tosh has joined the channel [06:39] boehm has joined the channel [06:40] mjijackson: is anybody here using require.js with node? [06:40] `3rdEden has joined the channel [06:40] mjijackson: just wondering how well it works... [06:42] SubtleGradient has joined the channel [06:43] harth has joined the channel [06:46] groom has joined the channel [06:46] e6nian has joined the channel [06:47] emattias has joined the channel [06:47] jdalton has joined the channel [06:47] e6nian: I can't require('pkg') from node shell, it said module pkg not found. I've install the pkg with `npm install -g pkg ` [06:47] jdalton has left the channel [06:48] e6nian: I use npm v1.0.7 and node v0.4.7 [06:48] hassox has joined the channel [06:48] e6nian: npm 1.0.6 [06:48] Marak has joined the channel [06:48] gavin_huang has joined the channel [06:48] DTrejo: e6nian: try without -g [06:49] Marak: DTrejo: npm install issues? [06:49] DTrejo: make sure in same directory as your scrpit [06:49] Marak: migrating from 0.3.18 to 1.x ? [06:49] e6nian: DTrejo: that's working. [06:49] mscdex: Marak: there's an issues module? :-D [06:49] DTrejo_ has joined the channel [06:49] Marak: mscdex: THERE IS NOW [06:49] DTrejo_: was just trying to help e6 [06:49] Marak: mscdex: rule #35 of the internet, if you think up a node.js module, it already exists [06:49] mscdex: npm install issues [06:50] chapel: lol [06:50] mscdex: do it [06:50] e6nian: DTrejo_: but why the node shell can't require global pkg? [06:50] mscdex: i could see that installing an issue tracker app [06:50] jollyroger has joined the channel [06:50] DTrejo has joined the channel [06:50] chjj: Marak: i enjoyed reading your response to that article [06:50] e6nian: NODE_MODULE_CONTEXTS Set to 1 to load modules in their own [06:50] e6nian: global contexts. [06:50] chjj: i almost think you werent harsh enough on the guy though ;) [06:51] Marak: chjj: I've had to tone myself down considerably since getting all that internet money [06:51] Marak: shits real now [06:51] chjj: haha [06:51] Marak: i cant just rape a guy in the face over the internet [06:51] Marak: gotta have some tact [06:51] chjj: bummer [06:51] Marak: >.< [06:51] Marak: I'm still allowed to battle rap people IRL though [06:52] xsyn has joined the channel [06:52] DTrejo has joined the channel [06:52] Marak: so, yeah, im accepting challenges [06:52] DTrejo: why must I dc [06:52] chapel: Marak: I thought it was a decent post, though I think a little more exposition on why it was wrong, but other than that, was fine, haters gonna hate [06:53] nexxy: oh dear. [06:54] Marak: chapel: haters gonna hate on my grill cheesed sandwhich [06:54] jkridner has joined the channel [06:54] Marak: bitches dont know about my grilled cheese sammich [06:54] Marak: yeah [06:54] DTrejo: golden sandwich? [06:54] Marak: im here all week [06:54] DTrejo: that sounds dangerous to eat [06:54] ChrisPartridge: someones been watching epic meal time [06:55] w5 has joined the channel [06:55] DTrejo: how is npm init with autorequire going? [06:55] DTrejo: indexzero said he was thinking of working ont hat [06:55] DTrejo: or maybe already finished? [06:57] boehm_ has joined the channel [06:57] SubStack: autorequire? :o [06:58] garrensmith has joined the channel [06:58] nexxy: oh my god [06:58] SubStack: yeah with that require analyzer thing seems possible [06:58] SubStack: crazy stuffs [06:58] DTrejo: WOULD BE NICE EH? [06:58] jamescarr__: hmmm [06:58] DTrejo: oops caps [06:58] jamescarr__: DTrejo, bs. You yelled in excitement :-P [06:58] DTrejo: :) [06:59] mscdex: it's nexxy! [06:59] muhqu_ has joined the channel [06:59] nexxy: mscdex, I don't believe it. [06:59] mscdex: you should [06:59] Hamms has joined the channel [07:01] DTrejo: diablo 3 [07:01] JackeyChan: I want to find parent but don't know the jquery: when click [find me], I should get the ul element that has items class. how to write the selector ? [07:02] gkoberger has joined the channel [07:02] DTrejo: $(event.target).parent().parent() might work JackeyChan [07:02] DTrejo: inside of the click handler [07:02] polvero has joined the channel [07:03] boehm has joined the channel [07:03] eee_mk has joined the channel [07:03] JackeyChan: yeah, thanks! [07:03] DTrejo: :) [07:04] __tosh has joined the channel [07:04] zackattack_ has joined the channel [07:04] darshanshankar: all i heard was diablo 3 [07:05] fangel has joined the channel [07:05] ChrisPartridge: huh, what, released? [07:05] Mario` has joined the channel [07:05] mAritz has joined the channel [07:05] mscdex: all i heard was sleep deprivation [07:05] Mario`: morning [07:05] DTrejo: just that I want d3 :) [07:06] ChrisPartridge: DTrejo: any idea what the release date is? [07:06] Mario`: anyone have a good .emacs starter kit for node.js, php html type stuff [07:06] DTrejo: and nostalgia for d2expansion hehe [07:06] `3rdEden: d3 is the new p2 [07:06] DTrejo: p2? [07:06] `3rdEden: portal 2 [07:06] DTrejo: ah [07:06] DTrejo: yeah [07:07] ivanfi has joined the channel [07:07] DTrejo: i hope I get beta for d3 ha [07:07] Jonasbn_ has joined the channel [07:07] DTrejo: ChrisPartridge: noidea of the release [07:08] DTrejo: no emacs ppl here I guess [07:08] DTrejo: Mario` left unsatisfied [07:08] Mario` has joined the channel [07:09] ChrisPartridge: guess again [07:09] unomi has joined the channel [07:10] Mario`: sorry, I lost connection [07:10] DTrejo: was just trying to rile you up :) [07:10] Mario`: so anyone using a js focused emacs setup not a ruby focused one? [07:11] DTrejo: ChrisPartridge is, it seems [07:11] dguttman has joined the channel [07:11] ChrisPartridge: No i was referring to your unsatisfied line :-0 [07:11] ChrisPartridge: ACTION uses nano [07:12] DTrejo: ACTION uses textmate, but may switch to http://textmate2.org/ [07:13] patzak has joined the channel [07:13] patzak has joined the channel [07:14] Mario`: I was on textmate, but have been using emacs for 2 months now and I think I'm falling in love [07:14] DTrejo: you remapped capslock i hope [07:14] DTrejo: (for rsi reasons) [07:14] w5: why remap capslock? [07:14] newy has joined the channel [07:15] Mario`: It helps loads [07:15] DTrejo: w5: command / control mapped to capslock [07:16] bergie has joined the channel [07:16] DTrejo: it's easier to press, bigger target and less stretching [07:16] w5: oh I see [07:17] DTrejo: my hadoop cloudera distribution vm image is almost done, 1.3gb [07:17] mjr_ has joined the channel [07:17] d0k has joined the channel [07:17] DTrejo: hey mjr_ [07:17] eikaas: does anyone know how I can connect to an already set up socket? [07:18] mjr_: Hey DTrejo [07:18] Mario`: DTrejo: you use emacs, have you got your setup online? [07:18] DTrejo: mjr_: hawaii is relaxing? [07:18] DTrejo: Mario`: i don't sorry [07:18] Mario`: DTrejo: :) [07:19] SubStack: hawaii <3 [07:20] DTrejo: mjr_: are you planning a blog post on how hawaii is a viable startup state? [07:20] SubStack: oh mjr_ here's the hilight reel of the rov footage I took in hilo http://www.youtube.com/watch?v=qtp4xpVjTg4 [07:20] SubStack: mentioned this at nodeconf [07:20] tobmastr has joined the channel [07:20] mjr_: Hawaii is great. [07:21] ChrisPartridge: eikaas: http://nodejs.org/docs/v0.4.7/api/net.html#new_net.Socket [07:22] eikaas: thanx, ChrisPartridge. I'll give it a try [07:23] djcoin has joined the channel [07:23] mendel_ has joined the channel [07:26] pyrony has joined the channel [07:27] ryanseddon has joined the channel [07:27] hassox has joined the channel [07:28] Hamms has joined the channel [07:28] isaacs has joined the channel [07:31] mraleph has joined the channel [07:31] Xano has joined the channel [07:32] mehlah has joined the channel [07:33] Skola has joined the channel [07:33] nubusaurelius has left the channel [07:33] kryptom has joined the channel [07:34] [AD]Turbo has joined the channel [07:34] [AD]Turbo: hi there [07:35] superjudge has left the channel [07:39] mikeal has joined the channel [07:40] __tosh has joined the channel [07:40] muhqu has joined the channel [07:40] DTrejo has joined the channel [07:40] xeodox: If I have a string stored as "hello' in my MongoDB, how do I display that in EJS so that I display it "as-is" (I don't want the hyperlinks and eveyrthing) [07:40] Mrfloyd has joined the channel [07:42] Marak has joined the channel [07:42] Marak: http://blog.nodejitsu.com/ibm-doesnt-care-about-nodejs-people/livewire.png [07:42] Marak: voodootikigod: node.js lame, i only use live wire : http://blog.nodejitsu.com/ibm-doesnt-care-about-nodejs-people/livewire.png [07:42] DTrejo: xeodox: need to escape it [07:43] xeodox: DTrejo: What's the best way to do that? [07:43] DTrejo: hmm, well, there might be an ejs helper method [07:43] xeodox: <%= vs <%- [07:43] xeodox: ? [07:43] SubStack: ejs? node doesn't have templates [07:43] SubStack: ibm looked into that [07:43] xeodox: lol [07:44] xeodox: DTrejo: I got it. <%= escapes it. [07:44] DTrejo: nice [07:44] troessner has joined the channel [07:44] DTrejo: i should go work for ibm, they seem to know a lot about node [07:45] DTrejo has joined the channel [07:47] muhqu_ has joined the channel [07:48] xeodox: Whats the deal with IBM and node? [07:50] sendark has joined the channel [07:50] DTrejo: all they did was buy an article that wasnt well written [07:52] ryah has joined the channel [07:53] tbassetto has joined the channel [07:54] ryah: time to break shit [07:54] CIA-104: node: 03Ryan Dahl 07master * refca334 10/ (113 files in 7 dirs): Integrate libuv into build system - http://bit.ly/ifRZSI [07:56] chrisdickinson: it's weird to see an article from IBM echo such egregious (but strangely common) misunderstandings about node in particular and javascript in general. [07:57] eikaas_ has joined the channel [07:58] chrisdickinson: i've definitely seen some folk (who are used to gevent, for example) get baffled at how the event loop works in relation to the stack [07:58] mjr_: SubStack: just watched your ROV video. Pretty cool. [07:58] `3rdEden: omg. libuv what does it mean! [07:59] __tosh has joined the channel [07:59] Hamms has joined the channel [07:59] markwubben has joined the channel [07:59] ryah: `3rdEden: windows [07:59] mjr_: DTrejo: Hawaii is totally not a viable startup state, except that it has internet. [08:00] `3rdEden: oooh liboioioi got renamed [08:00] `3rdEden: Thanks ryah [08:00] zentoooo has joined the channel [08:01] mjr_: Old McDonald had an abstraction layer, libeieio. [08:01] DTrejo: get your sunscreen [08:01] DTrejo: uv danger on teh farm [08:01] `3rdEden: And on that layer he had some nodes [08:02] TomY_ has joined the channel [08:02] mjr_: DTrejo: the best thing about Hawaii compared to some other beach-based outpost in the Pacific is that they have pretty good Internet. [08:02] mjr_: 10mbits down. Not bad. [08:02] DTrejo: I see [08:03] DTrejo: was there something that spurred you to move other than the nice climate? [08:03] mjr_: Oh, also the best part, if you are a man, is that there are tons of super fit single women there who are looking for a man with a job. [08:03] DTrejo: :) [08:03] mjr_: I am not exaggerating. [08:04] DTrejo: sounds like a good place to travel once I graduate + have a job :) [08:04] pdelgallego has joined the channel [08:04] mjr_: Lots of men get sucked in to the beach culture and skew a little bum-y. [08:05] mjr_: We moved there mostly because it was clean and nice. Our kids have some crazy health issues that seemed related to the environment. [08:06] eldios has joined the channel [08:07] rchavik has joined the channel [08:07] DTrejo: yeah, the bay has some smog :| [08:07] DTrejo: I heard that 1/3 of the pollution in CA is from china [08:07] Esteb has joined the channel [08:09] blueadept has left the channel [08:10] q_no has joined the channel [08:11] indutny has joined the channel [08:14] newy has joined the channel [08:14] liquidproof has joined the channel [08:16] fr0stbyte: fr0stbyte: what's that site call where ppl share code.. forstr.. forestr.. something like that [08:16] DTrejo: forrst [08:16] DTrejo: .com [08:17] DTrejo: fr0stbyte: follow me ;) http://forrst.com/people/dtrejo [08:17] fr0stbyte: DTrejo: thanks [08:17] boehm_ has joined the channel [08:18] DTrejo: gnight everyone! [08:18] brettgoulder has joined the channel [08:18] superjudge_ has joined the channel [08:19] FireFly|n900 has joined the channel [08:19] superjudge_ has joined the channel [08:20] muhqu has joined the channel [08:21] jamescarr__: goodnight [08:21] mc_greeny has joined the channel [08:21] dgathright has joined the channel [08:26] dcelix has joined the channel [08:27] sechrist_ has joined the channel [08:28] ewdafa has joined the channel [08:29] dsirijus has joined the channel [08:30] Skola: What's the recommended way to handle authentication in express? [08:30] k1ttty has joined the channel [08:31] JianMeng has joined the channel [08:31] robhawkes has joined the channel [08:33] Country has joined the channel [08:35] eldios has joined the channel [08:35] thalll has joined the channel [08:37] mhausenblas has joined the channel [08:39] jamey-uk has joined the channel [08:45] jonathantaylor has joined the channel [08:46] jamey-uk: I'm using socket.io and redis to subscribe to a channel. Using redis-cli I can 'publish channel "some message"' but I want to be able to do that from a node URL request, how do I do this? [08:46] jbpros has joined the channel [08:47] stonebranch has joined the channel [08:50] __tosh has joined the channel [08:50] hellp has joined the channel [08:53] pomodoro has joined the channel [08:56] Wizek_ has joined the channel [08:59] Hamms has joined the channel [08:59] pyrotechnick1 has joined the channel [08:59] pyrotechnick1: Marak: how's the bounty going? [09:00] Marak: pyrotechnick1: i gotta test libs [09:00] pyrotechnick1: been dreaming of a software reactable clone for a while now, when you choose the best/pay your bounty i might hit it up again [09:01] kryptom has joined the channel [09:01] pyrotechnick1: i started it in irrilicht and ogre a few different times a couple of years ago now backing onto some pretty questionable synths [09:01] pyrotechnick1: then i think just before i gave up with it all ableton merged with whatever and got a proper API [09:01] pyrotechnick1: max/dsp or whatever they merged with [09:02] pyrotechnick1: supercollider was the best [09:04] mikl has joined the channel [09:04] mikl has joined the channel [09:04] e6nian: Skola: try everyauth or mongoose-auth. [09:05] bzinger has joined the channel [09:06] pyrotechnick1: i guess you're just going to be sequencing samples though right? [09:07] pyrotechnick1: please pay the bounty to someone who implements something that can synth [09:08] jetienne has joined the channel [09:12] blueadept has joined the channel [09:12] jbpros has joined the channel [09:13] jbpros has joined the channel [09:14] jbpros has joined the channel [09:17] chapel: portaudio, synth all the way :P [09:18] saschagehlich has joined the channel [09:18] jdp has joined the channel [09:20] jonsa has joined the channel [09:20] dies_el has joined the channel [09:27] jonsa: what up!?!? [09:28] __tosh has joined the channel [09:30] stagas: pyrotechnick1: you should take a look at https://github.com/stagas/node-supercollider [09:30] stagas: pyrotechnick1: very early still experimenting with sc [09:31] Mrfloyd has joined the channel [09:32] GasbaKid has joined the channel [09:32] zylo has joined the channel [09:34] MikeMakesIt has joined the channel [09:35] hybsch has joined the channel [09:36] asabil has joined the channel [09:36] xsyn has joined the channel [09:37] hoax__ has joined the channel [09:38] kPb_in has joined the channel [09:39] awenkhh has joined the channel [09:41] rodasc has joined the channel [09:46] jfalvarez has joined the channel [09:48] tobiassjosten has joined the channel [09:48] FireFly|n900 has joined the channel [09:49] crodas has joined the channel [09:50] iori has joined the channel [09:51] bkozal has joined the channel [09:51] ditesh|cassini has joined the channel [09:52] jonaslund has joined the channel [09:53] __tosh has joined the channel [09:54] pyrotechnick1: chapel: youd get the bounty if it were my decision ^w^ [09:55] chapel: well my stuff isn't up to snuff right now, been busy [10:00] JackeyChan has joined the channel [10:00] Hamms has joined the channel [10:04] awenkhh has joined the channel [10:05] pyrotechnick1: stagas: this is really cool bro [10:05] pyrotechnick1: how's your supercollider fu? and what are you making? [10:07] pyrotechnick1: have you looked at streaming the audio back to node? [10:07] stagas: pyrotechnick1: I'm a noob to sc, a buddy has been using it for years and had the idea of making a client [10:08] stagas: pyrotechnick1: dunno if it's possible. I want to figure out how to create synthdefs on the fly, that would be awesome. right now we are loading them up first in sc and then using them in node-sc [10:08] pyrotechnick1: everything can be done programatically ;) [10:08] pyrotechnick1: you cant find it in the docs? [10:09] stagas: pyrotechnick1: eventually the idea is a browser interface for loading and controlling synthdefs [10:09] stagas: pyrotechnick1: haven't dug too deep yet still trying to figure out the basics :) [10:09] tdegrunt has joined the channel [10:10] pyrotechnick1: id really like to take another shot at my software reactable idea with node and html5 audio its kind of possible now [10:12] stagas: pyrotechnick1: yeah that's the idea but first we need to expose more sc functionality to node. if you know sc you can help [10:14] Casperin has joined the channel [10:14] stagas: pyrotechnick1: the one thing I want is to create and send synthdefs to sc without touching the sc interface. it is possible but it's difficult, it's not documented very well and it needs some reverse engineering [10:14] kryptom has joined the channel [10:16] piscisaureus has joined the channel [10:16] pyrotechnick1: im real rusty with it all these days [10:16] stagas: pyrotechnick1: or the easier way is to generate files in sc-lang and tell the server to load them from file [10:16] pyrotechnick1: but im def interested [10:17] JackeyChan: with php, you can give html class with
php
, how to do with Jade template engine ? [10:18] stagas: pyrotechnick1: sc-lang is quite similar to js so it would be great if everything was ported over to js land haha [10:19] miloshadzic has joined the channel [10:19] pyrotechnick1: yeah i was thinking that before [10:20] stagas: pyrotechnick1: we use this port as a reference also, it's a python client for sc: http://trac2.assembla.com/pkaudio/wiki/SuperCollider [10:21] stagas: pyrotechnick1: it would allow true sequencers/synths to be written in node which would be fantastic [10:22] pyrotechnick1: ive seen some simple stuff being done in some custom "html5 audio" builds [10:22] pyrotechnick1: maybe thats the future [10:26] chjj: JackeyChan: if you want something similar to how php does that, youd probably be more comfortable with EJS [10:26] chjj: https://github.com/visionmedia/ejs [10:27] JackeyChan: But the project use Jade, I can not change back... [10:27] JackeyChan: chjj: [10:27] sridatta has joined the channel [10:27] chjj: then you have to learn jade's syntax [10:27] isaqual has joined the channel [10:27] pyrotechnick1: JackeyChan: chjj is a troll. just a heads up [10:28] chjj: :( [10:28] uchuff has joined the channel [10:28] JackeyChan: ^~^ [10:28] JackeyChan: you are great man, all of you [10:29] pyrotechnick1: we're cogs in the machine [10:30] thalll has joined the channel [10:31] __tosh has joined the channel [10:31] chjj: jackeychan: https://github.com/visionmedia/jade/blob/db3f8f7cde58a41c8fbc538253e639965d54dbfe/Readme.md [10:31] miloshadzic has joined the channel [10:31] zackattack has joined the channel [10:33] JackeyChan: chjj: I read 3 times, but did not find....Sorry for my stupid... [10:33] FireFly has joined the channel [10:33] chjj: you can do div(class=variable) [10:34] JackeyChan: chjj: thank you, let me try.. [10:34] JackeyChan: chjj: So cool!! [10:35] JackeyChan: chjj: [10:35] JackeyChan: Thank you a lot !! [10:35] pyrotechnick1: another happy customer [10:36] pdelgallego has joined the channel [10:37] broofa has joined the channel [10:37] chjj: no problem sir [10:37] chjj: pyro stop trolling me [10:37] chjj: yeah thats right [10:41] FireFly|n900 has joined the channel [10:41] hybsch has left the channel [10:41] a2800276 has joined the channel [10:41] herbySk has joined the channel [10:41] xeodox: Would it make a big different if I ran my web app on a EC2 Small vs EC2 Micro? [10:46] chjj: too many size adjectives in that sentence [10:46] quacksalot has joined the channel [10:50] FireyFly|n900 has joined the channel [10:50] demastrie has joined the channel [10:50] FireFly has joined the channel [10:50] pyrotechnick1: hot damn [10:50] pyrotechnick1: google are building an MVC stack into chrome [10:51] chapel: ? [10:52] rodasc has joined the channel [10:52] pyrotechnick1: 33 mins in http://www.youtube.com/watch?v=qzA60hHca9s [10:52] pyrotechnick1: forgot the time link syntax [10:52] pyrotechnick1: http://www.youtube.com/watch?v=qzA60hHca9s&t=33m or something [10:53] hellp has joined the channel [10:56] chjj: pyrotechnick1: how would that even work? [10:56] pyrotechnick1: like jquery data binding, or backbone, or spine or sproutcore or something [10:57] pyrotechnick1: and harmony proxies YEAH! [10:57] chjj: i realize what an mvc framework is, just..how would that be implemented native to the browser? [10:57] chjj: it would be attached to the dom? [10:57] __tosh has joined the channel [10:58] pyrotechnick1: did i not link the video? [10:58] chjj: yeah cant watch it, head phones broken [10:58] chjj: =/ [10:58] pyrotechnick1: turn on subtitles [10:59] chjj: in any case, sounds like a terrible idea [10:59] pyrotechnick1: yeah worst idea ever [10:59] pyrotechnick1: we should just implement that kind of stuff 50 different ways over [10:59] pyrotechnick1: thats a heaps better solution [10:59] guybrush: as long as it works with other browsers too? [11:00] guybrush: i mean they build it into chrome? [11:00] chjj: or implement it in a really shitty way, and it just ends up adding bloat to the browser [11:00] chjj: and no one uses it [11:00] Hamms has joined the channel [11:00] chjj: microsoft tried stuff like that once, i think it was called [11:00] chjj: IE [11:00] guybrush: also i just dont like 1 big thing to make it all happen.... just use a bunch of small packages [11:00] guybrush: and build your own [11:01] q_no: does anyone know a good way to couple php-session with node.js? :) [11:01] chjj: php-session? [11:02] markwubben has joined the channel [11:02] chapel: if you watch the video, he isn't even using chrome [11:02] chapel: he is using firefox [11:02] q_no: php sessions... file or db based [11:02] chapel: this is a js library [11:02] chjj: thats a relief, firefox is a terrible browser now anyway [11:02] guybrush: lol that video reminds me very strong on backbone? so far [11:02] guybrush: OMG they are so innovative :p [11:03] chjj: i dont want to lose the only good browser left [11:03] chjj: q_no: im not sure what you mean [11:03] pyrotechnick1: all i can say is i'm glad you guys aren't calling the shots at chrome [11:03] chjj: q_no: what do you mean by "php sessions"? [11:04] chjj: well im glad i dont need to [11:04] iMiksu has joined the channel [11:04] chjj: as long as they dont do something stupid [11:04] chjj: i shouldnt need to [11:04] q_no: I've got a php website which utilizes node.js for some features... and inside node.js I need to find out of a user is logged in or not ;) [11:05] chjj: ok, node has access to the same filesystem right? [11:05] neoesque has joined the channel [11:05] q_no: yeah it does [11:05] chjj: i think php just creates session files in /tmp [11:05] chjj: with session ids [11:06] fairwinds has joined the channel [11:06] chapel: Note: This prototype depends on proxy support which is currently only implemented in Firefox 4, so you'll need that to see everything working properly (changes to data objects reflected in the DOM). First-time rendering currently works in Chrome, Safari and IE9 (Opera doesn't work because it doesn't yet fully support ES5) [11:07] guybrush: right [11:07] chjj: q_no: its hard to say without understanding the structure of your app better [11:07] guybrush: so whats the benefit of that over backbone? [11:07] chapel: nothing, its experimental [11:07] guybrush: kk [11:07] chapel: http://code.google.com/p/mdv/ [11:08] chapel: they are looking at building it into chrome for extension and app builders [11:08] chjj: q_no: if the browser would be sending the same cookie to the node server, it would be easy, i think most browsers disregard port when sending cookies [11:08] guybrush: ah now i get it [11:08] djazz has joined the channel [11:08] q_no: chjj: I was hoping someone already made a tutorial/plugin for this issue [11:08] q_no: I could pass the sessionID... but I need a way to safely revalidate it [11:08] chjj: maybe you should just convert your entire app to node ;) [11:08] chapel: I think the real benefit is that you write the template in html [11:09] q_no: otherwhise anyone could pass any sessionID and overtake other users sessions [11:09] chapel: and send it, and it handles that logic right there [11:09] chjj: q_no: if you can get the session id, you could check the directory php creates session files in [11:10] awenkhh has joined the channel [11:10] chjj: the file names are the session id hashes, so you just have to look for that file [11:10] q_no: yeah, but it wouldn't be safe from overtaking a session (I know it's hard to guess the IDs, but in theory passing any valid sessionID would result in an overtake) [11:10] chjj: well youre doing something kind of hacky to begin with [11:11] matwill has joined the channel [11:11] chjj: there might be a better way but i just dont know how your app is structured [11:12] q_no: I don't think the structure of my app plays a major role... cause the standard php-session handlers are always the same on any php website [11:12] chapel: can someone try to install json-schema via npm [11:12] q_no: was hopeing someone already tackled this issue before ;) [11:13] chjj: q_no: no, i mean, how is your app structured, what is the node server doing, what port is it on? etc. [11:13] q_no: the php code creates the site, and node.js uses socket.io [11:13] q_no: the website is: http://www.dashed.com ;) and infitie canvas where users can draw [11:14] q_no: *infinite [11:14] bergie has joined the channel [11:18] chjj: i still think the simplest and dirtiest way would be to check the filesystem to verify the session data, however, instead of using the default php sessions, you could use some other php session system that talks to a db, and node could simply open up a connection with that db as well [11:19] chjj: so you could have 2 session systems that kind of blend together through a common db [11:19] mikl has joined the channel [11:19] mikl has joined the channel [11:21] q_no: chjj: I think you are right.. I already came up with a similar plan, but thought before starting from scratch...I rather ask here before :) [11:21] iFire` has joined the channel [11:21] q_no: thanks for taking the time to think about it [11:22] chjj: no problem, i hope it works out [11:22] chjj: if things go wrong, you can always switch over to node completely ;) [11:22] chapel: would be easier imo [11:22] chjj: yeah, that would be the ideal solution [11:23] madari has joined the channel [11:24] gnagno has joined the channel [11:24] gnagno: hello all [11:25] eikaas has joined the channel [11:25] gnagno: is it possible to access cookies from the server side code of socket.io ? [11:25] jonaslund has joined the channel [11:29] sjbreen has joined the channel [11:31] incon: I'm looking into authentication for socket.io also [11:32] incon: I'm not much help on a Friday night tho [11:35] chapel: depends [11:35] quacksalot: q_no: when someone authenticates cant you just post that sid into your node app? [11:36] quacksalot: q_no: so i mean your server side code would just say to the node app, hey this is a new sid - hold onto this for later. [11:36] chunhao: is it possible to access global variables from inside a handler function that is imported? [11:36] chunhao: I'm using express, and I have my handlers defined in a separate file, but I want to access a global database connection [11:37] eb4890 has joined the channel [11:38] kryptom has joined the channel [11:39] stepheneb has joined the channel [11:39] CiRlE has joined the channel [11:39] pdelgallego has joined the channel [11:39] bergie has joined the channel [11:40] gnagno: incon, you mean you're trying to solve something similar to my problem ? [11:40] jacobolus has joined the channel [11:41] maru_cc has joined the channel [11:43] gnagno: I have this event in my socket.io code: client.on('message', function(data){ ..... } I'd like to access the cookie in this function, is it possible ? [11:44] q_no: I guess there is no cookie inside this function [11:44] q_no: it's a permanent connection which only transfers the sent data [11:44] q_no: so you need to pass the cookie values from the client on your own, using socket.io ;) [11:45] q_no: please correct me, if I'm wrong [11:45] gnagno: q_no, I thought when the client was opening the connection he was anyway sending the cookie somehow [11:46] gnagno: I mean, when the client opens the socket.io connection isn't it a normal http request ? [11:46] q_no: nope.. it can be a websocket, a flash-fallback or an xhr fallback [11:46] gnagno: uhm.... you're right [11:46] q_no: as far as I understand socket.io [11:46] gnagno: but I would like not to leave something in clear in the client code [11:48] gnagno: isn't it dangerous to put such a sensible information in the client js code? [11:48] herbySk has joined the channel [11:50] tiagoa has joined the channel [11:52] jacobolus has joined the channel [11:52] kriszyp has joined the channel [11:53] muhqu_ has joined the channel [11:54] muhqu__ has joined the channel [11:54] incon: gnagno socket.io has not access to cookies [11:55] incon: cookies seem to have been a nasty hack from the very start [11:55] gnagno: incon, but at least can I access to a unique identifier of the user? so that I can use redis for storing user informations ? [11:56] incon: I've been using the sessionid [11:57] boehm has joined the channel [11:58] incon: I'm waiting on .7 atm before counting my code atm [11:58] gnagno: incon, but you can't access the sessionid as well from socket.io am I right? [11:59] incon: I want to broadcast to a selected group atm of client not all atm and it's not supported atm [11:59] sooli has joined the channel [11:59] `3rdEden: incon that is supported [11:59] wilmoore has joined the channel [11:59] `3rdEden: you canjust create your own broadcast function that runs over the interal clients object and calls .send() on the each that masses your selected group [12:00] incon: That is want i have been doing [12:00] `3rdEden: oohokay [12:00] Hamms has joined the channel [12:00] incon: would like it native to need array of ids [12:00] incon: sessionids [12:01] gnagno: how can I access sessionid from node.js ? [12:01] jano has joined the channel [12:01] incon: `3rdEden you work on socket.io ? [12:01] `3rdEden: incon yes i'm one of the 2 maintainers [12:01] `3rdEden: maintainers / contributors [12:02] incon: `3rdEden no checking to see if in the rare case the random sessionid is matched another on in the chain. The last time i read the source [12:02] davidvanleeuwen has joined the channel [12:03] incon: to another one in the chain [12:03] `3rdEden: incon: yup not needed at the current release as there cant be a race condition [12:03] `3rdEden: it's single threaded [12:03] incon: I had a case of it [12:03] `3rdEden: oh, that sucks ;D [12:04] `3rdEden: incon but that's gonna be allot harder in 0.7 [12:04] incon: so very rare an huge waste to check everytime [12:04] gnagno: `3rdEden, what about accessing sessionid from socket? how can I do that? [12:04] indutny has joined the channel [12:04] sucrenoir has joined the channel [12:04] incon: `3rdEden eta on .7 [12:05] `3rdEden: incon i have no idea, it's probably gonna take a while as it's a complete rewrite and we want to do it good [12:05] tahu has joined the channel [12:05] `3rdEden: gnagno what do you mean? [12:05] dyer has joined the channel [12:05] dyer has joined the channel [12:06] `3rdEden: https://github.com/LearnBoost/Socket.IO-node/blob/master/lib/stores/memory.js#L70-73 <-- new generateId and no it does not prevent raceconditions [12:06] bergie_ has joined the channel [12:06] tmedema has joined the channel [12:08] gnagno: `3rdEden, I mean is it possible to access to some unique user identifier from the server code in socket.io ? [12:09] q_no: all cliends have a sessionID in socket.io [12:09] gnagno: `3rdEden, I have this "client.on('message', function(data){......" I'd like to identify the user is some unique way inside this function [12:09] gnagno: q_no, can I access it just with client.sessionID ? [12:09] `3rdEden: gnagno yes you can all clients are stored `clients` object [12:10] gnagno: what code should I use? just call clients. what? [12:10] `3rdEden: gnagno do console.log(client. sessionId ); :) [12:11] `3rdEden: to get the current session of your user [12:11] dberlinger has joined the channel [12:11] `3rdEden: and Object.keys(socket.clients) to get an array of all ids. (assuming socket is your socket.io instance ) [12:12] k1ttty has joined the channel [12:12] jamey-uk has left the channel [12:13] gnagno: `3rdEden, I get undefined in the console [12:13] jamey-uk has joined the channel [12:13] `3rdEden: thats odd [12:13] `3rdEden: and impossible as well :p [12:14] `3rdEden: as the same property is also used to output the ID to the terminal [12:14] `3rdEden: gnagno see https://github.com/Hotelsnl/Socket.IO-node/blob/master/example/server.js#L51 [12:14] postwait has joined the channel [12:15] asabil has joined the channel [12:15] nvoyager has joined the channel [12:15] incon: `3rdEden I believe it his trying to access socket.io while not on a emit [12:16] gnagno: in the example you're accessing client.sessionId from outside client.on('message' [12:16] ryah has joined the channel [12:16] incon: it's not globe [12:17] `3rdEden: it's scoped gnagno you can still access it inside your message see line 54 [12:17] gnagno: you're right, I didn't see line 54 [12:17] arpegius has joined the channel [12:19] emattias has joined the channel [12:21] demastrie has joined the channel [12:21] demastrie has left the channel [12:23] caike has joined the channel [12:23] incon: any good solutions prevent raceconditions for sessionId? [12:24] djazz has joined the channel [12:24] `3rdEden: incon base session id's on remoteAddres + port + current date + random number :? [12:25] baudehlo has joined the channel [12:25] bshumate has joined the channel [12:25] willwhite has joined the channel [12:26] mattmcmanus has joined the channel [12:26] incon: can get get the incoming portid from node? [12:27] `3rdEden: yes [12:27] incon: while thats the solution then [12:27] `3rdEden: request.remoteAddress and request.remotePort [12:31] fumanchu182 has joined the channel [12:32] mike5w3c_ has joined the channel [12:33] Bogh has joined the channel [12:33] incon: `3rdEden my day job is an interior designer. A fixed length hex still a possibly to return the same id, you still need to check over all of them? [12:35] `3rdEden: incon if you want to be sure that it doesn't exist already it would be the saves thing to do [12:35] incon: why the so random id to start with? [12:37] caike has joined the channel [12:38] Casperin has joined the channel [12:38] tmedema: What is needed to properly validate client input? 1. escape quotes etc., 2. html encode string before passing it onto other clients ? [12:39] tmedema: I saw chriso's validator library, and eg. to prevent xss attacks it seems to be using a way too aggressive approach.. completely removing