[00:01] kiffness has joined the channel [00:01] [[zzz]] has joined the channel [00:05] blup has joined the channel [00:08] shiawuen has joined the channel [00:10] socketio\test\46 has joined the channel [00:11] indexzero has joined the channel [00:13] ckpcw has joined the channel [00:14] socketio\test\79 has joined the channel [00:16] cpetzold has joined the channel [00:19] skm has joined the channel [00:24] dingomanatee has joined the channel [00:24] devongovett has joined the channel [00:26] mavus has joined the channel [00:26] sledge has joined the channel [00:26] dmkbot: joyent/node: scunningham: Support ssl session get/set in tls. Useful for client side session resume. - https://github.com/joyent/node/issues/1606 [00:27] AvianFlu has joined the channel [00:28] dragnl0rd: got a (possibly easy) question. Trying to send the contents of a css file to a browser via readstream. However, even though the end event is being fired on the response object, the browser isn't always seeing the end of the response, and is hanging as a result. [00:28] zomgbie has joined the channel [00:28] dragnl0rd: Any clue what could cause this? (and I'm checking to see if the write buffer is full in case I need to pause until the response.drain event fires) [00:28] kiffness has joined the channel [00:29] cpetzold has joined the channel [00:30] cpetzold has joined the channel [00:30] bartt has joined the channel [00:30] cnu has joined the channel [00:30] gerard0 has joined the channel [00:31] indexzero has joined the channel [00:32] maushu: dragnl0rd, are you using util.pump? [00:32] Marak: are there any good SMTP as a service providers who will receive emails for you and then pipe them out as HTTP webhooks somewhere? [00:33] maushu: Marak, doesn't a http api work? [00:33] Marak: maushu: how you send an email to a url? i forgot [00:33] maushu: mailto: ? [00:33] Marak: :-D [00:33] dragnl0rd: @maushu I was... but given the current behavior I switched to using the long form. [00:34] maushu: Marak, http://en.wikipedia.org/wiki/Mailto check this out for more options, like subject, message and stuff [00:34] SvenDowideit has joined the channel [00:34] maushu: Wait, email to a url? [00:34] jerrysv has joined the channel [00:34] maushu: wut [00:34] Marak: maushu: i think you might have got lost in translation over there [00:34] maushu: email *to* a url? [00:34] maushu: How would that work. [00:34] Marak: thats what i was asking you maushu [00:35] Marak: are there any good SMTP as a service providers who will receive emails for you and then pipe them out as HTTP webhooks somewhere? [00:35] edude03: Marak I think sendgrid can do that [00:35] edude03: I'm 99% sure [00:35] tg has joined the channel [00:35] Marak: edude03: i thought sendgrid only did the reverse [00:35] maushu: Ok, receive emails, check. Get emails using http api, check. I don't see the problem or why use "http webhooks". [00:36] balupton has joined the channel [00:36] edude03: Yeah it might be the opposite [00:36] dragnl0rd: I'm only using a stream now because I figured that would be more manageable for serving static content like css files than using buffers. [00:36] Marak: edude03: im debating using hakara [00:36] balupton has left the channel [00:36] Marak: i really dont want to host SMTP servers though, it feels wrong [00:36] edude03: Never heard of it, what are you trying to do though? [00:36] Marak: get emails, perform node.js code [00:36] jerrysv: marak: coming in late, but maybe some sort of imap/pop middleware? [00:36] Marak: get emails, perform node.js code [00:36] socketio\test\63 has joined the channel [00:37] maushu: Marak, hmm, smtp is to send emails. [00:37] Marak: yep [00:37] maushu: Nothing about receiving them. [00:37] wao has joined the channel [00:38] Marak: https://github.com/baudehlo/Haraka/blob/master/README.md [00:38] Marak: maushu: if you say so [00:38] jerrysv: maushu: smtp is a protocol for sending *and* receiving emails -- what happens after the smtp server receives it isn't defined [00:39] maushu: I though you used pop3 to receive emails. Unless it uses smtp before hand. [00:39] maushu: What a confusing transport. [00:39] Marak: maushu: just use mailto: [00:39] dragnl0rd: maybe a better question: what is the best way to serve css, js, and image files to a browser? [00:39] Marak: dragnl0rd: use a static server [00:39] maushu: dragnl0rd, a http server. [00:39] dragnl0rd: got that [00:39] jerrysv: maushu: pop/imap are transports to retrieve email from mailboxes to clients [00:39] Marak: dragnl0rd: https://github.com/nodejitsu/http-server [00:39] dragnl0rd: okay [00:39] NinjaSex: dragnl0rd: Stick them on s3!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! [00:39] jerrysv: maushu: the mail has to get to the mailbox somehow [00:40] NinjaSex: I would use S3. [00:40] dragnl0rd: assume that isn't an option for now. [00:40] dragnl0rd: I have an http server [00:40] dragnl0rd: it is trying to serve static content [00:40] jerrysv: dragnl0rd: npm install -g bricks [00:40] dragnl0rd: sometimes it succesfully comletes the response [00:40] jerrysv: dragnl0rd: cd to directory [00:40] dragnl0rd: other times it doesn't. [00:40] jerrysv: dragnl0rd: type "bricks" [00:41] maushu: Marak, so, what you need is a email web service that supports smtp and pop3/imap. [00:41] Marak: maushu: pretty much [00:41] maushu: Maybe http://www.fastmail.fm/ [00:41] jerrysv: dragnl0rd: or there are 100 other static webservers that will do the same thing [00:41] neorab has joined the channel [00:41] dragnl0rd: yeah, trying to write my own. [00:41] maushu: Never used it, but its made by the opera guys, so... [00:41] dragnl0rd: "go use someone else's" is not really the response I was looking for. oh well. [00:42] NinjaSex: Would you guys use AMAZON S3 to serve CSS, js, and image files? [00:42] balaa has joined the channel [00:42] diegoviola has joined the channel [00:42] erock: I do [00:42] maushu: dragnl0rd, just god damn pump the readstream into the writestream (the http server response). Done. [00:42] jerrysv: ninjasex: i'd use cloudfront if i were going to pay amazon for it [00:42] wilmoore has joined the channel [00:42] Marak: dragnl0rd: how about " read the fucking code " [00:42] wao has joined the channel [00:42] maushu: Ignore Marak, hes a prick. [00:43] tbranyen: owned [00:43] jerrysv: dragnl0rd: there's documentation for a simple webserver on the front page of the nodejs site [00:43] Marak: ignore maushu , hes an idiot, http://docs.nodejitsu.com/articles/HTTP/servers/how-to-serve-static-files [00:43] NinjaSex: maushu: Don't re-invent the wheel. [00:43] Marak: ^^^ [00:43] sorensen: Marak++ [00:43] v8bot_: sorensen has given a beer to Marak. Marak now has 1 beers. [00:43] maushu: Bad! Bad! [00:43] Marak: fs.readFile(__dirname + req.url, function (err,data) { [00:43] maushu: Don't load the whole file to memory you fools! [00:44] Marak: and he doesnt bother to scroll down [00:44] Marak: even better [00:44] NinjaSex: LOL [00:44] jerrysv: marak++ [00:44] v8bot_: jerrysv has given a beer to marak. marak now has 1 beers. [00:44] jerrysv: er [00:44] jerrysv: Marak++ [00:44] v8bot_: jerrysv has given a beer to Marak. Marak now has 2 beers. [00:44] dragnl0rd: the http server is written. I'm just trying to figure out why sometimes the response.end() event doesn't cause the browser to consistently see the file. (also, I'm using the fs.createReadStream to ensure I'm not trying to write entire files at once). [00:44] jerrysv: v8bot is case sensitive now? [00:44] NinjaSex: Marak, you are so awesome you must be an avid Madonna fan. [00:44] maushu: dragnl0rd, using windows version? [00:44] Marak: I'm a material girl. [00:44] sorensen: just use connect.static() [00:44] sorensen: =\ [00:44] Marak: sorensen: that works too [00:45] chapel: marak++ [00:45] v8bot_: marak is getting too many beers. Don't let marak get drunk! [00:45] chapel: Marak++ [00:45] diegoviola has left the channel [00:45] v8bot_: Marak is getting too many beers. Don't let Marak get drunk! [00:45] Marak: and every project we mention has code in it for serving static files [00:45] Marak: so its all there [00:45] Brandon_R has joined the channel [00:45] maushu: Yes, please, don't let Marak get drunk. [00:45] Brandon_R: hello guys [00:45] dragnl0rd has left the channel [00:45] sorensen: at least not drunk before i am [00:45] sorensen: i just f'ing started [00:45] Brandon_R: one should not code drunk. bugs will creep in [00:46] sorensen: Brandon_R-- [00:46] v8bot_: sorensen has taken a beer from Brandon_R. Brandon_R now has -1 beers. [00:46] sorensen: you wont need those then [00:46] maushu: Brandon_R, I think there is a theory about that. [00:46] sorensen: :D [00:46] maushu: If you get drunk right on that spot you get super programmer powers. [00:46] jerrysv: it's called the ballmer peak [00:46] sorensen: i was slightly drunk for NKO [00:46] Brandon_R: sorensen++ [00:46] v8bot_: Brandon_R has given a beer to sorensen. sorensen now has 1 beers. [00:46] catb0t: sorensen now has 1 beer [00:46] sorensen: lol, glad you have some humor brandon [00:47] jerrysv: http://imgs.xkcd.com/comics/ballmer_peak.png [00:47] maushu: jerrysv, exactly! [00:47] maushu: jerrysv++ [00:47] v8bot_: maushu has given a beer to jerrysv. jerrysv now has 1 beers. [00:47] Brandon_R: i'm just taking a break from programming my 10th chat application in nodejs :D [00:47] maushu: Can't believe I forgot it was from xkcd. [00:47] maushu: I'm coding a chat application. [00:47] sorensen: Brandon_R: https://github.com/sorensen/aebleskiver [00:48] jerrysv: maushu: do yourself a favor and sanitize your input before you pipe it to the dom [00:48] Brandon_R: cool [00:48] tjholowaychuk has joined the channel [00:48] sorensen: been doing the same [00:48] sorensen: id show u the site if no.de didn't hate me [00:48] maushu: On a project system, based on a managed sandboxed platform that is on top of node.js. [00:48] jerrysv: document.title = 'never gonna give you up'; [00:48] maushu: jerrysv, I LIKE TO TAKE RISKS. [00:49] Brandon_R: hopefully i can get into more complex things soon using agile and scrum [00:50] chapel: lol driv.in for some awesome xss [00:50] sorensen: whatcha making chats for? [00:50] Stephen: Brandon_R: question, what pub-sub module would you use to backend a firefox extension? [00:50] jerrysv: chapel: they grumped when i judged down because of that [00:50] Stephen: Actually, open that up to everyone [00:50] chapel: lol jerrysv its so easy to escape [00:50] chapel: javascript has it built in [00:50] maushu: Marak, http://developer.yahoo.com/mail/ seems to have an web api, but its free and you probably can't use other domains besides yahoo. [00:51] Stephen: I would like to find a websockets pub-sub system which does NOT service it's own client script [00:51] jerrysv: chapel: i know! and they should have thought of their users somewhere earlier in the 48 hours :) [00:51] sorensen: does that site even work? [00:51] jerrysv: sorensen: driv.in? [00:51] sorensen: yea nothing is happenin for me [00:51] jerrysv: it was for us yesterday [00:51] jerrysv: all too well [00:52] sorensen: ah, flash [00:52] chapel: yeah [00:52] maushu: Holy crap. [00:52] jerrysv: yeah, youtube [00:52] chapel: I couldn't actually watch any videos [00:52] chapel: but I had fun making infection scripts [00:52] maushu: Marak, found exactly what you wanted: http://www.apinbox.com/ [00:52] maushu: It uses web hooks. [00:53] sorensen: yeah no videos are showing up [00:53] sorensen: wheres the 234 votes commin from if no videos [00:53] sorensen: what i doing wrong [00:53] chapel: not only xss vulnerabilities, but they have everything in globals [00:53] chapel: like socket and other functions [00:53] Marak: i wont got back to that site [00:53] chapel: so you can easily touch everything [00:53] Marak: hax [00:53] maushu: wut [00:53] jerrysv: marak: what'd you give for a review? [00:54] chapel: I honestly think they have the votes because they are brazilian [00:54] chapel: no offense [00:54] jerrysv: i voted up the fun part because of the xss [00:54] Marak: jerrysv: http://nodeknockout.com/people/4e541ff173a9f7947c000a60 [00:54] chapel: but people aren't voting on it because its a good entry [00:54] sorensen: it seems like that [00:54] chapel: mikeal-cloud: hey you there? [00:54] sorensen: how is this better than tinychat or other things [00:54] sorensen: i've been on a site like this [00:54] chapel: and what about his vote on us, which he hasn't addressed [00:55] sorensen: somewhat troublesome only because of the obvious judging guidelines [00:55] sorensen: =\ [00:55] jerrysv: marak: http://nodeknockout.com/people/4e541727db0fceed60001ae3 [00:57] chapel: anyone work at yammer with mikeal [00:57] nibblebot has joined the channel [00:57] chapel: I don't mind a bad vote, but its obvious he didn't read the voting guidelines or purposely ignored them for our entry [00:58] shiawuen has joined the channel [00:58] Nexxy: ;o [00:58] Nexxy: o lawd is dat sum nko drama? [00:58] apanda has joined the channel [00:58] kriszyp has joined the channel [00:59] chapel: lol [00:59] chapel: unfortunately [00:59] chapel: he gave us a 3 for design, and 1's everywhere else [00:59] chapel: because he couldn't hear the sounds, which happened to be an issue with his specific beta version of chrome [01:00] jerrysv: did anyone get http://mustardamus.nko2.nodeknockout.com/ to work? [01:03] jerrysv: chapel: i skipped the ones that didn't work for me [01:03] jerrysv: which were a lot [01:03] chapel: same, if I couldn't get it to work as intended, or at least mostly, I didn't even vote [01:04] bartt has joined the channel [01:05] geetarista has joined the channel [01:06] bshumate has joined the channel [01:06] balaa has joined the channel [01:06] cconstantine: I want to be able to monitor the health (is it up?, how quickly are all of the network responses?, etc) of a node server using express. is there a quick/easy way to do that? [01:06] captain_morgan has joined the channel [01:07] postwait has joined the channel [01:08] tekky has joined the channel [01:11] vidi has joined the channel [01:14] Me1000 has joined the channel [01:14] Drakonite has joined the channel [01:16] Dreamer3 has joined the channel [01:17] Nuck: tjholowaychuk: You mentioned globals a few days back, and all because of that, I just refactored my code and removed an asston of boilerplate lol [01:17] Nuck: I hadn't even thought of using globals, silly me. [01:17] Nuck: Though everybody was hating on globals last night [01:18] sorensen: im still hating on them [01:18] sorensen: and have yet to have a need for them [01:18] Nuck: heh I know you are [01:18] dnyy has joined the channel [01:18] sorensen: id rather explicitly pass in what i need [01:19] sorensen: but hey, i dont like globals in any language [01:19] Nuck: Nor do I, but in most languages there's another alternative, like locals which you can access in other files [01:19] sorensen: unless it has to do with stopping skynet [01:20] CoinOpeBoy has joined the channel [01:20] sorensen: :D [01:20] sorensen: i just dont see a need [01:20] sorensen: make a config method or something [01:21] Nuck: sorensen: I'm thinking of setting up a function using vm to do an include with global variables to a function [01:21] Nuck: errr, to a file [01:21] Nuck: So I can pass in app and use namespaces [01:21] Nuck: Speaking of which, tjholowaychuk, are namespaces stable? [01:21] sorensen: =\ [01:21] nodokodo has joined the channel [01:21] dmkbot: joyent/node: coolaj86: explained how url.format works (`search` trumps `query`, etc) (rev 2) - https://github.com/joyent/node/issues/1636 [01:22] sorensen: someday i'll find a use case for it... [01:22] sorensen: but even then, i'd find a better way to do it [01:22] sorensen: if we're talking about the browser, sometimes its unavoidable [01:23] Nuck: I don't see the negatives, I think it's actually quite useful in this case [01:23] d0k has joined the channel [01:23] Nuck: I don't like to add boilerplate [01:23] Nuck: And if it's a choice between having boilerplate and having globals, I'll choose globals. [01:23] _sorensen_ has joined the channel [01:24] sorensen: i see it as a hack [01:24] socketio\test\08 has joined the channel [01:24] sorensen: what are you passing around as globals and why? [01:24] Nuck: sorensen: With things like my Express app and db, I want them everywhere in the files I require() [01:25] Nuck: So a global seems to make logical sense [01:25] socketio\test\46 has joined the channel [01:25] [[zz]] has joined the channel [01:25] cpetzold has joined the channel [01:25] enhydra has joined the channel [01:26] sorensen: i assume the files you require are custom made [01:26] sorensen: in which case, why dont you just allow them to have a db and app passed into them [01:26] jesusabdullah: I've found that if I'm using globals then I'm doing it wrong [01:26] sorensen: jesusabdullah++ [01:26] v8bot_: sorensen has given a beer to jesusabdullah. jesusabdullah now has 3 beers. [01:26] catb0t: jesusabdullah now has 1 beer [01:26] dmkbot: joyent/node: kuebk: Unexpected behavior of console.log under certain condition - https://github.com/joyent/node/issues/1634 [01:26] jesusabdullah: Not hatin', just sayin' [01:26] abjorn has joined the channel [01:26] Nuck: sorensen: I already said, that's boilerplate [01:26] Nuck: It means wrapping every file in another function [01:26] sorensen: hardly [01:27] sorensen: it takes a simple config method [01:27] sorensen: i dont like my modules/files to require on magical globals [01:27] jerrysv: nuck: just use global if you're going to be crazy enough to use globals [01:27] jerrysv: http://search.npmjs.org/#/global [01:28] bradleymeck has joined the channel [01:29] infynyxx has joined the channel [01:30] CIA-69: node: 03AJ ONeal 07master * r087d210 10/ doc/api/url.markdown : docs: explain how url.format works (`search` trumps `query`, etc) - http://git.io/TNmG_w [01:31] Nuck: I don't wanna use globals, but I need some way to provide app and db to all my files [01:31] ckpcw has joined the channel [01:31] Nuck: And that is the purpose of globals, last I checked [01:33] BulletBob has joined the channel [01:33] matyr has joined the channel [01:33] Nexxy: lol [01:33] Nexxy: you should be abstracting your db to your other modules [01:33] jerrysv: nuck: why not pass in the db and app when you instantiate? [01:34] Nexxy: (IMO) [01:34] jerrysv: separate your concerns [01:34] Nuck: Nexxy: I do [01:34] Nuck: But I have one connection to the database [01:34] Nuck: Which is shared among everything [01:35] H4ns` has joined the channel [01:36] chapel: its possible, it just seems like you aren't seeing the solution [01:36] Nuck: jerrysv: That means wrapping the file in a function which I call when I require it, it's not really feasible. [01:36] Nuck: chapel: I did it through the require + function wrapping method [01:36] chapel: umm, wrapping is possible, how else would you require the file? [01:36] Nuck: Then I switched to globals [01:36] Nuck: And now things are way better [01:36] chapel: not better [01:36] chapel: easier [01:37] Nuck: The code is way more maintainable [01:37] chapel: if you say so [01:37] chapel: its your code [01:37] Nuck: It's actually not passing variables through 12 files to get to a specific endpoint [01:37] chapel: but remind me never to use anything you make [01:37] Nuck: chapel: I never use globals if I can avoid it. [01:37] matyr_ has joined the channel [01:37] Nuck: But in this case, I need something a whole team can work on, something extendable, etc. [01:37] chapel: you can avoid it here, but you would rather have less code it seems [01:37] sorensen: one day your requirements are going to change [01:37] sorensen: and all these files will 'globally [01:37] sorensen: ' fail [01:38] chapel: its useless though, he has made his decision [01:38] Nuck: sorensen: Not really [01:38] sorensen: if you had an explicit passing of the db a dev would instantly know whats going wrong [01:38] Nuck: IT's the same as if I shoved everything in one file [01:38] Nuck: sorensen: If my devs don't know that db or app is global, they can expect to be fired. [01:38] Nuck: :I [01:38] sorensen: i use my main app.js to pass in all requirements to each of the files [01:38] Nuck: That's a very simple thing to remember [01:38] Nuck: sorensen: I did that too [01:39] dmkbot: joyent/node: scunningham: Support ssl session get/set in tls. Useful for client side session resume. - https://github.com/joyent/node/issues/1606 [01:39] Nuck: It was incredibly unpleasant. [01:39] sorensen: its just fundamental programming imho [01:39] chapel: you have an example of what was so bad about it? [01:39] sorensen: did you have 40 loc that you didnt wan to look at [01:39] Nuck: chapel: Asstons of code that served no purpose but to route variables through 10 files [01:39] Nuck: etc. [01:40] dshaw_1 has joined the channel [01:40] Nuck: Honestly, I just want a multi-file setup where everything acts like if I had it in one file. Because if doing a single file weren't so unwieldy, I'd be doing that. [01:40] sorensen: i'm still giggling about "if my dev dont know about the globals i give them, they're fired" [01:41] sorensen: must be a small program [01:41] sorensen: or a small team [01:41] sorensen: have you considered the scalability of such things? [01:41] Nuck: sorensen: It's two globals [01:41] sorensen: or do you write wiki's about the globals you throw around [01:41] sorensen: and thats just the start! [01:41] sorensen: soon it will be 20 [01:41] Nuck: I only global'd what should be global. [01:41] sorensen: and then 30 [01:42] Nuck: I will not go over 5, max [01:42] sorensen: what if you have 5 different DB connections? [01:42] Nuck: I see no reason to have more globals than the bare minimum to do that [01:42] sorensen: ;) [01:42] Nuck: sorensen: Then I'll do pooling [01:42] ryanfitz has joined the channel [01:42] sorensen: you'd do all that work just to avoid NOT having globals [01:42] jomoho has joined the channel [01:42] Nuck: sorensen: Pooling would be easy for this [01:43] Nuck: EXTREMELY easy [01:43] sorensen: honestly i just enjoy messing with you since you have such a personality [01:43] sorensen: hackin is hackin [01:43] Nuck: Hell, I can do a connection separately for each set of db functions :P [01:43] sorensen: fuck the getters and setters [01:46] astropirate has joined the channel [01:48] sorensen: anyways [01:48] sorensen: i'm out [01:48] sorensen: happy coding [01:48] squeese_ has joined the channel [01:49] jesusabdullah: word [01:50] bnoordhuis: paragraph [01:52] hij1nx has joined the channel [01:52] jesusabdullah: :3 [01:52] guagua has joined the channel [01:54] CarterL has joined the channel [01:54] WhoDat has joined the channel [01:54] WhoDat: When I execute: fs.mkdirSync("logs", 0775); [01:55] WhoDat: it makes the directory, but the permissions are: drwxr-xr-x [01:55] WhoDat: Should be: drwxrwxr-x [01:55] vnguyen has joined the channel [01:56] bnoordhuis: WhoDat: umask [01:56] WhoDat: Yeah, do I have to crate the directory and then execute another command to chmod [01:56] WhoDat: It there a way to do this in one command [01:56] bnoordhuis: WhoDat: no, it's how mkdir(2) works [01:57] jerrysv: whodat: change your umask [01:58] WhoDat: Yeah running as root, dont want to change too 0002 [01:58] WhoDat: what the difference between chmod and fchmod and lchmod [01:58] nimstr has joined the channel [01:59] bnoordhuis: WhoDat: fchmod works on a file descriptor, lchmod updates the perms of the symlink itself, not what it points to [02:02] davidbanham has joined the channel [02:03] EvRide has joined the channel [02:04] blup has joined the channel [02:04] febits has joined the channel [02:05] Nuck: bnoordhuis: And supposedly fchmod and lchmod don't exist according to somebody last night :P [02:05] Nuck|mobile has joined the channel [02:06] ericnakagawa has joined the channel [02:07] bnoordhuis: Nuck: fchmod is a syscall, lchmod is node.js veneer on top of fchmod [02:07] Nuck|mobile: They said the functions didn't actually exist [02:08] Nuck|mobile: I assumed they'd just been mistaken [02:09] Aphelion has joined the channel [02:10] apanda has joined the channel [02:10] nerdy_ has joined the channel [02:11] irae_ has left the channel [02:16] nibblebot has joined the channel [02:16] WhyNot_ has joined the channel [02:17] WhyNot_: Hey guys. So I have a directory which is gid permissions, i.e. inherits group. In node I am changing the permissions via chmod, and looses the chmod g+s, how do I apply that again with node [02:17] jchris has joined the channel [02:17] DTrejo: tjholowaychuk: hey, you there? W/ the jscoverage thing + solaris, you think that is solaris' issue or is it something about jscoverage? I don't have much C expererience [02:17] tjholowaychuk: DTrejo jscov will be replaced by a js one soon [02:18] DTrejo: oo [02:18] DTrejo: looking forward to that [02:18] WhyNot_: Instead of fs.chmodSync("apps" + gear, 0775); is it simply: fs.chmodSync("apps" + gear, 1775); [02:18] ryanfitz has joined the channel [02:18] qard has joined the channel [02:18] EyePulp has joined the channel [02:19] shiawuen has joined the channel [02:20] WhyNot_: Humm not 1775 [02:20] WhyNot_: what would be the code for 775 with g sticky [02:22] slickplaid: 1775 [02:23] slickplaid: http://en.wikipedia.org/wiki/Sticky_bit#Examples [02:23] nibblebot has joined the channel [02:24] ditesh|cassini has joined the channel [02:24] WhyNot_: @slickplaaid 1775 made it some crazy thing. d-wxr-srwt [02:25] WhyNot_: Need: drwxrwsr-x [02:25] sh4wn has joined the channel [02:26] bnoordhuis: WhyNot_: you want octal, prefix it with a 0 [02:27] igl has joined the channel [02:27] qard has left the channel [02:29] WhyNot_: Nice, 02775 was the trick. THANKS [02:31] WhyNot_: You guys are awesome [02:31] DTrejo: thanks! [02:33] Nuck: Oh god [02:33] Nuck: The KRT interview with portlanders asking about realtime shit [02:33] Nuck: Like "what do you think of long polling?" [02:33] Nuck: And the response of "I think we just did that to some Finnish people in the park" [02:35] skunkape has joined the channel [02:35] DTrejo: Nuck: would have liked it if at least one of them knew what was being said [02:35] mape has joined the channel [02:35] dmkbot: joyent/node: kuebk: Unexpected behavior of console.log under certain condition - https://github.com/joyent/node/issues/1634 [02:35] DTrejo: woulda made it more fun [02:38] dmkbot: joyent/node: tshinnic: unguarded fs.watchFile cache statWatchers checking fixed - https://github.com/joyent/node/issues/1637 [02:39] Insekticid: Haha, funny, "nvm" means "I don't know' in my language [02:39] dmkbot: joyent/node: koichik: Buffer.write() should always set Buffer._charsWritten - https://github.com/joyent/node/issues/1633 [02:42] WRAz has joined the channel [02:43] slloyd has joined the channel [02:45] khrome has joined the channel [02:47] dmkbot: joyent/node: kuebk: Unexpected behavior of console.log under certain condition - https://github.com/joyent/node/issues/1634 [02:49] rook2pawn has joined the channel [02:49] bartt has joined the channel [02:50] CIA-69: node: 03koichik 07v0.4 * r3e853e6 10/ (src/node_buffer.cc test/simple/test-buffer.js): [02:50] CIA-69: node: buffer: write() should always set _charsWritten. [02:50] CIA-69: node: Refs #1633. - http://git.io/_3JVxA [02:52] kenperkins has joined the channel [02:53] bartt has joined the channel [02:54] mynyml has joined the channel [02:56] Prometheus has joined the channel [02:58] captain_morgan has joined the channel [03:00] captain_morgan has joined the channel [03:02] bradleymeck has joined the channel [03:02] ji0n has joined the channel [03:03] ericnakagawa has joined the channel [03:05] dexter_e has joined the channel [03:06] ben_alman_ has joined the channel [03:07] ben_alman_ has joined the channel [03:08] caffine has joined the channel [03:08] DennisRas has joined the channel [03:09] eee_c has joined the channel [03:09] ben_alman has joined the channel [03:10] ben_alman_ has joined the channel [03:15] fitzgen has joined the channel [03:15] jacobolus has joined the channel [03:17] azeroth_ has joined the channel [03:22] rurufufuss has joined the channel [03:24] rook2pawn: is there a way to get at which path a module is loaded from? this would be super useful [03:24] mikeal has joined the channel [03:25] skunkape: I'm having problems using conntect-redis. I setup according to this: https://github.com/visionmedia/connect-redis but I get error "TypeError: Cannot read property 'Store' of undefined" [03:26] Yuffster_work has joined the channel [03:26] cpetzold has joined the channel [03:33] A has joined the channel [03:34] Guest4997: Hi is anybody encountered task failed (err #1) problem while building node.js on Cygwin ? [03:36] tmzt_: skunkape: I believe you have to update it for 2.0 [03:36] Guest4997: @skunkape Thanks. Update node.js or cygwin? [03:36] skunkape: i'm running this on linux [03:37] skunkape: node -v v0.4.11 [03:37] Guest4997: I am running on Windows 7.. so I am using Cygwin [03:37] nitinb_ has joined the channel [03:37] skunkape: tmzt_, can you clarify? I just installed theses packages in a new test app using npm [03:38] Guest4997: I am running v0.5.5-40 [03:39] Guest4997: where did you get npm file? [03:39] Guest4997: can you please share me the link [03:39] Guest4997: I downloaded the node.js source from git and building the source [03:39] Insekticid: curl http://npmjs.org/install.sh | sh [03:41] Guest4997: Thanks @Insekticid .. at least I have an option now.. I need to find a linux box now.. [03:41] Insekticid: Guest4997: Or here https://github.com/isaacs/npm [03:41] Guest4997: earlier I was trying to install on Windows 7 [03:41] Guest4997: with Cygwin [03:42] kenperkins: I'm kind of fried [03:42] incredimike: has anyone successfully compiled node-archive? I can't figure out how to compile it against libarchive [03:42] Guest4997: which came with its own problems.. I fixed them all.. but not the err #1 [03:43] Guest4997: @Incredimike I tried but not successful.. you need Phython installed [03:43] Guest4997: *Python [03:43] Insekticid: Guest4997: Yeah, I tried node on Windows and it didn't work. But I'm hardly ever on Windows. [03:43] incredimike: I've got that covered [03:44] Guest4997: nice.. are you trying on Linux now? [03:44] incredimike: I can't figure out how to make it detect the libarchive source [03:44] Guest4997: I didn't face that error on Windows [03:44] rook2pawn: when i npm install . its puts the modules that go into /node_modules but also into ~/.npm what is this behavior ? [03:45] Insekticid: Guest4997: Linux is my main OS. And the installation was pretty fast. [03:45] Guest4997: ok I think I should try building with linux [03:46] Guest4997: I'll be back after giving it a try.. bye @incredimike [03:46] Yuffster_work has joined the channel [03:47] slloyd has joined the channel [03:48] cpetzold has joined the channel [03:49] tmzt_: skunkape: sorry, that's just where I remember that error from [03:52] ecin has joined the channel [03:53] JSManiacs has joined the channel [03:56] JSManiacs has joined the channel [04:00] kuebk^ has joined the channel [04:00] JSManiacs has left the channel [04:01] spcshpopr8r has joined the channel [04:01] JSManiacs has joined the channel [04:03] abiii has joined the channel [04:05] justinTNT has joined the channel [04:05] Sri_ has joined the channel [04:06] JSManiacs1 has joined the channel [04:07] skunkape: tmzt_, the issue was cause because I of the order in the var express = require() chain. Apperently for RedisStore must be instantiated immediately after express in the chain. [04:07] eee_c1 has joined the channel [04:08] Sri_: hi, i was reading http://al3x.net/2010/07/27/node.html .. the arguments posted were that Node.js can be "restrictive" when "scaling in the large" .. the author wants a platform that doesn't restrict concurrency to the event based async paradigm but wants threaded concurrency options as well.. [04:08] Sri_: any responses from the Node community to this? [04:08] cpetzold has joined the channel [04:09] skunkape: tmzt_, http://pastebin.com/YUj4rG8c [04:11] antono has joined the channel [04:14] Nuck: dmkbot is pretty schweet [04:15] Nuck: Sri_: That man is a retard. [04:15] Nuck: Plain and simple. [04:15] Nuck: Threaded concurrency is rarely important. [04:15] Nuck: AT least when you have event stuff [04:16] who_ has joined the channel [04:16] astropirate: Sri_, I agree with Nuck [04:17] mehlah has joined the channel [04:17] kriszyp has joined the channel [04:17] mike5w3c has joined the channel [04:17] tmzt_: skunkape: yeah, taht sounds right [04:17] tmzt_: but it's an api change going to express 2.0 [04:17] Sri_: Nuck: thanks for your response, an references on how to horizontally scale Node apps [04:19] AvianFlu: http://github.com/hookio/hook.io [04:19] mrdoodles has joined the channel [04:19] Sri_: or spawning new instances as required? [04:19] astropirate: Sri_, https://github.com/LearnBoost/cluster [04:19] AvianFlu: http://github.com/substack/dnode [04:20] Sri_: astropirate: thanks [04:20] astropirate: and setup a load balancer such as nginx infront of them [04:20] skunkape: Sri_, more comprehensive solution will also include a replication filesystem and also database replication. [04:20] AvianFlu: nginx? [04:20] AvianFlu: http://github.com/nodejitsu/node-http-proxy [04:21] skunkape: I would go with HA proxy [04:21] chjj: Sri_: node's concurrency can be seen as limiting when you take into account the fact that IO might not be the only thing blocking for a considerably long amount of time [04:21] astropirate: AvianFlu, http://wiki.nginx.org/ [04:21] AvianFlu: I know what it is XD [04:21] astropirate: :D [04:21] chjj: Sri_: other than that, i dont see any problem with how node handles concurrency, i like it [04:21] astropirate: AvianFlu, have you used both? do yhou recommend one over the other? [04:22] Sri_: skunkape: yes, i believe mongodb replicates well and lets you avoid the filesystem [04:22] AvianFlu: nginx won't proxy websockets out of the box... that's one consideration [04:22] AvianFlu: for others, please go do benchmarks and share them with the rest of us [04:22] skunkape: Yes, but HAproxy will. And it will transparently proxy ssl too [04:22] CoverSlide has joined the channel [04:23] AvianFlu: likewise with node-http-proxy :) [04:23] AvianFlu: HA proxy is faster, most likely [04:23] skunkape: and Sri_, the filesystem replication was for images and other user generated files [04:23] chjj: i heard mongo is webscale [04:23] Sri_: okay [04:23] chjj: ACTION needs more webscale [04:23] AvianFlu: I heard mongo is like 9000 WEBSCALEZ [04:24] chjj: no, it is 9000 + 1, so it is over 9000 [04:24] CoverSlide: ACTION haz teh webscale [04:24] AvianFlu: IT'S OVER 9000!? [04:24] wookiehangover has joined the channel [04:25] incredimike: 20,000 jiggawatts [04:26] incredimike: So I'll ask one more time.. has anyone successfully compiled node-archive? I can't figure out how to compile it against libarchive [04:26] chjj: 1.21 jiggawatts [04:26] chjj: what the hell is a jiggawatt? [04:26] kmiyashiro has joined the channel [04:26] CoverSlide: jigga watt? jigga who? [04:27] incredimike: jigga waaat? [04:27] boehm has joined the channel [04:27] kiffness has joined the channel [04:28] bradleymeck has joined the channel [04:28] dexter_e has joined the channel [04:28] chjj: hmm, xfce is actually growing on me [04:28] chjj: didnt think id like it [04:28] jerrysv has joined the channel [04:29] CoverSlide: yeah it's like gnome2 except without all the bad stuff [04:29] chjj: ACTION agrees [04:29] astropirate: Gnome-shell FTW :D [04:29] chjj: i guess im leaving my poor openbox behind and giving up the days of configuring everything by hand [04:29] incredimike: so it's like gnome 2 without the gnome [04:29] astropirate: with some minor modifications its actually not bad at all [04:29] kmiyashiro: can anyone recommend a good packager for JS assets? [04:30] temp01 has joined the channel [04:30] CoverSlide: connect-assetmanager [04:31] nimstr has joined the channel [04:31] incredimike: I hate it when I can't tell if no one's replying to my question because they haven't done it, or because it's really stupid. [04:31] AvianFlu has joined the channel [04:32] chjj: im not replying because i dont think i saw your question [04:32] chjj: ACTION scrolls up [04:32] chjj: havent ever used node-archive [04:32] JSManiacs has joined the channel [04:33] incredimike: do you know of any other libraries for accessing compressed archives? [04:33] incredimike: I've currently got zipfile implemented, but it's lacking functionality and the maintainer is awol until Oct [04:33] EyePulp has joined the channel [04:34] chjj: hmm, child_process.exec('tar -tvf file') ? :D [04:34] chjj: in all seriousness, no im not sure [04:35] chjj: why isnt node-archive compiling? [04:35] incredimike: hah [04:35] incredimike: trying to avoid system calls :P [04:35] incredimike: they didn't include the lib in their package and I cna't figure out where to put the source dir. [04:36] steffan_ has joined the channel [04:36] incredimike: basically I'm an idiot [04:36] incredimike: I think they've assumed that a developer package is installed on the system like you would get with a package manager [04:37] incredimike: judging from the source.. but I'm certainly not a C++ person [04:37] nerdfiles has joined the channel [04:39] nerdfiles has left the channel [04:39] fangel has joined the channel [04:41] nerdfiles2 has joined the channel [04:41] nerdfiles2 has left the channel [04:42] mikeal has joined the channel [04:43] jerrysv has joined the channel [04:47] jakehow__ has joined the channel [04:47] jakehow_ has joined the channel [04:47] jakehow has joined the channel [04:47] JSManiacs has joined the channel [04:50] lunks has left the channel [04:52] jhurliman has joined the channel [05:02] MrNko has joined the channel [05:05] nibblebot has joined the channel [05:06] abjorn has joined the channel [05:09] jchris has joined the channel [05:10] cpetzold has joined the channel [05:12] kmiyashiro has joined the channel [05:13] patcito has joined the channel [05:15] Yuffster_work has joined the channel [05:16] Ritz has joined the channel [05:18] Ritz: Hi, I am developing a IM service for an organization and was wondering whether Node.JS can be used for the same? [05:18] mikeal has joined the channel [05:19] CoverSlide: it is possible [05:19] blkcat: Ritz: sure, why not? :) [05:19] dmkbot: joyent/node: chowey: http.js parser uses "this" and fails - https://github.com/joyent/node/issues/1614 [05:19] Ritz: So, why should I prefer it over IRC or XMPP like protocols? [05:20] CoverSlide: umm node isn't a protocol [05:20] CoverSlide: you can implement irc or xmpp through node [05:20] Ritz: Node.JS is written in JS and I understand that it is interpreted rather than compiled [05:21] tuhoojabotti: Ritz: IRC<3 [05:21] ttilley: Ritz: also, why write an IM service when it's been done to death and someone else has already done the hard work? [05:21] Ritz: So it would produce a slower running server? Correct me if I am wrong [05:22] tuhoojabotti: Ritz: It is interpreted, but v8 does some wild stuff like hidden classes and assembly to optimized it, like black magic. [05:22] tuhoojabotti: :) [05:22] balaa has joined the channel [05:22] chjj: Ritz: actually it is technically a JIT, thus technically compiled, v8 doesnt have an interpreter or a byte code language, javascript gets compiled directly to opcodes :) [05:22] Ritz: @ttilley, well the ultimate aim is not IM, but some services which run over IM [05:22] ttilley: Ritz: it's a bit more complicated than that. node.js uses google v8, which is a badass runtime for javascript that allows for optimizations that one normally can only perform on static code. things are JIT'd [05:22] ttilley: 3 answers at the same time for that one [05:22] ttilley: nice [05:22] tuhoojabotti: Yay [05:23] tuhoojabotti: My answer is the best, yours even has some facts. [05:23] tuhoojabotti: ;) [05:24] tuhoojabotti: Ritz: Use some protocol for IM like IRC and then build an IRC bot for the service? :D [05:24] zinkem has joined the channel [05:24] tuhoojabotti: Or create IRC server with node and add additional server commands, or something. [05:25] ttilley: Ritz: ok. then you probably want to know more about node.js libraries for interfacing with XMPP and go from there. i assure you, it'll be lightning fast and pleasant to work with. just keep in mind the evented nature of node and that the only thing blocking the runtime is your own code (or, in another way: write small functions and use events ;) [05:25] ttilley: Ritz: http://search.npmjs.org/ [05:26] tuhoojabotti: Yeah. [05:26] Ritz: well so I understand that Node.js would give a better or comparable performance than C / C++ [05:27] CoverSlide: that all depends on how you code it [05:27] CoverSlide: a well-written Node program will probably perform better than a badly written C / C++ program [05:27] Ritz: well, yeah it depends on code efficiency but considering similar code written in both languages [05:27] ttilley: Ritz: http://search.npmjs.org/#/node-xmpp appears to be a more commonly used xmpp library [05:28] CoverSlide: of course, C /C++ are closer to the metal, so there will be better performance on that end [05:28] tuhoojabotti: And I'm late for school. :u [05:28] CoverSlide: but it's the matter if you actually want to write thousands of lines of C / C++ code or hundreds of JavaScript code [05:28] ttilley: Ritz: errrr.... a program that handles a lot of IO will do better in node, while a program that's pure computation might do better in something else. [05:29] Ritz: Hmm, I get it [05:29] tuhoojabotti: Ritz: One of the key awesomeness in node is that you can basically copy-paste code from client-side js to server-side without too much effort. [05:30] CoverSlide: and of course you'd have to write all the event handling, socket stuff yourself in C [05:30] ttilley: Ritz: there's a reason behind the benefits provided by node.js, and IMHO it's largely that javascript is a language that people are used to being event-oriented and that meshes well with handling async I/O [05:30] tuhoojabotti: JS = ES = Pure love. [05:32] davidbanham has joined the channel [05:32] daed: what about coffeescript? [05:32] tuhoojabotti: But now, school. [05:32] Ritz: Yes, and from what I have found about NodeJS, I suppose the effort required would be much less than coding the same thing in C [05:32] daed: (i've spent all night in the cs repl) ;/ [05:32] tuhoojabotti: Ritz: Well duh, people have done the work for you, just use npm install program and run it. ;D [05:32] tuhoojabotti: -> [05:32] ttilley: Ritz: random example. i had a list of a few tens of thousands of sites. i needed to resolve them all to IPs to ensure that they still existed as valid, resolvable, domain names. my quick ruby script for this took 3 days. my quick node.js script for this took less than 10 minutes. [05:33] ttilley: Ritz: but that was a direct result of async DNS resolution and being able to fire off each request for each domain at the same time and just wait for results. [05:34] Ritz: yes, that is what attracts me to node.js [05:34] adityag has joined the channel [05:34] khrome has joined the channel [05:35] MrNko has joined the channel [05:35] Nuck: chjj, CoverSlide: The word is Gigawatt, BTW [05:35] Nuck: Not Jiggawat [05:35] ttilley: actually, the only reason it look as LONG as that was the odd domain where comcast was fucking with DNS resolution [05:35] Nuck: +t [05:35] Nuck: It's just an antiquated pronunciation [05:35] ttilley: i hate comcast. [05:35] Nuck: ttilley: Everyone does [05:36] Nuck: But they're the least of the evil ISPs [05:36] eminion has joined the channel [05:36] ttilley: i shouldn't have to add special case code where i resolve a KNOWN unresolvable domain name, get its IP, and then compare against it every other resolution to know whether or not comcast is dicking around with the results [05:36] eminion: Hi [05:37] Nuck: ttilley: Disable that so-called "feature" then [05:37] Nuck: I did [05:37] ptlo has joined the channel [05:37] eminion: Has anyone attempted to load a DLL in Windows using LoadLibrary instead of dlopen? [05:37] ttilley: Nuck: switching to google's DNS servers didn't seem to help... how do you disable said "feature"? [05:38] Nuck: ttilley: There's a link on the page to let you log in to your account to disable it [05:38] Nuck: It tells you how to disable it, I know [05:39] bolden has joined the channel [05:39] chjj: Nuck: we know its not jiggawatt, thats just how its pronounced in the film [05:40] Nuck: chjj: Good to know. [05:40] Nuck: I actually wondered WTF a jiggawatt was for many years [05:40] Nuck: I want a Mr. Fusion to power my servers :D [05:41] Nuck: No more power costs 8D [05:41] cliffano_ has joined the channel [05:41] slickplaid: 80mbit over a 100mbit line with ~2ms (<10ms) ping isn't quite up to par, is it? Not sure if the latency would cause TCP to lose 20% capacity with ~2ms ping. [05:41] Nuck: Just buy a create of soda, pour leftovers into the Mr Fusion, and problem solved [05:42] temp01 has joined the channel [05:42] Nuck: slickplaid: Internal server center connections? [05:42] slickplaid: Nuck: yes :) [05:42] Nuck: External and 2ms ping is fucking insanity [05:42] Nuck: If you can get a 2ms ping outside a data center, you're better than GOOGLE [05:43] slickplaid: hah, nope, two hops, 1gbit 6e cables, but one of the ports on the server is 100mbit. [05:43] Nuck: ah fun [05:43] khrome has joined the channel [05:43] Nuck: 1gbit is fun :D [05:43] slickplaid: just wondering if it's my software or the latency [05:44] __tosh has joined the channel [05:44] Nuck: I wish they sold residential connections with 1gbit [05:44] slickplaid: Yeah, agreed. [05:44] slickplaid: I'm in Kansas City and Google is doing their fiber test here. [05:44] slickplaid: Really looking forward to it [05:44] Nuck: Lucky bastard [05:45] Nuck: slickplaid: Google is actually doing things to actively better people's lives [05:45] Nuck: This is why I argue Google shouldn't be broken up :P [05:45] slickplaid: Yeah, I agree. [05:45] slickplaid: 1gbps fiber connections to kc homes (i think homes) [05:45] Nuck: Pretty sure it'll be to the home [05:45] Nuck: No reason not to [05:46] slickplaid: http://www.google.com/fiber/kansascity/index.html [05:46] slickplaid: yup [05:46] Nuck: They're gonna hafta lay all new infrastructure anyways [05:46] Nuck: Between throwing the wrench into the telecom industry to working on self-driving cars [05:46] slickplaid: Yeah, they're going through the roadways, sewer infrustructure i think. [05:47] openpercept has joined the channel [05:47] Nuck: slickplaid: all things go through the sewer infrastructure :P [05:47] Nuck: Hence manholes [05:47] slickplaid: I've already given up cable tv, all I have is internet through them. It'd be nice if I could drop that too. [05:47] wnoronha_ has joined the channel [05:47] Nuck: heh [05:48] slickplaid: even better would be to be able to drop the greedy cell phone companies [05:48] Nuck: We have TV, Phone, and Internet [05:48] tk has joined the channel [05:48] Nuck: slickplaid: I'm waiting for Google to enter that market too :D [05:48] Nuck: Or Apple [05:48] Nuck: Since I have an iPhone [05:48] CoverSlide: Apple isn't getting into the telecom business anytime soon [05:48] Nuck: Apple threw a nice wrench into the cell market with the iPhone. Suddenly the network had less power than the phones [05:48] slickplaid: my phones are Google voice, routed voip to landline in my house. All tv I download/netflix or watch online. [05:49] Nuck: And that set the stage for Android [05:49] Nuck: slickplaid: We don't want a home phone [05:49] Nuck: But it's cheaper with that [05:49] BrandonCsSanders has joined the channel [05:50] slickplaid: we were paying $150 for the 'cheaper' package they told us. One day I just said to drop it all and they complained (we were out of our contract) and when we got the bill it was $45 and some change [05:50] slickplaid: I was astonished [05:50] WRAz: http://whenraptorsattack.github.com/Jixel/examples/techtest/index.html Finally finished 1.0.0 of Jixel. [05:50] Nuck: haha nice [05:50] slickplaid: granted, now i'm paying $100 for the 50/5 docsis 3 [05:50] CoverSlide: threaten to cancel service and cable companies always cave [05:50] skunkape: How do I findById with mongoose? I'm trying this: Articles.findById({ _id: req.params.blog }, function(err, doc){ [05:51] Nuck: slickplaid: I got the 22/6 or something on DOCSIS 3.0, but I've got a hunch that they're lying to us [05:51] cpetzold has joined the channel [05:51] Nuck: The status screen for our modem still says "DOCSIS 2.0" [05:52] Nuck: Last time our DVR broke down, they replaced all the cabling and then replaced our SD-DVR with an HD-DVR lol [05:52] slickplaid: Yeah, wouldn't suprise me [05:52] skunkape: when I inspect req.params.blog I see '4e5eb0a16f08824824000001' but the error returned says: 'Invalid ObjectId' [05:52] Nuck: skunkape: Make that string into an ObjectId [05:53] Nuck: Dunno how [05:53] nitinb has joined the channel [05:53] slickplaid: alright i'm out [05:53] CoverSlide: like a trout? [05:53] slickplaid: got more work to do this weekend than i had during the week...meh [05:54] Nuck: Wh not [05:54] slickplaid: weekend is shot. [05:54] dmkbot: joyent/node: juandopazo: paths ending in \ on Windows - https://github.com/joyent/node/issues/1565 [05:57] neorab has joined the channel [05:57] skunkape: thanks Nuck, I found a solution here: http://groups.google.com/group/mongoose-orm/browse_thread/thread/95cdba0beec24c45 [05:58] spcshpopr8r has joined the channel [05:59] pen has joined the channel [05:59] Dreamer3 has joined the channel [06:00] Nexxy has joined the channel [06:01] Nuck: heh [06:01] Nuck: It's official, we're under 1000 watchers behind Rails [06:01] Nuck: We gained ~25 watchers both today and yesterday [06:01] Nuck: So let's see here... [06:02] spcshpopr8r has joined the channel [06:02] Nuck: We should beat rails in under a month and a half [06:02] indexzero has joined the channel [06:02] WRAz: most likely [06:02] Nuck: When that day happens [06:02] Nuck: It'll be glorious [06:02] Nuck: booze will floweth from trees [06:03] Nuck: Or something. [06:03] WRAz: well node is the new hotness, probably going to be for awhile. [06:03] Nuck: We've got plenty of benefits over Ruby on Rails, that's for sure [06:04] chjj: google chrome, y u no use less memory?! [06:04] Nuck: chjj: Inorite [06:04] chjj: chromes been memory hungry lately [06:04] Nuck: Chrome is a bigger beast than Firefox :I [06:04] Nuck: well, not actually [06:04] Nuck: It hits about 1.5GB [06:04] Nuck: Firefox hit 2GB [06:04] chjj: wow [06:04] Nuck: though [06:05] chjj: are you on a 64 bit machine? [06:05] Nuck: I've had Chrome hit 2.25GB or so before [06:05] Nuck: chjj: Nah [06:05] Nuck: 3GB RAM [06:05] Nuck: mIRC has memory leaks like nothing else [06:05] Nuck: But they're slow [06:05] chjj: its hard to see how much chrome is using, all separate processes, let me see.. [06:06] Nuck: chjj: There's a Memory Usage screen in Chrome [06:06] chjj: i close chrome and conky reads about ~300mb less [06:06] chjj: oh yeah thats right [06:06] Nuck: chrome://memory [06:06] kenperkins has joined the channel [06:06] chjj: good call [06:06] Nuck: Also shows stats for other browsers on your system [06:06] Nuck: Firefox, etc. [06:07] chjj: when i start chrome up fresh, before it has cached anything, its about 100mb with several tabs open [06:07] chjj: and pinned [06:07] chjj: after a while it climbs [06:07] Nuck: chjj: Well, it's also not loaded everything yet :P [06:08] chjj: no, i can use it pretty heavily for maybe an hour or two [06:08] chjj: and it will stay low [06:08] chjj: even with several processes [06:09] Nuck: hmmm [06:09] Nuck: I wonder what'd happen if I piped top into grep [06:09] Nuck: or better yet, htop [06:09] chjj: i dont think you can [06:09] Nuck: I can try >:C [06:10] simenbrekken has joined the channel [06:10] Nuck: hehe [06:10] Nuck: I should pipe yes into grep [06:11] Nuck: With a crazy regex [06:11] Nuck: bahahaha [06:11] Nuck: IT WORKEDF [06:11] Nuck: Fucking hell [06:11] Nuck: It's slow as shit, because it has to wait for each process to make it on screen [06:11] chjj: i work in a lightweight environment, so no chrome === 180mb, with chrome open for a few hours === 480-500mb [06:12] febits has joined the channel [06:12] slyphon has joined the channel [06:13] nerdfiles1 has joined the channel [06:14] Nuck: chjj: Grepping top worked [06:14] Nuck: I'm grepping htop now [06:16] Nuck: hehe no luck thus far [06:16] chjj: hmm, cool [06:17] AAA_awright: Why chrome:// [06:17] Nuck: Nah, it won't work [06:17] AAA_awright: about:memory was good [06:17] Nuck: AAA_awright: Because that's the URL Chrome sent me to when I clicked Stats for Nerds? [06:17] AAA_awright: the // implies it's a network location BUT IT'S NOT [06:17] Nuck: ACTION points to file:// [06:17] AAA_awright: Actually, that's file:/// [06:17] Nuck: jesusabdullah: Nice drawing, dude [06:17] AAA_awright: Three / [06:17] Nuck: ah right [06:17] Nuck: three / [06:17] Nuck: Right [06:18] nerdfiles1 has joined the channel [06:18] AAA_awright: Nuck: Don't forget to enable "Goats teleported" on the process list [06:18] nerdfiles1 has left the channel [06:18] AAA_awright: The task manager, I mean [06:21] jesusabdullah: Nuck: thanks! [06:22] Nuck: jesusabdullah: JSON-san looks cool. The script does too. [06:22] Nuck: I guess [06:22] Nuck: But the drawing [06:22] Nuck: Fucking yeah [06:23] Nuck: I just accidentally mentally changed Gogol Bordello to "Gargle Bordaeux" in my mind. [06:23] Nuck: What the fuck is wrong with me. [06:23] SamuraiJack has joined the channel [06:24] rfay has joined the channel [06:24] Cromulent has joined the channel [06:25] chjj: hmm, vim is acting funky in sakura, not good [06:25] Nuck: Sakura? [06:25] Nuck: Weaboo ? [06:26] chjj: its the l33t terminal i started using [06:26] Nuck: chjj: 1337 --> w34b00 [06:26] chjj: i think i might switch to xfce terminal now though, sakura is not playing nice with vim [06:26] Nuck: Good, vim sucks [06:26] Nuck: ACTION likes a GUI [06:27] chjj: gvim dawg! [06:28] Nuck: I'm on Windows lol [06:28] chjj: i think ill start doing everything in the terminal [06:29] Nuck: I use Sublime Text 2 [06:29] chjj: ACTION downloads lynx [06:29] Nuck: haha [06:29] Nuck: Somebody should make a text browser that has a full TUI [06:29] Nuck: Like, address bar, etc. [06:29] Nuck: And even has a rough concept of CSS [06:29] Nuck: Instead of pixel grid, you've got a character grid [06:30] dexter_e_ has joined the channel [06:31] Nuck: OMG [06:31] Nuck: GOOGLE FIBER IS IPV6-READY [06:31] Nuck: FUCK YEAH [06:35] blaenk has joined the channel [06:35] AAA_awright: Nuck: ... Why do you care so much about "Google fiber"? [06:36] Nuck: AAA_awright: I'd like to eventually be able to jump ship from Comcast to Google. [06:36] Nuck: I trust them with my child p- I mean, torre- er, totally legitimate data [06:36] Nuck: More than I do with Comcast [06:36] Xano has joined the channel [06:36] Nuck: Plus Comcast fucks with DNS [06:38] Nuck: It just hit me [06:38] Nuck: Are there are any other passenger rail companys than Amtrak? [06:38] blaenk has joined the channel [06:38] blaenk has joined the channel [06:39] chjj: are you going to say its analogous to isp monopolies or something? [06:40] AAA_awright: uhhhhh Yes but I forget [06:40] slloyd has joined the channel [06:40] Nuck: chjj: No, it jsut dawned on me [06:40] Nuck: ISPs have an entirely different monopoly [06:40] Nuck: And provide far worse service for far more money [06:41] Nuck: At least, that's what I hear [06:41] Nuck: Honestly, I've never been on a train :P [06:41] Nuck: Perks of living in modern society, we fly through the air? [06:43] AAA_awright: I just took a 35-hour Amtrak trip last week I should know [06:43] Nuck: AAA_awright: Haha, so ISP or Amtrak, which is worse? [06:44] AAA_awright: Ignoring the fact it loses more money than a bank full of money in the middle of a forest fire with hurricane winds in the dry season, it was actually pretty good, much better than air [06:44] Nuck: bahahahaha [06:44] Nuck: Fucking beautiful [06:44] Nuck: 35 hours though [06:44] Nuck: Wow [06:45] Nuck: Where to where? [06:45] AAA_awright: LA to Seattle [06:45] AAA_awright: And a return trip too [06:45] Nuck: damn, you could drive that distance in 24 hours :V [06:45] AAA_awright: Well, 45mph with 1 hour of stops alltogether, not so much [06:46] Nuck: haha fair enough [06:46] Nuck: 45mph versus a car's 60mph on I-5 [06:46] AAA_awright: Hmm maybe it is the only passenger train [06:47] temp01 has joined the channel [06:47] AAA_awright: We hit a deer and the power went out for 20 mins. That was fun. [06:47] Nuck: What the fuck, my business book lists "bar codes" as an environment factor on tech [06:47] Nuck: PFFFFFFF [06:47] MUILTFN has joined the channel [06:47] Nuck: AAA_awright: Are you fucking serious? [06:47] nerdfiles has joined the channel [06:47] dmkbot: joyent/node: ajclarke: Socket write encoding case sensitivity - https://github.com/joyent/node/issues/1586 [06:47] Nuck: Your train hit a DEER? [06:47] nerdfiles has left the channel [06:47] AAA_awright: Yeah [06:47] Nuck: AAA_awright: Didn't they used to put cow-shovers on trains? [06:48] Nuck: They should mount spikes on the front of trains now [06:48] Nuck: Just get a bunch of deer en route, and then have carcass-pullers at the next stop [06:48] AAA_awright: Oh, and this was at 3am [06:49] AvianFlu: are we sure that Nuck isn't just a highly specialized markov chain? [06:49] AvianFlu: I mean, are we really [06:49] AvianFlu: ? [06:49] Nuck: <-- not Russian. [06:49] Nuck: So no. [06:49] AAA_awright: Reportedly it did... All I can say for sure is the power went out and we came to a stop (or maybe the other way around, it's suprisingly hard to tell when it comes to a stop). And then we heard taps on the window (a group of us were in the observation car at 3am) and only after 20 seconds did we realize "ZOMBIE APOCALYPSE" [06:50] AAA_awright: Nuck: Are you familiar with Penny Arcade? [06:50] Nuck: AAA_awright: 'fraid not [06:50] AAA_awright: Much of a gamer at all [06:50] AAA_awright: ...? [06:50] Nuck: AvianFlu: I do have odd trains of thought [06:50] Nuck: AAA_awright: heh, no [06:50] AAA_awright: boo hiss etc... [06:50] meso has joined the channel [06:52] meso has joined the channel [06:52] mikeal has joined the channel [06:52] meso has joined the channel [06:52] TheJH has joined the channel [06:52] TheJH has joined the channel [06:55] skm has joined the channel [06:55] TokyoDan has joined the channel [06:55] Nuck: AAA_awright: Before you boarded this train, did you see a man telling you to "rise and shine, mister freeman"? [06:56] AAA_awright: No? [06:56] akujin has joined the channel [06:56] Nuck: AAA_awright: Half-life 2 reference lol [06:56] Nuck: Valve games are the Best Games. [07:02] AAA_awright: Nuck: I'm an Nintendo fanboy so eh [07:03] AAA_awright: Though I'm devoting this weekend to finishing Portal. [07:03] astropirate has joined the channel [07:03] Nuck: Nintendo is great [07:03] Nuck: My favorite too [07:03] Nuck: But Valve [07:03] Nuck: Damn [07:03] Nuck: Best FPSes ever [07:04] astropirate: Anyone know of a free node hosting platform? I signed up for all of the beta ones but havn't gotten a week for quite a few weeks [07:04] Nuck: ACTION points to no.de [07:04] astropirate: signedup there to [07:04] astropirate: *too [07:04] Nuck: astropirate: Then provision a smartmachine! [07:05] Nuck: It's out of beta, no need for coupon codes or queues any more [07:05] astropirate: Free :D [07:05] Nuck: Yush [07:05] astropirate: I have a few projects [07:05] astropirate: tiny projects [07:05] ronnieboy has joined the channel [07:05] Nuck: astropirate: Well, it's a full VPS [07:05] astropirate: that i want to put up on the webs [07:05] Nuck: Bundle them into one, and you [07:05] Nuck: 'll be better off [07:08] astropirate: hmm these amazon ec2 pricings aren't bad [07:09] Nuck|mobile has joined the channel [07:10] Nuck|mobile: Oh Microsoft, how I love your horribly glitchy products. http://db.tt/mlKYPpw [07:10] Nuck|mobile: Can't even stitch a simple panorama [07:11] ishupa has joined the channel [07:12] pointlessjon has joined the channel [07:13] CStumph has joined the channel [07:14] beejeebus has joined the channel [07:14] zomgbie has joined the channel [07:16] beejeebus: anyone familiar with gitteh internals here? getting a segfault --> http://pastebin.com/xF2nYAUN [07:17] davidbanham has joined the channel [07:19] mavus has joined the channel [07:21] confoocious has joined the channel [07:23] TokyoDan has joined the channel [07:25] mc_greeny has joined the channel [07:27] matyr has joined the channel [07:31] Caster_ has joined the channel [07:31] beejeebus has left the channel [07:33] Caster_ has joined the channel [07:37] Caster_ has joined the channel [07:38] ishupa has joined the channel [07:39] TheRealTokyoDan has joined the channel [07:40] TokyoDan1 has joined the channel [07:40] japj has joined the channel [07:41] TokyoDan1 has joined the channel [07:43] Caster_ has joined the channel [07:45] skm has joined the channel [07:45] amigojapan has joined the channel [07:48] tomtomaso has joined the channel [07:48] TokyoDan has joined the channel [07:49] pickels has joined the channel [07:51] Smithamax has joined the channel [07:53] tdegrunt has joined the channel [07:57] jetienne_ has joined the channel [07:58] fairwinds has joined the channel [08:01] slyphon has joined the channel [08:01] dob_ has joined the channel [08:01] madsleejensen has joined the channel [08:03] Druid_ has joined the channel [08:09] TokyoDan has joined the channel [08:10] TokyoDan: test [08:10] sebastia_ has joined the channel [08:11] sebastia_ has joined the channel [08:11] lwes has joined the channel [08:12] sebasti__ has joined the channel [08:13] lwes: good morning, I'm running into issues whit npm, when performing an `npm install`, I'm getting "ERR! cb() never called" errors, anyone? [08:13] __doc__ has joined the channel [08:13] Benjie has joined the channel [08:13] japj: are you running a recent version of npm? [08:13] lwes: 1.0.22 [08:14] SuMarDi has joined the channel [08:14] nerdfiles1 has joined the channel [08:14] hybsch has joined the channel [08:15] japj: did you happen to change your npm registry setting to a different registry? [08:15] japj: don't know if this is the issue you are running into https://github.com/isaacs/npm/issues/1141 [08:15] lwes: registry = "https://registry.npmjs.org/" [08:16] lwes: yeah, found that as well… but funny thing is, I'm not doing adduser or anything [08:16] kuebk^: what's the best way to disable chunked encoding? [08:16] kuebk^: I tried http.useChunkedEncodingByDefault= false [08:17] kuebk^: and on instance of http.createServer [08:17] kuebk^: but it still gives me chunked response [08:17] lwes: japj: btw - I don't have any .npmrc or /etc/npmrc files lying around... [08:17] fly-away has joined the channel [08:17] sebastia_ has joined the channel [08:17] japj: lwes: anyway 1.0.27 is the current latest npm version. don't know if upgrading to the latest will help you [08:19] lwes: japj: thanks, I'll try... [08:19] lwes: japj: might also be a server issue, seems to have issues resolving registry.npmjs.org [08:20] japj: ah [08:20] japj: works ok for me here [08:21] lwes: jep, also works ok here (dev machine), so seems to be the server, sorry for that, should have checked that earlier, but thanks for your help [08:21] japj: k, np [08:23] japj: kuebk^: which version of node are you using? [08:23] kuebk^: 0.5.5 [08:24] kuebk^: setting content-length header helped [08:24] zomgbie has joined the channel [08:25] japj: kuebk^: could you try also with --use-http1 ? there is a new http library in 0.5.x, maybe you found a bug in it [08:28] kmiyashiro has joined the channel [08:28] japj: kuebk^: ah, http://groups.google.com/group/nodejs/browse_thread/thread/e07c9899b0636e21/e1256ae18b7e18f7 'useChunkedEncodingByDefault' isn't documented and The only way to avoid chunked encoding is to supply a content-length header. [08:29] kuebk^: afair earlier it was working [08:29] kuebk^: but i'm not sure [08:29] MUILTFN has joined the channel [08:29] japj: kuebk^: I'm not entirely familiar with that aswell, you could try asking on the mailinglist or wait until some of the US people wake up ;) [08:37] Ginlock has joined the channel [08:39] Wizek has joined the channel [08:41] jacobolus has joined the channel [08:42] FireFly has joined the channel [08:46] wnoronha has joined the channel [08:46] socketio\test\78 has joined the channel [08:47] Ond has joined the channel [08:49] pointlessjon has joined the channel [08:53] apoc has joined the channel [08:53] matyr has joined the channel [08:55] socketio\test\80 has joined the channel [08:56] socketio\test\93 has joined the channel [08:57] gautema has joined the channel [08:57] `3rdEden has joined the channel [08:58] apoc has joined the channel [09:00] sylvinus has joined the channel [09:00] franck34: hi i'm receiving binary data in a socket (as a client) [09:01] franck34: how can i output utf8 encoded char, ie \uXXXX ? [09:01] rendar has joined the channel [09:01] NetRoY has joined the channel [09:03] TheJH: franck34, you mean, you're receiving a buffer and want to decode it as utf8? [09:04] booo has joined the channel [09:05] zomgbie has joined the channel [09:06] deimos has joined the channel [09:09] franck34: TheJH: yes, i think [09:10] franck34: i mean i'd like to show my buffer as a suite of \uXXX\uXXXX rather than a string [09:10] franck34: if possible [09:11] skomski has joined the channel [09:11] stephank has joined the channel [09:11] TheJH: franck34, ah, ok. [09:13] TheJH: franck34, str="";for(var i=0;i git-submodules anyway :p [14:10] guybrush: git is awesome, git-submodules are not so :> [14:10] jbrokc: can anyone help me out? i'm trying to configure stylus to render my app/views/styles/stylesheet.styl file on pageload but i have no idea what i'm doign with express https://gist.github.com/842c8143641dc4c3be9a [14:11] socketio\test\08 has joined the channel [14:12] bshumate has joined the channel [14:12] mc_greeny has joined the channel [14:13] ryanfitz has joined the channel [14:17] pandeiro has joined the channel [14:17] arnee has joined the channel [14:19] tmedema has joined the channel [14:19] Metal3d has joined the channel [14:19] jbrokc has joined the channel [14:19] cole_gillespie has joined the channel [14:20] dmkbot: joyent/node: fengmk2: node0.5.4: req.socket.setTimeout will fire req "error" event - https://github.com/joyent/node/issues/1575 [14:20] cole_gillespie: github might say node > jquery but #jquery has more people in irc [14:22] gxdssoft has joined the channel [14:24] dmkbot: joyent/node: jetlan: v.0.5.5 deps/uv/config-mingw.mk need to update for mingw32 - https://github.com/joyent/node/issues/1640 [14:24] pointlessjon has joined the channel [14:27] pointlessjon has joined the channel [14:28] piscisaureus has joined the channel [14:30] TokyoDan has joined the channel [14:32] TokyoDan has joined the channel [14:32] dmkbot: joyent/node: jetlan: v.0.5.5 deps/uv/config-mingw.mk need to update for mingw32 - https://github.com/joyent/node/issues/1640 [14:33] LordMetroid: So fs.watchFile uses inotify, only you can not use all of the funcitonality from inotify [14:33] cole_gillespie has joined the channel [14:33] LordMetroid: That seems horribly stupid [14:34] LordMetroid: Forcing us users to make additional addons to reimplement the inotify API in a usable form [14:34] H4ns: LordMetroid: maybe you find words other then "stupid" when reporting your problem and posting the pull request for your patch. [14:35] Glenjamin_ has joined the channel [14:35] snelis has joined the channel [14:35] dmkbot: joyent/node: jetlan: v.0.5.5 deps/uv/config-mingw.mk need to update for mingw32 - https://github.com/joyent/node/issues/1640 [14:35] Glenjamin_: Hi guys, is there any thing like "bundle exec" for npm? [14:35] errordeveloper: guybrush: what sort of problem have you had with git-submodules ? [14:36] Glenjamin_: i know it drops bin scripts into node_modules/.bin - but how do i execute these cleanly? [14:36] pointlessjon_ has joined the channel [14:38] openpercept has joined the channel [14:39] LordMetroid: H4ns: I don't think I will write a patch [14:39] dmkbot: joyent/node: jetlan: v.0.5.5 deps/uv/config-mingw.mk need to update for mingw32 - https://github.com/joyent/node/issues/1640 [14:39] PreAce has joined the channel [14:40] PreAce has left the channel [14:42] pointlessjon has joined the channel [14:42] Jippi has joined the channel [14:45] liar has joined the channel [14:45] guybrush: errordeveloper: git-submodules are nasty to maintain [14:47] febits has joined the channel [14:47] karboh has joined the channel [14:48] Jippi has joined the channel [14:48] guybrush: i guess its a matter of taste, i used to do git-submodules just everywhere - then npm has come into my life :D [14:49] kenperkins has joined the channel [14:49] dmkbot: joyent/node: jetlan: error: declaration of 'ares_channeldata* uv_loop_s::ares_channel' error: changes meaning of 'ares_channel' from 'typedef struct ares_channeldata* ares_channel' - https://github.com/joyent/node/issues/1641 [14:51] marienz has joined the channel [14:51] dmkbot: joyent/node: jetlan: v.0.5.5+mingw error: declaration of 'ares_channeldata* uv_loop_s::ares_channel' error: changes meaning of 'ares_channel' from 'typedef struct ares_channeldata* ares_channel' - https://github.com/joyent/node/issues/1641 [14:51] DrMcKay: LordMetroid: what kind of functionality you need? [14:52] dlg has joined the channel [14:53] dmkbot: joyent/node: jetlan: v.0.5.5+mingw error: declaration of 'ares_channeldata* uv_loop_s::ares_channel' error: changes meaning of 'ares_channel' from 'typedef struct ares_channeldata* ares_channel' - https://github.com/joyent/node/issues/1641 [14:53] errordeveloper: guybrush: I imagine that it may be nasty when you have quite a lot of them [14:53] errordeveloper: :() [14:54] tmedema: How do I check if a net.Socket object is connected/open ? [14:55] tomtomaso has joined the channel [14:55] jbrokc: can anyone help me out hooking stylus to express? i'm just a plain idiot and don't know what i'm doing - https://gist.github.com/842c8143641dc4c3be9a [14:56] dlg: is it possible to handle weird http methods, eg CONNECT? [14:57] LordMetroid: DrMcKay: I need to watch a directory for files created, deleted and moved [14:57] guybrush: jbrokc: you need to mount the directory [14:57] jbrokc: guybrush: how do i go about doing that? [14:57] LordMetroid: DrMcKay: And then for all the files in the directory I need to watch when they get modified [14:58] pointlessjon has joined the channel [14:58] guybrush: app.use(express.static(__dirname+'/app/views')) [14:58] guybrush: in your case [14:58] jbrokc: is this outside of the config block? [14:58] guybrush: you can put it inside the configure-block [14:59] jbrokc: guybrush: but app.use doesn't need to be inside of it [14:59] guybrush: jbrokc: https://github.com/visionmedia/express/tree/master/examples/stylus [14:59] jbrokc: i was close ;_; [15:01] jbrokc: guybrush: weird - my request in my index.haml file is for '/app/views/styles/stylesheet.css' but its still getting a 404 [15:01] DrMcKay: LordMetroid: mikeal/watch [15:01] necrodearia has joined the channel [15:01] xerox: DOM question, when I $(some element).html(some new html) do the javascript events of the old innerHTML get deleted? [15:01] guybrush: then you need to mount __dirname [15:01] DrMcKay: LordMetroid: https://github.com/mikeal/watch [15:02] guybrush: like express.static(__dirname) -- this will "mount" __dirname to / [15:03] jbpros has joined the channel [15:03] shipit has joined the channel [15:03] jbrokc: guybrush: in addition to mounting the app/views/styles directory? [15:03] pointlessjon has joined the channel [15:03] guybrush: no [15:04] guybrush: instead of :p [15:04] pointlessjon has joined the channel [15:04] guybrush: checkout the examples in express, it says more than thousand words [15:05] jbrokc: guybrush: https://gist.github.com/fe437bfeeb4d680098b6 [15:06] guybrush: what does your haml look like? [15:06] EvRide has joined the channel [15:06] guybrush: href:'views/styles/stylesheet.css' (in your case) [15:32] kriszyp has joined the channel [15:32] rendar: jbrokc: nice screenshot! what are that %html, %body etc? some tepmlate language which will be expanded in the final html i guess [15:32] jbrokc: rendar: haml - https://github.com/visionmedia/haml.js [15:33] jbrokc: guybrush: wait what? the static argument should just be the app/ folder (__dirname) ? [15:34] cole_gillespie has joined the channel [15:34] rendar: jbpros: cool! [15:34] rendar: ops, jbrokc :D [15:35] guybrush: jbrokc: it should not be anything :p it can be anything you want [15:35] hij1nx has joined the channel [15:35] jbrokc: guybrush: okay, sorry - i'm starting to get a little bit frustrated as to why it's so hard to just get css working. that's all i want and i've spent almost 2 hours on just seeing one block of styles [15:35] guybrush: you can do express.static(__dirname+'/views/styles') ---> href:'stylesheet.css' too if you want [15:35] Spion has joined the channel [15:36] guybrush: sorry but it _really_ easy [15:36] jbrokc: what's the point of adding this directory though? do I have to add get requests for it as well? [15:36] bingomanatee has joined the channel [15:36] jbrokc: it shoudl be but i've shown you all of my code - i have no idea why it's still not working [15:37] zemanel has joined the channel [15:42] MUILTFN has joined the channel [15:43] dmkbot: joyent/node: kilianc: Assertion failed: (0 && "implement me"), function uv_fs_readlink, file src/unix/fs.c, line 500. Abort trap: 6 - https://github.com/joyent/node/issues/1638 [15:44] jsj has joined the channel [15:45] topaxi has joined the channel [15:45] caffine has joined the channel [15:46] CarterL has joined the channel [15:48] adambeynon has joined the channel [15:50] alek_b has joined the channel [15:51] jj0hns0n has joined the channel [15:54] bartt has joined the channel [15:56] ryanfitz has joined the channel [15:56] vicapow has joined the channel [15:57] losing has joined the channel [16:01] vicapow_ has joined the channel [16:03] thalll has joined the channel [16:03] tmedema: Is there any way to pause an incoming http request before node's http parser starts parsing the data? [16:05] jamesd_laptop has joined the channel [16:08] wookiehangover has joined the channel [16:08] staar2 has joined the channel [16:09] mike5w3c_ has joined the channel [16:11] mrsrikanth has joined the channel [16:11] htoothrot has joined the channel [16:13] teknopaul2 has joined the channel [16:13] dmkbot: joyent/node: kuebk: Unexpected behavior of console.log under certain condition - https://github.com/joyent/node/issues/1634 [16:14] dmkbot: joyent/libuv: erickt: Fix uv_getaddrinfo to accept custom data. - https://github.com/joyent/libuv/issues/156 [16:15] smathy has joined the channel [16:16] kmiyashiro has joined the channel [16:16] wookiehang0ver has joined the channel [16:17] bolden has joined the channel [16:17] Cromulent has joined the channel [16:19] austinbv has joined the channel [16:20] austinbv: whats a good book to get started with node? [16:20] kmiyashiro: there are books? [16:20] CarterL: http://www.nodebeginner.org/ [16:20] jsj has joined the channel [16:24] Promethe1s has joined the channel [16:24] pifantastic has joined the channel [16:24] Stephen has left the channel [16:27] dexter_e has joined the channel [16:27] Yoric has joined the channel [16:27] mikekunze has joined the channel [16:27] balaa has joined the channel [16:28] vicapow has joined the channel [16:29] Me1000 has joined the channel [16:35] dmkbot has joined the channel [16:36] kenperkins has joined the channel [16:37] jchris has joined the channel [16:37] arthurd has joined the channel [16:39] ceej has joined the channel [16:40] stonebranch has joined the channel [16:40] jamesd2 has joined the channel [16:42] skript has joined the channel [16:44] zomgbie has joined the channel [16:44] pizthewiz has joined the channel [16:45] jetienne_ has joined the channel [16:46] captain_morgan has joined the channel [16:46] heavysixer has joined the channel [16:47] bentkus: austinbv: :D [16:47] bentkus: Em just take a javascript book [16:47] dmkbot: joyent/libuv: erickt: Fix uv_getaddrinfo to accept custom data. - https://github.com/joyent/libuv/issues/156 [16:47] dmkbot: joyent/node: cjavapro: Improve start-up time for high-performance integration via CGI - https://github.com/joyent/node/issues/1642 [16:47] bentkus: JavaScript: the good parts http://oreilly.com/catalog/9780596517748 [16:49] kenperkins has joined the channel [16:52] guest69029735 has joined the channel [16:52] kiffness has joined the channel [16:55] BrandonCsSanders has joined the channel [16:58] TheFuzzball: Is there any reason to use Class.prototype.method = function(){ … } in preference to Class.method = function() { … }? [16:59] igl has joined the channel [17:00] JaKWaC has joined the channel [17:01] JaKWaC has joined the channel [17:02] JaKWaC_ has joined the channel [17:02] spathi^ has joined the channel [17:03] matyr_ has joined the channel [17:04] vicapow has joined the channel [17:04] MrNko has joined the channel [17:06] stagas: TheFuzzball: the one is prototyped the other is not? [17:06] Nexxy has joined the channel [17:06] Nexxy has joined the channel [17:07] JaKWaC has joined the channel [17:07] TheFuzzball: stagas When I instantiate, will it make a difference if I'm calling the methods like Class.method( … )? [17:07] TheFuzzball: I'm just trying to figure out the best way to write classes for Node [17:09] stagas: TheFuzzball: the second one won't exist in the new object [17:09] dmkbot: joyent/node: kuebk: Unexpected behavior of console.log under certain condition - https://github.com/joyent/node/issues/1634 [17:11] fitzgen has joined the channel [17:13] guillermo has joined the channel [17:14] JumpMast3r has joined the channel [17:14] balaa has joined the channel [17:16] devongovett has joined the channel [17:19] jro has joined the channel [17:23] ecin has joined the channel [17:24] mit has joined the channel [17:25] jetienne_ has joined the channel [17:25] scott_gonzalez has joined the channel [17:26] kiffness has joined the channel [17:29] jbrokc has joined the channel [17:29] d0k has joined the channel [17:31] bradleymeck has joined the channel [17:31] bartt has joined the channel [17:32] Wa has joined the channel [17:33] Metal3d has joined the channel [17:36] blup has joined the channel [17:37] heavysixer has joined the channel [17:40] gazumps has joined the channel [17:41] icebox has joined the channel [17:41] dnyy has joined the channel [17:41] JaKWaC has joined the channel [17:44] pizthewiz has joined the channel [17:45] joshfng has joined the channel [17:46] No9 has joined the channel [17:47] Botomas1 has joined the channel [17:48] alibilalaslam has joined the channel [17:48] mrdoodles has joined the channel [17:51] alibilalaslam: I need to load test a site that extensively relies on long polling. I was looking at a headless browser that would give me the ability to open a page in this site and then let me stick on it and react to whatever data is sent via the long polls. [17:51] joshthecoder has joined the channel [17:51] shiawuen has joined the channel [17:51] alibilalaslam: I've looked at zombie.js but am not sure if it will serve my needs [17:52] alibilalaslam: does anyone know whether zombie does support this behavior; if not any recommendations on a more complete headless browser? [17:53] Botomas1 has joined the channel [17:53] felixhummel has joined the channel [17:53] blueadept has joined the channel [17:58] stisti has joined the channel [17:58] TooTallNate has joined the channel [17:59] infynyxx has joined the channel [18:01] captain_morgan has joined the channel [18:02] jeromegn: alibilalaslam: Have you seen PhantomJS? [18:02] booo has joined the channel [18:02] alibilalaslam: heard about it, but yet to check out [18:02] robi42 has joined the channel [18:02] alibilalaslam: will it do the trick? [18:03] jetienne_ has joined the channel [18:04] ryanfitz has joined the channel [18:04] ji0n has joined the channel [18:05] jetienne_ has left the channel [18:05] jetienne_ has joined the channel [18:10] d3x7r0 has joined the channel [18:10] c4milo1 has joined the channel [18:15] ScottR4 has joined the channel [18:15] dmkbot: joyent/node: kuebk: Unexpected behavior of console.log under certain condition - https://github.com/joyent/node/issues/1634 [18:15] jamesd has joined the channel [18:16] ScottR4: I'm having trouble adapting a browser math library to node; one of the lines in the library is arrayType = Float32Array || Array, and node pitches a fit over Float32Array. How do I make node evaluate missing references as "falsy" values? [18:17] jbpros has joined the channel [18:18] TheJH: ScottR4, maybe global.Float32Array? [18:18] TheJH: ScottR4, typeof also works on non-defined stuff [18:18] TheJH: !admin eval typeof foobar [18:18] jhbot: undefined [18:19] TheJH: !admin eval global.foobar [18:19] jhbot: undefined [18:19] ScottR4: TheJH: I'll try typeof, I'd rather the library work in both browser and server using the same version [18:19] TheJH: DrMcKay, btw, what's the status of your nodebot? [18:20] Yuffster_work has joined the channel [18:21] ScottR4: TheJH: Thanks, that did it! [18:21] XniX23 has joined the channel [18:22] nerdfiles1 has joined the channel [18:23] nerdfiles1 has left the channel [18:26] Xano has joined the channel [18:28] DrMcKay: !ping [18:28] dmkbot: DrMcKay, pong [18:28] DrMcKay: TheJH: ^ [18:28] tuhoojabotti: pong! [18:28] DrMcKay: TheJH: it can report things from multiple repos [18:29] DrMcKay: TheJH: but still fails hard with no route to host randomly [18:29] DrMcKay: tuhoojabotti: ping [18:29] tuhoojabotti: pong! [18:29] DrMcKay: ping! [18:29] TheJH: DrMcKay, no, I mean, the eval()-for-everyone thing you were talkinga bout [18:29] tuhoojabotti: pong! [18:30] tuhoojabotti: I haven't lost this game yet. [18:30] DrMcKay: TheJH: ah, it's quite far on TODO, maybe tomorrow :) [18:30] DrMcKay: ping! [18:30] tuhoojabotti: pong! [18:30] DrMcKay: ... ping! [18:30] ceej has joined the channel [18:30] tuhoojabotti: Okay, okay, you won. [18:30] tuhoojabotti: Fine, gosh. [18:30] DrMcKay: ha! my life is complete [18:30] tuhoojabotti: pong! [18:30] tuhoojabotti: Problems? [18:30] DrMcKay: that was unexpected [18:30] Insekticid has joined the channel [18:31] DrMcKay: I admit defeat. [18:32] demolish has joined the channel [18:32] `3rdEden has joined the channel [18:33] Yoric has left the channel [18:34] v3ctR has joined the channel [18:41] progrock: http://www.youtube.com/watch?v=5EUTEPFq5iQ&feature=player_embedded [18:45] jakehow has joined the channel [18:45] jakehow__ has joined the channel [18:45] jakehow_ has joined the channel [18:46] No9 has joined the channel [18:46] dnyy has joined the channel [18:50] blup has joined the channel [18:52] TooTallNate: is mikeal in here? [18:52] tuhoojabotti: Who's that? [18:52] DrMcKay: TooTallNate: he left [18:53] DrMcKay: tuhoojabotti: he once contributed some one liner patch to docs, nobody importatn [18:54] tuhoojabotti: Ok. [18:54] patcito has joined the channel [18:54] TooTallNate: ok [18:54] tuhoojabotti: For some reason I thought this was #three.js for one sec. [18:54] TheJH: DrMcKay, uhm, what? [18:54] DrMcKay: tuhoojabotti: why? [18:54] DrMcKay: TheJH: I forgot tags, again. [18:55] tuhoojabotti: Probably because I'm tired. [18:55] tuhoojabotti: I also read linear, not liner. [18:55] tuhoojabotti: ;D [18:55] DrMcKay: lol :D [18:55] tuhoojabotti: And then I was like omglolwtfbbq [18:55] DrMcKay: linear patch? [18:55] tuhoojabotti: One linear patch. [18:56] DrMcKay: maybe a patch git applies without recursive merge? [18:56] tuhoojabotti: No idea. [18:57] errordeveloper: in fact I have to say that now I quite like js as a language [18:57] errordeveloper: it's quite simple, almost like C [18:57] tuhoojabotti: :D [18:57] errordeveloper: but with dynamics [18:58] errordeveloper: I mean, I cannot see particularly funky things one needs to do here and there [18:58] DrMcKay: and with all those funny thing like objects ;) [18:59] errordeveloper: yeah .. withought the 'mouseover' and DOM paradigm JS is quite nice :) [18:59] errordeveloper: lol [18:59] tuhoojabotti: What about HAXE?! [18:59] errordeveloper: tuhoojabotti: what's haxe ? [18:59] errordeveloper: haskell ? [19:00] tuhoojabotti: haXe (pronounced as hex) is an open source programming language [19:00] DrMcKay: that's awesome: http://superfad.com/missioncontrol/ [19:00] errordeveloper: ok, well .. I haven't heared of it just yet :)~ [19:00] chjj: its crazy how fast that ievms script is getting popular [19:01] tuhoojabotti: errordeveloper: http://haxe.org/doc/features I haven't tried it but my mate likes it. [19:02] edude03 has joined the channel [19:02] akujin has joined the channel [19:02] DrMcKay: um, what?! [19:02] errordeveloper: tuhoojabotti: I'm checking out right now :)~! [19:03] DrMcKay: my display is weird. [19:03] DrMcKay: it changes sound in my headphones when something moves on the screen [19:03] tuhoojabotti: Wut [19:04] ericnakagawa has joined the channel [19:04] DrMcKay: that's just a buzz, but it's hearable [19:04] tuhoojabotti: DrMcKay: Now that's some Nice usage of Three.js! [19:05] Cromulent has joined the channel [19:05] DrMcKay: tuhoojabotti: yeah, you reminded me that I wanted to check it out [19:05] tuhoojabotti: ;) [19:06] kenperkins has joined the channel [19:06] khrome has joined the channel [19:06] storrgie has joined the channel [19:06] errordeveloper: tuhoojabotti: I see .. well, I'd give it sometime and see how it evolves .. etc [19:06] errordeveloper: :) [19:07] tuhoojabotti: don't blame me then! [19:07] tojochacko has joined the channel [19:07] errordeveloper: I first heared of node like a yeah ago and now I see that it really has the nuts and bolts for my sort of projects :) [19:07] JaKWaC has joined the channel [19:07] tuhoojabotti: heared :D [19:08] errordeveloper: I always make that typo [19:09] dmkbot: joyent/node: kuebk: Unexpected behavior of console.log under certain condition - https://github.com/joyent/node/issues/1634 [19:09] chrislorenz has joined the channel [19:09] errordeveloper: btw, hm .. is anyone using 0MQ ... [19:09] errordeveloper: ? [19:10] alibilalaslam has left the channel [19:10] __sorin__ has joined the channel [19:10] mikeal has joined the channel [19:10] cpetzold has joined the channel [19:11] thinkjson: My first question at every Node meetup will now be "colon or no colon?" [19:11] jesusabdullah: No matter what they say: "WRONG ANSWER *pow*" [19:11] thinkjson: errordeveloper: specifically ZeroMQ, or AMQP in general? [19:11] thinkjson: jesusabdullah: lol [19:12] thinkjson: we need more meetups here [19:12] thinkjson: we've had one in the past three months [19:12] tuhoojabotti: I want meetups in finland :/ [19:12] thinkjson: I wonder how many server-side javascript developers there are in Finland... [19:12] errordeveloper: thinkjson: I don't know what's AMQP [19:13] thinkjson: errordeveloper: the protocol behind ZeroMQ, as well as a host of other solutions [19:13] errordeveloper: ah .. is it a class of things that 0mq belongs to ? [19:13] errordeveloper: ok [19:13] thinkjson: I've messed around with RabbitMQ, but the underlying concepts are the same [19:13] errordeveloper: I see .. [19:14] pdelgallego has joined the channel [19:14] thinkjson: so what was the question? [19:15] tojochacko has joined the channel [19:15] errordeveloper: thinkjson: I'm just trying to figure out what the main advantage of using AMQP in general [19:15] errordeveloper: and where MPI stands [19:16] errordeveloper: ACTION getting a little bit lost with all new stuff in parallel programming world [19:17] hackband has joined the channel [19:17] Sidnicious has joined the channel [19:17] tojochacko has joined the channel [19:18] thinkjson: errordeveloper: different approach to a similar problem [19:18] thinkjson: what is your use case? [19:19] thinkjson: jesusabdullah: you seriously put "proficient with Microsoft Office" on your resume? ROFL [19:19] thinkjson: I should totally put that on mine before I send it out next week [19:20] errordeveloper: well, I suppose it would be very beneficial to learn it for future work oportunities [19:20] JaKWaC has joined the channel [19:20] jesusabdullah: thinkjson: Did I? I don't remember [19:20] jesusabdullah: thinkjson: That's meatspace engineering for you [19:20] errordeveloper: personally I am interested in doing some distributed processing of large audio data [19:20] jesusabdullah: "FIVE YEARS EXPERIENCE WITH SHITTY TOOLCHAIN" [19:21] errordeveloper: with real time constraints [19:21] DrMcKay: jesusabdullah: and a big penis on first page? [19:21] jesusabdullah: It occurs to me that, if I keep this up that "proficient with MS Office" is going to be a lie pretty soon [19:21] jesusabdullah: "I haven't used office in 10 years!" [19:21] jomoho has joined the channel [19:21] jesusabdullah: "hooooo boy" [19:21] thinkjson: yeah [19:22] tuhoojabotti: "lol" [19:22] jesusabdullah: DrMcKay: No penises, just bullet points [19:22] errordeveloper: jesusabdullah: I prefer to say 'proficient destop and internet user' [19:23] errordeveloper: or something similar to that [19:23] jesusabdullah: Yeah [19:23] tuhoojabotti: I prefer to stay silent. [19:23] thinkjson: errordeveloper: the advantage of AMQP is language support [19:23] thinkjson: you can use it from almost anything [19:23] errordeveloper: I see .. [19:23] thinkjson: MPI doesn't have that kind of broad appeal [19:23] hekkwan has joined the channel [19:23] jesusabdullah: Hopefully I won't have to apply for a job whose major requirement is MS Office proficiency ever again [19:24] tuhoojabotti: I used MS Excel [19:24] errordeveloper: I can imagine that MPI is bound to C [19:24] thinkjson: if you're doing low-level distributed computing in C or C++ then MPI is probably the best choice [19:24] jesusabdullah: I mean, it's fine if that's what the office uses, but having to actually CHECK for PROFICIENCY in a WORD PROCESSOR? [19:24] jesusabdullah: or, spreadsheets [19:24] jesusabdullah: I'm pretty bomb at spreadsheets :P [19:24] thinkjson: if you want to do queueing of tasks for the modern web, I would use an AMQP solution [19:24] tuhoojabotti: I'm pretty good at scripting in excel! [19:24] jesusabdullah: but, I'd imagine most of you would also be able to make it work [19:24] jesusabdullah: ! [19:24] tuhoojabotti: in FINNISH [19:24] CIA-69: libuv: 03Igor Zinkovsky 07master * rcf5ed86 10/ (5 files in 2 dirs): windows: implement missing fs functions - http://git.io/kyflcw [19:24] jesusabdullah: haha, reminds me of a joke [19:24] tuhoojabotti: I want to hit my head to the deks now. [19:24] tuhoojabotti: desk* [19:25] thinkjson: jesusabdullah: I don't find it a coincidence that the "projects" section of both of our resumes is larger than our work experience [19:25] blup: just ported twitter's bootstrap.less to stylus if anyone's interested: https://github.com/blup/bootstrap-stylus [19:25] tojochacko has left the channel [19:25] jesusabdullah: One time, one of my friends said, "Oh hey did you hear about the new president of Nokia? He's not Finnish." [19:25] jesusabdullah: which I guess was interesting [19:25] jesusabdullah: so of course someone said, "Of course he's not Finnish he's just gettin' started!" [19:25] tuhoojabotti: Wasn't Nokia japanese? [19:25] jesusabdullah: I meant, umm [19:26] arnee has joined the channel [19:26] errordeveloper: thinkjson: hm .. can rabitmq talk to 0mq for example ? [19:26] jesusabdullah: there's a finnish cell/telecom company, I know that [19:26] tuhoojabotti: jesusabdullah: That's a pretty bad joke btw. [19:26] jesusabdullah: Isn't it? [19:26] CarterL has joined the channel [19:26] jesusabdullah: Hopefully bad in a groan-type way and not, like [19:26] jesusabdullah: an offensive way or something [19:27] thinkjson: errordeveloper: they're two implementations of the same protocol. you would choose one or the other. [19:27] jesusabdullah: Ope! Innanet says Nokia is definitely Finnish [19:27] errordeveloper: sure, that's great then :) [19:27] jesusabdullah: but not finished, of course, cause everyone knows Nokia is cool [19:27] tuhoojabotti: jesusabdullah: And it makes boots. [19:27] steffan_ has joined the channel [19:27] tuhoojabotti: http://www.nokianfootwear.fi/ [19:27] tuhoojabotti: ;D [19:27] JaKWaC has joined the channel [19:28] jesusabdullah: Those look like some good breakup boots [19:28] gazumps has joined the channel [19:28] tuhoojabotti: I myself use samsung phones. [19:28] jesusabdullah: Scandinavia has breakup season, right? [19:28] jesusabdullah: Like, in the spring, when the snow turns to slush and water everywhere? [19:28] tuhoojabotti: it's not spring here [19:28] jesusabdullah: Right, but when it is [19:29] jesusabdullah: is that how it goes down? [19:29] tuhoojabotti: it's autumn — eternal darkness and rain [19:29] tuhoojabotti: cold rain [19:29] tuhoojabotti: not snow yet. [19:29] jesusabdullah: Sounds like home. ^__^ [19:29] Insekticid: tuhoojabotti: Pretty nice weather :-) [19:29] Serby has joined the channel [19:29] tuhoojabotti: It's too hot now! [19:29] tuhoojabotti: 26.4 in my room [19:29] jesusabdullah: I just assume that Finland and Alaska have the same weather [19:29] tuhoojabotti: goddamn nvidia + i7 [19:29] tuhoojabotti: :D [19:29] tuhoojabotti: that's Celsius btw. [19:30] jesusabdullah: 26?! That SOUNDS warm from my tenuous grasp of habitable celcius temperatures [19:30] tuhoojabotti: 78.8F [19:30] tuhoojabotti: or ~300K ofc. [19:31] tuhoojabotti: We should all use kelvins. [19:31] jesusabdullah: ^__^ [19:31] jesusabdullah: That's definitely too warm. [19:31] thinkjson: 78 sounds great [19:31] tuhoojabotti: Outside it's 55F [19:31] thinkjson: 98 here [19:32] tuhoojabotti: Yeah, that's way too hot. [19:32] tuhoojabotti: Summers are getting too hot here in Finland. :/ [19:34] DrMcKay: I don't even know temperature here [19:35] DrMcKay: but I think summer just ended [19:35] DrMcKay: or maybe not? [19:35] thinkjson: summer ends in December in Florida [19:35] tuhoojabotti: Snow is nice, but snow+ice does tend to make it bit tricky to cycle. [19:35] DrMcKay: thinkjson: you lucky bastards... [19:36] Insekticid: DrMcKay: Yes, summer ended for ever. Global warming is here, be afraid! :-D [19:36] thinkjson: what? that's horrible! [19:36] jesusabdullah: thinkjson: wrt your last tweet: I've been rocking a dell mini 9 9" screen laptop for the last 9 months [19:36] thinkjson: my Dad is moving to Costa Rica. never goes below 50 or above 80 [19:36] DrMcKay: no, 20 days of summer left, yay! [19:36] skunkape has joined the channel [19:36] DrMcKay: Insekticid: :D [19:36] raynos has joined the channel [19:36] jesusabdullah: and I haven't had an alternate computer since May [19:36] akujin has joined the channel [19:36] Insekticid: DrMcKay: :-D [19:36] DrMcKay: thinkjson: summers in Poland are actually quite nice :) [19:37] thinkjson: jesusabdullah: you must be younger than me [19:37] raynos: I'm finding lots of awesome node modules on github, that I wish I knew about earlier [19:37] raynos: What is the general solution to being able to index and find modules I need without re-inventing the wheel. [19:37] errordeveloper: interesting article btw http://www.imatix.com/articles:whats-wrong-with-amqp [19:37] Isaiah has joined the channel [19:37] Insekticid: DrMcKay: Yeah, I was at Krakow 2 weeks ago and it was great [19:37] raynos: Mainly for modules I don't need or can't search for by keyword [19:38] thinkjson: raynos: npm [19:38] raynos: Yeah I can search the npm if I know the keyword [19:38] raynos: For example I just found soda and I would never have thought to search for selenium driver on npm [19:39] Croms has joined the channel [19:39] synkro has joined the channel [19:39] DrMcKay: Insekticid: and where do you live :) ? [19:39] febits has joined the channel [19:39] DrMcKay: Insekticid: ping me if you would be planning to visit Poznan [19:40] mrchess has joined the channel [19:40] Insekticid: DrMcKay: the Czech Republic. I will give you a note :-) I like Poland [19:41] DrMcKay: Insekticid: who doesn't ;). it's sometimes a crappy place to live, though [19:42] jesusabdullah: thinkjson: Possibly. On the other hand, this kinda sucks. I'm getting a more biggers laptop soon [19:42] jesusabdullah: should improve things [19:42] Insekticid: DrMcKay: Hehe, I belive...The same here :-) [19:42] thinkjson: jesusabdullah: I have three 17 wide at work, and I love it [19:43] socketio\test\83 has joined the channel [19:43] DrMcKay: Insekticid: but you have depenalized drugs :D [19:43] jesusabdullah: Mommers has 2x 22"ers [19:43] jesusabdullah: that's pretty awesome, not gonna lie [19:43] DrMcKay: btw, it's incredible how many monitors increase productivity [19:44] DrMcKay: (assuming that you don't have reddit on second one) [19:45] dob_ has joined the channel [19:45] Insekticid: DrMcKay: Hmmm, I just watched the TV yesterday and they told, that a lot of new drugs are brought here from Poland and because they are new, they can't be penalized [19:46] mikeycgto has joined the channel [19:46] Insekticid: DrMcKay: :-D [19:46] Croms_ has joined the channel [19:46] DrMcKay: Insekticid: don't even mention. there was a "company" selling legal drugs just like that, in regular shops [19:46] DrMcKay: and, well, that resulted in a shitstorm everywhere [19:47] boehm has joined the channel [19:48] Insekticid: DrMcKay: Yeah, it's possible. I would rather be at a different place on the world, but I have to finish the university [19:49] DrMcKay: Insekticid: I'm considering moving to US right after secondary school [19:49] DrMcKay: I have to get rich before that, though [19:51] Insekticid: DrMcKay: US could be a good place. I was thinking about Canada, Australia or NZ. [19:51] skunkape: DrMcKay, come to visit, maybe live for a short time, but do not plan on staying here. [19:51] skunkape: It is overrated. [19:51] Creap: For regular JS I use nodemon to watch my app dir for changes, and when something changes node is automatically restarted. is there something similar for coffeescript? [19:52] steffan__ has joined the channel [19:52] DrMcKay: Creap: nodemon can handle CS directly [19:52] DrMcKay: IIRC [19:52] DrMcKay: Creap: try nodemon file.coffee [19:52] Creap: oh.. [19:52] Creap: heh, thanks :) [19:52] DrMcKay: skunkape: why? (it may be a noob question) [19:53] Insekticid: DrMcKay: Try to read some polish blogs from people who live in the USA. It gave me a lot. [19:53] bullines has joined the channel [19:53] Insekticid: DrMcKay: when I choosed the country [19:54] skunkape: I mean, Miami is a really cool place and very inspirational. But the US sucks. Our government is corrupt. Cops have no respect and kill innocent people and get away with it. Social welfare programs are lame compared to the ones in EU [19:54] DrMcKay: Insekticid: will do [19:54] thinkjson: mine is usually Eclipse, Chrome, and server logs [19:55] skunkape: It's fun to travel and if you have money you will have a blast. However, it's the most expensive country in the world to do business in [19:55] nimstr has joined the channel [19:55] DrMcKay: wait, you mean that reddit front page isn't exaggerating? [19:55] nimstr has joined the channel [19:56] Insekticid: skunkape: Hehe, I thought that you described the EU for a while :-D [19:56] DrMcKay: after all, same happens here [19:56] Insekticid: Yeah [19:57] skunkape: The county is great, the land and beaches are beautiful, but the most of the people here are retarted, If you come, make sure to hit up Miami/Fort Lauderdale. [19:57] DrMcKay: skunkape: sure, I've heard about it [19:57] DrMcKay: I think it was National Geographic or something [19:58] DrMcKay: skunkape: and, well, generally, most people are retards [19:58] skunkape: Just don't but into all that Bullshit about "America, the land of the free". Cause, thats a lie [19:59] skunkape: DrMcKay, yes unfortunately (or maybe fortunately) that is true [19:59] DrMcKay: skunkape: it's good unless you have to deal with them :) [20:00] DrMcKay: I mean, even in my class, there are idiots who can't write a simple Pascal program [20:00] DrMcKay: (they chose IT technician because they thought we're going to play games during lessons) [20:02] DrMcKay: oh, and a guy who said that he doesn't understand C, because he often mismatches Java and HTML [20:02] DrMcKay: I don't actually get this one [20:02] matyr has joined the channel [20:02] DrMcKay: Insekticid: Canada sounds good as well [20:02] skunkape: LOL, ok that is dumb [20:02] skunkape: BC, Canada is very cool [20:03] Insekticid: DrMcKay: Yap :-) I hope so [20:03] skunkape: So is the entire NW coast of the US [20:03] thinkjson: what's Pascal? [20:03] mynyml has joined the channel [20:04] DrMcKay: I guess I should start packing my stuff :D [20:04] Insekticid: thinkjson: It's a huge milk company or not? [20:06] thinkjson: is that what people used before PHP? [20:06] thinkjson: ;-) [20:06] DrMcKay: thinkjson: wait, people use PHP? [20:06] Insekticid: thinkjson: It was great for learning [20:06] Insekticid: DrMcKay: What is PHP? [20:07] DrMcKay: thinkjson: I thought that code looks so awful because it's generated somehow [20:07] Insekticid: :-D [20:07] tmpvar has joined the channel [20:09] mykul|Home has joined the channel [20:10] mykul|Home has joined the channel [20:10] mykul|Home has joined the channel [20:11] DrMcKay: ACTION recalls those times when he actually used PHP [20:11] mykul|Home has joined the channel [20:11] DrMcKay: OH MY HEAD WILL BLOW! [20:12] Insekticid: DrMcKay: Do you know about any Node conferences or other activities in Poland? [20:12] austinbv has joined the channel [20:12] mykul|Home has joined the channel [20:12] DrMcKay: Insekticid: devmeetings [20:12] DrMcKay: Insekticid: but those aren't conferences really [20:12] DrMcKay: Insekticid: http://devmeetings.pl/ [20:12] mykul|Home has joined the channel [20:13] mykul|Home has joined the channel [20:13] Insekticid: DrMcKay: Thanks, we have only small meetings in pubs. [20:13] TooTallNate: is anyone here good at regexps? [20:14] DrMcKay: Insekticid: yeah, there definitely is a need for some node conf in western Europe [20:14] austinbv: TooTallNate: what do you need? [20:14] mykul|Home has joined the channel [20:14] DrMcKay: TooTallNate: sup? [20:14] TooTallNate: I'm trying to split this String: [20:14] TooTallNate: "origin"{CGPoint="x"d"y"d}"size"{CGSize="width"d"height"d} [20:14] TooTallNate: on " chars [20:14] TooTallNate: but NOT when the " is with {}s [20:14] TooTallNate: so in the case above: [20:15] Insekticid: DrMcKay: Yap. I know about Rupy, but thats for Ruby and Python [20:15] eazyigz has joined the channel [20:15] paul0 has joined the channel [20:15] TooTallNate: ['', 'origin', '{CGPoint="x"d"y"d}', 'size', '{CGSize="width"d"height"d}'] [20:16] DrMcKay: Insekticid: so, let's go! :-D [20:16] DrMcKay: but wait, how do you actually make a conference? [20:16] TooTallNate: austinbv: DrMcKay: ^ [20:16] austinbv: i saw give me a sec [20:16] DrMcKay: TooTallNate: I'm thinking [20:16] TooTallNate: killer [20:16] Insekticid: DrMcKay: http://rupy.eu/ [20:16] TooTallNate: thanks guys [20:17] austinbv: TooTallNate: first you want to extract everything in the {} [20:18] austinbv: so a simple regex like {(.*)} where you pull out all matches [20:18] DrMcKay: Insekticid: I've seen this one [20:18] austinbv: now take any thing that desnt match and split it one sec and I will put it in a fiddle [20:18] Insekticid: DrMcKay: And what do you think? May be interesting. [20:19] kon_: do some regex magic! [20:19] DrMcKay: Insekticid: worth thinking about [20:19] DrMcKay: Insekticid: you do Python? [20:19] tmpvar has joined the channel [20:20] DrMcKay: TooTallNate: what austinbv said, constructing it exactly for this pattern would be a pain in the ass [20:20] Insekticid: DrMcKay: Nn, Ruby :-) [20:22] austinbv: Insekticid: http://jsfiddle.net/c5tPE/ [20:22] austinbv: done [20:22] austinbv: one line [20:23] austinbv: er TooTallNate [20:24] cole_gillespie has joined the channel [20:24] TooTallNate: austinbv: hmmm, for me that's returning: [20:24] TooTallNate: [ '', '"origin"{CGPoint="x"d"y"d}"size"{CGSize="width"d"height"d', '}' ] [20:26] kon_: here too [20:27] zomgbie has joined the channel [20:28] DrMcKay: Insekticid: well, I do Python :) [20:31] paul0 has left the channel [20:31] fitzgen has joined the channel [20:31] bolden has joined the channel [20:31] qbert has joined the channel [20:32] jhurliman has joined the channel [20:32] zemanel has joined the channel [20:33] perezd has joined the channel [20:33] Sorella has joined the channel [20:34] necrodearia has joined the channel [20:35] matyr_ has joined the channel [20:36] dob_ has joined the channel [20:36] Sorella has joined the channel [20:38] Insekticid: DrMcKay: Nice :-) Django? [20:38] kenperkins has joined the channel [20:40] __sorin__ has joined the channel [20:40] jarek has joined the channel [20:40] hellp has joined the channel [20:40] polotek has joined the channel [20:41] rednul has joined the channel [20:41] polotek: which are the better jekyll clones for node? [20:42] fangel has joined the channel [20:44] jarek_ has joined the channel [20:44] DrMcKay: Insekticid: Tornado [20:44] DrMcKay: Insekticid: I haven't even tried Django yet [20:44] jarek_ has joined the channel [20:45] jant_ has joined the channel [20:45] i42n has joined the channel [20:45] jarek has joined the channel [20:45] jarek has joined the channel [20:45] Insekticid: DrMcKay: I see. I'm using PHP right now. [20:46] No9 has joined the channel [20:46] iFire has joined the channel [20:46] DrMcKay: Insekticid: I'm sorry :( [20:47] Insekticid: DrMcKay: It's because of my job ;-) Ruby isn't popular as much as PHP here [20:48] TokyoDan has joined the channel [20:48] DrMcKay: Insekticid: same here, it's rare thing to see some Ruby, Python, not to mention node job [20:48] DrMcKay: Insekticid: will you be here tomorrow? I'll try to let you know about this conf [20:49] blup has joined the channel [20:49] Gaunt has joined the channel [20:49] iFire has joined the channel [20:49] Insekticid: DrMcKay: Hehe, I haven't seen a Node job offer here yet :-) I agree about Ruby and Python jobs. Yeah, I will be here :-) [20:50] polotek: DrMcKay: more node jobs are popping up all the time. [20:50] tanepiper: elliottcable: Seriously, you dipshit - your going to *laugh* at my situation. [20:50] polotek: http://jobs.nodejs.org/a/jobs/find-jobs [20:50] DrMcKay: polotek: I meant, stationary job in Poland [20:51] austinbv: TooTallNate: http://jsfiddle.net/c5tPE/1/ [20:51] tanepiper: elliottcable: dipshit that laughs at two cats getting shot dead. Do not hire, because he clearly has a screw loose [20:54] matyr has joined the channel [20:54] austinbv: I see python jobs all the time [20:56] austinbv: I <3 my rails job [20:56] djbell: Engine Yard is hiring Rubyists all the time too, and we play with node here as well :) [20:56] austinbv: and my ruby job [20:56] austinbv: Node seems to be side projects at places that focus elsewhere [20:57] austinbv: djbell: you an engineer? [20:57] djbell: Support Manager for west coast and APAC [20:58] djbell: but the engineering teams are also hiring [20:58] iFire has joined the channel [20:58] djbell: of course, just because I'm a manager doesn't mean I don't get to play with code :) [20:58] polotek: austinbv: that's mostly the case re: node. but there are some shops that are all in [20:58] dleonardi has joined the channel [20:59] JJMalina has joined the channel [20:59] austinbv: the node shops that are all in i would assume are not client driven [20:59] TokyoDan has joined the channel [20:59] austinbv: whats easy about things like ruby shops is we can work on cool projects and pop out little sites to pay the bills [21:00] adrianmg has joined the channel [21:00] Dreamer3 has joined the channel [21:01] austinbv: and tbh I really never see JS as maintainable as a language like ruby or python [21:01] TooTallNate: austinbv: thank's that looks good! [21:01] adam- has joined the channel [21:01] austinbv: np TooTallNate. [21:02] polotek: austinbv: it doesn't pay to sell node to clients right now. it's too unstable [21:02] austinbv: yarp [21:02] polotek: austinbv: how do you define maintainable? [21:03] gkmngrgn has joined the channel [21:03] austinbv: Not easliy testable, doesnt compress isn't pretty, doesn't have a good OOP structure [21:03] wookiehangover has joined the channel [21:04] austinbv: I am a big fan of BDD/TDD and unit testing in js is weak and integration testing is even worse [21:05] matyr_ has joined the channel [21:06] polotek: doesn't compress? [21:07] polotek: you mean the solutions for unit testing are weak? [21:07] polotek: I disagree with that [21:07] polotek: nodeunit is great [21:07] polotek: javascript is just as testable as any other language [21:07] polotek: with the added wrinkle of async functions [21:08] polotek: but that's solveable as well [21:08] austinbv: I have not found a library I like maybe I should play with it more [21:08] pointlessjon has joined the channel [21:08] kon_: TooTallNate, you could also just match for the same effect using: /[^{"]+|{[^}]+}/g [21:09] mDraze has joined the channel [21:10] polotek: we use foounit at work [21:11] polotek: it's a little unwieldy in my opinion [21:11] polotek: but it's closer to the BDD style [21:11] polotek: written by a colleague https://github.com/foobarfighter/foounit [21:12] Dreamer3 has joined the channel [21:13] austinbv: kon_: nice solution [21:13] kon_: splitting seems a little trickier [21:13] austinbv: I am not very experienced with serverside js, but for my client side js I use jasmine which is meh [21:14] austinbv: btw TooTallNate both of our solutions will not work for nested curly brackets [21:15] kon_: then it would probably the the wrong approach to use a regex but a good idea to write a parser =) [21:16] blup: probably a stupid question... if i do require(./utils.js), which contains several exports, is there a way to have them available without the 'utils.'? [21:16] ryanfitz has joined the channel [21:17] austinbv: ACTION agrees with kon_  [21:17] TheJH: blup, var foobar = require('utils').foobar [21:17] DrMcKay has joined the channel [21:18] blup: TheJH, i know that one, but then i have a lot of exports (string manipulations, etc)... [21:18] TheJH: blup, coffeescript has {foo, bar, baz} = require('utils') [21:18] TheJH: !coffee compile {foo, bar} = require('utils') [21:18] jhbot: var bar, foo, _ref; _ref = require('utils'), foo = _ref.foo, bar = _ref.bar; [21:19] blup: TheJH: ok, thanks. i was hoping there was a shorter way without declaring all the functions. [21:19] kon_: just for completeness: '"origin"{CGPoint="x"d"y"d}"size"{CGSize="width"d"height"d}'.split(/^"|"?([^{}]*}|{[^}]*}+)"?/).filter(Boolean) =) [21:19] __sorin__ has joined the channel [21:19] TheJH: blup, well, you *could* probably do something using eval or with or so... but doesn't seem like a good idea [21:20] sfoster has joined the channel [21:21] blup: TheJH: i'll use your coffeescript version then [21:21] pickels has joined the channel [21:22] jsj has joined the channel [21:23] TokyoDan has joined the channel [21:24] LordMetroid: http://pastebin.com/Z1kzN7Xk [21:24] LordMetroid: I am creating a function object with the name program in that code [21:24] Prometheus has joined the channel [21:24] LordMetroid: I run this exorts.execute function for every request [21:25] dylang has joined the channel [21:26] TheFuzzball: I'm doing var stat = fs.stat(FILE) and stat is null. What am I doing wrong? [21:26] febits has joined the channel [21:27] LordMetroid: When I process next request, will the function object be able to access the paramaters of the parent function, exports.execute, as they were when it was created or will it access the parameters as it they are for current request? [21:29] caffine has joined the channel [21:30] stagas: do you think it's safe to do Object.keys(this._events)[0] within the event callback to get the event name? [21:33] Wizek has joined the channel [21:35] blup has joined the channel [21:35] polotek: stagas: I don't think so [21:35] dob_: short question. console.log( new RegExp(text)) How can i limit it to [a-Z][0-9] ?? [21:35] DrMcKay: stagas: race condition? [21:36] sebastia_ has joined the channel [21:36] polotek: not so much that. but that Object.keys isn't gauranteed an order [21:36] polotek: anyway would you go about it that way, you should have the event name when you set the listener. just use a closure [21:37] TheFuzzball: Hmm, fs.stat(FILE,function(err,stats){ console.log(stats.size) }) works, but how do I pass stats.size to the parent function? [21:37] polotek: also I think this._events is reset by setting to null. so may not always be there. take a look at EventEmitter [21:37] febits has joined the channel [21:38] TheFuzzball: If I do var filesize; fs.stat(FILE,function(err,stats){ filesize = stats.size }); console.log(filesize), filesize is undefined. [21:38] polotek: TheFuzzball: fs.stat is asynchronous, by the time it comes back, your calling function is already over [21:38] DrMcKay: dob_: what do you mean exactly? [21:38] polotek: you need to continue your code *inside* the fs.stat callback [21:39] TooTallNate: austinbv: kon_: I ended up writing a parser: [21:39] TooTallNate: https://github.com/TooTallNate/NodObjC/blob/00da04ce9bd4681230c2cc8003362e18e6128699/struct.js#L45-77 [21:39] BotUser has joined the channel [21:39] TooTallNate: I should be keeping a counter for the number of brackets encountered though.... [21:39] dob_: i have the problem that i have a regex which should createa mongoose select. [21:39] dob_: DrMcKay: http://pastebin.com/BZidxvYS [21:40] stagas: polotek: you're right. a context method or getter to get this event's name would be handy, this.event or something [21:40] austinbv: TooTallNate: you should use recursion instead of a count [21:40] austinbv: its cleaner [21:40] dob_: And i get sometimes errors when there are strange symbols etc. [21:40] polotek: stagas: talked about that with the folks doing eventemitter2 [21:40] polotek: it's a nice idea, but it's still shared state and so unreliable [21:41] dob_: now i want to limit it to alphanumeric only. [21:41] TooTallNate: austinbv: I would, but I don't want to parse the individual elements at that moment [21:41] polotek: consider doing another async call inside your listener. now that callback may see a different emitter.event [21:41] TheFuzzball: polotek Thanks for that :) [21:42] austinbv: ah [21:42] austinbv: easy enought then [21:43] polotek: dob_: if( /[a-zA-Z0-9]/.test(text) ) { /* fail */ } [21:43] polotek: don't bother trying to turn the whole thing into a regex [21:43] polotek: err, actually you need to take the negation of the test, but you get the point :) [21:43] klj613 has joined the channel [21:44] polotek: TheFuzzball: cheers. do some research on continuation passing style. [21:45] polotek: then get yourself a nice async handler library :) [21:45] jakehow has joined the channel [21:45] TheFuzzball: Will do, I'm not used to this async madness :D [21:45] jakehow_ has joined the channel [21:45] jakehow__ has joined the channel [21:45] binaryjohn_ has joined the channel [21:45] BotUser has joined the channel [21:46] JumpMast3r has joined the channel [21:46] sorensen: ryah: you around? [21:50] pointlessjon has joined the channel [21:51] BotUser has joined the channel [21:54] blup has joined the channel [21:55] dob_: polotek: thank you but this also accepts ()[] etc... [21:56] mykul|Home has joined the channel [21:57] polotek: dob_: I'm not following you? [21:57] mykul|Home has joined the channel [21:57] polotek: that regex was off the top of my head. I'm sure it's not correct for what you need [21:57] mykul|Home has joined the channel [21:57] polotek: my point is doing RegExp(text) is almost certainly *not* what you need [21:58] mykul|Home has joined the channel [21:58] paul__ has joined the channel [21:59] mykul|Home has joined the channel [21:59] mykul|Home has joined the channel [22:00] Nexxy has joined the channel [22:00] Nexxy has joined the channel [22:00] mykul|Home has joined the channel [22:01] mykul|Home has joined the channel [22:01] skript has joined the channel [22:01] mykul|Home has joined the channel [22:01] dob_: polotek: Okay then i try to solve my problem. [22:02] cole_gillespie has joined the channel [22:02] mykul|Home has joined the channel [22:02] polotek: dob_: is your problem coming up with a good regex? or am I missing something about what you're trying to do? [22:03] mykul|Home has joined the channel [22:03] dob_: i have the problem that the input comes from a input field via now.js. But if i enter a dot or another symbol my mongodb select fails. So i try to filter everything which is "strange" [22:03] mykul|Home has joined the channel [22:04] mykul|Home has joined the channel [22:05] mykul|Home has joined the channel [22:05] gautema has joined the channel [22:06] EvRide has joined the channel [22:07] ceej: should I really be letting expressjs compile views etc…? or should i just compile myself and serve? [22:09] Insekticid: Hey, anyone using BDD? [22:10] mykul|Home: sorry about the flooding [22:10] polotek: dob_: yeah, so you just need a better regex :) [22:10] polotek: Well if you're getting foreign input you definitely want to filter to a small whitelist [22:10] febits has joined the channel [22:11] polotek: rather than trying to blacklist all characters you can think of [22:11] schwab has joined the channel [22:11] polotek: So if you only want alphanumeric content it probably looks something like this. [22:11] mrdoodles has joined the channel [22:11] jhbot has joined the channel [22:13] polotek: var re = /^[a-zA-Z0-9]+$/ [22:13] polotek: if you want to allow spaces or underscores [22:14] polotek: var re = /^[a-zA-Z0-9_\s-]+$/ [22:15] polotek: note that \s includes other whitespace like tabs and newlines. maybe not what you want [22:16] gxdssoft has joined the channel [22:18] dmkbot has joined the channel [22:18] mynameisbender has joined the channel [22:19] mike5w3c has joined the channel [22:19] jslatts has joined the channel [22:19] dmkbot has joined the channel [22:20] dmkbot: joyent/node: Pita: Can't do process.on('SIGINT' with 0.5.4 on windows - https://github.com/joyent/node/issues/1553 [22:22] dmkbot has joined the channel [22:24] dmkbot: joyent/node: Pita: Can't do process.on('SIGINT' with 0.5.4 on windows - https://github.com/joyent/node/issues/1553 [22:24] vicapow has joined the channel [22:25] kenperkins has joined the channel [22:26] Aphelion has joined the channel [22:26] jacobolus has joined the channel [22:29] BillyBreen has joined the channel [22:31] __sorin__ has joined the channel [22:32] losing has joined the channel [22:35] dmkbot: joyent/node: Pita: Can't do process.on('SIGINT' with 0.5.4 on windows - https://github.com/joyent/node/issues/1553 [22:36] dmkbot: joyent/node: Pita: Can't do process.on('SIGINT' with 0.5.4 on windows - https://github.com/joyent/node/issues/1553 [22:37] jkwiii has joined the channel [22:37] radiodario has joined the channel [22:39] kriszyp has joined the channel [22:40] shanebo has joined the channel [22:40] garrensmith has joined the channel [22:44] patcito has joined the channel [22:45] enmand has joined the channel [22:45] mikeal has joined the channel [22:47] No9 has joined the channel [22:48] matyr has joined the channel [22:50] shanebo: hey guys, I'm playing with node on linode (ubuntu 10.04) and I'm wondering how to keep a node server running after I logout of ssh? [22:51] d3x7r0: shanebo: try forever [ http://blog.nodejitsu.com/keep-a-nodejs-server-up-with-forever ] [22:51] d3x7r0: guys how can I get the current page URL on a view in express? [22:52] c4milo1: shanebo: you can also write an upstart script [22:53] maushu has joined the channel [22:54] willwhite has joined the channel [22:55] antono has joined the channel [22:55] ingenthr has joined the channel [22:56] Cromulent has joined the channel [22:57] MarkMenard has joined the channel [22:58] c4milo1 has joined the channel [22:59] jacobolus has joined the channel [23:00] mykul|Home has joined the channel [23:03] bnoordhuis has joined the channel [23:05] davidbanham has joined the channel [23:07] nimstr has joined the channel [23:09] Cromulent has joined the channel [23:10] robot_jesus: shanebo, or, nohup :P [23:10] klj613: why is installing npm is impossible? -.- [23:11] robot_jesus: are you on windows ? [23:11] schwab has joined the channel [23:11] klj613: ubuntu [23:13] Marak: does anyone with an ipad want to help me fix some layout issues with http://docs.nodejitsu.com/ ? I don't have the hardware, unsure how to test. [23:13] Marak: :-( [23:14] blup has joined the channel [23:14] Insekticid: robot_jesus: What version? 11.04? [23:15] Prometheus: Marak: what's the problem? [23:15] EvRide1 has joined the channel [23:15] bicranial has joined the channel [23:15] Insekticid: Eh, sorry [23:15] Insekticid: klj613: What version? 11.04? [23:15] Marak: Prometheus: i got reports that the layout was looking odd, and i got a report that you cant close the toc menu ( should close if you click anywhere outside the toc ) [23:16] klj613: Insekticid: yes [23:16] Prometheus: Marak: yeah, the toc doesn't close [23:16] Prometheus: unless you click on the links, obviously [23:16] Insekticid: klj613: curl http://npmjs.org/install.sh | sh [23:17] Marak: Prometheus: i have a click event on body that does a delegation based on tagName [23:17] ingenthr has joined the channel [23:17] Marak: Prometheus: im unsure why it doesnt work on ipad, and my normal debugging techniques involve a web console [23:17] Marak: Prometheus: i dont know how makes ipads [23:17] Marak: Prometheus: only webscale [23:18] __sorin__ has joined the channel [23:18] klj613: Insekticid: i'll try that again. already tried about 5 times, followed about 4 tutorials to the exact command.. it just hangs abit then i get alot of errors [23:19] Insekticid: klj613: Can you post these errors on pastie.org? [23:19] Prometheus: Marak: would this have anything to do with it: http://www.danwellman.co.uk/fixing-jquery-click-events-for-the-ipad/ ? [23:19] blup has joined the channel [23:19] Prometheus: though not very elegant [23:19] Marak: Prometheus: maybe, but without having a way to test, it might as well be a tutorial on klingon [23:20] mrdoodles: Marak: simulator? [23:20] Prometheus: Marak: if you are on macs, there should be a simulator for ipad [23:20] Marak: mrdoodles: link? i have no clue [23:20] Prometheus: on mac* [23:20] Marak: googling [23:20] Prometheus: I think xcode contains one [23:20] Prometheus: if I'm not mistaken [23:20] mrdoodles: yes, it does. [23:20] shanebo: d3x7r0, c4milo1 thanks for the ideas guys [23:20] blueadept has joined the channel [23:20] willwhit_ has joined the channel [23:21] Prometheus: Marak: but if you want, you can just ping me when you've made changes and I can test it on my iPad [23:21] klj613: Insekticid: http://pastie.org/2478225 [23:21] mrdoodles: yeah individual items on the docs page are borked [23:22] d3x7r0: Marak: I think you can make safari for osx/windows to pretend it's an iPad. Not sure how much that helps though [23:22] Prometheus: Marak: however, as far as the layout goes, it looks fine for me [23:22] Prometheus: though I'm on iPad 2 [23:22] Marak: d3x7r0: hrmm? [23:22] Insekticid: klj613: What is your node version? [23:22] cole_gillespie: Marak, are you on mac? [23:23] Marak: aye [23:23] klj613: Insekticid: 0.5.6-pre [23:23] Insekticid: klj613: try it with v0.5.5 [23:24] klj613: Insekticid: how would i get a specific version? [23:24] Insekticid: klj613: install Node Version Manager [23:24] Prometheus: Marak: though the background image separating the navigation and the content is actually not showing up [23:24] Prometheus: there's a pretty easy fix for that I think [23:24] Marak: Prometheus: yeah... [23:24] Insekticid: klj613: https://github.com/creationix/nvm [23:25] Prometheus: oh, now that there's more people active here, should I prefer nvm or nave? or does it really even matter? :) [23:25] Marak: i dont have time to download and install all this stuff now, i was hoping for a quick dmg [23:25] Marak: im gonna take a look later, maybe buy an ipad [23:25] Marak: >., [23:26] Marak: >.< [23:26] Marak: fuck it, back to hook.io commits for the day [23:26] pt_tr has joined the channel [23:26] Marak: Prometheus: could you take a screenshot? im gonna open up an issue at https://github.com/nodejitsu/docs/issues/ , would help me [23:27] Marak: of the bad layout [23:27] Insekticid: Insekticid: or if you want only quick solution, remove your current node and try to follow this commands http://pastie.org/pastes/2478241/text [23:27] Prometheus: Marak: for the layout? [23:27] Prometheus: Marak: sure [23:27] Marak: Prometheus: thank you [23:27] Insekticid: omg [23:27] Prometheus: Marak: np [23:27] Insekticid: klj613: or if you want only quick solution, remove your current node and try to follow this commands http://pastie.org/pastes/2478241/text [23:27] klj613: Insekticid: thanks [23:28] Insekticid: *these [23:28] Insekticid: klj613: you're welcome [23:28] zemanel_ has joined the channel [23:29] mrchess has joined the channel [23:31] Marak: Prometheus: anything? [23:31] Marak: i got the issue ready to open [23:31] blueadept has joined the channel [23:31] blueadept has joined the channel [23:32] shipit has joined the channel [23:33] hij1nx has joined the channel [23:35] jbrokc has joined the channel [23:35] ryanfitz has joined the channel [23:35] Prometheus: Marak: sorry, chrome crashed on me, doing it again [23:35] Prometheus: just a sec [23:36] davidbanham has joined the channel [23:37] Croms: How can I find out if a certain npm package exists from the command line? [23:37] DrMcKay: Croms: npm search [23:38] abiii has joined the channel [23:38] Prometheus: Marak: https://github.com/nodejitsu/docs/issues/36 [23:38] Croms: DrMcKay: Cheers! [23:38] hij1nx_ has joined the channel [23:39] Marak: ohh Prometheus i have issue already i just need image :-D [23:39] jhurliman has joined the channel [23:39] Prometheus: Marak: oh, sorry :) [23:39] Prometheus: what's the issue #? [23:39] Prometheus: I'll post it there, you can close mine :) [23:39] Marak: was waiting for image [23:40] Prometheus: alright, well grab the image there :) [23:40] Prometheus: I've placed it inline, didn't realize ! made the difference between a link and an image [23:40] shanebo: hey guys anyone have trouble using npm globally on ubuntu 10.04? [23:41] Marak: Prometheus: cool thanks, https://github.com/nodejitsu/docs/issues/37 [23:41] Marak: :-) [23:41] Marak: now maybe someone will fix it! [23:42] Prometheus: Marak: cool :) [23:42] Prometheus: I might be able to if I find the bookmark I had for this particular issue [23:43] elliottcable: lol Marak [23:43] tar_ has joined the channel [23:44] cccaldas_ has joined the channel [23:44] balaa has joined the channel [23:44] DrMcKay: Marak: what if you would try replacing body.onClick with whateverLeftPanelIsCalled.onMouseLeave? [23:45] Marak: DrMcKay: then who was test? [23:45] DrMcKay: ah, no, nvm [23:45] Nuck has joined the channel [23:45] DrMcKay: it doesn't work that way [23:45] Marak: i dont have a device here or simulator installed yet [23:45] ryanfitz has joined the channel [23:45] DrMcKay: no, it does [23:45] Marak: either way i gotta update like 8 hooks to use 0.7.x branch [23:46] eazyigz has joined the channel [23:46] Croms has joined the channel [23:46] DrMcKay: Prometheus: would you be able to set up a server locally and check something? [23:47] DrMcKay: ah, no, it's already there [23:47] DrMcKay: no, nvm again [23:48] DrMcKay: wait, what? iPad just decided to not give a fuck about two events? [23:48] AndrewX192 has joined the channel [23:49] Prometheus: ? [23:49] Prometheus: DrMcKay: check what [23:49] infynyxx_ has joined the channel [23:50] DrMcKay: Prometheus: no, nothing, I didn't notice it's already in there, sorry [23:50] Prometheus: alright [23:50] fmeyer has joined the channel [23:51] mavus has joined the channel [23:52] zcopley has joined the channel [23:53] kiffness has joined the channel [23:56] JulioBarros has joined the channel [23:57] JaKWaC has joined the channel [23:57] MrNko has joined the channel [23:58] Nuck: Hola chat