[00:01] smtlaissezfaire has joined the channel [00:01] replore has joined the channel [00:01] replore_ has joined the channel [00:02] mtsl has joined the channel [00:02] broofa has joined the channel [00:02] jonnytran: i'm having some trouble installing socket.io [00:02] jonnytran: googling the error, people have said "you have a bad version of tar" [00:03] jonnytran: sorry if i'm a newb, but what does this mean? [00:03] jmoyers: you are installing with npm? [00:03] jonnytran: yeah [00:04] Wa has joined the channel [00:04] jmoyers: tar is an archiving utility [00:04] jmoyers: npm uses tarballs, pretty sure. so sounds like you have a version of tar that has a bug in it [00:04] isaacs has joined the channel [00:05] JSManiacs has joined the channel [00:06] reid has joined the channel [00:07] dynacker: caballs [00:09] pizthewiz has joined the channel [00:10] jonnytran: jmoyers: okay, thanks for the help... trying to update tar now [00:13] rocktronica has joined the channel [00:14] MUILTFN has joined the channel [00:15] Beginner has joined the channel [00:15] Beginner: hi [00:15] Beginner: i'm looking for the way to use img file [00:16] Beginner: in my DOM [00:16] Beginner: way a relative way [00:16] Beginner: (sorry my english is'nt perfect) [00:16] Beginner: with* [00:16] jonnytran has joined the channel [00:18] rocktronica has left the channel [00:21] jonaslund_ has joined the channel [00:21] kawaz_home has joined the channel [00:21] quackquack has joined the channel [00:21] quackquack: With mongoose, does the `save` event call on creation and updating, or just creation? [00:22] tk: Beginner: how do you mean? sounds like you are asking about standard html.... [00:23] Beginner: yeah [00:24] Beginner: it's but [00:24] Beginner: with an url like 55.55.55.55:8001 [00:24] Beginner: i don't know how i can call [00:24] Beginner: img.jpg [00:24] Beginner: for exemple [00:25] spathi^ has joined the channel [00:25] CIA-109: libuv: 03Bert Belder 07wintty * rd43240a 10/ (6 files in 2 dirs): win: TTY work - WIP - http://git.io/wudrKA [00:25] Beginner: anything like : [00:25] Beginner: doesn't work [00:25] Beginner: (without the implicit [09:29] Glenjamin: also, why does it say to do "NotFound.prototype.__proto__ = Error.prototype;" ? [09:30] rmzg: DrMcKay: I'd guess the cutoff is somewhere around 1k+, but having embedded arrays kinda sucks for stuff [09:30] Glenjamin: assert.js in core does that too, you can't do AssertionError.call because of it [09:30] littlebiged has joined the channel [09:30] Industrial: subclass, I'm using inherit for that through [09:31] Glenjamin: ah no, assert.AssertionError.__proto__ = Error.prototype; is what assert.js does [09:31] DrMcKay: rmzg++ [09:31] v8bot_: DrMcKay has given a beer to rmzg. rmzg now has 1 beers. [09:31] DrMcKay: I wouldn't be able to paginate it :/ [09:31] rmzg: And searching is hard and stuff [09:31] DrMcKay: rmzg: thanks :) [09:31] Industrial: DrMcKay: I can't do this: a=new Schema({name:String}); b=new Schema({myA: a}) [09:31] junkee[] has joined the channel [09:32] Industrial: this however works fine [09:32] Industrial: a=new Schema({name:String}); b=new Schema({myA: [a]}) [09:32] Industrial: It is thus assumed that relationships are one to many and I can't have a one to one [09:32] DrMcKay: Industrial: yes, it's a known problem, there's an github issue for it, I think [09:32] Industrial: DrMcKay: yes, I made it and it got closed. I was told to use DBRef's instead [09:33] Industrial: but I dont agree with that [09:33] Industrial: I'm not going to create a collection for every one to one relationship I have [09:33] DrMcKay: DBRef != embeeded document [09:33] rendar has joined the channel [09:34] Industrial: a_schema = {name: String} a=new Schema(a_schema) b=new Schema({myA: a_schema}) <-- works [09:34] DrMcKay: Industrial: yeah, that's what I do [09:34] DrMcKay: I'll look into mongoose and see if it's possible to make it sane [09:35] Industrial: I'm depending on it for my work project atm, but sometimes it gets hairy :P [09:35] k1ttty has joined the channel [09:35] Industrial: it was supposed to ease my transition from SQL to k/v store (modeling, thinking about it) [09:36] DrMcKay: (also, it's funny how much time you have when you have your leg in a plaster, I've done like, 10 pull requests) [09:36] amiller has joined the channel [09:36] Industrial: hehe [09:37] DrMcKay: Industrial: and yeah, I use it because we're migrating from Python + Tornado + SQLAlchemy to node.js [09:40] trevogre has joined the channel [09:40] BulletBob has joined the channel [09:41] liveink_ has joined the channel [09:41] jbpros has joined the channel [09:43] vguerra has joined the channel [09:46] guidocalvano has joined the channel [09:46] skm has joined the channel [09:49] jomoho has joined the channel [09:50] NetRoY has joined the channel [09:51] JakeyChan_ has joined the channel [09:53] temp01 has joined the channel [09:56] slifty has joined the channel [09:58] ph^_ has joined the channel [09:58] jbpros has joined the channel [09:58] scott_gonzalez has joined the channel [10:00] codely has joined the channel [10:02] fermion has joined the channel [10:04] socketio\test\53 has joined the channel [10:05] kulor-uk has joined the channel [10:06] shipit has joined the channel [10:06] socketio\test\30 has joined the channel [10:11] TomY has joined the channel [10:14] openpercept1 has joined the channel [10:14] herbySk has joined the channel [10:21] openpercept has joined the channel [10:21] TomY has joined the channel [10:24] socketio\test\12 has joined the channel [10:24] metellus has joined the channel [10:25] Nuck: Guys, I had an idea. [10:25] Nuck: Instead of require.paths, how about the ability to provid our own resolver? [10:26] Nuck: (just for the current process) [10:26] DrMcKay: Nuck: monkey-patch require.resolve?\ [10:26] Nuck: DrMcKay: Is that even possible? [10:26] Ned_ has joined the channel [10:26] DrMcKay: Nuck: sure, should be [10:26] Nuck: And how badly would it break shit? [10:27] Nuck: https://github.com/joyent/node/issues/1125 oooooh [10:27] Nuck: I likey [10:27] augustl: what's the use case? [10:28] Nuck: augustl: Well, in my case, I keep having to do '../../lib/thing.js' [10:28] Nuck: And it's getting really irksome [10:28] augustl: how so? [10:28] DrMcKay: Nuck: in case it doesn't use it, just monkey-patch require [10:28] Nuck: I'd like to just to 'lib/thing.js' and set my project root as the current directory [10:28] Nuck: augustl: Uh, it means I can't move files? [10:28] DrMcKay: Nuck: but you really don't need it [10:29] Nuck: How could that *not* be irksome? [10:29] augustl: do you move files around a lot? [10:29] Nuck: augustl: Hell yeah [10:29] augustl: and if you move files you need to alter requires anyway [10:29] Nuck: augustl: Yes, but I'd rather not have everything relative to the location of file X [10:29] Nuck: I'd want it relative to the root of my project [10:29] Nuck: the current directory at startup [10:30] augustl: how and where would you define that? [10:30] augustl: perhaps it could traverse up the tree for a package.json [10:30] Nuck: augustl: That would be ideal, yeah [10:30] Nuck: Then I wouldn't configure at all [10:30] Nuck: I was just thinking the ability to replace require's resolver would be the simplest solution [10:31] Nuck: But looking for package.json would absolutely be the nicest [10:31] DrMcKay: Nuck: I did monkey-patch require once... [10:32] DrMcKay: Nuck: https://github.com/mmalecki/dmkbot/blob/master/lib/modules/eval-jail.js [10:32] Nuck: Somebody add package.json-based resolving and send a pull request :P [10:32] Nuck: Preferably somebody who signed the paperwork haha [10:32] augustl: I don't understand why relative requires is a problem though [10:33] augustl: perhaps a solution is to not move your files around so much (really) [10:33] FireFoxIXI has joined the channel [10:33] bibabot has joined the channel [10:33] Nuck: augustl: No, that's not a solution. That's a workaround [10:33] DrMcKay: oh man, what happened to this file? [10:33] augustl: Nuck: that's subjective [10:33] DrMcKay: ahh, jheusala :D [10:33] Nuck: You don't see the problem until you have a bigass project [10:34] augustl: Nuck: I have a bigass project [10:34] augustl: Nuck: I could argue that patching require is a workaround [10:34] Nuck: augustl: Not big enough obviously. ../ does not scale [10:34] augustl: Nuck: you're missing the point, it's subjective [10:34] augustl: I have a big project, I don't move files around a lot [10:34] DrMcKay: augustl++ [10:34] v8bot_: DrMcKay has given a beer to augustl. augustl now has 1 beers. [10:34] Nuck: augustl: patching require would allow subjectivity [10:35] Nuck: Also, I don't move that much, but keeping track of relativity will kill my maintainability [10:35] mdz has joined the channel [10:35] mdz has joined the channel [10:35] augustl: now that's a different subject entirely [10:36] augustl: subjectively altering a programming environment can cause big pains when it comes to maintainability as well [10:36] augustl: so it's not just gains [10:36] augustl: think C++ and Ruby operator overloading etc [10:36] Nuck: augustl: It can, but if you're gonna remove everything evil, you're doing it wrong [10:37] augustl: what do you mean? [10:37] jheusala: DrMcKay: what? [10:37] Nuck: augustl: Some things can be used for evil [10:37] Nuck: But aren't actually evil [10:37] Nuck: Weigh the costs [10:37] bzinger has joined the channel [10:37] augustl: right, right [10:37] Nuck: require.paths made it easy as hell to fuck shit up [10:37] Nuck: overloading require's resolve makes it a pain in the ass [10:37] augustl: my point is simply that given the environment as it is today, the best solution is probably to not move files around as much [10:38] Nuck: augustl: I don't move around much [10:38] Nuck: I just see maintainability issues [10:38] Nuck: Serious ones [10:38] _sh0x has left the channel [10:38] Nuck: And the ../../../../ is getting on my nerves [10:38] augustl: augustl> do you move files around a lot? Nuck> augustl: Hell yeah [10:38] Nuck: I want that package.json resolving [10:38] Glenjamin: don't overload, wrap [10:38] Nuck: Glenjamin: haha yup [10:38] augustl: Glenjamin: ah, good point [10:39] Glenjamin: app.root_require = function() ... [10:39] Tobsn has joined the channel [10:39] augustl: require("my_requirer").require(....) [10:39] Nuck: Glenjamin: https://github.com/joyent/node/issues/1125 [10:39] Glenjamin: path.resolve + absolute require [10:39] Nuck: I like that suggestion [10:39] augustl: if my_requirer is in NODE_PATH, there'll be no relative paths [10:40] augustl: that's good, because you'll see my_requirer and look for it, instead of wasting time figuring out why 'require' has changed behaviour and where that code lives etc [10:40] Margle has joined the channel [10:40] Nuck: augustl: How about not doing require-overloading or wrapping, and just providing pacakge.json resolution? [10:41] Nuck: face it, Node and NPM are one and the same now [10:41] Nuck: ACTION points to node_modules [10:41] Nuck: That's what happens when NPM and Node mate. [10:41] Nuck: It's not so bad [10:41] augustl: for the reasons stated above, I would prefer a wrapper to overriding behaviour of existing functions [10:41] vcm has joined the channel [10:41] Nuck: augustl: I didn't say overloading, I meant built in to node itself [10:42] augustl: I'd still prefer the my_requirer module [10:42] Nuck: Climb the tree looking for some package.json [10:42] augustl: less shit to misunderstand [10:42] Nuck: And then when you hit that, try resolving down [10:42] Nuck: Consider that as the "project root" [10:43] DrMcKay: Nuck: but why, really? [10:43] jldbasa has joined the channel [10:43] Nuck: DrMcKay: Because it means we treat projects a lot better [10:43] Nuck: And require() can be way cleaner [10:43] Nuck: And more maintainable [10:43] Nuck: And because we need to encourage large projects [10:43] Nuck: We're growing well beyond module-making [10:44] DrMcKay: Nuck: I have quite a large project. it's all in 3 directories [10:44] Nuck: The Node community has been making modules and very few actualy full sites for a while [10:44] Glenjamin: large projects = collection of smaller decoupled modules [10:44] Glenjamin: in an ideal world [10:44] DrMcKay: Glenjamin++ [10:44] v8bot_: DrMcKay has given a beer to Glenjamin. Glenjamin now has 1 beers. [10:44] Nuck: Glenjamin: Things can't always be decoupled like that [10:44] Nuck: Sadly [10:44] Nuck: Plus, all the more reason [10:44] Nuck: I can't use node_modules like that [10:44] Nuck: Much less with a thing like heroku [10:45] er1c_ has joined the channel [10:45] augustl: Nuck, Glenjamin: collection of smaller and decoupled modules is how I solved the organizational problems of my large project ;) [10:46] Nuck: Seriously, my big project is well over 20 files, in 5 directories [10:46] Nuck: And they are all based on modules for interaction [10:46] Nuck: augustl: Okay, seriously, it rarely works that way [10:46] Nuck: In an ideal world, everything would be modular [10:46] Nuck: In the real world, we slap people like you. [10:46] Nuck: :I [10:46] augustl: Nuck: I hear ya, but you aren't really saying anything about anything [10:47] augustl: I can confirm that getting the abstractions right takes lots of hard work though [10:47] Nuck: A project is not a collection of modules [10:47] Nuck: At least, not one that was built for the user and not for the programmer [10:47] Nuck: We want things that are decoupled [10:47] Glenjamin: a project is some code which ties together a collection of modules [10:47] augustl: code built for the user and not for the programmer? What does that mean? [10:47] Nuck: The user wants things that are tied together very tightly [10:47] Nuck: With a rivvon [10:47] Nuck: *ribbon [10:47] Nuck: And a bow [10:48] augustl: the user doesn't care about the code though.. [10:48] Nuck: augustl: They care about the end result [10:48] Glenjamin: patterns emerge, refactor and abstract [10:48] augustl: Nuck: yes they do [10:48] Glenjamin: improves code quality and maintainability [10:48] Glenjamin: everyone wins [10:48] augustl: Nuck: my point is that the end result is not the smae as the code [10:48] Nuck: And if you program it modularly, the end result will seem detached and in pieces [10:48] Nuck: I can tell you that from experience. [10:48] augustl: Nuck: your experience is worthless, then [10:48] Nuck: I've been on both ends of that [10:48] augustl: I can tell you otherwise, also based on experience [10:49] lepht has joined the channel [10:49] Nuck: ACTION sighs [10:49] Nuck: Programmers never understand UX [10:49] augustl: Nuck: easy for you to say [10:49] Nuck: There's a reason UX experts exist. [10:49] augustl: also very easy for you to assume that I don't care about UX [10:49] Nuck: augustl: Yeah, I'm not a programmer by trade. [10:49] Nuck: Well, I am [10:49] Nuck: Sorta [10:49] Nuck: I'm a designer, technically [10:49] augustl: the code doesn't have to be 1:1 with the UX [10:49] Nuck: But I do programming more nowadays [10:49] augustl: the UX and the code are two entirely different things [10:49] Glenjamin: UX has nothing to do with how you organise code [10:49] Glenjamin: it should be decoupled! [10:50] chjj: nuck: is there a reason they make filthy filthy amounts of money? [10:50] augustl: Nuck: but it's hard, really hard [10:50] vcm has joined the channel [10:50] Nuck: Glenjamin: You decouple parts of your site from eachother, they're gonna feel separate [10:50] augustl: Nuck: abstracting code takes lot of dedication and practice [10:50] augustl: Nuck: utterly and entirely wrong [10:50] Nuck: chjj: Designers or UC experts? [10:50] cnu_ has joined the channel [10:50] chjj: ux people [10:50] Glenjamin: Nuck: I don't decouple parts of the site, I abstract shared bits out [10:50] Nuck: augustl: Not really, it's naturally that way [10:50] Glenjamin: which leads to decoupling [10:50] Nuck: chjj: Because UX is something everyone thinks they know, and true UX guys are rare [10:50] Glenjamin: and DRY [10:50] Glenjamin: and so on [10:50] augustl: Nuck: some things are very abstractable. Take databases, for example [10:51] augustl: Nuck: you abstract them into models etc [10:51] Nuck: Glenjamin: I share bits too [10:51] Nuck: augustl: Did I ask about abstractions? [10:51] Nuck: Didn't think so [10:51] Glenjamin: decoupling is what emerges from good abstractions [10:51] Nuck: I mentioned decoupling, abstractions are a whole other thing [10:51] augustl: Nuck: you made claims and I disagree, hehe [10:51] DrMcKay: Nuck: decoupling <=> abstraction5~ [10:51] augustl: Nuck: so no you didn't ask about abstractions [10:51] Nuck: abstractions are used in decoupling, but they are not interchangable [10:51] Glenjamin: anyway, I have actual work do to [10:52] Nuck: Seriously, though, all I want is a fucking project-root resolution [10:52] augustl: Nuck: my message here is that perhaps a better solution would be to decouple and abstract and all that [10:52] Nuck: Because it's grown to where my chunks (even my reusable modules I've abstracted out) are not good [10:52] Nuck: augustl: That's the cause of my hell [10:52] Nuck: I have pulled many pieces out [10:52] Nuck: And it's modular with shared database and backend [10:53] augustl: perhaps you could put stuff in separate node packages [10:53] augustl: and give each one an API [10:53] augustl: that way all you get is an absolute require with function calls. [10:53] Nuck: augustl: Doesn't work like that, things rely on shared interfaces through require() caching [10:53] augustl: there's probably lots of things like that you can do, that solves the problem of having lots of relative requires [10:54] Nuck: augustl: cool, did you already forget the thing about "workarounds" [10:54] augustl: Nuck: I got the impression that you're an inexperienced programmer, is that correct? [10:54] Nuck: I don't want something to monkey-patch this [10:54] Nuck: augustl: Nope, been doing this for 10 years now [10:54] augustl: I see [10:54] augustl: what do you mean about 'did you already forget the thing about "workarounds"'? [10:55] Nuck: augustl: I mean, I don't want another workaround [10:55] Nuck: the ../ is the best workaround I've got [10:55] Nuck: What I want is a project root [10:55] Nuck: I will not settle for anything less [10:55] Nuck: And I'm not refactoring my codebase for some bullshit reason [10:55] augustl: wether or not something is a solution or a workaround is also subjective, I guess [10:55] augustl: imo, modularizing is not a workaround but a good solution [10:56] Nuck: Modularizing doesn't work for everything [10:56] augustl: I realize that [10:56] Nuck: The Node community needs to recognize the fact that modularity isn't the One True Way. [10:56] Nuck: Quite often you'll need shared dependencies [10:56] augustl: Glenjamin and I don't represent the node community ;) [10:56] Nuck: augustl: Oh, it's not just you guys [10:56] jbrokc has joined the channel [10:56] Nuck: Jeez, it's fucking *everyone* [10:57] liar has joined the channel [10:57] Nuck: People are obsessed with breaking everything into modules, like it's a lego set [10:57] augustl: so everyone is stupid, you're the only thinking person around? ;) [10:57] augustl: sounds like insanity [10:57] Nuck: augustl: No, sounds like a fad. [10:57] Nuck: ACTION points to Ruby on Rails [10:57] augustl: that's subjective too I guess [10:57] Nuck: There's another nasty fad. [10:57] Nuck: augustl: Someday you'll look back and see what I see ;) [10:58] ditesh|cassini has joined the channel [10:58] Nuck: The question is [10:58] Nuck: Will Node.js be a fad [10:58] Glenjamin: rails 2 was monolithic [10:58] Glenjamin: rails 3 is modular [10:58] Nuck: Or will it be a long-term thing, like PHP [10:58] Glenjamin: eugh [10:58] Nuck: Will it last us 10 years of steady usage? [10:58] Glenjamin: do not hold PHP up as shining example of anything [10:58] Nuck: Glenjamin: Haha, I'm saying it lasted [10:58] Nuck: It sucks [10:58] Nuck: But it survived. [10:59] chjj: pffft, you guys...im waiting for node.dart, whos with me?! [10:59] augustl: Nuck: I'm not so sure of that [10:59] Nuck: Because it was Really Fucking Easy™ to use it. [10:59] chjj: ;p [10:59] Glenjamin: exactly [10:59] Glenjamin: really fucking easy = bad thing [10:59] Nuck: Glenjamin: Not necessarily [10:59] Glenjamin: minimum entry requirement for writing maintainable code as a decent developer [10:59] Glenjamin: anyone can hack together a script, then hack stuff over the top of it [10:59] Nuck: PHP was Really Fucking Easy™ in a way that was detrimental to the code [11:00] Nuck: Ruby too was beloved for being Really Fcuking Easy™/ [11:00] augustl: this is dangerous. Two or three examples doesn't tell us anything useful. [11:00] Glenjamin: but the plural of anecdote is data! [11:00] chjj: ruby had too much of a feminine name i think, everyone knows programmers value manly names [11:00] augustl: C is fucking hard and is still used a lot, for example. [11:00] Nuck: The reason Paul Graham touted lisp as amazing? Because it made things Really Fucking Easy™ to develop. [11:00] augustl: or C++ [11:01] Nuck: augustl: C is used because relative to Assembly, it's Really Fucking Easy™ [11:01] ph^ has joined the channel [11:01] Glenjamin: Nuck: i was under the impress that it was also because it was a bit harder to learn, so only smart people did [11:01] augustl: some problems are hard to solve [11:01] Nuck: augustl: So, yes, it makes perfect sense. [11:01] augustl: Nuck: what makes perfect sense? [11:01] Nuck: Glenjamin: Well, that too [11:01] Nuck: augustl: C is easier than ASM, therefore it gained a lion's share of the market [11:02] Nuck: And since everyone knows it, it became standard. [11:02] Nuck: Plus, it's common practice to write code in the language the OS is in [11:02] medice: mm.. if people like masculine sounding programming languages, i should develop a language called perkele [11:02] Nuck: Windows programs in C/C++, Mac OS X apps in Obj. C, etc. [11:02] medice: all keywords would consist of curses [11:02] Nuck: medice: I'll name mine OLD SPICE [11:03] Nuck: require('IsiahMustafa').SmellLikeAMan(man); [11:04] augustl: Nuck: I'm curious, why exactly is modularizing a bad solution and patching/wrapping require a good solution in your project? [11:04] mdz has joined the channel [11:04] mdz has joined the channel [11:05] Nuck: augustl: Well, I have my code modularized, but the modules all depend on eachother, it's a very interlinked system, since most of my modules are chunks of routes for Express, etc. [11:06] Nuck: However, I have a lib folder that contains my data, and I guess I could modularize some of that stuff out, but other parts rely on things two layers back and two layers in another folder [11:06] augustl: when is relative requires a problem? Only when you move files? [11:07] Nuck: It's a problem because I'm havin to do zillions of ../ [11:07] augustl: so is it a typing speed problem? [11:07] DrMcKay: lol [11:08] augustl: my curiosity is genuine :) [11:08] Glenjamin: having ../../../../../ all over is ugly and liable to cause problems [11:09] Glenjamin: app.require = function(lib) { return require(path.resolve(__dirname, lib)); }; [11:09] Glenjamin: problem solved. [11:09] Glenjamin: assuming thats the correct call signature for path.resolve [11:09] DrMcKay: !doc link path#resolve [11:09] dmkbot: http://nodejs.org/docs/latest/api/path.html#path.resolve [11:09] augustl: I don't find it particularly ugly [11:10] anandjeyahar has joined the channel [11:10] NetRoY has joined the channel [11:10] augustl: not sure what people mean when they say code is ugly though [11:10] cosmincx has joined the channel [11:10] anandjeyahar: has anyone got npm installed on fedora 15 [11:10] augustl: for some people it's syntax and glyphs, for others it's what the code makes the computer do, etc [11:10] NetRoY has joined the channel [11:10] DrMcKay: anandjeyahar: yes, I [11:10] augustl: anandjeyahar: did that once I think [11:10] anandjeyahar: i get unable to open /etc/ax25/axports error [11:10] anandjeyahar: ax25-apps is installed on my system. [11:11] anandjeyahar: It also says please upgrade node. [11:11] anandjeyahar: i actually built node from source [11:11] Glenjamin: augustl: in that case, it's cognitive effort required to see if it's correct at a glance [11:11] Nuck: Oh god, @philo23 and I are going back and forth making NodeJS + Old Spice Guy jokes on twitter [11:12] Glenjamin: especially when you make a new module, and c&p from an existing one for the structure [11:12] augustl: Glenjamin: ah [11:12] Glenjamin: I find it comes up more often in test suites [11:12] Glenjamin: where you have a harness at the root, and you're more likely to restructure the folders [11:13] augustl: DrMcKay: what's Karmalicious? [11:13] DrMcKay: augustl: looks like some karma bot [11:13] DrMcKay: augustl: it's not mine, though [11:14] Nuck: DrMcKay++ [11:14] v8bot_: Nuck has given a beer to DrMcKay. DrMcKay now has 2 beers. [11:14] Nuck: Mine is better [11:14] augustl: Glenjamin: http://gitorious.org/buster/buster-multicast/blobs/master/test/unit/server/multicast-middleware-test.js#line1 hehe [11:14] elliottcable: wait, you people are talking about path resolution? [11:14] elliottcable: damnit Nuck [11:14] elliottcable: didn’t I tell you not to bring that in here )= [11:14] augustl: the lib folder is a dead giveaway, though, so in that case it's easy to resolve at a glance [11:14] Glenjamin: augustl: thats the one :) [11:14] elliottcable: augustl! [11:14] augustl: elliottcable: o/ [11:14] fly-away has joined the channel [11:14] Glenjamin: but you can't tell at a glance if thats the correct number of steps to get to lib [11:15] Nuck: Glenjamin: Exactly [11:15] Glenjamin: of course, how to load the harness with the root_require function is a different question entirely... [11:15] TomY has joined the channel [11:15] augustl: that's true [11:15] Nuck: It gets hellish trying to remember when you're nestled deep within your code [11:15] augustl: I don't find that too problematic, though. buster-test, get error (or not), fix, yay [11:16] elliottcable: grrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr [11:16] elliottcable: I have all of the answers to this subject [11:16] elliottcable: and I *really can’t be bothered explaining them again* [11:16] Glenjamin: a JS unit testing framework that's a closed beta :s [11:16] elliottcable: which makes it super-annoying that it’s come up again [11:16] e6nian has joined the channel [11:16] Glenjamin: what's this "buster" thing? [11:16] augustl: Glenjamin: it's not in beta [11:16] wmage has joined the channel [11:17] augustl: Glenjamin: we should probably make that more clear [11:17] augustl: Glenjamin: we just think the JS community doesn't need another half finished tool for testing [11:17] Glenjamin: open sourced somewhere? [11:17] murilobr has joined the channel [11:17] Glenjamin: I also have my own v0.1 test harness :) [11:17] Nuck: You know what'd be great? Instead of resolving for package.json, why doesnt' Node just check all paths against the current directory from the launch of the process? [11:18] Nuck: Simple, obvious, easy. [11:18] elliottcable: so, I ask for alpha testers for it, and nobody’s interested [11:18] augustl: Glenjamin: gitorious.org/buster [11:18] elliottcable: but now we’re talking about the topic again, and everybody wants to weigh in [11:18] elliottcable: [11:18] augustl: Glenjamin: it's pretty much finished for the node.js part so you can 'npm instal buster' now actually [11:18] Nuck: So 'lib/thing.js' resolves to the current directory + 'lib/thing.js' [11:18] codely: some extremely weird (to me?) behavior - [11:18] Glenjamin: augustl: a link to the gitorious page form the website homepage would be cool [11:19] augustl: Glenjamin: good idea, I'll do that [11:19] Nuck: Glenjamin: lolgitorious [11:19] Nuck: Github 4 lyfe [11:19] elliottcable: people still use gitorious? [11:19] elliottcable: I thought that particular battle ended years ago [11:19] Nuck: elliottcable: Apparently [11:19] augustl: Nuck: good thing git is distributed :) [11:19] augustl: so it doesn't really matter [11:19] jetienne_ has left the channel [11:19] Nuck: augustl: haha true [11:19] elliottcable: not remotely true [11:19] Nuck: But github > gitorious [11:19] augustl: we're not using github for the sake of not using github tbh [11:19] Nuck: Pull requests [11:19] elliottcable: github/etc are not about git itself [11:19] elliottcable: git iteself works with anything, and anywhere [11:19] elliottcable: it’s about what’s *on top* of git. [11:19] codely: I'm using an myArray.search in a chunk of code in a method right. well, if i define Array.prototype.anyNameAtAll … my code borks in my .search [11:20] Nuck: Github is nice because of Github Issues and Pull Requests. [11:20] augustl: and I don't care too much for the github community [11:20] elliottcable: and that *isn’t* distributed, so it’s very important. [11:20] elliottcable: Issues, pull requests, comments, forks [11:20] codely: anyone using anything but github = retarddded [11:20] augustl: and I hate pull requests... =P [11:20] Nuck: elliottcable: Exactly [11:20] elliottcable: all of that is locked-in to the hosting platform you choose [11:20] Nuck: augustl: Oh, they are *godly* [11:20] elliottcable: so it’s extremely important which one you pick [11:20] augustl: they are not asynchronous [11:20] medice: codely: well, can you have private github repository? [11:20] Nuck: They just... Take some getting used to. [11:20] augustl: I prefer patches in mail [11:20] openpercept has joined the channel [11:20] Nuck: augustl: What [11:20] Nuck: what [11:20] codely: medice: yes [11:20] Nuck: what [11:20] Glenjamin: my only reason for preferring github is that it takes me straight to the code [11:20] Nuck: augustl: They're extremly async [11:20] Nuck: Theyre there whenever the fuck you need them [11:21] codely: "Hardcore Forking Action" [11:21] augustl: Nuck: true, I didn't think that through [11:21] Nuck: codely: haha [11:21] Nuck: augustl: lol [11:21] codely: i mean honestly powered with people that think funny like that how can you go wrong? [11:21] augustl: what I mean is that you have to maintain your own fork on github.com [11:21] Nuck: augustl: In fact, Github billed them as "async" [11:21] augustl: and manualyl delete it after the pull request is accepted/rejected [11:21] codely: i am excited about node **about** to become the #1 watched on github [11:21] augustl: with a patch in mail you can just clone to your machine and e-mail it, and be done [11:21] augustl: you don't need to maintain a centralized fork on a website [11:21] Nuck: augustl: Oh, I agree that's a tad silly on that, but I don't mind it much [11:21] Nuck: Most people don't mind it [11:21] Nuck: You get used to it [11:22] elliottcable: oh god somebody actually e-mails patches? [11:22] augustl: elliottcable: see: Linux [11:22] elliottcable: if somebody e-mailed me a patch, I’d probably immediately discard it without reading [11:22] junkee[] has joined the channel [11:22] Glenjamin: augustl: evented formatters, is there a high-level overview of syntax or a demo of usage anywhere? [11:22] codely: hahah elliottcable +1 [11:22] augustl: contributing to Linux was a dream [11:22] elliottcable: or failing that, respond with a huge and involved rant about how much I hated them [11:22] elliottcable: and *then* discard it. [11:22] augustl: the reasons for not liking the github community is apparent by reading what people are saying here ;) [11:22] codely: "hey did you get my email for that patch" #fail [11:22] Nuck: augustl: https://github.com/torvalds/linux [11:22] elliottcable: augustl › ಠ_ಠ [11:22] Nuck: You were saying? [11:22] augustl: Glenjamin: docs are spares.. I'll dig up an example [11:23] elliottcable: augustl › so, in other words, you’re just being a crotchety old-timer who thinks doing it the old way is best, regardless of whether it actually is? [11:23] DrMcKay: I hate projects which use mailing list-based collaboration [11:23] DrMcKay: I mean, shit [11:23] Nuck: augustl: Sure looks like a Github project to me. [11:23] pyrotechnick has joined the channel [11:23] augustl: Nuck: yes, he has it there now that kernel.org is down. They're still using e-mails etc though ;) [11:23] elliottcable: augustl › “If it worked for Linux, it’s *gotta* be the right path!” [11:23] Nuck: DrMcKay: I do Skype-based collaboration [11:23] DrMcKay: we're having 21 century here [11:23] augustl: elliottcable: no, I presented plenty of arguments [11:23] elliottcable: DrMcKay › oh my god yes [11:23] codely: so anyone on this? this is killing me. if i create Array.prototype.anyNameAtAll, not even calling it - my natural arrayprotoypes error [11:23] elliottcable: DrMcKay › There is very little I hate in this world *more* than mailing lists ಠ_ಠ [11:23] DrMcKay: Nuck: I meant "patches" [11:23] Glenjamin: i'm intrigued mainly by how you run async test cases, and how you do context setup. Those and evented formatters were the 3 main reason i rolled my own (https://github.com/glenjamin/nodespec) [11:23] Nuck: DrMcKay: I do too. [11:24] pyrotechnick: codely try Object.defineProperty [11:24] Nuck: DrMcKay: but no, I use a shared git repo [11:24] Nuck: Using gitolite [11:24] augustl: Glenjamin: =D this warms my heart [11:24] pyrotechnick: codely: are you using prototype or mootools or anything… [11:24] DrMcKay: gitolite++ [11:24] v8bot_: DrMcKay has given a beer to gitolite. gitolite now has 1 beers. [11:24] Nuck: My colleagues can push to that remote [11:24] codely: pyrotechnick: it's a node unique thing correct? because if it were front end i would/should? have no issue [11:24] codely: no no all backend no third party items. [11:24] DrMcKay: Nuck: but still, github ftw [11:24] Nuck: DrMcKay: When we have more money, chances are we'll be switching to Github [11:24] Nuck: We're just, well, broke. [11:25] scott_gonzalez has joined the channel [11:25] codely: basically myMethid(…) { .. xArray.search.. } ….. earlier on though, Array.prototype.whatever borks any arrayprotoypes defined by the language. mind boggled [11:25] Nuck: DrMcKay: I want Github for my company for Pull requests, comments, the UI, and issues [11:25] augustl: Glenjamin: http://gitorious.org/buster/buster-test/trees/master/lib/buster-test/reporters [11:25] openpercept has joined the channel [11:25] pyrotechnick: v8: Array.prototype.foo = function() { console.log('bar'); }; var a = new Array(); a.foo(); [11:25] v8bot_: pyrotechnick: CONSOLE: ["bar"], OUTPUT: undefined [11:25] augustl: Glenjamin: those are the built-in reporters [11:25] Nuck: All these are ample reasons to use Github IMHO [11:25] pyrotechnick: codely: not sure bro, worked there [11:25] DrMcKay: Nuck++ [11:25] v8bot_: DrMcKay has given a beer to Nuck. Nuck now has 7 beers. [11:25] codely: yeah github enterprise starts at 5k (a month?) github [11:26] codely: pyrotechnick: hmm ok [11:26] pyrotechnick: v8: Array.prototype.foo = function() { console.log('bar'); }; var a = new Array(); a.push('zip'); return a; [11:26] Nuck: Not enterprise [11:26] v8bot_: pyrotechnick: SyntaxError: Illegal return statement [11:26] Nuck: Small private organization [11:26] RushPL has joined the channel [11:26] pyrotechnick: v8: Array.prototype.foo = function() { console.log('bar'); }; var a = new Array(); a.push('zip'); console.dir(a); [11:26] v8bot_: pyrotechnick: TypeError: Object [object Object] has no method 'dir' [11:26] pyrotechnick: ffs [11:26] Nuck: So that's like $25 a month IIRC [11:26] DrMcKay: I wonder if with enterprise they actually give you their code [11:26] pyrotechnick: v8: Array.prototype.foo = function() { console.log('bar'); }; var a = new Array(); a.push('zip'); console.log(JSON.stringify(a)); [11:26] v8bot_: pyrotechnick: CONSOLE: ["["zip"]"], OUTPUT: undefined [11:26] pyrotechnick: codely: ^^ [11:26] luke`_ has joined the channel [11:27] Nuck: DrMcKay: No, it's a hosting appliance [11:27] Nuck: As in, they give you a server for your rack [11:27] Nuck: You plug it in [11:27] Nuck: You host it [11:27] DrMcKay: Nuck: sneaky. [11:27] DrMcKay: Nuck: but still, you *can* get that code out. [11:28] augustl: anyway, I dislike the GitHub community because they think that GitHub is the only good way of doing free software development [11:28] Glenjamin: augustl: I wrote https://github.com/glenjamin/node-tracey to abstract out the stack parsing stuff if you're interested [11:28] augustl: tldr ;) [11:28] vcm has joined the channel [11:28] Nuck: augustl: Git is the only way of doing free software development [11:28] Nuck: Well, only way that anyone cares about [11:28] augustl: Glenjamin: that's nice, we'll probably use that, tnx [11:28] Glenjamin: Pretty simple, but seems to work well, I've also got my failure output reading the line of the test file which threw the error [11:28] pyrotechnick: Nuck: you're missing his point [11:29] pyrotechnick: it's not git, it's _just_ using github as git he has the issue with [11:29] elliottcable: pyrotechnick › I think Nuck gets the point. [11:29] elliottcable: pyrotechnick › he was countering augustl’s. [11:29] pyrotechnick: i think you get the point [11:29] pyrotechnick: that was no counter. [11:29] elliottcable: pyrotechnick › I think *you* get the point, so THERE. [11:29] elliottcable: ACTION gotcha with *that* one [11:29] pyrotechnick: i think your mum gets the point [11:29] augustl: Nuck: git is good in many ways [11:29] pyrotechnick: GET IT [11:29] Nuck: I THINK THIS WHOLE COURT IS OUT OF ORDER [11:29] augustl: but even that is not the only way [11:29] Glenjamin: augustl: https://github.com/glenjamin/nodespec/tree/master/lib/formatters for usage examples [11:29] elliottcable: pyrotechnick › your mom’s *face* gets the point. [11:29] Nuck: >:C [11:29] augustl: many projects use mercurial for example [11:29] augustl: or svn [11:30] Glenjamin: and on that note, i'm off for lunch [11:30] DrMcKay: btw, can you guys imagine: To: Ryan Dahl, CC: nodejs-mailing-list, Subject: Replace a with b while fixing c, Body: three line patch? [11:30] Nuck: augustl: No, they all use subset reimplementations of git. [11:30] pyrotechnick: you don't know anything about my mother; she is a saint. [11:30] Nuck: :D [11:30] elliottcable: I’m pretty sure she’s noth. [11:30] elliottcable: If she is, then I totally banged a saint, and that is AWESOME. [11:30] elliottcable: going on my résumé. [11:30] augustl: DrMcKay: I certainly can :) [11:30] augustl: and that's the point [11:30] pyrotechnick: how the crap did u è so quickly [11:30] augustl: some people doesn't dislike patches in e-mails. [11:30] pyrotechnick: é [11:30] augustl: and that's OK [11:30] Nuck: elliottcable: Maccy [11:31] elliottcable: elliottcable: “On-topic to your-mom in twelve seconds, flat.” [11:31] Nuck: err, pyrotechnick [11:31] pyrotechnick: yeah i know but how so quickly [11:31] pyrotechnick: my mind is blown. [11:31] Nuck: elliottcable: On-topic to on-top-of-your-mom [11:31] Nuck: :D [11:31] elliottcable: ACTION did the blowing [11:31] Nuck: kinky [11:31] elliottcable: quite. [11:31] elliottcable: Nuck › can we go back to our private channel now, please? [11:31] muspelhe has joined the channel [11:31] Nuck: haha yush [11:31] elliottcable: I dislike having all these people who don’t know and adore me around. [11:31] pyrotechnick: this conversation is despicable, i'm ashamed to have started it [11:32] Nuck: pyrotechnick: You should. You should feel very dirty. [11:32] augustl: Glenjamin: http://busterjs.org/docs/quick-and-dirty-getting-started fyi [11:32] pyrotechnick: i need to shower [11:32] Nuck: ... [11:32] Nuck: augustl: Nice timing with the dirty thing [11:32] pyrotechnick: elliottcable: i'm sorry bro but i think my buffer may have overflowed on your mums GUI last night [11:32] lukegalea has joined the channel [11:32] vcm has joined the channel [11:33] liar has joined the channel [11:33] elliottcable: pyrotechnick › trying too hard. [11:33] Nuck: pyrotechnick: I shot GUI all over your mom. [11:33] pyrotechnick: she'd have appreciated that, she's always striving to be more user-friendly [11:34] chjj: my boot loader jumped to instruction 0x7c00 and entered protected mode for you mom [11:34] augustl: Nuck: I aim to please [11:34] cognominal_ has joined the channel [11:34] codely: pyrotechnick: were, i tried it not wrapped in an array iterative, for some reason when i iterate over an array of 100 items everything is fine, but i add in my prototype without calling it and my array decreases by one?? [11:34] Nuck: augustl: I like that in a woman. [11:34] pyrotechnick: then she asked to see my firmware... [11:34] codely: so my last result has myKey undefined [11:34] codely: hah firmware [11:35] pyrotechnick: i was left with no choice but to implement her interface inside the parent class [11:35] pyrotechnick: if you know what i mean [11:36] DrMcKay has joined the channel [11:36] TheJH_phone has joined the channel [11:36] codely: hahah [11:36] azeroth__ has joined the channel [11:37] codely: pyrotechnick: tweeting that [11:37] pyrotechnick: dont it's terrible [11:37] elliottcable: seriously. [11:37] adambeynon has joined the channel [11:37] pyrotechnick: no thanks bro that's fucked. [11:37] DrMcKay: what did he say? [11:37] pyrotechnick: i don't do private shows. [11:39] sivy has joined the channel [11:40] DrMcKay: I think I should quit. [11:41] Nuck: DrMcKay: Yes, you should stop doung Heroin. [11:41] Nuck: It's really bad for you, man [11:41] Nuck: Try Krokodil instead. [11:41] socialhack has joined the channel [11:42] DrMcKay: Nuck: I didn't do heroin even once [11:42] skm has joined the channel [11:42] DrMcKay: my mom gave me Krokodil within her milk [11:42] pyrotechnick has left the channel [11:43] DrMcKay: but seriously, I should quit my job. [11:43] Nuck: DrMcKay: Yeah, stop being a programmer, you've obviously got a future as a manwhore. [11:43] Nuck: :D [11:44] DrMcKay: Nuck: it was supposed to be our secret! [11:44] Nuck: DrMcKay: Meh, your penis is too small for me. [11:44] Nuck: I am disappoint. [11:44] DrMcKay: lol [11:45] jbpros has joined the channel [11:48] svenlito has joined the channel [11:49] JakeyChan has joined the channel [11:50] bshumate has joined the channel [11:50] bshumate has joined the channel [11:58] chjj: OT: wow, the quake 1 codebase is nuts [11:59] chjj: half of the polygon rendering is written in assembly [11:59] augustl: it's written by John Carmack so no matter what you say it's perfect [11:59] chjj: im saying its amazing [11:59] chjj: its crazy that a human being was able to write this [12:00] DrMcKay: rewrite in node.js! [12:00] chjj: omg yes! [12:00] augustl: and even crazier that it's GLP-ed [12:00] chjj: which is why im looking at the source ;p [12:00] Margle has joined the channel [12:00] DrMcKay: chjj: where is this source> [12:01] augustl: ftp.idsofware.com or something [12:01] augustl: really old school [12:01] chjj: but they werent using opengl or anything, they were just accessing the raw video memory from assembly, thats absurdly amazing [12:01] augustl: you want to use the community forks if you actually want to make a game with it though [12:01] chjj: oh, i was messing around on github and found a mirror [12:01] chjj: https://github.com/defunkt/quake/tree/master/QW/client [12:02] chjj: how they were able to create a 3d environment in assembly is so beyond my understanding [12:03] chjj: wish i were that smart [12:03] chjj: ! [12:03] jetienne has joined the channel [12:03] augustl: don't forget that plenty of people are. Not just John Carmack ;) [12:03] BulletBob has joined the channel [12:04] DrMcKay: you think it'll compile? [12:06] TomY has joined the channel [12:07] jonaslund_ has joined the channel [12:07] DrMcKay: meh, Makefile is fucked up [12:08] chjj: :( [12:09] Wizek has joined the channel [12:11] amigojapan has joined the channel [12:11] mekwall has joined the channel [12:11] matyr has joined the channel [12:12] micheil has joined the channel [12:12] mekwall has joined the channel [12:15] Margle has joined the channel [12:15] benvds has joined the channel [12:16] rootslab has joined the channel [12:17] xsyn has joined the channel [12:18] boehm has joined the channel [12:18] issackelly_ has joined the channel [12:20] replore has joined the channel [12:20] replore_ has joined the channel [12:22] guy has joined the channel [12:23] jtrudeau has joined the channel [12:23] guy: I want to open several ports on my server (e.g. 3000, 3001, 3002) and use the same host node.dom.ltd to run different node.js scripts. [12:23] guy: Is that common practise? [12:25] aelien27 has joined the channel [12:29] davidbanham has joined the channel [12:30] augustl: guy: depends on what your scripts do [12:30] wmage has joined the channel [12:30] Gregor has joined the channel [12:30] augustl: if you proxy behind another http server (like apache) that proxy server may not have all the capabilities node has [12:30] lepht has joined the channel [12:32] rootslab has joined the channel [12:32] guy: https://gist.github.com/0109172d9ff128b17b2a [12:33] guy: any ideas how to do this? [12:33] aron_ has joined the channel [12:34] marcello3d has joined the channel [12:34] lepht has joined the channel [12:35] JakeyChan has joined the channel [12:36] ecin has joined the channel [12:39] erichynds has joined the channel [12:39] AaronMT has joined the channel [12:42] max_dev has joined the channel [12:42] vguerra_ has joined the channel [12:42] guy: how do I read incoming headers? [12:43] mikeycgto has joined the channel [12:43] ecin has joined the channel [12:43] cognominal has joined the channel [12:43] bradleymeck has joined the channel [12:44] Morkel has joined the channel [12:44] aelien27 has joined the channel [12:46] matyr_ has joined the channel [12:47] vguerra has joined the channel [12:47] kriszyp has joined the channel [12:47] Morkel has joined the channel [12:50] k1ttty has joined the channel [12:51] dambalah has joined the channel [12:51] brianseeders has joined the channel [12:51] guy: https://gist.github.com/99a6329e95f7ce3c81c1 [12:51] guy: how do I debug this program? [12:51] guy: I want to console.log ( req ) [12:52] amigojapan has joined the channel [12:52] guy: oh wait. got it [12:52] guy: coo [12:52] guy: l. [12:54] ecin has joined the channel [12:57] normanrichards has joined the channel [12:57] heavysixer has joined the channel [12:57] fumanchu182 has joined the channel [12:57] BillyBreen has joined the channel [12:58] svenlito has joined the channel [12:58] weezle has joined the channel [12:58] lazyshot has joined the channel [12:59] Sambasiva has joined the channel [13:00] guy: when I am trying to read a file, I get something like this [13:00] guy: Buffer.encodings.name = function in toString: Buffer.encodings.name.call(this, start, end)) [14:11] Glenjamin: assuming that fs proxies the encoding through to the buffer module [14:12] DrMcKay: actually, not `this`, I think... [14:13] Glenjamin: (buffer, start, end) then [14:13] DrMcKay: every buffer has a parent [14:16] bnoordhuis: DrMcKay: slowbuffers don't [14:16] DrMcKay: bnoordhuis: gotcha, thanks [14:16] k1ttty has joined the channel [14:18] devaholic: just updated nodeQuery with some decent demos, check it https://github.com/tblobaum/nodeQuery [14:20] DrMcKay: would be nice to move all the encodings to Buffer.encodings... [14:20] BillyBreen has joined the channel [14:21] catb0t has joined the channel [14:22] _jhs has joined the channel [14:22] Cromulent has joined the channel [14:24] adambeynon has joined the channel [14:24] wmage has joined the channel [14:24] jakehow has joined the channel [14:25] Glenjamin: how does object lookup compare to a switch? [14:25] erichynds has joined the channel [14:25] Glenjamin: pretty well I'd have though [14:25] Glenjamin: *thought [14:26] bnoordhuis: Glenjamin: compare in what respect? performance, lines of code, aesthetics? [14:26] brianc has joined the channel [14:26] Glenjamin: performance, in the case of encodings used by Buffer [14:27] Glenjamin: since it underpins loads of stuff [14:28] dylang has joined the channel [14:28] bnoordhuis: and object lookup of what? [14:28] DrMcKay: object lookups are *very* fast in V8 [14:29] CIA-109: libuv: 03Bert Belder 07wintty * r00d50cc 10/ (7 files in 2 dirs): win: TTY work - WIP - http://git.io/Ng2iEA [14:29] ph^ has joined the channel [14:29] bnoordhuis: sometimes, if the phase of the moon is right [14:29] mpavel has joined the channel [14:30] Glenjamin: bnoordhuis: current encodings are a switch statement in buffer.js, DrMcKay is suggesting moving them all to some sort of collection of functions [14:30] DrMcKay: bnoordhuis: that's what paper says, paper *can't* be wrong! [14:30] aheckmann has joined the channel [14:30] catb0t has joined the channel [14:30] DrMcKay: bnoordhuis: (but seriously, what do you mean?) [14:30] Glenjamin: thus making it easy to extend [14:30] bnoordhuis: v8 sometimes will and sometimes won't inline stuff [14:31] bnoordhuis: it's kind of hard to predict because the optimizer's strategy varies across workloads [14:31] CarterL has joined the channel [14:32] piscisaureus_ has joined the channel [14:34] anveo has joined the channel [14:35] ivanfi has left the channel [14:35] ksheurs has joined the channel [14:36] jtsnow has joined the channel [14:36] skm has joined the channel [14:37] colinclark has joined the channel [14:37] MooGoo has joined the channel [14:38] cosmincx has joined the channel [14:40] mehlah has joined the channel [14:44] TheFuzzball has joined the channel [14:45] JaKWaC has joined the channel [14:45] zemanel has joined the channel [14:45] cognominal_ has joined the channel [14:45] TheJH_phone has joined the channel [14:45] TheJH_phone has joined the channel [14:46] jheusala: have you used node.js on openwrt? [14:47] fatjonny has joined the channel [14:47] slifty has joined the channel [14:47] jheusala: it looks like it runs most normal apps and lua, too. I would want to use node.js, too. :-P [14:48] DrMcKay: jheusala: try it :) [14:48] mpavel has joined the channel [14:48] mpavel has left the channel [14:50] CoverSlide: does openwrt have python? [14:50] sonnym has joined the channel [14:50] rtward has left the channel [14:50] softdrink has joined the channel [14:50] jheusala: arm should be supported anyway? [14:50] harthur has joined the channel [14:50] CoverSlide: afaik, it should [14:50] CoverSlide: webos runs on arm, and it includes node [14:51] CoverSlide: well the touchpad at least [14:51] DrMcKay: yes, I've compiled node on my HTC [14:51] blup has joined the channel [14:51] shipit has joined the channel [14:51] jheusala: DrMcKay: building apps isn't very easy for it, need to consult coworker who builds our apps :-P [14:52] kevwil has joined the channel [14:52] DrMcKay: jheusala: you mean openwrt? [14:52] jheusala: actually easy isn't right word [14:52] jheusala: it just needs a system and time [14:52] jheusala: DrMcKay: yes [14:53] Gruni|NA has joined the channel [14:53] tomaw has joined the channel [14:53] cognominal has joined the channel [14:54] jheusala: easiest would be if someone had been packaged it already [14:54] cnus8n has joined the channel [14:55] CoverSlide: that would be nice [14:56] CoverSlide: node is still fairly new, not many distros have packaged it yet [14:56] jheusala: yeah [14:56] CoverSlide: not sure how openwrt handles its packages [14:57] jheusala: ipkg or opkg or something like that... I don't know more than the name. [14:57] _64k has joined the channel [14:57] tizzo-afk has joined the channel [14:58] robertfw has joined the channel [14:59] vguerra_ has joined the channel [14:59] jheusala: I have been writing code for LUCI in LUA past two weeks, documentation sucks [14:59] jheusala: it's almost like node but not async :-) [15:01] ashb has joined the channel [15:02] zivester has joined the channel [15:03] JaKWaC has joined the channel [15:03] storrgie has joined the channel [15:04] petrjanda_ has joined the channel [15:04] bradleymeck has joined the channel [15:05] willwhite has joined the channel [15:05] vguerra has joined the channel [15:06] EagleCoder has joined the channel [15:06] ditesh|cassini has joined the channel [15:08] tjholowaychuk has joined the channel [15:08] lipcpro has joined the channel [15:10] flexd has joined the channel [15:10] TheJH has joined the channel [15:10] dgathright has joined the channel [15:12] jhbot has joined the channel [15:12] simenbrekken: I'm running a bunch of logging via winston but I can't get it to shut up when performing automated tests. Any ideas? [15:13] jaequery has joined the channel [15:13] DrMcKay: simenbrekken: custom logger with no transports? [15:13] bradleymeck: set its level? [15:13] simenbrekken: I'm using the default module logger across my application [15:14] DrMcKay: process.stdout = new Buffer() :D [15:14] simenbrekken: that would throw away my test results :P [15:15] DrMcKay: simenbrekken: and it doesn't work, actually [15:15] CoverSlide: process.stdout = fs.createWriteStream('/dev/null') ?? [15:16] Glenjamin: console.log = function(){} ? [15:16] bradleymeck: simenbrekken : in the readme? winston.remove(winston.transports.Console); [15:17] smtlaissezfaire has joined the channel [15:17] tekky has joined the channel [15:17] simenbrekken: bradleymeck: thanks, solved it now by making sure I was removing the transport at module level and not for each test. [15:18] micheil has joined the channel [15:19] joshkehn has joined the channel [15:20] mandric has joined the channel [15:21] r04r has joined the channel [15:21] r04r has joined the channel [15:21] DrMcKay: CoverSlide: Fun fact: doesn't work [15:22] Astro has joined the channel [15:24] caolanm has joined the channel [15:26] pizthewiz has joined the channel [15:26] jetienne has joined the channel [15:27] DavidElias has joined the channel [15:28] halfhalo has joined the channel [15:29] halfhalo has joined the channel [15:30] jonrohan has joined the channel [15:30] simenbrekken: Any easy way to get my server to be in a specific timezone? [15:31] simenbrekken: TZ='Europe/Oslo' node doesn't really work [15:31] joshkehn has left the channel [15:31] jhurliman has joined the channel [15:31] matt_c has joined the channel [15:33] DrMcKay: simenbrekken: LOCALE, maybe? [15:33] kmiyashiro has joined the channel [15:33] sub_pop has joined the channel [15:33] PipSqueek has joined the channel [15:33] aho has joined the channel [15:35] matyr_ has joined the channel [15:36] Spion has joined the channel [15:37] pizthewiz_ has joined the channel [15:37] jzacsh has joined the channel [15:38] guy has joined the channel [15:38] guy: I am doing some changes to the code I've written earlier [15:38] guy: basically, https://gist.github.com/e35822ab5413857fc314 [15:38] matyr has joined the channel [15:39] guy: if .less is found, then I want the script to proceed with proxy_pass, if not, then I want it to try open CSS (directly, without any proxy_pass) & if that fails, throw 404. [15:41] Spion_ has joined the channel [15:41] guy: anyone [15:41] EvRide has joined the channel [15:42] kurtzhong has joined the channel [15:42] EagleCoder has joined the channel [15:43] pandeiro has joined the channel [15:43] bnoordhuis: simenbrekken: you'll need to set TZ before you start node [15:43] bnoordhuis: and even then it probably won't always work [15:43] bnoordhuis: v8's date class is kind of fickle [15:44] guy: ups.. wrong channel. [15:44] ph^ has joined the channel [15:44] bnoordhuis: ps, dutch noders: http://news.ycombinator.com/item?id=3029822 <- be there or be a rectangular shape [15:45] simenbrekken: bnoordhuis: seems to work for mine :) [15:45] EvRide has joined the channel [15:45] rootslab has joined the channel [15:45] vipaca has joined the channel [15:45] vipaca has joined the channel [15:45] cconstantine_ has joined the channel [15:46] stelleg has joined the channel [15:46] Venom_X has joined the channel [15:48] max_dev has joined the channel [15:48] Metal3d has joined the channel [15:49] webben has joined the channel [15:50] merlin83 has joined the channel [15:50] ank has joined the channel [15:51] aelien27 has joined the channel [15:51] kevwil has joined the channel [15:51] CoverSlide: v8> new Date().getTimezoneOffset() [15:51] v8bot_: CoverSlide: 420 [15:51] CoverSlide: awesome [15:52] CoverSlide: ACTION lights up a bowl [15:52] kevwil_ has joined the channel [15:52] guillermo has joined the channel [15:53] nibblebot has joined the channel [15:54] MooGoo: slacker [15:54] nibblebo_ has joined the channel [15:55] dash has joined the channel [15:55] washort has joined the channel [15:56] joshthecoder has joined the channel [15:56] MUILTFN has joined the channel [15:56] alvaro_o has joined the channel [15:57] Yuffster_work has joined the channel [15:59] pizthewiz has joined the channel [15:59] fatjonny has joined the channel [15:59] cnus8n has joined the channel [16:00] colinclark_ has joined the channel [16:00] hswolff has joined the channel [16:01] jchris has joined the channel [16:01] maqr has joined the channel [16:02] kriszyp has joined the channel [16:03] isaacs has joined the channel [16:04] amigojapan has joined the channel [16:04] dgathright has joined the channel [16:04] michaeldeol has joined the channel [16:06] hornairs has joined the channel [16:09] JSManiacs has joined the channel [16:09] jj0hns0n has joined the channel [16:09] joshkehn has joined the channel [16:09] joshkehn has left the channel [16:10] bentkus has joined the channel [16:11] uchuff has joined the channel [16:12] scottschecter has joined the channel [16:12] joshkehn has joined the channel [16:12] joshkehn has left the channel [16:15] slifty has joined the channel [16:15] slifty has joined the channel [16:16] ako has joined the channel [16:18] luke`_ has joined the channel [16:19] smus has joined the channel [16:19] davididas has joined the channel [16:19] JaKWaC has joined the channel [16:20] Morkel has joined the channel [16:20] JaKWaC has joined the channel [16:22] brianc has joined the channel [16:22] te-brian has joined the channel [16:22] smathy has joined the channel [16:23] joshkehn has joined the channel [16:23] joshkehn has left the channel [16:23] Margle has joined the channel [16:24] ryanrolds_w has joined the channel [16:24] lightcap has joined the channel [16:25] mbrevoort has joined the channel [16:26] TomY has joined the channel [16:27] Renegade001 has joined the channel [16:28] freeformz has joined the channel [16:28] markdaws has joined the channel [16:30] baudehlo has joined the channel [16:30] jonrohan has joined the channel [16:32] dshaw_ has joined the channel [16:35] maletor has joined the channel [16:36] murilobr has joined the channel [16:37] spotzero has joined the channel [16:38] EvRide has joined the channel [16:38] jtsnow has joined the channel [16:39] jmoyers has joined the channel [16:40] te-brian2 has joined the channel [16:41] robi42 has joined the channel [16:42] akujin- has joined the channel [16:42] reid has joined the channel [16:42] reid has joined the channel [16:43] softdrink has joined the channel [16:43] unomi has joined the channel [16:43] vidi has joined the channel [16:46] lz has joined the channel [16:46] Frippe has joined the channel [16:47] wadey has joined the channel [16:47] Frippe has joined the channel [16:48] DennisRasmussen has joined the channel [16:48] davidascher has joined the channel [16:48] Xano has joined the channel [16:49] eignerchris has joined the channel [16:50] TooTallNate has joined the channel [16:50] socialhack has joined the channel [16:51] perezd has joined the channel [16:52] trotter has joined the channel [16:53] EhevuTov has joined the channel [16:54] Xano has left the channel [16:55] sdwrage has joined the channel [16:56] spcshpopr8r has joined the channel [16:56] tjgillies has joined the channel [16:59] patcito has joined the channel [17:00] kriszyp has joined the channel [17:01] skiz has joined the channel [17:02] stagas_ has joined the channel [17:02] jhurliman has joined the channel [17:03] lipcpro has joined the channel [17:04] khrome_ has joined the channel [17:05] harthur has joined the channel [17:05] Wizek has joined the channel [17:06] halcyon918 has joined the channel [17:06] meso has joined the channel [17:06] jchris has joined the channel [17:06] jxck has joined the channel [17:07] zcopley has joined the channel [17:07] markwubb_ has joined the channel [17:08] localhost has joined the channel [17:08] max_dev has joined the channel [17:10] jollari has joined the channel [17:11] rfay has joined the channel [17:11] zeade has joined the channel [17:11] dguttman has joined the channel [17:11] siculars has joined the channel [17:12] seankemp has joined the channel [17:13] Fabryz has joined the channel [17:13] seankemp: I'm building a heroku-hosted facebook app and I'm having trouble developing locally [17:13] CoinOpeBoy has joined the channel [17:13] seankemp: it seems I get an oauth error every time [17:13] seankemp: anyone have any experience with this type of thing? [17:14] skiz_ has joined the channel [17:15] dgathright has joined the channel [17:15] c4milo: tjholowaychuk: hey, how is it going? [17:15] gsmcwhirter has joined the channel [17:15] skiz_ has joined the channel [17:15] lz: seankemp, using a 3rd party oauth? [17:15] tjholowaychuk: c4milo not too bad [17:16] c4milo: tjholowaychuk: nice. Is there any way to specify the host part just once in superagent? [17:16] seankemp: lz, I'm using everyauth [17:16] vampi-the-frog has joined the channel [17:16] vampi-the-frog has joined the channel [17:16] skm has joined the channel [17:16] tjholowaychuk: c4milo as a global? like request.host = ? [17:17] c4milo: tjholowaychuk: yes, as global [17:17] tjholowaychuk: not currently [17:17] lz: seankemp, cool, with a 3rd party oauth though? like facebook/google [17:17] tjholowaychuk: i'd like to add some of that mostly for the client [17:17] tjholowaychuk: so you can normalize error handling to a single callback or event etc [17:17] tjholowaychuk: possibly some stuff like that as well [17:17] davidpadbury has joined the channel [17:17] c4milo: tjholowaychuk: cool [17:18] mbrevoort has joined the channel [17:18] seankemp: lz, yes I'm trying to use facebook's oauth [17:20] robotmay has joined the channel [17:20] soapyillusions has joined the channel [17:20] lz: seankemp, you need to set up facebook app settings to work with localhost if you're testing locally. The app domain should be localhost, and url http://localhost [17:21] megalomix has joined the channel [17:21] megalomix: hello everybody [17:21] CoverSlide: yo megalomix [17:21] davidpadbury has left the channel [17:21] lz: you can either modify your current app settings or create a new app for the purposes of testing locally [17:21] jetienne: hi [17:21] megalomix: is it possible to "debug" a NODE app ? [17:21] megalomix: hi guys! [17:21] dash: nope! all the bugs have to stay in [17:21] CoverSlide: node debug app.js [17:22] dash: so don't write any in the first place [17:22] lightcap has joined the channel [17:23] megalomix: node debug ? [17:23] StanlySoManly has joined the channel [17:23] megalomix: interesting.........how can i see a doc how to use it [17:23] megalomix: ? [17:23] megalomix: *where [17:23] jarek has joined the channel [17:24] vcm has joined the channel [17:25] arelek has joined the channel [17:25] gsmcwhirter has joined the channel [17:26] skiz_ has joined the channel [17:26] mdz has joined the channel [17:26] mdz has joined the channel [17:26] Country has joined the channel [17:26] davida has joined the channel [17:26] _64k has joined the channel [17:26] butu5 has joined the channel [17:27] metellus has joined the channel [17:28] skiz_ has joined the channel [17:28] dmkbot has joined the channel [17:28] JasonJS has joined the channel [17:29] ossareh has joined the channel [17:30] creationix has joined the channel [17:30] airhorns has joined the channel [17:31] CIA-109: libuv: 03Bert Belder 07wintty * r622eb99 10/ (7 files in 2 dirs): [17:31] CIA-109: libuv: win: implement tty [17:31] CIA-109: libuv: loose end: line-buffered input reads ascii, not unicode - http://git.io/n8Zyzw [17:32] kevwil has joined the channel [17:32] tjgillies has left the channel [17:33] megalomix: node-inspector [17:33] megalomix: seems amazing [17:33] megalomix: i try it [17:34] ecin has joined the channel [17:35] jarek_ has joined the channel [17:35] jarek_ has joined the channel [17:35] jarek_ has joined the channel [17:35] mikedeboer has joined the channel [17:36] luizmessias has joined the channel [17:36] necromancer has joined the channel [17:36] necromancer has left the channel [17:36] ph^ has joined the channel [17:36] jarek has joined the channel [17:38] creationix has joined the channel [17:40] kevwil has joined the channel [17:40] Zenethian has joined the channel [17:40] bradleymeck has joined the channel [17:41] ako has joined the channel [17:41] djcoin has joined the channel [17:41] cying has joined the channel [17:42] dshaw_ has joined the channel [17:43] adambeynon has joined the channel [17:44] petrjanda has joined the channel [17:44] necromancer has joined the channel [17:44] necromancer: hey am i crazy or should npm 1.0.17 support the `bundle` command? [17:44] necromancer: mine doesn't have it.. [17:44] vidi has joined the channel [17:44] isaacs: necromancer: yeah, it's gone [17:44] necromancer: what [17:44] isaacs: necromancer: local installs are the default now. [17:44] necromancer: lol [17:44] isaacs: just use "install" [17:45] necromancer: oh.. [17:45] isaacs: necromancer: also, update to npm 1.0.30 [17:45] necromancer: umm [17:45] isaacs: ircretary: inst necromancer [17:45] ircretary: necromancer: `curl http://npmjs.org/install.sh | sh` (or, if there are permission issues, you can try: `curl http://npmjs.org/install.sh | sudo sh`) [17:45] necromancer: i'm using homebrew, so is it gonna install the binary to /usr/local/bin? [17:45] DrMcKay: necromancer: don't. [17:45] isaacs: necromancer: don't install npm with homebrew [17:45] necromancer: what [17:45] necromancer: ok [17:46] isaacs: necromancer: but, yes, it'll install the npm executable to /usr/local/bin/npm [17:46] Margle has joined the channel [17:46] necromancer: so should i also not maintain node.js with brew? [17:46] isaacs: you can install node with homebrew if you like. [17:46] necromancer: oh ok [17:46] isaacs: just make sure to `brew update` a lot [17:46] isaacs: homebrew doesn't update its index automatically. [17:46] necromancer: well yeah that's why, because it keeps track of node updating [17:46] isaacs: since it's all local [17:46] necromancer: right, the formula maintainer needs to do that [17:47] robertfw has joined the channel [17:47] necromancer: so will `npm install` read my package.json? [17:47] isaacs: nono, even if the formula maintainer pushes a new version, you won't get that by re-running `brew install node1 [17:47] Corren has joined the channel [17:47] isaacs: necromancer: yes. [17:47] isaacs: necromancer: `npm faq` <-- run that [17:47] megalomix: isaacs, the search on your website has some problems [17:47] isaacs: megalomix: please be more specific? [17:48] DrMcKay: oh, yes, it does [17:48] DrMcKay: isaacs: search for express [17:48] megalomix: isaacs, i tried to search "express" [17:48] necromancer: thanks isaacs [17:48] megalomix: there is not express package [17:48] megalomix: but if i do: http://search.npmjs.org/#/express [17:48] megalomix: i find that package [17:48] eldios has joined the channel [17:49] isaacs: megalomix: use `npm search express` [17:49] necromancer: should `npm install` not return anything if it worked? [17:49] isaacs: it's there [17:49] isaacs: necromancer: it should print out what it did [17:49] necromancer: oh.. [17:49] necromancer: well i don't think it did anything :) [17:50] isaacs: necromancer: run with -ddd and it'll be super noisy [17:50] gr-eg has joined the channel [17:50] necromancer: oh there we go [17:50] joelburns has joined the channel [17:50] svenlito has joined the channel [17:51] joelburns has left the channel [17:51] hughfdjackson has joined the channel [17:51] hughfdjackson: hi all [17:52] hughfdjackson: anyone mind if i ask an npm error question here? [17:52] sdwrage: hey all [17:52] isaacs: hughfdjackson: hi [17:52] sdwrage: does nodejs have a head object? [17:52] hughfdjackson: :D aha, just the man! [17:52] boltR has joined the channel [17:52] isaacs: hughfdjackson: adduser breaking? [17:52] hughfdjackson: yea ;) [17:52] tmilewski has joined the channel [17:52] sdwrage: as far as my knowledge goes, all js has a head object that wraps all of the code up into itself [17:52] isaacs: hughfdjackson: either pull npm from github, where the fix is, or use node 0.4, or wait maybe a day or two [17:52] luizmessias has left the channel [17:52] bergie has joined the channel [17:52] hughfdjackson: :) will do [17:53] CoverSlide: a head object? [17:53] DrMcKay: isaacs: also, npm/CHANGES is a broken symlink now [17:53] CoverSlide: oh noes! [17:53] isaacs: oh, whoops [17:53] hughfdjackson: oh wow, you'd already responded .. sorry! [17:53] sdwrage: hughfdjackson: in a browser, the head object is window [17:53] hughfdjackson: :P you're fast [17:54] isaacs: fixed [17:54] sdwrage: meaning you can do var test = "test" and it is added to global scope of window.test [17:54] isaacs: "head object"? [17:54] Morkel has joined the channel [17:54] isaacs: sdwrage: oh, you mean, a global object? [17:54] hughfdjackson: sdwrage: i think you're mistaking me for someone else [17:54] sdwrage: isaacs: yes [17:54] hughfdjackson: i was asking about npm adduser :D [17:54] isaacs: sdwrage: it's called "global" [17:54] broofa has joined the channel [17:54] gregmoreno has joined the channel [17:55] sdwrage: isaacs: ah.. I read it as head in "Javascript Enlightenment"…. they referred to it as both [17:55] sdwrage: global and HEAD [17:55] hughfdjackson: that one's new to me [17:55] sdwrage: lemme find a snippet [17:56] tmilewski: Hey all, I'm having an issue with http.request. I'm passing options to http.request with an encoded url as a parameter but http.request seems to be decoding the url before making the request and it's causing some issues. What am I missing here? Thanks! [17:56] tmilewski: Here are the options: var opts = { host: 'api.facebook.com', port: '443', path: '/restserver.php?method=links.getStats&format=json&urls='+encodeURIComponent(product.canonical_url), method: 'GET' } [17:56] sdwrage: isaacs: "JavaScript code, itself, must be contained within an object. As an example, when crafting JavaScript code for a web browser environment, JavaScript is contained and executed within the window object. This window object is considered to be the "head object," or sometimes confusingly referred to as "the global object." All implementations of JavaScript require the use of a single head object." [17:56] CoverSlide: javascript itself is a language independent from the browser. the browser is simply one of the most popular implementations of javascript. outside of the browser, there's no such thing as [17:56] CoverSlide: i have never heard it referred to as a "head object" before [17:56] hughfdjackson: why is it confusing to refer it to the global object, i wonder [17:56] lz: lol [17:57] hughfdjackson: o.o head object is frakin confusing [17:57] lz: by that argument all languages must be contained within "objects" [17:57] hughfdjackson: at least global describes the scoping properties of it [17:57] sdwrage: hughfdjackson: doesn't really matter. as long as we know what we are talking about here. the object that wraps all of your js logic up into itself [17:57] sdwrage: basically [17:57] jesusabdullah: YOU're an object! [17:58] sdwrage: its true! [17:58] hughfdjackson: :D totally agreed, sdwrage! [17:58] CIA-109: node: 03Fedor Indutny 07master * rc26cf84 10/ (3 files in 3 dirs): [17:58] CIA-109: node: debugger: fix backtrace with no frames [17:58] CIA-109: node: Fixes #1768 - http://git.io/pX4FTQ [17:58] CoverSlide: http://es5.github.com/#x15.1 << referred to the global object [17:58] sdwrage: CoverSlide: both are correct [17:58] sdwrage: global object seems to be the more used term [17:58] hughfdjackson: head object is depreciated xD [17:58] dmkbot has joined the channel [17:59] sdwrage: :P [17:59] sdwrage: not quite deprecated… it is like using "gay" to mean happy. No one does it anymore but it still counts as being happy [17:59] ippz has joined the channel [18:00] hughfdjackson: :D well i seriously hope you're gay [18:00] hughfdjackson: everyone should be [18:00] broofa has joined the channel [18:01] tmilewski: Anyone familiar with http.request / ClientRequest [18:01] tmilewski: ? [18:01] hughfdjackson: @isaacs: Fantastic - it worked like a dream [18:01] brion has joined the channel [18:01] hughfdjackson: thanks! [18:02] colinclark_ has joined the channel [18:02] sdwrage: seems node.js has a global Object object [18:02] sdwrage: that wraps up all of the code [18:02] sdwrage: odd [18:02] zastaph has joined the channel [18:02] tilgovi has joined the channel [18:02] tilgovi has joined the channel [18:03] sdwrage: go to node, type var = "test", then type this.test [18:03] hughfdjackson: Object object is the signature of all objects in js [18:03] hughfdjackson: if that makes sense [18:03] sdwrage: hughfdjackson: that is true… but if you type "this" into node, you will get back {} [18:03] sdwrage: an object literal [18:03] sdwrage: ;) [18:03] sdwrage: so, it seems, all code in node.js has a global object that is an object literal [18:04] sdwrage: that is why this.test works [18:04] sdwrage: :) [18:04] tbranyen: well yeah [18:04] hughfdjackson: curious and curiouser [18:04] tbranyen: until es6 this is always an object [18:04] Muvin has joined the channel [18:04] sdwrage: tbranyen: I was trying to figure out if node.js had a particular user object that they were using [18:04] sdwrage: thats all [18:04] sdwrage: :P [18:05] tbranyen: just look in the code [18:05] sdwrage: much like how browsers have window [18:05] tbranyen: sdwrage: global [18:06] sdwrage: tbranyen: I just had people arguing in different channels, stating that node.js does not have a global object. I was just trying to make the point that js logic must have at least one global object to wrap it up within [18:06] tbranyen: global is pretty much a global object [18:07] navaru: sdwrage: this does not refer to the 'global' object, this refers to a local object [18:07] dash has joined the channel [18:07] Muvin: question about Mongo- Node.js, let say my node.js server is running and connect to Mongodb. if I all of the sudden mongo is disconnected (or stop), and I restart mongo. node will not connect to the new MOngo process, unless I restart node server. is there a way to handle it automatically? [18:08] Muvin: or simply i have to write a script to handle that. [18:08] navaru: sdwrage: if you create a module and add 'var = 12 ' when you load your module the this.var won't be global is local to that module [18:08] Nuck: Okay, somebody wanna help me figure out formidable + connect-form? https://gist.github.com/6dca627b6d529290f41a [18:08] Nuck: Parsing error [18:08] Nuck: Same result no matter tha upload [18:08] jmoyers has joined the channel [18:08] sdwrage: navaru: of course, because this refers to the object that contains it. [18:09] sdwrage: navaru: but if you did console.log(var), you would get the var [18:09] DrMcKay: isaacs: I'm hacking on npm in orded to have something like `npm version v0.1.2 -m 'Commit message'`, but only args that gets passed is version number [18:09] sdwrage: because that var is now global [18:09] DrMcKay: isaacs: or hold on, I think I fucked up [18:09] navaru: sdwrage: only in that module, so basically you don't have a global object in node like 'window' in browsers [18:09] isaacs: DrMcKay: the -m will be on npm.config.get("m") [18:10] isaacs: DrMcKay: but it'd be better to add a "--message" config option, then make "-m" a shorthand for "message" [18:10] sdwrage: navaru: we do have a global object though. It just cannot be referenced is all [18:10] DrMcKay: isaacs: yeah, I just found out [18:10] sdwrage: navaru: JavaScript code, itself, must be contained within an object. As an example, when crafting JavaScript code for a web browser environment, JavaScript is contained and executed within the window object. This window object is considered to be the "head object," or sometimes confusingly referred to as "the global object." All implementations of JavaScript require the use of a single head object. [18:10] stagas_: sdwrage: no in the browser var foo in the outer scope will go to window.foo but in node it doesn't go to global [18:10] sdwrage: The head object is set up by JavaScript behind the scenes to encapsulate user-defined code and to house the native code with which JavaScript comes prepackaged. User-defined code is placed by JavaScript inside the head object for execution. Let's verify this as it pertains to a web browser. [18:10] isaacs: DrMcKay: sounds like a good idea. Configs are defined in lib/utils/config-defs.js, and must be documented in alphabetical order in doc/cli/config.md [18:10] DrMcKay: isaacs: OK, it'll look like that [18:11] sdwrage: stagas_: hrm lemme play with that [18:11] isaacs: DrMcKay: there's a lot of other examples to follow [18:11] sdwrage: I didn't know node.js modified how js worked at its core [18:11] vguerra has joined the channel [18:11] stagas: sdwrage: in node each file is wrapped in a function scope [18:12] adambeynon has joined the channel [18:12] sdwrage: stagas: so each file has its own… sort of mini-global per file? [18:12] TomY has joined the channel [18:12] navaru: sdwrage: local scope [18:13] stagas: sdwrage: no there's a global, but you only reference it with global.foo or you omit 'var' and it goes to global [18:13] DrMcKay: isaacs: but this means that I have to know alphabet. [18:13] DrMcKay: oh. [18:13] DrMcKay: not good. [18:13] sdwrage: stagas: okay see that is what I was making sure of [18:13] DrMcKay: no, actually, wikipedia <3 [18:13] sdwrage: that nodejs has a global that wraps the code up basically [18:14] sdwrage: or else that book has a lot of explaining to do [18:14] sdwrage: :P [18:14] hughfdjackson has left the channel [18:14] isaacs: DrMcKay: "M" is between "L" and "N" [18:14] navaru: sdwrage: what book? [18:14] sdwrage: navaru: "Javascript Enlightenment" [18:14] DrMcKay: isaacs: yeah, thanks :) [18:14] sdwrage: navaru: JavaScript code, itself, must be contained within an object. As an example, when crafting JavaScript code for a web browser environment, JavaScript is contained and executed within the window object. This window object is considered to be the "head object," or sometimes confusingly referred to as "the global object." All implementations of JavaScript require the use of a single head object. [18:14] sdwrage: The head object is set up by JavaScript behind the scenes to encapsulate user-defined code and to house the native code with which JavaScript comes prepackaged. User-defined code is placed by JavaScript inside the head object for execution. Let's verify this as it pertains to a web browser. [18:14] sdwrage: that is the snippet from it [18:14] isaacs: DrMcKay: so, put it between "long" and "node-version" [18:15] DrMcKay: isaacs: I'll make it false by default [18:15] Muvin: anyone knows any node module for analyzing log file? like Splunk? [18:15] sdwrage: navaru: "All implementations of JavaScript require the use of a single head object" being the kicker [18:15] DrMcKay: isaacs: or should I use some format string? [18:15] apoc has joined the channel [18:15] ippz: anyone have pointers to how to remove GC-runs like this: http://pastie.org/2595374 .. it currently kind of kills my realtime game [18:15] stagas: sdwrage: the closure thing happens in js land, it's the way we have module.exports and such stuff so you can imagine it's in a (function () { ... your code ... })() [18:16] torgeir_ has joined the channel [18:16] isaacs: DrMcKay: So, the type def should be [null, String], and the default should be null. then, when you're using it, if it's set to null, use whatever is currently the default. [18:16] stagas: sdwrage: with some vars passed in like module, require, global, process I think [18:16] isaacs: DrMcKay: i think a format string is probably going overboard for this feature [18:16] hasenj has joined the channel [18:16] pt_tr has joined the channel [18:16] sdwrage: stagas: odd. Guess I have to continue to watch the nodejs intro vid [18:16] sdwrage: :P [18:17] Nuck: "parser error, 40 of 44 bytes parsed" Somebody explain this? [18:17] stagas: sdwrage: https://github.com/joyent/node/blob/master/src/node.js#L513-516 [18:17] DrMcKay: isaacs: OK [18:17] cjroebuck has joined the channel [18:17] DrMcKay: isaacs: last question, micro-commits or not? [18:18] johnwards has joined the channel [18:18] malletjo has joined the channel [18:18] AvianFlu has joined the channel [18:18] malletjo: Hello folks, anyone knows if socket.io implement session with redis store so i can use cluster for scaling ? [18:19] navaru: stagas: sdwrage: no there's a global, but you only reference it with global.foo or you omit 'var' and it goes to global <-- this is so wrong! [18:19] stagas: sdwrage: this is cool because this way you can have vars in every file of yours but none of these will leak in global, so you don't need an extra closure like you do in the browser [18:19] bnoordhuis: ippz: --expose_gc gives you a global gc() function [18:19] simenbrekken has joined the channel [18:19] kriszyp has joined the channel [18:19] stagas: navaru: correct me please :) [18:19] navaru: stagas: sdwrage: if you omit 'var' it won't go to 'global'.. [18:20] sdwrage: navaru: so confusing as I thought all js was wrapped up by the global [18:20] vns has joined the channel [18:21] navaru: looks I was wrong, damn it [18:21] TheJH: !admin eval foobarbaz = 1; global.foobarbaz [18:21] jhbot: 1 [18:21] TheJH: !admin eval delete global.foobarbaz [18:21] jhbot: true [18:21] stagas: navaru: :) [18:21] sdwrage: navaru: what do you mean? [18:22] stagas: navaru: you had me there for a sec, I went and tested it :P [18:22] navaru: TheJH: explained better [18:22] m1k3l has joined the channel [18:22] navaru: man bad, sorry [18:22] TomY has joined the channel [18:22] navaru: ma* [18:22] TheJH: navaru, err, what? I don't understand you [18:22] torgeir_ has joined the channel [18:23] ippz: bnoordhuis: what does "global gc() function" mean in practice? :) [18:23] torgeir_ has joined the channel [18:23] colinclark has joined the channel [18:23] bnoordhuis: ippz: that you can call gc() to amortize the garbage collector runs [18:23] sdwrage: uh oh… I spoke the subject of node.js that shall not be named :P [18:23] hebz0rl has joined the channel [18:23] ippz: bnoordhuis: aah.. I can call it whenever I like.. nice tip, I'll try it [18:24] bnoordhuis: ippz: i'm not proposing that as the end-all solution but it might help you tweak things [18:24] navaru: TheJH: nothing, i was trying to say that you've explained better the situation in your demo, a few lines up [18:24] TheJH: navaru, heh, I wouldn't consider that to be an explaination, more a demonstration :D [18:25] Nuck: Anyone here know Formidable well? [18:25] davidascher has joined the channel [18:25] navaru: TheJH: correct :D [18:25] Nuck: Seriously, this is a massive pain in my ass :/ [18:25] tylerstalder has joined the channel [18:26] ippz: bnoordhuis: mm.. if I call it every game tick (have a game that runs with 20 FPS --> "Mark-sweep 140.7 -> 140.7 MB, 357 ms." [18:26] ippz: so basically I'm looking at 357ms minimum [18:26] sdwrage: navaru: I am still confused 0_o can you tell me as though I were a 5 year old child? [18:26] ippz: that's no good for a game :) [18:26] Renegade001 has joined the channel [18:27] sdwrage: because, as far as I know… our universe (global) holds everything (objects, prims, etc) [18:27] skm has joined the channel [18:28] rfay has joined the channel [18:28] jbpros has joined the channel [18:28] navaru: sdwrage: forget what i've said, there is a global object, 'global'.. I was confused because console.log( golobal ); returns only '{}', so you can't see the global's properties [18:29] sdwrage: gotcha [18:29] sdwrage: okay… so what I learned was true then? :S [18:29] albertosheinfeld has joined the channel [18:29] navaru: sdwrage: yes, :) [18:30] sdwrage: woot! :D [18:30] sdwrage: navaru: thanks :) [18:31] eignerchris_ has joined the channel [18:32] N0va` has joined the channel [18:32] stagas: navaru: the repl behaves differently than node files, console.log(global) does show the properties [18:33] wmage has joined the channel [18:33] DrMcKay: isaacs: should this --message/-m be documented in usage as well? [18:33] isaacs: DrMcKay: sure. [18:33] isaacs: DrMcKay: you can also mention in doc/cli/version.md that it responds to the --message/-m config option [18:33] Poetro has joined the channel [18:34] DrMcKay: isaacs: that's already done :) [18:34] boaz has joined the channel [18:35] stonebranch has joined the channel [18:35] crash82 has joined the channel [18:36] navaru: stagas: that is was I was doing now, a few tests between the repl and normal execution, that really got me.. :) [18:36] navaru: what* [18:36] ippz: bnoordhuis: any other ideas how to run... smaller chunks of GC but more often? [18:36] ippz: feels kind of crazy that the min amount of time spent in GC in my game is 350ms [18:36] ph^_ has joined the channel [18:37] tmcw has joined the channel [18:37] bnoordhuis: ippz: you're probably creating lots and lots of object [18:37] bnoordhuis: *objects [18:37] dash has left the channel [18:37] ippz: right.. but basically I get this line: Mark-sweep 140.7 -> 140.7 MB, 358 ms. ... over and over again [18:38] paulwe has joined the channel [18:38] ippz: so it doesn't grow... ? and it doesn't seem to find objects go GC either .. I guess output is: total -> after_sweep [18:38] hasenj has joined the channel [18:38] ippz: go=to [18:39] ako: ippz said "goto" :v [18:39] DrMcKay: works! [18:39] creationix: bnoordhuis: did you start https://github.com/bnoordhuis/lua-uv before or after seeing my luvit? [18:40] ippz: http://comments.gmane.org/gmane.comp.lang.javascript.nodejs/14058 .. seems like this guy have a simular problem [18:41] TheJH: huh, there's a nodejs newsgroup? [18:41] ayo has joined the channel [18:41] TheJH: is it the same as the mailing list? [18:41] CoverSlide: i think it is [18:41] N0va has joined the channel [18:42] jscheel has joined the channel [18:42] bnoordhuis: ippz: are you testing with master or v0.4.x? [18:42] bnoordhuis: creationix: before [18:42] ippz: bnoordhuis: 0.4.11 [18:42] creationix: bnoordhuis: I wonder if we should join forces, you probably know libuv a lot better than me [18:43] bnoordhuis: ippz: you might want to try v0.4.12 or master but it's true that there are issues with inefficient garbage collection [18:43] creationix: ahh I have is the header file and ryah's screencast [18:43] parshap has joined the channel [18:43] bnoordhuis: creationix: sure [18:43] ippz: bnoordhuis: I'll do that.. tnx for all your help and suggestions [18:44] CarterL has joined the channel [18:44] softdrink has joined the channel [18:45] N0va` has joined the channel [18:46] puphin__ has joined the channel [18:46] CoverSlide: seems google picks up gmane before its own groups pages [18:46] bergie has joined the channel [18:46] kriszyp has joined the channel [18:47] Tobsn has joined the channel [18:48] creationix: bnoordhuis: cool, I think our projects have slightly different goals, but heavily overlap. I want a single binary (like node) that embeds uv and luajit and has it's own semantics [18:48] stagas: CoverSlide: seems reasonable, less stress on their servers if there's duplicated content elsewhere :P [18:48] bnoordhuis: creationix: oh, i just want something like lua-ev but for libuv [18:49] bnoordhuis: but yeah, overlapping goals [18:49] creationix: yeah, that's what I thought [18:49] creationix: bnoordhuis: well, you're welcome to take any of my code, it's all MIT [18:49] Nuck: holy shit, TextMate 2 is actually gonna be in alpha by Christmas [18:50] fattytuna has joined the channel [18:51] bnoordhuis: creationix: likewise, it's ISC licensed (like MIT but with even less legalese) [18:51] creationix: cool, I should look into that one [18:51] ajpiano has joined the channel [18:52] creationix: bnoordhuis: so that's the "new" bsd license then? [18:52] Brandon_R has joined the channel [18:52] Brandon_R: hey guys [18:53] drudge: Nuck: sure it is [18:53] CIA-109: node: 03isaacs 07master * rc828ded 10/ lib/zlib.js : zlib: Typo. s/opt/opts/ - http://git.io/1-vBoA [18:53] Nuck: drudge: They officially announced it on their blog. [18:53] Nuck: Two years of work [18:53] bnoordhuis: creationix: it's like bsd without the 3rd clause [18:53] Nuck: Silent [18:53] drudge: mhm [18:53] ajpiano has joined the channel [18:53] creationix: bnoordhuis: nice, I like it [18:53] Nuck: And they're finally saying alpha by the end of the year [18:53] drudge: i will believe it when i see it :P [18:53] bnoordhuis: creationix: it's what openbsd uses btw [18:53] Nuck: Too little too late, I bet [18:54] Nuck: drudge: Duke Nukem Forever came out recently [18:54] creationix: yeah, I just read the wikipedia article [18:54] CoverSlide: if puffy likes it, I like it [18:54] Nuck: Just hope TM2 isn't so shitty [18:54] creationix: I'll use it instead of MIT, it's shorter [18:54] drudge: Nuck: exactly [18:54] CoverSlide: Puffy > Beastie [18:54] drudge: MacVim works fine [18:54] CoverSlide: > Tux [18:54] Nuck: drudge: I'm a Sublime user, I'm stuck on Linux [18:55] Nuck: But I'll probably give TextMate a try when I switch to mac, assume TM2 is out and not shit [18:55] AvianFlu has joined the channel [18:55] drudge: Espresso 2 has a public alpha out [18:56] mbrevoort has joined the channel [18:56] DrMcKay: isaacs: pull requested (https://github.com/isaacs/npm/pull/1460 ) [18:57] DrMcKay: wow, that was easy! [18:57] isaacs: DrMcKay: thanks [18:57] isaacs: :) [18:57] CoverSlide: expresso 2? [18:57] fangel has joined the channel [18:58] lz has joined the channel [18:58] DrMcKay: isaacs: :) [18:59] DrMcKay: ACTION is trying to smile to people as much as possible, even though it might look stupid [19:00] CoverSlide: ooh commit messages, sweet [19:00] DrMcKay: huh, wait [19:00] DrMcKay: I could make -m open an editor [19:01] DrMcKay: isaacs: maybe simply giving it an -m should omit -m git option? [19:01] Nuck: Okay, got things rolling. [19:01] sveimac has joined the channel [19:02] isaacs: DrMcKay: hm... [19:02] isaacs: DrMcKay: i've kind of been on the fence about the version command for a long time [19:02] isaacs: DrMcKay: it's a bit weird. [19:02] CoverSlide: so on windows, I'd have to set %EDITOR% ? [19:02] DrMcKay: isaacs: yeah, seems to... [19:02] dnjaramba has joined the channel [19:02] DrMcKay: CoverSlide: no [19:03] DrMcKay: I mean: npm version -m would exec git commit [19:03] DrMcKay: so that you could use an editor [19:03] DrMcKay: npm version -m message would: git commit -m message [19:03] DrMcKay: but true, that's kinda stupid [19:04] isaacs: DrMcKay: that's sort of teh opposite of how git works with -m [19:04] gsmcwhirter has joined the channel [19:04] isaacs: DrMcKay: really, i don't like the trend of npm slowly becoming a full-featured git client [19:04] DrMcKay: isaacs: yeah, I know, that's why it's stupid [19:04] eignerchris has joined the channel [19:04] DrMcKay: nvm that [19:04] DrMcKay: it was just me overthinking [19:05] shanez has left the channel [19:05] shanez has joined the channel [19:05] mehlah has joined the channel [19:05] shanez has left the channel [19:05] shanez has joined the channel [19:06] Nuck: isaacs: Can I get NPM to send emails? [19:06] shanez has left the channel [19:06] isaacs: Nuck: m()n [19:06] jesusabdullah: o__O [19:06] jesusabdullah: ? [19:06] isaacs: ;P [19:06] DrMcKay: isaacs: or can I have it draw me a nice christmas tree :D ? [19:07] isaacs: DrMcKay: npm xmas [19:07] DrMcKay: isaacs: :D [19:07] DrMcKay: hey, let's make it play christmas carols! [19:07] CoverSlide: haha sweer [19:08] DrMcKay: anyone knows some nice CC-By christmas carols? [19:08] hellp has joined the channel [19:10] Nuck: isaacs: NPM looks like a good implementation of Zawinski's Law. [19:10] DrMcKay: ACTION googles [19:10] shipit has joined the channel [19:11] Nuck: lol [19:11] DrMcKay: Nuck: why would you say that it's bloated? [19:11] khrome_ has joined the channel [19:11] Nuck: DrMcKay: the fact that it's turning into a full git client [19:11] DrMcKay: Nuck: it's not [19:11] guidocalvano has joined the channel [19:11] DrMcKay: Nuck: can it cherry-pick commits from other packages for me? [19:11] Nuck: DrMcKay: 12:04 <@isaacs> DrMcKay: really, i don't like the trend of npm slowly becoming a full-featured git client [19:12] Nuck: DrMcKay: izs says it, therefore it is so. [19:12] DrMcKay: the fact that it can clone and commit doesn't make it a git client at all [19:12] DrMcKay: and since node community is pretty git-centric, it had to be implemented at some point [19:13] guest1 has joined the channel [19:13] SubStack: DrMcKay is a scope creep! [19:13] isaacs: Nuck: there are a few commands that will add and commit stuff for you [19:13] Nuck: Anyways, I need a numerically-incrementing field on Mongoose [19:13] isaacs: Nuck: mostly just `npm version 1.2.5` which updates package.json, adds it to git, commits, and tags [19:14] Nuck: isaacs: damn [19:14] Nuck: isaacs: Let the newbies learn git the hard way [19:14] isaacs: Nuck: it also supports git urls now [19:14] Nuck: Let them do that :P [19:14] stagas_ has joined the channel [19:14] DrMcKay: SubStack: :D [19:14] Nuck: Well that I approve of [19:14] Nuck: But seriously, incremented counter field on Mongoose [19:14] Nuck: Any idea for how to do that? [19:14] joshthecoder: Nuck there's an easy way to learn Git?? ;) [19:14] amiller has joined the channel [19:15] DrMcKay: Nuck: pre('save') [19:15] Nuck: joshthecoder: haha [19:15] DrMcKay: joshthecoder: :D [19:15] knifed has joined the channel [19:15] Nuck: DrMcKay: Yeah, I think that's what I'm gonna hafta do [19:15] reid has joined the channel [19:15] Nuck: Keep a counter collection and keep track in there, I guess [19:15] Nuck: I won't wanna mix my poisons with interactions between Redis and Mongo :/ [19:16] Nuck: Though Redis would be better for this case prolly [19:16] DrMcKay: joshthecoder: shit. [19:16] DrMcKay: joshthecoder: http://www.google.pl/search?q=%22learn%20git%20the%20easy%20way%22 [19:16] DrMcKay: * http://www.google.com/search?q=%22learn%20git%20the%20easy%20way%22 [19:16] joshthecoder: DrMcKay: unless you know magic, your fucked I guess... [19:16] Nuck: Seriously, yeah [19:17] Nuck: We don't speak polish [19:17] DrMcKay: Nuck: sorry, it;s my poor combination of chrome flags :/ [19:17] smtlaissezfaire has joined the channel [19:18] DrMcKay: joshthecoder: that's why in my team we do version control by timestamped directories on a shared drive [19:18] whitman has joined the channel [19:18] JaKWaC has joined the channel [19:18] DrMcKay: or wait, no. it's the pendrive we just pass to each other when we make some changes [19:19] joshthecoder: nice [19:19] Nuck: DrMcKay: We use floppies [19:19] TheJH: you guys have a hard life :D [19:19] DrMcKay: Nuck: those 5"? we use them as a backup [19:20] TheJH: I'm participating in a programming competition together with some people at school, and I made them use git :D [19:20] Nuck: DrMcKay: Oh no, floppies are bad for backups [19:20] Nuck: We use tape reels [19:20] TheJH: ACTION proud [19:20] DrMcKay: TheJH++ [19:20] v8bot_: DrMcKay has given a beer to TheJH. TheJH now has 3 beers. [19:20] TheJH: WTF? in PM: Karmalicious> DrMcKay just got you a level! You're now on level 1. [19:21] DrMcKay: Nuck: we're using tape reels as our main server storage [19:21] Nuck: And occasionally old tape cartridges, for high-traffic data [19:21] TheJH: TheJH++ [19:21] v8bot_: TheJH: Don't cheat! You can't give a beer to yourself. [19:21] DrMcKay: TheJH++ [19:21] v8bot_: DrMcKay has given a beer to TheJH. TheJH now has 4 beers. [19:21] jacobwg has joined the channel [19:21] CoverSlide: haha [19:21] TheJH: this time, Karmalicious didn't talk to me... [19:21] Nuck: DrMcKay: Oh, we don't have any storage [19:22] jheusala: looks like openwrt is mips and not ARM :-) [19:22] Nuck: We just have 400 bytes of temporary storage [19:22] TheJH: who is the owner of Karmalicious? It is hosted in germany [19:22] Astro has joined the channel [19:22] jheusala: google v8 has some support for mips but not sure if that has changed after the summer [19:22] Nuck: DrMcKay: You should see when we have an outage and need to bootstrap a new server [19:22] Nuck: It takes a team of 20 men to feed in all the punchcards for the newer bits [19:23] mc_greeny has joined the channel [19:23] ajpiano has joined the channel [19:23] Nuck: Old bits still running on our previous setup are based on switches [19:23] DrMcKay: Nuck: you guys use punchcards? we just have people press buttons [19:23] seankemp has joined the channel [19:23] dexter_e has joined the channel [19:24] Nuck: DrMcKay: We've upgraded to punchcards for much of our program [19:24] Nuck: They allow us faster startup times without problems from mistakes in inital state [19:24] DrMcKay: Nuck: but do they scale well? [19:25] fmeyer has joined the channel [19:25] Nuck: DrMcKay: Oh yes, we have punchcard readers from 3 inches wide to 3 feet wide [19:25] DrMcKay: Nuck: looks good. which cloud hosting are you guys using? [19:25] jheusala: https://github.com/ignacio/LuaNode found a workaround :-P [19:26] Nuck: DrMcKay: Oh, they're all too outdated for us. We're on the cutting-edge so we employ nothing but the best nerds in our basement. [19:26] DrMcKay: uhm. third lua node? [19:26] DrMcKay: Nuck: that's understandable [19:26] DrMcKay: Nuck: we've tried to build our private cloud [19:26] Nuck: DrMcKay: Equipment was provided by this one company called "IBM" [19:27] Nuck: They're a small business, but they've served us well [19:27] DrMcKay: we're now wondering how should we connect those mainframes to make them a cloud [19:27] Nuck: DrMcKay: We generally use continuous-feed tape loops [19:28] DrMcKay: I think we should just put some steam emitter into our server room [19:28] Nuck: It's faster than the alternative of a switch-flicker [19:28] DrMcKay: Nuck: oh, that's innovative [19:28] Bodil has joined the channel [19:28] Nuck: DrMcKay: Yeah, one of our interns came up with it [19:28] Nuck: ingenious solution [19:28] Nuck: Needless to say we fired him [19:28] Zenethian has joined the channel [19:28] DrMcKay: Nuck: wait, you have interns? [19:29] DrMcKay: we only hire people with > 20 yrs of experience [19:29] DrMcKay: and PhD [19:29] DrMcKay: at least two PhDs, of course [19:29] Nuck: DrMcKay: Oh certainly. We drive up in a truck during MIT's graduation ceremonies every time, and generally we pick up 5 guys every time [19:29] Gruni|NA has joined the channel [19:29] tomaw has joined the channel [19:29] Nuck: 1 usually gets caught in a machine within a year [19:30] mdz has left the channel [19:30] Nuck: 2 leave us [19:30] Nuck: And the other 2 are then promoted or fired. [19:30] Nuck: Depends on the current mood of our PhDs. [19:30] DrMcKay: Nuck: that's a good system [19:30] DrMcKay: Nuck: our last intern failed to make me a coffee [19:31] DrMcKay: so, well, obviously, we made him write all backups to a tape manually [19:31] Nuck: DrMcKay: Yeah, the MIT guys have coffe-making down to a science. They hooked a video camera to a mainframe and so they can monitor the status of the coffee at any time [19:31] Nuck: DrMcKay: Oooh, ouch [19:32] joshthecoder: Nuck did they program it in COBOL? [19:32] DrMcKay: Nuck: we should implement it here... is it patented? [19:32] Nuck: joshthecoder: Hmm, what's COBOL? [19:32] DrMcKay: joshthecoder: we haven't adopted COBOL yet. it isn't a proved technology, really. [19:33] Nuck: DrMcKay: Sadly, no. They released the code onto alt.programming.sota [19:33] joelburns has joined the channel [19:33] joshthecoder: someone should port libuv to COBOL [19:33] Nuck: DrMcKay: Yeah, we're sticking to manually punching holes [19:33] DrMcKay: Nuck: you should issue a DMCA takedown notice now. [19:33] Nuck: We don't trust some machine to make this stuff for us [19:33] Nuck: DrMcKay: What's DMCA? [19:33] Nuck: Is it some newfangled protocol? [19:34] DrMcKay: Nuck: it's what you send to someone who uses your code [19:34] Nuck: Better not be one of these silly TCP/IP thingamabobbers [19:34] Nuck: That'll never scale [19:34] MatthewS has joined the channel [19:34] DrMcKay: Nuck: we've observed a dangerous trend [19:34] Corren has joined the channel [19:34] DrMcKay: people use code which they haven't developed [19:34] slifty has joined the channel [19:34] colinclark has joined the channel [19:35] Nuck: DrMcKay: That's no good. How does the developer make money? [19:35] joshthecoder: License fees! [19:36] MooGoo: developers make money? [19:36] CIA-109: libuv: 03Bert Belder 07master * r622eb99 10/ (7 files in 2 dirs): [19:36] DrMcKay: joshthecoder: license? [19:36] CIA-109: libuv: win: implement tty [19:36] CIA-109: libuv: loose end: line-buffered input reads ascii, not unicode - http://git.io/n8Zyzw [19:37] sdwrage: hey guys, I installed the growl module via npm and tried to use it in my app… but it says it can't find growl, is there another step? [19:37] willwhite has joined the channel [19:37] Nuck: MooGoo: Yeah, we pay our developers well. They get twice the minimum wage, or about $7 an hour. [19:37] MooGoo: I thought this programing thing was like a cult where you abstain from all worldy pleasures and possestions [19:37] CoverBot has joined the channel [19:37] CoverBot: CoverSlide++ [19:37] v8bot_: CoverBot has given a beer to CoverSlide. CoverSlide now has 1 beers. [19:37] DrMcKay: joshthecoder: why do you need a license when your code stays in-house? [19:37] JaKWaC has joined the channel [19:37] TheJH: sdwrage, did you maybe use "-g" or "--global"? because you shouldn't [19:37] MooGoo: CoverBot ran out of beer [19:37] joshthecoder: DrMcKay: I honestly have no clue what we are talking about, just typing random things at this point. [19:37] davidascher has joined the channel [19:38] MooGoo: DrMcKay is an advanced chatbot [19:38] MooGoo: right catb0t [19:38] DrMcKay: MooGoo: you got me. [19:38] Nuck: joshthecoder: It's 1977, what do you *think* we're discussing!? [19:38] Nuck: In fact, what the hell is this thing I'm talking to you with? [19:38] sdwrage: TheJH: yeah… used g [19:38] DrMcKay: Nuck: btw, did you hear about this funny thing "Lunix" or "Linux"? [19:39] MooGoo: hm [19:39] Nuck: DrMcKay: Linux or Lucy? [19:39] CoverSlide: aren't they a rap group? [19:39] DrMcKay: CoverSlide: no, there's that funny guy, Linus, he wants to make his software free! [19:39] TheJH: sdwrage, global is for command line applications only [19:39] davidascher has joined the channel [19:39] DrMcKay: and he even published a code! [19:40] DrMcKay: can you understand it? publishing your own code... [19:40] CoverSlide: oh! i know exactly what you're talkin about!! : http://www.youtube.com/watch?v=v6tqn7uhYKk [19:40] TheJH: isaacs, how about forbidding "-g" or "--global" in case there are no executables? [19:40] sdwrage: TheJH: ah… well I wanted to play with it with my http server and let me know whenever someone connects [19:40] davida has joined the channel [19:40] MooGoo: Linus should have been arrested and tried for treason years ago [19:40] TheJH: sdwrage, well, install it without -g and it should work [19:40] Nuck: DrMcKay: Bah, nobody will ever use it. [19:40] sdwrage: TheJH: server doesn't crash now but no growl notification :( [19:40] DrMcKay: CoverSlide: :D [19:41] DrMcKay: Nuck: yeah, I bet he'll stay the only one [19:41] Nuck: DrMcKay: What kind of code would you release for free? The crappy stuff, I say. [19:41] davidascher has joined the channel [19:41] DrMcKay: Nuck: yeah, and since all my code is awesome, nothing then [19:41] Nuck: DrMcKay: And who will use something made by some random guy? [19:42] Nuck: DrMcKay: Exactly! [19:42] DrMcKay: Nuck: true. he isn't even backed by any company! [19:42] Nuck: DrMcKay: What!? He must be insane! [19:42] TheJH: ping isaacs [19:42] DrMcKay: how do I know this code won't burn my bios up? [19:42] c4milo: tjholowaychuk: hey, if I just want to send a status code with no body, which one should I use res.send, res.json? [19:42] aron_ has joined the channel [19:42] TheJH: DrMcKay, you just need a moron as first tester [19:43] Nuck: DrMcKay: What kind of code did this man create? [19:43] tjholowaychuk: c4milo res.send(204) [19:43] Nuck: What is it, a text editor? [19:43] TheJH: DrMcKay, did you hear about bumblebee? the dooming space? [19:43] DrMcKay: Nuck: it's an OS! [19:43] DrMcKay: TheJH: lulz of all the times [19:43] c4milo: tjholowaychuk: also I've noticing res.send() sends along a text traducing the status code [19:43] c4milo: tjholowaychuk: in the body of the response [19:43] tjholowaychuk: c4milo by default yeah but not for 204 [19:43] DrMcKay: Nuck: can you even imagine replacing your IBM Unix with this something?! [19:44] c4milo: tjholowaychuk: how can I avoid that for 200? [19:44] MooGoo: guys UNIX is owned by SCO so you're all criminals [19:44] tjholowaychuk: c4milo: res.send('', 200) should be fine [19:44] c4milo: tjholowaychuk: ok [19:44] seebees1 has left the channel [19:44] DrMcKay: MooGoo: my company bought license [19:44] tjholowaychuk: or res.status(200).end(); etc [19:45] DrMcKay: MooGoo: it was something like $500 000, but it was worth it [19:45] Nuck: DrMcKay: psssh nobody will ever use it [19:45] rfay has joined the channel [19:45] c4milo: tjholowaychuk: getting this in the log This type of response MUST NOT have a body. Ignoring data passed to end(). ? [19:45] DrMcKay: Nuck: yeah, only lunatics would use operating system with freely available code [19:45] DrMcKay: it's dangerous! [19:45] tjholowaychuk: c4milo for res.send(204) ? [19:45] Nuck: DrMcKay: Imagine the security flaws! The lost profits! [19:46] tjholowaychuk: maybe you have an old version [19:46] c4milo: tjholowaychuk: yes [19:46] davidascher has joined the channel [19:46] maqr has joined the channel [19:47] DrMcKay: Nuck: and all those hackers breaking into your system! [19:47] Nuck: DrMcKay: Hackers? Psssh that's fancytalk, we're not missile defense [19:47] mandric has joined the channel [19:48] jesusabdullah: ACTION haxxes Nuck's boxx0r [19:48] dylang: tjholowaychuk: Doodle or Die is going well now that we moved mongo off no.de, getting about 2 doodles saved per second right now. i think we could be faster if we use cluster but in my tests i get "FATAL ERROR: CALL_AND_RETRY_2 Allocation failed - process out of memory" on startup. [19:48] reid_ has joined the channel [19:48] tjholowaychuk: dylang 2/s? [19:48] tjholowaychuk: that doesnt sound like much [19:48] dylang: tjholowaychuk: i think i narrowed it down to stylus compiling twitter bootstrap's css at startup. [19:48] overthemike has joined the channel [19:49] overthemike has left the channel [19:49] CoverSlide: don't no.de smartmachines have like 128 MB memory? [19:49] tjholowaychuk: hmm.. it shouldn't try to compile .css files [19:49] DrMcKay: Nuck: yeah, but just imagine it. this Linus could put some dangerous code into this system. [19:49] Fabryz has joined the channel [19:49] DrMcKay: Nuck: then hackers would be able to just get all Linux machines at once! [19:49] dylang: tjholowaychuk: i merge all the styl files together into one file using assettmanager because it handles wildcards. [19:49] DrMcKay: that's why my company will always stick to IBM Unix [19:50] isaacs: CoverSlide: yeah, 128 [19:50] isaacs: CoverSlide: they're really not intended for production use [19:50] tjholowaychuk: dylang hmm, i usually just have one root .styl file so they're already aggregated really [19:50] Nuck: DrMcKay: Linux!? Who does he think he is, copying the name from IBM Unix!? [19:50] dylang: tjholowaychuk: 2/doodles saved per second - each one is then uploaded to amazon s3. [19:50] isaacs: we have smartmachines up to 40GB of ram for that [19:50] DrMcKay: Nuck: oh, true... I think I will call IBM tomorrow. [19:50] Nuck: isaacs: But they can go pretty far, as `3rdEden proved. [19:50] isaacs: yep [19:51] isaacs: we also resized him to 256 when he got techcrunched, i think [19:51] Sambasiva has joined the channel [19:51] jesusabdullah: dylang: You made Doodle or Die? [19:51] CoverSlide: does the stylus middleware do a watch or does it compile each time? [19:51] Nuck: isaacs: haha yeah, he needed it [19:51] dylang: jesusabdullah: yes [19:51] CIA-109: node: 03Ryan Dahl 07master * r040cf02 10/ test/simple/test-regress-GH-1697.js : [19:51] CIA-109: node: Re-land Bert's test for #1697 [19:51] CIA-109: node: Was reverted out in cde81a6675caa5d64d2215b75105cf353ed98dc6 - http://git.io/YPdkOg [19:51] tjholowaychuk: CoverSlide it checks the mtime [19:51] jesusabdullah: dylang: I saw that one getting a lot of buzz outside our nodejs sphere of interest, which is pretty awesome ^__^ [19:51] CoverSlide: oh [19:51] CoverSlide: i guess that's better than watch [19:51] tjholowaychuk: and does some complicated @import resolution stuff [19:51] tjholowaychuk: also checking the mtime [19:51] Nuck: DrMcKay: I hear they're working on some devices that can store whole *kilobytes* of data in a small spinning magnetic disc [19:51] dylang: jesusabdullah: thanks! reddit loves it. http://www.reddit.com/r/doodleordie/ [19:52] jesusabdullah: dylang: Is that the app where SubStack "drew" a jpg of Jack Sparrow? [19:52] dylang: jesusabdullah: hyes [19:52] Nuck: I can't see this ever replacing the tapes we use today [19:52] jesusabdullah: lol, awesome [19:52] jesusabdullah: We thought that was pretty lulzy [19:52] jesusabdullah: I hope you did too [19:52] CoverSlide: tapes? [19:52] CoverSlide: pfft [19:52] dylang: jesusabdullah: i've been meaning to "fix" that problem but i don't want to destory his fun. [19:52] CoverSlide: punchcards are the future [19:52] Kingdutch has joined the channel [19:52] sonnym has joined the channel [19:52] DrMcKay: Nuck: magnetic? isn't that dangerous? [19:52] Nuck: They can't be nearly as reliable [19:52] jesusabdullah: Well, he only got it working once, so... ^__^ [19:52] vidi has joined the channel [19:52] CoverSlide: no chance of data corruption [19:53] Nuck: DrMcKay: Well, it's doable on tapes, but a *disc*? How would you even do that? [19:53] Nuck: How do you know the order? [19:53] jesusabdullah: Are you on twitters, dylang ? I'm-a tweet about this subreddit, that blows my mind [19:53] damjan has joined the channel [19:53] dylang: @dylang [19:53] chrislorenz has joined the channel [19:53] dylang: and @doodleordie now too [19:53] Wizek-other has joined the channel [19:53] Nuck: DrMcKay: You could be spinning at any point and never know where you are! [19:54] CoverSlide: dylang: +followed [19:54] DrMcKay: Nuck: yeah, that sounds dangerous [19:54] Nuck: DrMcKay: And the mere suggestion that they could evne possibly hold a whole kilobyte of data is utter insanity [19:54] Nuck: And they claim this with a 4-inch disc! [19:55] DrMcKay: kilobyte? that's how big our all punchcards are! [19:55] Nuck: DrMcKay: I mean, what happens if you accidentally let the disc touch the magnetic "needle" or whatever they have! [19:55] Nuck: You could break the disc. [19:55] Nuck: DrMcKay: Exactly, and on a small disk, nonetheless. [19:56] Fabryz_ has joined the channel [19:56] Nuck: It's utter rubbish, I tell you, rubbish [19:56] dylang: tjholowaychuk: also trying to figure out a way to view cluster_live with only one port open (80). [19:57] DrMcKay: Nuck: I doubt they'll manage to get it in production [19:57] guillermo has joined the channel [19:57] dylang: isaacs: do you know if no.de support ssh tunneling? [19:57] tjholowaychuk: dylang hm you could do app.use('/stats', clusterLiveApp) [19:57] tjholowaychuk: or similar [19:57] Nuck: DrMcKay: Seriously, it's impossible. [19:57] dylang: tjholowaychuk: ah didn't think i could do that - will try. [19:57] isaacs: dylang: yah, if you can ssh to it, you can tunnel through it [19:58] tjholowaychuk: i haven't tried either haha [19:58] isaacs: dylang: actually, the port that you ssh into is through an ssh tunnel [19:58] tjholowaychuk: should work though [19:58] isaacs: dylang: but you can't use it to open up any ports other than 80 and 22 to the outside world, though [19:58] murilobr has joined the channel [19:59] dylang: isaacs: that's what i meant [20:00] Nuck: isaacs: I'm still holding onto my old-style instance for things which require other ports, because I've got a few projects that will likely need it and no.de is great for it :D [20:00] JJMalina has joined the channel [20:00] Vertice has joined the channel [20:01] yozgrahame has joined the channel [20:01] DrMcKay: Nuck: no.de? I thought that domain must end with '.arpa'! [20:01] Nuck: That instance currently holds my deviantART chat server emulator on port 3900 [20:02] Nuck: DrMcKay: no, we have some special things in our HOSTS file. [20:02] damjan: hi all, I'm making a connection with tls.connect, but I wonder how can make it more "agresive" in detecting when the other end has closed or died off the internet [20:02] DrMcKay: Nuck: ah, OK [20:04] JaKWaC has joined the channel [20:04] vidi has joined the channel [20:04] patcito_ has joined the channel [20:04] jesusabdullah: arpa? [20:04] mike5w3c_ has joined the channel [20:05] jesusabdullah: Nice [20:05] jesusabdullah: I was thinking http://d.arpa [20:05] jesusabdullah: If I were darpa I'd totally get that one [20:06] socialhack has joined the channel [20:06] DrMcKay: jesusabdullah: lol [20:07] Kingdutch has joined the channel [20:08] boaz has joined the channel [20:11] ixti has joined the channel [20:11] sdwrage: I created the default nodejs example app (hello world server) listening on port 1337. I did the necessary port forwarding but others can't connect. Any reason? [20:11] sdwrage: is there any glaring nodejs step I may have forgot? [20:11] jesusabdullah: The best part is that d.arpa is totally web 3.0 and yet nobody else can even *have* a .arpa url [20:12] jesusabdullah: sdwrage: Can you connect to it locally? ie, localhost:1337 ? [20:12] AvianFlu: sdwrage: you need to listen on 0.0.0.0 instead of localhost [20:12] DennisRasmussen has joined the channel [20:12] AvianFlu: localhost == loopback [20:12] sdwrage: AvianFlu: ahhh [20:12] jesusabdullah: ah [20:12] sdwrage: I see [20:12] AvianFlu: 0.0.0.0 == all interfaces [20:12] jesusabdullah: I just learned something >:) [20:13] akiva has joined the channel [20:13] djQuery has joined the channel [20:14] dylang: tjholowaychuk: it seems like app is not exported from cluster-live.js [20:15] colinclark_ has joined the channel [20:15] bradleymeck has joined the channel [20:15] chrischris has joined the channel [20:16] tjholowaychuk: dylang oh [20:16] tjholowaychuk: damn [20:16] tjholowaychuk: hmm [20:16] aron_ has joined the channel [20:16] colinclark_ has joined the channel [20:16] ryanj has joined the channel [20:17] m00p has joined the channel [20:18] dylang: tjholowaychuk: any plans to break off the dashboard UI and make it something more generic? would love to add ram, doodles created/second, referer count, etc. [20:18] djcoin has joined the channel [20:18] tjholowaychuk: dylang: yeah I would love to make it more like geckoboard [20:18] mjr_ has joined the channel [20:18] tjholowaychuk: http://www.geckoboard.com/ [20:18] dylang: tjholowaychuk: exactly [20:19] drudge: what a big ipad they have [20:19] context: thats a computer screen. [20:19] context: the ipad is tiny [20:22] ceej has joined the channel [20:24] Nuck: le sigh [20:24] akiva: tjholowaychuk: I was planning on building something akin to that [20:24] akiva: Is there already a node based tool in the works? Maybe I could fork it [20:25] tjholowaychuk: akiva not that i've seen nope [20:25] tjholowaychuk: would be pretty trivial to get going [20:25] Vertice_ has joined the channel [20:25] akiva: I was going to build one for my own business needs... Maybe you have something started? [20:25] ashb has joined the channel [20:26] kraft has joined the channel [20:28] dylang: akiva: take a look at https://github.com/visionmedia/cluster-live - that's what we've been referring to. [20:29] jtsnow has joined the channel [20:29] akiva: dylang: I only logged in to this room after the fact. Thanks, though [20:29] akiva: I will check that out [20:31] jerrysv has joined the channel [20:32] socialhack has joined the channel [20:32] TomY has joined the channel [20:35] cying has joined the channel [20:36] ashb has joined the channel [20:37] Wa has joined the channel [20:38] meandi has joined the channel [20:40] guillermo has joined the channel [20:41] cconstantine: are the docs for readline out of date? [20:42] cconstantine: rl.createInterface(process.sdtin, process.stdout, null); is throwing an exception (straight from the docs) [20:42] CIA-109: libuv: 03Ben Noordhuis 07master * r083c97e 10/ (45 files in 10 dirs): c-ares: upgrade to 1.7.5 - http://git.io/Dker5g [20:42] CIA-109: libuv: 03Ben Noordhuis 07master * rb288afd 10/ src/uv-common.c : [20:42] CIA-109: libuv: common: fix includes [20:42] CIA-109: libuv: Don't rely on c-ares to pull in the headers for inet_addr, net_pton and [20:42] CIA-109: libuv: inet_ntop. c-ares 1.7.4 did but 1.7.5 does not. - http://git.io/PKYgjw [20:42] TooTallNate has joined the channel [20:42] vipaca has joined the channel [20:43] boaz has joined the channel [20:45] Margle has joined the channel [20:47] bnoordhuis: cconstantine: yeah, docs should be updated - rl.createInterface expects a completer function as its third argument [20:48] cconstantine: bnoordhuis, anyway to just not do that? [20:48] bnoordhuis: cconstantine: what? to not throw an exception? [20:48] cconstantine: yeah [20:49] cconstantine: I'm glad there's support for a completer function, but I really don't wnat to write one now [20:50] bnoordhuis: cconstantine: pass in a function that returns an empty array [20:50] cconstantine: thanks :) [20:51] bnoordhuis: cconstantine: it's been fixed in master btw so after this week's release you can do away with it [20:51] cconstantine: ok [20:52] tbranton: chrisdickinson: lol you sick sick man [20:52] chrisdickinson: tbranton: haha [20:52] maushu has joined the channel [20:52] chrisdickinson: well, luanode seemed too fast so i had to balance the equation. [20:52] tbranton: haha [20:55] MUILTFN has joined the channel [20:56] sonnym has joined the channel [21:00] Sambasiva has joined the channel [21:00] Sambasiva: Hi All [21:00] fangel has joined the channel [21:00] Sambasiva: options.agent = new https.Agent(options); is giving Maximum call stack size exceeded [21:00] louissmit has joined the channel [21:01] Renegade001 has joined the channel [21:01] bnoordhuis: Sambasiva: what version of node and can you gist/pastie the complete script? [21:02] davidascher has joined the channel [21:02] Sambasiva: node v 0.4.12 [21:03] piscisaureus_ has joined the channel [21:05] robotmay has joined the channel [21:07] kevwil has joined the channel [21:07] DrMcKay: https://twitter.com/#!/pandamonial/status/118425205780647937 <- YES! [21:07] thomaschaaf has joined the channel [21:09] albertosh has joined the channel [21:09] thomaschaaf: I am using socketstream and it seems to bundle all files. It or nodejs (I am very new to it) are bundling the files into one js file. (asset) how do I debug what module put those there? [21:09] darinc has left the channel [21:11] devongovett has joined the channel [21:12] Kurotek has joined the channel [21:13] pixel13 has joined the channel [21:13] ryanfitz has joined the channel [21:13] cjm has joined the channel [21:13] pixel13 has left the channel [21:14] necromancer: has anyone here tried to run a node.js app on pow? [21:14] stagas_: anyone else think socket.io has a weird api [21:14] tylerstalder has joined the channel [21:14] chapel: stagas_: what do you mean? [21:14] necromancer: here's the guide i followed: http://labnotes.org/2011/08/09/using-pow-with-your-node-js-project/ [21:16] tjholowaychuk: pff you can write a pow thing with connect in like 15 lines [21:16] tjholowaychuk: and chuck some shit in /etc/hosts [21:17] stagas: chapel: io = socketio.listen(foo); io.sockets.on('connection', ..) ? [21:17] cognominal_ has joined the channel [21:17] CoverSlide: what's wrong with that? [21:17] piscisaureus__ has joined the channel [21:17] reid has joined the channel [21:17] CoverSlide: replace io with `app` [21:18] chapel: seems pretty straight forward [21:18] CoverSlide: and it's like any other framework [21:18] stagas: chapel: compare to: server = socketio.createServer(); server.on('connect', ...); server.listen(foo); [21:18] stagas: 2nd is more what I'm used to [21:18] tjholowaychuk: stagas it hijacks that server [21:18] tjholowaychuk: to server the file(s) [21:19] stagas: still, it's hard to write a layer on top of it [21:19] chapel: not really [21:19] rburke has joined the channel [21:19] chapel: look at dnode [21:19] jerrysv: simple to write a layer on top of it [21:20] fread2281 has joined the channel [21:21] stagas: no it isn't. I need to attach listeners before the .listen() thing [21:21] Lemon_BE has joined the channel [21:21] Lemon_BE: Any good article suggestions on runnin node.js deamons? [21:22] bradleymeck has joined the channel [21:22] stagas: but I want to pass one object [21:22] jerrysv: stagas: so? io.listen(server) as your last step [21:22] stagas: not io and io.sockets [21:22] chapel: io.listen can be anywhere [21:22] stagas: yeah but io isn't an ee [21:22] chapel: well not inside the events [21:22] stagas: no? [21:23] albertosheinfeld has joined the channel [21:23] dambalah has left the channel [21:23] stagas: that sounded funny [21:23] stagas: :P [21:24] albertosh has joined the channel [21:24] albertosh has joined the channel [21:25] chapel: what are you trying to pass? [21:25] chapel: like to the client? [21:26] stagas: the server object [21:27] chapel: you're trying to pass the server object, to what? [21:28] stagas: around :P [21:28] stagas: nvm [21:28] context: no one likes a prmoscious server object [21:28] context: prOmIscious [21:28] jerrysv: ty context [21:28] jerrysv: faster than me [21:28] context: next on my agenda is learning how to spell [21:28] state has joined the channel [21:28] stagas: I'd just prefer if everything lived in one single object [21:28] CoverSlide: promiscuous server, you're teasin me [21:28] context: hahaha [21:29] fread2281 has joined the channel [21:29] stagas: now I have to use 'io' and 'io.sockets' and need to look the manual every two secs to see if it's named 'connection' or 'connect' [21:29] k1ttty has joined the channel [21:30] craigm has joined the channel [21:30] Cover|Lunch: 'connection' usually means when a client connects to the server, on the server-side [21:30] githogori has joined the channel [21:30] Cover|Lunch: 'connect' would be on the client side [21:30] Cover|Lunch: same as for net.Server [21:30] stagas: I'll make a websocket server emit 'entered' and live in foo.server.listeningGuard.serverSockets [21:31] neilk_ has joined the channel [21:31] khrome_ has joined the channel [21:31] jsj has joined the channel [21:31] mylo has joined the channel [21:31] junkee[] has left the channel [21:31] state: Installing npm on EC2 seems to hang indefinitely. It gets the Install.sh but gets stuck on npm -1.0.30: anyone know of anything going on? [21:32] isaacs: state: curl http://npmjs.org/install.sh | npm_debug=1 sh [21:32] isaacs: state: that'll dump way more output [21:32] state: isaacs: thanks, thanks [21:33] state: "set: 1: Illegal option -o pipefail" [21:33] JaKWaC has joined the channel [21:33] fread228_ has joined the channel [21:34] markwubben has joined the channel [21:34] damjan: state: maybe use bash [21:36] amiller has joined the channel [21:36] AvianFlu has joined the channel [21:37] khrome_ has joined the channel [21:38] state: echo $SHELL returns /bin/bash? [21:38] sambrose333 has joined the channel [21:39] devongovett has joined the channel [21:39] mehtryx has joined the channel [21:39] damjan: doesn't matter, sh can be anything else [21:39] fread2281 has joined the channel [21:39] sambro has left the channel [21:39] damjan: state: or, maybe sh is bash, but very old one? [21:40] state: weird, weird [21:40] state: i used the instance recommended here: https://github.com/rsms/ec2-webapp/blob/master/INSTALL.md#readme [21:40] joshkehn has joined the channel [21:40] joshkehn has left the channel [21:42] jerrysv: state: curl http://npmjs.org/install.sh | npm_debug=1 bash [21:42] state: just writes the output [21:43] admc has joined the channel [21:43] sh1mmer has joined the channel [21:44] dshaw_1 has joined the channel [21:44] llrcombs has joined the channel [21:45] sdwrage: Hey guys… having issues with this code: https://gist.github.com/0465a8cda5ae06b36932 [21:45] ippz: bnoordhuis: so I created 60 x 60 "screens".. each screen was 32 x 32 tile-objects.. so 130 meg of objects.. which basically gave GC a lot to iterate over even though not a single of those objects should be destroyed [21:45] sdwrage: I can't seem to get past the first if in my socketExists test [21:45] bnoordhuis: ippz: how did you solve it? [21:45] ippz: iterating over 130 meg of objects --> half a sec [21:45] eric_b has joined the channel [21:45] ippz: creating less objects basically.. but that will make my game world smaller [21:45] ippz: but I can worry about that later [21:46] jmoyers has joined the channel [21:46] necromancer: hey guys i'm trying to start my node app using `npm start`, and it seems to work but it doesn't actually start [21:46] necromancer: here's my output: [21:46] necromancer: princess:smartweets tom$ node server.js [21:46] necromancer: info - socket.io started [21:46] jamesd: .005 seconds per 1000 miles. [21:47] jamesd: oops wrong channel [21:47] ippz: creating less screens I mean.. I don't need 3600 screen big game world [21:47] chiyam has joined the channel [21:47] necromancer: i'm not sure what i'm supposed to be seeing, but it's certainly not available anywhere and i can't see the process in `ps -A` [21:47] necromancer: "it" being the node app iw rote [21:48] bingomanatee: 100% bu gfree I take it :D [21:48] necromancer: i sure hope not [21:48] dgathright has joined the channel [21:48] necromancer: i'm a total newbie [21:48] necromancer: to node, not javascript [21:49] necromancer: i'm just wondering a.) where can i find logs, and b.) how should i go about debugging this? [21:50] bingomanatee: You might need to use the fs module to manually generate logs. or log in mongo/redis/couch or something. [21:50] ippa has joined the channel [21:50] mylo has left the channel [21:50] bingomanatee: or try piping the node start to a file. [21:51] dreamdust has joined the channel [21:52] tilgovi has joined the channel [21:52] tilgovi has joined the channel [21:53] fread2281 has joined the channel [21:53] jaequery: is it possible to perform file downloads over ajax request? [21:54] devongovett has joined the channel [21:55] softdrink: so what's everyone using for project documentation? [21:55] socialhack has joined the channel [21:55] tjholowaychuk: softdrink https://gist.github.com/1231121 [21:55] tjholowaychuk: :) [21:56] PeaHurl has joined the channel [21:56] softdrink: damn you tj for making sense again. :) [21:56] creationix: tjholowaychuk: nice [21:56] creationix has left the channel [21:56] saikat has joined the channel [21:57] softdrink: i'm putting together a project boilerplate for myself… sick of doing it repeatedly [21:57] tjholowaychuk: good plan [21:58] sub_pop has joined the channel [21:58] Industrial: again isn't really my use case, but I'm doing it anyway :) [21:58] Industrial: gather up a box of tool [21:58] Industrial: s [22:01] lightcap has joined the channel [22:01] jamescarr has joined the channel [22:02] Industrial: Playing with this now, trying to untangle it. into something I can understand (Why yes indeed, Yet Another Flow Library (snippet really..). https://github.com/Industrial/gowiththeflow.js/blob/master/gowiththeflow.coffee [22:04] fread2281 has joined the channel [22:04] JaKWaC_ has joined the channel [22:06] m1k3l has joined the channel [22:07] tanepiper: tjholowaychuk: nice new release of jade! inspired by django templates with the blocks? [22:07] tjholowaychuk: yup! [22:07] tanepiper: sweet, can't wait to try them out [22:08] Industrial: I particularly dont understand why theres only one element being shifted and looped through with the stack.shift [22:08] Industrial: and why theres empty arrays being added to the stack [22:09] tjholowaychuk: chain._next (if isSeq then errors[0] else errors), (if isSeq then results[0] else results) if nbReturn is 0 [22:09] tjholowaychuk: is quite possibly [22:09] tjholowaychuk: the worst thing i've ever seen [22:09] tjholowaychuk: ACTION eyes burning [22:10] tbranton: cry it all out you big babby [22:10] tjholowaychuk: moar cols [22:10] Industrial: tjholowaychuk, haha check the repo history, sorry man, I'm converting this from js [22:10] jamescarr: so guys... I use rackspace for a client to host a php site, a node.js site and a rails site. Due to some issues with rackspace the client would like to switch... [22:10] jamescarr: do you all recommend linode? [22:10] tbranton: jamescarr: fo sho [22:10] tjholowaychuk: jamescarr yeah it's pretty nice [22:11] tjholowaychuk: looks really bad but other than that ++ [22:11] tbranton: hard to argue with > 420 days uptime and a kick ass dns manager [22:11] Swizec has joined the channel [22:11] tbranton: oh whoops [22:11] tjholowaychuk: ACTION tjholowayhuk [22:11] tbranyen: lies [22:11] Cover|Lunch: ACTION CoverSlide [22:11] innociv_: Linode is very good [22:12] innociv_: Too pricey when you start going up though :( [22:12] innociv_: I'm with a cheaper dedicated server now but get network downtime now and then. [22:12] reid has joined the channel [22:12] innociv_: I was with Linode for almost a year and I don't remember it ever going down. [22:13] hotroot has joined the channel [22:13] CoverSlide: you can get a dedicated server for cheaper? [22:13] boaz has joined the channel [22:13] hotroot: Wow, more people in #node.js then in #javascript, yeesh [22:14] ixti has joined the channel [22:14] innociv_: Yeah. [22:14] innociv_: Only #jquery has more, of the js channels, i think [22:14] hasenj has joined the channel [22:14] hotroot: Wow [22:15] DrMcKay: $ can get many people into your channel. [22:15] innociv_: $? [22:15] innociv_: How do they spend money to get people here? [22:15] alekhine has joined the channel [22:15] hotroot: Assuming that's a reference to the JQuery $ thing [22:15] CoverSlide: wow that's sad [22:15] CoverSlide: jquery has more users than javascript [22:15] CIA-109: libuv: 03Igor Zinkovsky 07master * rf6a365e 10/ test/test-tcp-write-error.c : fix tcp_write_error for windows - http://git.io/yZKADw [22:15] liar has joined the channel [22:16] hotroot: JQuery is nice, but jeez, its just a library [22:16] DrMcKay: hotroot: yes, it is [22:16] DrMcKay: CoverSlide: lol [22:16] CoverSlide: then again, most people nowadays learn jquery before they learnt javascript [22:17] konobi: is there a connect middleware that allows you to proxy to another server based on route? [22:17] DrMcKay: it's nice until you meet a guy who answers: "use jQuery" to any design question [22:17] hotroot: There doesn't seem to be any javascript game dev channel, so I figured I'd ask here. Anyone interested in making a hacker game? [22:17] CoverSlide: hacker game? [22:17] DrMcKay: HAAAAX! [22:17] hotroot: Played all the ones that exist, some are nice, but not what I'm thinking of. [22:17] CoverSlide: like one of those try2hack bs sites? [22:17] hotroot: No, like a game. [22:18] Vertice has joined the channel [22:19] hotroot: A realistic one though. Doesn't really feel you when you click a "Crack Password" button. Would be a lot cooler to do a portscan, open up a vuln scanner and choose an exploit accordingly. [22:19] chiyam has joined the channel [22:19] replore has joined the channel [22:19] replore_ has joined the channel [22:19] CoverSlide: like uplink with a command line? [22:19] hotroot: I don't think I would do command line. [22:19] alekhine: lets do it hotroot [22:20] skiz: interesting enough :) [22:20] CoverSlide: eww [22:20] hotroot: I actually attempted a telnet version of this with someone in Node, but we had serious problems with the text input screwing up [22:20] hotroot: alekhine: You serious? [22:22] alekhine: i'm a php dev [22:22] alekhine: but been spending a lot of time in js [22:22] alekhine: and loving it [22:22] alekhine: how much experience do u have [22:23] konobi: tjholowaychuk: have you heard of anything? [22:23] tjholowaychuk: ? [22:23] hotroot: In node? Very little, I'm not really a serverside guy. I was planning on doing the client side stuff, and much of the ideas. [22:23] hotroot: *many [22:24] konobi: tjholowaychuk: connect middleware to do reverse proxying on a per route basis [22:24] tjholowaychuk: nope [22:24] tjholowaychuk: you could probably combine connect and node-http-proxy [22:24] konobi: hmmm... k [22:24] tjholowaychuk: pretty easily [22:25] mraleph has joined the channel [22:25] konobi: well, it's just for serving a single (dynamic url) file from a remote system [22:25] yozgrahame has joined the channel [22:25] tjholowaychuk: but if you dont need to actually proxy just do it like vhost() does [22:25] tjholowaychuk: and mount the app [22:25] tjholowaychuk: ah [22:26] pquerna: hey, does anyone have an example of creating a correct Location: header based on the incoming request object? things like http/port/hostname? [22:27] Xano has joined the channel [22:27] AvianFlu: konobi: http://github.com/dominictarr/proxy-by-url [22:27] tjholowaychuk: pquerna https://github.com/visionmedia/express/blob/master/lib/response.js#L405 [22:27] tjholowaychuk: not sure if that helps [22:27] AvianFlu: konobi: I've only used it as a middleware inside of node-http-proxy, but I think it'll do what you're asking [22:27] joshkehn has joined the channel [22:27] pquerna: yes, i just opened that file :) [22:28] overthemike has joined the channel [22:28] pquerna: thanks [22:28] davida_ has joined the channel [22:30] chance- has joined the channel [22:30] pquerna: tjholowaychuk: hrm, doesn't look at the listening port though. [22:30] Sorella has joined the channel [22:31] pquerna: tjholowaychuk: i guess though, agents are supposed to send Host: foo.com:8080 right? [22:31] tjholowaychuk: yup [22:31] pquerna: okie dokie [22:31] tjholowaychuk: i've been meaning to try scheme relative urls too [22:31] al3xnull has joined the channel [22:31] tjholowaychuk: but im not sure if IE will barf or not [22:31] tjholowaychuk: (probably) [22:32] ohtogo has joined the channel [22:32] robertfw has joined the channel [22:32] chance-: hmm, any one have any idea how to parse/post a nested array of objects up with bodyParser? Would it be something like: store[products][0][name]? [22:33] tjholowaychuk: chance- do you have to use x-www-form-urlencoded? [22:33] tjholowaychuk: json is easier to use [22:33] tjholowaychuk: but https://github.com/visionmedia/node-querystring [22:33] tjholowaychuk: is what parses that [22:34] chance-: tjholowaychuk - ya, cant push it back as json [22:34] jtrudeau has joined the channel [22:35] nir has joined the channel [22:36] chance-: ahha, that's awesome man [22:36] chance-: tjholowaychuk - thanks man [22:36] tjholowaychuk: should be some examples there for what it supports [22:36] lightcap has joined the channel [22:36] chance-: yep, looking through it now [22:37] jamescarr: what about EC2? Looking at their pricing it looks like it is cheaper than rackspace [22:37] jamescarr: am I missing something? :) [22:37] jamescarr: it looks like if I reserve an instance for 1 year it is only $222.70? [22:38] nforgerit has joined the channel [22:38] jamescarr: nevermind, I see now [22:38] chance-: @jamescarr - they actually have a plan that gives you free cycles for the first year (EC2 that is) [22:38] chance-: not sure what your reqs are but if your app is small enough: http://aws.amazon.com/free/ [22:39] ryanrolds_w has joined the channel [22:40] ryanrolds_w: Any good articles one could read on the Node.js event loop? [22:40] ben_alman has joined the channel [22:41] chance-: tjholowaychuk - im digging stylus btw [22:41] tjholowaychuk: chance- cool man [22:41] Wizek-other has joined the channel [22:41] edenli has joined the channel [22:41] chance-: i didnt think i'd like the syntax and i'd prefer to stick with css [22:41] chance-: but i've grown accustomed to it, much like i did with haml [22:42] tjholowaychuk: yeah IMO if you're going to extend css there isnt really much of a point in keeping the same syntax [22:42] tjholowaychuk: not like css supports mixins etc [22:42] chance-: right [22:42] chance-: and it get's fuggly with querying and what have [22:42] chance-: gets* [22:42] joshkehn has left the channel [22:43] jamescarr: chance-, so the one year reserved basically covers the first year, then 0.03 per hour after that? [22:43] jamescarr: or is the 0.03/hour on top of the $222.70 one time payment? [22:43] chance-: jamescarr - i'm not certain man [22:43] chance-: i've never actually executed on it, i looked into it for awhile but ended up sticking with heroku [22:43] jamescarr: lol... guess I'll shoot em an email [22:44] jamescarr: yeah, heroku is awesome, but it's an existing php/mysql stack for a client [22:44] piscisaureus_ has left the channel [22:44] chance-: understood [22:45] piscisaureus_ has joined the channel [22:45] davidbanham has joined the channel [22:45] hotroot has left the channel [22:46] jamescarr: basically just moving it. They had issues with their existing hosting provider [22:48] chance-: tjholowaychuk - how long have you used node? [22:48] tjholowaychuk: a long time [22:48] chance-: it's been out for what, a year now? [22:48] jamescarr: chance-, lol [22:48] jamescarr: you asked a funny [22:48] tjholowaychuk: chance- longer than that [22:49] tjholowaychuk: i dont remember the version when i started using node [22:49] jamescarr: you might as well as dhh how long he has been using rails :) [22:49] tjholowaychuk: lower than 0.1.0 [22:49] pizthewiz has joined the channel [22:49] nerdy has joined the channel [22:49] tjholowaychuk: if there even was a version [22:49] jamescarr: tjholowaychuk, I'm sure you grabbed the first commit right? [22:49] tjholowaychuk: no haha [22:49] chance-: very dman nice [22:49] Epeli: I need to resize jpeg images. What lib would you suggest for that? I would use node-canvas, but it does not support writing jpegs yet. [22:49] chance-: i feel like a slackass for not picking up on it earlier [22:49] tjholowaychuk: but every day you pretty much had to rewrite your libraries [22:49] tjholowaychuk: tons of fun [22:49] chance-: "javascript on the server? bluh.. that shit'll never take" [22:49] jamescarr: funny... the other day someone asked if there was a page that lists the top npm modules and someone replied "Yeah, it's called tjholowaychuk's github page" [22:50] chance-: lol [22:50] chance-: yea, i just checked that which prompted the question [22:51] ryanrolds_w: Epeli: node-gd will be able to handle that, but it may have more functionality then you're looking for [22:52] tjholowaychuk: Epeli check out aheckmann/gm [22:52] tjholowaychuk: unless you need pixel-level editing or are already using node-canvas you kinda might as well use those libs [22:52] Epeli: ryanrolds_w, tjholowaychuk: thanks, I'll check both. [22:52] Epeli: I just need to create some thumbnails [22:54] jesusabdullah: Oh man, Cloud 9 is followin' me on twitters now [22:54] CoverSlide: oh jesus [22:54] CoverSlide: abdullah [22:54] jesusabdullah: I know, right? ;) [22:55] matyr has joined the channel [22:55] orospakr has joined the channel [22:56] ryanrolds_w: Now I'm going to have to some performance comparisons between node-gd and gm. [22:56] malkomalko has joined the channel [22:59] tilgovi has joined the channel [22:59] tilgovi has joined the channel [23:02] gazumps has joined the channel [23:03] CIA-109: libuv: 03Ben Noordhuis 07master * r9673abe 10/ src/unix/fs.c : [23:03] CIA-109: libuv: unix: fix pointer ownership bug [23:03] CIA-109: libuv: libuv realloc'd a pointer that belonged to and was later freed by libev. - http://git.io/nmUXsA [23:03] bradleymeck has joined the channel [23:04] fread228_ has joined the channel [23:04] tylerstalder has joined the channel [23:04] guidocalvano: hey guys [23:05] guidocalvano: anyone know how far node is from being released on windows [23:05] guidocalvano: ? [23:05] bnoordhuis: guidocalvano: we're aiming for late october, early november [23:05] bnoordhuis: so probably sometime march next year [23:06] guidocalvano: he he he [23:06] bradleymeck: bnoordhuis any timeline or mandates on C++ in Windows? [23:06] bnoordhuis: bradleymeck: you mean native add-ons? [23:06] bradleymeck: yea [23:06] guidocalvano: it says on the site I can down an unstable 0.5.7 [23:06] bnoordhuis: no one has taken on the task yet [23:06] guidocalvano: what is unstable about it [23:07] bnoordhuis: guidocalvano: not everything works [23:07] guidocalvano: what parts specificallly [23:07] guidocalvano: is it core functionality, or specific libs [23:07] bnoordhuis: ask what *does* work, that'll save you time :) [23:07] guidocalvano: (: [23:07] guidocalvano: dear Ben [23:07] guidocalvano: what does work (: [23:08] bnoordhuis: core functionality, like file/directory monitoring, process ipc [23:08] bnoordhuis: we're getting closer though [23:08] bnoordhuis: if you want tcp and file reading/writing, we've got your back [23:08] guidocalvano: I don't have that many deps on node [23:09] bnoordhuis: most pure js add-ons should work [23:09] bnoordhuis: guidocalvano: btw, you should come to hackersnl this thursday [23:09] bnoordhuis: bert and i are going to be there [23:09] guidocalvano: basically I use the event queue, JSON... and net [23:09] guidocalvano: sounds interresting [23:09] bnoordhuis: http://hackersnl.nl/ [23:10] inpho has joined the channel [23:10] guidocalvano: where is it [23:10] bnoordhuis: utrecht [23:10] guidocalvano: k [23:10] bnoordhuis: at the neude, right next to CS [23:10] guidocalvano: that isn't that far from Am*dam [23:11] bnoordhuis: so sign up and have bert buy you the first beer [23:11] saikat has joined the channel [23:11] guidocalvano: its a daytime event with wifi? [23:11] bnoordhuis: no, it's at 20.00 hours [23:11] random123 has joined the channel [23:11] guidocalvano: k [23:12] dylang has joined the channel [23:13] softdrink has joined the channel [23:13] vipaca_ has joined the channel [23:14] guidocalvano: (: * Profit: tips om nieuwe koffie, bier en gadgets te kunnen blijven kopen. [23:15] jerrysv: mmm. bier [23:16] random123 has joined the channel [23:16] guidocalvano: bnoordhuis: thanks for the invite [23:16] bnoordhuis: guidocalvano: sure, np [23:16] ryanfitz has joined the channel [23:16] guidocalvano: I might have to juggle my plans a bit [23:16] mc_greeny1 has joined the channel [23:16] joshkehn has joined the channel [23:18] bradleymeck: bnoordhuis if i write up a patch for that native addons in windows we wont be using threads for a while (as in multiple threads for isolates)? [23:18] cjheath_ has joined the channel [23:18] bnoordhuis: bradleymeck: you should probably discuss it with bert belder, he's our main windows guy [23:18] bradleymeck: is there an easy way to contact besides github? [23:19] guidocalvano: ben we are a bunch of nutters coding at this hour [23:19] guidocalvano: we should be healthy sane individuals sleeping in bed [23:19] fread228_: its called time zones :D [23:19] joshkehn has left the channel [23:19] bnoordhuis: guidocalvano: oh, no worries - i got up at at 2 pm [23:19] guidocalvano: yes, and you US people should move to ours [23:19] chance-: lol [23:20] guidocalvano: he he he [23:20] bradleymeck: china has 1 timezone, why not the world? [23:20] fread228_: ikr [23:20] bnoordhuis: bradleymeck: bert's usually in the channel [23:20] guidocalvano: GMT sounds nice [23:21] bnoordhuis: bradleymeck: his nick is pisci something something, can't pronounce it, let alone type it [23:21] bradleymeck: ty ben, ill get a proto before going nuts on it [23:21] reid has joined the channel [23:22] hdon has joined the channel [23:22] shipit has joined the channel [23:23] jesusabdullah: picscisaurus or some such? [23:23] jesusabdullah: piscisaureus_: <--there you go :v [23:24] boaz has joined the channel [23:24] JaKWaC has joined the channel [23:25] Tobsn has joined the channel [23:25] ryah: how do you tell npm that a package can run on v0.4 and v0.5 ? [23:25] jesusabdullah: Does anybody here know how to detect which transport socket.io is using? [23:26] jesusabdullah: I feel silly for not knowing that, ryah [23:26] ryah: i feel silly for not knowing that... [23:26] jarek has joined the channel [23:26] socialhack has joined the channel [23:26] willwhite has joined the channel [23:26] bnoordhuis: ryah: "engines": {"node": ">=0.4.0"} [23:27] isaacs has joined the channel [23:27] vipaca_ has joined the channel [23:28] KingJamool has joined the channel [23:28] jesusabdullah: bnoordhuis: How about 0.4.x and 0.5.x only? [23:29] jesusabdullah: Can you do a range? [23:29] bnoordhuis: jesusabdullah: i think you can do ">=0.4.0&&<0.6.0" [23:29] bradleymeck: { "engines" : [ "node >=0.4.0 <0.6.0" ] } [23:29] jesusabdullah: I see [23:29] bnoordhuis: what bradleymeck said [23:29] jesusabdullah: Cool! [23:29] jesusabdullah: Does socket.io have an irc channel? [23:29] bradleymeck: cant do multiple ranges though [23:29] jesusabdullah: Maybe I should ask my question there [23:30] softdrink: does anyone know of a dead easy way to set up a webdav file share in linux? [23:30] chance-: ftp :P [23:30] bnoordhuis: softdrink: fusedav [23:31] softdrink: *server [23:31] jamescarr: chef for the win [23:31] ChrisPartridge has joined the channel [23:31] bnoordhuis: softdrink: oh, apache's mod_dav [23:31] softdrink: that'd require running apache :P [23:31] fread2281 has joined the channel [23:31] bnoordhuis: apache is still awesome [23:31] bnoordhuis: (i wrote bits of it) [23:32] softdrink: i'm already running nginx at the moment [23:32] AAA_awright has joined the channel [23:32] cying has joined the channel [23:33] thepatr1ck has joined the channel [23:34] isaacs has joined the channel [23:34] murilobr has joined the channel [23:36] davidbanham has joined the channel [23:40] pizthewiz_ has joined the channel [23:40] dshaw_ has joined the channel [23:40] heavysixer has joined the channel [23:41] metellus has joined the channel [23:42] jbrokc has joined the channel [23:43] bwinton has joined the channel [23:43] ceej has joined the channel [23:48] fread2281 has joined the channel [23:49] pquerna: mjr_: https://gist.github.com/66f80368ef3c9ba3a539 [23:49] pquerna: the best kind. [23:49] jedahan has joined the channel [23:49] mjr_: hey, that looks interesting [23:49] jedahan has joined the channel [23:50] pquerna: socket closed before a response i guess. [23:51] isaacs has joined the channel [23:52] matyr has joined the channel [23:53] fread228_ has joined the channel [23:56] [[zz]] has joined the channel [23:59] hasenj has joined the channel