[00:00] kdng-saleem3 has joined the channel [00:01] Intel_iX has joined the channel [00:02] Intel_iX: has anyone been clever enough to make a network spooler? [00:02] Intel_iX: I'd assume it's simple but I didn't see one on the modules page [00:03] cl0udy has joined the channel [00:05] qbert_: jonaslund, same - I dont think it matters much on linux though, youre probably going to 99% windows users [00:05] qbert_: jonaslund, I wouldnt spend a lot of time on it :S [00:06] tmzt_: Intel_iX: a what? [00:06] opus_ has joined the channel [00:06] tmzt_: xerox: you're queries are supposed to hang [00:06] opus_: hello everyone [00:07] tmzt_: or you don't have a connection, mongoose will hang and wait for one [00:07] opus_: I want to write a node js web service that runs a command, and streams the output (which is continious) to a browser. I think Node.JS would be best for this [00:07] opus_: curious, how would I learn how to do this? [00:08] tmzt_: start writing and ask when you get stuck [00:08] tmzt_: security an sanitization are going to be your biggest concerns [00:08] thriple: when you know the question, you will know your answer :) [00:08] tmzt_: if you can, make it a a c++ model isntead [00:08] tmzt_: module [00:08] xerox: tmzt_: and when I am done, what do I do? [00:08] tmzt_: run it [00:08] tmzt_: use it [00:08] xerox: I mean it is connected [00:08] opus_: well, I tried writing a small node.js command line, but it can't contionusly print the output. It appears it waits until the commands done before printing anything. [00:08] xerox: the open event is fired [00:09] xerox: I am doing the .find inside the callback of the connection.on('open', ...) [00:09] opus_: via the require('child_process').exec function, and passing a "puts" as the second argument (with function puts(er,stdo,err) {sys.puts(stdout))} [00:09] jonaslund: qbert_: both of the files got a floating point exception ? [00:10] opus_: do I need to run it as a childprocess? [00:10] tmzt_: not sure puts is needed, can't you get a stream and pipe that to the browser [00:10] DavidElias has joined the channel [00:10] tmzt_: if you don't nee3d to handle stdin input it should be easier [00:10] opus_: nope, no stdin [00:10] jonaslund: qbert_: how about http://www.jlim.se/testni.chm then ? [00:11] Swizec has joined the channel [00:11] xerox: tmzt_: I tried using .connect instead of .createConnection and it works [00:12] xerox: I'll stick with the first way from now on [00:12] opus_: well, the problem is puts doesn't stream output; in fact it doesn't display anything. "ls -la" works, but for example "cat /dev/zero" doesn't [00:13] opus_: is there a way to send each line as the child_process dumps it into stdout? [00:15] DTrejo: opus_: yes [00:15] DTrejo: looking it up [00:15] DTrejo: opus_: http://nodejs.org/docs/v0.4.10/api/all.html#child_process.spawn [00:16] carmony has joined the channel [00:16] fostah has joined the channel [00:17] slifty_corsair has joined the channel [00:20] sweetd has joined the channel [00:20] opus_: DTrejo, thanks, works perfectly [00:21] tmzt: opus_: you can combine with long polling if the process needs to keep running [00:21] Swimming_bird has joined the channel [00:21] tmzt: a minimal implementation is as simple as keeping around an array or Request objects [00:21] tar_ has joined the channel [00:21] liar has joined the channel [00:21] tmzt: and serving each when it gets data on the connected process [00:21] opus_: any pointers to where I can now start to stream this to a web browser? [00:22] opus_: websockets? [00:22] tmzt: you might need to wrap it in another structure (and closures) [00:22] tmzt: that's an otpion, but probably overkill [00:22] opus_: man, I am such a newbie [00:22] tmzt: what kind of application are you running' [00:22] Darrow_ has joined the channel [00:22] opus_: Just a monitoring program [00:22] tmzt: what does it output and how often [00:22] opus_: it outputs about 1 line ever second [00:22] opus_: every second [00:22] tmzt: ws could be good, do you have control over the browser that's used? [00:23] opus_: Yes, just chrome [00:23] jameson: does anyone know if async.forEach will never return if you never do the callback? [00:23] tmzt: you could also try socket.io or even easier, dnode [00:23] opus_: and probably firefox [00:23] Darrow_: Not exactly a node question, but how do you use node-tap to compare array output? [00:23] opus_: ok [00:23] opus_: thanks [00:23] MGT has joined the channel [00:23] Darrow_: It seems to only compare the object itself, but I need it to compare the values in my arrays. [00:24] opus_: Nice, dnode [00:26] michaelhartau has joined the channel [00:28] unlink has joined the channel [00:28] unlink has joined the channel [00:33] Swizec has joined the channel [00:35] zackattack has joined the channel [00:35] zackattack: what's the spot to hire for nodejobs? [00:35] zackattack: nodejobs.com is dead [00:36] ryanj: this is the place [00:36] tmzt: jobs.nodejs.org? [00:36] eastender has joined the channel [00:36] losing has joined the channel [00:36] opus_: is npm sometimes buggy? I installed dnode but it can't find the module. [00:36] opus_: Should I run the latest beta npm? [00:36] brownies has joined the channel [00:37] markmarkoh has joined the channel [00:37] stracK has joined the channel [00:37] opus_: node -e require.paths doesn't list /usr/local/lib/node_modules which I think it needs? [00:37] tmzt: require.paths isn't used anymore [00:37] harthur has joined the channel [00:37] opus_: ohh [00:38] konobi: tmzt: it's there, but it's readonly, iirc [00:38] ecin has joined the channel [00:38] konobi: unless isaacs changed it again more recently [00:38] zackattack: i'll try jobs.nodejs.org [00:39] willwhite has joined the channel [00:39] zackattack: Only $100 eh? [00:39] tmzt: zackattack: listend to ryanj [00:39] zackattack: ryanj: ok :) [00:39] zackattack: Looking to hire a freelance contractor to help with CompassionPit.com [00:39] zackattack: Pay varies on experience with Node.js and Socket.IO [00:39] zackattack: and Developer's communication skills [00:40] zackattack: Code is available to peruse at https://github.com/zackster/CompassionPit--Node-/ -- it's clean and nice [00:41] ngs has joined the channel [00:41] ryanj: zackattack: do you have a 'jobs' page on your site? location? [00:41] zackattack: ryanj: San Francisco but telecommuting is fine [00:43] Intel_iX has left the channel [00:45] zackattack: ryanj: email is zachary@awesomenessreminders.com [00:46] k1ttty has joined the channel [00:46] ryanj: sounds interesting. I'm not quite available, but I'll send people your way if I hear anyone ask. jobs.GitHub.com might be another option for you [00:46] zackattack: good =) [00:46] mikeal has joined the channel [00:47] sethetter has joined the channel [00:47] neoesque has joined the channel [00:47] jstroem has joined the channel [00:50] newy_ has joined the channel [00:51] kdng-saleem3 has joined the channel [00:52] sonnym has joined the channel [00:54] fdenbow has joined the channel [00:57] d0k has joined the channel [00:59] stracK has joined the channel [00:59] fostah has joined the channel [01:00] softdrink has joined the channel [01:02] kdng-saleem3 has joined the channel [01:04] andersonfreitas has joined the channel [01:08] softdrink: anyone using coffeekup with connect? [01:09] seivan has joined the channel [01:10] kdng-saleem3 has joined the channel [01:10] radiodario has joined the channel [01:11] zackattack has joined the channel [01:13] halfhalo-work has joined the channel [01:13] zackattack_ has joined the channel [01:13] jakehow has joined the channel [01:13] bradleymeck has joined the channel [01:14] colinclark has joined the channel [01:15] fattytuna has joined the channel [01:16] minimalist has joined the channel [01:18] kofno has joined the channel [01:19] pyro1 has joined the channel [01:20] saurabhverma1 has joined the channel [01:23] odie5533: connect? [01:23] eignerchris has joined the channel [01:25] saurabhverma has joined the channel [01:26] realazthat has left the channel [01:30] Nuck: odie5533: Express? [01:30] gavin_huang has joined the channel [01:32] elliottcable has joined the channel [01:33] blueadept: is there a tool that converts javascript to coffeescript? [01:33] Nuck: Not AFAIK [01:33] Nuck: And I'm glad. [01:34] Nuck: There's a better way to write JS than using CS. It's called learning JS :P [01:34] broofa has joined the channel [01:34] chjj: this^ [01:35] saurabhverma has joined the channel [01:35] chrisdickinson: hahah [01:36] blueadept: found one: http://ricostacruz.com/js2coffee/ [01:36] Guest44646 has joined the channel [01:36] blueadept: works pretty good [01:36] chjj: nuck's solution is still better [01:36] Nexxy: oh looks like you won't have to actually learn JS after all [01:36] Nexxy: good on ya [01:36] blueadept: ha [01:36] sorensen: convert JS to CS so it can convert to JS... [01:36] sorensen: ~.^ [01:36] Nexxy: blueadept, are you sure you weren't looking for #RoR? [01:37] Nuck: sorensen: Silly, isn't it? [01:37] sorensen: a little [01:37] chrisdickinson: ACTION sighs. [01:37] sorensen: strange if nothing else [01:38] chrisdickinson: next time i look into this room, I won't be surprised if Nuck has taken to hitting coffeescript users with bars of soap in socks. [01:38] Nexxy: I think the word you're looking for is, "retarded" [01:38] sorensen: well, i think that is stepping some boundaries [01:38] Stythys has joined the channel [01:38] sorensen: not that i have anything against calling things retarded [01:38] Nexxy: cs -> js -> cs [01:39] Nuck: chrisdickinson: Soap? Socks? No, I use burlap sacks with bricks. [01:39] Nexxy: yes, that's retarded [01:39] chjj: nuck, no, use a lock in a sock [01:39] chrisdickinson: I mean, I appreciate that you don't like CS; that's fine. I don't like ruby, but I don't actively antagonize ruby users. [01:39] sorensen: id rather not this chan be filled with flaming or insults [01:39] sorensen: save it for ##javascript [01:39] chrisdickinson: sorensen: same here. [01:39] sorensen: :) [01:39] Nexxy: ACTION rolls eyes [01:40] maushu_ has joined the channel [01:40] Nuck: lol Y U ANTAGONIZE MY ANTAGONIZING? [01:40] chjj: i would love to antagonize ruby users if i got the chance, whats wrong with you? [01:40] sorensen: lol [01:40] Nexxy: halp! I'm being antagonized over my desire to do stupid things with javascript! [01:40] Nexxy: please save me from the chore of actually having to learn the language I want to charge people to write for them! [01:40] sorensen: flaming someone will make them less likely to ask for help in the future [01:40] chjj: next april fools, ryan should rewrite all of core in coffeescript [01:41] sorensen: unless that is your intent [01:41] sorensen: chjj: that would be funny as all hell [01:41] Nuck: chjj: YES YES YES YES [01:41] chrisdickinson: Nexxy: not really always the case; I use (and love!) js, but I like CS a lot too. [01:41] Nuck: I WOULD GIGGLESHIT [01:41] blueadept: agreed [01:42] Nexxy: chrisdickinson, I don't begrudge you for that! but srsly, converting js to cs?? [01:42] Nuck: CS has some good things [01:42] Nuck: But the majority are bad [01:42] sorensen: Nexxy: yes, its obviously not the best of ideas, but... stay classy about it yeah? [01:42] chjj: the class syntax is lol [01:42] chjj: and extra lol on top [01:42] EvRide has joined the channel [01:42] benmonty has joined the channel [01:42] chjj: and some on the side [01:43] Nexxy: sorensen, I'll do my best ;3 [01:43] sorensen: :P [01:43] chjj: "in case you dont understand prototypes, heres some classes" [01:43] Nuck: CS has shitty syntax by nature [01:43] TooTallNate has joined the channel [01:43] Nuck: And classes vs. prototypes don't affect me, I stick to closures more :P [01:43] mrryanjohnston has joined the channel [01:43] Nuck: I abuse closures like a priest absuing a choir boy. [01:43] chjj: nuck: it doesnt really make much sense to "pick" one over the other [01:43] sorensen: lol! [01:43] chjj: they each have their uses [01:44] michaelhartau has joined the channel [01:44] sorensen: that needs to go on a quote board somewhere [01:44] Nuck: I use the modular structure of closures [01:44] Nexxy: and somehow I'm the one that should "stay classy" [01:44] Nexxy: let's use analogies of sexual abuse! [01:44] Nexxy: that's acceptable. [01:44] sorensen: yes, because your comment was directed towards a fellow programmer [01:44] chjj: closures are also not the equivalent of prototypes either [01:45] Nexxy: sorensen, I invite you to re-read my comments [01:45] chjj: you can do inheritence properly for example [01:45] chjj: you cant just choose to use closures for everything, at some point youre going to have to use prototypes [01:45] sorensen: i'm just thinking of the guy who asked the question Nexxy, i'm sure he didnt feel too good about the response [01:45] sorensen: it wasnt about him being wrong, its just the approach taken to tell him so [01:46] chjj: i didnt feel to good about his question [01:46] chjj: were even [01:46] sorensen: ACTION implying he was wrong not knowing the use case [01:46] chrisdickinson: I kind of got a "hazing" feeling from the comments, too. [01:46] chjj: no, i feel no remorse for cs users anymore [01:46] chjj: or cs [01:46] chjj: =/ [01:46] jzacsh has joined the channel [01:46] michaelhartau has joined the channel [01:46] sorensen: never bothered to learn CS [01:46] Nexxy: are you talking about my comments specifically? [01:46] Nuck: chjj: They're like Asian people, don't feel sorry for them. [01:46] Nexxy: wow [01:47] chjj: what? [01:47] sorensen: ... [01:47] Nuck: [01:47] chjj: lol wow [01:47] jzacsh has joined the channel [01:47] Nexxy: ok you're seriously accosting me over my comments whilst nuck continues to spew hateful bs? [01:47] Nexxy: lol [01:47] chjj: rofl! [01:47] sorensen: i can only type so fast... [01:47] Nuck: Nexxy: I'm trolling ;) [01:47] chjj: nah, nexxy was definitely the worst [01:47] chjj: shes so cruel [01:47] abraxas has joined the channel [01:47] michaelh_ has joined the channel [01:47] Nuck: vile person, Nexxy. [01:47] Nexxy: yeah oh ok, "trolling" makes it O.K. That's what I was forgetting. silly me with my genuine concern for someone doing it wrong [01:47] chrisdickinson: Nexxy: I'm just saying, keep it classy -- you might not like CS, but every time CS comes up, there's a tidal wave of people just... bashing the person for their choice. [01:47] Nuck: How could you say such hatefuly things :P [01:47] sorensen: yeah wtf can we get back on topic? [01:48] cccaldas has joined the channel [01:48] chjj: chrisdickinson: thats a very good thing [01:48] Nuck: Right. What's the topic again? [01:48] vns has joined the channel [01:48] chjj: very inspiring to me [01:48] Nuck: Is this #boobs? [01:48] sorensen: or even just stop the racial slurs and hazing? [01:48] Drakonite has joined the channel [01:48] Nexxy: chrisdickinson, let me make this clear for you... the only thing I made a comment on, was the idea of converting javascript into coffeescript... just so you could "Compile" it again when it runs. [01:48] chjj: knowing that people are standing up against that shit [01:48] chjj: rofl [01:48] sorensen: Nexxy: it was just implying that the person asking the question was retarded for doing it [01:48] chrisdickinson: Nexxy: fair enough. I was talking about the comments in general. [01:48] Nexxy: pretty sure talking about cs/js is way more on-topic than abusing choir boys and making ignorant comments toward asians [01:49] Nuck: SorellaWell they WERE. [01:49] Nuck: err, sorensen. [01:49] Nuck: Sorella: sorry. [01:49] sorensen: ACTION is not your sister [01:49] sorensen: :P [01:49] sorensen: Nexxy: agreed [01:49] chjj: well its not necessarily "ignorant", biased, unsubstantiated, hateful, racist [01:49] saurabhverma has joined the channel [01:49] chjj: not *necessarily* "ignorant", people use that word too generally [01:49] Nexxy: all of those things require a certain level of ignorance [01:49] Nexxy: ;P [01:50] balupton has joined the channel [01:50] chjj: eh [01:50] chjj: maybe [01:50] Nuck: chjj, Nexxy: /ignorant/trolly/s [01:50] chjj: but i think theres more descriptive words i guess [01:50] Nexxy: you can rename it all you like [01:50] Nexxy: it's the same concept [01:50] Nexxy: you're being disruptive [01:50] Nexxy: stop. [01:50] chjj: im not renaming it, im using better words to describe it [01:50] balupton has left the channel [01:50] Nexxy: not you chjj lol [01:50] Nexxy: I was talking to Nuck ;P [01:50] Nuck: chjj: I loled [01:50] chjj: oh [01:50] Nexxy: he wants to call it "Trolling" liek that makes it O.K. [01:51] Sorella: Nuck, Perhaps she is though :3 [01:51] jshaw has joined the channel [01:51] Nuck: I'll stop trolling, k? :P [01:51] EvRide1 has joined the channel [01:51] Nexxy: :) [01:51] Nexxy: <3 [01:51] sorensen: or... go to 4chan and troll all day [01:51] mrryanjohnston: easiest linux install: archlinux [01:51] chrisdickinson: I just feel uncomfortable with the somewhat condescending / disgusted theme in regards to CS. It doesn't fit with my perception of the node community at large (generally helpful, nice folks!) [01:51] chrisdickinson: ACTION is done soapboxing. [01:51] mattp_ has joined the channel [01:52] tmzt: it's just a notation [01:52] Nuck: chrisdickinson: Well, yeah. CS is just that one thing we don't like. [01:52] sorensen: and by 'we' you mean... [01:52] Nuck: Everybody has their dislikes. [01:52] Nuck: And CS is just a vile beast raping JS in the ass. [01:52] chjj: chrisdickinson: cs is bad, the people advocating it are doing a disservice to those who have just entered the js community, and the people using it should be shamed until they realize the error of their ways [01:52] Nexxy: considering there are at least a few heavy contributors that use cs [01:52] Nexxy: I'd say "we" is a little out of place in that sentence [01:52] Nuck: Ruining out beautiful language. [01:52] jerrysv has joined the channel [01:52] Nuck: *our [01:53] sorensen: the user doesnt care what you use to make it work [01:53] Nuck: We are not hating those who use CS [01:53] tmzt: cs expresses the core concepts of event-driven programming more succinctly [01:53] Nuck: Nay, we are PITYING them. [01:53] chjj: but what am i saying, nexxy is the one giving everyone shit [01:53] Nexxy: yeah, thanks. [01:53] chjj: :) [01:53] ggg has joined the channel [01:53] chrisdickinson: Nuck: chjj: if you don't like the language, that's fine. advocating public ridicule is... disappointing. [01:53] Nexxy: lol [01:53] Nuck: And advising them to merely switch to JS. [01:53] Nexxy: ACTION coughs [01:53] mrryanjohnston: cs...? [01:53] mrryanjohnston: computer science? [01:53] Sorella: Indeed, ParenScript is much better. [01:53] Nuck: CoffeeScript :P [01:53] mrryanjohnston: oh [01:53] mrryanjohnston: haha [01:53] mrryanjohnston: I was gonna say. [01:54] chjj: chrisdickinson: why? why cant a person be worthy of ridicule? [01:54] Nuck: Somebody make a LISP to JS compiler [01:54] ggg: anyone familiar using connect-auth with facebook? [01:54] Sorella: you mean ANOTHER? [01:54] bnoguchi has joined the channel [01:54] sorensen: Sorella: sup sista? [01:54] shanebo has joined the channel [01:54] EvRide has joined the channel [01:54] chrisdickinson: chjj: advocating public ridicule due to choice of language is pointless. it doesn't help any cause. [01:54] Nexxy: I agree with chjj and chrisdickinson here... [01:55] Nexxy: ridicule isn't an appropriate solution [01:55] Nexxy: showing someone how silly what they're trying to do is perfectly acceptable IMHO [01:55] Nuck: I do not ridicule [01:55] chjj: says nexxy [01:55] shanebo: run roh… what did I talk into? [01:55] Nuck: I merely tell them that CS sucks ass. [01:55] Stythys has joined the channel [01:55] sorensen: ... [01:55] Nexxy: chjj, my intention was to playfully prod him in the right direction, not "publicly ridicule" [01:55] vns has joined the channel [01:55] tbranyen: Meh use the tools how you will, not for me tho [01:55] Nuck: Which is, I believe, an undeniable fact. [01:55] chjj: nexxy does need to cool it with that stuff though [01:55] _jhs has joined the channel [01:55] tbranyen: some good stuff has been written in cS [01:55] Nexxy: so I apologize if that's how it came across... although it's interesting that the user that I supposedly "ridiculed" hasn't said anything to me [01:56] sorensen: i think you scared him off [01:56] sorensen: :P [01:56] chjj: yeah =/ [01:56] Nuck: tbranyen: The same can be said for Java and Ruby and AS3 and any other language [01:56] chjj: jeez nexxy [01:56] tbranyen: Yeah Java is pretty great imo [01:56] Nexxy: or maybe the giant argument that erupted over their silly question [01:56] chrisdickinson: Nexxy: I'm not trying to call you out in particular. I'm just trying to get people to be a bit more civil to CS users :) [01:56] AvianFlu has joined the channel [01:56] Nuck: I dislike Java for the heavy VM [01:56] Sorella: CS is an interesting language, with terrible scoping rules, useless class syntax and a broken compiler. Interesting nonetheless. [01:56] chjj: im so glad i made myself unlearn java [01:56] tbranyen: chjj: yeah glad my college taught it [01:56] tbranyen: wait [01:56] tbranyen: lol [01:56] tbranyen: unlearn? [01:56] Nuck: I'm so glad I decided not to take programming classes at my college :P [01:56] tbranyen: are you kidding [01:57] chjj: no, not at all [01:57] tbranyen: java instilled the foundations of OOP for me [01:57] sorensen: i have no use of CS, doesnt mean i can't appreciate what its trying to accomplish [01:57] Nuck: I learned OOP through JS and PHP [01:57] Nuck: Two of the most crippled OOP languages [01:57] chrisdickinson: Nexxy: and I agree with you, if someone is doing something silly, it's totally okay to show them why it's silly. but being friendly and helpful about it will make the lesson more likely to stick, and the community will be a lil' bit stronger for it. [01:57] tbranyen: i'm not hipster enough to hate on java [01:57] chjj: im glad my college taught it, the sooner i learned it, the sooner i could decide i didnt like it and moved on to something else [01:57] pyro1 has joined the channel [01:57] _jhs has left the channel [01:57] tmzt: I think i dropped into #android or something by mistake (no hate on them though :)) [01:57] sorensen: haha only hipsters hate on java nowadays? [01:58] Nexxy: let's just skip to the part where we all start breaking things [01:58] chjj: i never understood why cs courses are so eager to teach java [01:58] Sorella: ACTION hates on verbosity in any language. [01:58] jonaslund: chjj: "industry" [01:58] tbranyen: "social conformity" [01:58] chrisdickinson: Nexxy: time to break out the brainfuck / befunge skillz? [01:58] jonaslund: tbranyen: you were interested in the chm manual ? [01:58] Sorella: OOP in JS is not really crippled (for all implementations that support ES5) [01:58] Nuck: chjj: They have courses in CS? [01:58] tbranyen: jonaslund: yeah [01:58] Nexxy: chrisdickinson, omfg, language. [01:59] saurabhverma has joined the channel [01:59] jonaslund: tbranyen: http://www.jlim.se/nodetest.chm [01:59] chjj: nuck: yeah theres coffeescript courses all over ;) [01:59] Nuck: chjj: :P [01:59] tmzt: csharp? [01:59] sorensen: ladies, your all pretty [01:59] tmzt: is that like asp [01:59] dherman has joined the channel [01:59] tbranyen: c# is amazing too [01:59] Nuck: sorensen *you're [01:59] tbranyen: too bad its MSFT [01:59] tbranyen: i haven't messed with mono yet [02:00] tmzt: MVC is pretty good and the language is not bad [02:00] Nexxy: I got myself rooted with mono! [02:00] Nexxy: that stuff is dangerous [02:00] tbranyen: tmzt: thats asp.net [02:00] tbranyen: Nexxy: sorry you can't secure a system [02:00] Nexxy: "can't"? [02:00] jonaslund: tbranyen: on win7/vista you need to unblock the file because of it's internet origin [02:00] Nexxy: I literally installed it [02:00] Nuck: I can't secure my systems either, TBH [02:00] tbranyen: jonaslund: i use linux [02:00] Nexxy: was learning how to configure it [02:01] Nexxy: went to bed [02:01] Nexxy: woke up [02:01] Nexxy: rooted [02:01] jonaslund: tbranyen: chmsee ? (qbert had problems with my file) [02:01] tbranyen: yeah exactly, thats pretty sad you leave your computer on all night just waiting to get hacked [02:01] tmzt: tbranyen: I know, was psuedotrolling [02:01] Nexxy: lol wow [02:01] Nexxy: is everyone ragging today or what? [02:01] Nexxy: jfc get over yourselves [02:01] Nexxy: lol [02:02] Nuck: Nexxy: NAh, you're the only one who's ragging. [02:02] sorensen: ACTION raaage [02:02] Nuck: damn ragger [02:02] Nexxy: yeah, speaking of which brb [02:02] jonaslund: tbranyen: there's a "magic" file in CHM files that i'm not generating properly apperantly [02:02] tbranyen: jonaslund: like a manifest? [02:02] jonaslund: tbranyen: or well.. windows chm viewer accepts my file but chmsee doesn't [02:03] EvRide has joined the channel [02:03] jonaslund: tbranyen: *shrugs* , it's a binary file called #SYSTEM , i looked at how the open source chmc tool and compared the binary to what mshtml generates [02:03] jonaslund: looked at how the chmc tool generates the file [02:03] kofno has left the channel [02:04] saurabhverma has joined the channel [02:05] harthur has joined the channel [02:05] jonaslund: anyhow.. i got the structure into a decent shape, just need to make that last compability snafu go away [02:05] AvianFlu has joined the channel [02:05] tbranyen: did you change back to fs.readFile style [02:05] tbranyen: or is it still readFile? [02:06] jonaslund: fs.readFile now [02:06] socketio\test\90 has joined the channel [02:07] jonaslund: I think i'll add both when i get to the polish stage [02:07] jonaslund: fs.readFile -> directly to the topic... readFile goes to the topic aswell but if you have a collision (write f.ex.) i'll either add suffixes so you can see it in the list or make a link to an intermediate page [02:07] CIA-94: libuv: 03Ryan Dahl 07master * rddee182 10/ (test/run-tests.c test/test-list.h test/test-spawn.c): Add spawn_stdout test - https://github.com/joyent/libuv/commit/ddee1821fab5f9f5ffa957fbc870caa25239304c [02:08] mikeycgto has joined the channel [02:12] KenStewart has joined the channel [02:13] EvRide has joined the channel [02:14] chrisdickinson: repeating myself a bit, but I was chatting about putting together a package listing (apart from npm, geared towards comparing various npm packages in terms of features / relative popularity), and I put together a potential feature list at https://gist.github.com/1104529 [02:14] rhdoenges: does joyent do bugsmash days/hackathons? [02:14] chrisdickinson: sort of in the style of sites like http://djangopackages.com/grids/g/photos/; i'd appreciate any comments / suggestions / admonishments. [02:16] saurabhverma has joined the channel [02:16] ryah: rhdoenges: no [02:17] konobi: ryah: well, you could consider office hours "sorta" that [02:17] konobi: ryah: how's portland? [02:17] Nuck: ryah's in Portland? [02:17] Nuck: Lucky bastard. [02:18] jerrysv: ryah: beer.js on wedneday, if you're still around, and looks like some of us are getting together tomorrow after node day [02:18] jacobolus has joined the channel [02:18] Nexxy: ryah, if you are in town maybe I can finally give you that bucket you needed [02:18] kdng-saleem3 has joined the channel [02:19] Nuck: Nexxy: Don't let him kick it. [02:19] Nexxy: I believe in a person's right to kick the bucket if they so desire [02:19] ryah: bucket? [02:20] ryah: jerrysv, Nexxy: im up for stuff tonight or tomorrow - but im leaving wednesday morning [02:20] __directory has joined the channel [02:21] saurabhverma has joined the channel [02:21] luke` has joined the channel [02:22] kdng-saleem3 has joined the channel [02:23] mnaser: anyone use a node.js rest client they recommend? [02:23] Nuck: mnaser: require('http')? [02:23] tmzt: that's a good one [02:24] jerrysv: mnaser: not sure if it's what you're looking for, but: https://github.com/mikeal/request [02:24] konobi: node-restify is used by a few of us here [02:24] mnaser: i was looking for something that was packaged, i know i can just do normal http requests, but just looking if there's something that's nicely packaged. [02:24] Nuck: konobi: Client, not server ;) [02:25] konobi: Nuck: there's a client there too [02:25] Nuck: konobi: Orly? Interesting. [02:26] konobi: yup [02:26] zanes has joined the channel [02:26] konobi: https://github.com/mcavage/node-restify/blob/master/docs/restify-client.md [02:26] eee_c1 has joined the channel [02:26] Nuck: all good ol' muff-cavage. [02:27] mnaser: thanks konobi / jerrysv -- ill check them both out! [02:28] Nuck: I'm curious. How many people here aren't in bay area or portland? [02:28] opus_: i'm from portland [02:28] opus_: count me out [02:29] tmzt: I'm not [02:29] mnaser: does anybody still care about anyone in canada [02:29] opus_: and going to san fran next week for august :) [02:29] Nexxy: mnaser, yes! [02:29] Nuck: mnaser: Uh, no. [02:29] Chris-tina has joined the channel [02:29] Nexxy: teej is a canadialandian [02:29] Nuck: Canucks. [02:29] jerrysv: opus_: count you out for what? [02:29] Nuck: Nexxy: WAT [02:29] mnaser: ;( [02:29] jerrysv: opus_: beer.js? [02:29] konobi: <-- canada [02:29] mnaser: also port install mongodb fails [02:29] opus_: there is a beer.js ? [02:29] Nuck: tjholowaychuk == Canadian? [02:29] Nexxy: p. sure [02:29] mnaser: i suppose no one is from montreal :p [02:29] Nuck: AND KONOBI TOO!? D: [02:30] Nuck: ACTION frowns [02:30] jerrysv: opus_: yeah, after the javascript admirers meeting, on wednesday [02:30] Nuck: ACTION backs away from the canucks slowly [02:30] Nuck: wait [02:30] Nuck: caNUCK [02:30] zanes has left the channel [02:30] Nuck: shit. [02:30] jerrysv: opus_: let me get you some info [02:30] zanes has joined the channel [02:30] Nuck: ACTION rages [02:30] opus_: where at? [02:30] opus_: i live downtown pdx [02:30] mnaser: Nuck: cheap education and free medical care, u mad bro? [02:30] Nexxy: opus_, O_o [02:30] Nexxy: so do I [02:30] opus_: i'm on nw 18th and burnside [02:30] neorab: outraged [02:30] jerrysv: opus_: http://calagator.org/events/1250460859 [02:30] zanes has joined the channel [02:31] jerrysv: opus_: bailey's [02:31] Nexxy: opus_, SW 4th & Mill ;P [02:31] Nuck: mnaser: Free education, and expensive healthcare [02:31] skm has joined the channel [02:31] Nuck: And Oregonisms get no sales tax ;) [02:31] opus_: no way, my friend nick works at bailey's [02:31] mnaser: we got free too, and college in here is $142 a semester [02:31] jerrysv: opus_: i know nick :) [02:31] konobi: mnaser: well... "free" is subjective =0) [02:31] Nuck: Or do you guys pay VAT? [02:31] saurabhverma has joined the channel [02:31] opus_: jerrysv, he bought 2.5 bitcoins from me the day before mtgox crashed :) [02:31] jerrysv: hahaha, poor nick [02:31] mnaser: konobi: i consider it free because everyone gets it, so even if we pay taxes, as long as everyone got it! [02:32] dexter_e has joined the channel [02:32] Nuck: opus_: Did he cash out that day? [02:32] konobi: mnaser: 'spose... though there is that monthly extra free =0) [02:32] konobi: *fee [02:32] benmonty has left the channel [02:32] opus_: Nuck, nope he rode it through. I told him I'd give him cash [02:32] opus_: he didn't want it [02:32] Nuck: opus_: Asked for BTC? [02:32] Nuck: LOL [02:33] opus_: I was broke and needed to borrow $40 :) [02:33] Nuck: College for me... Runs about $35 a credit [02:33] techzin has joined the channel [02:33] Nuck: One class is about 3 credits [02:33] Nuck: I'm taking two classes [02:33] mnaser: up to 8 classes a semester, $142. [02:33] Nuck: v8: 35*3*2 [02:33] v8bot_: Nuck: 210 [02:34] Nuck: I'll be paying $210 in fees alone [02:34] Nuck: plus flat fees [02:34] Nuck: Which equate to $27 [02:34] Nuck: Then there's books [02:34] Nuck: Which will cost me another $100 or so (business book) [02:34] Lorentz: I was paying close to $30k a year for classes, when I was studying. [02:34] Nuck: Soooo... $337? [02:34] Lorentz: Just the course fees, nothing about books or equipment. [02:35] Nuck: At a Junior College, though :P [02:35] Nuck: (but we're one of the best in the nation) [02:35] darshanshankar has joined the channel [02:35] ryah: off topic -_- [02:35] mscdex: heh [02:35] Nexxy: oh is this #python all the sudden?! [02:35] arlolra has joined the channel [02:35] Nuck: At least it's active, right? :P [02:36] Me1000 has joined the channel [02:36] mscdex: education.js [02:36] mnaser: oh i know how to get this channel moving [02:36] Nuck: mscdex: lol [02:36] Nuck: If only education were async [02:36] mnaser: hai gaise i herd rails is good to make new facebook??//// [02:36] Nexxy: mnaser, you forgot to mention coffeescript [02:36] Nuck: ACTION slaughters mnaser mercillesly [02:36] __directory: need to pipe all irc through jive. [02:37] Nuck: __directory: Does that change all our speaking into ebonics? [02:37] mnaser: am i the only one that hates compiling ANYTHING on a macbook pro. [02:37] __directory: no [02:37] __directory: it changes text to jive [02:37] mnaser: it's so slow [02:37] Nuck: mnaser: Try compiling under cygwin [02:38] mnaser: lol not even going to. never even tried that [02:38] __directory: nobody installs the filters package? [02:38] Nuck: mnaser: It'll make the macbook pro compilation seem quick as a flash [02:38] saurabhverma has joined the channel [02:38] mscdex: cut me some slack jack [02:38] EvRide has joined the channel [02:38] __directory: mscdex: yes, that. [02:39] Nuck: mscdex: I will not cut you a line of crack. [02:39] Nuck: Lay off the coke, man. [02:39] Nuck: It's bad for you. [02:39] mscdex: i learned my jive from Airplane! [02:39] __directory: if you pipe ls(1) through jive it says that [02:39] __directory: in the bugs section [02:39] chjj: "a line of crack" [02:39] Nuck: mscdex: I love that movie. [02:39] __directory: "T' maintain backwa'd compatibility, de relationships between de many options is quite complex, so cut me some slack, Jack." [02:40] Nuck: Sooooooo much. [02:40] jtsnow has joined the channel [02:40] tbranyen: Nuck: ever seen a grown man naked? [02:40] mnaser: damnit [02:40] chjj: lol [02:40] __directory: movies about gladiators [02:40] mscdex: tbranyen: ever been in a Turkish prison? [02:40] chjj: creepiest thing ive heard all day [02:40] mnaser: those accidental command+q's when you're trying to alt+tab [02:40] Nuck: Mmmmm... Nothing like second dinn... I just vomited. [02:40] mnaser: :( [02:40] Nuck: Damnit. [02:41] chjj: tbranyen asking some 15 year old kid whether hes seen a man naked [02:41] __directory: enough with the white zone shit [02:41] benmonty has joined the channel [02:41] Nuck: chjj: 17, TYBM [02:41] Nuck: -B+V [02:41] chjj: whatever [02:41] chjj: ! [02:41] tmzt: #node-community [02:41] tmzt: sweet [02:41] saschagehlich has joined the channel [02:41] mscdex: tmzt.js [02:41] Nuck: And hell imma be 18 in like 2 months [02:41] Nuck: Wait, no, 3. [02:41] tmzt: can we get back to discussing evented/io now? [02:41] Nuck: 3 months [02:42] tmzt: ** Nuck holds up 3 fingers [02:42] chjj: i think tbranyen still wants to discuss grown naked men [02:42] Nuck: ACTION lodges three fingers up tmzt's ass [02:42] Nuck: Back to evented shit [02:42] Nuck: Who likes to use Twisted? [02:43] mscdex: nobody [02:43] mscdex: that's why it's so abandoned [02:43] Ginlock has joined the channel [02:43] Nuck: lol [02:43] tbranyen: chjj: sorry Airplane culture transcends your blasphemy [02:43] mscdex: they all switched to node.js :-D [02:43] chjj: twisted? that game rules [02:43] chjj: oh wait [02:43] mscdex: twisted metal [02:43] chjj: im thinking of twister [02:43] mscdex: heh [02:44] chjj: twisted metal is good game though ;) [02:44] mscdex: indeed [02:44] __directory: poo twister mixed with twisted metal served multi player via twisted, totally [02:44] Nuck: ... [02:44] mscdex: twisted metal in webgl with multiplayer over websockets [02:44] mscdex: that would be sweet [02:44] Nuck: With a Node.js server :P [02:45] mscdex: well, of course [02:45] chjj: that goes without saying [02:45] mscdex: that was implied [02:45] mnaser: i'm thinking of starting that drop-in apache server on my flight to san diego [02:45] mscdex: ;-) [02:45] mnaser: i have no idea what else i would do, lol [02:45] technoweenie has joined the channel [02:45] chjj: why would you even say that, how dare you insinuate we would use anything [02:45] chjj: else [02:45] Nuck: I dunno [02:45] Nuck: I hear Ruby is quite nice. [02:45] tbranyen: shame node.js on the ps3 will never happen :-/ [02:45] Nuck: And incredibly scalable [02:46] brownies has joined the channel [02:46] tbranyen: wonder how far along spidernode is [02:46] Nuck: I still want a Node REPL on my iPhone [02:46] Nuck: tbranyen: It's a silly concept [02:46] tbranyen: Why? [02:46] tbranyen: Six cores isn't silly [02:46] Nuck: "hey, let's shove our slower JS engine into the fast server" [02:46] tbranyen: ohhh [02:46] mscdex: node.js on dual core arm = <3 [02:46] tbranyen: re: spider-node [02:46] Guest44646 has joined the channel [02:46] tbranyen: yeah its a messed up concept [02:47] chjj: wait, someones making a spidermonkey node? [02:47] __directory: what in the hell is spider node? [02:47] Nuck: chjj: Inorite [02:47] bnoordhuis: spidermonkey's got coroutines and generators though! [02:47] mnaser: im gonna assume its another js engine [02:47] mikeycgto has joined the channel [02:47] mnaser: firefox's? [02:47] __directory: s/v8/spidermonkey? [02:47] bnoordhuis: yep [02:47] emostar has joined the channel [02:47] namelessnotion_ has joined the channel [02:48] __directory: should've called it cobalt asswagon or somethin [02:48] Nuck: __directory: You have some of the weirdest ideas floating around in that head of yours... [02:49] agnat has joined the channel [02:49] __directory: says the dude that slams ruby constantly yet the last time I was in here he was working with ruby? [02:49] mscdex: https://github.com/zpao/v8monkey [02:50] Nuck: __directory: Only out of necessity. [02:50] tbranyen: http://code.google.com/p/js-coroutine/ [02:50] gavin_huang has joined the channel [02:50] tbranyen: looks interesting [02:50] chjj: nuck hates everything he does i think [02:50] Nexxy: ^ [02:50] Nuck: No good project management systems in Node [02:50] saurabhverma has joined the channel [02:50] Nuck: YET [02:50] Nuck: ACTION is gonna build one [02:50] tbranyen: simpsons did it [02:50] Nexxy: you going to port notepad to node? [02:50] Nuck: Might even open-source it :P [02:50] Nexxy: nodepad.js? [02:50] __directory: alright, call it Cobalt Asswagon [02:51] Nuck: cobaltasswagon.js? [02:51] Nuck: How about just cobalt? [02:51] Nuck: Cobalt PMS [02:52] Nexxy: I think we've had enough PMS for the day [02:52] Nuck: But node has no PMSes D: [02:53] piscisaureus has joined the channel [02:56] jesusabdullah: ooh snap [02:57] __directory: jesusabdullah: smokes, lets go [02:57] JaKWaC has joined the channel [02:57] saurabhverma has joined the channel [02:57] jesusabdullah: You offerin'? [02:57] __directory: yah [02:58] jesusabdullah: I've kinda met my quota on ciggys today... :S [02:58] Nexxy: 0? [02:58] broofa has joined the channel [02:59] jesusabdullah: like 4? :C [02:59] Nexxy: tsk tsk [02:59] jesusabdullah: I know! [03:00] jesusabdullah: It's because I went to grad school [03:00] jesusabdullah: stress, maan [03:00] arlolra has joined the channel [03:00] __directory: heh [03:00] Drakonite2 has joined the channel [03:00] __directory: school kills, #realtalk [03:01] boaz has joined the channel [03:01] Nuck: So, how's v8bot_ been treating you all? [03:01] Nexxy: better than its owner [03:02] Lorentz has joined the channel [03:02] Nuck: I am offend. D: [03:02] Nexxy: I am disappoint [03:02] CIA-65 has joined the channel [03:02] jesusabdullah: GENTLEMEN! It seems we are at an IMPASSE! [03:02] Nuck: I treat you better than I treat a hooker. Be glad, the same can't be said fore everyone. [03:02] Nexxy: Nuck, you're 17 [03:02] deoxxa has joined the channel [03:02] Nuck: ACTION coughs the word "#Ruby" [03:02] Nexxy: you've never even been within 50' of a hooker [03:03] Nexxy: 75', maybe... [03:03] jesusabdullah: What about that girl that traded sex for a cafeteria chicken mcnugget? [03:03] Nexxy: -_- [03:03] Nuck: Nexxy: My high school is on 9th street, wedged next to a couple hotels that offer "3-hour naps" [03:03] jesusabdullah: http://www.youtube.com/watch?v=UWQoK506xkQ [03:03] Nuck: Like the Lamplight. [03:03] jesusabdullah: Nuck: What city is this? [03:03] EvRide1 has joined the channel [03:04] Nuck: jesusabdullah: Modesto. [03:04] pyro1 has joined the channel [03:04] jesusabdullah: Ah! [03:04] Nuck: I never ordered a hooker [03:04] Nexxy: hey, biphasic sleep is nothing to laugh at [03:04] jesusabdullah: You should obviously move [03:04] jesusabdullah: to Oakland! [03:04] _bat has joined the channel [03:04] Nuck: But that's because I don't want STDs [03:04] Nuck: And meth-addicted old hags ain't my thing. [03:04] jesusabdullah: What? [03:04] Nexxy: O_o [03:04] __directory: toss 'em my way [03:04] Nexxy: lol [03:04] jesusabdullah: rawr [03:04] jesusabdullah: I kid, I kid [03:04] Nuck: jesusabdullah: I'd love to move to Oakland, actually [03:04] Nexxy: this is my que to step away from the conversation ;P [03:05] Nuck: I hear it's actually not that shitty :P [03:05] Nuck: Nexxy: por que? [03:05] jesusabdullah: Nuck: I like it so far! At least, on the North side [03:05] Nexxy: jesusabdullah, it's no PDX [03:05] Nuck: jesusabdullah: Our west side is the ghetto side [03:05] mikeycgto has joined the channel [03:05] Nuck: jesusabdullah: Once I save up enough I wanna move to some city in bay area [03:06] jesusabdullah: Here we got the deep east man [03:06] jesusabdullah: Nuck: Fun! [03:06] Nuck: And it sounds like Oakland is the best value (ghettoness-to-price) [03:06] jesusabdullah: http://www.youtube.com/watch?v=-AJpcojsQ9k [03:06] jesusabdullah: Yeah, Oak is good value [03:07] chjj: irssi is the best irc client, discuss [03:07] jameson has joined the channel [03:07] EvRide has joined the channel [03:08] __directory: hmm [03:08] namelessnotion has joined the channel [03:08] saurabhverma has joined the channel [03:08] Nuck: chjj: I disagree [03:08] Nuck: console clients can suck my GUI [03:09] chjj: ive never been satisfied with any gui irc client [03:09] Nuck: I use mIRC [03:09] Nuck: Though I'm definitely unsatisfied. [03:09] chjj: that one especially [03:09] kofno has joined the channel [03:10] Nuck: But it's good for me until I get a mac. [03:10] chjj: terrible piece of software [03:10] __directory: i need old ircII [03:10] chjj: i was drifting between xchat and konversation until i discovered irssi [03:11] tmm1 has joined the channel [03:11] Nuck: I'm not sure what I'm gonna get when I get a mac [03:11] chjj: __directory: you can make irssi look and behave like ircii [03:11] Nuck: Possibly Colloquy, it looks good enough [03:11] chjj: except its better [03:11] __directory: yah [03:12] EvRide1 has joined the channel [03:12] Nexxy: bitchx4lyfe [03:14] Corren has joined the channel [03:15] stbuehler has joined the channel [03:15] kofno has left the channel [03:15] saurabhverma has joined the channel [03:16] Nuck: Nexxy: ... bitchx? [03:16] Nuck: Damnit. [03:16] te-brian2 has joined the channel [03:16] kawaz_ has joined the channel [03:16] Nexxy: similar to irssi [03:16] Nuck: They were discussing that in #startups the other night [03:16] Nexxy: and scrollZ I guess [03:16] Nuck: Somebody had a BitchX quit message [03:16] Nexxy: lol yeah [03:17] Nexxy: panasync [03:17] Nexxy: ACTION nostalgia [03:17] __directory: bitchx brings back the good ole days [03:17] ctide: bitchx :) [03:17] __directory: and ScrollZ [03:18] Nexxy: doesn't it? ;< [03:18] Nexxy: le sigh~! [03:18] Nuck: That'd be before my time X3 [03:18] Nexxy: mhmm ;P [03:18] Nuck: I probably hadn't even gotten on Kingdom of Loathing yet :P [03:18] chjj: anything is before your time nuck, youre like 10 or something [03:19] ctide: my bitchx days were about 15 years ago :( [03:19] Nuck: ctide: Old man D: [03:19] Nexxy: lol ctide [03:19] __directory: yah, rough 1995 for me [03:19] ctide: indeed :( [03:19] chjj: i wasnt using the internet back then [03:19] Nuck: 1995 = me @ 2 years [03:19] __directory: you == Ruby guy [03:20] chjj: i started using the internet in the late 90s =/ [03:20] Nexxy: omg compuserv [03:20] Nuck: I got internet back with Windows 95 or 98 [03:20] Nuck: Can't recall which [03:20] towski has joined the channel [03:20] Nuck: I think it was late Windows 95 that we signed up for Prodigy [03:20] willwhite has joined the channel [03:20] boehm has joined the channel [03:21] Nuck: God I miss DOS games. [03:21] chjj: ah back when windows was dos, that was funny [03:21] ctide: mine was all dial up shells and awful things like trumpet winsock :( [03:21] ctide: well, not awful at the time, awesome at the time, but [03:21] ctide: awful in retrospect :) [03:21] __directory: I remember installing Linux around kernel 1.2.8 just to use ircii instead of mirc [03:21] __directory: and dealing with mini com, pppd [03:22] Nuck: pppd? [03:22] chjj: probably worth it, mirc is such a piece of garbage [03:22] Nuck: I've gotten used to the shit of mIRC [03:22] Nuck: But I am definitely eager to ditch it [03:22] __directory: makes internets work after mini com dialed up my isp [03:22] Nuck: As eager as I am to ditch Windows lol [03:22] chjj: whats stopping you? [03:23] Nuck: I don't do Linux [03:23] jesusabdullah: You do now [03:23] Nexxy: try wubi [03:23] __directory: y0 [03:23] Nuck: uh no [03:23] __directory: try Microsoft Bob Nuck [03:23] Nuck: I've used Linux [03:23] chjj: you dont "do" linux? [03:23] Nexxy: that's not true [03:23] jesusabdullah: Nuck: Go put unbunto on a VM yo, get used to it [03:23] EvRide has joined the channel [03:23] boaz has joined the channel [03:23] Nuck: It's got the world's most awful UI. [03:23] Nexxy: you don't use linux... linux uses you [03:23] chjj: ...? [03:23] jesusabdullah: Whoa there [03:23] chjj: which one? [03:23] Nexxy: Nuck, are you talking about a certain window manager? [03:23] jesusabdullah: linux can't have an awful AI [03:23] Nexxy: *nix has no standard ui [03:23] jesusabdullah: a particular WM can have an awful UI [03:24] __directory: ubuntu in a vm and unity up vim and a terminal [03:24] jesusabdullah: s/AI/UI/ [03:24] jesusabdullah: Indeed. Play around with alternate WM/DEs [03:24] Nexxy: gnome + bluetile ftw [03:24] Nexxy: or xmonad I guess [03:24] Nuck: I'm talking about XFCE (or whatever that is), KDE, Gnome, or the newest one (Unity is it? IDFK) [03:24] jesusabdullah: The stock in Ubuntu is gnome. I use xfce and xmonad [03:24] Nexxy: jesusabdullah, not anymore! [03:24] jesusabdullah: Try openbox, too [03:24] jesusabdullah: Nexxy: wat [03:24] Nexxy: fluxbox/blackbox [03:24] jesusabdullah: Yeah, or fluxbox or blackbox [03:24] Nuck: I SSH to a Ubuntu box nowadays [03:24] Nexxy: jesusabdullah, >11 is unity by default unless you select "ubuntu classic" [03:24] Nuck: It rusn on my server [03:25] jesusabdullah: If you like one, you'll probably like the others [03:25] jesusabdullah: No shit? Huh! [03:25] Nexxy: ya it's kinda crappy [03:25] jesusabdullah: Fucking unbunto [03:25] jesusabdullah: I should switch to Arch [03:25] jesusabdullah: I CAN HANDLE IT [03:25] Nexxy: lol [03:25] Nexxy: but [03:25] Nexxy: no moar apt-get [03:25] Nuck: I'm happy with Windows for now [03:25] Nuck: As soon as I get enough money to buy a mac though... [03:25] jesusabdullah: You got the aur and pacman though right? [03:25] jesusabdullah: BE A MAN NUCK [03:25] Nuck: I'm making the leap then. [03:25] descipher has joined the channel [03:25] systemfault: OSX is a nice OS :P [03:26] chjj: so wait, let me get this straight, you think osx has a better gui...? [03:26] Nuck: systemfault: I think so. [03:26] Nexxy: ya but afaiaa apt-get is still better w/ dependency resolution [03:26] jesusabdullah: Seriously though, try installing xmonad on a vm and playing around with it. Tiling WMs rock quite a bit [03:26] Nuck: chjj: Yes, very. [03:26] systemfault: chjj: Sure. [03:26] __directory: yah except installing Xcode just to get some toolchains is eh [03:26] Nexxy: jesusabdullah, have you tried bluetile? [03:26] chjj: ive never seen an uglier gui, id rather be using windows classic theme compared to that ugly shit [03:26] jesusabdullah: Yeah, I don't think anything can beat apt-get these days [03:26] brownies has joined the channel [03:26] Nuck: tiling WMs suck [03:26] systemfault: chjj: Compared to gnome3/unity... OSX is just a million times better. [03:26] jesusabdullah: I haven't Nexxy! Does it rock? [03:26] Nexxy: it's liek xmonad (same keybindings) but you can still use gnome w/ it [03:26] Nuck: I tried one a few years back [03:26] Nuck: Couldn't stand it [03:26] jesusabdullah: BE A MAN NUCK [03:26] __directory: Nuck's not a man [03:26] __directory: he's not even 18 yet [03:26] jesusabdullah: Try openbox then [03:27] systemfault: OpenBox++ [03:27] v8bot_: systemfault has given a beer to OpenBox. OpenBox now has 1 beers. [03:27] Nuck: __directory: I'm already registered to vote, damnit. [03:27] Nuck: (it's legal, yes) [03:27] jesusabdullah: Back in the CAVEMAN days you were a man at 13! [03:27] Nexxy: you want a rocking UI?! plan9 [03:27] Nuck: jesusabdullah: /caveman/200 years ago/s [03:27] __directory: why are you getting a mac buck? [03:27] Nuck: plan9 LOL [03:27] apalmer has joined the channel [03:27] __directory: *nuck [03:27] chjj: well its appropriate, by using mac hes going to be reverting back to the cavemen days [03:27] chjj: ! [03:27] Nuck: __directory: It works [03:27] __directory: did you read that a mac was appropriate for development in coffee shops or do you have real reasons [03:28] Nuck: It's got a Unix core plus a UI that doesn't suck donkey dick? [03:28] systemfault: Still better than Windows for dev... [03:28] Nexxy: ROFL __directory [03:28] systemfault: Seriously. [03:28] Nuck: Plus it runs the software I want [03:28] Nuck: I am a designer [03:28] jesusabdullah: I feel so hardcore with my lennox netbook on the BART yo [03:28] __directory: leenux [03:28] jesusabdullah: everyone's like "OH LOOKIT ME I HAVE A MACBOOK AIR" [03:28] Nuck: I'm VERY picky with my UIs. [03:28] jesusabdullah: and I' like [03:28] jesusabdullah: "STEP ASIDE" [03:29] jesusabdullah: Nuck: i bet you hate gimp because it's not photoshop. -_- [03:29] jesusabdullah: ;) [03:29] Guest44646 has joined the channel [03:29] systemfault: I hate GIMP because it sucks.. [03:29] __directory: I don't see why you don't just put MS BOB on [03:29] chjj: you cant be a designer with linux can you? [03:29] tmzt: Macbook Air with i7??? but running linux [03:29] systemfault: It just sucks. [03:29] Nuck: I hate GIMP because it's shit on Windows especially. [03:29] __directory: and have the best of OSX + Windows 8 [03:29] jesusabdullah: Oh, yeah, gimp blows on windows [03:29] Nuck: AND it sucks on other OSes. [03:29] systemfault: The UI is pure vomit. [03:29] chjj: we should talk about OS's more often [03:29] SubStack: I hate photoshop because it's not the gimp [03:29] Nuck: I use Inkscape [03:29] chjj: makes this channel alive [03:29] Nuck: Happily [03:29] jesusabdullah: systemfault only says that because he (she?) knows photoshop [03:29] Nuck: Inkscape is wonderful. [03:29] jesusabdullah: Yeah, I'm actually in SubStack's boat these days [03:29] jesusabdullah: and I started on PS6 [03:29] systemfault: jesusabdullah: It's a "he".. [03:30] jesusabdullah: but that's only because of expectations. [03:30] ap3mantus has joined the channel [03:30] jesusabdullah: systemfault: Not anymore! [03:30] EvRide1 has joined the channel [03:30] Nexxy: jesusabdullah, the correct pronoun would be 'they' [03:30] chjj: i hate photoshop because the people who use it spend hours writing treatises on why gimp is marginally worse than photoshop [03:30] SubStack: IT'S A BOY [03:30] Nuck: Nexxy: They refers to multiple people [03:30] Nexxy: Nuck, welcome to 2011 [03:30] SubStack: yeah gendered pronouns are annoying [03:30] jesusabdullah: ACTION plays the "sex change" card from Munchkin [03:30] Nexxy: they is also a less-gendered single pronoun [03:30] Nuck: As systemfault is, I assume, a single person, "they" doesn't work. [03:30] Nexxy: lol [03:30] saschagehlich has joined the channel [03:30] Nexxy: apparently you're an english major too1? [03:30] Nexxy: damn son [03:30] jesusabdullah: I'm old-school with my pronouns. I recognize that it's very limiting, but I roll with it [03:30] SubStack: Nuck: pfft singular they has been valid for hundereds of years [03:31] Nexxy: ^ [03:31] jesusabdullah: Yeah, I can't knock other people for that [03:31] systemfault: chjj: Why can't "freetards" accept that a free software just... sucks [03:31] Nuck: SubStack: Not valid, just accepted ;) [03:31] jesusabdullah: I just got it beaten out of me in college [03:31] SubStack: even a wiki page: http://en.wikipedia.org/wiki/Singular_they [03:31] systemfault: *can just [03:31] jesusabdullah: people are huge on "proper" writing [03:31] jesusabdullah: even when the rules are silly [03:31] SubStack: Nuck: prescriptivist! [03:31] __directory: we rolled from operating systems to this ? [03:31] Nuck: systemfault: Because there's like 3 FOSS projects that don't suck. [03:31] jesusabdullah: I'm just gonna refer to everyone as "gurl" now [03:31] SubStack: ACTION lays down some hate on the prescriptivist grammarians [03:31] chjj: systemfault: huh? [03:31] jesusabdullah: and see how many people protest [03:31] SubStack: MY OLD NEMESES [03:31] __directory: heyyy gurlll [03:32] jesusabdullah: Exactly, __directory [03:32] Guest44646 has joined the channel [03:32] __directory: I'm with you, 100% [03:32] Nuck: Firefox, Chrome, Node, Inkscape [03:32] jesusabdullah: __directory: Sup gurl ^_~ [03:32] Nuck: Uh, what else? [03:32] jesusabdullah: Inkscape is pretty rockin' [03:32] Nuck: jesusabdullah: u gurl [03:32] SubStack: it is indeed [03:32] Nuck: It is [03:32] jesusabdullah: mmhmm [03:32] Nexxy: ACTION is highly insulted [03:32] Nuck: I use Inkscape over Illustrator any day [03:32] __directory: Netscape [03:32] Nuck: The UI is amazing. [03:32] chjj: systemfault: yeah proprietary software is absolutely superior, given us great things like, internet explorer, and windows [03:32] jesusabdullah: Nexxy: Sup gurl? ^_~ [03:32] systemfault: chjj: Hmm, I don't think that way. [03:32] jesusabdullah: (hoping Nexxy isn't actually insulted) [03:32] Nexxy: jesusabdullah, oh you know, just snackin' on mah rithe caek [03:33] Nuck: Netscape is not FOSS, but they did turn into Mozilla :P [03:33] Nexxy: woops, thnackin'* [03:33] jesusabdullah: haha [03:33] systemfault: chjj: I judge the product, not the philosophy [03:33] Nuck: Actually [03:33] Nuck: Remove Firefox [03:33] spetrea has joined the channel [03:33] Nuck: Since it's turned to shit [03:33] jesusabdullah: ith it delithith? [03:33] chjj: systemfault: but you just said-.... [03:33] jesusabdullah: er [03:33] chjj: systemfault: nevermind [03:33] jesusabdullah: delishish? I dunno mouthspeak [03:33] bnoguchi has joined the channel [03:33] __directory: pass the ritz gurl [03:33] chjj: systemfault: i assume you were joking then [03:33] jesusabdullah: Those are totally rice cakes dawg [03:34] jesusabdullah: I like the salt/vinegar flavored ones [03:34] Nexxy: you would. [03:34] __directory: ham, bacon, and egg flavored blunts, etc [03:34] Nuck: blunts? As in...? [03:34] __directory: smack 'em yack em gurl [03:34] Nuck: But flavored like... [03:34] Nuck: ACTION gags [03:35] chjj: nuck: im glad someone else acknowledges firefox went bad [03:35] chjj: unfortunately it did =( [03:35] chjj: im glad it lead the way out of the dark ages of the web though [03:35] Nexxy: jesusabdullah, delishuth* [03:35] systemfault: Yeah.. :'( [03:35] Nuck: chjj: It did serve a great purpose [03:35] jesusabdullah: Thanks brah [03:35] systemfault: I used to love Firefox. [03:35] jesusabdullah: ^5 [03:35] Nuck: And I still use it for some things [03:35] jesusabdullah: I haven't followed FF since chrome won my heart [03:35] chjj: the creative lead and project director both resigned this year [03:36] jesusabdullah: goin' steady [03:36] __directory: y0 Nuck [03:36] Nuck: I preferred the earlier Firefox 4 betas honestly :( [03:36] __directory: Nuck: http://www.winhistory.de/more/bilder/bobxp.jpg you can see inkscape just on the shelf there in bob [03:36] jewgonewild has joined the channel [03:36] jesusabdullah: Why are your blunts flavored like breakfast? [03:36] chjj: now theyre trying to copy chrome, as is every browser [03:36] systemfault: And last week, the lead dev of Firebug decided to work for chrome instead. [03:36] jesusabdullah: obtw, Oakland smells like blunt wraps. [03:36] chjj: ie9 was so blatant about it at first, it was hilarious [03:36] Nexxy: jesusabdullah, you could have stopped with the word "flavored" [03:36] jesusabdullah: It's...interesting. [03:37] jesusabdullah: Nexxy: lol [03:37] chjj: yeah, chrome is the only browser worth using [03:37] chjj: im happy with it [03:37] Nexxy: jesusabdullah, unless you're talking about some peach flavored blunt wrap [03:37] Nexxy: love me some peach [03:37] Nuck: systemfault: Here's to the hope that the debugger gets a DOM tab :D [03:37] systemfault: chjj: IE9 is like Windows7... It was my idea [03:37] jesusabdullah: I bought a cigar a few weeks ago (unsuccessful quitting attempt), and they only had flavored ones. Mine tasted like grapes! It was bizarre [03:37] chjj: systemfault: oh, i see what you did there [03:37] jesusabdullah: Were developers always so open about their sins? [03:38] Nexxy: jesusabdullah, did you follow the proper empty/refill procedure? [03:38] __directory: chicken liver and grits flavored blunts - but thats more of a prom blunt really. [03:38] jesusabdullah: empty/refill? [03:38] jesusabdullah: I guess not! [03:39] Nuck: Chrome has a damn good UI [03:39] Nuck: But I prefer Firefox 4 Beta 7's. [03:39] jewgonewild: Hey I need some input on running a tcp chat server on multiple node.js servers.. very easy to put haproxy infront of them and balance that way.. but the matter is sharing state across all servers ... [03:39] chjj: ew, you do? [03:39] chjj: thats a disgusting ui [03:39] Nuck: I did [03:39] ctide: flavored ones are not intended to be smoked :) [03:39] Nuck: It was beautiful [03:39] chjj: what the hell is wrong with you and ui's [03:39] Nuck: Well, it was on Windows 7 [03:39] chjj: osx, now ff4 beta [03:39] Nuck: It looks wonderful on Windows 7 [03:40] chjj: and it was slow as shit, cause they decided to convert the entire ui to xul [03:40] Nuck: The tasteful use of Aero transparency was wonderful [03:40] __directory: I would have pegged Nuck as a MS Bob lover. Turns out..I'm….wrong [03:40] Aria has joined the channel [03:40] jesusabdullah: ARe you SURE you're wrong? [03:40] Nuck: __directory: Bob is fucking hideous. [03:40] ctide: jesusabdullah: i quit via patch and an electronic cigarette [03:40] systemfault: __directory: Who doesn't like Bob. [03:40] ctide: fwiw! [03:40] systemfault: The UI of the future. [03:40] __directory: Nuck: you're behind the times [03:40] Nuck: ... [03:40] Nuck: That was running XP [03:41] Nuck: ACTION runs Windows 7 [03:41] Nuck: (with rainmeter <3) [03:41] chjj: upgrade to xp [03:41] __directory: Windows 7 runs you (in soviet russia) [03:41] jesusabdullah: Actually [03:41] jesusabdullah: Win7 wasn't bad [03:41] jesusabdullah: ...for windows, I mean [03:41] Nuck: Actually Windows 7 is damn good [03:41] Nuck: For a Windows OS, yeah [03:41] jesusabdullah: ...for windows. [03:41] chjj: yeah i know, i just like giving people shit [03:41] Nuck: lol [03:41] tmzt: good thing this channel is logged, we couldn't search for useful information like this if it wasn't [03:41] Nexxy: until you try to network it with older windows boxes [03:41] chjj: i used to say that to people using vista [03:41] jesusabdullah: giving people shit is so much fun ^__^ [03:41] chjj: "upgrade to xp" [03:42] Nuck: Nexxy: Oh lord don't remind me D: [03:42] mozam has joined the channel [03:42] chjj: back in the days of windows ME it was "upgrade to win98" [03:42] __directory: upgrade to ME [03:42] Nuck: I've had to use IPs instead of names [03:42] Nexxy: Nuck, I'm mostly talking about simple file/print sharing [03:42] Nexxy: ughh [03:42] Nuck: ACTION has assigned static IPs for his other computers [03:42] Nuck: Nexxy: Same [03:42] Nuck: "//192.168.1.106/" [03:42] Nuck: Works fine. [03:43] Nuck: Or wait that's backwards [03:43] Nuck: \\192.168.1.106\\ [03:43] Nuck: That [03:43] __directory: /106.1.168.192/ ? [03:43] Nuck: Minus that second backslash at the end [03:43] bmfo has joined the channel [03:43] Nuck: __directory: No, no, not reverse DNS [03:44] __directory: hmm... [03:50] bmfo has left the channel [03:50] ditesh|cassini has joined the channel [03:50] Guest44646 has joined the channel [03:51] Aria: ACTION uses bonjour and .local names. [03:52] fattytuna has joined the channel [03:53] descipher has joined the channel [03:53] ryan[WIN] has joined the channel [03:54] Spion_ has joined the channel [03:54] Spion_ has joined the channel [03:55] jesusabdullah: What's a .local? [03:55] jesusabdullah: bonjour is a chat client right? [03:55] kriszyp has joined the channel [03:55] Aria: No, bonjour is apple's name for multicast DNS [03:55] __directory: heh [03:55] Aria: And .local is the domain it uses by default. [03:55] jesusabdullah: ah! I see [03:56] Aria: (you can, however, chat using Xmpp with bonjour for name resolution and location) [03:56] Aria: (And that's what Adium/Pidgin call Bonjour chat.) [03:56] jesusabdullah: ah! [03:57] tilgovi has joined the channel [03:57] tilgovi has joined the channel [03:58] jellosea has joined the channel [03:58] jellosea: when i'm making an http.request it seems like it the 'path' field is not being using properly.. does anybody know what the problem is? [03:58] jellosea: like whatever i put in path.. i get the same response.. it seems as if its just ignoring that field algotehr [03:59] omni5cience has joined the channel [04:00] wookiehangover has joined the channel [04:00] chjj: jellosea: what do you mean you get the same response? [04:00] matomesc has joined the channel [04:01] bnoguchi has left the channel [04:01] guest_118 has joined the channel [04:01] tayy has joined the channel [04:01] jellosea: i mean that it doesnt matter what i enter as the path.. i keep getting the same respose back from the server [04:02] Guest44646 has joined the channel [04:02] EvRide has joined the channel [04:02] jellosea: so it seems like its just disregarding the path and just hitting the host only [04:02] __directory: clarify with a code gist/pastebin [04:03] bradleymeck has joined the channel [04:03] tmzt: jellosea: a good test is to run nc -p -l and hit that with a request [04:03] meso_ has joined the channel [04:04] jellosea: tmzt: you mean like hit localhost? [04:04] tmzt: yes [04:07] thriple has joined the channel [04:07] rurufufuss has joined the channel [04:09] jameson has joined the channel [04:10] newy_ has joined the channel [04:10] darshanshankar has joined the channel [04:11] matomesc has joined the channel [04:11] konobi: tmzt: are you setting the Host header? [04:12] zilch_: any body with prior experience in node-http-proxy ? [04:13] EyePulp has joined the channel [04:14] jesusabdullah: zilch_: Try asking AvianFlu if you still need help next time he's on. He's been fielding a lot of http-proxy tickets lately. [04:15] Isaiah has joined the channel [04:16] jstroem has joined the channel [04:17] raphael has joined the channel [04:18] raphael: Hello. What should PYTHONPATH be to run node-waf? [04:19] zilch_: jesusabdullah, oh thanks !! any specific timings when the epidemic strikes on this room ? [04:19] zilch_: :) [04:20] tmzt: konobi: it's not me [04:20] tmzt: it's jellosea [04:21] jellosea: konobi: what do you mean host header? [04:21] Wizek has joined the channel [04:21] jellosea: request headers? [04:21] __directory: still interested in what code is going tits south for you [04:22] jellosea: http://pastie.org/2272129 [04:22] DavidElias has joined the channel [04:22] raphael: it's? [04:22] cjm has joined the channel [04:22] jesusabdullah: zilch_: Wear a face mask. [04:23] jesusabdullah: zilch_: Also, like we haven't heard that joke before! [04:23] jesusabdullah: "Oh, I'm just chillin' with AvianFlu" "Oh my God, are you alright?" [04:24] Stythys has joined the channel [04:24] Stythys has joined the channel [04:24] jhurliman has joined the channel [04:25] jellosea: any idea what the problem is? it seems like pretty vanilla code [04:26] thriple: I am reading to node.js source right now and I am not sure what this means: NativeModule._source = process.binding('natives') can anyone shed some light? [04:28] fraserkillip has joined the channel [04:29] markdaws has joined the channel [04:30] __directory: doesn't seem like all the code [04:30] __directory: i don't see createClient, reqdata isn't defined [04:32] __directory: wait api changed [04:32] __directory: sorry [04:33] stehoyer has joined the channel [04:35] __directory: i don't see anything wrong with it [04:37] Pickley has joined the channel [04:37] pyro1 has joined the channel [04:38] ambroff has joined the channel [04:39] Pickley has left the channel [04:40] zilch_: jesusabdullah, I think I have been obnoxious with that joke, I am sorry for that. It was just a bright morning here and I felt all good to oversight the quality of the joke !! [04:41] boaz has joined the channel [04:43] Aria has joined the channel [04:44] t3rmin4t0r has joined the channel [04:44] t3rmin4t0r: how do I submit a patch? (node.js git head does not build on old python setups) [04:48] brianseeders has joined the channel [04:48] pyro1 has joined the channel [04:49] jesusabdullah: zilch_: You're good! Just givin' you shit [04:51] jesusabdullah: t3rmin4t0r: fork, make change, make pull request [04:51] Peniar has joined the channel [04:51] rchavik has joined the channel [04:52] t3rmin4t0r: jesusabdullah: ah, yes - github, *facepalm* [04:52] rchavik has joined the channel [04:53] jesusabdullah: ^__^ [04:53] Nexxy: jesusabdullah, gurl you so crazay [04:54] zeade has joined the channel [04:55] tar_ has joined the channel [04:59] jesusabdullah: Nexxy: You know it brah [05:00] Metal3d has joined the channel [05:03] __directory: poo girl I'm so hungry, need scrimps [05:04] zilch_: jesusabdullah, thanks :) I would take that in good spirit !! [05:05] domo1 has joined the channel [05:06] jesusabdullah: :D [05:07] __directory: Nuck: MS Bob installed yet? [05:07] muhqu has joined the channel [05:08] jerrysv has joined the channel [05:08] t3rmin4t0r: only for those of us stuck in centos5 - https://github.com/joyent/node/pull/1397 [05:09] t3rmin4t0r has left the channel [05:12] leek- has joined the channel [05:15] jstroem has joined the channel [05:16] ekryski has joined the channel [05:18] muhqu has joined the channel [05:20] amerine has joined the channel [05:26] KenStewart has joined the channel [05:26] KenStewart: Hi all! [05:27] ghost has joined the channel [05:31] KenStewart: is there a unix/mac node.js ninja that could help me? [05:32] mnaser: just ask [05:32] mnaser: someone add "don't ask to ask, just ask" on the topic pl0x? <3 [05:32] __directory: gurlll [05:33] KenStewart: ha [05:33] KenStewart: sorry [05:33] KenStewart: ok [05:33] KenStewart: i'm having trouble installing node on my machine [05:33] KenStewart: i'm rocking Leopard 10.5.8 [05:34] mnaser: maybe that's your problem [05:34] admc has joined the channel [05:34] chjj: kenstewart: whats the problem? [05:34] KenStewart: ok [05:34] KenStewart: ha, yeah [05:34] chjj: uhoh, you started with "ok" that means theres a lot to say [05:34] KenStewart: it's a 4yr old macbook [05:35] KenStewart: when i install it fails on the "{task: cxx node_crypto.cc -> node_crypto_4.o}" [05:35] KenStewart: when i configure [05:35] chjj: do you have openssl-dev installed? [05:35] KenStewart: i can't find it online [05:36] CStumph has joined the channel [05:36] KenStewart: is there a git [05:36] mnaser: KenStewart: do you have macports or homebrew [05:36] konobi: homebrew [05:36] KenStewart: the install guide says "The lib comes pre- installed on OS X." [05:36] konobi: sure, on a recent OSX [05:36] KenStewart: i don't have either [05:36] konobi: =0) [05:37] KenStewart: ah [05:37] KenStewart: okay [05:37] chjj: http://www.google.com/search?sourceid=chrome&ie=UTF-8&q=libssl-dev [05:37] KenStewart: everything seems to be ubuntu related [05:38] konobi: http://mxcl.github.com/homebrew/ [05:38] chjj: a sign you should switch to ubuntu? ;p [05:38] dgathright has joined the channel [05:38] KenStewart: ha [05:38] KenStewart: i'm an Audio guy [05:38] KenStewart: i can't [05:39] KenStewart: MaxMSP and Logic aren't for linux [05:39] chjj: you sound like nuck, "im a designer, i cant" ;p [05:39] jesusabdullah: KenStewart: PureData [05:39] jesusabdullah: also, the MSP family SUUUUCKS [05:39] saurabhverma has joined the channel [05:40] jesusabdullah: all graphical languages suck :c [05:40] KenStewart: well [05:40] jesusabdullah: I say this as someone who has programmed in labview [05:40] KenStewart: i'm not going to get into that [05:40] konobi: software sucks... get over it [05:40] KenStewart: yeah [05:40] brownies has joined the channel [05:40] KenStewart: when you have been a composer for 10 years [05:40] KenStewart: you just can't say [05:40] KenStewart: hey [05:40] KenStewart: i'm a developer now [05:40] KenStewart: well [05:40] mikeal has joined the channel [05:40] jesusabdullah: No, I understand that, I really do! [05:41] mnaser: god damnit [05:41] jesusabdullah: I bitch about LabVIEW but when I was a TA I programmed in it anyway [05:41] KenStewart: not without years of reading [05:41] mnaser: provider decided to fuck with routing tables tonight when im working [05:41] mnaser: GOD DAMNIT [05:41] KenStewart: which is what i have been doing [05:41] jesusabdullah: Seriously, though, take a look at PD [05:41] v8bot_ has joined the channel [05:41] KenStewart: I have [05:41] jesusabdullah: Not your bag? [05:41] KenStewart: i have met miller [05:41] KenStewart: no [05:41] KenStewart: unfortunately [05:41] jesusabdullah: :( [05:41] jesusabdullah: I didn't really get it myself [05:41] KenStewart: yeah [05:41] jesusabdullah: but based on the screenshots of MaxMSP I saw I kinda assumed it was the same deal [05:42] jesusabdullah: Oh, you use a mac! [05:43] jesusabdullah: It *should* install mostly good [05:43] jesusabdullah: oh, except it's old huh? [05:43] jesusabdullah: If I knew things about not-linux I'd totally give you a hand! [05:43] KenStewart: yeah [05:43] KenStewart: thanks [05:43] KenStewart: so [05:43] jesusabdullah: Oh, if you like MaxMSP stuff [05:43] jesusabdullah: http://www.youtube.com/watch?v=aJF0udcvl8A [05:43] jesusabdullah: An art installation at my old university [05:43] sleeplessinc has joined the channel [05:43] c_t has joined the channel [05:44] KenStewart: when i try and install homebrew it says [05:44] KenStewart: Failed during: /bin/bash -o pipefail -c '/usr/bin/curl -sSfL https://github.com/mxcl/homebrew/tarball/master | /usr/bin/tar xz -m --strip 1' [05:44] jesusabdullah: All the sounds are generated from data feeds about the weather, time [05:44] v8bot_ has joined the channel [05:44] jesusabdullah: auroral activity and earthquake activity [05:44] jesusabdullah: built with MaxMSP [05:44] KenStewart: awesome [05:44] jesusabdullah: Yeah, it's pretty cool [05:44] jesusabdullah: I think the experience is a bit lacking though :( [05:44] jesusabdullah: Like, it sounds great and then you go in there and 30 seconds later you're done [05:45] jesusabdullah: BUT what's *really* cool is to drop in multiple times a day, over the course of a year. My old housemate works at the museum [05:45] jesusabdullah: and so goes there a lot [05:45] sleeplessinc: Going to be in bay area this week. Any node meet ups or events going on? [05:45] jesusabdullah: Sounds really neat [05:45] jesusabdullah: sleeplessinc: There are if you want there to be ;) [05:46] jesusabdullah: KenStewart: Do you know what part failed in that? [05:46] KenStewart: not sure [05:46] KenStewart: it told me not to run as sudo [05:46] jesusabdullah: try "which pipefail" [05:46] KenStewart: so i didn't [05:46] jesusabdullah: also see if /usr/bin/tar is there [05:47] KenStewart: nothing [05:47] jesusabdullah: That'd be my guess [05:47] jesusabdullah: Nothing for which? [05:47] KenStewart: "which pipefail" [05:47] jesusabdullah: ah! [05:47] jesusabdullah: That means you don't have pipefail! Whatever that is. [05:47] jesusabdullah: I don't know [05:47] KenStewart: it is [05:47] jesusabdullah: but, jinkies! Another clue gang! [05:48] KenStewart: "/usr/bin/tar" [05:48] konobi: pipefail is a bash option [05:48] KenStewart: ah [05:48] jesusabdullah: ah [05:48] KenStewart: thx [05:48] jesusabdullah: derp [05:48] smolyn has joined the channel [05:48] jesusabdullah: So your tar is there? [05:48] konobi: (sam as set -o pipefile in a script) [05:48] KenStewart: ah [05:49] jesusabdullah: konobi: Do you know things about mac? This dude's having promblems installing something [05:49] KenStewart: i found "error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed [05:49] KenStewart: " [05:49] jesusabdullah: OHH [05:49] konobi: add a -k to the curl options [05:49] jesusabdullah: oh shit I was not paying attention! [05:49] harthur has joined the channel [05:49] jesusabdullah: That's a curl error, re: authentications [05:49] carmony has joined the channel [05:49] jesusabdullah: :E [05:49] jesusabdullah: Now I feel silly. [05:49] KenStewart: this is what i'm rocking [05:49] KenStewart: ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)" [05:49] jesusabdullah: brb cryin' about it [05:49] KenStewart: as per the website [05:50] konobi: you'll need to add 'k' to the curl options [05:50] KenStewart: should i do: ruby -e "$(curl -fsSL https://raw.github.com/gist/323731 -k)" [05:50] KenStewart: or [05:50] KenStewart: ruby -e "$(curl -k -fsSL https://raw.github.com/gist/323731)" [05:50] chjj: kenstewart: did you figure something out? [05:50] konobi: either is fine [05:50] KenStewart: not sure [05:50] KenStewart: ok [05:50] KenStewart: i [05:50] KenStewart: i'll tryit [05:50] chjj: i think you can just compile and install from source [05:50] chjj: to get the headers you need [05:51] KenStewart: nope [05:51] KenStewart: -k didn't work [05:51] KenStewart: ok [05:51] KenStewart: i [05:51] chjj: no? [05:51] jesusabdullah: what about -kfsSL [05:51] KenStewart: l'll try [05:51] jesusabdullah: curl -JESUSCHRISTJUSTWORK https://raw.github.com/gist/numbers [05:52] markmarkoh: sorry, there is no "E" switch [05:52] KenStewart: ha [05:53] KenStewart: -kfsSL didn't work [05:53] konobi: huh, weird... looks like githubs SSL certificates are screwed then [05:53] jesusabdullah: Download it directly and then ruby file.rb maybe [05:53] jesusabdullah: That's what I'd try next [05:54] KenStewart: ok [05:54] KenStewart: got it [05:55] KenStewart: i had to install it as root though [05:56] seivan has joined the channel [05:56] chjj: what are you trying to do? [05:56] KenStewart: i'm brewing node [05:56] confoocious has joined the channel [05:56] confoocious has joined the channel [05:56] KenStewart: brew install node [05:57] KenStewart: it's installing http://www.openssl.org/source/openssl-0.9.8r.tar.gz [05:57] KenStewart: which is good [05:57] KenStewart: i hope to hell this works [05:57] chjj: i dont think thats the latest version actually [05:57] KenStewart: shit [05:58] chjj: curl -O http://www.openssl.org/source/openssl-1.0.0d.tar.gz [05:58] chjj: imo [05:58] othiym23 has joined the channel [05:58] hij1nx has joined the channel [05:58] chjj: whatever, should work [05:58] Dreamer3 has joined the channel [05:59] KenStewart: nice [05:59] chjj: if all else fails you can build node without openssl, you just dont get crypto [05:59] KenStewart: it hasn't thrown an error [05:59] KenStewart: yeah [05:59] KenStewart: crypto isn't that important to me [05:59] KenStewart: but hey, openssl seems to be working [05:59] KenStewart: so far [06:00] unlink has joined the channel [06:00] unlink has joined the channel [06:01] chjj: bah, reformatting this external disk takes too long [06:01] mkrecny has joined the channel [06:02] mkrecny: anybody know how to center the output of console.log? [06:03] chjj: console.log(' hello'); [06:03] chjj: :) [06:03] mkrecny: or just general stdout formatting tools? [06:03] jesusabdullah: Did you know that console.log can use formatting strings? [06:03] mkrecny: no [06:03] jesusabdullah: It's true! [06:03] mkrecny: example? [06:03] jesusabdullah: idk anything else about it really, truth be told [06:04] jesusabdullah: but one of my coworkers found it the other day [06:05] chjj: mkrecny if you do require('tty').getWindowSize[1] you can get the number of cols in the terminal [06:05] chjj: center stuff based on that [06:05] mkrecny: chjj: yes! thanks [06:05] chjj: or require('readline').columns [06:05] davidsklar has joined the channel [06:05] chjj: more exposed i guess [06:05] mkrecny: which is better? [06:05] mkrecny: readline [06:06] rhdoenges: I never use console.log anymore [06:06] mkrecny: what do u use? [06:06] chjj: well readline.columns is just a proxy to tty.getWindowSize()[1] [06:06] rhdoenges: ^^ [06:06] mkrecny: k [06:06] rhdoenges: readline require()s tty anyway [06:06] shanebo: hey guys, what's the diff between module.exports and exports.foo = foo? [06:06] rhdoenges: unless you want to use readline don't bother [06:07] CStumph has joined the channel [06:07] springify has joined the channel [06:07] chjj: shanebo, exports is a reference to the object on the "exports" property of the module object [06:07] chjj: theyre the same object initially [06:07] chjj: unless you change them [06:08] shanebo: alright so on a required file that's a class should you exports.klass = klass and then in the calling file require('klass').klass ? [06:09] chjj: you could do it that way, or you could do `module.exports = klass` [06:09] chjj: and just do `require('klass')` [06:09] jesusabdullah: Oh, mkrecny I wrote you something [06:09] jesusabdullah: center = function(text, w) { var s = ''; for(var i = Math.floor((w-text.length)/2); i > 0; i--) { s+=' '; } return s+text; } [06:09] NetRoY has joined the channel [06:09] jesusabdullah: if you know the width of your term [06:09] stephank has joined the channel [06:09] shanebo: chjj and create the instance on the returned side? [06:10] SamuraiJack has joined the channel [06:10] chjj: if what you exposed is a constructor,sure [06:10] chjj: you get the same object you exposed, every time [06:10] shanebo: chjj, sorry not having a global namespace for all loaded files is racking my brain [06:10] chjj: unless you do something funky, like clear the cache [06:11] chjj: shanebo, you could make one [06:11] jesusabdullah: fhqwhclass [06:11] chjj: have one file require all files you want, and then require that single file, youll have them on one object [06:11] chjj: i mean, put them on one object in that one file [06:12] shanebo: chjj, well I just feel like I'm repeating myself a lot in node… but admittedly it's my shortcoming [06:12] jesusabdullah: Write a module that aggregates other modules [06:12] jesusabdullah: oh, wait, globals? HISSSSSS [06:12] jesusabdullah: That's what I hate about client side [06:13] chjj: yeah by the way, i didnt mean a global object, just one object youd require [06:13] shanebo: jesusabdullah, it's great if you write good encapsulated code though [06:13] mkrecny: so how do you print a column space? [06:13] jesusabdullah: nononono [06:14] jesusabdullah: There is no way you're going to convince me that just shoving all your shit into the global namespace all willy-nilly can be done well [06:14] davidcoallier has joined the channel [06:14] shanebo: chjj, so you're saying in my root app.js file I could have one require which makes all those objects accessible from any other file? [06:14] SubStack: mkrecny: https://github.com/substack/node-wordwrap [06:14] mkrecny: cheers [06:14] mnaser: finally network provider fixes bgp routes [06:15] mnaser: jeeezozz [06:15] shanebo: jesusabdullah you've never seen a clean mootools project then :) [06:15] chjj: in one file you could do: `module.exports = { one: require('./one'), two: require('./two') }; [06:15] SubStack: mkrecny: I've even got a cenetering example all up in the readme [06:15] chjj: etc [06:15] SubStack: should hopefully do what you need [06:15] SubStack: word wrapping is hard >_< [06:15] chjj: substack is pro [06:15] konobi: var foo = require('thing'); foo.bar(); foo.baz(); foo.bleh(); [06:16] mkrecny: yeah i'm actually rendering the output of a cellular automata to stdout [06:16] SubStack: *centering [06:16] SubStack: neat [06:16] mkrecny: yeah it's fun [06:16] shanebo: now in app.js will I need to parse that out into vars or those objects are auto accessible once they return? [06:17] jesusabdullah: I also dislike the idea of these monolithic client side frameworks [06:17] jesusabdullah: such as mootools [06:17] jesusabdullah: blegh [06:17] jesusabdullah: but I suspect that what you end up is an ad hoc module system anyway. [06:17] jesusabdullah: but, y'know, like I have any idea [06:17] shanebo: and don't get me started on jQuery :D [06:17] jesusabdullah: also I'm grumpy right now [06:17] chjj: shanebo: sorry, what? [06:17] chjj: jquery is full of fail, we all know this [06:18] jesusabdullah: jquery is just all like, "fuck all of you" [06:18] jesusabdullah: and you're like, "fiiiine"D [06:18] SubStack: jquery is relatively sane I think [06:18] jesusabdullah: "I'll program in jquery and not javascript" [06:18] jesusabdullah: "geez" [06:18] SubStack: it does dom well and doesn't try to do too much other stuff [06:18] chjj: jquery is just like "hey i got an idea ill put EVERYTHING onto a single constructors prototype" [06:18] svenlito has joined the channel [06:18] jesusabdullah: It *does* do dom well [06:18] chjj: E V E R Y T H I N G [06:18] jesusabdullah: I find it useful [06:18] shanebo: hahaha [06:19] jesusabdullah: idk if I think it's all great and dandy but it's definitely useful [06:19] chjj: E -=- V -=- E -=- R -=- Y -=- T -=- H -=- I -=- N -=- G [06:19] shanebo: HAHAHAHAHA [06:19] konobi: i'm sorry bob, did you just tell me to go fuck myself? [06:20] shanebo: chjj, re: the require, I'm asking if I'll still need to require that in all files I recursively require in order to have access to those objects [06:20] dguttman has joined the channel [06:21] konobi: shanebo: yes [06:21] shanebo: boooo [06:21] shanebo: ;) [06:21] konobi: there's context seperation there for a reason =0) [06:21] konobi: shanebo: avoids libraries you require from stomping all over your code [06:21] konobi: =0) [06:22] shanebo: konobi, yeah admittedly my ignorance is in not understanding the implications of a single threaded event IO [06:22] rhdoenges: konobi: I believe I did, ed [06:22] shanebo: O_o [06:22] jesusabdullah: shanebo: Use them as closures :) [06:22] rhdoenges: :D [06:22] shanebo: I've been told node.js would just click one day, after weeks of headaches [06:23] jesusabdullah: It probably will [06:23] jesusabdullah: It's a fun time! [06:23] dexter_e has joined the channel [06:23] rhdoenges: it is indeed [06:24] chjj: it could be more gradual than abrupt if thats anymore encouraging [06:24] SubStack: shanebo: but you've done browser javascript [06:24] shanebo: SubStack, yes a lot of it [06:24] jesusabdullah: It really should feel pretty natural aside from the require, then [06:24] chjj: shanebo: you have to understand something, theres a major problem with the browser: its not node [06:24] SubStack: node is just v8 with some wrappers for disk and network i/o [06:24] shanebo: I got a simple VC (no M) written in node in the last couple hours not using express [06:24] SubStack: using the standard async browser programming model [06:24] shanebo: so I'm trying to get a feel for the internals [06:25] Throlkim has joined the channel [06:25] SubStack: I don't think MVC is a useful way of decomposing problems [06:25] rhdoenges: the way I coached myself was to keep repeating in my head "return is evil. return is evil. return is evil." [06:25] konobi: shanebo: just read them... most of it is in javascript [06:25] rhdoenges: I mean, return is nice [06:25] shanebo: jesusabdullah, yep, require is the only thing giving me hangups [06:25] rhdoenges: but I had to figure out callbacks. [06:25] rhdoenges: require is kinda funky [06:25] SubStack: require is super straight-forward [06:25] SubStack: qualified imports by default [06:25] chjj: i love nodes module system, im so glad its synchronous too [06:26] jesusabdullah: Yeah, require rocks my socks [06:26] chjj: if you really want to understand it more, i recommend reading lib/module.js [06:26] chjj: gives you a good picture of what happens behind the scenes [06:26] SubStack: when I get some more time I'll impelement that async field for browserify >:D [06:26] shanebo: yeah I learned quickly that returns are nice only in certain methods :D [06:27] chjj: haha [06:27] SubStack: to transform the requires with burrito to load projects piece-wise asynchronously [06:27] jesusabdullah: SubStack: That'll shut them up! [06:27] SubStack: not because I personally need that for anything but more that I keep hearing that the silly async require programming model is the only way to do big projects [06:27] SubStack: jesusabdullah: indeed it will! [06:28] chjj: i hope amd dies out in the browser, its really not necessary [06:28] dguttman has joined the channel [06:28] rhdoenges: it is a matter of personal preference [06:28] KenStewart: quick question [06:29] KenStewart: the node modules folder [06:29] KenStewart: goes where in the node folder [06:29] shanebo: so guys I hear mongoose is what I want to use for ORM/Models? [06:29] konobi: the browser isn't hitting local disk... it's a different problem space where AMD makes more sense [06:30] chjj: i realize that [06:30] chjj: but its not necessary [06:30] chjj: youre making more http requests for no reason, when you could just concatenate js files [06:30] konobi: assuming they're all coming from the same place [06:31] chjj: and? [06:31] chjj: oh sorry misread you [06:32] chjj: i wouldnt want to work on any project where i had such little control [06:33] chjj: i think its one area google closure was kind of onto something, they just didnt execute it very well [06:33] andree has joined the channel [06:33] mscdex: KenStewart: it's relative to your project folder: ./node_modules [06:33] KenStewart: ah [06:33] KenStewart: i see [06:34] tayy has joined the channel [06:35] chjj: kensteward, when you require something the ancestral directory structure is traversed, looking for node_modules [06:35] chjj: kenstewart* even [06:35] ivanfi has joined the channel [06:35] KenStewart: right [06:35] KenStewart: but [06:35] chjj: it checks the current directory first though [06:35] KenStewart: i'm rpm-ing [06:35] KenStewart: and i get [06:36] KenStewart: node.js:134 [06:36] KenStewart: throw e; // process.nextTick error, or 'error' event on first tick [06:36] KenStewart: ^ [06:36] KenStewart: Error: Cannot find module 'socket.io' [06:36] mnaser: KenStewart: meet pastebin.com [06:36] KenStewart: sorry [06:36] SubStack: konobi: what I was getting at there is that AMD could be supported with the synchronous-looking require() syntax and some static analysis with burrito [06:36] KenStewart: i'm trying to get rpm to install socket.io correctly [06:37] konobi: npm? [06:37] KenStewart: where i am when i yeah [06:37] tayy has joined the channel [06:37] KenStewart: sorry [06:37] KenStewart: *npm [06:37] chjj: npm installs things locally by default [06:37] KenStewart: right [06:37] davidcoallier has joined the channel [06:37] KenStewart: so where should i be when i call npm install socket.io [06:37] chjj: you can either do npm install [name] -g or install in your node_modules dir [06:38] chjj: in any node_modules directory in your modules ancestral directory structure [06:38] chjj: or in its current directory [06:38] joshonth_ has joined the channel [06:39] chjj: so if you wanted a "global" node_modules dir, make a node_modules dir in your home directory [06:39] chjj: and every one of your modules within your home dir could see it [06:39] KenStewart: ok [06:39] KenStewart: i'll try that [06:39] chjj: somewhere within your home dir [06:40] _dc has joined the channel [06:40] dnjaramba has joined the channel [06:40] KenStewart: ok [06:41] KenStewart: i did but it's still hitting the Error: Cannot find module 'socket.io' [06:41] chjj: ok, where did you install socket.io, where is your module, and what did you execute for require [06:41] chjj: need to know those 3 things before i can help [06:42] KenStewart: ok [06:42] KenStewart: 1: i have socket.io installed in ~ dir [06:42] igl: did you use install -g? [06:42] KenStewart: like you said [06:43] igl: dont forget the NODE_PATH [06:43] chjj: no [06:43] chjj: ken [06:43] chjj: make a node_modules dir in your home dir [06:43] KenStewart: sorry, [06:43] chjj: and put it there [06:43] mendel_ has joined the channel [06:43] KenStewart: like the top level, yeah [06:43] KenStewart: my computer's HD [06:43] KenStewart: right? [06:43] chjj: just give me the path please [06:44] KenStewart: i have a few [06:44] TheJH has joined the channel [06:44] TheJH has joined the channel [06:44] chjj: cd ~ [06:44] chjj: mkdir node_modules [06:44] KenStewart: "/Users/kennethdstewart/node_modules" [06:44] chjj: ok, good [06:44] chjj: now inside that should be socket.io [06:45] chjj: ~/node_modules/socket.io/ [06:45] KenStewart: yes [06:45] chjj: the directory contains a package.json or an index right? [06:45] dguttman has joined the channel [06:45] KenStewart: yes [06:45] chjj: just to make sure something didnt go wrong [06:45] chjj: ok [06:45] KenStewart: and other stuff [06:45] chjj: now what is the path of your module? [06:46] KenStewart: what do you mean by module? [06:46] KenStewart: node? [06:46] chjj: your file you want to execute with node [06:46] KenStewart: ah [06:46] KenStewart: it's in the Downloads folder [06:46] chjj: in your home directory? [06:46] chjj: ~/Downloads? [06:46] KenStewart: yea [06:47] groom has joined the channel [06:47] chjj: ok, now what does your require call look like? [06:47] KenStewart: i'm using this to test [06:47] KenStewart: http://davidwalsh.name/websocket [06:47] KenStewart: it's the zip there [06:48] KenStewart: the line is [06:48] KenStewart: var http = require('http'), io = require('socket.io'); [06:48] KenStewart: should the socket.io be a path [06:48] KenStewart: ? [06:48] chjj: no [06:48] chjj: that should be good [06:48] KenStewart: ok [06:48] hij1nx has joined the channel [06:48] KenStewart: well, when i run the code [06:48] chjj: try creating just a vanilla module with nothing in it that requires socket.io [06:48] KenStewart: i get: info - socket.io started [06:49] KenStewart: ok [06:49] chjj: ok, well that means its good [06:49] chjj: i dont understand, you get an error after? [06:49] KenStewart: no [06:49] KenStewart: i was [06:49] chjj: just try doing nothing else but requiring socket.io, see if that module youre using is funky [06:49] chjj: oh, now it works? [06:49] KenStewart: until i installed it in the home dir [06:49] chjj: so what is the problem now? [06:50] herbySk has joined the channel [06:50] KenStewart: the console.log() is not posting [06:51] KenStewart: it just oscillates between info.... [06:51] KenStewart: and warn - unknown transport: "undefined" [06:51] templaedhel has joined the channel [06:51] chjj: that module youre using might depend on an older version of socket.io or something [06:51] templaedhel: Evening [06:51] KenStewart: then info - unhandled socket.io url [06:51] KenStewart: ah [06:51] KenStewart: ok [06:51] KenStewart: well [06:52] KenStewart: i'll keep plugging [06:52] KenStewart: at least i'm getting something now other than unknown module" [06:52] KenStewart: :) [06:52] KenStewart: thanks, so far [06:52] ablomen has joined the channel [06:52] KenStewart: yes [06:53] KenStewart: the version is the problem [06:53] KenStewart: this tütorial is using v.6 [06:53] chjj: ah, yeah [06:53] c_t has joined the channel [06:54] KenStewart: i notice that in the page [06:54] KenStewart: http://socket.io/#how-to-use [06:54] KenStewart: they show using a client side file called [06:54] KenStewart: socket.io.js [06:55] chjj: right, they have a client too [06:55] chjj: https://github.com/LearnBoost/socket.io-client [06:56] mscdex has joined the channel [06:57] shanebo: do you guys only run logger in dev? [06:57] fraserkillip: you load the client in socket.io 0.7.x with server:port/socket.io/socket.io.js or just /socket.io/socket.io.js if the socket.io server is on the same server and port as your webserver [06:57] ryanj has joined the channel [06:58] KenStewart has joined the channel [06:58] KenStewart: got it [06:59] tar_ has joined the channel [06:59] tar_ has joined the channel [06:59] hybsch has joined the channel [06:59] emattias has joined the channel [06:59] Nuck: What's your best newbie JS site? [06:59] Nuck: ACTION wants to throw it to a friend [06:59] topaxi has joined the channel [07:00] Nuck: You get a beer from me if it is great for somebody who already knows ECMAScript [07:00] Nuck: Going from AS3 to JS [07:00] inimino: AS3 is not ECMAScript. [07:01] rhdoenges: it's a dialect, just like js [07:01] Nuck: Aye, it technically is. It's a heavily-modded variant, but at the core, it is still ECMAscript [07:01] Nuck: Look it up, [07:01] inimino: I actually know the history, Nuck. [07:01] chjj: js is the unnoficiall name for ecmascript [07:01] chjj: wow i butchered that word [07:01] Nuck: nevermind anyways, I got him nodebeginner :P [07:01] chjj: unofficial [07:02] chjj: ecmascript is js, its not simply a dialect [07:02] tuhoojabotti: js<3 [07:02] Nuck: JavaScript is an implementation of the ECMAScript standard [07:02] Nuck: It is far closer to said standard than AS3 [07:02] Nuck: But they are technically both built on the same standard. [07:02] TomY_ has joined the channel [07:03] chjj: its not an implementation, javascript was the name for ES before it became standardized [07:03] tuhoojabotti: ES xxxD [07:03] Nuck: well yeah [07:03] pyro1: technically the same standard? [07:03] pyro1: i dont know if there was much technique about it lol [07:03] Nuck: But the standard is now ECMAScript [07:03] KenStewart: thanks for your help [07:03] KenStewart: bye [07:03] chjj: its not a "dialect", read the spec [07:03] Nuck: And JS implementations are now from that [07:04] thalll has joined the channel [07:04] chjj: javascript is essentially just the informal name for ecmascript, look at any js engine, they will say they implement ecmascript [07:05] kartmetal: mostly. when mozilla says javascript, it sometimes means quite a bit more than ecmascript. [07:05] liar has joined the channel [07:05] chjj: yeah, good thing theyre not everyone [07:06] kartmetal: also, AS3 compilers have an "ecmascript" flag, that compiles things into something that obeys the usual prototype-based object model. [07:06] kartmetal: I suspect nobody's ever use that flag, but it's there. [07:06] fangel has joined the channel [07:06] chjj: ok...? [07:06] templaedhel has left the channel [07:07] brownies has joined the channel [07:07] chjj: the implication of a dialect is that actual language constructs would be different, theyre not [07:08] shanebo: unrelated question :) [07:08] rhdoenges: I'm reading the nodejs wikipedia page and it has two things of interest: [07:08] rhdoenges: 1. the old logo is still there [07:08] saurabhverma has joined the channel [07:08] chjj: lol [07:08] `3rdEden has joined the channel [07:08] chjj: keep it there! [07:08] Nuck: chjj: I second this notion. [07:08] rhdoenges: 2. it says ryah's middle name is Leinhart [07:08] shanebo: before res.end() should I always writeHead for the content-type? [07:08] rhdoenges: which I am tempted to change to LIONHEART [07:09] chjj: ryans middle name is on there? [07:09] Nuck: rhdoenges: DOIT [07:09] dsirijus has joined the channel [07:09] Nuck: RYAN LIONHEART DAHL [07:09] mrtrosen has joined the channel [07:09] chjj: dont vandalize pages [07:09] brownies has joined the channel [07:09] chjj: especially the node page =( [07:09] Nuck: chjj: It's not vandalizing if it makes it better :P [07:09] shanebo: chjj, before res.end() should I always writeHead for the content-type? [07:09] rhdoenges: I don't vandalize pages [07:09] rhdoenges: I just said I was tempted to [07:09] chjj: shanebo: yes, if you want to send a content-type, which you do [07:10] chjj: shanebo: but you can just res.setHeader() and it will implicitly send the headers when you call .end [07:10] chjj: in fact technically not even .writeHead sends the headers [07:10] rhdoenges: I wish there was `git blame` for wikipedia [07:10] chjj: it renders them and they sit there until the first write call [07:10] Nuck: rhdoenges: History tab? [07:11] shanebo: chjj, setHeader with no args? [07:11] sooli has joined the channel [07:11] chjj: no, res.setHeader('Content-Type', 'text/plain; charset=utf-8'); etc [07:11] chjj: its an alternative api for it [07:11] shanebo: i see [07:12] shanebo: res.writeHead(200) is shorthand then? [07:12] jhurliman: is there a way to use the https://github.com/tlrobinson/long-stack-traces library to get stack traces for all current libev watchers? [07:12] devuo has joined the channel [07:12] ccare has joined the channel [07:12] chjj: res.writeHead(200) will just render whatever headers are buffered and set the status code to 200 [07:12] futuredarrell has joined the channel [07:12] jhurliman: trying to debug the case where an asynchronous chain is broken somewhere, app goes idle and i don't know what the current (sleeping) stack trace looks like [07:12] rhdoenges: Nuck: it's all diffs, I just want to know how they figured out ryan's middle name -- super creepy [07:13] chjj: maybe its not his name, maybe someone just made it up [07:13] zanes has joined the channel [07:14] herbySk74 has joined the channel [07:15] __directory has joined the channel [07:15] rhdoenges: hmm appears it was someone named 'Graphnode' [07:16] rhdoenges: but the user accound has been baleeted [07:16] rhdoenges: *account [07:17] zackattack has joined the channel [07:18] rhdoenges: whatever [07:18] rhdoenges: good night noders [07:19] tuhoojabotti: nn [07:19] tuhoojabotti: Morning to me [07:23] kriz has joined the channel [07:24] mrtrosen has joined the channel [07:24] towski has joined the channel [07:24] kriz has left the channel [07:25] markwubben has joined the channel [07:26] markwubben has joined the channel [07:26] seivan has joined the channel [07:31] cjroebuck has joined the channel [07:33] thriple has joined the channel [07:34] [AD]Turbo has joined the channel [07:34] [AD]Turbo: hi there [07:34] tuhoojabotti: Hello [07:35] bergie has joined the channel [07:35] shanebo: alright gents. i'm out. [07:35] shanebo: thanks for all the help chjj! [07:35] chjj: no problem [07:36] svenlito has joined the channel [07:41] steffkes has joined the channel [07:41] sgimeno has joined the channel [07:42] whitman has joined the channel [07:43] saschagehlich has joined the channel [07:43] jomoho has joined the channel [07:45] AAA_awright: I'm getting Error: Cannot find module 'uglify-js' trying to use socket.io master, anyone know what that's about? [07:45] loob2 has joined the channel [07:46] thepatr1ck: it's in the socket.io-client submodule in it's bin/{rebuild? build?} something directory. [07:47] Druide_ has joined the channel [07:47] thepatr1ck: as to the solution... for me it was to just add a return immediately above the require of uglify-js (I don't let socket.io serve its client js, that's delivered through the CDN) [07:47] AAA_awright: There's no submodules [07:47] AAA_awright: Not in master, at least [07:47] thepatr1ck: maybe in node_modules ? [07:47] AAA_awright: in 0.6 it worked without any intervention [07:47] AAA_awright: THere's no node_modules either [07:47] AAA_awright: find . -name ug\* returns nothing [07:48] thepatr1ck: we upgraded from 0.6-0.7 recently - but obtained it by npm install'ing socket.io [07:48] thepatr1ck: (rather than checking it out the git repo) [07:49] AAA_awright: ... Wht does socket.io want redis?!? [07:49] AAA_awright: *Why [07:50] AAA_awright: thepatr1ck: I just need to git clone https://github.com/mishoo/UglifyJS.git uglify-js I guess [07:50] thepatr1ck: for some reason the redis client is a dependency [07:52] thepatr1ck: looking at it's code it can use redis as some kind of store, we're not using that part of it either [07:52] `3rdEden: AAA_awright uglify is used to minify the client, and Redis will be used for the new storage engine so you can scale over multiple processes [07:53] `3rdEden: AAA_awright installing socket.io over npm should just install uglifyjs if not, it's a npm bug ;) [07:53] futuredarrell: is sys.inherits still in use? i've seen it in some tutorials but cant find sys in the docs [07:53] AAA_awright: Some of don't use npm [07:54] AAA_awright: Alright git clone https://github.com/mranney/node_redis.git redis seems to fix it all [07:56] gozala has joined the channel [07:56] zackattack has joined the channel [07:56] Nuck: AAA_awright: Ohaider again [07:56] AAA_awright: Hello Nuck [07:56] AAA_awright: Nuck: Ohaiu2 [07:57] uchuff has joined the channel [07:58] mikedeboer has joined the channel [07:59] jensn has joined the channel [07:59] eee_c has joined the channel [08:02] Esteb has joined the channel [08:05] futuredarrell: sys is now util, util is now sys [08:05] futuredarrell: got it [08:06] zilch_ has joined the channel [08:07] futuredarrell: blog posts giving node tutorials should definitely put the version number the tutorial is written for - the project is moving so fast its going to leave behind a lot of outdated info [08:07] mscdex: eh? [08:07] mscdex: sys is now util [08:07] mscdex: as of 0.4.x [08:07] mscdex: well, technically 0.3.x [08:08] futuredarrell: sure, i was reading articles or tutorials written from the start of this year using sys and wasnt sure what happened to it [08:09] mscdex: yeah, outdated articles is a problem [08:09] zackattack has joined the channel [08:12] unlink has joined the channel [08:12] unlink has joined the channel [08:14] zilch_ has joined the channel [08:15] meso_ has joined the channel [08:15] lot49 has joined the channel [08:19] secoif has joined the channel [08:20] zilch_ has joined the channel [08:20] Throlkim has joined the channel [08:21] __doc__ has joined the channel [08:22] michaelh_ has joined the channel [08:24] mscdex: http://www2.b3ta.com/heyhey16k/ [08:25] arnee has joined the channel [08:26] tbassetto has joined the channel [08:31] robhawkes has joined the channel [08:32] guidocalvano has joined the channel [08:32] hij1nx has joined the channel [08:34] hij1nx has joined the channel [08:40] kulor-uk has joined the channel [08:41] sylvinus has joined the channel [08:41] zilch_ has joined the channel [08:45] prettyrobots has joined the channel [08:45] escii has joined the channel [08:45] markwubben has joined the channel [08:45] djcoin has joined the channel [08:47] margle has joined the channel [08:49] adrianmg has joined the channel [08:50] jbpros has joined the channel [08:51] hellp has joined the channel [08:55] devuo has joined the channel [08:55] NetRoY has joined the channel [08:57] pickels has joined the channel [08:57] lot49_ has joined the channel [08:58] NetRoY has joined the channel [09:01] akiva has joined the channel [09:01] zilch_ has joined the channel [09:02] fyskij has joined the channel [09:07] CIA-65: node: 03Felix Geisendörfer 07master * r09ee293 10/ (3 files in 2 dirs): [09:07] CIA-65: node: Emit 'close' after all connections have closed [09:07] CIA-65: node: Fixes #1383 - https://github.com/joyent/node/commit/09ee29318f32fdbe68d04188795bb6c760f4835c [09:09] GlynnR has joined the channel [09:09] bzinger has joined the channel [09:12] Wizek has joined the channel [09:13] webben has joined the channel [09:13] lent has joined the channel [09:13] andrewfff has joined the channel [09:15] blup has joined the channel [09:16] apardo has joined the channel [09:21] zilch_ has joined the channel [09:25] thalll has joined the channel [09:26] pNstK has joined the channel [09:26] booo has joined the channel [09:28] seivan_ has joined the channel [09:29] luke` has joined the channel [09:30] luke`_ has joined the channel [09:32] adrianmg has left the channel [09:33] H4ns has joined the channel [09:33] meso_ has joined the channel [09:33] ttpva has joined the channel [09:33] CStumph has joined the channel [09:35] eldar has joined the channel [09:36] aliem has joined the channel [09:40] kulor-uk has joined the channel [09:40] zilch_ has joined the channel [09:40] altamic has joined the channel [09:42] tayy has joined the channel [09:42] CStumph has joined the channel [09:45] fly-away has joined the channel [09:48] arnee has joined the channel [09:49] kingkonga has joined the channel [09:49] AAA_awright: If I make multiple reads on a portion of a file are they guarenteed to return in the same order I ask for them? [09:49] tar_ has joined the channel [09:51] AAA_awright: Well, specifically, I'm monitoring an append-only file for appends, how would I read those like a stream? [09:52] Metal3d has joined the channel [09:52] michaelhartau has joined the channel [09:53] Nuck: AAA_awright: Heh [09:53] Nuck: I'm gonna see about applying to Y Combinator next round [09:54] HelloWorld has joined the channel [09:54] HelloWorld: hello, how to remove all \r\n from any kind of string/array? [09:54] kingkonga: AAA : start with this i think -- http://nodejs.org/docs/v0.4.10/api/fs.html#fs.watchFile [09:55] AAA_awright: v8: "A\rb\nc\rd\n".replace(/[\r\n]/g,""); [09:55] v8bot_: AAA_awright: "Abcd" [09:56] AAA_awright: HelloWorld: Like so [09:56] Nuck: v8bot_: Good work, soldier. [09:56] Metal3d: excuse me but, is there a way to work with big float ? [09:56] AAA_awright: All javascript numbers are 64-bit floating points [09:57] Metal3d: yes, but there is a way to support very big long float [09:57] Metal3d: ? [09:57] AAA_awright: Metal3d: For more you're going to have to seralize it into a Buffer or use a big number library [09:57] Metal3d: big number library, right, this is what I'm seeking :) [09:58] AAA_awright: Uh, google, I don't have any experience with it within Node.js [09:58] Metal3d: ok [09:58] Metal3d: thanks [09:58] AAA_awright: kingkonga: I've got the fs.watchFile down [09:59] HelloWorld: thanks [09:59] zilch_ has joined the channel [09:59] Nuck: AAA_awright: pray for my success on the Y Combinator thingy ;P (doubt I'll actually get in, though I've got a damn good team assembled, the project itself is kinda iffy) [10:00] kingkonga: AAA_awright : so watchfile would callback on every access, you need to keep track of whats changed ... maybe track size? [10:00] Nuck: Hey guys, any of you know what a shoddy office in SF costs? [10:00] Nuck: For like, 5 guys, tops? [10:00] SubStack: too much [10:01] Nuck: SubStack: IS it? [10:01] threecreepio has joined the channel [10:01] AAA_awright: Nuck: I think it's a good idea [10:01] SubStack: Nuck: do you need an office right away? [10:02] Nuck: SubStack: I wanna move to SF area, whether or not I can get VC from Y Combinator, but I need to know prices of office buildings for an eventual target. [10:02] m00p has joined the channel [10:02] Nuck: For now, I'll probably rent a place and work from there [10:02] AAA_awright: Nuck: If you need an office address on the cheap, may I sugguest http://virtualoffices.regus.com/default.htm [10:02] SubStack: Nuck: I mean, why do you need to work from a place? [10:03] SubStack: if you're just starting out with a small team hacking from home works pretty well [10:03] Nuck: SubStack: Our team relies on me to do the server mostly [10:03] pNstK has joined the channel [10:03] Nuck: Since I am currently the only Node.js coder [10:03] Nuck: (I'm training up another person though, so hopefully that'll work out) [10:03] AAA_awright: Nuck: That sounds like a problem waiting to happen [10:03] Nuck: Then we have our mobile dev [10:03] Nuck: And a server administrator [10:04] AAA_awright: Specialization is GREAT but people do need to know that other team members aren't completely BSing them, too [10:04] Nuck: AAA_awright: I know what everybody is working on right now. [10:04] Nuck: Pickley, our mobile dev, ahs begun mocking up our mobile app [10:04] bergie has joined the channel [10:05] Nuck: Hyperized is waiting on my request for servers [10:05] AAA_awright: Nuck: Well, I mean more that people know what Node.js is capable of so they aren't asking for it to hold their coffee for them or something [10:06] AAA_awright: But other than very basic understanding of who specalizes in what [10:06] AAA_awright: But what am I saying, you clearly know all this [10:07] HelloWorld: how to keep sockets alive with socket.io? it seems like websocket is the only stable connection type? [10:08] HelloWorld: does some kind of ping work to keep the other transport types alive? [10:09] Nuck: AAA_awright: I've briefed all my people on this shit. [10:09] loob2_ has joined the channel [10:10] AAA_awright: Nuck: How do you find people like this? I'm (only casually) looking for developers [10:10] Nexxy has joined the channel [10:10] Nexxy has joined the channel [10:10] AAA_awright: And other help [10:11] Nuck: AAA_awright; I hang around them on dA all the time. I founded a chat called #DevelopingDevelopers on there, and my cofounder is a mobile app developer [10:11] akiva has joined the channel [10:11] Nuck: (made deviantART chat for iPHone, is willing to reuse the codebase for Fakooda's chats) [10:11] AAA_awright: So am I but Freenode is for people who already have jobs, I guess? [10:15] Nuck: so it would seem [10:15] Metal3d: AAA_awright, https://github.com/jhs/bigdecimal.js => good [10:16] Nuck: AAA_awright: You've noticed the same thing? [10:16] AAA_awright: :o [10:17] AAA_awright: And DeviantArt is for poor, starving artists. Of course. [10:17] AAA_awright: I mean, it all makes sense now. [10:18] zilch_ has joined the channel [10:18] ditesh|cassini has joined the channel [10:18] kulor-uk has joined the channel [10:19] zilch_ has joined the channel [10:19] kulor-uk has joined the channel [10:19] zilch_ has joined the channel [10:20] zilch_ has joined the channel [10:22] FireFly has joined the channel [10:23] zilch_ has joined the channel [10:24] andrewfff has joined the channel [10:25] Swizec has joined the channel [10:25] zilch_ has joined the channel [10:26] gkmngrgn has joined the channel [10:26] hellp has joined the channel [10:28] zilch_ has joined the channel [10:28] seivan has joined the channel [10:30] GlynnR has joined the channel [10:30] zilch_ has joined the channel [10:33] TheJH has joined the channel [10:33] zilch_ has joined the channel [10:41] joshonth_ has joined the channel [10:41] kingkonga: hey, would anyone know how to add or suggest an addition to the node wiki on github? [10:42] Nuck: lol I'm recruiting another noder from AS3. Saving him from the clutches of Flash and rescuing him with JS! [10:42] Nuck: Where our errors make SENSE. [10:42] tuhoojabotti: lol. [10:42] Nuck: And our stack traces give line numbers [10:42] kingkonga: there is some information missing from the setup process that I would like to add in there [10:42] Nuck: And not just function names lol [10:43] humanerror has joined the channel [10:44] eee_c1 has joined the channel [10:45] tuhoojabotti: short stacks :P [10:49] Metal3d: http://fpaste.org/7sVL/ [10:49] Metal3d: :) [10:52] zilch_ has joined the channel [10:52] c_t has joined the channel [10:52] skm has joined the channel [10:53] sethetter has joined the channel [10:54] zilch_ has joined the channel [10:54] blup has joined the channel [10:54] kdng-saleem3 has joined the channel [10:55] zilch_ has joined the channel [10:56] kdng-saleem3 has joined the channel [10:57] herbySk has joined the channel [10:57] tuhoojabotti: : [10:57] tuhoojabotti: :u* [10:59] arnee has joined the channel [11:00] H4ns` has joined the channel [11:03] CStumph has joined the channel [11:03] fairwinds has joined the channel [11:04] arnee has joined the channel [11:07] arnee has joined the channel [11:11] Drakonite: Hi all [11:11] Nexxy: hai Drakonite ;3 [11:11] Drakonite: Hiya Nexxy [11:12] Drakonite: good to see someone is awake [11:12] Drakonite: I'm looking at using node.js to implement the web backend for a mobile application [11:12] Nexxy: yay! [11:12] Nexxy: Drakonite++ [11:12] v8bot_: Nexxy has given a beer to Drakonite. Drakonite now has 1 beers. [11:12] catb0t: Drakonite now has 1 beer [11:12] Drakonite: I'm trying to find an existing solution for user authentication [11:13] Nexxy: hmmm! [11:13] sridatta has joined the channel [11:13] Nexxy: something like OAuth? [11:13] Drakonite: the intent is for the client side to handle login transparently, but everything I can find is based on requiring an actual webview being provided to the user and relying on url redirects [11:13] Nexxy: or fb connect? [11:13] Nexxy: or your own database? [11:14] tuhoojabotti: Nexxy, Drakonite: Hai :3 [11:14] Nexxy: my question would be how you get the credentials to the client in the first place if it's completely transparent [11:14] zilch_ has joined the channel [11:14] Nexxy: I could see using something like localStorage or something [11:14] Drakonite: my own database works, though at one point I liked the idea of using openID so I didn't need to deal with user creation and password resets, etc [11:14] tuhoojabotti: BrowserID! [11:15] pNstK has joined the channel [11:15] tuhoojabotti: :D [11:15] Drakonite: well, I mean, the user would provide user/pass info on install, and the client would auto-login after that [11:15] tuhoojabotti: Drakonite: Btw, it's 14:15 here and I'm at work. :P [11:16] Nexxy: it's 4:16 here and I'm @ work! [11:16] fangel has joined the channel [11:16] kdng-saleem3: It's 7:16 here and I'm @ work!!! ;) [11:17] Nexxy: Drakonite, can you just use some sort of auth token that's just sent w/ every request? [11:17] Nexxy: that would make it easy to be all RESTful and what not [11:17] tuhoojabotti: Some one explain RESTful in one sentence. [11:17] tuhoojabotti: :P [11:18] Nexxy: uh lol [11:18] Drakonite: if there isn't a solution I will have to implement my own and use something like that to track it.. but the point is I don't want to handle a lot of that stuff if I don't need to [11:19] tuhoojabotti: I can't be bothered to read a huge article about it, but every one here seems to be talking about it. [11:19] chjj has joined the channel [11:19] Nexxy: Drakonite, I'm sure you could find some modules out there that would do most/all of that for you [11:19] Nexxy: I haven't personally used any node auth libs tho [11:20] Drakonite: any recommendations? [11:20] shapeshed has joined the channel [11:20] Nexxy: tuhoojabotti, basically uhm... [11:20] tuhoojabotti: :D [11:20] mape: everyauth? [11:20] Nexxy: tuhoojabotti, stateless generic HTTP API [11:20] Nexxy: utilizing existing HTTP methods [11:20] Nexxy: w/o a bunch of bullshit ontop [11:20] Drakonite: the only one I've tried that didn't rely on a bunch of url redirects was 'login' .. which just plain didn't work, and had quite a few syntax errors [11:20] tuhoojabotti: stateless as in? [11:21] Nexxy: as in; a client isn't required to log-in before being allowed to perform a certain action or make a particular request [11:21] tuhoojabotti: So it doesn't have like sessions? [11:21] Nexxy: all credentials necessary to complete any action are sent with every request [11:21] tomilaine: hi, any opinions on colors.js vs. colours.js vs. coloder.js vs. cli-color vs. ? :) [11:21] Drakonite: sessions would be stored as data on the client side [11:21] Nexxy: tuhoojabotti, as far as the user is concerned; they would of course need to log in to your app [11:21] tuhoojabotti: tomilaine: Just use one? :D [11:22] tomilaine: :D [11:22] Nexxy: login was probably the wrong word [11:22] Nexxy: authenticate? [11:22] tuhoojabotti: I have colors.js or colours.js, dunno. [11:22] tuhoojabotti: works :P [11:22] seivan has joined the channel [11:22] tuhoojabotti: Nexxy: Thanks anyways. :P [11:22] Nexxy: does that not help? lol [11:22] tuhoojabotti: Dunno [11:23] tuhoojabotti: I just drank the worst coffee ever (on this work period) [11:23] tuhoojabotti: It must have been boiling from the morning. :P [11:23] Nexxy: lol ew [11:23] Nexxy: tuhoojabotti, http://en.wikipedia.org/wiki/Representational_State_Transfer#Constraints [11:23] Nexxy: that explains it better than I can [11:24] Drakonite: mape: recommendation on where to find docs for that? [11:24] Nexxy: just that one section is probably enough to understand the basic idea [11:24] tuhoojabotti: Nexxy: What is I say about hueg articles? :/ [11:24] mape: Drakonite: github? [11:24] tuhoojabotti: :P [11:24] Nexxy: tuhoojabotti, JUST read Constraints! [11:24] Nexxy: lol [11:24] jobim: tuhoojabotti: coofee like that makes you feel alive [11:24] tbassetto has joined the channel [11:24] tuhoojabotti: jobim: No, coffee like that makes you want to commit suicide. [11:24] tuhoojabotti: Luckily I can wash it off [11:24] tuhoojabotti: The taste that is. [11:25] guillermo has joined the channel [11:25] tuhoojabotti: Nexxy: But it's so long :u [11:25] sylvinus has joined the channel [11:25] Nexxy: ACTION sigh [11:25] tuhoojabotti: 425 words [11:26] tuhoojabotti: :D [11:26] tuhoojabotti: Okay, I'll read it. [11:27] boaz has joined the channel [11:28] GlynnR2 has joined the channel [11:31] zilch_ has joined the channel [11:31] saschagehlich has joined the channel [11:33] joshontheweb has joined the channel [11:34] zilch_ has joined the channel [11:36] CStumph has joined the channel [11:36] zilch_ has joined the channel [11:41] hassox has joined the channel [11:43] robotmay has joined the channel [11:44] djcoin has joined the channel [11:45] luke` has joined the channel [11:45] TheJH has joined the channel [11:45] TheJH has joined the channel [11:45] industrial: I'm not sure how to update documents with Mongoose; https://gist.github.com/4b2f2eef8b81685db0dc [11:46] CStumph has joined the channel [11:46] industrial: I made existingUser to validate the input, but I bet that's not the way. [11:46] emattias has joined the channel [11:46] industrial: Also I'm getting back the error 'Mod on _id not allowed'. [11:47] CStumph has joined the channel [11:51] ap3mantus has joined the channel [11:52] clifton has joined the channel [11:53] Charuru has joined the channel [11:54] christophsturm has joined the channel [11:55] kimico has joined the channel [11:56] zilch_ has joined the channel [11:57] traph has joined the channel [11:57] zilch_ has joined the channel [12:00] zilch_ has joined the channel [12:00] cjroebuck has joined the channel [12:01] zilch_ has joined the channel [12:03] booo has joined the channel [12:03] zilch_ has joined the channel [12:05] luke` has joined the channel [12:06] weezle has joined the channel [12:07] zilch_ has joined the channel [12:07] jvduf has joined the channel [12:08] luke`_ has joined the channel [12:08] luke`__ has joined the channel [12:08] zilch_ has joined the channel [12:11] jshaw has joined the channel [12:15] brianseeders has joined the channel [12:15] igl1 has joined the channel [12:20] svenlito has joined the channel [12:22] okuryu has joined the channel [12:23] kriszyp has joined the channel [12:23] smolyn has joined the channel [12:25] zilch has joined the channel [12:25] fumanchu182 has joined the channel [12:25] zilch: what is the recommended way of doing the inheritance in JS ? What the module's written by core team and the other pro's use ? I have gone through the Crockford's Good Parts ... and he kinda concludes that the "Functional" way and "Parts" are good ... [12:26] temp01 has joined the channel [12:27] broofa has joined the channel [12:27] zilch has joined the channel [12:27] dexter_e has joined the channel [12:28] zilch_ has joined the channel [12:28] Ezku\: zilch_: I use CoffeeScript for when I need classes. [12:28] rvb has joined the channel [12:30] zilch_ has joined the channel [12:30] zilch has joined the channel [12:31] zilch: Ezku\, what are the benifits of using coffee script ? [12:32] zilch has joined the channel [12:32] zilch_ has joined the channel [12:33] thegingman has joined the channel [12:34] iFire has joined the channel [12:34] hybsch has joined the channel [12:35] zilch_ has joined the channel [12:35] zilch has joined the channel [12:37] mehtryx has joined the channel [12:38] bradleymeck has joined the channel [12:38] zilch has joined the channel [12:40] rchavik has joined the channel [12:41] zilch has joined the channel [12:41] skm has joined the channel [12:43] zilch has joined the channel [12:44] samBiotic has joined the channel [12:45] zilch has joined the channel [12:47] xtianw has joined the channel [12:48] zilch has joined the channel [12:49] AaronMT has joined the channel [12:50] domachine has joined the channel [12:50] zilch has joined the channel [12:50] linyows has joined the channel [12:51] domachine: Hey guys. Greetings from Germany [12:51] guidocalvano has joined the channel [12:51] domachine: I've got a quick question and hope that anyone can help me. [12:51] domachine: I'd like to write an application that loads modules dynamically [12:52] domachine: But my problem is that I have to catch the case if a module doesn't exist. [12:52] mehtryx has joined the channel [12:52] domachine: What is the best way to do that? [12:52] kkaefer: domachine: afaik you can't fully try/catch module loading :( [12:52] kkaefer: domachine: the closest way is to fs.stat the file you want to load and see whether it exists [12:53] domachine: kkaefer: Oh thx for your answer [12:53] kkaefer: require.resolve('module name') will give you the file [12:53] zilch_ has joined the channel [12:53] kkaefer: but there are many edge cases in module loading [12:53] kkaefer: and I don't think require.resolve() reads package.json [12:54] kkaefer: domachine: the best way to find out more about module loading is to actually read node's source code [12:54] domachine: kkaefer: Ok thx. I'll check it. [12:55] zilch_ has joined the channel [12:55] christophsturm: domachine: what modules do you want to load dynamically? [12:56] domachine: kkaefer: I want a plugin mechanism [12:56] domachine: christophsturm: [12:56] domachine: :D [12:56] domachine: sry [12:56] luke` has joined the channel [12:56] vipaca has joined the channel [12:56] domachine: I want dynamic plugin. So they don't have to be valid nodejs modules [12:57] zilch_ has joined the channel [12:57] kkaefer: domachine: you have to describe that more precisely, "dynamic plugin" doesn't really mean anything [12:57] domachine: christophsturm: Any idea about how to handle this in node way? [12:58] c_t has joined the channel [12:58] domachine: christophsturm: I've done this before but with python and its __import__ function. [12:58] christophsturm: domachine: i think you should write some example code and maybe a failing testcase. that always helps me to avoid overengineering and overthinking [12:59] julienXX has joined the channel [13:00] domachine: christophsturm: Yeah i did this: With require and a try...catch. But the exception is a simple object. [13:00] kkaefer: you still didn't describe what you want to do exactly [13:00] kkaefer: and how you expect node to behave [13:00] kkaefer: and how it actually behaves [13:01] domachine: kkaefer: Oh sorry. [13:01] domachine: ok ... [13:01] HelloWorld: is there anything already made to execute jquery commands from nodejs json? [13:02] unlink has joined the channel [13:02] domachine: kkaefer: I want to implement a plugin mechanism: My first draft was to simply ``require()`` the module and simply catch some exception and check its type. [13:03] domachine: kkaefer: But the problem is that the thrown exception is a simple ``object``. So I can't figure out what error occured while loading. [13:04] domachine: kkaefer: So I asked myself if there isn't a more elegant way to do this. [13:04] kkaefer: what do you expect to happen when require()ing a module fails? [13:04] thomblake has joined the channel [13:04] thomblake has left the channel [13:04] domachine: kkaefer: I expect some useful exception to check for with typeof. [13:05] domachine: kkaefer: So that I can figure out if the module is broken or doesn't exist. [13:05] kkaefer: domachine: maybe you're confusing typeof with instanceof? [13:05] kkaefer: typeof new Error() === 'object' [13:05] kkaefer: err instanceof Error === true [13:06] domachine: kkaefer: Oh this is interesting. I'm new to javascript maybe I should first learn about these operators [13:06] kkaefer: typeof returns object for everything, except for numbers, strings, functions and undefined [13:06] domachine: kkaefer: Ah thank you for this useful information. [13:06] kkaefer: try{}...catch(err) { console.warn(err); } [13:06] kkaefer: that'll probably print the error object [13:07] kkaefer: and you'll see what properties it has etc. [13:07] kkaefer: as a general advice, checking types in JavaScript isn't a very good idea for most things [13:07] TechCel has joined the channel [13:07] kkaefer: instead, you should check whether the object has the required properties for your code to operate [13:07] domachine: kkaefer: Ah, thank you. I see I should first learn some more basic things about javascript. [13:07] kkaefer: domachine: this is called "duck typing" http://en.wikipedia.org/wiki/Duck_typing [13:08] domachine: kkaefer: Ok this is something I know. I did a lot things with python. [13:08] sonnym has joined the channel [13:08] kkaefer: domachine: http://www.amazon.de/dp/0596517742 is a good book to learn about the more intricate parts of JavaScirpt [13:09] zilch has joined the channel [13:09] matyr has joined the channel [13:09] domachine: kkaefer, christophsturm: Thank you so much for your help. Node's community is really great! [13:10] christophsturm: domachine: there's also a nice talk by Douglas Crockford on youtube, you can start by watching that [13:11] zilch has joined the channel [13:12] davidwalsh has joined the channel [13:12] mikeycgto has joined the channel [13:12] domachine: christophsturm: Oh yeah I see this guy did many talks. Do you mean the one about Server Sideness? [13:13] christophsturm: i think its called javascript the good parts too [13:13] zilch has joined the channel [13:14] domachine: christophsturm: Ah yeah ... found it. Ok I know what to do within the next hour :-) Thx. [13:14] fermion has joined the channel [13:14] julienXX has joined the channel [13:14] julienXX has joined the channel [13:14] JumpMast3r has joined the channel [13:15] kawaz_home has joined the channel [13:15] ralphholzmann: heyo - I left node server online overnight, now I'm getting a bunch of these in the console: [13:15] ralphholzmann: (node) Hit max file limit. Increase "ulimit -n" [13:16] domachine: HelloWorld: Check out jsdom on github.com [13:16] zilch has joined the channel [13:16] ralphholzmann: It's an smtp email server so I do a lot of attachment piping and fs.readFile-ing [13:16] zilch_ has joined the channel [13:16] bminer has joined the channel [13:17] sfoster has joined the channel [13:17] chewybacon has joined the channel [13:17] radiodario has joined the channel [13:17] newy_ has joined the channel [13:17] unomi has joined the channel [13:18] zilch has joined the channel [13:18] kmox83 has joined the channel [13:18] digitaltoad has joined the channel [13:19] jonaslund has joined the channel [13:20] zilch has joined the channel [13:20] jonaslund: Is the nodejs-dev group moderated ? [13:21] bnoordhuis has joined the channel [13:21] stehoyer has joined the channel [13:22] tcurdt has joined the channel [13:22] Xano has joined the channel [13:22] zilch has joined the channel [13:24] zilch has joined the channel [13:26] cfq has joined the channel [13:30] seivan has joined the channel [13:33] jakehow has joined the channel [13:33] dtan has joined the channel [13:34] diegoviola has joined the channel [13:34] xtianw: jonaslund: Yes [13:35] zilch_ has joined the channel [13:35] Aikar: http://notinventedhe.re/on/2011-7-26 [13:36] Ginlock has joined the channel [13:36] markdaws has joined the channel [13:36] wbw72 has joined the channel [13:37] matt_taylor has joined the channel [13:37] zilch_ has joined the channel [13:39] RobertLJ has joined the channel [13:39] kdng-saleem3 has joined the channel [13:40] zilch_ has joined the channel [13:42] zilch_ has joined the channel [13:42] apardo has joined the channel [13:43] fairwinds has joined the channel [13:43] industrial: https://gist.github.com/160656b931eeab54f9b4 How;s this possible? [13:44] keyvan: lol anyone seen node.js hate like this? (from ##c) 06:37 orbitz: But i shoudln't expect much from someoen using nodejs [13:44] zilch has joined the channel [13:44] keyvan: first time i seen anyone say something like that about node.js or its practitioners. i lol'd [13:45] zilch_ has joined the channel [13:45] industrial: keyvan: any idea :p? [13:45] prettyrobots has joined the channel [13:45] keyvan: industrial: none whatsoever. jealousy? [13:45] keyvan: haha [13:46] svnlto_ has joined the channel [13:46] industrial: keyvan: i mean on my problem :p [13:46] industrial: i set a var but then its not there [13:46] industrial: (ghosts!) [13:46] zilch has joined the channel [13:47] zilch_ has joined the channel [13:47] keyvan: what var? id ? [13:48] industrial: yes [13:48] industrial: its not printed and not sent to the client, but if I console.log it right there it prints fine [13:48] willwhite has joined the channel [13:48] keyvan: is that the way you add a property to a js object? object.newproperty = 'foo' ? [13:48] keyvan: seems wrong [13:48] keyvan: oh, does it. [13:49] bshumate has joined the channel [13:49] bshumate has joined the channel [13:50] devongovett has joined the channel [13:51] keyvan: industrial: ya thats pretty weird. [13:51] DarylM has joined the channel [13:53] jstroem has joined the channel [13:53] Corren has joined the channel [13:54] aheckmann has joined the channel [13:54] mrryanjohnston has joined the channel [13:54] dtan_ has joined the channel [13:55] _jhs has joined the channel [13:55] matt_taylor_ has joined the channel [13:56] guillermo has joined the channel [13:57] eee_c has joined the channel [13:59] rfay has joined the channel [14:00] svenlito has joined the channel [14:00] hellp has joined the channel [14:03] EvRide has joined the channel [14:03] tuhoojabotti: What's the best xml module for node? [14:03] tuhoojabotti: :P [14:03] smtlaissezfaire has joined the channel [14:04] industrial: tuhoojabotti: seriously? [14:04] keyvan: rm -rf xml touch json [14:04] fdenbow has joined the channel [14:04] keyvan: industrial: you figure out your issue yet? [14:04] tuhoojabotti: No, I'm kidding. [14:05] futuredarrell has joined the channel [14:06] kkaefer: is there a way to alter the internal eio thread pool count? [14:06] kkaefer: I found https://github.com/polotek/node/compare/2c1ca4078d12ea62745d0f3f72c0909befe86399...threads [14:06] matt_taylor has joined the channel [14:07] zokko has joined the channel [14:07] zokko: hi [14:07] zokko: any1 using zombie.js? [14:07] kdng-saleem3 has joined the channel [14:08] nibblebot has joined the channel [14:08] Drake_ has joined the channel [14:09] newy has joined the channel [14:09] sonnym has joined the channel [14:09] StepanKuzmin has joined the channel [14:10] Poetro has joined the channel [14:10] c4milo has joined the channel [14:13] matt_taylor_ has joined the channel [14:13] Xeon06_ has joined the channel [14:14] kdng-saleem3 has joined the channel [14:14] kdng-saleem3 has left the channel [14:14] bnoordhuis: kkaefer: eio_set_min_parallel() and eio_set_max_parallel() [14:15] Swimming_bird has joined the channel [14:15] bnoordhuis: kkaefer: eio is an implementation detail now so use at your own risk [14:15] kkaefer: ok... there doesn't seem to be a module that does tis yet [14:15] kkaefer: is there? [14:15] bnoordhuis: kkaefer: don't think so [14:15] kkaefer: bnoordhuis: yeah, I know that it probably won't work on node 0.6 anymore, or on windows [14:16] industrial: How do I export all data from a Mongoose model instance into an Object instance? [14:16] industrial: I can't change the data how I like before sending [14:16] dexter_e has joined the channel [14:17] jscheel has joined the channel [14:17] jscheel has joined the channel [14:18] smtlaissezfaire has joined the channel [14:19] industrial: aheckmann: ^ [14:19] davemo has joined the channel [14:19] zubairov has joined the channel [14:20] shanebo has joined the channel [14:20] vrtak-cz has joined the channel [14:20] DarylM has left the channel [14:20] aheckmann: industrial: you can write a little helper method that uses the .toObject() method [14:20] pjacobs has joined the channel [14:20] aheckmann: ThingSchema.methods.toBackbone = function () { [14:20] aheckmann: var obj = this.toObject(); [14:20] aheckmann: obj.id = obj._id; [14:20] aheckmann: delete obj._id; [14:20] aheckmann: return obj; [14:20] aheckmann: } [14:20] baudehlo has joined the channel [14:21] mnaser: pastebinnnn [14:21] vrtak-cz: hi all [14:21] vrtak-cz: aheckmann: use paste! [14:21] shanebo: hey guys, any recommendations on node hosting? [14:22] industrial: mnaser, vrtak-cz; saying it just for the hell of it? that 5 lines of code doesnt compare to the hundreds of joinquitspam :P [14:22] highermath has left the channel [14:22] baudehlo has left the channel [14:22] industrial: aheckmann: right [14:22] baudehlo has joined the channel [14:22] JJMalina has joined the channel [14:23] matyr_ has joined the channel [14:23] vrtak-cz: i have little problem with installing node on Debian Squeeze... I installed from SID and install npm but node-waf missing... any idea how to fixit? [14:23] vrtak-cz: industrial: ok... sorry... //cc aheckmann [14:23] brianc has joined the channel [14:24] aheckmann: vrtak-cz ha np [14:24] bnoordhuis: vrtak-cz: does the deb actually contain node-waf? [14:24] DarylM has joined the channel [14:24] kartmetal has joined the channel [14:25] bnoordhuis: vrtak-cz: `dpkg -c /var/cache/apt/archives/node-version.deb | grep waf` i suppose [14:25] nibblebo_ has joined the channel [14:27] stehoyer has joined the channel [14:27] zokko: guys [14:28] vrtak-cz: bnoordhuis: no... :-( [14:28] zokko: http://fpaste.org/CgaB/ [14:28] zokko: any1 can help? [14:28] zokko: i cant launch google ecommerce code in node.js with zombie.js [14:29] c_t has joined the channel [14:29] zokko: and yes, i've been on #zombie.js .. [14:29] __class__ has joined the channel [14:29] patrickgamer has joined the channel [14:30] jerrysv has joined the channel [14:30] vrtak-cz: bnoordhuis: so... how to install? Or use another .dep package? [14:31] jmalina has joined the channel [14:31] Fuu` has joined the channel [14:32] losing has joined the channel [14:33] patrickgamer has left the channel [14:33] jtsnow has joined the channel [14:35] vrtak-cz: bnoordhuis: hmm cool nodejs-dev package on SID contains waf... [14:35] vrtak-cz: bnoordhuis: solved... thx... :-) [14:35] bnoordhuis: bnoordhuis: cool :) [14:36] tuhoojabotti: lol [14:36] tuhoojabotti: tuhoojabotti: Did you notice that you're talking to yourself? [14:36] Fuu` has joined the channel [14:37] vrtak-cz: :-D [14:37] tuhoojabotti: No wait [14:37] tuhoojabotti: :U [14:38] iFire has joined the channel [14:38] jtsnow has joined the channel [14:40] JJMalina has joined the channel [14:40] kevwil has joined the channel [14:40] shanebo: anyone here have experience hosting node on http://docs.duostack.com/node/quick-start-guide? [14:41] colinclark has joined the channel [14:41] anaio has joined the channel [14:44] sub_pop has joined the channel [14:44] EyePulp has joined the channel [14:46] bitprobe has joined the channel [14:46] pjacobs has joined the channel [14:46] Xeon06_ has joined the channel [14:47] digitaltoad has joined the channel [14:48] zilch has joined the channel [14:48] softdrink has joined the channel [14:49] RORgasm has joined the channel [14:49] unomi has joined the channel [14:49] sivy has joined the channel [14:49] sjerrys has joined the channel [14:50] caiges has joined the channel [14:50] xerox: is there a javascript code coverage tool? [14:50] xerox: maybe even inside v8/node itself? [14:51] kmiyashiro has joined the channel [14:52] softdrink: node-qunit comes with jscoverage support [14:52] zanes has joined the channel [14:53] captain_morgan has joined the channel [14:53] bnoordhuis: tuhoojabotti: phone calls and irc don't mix :( [14:53] baudehlo has joined the channel [14:53] tuhoojabotti: :DD [14:54] ampex has joined the channel [14:55] donald_cook has joined the channel [14:55] xerox: softdrink: I'm going to try this one https://github.com/visionmedia/node-jscoverage.git [14:55] hij1nx has joined the channel [14:56] _sorensen_ has joined the channel [14:56] Xano has joined the channel [14:57] gazumps has joined the channel [14:58] DarylM has joined the channel [14:58] c_t_ has joined the channel [14:58] explodes has joined the channel [14:58] explodes: What kinds of problems am I going to see moving from 0.4.9 to 0.4.10 ? [14:58] jbpros has joined the channel [14:59] gkatsev: the green on the outside and red on the inside variety? [15:00] gtramont1na has joined the channel [15:00] gkatsev: oh, sorry, that's a watermelon. [15:01] mapleman has joined the channel [15:03] markwubben has joined the channel [15:03] mraleph has joined the channel [15:03] explodes: Is it possible a lot of my old npm modules will no longer work? [15:04] explodes: Or is 0.4.10 backwards compat with 0.4.9 ? [15:04] xtianw: None [15:04] xtianw: API is stable on even numbered versions [15:04] gkatsev: explodes: I doubt you will have any problems. [15:05] explodes: node(1835) malloc: *** error for object 0x100824240: incorrect checksum for freed object - object was probably modified after being freed. [15:05] explodes: *** set a breakpoint in malloc_error_break to debug [15:05] gkatsev: are you getting an error upgrading from 0.4.9 to 0.4.10? [15:05] c_t has joined the channel [15:06] zilch_ has joined the channel [15:06] explodes: No, this is why I'm upgrading [15:06] gkatsev: ah, ok [15:06] explodes: I seem to get malloc errors all of the time [15:06] Xeon06_ has joined the channel [15:06] gkatsev: maybe do a clean install? [15:07] sethetter has joined the channel [15:07] zilch_ has joined the channel [15:08] Tidwell has joined the channel [15:08] domachine has joined the channel [15:08] Damm has joined the channel [15:09] KenStewart has joined the channel [15:10] zilch_ has joined the channel [15:10] zanes has joined the channel [15:10] KenStewart: quick NODE_PATH question [15:10] domachine: Wow never thought that Javascript can be so amazing before watchin' Douglas talk: http://www.youtube.com/watch?v=hQVTIJBZook [15:10] eee_c has joined the channel [15:10] fostah has joined the channel [15:10] KenStewart: brew installed node the /usr/local/Cellar [15:11] pandeiro has joined the channel [15:11] yhahn has joined the channel [15:11] bnoordhuis: explodes: is that from node core or an add-on? [15:11] felixge has joined the channel [15:11] KenStewart: and i'm just trying to figure out what path to give the environment variable [15:11] Anton_ has joined the channel [15:12] KenStewart: i'm getting the dreaded Error: Cannot find module 'mime' [15:12] KenStewart: i figured it was the NODE_PATH [15:13] clifton has joined the channel [15:13] pandeiro: say i have a node server with several modules, and each needs access to a configuration object i define in my top-level index.js... is there a more elegant way to do it than just passing the config object to every module when it's called? [15:13] patrickgamer has joined the channel [15:13] MarkMenard has joined the channel [15:13] patrickgamer has left the channel [15:14] KenStewart: my question is similar [15:14] zilch has joined the channel [15:14] domachine has joined the channel [15:16] matyr has joined the channel [15:17] MooGoo: use a global variable? [15:17] zilch has joined the channel [15:17] pandeiro: MooGoo: was that to me? [15:17] MooGoo: yes [15:17] pandeiro: yeah my config obj already is a global var [15:18] MooGoo: so your modules can already access it directly [15:18] pjacobs2 has joined the channel [15:18] markdaws has joined the channel [15:18] KenStewart: what about me [15:18] dnjaramba has joined the channel [15:18] pandeiro: you can't access my globals, KenStewart [15:18] KenStewart: i'm trying to set that global Var [15:18] KenStewart: no [15:19] KenStewart: i'm just trying to figure out what path to give the environment variable [15:19] MooGoo: path? [15:19] KenStewart: export NODE_PATH=... [15:19] KenStewart: you know [15:19] zilch has joined the channel [15:19] fyskij has joined the channel [15:19] MooGoo: you want to set a path that require looks for modules in? [15:20] halfhalo-work has joined the channel [15:20] KenStewart: where is that relative to the node executable, do you know? [15:20] KenStewart: i have a node-modules folder for my third party stuff [15:21] KenStewart: but i'm haveing a problem finding and loading mime using require('mime') [15:22] MooGoo: try re-npming it [15:22] MooGoo: NODE_PATH should work fine [15:22] KenStewart: i understand what it *should* do [15:22] KenStewart: but it doesn't [15:23] guillermo has joined the channel [15:23] dherman has joined the channel [15:23] brianV has joined the channel [15:23] MooGoo: well make sure the module is where you think it is [15:24] Remoun has joined the channel [15:24] MooGoo: or just reference it directly [15:24] pandeiro: MooGoo: i get 'config is not defined' when i don't explicitly pass it in to my modules [15:24] KenStewart: maybe that's the problem [15:24] KenStewart: i'm not sure where the main dependencies are [15:24] KenStewart: like http or sys etc [15:25] baudehlo has joined the channel [15:25] stefounet has joined the channel [15:25] KenStewart: brew installed node in /usr/local/Cellar [15:25] pandeiro: i am just using a simple 'lib/module.js' dir structure, not node_modules... not sure if that makes a difference [15:25] stefounet has left the channel [15:25] MooGoo: pandeiro: how are you passing config to your modules [15:26] pandeiro: var mod = require('.lib/module'); mod.start(config); [15:26] baudehlo has left the channel [15:26] pandeiro: my original ? was is there a more elegant way to do that [15:26] baudehlo has joined the channel [15:26] MooGoo: so I guess config is one of the parameters of function start [15:27] pandeiro: aside from breaking down and making config a file instead of a global obj [15:27] pandeiro: (passing in the obj works fine, i'm asking if there's another pattern people use) [15:28] zilch_ has joined the channel [15:28] weezle has joined the channel [15:28] Croms has joined the channel [15:28] seb_m has joined the channel [15:28] fangel has joined the channel [15:29] MooGoo: .. var config = { a : 1 }; function start(config) { print(config) }; start() [15:29] catb0t: 14undefined; 14undefined [15:29] wookiehangover has joined the channel [15:29] MooGoo: see [15:29] MooGoo: is that what you are doing [15:29] cjm has joined the channel [15:29] zilch_ has joined the channel [15:29] pandeiro: yeah that works fine, but i keep refactoring and breaking things into more modules and passing config to each is getting lame [15:30] MooGoo: except when you dont pass config, it turns up as undefined in the function that normally recieves it [15:30] gxdssoft has joined the channel [15:31] seb_m: hey, does anybody here have experience with getting node to talk to membase? [15:31] seb_m: (hosted memcached) [15:31] pifantastic_ has joined the channel [15:31] zilch_ has joined the channel [15:31] seb_m: all the docs on heroku are ruby-centric [15:35] baudehlo: seb_m: it's the same as talking to memcached, right? [15:35] broofa has joined the channel [15:35] seb_m: baudehlo: i guess so. i have no problem getting it to talk to my local memcached [15:35] Corren has joined the channel [15:36] robertfw has joined the channel [15:36] seb_m: but getting it to access the remote one, it seems to be timing out [15:36] slifty has joined the channel [15:36] Xeon06_ has joined the channel [15:37] Xeon06_: Anyone going to the OttawaJS conf tomorrow? [15:38] brianV: Xeon06_: do you have a link for it? [15:38] brianV: first I've heard of it, but I'm near Ottawa... [15:38] baudehlo: seb_m: have you tried telnetting from the terminal? [15:38] Xeon06_: brianV: http://ottawajs2.eventbrite.com/ [15:39] brianV: Xeon06_: thanks [15:39] zilch has joined the channel [15:39] seb_m: baudehlo: yeah. i can connect, but if i type "stats" nothing happens [15:39] baudehlo: then I'd figure that out first. :) [15:39] baudehlo: firewall in the way? [15:39] seb_m: i don't think so… [15:39] seb_m: i think the problem's on their end [15:40] criswell has joined the channel [15:40] criswell_ has joined the channel [15:40] brianV: Xeon06_: I'm fairly new to JS / node.js, but our company is looking at moving into this area a little more. Think that might be a n00b-friendly environment? [15:41] zilch has joined the channel [15:41] skohorn has joined the channel [15:41] Xeon06_: brianV: I would think so, yes. This will be my first time attending, and I haven't done any real work with node. I think it's gonna be people giving talks and talking between attendees [15:42] pandeiro: MooGoo: i just figured out I can do exports.config = config and then access that by doing 'process.mainModule.exports' within my modules... debugging ftw [15:42] c_t_ has joined the channel [15:42] jstroem has joined the channel [15:42] brianV: Xeon06_: are you Ottawa based, then? [15:43] idefine has joined the channel [15:43] Xeon06_: brianV: I live in Gatineau, which is near enough [15:43] MooGoo: pandeiro: that works [15:43] MooGoo: in JS there's 1000 ways to do everything [15:43] brianV: Xeon06_: cool. Cornwall area here. [15:44] zilch has joined the channel [15:44] MooGoo: half of which are will probably cause your computer to crash... [15:44] dgathright has joined the channel [15:44] CIA-65: node: 03Mikeal Rogers 07master * r915fa1e 10/ doc/api/http.markdown : doc: http2 documentation - https://github.com/joyent/node/commit/915fa1e44fac1c7c367d6c43b33439f8352d63cd [15:44] Xeon06_: brianV: This page http://groups.google.com/group/nodejs/browse_thread/thread/4e3bf491a6aec248?pli=1 suggests it's pretty informal [15:45] pandeiro: as long as process.mainModule doesn't get deprecated i'm fine [15:45] brianV: Xeon06_: well, I might see you there tomorrow night [15:47] seivan has joined the channel [15:49] bradleymeck has joined the channel [15:50] sleeplessinc has joined the channel [15:50] zilch_ has joined the channel [15:50] CIA-65: node: 03Felix Geisendörfer 07master * r1b3ebc3 10/ test/simple/test-net-stream.js : [15:50] CIA-65: node: Fix test-net-stream.js [15:50] CIA-65: node: I broke this in 09ee293. - https://github.com/joyent/node/commit/1b3ebc32d7f64cf7a8b8a9cfc315d30bb74c04f6 [15:51] Spion_ has joined the channel [15:52] zilch_ has joined the channel [15:52] Yuffster_work has joined the channel [15:52] CrisO has joined the channel [15:52] madsleejensen has joined the channel [15:52] eee_c has joined the channel [15:54] zilch_ has joined the channel [15:54] jtrudeau has joined the channel [15:54] pietern has joined the channel [15:55] mikeycgto has joined the channel [15:55] zilch_ has joined the channel [15:55] confoocious has joined the channel [15:56] caolanm has joined the channel [15:57] stephank has joined the channel [15:58] ceej has joined the channel [15:58] devongovett has joined the channel [15:58] zilch_ has joined the channel [15:59] zilch_ has joined the channel [16:01] dc has joined the channel [16:01] eignerchris has joined the channel [16:01] mhausenblas has joined the channel [16:01] zilch_ has joined the channel [16:02] dpritchett has joined the channel [16:02] isaacs has joined the channel [16:02] donald_cook has joined the channel [16:03] zilch has joined the channel [16:03] Ans5i has joined the channel [16:04] raidfive has joined the channel [16:05] spasquali has joined the channel [16:05] spasquali has left the channel [16:05] markmarkoh has joined the channel [16:06] Know1edge has joined the channel [16:06] Know1edge: Anyone know if there is a yum install for node? [16:07] zeade has joined the channel [16:07] jtsnow has joined the channel [16:07] altamic has joined the channel [16:08] hebz0rl has joined the channel [16:09] arlolra has joined the channel [16:09] mhausenblas_ has joined the channel [16:10] explodes: Quick unrelated question, should I use 403 if the user is authenticated but not authorized? [16:10] jbpros has joined the channel [16:10] explodes: Or 401... [16:10] mhausenblas__ has joined the channel [16:11] BillyBreen has joined the channel [16:11] othiym23 has joined the channel [16:11] vrtak-cz has left the channel [16:11] blueadept has joined the channel [16:11] synkro has joined the channel [16:12] Ian_Corne: 401 If the request already included Authorization credentials, then the 401 response indicates that authorization has been refused for those credentials [16:12] CIA-65: node: 03Mikeal Rogers 07master * r2b929c7 10/ (lib/http.js lib/https.js): http: http2 implementation - https://github.com/joyent/node/commit/2b929c7f1944bc9ac33fb21927f2cc96c111371b [16:12] fattytuna has joined the channel [16:14] jakehow has joined the channel [16:17] altamic has joined the channel [16:17] markmarkoh has joined the channel [16:18] dannycoates has joined the channel [16:18] jellosea: is there a difference between http.Client or http.request if i'm just using it for a single request? [16:19] AndyDaws2n has joined the channel [16:19] lot49 has joined the channel [16:19] dc has joined the channel [16:20] dshaw_ has joined the channel [16:20] slajax has joined the channel [16:21] TooTallNate has joined the channel [16:21] CIA-65: node: 03Ben Noordhuis 07master * r0082ef2 10/ (src/node.cc src/node.js): http: add --use-http2 switch - https://github.com/joyent/node/commit/0082ef271e7991d24873242bf6ea15715405a153 [16:22] eldios has joined the channel [16:22] jellosea: is there a difference between http.Client or http.request if i'm just using it for a single request? [16:22] eldios: awww... man.. where's tj when I need him =) [16:23] ank has joined the channel [16:24] fly-away has joined the channel [16:26] bulatshakirzyano has joined the channel [16:27] jellosea: does anybody know? i get different results if i use http.request (wrong ones) whereas if i create an http.Client and use that,, it works :S [16:31] zackattack has joined the channel [16:31] bnoordhuis: jellosea: i'm afk but if you have a test case i can look at it later [16:31] Xeon06_ has joined the channel [16:32] bnoordhuis: jellosea: btw, we just landed mikeal's new http client lib, might want to give that a spin: --use-http2 [16:33] jellosea: bnoordhuis: i can pastebin some code. but i don't know if it will work on some random server.. its hitting one of my sql relay servers.. and for some reason it keeps responding with an error if i use an http.request. but i pass the same headers and stuff to a http.createClient connection it works... :( [16:33] ank has joined the channel [16:34] ap3mantus has joined the channel [16:34] thepatr1ck has joined the channel [16:35] stefounet has joined the channel [16:35] stefounet has left the channel [16:35] eldios: yeeee humble bundle #3 is out!! http://www.humblebundle.com/ [16:35] jellosea: bnoordhuis: http://pastie.org/2274748 [16:36] anaio has joined the channel [16:36] tmcw has joined the channel [16:37] dguttman has joined the channel [16:38] jellosea: bnoordhuis: first request works.. second doesn't [16:38] Corren has joined the channel [16:38] jellosea: any idea why? [16:38] sethetter has joined the channel [16:38] greg has joined the channel [16:39] azeroth_ has joined the channel [16:40] c_t has joined the channel [16:40] mscdex: jellosea: what's the error? [16:41] joshthecoder has joined the channel [16:41] jellosea: mscdex: the second request gets an error from the server coming back saying that it can't find certain parameters in my query.. [16:41] madzak has joined the channel [16:42] carmony_ has joined the channel [16:42] mscdex: jellosea: ok, so it's not a connection/client error, but an error from your script... [16:42] ryanj has joined the channel [16:43] mscdex: jellosea: what does requestData look like? [16:43] jellosea: sql=SELECT+state+FROM+zip_geography&sid=THISDB&joinDB=b%3A0%3B [16:44] context: jellosea: awesome ! [16:44] mscdex: jellosea: what node version? [16:44] jellosea: 0.4.9 [16:44] lukegalea: anyone else finding that npm.mape.me isn't working? [16:44] jellosea: context: why is this awesome? :( [16:44] context: allowing the client to send you sql. smells of win. [16:44] jellosea: context: is it a bug in node? [16:44] lukegalea: mape: ^^^ ?? [16:44] isaacs: lukegalea: yeah, been broke for a while [16:44] lukegalea: aah. [16:44] smolyn has joined the channel [16:44] lukegalea: darn. [16:44] context: jellosea: never ever ever ever execute sql from the client. ever. [16:45] perezd has joined the channel [16:45] jellosea: context: well this is secure.. [16:45] context: ... [16:45] isaacs: lukegalea: the change in the registry (which broke mape) was necessary to make the search on the cli work better. [16:45] TheEmpath has joined the channel [16:45] jellosea: context: its not really from a client [16:45] jellosea: context: its completely internal [16:45] Me1000 has joined the channel [16:45] jellosea: context: there is no possibility of injection [16:46] lukegalea: isaacs: Cool. I never really got into CLI searching. This is a good excuse to :) [16:46] sfoster: I'm getting a Error: Cannot find module 'gd', even though npm gd says its installed? [16:46] darshanshankar has joined the channel [16:46] sfoster: node -v: v0.5.0-pre, npm -v 0.3.18 [16:46] isaacs: lukegalea: `npm search whatever` [16:46] isaacs: sfoster: you should upgrade to npm 1.0 [16:46] lukegalea: isaacs: Yep, got it. Thanks! [16:46] mscdex: lukegalea: there's also http://blago.dachev.com/modules [16:46] smolyn has left the channel [16:47] amerine has joined the channel [16:47] isaacs: sfoster: then do a local install for the stuff you require() [16:47] fdenbow has joined the channel [16:47] thepatr1ck has joined the channel [16:47] jstroem has joined the channel [16:47] markmarkoh has joined the channel [16:48] Tobsn has joined the channel [16:48] phiggins: is there something one can do to invalidate the cached version of some require()'d file? [16:48] matomesc has joined the channel [16:49] saurabhverma has joined the channel [16:49] context: restart. [16:49] necrodearia has joined the channel [16:49] phiggins: i don't want to :) is in fact what I am attempting to avoid [16:49] amerine has joined the channel [16:49] context: stop changing the file? [16:50] xerox: phiggins: yeah there is [16:50] xerox: hang on [16:50] phiggins: thanks [16:51] context: readFile() and runInNewContext() ? but i highly doubt you can update the 'code' backing pre-existing instances of objects. [16:51] yozgrahame has joined the channel [16:51] domo1 has left the channel [16:51] xerox: delete require.cache[require.resolve(...)] [16:52] gxdssoft has joined the channel [16:52] context: that still will not update pre-existing instances [16:52] xerox: indeed it wouldn't [16:52] xerox: it invalidates (actually deletes) the cache, as requested [16:53] phiggins: ACTION tries [16:53] jellosea: mscdex: bnoordhuis: the wireshark dumps of the two request are slightly different.. part of the header is a bit different... http://pastie.org/2274812 [16:54] slajax1 has joined the channel [16:54] towski has joined the channel [16:54] jellosea: mscdex: bnoordhuis first request works.. second doesn't [16:54] mscdex: jellosea: which part is different? [16:54] jellosea: mscdex: second and third lines [16:54] JakeWharton has joined the channel [16:54] jellosea: mscdex: 2nd 3rd and 4th [16:55] sridatta has joined the channel [16:55] jellosea: and 5th [16:55] tjholowaychuk has joined the channel [16:55] sfoster: isaacs: why local? You mean local to each project/app..really? [16:55] isaacs: sfoster: yeah [16:55] isaacs: sfoster: why not? [16:56] sfoster: just seems a pita [16:56] fostah has joined the channel [16:56] mscdex: jellosea: those differences shouldn't mean anything, it's the actual HTTP request that matters, and those two look the same to me [16:56] isaacs: sfoster: You can also use `npm link` to share deps between projects. It's less of a pita than it seems [16:56] sivy has joined the channel [16:56] jellosea: mscdex: why are you sure those don't mean anyhting? second consistently is not working.. [16:56] jellosea: and first is.. [16:56] sfoster: ACTION takes isaacs word for it.  [16:57] isaacs: sfoster: it's kind of nice, actually. then the whole project and all its deps are all in one folder. [16:57] pkrumins: new awesome blog post! [16:57] pkrumins: http://www.catonmat.net/blog/how-i-raised-money-for-browserling/ [16:57] pkrumins: about me and james halliday! [16:57] pkrumins: about me and substack! [16:57] isaacs: sfoster: if you have a rats' nest of deps (a la node-tap) then npm link is a huge win, so you can just cd into the project and update it [16:57] pkrumins: :D [16:57] mscdex: oh wait [16:57] mscdex: hrmm [16:57] jellosea: mscdex: actually you might be right i think i see another failed request without those differences [16:58] ts___ has joined the channel [16:58] mscdex: yep [16:58] mscdex: jellosea: in your second request you have "urencoded" instead of "urlencoded" [16:58] mscdex: :-) [16:58] sfoster: isaacs, yeah I can see that. less of the magically shared modules in some directory you don't even know [16:59] isaacs: sfoster: yeah [16:59] isaacs: sfoster: nesting deps instead of linking them leads to a MUCH simpler structure, too [16:59] isaacs: just node_modules/whatever instead of all that symlinks when @s in them [16:59] sfoster: ACTION has flashbacks of cpan and packaging hell [16:59] jellosea: mscdex: fuck me [16:59] jellosea: mscdex: fuck fuck fuck fuck fuck [16:59] jellosea: mscdex: thanks for your help [16:59] mscdex: heh np [16:59] mn90018 has joined the channel [17:00] mn90018: hi there [17:00] dgathright has joined the channel [17:01] mscdex: yo [17:01] mn90018: quick question: what's the best way to do user authentication with node? I obviously need some kind of database but then what? [17:01] seb_m: is anybody aware of a node memcached library that supports SASL? [17:01] seb_m: apparently heroku requires it to use their memcached service [17:01] mn90018: creating a web app, should I use express? [17:02] mscdex: mn90018: that's probably the easiest way [17:02] slifty_corsair has joined the channel [17:02] phiggins: xerox: thanks. thought it wasn't working at first but stupid thing on my part. works like a charm. [17:02] tomtomaso has joined the channel [17:02] sfoster: ACTION waves at phiggins :) [17:02] phiggins: ACTION waves back [17:03] phiggins: GET BACK TO WORK [17:03] tomtomaso has joined the channel [17:03] mn90018: I just feel that express is little too much as I've creating a web app that has only two pages... [17:04] gozala has joined the channel [17:04] context: 'too much' . given how big it is and what it gives you, i dont care and i used it for a single page all [17:05] mikey_p: mn90018: naw, express does so little, unless you configure it that it's not really overkill [17:05] context: app* [17:05] anaio has joined the channel [17:05] tbranyen: lukegalea: you are a god amongst men [17:05] tbranyen: crap wrong chanenl [17:05] tbranyen: and wrong person [17:06] stefounet has joined the channel [17:06] context: heh [17:06] stefounet has left the channel [17:08] Poetro1 has joined the channel [17:08] lukegalea: tbranyen: haha [17:08] lukegalea: But it's true.. I am a god amongst men. [17:08] tbranyen: =p [17:09] captain_morgan has joined the channel [17:09] harthur has joined the channel [17:10] losing has joined the channel [17:11] nerdfiles has joined the channel [17:11] newy_ has joined the channel [17:11] sethetter has joined the channel [17:12] thepatr1ck has joined the channel [17:12] altamic has joined the channel [17:12] altamic has joined the channel [17:14] guidocalvano has joined the channel [17:15] slajax has joined the channel [17:15] djw_ has joined the channel [17:15] jellosea has left the channel [17:15] TheEmpath has joined the channel [17:16] Stythys has joined the channel [17:16] sandropadin has joined the channel [17:16] RobertLJ has left the channel [17:16] Xeon06_ has joined the channel [17:17] markmarkoh has joined the channel [17:18] chickamade has joined the channel [17:19] sandropadin has left the channel [17:19] sandropadin has joined the channel [17:20] technoweenie has joined the channel [17:20] vns has joined the channel [17:21] luke` has joined the channel [17:22] kmiyashiro: pkrumins: cool post, very awesome that you guys are doing a startup :) [17:22] losing has joined the channel [17:22] `3rdEden has joined the channel [17:24] brianV has joined the channel [17:24] dguttman has joined the channel [17:25] sivy has joined the channel [17:25] dgathright has joined the channel [17:25] dherman has joined the channel [17:28] pkrumins: kmiyashiro: sure is! [17:29] pkrumins: kmiyashiro: i need some upvote love! help me out :) http://news.ycombinator.com/item?id=2808314 [17:29] explodes: How unstable is 0.5 ? [17:29] explodes: Would I regret migrating my 0.4.10 app to 0.5 ? [17:29] kmiyashiro: explodes: .5 is forever unstable [17:29] kmiyashiro: explodes: stable are even numbers [17:29] wadey has joined the channel [17:29] explodes: Gotcha [17:29] digitaltoad has joined the channel [17:30] Determinist has joined the channel [17:30] explodes: 0.4.10 seems unstable, though, as I run into malloc errors all the time. [17:30] davidsklar has joined the channel [17:30] hydrozen has joined the channel [17:30] Cleer has joined the channel [17:31] butu5 has joined the channel [17:31] hydrozen_ has joined the channel [17:32] kaww has joined the channel [17:33] sbisbee has joined the channel [17:33] sholden has joined the channel [17:33] ank has joined the channel [17:33] shanebo: pkrumins very impressive! [17:33] hydrozen_ has left the channel [17:34] topaxi has joined the channel [17:34] pkrumins: shanebo: thank you sir [17:34] dgathright has joined the channel [17:35] CIA-65: node: 03Ben Noordhuis 07master * r2ed2331 10/ (lib/http.js lib/https.js lib/http2.js lib/https2.js): [17:35] CIA-65: node: http: make http and http2 co-exist [17:35] CIA-65: node: http2 is currently disabled pending addition of a --use-http2 switch - https://github.com/joyent/node/commit/2ed23314c35649f15d905cb1fca75d0b9d8b0d01 [17:35] sethetter has joined the channel [17:35] bradleymeck has joined the channel [17:35] mscdex: explodes: while doing what? [17:36] explodes: Not sure, its always random [17:36] explodes: node(5629) malloc: *** error for object 0x1008236d0: incorrect checksum for freed object - object was probably modified after being freed. [17:36] explodes: *** set a breakpoint in malloc_error_break to debug // To set this breakpoint i need to run node.js in debug mode, right.. [17:36] Xeon06_ has joined the channel [17:37] gxdssoft has joined the channel [17:39] wavded has joined the channel [17:39] wavded has left the channel [17:39] matyr has joined the channel [17:39] thriple has joined the channel [17:39] patrickgamer has joined the channel [17:40] xtianw has joined the channel [17:41] explodes: My application is running other node applications. The output indicates that the subprocess exits with status "null" [17:41] towski has joined the channel [17:41] Xeon06_ has joined the channel [17:42] shapeshed has joined the channel [17:43] zeade has joined the channel [17:43] mscdex: explodes: what platform? [17:44] Drake_ has joined the channel [17:45] patrickgamer has left the channel [17:46] Xeon06_ has joined the channel [17:47] towski_ has joined the channel [17:47] dgathright has joined the channel [17:47] sw8sw8 has joined the channel [17:48] sweetd has joined the channel [17:48] markmarkoh has joined the channel [17:50] tar_ has joined the channel [17:50] dgathright has joined the channel [17:51] seivan has joined the channel [17:53] spcshpopr8r has joined the channel [17:55] butu5 has joined the channel [17:55] CrisO has joined the channel [17:56] unlink has joined the channel [17:56] Xeon06_ has joined the channel [17:58] Poetro has joined the channel [17:58] sethetter has joined the channel [17:58] ap3mantus has joined the channel [17:58] blup has joined the channel [17:58] Damm: how long does it normally take for npm to install? it's been sitting on node cli.js rm npm -g -f --loglevel error [17:58] Damm: for awhile? [17:59] maushu has joined the channel [17:59] tomtomaso has joined the channel [17:59] tilgovi has joined the channel [17:59] tilgovi has joined the channel [18:00] jhurliman has joined the channel [18:00] tomtomaso has joined the channel [18:01] ekryski has joined the channel [18:02] seb_m has joined the channel [18:03] markdaws_ has joined the channel [18:04] mikedeboer has joined the channel [18:06] sridatta has joined the channel [18:06] matyr_ has joined the channel [18:08] medikoo has joined the channel [18:08] AvianFlu has joined the channel [18:09] __directory has joined the channel [18:10] natdivad has joined the channel [18:10] sholden: Hi everyone, I'm new to node and having a little trouble getting up and running with nvm and npm. I'm on v0.4.9 stable (i think) but I'm still unable to install a module with npm due to version mismatch [18:10] jhurliman: is joyent going to do another office hours in SF? [18:11] dgathright has joined the channel [18:11] isaacs: jhurliman: yes, this thursday [18:11] sholden: Scott-Holdens-MacBook-Pro:meganode sholden$ nvm use stable [18:11] sholden: Now using node v0.4.9 [18:11] jhurliman: great, what time? [18:11] sholden: but then npm install http-get gives me [18:11] jacobolus has joined the channel [18:11] sandropadin has joined the channel [18:11] sholden: npm ERR! Required: {"node":">=0.4.10 <0.5.0"} [18:11] sholden: npm ERR! Actual: {"npm":"1.0.22","node":"v0.4.9"} [18:12] nibblebo_: 9 < 10 [18:12] reid has joined the channel [18:12] isaacs: jhurliman: 4-7 in SF, and I think ryan is going to be going until 8, either here or at oscon [18:12] sholden: so is 0.4.10 not stable? wheres that? [18:12] isaacs: jhurliman: http://nodeworkup17.eventbrite.com/ [18:12] isaacs: sholden: 0.4.10 is stable. [18:13] nibblebo_: .4.x is stable [18:13] nibblebo_: .5.x is unstable [18:13] isaacs: sholden: but 0.4.9 is not >= 0.4.10 [18:13] isaacs: it's a vector, not a float [18:13] sholden: ok... im stupid... thanks for the help [18:13] jhurliman: isaacs, thanks, i'll head over there. i need some help building proper debugging tools for node [18:13] gaba has joined the channel [18:14] sholden: ahh... i did nvm install stable, which installed 0.4.9 [18:14] jetienne has joined the channel [18:14] brianV: Node.js architecture question - it's a single thread which doesn't lock while waiting for IO... but what happens if a request requires some CPU-intensive processing? Do all requests wait until the single node.js thread deals with the CPU-intensive request? [18:14] isaacs: sholden: nave sees 0.4.10 as stable, i believ [18:14] isaacs: sholden: nvm might be doing alpha-sort [18:15] isaacs: brianV: yes [18:15] sholden: gotcha. I'll file a bug on github [18:15] isaacs: brianV: do processing-heavy stuff in a child process. [18:15] bradleymeck: brianV use a child process, C++ addon, or IPC [18:15] brianV: hmmm... ok [18:15] brianV: thanks [18:15] isaacs: child_process.fork is kinda nice. [18:15] isaacs: it's a bit like the webworker api [18:15] medikoo: sholden: do 'nvm sync' [18:15] isaacs: cp.send({some: "message}); cp.on("message", function (data) { .. } [18:16] isaacs: and then in the child process, do process.on("message", function (data) { ... }) and process.send({some: "message"}) [18:16] brianV: isaacs: ah, interesting [18:16] brianV: so a separate process running that we can fire stuff to for handling [18:16] isaacs: yeah [18:16] isaacs: and then talk to it async'ly [18:16] lot49 has joined the channel [18:16] brianV: isaacs: thanks, found the docs for it [18:17] isaacs: you can child_process.spawn to any random process [18:17] slifty has joined the channel [18:17] isaacs: *any random program, rather [18:17] medikoo: sholden: nvm sees 0.4.10 as stable, just make sure you've updated nvm list (nvm sync) [18:17] sholden: medikoo: i did... still tries to install 0.4.9 with nvm install stable [18:18] sholden: Scott-Holdens-MacBook-Pro:~ sholden$ nvm install stable [18:18] sholden: ######################################################################## 100.0% [18:18] sholden: ^C [18:18] sholden: nvm: install v0.4.9 failed! [18:18] sholden: (immediately after sync) [18:18] markmarkoh has joined the channel [18:19] medikoo: sholden: that's weird, I have 0.4.10 on my list [18:19] markwubben has joined the channel [18:19] sholden: it shows in my list, it jsut doesnt select it for install stable [18:19] backwardpawn has joined the channel [18:19] ceej has joined the channel [18:19] sholden: it selects .9 instead [18:19] backwardpawn has left the channel [18:19] sholden: nvm list gives me this at the bottom: [18:20] sholden: stable: v0.4.9 [18:20] sholden: latest: v0.5.0 [18:20] sholden: current: v0.4.10 [18:20] medikoo: hmm.. it works on my side properly, I've just reswitched, and with 'nvm use stable' I get v0.4.10 [18:20] bpwnr has joined the channel [18:20] medikoo: maybe then, make sure you have latest nvm version (git pull) :) [18:21] sholden: im just getting started learning node... i cloned like 10 minutes ago :P [18:21] bpwnr has joined the channel [18:21] sholden: oh well.. its not a big deal, just a heads up if anyone else hits that [18:21] cl0udy: ooo 0.5.0 nice [18:22] sholden: i do have some more code related questions though... I'm trying to write a crawler that may need ot hit multiple pages of search results then parse out info from all of them [18:22] AvianFlu has joined the channel [18:22] sholden: is there a library that I can use to chain together sequential workflows and parallel workflows? [18:23] sholden: like executeTheseThingsInParallel([stuff], callBack) [18:23] kaww has joined the channel [18:23] sholden: for after they're all complete? [18:23] sholden: is there a standard lib for that kind of stuff or just roll your own? [18:23] kmiyashiro: sholden: async [18:24] medikoo: sholden: see this: https://github.com/medikoo/deferred#control-flow-examples-asynchronous-loop I think it's exactly what you were after ;-) [18:24] kmiyashiro: https://github.com/caolan/async [18:25] bpwnr has joined the channel [18:26] felixge has joined the channel [18:26] felixge has joined the channel [18:26] sholden: awesome, these both look like good starting points. off to do some poking around. im sure i'll be back to bother you all soon :) [18:27] kjeldahl has joined the channel [18:28] spcshpopr8r: hmm..."unhandled socket.io url"...I'm not sure what to do with that, any pointers? [18:29] `3rdEden: it points to an error:o [18:30] markdaws has joined the channel [18:30] `3rdEden: It means that you are doing a call to /socket.io/ where is a path that is not supported by socket.io :D [18:30] mendel_ has joined the channel [18:31] spcshpopr8r: ah...that starts to make a little sense...thanks [18:33] markmarkoh has joined the channel [18:34] fyskij has joined the channel [18:34] jbpros has joined the channel [18:34] jbrokc has joined the channel [18:35] jbrokc: is it a bad idea to use node to script your filesystem (with the 'fs' event library)? [18:35] madzak has joined the channel [18:35] cl0udy: howelse would u do it? [18:35] Poetro has joined the channel [18:36] jbrokc: cl0udy: i mean vs other solutions. things like waiting for callbacks from File.read before File.right doesn't quite sit well with me vs other options for local scripting [18:36] jbrokc: errr. File.write** [18:36] sandropadin has joined the channel [18:37] cl0udy: hmm yea dunno [18:37] darshanshankar has joined the channel [18:37] reid has joined the channel [18:38] bayousoft has joined the channel [18:38] CrisO has joined the channel [18:38] jbpros has joined the channel [18:38] jameson has joined the channel [18:39] gozala has joined the channel [18:39] humanerror has joined the channel [18:41] yozgrahame has joined the channel [18:41] Drakonite has joined the channel [18:42] mendel__ has joined the channel [18:44] caike has joined the channel [18:45] nerdfiles1 has joined the channel [18:45] jbrokc: wait - with readFileSync, does that mean that nothing else will be executed until the entire file is read? [18:45] Draggor: jbrokc: yup [18:45] jbrokc: oh well then that solves that error. what's the whole notion of callback hell with node.js and is it really prevalent? [18:45] svenlito has joined the channel [18:46] Draggor: there's some libs to help with node's async nature, but personally I've never had that much of an issue. [18:46] fumanchu182 has joined the channel [18:46] jbrokc: Draggor: there's tame.js but i'm looking for alternatives [18:46] tmcw: jbrokc: you mean just writing shell scripts and the sort? [18:46] Draggor: I've never used them, though maybe some would say my code goes a bit deep with the callback chains [18:47] blueadept: anyone familiar with https://github.com/didit-tech/FastLegS/ ? [18:47] jbrokc: tmcw: exactly [18:47] losing has joined the channel [18:47] tmcw: Correct me if I'm wrong, gods of node, but on the filesystem, writing a script with blocking calls is similar to writing a script in any other language [18:48] tmcw: Unless you'd like to do something in parallel, in which case you should use the async versions of the calls [18:48] Draggor: in my experience that's held true [18:48] tmcw: There's no 'other thing' for a shell script to do when it's downloading or writing or whatnot [18:48] springify has joined the channel [18:48] malkomalko has joined the channel [18:48] Draggor: You very easily could write it async as a shell script anyway [18:48] tmcw: Obviously, on a server or anything with more than one entry point, blocking calls are a very serious no-no. [18:48] Draggor: even if you're not doing parallel tasks [18:49] jbrokc: tmcw: it is! which i've just disocvered. i didn't know read/writeFile had sync versions and thought they only had async versions which to me makes no sense for local scripting [18:49] tmcw: Draggor: sure, the 'callback hell' is not all that bad. Just saying that it's not always necessary if you're doing something simple and don't care about abstracting it into a server component [18:50] AvianFlu has joined the channel [18:50] Draggor: tmcw: Oh I completely agree. Mostly I do so much of node as async, even my little scripts are written that way due to habbit [18:50] tmcw: Samesies. It's hard to fight habit [18:50] chickamade has joined the channel [18:50] Draggor: especially a good one :3 [18:51] vns_ has joined the channel [18:51] jakehow has joined the channel [18:51] jbrokc: Draggor: how do you guys avoid callback hell, in that case? [18:51] Draggor: Really if you just take the time to think about what you're doing, it doesn't get bad [18:51] Draggor: If things start looking hairy, you can use less anon functions [18:52] jbrokc: and, just so i understand the terminology at least somewhat - async calls are executed in line with the async calls below them, as in, none of them are waiting for eachother. yet executing something within the callback of an async functino is the same as executing something after a sync function [18:52] jbrokc: is that close? [18:52] tmcw: jbrokc: node-seq is the best library for untangling things that I've run into, but, yes, decomposing anonymous functions is the first big step [18:53] tmcw: jbrokc: more or less - the arguments to a callback tend to be the result of the sync function, with an 'err' argument in front of it for whatever exception or error the sync version would give you [18:54] tomtomaso has joined the channel [18:54] tmcw: Switching from one to the other is mainly a matter of dealing with what to do with errors (since you stop using usual exceptions) and what to do with the 'this' keyword, which will start referring to all kinds of crazy stuff. [18:54] __directory: I hate making web apps [18:55] gkmngrgn has joined the channel [18:56] patrickgamer has joined the channel [18:57] patrickgamer has left the channel [18:58] kmox83 has joined the channel [18:58] madsleejensen has joined the channel [18:59] bpierre has joined the channel [19:01] NetRoY has joined the channel [19:03] NetRoY has joined the channel [19:03] markmarkoh has joined the channel [19:03] caike1 has joined the channel [19:03] madzak has joined the channel [19:03] hunterloftis has joined the channel [19:04] hunterloftis: isaacs: I've got a script that sets up Linode as a nice out of the box node server, converting to an automated stackscript now. Is there a way I can force "yes" on curl .../install.sh | sh ? [19:04] butu5 has joined the channel [19:04] matyr has joined the channel [19:04] hunterloftis: (for the prompt about "find and eliminate any shims, etc") [19:06] jhurliman: anyone else using node.io? [19:06] sandropadin has joined the channel [19:07] NetRoY has joined the channel [19:07] ctrimm has joined the channel [19:07] ctrimm: Hello, everyone. I need a little help with installing npm in Ubuntu if anyone has some spare time. :-) [19:07] Aikar: ctrimm: what error do you get? [19:08] EyePulp: jhurliman: just started playing around with it recently [19:08] ctrimm: It's telling me node is not installed. [19:08] ctrimm: I just followed the directions on the github nodejs site for installing. Everything seemed to go fine. [19:08] Aikar: did you install node globally? if so you need to install npm globally (change the | sh to | sudo sh) [19:08] hunterloftis: ctrimm: Did you go through the install procedure that puts it in your 'local'? [19:08] jhurliman: EyePulp, i'm reading through the docs and don't understand how to make a job create new input [19:08] ctrimm: I believe so. My path is showing /home/myname/local/node/bin [19:08] isaacs: ctrimm: what does `which node` output? [19:09] fyskij has joined the channel [19:09] NetRoY has joined the channel [19:09] jhurliman: let's say i have a web crawling job that fetches a webpage and is responsible for returning the contents of the page plus a list of all linked urls on the page that should be fed as input to new instances of that same job [19:09] ctrimm: isaacs: that doesn't seem to putput anything. [19:09] EyePulp: jhurliman: I haven't delved into the jobs code yet - just doing simple scrapes directly in code [19:09] jhurliman: ah, ok [19:10] tbranyen: simply crepes [19:10] NetRoY has joined the channel [19:10] aliem has joined the channel [19:11] robotmay has joined the channel [19:11] opus_ has joined the channel [19:12] NetRoY has joined the channel [19:12] jbrokc: what's node's method of printing to stdout [19:12] supster has joined the channel [19:13] jbrokc: console.lo g? [19:13] matomesc has joined the channel [19:14] xerox: is there a decode_entities encode_entities pair of functions in node? [19:14] stagas: jbrokc: console.log does \n and other stuff, just writing is process.stdout.write('foo') [19:14] hunterloftis: isaacs: oh I see you've got 'auto say yes to clean' instructions on github now. nm [19:14] technoweenie has joined the channel [19:15] isaacs: ctrimm: then that's why npm thinks node isnt' installed. [19:15] isaacs: ctrimm: update your PATH environment var, do `hash -r` in bash, and try again, perhaps? [19:15] smerrell has joined the channel [19:15] tmcw: xerox: https://github.com/substack/node-ent [19:16] xerox: tres gentil [19:16] smerrell: Does anyone know what bot is being used to log this channel [19:16] newy_ has joined the channel [19:17] ctrimm: isaacs: You'll have to forgive me, I'm pretty new to linux. How do I update the PATH var and what do I update it to? [19:17] Wizek has joined the channel [19:17] isaacs: ctrimm: the PATH environment variable is probably set in your ~/.bashrc or ~/.bash_profile files. [19:17] guidocalvano has joined the channel [19:17] isaacs: ctrimm: there are many ways to set environment variable.s [19:18] isaacs: http://en.wikipedia.org/wiki/Environment_variable [19:19] admc has joined the channel [19:19] madzak has joined the channel [19:19] ctrimm: isaacs: Hmm, I seem to have ~/local/node/bin in my path. [19:19] ctrimm: Am I missing something? [19:19] isaacs: ctrimm: ok. where's the node executable? how did you install it? [19:20] isaacs: ctrimm: ls -laF ~/local/node/bin <-- what does that output? [19:20] ctrimm: isaacs: No such file or dir, hahaha Hmm, that might be an issue. :P [19:20] isaacs: might be, yes [19:21] isaacs: ctrimm: did you configure node with --prefix=~/local? [19:21] isaacs: i've gotta get some lunch. figure out where node is installed (it defaults to /usr/local/bin if you didn't specify a different prefix) and then make sure that's in your PATH, and npm will stop complaining. [19:22] jamescarr_ has joined the channel [19:22] jamescarr_: tjholowaychuk: is there anyway to escape a single char inside a jade template? [19:22] ctrimm: --prefix ~/local/node [19:23] ctrimm: isaacs_away: I followed the directions here: https://github.com/joyent/node/wiki/Installation to a T, except that I had do do sudo make install instead of make install. [19:23] tjholowaychuk: jamescarr_: i think i have \ support for significant chars like interpolation etc [19:23] tjholowaychuk: can't remember [19:24] ank has joined the channel [19:25] arlolra has joined the channel [19:25] jamescarr_: nope :S [19:26] jamescarr_: it's okay, I can just literal the whole html snippet [19:26] pandeiro has joined the channel [19:26] jamescarr_: it's for an underscore template on the client side [19:26] matyr_ has joined the channel [19:26] jamescarr_: img(src="\<%= nuts %\>") the < and > get htmlencoded [19:26] tjholowaychuk: gotcha [19:27] tjholowaychuk: yeah attrs always escape right now [19:27] Poetro has joined the channel [19:27] tjholowaychuk: nesting templates gets a little messy [19:27] jamiep has joined the channel [19:27] dgathright has joined the channel [19:27] cl0udy: ctrimm: yes u hv to do sudo make install [19:28] ctrimm: cl0udy: thanks for the confirmation. [19:28] cl0udy: make doesnt require sudo but make install does [19:28] jamescarr_: yep [19:28] gaba has joined the channel [19:29] ctrimm: How do I show the full path of my current working directory? [19:30] Ans5i has joined the channel [19:30] cha0s has joined the channel [19:30] cha0s has joined the channel [19:30] ctrimm: Hmm, node seems to have installed in ~/ instead of ~/local [19:32] Bonuspunkt: v8bot_ eval('function(){}') [19:32] jamescarr_: v8bot_, eval('this') [19:33] jamescarr_: v8bot_, eval(this) [19:33] tuhoojabotti: fail [19:33] jamescarr_: epic [19:33] tuhoojabotti: v8: [19:33] v8bot_: tuhoojabotti: undefined [19:33] MooGoo: I wouldnt go that far [19:33] markmarkoh has joined the channel [19:33] Bonuspunkt: v8: eval('function(){}') [19:33] v8bot_: Bonuspunkt: SyntaxError: Unexpected token ( [19:33] Bonuspunkt: v8: eval('durr=function(){}') [19:33] v8bot_: Bonuspunkt: function (){} [19:34] tuhoojabotti: v8: durr() [19:34] v8bot_: tuhoojabotti: ReferenceError: durr is not defined [19:34] tuhoojabotti: :P [19:34] Bonuspunkt: why doesnt eval('function(){}') work, but eval('x=function(){}') does? [19:35] smerrell has left the channel [19:35] tuhoojabotti: Why eval? [19:35] tuhoojabotti: :E [19:35] tar_ has joined the channel [19:35] Bonuspunkt: because u have a textbox und a html page and you need to eval that code :) [19:36] Swizec has joined the channel [19:37] tmcw: Bonuspunkt: same thing with console, or the node repl [19:38] Bonuspunkt: at firefox it works. ie also doesnt [19:38] bradleymeck: Bonuspunkt function declaration vs function expression [19:39] stagas: v8: eval('(function(){})') [19:39] v8bot_: stagas: function (){} [19:39] tmcw: eval('function hi() {}') works as well [19:39] galaxywatcher has joined the channel [19:40] stagas: v8: function (){} [19:40] v8bot_: stagas: SyntaxError: Unexpected token ( [19:40] stagas: v8: function (){}() [19:40] v8bot_: stagas: SyntaxError: Unexpected token ( [19:40] __directory has joined the channel [19:40] stagas: hm that works on the repl [19:41] Draggor: v8: (function(){})() [19:41] v8bot_: Draggor: undefined [19:42] tar_ has joined the channel [19:42] brownies has joined the channel [19:43] mcluskydodallas has joined the channel [19:43] ank has joined the channel [19:43] Draggor: v8: (function(x){return x+x;})(23) [19:43] v8bot_: Draggor: 46 [19:43] Draggor: it won't die to call stack stuff, will it? [19:44] Bonuspunkt: should not [19:44] stagas: it's a sandbox [19:44] bnoordhuis: v8: (function() { return arguments.callee() })() [19:44] v8bot_: bnoordhuis: RangeError: Maximum call stack size exceeded [19:44] Draggor: v8: (function(f){return f(f)})(function(f){return f(f);}) [19:44] v8bot_: Draggor: RangeError: Maximum call stack size exceeded [19:44] MooGoo: heh [19:44] digiwano: nice [19:44] MooGoo: they wont break [19:45] MooGoo: v8: while(1) {} [19:45] v8bot_: MooGoo: Error: Timeout [19:45] MooGoo: see [19:45] Draggor: Niiiice [19:45] Draggor: Hmm [19:45] forzan has joined the channel [19:45] MooGoo: however [19:45] MooGoo: v8: throw Error [19:45] v8bot_: MooGoo: Error: undefined [19:45] MooGoo: v8: throw Error('sds') [19:45] v8bot_: MooGoo: Error: sds [19:45] MooGoo: hm [19:45] MooGoo: doesnt spam the stack trace [19:45] MooGoo: v8: (function() { throw Error('sds') }()) [19:45] v8bot_: MooGoo: Error: sds [19:46] MooGoo: cool [19:46] bnoordhuis: v8: (function(a, b) { return arguments.callee(a+b, b+a); })('foo', 'bar') [19:46] v8bot_: bnoordhuis: [19:46] MooGoo: v8: (function() { Error('sds') }()) [19:46] v8bot_: MooGoo: undefined [19:46] Draggor: v8: try{2+3}catch(e){} [19:46] v8bot_: Draggor: 5 [19:46] Bonuspunkt: v8: setInterval(function() {console.log('wat')},10) [19:46] v8bot_: Bonuspunkt: ReferenceError: setInterval is not defined [19:46] __directory: v8: throw Error('Ulrich Drepper') [19:46] v8bot_: __directory: Error: Ulrich Drepper [19:47] matyr has joined the channel [19:47] Xano has joined the channel [19:47] dreamdust has joined the channel [19:47] bradleymeck: v8: (function foo() {var fn=foo;while(fn.caller) {fn = fn.caller};fn.__proto__.call = fn.__proto__.apply = function() {throw new Error();}})(); [19:47] v8bot_: bradleymeck: undefined [19:47] bradleymeck: v8: [].slice.apply([],1) [19:47] v8bot_: bradleymeck: TypeError: Function.prototype.apply: Arguments list has wrong type [19:47] bnoordhuis: v8: female_orgasm [19:47] v8bot_: bnoordhuis: ReferenceError: female_orgasm is not defined [19:47] bnoordhuis: told you so [19:48] jbrokc: how do i create a buffer from a string? [19:48] ctrimm: Is there some reason that the bin directory would not be created after doing a make install of node? [19:48] tomtomaso has joined the channel [19:48] bnoordhuis: jbrokc: new Buffer('string') [19:48] AvianFlu has joined the channel [19:48] jbrokc: bnoordhuis: thanks :) [19:49] tomtomaso has joined the channel [19:49] battlecollie has joined the channel [19:49] weezle has joined the channel [19:49] bradleymeck: v8: (function foo() {var fn=foo;while(fn.caller) {fn = fn.caller};fn.toString().__proto__.toString() = eval;)(); [19:49] _sorensen_: lmao, nice undefined check ;) [19:49] v8bot_: bradleymeck: SyntaxError: Unexpected token ) [19:50] bradleymeck: v8: (function foo() {var fn=foo;while(fn.caller) {fn = fn.caller};fn.toString().__proto__.toString() = eval;})(); [19:50] v8bot_: bradleymeck: ReferenceError: Invalid left-hand side in assignment [19:50] bradleymeck: well f u [19:51] jayd3e has joined the channel [19:51] jayd3e has left the channel [19:51] jayd3e has joined the channel [19:51] jbrokc: i'm getting a bad file descriptor error on fs.readFileSync("~/Desktop/foo.js") [19:52] jbrokc: this also doesn't work with the absolute path. makes no sense, but is there anything i have to know about fs before reading files? [19:54] bnoordhuis: jbrokc: what version of node? [19:54] bradleymeck: jbrokc '~' is not a valid path its fixed up by bash, you can try the HOME env variable though to get it [19:54] jbrokc: bnoordhuis: 0.4.8 [19:54] jbrokc: bradleymeck: i tried the absolute path ("/Users/foo/bar") but that doesn't work either [19:54] jbrokc: do i need to open the file first or can i just read it/ [19:54] bentkus: bradleymeck: didn't knew that too [19:54] bentkus: -.- [19:54] bnoordhuis: jbrokc: that EBADF is a bug that's been fixed, it's masking a file not found error [19:55] jbrokc: should i redownload node then? [19:55] bradleymeck: bnoordhuis to the rescue [19:55] jbrokc: and the file's there... [19:55] bnoordhuis: jbrokc: upgrade to v0.4.10 and check if it still happens [19:57] Cromulent has joined the channel [19:58] taf2 has joined the channel [19:59] cola-kattn has joined the channel [19:59] matyr_ has joined the channel [19:59] taf2: anyone have a second to apply patch for issue 1003? https://github.com/joyent/node/issues/1003 :) it's a super simple patch and will fix the build on any system with tidy installed... node.cc is internal an doesn't need to try and reference an internal include with < when it shouuld be " [19:59] taf2: :) :) [19:59] markmarkoh has joined the channel [20:00] bnoordhuis: taf2: can you sign the CLA? can't merge it without [20:01] taf2: bnoordhuis, sure what's CLA? [20:01] bnoordhuis: taf2: http://nodejs.org/cla.html [20:01] hellp has joined the channel [20:01] jbrokc: bnoordhuis: thanks! i got it to work :D [20:01] bnoordhuis: taf2: i can patch it myself but that means one commit less for you :) [20:01] bnoordhuis: jbrokc: glad you got it resolved [20:02] taf2: bnoordhuis, ah i see, okay i just filled out the electronic form at the bottom [20:03] guest_909 has joined the channel [20:03] willwhite has joined the channel [20:04] bnoordhuis: taf2: aw, the patch doesn't apply :-( [20:04] bnoordhuis: taf2: nm, i'll fix it [20:04] taf2: hrm..i have a newer patch: https://gist.github.com/1107825 against 0.4.10 tree... [20:04] radicality has joined the channel [20:05] taf2: hehe yeah it's a simple patch so whatever it takes to get it fixed :) [20:05] vns has joined the channel [20:05] radicality: hi. In express, can a dynamic helper be a result of some asynchronous function ? [20:06] opus_: curious, where can I find the best guide, online, for node.js for beginners? [20:06] gf3: radicality: there is no result of an asynchronous function :) [20:06] taf2: i just forked and can add the changes in my tree too [20:06] gxdssoft has joined the channel [20:07] gxdssoft has joined the channel [20:07] jbrokc: are there any node libraries for executing files on change? something similar to fssm for ruby [20:07] jbrokc: executing system comments when files change (ie on write)* [20:08] radicality: @gf3 . Hmm, yeah, what I mean is, i want to set the dynamic helper to a function that goes to a DB, to which I pass a callback for when the DB result it ready. Not sure if i'm explaining myself properly :S [20:08] taf2: bnoordhuis, i just forked and pushed changes will send a pull request [20:08] tmcw: jbrokc: fs.watchFile() [20:08] CIA-65: node: 03Ben Noordhuis 07master * ra7bdaab 10/ (4 files): [20:08] CIA-65: node: Include "platform.h", not - conflicts with system headers [20:08] CIA-65: node: Fixes #1003. - https://github.com/joyent/node/commit/a7bdaabf609e4db7151fff9a1f94c1bfffac8a02 [20:08] bnoordhuis: taf2: ^^ :) [20:08] gf3: jbrokc: also nodj [20:08] gf3: jbrokc: or something like that [20:09] Poetro1 has joined the channel [20:09] taf2: bnoordhuis, ah cool at least i got a fork now so it'll be easier next time... thanks much ! [20:09] piscisaureus: arlolra: here? [20:09] RC1140 has joined the channel [20:09] gf3: jbrokc: https://github.com/louisremi/node-DJs [20:09] jbrokc: gf3: thanks! and tmcw thanks as well! [20:09] jbrokc: awesome :) [20:10] matyr has joined the channel [20:10] gazumps has joined the channel [20:11] CIA-65: node: 03Ben Noordhuis 07v0.4 * r2d65f3c 10/ (4 files): [20:11] CIA-65: node: Include "platform.h", not - conflicts with system headers [20:11] CIA-65: node: Fixes #1003. - https://github.com/joyent/node/commit/2d65f3c59a33730a2aed47070e4ac32bd2791aa5 [20:11] arlolra has joined the channel [20:11] Aikar: ^ that kind of issue just now is been found lol? would think something like that woulda been seen quick [20:12] broofa has joined the channel [20:12] gf3: Aikar: NO U [20:12] Aikar: U NO [20:13] seyz has joined the channel [20:13] eeemsi_ has joined the channel [20:13] Badababuba has joined the channel [20:14] battlecollie: U NO WAT [20:14] bnoordhuis: Aikar: it's like the 40 year old virgin said: "better late than never" [20:14] __directory: battlecollie: pushup contest? [20:14] altamic has joined the channel [20:14] Badababuba has joined the channel [20:14] battlecollie: YES [20:14] altamic has joined the channel [20:14] AvianFlu_ has joined the channel [20:14] battlecollie has joined the channel [20:15] jbrokc: __directory: why do you hate web development? [20:15] battlecollie: ACTION pushes __directory up [20:15] battlecollie: if by “pushup contest” you actually mean “crashing my colloquy contest” … you win. [20:16] yozgrahame has joined the channel [20:16] gazumps has joined the channel [20:16] caike has joined the channel [20:17] battlecollie: jbrokc: Whatcha mean? [20:17] jbrokc: battlecollie: __directory mentioned it earlier [20:17] matbee has joined the channel [20:17] matbee: hey [20:17] matbee: what is the average limit on the amount of connections to a nodejs websocket? [20:18] tbranyen: matbee: depends on your OS settings [20:18] tbranyen: there is no number for everything [20:18] taf2: there's a flag i can set when building node.js to have it use more than one cpu right? running make -j x is not doing it for me [20:18] matbee: well, what on average [20:18] taf2: is it an environment variable? [20:18] tbranyen: taf2: export JOBS= [20:18] matbee: would i be able to reach 500,000 reasonably? [20:18] taf2: tbranyen, ah yes thank you [20:18] tbranyen: matbee: there is no average [20:19] bradleymeck: matbee on a single server, no [20:19] konobi: matbee: that's not really posible with anything [20:19] lot49 has joined the channel [20:19] matbee: Well, there's an upper limit [20:19] matbee: now help me make a reasonable guess [20:19] Country has joined the channel [20:19] tbranyen: 5000 [20:19] battlecollie: several thousand. [20:20] tbranyen: thats about as factually arbitrary as i can tell you [20:20] matbee: yeah [20:20] battlecollie: Somewhere between 1k and 10k id say, on anything reasonable [20:20] bradleymeck: 32k+ is generally the absolute limit for (most) operating systems' tcp/ip stack, but even then you wont get there [20:20] matbee: that's legit, thanks [20:20] bnoordhuis: taf2: ./configure --jobs=64 [20:20] konobi: 65k per IP, iirc [20:20] konobi: but then you run into other limitations [20:21] jbrokc: if i open a node console, tell it to fs.watchFile("/foo") for changes, and then go and save that file. there's a good 2 second delay between the two. is it because i'm watching the file from a node shell? [20:21] jbrokc: and the callback is simply a console.log("node!") [20:21] taf2: bnoordhuis, thanks that's a good one to use too... i'd probably only want --jobs=[2..4] right? you really have 64 cpus? [20:22] taf2: ACTION did 4 and cpu is just about 100% build is going nice and fast [20:22] bnoordhuis: konobi: on linux it's srcport+srcaddr+dstport+dstaddr [20:22] matbee: We're looking to run a websocket server, but could reach anywhere from 100-10,000 connections. Do you think nodejs is mature/stable enough for such a load? [20:22] xerox: since you're more experienced than me: how do you port var foo = function() {}; foo.prop = {}; foo.prop.f = function() {}; to prototypes? function Foo() {}; Foo.prototype.prop = {}; Foo.prototype.prop.f = function() {} <- this last one does not "work". [20:22] bnoordhuis: taf2: no - but my botnet does [20:22] xerox: should it be Foo.prototype.prop.prototype.f ? [20:23] xerox: I'm at a loss [20:23] taf2: ACTION takes note not to piss bnoordhuis off [20:23] dustindiaz has joined the channel [20:23] battlecollie: I have, er, 24 kernel threads [20:23] battlecollie: so I would use -j25 [20:23] dustindiaz: howdy noders. [20:23] tbranyen: sup dustindiaz [20:24] battlecollie: dustindiaz: Hm, your nick is familiar. Do I know you? [20:24] battlecollie: dustindiaz: (<-- is elliottcable) [20:24] dustindiaz: @ded on twitter [20:24] igl has joined the channel [20:24] wink_: matbee: handling 10,000 idle sockets, sure i'd think so. what sort of load are you talking? [20:24] Peter` has joined the channel [20:24] Swizec has joined the channel [20:24] dustindiaz: has anyone had issues with sqlite with the latest version of Node? [20:24] kkaefer: dustindiaz: which sqlite module are you using? [20:25] matbee: wink_, very low data transfer, mainly sending small bits of json containing number updates [20:25] dustindiaz: my app barfs on both sqlite and sqlite3 modules [20:25] jbrokc: if i open a node console, tell it to fs.watchFile("/foo", function() { console.log("node!")}) for changes, and then go and save that file. there's a good 2-3 second delay between the two. is it because i'm watching the file from a node shell? [20:25] battlecollie: dustindiaz: Holy Christ. 20k followers. I guess not, then. [20:25] taf2: anyone looking at cleaning up 'binary' from node crypto? [20:25] kkaefer: dustindiaz: we're heavily using sqlite3 in production [20:25] kkaefer: dustindiaz: do you have an error message for the sqlite3 module? [20:25] dustindiaz: as `was` i with sqlite [20:25] wink_: matbee: i think you'll find it does just fine, i'd suggest putting a little prototype together to check and make sure though [20:26] madzak has joined the channel [20:26] ekryski has joined the channel [20:26] bradleymeck: jbrokc it could be many things, but, mostly its probably bad polling by the os (what os are you on?) either way dont require watchfile to be exact [20:26] konobi: matbee: you'll probably need to do some playing around with OS kernel tuning settings, etc. to make sure you can get maximal throughput vs CPU [20:26] jbrokc: bradleymeck: Lion. and i'm not, but isn't that it's purpose? [20:27] kkaefer: dustindiaz: if you experience any kind of failures with https://github.com/developmentseed/node-sqlite3, please post an issue or ping me on IRC [20:27] madzak has left the channel [20:27] Determinist: yo, how can i check if my node process is running as a child of another process? [20:27] dustindiaz: 1 sec. i'm making a screenshot [20:27] dustindiaz: thanks guys [20:27] fostah has joined the channel [20:27] bradleymeck: jbrokc, yes but the hooks for them arent really up to node (inotify should be in charge of that) [20:27] gaba has joined the channel [20:28] __directory: jbrokc: because I'm terrible with css/design stuff [20:28] battlecollie: Determinist: MAGIC. supsexy. [20:28] jbrokc: __directory: i hate css with a passion as well, and i'm god awful at it. [20:28] wink_: Determinist: ps -ejH [20:28] __directory: jbrokc: same - I make web applications that work but look like shit. [20:28] wink_: ps axjf will work too [20:28] taf2: wouldn't it make sense when removing encoding='binary' from node_crypto.cc to assume binary if it's ot base64 [20:29] battlecollie: __directory, jbrokc: the question is why you, as devs, are trying (and predictably, failing) to do design work? [20:29] jbrokc: __directory: someone can give me a design, and i can do my best to implement it but most of the tiem css is trial by pressing the up arrow key until something works [20:29] taf2: s/ ot/ not/ [20:29] wink_: i pulled those from the gnu man pages though so if you're on osx it might be slightly different [20:29] jbrokc: battlecollie: i'm not doing design work. i just can't stand css [20:29] dustindiaz: check here [20:29] __directory: it's hobby work [20:29] dustindiaz: http://cl.ly/3p1R1k3I0A222m1u0r1q [20:29] __directory: I'm not hiring a designer for my porn projects. [20:29] thinkt4nk: is the proper redirect for a POST request that has been processed 301? [20:29] taf2: instead of printing the warning about node-crypto: .... .update encoding can be binary, hex or base64" so rather check for hex and base64 and if it's neither assume binary ? [20:30] monokrome has joined the channel [20:30] markmarkoh has joined the channel [20:30] kkaefer: dustindiaz: what system are you using? [20:30] junkee[] has joined the channel [20:30] dustindiaz: OSX 10.6 [20:30] dustindiaz: it might be a bug in latest node.... [20:30] battlecollie: dustindiaz: No lion? And bash instead of zsh? :O [20:30] kkaefer: dustindiaz: oh, I didn't test it with 0.5.x [20:30] dustindiaz: i have Lion at home [20:30] dustindiaz: v0.5.3-pre [20:31] matyr_ has joined the channel [20:31] patcito has joined the channel [20:31] kkaefer: dustindiaz: 0.5.x is highly unstable and in development [20:31] monokrome: How do people here use PostgreSQL with NodeJS? Writing raw queries? [20:31] kkaefer: dustindiaz: 0.4.10 is the latest stable version [20:31] dustindiaz: 0.5 is available for regular download, actually [20:31] matbee: I essentially need real-time updates to sports teams, so I'm torn between the overkill of websockets --- which is moreso used for two-way communication... or long-polling, which will put our webserver through hell and back [20:31] kmiyashiro: dustindiaz: .5 is the unstable channel [20:31] kkaefer: dustindiaz: odd numbered minor versions are unstable in node [20:31] battlecollie: dustindiaz: Doesn’t mean you should use it for anything other than testing your libraries [20:31] kmiyashiro: even = stable [20:31] dustindiaz: i see [20:32] dustindiaz: i lost my require.paths today too :/ [20:32] dustindiaz: but i knew that was coming [20:32] kkaefer: dustindiaz: that error was produced by a change in node from a couple of days ago [20:32] dustindiaz: interesting [20:32] wink_: monokrome: as opposed to parameter binding? [20:32] kkaefer: there's no point for module developers to keep up with 0.5.x, unless they use it in production [20:33] monokrome: wink_: I'm trying to find a decent ORM, actually - but wondering if they just don't exist yet. [20:33] gtramont1na has joined the channel [20:33] dustindiaz: ok, i'll have to sort out downgrading [20:33] wink_: monokrome: ah, i dunno, i avoid orms like i avoid herpes :p [20:33] dustindiaz: i've only ever installed Node straight from github [20:34] monokrome: FastLegS looks neat, but I'm wondering if there are better mappers - and if any might support multiple backends. [20:34] fostah has joined the channel [20:34] wink_: monokrome: i've caught references to a number of orms, but i dont think any of them were backed by postgres [20:35] thinkt4nk: I guess 303 is correct, thanks anyway [20:35] monokrome: FastLegS is [20:35] malkomalko: we wrote FastLegS [20:35] malkomalko: it's pretty simple [20:35] malkomalko: we have a bunch of stuff we want to do with it, but we're just busy [20:35] kkaefer: dustindiaz: just git co v0.4.10 and ./configure && make install [20:36] dustindiaz: ah. i see.. [20:36] dustindiaz: i never looked at their branch list [20:36] dustindiaz: will it install over existing install? [20:36] dustindiaz: or will i need to remove old? [20:36] monokrome: ACTION might just have to end up using MySQL :( [20:36] monokrome has left the channel [20:36] kkaefer: dustindiaz: if you make install with node, it installs systemwide [20:37] kkaefer: dustindiaz: and it'll override the old version [20:37] dustindiaz: sounds good [20:37] dustindiaz: thanks [20:37] kkaefer: dustindiaz: you also need to recompile all C++ addons [20:37] kkaefer: they're probably incompatible with the ones produces with 0.5.x headers [20:37] monokrome has joined the channel [20:38] djcoin has joined the channel [20:38] Poetro has joined the channel [20:38] RC1140 has joined the channel [20:38] jhurliman: EyePulp, btw i found what i was looking for. node.io run() method has a this.add(input) method that allows jobs to dynamically add more work to the input queue [20:39] dtan has joined the channel [20:39] dustindiaz: v0.4.1 is a tag [20:39] dustindiaz: not a branch :/ [20:40] dustindiaz: now i'll have to brush up on git foo [20:40] taf2: git co v0.4.1 should get you the tag? [20:40] jameson has joined the channel [20:41] Draggor: Is there an array utils lib out there? Namely for searching and things? [20:41] xerox: Draggor: node comes with extra methods [20:41] xerox: look at the api docs [20:41] ank has joined the channel [20:42] dustindiaz: here we go. now off to grab coffee and wait for `make` [20:42] taf2: bnoordhuis, how does this look: https://github.com/joyent/node/pull/1403 [20:42] xerox: no actually I meant the wiki Draggor [20:42] pekim has joined the channel [20:43] xerox: Draggor: https://github.com/joyent/node/wiki/ECMA-5-Mozilla-Features-Implemented-in-V8 [20:43] Draggor: xerox: I has a dumb, where am I looking on the wiki for this? [20:43] Draggor: well that was silly timing [20:43] xerox: I has a dumb haha [20:43] rhaen has joined the channel [20:43] Draggor: I spent a weekend at a lake house, the theme was: Cannot brain, I has a dumb [20:43] __directory: i can has dumb [20:43] rhaen: morning. [20:44] xerox: 'lo [20:44] xerox: if anybody saw my question before, this is the best I could come up with for complex object prototypes http://codr.cc/825030/js [20:47] kkaefer: dustindiaz: make sure to use v0.4.10, not v0.4.1 [20:47] dustindiaz: yep. saw that' [20:47] dustindiaz: all is well [20:47] kkaefer: 0.4.1 will work too, but there are some bug fixes in 0.4.10 [20:47] kkaefer: ok [20:47] dustindiaz: it's working [20:48] chjj has joined the channel [20:51] rpflo has joined the channel [20:51] rpflo has joined the channel [20:53] krh: is there a finalizer mechanism in node.js? [20:53] krh: a way to trigger closing of fds when an object is GCed, for example [20:54] EyePulp: jhurliman: thanks for the node.io details [20:55] kkaefer: krh: have a look at src/node_object_wrap.h [20:55] krh: kkaefer: but I'm not writing an addon [20:55] kkaefer: krh: sort of, but it's not really guaranteed [20:55] kkaefer: krh: oh, then the answer is no [20:56] diegoviola: krh: hi, how is wayland going? [20:56] krh: ugh, ok, so I have to add a destroy functions or something? [20:56] krh: diegoviola: getting distracted by node.js :) [20:56] diegoviola: ;) [20:56] kkaefer: krh: yes [20:56] krh: ok [20:57] execution has joined the channel [20:57] execution has left the channel [20:57] Wizek_ has joined the channel [20:57] piscisaureus has joined the channel [20:57] dherman has joined the channel [21:00] ank has joined the channel [21:00] markmarkoh1 has joined the channel [21:01] jacobolu_ has joined the channel [21:01] ank has joined the channel [21:01] kimico has joined the channel [21:01] Xeon06_ has joined the channel [21:02] rhaen: hm, I need to get into node before my HP Veer arrives :) [21:04] gaba has joined the channel [21:06] fyskij has joined the channel [21:07] dshaw_1 has joined the channel [21:07] herbySk has joined the channel [21:07] overra has joined the channel [21:09] materialdesigner has joined the channel [21:10] hunterloftis has joined the channel [21:11] Xeon06_ has joined the channel [21:13] kysmith has joined the channel [21:16] boehm has joined the channel [21:16] mikedeboer has joined the channel [21:16] kmiyashiro: var exports = module.exports = function(key, vers) { [21:16] kmiyashiro: if (!key) { return new Error('no key'); } } [21:16] Xeon06_ has joined the channel [21:16] kmiyashiro: why doesn't that throw an error when I try to require that module without a key? [21:17] ericholscher has left the channel [21:17] fwg: the requiring just executes that code and returns module.exports [21:17] hunterloftis has joined the channel [21:17] __directory: you didnt execute [21:17] fwg: so the call to require returns that function which you must call [21:17] fwg: if you want the error [21:18] materialdesigner: yes [21:18] kmiyashiro: oh [21:18] kmiyashiro: I wish you could throw an error if someone tries to just assign the module [21:18] malkomalko has joined the channel [21:19] fwg: what do you mean by 'assign the module'? [21:19] materialdesigner: var exports = module.exports = new Error('no key'); [21:19] kmiyashiro: require('./blah'); [21:19] jan____ has joined the channel [21:19] materialdesigner: :) [21:19] kmiyashiro: heh [21:19] kuya has joined the channel [21:20] kmiyashiro: I guess I can have a "createClient" function to actually create the client [21:20] medikoo has joined the channel [21:20] materialdesigner: doing var foo = require('./blah') just makes foo = function(key,vers) [21:20] kmiyashiro: yeah [21:20] materialdesigner: so if the person runs foo(), they'll get an error [21:21] kmiyashiro: yeah [21:21] blup has joined the channel [21:21] kmiyashiro: I guess they just have to read the manual [21:23] bartt has joined the channel [21:24] markmarkoh has joined the channel [21:25] c_t has joined the channel [21:26] Country has joined the channel [21:26] sunup has joined the channel [21:26] Xeon06_ has joined the channel [21:27] ank has joined the channel [21:27] mdz has joined the channel [21:27] blup has joined the channel [21:27] tetsuharu: How do I find out which location require('mongodb') is coming from? [21:28] tetsuharu: I've been trying to throw console.log's everywhere but can't find it [21:28] tetsuharu: there are definitely two different libraries being loaded [21:28] jorenl_ has joined the channel [21:28] tetsuharu: one has exports.BSONNative the other does not [21:29] tetsuharu: or a list of possible locations it might be pulling from? [21:29] sunup: I'd like to make a web-based SNMP manager. Could I get a framework like Express listen on a UDP port and pass the information out to the browser? [21:29] blup has joined the channel [21:29] jorenl_: How do I properly close Node on ubuntu server? Ctrl+C terminates but gives a Address in use error the next time I run my script :/ [21:29] __directory: ^D [21:30] tetsuharu: sunup: http://nodejs.org/docs/v0.3.1/api/dgram.html [21:30] tetsuharu: sunup: http://nodejs.org/docs/v0.4.10/api/dgram.html#event_listening_ [21:30] gaba has joined the channel [21:31] davemo has joined the channel [21:31] Aikar: jorenl_: odd. i thought node used REUSEADDR by default [21:31] Aikar: jorenl_: thats a flag that needs to be passed to the socket [21:31] zeade has joined the channel [21:32] tetsuharu: jorenl_: you can always do sudo netstat -tlp and kill -9 the process [21:32] tetsuharu: last-resort [21:32] __directory: tetsuharu: I'm not sure if there's a way to test where the file is loading from inside node - but I would start with a find / -name to find all occurences and trip back the fat? [21:32] jorenl_: Aikar: So the error is on my end? I have to admit I'm actually just running the test script from the Socket.IO Homepage... [21:32] Aikar: jorenl_: i dunno, that could of changed... need to let someone else chip in who may know [21:33] tetsuharu: __directory: I'm not very familiar with npm package formats, but it looks like index.js is the first file to be loaded? [21:33] tetsuharu: or is it the last? [21:33] isaacs_away: __directory: require.resolve("blah") [21:33] __directory: tetsuharu: what he said :) [21:33] tetsuharu: isaacs_away: !! thank you! [21:34] tetsuharu: since bear-blasting Ruby, you are my new hero [21:34] boaz has joined the channel [21:34] jorenl_: also, is it normal that I get a no permission error when trying to listen to a port, not using sudo? :/ [21:34] isaacs: bear-blasting ruby? [21:34] isaacs: jorenl_: ports < 1000 are "restricted" [21:34] jorenl_: isaacs: how do you mean? [21:34] isaacs: jorenl_: ie, require root permissions (or more explicit perms, on systems that have such things) [21:35] harthur has joined the channel [21:35] __directory: 0-1023 are IAna well known ports [21:36] bnoordhuis: Aikar: node sets SO_REUSEADDR [21:36] tetsuharu: you know, bear-blasting, for when you're too energetic for normal sports [21:36] tetsuharu: goddamn isaacs you saved me hours of debugging time [21:36] __directory: the idea being not to let somebody put their pron server on port 17 and block quote of the day [21:36] jorenl_: isaacs; I'm trying to listen to 81 (80 is apache). I can't really get around that atm (I'd have to physically go over to the place where my server is and open a gate on the routers firewall). so running as root is my only option? :/ [21:36] unlink has joined the channel [21:36] unlink has joined the channel [21:37] isaacs: jorenl_: sure, or listen on 8000 or 8080 or something [21:37] isaacs: jorenl_: or 15443 [21:37] isaacs: some high-port [21:37] __directory: >1023 donut require root [21:37] jorenl_: isaacs: those are not open. It's running behind a router w firewall. [21:37] jorenl_: root for now. [21:38] __directory: root or suid bit [21:38] __directory: only options [21:38] isaacs: yep. root [21:40] konobi: or get your firewall to direct traffic from port 80 to your destination port [21:41] jorenl_: konobi: 80 is being used by apache. [21:41] Xeon06_ has joined the channel [21:41] rhaen: 8080 might be a choice [21:42] rhaen: It's usually open due to proxy or old fashioned java tomcat servers. [21:43] konobi: 81 then [21:43] jorenl_: rhaen: I think that router uses it for its web interface to the outside world. I disabled it but it might still reserve the port. +, I can just go over there tomorrow and open whatever port I want :) [21:43] rhaen: :) [21:44] jorenl_: Thanks for the help everyone, I really appreciate it. [21:46] Xeon06_ has joined the channel [21:48] liquidproof has joined the channel [21:49] te-brian2 has joined the channel [21:50] rhaen has joined the channel [21:51] hunterloftis has joined the channel [21:52] rhaen: re. [21:53] albertosheinfeld has joined the channel [21:53] albertosheinfeld: Is node going to substitute apache, nginx or any other hardcore server? [21:54] albertosheinfeld: what do you guys think? [21:54] wao: hello, I've been using nave usemain 0.5.2, but getting this http://fpaste.org/TVRK/ any idea? [21:54] rhaen: albertosheinfeld: no, I am pretty sure [21:55] markmarkoh has joined the channel [21:55] albertosheinfeld: rhaen, why would you think that? besides the obvious reasons [21:56] cl0udy: albertosheinfeld: imagine u just need to learn js and html [21:56] rhaen: Just for the common things. Node.js can handle 1 core only - in order to scale you need to stress more cores at once. [21:56] Xeon06_ has joined the channel [21:56] cjm has joined the channel [21:56] meandi has joined the channel [21:57] rhaen: I think this is the main limit for now. You need something to glue several node.js instances together [21:57] cl0udy: hmm but then again if u want to do more modular stuff then probably not? [21:57] __directory: node can kick out into threads and easily be orchestrated so you have a bunch of node processes clustered [21:57] tony__ has joined the channel [21:57] rhaen: it could be done using loadbalancers. [21:57] albertosheinfeld: but if you have event based calls [21:57] cl0udy: but would u use nodejs for modular stuff? [21:58] mehtryx has joined the channel [21:58] albertosheinfeld: what would be the perfect case to use node instead of any other server? [21:58] cl0udy: if u want event based stuff [21:58] rhaen: I don't think that the web is designed for this :) [21:59] albertosheinfeld: then why so much HYPE about it? i feel like i'm missing a piece here [21:59] cl0udy: like for simple db querying and processing of variables [21:59] rhaen: You want node a part of a system for eventbased stuff and webservers for serving different data. [21:59] cl0udy: yea [21:59] rhaen: albertosheinfeld: the glory is JavaScript in a competing field [22:00] cl0udy: db querying and lots of processing of data but not much user interaction then better go with modular based [22:00] matyr has joined the channel [22:00] rhaen: You have the wonderful eventbased loop system which is extreme good at just doing nothing :) [22:00] edude03 has joined the channel [22:00] albertosheinfeld: so it makes more sense to deep into ruby than node? [22:00] albertosheinfeld: for example... [22:00] cl0udy: yea ruby or php for modular [22:00] cl0udy: node for event based [22:00] rhaen: cl0udy: please count perl into that field, too. [22:01] cl0udy: yea perl too [22:01] rhaen: cl0udy: I am a Mojolicious lover - so please be fair .) [22:01] bnoordhuis: modular... you mean threaded or forked? [22:01] cl0udy: u can still use node+other webservers [22:01] albertosheinfeld: yeah i was planning on using node only for push to users some data [22:01] konobi: rhaen: you poor bastard [22:01] __directory: also node is a lot more than just http crap [22:01] cl0udy: yea u can run other server types other than a http server with node [22:01] __directory: tcp/udp mixed with http, etc [22:01] rhaen: konobi: I love it :) Wrote some documentation for it :) [22:02] cl0udy: so just run both node +nginx or something [22:02] konobi: rhaen: i ejected mojo as soon as i could from a previous codebase [22:02] yozgrahame1 has joined the channel [22:03] albertosheinfeld: yeah i agree, but i wanted to know why all the hype, i've been testing it and i like it, but i just cannot compare it to apache, etc and i thought i was missing something... that's why i asked :) [22:03] cl0udy: well dont use apache use nginx/lighttpd [22:03] Poetro has joined the channel [22:03] albertosheinfeld: yeah we are migrating [22:03] cl0udy: i hate apache takes up so much resources [22:03] albertosheinfeld: but takes a lot cause the app is huge! :) [22:04] gtramont1na has joined the channel [22:04] albertosheinfeld: i agree in there, we will start with a double layer and then just stay with nginx [22:04] konobi: rhaen: mainly because there were really stupid API changes that caused me to be constantly changing my code to deal with it [22:04] rhaen: konobi: true. We declared that feature :) As you have read the docs everything was marked as "can change..." [22:05] rhaen: konobi: anyway, it's stable in the core now. [22:05] konobi: rhaen: i'll stick to something that is reliable =0) [22:05] rhaen: konobi: however, due to some other things my interests move to node.js slowly [22:06] rhaen: oh, btw, is there any CSS selectors alike module for node.js [22:06] albertosheinfeld: thanks guys for the talk [22:06] gazumps has joined the channel [22:06] caolanm has joined the channel [22:06] tmcw: rhaen: for html? [22:07] jonaslund has joined the channel [22:07] tmcw: You can use jquery server-side [22:07] rhaen: tmcw: yep, or for xml. I need to parse XML rss feeds. [22:07] guidocalvano has joined the channel [22:07] tmcw: Hmm, have not found much that's good with node+xml [22:07] CrabDude has joined the channel [22:08] socketio\test\95 has joined the channel [22:08] rhaen: tmcw: yep, jquery - thanks! [22:10] rhaen: tmcw: libxmlext - add selectors to libxmljs - I'll look into it. [22:11] _sri: konobi: don't like code changes, don't use alpha releases... [22:11] bpwnr has joined the channel [22:11] te-brian2 has joined the channel [22:11] Xeon06_ has joined the channel [22:12] radicality has joined the channel [22:13] konobi: _sri: to be fair this was a while ago... but at the time it did leave a bitter taste [22:13] iFire has joined the channel [22:13] _sri: konobi: the 0. in front of the version should have been a hint [22:14] konobi: _sri: the _0001 suffix would have been a better indication =0) [22:14] _sri: konobi: umm…no [22:16] dandean has joined the channel [22:17] cl0udy: is 180 hits a second considered fast? [22:17] cl0udy: http://calip.so/ [22:17] Aikar: no... [22:17] cl0udy: yea i thought so [22:18] albertosheinfeld has joined the channel [22:18] CrabDude: FYI: Baysync, bay area node.js meetup on DNode & Hook.io (substack & maraksquires): http://www.meetup.com/BaySync/events/22810961/ =) [22:18] losing has joined the channel [22:18] Aikar: oh damnit you just reminded me i have a JS meetup here at work today [22:19] Damm: is there a standard framework server for nodejs? I know google fails me, and I don't want to ask the stupid question [22:19] Aikar: Damm: ExpressJS [22:19] Damm: but it seems for ease of hosting some basic stuff does help [22:19] Damm: oh is that what expressjs is? heh [22:20] Damm: i thought it was just a framework [22:20] Aikar: http://expressjs.com [22:20] Damm: yep [22:20] Aikar: well it is, you simply throw it on top of a http server [22:20] Damm: nothing to do with what I said actually though :) [22:20] Damm: eeerr wrong direction [22:20] losing_ has joined the channel [22:20] Damm: don't think you understood what i asked [22:21] Aikar: you mean 1 server that runs that you throw sites under ala apache? [22:21] CIA-65: node: 03SAWADA Tadashi 07master * rd3a84be 10/ (src/node_crypto.cc test/simple/test-crypto.js): [22:21] CIA-65: node: Fix crypto encryption/decryption with Base64. [22:21] CIA-65: node: Fixes #738. [22:21] CIA-65: node: Fixes #1205. - https://github.com/joyent/node/commit/d3a84bea7b361e786b43f5a00c1dfcc0eadb07ea [22:22] socketio\test\43 has joined the channel [22:23] heavysixer has joined the channel [22:24] madzak has joined the channel [22:24] EvRide has joined the channel [22:25] markmarkoh1 has joined the channel [22:26] sholden: can you set a timeout on an http request? [22:26] Xeon06_ has joined the channel [22:27] CrabDude: anyone know where the define() functionality currently resides in source? [22:27] CrabDude: err, core? [22:28] xerox: what is the node.js-esque way to do setTimeout(function() { worker() }, 10) [22:28] bnoordhuis: CrabDude: lib/module.js [22:28] xerox: IIRC is something in process. [22:29] DrPizza_: Does piscisaureus actually use IRC, or does he just idle forever? [22:29] EvRide1 has joined the channel [22:29] CrabDude: bnoordhuis: excellent. thx. =) [22:29] xerox: process.nextTick [22:30] DrPizza_: And if he actually uses it, what timezone is he in? [22:30] bnoordhuis: DrPizza_: GMT+2 [22:30] DrPizza_: Ah [22:30] DrPizza_: Thanks [22:30] bnoordhuis: and it's 00.30 am here :) [22:30] ericholscher has joined the channel [22:31] DrPizza_: Oh, Dutch, I see. [22:31] Xeon06_ has joined the channel [22:32] DrPizza_: So I guess I should try to talk to him during the day. [22:34] guest_655 has joined the channel [22:34] sylvinus has joined the channel [22:34] tomtomaso has joined the channel [22:35] Sorella has joined the channel [22:35] tomtomaso has joined the channel [22:36] SubStack: CrabDude: haha "*DNode by Tim Halliday (aka Substack)* [22:36] SubStack: why do people even use my real name [22:36] SubStack: even incorrectly [22:36] michaelhartau has joined the channel [22:36] Xeon06_ has joined the channel [22:37] CrabDude: SubStack: Every time I use someone's handle instead of their name in conversations with my wife, she looks like I'm the biggest nerd she's ever met. [22:37] chrisdickinson: SubStack: hey, I opened a pull request on node-burrito that adds require patching; would that fit better in node-intestine? [22:37] Damm: Aikar, no, running sites under apache is failure [22:37] CrisO has joined the channel [22:38] CrabDude: SubStack: lol, apologies, i'll update it [22:38] CrabDude: proof positive i never use your real name [22:38] Damm: Aikar, I'm asking basically an engineering aspect question and more of a best practice I guess for the sake if you run multiple websockets node apps and you want them to sanely stay up [22:38] pen has joined the channel [22:38] Damm: and make sure logs are available [22:38] Damm: blaah that line was messed [22:38] Damm: ohwell [22:39] aconbere has joined the channel [22:41] fly_ has joined the channel [22:41] geoscooter has joined the channel [22:42] Determinist: guys, any way to install npm packages "globally" into a user's home dir? [22:42] booo has joined the channel [22:42] isaacs: Determinist: npm install blah -g <-- installs it into the `prefix` folder [22:43] isaacs: Determinist: but that's not for require(). that's for cli scripts. see `npm help folders` and `npm help link` for more info on what you're probably trying to do [22:43] Determinist: isaacs: k, thanks [22:43] CStumph has joined the channel [22:43] geoscooter: Hello. [22:45] geoscooter: Please pardon me if this question has been answered before, but I'm yet to find an answer. I see where in the node.js build instructions, it says that npm support for Windows may be added in the future. Is this something that is actively pursued? [22:45] Determinist: isaacs: ok, so lets say node and npm were installed by the sysadmin and i'd like to install "global" packages into my home folder where I have access rather than to /usr/local/... where i don't [22:45] Determinist: isaacs: any way to do that? [22:45] isaacs: Determinist: npm config set prefix ~/local [22:45] MarkMenard has joined the channel [22:46] isaacs: (or whatever path you like) [22:46] isaacs: geoscooter: yes. [22:46] isaacs: geoscooter: it'll be a few months [22:46] geoscooter: I'm stuck with deployment on Windows mac [22:46] geoscooter: That's fine. [22:46] hassox has joined the channel [22:46] Determinist: isaacs: and that won't affect the standard npm behavior or loading from ./node_modules, right? [22:46] isaacs: Determinist: nope [22:46] geoscooter: That's wonderful. [22:46] Determinist: isaacs: thanks [22:46] isaacs: Determinist: it'll just put global packages in ~/local instead of /usr/local [22:46] Xeon06_ has joined the channel [22:46] Determinist: isaacs: great, thanks [22:46] odyniec has joined the channel [22:46] isaacs: Determinist: also, it's actually node itself that loads from ./node_modules. [22:47] isaacs: Determinist: npm just sets the stage, and then is gone [22:47] Determinist: isaacs: yeah, that's true, i guess [22:47] Determinist: isaacs: will npm create bin links for packages if i set the prefix like that? [22:47] dgathright_ has joined the channel [22:48] Determinist: isaacs: specifically to ~/bin? [22:48] isaacs: Determinist: in this case, to ~/local/bin [22:48] isaacs: Determinist: but you can set ~ as your prefix, instead, if you like [22:48] Swizec has joined the channel [22:48] isaacs: Determinist: and only when you install something -g globally [22:48] Determinist: isaacs: gotcha [22:49] monokrome has joined the channel [22:49] wao: hm [22:50] rpflo has joined the channel [22:50] wao: hey isaacs, any idea about this http://fpaste.org/i9zU/ ? [22:52] supster has joined the channel [22:53] natdivad has left the channel [22:54] SubStack: chrisdickinson: I think a require patcher is best as its own module [22:54] SubStack: I looked through that patch but the problem is I'm using burrito in the browser so I can't rely on the behavior of require() so much [22:55] SubStack: chrisdickinson: also check out https://github.com/dominictarr/remap [22:55] RC1140 has joined the channel [22:55] SubStack: well with require extensions I mean [22:55] markmarkoh has joined the channel [22:56] Xeon06_ has joined the channel [22:57] azeroth__ has joined the channel [22:57] liquidproof has joined the channel [22:58] yhahn has left the channel [23:00] Determinist: isaacs: what does 'extraneous' mean in npm's context? [23:00] losing has joined the channel [23:00] isaacs: Determinist: it means that you've got something in node_modules that isn't listed as a dep in your package.json [23:00] isaacs: Determinist: you can npm install blah --save to add it when you install [23:00] Determinist: isaacs: and it'll just add it to my package.json for me? [23:01] isaacs: Determinist: or `npm install blah --save --dev` to save it to devDependencies [23:01] isaacs: Determinist: yeah [23:01] Determinist: isaacs: cool [23:01] felixge has joined the channel [23:01] felixge has joined the channel [23:03] MarkMenard has joined the channel [23:05] CStumph has joined the channel [23:05] yozgrahame has joined the channel [23:07] zemanel_ has joined the channel [23:09] TechCel has joined the channel [23:10] hybsch has left the channel [23:10] zivester has joined the channel [23:11] RC1140 has joined the channel [23:11] Xeon06_ has joined the channel [23:12] TheEmpath has joined the channel [23:13] TheEmpath: so i have a php server sending data to a node.js server.. and php is using a non-blocking server with lingering set on... i'm trying to push into node.js like 300k of data [23:13] slifty_ has joined the channel [23:13] TheEmpath: what happens is that the php instance termiantes before the socket finishes sending everything... so i set the SOL_SOCKET lingering to l_onoff 0. still, the socket doesn't flush everything. [23:14] TheEmpath: i set the connection as nonblocking at first, until the php instance ends, then i set the lingering to l_onoff 0 and set the socket to blocking.. but no dice... the php instance ends [23:14] tjholowaychuk has joined the channel [23:14] malkomalko has joined the channel [23:14] TheEmpath: im pretty sure its a php thing, but im curious if i've setup node.js wrong [23:15] lot49 has joined the channel [23:16] irrumator_ has joined the channel [23:16] Xeon06_ has joined the channel [23:16] junkee[] has left the channel [23:17] gtramont1na has joined the channel [23:17] diegoviola has joined the channel [23:19] kmiyashiro has joined the channel [23:19] [[zz]] has joined the channel [23:20] bradleymeck has joined the channel [23:20] bnoordhuis: TheEmpath: probably a php thing yes [23:20] bnoordhuis: TheEmpath: does tcpdump show traffic going over the wire after php has closed the socket? [23:23] jshaw has joined the channel [23:23] fdenbow has joined the channel [23:25] markmarkoh has joined the channel [23:26] tmcw has joined the channel [23:26] Xeon06_ has joined the channel [23:28] andersonfreitas has joined the channel [23:28] andersonfreitas has joined the channel [23:29] brianseeders has joined the channel [23:30] dgathright has joined the channel [23:31] fuzzyone has joined the channel [23:36] Xeon06_ has joined the channel [23:37] malkomalko has joined the channel [23:41] Xeon06_ has joined the channel [23:42] rchavik has joined the channel [23:42] reid has joined the channel [23:42] klovadis has joined the channel [23:43] klovadis: hi there, does anyone know an elegant way to catch the EPERM error that appears when you try to open a TCPIP socket to a nonexistant target? [23:44] bartt has joined the channel [23:44] guidocalvano has joined the channel [23:44] bartt1 has joined the channel [23:45] irrumator_ has joined the channel [23:45] irrumator_ has joined the channel [23:47] level09 has joined the channel [23:48] sechrist has joined the channel [23:48] CrabDude: does node have unit tests (for js core), and if so where are they? [23:49] patrickjst has joined the channel [23:49] shanebo: hey guys, I just did an 'npm install mongoose' and got this message: "To install with C++ bson parser do the parser only works for node 0.4.X or lower" [23:49] isaacs: shanebo: you using node 0.5? [23:49] isaacs: CrabDude: in the node source, do `make test-all` [23:49] isaacs: CrabDude: they're in the "test" folder. there are a lot of them. [23:50] sechrist: so my fellow node humans [23:50] sechrist: hookio is the best thing to exist [23:50] sechrist: ever [23:50] monokrome: ACTION looks [23:50] shanebo: isaacs, I'm on v0.4.10 [23:50] CrabDude: ACTION facepalm [23:51] CrabDude: sechrist: in the bay area? [23:51] Xeon06_ has joined the channel [23:52] patrickjst has joined the channel [23:52] patrickjst has joined the channel [23:52] guillermo has joined the channel [23:53] hassox has joined the channel [23:53] shanebo: so isaacs, should I install native? [23:53] monokrome: sechrist: Is this like socketio? [23:54] AvianFlu: monokrome: socket.io is for websockets, hook.io is cross-process eventemitter2 over dnode [23:54] CrabDude: isaacs: suggestion for location of a define() test? [23:54] isaacs: CrabDude: test/simple/test-module-loading.js i believe [23:55] CrabDude: thx [23:55] isaacs: CrabDude: i believe that loads some of the modules in test/fixtures [23:56] [[zz]] has joined the channel [23:56] bradleymeck has joined the channel [23:56] brian has joined the channel [23:56] Xeon06_ has joined the channel [23:59] gtramont1na has joined the channel