[00:05] rfay_ has joined the channel [00:06] duck_ has left the channel [00:07] tk has joined the channel [00:07] dgathright has joined the channel [00:09] boxysean has joined the channel [00:14] [[zz]] has joined the channel [00:14] Xeon06_ has joined the channel [00:14] hassox has joined the channel [00:16] davidbanham has joined the channel [00:16] tilgovi_ has joined the channel [00:16] tilgovi_ has joined the channel [00:17] devongovett has joined the channel [00:18] benjaminRRR has joined the channel [00:20] theCole has joined the channel [00:23] squeese has joined the channel [00:23] rfay has joined the channel [00:24] Xeon06_ has joined the channel [00:24] rchavik has joined the channel [00:24] rchavik has joined the channel [00:25] ditesh|cassini has joined the channel [00:27] clifton has joined the channel [00:28] Xeon06_ has joined the channel [00:30] Nuck: I wish JSfiddle worked on mobile devices :( [00:31] jesusabdullah: Make it so, number one. [00:31] tbranyen: I like taking number twos [00:31] tbranyen: fyi [00:31] tbranyen: hth [00:31] Nuck: lol tbranyen tmi [00:32] tbranyen: scary part is what i'm doing right now you'll never know [00:33] Spion has joined the channel [00:33] neoesque has joined the channel [00:35] Xeon06_ has joined the channel [00:35] Bonuspunkt has joined the channel [00:35] pastak_ has joined the channel [00:38] jonatasoliveira has joined the channel [00:43] CIA-110: libuv: 03Ben Noordhuis 07master * r33b1b7a 10/ src/uv-freebsd.c : [00:43] CIA-110: libuv: Fix compiler errors on FreeBSD. [00:43] CIA-110: libuv: Fixes #93. - http://bit.ly/qT8aCa [00:46] zemanel has joined the channel [00:48] Xeon06_ has joined the channel [00:49] perlmonkey2 has joined the channel [00:49] nibblebo_ has joined the channel [00:52] root_____ has joined the channel [00:53] fr0stbyte has joined the channel [00:54] Xeon06_ has joined the channel [00:58] Xeon06_ has joined the channel [01:01] CIA-110: libuv: 03Ben Noordhuis 07master * rcef595e 10/ src/uv-freebsd.c : Fix indentation in src/uv-freebsd.c - http://bit.ly/pUw8UY [01:01] CIA-110: libuv: 03Ben Noordhuis 07master * r1a0e452 10/ src/uv-freebsd.c : freebsd: add uv_hrtime(). - http://bit.ly/n4lD0q [01:02] Xeon06_ has joined the channel [01:08] googol has joined the channel [01:10] abraxas has joined the channel [01:11] k1ttty has joined the channel [01:12] tmpvar has joined the channel [01:12] Jakwac has joined the channel [01:12] Xeon06_ has joined the channel [01:14] smtlaissezfaire_ has joined the channel [01:15] cjm has joined the channel [01:18] postwait has joined the channel [01:18] sjbreen has left the channel [01:20] zrch80 has joined the channel [01:20] zrch80 has left the channel [01:22] themiddleman has joined the channel [01:22] jacter has joined the channel [01:24] craigbarnes has left the channel [01:26] radiodario_ has joined the channel [01:26] Kuntau has joined the channel [01:28] wilmoore has joined the channel [01:28] Xeon06_ has joined the channel [01:30] hassox has joined the channel [01:34] Xeon06_ has joined the channel [01:34] rook2pawn has joined the channel [01:35] boehm has joined the channel [01:35] cccaldas has joined the channel [01:35] rook2pawn: my version of node is 0.5.1-pre (git install from source).. express wants v.5.0 at most [01:38] Xeon06_ has joined the channel [01:48] rfay has joined the channel [01:49] cafesofie has joined the channel [01:50] gazumps has joined the channel [01:52] rwaldron has joined the channel [01:54] vhold has joined the channel [01:54] fmeyer has joined the channel [01:55] quotemstr has joined the channel [01:55] quotemstr: Is Node.js actually a full-blown HTTP server, or is it a module for some other system (like mod_perl)? [01:56] rwaldron has joined the channel [01:56] mbrevoort has joined the channel [01:56] cccaldas has joined the channel [01:57] chilts: quotemstr: Node.js is a programming language, in which you happen to be able to make HTTP servers [01:57] quotemstr: chilts: JavaScript is a programming language. Node.js is a library, yes? [01:57] AvianFlu: rook2pawn: use the 0.4.x branch unless you're trying to test windows support [01:57] Aria: A library tied to an interpreter entry point. [01:58] Aria: And considering it's a sort of standard library that way, it almost makes it its own language. [01:58] chilts: quotemstr: Nods.JS is an implementation of the JavaScript programming language [01:59] Aria: Not really. It uses v8 for that. [02:00] alek_br_ has joined the channel [02:00] blippedxd has joined the channel [02:01] e6nian has joined the channel [02:01] Aria: It's a little unique in how it's structured, since Javascript has such a nonexistant standard library. [02:02] Aria: And nonexistent external interface spec. [02:02] Aria: But node's just a library, and by so being, is a huge portion of the system you see as a programmer. [02:03] jmoyers: er.. [02:03] chilts: I think to quotemstr that's exactly what he's after, it's the programming language [02:03] jmoyers: its really a collection of bindings [02:03] chilts: who's bothered about v8 being the heavy lifting [02:03] jimmyrcom has joined the channel [02:04] jmoyers: its not a programming language [02:04] jmoyers: javascript is the programming language [02:04] chilts: that's what I said earlier, it's an implementation of JavaScript [02:04] jmoyers: its bindings to a collection of libraries for common low level tasks: filesystem, networking, etc [02:04] jmoyers: its not! [02:04] chilts: heh [02:04] jmoyers: v8 is a javascript engine [02:05] kriszyp has joined the channel [02:05] Aria: Hehe. "language", from a linguistics perspective, makes node a language. It may have a very similar syntax to regular javascript, but it's got its own rules and idioms. [02:06] Lorentz: Dialect? [02:06] jmoyers: sooo not a language [02:06] quotemstr: Aria: That's like saying Shakespeare is a language. [02:06] jmoyers: i'll agree, it does have its idioms and whatnot [02:07] jmoyers: callbacks, asynch io [02:07] Kuntau: >.< [02:07] quotemstr: Aria: If you follow your approach to its conclusion, then every program has its own language. That's what we do: model the world by creating domain-specific words to refer to it, and expressing ideas in these new terms. [02:07] quotemstr: Not every new abstraction is a new language. [02:07] Aria: True that, but it's a systemic change. [02:08] Aria: And not mutually intelligible, or lack of a better concept. [02:08] quotemstr: I just wanted to know whether, as conventionally used for writing web applications, people have a Node.js program serve HTTP, or whether they rely on another HTTP server and just use Node.js for dynamic content generation. [02:08] towski has joined the channel [02:08] jmoyers: no [02:08] jmoyers: node = http server [02:08] jmoyers: its not like apache mod_ world [02:08] jmoyers: so, it does both [02:09] Aria: Lots of people proxy. It's good enough to not for lots of people. [02:09] quotemstr: Aria: If you guys can't distinguish between a new language and a new work (however groundbreaking) in a new language, I'm going to have serious reservations about the rest of your system. [02:09] quotemstr: jmoyers: Thanks. [02:10] jmoyers: haha [02:10] jmoyers: give me a break [02:10] jmoyers: "you guys" [02:10] quotemstr has left the channel [02:12] Aria: Hehe. I'm just saying that it's a very grey area. [02:12] hassox has joined the channel [02:12] __directory has joined the channel [02:13] mikegerwitz has joined the channel [02:14] jmoyers: gray enough, agreed [02:15] ivan has joined the channel [02:16] rfay has joined the channel [02:16] caiges has joined the channel [02:19] rpbertp13 has joined the channel [02:19] Aria: You could call node.js's language "fully async javascript" -- the bit where async callbacks are so pervasive is definitely on the level of a language feature. [02:19] rpbertp13: What's the best way to handle an uncaught exception within an express app? [02:20] Xeon06_ has joined the channel [02:20] rpbertp13: process.addListener("uncaughtException" .. etc prevents the process from dying, but I need a way of returning a 500 to the client instead of keeping the connection open [02:20] Aria: rpbertp13: you can catch them with on('error', ...) -- that's probably your best bet. You want to do that in every EventEmitter you use. [02:24] brianseeders has joined the channel [02:24] jga023 has joined the channel [02:25] jga023: can anybody recommend a good syntax highlighting library? [02:27] brianseeders has joined the channel [02:28] Xeon06_ has joined the channel [02:28] Dreamer3 has joined the channel [02:29] seivan has joined the channel [02:29] rpbertp1_ has joined the channel [02:30] Dreamer3 has joined the channel [02:30] Aria: No, but if you find one in JS, let me know so I can plumb it into docco to replace pygmentize [02:31] pifantastic has joined the channel [02:31] rook2pawn: installing the gitfrom https://github.com/joyent/node.git gets you 5.0.1... is there a way to get git 5.0.0 so i can compile from source again [02:31] slajax has joined the channel [02:34] dexter_e has joined the channel [02:35] seivan_ has joined the channel [02:36] SubStack: rook2pawn: you can checkout a tag [02:36] Remoun has joined the channel [02:36] SubStack: I don't remember the usage but you can git help tag [02:37] Aria: rook2pawn: when you pull from joyent's git repo, you get all of it -- but the master is the unstable branch. You want to `git checkout v0.5.0` (that's 0-5-0, not 5-0-0), or more likely, the v0.4 branch [02:37] Aria: Unless you want to test libuv. [02:38] chapel: git checkout v0.4.9 [02:38] EM03: is it possible to write all your node.js stuff in coffeescript? [02:38] EM03: Does anyone do that? [02:39] SubStack: EM03: yes, some people do that [02:39] EM03: is it a good practice? [02:39] SubStack: I don't believe in good practices [02:39] EM03: interesting freaking statement SubStack [02:39] Lorentz: Believing in bad practices. [02:40] EM03: I'm always thinking of good practices but sometimes I wonder if I just over analyze the shit out of it [02:40] SubStack: if it works, ship it [02:40] EM03: well [02:41] EM03: I do the best I can at my own good practices and things that I myself could see as bad [02:41] EM03: but other then that, much of it could be opinion [02:43] erobit: any1 here know if socket.io supports multiple sockets? [02:44] erobit: i.e. can you spawn a new socket for each client [02:44] igl: EM03: coffee script adds another layer of logic to your code. dont think thats helpful in the long run [02:45] EM03: yea [02:45] EM03: I would agree [02:45] tbranyen: but its like ruby omg [02:45] tbranyen: it makes javascript bearable [02:45] igl: i would write python if i wanted a simpler syntax that bad [02:45] EM03: ......so ruby is the decider of what is good tbranyen ? [02:45] tbranyen: yeah but thats not the same thing at all [02:46] tbranyen: EM03: according to es.next yes [02:46] EM03: I love ruby [02:46] EM03: I love ruby once again [02:46] EM03: but then again I don't mind curly braces [02:46] Lorentz: I recently had to redeploy my redmine installation [02:46] prettyrobots has joined the channel [02:46] Lorentz: That's as far as I'll do ruby :3 [02:46] tbranyen: Fuck the bus is here [02:47] unomi has joined the channel [02:49] coltr has joined the channel [02:49] catshirt has joined the channel [02:50] robhawkes has joined the channel [02:51] necrodearia has joined the channel [02:52] neoesque has joined the channel [02:52] random123: Do YOU (yes you) restart node.js while debugging or is there a way you can do it without restarting it after each change? [02:53] Aria: I restart each time. Hot reloading is sometimes possible, if you hack with the require cache, but isn't always side-effect free. [02:55] random123: I would think its fundamental to development to make debugging easier if you didn't have to restart the process 100,000 times to make something [02:55] random123: Am I alone in thinking that is very important? [02:56] random123: If I developed node that would be high up on my priorities, like a requirement [02:56] random123: nodemon is not a good solution either [02:57] Remoun_ has joined the channel [02:57] random123: I'm having issues with it [02:58] robhawkes has joined the channel [02:58] Aria: v8 supports some hot-reloading; I don't know the details, but I know it's at the VM level, like swapping out instructions and such. [02:59] Aria: It'd be super useful, for sure, but it does have its problematic points with a naïve implementation [02:59] devongovett has joined the channel [02:59] Corren has joined the channel [03:00] random123: If they put a dev mode in, so you can run node -d file.js then everytime someone connects to the http server it could start over transparently [03:01] random123: That would be a huge improvement in dev [03:01] matwill has joined the channel [03:02] c4milo1 has joined the channel [03:02] gazumps has joined the channel [03:03] random123: That would mimic traditional web development... save file, reload browser [03:03] random123: Not save file, restart deamon, reload browser [03:03] jmoyers: whats the problem with nodemon? [03:03] jmoyers: or any of the hundred packages that try to address this problem with file watch [03:04] random123: It's not working right for me, for some reason occasionally it doesn't restart, and I have restart nodemon and pisses me off each time [03:04] random123: And 2 [03:05] random123: It doesn't work right with VirtualBox shared folders [03:05] zodiak has joined the channel [03:06] marcello3d has joined the channel [03:06] jmoyers: well, considering that the entire thing [03:06] jmoyers: is under 200 loc [03:06] jmoyers: sounds like something you might be able to fix for yourself in relatively short order no? [03:07] zodiak: hey guys and gals, other than dailyjs and the mailing list … where else do you like to keep up with all the new node.js modules ? [03:07] chjj: github news feed [03:07] chjj: follow people [03:07] Aria: And occasionally reddit. [03:07] chjj: :) [03:08] Prometheus: HN [03:08] kriszyp2 has joined the channel [03:08] zodiak: hrm. github has a large signal to noise ratio though.. unless you can filter by keyword [03:08] jmoyers: the twitters [03:08] jmoyers: curate who you follow [03:08] jmoyers: in github, twitter etc [03:09] zodiak: fair point.. but no real sort of centralized community daily news feed/hub/gizmo. [03:09] JasonSmith has joined the channel [03:10] nerdfiles has joined the channel [03:10] jmoyers: the mailing list. [03:11] jmoyers: thats the point [03:11] jmoyers: anything with ANN in the subject line [03:11] zodiak: ah! s/ann|released/ .. that could cut down the noise .. awesome :) [03:13] Nexxy has joined the channel [03:14] random123: jmoyers you are like an apologist for Node.js [03:14] Swizec has joined the channel [03:14] Brondoman has joined the channel [03:16] Brondoman: got a quick question: any idea when the 0.5.0 windows .exe will be available? [03:16] Aria: Brondoman: when it works? "Real soon now", but the native windows port is super new and unfinished. [03:17] Brondoman: Ok. I'll work with Cygwin for now. Hopefully the final will be out before I'm ready for deployment ;-) [03:18] Brondoman: /quit [03:18] seawise has joined the channel [03:19] jmoyers: random123 no man [03:19] jmoyers: 4 times today [03:19] jmoyers: people come in [03:19] jmoyers: nerd rage [03:19] jmoyers: its a community [03:19] jmoyers: contribute [03:19] ekryski has joined the channel [03:20] random123: I think the best spot for it to notice the changes is when you reload the browser, not when you save the file [03:20] jmoyers: there are a bunch of packages that try to address the problem you're talking about -- they should not be insurmountable. if there is a bug in nodemon, it dosen't really help to just say "shit doesn't work" [03:20] jmoyers: and im pretty sure i saw a package for that [03:20] jmoyers: no shit [03:20] jmoyers: let me find it [03:20] chjj: or, you could just restart your process [03:20] chjj: ...by hand! [03:21] jmoyers: well look, im not saying its not annoying to do that [03:21] jmoyers: i think thats a perfectly valid idea [03:21] jmoyers: its just... been done [03:21] mandric has joined the channel [03:21] chjj: seems like a nonissue to me [03:21] random123: If I have to restart the process each time I will develop an aneurysm [03:21] chjj: i dont mind having to restart my process [03:21] chjj: only takes a second [03:21] bartmax has joined the channel [03:21] bartmax has joined the channel [03:22] Aria: It's a bigger problem with long-lived connections than it is with http [03:22] random123: Saving the file, clicking terminal, Ctrl+C, starting the process, clicking the browser and hitting F5 is more than a second [03:23] chjj: i said restarting my process takes a second [03:23] chjj: not doing all that other shit with it [03:24] chilts: takes about a second with a keyboard controlable window manager [03:24] chilts: controllable [03:24] indexzero has joined the channel [03:24] indexzero: crazy delicious: https://github.com/indexzero/forever/commit/7ae870e874c0b66318f660ad9552db90b6412b2f [03:25] random123: I'll use an auto key script instead [03:25] chjj: indexzero: if i click that url, and its not crazy delicious, i will be disappointed [03:27] mike5w3c has joined the channel [03:28] elijah has joined the channel [03:28] Xeon06_ has joined the channel [03:28] chilts has left the channel [03:29] JasonSmith has joined the channel [03:32] Aria has joined the channel [03:33] ngs has joined the channel [03:34] ngs has joined the channel [03:35] jerrysv_ has joined the channel [03:37] confoocious has joined the channel [03:40] dshaw_ has joined the channel [03:41] nerdfiles has joined the channel [03:43] admc has joined the channel [03:44] coltr has joined the channel [03:46] levi501d has joined the channel [03:48] Aria: Huh. I didn't realize you could make mixins by hacking with Constructor.prototype.__proto__ [03:48] Aria: Guess that makes sense. [03:53] ckknight: Has anyone made anything like https://github.com/kevinrutherford/reek for javascript? [03:53] mandric has joined the channel [03:55] felixge has joined the channel [03:55] felixge has joined the channel [03:55] dragnl0rd has joined the channel [03:56] dragnl0rd: hello! [03:57] JasonSmith has joined the channel [03:57] dragnl0rd: got a rather stupid question... What can I use to run node on a remote server, and have it keep running when I log off. [03:58] Xeon06_ has joined the channel [03:58] tmpvar has joined the channel [03:58] SubStack: dragnl0rd: screen, monit, forever, tmux [03:58] jmoyers: you want to daemonize [03:58] SubStack: lots of options [03:58] jmoyers: nohup, etc [03:58] jmoyers: or any of those [03:58] jmoyers: :-) [03:59] dragnl0rd: heard of monit... actually reading about that one now. [03:59] MiiCode2 has joined the channel [04:02] Corren has joined the channel [04:03] dragnl0rd: thanks guys [04:06] blueadept has joined the channel [04:06] bingomanatee has joined the channel [04:07] bingomanatee: All the docs for canvas / node canvas describe a 0-255 scale for rgb values and Alpha; can you use [04:07] bingomanatee: decimal values or a greyscale model in canvas? [04:07] jesusabdullah: bingomanatee: yeah, there are a few ways to do color [04:08] jesusabdullah: bingomanatee: idk about decimal or greyscale, per se, but you can do "white" and "#ffffff" for example [04:08] jesusabdullah: bingomanatee: harthur has a colors library, I believe, that you may find handy [04:09] seivan has joined the channel [04:10] bingomanatee: I'm working with the topographic data of mars that has +/- 6000m of height and I want to get as much granularity as possible. [04:11] jesusabdullah: hmmm [04:11] jesusabdullah: bingomanatee: you may not be able to get more than 255^3 colors [04:11] bingomanatee: Yep; I figured I'd have to use redundant depth maps. [04:12] jesusabdullah: try playing around with the hsl colorspace, see how many colors you can get with varying h and keeping s and l at 1 [04:17] wookiehangover has joined the channel [04:18] Xeon06_ has joined the channel [04:18] tswicegood has joined the channel [04:19] patzak has joined the channel [04:23] rurufufuss has joined the channel [04:25] JasonSmith has joined the channel [04:25] dgathright has joined the channel [04:28] adam- has joined the channel [04:31] indexzero has joined the channel [04:31] tilgovi has joined the channel [04:31] tilgovi has joined the channel [04:32] mwl has joined the channel [04:32] Xeon06_ has joined the channel [04:32] Me1000 has joined the channel [04:32] random123 has joined the channel [04:37] rook2pawn has joined the channel [04:38] Xeon06_ has joined the channel [04:38] JasonSmith has joined the channel [04:39] e6nian has joined the channel [04:43] guidocalvano has joined the channel [04:45] Evanlec has joined the channel [04:46] Evanlec: hey guys, anyone know how I could get colored (syntax hilighting) output from the node interpreter? [04:46] xerox: require('colors') [04:47] dscape has joined the channel [04:47] xerox: console.log('hi there'.green) [04:47] xerox: oh wait, syntax highlighting? no idea [04:47] Evanlec: oh [04:47] Evanlec: hmm [04:48] Evanlec: just colored output I guess, like ipython style would be nice [04:48] Evanlec: or even the webkit inspector style [04:48] JasonSmith has joined the channel [04:51] dexter_e has joined the channel [04:54] Xeon06_ has joined the channel [04:58] JasonSmith has joined the channel [04:59] rurufufuss: what's a decent tool for benchmarking your node.js server performance? [04:59] rurufufuss: e.g to test how fast my database reads are [04:59] sreeix has joined the channel [04:59] rurufufuss: or to discover bottlenecks [05:02] adrianmg has joined the channel [05:02] apejens: where is the Array.forEach method in node.js documented? [05:03] Croms has joined the channel [05:04] chjj: Array.prototype.forEach is native to js [05:05] chjj: its not added by node [05:05] davidbanham: Does node-mysql implement any encryption between itself and the mysql server or does it expect the transport to be secure? [05:06] fangel has joined the channel [05:06] Lorentz: Wonder if one can build a literal FAQ system based on keywords of questions and answers off of IRC? [05:07] JohnnyL has joined the channel [05:08] Lorentz: Not to say your question is often asked, davidbanham [05:09] Prometheus: Lorentz: sure why not =) [05:09] davidbanham: Lorentz: No, it'd be a great idea. You'd get some of the permanence of a bulletin board while retaining the immediacy and informality of IRC. [05:10] zodiak: rurufufuss: siege [05:11] davidbanham: The way I'd like to see it work would be that, at the end of a good exchange in IRC, you would issue a command to a bot with a series of usernames and a timeframe. The bot would then slurp all of the posts made by those users in that timeframe and post them to a wiki somewhere. It would need to be a wiki so it could be cleaned up as needed. [05:12] rurufufuss: thanks zodiak [05:12] apejens: chjj: ahh, thanks [05:12] Xeon06_ has joined the channel [05:13] jonasen has joined the channel [05:16] zodiak: davidbanham: btw, fwiw, mysql recommends using SSL for 'encrypted channels' [05:17] davidbanham: zodiak: So there's no encryption layer built into the mysql protocol itself? [05:17] dhasenan has joined the channel [05:17] skm has joined the channel [05:18] Xeon06_ has joined the channel [05:18] zodiak: as far as I am aware, nope. [05:19] zodiak: truth be told, that's not where you really want encryption in a database anyway ;) [05:19] davidbanham: zodiak: Fair enough. It was a little optimistic to hope that security would be taken care of for me by the internet gnomes. [05:19] zodiak: davidbanham: well, SSL is as secure as anything the mysql peeps would write anyway, so, use that and you are golden [05:20] zodiak: bonus point is that it's database agnostic [05:20] Brian` has joined the channel [05:20] mwl has joined the channel [05:21] davidbanham: zodiak: Oh yeah, it's definitely the better approach. It's just another thing I have to write before I can launch. [05:21] sivy has joined the channel [05:23] rafaelrp has joined the channel [05:23] Spion_ has joined the channel [05:24] seivan has joined the channel [05:26] seivan_ has joined the channel [05:26] hassox has joined the channel [05:28] ay has joined the channel [05:28] ay: Hmpp [05:29] ay: My node-script dies with a [05:29] ay: Error: EPIPE, Broken pipe at Socket._writeImpl (net.js:159:14) [05:29] ay: Any ideas what I should do to prevent it? [05:30] Xeon06_ has joined the channel [05:31] xfigue has joined the channel [05:31] zodiak: ay node -v ? [05:32] JasonSmith has joined the channel [05:32] zodiak: (I say this, because I used to see an explosion using https in node < 0.4.9) [05:32] ay: zodiak: v0.4.9 [05:32] hij1nx has joined the channel [05:33] zodiak: can you pastie up the part that's your code please ? [05:33] zodiak: don't pastie up (obviously) net.js ;) [05:34] zodiak: chances are, you haven't wrapped a try / catch around the higher part that is exploding, and your client has 'gone away' [05:34] JohnnyL: what's node.js's stability like? also is there a windows version that works? [05:35] dragnl0rd: yes there is [05:35] zodiak: JohnnyL: you spelled linux wrong ;p [05:35] dragnl0rd: *Sigh* [05:35] ay: zodiak: http://pastie.org/2195177 just very simple. no Try catch. [05:36] hij1nx_ has joined the channel [05:36] materialdesigner has left the channel [05:37] ay: And it died on socket.write("Gotit!"); [05:37] ay: (after running for a few days. [05:38] boxysean has joined the channel [05:38] mraleph1 has joined the channel [05:42] ay: zodiak: So just try catching the write? [05:43] zodiak: ay: you can, yes.. but.. *scratches head* that looks clean/simple enough. [05:44] SamuraiJack has joined the channel [05:44] Xeon06_ has joined the channel [05:44] zodiak: actually, stupid thought, but, are clients "closing" ? I mean, most servers/machines have a fixed amount of ports they can use. you could be encountering port starvation if they are never released [05:44] Xano has joined the channel [05:44] JasonSmith has joined the channel [05:45] tdegrunt has joined the channel [05:49] ay: Maybe. Probably not. [05:49] ay: Connections is only done by netcat from nagios and by chef/ruby on failed chef-runs. [05:50] ay: So not more than say 400 clients. [05:50] ay: And i would be very surprised if they didn't close their connections,. [05:53] KingJamool has joined the channel [05:54] Xeon06_ has joined the channel [05:55] ay: zodiak: And just verified it now [05:55] ay: Munin does not show any increase in open or waiting connections [05:56] zodiak: ay: then I would definitely say wrap it in a try block ;) [05:59] stephank has joined the channel [05:59] hassox has joined the channel [06:00] Xeon06_ has joined the channel [06:02] jacter has joined the channel [06:03] hassox has joined the channel [06:03] JasonSmith has joined the channel [06:05] sreeix_ has joined the channel [06:05] sreeix has joined the channel [06:07] devaholic: anyone know how to grab package.json contents as an object inside server.js [06:07] devaholic: seems a trivial thing but i cant figure it out >.< [06:07] JohnnyL has left the channel [06:08] Xeon06_ has joined the channel [06:09] skm has joined the channel [06:09] KingJamool has joined the channel [06:10] __doc__ has joined the channel [06:10] tmpvar: devaholic, your package.json or another packages? [06:10] devaholic: it doesnt seem right to have to open it with file system [06:10] devaholic: mine [06:10] tmpvar: s/packages/package's [06:11] tmpvar: sec [06:11] socketio\test\00 has joined the channel [06:11] tmpvar: https://github.com/tmpvar/jsdom/blob/master/lib/jsdom.js#L3 [06:11] devaholic: lol >.< [06:11] Nizam has joined the channel [06:12] mynyml has joined the channel [06:12] devaholic: doesnt the core READ package.json to extract the main param out of it? [06:12] kbni has joined the channel [06:12] devaholic: it has to have already accessed that file [06:12] devaholic: ...zz [06:12] tmpvar: nah, npm works with the package.json [06:12] tmpvar: node just loads stuff up via require() [06:12] devaholic: node does too if it is present, because you can set your index via main param [06:13] devaholic: so i know node is reading it, just dont know how to get it from node [06:13] tmpvar: that is just how npm installs the package :) [06:13] devaholic: npm uses it much more extensively [06:13] mraleph2 has joined the channel [06:13] devaholic: look at this [06:13] devaholic: http://nodejs.org/docs/latest/api/all.html [06:13] devaholic: err [06:14] devaholic: search package.json [06:14] devaholic: first instance. [06:14] devaholic: node is reading it... but maybe its just using fs too [06:14] tmpvar: doh [06:14] tmpvar: sorry, for the misinformation [06:14] devaholic: just seems bad to have to fs it in [06:15] devaholic: no no, what you said is perfectly an answer to the problem [06:15] JasonSmith has joined the channel [06:15] KingJamool has joined the channel [06:15] devaholic: just looking for another answer... [06:16] isaacs has joined the channel [06:17] tmpvar: devaholic, https://github.com/joyent/node/blob/master/lib/module.js#L96 [06:17] tmpvar: looks like packageCache is never exposed though [06:17] amerine has joined the channel [06:18] adrianmg has left the channel [06:18] devaholic: ah.. damn [06:18] devaholic: thanks tmpvar [06:18] devaholic: that is what i was looking for [06:18] devaholic: tmpvar ++ [06:22] unlink has joined the channel [06:22] unlink has joined the channel [06:26] devaholic has joined the channel [06:26] devaholic: tmpvar could u relink me to that jsdom file lol, power just went out for a minute and i lost it >.< [06:27] tmpvar: https://github.com/tmpvar/jsdom/blob/master/lib/jsdom.js#L3 [06:27] devaholic: thanks man [06:27] tmpvar: you probably want to slap a format on there though [06:27] devaholic: its a better line than the one ive got atm [06:27] tmpvar: speaking of power.. I'm watching the lightning roll in [06:27] devaholic: storms in the midwest... [06:27] tmpvar: sw here [06:28] unomi has joined the channel [06:28] devaholic: im not sure how it managed to kill my laptop when i have a battery.. it must have been a surge [06:29] Radziu: hi ppl! can anyone tell me why the first Interval doesn't want to work here: http://pastebin.com/r3Luun98 ? [06:30] liar has joined the channel [06:31] e6nian has joined the channel [06:31] JasonSmith has joined the channel [06:32] tmpvar: Radziu, the signature for setInterval is setInterval(function, integer) [06:32] sreeix_ has joined the channel [06:33] sreeix has joined the channel [06:35] seivan has joined the channel [06:35] Radziu: tmpvar: yup, I know [06:36] Radziu: client.send isn't considered a function? [06:36] vipaca has joined the channel [06:36] vipaca has joined the channel [06:36] devaholic: hmm.. yeah.. json.parse is failing [06:37] mikedeboer has joined the channel [06:37] tmpvar: devaholic, i'd try adding an encoding [06:38] tmpvar: and making sure your json is sane ;) [06:38] gozala has joined the channel [06:38] tmpvar: Radziu, how do you know this is not working? [06:38] Radziu: no data is sent [06:38] Radziu: there is no error [06:38] mikenel has left the channel [06:39] Radziu: but there is no datagram either [06:39] Radziu: the 2nd works fine [06:39] `3rdEden has joined the channel [06:40] devaholic: json looks fine, npm is reading it [06:40] febits has joined the channel [06:41] alexn has joined the channel [06:44] Kuntau has joined the channel [06:44] level09 has joined the channel [06:45] k0ral has joined the channel [06:46] hellp has joined the channel [06:48] Xeon06_ has joined the channel [06:51] sreeix_ has joined the channel [06:53] hkjels: When running node as root, it won't load npm modules. Any ideas? [06:53] hkjels: I can run both node and npm just fine separately as sudo [06:54] Xeon06_ has joined the channel [06:56] pen has joined the channel [06:56] sandstrom has joined the channel [06:56] sandstrom has joined the channel [06:56] zomgbie has joined the channel [06:57] davidbanham: Is it just me or is it impossible to find pricing information on Joyent's site? [06:57] fille has joined the channel [06:57] fille: hello [06:57] JasonSmith has joined the channel [06:59] JKarsrud has joined the channel [06:59] jakehow has joined the channel [06:59] jbpros has joined the channel [07:01] Croms has joined the channel [07:02] aliemmo has joined the channel [07:02] Croms_ has joined the channel [07:03] devaholic: hnnnnnnnng [07:03] devaholic: -> convert to utf without BOM [07:06] saschagehlich has joined the channel [07:06] TomY has joined the channel [07:07] hkjels: sudo NODE_PATH=/usr/local/lib/node node ./server [07:07] hkjels: worked [07:07] gozala has joined the channel [07:07] hkjels: but putting that path into PATH or NODE_PATH of my .bashrc does not [07:08] Xeon06_ has joined the channel [07:08] nerdfiles has joined the channel [07:09] fangel has joined the channel [07:09] tuxcanfly has joined the channel [07:10] mhauri has joined the channel [07:10] mkopras has joined the channel [07:10] mehlah has joined the channel [07:12] nail_: hkjels: you need to "export NODE_PATH=..." , not just "NODE_PATH=..." [07:12] hkjels: done that [07:13] StepanKuzmin has joined the channel [07:13] hkjels: or, that is what I have done in my bashrc [07:13] nail_: whose .bashrc did you put that in? [07:13] nail_: the user you run sudo as ? [07:13] hkjels: my own. [07:14] hkjels: Should be sourced as sudoer [07:14] larsvegas has joined the channel [07:14] hkjels: my path is atleast there [07:14] hkjels: I can try an echo [07:14] hkjels: one sec [07:14] nail_: try sudo -i [07:14] zemanel has joined the channel [07:15] dragnl0rd: anyone here use linode for their nodejs apps? [07:15] dragnl0rd: to host their apps, I mean [07:16] Lorentz: dragnl0rd: I am about to soon [07:16] hkjels: sudo echo $NODE_PATH atleast works [07:17] Lorentz: At least, once I get another account for my personal use, and put my irc bot on it. [07:17] dragnl0rd: bah. I'm trying to figure out why I'm getting permission denied errors when I try to have my server listen to the lower ports (such as port 80) [07:17] nail_: hkjels: but $NODE_PATH is interpolated by your current shell in that case [07:17] tdegrunt has joined the channel [07:17] hkjels: k [07:17] Lorentz: dragnl0rd: ports lower than 1024 need root permission. [07:17] Lorentz: to open. [07:17] nail_: hkjels: have you tried sudo -i node foo.js? [07:17] nail_: err [07:18] nail_: disregard that comment [07:18] hkjels: yeah, fails [07:18] dragnl0rd: so I'd have to do something like sudo node index.js? [07:18] hkjels: hmm [07:18] Xeon06_ has joined the channel [07:18] euforic has joined the channel [07:18] cosmincx has joined the channel [07:18] Lorentz: Either that, or if you like some peace of mind, use nginx or such to reverse proxy on port 80. [07:19] nail_: hkjels: sorry, that was sudo -E [07:19] nail_: (supposing NODE_PATH is already exported in your environment) [07:21] kmox83 has joined the channel [07:22] hkjels: I don't get it. PATH is exported, but not NODE_PATH [07:22] djcoin has joined the channel [07:23] cchristiansen has joined the channel [07:24] nail_: weird, see FOO=foo sudo sh -c 'echo $FOO' vs. FOO=foo sudo -E sh -c 'echo $FOO' [07:24] nail_: the latter echoes it correctly [07:25] ablomen has joined the channel [07:26] sreeix has joined the channel [07:27] elijah has joined the channel [07:30] hkjels: nail_: My bad. That works [07:30] hkjels: thank you [07:32] kbni has joined the channel [07:35] nail_: welcome :) [07:37] nerdfiles has joined the channel [07:37] [AD]Turbo has joined the channel [07:38] gausby has joined the channel [07:38] Xeon06_ has joined the channel [07:39] Kingdutch has joined the channel [07:40] simenbrekken has joined the channel [07:40] adelgado has joined the channel [07:41] daglees has joined the channel [07:43] groom has joined the channel [07:43] topaxi has joined the channel [07:44] Xeon06_ has joined the channel [07:45] hassox has joined the channel [07:45] tbassetto has joined the channel [07:46] radiodario has joined the channel [07:47] StepanKuzmin has joined the channel [07:49] ryanj has joined the channel [07:50] Xeon06_ has joined the channel [07:53] fly-away has joined the channel [07:53] jetienne_ has joined the channel [07:54] steffkes has joined the channel [07:55] hwinkel has joined the channel [07:57] mikedeboer has joined the channel [08:00] adambeynon has joined the channel [08:01] Vertice has joined the channel [08:01] wilmoore has joined the channel [08:01] sreeix has joined the channel [08:02] kmox83 has joined the channel [08:03] mhausenblas has joined the channel [08:03] Druide_ has joined the channel [08:04] bergie has joined the channel [08:04] davidbanham has joined the channel [08:06] dnjaramba has joined the channel [08:07] pickels has joined the channel [08:07] dexter_e has joined the channel [08:07] dnjaramba has joined the channel [08:08] Xeon06_ has joined the channel [08:10] febits has joined the channel [08:10] dnjaramba has joined the channel [08:10] sriramk has joined the channel [08:13] dnjaramba has joined the channel [08:14] Xeon06_ has joined the channel [08:15] syst3mw0rm has joined the channel [08:15] Esteb has joined the channel [08:15] dnjaramba has joined the channel [08:18] dnjaramba has joined the channel [08:18] Bj_o_rn has joined the channel [08:18] Bj_o_rn has left the channel [08:21] dnjaramba has joined the channel [08:22] nerdfiles has left the channel [08:23] dnjaramba has joined the channel [08:25] dnjaramba has joined the channel [08:26] zomgbie has joined the channel [08:26] Talon_ has joined the channel [08:26] cip13 has joined the channel [08:27] Talon_: what browser does the demo chat thing work in? [08:27] Talon_: I've tried ie 8, firefox, chrome, and opera.. all continue to tell me long poll error. trying again. [08:28] tuhoojabotti: Talon_: I guess it's broken then. [08:28] tuhoojabotti: Talon_: you mean the nodejs.org homepage chat demo thingy? [08:28] Talon_: yes [08:28] necrodearia has joined the channel [08:29] tuhoojabotti: Yeah [08:29] tuhoojabotti: broken [08:29] tuhoojabotti: ryah: Fix the demo! :P [08:29] cip13 has left the channel [08:29] tuhoojabotti: Now it's offline [08:30] seivan has joined the channel [08:30] larsvegas has joined the channel [08:30] Talon_: Any decent tutorials? I just installed node.js on debian squeeze 64bit and it seems to be working alright with the simple demos on the main site, I'd like to definately learn more and play around with it. [08:31] tuhoojabotti: Talon_: I tried the http demo, then I just built my server on top of it. :D [08:31] fille: hello! [08:31] tuhoojabotti: fille: Hej [08:32] tuhoojabotti: Now it's giving error again [08:32] arnee has joined the channel [08:33] PierreM_: Talon_: look at this http://nodebeginner.org/ [08:34] fille: tuhoojabotti wondering wondering about javascripts coupling and Cohesion [08:34] tuhoojabotti: I don't find it a very good idea to read stuff from books :P [08:34] tuhoojabotti: especially when they thing that it's about is in rapid development :P [08:36] tuhoojabotti: "There are some really excellent JavaScript people out there. I'm not one of them." Excellent start for the book. :P [08:36] fille: start with socket.io [08:37] daithi44 has joined the channel [08:38] paul_k has joined the channel [08:43] ab_ has joined the channel [08:43] jomoho has joined the channel [08:43] ab_: hi all [08:44] tuhoojabotti: ab_: Hello [08:44] shapeshed has joined the channel [08:44] Guest17007: I have some trouble with node / npm /zombie [08:44] Shrink has joined the channel [08:44] Guest17007: I installed node / npm on a debian [08:44] Guest17007: I install some npm package (like zombie.js) [08:45] Guest17007: but I cannot use them in my script [08:45] Guest17007: I always have 'Cannot find module' [08:45] JKarsrud: how did you install it? [08:45] Guest17007: npm install zombie [08:45] Guest17007: and "npm ls" give me my package [08:45] JKarsrud: and did you do npm install -d afterwards ? [08:45] Guest17007: nop [08:46] JKarsrud: to install package dependencies :) [08:46] jetienne_: Guest17007: give npm and node version [08:46] JKarsrud: I bet it depends on some other stuff aswell [08:46] jetienne_: Guest17007: you got them from .deb ? [08:46] Guest17007: npm is 1.0.15, node is 0.4.10-pre [08:47] Guest17007: node was compiled from source [08:47] CoinOpeBoy has joined the channel [08:47] Guest17007: and npm with "curl http://npmjs.org/install.sh | sh" [08:47] Talon_: ah, I just got v0.4.9 from the sid repos [08:48] jetienne_: Talon_: this is the last stable [08:48] JKarsrud: Guest17007: did you try to install the dependencies? [08:48] markwubben has joined the channel [08:49] Guest17007: I juste executed "npm install -d zombie" it works (the install) but no the script [08:49] Talon_: this is pretty sweet, i wonder if it'll ever go mainstream like perl or php. I'd love to have my hosting provider offer node.js, it's actually pretty fun :) [08:51] Murvin has joined the channel [08:51] _aron has joined the channel [08:51] dragnl0rd: as a php dev, I can tell you that me and just about every php dev I know are looking at it like it's a shiny new piece of candy [08:52] Murvin: dragnl0rd: yes.. it is. [08:52] zemanel has joined the channel [08:52] blup has joined the channel [08:52] fille: its even little bit more statefull [08:52] dragnl0rd: in other news... anyone familiar with socket.io around? I'm trying to figure out where/how it does the translation from the socket.io/socket.io.js reference in the example chat html to the actual transport layer it requires [08:53] dragnl0rd: I keep getting lost trying to find where that happens [08:53] Murvin: and I can say taht, after I use mongo and node for few months, I totally regret on a project I did half a year ago that using php and mysql. lol [08:53] mamund_ has joined the channel [08:53] Guest17007: I am using php/mongo, its quite good [08:54] Guest17007: anyway, does somebody as a solution for my npm package stuff ? [08:54] Murvin: dragnl0rd: i saw there are lots of post about socket.io in the mailing list.. you should join. [08:54] Murvin: what is your npm package stuff? [08:55] Murvin: Guest17007: what's the problem? [08:55] Guest17007: i installed zombie (or any other package) with npm but I cannot include them [08:55] arnee has joined the channel [08:55] Guest17007: it always tell me cannot find module 'zombie' [08:56] Guest17007: ) [08:56] tuhoojabotti: http://digitizor.com/2011/07/10/google-plus-disk-space-spam/ hehe [08:56] Guest17007: (at require('module_name') [08:56] jacter has joined the channel [08:56] Talon_: lol dragnl0rd, I'm a die hard perl fan, I'm so used to it, trying to do things in php just irritate me so I gave up, even simple little things like inline arrays aren't in php. I just felt it wasn't worth the transition so I gave up. [08:56] StepanKuzmin has joined the channel [08:56] blkcat: Talon++ # perl [08:57] deoxxa: $talon_is_wrong = array("herp", "derp", "there are so inline arrays"); [08:57] Murvin: Guest17007: which npm version u have? [08:57] deoxxa: (array() is a language construct, not a function) [08:57] Guest17007: 1.0.15 [08:58] Talon_: so, you can do array(1,2,3)[0] then ? [08:58] Murvin: did you install like this? sudo npm install express [08:58] gozala has joined the channel [08:58] asabil has joined the channel [08:58] Murvin: if the package u want to install is "express" [08:58] Guest17007: yes [08:58] deoxxa: no, but you can do: 1 [08:58] Guest17007: i was under root [08:58] Murvin: what OS? [08:58] Guest17007: debian [08:58] Murvin: hmmm [08:58] Guest17007: but also as simple user (in another VM) [08:58] deoxxa: also you could do array_shift(array(1,2,3)), but that's silly [08:59] Murvin: after you install, you should see the package in node_module folder. did you see the package? [08:59] Murvin: by the way, did you use -g flag? if you use that, it only runs in command line. [08:59] Murvin: so don't use it. [08:59] mc_greeny has joined the channel [09:00] Guest17007: yes I see them, and no, I didnt use -g [09:01] Murvin: hmmm have u restarted? [09:01] Guest17007: no [09:01] Guest17007: I should ? [09:01] mikl has joined the channel [09:01] mikl has joined the channel [09:01] deoxxa: what are my options for client-side http caching in node? i want to reduce the number of calls i make to some remote hosts during testing and such. [09:02] Murvin: it happened to my coworker before, but in Ubuntu and VMware. it shouldn't require to restart, but you can try [09:02] Xeon06_ has joined the channel [09:02] Guest17007: ok I will do it [09:02] meso has joined the channel [09:02] Murvin: OH.. Guest17007.. look at this link [09:02] Murvin: https://github.com/isaacs/npm/issues/107 [09:03] Murvin: it may be different path link in debian from what NPM look forl. [09:03] Murvin: for [09:03] Guest17007: fuck fuck fuck and re fuck with node js [09:03] bzinger has joined the channel [09:03] Guest17007: always trouble [09:04] Guest17007: in windows/cygwin a nightmare, ubuntu lot of bugs, debian specific stuff [09:04] Murvin: no need to fuck. lol. it is still young. lol [09:04] jetienne: Guest17007: you may try nmod, a node_modules installer [09:04] jetienne_ has joined the channel [09:04] Guest17007: ok I will try with the linked stuff murvin or try nmode jetienne [09:04] jetienne: Guest17007: single node script [09:05] Guest17007: thanks all [09:05] Murvin: Guest17007: please look at what isaacs suggest. I think it will work. [09:05] dragnl0rd: fyi... there are nodejs binaries for windows that don't require cygwin [09:06] fyskij has joined the channel [09:06] jetienne: about that, what is the status of node on window ? [09:06] dragnl0rd: fairly decent. [09:06] jetienne: hehe [09:06] Murvin: and sooner, node will have window version. [09:06] dragnl0rd: I'm using node 0.4.8 via windows command line [09:06] dragnl0rd: no cygwin at all [09:06] arnee has joined the channel [09:06] jetienne: ryah was working on window support last month [09:07] dragnl0rd: or rather, with precompiled cygwin [09:07] dragnl0rd: here: http://www.rafaljonca.org/d/nodejs-windows [09:07] Guest17007: ok but doest is support package ? [09:07] dragnl0rd: npm? [09:07] Guest17007: yes ? [09:07] dragnl0rd: in a wierd way, yes. [09:07] Guest17007: like zombie, jsdom [09:07] Guest17007: ok I will try also [09:08] dragnl0rd: I've set up projects pulling down socket.io, express, and mustache [09:08] jetienne: Guest17007: jsdom is quite slow [09:09] Murvin: here is the roadmap for v5 http://nodejs.org/nodeconf.pdf [09:10] jetienne: so window will be supported by fall, cool :) [09:12] Xeon06_ has joined the channel [09:14] simenbrekken has joined the channel [09:14] jvduf has joined the channel [09:15] dragnl0rd: that will certainly make various aspects of development easier. [09:15] dragnl0rd: for those of us primarily using windows. [09:15] Talon_: deoxxa: I've been trying to utilize an inline array and it is NOT working :/ [09:17] kulor-uk has joined the channel [09:19] thalll has joined the channel [09:19] enr^ has joined the channel [09:20] mike5w3c_ has joined the channel [09:22] jetienne: q. how to test if a module is the main script ? [09:22] jetienne: like "node slota.js" i want to know that slota.js is the main script and not one which is require('slota') [09:22] jetienne: not sur to be clear [09:23] larsvegas has joined the channel [09:23] pTa_armi has joined the channel [09:25] reenignEesreveR has joined the channel [09:27] guidocalvano has joined the channel [09:27] prettyrobots has joined the channel [09:29] jetienne: http://nodejs.org/docs/v0.5.0/api/modules.html#accessing_the_main_module is the answer [09:29] jetienne: the title isnt too obvious but this is it [09:30] webben has joined the channel [09:31] Zelest_ has joined the channel [09:31] Melkor___ has joined the channel [09:31] rodasc has joined the channel [09:31] descipher_ has joined the channel [09:32] toxico has joined the channel [09:32] hwinkel1 has joined the channel [09:32] Xeon06__ has joined the channel [09:32] kawaz has joined the channel [09:33] igl1 has joined the channel [09:33] hide_ has joined the channel [09:33] seivan_ has joined the channel [09:34] phiggins_ has joined the channel [09:34] azend_ has joined the channel [09:34] rphillips_ has joined the channel [09:34] aliemmo has joined the channel [09:34] sgentle has joined the channel [09:35] apoc_ has joined the channel [09:35] pdonald` has joined the channel [09:35] slaskis_ has joined the channel [09:35] duckspea1er has joined the channel [09:35] wao_ has joined the channel [09:35] temp02 has joined the channel [09:35] [tm]_ has joined the channel [09:36] unlink_ has joined the channel [09:36] guidocalvano: how do I turn of the visit nodejs.org message? [09:36] SubStack_ has joined the channel [09:36] guidocalvano: and do that specifically for this room [09:36] guidocalvano: it keeps on popping up [09:36] ec|fkn_a1ay_nick has joined the channel [09:36] jetienne: guidocalvano: ? nothing happen here [09:36] eldios has joined the channel [09:36] jacter has joined the channel [09:37] jetienne: i mean not once, so it may be your irc client [09:37] boaz- has joined the channel [09:37] jetienne has left the channel [09:37] guidocalvano: well I keep getting this message from channel server [09:37] jetienne has joined the channel [09:37] jetienne: [11:37] [Notice] -ChanServ- [#node.js] Visit the wiki page https://github.com/joyent/node/wiki oh this [09:37] wunder has joined the channel [09:37] guidocalvano: yes [09:37] jonaslund has joined the channel [09:37] guidocalvano: quite annoying [09:37] jetienne: guidocalvano: this is a message sent by the irc server. it is suppposed to be sent only once on join [09:38] dragnl0rd: yeah, I got it once on connection. [09:38] jetienne: guidocalvano: you can ignore it. there is a function for that in most irc clients. [09:38] jetienne: guidocalvano: it depends on your irc client [09:38] dragnl0rd: yay mIRC! [09:38] guidocalvano: I can ignore all notifications [09:38] markeeto has joined the channel [09:38] tom-j has joined the channel [09:38] jetienne: guidocalvano: so ignore this one :) [09:38] Kingdutch: boo mIRC [09:38] Kingdutch: :X [09:39] dragnl0rd: it's the only one I've ever known... [09:39] tmedema has joined the channel [09:39] yoav2 has joined the channel [09:39] Kingdutch: irssi, x-chat, mIRC, telnet [09:39] doki_pen` has joined the channel [09:39] gozala1 has joined the channel [09:39] Kingdutch: Telnet is especially great [09:39] tuhoojabotti: IRSSI<3 [09:39] kersny|a` has joined the channel [09:39] jetienne: super lets stay on topic if possible [09:39] guidocalvano: I'm on mac [09:39] omni5cience__ has joined the channel [09:40] tmedema: I'm getting "TypeError: Object # has no method '_read'" when I try to write data to stdin of a ffmpeg child process, see https://gist.github.com/1075614 - anyone has a clue what might cause this? [09:40] Kingdutch: I've even used Node.js as an IRC client [09:40] Kingdutch: jetienne: There's no topic :O and if anyone has a #node.js question that can just ask >.> [09:40] apoc_ has joined the channel [09:40] elek has joined the channel [09:40] willwhite has joined the channel [09:40] nibblebot has joined the channel [09:40] tom-j: ahh [09:40] jtrally has joined the channel [09:40] nerdfiles has joined the channel [09:40] Kingdutch: ACTION giggles at the netsplit [09:41] jameshome has joined the channel [09:41] tmedema: test [09:41] Vertice has joined the channel [09:41] lukegalea has joined the channel [09:41] fyskij has joined the channel [09:41] shapeshed has joined the channel [09:42] tmedema has joined the channel [09:43] tmedema: I'm getting "TypeError: Object # has no method '_read'" when I try to write data to stdin of a ffmpeg child process, see https://gist.github.com/1075614 - anyone has a clue what might cause this? [09:43] Radziu: http://pastebin.com/r3Luun98 - anyone has a clue why the 1st refuses to work? [09:43] Radziu: there is no error message [09:44] Radziu: simply the packets don;t get send with the 1st interval [09:44] jetienne: tmedema: try pushing it to /dev/null zand see if it changes [09:44] mif86 has joined the channel [09:44] deoxxa has joined the channel [09:44] fly-away has joined the channel [09:44] devaholic: not used those packages radziu [09:44] jetienne: setInterval(client.send, 1000, Buffer('hello'), 0, 5, 10000, '127.0.0.1') <- the bug is client.send [09:45] omni5cience_ has joined the channel [09:45] jetienne: wait [09:45] ivan has joined the channel [09:45] tmedema: jetienne: hmm, what do you mean exactly? with ffmpeg or node? [09:45] Radziu: jetienne: my question is why [09:45] Radziu: isn't it a function? [09:45] anatoo has joined the channel [09:45] jetienne: tmedema: instead of ffmpeg [09:45] chunhao has joined the channel [09:45] marlun has joined the channel [09:45] marlun has joined the channel [09:45] dscape has joined the channel [09:46] jetienne: Radziu: put function(){ client.send() } as first parameter instead [09:46] dscape has joined the channel [09:46] thorsteinsson has joined the channel [09:46] zilch has joined the channel [09:46] Guest46286 has joined the channel [09:46] Eleph has joined the channel [09:46] jetienne: Radziu: http://howtonode.org/what-is-this read this after to understand why it failed [09:47] gazler has joined the channel [09:47] tanepiper has joined the channel [09:47] niftylettuce has joined the channel [09:47] cosmincx has joined the channel [09:47] cha0s has joined the channel [09:47] cha0s has joined the channel [09:47] mikeycgto has joined the channel [09:47] zivester has joined the channel [09:47] joeytwiddle has joined the channel [09:48] Slashbunny has joined the channel [09:48] Radziu: jetienne: it doesn't work cause client.send needs parameters [09:49] jetienne: Radziu: then client.send(param, param param ) [09:49] Radziu: i will read now that page u posted link to [09:49] Radziu: jetienne: yup, i know, the same I did with callback ^^ [09:49] deoxxa: so, client side http caching? is there a commonly used module for this? [09:49] jetienne: Radziu: well try again:) it works [09:49] jetienne: deoxxa: i think there is one in connect [09:50] deoxxa: not responses, requests [09:50] bradwright has joined the channel [09:50] deoxxa: i want to cache the results of a bunch of http requests to remote hosts [09:50] jetienne: https://github.com/senchalabs/connect/wiki [09:50] deoxxa: just wondering if i'm going to need to implement application level logic for that or if there's something readily available already [09:51] jetienne: deoxxa: i dont understand what you mean [09:51] Sebastien-L has joined the channel [09:52] deoxxa: well, i'm making a lot of requests out to remote hosts for some api calls [09:52] deoxxa: i'd like to cache the responses during testing to avoid overloading those hosts [09:55] daleharvey has joined the channel [09:56] reenignEesreveR has joined the channel [09:56] dexter_e has joined the channel [09:57] random123: Can anyone recommend a good templating for Node? [09:57] random123: I don't like jade/haml [09:57] random123: or weld [09:59] mAritz has joined the channel [09:59] jetienne: random123: i use ejs [09:59] micheil has joined the channel [10:04] Xeon06_ has joined the channel [10:04] meso_ has joined the channel [10:05] yokoaway has joined the channel [10:07] ditesh|cassini has joined the channel [10:10] kbni has joined the channel [10:10] Xeon06_ has joined the channel [10:10] random123: That stupid EJS doesn't even work right [10:11] deoxxa: lol? [10:11] deoxxa: mighty big words to be throwing around [10:11] deoxxa: i hope you have some test cases and reported bugs to back that up with [10:11] tuhoojabotti: Lol the stupid code I wrote isn't working. [10:11] tuhoojabotti: hihi [10:12] random123: Wouldn't this run? [10:12] random123: http://pastebin.com/FfQZFvg2 [10:12] random123: All the file has in it is some HTML [10:13] deoxxa: lol! [10:13] deoxxa: nice synchronous IO [10:13] random123: It works fine [10:13] deoxxa: oh wait, no it's not [10:13] deoxxa: my bad [10:13] tuhoojabotti: luls [10:14] deoxxa: i had "this guy is an idiot" at the forefront of my mind, made me quick to judge [10:14] random123: the var "data" gets filled with the contents of the file, I tested and its working fine, however when I call ejs.render(data); I get this http://pastebin.com/ePTUaNUM [10:15] random123: and EJS error [10:15] saqi has joined the channel [10:15] random123: The contents of the file is simply "Hello..." [10:15] saurabhverma has joined the channel [10:15] deoxxa: oob sounds like an out of bounds error [10:15] deoxxa: is that how the documentation says to use EJS? [10:18] Xeon06_ has joined the channel [10:19] random123: How is Apaches performance for reverse ajax, is it really that bad? [10:20] sreeix has joined the channel [10:20] Kingdutch: Sidenote: reverse ajax? [10:20] random123: Uh ya.. [10:20] zilch: I read somebody saying that if there is more than 2-3 nested callback function calls, it is time to start events/event emitters as part of programm flow ... is it right [10:20] zilch: ? [10:21] Radziu has left the channel [10:22] ChristW has joined the channel [10:23] ChristW: I get an 'Error: Parse Error' using an http request. Strange thing is, is that I don't see the request being made in my server logs. [10:23] ChristW: What can I do to debug this? [10:24] e6nian: exit [10:24] Xeon06_ has joined the channel [10:25] random123: Well, I don't think this EJS is working out at all, anyone recommend a good template engine or do you guys just free ball it or what? [10:26] jbpros has joined the channel [10:28] sreeix_ has joined the channel [10:28] sreeix_ has joined the channel [10:32] jimmyrcom has joined the channel [10:35] dall has joined the channel [10:35] dall: hello [10:35] dall: i'm using http.request to send POST request to a .php page [10:35] dall: my question is... how could i send key=value ? [10:35] rurufufuss has joined the channel [10:36] dall: i have to pass them like GET request? &key1=value1&key2=value2 [10:36] dall: ? [10:37] xfigue has left the channel [10:40] ChristW: dall: It seems like you need to push them to the server as 'req.write("key1=value1&key2=value2")' [10:40] fermion has joined the channel [10:40] Xeon06_ has joined the channel [10:40] ChristW: (assuming req is the http client request object that you created). [10:40] jonasen has joined the channel [10:41] TurboAWAY has joined the channel [10:41] ChristW: Also, I found the solution to my own problem. When you POST to an HTTPS host, you need to 'require("https")' and use _that_ object. Also, specify port 443 in the request. [10:41] dall: ChristW, ? [10:41] dall: what? i don't understand [10:42] dall: i'm usin http.Request... [10:42] ChristW: dall: What part don't you understand? [10:42] dall: i have to send some values and get the response [10:42] ChristW: dall: You do 'xxx = http.Request(...)', correct? [10:42] bnoordhuis has joined the channel [10:43] dall: right [10:43] ChristW: Then, you do 'xxx.write("key1=value1&key2=value2");' to get the values to the server. [10:44] dall: could i do [10:44] dall: xxx.end() [10:44] dall: ? [10:44] dall: or [10:44] dall: write() close automatically ? [10:44] ChristW: No, you'll need xxx.end() after the write. [10:44] ChristW: There may be more values to write to the server. [10:45] dall: ChristW, ok but if i write "key1=value1&key2=value" [10:45] [AD]Turbo has joined the channel [10:45] dall: the php page could get the values like $_POST['key1'] [10:45] dall: right? [10:45] AAA_awright_ has joined the channel [10:46] ChristW: Yes, that doesn't change. [10:46] dall: $_POST['key1'] $_POST['key2'] ecc ecc [10:46] dall: perfect! [10:46] dall: ChristW, thank you! [10:47] ChristW: dall: No problem, I've only found this out like 10 minutes ago, as well ;-) [10:47] dall: :) [10:47] Kingdutch: Woa [10:47] dall: because it's "streage" [10:47] dall: i looked at node.js api [10:47] Kingdutch: What Node.Js framework emulates PHP's way of $_POST? [10:47] Kingdutch: O.o [10:48] dall: and i saw req.write(data) [10:48] Kingdutch: That's just ... *shudder* [10:48] dall: what i didn't understand how the server could get this value [10:48] dall: ok [10:48] ChristW: Yes, it's ugly as hell... [10:48] tmedema: A writable stream is also a readable stream, correct? [10:48] sounko has joined the channel [10:48] dall: Kingdutch, we are talking about how to send "parameters" using http.Request (post method) [10:49] dall: key = value [10:49] dall: like a GET request [10:49] dall: but for POST request [10:49] Kingdutch: Ooh right [10:49] Kingdutch: Yeah [10:49] Kingdutch: Just change the metohd [10:49] Kingdutch: That's all that changes [10:49] Kingdutch: GET /index.html would become POST /index.html if you're doing the raw requests [10:49] dall: i have to pass some info to the server [10:49] dall: Kingdutch, this is a simple request [10:50] dall: i have to send data to the server [10:50] dall: it's a php page that have to get the value i set using $_POST['key1'] ecc ecc [10:51] Kingdutch: Yeh right [10:51] Kingdutch: So just change the method [10:51] Kingdutch: The way you assign key/value pairs doesn't chagne [10:51] Kingdutch: change* [10:53] sounko: hi node crew [10:53] tuhoojabotti: Hello sounko [10:53] bnoordhuis: tmedema: no [10:53] sounko: how's it 'angin' mate [10:53] tuhoojabotti: sounko: What's that? [10:54] sounko: nothin [10:54] tuhoojabotti: :D [10:54] Xeon06_ has joined the channel [10:54] tuhoojabotti: Ah british [10:54] tuhoojabotti: No [10:54] tuhoojabotti: au [10:54] tuhoojabotti: Australian then? [10:54] sounko: yeah, we don't actually speak like that though [10:55] tuhoojabotti: Good. [10:55] Kuntau has joined the channel [10:55] bnoordhuis: dall: take a look at querystring.escape() [10:56] materialdesigner has joined the channel [10:58] Xeon06_ has joined the channel [11:01] kakamba has joined the channel [11:02] Xeon06_ has joined the channel [11:05] gozala has joined the channel [11:06] dall: bnoordhuis, querystring escape? [11:07] bnoordhuis: dall: to encode the post request body, assuming you're sending application/x-www-form-urlencoded [11:07] mikl has joined the channel [11:07] mikl has joined the channel [11:08] Xeon06_ has joined the channel [11:08] jbpros has joined the channel [11:09] bzinger has joined the channel [11:12] brianseeders has joined the channel [11:17] StepanKuzmin has joined the channel [11:20] Xeon06_ has joined the channel [11:20] industrial has joined the channel [11:20] bpierre has joined the channel [11:21] Tobbe has joined the channel [11:21] boehm has joined the channel [11:21] okuryu has joined the channel [11:22] temp01 has joined the channel [11:22] Skola has joined the channel [11:22] deoxxa: sounko: oh how i wish that was true [11:23] sounko: oh we use slang [11:23] deoxxa: i meet all too many people who fit that exactly stereotype [11:23] deoxxa: or should i say, i see all too many people [11:23] deoxxa: makes me kind of happy nobody ever picks me for australian, i must be doing something right [11:23] alexn: so, anyone using node on windows yet? [11:24] sounko: i milk it sometimes [11:24] robi42 has joined the channel [11:24] jetienne has joined the channel [11:24] deoxxa: i do when it's appropriate [11:24] sounko: alexn: not "using" but i have messed around with it on windows [11:24] alexn: without cygwin? [11:25] sounko: i just copied it to another directory to work on the required dll's [11:25] sounko: then you can use however you want [11:25] deoxxa: in japan it's pretty good to be known as australian, they like us there :3 [11:25] deoxxa: indonesia, not so much :( [11:25] sounko: i used it as a process in a c# app [11:26] Lorentz: Hmm hmm, new linode account [11:26] Lorentz: Time to set it up [11:26] sounko: (there's only like 6 dll's, then i deleted cygwin) [11:26] alexn: sounko interesting [11:26] sounko: http://www.sounko.com/node.zip [11:27] sounko: if you want 0.4.9 or whatever [11:32] sgimeno has joined the channel [11:32] xandrews has joined the channel [11:35] alexn: nice, trying it out in a moment [11:36] bergie_ has joined the channel [11:39] dall: guys i have a many a number with decimals how can i cut it with only 4 decimals [11:39] dall: ? [11:41] theCole has joined the channel [11:42] alexn: dall num.toFixed(4) [11:42] Xeon06_ has joined the channel [11:43] dall: ok [11:45] mAritz has joined the channel [11:47] TechCel has joined the channel [11:50] industrial: I can't start cloud9 [11:50] FireFly has joined the channel [11:50] industrial: sudo npm install -g cloud9;cloud9; [11:50] industrial: TypeError: Object # has no method 'main' at Object. (/usr/local/lib/node_modules/cloud9/bin/cloud9.js:42:19) [11:51] industrial: Anyone else have this problem? [11:52] herbySk has joined the channel [11:53] Tobbe: I was looking for some tutorials on node.js and found this: http://net.tutsplus.com/tutorials/javascript-ajax/learning-serverside-javascript-with-node-js/ But it seems to use a lot of old things that doesn't exist in newer APIs. So I tried to update it to run on 0.4.9. [11:53] Tobbe: This is what I've got: http://paste2.org/p/1514057 This is the warning I get: http://paste2.org/p/1514062 Why do I get that warning? Should I worry about it? [11:54] Tobbe: This is the html page I use to connect to the server: http://paste2.org/p/1514064 [11:56] thalll has joined the channel [11:57] theCole has joined the channel [11:59] seawise has joined the channel [12:01] bluebit has joined the channel [12:01] Renegade001 has joined the channel [12:01] hwinkel has joined the channel [12:03] sounko has joined the channel [12:07] seawise has joined the channel [12:09] sveisvei has joined the channel [12:10] rfay has joined the channel [12:11] tbassetto has joined the channel [12:13] bluebit has joined the channel [12:13] jetienne has joined the channel [12:13] squeese has joined the channel [12:17] CIA-110: node: 03Ben Noordhuis 07master * r0913014 10/ BSDmakefile : Tell BSD users to run `gmake` instead. - http://bit.ly/qMtKbp [12:19] alex_t has joined the channel [12:20] Hinton has joined the channel [12:22] Xeon06_ has joined the channel [12:22] unomi has joined the channel [12:22] bobdobbs has joined the channel [12:23] eyesUnclouded has joined the channel [12:24] Yoric has joined the channel [12:25] bobdobbs: hi guys. I installed node from github, following the install instructions in the readme... but I didn't notice that master is unstable. Whoops. [12:26] bobdobbs: Looking around, I can't seem to find uninstall directions. [12:26] bobdobbs: Is there some documentation for an uninstall process after I've installed from master? [12:27] guidocalvano_ has joined the channel [12:30] Xeon06_ has joined the channel [12:31] zmbmartin has joined the channel [12:35] Poetro_ has joined the channel [12:35] matbee has joined the channel [12:38] ChristW: Does: DEPTH_ZERO_SELF_SIGNED_CERT mean that I cannot use nodejs to talk to this server? [12:39] unlink has joined the channel [12:39] unlink has joined the channel [12:39] bnoordhuis: ChristW: node supports self-signed certificates [12:40] Xeon06_ has joined the channel [12:40] ChristW: Ok, so far so good then! [12:40] rook2pawn has joined the channel [12:40] tcurdt has joined the channel [12:40] bnoordhuis: bobdobbs: `make uninstall` should remove node again [12:41] tuhoojabotti: make is like the new apt-get [12:42] Mrfloyd has joined the channel [12:42] mehtryx has joined the channel [12:43] erobit has joined the channel [12:45] `3rdEden: ACTION goes like ewwwwwwwwwwwwwwww [12:45] `3rdEden: what happpend to the log [12:45] `3rdEden: o* [12:45] JKarsrud: what logo? [12:47] ianward has joined the channel [12:47] `3rdEden: http://blog.nodejs.org/2011/07/11/evolving-the-node-js-brand/ [12:47] havenn has joined the channel [12:47] ceej has joined the channel [12:47] frodenius has joined the channel [12:47] frodenius has joined the channel [12:48] `3rdEden: I miss that tiny cloud already ;~( [12:50] `3rdEden has joined the channel [12:51] cafesofie has joined the channel [12:51] micheil has joined the channel [12:52] Hinton has joined the channel [12:53] bluebit_ has joined the channel [12:53] keeto has joined the channel [12:55] AaronMT has joined the channel [12:56] kriszyp has joined the channel [12:56] Skola has joined the channel [12:57] ChristW: Do I need to 'require' anything before I can 'JSON.Stringify(obj)'? [12:57] ChristW: I now get: Object # has no method 'Stringify' [12:57] Tobbe: it's "stringify" [12:57] Tobbe: small "s" [12:58] ChristW: Grumble... [12:58] ChristW: I hate the Internet! [12:59] christophsturm has joined the channel [12:59] chjj: christW: the JSON object is native to js, its part of v8, not node specifically [12:59] christophsturm: is 0.5 the right choice for a new project? [13:00] bobdobbs: bnoordhuis: thanks. [13:00] rook2pawn: in my main module i var foo = require(some helper funcs).. i want to iterate through foo s.t. all these helper funcs are available [13:00] thomblake has joined the channel [13:00] rook2pawn: i.e. instead of foo.helper1 i can just call helper1 [13:01] cha0s has joined the channel [13:01] cha0s has joined the channel [13:01] rook2pawn: is there a way to lift out these functions? [13:01] mike5w3c has joined the channel [13:02] andrenkov has joined the channel [13:02] gxdssoft has joined the channel [13:02] andrenkov has left the channel [13:05] DarylM has joined the channel [13:06] narayan82 has joined the channel [13:08] _aron has joined the channel [13:08] Xeon06_ has joined the channel [13:09] philhawksworth has joined the channel [13:09] larsvegas has joined the channel [13:09] philhawksworth has left the channel [13:12] ChristW: Tobbe: chjj: The only reason I said that, was that there are (I presume lots of) examples with .Stringify with a capital S. [13:14] brolin has joined the channel [13:14] Lightdork has joined the channel [13:16] taf2 has joined the channel [13:17] aliem has joined the channel [13:19] JJMalina has joined the channel [13:20] Lorentz has joined the channel [13:20] iaincarsberg has joined the channel [13:20] devongovett has joined the channel [13:22] pastak has joined the channel [13:22] cccaldas has joined the channel [13:22] willwhite has joined the channel [13:22] zomgbie has joined the channel [13:25] mape: the blog with the evolving brand is gone? [13:27] robhawkes has joined the channel [13:28] Xeon06_ has joined the channel [13:29] bobdobbs has left the channel [13:29] Xeon06_ has left the channel [13:30] Misao-chan has joined the channel [13:30] shapeshed has joined the channel [13:32] Misao-chan has joined the channel [13:33] aheckmann has joined the channel [13:35] jbpros has joined the channel [13:36] weezle has joined the channel [13:38] framlin: if nodejs is throwing "Error: ENOTFOUND, Domain name not found" where did it try to look for? [13:38] framlin: where is node looking for the Domain name [13:38] Mrfloyd has joined the channel [13:39] unomi has joined the channel [13:40] sandstrom_ has joined the channel [13:40] sandstrom_ has joined the channel [13:42] jetienne has joined the channel [13:43] jtrally has joined the channel [13:43] AgainstAllOdds has joined the channel [13:44] colinclark has joined the channel [13:44] AgainstAllOdds: hi there [13:44] tuhoojabotti: ryah: Y U not give us logos? [13:44] tuhoojabotti: :P [13:44] tuhoojabotti: removed the blog post [13:45] bradleymeck has joined the channel [13:45] tuhoojabotti: I can remember how it looked and draw it on Paint [13:46] davidsklar has joined the channel [13:46] hybsch has joined the channel [13:47] jetienne: what was that ? [13:48] tuhoojabotti: There were some new logos in the blog, but the post got deleted. [13:48] matbee has joined the channel [13:49] jetienne: ah ok i just got the HN announce :) [13:49] skript has joined the channel [13:49] jetienne: anybody using node-mysql ? i got super poor performances... around 100 insert in 3sec [13:49] tuhoojabotti: \o [13:50] tuhoojabotti: jetienne: I only do select * and cache results for 1 minute :D [13:50] kriszyp has joined the channel [13:50] jetienne: tuhoojabotti: im wondering where it comes from [13:50] tuhoojabotti: Perhaps it's a bad lib. [13:50] fumanchu182 has joined the channel [13:51] tuhoojabotti: But who would need 100 inserts in 3 seconds ;D [13:51] ksheurs has joined the channel [13:51] jetienne: dont think so, it is from felixge and i dont consider him serious [13:51] tuhoojabotti: What? [13:51] kkaefer: tuhoojabotti: node-mysql's performance is generally pretty good [13:51] jetienne: kkaefer: you use it ? [13:51] tuhoojabotti: Then the problem is clear. [13:51] kkaefer: jetienne: yes [13:52] tuhoojabotti: jetienne: Your code is slow. ;-) [13:52] tuhoojabotti: :D [13:52] simenbrekken has joined the channel [13:52] jetienne: kkaefer: you got normal performance ? [13:52] yhahn has joined the channel [13:52] kkaefer: jetienne: yes [13:52] tuhoojabotti: I get good performance on my app too. [13:52] AgainstAllOdds: Can i ask something? I am having troubles trying to detect if a client (connected through net.socket) is still connected or not [13:52] kkaefer: jetienne: I'm doing a couple thousand inserts per second [13:52] tuhoojabotti: AgainstAllOdds: socket.on('end') or 'close' [13:52] tuhoojabotti: ? [13:53] jetienne: kkaefer: hmm ok this is much closer to what i expected... you did anything special ? [13:53] AgainstAllOdds: tried but the only event i got fired is timeout [13:53] kkaefer: jetienne: no [13:53] postwait has joined the channel [13:53] tuhoojabotti: AgainstAllOdds: What is the problem? [13:53] AgainstAllOdds: but that's not the right event since the socket go in idle but the client is still connected [13:53] kkaefer: jetienne: maybe your db server is slow? [13:53] kkaefer: slow disk [13:53] kkaefer: or the inserts you're doing are very expensive [13:54] jetienne: kkaefer: hmm not that slow... but ok i will do hdparam [13:54] kkaefer: or the connection to the database has a low bandwidth [13:54] AgainstAllOdds: the problem is: If a client network connectivity is not available [13:54] ryanfitz has joined the channel [13:54] kkaefer: so many reasons why it can be sow [13:54] kkaefer: slow [13:54] AgainstAllOdds: the server doesn't seems to notice it [13:54] tuhoojabotti: AgainstAllOdds: Like if the client is connected, but then somebody cuts the cable? :P [13:54] AgainstAllOdds: yes something like that [13:54] AgainstAllOdds: :P [13:55] AgainstAllOdds: just think to mobile device and their "on air" option [13:55] tuhoojabotti: Yeah [13:55] tuhoojabotti: I don't know. :P [13:55] idefine has joined the channel [13:55] tuhoojabotti: I use UDP sockets [13:55] tuhoojabotti: datagram [13:55] smtlaissezfaire has joined the channel [13:56] AgainstAllOdds: yeah but UDP has no integrity check in the protocol, i need something "secure" [13:56] tuhoojabotti: I know :D [13:56] tuhoojabotti: My server is a game server anyways [13:57] AgainstAllOdds: mine is a fleet management :P [13:57] pjacobs has joined the channel [13:57] tuhoojabotti: :O [13:57] jetienne: Timing buffered disk reads: 340 MB in 3.00 seconds = 113.30 MB/sec <- kkaefer for read it is ok [13:58] jetienne: kkaefer: the insert are super small. the json for them is < 10kbyte [13:58] akshatj has joined the channel [13:58] jetienne: all of them [13:58] AgainstAllOdds: trying to set up the socket keepalive seems to do anything, the timeout got called always after x seconds since the last data received [13:59] jetienne: AgainstAllOdds: dont use it... use a application keepalive [13:59] systemfault_ has joined the channel [13:59] tuhoojabotti: jetienne: Have you tried putting console.time to see what takes all the time? [13:59] rudids has joined the channel [14:00] rudids: hi all [14:00] AgainstAllOdds: yes i was just thinking about implementing it but i was wondering what the net.socket.keepalive was useful to [14:00] tuhoojabotti: rudids: Hello [14:00] rudids: ;) [14:00] systemfault has joined the channel [14:00] systemfault has joined the channel [14:00] jetienne: tuhoojabotti: on the 5sec of my total mysql, only 0.2sec are on userspace :) [14:01] tuhoojabotti: sloow [14:01] tuhoojabotti: ;) [14:01] jetienne: and i got printf in there [14:02] Kuntau has joined the channel [14:02] infynyxx has joined the channel [14:02] infynyxx has left the channel [14:03] AgainstAllOdds: is it possible to change the time for "ETIMEDOUT" error to be called? [14:03] jetienne: kkaefer: which os/distro are you running ? i smell a bad mysql default config [14:03] colinclark has joined the channel [14:04] jetienne: AgainstAllOdds: tcp keepalive support is bad. for the protocol itself. not a node issue [14:04] galaxywatcher has joined the channel [14:05] AgainstAllOdds: Ok, thanks for the support, i will implement my own keep alive message, since this is the only way [14:06] d0k has joined the channel [14:06] tuhoojabotti: 149ms my server takes :P [14:06] tuhoojabotti: most probably because apache proxying the connection to node ;D [14:06] brianc has joined the channel [14:07] rudids: hey guys, anyone have experience installing npm on a Mac? [14:07] pickels has joined the channel [14:08] havenn has joined the channel [14:08] nerdfiles has joined the channel [14:08] mAritz has joined the channel [14:08] Swimming_bird has joined the channel [14:09] rudids: any1? [14:10] mehtryx: rudids: yes [14:10] arnee has joined the channel [14:10] Poetro__ has joined the channel [14:10] rudids: mehtryx: have you ever had it where npm hangs on an npm install? [14:10] christophsturm has joined the channel [14:11] igl1: depends how long [14:11] rudids: a long time [14:11] nerdfiles has left the channel [14:11] rudids: if it stick it in verbose mode i get something like this: [14:11] rudids: npm verb GET express npm verb raw, before any munging express npm verb url resolving [ 'http://registry.npmjs.org/', npm verb url resolving './express' ] npm verb url resolved http://registry.npmjs.org/express npm verb url parsed { protocol: 'http:', npm verb url parsed slashes: true, npm verb url parsed host: 'registry.npmjs.org', npm verb url parsed hostname: 'registry.npmjs.org', npm verb url parsed href: 'http://regist [14:11] Kuntau has joined the channel [14:11] rudids: excuse the formatting [14:11] mehtryx: Rudids: whats the command your using for install? [14:12] rudids: npm install express [14:12] rudids: can't find anything in the logs to indicate why it's hanging [14:12] rudids: thought it might just be a issue with the HTTP GET [14:13] rudids: but i can curl -O http://registry.npmjs.org/express [14:13] rudids: from the CLI no problem [14:13] mehtryx: yeah if the connection is refused ( issue at other end) for something then it can hang…ah yeah was going to suggest checking that [14:13] mbrevoort has joined the channel [14:13] rudids: i just removed node completely and npm [14:14] rudids: and did a reinstall [14:14] rudids: but to no avail [14:14] rudids: is there are additional logging i can turn on for npm? [14:14] rudids: npm info using npm@1.0.15 [14:14] rudids: npm info using node@v0.4.7 [14:14] Nizam has joined the channel [14:16] pastak has joined the channel [14:16] mehtryx: an alternate is you can install using the tarball, npm install http://registry.npmjs.org/express/-/express-2.2.2.tgz [14:17] jetienne: or nmod install express :) [14:17] rudids: yeah that works, but as a long term solution its a little ugly [14:17] rudids: ;) [14:17] mendel_: guys, it's node unrelated but is there a way to find out how many times a iphone application has been downloaded? [14:17] rudids: mendel_ : you can use itunes connect if it's ur app [14:17] mehtryx: yeah I hear that….I've not had any hangups ( knocks on wood ) seems to be hit or miss for some [14:17] jetienne: rudids: to unblock you, download https://github.com/jeromeetienne/nmod/blob/master/nmod and run "nmod install express" at the root of your project [14:18] jetienne: i gonna plug it at every npm issue :) [14:18] rudids: jetienne: I'll take a look [14:18] mendel_: rudids: not mine :p [14:19] rudids: jetienne: why this over npm? just an alternative? [14:19] jetienne: mendel_: there is a #iphonedev you know :) [14:19] rudids: mendel_: ur shit outta luck then, apple won't release that kinda detail to u [14:19] mendel_: ok [14:19] mbrevoort has joined the channel [14:19] jetienne: rudids: yep much simpler to install, only node_modules installer, and compatible with npm packages [14:20] rudids: jetienne: cheers seems to work [14:20] indexzero has joined the channel [14:20] jetienne: cool [14:20] mehtryx: jetienne: interesting thansk for plugging it ;) will give it a try [14:21] kkaefer: jetienne: it's running both on os x 10.6 with the brew package [14:21] kkaefer: and on ubuntu 10.10 with the package [14:22] kkaefer: *default package [14:22] jetienne: kkaefer: hmm ok... i got 10.10 here... ok thanks i will go on looking [14:22] Wizek has joined the channel [14:23] rudids: hmmm interesting [14:23] rudids: nmod fails too [14:23] rudids: express: fetching meta info ... [14:23] rudids: seems a networking issue [14:23] rudids: but no clue why [14:23] jetienne: let me do it here [14:23] rudids: something is odd [14:24] rudids: ;( [14:24] jetienne: rudids: here "nmod install express" works without a glitch [14:24] balaa_ has joined the channel [14:24] rudids: jetienne: yeah, something odd is going on [14:24] pifantastic has joined the channel [14:24] rudids: jetienne: thanks tho, I'm going to troll through some sys logs and see whats going on [14:24] jetienne: np [14:25] Hinton has joined the channel [14:26] jslatts has joined the channel [14:27] cha0s has joined the channel [14:27] cha0s has joined the channel [14:31] febits has joined the channel [14:33] shapeshe1 has joined the channel [14:35] justicefries has joined the channel [14:35] aklt has joined the channel [14:36] Ramosa has joined the channel [14:36] raidfive has joined the channel [14:36] BillyBreen has joined the channel [14:37] clifton has joined the channel [14:38] jakehow has joined the channel [14:38] sivy has joined the channel [14:40] coltr has joined the channel [14:41] sub_pop has joined the channel [14:41] jtrudeau has joined the channel [14:42] eldios has joined the channel [14:42] aliemmo has joined the channel [14:43] jbpros has joined the channel [14:44] c4milo has joined the channel [14:46] Corren has joined the channel [14:47] siddharth_mahen has joined the channel [14:48] dexter_e has joined the channel [14:48] rfay has joined the channel [14:48] xandrews has joined the channel [14:48] siddharth_mahen has joined the channel [14:49] mapleman has joined the channel [14:49] greg___ has joined the channel [14:50] skiold has joined the channel [14:51] Xano has joined the channel [14:51] luke` has joined the channel [14:54] http402 has joined the channel [14:55] Kuntau has joined the channel [14:56] dw_ has joined the channel [14:57] nibblebot: how can i update all npm global packages? npm update and npm outdated don't list updates but when i use npm info I can see new versions [14:57] Skola has joined the channel [14:57] rasmusbergpalm has joined the channel [14:57] Hinton: npm update -g ? [14:58] nibblebot: throws a bunch of errors [14:58] rasmusbergpalm: Hi all. I have a problem with an uncaught error on req = http.get(...) even though i set the req.on('error',...). [14:59] rasmusbergpalm: DEBUG: Error: ENOTFOUND, Domain name not found at IOWatcher.callback (dns.js:74:15) [14:59] Hinton: nibblebot: Hmm, worked for me, what npm version do you have? [14:59] nibblebot: 1.0.8 [14:59] Hinton: what errors do you get? [14:59] nibblebot: npm ERR! TypeError: Cannot call method 'filter' of undefined [15:00] nibblebot: with a stack trace [15:00] sjbreen has joined the channel [15:01] JKarsrud: isn't 1.0.15 the last one? [15:01] JKarsrud: as in latest [15:01] nibblebot: i guess so, how can i have it check for updates? [15:01] rauchg has joined the channel [15:01] necromancer has joined the channel [15:02] smtlaissezfaire has joined the channel [15:03] nibblebot: ok, an update to 1.0.15 worked. is there no official way to keep npm up to date with just occasionally running the curl | sh? [15:04] dexter_e has joined the channel [15:04] nibblebot: s/with/without [15:04] Hinton: I don't think so [15:05] dshaw_ has joined the channel [15:05] nibblebot: how can i prune dependencies that have been removed from package.json? [15:06] rasmusbergpalm: Hi all. I have a problem with an uncaught error on req = http.get(...) even though i set the req.on('error',...). [15:06] rasmusbergpalm: DEBUG: Error: ENOTFOUND, Domain name not found at IOWatcher.callback (dns.js:74:15) [15:06] chjj: rasmusbergpalm: are you sure the error isn't from the response object? [15:06] wilmoore has joined the channel [15:07] rasmusbergpalm: chjj: no, how can i check? [15:07] chjj: try doing res.on('error', etc) [15:07] nibblebot: npm prune with no arguments should remove packages in node_modules not specified in package.json, no? this does not work for me [15:07] nerdfiles has joined the channel [15:08] rasmusbergpalm: chjj: that word. Thanks a bunch [15:08] rasmusbergpalm: that worked* [15:08] dtan has joined the channel [15:08] chjj: yep [15:08] sonnym has joined the channel [15:09] pHcF has joined the channel [15:09] zoid1239082 has joined the channel [15:09] gazumps has joined the channel [15:09] zoid1239082: hi all. How do I change an attrubute using weld? [15:09] dnjaramba has joined the channel [15:10] Hinton: Is there any mvc frameworks for node.js, except geddy? [15:10] jslatts: Hinton: express [15:10] JKarsrud: not exactly an mvc framework, but express can be used to do and mvc architecture : [15:11] chjj: express is better than a traditional mvc framework because it doesnt make stupid assumptions [15:11] JKarsrud: exactly =) [15:11] JKarsrud: but it doesn't have to be mvc either [15:11] dnjaramba has joined the channel [15:11] JKarsrud: you could use it to build pure REST stuff too [15:11] jslatts: JKarsrud: all my express apps end up looking pretty MVC :) [15:11] JKarsrud: without controllers and views [15:11] jslatts: JKarsrud: but you are correct [15:12] ryanfitz has joined the channel [15:12] bnoordhuis: rasmusbergpalm: https://github.com/joyent/node/issues/1202 <- known problem [15:13] Hinton: Is there any larger open source application, or demo with express, that dosn't have all the code in app.js? [15:14] caolanm has joined the channel [15:14] mAritz has joined the channel [15:15] robertfw has joined the channel [15:15] JKarsrud: I've started making a small votebox thingy with node that has some mongodb integration too; https://github.com/jkarsrud/nodebox [15:15] butu5 has joined the channel [15:17] JKarsrud: you could look at that [15:17] TheJH has joined the channel [15:17] JKarsrud: it's not exactly advanced or anything, but it has some examples at least [15:17] JKarsrud: and the code is not pretty ;) [15:18] Hinton: JKarsrud: Thanks [15:19] JKarsrud: just fire away if you have any questions tho [15:19] JKarsrud: It was just my saturday project, but it's still fresh in memory [15:20] hlindset has joined the channel [15:20] hlindset has joined the channel [15:20] Poetro has joined the channel [15:21] kkaefer: when using fs.watchFile, is node not firing events when node itself changes the file? [15:21] kkaefer: I'm writing into a file that I'm watching, but I don't get events [15:22] Mrfloyd has joined the channel [15:22] Hinton: JKarsrud: Is there a way to split app.js, so every "route group" has their own file instead of bloating up the app.js [15:23] Hinton: Or should i just do a loop for all files and include them? [15:23] Poetro has joined the channel [15:24] Nizam has joined the channel [15:24] futuredarrell has joined the channel [15:24] futuredarrell has left the channel [15:25] sbisbee has joined the channel [15:25] JKarsrud: Hinton: no idea, I've been thinking about the samme too [15:26] dexter_e: Yeah me too [15:26] JKarsrud: I suppose, hypothetically, that you could make a module for it, where you pass in app [15:26] Hinton: It's the only thing bothering me with express's way of doing things [15:26] crodas has joined the channel [15:26] JKarsrud: so that you could do like require('routes') [15:26] JKarsrud: or something like that [15:26] JKarsrud: but I don't know [15:26] dexter_e: But having a Rails-esque mess of hundreds of little controllers can be a pain too. [15:27] Hinton: dexter_e: But you could just group things like, user that holds register, login [15:27] JKarsrud: well, depends on the app, but if you have 100 controllers, it's a mess either way [15:27] dexter_e: Have you guys considered a multi-view code editor? [15:27] Hinton: multi-view? [15:27] futuredarrell has joined the channel [15:28] dexter_e: Open the same file like 8 times and scroll to different parts of it in different windows. [15:28] JKarsrud: I would do more like HomeController, that server all pages that are on /, then maybe a Profile/UserController, that has all profile/user settings route/view stuff [15:28] Kakamba has joined the channel [15:28] dexter_e: Its the convenience of having it split into different files for editing, with the deploy filemanagement simplicity of a singlefile [15:28] briznad has joined the channel [15:29] rasmusbergpalm: dexter_e: you could take a look at piejs [15:29] Hinton: https://github.com/visionmedia/express-resource hmm [15:30] blubb0r has joined the channel [15:30] rasmusbergpalm: it uses express at its root but has its files split into a MVC pattern [15:30] blubb0r: hey there anybody has experience with setKeepAlive? [15:30] JKarsrud: dexter_e: sure, my IDE does that for me [15:30] blubb0r: want if keepAlive is sent that a method is triggered [15:31] JKarsrud: Hinton: hmm [15:31] CIA-110: node: 03Ryan Dahl 07v0.4 * rb1c90a4 10/ (22 files in 2 dirs): logo update - http://bit.ly/r28Feu [15:31] apanda has joined the channel [15:31] JKarsrud: that actually looks pretty promising [15:31] pen_ has joined the channel [15:32] JKarsrud: I'll have to look more at that [15:33] Hinton: Hmm, namespace routes https://github.com/visionmedia/express-namespace [15:33] softdrink has joined the channel [15:33] Mrfloyd has joined the channel [15:34] JKarsrud: hmmmm, that too might work [15:34] systemfault has joined the channel [15:35] dexter_e: Whoaa! the new logo makes it look like alien technology. [15:35] jakehow has joined the channel [15:35] dexter_e: Dig it [15:36] Hinton: I miss the cloud [15:36] omni5cience: oh god [15:36] eee_c has joined the channel [15:36] omni5cience: I liked the old one [15:37] tuhoojabotti: I don't like the new background color of the site :D [15:37] tuhoojabotti: Too bright [15:37] jzacsh has joined the channel [15:37] jzacsh has joined the channel [15:38] Hinton: well, it's alien tech the new logo suits them. [15:39] systemfault: Scumbag node.js logo designers: Add wallpapers, all of them are 404s :/ [15:39] bnoordhuis has joined the channel [15:40] tjholowaychuk has joined the channel [15:40] Hinton: at least /logo/ isn't 404 anymore [15:41] thoolihan has joined the channel [15:41] systemfault: Ah, the walls are there.. [15:42] justicefries has joined the channel [15:42] systemfault: The links are wrong [15:42] systemfault: http://nodejs.org/work/joyent/node/web/logos/nodejs-2560x1440.png should be http://nodejs.org/logos/nodejs-2560x1440.png [15:42] tbranyen: i cried silent tears [15:42] Hinton: -.- they forgot to update the links, classic [15:42] tbranyen: looking at the new nodejs site... i will learn to like [15:42] Kakamba has left the channel [15:42] tbranyen: don't wanna be one of those haters for anything new [15:43] dmcquay has joined the channel [15:43] systemfault: Wow, tbranyen and me actually agree on something, win. [15:43] JKarsrud: wtf, have they stolen the idea from ironjs ? [15:43] tbranyen: renders my old node.js shirt vintage now [15:43] cjm has joined the channel [15:43] tbranyen: oh shit JKarsrud [15:43] JKarsrud: https://github.com/fholm/IronJS [15:43] chrisdickinson: i'd like the web page a bit better if they used sans serif against that logo [15:43] JKarsrud: wtf [15:44] chrisdickinson: otherwise i'm +1 on the new look [15:44] tbranyen: chrisdickinson: yeah the old site was very conducive to serif [15:44] tjholowaychuk: woah [15:44] tbranyen: new site looks inconsistent [15:44] tuhoojabotti: ryah: The wallpaper links are wrong. :P [15:44] tjholowaychuk: ugly new site [15:44] tuhoojabotti: tjholowaychuk: I disagree with the bg colour. [15:44] tbranyen: tjholowaychuk: YOU WILL LEARN TO LOVE IT [15:45] tbranyen: even if it takes years [15:45] tuhoojabotti: I love the new logo though :) [15:45] Hinton: or we override it ;) [15:45] tuhoojabotti: Still old favicon here :P [15:45] systemfault: Someone, hack the node.js website to change the color of the background ;) [15:45] stephank has joined the channel [15:45] JKarsrud: I love ironjs' logo, but not the new ironjs logo [15:46] tuhoojabotti: systemfault: Just send pull-request :D [15:46] qbit_ has joined the channel [15:46] JKarsrud: ooops, node logo [15:46] Hinton: na, just get a browser addon to change it [15:46] softdrink: qunit vs jasmine, GO! [15:46] tbranyen: Hinton: lol good idea [15:47] tuhoojabotti: userstyles ye [15:47] brianseeders has joined the channel [15:48] systemfault: The look is okay, just lacks unicorns [15:48] Hinton: And the rainbows [15:48] JKarsrud: two of them [15:48] Hinton: No [15:48] Hinton: over 9000 [15:48] JKarsrud: yes [15:48] JKarsrud: double rainbows all the way [15:48] Hinton: Triple [15:48] tchype has joined the channel [15:48] Robdor has joined the channel [15:49] chrischris has left the channel [15:49] addisonj: wow... new node logo is weird... [15:49] Hinton: Well, I'm off, thanks for the help JKarsrud and everyone else. [15:49] JKarsrud: no problemo :) [15:49] JKarsrud: glad I could help [15:49] addisonj: not sure how I feel about it [15:50] JKarsrud: I think it's a ripoff of ironjs' logo [15:50] tuhoojabotti: addisonj: Well that's a feeling too. [15:50] JKarsrud: :P [15:51] omni5cience: it makes me feel funny inside [15:51] devongovett: Hey everyone, just an announcement: I just released PDFKit, my powerful PDF generation library for Node. Check it out! http://devongovett.github.com/pdfkit/ Code: https://github.com/devongovett/pdfkit `npm install pdfkit` [15:51] Yuffster_work has joined the channel [15:51] tuhoojabotti: devongovett: 404 [15:52] devongovett: tuhoojabotti which one? [15:52] tuhoojabotti: devongovett: I open Vector Graphics and then try to open the documentation again [15:52] hornairs has joined the channel [15:52] devongovett: tuhoojabotti: easily fixed. thanks [15:52] tjholowaychuk: devongovett damnit [15:52] AvianFlu has joined the channel [15:52] tjholowaychuk: why coffeescript [15:52] tjholowaychuk: now it doesn't interest me [15:53] tjholowaychuk: grrr [15:53] tuhoojabotti: tjholowaychuk: It also supports plain js [15:53] tuhoojabotti: :o [15:53] devongovett: tjholowaychuk: you don't have to use coffeescript. I just wrote it in coffeescript [15:53] tjholowaychuk: yeah but i actually wanted a lib like this [15:53] tjholowaychuk: but i dont want to read/write coffeescript [15:53] briznad has joined the channel [15:53] tuhoojabotti: devongovett: I don't like the font, I think it's bit hard to read. [15:54] omni5cience: really? I really like it. [15:54] tuhoojabotti: Make it 1.1em :D [15:54] jameson has joined the channel [15:54] devongovett: tjholowaychuk: what do you mean? you don't have to. [15:55] DarkAngel_ has joined the channel [15:55] tuhoojabotti: Much easier to read [15:55] vipaca has joined the channel [15:55] vipaca has joined the channel [15:55] taf2: should animate that new node.js logo with raphael.js :) [15:55] taf2: little mouse hover action [15:56] softdrink: … i liked the clouds [15:56] _sorensen_ has joined the channel [15:56] tuhoojabotti: softdrink: heaters gonna heat. [15:57] wilmoore has joined the channel [15:58] confoocious has joined the channel [15:58] confoocious has joined the channel [15:59] jj0hns0n has joined the channel [15:59] bnoordhuis_ has joined the channel [15:59] Corren has joined the channel [15:59] futuredarrell: if the logo was going to go all isometric it should play up the hidden 3d-forms, might be nicer and give a better feel of how modular node is [16:00] Kuntau has joined the channel [16:00] JKarsrud: yes, just like IRONJS! [16:00] JKarsrud: WHOM THEY RIPPED [16:00] JKarsrud: :P [16:00] zeade has joined the channel [16:00] JKarsrud: :P [16:01] cafesofie has joined the channel [16:01] wunder has joined the channel [16:01] omni5cience: in other news what happened to badassjs.com devongovett [16:01] tjholowaychuk: it'll be badasscoffeescript.com [16:02] omni5cience: lol [16:02] devongovett: omni5cience: I've been busy, and it's hard to keep up... I keep meaning to revive it. One day it will return... [16:02] devongovett: tjholowaychuk: lol. some people really hate it, huh? [16:03] donaldpcook has joined the channel [16:03] omni5cience: tjholowaychuk: domain's available ;D [16:04] dandex has joined the channel [16:04] RORgasm has joined the channel [16:05] tbassetto has joined the channel [16:06] tjholowaychuk has joined the channel [16:07] EyePulp has joined the channel [16:09] guybrush: they should make a logo contest and let the community decide which is the best :/ [16:10] colinclark_ has joined the channel [16:11] tjholowaychuk: i've seen their designers do way better site work [16:12] guybrush: well i wont use the logo for my desktop :p [16:12] guybrush: the npm-logo is way better! [16:13] coop has joined the channel [16:13] StepanKuzmin has joined the channel [16:13] unlink has joined the channel [16:13] unlink has joined the channel [16:13] Mrfloyd has joined the channel [16:14] gozala has joined the channel [16:14] stephank: devongovett: Yay, pdf library! And yay, coffeescript! I have a feeling pdfkit will be useful to me in the future. [16:14] devongovett: stephank: awesome! [16:14] pquerna: so.. how about some sick node.js t-shirts. [16:14] taf2: ACTION throws keyboard against the desk and walks out of the room. coffeescript! [16:15] mandric has joined the channel [16:15] amerine has joined the channel [16:15] tjholowaychuk: since it's coffeescript I'll still probably add pdf support to node-canvas [16:15] cosmincx has joined the channel [16:15] towski has joined the channel [16:15] devongovett: tjholowaychuk: sweet! [16:15] vjvjftft has joined the channel [16:16] saurabhverma has joined the channel [16:18] luke` has joined the channel [16:18] EyePulp: what was that pdf thing someone said? [16:18] addisonj: hrm, so I on the topic of canvas-ish things, I really want to be able to use jquery to select stuff, for example, have a little selector that will grab objects from three.js based upon certain attributes... [16:18] taf2: addisonj, jsdom, or something like phantomjs... [16:18] uchuff has joined the channel [16:19] sjbreen has joined the channel [16:19] devongovett: EyePulp: https://github.com/devongovett/pdfkit [16:19] gkmngrgn has joined the channel [16:20] addisonj: taf2, I haven't thought of using jsdom... that just might be brilliant, but it seems like it would be a big overhead for a client side app... [16:20] addisonj: i shall ahve to explore [16:20] Yoric has joined the channel [16:21] taf2: depending on how robust you need... i ended up spawning phantomjs, and having it communicate back and forth with node... not exactly most efficient but i needed robustness [16:22] addisonj: but this would all be client side, not server side [16:22] mundanity has joined the channel [16:23] Yoric1 has joined the channel [16:24] luke` has joined the channel [16:24] DarkAngel_: hi [16:24] DarkAngel_: anyone here [16:24] tuhoojabotti: Hehe, added ryah on Google+ :P [16:24] EyePulp: devongovett: cool - thanks for the link [16:24] DarkAngel_: I'm new on node.js [16:24] tuhoojabotti: DarkAngel_: No one here. [16:24] tuhoojabotti: Only 645 of us. [16:25] DarkAngel_: tuhoojabotti: lol :)) [16:25] EyePulp: we're all in #clojure [16:25] DarkAngel_: nice to meet you tuhoojabotti [16:25] tuhoojabotti: Nice to meet you DarkAngle-underscore! [16:25] tuhoojabotti: No wait [16:25] tuhoojabotti: Angel* [16:26] ianward has joined the channel [16:26] saurabhverma has joined the channel [16:26] Wizek has joined the channel [16:27] CrabDude has joined the channel [16:27] Wizek_ has joined the channel [16:28] TooTallNate has joined the channel [16:28] zomgbie has joined the channel [16:30] chrischris has joined the channel [16:30] skohorn has joined the channel [16:30] butu5 has joined the channel [16:30] seivan has joined the channel [16:31] springmeyer has joined the channel [16:33] bshumate has joined the channel [16:33] bshumate has joined the channel [16:35] smolyn has joined the channel [16:36] simenbrekken has joined the channel [16:36] raidfive has joined the channel [16:36] zomgbie has joined the channel [16:37] nibblebot: nodejs changed it's logo? [16:38] TooTallNate: nibblebot: haha I just noticed that too [16:38] dshaw_ has joined the channel [16:38] nibblebot: cool with me, got a new desktop background now :) [16:38] bogomips has joined the channel [16:39] rpflo has joined the channel [16:40] christophsturm has joined the channel [16:40] lukstr: 12:38 ::: dshaw_ [~Adium@209.118.197.220] has joined #Node.js [16:40] lukstr: 12:38 < nibblebot> cool with me, got a new desktop background now :) [16:40] lukstr: 12:38 ::: bogomips [~bogomips2@93-35-51-29.ip53.fastwebnet.it] has joined #Node.js [16:40] lukstr: 12:39 ::: rpflo [~rpflo@67-2-11-33.slkc.qwest.net] has joined #Node.js /12:40/ /lukstr/ /5:freenode/#Node.js/ /Act: 4,6,7/ [16:40] lukstr: !#Node.js: [16:40] lukstr: damnit [16:40] lukstr: ACTION is sorry [16:40] caiges has joined the channel [16:40] slajax has joined the channel [16:40] nibblebot: haha [16:40] rpflo: np :) [16:40] taf2: ACTION is furious !!!! [16:41] lukstr: I meant to paste this but my mouse button stuck! https://github.com/joyent/node/issues/1305 [16:41] rpflo: I was like, "Why is anybody pinging me in Node.js, I'm a node idiot" [16:41] lukstr: ACTION commits seppuku [16:41] taf2: hehe [16:42] dgathright has joined the channel [16:42] slajax has joined the channel [16:43] broofa has joined the channel [16:45] ryanj has joined the channel [16:45] prettyrobots has joined the channel [16:46] jetienne: http://blog.nodejs.org/2011/07/11/evolving-the-node-js-brand/ let hope i will be removed again soon :) [16:46] seivan has joined the channel [16:46] Corren: anyone familiar with typhoon [16:46] taf2: with vim and node.js process.exit.bind(process) // so vim redraws correctly [16:46] TooTallNate: honestly I woudln't count on it being removed... [16:47] addisonj: this looks nice http://joyeur.files.wordpress.com/2011/07/node.png?w=560&h=460 [16:47] ted___ has joined the channel [16:47] jetienne: taf2: what is the purpose of the bind here ? [16:47] harth has joined the channel [16:47] addisonj: bring more of that style to the homepage and I can support it [16:48] tbranyen: chrisdickinson: what do you think about git.js? [16:48] taf2: jetienne, oh i did that wrong... process.on('SIGTERM', process.exit.bind(process)); :) [16:48] weezle has joined the channel [16:48] chrisdickinson: tbranyen: hahah, a bit like somebody killed my dog. [16:48] chrisdickinson: it looks really, really good. [16:48] taf2: SIGTERM or SIGINT [16:48] ekryski has joined the channel [16:48] Charuru has joined the channel [16:48] tbranyen: chrisdickinson: well thats awesome tho, we should talk to the guy and see if he needs help with anything [16:48] chrisdickinson: i saw the hackernews post on saturday night after hacking on tempusfugit for a few hours and cursed for a while, but yeah, it looks really solid [16:49] chrisdickinson: tbranyen: totally [16:49] jetienne: taf2: oh ok [16:50] luke` has joined the channel [16:50] admc has joined the channel [16:51] ryanfitz has joined the channel [16:52] chrisdickinson: tbranyen: i think there's a lot of low-hanging fruit, speedup wise -- especially running the deflate/inflate stuff inside of web workers. [16:52] tbranyen: oh in node 0.5? [16:52] chrisdickinson: well, in future versions of node, totally -- but also in browser [16:52] tbranyen: oh true that [16:52] chrisdickinson: right now inflate and deflate actually lock up the main thread [16:52] tbranyen: oh man [16:52] tbranyen: didn't even think of that [16:53] chrisdickinson: i also want to experiment with different methods of caching git repositories locally [16:53] JaKWaC has joined the channel [16:53] chrisdickinson: since localStorage is limited to 8mb [16:53] tbranyen: you can use requestFilesystem [16:53] tbranyen: p sure thats unlimited atm [16:54] chrisdickinson: tbranyen: interesting [16:54] chrisdickinson: what's ipad support on that look like? [16:54] wunder has joined the channel [16:54] wunder has left the channel [16:54] Mrfloyd has joined the channel [16:54] Nizam has joined the channel [16:54] mhauri has joined the channel [16:55] devongovett has joined the channel [16:59] tbassett has joined the channel [16:59] othiym23 has joined the channel [16:59] Tobbe: I was looking for some tutorials on node.js and found this: http://net.tutsplus.com/tutorials/javascript-ajax/learning-serverside-javascript-with-node-js/ But it seems to use a lot of old things that doesn't exist in newer APIs. So I tried to update it to run on 0.4.9. [16:59] zomgbie has joined the channel [16:59] Tobbe: This is what I've got: http://paste2.org/p/1514057 This is the warning I get: http://paste2.org/p/1514062 Why do I get that warning? Should I worry about it? [16:59] Tobbe: This is the html page I use to connect to the server: http://paste2.org/p/1514064 [17:02] taf2: in crypto, cipher is for encrypting and decipher for decrypting ? [17:02] jetienne: taf2: yes [17:02] random123 has joined the channel [17:02] taf2: and how is key formatted ? [17:02] taf2: i have the "key" and "iv" for a cipher... [17:03] jetienne: taf2: the key is your secret, the iv is a random number (no need to be secret) [17:03] taf2: jetienne, sorry so to decrypt i only need key? [17:03] jetienne: taf2: yes the iv is included in the encrypted message [17:04] taf2: ah thanks well that makes things much simpler thanks [17:04] luke` has joined the channel [17:05] blueadept has joined the channel [17:05] matomesc has joined the channel [17:06] bogomips: i save the data in json format in mysql db, when i get the row and i use json.stringhify(rows) the data was quoted. so a string that i want like [17:06] bogomips: '[{"response":["a","b","c"]}]' is '[{"response":"[\"a\",\"b\",\"c\"]}]"' [17:06] bogomips: i can use some functions like concat, mysql side to have a perfect json string, but is db dipendend and if in future i wish change db is not good situation.. someone can help me please ? [17:06] bogomips: if can help i use the module db-mysql [17:09] dnjaramba has joined the channel [17:09] eddanger has joined the channel [17:10] siddharth_mahen has joined the channel [17:10] levi501d has joined the channel [17:10] mwl has joined the channel [17:10] igl: bogomips: ? JSON.stringify = json to string. JSON.parse = string to json [17:11] `3rdEden has joined the channel [17:11] bogomips: igl i know :D [17:11] cafesofie has joined the channel [17:12] ajpiaNOU has joined the channel [17:12] bogomips: i want get a json string from db and integrate it in a json string created by stringify [17:13] tbranyen: chrisdickinson: ihni [17:13] tbranyen: its in webkit [17:13] tbranyen: so might be there? [17:13] EyePulp has joined the channel [17:13] mhauri has joined the channel [17:13] taf2: is there a yajl json parser for node.js? in npm ? ... that compiles :) [17:13] tbranyen: yajl? [17:13] tbranyen: yaml? [17:13] fille has joined the channel [17:13] fille: hello! [17:14] tbranyen: oh neato [17:14] taf2: tbranyen, yajl, json :) [17:14] taf2: stream parsing [17:14] anaio has joined the channel [17:14] tbranyen: oh slick [17:14] taf2: there is https://bitbucket.org/nikhilm/yajl-js/ - but doesn't look to be in npm [17:15] charleyd has joined the channel [17:17] fille: what is a website without jquery autocomplete [17:17] fille: must have [17:18] systemfault: Well., if you don't need autocomplete.. [17:18] systemfault: And of course, jQuery is awful. [17:18] systemfault: Just popular. [17:19] fille: so u are more lika a mootools guy [17:19] AvianFlu has joined the channel [17:19] fille: i was mootools guy when i was developing in joomla [17:19] systemfault: No, hmm.. I use jQuery. [17:20] postwait: I'm trying to troubleshoot a race condition in a async C++ module. [17:20] systemfault: The fact that someone uses a tool doesn't mean he's not aware of its weaknesses. [17:20] fille: tell me about the weaknesses [17:20] zodiak has joined the channel [17:20] postwait: The issue is: I create a "SlwoBuffer" useing Buffer::New and a few lines later I access ->handle_ [17:20] AvianFlu has joined the channel [17:21] postwait: but it has been freed by the GC already. [17:21] blup has joined the channel [17:22] mhauri has joined the channel [17:23] boehm has joined the channel [17:23] caiges has joined the channel [17:23] Spion has joined the channel [17:23] fille: omg whats up with the new node.js design [17:24] systemfault: Probably that the guy saw "The Matrix" for the first time just before designing it. [17:24] fille: so javascript is some kind of military think huh? [17:24] djcoin has joined the channel [17:24] fille: horrible enviromentarl [17:24] _sorensen_: anyone familiar with mongoose? [17:24] fille: loved the cloud [17:25] bbrandon has joined the channel [17:25] jonasen has joined the channel [17:26] sjbreen has left the channel [17:27] rfay has joined the channel [17:28] explodes has joined the channel [17:28] Cleer has joined the channel [17:28] davemo has joined the channel [17:28] explodes: https://github.com/5long/reut it says I should be able to do "npm install reut" and then should be able to run "reut" But the command reut is not found. This has happend with multiple npm packages, am I missing something? [17:29] _sorensen_: if i define my schemas for mongoose in the server setup, should they be available everywhere in the program? or does every file that interacts with mongoose need the schemas defined each time? [17:29] pifantastic_ has joined the channel [17:30] _sorensen_: explodes: i had that problem with installing docco, the fix was to do 'sudo -E npm install -g docco' [17:30] _sorensen_: so maybe 'sudo -E npm install -g reut' [17:30] slickplaid: What's the best way to validate email/username? Simple regex or something more complex? Wondering if there's a lib out there to verify email by checking MX records and such. [17:31] slickplaid: or if that's even a good idea. [17:31] creationix has joined the channel [17:31] tbassetto has joined the channel [17:31] joshthecoder has joined the channel [17:31] _sorensen_: personally i would just use a good regex [17:31] smtlaissezfaire has joined the channel [17:32] fille: is there a way to search fast thru a json file without a no-sql db [17:33] fille: throu [17:33] futuredarrell: _sorensen_: i define schemas in a seperate file and then export them as modules [17:33] futuredarrell: not sure if that answers your question [17:34] _sorensen_: i have some middleware that relies on mongoose schemas, i'm defining them in the app.js, and still getting barked at that they have not been registered [17:34] perezd has joined the channel [17:34] _sorensen_: are you exporting them in each file that is directly using them? as in, each place you are require('mongoose') ? [17:34] perlmonkey2 has joined the channel [17:35] slickplaid: fille: there was a great article on that a while back... let me find it [17:35] fille: thanks slickplaid [17:35] explodes: sweet, thanks _sorensen_ [17:35] dgathright has joined the channel [17:35] catphive has joined the channel [17:36] futuredarrell: i have a function in my models file that defines the models, i pass a mongoose instance from app.js and a callback into it [17:37] futuredarrell: i followed a tutorial on daily js - ill grab the link for you [17:37] slickplaid: fille: http://stevehanov.ca/blog/index.php?id=120 and a subsequent post by john resig (still looking for it) [17:37] slickplaid: fille: not sure if that's something you're really looking for or not, though [17:38] robi42 has joined the channel [17:38] necromancer has left the channel [17:38] slickplaid: fille: http://ejohn.org/blog/revised-javascript-dictionary-search/ I think it was this. [17:38] futuredarrell: http://dailyjs.com/2011/02/07/node-tutorial-12/ [17:38] Croms has joined the channel [17:38] _sorensen_: futuredarrell: thanks much [17:38] fille: thanks [17:39] futuredarrell: this is helpful too [17:39] futuredarrell: and you can strip it down to what you need [17:39] futuredarrell: https://github.com/alexyoung/nodepad/blob/2a8725f089ef052ec8b4ccfed8f6fbece70a606a/models.js [17:39] fly-away has joined the channel [17:39] slickplaid: fille: welcome :) might be a bit overcomplicated for what you need but hey, it's an extremely interesting read :D [17:40] radiodario has joined the channel [17:40] _sorensen_: oh awesome [17:40] _sorensen_: perfect [17:40] avalanche123 has joined the channel [17:40] fille: i just thinks its stupied to instert a mongodb for a simple search [17:40] _sorensen_: i've even looked at this file before and never noticed that bit [17:41] futuredarrell: _sorensen_: the app.js under the same blob is good to check too [17:41] tuhoojabotti: Any regex wizards here? :D [17:41] slickplaid: fille: Yeah, depends on how you use that search though. MongoDB has it's uses [17:42] futuredarrell: \no\ [17:42] fille: slickplaid :D [17:42] dtan: what you need tuhoojabotti? [17:42] _sorensen_: i've used it as a reverense for many things so far [17:42] _sorensen_: just ran into this issue yesterday [17:42] tuhoojabotti: dtan: I need to remove stuff inside brackets like \(.*?\), but that doesn't match brackets inside brackets, also can't be greedy. [17:43] tuhoojabotti: lol (remove me (and me) ) but not me (this too) [17:43] dtan: so you want to remove the innner parens? [17:43] softdrink: ACTION glares at the connect documentation [17:43] tuhoojabotti: dtan: All [17:43] tuhoojabotti: :P [17:44] dtan: just all parens in general? [17:44] tuhoojabotti: All parentheses be gone [17:44] dtan: ok [17:44] tuhoojabotti: and their content [17:44] dtan: oh so it would just leave "but not me" [17:44] tuhoojabotti: and the lol before [17:44] dtan: oh haha [17:44] Cleer has joined the channel [17:44] dtan: um ok, give me a few, let me try it out [17:44] tuhoojabotti: Ye [17:44] tuhoojabotti: I've been trying and trying here :D [17:44] dtan: so it would just be "lol but not me" [17:45] tuhoojabotti: ye [17:45] dtan: ya regexp is tricky [17:45] jerrysv has joined the channel [17:46] colinclark has joined the channel [17:46] tuhoojabotti: http://www.gskinner.com/RegExr/ I'm using this to test. :P [17:47] dtan: ah cool [17:47] dtan: never knew about this [17:47] creationix has left the channel [17:47] dtan: bookmarked! [17:47] grekko has joined the channel [17:47] tuhoojabotti: np :P [17:47] RORgasm: hey guys [17:47] RORgasm: anyone know if there's a way to check whether a websocket connection is live on a page in chrome? [17:47] tuhoojabotti: RORgasm: Hello [17:47] samuelkadolph has joined the channel [17:48] siddharth_mahen has joined the channel [17:48] springmeyer_ has joined the channel [17:51] tuhoojabotti: dtan: I guess that's one of those things you don't do with regex ;D [17:51] zeade has joined the channel [17:51] saschagehlich has joined the channel [17:51] dtan: why do you say that? [17:51] dtan: i'm able to just return "lol " right now [17:51] dtan: tyring to grab the other matches [17:52] zemm: s/\([^()]*|\) ?// ? [17:52] saschagehlich has joined the channel [17:53] dtan: zemm got it =) [17:54] reid has joined the channel [17:54] dtan: needs to be a little modified though i think [17:54] dtan: var reg = /\([^()]*|\) ?/g [17:54] jmoyers has joined the channel [17:54] Know1edge has joined the channel [17:55] tuhoojabotti: oo [17:55] konobi: balanced tags aren't really possible with regex [17:56] Know1edge: anyone know if we can install node with yum ? [17:56] zemm: yes that (strips this) too)) [17:56] tuhoojabotti: Yes [17:56] dtan: all together: http://pastie.org/2197893 [17:56] tuhoojabotti: \s*\([^()]*|\)\s? :P [17:56] konobi: closest you might get is to use a postive look-ahead assertion [17:56] dtan: ah, you're capturing spaces as well [17:57] dtan: didn't notice that b/c i think it cut off the beginning \ in zemm's original comment [17:57] tuhoojabotti: Well not really necessary [17:57] dtan: gotcha [17:57] tuhoojabotti: I remove multiple spaces afters anyways [17:57] dtan: right [17:57] dtan: simple trim method [17:58] tuhoojabotti: regexp too :P [17:58] tuhoojabotti: But yeah [17:59] liquidproof has joined the channel [17:59] dtan: ya heh [18:00] addisonj has joined the channel [18:04] tuhoojabotti: anyways [18:04] tuhoojabotti: a quick test [18:04] akiva has joined the channel [18:04] caolanm has joined the channel [18:04] zemm: actually that regex doesn't work x) [18:05] tuhoojabotti: Yes [18:05] tuhoojabotti: :D [18:05] tuhoojabotti: I was just coming to that [18:05] tuhoojabotti: :D [18:07] tuhoojabotti: Damn it [18:07] tuhoojabotti: I'll just count the number of ( and remove that many inner parentheses. [18:07] tuhoojabotti: :D [18:10] unvamp has joined the channel [18:11] Amaranth has joined the channel [18:11] mikeal has joined the channel [18:11] mehtryx: Question on jasmine-node and setting up in a CI environment, I have defined some basic specs and I have a class that was designed by the specs. I can laucnh myspecrunner.html file and view the tests ran, all assertions passed and 0 failed. [18:11] Wizek has joined the channel [18:12] Amaranth: Does anyone know of a module that'll handle HTTP(S) requests, follow redirects automatically, and manage cookies as well? [18:12] Amaranth: I've got part of one written but it's a bit of a pain, was hoping someone had done it already [18:13] mehtryx: I want to now make this a command line to execute as part of my cakefile when I detect a change..run the specs….I have everything up to the notifications done but finding lots of challenges getting a program to run through the specs. any suggestions or pointers? [18:13] tuhoojabotti: dtan, zemm: I guess this is not an regular expression, so it can't be parsed with regex. :P [18:13] siddharth_mahen has joined the channel [18:13] unvamp: Is there anyone oauth2 middleware for connect? [18:14] unvamp: any* not anyone [18:14] siddharth_mahen: hey all, I've isolated a bug in the debugger (it does not check for success before trying to access certain response properties), but I don't know how I should handle the bug, any suggestions? [18:15] bradleymeck: Amaranth, mikeal does those in spider, idk if its separated out fromt he jsdom bit though [18:15] marcello3d has joined the channel [18:16] zemm: tuhoojabotti: yeah (well (i guess) this is the tricky bit (that needs)) counting (of) parentheses.. [18:17] sivy has joined the channel [18:17] postwait: ryah: I'm seeing a very nasty issue in buffers and garbage collection. [18:17] tuhoojabotti: Yeah [18:17] keeto has joined the channel [18:17] postwait: ryah: in Buffer::New(length)... there's a Local create and then the unwrapped buffer returned. [18:18] postwait: ryah: if the GC runs _immediately_ after that, the returned value will be freed before it can be used. [18:18] temp01 has joined the channel [18:18] mhauri has joined the channel [18:18] jmoyers: how about this callback-itis thread [18:18] jmoyers: good times [18:19] Amaranth: bradleymeck: Doesn't appear to be split out, hopefully I can do so easily [18:19] bradleymeck: four requests and and seven callbacks ago, our API did bring forth a new "itis" [18:20] Amaranth: hmm, it appears that just combines request and cookiejar [18:20] tristanoneil has joined the channel [18:20] tuhoojabotti: postwait: Shoudn't you be writing an issue on the github? [18:20] Amaranth: I dunno why I didn't think of that [18:21] postwait: tuhoojabotti: only if it is an issue... that's my speculation. [18:21] tuhoojabotti: If it's up to speculation, it's an issue! [18:21] charleyd has joined the channel [18:22] ericnakagawa has joined the channel [18:22] postwait: hit the bug trying to fix a busted extension... so the issue could certainly be in my code. [18:22] tuhoojabotti: Run tests? [18:23] ank has joined the channel [18:23] Amaranth: oh, nice, there is a pull request for the request module that fixes following redirects after a POST too [18:23] Amaranth: Much better than the hack I did [18:23] Murvin has joined the channel [18:24] tristanoneil: Has anyone run into this issue before with express? https://gist.github.com/1076434 It happens when I try to dynamically specify a view. [18:25] tjholowaychuk: tristanoneil you're not handling the favicon request [18:25] tjholowaychuk: if you want to ignore it add app.use(express.favicon()) at the top of your config [18:25] tjholowaychuk: (or pass a favicon path to that middleware) [18:26] tristanoneil: why does this only happen if you dynamically specify a view? [18:26] tjholowaychuk: because you are passing that pathname to render() [18:26] tjholowaychuk: and you dont have a favicon template [18:27] tristanoneil: Alright. Thanks for your help. [18:28] pt_tr has joined the channel [18:29] brownies has joined the channel [18:29] Vertice has joined the channel [18:30] dtan: tuhoojabotti - what do you mean it's not a regular expression? [18:30] tuhoojabotti: dtan: It has unregular amount of brackets. :D [18:30] dtan: ah, so it's not even? [18:30] tuhoojabotti: dtan: Well if you figure it out, tell me! [18:30] tuhoojabotti: Well [18:30] dtan: i thought zemm's example worked, but he was saying otherwise [18:31] tuhoojabotti: It didn't. [18:31] tuhoojabotti: I tested [18:31] dtan: weird, b/c it seemed to work for me [18:31] tuhoojabotti: But yeah, I'm off to bed [18:31] dtan: i was using chrome's console for testing [18:31] dtan: ok talk to you later [18:31] tuhoojabotti: Ye [18:31] tuhoojabotti: -> [18:31] [[zzz]] has joined the channel [18:31] Swizec has joined the channel [18:31] colinclark_ has joined the channel [18:32] zemm: with incompetent test data it did :) [18:32] addisonj has joined the channel [18:32] EM03_ has joined the channel [18:32] EM03_ has joined the channel [18:33] Wizek has joined the channel [18:33] EM03_: what is the best way to deal with "models" in node.js anything out there to help ...really just functions more or less to read and write SQL [18:36] brownies has joined the channel [18:38] gregoryigelmund has joined the channel [18:39] Marak has joined the channel [18:39] Marak: MsPaint node.js logo, http://twitpic.com/5oorlv [18:39] Marak: you cant explain that [18:40] kcbanner has joined the channel [18:41] postwait: anyone know how to take a Local and make it Persistent ? [18:41] Hinton has joined the channel [18:42] fille: MArak atleast its cleaner and better then the new one [18:42] patcoll has joined the channel [18:42] fille: any one got a suggestion algoritm for spare please? [18:43] Marak: postwait: node.js isnt java [18:43] fille: :D [18:43] isaacs has joined the channel [18:43] postwait: Marak: what? no.. it's C++. do you know the answer? [18:43] Marak: ohh i see [18:43] Marak: no [18:43] euforic has joined the channel [18:44] mhauri has joined the channel [18:44] Robdor has left the channel [18:44] softdrink: connect, y u no have more documentation? (yಠ,ಠ)y [18:44] ryah: postwait: Persistent::New(localhandle) [18:45] supster has joined the channel [18:45] postwait: ryah: (back in history -- I'm pretty confident that the Buffer::New stuff returning Buffer * is bad.. [18:45] postwait: ryah: thanks, I'll try that. [18:46] TooTallNate: postwait: re: creating Buffers in C++ land: [18:46] TooTallNate: http://sambro.is-super-awesome.com/2011/03/03/creating-a-proper-buffer-in-a-node-c-addon/ [18:46] ryah: postwait: why is it bad that it's returning a Buffer* ? [18:46] postwait: Because if the GC runs _immediately_ after return. The Local that was unwrapped will be freed (and the buffer). [18:47] jrabbit has joined the channel [18:47] ryah: postwait: Buffer has a Persistant handle [18:47] jrabbit: https://gist.github.com/1076499 wtf [18:47] postwait: If I do it in a tight loop, I can repeat the crash. [18:47] postwait: valgrind says otherwise... (did that change from v0.4 to trunk)? [18:47] jrabbit: also is there a way to turn off dependency testing in waf? [18:47] jrabbit: (and is cmake ok to use?) [18:48] postwait: I do Buffer *buffer = Buffer::New(100); (small work) and then reference buffer->handle_; [18:48] postwait: valgrind says the buffer was freed in GC. [18:48] jerrysv: marak: loved the tag on that jsdom issue [18:48] ryah: postwait: https://github.com/joyent/node/blob/13a521e6980ff586d720a710d44b0192ba6b5fa6/src/node_object_wrap.h#L56 [18:48] postwait: I have to push the system hard to repeat the problem. [18:49] Marak: lol jerrysv [18:49] postwait: ryah: right but the buffer that holds it is freed. [18:49] Hinton has joined the channel [18:49] postwait: ACTION says: valgrind never lies. [18:49] ryah: oh - the user shouldn't delete the Buffer [18:49] ryah: V8 needs to free it [18:49] postwait: I didn't. [18:49] postwait: V8 frees it. [18:49] postwait: right after return. [18:50] postwait: before I access ->handle_ [18:50] ryah: postwait: that seems unlikely [18:51] ryah: postwait: can you paste your code? [18:51] m2matson has joined the channel [18:51] postwait: http://sambro.is-super-awesome.com/2011/03/03/creating-a-proper-buffer-in-a-node-c-addon/ [18:51] postwait: I used that. [18:51] postwait: verbatim [18:51] t4nk043 has joined the channel [18:52] postwait: Valgrind dies on line 27 [18:52] postwait: I broke that line into 4 lines... args declare and 3 assignments into 0,1,2 [18:52] postwait: It dies on the buffer->handle_ [18:53] postwait: I have to call it in a tight loop millions of times to get it trigger. but it does. realiably. [18:53] postwait: I fixed the issues by hoisting the Buffer::New code out into my caller (which is a PITA because getting SlowBuffer constructor is a lot of work from there) [18:53] ryah: this blog post is not very good [18:53] postwait: "fixed" -- I avoided the issue. [18:54] ryah: after line 13 he should do "return scope.Close(buffer->handle_)" [18:54] postwait: that's slow buffer though.. he wants a fastbuffer. [18:55] postwait: I've been hacking on fixing the node-compress module. (I need it for something) [18:55] AntelopeSalad_ has joined the channel [18:55] postwait: So, I need my C++ to fabricate and return a "buffer" (not a slowbuffer) [18:56] postwait: And that code "works".. but if a GC run happens between lines 8 and the return of 31, *boom* [18:56] postwait: That's because of the return of the Unwrap. [18:56] postwait: by hoisting the Local of the wrapped buffer into my caller -- it doesn't leave context until I'm done with it [18:56] ryah: postwait: do you have a HandleScope at the top of yoru function? [18:56] postwait: and isn't eligible for gc. [18:57] postwait: yes. [18:57] postwait: But there's a HandleScope at the top of the Buffer::New function in node_buffer.cc -- which is the problem, I suppose. [18:57] ryah: i don't see how it can be GCed... [18:57] ryah: hm [18:58] ryah: oh - maybe that's possible [18:58] postwait: I bet removing that would solve it (for good) [18:58] ryah: postwait: buffer->Ref() will prevent it from being GCed [18:58] unvamp has joined the channel [18:59] postwait: If I can call it fast enough... But, it's a protected function, so I can't call that form my caller. [18:59] robhawkes has joined the channel [18:59] avalanche123 has joined the channel [18:59] postwait: I think the HandleScope's at the top of the Buffer::New's returning Buffer * should be removed. [18:59] ryah: postwait: yeah - well if we're actually getting the weak reference callback here in one step - that's really bad [19:00] postwait: You see any issues with that? so the Local is in callers context. [19:00] postwait: s/context/scope/ [19:00] ryah: postwait: sounds scary [19:00] postwait: as for it being bad -- just means the GC's rockin' it hard ;p) [19:01] ryah: hm [19:01] cccaldas has joined the channel [19:01] ianward has joined the channel [19:02] postwait: Why does having the new buffer in caller's scope (for purpose of GC) sound scary? [19:02] ryah: so the only reference is the Persistent handle.... it GCs at the close of Buffer::New's HandleScope [19:02] ryah: V8 detects that the only ref is the Persistent handle - therefore calls the WeakRef callback [19:02] ryah: which then frees the buffer [19:02] ryah: that's horrible! [19:02] postwait: "can" free the buffer. [19:02] softdrink: does connect() return the same thing as connect.createServer()? [19:03] postwait: doesn't happen all the time, but race conditions should be eliminated ;-) [19:03] jrabbit: I canb't compile c-ares on my platform [19:03] tjholowaychuk: softdrink yup [19:03] ryah: postwait: yeah - i guess class Buffer should derive from v8::Value [19:03] ryah: and return a Local [19:03] fille: dammit dident know that it was so hard to find a suggestion algoritm [19:03] postwait: scope.Close(.... of the new one) [19:04] ryah: okay - well - sorry about this [19:04] ryah: this is good to know [19:04] postwait: So.. my workaround is to use the internals. [19:04] postwait: but I'm trying to cache my reference to the slowbuffer constructor function. [19:04] postwait: Hence my question about how to take a Local and make it persist so I can reuse it in subsequence calls. [19:05] robhawkes has joined the channel [19:05] Kuntau has joined the channel [19:06] ryah: postwait: that should work - Persistant::New(bufferConstructor) [19:06] ryah: then use that to create your buffs [19:06] postwait: cool.. trying now [19:07] hwinkel has joined the channel [19:08] boaz- has joined the channel [19:09] simenbrekken has joined the channel [19:10] Amaranth: neat, found a bug in cookiejar [19:10] TechCel has joined the channel [19:10] softdrink: var connect = require('connect'), socketio = require('socketio'); var server = connect(stuff here); server.listen(3000); socketio.listen(server); ← what am i doing wrong? [19:11] eyesUnclouded has joined the channel [19:12] Amaranth: actually maybe not, no idea what is going on now [19:12] bradleymeck: amaranth whats up? [19:12] matbee has left the channel [19:12] Amaranth: bradleymeck: I've got cookies that have a path of /accounts and my uri path is /accounts/ServiceLoginAuth (google stuff) [19:13] a111 has joined the channel [19:13] Amaranth: but that doesn't appear to be where the failure is [19:13] a111: Anyone got any simple node.js project ideas? I cant think of anything to do. [19:13] Amaranth: so now I'm lost [19:13] fdenbow has joined the channel [19:13] Amaranth: oh, I see [19:13] AvianFlu has joined the channel [19:14] Amaranth: the cookies don't have a domain set and the check is doing this.domain===access_info.domain [19:14] Amaranth: I guess it should be this.domain !== null && this.domain === access_info.domain [19:15] eirikb has joined the channel [19:15] patcito has joined the channel [19:16] Amaranth: arg, wtf [19:16] hal1on has joined the channel [19:16] eirikb: Hello. How can I write some bytes to socket (Net) ? Tried [255,251].forEach(function(byte) { c.write(String.fromCharCode(byte); }); but it does not seem to be very effective [19:17] hwinkel has joined the channel [19:17] eirikb: Missed one ')', but the point was probably made [19:18] eirikb: c.write(new Buffer([255, 251])) might work better... [19:19] Skola has joined the channel [19:19] postwait: ryah: works. [19:20] Skola: anyone here on Mac _not_ using iTerm? [19:20] drudge: me [19:20] Skola: what are you using? [19:20] drudge: Terminal.app [19:20] Skola: no need for splits? [19:20] CIA-110: node: 03Ryan Dahl 07v0.4 * r360f4b7 10/ doc/logos/index.html : Fix wallpaper links - http://bit.ly/peRXIx [19:20] weezle_ has joined the channel [19:21] markwubben has joined the channel [19:21] tuhoojabotti: Hihi [19:21] drudge: Skola: i generally just use multiple tabs, sometimes i drag one out [19:22] Skola: ok [19:22] eirikb has left the channel [19:22] mitko has joined the channel [19:23] Amaranth: ha, google still tells me my browsers cookie functionality is disabled, guess I'm not handling cookies correctly during redirects [19:23] drudge: Skola: i take it you are looking for something more than: http://penr.ee/8LMG ? [19:23] tuhoojabotti: ryah: The favicon is still old. :P [19:23] TheJH has joined the channel [19:24] skript: copyright 2010 joyent at the bottom [19:24] Skola: drudge that's ok [19:24] TheJH has joined the channel [19:24] dnjaramba has joined the channel [19:24] drudge: Skola: there is a little split button in the scrollbar [19:25] Skola: ok [19:25] tuhoojabotti: Also "Node.js 1 color EPS" who counts black or white as a color? :O [19:25] tuhoojabotti: :P [19:26] tuhoojabotti: It should be either 2 color or nonecolor [19:26] tuhoojabotti: "undefined color" [19:26] tuhoojabotti: ;P [19:26] Skola: yeah black and white is counted when you're talking about EPS/vector [19:26] Skola: black with transparent bg = 1 color [19:27] tilgovi has joined the channel [19:27] tilgovi has joined the channel [19:28] fille: what about the cloud! [19:28] fille: i whant it back! [19:28] fille: ;( [19:29] nodenews has joined the channel [19:30] drudge: fille: times change. you'll get over it :) [19:31] tuhoojabotti: Skola: But the cake is a lie! [19:31] fille: im going for my own logo! [19:31] TheJH: what are you talking about? is there a new docs design or so? [19:31] drudge: website [19:31] fille: looks like the the move Signs Font =( [19:32] fille: UFOs sorry if im hurting anyones feelings.. [19:32] jrabbit: gah v8 isn't checking out [19:32] drudge: you probably are [19:32] jrabbit: how does that work? [19:32] TheJH: uh? that logo... it will take some time for me to get used to it [19:32] Wizek has joined the channel [19:32] `3rdEden: NERDRAGE [19:32] fille: i know :( cornfield [19:33] `3rdEden: who pooped on the site? [19:33] context: logo? [19:33] fille: :D [19:33] `3rdEden: it's all brown [19:33] context: oh wow [19:33] context: thats a bit of a change. [19:33] context: ACTION waits for the "i cant use node cause hte logo looks funny" comments [19:33] fille: what about the Trade mark [19:33] fille: TM [19:34] fille: aa the JS is trade marked [19:34] uchuff has joined the channel [19:34] context: i imagine joyent trademarked it. [19:35] aheckmann has joined the channel [19:35] Bonuspunkt: never heard so much whining outside of gaming the gaming communitity -.-' [19:35] TheJH: oh, that one's good :) "Windows is very important. Just like PHP." [19:35] fille: :D [19:35] fille: and the animal [19:35] fille: what about the animal, node.js needs an animal [19:36] m2matson has joined the channel [19:36] tuhoojabotti: Hippo! [19:36] tuhoojabotti: I love hippos [19:36] blup: cheetah ;) [19:36] fille: was thinking about a hippo too [19:36] jesusabdullah: turtles, obviously [19:37] fille: mac os x [19:37] jrabbit: my ./deps/v8 is empty :| [19:37] fille: hippo cms java [19:37] tuhoojabotti: jesusabdullah: :D [19:37] jesusabdullah: c/, ,\ [19:37] fille: node.js is fast so i guess i will buy the ufo font. with antigravity [19:38] _aron has joined the channel [19:38] Marak has joined the channel [19:39] context: fille: dont forget moonboots [19:39] fille: :D [19:39] niftylettuce has joined the channel [19:39] tuhoojabotti: moonboobs, wut? [19:39] mhauri has joined the channel [19:39] Yoric1 has joined the channel [19:39] context: tuhoojabotti: mmm. no more sag [19:40] brettgoulder has joined the channel [19:40] fille: the logo looks aerodynamic [19:40] Skola: 21:35 < TheJH> oh, that one's good :) "Windows is very important. Just like PHP." [19:40] tuhoojabotti: It looks good [19:40] Skola: I loved the delivery on that one [19:40] context: skola: hahaha [19:40] niftylettuce: not sure about the kerning and font weight [19:40] Skola: and so did the crowd :[] [19:40] niftylettuce: who designed it? [19:40] fille: i guess no one will admi [19:40] fille: .... [19:40] dnjaramba has joined the channel [19:41] `3rdEden: The logo needs to be boob-a-fied, it needs more round curvs :9 [19:41] jbpros has joined the channel [19:41] jrabbit: reading scoates nscript files.... [19:41] Skola: it needs to be less obese [19:41] Skola: but I really like the concept [19:41] bnoordhuis_: postwait: ping [19:41] fille: minimalistic [19:42] niftylettuce: eps is digitized O_O [19:42] scoates: jrabbit: ? [19:42] fille: communicate the Agile , fast and safe [19:43] `3rdEden: Is there a way to get the IP of the current machine in node? [19:43] niftylettuce: there are 3 different shadows on the wallpaper btw [19:43] jrabbit: *sconscript [19:43] tuhoojabotti: `3rdEden: http.get(whatsmyip.org) [19:43] tuhoojabotti: :D [19:43] `3rdEden: tuhoojabotti: :D [19:44] tuhoojabotti: Glad you liked my solution. [19:44] jrabbit: its buidlign v8 I guess but it sounds liek its jsut prepping for the build lol [19:44] `3rdEden: 0.5 has some network interfaces in the os module so I guess I can use that.. but that would mean that my code won't work on 0.4 ;9 [19:44] bnoordhuis_: `3rdEden: os.getNetworkInterfaces() [19:44] bnoordhuis_: right [19:45] postwait: bnoordhuis_: yes? [19:45] fattytuna has joined the channel [19:45] weezle has joined the channel [19:45] bnoordhuis_: postwait: your buffer object is being gc'ed before your c++ function returns? [19:45] tuhoojabotti: niftylettuce: See the blog post it named the designer. [19:45] context: nice ! [19:46] jbroman: Anyone know why this function was called getNetworkInterfaces? os.networkInterfaces() would seem more consistent with os.cpus() [19:46] context: os: hostname() platform() uptime() totalmem() cpus() ... and then getNetworkInterfaces() ????!@?# [19:46] context: os.ifaces() ? [19:46] tuhoojabotti: :D [19:46] context: ifaces, ifconfig, they work [19:46] fille: inkscape for ubuntu is quit laggy [19:46] context: ACTION files a ticket [19:47] tuhoojabotti: fille: Get a better computer! [19:47] niftylettuce: tuhoojabotti: unsure how complex "scaling" represents the nature in a "simple" manner ;) [19:47] systemfault: Use Illustrator. [19:47] fille: its the optimus triver [19:47] fille: driver* [19:47] `3rdEden: bnoordhuis_ dns.lookup(os.hostname(), function(){ console.dir(arguments) }); :) [19:47] jrabbit: Does scons report its progress building v8? [19:47] `3rdEden: seems to do the trick [19:47] fille: what about a node.js walruse for mascot [19:48] luke` has joined the channel [19:48] kmiyashiro has joined the channel [19:48] postwait: bnoordhuis_: yes. [19:48] jameson: niftylettuce: any luck on nyancat.wav from the original author? [19:48] bnoordhuis_: postwait: can you post your code? i'd like to test it [19:48] brianc has joined the channel [19:48] postwait: I've fixed my code ;-) [19:49] fille: okej no walruse [19:49] yhahn has left the channel [19:49] postwait: bnoordhuis_: https://github.com/postwait/node-compress/ [19:50] postwait: bnoordhuis_: https://github.com/postwait/node-compress/blob/master/src/zlib.h#L375 (and the following 4 lines) [19:50] niftylettuce: jameson: haven't heard back yet [19:50] postwait: replace buffer = Buffer::New(out.length()) [19:50] postwait: sorry slowBuffer = Buffer::New(out.length()) [19:51] gazumps has joined the channel [19:51] postwait: if you put that code in there instead, and run it in a tight loop 100k times, it will pop. [19:51] jameson: niftylettuce: >:( maybe he only does Japanese emails or he get's spammed for use. [19:52] Mrfloyd has joined the channel [19:52] bnoordhuis_: postwait: thanks, i'm going to give it a spin [19:52] postwait: I've branched and will give you the test case. [19:52] context: please comment/"vote up": https://github.com/joyent/node/issues/1306 [19:53] ianward has joined the channel [19:53] Kichael has joined the channel [19:53] bnoordhuis_: postwait: sweet [19:54] Kichael: When installing nodejs on ec2, how would I make sure that it gets installed for all users? My tomcat app is throwing errors saying it can't find nodejs, I followed the build/install guide on github [19:55] context: where did you install it to [19:55] context: what os/distro [19:55] Kichael: amazons ec2, the default linux distro that they have [19:55] Kichael: I think it's redhat based? [19:55] context: that installation guide REALLY needs to be updated [19:56] context: cat /etc/redhat_version i think it is [19:56] context: uname -a [19:56] context: or -v [19:56] context: kichael: https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager [19:56] Kichael: uname -v [19:56] Kichael: #1 SMP Fri Oct 22 18:48:33 UTC 2010 [19:56] context: :/ [19:57] Kichael: this distro uses yum [19:57] fille: so if o'really was writing a book about node.js what animal should be on the cover? [19:57] fille: reailly [19:58] mikey_p: clearly ferrets or turtles [19:58] jobim: thsoe are opposites [19:58] KindWord has joined the channel [19:58] context: kichael: install to /usr/local not $HOME/local/node [19:58] fille: heheh i say greaylings [19:58] lukstr: slime mold [19:59] elliottcable: 19:58:54 @elliottcable : I’ve never met someone I didn’t like in the Node.js community, except maybe him. [19:59] elliottcable: Y’all rock. That’s all. ^_^ [19:59] elliottcable: So many awesome, sane people around Node.js. [19:59] elliottcable: compared to my experiences with, say, Ruby or Python or C or Cocoa. [19:59] fille: :D [20:01] postwait: bnoordhuis_: https://github.com/postwait/node-compress/tree/node_bug [20:01] postwait: busted.js is the test run [20:01] kulor-uk has joined the channel [20:02] Kichael: giving that a try context, thanks [20:02] bnoordhuis_: postwait: thanks! [20:03] Yoric has joined the channel [20:03] nerdfiles has joined the channel [20:03] AntelopeSalad has joined the channel [20:04] fille: i know this is not the right forum just wondering if anyone here got any experiance in java cms openCms [20:04] nerdfiles has joined the channel [20:05] kristsk has joined the channel [20:05] anaio has joined the channel [20:06] kristsk: hi there. [20:07] kcbanner: xmpp powered microblogging, woo! https://github.com/kcbanner/botlog [20:07] Kichael: hmmm, still: Exception: Could not find a JavaScript runtime. [20:07] kcbanner: writing an xmpp bot with node was pretty fun [20:07] patzak has joined the channel [20:07] Wizek has joined the channel [20:07] Kichael: maybe I'm adding it to the .profile wrong? [20:08] kristsk: if i have a some git based project started earlier and now i want to github it, should i keep previous commit log or just start there anew? [20:09] taf2: keep [20:09] jameson: so git-bisect is backgracking to see when a bug was introduced [20:09] jameson: it there a reverse of that? [20:09] jameson: *backtracking [20:09] unvamp has joined the channel [20:09] jameson: like go back to see when someone was fixed (as current is fixed) [20:09] bnoordhuis_: jameson: to find out when a bug was fixed? [20:09] jameson: yeah [20:09] kristsk: but it looks like a mess :/ and i won't have license headers in older versions [20:09] jameson: this is for the tls bug [20:09] bnoordhuis_: jameson: right - just invert the test script :) [20:10] jameson: O_o! [20:10] kristsk: or it really does not matter that much? [20:10] jameson: bnoordhuis_: I did not think like that [20:10] TheJH: is v8bot offline? [20:10] jameson: i will give that a try, thanks :) [20:11] nerdfiles has left the channel [20:11] mhauri has joined the channel [20:12] cjm has joined the channel [20:12] jimmyrcom has joined the channel [20:13] Hinton has joined the channel [20:14] kbni has joined the channel [20:15] lyth has joined the channel [20:16] mahna has joined the channel [20:17] adambeynon has joined the channel [20:17] lyth: Does anyone know how to run an individual unit test under the node project? I've forked, checked out and .configured. When I run "make test" all of the tests run. Are there any flags I can type in to run only a single test like "make test/simple/test-fs-read.js" ? [20:17] blup has joined the channel [20:18] taf2: does node test/simple/test-fs-read.js work? [20:18] context: run it ? [20:18] Sanscock has joined the channel [20:19] niftylettuce has joined the channel [20:21] fille: just found the node.js animal : http://en.wikipedia.org/wiki/Will-o%27-the-wisp [20:21] Kichael: http://en.wikipedia.org/wiki/File:Will-o%27-the-wisp_of_Russia.jpg ? [20:21] KindWord: interesting new version of windows gonna have native support for javascript [20:21] nerdfiles has joined the channel [20:21] KindWord: javascript taken over :) [20:22] fille: kickael :D [20:22] dnjaramba has joined the channel [20:24] unlink has joined the channel [20:24] Kichael: is there a way to install nodejs through yum? [20:24] unlink has joined the channel [20:24] _fat has joined the channel [20:26] igl1 has joined the channel [20:27] bradleymeck: Kichael not directly you gotta install the prereqs then build from source [20:27] Tobbe: I was looking for some tutorials on node.js and found this: http://net.tutsplus.com/tutorials/javascript-ajax/learning-serverside-javascript-with-node-js/ But it seems to use a lot of old things that doesn't exist in newer APIs. So I tried to update it to run on 0.4.9. [20:27] Tobbe: This is what I've got: http://paste2.org/p/1514057 This is the warning I get: http://paste2.org/p/1514062 Why do I get that warning? Should I worry about it? [20:27] Tobbe: This is the html page I use to connect to the server: http://paste2.org/p/1514064 [20:27] mahna: lyth: Try: python tools/test.py simple/test-sys [20:28] Kichael: I'm going to retry it again, can't seem to get it to install for all users [20:28] charleyd has joined the channel [20:28] dgathright has joined the channel [20:29] fille: http://www.itworld.com/software/181989/rupert-murdoch-paid-wife-nearly-300k-myspace-china-strategic-adviser [20:30] lyth: turns you that "node test/simple/test-fs-read.js work?" does run the unit tests, but doesn't seem to run them through any sort of "assertion summary" so you don't actually see the success/fail summary at the end [20:31] lyth: interesting though, I wonder if there's a common file I can run [20:31] doctorm has joined the channel [20:33] doctorm: I'm trying to share a PHP session with node.js, and I have a cookie set to the wildcard ".domain.com". However, on foo.domain.com, I'm only getting cookies associated with foo.domain.com. I know cookies are sent through headers, so this isn't a node specific question, but has anyone dealt with this before or can see something obvious I'm overlooking? [20:34] bradleymeck: doctorm are you sure the cookie is being sent by the browser? [20:34] tswicegood has joined the channel [20:34] tauren has joined the channel [20:35] doctorm: bradleymeck: That's the thing, I think it's NOT being sent, and I really don't know why [20:35] doctorm: In chrome, I looked at the resources tab, and I see the .domain.com cookie being set, but not being sent. [20:35] fattytuna_ has joined the channel [20:35] bradleymeck: might be path, expiration, or incognito mode [20:36] doctorm: bradleymeck: Thanks, I'll look into those. Actually, I'm seeing some wordpress values not being set correctly, maybe that's messing with things, although all I need is the PHPSESSID cookie. [20:36] sbrekken has joined the channel [20:37] fattytuna__ has joined the channel [20:37] brettgoulder has joined the channel [20:37] mahna: lyth: Did you try it like this? python tools/test.py simple/test-fs-read That shows a summary, sort of, or blows up on assertion failure. [20:39] mcluskydodallas has joined the channel [20:39] lyth: @mahana - i'm running the tests right now. seems to work it I do "python tools/test.py simple" and "python tools/test.py simple/test-fs-read" seems to do *something* but didn't give me an error when I purposefully broke a test [20:39] lyth: @mahana - might have to recompile the tests or something [20:40] D-boy: http://matt.io/entry/uq :-( [20:40] D-boy: Why so bad? [20:40] lyth: @mahana - Oh wait! I'm wrong. python tools/test.py simple/test-fs-chmod worked perfectly [20:40] lyth: was a problem between keyboard and chair [20:40] bradleymeck: holy f a tiddlywiki [20:40] lyth: Thanks! [20:41] ericnakagawa has joined the channel [20:42] AvianFlu has joined the channel [20:43] bradleymeck: D-boy thats a question for nginx people [20:43] mandric has joined the channel [20:44] akiva: Hello all [20:44] akiva: Any express users here? [20:44] Cleer: try #express [20:45] akiva: ;) [20:45] Mrfloyd has joined the channel [20:47] DetroitOwnz: bradleymeck: Okay [20:49] fattytuna has joined the channel [20:50] fattytuna_ has joined the channel [20:50] Talon_ has left the channel [20:51] ben_alman_ has joined the channel [20:51] ericnakagawa_ has joined the channel [20:51] tsutton has joined the channel [20:51] materialdesigner has joined the channel [20:52] kristsk has joined the channel [20:52] chrischris has left the channel [20:52] greg__ has joined the channel [20:53] devrim has joined the channel [20:53] gazumps has joined the channel [20:53] greg__ has joined the channel [20:53] ash__ has joined the channel [20:53] ash__: hi guys [20:54] ash__: just wondering, are there any workflow engine implementation/integrations that i can use for node.js? [20:55] context: so.... socket.io kind of sucks. anyone know a lib that lets you do a websocket client on the server side [20:56] TheJH: context: why does socket.io suck? [20:56] context: from what i see you cant do io.connect() on the server side [20:56] TheJH: context: if you hadn't said that, I'd say socket.io-client [20:56] mandric has joined the channel [20:56] context: just listen. [20:56] DetroitOwnz: TheJH: Because it's not secure. [20:57] bradleymeck: you can add security but browsers will fight you to the death and make sessions hard [20:57] TheJH: DetroitOwnz: as in "can be sniffed and manipulated"? [20:57] context: ahh kk [20:57] DetroitOwnz: TheJH: As in, can be used as a DoS vector. [20:57] context: why not just have a connect() in socket.io itself [20:58] devrim has joined the channel [20:58] context: ReferenceError: document is not defined [20:58] context: yeah. no client on server side [20:59] TheJH: context: sure? did you do "require('socket.io-client')"? [20:59] asabil has joined the channel [20:59] context: yes. [20:59] futuredarrell has joined the channel [20:59] tauren has joined the channel [20:59] context: io.connect() gives me document undefined [20:59] context: like its for the browser... [21:00] context: The socket.io client is basically a simple HTTP Socket interface implementation. It looks similar to WebSocket [21:01] context: i want to connect to a websocket FROM node [21:01] context: not the browser. [21:01] sandstrom has joined the channel [21:01] sandstrom has joined the channel [21:01] devrim has joined the channel [21:02] `3rdEden: TheJH context the socket.io-client is ready for node yet [21:02] context: module list... only thing listed 'websocket server' .. server .. server .. server [21:02] `3rdEden: so it will fail, hard. [21:02] context: i mean serious... you make a websocket server but you cant add a client to the lib ? [21:02] TheJH: `3rdEden: was that a typo? "is ready for node yet" [21:02] `3rdEden: context you can checkout out our websocket test suite, to see how we connect [21:02] context: kind of sad to be honest. [21:02] `3rdEden: TheJH yup [21:02] dnjaramba has joined the channel [21:03] `3rdEden: context Y U NO GOOGLE [21:03] n00dles has joined the channel [21:03] context: i am ? [21:03] `3rdEden: oh [21:03] `3rdEden: https://github.com/pgriess/node-websocket-client [21:04] context: there we go ! [21:04] `3rdEden: thats the module we use in socket.io to generate a connection with the server (for unit testing) [21:05] skohorn has joined the channel [21:05] devrim has joined the channel [21:05] context: ahh kk [21:06] context: `3rdeden: are there plans to add io.connect() to socket.io for the server side? [21:06] thalll has joined the channel [21:06] nerdfiles has joined the channel [21:06] `3rdEden: context it's on our todo list [21:06] n00dles has left the channel [21:07] nerdfiles has left the channel [21:07] `3rdEden: context see issue https://github.com/LearnBoost/socket.io-client/issues/208 [21:07] `3rdEden: if you want to keep track of the progress [21:12] gozala has joined the channel [21:12] jbpros has joined the channel [21:12] mraleph has joined the channel [21:13] context: thnx [21:13] bene1 has joined the channel [21:15] willwhite has joined the channel [21:17] yozgrahame has joined the channel [21:18] postwait: how do I force a v8 GC cycle from Javascript? [21:19] Tobbe: I'm using http.get to get a page. But I need to send a cookie with the get request. I know I send the cookie as a part of the headers, but I need a bit more detailed help than that. Can someone give me some pointers please? [21:22] AvianFlu_ has joined the channel [21:22] TheJH: postwait: why do you want to do that? I'm almost sure that you can't [21:23] postwait: TheJH: I'm trying to debug a memory leak. [21:23] taf2: writing some tests using vows... is there a good way to determine when all vows have run? i have a little clean up i need to do to kill some open connections [21:25] TheJH: postwait: you can start node with something like "--expose-debug-as=debug" (don't remember the exact name), and the the garbage collection will happen much faster as a side effect. it also allows cou to trace back from where something gets referenced [21:25] TheJH: *allows you [21:25] jrabbit has left the channel [21:25] TheJH: postwait: so you can really walk back the reference chain until you see a socket or an interval or the global variable or so [21:26] mehtryx has joined the channel [21:28] TheJH: Tobbe: look at http://nodejs.org/docs/v0.5.0/api/http.html#http.request, I think that this should work: http.get({host: "google.com", path: "/foo", headers: {Cookie: 'foo=bar'}}, cb) [21:28] postwait: TheJH: I'm trying to reconcile valgrind output. [21:28] greg__ has joined the channel [21:29] darshanshankar has joined the channel [21:29] Wa has joined the channel [21:29] TheJH: postwait: manually looking for leaks and jslint didn't reveal anything? [21:30] kawaz_ has joined the channel [21:30] bosphorus has joined the channel [21:31] bnoordhuis_: postwait: https://github.com/bnoordhuis/node-profiler/blob/master/profiler.cc#L20 [21:31] colwilson has joined the channel [21:31] tmedema has joined the channel [21:31] SubStack: harth: you should turn that gist into node-stalker [21:31] bnoordhuis_: postwait: v8 has a built-in extension but i don't think it's enabled by default [21:31] TheJH: postwait: just looked it up, "--expose-debug-as=debug" has faster gc as a side effect [21:31] postwait: nice... I may resort to that. [21:32] harth: SubStack: hahah, is that not already taken? [21:32] tmedema: I'm puzzled. I'm getting this stack trace: https://gist.github.com/1076841, you can see line 43 here: https://github.com/tommedema/NodeBasicFFmpeg/blob/master/src/ffmpegProcessor.js#L43 - how is it possible that outputStream is null if I just checked for it to not be null? [21:32] postwait: This node-compress stuff is a fucking disaster. [21:32] SubStack: hah it is [21:32] harth: SubStack: it is hopefully going to turn into something non-stalkerish [21:32] TheJH: postwait: *advertisement* did you already see my node module for debugging memory leaks? https://github.com/thejh/node-assertvanish [21:32] postwait: So, I've changed it to output buffers. making it usable) [21:32] postwait: fixed the hangs... making it usable. [21:32] jesusabdullah: haha [21:32] postwait: And now, it leaks. [21:33] devongovett has joined the channel [21:33] bnoordhuis_: postwait: tracking down memleaks with node/v8 is hell [21:33] bnoordhuis_: there's a lot of memory that is never free'd [21:33] postwait: I'm not concerned about unfreed memory, I'm concerned about lost memory. [21:33] colwilson: Hi people. I'm very new to Node.js. I can't get the hang of the way paths work for node_modules and I can't find the docs. Can anyone point me in the right direction Please? [21:34] realazthat has joined the channel [21:34] jesusabdullah: harthur, substack: It'd be cool to make some infographics about github's demographics in general, depending on what data you can find/infer [21:35] TheJH: colwilson: from the npm docs: https://github.com/isaacs/npm/blob/master/doc/folders.md [21:35] jesusabdullah: er, harth [21:35] bnoordhuis_: tmedema: it's not your stream that is null, i suspect that http.js is trying to call something that is null [21:35] jesusabdullah: that's right, you're harthur on the githubs DERP [21:35] mahna: colwilson: Does this help? http://blog.nodejs.org/2011/03/23/npm-1-0-global-vs-local-installation/ [21:35] jesusabdullah: I should get into infograffixxx [21:36] tmedema: bnoordhuis_: interesting, as I do not see how my child process is related to HTTP in any way.. [21:36] jesusabdullah: well, maybe infograffix, the xxx sounds like it would offend my sensibilities [21:36] tmedema: are streams related to http.js? [21:36] TheJH: tmedema: dumb question: are you sure that the version on github and the one that gave you the stacktrace are the same? [21:36] Tobbe: TheJH: Thanks, I'll try that [21:36] colwilson: Ha TheJH already I see "Install it locally if you're going to require() it. Install it globally if you're going to run it on the command line." which helps. thanks. Thanks also mahna [21:36] tsutton has joined the channel [21:36] Finnify has joined the channel [21:36] tmedema: TheJH: yes, looks like it was not the stream that is null [21:37] harth: jesusabdullah: true, I hope to make something useful out of the data [21:38] bnoordhuis_: tmedema: no [21:38] bnoordhuis_: (as in, not related) [21:38] tmedema: bnoordhuis_: I remember now that my stream is actually a http response. This is a writable stream. Since the stream is set, the server response should not be null either.. weird. [21:38] Finnify: Howdy, we are using node-http-proxy but calling close() does not seem to acutallly stop the http proxy server. Any ideas? Here is the code: http://pastie.org/2198885 [21:38] rick-_ has joined the channel [21:38] devrim has joined the channel [21:39] rook2pawn has joined the channel [21:39] colwilson has left the channel [21:39] riven` has joined the channel [21:40] WebGear has joined the channel [21:41] postwait: no leak... tail chasing can stop now. [21:41] jesusabdullah: harth: Awesome! Do you do much infographic stuff? I really like that kinda thing, so if yeah I wanna see :D [21:42] Tobbe: TheJH: like this? http://paste2.org/p/1514983 [21:42] brianseeders has joined the channel [21:42] Tobbe: Doesn't seem to work [21:42] brianseeders has joined the channel [21:43] Tobbe: I get a 403 page [21:43] Tobbe: But I don't know if that's because of a bad SID or because there's something wrong with the cookie [21:43] harth: jesusabdullah: I don't usually, or ever really, so it should be interesting. [21:44] riven has joined the channel [21:44] lor__ has joined the channel [21:45] rfay has joined the channel [21:45] teknopaul has joined the channel [21:47] devrim has joined the channel [21:47] radiodario_ has joined the channel [21:47] tdegrunt has joined the channel [21:47] Murvin: Ohh.. just notice that Nodejs page is changed. lol :) [21:48] SubStack: they got rid of the tiny clouds [21:48] mikey_p: apparently they wanted to build bigger clouds? [21:49] Murvin: thunder clouds [21:49] bene1 has left the channel [21:51] jesusabdullah: I miss the clouds too [21:51] jesusabdullah: I liked the old logo actually <3 [21:51] jerrysv: i miss the old logo [21:52] jerrysv: i don't like the new one [21:52] jesusabdullah: but I also think that people just get used to things, and that in 6 months we'll all be hip with the new one [21:52] jesusabdullah: like every time facebook redesigns [21:53] jhurliman has joined the channel [21:53] mikedeboer has joined the channel [21:53] Hamms has joined the channel [21:54] AvianFlu_ has joined the channel [21:54] jtsnow has joined the channel [21:56] jerrysv: i like the latest look for fb, and that new circles thing they added [21:57] jesusabdullah: oh, and the name change to google+? [21:57] jesusabdullah: I SEE WHAT YOU DID THERE [21:59] [[zzz]] has joined the channel [22:00] elifou has joined the channel [22:01] jimmyrcom has left the channel [22:01] nerdfiles has joined the channel [22:03] taf2: hoping for some encryption help... https://gist.github.com/1076907/ [22:03] pHcF has joined the channel [22:04] fdenbow has joined the channel [22:04] taf2: the first sample file is just a partial extract of a binary wave file... [22:04] taf2: i'm testing encrypting that wave file, and then decrypting it using the same key [22:05] taf2: but clearly in doing some of the file io i'm losing the binary data... maybe i'm encrypting or decrypting incorrectly? [22:05] taf2: any ideas? [22:05] devaholic: what is the problem [22:05] devaholic: oh [22:05] taf2: the decrypted file is no the same as the original file [22:05] taf2: s/no/not [22:05] devaholic: dunno [22:05] taf2: inpecting and it looks like it's still encrypted... [22:06] devaholic: could maybe try async fs methods, but i dont want to give you bad info [22:06] taf2: yeah, might try that.... this is my test case in isolation... the async code had the same issue, so i extracted it as sync [22:07] devaholic: ah.. [22:07] taf2: not seeing the correct checksums... [22:07] devaholic: can you add in some assertions and find out where [22:08] devaholic: like more than just the one at the end [22:09] taf2: yeah, i guess i can try another language and do the same routines and compare first the encryption and then compare the decryption... see if i get different results? [22:09] fostah has joined the channel [22:10] systemfault has joined the channel [22:10] systemfault has joined the channel [22:10] groom has joined the channel [22:10] fostah|2 has joined the channel [22:10] taf2: hrm.. so in ruby the cipher needs a iv set as well? [22:11] [[zzzz]] has joined the channel [22:12] tchype has joined the channel [22:12] taf2: ooh [22:12] taf2: you know what... openssl in ruby is saying my key length is too short! blam! i bet that's it [22:13] c4milo1 has joined the channel [22:14] taf2: is there an easy way to convert a base64 encoded string to it's original encoding [22:14] WebGear has left the channel [22:15] rook2pawn has joined the channel [22:15] bluebit has joined the channel [22:15] tchype has left the channel [22:15] weezle_ has joined the channel [22:16] devaholic: dont do ruby, sorry [22:16] taf2: yeah, was asking in node.js [22:16] patzak_ has joined the channel [22:16] patzak_ has joined the channel [22:18] context: taf2: do you know the original encoding? [22:18] taf2: binary [22:18] taf2: wave file audio file [22:18] context: you can use Buffer i imagine [22:19] level09 has joined the channel [22:19] tomtomaso has joined the channel [22:20] taf2: context, or if i'm reading a file that is Base64 encoded and want to get it's original encoded binary data back... [22:20] taf2: so.. i create a cipher key in one language and write it to disk [22:20] taf2: and in node.js read from disk [22:20] taf2: and create a cipher [22:21] taf2: hrm.. okay that issue is a no op [22:21] taf2: reading the file and calling toString('binary') works [22:22] taf2: still no dice on matching the encryption though... [22:23] taf2: do i need to do something with setting the iv ? [22:23] aliemmo has joined the channel [22:24] wookiehangover has joined the channel [22:25] context: maybe your key length IS to short? [22:25] context: base64 => binary is gonna be even shorter. [22:26] CIA-110: libuv: 03Igor Zinkovsky 07master * r2e49cc5 10/ (5 files in 3 dirs): [22:26] CIA-110: libuv: Rename uv_pipe_create to uv_pipe_bind. [22:26] CIA-110: libuv: Fixes issue #97. - http://bit.ly/mQjLy9 [22:26] cafesofie has joined the channel [22:26] taf2: context, so here's what i'm doing... i updated my gist: https://gist.github.com/1076907/ [22:26] taf2: added another script to generate a cipher.key [22:27] taf2: and also encrypt the same file for verification [22:27] taf2: then i modified my crypt.js code to fs.readFileSync('cipher.key').toString('binary'), i md5sum( the binary string to verify the keys match ) [22:27] context: uhh [22:28] context: you picked the key in node, then expect a random key to properly decrypt it? [22:28] taf2: no, i picked the key in ruby, then read the key in node [22:28] taf2: i encrypt the file in ruby as a verification... because in node as the crypt.js file shows the decrypted version is not matching the original file [22:28] context: no. in node your cipher key is '1233322819' [22:28] taf2: here i'll update that... [22:29] taf2: context, refresh sorry i fixed the too short key issu [22:29] taf2: now i'm reading that key from the generated key file in ruby [22:29] taf2: and offline ran md5sum on the cipher.key file to compare the in memory version and the checksums matched [22:29] taf2: but the decryption is still not working [22:30] taf2: and the encryption is not matching in ruby with node.js [22:30] chrischris has joined the channel [22:30] madzak has joined the channel [22:31] ezmobius has joined the channel [22:32] context: i think it might want something else for the key [22:32] perlmonkey2 has joined the channel [22:32] context: taf2: maybe try with a non-random binary key [22:33] context: and the output shouldn't match, it'll prolly be different (should be) every single time its output im pretty sure [22:33] DetroitOwnz: Anyone used Tarsnap to backup their site? [22:34] taf2: context, okay, trying that also figured out the iv value can be set... it's the last param of the createCipher method [22:34] taf2: and it's optional [22:34] taf2: i need to run... gotta get dinner with the kids [22:34] taf2: context, thanks, i'll have to investigate further later tonight [22:36] context: taf2: and check the update() methods, for more control over input/output encodings [22:36] teknopaul has joined the channel [22:36] jacobolus has joined the channel [22:37] nerdfiles has joined the channel [22:39] tauren has joined the channel [22:40] niftylettuce: which module is best to use for dns/domain lookup, default 'dns'? [22:40] AvianFlu has joined the channel [22:41] context: taf2: im able to go from utf8->hex back and forth in node [22:41] blup has joined the channel [22:41] mraleph has joined the channel [22:42] bnoordhuis_: niftylettuce: yes [22:42] niftylettuce: bnoordhuis_: thank you [22:44] llrcombs has joined the channel [22:44] incon: it's hard to make out what the last letter in the new logo is... [22:44] eveningsky has joined the channel [22:44] context: whow ! the repl lets you make your own commands. thats pretty awesome [22:46] eveningsky has joined the channel [22:46] devaholic: incon, i have the feeling the next "evolution" is going to be to drop all the letters and just have that n [22:47] devaholic: or maybe the n and the js? [22:47] context: or not [22:48] devaholic: okay... [22:49] cccaldas has joined the channel [22:50] Sorella has joined the channel [22:50] rfay has joined the channel [22:51] aurojit has joined the channel [22:51] Poetro_ has joined the channel [22:51] Poetro_ has joined the channel [22:53] dmcquay_ has joined the channel [22:55] kakamba has joined the channel [22:55] Melkor___ has joined the channel [22:55] Murvin: I have session question. if I don't specify the datastore, where the session cookie be stored? [22:55] felixge has joined the channel [22:56] Kinbote: anyone use stylus-blueprint before? i can't get calls to mixins to work, not sure if i'm doing it right [22:57] Transformer has joined the channel [22:58] Nuck has joined the channel [23:00] Intel_iX has joined the channel [23:00] springmeyer has joined the channel [23:01] Intel_iX: can someone give me any clues as to why "fs.writeFileSync '~/test.txt', JSON.stringify ls", throws "Error: EBADF, Bad file descriptor '~/test.txt'" [23:05] jerrysv: intel_ix: no glob, so ~ isn't expanding [23:05] jerrysv: would be my guess [23:05] Murvin: is there any known issue of node or express on ubuntu vm? [23:07] Intel_iX: No what? [23:08] jerrysv: glob: http://en.wikipedia.org/wiki/Glob_(programming) - file expansion. ~ is an alias to your home directory that usually gets expanded with globbing [23:09] Intel_iX: I'm on mint os, that should work... [23:09] jerrysv: intel_ix: try "/home/intel_ix/test.txt" instead [23:10] Intel_iX: That works but [23:10] Intel_iX: it's not exactly going to do what I need that way [23:10] Intel_iX: Since every user would need to set a name [23:11] jerrysv: the problem is that globbing tends to happen at the language level, not at the os level [23:11] jerrysv: or at the shell level [23:11] skohorn has joined the channel [23:11] jerrysv: intel_ix: if you need glob functionality, isaacs wrote a module: https://github.com/isaacs/node-glob [23:12] janne has joined the channel [23:13] Intel_iX: It worked fine on cygwin... [23:13] jerrysv: maybe someone had a shim for cygwin? [23:14] akshatj has joined the channel [23:14] Intel_iX: I have no idea but [23:14] Intel_iX: that's kinda sucky... [23:15] jerrysv: then use glob, and it should do tilde expansion: GLOB_TILDE Expand tilde names from the passwd file. [23:15] ianward has left the channel [23:15] Intel_iX: it works on require fine... [23:15] sambao21 has joined the channel [23:16] jerrysv: don't know what to tell you, obviously it doesn't for fs.* [23:16] devaholic: Melkor__ couldnt help but notice the om.om [23:16] Intel_iX: Well that's weird... [23:17] saschagehlich has joined the channel [23:17] bnoordhuis_: Intel_iX: https://github.com/joyent/node/issues/1228 [23:17] simenbrekken has joined the channel [23:18] jerrysv: bnoordhuis: his appears to work with the non-glob version though [23:18] Renegade001 has joined the channel [23:19] tilgovi has joined the channel [23:19] tilgovi has joined the channel [23:20] bnoordhuis_: jerrysv: this was about the EBADF error [23:21] lightcap has joined the channel [23:21] mnaser has joined the channel [23:21] bnoordhuis_: jerrysv: i hadn't caught up to the glob thing yet :) [23:21] euforic: Is there a way to set file permissions for connect-form uploads ? [23:21] Lightdork has joined the channel [23:22] rurufufuss has joined the channel [23:23] secoif has joined the channel [23:23] stagas_ has joined the channel [23:23] patzak_ has joined the channel [23:23] jerrysv: bnoordhuis_: aha :) yeah, bad file descriptor, technically the same cause though [23:23] _fat has joined the channel [23:24] patzak has joined the channel [23:25] patzak_ has joined the channel [23:25] squeese has joined the channel [23:26] xfigue has joined the channel [23:26] Wizek has joined the channel [23:26] kriszyp has joined the channel [23:27] yhager has joined the channel [23:27] Murvin: tj here? [23:27] Murvin: any express guy here? [23:28] Intel_iX has left the channel [23:28] yhahn has joined the channel [23:29] tanepiper: Murvin: what;s up? [23:29] ezmobius has joined the channel [23:30] drudge: Murvin: also #express [23:31] Murvin: #express: I am running ubuntu 10.10 and I there are two issues that happened on that. but not on Ubuntu 10.04. 1) session. It seems that req.session.user isn't set. 2) res.redirect(); doesnt work. [23:32] unlink has joined the channel [23:32] jerrysv: heya tanepiper [23:33] techwraith has joined the channel [23:33] tanepiper: Murvin: check that headers aren't being sent in the body - i know I had recent issues with that on some macs browsing our site actually, caused the cookie to be re-written on each page load. I've actually yet to solve it, but only because i haven't had time :) [23:33] tanepiper: hey jerrysv [23:33] Murvin: like, when I do authentication and set the user: req.session.user = "murvin". It works in Ubuntu 10.04. but in Ubuntu 10.10, it is not set. i.e. in the next request, req.session.user is empty [23:33] tanepiper: it was actually jerrysv that noticed the issue :) [23:33] jerrysv: heh [23:34] jerrysv: i did make it work, eventually [23:34] ekryski: Not yet. no. When would you like to chat again [23:34] techwraith: isaacs: I'm trying to set up an npm registry for yammer, I've installed the app, now I'm trying to replicate the registry and I'm getting this error: {"error":"json_encode","reason":"{bad_term,<0.3780.0>}"} - any ideas? [23:34] tanepiper: oh so you did :) It was adding an image to yout linked in - hmm yea, i need to look at that [23:35] jerrysv: yup yup [23:35] d0k has joined the channel [23:35] tanepiper: your *supposed* to get an error page saying you're not worthy to TEDYourself if you don't have one ;) [23:35] tanepiper: if the plane has wifi i might try fix that on my 7h flight on wednesday :) [23:35] jerrysv: i think that might be the state that fails on safari [23:36] jerrysv: saw you were taking a vacation, where to? [23:36] tanepiper: Canada, going to stay with family for two weeks [23:37] jerrysv: nice. east/west? [23:37] euforic: Anyone know how to set the connect-form file upload permissions ? [23:37] devaholic: fred wilson speaks far too quietly [23:37] bluebit has joined the channel [23:37] tanepiper: West, Leamington [23:37] devaholic: oops, wrong chat [23:38] Murvin: tanepiper: I have just tried . It works on mac browsers (safari & chrome) with my Ubuntu 10.04. Session is set properly. and redirect works perfectly [23:38] Murvin: tanepiper: however, for macs browsers calling node.js serving running on Ubuntu 10.10. (32 bit). it doesn't work. req.session is not set. redirect doesn't work. [23:38] jerrysv: tanepiper: if you decide to take a trip south into portland, let me know [23:39] xandrews has joined the channel [23:39] tanepiper: oh west Ontario, not west Canada ;) [23:39] tanepiper: And I have to pay $14 at the gate to get into Themepark America (seriously!) [23:39] tanepiper: and give them 72 hours notice I want to enter [23:40] ditesh|cassini has joined the channel [23:40] tanepiper: Murvin: yea, i noticed the issue with mac browsers, both safari/chrome and firefox [23:40] elliott_w has joined the channel [23:40] jesusabdullah: darshanshankar: whatcha up to? [23:40] tanepiper: and specifically it only happened with one laptop as well, all the other macs were fine logging in [23:40] darshanshankar: jesusabdullah: just workin as usual [23:40] darshanshankar: yourself? [23:40] Murvin: tanepiper: hmmm with server running on ubuntu 10.10? [23:41] mandric has joined the channel [23:41] willwhite has joined the channel [23:41] tanepiper: 11.04 actually, it was on a local dev copy running over the intranet, and on our EC2 microinstance [23:41] jerrysv: ontario. haven't been there. [23:42] balaa has joined the channel [23:43] jesusabdullah: darshanshankar: Having a slow start today, wondering how late you would be at work [23:44] tanepiper: it's nice, supposed to be 31c this weekend :) compared to 18c and raining here near Edinburgh Scotland :) [23:44] darshanshankar: jesusabdullah: til about 1-2am [23:45] jesusabdullah: Oh, no shit? Alright, I'll probably go up that way in an hour or so, then [23:45] jesusabdullah: if that's still cool [23:45] darshanshankar: actually [23:45] jesusabdullah: I have this thing I want to fix first [23:45] darshanshankar: im heading home for dinner in a bit [23:45] jesusabdullah: Oh, okay [23:45] darshanshankar: ill be back in the office by about 8pm [23:45] darshanshankar: does that work? [23:45] elliott_w has left the channel [23:45] jesusabdullah: Yeah, that's fine [23:45] jesusabdullah: means I can get dinner myself [23:45] nerdfiles has left the channel [23:45] darshanshankar: cool [23:48] TheFuzzball has joined the channel [23:49] erobit has joined the channel [23:52] hassox has joined the channel [23:52] mike5w3c has joined the channel [23:56] Chris-_ has joined the channel [23:56] nerdfiles has joined the channel [23:58] rchavik has joined the channel [23:58] rchavik has joined the channel