[00:00] _dave_h_d: hmmm [00:00] _dave_h_d: i must have two [00:01] Hanspolo has joined the channel [00:01] yaymukund: yes, I build via homebrew and had no issues. [00:02] ningu: I use homebrew as well, but for node I use nvm [00:03] ningu: oh, nm, I use homebrew. haha [00:03] tmike has joined the channel [00:03] yaymukund: ningu: ok, I lied. I installed with homebrew, uninstalled, and now I use nvm. [00:03] ningu: :) [00:03] ningu: we both lied [00:03] yaymukund: ningu: hehe [00:04] tmike: where's the trust? [00:04] jeffbcross has joined the channel [00:05] eirikb has left the channel [00:06] swmcc has joined the channel [00:06] Vespakoen has joined the channel [00:06] c4milo has joined the channel [00:07] arturadi_ has joined the channel [00:08] sphinxxx has joined the channel [00:08] c4milo has joined the channel [00:08] nerdfiles has joined the channel [00:08] nerdfiles has left the channel [00:09] warz has joined the channel [00:09] warz has joined the channel [00:10] _dave_h_d: ningu: installed 6.12 [00:10] _dave_h_d: from the site [00:10] _dave_h_d: and now i get this: [00:10] _dave_h_d: node.js:201 [00:11] _dave_h_d: for jqurey [00:11] ningu: eh? [00:12] _dave_h_d: ningu: http://pastebin.com/mRb5fcN0 [00:12] ningu: well, that's better than a segfault [00:13] ningu: you're just require'ing jquery, right? [00:13] theBrettman has joined the channel [00:13] _dave_h_d: yup [00:14] ningu: I just did that and get no error [00:14] ningu: but [00:14] _dave_h_d: this is surprising really [00:14] ningu: jsdom has something called contexify [00:14] ningu: and that has C code [00:14] _dave_h_d: because j query is very popular [00:14] ningu: so I figure it's something with your compiler setup [00:14] ningu: contextify* [00:15] _dave_h_d: should i use jsdom [00:15] ningu: I'm willing to bet the issue is with compiling contextify for jsdom [00:15] disappearedng has joined the channel [00:15] ningu: so it won't matter if you use jsdom [00:15] ningu: _dave_h_d: do npm install contextify [00:15] iangreenleaf has joined the channel [00:15] ningu: see what the error is [00:16] _dave_h_d: no error installing [00:16] ningu: and you saw it compile? [00:16] ningu: I don't know offhand but it must be something in your environment [00:17] _dave_h_d: http://pastebin.com/P62B6E7v [00:18] Eruadan: i think i like bill again :P http://channel9.msdn.com/Shows/Web+Camps+TV/Web-Developer-Efficiency-Tools-in-Visual-Studio-11 [00:19] IrishGringo has joined the channel [00:20] meso_ has joined the channel [00:20] ningu: who's bill? [00:20] ningu: gates? [00:20] quackquack has joined the channel [00:20] langpavel: i'm affraid [00:21] quackquack: SubStack: does Trumpet work w/ plain XML, or just HTML? [00:21] kirbysayshi has joined the channel [00:21] langpavel: in this video is CSS editing?? wtf [00:21] automata has joined the channel [00:22] mikeal has joined the channel [00:22] ningu: I prefer gill bates [00:22] langpavel: I preffer gilian [00:22] sorensen__ has joined the channel [00:23] langpavel: what about socket.io [00:23] langpavel: have anybody experience? [00:23] langpavel: i wish to use latest version [00:24] langpavel: it seems to be 0.9.0 in npm [00:25] langpavel: no everyone trusts all transports.. somebody prefers only XHR [00:25] ningu: 0.9.1 I think [00:25] theBrettman has joined the channel [00:25] langpavel: does anybody here experience with other vesions? [00:25] langpavel: (or transports) [00:26] langpavel: around me it is undiscovered country, elsewhere on net i can see sunrise of this.. [00:28] langpavel: i believe there is no problems with any transpot at socket.io [00:29] ningu: 0.9.1 I think [00:29] ningu: oops [00:30] crcn has joined the channel [00:30] langpavel: wow I retry npm install and I've got 0.9.0 [00:31] ningu: hmm [00:31] ningu: 0.9.1 shows up as available and yet 0.9.0 is "latest" [00:31] isaacs: ningu: "latest" means "latest published" [00:31] ningu: so if it isn't published, why would it be there? [00:31] isaacs: ningu: you can change it explicitly by doing `npm tag pkgname@0.9.1 latest` [00:31] ningu: ah, ok [00:31] isaacs: ningu: i dunno, what thing is it? [00:32] ningu: socket.io [00:32] langpavel: so anybody have socket.io in production here? [00:32] booo has joined the channel [00:32] langpavel: i'm asking for "stable" :-) revision [00:33] langpavel: for most of transports [00:34] langpavel: any experiences? [00:34] tmike: loads of people have experience here with socket.io [00:35] langpavel: great! [00:35] langpavel: some bettrer channel for me, or url? [00:35] tmike: Not me, but it's one of the most-used node modules. [00:35] tmike: Find the github and the docs and go to town [00:36] langpavel: yes, thanks, it's confirmed to me that socket.io should work for me at master branch on github.. [00:36] Wa has joined the channel [00:36] swmcc has left the channel [00:37] ningu: langpavel: #socket.io [00:38] langpavel: i was talking with people who do not trust all the rranspots on socket.io - only XHR for example... thanks, i'll tune up to #socket.io :-) [00:39] slug_ has left the channel [00:40] aslant has joined the channel [00:40] kirbysay_ has joined the channel [00:43] chrisvwebdev has joined the channel [00:43] quackquack: can someone point me to a good explanation of nodejs streams? [00:45] chrisvwebdev has left the channel [00:46] mxbtty has joined the channel [00:47] tmike: quackquack: I suggest you hit the docs and start playing with them. Build yourself test cases to see what they do. [00:47] Druid_ has joined the channel [00:48] quackquack: tmike: k, thx [00:48] tmike: try to print the contents of a stream [00:48] achiu has joined the channel [00:48] tmike: and then try to make one stream pipe into another [00:48] mc: console.log all the things [00:49] tmike: once you get those things down, I'm sure you'll have them pretty well ;) [00:49] _numbers has joined the channel [00:49] JSONB has joined the channel [00:49] _numbers: whats the latest in js/ajax COMET or 2-way/bi-directional/client-receive-push-from-server? [00:50] Raverix has joined the channel [00:50] EhevuTov: _numbers, web sockets? [00:50] _numbers: which is also compatible with ie9, ff, chrome, safari? [00:51] _numbers: i guess websockets works with all but ie [00:51] EhevuTov: then you're going to want ab abstraction layer like socket.io [00:52] benvie: yeah even web sockets had multiple protocol iterations [00:52] tuhoojabotti: you can't say latest and compatible in the same sentence [00:52] benvie: multiple BREAKING iterations [00:53] _numbers: i just mean latest stable really [00:53] benvie: things such as "hey guys why does this new chrome 14 thing not work with websockets" [00:53] benvie: this is recent, you need a layer [00:53] benvie: within the last 6 months [00:53] Vespakoen has left the channel [00:57] mikeric has joined the channel [01:00] _numbers: socket.io looks good thx [01:03] FACEFOX has joined the channel [01:03] theBrettman has joined the channel [01:04] gerard0 has joined the channel [01:04] seanstickle has joined the channel [01:04] Juan77 has joined the channel [01:06] Raverix: Hello. I'm trying to modify the proxy script located here: http://www.catonmat.net/http-proxy-in-nodejs/ I want to take the binary chunk data from http.CreateServer's 'response' event, 'chunk' and post it to another server. [01:07] dylang has joined the channel [01:10] nicholasf has joined the channel [01:10] tmike: Raverix: what have you tried? [01:11] Raverix: http://stackoverflow.com/questions/7094615/nodejs-convert-string-to-buffer [01:12] Raverix: I attempted at first to convert the binary into just a string to I could at least see if it was working. [01:12] Raverix: But that didn't work. [01:13] Raverix: Now I'm reading through the documentation trying to figure out how to turn a response, into a request. [01:13] Raverix: I have a new request working. [01:13] onkis has joined the channel [01:13] Raverix: Just need to get the data from the response and post it into the new request. [01:14] tmike: pastebin it, I think you might have some things backwards [01:14] Raverix: Alright, one second. [01:14] BombStrike has joined the channel [01:14] AvianFlu has joined the channel [01:17] Raverix: http://pastebin.com/BtahAcrJ [01:17] onkis: has anyone here successfully replicated the npm couchdb registry? [01:19] postwait has joined the channel [01:19] carlyle has joined the channel [01:20] Raverix: console.log(new Buffer(chunk, 'binary').toString()); // This seems to be getting what I need for most responses. [01:21] caolanm has joined the channel [01:22] k1ttty has joined the channel [01:23] copongcopong has joined the channel [01:23] robinduckett has joined the channel [01:23] robinduckett: sup [01:23] maletor has joined the channel [01:23] tmike: per? [01:23] robinduckett: time [01:23] Juan77 has joined the channel [01:24] robinduckett: ;) [01:26] jsurfer has joined the channel [01:26] pandeiro has joined the channel [01:27] initohen: ok, this is killing me [01:27] initohen: http://pastebin.com/index/QAzuZUDr [01:27] initohen: (code may be in an intermediate state!) [01:27] initohen: why can i access buf from inside the function for the data event, but i can't access body from inside the end event? [01:27] fomatin has joined the channel [01:28] st_luke has joined the channel [01:29] mikeric has joined the channel [01:31] jldbasa has joined the channel [01:31] CarterL has joined the channel [01:32] t0mmyvyo has joined the channel [01:33] rwaldron has joined the channel [01:33] shinuza has joined the channel [01:33] abraxas has joined the channel [01:34] davidbanham has joined the channel [01:36] kurtzhong has joined the channel [01:38] achiu has joined the channel [01:39] achiu has joined the channel [01:42] stelcheck has joined the channel [01:42] dnolen has joined the channel [01:43] dnolen has joined the channel [01:43] maletor has joined the channel [01:45] dephex has joined the channel [01:46] meso__ has joined the channel [01:46] sven_oostenbrink has joined the channel [01:47] chadskidmore has joined the channel [01:47] diva has joined the channel [01:48] langworthy has joined the channel [01:48] Avanine has joined the channel [01:50] jacobolus has joined the channel [01:50] cjm has joined the channel [01:52] mikeal has joined the channel [01:53] torless has left the channel [01:56] mikeal has joined the channel [01:56] disappearedng has joined the channel [01:57] k1ttty_ has joined the channel [01:57] MrTopf has joined the channel [01:58] aslant has joined the channel [02:00] diva__ has joined the channel [02:01] jzacsh has joined the channel [02:02] pendlepants has joined the channel [02:04] khrome has joined the channel [02:06] RobWC has joined the channel [02:06] orlandovftw has joined the channel [02:06] t0mmyvyo has joined the channel [02:06] c4milo: isaacs: yt? [02:07] colinclark has joined the channel [02:08] perezd has joined the channel [02:10] disappearedng has joined the channel [02:10] _numbers has left the channel [02:11] isaacs: c4milo: hi [02:11] lakkris has joined the channel [02:12] neumino has joined the channel [02:13] c4milo: isaacs: pm [02:13] zodiak has joined the channel [02:13] CarterL: anyone used no.de? [02:14] thetristan has joined the channel [02:14] kurtzhong has joined the channel [02:15] mehlah_ has joined the channel [02:16] benvie: sure we all use node duh ;) [02:17] wookiehangover has joined the channel [02:17] subbyyy has joined the channel [02:17] mikeric has joined the channel [02:18] mansoor has joined the channel [02:18] csprite has joined the channel [02:18] kevinswiber has joined the channel [02:19] ryanseddon has joined the channel [02:19] CarterL: benvie: i meant joyent's no.de hosting [02:19] CarterL: https://no.de/ [02:19] kurtzhong has joined the channel [02:20] benvie: alright I just got a phone call from the obvious sarcasm victim task force informing me of inmproper procedure and protocol [02:20] benvie: goddamn it [02:21] CarterL: zoink [02:21] theBrettman has joined the channel [02:21] initohen: i see people talking [02:21] initohen: :P [02:22] initohen: i'm having some sort of scope resolution problem and i'm not sure why, maybe someone can lend a hand? https://gist.github.com/2026176 (coffeescript output) [02:22] enjalot has joined the channel [02:22] initohen: the first event can access buf but the second cannot access body [02:22] initohen: (or 'foo' when i tried naming it differently) [02:24] robo has joined the channel [02:24] yaymukund has joined the channel [02:25] sharkbird has joined the channel [02:25] fastest963_ has joined the channel [02:25] Saul has joined the channel [02:26] k1ttty has joined the channel [02:28] Joeysomo has joined the channel [02:28] CarterL: initohen: can't help you i'm sorry :\ [02:29] initohen: no worries, you're already about 5* more useful than ##javascript [02:29] thinkt4nk has joined the channel [02:29] Joeysomo has joined the channel [02:29] TooTallNate: is github messed up for anyone else? [02:29] benvie: wow why does my gist look like viruses all over my screen [02:30] benvie: oh not just me [02:30] MartinCleaver has joined the channel [02:30] MartinCleaver has joined the channel [02:30] initohen: ohay, that's new [02:30] diogogmt has joined the channel [02:30] initohen: looks like the server didn't send all the headers [02:30] TooTallNate: seems there's a "Partial service outage" [02:30] CarterL: yeah [02:30] CarterL: gh is down [02:31] dtrejo has joined the channel [02:31] Daegalus: mmm, im curious why there is so much binary data [02:31] initohen: i don't know how an outage sends the tail end of the request [02:31] initohen: Daegalus: it's just zipped html [02:31] Daegalus: ah, makes sense [02:31] a_suenami has joined the channel [02:31] benvie: viruses [02:31] initohen: it's the latter part of a multi-part mime chunked response [02:31] benvie: hundreds [02:31] blueadept has joined the channel [02:31] initohen: and right before all the binary data you can see content-encoding: gzip [02:31] criswell has joined the channel [02:31] Daegalus: hey, with the recent Ruby vulnerability that was patched up, i wouldnt be surprised if new ones were found [02:32] initohen: result of exploitation actually makes some sense [02:32] ningu: initohen: paste somewhere else? [02:32] kevinswiber: I think hundreds of viruses sounds more accurate. ;) [02:32] initohen: sure, one sec [02:32] Daegalus: pastebin.com is ok [02:32] mattgifford has joined the channel [02:33] kevinswiber: They must be running Perl instead of RoR. [02:33] initohen: http://pastebin.com/0itezPgy [02:33] Daegalus: Perl 6 to be exact [02:33] benvie: or maybe the server is literally just hundreds of viruses working in tandem and somehow producing a usable result [02:33] initohen: Daegalus: are you just parroting what other people are saying? [02:33] initohen: >:) [02:33] Brandon_R has joined the channel [02:33] stelcheck has left the channel [02:33] Daegalus: no, im just making shit up as i go :P [02:33] benvie: no that's what I'm doing [02:33] initohen: pun fail [02:33] benvie: stio copying [02:33] Brandon_R: is github working guys? [02:34] initohen: http://en.wikipedia.org/wiki/Parrot_virtual_machine [02:34] initohen: ;) [02:34] Daegalus: Yes, Im currently uploading porn to all yoru repos [02:34] benvie: that's what twitter is [02:34] stelcheck has joined the channel [02:34] initohen: oh good, soon we'll be able to repo the benefits [02:35] Brandon_R: is it just me or is github acting up? [02:35] kevinswiber: "What's Node.js good for?!" Answer: "Uploading porn to all your repos." [02:35] benvie: it can do that quite well [02:35] CarterL: Brandon_R: yes [02:35] infynyxx has joined the channel [02:35] Daegalus: kevinswiber: exactly. [02:35] initohen: brb uploading my node [02:36] ningu: initohen: can the second event see buf? [02:36] Daegalus: I actually use Node.js for a lot of scripting work on my server. When i dont feel like bashing or getting bit by snakes [02:36] initohen: ningu: no [02:36] initohen: err, buf [02:36] initohen: good question, one sec [02:36] ningu: can the first event see body? [02:36] Daegalus: we need a node.js repl bot in here [02:36] initohen: yes, second sees buf [02:36] benvie: the name is catb0t [02:36] initohen: in fact, it unzips it fine [02:36] benvie: we need catb0t [02:36] ningu: I still think someone should make something called repl without a cause [02:37] initohen: the line body = data.toString(etc) succeeds [02:37] initohen: but console.log body only displays null [02:37] kevinswiber: I just bit some Node.js trollbait on Twitter. :/ Damn parrot virtual machine. [02:37] initohen: or empty string, which i'm using 'cause it avoids a compile error [02:37] benvie: I barely use node for stuff that it's mostly used for [02:37] Daegalus: lol, agreed [02:37] Daegalus: im using node for obscure general purpose tasks [02:38] mc: i'm starting to build up a pile of node cli tools [02:38] benvie: I couldn't answer a question about Connect without going to github and reading the source and guessing [02:38] Daegalus: like the other day, I was using ti to parse a binary file to convert its list of numbers from hex using UInt32 [02:38] initohen: (also first event can see body: buf used to be body) [02:38] benvie: as an example [02:38] initohen: body was a string, buf is a buffer [02:39] kevinswiber: I'm using Node to be popular on the dance floor, and as a core technology for my startup side project. [02:39] cody-- has joined the channel [02:39] Brandon_R: i'm using node because fuck php [02:39] Daegalus: i just sometimes dont like how there isn't a synchronous http get call. Dealing with asynchronous HTTP Get calls from Node is a pain when you gotta do something in order [02:39] benvie: I'm using it to control my computer chair and the turbines that power the toaster [02:40] Avanine: Daegalus: have you tried one of the flow control libraries out? [02:40] initohen: just say node to coffeescript [02:40] ningu: initohen: console.log() will never happen for the gzip/deflate case... but you're saying that one works? [02:40] Avanine: like Sequence? [02:40] Daegalus: Avanine: never heard of any of htem or thought to look for something like that, ill check it out [02:40] kevinswiber: benvie: Weird thing is, I believe you. [02:40] benvie: it'd be true if I had turbines [02:40] Avanine: here are a bunch of good ones: https://github.com/coolaj86/futures [02:40] initohen: ningu: when i put a console.log immediately following the body = data.toString(utf8) line, it echos the html [02:40] initohen: it's like the switch has its own scope(?) [02:40] ningu: benvie: what about turbans? [02:41] benvie: they are unpowered [02:41] initohen: but i changed it to an if like above and that didn't help either [02:41] norviller has joined the channel [02:41] ningu: I think the best clean energy source is wind turbans [02:41] initohen: also why would the inner scope have access to a variable that the outer didn't [02:41] initohen: i did notice that the compiled javascript uses 'return' in front of the second event binding [02:41] redir has joined the channel [02:42] ningu: initohen: what if you console.log in the default: section? [02:42] Brandon_R: what is the node convention for argument validation? [02:42] initohen: doesn't trigger [02:42] ningu: that's where you're expecting it to be set, right? [02:42] initohen: the gzip case does trigger [02:42] Brandon_R: like is_int, is_string etc for each argument [02:42] initohen: i'm expecting it to be set in gzip [02:42] octayn: initohen: what if you run the thing through a real debugger and step through to see what's happening and where? [02:42] Brandon_R: or trust the caller and hope they sanitize? [02:42] initohen: and after the switch is exited, it's null [02:43] ningu: initohen: oh, duh, just noticed the zlib call [02:43] kevinswiber: instanceof someText == 'string' [02:43] ningu: that's async [02:43] initohen: oh, the bind in unzip was a troubleshooting step too [02:43] ningu: there's your problem [02:43] initohen: oh, really [02:43] initohen: how would i take care of that? [02:43] dtrejo: anyone know how to console.log without it adding a newline at the end? [02:43] dtrejo: I would use sys.puts [02:43] dtrejo: but that's old [02:43] tmike: dtrejo process.stdout.write [02:44] octayn: dtrejo: process.stdout.write [02:44] dtrejo: cool thanks [02:44] initohen: also: how do i tell zlib is async from the docs? [02:44] ningu: initohen: you could declare a function inline like function finish() { ... } and call it from the gzip callback [02:44] Brandon_R: process.write [02:44] githogori has joined the channel [02:44] ningu: initohen: anything that takes a callback like that is async [02:44] initohen: oh, silly me [02:44] conancat has joined the channel [02:44] initohen: right [02:44] Brandon_R: does putting a sync function in a nextTick anon function make it async? [02:44] Eruadan has joined the channel [02:44] Eruadan has joined the channel [02:45] tmike: initohen: can you paste the JS you're fiddling with? [02:45] joshfinnie has joined the channel [02:45] initohen: well, that's a subtle distinction, i won't be hurt for missing it after a day and a half of node programming ;) [02:45] ningu: initohen: anyway, the finish() can also be called from the default: even though it isn't async there [02:45] initohen: http://pastebin.com/0itezPgy [02:45] tmike: you've got to be careful with scope when it comes to callback [02:45] sechrist: hmm I'm using ejs.render in node with a string template loaded from fsReadSync.. and the variables passed in the dictionary are coming up undefined when it tries to compile/render the template [02:45] initohen: (coffeescript output) [02:45] sechrist: weird [02:46] initohen: tmike: indeed, i did consider it but i couldn't understand why it received the variable but couldn't set it [02:46] Daegalus: Avanine: thanks, this will really help [02:46] initohen: i mean, i did consider the structure as a difference [02:46] ningu: initohen: in this case scope isn't your issue [02:46] arturadib has joined the channel [02:46] kevinswiber: Brandon_R: Err, I meant typeof, not instanceof. https://developer.mozilla.org/en/JavaScript/Reference/Operators/typeof [02:46] tmike: And what is the variable you're trying to access? [02:46] ningu: initohen: body is in scope for all the relevant places, it just isn't set yet when you get to console.log() [02:46] brianleroux has joined the channel [02:46] initohen: gotcha [02:47] initohen: (or when this part returns) [02:47] octayn: Brandon_R: I assume that the arguments passed to me are valid and if they aren't and something bad happens, an exception will be generated or a testcase will fail, no big deal. [02:47] octayn: It isn't the function's job to enforce its invariants, it's the caller's job. [02:47] kevinswiber: Brandon_R: nextTick just defers the call, pushing it to the event loop queue. [02:47] tmike: ningu's right. Your function returns before the callbacks complete. [02:48] octayn: Plus doing that removes all sorts of fun duck typing potential. [02:48] initohen: what i really want is to block it, but i suppose i can't do that [02:48] initohen: if i used it as a pipe it would work out though i think? [02:48] Brandon_R: in erlang you just leave it to fail [02:48] ningu: I don't think you can block on that [02:48] initohen: since that wouldn't be using a callback [02:48] Brandon_R: not sure if that's the thinking in node [02:48] initohen: i just didn't understand the syntax enough, i was trying to step my way there :) [02:48] ningu: there are some things you can block on, but I don't think that's one [02:49] initohen: probably not [02:49] ningu: if it's an external process you can block on it for example [02:49] ningu: but this is within node [02:49] initohen: but that's fine [02:49] initohen: i learned something important about writing in node [02:49] ningu: so it will just block, preventing the callback from ever completing [02:49] initohen: i'm gonna call it a day and tackle this tomorrow fresh now that i have something to work from :) [02:49] lohkey has joined the channel [02:49] initohen: thank you guys for your help! [02:49] ningu: the finish() rewrite is pretty easy [02:49] ningu: you just put function finish() { ... } at the place of your console.log [02:50] initohen: yeah, except if i did that .. [02:50] initohen: the console.log was a debug function [02:50] ningu: I know [02:50] initohen: it's the function that this returns to two or three steps later [02:50] initohen: that also receives blank data [02:50] initohen: that i want to work :) [02:50] kevinswiber: Brandon_R: Well, in Node, you don't really have a supervisor or anything unless you make one. You need to recover from your failures somehow. [02:50] initohen: the finish function won't block it [02:50] ningu: it's a callback, it doesn't return to anywhere [02:50] initohen: so really it's cleaner to use the pipes i think [02:50] ningu: yeah, I don't know what you are trying to do [02:50] initohen: er, i'm mixing my terms all up i'm sure, so i apologize [02:51] initohen: i'm modifying zombie.js [02:51] ningu: there are various ways of handling async control flow [02:51] initohen: that code you saw is called in some other nested callback stuff [02:51] thinkt4nk has joined the channel [02:51] initohen: so it's trickier than i'd like to try and arrange it in a half-working way [02:51] tmike: You don't really want to recover from failures. You want to log as much stuff as you can and gtfo [02:51] initohen: i'd rather have it stream the data [02:51] justfielding has joined the channel [02:51] initohen: but i'm not feeling up to tackling more new syntax after the last .. 13 hours or so haha [02:52] ningu: well, good luck [02:52] initohen: thank you sir [02:52] initohen: i believe i can take it from here :) [02:52] kevinswiber: tmike: Yeah, but you may want to restart your process. That's something an Erlang supervisor can do, I believe. [02:52] tmike: Given the pile of callbacks you end up under in node, you can't guarantee your state anywhere. If an error gets thrown and you aren't absolutely sure the error is expected and acceptible to continue with, you're in trouble. The program should die. [02:52] tmike: Ah. [02:52] tmike: Look at forever. [02:52] tmike: It's a node module. [02:53] justfielding: any suggestions for handling a single VPS with a few node.js apps, some sinatra apps and staticly hosted content? considering either using node as the proxy, or maybe looking in to HAProxy, but I'm a newb on all fronts there [02:53] jamescarr has joined the channel [02:53] tmike: justfielding: nginx works pretty nicely as a reverse proxy [02:54] pradeepbv has joined the channel [02:54] justfielding: tmike: any performance limitations there? [02:54] sammmy has joined the channel [02:54] tmike: bed time for me [02:54] sammmy: Yeah so. I need to figure out the routing shizzle. [02:54] Daegalus: if anything, it might be the most performant of them all justfielding, at least from what I know, i coudl be wrong, if i am , someone will probably correct me if they are paying attention [02:54] jdparker has joined the channel [02:55] sammmy: ACTION is being vague [02:55] justfielding: Daegalus: thanks for the input, appreciate it =) [02:56] kevinswiber: sammmy: What routing shizzle do you need to figure out? [02:56] sammmy: I would like to use one server to host both my Node.js website and my PHP/Apache website. Depending on the domain of the requests, the system would route the request to the appropriete site. I would like to use Node as the routing. [02:56] RobWC has joined the channel [02:56] ningu: sammmy: is there a reason you can't use nginx for that? [02:57] sammmy: ningu: I'm not familiar with nginx. Why wouldn't Node be good for the job? :\ [02:57] kevinswiber: sammmy: Node would be fine. It's just a simple reverse proxy you're talking about. [02:57] octayn: Why write code when it's already been done for you? [02:57] ningu: I suspect nginx would be faster [02:57] ningu: that too [02:58] octayn: Not to mention by people who actually know what they're doing [02:58] ningu: nginx is very easy to configure and there are plenty of tutorials online for the simple config for a node app [02:58] tedsuo: yeah nginx is the best reverse proxy out there currently [02:58] mansoor: except crappy websockets support [02:58] jaigouk has joined the channel [02:59] Lorentz: it's that http 1.0 vs 1.1 keep alive something something [02:59] tedsuo: yep [02:59] Lorentz: but otherwise it's good for you [02:59] ningu: does nginx not support http 1.1 or something? [02:59] kevinswiber: So it depends. Do you need a bitchin' reverse proxy or are you just looking to get some Node.js experience by writing a simple reverse proxy? [02:59] mansoor: I really want to use it and not hae to write my own static file server but the stupid thing has no support for WS. [03:00] theBrettman has joined the channel [03:00] octayn: lighttpd? [03:01] maxownz has joined the channel [03:01] sammmy: I would like to get the Node experience (if it's not too complicated). I would also not like to work with an extra server which I would need to configure. [03:01] tedsuo: sammmy: https://github.com/substack/bouncy is an easy router if you want to go the node route [03:02] tedsuo: also, you would not need an extra server, with either node or nginx [03:02] sammmy: tedsuo: I mean an extra server technology like nginx [03:02] kirbysayshi has joined the channel [03:03] ningu: mansoor: what about this: http://www.letseehere.com/reverse-proxy-web-sockets [03:03] tedsuo: gotcha [03:03] sammmy: But bouncy look pretty good. I suppose I could run my app with a specific port, and configure Apache to do the same (however I do that; not really any good with apache). Then bouncy would do all the work for me. :) [03:04] sammmy: Wow. I love bouncy! Very good for what I need. All I need is a json file and this command line tool, and I'm set! No need for nginx. :) [03:04] kevinswiber: sammy: It's pretty easy to configure Apache to listen on a different port. http://httpd.apache.org/docs/2.2/bind.html [03:04] onkis has joined the channel [03:04] sammmy: Thanks tedsuo. ;) [03:05] kevinswiber: Yeah, bouncy rocks the house in the ease-of-use department. [03:05] sammmy: And it's pretty reliable? [03:06] Brandon_R: hey guys i have another stupid question [03:06] Brandon_R: how does putting nginx in front of node speed it up? [03:06] dtrejo: anyone know of a module that takes some numbers and outputs an ascii bar graph to the command line? [03:06] Brandon_R: if anything it should slow it down because the request has to go past one more wall, shouldn't it? [03:06] kevinswiber: sammmy: Never used bouncy in a production env. I'm sure SubStack has, though. [03:06] brainss has joined the channel [03:07] kevinswiber: Brandon_R: Depends how you're using nginx. [03:07] MartinCleaver: in log4js, is there a way to automatically show the line number of the line that logged a message? [03:07] Lorentz: Brandon_R: probably depends on what you're serving, something like straight up static files, can probably be served faster in nginx [03:07] MartinCleaver: (and file, for that matter) [03:07] kevinswiber: Brandon_R: If you're using it as a static file server, it's super fast. [03:07] Lorentz: put varnish in front of nginx and it goes even faster [03:08] MartinCleaver: I found http://code.google.com/p/aost/source/browse/trunk/tools/firefox-plugin/trump/chrome/content/logger.js?r=858 [03:08] MartinCleaver: but figured there must be something better [03:08] jimrhoskins has joined the channel [03:08] Lorentz: I also have legacy systems, so nginx comes handy to reverse proxy requests to, say, php-fpm instances or ror for redmine, etc [03:08] nicholas_ has joined the channel [03:09] Lorentz: all on port 80 [03:09] Emmanuel` has joined the channel [03:09] Vennril2 has joined the channel [03:10] joshontheweb has joined the channel [03:10] dshaw_ has joined the channel [03:11] sammmy: If all of my sites listened on a separate port, which ports are good to use? I'm guessing some ports are standardized and should be avoided? [03:11] jefferai: sammmy: check /etc/services [03:11] justfielding: they will be internal, so as long as they don't conflict [03:11] octayn: see /etc/services [03:11] MartinCleaver: https://github.com/nomiddlename/log4js-node/issues/search?q=line+number = 0 hits [03:11] justfielding: assuming, you are going to have them setup internally* [03:11] eresair has joined the channel [03:11] octayn: Even when it is listed in there don't let that stop you from using it if you want to. [03:12] sammmy: jefferai: I'm on windows right now. I will be getting my server back up here soonly. What's there though? [03:12] jefferai: list of well-known services/ports [03:12] octayn: IANA registererd stuff [03:12] octayn: And then some more [03:12] octayn: sammmy: http://paste.pocoo.org/show/564879/ [03:13] sammmy: Is 3000-3999 pretty safe to listen on? [03:13] IrishGringo has joined the channel [03:13] octayn: Everything is safe to listen on. It's your server, presumably you know what services you are running and on which ports [03:14] daniel`: sammmy: The Internet Assigned Numbers Authority (IANA) suggests the range 49152 to 65535 for dynamic or private ports. [03:15] francisl has joined the channel [03:16] daniel`: sammmy: other than that; whatever you choose over 1024 makes pretty much no difference if it’s your server [03:16] sammmy: So 5000-6000 should be pretty safe then? [03:17] maxogden: over 9000 [03:17] sammmy: Oh. I mean 50000-60000 then. [03:17] sammmy: maxogden: lol, I see what you did there. ;P [03:17] miccolis has joined the channel [03:18] mikeal has joined the channel [03:18] mattgifford has joined the channel [03:18] daniel`: sammmy: if you’re worried about conflicts, 50000-60000 is probably as safe as you can get [03:19] kevinswiber: sammmy: As long as you don't collide with yourself, you're good to go. I like using a port that's easy to remember, like 52918... [03:19] pizthewiz has joined the channel [03:19] sammmy: kevinswiber: lol [03:19] vikstrous has joined the channel [03:20] sammmy: Is port 5318008 available? [03:20] kevinswiber: Afraid not. [03:20] Daegalus: no, ts too high [03:20] octayn: sammmy: wayyyy too high [03:20] Daegalus: 65535 is the max [03:20] sammmy: darn..that's boobies upside down. xP [03:20] Daegalus: and backwards [03:21] kevinswiber: Everyone appreciates a good ol' fashion calculator joke. [03:21] Daegalus: 58008 works better [03:21] daniel`: nice one [03:21] sammmy: lol yea ^ [03:21] boltR has joined the channel [03:22] kevinswiber: Does NodeConf have a date yet? "Sometime in summer" is hard to plan. [03:23] sammmy: What happens when you try to listen in on a port that's already being listened to? [03:23] kevinswiber: I usually need a little more accuracy than one of the four seasons. [03:23] octayn: sammmy: TIAS [03:23] octayn: (EADDRINUSE) [03:23] gr4yscal_ has joined the channel [03:23] wookiehangover has joined the channel [03:24] ditesh|cassini has joined the channel [03:24] dekub has joined the channel [03:25] sharkbird has joined the channel [03:26] nicholas_ has joined the channel [03:29] rlidwka has joined the channel [03:32] advatar has joined the channel [03:34] MartinCleaver: is there a variable that holds the current file's filename? [03:35] SubStack: __filename [03:35] MartinCleaver: thanks SubStack [03:35] MartinCleaver: > console.log(__filename); ReferenceError: __filename is not defined at repl:1:13 [03:36] octayn: What is the "current file"? [03:36] MartinCleaver: hah. Well in this particular case that is a good question! [03:36] colinwd has joined the channel [03:36] MartinCleaver: ACTION tries it from a file (blush) [03:38] MartinCleaver: :D [03:38] Spion_ has joined the channel [03:38] rlidwka: try module.filename [03:39] mattgifford has joined the channel [03:40] MartinCleaver: y, that gives a good (same) answer too. I like it better, thanks rlidwka [03:40] MartinCleaver: I was thinking of using it in var logger = log4js.getLogger(); [03:41] jtsnow has joined the channel [03:41] Hensley has joined the channel [03:41] jacobolus has joined the channel [03:41] MartinCleaver: ACTION looks up module's def'n for a basename function  [03:42] rlidwka: require('path').basename [03:42] t0mmyvyo has joined the channel [03:45] ovnicraft has joined the channel [03:45] disappearedng has joined the channel [03:45] rtgibbons has joined the channel [03:46] materialdesigner has joined the channel [03:46] MartinCleaver: cool. thanks rlidwka. [03:46] MartinCleaver: var logger = log4js.getLogger(basename(module.filename, ".js")); [03:46] MartinCleaver: bit of a mouthful, but hey [03:47] MartinCleaver: ACTION battery is about to give up [03:47] MartinCleaver: thanks again, cya [03:47] Brandon_R: hi [03:47] _ritch1 has joined the channel [03:47] jdeibele has joined the channel [03:48] gmonnerat has joined the channel [03:48] kirbysayshi has joined the channel [03:48] sreeix has joined the channel [03:49] sammmy: How do I write an object to the body of a response? [03:50] Brandon_R: ? [03:50] sammmy: I'm trying to view the contents of req and res by sending them back to the client. [03:50] sreeix has joined the channel [03:54] chjj has joined the channel [03:55] arvidkahl has joined the channel [03:56] westg: res.send(req.body)? [03:57] tuhoojabotti: res.send(util.inspect(req.body)) [03:57] tuhoojabotti: no? [03:57] tuhoojabotti: :u [03:57] tobmaster has joined the channel [03:58] MrTopf has joined the channel [03:59] BillyBreen has joined the channel [04:00] andrehjr has joined the channel [04:02] FACEFOX has joined the channel [04:03] DaegAway has joined the channel [04:03] colinwd has joined the channel [04:03] jimmy has joined the channel [04:04] bandu has joined the channel [04:06] alm0nd has joined the channel [04:06] sechrist: sammmy: res.json [04:07] sechrist: however circular references may prevent those objects from being serializable [04:07] ningu: but square references are fine [04:07] sechrist: of course [04:07] kurtzhong_ has joined the channel [04:10] westg: triangular references [04:12] dr0id has joined the channel [04:12] orlandovftw has joined the channel [04:12] langworthy has joined the channel [04:14] rurufufuss has joined the channel [04:17] ditesh|cassini has joined the channel [04:20] tornad has joined the channel [04:20] kinow has joined the channel [04:22] nikdo has joined the channel [04:24] kinow has left the channel [04:26] colinwd has joined the channel [04:27] brainss has joined the channel [04:27] redir has joined the channel [04:30] boehm has joined the channel [04:31] zackattack has joined the channel [04:31] cliffano has joined the channel [04:32] harthur has joined the channel [04:32] DaegAway has joined the channel [04:34] CIA-102: node: 03isaacs 07master * rbcb0cc0 10/ (251 files in 41 dirs): (log message trimmed) [04:34] CIA-102: node: Upgrade npm to 1.1.6 [04:34] CIA-102: node: * Fix #472 Adds support for os/cpu fields in package.json (Adam Blackburn) [04:34] CIA-102: node: * Don't use existing pkg if explicit [04:34] CIA-102: node: * Install missing deps, even if they are in bundleDependencies [04:34] CIA-102: node: * bundle node-gyp [04:34] CIA-102: node: * Automatically node-gyp build stuff with a bindings.gyp [04:35] sechrist_ has joined the channel [04:35] Greg has joined the channel [04:37] devongovett has joined the channel [04:38] petschm_ has joined the channel [04:38] aslant has joined the channel [04:40] TheJH has joined the channel [04:40] mattgifford has joined the channel [04:45] DaegAway has joined the channel [04:45] blueadept` has joined the channel [04:45] michaelmartinez has joined the channel [04:49] EvilPacket has joined the channel [04:52] TheJH has joined the channel [04:52] justfielding: any opinions on deployment/monitoring? monit maybe? I saw a post about forever, but not familiar with it reallly. I am using nginx and proxying to either thin or node.js, since starting the processes for each app is similiar and I figured monit or something might work nicely as a process monitor to quickly start/stop/reload, etc [04:53] st_luke has joined the channel [04:53] OmidRaha has joined the channel [04:53] st_luke_ has joined the channel [04:57] st_luke__ has joined the channel [04:58] maxogden has joined the channel [04:59] meso_ has joined the channel [05:02] alejandromg has joined the channel [05:05] pendlepa_ has joined the channel [05:06] eventualbuddha has joined the channel [05:10] wilmoore has joined the channel [05:13] c4milo has joined the channel [05:15] djbell has joined the channel [05:15] mikeric has joined the channel [05:15] cliffano has left the channel [05:16] mephux has joined the channel [05:16] fangsterr has joined the channel [05:17] fangsterr has left the channel [05:17] joshontheweb has joined the channel [05:17] kevwil has joined the channel [05:18] dunder-mifflin has joined the channel [05:21] kevwil has joined the channel [05:21] Lopuz has joined the channel [05:24] harthur has joined the channel [05:27] mikeal has joined the channel [05:27] Lopuz has left the channel [05:29] Joeysomo has joined the channel [05:30] conancat has joined the channel [05:34] kevwil has left the channel [05:35] sammmy: wtf is a circular reference? xP [05:36] ascarter has joined the channel [05:38] advatar has joined the channel [05:39] daniel`: sammmy: var foo = {}; foo.bar = foo [05:40] gid0_ has joined the channel [05:40] mansoor has joined the channel [05:41] gid0_: PING 1331617268 [05:41] gid0_: PING 1331617269 [05:41] gid0_: PING 1331617269 [05:41] gid0_: PING 1331617270 [05:41] gid0_: PING 1331617270 [05:41] gid0_: PING 1331617271 [05:41] gid0_: PING 1331617271 [05:41] gid0_: PING 1331617271 [05:41] gid0_: PING 1331617272 [05:41] gid0_: PING 1331617272 [05:41] gid0_: PING 1331617272 [05:41] gid0_: PING 1331617272 [05:41] gid0_: PING 1331617273 [05:41] gid0_: PING 1331617273 [05:41] gid0_: PING 1331617273 [05:41] gid0_: PING 1331617273 [05:41] gid0_: PING 1331617286 [05:41] gid0_: PING 1331617286 [05:41] gid0_: PING 1331617286 [05:41] gid0_: PING 1331617286 [05:41] gid0_: PING 1331617287 [05:41] gid0_: PING 1331617287 [05:41] gid0_: PING 1331617287 [05:41] gid0_: PING 1331617287 [05:41] gid0_: PING 1331617288 [05:41] gid0_: PING 1331617288 [05:41] gid0_: PING 1331617288 [05:41] sammmy: daniel: that's impossible. [05:41] gid0_: PING 1331617288 [05:41] gid0_: PING 1331617289 [05:41] gid0_: PING 1331617289 [05:41] gid0_ has joined the channel [05:41] gid0_: PING 1331617309 [05:41] gid0_: PING 1331617309 [05:41] gid0_: PING 1331617310 [05:41] gid0_: PING 1331617310 [05:41] gid0_: PING 1331617310 [05:41] tekky: ban that asshat.... [05:41] gid0_: PING 1331617311 [05:41] gid0_: PING 1331617311 [05:41] gid0_: PING 1331617311 [05:41] gid0_: PING 1331617312 [05:41] gid0_: PING 1331617312 [05:41] gid0_: PING 1331617312 [05:41] gid0_: PING 1331617313 [05:41] gid0_: PING 1331617313 [05:41] gid0_: PING 1331617313 [05:42] gid0_: PING 1331617321 [05:42] gid0_: PING 1331617321 [05:42] gid0_: PING 1331617321 [05:42] gid0_: PING 1331617322 [05:42] gid0_: PING 1331617322 [05:42] gid0_: PING 1331617322 [05:42] gid0_: PING 1331617323 [05:42] gid0_: PING 1331617323 [05:42] gid0_: PING 1331617323 [05:42] gid0_: PING 1331617324 [05:42] gid0_: PING 1331617324 [05:42] gid0_: PING 1331617324 [05:42] gid0_: PING 1331617326 [05:42] gid0_: PING 1331617326 [05:42] gid0_: PING 1331617326 [05:42] gid0_: PING 1331617327 [05:42] gid0_: PING 1331617327 [05:42] gid0_: PING 1331617327 [05:42] gid0_ has joined the channel [05:42] gid0_: PING 1331617349 [05:42] gid0_: PING 1331617349 [05:42] gid0_: PING 1331617350 [05:42] gid0_: PING 1331617350 [05:42] gid0_: PING 1331617352 [05:42] gid0_: PING 1331617352 [05:42] gid0_: PING 1331617353 [05:42] gid0_: PING 1331617353 [05:42] gid0_: PING 1331617354 [05:42] gid0_: PING 1331617354 [05:42] TheMoonMaster: wat [05:42] gid0_: PING 1331617355 [05:42] gid0_: PING 1331617355 [05:42] gid0_: PING 1331617356 [05:42] gid0_: PING 1331617356 [05:42] gid0_: PING 1331617357 [05:42] gid0_: PING 1331617357 [05:42] gid0_: PING 1331617358 [05:42] gid0_: PING 1331617358 [05:42] gid0_: PING 1331617359 [05:42] gid0_: PING 1331617359 [05:42] gid0_: PING 1331617371 [05:42] gid0_: PING 1331617372 [05:42] gid0_: PING 1331617372 [05:42] gid0_: PING 1331617373 [05:42] gid0_: PING 1331617373 [05:42] gid0_: PING 1331617374 [05:42] gid0_: PING 1331617374 [05:42] gid0_: PING 1331617375 [05:42] gid0_: PING 1331617375 [05:42] gid0_: PING 1331617376 [05:42] gid0_: PING 1331617376 [05:42] gid0_: PING 1331617377 [05:42] gid0_: PING 1331617377 [05:42] gid0_: PING 1331617378 [05:42] gid0_: PING 1331617378 [05:43] gid0_: PING 1331617379 [05:43] gid0_: PING 1331617379 [05:43] gid0_: PING 1331617380 [05:43] gavin_huang has joined the channel [05:43] alejandromg: o.O [05:43] gid0_: PING 1331617392 [05:43] gid0_: PING 1331617392 [05:43] gid0_: PING 1331617393 [05:43] gid0_: PING 1331617393 [05:43] gid0_: PING 1331617394 [05:43] gid0_: PING 1331617394 [05:43] gid0_: PING 1331617396 [05:43] gid0_: PING 1331617396 [05:43] gid0_: PING 1331617396 [05:43] gid0_: PING 1331617397 [05:43] gid0_: PING 1331617397 [05:43] gid0_: PING 1331617398 [05:43] gid0_: PING 1331617399 [05:43] gid0_: PING 1331617399 [05:43] gid0_: PING 1331617400 [05:43] gid0_: PING 1331617400 [05:43] KindOne has joined the channel [05:43] gid0_: PING 1331617408 [05:43] gid0_: PING 1331617408 [05:43] alyx: well. [05:43] gid0_: PING 1331617409 [05:43] gid0_: PING 1331617409 [05:43] gid0_: PING 1331617409 [05:43] gid0_: PING 1331617410 [05:43] alyx: that's just lovely. [05:43] gid0_: PING 1331617410 [05:43] gid0_: PING 1331617410 [05:43] gid0_: PING 1331617411 [05:43] gid0_: PING 1331617411 [05:43] gid0_: PING 1331617411 [05:43] alyx: KindOne: HAI [05:43] gid0_: PING 1331617412 [05:43] gid0_: PING 1331617412 [05:43] gid0_: PING 1331617412 [05:43] gid0_: PING 1331617413 [05:43] gid0_: PING 1331617413 [05:43] gid0_: PING 1331617413 [05:43] gid0_: PING 1331617414 [05:43] tekky: gid0_: is CTCP flooding the hcannel [05:43] gid0_ has joined the channel [05:43] gid0_: PING 1331617433 [05:43] gid0_: PING 1331617434 [05:43] gid0_: PING 1331617434 [05:43] gid0_: PING 1331617435 [05:43] gid0_: PING 1331617435 [05:43] gid0_: PING 1331617436 [05:43] gid0_: PING 1331617436 [05:43] gid0_: PING 1331617437 [05:43] gid0_: PING 1331617437 [05:43] gid0_: PING 1331617438 [05:43] gid0_: PING 1331617438 [05:44] gid0_: PING 1331617439 [05:44] gid0_: PING 1331617439 [05:44] gid0_: PING 1331617440 [05:44] gid0_: PING 1331617440 [05:44] tekky: or maybe he's specifically targetting me but I would guess not [05:44] gid0_: PING 1331617441 [05:44] gid0_: PING 1331617441 [05:44] gid0_: PING 1331617442 [05:44] chapel: not just you [05:44] gid0_: PING 1331617455 [05:44] gid0_: PING 1331617455 [05:44] gid0_: PING 1331617456 [05:44] gid0_: PING 1331617456 [05:44] gid0_: PING 1331617457 [05:44] gid0_: PING 1331617457 [05:44] gid0_: PING 1331617458 [05:44] gid0_: PING 1331617458 [05:44] gid0_: PING 1331617459 [05:44] gid0_: PING 1331617459 [05:44] gid0_: PING 1331617460 [05:44] gid0_: PING 1331617460 [05:44] gid0_: PING 1331617461 [05:44] gid0_: PING 1331617461 [05:44] gid0_: PING 1331617462 [05:44] gid0_: PING 1331617462 [05:44] gid0_: PING 1331617463 [05:44] gid0_: PING 1331617463 [05:44] gid0_: PING 1331617464 [05:44] gid0_: PING 1331617464 [05:44] niloy has joined the channel [05:44] mansoor: h4xorss!! [05:44] gid0_: PING 1331617477 [05:44] gid0_: PING 1331617477 [05:44] gid0_: PING 1331617478 [05:44] gid0_: PING 1331617478 [05:44] gid0_: PING 1331617479 [05:44] gid0_: PING 1331617479 [05:44] gid0_: PING 1331617480 [05:44] gid0_: PING 1331617480 [05:44] gid0_: PING 1331617481 [05:44] gid0_: PING 1331617481 [05:44] gid0_: PING 1331617482 [05:44] gid0_: PING 1331617482 [05:44] gid0_: PING 1331617483 [05:44] gid0_: PING 1331617483 [05:44] gid0_: PING 1331617484 [05:44] gid0_: PING 1331617484 [05:44] mansoor: l33t h4xorss!! [05:44] gid0_: PING 1331617485 [05:44] gid0_: PING 1331617485 [05:44] gid0_: PING 1331617497 [05:44] gid0_: PING 1331617497 [05:44] gid0_: PING 1331617498 [05:44] gid0_: PING 1331617498 [05:45] gid0_: PING 1331617499 [05:45] gid0_: PING 1331617499 [05:45] gid0_: PING 1331617500 [05:45] gid0_: PING 1331617500 [05:45] gid0_: PING 1331617501 [05:45] gid0_: PING 1331617501 [05:45] gid0_: PING 1331617502 [05:45] gid0_: PING 1331617502 [05:45] gid0_: PING 1331617503 [05:45] gid0_: PING 1331617503 [05:45] gid0_: PING 1331617504 [05:45] gid0_: PING 1331617504 [05:45] gid0_: PING 1331617505 [05:45] gid0_: PING 1331617505 [05:45] gid0_: PING 1331617506 [05:45] gid0_: PING 1331617506 [05:45] TheMoonMaster: Nope. [05:45] TheMoonMaster: Only person losing connection is him. [05:45] gid0_: PING 1331617518 [05:45] gid0_: PING 1331617518 [05:45] gid0_: PING 1331617519 [05:45] gid0_: PING 1331617519 [05:45] gid0_: PING 1331617520 [05:45] gid0_: PING 1331617520 [05:45] gid0_: PING 1331617521 [05:45] gid0_: PING 1331617521 [05:45] gid0_: PING 1331617523 [05:45] gid0_: PING 1331617523 [05:45] alyx: lols [05:45] gid0_: PING 1331617524 [05:45] gid0_: PING 1331617524 [05:45] gid0_: PING 1331617525 [05:45] gid0_: PING 1331617525 [05:45] gid0_: PING 1331617527 [05:45] gid0_: PING 1331617527 [05:45] gid0_: PING 1331617529 [05:45] gid0_: PING 1331617529 [05:45] mansoor: can't we enable confrence mode or somehting to hide these messages [05:45] gid0_: PING 1331617530 [05:45] gid0_: PING 1331617530 [05:45] gid0_: PING 1331617531 [05:45] gid0_: PING 1331617531 [05:45] uid0 has joined the channel [05:45] gid0_: PING 1331617533 [05:45] gid0_: PING 1331617533 [05:45] gid0_: PING 1331617534 [05:45] uid0: PING 1331617537 [05:45] uid0: PING 1331617538 [05:45] uid0: PING 1331617538 [05:45] uid0: PING 1331617539 [05:45] uid0: PING 1331617539 [05:45] KindOne: Corey ... [05:45] uid0: PING 1331617540 [05:45] uid0: PING 1331617540 [05:45] uid0: PING 1331617542 [05:45] uid0: PING 1331617542 [05:45] uid0: PING 1331617544 [05:45] uid0: PING 1331617544 [05:45] uid0: PING 1331617545 [05:45] uid0: PING 1331617545 [05:45] gorillatron has joined the channel [05:45] uid0: PING 1331617546 [05:45] uid0: PING 1331617546 [05:45] gid0_: PING 1331617547 [05:45] uid0: PING 1331617547 [05:45] uid0: PING 1331617547 [05:45] gid0_: PING 1331617547 [05:45] uid0: PING 1331617548 [05:45] gid0_: PING 1331617548 [05:45] uid0: PING 1331617548 [05:45] gid0_: PING 1331617548 [05:45] gid0_: PING 1331617549 [05:45] uid0: PING 1331617549 [05:45] gid0_: PING 1331617549 [05:45] gwillen has joined the channel [05:45] gid0_: PING 1331617550 [05:45] gid0_: PING 1331617550 [05:45] gid0_: PING 1331617551 [05:45] gid0_: PING 1331617551 [05:45] gid0_: PING 1331617552 [05:45] gid0_: PING 1331617552 [05:45] gid0_: PING 1331617553 [05:45] gid0_: PING 1331617553 [05:45] gid0_: PING 1331617554 [05:45] gid0_: PING 1331617554 [05:45] gid0_: PING 1331617555 [05:45] gid0_: PING 1331617555 [05:46] uid0: PING 1331617560 [05:46] uid0: PING 1331617560 [05:46] uid0: PING 1331617561 [05:46] uid0: PING 1331617561 [05:46] uid0: PING 1331617562 [05:46] uid0: PING 1331617562 [05:46] uid0: PING 1331617563 [05:46] uid0: PING 1331617563 [05:46] uid0: PING 1331617564 [05:46] uid0: PING 1331617564 [05:46] uid0: PING 1331617565 [05:46] uid0: PING 1331617565 [05:46] uid0: PING 1331617566 [05:46] uid0: PING 1331617566 [05:46] gid0_: PING 1331617566 [05:46] Daegalus: whats with the crazy CTCP ping spam from uid0 gid0 [05:46] gid0_: PING 1331617567 [05:46] uid0: PING 1331617567 [05:46] uid0: PING 1331617567 [05:46] gid0_: PING 1331617567 [05:46] gid0_: PING 1331617568 [05:46] gid0_: PING 1331617568 [05:46] gid0_: PING 1331617569 [05:46] uid0: PING 1331617568 [05:46] uid0: PING 1331617568 [05:46] gid0_: PING 1331617569 [05:46] uid0: PING 1331617569 [05:46] gid0_: PING 1331617570 [05:46] gid0_: PING 1331617570 [05:46] uid0: PING 1331617569 [05:46] uid0: PING 1331617570 [05:46] gid0_: PING 1331617571 [05:46] gid0_: PING 1331617571 [05:46] gid0_: PING 1331617572 [05:46] gid0_: PING 1331617572 [05:46] gid0_: PING 1331617573 [05:46] gid0_: PING 1331617573 [05:46] gid0_: PING 1331617574 [05:46] gid0_: PING 1331617574 [05:46] gid0_: PING 1331617575 [05:46] westg: what's going on?? [05:46] uid0: PING 1331617582 [05:46] uid0: PING 1331617583 [05:46] uid0: PING 1331617583 [05:46] uid0: PING 1331617584 [05:46] uid0: PING 1331617584 [05:46] uid0: PING 1331617585 [05:46] uid0: PING 1331617585 [05:46] uid0: PING 1331617586 [05:46] uid0: PING 1331617586 [05:46] uid0: PING 1331617587 [05:46] gid0_: PING 1331617586 [05:46] gid0_: PING 1331617587 [05:46] uid0: PING 1331617587 [05:46] gid0_: PING 1331617587 [05:46] gid0_: PING 1331617588 [05:46] westg: what's with all the PINGS? [05:46] uid0: PING 1331617588 [05:46] gid0_: PING 1331617588 [05:46] gid0_: PING 1331617589 [05:46] uid0: PING 1331617588 [05:46] gid0_: PING 1331617589 [05:46] gid0_: PING 1331617591 [05:46] uid0: PING 1331617589 [05:46] gid0_: PING 1331617591 [05:46] uid0: PING 1331617589 [05:46] uid0: PING 1331617591 [05:46] gid0_: PING 1331617592 [05:46] gid0_: PING 1331617592 [05:46] uid0: PING 1331617591 [05:46] uid0: PING 1331617592 [05:46] gid0_: PING 1331617593 [05:46] gid0_: PING 1331617593 [05:46] uid0: PING 1331617592 [05:46] uid0: PING 1331617593 [05:46] gid0_: PING 1331617594 [05:46] gid0_: PING 1331617594 [05:46] uid0: PING 1331617593 [05:46] uid0: PING 1331617594 [05:46] gid0_: PING 1331617595 [05:46] gid0_: PING 1331617595 [05:46] gid0_: PING 1331617596 [05:46] mansoor has left the channel [05:46] uid0: PING 1331617605 [05:46] uid0: PING 1331617607 [05:46] uid0: PING 1331617607 [05:46] gid0_: PING 1331617609 [05:46] uid0: PING 1331617609 [05:46] gid0_: PING 1331617609 [05:46] uid0: PING 1331617609 [05:46] gid0_: PING 1331617610 [05:46] uid0: PING 1331617610 [05:46] gid0_: PING 1331617610 [05:46] uid0: PING 1331617610 [05:46] gid0_: PING 1331617612 [05:46] uid0: PING 1331617612 [05:46] gid0_: PING 1331617612 [05:46] uid0: PING 1331617612 [05:46] uid0: PING 1331617613 [05:46] gid0_: PING 1331617613 [05:46] gid0_: PING 1331617613 [05:46] uid0: PING 1331617614 [05:46] gid0_: PING 1331617614 [05:46] uid0: PING 1331617615 [05:46] gid0_: PING 1331617615 [05:46] uid0: PING 1331617615 [05:46] uid0: PING 1331617616 [05:46] gid0_: PING 1331617616 [05:46] gid0_: PING 1331617616 [05:46] uid0: PING 1331617616 [05:46] uid0: PING 1331617617 [05:46] gid0_: PING 1331617617 [05:46] gid0_: PING 1331617617 [05:46] uid0: PING 1331617617 [05:46] uid0: PING 1331617618 [05:46] gid0_: PING 1331617618 [05:46] gid0_: PING 1331617618 [05:46] uid0: PING 1331617618 [05:47] gid0_: PING 1331617620 [05:47] uid0: PING 1331617620 [05:47] uid0: PING 1331617620 [05:47] gid0_: PING 1331617620 [05:47] uid0: PING 1331617621 [05:47] gid0_: PING 1331617621 [05:47] uid0: PING 1331617621 [05:47] gid0_: PING 1331617621 [05:47] gid0_: PING 1331617622 [05:47] uid0: PING 1331617622 [05:47] gid0_: PING 1331617622 [05:47] uid0: PING 1331617622 [05:47] ddf has joined the channel [05:47] gid0_: PING 1331617624 [05:47] uid0: PING 1331617624 [05:47] gid0_: PING 1331617624 [05:47] uid0: PING 1331617624 [05:47] westg has left the channel [05:47] uid0: PING 1331617626 [05:47] uid0: PING 1331617626 [05:47] gid0_: PING 1331617626 [05:47] gid0_: PING 1331617626 [05:47] gid0_: PING 1331617627 [05:47] ddf: PING 1331617628 [05:47] ddf: PING 1331617629 [05:47] ddf: PING 1331617629 [05:47] ddf: PING 1331617630 [05:47] ddf: PING 1331617630 [05:47] ddf: PING 1331617631 [05:47] ddf: PING 1331617631 [05:47] ddf: PING 1331617632 [05:47] ddf: PING 1331617632 [05:47] westg has joined the channel [05:47] ddf: PING 1331617633 [05:47] ddf: PING 1331617633 [05:47] ddf: PING 1331617634 [05:47] ddf: PING 1331617634 [05:47] Daegalus: can someone kick uid0 and gid0_, the ping spam is insane [05:47] ddf: PING 1331617635 [05:47] ddf: PING 1331617635 [05:47] ddf: PING 1331617636 [05:47] ddf: PING 1331617636 [05:47] tekky: ryah: ping? you can ban him from here and at least stop it [05:47] gid0_: PING 1331617638 [05:47] uid0: PING 1331617638 [05:47] gid0_: PING 1331617638 [05:47] uid0: PING 1331617638 [05:47] gid0_: PING 1331617639 [05:47] uid0: PING 1331617639 [05:47] uid0: PING 1331617639 [05:47] gid0_: PING 1331617639 [05:47] gid0_: PING 1331617640 [05:47] gid0_: PING 1331617640 [05:47] uid0: PING 1331617640 [05:47] uid0: PING 1331617640 [05:47] gid0_: PING 1331617641 [05:47] uid0: PING 1331617641 [05:47] gid0_: PING 1331617641 [05:47] uid0: PING 1331617641 [05:47] gid0_: PING 1331617642 [05:47] uid0: PING 1331617642 [05:47] gid0_: PING 1331617642 [05:47] uid0: PING 1331617642 [05:47] Magiobiwan has joined the channel [05:47] uid0: PING 1331617644 [05:47] gid0_: PING 1331617644 [05:47] uid0: PING 1331617644 [05:47] gid0_: PING 1331617644 [05:47] uid0: PING 1331617646 [05:47] gid0_: PING 1331617646 [05:47] uid0: PING 1331617646 [05:47] gid0_: PING 1331617646 [05:47] gid0_: PING 1331617647 [05:47] uid0: PING 1331617647 [05:47] ddf: PING 1331617647 [05:47] uid0: PING 1331617647 [05:47] ddf: PING 1331617647 [05:47] gid0_: PING 1331617647 [05:47] tekky has left the channel [05:47] wycats has joined the channel [05:47] westg: ryah: help! [05:47] owenb has joined the channel [05:47] sorensen has joined the channel [05:47] bengl has joined the channel [05:47] SargoDarya has joined the channel [05:47] mikeal has joined the channel [05:47] kermitPT has joined the channel [05:47] arlolra has joined the channel [05:47] JuanCri has joined the channel [05:47] dshaw_ has joined the channel [05:47] TheMoonMaster: Holy shit. [05:47] aron_ has joined the channel [05:47] magn3ts has joined the channel [05:47] jkarsrud has joined the channel [05:47] Brunoz has joined the channel [05:47] copongcopong has joined the channel [05:47] zz_shykes has joined the channel [05:47] ollie has joined the channel [05:47] magn3ts has joined the channel [05:47] stutter has joined the channel [05:47] ajpiano has joined the channel [05:47] beawesomeinstead has joined the channel [05:47] jimbot has joined the channel [05:47] bartt has joined the channel [05:47] voodootikigod has joined the channel [05:47] coffeecup has joined the channel [05:47] relix has joined the channel [05:47] guybrush has joined the channel [05:47] _ritch has joined the channel [05:47] bentruyman has joined the channel [05:47] Athanasius has joined the channel [05:47] gid0_: PING 1331617662 [05:47] uid0: PING 1331617662 [05:47] ddf: PING 1331617662 [05:47] gid0_: PING 1331617662 [05:47] uid0: PING 1331617662 [05:47] ddf: PING 1331617662 [05:47] stelcheck has joined the channel [05:47] Typo has joined the channel [05:47] Typo has joined the channel [05:47] codelahoma has joined the channel [05:47] Devilicious has joined the channel [05:47] Bonuspunkt has joined the channel [05:47] uid0: PING 1331617665 [05:47] gid0_: PING 1331617665 [05:47] ddf: PING 1331617665 [05:47] gid0_: PING 1331617665 [05:47] smplstk has joined the channel [05:47] ddf: PING 1331617665 [05:47] uid0: PING 1331617665 [05:47] bartt1 has joined the channel [05:47] uid0: PING 1331617668 [05:47] gid0_: PING 1331617668 [05:47] ddf: PING 1331617668 [05:47] ddf: PING 1331617668 [05:47] gid0_: PING 1331617668 [05:47] CIA-51 has joined the channel [05:47] filleokus has joined the channel [05:47] fastest963 has joined the channel [05:47] gid0_: PING 1331617669 [05:47] ddf: PING 1331617669 [05:47] ddf: PING 1331617669 [05:47] gid0_: PING 1331617669 [05:47] blue-dragon has joined the channel [05:47] ddf: PING 1331617670 [05:47] gid0_: PING 1331617670 [05:47] gid0_: PING 1331617670 [05:47] ddf: PING 1331617670 [05:47] Magiobiwan: Woag. [05:47] dscape has joined the channel [05:47] jonaslund has joined the channel [05:47] ddf: PING 1331617671 [05:47] ddf: PING 1331617671 [05:47] gid0_: PING 1331617671 [05:47] gid0_: PING 1331617671 [05:47] Athanasius has left the channel [05:47] ddf: PING 1331617672 [05:47] gid0_: PING 1331617672 [05:47] ddf: PING 1331617672 [05:47] gid0_: PING 1331617672 [05:47] gavin_huang has joined the channel [05:47] joshontheweb has joined the channel [05:47] trailrun33 has joined the channel [05:47] ddf: PING 1331617673 [05:47] ddf: PING 1331617673 [05:47] gid0_: PING 1331617673 [05:47] gid0_: PING 1331617673 [05:47] gabrtv has joined the channel [05:47] gid0_: PING 1331617675 [05:47] ddf: PING 1331617675 [05:47] gid0_: PING 1331617675 [05:47] ddf: PING 1331617675 [05:47] gid0_: PING 1331617676 [05:47] ddf: PING 1331617676 [05:47] gid0_: PING 1331617676 [05:47] ddf: PING 1331617676 [05:47] ddf: PING 1331617677 [05:47] ddf: PING 1331617677 [05:47] ddf: PING 1331617678 [05:47] ddf: PING 1331617678 [05:47] Hebo has joined the channel [05:48] dilvie has joined the channel [05:48] maletor has joined the channel [05:48] redir has joined the channel [05:48] Swizec has joined the channel [05:48] thisandagain has joined the channel [05:48] ddf: PING 1331617680 [05:48] ddf: PING 1331617680 [05:48] descipher has joined the channel [05:48] gf3 has joined the channel [05:48] ddf: PING 1331617681 [05:48] diminoten has joined the channel [05:48] ddf: PING 1331617681 [05:48] methodfree has joined the channel [05:48] Typo has joined the channel [05:48] aabt has joined the channel [05:48] optixx_ has joined the channel [05:48] westg: wtf is going on [05:48] riverraid has joined the channel [05:48] hermanjunge has joined the channel [05:48] hazridi has joined the channel [05:48] ningu has left the channel [05:48] log has joined the channel [05:48] jbpros has joined the channel [05:48] uid0: PING 1331617689 [05:48] yano has joined the channel [05:48] benvie has left the channel [05:48] chrisdickinson has joined the channel [05:48] guybrush has joined the channel [05:48] uid0: PING 1331617692 [05:48] EvRide has joined the channel [05:48] SlexAxton has joined the channel [05:48] uid0: PING 1331617694 [05:48] ddf: PING 1331617694 [05:48] ddf: PING 1331617694 [05:48] fastest963 has joined the channel [05:48] tellnes has joined the channel [05:48] uid0: PING 1331617695 [05:48] ddf: PING 1331617695 [05:48] ddf: PING 1331617695 [05:48] Crowb4r has joined the channel [05:48] uid0: PING 1331617696 [05:48] ddf: PING 1331617696 [05:48] ddf: PING 1331617696 [05:48] uid0: PING 1331617697 [05:48] ddf: PING 1331617697 [05:48] ddf: PING 1331617697 [05:48] cosmincx has joined the channel [05:48] mertimor has joined the channel [05:48] uid0: PING 1331617698 [05:48] ddf: PING 1331617698 [05:48] ddf: PING 1331617698 [05:48] uid0: PING 1331617699 [05:48] ddf: PING 1331617699 [05:48] ddf: PING 1331617699 [05:48] uid0: PING 1331617700 [05:48] ddf: PING 1331617700 [05:48] ddf: PING 1331617700 [05:48] Raynos has joined the channel [05:48] othiym23 has joined the channel [05:48] uid0: PING 1331617701 [05:48] dunder-mifflin: inception! [05:48] ddf: PING 1331617701 [05:48] ddf: PING 1331617701 [05:48] uid0: PING 1331617702 [05:48] ddf: PING 1331617702 [05:48] ddf: PING 1331617702 [05:48] uid0: PING 1331617703 [05:48] naneau has joined the channel [05:48] take_cheeze has joined the channel [05:48] voodootikigod has joined the channel [05:48] uid0: PING 1331617704 [05:48] gid0_: PING 1331617704 [05:48] traph has joined the channel [05:48] uid0: PING 1331617705 [05:48] gid0_: PING 1331617705 [05:48] ozten has joined the channel [05:48] uid0: PING 1331617706 [05:48] gid0_: PING 1331617706 [05:48] gid0_: PING 1331617706 [05:48] uid0: PING 1331617707 [05:48] gid0_: PING 1331617707 [05:48] gid0_: PING 1331617707 [05:48] uid0: PING 1331617708 [05:48] gid0_: PING 1331617708 [05:48] gid0_: PING 1331617708 [05:48] uid0: PING 1331617709 [05:48] gid0_: PING 1331617709 [05:48] gid0_: PING 1331617709 [05:48] illourr has joined the channel [05:48] OmidRaha has joined the channel [05:48] imarcusthis has joined the channel [05:48] uid0: PING 1331617710 [05:48] gid0_: PING 1331617710 [05:48] gid0_: PING 1331617710 [05:48] niftylettuce has joined the channel [05:48] westg: ping with a ping within a ping [05:48] uid0: PING 1331617711 [05:48] gid0_: PING 1331617711 [05:48] gid0_: PING 1331617711 [05:48] uid0: PING 1331617712 [05:48] coderarity has joined the channel [05:48] uid0: PING 1331617713 [05:48] gid0_: PING 1331617713 [05:48] emilsedgh has joined the channel [05:48] gid0_: PING 1331617713 [05:48] uid0: PING 1331617714 [05:48] gid0_: PING 1331617714 [05:48] gid0_: PING 1331617714 [05:48] gid0_: PING 1331617715 [05:48] uid0: PING 1331617715 [05:48] ddf: PING 1331617715 [05:48] gid0_: PING 1331617715 [05:48] ddf: PING 1331617715 [05:48] chunhao_ has joined the channel [05:48] uid0: PING 1331617716 [05:48] ddf: PING 1331617716 [05:48] gid0_: PING 1331617716 [05:48] gid0_: PING 1331617716 [05:48] ddf: PING 1331617716 [05:48] uid0: PING 1331617717 [05:48] gid0_: PING 1331617717 [05:48] ddf: PING 1331617717 [05:48] gid0_: PING 1331617717 [05:48] ddf: PING 1331617717 [05:48] Daegalus: someone is spamming the channel, in order to flood it and get people to Excess Flood dc [05:48] ajpiano_ has joined the channel [05:48] uid0: PING 1331617720 [05:48] gid0_: PING 1331617720 [05:48] ddf: PING 1331617720 [05:48] ddf: PING 1331617720 [05:48] gid0_: PING 1331617720 [05:48] dunder-mifflin: inception flood [05:48] uid0: PING 1331617721 [05:48] gid0_: PING 1331617721 [05:48] ddf: PING 1331617721 [05:48] gid0_: PING 1331617721 [05:48] ddf: PING 1331617721 [05:48] CIA-19 has joined the channel [05:48] guybrush_ has joined the channel [05:48] bentruyman has joined the channel [05:48] codelahoma has joined the channel [05:48] igl has joined the channel [05:48] uid0: PING 1331617724 [05:48] gid0_: PING 1331617724 [05:48] ddf: PING 1331617724 [05:48] gid0_: PING 1331617724 [05:48] ddf: PING 1331617724 [05:48] Typo has joined the channel [05:48] Typo has joined the channel [05:48] smplstk has joined the channel [05:48] uid0: PING 1331617726 [05:48] gid0_: PING 1331617726 [05:48] ddf: PING 1331617726 [05:48] ddf: PING 1331617726 [05:48] dshaw_ has joined the channel [05:48] SlexAxton has joined the channel [05:48] Kester has joined the channel [05:48] uid0: PING 1331617727 [05:48] ddf: PING 1331617727 [05:48] ddf: PING 1331617727 [05:48] uid0: PING 1331617728 [05:48] ddf: PING 1331617728 [05:48] copongcopong has joined the channel [05:48] ddf: PING 1331617728 [05:48] mikeal has joined the channel [05:48] voodootikigod has joined the channel [05:48] chrisdickinson has joined the channel [05:48] bartt has joined the channel [05:48] bengl has joined the channel [05:48] mekwall has joined the channel [05:48] naneau has joined the channel [05:48] _ritch has joined the channel [05:48] westg: flooding the channel with pings? [05:48] gabrtv has joined the channel [05:48] jimbot has joined the channel [05:48] Devilicious has joined the channel [05:48] lmorchard has joined the channel [05:48] EvRide has joined the channel [05:48] cosmincx has joined the channel [05:48] HeikkiV_ has joined the channel [05:48] Bonuspunkt has joined the channel [05:49] fastest963 has joined the channel [05:49] dilvie has joined the channel [05:49] thisandagain has joined the channel [05:49] bartt1 has joined the channel [05:49] zz_shykes has joined the channel [05:49] stelcheck has joined the channel [05:49] nphase has joined the channel [05:49] Daegalus: CTCP Pings [05:49] methodfree has joined the channel [05:49] joshontheweb has joined the channel [05:49] Typo has joined the channel [05:49] Typo has joined the channel [05:49] optixx has joined the channel [05:49] SargoDarya has joined the channel [05:49] sorensen has joined the channel [05:49] elnn_ has joined the channel [05:49] descipher has joined the channel [05:49] JuanCri has joined the channel [05:49] traph has joined the channel [05:49] Daegalus: they just got k-lined [05:49] vikstrous has joined the channel [05:49] hazridi has joined the channel [05:49] arlolra has joined the channel [05:49] jbpros has joined the channel [05:49] illourr has joined the channel [05:49] gavin_huang has joined the channel [05:49] ollie has joined the channel [05:49] Hebo has joined the channel [05:49] maletor has joined the channel [05:49] stutter has joined the channel [05:49] ec_ has joined the channel [05:49] kvey has joined the channel [05:49] coffeecup has joined the channel [05:49] Guest41659 has joined the channel [05:49] OmidRaha has joined the channel [05:49] redir has joined the channel [05:49] Swizec has joined the channel [05:49] trailrun33 has joined the channel [05:49] aabt has joined the channel [05:49] tekky has joined the channel [05:49] tellnes has joined the channel [05:49] dekub has joined the channel [05:49] westg: why doesn't the server ban users that flood with pings? [05:49] jonaslund has joined the channel [05:49] AiSkWaD has joined the channel [05:49] svnlto has joined the channel [05:49] riverraid has joined the channel [05:49] filleokus has joined the channel [05:49] AiSkWaD has left the channel [05:49] Daegalus: westg: it just did [05:49] Daegalus: 3 k-lines just went out [05:49] ryanseddon has joined the channel [05:49] Daegalus: the spam is over [05:49] gf3 has joined the channel [05:49] hermanjunge has joined the channel [05:49] slmr has joined the channel [05:49] westg: sweet [05:49] philips has joined the channel [05:49] Druid_ has joined the channel [05:49] blue-dragon has joined the channel [05:49] Athanasius has joined the channel [05:49] tekky: its called a flood... [05:50] necromancer has joined the channel [05:50] westg: my first experience with a ping flood [05:50] heatxsink has joined the channel [05:50] davidbanham has joined the channel [05:50] tekky: lame idiots used to do this in the early 90's as ameans of rebelling against channels and networks [05:50] diminoten has joined the channel [05:51] TheMoonMaster: That was fun. [05:51] westg: whoever's against node should voice their opinion in a dignified manner [05:51] garann has joined the channel [05:51] dstrausz has joined the channel [05:51] Magiobiwan: Op up and set +l 630 [05:51] Magiobiwan: This OS odd. [05:51] alyx: 630? [05:51] alyx: in a channel with 673 users? [05:51] alyx: that's sure smart. [05:52] pocopina has joined the channel [05:52] sriley has joined the channel [05:52] lollololol has joined the channel [05:52] iaincarsberg has joined the channel [05:52] dekz has joined the channel [05:52] yano has left the channel [05:52] KindOne has joined the channel [05:52] Magiobiwan: alyx: Would have stopped the join flood [05:52] Daegalus: welp, at least the k-line happened comparitively pretty quick [05:52] terite has joined the channel [05:52] Magiobiwan: Yeah. [05:52] alyx: Magiobiwan: and blocked real users. [05:52] tekky: I would suspect the kline was irc-op issued -- not server issued [05:52] tekky: worst case set it to only allowed registered users to send to channel.... [05:52] tekky: but even thats a bit lame to have to do [05:52] jemparing has joined the channel [05:52] Magiobiwan: Yeah. [05:53] dgathright has joined the channel [05:53] Magiobiwan: alyx: Once the klines went out you could have removed ot. [05:53] Daegalus: ya, cause then people looking for help from web-site irc and such would not be able to talk [05:53] mintbridge_ has joined the channel [05:53] KindOne has joined the channel [05:53] Brunoz has joined the channel [05:53] Snowolf has joined the channel [05:53] huggies has joined the channel [05:53] FilipeDias has joined the channel [05:53] raydeo has joined the channel [05:54] relix has joined the channel [05:54] robb1e_ has joined the channel [05:54] Nomon__ has joined the channel [05:54] tekky: Daegalus: they can register too but its a unecessary step to force [05:54] jkarsrud has joined the channel [05:54] majek has joined the channel [05:54] Jaylee_ has joined the channel [05:54] fcoury has joined the channel [05:54] KindOne: alyx, small world :P [05:54] Crowb4r has joined the channel [05:54] jeremyselier has joined the channel [05:54] kermitPT has joined the channel [05:54] _th_n has joined the channel [05:54] Daegalus: tekky: yup, and some might not know how, etc. THere are plenty of new programmers that dont know of IRC [05:54] dunder-mifflin: any http://github.com/dscape/nano user around? [05:54] dr0id has joined the channel [05:54] simenbrekken has joined the channel [05:54] nym has joined the channel [05:55] Qalqi has joined the channel [05:55] strmpnk has joined the channel [05:55] oal has joined the channel [05:55] beawesomeinstead has joined the channel [05:55] Fabryz has joined the channel [05:55] BruNeX has joined the channel [05:56] wycats has joined the channel [05:56] magn3ts has joined the channel [05:56] niftylettuce has joined the channel [05:56] ziyadb has joined the channel [05:56] tedsuo has joined the channel [05:56] dleary has joined the channel [05:56] tiglionabbit has joined the channel [05:56] remysharp has joined the channel [05:56] Magiobiwan: Set a ban on that? [05:57] im0b has joined the channel [05:57] Guest12041 has joined the channel [05:57] KindOne: it looks like staff fixed it [05:57] gry has joined the channel [05:57] alyx: KindOne: indeed :P [05:57] duncanbeevers has joined the channel [05:58] blissdev has joined the channel [05:58] owenb has joined the channel [05:58] Hosh has joined the channel [05:58] dscape has joined the channel [05:58] MrTopf has joined the channel [05:58] Magiobiwan: Sigh. [05:59] ningu has joined the channel [05:59] EvilPacket has joined the channel [05:59] ningu: is it over yet? :P [05:59] JasonSmith has joined the channel [05:59] _ralph has joined the channel [05:59] mrb_bk has joined the channel [05:59] cmwelsh has joined the channel [06:00] mattgifford has joined the channel [06:00] Daegalus: its over [06:00] Daegalus: the spammers got klined [06:00] advatar has joined the channel [06:01] SamuraiJack has joined the channel [06:01] localhost has joined the channel [06:02] lmatteis has joined the channel [06:02] brainss has joined the channel [06:02] wavded has joined the channel [06:02] RexM has joined the channel [06:02] aoberoi has joined the channel [06:02] BrianE has joined the channel [06:02] daleharvey has joined the channel [06:02] sveisvei has joined the channel [06:03] merlin83 has joined the channel [06:03] aoberoi has left the channel [06:05] yano has joined the channel [06:06] MrTopf has joined the channel [06:06] Allyz has joined the channel [06:07] Morkel has joined the channel [06:09] caffine has joined the channel [06:09] garrensm_ has joined the channel [06:10] conancat has joined the channel [06:10] ditesh|cassini has joined the channel [06:11] alm0nd has joined the channel [06:12] neoesque has joined the channel [06:14] uniqueuser has joined the channel [06:15] jdeibele has joined the channel [06:15] poweruser has joined the channel [06:15] seeminglyuser has joined the channel [06:15] uniqueuser: PING 1331619345 [06:15] uniqueuser: PING 1331619345 [06:15] uniqueuser: PING 1331619346 [06:15] uniqueuser: PING 1331619346 [06:15] poweruser: PING 1331619346 [06:15] poweruser: PING 1331619346 [06:15] uniqueuser: PING 1331619347 [06:15] uniqueuser: PING 1331619347 [06:15] poweruser: PING 1331619347 [06:15] poweruser: PING 1331619347 [06:15] seeminglyuser: PING 1331619348 [06:15] uniqueuser: PING 1331619349 [06:15] poweruser: PING 1331619349 [06:15] seeminglyuser: PING 1331619349 [06:15] poweruser: PING 1331619349 [06:15] seeminglyuser: PING 1331619349 [06:15] uniqueuser: PING 1331619349 [06:15] uniqueuser: PING 1331619350 [06:15] poweruser: PING 1331619350 [06:15] poweruser: PING 1331619350 [06:15] seeminglyuser: PING 1331619350 [06:15] seeminglyuser: PING 1331619350 [06:15] uniqueuser: PING 1331619350 [06:15] uniqueuser: PING 1331619351 [06:15] poweruser: PING 1331619351 [06:15] seeminglyuser: PING 1331619351 [06:15] poweruser: PING 1331619351 [06:15] seeminglyuser: PING 1331619351 [06:15] uniqueuser: PING 1331619351 [06:15] uniqueuser: PING 1331619352 [06:15] poweruser: PING 1331619352 [06:15] seeminglyuser: PING 1331619352 [06:15] seeminglyuser: PING 1331619352 [06:15] poweruser: PING 1331619352 [06:15] uniqueuser: PING 1331619352 [06:15] uniqueuser: PING 1331619353 [06:15] poweruser: PING 1331619353 [06:15] seeminglyuser: PING 1331619353 [06:15] poweruser: PING 1331619353 [06:15] seeminglyuser: PING 1331619353 [06:15] uniqueuser: PING 1331619353 [06:15] uniqueuser: PING 1331619357 [06:15] uniqueuser: PING 1331619357 [06:15] seeminglyuser: PING 1331619357 [06:15] poweruser: PING 1331619357 [06:15] poweruser: PING 1331619357 [06:15] seeminglyuser: PING 1331619357 [06:15] uniqueuser: PING 1331619358 [06:15] uniqueuser: PING 1331619358 [06:15] poweruser: PING 1331619358 [06:15] poweruser: PING 1331619358 [06:15] seeminglyuser: PING 1331619358 [06:15] seeminglyuser: PING 1331619358 [06:15] Crowb4r has joined the channel [06:16] fcoury has joined the channel [06:16] tekky has left the channel [06:16] RexM has joined the channel [06:16] emilsedgh has joined the channel [06:16] methodfree has joined the channel [06:16] copongcopong has joined the channel [06:16] SargoDarya has joined the channel [06:16] bartt has joined the channel [06:16] uniqueuser: PING 1331619366 [06:16] poweruser: PING 1331619366 [06:16] uniqueuser: PING 1331619366 [06:16] poweruser: PING 1331619366 [06:16] seeminglyuser: PING 1331619366 [06:16] seeminglyuser: PING 1331619366 [06:16] hermanjunge has joined the channel [06:16] jdeibele has joined the channel [06:16] uniqueuser: PING 1331619367 [06:16] uniqueuser: PING 1331619367 [06:16] poweruser: PING 1331619367 [06:16] seeminglyuser: PING 1331619367 [06:16] poweruser: PING 1331619367 [06:16] seeminglyuser: PING 1331619367 [06:16] uniqueuser: PING 1331619368 [06:16] seeminglyuser: PING 1331619368 [06:16] uniqueuser: PING 1331619368 [06:16] poweruser: PING 1331619368 [06:16] poweruser: PING 1331619368 [06:16] seeminglyuser: PING 1331619368 [06:16] jbpros has joined the channel [06:16] ollie has joined the channel [06:16] uniqueuser: PING 1331619369 [06:16] uniqueuser: PING 1331619369 [06:16] poweruser: PING 1331619369 [06:16] seeminglyuser: PING 1331619369 [06:16] poweruser: PING 1331619369 [06:16] seeminglyuser: PING 1331619369 [06:16] uniqueuser: PING 1331619370 [06:16] jimbot has joined the channel [06:16] uniqueuser: PING 1331619370 [06:16] poweruser: PING 1331619370 [06:16] duncanbeevers has joined the channel [06:16] poweruser: PING 1331619370 [06:16] seeminglyuser: PING 1331619370 [06:16] seeminglyuser: PING 1331619370 [06:16] chrisdickinson has joined the channel [06:16] JuanCri has joined the channel [06:16] guybrush has joined the channel [06:16] coffeecup has joined the channel [06:16] uniqueuser: PING 1331619371 [06:16] uniqueuser: PING 1331619371 [06:16] poweruser: PING 1331619371 [06:16] poweruser: PING 1331619371 [06:16] seeminglyuser: PING 1331619371 [06:16] seeminglyuser: PING 1331619371 [06:16] bengl has joined the channel [06:16] bentruyman has joined the channel [06:16] uniqueuser: PING 1331619372 [06:16] uniqueuser: PING 1331619372 [06:16] poweruser: PING 1331619372 [06:16] seeminglyuser: PING 1331619372 [06:16] poweruser: PING 1331619372 [06:16] seeminglyuser: PING 1331619372 [06:16] uniqueuser: PING 1331619373 [06:16] uniqueuser: PING 1331619373 [06:16] poweruser: PING 1331619373 [06:16] poweruser: PING 1331619373 [06:16] seeminglyuser: PING 1331619373 [06:16] uniqueuser: PING 1331619374 [06:16] uniqueuser: PING 1331619374 [06:16] poweruser: PING 1331619374 [06:16] poweruser: PING 1331619374 [06:16] seeminglyuser: PING 1331619374 [06:16] seeminglyuser: PING 1331619374 [06:16] Typo has joined the channel [06:16] Typo has joined the channel [06:16] tellnes has joined the channel [06:16] uniqueuser: PING 1331619375 [06:16] uniqueuser: PING 1331619375 [06:16] poweruser: PING 1331619375 [06:16] seeminglyuser: PING 1331619375 [06:16] poweruser: PING 1331619375 [06:16] seeminglyuser: PING 1331619375 [06:16] Devilicious has joined the channel [06:16] seeminglyuser: PING 1331619376 [06:16] tiglionabbit has joined the channel [06:16] _ritch has joined the channel [06:16] mertimor has joined the channel [06:16] stelcheck has joined the channel [06:16] traph has joined the channel [06:16] blue-dragon has joined the channel [06:16] jdeibele has joined the channel [06:16] voodootikigod has joined the channel [06:16] dshaw_ has joined the channel [06:16] cosmincx has joined the channel [06:16] mekwall has joined the channel [06:16] jonaslund has joined the channel [06:16] copongcopong has joined the channel [06:16] joshontheweb has joined the channel [06:16] Hebo has joined the channel [06:16] optixx has joined the channel [06:16] kvey has joined the channel [06:16] gavin_huang has joined the channel [06:16] OmidRaha has joined the channel [06:16] fastest963 has joined the channel [06:16] 14WAAH78X has joined the channel [06:16] descipher has joined the channel [06:16] vikstrous has joined the channel [06:16] 45PAAEHCI has joined the channel [06:16] trailrun33 has joined the channel [06:16] uniqueuser: PING 1331619387 [06:16] uniqueuser: PING 1331619387 [06:16] poweruser: PING 1331619387 [06:16] poweruser: PING 1331619387 [06:16] seeminglyuser: PING 1331619387 [06:16] Guest41659 has joined the channel [06:16] seeminglyuser: PING 1331619387 [06:16] uniqueuser: PING 1331619389 [06:16] poweruser: PING 1331619389 [06:16] seeminglyuser: PING 1331619389 [06:16] seeminglyuser: PING 1331619389 [06:16] Bonuspunkt has joined the channel [06:16] maletor has joined the channel [06:16] aabt has joined the channel [06:16] redir has joined the channel [06:16] jimbot has joined the channel [06:16] poweruser: PING 1331619389 [06:16] uniqueuser: PING 1331619389 [06:16] thisandagain has joined the channel [06:16] uniqueuser: PING 1331619390 [06:16] poweruser: PING 1331619390 [06:16] seeminglyuser: PING 1331619390 [06:16] imarcusthis has joined the channel [06:16] poweruser: PING 1331619390 [06:16] seeminglyuser: PING 1331619390 [06:16] diminoten has joined the channel [06:16] Typo has joined the channel [06:16] Swizec has joined the channel [06:16] Typo has joined the channel [06:16] emilsedgh has joined the channel [06:16] caffine has joined the channel [06:16] sorensen has joined the channel [06:16] riverraid has joined the channel [06:16] arlolra has joined the channel [06:16] hazridi has joined the channel [06:16] SargoDarya has joined the channel [06:16] ollie has joined the channel [06:16] stutter has joined the channel [06:16] styol has joined the channel [06:16] illourr has joined the channel [06:16] codelahoma has joined the channel [06:16] smplstk has joined the channel [06:16] Raynos has joined the channel [06:16] naneau has joined the channel [06:16] CIA-19 has joined the channel [06:16] shykes has joined the channel [06:16] lmorchard has joined the channel [06:17] EvRide has joined the channel [06:17] heatxsink has joined the channel [06:17] methodfree has joined the channel [06:17] dekub has joined the channel [06:17] hermanjunge has joined the channel [06:17] jbpros has joined the channel [06:17] garann has joined the channel [06:17] philips has joined the channel [06:17] Kester has joined the channel [06:17] raydeo has joined the channel [06:17] beawesomeinstead has joined the channel [06:17] jemparing has joined the channel [06:17] igl has joined the channel [06:17] gf3 has joined the channel [06:17] jkarsrud has joined the channel [06:17] ozten has joined the channel [06:17] Druid_ has joined the channel [06:18] coderarity has joined the channel [06:18] chunhao_ has joined the channel [06:18] Skipants has joined the channel [06:18] tk has joined the channel [06:18] mikeric has joined the channel [06:18] ajpiano has joined the channel [06:19] SlexAxton has joined the channel [06:19] Skipants has left the channel [06:19] HeikkiV_ has joined the channel [06:19] sriley has joined the channel [06:19] necromancer has joined the channel [06:20] pocopina has joined the channel [06:20] dstrausz has joined the channel [06:20] dekz has joined the channel [06:20] terite has joined the channel [06:20] iaincarsberg has joined the channel [06:20] ec_ has joined the channel [06:20] chapel: new spammers [06:20] chapel: yay [06:20] Corey: Doesn't seem so. [06:21] tk: not new, just new toys for the same psammers [06:21] tk has left the channel [06:21] MCBFirestar has joined the channel [06:22] MCBFirestar: wow, big channel [06:22] gry: Welcome. [06:23] ryanseddon has joined the channel [06:23] svnlto has joined the channel [06:23] conancat has joined the channel [06:24] simenbrekken has joined the channel [06:24] mintbridge_ has joined the channel [06:24] Brunoz has joined the channel [06:24] fcoury has joined the channel [06:24] Jaylee_ has joined the channel [06:24] Nomon__ has joined the channel [06:25] majek has joined the channel [06:25] FilipeDias has joined the channel [06:25] kermitPT has joined the channel [06:25] robb1e_ has joined the channel [06:25] _th_n has joined the channel [06:25] relix has joined the channel [06:25] RexM has joined the channel [06:25] BruNeX has joined the channel [06:25] wavded has joined the channel [06:25] oal has joined the channel [06:26] strmpnk has joined the channel [06:26] lmatteis has joined the channel [06:26] Fabryz has joined the channel [06:26] sveisvei has joined the channel [06:26] nym has joined the channel [06:26] daleharvey has joined the channel [06:26] BrianE has joined the channel [06:26] niftylettuce has joined the channel [06:26] dleary has joined the channel [06:27] wycats has joined the channel [06:27] remysharp has joined the channel [06:27] ziyadb has joined the channel [06:27] magn3ts has joined the channel [06:27] sx2020 has joined the channel [06:27] im0b has joined the channel [06:28] Guest12041 has joined the channel [06:28] pp01bit has joined the channel [06:28] dscape has joined the channel [06:28] jkridner_ has joined the channel [06:28] blissdev has joined the channel [06:29] owenb has joined the channel [06:29] Hosh has joined the channel [06:29] Bonuspunkt: cant the server limit the ctcp stuff like the usual flood protection? [06:29] bvmount has joined the channel [06:29] yano: in large channels it is best to have +C to prevent mass CTCP spam [06:29] mrb_bk has joined the channel [06:30] _ralph has joined the channel [06:30] cmwelsh has joined the channel [06:30] JasonSmith has joined the channel [06:30] sx2020: Hi guys. I am creating my first intensive real-time app, which is a dashboard display of ~100 fields of updating strings. Can anyone recommend a good data-binding library to use with express.js? [06:31] sx2020: to bind the data to the client-view [06:31] merlin83 has joined the channel [06:31] chapel: sx2020: umm, knockoutjs, batmanjs (I think), ember do data binding [06:31] EvilPacket: sx2020: I have used knockout.js and been reasonably happy with it for a few things [06:33] natahn has joined the channel [06:34] sx2020: thanks I was looking at knockout. Here is my example case. Imagine 100 users are logged into the site and can click on a play button to play mp3s. While an mp3 is playing, I would like to increment a play time counter and have it update in real-time on all users' displays. [06:34] jol02 has joined the channel [06:34] kmiyashiro has joined the channel [06:34] matt_c has joined the channel [06:34] taurenx has joined the channel [06:34] Wizek has joined the channel [06:34] take_cheeze1 has joined the channel [06:34] MrTopf_ has joined the channel [06:34] sx2020: so if 50 people are listening to the same mp3.. that mp3's play time counter would be increasing by 50seconds per second. Is this type of volume achievable with knockout? [06:34] jdeibele1 has joined the channel [06:34] OtherJakeSays_ has joined the channel [06:34] Crowb4r has joined the channel [06:34] jgaui has joined the channel [06:34] Jaylee_ has joined the channel [06:35] jeremyselier has joined the channel [06:35] meso_ has joined the channel [06:36] onar_ has joined the channel [06:36] garrensmith has joined the channel [06:36] maletor has joined the channel [06:36] dnz-_ has joined the channel [06:36] markq has joined the channel [06:36] tornad has joined the channel [06:36] NuLLedge has joined the channel [06:37] gnuanu has joined the channel [06:37] saidinesh has joined the channel [06:37] take_cheeze has joined the channel [06:37] mxbtty has joined the channel [06:37] fielding has joined the channel [06:37] r04r has joined the channel [06:37] ajpiano has joined the channel [06:37] r04r has joined the channel [06:37] Allyz has joined the channel [06:37] ChuckieChan has joined the channel [06:38] tomb has joined the channel [06:38] zedas has joined the channel [06:38] sx2020: I think my question got swallowed by the mass exodus. So here is my simplified use case: [06:38] sx2020: Imagine 100 users are logged into the site and can click on a play button to play mp3s. While an mp3 is playing, I would like to increment a play time counter and have it update in real-time on all users' displays. so if 50 people are listening to the same mp3.. that mp3's play time counter would be increasing by 50seconds per second. Is this type of volume achievable with knockout? [06:38] Epeli has joined the channel [06:38] slickplaid has joined the channel [06:39] AdamGoodrich has joined the channel [06:39] Hourd has joined the channel [06:39] wycats has joined the channel [06:39] hipsterslapfight has joined the channel [06:39] magn3ts has joined the channel [06:39] Connorhd_ has joined the channel [06:39] pyykkis has joined the channel [06:39] rummik has joined the channel [06:39] cynicaljoy has joined the channel [06:39] apejens has joined the channel [06:39] tomilaine has joined the channel [06:39] jcap has joined the channel [06:39] matti has joined the channel [06:39] whee has joined the channel [06:39] mape has joined the channel [06:39] mikegerwitz has joined the channel [06:39] mikegerwitz has joined the channel [06:39] einaros has joined the channel [06:39] thedjinn has joined the channel [06:39] Mortchek has joined the channel [06:39] przemoc has joined the channel [06:39] wamberg has joined the channel [06:39] sx2020: wat [06:39] joshontheweb has joined the channel [06:39] xSmurf has joined the channel [06:39] waltz has joined the channel [06:40] radiodario has joined the channel [06:40] Daegalus: i think someone might be PING spamming other channels people are in [06:40] jdparker has joined the channel [06:40] toothr has joined the channel [06:41] gavin_huang has joined the channel [06:42] mraleph has joined the channel [06:42] FACEFOX has joined the channel [06:42] colinwd has joined the channel [06:42] janne has joined the channel [06:42] khrome has joined the channel [06:42] Octayn has joined the channel [06:43] cjm has joined the channel [06:43] devdazed has joined the channel [06:43] take_cheeze has joined the channel [06:43] dreen has joined the channel [06:44] majek has joined the channel [06:44] jxie has joined the channel [06:45] hjst has joined the channel [06:45] Jaylee_ has joined the channel [06:45] take_cheeze has joined the channel [06:45] jeremyselier has joined the channel [06:46] andrew12 has joined the channel [06:47] kurtzhong has joined the channel [06:47] gabriel has joined the channel [06:47] _baton_ has joined the channel [06:48] yawNO has joined the channel [06:49] yuwang has joined the channel [06:49] rjack has joined the channel [06:49] shanem has joined the channel [06:49] cainus has joined the channel [06:50] AvianFlu has joined the channel [06:50] owen1 has joined the channel [06:50] brainproxy has joined the channel [06:50] MerlinDMC has joined the channel [06:50] Micius has joined the channel [06:50] PPaul has joined the channel [06:51] Provito has joined the channel [06:51] sx2020: Can knockout handle this scenario: Imagine 100 users are logged into the site and can click on a play button to play mp3s. While an mp3 is playing, I would like to increment a play time counter and have it update in real-time on all users' displays. so if 50 people are listening to the same mp3.. that mp3's play time counter would be increasing by 50seconds per second. Is this type of volume achievable with knockout? [06:51] aabt has joined the channel [06:51] meder has joined the channel [06:51] wycats has joined the channel [06:51] gaYak has joined the channel [06:51] magn3ts has joined the channel [06:52] Wizek_ has joined the channel [06:52] garrensm_ has joined the channel [06:52] ben_alman has joined the channel [06:52] inimino has joined the channel [06:52] machine1 has joined the channel [06:53] msteinert has joined the channel [06:53] meso has joined the channel [06:54] waltz has joined the channel [06:55] take_cheeze has joined the channel [06:56] optixx has joined the channel [06:56] mattikus has joined the channel [06:56] sx2020: anyone? [06:56] majek has joined the channel [06:57] lohkey has joined the channel [06:57] take_cheeze has joined the channel [06:57] sx2020: anyone? [06:58] waltz: sx2020: didja ask a question earlier? [06:58] sx2020: heh yeah here it is: [06:58] sx2020: Can knockout handle this scenario: Imagine 100 users are logged into the site and can click on a play button to play mp3s. While an mp3 is playing, I would like to increment a play time counter and have it update in real-time on all users' displays. so if 50 people are listening to the same mp3.. that mp3's play time counter would be increasing by 50seconds per second. Is this type of volume achievable with knockout? [06:58] jeremyselier has joined the channel [06:59] HacDan has joined the channel [06:59] yaymukund: is there some way to specify an path when using `npm uninstall`? [06:59] yaymukund: *a path [07:00] niftylettuce has joined the channel [07:00] waltz: sx2020: probably? i don't have much experience with knockout, but i'd say give it a shot and find out. [07:00] FACEFOX has joined the channel [07:00] yaymukund: I installed a package -g using npm and then installed nvm. `npm uninstall` looks under my nvm folder but the package is installed in /usr/local/lib/ [07:00] Raverix has joined the channel [07:00] sx2020: waltz: yea I will probably do that.. just didn't want to waste too much time down the wrong path [07:01] Daegalus: woo, i think the Ping spammers were finally cleaned up [07:02] mikeal has joined the channel [07:03] bshumate has joined the channel [07:03] bshumate has joined the channel [07:03] jimmyy111 has joined the channel [07:03] not_zpao has joined the channel [07:03] forzan has joined the channel [07:04] Raynos has joined the channel [07:05] wycats has joined the channel [07:05] magn3ts has joined the channel [07:06] alindeman has joined the channel [07:07] _th_n has joined the channel [07:07] disappearedng has joined the channel [07:09] stalled has joined the channel [07:10] Jaylee_ has joined the channel [07:12] polyrhythmic has joined the channel [07:12] jimmyy111 has joined the channel [07:12] graeme_f has joined the channel [07:13] JuanCri has joined the channel [07:13] tiglionabbit has joined the channel [07:14] JuanCri has joined the channel [07:14] yaymukund: ok, did it the long way. disable nvm, install node, install npm, uninstall npm packages, uninstall npm, uninstall node, enable nvm. probably for the best anyway [07:15] redir has joined the channel [07:16] ccare has joined the channel [07:17] tk has joined the channel [07:17] tlrobinson_ has joined the channel [07:17] tk: woops, forgot to rejoin after all the floods earleir [07:18] _th_n has joined the channel [07:18] Daegalus: tk: they are still going on, just in different channels [07:18] tk: Daegalus: i dont see how that is relevant then ;) [07:18] gr4yscal_ has joined the channel [07:19] Daegalus: tk: there are still excess flood, floods in here because of it [07:19] owen1: i use node-jslint with vim but i don't see the line number of the error. any advice for lint + vim? [07:20] owen1: i see something like: (1 of 8): #1 Unexpected '(space)'. [07:20] crcn has joined the channel [07:20] webben has joined the channel [07:22] yano: Daegalus: what other channels is it still happening in? [07:22] Daegalus: yano: well 20 mins after this one, #chromium was hit, then #ubuntu, last one I saw was I think in #videolan [07:23] Daegalus: not sure if there are any more [07:23] Daegalus: lots of k-lines went out [07:24] akasha has joined the channel [07:25] innociv has joined the channel [07:25] tiglionabbit has joined the channel [07:25] k1ttty_ has joined the channel [07:27] wereHamster: how do I log into npmjs? is there no npm login command? [07:27] wereHamster: the following comment from howtonode.org/introduction-to-npm is not true: You can also use adduser to authorize a user account on a new machine, or fix the situation if you break your configs. [07:28] wereHamster: if I try npm adduser it fails with a '\Document update conflict' [07:29] sorensen__ has joined the channel [07:31] erikzaadi has joined the channel [07:32] descipher has joined the channel [07:34] gry has left the channel [07:34] spolu has joined the channel [07:35] hotsnoj has joined the channel [07:35] westg has joined the channel [07:36] arturadi_ has joined the channel [07:36] joshfinnie has joined the channel [07:36] pid1 has joined the channel [07:36] Swaagie has joined the channel [07:37] _yoy_ has joined the channel [07:37] FACEFOX has joined the channel [07:37] dlg has joined the channel [07:37] Ned_ has joined the channel [07:38] PANCAKESo has joined the channel [07:38] else- has joined the channel [07:38] booo has joined the channel [07:38] vikstrous has joined the channel [07:39] styol has joined the channel [07:39] methodfree has joined the channel [07:41] tornad has joined the channel [07:41] rurufufuss has joined the channel [07:42] FACEFOX has joined the channel [07:43] stonebranch has joined the channel [07:43] criswell has joined the channel [07:45] madhums has joined the channel [07:46] hipsters_ has joined the channel [07:47] jxie_ has joined the channel [07:49] yawNO has joined the channel [07:49] yaymukund: after [07:50] scrogson has joined the channel [07:51] scrogson: what usually causes an npm package to fail on make? [07:51] scrogson: `sh "-c" "make"` failed with 2 [07:51] k1ttty has joined the channel [07:52] MerlinDMC: scrogson, missing dependencies? [07:52] arduix has joined the channel [07:52] scrogson: not sure…I'm supposed to be able to run `npm install midi` [07:53] scrogson: it fails everytime [07:53] k1ttty_ has joined the channel [07:53] arturadib has joined the channel [07:54] scrogson: I'm running node 0.6.12 with npm 1.1.6 [07:54] ccare has joined the channel [07:54] Paul__ has joined the channel [07:54] MerlinDMC: it's compiling fine here [07:55] scrogson: hmm…interesting [07:55] scrogson: I'm going to reboot and try again [07:55] groom has joined the channel [07:57] KindOne has joined the channel [07:57] merlin83 has joined the channel [07:58] KindOne has left the channel [08:01] copongcopong1 has joined the channel [08:01] herbySk has joined the channel [08:01] ChuckieChan has joined the channel [08:02] rlidwka has joined the channel [08:02] aliem has joined the channel [08:03] yano has left the channel [08:03] machine1 has joined the channel [08:03] FACEFOX has joined the channel [08:05] AD7six has joined the channel [08:06] fangel has joined the channel [08:07] michaelhartau has joined the channel [08:10] M1l3n1um has joined the channel [08:11] ajcates has joined the channel [08:14] umren has joined the channel [08:15] vguerra has joined the channel [08:16] sreeix has joined the channel [08:18] [AD]Turbo has joined the channel [08:18] copongcopong has joined the channel [08:20] hkjels has joined the channel [08:25] xuefengJia has joined the channel [08:25] hkjels: Is there a way in mongoose to make fields not defined in my model to be ignored? [08:25] fastest963_ has joined the channel [08:25] xuefengJia1 has joined the channel [08:26] dr0id has joined the channel [08:26] [AD]Turbo: hi there [08:27] spolu has joined the channel [08:27] joshgillies has joined the channel [08:27] arduix has joined the channel [08:28] machine1 has joined the channel [08:30] krnl has joined the channel [08:30] djcoin has joined the channel [08:31] robhawkes has joined the channel [08:31] rio{ has joined the channel [08:32] thalll has joined the channel [08:33] stagas has joined the channel [08:33] rook2pawn: in ejs does one lose scope in anyway between <% %> i.e. <% Object.keys(x).forEach(function(key) { %> some html <%=x.key %> [08:33] shapeshed has joined the channel [08:34] madhums has joined the channel [08:34] rook2pawn: i.e. http://pastie.org/pastes/3583866 [08:34] k1ttty has joined the channel [08:34] stagas: rook2pawn: I think you mean <%=x[key] %> [08:35] rook2pawn: stagas: gah :D [08:36] rendar has joined the channel [08:37] kokotron has joined the channel [08:37] whitman has joined the channel [08:38] sigurding has joined the channel [08:38] sigurding: hey, can anyone tell me how to activate chunked uploads with formidable? [08:40] Karmaon has joined the channel [08:40] akuiraz has joined the channel [08:40] mephux has joined the channel [08:40] dteichman__ has joined the channel [08:43] Wa has joined the channel [08:43] dteichman__: benvie, do you know where that library is for calling shared libraries from node? [08:44] arduix has joined the channel [08:44] rodrigo has joined the channel [08:48] wingie has joined the channel [08:49] cyclicflux has joined the channel [08:52] salva has joined the channel [08:54] OmidRaha has joined the channel [08:54] felixhummel has joined the channel [08:55] alm0nd has joined the channel [08:57] mikedeboer has joined the channel [08:57] dshaw_ has joined the channel [08:59] uchuff has joined the channel [08:59] MCBFirestar has joined the channel [08:59] ph^ has joined the channel [09:01] dannyamey has joined the channel [09:01] MCBFirestar_ has joined the channel [09:02] MCBFirestar_: MCBFirestar [09:02] MCBFirestar_: woops [09:02] MCBFirestar_: sry [09:02] dteichman__ has left the channel [09:02] FIQ has joined the channel [09:02] theBrettman has joined the channel [09:03] markwubben has joined the channel [09:04] hipsters_ has joined the channel [09:04] graeme_f has joined the channel [09:04] machine1 has joined the channel [09:06] bergie__ has joined the channel [09:09] take_cheeze has joined the channel [09:09] raphaelT_ has joined the channel [09:11] adambeynon has joined the channel [09:11] jimt has joined the channel [09:12] hellp has joined the channel [09:12] sandfox has joined the channel [09:13] __doc__ has joined the channel [09:14] jomoho has joined the channel [09:16] hemanth has joined the channel [09:17] vesln has joined the channel [09:17] `3rdEden has joined the channel [09:18] robi42 has joined the channel [09:18] FACEFOX has joined the channel [09:19] mansoor has joined the channel [09:19] booyaa: ejs? [09:19] Mulex has joined the channel [09:19] rlidwka_ has joined the channel [09:19] josh-k has joined the channel [09:19] booo has joined the channel [09:20] capelio has joined the channel [09:20] maritz has joined the channel [09:21] robi42_ has joined the channel [09:22] Hanspolo has joined the channel [09:24] copongcopong has joined the channel [09:24] rlidwka has joined the channel [09:26] Vainoharhainen has joined the channel [09:27] emattias has joined the channel [09:29] yawNO has joined the channel [09:31] TomY has joined the channel [09:32] elnn has joined the channel [09:32] Wizek has joined the channel [09:37] disappea_ has joined the channel [09:37] n26 has joined the channel [09:38] Vespakoen has joined the channel [09:38] TurboAWAY has joined the channel [09:38] Vespakoen has joined the channel [09:38] levi501d has joined the channel [09:38] innociv_ has joined the channel [09:39] robi42 has joined the channel [09:39] mikeal has joined the channel [09:40] a_suenam_ has joined the channel [09:40] jolo2_xChat has joined the channel [09:41] toxico has joined the channel [09:42] __doc__ has joined the channel [09:42] misza222 has joined the channel [09:43] ChuckieChan has joined the channel [09:43] josh-k has joined the channel [09:44] keks has joined the channel [09:45] zedas_ has joined the channel [09:46] ghoti has joined the channel [09:46] fermion has joined the channel [09:47] rendar has joined the channel [09:47] NodeJS-News has joined the channel [09:47] tomnewmann has joined the channel [09:48] NodeJS-News: Hi all [09:48] mansoor: hello [09:50] madhums has joined the channel [09:52] limgad has joined the channel [09:54] whaley has joined the channel [09:54] mc has joined the channel [09:55] wadey|away has joined the channel [09:55] stalled has joined the channel [09:55] groom has joined the channel [09:55] DuoSRX has joined the channel [09:55] rlidwka has joined the channel [09:55] hotsnoj has joined the channel [09:55] gabriel has joined the channel [09:55] Connorhd_ has joined the channel [09:55] gnuanu has joined the channel [09:55] owenb has joined the channel [09:55] blissdev has joined the channel [09:55] dscape has joined the channel [09:55] aron_ has joined the channel [09:55] svnlto has joined the channel [09:55] ryanseddon has joined the channel [09:55] Hebo has joined the channel [09:55] iangreenleaf has joined the channel [09:55] RocketJSquirrel has joined the channel [09:55] loffe has joined the channel [09:55] dnyy has joined the channel [09:55] AAA_awright has joined the channel [09:55] fred_____ has joined the channel [09:55] Chel has joined the channel [09:55] nuclearsandwich has joined the channel [09:55] zentooo has joined the channel [09:55] zinkem has joined the channel [09:55] cce has joined the channel [09:55] _mdp has joined the channel [09:55] upb has joined the channel [09:55] C0deMaver1ck has joined the channel [09:55] ryah has joined the channel [09:55] Andeye has joined the channel [09:55] drey has joined the channel [09:55] nikolark has joined the channel [09:55] creationix has joined the channel [09:55] eldios has joined the channel [09:55] FACEFOX has joined the channel [09:57] joshwines has joined the channel [09:57] tvw has joined the channel [09:59] booyaa: procstreams and shelljs need to mate [09:59] pgte has joined the channel [09:59] DrPheltRight has joined the channel [10:01] theBrettman has joined the channel [10:01] sammmy has joined the channel [10:02] FACEFOX has joined the channel [10:03] FIQ has joined the channel [10:03] HardFu has joined the channel [10:04] gorillatron has joined the channel [10:04] FACEFOX has joined the channel [10:04] TheFuzzb_ has joined the channel [10:07] ppcano has joined the channel [10:07] markwubben has joined the channel [10:09] pgte has joined the channel [10:11] kurtzhong has joined the channel [10:16] Morkel has joined the channel [10:17] joshgillies has joined the channel [10:17] stagas has joined the channel [10:18] maletor has joined the channel [10:18] markwubben has joined the channel [10:21] mraxilus_ has joined the channel [10:22] akasha: is it possible to restart a node process without having to restart node-inspector? [10:25] madhums has joined the channel [10:26] argami has joined the channel [10:27] Layke2 has joined the channel [10:27] jimmysparkle has joined the channel [10:28] Layke2: I'm trying to run a specific branch of less. If I run npm install less, I can then run my compile script. However, if I git clone -b then I get Error: require.paths is removed. Use node_modules folders, or the NODE_PATH environment variable instead. [10:28] broofa has joined the channel [10:28] Layke2: I'm sure that that message is extremely clear, but I don't know what it's asking me. [10:31] hkjels: Is there a way to read the layout of a model in mongoose? [10:31] hkjels: I'd like to populate a form using a model [10:31] pickels has joined the channel [10:32] [jasper] has joined the channel [10:32] [jasper]: hej guys, I'm having an issue installing socket.io for node.js [10:33] [jasper]: when I do npm install socket.io it complains it can't find the node path [10:33] [jasper]: Checking for node path : not found [10:33] [jasper]: how should I solve this? [10:34] Doikor: export NODE_PATH="/path/to/node/lib" ? [10:35] [jasper]: hmm weird [10:35] [jasper]: which dir would that normally be Doikor ? [10:35] Layke2: echo $NODE_PATH see if it's already set. [10:35] framlin: Layke2: this message wanst to tell you, that in at least one of your sorce-files is require.path used. That is not allowed since node 0.6 [10:36] framlin: *wants to [10:36] Layke2: /usr/local/lib/node possible @ [jasper] [10:36] robm has joined the channel [10:36] Layke2: node -v says. it's v0.5.5-pre [10:36] Layke2: @ framlin [10:36] [[zzz]] has joined the channel [10:36] uchuff has joined the channel [10:37] framlin: I think its prohibited after 0.4 (I only care about stable-versions) ;) [10:38] framlin: So I think it could be usefull to update all modules you are using [10:38] framlin: and to update node to 0.6.12 [10:38] [jasper]: jasper:/usr/local/lib/node# ls [10:38] [jasper]: wafadmin [10:39] [jasper]: is tht correct ? [10:39] [jasper]: I'm running node v0.6.12 ... that's stble right? [10:39] framlin: yep [10:39] framlin: the first question I do not know [10:40] framlin: afk [10:40] Swizec_ has joined the channel [10:40] gorillatron has joined the channel [10:40] jetienne has joined the channel [10:42] theCole has joined the channel [10:46] achiu has joined the channel [10:50] dekub has left the channel [10:57] Joeysomo has joined the channel [10:57] stagas has joined the channel [10:59] [jasper]: nyone here that cn help me setup socket.io [10:59] [jasper]: to work with node.js ? [10:59] satyr has joined the channel [11:00] elnn has joined the channel [11:01] nodejs1 has joined the channel [11:02] nodejs1: hi all [11:02] epokmedi1 has joined the channel [11:03] larsschenk has joined the channel [11:03] emilsedgh has joined the channel [11:03] larsschenk1 has joined the channel [11:04] larsschenk1 has left the channel [11:05] fangel has joined the channel [11:06] nodejs1 has left the channel [11:06] saghul has joined the channel [11:07] aabt has joined the channel [11:07] saghul has joined the channel [11:08] HardFu: [jasper]: what's the problem [11:08] sreeix has joined the channel [11:08] HardFu: the docs on socket.io are pretty clear [11:09] maritz: wow, drinking coffee directly after grapefruit juice tastes horrible. [11:10] nodejs-news has joined the channel [11:10] nodejs-news: Hi all [11:11] mraxilus: maritz: try brushing your teeth first. That tastes even worse [11:11] hackband has joined the channel [11:12] maritz: mraxilus: ohh, you evil genius [11:12] umren has joined the channel [11:12] EuroNerd has joined the channel [11:12] EuroNerd has joined the channel [11:12] dylang has joined the channel [11:12] maritz: i'm gonna go and produce toothpaste-grapefruit-coffee layered drops and package them as normal flavors [11:13] maritz: ACTION is off to the bat-(shit-insane)-mobil [11:14] [jasper]: hmm HardFu do you know how I can let my socket.io.js connect to a different port [11:14] [jasper]: instead of like all the examples it connects to http://localhost [11:14] [jasper]: caN i just add :port ? [11:15] Vespakoen has left the channel [11:16] hkjels has joined the channel [11:16] Topcat_ has joined the channel [11:19] HardFu: [jasper] yes you can [11:19] riven has joined the channel [11:19] riven has joined the channel [11:19] HardFu: http://localhost:3001 [11:21] hz has joined the channel [11:21] rjack has joined the channel [11:21] satyr has joined the channel [11:21] rjack has joined the channel [11:23] rickibalboa has joined the channel [11:23] sigurding_ has joined the channel [11:23] Shrink has joined the channel [11:23] Shrink has joined the channel [11:24] kurtzhong_ has joined the channel [11:24] mightym has joined the channel [11:25] akuira has joined the channel [11:25] mightym: hey guys, i found this site which seems pretty handy for check clients if they are a mobile device. but does someone know such a good regex for just checking tablet devices? [11:25] enmand has joined the channel [11:26] seanstickle has joined the channel [11:27] igl1 has joined the channel [11:30] Juan77 has joined the channel [11:31] riven` has joined the channel [11:32] riven has joined the channel [11:33] vkareh has joined the channel [11:34] aslant has joined the channel [11:36] hipsters_ has joined the channel [11:40] riven` has joined the channel [11:40] [jasper]: hej guys [11:40] [jasper]: anyoen here using socket.io with nodejs [11:40] [jasper]: I have a small question [11:41] mraxilus__ has joined the channel [11:43] booyaa: mmmmmmm bacon [11:43] booyaa: pork 80? [11:44] maritz: jasper, no. there's no one in here using socket.io, much less with nodejs. why on earth would you suggest that? [11:44] blup has joined the channel [11:44] herbySk74 has joined the channel [11:46] onar_ has joined the channel [11:46] arduix has joined the channel [11:46] robotblake has joined the channel [11:46] robotblake has joined the channel [11:47] akuira85 has joined the channel [11:48] thinkt4nk has joined the channel [11:50] AAA_awright: Now why doesn't ECMAScript have a ||= operator [11:52] misza222 has joined the channel [11:53] TheFuzzb_ has joined the channel [11:53] mansoor: AAA_awright, what is ||=? [11:54] AAA_awright: mansoor: Exactly what it looks like, function operator a||=b(a, b){ a = a||b; } [11:54] kurtzhong has joined the channel [11:55] jetienne: :) [11:55] pid1 has joined the channel [11:55] tmike has joined the channel [11:55] jetienne: AAA_awright: js design isnt driven by rationality . http://wtfjs.com [11:56] mansoor: whats wrong with a = a || b :S [11:56] AAA_awright: That would be somewhat useless in C but Ruby uses || like ECMAScript does... hence, you can set a variable iff it's unset, optionalFunctionArg ||= defaultvalue; [11:56] AAA_awright: mansoor: It's a tiny bit less readable [11:57] mansoor: i think its more readable [11:57] mansoor: its read the way you think it [11:57] mansoor: read/written [11:58] akuira has joined the channel [11:58] AAA_awright: Where's v8bot when you need it [11:59] tjmehta has joined the channel [12:01] misza222 has joined the channel [12:03] rhio has joined the channel [12:04] IrishGringo has joined the channel [12:04] akuira85 has joined the channel [12:06] Joeysomo has joined the channel [12:07] Mulex has left the channel [12:07] josh-k has joined the channel [12:07] Joeysomo has joined the channel [12:09] menar has joined the channel [12:09] CromeDome has joined the channel [12:09] TimTim` has joined the channel [12:10] jacobolu_ has joined the channel [12:14] AAA_awright: And who can forget https://www.destroyallsoftware.com/talks/wat [12:15] arduix has joined the channel [12:18] akuira has joined the channel [12:18] hipsters_: i never got that talk, pretty much everything he mentioned there makes sense if you understand even the tiniest amount of javascript [12:19] AAA_awright: It's about intuition or the lack thereof, not how Javascript actually works [12:22] level09 has joined the channel [12:23] bnoordhuis has joined the channel [12:23] velo has joined the channel [12:23] rokonol has joined the channel [12:24] erikzaadi has joined the channel [12:28] hellp has joined the channel [12:30] shinuza has joined the channel [12:31] akuira85 has joined the channel [12:31] CromeDome has joined the channel [12:32] aabt has joined the channel [12:33] misza222 has joined the channel [12:36] arduix has joined the channel [12:36] seanstickle has joined the channel [12:36] francisl has joined the channel [12:36] nodejs-news: excellent video WAT ! [12:38] theCole has joined the channel [12:38] copongcopong has joined the channel [12:39] fumanchu182 has joined the channel [12:39] fumanchu182 has joined the channel [12:40] FIQ has joined the channel [12:40] brianseeders has joined the channel [12:41] OmidRaha has joined the channel [12:43] mraxilus__ has joined the channel [12:43] mschneider has joined the channel [12:44] ceej has joined the channel [12:45] erichynds has joined the channel [12:47] akshayms has joined the channel [12:48] Destos has joined the channel [12:54] Raverix has joined the channel [12:54] joeytwiddle has joined the channel [12:55] Edy has joined the channel [12:56] pickels has joined the channel [12:57] peppo82 has joined the channel [12:57] peppo82: list! [12:58] Raverix_ has joined the channel [13:00] AaronMT has joined the channel [13:00] raja has joined the channel [13:01] riven has joined the channel [13:01] mandric has joined the channel [13:01] emattias has joined the channel [13:03] subbyyy has joined the channel [13:03] miccolis has joined the channel [13:03] akshayms_ has joined the channel [13:04] pgte has joined the channel [13:08] RLa has joined the channel [13:09] UkiMiawz has joined the channel [13:10] baudehlo has joined the channel [13:11] justfielding has joined the channel [13:14] stonebra_ has joined the channel [13:16] maritz: so what does your intuition say "wat"-1 should be? [13:16] spacesuit has joined the channel [13:17] thinkt4nk has joined the channel [13:17] pickels has joined the channel [13:18] Doikor: NaN [13:18] satyr has joined the channel [13:19] sphinxxx has joined the channel [13:19] vam3c has joined the channel [13:22] melco has joined the channel [13:22] melco: hi [13:23] mightym has joined the channel [13:23] melco: I'm using child_proces and I don't know how to kill child sub-processes whan sending kill to my child [13:24] melco: say my child is spawn('chroot', ['sudo', '-u', 'nobody', '/usr/bin/programm']) [13:24] MartinCleaver has joined the channel [13:24] MartinCleaver has joined the channel [13:24] melco: the actual child.pid is pid of sudo and sudo has it's child of programm [13:25] melco: if I send child.kill("SIGTERM") sudo is being killed but programm doesn't [13:27] lduros has joined the channel [13:27] justfielding: if I have a single VPS that I have different node.js and sinatra apps on running behind NginX, but I want to add support for websockets... should I just bite the bullet and look in to HAproxy infront of nginx or any recommendations? I'm pretty ignorant to all of this lol [13:28] lazyshot has joined the channel [13:28] tbranyen: justfielding: use a different port? [13:28] tbranyen: justfielding: websockets aren't subject to the SOP [13:29] JSONB has joined the channel [13:29] justfielding: tbranyen: I saw a tcp_proxy patch for nginx that would let me run a node server for websockets on another patch [13:29] justfielding: er port* [13:30] tbranyen: justfielding: you don't need nginx to run a websocket server on a different port [13:30] tbranyen: just bind to 0.0.0.0 and pick your port [13:31] RLa: some people just want lots and lots of proxies :) [13:31] justfielding: tbranyen: yeah true, I'm trying to plan to be able to accomodate multiple apps/dev projects with ws later on [13:31] execB33F has joined the channel [13:32] erikzaadi has joined the channel [13:32] r04r has joined the channel [13:33] c4milo has joined the channel [13:33] pendlepants has joined the channel [13:34] rwaldron has joined the channel [13:34] pendlepa1ts has joined the channel [13:34] IrishGringo has joined the channel [13:36] carlyle has joined the channel [13:36] r04r has joined the channel [13:37] simewn has joined the channel [13:37] robi42 has joined the channel [13:38] misza222 has joined the channel [13:40] defts has joined the channel [13:41] r04r has joined the channel [13:42] exos has joined the channel [13:45] relling has joined the channel [13:45] booo has joined the channel [13:46] infynyxx has joined the channel [13:47] r04r has joined the channel [13:48] maritz: Doikor: which is what the wat presentation is making fun of (ok, in a hilarious way, but still). [13:49] k1ttty has joined the channel [13:49] rauchg has joined the channel [13:50] YoY has joined the channel [13:51] Doikor: maritz: i know. [13:52] r04r has joined the channel [13:52] maritz: although one could argue that a valid expectation (when knowing nothing about js) could be "wa" [13:52] aabt has joined the channel [13:52] maritz: or even 0, considering some languages would evaluate "wat" to 1 [13:53] misza222 has joined the channel [13:53] shapeshed has joined the channel [13:55] jtsnow has joined the channel [13:56] louissmit has joined the channel [13:56] cjheath has joined the channel [13:56] Lee- has joined the channel [13:56] Lee- has joined the channel [13:57] robo_ has joined the channel [13:57] jerrysv has joined the channel [13:59] postwait has joined the channel [13:59] _akshayms has joined the channel [14:00] r04r has joined the channel [14:02] stonebranch has joined the channel [14:04] fairwinds has joined the channel [14:05] r04r has joined the channel [14:05] r04r has joined the channel [14:05] spacesuit has joined the channel [14:07] bingomanatee has joined the channel [14:07] crutex has joined the channel [14:07] crutex has joined the channel [14:08] Magiobiwan has joined the channel [14:08] jerrysv: `3rdEden: maybe you should have agreed when i offered to port the eventreactor tests to vows [14:08] `3rdEden: jerrysv why? [14:09] Wizek has joined the channel [14:09] Destos has joined the channel [14:10] HacDan has joined the channel [14:11] jerrysv: `3rdEden: exposed that vows monkey punches emit() globally. pollution :( [14:11] jxie has joined the channel [14:11] jacobrask: What are the new settings I see in some package.json files, like _nodeVersion, _engineSupported etc, and are they documented somewhere? [14:12] r04r has joined the channel [14:12] r04r has joined the channel [14:12] boltR has joined the channel [14:13] pauls1 has joined the channel [14:13] shedinja: any modules to read the feed on facebook and post to it? [14:14] stafamus has joined the channel [14:14] joshsmith has joined the channel [14:15] kyonsalt has joined the channel [14:16] tmike has joined the channel [14:16] st_luke has joined the channel [14:17] papachan has joined the channel [14:17] theBrettman has joined the channel [14:17] r04r has joined the channel [14:18] Hensley has joined the channel [14:18] ningu has joined the channel [14:18] ffg has joined the channel [14:19] `3rdEden: jerrysv wtf, eww [14:19] Poetro has joined the channel [14:19] Poetro has joined the channel [14:20] jerrysv: `3rdEden: you're telling me. was wondering why some tests we had were failing hard. took a while to hunt down [14:20] ffg: mongoose question! [14:21] _olouv_ has joined the channel [14:21] CarlosC has joined the channel [14:21] ffg: should both of these instance methods not be working? https://gist.github.com/2029064 [14:21] plutoniix has joined the channel [14:22] diva has joined the channel [14:22] jscheel has joined the channel [14:22] jscheel has joined the channel [14:23] ningu: ffg: you shouldn't have that mongoose.disconnect() there [14:23] ningu: that's the problem [14:23] _ritch1 has joined the channel [14:24] onar_ has joined the channel [14:24] Destos has joined the channel [14:24] Destos has joined the channel [14:24] r04r has joined the channel [14:24] r04r has joined the channel [14:24] ffg: nah, the FAILING method throws: TypeError: Object { _id: 4f5f5891ce4619fe61000001 } has no method 'find' [14:25] bergie_ has joined the channel [14:25] fastest963 has joined the channel [14:27] BillyBreen has joined the channel [14:29] rlidwka has joined the channel [14:30] r04r has joined the channel [14:30] r04r has joined the channel [14:31] andrehjr has joined the channel [14:32] bkaney has joined the channel [14:32] mattgifford has joined the channel [14:33] sharkbird has joined the channel [14:33] ningu: ffg: I think you need to do this.model('Car') [14:34] ningu: or maybe just this.model() [14:34] jscheel has joined the channel [14:34] jscheel has joined the channel [14:34] ningu: no, the first one :) [14:35] ffg: this.db.model('Car') seems to be working [14:35] ningu: either would work [14:35] ffg: however; https://github.com/LearnBoost/mongoose/blob/master/examples/schema.js#L75 [14:35] ningu: if you made it a static method this.find() would work [14:35] ningu: dunno [14:35] ningu: ask a mongoose person :) [14:36] ffg: ill post an issue [14:36] przemoc has joined the channel [14:39] CarterL has joined the channel [14:39] colinclark has joined the channel [14:40] colinclark has joined the channel [14:40] Saul has joined the channel [14:43] mansoor has joined the channel [14:46] piscisaureus_ has joined the channel [14:48] dthompso99 has joined the channel [14:49] icebox has joined the channel [14:49] zomg: Anyone have any ideas why connect-redis' RedisStore wouldn't seem to be doing anything? [14:49] zomg: I just swapped MemoryStore to a RedisStore and now it doesn't appear to be storing anything in there [14:50] carlyle has joined the channel [14:50] dnolen has joined the channel [14:50] zomg: Basically it's just RediStore = require('connect-redis')(express) and then just new RediStore() for the express session middleware [14:51] zomg: I installed redis-server with apt first and confirmed it's running so that shouldn't be the problem at least =) [14:51] fson has left the channel [14:51] jdeibele has joined the channel [14:51] rwaldron has joined the channel [14:51] ningu: zomg: maybe you need to pass it { host: 'localhost' } [14:53] rauchg has joined the channel [14:53] lduros has joined the channel [14:54] isaacs has joined the channel [14:54] sharkbird has joined the channel [14:55] Joeysomo has joined the channel [14:56] baudehlo has joined the channel [14:56] carlyle has joined the channel [14:56] trotter has joined the channel [14:56] Joeysomo has joined the channel [14:57] jocafa has joined the channel [14:57] carlyle has joined the channel [14:59] lmjabreu has joined the channel [14:59] slug_ has joined the channel [15:00] agnat has joined the channel [15:05] jscheel has joined the channel [15:06] pendlepants has joined the channel [15:06] aabt has joined the channel [15:06] alejandromg has joined the channel [15:06] zomg: ningu: hm will give that a shot. Kind of assumed it was smart enough to use that as a default [15:07] theCole has joined the channel [15:07] zomg: ningu: no effect [15:07] tobias1 has joined the channel [15:07] EyePulp has joined the channel [15:07] rick- has joined the channel [15:08] slug_: anyone have instructions for creating a module that compiles with 'dynamic linkage' of its wrapped lib? [15:08] ank has joined the channel [15:09] ath0 has joined the channel [15:09] ath0: hey [15:09] umren has joined the channel [15:09] ningu: zomg: dunno, that's how I do it [15:09] bnoordhuis: slug_: you mean you want to link to a .so? [15:10] ath0: any coders for blackberry here [15:10] slug_: yes, directfb libs [15:10] willwhite has joined the channel [15:13] ath0: no java coders here? [15:13] RLa: blackberry uses java? [15:13] conancat has joined the channel [15:13] slug_: but I would like to use the directfb libs for other apps, its an embedded system, memory is precious [15:13] ningu: ath0: javascript just was named that as a marketing ploy ;) [15:13] pendlepa1ts has joined the channel [15:13] bnoordhuis: slug_: are you building your module with node-waf or node-gyp? [15:13] ningu: I still don't really know what they were going for with that name -- it just seems generally confusing [15:13] slug_: bnoordhuis:gyp [15:13] ningu: I guess they had in common "programmable thingy in browser" [15:14] bnoordhuis: slug_: it's easy with gyp, just add a libraries: ['-lfoo'] to your gyp target [15:14] dgathright has joined the channel [15:14] slug_: ahh, ok, thanks for the direction [15:14] ryanrolds has joined the channel [15:14] dilvie has joined the channel [15:14] riven has joined the channel [15:14] Zzaichik has joined the channel [15:15] theBrettman has joined the channel [15:16] jj0hns0n has joined the channel [15:16] graeme_f has joined the channel [15:17] skylamer` has joined the channel [15:17] shinuza has joined the channel [15:18] r04r has joined the channel [15:19] ag4ve: is there a way to lock a record (or prevent another node) from writing a record at the same time as something else? [15:20] redir has joined the channel [15:20] ningu: ag4ve: in what data store? [15:20] ag4ve: i know i can get .pre middleware to check something before writing, but i don't think that really ensures that nothing has happened to the record i want to write between reading some data (from middleware) and writing [15:20] jtsnow has joined the channel [15:20] ag4ve: eh, mongo... sorry [15:20] ningu: mongo has various operations for atomic updates [15:21] ningu: but I don't think it supports locking like that -- you probably want to use something else if that's what you need [15:22] ningu: you might be able to do an operation that would amount to: update if not changed, otherwise throw an error [15:22] ningu: for example, findAndModify [15:22] ag4ve: well, really, i'm not sure that i do. other services seem to have gotten away without it. i guess i just need to figure out how messy non-atomic things can get [15:22] rtgibbons has joined the channel [15:23] ag4ve: right, that's what i was thinking with mongoose middleware [15:23] ningu: ag4ve: actually, rather than findAndModify you probably just want to include all the former values in the first argument to update [15:23] ningu: that way it will only update the doc if it's the same as it was [15:23] briancray has joined the channel [15:24] davidsklar has joined the channel [15:24] kevwil has joined the channel [15:24] ag4ve: ningu: i was more thinking inventory... [15:24] ningu: also, mongoose will optimize updates so if the doc is {a:1,b:2,c:3} and you change c to 4, it won't send {a:1,b:2} back -- so if someone else changed those meanwhile it will be ok [15:24] ningu: there is a mongo inventory example on a blog somewhere [15:25] ningu: http://kylebanker.com/blog/2010/06/07/mongodb-inventory-transactions/ [15:26] koo3 has joined the channel [15:26] ag4ve: ningu: thanks for that. [15:26] tjholowaychuk has joined the channel [15:26] nicholas_ has joined the channel [15:28] ningu: hey tj, can I ask you my socket.io question? it has your style of config so you must have some familiarity :) [15:29] der| has joined the channel [15:29] wizonesolutions has joined the channel [15:30] pandeiro has joined the channel [15:30] caioketo has joined the channel [15:31] josh-k has joined the channel [15:31] technel has joined the channel [15:31] ningu: basically I'm wondering why socket.io can't be used with node running behind nginx out of the box, even with xhr-polling [15:31] ningu: it requires a small monkey patch [15:31] thomblake has joined the channel [15:31] thomblake has left the channel [15:31] steveoh has joined the channel [15:31] steveoh has left the channel [15:32] der|: ningu: Hi there, just to let you know that multiple callbacks are now supported for routes ;) [15:33] ningu: der|: hehe cool, thanks [15:33] der|: ningu: thanks for the idea [15:33] ningu: der|: btw, express flattens arrays of callbacks, too [15:33] dpino has joined the channel [15:33] ningu: so foo([a,b,[c,d]],e) becomes foo(a,b,c,d,e) [15:34] joshfinnie has joined the channel [15:34] ningu: useful if you have portions of control flow that need to be shared [15:34] der|: ningu: yeah, not trying to sound like I'm copying express, but this would also be a nice addition... [15:34] tmcw has joined the channel [15:34] der|: it crossed my mind though [15:34] TheJH has joined the channel [15:35] zomg: ningu: out of curiosity, your redis version? [15:35] ningu: 2.4.8 [15:35] ningu: on os x [15:35] zomg: It would look like the apt package has redis 1.2 which seems ancient... [15:35] zomg: I suspect that may be the problem [15:35] ningu: also running it in production on linux [15:36] ningu: ah yeah, probably [15:36] fatjonny has joined the channel [15:38] Spion has joined the channel [15:39] pizthewiz has joined the channel [15:39] blueadept has joined the channel [15:39] blueadept has joined the channel [15:41] bondar has joined the channel [15:41] achiu has joined the channel [15:42] zomg: ningu: yeah compiled latest redis stable and surprisingly it works now.. =) [15:42] ningu: :) [15:42] ningu: usually redis just works [15:42] ningu: in my limited experience [15:42] zomg: I wish they'd have newer packages in apt [15:42] ningu: zomg: what distro? [15:42] vipaca has joined the channel [15:42] zomg: Ubuntu 10.4 LTE or something like that [15:42] ningu: ubuntu stable latest has 2.something [15:42] vipaca has joined the channel [15:42] ningu: yeah, I have 11.04 I think [15:42] ningu: or whatever the current stable is [15:42] zomg: yeah [15:43] Lorentz: I know debian stable has 1.2.6 or something, and latest stable is 2.4.8 [15:44] thalll has joined the channel [15:45] blueadept has joined the channel [15:45] PostHuman has joined the channel [15:45] Wizek has joined the channel [15:46] ningu: that's why I don't use debian stable :) [15:46] Athanasius has left the channel [15:46] ningu: I don't like compiling and maintaining too many things on my own [15:46] P0TaT0 has joined the channel [15:46] ningu: other stuff to worry about :) [15:47] PostHuman: Hello! I've been struggeling with running my "Hello World" server with node.JS. Trouble is, I can't find where I actually have to save my "example.js" file in order to run it with "node example.js" ! Can somebody give me a hint please ? [15:47] nathanielk: anywhere. [15:47] nathanielk: just cd to wherever the file is [15:47] ningu: PostHuman: node has to be in your path. it doesn't matter where the script is. [15:47] nathanielk: and run "node example.js" [15:47] PostHuman: ah! **slaps head** [15:48] PostHuman: lemme try... :) [15:48] ningu: hmm... if my node app ever develops a mind of its own, I'm going to call it "going off-script" [15:48] sigurding has joined the channel [15:48] PostHuman: ningu; please don't be the one who spawns the first singularity ^_^ [15:49] tk__ has joined the channel [15:49] tekky has joined the channel [15:50] tomnewmann has joined the channel [15:50] gr4yscal_ has joined the channel [15:50] ningu: PostHuman: if you're familiar with python, perl, or ruby, node works in much the same way for javascript. [15:50] rickibalboa: I have an application that handles a lot of SSL connections, and uses a daft amount, stumbling about I came across this: http://journal.paul.querna.org/articles/2011/04/05/openssl-memory-use/ [15:50] rickibalboa: Have these fixes been applied to the nodejs core? [15:50] rickibalboa: daft amount of memory* [15:51] jimt_ has joined the channel [15:51] RLa: doesn't it link against system openssl? [15:52] PostHuman: Wow. I'm speechless... I've been looking for C++ / C# / VB WebSocket servers for 2 years... Did see Node.JS sometimes on the net, but thought it was pure Linux... It looks amazing and I love Javascript... [15:52] RLa: so it depends whether your openssl have those patches? [15:52] rickibalboa: Hmm, possibly [15:52] nathanielk: PostHuman: windows support is fairly recent [15:52] PostHuman: Aha I see! [15:53] PostHuman: Are there alot of breaking updates ? [15:53] sharkbird has joined the channel [15:53] ningu: PostHuman: yeah, there are plenty of things supporting websockets -- socket.io for the server/client code, and there are reverse proxies in node that support them too, like bouncy [15:54] nathanielk: PostHuman: not really, the dev cycle is pretty steady and consistent [15:54] nathanielk: windows support was a goal (funded by joyent) for 5.x [15:54] ningu: some things require 0.6.x rather than 0.4.x, but 0.6.x though new is very stable [15:54] hlomas has joined the channel [15:55] ningu: I guess it isn't that new at this point [15:55] nathanielk: (0.5.x i guess i should say) [15:56] warz has joined the channel [15:56] warz has joined the channel [15:57] PostHuman: That's amazing... This makes me so happy :) I see there's hybrid support for long polling too with Socket.IO... I want to hug some people now hehe [15:58] tjbell has joined the channel [15:58] ph^ has joined the channel [15:59] nathanielk: PostHuman: most devs accept hugs :) [15:59] rlidwka: PostHuman: node.js works under windows nicely (only some external libs dont)... but... I wouldn't recommend using it. I mean I wouldn't recommend using windows at all. :) [15:59] ceej has joined the channel [16:00] dshaw_ has joined the channel [16:00] nathanielk: i'm pretty much with rlidwka. but i'm trying to keep the troll inside. [16:00] ningu: hehe [16:00] ningu: os x for dev + linux for deploy [16:00] PostHuman: I'm running heavy IIS and MSSQL servers, not gonna change that soon :) [16:01] nathanielk: or just linux all the way down... [16:01] ningu: that too [16:02] PostHuman: First implementations won't be too critical.. But the plan is too roll out some form of chat for our customers in the near future... Hope running it on windows won't cause any problems then :) [16:03] nathanielk: shouldn't, i know it's a big thing for joyent [16:03] nathanielk: (windows happiness, that is) [16:03] mmalecki: unfortunately [16:03] jdeibele has joined the channel [16:04] theBrettman has joined the channel [16:04] deedubs: you can follow windows support to the money, and follow that money right back to Microsoft [16:05] jimt has joined the channel [16:05] IrishGringo has joined the channel [16:06] jerrysv: mmalecki: any more thoughts on eventemitter2 ? [16:06] brianleroux has joined the channel [16:06] llrcombs has joined the channel [16:07] mmalecki: jerrysv: sorry, I didn't get to it yet :( [16:07] mmalecki: got a lot of things going on atm [16:07] mmalecki: I'll try fixing it today [16:07] mmalecki: there might be another way [16:08] jerrysv: mmalecki: as long as the other way doesn't involve monkey punching a global module, then i'm all for it :) [16:08] AviMarcus has joined the channel [16:11] ag4ve: just curious, is there a library to call dnode functions on another node server? so, basically, what i want is node -> browser -> node. i'm confortable getting dnode to do this, it's just a bit complex and i'm probably missing something...? [16:11] jstewmon has joined the channel [16:12] ag4ve: eh, just to be clear - node (server) -> browser -> node (client - sorta) [16:12] AviMarcus: oh related note.. it seems now.js and dnode are pretty similar. Anything I should know about trying to choose? [16:12] mikeal has joined the channel [16:13] cerebros has joined the channel [16:13] RLa: ag4ve, just open two connections, one for first node, second for the other one [16:13] ningu: AviMarcus: people here seem to prefer dnode [16:14] dubenstein has joined the channel [16:14] gtramontina has joined the channel [16:14] ningu: what I haven't quite figured out yet is why I would use dnode rather than plain socket.io [16:14] ag4ve: AviMarcus: dnode just seemed to be more mature and have more community. i have no technical reason for one over the other. [16:15] deedubs: ningu: from how I understand it dnode is more server <=> server where socket.io is more server <=> client [16:15] colinwd has joined the channel [16:15] dubenstein has joined the channel [16:15] ningu: deedubs: hmm, ok... well, I only have one server :) [16:16] deedubs: ningu: that being said dnode does support server <=> client [16:16] ningu: I like the dnode graphic... that's my reason [16:16] ag4ve: ningu: lame :) [16:17] joshthecoder has joined the channel [16:17] dubenstein has joined the channel [16:18] geetarista has joined the channel [16:19] isaacs: test, please: http://nodejs.org/dist/v0.7.6/node-v0.7.6-RC0.tar.gz [16:19] isao has joined the channel [16:19] ag4ve: but, now that ningu did bring up is, other than helpers the library provides, all i do need is to do 'var thing = new data; data.init(); in my event and i've pretty much done the same thing. [16:20] ningu: isaacs: why are there RCs for dev versions? [16:20] isaacs: ningu: because sometimes they're doa :) [16:20] slloyd has joined the channel [16:20] p3sho has joined the channel [16:21] isaacs: ningu: there's still a certain level of quality we expect, even in unstable releases [16:21] CIA-19: node: 03isaacs 07v0.7.6-release * re4fc2cb 10/ (194 files in 16 dirs): Upgrade v8 to 3.9.17 - http://git.io/pe3Nmw [16:21] CIA-19: node: 03isaacs 07v0.7.6-release * r4e85257 10/ deps/v8/build/common.gypi : Patches floating on V8 - http://git.io/qUOkug [16:21] CIA-19: node: 03Christian Ress 07v0.7.6-release * rc15e690 10/ lib/zlib.js : Added destroy method to Zlib object in zlib.js module - http://git.io/Vgjk_Q [16:21] CIA-19: node: 03isaacs 07v0.7.6-release * r943c396 10/ doc/api/readline.markdown : Fix merge conflict in doc/api/readline.markdown - http://git.io/WlazYg [16:21] CIA-19: node: 03isaacs 07v0.7.6-release * r4ec3bc5 10/ (7 files in 6 dirs): (log message trimmed) [16:21] CIA-19: node: 2012.03.13, Version 0.7.5 (unstable) [16:21] CIA-19: node: * Upgrade v8 to 3.9.17 [16:21] CIA-19: node: * Upgrade npm to 1.1.6 [16:21] CIA-19: node: - Add support for os/cpu fields in package.json (Adam Blackburn) [16:21] CIA-19: node: - Automatically node-gyp packages containing a binding.gyp [16:21] josh_k has joined the channel [16:21] CIA-19: node: - Fix failures unpacking in UNC shares [16:22] ningu: isaacs: just curious, cause I haven't encountered that before :) [16:22] M1l3n1um has joined the channel [16:22] ningu: for other projects, I mean [16:22] isaacs: ningu: node is kind of a big project. [16:22] ningu: isaacs: is there a roadmap up somewhere? [16:23] isaacs: lot of hands, lot of platforms, etc. [16:23] isaacs: ningu: the roadmap is this: Stability. Speed. Debuggability. [16:23] broofa has joined the channel [16:23] isaacs: ningu: so, for v0.8, that means: all tests passing. all benchmarks improved. domains and customFd API finished. [16:24] ningu: well, so far nothing has been slow or unstable for my needs, so I guess I don't need to pay attention :P [16:24] orlandovftw has joined the channel [16:24] jerrysv: isaacs: is there a timeframe for 0.8? [16:25] bondar has joined the channel [16:25] fred_____ has joined the channel [16:25] isaacs: jerrysv: honestly, i think we're about a month or so out. maybe less. but there are some other distractions. the new npm website is going to take a bunch of my time. [16:25] ningu: to the extent anything has been buggy or inadequate it's all in modules [16:26] isaacs: so, i'm thinking, early summer. [16:26] isaacs: in time for nodeconf, probably :) [16:26] ningu: isaacs: btw, the other day you mentioned joyent's data center uses a lot of node -- what does node do better that they felt the need to create it? [16:26] jerrysv: isaacs: awesome. just trying to get a gauge on how quickly i need to make sure everything i maintain is up to snuff. thanks! [16:27] ningu: I mean specifically for that task. since I don't run data centers I have no idea. [16:27] _ritch has joined the channel [16:27] isaacs: ningu: joyent didn't create node. joyent adopted node. ryah created node on his own. [16:27] isaacs: jerrysv: we'll get v0.8 sooner if more people test on v0.7. [16:27] ningu: while working for joyent, I thought? [16:27] isaacs: jerrysv: and it'll be better. [16:27] isaacs: ningu: nope, he joined joyent after node already had a bit of momentum [16:27] ningu: ah, ok [16:27] jerrysv: isaacs: fine, fine, i guess you've pressured me into it. [16:28] isaacs: ningu: it sped up a LOT since then, though [16:28] isaacs: jerrysv: :) [16:28] jerrysv: isaacs: you almost got an emergency email from me while you were offline, but jasonsmith helped me through it :) [16:28] isaacs: jerrysv: test, please: http://nodejs.org/dist/v0.7.6/node-v0.7.6-RC0.tar.gz [16:28] dfletcher has joined the channel [16:28] ningu: anyway, I have to assume it's the event driven, async model that attracted users like joyent [16:28] ningu: but I have no idea [16:28] mmalecki: I test master everyday :) [16:29] jerrysv: mmalecki: no wonder you haven't looked at that vows issue yet! [16:29] mmalecki: jerrysv: haha, what I mean is, I actually use it :) [16:30] isao has joined the channel [16:30] jerrysv: mmalecki: ha. isaacs: will install on my dev vm after this meeting, thanks for the prodding [16:30] _ritch: is there something special you have to do to pause a req's stream to get all data events after a tic or so? i seem to only get part of the data… [16:31] isao1 has joined the channel [16:31] madtimber has joined the channel [16:31] isaacs: ningu: to answer your actual question, though: managing a datacenter involves a lot of IO, and a lot of systems. node is good for large amounts of IO, and its apis make sense to experienced systems programmers who grok unix. [16:32] arvidkahl has joined the channel [16:32] mattgifford has joined the channel [16:32] boltR has joined the channel [16:32] rklancer has joined the channel [16:33] mmalecki: also, it's epicly fun! [16:33] ningu: isaacs: this is not a simple thing, but it's been a bit hard for me to understand the technical reasons *why* node is good at IO and other languages (python? ruby?) are not as good. [16:33] ningu: or perhaps I should say other implementations, not languages. [16:34] shanebo has joined the channel [16:34] riven has joined the channel [16:34] riven has joined the channel [16:35] _ritch: ningu: ryan explains it pretty well in this video @ about 13mins http://www.youtube.com/watch?v=SAc0vQCC6UQ [16:35] ningu: e.g. it's not clear to me why you couldn't give ruby with a similar api and achieve similar performance. [16:35] ningu: _ritch: cool, will take a look [16:35] jstewmon has joined the channel [16:35] ningu: s/with// [16:36] AndreasMadsen has joined the channel [16:36] isaacs: ningu: so, with ruby (and python, et al) there's a culture of doing blocking IO [16:36] ag4ve: yeah, i've had good experience with gearman for the clustered system. haven't gotten my node up to a level i can comment on like that yet though [16:36] isaacs: ningu: so, even if you use EventMachine or Twisted, you have to be very careful which libs you use. [16:36] isaacs: ningu: with JS, there was no culture of ANY specific IO mechanism, because the language doesn't have one. [16:37] isaacs: ningu: except the browser, which is already evented and async [16:37] isaacs: ningu: [16:37] fangel has joined the channel [16:37] ningu: isaacs: sure, but that's a cultural issue, not a technical issue. [16:37] isaacs: ningu: also, most vm's are shit compared to v8 :) [16:37] ningu: it's not like async i/o is a new concept. [16:37] isaacs: ningu: no, but cultural issues are often best solved by forming a new culture :) [16:37] isaacs: which is what node has done. [16:38] ningu: yeah, I've gotten that impression (about v8) and I'm sure I can find articles on that. [16:38] shanebo: hey guys in socket.io is there a way to only add people to a room if the request comes from a certain url? [16:38] ningu: but none of the stuff node does is something I imagine couldn't be done in other scripting languages. that's why I was asking. [16:39] springmeyer has joined the channel [16:39] ningu: anyway, JS seems to lend itself well to the api. [16:39] markq has joined the channel [16:39] isaacs: ningu: yes, the culture of JS is one of asynchronous IO already. [16:39] ningu: shanebo: that depends on when your code for adding people to rooms runs, doesn't it? [16:39] shanebo: ningu yes [16:39] isaacs: ningu: we are pushing it into new places. [16:40] ningu: shanebo: if it's in an express route or something, you have access to the url... [16:40] rlidwka: ningu: if someone can do the wrong think, he would eventually do it. Can you write blocking app in node? And what about ruby? So... :) [16:40] rlidwka: *thing [16:40] ningu: rlidwka: yeah, I guess I never thought about it that way. [16:40] shanebo: ningu right but you don't have access to the socket at that point [16:40] ningu: shanebo: http://www.danielbaulig.de/socket-ioexpress/ [16:41] ningu: there are Ways [16:41] smorin has joined the channel [16:41] ningu: it just depends what you want to do [16:41] TheJH: isaacs, what's the status of the new npmjs atm? :) [16:41] bindr has joined the channel [16:41] TheJH: ACTION has a bit more time now than a few weeks ago [16:42] kindbeard_ has joined the channel [16:42] tmcw has joined the channel [16:43] riven` has joined the channel [16:44] ningu: _ritch: haha on the side of that video I got this suggested: http://www.youtube.com/watch?v=1e1zzna-dNw [16:45] alvaro_o has joined the channel [16:45] RobWC has joined the channel [16:45] RobWC has left the channel [16:46] diogogmt has joined the channel [16:46] rtgibbons has joined the channel [16:47] EhevuTov has joined the channel [16:47] PElshoff has joined the channel [16:48] tmcw has joined the channel [16:48] maletor has joined the channel [16:49] mcluskydodallas has joined the channel [16:49] skylamer` has joined the channel [16:51] riven has joined the channel [16:51] riven has joined the channel [16:51] caolanm has joined the channel [16:52] _rockbot_ has joined the channel [16:52] briancray has joined the channel [16:53] jetienne: q. in node.js callback, is that more common to get callback(error, result) or callback(result, error) ? [16:53] adambeynon has joined the channel [16:53] c4milo: jetienne: former [16:53] stagas: jetienne: result, error [16:53] stagas: :P [16:53] felixhummel has joined the channel [16:53] jetienne: stagas: serieous ? [16:54] stagas: jetienne: no :) [16:54] jetienne: stagas: man i made a silly mistake then... and now i cant change the api without breaking lots of code [16:54] jetienne: pfff :) [16:54] jetienne: stagas: you scared me :) [16:54] kyonsalt_sMlwX has joined the channel [16:54] stagas: jetienne: hahah [16:55] umren has joined the channel [16:58] Wizek has joined the channel [16:59] rlidwka: jetienne: unfortunately, it's "error, result". "Unfortunately" is because a lot of functions dont have an error, so it very often is just null. [16:59] rlidwka: and a lot of libraries depend on it [16:59] pickels has joined the channel [17:00] pizthewiz has joined the channel [17:01] madtimber has joined the channel [17:01] bondar has joined the channel [17:02] adamkittelson has joined the channel [17:02] ningu: bnoordhuis: where are you based btw? [17:02] ningu: Ryan on that video I'm watching says in the netherlands... just curious, I've been there a couple times in the last two months [17:03] bpr has joined the channel [17:04] tokumine has joined the channel [17:04] ningu: ah in Gouda... I was just there [17:04] ningu: just curious :) [17:05] Cromulent has joined the channel [17:05] slmr has joined the channel [17:07] satyr has joined the channel [17:08] pgte has joined the channel [17:09] hydrozen has joined the channel [17:10] yaymukund has joined the channel [17:10] riven has joined the channel [17:10] riven has joined the channel [17:12] samsonjs has joined the channel [17:12] bandu has joined the channel [17:13] retornam has joined the channel [17:13] danroberts has joined the channel [17:14] jsurfer has joined the channel [17:14] danroberts: hey everyone... i'm trying to decide what's the best way to run node on windows... i'd like to run it on cygwin to access all the lovely unix goodness, but i'm seeing that is not supported [17:14] kuebk has joined the channel [17:14] pauls1: has anyone encountered and overcome this issue before? http://stackoverflow.com/questions/9488568/node-js-session-with-infinite-loop [17:14] danroberts: any advice/experiences? [17:14] pauls1: i got that problem on deploying to a prod server with newer versions but the fix that's accepted there doesn't work for me [17:14] Mickey has joined the channel [17:14] pauls1: getting an error like this TypeError: Not a string or buffer\nat Object.createHmac (crypto.js:129:21) [17:15] Mickey: Anyone know why my cloud9 Dashboard is blank when I log on? [17:15] JJMalina has joined the channel [17:15] jsurfer has joined the channel [17:16] joshontheweb has joined the channel [17:16] bnoordhuis: Mickey: ping zefhemel in #cloud9ide, he can probably help you out [17:16] isao has joined the channel [17:16] bnoordhuis: ningu: what video are you watching? [17:17] redir has joined the channel [17:17] akshayms_ has joined the channel [17:18] jtsnow has joined the channel [17:18] bindr has joined the channel [17:18] riven has joined the channel [17:18] riven has joined the channel [17:19] danroberts: sorry to repeat my question, but any opinions on running node under cygwin vs. the native package download? [17:19] jxson has joined the channel [17:19] danroberts: *on windows [17:20] Mickey: When I loginto my cloud9 all I get is a blank dashboard page.. ANyone know how to fix this? [17:21] mansoor: Mickey, clear cookies for the site and force refresh (ctrl + f5) [17:22] Mickey: Tried taht [17:22] mansoor: ohh [17:22] Mickey: I tried.. disabling my antivirus, disabling my browser addons as well [17:22] mansoor: try it on another browser [17:22] mansoor: :) [17:22] Mickey: Tried 3... IE, chrome and ff [17:22] Mickey: all light blue blank page [17:22] mansoor: :O [17:23] mansoor: yell at them via twitter [17:23] mansoor: they'll help you [17:23] justicefries has joined the channel [17:23] Mickey: Good idea [17:23] danroberts: Mickey: ping zefhemel in #cloud9ide, he can probably help you out [17:23] mansoor: or.. ith ink they have a channel [17:23] actman has joined the channel [17:24] rwaldron has joined the channel [17:25] jtsnow has joined the channel [17:25] actman: hi [17:25] jxson has joined the channel [17:25] carlyle has joined the channel [17:25] Mickey: ty [17:26] benvie has joined the channel [17:26] dshaw_ has joined the channel [17:26] mxbtty has joined the channel [17:27] EvRide has joined the channel [17:27] maritz: oh wow, i just realised, i don't need process.exit(). i can just throw exit(); :D [17:28] maritz: totally obvious, but never thought about it. [17:28] nerdfiles1 has joined the channel [17:29] achiu has joined the channel [17:29] mxbtty has joined the channel [17:29] mansoor: http://notes.tomhenrich.com/wp-content/uploads/2012/01/slow-clap.gif [17:29] mansoor: maritz, ^^ [17:29] maritz: or, instead of debugging sth like "console.log('blub'); process.exit();" just do"console.log('blub')()" [17:29] maritz: :D [17:30] danroberts: thats creepy [17:30] riven has joined the channel [17:30] riven has joined the channel [17:30] actman has left the channel [17:30] mandric has joined the channel [17:30] mansoor: :D [17:31] wendall911 has joined the channel [17:32] nerdfiles1 has left the channel [17:32] isao has joined the channel [17:32] gtramontina has joined the channel [17:32] AdamGoodrich has joined the channel [17:35] franciscallo has joined the channel [17:38] mrkurt has joined the channel [17:39] wizonesolutions has joined the channel [17:40] AdamGoodrich has joined the channel [17:41] _akshayms has joined the channel [17:41] arthabaska has joined the channel [17:41] khrome has joined the channel [17:41] dgathright has joined the channel [17:43] sreeix has joined the channel [17:43] cyprox has joined the channel [17:44] rlidwka: maritz: i'm using "oxqeofxc()" function for that thing :) or is it "oqxefhq()"? it helps sometimes :) [17:45] pig_ has joined the channel [17:45] adnan_ has joined the channel [17:46] adnan_ has left the channel [17:46] diogogmt has joined the channel [17:47] riven has joined the channel [17:47] riven has joined the channel [17:48] josh-k has joined the channel [17:49] relling has joined the channel [17:49] jerrysv: isaacs: so far so good - the config system seems much nicer too [17:50] pig has joined the channel [17:51] theBrettman: I'm trying to do this tutorial on how to use azure with node and I quadruple checked everything and did everything just as they said but I get this error: http://pastebin.com/sasPzA0q [17:52] maritz: rlidwka: (); works as well :D [17:52] maritz: or just () [17:52] maritz: or if you want to be sure []() [17:53] maritz: (because otherwise, who knows who removed whitespace before the ()) [17:53] maritz: .. []() [17:53] shinuza has joined the channel [17:54] torgeir has joined the channel [17:55] pig has joined the channel [17:55] illourr1 has joined the channel [17:55] githogori has joined the channel [17:56] patcito has joined the channel [17:56] RLa has joined the channel [17:57] lmjabreu has joined the channel [17:59] trotter has joined the channel [18:00] MartinCleaver has joined the channel [18:00] MartinCleaver has joined the channel [18:00] TooTallNate has joined the channel [18:00] jdeibele has joined the channel [18:01] hipsters_ has joined the channel [18:02] bartt has joined the channel [18:03] orlandovftw has joined the channel [18:03] arduix has joined the channel [18:03] theBrettman: I'm trying to do this tutorial on how to use azure with node and I quadruple checked everything and did everything just as they said but I get this error: http://pastebin.com/sasPzA0q [18:06] langworthy has joined the channel [18:06] sirwan has joined the channel [18:06] mandric has joined the channel [18:07] phluffy has joined the channel [18:09] jsurfer has joined the channel [18:09] Country has joined the channel [18:10] dreen has joined the channel [18:13] te-brian has joined the channel [18:14] Maxani has joined the channel [18:14] mandric_ has joined the channel [18:14] ag4ve: it's been about 12 minutes. time to hit the up arrow + return again... [18:14] rlidwka: maritz: ''++ - wow... writing a code that breaks much easier than writing a code that dont :) [18:15] boltR has joined the channel [18:15] infynyxx has joined the channel [18:15] `3rdEden has joined the channel [18:18] redir has joined the channel [18:18] bondar has joined the channel [18:19] felixhummel_ has joined the channel [18:21] krnl has joined the channel [18:22] materialdesigner has joined the channel [18:23] velo has joined the channel [18:23] krnl: i have 3 processes with master/slave cluster. i client connects to node through http to a slave. i would like to pass the client handle from slave1 to slave2 through master. i know how to send a handle, but is it possible to send the req and resp object from slave1 -> master -> slave2 ? [18:23] jxson has joined the channel [18:24] Nss has joined the channel [18:24] krnl: or directly from salve1 to slave2? [18:24] hydrozen has joined the channel [18:25] hydrozen: Any npm guru can tell me what this means? http://pastie.org/3587353 [18:25] hydrozen: I did sudo npm update -g and it bombed [18:26] hydrozen: and now the npm binary is gone… and when I try to reinstall npm it bombs with the same error message :D [18:26] riverrai_ has joined the channel [18:27] nerdfiles1 has joined the channel [18:28] jimmysparkle has joined the channel [18:28] jkridner has joined the channel [18:29] rklancer has joined the channel [18:29] MartinCleaver has joined the channel [18:29] MartinCleaver has joined the channel [18:33] mikeal has joined the channel [18:36] hij1nx_ has joined the channel [18:36] jorenl_ has joined the channel [18:36] FredrIQ has joined the channel [18:37] yaymukund has joined the channel [18:37] jorenl_: Hey all - I'm looking for an easy way to really just use a javascript object as permanent storage. mongodb seems so overblown for what I'm trying to do... [18:37] benvie: redis [18:37] benvie: er n, [18:37] benvie: permanent [18:37] benvie: nevermind [18:37] jorenl_: I thought about keeping the object in memory and writing a json.stringify to a file every now and then but that seems a bit nasty :P [18:39] Cromulent has joined the channel [18:39] AviMarcus: sqlite? [18:40] AviMarcus: the system should ram-cache the file anyway, if there's room. depends on how complicated your use case is. [18:40] jorenl_: I have a mysql server set up, I could theoretically use that. [18:40] AviMarcus: ok..? [18:40] aslant has joined the channel [18:40] jerrysv: benvie: you can permanent on redis [18:40] warz: why not something like redis? you want permanent storage, but think mongo is too overkill? [18:41] yaymukund: doesn [18:41] yaymukund: redis can write to disk periodically, so it might be appropriate [18:41] jerrysv: benvie: http://redis.io/topics/persistence [18:42] st_luke has joined the channel [18:42] dilvie has joined the channel [18:43] jerrysv: jorenl_: maybe https://github.com/indutny/bplus once it matures? [18:43] benvie: yeah I thought there might be a way to persist redis [18:44] jerrysv: benvie: still if mongo is considered "overkill", i wonder if redis might be too in this case [18:44] benvie: I dunno, if redis is overkill than almost anything is [18:44] benvie: besides...JSON and in-JS object storage [18:44] nvoyager has joined the channel [18:44] EvRide has joined the channel [18:45] redir has joined the channel [18:45] dreen has joined the channel [18:46] skylamer` has joined the channel [18:47] ag4ve: lets see, you could setup a domain (dyndns maybe?). store a text record in your domain and do a lookup on someone else's name server and that should persist for the length of the record's ttl :) [18:47] ag4ve: oh, and you can store whatever you want there too. only 1k chars, but... [18:48] joshfinnie has joined the channel [18:48] ag4ve: ... oh, darn, it's that permanent storage thing again. nevermind :) [18:49] vkandy has joined the channel [18:49] plato has joined the channel [18:50] whitman has joined the channel [18:50] isaacs: hydrozen: try this: [18:50] isaacs: hydrozen: sudo rm -rf ~/.npm [18:51] isaacs: hydrozen: curl http://npmjs.org/install.sh | sh [18:51] isaacs: (or fetch and run manually) [18:51] plato: Hi all [18:51] plato: i'm new to node. i'm working on a project to map webs of trust [18:52] mertimor has joined the channel [18:52] plato: I'm hoping someone can give me some ideas of what to do next. I just wrote this (regular JS) code to display a hex grid: http://jsfiddle.net/9YndA/ [18:52] marcostoledo has joined the channel [18:53] overthemike has joined the channel [18:53] plato: I have ruby code that I'll eventually call with node to get information about what to plot (i'll be plotting nyms and the trust relationships that link them eventually.) [18:53] overthemike has left the channel [18:53] mehlah has joined the channel [18:54] plato: so on the client side I need to check stuff like mouseovers on each hex, clicks, keyboard input, then do stuff (possibly in ruby) server side, and tell the client what to put there [18:54] onar has joined the channel [18:54] hydrozen: @isaacs: I went a bit more hardcore and removed /usr/local/lib/node_modules/ [18:54] take_cheeze has joined the channel [18:54] plato: this is my first project both in node and js so I don't really know where to begin. socket.io sounded useful [18:54] isaacs: hydrozen: that IS hardcore. [18:54] isaacs: hydrozen: does a clean reinstall work? [18:54] TheFuzzball has joined the channel [18:55] rlidwka: plato: you have js on the client side and node on the server side. Where is a node then? [18:55] hydrozen: @isaacs: hehe, yep that worked… but its like the second time this happens to me. [18:55] plato: eventually, multiple clients will communicate their webs of trust [18:55] hydrozen: @isaacs: seems to happen on every new npm release [18:55] plato: so a person can run this to build his own maps of their trust network, or just share an interesting topography they built [18:56] hydrozen: @isaacs: should I remove my .npm folder too just to be safe? [18:56] AntelopeSalad: is anyone using passport.js here? [18:56] dodo_ has joined the channel [18:56] rlidwka: plato: well... doesnt matter... you have to listen onClick on context [18:56] pokoli has joined the channel [18:56] hydrozen: @isaacs: we are still supposed to use sudo with npm right? [18:57] achiu has joined the channel [18:57] rlidwka: plato: and socket.emit() events there [18:57] isaacs: hydrozen: what is it that you're doing to install npm? (i think this might be a bug that i just fixed recently) [18:57] plato: are there canvas libraries you'd recommend? kinetic? three.js? [18:57] disappearedng has joined the channel [18:57] hydrozen: @isaacs: curl http://npmjs.org/install.sh | sudo sh [18:57] lohkey has joined the channel [18:57] gtramontina has joined the channel [18:57] rlidwka: i'm using plain canvas, dont know libraries' features [18:58] jj0hns0n has joined the channel [18:58] Micius: "curl http://npmjs.org/install.sh | sudo sh" <- omg [18:58] disappea_ has joined the channel [18:58] hydrozen: Micius: i really trust @isaacs [18:58] plato: rlidwka: have you seen these demos? http://mrdoob.github.com/three.js/ [18:58] isaacs: hydrozen: you also really trust your router, and my web host ;) [18:58] isaacs: and everyone in between [18:59] hackband has joined the channel [18:59] hydrozen: but the install doesnt work for me if I don't put that sudo [18:59] Micius: hydrozen: i dont trust tcp so much, sorry :) [18:59] hydrozen: at least last time i tried [18:59] skylamer`: plato its webgl :) [18:59] CIA-19: node: 03Nathan Rajlich 07master * r884a209 10/ doc/api/repl.markdown : docs: document the repl "exit" event (+7 more commits...) - http://git.io/n6bdBQ [18:59] hydrozen: let me try to install from scratch without sudo [19:00] Eruadan has joined the channel [19:00] rlidwka: plato: yes, i've seen them. [19:01] jomoho has joined the channel [19:01] brainss has joined the channel [19:02] rlidwka: but there are nothing there you cant do with canvas, the question is "time to learn library" vs "time to programming" [19:02] mikedeboer has joined the channel [19:02] pizthewiz has joined the channel [19:03] Sadin has joined the channel [19:03] RLa: canvas is weird, coordinates do not match pixels [19:03] madhums has joined the channel [19:03] RLa: that is big wtf for me [19:03] `3rdEden has joined the channel [19:04] rlidwka: do you mean adding 0.5 everywhere? yes, it is [19:04] artusrocha has joined the channel [19:04] RLa: yeah [19:05] kenperkins has joined the channel [19:05] zodiak has joined the channel [19:05] RLa: any idea why it was to behave like that? [19:05] Venom_X has joined the channel [19:05] hydrozen: @isaacs: weird, so now it worked without `sudo sh`. But when installing packages should I sudo or not? [19:05] isaacs: hydrozen: really? whatever. [19:05] isaacs: hydrozen: i mean, sure. you can. it's fine to. [19:06] isaacs: hydrozen: npm *should* leave things user-owned in your home dir, even if you're running things as sudo. [19:06] danroberts has joined the channel [19:06] isaacs: hydrozen: it still creates a few dirs in the cache as root, which is an annoying little bug that i've yet to track down. [19:07] hydrozen: @isaacs: so what's the difference between stuff that it puts into .npm in my home… and stuff that it puts in /usr/local/lib/node_modules for example? [19:07] isaacs: hydrozen: cache vs global install [19:08] Eruadan: -g hydrozen, to global install [19:08] isaacs: hydrozen: npm help folders [19:08] danroberts: hey guys... i'm having some trouble installing compress-buffer with npm on windows... i think it's depending on make build [19:08] danroberts: but log4js is telling me it is a dependency [19:08] hydrozen: @isaacs: thanks, I'll go do some reading I guess :D [19:08] danroberts: a fellow developer installed a couple weeks ago without problem... is this a new change? [19:09] brianleroux has joined the channel [19:09] isaacs: TooTallNate: ping. danroberts says there's a module using wscript or make instead of node-gyp. [19:09] isaacs: TooTallNate: you should not allow this. rain pull requests upon the infidel!! [19:09] Maxani has joined the channel [19:09] illourr has joined the channel [19:10] TooTallNate: isaacs: hey [19:10] TooTallNate: which module? [19:10] plato: danroberts: are you installing it from source [19:10] danroberts: compress buffer [19:10] danroberts: i'm installing from npm [19:10] danroberts: 5.0.1 [19:10] TooTallNate: danroberts: actually, node has zlib built in as of 0.6.x [19:10] TooTallNate: what do you need compress-buffer for? [19:10] plato: have you installed stuff from source on windows? do you have a compiler that NPM can find? [19:10] danroberts: log4js is trying to install it [19:10] danroberts: and its failing [19:11] danroberts: i have the GNU package installed, but I don't know how to point NPM to it [19:11] khrome has joined the channel [19:11] Eruadan: hydrozen, the best to do is sudo chown -R $USER /usr/local [19:11] redir has joined the channel [19:11] TooTallNate: danroberts: well really log4js should be updated to use the internal 'zlib' module [19:11] jj0hns0n has joined the channel [19:12] danroberts: any idea for a quick fix to get log4js installed? [19:12] danroberts: or how to point NPM to my MinGW? [19:13] skylamer`: ьаа [19:13] TooTallNate: danroberts: gyp (the new build system) only supports MSVS [19:13] skylamer`: just add in the path the mingw /bin dirercotry [19:13] TooTallNate: danroberts: additionally, compress-buffer needs to be updated with a .gyp file instead of a wscript [19:14] danroberts: doesn't MSVS come with the node windows package? [19:14] plato: danroberts: you might try adding the package directory to your PATH environment variable. win+pause, advanced system settings, environment variables. its a semicolon separated list [19:14] tjbell has joined the channel [19:14] plato: danroberts: enjoy the win3.1 erra dialog box [19:14] kagoendios has joined the channel [19:14] TooTallNate: danroberts: MSVS is like at least a 500mb download so no [19:14] danroberts: oh i see, it's because compress-buffer isn't using a MSVS compatible script? [19:14] danroberts: ah [19:15] TooTallNate: danroberts: see https://github.com/TooTallNate/node-gyp#readme [19:15] danroberts: mmmk well if I download that will it build compress-buffer? [19:15] kagoendios has left the channel [19:15] TooTallNate: danroberts: not yet, compress-buffer needs a binding.gyp file first [19:15] TooTallNate: i'm looking into writing one now [19:15] TooTallNate: though really, log4js shouldn't use this module period [19:17] riverra__ has joined the channel [19:17] danroberts: cool man, thanks I appreciate the fast response [19:17] mattgifford has joined the channel [19:17] djbell has joined the channel [19:17] TooTallNate: danroberts: log4js only uses this module in one place. i'm gonna fix the source of the problem instead [19:19] bnoordhuis: any people here with centos 5.5 who in the past had trouble getting fs.watch() to work? [19:20] Sadin has joined the channel [19:20] bnoordhuis: more specifically, people with old kernels (2.6.18 or thereabouts) [19:21] insin has joined the channel [19:21] YoY has joined the channel [19:21] sorensen__ has joined the channel [19:24] bartt has joined the channel [19:25] dennisjbell has joined the channel [19:27] bpr` has joined the channel [19:28] veturi has joined the channel [19:28] sandropadin has joined the channel [19:30] Ezku has joined the channel [19:30] gr4yscal_ has joined the channel [19:31] gchristensen has joined the channel [19:31] gchristensen: is there a way to output a line of text right before a SIGKILL takes it down? [19:31] gtramontina has joined the channel [19:32] graeme_f has joined the channel [19:32] RLa: try add signal handler [19:32] tran4 has joined the channel [19:32] tran4: I'm a senior CS undergrad. I applied to a company for co-op and intern positions: http://pastebin.com/LdAH6eaZ Are they good? no reply from company yet but got a call from a recruiter for the same position. shuold i talk to him if I want the position? his ad has $14/hr listed. I live with my parents and they want me to get some work experience this summer. I havent had many replies for my applications so far. [19:33] RLa: what's your experience with real-world projects? [19:33] gchristensen: RLa: yeah, generally SIGKILL can't be trapped or touched, but some systems have implemented hacks around it. wondering if Node had anything special forit [19:34] Maxani has joined the channel [19:34] LarsSmit has joined the channel [19:34] RLa: tran4, their main business is not software? [19:34] panchot has joined the channel [19:34] RLa: hm, why not to apply to some sw company? [19:35] RLa: tho i have had bit better experience in places whose main business was not software :) [19:35] shapeshed has joined the channel [19:35] RLa: gchristensen, can't you use sigterm for process control? [19:35] RLa: i think that behaves better [19:37] nathanielk: tran4: you'd work down the street from me [19:37] danroberts: hey, while on the topic of windows installs... two points. 1. express requires a package 'qs' but npm didn't include it in the dependencies, and 2. I get an error in http.js Cannot read property 'prototype' of undefined... sorry to be a pest, but google is turning up nil [19:37] nathanielk: ACTION is on peachtree  [19:37] gchristensen: RLa: I was just hoping to output a log message when the kernel kiklls node because it ran out of memory, not possible though, so that's ok [19:37] nathanielk: but, tran4, that internship is going to be all MS [19:38] nathanielk: which, imo, is not fun or helpful for a CS student [19:38] nathanielk: i'd look elsewhere and fast. [19:38] Marak has joined the channel [19:39] tran4: nathanielk does the position sound like help desk and no coding at all? [19:40] pizthewiz has joined the channel [19:40] nerdfiles has joined the channel [19:40] RLa: nathanielk, ms? [19:41] Eruadan has joined the channel [19:41] Eruadan has joined the channel [19:41] dekroning has joined the channel [19:42] RLa: too much ms stuff? [19:42] nerdfiles has left the channel [19:42] RLa: yeah, but which places are using node currently :) [19:42] mikedeboer has joined the channel [19:42] _olouv_ has joined the channel [19:42] isao has left the channel [19:43] GJdan has joined the channel [19:45] nathanielk: tran4: you not be hacking. [19:45] nathanielk: tran4: you might write some VB [19:45] robi42 has joined the channel [19:46] isaacs: danroberts: please share more than the error message. there shoudl be a stack or something along with it. [19:46] danroberts: i fixed the problem [19:46] isaacs: danroberts: usually it's best to post the entire output to http://gist.github.com or something else [19:46] isaacs: oh, great :) [19:46] danroberts: npm is not installing dependencies correctly [19:46] raphaelT_ has joined the channel [19:46] `3rdEden has joined the channel [19:46] c4milo1 has joined the channel [19:46] isaacs: danroberts: ok... example? [19:46] isaacs: danroberts: seems to be working for me [19:47] c4milo1 has left the channel [19:47] RLa: nathanielk, got some other place to suggest? [19:47] olivier has joined the channel [19:47] tornad has joined the channel [19:47] RLa: tran4, what is your location? [19:47] danroberts: ah well the specific example was that installing express didn't install 'qs' [19:48] danroberts: @issacs: but then when I did npm list, i had like 5-6 packages that were listed as dependencies but i had to install them individually [19:48] isaacs: danroberts: https://gist.github.com/2031126 [19:48] isaacs: danroberts: that's what i get [19:48] isaacs: and i see this when i npm ls: [19:48] isaacs: ├─┬ express@1.0.7 extraneous [19:48] isaacs: │ ├─┬ connect@1.0.1 [19:48] isaacs: │ │ └── mime@1.2.5 [19:48] isaacs: │ └── qs@0.4.2 [19:48] isaacs: danroberts: can you share your package.json file? [19:49] bnoordhuis: channel spam! ban! [19:49] hydrozen has joined the channel [19:49] skylamer`: thats a old version of express nad connect, isaacs [19:49] bnoordhuis: ACTION sets mode +b on isaacs@* [19:49] isaacs: skylamer`: oh, well, the new one doesn't work on node 0.7 [19:49] fomatin has joined the channel [19:49] danroberts: where is the package.json? [19:49] danroberts: ah [19:50] isaacs: danroberts: "i had like 5-6 packages that were listed as dependencies but i had to install them individually" [19:50] isaacs: danroberts: listed where? [19:50] ircretary: bnoordhuis: come now, you know channel spam is welcome in #Node.js [19:51] rklancer has joined the channel [19:51] Sadin: jsfiddle.net should support node ;) [19:51] danroberts: @issacs: this is what i get when i do npm install express. i'm on windows 7 [19:51] danroberts: https://gist.github.com/26bae12da9b728385f9e [19:51] Sadin: a browser based node playground sweet :D [19:51] tran4: RLa atlanta [19:52] isaacs: danroberts: is qs already installed at that level? [19:52] isaacs: danroberts: `npm ls` <-- waht does taht show? [19:52] patcito_ has joined the channel [19:52] TooTallNate: danroberts: so for log4js, try `npm install https://github.com/TooTallNate/log4js-node/tarball/master` [19:53] gchristensen has left the channel [19:53] danroberts: @issacs: you're correct i had pulled it in individually, now I can't reproduce that [19:53] isaacs: danroberts: if it's at the top level, then express will just use that one [19:54] isaacs: danroberts: since require() walks up the tree [19:54] danroberts: @issacs: i will try to reproduce [19:54] zackattack has joined the channel [19:54] hydrozen has joined the channel [19:55] madtimber_ has joined the channel [19:56] level09 has joined the channel [19:57] mundanity has joined the channel [19:57] baudehlo: since node versions are semver's, how can I test if I'm above a certain node version? [19:57] illourr: trello down for you guys?! [19:57] tmike: baudehlo: check out node-semver [19:58] danroberts: TooTallNate: i get an error: Failed to pars json https://gist.github.com/63112d75b9b21dd747ad [19:58] insin: illourr: WFM [19:58] tran4 has left the channel [19:58] baudehlo: tmike: no simple core way? [19:58] illourr: insin: ah okay thx [19:59] disappearedng has joined the channel [19:59] TooTallNate: danroberts: sorry about that, try again [19:59] danroberts: :) [19:59] tmike: No there's nothing in the core for checking version numbers. [19:59] danroberts: looks good [20:00] argami has joined the channel [20:01] ccare has joined the channel [20:02] larsschenk has joined the channel [20:03] CIA-19: node: 03Artur Adib 07v0.7.6-release * r1cecfee 10/ (3 files in 2 dirs): Doc highlight fix - http://git.io/ITpdZQ [20:03] CIA-19: node: 03Trent Mick 07v0.7.6-release * r1cdadb1 10/ tools/installer.js : issue #2697: have 'make install' set npm shebang to use its node - http://git.io/xYllXA [20:03] CIA-19: node: 03isaacs 07v0.7.6-release * r8b79a31 10/ tools/installer.js : shebang should make file executable as well - http://git.io/zMrVTw [20:03] CIA-19: node: 03isaacs 07v0.7.6-release * r10dc129 10/ (181 files in 26 dirs): Update npm to 1.1.8 - http://git.io/8_2a2A [20:03] CIA-19: node: 03isaacs 07v0.7.6-release * rf06abda 10/ (7 files in 6 dirs): (log message trimmed) [20:03] CIA-19: node: 2012.03.13, Version 0.7.6 (unstable) [20:03] CIA-19: node: * Upgrade v8 to 3.9.17 [20:03] CIA-19: node: * Upgrade npm to 1.1.8 [20:03] CIA-19: node: - Add support for os/cpu fields in package.json (Adam Blackburn) [20:03] CIA-19: node: - Automatically node-gyp packages containing a binding.gyp [20:03] CIA-19: node: - Fix failures unpacking in UNC shares [20:07] danroberts: @issacs TooTallNate: Great, I'm up and running... I removed all my packages under npm and reinstalled and it worked great. I think perhaps the error on log4js got the dependencies of the packages I was installing with the same command to get mixed up. [20:08] danroberts: thanks for the quick support, super awesome [20:08] TooTallNate: danroberts: that's how we roll ;) [20:08] TooTallNate: and you're welcome :) [20:09] isaacs: danroberts: no problem, have fun! [20:10] isaacs: danroberts: m-f daytime PST is usually the choice time to get support in here. [20:10] isaacs: it used to be mostly a weekend/evening spot, but more and more people do node for their 9-5 job nowadays [20:10] larsschenk has left the channel [20:11] slloyd has joined the channel [20:12] vguerra has joined the channel [20:12] gr4yscal_ has joined the channel [20:12] riverrai_ has joined the channel [20:12] vnguyen has joined the channel [20:12] umren has joined the channel [20:13] joshontheweb has joined the channel [20:18] adrianF has joined the channel [20:18] tjholowaychuk has joined the channel [20:19] tvw has joined the channel [20:19] spacesuit has joined the channel [20:20] dnolen has joined the channel [20:21] markwubben has joined the channel [20:22] dnolen has joined the channel [20:22] patcito has joined the channel [20:23] zackattack has joined the channel [20:24] AndreasMadsen has joined the channel [20:24] skylamer`: commonjs, requitejs, gypi i i i [20:25] thinkt4nk has joined the channel [20:25] skylamer`: isaacs, when is the .msi coming out? [20:25] dnolen has joined the channel [20:26] capelio has joined the channel [20:27] cjheath has joined the channel [20:28] eldios has joined the channel [20:28] isaacs: skylamer`: about to build it now [20:29] Saul: hi guys, anyone can recommend news feed code built with nodejs, redis , something very simple with text posts, comments, and likes just that, i'm using this https://github.com/jsoverson/RetwisJS but... [20:30] yawNO has joined the channel [20:30] shapeshe1 has joined the channel [20:33] jj0hns0n has joined the channel [20:35] riverrai_ has joined the channel [20:39] sx2020 has joined the channel [20:39] spacesuit has left the channel [20:40] colinclark_ has joined the channel [20:40] jomoho has joined the channel [20:40] spacesuit has joined the channel [20:40] Maxani has joined the channel [20:42] sx2020: Imagine the following situation: I have a website displaying twenty timers and each has a start/stop button. If users are logged in, they can start and stop any of the timers at will. The challenge is to synchronize the updating display across all connected clients. [20:42] sx2020: Will redis pub/sub over socket.io be a good solution for this? [20:42] stagas has joined the channel [20:43] mattgifford has joined the channel [20:43] marcostoledo has joined the channel [20:44] riverra__ has joined the channel [20:44] mattgifford has joined the channel [20:45] birdbot has joined the channel [20:45] riverr___ has joined the channel [20:45] jorenl_ has joined the channel [20:49] euforic has joined the channel [20:49] gr4yscal_ has joined the channel [20:51] baudehlo: you can just use socket.io if you don't expect many clients. [20:51] baudehlo: (and by many I mean a few thousand) [20:52] colinclark_ has joined the channel [20:53] onar has joined the channel [20:53] stagas has joined the channel [20:53] sx2020: so if I have 2000 clients, theoretically how fast could the timers be updating synchronously across clients assuming ~20pubs/second? every second, tenth of second? [20:54] sx2020: Let me rephrase that [20:57] bkaney has joined the channel [20:57] sx2020: I guess I'm confused about the rate capabilities of sockets. So let's say 100 users each have one timer that displays to the millisecond, so "1:04.400" would be 1 minute 4.4 seconds. if I want 2000 clients to have a real-time dashboard displaying the total time elapsed on all 100 timers. [20:58] TimTim` has joined the channel [20:59] sx2020: How frequently could I send updates from the client to server and vice-versa? [21:01] sx2020: 100 users would have new information one thousand times a second.. obviously you cannot push every one of these updates to the server. [21:02] Axsuul has joined the channel [21:03] onar has joined the channel [21:03] jorenl_: sx2020: I'm not a pro, but I think you should just as frequent as your application needs. Updates every 0.001 second will probably not be relevant. [21:03] Paul___ has joined the channel [21:04] sx2020: So I set an interval of say 500ms for each client to "publish" an update? [21:04] CIA-19: node: 03isaacs 07master * r73c8746 10/ (387 files in 51 dirs): Merge branch 'v0.7.6-release' - http://git.io/JbX7RQ [21:04] CIA-19: node: 03isaacs 07master * rbda08bf 10/ src/node_version.h : Now working on 0.7.7 - http://git.io/dqydLw [21:04] CIA-19: node: 03isaacs 07master * rf06abda 10/ (7 files in 6 dirs): (log message trimmed) [21:04] CIA-19: node: 2012.03.13, Version 0.7.6 (unstable) [21:04] CIA-19: node: * Upgrade v8 to 3.9.17 [21:04] CIA-19: node: * Upgrade npm to 1.1.8 [21:04] CIA-19: node: - Add support for os/cpu fields in package.json (Adam Blackburn) [21:04] CIA-19: node: - Automatically node-gyp packages containing a binding.gyp [21:04] CIA-19: node: - Fix failures unpacking in UNC shares [21:04] CIA-19: node: 03isaacs 07master * r10dc129 10/ (181 files in 26 dirs): Update npm to 1.1.8 - http://git.io/8_2a2A [21:04] level09: how does node filewatch work ? [21:04] enmand has joined the channel [21:04] jorenl_: sxs2020: it depends on your application. It might be more relevant to send event-based updates [21:04] riverrai_ has joined the channel [21:04] level09: does it use the os kernel ? [21:06] HardFu has joined the channel [21:07] tmcw has joined the channel [21:07] jorenl_: sx2020: if your application is something that changes continuously, like some games for example, you could send time based updates. If your client-side changes depend on user interaction (e.g, clicking some buttons, moving stuff around your screen, ...) it's probably better to send event-based updates to the server. [21:07] kinow has joined the channel [21:07] mansoor has joined the channel [21:07] Paul___ has joined the channel [21:08] rlidwka: level09: are you talking about fs.watch? then yes, it uses kernel's INOTIFY subsystem [21:08] rlidwka: (on linux of course) [21:08] illourr1 has joined the channel [21:09] jetienne has joined the channel [21:10] level09: rlidwka: then it has a fallback on mac and windows ? [21:11] sx2020: jorenl_: thanks [21:11] rlidwka: level09: there is always fallback with timers that works everywhere [21:11] level09: I have a problem when watching a directory [21:11] joshsmith has joined the channel [21:11] rlidwka: but about kernel features... i dont know, dont care about win :) [21:11] level09: some big files are being pushed from our video system [21:11] level09: I cant figure out when the transfer is completed [21:12] level09: should I monitor the file size ? [21:12] level09: how do I know that the copy operation is complete ? [21:12] TheJH has joined the channel [21:12] TheJH has joined the channel [21:13] st_luke has joined the channel [21:13] rlidwka: level09: your system is probably working wrong. Could you make push to temporary directory (which is not watched) and then move it (it's atomary operation)? [21:13] dreen has left the channel [21:14] level09: rlidwka: I will need to watch the temp directory then [21:14] level09: but I dont have control over the source software [21:14] level09: what I get is big files, the size increments with time , until the file is completely transferred [21:14] level09: I was thinking of watching the size / modifed date [21:14] level09: but dont think it is a good solution [21:15] rlidwka: no... client can just shut up a minute and resume then [21:15] rlidwka: can you use logs? [21:15] rlidwka: parse them [21:15] disappearedng has joined the channel [21:15] level09: which logs specifically ? [21:15] shinuza has joined the channel [21:16] level09: what I have is Avid Newscutter (windows machine) pushing videos to a shared samba dir on linux [21:16] rlidwka: logs of software that handles file uploading (it should write somewhere) [21:16] josh-k has joined the channel [21:16] rlidwka: samba logs? [21:16] level09: rlidwka: even if there are , they are on a different (windows) machine [21:16] level09: should I monitor samba logs ? [21:16] sandfox has joined the channel [21:16] level09: never thoguht about that actually [21:17] jorenl_: level09: the samba logs are on the machine hosting samba, so they could tell you about uploads. [21:17] rlidwka: well... it's quite possible that samba reports successful upload [21:17] tokumine has joined the channel [21:17] level09: but then my code will be coupled with samba [21:17] level09: imagine we use a different sharing method [21:17] nodokodo has joined the channel [21:17] level09: it would be nicer to have watcher detect the operation regardless of the sharing method [21:18] level09: but I will surely consider that solution [21:18] Lorentz has joined the channel [21:19] rlidwka: level09: you also can watch for creation date and attributes. [21:20] rlidwka: many servers set current time and mode 0600 for uploading process [21:20] rlidwka: and change it after it's finished [21:20] rlidwka: popular behaviour, not guaranteed though [21:22] robi42 has joined the channel [21:23] Cromulent has joined the channel [21:27] garrettsmith has joined the channel [21:27] garrettsmith_ has joined the channel [21:27] garrettsmith has left the channel [21:31] dudeinthemirror has joined the channel [21:31] shanebo has joined the channel [21:32] shanebo: any node SA's in here? [21:32] mansoor: no [21:32] shanebo: :) [21:32] mansoor: we banished them from this channel [21:33] athox: SA? [21:35] brianseeders has joined the channel [21:35] shanebo: athox sys admin [21:35] AvianFlu: shanebo, you should just ask your question :D [21:35] shanebo: AvianFlu having terrible memory leak with nodejitsu proxy [21:36] shanebo: I don't even know where to begin though. so figured i'd ask an sa. [21:36] mmalecki: shanebo: `node -v`? [21:37] mmalecki: shanebo: I recall that one node version leaked some stuff related to http [21:38] shanebo: mmalecki checking [21:38] AvianFlu: <0.6.9 [21:38] chasewg has joined the channel [21:38] adrianF has joined the channel [21:41] shanebo: mmalecki I think we're on 0.6.8 but waiting on backend dev to verify [21:42] HardFu: anyone using Backbone? [21:42] mmalecki: shanebo: upgrade it [21:42] artusrocha has joined the channel [21:42] shanebo: mmalecki, actually we're on 0.6.12 [21:43] eee_c has joined the channel [21:43] shanebo: mmalecki also worth noting we're using node http server and socket.io [21:43] mmalecki: shanebo: I see. hm, we aren't seeing any leaks, how many reqs/h are you guys handling? [21:44] shanebo: mmalecki a couple hundred maybe [21:45] kriskowal has joined the channel [21:45] mmalecki: shanebo: we're definitely handling more and not really seeing any leaks... can you post an issue with all the details? [21:45] kjeldahl has joined the channel [21:46] shanebo: mmalecki you guys using socket.io with an http server? [21:47] mmalecki: shanebo: oh, a little background, we === nodejitsu [21:47] mmalecki: so, yeah, lots of socket.io [21:47] plainprogrammer has joined the channel [21:47] shinuza has joined the channel [21:48] shanebo: mmalecki awesome, so what I'm doing is adding sockets into a room [21:48] shanebo: mmalecki and then dealing with that room when needed within a route action [21:49] Eruadan: hi, any info about documentation for the blog looseleaf? i cannot find documentation for it [21:49] shanebo: mmalecki meet plainprogrammer, the sa/backend dev on the project we're dealing with [21:49] Eruadan: https://github.com/tnantoka/LooseLeaf#readme [21:51] relling has joined the channel [21:51] shanebo: mmalecki what details should we post to issues? [21:51] Octayn has left the channel [21:51] CarterL: Eruadan: the source is probably the docs [21:52] mmalecki: shanebo: traffic specifics (what you said about socket.io, number of reqs), how bad does it leak (amount of memory leaked, time needed for it to leak) [21:52] mmalecki: AvianFlu: can you think of anything else ^ ? [21:53] jxson has joined the channel [21:54] shanebo: mmalecki will a bad implementation of socket.io cause leaks in proxy? or would they be unrelated? [21:55] bosphorus has joined the channel [21:55] mmalecki: shanebo: I don't think so, it shouldn't [21:55] atomicstack has joined the channel [21:55] joshwines has joined the channel [21:57] khrome has joined the channel [22:01] diva has joined the channel [22:02] Eruadan: CarterL, hi, yes, i was looking the source now. I installed and everything [22:03] robotblake has joined the channel [22:03] robotblake has joined the channel [22:03] Eruadan: but there's a login built in, wich i don't know wich user must be. [22:04] Poetro has joined the channel [22:04] Poetro has joined the channel [22:04] tomnewmann has joined the channel [22:04] dgathright has joined the channel [22:04] pendlepants has joined the channel [22:04] jdeibele has joined the channel [22:04] Eruadan: this is the only info after install https://github.com/tnantoka/LooseLeaf/blob/master/skeleton/config.json , wich i configured, but i cannot see the user name [22:05] isaacs has joined the channel [22:05] Swizec has joined the channel [22:05] EhevuTov has joined the channel [22:06] hlomas has joined the channel [22:06] ceej has joined the channel [22:06] ajcates has joined the channel [22:06] n26 has joined the channel [22:08] Drevokocur has joined the channel [22:08] caioketo has joined the channel [22:08] magn3ts has joined the channel [22:08] exos_ has joined the channel [22:08] darrenlooby has joined the channel [22:09] paulbaumgart has joined the channel [22:09] diogogmt has joined the channel [22:10] FACEFOX has joined the channel [22:11] Magiobiwan has joined the channel [22:11] Magiobiwan has joined the channel [22:13] hellp has joined the channel [22:14] Nohryb has joined the channel [22:15] spcshpopr8r has joined the channel [22:16] michaelhartau has joined the channel [22:16] bicranial has joined the channel [22:16] sx2020: What is a good alternative to Nginx for deploying socket.io / expressjs app? [22:18] gtramontina: quick googled it and found http://blog.mixu.net/2011/08/13/nginx-websockets-ssl-and-socket-io-deployment/ [22:19] crutex has joined the channel [22:19] crutex has joined the channel [22:19] sx2020: yeah I was actually just on that page [22:19] gtramontina: sx2020: stunnel, stud and pound [22:19] gtramontina: yeah.. [22:19] sx2020: it's like 8 months old so I was hoping there were more sophisticated solutions by now [22:19] sx2020: seems pretty bootleg [22:20] gtramontina: do you mean using nginx? [22:21] sx2020: no, nginx won't work with websockets. i mean it seems bootleg to have to configure stunnel and haproxy manually [22:21] gtramontina: i see, and agree! :-) [22:23] AvianFlu has joined the channel [22:24] stonebra_ has joined the channel [22:25] bkaney has left the channel [22:25] Drevokocur has left the channel [22:31] enmand has joined the channel [22:33] viven has joined the channel [22:33] akasha has joined the channel [22:35] westg has joined the channel [22:36] cjlicata has joined the channel [22:37] NuLLedge has joined the channel [22:37] romain_ has joined the channel [22:38] ^robertj has joined the channel [22:38] viven: hi all, i am a begineer on node.js and have a query.. [22:39] bvmount has joined the channel [22:39] jlaire has joined the channel [22:39] viven: is it possible that some sort of bad request could cause the node.js app to crash? [22:39] blup has joined the channel [22:40] broofa_ has joined the channel [22:41] initohen: bad request from a web client? [22:41] initohen: it's certainly possible; more likely it's a problem with the code that you wrote than the code in node.js but either could be [22:41] initohen: bugs are bugs after all :) [22:43] viven: since, it has a single-process model, if the process stops 'coz of some bad request, the app will crash right? [22:43] Sami_ZzZ has joined the channel [22:44] bradleyg has joined the channel [22:44] viven: initohen: yes, from a web client [22:45] brianleroux has joined the channel [22:45] stonebranch has joined the channel [22:45] Eruadan has joined the channel [22:46] tilgovi has joined the channel [22:46] briancray has joined the channel [22:47] stafamus has joined the channel [22:49] lmorchard has joined the channel [22:50] initohen: nothing to keep you from restarting it, but yes, something like that [22:50] spolu has joined the channel [22:51] sx2020 has left the channel [22:51] spolu: anyone would know of a magical way of doing a multipart file upload to a remote server using node.js and a read stream to a file? [22:52] viven: initohen: does a bad request affect alteratives to node.js, like apache? [22:53] initohen: a bug is a bug is a bug [22:53] initohen: behavior is undefined [22:53] halfhalo has joined the channel [22:53] viven: 'coz apache can spawn threads and get away from it, right? [22:53] initohen: if by 'bad request' you mean 'poorly formatted http' [22:53] initohen: then no, a poorly formatted http request [shouldn't] crash any webserver [22:53] initohen: if you mean 'a request that triggers an error in the code', then who knows what will happen [22:53] bijeoma has joined the channel [22:54] tommyvyo has joined the channel [22:54] bijeoma: hello [22:54] initohen: if your question is, "is node.js more or less reliable than apache", which seems to be what you're getting at, then you should ask that instead :) [22:54] bijeoma: how can i create a basic 1 server multi client app [22:55] joshgillies has joined the channel [22:55] bijeoma: ive already create 1 using socketio that runs locally [22:56] rlidwka: hmm... by the way, do node have any progress with domains? I mean error handling, Ryan Dahl said something about that [22:56] bijeoma: client a emits a message to server and server emits a message to client b [22:56] level09 has joined the channel [22:56] bijeoma: instead of setting up a http server i use var io = require('socket.io').listen(process.env.PORT || 1337); [22:56] viven: initohen: hehe, we have just started, have a few questions in mind... [22:56] raphaelT_ has joined the channel [22:56] jorenl_: Any idea on how to "simulate" or cause connection trouble for socket.IO? :) session reconnects are a risky part of my code and I'm trying to find a way to test it (that is not waiting for hours until the connection drops for a moment) [22:57] sandfox: turn off the network on your client? [22:57] initohen: clicknewk.exe!!! [22:57] initohen: :P [22:57] rlidwka: jorenl_: just unplug a cable :) [22:58] jorenl_: I'm using my "client" for development too :) [22:58] initohen: i wonder if that would even work, but if so you could "simulate" all sorts of icmp errors [22:58] initohen: i mean, work on NT based systems [22:58] jocafa: set the server on fire [22:58] sandfox: drop a lossy proxy in the way? [22:58] jocafa: [22:58] rlidwka: Unfortunately, breaking own network is muuuuch easier than maintaining it's up state [22:58] duncanbeevers has joined the channel [22:59] terite has joined the channel [22:59] viven: initohen: so, a poorly formatted http request cannot crash node-based app, right? [22:59] Maxani has joined the channel [22:59] initohen: i didn't say that [22:59] initohen: i said shouldn't [22:59] jorenl_: hm wait - do alerts pause javascript execution? [22:59] initohen: if you write the app poorly you can make anything crash [22:59] rlidwka: yes it does [22:59] jorenl_: client side? if so I could just open an alert box and wait for some timeout to pass server side and see what happens [22:59] initohen: there is a smaller possibility of undiscovered bugs in node itself, which is a possibility that exists in any software [23:00] booo has joined the channel [23:00] sandfox: Can anyone please help a tired and losing-the-plot developer on this SO question:http://stackoverflow.com/questions/9693114/stateful-interprocess-communication-for-node-js [23:00] rlidwka: jorenl_: yeah, server should break connection by timeout i think [23:00] initohen: without knowing anything about your situation i can hardly make a recommendation, but i probably don't have enough info to consider all the factors anyway [23:00] kermitPT has joined the channel [23:01] initohen: heh socket.io [23:01] initohen: if you get the most recent version it'll disconnect on its own with the default settings whether you want it to or not [23:01] initohen: ;) [23:01] initohen: there is a function you can call client-side to drop the connection in fact [23:01] initohen: why not just use that [23:01] initohen: you're not testing specific error conditions, just reconnection yes? [23:01] heatxsink has joined the channel [23:01] jorenl_: there's a client side function to reconnect but my server app is armed against that [23:02] initohen: (specific error conditions meaning: connection timeout, network unreachable, whatever) [23:02] rlidwka: he is [23:02] wavded has joined the channel [23:02] Jaylee_ has joined the channel [23:02] initohen: socket.io reconnects on its own afaik? [23:02] aron_ has joined the channel [23:02] initohen: you shouldn't have to write any code [23:02] initohen: are you wanting to prevent this behavior? ('armed against it'?) [23:02] jorenl_: initohen: it "reconnects" meaning it starts a new session [23:02] Vespakoen has joined the channel [23:03] viven: initohen: oh, ok...thanks mate...haven't faced any situations as of yet...we are planning out the tech stack to use...had this query on head : ) [23:03] jorenl_: acting as a new client for the server which is not what I want, so it at least needs some sort of handshake to tell the server someone reconnected [23:03] beawesomeinstead has joined the channel [23:03] phoneguysa has joined the channel [23:04] initohen: cookies? [23:04] initohen: the web socket is a new web socket 'session', but it doesn't have to be a new php session, or whatever [23:04] initohen: keep a session identifier handy, emit an event on connect [23:04] initohen: "this is my id guise hi!" [23:04] initohen: ??? profit? [23:05] ryanseddon has joined the channel [23:05] initohen: viven: choose the technology that best suits what you're writing :P [23:05] brianseeders has joined the channel [23:06] jorenl_: well it's not PHP anyways :) In my app you have rooms. And from a user point of view there's a clear distinction between someone leaving/joining for real or someone just having connection issues [23:06] magn3ts has joined the channel [23:06] initohen: i was just using it as an example. obviously if the connection breaks you can't get it back [23:06] jorenl_: initohen: if that "profit???" was for me then, no, not for profit :) [23:06] initohen: all you have to do is store some information that identifies it as the same user [23:06] initohen: and .. use that to identify the user on reconnect [23:06] initohen: i'm confused as to the difficulty here [23:06] jorenl_: initohen: yes, that's what I'm doing :) [23:07] rlidwka: jorenl_: so if someone disconnects, you're keeping him virtually "alive" for some time? how long? [23:07] Destos has joined the channel [23:07] jorenl_: initohen: the question I started with wasn't related to how I should be doing the reconnects :) [23:07] dleary has joined the channel [23:07] initohen: neither was the answer i gave, which was to utilize the disconnect mechanism in the socket.io client [23:07] jorenl_: i'm indeed trying to emulate some error conditions. [23:07] jorenl_: ok :D [23:07] initohen: it has a timeout [23:08] initohen: after the timeout expires it disconnects if no data has happened etc. [23:08] initohen: just find what it calls and call that, it reconnects automatically [23:08] jorenl_: rlidwka: currently, I added another 10 seconds timeout after the socket.IO disconnect event which is not reliable. [23:08] figital has joined the channel [23:08] viven: initohen: ok :) [23:08] svnlto has joined the channel [23:08] remysharp has joined the channel [23:08] rauchg has joined the channel [23:08] rlidwka: what does mean "not reliable"? [23:08] initohen: (if reliability IS a big concern, then choose the most battle-tested stuff at the expense of making it easy / convenient to write ;p) [23:09] Drevokocur has joined the channel [23:09] jorenl_: rlidwka: apparently, socket.IO's automatic reconnects often happen before the disconnect event gets triggered server side [23:09] jorenl_: so you end up having multiple session living concurrently for the same user and I personally find it rather challenging to deal with :) [23:10] initohen: when someone connects and a session exists, disconnect the old one [23:10] Raynos has joined the channel [23:10] initohen: or at least authenticate first [23:10] Crowb4r has joined the channel [23:10] jorenl_: initohen: haha, I'm not looking for reliability, it should just be reliable usable and not failing most of the time :) [23:10] oal has joined the channel [23:10] jeremyselier has joined the channel [23:10] initohen: i was saying that to viven :) [23:10] initohen: btw is it disconnecting frequently for you? [23:10] rlidwka: It should not be challeging. You are supporting multiple connections (from different windows/tabs), dont you? [23:10] teadict: tell me the flow control lib of your preference! [23:11] initohen: i just ran down a bug in the latest version that causes that to happen [23:11] teadict: node.flow? [23:11] relix has joined the channel [23:11] jorenl_: initohen: Sometimes it doesn't happen for hours, sometimes it happens after a while for me, some people seem to be having these disconnects ever 20 seconds or even less [23:11] BrianE has joined the channel [23:11] initohen: what version are you on [23:11] jorenl_: rlidwka: I'm not supporting multiple connections to the same "room" currently. [23:12] initohen: when they added client side timeouts [23:12] initohen: they defaulted the timeout to the same as the ping interval [23:12] initohen: so they will indeed disconnect every seconds [23:12] rlidwka: users have a habit to have very bad inet connection yeah xD [23:12] initohen: as the ping doesn't arrive by the time the client timer goes off [23:12] initohen: you can set the client timeout to be longer than the ping interval to mitigate this :) [23:12] initohen: ping = heartbeat [23:12] sh1mmer has joined the channel [23:13] jorenl_: hm. [23:13] rlidwka: thats what socketio does [23:13] jorenl_: I'm experiencing different sorts of connection trouble and I'm losing track of what is happening when sometimes [23:13] rlidwka: his problem is: timeout happens when user is reconnected already xD [23:14] initohen: yeah, i was just asking because it's definitely a bug in the most recent one [23:14] jorenl_: I've even had the "disconnect" event happen when the currrent session on the server just keeps alive and working. [23:14] initohen: huh, lol [23:14] teadict: tell me the flow control lib of your preference! please! [23:14] initohen: i like IF! [23:14] teadict: NO U [23:14] initohen: sometimes WHILE is useful as well [23:14] initohen: maybe there is an IFWHILE library? :) [23:15] mintbridge_ has joined the channel [23:15] rlidwka: teadict: async (if that's what you mean) [23:15] jorenl_: yeah, so the server detects a disconnect event, sends the clients in a room a message like "John Applepie has left.", and John Applepie receives this message too but he can just keep using the application. [23:16] miccolis has joined the channel [23:16] daleharvey has joined the channel [23:16] marcostoledo has joined the channel [23:16] teadict: rlidwka: you have a github link? [23:17] rlidwka: my profile? yes, same nick there [23:17] teadict: no, to the async lib repo [23:17] JSONB has joined the channel [23:17] teadict: you watched it? I'll saerch your profile then [23:17] rlidwka: npm install async ? [23:17] rtgibbons has joined the channel [23:17] teadict: but I wanna know how to use it too ): [23:18] rlidwka: http://search.npmjs.org/#/async [23:18] teadict: ah, npm search, dammit, thanks [23:18] rlidwka: https://github.com/caolan/async - and this link you could find there :) [23:18] jorenl_: rlidkwa: why were you asking about supporting concurrent sessions in different tabs? should I support them? [23:19] teadict: rlidwka: thanks, I'll use that one [23:19] c4milo has joined the channel [23:19] rlidwka: jorenl_: i dont know your use case, but usually people wants to keep different tabs [23:19] fomatin has joined the channel [23:20] jorenl_: rlidwka: well, I don't think the want to in my case. every room plays music basically, and two rooms open at the same time doesn't quite sound nice :) [23:20] bwen has joined the channel [23:20] rlidwka: hm... then just disconnect all user connections when new is established [23:21] nym has joined the channel [23:21] Joeysomo has joined the channel [23:21] rlidwka: * all other connections from this user [23:21] rklancer has joined the channel [23:22] teadict: rlidwka: so, if I want to send to the client a dataset after a bunch of queries all ended, I'd use async.parallel(), right? [23:22] teadict: that's all I need actually [23:22] robb1e_ has joined the channel [23:22] rlidwka: yep [23:22] teadict: thank you [23:23] lmatteis has joined the channel [23:23] Vespakoen has left the channel [23:24] tomnewmann has joined the channel [23:24] strmpnk has joined the channel [23:24] Fabryz has joined the channel [23:27] _th_n has joined the channel [23:28] Nomon__ has joined the channel [23:29] sphinxxx has joined the channel [23:29] tk has joined the channel [23:29] Brunoz has joined the channel [23:30] Eruadan has joined the channel [23:31] fcoury has joined the channel [23:33] ryanj has joined the channel [23:34] tokumine has joined the channel [23:35] willwhite has joined the channel [23:38] iangreenleaf: I just got massively shot in the foot by my require.extensions being overwritten by a sub-sub-module. Is this something other folks are aware of? [23:38] sveisvei has joined the channel [23:40] iangreenleaf: My app requires 'iced-coffee-script', which registers the .coffee and .iced extensions. But then I require 'zombie', which in turn requires 'coffee-script', and that seems to overwrite the .coffee registration for my own app. [23:40] achiu1 has joined the channel [23:40] joshfinnie has joined the channel [23:43] xaq has joined the channel [23:44] sirPuppy31 has joined the channel [23:44] Venom_X has joined the channel [23:44] tds has joined the channel [23:45] baudehlo has joined the channel [23:46] CoverSlide has joined the channel [23:48] dthompso99 has left the channel [23:50] initohen: from the namse of it, i'd think "iced coffee script" would fill the "coffee script" requirement too [23:50] initohen: and from the website: "icedcoffeescript is a superset of coffeescript" [23:51] initohen: also i'm not a fan of coffeescript but i sure like this await command :) [23:51] Joeysomo has joined the channel [23:52] jsurfer has joined the channel [23:52] initohen: anyway, iced-coffee-script should be able to satisfy the requirement for zombie.js, maybe you can sweet talk it [23:53] bingomanatee_ has joined the channel [23:53] iangreenleaf: initohen: It certainly would, but zombie.js doesn't know about it (fair enough), and requires a coffeescript that's a local dependency for zombie.js (also fair enough) [23:54] initohen: yeah, i don't know a lot about the dependency resolution, just sayin you can probably hack it to work [23:54] iangreenleaf: The problem is that dependency of a dependency then gets ahold of my same global require object :( [23:54] initohen: heh, i've been hacking on zombie myself recently [23:54] phoneguysa has left the channel [23:54] initohen: i'm a little confused actually [23:54] initohen: it should be fine if coffee-script handles .coffee [23:55] initohen: if what you need is "iced-coffee-script" shouldn't you require "iced"? [23:55] initohen: from your statement it sounds like iced-coffee-script is registering itself as a handler for coffee-script, which seems correct [23:55] limmy has joined the channel [23:55] iangreenleaf: initohen: Well, I name my iced-coffee files .coffee too :) Usually that works fine, until this happened. [23:55] initohen: but at the same time, if coffee-script registers itself as a handler for coffee script there's no issue [23:55] iangreenleaf: So my .coffee files have await calls in em [23:55] initohen: sounds like you named them wrong ;p [23:56] initohen: a rename command will fix that yes? [23:56] miccolis has joined the channel [23:56] tmike has joined the channel [23:56] iangreenleaf: initohen: Yeah, and that's probably what I'm gonna do for right now. Just wondering about an actual solution. [23:56] initohen: i wonder if there's something about that provides this await syntax without the coffeescript stuff [23:56] initohen: i guess i disagree that there is a problem [23:56] initohen: the problem seems to be that you named your files wrong / required the wrong thing [23:57] tmike: initohen: just see what the about statement compiles to? [23:57] initohen: tmike: but then i'd have to write it that way ;) [23:57] initohen: it probably compiles to a bunch of callbacks [23:57] tmike: indeed [23:57] iangreenleaf: initohen: Imagine if my project requires 'iced-coffee-script' instead - that would overwrite the .coffee extension in the other direction. [23:57] tmike: I guess I don't mind the callbacks so much. [23:58] sirPuppy31 has left the channel [23:58] initohen: iangreenleaf: which would also be fine, because iced-coffee-script can supply interpretation for coffee-script [23:58] initohen: tmike: i don't really either, but the other day i was writing a bunch of them and thought "hey, i wonder why they don't do this a better way" [23:58] iangreenleaf: initohen: Actually, even better - imagine my module requires an outdated version of coffeescript. You require my project, and suddenly your new coffeescript features don't work. [23:58] initohen: hehe [23:59] initohen: if i require your project, i would be aware of your project's constraints and not disappointed if they got in my way [23:59] initohen: tmike: i wrote a little scripting language in mirc a long time ago that let me do something similar and it was extremely useful [23:59] tmike: fun [23:59] iangreenleaf: initohen: Seems like a tall order. Remember, this can be if you require a module and *that* module requires my module. [23:59] niftylettuce has joined the channel [23:59] initohen: if i require a, a requires b, b requires c, and c requires old-d [23:59] recur has joined the channel