[00:00] mraleph: ryah_: ah. I just noticed that Anton did some nice tricks when he recently fixed External::Wrap... now on x64 it can wrap pointers from 0..32G without overhead.
[00:00] mraleph: sweet
[00:00] tilgovi has joined the channel
[00:00] micheil: mraleph: 32G as in 32GB's?
[00:01] mraleph: yep
[00:01] micheil: neat
[00:01] pyrotechnick has joined the channel
[00:01] pyrotechnick1 has joined the channel
[00:02] mraleph: not any pointer though... it should be 8 bytes aligned... which is usually true. I guess malloc even returns 16 bytes aligned memory
[00:02] djanowski has joined the channel
[00:02] ryah_: mraleph: i actually did this because i had a lot of Weak links around
[00:02] ryah_: not so much because of the overhead of External (although, I optimized that too)
[00:03] ryah_: and we've observed allocation of these ObjectWraps (Weak + External) to be slow
[00:03] mraleph: btw. if you accidentally create weak handle for Smi --- you are toast
[00:03] mraleph: this weakhandle will never die
[00:04] mraleph: I just understood that recently
[00:04] ryah_: okay - im pretty sure i never do that
[00:04] stagas: is the process.stdout readable?
[00:04] ryah_: stagas: no
[00:04] ryah_: stagas: process.stdin is
[00:05] mraleph: well. External::Wrap can return a SMI if you put that into Handle --- booom
[00:05] mraleph: rather not boom, but leak
[00:05] arpegius has joined the channel
[00:06] ryah_: we dont weak ref the external itself
[00:06] ryah_: https://github.com/ry/node/blob/b8879d64dd4280915e47f17142e38ce9bb220bde/src/node_object_wrap.h
[00:06] ryah_: actually use Set/GetPointerFromInternalField
[00:06] ryah_: no Externals
[00:06] bingomanatee: ryah_: have noogle's digestion of the IRC chat in the can - should have a UI / POC by end of week
[00:06] mraleph: ah. then no problem
[00:07] mraleph: weakhandles are pain for GC
[00:07] stagas: ryah_: would be handy to be able to read stdout from within the process though :)
[00:08] ryah_: mraleph: i've heard that - i guess that's where i thought the win would be
[00:08] ryah_: dealloc manually instead of on the weak-ref callback
[00:09] creationix: bingomanatee: where is the meetup on Thursday?
[00:09] creationix: up in SF?
[00:10] bingomanatee: Well I was going to try and see who was coming and where they were based - are any other attendees there? If the median place is San Mateo where I work I'll just hold it there. Otherwise I'll suggest 21st amendment.
[00:10] bingomanatee: I'll throw a poll up on the site and see what people like.
[00:11] bingomanatee: Can you make it?
[00:11] creationix: bingomanatee: possibly
[00:12] bingomanatee: I was hoping you could assistant - admin the site and help get the south bay scene together
[00:14] davidc_ has joined the channel
[00:16] creationix has joined the channel
[00:16] bingomanatee: So I thew up a poll -- if people could let me know where they're based it would help me to pick out a locale
[00:16] JusticeFries has joined the channel
[00:23] CIA-89: node: 03Ryan Dahl 07master * rb22b5e3 10/ (lib/net.js test/simple/test-net-server-try-ports.js): listen/bind errors should close net.Server - http://bit.ly/fi5iUS
[00:23] robotarmy has joined the channel
[00:23] creationix: bingomanatee: hm, am I supposed to get an email?
[00:24] CIA-89: node: 03Ryan Dahl 07pointer_bindings * r076b8b1 10/ (lib/_io_watcher.js src/node_io_watcher.cc): ... - http://bit.ly/i9r8re
[00:24] PhatBoyG has joined the channel
[00:26] Ori_P has joined the channel
[00:27] void_ has joined the channel
[00:29] k3yvn has joined the channel
[00:29] tlrobinson has joined the channel
[00:29] tlrobinson1 has joined the channel
[00:31] skm has joined the channel
[00:34] bingomanatee: I just sent out a notification as to location to all attendees
[00:34] bingomanatee: Who did you sign up as?
[00:36] JusticeFries has joined the channel
[00:39] creationix: bingomanatee: I never RSVPed
[00:39] creationix: I guess that's why
[00:39] creationix has left the channel
[00:40] ollie has joined the channel
[00:41] kawaz_air has joined the channel
[00:42] PhatBoyG has joined the channel
[00:46] davidascher has joined the channel
[00:48] devdrinker has joined the channel
[00:49] skm has joined the channel
[00:49] muk_mb has joined the channel
[00:49] eazyigz has joined the channel
[00:50] piscisaureus: v8: String.fromCharCode(127)
[00:50] v8bot: piscisaureus: ""
[00:50] piscisaureus: 127.toString(16)
[00:50] piscisaureus: v8: 127.toString(16)
[00:50] v8bot: piscisaureus: SyntaxError: Unexpected token ILLEGAL
[00:51] piscisaureus: v8: (new Number(127)).toString(16)
[00:51] tanepiper: whats the best way to output to console and not just keep outputting, but update existing likes (for example memory usage)
[00:51] v8bot: piscisaureus: "7f"
[00:51] tanepiper: *likes = lines
[00:51] Bosmon2: They really need to improve syntax diagnostics in V8....
[00:52] piscisaureus: v8: '\b'.charCodeAt(0)
[00:52] v8bot: piscisaureus: 8
[00:53] piscisaureus: v8: new Number(26).toString(16)
[00:53] v8bot: piscisaureus: "1a"
[00:55] piscisaureus: v8: 'a' > 'A'
[00:55] v8bot: piscisaureus: true
[00:55] piscisaureus: v8: 'a' > 'B'
[00:55] v8bot: piscisaureus: true
[00:58] fallsemo has joined the channel
[00:59] briznad has joined the channel
[00:59] piscisaureus: v8: var a = 4; if (a == 4) { a = 5; break; a = 5 }; a
[00:59] v8bot: piscisaureus: SyntaxError: Illegal break statement
[01:00] maushu: It's just me or node.js docs are getting uglier and unglier?
[01:01] Ond: They are
[01:02] ryah_: :(
[01:02] squeeky: Documentation is hard - let's go bowling
[01:02] ryah_: well - patches accepted
[01:02] Naked has joined the channel
[01:03] maushu: ryah_, have you making the docs uglier?
[01:03] thedjinn has joined the channel
[01:04] maushu: If yes, then please, go back to coding. Your skill isn't strong on this one.
[01:04] desaiu has joined the channel
[01:04] desaiu has left the channel
[01:04] PhatBoyG: My fav line: we take patches.
[01:04] desaiu has joined the channel
[01:04] ryah_: maushu: heh
[01:04] maushu: PhatBoyG, better: "We accept patches, any little patch helps. Please?"
[01:05] Ond: I actually thought the 2.x docks were fine, maushu
[01:05] squeeky: certain somewhere else has a line of "WELL VOLUNTEERED".
[01:05] Ond: I mean, these are fine too. The information is there.
[01:05] Ond: Just not as navigable
[01:05] maushu: Ond, those are the original docs.
[01:05] ryah_: i've been playing with the css, yes
[01:05] maushu: Well, original as it's not plain text.
[01:05] theloniousBot has joined the channel
[01:06] maushu: Playing with CSS? Madness. A friend of my summoned cthulhu while playing with his css. True story.
[01:06] tanepiper: Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn: 300px
[01:06] maushu: Exactly.
[01:08] PhatBoyG: V8: console.log('runs on ipad == ?');
[01:09] PhatBoyG: Meh I suck
[01:09] maushu: wut
[01:09] maushu: You want to run node.js on ipad?
[01:09] maushu: Good luck with that.
[01:10] PhatBoyG: Yeah. But can't jit code in iOS
[01:10] maushu: I thought they removed that.
[01:10] PhatBoyG: Not sure
[01:11] maushu: Well, you can make apps in javascript for ip* devices, using their safari website to home and html5...
[01:11] PhatBoyG: All the browsers use webkit
[01:12] cb2 has joined the channel
[01:13] eee_c has joined the channel
[01:13] PhatBoyG: Any one done any rules engine type stuff in js with node?
[01:13] maushu: rules?
[01:14] PhatBoyG: Yeah. Most are java like drools and Jess
[01:14] piscisaureus: v8: !!'\x00'
[01:14] v8bot: piscisaureus: true
[01:15] maushu: v8: !!'true'
[01:15] v8bot: maushu: true
[01:15] maushu: Now watch.
[01:15] maushu: v8: !!'fase'
[01:15] v8bot: maushu: true
[01:16] maushu: v8: !!'false'
[01:16] v8bot: maushu: true
[01:16] maushu: Drat.
[01:17] PhatBoyG: v8: parseFloat('12345678901234567890.1234567890');
[01:17] v8bot: PhatBoyG: 12345678901234567000
[01:17] blowery_off has joined the channel
[01:17] capndiesel has joined the channel
[01:18] brapse has joined the channel
[01:18] clarkfischer has joined the channel
[01:20] sprout has joined the channel
[01:21] mikew3c_ has joined the channel
[01:26] davidsklar has joined the channel
[01:27] blowery_off has joined the channel
[01:29] josephhitchens has joined the channel
[01:30] josephhitchens has left the channel
[01:31] nonnikcam has joined the channel
[01:31] zentoooo has joined the channel
[01:32] mikeal has joined the channel
[01:36] cmvondoom has joined the channel
[01:36] cmvondoom: hi
[01:37] cmvondoom: I'm having a problem compiling Node on CygWin
[01:37] nym has joined the channel
[01:37] cmvondoom: build failed task failed err #1 task cc ev.c -> ev_1.o
[01:37] nym: heya
[01:37] c4milo1 has joined the channel
[01:37] cmvondoom: can anybody help me?
[01:38] bartmax has joined the channel
[01:38] bartmax has joined the channel
[01:38] cmvondoom: hi
[01:38] cmvondoom: I'm having a problem compiling Node on CygWin
[01:38] cmvondoom: build failed task failed err #1 task cc ev.c -> ev_1.o
[01:38] cmvondoom: can anybody help me?
[01:38] dnolen has joined the channel
[01:40] nerickson has joined the channel
[01:41] cloudhead has joined the channel
[01:42] prettyrobots has joined the channel
[01:42] blowery_off has joined the channel
[01:44] Sidnicious has joined the channel
[01:46] ron_frown has joined the channel
[01:46] gartenst_ has joined the channel
[01:48] blowery_off has joined the channel
[01:49] zentoooo has joined the channel
[01:50] cloudhead: anyone got socket.io working with node's https server?
[01:50] jimt_ has joined the channel
[01:51] pyrotechnick has joined the channel
[01:51] pengwynn has joined the channel
[01:52] piscisaureus: ryah_: ping
[01:53] mscdex has joined the channel
[01:54] ryah_: piscisaureus: yo
[01:54] cloudhead: anyone got socket.io working with node's https server?
[01:54] piscisaureus: ryah_: is it difficult to "fix" js2c so somename-win32.js can be compiled in
[01:54] piscisaureus: ?
[01:54] piscisaureus: now it breaks because the dash makes the symbol name invalid in c
[01:54] ryah_: piscisaureus: uh
[01:54] ryah_: use underscores for now
[01:55] piscisaureus: ok
[01:55] cloudhead: I get "Object # has no method 'setNoDelay'"
[01:55] ryah_: i want to change to dashes
[01:55] ryah_: but i noticed that problem too
[01:55] piscisaureus: ryah_: underscores are ugly
[01:55] jimt has joined the channel
[01:55] ryah_: piscisaureus: i agree
[01:55] ryah_: cloudhead: oh - hm
[01:56] cloudhead: also setEncoding doesn't exist
[01:56] blowery_off has joined the channel
[01:56] cloudhead: removing those lines doesn't seem to solve the problem either though
[01:57] mikeal has joined the channel
[01:57] CIA-89: node: 03Ryan Dahl 07master * r4d0416c 10/ lib/tls.js : Add setNoDelay to cryptostream - http://bit.ly/dLhQEH
[01:57] ryah_: cloudhead: uh, setEncoding is a bit harder.
[01:57] ryah_: let me do that...
[01:57] devdrinker has joined the channel
[01:57] cloudhead: ah nice : D
[01:58] cloudhead: I hope that fixes the problem
[02:00] RushPL_: is it possible to cross-compile node on Linux, for Windows? I am thinking of Mingw ..
[02:00] RushPL_: I have tried but encountered a problem : /node/deps/libeio/eio.c:1608:58: error: 'ETIMEDOUT' undeclared (first use in this function)
[02:03] tlrobinson1 has joined the channel
[02:03] tanepiper: lol: http://wellbebackshortly.com/
[02:04] ryah_: cloudhead: curl https://gist.github.com/raw/785550/5d1339e57b24cc7ab5d7dc30088d4af9350799a6/gistfile1.txt | git am
[02:04] ryah_: cloudhead: in your node dir
[02:06] jashkenas has joined the channel
[02:06] nym: ryah_: is node your full time gig now?
[02:06] LoRe has joined the channel
[02:06] matt_c has joined the channel
[02:06] ryah_: nym: yes
[02:06] nym: :D
[02:07] nym: i'm doing node development again, but only in my spare time unfortunately
[02:07] tlrobinson has joined the channel
[02:10] blowery_off has joined the channel
[02:10] jashkenas: holy cow .. haven't got through it all yet, but this is very encouraging: http://brendaneich.com/2011/01/harmony-of-my-dreams/
[02:10] banjiewen has joined the channel
[02:10] masudio has joined the channel
[02:10] masudio: hello?
[02:11] squeeky: No, I didn't order the damn pepperoni pizza, it's those kids next door prank calling it in! Leave me alone!
[02:11] miccolis has joined the channel
[02:11] jacobolus has joined the channel
[02:12] ryah_: jashkenas: language people don't think far enough. if you're really going to change the language do something impressive
[02:12] cloudhead: ryah_: ty
[02:12] ryah_: cloudhead: does that work?
[02:12] liar has joined the channel
[02:13] jashkenas: ryah_: sure, but JavaScript is a very special case. The most stuck-in-time language of all time.
[02:13] ryah_: javascript is okay as it is
[02:13] ryah_: i'd rather have ti stay stable than worry about different versions
[02:13] piscisaureus: pquerna: got your message. I will respond soon.
[02:13] ryah_: i do, of course, hate it
[02:13] charlenopires has joined the channel
[02:13] masudio: hey, im having issues installing node, can anyone help me?
[02:13] c4milo1 has joined the channel
[02:14] ryah_: bsically the only interesting thing about javascript is that it's stuck in time :)
[02:14] piscisaureus: ryah_: it's sad that `exports = require('foo_win32')` does not work
[02:14] jashkenas: ryah_++
[02:14] v8bot: jashkenas has given a beer to ryah_. ryah_ now has 2 beers.
[02:14] masudio: anybody....
[02:14] jashkenas: that's what makes it what it is.
[02:14] pquerna: piscisaureus: awesome, thanks
[02:14] squeeky: 2? Cadbury.
[02:14] ryah_: piscisaureus: ?
[02:15] skm has joined the channel
[02:16] piscisaureus: ryah_: if i make make a foo.js that contains `exports = 4` then require('foo') == 4, right?
[02:16] RushPL_: when I do a require on 'http' what files does node look for?
[02:16] piscisaureus: or am I completely off the rails now?
[02:16] ryah_: piscisaureus: module.exports = 4
[02:16] RushPL_: I am thinking how to make a compact bundle
[02:17] ryah_: RushPL_: strace it
[02:17] RushPL_: sure .. :)
[02:17] pquerna: piscisaureus: exports = module.exports = function() {...}; is more generally how i've seen that done..
[02:18] ryah_: cloudhead: let me know if that works for you...
[02:18] ChrisPartridge: What's the best way to iterate over an objects properties? for(property in obj) {} ?
[02:18] cloudhead: ryah_: yea, patch applied, testing now
[02:19] mikeal: pkrumins: you around?
[02:20] piscisaureus: pquerna: that works: thanks
[02:20] pkrumins: mikeal: i am around
[02:20] cloudhead: ChrisPartridge: that's good if you have control over the object's creation, else use Object.keys()
[02:21] mikeal: i'll PM you
[02:21] robotarmy has joined the channel
[02:21] pkrumins: kk
[02:21] rwaldron_ has joined the channel
[02:23] ChrisPartridge: cloudhead: Thank you
[02:25] fairwinds has joined the channel
[02:26] boaz has joined the channel
[02:30] ryah_: cloudhead: the patch i sent you was broken
[02:30] CIA-89: node: 03Ryan Dahl 07master * r2f6cb66 10/ (lib/tls.js test/simple/test-tls-set-encoding.js): Add setEncoding to CryptoStream - http://bit.ly/eazGlw
[02:30] ryah_: cloudhead: incoming fix
[02:30] cloudhead: ryah_: yea I know
[02:30] cloudhead: I fixed it
[02:30] cloudhead: no more errors, but websocket still having problems
[02:31] ryah_: hm
[02:31] ryah_: it would be interesting to get that running
[02:31] cloudhead: it just disconnects after sending one message
[02:31] cloudhead: yea
[02:32] erlnoob has joined the channel
[02:32] sprout has joined the channel
[02:34] cloudhead: the handshake seems to happen properly
[02:34] cloudhead: but nothing after
[02:35] softdrink has joined the channel
[02:35] zomgbie has joined the channel
[02:35] kiddphunk has joined the channel
[02:40] sabalaba has joined the channel
[02:41] eee_c has joined the channel
[02:48] robotarmy has joined the channel
[02:49] jchris has joined the channel
[03:00] davidsklar has joined the channel
[03:11] cloudhead: ryah_: is stream.readyState available in tls?
[03:11] cloudhead: cause it looks like it's undefined, when it should have a value
[03:12] bingomanatee_ has joined the channel
[03:12] Eduardo_ has joined the channel
[03:12] Eduardo_: Hello everyone. Can you help me?
[03:12] bingomanatee_: Yes
[03:12] bingomanatee_: Eat more fish!
[03:14] Eduardo_: My problem is this http://pastie.org/1476068
[03:15] Eduardo_: in this function, it is executing the return id; before it define the id
[03:16] guybrush: Eduardo_: mv line 10 to line 8
[03:16] chrisdickinson: Eduardo_: your method will probably have to take a callback function
[03:16] bingomanatee_: aslmost.
[03:17] Eduardo_: how do I do it?
[03:17] bingomanatee_: chris is right.
[03:17] bingomanatee_: You need a callback function like on_get_id(id) and call it with the id from inside the anonymous function
[03:17] evanmeagher has joined the channel
[03:19] Eduardo_: uhm...
[03:19] Eduardo_: i will try it
[03:19] chrisdickinson: Eduardo_: here's an example using EventEmitter
[03:19] chrisdickinson: https://gist.github.com/9e7764c519630bf33fb9
[03:20] Eduardo_: Thank you!!!!!
[03:20] Eduardo_: Sorry, i know it was a dumb question, but i am newbie
[03:21] guybrush: everyone has to be a newbie first!
[03:21] Eduardo_: yes... I imagine the first newbie o.o
[03:21] Eduardo_: how did he learn
[03:22] dgathright has joined the channel
[03:24] bingomanatee_: as in http://pastie.org/1476091
[03:25] dgathright_ has joined the channel
[03:25] bingomanatee_: Actually, I started out smart and have been getting gradually dumber
[03:25] ph^ has joined the channel
[03:30] chrisdickinson: Eduardo_: the one thing to take away is that whenever you rely on a thing that takes a callback, to get a value back from it you need to figure out how to design your api to take a callback as well
[03:30] chrisdickinson: EventEmitters are one (particularly nice way) of doing that
[03:31] chrisdickinson: the simple way is just to take a callback function as an argument, and call it inside one of those inner functions when your result is ready
[03:31] devdrinker has joined the channel
[03:32] chrisdickinson: (hopefully that makes sense, I tend to make a mess of explaining things sometimes :)
[03:32] sudoer has joined the channel
[03:32] guybrush: also you might want to take a look into some tools which make it easy to handle async flow control (like step, node-seq and so on)
[03:35] Eduardo_: I got it chrisdickinson
[03:35] Eduardo_: thank you a lot
[03:36] chrisdickinson: no problem!
[03:36] devdrink_ has joined the channel
[03:37] Eduardo_: ph^
[03:37] ph^: mm
[03:38] dgathright has joined the channel
[03:38] polotek has joined the channel
[03:38] polotek: mikeal: hey
[03:39] polotek: the updated version of request isn't published to npm
[03:39] polotek: the one with the get, post shortcuts
[03:40] Tasser has joined the channel
[03:40] bingomanatee_: Hey guys - how do you feel about http://ngrsf.eventbrite.com/ as a setting for the first meeting?
[03:41] muk_mb has joined the channel
[03:41] Eduardo_: uhm... bingomanatee_ I read what you write and it makes much sense for me! I will use it! Thank you bingomanatee
[03:41] noahcampbell has joined the channel
[03:41] bingomanatee_: good for you. Pass it on.
[03:42] Eduardo_: o.o what is it bingomanatee
[03:42] cloudhead: ryah_: https://gist.github.com/785650 this seems to fix the WSS issue
[03:42] spetrea has joined the channel
[03:43] cloudhead: I had to set fd to a number to avoid the assertion errors.. not sure it's the best thing to do
[03:43] devdrinker has joined the channel
[03:44] JimBastard has joined the channel
[03:46] JimBastard: im outting everyones irc handles
[03:46] JimBastard: lol
[03:46] creationix has joined the channel
[03:47] skm has joined the channel
[03:47] mikeal: polotek: ok
[03:48] piscisaureus: ryah_: syn
[03:49] mikeal: i'll fix some more bugs and then publish
[03:49] creationix: evening everyone
[03:50] bingomanatee_: gooo EEEEEEEEEEEEEEEvening.
[03:50] jashkenas: 'evening.
[03:50] softdrink has joined the channel
[03:51] creationix: mikeal: I made a fake http.createClient function that uses curl under the hood, do you have some request + couch code I could use to test it?
[03:51] creationix: something that would help benchmark it
[03:51] mikeal: i don't have perf code, no
[03:51] mikeal: request has as tests directory
[03:51] mikeal: most of them talk to CouchDB :)
[03:51] piscisaureus: ryah_: please merge. can you ping me as you read this? otherwise I have to write an email...
[03:52] creationix: ok, I guess I'll just try node's built-in http client tests
[03:52] creationix: jashkenas: have you tried backbone with webos (or any mobile app) yet?
[03:53] piscisaureus: ACTION goodnight everyone. it is too late already.
[03:53] jashkenas: creationix: I haven't, personally. My phone is from 1999.
[03:54] creationix: jashkenas: it's more reliable that way
[03:55] Lorentz: I'd use my old phone, only if its battery didn't die.
[03:55] Lorentz: But it did, siiigh.
[03:55] bingomanatee_: <--- misses his Sprint razor
[03:56] admc has joined the channel
[03:56] Lorentz: Wish my phone did 3G though. Tethering with it is painfully slow.
[03:56] Lorentz: My "new" one, that is.
[03:57] jashkenas: lorentz: imma let you finish, but the samsung circa-1999 is the best phone of all time! http://cl.ly/466H
[03:57] kylefox has joined the channel
[04:00] SubStack: I remember the first time I saw a cellphone in 1993 in Portland at a baseball game.
[04:00] ossareh has joined the channel
[04:01] bingomanatee_: I grew up in Portland
[04:01] bingomanatee_: Wilson HS class of 94
[04:01] bingomanatee_: 84
[04:02] bingomanatee_: Where are you now SubStack?
[04:02] SubStack: hah I was in Kindergarten in 1993
[04:02] SubStack: bingomanatee_: Oakland
[04:02] bingomanatee_: Sweet - you coming to the Node.js meet on Thursday?
[04:02] SubStack: yep
[04:02] sudoer has joined the channel
[04:02] Lorentz: Never went to kindergarten, skipped it
[04:02] bingomanatee_: CU there.
[04:02] SubStack: I was in Alaska for 6 years, Eastern Washington for 8
[04:02] Lorentz: Wait, you mean there's a town called it?
[04:02] Lorentz: Damn
[04:03] SubStack: a town called "it"?
[04:03] bingomanatee_: Chowderheads
[04:04] polotek: creationix: are you using libcurl or child processes?
[04:04] SubStack: wheeee copyrects
[04:04] SubStack: ACTION prototypes an algorithm
[04:04] creationix: polotek: child process
[04:04] polotek: :( booo
[04:04] boaz has joined the channel
[04:05] pkrumins: bingomanatee_: i am also coming!
[04:05] bingomanatee_: awesome
[04:05] bingomanatee_: Bring your friends.
[04:05] pkrumins: SubStack is my friend!
[04:06] bingomanatee_: cool.
[04:07] saschagehlich_ has joined the channel
[04:08] ryah_: creationix: i heard your interview, it was great
[04:08] bingomanatee_: is it online?
[04:08] ryah_: creationix: you really explain it all so well :)
[04:08] skm has joined the channel
[04:09] kiddphunk has joined the channel
[04:10] sudoer has joined the channel
[04:10] ryah_: cloudhead: awesome!
[04:10] ryah_: piscisaureus: pong
[04:10] piscisaureus: ryah_: I already sent you an email :-)
[04:11] modular has joined the channel
[04:12] cloudhead: ryah_ yeh, I'm happy : )
[04:12] overra has joined the channel
[04:13] pkrumins: what's the url to creationix's interview?
[04:13] langworthy has joined the channel
[04:16] jashkenas: quick question ... what's the plan with util/utils? which is now canonical ... will both be supported forever?
[04:16] jashkenas: (I've been fielding a couple bug reports about it ...)
[04:18] rwhitby: pkrumins: my guess is http://herdingcode.com/?p=299
[04:18] polotek: ryah_: I'm confused. How would I use an assert to rethrow an error/
[04:18] polotek: ?
[04:19] polotek: basically if a callback returns with an error, I want the assert to fail and then see what the error was
[04:22] polotek: nevermind. I'm going to bed
[04:22] polotek: night folks
[04:24] ryah_: piscisaureus: !!!
[04:24] ryah_: piscisaureus: you did the whole thing :)
[04:25] sh1mmer has joined the channel
[04:25] tmzt: github is neat
[04:26] tmzt: didnt know it could do tracking branches online
[04:26] pkrumins: ha i was mentioned in that podcast! re 20 line proxy server in node.js :D
[04:27] piscisaureus: ryah_: yeah somebody had to do it :-)
[04:27] hornairs has joined the channel
[04:27] tmzt: bingomanatee_: you are old dude
[04:27] ryah_: piscisaureus: i've been procrastinating for days
[04:28] bingomanatee_: I'm a fucking dinosaur
[04:28] bingomanatee_: I was chewing on Hypercard stacks when your mom was wearing training bras
[04:29] EyePulp has joined the channel
[04:29] creationix: ryah_: which interview?
[04:29] shaver: I was hacking web servers when they were called gopher servers
[04:29] fairwinds: bingomanatee_: hehe, guess that old huh :-)
[04:29] warz has joined the channel
[04:29] bingomanatee_: My first business plan was recirculating music files on BBS's.
[04:29] bingomanatee_: When I was in grade school my first computer didn't have a monitor - it had green and white tigerstripe.
[04:30] creationix: oh, the herding code one
[04:30] Me1000 has joined the channel
[04:30] Lorentz: I do remember gopher
[04:30] bingomanatee_: I WROTE GOTOS BITCHES!
[04:30] fairwinds: heh
[04:30] Lorentz: I was doing colourful demo things with gwbasic
[04:30] Lorentz: It was fun
[04:31] rwhitby: heh, high level languages with goto's. recent stuff.
[04:31] benburkert has joined the channel
[04:32] dmcquay has joined the channel
[04:33] piscisaureus: ryah_: you can make it up to me by fixing util.inspect() so it calls setColor on a stream instead of emitting ansi codes :p
[04:34] fairwinds: bingomanatee_: was reading your wonderland blog today a bit
[04:34] bingomanatee_: thanks.
[04:34] bingomanatee_: Oddly enough nobody that ever hires me reads my blog.
[04:34] bingomanatee_: this town is fucked up.
[04:34] fairwinds: hehe
[04:34] balaa has joined the channel
[04:35] bingomanatee_: Actually manateebay.com is my main blog - thats my professional blog.
[04:36] fairwinds: yeah, just looking for more insight on authentication and authorization. I quite like express.
[04:36] bingomanatee_: At this point I think that just driving a site off facebook auth is good enough.
[04:36] fairwinds: trying to build on the mvc example
[04:36] bingomanatee_: me too.
[04:37] bingomanatee_: If you ever want to get your head together about a more robust MVC pattern in Node I'd love to hear your thoughts.
[04:38] bingomanatee_: One piece of advice I would posit is that the drupal model of multiple roles, each with permissions, is the best way to manage authorization.
[04:38] skm has joined the channel
[04:38] bingomanatee_: A lot of systems use single roles - one role per user - and that really paints you into a corner IMHO.
[04:41] fairwinds: I can integrate the authentication with connect-auth with regular routes like app.get('/', function(req, res) but having a bit more of an adventure with an integration in the mvc mapper
[04:41] tmzt: it would be awesome to have an mvc that can be actually understood without getting the the way
[04:42] tmzt: and the ability to map collections to orms as well as code/callbacks
[04:42] fairwinds: bingomanatee_: I am going to use an acl approach and will be using two middleware pieces
[04:42] tmzt: with the same syntax for describing routes
[04:42] richcollins has joined the channel
[04:42] bingomanatee_: I'm really motivated to get some of the good things of systems like drupal, joomla and sugarCRM without the fuckedness.
[04:43] tmzt: without being too dictatorial
[04:43] tmzt: just a framework that I can opt into
[04:43] bingomanatee_: I spent years trying to get a Zend Framework based analog of Drupal going but nobody wanted a piece of that project.
[04:43] tmzt: following unix philosophy
[04:43] tmzt: bingomanatee_: have you seen magento?
[04:43] bingomanatee_: heard about it - haven't seen it
[04:44] Lorentz: People aren't really into zf to do what drupal does, no.
[04:44] Lorentz: They're really in it for things drupal doesn't offer.
[04:44] tmzt: thats what it is, a presentations system based on Zend and xml files with an ecommerce focus
[04:44] perezd has joined the channel
[04:44] bingomanatee_: sounds cool.
[04:45] tmzt: its probably the best free cart out there
[04:45] Lorentz: Heard magento was a little too deviated from zf to really be called it.
[04:45] tmzt: and very customizable
[04:45] bingomanatee_: A lot of PHP people hate ZF - I actually kind of like it, but its tough to find PHP people who like its approach.
[04:45] tmzt: yeah its the object model
[04:45] Lorentz: bingomanatee_: Most php people just want to get something done, is probably why.
[04:45] tmzt: hah I just dont like php very much
[04:45] Lorentz: They don't want to sit around and be lectured on why zf doesn't have a "model" class.
[04:46] Lorentz: For instance.
[04:46] bingomanatee_: Thats fine - but frankly I've seen too many PHP people paint themselves into a corner.
[04:46] shaver: yeah
[04:46] tmzt: its a template language
[04:46] tmzt: trying to be oop
[04:46] bingomanatee_: Fuckit. Doctrine or whatever works fine with ZF.
[04:46] shaver: mostly my experience is that PHP is cornerpaint plus footgun
[04:46] bingomanatee_: I mean I took the Zupal ORM I wrote for Mongo and it works fine with ZF.
[04:46] tmzt: magento tries to be all model though
[04:47] tmzt: havent looked at zf itself
[04:47] creationix: ACTION is listening to himself on herding code and is amazed how much has changed since that recording
[04:47] pkrumins: creationix: awesome interview
[04:47] tmzt: so, node framework
[04:47] pkrumins: i am halfway thru
[04:47] bingomanatee_: creationix - whats your url again?
[04:47] tmzt: using modules and exports
[04:47] pkrumins: bingomanatee_: http://herdingcode.com/?p=299
[04:47] bingomanatee_: Node really does a lot of things right.
[04:47] fairwinds: the first to authenticate user/ set session. the second will just do a lookup in a list to determine a yes or no answer to allow. ie. an access control list will just hold a list of items like ['Allow','editor',['view','add']]
[04:47] tmzt: but more introspection than seems to be the norm
[04:48] creationix: lol "I mean... It's hard to run ruby code in the browser"
[04:48] fairwinds: the access control list is consulted for a route
[04:48] bingomanatee_: I'd much rather authhor a framework in Node than in PHP.
[04:48] tmzt: why not just a checkauth call back and an acl implementation that can be plugged in
[04:49] tmzt: or even make it possible to do it in the directory structure, authed vs unauthed
[04:49] tmzt: though if your really building a cms you need a more complete cms system
[04:49] tmzt: anybody solve cross-orm user and password management nicely?
[04:50] bingomanatee_: what I would really like to do is to work on a system of interchangable design by contract so that if you want you could template in PHP, model in Python, and control in Node .. or whatever.
[04:50] shaver: using something like thrift?
[04:50] tmzt: rabbitmq/zeromq based?
[04:50] shaver: oh, you mean in the same page flow
[04:50] bingomanatee_: sure
[04:50] tmzt: why template in php?
[04:50] bingomanatee_: just as an example.
[04:51] tmzt: model in python might be good
[04:51] bingomanatee_: I'm saying a strong communication protocal should be cross platform friendly
[04:51] tmzt: or a python like syntax
[04:51] tmzt: jade for data
[04:51] tmzt: Ive always wanted to do css for data
[04:51] tmzt: mostly I want a framework that lets be as lazy as I want to be
[04:52] bingomanatee_: for instance if you create a good schema model in JSON or YAML you should be able to render elements of it in a view through adaptive coupling or REST without caring about the nature of the system that satisfies the repository.
[04:53] bingomanatee_: I would like to think that a robust sytem should allow you to transport your system from MySQL to Couch or MongoDB when the nature of the data makes one system more optimal for your environment without having to premute the rest of the system.
[04:53] skm has joined the channel
[04:54] Floxxx: i'm looking for a way to copy a file on the filesystem synchronously, is there anything that can do this?
[04:54] bingomanatee_: if you read sync and write sync doesn't that basically do the same thing? just erase when you are done.
[04:55] bingomanatee_: However I would suggest that you consider abstracting file location to a database.
[04:56] Floxxx: well, thing is, i have to copy multiple files and "wait" until it's done before continuing
[04:56] bingomanatee_: If you keep the file where it lays and create a repo that allows you to change the key of the record that stores the files location wouldn't that basically be the same as moving the file on the hard drive?
[04:56] Floxxx: (can't use renameSync because it might be different partitions)
[04:57] Floxxx: hmm
[04:57] bingomanatee_: I suspect if you consider the way you are managing files you can figure out how to get the app to work without physically moving files, and it will work faster and be less error prone.
[04:58] bingomanatee_: There is no reason you have to mimic your organizational system of files with a physical file heirarchy.
[04:58] jimt has joined the channel
[04:58] piscisaureus: ryah_: there's a small fix coming, could be squashed with one of the other patches if you want
[04:58] Floxxx: it's a file upload, so filenames of the originals aren't unique
[04:59] bingomanatee_: oh - so the task is just re-filing the users' initial upload?
[04:59] Floxxx: yeh
[04:59] Floxxx: hmm, i guess i can use rename after all
[04:59] Floxxx: just upload the files to the same partition it ends up
[04:59] Floxxx: then do renameSync
[04:59] fairwinds: tmzt: my idea is to implement as middleware to attach to route ie. app.del('/user/:id', requireAuth, authorize(.. acl goes here..), function(req, res) {
[04:59] bingomanatee_: there you go.
[04:59] Floxxx: thanks for the thoughts :)
[05:00] pyrotechnick: logitech or razer?
[05:00] jacobrel_ has joined the channel
[05:00] shaver: logitech
[05:00] pyrotechnick: g 110/13/15/19/510
[05:00] pyrotechnick: ive had 3 g15s
[05:01] pyrotechnick: one new one and two old ones
[05:01] pyrotechnick: id rather low profile keys though
[05:01] shaver: K800 is low-profile
[05:01] shaver: but no fancy LCDs
[05:01] pyrotechnick: i dont really need the lcd but i wouldnt mind it
[05:01] pyrotechnick: do a game a little bit
[05:01] pyrotechnick: plus it's fun to hack on
[05:02] pyrotechnick: i might write node drivers
[05:02] ajpiano has joined the channel
[05:03] Lorentz: I assume this is a mouse question?
[05:03] Lorentz: Nothing like the good old mx700
[05:03] pyrotechnick: no keyboards
[05:03] Lorentz: Oh, right
[05:03] pyrotechnick: i have a few Lachesis, they're my favourite
[05:03] figital has joined the channel
[05:03] Prometheus: pyrotechnick: razer
[05:03] Prometheus: definitely
[05:03] pyrotechnick: hmm
[05:03] Prometheus: imperator is the best mouse I've had for a long time
[05:04] pyrotechnick: i want backlight keys and low profile that's it, anything else is a bonus
[05:04] tmzt: yeah a call back, but apparently express handles auth with next
[05:04] Prometheus: oh, you are talking about a keyboard?
[05:04] pyrotechnick: yes
[05:04] pyrotechnick: i already have lachesis's
[05:04] Prometheus: well, I've a wireless apple keyboard so..
[05:04] pyrotechnick: yeah i hate them
[05:04] blaines has joined the channel
[05:04] Prometheus: I like the razer keyboards
[05:04] Lorentz: A Model M!
[05:04] Prometheus: I haven't had a logitech in a long time
[05:04] Lorentz: Do iitttttt
[05:04] tmzt: somebody have a syntax for describing a hierarchy of objects in a url?
[05:04] pyrotechnick: if i have 2000 i'd buy an optimus
[05:04] tmzt: see if I can explain
[05:04] Prometheus: :)
[05:04] Prometheus: I saw optimus yesterday too
[05:04] brianc: creationix: evening
[05:05] Prometheus: kind of scary that someone would sell that kind of "art"
[05:05] Prometheus: and people buy it
[05:05] Lorentz: http://elitekeyboards.com/products.php?sub=topre_keyboards,rftenkeyless&pid=rf_se1700 <--- too bad it's out of stock
[05:05] pyrotechnick: im in australia
[05:05] pyrotechnick: oh man
[05:05] pyrotechnick: that's a nice keyboard
[05:05] pyrotechnick: straight outta 1980's
[05:05] tmzt: or is this generally done with middle ware?
[05:05] Prometheus: das keyboard ;)
[05:05] pyrotechnick: OMFG u can get the purple keys!
[05:06] pyrotechnick: that's so cool
[05:06] Prometheus: pyrotechnick: http://www.daskeyboard.com/
[05:06] Prometheus: the way to go
[05:06] pyrotechnick: but im not german
[05:06] Prometheus: so?
[05:06] Lorentz: Possibly Happy Hacking keyboards, but I don't like the way they lack ctrl keys.
[05:06] Prometheus: does it look german to you in the pics?
[05:06] tmzt: like get('::object/:id', object, function(req, res),
[05:06] Lorentz: And honestly, I never really liked cherry switches.
[05:07] Lorentz: (which DAS keyboards use, brown ones iirc)
[05:07] Lorentz: Or did they use blue, you might be able to pick and choose.
[05:07] Prometheus: an optimus keyboard would drive me nuts tho
[05:07] Prometheus: the displays on the keys flicker like crazy
[05:08] Prometheus: at least, in the previews
[05:08] Prometheus: but it could be just the camera :)
[05:08] Lorentz: Don't get blue cherry switches, they're loud as hell.
[05:08] Lorentz: I got my wife this: http://www.auspcmarket.com.au/info/KE-FKB104MC-EP/1838/
[05:09] Prometheus: pink?
[05:09] Lorentz: Blue switches was a bad idea, but it's the only decent pink keyboard in the world.
[05:09] Prometheus: good God :o
[05:09] mscdex: node.js rules!
[05:09] Lorentz: Filco keyboards are nice though.
[05:09] fairwinds: tmzt: app.get('/products/:id', function(req, res) is typical kind of route for a collection
[05:10] amerine has joined the channel
[05:10] Lorentz: http://www.auspcmarket.com.au/info/KE-FKBN87M-EB/1838/ <-- a nice tenkeyless, brown switches
[05:11] tmzt: sure but then you have to write all the functions
[05:11] Prometheus: Lorentz: seem tad expensive too, but I guess you get what you pay for
[05:11] bingomanatee_: \me finally got his TOS Enterprise the right shade of metallic grey
[05:11] bingomanatee_: ACTION dammit
[05:11] Lorentz: Prometheus: That's why I just got myself a Model M instead.
[05:11] Lorentz: Cheaper.
[05:11] tmzt: I mean get with and withoutids, all the sub fields you want map urls to etc
[05:11] Prometheus: well, I have a BT apple keyboard right now
[05:11] Prometheus: and I'm quite happy with it
[05:11] Prometheus: since I like the "laptop" feel
[05:11] tmzt: the last function would be optional and it would expose something on object instead
[05:11] derferman has joined the channel
[05:11] piscisaureus: you psychos
[05:12] bingomanatee_: ACTION likes his Logitech keyboard.
[05:12] piscisaureus: makes me think of http://www.youtube.com/watch?v=qoIvd3zzu4Y
[05:12] Lorentz: I can never go back to using rubbery keyboards, unless it's decent scissor switches, like my thinkpad keyboard.
[05:13] tmzt: or something like list(req, res) .entry(req, res) with params for things like id handled automatically
[05:13] Lorentz: HE EVEN HAS A WATERMARK
[05:13] Lorentz: Yes, it's like that with keyboards.
[05:14] briznad has joined the channel
[05:14] tmzt: and the route would map ::object to the object paramter but everything under it would also be mapped through the passed in object if a route existed for it
[05:14] tmzt: so ::object/ would be object.list()
[05:14] tmzt: ::object/id would be object.get(req.params.id, res)
[05:15] piscisaureus: something wrong, lorentz? you're sweating
[05:15] tmzt: if it returned an object instead of sending res.end() or whatever to the stream it would be treated recusrizvely
[05:16] tmzt: or ::object/::things/:id would be object.things.get(req.params.id, res)
[05:16] tmzt: then you can handle post to a collection, put and del on an :id
[05:16] tmzt: and even fields
[05:16] tmzt: and its all explicit
[05:17] creationix: brianc: I'm back
[05:17] tmzt: so on this you could have orm plugins that follow the same conventions and even handle pre and post callbacks with db access handled inbetween
[05:19] tmzt: if you preferred you could treat the subpaths the same way you do server
[05:19] tmzt: with things = new Path()
[05:19] bingomanatee_: By the way if anyone can figure out how to use node with mongoLabs - for some reason I used the christkov/native system and got shot down on auth.
[05:19] tmzt: things.list(), things,get(), etc.
[05:20] bingomanatee_: maybe someone from the mongoose crew might want to work with them... ?
[05:20] tmzt: and pass the resulting things to .get('::things/...',things,null) routes
[05:20] davidascher has joined the channel
[05:21] tmzt: so, different question, how would you use node with was s3 for storing simple data objects
[05:21] tmzt: aws
[05:23] brianc: creationix: sorry! I was scrolled way way up in the chat on accident and it showed you'd just said good evening and so I was reciprocating the greeting...unaware you had said what you said long before I replied. :)
[05:24] bingomanatee_: I dunno, creationix - not too much has changed - nobody still cares about windows people here :D
[05:26] evanmeagher has joined the channel
[05:30] whyme has joined the channel
[05:30] rudyl313 has joined the channel
[05:30] kylefox has joined the channel
[05:30] razvandimescu has joined the channel
[05:31] fairwinds: tmzt: there is an s3 library available. saw it the other day
[05:33] fairwinds: tmzt: http://thechangelog.com/post/2128784522/knox-s3-lib
[05:34] piscisaureus: Okay, for everyone who did listen to that podcast:
[05:35] piscisaureus: - I mingw port is coming along
[05:35] piscisaureus: - Microsoft *did* show interest and has promised to help porting it to windows
[05:35] brianc: piscisaureus: awesome
[05:35] tmzt: fairwinds: how is s3 at handling small files, or the aws db service
[05:35] mikeal has joined the channel
[05:36] fairwinds: tmzt: you're probably better off looking for a lib for simpledb
[05:36] jdonley83 has joined the channel
[05:36] fairwinds: if many small files
[05:36] whyme has joined the channel
[05:37] bingomanatee_: There are no small files
[05:37] vnguyen has joined the channel
[05:37] jashkenas has joined the channel
[05:37] Yuffster_work has joined the channel
[05:39] Utkarsh__ has joined the channel
[05:39] jdonley83: hello, so i've got cygwin installed and node pulled from github. i tried to run 'configure' but end stopped with this error 'configure: error: xml2-config not found. Please check your libxml2 installation' any pointers?
[05:39] jdonley83: *it stopped
[05:40] pkrumins: well what do you think the error message tells you?
[05:40] brianc: if you followed the instructions exactly from the wiki and you're having build problems you might want to try building the 0.2.x branch
[05:40] jdonley83: i'm building the 0.2.5 branch
[05:41] brianc: or you might not have installed the correct dependencies in cygwin (the process for installing these is outlined in the wiki)
[05:41] jdonley83: should i go earlier
[05:41] developNdeployON: hmm.
[05:41] jdonley83: i picked all the packages listed in the wiki
[05:41] theSamePLATFORM: sounds tough.
[05:41] hunterloftis has joined the channel
[05:41] fairwinds: bingomanatee_, tmtz: right, should have said objects there. I have only ever used s3 but for some file storage. I use couch for most part
[05:42] bingomanatee_: ACTION would like to pick up couch some day.
[05:42] fairwinds: bingomanatee_: quite easy and can use as a file store also
[05:43] bingomanatee_: well maybe I'll use it for Noogle just to change gears a little.
[05:44] bingomanatee_: does couch do text searches well?
[05:45] ewdafa has joined the channel
[05:45] bingomanatee_: I've been leaning on MongoDB a little hard lately.
[05:47] fairwinds: bingomanatee_: you can plug into lucene easily
[05:47] bingomanatee_: Thats plan b - have used solr.
[05:47] pkrumins: for searching?
[05:47] fairwinds: well couch-lucene works in an integrated way so you are using same api
[05:47] pkrumins: i use sphinx
[05:48] bingomanatee_: yeah - I'm indexing this channel for searching.
[05:48] bingomanatee_: sweet.
[05:48] fairwinds: bingomanatee_: am using elasticsearch but it has its own api
[05:49] bingomanatee_: sounds cool.
[05:49] fairwinds: since I am generally using couch as a db with its api
[05:51] bingomanatee_: elasticsearch looks cool. I think I could get into using that at work.
[05:52] RockShox1 has left the channel
[05:52] fairwinds: sure, and you can just add more nodes
[05:52] bingomanatee_: in your experience how does elasticsearch compare to lucene/solr?
[05:54] creationix has left the channel
[05:54] fairwinds: elasticsearch is fast, easier to work with, json and there is a 'river' that listens to couch for changes to index docs
[05:54] bingomanatee_: im getting hot for it already
[05:54] jimt_ has joined the channel
[05:55] echosystm has joined the channel
[05:55] fairwinds: solr is great but does not really fit the stack I am working with
[05:55] blaines has joined the channel
[05:57] fairwinds: bingomanatee_: mongo doesn't have a changes feed like couch as far as I know
[05:57] bingomanatee_: Yeah but my data don't change.
[05:57] fairwinds: heh
[05:57] bingomanatee_: I'm using it as a log cache.
[05:58] bingomanatee_: I do change a few flags when I find stuff of interest but for the most part that happens beofore the first write
[05:59] bingomanatee_: Kind of obliterates the use of the in-memory features of MongoDB too..
[05:59] fairwinds: k, well anytime you write to couch there is a feed and you can subscribe to and it will push
[06:00] fairwinds: so you can do some pretty cool things with it.
[06:00] bingomanatee_: That actually souhnds interesting.
[06:00] ron_frown has joined the channel
[06:01] fairwinds: for example set up an upload server, listen for changes from couch to work on some files, or send real time notifications etc.
[06:02] ron_frown: so i have a node server that runs on port blah... and want to ensure that when my web app fires up, its the most likely to stay connected
[06:02] ron_frown: do people usually set something up that is a heartbeat or something
[06:02] bingomanatee_: connected to what?
[06:02] ron_frown: I am running node.js with socket.io server on port 8018
[06:02] bingomanatee_: oh you mean up?
[06:03] ron_frown: and socket.io clientside stuff
[06:03] bingomanatee_: this is an idiot "brute force" attempt but you can have cron launch your app and if the old app is up it will just crash. That being said there are better launch daemons out there.
[06:03] ron_frown: not exactly what I meant
[06:04] ron_frown: currently i have it just connect
[06:04] ron_frown: and dont do anything until something happens server side
[06:04] ron_frown: but seems like its real hit and miss
[06:04] ron_frown: dont get errors
[06:04] ron_frown: connections dont get made
[06:05] dgathright has joined the channel
[06:05] ron_frown: so first I'd like to wrap in some error handling, so if I get a request with problems, it doesnt grenade
[06:05] bingomanatee_: thats all I got ... anyone else have any ideas?
[06:05] JimBastard has joined the channel
[06:05] ron_frown: I guess it'd make sense to run it on a port thats more likely to be open on a firewall
[06:08] fairwinds: is it an issue of staying up or staying connected
[06:09] creationix has joined the channel
[06:09] creationix has left the channel
[06:21] mif86- has joined the channel
[06:22] jtsnow has joined the channel
[06:25] SvenDowideit_ has joined the channel
[06:26] shinmei has joined the channel
[06:26] sugardave has joined the channel
[06:27] muhqu has joined the channel
[06:27] fangel has joined the channel
[06:27] rauchg_ has joined the channel
[06:28] CIA-89: node: 03Alexis Sellier 07master * r66b418d 10/ lib/tls.js : make 'readyState' available to CryptoStream - http://bit.ly/fKSSQT
[06:28] CIA-89: node: 03Ryan Dahl 07master * r39535d7 10/ (test/pummel/test-exec.js test/simple/test-exec.js): move test-exec to pummel - too slow - http://bit.ly/gtLuyW
[06:28] CIA-89: node: 03Ryan Dahl 07master * rcb14236 10/ test/simple/test-tls-securepair-server.js : Use common.PORT not 8000 - http://bit.ly/ijOhZO
[06:28] orospakr has joined the channel
[06:30] c4milo has joined the channel
[06:33] stephen_mcd has joined the channel
[06:34] luke` has joined the channel
[06:36] Twelve-60 has joined the channel
[06:38] mikeal has joined the channel
[06:38] richcollins has joined the channel
[06:45] tilgovi has joined the channel
[06:46] vnguyen has joined the channel
[06:48] ivan`` has joined the channel
[06:48] xsyn has joined the channel
[06:50] xsyn: Can someone help a n00b? I'm going through this example: http://net.tutsplus.com/tutorials/javascript-ajax/learning-serverside-javascript-with-node-js/ and when I set up the twitter client, everything runs until it reaches request.close()
[06:51] xsyn: And then I get the following error: request.close();
[06:51] xsyn: ^
[06:51] xsyn: TypeError: Object # has no method 'close'
[06:51] xsyn: What am I doing wrong?
[06:52] Aria: Change 'close' to 'end'
[06:53] Aria: You're using something most of a year old with this week's node-unstable.
[06:53] Aria: Compare http://nodejs.org/docs/v0.2.6/api.html to http://nodejs.org/docs/v0.3.5/api/http.html
[06:53] luke`_ has joined the channel
[06:53] xsyn: thank you very much
[06:54] Aria: Sure thing.
[06:55] Aria: (All said, not bad if one word is the only disruption ;-))
[06:56] xsyn: :)
[06:56] xsyn: I've quite fallen for the language
[06:57] chrischris has joined the channel
[07:00] ChrisPartridge: Does anyone know if node_redis supports setting EXPIRE?
[07:04] tonymilne has joined the channel
[07:04] tonymilne: Hey all, just wondering where people put their nodejs apps on production? (e.g. /var/www/example.com/app.js)
[07:07] x_or has joined the channel
[07:08] echosystm: anywhere you want tonymilne ?
[07:09] echosystm: i'd probably just put it in the home of whatever user i want to run it under
[07:09] peol has joined the channel
[07:14] mr_daniel has joined the channel
[07:15] jimt has joined the channel
[07:21] bingomanatee_: ~/node
[07:21] bingomanatee_: ~/node/noogle/app.js etc.
[07:22] bingomanatee_: Or /var/node/noogle/app.js
[07:22] bingomanatee_: i'd let /var/www alone in case you need to use apache + node
[07:24] techwraith has joined the channel
[07:25] techwraith has left the channel
[07:25] admc has joined the channel
[07:28] Jaye has joined the channel
[07:29] mikew3c has joined the channel
[07:29] SamuraiJack has joined the channel
[07:30] CIA-89: node: 03Bert Belder 07master * re6e6e87 10/ (lib/readline.js lib/tty_win32.js src/node_stdio_win32.cc): Windows: fix window size getter bug (+8 more commits...) - http://bit.ly/iiW2MS
[07:35] jetienne has joined the channel
[07:37] sonnym has joined the channel
[07:40] saschagehlich has joined the channel
[07:48] MrTopf has joined the channel
[07:49] JusticeFries has joined the channel
[07:50] inimino has joined the channel
[07:52] nook has joined the channel
[07:52] jakehow has joined the channel
[07:54] hobodave has joined the channel
[07:57] ossareh has joined the channel
[08:00] muhqu has joined the channel
[08:00] bartmax has joined the channel
[08:00] bartmax has joined the channel
[08:00] TomY has joined the channel
[08:00] margle has joined the channel
[08:02] sriley has joined the channel
[08:11] turutosiya has joined the channel
[08:12] pkrumins: http://blog.nodejitsu.com/most-active-nodejs-users
[08:12] turutosiya: i saw your blog post.
[08:12] mraleph has joined the channel
[08:13] pkrumins: your?
[08:13] turutosiya: pkrumins: you
[08:13] pkrumins: which blog post did you see then?
[08:14] turutosiya: http://blog.nodejitsu.com/most-active-nodejs-users
[08:14] pkrumins: that is not my blog post.
[08:14] turutosiya: sorry.
[08:14] pkrumins: it's Jim Bastard's blog post.
[08:15] Lorentz: Booo, I'm not there
[08:15] briznad has joined the channel
[08:16] mAritz has joined the channel
[08:16] clarkfischer has joined the channel
[08:17] Lorentz: Well, I still don't have a full-fledged project out in node, so oh well
[08:19] ivanfi has joined the channel
[08:20] mAritz has joined the channel
[08:21] qFox has joined the channel
[08:22] bingomanatee_: humph. Not even an honorable notion.
[08:24] bingomanatee_: I give, and I give, and I give....
[08:26] saschagehlich has joined the channel
[08:27] virtuo has joined the channel
[08:27] GasbaKid has joined the channel
[08:27] dguttman has joined the channel
[08:27] skm has joined the channel
[08:27] stagas has joined the channel
[08:27] razvandimescu has joined the channel
[08:27] SvenDowideit has joined the channel
[08:27] enotodden has joined the channel
[08:27] ph^ has joined the channel
[08:27] sveimac has joined the channel
[08:27] c4milo has joined the channel
[08:27] eags_ has joined the channel
[08:27] mikeal has joined the channel
[08:27] jimt has joined the channel
[08:27] matjas has joined the channel
[08:27] JimBastard has joined the channel
[08:27] zentoooo has joined the channel
[08:27] hoodoos has joined the channel
[08:27] mfb has joined the channel
[08:27] bruse has joined the channel
[08:27] joeshaw___ has joined the channel
[08:27] rwaldron has joined the channel
[08:27] ryah_ has joined the channel
[08:27] squeeky has joined the channel
[08:27] zorzar has joined the channel
[08:27] halfhalo has joined the channel
[08:27] desaiu has joined the channel
[08:27] mscdex has joined the channel
[08:27] spetrea has joined the channel
[08:27] Guest51655 has joined the channel
[08:27] pquerna has joined the channel
[08:27] aurynn has joined the channel
[08:27] bitdrift has joined the channel
[08:27] chobo has joined the channel
[08:27] inarru has joined the channel
[08:27] DoNaLd` has joined the channel
[08:27] Sami_ZzZ has joined the channel
[08:27] KungFuHamster has joined the channel
[08:27] riven has joined the channel
[08:27] dnyy has joined the channel
[08:27] hdon has joined the channel
[08:27] heavysixer has joined the channel
[08:27] thedjinn has joined the channel
[08:27] brapse has joined the channel
[08:27] sudoer has joined the channel
[08:27] m3nt0r^aw has joined the channel
[08:27] mmso has joined the channel
[08:27] Druid_ has joined the channel
[08:27] Kami_ has joined the channel
[08:27] dgathright has joined the channel
[08:27] ron_frown has joined the channel
[08:27] hunterloftis has joined the channel
[08:27] Utkarsh__ has joined the channel
[08:27] balaa has joined the channel
[08:27] overra has joined the channel
[08:27] sabalaba has joined the channel
[08:27] liar has joined the channel
[08:27] tlrobinson has joined the channel
[08:27] Hadaka has joined the channel
[08:27] stepheneb has joined the channel
[08:27] hellp has joined the channel
[08:27] jherdman has joined the channel
[08:27] opengeard has joined the channel
[08:27] w0rse has joined the channel
[08:27] gkatsev has joined the channel
[08:27] dspree has joined the channel
[08:27] edw has joined the channel
[08:27] Roelven has joined the channel
[08:27] shajith has joined the channel
[08:27] slloyd has joined the channel
[08:27] hosh_office has joined the channel
[08:27] kawaz_work has joined the channel
[08:27] yorick has joined the channel
[08:27] sth has joined the channel
[08:27] Noya has joined the channel
[08:27] meder has joined the channel
[08:27] KyleXY has joined the channel
[08:27] pignata_ has joined the channel
[08:27] gbot2 has joined the channel
[08:27] v8bot has joined the channel
[08:27] Pilate has joined the channel
[08:27] keeran has joined the channel
[08:27] TheEmpath has joined the channel
[08:27] PyroPeter has joined the channel
[08:27] Silks has joined the channel
[08:27] Aikar has joined the channel
[08:27] rudebwoy has joined the channel
[08:27] MrNibbles has joined the channel
[08:27] PrgmrBill has joined the channel
[08:27] node-faq has joined the channel
[08:27] aelaguiz has joined the channel
[08:27] hober has joined the channel
[08:27] rot13 has joined the channel
[08:27] cyraxx has joined the channel
[08:27] mrtrosen has joined the channel
[08:27] tmzt has joined the channel
[08:27] sanslocust has joined the channel
[08:27] guybrush has joined the channel
[08:27] coffeecup has joined the channel
[08:27] JimBastard has joined the channel
[08:27] sstephenson has joined the channel
[08:27] mrkurt has joined the channel
[08:27] joshpeek has joined the channel
[08:27] bingomanatee_: (kidding)
[08:28] Kami_ has joined the channel
[08:30] eags_: hunterloftis: got it, and no I didn't get the example running. I'm trying to figure out two things at once, just got cloud9 running since I wasn't too excited about 'node debug app.js'
[08:30] Tobias| has joined the channel
[08:30] eags_: And am looking at other debugging options
[08:30] bingomanatee_: you might check out no.de - I believe it has some cool debugging features.
[08:32] mytrile has joined the channel
[08:34] hunterloftis: eags_: Just pulled the latest express from github; looks like the blog example is broken (to me)... at least, nobody has checked that it has access to express-contrib
[08:35] [AD]Turbo has joined the channel
[08:36] jbpros_ has joined the channel
[08:36] [AD]Turbo: yo all
[08:37] tc77 has joined the channel
[08:39] hunterloftis: And once you add express-contrib, you get a connect error about having a "secret" string for sessions
[08:39] margle: you
[08:39] margle: you know, I love you guys.
[08:39] eags_: oh, yeah, I did fix that and the secret session issue
[08:39] bingomanatee_: wo-man!
[08:39] bingomanatee_: wo-man found cave!
[08:39] hunterloftis: eags_: I guess my point is, it doesn't look like blog has been maintained
[08:39] bingomanatee_: must find new cave!
[08:39] eags_: the session thing is a recent api change for connect
[08:39] hunterloftis: eags_: You could possibly pull the source to "wheat"
[08:40] eags_: But even after that it still breaks with the form stuff I was mentioning
[08:40] eags_: hunterloftis: what is wheat?
[08:40] hunterloftis: https://github.com/creationix/wheat
[08:41] hunterloftis: That's just a node blogging engine (if that's what you're interested in)
[08:41] eags_: hunterloftis: oh, I'm not, I'm just trying to learn node/express and was stumbling on that one example
[08:42] hunterloftis: eags_: Yeah skip that example, go with some of the others ;)
[08:42] eags_: DoNaLd`: So it is running but every time I try and type anything in the console I get a dialog "Server Error Error no handler for hook 'command'"
[08:43] eags_: hunterloftis: yeah, although it is sort of key functionality for parsing forms, that was why I was wondering if it was broken in some versions and not others or if it was breaking because of a version mismatch somewhere with some dependency.
[08:43] jbpros has joined the channel
[08:43] hunterloftis: For parsing forms? You'll want to use connect-form on top of node-formidable
[08:44] hunterloftis: server.use(express.bodyDecoder())
[08:44] hunterloftis: server.use(form({ keepExtensions: true }))
[08:44] hobodave has joined the channel
[08:44] hunterloftis: (form being require('connect-form'))
[08:44] JimBastard: we use wheat @ nodejitsu
[08:49] jbergstroem has joined the channel
[08:49] void_ has joined the channel
[08:51] aklt has joined the channel
[08:52] Druid_ has joined the channel
[08:53] SubStack: JimBastard: thanks for the shout-out in your blog thing
[08:53] JimBastard: SubStack: :-p
[08:53] JimBastard: you had to share a seat!
[08:54] JimBastard: you are welcome, you deserved to be on there
[08:54] JimBastard: you are active a lot, just not soo much the first few months
[08:54] SubStack: obviously I don't spam enough in here!
[08:54] JimBastard: the trick
[08:54] JimBastard: is to do
[08:54] SubStack: yeah I only started writing node in April
[08:54] JimBastard: multi
[08:54] JimBastard: line
[08:54] SubStack: that
[08:54] JimBastard: fail
[08:54] SubStack: could work
[08:54] JimBastard: lets not spam the room worse then i already do
[08:55] mikedeboer has joined the channel
[08:55] xsyn has joined the channel
[08:56] JimBastard: my favorite is Jeremy Ashkenas, JavaScript Zen Master. All lists must contain at least one instance of jashkenas. Author of CoffeeScript, Backbone, and underscore to name a few
[08:56] SubStack: yep, good stuff
[08:57] SubStack: hopefully his reply to the nodejs list will finally kill that really long async thread
[08:57] adambeynon has joined the channel
[08:57] JimBastard: i never even opened that one, no time
[08:57] SubStack: sugar for async composition doesn't make sense since there are too many ways to do it
[08:58] JimBastard: sugar is awesome, there are like thousands of types of sugar
[08:58] JimBastard: they are all kinda sweet, some give you cancer, some make you fat
[08:58] SubStack: you really need annotations for parallel and sequential actions too, and those could operate or lists or single elements
[08:58] JimBastard: use at your own discretion
[08:58] SubStack: and then you've got to worry about resource limits and throttling too
[08:59] SubStack: and those are all crazy tricky to do well, I've found while writing seq
[08:59] SubStack: I'm still finding bugs all the time :/
[08:59] meso has joined the channel
[08:59] mscdex: haha "mysterious man"
[09:00] JimBastard: mscdex: :-D
[09:00] MrTopf has joined the channel
[09:00] JimBastard: i can update if you'd like mscdex
[09:00] eags_: 404 when using npm to install ndistro
[09:00] ROBOd has joined the channel
[09:01] Gruni has joined the channel
[09:01] JimBastard: eags_: i think npm can do everything you want nDistro to do
[09:01] JimBastard: just fyi
[09:03] Wyverald has joined the channel
[09:04] evl has left the channel
[09:04] sriley_ has joined the channel
[09:04] rakeshpai has joined the channel
[09:04] ziro` has joined the channel
[09:06] shiawuentan has joined the channel
[09:07] xsyn has joined the channel
[09:09] mraleph has joined the channel
[09:10] _derferman has joined the channel
[09:13] jesusabdullah: Hah--almost surprised I didn't make the talkative list XD
[09:14] mattsches_ has joined the channel
[09:15] tlrobinson has joined the channel
[09:17] Remoun has joined the channel
[09:17] booo has joined the channel
[09:19] jacson has joined the channel
[09:23] glenngillen has joined the channel
[09:23] glenngillen has left the channel
[09:26] mraleph has joined the channel
[09:27] teemow has joined the channel
[09:30] sriley_ has joined the channel
[09:32] MrTopf has joined the channel
[09:33] polyrhythmic has joined the channel
[09:34] dsirijus has joined the channel
[09:36] felixge has joined the channel
[09:36] felixge has joined the channel
[09:36] felixge: ryah_: ping
[09:36] jakehow has joined the channel
[09:38] rakeshpai has joined the channel
[09:39] fly-away has joined the channel
[09:41] defmacro has joined the channel
[09:42] kawaz_work has joined the channel
[09:42] andrewfff has joined the channel
[09:44] defmacro: good evening, mostly. I took the deb src from ubuntu natty, hacked it until I got a 0.2.6 package for ubuntu lucid lynx 64-bit. anyone care to try it out at "deb http://loop.destructuring.org lucid contrib" ?
[09:45] defmacro: built them because googling only shows old ass packages
[09:46] tanepiper: i'm no where near as active in here as i thought :D
[09:46] nooder has joined the channel
[09:46] ryah_: felixge: hi
[09:47] ryah_: felixge: your mail. im relaying - it's taking time.
[09:47] jkreeftmeijer_ has joined the channel
[09:47] felixge: ryah_: np. But this is the 2 week window where I'd be able to make the most progress so if I can do anything to remove concerns - just let me know :)
[09:47] ryah_: will poke harder tomorrow
[09:48] felixge: ryah_: cool, thanks :)
[09:48] ryah_: question: windows has pipes?
[09:48] ryah_: cat x | sort ?
[09:48] felixge: ryah_: well, if you think it will work out, I can already get started
[09:49] felixge: I think I'll just do that
[09:50] turutosiya has joined the channel
[09:51] DrPepper has joined the channel
[09:52] xla has joined the channel
[09:55] JimBastard has joined the channel
[09:55] markwubben has joined the channel
[09:58] polyrhythmic has joined the channel
[09:58] brapse has joined the channel
[09:59] q_no has joined the channel
[10:01] pyrotechnick has joined the channel
[10:01] rakeshpai has joined the channel
[10:02] tk has joined the channel
[10:03] JimBastard: who wants to see something funny, check out this guys github feed
[10:03] JimBastard: https://github.com/kaichen
[10:04] altamic has joined the channel
[10:08] squeeky: Where's the funny?
[10:09] masahiroh has joined the channel
[10:10] rjrodger has joined the channel
[10:10] tanepiper: hey JimBastard i signed up for logly, and put Winston in my app, but it's not logging anything, but i followed the docs
[10:10] tanepiper: I assume it's a HTTP input i create?
[10:11] JimBastard: i blame indexzero
[10:11] JimBastard: my demos always work flawlessly
[10:11] JimBastard: tanepiper: is winston logging to console?
[10:11] JimBastard: i havent even tried it yet
[10:11] JimBastard: btw
[10:12] bzinger has joined the channel
[10:13] tanepiper: oh wait, it's not winston i'm using it's this: http://wiki.loggly.com/nodelogging
[10:13] tanepiper: (thought that was Winston)
[10:13] JimBastard: winston is multi transport
[10:13] JimBastard: loggly is for loggly
[10:13] JimBastard: loggly should work
[10:13] GasbaKid has joined the channel
[10:14] JimBastard: are you getting any error messages?
[10:14] tanepiper: hrmm, will try again today - maybe it was just being funky
[10:14] JimBastard: do the tests pass?
[10:14] kylefox has joined the channel
[10:14] tanepiper: JimBastard: no, got no errors on the callback, just got nothing, no arguments returned
[10:15] JimBastard: tanepiper: put the creds into the config file and run the tests
[10:15] tanepiper: k, will add it to my task list for later today and try again with the tests
[10:20] liar has joined the channel
[10:22] markwubben has joined the channel
[10:23] pdelgallego has joined the channel
[10:32] eee_c has joined the channel
[10:32] romainhuet has joined the channel
[10:34] markwubben has joined the channel
[10:35] shimondoodkin has joined the channel
[10:39] ChrisPartridge has joined the channel
[10:40] eee_c has joined the channel
[10:41] kubrow has joined the channel
[10:41] muhqu has joined the channel
[10:43] dthompson has joined the channel
[10:44] ChrisPartridge: felixge: around?
[10:45] felixge: ChrisPartridge: y
[10:48] rot13 has joined the channel
[10:50] dthompson has joined the channel
[10:52] common has joined the channel
[10:52] ChrisPartridge: felixge: know of anything ORM'ish that uses your mysql module on github/npm?
[10:54] rot13 has joined the channel
[10:54] felixge: ChrisPartridge: I remember seeing something
[10:55] romeo_ordos has joined the channel
[10:55] romeo_ordos has left the channel
[10:56] shinmei has joined the channel
[10:58] felixge: ChrisPartridge: can't find it
[10:58] felixge: sorry
[10:58] ChrisPartridge: felixge: np, might fork sequelize and change it over
[11:00] felixge: ChrisPartridge: Yeah, I kind of want an ORM myself
[11:00] felixge: ChrisPartridge: but all ORM's in the history of mankind sort of suck, so I'm a little hesitant writing yet another one :)
[11:02] ChrisPartridge: felixge: I might get started on something simple, maybe just some read() and find() magic - it feels strange writing SELECT queries :-)
[11:03] felixge: ChrisPartridge: I known
[11:03] Throlkim has joined the channel
[11:11] pyrotechnick has left the channel
[11:15] zomgbie has joined the channel
[11:16] stagas: here's the geoip tail -f thingy I did yesterday https://github.com/stagas/maptail
[11:16] tfcoding has joined the channel
[11:16] stagas: preview in http://live.stagas.com
[11:17] tanepiper: goddamit, replied to that guy on the mailing list about the freelance nodejs to create the downloader, he hasn't replied - wonder if i priced myself too high :(
[11:19] pietern has joined the channel
[11:21] mnbvasd: stagas: sweet
[11:22] SubStack: yeah very neat
[11:24] stagas: it's not exactly how I wanted it but I don't have the time now to fix it. I want to make the map thing entirely modular, maybe a middleware
[11:24] stagas: and the tail -f just an example of usage of that
[11:24] stagas: now it's just all hard coded in
[11:24] ChrisPartridge: stagas: looks great
[11:25] cygwinnoob has joined the channel
[11:25] stagas: it's basically mape's wargames script but with another feed
[11:28] cygwinnoob: hey can anyone help with building node.js for an ajax server???
[11:28] ChrisPartridge: cygwinnoob: connect
[11:28] cygwinnoob: I have an error when i run 'make'
[11:28] ChrisPartridge: oh building
[11:28] cygwinnoob: ...
[11:28] SubStack: heh npm ls is fun
[11:29] SubStack: ACTION is 1.6% of all modules on npm :p
[11:29] cygwinnoob: the instructions say it might be this: "This comes about when $SHELL has a windows based path instead of a unix based one. E.g., C:\bin\bash instead of of /bin/bash. So, try,"
[11:29] cygwinnoob: so i ran "export SHELL=/bin/bash"
[11:29] cygwinnoob: it is cygwin on a win box
[11:30] tanepiper: SubStack is actually a robot
[11:30] SubStack: fact.
[11:30] SubStack: haven't you seen my github pic?
[11:30] tanepiper: my project is made up of 50% Substack modules :D
[11:30] SubStack: :D
[11:30] zorzar_ has joined the channel
[11:31] SubStack: actually if I don't filter by latest I'm 3.7% of npm
[11:31] SubStack: still nowhere near as prolific as some of these other critters
[11:32] daglees has joined the channel
[11:35] SubStack: hmmm I'm going to do a quick blog post about this
[11:40] shinmei has joined the channel
[11:41] pdelgallego has joined the channel
[11:42] kawaz_air has joined the channel
[11:47] Gruni has joined the channel
[11:51] fermion has joined the channel
[11:54] KyleXY has joined the channel
[11:54] mraleph has joined the channel
[11:57] unomi has joined the channel
[12:00] mikew3c_ has joined the channel
[12:02] MattJ has joined the channel
[12:06] saschagehlich has joined the channel
[12:13] GasbaKid has joined the channel
[12:15] herbySk has joined the channel
[12:21] epx has joined the channel
[12:21] unomi has joined the channel
[12:21] eikke has joined the channel
[12:24] Gruni has joined the channel
[12:25] margle has joined the channel
[12:25] crohr has joined the channel
[12:26] romeo_ordos has joined the channel
[12:26] romeo_ordos has left the channel
[12:29] rsms has joined the channel
[12:33] iszak has joined the channel
[12:36] crohr has joined the channel
[12:38] stephank has joined the channel
[12:43] pagameba has joined the channel
[12:47] objectvar has joined the channel
[12:49] shimondoodkin: is there mongodb with promises
[12:50] stagas: really nice now with all the markers http://live.stagas.com I hn'ed it :P
[12:51] fairwinds has joined the channel
[12:51] stagas: someone should try it on a really busy log
[12:53] SubStack: trying to figure out how to suppress output from npm.commands.list
[12:57] unomi has joined the channel
[12:57] aheckmann has joined the channel
[12:58] miccolis has joined the channel
[12:59] guid has joined the channel
[13:00] gaYak has joined the channel
[13:01] tanepiper: Everyone! Make sure you are using this gif if you have HTML5! http://i.imgur.com/nNxpD.gif
[13:01] andrewfff has joined the channel
[13:02] gaYak: gif, so HTML5..
[13:02] djanowski has joined the channel
[13:03] tanepiper: i'm going to stick it next to my Supports Netscape Navigator and IE5 gifs :D
[13:04] tanepiper: of course, that's a development oxymoron
[13:04] Ori_P has joined the channel
[13:04] gaYak: I'd like more blink and scroll to make it Geocities compatible
[13:04] lukegalea has joined the channel
[13:05] tanepiper: gaYak: http://wonder-tonic.com/geocitiesizer/content.php?theme=2&music=11&url=nodejs.org
[13:07] pyrotechnick has joined the channel
[13:07] pyrotechnick: SubStack: marco
[13:08] SubStack: meow
[13:08] pagameba: stagas: very cool, is that available for others to run?
[13:08] pyrotechnick: how hard would it be to make dnode sync primatives
[13:08] pyrotechnick: i'm thinking of using proxies or method_missing hax
[13:08] SubStack: synchronization? not too hard I expect
[13:08] Kyso has joined the channel
[13:08] epx has left the channel
[13:08] stagas: pagameba: yeah at http://github.com/stagas/maptail
[13:08] pyrotechnick: so just inside of getters and setters
[13:09] pyrotechnick: call some kind of sync method
[13:09] pagameba: ACTION finds 'maptail'
[13:09] pagameba: ha
[13:09] pyrotechnick: can you think of an easier way?
[13:09] tapwater has joined the channel
[13:09] SubStack: pyrotechnick: harmony proxies seem a straight-forward way to do it
[13:09] pyrotechnick: basically we have like a tile game
[13:09] d0k has joined the channel
[13:09] pyrotechnick: and when i press w i want every other client to get that event too
[13:09] SubStack: I've considered writing a separate module to do this
[13:10] flippyhead has joined the channel
[13:10] pyrotechnick: but it would be nicer if it wernt doing it with events but rather just by syncing the position objects of players
[13:10] pyrotechnick: so it's like there's no network code at all
[13:10] pyrotechnick: dnode kinda just spies on your player
[13:10] pyrotechnick: and tells all the others what it's doing
[13:10] pyrotechnick: make sense?
[13:10] SubStack: yep
[13:10] pyrotechnick: okay ill take a stab at it tonight
[13:10] pyrotechnick: i know you can do it faster cleaner and better
[13:11] pyrotechnick: but ill try it first and see what you think
[13:11] pyrotechnick: anyone else asked for this?
[13:11] broofa has joined the channel
[13:11] SubStack: nobody's asked for it but it's come up and I've thought about it
[13:12] SubStack: oh actually one person wondered why I had attributes at all if they weren't synchronized
[13:12] pyrotechnick: yeah
[13:12] pyrotechnick: it would be nicer as an external package
[13:12] pyrotechnick: i dont think it's something that belongs in dnode itself
[13:12] SubStack: agree
[13:12] SubStack: useful as it is
[13:12] pyrotechnick: it will give people the wrong impression of dnode
[13:13] SubStack: already a problem!
[13:13] pyrotechnick: and it's too application-specific i think
[13:13] pyrotechnick: loving dnode though dude
[13:13] pyrotechnick: it'll be perfect after these syncs are done
[13:13] pyrotechnick: very very perfect
[13:13] pyrotechnick: we're making a little 2d minecrafty clone for facebook
[13:14] pyrotechnick: mmoish
[13:14] SubStack: nice!
[13:14] pyrotechnick: will push when it's playable
[13:14] pyrotechnick: harmony proxies are implementable with getter/setters?
[13:15] pyrotechnick: like it there some kind of reference implementation
[13:15] pyrotechnick: that works on chrome
[13:15] SubStack: took me a while to figure them out
[13:15] nook has joined the channel
[13:15] pyrotechnick: https://github.com/isaacs/node-proxy
[13:15] SubStack: perhaps this will help: https://github.com/substack/node-permafrost/blob/master/index.js#L114-L157
[13:16] pyrotechnick: so you are using node-proxy too
[13:16] pyrotechnick: i wonder why it's dead
[13:16] pyrotechnick: is it just good enough already?
[13:16] everzet has joined the channel
[13:16] SubStack: the original author changed their github name
[13:18] saikat has joined the channel
[13:18] SubStack: aha! there's an outfd in the npm config
[13:21] mikew3c_ has joined the channel
[13:21] pt_tr has joined the channel
[13:21] SubStack: hooray
[13:21] TurboAWAY has joined the channel
[13:22] SubStack: https://gist.github.com/786163
[13:22] everzet has joined the channel
[13:28] herbySk: ryah_: around?
[13:28] virtuo has joined the channel
[13:29] unomi has joined the channel
[13:30] jbpros_ has joined the channel
[13:31] pyrotechnick: wats that SubStack?
[13:31] SubStack: pyrotechnick: npm peeps ranked by number of packages
[13:31] pyrotechnick: that's sweet
[13:31] SubStack: code in a sec
[13:31] pyrotechnick: feisty should be on that list soon ^w^
[13:33] admc has joined the channel
[13:34] SubStack: oh man, tjholowaychuk is 3.05% of the packages on npm
[13:34] pyrotechnick: lol
[13:35] pyrotechnick: domination
[13:37] nu- has joined the channel
[13:37] lukegalea: shimondoodkin: did anyone answer your question?
[13:37] SubStack: aww yiss
[13:38] SubStack: https://gist.github.com/786163
[13:39] SubStack: and now to inflate my rank a little, I'll publish this bin to npm
[13:39] lukegalea: shimondoodkin: Mongoose supports promises.
[13:39] MrNibbles: hi matt!
[13:39] kawaz_air has joined the channel
[13:41] devdrinker has joined the channel
[13:41] rjrodger has joined the channel
[13:42] shimondoodkin: thanks
[13:45] shimondoodkin: also i like the style of https://github.com/fjakobs/async.js but i afraid it wont make it easier
[13:48] dnolen has joined the channel
[13:54] objectvar has joined the channel
[13:56] fumanchu182 has joined the channel
[13:56] Ari-Ugwu has joined the channel
[13:57] shimondoodkin: lukegalea: i could not find how it supports promises, i see just async chaining
[13:57] SubStack: write your own!
[13:58] shimondoodkin: yes i ask first
[13:58] SubStack: async flow control libs are a rite of passage
[14:00] tahu has joined the channel
[14:01] ChrisPartridge: SubStack: do you make all the pretty graphics on your site?
[14:01] ianward has joined the channel
[14:02] SubStack: ChrisPartridge: yep
[14:02] ChrisPartridge: SubStack: Awesome stuff
[14:03] shimondoodkin: SubStack: your graphics look fun
[14:04] SubStack: pow! npmtop is live
[14:04] SubStack: https://github.com/substack/npmtop
[14:04] SubStack: pyrotechnick: ^^^
[14:05] ChrisPartridge: Does this mean new graphic for the associated blog post? ;)
[14:05] SubStack: sure!
[14:06] SubStack: hooray I am now 1.74% of npm
[14:07] kiddphunk has joined the channel
[14:09] boaz has joined the channel
[14:09] dgao has joined the channel
[14:11] backthatzachup_ has joined the channel
[14:11] tc77 has joined the channel
[14:12] backthatzachup_ has left the channel
[14:12] SvenDowideit has joined the channel
[14:13] chrischris has joined the channel
[14:13] ChrisPartridge: SubStack: loc would be interesting
[14:13] SubStack: also harder to do
[14:14] chrischr_ has joined the channel
[14:14] jian has joined the channel
[14:14] sivy has joined the channel
[14:15] GasbaKid has joined the channel
[14:16] hellp has joined the channel
[14:17] SubStack: tanepiper: you're #100 ^_^
[14:17] tanepiper: of? oh
[14:17] SubStack: npmtop
[14:17] tanepiper: yea, i think i've only pushed one or two things to it
[14:17] SubStack: well, except the ranking isn't stable for ties
[14:18] jian: hi
[14:18] jian: I'm new here
[14:20] jian: hi, anybody can help me? I have a problem with node.js running on win7
[14:21] pyrotechnick: whats the problem jian
[14:22] jian: well, I've built the node.js successfully
[14:22] jian: but when i try node example.js,
[14:23] saschagehlich has joined the channel
[14:23] jian: it should show message'Server running at http://127.0.0.1:8124/'
[14:23] EyePulp has joined the channel
[14:24] jian: but the message doesn't appear
[14:24] Aikar: SubStack: lol@top
[14:24] jian: and webpage cannot find
[14:24] chrischris has joined the channel
[14:24] Aikar: i'll be publishing my first lib sometime this week to npm :O
[14:25] Aikar: http://aikar.co/nova.html i got my template engine almost done. just gotta fix indentation and a bug with script tags not json_encoding args >< then do all the npm stuff. https://github.com/Aikar/node-nova
[14:28] Aikar: nova.html was generated by https://github.com/Aikar/node-nova/blob/master/tests/template.js
[14:29] ben_alman has joined the channel
[14:30] ben_alman has left the channel
[14:30] yorick: Aikar: doesn't using require() in the template block the entire node
[14:30] Aikar: thats only done on compile
[14:30] yorick: how does it decide when to recompile?
[14:31] Aikar: on compile it executes the function, then builds up all the html thats static, and has functions for the dynamic 'onRender' parts
[14:31] Aikar: and then on render it goes through the compiled list, executes the functions and inserts the answer in place of the function
[14:31] Aikar: so once the entire source list has no functions (ie no more onrenders), it outputs
[14:32] yorick: what if the answer is asynchronous
[14:32] Aikar: thats why its a callback to render
[14:32] Aikar: nova.onRender(function(renderVars, render) { db.find().first(res) { render(res.title); }); })});
[14:32] Aikar: it waits until all of the functions have responded back
[14:33] Aikar: (ie calling render(answer))
[14:33] nefD has joined the channel
[14:33] booo has joined the channel
[14:33] femtoo has joined the channel
[14:34] booo: what's the best way to queue function calls? i tried chain-gang but now im cunfused
[14:34] mAritz: step seems good for that
[14:35] Aikar: renderVars will be w/e is passed by you to the .render function when ever you render the template to a client
[14:36] pengwynn has joined the channel
[14:36] Aikar: ie var template = getTemplate('mainTemplate.js'); app.get('*', function(req, res) { template.render({foo: 'bar'}, function(html) { res.write(html); }); });
[14:37] Aikar: all of the onRender funcs will get {foo: 'bar'} as renderVars
[14:38] zomgbie has joined the channel
[14:38] Aikar: im also going to make a library very similiar to this but for CSS
[14:38] ChrisPartridge: booo: https://github.com/caolan/async#queue try that?
[14:38] arpegius has joined the channel
[14:40] Aikar: return { '#mainBody' : {'.myClass' : { 'a': { background: '#fff' }, 'a:hover': {'background': '#999'} } } }
[14:40] booo: thx!
[14:40] jacobolus has joined the channel
[14:40] yorick: Aikar: something like less?
[14:40] jbpros_ has joined the channel
[14:41] Aikar: yeah
[14:41] Aikar: but not exactly same syntax
[14:41] Aikar: write it in json/js instead of a modified css format
[14:41] Aikar: but goal would be similiar features
[14:41] claudiu__ has joined the channel
[14:41] yorick: return {'#ainBody': {'> .myClass': {background: rgb(10, 20, 30)}}}
[14:41] Aikar: it wouldnt be much of a change based off of nova
[14:42] miccolis has joined the channel
[14:43] jetienne has joined the channel
[14:43] fumanchu182 has joined the channel
[14:44] trotter has joined the channel
[14:44] Aikar: yorick: yeah but gotta quote the rgba since its not valid js
[14:44] Aikar: well
[14:44] Aikar: unless made an rgb function :p
[14:44] stalled has joined the channel
[14:45] Aikar: but to help explain some of my nova stuff, look here, https://github.com/Aikar/node-nova/blob/master/tests/partials/partial.js
[14:45] Aikar: on compile that caches to ['\n", [Function],''
[14:46] Aikar: then when function is ran with arg 3, its replaced to ['\n", 3,'']
[14:46] Aikar: then thats "reparsed" to build it down to 1 whole string
[14:47] Aikar: the function could respond with nova syntax like {b:3} instead of plain '3'
[14:47] jherdman_ has joined the channel
[14:47] pgte has joined the channel
[14:47] Aikar: and it would of been ['', {b:3}, '] which would of then been reparsed into '3' then outputted
[14:48] Aikar: going for extreme flexibility
[14:49] amacleod has joined the channel
[14:53] Metal3d has joined the channel
[14:53] Metal3d: hi there
[14:53] Metal3d: I'm packaging node.js to fedora
[14:53] Metal3d: there is an issue I cannot correct
[14:53] davglass has joined the channel
[14:53] Metal3d: node.js installs on /usr/lib
[14:54] Metal3d: but on x86_64, I must install into /usr/lib64
[14:54] Metal3d: ./configure and/or make don't take care on LIBDIR env var... any suggestion ?
[14:56] Aikar: Metal3d: node installs to /usr/local/lib which is due to ./configure --prefix is /usr/local
[14:56] Metal3d: I set --prefix to /usr
[14:57] Metal3d: it is ok for everything excepting lib
[14:57] Aikar: Metal3d: also node doesnt install any real libraries into /lib, only javascript code for MOST part (npm modules may compile)
[14:57] Metal3d: :) 3 days I try
[14:57] Aikar: it should still work being in /usr/lib if you prefix=/usr
[14:58] Lorentz: The issue is it's not correct for x86_64 systems, isn't it
[14:58] Aikar: i run a 64bit system, works fine with default settings (although im redhat)
[14:58] Metal3d: yes, but I cant do this because rpm packages have some standards to follow
[14:58] Metal3d: if I want to include in repositories
[14:59] bradleymeck has joined the channel
[14:59] Metal3d: Aikar, I don't say it's not working :)
[14:59] amacleod has joined the channel
[14:59] Metal3d: I only say that I cannot give package to repository with this lib path
[15:00] Metal3d: For now, I only move libs to correct path... but I wonder if there isn't another way to do to be cleaner
[15:01] BB^101 has joined the channel
[15:02] nonnikcam has joined the channel
[15:02] Metal3d: there is 2 others fixes to check, wafadmin tools are python scripts... sometimes they have shebangs, sometimes not... and are not executables... any reason ?
[15:02] matt_c has joined the channel
[15:04] Metal3d: Lorentz, sorry, yes
[15:04] Metal3d: for x64 I must install libs to usr/lib64 directory, not into /usr/lib
[15:06] crodas has joined the channel
[15:07] stepheneb has joined the channel
[15:08] Lorentz: Hopefully someone from dev team can answer it for you.
[15:08] Matzew has joined the channel
[15:08] Metal3d: Lorentz, I see this paths into wscript
[15:09] Metal3d: I can run an old "sed" on this file :)
[15:09] remysharp has joined the channel
[15:09] Metal3d: I'll test, but for wafadmin files, I don't know what to do with
[15:12] remysharp: hey - does the http response object automatically close? in that I've sent a header, then res.write(xyx) - but trying to keep the connection open, and it seems to close when I curl it from the command line
[15:13] caolanm has joined the channel
[15:13] bzinger has joined the channel
[15:13] caolanm: is there anyway to improve the stack trace from runInNewContext ?
[15:13] remysharp: okay, ignore me. not sure what happened there.
[15:13] bingomanatee_: in the expresss.js examples no extra actions are taken after response.render.
[15:13] caolanm: passing in a filename doesn't seem to help much
[15:13] bartmax has joined the channel
[15:13] caolanm: I still get an error just in evalmachine
[15:13] bartmax has joined the channel
[15:13] Matzew has left the channel
[15:15] zomgbie has joined the channel
[15:15] remysharp has left the channel
[15:15] Kingdutch has joined the channel
[15:16] caolanm: ignore me ;) geting mixed up between "new Script(...).runInNewContext(...)" and "Script.runInNewContext"
[15:16] Aikar: caolanm: i ended up going with eval :/ plus the vm stuff didnt seem to like the scripts running node commands
[15:16] Metal3d: Aikar, ok, I correct wscript and it works as expected
[15:16] Aikar: and i wanted my script to be able to require()
[15:17] Aikar: Metal3d: does the package manager stop you just because of a file path?
[15:17] Aikar: there has to be a way to force it to ignore it...
[15:17] hij1nx has joined the channel
[15:17] Metal3d: in fact it's not the problem
[15:17] Metal3d: you have 2 rpm you can install
[15:18] Metal3d: x64 and i386
[15:18] Aikar: or just do ./configure --prefix=/usr/lib64/local/ and let it be /usr/lib64/local/lib lol
[15:18] Metal3d: I you want to install both, and both packages installs lib at the same place... you will have troubles
[15:19] Metal3d: Aikar, we must not touch /usr/local with "standard packages"
[15:19] shinmei has joined the channel
[15:19] Aikar: so only make 1 package, i dont think node has any special x64 stuff anyways does it?
[15:19] Metal3d: v8
[15:19] v8bot: Metal3d: undefined
[15:19] Metal3d: the V8 engine is 64bit compiled
[15:19] Aikar: are you publishing this for others to use or just your own self?
[15:20] Metal3d: Aikar, I will put it into Fedora repositories
[15:20] ttpva: hi. is there a way to ping a server and read the response in node.js ?
[15:20] Aikar: ah
[15:20] Metal3d: :)
[15:20] Metal3d: that's why is very strict
[15:20] Metal3d: we must be clean
[15:20] Aikar: well the user really shouldnt be installing both lol
[15:21] Metal3d: I can patch files in rpm spec, that's what I do now... I only have to undestand why wafadmin scripts are installed into lib dir :)
[15:21] Aikar: and even if they did, it still wont hurt anything
[15:21] Aikar: the lib folder just holds javascript
[15:21] Aikar: there is no 32bit/64bit versions of that
[15:21] Metal3d: Aikar, sometimes workers must test i686 to give the work to clients... that's why :)
[15:21] Metal3d: Aikar, there is v8 libs too
[15:21] Metal3d: the engine
[15:22] Aikar: thats statically compiled into node i believe
[15:22] razvandimescu has joined the channel
[15:22] Metal3d: ho right !
[15:22] Aikar: i dont remember seeing any v8 stuff in my libs folder
[15:22] Metal3d: god, I can do 2 packages so :)
[15:22] Metal3d: it's nice !
[15:22] Metal3d: I have solution so !
[15:23] Metal3d: Aikar, the standard allows me to do node.js-libs package that depends on node.js
[15:23] piscisaureus has joined the channel
[15:23] Metal3d: node.js-libs can be "noarch"
[15:23] Metal3d: it's cool, thanks :)
[15:24] Metal3d: but, wafadmin...
[15:24] Metal3d: I don't know what is it
[15:25] Aikar: Metal3d: thats a python build script used to compile modules for node
[15:26] luke` has joined the channel
[15:26] Metal3d: and why some of them aren't "executable" ?
[15:26] Metal3d: (and why to put them into lib dir ?)
[15:26] yx has joined the channel
[15:26] hij1nx: interesting, most active nodejs users based on IRC stats, http://blog.nodejitsu.com/most-active-nodejs-users
[15:27] namelessnotion has joined the channel
[15:27] luke`_ has joined the channel
[15:27] bradleymeck: metal3d most arent executable because they are just a c++ shared lib that exports a utility
[15:28] Metal3d: bradleymeck, they are .py files
[15:28] bradleymeck: think i might be talking about different things, was talking about node modules
[15:28] Metal3d: bradleymeck, I talking about wafadmin python scripts
[15:28] Metal3d: :)
[15:29] fly-away has joined the channel
[15:30] montylounge has joined the channel
[15:31] jakehow has joined the channel
[15:33] jamund has joined the channel
[15:35] ajpiano has joined the channel
[15:36] liar has joined the channel
[15:36] omni5cience has joined the channel
[15:37] bradleymeck: anyone here on the cloud9 team?
[15:38] benburkert has joined the channel
[15:39] mw has joined the channel
[15:40] akahn has joined the channel
[15:41] Aikar: damn im not on the list :(
[15:42] softdrink has joined the channel
[15:44] danoyoung has joined the channel
[15:44] figital has joined the channel
[15:44] Lorentz: My nodejs irc bot's base code is getting there
[15:45] hornairs has joined the channel
[15:45] Aikar: id like to work on one (i was working on a php one but now i want to do it in node) but i currently got a major project already that i anticipate to take at least a year so wont be any time soon ;(
[15:45] Aikar: i got http://nodeib.com for it lol (where i have http://phpib.com for my php one i currently use)
[15:45] Yuffster has joined the channel
[15:46] Lorentz: Aikar: I had one written in java before, it's almost porting it over
[15:46] yhahn has joined the channel
[15:47] Aikar: well the stuff i had to do in php isnt neccessary for js, so not really much to port for me :/
[15:47] Lorentz: I have heard of people using php for writing irc bots, hrm
[15:47] Lorentz: There was even one that used zf
[15:47] Aikar: have an entire IPC framework for PHP to multiple processes for it, so each module is a process so it cant block the TCP connection
[15:48] Lorentz: Nice
[15:48] mnbvasd: hehe, my irc bot is js, a mates is php, anothers google-go, and anothers is plain old perl.
[15:48] jakehow has joined the channel
[15:48] Aikar: my current IPC framework for PHP is really damn good, got an event loop in it so you can write non blocking IO in PHP and i got a game server i ran on it, but node is such a better language for it
[15:49] Aikar: just stuff like PHP cant take advantage of that
[15:49] Aikar: err mysql*
[15:49] Aikar: http://aikar.co/2010/12/29/developing-mmo-game-servers-in-php-javascript/
[15:49] Aikar: i got an article there on it :)
[15:49] Aikar: actually had some hits on google about that
[15:51] Lorentz: I'm writing one in nodejs right now
[15:51] markstory has joined the channel
[15:52] Lorentz: html5+canvas based game
[15:52] Lorentz: But, IRC bot first
[15:52] rauchg_ has joined the channel
[15:53] devdrink_ has joined the channel
[15:55] SubStack: http://substack.net/posts/7a0e41
[15:55] SubStack: >_>
[15:55] Lorentz: Damn mysql indeed
[15:55] Lorentz: I usually have a memcached cache layer for read only caches so it spreads the load around some.
[15:57] Lorentz: And oh yeah it doesn't block.
[15:57] piscisaureus: SubStack: that image. LOL. I guess you didn't know what samuraijack looks like?
[15:58] SubStack: I just went by gravitar icons and them embellished a little
[15:59] piscisaureus: nice :-)
[15:59] mraleph: piscisaureus: we fixed issue you reported: http://code.google.com/p/v8/source/detail?r=6404
[15:59] matt_c_ has joined the channel
[15:59] piscisaureus: mraleph. great! that's fast.
[16:00] Gruni has joined the channel
[16:00] akahn has left the channel
[16:01] mraleph: Fast is our second name :-)
[16:02] piscisaureus: mraleph: just a question: how long does it take you guys to fix such a but :-)
[16:02] piscisaureus: such a bug ?
[16:03] piscisaureus: because it took me a day stepping with gdb or so just to found out that node was really not doing wrong anything
[16:03] mraleph: in this case the biggest problem was just to build node on mingw (the problem itself was not windows specific) :-)
[16:03] Imperion has joined the channel
[16:03] mraleph: it was incarnation of the bug Kevin fixed some time ago. the was just one place accidentally left unfixed.
[16:04] matt_c has joined the channel
[16:04] mraleph: *there was
[16:04] mraleph: in future if you see assertion in V8 just ping me
[16:04] springmeyer has joined the channel
[16:05] Me1000 has joined the channel
[16:05] BillyBreen has joined the channel
[16:05] BillyBreen: hi tatercakes
[16:05] blowery: heh, read that "hater cakes"
[16:06] SubStack: haters gonna bake cakes
[16:06] SubStack: and hate
[16:06] BillyBreen: noders gonna node
[16:06] squeeky: coders gonna code
[16:06] tfe_ has joined the channel
[16:07] muk_mb: lol
[16:09] GasbaKid has joined the channel
[16:10] herbySk has joined the channel
[16:10] pagameba has joined the channel
[16:10] bingomanatee_: code harder!
[16:10] SubStack: yes sir
[16:10] charlenopires has joined the channel
[16:11] Kingdutch: ACTION needs an LOD algorithm for his terrain :<
[16:11] bingomanatee_: Why? Unity already has one :D
[16:13] altamic has joined the channel
[16:14] Kingdutch: >.>
[16:14] Kingdutch: go away with unity
[16:14] Kingdutch: :<
[16:14] bingomanatee_: heh
[16:14] Kingdutch: I want to use native webgl
[16:14] Kingdutch: not a plugin
[16:14] bingomanatee_: then have pyrotechnick do your work for you.
[16:14] Kingdutch: Because beside accessible, I want it to be a showcase of webgl
[16:14] bingomanatee_: He has a huge lead and he's cheap.
[16:14] Kingdutch: That'd take all the fun out of it
[16:14] Kingdutch: :o
[16:14] Kingdutch: Or the learning experience
[16:15] rjrodger has joined the channel
[16:15] bingomanatee_: well if you want a "learning experience" why are you asking us to do your thinking for you?
[16:15] yorick: is there an sdl implementation for node.js?
[16:15] Kingdutch: Because google isn't doing it for me
[16:15] yorick: or canvas-like thing
[16:16] BillyBreen has joined the channel
[16:16] bingomanatee_: well pyrotechnick is the local expert. otherwise - I'd try and find a webGL forum. I'm not upset, I'm just saying you're going to get more and better help in a specialized forum.
[16:16] pyrotechnick: aye
[16:16] bingomanatee_: there is the boy.
[16:16] bingomanatee_: solve his problems nick.
[16:17] pyrotechnick: my ears are burning
[16:17] Kingdutch: lol
[16:17] pyrotechnick: LOD WebGL?
[16:17] pyrotechnick: correct?
[16:17] Kingdutch: bingomanatee: A specialised webgl forum isn't needed, a 3d graphics one might help though.
[16:17] Kingdutch: Correct
[16:17] booths has joined the channel
[16:18] pyrotechnick: pm
[16:18] Kingdutch: Or just an LoD implementation in general, I can port it to js
[16:18] Kingdutch: sure
[16:19] booths: Any of you evil geniuses know of a way to connect to a Microsoft SQL database with Node.js? Only way I'm aware of is with the ActiveXObject("ADODB.Connection")
[16:20] matclayton has joined the channel
[16:20] bingomanatee_: ouch
[16:21] bingomanatee_: This "SQL" you speak of.
[16:21] pyrotechnick: node<->MSSQL is like toaster<->bath
[16:21] squeeky: except it shouldn't be.
[16:21] pyrotechnick: but i wont judge you
[16:21] booths: I just need to pull data from someone elses database, and that's what they're using :P
[16:22] pyrotechnick: unless it's on the wiki it probably doesn't exist
[16:22] pyrotechnick: booths: i figured
[16:22] pyrotechnick: legacy :(
[16:22] pyrotechnick: github.com/ry/node/wiki/modules
[16:22] yorick: booths: you could use sockets
[16:22] bingomanatee_: I take it you already did a git hub search for node mssql?
[16:22] yorick: and figure out the protocol
[16:22] colinclark has joined the channel
[16:22] squeeky: the lack of pragmatism in modern day programmers seems to be declining some days.
[16:23] booths: bingomanatee_: yeah everything is mysql
[16:23] pyrotechnick: booths: you may be able to find some kind of gateway for mssql
[16:23] bingomanatee_: You might be better off creating a PHP web service at the database end.
[16:23] pyrotechnick: yeah
[16:23] bingomanatee_: Or ruby or something.
[16:23] pyrotechnick: something like that
[16:23] booths: I have access to a Windows server as well
[16:23] pyrotechnick: u cud use like
[16:24] bingomanatee_: .NET for that matter is prbably the easiest solution.
[16:24] pyrotechnick: mssql <-> ruby <-> dnode
[16:24] booths: I might end up hacking together a middleman type page like you're suggesting. I'm not 100% familiar w/ the socket approach yorik recommended
[16:24] pyrotechnick: if u use ruby
[16:24] pyrotechnick: and dnode
[16:24] pyrotechnick: then you wont have to do any protocol or messaging shit
[16:24] bingomanatee_: I would suggest that .NET since your client is a MS platform, would produce a really fast and easy web service.
[16:24] yorick: you could just do the protocol
[16:24] pyrotechnick: i dont think mssql would be a nice protocol to target
[16:25] dguttman has joined the channel
[16:25] yorick: microsoft documented it
[16:25] Lorentz: Anyway, can't think of an existing implementation of it
[16:25] bingomanatee_: I mean- you might put your request to the people at Joyent and something would emerge eventually but I doubt it would be produced fast enough for your purposes.
[16:25] Lorentz: Join the club, be the first
[16:25] pyrotechnick: microsoft documented .NET MVC
[16:25] davidascher has joined the channel
[16:25] pyrotechnick: and opened sourced it
[16:25] pyrotechnick: doesn't mean it's good lol
[16:25] yorick: it's using TDS
[16:26] Metal3d: really... wafadmin python script must not have shebangs...
[16:26] Metal3d: a python file that have only functions isn't an executable
[16:26] Metal3d: is there a dev admin here ?
[16:27] tjholowaychuk has joined the channel
[16:27] bingomanatee_: I'm having a real fun flame war on the PHP meetup site about how worthless design is for websites.
[16:27] booths: Is there anything fundamentally wrong that I can't think of of putting an .NET script as a middleman that just handles the SQL statements. Limit to to SELECT.
[16:27] bingomanatee_: "Okay - what is Facebook's "brand"? I mean - really - is "We have no style or class so we're just going to redefine middle of the road while we focus on keeping our servers up" a brand? Or Google's "Brand"? They could run their whole site without a single CSS file if they wanted to. Ebay could too.. I think Craig's list has CSS now but if they tossed it nobody would notice. Nobody's nominating Etrade for any design awards -
[16:27] pyrotechnick: http://stackoverflow.com/questions/4728385/connecting-to-a-remote-microsoft-sql-server-from-node-js
[16:27] bingomanatee_: they could go green neon with red text and people would still use them. "
[16:27] bmavity has joined the channel
[16:27] bingomanatee_: I love jerking around web design fairies
[16:28] booths: pyrotetechnick ActiveXObject reports undefined for me
[16:28] yorick: bingomanatee_: bad bingomanatee!
[16:28] Imperion: bingomanatee_--
[16:28] v8bot: Imperion has taken a beer from bingomanatee_. bingomanatee_ now has -1 beers.
[16:28] yorick: bingomanatee_: --
[16:28] yorick: bingomanatee_--
[16:28] v8bot: bingomanatee_ is getting too many beers. Don't let bingomanatee_ get drunk!
[16:28] Metal3d: lol
[16:28] Imperion: LOL
[16:28] yorick: meh
[16:28] pyrotechnick: booths: that's IE specific
[16:29] pyrotechnick: wont work in anything else
[16:29] Imperion: v8bot--
[16:29] v8bot: Imperion has taken a beer from v8bot. v8bot now has 11 beers.
[16:29] yorick: bingomanatee_--
[16:29] v8bot: bingomanatee_ is getting too many beers. Don't let bingomanatee_ get drunk!
[16:29] pyrotechnick: v8bot--
[16:29] v8bot: v8bot is getting too many beers. Don't let v8bot get drunk!
[16:29] Metal3d: ACTION manage IE fanclub :P
[16:29] dylang has joined the channel
[16:29] booths: yeah, so that question of it working on Node.js, won't work
[16:29] Metal3d: ACTION lies
[16:29] yorick: v8bot++
[16:29] v8bot: v8bot is getting too many beers. Don't let v8bot get drunk!
[16:29] bingomanatee_: I'm actually a fine arts major - but I think most artists take on airs way too much about how important they are to the world at large.
[16:29] Imperion: who wrote v8bot?
[16:29] pyrotechnick: booths: you'll have to wrap your sql server in some other protocol
[16:29] yorick: Imperion: probably inimino or sth
[16:29] pyrotechnick: otherwise you'll have to write an adapter for node.js
[16:29] pyrotechnick: but i'd just wrap it
[16:29] Imperion: more layers, woo
[16:29] bingomanatee_: The latest IE is going to be quite fast and webGL friendly.
[16:29] pyrotechnick: HAHA
[16:29] booths: Yeah, I don't have acccess to the actual server that I'm hitting, just an account to select stuff
[16:30] Kingdutch: bingomanatee_ You liar lol
[16:30] bingomanatee_: 'struth. I saw the MS lead present at a jQuery conference in the MS headquarters.
[16:30] bingomanatee_: it was quite impressive - they really are trying to do things right.
[16:30] Metal3d: jquery...
[16:30] Metal3d: my god...
[16:30] Lorentz: jquery
[16:30] bingomanatee_: They are paying close attention to HTML5 emerging standards.
[16:30] bingomanatee_: Jqueery
[16:31] dylang: "Error: session requires the "secret" option string for security" - I'm getting this after updating my node modules. I think it's from Connect.
[16:31] tjholowaychuk: AH what happened to the docs
[16:31] herbySk: bingomanatee_: they do things right when they have full support for svg... they do not plan for IE9, do they?
[16:31] tjholowaychuk: all ugly now
[16:31] bingomanatee_: didnt say
[16:31] pyrotechnick: yeah those docs are hideous
[16:31] pyrotechnick: find whoever commited that
[16:31] pyrotechnick: and revoke their commit access
[16:32] Metal3d: is anyone here can help me to understand how works the wafadmin tools, or at least what to do with
[16:32] pyrotechnick: the docs look like filthy python docs
[16:32] Metal3d: it seems that this tools must be installed into site-packages and not in lib
[16:33] bingomanatee_: I got the secret string error - its kind of a pointless new bug but its an easy fix. just put {secret: "suck my d**k"} in your express.session call
[16:33] pyrotechnick: like someone couldnt decide on less than 6 colors so they thought fuck it and used them all
[16:33] bingomanatee_: app.use(express.session({secret: Math.random()}));
[16:33] bingomanatee_: ACTION can't tell you how many "Geniuses" came up with the idea -- "Lets give each section of our site a different color theme, so our tabs have all the colors of the rainbow!"
[16:34] bingomanatee_: in web 1.0
[16:34] bingomanatee_: Gamespot, for one...
[16:34] jherdman_ has joined the channel
[16:34] bingomanatee_: "okay, lavender is for first person shooter and pale magenta is for side scrollers. Or is it the other way around?"
[16:35] tjholowaychuk: bingomanatee_: its not a bug lol
[16:35] tjholowaychuk: just forcing people to actually provide a secret
[16:35] tjholowaychuk: instead of ignoring it
[16:35] bingomanatee_: I've got a secret ... just put a random secret generator in your source and stop breaking our F**king sites already!
[16:35] tjholowaychuk: hahaha
[16:35] tjholowaychuk: calm down
[16:36] bingomanatee_: ACTION hasn't had his morning crack whore
[16:36] Metal3d: please, got to the bingomanatee_ beers
[16:36] beawesomeinstead has joined the channel
[16:37] pyrotechnick: david is a loose cannon
[16:37] pyrotechnick: killall bingomanatee
[16:37] bingomanatee_: ACTION can't trade beer for sex til after 10 when the Cougars come out to play
[16:39] pyrotechnick: tjholowaychuk: i
[16:39] pyrotechnick: cant type
[16:39] pyrotechnick: tjholowaychuk: i'm sure i've done it before but how can i intercept a fields setter in mongoose
[16:40] pyrotechnick: i basically just want to filter it as it comes in
[16:40] tjholowaychuk: not sure with old mongo, i believe so
[16:40] tjholowaychuk: well old mongoose*
[16:40] dbarker has joined the channel
[16:40] pyrotechnick: there's a new one now?
[16:40] tjholowaychuk: soon
[16:40] pyrotechnick: branch?
[16:41] herbySk: I have look at the new docs, and said to myself: "Yuck! Node.js is getting fat!"
[16:41] softdrink: "LA face with the Oakland booty…"
[16:41] tjholowaychuk: pyrotechnick: i think it's called ng
[16:41] pyrotechnick: next gen?
[16:41] tjholowaychuk: yeah, new goose
[16:41] tjholowaychuk: :)
[16:41] sprout has joined the channel
[16:41] pyrotechnick: yay
[16:42] tjholowaychuk: GAH
[16:42] tjholowaychuk: npm
[16:42] tjholowaychuk: always fucking me over
[16:42] dbarker has left the channel
[16:42] pyrotechnick: i think it's just setters:
[16:42] pyrotechnick: FYI
[16:42] pyrotechnick: trying now
[16:43] bradleymeck: herbySk most of it is present in some fashion in 2.x ( process.bindings anyone?) , its more we just need docs (though file system stuff blew way up in methods)
[16:46] davidwalsh has joined the channel
[16:46] Aikar has joined the channel
[16:46] Aikar has joined the channel
[16:46] femtooo has joined the channel
[16:47] noahcampbell has joined the channel
[16:47] Kingdutch: Do pointers exist in JS?
[16:47] sudoer has joined the channel
[16:48] herbySk: bradleymeck: and the naming seems inconsistent, somehing is capitals, something lower, ..., it seemed to me as "a pile of various code in one place", reminding me of the felling I had when I saw ruby docs... I think time slowly comes when it will be too musch to coordinate and pieces doing same things will be scattered at many places...
[16:48] Kingdutch: As in function changeValue(ofThis) { ofThis = 'newValue'; } changeValue(changeMe); //changeMe is now 'newValue'
[16:48] robotarmy has joined the channel
[16:48] robotarmy has joined the channel
[16:48] bingomanatee_: pass by reference you mean? have you RECL'd that test?
[16:49] Kingdutch: Well, you could do pass by ref I suppose
[16:49] Kingdutch: But I really meant pointers
[16:49] Kingdutch: Although they work in a similair fashion
[16:49] Kingdutch: And I have not RECL'd that
[16:49] bingomanatee_: The distinction between references and pointers is lost on me.
[16:49] Kingdutch: Also I don't know what RECL is
[16:49] bingomanatee_: type node without any parameters.
[16:49] bingomanatee_: hit return
[16:49] bingomanatee_: you are put into an interactive shell
[16:50] eikke: isnt it called REPL?
[16:50] Kingdutch: bingomanatee: a Reference is two variables that share values and if one changes, so does the other
[16:50] bingomanatee_: not anymore.
[16:50] Kingdutch: A pointer is a variable holding a memory address
[16:50] herbySk: Kingdutch: no pointers
[16:50] Kingdutch: So you need to tell it you want to change the value the mem address points to, and not the mem address
[16:50] gartenstuhl has joined the channel
[16:50] pyrotechnick: if you want pointers use node-ffi
[16:50] Kingdutch: Oh is that RECL?
[16:51] bingomanatee_: but if another variable is pointing to that memory address, doesn't its value change too?
[16:51] herbySk: Kingdutch: only passing by reference, which only works on typeof "object" or "function"
[16:51] Kingdutch: herbySk: Ah ok
[16:51] Kingdutch: bingomanatee_ http://www.dgp.toronto.edu/~patrick/csc418/wi2004/notes/PointersVsRef.pdf
[16:51] bingomanatee_: Yeah pass string by value, obj/function by reference.
[16:52] bradleymeck: herbysk im sure ryah would lay down the law if you want to make naming definitive, i think he is following the unix api pretty closely
[16:52] pyrotechnick: until he became friends with windows
[16:53] mscdex: ACTION shakes a fist at Windows
[16:53] Kingdutch: Hmmm
[16:53] herbySk: kingdutch: nevertheless, you example will not work for any type, since args of functions are variables on their own (whether holding reference or value)
[16:53] tjholowaychuk: hmm, so the http client totally barfs on HEAD requests
[16:53] Kingdutch: herbySk: So there's no way to make a func change an external variable?
[16:53] dbarker has joined the channel
[16:53] bingomanatee_: Hey... don't hurt Windows. Its the best gaming platform there is.
[16:53] bingomanatee_: Its just not appropriate for real work.
[16:53] bradleymeck: kingdutch nope
[16:53] Kingdutch: Gah
[16:54] bradleymeck: you can do f'ed up stuff with type coersion though, http://www.wikihost.org/w/nodejs/type_coersion
[16:54] Kingdutch: Graphics Engines are so much easier with pointers
[16:54] mscdex: i thought DOS was the best gaming platform
[16:54] bingomanatee_: Windows = DOS + Video Card
[16:54] bradleymeck: kingdutch, but pointers present issues for attacks and covert side-effects
[16:54] Metal3d: excuse me to ping you but... wafadmin tools are only needed to develop modules ?
[16:54] Chris_Biscardi has joined the channel
[16:54] pyrotechnick: Kingdutch: haha
[16:54] estrathmeyer has joined the channel
[16:55] Kingdutch: bradleymeck: I don't see how they bring issues for attacks, and I don't know about any side effects
[16:55] estrathmeyer has left the channel
[16:55] pyrotechnick: Kingdutch: for frame buffers?
[16:55] Kingdutch: pyrotechnick: That too
[16:55] statim has joined the channel
[16:55] isaacs has joined the channel
[16:55] herbySk: kingdutch: yes and no. other point of view you can see at it (not untrue one) is that everything already are pointers, passed by value (and you can only have pointer to an object, never pointer to a pointer itself). If you pass insied anything via which the function can change the external value, it will...
[16:55] pyrotechnick: Kingdutch: i dont know many parts of games that are actually better unmanged
[16:55] statim has left the channel
[16:55] Kingdutch: Being able to store a vertex buffer somewhere, and just edit it somewhere else is easy
[16:55] Kingdutch: It means the gfx engine can just render the vertex buffer
[16:55] Kingdutch: An I can change it without any problems
[16:56] Kingdutch: Otherwise I have to retrieve, create a whole new buffer, and put it back in
[16:56] herbySk: so either you pass the function which will set the value, or you pass the parent object which actually contains the variable you want to change
[16:56] Kingdutch: That means there's gonna be spikes of memory*2
[16:56] pyrotechnick: Kingdutch: you can modify a buffer...
[16:56] pyrotechnick: set it to something other than static
[16:56] binarypie has joined the channel
[16:56] bradleymeck: kingdutch, if i have a pointer and it gets passed around it can change from an area and you have to account for that change in every place it is visible, the fact that you must check prior to any use of a pointer for valid data is a concern in many ways, im not sure how you can think it isnt unless you dont check your data
[16:56] Kingdutch: pyrotechnick: I'm not talking about the buffer in the GFX cared
[16:56] Kingdutch: card8
[16:56] Kingdutch: I'm talking about the buffer in JS
[16:57] Kingdutch: You need an array with points to do LOD and stuff with, that you pass to the memcard
[16:57] pyrotechnick: ohhhh
[16:57] hunterloftis has joined the channel
[16:57] Kingdutch: bradleymeck: I don't see that as a covert side effect though
[16:57] bradleymeck: you could also make a preallocated buffer and just hold onto it and manage its memory patterns yourself (basically giving you a pointer system)
[16:57] tjholowaychuk: ryah_: ping
[16:57] Kingdutch: I see it as a known thing, and thus you can account for it
[16:57] pyrotechnick: Kingdutch: generally you dont use "buffers"
[16:57] Kingdutch: a simple if(!pointer) { die('This thing aint supposed to be 0 here :O'); } is simple enuf
[16:57] Fullmoon has joined the channel
[16:58] pyrotechnick: you use the typed javascript arrays and then set the draw mode to something other than static and then bufferSubData
[16:58] Kingdutch: Note: we're talking browser JS not Node
[16:58] yyamano has joined the channel
[17:00] SvenDowideit has joined the channel
[17:00] herbySk: kingdutch: do not hold thing in variable, but instead inside objects or arrays, then you can always indirectly change the value of a property or cell
[17:00] herbySk: \no other way in js
[17:00] Kingdutch: How is an array not a variable?
[17:00] herbySk: an array cell is not
[17:00] Kingdutch: var arr = []; is just like var str = 'string';
[17:01] Kingdutch: Right
[17:01] Kingdutch: But how can I indirectly change an array cell
[17:01] Kingdutch: If I can not indirectly chagne a string
[17:01] Kingdutch: That resides in the same scope
[17:01] herbySk: var arr=['string'] lets you pass arr and modifiy its [0]
[17:01] bradleymeck: var b=[{x:1}]; b[0].x //1, b[0]={x:2}; b[0].x //2
[17:01] bradleymeck: you dont need indirection
[17:02] Kingdutch: herbySk: if I pass arr, no copy gets made?
[17:02] briznad has joined the channel
[17:02] Imperion: tjholowaychuk: why are my sessions not persisting? http://codepad.org/90QGxWAT
[17:02] matt_c_ has joined the channel
[17:02] herbySk: kingdutch: no, as i wrote earlier, everything is in fact just a pointer to an objects (so if you pass arr, you pass pointer to it)
[17:02] pyrotechnick: Imperion: turn on cookies ;)
[17:03] Imperion: pyrotechnick: heh
[17:03] ceej has joined the channel
[17:03] pyrotechnick: im not exactly sure what turns cookies on
[17:03] Imperion: req.session is undefined
[17:03] bingomanatee_: elves
[17:03] pyrotechnick: like night elves?
[17:03] pyrotechnick: female night elves?
[17:03] booths: keebler elves
[17:03] bingomanatee_: keebler elves
[17:03] Kingdutch: herbySk: Aaah ok, because the example I said earlier didn't do that
[17:03] pyrotechnick: without their geer on
[17:03] tjholowaychuk: Imperion: I believe expires is derived from maxAge right now, so the store is relatively in sync. regardless req.session should pretty much always be defined
[17:03] bingomanatee_: ZING!
[17:04] pyrotechnick: you two
[17:04] pyrotechnick: you two need to go and take a cold shower
[17:04] tjholowaychuk: whether it is a new session or not is a different thing
[17:04] pyrotechnick: SEPERATELY
[17:04] bradleymeck: Kingdutch, any Object is passed by reference any other is passed by value and is effectively a singleton
[17:04] bingomanatee_: right as always
[17:04] tjholowaychuk: Imperion: I had started a branch refactoring the session middleware but it will be a bit, not much time
[17:04] pyrotechnick: did SubStack go sleepies
[17:04] Kingdutch: bradleymeck: In other words, pass around objects :D ok
[17:04] Kingdutch: got it
[17:04] Imperion: TypeError: Cannot set property 'oauth_verifier' of undefined
[17:04] pyrotechnick: SubStack: marco
[17:05] herbySk: kingdutch: if you come from C world, look at everything in js a pointer: every variable hold a pointer its actual value (never the value itself), and when fucntion is called, pointer are passed by value.
[17:05] herbySk: that way you get insight in how it works
[17:06] pyrotechnick: man JS is JITed
[17:07] Evet: do you know a good nodejs hosting?
[17:07] Kingdutch: herbySk: Ok that works, then I can just keep my *buffers in a central place and edit them outside
[17:07] Kingdutch: Now I just want the lovely looking -> operator
[17:07] Kingdutch: Looks soo much cooler than the .
[17:07] pyrotechnick: Evet: nodefu
[17:07] davidsklar has joined the channel
[17:08] Kingdutch: Anyway time to make some music upstairs bbiab
[17:08] daniellindsley has joined the channel
[17:08] Imperion: tjholowaychuk: my mistake
[17:08] Imperion: tjholowaychuk: request.session is defined
[17:08] Imperion: tjholowaychuk: the data however, is not
[17:08] richcollins has joined the channel
[17:08] tjholowaychuk: Imperion: its a little fucked up right now, but its tough to have all the flexibility but have an api people will actually use
[17:08] Imperion: >_>
[17:09] Imperion: can the stupid thing store a simple little object?
[17:09] Imperion: and persist it over multiple requests?
[17:09] Imperion: :S
[17:09] tjholowaychuk: the cookie stuff is going to move to the session level
[17:09] tjholowaychuk: yeah
[17:09] tjholowaychuk: of course
[17:09] tjholowaychuk: lol
[17:09] Imperion: IT'S NOT DOING THAT
[17:10] Imperion: req.session.request_token = token;
[17:10] Imperion: req.session.touch();
[17:10] Imperion: on the next request, req.session.request_token is not defined in req.session
[17:10] tjholowaychuk: it saves the data on res.end()
[17:10] Imperion: fabulous.
[17:10] jimt_ has joined the channel
[17:10] Imperion: that explains a lot
[17:10] dbarker: hi all - working on a simple server to write raw uploaded data to a file, noticed that my code depends on a race condition. If it takes a while to set up the 'data' event handler of an http server request, is there a way to guarantee that no data events will be missed? Suppose I could all request.pause() until handler is set up, but not sure what's right.... sample code here: https://gist.github.com/786445
[17:10] tjholowaychuk: what did you expect lol its not magic
[17:10] pyrotechnick: nodefu looks pretty snazzy
[17:10] Imperion: I'm supposed to set some data in a callback?
[17:11] Imperion: s/\?//
[17:11] pyrotechnick: dbarker: pm
[17:11] Imperion: how am I going to do that?
[17:11] Imperion: tjholowaychuk: ping
[17:11] arpegius has joined the channel
[17:12] tjholowaychuk: Imperion: internally we do req.session.touch(); req.sessionStore.set(req.sessionID, req.session)
[17:12] tjholowaychuk: its not really ideal to do it on end()
[17:12] hobodave has joined the channel
[17:12] tjholowaychuk: but, no one really wants to save the session manually all the time
[17:13] Imperion: tjholowaychuk: so I should do the above in order to store data after the request ends?
[17:13] syskk has joined the channel
[17:14] syskk: what's the recommended way to update node.js to a particular version?
[17:14] syskk: is it possible through npm?
[17:14] tjholowaychuk: no, i was just showing you what it does in case you need to manually, but it should be doing that for you
[17:14] syskk: or should I simply clone the git repo and install the build the appropriate tag
[17:14] isaacs: syskk: i keep a git repo and pull from ry/master every so often. then i use nave to see other versions.
[17:14] tjholowaychuk: syskk: https://github.com/visionmedia/n
[17:14] syskk: thanks isaacs
[17:15] isaacs: syskk: or you could use tj's "n"
[17:15] ajpi has joined the channel
[17:15] isaacs: tjholowaychuk: you know there's an "N" as well
[17:15] isaacs: what's with one-letter package names?
[17:15] isaacs: jeez
[17:15] stagas: dbarker: this is wrong, you should set up your listeners while in the same tick
[17:15] isaacs: q, n, etc.
[17:15] tjholowaychuk: isaacs: :)
[17:16] isaacs: "N" is hassox's thing. not sure what it is
[17:16] tjholowaychuk: hmm
[17:16] tjholowaychuk: havent seen it
[17:16] isaacs: yeah
[17:16] isaacs: only one version
[17:16] tjholowaychuk: oh its a framework
[17:17] dbarker: stagas: so if I remove the setTimeout, I'm all set?
[17:17] altamic_ has joined the channel
[17:18] bingomanatee_: Hey Isaacs - care to attend http://www.meetup.com/Node-js-sfbay/ 's launch meetup?
[17:18] bingomanatee_: free beer and women
[17:18] zzak has joined the channel
[17:18] zzak has joined the channel
[17:18] stagas: dbarker: yes it's safe, the events won't begin transmitting until the next tick
[17:19] bradleymeck: ive been playing with aspect oriented stuff in js, but doesnt seem a good fit the more i do it
[17:19] bradleymeck: anyone using aspect oriented in here?
[17:20] Gruni has joined the channel
[17:20] unomi has joined the channel
[17:20] pyrotechnick: tjholowaychuk: can you help dbarker with this https://gist.github.com/786445
[17:20] pyrotechnick: he explains the problem on line 21-23
[17:20] dmcquay has joined the channel
[17:21] tjholowaychuk: one sec
[17:21] dbarker: stagas: ok nice, so the request is more or less paused during the tick... think that means I'm not depending on a race condition
[17:21] zomgbie has joined the channel
[17:21] bmavity: bradleymeck: i've tried it a bit, but haven't found anything i truly like yet
[17:21] OSInet has joined the channel
[17:21] yhahn1 has joined the channel
[17:22] arpegius has joined the channel
[17:22] OSInet has left the channel
[17:22] stagas: dbarker: no, in javascript nothing else happens when a function executes its synchronous code
[17:22] bradleymeck: yea, im designing stuff, but just cant get a good handle on how to deal with async unless we use the next() style
[17:22] hunterloftis: tjholowaychuk: You've mentioned rails failing hard before; what are your thoughts on that? I'm considering giving rails a shot just to see what the hype is about.
[17:23] Gruni has joined the channel
[17:23] tjholowaychuk: hunterloftis: meh, like i've said a few times it is really just either you build a framework up, or break it down
[17:23] tjholowaychuk: IMO it takes roughly the same amount of time either way
[17:23] dbarker: stagas: gotcha, suppose I shouldn't think of it as threads
[17:24] perezd has joined the channel
[17:24] hunterloftis: tjholowaychuk: That makes sense. One of the reasons I'm looking at rails is because we've built Express up a lot; but I think building up introduces fewer hacks than breaking down.
[17:24] bingomanatee_: I think things like rails, drupal, wordpress are good to learn just to geta sense of what large groups of people have settled on usability wise.
[17:24] stagas: dbarker: no all that is abstracted with node.js, you just deal with a single thread in your code
[17:24] Imperion: ACTION screams
[17:25] tjholowaychuk: hunterloftis: I find it far more flexible to start with something simple like express
[17:25] tjholowaychuk: but yeah totally depends on the developer I suppose
[17:25] Imperion: tjholowaychuk: this isn't working. data is not being retrieved on further requests. please help.
[17:26] tjholowaychuk: Imperion: try an isolated use, with the default memory store etc
[17:26] hunterloftis: tjholowaychuk: I just hear so much about how you can do so much with so little time with rails, etc etc.
[17:26] tjholowaychuk: hunterloftis: if you hate programming
[17:26] tjholowaychuk: lol
[17:26] tjholowaychuk: its just like drupal, it does 80% for you, and then fucks you over hard for the other 20%
[17:26] dbarker: stagas: I see - simpler than I thought, that's always a good thing!
[17:27] bingomanatee_: There is a good argument for Rails et. all when it comes to how much maintenance you want to oblige yourself to.
[17:27] bingomanatee_: With Rails you are only obliged to maintain your implementation of the clients business plan.
[17:27] eee_c has joined the channel
[17:27] piscisaureus: mraleph: the latest v8 fixes the issue but introduces new ones
[17:27] bingomanatee_: With DIY you are obliged to nearly the whole stack.
[17:27] matclayton has left the channel
[17:28] bingomanatee_: There are plenty of brochureware/blogs I can do with 0% coding with Drupal. If money is your object - most Drupal programmers CAN'T code.
[17:28] Imperion: tjholowaychuk: it's spontaneously disappearing
[17:28] mscdex: node.js rules!
[17:28] piscisaureus: mraleph: Program received signal SIGSEGV, Segmentation fault.
[17:28] Imperion: tjholowaychuk: if I set the cookie path to only the required path, it lives for another request
[17:28] piscisaureus: 0x00771667 in v8::internal::kPointerToSmiShift ()
[17:29] tjholowaychuk: Imperion: feel free to implement your own
[17:29] Imperion: tjholowaychuk: and then dies spectacularly
[17:29] Imperion: tjholowaychuk: DO NOT WANT
[17:29] bingomanatee_: I tried pimping Node.JS at the Drupal 7 launch and everyone there was like, "I"m making money with Drupal 7, why would I want to learn a coding language which is hard?"
[17:30] stepheneb has joined the channel
[17:30] tjholowaychuk: bingomanatee_: developmentseed is moving away from drupal
[17:30] tjholowaychuk: but they do real apps lol
[17:30] tjholowaychuk: not lame stuff that most drupal shops do
[17:30] andrzejsliwa has joined the channel
[17:30] Lorentz: Drupal people don't actually like coding.
[17:30] Lorentz: They just grab someone else's modules, tweak it a little, and done, they get paid for making a site.
[17:30] sprout has joined the channel
[17:31] bingomanatee_: I'm not trying to say "Drupal Good" - but for small clients with limited version it is a great fit.
[17:31] bradleymeck: ah good ole drupal on pagespeed tests
[17:31] tjholowaychuk: Lorentz: and complain when your modules from 4 years ago are no longer maintained haha
[17:31] mscdex: Drew Puhl
[17:31] alex_b has joined the channel
[17:31] bingomanatee_: Ruby as well.
[17:31] bingomanatee_: I like node - thats why I'm here - but I think its disingenuous to say that Drupal and Rails don't have an appropriate market.
[17:31] bingomanatee_: I just don't care to attend to that market.
[17:31] squeeky: Drupal and Rails are too different things.
[17:31] jimt has joined the channel
[17:32] bradleymeck: drupal is amazing if you just need the fin site up, if you want the site to be able to handle heavy load, provide an external API, or not use jQuery, not so great
[17:32] mscdex: but drupal doesn't have a package manager!
[17:32] bingomanatee_: who said they were?
[17:32] squeeky: You did indirectly by putting them together like that given the context.
[17:32] mscdex: dpm
[17:32] Lorentz: bingomanatee_: As I said, you were pimping a bare js engine at a group of people who don't like coding
[17:32] Lorentz: It's no surprise they answered as they did.
[17:33] bradleymeck: however, i know js, php, mysql and a lot of drupal people say i couldnt manage a drupal sight
[17:33] aklt has joined the channel
[17:33] bradleymeck: site* tired...
[17:33] bingomanatee_: Well I got a lot of interest from people doing projects with large data throughput problems.
[17:33] mraleph: piscisaureus: whoa
[17:33] devdrinker has joined the channel
[17:33] mscdex: i wrote a couple drupal modules awhile back and suffice to say it wasn't a very pleasant experience
[17:33] mscdex: :\
[17:33] Lorentz: mscdex: in 7.0 they upgraded to "upload modules via ftp"
[17:33] bingomanatee_: Drupal is effectively its own language.
[17:33] mraleph: piscisaureus: try running v8 testsuite
[17:34] tanepiper: mscdex: my last job was Drupal based
[17:34] Lorentz: Instead of having to roll it out manually through ssh/putty/etc in sites/all/modules etc
[17:34] lumino has joined the channel
[17:34] tjholowaychuk: mscdex: haha yeah I wrote like 20 OS ones, not fun
[17:34] Lorentz: But it's still ftp
[17:34] tanepiper: i feel your pain
[17:34] Lorentz: Pfffft who uses ftp these day and age
[17:34] Imperion: huh
[17:34] Imperion: there's an update for express and connect?
[17:34] mscdex: Lorentz: sftp! :>
[17:34] tanepiper: although to be honest for our website on launch i'll be using Drupal, but just because it's great for content management
[17:34] Imperion: and now it's demanding a secret for sessions?
[17:34] Imperion: WTF?
[17:34] mraleph: piscisaureus: in deps/v8 say tools/test.py -m debug --snapshot
[17:34] sucaba-608 has joined the channel
[17:35] tjholowaychuk: Imperion: pquerna's patch
[17:35] tlrobinson has joined the channel
[17:35] Vladimir1 has joined the channel
[17:35] Imperion: tjholowaychuk: ?
[17:35] Lorentz: mscdex: I consider sftp different to ftp, but really, can't you just sshfs if you really wanted secure mounting for file transfer
[17:35] Lorentz: If you were going sftp anyway
[17:35] bingomanatee_: ACTION 's site is in Drupal and will stay that way for a long long time.
[17:35] lumino has joined the channel
[17:36] mscdex: I want my CMS to be written in ASM!
[17:36] bingomanatee_: Because I don't have any huge demands on large data intensive operations for my blog so why write and maintain the codebase?
[17:36] tanepiper: but our site != our app, the site is mainly for selling consultancy
[17:36] Imperion: ACTION puts mscdex in a grinder
[17:36] bingomanatee_: I mean - really - I might as well be using Dreamweaver.
[17:36] stepheneb has joined the channel
[17:36] piscisaureus: mraleph: how do I run the test suite with scons?
[17:36] tanepiper: and the app is to be part of the consultancy, the app itself is 100% JS :D
[17:36] yozgrahame has joined the channel
[17:37] mscdex: oh dreamweaver, i believe you can get me through the night!
[17:37] bingomanatee_: hey I started hand coding sites. I can do it I just don't see the point anymore.
[17:37] cadorn has joined the channel
[17:37] bingomanatee_: Dreamweaver was my first PHP IDE :D
[17:37] sucaba-004 has joined the channel
[17:37] piscisaureus: mraleph: bbl
[17:37] tanepiper: "Programmed in Notepad"
[17:37] mscdex: i started out with notepad for everything
[17:37] mscdex: hah
[17:37] mraleph: piscisaureus: dunno. I always run in separately with tools/test.py
[17:37] syskk has joined the channel
[17:37] syskk has joined the channel
[17:38] matt_c has joined the channel
[17:38] sucaba-938 has joined the channel
[17:38] tanepiper: Notepad: the first proper web development IDE :D
[17:38] mscdex: then i switched to notepad++ on windows and gedit on linux, which i still use now
[17:39] sucaba-814 has joined the channel
[17:39] bingomanatee_: nodepad#
[17:39] mscdex: i tried fancy IDEs, but i never really cared for them
[17:39] tanepiper: Yea, I use E-texteditor. I really haven;t found an IDE or other text editor that I like
[17:39] bingomanatee_: okay guys gotta go make old guy money TTYL
[17:39] booo has joined the channel
[17:39] riven: e-texteditor ftw
[17:40] tanepiper: I downloaded Aptana to give it a try, but it won't autocomplete words in my source, just JS DOM stuff
[17:40] kiddphunk has joined the channel
[17:40] Imperion: tjholowaychuk: how do I make/set the secret?
[17:40] sucaba-209 has joined the channel
[17:40] antares_ has joined the channel
[17:40] tanepiper: I would love a nodejs autocomplete IDE, but i'm not going to make the file for it :D too lazy
[17:40] Imperion: I see no docs about that :S
[17:40] tjholowaychuk: Imperion: session({ secret: 'whatever' })
[17:41] amerine has joined the channel
[17:41] tjholowaychuk: connect is a clusterfuck, so the docs are preetty much invalid haha
[17:41] tjholowaychuk: this is what happens when sencha gives up on it
[17:41] tanepiper: tjholowaychuk: it's a pity because I'm using it + ExtJS and they work we together
[17:41] tanepiper: *well
[17:42] tanepiper: if they were serious about javascript, they should have a server side solution that ties in nicely with ExtJS/Touch
[17:42] Vladimir1 has left the channel
[17:42] bmavity: tjholowaychuk: why did they give up on it? working on something different?
[17:42] tjholowaychuk: bmavity: I dunno, they havent hired anyone to work on it
[17:42] jimt has joined the channel
[17:43] Imperion: tjholowaychuk: now.. it suddenly works
[17:43] tanepiper: although tbh I ended up writing a Proxy/Store for Dnode instead, and just use connect for static content + upload handling and it works much nicer than their pretty pathetic attempt at JSONRPC
[17:43] q_no has joined the channel
[17:43] bmavity: tjholowaychuk: ahh k
[17:44] Gruni has joined the channel
[17:44] tjholowaychuk: tanepiper: what's their jsonrpc thing called again?
[17:44] tanepiper: ExtDirect
[17:44] tjholowaychuk: oh yeah direct
[17:44] tanepiper: but they only provide examples for PHP and Ruby
[17:44] hdon has joined the channel
[17:45] tanepiper: and it's a bitch to implement, this was much easier to do as i basically copied the ExtDirect proxy + store and implemented DNode callbacks and it just works
[17:45] tanepiper: realtime callbacks all the way down :D
[17:45] rjrodger: tanepiper: have you tried emacs :) http://www.youtube.com/watch?v=oWxtBVT9C_s
[17:46] tanepiper: rjrodger: yea, i'm more a vim fan but even then i really can't be bothered learning all the vim commands, i just use it for basic editing on the server
[17:46] JohnnyL has joined the channel
[17:46] tanepiper: I use WinSCP + E-TextEditor instead and it works perfectly
[17:46] lumino: tanepiper: vim rocks!
[17:47] djanowski has joined the channel
[17:47] lumino: Just switched, next step will be dvorak :)
[17:47] tanepiper: EMacs: An OS in a text editor
[17:47] rjrodger: started on vi (not vim now mind) on vt100s, but went over to the dark side in '96
[17:48] gf3 has joined the channel
[17:48] sudoer has joined the channel
[17:48] Salsero has joined the channel
[17:48] tmzt: fairwinds: okay, when I first looked into aws I I remembered seeing something like that but forgot what it was called
[17:48] lumino: So guys, stupid question; whats the best setup in production?
[17:49] fairwinds: tmzt: sure
[17:49] shiawuentan has joined the channel
[17:49] RevoOf has joined the channel
[17:50] charlenopires_ has joined the channel
[17:51] Salsero: Hi, I'm trying to run through the git commands to use node.git from git://github.com/ry/node.git, however I am getting an error when using 'git clone git://github.com/ry/node.git'. It's saying fatal: Unable to look up github.com (port 9418) (Non-recoverable failure in name resolution). Does anyone now how to fix this error?
[17:52] mscdex: lumino: meaning what?
[17:53] dbarker: Salsero: try 'git clone https://github.com/ry/node.git'
[17:53] rauchg_ has joined the channel
[17:53] Salsero: dbarker: thank you, let me check that out
[17:53] JimBastard: tjholowaychuk: you check out http://blog.nodejitsu.com/most-active-nodejs-users , you made the list
[17:53] fairwinds: wonder how nodefu is going to make its money?
[17:54] tjholowaychuk: JimBastard: haha, what does that have to do with anything
[17:54] JimBastard: fairwinds: by diluting nodejitsus brand
[17:54] tjholowaychuk: who talks the most?
[17:54] JimBastard: those fuck heads
[17:54] JimBastard: tjholowaychuk: try reading the article
[17:54] tjholowaychuk: not overly interested who talks in #node.js the most
[17:55] JimBastard: tjholowaychuk: well, then you miss point of article, k
[17:55] arpegius_ has joined the channel
[17:55] Lorentz: gf3: Thanks for irc-js
[17:55] tmzt: that blog runs on node !
[17:56] cloudhead has joined the channel
[17:56] tmzt: just pasted the url twice and got the 'Cannot GET...'
[17:56] gf3: Lorentz: np! thank you for using it!
[17:57] JimBastard: tmzt: our entire stack in node
[17:57] hij1nx has joined the channel
[17:57] mscdex: who operates nodefu?
[17:57] blueadept has joined the channel
[17:58] mscdex: anyone in here?
[17:58] ryah_: piscisaureus: hello
[17:59] Kingdutch: JimBastard: Chat Lines don't tell you much, other than the amount of times you hit the return key
[17:59] tmzt: JimBastard: what do you use for cms?
[18:00] Kingdutch: tmzt: Dreamweaver
[18:00] Kingdutch: :')
[18:00] davidascher has joined the channel
[18:00] JimBastard: Kingdutch: read the article
[18:00] Kingdutch: JimBastard: I did
[18:00] isaacs has joined the channel
[18:00] JimBastard: Kingdutch: i strongly disagree with you based on my findings
[18:00] JimBastard: how come , ry, isaacs, and creationix all got top 5?
[18:00] Kingdutch: I've been on top of many PISG lists
[18:00] JimBastard: if the numbers don't tell you much
[18:01] mikeal: JimBastard: Rogers, not Rodgers :)
[18:01] JimBastard: yeah, but not #node.js
[18:01] JimBastard: mikeal: fixing
[18:01] Kingdutch: Not in a single case did it depict my contribution to the channel
[18:01] tjholowaychuk: it means we all waste lots of time talking
[18:01] tjholowaychuk: lol
[18:01] robotarmy has joined the channel
[18:01] Kingdutch: Granted the people below me were helping out other peopel :')
[18:01] mikeal: no problem, you got the hard to spell part right :)
[18:02] booo has joined the channel
[18:03] sucaba-524 has joined the channel
[18:03] isaacs: Kingdutch: what's your premise exactly?
[18:03] isaacs: Kingdutch: i'm not sure what you're disputing.
[18:03] tmzt: tanepiper: a node.js autocomplete ide must by definition run in a web browser
[18:03] Kingdutch: Just saying that the PSIG alone is useless
[18:03] mscdex: tmzt: ncurses!
[18:03] isaacs: Kingdutch: it's information. it's not total and complete information. but it IS information.
[18:03] jimt has joined the channel
[18:04] Kingdutch: True
[18:04] Kingdutch: But especially for people that
[18:04] Kingdutch: Talk
[18:04] Kingdutch: like
[18:04] Kingdutch: Thi
[18:04] Kingdutch: s
[18:04] isaacs: Kingdutch: like any evidence, it's only relevant in the context of what question you're trying to answer.
[18:04] Kingdutch: Line counts can be very high without them actually contributing anything
[18:04] isaacs: since most people *don't* talk that much, it's actually pretty valid. not noiseless, of course.
[18:04] isaacs: s/that much/like that/
[18:04] Kingdutch: Although I admit, JimBastard's article is accurate
[18:04] brapse has joined the channel
[18:04] tjholowaychuk: but its useless considering he just blabbers on about random shit
[18:04] tjholowaychuk: instead of node
[18:05] stagas: I think I'll make another coffee
[18:05] isaacs: haha
[18:05] Kingdutch: isaacs: I admit, this channel is pretty clean, but I know plenty of people who talk like that
[18:05] isaacs: Kingdutch: if they comein here, we make fun of them.
[18:05] isaacs: and tell them to use gist or pastie.
[18:05] isaacs: ;)
[18:05] tmzt: bingomanatee: one of my goals is to have a nodejs setup where you can pull in the right git submodules and have a nice framework to start with, though I still fully intend to both code and control everything that happens, just don't like writing *boilerplate* code anymore
[18:05] tanepiper: tmzt: not neccasarily, you just need a good definition file that keeps up with nodejs modules
[18:05] tanepiper: so i can do fs. and get all the methods available on fs
[18:06] Kingdutch: isaacs: I'm not even talking about pasting code lol
[18:06] isaacs: Kingdutch: actually, i'm probably one of the worst \n abusers in here.
[18:06] mraleph: piscisaureus: I am running tests on MinGW compiled bleeding_edge HEAD... will take some time cause I can't run them in parallel due to some bug in Python on Windows
[18:06] tanepiper: i suppose it would need something to check the requires though, incase i do var filesystem = require('fs')
[18:06] isaacs: have to be, to keep up with JimBastard
[18:06] Kingdutch: isaacs: Article says otherwise, but yeh, those 3 lines, I see :')
[18:07] tanepiper: If anything, I would love to see PyDev/PyCharm but for nodejs, and javscript in general
[18:08] tanepiper: but for that to get traction, you probably need nodejs compilable under windows, or cygwin support baked in
[18:08] mraleph: piscisaureus: it will approximately take an hour
[18:08] stagas: tmzt: I recently started working a project like that, http://github.com/stagas/express-helpful
[18:09] JusticeFries_ has joined the channel
[18:09] stagas: tmzt: check out the example server
[18:09] mraleph: tanepiper: nooooooo. kill da ancient mammoth called cygwin
[18:09] JimBastard: i made sure to give shoutouts for some of the quieter people
[18:10] piscisaureu_ has joined the channel
[18:10] tanepiper: mraleph: what's the alternative other than to get nodejs compiling nativly under windows
[18:10] stagas: tmzt: though it's a mess now, but I'm using some common patterns from my experience with express, sort of extending it
[18:10] mraleph: make it compile with Visual Studio (best case) or mingw (worst case)
[18:11] fairwinds: JimBastard: nodejitsu looks pretty good
[18:12] tanepiper: mraleph: best case, you can then write nodejs code in Visual Studio :D
[18:13] tmzt: tanepiper: yeah I know, but having it on a server would be neat for rapid prototyping, which is how I meant it
[18:13] rauchg_ has joined the channel
[18:13] JimBastard: thanks fairwinds
[18:13] dylang: If I'm going to have to use MySQL, is there a specific recommended MySQL module?
[18:13] tmzt: I actually started on that before I found nodejs, was trying to figure out how to do it
[18:14] fairwinds: JimBastard: how will be priced for future
[18:15] mjr_ has joined the channel
[18:15] nejucomo has joined the channel
[18:15] brianc: dylang: github.com/felixge/node-mysql
[18:15] rjrodger has joined the channel
[18:16] JusticeFries_ has joined the channel
[18:16] piscisaureu_ has joined the channel
[18:16] JusticeFries__ has joined the channel
[18:16] tmzt: stagas: boil does apply use?
[18:17] Manuel- has joined the channel
[18:19] piscisaureus: ryah_: I am not here. this my shadow writing. if there's any issue, pls send mail
[18:19] stagas: tmzt: boil sets up the middleware mostly and it has a more config-alike api
[18:19] jimt has joined the channel
[18:19] dylang: brianc: thanks. this is does stored procedures?
[18:19] Imperion: piscisaureus: your shadow is talkative
[18:20] brianc: dylang: not sure
[18:21] Thorn has joined the channel
[18:21] stagas: tmzt: it's still a draft, not sure this is how I want it, but it fits nice for my projects now. really easy to setup a server, the example uses most features but you can just do a boil(app) with no parameters
[18:21] tanepiper: haha: http://www.reddit.com/r/IAmA/comments/f545e/i_am_a_fourtime_published_author_i_write_free/c1dcgsm
[18:22] tanepiper: Python 3: Commercial Failure
[18:22] hij1nx has joined the channel
[18:22] JimBastard: fairwinds: competitive, free for developers
[18:22] JimBastard: fairwinds: free for #node.js friends
[18:22] fairwinds: ah, k
[18:22] stagas: tmzt: minimal: app = express.createServer(); boil(app); compile(views); ..your routes.. ; start(app)
[18:22] jamesarosen has joined the channel
[18:23] lumino: mscdex: do you proxy nginx or run node.js standalone with some monitoring to make sure it doesn't end?
[18:23] stagas: :)
[18:23] halfhalo: "free hoasting for EVERYONE!!!*" *certain conditions apply. Like your kidney
[18:23] fairwinds: hehe
[18:23] Imperion: lol
[18:24] Kingdutch: Free Hoaxing for everyone
[18:24] dmcquay has joined the channel
[18:24] lumino: lol
[18:25] brianc has joined the channel
[18:27] rburhum has joined the channel
[18:28] hij1nx: hoasting?
[18:28] hij1nx: wut
[18:29] springmeyer has joined the channel
[18:30] kjeldahl has joined the channel
[18:30] perlmonkey2 has joined the channel
[18:30] Tropicana has joined the channel
[18:30] tlrobinson has joined the channel
[18:31] rauchg_ has joined the channel
[18:31] Country has joined the channel
[18:32] Qbix1 has joined the channel
[18:32] piscisaureus: mraleph: looks like the crash happens when calling a js function from C
[18:32] piscisaureus: mraleph: is there any test that tests that specifically
[18:34] benburkert has joined the channel
[18:35] broofa has joined the channel
[18:36] Tropicana: when i use node.js 0.3.2 cygwin. http module send me a error at some url. others works well? https://gist.github.com/786599
[18:36] ph^ has joined the channel
[18:39] booths: Out of curiosity what error Tropicana?
[18:39] mraleph: piscisaureu_: many of the test invoke JS functions from C. I am still running tests but nothing bad happened.
[18:40] mraleph: I am running in debug mode though
[18:40] Tropicana: Error: ECONNABORTED, Software caused connection abort
[18:40] piscisaureus: mraleph: node_g has the same problem, which uses debug mode as well
[18:40] SubStack: tjholowaychuk: oh I forgot to mention, you just won the npm
[18:40] matjas has joined the channel
[18:41] tjholowaychuk: SubStack: won the npm?
[18:41] MattJ has joined the channel
[18:41] booths: Tropicana: Ah... That's not what I'm seeing but I remember getting that when I was sending a request with improper headers
[18:41] eags_ has joined the channel
[18:41] JusticeFries_ has joined the channel
[18:42] mraleph: piscisaureu_: there was a JS->C calling issue on mingw but I think I fixed it.
[18:42] stride: hey guys
[18:42] SubStack: tjholowaychuk: http://substack.net/posts/7a0e41/npmtop
[18:42] dguttman has joined the channel
[18:42] tjholowaychuk: oh neat haha
[18:42] mraleph: piscisaureu_: I am going home now, will look at the test results tomorrow morning.
[18:42] piscisaureus: mraleph: ok
[18:43] piscisaureus: mraleph: will try to narrow it down tonight
[18:43] mraleph: ok. if it does not fail I will again fetch from your repo and rebuild node.
[18:43] tjholowaychuk: SubStack: ahahaha!! the characters are hilarious
[18:44] piscisaureus: mraleph: cool. thanks :-)
[18:44] SubStack: scraped from gravatars and embellished
[18:44] jimt_ has joined the channel
[18:45] killfill has joined the channel
[18:45] BrunoAssis has joined the channel
[18:45] muhqu has joined the channel
[18:45] BrunoAssis: Hello guys :)
[18:46] tjholowaychuk: so funny
[18:46] derferman has joined the channel
[18:47] figital_ has joined the channel
[18:47] lumino has joined the channel
[18:48] BrunoAssis: I started learning node.js just yesterday. I still didn't figure out one thing:
[18:48] robotarmy has joined the channel
[18:48] BrunoAssis: Do you need a webserver or can you use node as a webserver?
[18:48] piscisaureus: ryah_: what's up?
[18:49] nu-: BrunoAssis you can write a webserver on node if you need to
[18:49] jimt has joined the channel
[18:49] isaacs: SubStack: LOLZ
[18:49] eags_ has left the channel
[18:50] mikedeboer has joined the channel
[18:51] GasbaKid has joined the channel
[18:51] beawesomeinstead has joined the channel
[18:51] beawesomeinstead has joined the channel
[18:52] BrunoAssis: nu-: I see. Any examples available?
[18:52] xla has joined the channel
[18:52] nu-: Kinda, listed on frontpage of nodejs.org
[18:52] Manuel- has joined the channel
[18:53] BrunoAssis: nu-: omg, how could I skip it? :P
[18:53] BrunoAssis: nu-: Thanks! I'll have a look.
[18:53] brianc: BrunoAssis: if you're asking if you need to put nginx or apache in front of node, you do not need to do that. You can just put node on port 80
[18:54] Manuel- has joined the channel
[18:54] lumino: brianc: thx, that answered my question as well. So how do you make sure it restarts if it hangs?
[18:54] colinclark has joined the channel
[18:55] brianc: lumino: people have been putting monit or some other program on their server to watch the node process and restart it if it goes down
[18:55] tlrobinson has joined the channel
[18:55] jimt has joined the channel
[18:55] lumino: ok thx
[18:55] ryah_: piscisaureus: i actually didn't intend to land your patches - but inadvertently did
[18:56] ryah_: but whatever
[18:56] ryah_: good way to force me into action
[18:56] jacobolus has joined the channel
[18:57] rtuin has joined the channel
[18:57] JusticeFries has joined the channel
[18:57] Tropicana: booths: I used only host header at request. "/imp?slot=3159&ads=34436&tid=1" ->good, /imp?slot=3159&ads=34436&tid=1&type=as -> error. 'type' string send error? when i replace "type" with "types" ok.
[18:57] piscisaureus: ryah_: umm. well, not my fault ;-). But it should't hurt much, although this keypress/data issue you raised must be addressed plus the tab thingie
[18:58] stepheneb has joined the channel
[18:59] ryah_: yeah - i'll fix these
[19:00] piscisaureus: kewl. I'd like to do something as well but it seems there's another v8 bug to track down
[19:00] piscisaureus: want to do that first
[19:00] ryah_: im upgrading v8 to 3.0.9
[19:00] ryah_: is that going to blow out your fi?
[19:00] ryah_: fix
[19:01] piscisaureus: ryah_: you must reapply the -fno-builtin-memcpy
[19:01] ryah_: or did it get landed?
[19:01] ryah_: ok
[19:01] piscisaureus: ryah_: there's another fix that's only in bleeding edge, but it doesn't work like it should yet
[19:01] piscisaureus: ryah_: I'll keep you posted
[19:02] ryah_: ok
[19:02] gf3 has joined the channel
[19:02] tmcw has joined the channel
[19:02] dgathright has joined the channel
[19:03] shadow_walker has joined the channel
[19:03] dguttman has joined the channel
[19:03] springmeyer: I could not track down any nodejs projects from handling zip archives, just streams, so started writing one
[19:04] springmeyer: in case anyone is interested: https://github.com/springmeyer/node-zipfile
[19:05] tmcw has left the channel
[19:05] hunterloftis: tjholowaychuk: Is there a simple way to get the host root in express? (eg "http://localhost:90/" or "http://stuff.whatever.com/") ?
[19:06] tjholowaychuk: hunterloftis: vhost middleware?
[19:07] tjholowaychuk: oh GET
[19:07] rauchg_ has joined the channel
[19:07] tjholowaychuk: req.headers.host
[19:07] hunterloftis: tjholowaychuk: haha yeah
[19:07] hunterloftis: tjholowaychuk: Baller thanks, I knew that was in there somewhere, just not where
[19:09] brianc: anyone have thoughts on the "require.js" project?
[19:09] _tmcw has joined the channel
[19:10] softdrink has joined the channel
[19:10] tmzt: so jq and dojo don't need their own
[19:11] tmzt: interesting
[19:11] tlrobinson has joined the channel
[19:12] tmzt: you know what ssjs allows that hasn't really been considered (that I've seen), you can move not just data but code, even execute it on intermediary nodes at some point
[19:12] zomgbie has joined the channel
[19:14] Imperion: go Freenode
[19:14] BrunoAssis has joined the channel
[19:14] halfhalo: weee!
[19:14] zzak: pew pew
[19:14] Twelve-60 has joined the channel
[19:15] BrunoAssis: brianc: That's exactly what I meant, thanks!
[19:17] JimBastard has joined the channel
[19:17] SvenDowideit has joined the channel
[19:18] msekimura has joined the channel
[19:18] perlmonkey21 has joined the channel
[19:18] softdrink has joined the channel
[19:18] rauchg_ has joined the channel
[19:18] colinclark has joined the channel
[19:18] Manuel- has joined the channel
[19:18] GasbaKid has joined the channel
[19:18] mikedeboer has joined the channel
[19:18] muhqu has joined the channel
[19:18] killfill has joined the channel
[19:18] MattJ has joined the channel
[19:18] matjas has joined the channel
[19:18] broofa has joined the channel
[19:18] benburkert has joined the channel
[19:18] Country has joined the channel
[19:18] springmeyer has joined the channel
[19:18] rburhum has joined the channel
[19:18] jamesarosen has joined the channel
[19:18] nejucomo has joined the channel
[19:18] mjr_ has joined the channel
[19:18] brapse has joined the channel
[19:18] booo has joined the channel
[19:18] davidascher has joined the channel
[19:18] blueadept has joined the channel
[19:18] cloudhead has joined the channel
[19:18] arpegius_ has joined the channel
[19:18] RevoOf has joined the channel
[19:18] shiawuen has joined the channel
[19:18] sudoer has joined the channel
[19:18] JohnnyL has joined the channel
[19:18] hdon has joined the channel
[19:18] matt_c has joined the channel
[19:18] aklt has joined the channel
[19:18] alex_b has joined the channel
[19:18] sprout has joined the channel
[19:18] eee_c has joined the channel
[19:18] perezd has joined the channel
[19:18] yhahn1 has joined the channel
[19:18] unomi has joined the channel
[19:18] altamic has joined the channel
[19:18] davidsklar has joined the channel
[19:18] ceej has joined the channel
[19:18] briznad has joined the channel
[19:18] Fullmoon has joined the channel
[19:18] dbarker has joined the channel
[19:18] gartenstuhl has joined the channel
[19:18] davidwalsh has joined the channel
[19:18] jherdman_ has joined the channel
[19:18] dylang has joined the channel
[19:18] booths has joined the channel
[19:18] BillyBreen has joined the channel
[19:18] tfe_ has joined the channel
[19:18] markstory has joined the channel
[19:18] hornairs has joined the channel
[19:18] figital has joined the channel
[19:18] omni5cience has joined the channel
[19:18] liar has joined the channel
[19:18] jamund has joined the channel
[19:18] montylounge has joined the channel
[19:18] namelessnotion has joined the channel
[19:18] yx has joined the channel
[19:18] razvandimescu has joined the channel
[19:18] shinmei has joined the channel
[19:18] Kingdutch has joined the channel
[19:18] crodas has joined the channel
[19:18] amacleod has joined the channel
[19:18] davglass has joined the channel
[19:18] stalled has joined the channel
[19:18] trotter has joined the channel
[19:18] fumanchu182 has joined the channel
[19:18] jetienne has joined the channel
[19:18] miccolis has joined the channel
[19:18] pengwynn has joined the channel
[19:18] chrischris has joined the channel
[19:18] EyePulp has joined the channel
[19:18] saschagehlich has joined the channel
[19:18] sivy has joined the channel
[19:18] boaz has joined the channel
[19:18] ianward has joined the channel
[19:18] tahu has joined the channel
[19:18] mikew3c has joined the channel
[19:18] saikat has joined the channel
[19:18] d0k has joined the channel
[19:18] tapwater has joined the channel
[19:18] pyrotechnick has joined the channel
[19:18] lukegalea has joined the channel
[19:18] gaYak has joined the channel
[19:18] fairwinds has joined the channel
[19:18] fermion has joined the channel
[19:18] pdelgallego has joined the channel
[19:18] zorzar_ has joined the channel
[19:18] common has joined the channel
[19:18] ChrisPartridge has joined the channel
[19:18] romainhuet has joined the channel
[19:18] masahiroh has joined the channel
[19:18] polyrhythmic has joined the channel
[19:18] nooder has joined the channel
[19:18] kawaz_work has joined the channel
[19:18] defmacro has joined the channel
[19:18] sriley has joined the channel
[19:18] Remoun has joined the channel
[19:18] ROBOd has joined the channel
[19:18] meso has joined the channel
[19:18] Tobias| has joined the channel
[19:18] joshpeek has joined the channel
[19:18] mrkurt has joined the channel
[19:18] sstephenson has joined the channel
[19:18] qFox has joined the channel
[19:18] inimino has joined the channel
[19:18] sonnym has joined the channel
[19:18] SamuraiJack has joined the channel
[19:18] mr_daniel has joined the channel
[19:18] peol has joined the channel
[19:18] ivan has joined the channel
[19:18] orospakr has joined the channel
[19:18] fangel has joined the channel
[19:18] ewdafa has joined the channel
[19:18] Yuffster_work has joined the channel
[19:18] muk_mb has joined the channel
[19:18] Tasser has joined the channel
[19:18] rwaldron_ has joined the channel
[19:18] blowery has joined the channel
[19:18] LoRe has joined the channel
[19:18] ollie has joined the channel
[19:18] wdperson has joined the channel
[19:18] jeff_horton has joined the channel
[19:18] bartt has joined the channel
[19:18] Evet has joined the channel
[19:18] [[zz]] has joined the channel
[19:18] nolan_d has joined the channel
[19:18] ircretary has joined the channel
[19:18] Floxxx has joined the channel
[19:18] bingomanatee has joined the channel
[19:18] pedrobelo has joined the channel
[19:18] omarkj has joined the channel
[19:18] christophsturm has joined the channel
[19:18] cainus has joined the channel
[19:18] RushPL_ has joined the channel
[19:18] ttpva has joined the channel
[19:18] wink_ has joined the channel
[19:18] ajcool has joined the channel
[19:18] nlacasse has joined the channel
[19:18] temp01 has joined the channel
[19:18] formido1 has joined the channel
[19:18] olegp_ has joined the channel
[19:18] zedas has joined the channel
[19:18] Ezku\_ has joined the channel
[19:18] comster1 has joined the channel
[19:18] xSmurf has joined the channel
[19:18] CIA-89 has joined the channel
[19:18] thorsteinsson has joined the channel
[19:18] iFire has joined the channel
[19:18] rickard2_ has joined the channel
[19:18] messju has joined the channel
[19:18] vineyard has joined the channel
[19:18] AAA_awright has joined the channel
[19:18] marienz has joined the channel
[19:18] kolbyjack has joined the channel
[19:18] freeformz has joined the channel
[19:18] sstreza has joined the channel
[19:18] tswicegood has joined the channel
[19:18] rbranson has joined the channel
[19:18] FMJag has joined the channel
[19:18] pekim has joined the channel
[19:18] sandymahalo has joined the channel
[19:18] sveisvei has joined the channel
[19:18] mnbvasd has joined the channel
[19:18] jtrally has joined the channel
[19:18] maru_cc_ has joined the channel
[19:18] jetheredge has joined the channel
[19:18] Nevtus has joined the channel
[19:18] Guest30276 has joined the channel
[19:18] WaterCoo1ed has joined the channel
[19:18] sechrist has joined the channel
[19:18] forzan has joined the channel
[19:18] alex1 has joined the channel
[19:18] Bonuspunkt has joined the channel
[19:18] _sri has joined the channel
[19:18] tekky has joined the channel
[19:18] rphillips has joined the channel
[19:18] mkkl_ has joined the channel
[19:18] su_aska has joined the channel
[19:18] martigam_ has joined the channel
[19:18] kgf has joined the channel
[19:18] Lorentz has joined the channel
[19:18] naneau has joined the channel
[19:18] jan____ has joined the channel
[19:18] jspiros has joined the channel
[19:18] mlangenberg has joined the channel
[19:18] phiggins has joined the channel
[19:18] kawaz_home has joined the channel
[19:18] marcab has joined the channel
[19:18] marlun has joined the channel
[19:18] JojoBoss has joined the channel
[19:18] aconran__ has joined the channel
[19:18] cnu has joined the channel
[19:18] stride has joined the channel
[19:18] zined_ has joined the channel
[19:18] mape has joined the channel
[19:18] walkah has joined the channel
[19:18] drudge has joined the channel
[19:18] elliottcable has joined the channel
[19:18] unlink has joined the channel
[19:18] vasudeva has joined the channel
[19:18] bluegene has joined the channel
[19:18] jperras has joined the channel
[19:18] er1c_ has joined the channel
[19:18] pkrumins has joined the channel
[19:18] viirya has joined the channel
[19:18] case__ has joined the channel
[19:18] Moominpapa has joined the channel
[19:18] rednul has joined the channel
[19:18] btipling has joined the channel
[19:18] AlexMax has joined the channel
[19:18] Astro has joined the channel
[19:18] eirikur has joined the channel
[19:18] scoates has joined the channel
[19:18] devinus has joined the channel
[19:18] nail_ has joined the channel
[19:18] amirpc has joined the channel
[19:18] sgronblo has joined the channel
[19:18] statik has joined the channel
[19:18] andoma has joined the channel
[19:18] adamholt has joined the channel
[19:18] caligula_ has joined the channel
[19:18] ybit has joined the channel
[19:18] dantalizing has joined the channel
[19:18] EGreg_ has joined the channel
[19:18] zhware has joined the channel
[19:18] justin_ has joined the channel
[19:18] mgc has joined the channel
[19:18] wereHamster has joined the channel
[19:18] Connorhd has joined the channel
[19:18] roaet has joined the channel
[19:18] Prometheus has joined the channel
[19:18] Atmoz has joined the channel
[19:18] wattz has joined the channel
[19:18] sitron has joined the channel
[19:18] jakob has joined the channel
[19:18] vileda has joined the channel
[19:18] BHSPitMonkay has joined the channel
[19:18] SubStack has joined the channel
[19:18] Gregor has joined the channel
[19:18] beppu has joined the channel
[19:18] aakour has joined the channel
[19:18] kkaefer has joined the channel
[19:18] dispalt has joined the channel
[19:18] rjack has joined the channel
[19:18] tanepiper has joined the channel
[19:18] lstoll has joined the channel
[19:18] shachaf has joined the channel
[19:18] Kudos has joined the channel
[19:18] webben has joined the channel
[19:18] L_star has joined the channel
[19:18] jesusabdullah has joined the channel
[19:18] synoptase`off has joined the channel
[19:18] johnnywengluu has joined the channel
[19:18] sugyan has joined the channel
[19:18] MikeW has joined the channel
[19:18] JCS0 has joined the channel
[19:18] bengl has joined the channel
[19:18] nuba has joined the channel
[19:18] niclone has joined the channel
[19:18] Draggor has joined the channel
[19:18] chrisdickinson has joined the channel
[19:18] _alex has joined the channel
[19:18] kloeri has joined the channel
[19:18] zilt_ has joined the channel
[19:18] jwm has joined the channel
[19:18] voodootikigod has joined the channel
[19:18] zz_raja has joined the channel
[19:18] cha0s has joined the channel
[19:18] ebi has joined the channel
[19:18] wang_ has joined the channel
[19:18] rwhitby has joined the channel
[19:18] mqt has joined the channel
[19:18] slickplaid has joined the channel
[19:18] pzich has joined the channel
[19:18] Epeli has joined the channel
[19:18] yonkeltron has joined the channel
[19:18] izz has joined the channel
[19:18] gwoo has joined the channel
[19:18] zmack has joined the channel
[19:18] konobi has joined the channel
[19:18] themcgruff has joined the channel
[19:18] russell_h has joined the channel
[19:18] shaver has joined the channel
[19:18] steadicat has joined the channel
[19:18] lianj has joined the channel
[19:18] joshthecoder has joined the channel
[19:18] roger_raymond has joined the channel
[19:18] sadiq has joined the channel
[19:18] cce has joined the channel
[19:18] DoubleV has joined the channel
[19:18] JimBastard has joined the channel
[19:18] djanowski has joined the channel
[19:19] mattie has joined the channel
[19:19] stagas: what happened the nickserv just asked me for a password again
[19:19] CIA-89: node: 03Ryan Dahl 07master * rb8f006e 10/ (75 files in 11 dirs): Upgrade V8 to 3.0.9 - http://bit.ly/dFdibG
[19:19] CIA-89: node: 03Bert Belder 07master * ra61066e 10/ deps/v8/SConstruct :
[19:19] CIA-89: node: Workaround for V8 bug 884
[19:19] CIA-89: node: See http://code.google.com/p/v8/issues/detail?id=884 - http://bit.ly/f5Dwpn
[19:19] CIA-89: node: 03Ryan Dahl 07master * r5895df4 10/ wscript : Compile gdbjit in by default on linux - http://bit.ly/hjaPCP
[19:19] CIA-89: node: 03Ryan Dahl 07master * r6e9f746 10/ wscript : wscript: style - http://bit.ly/i7IjmV
[19:19] mattie: hi, i'm currently running a node server and getting a "node) Hit max file limit. Increase "ulimit - n"
[19:19] JimBastard: i think netsplit stagas
[19:19] mattie: error
[19:19] Kingdutch: stagas: It might have lost you in the netsplit
[19:19] JimBastard: mattie: so increase your FD count, but more importantly you prob have a programming error
[19:19] JimBastard: and you arent closing FDs
[19:20] mattie: JimBastard: the limit is already 999999
[19:20] JimBastard: unclosed files, un-ended http requests, etc
[19:20] kjeldahl has joined the channel
[19:20] JimBastard: mattie: so you have a programming error, why you need 99999 fds open at once
[19:20] Kingdutch: JimBastard: This error actually happens if you throw a 1000 requests at the default node http server
[19:20] Kingdutch: (Atleast on my box)
[19:20] stagas: don't notice netsplits with the conference mode
[19:20] tlrobinson has joined the channel
[19:20] JimBastard: Kingdutch: not if your ulimit is above 1000
[19:20] brianleroux has joined the channel
[19:21] JimBastard: Kingdutch: and not if those responses close in time
[19:21] mattie: JimBastard: so it has to be a lot of unfinished HTTP requests
[19:21] sstephenson_ has joined the channel
[19:21] mrkurt_ has joined the channel
[19:21] joshpeek_ has joined the channel
[19:21] Kingdutch: JimBastard: My ulimit is low, can't change it easily =/
[19:21] JimBastard: mattie: or it could be open files. i'd try keeping a count of open requests, see if they arent closing
[19:21] Kingdutch: JimBastard: And those responsed close with 20 ms
[19:21] Kingdutch: which is enough to get 1000+ open
[19:21] saschagehlich: tjholowaychuk: can I put partials inside a view somehow?
[19:21] Aikar: Kingdutch: did you ever get a solution to your question about passing a string by ref?
[19:22] Aikar: there is a workaround to do it
[19:22] tjholowaychuk: saschagehlich: partial(name)
[19:22] Kingdutch: Aikar: Wrap it in an array
[19:22] mikeal has joined the channel
[19:22] Kingdutch: Arrays are passed by value
[19:22] Kingdutch: /array/object/
[19:22] Aikar: yeah i was gonna suggest sim
[19:22] Aikar: (object)
[19:22] mikeal has joined the channel
[19:22] mrkurt_ has joined the channel
[19:22] joshpeek_ has joined the channel
[19:22] sstephenson_ has joined the channel
[19:23] brianc: tjholowaychuk: I love love love 'n'
[19:23] tjholowaychuk: brianc: haha, sweet :)
[19:23] saschagehlich: tjholowaychuk: so like "= partial("mypartial.jade")"?
[19:24] brianc: tjholowaychuk: you definitely have that 'less is more' thing down pat
[19:24] saschagehlich: comes out as "undefined"
[19:24] Aikar: i need some advice on git setup
[19:24] herbySk has joined the channel
[19:24] stagas: do you think I'll have issues using a sprite from a 20 year old semi-abandoned game in an os project? :P
[19:24] brianc: tjholowaychuk: it doesn't work on my linux bash shell and I blow bigtime at bash scripting but I gonna try and fix it (works fantastic on my os x bash shell)
[19:25] mikew3c has joined the channel
[19:25] tjholowaychuk: brianc: oh really? what error do you get?
[19:25] Aikar: im developing a closed source project which im going to host the origin repo myself, but some modules im writing for it im releasing open source on github, whats best way to add the modules as submodules but also be able to edit them in the same working directory and commit/push it to github
[19:26] brianc: tjholowaychuk: 227: bad substitution
[19:26] langworthy has joined the channel
[19:26] Aikar: would i submodule add with git@github.com url then cd libs/libname/ and git config and add my ssh origin path with write access?
[19:26] eck has joined the channel
[19:26] eck has joined the channel
[19:27] noahcampbell has joined the channel
[19:27] tjholowaychuk: brianc: weird, 227 is "done" to me haha, maybe I have a differerent version
[19:27] brianc: tjholowaychuk: yah some weirdness w/ older version of bash prolly I'll poke around see if i can fix
[19:28] technoweenie has joined the channel
[19:29] Remoun has joined the channel
[19:30] hunterloftis: JimBastard - using mailer via ndistro (which pulls from github) I get "Cannot find module '../vendor/mustache'" - am I gonna need to git submodule mailer?
[19:31] tlrobinson has joined the channel
[19:31] tmcw has joined the channel
[19:32] piscisaureu_ has joined the channel
[19:32] AndroUser2 has joined the channel
[19:32] brianc: tjholowaychuk: has to do w/ the #!/usr/bin/evn sh. swiched it to #!/bin/bash and it worked for me
[19:32] yhahn has joined the channel
[19:32] mraleph has joined the channel
[19:33] tlrobinson has joined the channel
[19:35] yozgrahame has joined the channel
[19:36] fairwinds: springmeyer: cool
[19:37] jimt has joined the channel
[19:37] Aikar: brianc: evn is invalid :P
[19:37] brianc: Aikar: sorry env
[19:38] hornairs has joined the channel
[19:40] pagameba has joined the channel
[19:43] colinclark has joined the channel
[19:45] kiddphunk has joined the channel
[19:45] pagameba: this seems like a dumb question but how do I set a cookie for a specific domain, i.e. the request comes from xx.yyy.zzz and I want the cookie domain to be yyy.zzz instead of xx.yyy.zzz?
[19:46] technoweenie: try ".yyy.zzz"
[19:46] richcollins has joined the channel
[19:46] JimBastard: pagameba: umm, i think that violates how cookies work?
[19:46] JimBastard: technoweenie: hey, you made the top #node.js list, not sure if you saw
[19:46] JimBastard: number 24 with a bullet
[19:46] CIA-89: node: 03Ryan Dahl 07master * rd412771 10/ lib/tty_posix.js : Fix tab on posix tty - http://bit.ly/eBh9Ab
[19:46] CIA-89: node: 03Ryan Dahl 07master * rba80d4d 10/ (lib/_debugger.js lib/readline.js lib/repl.js):
[19:46] CIA-89: node: Transfer data gathering responsibility to readline
[19:46] CIA-89: node: Fixes non-raw REPL/Debugger on Posix. - http://bit.ly/f8uzsj
[19:47] ossareh has joined the channel
[19:47] maushu has joined the channel
[19:47] technoweenie: JimBastard: where is this list
[19:47] technoweenie: am i the 24th most active node ninja in history
[19:47] pagameba: technoweenie: .yyy.zzz would be fine - I know it is possible because I can do it with PHP, I just don't know the mechanism in node.js
[19:47] saschagehlich: where is the pretty-print / formatted output option for jade? can't find it
[19:47] franck34: hi
[19:47] tjholowaychuk: saschagehlich: there isnt one :p
[19:48] alex_b has joined the channel
[19:48] pagameba: I assume its a formatted header of some sort?
[19:48] tjholowaychuk: (yet)
[19:48] ryah_: piscisaureus: im not totally happy with this setup...
[19:48] saschagehlich: but there was, wasn't it? :(
[19:48] dgathright_ has joined the channel
[19:49] franck34: socket.io seem's to be perfect to make realtime stuff. Now i need pubsub mecanism. Can i mix socket.io and faye or ... does it make sense ?
[19:49] ryah_: piscisaureus: it's distrubing by view of the world that you don't get raw data from stdin...
[19:49] ryah_: piscisaureus: can you not read() from it?
[19:49] eck has left the channel
[19:49] JimBastard: technoweenie: http://blog.nodejitsu.com/most-active-nodejs-users
[19:49] dsirijus has joined the channel
[19:49] techwraith has joined the channel
[19:50] SubStack: technoweenie: also # 46 0.44 % 4 technoweenie
[19:50] pagameba: perhaps it is as simple as req.headers['set-cookie'] = "value=something;domain=.yyy.zzz" ?
[19:50] JimBastard: technoweenie: your description is: Rick Olson - Github Employee. Legendary Ruby on Rails developer. Possible super hero.
[19:50] jimt_ has joined the channel
[19:50] franck34: pagameba: google "P3P" headers
[19:50] technoweenie: rad
[19:50] rot13 has joined the channel
[19:50] technoweenie: pretty good for never coming in here
[19:51] pagameba: franck34: k thx
[19:51] technoweenie: or bad, i need to get out more
[19:51] SubStack: github eh?
[19:51] tfcoding has joined the channel
[19:51] SubStack: I've heard of that.
[19:51] franck34: does anybody played with faye/socket.io ?
[19:51] technoweenie: we write node apps that get about 50 r/m
[19:52] ryah_: req/min ?
[19:52] andrzejsliwa has joined the channel
[19:52] franck34: does anybody benchmark node.js as a reverse proxy compared to apache ? lol, why not ?
[19:52] SubStack: technoweenie: streaming api please
[19:53] tmzt: Aikar: add a new remote or patch .git/config
[19:55] dsirijus has joined the channel
[19:56] dsirijus has joined the channel
[19:56] admc has joined the channel
[19:57] tmzt: n goes into the jade file? so you can include partials?
[19:58] JimBastard: franck34: there are some basic benchmarks here: https://github.com/nodejitsu/node-http-proxy
[19:58] DedSirijus has joined the channel
[19:58] JimBastard: you could use that to test
[19:58] JimBastard: but it doesnt compare to anything
[19:59] JimBastard: we use node.js as our primary load balancer / reverse proxy
[19:59] nooder: anyone updated to latest trunk?
[19:59] nooder: error: ‘class node::Buffer’ has no member named ‘data’
[19:59] booths has joined the channel
[20:00] ajpiano has joined the channel
[20:00] DedSirijus has joined the channel
[20:00] franck34: JimBastard: nice
[20:00] franck34: i'll benchmark it :)
[20:00] statim_ has joined the channel
[20:01] SubStack: JimBastard: you're #8! substack.net/posts/7a0e41/npmtop
[20:01] SubStack: ACTION computes the intersection of the irc top 25 and the npm top 25
[20:01] JimBastard: SubStack: weeeeeeeak
[20:01] JimBastard: i gotta release more stuff to npm
[20:01] SubStack: yep
[20:01] JimBastard: i bet i can jump to 5
[20:02] SubStack: oh no you don't
[20:02] statim_: anyone know how to gracefully exit a node app? im currently using express and redis, so i thought expressserver.close() and redisclient.quit() would do the trick, but something must still be hanging around (if nothing is in the main event loop, the app should exit, right?)
[20:02] SubStack: 5 is mine! I called it first!
[20:03] JimBastard: lol nice art SubStack
[20:03] clarkfischer has joined the channel
[20:03] JimBastard: SubStack: it should be noted that these are just people releasing the libs to npm right? not the authors?
[20:03] JusticeFries_ has joined the channel
[20:03] SubStack: these are the pkg.words[0].slice(1)s
[20:03] SubStack: yeah so the uploaders
[20:05] jimt has joined the channel
[20:06] fly-away has joined the channel
[20:08] SubStack: JimBastard: oh neat, 19 of your top 25 appear in my top 25
[20:09] kjeldahl has joined the channel
[20:09] JimBastard: SubStack: so, talking shit makes sense!
[20:09] SubStack: actually more since JimBastard => marak
[20:09] Imperion: JimBastard: talking feces? like South Park?
[20:09] Imperion: :P
[20:09] SubStack: oh wait
[20:10] SubStack: ACTION is doing it wrong
[20:10] andrzejsliwa has joined the channel
[20:10] SubStack: actually only 6!
[20:10] SubStack: these people rock: ["tjholowaychuk","creationix","isaacs","cloudhead","tmpvar","mape"]
[20:11] dmcquay has joined the channel
[20:11] SubStack: anyhow! back to actual work
[20:12] jpld has joined the channel
[20:12] dguttman has joined the channel
[20:15] richcollins has joined the channel
[20:15] pjackson has joined the channel
[20:15] isaacs: lolz: P.S. WORST PROTOCOL EVER
[20:15] pjackson: brianc: As a result of our conversation yesterday:
[20:15] pjackson: https://github.com/caolan/nodeunit/issues/issue/53
[20:15] SubStack: PS?
[20:16] rjrodger has joined the channel
[20:17] brianc: pjackson: groovies
[20:20] pandark_ has joined the channel
[20:23] Bonuspunkt: :)
[20:23] Kingdutch: SubStack: Post Scriptum
[20:23] SubStack: oh that. Isn't it turing complete?
[20:24] Bonuspunkt: anyone got an ENOBUFS, No buffer space available error and give me a hint? btw seems like i solved the memory leak from yesterday ^^
[20:25] tmzt: backbone looks a little heavy
[20:25] clarkfischer has joined the channel
[20:26] isaacs: SubStack: quote from ryah_ on the mailing list
[20:26] SubStack: ah
[20:26] lumino has joined the channel
[20:27] creationix has joined the channel
[20:27] markwubben has joined the channel
[20:29] jimt_ has joined the channel
[20:29] colinclark has joined the channel
[20:30] CIA-89: node: 03Ryan Dahl 07v0.2 * r86ddc09 10/ (2 files in 2 dirs):
[20:30] CIA-89: node: Apply V8 issue 851 to v0.2 for Mark Wubben
[20:30] CIA-89: node: https://groups.google.com/d/topic/nodejs-dev/di7Jv1Umois/discussion
[20:30] CIA-89: node: http://code.google.com/p/v8/source/detail?r=5364
[20:30] CIA-89: node: http://codereview.chromium.org/3262001 - http://bit.ly/eAOdLu
[20:30] colinclark has joined the channel
[20:30] hij1nx has joined the channel
[20:31] colinclark has joined the channel
[20:32] hunterloftis: I'm worried about the stability of the project we're building in node. Lots of libraries throw errors even in async methods, which has the potential (if uncaught) to take down the whole server. Even if you catch uncaught errors on process, you still lose your stack...
[20:33] JimBastard: hunterloftis: bad libraries
[20:33] hunterloftis: JimBastard: The one I'm using now is yours ;)
[20:33] tmzt: making a node instance less stateful would make it possible just to restart it instantly
[20:33] JimBastard: hunterloftis: pokemon error trapping, gotta catch them all
[20:33] JimBastard: hunterloftis: like said!
[20:33] hunterloftis: lol
[20:33] JimBastard: hunterloftis: which one, ill fix it
[20:33] JimBastard: please dont be node_mailer
[20:33] hunterloftis: node_mailer, I can send you a pull request
[20:34] JimBastard: ahahah
[20:34] bingomanateeIpho has joined the channel
[20:34] JimBastard: fuck, node_mailer is getting soo many issues this week
[20:34] JimBastard: started off a simply copy paste script
[20:34] JimBastard: hunterloftis: that would be great, there is a discussion going on about using event emitters for the new node_mailer api btw
[20:34] JimBastard: you might want to check that thread
[20:34] hunterloftis: ok cool, thanks; for now we're just hacking it together anyway
[20:35] JimBastard: hunterloftis: https://github.com/marak/node_mailer/issues#issue/15
[20:35] c4milo: hey
[20:35] mawkor2 has joined the channel
[20:35] mawkor2: hello
[20:35] SubStack: hello friend
[20:35] mawkor2: anyone using nodejs with cygwin?
[20:35] c4milo: somebody knows if mongoose has a connection pool out of box
[20:35] c4milo: ?
[20:35] c4milo: hello friends hehe
[20:36] mawkor2: :)
[20:36] nerickson has joined the channel
[20:36] jakehow has joined the channel
[20:36] mawkor2: I seem to be having some issues with node not recognizing net stuff
[20:36] mawkor2: in cygwin
[20:36] bingomanateeIpho: Unhappy pepple use node + cygwin
[20:36] rjrodger has joined the channel
[20:36] mawkor2: haha
[20:37] bingomanateeIpho: Check the logs. Lots of ugly.
[20:37] Kingdutch: Yeh
[20:38] mawkor2: it works great on OSX and ubuntu... I got it to build on cygwin fine and I can console.log etc but net and http package are being weird
[20:38] Kingdutch: IMO we should drop Cygwin support and tell people to get virtual box
[20:38] Kingdutch: I've seen perfectly good code fail on cygwin
[20:38] mawkor2: I have vbox
[20:38] mawkor2: and ubuntu on vbox
[20:38] Kingdutch: Then use ubuntu on virtualbox
[20:38] Kingdutch: Don't use cygwin when you have vbox with ubuntu
[20:38] Kingdutch: o.O
[20:38] mawkor2: but I'm running on a windows env :(
[20:38] Kingdutch: That s like shooting yourself in the foot with a shotgun
[20:38] Aikar: so
[20:38] Aikar: mount your windows drive into your vbox
[20:38] bingomanateeIpho: So stop.
[20:38] Kingdutch: You got a vbox with ubuntu
[20:38] mawkor2: it's a windows corporate network : \
[20:39] Bonuspunkt: Kingdutch there r moment where it sounds like its fun :P
[20:39] stagas: I'm using cygwin with no issues
[20:39] Aikar: run the process on the vbox accessing the drive thats really on windows
[20:39] Aikar: so?
[20:39] Kingdutch: Bonuspunkt: Thatś sick o.O
[20:39] hosh_work has joined the channel
[20:39] pagameba: with express, what does req.flast(type, msg) do?
[20:39] pagameba: sorry, req.flash(type, msg);
[20:39] Aikar: you should develop your app on the same type of system you intend to deploy it on
[20:39] mawkor2: stagas Im running the test script but it just exits out
[20:39] Kingdutch: Networks don't care about linux/windows <- mawkor2
[20:39] SubStack: microsoft should dedicate a murder of minions to fix the node/windows problems
[20:39] Aikar: if you intend to deploy on windows, then thats fine wanting it to work on cygwin, but everyone here will strongly discourage that :P
[20:39] bingomanateeIpho: So you are here becase u DON'T have win problems?
[20:40] tjholowaychuk: pagameba: stores message(s) in the session, which when flushed (displayed in html etc) are no longer in the session
[20:40] tilgovi has joined the channel
[20:40] mawkor2: it's for multiplatform!
[20:40] tjholowaychuk: pagameba: I got the name from ruby, but I would like to rename it notify() or something
[20:40] Aikar: remove that criteria and enjoy your life 10x more ;)
[20:40] tjholowaychuk: something less lame
[20:40] bradleymeck: i wont disagree with using cygwin, i will just say cygwin had plenty of bugs
[20:40] mawkor2: haha
[20:40] bradleymeck: not even w/ node on it
[20:40] Aikar: if its for work, simply tell them "windows isnt compatible
[20:40] mawkor2: cygwin on windows > wine on linux
[20:41] stagas: opening up a cygwin shell takes a second, how long does firing up a virtual box with ubuntu take?
[20:41] pagameba: tjholowaychuk: how do you get the message on the client, is there a lib for that or just get the cookie?
[20:41] jbpros_ has joined the channel
[20:41] mawkor2: well - i'm almost there
[20:41] bradleymeck: lets all face it, wine was only made to run WoW
[20:41] bingomanateeIpho: Not trying 2 be a douche - yer just hurting yerself
[20:41] mawkor2: lol bradley
[20:41] bingomanateeIpho: And fallout
[20:41] Aikar: and EVE
[20:41] mawkor2: trust me on all my personal projects im using ubuntu
[20:41] bingomanateeIpho: Steam is awesome.
[20:41] tjholowaychuk: pagameba: req.flash() will give you an object with all of them, req.flash(type) will give you an array of messages for thhat type
[20:41] tjholowaychuk: (if any)
[20:42] bingomanateeIpho: And unity and flash rock.
[20:42] bradleymeck: does anyone know how to test if a element is loaded without polling to see if it has a .sheet property?
[20:42] stagas: I prefer convenience over compatiblity, but if I deploy I do it on centos
[20:42] bingomanateeIpho: Its just a ss clusterf@@k
[20:43] Aikar: mawkor2: simply tell your manager you did research and found windows is not really suitable for deploying a node.js application and you recommend they either a) get you a company approved VM setup on your PC with an environment to match production, or b) get you access to a linux dev box that matches production
[20:43] Aikar: i run windows at work, but i mount the dev server as a network drive and edit everything on there
[20:44] mawkor2: I've done a) and b)
[20:44] mnbvasd: Aikar: harsh.
[20:44] pagameba: tjholowaychuk: ok, its a convenience to store information in the session - I get it now :)
[20:44] mawkor2: I want to create a multiplatform environment for various reasons
[20:44] Aikar: if its for work, why make your life 10x harder?
[20:44] mawkor2: because I am a socialist
[20:44] Aikar: lol..
[20:44] tjholowaychuk: pagameba: specifically messages that are meant to display once
[20:44] tjholowaychuk: pagameba: for example req.flash('info
[20:44] tjholowaychuk: fuck
[20:44] hunterloftis: Anybody know how to CLI a multline string into the node interpreter?
[20:45] pagameba: lol
[20:45] mawkor2: it's not really that hard...
[20:45] Aikar: so am i, but being a masochist doesnt really compliment being socialist
[20:45] SubStack: day 1 dig a hole, day 2 fill it in!
[20:45] SubStack: windows programming feels like that
[20:45] mawkor2: well yeah
[20:45] mawkor2: .NET is ok
[20:45] Aikar: putting your self through pain when you dont need to is silly
[20:45] tjholowaychuk: req.flash('info', 'login successful'); then you could redirect to '/' or something, and it will span across that redirect and display
[20:45] mawkor2: it's less of a pain than java
[20:45] mnbvasd: mawkor2: true
[20:45] Aikar: trying to run an app through cygwin? i dunno
[20:46] bradleymeck: hunterloftis, does '\' at end of line not work for you?
[20:46] hunterloftis: bradleymeck: Weirdly no, already tried that
[20:46] bradleymeck: odd
[20:46] mnbvasd: Aikar: running cygwin on wine is just plain painful, how am I meant to test that? ;)
[20:46] Aikar: wait what
[20:47] mnbvasd: Aikar: I thought you were a masochist? ;)
[20:47] Aikar: no, i said i was socialist :p
[20:47] mnbvasd: damn hippy ;P
[20:47] stagas: mape: people really like your map :) I've been seeing comments all day talking about the graphics
[20:47] mape: stagas: At work? :)
[20:48] Aikar: he said 'because im a socialist' is why hes wanting to go through the pain of trying to run it under windows (ie masochism)
[20:48] Aikar: so i replied with that
[20:48] mnbvasd: Aikar: strange.
[20:48] stagas: mape: I hackernewsed it it's been on the frontpage for some hours
[20:48] pagameba: tjholowaychuk: makes perfect sense, thanks
[20:48] stagas: mape: http://news.ycombinator.com/item?id=2119495
[20:49] tjholowaychuk: pagameba: sorry its a shitty name for the method :)
[20:49] adambeynon has joined the channel
[20:49] mape: stagas: Ah, neat
[20:49] Aikar: mawkor2: is your work intending to release your project as some library for open source? i dont see why you would need cross platform compat if not
[20:49] hornairs has joined the channel
[20:49] _jdalton has joined the channel
[20:49] stagas: mape: I hope people get it this is your interface I've credited you everywhere I could
[20:49] pagameba: tjholowaychuk: no worries, name is fine - a touch more in the docs might help though ;)
[20:49] _jdalton has left the channel
[20:50] mape: stagas: No worries, not like I created the world map ;)
[20:50] msekimura has joined the channel
[20:51] warz has joined the channel
[20:51] mawkor2: yes it's an open source lib
[20:52] lumino: hey mape, nice work!
[20:52] warz: hi all. if im making a module, and want to call one of the other exported module functions from a function in the same module, how do i reference that other function?
[20:52] warz: i hope that makes sense, lol. =X
[20:52] Aikar: ok well that makes a lil more sense, i thought you was doing this for work specific case since you said "for my personal projects"
[20:52] brapse has joined the channel
[20:53] pagameba: hah require('url').parse('localhost:8081') returns localhost as the protocol and 8081 as the hostname
[20:53] pagameba: is that a bug?
[20:53] Aikar: warz: var mymodule = module.exports = {foo: function() {}, bar: function() { mymodule.foo(); }};
[20:53] pagameba: or a feature?
[20:53] warz: ah ok cool. thanks.
[20:53] nsswb has joined the channel
[20:54] nsswb has left the channel
[20:54] bradleymeck: pagemeba, technically it should be a feature since some protocols dont use slashes
[20:54] enotodden has joined the channel
[20:55] jimt has joined the channel
[20:55] rjrodger has joined the channel
[20:55] bradleymeck: its upsetting to see either way to me
[20:55] bingomanatee: And tell him that the mean kids made fun of you when you told them about your issues with Cygwin
[20:55] dsirijus has joined the channel
[20:56] pekim: pagameba: I don't think that 'localhost:8081' is a valid URI. It has no scheme/protocol.
[20:56] mape: lumino: :)
[20:56] bingomanatee: I use localhost:XXX all the time to test apps
[20:57] richcollins has joined the channel
[20:57] maushu has joined the channel
[20:57] astoon has joined the channel
[20:57] pekim: pagameba: The parse method must be assuming (rightly I believe) that the characters before the first colon are the protocol.
[20:58] danyork has joined the channel
[20:59] msekimura has joined the channel
[21:01] MrWarGames has joined the channel
[21:01] mape: hm
[21:03] liar has joined the channel
[21:03] stepheneb has joined the channel
[21:04] w0rse has joined the channel
[21:04] ziro` has joined the channel
[21:05] derferman has joined the channel
[21:06] c4milo: is there something similar to fixtures in nodejs?
[21:06] x_or has joined the channel
[21:06] abstractj has joined the channel
[21:06] Ari-Ugwu has joined the channel
[21:07] c4milo: what a stupid question, a json structure should work really fine nop?
[21:08] mape: stagas: got a mention in dailyjs as well :)
[21:09] sh1mmer has joined the channel
[21:09] x_or has joined the channel
[21:09] bmizerany has joined the channel
[21:09] clarkfischer has joined the channel
[21:10] JojoTheBoss has joined the channel
[21:11] springify has joined the channel
[21:12] Diggz has joined the channel
[21:15] rjack: I'm playing with expressjs and ran into this: when I POST a form with two input fields (user[name] and user[password]), req.body has req.body["user[name]"] and req.body["user[password]"] and nod req.body.user with name and password. I'm using express.bodyDecoder(). Why it doesn't work?
[21:16] strmpnk has joined the channel
[21:16] rjack: *and not*
[21:16] stagas: mape: yes it did! traffic seems to be weakening now. 50 clients connected!
[21:17] tjholowaychuk: rjack: node 0.2.x has a different querystring parser
[21:17] tjholowaychuk: so when I support node 0.4.0 I will have to port it over
[21:18] mawkor2 has joined the channel
[21:18] mawkor2: hello
[21:18] mawkor2: I got nodejs working on cygwin fine
[21:18] mawkor2: I was using a bleeding edge version'
[21:19] rjack: tjholowaychuk: so if I use node 0.3.x I must stick with `flat' names like user_name and user_password?
[21:19] mawkor2: if anyone is interested and please pass this on, stick with v 0.2.5 if you're going to use it on cygwin
[21:19] stagas: mape: I'm curious to watch it on a high traffic server
[21:19] tjholowaychuk: rjack: for now yeah, when node hits stable again (0.4.0) I will port over the old stuff
[21:19] rjack: tjholowaychuk: ok, thanks
[21:19] mape: stagas: it breaks down, at least it did with links
[21:20] gf3 has joined the channel
[21:21] mischief has joined the channel
[21:21] stagas: mape: the browser can't handle it you mean?
[21:21] mape: yeah
[21:21] mape: well it handles it, but it is slow
[21:22] mape: lots of redraw with shadows and whatnot
[21:22] pagameba: bradleymeck, pekim: that's what I'm seeing when requesting http://localhost:8081/ using chrome
[21:23] pagameba: although I should note this is using req.header('host') in an express middleware
[21:23] jchris has joined the channel
[21:23] stagas: mape: it'd also be cool with a full viewport google maps, so you could zoom in etc
[21:23] mape: hmm yeah
[21:23] piscisaureus_ has joined the channel
[21:23] dsirijus has joined the channel
[21:23] pagameba: um, req.header('referer') has the full url - can I rely on that?
[21:24] tjholowaychuk: pagameba: the host header is just the hostname
[21:24] stagas: google maps would also handle all the markers
[21:24] pagameba: tjholowaychuk: oh that makes sense
[21:25] pagameba: host name with port?
[21:25] stagas: so there would be no need for calculating positions
[21:25] tjholowaychuk: pagameba: yeah
[21:26] elux has joined the channel
[21:28] stephen_mcd has joined the channel
[21:29] mischief has joined the channel
[21:30] richcollins has joined the channel
[21:30] mischief has joined the channel
[21:30] Aikar: test
[21:36] m64253 has joined the channel
[21:43] JimBastard has joined the channel
[21:43] RevoOf has left the channel
[21:47] shimondoodkin has joined the channel
[21:48] dyer has joined the channel
[21:48] jherdman_ has joined the channel
[21:49] pagameba: tjholowaychuk: in express do you parse the original url anywhere that I can access? In another script I wrote, I used url.parse(request.url) to access information about the url
[21:50] tjholowaychuk: pagameba: just use req.url, what's wrong with that?
[21:50] tjholowaychuk: not sure what you mean, what are you trying to do?
[21:51] matt_c has joined the channel
[21:53] bradleymeck: anyone in here w/ the cloud9 team?
[21:53] charlenopires has joined the channel
[21:53] Kingdutch: Good night everyone
[21:54] pagameba: tjholowaychuk: in server.js line 62-ish you do var query = url.parse(req.url).query ... I'd like to be able to access the rest of the url.parse(req.url) components (protocol, hostname, port, etc) rather than have to pick apart req.header('host')
[21:54] bradleymeck has joined the channel
[21:54] djanowski has joined the channel
[21:55] tjholowaychuk: pagameba: the req.url is the same one you have access to
[21:56] stagas: tjholowaychuk: he means it should be stored for reusability instead of just used to get the query
[21:56] sprout1 has joined the channel
[21:56] stagas: like req.urlParsed
[21:56] tjholowaychuk: oh, well it can be rewritten, so I tend not to rely on something like that
[21:56] stagas: that's true
[21:57] pagameba: ACTION didn't realize that ...
[21:57] jimt_ has joined the channel
[21:57] muk_mb has joined the channel
[21:57] montylounge_ has joined the channel
[21:58] BrunoAssis has joined the channel
[21:58] BrunoAssis has left the channel
[21:59] khug has joined the channel
[21:59] stagas: then we should have a req.originalUrl and a req.originalUrlParsed :P
[22:00] tjholowaychuk: hahaha
[22:00] stagas: lol
[22:00] tjholowaychuk: its not that expensive to use url.parse()
[22:00] Eduardo has joined the channel
[22:02] Eduardo: Hello everyone! :) Can you help me? I am making a social network with node, but I need to make a profile page for each ID, how can I make it?
[22:03] stagas: Eduardo: var profiles = {}; profile[id] = user_data;
[22:03] djanowski has joined the channel
[22:03] stagas: s
[22:04] Eduardo: uhm.... but how can I make a player connect in the profiles app.get(profiles=ID
[22:04] booths: You're using connect?
[22:04] Eduardo: do I need to make an app.get for each id?
[22:04] Eduardo: connect?
[22:05] booths: You can use app.get('users/:id', function (req, res) {.... and req.params.id would be the 1234 in url.com/users/1234
[22:05] booths: Connect the module, what are you getting app.get from?
[22:05] masahiroh has joined the channel
[22:06] tjholowaychuk: Eduardo: app.get('/user/:id', ...)
[22:06] stagas: booths: connect.router(function(app) {})
[22:06] booths: stagas: Right, I asked if he was using connect and he acted like he didn't know what it was.
[22:06] booths: stagas: so I asked where he was getting the app.get from
[22:07] pagameba: tjholowaychuk: I just confirmed that I am an idiot :) req.url does not contain the protocol, hostname and port ever (I think it did in a previous version of node though)
[22:07] stagas: Eduardo: what kind of social network are you building?
[22:07] Eduardo: uhm.. I will look the code
[22:07] pagameba: I thought, looking at some older code I wrote, that it did and that express or connect was somehow stripping it
[22:07] rpflo has joined the channel
[22:07] pagameba: ACTION appologizes for the noise
[22:07] Eduardo: well.. I simple one...
[22:08] Eduardo: booths, i am using express
[22:08] tjholowaychuk: pagameba: it's just whatever is passed in the request, GET /foo etc
[22:09] pagameba: ACTION catches up with everyone else ...
[22:09] tjholowaychuk: Eduardo: check out the examples
[22:09] blaines has joined the channel
[22:09] Eduardo: examples where ?
[22:09] pagameba: frig, I'm late ... ciao all
[22:10] zemanel has joined the channel
[22:10] booths: Express is built on Connect I think, so yeah it'd be get('/user/:id'... and req.params.id IIRC
[22:10] Eduardo: uhm...
[22:10] booths: app.get*
[22:11] tjholowaychuk: booths: yeah it is
[22:11] tjholowaychuk: Eduardo: in the repository
[22:11] lumino: Eduardo, looked at the docs?
[22:11] Eduardo: no i didnt
[22:11] tjholowaychuk: https://github.com/visionmedia/express/tree/master/examples
[22:11] Eduardo: i will try it booths, thank you
[22:11] tjholowaychuk: lol
[22:11] sveimac has joined the channel
[22:11] lumino: :)
[22:11] Eduardo: thank you i will look it tjholowaychuck
[22:11] Eduardo: :)
[22:12] sveimac has joined the channel
[22:12] Eduardo: O.O very cool!!!!!!!
[22:12] Eduardo: I will use it a lot tjholowaychuk
[22:12] Eduardo: o.o your name is difficult to write
[22:12] tjholowaychuk: ahaha :)
[22:12] Gregor: tj[tab]
[22:13] Gregor: Not that tough
[22:13] ShizWeaK_ has joined the channel
[22:13] eee_c has joined the channel
[22:14] benburkert has joined the channel
[22:14] zomgbie has joined the channel
[22:14] astoon has joined the channel
[22:15] stagas: tjholowaychuk: http://en.wikiquote.org/wiki/Monkey_Island ctrl+f how much wood
[22:15] stagas: lol
[22:15] stagas: your name reminds me of that quote
[22:16] tjholowaychuk: haha
[22:16] tjholowaychuk: ukranian :p
[22:16] dbarker has joined the channel
[22:16] tjholowaychuk: we have crazy last names
[22:16] comster1: lol
[22:16] dgathright has joined the channel
[22:17] sudoer has joined the channel
[22:17] rsms has joined the channel
[22:18] davidc_ has joined the channel
[22:18] brianleroux has joined the channel
[22:18] stagas: it's not guybrush threepwood but it's close, you could be an adventure character :P
[22:18] piscisaureus: ryah_: back
[22:19] jesusabdullah: Hah
[22:19] stagas: greek last names are the worst
[22:19] stagas: ever
[22:19] colinclark has joined the channel
[22:19] JimBastard: saschagehlich: all the smtp commands should be uppercase, ya?
[22:20] JimBastard: saschagehlich: i think i lost a node_mailer patch somewhere, im working on the new version now
[22:20] shimondoodkin has joined the channel
[22:21] hellp has joined the channel
[22:22] jimt has joined the channel
[22:22] masahiroh has joined the channel
[22:23] alex_b has left the channel
[22:24] saschagehlich: JimBastard: well, the rfc says it makes no difference
[22:24] tmzt: what does that mean?
[22:25] tmzt: tjholowaychuk: uh, span across and redirect
[22:25] JimBastard: saschagehlich: any idea whats up with all these 500 errors? https://github.com/marak/node_mailer/issues#issue/7
[22:25] JimBastard: 500 5.3.3 Unrecognized command
[22:25] tjholowaychuk: tmzt: s/and/an/
[22:25] tjholowaychuk: tmzt: they are stored in the session and only flushed when they have a chance to output
[22:25] rpbertp13 has joined the channel
[22:26] saschagehlich: JimBastard: could you reproduce it?
[22:26] stagas: JimBastard: it's Esmtp it has a different authorization protocol
[22:26] JimBastard: saschagehlich: mostly just wondering, im going through all the issues
[22:26] JimBastard: stagas: say word?
[22:26] kuhrt has joined the channel
[22:27] jimt has joined the channel
[22:28] piscisaureus: ryah_: I don't really understand what part of your world view is disturbed, but I'm open for discussion
[22:29] stagas: JimBastard: esmtp authorizes differently than plain smtp
[22:31] saschagehlich: kaboom.
[22:31] davida has joined the channel
[22:31] ryah_: piscisaureus: that stdin emits keypresses instead of data in windows
[22:32] JimBastard: saschagehlich: i guess i should fix this too, ya? https://github.com/Marak/node_mailer/issues/#issue/12
[22:32] Ond has joined the channel
[22:32] JimBastard: wait for server to say HELO before i try to send?
[22:32] JimBastard: im surprised that works at all
[22:32] piscisaureus: ryah_: stdin also emits data on windows
[22:32] jimt has joined the channel
[22:32] sh1mmer has joined the channel
[22:32] [[zzz]] has joined the channel
[22:32] jherdman_ has joined the channel
[22:32] gf3 has joined the channel
[22:32] Twelve-60 has joined the channel
[22:32] ph^ has joined the channel
[22:32] zzak has joined the channel
[22:32] binarypie has joined the channel
[22:32] guid has joined the channel
[22:32] kylefox has joined the channel
[22:32] mif86 has joined the channel
[22:32] Sembiance has joined the channel
[22:32] zum has joined the channel
[22:32] julienXX has joined the channel
[22:32] janne has joined the channel
[22:32] franck34 has joined the channel
[22:32] Stephen_ has joined the channel
[22:32] Nacho__ has joined the channel
[22:32] skampler has joined the channel
[22:32] mojombo_ has joined the channel
[22:32] tg has joined the channel
[22:32] augustl has joined the channel
[22:32] slaskis has joined the channel
[22:32] [tm] has joined the channel
[22:32] doffm has joined the channel
[22:32] keeto has joined the channel
[22:32] persson has joined the channel
[22:32] ashb has joined the channel
[22:32] brainproxy has joined the channel
[22:32] papyromancer has joined the channel
[22:32] r00s has joined the channel
[22:32] morgabra has joined the channel
[22:32] mde has joined the channel
[22:32] MaSch has joined the channel
[22:32] disq has joined the channel
[22:33] piscisaureus: ryah_: but it contains no info about arrow keys etc
[22:33] sstephenson has joined the channel
[22:33] kjeldahl has joined the channel
[22:33] piscisaureus: ryah_: though any key that has an ascii equivalent like enter and tab and backspace ctrl+something is still present in the data stream
[22:33] guid_ has joined the channel
[22:33] sh1mmer: can someone send me mikeal's phone number
[22:33] sh1mmer: I can't find it
[22:33] saschagehlich: JimBastard: node-mailer always waits for a server response
[22:34] ryah_: piscisaureus: but can you get that data from just read() on stdin?
[22:34] JimBastard: saschagehlich: worst library name ever
[22:34] ryah_: piscisaureus: it seems like you're creating buffers from the keypresses
[22:34] JimBastard: seriously
[22:34] BillyBreen has joined the channel
[22:35] saschagehlich: JimBastard: what, node-mailer?
[22:35] JimBastard: rename that to coffee-mailer or something
[22:35] piscisaureus: ryah_: though read() on the console doesn't really work -- it always blocks, you can't do select on it, and read fails if you're requesting to read more than a few kb. plus it doesn't give you arrow keys and the such
[22:35] pdcawley has joined the channel
[22:35] JimBastard: saschagehlich: yeah
[22:35] piscisaureus: ryah_: yeah. if you would use read it would yield use exactly the same data buffers as you get now
[22:35] ryah_: piscisaureus: but it can be done in a different thread
[22:35] ryah_: what about node script.js < file
[22:35] ryah_: windows has pipes, right?
[22:36] ryah_: redirection, imean
[22:36] piscisaureus: ryah_: that's not a console. it will use fs.stream in that case
[22:36] ryah_: i see
[22:36] saschagehlich: JimBastard: whell actually this is more or less a private repo
[22:36] piscisaureus: because tty.isatty(0) == false in that case
[22:36] saschagehlich: no watchers, no forks, no readme.md ;)
[22:37] ryah_: piscisaureus: what about "echo 'blah' | node script.js"
[22:37] piscisaureus: same
[22:37] ryah_: does it also use fs.readstream?
[22:37] piscisaureus: yeah
[22:37] ryah_: ok
[22:37] JimBastard: saschagehlich: lol, a private repo is a private repo. all im saying is that you shouldn't take a library name and then make a library that does similar functionality and only change the name by replacing the "_" with a "-". its confusing for people
[22:37] JimBastard: i checked out your project and it looked pretty nice too
[22:37] ryah_: piscisaureus: so is your repl working now?
[22:38] piscisaureus: ryah_: completely. but I'm testing the v8 upgrade you did now
[22:38] saschagehlich: JimBastard: well it's a mailer for node, why shall I call it coffee-mailer ;)
[22:38] piscisaureus: ryah_: the only thing is util.inspect coloring
[22:38] ryah_: piscisaureus: right. which i'll do :)
[22:38] piscisaureus: ryah_: are you happy now or do you still have an uncomfortable feeling?
[22:39] saschagehlich: I'm always coding javascript stuff with coffeescript but I always provide js files (compiled coffee)
[22:39] ryah_: piscisaureus: well it's okay
[22:40] ryah_: i'm not totally happy that a simple script like "process.stdin.pipe(process.stdout);" needs to load all the TTY stuff
[22:40] ryah_: process.stdin.resume(); process.stdin.pipe(process.stdout);
[22:40] JimBastard: fine, ill just rename node_mailer to mr_mailer
[22:41] JimBastard: or shemail, yeah that will work
[22:41] tjholowaychuk: hahaha
[22:41] mnbvasd: lol ;)
[22:41] tjholowaychuk: shemail
[22:41] ryah_: piscisaureus: i feel that the escape char interpretation should be done in readline...
[22:41] mnbvasd: is anyone working on the tls modules?
[22:41] ryah_: piscisaureus: or some where out of the way
[22:41] ryah_: piscisaureus: i guess on windows it comes natively
[22:42] piscisaureus: ryah_: that's the problem. I feel that it makes not sense to transform you keypresses TO excape chars first and then try to decode it
[22:43] ryah_: piscisaureus: i agree
[22:43] ryah_: this is a reasonable compromise no
[22:43] ryah_: now
[22:43] piscisaureus: ryah_: but remember that tty.ReadStream only gets loaded when stdin is a tty AND the program is accessing
[22:43] ryah_: piscisaureus: does the test-repl.js pass for you?
[22:43] piscisaureus: it
[22:43] saschagehlich: lol^^
[22:44] ryah_: piscisaureus: maybe you should setup a buildbot for mingw?
[22:44] piscisaureus: ryah_: I can't really think of any occasion where you would want to read from the tty and not be interested in keypresses :-)
[22:45] piscisaureus: ryah_: could do. but where. I don't have a vps at my disposal
[22:45] ryah_: piscisaureus: process.stdin.resume(); process.stdin.pipe(process.stdout);
[22:45] ryah_: piscisaureus: from your home box?
[22:45] piscisaureus: ryah_: print everything you type. Use case?
[22:45] bmavity has joined the channel
[22:45] ryah_: piscisaureus:a cat program
[22:45] piscisaureus: cat from tty?
[22:46] Me1000 has joined the channel
[22:46] piscisaureus: you would use cat with a pipe, wouldn't you?
[22:46] tjholowaychuk: piscisaureus: cat > /tmp/test
[22:47] ryah_: piscisaureus: i mean if you wanted to write cat in node
[22:47] tjholowaychuk: piscisaureus: I find it handy sometimes, no that I would be writing it in node lol but I see the use-case
[22:48] mnbvasd: I've created a simple patch for tls, which enables you to do "starttls" type functionality on an already existing tcp connection...
[22:48] mnbvasd: https://gist.github.com/787053
[22:48] piscisaureus: ryah_: yeah. get back at me when someone complains about `node cat.js > out.js` memory usage
[22:48] mnbvasd: is it too evil to submit? or is it likely to be accepted?
[22:49] piscisaureus: ryah_: u mean run a buildbot on my laptop?
[22:49] kordless has joined the channel
[22:49] piscisaureus: :-/
[22:49] ryah_: piscisaureus: :0
[22:49] ryah_: :)
[22:50] sfoster has joined the channel
[22:50] piscisaureus: maybe pquerna can help with that. rackspace has a lot of vps available, no?
[22:51] Me1000 has joined the channel
[22:52] ryah_: perhaps
[22:52] ryah_: i can ask here too
[22:52] ryah_: we're not so good at windows hosting though
[22:53] mraleph: amazon ec2 provides windows machines afaik
[22:53] konobi: we can do it though, at a stretch
[22:53] piscisaureus: ryah_: the other thing is that I need a windows license, win7 preferably because we need symlinks tests
[22:53] Vertice has joined the channel
[22:53] piscisaureus: though maybe garrett can shove one to us. then at least he would do something :-p
[22:55] bradleymeck: that is stupid how smart chrome is when you try to fake selection text for canvas, it wont let you see the text if elems are invisible/hidden/display:none/too far off the page
[22:55] echosystm has joined the channel
[22:55] christophsturm has joined the channel
[22:55] piscisaureus: ryah_: test-repl fails at the unix test. probably because windows has no unix sockets.
[22:55] tmcw has left the channel
[22:55] echosystm: i need to set up a small db cluster, not for performance, but for failover
[22:55] echosystm: what are some good options?
[22:56] echosystm: ease of use and language support are probably the two main determinants
[22:56] kordless has joined the channel
[22:56] bradleymeck: couch replicates like no ones business
[22:56] bradleymeck: its a simple rest api too
[22:57] Ond: Riak it is
[22:57] blueadept has joined the channel
[22:57] blueadept has joined the channel
[22:57] konobi: piscisaureus... you can fake them with named pipes, no?
[22:58] konobi: echosystem... riak =0)
[22:58] piscisaureus: konobi: yeah. but the complication is that you can't do select on named pipes on windows
[22:59] echosystm: ok
[22:59] echosystm: now say i want two stateless http servers
[22:59] piscisaureus: konobi: to do this kind of stuff we need to get rid of libev and use a different model to juggle sockets and the such
[22:59] echosystm: what's the best way to load balance and failover between them, without a single pojnt of fail?
[23:00] echosystm: i dont want to use one of those hardware load balancers, because there's a single point of failure again
[23:01] konobi: piscisaureus: oh.. PeekNamedPipe()
[23:01] piscisaureus: konobi. yeah. where?
[23:01] piscisaureus: busyloop?
[23:02] piscisaureus: konobi: I'm sure it can be done with a lot of trickery now
[23:02] piscisaureus: konobi: but I'm not doing it anytime soon
[23:03] bradleymeck: echosystm at some point there will be a single point of failure no matter what you do, but have a nameserver list IP addresses to 2 machines that are replicated with the primary first?
[23:03] echosystm: ok now
[23:03] echosystm: if one of those servers goes down
[23:03] echosystm: the nameserver will still be pushing out the dead IP
[23:04] echosystm: will web browsers automagically move to the next IP or what?
[23:04] echosystm: (i'm not too familiar with DNS)
[23:04] bradleymeck: basically
[23:05] echosystm: ok, that's good
[23:06] konobi: bradleymeck: round-robin generally isn't sufficient for failover... load balancing yes
[23:07] konobi: bradleymeck: which IP is returned via DNS may be up to your ISP's recursive cache
[23:07] brianleroux has joined the channel
[23:07] konobi: leroux!
[23:07] jimt has joined the channel
[23:08] felixge has joined the channel
[23:09] sh1mmer has joined the channel
[23:09] felixge: ryah_: ping
[23:09] mikeal has joined the channel
[23:11] webr3 has joined the channel
[23:12] softdrink has joined the channel
[23:12] chrischris has joined the channel
[23:14] pieterv has joined the channel
[23:14] lightharut has joined the channel
[23:15] lightharut: I have some problem with memory leaks in my application.
[23:16] konobi: lightharut: have a look at node-inspector
[23:16] lightharut: How can I awoid memory leaks in JavaScript?
[23:17] warz has joined the channel
[23:18] jimt has joined the channel
[23:19] Tim_Smart has joined the channel
[23:19] bradleymeck: closure care, make sure when you make a closure and attach some object to another that you dont leave your closure dangling on the object, and dont use 2 arrays to emulate maps
[23:19] mscdex has joined the channel
[23:20] [[zz]] has joined the channel
[23:22] lightharut: bradleymeck:thanks
[23:22] lightharut: But what If I need two dimensional arrays?
[23:22] konobi: lightharut: if you use node-inspector with your app, you can visual refer to what functions are consuming your memory heap
[23:22] bradleymeck: use em, just dont have 1 map to another
[23:23] postwait has joined the channel
[23:23] bradleymeck: but yes, node-inspector is love
[23:23] postwait: ryah_: I'm looking at the new crypto stuff in 0.3 and it looks to be missing CRL support.
[23:23] lightharut: I'm using cygwin on my computer. Is it works with it?
[23:23] yyamano has joined the channel
[23:24] postwait: ryah_: I know the code is different than 0.2, but I sent patches. pretty critical feature. PKI is useless without CRLs.
[23:25] bradleymeck: lightharut should work wherever v8 works, its not really tied to node besides how it hooks in
[23:25] bradleymeck: ACTION reads that... bad explanation
[23:25] lightharut: ok, thanks will try
[23:27] gartenstuhl has joined the channel
[23:27] lightharut: bradleymeck: Small question about memeory leaks. If I will define something like this: var a = new Date(); should I call delete a;?
[23:28] davidascher has joined the channel
[23:28] bradleymeck: generally no
[23:29] matjas has joined the channel
[23:30] lightharut: bradleymeck:http://pastebin.com/GeMxPAW8
[23:31] lightharut: I have a small peace of code. May you can be so kind and take a look on it.
[23:31] lightharut: Is it can cause to memory leak from your meaning?
[23:32] Ari-Ugwu has joined the channel
[23:34] alex_b has joined the channel
[23:35] bradleymeck: unlikely, but response might be holding onto something, anywho i gtg
[23:38] lightharut: I have installed node inspector
[23:38] lightharut: thanks
[23:38] ryah_: postwait: not useless - surely. i will add it eventually
[23:38] ryah_: i need it too
[23:39] perlmonkey2 has joined the channel
[23:39] postwait: ryah_: in fairness you can't reasonable trust a CA signed cert without a recent CA signed CRL saying its not invalid.
[23:39] postwait: so.. not useless.. just *really* dangerous.
[23:40] pquerna: +/- ocsp
[23:40] postwait: OCSP would be nice, but you can make due...
[23:40] nejucomo: You can't reasonably trust a CA signed CRL without a more recent CRL saying it's not invalid.
[23:41] postwait: you can trust the CRL.. just not that it's recent.
[23:41] pquerna: well, thats why ocsp is a good thing (tm)
[23:41] pquerna: but if you have internal CAs
[23:41] postwait: it is a good thing
[23:41] pquerna: distribution of the CRLs can be.. automated etc
[23:41] postwait: but having a 300 day old signed cert... leave a lot of assumptions about the safety of the corresponding key
[23:41] nejucomo: I'm being facetious, but I'm skeptical about the value of either CRLs or OCSP compared to cert expiration/renewal.
[23:42] statim_: anyone know how to see what is still happening on the main event loop? i believe ive closed everything, but node isnt exiting, so something must still be active. any way to find out?
[23:42] mischievious has joined the channel
[23:43] mischievious has joined the channel
[23:43] konobi: nejucomo: certs and ca's get "broken" all the time... but they're usually internal to a company... especially if the company doesn't know about proper security
[23:43] mischievious has joined the channel
[23:44] nejucomo: If ca's are broken all the time, then why won't ocsp/crls be broken likewise?
[23:44] nejucomo: It's duct tape over the underlying problem.
[23:44] mischievious has joined the channel
[23:45] nejucomo: For example, it's easier to spoof an unsigned ocsp error response than it is to forge a cert. How do clients proceed if they get an error from the ocsp service?
[23:45] postwait: pquerna: mod_ocsp for apache would be nice :-)
[23:45] mischievious has joined the channel
[23:45] postwait: sounds very easy to implement.
[23:46] mdoan has left the channel
[23:46] mischievious has joined the channel
[23:46] nejucomo: Anyway, I'm bordering on trolling, because I don't know of a better alternative, and if people want ocsp then we need implementations.
[23:46] sugardave has joined the channel
[23:46] pquerna: postwait: mod_ssl in 2.3 includes it
[23:46] aakour has joined the channel
[23:46] chilts has joined the channel
[23:46] postwait: really?! wow, that's create.
[23:47] persson has joined the channel
[23:47] postwait: er.. great.
[23:47] vineyard has joined the channel
[23:47] slaskis has joined the channel
[23:47] termie has joined the channel
[23:47] rickard2 has joined the channel
[23:47] mischievious has joined the channel
[23:47] postwait: Can you used a delegate signer for the OCSP responses?
[23:47] postwait: Last thing I'd want is the CA itself online processing those requests...
[23:48] pquerna: mm, not sure about that, i think so though.
[23:48] jimt has joined the channel
[23:49] postwait: using ocsp and falling back to an infrequently updated CRL sounds like a very solid (happy place for Theo) solution
[23:50] noahcampbell has joined the channel
[23:51] booo has joined the channel
[23:51] muk_mb has joined the channel
[23:51] lightharut: I have installed node inspector, but got as the response, operation is not permitted.
[23:51] lightharut: What can I do against that?
[23:53] janne has joined the channel
[23:54] hij1nx has joined the channel
[23:55] zum has joined the channel
[23:56] booths has joined the channel
[23:57] Ezku\ has joined the channel
[23:59] cnu has joined the channel