[00:00] tjholowaychuk: i like that about node in general, the integration feels much better [00:00] tjholowaychuk: not like ruby where you choose from one of 6 http servers etc [00:00] tjholowaychuk: or webrick hahaha [00:00] tjholowaychuk: all the stdlib stuff sucks [00:00] zmbmartin: tjholowaychuk: my next task to figure out that I use a lot is file upload to gridstore in mongo [00:01] zmbmartin: I still need to tune up my js chops more but it is coming to me. [00:01] tjholowaychuk: i cant remember how gem works [00:01] tjholowaychuk: require 'pony' [00:01] webben has joined the channel [00:01] dshaw_1 has joined the channel [00:01] tjholowaychuk: is not working [00:02] zmbmartin: ruby gems? [00:02] tjholowaychuk: yeah [00:02] blueadept: zmbartin: mongolian is a good npm for gridfs [00:03] numan__ has joined the channel [00:04] webben has joined the channel [00:04] blueadept: it's an excellent abstraction, better than using the native driver [00:04] maushu has joined the channel [00:04] zmbmartin: blueadept: awesome I will take a look thanks [00:04] zmbmartin: tjholowaychuk: what ruby version? [00:04] tjholowaychuk: probably 1.8 still [00:05] tjholowaychuk: haven't touched ruby in ages [00:05] zmbmartin: That looks right but with 1.8.7 you need to require 'rubygems' first [00:05] justinw312 has joined the channel [00:05] tjholowaychuk: oh yeah [00:05] tjholowaychuk: forgot about that [00:05] tjholowaychuk: haha [00:05] tjholowaychuk: it needs to redefine mah require [00:06] justinw312: Still want to do something like MUSH/MUD in Node.js. Still thinking it over before writing the first line. [00:06] webben has joined the channel [00:07] zmbmartin: are many people using coffeescript with express? [00:07] AvianFlu has joined the channel [00:07] zmbmartin: I have just been working on my standard js since I need to build my knowledge [00:08] tjholowaychuk: probably 99% of the ppl who migrated over from ruby [00:08] zmbmartin: I haven't even tried it in ruby yet. [00:08] webben has joined the channel [00:09] blueadept: havent tried coffescript yet, is it worth it? [00:09] drew has joined the channel [00:09] tbranyen: blueadept: don't start [00:09] tbranyen: that convo in here [00:09] tbranyen: pls [00:09] zmbmartin: tjholowaychuk: I saw some of your comments in the thread. Not a fan I take it [00:09] tbranyen: there is a coffeescript channel... [00:09] zmbmartin: github thread in that rails commit [00:09] zmbmartin: tbranyen: sorry [00:10] maushu has joined the channel [00:10] tbranyen: zmbmartin: it just never seems to end well when its brought up [00:10] stepheneb has joined the channel [00:10] tjholowaychuk: oh noes require 'rubygems' didn't do it [00:11] tjholowaychuk: lame [00:11] tjholowaychuk: this is why [00:11] tjholowaychuk: local deps are good [00:11] webben has joined the channel [00:11] zmbmartin: blueadept: how is mongolian compared to mongoose? [00:11] ryanfitz has joined the channel [00:11] blueadept: i use both [00:12] zmbmartin: which to you like more? [00:12] blueadept: mongolian just for gridfs, mongoose for everything else [00:12] zmbmartin: oh ok I will try that then [00:12] dnuke has joined the channel [00:13] zmbmartin: tjholowaychuk: can I access just the subdomain from a url in express or do I need to split it myself? [00:13] blueadept: i remember reading somewhere that mongoose will not have gridfs commands added because the team happy with amazon image cloud [00:13] tjholowaychuk: zmbmartin req.headers.host [00:13] JJMalina has joined the channel [00:13] webben has joined the channel [00:14] Guest1092 has joined the channel [00:15] dshaw_ has joined the channel [00:16] webben has joined the channel [00:17] sreeix_ has joined the channel [00:17] tjholowaychuk: ruby is frustrating [00:17] tjholowaychuk: gems is so broken [00:17] tjholowaychuk: gem* [00:17] zmbmartin: tjholowaychuk: req.headers.host returns the whole url so I need to trim it? [00:17] paul_k has joined the channel [00:18] zmbmartin: rubygems has been a mess lately [00:18] webben has joined the channel [00:18] blueadept: can anyone explain to me the issue with createReadStream and this filename? http://pastie.org/private/ax1qp1ubn4rjkjmnj2ehuw [00:19] tjholowaychuk: zmbmartin it's the hostname, so it could have a port etc [00:19] tjholowaychuk: but yeah you can chop it [00:19] dwasp has joined the channel [00:19] tjholowaychuk: for the subdomain(s) [00:19] zmbmartin: ok thanks [00:19] tjholowaychuk: blueadept not much to go on there [00:20] tjholowaychuk: im assuming that file does not exist [00:20] dwasp has left the channel [00:20] blueadept: but it does [00:20] mcluskydodallas has joined the channel [00:20] blueadept: this is what i'm doing, command = 'curl -L '+userPicUrl+' -o /tmp/'+newFileName [00:20] blueadept: the curl comamnd runs, writes the newFIleName to the tmp directory [00:20] blueadept: and check the directory, it's there, it writes. [00:20] webben has joined the channel [00:20] blueadept: but not in time for the readStream? [00:21] hachque has joined the channel [00:21] hachque: hi everyone [00:21] zmbmartin: tjholowaychuk: I haven't finished reading all the docs but is it easy to use different layouts with different routes? [00:21] mustalac has joined the channel [00:21] blueadept: i could have sworn i had this working last night [00:21] tjholowaychuk: zmbmartin yup [00:21] blueadept: i wake up and it's broken [00:22] tjholowaychuk: gem list shows my stupid gem [00:22] tjholowaychuk: grr [00:22] hachque: i'm working on an implementation of Node.js under .NET and i need to know, given that ReadableStream is asynchronous, how are OnData events handled when there's no handler attached (i.e. events that fire between the creation of the ReadableStream and the .on('data', ...) call) [00:22] tjholowaychuk: IronNode? [00:23] hachque: does it act as if it's paused and that the read events are simply all passed to the OnData event as soon as it's assigned? [00:23] tjholowaychuk: limbo [00:23] webben has joined the channel [00:23] kohai: @marktmcbride: Should #nodejs come bundled with an auto update enabled #npm ? [00:24] hachque: tjholowaychuk: ? [00:24] srid has joined the channel [00:24] srid has joined the channel [00:24] tjholowaychuk: the just go nowhere [00:24] numan__ has joined the channel [00:24] tjholowaychuk: they* [00:24] adam- has joined the channel [00:24] hachque: so you lose the start of the file data? [00:24] facepunch has left the channel [00:24] tjholowaychuk: yeah [00:24] hachque: how could you ever read a file in Node.js then? wouldn't that mean you'd always be missing the first few lines? [00:24] kohai: @kevingc: getting started with node.js on heroku! [00:24] tjholowaychuk: you just listen on 'data' [00:24] tjholowaychuk: but if you have no listeners [00:25] tjholowaychuk: no doesnt care [00:25] _jgr has joined the channel [00:25] tjholowaychuk: node* [00:25] unomi has joined the channel [00:25] tjholowaychuk: there's just nothing to react to the data [00:25] hachque: when you do something like a = fs.open('file', 'r'); a.on('data', function () { ... } ); [00:25] tjholowaychuk: you have a tick to listen [00:25] webben has joined the channel [00:25] hachque: not sure i understand there; doesn't the async request start when fs.open is called? [00:26] tjholowaychuk: you wont receive data events until the next tick (or more) but when it v8 hits that a.on('data' call [00:26] tjholowaychuk: no data events will have been emitted [00:26] hachque: you see in .NET there are asynchronous reads are happening between fs.open() and file.on('data', ...); [00:27] kohai: @NodeJSAtSO: Easy way for accesing memcached from node.js http://bit.ly/inUlbv (link: http://stackoverflow.com/questions/6233832/easy-way-for-accesing-memcached-from-node-js?utm_medium=twitter&utm_source=twitterfeed) [00:27] hachque: in that case i'll set it's initial state to paused [00:27] tjholowaychuk: sounds busted [00:27] hachque: and then when it finishes executing the initial JS statements [00:27] hachque: it'll set them all to unpaused [00:27] webben has joined the channel [00:28] hachque: is one tick one statement, or is one tick after all the initial statements are done and node.js goes into it's main loop? [00:29] hachque: tjholowaychuk: ? [00:29] tjholowaychuk: no it's not one statement [00:29] tjholowaychuk: stack [00:30] hachque: okay [00:30] webben has joined the channel [00:30] materialdesigner has joined the channel [00:32] kohai: @hnfirehose: Node.js Data-Intensive Real-Time Applications: http://bit.ly/mkTDdG (link: http://video.nextconf.eu/video/1914374/nodejs-digs-dirt-about) [00:32] kelvin has joined the channel [00:32] webben has joined the channel [00:33] kohai: @falsefalse: Time has come, installin' node.js now [00:34] Marak: !tweet @falsefalse Yes! Awesome! Real-time support is a tweet away if you run into trouble :-) [00:35] webben has joined the channel [00:36] Qbix2: hey guys [00:36] Qbix2: how come this is false: [00:37] Qbix2: v8> isNaN(null) [00:37] v8bot: Qbix2: false [00:37] Qbix2: v8> isNaN(undefined) [00:37] v8bot: Qbix2: true [00:37] Qbix2: lol [00:37] tjholowaychuk: because js is awesome [00:37] Qbix2: v8> isNaN(null.toString()) [00:37] kelvin: NaN === NaN returns false [00:37] v8bot: Qbix2: TypeError: Cannot call method 'toString' of null [00:37] kelvin: :D [00:37] webben has joined the channel [00:37] Qbix2: v8> isNaN(NaN) [00:37] v8bot: Qbix2: true [00:37] Qbix2: v8> isNaN(true) [00:37] v8bot: Qbix2: false [00:37] Qbix2: wtf! [00:38] Qbix2: v8> isNaN(false) [00:38] v8bot: Qbix2: false [00:38] Qbix2: oh I see [00:38] Qbix2: null and booleans get converted to 0 [00:38] Qbix2: what a crock :P [00:38] DoNaLd` has joined the channel [00:38] zivester has joined the channel [00:38] Marak: Qbix2: http://wtfjs.com/ [00:39] kohai: @dvliman: Node.js Digs Dirt - about Data-Intensive Real-Time Applications Isaac Z. Schlueter, Joyent http://video.nextconf.eu/video/1914374 [00:39] Qbix2: not something to be proud of lol [00:39] webben has joined the channel [00:40] gleicon has joined the channel [00:40] JakeyChan has joined the channel [00:40] JakeyChan: hi good morning :) [00:41] kelvin: hi jakey [00:42] JakeyChan: kelvin: before my name is jackey. because i forget the password of jackey name, so changed it :) [00:42] webben has joined the channel [00:42] kelvin: oh [00:43] Mrfloyd has joined the channel [00:43] kelvin: well, i'm new to node.js, so you prolly haven't me seen around here. but you will in the coming days [00:44] SubStack: but wait I can see you right now am I living in the future? [y/n] [00:44] boaz has joined the channel [00:44] baudehlo_ has joined the channel [00:44] webben has joined the channel [00:45] kelvin: haha. [00:46] Opaque has joined the channel [00:46] boehm has joined the channel [00:46] mawkor2: isNaN(null) [00:46] mawkor2: null is a number [00:47] mawkor2: :D [00:47] webben has joined the channel [00:47] numan__ has joined the channel [00:47] Qbix2: js: new Array([],null,undefined,null) == ",,,"; [00:47] gbot2: Qbix2: true [00:47] Qbix2: whoooo [00:47] JakeyChan: kelvin: yeah, welcome node.js :D [00:48] brianmario has joined the channel [00:48] kelvin: still don't understand how NaN === NaN returns false [00:48] vincenteh has joined the channel [00:49] kelvin: thanks Jakey [00:49] SubStack: NaN is magical [00:49] kohai: @Nodester: CLI nodester status is reporting 1197 node.js apps hosted and 747 apps actively running on a single EC2 large instance with no problems! [00:49] webben has joined the channel [00:49] SubStack: kelvin: it's part of the IEEE floating point spec [00:49] gazumps856 has joined the channel [00:49] vincenteh: Hey, another Statsd question: does anyone know if any example code or tutorials exist for Statsd? I can't figure it out. [00:50] mawkor2: NaN === `| /dev/null` [00:51] mawkor2: brain === `| /dev/null` [00:51] mawkor2: i need grub [00:51] webben has joined the channel [00:53] jhurliman has joined the channel [00:54] webben has joined the channel [00:55] zhami has joined the channel [00:55] tahu has joined the channel [00:56] blueadept: would anyone know why console.log will not execute from within this function? [00:56] webben has joined the channel [00:57] mawkor2: firefox extensions are unnecessarily complex [00:57] nyu|Infinite has joined the channel [00:58] gavin_huang has joined the channel [00:59] webben has joined the channel [00:59] cloudhead has joined the channel [00:59] cloudhead_ has joined the channel [01:01] devdazed has joined the channel [01:01] webben has joined the channel [01:02] AvianFlu has joined the channel [01:02] ryanfitz has joined the channel [01:03] darshanshankar: who came up with "DIRT"? [01:03] webben has joined the channel [01:03] darshanshankar: Data intensive real-time apps? [01:04] darshanshankar: i haven't come across that acronym until I saw isaac's talk today [01:04] brad__ has joined the channel [01:04] brad__: hello [01:04] jsulak has joined the channel [01:05] AntelopeSalad: until I saw isaac's talk today << are the node conf videos out? [01:05] darshanshankar: nextconf [01:05] darshanshankar: http://video.nextconf.eu/video/1914374 [01:05] brad__: could not configure a cxx compiler [01:05] brad__: I'm confused [01:05] migimunz has joined the channel [01:06] webben has joined the channel [01:06] AntelopeSalad: ah, thanks [01:06] brad__: how do i fix the issue /home/USERNAME/node/wscript:225: error: could not configure a cxx compiler! [01:08] _jgr has joined the channel [01:08] webben has joined the channel [01:08] justinw312: apt-get install g++ [01:08] justinw312: assuming you're on ubuntu [01:09] justinw312: ...and assuming its YOUR server. [01:09] sreeix_ has joined the channel [01:09] kohai: @tobyhede: node.js http.request event flow - where did my END event go? http://t.co/BdXDyxN (link: /questions/6234011/node-js-http-request-event-flow-where-did-my-end-event-go) [01:10] justinw312: brad__: what does typing cpp -v result in? [01:10] webben has joined the channel [01:11] stepheneb has joined the channel [01:11] skm has joined the channel [01:12] eyesUnclouded has joined the channel [01:12] Marak has joined the channel [01:13] justinw312: errr g++ -v [01:13] faiqR has joined the channel [01:13] webben has joined the channel [01:13] brad__: @justinw312 I'm on windows and I am on my own server [01:14] justinw312: Oh, then I apologize, I don't know anything about that. [01:14] brad__: would it be the same command in windows [01:14] justinw312: Though it looks like node can't find you compiler [01:14] brad__: in console [01:14] apoc: is there any api documentation? like doxygen or something? (I mean the c++ code of node like node::Buffer) [01:14] justinw312: no, I have no idea what node requires for windows support. [01:15] brad__: just installing support files from cygwin [01:15] justinw312: Oh. [01:15] webben has joined the channel [01:16] brad__: thanks dude [01:16] justinw312: There's cygwin package manager. You need to install g++ [01:16] justinw312: Well, gcc and the c++ compiler [01:16] brad__: installing g++ now :) [01:16] brad__: c++ compiler is on install aswel [01:16] brad__: as well* [01:17] brad__: following this tutorail http://labs.blitzagency.com/?p=2634 [01:17] justinw312: I don't know if select() works well on cygwin. Production performance might be terrible. [01:17] justinw312: I know there was some sort of issue with windows select() [01:18] webben has joined the channel [01:18] brad__: I could run backtrack 5 [01:18] brad__: It's my distro of choise :) [01:18] mundanity has joined the channel [01:19] jtsnow has joined the channel [01:20] jamesarosen has joined the channel [01:20] webben has joined the channel [01:20] hybsch has left the channel [01:21] justinw312: I -think- (someone correct me if I'm wrong) that cygwin just calls the win32 select() which is very scales very poorly [01:22] gsmcwhirter has joined the channel [01:22] JoshC1 has joined the channel [01:22] apoc: anyways maybe someone can help me, I don't really get what this comment means: https://github.com/joyent/node/blob/master/src/node_buffer.h#L57 I mean I need to get a char* buffer out of an Local (that is a Buffer object), how do I cast that without ObjectWrap::Unwrap()? [01:22] niftylettuce has joined the channel [01:22] _jgr has joined the channel [01:22] webben has joined the channel [01:23] blueadept: anyone know why this console.log will not run within this exec command? [01:23] blueadept: http://pastie.org/private/tfjvo6ocjgvfkfpylainuw [01:24] apoc: oh grml nevermind, I get it now, Data excepts the Object without cast :D [01:24] apoc: *Buffer::Data() [01:25] webben has joined the channel [01:25] Yuffster has joined the channel [01:26] pandeiro has joined the channel [01:26] context: blueadept: the child's stdout is not what you think it is ? [01:26] context: blueadept: if you give birth to a baby and you feed it, do you get fed ? [01:26] blueadept: context: i picked up this method from here: http://query7.com/nodejs-curl-tutorial [01:26] blueadept: it was working last night [01:27] blueadept: i wake up this morning, and it breaks [01:27] blueadept: weirdest thing ever [01:27] context: blueadept: and whats your command [01:27] webben has joined the channel [01:27] blueadept: http://pastie.org/private/tfjvo6ocjgvfkfpylainuw [01:28] blueadept: here's the full setup of code [01:28] blueadept: it using it to pull facebook app photos after fbconncet authenticates [01:28] _jgr has joined the channel [01:29] context: :/ [01:29] context: blueadept: works here [01:29] blueadept: wtf [01:29] context: one sec [01:30] webben has joined the channel [01:30] kohai: @StanAngeloff: Yey, YouTube remote control in Node.js https://github.com/StanAngeloff/node-ytremote Subscriptions supported, search & more planned... [01:30] context: blueadept: http://pastie.org/2016381 [01:30] jmoyers: a bit confused [01:30] jmoyers: why are you using curl? [01:30] context: granted the echo didnt work of course [01:31] blueadept: yeah see [01:31] blueadept: this is what's messing up [01:31] blueadept: this has happend to me before [01:31] blueadept: where the console.log jsut doesn't run [01:31] blueadept: or whatever is inside the fucntion [01:31] context: maybe the curl command never returns ? [01:31] blueadept: no it does [01:31] blueadept: the file is created [01:31] brraaains has joined the channel [01:31] blueadept: i'll go look in the tmp dir and it's there [01:32] ParadoxQuine has joined the channel [01:32] blueadept: like i said, i had this working 24 hours ago [01:32] blueadept: i wake up, run some test, and it fails [01:32] webben has joined the channel [01:32] context: try replacing the command with 'echo blah' or something [01:32] blueadept: hm, ok [01:32] context: or ... copy my script and check [01:32] context: ps aux|grep curl [01:34] blueadept: damn, echo didn't fire [01:34] webben has joined the channel [01:35] blueadept: er console.log failed [01:36] _jgr has joined the channel [01:36] blueadept: hm [01:36] blueadept: on it's own it worked [01:36] niles|iPod has joined the channel [01:36] eyesUnclouded has joined the channel [01:37] webben has joined the channel [01:38] Sorella has joined the channel [01:39] webben has joined the channel [01:40] blueadept: fuck [01:40] blueadept: it hate these types of programming barriers [01:41] blueadept: this should be work, was working, now no longer works [01:42] webben has joined the channel [01:42] kohai: @morgancheng: “If your boss asks you to debug the internet, you might want to get a new boss. ;)” —— from news group about #nodejs [01:43] unomi has joined the channel [01:44] webben has joined the channel [01:46] __jgr has joined the channel [01:46] webben has joined the channel [01:47] blueadept: fuck it, going to take a break, figure this thing out later [01:49] webben has joined the channel [01:49] jameson has joined the channel [01:50] Rodtusker has joined the channel [01:51] webben has joined the channel [01:53] webben has joined the channel [01:54] DoNaLd` has joined the channel [01:55] Charuru has joined the channel [01:56] webben has joined the channel [01:56] ale_ has joined the channel [01:57] ale_: hello, I am using Linux Mint, I installed it, but when I try the basic example, I get this error: require is not defined ( var http = require('http'); ) [01:57] AAA_awright has joined the channel [01:57] jaket has joined the channel [01:58] webben has joined the channel [01:58] stagas: yo [01:59] kohai: @selwin: Node.js PaaS Nodejitsu Open-Sources Several Tools by @klintron http://t.co/TmmHCiO via @RWW (link: http://www.readwriteweb.com/hack/2011/06/nodejitsu-open-source-nodejs.php) [02:00] digiwano: why is it that the hardest thing about any software is always coming up with a name for it [02:00] webben has joined the channel [02:02] jaket_ has joined the channel [02:02] kohai: @vaughamhong: Great video on Node.js DIRT (Data Intensive Real Time) programming model - http://tinyurl.com/4yzz6xv [02:02] ale_: Please can someone help? [02:02] kohai: @debianworld_ru: Установка Node.js в Debian / Ubuntu: Node.js - событийно-ориентированный фреймворк на JavaScript движке от Google V8 с неблокирующим ... [02:03] webben has joined the channel [02:04] jgr__ has joined the channel [02:05] kohai: @nigelbabu: @sstatik woah, node.js for launchpad? Nice :D [02:05] webben has joined the channel [02:06] jameson has joined the channel [02:06] ale_: does anyone get the error require is not defined? [02:06] ale_: PLEASE HELP ME! [02:07] digiwano: ale_: hard to say, can you put your code up in a gist or pastebin or somethin [02:07] marshall has joined the channel [02:07] marshall: hey node [02:07] marshall: anybody have experience with siege? [02:07] webben has joined the channel [02:08] ale_: digiwano: http://pastebin.com/vDbxvy1J [02:08] ale_: digiwano: which url should I access? [02:08] marshall: I hooked up hummingbird with one of my apps, I want to simulate a ton of traffic hitting the server but I can't seem to get siege to download the tracking pixel when it visits the page [02:09] brraaains: you can't embed node.js code in html like that can you? that doesnt really make sense [02:09] brraaains: referring to ale_'s code [02:09] digiwano: ale_: node doesnt run in the browser [02:10] ale_: And how can I make it work? [02:10] zmbmartin: tjholowaychuk: did you get your gems figured out? [02:10] digiwano: create a new file named whatever.js, paste the example into that, run it on the commandline with node wahtever.js [02:10] webben has joined the channel [02:10] tjholowaychuk: zmbmartin nah gave up and started working on other stuff for now [02:10] ale_: but if I want to make a webapp is it impossible?! [02:10] brraaains: lol no ale_: [02:10] ale_: sorry, I am fully new to this! [02:11] brraaains: you have to think of node.js as a server side language like php [02:11] digiwano: ale_: it wouldnt make much sense, node is the serverside-part [02:11] marshall: digiwano: that wouldn't let him interact with it [02:11] digiwano: marshall: why not? [02:11] ale_: So nodejs produces a hight amount of bandwidth?? [02:12] marshall: digiwano: when node isn't waiting for anything, like listen(), it finishes and exits [02:12] webben has joined the channel [02:12] digiwano: marshall: but theres a .listen() in his code, its the straight up most vanilla example thats on the node.js main page? [02:13] marshall: digiwano: oh, then yeah [02:13] digiwano: :) [02:13] marshall: guys have any experience with web server benchmarking? [02:13] brraaains: what are you trying to do with nodejs ale_? [02:13] digiwano: seriously though im ready to start turning my simple example code into a real lib and poppin it up on npm or whatever [02:13] digiwano: and im all sorts of held up on coming up with a goddamned name >_< [02:13] marshall: what's it do? [02:14] digiwano: its sort of like the nodejs repl, except not for repl [02:14] ale_: brraaains: a multi-user chat [02:15] webben has joined the channel [02:15] brraaains: go to nodejs.org and look at their demo lol [02:15] digiwano: if you replace the 'eval' in repl with 'whatever the hell you want to do in this step', thats what its for [02:15] marshall: nodeline [02:15] marshall: call it that [02:15] pifantastic has joined the channel [02:15] ale_: and a whiteboard? [02:15] digiwano: console-io was my big one so far [02:15] digiwano: but i dont like that name its got no character [02:15] marshall: or commandnode [02:15] harth has joined the channel [02:15] digiwano: haha oh i know [02:16] digiwano: Comrade [02:16] marshall: I always read those names as "consolio" [02:16] marshall: or "socketio" [02:16] marshall: Comrade [02:16] digiwano: thats one of the reasons i dont like it [02:16] marshall: sounds good [02:16] digiwano: but i love comrade [02:16] ale_: brraaains: ? [02:16] digiwano: thats perfect [02:16] brraaains: define whiteboard [02:16] marshall: too late i just made a framework called Comrade [02:16] digiwano: your plastic pal who takes all the effort out of a generic-ish readline interface [02:17] tk has joined the channel [02:17] marshall: lol [02:17] webben has joined the channel [02:17] _jgr has joined the channel [02:17] marshall: somebody should make a programming language or dialect called nails [02:17] marshall: and a datastore called wood [02:17] marshall: and I'll make a framework called wood and nails with them [02:18] halfhalo: run it with hammer! [02:18] marshall: I could be a wood and nails developer [02:18] digiwano: lo [02:18] digiwano: l [02:18] ale_: brraaains: I mean, doesn't matter, my doubt is how do I run it on web? [02:18] marshall: lol hammer would be the IDE [02:18] brraaains: marshall: i'm sure some hipster programmer is already thinking about it lol [02:18] marshall: hahaha [02:19] marshall: you have to admit, nodejs is pretty hipster [02:19] digiwano: ale_: generally you'd have a node.js server generating all the code, and html/js on the browser side to do the frontend work [02:19] marshall: javascript is vintage [02:19] marshall: in a new context [02:19] marshall: and all the kids love it [02:19] brraaains: nails and wood sounds like something some nyu guys thought of. kind of like diaspora. those kids just picked the most random name out of the book [02:19] webben has joined the channel [02:19] zmbmartin: ale_: read around there are plenty of examples out there. [02:19] ale_: brraaains: Do you know a cheap hosting? [02:20] marshall: What's a diaspora? [02:20] brraaains: its a facebook clone [02:20] marshall: ale_: nodester is free, try and get an invite for that [02:20] brraaains: but more private and stuff [02:20] brraaains: joindiaspora.com [02:20] ale_: cool! [02:20] marshall: is it full of rebels and hipsters? [02:20] zmbmartin: ale_: what is cheap? [02:20] mawkor2: diaspora sounds like a black metal band [02:20] ale_: And last question...does node.js generate too much bandwidth? [02:21] brraaains: marshall: probably lol, i dunno though. it got really popular when they first announced it and they got like 200,000 bucks from donators. mark zuckerberg even donated. but i haven't really heard much from them since it "released" [02:21] kohai: @MadelynFlanagan: Want: Generic #nodejs module that I can plug data in that does life graphs [02:22] webben has joined the channel [02:22] SubStack: breaking: throwing money at a problem doesn't necessarily solve it [02:22] arthur_kalm has joined the channel [02:22] SubStack: but ssshhh don't tell the investors [02:24] webben has joined the channel [02:24] Marak: SubStack: Does throwing developers at problems work? That's what I've been trying [02:24] sorens3n has joined the channel [02:24] mawkor2: I'm going to build a web framework based on the Gopher protocol [02:24] SubStack: Marak: maybe [02:24] mawkor2: fuck this nodejs stuff [02:25] Marak: !insult mawkor2 [02:25] kohai: mawkor2 is a wombat-loving heifer-puncher! [02:25] sorens3n: hey, any of you guys messed with wijmo? [02:25] mawkor2: oops sorry [02:25] sorens3n: or maybe its just all tooltips in general [02:25] sorens3n: can't stop the XSS in a tooltip... :( [02:25] brraaains: marak: be afraid of the future programmers. i just graduated college and most of my peers lacked any motivation [02:26] SubStack: brraaains: well that is just generally true everywhere [02:26] marshall: brraaains: doesn't look like they've released, it says alpha and the email they sent said they will roll out invites in beta [02:26] webben has joined the channel [02:27] sorens3n: i think there is a huge ammount of programmers that lack motivation [02:27] sorens3n: which is really, imo, all you need [02:28] sorens3n: html/css/js/php/node i learned out of motivation [02:28] sorens3n: school... meh [02:28] tjholowaychuk: sorens3n agreed [02:28] tjholowaychuk: i didnt go to school [02:28] brraaains: soren3n: yeah, or being forced to learn something lol. in my first software engineering class my prof told us we had to make a website. so i learned php mysql html css all by myself [02:28] blkcat: i studied greek and latin in college; didn't want to subject myself to a cs program ;) [02:28] brraaains: it actually was a lot of fun [02:29] mawkor2: when i was in school my entire department switched from c++ to java when I was halfway through a minor [02:29] webben has joined the channel [02:29] ale_: The official chat of node.js says: url: "/join" on //make the actual join request to the server...what's that url?!?! [02:29] sorens3n: somedays i feel bad i didn't go through with the full 4year degree [02:29] mawkor2: and I was like 'this is crap' [02:29] mawkor2: looking back I realize I was right [02:29] sorens3n: i'm sure there are many low-level things that i'm missing [02:29] sorens3n: school taught c++/java/mASM [02:29] sorens3n: which i never have made money on [02:30] tjholowaychuk: i just wish i had taken a few years off as my "schooling" and read some good books [02:30] brraaains: sorens3n: it really depends, computer science and programming are 2 different ball games. take an algorithms class and see how little programming you do lol [02:30] sorens3n: and i really did love school [02:30] sorens3n: but i'm poor and needed money [02:30] sorens3n: lol [02:30] mawkor2: yah i loved those classes [02:30] mawkor2: but Im a math major [02:30] sorens3n: assembly was mad fun [02:30] mawkor2: math is way more interesting [02:30] sorens3n: i slept all class however, somehow had the highest grade [02:30] marshall: algorithms and design patterns, I wish I'd learned those in school [02:31] sorens3n: just made me think that the other students were either; a: dumb, b: didnt care [02:31] mawkor2: differential geometry can make your brain melt [02:31] webben has joined the channel [02:32] brraaains: i'm getting my phd now so woo go school! lol [02:32] mawkor2: i;ve seen it happen. very messy. [02:32] sorens3n: haha [02:32] nornagon_ has joined the channel [02:32] kriszyp has joined the channel [02:32] ale_: what does longpolling error means? [02:32] sorens3n: i took calc 2 as the highest math [02:32] brraaains: i did a lot of research as an undergrad so i got hooked into it [02:32] sorens3n: or maybe it was 3, not sure [02:32] sorens3n: polar equations n shit [02:32] sorens3n: whichever lvl that is [02:33] MattJ has joined the channel [02:33] mawkor2: I took calc in high school [02:33] sorens3n: whats funny is that the professors really never taught any of us what it would be like in a real world programming job [02:33] sorens3n: mawkor: same [02:33] webben has joined the channel [02:33] brraaains: no proffesor does cause they never were in one most likely [02:33] sorens3n: the more web-dev i do the more 'real world' programming comes natural [02:34] sorens3n: i relate everything to websites now [02:34] sorens3n: works for me, learning python/django at the moment [02:34] mawkor2: you have to spend like 10 years in acedemia to make something of a math degree though [02:34] sorens3n: yea, f that [02:35] sorens3n: i been doin html/css since i was 14 [02:35] sorens3n: so i guess it took me 10 years to get a great job [02:35] sorens3n: lol [02:35] jerrysv has joined the channel [02:35] sorens3n: i think the love for the game is far more important [02:35] sorens3n: than being forced to learn [02:36] webben has joined the channel [02:36] sorens3n: but then again: i'll never be a tjchuckholloway or a ryah... so maybe i'm missing something [02:36] sorens3n: even tho tj didnt do schooling [02:36] sorens3n: ... [02:37] tjholowaychuk: sorens3n like you said, just takes motivation [02:37] tjholowaychuk: i still suck at tons of things [02:37] tjholowaychuk: math being one of them [02:37] tbranyen: math is boring [02:37] tjholowaychuk: reality is, we all, are not that great [02:37] tbranyen: lets play sports [02:37] brraaains: math is only really important in cs if you are doing real cs. like proofs and algorithms [02:37] mawkor2: http://www.chrisumbel.com/article/node_js_natural_language_porter_stemmer_lancaster_bayes_naive_metaphone_soundex [02:37] sorens3n: heh [02:38] mawkor2: pretty cool [02:38] tbranyen: q: do i shave off my horrible stubby beard-in-progress or leave it on for sisters wedding tomorrow [02:38] sorens3n: well, i got mad respect for you tj [02:38] devdazed has joined the channel [02:38] sorens3n: even more so now for not going through school, like i assumed you did [02:38] tjholowaychuk: brraaains yeah, or heavy into graphics related programming [02:38] webben has joined the channel [02:38] sorens3n: express.js is what taught me node.js [02:38] tbranyen: lol school, what a depressing mistake that was [02:38] sorens3n: jade/keys/express [02:38] tjholowaychuk: sorens3n the biggest thing for me, is getting really mad when i see something and i dont know how it works [02:38] sorens3n: i'm sure i'm missing more [02:39] tjholowaychuk: and then just trying to figure it out [02:39] sorens3n: haha, same here [02:39] themiddleman has joined the channel [02:39] tjholowaychuk: so there's a never ending list haha [02:39] sorens3n: lol i'm with you on that [02:40] tjholowaychuk: besides! never say never, I was a designer most my life lol programming is more of a recent thing [02:40] sorens3n: thats amazing actually [02:40] tjholowaychuk: probably about half my career thus far was design work [02:40] tjholowaychuk: lately like 1% [02:40] tjholowaychuk: now i get frustrated when i have to do photoshop work and need to grab my mouse [02:40] tjholowaychuk: instead of css3 stuff [02:40] webben has joined the channel [02:41] brraaains: tjholowaychuk: did you start with scripting languages or c++/java? [02:41] sorens3n: last app i made was pure css [02:41] Sorella has joined the channel [02:41] tilgovi has joined the channel [02:41] tjholowaychuk: brraaains scripting, I started with php (blahhhh) [02:41] tjholowaychuk: what a brutal introduction to programming [02:41] tjholowaychuk: that alone costed me years [02:41] tbranyen: perl :-/ [02:41] brraaains: i like php. at least when i first used it i thought it was amazing [02:42] sorens3n: haha, i started with php as well [02:42] sorens3n: i was working on Kohana when i finally quit the job to do pure node.js work [02:42] sorens3n: and then made this: http://sorensen.no.de/#/rooms/nodejs [02:42] tjholowaychuk: php -> ruby -> {js,bash,c,c++,obj-c,erl} [02:42] sorens3n: if any of you are interested in a node/backbone/mongodb app [02:43] webben has joined the channel [02:43] sorens3n: or just http://sorensen.no.de [02:43] sorens3n: dont need the chan [02:44] devdazed has joined the channel [02:44] brraaains: the one thing i hate about web programming is that im not a designer. im a programmer. so i want to make some bad ass website; however, my design will suck. but i like to do things myself. would never pay anyone lol [02:44] rchavik has joined the channel [02:44] Marak: sorens3n: looks good [02:44] rchavik has joined the channel [02:44] hachque: is there any expected string length for the onData event for a stream, or can it be of any size (including newlines, etc.)? [02:44] mikenel has left the channel [02:44] tbranyen: brraaains: date a designer [02:45] brraaains: stuff like jade and stylus really help though. i can just focus on the css and html rather than all of the brackets and curly braces [02:45] sorens3n: thanks marak [02:45] sorens3n: was thinking of putting JSONloops in there [02:45] sorens3n: hehe [02:45] webben has joined the channel [02:45] Marak: sorens3n: how so? [02:45] sorens3n: can anyone tell me the point of stylus? or less? [02:45] sorens3n: marak: like a music channel [02:46] Marak: sorens3n: lol, awesome [02:46] sorens3n: and have it pub/subbed to that chan, with maybe admin controls [02:46] Marak: sorens3n: you doing any of this open-source? [02:46] tbranyen: sorens3n: write a lot of css and you'll see the point very quickly [02:46] tjholowaychuk: sorens3n defining all vendor gradient syntaxes and node-canvas generated fallback image in a single property :p [02:46] sorens3n: well, i started off doing the whole thing open source [02:46] tbranyen: partials... variables... single line m*f*ing comments [02:46] sorens3n: but, then i thought i might try and make some cash from it [02:46] sorens3n: any thoughts? [02:47] sorens3n: tj: i write a TON of css, its already built to be cascading, so i never understood another API on top [02:47] sorens3n: just combine classes or declarations? [02:47] tjholowaychuk: like i said, you can have a much more concise document [02:47] tjholowaychuk: for example [02:47] sorens3n: using variables in CSS will probably just create more code in the end, imho, but i've never gotten on board [02:47] tjholowaychuk: with stylus "absolute: top left" vs three props [02:48] webben has joined the channel [02:48] sorens3n: ah, i see [02:48] sorens3n: you did sell me on jade.... [02:48] sorens3n: is stylus yours? [02:48] tjholowaychuk: yeah [02:48] sorens3n: i was considering less if anything else [02:48] sorens3n: i might do some stylus [02:48] sorens3n: i'm just crazy at CSS so i have no need [02:48] tjholowaychuk: out of less/stylus/sass less is definitely the least feature-rich [02:48] tjholowaychuk: with the one benefit of being light enough to run in the browser [02:49] tjholowaychuk: which IMO is a bad idea anyway [02:49] sorens3n: ah, good to know, it was the first one i found [02:49] chjj: thats probably why i would go with less^ [02:49] tjholowaychuk: if you use LESS in the browser, chances are it's for a tiny site, otherwise you would care more, and if it's a tiny site, you most likely don't need such a tool [02:49] hachque: does anyone know whether there's a specific maximum length to the strings passed to an onData event? or whether the onData event returns lines at a time for files, etc.? [02:49] tjholowaychuk: the one exception I've seen, is how devseed uses it for their mapping tool [02:49] chjj: didnt mean in browser [02:50] brraaains: tjholowaychuk: its funny you said you were more of a designer until recently, cause honestly, stuff like jade and stylus seem like its more geared to a programmer and not a designer imo [02:50] chjj: but i do think thats a novel idea [02:50] tjholowaychuk: brraaains for sure [02:50] webben has joined the channel [02:50] tjholowaychuk: everyone at learnboost is a programmer [02:50] tjholowaychuk: we dont have a designer [02:50] chjj: i used to be more of a designer, then i discovered node [02:50] tjholowaychuk: we just want stuff that can help us get things done faster [02:50] tjholowaychuk: and better [02:50] tjholowaychuk: if we had to cater to designers we would probably use ejs or something [02:50] tjholowaychuk: or mustache [02:51] sorens3n: yeah i have mad respect for learnboost [02:51] sorens3n: and all the npm packages [02:51] sorens3n: really got me up to speed on node.js dev'in [02:51] sorens3n: socket.io/mongoose/ect... [02:51] sorens3n: u guys are the fucking shit [02:51] sorens3n: :D [02:51] chjj: lol [02:51] pandeiro: tjholowaychuk is actually 6 people [02:51] chjj: this^ [02:51] sorens3n: hahaha [02:52] mawkor2: a hydra? [02:52] tjholowaychuk: ahahahaha [02:52] tjholowaychuk: hydra [02:52] tjholowaychuk: awesome [02:52] webben has joined the channel [02:52] blueadept: what's up with the new nodemonignore file? [02:53] blueadept: it keeps overwriting a new empty one [02:53] ryanfitz has joined the channel [02:53] blueadept: hmm h/m [02:53] dguttman has joined the channel [02:54] sorens3n: not sure blue [02:54] blueadept: no i figured it out [02:54] LowValueTarget has joined the channel [02:54] sorens3n: k [02:55] webben has joined the channel [02:55] bingomanatee has joined the channel [02:55] blueadept: i had to enter the ignored file into the nodemonignore file while nodemon after it booted [02:55] blueadept: file*entry [02:55] bingomanatee: Hey is there any way to stop the error console in chrome from clearing its log every time a new page loads? [02:55] AntelopeSalad: tj, when you are going to man up and start giving presentations like isaac? [02:55] blueadept: once i did that nodemon went "reading ignore" and now it doesn't overwrite the file on a fresh boot [02:55] Melkor1 has joined the channel [02:56] tjholowaychuk: AntelopeSalad when i stop living in canada [02:56] chjj: tj should give presentations about how coffeescript sucks [02:56] chjj: i would watch that [02:56] brraaains: antelopesalad: there should be a little button that says preserve log upon navigation [02:56] bingomanatee: That's TJ for "When Hell Freezes Over" :D [02:56] brraaains: wrong person lol [02:57] sorens3n: tj: are you still developing Keys? [02:57] brraaains: bingomanatee: what i said before [02:57] brraaains: lol [02:57] webben has joined the channel [02:57] akshatj has joined the channel [02:57] tjholowaychuk: sorens3n not actively really no [02:58] niftylettuce: tjholowaychuk: want a gist of the sticky-footer nib mixin? [02:58] niftylettuce: I have an entire grid system mixin built too [02:58] binarypie has joined the channel [02:58] tjholowaychuk: niftylettuce yeah sure, can you make an issue in the repo? that way i'll remember to take a better look [02:59] sorens3n: would you advise using it at all? [02:59] sorens3n: or no-go [02:59] sorens3n: i really like the package [02:59] webben has joined the channel [02:59] tjholowaychuk: sorens3n: I still maintain everything, just some things I'm not actively extending [03:00] tjholowaychuk: well my ruby stuff I have ruby ppl maintaining [03:00] eyesUnclouded has joined the channel [03:00] niftylettuce: tjholowaychuk: consider it done \o [03:00] sorens3n: k, good to know [03:00] sorens3n: i have a backbone-keys thing i'm working on [03:00] sorens3n: for server side persistance [03:01] sorens3n: i was about to use keys for some pub/sub work [03:01] sorens3n: instead of direct redis [03:01] sorens3n: since i like options [03:01] lukstr: brraaains: phd in what? I'm going for my msc [03:01] brraaains: php in comp sci [03:01] brraaains: phd [03:01] brraaains: * [03:01] lukstr: have a thesis [03:01] brraaains: this fall will be my first year [03:02] lukstr: same [03:02] webben has joined the channel [03:02] brraaains: i did a thesis as an undergrad though [03:02] brimster has joined the channel [03:02] PointlessNick has joined the channel [03:03] lukstr: mine involved node.js :P [03:03] brraaains: nice. [03:04] webben has joined the channel [03:04] mawkor2: brendan eich actually gave coffeescript some props [03:04] brraaains: i did some stuff with microsoft pivot. don't know if you've heard of it. its pretty cool. published a paper on it too. it took up a bunch of my time. all kinds of fun lol [03:05] NuckingFuts has joined the channel [03:05] lukstr: I've seen a bit about it [03:06] sorens3n: alright guys, i'm out, been fun [03:06] brraaains: lukstr: what school are you going to? [03:06] lukstr: University of Guelph [03:06] lukstr: Ontario [03:06] lukstr: Canada [03:06] davidban_ has joined the channel [03:06] lukstr: :) [03:06] brraaains: ah. university of florida for me [03:06] webben has joined the channel [03:06] blkcat: you canadians have the best names. [03:07] blkcat: 'guelph' [03:07] brraaains: lol seriously [03:07] PointlessNick: Eh you say. [03:07] lukstr: it's also the city I currently live in [03:07] blkcat: any other gusties in here? ;) [03:08] mawkor2: if you take away windows, zune, internet explorer, and silverlight from microsoft, it's not a bad company [03:08] mawkor2: and that stupid table thing [03:08] lukstr: and sharepoint, TFS, sqlserver [03:08] lukstr: most of visual studio [03:08] mawkor2: oh yeah and excel [03:08] mawkor2: yeah that too [03:08] lukstr: DirectShow... [03:08] lukstr: GDI [03:08] mawkor2: .NET [03:08] lukstr: oh christ yes [03:08] mawkor2: ActiveX [03:08] brraaains: what stupid table thing? [03:09] mawkor2: the 'computer table' [03:09] webben has joined the channel [03:09] mawkor2: i forgot what its called [03:09] brraaains: oh the surface? [03:09] PointlessNick: excel [03:09] brraaains: that thing isbad ass [03:09] mawkor2: yeah surface [03:10] mawkor2: it's like iPad except it's a table [03:10] mawkor2: iTable [03:10] brraaains: came before the iPad though [03:10] lukstr: here's my compsci building: http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=Guelph,+ON,+Canada&aq=0&sll=37.0625,-95.677068&sspn=54.22533,79.013672&ie=UTF8&hq=&hnear=Guelph,+Wellington+County,+Ontario,+Canada&ll=43.5301,-80.229764&spn=0.012321,0.01929&z=16&layer=c&cbll=43.530058,-80.229699&panoid=xrlY0IMeO2tUZuvniGECvA&cbp=12,41.32,,0,6.41 [03:10] unomi has joined the channel [03:10] mawkor2: ok maybe it's kind of cool [03:10] lukstr: it's the shitty red one on the left OH god Is hould have shortened that [03:10] brraaains: there is a lot of potential; however, it costs like 20,000 dollars to buy one or something. [03:11] webben has joined the channel [03:11] brraaains: well. maybe 10000. but still a lot [03:11] brraaains: apprently just reading though that the microsoft surface 2 will cost $7600 [03:12] mawkor2: it's not cost-effective for replacing menus at a restaurant [03:12] brraaains: lol no not at all [03:12] mawkor2: 30 menus @ 1$ = $30 [03:12] niles|iPod has joined the channel [03:13] mawkor2: that's 19,970 cheaper [03:13] mawkor2: oh wait [03:13] mawkor2: u need a surface for every table [03:13] brraaains: haha [03:13] webben has joined the channel [03:14] Emmanuel__ has joined the channel [03:15] brraaains: microsoft research has a lot of strange products. i remember seeing something on engadget or gizmodo a few years ago about some thing that would write songs or something. but their little intro video was so awkward it was almost comical [03:16] webben has joined the channel [03:16] mawkor2: if you had a really big monitor you could just use XWindows to replace the surface concept [03:16] mawkor2: omg I remmeber that [03:16] brraaains: like the smartboard [03:16] mawkor2: the commercial was soooooo bad [03:16] brraaains: think this is it: http://www.youtube.com/watch?v=3oGFogwcx-E [03:16] migimunz2 has joined the channel [03:17] mawkor2: http://research.microsoft.com/en-us/um/redmond/projects/songsmith/ [03:17] mawkor2: songsmith [03:17] mawkor2: lol [03:17] brraaains: lol yeah [03:17] jdalton has joined the channel [03:17] mawkor2: 'rated s for songsmith' [03:17] mawkor2: omfg [03:17] jdalton: so is their a way to alais path names for require like in requirejs configuration http://requirejs.org/docs/api.html#config ? [03:18] jdalton: *there [03:18] webben has joined the channel [03:18] mawkor2: hidely ho neighbor! it's songsmith! [03:19] brraaains: this commercial kinda makes me want to download it and just narrate/sing my entire life [03:19] kohai: @infynyxx: Bummer :( http://groups.google.com/group/nodejs/browse_thread/thread/94539c915222fc5f/49a9f033dce69580 #nodejs #fb [03:20] mawkor2: it's like Ned Flanders became the CEO of microsoft and came up with this [03:20] kohai: @ludicast: @peepcode Node.js to be de-new-hotness-ed in 3..2.. [03:20] faiqR has joined the channel [03:20] webben has joined the channel [03:21] nrajlich has joined the channel [03:22] mawkor2: I need a heuristic for video search based on really bad data entries from eventful web services [03:22] brownies has joined the channel [03:22] brownies: wtf is joosex [03:22] mawkor2: i don't know where to begin [03:23] webben has joined the channel [03:25] webben has joined the channel [03:25] mawkor2: but first I will order apizza [03:26] brownies: at the beginning [03:26] mawkor2: and watch about 10 episodes of dr who for inspiration [03:26] brraaains: new dr. who? [03:26] mawkor2: yeah [03:27] mawkor2: so good [03:27] brraaains: yeah it really is [03:27] mawkor2: Im totally addicted [03:27] brraaains: i never had watched it until the new dr. its freaking awesome [03:27] brownies: is it? i need a new tv show [03:27] brraaains: do you watch on bbc's iplayer or dl the vids? [03:27] mawkor2: im kind of sad that david tennant is gone [03:27] brraaains: you just have to have a proxy to watch it on iplayer [03:27] webben has joined the channel [03:27] brraaains: but it works great [03:28] mawkor2: the episodes are all on netflix [03:28] brraaains: season 6? [03:28] mawkor2: I think so.... [03:28] brraaains: well thats the newest one going on right now [03:28] brraaains: the 2nd season matt smith as the dr [03:28] mawkor2: well I was really behind when I started I'm not sure, there are still plenty to see [03:29] mawkor2: oh... [03:29] mawkor2: it has everyhting up to matt smith and then some, so maybe it's only up to s3 [03:30] mawkor2: david tennant is going to be in fright night remake which seems pretty cool [03:30] webben has joined the channel [03:30] brraaains: yeah netflix only has the 1st season of the new dr. season 2 with matt smith is going on right now [03:31] brraaains: speaking of netflix. can't knock on silverlight too much. it's what gives you the netflix instant lol [03:31] brraaains: well if you watch it in browser [03:32] eventualbuddha has joined the channel [03:32] webben has joined the channel [03:32] mawkor2: oh really? what about through xbox? [03:33] brraaains: most likely something different. [03:34] webben has joined the channel [03:35] hij1nx has joined the channel [03:36] mawkor2: popfly was pretty cool I think it was just over people's heads [03:37] webben has joined the channel [03:38] brraaains: one thing i love from microsoft is C# [03:38] Bradleymeck has joined the channel [03:39] webben has joined the channel [03:39] brraaains: and visual basic -sarcasm- [03:39] mawkor2: C# is good for what it is, I just hate OO languages [03:40] kohai: @joshuamoyers: WIP baby pubsub class for my mettle project -- http://j.mp/igVDtb eventemitter syntax with namespaces/wildcards #nodejs (link: https://github.com/jmoyers/mettle/blob/master/src/pubsub.coffee) [03:40] brraaains: what about ruby? [03:40] kohai: @baliwebsite: Nodejitsu repositories http://t.co/n8T1j9a for Node.js fan boy (link: https://github.com/nodejitsu/repositories) [03:40] mawkor2: I haven't really used much ruby [03:41] webben has joined the channel [03:42] kohai: @paddyforan: Things that piss me off: having to halt work on the @2cloudproject #nodejs server because my pills are making me sick. #fuckmeds [03:42] mawkor2: erlang is awesome [03:42] jdalton has left the channel [03:42] BlackFate has joined the channel [03:43] Yuffster has joined the channel [03:43] mawkor2: scheme,haskell etc [03:43] brraaains: haha so you are a functional programming guy [03:43] mawkor2: eh, I like them better [03:43] mawkor2: but I have used more OO languages working for others... [03:44] mawkor2: java, c#, [03:44] webben has joined the channel [03:44] brraaains: ive never messed with erlang. i used scheme in college for a programming languages course. but ive heard good things about erlang and haskell. people on /r/programming are super into them [03:46] webben has joined the channel [03:47] brraaains: clojure's another one [03:47] mawkor2: yeah [03:47] mawkor2: they are just more pleasant to work with IMO [03:47] AvianFlu has joined the channel [03:48] EyePulp has joined the channel [03:48] webben has joined the channel [03:48] digiwano: i keep trying to get into some hardcore fp languages but i can never think of anything worth doing with em [03:49] brraaains: same here digiwano [03:49] digiwano: i super dig the concept overall but the only time its felt practical is in scala [03:49] brraaains: thats how i am with a lot of prog languages [03:49] digiwano: where its only half fp/ half oo [03:49] mawkor2: the actor model is so powerful [03:49] digiwano: i'd do more in scala but i cant stand the jvm so [03:50] mawkor2: javascript can be almost purely functional [03:50] JoshC1 has joined the channel [03:50] digiwano: ya [03:50] mawkor2: just using object literals [03:50] mawkor2: so its a nice natural progression to functional languages [03:51] digiwano: and i know its a controversial thing to say this in this chan but i've been nerding out on coffee lately just because it feels more functional-y [03:51] unomi has joined the channel [03:51] webben has joined the channel [03:51] brraaains: imagine using javascript for graphics programming. spent a whole summer on a project using o3d. it was google's web graphics language before webgl was getting big. yuuuck. the main problem was o3d sucked ass [03:51] TooTallNate has joined the channel [03:53] josephboyle has joined the channel [03:53] webben has joined the channel [03:53] brraaains: i did some pretty awesome stuff with js though. created dynamic height maps using pixastic. [03:54] mawkor2: swhat is different in webGL? [03:55] _jgr has joined the channel [03:55] darshanshankar has joined the channel [03:55] webben has joined the channel [03:56] dan_manges has joined the channel [03:56] brraaains: well webGL is just really popular cause you can write embed 3d graphics using javascript [03:56] mawkor2: wow this is pretty good [03:56] mawkor2: http://o3d.googlecode.com/svn/trunk/samples_webgl/o3d-webgl-samples/pool.html [03:56] kohai: @punelive: CloudFoundry supports: Java Spring Roo, Ruby on Rails, and node.js http://ff.im/ETCtb (link: http://friendfeed.com/punelive/1e29258c/cloudfoundry-supports-java-spring-roo-ruby-on) [03:56] brraaains: yeah thats the new o3d. they are using webgl now lol [03:57] dan_manges: does anybody know of a node module that simulates an http serverRequest and serverResponse that uses buffers instead of actual sockets? [03:57] AvianFlu has joined the channel [03:58] webben has joined the channel [04:00] webben has joined the channel [04:01] brraaains: we were using o3d for basically a second life clone but for business information modelling for the army corp. however it didnt scale well at all. 10 avatars in the environment at once and it was suuuper slow [04:02] mawkor2: the pool game crashed :( [04:02] webben has joined the channel [04:03] mawkor2: guess there is a way to go for webGL yet [04:03] mawkor2: but [04:03] mawkor2: there is always DHTML lemmings [04:03] mawkor2: http://www.elizium.nu/scripts/lemmings/ [04:03] brraaains: yeah definitely. there is stuff like unity which is way more powerful and even flash can do really good 3d [04:04] mawkor2: is memory the bottleneck? [04:04] brraaains: for o3d? [04:05] mawkor2: or cpu? [04:05] mawkor2: yah [04:05] webben has joined the channel [04:05] Marak has joined the channel [04:05] digiwano: heh i havent heard the word dhtml in ages [04:05] digiwano: well not "word" i guess [04:05] mawkor2: complex games still bog down regular computers [04:05] brraaains: well one problem we had faced was that firefox was actually setting a limit on the amount of memory we could use. [04:05] digiwano: term [04:05] mawkor2: oh yeah... [04:06] sreeix_ has joined the channel [04:06] mawkor2: most fancy animations on the web are still just plain old dhtml [04:06] brraaains: i ended up going to a different project, and they switched to webgl o3d and were using google chrome. and i have no idea what is going on now. they are making some mmo for drug addicts lol. ironic huh? [04:06] digiwano: mawkor2: well sure but [04:06] digiwano: nobody CALLS it that anymore [04:07] digiwano: the term itself sounds so late 90s [04:07] mawkor2: mmo for drug addicts? [04:07] mawkor2: RehabQuest? [04:07] brraaains: "world of recovery" [04:07] mawkor2: haha [04:07] digiwano: haha jesus [04:07] webben has joined the channel [04:07] BlackFate has joined the channel [04:08] migimunz has joined the channel [04:08] digiwano: fighting a drug addiction with an mmo is [04:08] digiwano: i mean ok you're movin up at least one rung on the ladder but [04:08] znutar: what makes 3d in js particularly horrible? [04:08] brraaains: its not horrible at znutar [04:08] brraaains: at all* [04:08] mawkor2: You have slain the Giant Casino Lizards. Welcome to level 10. [04:08] brraaains: its just o3d was bad for us [04:09] brraaains: there are way better js libraries for 3d [04:09] brraaains: like copperlicht [04:09] znutar: seems like it'd be kinda... ok. Not brilliant but ok. [04:09] brraaains: and 3js or something [04:09] brraaains: i dont think there is killing mawkor2 lol. they do puzzles and shit haha [04:09] pifantastic has joined the channel [04:10] webben has joined the channel [04:11] brraaains: znutar: well i think now google is developing some way to write native code for google chrome. so webgl might go nowhere if that catches on [04:12] webben has joined the channel [04:12] brraaains: http://code.google.com/chrome/nativeclient/ [04:13] jerrysv: anyone have any thoughts on the best mongo module? [04:14] mawkor2: wow [04:14] webben has joined the channel [04:15] stepheneb has joined the channel [04:15] digiwano: nativeclient seems ... iduno [04:16] dguttman has joined the channel [04:16] mawkor2: native client = the point of Chrome OS [04:16] brraaains: yep [04:16] digiwano: at least a little bit dirty and not like its worth the time [04:16] znutar: brraaains: nacl doesn't really solve the same problem though, because now I have to write 3d code for opengles, desktop opengl in all its flavors, etc. etc. whereas one of the nicest things about webgl is it's a unified subset [04:16] astropirate has joined the channel [04:17] webben has joined the channel [04:17] znutar: Kinda surprised that nacl exposed gl stuff given the opportunity for denial of service and all that laso [04:17] znutar: also [04:18] brimster has joined the channel [04:19] brraaains: native client is definitely gonna be good for chrome-os. it might actually justifying buying those "apps" that google lets developers sell in their web store [04:19] brraaains: justify* [04:19] webben has joined the channel [04:20] mawkor2: chrome 12 is beta, will chromebooks release 12? [04:21] mawkor2: well I guess it doesn't matter if it updates [04:21] wookiehangover has joined the channel [04:21] webben has joined the channel [04:22] pkrumins has joined the channel [04:23] mawkor2: im kinf of miffed about the fact that google seems to have actually been hiring some designers [04:24] webben has joined the channel [04:24] brraaains: watching these chromebook advertisements on their site, man, they are geniuses. it appeals perfectly to the non technical person [04:25] kawaz_air has joined the channel [04:26] mawkor2: if it has linux, I'm not sure what else I would need, even as a technical person [04:26] webben has joined the channel [04:26] brraaains: yeah definitely. if i have access to a terminal and i could develop in vim with it. id consider getting one. they are cheap too [04:27] mawkor2: I think u do [04:27] Aria has joined the channel [04:28] broofa has joined the channel [04:28] zmbmartin: niftylettuce: Did I hear you say you have a grid setup for stylus? [04:28] mawkor2: they've been slowly and secretly replacing all of microsofts products [04:28] webben has joined the channel [04:28] niftylettuce: zmbmartin: yessir [04:29] brraaains: google? haha yeah. ive always been a google fanboy. not ashamed of it. practically everything they do is awesome [04:29] niftylettuce: zmbmartin: let me wrap this one thing up then i'll push it as a comment to my Issue on nib [04:29] mawkor2: well more 'subtlely' than secretly [04:30] sreeix_ has joined the channel [04:30] SubStack: brraaains: except for google code, wave [04:30] SubStack: I can probably come up with some more [04:31] brraaains: yeah just read github passed google code in popularity [04:31] mawkor2: I like wave, I tried to get other people to use it but couldn't [04:31] webben has joined the channel [04:31] brraaains: yeah wave was cool. my friends and i used it for a project for real time collaboration [04:31] mawkor2: it was too ahead of its time I think [04:31] brimster has joined the channel [04:31] mawkor2: maybe a few years [04:31] sgentle has joined the channel [04:32] SubStack: oh and buzz [04:32] brraaains: haha yes i agree with you about buzz [04:32] F1LT3R has joined the channel [04:32] brraaains: that was stupid [04:32] zmbmartin: niftylettuce: cool I would like to see that, thanks [04:32] mawkor2: one thing they really do well is recognize when their product isn't working out or something better comes along [04:32] brraaains: and "+1" unless they find a way to prevent advertisers from gaming the system [04:32] mawkor2: and gracefully bow to the better thing [04:33] mawkor2: something that microsoft and apple fail miserably at [04:33] SubStack: mawkor2: also known as giving up [04:33] mawkor2: iTunes is the biggest pile of garbage [04:33] webben has joined the channel [04:33] mawkor2: and apple bought out it's potential replacement, lala.com [04:33] mawkor2: and shut them down [04:34] mawkor2: lala was great [04:34] brraaains: apple is smart with their hardware products though. yeah its pretty ridiculous that they come out with a new "thing" every 6 months but consumers eat it up lol [04:34] mawkor2: but they redirect their energies elsewhere and come up with more cool stuff [04:34] mawkor2: thats a great philosophy [04:35] rfay has joined the channel [04:35] webben has joined the channel [04:38] abha has joined the channel [04:38] webben has joined the channel [04:38] abha has left the channel [04:40] jamesarosen has joined the channel [04:40] webben has joined the channel [04:43] webben has joined the channel [04:44] brraaains has left the channel [04:44] fayce has joined the channel [04:45] webben has joined the channel [04:47] webben has joined the channel [04:48] brownies has joined the channel [04:50] brraaains has joined the channel [04:50] webben has joined the channel [04:50] digiwano: heh [04:50] tim_smart has joined the channel [04:50] digiwano: rewriting this thing for like the 3rd time before i feel like its worth releasing [04:51] SubStack: pfft [04:51] SubStack: "releasing" [04:51] SubStack: whatever that is [04:51] digiwano: heh [04:51] SubStack: just stick that shit up on github and see what happens [04:51] digiwano: well [04:51] digiwano: the first 2 writes only got to 80% [04:52] digiwano: these were "wait i hate this interface i need something more natural im starting over" type stuff [04:52] SubStack: iterate in the open! [04:52] webben has joined the channel [04:53] digiwano: im about to :) [04:53] digiwano: i just had to get it to this point first [04:53] digiwano: right now im cleaning up my latest prototype into a lib [04:53] notgeorge has joined the channel [04:53] incon has joined the channel [04:54] Me1000 has joined the channel [04:54] SubStack: pfft [04:54] digiwano: yeah i know [04:54] webben has joined the channel [04:55] digiwano: i get self-conscious about my code though, silly as it is [04:55] digiwano: which in its extremes only causes me to overengineer things [04:56] BlackFate has joined the channel [04:56] brraaains: i think a lot of people are that way. my code is always hideous. and i feel so guilty when i dont comment my code. cause im always thinking to myself: "but i know what that does... i dont need a comment there" [04:57] notgeorge has left the channel [04:57] webben has joined the channel [04:57] brraaains: well my code isnt hideous. i just think others might think it is [04:58] SubStack: I prefer underengineering [04:58] SubStack: haha comments [04:58] SubStack: I pretty much never write comments >_< [04:58] digiwano: comments are an admission that you can't write expressive code [04:58] Aria: Me either. [04:58] SubStack: digiwano: I know right? [04:59] brraaains: haha yeah thats a good point digiwano. i feel like my code explains itself [04:59] brraaains: cause it does lol [04:59] digiwano: as it should [04:59] SubStack: test coverage > comments [04:59] webben has joined the channel [04:59] SubStack: tests > docs > comments [05:00] digiwano: plus comments are the first thing to get out of date and the easiest thing to let slip by because they're out of date [05:00] brraaains: im pretty particular about my code too. i converted some guys code from c++ to java for the fact that i couldnt stand looking at his awfully formatted code. java on the other hand almost makes it a requirement to write neat code. as long as you stick to the standards [05:01] brraaains: i.e., camel case, getters, setters, etc [05:01] jerrysv: digiwano is an over-achiever [05:01] digiwano: :) [05:02] webben has joined the channel [05:02] jerrysv: comments are not necessarily an admission that you can't write expressive code [05:02] jerrysv: sometimes, when trying to preserve some essence of an algorithm that may be foreign, or some specific business logic, they are needed [05:02] digiwano: oh sure absolutely [05:03] jerrysv: leaving a note about a specific implementation of a levenshtein distance ... [05:03] Lorentz has joined the channel [05:03] Aria: I think the most recent comments I wrote were the details of the adoption-agency algorithm in the HTML5 parser. [05:03] Aria: And that thing is hairy. [05:03] jerrysv: algorithm in the parser? wut? [05:04] webben has joined the channel [05:04] Aria: If you misnest certain tags, the HTML5 parser has a long, detailed, specific way to reparent them so that they make sense. [05:06] webben has joined the channel [05:07] ryan[WIN] has joined the channel [05:08] brraaains has left the channel [05:09] tim_smart has joined the channel [05:09] webben has joined the channel [05:09] philtor has joined the channel [05:10] jhurliman has joined the channel [05:11] webben has joined the channel [05:13] webben has joined the channel [05:14] kohai: @rwaldron: @jalbertbowdenii i am so confused by cassis... i'm looking at code that is both php and js in one file. honestly? no thanks. node.js ftw [05:16] webben has joined the channel [05:18] webben has joined the channel [05:21] webben has joined the channel [05:21] samyak has joined the channel [05:21] hermanjunge has joined the channel [05:22] mustalac has joined the channel [05:23] kohai: @sidcarter: Ok, using node.js doesn't count as framework-free, but I am still quite happy with the end-result. :) [05:23] webben has joined the channel [05:24] tikva has joined the channel [05:25] webben has joined the channel [05:26] sh1mmer has joined the channel [05:28] webben has joined the channel [05:30] webben has joined the channel [05:32] madsleejensen has joined the channel [05:32] webben has joined the channel [05:34] sethmcl has joined the channel [05:34] _rain has joined the channel [05:34] openpercept has joined the channel [05:34] openpercept has joined the channel [05:34] kohai: @estenh: @myersjustinc my node.js flip-cup game is the perfect response to this. [05:35] webben has joined the channel [05:36] raidfive has joined the channel [05:37] kohai: @insideview: Heroku Revamps with Logs, Processes and Node.js http://bit.ly/iC5RiO #cloud #saas (link: http://gigaom.com/cloud/heroku-revamps-with-logs-processes-and-node-js/?utm_source=twitterfeed&utm_medium=twitter) [05:37] webben has joined the channel [05:38] Rodtusker has joined the channel [05:38] TomY has joined the channel [05:39] dguttman has joined the channel [05:40] webben has joined the channel [05:42] webben has joined the channel [05:44] caolanm has joined the channel [05:44] blueadept: anybody have an opinion on https://github.com/bnoguchi/everyauth ? [05:44] webben has joined the channel [05:47] webben has joined the channel [05:48] zmbmartin: blueadept: guess it depends on what you need. [05:48] blueadept: well all of them, twitter/linkedin/facebook/github/foursqare/github [05:49] blueadept: probably more facebook/foursqare [05:49] blueadept: +instagram [05:49] zmbmartin: well I haven't used it for that then, but looks pretty good to me. [05:49] blueadept: i think his lib is kept up to day more often [05:49] blueadept: yeah me too [05:49] blueadept: been working with connectauth [05:49] webben has joined the channel [05:49] blueadept: but now it's being a bitch with the new express [05:49] zmbmartin: Yeah I never did get into connecauth [05:50] jmoyers has joined the channel [05:50] zmbmartin: something rubbed me wrong from the start [05:50] blueadept: express is reinitializing sids after any facebook redirects [05:50] blueadept: and breaks the session [05:50] devrim has joined the channel [05:50] blueadept: anyway, need to switch to a more uptodate lib [05:51] zmbmartin: give it a go [05:51] blueadept: today was like a nuke [05:51] blueadept: did updates, had to update a bunch of libraries [05:51] blueadept: now bascially i'm refactoring whole sets of code on a bunch of projects [05:51] webben has joined the channel [05:52] blueadept: kinds sucks, but at least i'm doing it now and not some time in the future [05:52] zmbmartin: Yeah sometimes I like doing that others it is a bitch [05:54] webben has joined the channel [05:54] samuelkadolph has joined the channel [05:56] replaca has joined the channel [05:56] webben has joined the channel [05:58] BlackFate has joined the channel [05:58] webben has joined the channel [06:00] mustalac has joined the channel [06:00] nornagon_ has joined the channel [06:01] webben has joined the channel [06:03] webben has joined the channel [06:05] stagas_ has joined the channel [06:06] webben has joined the channel [06:07] zmbmartin: niftylettuce: is tj gonna look to pull in the grid? [06:07] niftylettuce: zmbmartin: yt [06:07] niftylettuce: zmbmartin: woah dood I was just messaging you [06:08] webben has joined the channel [06:08] zmbmartin: oh weird I was looking at you github [06:10] niftylettuce: zmbmartin: not much public, everything private ^.^ [06:10] zmbmartin: oh I see [06:10] joshthecoder has joined the channel [06:12] SamuraiJack has joined the channel [06:14] BlackFate has joined the channel [06:15] zmbmartin: niftylettuce: I look forward to checking it out. I am out. later... [06:16] niftylettuce: zmbmartin: wait [06:16] niftylettuce: zmbmartin: posting it now [06:16] zmbmartin: oh ok [06:18] maru_cc has joined the channel [06:19] jmoyers: opinions on javascript documentation generators? [06:19] jmoyers: is it worth it? [06:20] jmoyers: docco seems interesting, but a bit ... verbose [06:20] niftylettuce: zmbmartin: cleaning up my comment syntax, hang sec [06:23] ByteCrunch has joined the channel [06:23] mr-black has joined the channel [06:24] gqlewis has joined the channel [06:24] niftylettuce: zmbmartin: https://github.com/visionmedia/nib/issues/16 [06:24] mynyml has joined the channel [06:24] gkmngrgn has joined the channel [06:26] zmbmartin: niftylettuce: awesome looks great [06:27] niftylettuce: zmbmartin: here is sticky-footer mixin https://github.com/visionmedia/nib/issues/15 [06:27] kohai: @coreyschram: Too tired to continue tinkering with #nodejs but not tired enough to sleep...what's a guy to do? [06:29] Lorentz has joined the channel [06:30] zmbmartin: cool thanks niftylettuce I haven't checked out nib yet so I need to do that [06:32] niftylettuce: zmbmartin: I updated this sticky-footer with an example https://github.com/visionmedia/nib/issues/15#issuecomment-1300891 [06:33] niftylettuce: zmbmartin: have you used SASS before? [06:33] niftylettuce: jmoyers: um depends on what you're documenting and how big project is and if others r working on it toooo [06:34] zmbmartin: niftylettuce: yes that is what I use in rails [06:34] zmbmartin: I use compass with blueprint usually [06:34] niftylettuce: zmbmartin: yeah "compass watch" babbyyy [06:34] stagas has joined the channel [06:35] niftylettuce: zmbmartin: I use compass/sass for all my PHP projects [06:36] niftylettuce: zmbmartin: link me to your site/work plz [06:36] zmbmartin: some of the sites I have done are at my website zyphmartin.com [06:37] zmbmartin: we got some new better stuff on the horizon [06:38] zmbmartin: some of that stuff is a few years old. Amazing what I have learned in a few years [06:38] niftylettuce: zmbmartin: you're from Spokane? [06:39] zmbmartin: Yeah [06:39] SubStack: zmbmartin: sorens3n just moved to that place! [06:39] SubStack: and chapel is in spokane too [06:39] SubStack: SPOKANE PARTY [06:39] zmbmartin: Really [06:39] niftylettuce: chapel: hop in here say hi to your neighbor [06:40] chapel: lol [06:40] chapel: hey [06:40] zmbmartin: I actually live in Kennewick now which is about 2 hours but my partner is in Spokane and that is where I am from. [06:40] chapel: Weather for Spokane, WA · 48°F (9°C) · Humidity: 80% · Clear · Wind: NE at 4 mph · Last Updated on June 3, 10:53 PM PDT [06:40] niftylettuce: o_O [06:40] zmbmartin: chapel: where in spokane do you live [06:40] SubStack: ACTION lived in moses lake a while [06:40] mendel_ has joined the channel [06:40] niftylettuce: Food Pyramid. fail. [06:41] SubStack: fuck that looks so strange to see written down [06:41] niftylettuce: zmbmartin: he's peeking in your window br0 [06:41] chapel: north spokane, close to mead [06:42] zmbmartin: cool I grew up in the valley graduated from Central Valley [06:42] zmbmartin: I just noticed that Food Pyramid [06:42] zmbmartin: haven't been on my site in a bit [06:42] niftylettuce: zmbmartin: you have any relationship with Linode? [06:42] zmbmartin: It needs to be updated [06:42] niftylettuce: they r followin' u on Twitter [06:43] zmbmartin: I have an account with them [06:43] niftylettuce: zmbmartin: baller, I have ~dozen Linodes o_O [06:43] zmbmartin: Yeah I need some more soon. I am spreading what I got pretty thin. [06:44] niftylettuce: zmbmartin: you do sys admin stuff? [06:44] zmbmartin: niftylettuce: I do, not sure how well but I take care of my own. [06:45] zmbmartin: niftylettuce: where are you from [06:46] niftylettuce: East Coast [06:46] zmbmartin: SubStack: what were you in Moses Lake for? [06:46] Dreamer3 has joined the channel [06:47] SubStack: zmbmartin: life [06:47] AdmGre has joined the channel [06:47] SubStack: middle school and part of high school [06:47] digiwano: stitchin together 3 different prototypes :3 [06:47] zmbmartin: nice I use to practice soccer there quite a bit but haven't spent much time there [06:48] sreeix_ has joined the channel [06:48] Emmanuel__ has joined the channel [06:49] zmbmartin: well have a good night guys. I am turning in. [06:49] zmbmartin: niftylettuce: thanks for those links. I look forward to playing with nib and the grid stuff. [06:52] niftylettuce: zmbmartin: if you have ?'s or need help setting up, lmk [06:52] kohai: @mdaisuke: Using sys.inherits in node.js - blog.nodejitsu.com - scaling node.js applications one callback at a time. http://t.co/5GQ0x5Q (link: http://blog.nodejitsu.com/using-sys-inherits-in-node-js) [06:54] kohai: @t32k: node.js について、 #kanaj ではなして欲しい。 #ugj201106 [06:55] Yuffster has joined the channel [06:56] megatx has joined the channel [07:01] gkmngrgn has joined the channel [07:02] BlackFate has joined the channel [07:06] leahculver has joined the channel [07:07] opennix has joined the channel [07:08] tikva has joined the channel [07:09] sreeix_ has joined the channel [07:10] markwubben has joined the channel [07:10] Cheery has joined the channel [07:12] __doc__ has joined the channel [07:12] mustalac has joined the channel [07:13] unomi has joined the channel [07:17] pigmej has joined the channel [07:19] megatx has joined the channel [07:19] markwubben has joined the channel [07:20] insin has joined the channel [07:20] Druide_ has joined the channel [07:21] simenbrekken has joined the channel [07:24] tomtomaso has joined the channel [07:24] xeodox has joined the channel [07:25] opennix has left the channel [07:26] matjas has joined the channel [07:26] forzan has joined the channel [07:33] mendel_ has joined the channel [07:34] __tosh has joined the channel [07:36] skm has joined the channel [07:39] kohai: @samuliheljo: @heikkiv how is node.js working for you? [07:41] darshanshankar has joined the channel [07:42] _jgr has joined the channel [07:43] opennix has joined the channel [07:44] leahculver has joined the channel [07:44] leahculver has joined the channel [07:45] kohai: @agileguy: @hhariri @ICooper Do so!! It is cooler than cool but please @jetbrains hurry up with node.js intellisense/doc references .. I <3 webstorm [07:46] opennix has left the channel [07:48] tomtomaso has joined the channel [07:50] markwubben has joined the channel [07:51] Adman65 has joined the channel [07:52] coreb has joined the channel [08:05] msucan has joined the channel [08:06] Yoric has joined the channel [08:06] TomY has joined the channel [08:08] AhtiK has joined the channel [08:10] idefine has left the channel [08:14] pdelgallego has joined the channel [08:14] JakeyChan has joined the channel [08:14] iaincarsberg has joined the channel [08:14] iaincarsberg: morning [08:17] TomY: Good morning [08:18] unomi has joined the channel [08:19] ewdafa has joined the channel [08:19] AvianFlu has joined the channel [08:20] gozala has joined the channel [08:21] boehm has joined the channel [08:22] tomtomaso has joined the channel [08:24] incon: good evenings [08:26] Tobsn has joined the channel [08:29] unomi has joined the channel [08:29] copongcopong has left the channel [08:30] blup has joined the channel [08:35] Xano has joined the channel [08:36] kohai: @marteinn_se: Finally got CoffeeScript running. Was a bit of pain to install Node.js etc. [08:37] jhurliman has joined the channel [08:38] kohai: @NodeKohai: @marteinn_se Next time, give us a shout over here at the Node.js help line! We can answer any questions you may have :) [08:38] dve has joined the channel [08:39] jacobolus has joined the channel [08:39] nyuszika7h_ has joined the channel [08:40] aliem has joined the channel [08:41] kohai: @marteinn_se: @NodeKohai Thanks! Will definitely do that. [08:44] hellp has joined the channel [08:44] jetienne: +1 for futurejs in node core [08:46] SubStack: wut [08:47] TomY: what is futurejs? [08:47] ghost has joined the channel [08:48] sveimac has joined the channel [08:49] itissid has joined the channel [08:49] SubStack: futures are gross [08:50] STUPIDWIFI has joined the channel [08:52] jetienne: https://github.com/coolaj86/futures [08:52] ph^ has joined the channel [08:52] jetienne: SubStack: any better alternatives ? [08:54] SubStack: so many: http://search.npmjs.org/ [08:54] SubStack: erm [08:54] jetienne: well if you find one, im interested [08:55] SubStack: https://github.com/joyent/node/wiki/modules#async-flow [08:55] SubStack: I wrote seq so that's what I use [08:55] jetienne: im doing database in node, and the callback things need to be in control [08:55] jetienne: even with futures, it is still ugly but at least it is under control [08:56] tayy has joined the channel [08:57] digiwano: i've become a sucker for async.js [08:57] digiwano: love it to death [08:57] jetienne: i dont do file access yet :) [08:57] digiwano: file access is like a bolted on plugin to async.js [08:58] digiwano: it's primary thing is super extensible async functional-programming-style function composition :3 [08:58] jetienne: they should work on their subtitle :) [08:58] digiwano: the file access stuff is cool but its an addon and you can easily replace it or implement an interface similar to the builtin file-access thing [08:59] stonebranch has joined the channel [08:59] digiwano: its basically the same thing i just said :) [08:59] digiwano: composable is the key word that makes it super sweet [08:59] digiwano: i havent played with many of the others [08:59] SubStack: digiwano: it should drop file access then [08:59] digiwano: buddy of mine wrote flow-js [09:00] jetienne: i like futures because it is rather well documented, and it is in the "do one thing, and do it well" mood [09:00] SubStack: it's noise [09:00] digiwano: SubStack: i kind of agree, as soon as i had to step slightly outside the box i ended up just handrollin somthin [09:00] eldar has joined the channel [09:00] papandreou has joined the channel [09:01] MikhX has joined the channel [09:01] digiwano: but its easy and each of my chains is just a simple function(next){ do_work(); next(); } with a special 'this' [09:01] jetienne: not that i know the others, i stopped at the first i understood :) [09:01] digiwano: which is all the fs plugin is [09:01] Epeli has joined the channel [09:01] matjas has joined the channel [09:02] papandreou: SubStack: Apropos seq, anything I can do to sweeten this deal before it gathers too much dust? https://github.com/substack/node-seq/pull/9 [09:02] digiwano: but still, with async.js you can do some pretty cool stuff with discrete function units that just do one step and call next() [09:02] digiwano: the buddy of mine who wrote flow-js is all hung up on node-fibers lately though [09:03] SubStack: oh how did I miss that [09:03] SubStack: papandreou: I think I had a lot of pull requests that week or something [09:03] SubStack: yours must've slipped through [09:04] papandreou: SubStack: It's three separate fixes so I thought one of them was controversial or something, hehe [09:04] SubStack: looks groovy [09:05] ph^ has joined the channel [09:05] gavin_huang has joined the channel [09:06] SubStack: papandreou: it's failing some tests [09:06] SubStack: maybe that's why [09:06] papandreou: SubStack: Oh, that must be the .set() thing? [09:07] liar has joined the channel [09:08] SubStack: papandreou: yes this would be a breaking change [09:08] SubStack: I would just assume have Seq() take an array for a breaking change [09:08] SubStack: since I Seq.ap() all over [09:09] papandreou: SubStack: Oh, so Seq(...) uses .set(...) internally? [09:09] kohai: @imm0use: На секции про django рассказывали об интеграции с node.js и tornado [09:09] SubStack: no they both just update the stack [09:10] SubStack: but this is a breaking change because old code that uses set() will not work [09:10] SubStack: so I might as well change some other stuff [09:10] papandreou: SubStack: Or the docs :) [09:10] samyak: what are the flow control modules one would recommend for working with node.js [09:10] matjas has joined the channel [09:10] papandreou: SubStack: My original issue was that the docs said the wrong thing. [09:10] samyak: I will be also using mongodb [09:10] SubStack: papandreou: the docs were wrong then [09:10] SubStack: tests > docs [09:11] papandreou: SubStack: The two other commits are unrelated, I added them because you can only have one pull req at a time. [09:11] kohai: @imm0use: Интеграция с node.js нужна для делегирования ему таких штук, как, к примеру, чатик. Интеграция с tornado - для использования там django. [09:12] papandreou: SubStack: Would you be opposed to add another function for replacing the entire stack with an array then? [09:12] towski has joined the channel [09:13] SubStack: you could .empty().extend(xs) [09:13] papandreou: SubStack: I've found that to be more useful than what .set() currently doesa [09:13] SubStack: yeah I don't like how set presently works either [09:13] SubStack: but Seq() is the same way [09:13] papandreou: SubStack: Yeah, that's what I'm doing now. [09:13] SubStack: looks at arguments instead of expecting an array [09:14] papandreou: SubStack: Right... So that's the other breaking change you'd be tempted to do at the same time :) [09:14] SubStack: yes [09:14] papandreou: SubStack: No objections from me. Thanks for taking a look. [09:15] kohai: @Xenogenome: Node.js PaaS Nodejitsu Open-Sources Several Tools: submitted by NuMessiah [link] [comment] http://bit.ly/ldNua6 (link: http://www.reddit.com/r/technology/comments/hrezo/nodejs_paas_nodejitsu_opensources_several_tools/?utm_source=twitterfeed&utm_medium=twitter) [09:21] papandreou: samyak: I can certainly recommend node-seq. I've used it in a big project, even in some heavily nested constructs. My experience is that it has exactly the features I need. [09:22] papandreou: samyak: Even concurrency limit, which none of the other libs supported when I checked them out. That's pretty useful when eg. you need to read hundreds of files from disc. [09:23] SubStack: ^_^ [09:23] samyak: SubStack, howdy ? [09:23] SubStack: was planning on having a rate-based concurrency limit at some point too [09:23] SubStack: samyak: oh hello [09:24] papandreou: SubStack: How would that work? [09:24] samyak: I am creating a production app ... to be on ec2 [09:24] SubStack: papandreou: for external apis [09:24] samyak: will be using mongodb with millions of documents !! :P [09:24] SubStack: so it makes sure you can only run X requests every Y amount of time [09:25] SubStack: by checking if (typeof limit === 'object') [09:25] michaelhartau has joined the channel [09:25] tomtomaso has joined the channel [09:25] huge has joined the channel [09:25] asabil has joined the channel [09:26] SubStack: and something like limit = { period : '1m', count : 5 } [09:26] papandreou: SubStack: Ah cool, but wouldn't you need to reuse the same Seq() object for every action you perform against the external API for that to have an effect? [09:26] chjj: oh samyak, it sounds like you need a heavy dose of web scale [09:26] chjj: ACTION needs more web scale [09:26] SubStack: does /dev/null have sharding? [09:26] chjj: hahaha [09:26] nyu|Infinite: % cat /dev/null [09:27] SubStack: papandreou: yeah but it would be handy for doing batch jobs with external apis with rate limits [09:27] alessio_alex has joined the channel [09:28] papandreou: SubStack: Absolutely, would be a great feature no matter what. [09:28] samyak: chjj, yup i am using ec2 with mongohq.com [09:28] papandreou: SubStack: The only other thing I'm missing, of course, is https://github.com/substack/node-seq/issues/10 :) [09:29] herbySk has joined the channel [09:29] alessio_alex: Hello [09:29] alessio_alex: I am trying to show the iostats for my Ubuntu with node [09:29] alessio_alex: http://pastie.org/2017575 [09:29] alessio_alex: however, it works sometimes and sometimes not [09:30] alessio_alex: for example in Firefox it works once every 2 refreshes [09:30] alessio_alex: in Chrome doesn't work at all [09:30] alessio_alex: with curl works all the time [09:30] alessio_alex: Help [09:30] kohai: @NetRoY: first i thought of node.js bindings for solr ... & then i thought what a stupid idea .... its json all the way. [09:30] papandreou: SubStack: And maybe a "pipeline" mode where you can add more items to the stack later, e.g. when traversing a tree asynchronously. But that's probably better suited for a separate module. [09:30] SubStack: async mode for traverse [09:31] SubStack: papandreou: you can submit a pull req for my traverse module [09:31] kohai: @NetRoY: so apparently our beloved @nodekohai & @kohaiTestBot have escaped from the IRC land to spam twitter too .. u mention node & they'll follow u [09:31] papandreou: SubStack: Actually haven't checked that one out yet, but I will, thanks :) [09:32] SubStack: although I haven't run into any cases where I'd want to do a data transformation asynchronously [09:33] SubStack: since those tasks tend to be side-effect free [09:33] towski has joined the channel [09:34] kohai: @NodeKohai: @NetRoY That's because we love people who talk about node.js! [09:34] papandreou: SubStack: My use case is populating a graph with HTML/CSS/JavaScript etc. pulled from disc and the network. I have the same ugly processing queue construct repeated in my code several times. [09:34] NetRoY has joined the channel [09:35] mscdex: alessio_alex: why are you spawning a new iostat process for each connection? [09:35] mscdex: alessio_alex: that seems rather wasteful [09:36] alessio_alex: I`m a newbie.... [09:36] alessio_alex: sorry [09:36] alessio_alex: How should I do this? [09:37] SubStack: papandreou: published [09:37] SubStack: seq@0.3.0 [09:37] sveimac has joined the channel [09:38] papandreou: SubStack: Thanks a lot :) [09:39] chjj: sometimes, i dont think there is an elegant way to manage file uploads on an app [09:41] tayy has joined the channel [09:44] mscdex: alessio_alex: my mistake, i thought maybe iostat was streaming continuous output by default. try this: https://gist.github.com/4a0be9f02ae6a77a9b75 [09:44] alessio_alex: ok [09:44] markwubben has joined the channel [09:45] mraleph has joined the channel [09:45] alessio_alex: mscdex [09:45] alessio_alex: I would kiss you right now. [09:46] mscdex: haha [09:46] NetRoY_ has joined the channel [09:47] alessio_alex: really, thank you a lot [09:48] huge: http://pastie.org/2017617 I got confused in my example [09:49] mscdex: huge: i think you want fs.open(), not file.open [09:49] huge: If I would like to open a file(path) and read all contents, is it correct in my above code sample? [09:49] huge: oops.. [09:49] mscdex: huge: and `status` is the error argument [09:50] mscdex: huge: do you want to read the file in chunk by chunk or all at once? [09:50] huge: both works to me [09:51] mscdex: huge: well for streaming, you could use fs.createReadStream() or use fs.readFile() to read buffer the whole file [09:52] mscdex: huge: if you're just redirecting the file contents to another stream, like an http connection, you can simply do fs.createReadStream('foo.txt').pipe(http_response); [09:52] mscdex: :) [09:53] huge: thanks a lot ! [09:53] davidcoallier has joined the channel [09:55] hybsch has joined the channel [10:03] rauchg has joined the channel [10:03] adrianmg has joined the channel [10:04] fangel has joined the channel [10:05] adrianmg: ey there [10:08] matjas has joined the channel [10:08] d0k has joined the channel [10:10] NetRoY has joined the channel [10:11] NetRoY_ has joined the channel [10:12] Mrfloyd has joined the channel [10:12] azeroth_ has joined the channel [10:15] daglees has joined the channel [10:16] vdemedes has joined the channel [10:16] vdemedes: Hello guys! [10:17] vdemedes: I just launched my first Node.js application! [10:17] vdemedes: http://dropsapp.com [10:17] vdemedes: Node.js, MongoDB, memcached [10:17] Misao-chan has joined the channel [10:17] vdemedes: Cluster, Mongoose, node-memcached, formidable used [10:17] vdemedes: and of course, Express + Connect [10:17] vdemedes: with their awesome middleware [10:18] maushu has joined the channel [10:19] stephank has joined the channel [10:20] dgathright has joined the channel [10:20] mscdex: node.js rules! [10:21] maushu has joined the channel [10:22] pifantastic has joined the channel [10:22] Djko has joined the channel [10:23] Bj_o_rn has joined the channel [10:23] samyak: vdemedes, why air ? [10:23] kohai: @olegpodsechin: Missed most of the talk by @kurokikaze about #nodejs stacks at #devconf due to main track running late - we should catch up after the event [10:24] vdemedes: samyak: the only alternative is Appcelerator Titanium. And I dont know Objective-C, C++, C, etc [10:24] vdemedes: samyak: it helped me to focus on code and features [10:24] vdemedes: samyak: without paying attention to cross-platform issues [10:24] petrjanda: vdemedes: in Appcelerator you write in JavaScript [10:25] vdemedes: petrjanda: just like in Adobe AIR [10:25] vdemedes: :-) [10:26] openpercept has joined the channel [10:26] petrjanda: vdemedes: well most of the AIR app are as3 based, but you are right you can bundle lot of different stuff in there [10:26] vdemedes: petrjanda: Drops is written in HTML/CSS/JS [10:27] petrjanda: vdemedes: yeah why not :) [10:27] vdemedes: :-) [10:28] petrjanda: vdemedes: just hard to deliver this to ios devices [10:28] vdemedes: petrjanda: If you read blog post on Drops' blog, you'll see that I said about migrating to Titanium [10:28] vdemedes: I'm planning to do this [10:28] vdemedes: definitely [10:28] vdemedes: petrjanda: http://blog.dropsapp.com [10:29] petrjanda: vdemedes: well I've done lot of air develpment and would go the same way as well [10:29] justinTNT has joined the channel [10:33] segaway has joined the channel [10:33] TomY: ACTION missed talking about futures :-( [10:33] mraleph has joined the channel [10:33] TomY: jetienne, how does that library compare to promised-io? [10:33] TomY: (if you've tried it) [10:34] jetienne: TomY: i havnt [10:34] zhami has joined the channel [10:35] kohai: @killme2008: Node.js Undocumented(2):     Node.js Undocumented(1)    Node.js Undocumented(2)    写这种系列blog,是为了监督自己,不然我估计我不会有动力... http://bit.ly/muOccf (link: http://www.blogjava.net/killme2008/archive/2011/06/04/351744.html?utm_source=twitterfeed&utm_medium=twitter) [10:35] jetienne: TomY: but futurejs is documented, so it took the flag for me [10:35] jetienne: TomY: currently this is working well [10:37] jetienne: TomY: personnaly i would love to have one in node core, thus i could use it without fear [10:37] beawesomeinstead has joined the channel [10:37] beawesomeinstead has joined the channel [10:37] TomY: looks pretty similar, I'd also love to have something that is likely to be the same as other people are using [10:37] TomY: although I think the competition has been healthy [10:38] TomY: ACTION can't load 2.no.de :-( [10:39] barbz has joined the channel [10:40] TomY: something compatible with promises in jquery would be a plus for me as i want to make stuff that works well for client-side developers [10:40] TomY: (not that i do a lot of that myself) [10:43] michaelhartau has joined the channel [10:44] gozala has joined the channel [10:44] barbz: is there any good ways of doing read only (or similar) global variables that are used by TCP socket clients? i.e. I want to store configuration in a file which is loaded in startup and I want all clients to read that same configuration. [10:46] papandreou: SubStack: Running into some problems after upgrading from seq 0.2.1 to 0.3.0. Looks like an infinite loop in traverse.map => walk => walker where it's plowing through all the objects in my stack. [10:46] Me1000 has joined the channel [10:47] SubStack: papandreou: in traverse or seq? [10:47] papandreou: papandreou: seq which uses chainsaw which uses traverse [10:47] SubStack: ah [10:48] papandreou: SubStack: I've been trying to come up with a simple test case, but failed [10:48] SubStack: papandreou: can you get the tests to run? [10:49] papandreou: SubStack: Yes, the seq tests run fine, it's the tests of my own code that's failing after I upgrade. [10:50] papandreou: SubStack: It's a simple Seq([complex object holding refs to a lot of other objects]).parEach(function (obj) {...}) that never makes it into the parEach function. [10:50] jaket has joined the channel [10:51] SubStack: hmm [10:51] SubStack: chainsaw shouldn't care about that I should think [10:51] SubStack: it only uses traverse on the handler functions [10:51] papandreou: SubStack: Yes, the trouble starts here: var ch = Traverse(saw.handlers).map(function (node) { ... [10:53] sreeix_ has joined the channel [10:54] iaincarsberg has left the channel [10:56] papandreou: SubStack: https://gist.github.com/1007802 [10:56] _jgr has joined the channel [10:57] hide has joined the channel [10:58] springify has joined the channel [10:59] SubStack: papandreou: puzzling! [10:59] michaelhartau has joined the channel [11:00] SubStack: papandreou: it's not just circular refs because when I try one of those it works fine [11:01] papandreou: SubStack: So it's just when there're lots of refs? [11:01] SubStack: could be [11:01] _jgr has joined the channel [11:02] fyskij has joined the channel [11:02] SubStack: papandreou: ah it just gets really slow [11:02] SubStack: papandreou: try with 1000 [11:02] SubStack: and 500 [11:03] SubStack: hmm that is no good [11:03] SubStack: I should probably just scrap the chainsaw dep and do it all manually [11:03] papandreou: SubStack: You're right. So the bug is that it's dipping there in the first place? [11:03] SubStack: papandreou: it's not dipping anywhere, it's just slow [11:04] MattJ has joined the channel [11:05] papandreou: SubStack: Maybe it's because I'm seeing it from seq's perspective -- but when I console.warn in traverse's walk/walker methods I can see that it's poking around those referenced objects, where it should really only look at the first level? I mean to accomplish what seq/chainsaw wants? [11:07] SubStack: oh that is super odd! [11:07] SubStack: yeah totally a bug then [11:08] papandreou: SubStack: Missing a shallow:true flag somewhere I'm guessing [11:08] SubStack: but it is already 04:08 here >_< [11:08] papandreou: SubStack: Haha, 1pm here [11:08] _jgr has joined the channel [11:09] papandreou: papandreou: I'll just stop what I'm doing and resume when you've had the time to look into it [11:09] papandreou: SubStack: Ack, dunno know why I keep addressing myself, hehe [11:09] SubStack: just bug me on irc tomorrow [11:10] papandreou: SubStack: Deal! [11:13] kohai: @MikeChelen: @monitron Hey is there any place to find more info about "social music" projects? I'm also interested in node.js #dhdc [11:13] joep2 has joined the channel [11:16] Viper-7 has joined the channel [11:24] SubStack: question: can somebody `npm install burrito` real quick? [11:24] SubStack: oh wait I can do that [11:24] SubStack: hmmm perhaps not, old npm on that server [11:27] SubStack: bah it didn't inline the node_modules directory [11:27] SubStack: the one time when I actually want it to... [11:27] jacobolus has joined the channel [11:27] SubStack: aha there we go [11:27] SubStack: might work now [11:29] SubStack: https://github.com/substack/node-burrito [11:31] some1else has joined the channel [11:31] michaelhartau has joined the channel [11:36] JakeyChan: how doest the middleware work in the connect ?? [11:37] JakeyChan: I want to try middleware for connect, but do not know where can i start [11:38] vdemedes: JakeyChan: want to write own? [11:38] vdemedes: or just use? [11:39] JakeyChan: write own :) [11:39] SubStack: JakeyChan: server.use(function (req, res, next) {}) [11:39] vdemedes: app.use(function(req, res, next) {}) [11:39] vdemedes: SubStack: :-) [11:39] JakeyChan: so, every middleware just can use req, res, next three params ? [11:39] vdemedes: y [11:39] vdemedes: e [11:39] vdemedes: p [11:40] JakeyChan: If I use "this" in function ,whereis the point to ? [11:40] vdemedes: idk [11:40] JakeyChan: idk ? [11:41] JakeyChan: sorry for my stupid question :) [11:44] RC^TAB has joined the channel [11:45] vdemedes: idk = I dont know [11:46] matjas has joined the channel [11:47] a2800276 has joined the channel [11:50] copongcopong has joined the channel [11:52] Mrfloyd has joined the channel [11:52] kohai: @SimeonNedkov: Commence hacking: something something with node.js and pachube and.. beers. [11:57] springify has joined the channel [12:01] kohai: @olegpodsechin: Yura Bogdanov talking about #nodejs node-fibers & node-sync at #devconf http://yfrog.com/h2yjqffj [12:04] vdemedes has left the channel [12:05] ben_alman: is there any way in package.json to specify dev dependencies and production dependencies separately? [12:06] adrianmg has left the channel [12:06] temp01 has joined the channel [12:08] adnam: ben_alman: see npm-help, devDependencies [12:08] ben_alman: thx [12:09] tomtomaso has joined the channel [12:09] ben_alman: is there a url for that? i don't see devDependencies in the output of npm help [12:10] ben_alman: ok it's developers [12:10] ben_alman: got it [12:11] kohai: @webosinternals: A single example app with Mojo, Enyo, C service, PDK plugin, and Node.js service. http://git.webos-internals.org/?p=applications/hello.git [12:15] dane_ has joined the channel [12:16] aliem has joined the channel [12:16] wbw72 has joined the channel [12:20] okuryu has joined the channel [12:20] davidban_ has joined the channel [12:23] `3rdEden has joined the channel [12:24] niles|iPod has joined the channel [12:24] stuck` has joined the channel [12:26] gozala has joined the channel [12:27] torgeir has joined the channel [12:29] kohai: @Xymak1y: GoSquared – Blog – Panic Over! Node.JS Help Sheet is here.: http://is.gd/lv0TM3 (link: http://www.gosquared.com/liquidicity/archives/1930) [12:32] nyuszika7h_ has joined the channel [12:32] devdazed has joined the channel [12:36] okuryu_ has joined the channel [12:36] xandrews has joined the channel [12:36] thalll has joined the channel [12:38] kohai: @schckenny: Reading @netmag on the way to wembley. Will definitely be playing with node.js when I get back. [12:41] kohai: @alekseyrybalkin: Юра Богданов: "много I/O + много запросов + event loop = PROFIT" #nodejs #devconf [12:44] kohai: @andremaha: Thanks to @gomfunkel I discovered wonderful thing called #nodejs JavaScript is fun again! [12:47] davidban_ has joined the channel [12:48] k1ttty has joined the channel [12:49] jomoho has joined the channel [12:53] papandreou has joined the channel [13:00] knuthy has joined the channel [13:00] knuthy: Hi, [13:01] knuthy: I've got a little issue in Stylus, but dunno if I should ask here or an other channel :/ [13:01] knuthy: I simply want to import the Google's webfonts, using the @import statement. [13:03] jsulak has joined the channel [13:04] eldar has joined the channel [13:05] pdelgallego has left the channel [13:07] kohai: @neil_pie: @marcgear the audio for your node.JS talk is 404 on phplondon.org - is it up anywhere else? I'd love to hear it [13:09] tomtomaso has joined the channel [13:10] tom-tomaso has joined the channel [13:10] jtrudeau has joined the channel [13:12] davidban_ has joined the channel [13:13] gqlewis has joined the channel [13:14] petrjanda has joined the channel [13:17] kohai: @NodeJSAtSO: Obtain all functions in a file in Node.js http://bit.ly/lJ7i6h (link: http://stackoverflow.com/questions/6236944/obtain-all-functions-in-a-file-in-node-js?utm_medium=twitter&utm_source=twitterfeed) [13:19] herbySk74 has joined the channel [13:22] stepheneb has joined the channel [13:22] aliem has joined the channel [13:24] kohai: @drypot: 100 만 개 짜리 어레이에서 1 만개 억세스하는 데 걸리는 시간, MacBookAir, Node.js : 4ms. 빠르다. ^^ [13:26] ph^_ has joined the channel [13:27] Aria has joined the channel [13:34] JakeyChan has joined the channel [13:35] JakeyChan: Hi, are there have guys come from China? [13:36] kohai: @cowboy: Easy relative-to-module-root paths: var path = require('path').join.bind(null, __dirname, '..'); path('lib'); path('bin'); #nodejs [13:46] kohai: @gabrielpillet: Cherche codeur ninja PHP/JS pour un projet de portail de jeu de go pour la #gamedevparty #symfony #jquery (#nodejs ?) [13:46] saschagehlich has joined the channel [13:47] jonaslund has joined the channel [13:47] Gruni|NA has joined the channel [13:49] edude03 has joined the channel [13:50] a2800276 has joined the channel [13:51] syskk has joined the channel [13:51] MonsieurLu has joined the channel [13:52] TomY has joined the channel [13:53] zeunix: anyone know of a good write up on solving the aggressive proxy caching of session cookies? I've seen plenty of people discussing it but no one providing real solutions cause as far as I can see it's ultimately up to the proxy honoring your header requests for no cache. Thoughts? [13:54] zomgbie has joined the channel [13:55] italic has joined the channel [13:55] jonaslund_ has joined the channel [13:56] cloudhead has joined the channel [13:57] devdazed has joined the channel [13:57] kohai: @cheborashka: sigh, trying out new adventures #blaastdev. using node.js on #openindiana or #solarisexpress is not for the faint hearted. [13:58] jsulak has joined the channel [13:58] italic: can you add an event listener on an object's prototype, so all inherited objects have it? or must that be done in the constructor? [13:59] ckknight: SubStack: node-burrito looks pretty shiny [14:00] ckknight: italic: what event system are you using? EventEmitter? [14:00] italic: yes [14:01] cloudhea1 has joined the channel [14:03] zeunix: italic: you mean like SomeObject.prototype.__proto__ = EventEmitter.prototype; ? [14:04] zhami: italic I'm not sure the implications of using sys.inherits to add that because it substitutes a new object for the prototype [14:04] italic: like, i have many objects that i want to have the same listener for. rather than add on each time in the constructor, add once to it's prototype or something [14:05] zhami: zeunix: doing that assignment would lose existing prototype [14:05] zeunix: Guess I'm not following then, cause I've been using that method for a while and it works like a charm. [14:05] italic: o1.on('add', function () { log(this.a + this.b) }) [14:06] devdazed has joined the channel [14:06] dan_manges has joined the channel [14:06] syskk: Im kind of wondering if it would be possible at all to implement lazy loading in a Node.js ORM. Probably not, I guess. [14:07] mscdex: syskk: you probably could with node-overload or something [14:07] kohai: @github_js: etherpad-lite - A Etherpad based on node.js http://bit.ly/m0orY3 (link: https://github.com/Pita/etherpad-lite) [14:07] pita1 has joined the channel [14:08] pita1: anyone knows how to escape a ' in sqlite? [14:08] mscdex: italic: just create the event listener function outside the object definition, at the top of the file [14:08] jarek has joined the channel [14:08] jarek has joined the channel [14:08] ryan[WIN] has joined the channel [14:08] CIA-1: node: 03Dave Pacheco 07master * re142fe2 10/ (4 files): [14:08] CIA-1: node: DTrace probes: support X-Forwarded-For [14:08] CIA-1: node: INTRO-385 (+7 more commits...) - http://bit.ly/kgNThC [14:09] syskk: mscdex: yes, but lazy loading usually implies an I/O operation with a database, so the developer would need to provide a callback. which makes lazy loading pretty useless... the point of lazy loading in an ORM is that the developer doesn't have to worry about what to load from the DB upfront [14:09] jtsnow has joined the channel [14:11] mscdex: syskk: i don't follow, of course you'd have to have a callback somehow for async stuff [14:12] JakeyChan: what means of this code : require.paths.unshift(__dirname + '/../../support'); ? [14:13] syskk: let's say you have a book object with an author property, book.author shouldn't be loaded from the db until it is actually used, that's what I mean by lazy loading. this isn't really possible with Node.js [14:14] syskk: you have to explicitly load it from the db [14:14] syskk: the ORM can't do it in the under the hood [14:15] azeroth_ has joined the channel [14:17] micheil has joined the channel [14:17] tdegrunt has joined the channel [14:20] TomY has joined the channel [14:20] Wizek: Hi there TDD folks! How do you test "private" functions when writing unit tests? [14:20] kohai: @OlgaAyva: #devconf_ru Geometria streaming case for Music&Photo with #nodejs help right now [14:21] brimster has joined the channel [14:23] ryah: Wizek: don't make them really private [14:23] ryah: Wizek: just put an underscore or something in front to suggest they are private [14:23] ckknight: Wizek: either don't make them private or, what I prefer, is to test the external, public API [14:25] ckknight: I'm not a big fan of testing the private internals because if you do an internal refactor, as long as the public API tests pass, it's all good. Also, you should try to be modular enough so that not too much magic is being done in the background [14:25] Wizek: ckknight, but then, aren't you baffled when you write something quite big, and you can only test the whole to see wheter it passes (sometimes with false positives maybe), or fails as a whole not indicating well where the error might be? [14:26] ckknight: Wizek: true, but I generally try to architect things so I don't get into that case [14:26] Wizek: ryah, yep, I tought the same. Maybe there is a reason for JS missing public and private keywords :) [14:27] Wizek: ckknight, In what way do you architect then? [14:27] baudehlo: "Maybe there is a reason for JS missing public and private keywords" - yes because they are a straight jacket that you don't really need. [14:28] ckknight: Wizek: although it's quite tough, I generally try to expose as little as possible, which allows for stronger modularity and more of a capability-oriented programming style. I test how things perform, not necessarily what individual getters return (and such) [14:28] MarkMenard has joined the channel [14:30] kohai: @cjatwork: #devconf транляция фото. Canon+wifi > ftp server > pythonify > radis > node.js [14:30] ckknight: Wizek: are you testing a library or an application or what? [14:30] Wizek: ckknight, the latter [14:30] kersny has joined the channel [14:31] ckknight: Wizek: HTML-based web app? RESTful API? [14:32] syskk: is it possible to sandbox a script so that most of the Node.js API is unavailable? [14:33] Wizek: ckknight, HTML based? It's more like JS based, but yeah, it manipulates the dom [14:34] ckknight: syskk: yeah, just runInNewContext and don't pass in require [14:35] ckknight: Wizek: basically my approach is outside-in. Take the outermost input (in your case, user action such as typing stuff or clicking) and then look at the resultant outermost output (a dialog box pops up or what have you) [14:35] rfay has joined the channel [14:36] sreeix has joined the channel [14:36] ckknight: don't be dogmatic about it, though. Sometimes it's far easier to expose a little data if only for testing purposes. [14:36] Wizek: ckknight, you use selenium for this, or other? [14:36] syskk: ckknight: thanks [14:37] papandreou: cloudhea1: Have you taken a look at this async topic issue? It's a major gotcha, me and two of my colleagues have run into it independently... https://github.com/cloudhead/vows/issues/53 [14:37] ckknight: Wizek, I've used Watir in the past (in my ruby days), I haven't done it in a node app yet. I'd check out zombie, though. [14:37] tmedema has joined the channel [14:38] kohai: @cjatwork: #devconf Socket.io имеет кучу багов. Использовать для продакшена нельзя. #nodejs [14:38] tmedema: Anyone knows more about properly ending a http server connection? Posted a thread on ML: http://groups.google.com/group/nodejs/browse_thread/thread/6b6f5f7167d4561b [14:38] secoif has joined the channel [14:39] fangel has joined the channel [14:41] xandrews has joined the channel [14:42] kohai: @olegpodsechin: Beseda.IO vs Socket.IO by @shumkov at #devconf (Beseda wins) #nodejs http://yfrog.com/h3q12hnj [14:42] bshumate has joined the channel [14:42] bshumate has joined the channel [14:45] kohai: @cjatwork: #devconf тормозные вещи в #nodejs — Util.log, querystring.parse, setTimeout, eventEmitter. [14:45] markwubben has joined the channel [14:51] mscdex: tmedema: "properly" == res.end() [14:51] kohai: @olegpodsechin: Lots of interest and talks on #serverjs #ringojs & #nodejs at #devconf - @ryah you should definitely drop by next year [14:52] mscdex: ACTION shakes a fist at Rhino [14:52] Spion has joined the channel [14:55] gozala has joined the channel [14:58] temp01 has joined the channel [14:58] rfay has joined the channel [15:00] gsmcwhirter has joined the channel [15:01] pifantastic has joined the channel [15:02] eyesUnclouded has joined the channel [15:03] kohai: @rsbohn: Sinatra user, want to get started with node.js on @heroku. Any pointers? [15:05] ceej has joined the channel [15:06] fangel has joined the channel [15:08] xeodox has joined the channel [15:10] brolin has joined the channel [15:11] tmedema: mscdex: I guessed that, but could you answer the question about guaranteed termination? [15:11] tmedema: it's in the ML [15:12] mscdex: well, i mean it sends a FIN TCP packet [15:12] mscdex: which indicates the connection is closed [15:12] RORgasm has joined the channel [15:12] tmedema: mscdex: and what if the receiving end does not adhere to that message? [15:13] mscdex: then it'll have issues for sure :) [15:13] mscdex: i don't think node does half closed TCP connections by default anymore [15:14] tmedema: mscdex: well in that case, ending with res.end and not checking afterwards is not " the proper way " as far as my intelligence goes [15:14] mscdex: checking for what? [15:15] tmedema: mscdex: checking if the connection is actually destroyed [15:15] marshall has joined the channel [15:15] mscdex: it will be closed [15:15] tmedema: mscdex: oh so it is guaranteed? I must have misinterpreted your previous answer [15:16] ceej: domsz: you around? a few of us last night were trying to get the current mouse angles not matter what position you were in the map http://screencast.com/t/uuFurbut Cracker2 came up with https://gist.github.com/a1de4e9e4efb24422a09 but there seems to be a bug [15:16] mscdex: i mean, if node has told the other end it's no longer connected, then the connection is severed [15:16] tmedema: mscdex: I thought that you meant that, if the client does not adhere to the FIN packet, there will be issues in that the connection will not be properly closed [15:17] tmedema: I've had issues in my app that appear to get resolved by substituting req.connection.destroy for res.end, even though there is nothing in the writing buffer left as far as I know - I am under the suspicion that this connection is also not closed when the client is busy sending data to the server, rather than the other way around [15:17] boehm has joined the channel [15:17] mscdex: if the client doesn't adhere to the FIN packet, something is wrong with their TCP implementation [15:18] tmedema: mscdex: true, but that is of no importance to me [15:18] mscdex: heh [15:18] mscdex: right, so use res.end() and you should be fine :) [15:18] ceej: anyone else have any ideas? [15:18] kool has joined the channel [15:18] tmedema: mscdex: really? even if the client has a wrongly implemented the TCP transport? [15:19] mscdex: tmedema: yes, really. [15:19] tmedema: mscdex: alright, great, do you happen to know what might cause the issue I described above? [15:20] tmedema: the client keeps sending data it seems, while the server has no data left to send -- and yet the server does not close the connection with res.end [15:20] kohai: @hanspinckaers: “@github_js: etherpad-lite - A Etherpad based on node.js http://j.mp/m0orY3” #pinckaers-inside (link: https://github.com/Pita/etherpad-lite) [15:22] kohai: @otownjs: #mongodb and #nodejs webinar hosted by @10gen on June 22nd. http://www.10gen.com/webinars/nodejs [15:22] blueadept has joined the channel [15:23] sreeix has joined the channel [15:23] madsleejensen has joined the channel [15:26] ceej: the mouse position doesn't seem to be accurate [15:27] sh1mmer has joined the channel [15:28] djazz has joined the channel [15:28] olauzon has joined the channel [15:28] willwhite has joined the channel [15:31] knuthy: I want to import the Google's webfonts, using the @import statement inside Stylus, anyone? [15:31] mscdex: tmedema: i dunno then [15:32] mscdex: tmedema: what client is this? [15:32] tmedema: mscdex: it's a flash multipart uploader [15:32] mscdex: tmedema: and what are you using on the node side for handling that? [15:33] tmedema: mscdex: just an express server with node-formidable [15:34] tmedema: app.post('/fileInputStream', function(req, res) { .... //if something goes wrong, I use res.end(); which does not seem to close the connection when the client is busy sending data, while req.connection.destroy() does even though the writing buffer is empty as far as I know } [15:34] mscdex: tmedema: i guess one way to test to if it's something to do with node-formidable, is to just write a plain tcp client and server where the client keeps sending (random) data continuously and then call connection.end() on the server some time after the client connects and sends data [15:35] mscdex: and see what happens [15:35] tmedema: mscdex: yes, I guess I should try that - also, is there a way to check if the writing buffer is empty or not at a certain moment? [15:35] tmedema: it might be stuck trying to send headers I did not specify or something weird [15:35] MikhX has joined the channel [15:35] Aria has joined the channel [15:36] mscdex: tmedema: well, the 'drain' event is fired when the buffer is empty [15:37] tmedema: mscdex: true, but I'd like to see if it is empty just before calling res.end.. if the buffer is already empty, this event will not fire [15:37] mscdex: tmedema: i guess you'd peer into the net.js code to see what the "private" variable name is for the write queue [15:38] ryanfitz has joined the channel [15:38] tmedema: hmm right I will try that [15:38] tmedema: or maybe a hackish workaround could be to just write some data and see what it returns [15:38] shripadk has joined the channel [15:39] Spion has joined the channel [15:39] mynyml has joined the channel [15:40] TomY has joined the channel [15:43] pgriess has joined the channel [15:43] dguttman has joined the channel [15:43] MonsieurLu has joined the channel [15:47] dguttman has joined the channel [15:47] alexkuehne has joined the channel [15:47] alexkuehne: npm install mongodb --> Error: Cannot find module 'mongodb'. any ideas? [15:52] azend has joined the channel [15:52] ceej: so I managed to get it working with https://gist.github.com/653c6b601403c24ee820 :D [15:53] ceej: which follows these angles if anyone wants to use it http://screencast.com/t/uuFurbut [15:53] kohai: @MapReduced: #ubuntu #maverick set up for #nodejs :) [15:54] catshirt has joined the channel [15:54] kohai: @robertbasic: @swizec there's a chance you'll be contacted for some node.js work [15:55] adelgado: node.js work?! as in pa-pa-paying node.js work? ;) [15:56] pifantastic has joined the channel [15:59] sreeix_ has joined the channel [15:59] RORgasm has joined the channel [16:01] Sami_ZzZ has joined the channel [16:01] Melkor_ has joined the channel [16:02] stuck`: mmm node.js work [16:02] strmpnk has joined the channel [16:02] stuck`: would certainly beat dealing with php cms's for work [16:04] NetRoY has joined the channel [16:04] brraaains has joined the channel [16:06] blueadept has joined the channel [16:08] dhasenan has joined the channel [16:12] temp01 has joined the channel [16:12] Yoric has joined the channel [16:15] ebryn has joined the channel [16:16] boaz has joined the channel [16:24] ewdafa has joined the channel [16:26] fly-away has joined the channel [16:27] kohai: @Xikeon: Execute Node.js from TextMate - some code on @forrst by @michaelowensnl: http://t.co/S0O5iJ9 (link: http://forrst.com/posts/Execute_Node_js_from_TextMate-Yvc) [16:34] kohai: @stuartwatson: trying to decide whether i should jump feet first into #nodejs and #mongodb or if i should stick to the LAMP environment. [16:37] JoshC1 has joined the channel [16:37] jslatts has joined the channel [16:41] openpercept has joined the channel [16:44] Xano has joined the channel [16:46] tobmaster has joined the channel [16:49] mscdex: LNM stack! [16:49] mscdex: or is it LMN? [16:50] Aria: I'd be happy calling it MN entirely. [16:50] brettgoulder has joined the channel [16:50] Aria: Especially if the Windows port goes well. "Whatever OS. Just fire up your apps." [16:52] ryanfitz has joined the channel [16:53] matjas has joined the channel [16:53] kblake has joined the channel [16:54] eyesUnclouded has joined the channel [16:54] wes2 has joined the channel [16:55] wes2: is there supposed to be an 'end' event for http.get requests? [16:56] cjm: If a user authenticates an express session with the server what's the best way to securly switch to a websocket transport with that client? [16:59] bkozal has joined the channel [16:59] Charuru has joined the channel [16:59] thalll has joined the channel [17:00] kohai: @bjeanes: Hacked on some Node.js last night thanks to a project @ryanbriones started that was of great use to me. 1 beer owed... [17:02] dguttman has joined the channel [17:03] jslatts: cjm: didn't like the hash idea? [17:03] wookiehangover has joined the channel [17:04] chjj: wes2: i think its bugged in 0.4.7 and lower [17:05] chjj: wes2: `end` will fire on the socket, but not the response [17:05] chjj: you have to listen on the socket too [17:05] wes2: how can i get a reference to the socket? [17:05] chjj: res.socket [17:06] baudehlo: I know this isnt' a node question, but most people here seem to use github and markdown - anyone know if there's a way to embed a youtube video in your markdown (for my README.md front page)? [17:06] chjj: but also listen on the res [17:06] chjj: var end = function() { if (done) return; done = true; etc; }; res.on('end', end); res.socket.on('end', end); [17:06] sirkitree has joined the channel [17:06] chjj: something like that [17:07] chjj: only reliable workaround ive found [17:07] dipser has joined the channel [17:07] chjj: i dont think markdown has syntax of OBJECT/EMBED [17:07] mscdex: baudehlo: plain html? [17:07] chjj: or video for that matter [17:07] chjj: for* [17:08] baudehlo: oh yeah I always forget you can just put html in markdown [17:08] RC^TAB: hey all , looking for a way to transfer files over the network with node.js , are there any implementations out there already ? [17:08] sreeix_ has joined the channel [17:13] baudehlo: bah. Guess they strip out iframes. [17:13] wes2: chjj: res.socket.on('close', function... worked for me, thanks for the help [17:17] gazumps has joined the channel [17:19] jtsnow has joined the channel [17:20] gilesgoatboy has joined the channel [17:22] Me1000 has joined the channel [17:22] Me1000 has joined the channel [17:22] steph021 has joined the channel [17:22] steph021 has joined the channel [17:23] a2800276 has joined the channel [17:24] technoweenie has joined the channel [17:25] chrislorenz has joined the channel [17:25] NuckingFuts has joined the channel [17:28] drudge has joined the channel [17:29] edude03 has joined the channel [17:31] arpegius has joined the channel [17:31] tilgovi has joined the channel [17:31] tilgovi has joined the channel [17:31] Corren has joined the channel [17:33] Destos has joined the channel [17:34] MikhX has joined the channel [17:36] nightshift has joined the channel [17:37] MikhX__ has joined the channel [17:37] idefine has joined the channel [17:37] brimster has joined the channel [17:38] baudehlo: Haraka screencast in case anyone is interested: http://www.youtube.com/watch?v=6twKXMAsPsw [17:38] CIA-1: node: 03isaacs 07master * r580ab7b 10/ lib/http.js : [17:38] CIA-1: node: Avoid instanceof for native object types [17:38] CIA-1: node: For classes defined in the module, this is fine. For 'Error' [17:38] CIA-1: node: it's probably not very hazardous. However, testing 'Object' [17:38] CIA-1: node: and 'String' is much more reliable using typeof, to work with [17:38] CIA-1: node: the repl and NODE_MODULE_CONTEXT modes. - http://bit.ly/liX0A5 [17:38] kohai: @wesbos: Giving Termkit (GUI Terminal on Node.js ) a shot. Really awesome :) http://b-w.es/7KSV [17:40] idefine: is anyone aware of any template engines that are a little more django-ish (extend templates, have blocks so child templates can replace content, etc) [17:40] kohai: @awasim: Node.js Digs Dirt - about Data-Intensive Real-Time Applications - NEXT Conference Video http://post.ly/29XsK (link: http://blog.scriptingsysadmin.com/nodejs-digs-dirt-about-data-intensive-real-ti) [17:41] CIA-1: node: 03isaacs 07master * r794cb60 10/ lib/http.js : typo - http://bit.ly/mN1U7u [17:42] kohai: @ebottabi: try to mix, XMPP and NODE.JS and let me know what you think? [17:42] jeff_horton has joined the channel [17:42] pigmej has joined the channel [17:43] sudhirjonathan has joined the channel [17:43] jgv has joined the channel [17:44] arthur_kalm has joined the channel [17:44] mawkor2 has joined the channel [17:45] matjas has joined the channel [17:48] rubydiamond has joined the channel [17:48] rubydiamond: Hi Friends.. I want to stream image downside up [17:48] kriszyp has joined the channel [17:48] rubydiamond: is this possible using Node.js ? [17:50] MarkMenard has joined the channel [17:51] jslatts: rubydiamond: yes [17:51] perezd has joined the channel [17:51] jslatts: rubydiamond: look at node-canvas [17:51] RORgasm_ has joined the channel [17:51] rubydiamond: jslatts: okay.. looking now [17:52] pgriess has joined the channel [17:52] jgautier: is there something going on with npm? I get an error when trying to isntall express [17:53] springify has joined the channel [17:53] jgautier: ERR! failed to fetch http://registry.npmjs.org/express/-/express-2.3.11.tgz [17:53] jgautier: ERR! Error: 404 { server: 'CouchDB/1.0.2 (Erlang OTP/R14B)', [17:53] jerrysv has joined the channel [17:54] rubydiamond: jslatts: but it's converting canvas into a PNG stream.. so it won't render it on browser from downside up ? [17:54] jslatts: rubydiamond: you can flip the image over in canvas, then stream it to the client [17:54] jslatts: rubydiamond: unless I am missing your point [17:55] rubydiamond: jslatts: I want to create a single page homepage .. having an image ... but image should render from bottom to top? [17:55] ryanfitz has joined the channel [17:55] rubydiamond: so .. it should stream from bottom to top [17:55] jslatts: oh [17:55] jslatts: rubydiamond: I misunderstood what you wanted [17:56] rubydiamond: I am going to add a sleep in streaming process.. so effect would be image rendering from bottom to top [17:56] rubydiamond: jslatts: btw is there any way to do like this ? [17:56] jslatts: rubydiamond: heh, I don't know that one :) [17:56] rubydiamond: jslatts: okay.. no problem. [17:56] rubydiamond: thanks though [17:58] tobiassjosten has joined the channel [18:04] JoshC1 has joined the channel [18:05] kohai: @marcobatista: Quando o node.js suportar base de dados relacionais, nem quero imaginar o que vira por aí. Node.js + html5 [18:05] jakehow has joined the channel [18:05] charlesjolley- has joined the channel [18:08] davidwalsh has joined the channel [18:09] petrjanda has joined the channel [18:12] sudhirjonathan has joined the channel [18:12] tauren has joined the channel [18:13] sreeix_ has joined the channel [18:13] cognominal_ has joined the channel [18:15] rbranson: http://www.youtube.com/watch?v=hkDD03yeLnU one day they will say node.js instead [18:17] kohai: @Outsider__: @nodester i launch my first node.js app. nodester is coool. thanks you. [18:18] \sega has joined the channel [18:18] openpercept has joined the channel [18:18] openpercept has left the channel [18:19] hellp has joined the channel [18:21] mikeal has joined the channel [18:23] tayy has joined the channel [18:24] ryanfitz has joined the channel [18:25] Vertice has joined the channel [18:26] briznad has joined the channel [18:26] kohai: @birusainju: Node.js at Facebook - Why it's Needed and What's Holding it Back by @klintron http://t.co/nQci5bV via @RWW (link: http://www.readwriteweb.com/cloud/2011/05/nodejs-at-facebook.php) [18:27] jbpros has joined the channel [18:27] chrislorenz has joined the channel [18:31] tomaw has joined the channel [18:32] raydeo has joined the channel [18:34] kohai: @delixfe: #TileMill rocks! It is a "modern map design studio" built by Node.js an many more #oss tools. Check out at http://tilemill.com #RHoK #RHoKch [18:36] temp01 has joined the channel [18:37] pifantastic has joined the channel [18:37] zomgbie has joined the channel [18:37] brianseeders has joined the channel [18:41] RORgasm has joined the channel [18:41] Gamercamp has joined the channel [18:42] sWORDs has joined the channel [18:42] Gamercamp: is anyone else having issues with the latest express release on npm? [18:44] Gamercamp has left the channel [18:44] Gamercamp has joined the channel [18:45] sudhirjonathan has joined the channel [18:45] otaku_coder has joined the channel [18:46] saschagehlich has joined the channel [18:46] sWORDs: I want to build something that gives a fully dynamic interface to my clients (android and IOS). I was thinking of serving jquery mobile, phonegap, and websocket with CSS3 and HTML5 through node. But what would be the smartest way to deliver the dynamic interface? (What would I use to dynamicly build the HTML?) [18:46] MarkMenard has joined the channel [18:46] brettgoulder has joined the channel [18:48] perezd has joined the channel [18:49] sh1mmer has joined the channel [18:49] samuelkadolph has joined the channel [18:52] samuelkadolph: Is it possible to use express on multiple ports? I'm trying to get it to listen for http and https. [18:54] ckknight: sWORDs: I'd have a unified backend and then serve a single-page app which has different codepaths based on whether it's mobile or not [18:55] sudhirjonathan has joined the channel [18:57] Muon has joined the channel [18:59] Destos has joined the channel [18:59] ryan[WIN] has joined the channel [19:00] stagas has joined the channel [19:00] `3rdEden: samuelkadolph you can just proxy your https requests to to your http server [19:01] `3rdEden: when you receive a request on your regular https server, emit a request event on your http server with the response and request object [19:02] stonebra_ has joined the channel [19:03] Adman65 has joined the channel [19:04] korfo has joined the channel [19:04] gilesgoatboy has joined the channel [19:05] tomaw has joined the channel [19:06] materialdesigner has joined the channel [19:07] MikhX_ has joined the channel [19:07] jmoyers has joined the channel [19:09] nexxy has joined the channel [19:09] nexxy has joined the channel [19:09] sreeix_ has joined the channel [19:10] jm- has joined the channel [19:10] jm- has left the channel [19:11] ewdafa has joined the channel [19:11] jm- has joined the channel [19:12] AvianFlu has joined the channel [19:12] jakehow has joined the channel [19:17] samuelkadolph: `3rdEden: What would that look like? http.createServer(function(r, re) { app.emit("request", r, re) }) ? [19:17] korfo has joined the channel [19:17] `3rdEden: samuelkadolph i'll digg up an old snippet [19:17] samuelkadolph: `3rdEden: Thanks. [19:18] kohai: @halfageekinfo: Drupal + Node.js demo http://is.gd/frQRSH #javascript (link: http://javascript.halfageek.info/2011/05/22/drupal-node-js-demo/) [19:18] dguttman has joined the channel [19:21] `3rdEden: samuelkadolph https://gist.github.com/1008235 [19:22] gilesgoatboy has left the channel [19:22] omni5cience has joined the channel [19:23] dominictarr has joined the channel [19:23] samuelkadolph: `3rdEden: Yeah, what I wrote worked. I just needed to be accessing the right port. I found another way too. Have a second express https server use the first. https://gist.github.com/1008240 [19:24] Shrink: Hi, What is the best way to receive streaming chunked (text) data and show in browser? [19:25] jgv has joined the channel [19:25] stride: Shrink: if you target modern ones exclusively, websockets. if you want to support more browsers and save yourself from a bit of pain there, the socket.io module [19:26] materialdesign-1 has joined the channel [19:26] cimi has joined the channel [19:26] Shrink: stride, ok [19:26] kohai: @jensa: @sh1mmer Don't we all! Hey, thanks for the talk on Node.js @ValtechSweden last week! Very inspiring! By the way, how's your bike doing? [19:26] patcito has joined the channel [19:27] sh1mmer: Wow, that's not at all annoying [19:27] wilmoore has joined the channel [19:28] algoseeker has joined the channel [19:31] jgv has joined the channel [19:33] xSmurf has joined the channel [19:33] caolanm has joined the channel [19:38] Muon has left the channel [19:40] NuckingFuts has joined the channel [19:41] kohai: @leandro_storoli: Jade Template is awesome!! Working with #nodejs + #express + #nowjs + #redis + #jade + #fms + #wowza. New webcast platform coming soon. [19:43] mawkor2: hey [19:43] mawkor2: what do people here think of kynetx? [19:43] mawkor2: j/w [19:45] RORgasm has joined the channel [19:45] ParadoxQuine has joined the channel [19:45] sonnym has joined the channel [19:45] niftylettuce has joined the channel [19:47] mikeal has joined the channel [19:48] perezd has joined the channel [19:49] supster has joined the channel [19:50] ph^ has joined the channel [19:50] tilgovi has joined the channel [19:50] tilgovi has joined the channel [19:51] manlycode has joined the channel [19:52] mendel_ has joined the channel [19:52] manlycode: I'm having trouble with the latest version of expresso. [19:52] manlycode: When I go to run the default test for an express app, I get the following error: [19:52] manlycode: " app.test.js GET /: TypeError: Cannot call method 'push' of undefined" [19:52] manlycode: Has anybody else had this happen?' [19:53] nook has joined the channel [19:53] itissid: manlycode, debugged? [19:53] itissid: step in step oyt [19:53] itissid: out* [19:54] manlycode: Can you point me to information on how to use the debugger? I'm a bit new to Node [19:57] samuelkadolph has left the channel [19:57] jbpros_ has joined the channel [19:57] dguttman has joined the channel [19:58] manlycode: It looks like I can't pass the --debug switch to expresso. [19:59] avalanche123 has joined the channel [20:00] manlycode: Is expresso still the easiest means to test an express application? [20:02] kjeldahl has joined the channel [20:08] addisonj_ has joined the channel [20:09] Lorentz has joined the channel [20:10] RyanD|Home has joined the channel [20:10] djazz has left the channel [20:13] darshanshankar has joined the channel [20:16] kohai: @pedrogteixeira: Just sold: Hands-on Node.js e-book ($ 4.99) http://tpay.me/j8ujC3 (link: http://tinypay.me/~iJg3vAz) [20:16] mynyml has joined the channel [20:18] kohai: @vigobronx: learn node.js http://t.co/Cn9mXNf (link: http://visionmedia.github.com/masteringnode/book.html) [20:21] olauzon has joined the channel [20:21] kohai: @canweriotnow: @soychicka A while ago you asked about Node.js hosting. Did you hear you can do that on Heroku now? http://bit.ly/mIKmmd (link: http://devcenter.heroku.com/articles/node-js) [20:24] sorens3n: i'lll just leave this here [20:24] sorens3n: http://sorensen.no.de [20:24] sorens3n: https://github.com/sorensen/aebleskiver [20:28] kohai: @beausorensen: Open source node.js chat application. https://github.com/sorensen/aebleskiver. Demo at http://sorensen.no.de [20:28] sorens3n: lol that was quick [20:30] brownies has joined the channel [20:32] sudhirjonathan has joined the channel [20:33] sh1mmer has joined the channel [20:38] kohai: @ManzurRashid: I wish when .net framework would have something like ruby eventmachine or node.js evented io [20:40] stride: .oO(doesn't .net support async I/O stuff?) [20:41] addisonj_: its mostly like java event io, meaning it blows [20:42] RORgasm has joined the channel [20:42] Aria: Hard to use since it's not using closures? [20:42] sreeix_ has joined the channel [20:42] RyanD|Home has joined the channel [20:45] otaku_coder has joined the channel [20:45] BlackFate has left the channel [20:46] jmoyers: uh [20:47] jmoyers: pretty sure it does have anonymous functions [20:47] jmoyers: and lambdas.. seperately [20:47] jmoyers: for some magical reason [20:47] jmoyers: ACTION hates most lambda syntax [20:48] kohai: @STLJS: STLJS :: meetup.com/STL-JS-meetup/ Let's #Meetup !! #javascript #Nodejs #jsconf #StLouis #midwest #STL #webdesign #nodeconf [20:49] jmoyers: also, this makes me shudder as well: 12http://www.mikeash.com/pyblog/friday-qa-2011-06-03-objective-c-blocks-vs-c0x-lambdas-fight.html [20:49] addisonj_: i like the db abstraction that is offered by link and lambda expression in .net, but yes, the syntax is not the most pretty [20:49] jmoyers: anonymous functions in typed languages make me cry [20:49] addisonj_: linq* [20:49] kohai: @sryche: Eu achava node.js legal até ler um código nele. [20:49] jmoyers: linq is nice [20:49] jmoyers: and i can see small functional uses for lambda, when you want something to nicely fit on one line [20:50] jmoyers: but i'm not exactly OFTEN writing someting like map(collection, x => x * x) [20:50] brainproxy: any one using Steele's Functional JavaScript with node.js? [20:50] addisonj_: yep, if they would make linq bindings to mysql and postreg, i might consider using it more, but paying for sql server = joke [20:51] barum has joined the channel [20:52] jmoyers: you can get linqy like shit going with rel [20:52] addisonj_: mono stack with linq to mysql would have a lot of benefits to a full java stack imho [20:52] jmoyers: not the same of course [20:52] jmoyers: http://thechangelog.com/post/4914956307/rel-arel-ported-to-node-js-with-some-changes [20:54] jameson has joined the channel [20:54] atom19 has joined the channel [20:55] atom19: is redis-node or node_redis better? [20:55] sh1mmer has joined the channel [20:55] tahu has joined the channel [20:56] jmoyers: atom19 follower test [20:56] jmoyers: 511 watchers, 33 forks on node_redis ;-) [20:56] gg55 has joined the channel [20:56] jmoyers: no to mention the contributor list [20:56] hojberg has joined the channel [20:56] sudhirjonathan has joined the channel [20:57] atom19: jmoyers: thx [20:57] tahu has left the channel [20:57] tahu has joined the channel [20:58] Me1000 has joined the channel [20:59] addisonj_: hrm... so I need to traverse an adjacency list BFSish and build a graph (visually), anything already out there? or do I need to write one? [20:59] addisonj_: github is not finding me anything useful, js-traverse doesn't seem to do it, though i may be using it wrong [21:00] sorens3n: i think substack has a traverse module [21:00] sorens3n: or is that what you found [21:00] kohai: @lucashungaro: @sryche EventMachine faz tudo que Node.js faz, só que numa linguagem decente. Só não tem o hype. :P [21:00] replaca_ has joined the channel [21:01] zeunix_ has joined the channel [21:02] tomaw_ has joined the channel [21:02] tahu has joined the channel [21:03] zeunix has joined the channel [21:03] otaku_coder: whats the best way to set the NODE_ENV? I'm currently setting it manually in my cpde with process.ENV [21:03] kohai: @juanleung: Tenía pensado migrar una implementación q tengo usando polling a un server dedicado con nginx, pero creo q una sol con node.js es mejor :) [21:03] stonebranch has joined the channel [21:05] kohai: @juanleung: @davelinke En estos momentos estoy descargando la ultima versión de node.js desde github :) [21:05] sh1mmer has joined the channel [21:05] gg55 has left the channel [21:06] Grun1 has joined the channel [21:08] sreeix_ has joined the channel [21:09] zemanel has joined the channel [21:10] jbpros has joined the channel [21:16] gm__ has joined the channel [21:19] m00p has joined the channel [21:19] kohai: @juanleung: Esperando q se termine d descargar node.js desde git, y al parecer va a tomarse in laaaargo tiempo, como q veo una peli mientras tanto :p [21:20] jgv has joined the channel [21:23] maushu_ has joined the channel [21:25] sh1mmer has joined the channel [21:25] kohai: @nicolahibbert: @cfq Only just realised that I know you from the Node.JS workshop :p Hope you're having a great weekend! [21:26] maushu__ has joined the channel [21:26] temp01 has joined the channel [21:31] robhawkes has joined the channel [21:32] alessio_alex has joined the channel [21:32] alessio_alex: Hello [21:32] alessio_alex: How do I require a module that is in a parent folder? [21:32] alessio_alex: For example, I'm in the folder "lib" and I want to require a module that is on the same level as "lib" [21:32] itissid has joined the channel [21:32] alessio_alex: thus, one level above the current path [21:33] cafesofie has joined the channel [21:33] alessio_alex: I've tried require('../config') [21:33] maushu_ has joined the channel [21:33] alessio_alex: But it doesn't work [21:33] jamesarosen has joined the channel [21:33] sudhirjonathan has joined the channel [21:33] alessio_alex: Help? [21:34] RORgasm has joined the channel [21:34] kohai: @SannisDev: OMG, #NodeJS node-mysql-libmysqlclient really works under #Windows. [21:34] jgv has joined the channel [21:35] digiwano: wooo new domain acquired [21:35] digiwano: for no good reason [21:35] jmoyers: alessio_alex little bit conflicting [21:35] jmoyers: you either need ./config or ./../config [21:35] jmoyers: you said you're 'in' lib and need something on the same level [21:35] jmoyers: if thats true, its ./config [21:35] alessio_alex: no no [21:36] alessio_alex: config and lib are on the same level [21:36] alessio_alex: but I am in lib/app.js [21:36] wbw72 has joined the channel [21:36] digiwano: now if only i could finish waking up so i can go drive around under them pretty blue skies [21:36] jmoyers: config is a directory? [21:36] alessio_alex: I need to require config.js from app.js (which is in "lib") [21:36] alessio_alex: no, config.js [21:36] alessio_alex: a module [21:37] jmoyers: so ../config should work. if im understanding your directory structure properly [21:37] alessio_alex: I thought that also [21:37] alessio_alex: but it just doesn't work [21:37] temp01 has joined the channel [21:37] jmoyers: mm [21:37] jmoyers: define doesn't work [21:37] jmoyers: do you have an fs error? [21:37] jmoyers: or does it fail silently undefined? [21:38] alessio_alex: Error: Cannot find module '../configs' [21:38] alessio_alex: tried with ./configs (but obviously this doesn't work as configs isn't in the same folder) [21:38] alessio_alex: tried ../configs [21:38] alessio_alex: tried even ./../configs [21:38] alessio_alex: nada [21:39] RORgasm has joined the channel [21:41] wilmoore has joined the channel [21:41] darshanshankar has joined the channel [21:42] MonsieurLu has joined the channel [21:42] alessio_alex: :( [21:43] kriszyp has joined the channel [21:44] Destos has joined the channel [21:44] mendel_ has joined the channel [21:46] mendel_ has joined the channel [21:46] mendel_: someone from rome italy in here? [21:46] mendel_: or milano [21:49] barum has joined the channel [21:50] McMAGIC--Copy has joined the channel [21:51] bradleymeck has joined the channel [21:54] confoocious has joined the channel [21:55] boaz has joined the channel [21:58] kohai: @h2rd: Вот і #radiot закінчився, а я з node.js почав розбератися, класна штука виявляється. [22:03] xandrews has joined the channel [22:03] kohai: @gothamjs: #goruco see more #nodejs at gothamjs (obviously!) [22:04] sudhirjonathan has joined the channel [22:06] dayvan has joined the channel [22:06] kohai: @jensknutson: Node.js includes *3* diff build systems, and none of them work quite right as configured. Autotools would be preferable to this. #FAIL [22:08] m00p has joined the channel [22:08] dguttman has joined the channel [22:10] bkozal has joined the channel [22:11] coreb1 has joined the channel [22:14] aliem has joined the channel [22:14] H2S04 has joined the channel [22:15] wbw72 has joined the channel [22:16] temp01 has joined the channel [22:17] brettgoulder has joined the channel [22:18] ceej has joined the channel [22:19] baudehlo: someone should just write a build system in node :) [22:20] Aria: The only problem is you'd need node to run it. [22:20] Aria: AND you'd need to play nice with v8. [22:20] Aria: .oO(Javascript to sh compiler.) [22:20] baudehlo: well I'm thinking more for extensions. I don't like relying on waf. [22:20] sudhirjonathan has joined the channel [22:20] jhurliman has joined the channel [22:21] Aria: Nor I. [22:21] baudehlo: js-waf for extensions, autoconf for node itself (it's horrible, but it works). [22:21] Wizek: Which of these two http://screencast.com/t/wxq02MExF do you prefer for creating "classes" in JS, and why? [22:22] baudehlo: Wizek: what's wrong with new Blah() ? [22:22] niftylettuce has joined the channel [22:23] Wizek: baudehlo, there is nothing wrong, each works, but I'm trying to pick one and stick with it. If only there were some best practices out there... [22:23] halfhalo: someone needs to go make me a control module for directv dvr's [22:23] baudehlo: node core just uses function Blah () { ... } var blah_instance = new Blah(); [22:24] baudehlo: I don't see what you need a wrapper around that for. [22:26] baudehlo: but then I'm new to Javascript, so maybe there's some magic I'm unaware of. [22:27] systemfault: Wrapper? [22:27] systemfault: functions can be used as object "constructors" [22:27] systemfault: `eloquent [22:27] systemfault: Fuck that shit bot. [22:28] systemfault: baudehlo: http://eloquentjavascript.net/ [22:30] systemfault: (I thought that I was on ##Javascript, I have nothing against #node.js's bot, thank you) [22:31] pixel13 has joined the channel [22:32] baudehlo: interesting looking book. [22:32] systemfault: It's a good one :) [22:33] baudehlo: I learned from Javascript The Good Parts, which seems to advocate all of crockford's horrible Object.create() crap. So I just ignore that stuff now and use what ^^ that book does. [22:33] baudehlo: I still don't get the purpose of Object.create. [22:34] jhurliman: how can i read and write big-endian 64-bit floating point numbers to and from Buffers? [22:36] boogyman_ has joined the channel [22:36] avalanche123 has joined the channel [22:38] dayvan has joined the channel [22:38] SubStack: jhurliman: https://github.com/rmustacc/node-ctype might be able to help [22:38] themiddleman has joined the channel [22:38] jhurliman: SubStack, i'll take a look thanks [22:39] SubStack: baudehlo: Object.create() is occasionally useful for hackish stuff like applying array arguments to a variable arity constructor [22:40] SubStack: or for cloning objects [22:40] Aria: Also, property definition. [22:40] baudehlo: so barely ever then :) [22:40] jhurliman: very handy library [22:41] baudehlo: yeah I wish node had something like that built in. [22:41] baudehlo: though 0.5 has some stuff in Buffer now. [22:42] Aria: node wraps the constructor because it follows the host object idioms from browsers a tiny bit. [22:42] jmoyers: every time i go in #javascript [22:42] jmoyers: i get so angry so fast [22:42] jmoyers: its like an instant ragemaker [22:42] baudehlo: jhurliman: https://github.com/joyent/node/blob/master/lib/buffer_ieee754.js [22:43] tobiassjosten has joined the channel [22:44] jhurliman: oh cool. yeah i would think reading/writing basic number types with buffers should be in node core [22:45] philtor has joined the channel [22:45] _jgr has joined the channel [22:46] Melkor_ has joined the channel [22:47] sudhirjonathan has joined the channel [22:48] mscdex: buffer parsing ftw! \o/ [22:50] bradleymeck has left the channel [22:50] zemanel has joined the channel [22:51] boaz has joined the channel [22:52] aaronblohowiak has joined the channel [22:55] kohai: @djmccormick: The ladies are out of the house today leaving me free to nerd out on #nodejs #express #mongodb #mongoose #ejs. [22:56] mwhooker has joined the channel [23:03] migimunz has joined the channel [23:05] galaxywatcher has joined the channel [23:07] mawkor2 has joined the channel [23:07] mawkor2: http://www.dailymotion.com/video/xb7uon_doctor-who-waters-of-mars-part-4_travel [23:07] mawkor2: for brraiins [23:07] sh1mmer has joined the channel [23:08] mawkor2: most epic dr who sequence ever [23:08] mawkor2: eh [23:09] kohai: @mykola: @KuraFire set up a node.js server! Apache is so last month! ;) [23:11] ryanfitz has joined the channel [23:13] fr0stbyte has joined the channel [23:14] AhtiK has joined the channel [23:16] dguttman has joined the channel [23:16] TheDahv has joined the channel [23:16] TheDahv: Is anybody here trying joyent/no.de for deployment? [23:17] TheDahv: I wonder if it's better to add the npm modules to my repository and push to the server, or if I should install them via npm on the smartmachine [23:17] un_golan has joined the channel [23:18] honestman has left the channel [23:20] raydeo has joined the channel [23:21] mwhooker: TheDahv: I'm running an app on heroku, and i like how they do it: make a package.json with your dependencies, and on the server they run npm install which pulls everything down [23:21] deedubs has joined the channel [23:22] _aron has joined the channel [23:22] TheDahv: mwhooker: yeah, that's what I was thinking too. I have an app on heroku as well [23:22] pandeiro has joined the channel [23:22] TheDahv: On heroku, it automatically checks your package file and installs for you [23:22] TheDahv: no.de didn't, so I suppose I can run the command myself [23:22] TheDahv: Not sure if the community had defined a 'best practice' yet [23:23] mwhooker: that's how I'd do it [23:23] TheDahv: word. npm used to have a 'bundle' command, right? [23:23] pixel13 has left the channel [23:23] willwhite has joined the channel [23:24] mwhooker: I think it's still there [23:24] mwhooker: maybe not [23:24] TheDahv: ah, I tried recently and got a sad face. have you seen a joyent smartmachine? [23:24] TheDahv: I just fired mine up about 10 minutes ago [23:25] mwhooker: no, I haven't. [23:25] mwhooker: do they allow websockets? [23:25] mwhooker: heroku doesn't, so I'm looking for alternatives [23:25] TheDahv: I haven't gotten that far yet [23:26] mwhooker: looks like "npm install" supersedes "npm bundle" [23:26] TheDahv: But that's good to know. Future iterations of one of my projects will require web sockets [23:26] TheDahv: socket.io won't 'fake it' until heroku does though? [23:26] TheDahv: ACTION assumes you're using socket.io...oops [23:26] mwhooker: well... theoretically it can fall back to jsonp or something [23:26] mwhooker: I am using socket.io, thankfully [23:27] mwhooker: but it looks like it's not realizing websockets aren't working, so it's just taking forever [23:27] fr0stbyte has joined the channel [23:27] mwhooker: trying to figure out how to get socket.io to only use jsonp [23:27] TheDahv: so, I'm ssh'd into my smartmachine now. My home dir shows me 'local' (bunch of bins), node-service, and repo [23:27] TheDahv: I think repo is for git [23:27] TheDahv: and node-service is holding versions of my application [23:28] TheDahv: I'm not even sure in which folder to run 'npm install' [23:28] TheDahv: I suppose I could copy up package.json to the home directory and run it from there [23:28] paul_k has joined the channel [23:28] TheDahv: ...install the packages globally [23:29] radicality has joined the channel [23:29] mwhooker: that doesn't seem right [23:29] jonaslund has joined the channel [23:29] mwhooker: I'm checking out joyentcloud now [23:30] radicality: using socket.io + node, how can I send a message to a specific client. this is probably a very basic question, but I can't figure it out :S [23:31] aliem has joined the channel [23:31] mwhooker: radicality: when the client connects you'll get a handle to the client [23:31] TheDahv: mwhooker: Which doesn't seem right? The setup or my approach? [23:31] mwhooker: TheDahv: installing the packages globally [23:31] radicality: mwhooker: ok, and then when I have that handle, I just call 'send' on it ? [23:32] mwhooker: radicality: yup [23:33] TheDahv: mwhooker: fair enough, I get that. The preferred method is to install the packages locally [23:33] TheDahv: I wonder if it's going to create a new folder for each release I publish [23:33] TheDahv: In which case the packages would need to be there *somehow* [23:33] TheDahv: And if it isn't global, then maybe there needs to be some kind of commit hook [23:34] TheDahv: I tried tweeting @joyent. Maybe they have an answer [23:34] igl1 has joined the channel [23:34] TheDahv: Oh, just found some documentation. Maybe there's an answer there [23:34] mwhooker: TheDahv: is there a folder with the name of your project? [23:35] nornagon_ has joined the channel [23:36] TheDahv: clear [23:36] TheDahv: oops [23:36] TheDahv: ha [23:36] TheDahv: wrong window [23:36] TheDahv: no, just "node-service" and "repo" [23:36] TheDahv: plus a "local" folder for bins [23:36] mikeal has joined the channel [23:36] radicality: mwhooker: ok, but isnt' that 'client' object this massive thing? can I just send to a client using a sessionID or something ? or should I keep that all the 'client' objects in some array ? [23:37] mwhooker: radicality: I don't think it's big enough to worry about. just some data to identify a connection [23:38] Bonuspunkt has joined the channel [23:38] mwhooker: radicality: but to be honest, I've never done this at scale [23:38] sjbreen has joined the channel [23:38] TheDahv: mwhooker: "node-services" contains a releases folder with a folder named by timestamp for each accepted push [23:39] TheDahv: The first push was accepted because my application file was named "app.js". no.de looks for "server.js", so it accepted the push, but didn't run the application [23:39] mwhooker: ah [23:39] hasenj has joined the channel [23:40] mwhooker: oh damn, I need a coupon code [23:40] TheDahv: I did a git rename and pushed again [23:40] TheDahv: But now it's mad because it can't run the application because it can't find the express module etc... [23:40] mwhooker: you've got a package.json? [23:40] TheDahv: I do [23:41] TheDahv: Heroku must have an automatic hook that looks for the package file and runs the install command [23:41] mwhooker: radicality: it seems rare that you'd need to hold a client object for very long. want to talk a bit more about what you're trying to do? [23:41] TheDahv: no.de does not [23:41] mwhooker: TheDahv: heroku does it on git push [23:42] sjbreen has joined the channel [23:42] radicality: mwhooker: i'm just trying to send a message to a specific client. I have a messaging system (send a message to another user), and I want a real-time notification of a new-message if the other user is also logged in [23:42] mwhooker: ah [23:42] mwhooker: yeah, I'd create some sort of lookup table, like user_id -> client object [23:43] jameson has left the channel [23:43] Vertice has joined the channel [23:43] radicality: yeah, that's what i'll try to do, thanks [23:44] TheDahv: ahhh, I gotta deal with Verizon. brb [23:46] johnnywengluu_ has joined the channel [23:46] [[zzz]] has joined the channel [23:47] kris_will has joined the channel [23:49] TheDahv: mwhooker: That's a bummer heroku doesn't do sockets. Nor does it do the right version of node.js [23:49] mwhooker: really? what's up with the version? [23:50] a2800276 has joined the channel [23:50] TheDahv: It blew up in a terrific fashion since one of my apps used connect-mongodb [23:51] TheDahv: There's an issue out there. Let me look [23:51] mwhooker: hmmm [23:51] kris_will: does the package.json for mongodb have a "engine": "node >= 0.4.1" [23:51] kris_will: or something similar? [23:52] _aron has joined the channel [23:52] sudhirjonathan has joined the channel [23:52] kris_will: looks like 0.4.0 [23:53] MrNibbles has joined the channel [23:53] kris_will: heroku's Cedar slice supports node 0.4.7 [23:55] TheDahv: https://groups.google.com/d/topic/npm-/833CXXdNCcM/discussion [23:55] TheDahv: "Bug Heroku to upgrade their npm installation to 1.0.7." [23:56] TheDahv: Soo, back to my original issue, I can't publish my app on no.de because it doesn't have the packages installed. I can't install them before pushing because the repo isn't available for me to install them [23:56] TheDahv: So, looks like I should just drink beer for a while [23:57] mwhooker: heh [23:57] mwhooker: what does npm install from your home directory do? [23:57] TheDahv: 404 not found [23:57] kris_will: so the real issue is npm, and heroku not being up to date with 108 [23:58] TheDahv: There is no folder called 'project_name' in home [23:58] mwhooker: hmm [23:58] TheDahv: it's renamed by the timestamp in /node-service/releases [23:59] TheDahv: wait, does 'npm install' in a folder with 'package.json' in it look up the contents of that file and install from there? [23:59] s00pcan has joined the channel [23:59] kris_will: you need to .gitignore << node_modules