[00:00] Clex: devaholic: sure, but this error is likely a version mismatch or some shit according to Google. [00:00] neorab: ok, I might give this a shot for him... I think where I expect that there will be issues is with modules that install needing things like waf [00:01] Pathin has joined the channel [00:03] neorab: we've got a good 10ish modules that our app depends on, plus all of their dependancies... I am sure he'd have no problem logging issues against them if something doesn't work, but in the mean time he's gonna use a VM, already got it running there [00:04] reid has joined the channel [00:05] devaholic: Clex: was just kidding ;) [00:05] devaholic: not enough info to really help you [00:07] Pathin has joined the channel [00:08] Pathin has joined the channel [00:10] Clex: Well, node + express, I've got a .post() callback and when one of the values got a space in it, node crashes with this error. [00:10] Kami_ has joined the channel [00:12] devaholic: havent seen that one before [00:15] Me1000 has joined the channel [00:15] Charuru has joined the channel [00:17] Clex: Yeah, pretty weird. [00:17] Clex: It's not that critical, I can forbid spaces in that field. [00:18] dmetcalf has joined the channel [00:18] blueadept: anyone know the best mysql or postgres ORM to work with? [00:19] reid has joined the channel [00:25] ngs has joined the channel [00:27] ryanfitz has joined the channel [00:30] welly has joined the channel [00:39] pifantastic has joined the channel [00:43] Kami_ has joined the channel [00:45] prettyrobots has joined the channel [00:47] davidwalsh has joined the channel [00:48] micheil has joined the channel [00:53] aguynamedben has joined the channel [00:56] Lightdork has joined the channel [00:59] Evanlec has joined the channel [01:01] Swizec has joined the channel [01:03] davidbanham has joined the channel [01:06] Pathin has joined the channel [01:07] Swizec has joined the channel [01:10] AndyDawson has joined the channel [01:10] dmetcalf has joined the channel [01:11] Nuck: I wish Caustic were a bit more extensible. [01:18] Melkor_ has joined the channel [01:22] ej2 has joined the channel [01:27] Nexxy has joined the channel [01:30] davidbanham has joined the channel [01:33] Corren has joined the channel [01:35] okuryu has joined the channel [01:35] [[zz]] has joined the channel [01:39] kartmetal has joined the channel [01:41] arlolra has joined the channel [01:42] TheMarchHare has joined the channel [01:42] Marak has joined the channel [01:42] Marak: crap where is tj when you need him [01:43] gazumps has joined the channel [01:43] TheMarchHare has left the channel [01:43] Marak: people use express right? can anyone explain to me why the query string parser turns users[0][name] into object with key "0" opposed to an actual array of objects? [01:46] brainproxy: when spinning up a new bare bones VPS yesterday for use with node.js stuff, I decided to take some time and log all my most basic setup notes in a README.md on GitHub [01:46] brainproxy: https://github.com/michaelsbradleyjr/vps-setup [01:46] brainproxy: I have no idea if that will be useful to anyone, but there you go [01:46] Nexxy: nice ;3 [01:47] brainproxy: in any case, it keeps me from looking in multiple places to make sure I didn't miss a step, since I don't set up VPSs from scratch everyday [01:47] iammerrick has joined the channel [01:47] Nuck: Marak: Probably because parsing a query string like that is a bitch :lol: [01:47] Marak: Nuck: ive been reading the qs module top to bottom [01:47] Marak: its not that hard [01:47] Marak: just a pita [01:48] Marak: i think i can make mod i need easily [01:48] Marak: but i want to know whats up [01:48] Marak: why isnt it a real array [01:48] Nexxy: mmm I love pitas [01:48] Nexxy: especially falafel! [01:48] Marak: heh [01:48] Marak: i think i might remember now [01:48] Marak: i think its on the DOM to make those ids up [01:48] Marak: i dont think i should have them in my path? [01:49] Marak: maybe like [01:49] Lightdork has joined the channel [01:49] Marak: brb [01:50] overra_ has joined the channel [01:51] Marak: hrmm that didnt work [01:52] robhawkes has joined the channel [01:52] Marak: yeah this is never gonna work [01:54] benjaminRRR has joined the channel [01:55] Xano has joined the channel [01:55] Dreamer3 has joined the channel [02:00] perlmonkey2 has joined the channel [02:02] Marak: bleh, https://github.com/senchalabs/connect/issues/324 [02:02] jerrysv: is anyone interested in code coverage output with vows.js? [02:03] perlmonkey2: Looking for examples of using connect sessions with dnode. Anyone got a pointer? [02:03] insin: ACTION puts the PHP hat on Marak [02:03] Marak: insin: ? [02:04] Marak: insin: an object of objects is not the same as an array of objects. [02:04] Marak: and the difference is very important to what im doing [02:05] Kami_ has joined the channel [02:05] perlmonkey2: hmm, I probably need to use my user controller as middleware with the dnode server. And the request must have a request object........ [02:05] insin: ACTION just dislikes the square-bracket in field name thing at all [02:06] Marak: insin: its called json [02:06] Marak: insin: how else would you like me to represent nested form params? [02:06] Marak: insin: im open to suggestions [02:06] Marak: i can change my format easily, i was trying to adhere to the accepted standards [02:06] nerdfiles has joined the channel [02:06] nerdfiles has left the channel [02:07] Marak: how do i specify the difference between an array of objects and an object of objects via query string params [02:07] Marak: without inferring that indices of numerical values are arrays? [02:07] Marak: i think impossible perhaps [02:07] insin: depends how you're putting them on there in the first place. I use forms which allow me to prefix multiple instances with something unique, then each form knows exactly which params it needs to look at to grab its input [02:08] Marak: huh? [02:08] `steve has joined the channel [02:08] Marak: you append unique ids to each input? [02:08] perlmonkey2: making your forms out of dojo template objects is an easy solution to that problem. [02:08] Marak: fuck this room is too noob for me today [02:08] Marak has left the channel [02:09] darshanshankar has joined the channel [02:18] pHcF has joined the channel [02:21] Spion has joined the channel [02:22] __directory has joined the channel [02:22] plov has joined the channel [02:26] Me1000 has joined the channel [02:30] dividinglimits has joined the channel [02:33] joshthecoder has joined the channel [02:36] tantek has joined the channel [02:40] Xano has joined the channel [02:45] nerdfiles has joined the channel [02:46] nerdfiles has left the channel [02:49] ej2 has joined the channel [02:50] saikat has joined the channel [02:53] Melkor_ has joined the channel [02:55] dexter_e has joined the channel [02:59] bradleymeck has joined the channel [02:59] jgautier has joined the channel [03:04] themiddleman has joined the channel [03:05] frederickcook has joined the channel [03:05] blueadept: anyone know the best mysql or postgre ORM to work with? [03:05] Aria: Best for what? [03:06] Aria: And is ORM the best pattern? [03:06] blueadept: transactions in particular [03:08] yhahn has joined the channel [03:17] hij1nx has joined the channel [03:22] prettyrobots has joined the channel [03:22] Croms has joined the channel [03:26] ivan has joined the channel [03:27] davidbanham has joined the channel [03:36] Spion_ has joined the channel [03:39] dexter_e: Whoa.. alert(!!2); // true [03:39] dexter_e: double negation = boolean [03:40] Aria: yep. [03:41] drobbins has left the channel [03:41] swilson06: blueadept: btw, if you look at the node.js there are only like 8 modules and only 2 or 3 with any documentation and that look decent. that should trim down your question a bit [03:42] swilson06: i think mysql-something is what looked to be the best [03:44] blueadept: yeah that's my thought as well [03:45] swilson06: but, if you're not stuck with mysql, check out mongodb.... pretty slick [03:45] MetaMucil has joined the channel [03:46] swilson06: and, mongo, mongoose, and node seem to all be at the same point in development (so they'll all probably get their stable build about the same time) [03:46] bogomips2_ has joined the channel [03:46] blueadept: yeah i use mongo a lot, using mongoose and mongolian [03:46] swilson06: well, maybe mongoose will beat node and mongo because mongoose is a smaller project, but... [03:46] blueadept: but the next app i'm working on involves inventory and transactions [03:47] blueadept: there are ways of doing it with mongo [03:47] blueadept: but it takes writing more app logic to ensure consistency and rollbacks [03:48] Peniar has joined the channel [03:48] blueadept: where as that type of logic is built into sql dbs [03:49] blueadept: i found this article on two-phase commits in mongo though, http://www.mongodb.org/display/DOCS/two-phase+commit [03:49] blueadept: so maybe i'll try it out [03:55] swilson06: hey, nice article, thanks for the heads up :) [03:56] swilson06: i should probably start putting 'site:mongo.org' when i start looking for anything mongo or mongoose related (as a first step) [03:57] rchavik has joined the channel [03:57] rurufufuss has joined the channel [03:57] swilson06: ACTION wonders if i can use site:site1,site2,site3.... must try [03:57] blueadept: always a good trick [03:58] cachemoney has joined the channel [03:59] swilson06: no site1,site2,... though, oh well [04:01] Fandekasp_ has joined the channel [04:04] Skola has joined the channel [04:05] Aria: blueadept: http://seldo.com/weblog/2011/06/15/orm_is_an_antipattern [04:05] andrewfff has joined the channel [04:06] Corren has joined the channel [04:09] kawaz_air has joined the channel [04:10] blueadept: ah, remember going to that page before but i never read the entire thing, i guess now is the opportunity haha [04:10] towski has joined the channel [04:12] Pathin has joined the channel [04:13] swilson06: i really disagree with that article [04:13] swilson06: but, hey to each their own... [04:14] demano has joined the channel [04:14] jakehow has joined the channel [04:16] dexter_e has joined the channel [04:17] sivy has joined the channel [04:17] kawaz_air has joined the channel [04:22] unlink has joined the channel [04:23] yhahn1 has joined the channel [04:25] Xano has joined the channel [04:25] rhdoenges has joined the channel [04:27] andrewfff has joined the channel [04:28] rchavik has joined the channel [04:29] slajax has joined the channel [04:31] cjm has joined the channel [04:31] hippich has joined the channel [04:32] srid has joined the channel [04:33] yhahn1 has left the channel [04:34] Intel_iX has joined the channel [04:34] Intel_iX: Is node 5.1 stable on linux? [04:34] sechrist has joined the channel [04:35] jesusabdullah: How stable is stable, Intel_iX ? [04:35] jesusabdullah: fwiw, I would stick with 0.4.9 until 0.6.x hits the streets, but that's just me [04:36] stephenallred has joined the channel [04:36] Intel_iX: stable as 4.9? [04:36] Intel_iX: I guess not then [04:36] jesusabdullah: Almost certainly less stable [04:36] jesusabdullah: "stable enough" ? Maybe [04:36] Aria: I keep meaning to try 0.5.1 and see how I fare. [04:37] StepanKuzmin has joined the channel [04:37] Intel_iX: I was just wondering if the bugs only affected the .exe build [04:37] Intel_iX: since that's new [04:37] Aria: It /should/ be relatively stable API-wise, though some new stuff is coming in. [04:37] jesusabdullah: Oh, probably not [04:37] Aria: And new ABI, of course. [04:37] jesusabdullah: ABI? [04:37] Aria: Binary interface. [04:37] jesusabdullah: ah [04:37] Aria: new v8 = new layout for things in the library. [04:37] wookiehangover has joined the channel [04:37] Aria: Parameters moved, stuff like that. [04:37] Intel_iX: v8 upgrades are usually easy enough [04:38] Aria: Yeah. [04:38] Aria: But it means recompiling addons. [04:38] Intel_iX has left the channel [04:38] Aria: And then there's libuv, so the C-side API has changed some. [04:38] Aria: But that's still optional [04:40] swilson06: libuv? thought it used libev? [04:40] kersny|away has joined the channel [04:40] Aria: libuv is the wrapper that includes support for windows IOCP [04:41] swilson06: oh, so this is for win32 not posix? [04:41] nerdfiles has joined the channel [04:41] Aria: Both. [04:41] Aria: It wraps libev [04:41] Aria: And IOCP [04:41] swilson06: oh, portability? [04:41] nerdfiles has left the channel [04:42] swilson06: libuv handles libev/iocp api calls? [04:42] langworthy has joined the channel [04:44] Fredderf has joined the channel [04:44] devaholic: anyone used node-control here? [04:49] mandric has joined the channel [04:50] saurabhverma has joined the channel [04:50] swilson06: saw the 0.2 announcement on the mailing list, but no. [04:55] fraserkillip has joined the channel [04:57] brianseeders has joined the channel [04:58] kmiyashiro has joined the channel [05:01] KingJamool has joined the channel [05:02] jerrysv has joined the channel [05:02] Dreamer3 has joined the channel [05:03] jklabo has joined the channel [05:04] Nexxy: does anyone have any pointers in regards to defining helper functions for EJS? [05:04] jesusabdullah: I've never used EJS [05:04] jesusabdullah: I used jade once or twice [05:04] jesusabdullah: almost think I'd prefer ejs [05:04] jesusabdullah: or mebbs weld [05:04] jesusabdullah: depending [05:05] Nexxy: I just want to be able to use stuff liek <%-my_helper({some: 'stuff', here: 'lol'})%> [05:05] Nexxy: instead of <%-partial('helpers/_my_helper', {some: 'stuff', here: 'lol'})%> [05:05] harthur has joined the channel [05:06] jesusabdullah: I see! That does sound nicer [05:06] jesusabdullah: If I'd rocked the EJS I'd totally help [05:06] ryan[WIN] has joined the channel [05:06] Nexxy: I've dug around the code in tj's EJS implementation [05:07] Nexxy: but I don't really see any obvious way to add your own functions [05:07] jesusabdullah: hmm [05:08] Slashbunny has joined the channel [05:08] jesusabdullah: Time to fork? [05:09] Nexxy: idk maybe there's a better solution [05:09] Nexxy: I was looking @ a jsml [05:09] Nexxy: of some sort [05:09] Nexxy: I can't find it now [05:10] overra_ has joined the channel [05:10] gf3: jade is nice [05:11] jesusabdullah: Jade's not too bad, it's true [05:11] Fandekasp has joined the channel [05:15] heavysixer has joined the channel [05:17] confoocious has joined the channel [05:17] confoocious has joined the channel [05:20] temp01 has joined the channel [05:20] harthur has joined the channel [05:24] crodas has joined the channel [05:27] davidbanham has joined the channel [05:28] rhdoenges has joined the channel [05:32] boehm has joined the channel [05:35] slajax has joined the channel [05:38] Evanlec has joined the channel [05:44] slajax has joined the channel [05:47] jacobolus has joined the channel [05:48] sonnym has joined the channel [05:49] slajax has joined the channel [05:51] aah has joined the channel [05:52] cccaldas_ has joined the channel [05:53] Skola: +1 for jade [05:54] cccaldas has joined the channel [05:54] swilson06: -1 jade [05:58] slajax has joined the channel [06:00] AAA_awright: Jade++ [06:01] AAA_awright: What's the issue with Jade now [06:01] jesusabdullah: Two spaces, obviously [06:03] slajax has joined the channel [06:06] saikat has joined the channel [06:06] slajax has joined the channel [06:06] swilson06: i just don't like the structure [06:07] Nexxy: what structure [06:07] swilson06: just preference. i like ejs because it is more like perl's template toolkit [06:07] Nexxy: there is no structure [06:08] swilson06: it forces a style on you. don't like that [06:09] devaholic: ejs ++ [06:09] swilson06: same reason i don't like python [06:09] devaholic: -1 jade [06:09] jesusabdullah: YOU're a structure! [06:09] devaholic: writing native html is superior [06:09] devaholic: writing native javascript inline is superior [06:09] Nexxy: lol... [06:09] jesusabdullah: swilson06: I assume you're talking about the whitespace. [06:09] swilson06: ACTION is a stiff structure [06:09] devaholic: i wish HTML was indent-aware [06:09] jesusabdullah: The whitespace thing I think effects structure very little. [06:09] devaholic: but it isnt [06:09] Nexxy: devaholic, take that back [06:10] devaholic: and thats just how it is [06:10] Nexxy: you take that back right now [06:10] jesusabdullah: That's right devaholic html is irritating enough to deal with and now you have to throw in crap like that :( [06:10] jesusabdullah: ;) [06:10] devaholic: i understand the intentions of jade [06:10] devaholic: and ive used it (a lot) [06:10] jesusabdullah: I'm not nearly as big a python fan as I used to be, but I dislike it mostly for reasons unrelated to TWT [06:11] swilson06: twt? [06:12] jesusabdullah: the whitespace thing [06:13] swilson06: btw, most people that have worked with code like python because other devs can't fuck it up - it forces you to do sane code. i think i write sane code anyway and can deal with python (and probably jade) but i don't like style being enforced [06:13] jesusabdullah: Ugh, that's so untrue [06:13] jesusabdullah: python's fine if you are only working within "nice" domains [06:13] jesusabdullah: but as soon as you want to do something interesting you have to hack at it to make it do whatever it is [06:14] jesusabdullah: They make it hard to do interesting things [06:14] jesusabdullah: and when you complain about that, they tell you to be less ambitious. [06:14] swilson06: well, i don't do python so i don't know :) [06:14] jbpros has joined the channel [06:14] swilson06: though, that is probably a good reason they don't seem to have an event handler [06:15] swilson06: (or maybe no one has written an xs wrapper to libev for python) [06:15] jesusabdullah: What do you mean, no event handler? [06:16] swilson06: heh, nevermind. quick google turns out pyev... [06:16] jesusabdullah: There are a lot of event loops and/or async tools for python [06:16] jesusabdullah: the problem is that they mostly suck [06:16] jesusabdullah: and, in terms of an event emitter, that's not hard. I wrote one this afternoon. [06:17] seb_m has joined the channel [06:17] swilson06: ok ok... i don't do python... i was just going on what i'd heard, but like i said, google proved that wrong. [06:17] devaholic: python shmython [06:17] devaholic: node is far better [06:18] devaholic: anyone using node to SSH to remote machines? [06:18] jesusabdullah: Yeah, node is great for that event loop stuff [06:19] edude03 has joined the channel [06:19] slajax has joined the channel [06:19] Nexxy: jesusabdullah, did you write it specifically to show me?! [06:19] jesusabdullah: Nexxy: lol, no XD I wrote it for dnode-python [06:20] Nexxy: ACTION tsk [06:20] jesusabdullah: Nexxy: https://github.com/jesusabdullah/pyee [06:20] Nexxy: pyeeeeee~!!1 [06:20] jesusabdullah: I typed that link specifically to show you <_< [06:20] Nexxy: d'awww [06:20] SubStack: he actually wrote it just now in the last few minutes! [06:20] SubStack: just to prove a point [06:20] jesusabdullah: That's right! [06:21] jesusabdullah: I also hacked those commit logs so everyone would think I wrote it this afternoon [06:21] Nexxy: never write code to prove a point [06:21] Nexxy: it just makes you angrier [06:21] jesusabdullah: but it's simply not true! [06:21] SubStack: oh right, going to get some testling stuff fixed [06:21] SubStack: then it's new repo time [06:21] SubStack: another one I mean [06:21] jesusabdullah: haha [06:21] jesusabdullah: ANOTHER one?! [06:21] SubStack: want to get node-coverage out the door tonight also [06:21] jesusabdullah: SubStack's gone mad with power! He's gonna fork The Chort! [06:21] SubStack: quack-array was just a warm-up [06:23] SubStack: except it won't be node-coverage, it will be some other silly perhaps also duck-related name [06:23] jesusabdullah: hehe [06:23] jesusabdullah: node-bunker [06:23] SubStack: maybe! [06:23] SubStack: untaken! [06:24] Nexxy: please write a library called "waddle" [06:24] SubStack: what should it do? [06:24] Nexxy: it can be a link walking library or something [06:24] SubStack: besides waddling [06:24] Nexxy: idk [06:25] paulwe has joined the channel [06:25] rurufufuss has left the channel [06:26] slajax has joined the channel [06:27] kmiyashiro has joined the channel [06:28] kmiyashiro has joined the channel [06:28] jesusabdullah: Nexxy: YOU could write this module... [06:28] Nexxy: I'm writin stuff already! [06:28] Nexxy: too busy! [06:28] jesusabdullah: suuuuure [06:29] jesusabdullah: I haven't seen your github! [06:29] jesusabdullah: ACTION has hardly written anything, it's cool [06:29] Nexxy: there's nothing on it ;3 [06:29] jesusabdullah: WHAT [06:29] Nexxy: https://github.com/emilyrose [06:29] Nexxy: nothing [06:29] Nexxy: but in the next few weeks!... maybe... [06:29] jesusabdullah: Why? D: [06:29] SubStack: write some! [06:29] jesusabdullah: FINE I WILL WATCH ANYWAY [06:30] Nexxy: well I'm kinda OCD about my code [06:30] Nexxy: before it's "presentable" [06:30] secoif_ has joined the channel [06:30] jesusabdullah: even though I watch so much stuff on github I hardly see when people push things out [06:30] Nexxy: so I use my own private git repos [06:30] jesusabdullah: Oh geez I'm the opposite [06:30] Nexxy: until it's ready for a premier [06:30] jesusabdullah: everything I've written is open [06:30] jesusabdullah: I mean EVERYTHING [06:30] jesusabdullah: even my thesis [06:30] SubStack: I'm down to 20 minutes with tests and documentation and everything: https://github.com/substack/node-quack-array/commits/master [06:30] SubStack: ^ how I write so many modules [06:31] jesusabdullah: I wish more people wanted to read my thesis :( [06:31] EvilPacket has joined the channel [06:31] SubStack: jesusabdullah: trick them [06:31] Nexxy: jesusabdullah, I read a lot of it [06:31] Nexxy: I liek'd it [06:31] jesusabdullah: Really? :o [06:31] Nexxy: jesusabdullah++ [06:31] catb0t: jesusabdullah now has 2 beers [06:31] SubStack: go down to the library and steal the harry potter book cover [06:31] jesusabdullah: :o :o [06:31] SubStack: and put it on your thesis [06:31] jesusabdullah: :3 [06:31] Nexxy: yeah 'member we talked about it a while ago? [06:31] SubStack: and put it back on the shelf [06:31] jesusabdullah: I don't! [06:31] jesusabdullah: I'M TOUCHED ANYWAY [06:31] guybrush: haha SubStack awesome module-name :) [06:31] Nexxy: it was about the thermal properties of melting snow n stuff ya? [06:31] jesusabdullah: Yeah! [06:31] Nexxy: yaa [06:31] jesusabdullah: Well [06:31] Nexxy: it was interesting [06:32] jesusabdullah: not-so-melting snow [06:32] Nexxy: yaa [06:32] jesusabdullah: it's bad if it melts [06:32] jesusabdullah: because then your measurements are bad [06:32] ecin has joined the channel [06:32] jesusabdullah: XD [06:32] Nexxy: ya the stuff about the heat gradient was interesrting [06:32] Nexxy: interesting [06:32] jesusabdullah: Oh man, you guys, somebody other than my advisor read my thesis [06:32] EvilPacket has left the channel [06:32] Nexxy: lol [06:32] SubStack: does your thesis have analytics? [06:33] jesusabdullah: It has charts. [06:33] SubStack: what is the bounce rate? [06:33] jesusabdullah: ummmmm [06:33] jesusabdullah: I'll have to wait for the paper copy [06:33] jesusabdullah: so I can see how well it bounces [06:34] stonedmind has joined the channel [06:37] optixx has joined the channel [06:39] cccaldas has joined the channel [06:42] herbySk has joined the channel [06:43] NetRoY has joined the channel [06:51] SamuraiJack has joined the channel [06:53] c4milo2 has left the channel [06:55] apanda has joined the channel [07:04] harthur_ has joined the channel [07:04] aurojit has joined the channel [07:05] rhdoenges: SubStack: what are you planning on using quack() for? just curious. [07:06] SubStack: rhdoenges: marak was complaining about something [07:06] devaholic: hi substack [07:07] rhdoenges: ohh yeah I saw that on the twittar [07:07] rhdoenges: querystrings, right? [07:07] SubStack: yeps [07:10] berasa has joined the channel [07:12] steffkes has joined the channel [07:13] prettyrobots has joined the channel [07:14] mikeal has joined the channel [07:18] Nexxy has joined the channel [07:18] hippich has joined the channel [07:18] hippich has joined the channel [07:18] saikat has joined the channel [07:19] materialdesigner has joined the channel [07:19] XaKBooT has joined the channel [07:21] daveluke has joined the channel [07:30] Snielsson has joined the channel [07:32] Ezeeguy has joined the channel [07:35] hippich has joined the channel [07:35] langworthy has joined the channel [07:40] gazumps has joined the channel [07:42] perezd has joined the channel [07:43] narayan82 has joined the channel [07:43] jacobolus has joined the channel [07:45] mendel_ has joined the channel [07:47] harthur has joined the channel [07:49] adam_ has joined the channel [07:51] mendel__ has joined the channel [07:52] rhdoenges: whoa. I just realized that the new node design looks eerily similar to codeplex.com [07:52] rhdoenges: well, just the hexagons. [07:54] herbySk has joined the channel [07:54] fille has joined the channel [07:54] jesusabdullah: rhdoenges: Also the ironjs logo [07:54] fille: hello [07:54] jesusabdullah: rhdoenges: but I'm 95% sure it's mostly coincidence [07:54] rhdoenges: yeah it is [07:54] guybrush: imo the new node logo looks more like the ngnix than the ironjs :) [07:54] rhdoenges: totally looks like an alien honeycomb [07:55] rhdoenges: fact. [07:55] fille: the node.js logo? [07:55] fille: alienware [07:56] SubStack: node just stole the idea from http://gadaf.fi/ame and added an edge so nobody would notice [07:56] fille: got node.js got Warp 10 [07:57] Druide_ has joined the channel [07:58] jesusabdullah: SubStack: It took me a while for that to register :C [07:58] rhdoenges: substack: conspiracy theorists, start your engines! [07:59] jesusabdullah: obtw I made this: https://github.com/jesusabdullah/dnode-python/blob/master/illo.png?raw=true [07:59] jesusabdullah: The assertion is not true...YET [07:59] fille: lol [07:59] adambeynon has joined the channel [08:01] perezd has joined the channel [08:02] Nuck: EWWWW [08:02] Nuck: Node's new logo is hideous. [08:02] rhdoenges: jesusabdullah: python and node party hard [08:02] fille: im buildning a mud proxy for cheating :D [08:02] Nuck: The old one was fucking SEXY. [08:02] fille: Nuck yes indeed [08:03] empt has joined the channel [08:03] jesusabdullah: rhdoenges: Hell yeah they do [08:03] jesusabdullah: The old one had a "don't panic" vibe to it that the new one doesn't [08:03] Nuck: How long will it be before UglifyJS replaces Minify as the usual compressor for "production" scripts? [08:04] jesusabdullah: It's cool brah, async is *mostly* harmless! [08:04] Nuck: jesusabdullah: The new color scheme reminds me of feces. [08:04] jesusabdullah: haha [08:04] Nuck: And the logo makes me think "aliens made this" [08:04] Nuck: "SPACEHONEYBEES" [08:05] jesusabdullah: As long as we all know that the unofficial official mascot of node.js is a tortoise [08:05] Nuck: lol [08:05] fille: i cant even relate to the logo anymore [08:05] Nuck: fille: OUR LOGO MUST BE A MARY SUE [08:06] fille: NUCK :D [08:06] jesusabdullah: It's true [08:07] rhdoenges: oh whoa [08:07] rhdoenges: tortoise shells [08:07] rhdoenges: they have hexagons [08:07] jesusabdullah: It's true [08:07] SubStack: they do indeed! [08:07] rhdoenges: IT ALL MAKES SENSE [08:08] fille: damn ubuntu updates are like windows vista [08:08] SubStack: it's almost as if I had realized as much all along! [08:08] SubStack: almost [08:09] fille: so a hexogen game engine is the shit? [08:09] fille: makes it all look like 3d? [08:10] vns has joined the channel [08:10] Nuck: Who do I punch for making the new logo D: [08:10] tomtomaso has joined the channel [08:11] __doc__ has joined the channel [08:11] empt has left the channel [08:11] fille: damn reading about hexogon on wikipedia everything is made out of an hexagon [08:11] Nuck: "To echo the evolutionary nature of Node, we've added some punch and playfulness to its identity." [08:11] Nuck: playfulness my ass [08:12] Nuck: hivemind [08:12] mattcodes has joined the channel [08:12] Nuck: I was gonna put the NodeJS logo on my site as a little "Powered by" thing, but fuck that noise. [08:12] fille: we need to stop the social gamming people. they are only thinking about money [08:13] fille: Nuck true true [08:13] fille: i will put it on my wordpress blog :D [08:14] Nuck: I should put the OLD logo on my site lol [08:14] fille: :D [08:14] stephank has joined the channel [08:14] fille: way to go [08:15] Nuck: http://upload.wikimedia.org/wikipedia/commons/6/67/NodeJS.png [08:15] Nuck: Still alive 8D [08:16] dgathright has joined the channel [08:17] jklabo has joined the channel [08:17] fille: wondering im still using node.js 4.8.0 shall upgrade ? [08:18] christophsturm has joined the channel [08:18] Nexxy: fille, not past 0.4.9 ;3 [08:18] fille: hehe okej [08:18] tdegrunt has joined the channel [08:19] devaholic: Nuck: that logo is terrible though [08:20] xerox: there's a new logo [08:20] fille: but we dont like the alienware logo [08:21] delian66 has joined the channel [08:21] xerox: : ( [08:21] stagas: fille: I like it [08:21] tsenga has joined the channel [08:22] fille: stagas ok :( [08:26] Nuck: Hey, at least our logo ain't PHP's right? [08:26] jesusabdullah: I suppose so [08:27] fille: :D [08:27] Nuck: But the site's color scheme is worse [08:28] Nuck: purple and white > shit brown and diarrhea green [08:28] rhdoenges: I think you're overreacting, Nuck [08:28] Nuck: rhdoenges: I'm a designer, I get annoyed when I'm dealing with bad designs. [08:29] stagas: Nuck: then you must be annoyed almost all day [08:29] rhdoenges: ^^ [08:29] Nuck: stagas: Nope, I have low standards :P [08:29] jesusabdullah: <--not a designer [08:30] jesusabdullah: I don't have the patience for it [08:30] fille: i made this [08:30] fille: http://www.mindgamemedia.se/html5/gametest.html [08:30] fille: push the button [08:31] k0ral has joined the channel [08:31] rhdoenges: fille: what is it [08:31] fille: its going to be a 2d game [08:31] fille: but i whant to change the squares to hexogen [08:32] gozala has joined the channel [08:32] rhdoenges: ohhh [08:32] fille: hexogon [08:32] rhdoenges: hexagons? [08:32] fille: yess [08:32] Ezeeguy: like node.js logo [08:33] Ezeeguy: hex [08:33] fille: made it for like 5 month ago so the javascript its really fucked [08:39] raidfive has joined the channel [08:40] herbySk has joined the channel [08:42] fly-away has joined the channel [08:47] 17SAAYFMO has joined the channel [08:51] skm has joined the channel [08:58] gozala has joined the channel [09:00] fille: algoritm for a hexogon sheet? [09:00] fille: anyone= [09:00] cognominal_ has joined the channel [09:03] Fuu`: fille: http://gamedev.stackexchange.com/questions/6382/how-to-create-a-hexagon-world-map-in-php-from-a-database-for-a-browser-based-stra [09:04] fille: fuu` thanks [09:05] optixx has joined the channel [09:06] lmorchard has joined the channel [09:08] mikedeboer has joined the channel [09:09] fille: my game is not going to look like THAT :D [09:10] darshanshankar has joined the channel [09:11] Fuu`: good for you :) [09:14] stonebranch has joined the channel [09:14] justmoon has joined the channel [09:14] cryptix has joined the channel [09:18] gxblast has joined the channel [09:21] saikat has joined the channel [09:22] fille: but its the sprites :( [09:22] tomtomaso has joined the channel [09:24] mattcodes has joined the channel [09:28] Kami_ has joined the channel [09:28] blup has joined the channel [09:31] robhawkes has joined the channel [09:31] xerox: do you know of something like http://codr.cc/ [09:32] xerox: that actually works? [09:32] `3rdEden has joined the channel [09:34] fille: paste? [09:35] xerox: no [09:35] xerox: it also does collaborative editing [09:35] xerox: but it only has got one cursor [09:38] Kami_ has joined the channel [09:41] madsleejensen has joined the channel [09:46] Viotoo has joined the channel [09:46] Viotoo has left the channel [09:48] prettyrobots has joined the channel [09:54] Fandekasp has joined the channel [09:55] saurabhverma has joined the channel [10:00] gxblast has left the channel [10:01] tomtomaso has joined the channel [10:02] mikedeboer has joined the channel [10:04] skohorn has joined the channel [10:09] stalled has joined the channel [10:10] adrianmg has joined the channel [10:15] clewe has joined the channel [10:15] kmox83 has joined the channel [10:16] clewe: from the example on nodejs.org, how to send data though the socket created by server.listen(1337, "127.0.0.1"); from within another function? [10:21] jasonhulme has joined the channel [10:21] davidbanham has joined the channel [10:21] jasonhulme: hi, can anyone help me with a question about streams in node.js? [10:24] t4nk441 has joined the channel [10:24] fille: clewe the socketserver? [10:25] clewe: yeah, the listening server [10:25] clewe: on the front page of nodejs.org [10:26] fille: nod [10:26] fille: need to addEventlistener [10:28] jasonhulme: I am using a method that expects an instream (e.g. fs.createReadStream('foo.txt')) but my file does not exist on disc, how do I convert a string to an instream? [10:30] t4nk441: I played with node.js for a couple of minutes of found a blocker for me. You really need fast and well-behaving callbacks. If one callback isn't fast enough, or takes to long, or is even in a non-terminating loop, the server is blocked and new requests aren't handled. With a complex and big site this can easily happen and finding it might take a long time. Am I missing something here? [10:30] markwubben has joined the channel [10:31] fille: t4nk441 did u use the express.js? [10:31] kmox83 has joined the channel [10:31] t4nk441: i guess that make no difference since the server is blocked running a callback [10:32] fille: well the server will be blocked until reaching res.end() [10:32] t4nk441: exactly [10:32] robi42 has joined the channel [10:33] fille: if u whant to make a webchat [10:33] t4nk441: and if the callback screws thing up the server is bloked [10:33] fille: you should use the socket.io [10:33] t4nk441: i just play with it. no project in mind [10:33] fille: i guess u trying an infinte loop inside your callback [10:33] t4nk441: yes [10:34] t4nk441: can happen [10:34] fille: well u are making a webserver statefull [10:34] t4nk441: or a long calculation at the wrong spot [10:34] t4nk441: no [10:34] t4nk441: just think of a sql query [10:35] fille: u have to consult the pros [10:35] t4nk441: and you try to do something with the result before you deliver it [10:35] cognominal_ has joined the channel [10:35] fille: i dont think the server will be blocked for everyone only the user [10:36] t4nk441: no, tried it, blocked completely [10:36] fille: the sql query? [10:36] t4nk441: actually, what I expected [10:36] t4nk441: not with a query [10:36] fille: with your loop then? [10:36] t4nk441: just a simple loop that takes long in the callback but terminates [10:37] t4nk441: and the server does not answer for that period [10:37] fille: yes the loop is not ascyn [10:37] t4nk441: exactly [10:37] t4nk441: but this actually kills it [10:37] t4nk441: because a simple bug, somewhere, and you have it [10:37] fille: http://stackoverflow.com/questions/5050265/javascript-nodejs-is-array-foreach-asynchronous [10:37] arnee has joined the channel [10:38] fille: i guess u got your answer here [10:39] t4nk441: no, i am not talking about the good case. but a bug somewhere, that's the problem [10:39] t4nk441: and finding it [10:40] t4nk441: I am working with an application that is doing something similar. Select loop with timeout. And we have exactly that situation sometimes. [10:49] jetienne_ has joined the channel [10:58] jvduf has joined the channel [10:58] FireFly has joined the channel [10:58] jvduf_ has joined the channel [10:59] rvb has joined the channel [11:07] aliem has joined the channel [11:26] mikl has joined the channel [11:26] mikl has joined the channel [11:28] rchavik has joined the channel [11:30] okuryu has joined the channel [11:31] knuthy has joined the channel [11:33] oliland has joined the channel [11:33] rurufufuss has joined the channel [11:34] akiva has joined the channel [11:36] slik has joined the channel [11:37] akiva: Hello all [11:40] craigbarnes has joined the channel [11:42] JoshC1 has joined the channel [11:43] arnee_ has joined the channel [11:45] fangel has joined the channel [11:46] mikeal has joined the channel [11:48] D3Vito has joined the channel [11:50] jonaslund: anyone knows an oper channel on freenode ? [11:50] jonaslund: the MOTD doesn't list one (or i missed it) [11:51] jetienne_: jonaslund: ask on #freenode [11:51] arnee has joined the channel [11:51] jonaslund: thanks [11:52] ngs has joined the channel [11:53] fille has joined the channel [11:53] zilch has joined the channel [11:55] azeroth_ has joined the channel [11:55] cryptix has joined the channel [11:58] vyvea has joined the channel [11:59] mhausenblas has joined the channel [12:00] saurabhverma has joined the channel [12:02] Bwen has joined the channel [12:08] cl0udy has joined the channel [12:11] akiva: Can anyone recommend a good mailing module? [12:11] akiva: nodemailer just won't seem to work for me [12:11] akiva: :/ [12:15] igl1 has joined the channel [12:15] Ramosa has joined the channel [12:17] maushu has joined the channel [12:20] levi501d has joined the channel [12:22] blueadept: anyone know the name of that one website that everyone uses to create landing pages? [12:22] blueadept: like i think hipster used it [12:23] blueadept: lets you input your email, and sets up a retweet link to queue invitations [12:23] criswell has joined the channel [12:25] akiva: Nope, but I am interested in seeing it myself [12:26] blueadept: found it, http://launchrock.com/ [12:27] Lightdork has joined the channel [12:30] blueadept: it's a great idea though [12:31] blueadept: you get a birds eye view of all the ideas people are testing out [12:31] blueadept: valuable analytics data [12:32] mendel_ has joined the channel [12:34] sivy has joined the channel [12:36] hybsch has joined the channel [12:37] hybsch has left the channel [12:38] whitman has joined the channel [12:39] level09 has joined the channel [12:41] davidbanham has joined the channel [12:41] robi42 has joined the channel [12:43] siovene has joined the channel [12:43] siovene: Hello. [12:43] siovene: I installed node.js from git, then installed npm, and used npm to install the "less" module (it's a compiler that compiles to CSS). [12:43] siovene: When I run lessc, though, I get this error: [12:43] siovene: Error: require.paths is removed. Use node_modules folders, or the NODE_PATH environment variable instead. [12:44] siovene: I have tried setting NODE_PATH to the location of the node_modules/ folder, but I still get the same. [12:44] siovene: Google is really not helping me. [12:45] fwg: try an older version of node [12:45] Sorella has joined the channel [12:45] craigbarnes: siovene: Did you checkout the latest stable tag? [12:46] siovene: craigbarnes: I did this: git clone https://github.com/joyent/node.git [12:46] craigbarnes: and then you should do.... git checkout v0.4.9 [12:46] craigbarnes: or whatever the latest stable version is now [12:46] siovene: ok I'll try that. [12:47] craigbarnes: hmm you're gonna need to cleanup everything before you install it again [12:47] craigbarnes: make uninstall && make clean [12:47] Clex: Is there a way to behave like include()? I would take to put my callback in an other file, like this http://fpaste.org/W6Jy/raw/ [12:47] Clex: Any idea? [12:48] maushu has joined the channel [12:49] craigbarnes: Clex: the question isn't very clear... [12:50] pdonald: exports.adminHandler = function(req, res) { ... } and then app.get('/admin', require('blabla').adminHandler); [12:54] Clex: craigbarnes: look at app.get('/admin', ...) [12:55] Clex: I want this code in admin.js [12:56] fwg: do module.exports=function (app){ app.get('/admin',...) } in admin.js and then require('admin')(app) in app.js [12:56] Clex: Oh, give parameters to require(). This is totally what I need. [12:57] Clex: Thanks fwg. [12:58] fwg: well that's one way of doing it [12:58] sorich87 has joined the channel [13:03] cl0udy has joined the channel [13:03] Clex: That seems to be the correct way. [13:05] thalll has joined the channel [13:05] xandrews has joined the channel [13:06] cjm has joined the channel [13:07] hoax__ has joined the channel [13:09] ryanfitz has joined the channel [13:12] abraham has joined the channel [13:21] demano has joined the channel [13:24] jomoho has joined the channel [13:25] FireFly has joined the channel [13:25] markwubben has joined the channel [13:29] Nican_ has joined the channel [13:31] cryptix has joined the channel [13:31] xerox: anybody ever used backbone.js with node ? [13:32] xerox: I'm wondering if I should duplicate the model on the client and the server, doing something different on the server [13:32] xerox: or importa backbone on the node server as well, and have the model defined there too [13:33] rchavik has joined the channel [13:34] cryptix: xerox: like this? :) http://andyet.net/blog/2011/feb/15/re-using-backbonejs-models-on-the-server-with-node/ [13:34] xerox: cryptix: I want to use nowjs tho, not the bare socket.io [13:35] cryptix: well.. swap the io. parts with nowjs then [13:36] xerox: so I guess yes, the idea is to use backbone in the server as well [13:36] abraham has joined the channel [13:36] xerox: just have to find a way to write the model definition once, and not twice [13:37] cryptix: thats explaind in the article as well [13:38] xerox: ok : ) [13:39] jensn has joined the channel [13:42] Stythys has joined the channel [13:45] tmedema has joined the channel [13:45] tmedema: How can one detect if the remote end has hung up unexpectedly when handling a request in an Express route? [13:46] edude03 has joined the channel [13:47] francois has joined the channel [13:48] mehtryx has joined the channel [13:49] skm has joined the channel [13:50] mynyml has joined the channel [13:51] blup has joined the channel [13:52] siovene: craigbarnes: thanks, downgrading to v0.4.9 solved the issue. [13:53] nightshift has joined the channel [13:56] ryanfitz has joined the channel [13:57] tomtomaso has joined the channel [13:57] mattcodes has joined the channel [13:58] level09: when I create a http server, is it possible to send the response in parts , not all in one step ? [13:58] level09: I'm doing some processing and want to send some text once each task is completed [13:58] xerox: level09: yes [13:58] level09: how [13:58] level09: ACTION using express [13:58] xerox: res.write(...) [13:58] level09: ah [13:58] level09: okay [13:58] xerox: hang on [13:58] xerox: ah ok cool : ) [13:58] level09: :) [13:58] xerox: win [13:59] bradleymeck has joined the channel [13:59] xerox: does anybody know a nice enough html+css "framework" that comes with useful elements and it is not jquery ui ? [14:00] xerox: sencha looks pretty neat but also pretty slow. [14:02] n00dles has joined the channel [14:03] n00dles has left the channel [14:05] toabi has joined the channel [14:05] aliemmo has joined the channel [14:06] Corren has joined the channel [14:07] markwubben has joined the channel [14:07] confoocious has joined the channel [14:09] toabi has left the channel [14:17] siovene has left the channel [14:18] broofa has joined the channel [14:19] adrianmg has joined the channel [14:20] n00dles has joined the channel [14:22] replore_ has joined the channel [14:23] whitman has joined the channel [14:24] hippich has joined the channel [14:28] mapleman has joined the channel [14:28] necrodearia has joined the channel [14:28] springify has joined the channel [14:32] jvargas` has left the channel [14:32] boaz has joined the channel [14:32] Sorella has joined the channel [14:34] zivester has joined the channel [14:39] Remoun has joined the channel [14:39] Xano has joined the channel [14:42] japj has joined the channel [14:42] liquidproof has joined the channel [14:44] jtsnow has joined the channel [14:52] xandrews has joined the channel [14:53] namelessjon has joined the channel [14:54] tmedema: When you get a 'EPIPE, Broken pipe' error, is it possible to detect what write method, or socket caused this? [14:54] thalll_ has joined the channel [14:56] broofa has joined the channel [14:56] taf2: not really, without tracing code ? [14:57] hij1nx has joined the channel [14:57] jaket has joined the channel [14:58] tmedema: taf2: well the problem is I do not know what is trying to write to a dead socket [15:00] oliland: hi all. is there a quick way to serve static files from node? [15:00] oliland: as in just html [15:01] taf2: https://github.com/joyent/node/wiki/modules#web-frameworks-static [15:02] taf2: googlies :) [15:04] jakehow has joined the channel [15:04] jensn has joined the channel [15:07] boaz- has joined the channel [15:07] boaz has joined the channel [15:07] tmedema: In express, what is the difference between req.connection and res.socket ? [15:11] c4milo1 has joined the channel [15:16] caiges has joined the channel [15:17] Wizek has joined the channel [15:17] dshaw_ has joined the channel [15:18] optixx has joined the channel [15:18] blueadept has joined the channel [15:19] taf2 has joined the channel [15:19] rauchg has joined the channel [15:21] dguttman has joined the channel [15:22] gqlewis has joined the channel [15:25] blup has joined the channel [15:28] pandeiro has joined the channel [15:29] gozala has joined the channel [15:30] sourcode has joined the channel [15:33] christophsturm has joined the channel [15:36] madzak has joined the channel [15:36] jtsnow has joined the channel [15:36] Yoric has joined the channel [15:36] Spion has joined the channel [15:37] xandrews has joined the channel [15:39] robhawkes has joined the channel [15:48] dve has joined the channel [15:48] `3rdEden has joined the channel [15:48] kawaz_air has joined the channel [15:48] dve: Whats the best way of monitoring the memory usage of my node app? [15:49] gde33 has joined the channel [15:50] tuhoojabotti: the node method :D [15:50] mikedeboer has joined the channel [15:50] infynyxx has joined the channel [15:50] infynyxx has left the channel [15:51] dve: which is? [15:51] tuhoojabotti: locating it :D [15:52] dve: hmmm.. I dont quite understand.. care to elaborate?! [15:52] tuhoojabotti: process.memoryUsage() [15:52] tuhoojabotti: console.log(util.inspect(process.memoryUsage())); [15:52] abraham has joined the channel [15:52] dve: aha.. ok cool.. thanks [15:53] tuhoojabotti: np :) [15:53] confoocious has joined the channel [15:53] confoocious has joined the channel [15:53] broofa has joined the channel [15:53] tuhoojabotti: docs to the rescue :D [15:56] topaxi has joined the channel [15:57] digitaltoad has joined the channel [15:58] StephenFalken has joined the channel [15:58] Jana_ has joined the channel [15:58] fairwinds has joined the channel [15:59] herbySk has joined the channel [15:59] Jana_ has left the channel [16:01] tomtomaso has joined the channel [16:01] markwubben has joined the channel [16:01] micheil has joined the channel [16:01] boaz has joined the channel [16:02] micheil: hmm.. there is a way in express to get the app's current environment, right? [16:02] micheil: (like development, production, etc?) [16:02] synkro has joined the channel [16:03] fwg: micheil㇀ app.settings.env iirc [16:06] Jana_ has joined the channel [16:07] joshthecoder has joined the channel [16:08] MikhX has joined the channel [16:09] Jana_ has joined the channel [16:09] cl0udy has joined the channel [16:10] daveluke has joined the channel [16:10] dve: hmm any recommmendations for articles on memory management in javascript/node apps? [16:11] dve: I know there is built in garbage collection, but I seem to be eating a shit load of memory and wondering if the montain of callbacks are creating references to stuff I want disposed [16:14] remysharp has joined the channel [16:16] uchuff has joined the channel [16:16] eto has joined the channel [16:16] andrewfff has joined the channel [16:16] tesserex has joined the channel [16:16] eto: hello is node supported on openindiana? [16:17] mikeal1 has joined the channel [16:17] tesserex: hi everyone, I'm trying to install node through cygwin on win 7, and despite following all instructions, I'm still getting cannot configure cxx compiler errors [16:17] mattcodes has joined the channel [16:17] tesserex: even after trying /bin/rebaseall [16:18] tesserex: and rebooting [16:18] dve: tesserex: you can download a zip file that contains a working windows node.js setup... just trying to find the link [16:18] temp01 has joined the channel [16:18] tesserex: ok thanks [16:19] tesserex: i want to be able to use npm as well [16:19] tesserex: so my windows dev environment can match my linux env as closely as possible [16:20] tesserex: i actually think i have than node setup already [16:20] tesserex: just as an isolated node directory with everything it needs, but no npm [16:20] Lightdork has joined the channel [16:20] boaz has joined the channel [16:21] dve: tesserex: I generally run on ubunutu, but have used this run-out-of-directory zip package on windows machines... just cant find the link! Im sure it was posted to the node.js mailing group [16:22] tesserex: ok [16:22] tesserex: well, i do have a different working node installation, probably from that zip [16:22] n00dles: tesserex: if you don't mind using 0.51 on Windoze, the binary is http://nodejs.org/dist/v0.5.1/node.exe [16:22] tesserex: but i would like npm so i don't have to figure out all my module dependencies myself [16:23] tesserex: i can't find instructions for npm on cygwin though [16:23] Slashbunny has joined the channel [16:23] n00dles: im not sure what modules (if any) will run OK on Windows tho [16:24] theCole has joined the channel [16:24] jakehow has joined the channel [16:26] tesserex: thanks everyone [16:26] tesserex: ok i think i'll manage with what i've got [16:26] dshaw_ has joined the channel [16:28] zivester has joined the channel [16:29] NetRoY has joined the channel [16:29] mandric has joined the channel [16:30] wookiehangover has joined the channel [16:32] staykov has joined the channel [16:33] Corren has joined the channel [16:33] thalll has joined the channel [16:36] Lagnus_ has joined the channel [16:41] hippich has joined the channel [16:43] tomtomaso has joined the channel [16:44] towski has joined the channel [16:45] aliffia has joined the channel [16:48] nibblebot has joined the channel [16:48] mandric has joined the channel [16:50] Corren has joined the channel [16:53] japj: btw, there is a scaled down node package manager in python that also runs on windows at http://github.com/japj/ryppi [16:54] unlink has joined the channel [16:54] ceej has joined the channel [16:55] jbpros has joined the channel [16:55] jensn_ has joined the channel [16:58] Lightdork has joined the channel [16:59] willwhite has joined the channel [16:59] adam_ has joined the channel [17:00] bergie has joined the channel [17:00] mendel_ has joined the channel [17:04] nerdfiles has joined the channel [17:04] nerdfiles has left the channel [17:05] Aria has joined the channel [17:05] clewe: how to print object Object in js? [17:06] xerox: console.log('object Object') ? :D [17:08] clewe: print_r ? [17:08] Aria: clewe: console.log, or util.inspect to get it as a string. [17:10] boaz has joined the channel [17:10] brettgoulder has joined the channel [17:12] jerrysv has joined the channel [17:13] sonnym1 has joined the channel [17:14] edude03 has joined the channel [17:14] MrPotter has joined the channel [17:14] harthur has joined the channel [17:16] seb_m has joined the channel [17:18] markwubben has joined the channel [17:19] perlmonkey2 has joined the channel [17:20] MrPotter: my simple node.js parsing server runs after many connections out of memory. any ideas? http://pastebin.com/knTuZ4ii [17:20] bbttxu has joined the channel [17:22] kmiyashiro has joined the channel [17:23] jameshome has joined the channel [17:23] Chris-tina has joined the channel [17:23] mnaser has joined the channel [17:24] dve: MrPotter [17:24] dve: i think it is JSDOM [17:24] dve: leaking memory... I have have the same problem [17:25] MrPotter: dve, u think its a bug? [17:25] d0k has joined the channel [17:25] dve: possibly [17:25] jonasen has joined the channel [17:26] dve: I have seen a few people mention memory leaks when working with JSDOM [17:26] gazumps has joined the channel [17:26] MrPotter: strange [17:26] dve: although saying that I havent updated it recently [17:27] dgathright has joined the channel [17:28] dguttman has joined the channel [17:28] madzak has joined the channel [17:30] dve: MrPotter Im knocking up a few tests to see if I can spot exactly if/where the memory leak is coming from in JSDOM [17:32] markwubben has joined the channel [17:32] MrPotter: i try node-jquery instead of jsdom for my server ... [17:32] MrPotter: but thanks for your support :) [17:32] jtsnow has joined the channel [17:33] Kami_ has joined the channel [17:37] Corren has joined the channel [17:38] mehlah has joined the channel [17:39] cpeisert has joined the channel [17:40] Aria: Yeah, there might be a few leaks left in jsdom. Help tracking them down are of course appreciated. [17:41] jakehow has joined the channel [17:41] thdbased has joined the channel [17:42] jerrysv: mrpotter: are you using jquery? [17:42] tuhoojabotti: jQ<3 [17:43] jerrysv: mrpotter: specifically, there's a leak with jquery, timeouts set inside jquery are never cleaned up [17:43] caiges has joined the channel [17:43] dve: is this also true of the Sizzle module? [17:44] pifantastic has joined the channel [17:44] jerrysv: dve: https://github.com/tmpvar/jsdom/issues/154 [17:44] jerrysv: dve: tmpvar and i went back and forth trying to find the exact leak at jsconf [17:45] dve: tricky one eh [17:45] qbert_ has joined the channel [17:46] jerrysv: dve: see: https://gist.github.com/953987 [17:47] dve: jerrysv: specifically in JSDOM, or in the jquery module? [17:47] jerrysv: dve: that actually isolates it out into v8 itself [17:48] jerrysv: dve: https://github.com/joyent/node/issues/1007#issuecomment-1100117 [17:49] bbrandon has joined the channel [17:50] pHcF has joined the channel [17:50] mendel_ has joined the channel [17:51] bwinton has joined the channel [17:54] caiges has joined the channel [17:54] mendel_ has joined the channel [17:54] dve: jerrysv: did you manage to pinpoint it in v8? [17:55] dve: or have a test that demonstrates it as V8? [17:55] pietern has joined the channel [17:57] jerrysv: dve: check the closed joyent comments, last link i sent [17:57] othiym23 has joined the channel [17:57] jerrysv: timers aren't getting cleared in the context [17:58] dve: ahh i see [17:58] cpeisert has left the channel [17:58] Renegade001 has joined the channel [17:58] jerrysv: so, when the context ends, the memory has never been gc'd [17:58] KingJamool has joined the channel [17:59] roblarter has joined the channel [17:59] roblarter: Hi [17:59] mehtryx has joined the channel [17:59] roblarter: is it possible to have console.log(foo) set to a string? [18:00] dve: var xyz = foo? [18:00] shimondoodkin has joined the channel [18:01] jerrysv: dve: and this one helps with the open files issue: https://github.com/tmpvar/jsdom/pull/209 [18:01] dve: roblarter: var xyz = util.inspect(foo); [18:01] roblarter: ooh just was looking into sys.inspect [18:01] roblarter: whats the difference? [18:01] jerrysv: what about console.dir(foo) ? [18:01] dve: sys is obsolete [18:01] c4milo1 has left the channel [18:02] jerrysv: ah, never mind, you want to go the other way [18:02] jerrysv: util.inspect [18:02] roblarter: ok tnx let me test [18:03] dve: thanks jerrysv [18:03] jerrysv: dve: first world problems :) [18:03] dve: haha i dont know how we cope [18:04] noderfs has joined the channel [18:07] dguttman has joined the channel [18:09] Slashbunny has joined the channel [18:10] materialdesigner has joined the channel [18:10] jtsnow has joined the channel [18:10] kawaz_air has joined the channel [18:10] corytheboyd has joined the channel [18:11] tk has joined the channel [18:12] langworthy has joined the channel [18:12] neorab has joined the channel [18:13] hippich has joined the channel [18:15] mandric has joined the channel [18:16] isaacs has joined the channel [18:16] springify has joined the channel [18:18] micheil has joined the channel [18:19] MikhX has joined the channel [18:20] kakamba has joined the channel [18:21] mikedeboer has joined the channel [18:25] jetienne_ has joined the channel [18:28] dilvie has joined the channel [18:30] StepanKuzmin has joined the channel [18:31] ryanla has joined the channel [18:31] ryanla: hello [18:32] ryanla: I'm looking to downgrade from node 5.0.1-pre to 4.9 and node uninstall isnt doing it for me [18:33] ryanla: where is node located on my local machine? [18:33] jetienne_: ryanla: do "which node" [18:33] jetienne_: and next time stick on stable version [18:33] ryanla: ah [18:33] ryanla: yeah, I should have :\ [18:34] dve: does JSDOM not expose a getElementsByTagName method? [18:34] xandrews has joined the channel [18:35] ryanla: jetienne_ can I uninstall it from that directory? Or should I just remove the whole dir? [18:35] jetienne_: ryanla: dunno, make uninstall is supposed to work [18:35] jetienne_: ryanla: make install in the new version make work too [18:36] jetienne_: ryanla: but due to window they are changing stuff, i dunno if it affect your case [18:36] ryanla: jetienne_ yeah, I downloaded 4.9 and did make uninstall and its still on my system after that [18:36] jetienne_: ryanla: download the installed version and make uninstall [18:36] ryanla: okay, let me try that [18:36] ryanla: apprecaite the help [18:37] dnjaramba has joined the channel [18:39] MikhX has joined the channel [18:40] ryanla: jetienne_ still installed after that http://b-w.es/8UrM [18:41] pNstK has joined the channel [18:41] Evanlec has joined the channel [18:41] fille has joined the channel [18:42] jetienne_: ryanla: which node" answer what ? in a pastebin [18:42] fille: hello [18:42] wbw72 has joined the channel [18:42] adam_ has joined the channel [18:42] ryanla: jetienne_ http://pastebin.com/RRCSVfVF [18:42] bitwise_ has joined the channel [18:42] jetienne_: ryanla: "node -v" too [18:42] ccare has joined the channel [18:43] jetienne_: ryanla: use pastebin only if it is more than 2 line [18:43] jetienne_: s [18:43] ryanla: jetienne_ http://pastebin.com/R2rDXWLn [18:43] jetienne_: ryanla: my bet is "this is another version" [18:43] theCole has joined the channel [18:44] jetienne_: ryanla: hmm ok so i dunno :) [18:44] ryanla: jetienne_ hrmm. Can I just blow it out totally and start again by removing that folder? [18:44] jetienne_: ryanla: you could try to download node 0.4.9 and do make install [18:44] fille: what is pubsub? [18:44] ryanla: jetienne_ yeah I tried that but I've stil got 0.5.0.1 after that [18:44] jetienne_: ryanla: and pray that it will overwrite the other version [18:45] jetienne_: ryanla: ok something is broken, i would remove the /Users/wesbos/local/node die [18:45] jetienne_: directory... but at your own risk [18:45] brianseeders has joined the channel [18:45] jetienne_: fille: a protocol to do rss with lower latency [18:46] fille: Annyone heard about that guy talkin about a bug in node.js [18:46] theCole_ has joined the channel [18:46] ryanla: jetienne_ okay, and node doesnt touch any other directories? [18:46] fille: jetienne thanks [18:46] jetienne_: ryanla: i dunno i install node with .deb on ubuntu. and i maintain the .deb myself :) [18:46] fille: something about a loop [18:46] ryanla: jetienne_ gotcha, well I'm going to try that. Thanks for the guidance :) [18:47] jetienne_: ryanla: my pleasure [18:47] ajsie has left the channel [18:50] pandeiro: how can i detect whether data is being piped to my node script or not? [18:51] tuhoojabotti: stdin on data? :D [18:51] jetienne_: pandeiro: test if stdin is tty [18:52] jetienne_: http://nodejs.org/docs/v0.4.9/api/all.html#tty.isatty [18:53] tuhoojabotti: :o [18:54] akiva has joined the channel [18:55] mikeal has joined the channel [18:56] dgathright has joined the channel [18:57] pandeiro: jetienne: thks [18:57] Jakwac has joined the channel [18:57] pNstK has joined the channel [18:58] Jakwac: In javascript is there something like PHP's list? (Takes an array and splits it into individual varibles) [18:59] Jakwac: list(var x, var y) = [125,654]; [18:59] FireFly|n900 has joined the channel [18:59] ccare has joined the channel [19:00] jetienne_: Jakwac: no you cant do that in js [19:00] systemfault: No, it doesn't. Mozilla's version has it. [19:00] systemfault: But that's an extension [19:01] jetienne_: i prefere not to use non standard stuff. it doesnt scale [19:01] robot_jesus: anyone use coffeescript ? Does node handle that directly , or is there some pre-layer that compiles it to javascript then runs node ? [19:02] Jakwac: Ya, I agree. [19:02] Jakwac: robot_jesus: You need to precompile it. [19:02] jetienne_: robot_jesus: node is doing javascript. cofeescript is a compiler which produce javascript [19:02] cjm has joined the channel [19:03] robot_jesus: was wondering if there was something like a coffee_require('') that would compile it automagically [19:03] robot_jesus: if not they should make that [19:05] jetienne_: robot_jesus: ask coffee script people then [19:06] pietern_ has joined the channel [19:06] Jakwac: robot_jesus: check out https://github.com/kadirpekel/coffeemate [19:06] c4milo2 has joined the channel [19:07] Jakwac: robot_jesus: wait nm, looks like its just connect written in coffee-script [19:08] robot_jesus: I did find a connect module that will compile the coffeescript for you [19:08] Jakwac: You could write a node app that watches all your .coffee files. When the mtime changes it would recompile them all for you. [19:08] jetienne_: i dont like coffee script because it create gragmentation [19:08] jetienne_: fragmentation [19:08] robot_jesus: personally I dont like coffe script , but I want to do something similar [19:09] ryanla: jetienne_ : that worked, running on 0.4.9 now :) [19:09] jetienne_: ryanla: cool :) [19:09] ryanla has left the channel [19:10] cystbear has joined the channel [19:16] jetienne_: possible to do seq in 13lines [19:16] jetienne_: to do paralelle flow control is longer... [19:17] StepanKuzmin has joined the channel [19:19] bpwnr has joined the channel [19:19] jetienne_: 35lines... much longer :p [19:20] pydroid has joined the channel [19:21] daveluke has joined the channel [19:23] Spion has joined the channel [19:23] zeade has joined the channel [19:27] tk has joined the channel [19:28] fangel has joined the channel [19:29] boaz has joined the channel [19:30] Slashbunny has joined the channel [19:31] dshaw_ has joined the channel [19:32] tmzt: dve: use jquery or querySelectorAll if it doesn't [19:33] sfoster has joined the channel [19:33] thejh has joined the channel [19:34] TheJH: is there a hackable ssh client for node (that is, one that doesn't just call the ssh client but does the protocoll stuff on its own)? [19:36] SuMarDi has joined the channel [19:38] dgathright has joined the channel [19:38] Yoric has joined the channel [19:39] jonasen has joined the channel [19:40] srid has joined the channel [19:40] srid has joined the channel [19:41] davidwalsh has joined the channel [19:42] Bwen has joined the channel [19:44] kimico has joined the channel [19:47] tmzt: TheJH: dcrypt and github.com/substack [19:47] fille: collison detection in a hexogon [19:47] TheJH: what do you think, how hard would translating 20k lines of java to js or coffeescript be? I really don't know how much 20k loc are [19:47] TheJH: that's the size of the code of ganymed, an ssh library for java [19:51] jhurliman has joined the channel [19:54] Aria: Depends on how well it translates. [19:54] Aria: Is it written in an async or threaded style? [19:54] boaz has joined the channel [19:56] TheJH: Aria, not sure, but it probably is in a threaded style (it's java) [19:56] ceej has joined the channel [19:57] tmzt: https://github.com/substack/libssh [19:58] MikhX has joined the channel [19:59] TheJH: tmzt, that one would still have to be ported [19:59] mandric has joined the channel [19:59] jeedey: Can i just include a normal JS file into my node file? [20:00] jetienne_: jeedey: yes [20:00] mnaser has joined the channel [20:00] pNstK has joined the channel [20:00] jeedey: jetienne_, how? i saw include() on node.js site but i get not defined for it [20:00] TheJH: tmzt, and that one is 50% bigger (in terms of LOC) [20:00] tmzt: TheJH: you can't have any native code? [20:01] jetienne_: jeedey: include() ? i dunno what it is. maybe you mean require() [20:01] jeedey: i think its been deprecated and removed [20:01] jeedey: thats why [20:01] Clex: jeedey: yes it is. [20:01] jetienne_: http://nodejs.org/docs/v0.4.9/api/modules.html [20:02] jeedey: ah so its just require? [20:02] jeedey: kool [20:02] Clex: Just require(), yep. [20:02] jeedey: can you specify a file direct? [20:02] jetienne_: yes [20:02] jeedey: or do i have to put it in a certain place [20:02] jeedey: ahh [20:02] jeedey: thanks guys [20:02] jeedey: :) [20:02] jetienne_: ./path/to/file.js [20:02] jetienne_: relative path [20:02] jeedey: node is awesome [20:02] TheJH: tmzt, I actually want to fiddle with the ssh code, so I'd like if it was JS - but I guess that I'll be able to write a little bit of C [20:03] jtsnow has joined the channel [20:03] kartmetal: TheJH, check out https://github.com/substack/node-ssh [20:03] tmzt: http402://www.lifehacker.com.au/2011/03/firessh-is-a-browser-based-ssh-client-written-entirely-in-javascript/ [20:03] kartmetal: it's based on the libssh code, with bindings for node. [20:03] TheJH: kartmetal, thanks, but tmzt already showed me that one ;) [20:03] tmzt: well I coudln't find the bindings [20:04] kartmetal: ah I missed that. [20:05] TheJH: oh, node bindings? that's good :) [20:06] kartmetal: don't expect a smooth ride, but it's a start. [20:06] gazumps has joined the channel [20:06] rhdoenges has joined the channel [20:07] Chris-ti_ has joined the channel [20:08] mikedeboer has joined the channel [20:08] jeedey: do i have to specially export the functions of the js i require? [20:08] mikedeboer has joined the channel [20:09] kartmetal: jeedey, http://nodejs.org/docs/v0.5.1/api/modules.html#module.exports [20:10] jeedey: kartmetal, thanks, I didn't want a class instance though, the js file I want to include is literally one function [20:10] jesusabdullah: jeedey: module.exports = function() {} [20:10] jeedey: >.< im an idiot [20:11] jeedey: thanks [20:11] jesusabdullah: haha [20:11] jesusabdullah: It's all good ^__^ [20:11] jeedey: its late on a sunday [20:11] jeedey: XD [20:11] ryanfitz has joined the channel [20:12] mehlah has joined the channel [20:16] WarriorSl has joined the channel [20:17] langworthy has joined the channel [20:19] idank has joined the channel [20:20] themiddleman has joined the channel [20:21] tsenga has joined the channel [20:22] robi42 has joined the channel [20:24] langworthy has joined the channel [20:25] scooter has joined the channel [20:28] TheJH: SubStack, are you here? [20:30] bnoordhuis has joined the channel [20:31] cl0udy has joined the channel [20:31] cha0s: console.log(object) [20:31] boaz has joined the channel [20:31] cha0s: oops [20:31] SubStack: TheJH: beep boop [20:32] boaz has joined the channel [20:32] othiym23 has joined the channel [20:33] TheJH: SubStack, :) - could you have a look at your commit 4d1bc727945385a149bb85d9f172ac21b1858335 from your libssh? you dodn't remove cpackconfig from cmakelists.txt [20:33] TheJH: *didn't [20:33] amirpc has joined the channel [20:34] brolin has joined the channel [20:34] amirpc: Anyone see anything wrong with this pattern for a self invoking singleton type object? http://pastebin.com/5sMSPJfr [20:35] amirpc: It doesn't work, obv prototype for _core is undefined. [20:36] idank has left the channel [20:36] SubStack: TheJH: node-ssh has a lot of problems [20:36] amirpc: Somehow _core just has no prototype object, no matter how I slice it [20:37] SubStack: since libssh has a screwy threading model that isn't easy to integrate with node's thread pool [20:37] rileys has joined the channel [20:37] mynyml has joined the channel [20:37] TheJH: SubStack, does something simple like "connect and check whether my key is authorized" work? [20:39] SubStack: I only got user/pass auth working [20:39] SubStack: and only for the first session that connects [20:42] CIA-107: node: 03Pierre-Alexandre St-Jean 07master * r93899cb 10/ doc/api/appendix_1.markdown : node-amqp is now being maintained by Theo Schlossnagle https://github.com/postwait/node-amqp - http://bit.ly/pHNX8O [20:43] Ezeeguy has left the channel [20:44] dreamdust has joined the channel [20:45] cl0udy has joined the channel [20:45] TheJH: SubStack, how far does pubkey auth work? not at all? or does it work so far that I can verify a key? I don't care abot the actual authentification. [20:45] TheJH: s/abot/about/ [20:46] jetienne_ has joined the channel [20:46] dreamdust: Is there any way to validate the success of require? When I wrap require in a conditional it throws an exception and exits instead of returning false. [20:46] dreamdust: For example: if (myVar = require('nonExistentModule') is not populating myVar with false. [20:47] mikeal has joined the channel [20:47] dreamdust: How would I achieve that functionality? [20:48] cccaldas has joined the channel [20:48] jesusabdullah: dreamdust: Try a try { var x = require('nonExistentModule') } catch(e) { } maybe? [20:48] jesusabdullah: I mean, since it throws an error after all [20:49] rfay has joined the channel [20:49] jesusabdullah: > try { var f7u12 = require('bullshitModule') } catch(e) { var f7u12 = false } [20:49] jesusabdullah: > f7u12 [20:49] jesusabdullah: false [20:49] jesusabdullah: like-a that [20:49] dreamdust: Thx. Yeah, that's the only way I can figure to do this. [20:50] jetienne_ has joined the channel [20:51] wbw72: any 1 using mongoose-auth? [20:51] xerox: jesusabdullah: why 'var' two times? [20:52] jesusabdullah: xerox: Why not? [20:52] jetienne_ has joined the channel [20:52] jesusabdullah: Does the var get created in the first step regardless of erroritude? [20:52] vipaca has joined the channel [20:52] SubStack: TheJH: it's just not implemented because I couldn't get the thread stuff working [20:53] xerox: idk [20:53] jesusabdullah: I assumed not, so [20:53] cha0s has joined the channel [20:53] cha0s has joined the channel [20:53] jesusabdullah: but I'm not totally up on ALL the javascripts so I could be wrong! [20:53] TheJH: SubStack, hmm, ok. thanks for the help. [20:54] dreamdust: Yeah you don't need the var twice, it's already available in that scope. [20:54] jesusabdullah: dreamdust: You should make that a module. XD var f7u12 = tryRequire('bullshitModule') [20:54] jesusabdullah: dreamdust: I see! [20:54] Wa has joined the channel [20:54] jesusabdullah: Good to know. [20:54] wbw72: just wondering what the best method would be to get additional facebook userdata into mongodb. So I expanded the facebook scope to include birthdate and would love for that to be included in the fb userdata in facebook...  [20:55] wbw72: in mongodb that is [20:56] corytheboyd has left the channel [20:57] jetienne_ has joined the channel [20:57] jetienne_ has joined the channel [20:57] j0ni has joined the channel [20:58] cryptix has joined the channel [21:00] rfay has joined the channel [21:03] Swizec has joined the channel [21:06] tsenga has joined the channel [21:07] tilgovi has joined the channel [21:07] tilgovi has joined the channel [21:10] joshbaptiste has joined the channel [21:12] dans has joined the channel [21:12] MikhX has joined the channel [21:14] m00p has joined the channel [21:14] fyskij has joined the channel [21:15] mandric has joined the channel [21:15] jetienne has joined the channel [21:16] theCole has joined the channel [21:16] piscisaureus_not has joined the channel [21:17] dguttman has joined the channel [21:17] killfill: hi [21:17] jesusabdullah: suup? [21:17] killfill: i have a bunch of .js files the client gets.. how do you guys normally compress them into one?.. [21:17] killfill: is there a cool connect middleware or something cool? [21:19] captain_morgan has joined the channel [21:19] Kami_ has joined the channel [21:20] robot_jesus: I build something like that, then realized there are scoping rules to consider [21:20] robot_jesus: you'd have to have a file that describes which files come first etc, which is lame [21:21] TheEmpath has joined the channel [21:21] jetienne: killfill: closure compiler can do that [21:21] dreamdust: @killfill: https://github.com/mape/connect-assetmanager [21:21] dreamdust: @killfill: https://github.com/mishoo/UglifyJS [21:22] killfill: oh greate [21:22] killfill: thanks [21:23] robot_jesus: doh [21:25] TheEmpath: so contet delivery in node.js [21:25] TheEmpath: a solved problem yet? [21:26] TheEmpath: some context! [21:26] TheEmpath: lets say i have an html5 graphic engine and a node.js server that allows people to sync in real time whatever they are doing in the engine [21:26] TheEmpath: it uses a heavy amount of sprite sheets which can update at any time [21:27] TheEmpath: there are three philosophical roads i've discovered when addressing this issue: all at once, on demand, or priority packaging [21:27] TheEmpath: all at once gives the player everything, but initilaization times are awful [21:27] killfill: there could be a little middleware that catch the file.html been served, read it, detect loaded javascript, and uglyfy the output to file.html.js or something and modify the .html file to load the uglyfied js.. :P [21:28] TheEmpath: on demand allows players to get whatever they want when they need it, but you run the risk of having content inaccessible while the sprites are downloading [21:28] TheEmpath: priority packaging gets specifically what is needed when the player enters a certain part, then silently downloads everything else over time [21:28] themiddleman_ has joined the channel [21:28] captain_morgan has joined the channel [21:28] TheEmpath: the problem with that is art people and programmers will have problems maintaining packages [21:29] TheEmpath: and all of this might be moot given how cache.manifest works... where if the manifest updates, everything gets downloaded again [21:29] dreamdust: You just need to package all your resources up into a single resource prior to delivering your response. [21:30] dreamdust: http://bostinnovation.com/2011/02/17/a-combohandler-for-node-js-an-interview-with-creator-ryan-grove/ [21:31] dreamdust: sorry https://github.com/rgrove/combohandler [21:31] markbao_: anyone use the node mongodb native module? having an issue where trying to do a find is just returning 0 rows, even though the criteria i try works inside mongo itself [21:32] TheEmpath: dreamdust: if i do that, then its a massive resource being delivered up front [21:32] TheEmpath: massive initializatoin times [21:32] markbao_: code: https://gist.github.com/668572e65d4428ba354a [21:32] TheEmpath: not to mention a user may not even need all tha tcontent [21:32] markbao_: it returns 0, but mongo console returns 51 rows [21:32] markbao_: doucments* [21:33] TheEmpath: whats your mongo query [21:35] Lightdork has joined the channel [21:36] CIA-107: node: 03isaacs 07master * r448eab2 10/ (doc/api/modules.markdown lib/module.js): Close #1349 Delimit NODE_PATH with ; on Windows - http://bit.ly/r8JSPX [21:40] cha0s has joined the channel [21:48] ryanfitz has joined the channel [21:50] cl0udy has joined the channel [21:50] edude03 has joined the channel [21:50] sechrist has joined the channel [21:53] killfill: connect does have gzip moddleware anymore?.. [21:53] killfill: is it a bad idea to use it? [21:53] socketio\test\02 has joined the channel [21:54] mape: killfill: I prefer to use nginx for that [21:55] dilvie has joined the channel [21:56] rauchg has joined the channel [21:56] CoinOpeBoy has joined the channel [21:58] killfill: mape, just im just curious.. i remember there were a gzip middleware.. maybe it was taking out [22:00] jasonhulme has joined the channel [22:00] rauchg has joined the channel [22:01] wookiehangover has joined the channel [22:02] robot_jesus: markbao_, anything from console.log(err, cursor ) ? [22:02] buribux has joined the channel [22:04] markwubben has joined the channel [22:05] JoshC1 has joined the channel [22:07] mape: killfill: it was removed [22:07] mape: quite some time ago [22:07] mape: bad performance if I recall correctly [22:08] ngs has joined the channel [22:10] rook2pawn has joined the channel [22:11] davidbanham has joined the channel [22:11] n00dles has joined the channel [22:12] spronkey has joined the channel [22:12] jetienne has joined the channel [22:12] marcinkuzminski_ has joined the channel [22:13] jetienne has joined the channel [22:13] marcinkuzminski_: is there a way to catch all events of http.request ? [22:14] Aria: Nope. Not in the stock event emitter. [22:15] Aria: Though you could replace its emit. [22:15] Aria: (or just subscribe to all the events you want) [22:15] marcinkuzminski_: make my own event emmiter, and overide it right ? [22:15] Aria: Yeah, or just replace its emit method. [22:16] marcinkuzminski_: Aria, thanks, is there a way to list all events that can be subscribed for http.request for example ? [22:17] Aria: Look at the source and see what it emits. (I think it's just the usual stream events) [22:18] marcinkuzminski_: o yeah, i just wondered if there's a trick to list it [22:20] Aria: Nope! [22:20] Aria: It's a really simple piece of code. [22:20] briznad has joined the channel [22:22] caiges has joined the channel [22:23] arlolra has joined the channel [22:28] Fredderf has joined the channel [22:30] dguttman has joined the channel [22:34] PhilK has joined the channel [22:36] spronkey has left the channel [22:37] Lightdork has joined the channel [22:38] gozala has joined the channel [22:40] m00p has joined the channel [22:41] mnaser has joined the channel [22:43] abraham has joined the channel [22:44] gozala1 has joined the channel [22:44] duck_ has joined the channel [22:44] jacobolus has joined the channel [22:48] Xano has joined the channel [22:52] Fredderf has joined the channel [22:52] Melkor_ has joined the channel [22:52] gazumps has joined the channel [22:54] nodokodo has joined the channel [22:54] zinkem has joined the channel [22:56] langworthy has joined the channel [22:56] dgathright has joined the channel [22:58] n00dles has left the channel [23:00] `steve has joined the channel [23:01] Nexxy has joined the channel [23:01] Nexxy has joined the channel [23:05] caleb_ has joined the channel [23:08] nibblebot has joined the channel [23:11] jacobolus has joined the channel [23:15] alnewkirk has joined the channel [23:16] bnoordhuis: hey, we passed the 8,000 watchers mark on github! [23:17] themiddleman has joined the channel [23:18] bnoordhuis: i remember when there were less than 400 *snif* [23:18] duck_: does anyone here keep controllers in the same directory as views? [23:19] duck_: it seems like a better way to organize things... [23:19] jesusabdullah: I keep controllers in the same bin as my nintendo games [23:19] jesusabdullah: but that's only because I don't want a second bin [23:19] duck_: i don't play nintendo [23:19] Aria: I don't use "MVC" in a request-response cycle web app, but I keep controllers in the same place as views when I'm writing MVC GUI code. [23:19] jesusabdullah: WHY NOT [23:19] patcito has joined the channel [23:20] duck_: Aria thanks [23:20] jesusabdullah: I'm not so good at front-end webbery, so definitely don't ask me about this mvc stuff [23:20] Aria: There is ~no MVC on the web. [23:20] jesusabdullah: I almost think I should write an app using a strict mvc framework if only to force myself to think that way once [23:20] duck_: Aria would you explain? [23:20] jesusabdullah: then I'd be aware of it [23:20] Aria: It's an interactive UI pattern, not something you can do on a server. [23:21] Aria: What people call MVC is actually route-handle-response. [23:21] Aria: And in the handle part, people try to keep web logic apart from business logic. Which is smart, but doesn't make it MVC. [23:22] sorensen: jesusabdullah: did you come up with that nintento line? [23:22] sorensen: nintendo* [23:23] sorensen: priceless [23:23] duck_: or worthless [23:23] sorensen: sure [23:24] sorensen: thanks for the random troll? [23:24] jesusabdullah: sorensen: I totally did [23:24] Corren has joined the channel [23:25] jesusabdullah: duck_: Also, laughter's good for you. [23:25] jesusabdullah: I didn't mean to rain on your parade [23:25] jesusabdullah: so to speak [23:26] Aria: However: if your app forms neat little modules, with the handler code and view code neatly paired up, by all means, put 'em in directories together. [23:26] Lightdork has joined the channel [23:26] sorensen: i'm going to quote you on that one lol [23:28] chjj has joined the channel [23:28] jtsnow has joined the channel [23:29] rook2pawn has joined the channel [23:33] robot_jesus: Im toying with the idea of making a small translator that will translate this http://pastebin.com/xZ0hmkWf , into standard javascript and perform some compile time checking - making a node module that will handle all this seamlessly. The bigger thing is I want to make a large class library , what do yall think should I just make the class library in standard javascript, or go all out and make a source-to-source compiler for the [23:33] robot_jesus: added compiler time checks ? [23:33] mstred has joined the channel [23:35] bnoordhuis: ah, that sinking feeling you get when you realize you've typed `sudo shutdown -h now` in the wrong terminal... [23:35] robot_jesus: SSH'ed in ? [23:35] robot_jesus: that sucks [23:36] bnoordhuis: fortunately it's 1.30 am here [23:36] bnoordhuis: no one will know that the site's been down for 15 minutes [23:36] bnoordhuis: ACTION crosses fingers [23:37] othiym23 has joined the channel [23:37] sorensen: ah hell [23:37] sorensen: i killed my box trying to upgrade npm [23:37] sorensen: ACTION facepalms [23:37] isaacs: sorensen: "killed your box"? [23:38] othiym23 has joined the channel [23:39] benjaminRRR has joined the channel [23:39] sorensen: using a rackspace centos machine [23:40] sorensen: keep getting 'node: command not found' [23:40] sorensen: though i can both node and sudo node [23:40] ryanfitz has joined the channel [23:42] rhdoenges: what [23:43] rhdoenges: does your $PATH look like [23:43] perlmonkey2 has joined the channel [23:43] rhdoenges: and where is the node executable. [23:44] kawaz_ has joined the channel [23:44] davidbanham has joined the channel [23:45] newy_ has joined the channel [23:45] kawaz_home has joined the channel [23:45] sorensen: path is: /usr/local/bin:/bin:/usr/bin [23:45] sorensen: node is in /usr/bin/node [23:46] rhdoenges: so does typing `/usr/bin/node` instead of `node` work? [23:46] sorensen: ah, no [23:47] sorensen: its a dir [23:47] sorensen: i knew i messed something up [23:47] rhdoenges: there's ya problem :) [23:47] sorensen: how can i add that to the path? [23:47] sorensen: dont know the command >.< [23:47] rhdoenges: what's in /usr/bin/node right now? [23:47] rhdoenges: is it the whole node repo? [23:48] sorensen: yep [23:48] rhdoenges: that is not where it belongs. [23:49] sorensen: had it in my home dir until things started going crazy on me [23:49] sorensen: not sure where to put the repo [23:49] sorensen: >.< [23:49] rhdoenges: put it in your home dir [23:50] rhdoenges: but do `./configure` [23:50] rhdoenges: err ./configure --prefix=/usr [23:50] rhdoenges: then make [23:50] rhdoenges: and make install [23:50] rhdoenges: and everything will be where it should be. [23:51] sorensen: ah thanks [23:51] sorensen: see if this works [23:51] sorensen: always had it in my home before, but after npm couldnt find the command i went crazy [23:52] [[zz]] has joined the channel [23:52] arlolra: isaacs: a few weeks ago, you and mjr were discussing a weird problem with osx 10.6.8 and fstat ... did that ever get resolved? [23:53] isaacs: arlolra: the answer was to rebuild node. [23:53] isaacs: arlolra: not sure how it gets into that state. [23:53] arlolra: i did that bunch of times on v0.5.1 and it never fixed ... i reverted to v0.4.9 and worked [23:55] arlolra: i guess i can't move forward? :( [23:55] jesusabdullah: Haha, this song on pandora is called, "callbacks" [23:59] sorensen: success! [23:59] sorensen: thanks much [23:59] sorensen: config param ftw