'
[08:34] wingie: it will log all headers if you request again that port
[08:35] johnhamelink has joined the channel
[08:36] stonebranch has joined the channel
[08:36] munichlinux has joined the channel
[08:37] felixhummel has joined the channel
[08:37] jkridner___ has joined the channel
[08:38] pradeebv_ has joined the channel
[08:38] xaq has joined the channel
[08:38] r04r has joined the channel
[08:39] `3rdEden has joined the channel
[08:40] dve has joined the channel
[08:40] pid1 has joined the channel
[08:40] robhawkes has joined the channel
[08:43] pors has left the channel
[08:43] Blkt has joined the channel
[08:43] samuelgo1dwin has joined the channel
[08:43] simboyz has joined the channel
[08:43] simboyz has left the channel
[08:44] krankguy: Connect fails to install for Calipso via NPM: http://pastebin.com/Sa2kWWUq
[08:44] munichlinux: pradeebv, y0!
[08:45] Emmanuel` has joined the channel
[08:46] Wizek-other has joined the channel
[08:46] salva has joined the channel
[08:47] parshap has joined the channel
[08:48] hackband has joined the channel
[08:48] Topcat has joined the channel
[08:48] r04r has joined the channel
[08:48] satyr has joined the channel
[08:49] riven has joined the channel
[08:49] riven has joined the channel
[08:49] aaronmcadam has joined the channel
[08:50] eddyb has joined the channel
[08:51] tglines has joined the channel
[08:52] huggies has joined the channel
[08:54] r04r has joined the channel
[08:56] bulatshakirzyano has joined the channel
[08:56] dannyamey has joined the channel
[08:57] c4milo has joined the channel
[08:58] r04r has joined the channel
[08:58] socketio\test\21 has joined the channel
[08:58] dobber has joined the channel
[09:00] socketio\test\98 has joined the channel
[09:00] bitbit has joined the channel
[09:00] illourr1 has joined the channel
[09:01] jaikeerthi has joined the channel
[09:02] shanebo has joined the channel
[09:02] nayger: does anyone have a study of node vs other environments in power consumption?
[09:03] r04r has joined the channel
[09:04] Shrink has joined the channel
[09:04] Shrink has joined the channel
[09:04] herbySk has joined the channel
[09:04] cagdas has left the channel
[09:05] eddyb: can I create a read/write stream?
[09:05] eddyb: something like a pipe, with a given path or fd
[09:05] hipsterslapfight has joined the channel
[09:08] r04r has joined the channel
[09:08] lperrin: eddyb: fs.createReadStream ?
[09:08] merlin83 has joined the channel
[09:09] eddyb: lperrin: I want to read and write on that stream
[09:09] lperrin: hmm perhaps you can create 2 streams then ?
[09:09] svnlto has joined the channel
[09:09] Skola has joined the channel
[09:09] eddyb: would that work?
[09:10] joshgillies has joined the channel
[09:10] TomY_ has joined the channel
[09:11] lperrin: that would depend on your use-case
[09:11] eddyb: I want a pipe for a FD
[09:12] maritz has joined the channel
[09:12] cosmincx has joined the channel
[09:12] infynyxx has joined the channel
[09:12] eddyb: I also want to start a processor using a certain /dev/pts/X "file" for stdin/stdout/stderr
[09:13] eddyb: err, process
[09:13] r04r has joined the channel
[09:13] lperrin: you'd have to try, but I think it would work
[09:14] eddyb: ok, what about the process thing?
[09:14] eddyb: the example I found uses fork() and dup2 to change the tty
[09:15] lperrin: I don't think you can make those syscalls within node
[09:15] lperrin: you can spawn a new process and get its stdin/stdout if that's what you want to do
[09:16] eddyb: lperrin: libffi can let me do anything, but I'm not sure if it's safe
[09:16] eddyb: no, I want to change its stdin/stdout, I don't want them to be pipes
[09:16] ajackbot has joined the channel
[09:17] hz has joined the channel
[09:17] lperrin: can you explain again what you want to do with your fd ?
[09:17] lperrin: not sure I understand
[09:17] eddyb: I have a pair, a FD for the master and a path for the slave
[09:17] eddyb: I want to make a pipe out of the master FD
[09:18] r04r has joined the channel
[09:18] eddyb: and I want to start a process using the slave's path for its stdio
[09:19] mikeal has joined the channel
[09:19] theCole has joined the channel
[09:19] eddyb: this is the C version: http://book.chinaunix.net/special/ebook/addisonWesley/APUE2/0201433079/ch19lev1sec4.html
[09:20] AD7six has joined the channel
[09:20] tdegrunt has joined the channel
[09:21] mikedeboer has joined the channel
[09:21] eddyb: it forks, the child changes stdin/stdout/stderr to the slave pseudo-terminal, and it exec's the program it wants to
[09:21] eddyb: bash, for example
[09:21] jjido has joined the channel
[09:22] lperrin: if you spawn the process and pipe its stdin/stdout to the streams you've opened for your fs, would that work ?
[09:22] eddyb: no :)
[09:22] eddyb: you don't see it yet :)
[09:22] eddyb: ?
[09:23] deeprogram has joined the channel
[09:23] jjido: spawn? as in 'exec'?
[09:23] eddyb: I need to run bash in a pseudo-terminal
[09:23] eddyb: does that make sense?
[09:23] deeprogram: hi ?
[09:23] deeprogram: is there open source chat app that basic on socket.io ?
[09:24] Skaag_ has joined the channel
[09:24] jacobolus has joined the channel
[09:25] Skola has joined the channel
[09:26] lperrin: eddyb: the fork() call you have in node is not a real fork
[09:26] adambeynon has joined the channel
[09:26] r04r has joined the channel
[09:26] i42n has joined the channel
[09:27] lperrin: you might achieve what you want with ffi, but I'd doubt it'd be more convenient that doing it in C
[09:27] eddyb: how can I spawn a process and change it's stdio?
[09:27] eddyb: pfffft
[09:28] eddyb: all I want is a socket.io-based terminal emulator
[09:28] eddyb: bloody UNIX/POSIX/linux crap
[09:28] tvw has joined the channel
[09:28] jjido: eddyb: spawning a process is not what you normally do in node.js.
[09:30] `3rdEden: eddyb like: https://github.com/chjj/tty.js ;o?
[09:30] eddyb: ok, I'll use a helper
[09:30] eddyb: `3rdEden: WHYYYY
[09:30] eddyb: DAMMIT
[09:30] paera1 has joined the channel
[09:30] eddyb: FIX YOUR FUCKING INTERNET
[09:30] eddyb: I searched half an hour for anything slightly related
[09:30] eddyb: NADA
[09:31] `3rdEden: ;D
[09:32] r04r has joined the channel
[09:33] jesusabdullah: eddyb: "all I want" eh?
[09:34] jesusabdullah: eddyb: It's harder than it sounds. chjj only did that like a week or two ago
[09:35] paera has joined the channel
[09:35] pleaz has joined the channel
[09:35] paera has left the channel
[09:37] r04r has joined the channel
[09:39] pradeebv has joined the channel
[09:40] aslant has joined the channel
[09:40] zalew has joined the channel
[09:41] sandfox has joined the channel
[09:42] r04r has joined the channel
[09:43] misza222 has joined the channel
[09:45] sandfox has joined the channel
[09:46] lzskiss has joined the channel
[09:46] eddyb: great, and he made it quite un-modular
[09:46] eddyb: I can't really tap into the client side, I'll have to cut some stuff
[09:46] hellp has joined the channel
[09:47] r04r has joined the channel
[09:47] r04r has joined the channel
[09:49] vguerra has joined the channel
[09:52] r04r has joined the channel
[09:53] eldios has joined the channel
[09:54] gerard0 has joined the channel
[09:57] r04r has joined the channel
[09:57] Joeysomo has joined the channel
[09:59] Joeysomo has joined the channel
[09:59] xiaoneng101 has joined the channel
[10:00] TheFuzzb_ has joined the channel
[10:01] Vespakoen has joined the channel
[10:02] criswell has joined the channel
[10:02] arduix has joined the channel
[10:02] r04r has joined the channel
[10:03] [[zzz]] has joined the channel
[10:04] maritz: any node.js jobs in berlin you guys know about and can recommend to me? :)
[10:04] jjido has joined the channel
[10:04] kulor-uk has joined the channel
[10:05] TomY_ has joined the channel
[10:06] andrehjr_ has joined the channel
[10:07] r04r has joined the channel
[10:07] r04r has joined the channel
[10:08] jetienne: maritz: maybe you could talk with berlinjs, i guess they get local info on this
[10:08] cjm has joined the channel
[10:12] r04r has joined the channel
[10:13] ppcano has joined the channel
[10:14] benvie has joined the channel
[10:14] zomgbie has joined the channel
[10:14] maritz: jetienne: thanks! :)
[10:15] Vennril has joined the channel
[10:15] kulor-uk has joined the channel
[10:16] copongcopong has joined the channel
[10:16] r04r has joined the channel
[10:17] salim has joined the channel
[10:18] salim: .
[10:18] cha0s has joined the channel
[10:18] cha0s has joined the channel
[10:19] robm has joined the channel
[10:19] salim has left the channel
[10:20] Wizek has joined the channel
[10:20] przemoc has joined the channel
[10:21] jimmysparkle has joined the channel
[10:21] r04r has joined the channel
[10:21] r04r has joined the channel
[10:21] __doc__ has joined the channel
[10:21] c4milo has joined the channel
[10:22] tisba has joined the channel
[10:22] pouledodue has joined the channel
[10:22] zalew has joined the channel
[10:23] hipsterslapfight has joined the channel
[10:23] eddyb: chjj: hey, I'm rewriting some of your code, so I can use it more like a module/extension than a complete app
[10:23] benvie: mmmm
[10:23] benvie: that stuff isn't exactly portable
[10:23] benvie: I mean it's well coded, but domain specific
[10:26] eddyb: benvie, chjj: https://gist.github.com/1875665
[10:26] eddyb: that would be the server part
[10:26] Danielss89 has joined the channel
[10:26] r04r has joined the channel
[10:29] markwubben has joined the channel
[10:29] mschneider has joined the channel
[10:31] kwmiebach has joined the channel
[10:31] tomasztomczyk has joined the channel
[10:32] r04r has joined the channel
[10:32] icebox has joined the channel
[10:32] sechrist has joined the channel
[10:32] objectiveous has joined the channel
[10:33] Yoms has joined the channel
[10:33] chjj: eddyb: hmm?
[10:33] bingomanatee has joined the channel
[10:34] Typo has joined the channel
[10:34] robi42 has joined the channel
[10:35] eddyb: I have a project that needs a terminal in the browser, and your solution is not very modular
[10:35] ljharb has joined the channel
[10:36] robhawkes has joined the channel
[10:36] Nuck has joined the channel
[10:36] r04r has joined the channel
[10:36] r04r has joined the channel
[10:36] samuelgoodwin has joined the channel
[10:37] zomgbie has joined the channel
[10:37] nuclearsandwich has joined the channel
[10:37] dragon has joined the channel
[10:37] chjj: eddyb: i think im going to move the pty stuff to a separate module and throw it in npm
[10:37] chjj: so other people can use it
[10:37] papertigers has joined the channel
[10:37] chjj: eddyb: if thats what you were looking for
[10:38] chjj: eddyb: if not, what were you looking for?
[10:39] eddyb: I need the client-side part, too
[10:39] chjj: i see
[10:39] chjj: how modular do you need it?
[10:39] eddyb: I'm playing with lib/tty.js and static/tty.js
[10:39] shripadk has joined the channel
[10:40] eddyb: I'll show you the result when I'm finished :)
[10:40] shripadk: hello :)
[10:40] larsschenk has joined the channel
[10:41] larsschenk has left the channel
[10:41] chjj: eddyb: alright
[10:41] eddyb: oh, damn...
[10:42] shripadk: child_process.exec won't work with paths that have spaces. ex: child_process.exec('/usr/local/bin/node /abs/path/to/directory/With Space/app.js', function() {}); <- how to tackle this??
[10:42] r04r has joined the channel
[10:42] eddyb: shripadk: quotes
[10:42] benvie: quote it inside the js quotes
[10:42] DrPheltRight has joined the channel
[10:42] benvie: child_process.exec('"/usr/local/bin/node /abs/path/to/directory/With Space/app.js"', function() {});
[10:42] shripadk: okay thanks :) :)
[10:42] chjj: shripadk: i think exec just basically does a sh -c, so yeah, what benvie said
[10:43] chjj: quotes or backslashes
[10:43] chjj: you could also do "\\ "
[10:43] benvie: yeah I think? this would work
[10:43] chjj: to escape a space
[10:43] benvie: child_process.exec('/usr/local/bin/node /abs/path/to/directory/With\\ Space/app.js', function() {});
[10:43] shripadk: awesome :) i'll give it a shot :)
[10:43] benvie: does in Windows anyway
[10:44] pleaz has joined the channel
[10:44] benvie: win-doesn't-have-xterm256
[10:44] Nuck has joined the channel
[10:44] benvie: win-doesn't-have-xterm256-dows
[10:45] eddyb has joined the channel
[10:45] pleaz has left the channel
[10:45] eddyb: chjj: there's a problem. static/term.js uses the entire document
[10:45] zalew has joined the channel
[10:46] benvie: that could be more portable true
[10:46] Nuck has joined the channel
[10:46] r04r has joined the channel
[10:47] robi42 has joined the channel
[10:47] eddyb: if that's fixed, changing static/tty.js won't be hard
[10:47] benvie: yeah I was thinking more about the underlying stuff
[10:48] benvie: not the browser stuff
[10:48] benvie: man it sure would be great if all interfaces were built for the browser :wistles:
[10:49] criswell has joined the channel
[10:51] niloy has joined the channel
[10:51] r04r has joined the channel
[10:52] eddyb: I'm writing YetAnotherUILibrary (I should be ashamed, shouldn't I?), and I thought a terminal would be a nice start :P
[10:52] benvie: does the UI library work on the desktop?
[10:52] d0k has joined the channel
[10:52] c4milo has joined the channel
[10:53] nayger: eddyb: i agree, a good terminal is fun!
[10:53] benvie: ok so I just pulled the latest tty.js
[10:53] eddyb: benvie: it's all in the browser
[10:53] benvie: i THINK this might get you want you want but guessing
[10:53] benvie: static/tty.js
[10:53] eddyb: that's what I'm editing right now
[10:53] benvie: line 27 root = doc.documentElement
[10:53] benvie: set that to some parent element
[10:54] eddyb: benvie: nope, open static/term.js
[10:54] benvie: ah ok so it's going to require changing all this stuff that calculates relative to the document
[10:54] benvie: wait
[10:54] benvie: yeah
[10:54] TimTimTim has joined the channel
[10:55] benvie: self.element.clientWidth is like a weird not going to work halfway ppint
[10:55] benvie: I guess it'd work for an iframe
[10:55] eddyb: pffft...
[10:55] benvie: maybe not even then, do iframe have clientWidth/height?
[10:56] eddyb: they have their window's
[10:56] benvie: but yeah it's going to be a bit of manual labor I guess to just swap out any references based on window specific measurements
[10:56] r04r has joined the channel
[10:56] r04r has joined the channel
[10:56] benvie: and then you can add a couple extra properties to the terminal like
[10:56] chjj: eddyb: what do you mean it uses the whole document?
[10:57] TheFuzzball has joined the channel
[10:57] benvie: Object.defineProperty(Term.prototype, 'width', { get: function(){ return this.width || window.clientWidth } })
[10:57] eddyb: chjj: instead of being it's own element, it just uses the entire page
[10:57] eddyb: s/being/having/
[10:58] chjj: eddyb: thats what tty.js is there for, if you notice, term.js doesnt make any assumptions about the page, tty.js has to hook into everything
[10:58] chjj: i specifically designed it that way
[10:58] Glenjamin has joined the channel
[10:58] benvie: Object.defineProperty(Term.prototype, 'width', { get: function(){ return this.hasOwnProperty('_width') ? this._width || window.clientWidth } })
[10:58] TheFuzzb_ has joined the channel
[10:59] TheFuzzball has joined the channel
[10:59] samuelgoodwin has joined the channel
[10:59] TheFuzzb_ has joined the channel
[10:59] benvie: I think he's referring to a higher level interface. Which you provide in the repo but is also primitive in that it's doing the minimum required
[10:59] chjj: eddyb: although youre right, ive considered moving a lot of the stuff in tty.js to term.js
[10:59] benvie: just load the thing up into the whole window, basically demo level
[10:59] chjj: eddyb: like the wrapper and the window behavior, etc
[11:00] skylamer` has joined the channel
[11:00] robi42 has joined the channel
[11:00] eddyb: tty.js doesn't change the fact that term.js is operating on document, document.body, document.element
[11:01] robi42 has joined the channel
[11:01] benvie: well it's a large problem area that he's solving in one project
[11:01] xbayrockx has joined the channel
[11:01] r04r has joined the channel
[11:01] r04r has joined the channel
[11:02] eddyb: yeah, and I'd be glad to help
[11:02] benvie: three projects in one really. The one he mentioned breaking off is the pty stuff, then the readline interface combined with the ansi interpreter, and finally a terminal application built on top
[11:02] larsschenk1 has joined the channel
[11:02] xbayrockx has joined the channel
[11:02] eddyb: chjj: you want me to fix static/tty.js ?
[11:03] robi42 has joined the channel
[11:03] xbayrockx has joined the channel
[11:04] xbayrockx has joined the channel
[11:04] chjj: eddyb: im confused, you want term.js to be completely divorced from the dom? or you want it to be possible to specify a context?
[11:05] eddyb: I'd want to specify a context, or even have the Terminal constructor to make it's own container, like a
[11:05] eddyb: it would also be nice to use jquery, instead of all that bare-bone DOM
[11:06] chjj: eddyb: certain things like the key events and mouse events are going to have to bind to the document, or a document in order to work properly
[11:06] eddyb: that doesn't sound good...
[11:06] chjj: eddyb: i would consider adding a dom lib to the tty.js part, not the term.js part
[11:07] chjj: eddyb: it doesnt sound good, but thats the way it works
[11:07] r04r has joined the channel
[11:07] eddyb: term.js does a lot of DOM stuff jquery can cleanly replace, btw
[11:07] hz has joined the channel
[11:07] eddyb: and maybe those key and mouse events can be hooked on focus and unhooked on defocus
[11:08] chjj: eddyb: thats kind of how it works
[11:08] chjj: eddyb: they have to bind mouseup and mousemove to the document to work properly
[11:09] dekub has left the channel
[11:11] eddyb: so, why don't you want jquery?
[11:12] chjj: eddyb: i dont want it in term.js because term.js is a separate module. i dont use dom libraries for libraries themselves.
[11:12] r04r has joined the channel
[11:12] chjj: eddyb: in the same way youll notice socket.io doesnt use a dom library, despite interacting with the dom a lot
[11:12] robi42 has joined the channel
[11:12] eddyb: oh, it's forked from jslinux
[11:13] chjj: eddyb: yes
[11:13] chjj: i used the jslinux vt100 as the base, rewrote and refactored it, then added the major xterm csi codes it was missing
[11:14] chjj: in the process of finishing up compatibility and implementing the lesser used ones
[11:14] eddyb: ok, so just adding some context would be enough, I guess
[11:15] chjj: yeah, i wouldnt be opposed to that at all
[11:15] larsschenk1 has left the channel
[11:16] Nuck has left the channel
[11:16] r04r has joined the channel
[11:17] maritz: arg, my app leaks memory on simple REST calls. :(
[11:17] chjj: eddyb: honestly, looking at it now, theres probably not much left of the original jslinux vt100 except a few csi codes and the basic design of the rendering engine, but it did help me get started, and fabrice bellard was nice enough to give me permission to use it.
[11:17] thalll has joined the channel
[11:18] chjj: the way character attributes are handled is also the same way jslinux originally handled them
[11:18] chjj: packing everything into bits!
[11:18] maritz: oh wait, i just triggered gc somehow... :D
[11:18] eddyb: chjj: oh, not sure if you noticed, in my version, the client-side passes a callback when creating a terminal, and the server-side uses that callback to send an id back
[11:19] eddyb: I know it's hard to get a mismatch between the client and the server's IDs
[11:19] eddyb: but this way, all the IDs are computed on the server
[11:20] ts___ has joined the channel
[11:21] eddyb: chjj: there isn't much to change, it's already creating its own element
[11:21] eddyb: https://github.com/chjj/tty.js/blob/master/static/term.js#L174
[11:21] chjj: eddyb: that sounds like a good idea. it is possible to get a ismatch if the client was doing something really funky.
[11:21] chjj: mismatch*
[11:21] r04r has joined the channel
[11:21] eddyb: https://github.com/chjj/tty.js/blob/master/static/term.js#L143
[11:22] robi42 has joined the channel
[11:22] aranw has joined the channel
[11:23] robi42 has joined the channel
[11:23] chjj: eddyb: the document.body.appendChild should be moved out, the key events and focus handling i think should stay
[11:24] eddyb: yepp. it's not that bad as I thought
[11:24] lperrin has joined the channel
[11:25] Tolchi has joined the channel
[11:26] rickibalboa has joined the channel
[11:27] eddyb: chjj: https://github.com/chjj/tty.js/blob/master/static/tty.js#L152 why's that?
[11:28] dpino has joined the channel
[11:28] saghul has joined the channel
[11:28] chjj: eddyb: whys what?
[11:29] chjj: eddyb: you close a terminal by clicking the grip with any modifier held down
[11:29] eddyb: is that a testing feature?
[11:29] chjj: eddyb: no, i think its a regular feature
[11:29] chjj: :)
[11:30] chjj: eddyb: why is it so strange to you?
[11:30] gentlex has joined the channel
[11:30] robi42 has joined the channel
[11:30] r04r has joined the channel
[11:31] kulor-uk has joined the channel
[11:31] chjj: eddyb: i want to always keep a way to forcefully close a terminal
[11:32] robm has joined the channel
[11:33] TimTimTim has joined the channel
[11:33] ricedog has joined the channel
[11:34] Cromulent has joined the channel
[11:35] r04r has joined the channel
[11:35] eddyb: ctrl+shift+w
[11:35] chjj: hm?
[11:35] eddyb: at least I know I don't need to keep everything in tty.js
[11:35] eddyb: chjj: never used konsole?
[11:35] E-Hamster has joined the channel
[11:36] chjj: eddyb: konsole isnt a very good terminal emulator, i try not to
[11:36] chjj: eddyb: i drift between xterm and urxvt
[11:36] chjj: eddyb: also, ctrl+shift+w would be impossible to bind to in chrome
[11:36] chjj: chrome cant bind to ctrl+n/w/t
[11:37] shedinja has joined the channel
[11:37] chjj: because...well, i guess there is no good reason, but chrome insists on it
[11:37] E-Hamster: I'm looking for free hosting supporting node.js, websockets and mongodb. Anything out there like that?
[11:37] eddyb: there is a very good reason
[11:38] eddyb: but aren't the shift versions bind-able?
[11:38] E-Hamster: nevermind, just found this: https://github.com/joyent/node/wiki/Node-Hosting
[11:38] eddyb: ctrl+shift+w doesn't mean anything in chrome
[11:38] eddyb: oh, no
[11:38] eddyb: it does. it closes the entire window
[11:38] eddyb: I had to try it :(
[11:38] chjj: eddyb: =/
[11:39] chjj: anyway, whats the good reason?
[11:39] simenbrekken has joined the channel
[11:39] chjj: consistent user experience? thats the only argument ive heard in favor of it
[11:39] eddyb: faking browser actions
[11:39] eddyb: or disabling them
[11:40] munichlinux has joined the channel
[11:40] eddyb: those are the reasons behind some full-screen restrictions
[11:40] r04r has joined the channel
[11:40] chjj: eddyb: they didnt have to give those hotkeys special meaning in the first place though
[11:41] cha0s has joined the channel
[11:41] cha0s has joined the channel
[11:41] chjj: eddyb: anyway, how would you fake a tab or window closing in a malicious manner?
[11:42] eddyb: I'm not a phishing expert, couldn't tell you how
[11:42] danielss89_ has joined the channel
[11:42] chjj: eddyb: but you just said there was a good reason for it. how are you able to tell me theres a good reason for it, but not tell me how?
[11:42] chjj: if you cant tell me how, you cant tell me its a good reason
[11:43] insin: window.close({reason: 'spite'})
[11:43] robi42 has joined the channel
[11:43] eddyb: I guess the full-screen stuff stuck with me as being "a good reason"
[11:43] chjj: because i dont think thats why chrome does it. i think they do it just so users get consistent hotkeys.
[11:43] bnoordhuis has joined the channel
[11:44] chjj: which kind of sucks for anyone who needs to bind ^N, ^W, or ^T for their app
[11:44] eddyb: that would be a bit BS-y
[11:44] robi42 has joined the channel
[11:45] r04r has joined the channel
[11:45] chjj: anyway, i cant even remember how we got on that topic
[11:45] chjj: but yeah, its really annoying using vim in chrome, you cant ^N for completion, you have to ^P instead
[11:45] chjj: which works the same if you configure it the other way
[11:46] chjj: but you have to get used to a new key
[11:50] dpino has joined the channel
[11:50] r04r has joined the channel
[11:50] samuelgo1dwin has joined the channel
[11:52] benvie: full screen is because of video
[11:52] benvie: and gaming
[11:52] benvie: that's all
[11:52] benvie: and because windows 8 metro has it
[11:53] benvie: and because it's required on mobile
[11:53] benvie: -fin-
[11:54] benvie: also good luck binding alt+f4 on windows
[11:54] enmand has joined the channel
[11:55] benvie: or anything using the super conveniently placed windows key, for that matter
[11:55] r04r has joined the channel
[11:55] benvie: keybinds are a clusterfuck for the ages
[11:56] chjj: benvie: alt+f4 is a different story
[11:56] chjj: benvie: the window manager gets that no questions asked
[11:56] benvie: when our grandparents are growing old from spacealiencancer in the year 35083 they will be lamenting issues with their keybinds
[11:56] chjj: benvie: its the same case with any window manager. those keys arent going to be passed to the browser.
[11:56] benvie: yeah no I mean
[11:56] benvie: even if you're taping in at the app level
[11:57] benvie: it's an issue
[11:57] benvie: you have to be hooking shit at the kernal level even
[11:57] margle has joined the channel
[11:58] odinswand has joined the channel
[11:58] robi42 has joined the channel
[11:59] benvie: I know because I have a program that allows me to make windows key keybinds, and it requires root/admin level access to even use it, and it has a 6 page disclaimer
[11:59] r04r has joined the channel
[12:00] benvie: and it killed my dog =(
[12:00] zomg: benvie: windows supports doing global keyboard hooks
[12:00] benvie: windows key, alt+f4
[12:00] zomg: iirc there was a function for that in one of the windows apis
[12:00] benvie: prebound windows keys?
[12:00] samuelgoodwin has joined the channel
[12:01] benvie: like by explorer
[12:01] Shrink has joined the channel
[12:01] xbayrockx1 has joined the channel
[12:01] eddyb: http://stackoverflow.com/questions/209029/best-way-to-remove-an-event-handler-in-jquery
[12:01] deeprogram has joined the channel
[12:02] deeprogram has left the channel
[12:02] benvie: I would love to free up those and provide them to users as the meta key or something
[12:02] benvie: libuv has a pretty limited translation set as it is for windows -> ansi
[12:03] benvie: but I'd be up for something better
[12:04] r04r has joined the channel
[12:05] niklasfi has joined the channel
[12:09] ningu has joined the channel
[12:09] r04r has joined the channel
[12:12] Rob__ has joined the channel
[12:12] robi42 has joined the channel
[12:13] umren has joined the channel
[12:13] robi42 has joined the channel
[12:13] jyp has joined the channel
[12:14] r04r has joined the channel
[12:14] r04r has joined the channel
[12:16] shinuza has joined the channel
[12:18] Skyjoker has joined the channel
[12:18] criswell has joined the channel
[12:19] r04r has joined the channel
[12:21] erikzaadi has joined the channel
[12:21] c0smikdebris has joined the channel
[12:22] micheil has joined the channel
[12:23] micheil has left the channel
[12:23] r04r has joined the channel
[12:23] robhawkes has joined the channel
[12:24] robi42 has joined the channel
[12:25] robi42 has joined the channel
[12:26] take_cheeze has joined the channel
[12:26] robi42 has joined the channel
[12:27] zalew has left the channel
[12:28] kevbook has joined the channel
[12:28] eddyb: chjj: I got something: https://gist.github.com/1876239
[12:28] r04r has joined the channel
[12:29] enmand has joined the channel
[12:29] herbySk has joined the channel
[12:31] pradeebv has joined the channel
[12:32] robi42 has joined the channel
[12:32] eddyb: actually, a few things are wrong, but they're on my side (like wUI - it's actually $ui)
[12:33] CIA-102: libuv: 03Ben Noordhuis 07master * re504719 10/ src/unix/linux.c :
[12:33] CIA-102: libuv: linux: fix signedness issue in uv_exepath()
[12:33] CIA-102: libuv: readlink() returns -1 on error. The <= 0 check failed to catch that because the
[12:33] CIA-102: libuv: return value was implicitly cast to size_t, which is unsigned. - http://git.io/D2Q6Sg
[12:33] r04r has joined the channel
[12:35] joshfinnie has joined the channel
[12:38] r04r has joined the channel
[12:39] eddyb: YES
[12:39] eddyb: chjj: I think I got it working
[12:41] QaDeS: does anyone know what's up0 with riak-js? seems to have been stalling for 3 months now. is there an alternative to access a riak store?
[12:42] robi42 has joined the channel
[12:42] r04r has joined the channel
[12:43] josh-k has joined the channel
[12:46] eddyb: OMG
[12:46] eddyb: chjj: it's actually working
[12:46] eddyb: I had a few typos, but now I can see a nice console :)
[12:46] chjj: eddyb: whats working?
[12:47] tokumine has joined the channel
[12:47] _th_n has joined the channel
[12:47] eddyb: the terminal thing :)
[12:47] chjj: eddyb: what did you change?
[12:49] eddyb: chjj: https://gist.github.com/1876363
[12:49] robi42 has joined the channel
[12:49] samuelgoodwin has joined the channel
[12:50] eddyb: I'd give you the URL, but I have no protection and you would have free control over my laptop
[12:50] whaley has joined the channel
[12:51] RLa has joined the channel
[12:51] chjj: eddyb: ah, you jquery'd it
[12:51] eddyb: chjj: you might also want to disable the blinking or make it easy to disable
[12:51] jxie has joined the channel
[12:52] chjj: eddyb: cursor blinking?
[12:52] chjj: eddyb: you can disable it
[12:52] kevbook has joined the channel
[12:52] oal has joined the channel
[12:52] chjj: set cursorBlink to false in your config
[12:53] booyaa: man there are days when i hate this job, then there are days like this where shit just works
[12:53] booyaa: ftw
[12:53] oal: How would I set up a schema with multi dimensional arrays with Mongoose? Like this http://hastebin.com/kiyalosoya.apache
[12:54] booyaa: gah blocked at work
[12:54] booyaa: gist?
[12:54] louissmit has joined the channel
[12:54] eddyb: chjj: I don't have more than what you see in that gist :)
[12:54] aaronmcadam has joined the channel
[12:54] eddyb: there's no config system, and I have no idea how that config change affects the client
[12:56] robi42 has joined the channel
[12:56] chjj: well you can change it on the clientside by doing Terminal.cursorBlink = false;
[12:57] vguerra_ has joined the channel
[12:57] robi42 has joined the channel
[12:57] ryanfitz has joined the channel
[12:59] fairwinds has joined the channel
[12:59] EvRide has joined the channel
[12:59] vguerra_ has joined the channel
[13:00] aslant has joined the channel
[13:00] skylamer` has joined the channel
[13:01] eddyb: chjj: this is the fully working setup: https://gist.github.com/1876363
[13:01] eddyb: I think I can spawn two terminals without problems
[13:02] Wizek has joined the channel
[13:03] mmalecki: chjj: hey, are you planning to extract tty module btw?
[13:03] robi42 has joined the channel
[13:04] stonebranch has joined the channel
[13:05] chjj: eddyb: cool
[13:05] chjj: mmalecki: the pty stuff?
[13:05] ningu: hrm... there is no way to do lookbehind in regex matches, is there?
[13:05] chjj: ningu: nope, welcome to javascript by the way ;)
[13:05] ningu: haha
[13:05] ningu: thanks
[13:06] mmalecki: chjj: yeah
[13:06] chjj: ningu: theres no lookbehinds or posessive quantifiers, or conditionals, or recursive patterns
[13:06] chjj: ningu: its a really vanilla regex flavor
[13:07] chjj: mmalecki: yeah, ill do that today
[13:07] mmalecki: chjj: <3 <3 <3
[13:07] chjj: <3
[13:07] brianseeders has joined the channel
[13:09] jyp has joined the channel
[13:09] eddyb: I had to add that z-index code back to get focus switching to work
[13:09] Wizek has joined the channel
[13:10] erichynds has joined the channel
[13:11] samuelgoodwin has joined the channel
[13:12] fermion has joined the channel
[13:12] sigurding has joined the channel
[13:13] rwaldron has joined the channel
[13:13] sdwrage has joined the channel
[13:13] CIA-102: node: 03Tomasz Buchert 07master * rc6a04ce 10/ (5 files in 4 dirs):
[13:13] CIA-102: node: crypto: add function getDiffieHellman()
[13:13] CIA-102: node: Returns a well known, predefined RFC group. - http://git.io/Mp6RqQ
[13:15] RLa: chjj, ningu, i had similar problem some time ago, maybe should use some external regex lib?
[13:16] chjj: RLa: hmm? i dont have a problem with it. there are always ways around it. its just annoying.
[13:17] RLa: i think for me it was multiple lines of code, which is not so nice always
[13:18] mschneider has joined the channel
[13:18] LifeIsHealthy has joined the channel
[13:18] sigurding has joined the channel
[13:20] samuelgo1dwin has joined the channel
[13:20] sandfox_ has joined the channel
[13:21] pleaz_ has joined the channel
[13:21] LBRapid has joined the channel
[13:22] sandfox has joined the channel
[13:22] sandfox has joined the channel
[13:24] criswell has joined the channel
[13:24] redir has joined the channel
[13:24] hotchkiss has joined the channel
[13:24] niloy: how to check if a object({}) is empty or not?
[13:25] eeemsi_: http://trac.webkit.org/changeset/108309
[13:26] Industrial: niloy: http://lmgtfy.com/?q=javascript+test+for+empty+object
[13:26] eddyb: niloy: Object.keys(obj).length == 0
[13:27] eddyb: niloy: or http://stackoverflow.com/a/679937
[13:27] niloy: thanks buddies
[13:30] crutex has joined the channel
[13:30] crutex has joined the channel
[13:33] Edy has joined the channel
[13:35] dubenstein has joined the channel
[13:35] subbyyy has joined the channel
[13:35] apoc has joined the channel
[13:38] c4milo has joined the channel
[13:41] sharkbird has joined the channel
[13:43] redir_ has joined the channel
[13:48] vkareh has joined the channel
[13:48] cam|work has joined the channel
[13:49] briancray has joined the channel
[13:49] webguynow has joined the channel
[13:51] LifeIsHealthy_ has joined the channel
[13:53] skylamer`: why regexp to string dont working in Node.JS?
[13:54] skylamer`: .. console.log(a)
[13:54] catb0t: Exception: ReferenceError: console is not defined
[13:54] skylamer`: .. "xxb5".replace('5', "");
[13:54] catb0t: "xxb"
[13:55] skylamer`: .. "xxb523423".replace('/(\d)', "");
[13:55] catb0t: "xxb523423"
[13:55] skylamer`: .. "xxb523423".replace('/\d/', "");
[13:55] catb0t: "xxb523423"
[13:56] stride: .. "xxb523423".replace(/\d/g, "");
[13:56] catb0t: "xxb"
[13:56] skylamer`: so the question answered, ty
[13:56] jaw187 has joined the channel
[13:56] stride: np
[13:56] AaronMT has joined the channel
[13:56] postwait has joined the channel
[13:57] tommyvyo has joined the channel
[13:57] bard has joined the channel
[13:58] aslanted has joined the channel
[14:00] bard: i put a function inside net.createServer(function (socket) {} that i only want to be called when the client sends data but it keeps getting called every few seconds
[14:00] bard: what can i do about that?
[14:00] bard: http://pastebin.com/xve3KAVg
[14:00] bard: the function is called nodeio.start()
[14:01] whaley has joined the channel
[14:01] jaw187: morning noders
[14:02] killfill has joined the channel
[14:03] stef_ has joined the channel
[14:03] bard: jaw187 do you know why net.createServer(function (socket) {} keeps calling a function i put inside it?
[14:03] trakowski77 has joined the channel
[14:03] trakowski77: Hi !
[14:04] trakowski77: anyone experienced with node.js and mysql ?
[14:04] xSmurf has joined the channel
[14:04] Poetro has joined the channel
[14:06] jaw187: bard: createServer takes two arguments
[14:06] jaw187: and options object and a listener function
[14:07] jaw187: http://nodejs.org/docs/latest/api/net.html#net.createServer
[14:07] bard: http://pastebin.com/xve3KAVg the server works fine but i only nodeio.start() to be called when the client sends data
[14:07] trakowski77: I'm trying to understand which MySQL driver should I use to connect to MySQL
[14:07] bard: thats why there is an if statement there to check
[14:07] trakowski77: I'm looking at:
[14:07] trakowski77: https://github.com/joyent/node/wiki/modules#wiki-db-mysql
[14:08] tisba has joined the channel
[14:08] bard: but what should i check for?
[14:08] trakowski77: and I'm not sure what's going on there.
[14:08] jaw187: bard: you should be calling nodeio.start() inside a callback run when the data event is emitted by the socket
[14:08] bard: jaw187, does createserver take a callback perimeter?
[14:09] bard: parameter*
[14:09] eddyb: bard: that callback is for when a client connects
[14:09] pickels has joined the channel
[14:09] dthompso99 has joined the channel
[14:09] jaw187: bard: http://pastebin.com/Rg3Pi2K9
[14:09] pickels: What a good javascript library to work with currency/decimal? I need to do some math with monies.
[14:10] bard: what is inside data?
[14:10] LBRapid has joined the channel
[14:11] Jalava: work with javascript number and be extra careful :P
[14:11] Industrial: Jalava: what are the practical implications of 'careful' ?
[14:11] bard: oh
[14:11] Jalava: i've noticed that provided you remember to round manually to correct limit, i believe you can do accurate fixed decimal point math
[14:12] lazyshot has joined the channel
[14:13] Jalava: hmm, Math.round(value*100)/100 on store
[14:13] piscisaureus_ has joined the channel
[14:14] Jalava: division and multiplication does introduce error but you just have to account for it and remember to round back to wanted resolution
[14:14] Jalava: though, this is where usually someone who actually does stuff with real moneys goes ballistic and says that this fails and you should go for integermath anyway
[14:15] lduros has joined the channel
[14:15] Jalava: Industrial: our system just uses everything as multiplied by 100 so that 1 is actually one usd cent
[14:15] Jalava: and then we divide by 100 for view
[14:15] Industrial: right
[14:15] madhums has joined the channel
[14:15] Jalava: works as long as we remember to round the fractions on percentage etc
[14:16] herbySk has joined the channel
[14:17] Broolucks has joined the channel
[14:17] thomblake has joined the channel
[14:17] thomblake has left the channel
[14:18] CIA-102: node: 03Andreas Madsen 07master * rfeff9bb 10/ doc/api/net.markdown :
[14:18] CIA-102: node: docs: remove setSecure() from net module docs
[14:18] CIA-102: node: socket.setSecure() was removed in v0.3 and there are no deprecated warning in
[14:18] CIA-102: node: code it should be removed from the documentation in 0.7 - http://git.io/TWb1eQ
[14:19] Cromulent has joined the channel
[14:20] pradeebv has joined the channel
[14:23] kmiyashiro has joined the channel
[14:24] satyr has joined the channel
[14:25] githogori_ has joined the channel
[14:25] githogori has joined the channel
[14:26] diva has joined the channel
[14:26] pastak has joined the channel
[14:30] bkaney has joined the channel
[14:30] fudanchii has joined the channel
[14:31] tornad has joined the channel
[14:33] samuelgoodwin has joined the channel
[14:33] CIA-102: node: 03Ben Noordhuis 07master * rb9127eb 10/ (src/node_buffer.cc test/simple/test-buffer.js): buffer: support decoding of URL-safe base64 - http://git.io/THHsdA
[14:34] redir has joined the channel
[14:37] cha0s has joined the channel
[14:37] cha0s has joined the channel
[14:38] fumanchu182 has joined the channel
[14:40] willwhite has joined the channel
[14:40] boccato has joined the channel
[14:41] thinkt4nk has joined the channel
[14:42] draginx has joined the channel
[14:42] rwaldron has joined the channel
[14:43] cjroebuck has joined the channel
[14:43] willwhit_ has joined the channel
[14:44] rauchg has joined the channel
[14:45] plutoniix has joined the channel
[14:47] pig_ has joined the channel
[14:47] jaha has joined the channel
[14:47] joshfinnie has joined the channel
[14:49] thalll has joined the channel
[14:49] jaw187: anyone in here from New Jersey?
[14:49] carlyle has joined the channel
[14:50] erikzaadi has joined the channel
[14:51] CIA-102: node: 03Fedor Indutny 07master * r080ffb8 10/ doc/api/net.markdown :
[14:51] CIA-102: node: docs: remove server.pause
[14:51] CIA-102: node: This functionality was removed when libuv landed in node. It is useless
[14:51] CIA-102: node: and can be easily implemented in user-land. - http://git.io/g0tL8A
[14:51] _baton_ has joined the channel
[14:52] pig has joined the channel
[14:52] CIA-102: node: 03Fedor Indutny 07v0.6 * rc6019b8 10/ doc/api/net.markdown :
[14:52] CIA-102: node: docs: remove server.pause
[14:52] CIA-102: node: This functionality was removed when libuv landed in node. It is useless
[14:52] CIA-102: node: and can be easily implemented in user-land. - http://git.io/T4jixA
[14:53] qsobad has joined the channel
[14:53] AndreasMadsen has joined the channel
[14:54] ramitos has joined the channel
[14:54] arkh_ has joined the channel
[14:55] criswell has joined the channel
[14:55] Illusioneer has joined the channel
[14:56] themiddleman_itv has joined the channel
[14:57] pig has joined the channel
[14:59] st_luke has joined the channel
[14:59] astropirate has joined the channel
[15:00] davidsklar has joined the channel
[15:00] RyanD has joined the channel
[15:01] infynyxx has joined the channel
[15:01] skyler_brungardt has joined the channel
[15:02] _th_n has joined the channel
[15:03] nhunzaker has joined the channel
[15:04] tmcw has joined the channel
[15:06] c4milo has joined the channel
[15:07] 18WABQW5H has joined the channel
[15:07] 31NAAXTPN has joined the channel
[15:07] baudehlo has joined the channel
[15:08] ryanfitz has joined the channel
[15:08] trakowski77: can someone help me with mysql connectivity using node.js ?
[15:08] gsmcwhirter has joined the channel
[15:08] trakowski77: I'm trying to use node-mysql as my driver
[15:08] bard has left the channel
[15:08] Illusioneer: what's the error?
[15:09] trakowski77: I manage to run my queries, I just want to understand if my queries are blocking or not
[15:09] jmar777 has joined the channel
[15:09] rumblepack has joined the channel
[15:09] rumblepack: is there a bug causing node-inspector to seldom stop at breakpoints?
[15:10] nate_ has joined the channel
[15:10] rumblepack: --debug-brk doesnt work at all either
[15:10] willwhit_ has joined the channel
[15:10] jaw187: trakowski: are you concerned about the node functions you call blocking or blocking within MySQL
[15:11] pendlepants has joined the channel
[15:12] bnoordhuis: rumblepack: what version of node?
[15:12] rumblepack: v0.6.10
[15:12] aristidesfl has joined the channel
[15:13] barberdt has joined the channel
[15:13] ryan1 has joined the channel
[15:13] bnoordhuis: rumblepack: --debug-brk works again in v0.6.11
[15:13] trakowski77: jaw187: mysql ...
[15:14] rumblepack: ok
[15:14] rumblepack: do i just run the apt-get command on ubuntu to update it?
[15:14] jhooks has joined the channel
[15:15] trakowski77: jaw187: I'm new to node, so I'm a bit lost. My understanding is that I should be able to run 2 parallel queries if I acquire 2 mysql connections, right ?
[15:15] draginx has joined the channel
[15:15] ryanfitz has joined the channel
[15:16] trakowski77: then within respective callback feed the data back to produce a response ?
[15:16] jerrysv has joined the channel
[15:17] whaley has joined the channel
[15:17] chuck_daniel has joined the channel
[15:17] ashishg has joined the channel
[15:17] merlin83 has joined the channel
[15:17] jocafa has joined the channel
[15:18] rumblepack_ has joined the channel
[15:18] eddyb: wow
[15:18] johnhamelink: Hey guys, I'd be much obliged if you could take a look at my thread on stackoverflow if you've got some time: http://stackoverflow.com/questions/9364654/node-js-using-prototype-in-a-module/9365780#9365780
[15:18] eddyb: oxygen-transparent is superb
[15:19] dgathright has joined the channel
[15:20] willwhite has joined the channel
[15:21] redir_ has joined the channel
[15:22] eddyb has joined the channel
[15:23] qsobad has joined the channel
[15:23] jaw187: trakowski: node is single threaded, you can't do two things at the same time
[15:23] jaw187: but you can call a function and move on to something else while it does it's thing
[15:24] bradleymeck has joined the channel
[15:24] jscheel has joined the channel
[15:24] jscheel has joined the channel
[15:24] bizniz98 has joined the channel
[15:24] adambeynon has joined the channel
[15:24] vdemedes has joined the channel
[15:24] vdemedes: Hello
[15:25] CarlosC has joined the channel
[15:25] Illusioneer has left the channel
[15:26] redir has joined the channel
[15:27] triptec has joined the channel
[15:29] illourr has joined the channel
[15:30] CarterL has joined the channel
[15:30] kolektiv has joined the channel
[15:30] samuelgoodwin has joined the channel
[15:31] xaq has joined the channel
[15:31] blup has joined the channel
[15:31] kolektiv: hi all - just a quick question - is the learnboost cluster module still a recommended way to do clustering?
[15:31] kolektiv: or has it been superceded by cluster in the core node project?
[15:31] colinclark has joined the channel
[15:32] AndreasMadsen: kolektiv: learnboost works with node 0.4 and core cluster works with 0.6
[15:32] mmalecki: core module is better
[15:32] jaime has joined the channel
[15:32] mmalecki: and you shouldn't use 0.4 anyway, so
[15:32] kolektiv: ok, yeah that makes sense then - core cluster it is!
[15:32] willwhit_ has joined the channel
[15:33] `3rdEden: i wouldn't call it better
[15:33] kolektiv: it seems like the learnboost one does a bit more in some ways, but core cluster probably does most things needed
[15:34] TheJH has joined the channel
[15:34] amigojapan has joined the channel
[15:34] shinuza has joined the channel
[15:35] mmalecki: yeah, well, one thing I liked about learnboost cluster was extensibility
[15:35] chuck_daniel has left the channel
[15:35] kolektiv: yeah - although it seems like people are building stuff on top of core cluster
[15:36] AndreasMadsen: mmalecki: should be fixed in 0.7
[15:36] isaacs has joined the channel
[15:37] dthompso99 has left the channel
[15:38] shinuza_ has joined the channel
[15:40] fudanchii has joined the channel
[15:41] shinuza has joined the channel
[15:45] Venom_X has joined the channel
[15:45] Skaag has joined the channel
[15:46] mandric has joined the channel
[15:47] piscisaureus_ has joined the channel
[15:47] fatjonny has joined the channel
[15:47] piscisaureus_ has joined the channel
[15:48] tonist has joined the channel
[15:48] thurmda has joined the channel
[15:49] joshkehn has joined the channel
[15:49] joshkehn has left the channel
[15:50] Destos has joined the channel
[15:50] plutoniix has joined the channel
[15:51] ph^ has joined the channel
[15:51] enmand_ has joined the channel
[15:53] jj0hns0n has joined the channel
[15:55] AvianFlu has joined the channel
[15:55] davidsklar1 has joined the channel
[15:56] fudanchii has left the channel
[15:56] briancray has joined the channel
[15:57] jaime: looking to fill a CTO position for a startup ASAP, equity involved, please PM me for details
[15:57] rgl has joined the channel
[15:57] wdbl has joined the channel
[15:57] Jonathan__ has joined the channel
[15:58] Jonathan__: Hi, does anyone have an examples of a Multitenant node application ?
[15:58] wdbl: hey @isaacs: Are all of the api markdown docs up to date with the new structure that you laid out for that json-api-docs branch?
[15:58] braoru has joined the channel
[15:59] tonist has joined the channel
[15:59] samuelgoodwin has joined the channel
[15:59] wdbl: (good morning, btw! :)
[16:00] michaelh has joined the channel
[16:01] RichardBronosky has joined the channel
[16:01] eddyb: what module should I use for mime-types?
[16:02] eddyb: !npm search mime
[16:02] eddyb: !find mime
[16:02] jhbot: packages (short format): knox-stream, node-mailer, imageinfo, mime, simple-mime, filtered-proxy, mimelib, gettype, mailuploader, mailparser, mimeparse, mimelib-noiconv, mime-magic, mimeograph, rawformdata, ecstatic, mailcomposer, nodemailer, protojazz
[16:03] piscisaureus_ has joined the channel
[16:04] eddyb: https://github.com/SaltwaterC/mime-magic
[16:04] isaacs: wdbl: no, not at all.
[16:04] isaacs: wdbl: that's going on in a branch
[16:04] isaacs: wdbl: json-api-docs
[16:04] wdbl: @isaacs: yes, that's the branch I was asking about
[16:04] woodzee has joined the channel
[16:04] wdbl: @isaacs: how far along are you on standardizing the markdowns in that branch?
[16:05] isaacs: wdbl: well, `make doc` works there, but it's fairly incomplete till.
[16:05] isaacs: *stil
[16:05] isaacs: and the index and toc need to be finished
[16:05] wdbl: @isaacs: do you want me to tear through those and re-format them?
[16:05] wdbl: @isaacs: I have free time
[16:05] isaacs: wdbl: if you'd like to, sure. follow the model of cluster.markdown
[16:05] khrome has joined the channel
[16:05] isaacs: that ones' teh most complete
[16:06] skyler_brungardt has joined the channel
[16:06] wdbl: ok, so I'll just fork your branch
[16:06] pendlepants has joined the channel
[16:06] wdbl: and I'll ask you what to do when I'm done because I am not a git-master
[16:06] wdbl: pun intended
[16:07] wdbl: thanks
[16:07] isaacs: :)
[16:07] isaacs: thanks!
[16:07] skyler_brungar-1 has joined the channel
[16:08] braoru has joined the channel
[16:09] salva has joined the channel
[16:09] jperkin has joined the channel
[16:11] themiddleman_itv has joined the channel
[16:11] vicapow has joined the channel
[16:11] whaley has joined the channel
[16:12] stepheneb has joined the channel
[16:13] davehamptonusa has joined the channel
[16:14] stepheneb: installing http://nodejs.org/dist/v0.6.11/node-v0.6.11.pkg on my 64-bit Mac creates a 32-bit node executable
[16:14] stepheneb: file `which node` => /usr/local/bin/node: Mach-O executable i386
[16:14] pradeebv has joined the channel
[16:14] stepheneb: installing v0.6.10 created a 64-bit executable
[16:15] blup has joined the channel
[16:16] isaacs: stepheneb: that's because 0.6 built the binary with whatever arch teh original system used.
[16:17] blup has joined the channel
[16:17] isaacs: stepheneb: on ryan's laptop, that was ia32, on mine, it's x64
[16:17] isaacs: stepheneb: which meant that since i started doing builds, ia32 machines couldn't use the mac binaries.
[16:17] davehamptonusa has left the channel
[16:17] isaacs: stepheneb: and we just didn't notice, since most newer macs are x64
[16:18] blup has joined the channel
[16:18] stepheneb: isaacs: I haven't specifically built pkg files but when I build dylibs I usually make them multi-arch
[16:19] pizthewiz has joined the channel
[16:19] isaacs: stepheneb: yeah, i haven't figured out how to make node do that. wanna look into it?
[16:19] isaacs: stepheneb: we should really just make fat binares
[16:20] stepheneb: isaacs: I'll take a quick look at your build system -- are you using cmake?
[16:20] sreeix has joined the channel
[16:20] isaacs: stepheneb: no. gyp and make
[16:20] isaacs: stepheneb: well, in 0.6 it's not gyp, it's waf
[16:20] pig has joined the channel
[16:21] isaacs: but we should just fix this in master, and move forward
[16:21] joshthecoder has joined the channel
[16:21] whaley has joined the channel
[16:25] josh-k has joined the channel
[16:25] pig has joined the channel
[16:26] cedeon has joined the channel
[16:26] _tors has joined the channel
[16:26] bizniz98 has joined the channel
[16:26] braoru has joined the channel
[16:28] kenperkins has joined the channel
[16:29] sven_oostenbrink has joined the channel
[16:32] criswell has joined the channel
[16:32] yawNO has joined the channel
[16:33] BillyBreen has joined the channel
[16:35] yawNO: yo
[16:35] samsonjs has joined the channel
[16:35] ningu has joined the channel
[16:35] jaw187: yeah dawg
[16:36] braoru has joined the channel
[16:39] ningu: I'm processing a lot of files with jsdom and am getting process out of memory errors. any suggestions? is there a way I can give the garbage collector some hints? I don't think I can use buffers.
[16:39] rgl has joined the channel
[16:40] blueadept has joined the channel
[16:40] margle has joined the channel
[16:41] steveoh has joined the channel
[16:41] Zzaichik has joined the channel
[16:41] aslant has joined the channel
[16:42] mikeal has joined the channel
[16:42] diogogmt has joined the channel
[16:46] norviller has joined the channel
[16:46] stephank has joined the channel
[16:46] jaw187: ningu: good use of closures should give the GC the hints it needs....
[16:46] willwhite has joined the channel
[16:47] briancra_ has joined the channel
[16:48] vkandy has joined the channel
[16:48] sgimeno has joined the channel
[16:48] erikzaadi has joined the channel
[16:48] RLa: sure you are not keeping some list of objects that should be discarded instead=
[16:48] Qbix1 has joined the channel
[16:48] isaacs has joined the channel
[16:49] RLa: like all parsed dom trees processed so far
[16:50] looopy has joined the channel
[16:50] sigurding: can anyone tell me why the SHA encryption in does not work: https://github.com/gevorg/http-auth/blob/master/examples/example.js ?
[16:50] ohtogo has joined the channel
[16:51] cam|work has joined the channel
[16:51] fangel has joined the channel
[16:53] zomgbie has joined the channel
[16:53] margle has joined the channel
[16:53] sh1mmer has joined the channel
[16:55] ohtogo_ has joined the channel
[16:55] ningu: hrm, I see, apparently jsdom has known issues with memory leaks.
[16:55] ningu: jaw187: yes, I was using closures properly, at least as far as I know.
[16:56] jaw187: a jsdom leak could be a problem
[16:56] trotter has joined the channel
[16:56] ningu: I'm going to try to spawn one subprocess per html file I'm processing.
[16:56] jaw187: ningu: just pointing out that if you have a variable that is of global scope....and you keep adding to it...that cold be a problem
[16:57] steveoh has left the channel
[16:57] ningu: yes, but the output is tiny compared to the DOM trees jsdom is constructing. and I've already rewritten it so the output per html file goes to a separate json file, so there is no global anymore.
[16:57] nhunzaker has left the channel
[16:58] ningu: this is just a script, not an app, so it's easy to rewrite that way.
[16:59] ningu: and have it still be convenient for its purpose, I mean :)
[16:59] ramitos has joined the channel
[16:59] joshkehn1 has joined the channel
[16:59] joshkehn1 has left the channel
[16:59] samuelgoodwin has joined the channel
[17:00] jyp has joined the channel
[17:00] tylerstalder has joined the channel
[17:01] madhums1 has joined the channel
[17:01] SamuraiJack_ has joined the channel
[17:01] aakour_ has joined the channel
[17:01] jtsnow has joined the channel
[17:02] maru_cc_ has joined the channel
[17:02] vkareh_ has joined the channel
[17:02] vguerra has joined the channel
[17:02] AndreasMadsen has joined the channel
[17:02] piscisaureus_ has joined the channel
[17:02] sreeix has joined the channel
[17:02] niftylettuce has joined the channel
[17:03] brianleroux has joined the channel
[17:03] ohtogo has joined the channel
[17:03] azend has joined the channel
[17:03] Qzen has joined the channel
[17:03] apoc has joined the channel
[17:03] kloeri_ has joined the channel
[17:04] tdegrunt has joined the channel
[17:04] yarrkov- has joined the channel
[17:05] altivec has joined the channel
[17:05] creationix has joined the channel
[17:05] inarru has joined the channel
[17:05] AviMarcus has joined the channel
[17:05] sveisvei has joined the channel
[17:06] lukegb_ has joined the channel
[17:06] wao has joined the channel
[17:06] PANCAKESo has joined the channel
[17:06] alvaro_o has joined the channel
[17:07] Darrow has joined the channel
[17:07] tornad has joined the channel
[17:07] donfrancisco has joined the channel
[17:07] mikeal has joined the channel
[17:07] niallo has joined the channel
[17:07] overthemike has joined the channel
[17:08] FredrIQ has joined the channel
[17:08] Enoria has joined the channel
[17:08] overthemike has left the channel
[17:08] tonist has joined the channel
[17:08] mape has joined the channel
[17:09] aheckmann has joined the channel
[17:10] Wizek has joined the channel
[17:10] stepheneb: on macos 10.6.8 buildingmaster: executing: import jsmin in tools/js2c.py generates an ImportError: Bad magic number in tools/jsmin.pyc while processing node_natives.h
[17:10] Wizek-other has joined the channel
[17:12] Qzen has joined the channel
[17:13] redir has joined the channel
[17:13] Wizek-other2 has joined the channel
[17:13] mansoor has joined the channel
[17:13] slaskis has joined the channel
[17:14] wao has joined the channel
[17:14] caolanm has joined the channel
[17:14] stonebra_ has joined the channel
[17:14] SirFunk has joined the channel
[17:14] creationix has joined the channel
[17:15] iangreenleaf has joined the channel
[17:17] r1ngzer0 has joined the channel
[17:17] crutex has joined the channel
[17:17] crutex has joined the channel
[17:18] DuoSRX has joined the channel
[17:18] timoxley has joined the channel
[17:18] xaq has joined the channel
[17:19] bindr has joined the channel
[17:21] bnoordhuis: stepheneb: find . -name \*.pyc -delete
[17:21] jiboumans_ has joined the channel
[17:22] stepheneb: bnoordhuis: thanks, removing the old pyc files fixed that problem
[17:22] carlyle has joined the channel
[17:22] isao has joined the channel
[17:22] LeftWing has joined the channel
[17:22] aslant has joined the channel
[17:22] slloyd has joined the channel
[17:24] Skaag has joined the channel
[17:24] logickal has joined the channel
[17:25] ningu: my child process trick seems to be working.
[17:25] blackdog_ has joined the channel
[17:25] criswell has joined the channel
[17:27] orlandovftw has joined the channel
[17:27] maletor has joined the channel
[17:27] samuelgoodwin has joined the channel
[17:28] snoj has joined the channel
[17:29] kmiyashiro has joined the channel
[17:30] jyp has joined the channel
[17:31] Revernd has joined the channel
[17:33] Broolucks has joined the channel
[17:33] nphase has joined the channel
[17:34] tmcw has joined the channel
[17:34] willwhit_ has joined the channel
[17:35] spion1 has joined the channel
[17:35] tmcw_ has joined the channel
[17:35] c4milo has joined the channel
[17:35] artusrocha has joined the channel
[17:36] broofa has joined the channel
[17:37] LBRapid has left the channel
[17:38] andrewdeandrade has joined the channel
[17:39] arnorhs has joined the channel
[17:40] dthompso99 has joined the channel
[17:41] bradleymeck has joined the channel
[17:41] khrome has joined the channel
[17:42] thalll has joined the channel
[17:42] dodo has joined the channel
[17:42] zomgbie has joined the channel
[17:42] sigurding: can anyone tell me why the SHA encryption in does not work: https://github.com/gevorg/http-auth/blob/master/examples/example.js ?
[17:42] qsobad has joined the channel
[17:43] orlandov1tw has joined the channel
[17:43] eignerchris has joined the channel
[17:44] qsobad has joined the channel
[17:44] chrisina1ar: join #c_s
[17:44] ken-ignite has joined the channel
[17:46] tonist_ has joined the channel
[17:46] margle has joined the channel
[17:47] chrisinajar has joined the channel
[17:48] criswell has joined the channel
[17:48] timoxley: sigurding define 'does not work'
[17:48] EhevuTov has joined the channel
[17:49] sigurding: timoxley: If I enter the password, although it is mia:supergirl I always get non-auth
[17:49] sigurding: same, when I am using the password file
[17:49] idefine has joined the channel
[17:49] overthemike has joined the channel
[17:49] sigurding: using plain authentication with mia:supergirl and no SHA encryption it works
[17:49] overthemike has left the channel
[17:49] sorensen__ has joined the channel
[17:51] sigurding: timoxley: any idea?
[17:52] Johnsknees has joined the channel
[17:52] cjlicata has joined the channel
[17:52] mAritz has joined the channel
[17:53] bulatshakirzyano has joined the channel
[17:57] timoxley: sigurding no. have you tried running the tests for http-auth?
[17:57] petersed has joined the channel
[17:57] sigurding: timoxley: tests?
[17:57] blup has joined the channel
[17:58] jxson has joined the channel
[17:58] chuck_daniel has joined the channel
[17:59] jxson has joined the channel
[17:59] ryan0x2 has joined the channel
[17:59] timoxley: sigurding `npm install --dev http-auth && nodeunit tests/*`
[17:59] timoxley: oops
[17:59] timoxley: don't do that
[17:59] sigurding: :)
[17:59] yawNO: IT WILL BLOW UP YOUR BOX
[17:59] yawNO: er .. back
[18:00] blup has joined the channel
[18:00] rektide: where is the code for Connect's compiler? i can not find http://www.senchalabs.org/connect/middleware-compiler.html anywhere on https://github.com/senchalabs/connect/tree/master/lib/middleware
[18:00] aranw has joined the channel
[18:01] timoxley: sigurding just install it with --dev, cd into it's node_modules folder then `nodeunit tests/*`
[18:01] aranw has joined the channel
[18:01] urlisse has joined the channel
[18:01] sigurding: timoxley: ok I will try
[18:01] ramitos has joined the channel
[18:01] timoxley: oh man. that was crap instructions too. "cd into the http-auth folder in node_modules" is what I meant
[18:02] timoxley: sigurding it's 4am.
[18:02] sigurding: timoxley: where are you? australia?
[18:03] timoxley: sigurding yep. Brisbane
[18:03] sigurding: :)
[18:03] timoxley: rektide docs probably out of date
[18:03] sigurding: here it is 7pm
[18:03] timoxley: rektide https://github.com/senchalabs/connect/blob/1.x/lib/middleware/compiler.js
[18:03] relling has joined the channel
[18:04] timoxley: sigurding where is that
[18:04] sigurding: near frankfurt
[18:04] timoxley: cool
[18:04] sigurding: depends on :)
[18:05] adamkittelson has joined the channel
[18:05] Revernd_ has joined the channel
[18:05] rektide: timoxley: it appears https://github.com/dsc/connect-compiler/ has taken up the mantle of being a connect compiler
[18:07] timoxley: rektide interesting. it's written in coco
[18:07] jetienne has joined the channel
[18:08] fangel has joined the channel
[18:08] gf3 has joined the channel
[18:08] kickingvegas has joined the channel
[18:09] criswell has joined the channel
[18:09] carlyle has joined the channel
[18:09] EhevuTov_ has joined the channel
[18:09] johnhamelink has joined the channel
[18:10] diogogmt has joined the channel
[18:10] josh-k has joined the channel
[18:10] _th_n has joined the channel
[18:10] Dreamer3 has joined the channel
[18:10] ryanfitz has joined the channel
[18:11] rektide: timoxley: damn. :(
[18:11] rektide: not a hater, but it makes my life more complex that this lib i'd like to rely on and extend is in an offshoot of an alternative language.
[18:12] Country has joined the channel
[18:12] CarterL has joined the channel
[18:12] ajackbot has joined the channel
[18:12] tmike_ has joined the channel
[18:12] ceej has joined the channel
[18:13] joohn has joined the channel
[18:13] timoxley: rektide meh, can't hurt to expose yourself. I learned coffee because I had to fix up some lib, definitely not regretting it. Definitely improved my JS in the process
[18:13] joohn: When I run node-waf build on my Joyent server, I get a segmentation fault. Anyone have any clue?
[18:14] joohn: In particular I can't install socket.io-client via npm because of the preinstall step that tries to make ws@0.4.0
[18:14] timoxley: rektide been looking for a good reason to pick up coco for a while
[18:14] timoxley: rektide but yeah, if you need to fix something fast, might be a bit frustrating
[18:14] rektide: timoxley: it's that want of good reason to do anything other than js that i've never quite seized upon
[18:14] dodo has joined the channel
[18:15] timoxley: rektide as in you don't understand why anyone would want to do anything other than js?
[18:15] rektide: yeah
[18:15] mcluskydodallas has joined the channel
[18:15] retornam has joined the channel
[18:15] rektide: i've never had to deal with js so ugly i wanted to claw my eyes out
[18:16] rektide: mcluskydodallas: i'm listening to mclusky atm, coworker reommendation
[18:16] mcluskydodallas: rektide: wow wow. what do you think? heh
[18:16] krankguy: There are some a-holes out there who think javascript isn't for *real* programmers, but I disagree. However I have been looking at Coffee and it does offer some improvements
[18:17] maxogden: let those people stay where they are... less competition for good js jobs that way
[18:17] timoxley: rektide those lanugages create trivialities out of some PITAs in js.
[18:17] krankguy: you can still do everything in javascript, its just more likely of being verbose
[18:17] tmike: has coffeescript sorted out the stacktrace/linenumber thing?
[18:18] harthur has joined the channel
[18:18] timoxley: ahh coffeeshedding
[18:18] jarek has joined the channel
[18:18] jarek has joined the channel
[18:18] rektide: mcluskydodallas: working a.o.k. right now! some good energy.
[18:18] krankguy: PITA?
[18:19] timoxley: krankguy http://en.wikipedia.org/wiki/Pita
[18:19] rektide: krankguy: pain in the ass
[18:19] krankguy: ah, lol
[18:20] _baton_ has joined the channel
[18:20] ramitos has joined the channel
[18:20] krankguy: Out of curiosity, anyone here every play with scala or the LiftWeb framework?
[18:20] gut4 has joined the channel
[18:21] sdudenhofer has joined the channel
[18:22] rektide: anyone able to help me penetrate this coffee/coco code? https://github.com/socialtables/connect-compiler/blob/master/compiler.co#L521
[18:23] rektide: options : (opts={}) -> { +pretty, filename:@info.src } <<< opts
[18:23] rektide: what is going on there?
[18:23] maxogden: there is a language called coco? haha
[18:23] timoxley: maxogden it's a perlish coffeescript
[18:24] timoxley: maxogden as is evidence by the character vomit above
[18:24] rektide: apparently. :)
[18:24] krankguy: {options: function(opts) { if opts == null {opts = {}}; ....... ok I have no idea
[18:24] rektide: ah, wise move! to the source!
[18:24] timoxley: yer
[18:25] rektide: the compiled version is: https://github.com/socialtables/connect-compiler/blob/master/compiler.js#L622 , not that it entirely is much clearer.
[18:25] timoxley: satyr perhaps you could help
[18:25] mAritz1 has joined the channel
[18:25] sandfox has joined the channel
[18:25] JJMalina has joined the channel
[18:25] rektide: ah __import ain't so complex, just an Object.create thingie
[18:25] boccato has joined the channel
[18:25] satyr: that compiled source is pretty clear, no?
[18:25] themiddleman_itv has joined the channel
[18:26] EhevuTov__ has joined the channel
[18:27] hipsterslapfight has joined the channel
[18:27] rektide: satyr: so, (opts={}) is a function argument with a default value
[18:27] rektide: wait no
[18:28] rektide: <<< is the _import, otherwise yeah, (opts={}) is a function declaration that returns the object below, with opts __imported
[18:29] samsonjs has joined the channel
[18:29] maxogden: is coco kinda like http://www.idsnews.com/news/mfiles/photos/0000-co-235010840.jpg or more like http://cdn.blisstree.com/files/2011/06/Ice-T-and-Coco.jpg
[18:29] satyr: rektide: right
[18:29] fabioboris has joined the channel
[18:29] richardr has joined the channel
[18:30] franciscallo has joined the channel
[18:30] rektide: satyr: what are the '-> super ...' phrases ?
[18:30] TooTallNate has joined the channel
[18:30] satyr: same as `-> super` in Coffee
[18:30] sarlalian has joined the channel
[18:31] rektide: *shrug* ok. thanks for chiming in!
[18:33] tmike: ACTION has been listening to the nodeup podcasts
[18:33] whaley has joined the channel
[18:33] tmike: good stuff
[18:33] StanlySoManly has joined the channel
[18:35] bindr has joined the channel
[18:35] redir_ has joined the channel
[18:36] edjafarov has joined the channel
[18:37] pokoli has joined the channel
[18:39] jimbot has joined the channel
[18:40] aslanted has joined the channel
[18:40] Morkel has joined the channel
[18:41] mAritz has joined the channel
[18:42] cam|work: i get an error that reads "Cannot read property 'node' of undefined" when i try to deploy. any ideas?
[18:42] cam|work: also can't ready property 'npm'
[18:42] russfrank: why was unix socket support removed in node >0.5
[18:43] isaacs has joined the channel
[18:43] mekwall: does nprof (to parse v8 log files) work in windows?
[18:45] sorensen_ has joined the channel
[18:45] fatjonny has joined the channel
[18:45] reid has joined the channel
[18:45] reid has joined the channel
[18:46] dilvie has joined the channel
[18:47] timoxley: Hm, is it safe to start using JS harmony stuff in node apps today? As in, is it likely to disappear in a later version of node?
[18:48] vicapow has joined the channel
[18:49] megalomix has joined the channel
[18:49] megalomix: hello everybody
[18:49] megalomix: can i "compile" a JS file ?
[18:49] megalomix: in C++ ?
[18:50] russfrank: :|
[18:50] vicapow: megalomix: I don't think you wanna do
[18:50] jetienne: megalomix: yes, but you are to incldue v8 with it
[18:50] Metapony has joined the channel
[18:51] megalomix: the problem is
[18:51] Hamms has joined the channel
[18:51] megalomix: that i'm writing a website in node.js
[18:51] megalomix: entirely in node.js
[18:51] megalomix: with express.js
[18:51] megalomix: i'm using mysql <---
[18:51] megalomix: i would store encrypted data to mysql
[18:51] bradleymeck: timoxley, the collections are absolutely not going to go away
[18:51] jtsnow has joined the channel
[18:51] bradleymeck: the rest, idk
[18:51] megalomix: so i can use AES_ENCRYPT()
[18:51] megalomix: BUT i need to pass a key
[18:52] megalomix: to encrypt/decrypt data
[18:52] tmike: node has crypto
[18:52] bradleymeck: russfrank it was readded, it was removed due to maintainance issues, and only datagram sockets
[18:52] megalomix: if i write this key in a file like: config.js
[18:52] megalomix: it does not make sense
[18:52] bradleymeck: russfrank, its coming back though
[18:52] megalomix: who can access to the server could read the key and decrypt data
[18:52] timoxley: bradleymeck that's excellent. why are you so sure of Collections
[18:52] megalomix: tmike, yes i know, but i need to pass a key always
[18:53] megalomix: so i thought (i know it is not sure 100%)
[18:53] [g2} has joined the channel
[18:53] bradleymeck: timoxley, GC of object to object mappings without them are just not practical
[18:53] megalomix: but if i do something in c++ it is more difficult to read
[18:53] megalomix: because it is "native"
[18:53] megalomix: no?
[18:53] tmike: No, somebody could still run strings on your executable
[18:53] tmike: Unless the key is raw binary
[18:54] tmike: You can always store the key in a file and make the file only readable by the user running the node process, no?
[18:54] tmike: I mean, flat files holding database credentials has been a staple of web development since the beginning of time.
[18:55] tmike: It should be noted that I could very well be spewing bad advice here.
[18:55] gr4yscale has joined the channel
[18:56] brianleroux has joined the channel
[18:56] tmike: Come on firebug, if you're going to announce uncaught exceptions you should dump them to the console.
[18:56] igl has joined the channel
[18:57] megalomix: tmike, yes i understand
[18:57] rektide: tmike: diy: window.onerror=function(){console.log(arguments,this)}
[18:57] megalomix: so there is no solution
[18:57] tmike: Does anyone disagree that storing the key in a flat file that's only readable by the user running the node process is an acceptible practice?
[18:57] timoxley: bradleymeck understood. Thanks.
[18:57] ajackbot has joined the channel
[18:57] tmike: rektide: thanks
[18:57] rektide: np
[18:58] bradleymeck: tmike as long as its only 1 process writing to it
[18:59] tmike: It's megalomix's question, you'll have to ask him what the plan is.
[18:59] ritch- has joined the channel
[18:59] megalomix: bradleymeck, i have a home
[18:59] megalomix: /home/vhosts/domain.com
[18:59] megalomix: this home has an user
[19:00] megalomix: there i copy all the website file (with the user permissions)
[19:00] redir has joined the channel
[19:00] megalomix: and run node there (with user privileges because it listen to 8080) it does need root
[19:00] megalomix: so i already do it...
[19:00] megalomix: but is this enought?
[19:00] megalomix: enough?
[19:00] jaime__ has joined the channel
[19:01] napperjabber has joined the channel
[19:01] jhurliman has joined the channel
[19:01] hackband has joined the channel
[19:01] joe__k has joined the channel
[19:02] joe__k: Can I build contextify with a just-compiled node without installing the just-compiled node from its build dir
[19:02] joe__k: using node-gyp
[19:02] whitethief has joined the channel
[19:02] joe__k: on windows with vc2010
[19:02] whitethief: hello everyone
[19:02] whitethief: does anyone have had a problem running Bogart (v0.3.38) with Node v0.6.10 on Windows?
[19:03] pradeebv has joined the channel
[19:03] rtyler has left the channel
[19:03] CoverSlide: /win 66
[19:04] tmike: megalomix: as long as your key is stable and doesn't change, I'd say you're fine leaving it in a file with 600 permissions or something.
[19:04] tmike: 66 windows?
[19:04] stepheneb: isaacs: I created a new gyp issue: Support multiple ARCHs on Mac OS X (fat binaries) http://code.google.com/p/gyp/issues/detail?id=252 since there didn't seem to be one yet
[19:04] megalomix: tmike, linux
[19:04] tmike: I was referring to CoverSlide
[19:05] bindr has joined the channel
[19:05] stepheneb: in the issue I describe a naive hack I did to see what the problems would be
[19:05] criswell has joined the channel
[19:06] stepheneb: ended up with this error: gcc-4.2: -E, -S, -save-temps and -M options are not allowed with multiple -arch flags
[19:06] megalomix: sorry
[19:06] patcito has joined the channel
[19:06] iangreen_ has joined the channel
[19:06] whitethief has left the channel
[19:06] tmike: megalomix do you need multiple keys or just one key?
[19:07] ramitos has joined the channel
[19:08] mikeal has joined the channel
[19:08] kmiyashiro has joined the channel
[19:09] felixhummel has joined the channel
[19:09] jiboumans_ has joined the channel
[19:09] RobWC has joined the channel
[19:10] ritch1 has joined the channel
[19:10] RobWC has left the channel
[19:10] elijah has joined the channel
[19:12] megalomix: tmike, just one
[19:12] lperrin has joined the channel
[19:12] `3rdEden has joined the channel
[19:13] tmike: I'd say you're fine leaving it as a flatfile with 600 permission
[19:13] ritch1 has left the channel
[19:13] tmike: Besides, if you ever for some reason had to change your key and your application was compiled, you'd have to recompile it.
[19:14] jetienne_ has joined the channel
[19:14] megalomix: tmike but if someone can access to my ssh bruteforcing the pwd
[19:14] EhevuTov_ has joined the channel
[19:14] megalomix: can read it easyly having the user permission
[19:14] megalomix: no?
[19:14] tmike: Then don't let them do that.
[19:14] tmike: throttle ssh, don't use usernames like 'root' or 'admin' or 'jim'
[19:15] tmike: Or, better yet, don't accept SSH from untrusted connections.
[19:15] tmike: And use keys instead of passwords.
[19:16] retornam has joined the channel
[19:16] ramitos_ has joined the channel
[19:17] ullmark has joined the channel
[19:17] nam_ has joined the channel
[19:17] megalomix: ok
[19:18] tmike: do you know how to set up a key for SSH?
[19:18] megalomix: yes i already done it
[19:18] tmike: good
[19:18] megalomix: i have 4096 keys
[19:18] megalomix: 4096 b
[19:18] Renegade001 has joined the channel
[19:19] tmike: If someone manages to brute-force that and you don't notice, they DESERVE your encryption keys ;)
[19:19] megalomix: each user (website) has the relative key
[19:19] megalomix: yes the private
[19:19] briancray has joined the channel
[19:19] retornam has joined the channel
[19:19] megalomix: :)
[19:19] megalomix: btw fortunately
[19:20] megalomix: i'm using nginx as load balancer
[19:20] megalomix: and proxy
[19:20] megalomix: that send the request to high ports
[19:20] megalomix: so i can run node without root privileges
[19:20] redir has joined the channel
[19:21] andrewde` has joined the channel
[19:21] slickplaid: run everything as root and keep the passwords <5 characters... makes it fun
[19:21] tvw has joined the channel
[19:21] tmike: it's less fun if you use numerics though
[19:21] tmike: all lowercase
[19:21] slickplaid: and make sure it's in the dictionary
[19:23] sh1mmer: has anyone seen zombie child processes from cluster before?
[19:23] slickplaid: I think that came out last year... might check IMDB, though.
[19:24] slickplaid: Starring Chuck Norris, Liam Neeson, and Sting I think
[19:24] tmike: I'd pay to see that.
[19:24] megalomix: ash.sf.sdf.34.5.34t.e.gergv.4t45.vg.hg.54.y.45y.45..tkp.ew.fsd.gv.b45n.y56myj.k.sfdg.123.4.14.457..kjk,.m.x.gh.kyhr.j.w.w.d.ash.gho.jlfiouashfsadhfsuadi <---- this should be a good password
[19:24] megalomix: :D
[19:24] megalomix: please, do not copy it :-D ahahah
[19:25] mcav` has joined the channel
[19:25] broofa_ has joined the channel
[19:25] slickplaid: good thing no one keeps logs publically available online anywhere
[19:25] megalomix: ooh guys
[19:25] megalomix: ONE Important things
[19:26] megalomix: as i told i'm using SSH keys to login to my VPS
[19:26] slickplaid: good password: 8GܽL4ðVõãQäµ_ÊÁ?@íÚ(Ñ
[19:26] mikeal has joined the channel
[19:26] megalomix: i would like to know how can i set the permission i want to the dirs
[19:26] megalomix: is it possible?
[19:26] megalomix: eaxmple if i pass a file with 777 from my pc to server
[19:26] slickplaid: in node?
[19:26] megalomix: can i set it to 600 automatically?
[19:27] whitman has joined the channel
[19:27] CoverSlide: just wrap it in a function
[19:27] megalomix: is this possible?
[19:27] megalomix: i would like to have 600 for files and 700 for dirs
[19:27] CoverSlide: fs.chmod fs.chmod
[19:27] megalomix: no other permission
[19:28] megalomix: CoverSlide, no i mean on the linux vps
[19:28] megalomix: whne i transfer the files
[19:28] chjj has joined the channel
[19:28] megalomix: if i (for an error) save it with 777
[19:28] qwerty has joined the channel
[19:28] CoverSlide: you can't tell the remote machine what permissions it has
[19:28] larsschenk has joined the channel
[19:28] megalomix: i would like 600 always
[19:28] slickplaid: you can set the default new file permissions to 600, but that would mean any new file would be set as 600
[19:29] megalomix: umask ??
[19:29] slickplaid: yeah
[19:29] slickplaid: umask
[19:29] Vespakoen has joined the channel
[19:29] megalomix: slickplaid, for new files what do you mean?
[19:29] CoverSlide: you can do process.umask
[19:29] megalomix: if i create a new file
[19:29] megalomix: OR If i send it to the vps using ssh ?
[19:29] phidah has joined the channel
[19:29] slickplaid: if you `touch newfile.txt` it'll be 600 if you set the umask to such
[19:30] guest007: why cant i install the new 0.6.11 nodejs on ubuntu? i followed the instructions here http://stackoverflow.com/questions/5123533/how-can-i-uninstall-or-upgrade-my-old-node-js-version
[19:30] slickplaid: `umask 077 >> ~/.bashrc`
[19:30] megalomix: so if i transfer 777 file it will be 777
[19:30] megalomix: i need to do it manually?
[19:30] tmike: Does bashrc get read by the scp process?
[19:31] slickplaid: well, if you're using ftp, a lot of the time they have default new file permission settings
[19:31] slickplaid: scp reads bashrc, i believe
[19:31] tmike: groovy
[19:31] megalomix: at the moment i'm using rsync
[19:31] slickplaid: don't quote me on that though... but I think so
[19:31] krucial has joined the channel
[19:32] orlandovftw has joined the channel
[19:32] krucial: is there a way to receive a client's ip address through the req object?
[19:32] slickplaid: echo 'umask 077' >> ~/.bashrc
[19:32] slickplaid: messed that up :D
[19:32] rrjamie has joined the channel
[19:32] megalomix: what it does?
[19:33] larsschenk has left the channel
[19:33] slickplaid: req.connection.remoteAddress
[19:33] Johnsknees has joined the channel
[19:33] slickplaid: megalomix: it would make it so every new file that was made would be 600, dirs would be 700
[19:34] Top has joined the channel
[19:34] slickplaid: megalomix: I would seriously consider what implications that would have for you before you do it though.
[19:34] harthur has joined the channel
[19:35] mcav has joined the channel
[19:35] megalomix: i don't understand your last message
[19:35] Cromulent has joined the channel
[19:35] rrjamie: Hello. I'm hitting a bug with HTTPS (in particular the TLS code) on 0.6.11 on Windows 7. I'm posting a large message body (500KB+), and TLS seems to destroy the socket before a response is returned by the server. However, if I'm lucky, the TLS hits a pause/resume/drain cycle, it works fine. Anyone else have issues with TLS/HTTPS on Windows?
[19:35] napperjabber has joined the channel
[19:36] Qzen has joined the channel
[19:36] slickplaid: was I talking to the wrong person? lol i'm only glancing back and forth between work and here
[19:38] sigurding_ has joined the channel
[19:39] megalomix: have to go
[19:39] _th_n has joined the channel
[19:39] megalomix: have dinner....see you soon
[19:39] Qzen^ has joined the channel
[19:39] johnr22000 has joined the channel
[19:39] megalomix: goodbye everyone
[19:40] fangel has joined the channel
[19:41] richardr has joined the channel
[19:43] krankguy has joined the channel
[19:43] lohkey has joined the channel
[19:45] adambeynon has joined the channel
[19:46] criswell has joined the channel
[19:46] tonist_ has joined the channel
[19:48] `3rdEden has joined the channel
[19:52] pvankouteren has joined the channel
[19:54] dreamr has joined the channel
[19:54] stepheneb has joined the channel
[19:56] snearch has joined the channel
[19:57] bindr has joined the channel
[19:57] johnhamelink has joined the channel
[20:00] norviller_ has joined the channel
[20:00] test1 has joined the channel
[20:00] test1: hello
[20:01] test1: is this working can someone reply?
[20:01] tmike: not working.
[20:01] stagas: test1: [ object Object ]
[20:02] apcshields has joined the channel
[20:02] djQuery has joined the channel
[20:03] djQuery: anyone got a list of template engines that work server side and client side?
[20:03] djQuery: I realy like knockout.js but to my understanding it only works client side
[20:03] jerrysv: mustache (or handlebars) are my gotos
[20:03] rektide: i have my heart on my sleeve for dust.js
[20:03] rektide: so did linkedin when they reviewed 17 different templating engines
[20:03] CIA-102: node: 03isaacs 07master * rbae4018 10/ Makefile : Run jslint after tests, not before - http://git.io/xdW2mA
[20:03] CIA-102: node: 03isaacs 07master * r3817b12 10/ AUTHORS : Add Håvard Stranden to AUTHORS file - http://git.io/oudPHQ
[20:04] CIA-102: node: 03isaacs 07v0.6 * r186960f 10/ AUTHORS : Add Håvard Stranden to AUTHORS file - http://git.io/VLoK7Q
[20:07] dreamdust has joined the channel
[20:07] phayze has joined the channel
[20:08] samuelgoodwin has joined the channel
[20:09] rauchg has joined the channel
[20:10] odinswand has joined the channel
[20:11] Sadin has joined the channel
[20:12] sardaven_ has joined the channel
[20:13] Lingus: RE: template engines, Ext.XTemplate (ExtJS) has been ported to node.js
[20:13] patcito has joined the channel
[20:13] Renegade001 has joined the channel
[20:14] phayze has left the channel
[20:15] dilvie has left the channel
[20:15] megalomix has joined the channel
[20:15] argami has joined the channel
[20:16] barberdt has joined the channel
[20:16] VladGh has joined the channel
[20:17] mraleph has joined the channel
[20:17] marvin_ has joined the channel
[20:19] Renegade001 has joined the channel
[20:19] dve has joined the channel
[20:21] kmiyashiro: rektide: why dust?
[20:22] lohkey_ has joined the channel
[20:22] Starky has joined the channel
[20:23] barberdt has joined the channel
[20:24] yawNO: catb0t:
[20:24] catb0t:
[20:24] Starky: Hey all i am a bit confused b/w async IO calls and async function calls,
[20:24] yawNO: catb0t: help?
[20:24] catb0t: help out and put it into a beautiful thing, but an ugly monster
[20:24] yawNO: yeah right
[20:24] Starky: how r they both dif, and how does th eimplementation differ in node
[20:24] yawNO: how do you execute js with catb0t?
[20:24] catb0t: execute , as they call other functions as long as it provides for great plugin support with
[20:24] yawNO: forgot the syntax
[20:24] EhevuTov_: .. 2+2
[20:24] catb0t: 4
[20:24] webjames has joined the channel
[20:24] ningu: Starky: the implementation is the same, afaik, as least in order to use them
[20:24] chjj has joined the channel
[20:24] yawNO: thx EhevuTov_
[20:24] EhevuTov_: ;-)
[20:24] yawNO: .. var ಠ_ಠ = 1;
[20:24] catb0t:
[20:24] yawNO: .. ಠ_ಠ
[20:24] catb0t: 1
[20:24] QaDeS: can anybody give me a hint on node 0.6 + express + cluster?
[20:24] yawNO: :3
[20:25] jetienne has joined the channel
[20:25] yawNO: i love valid ecmascript
[20:25] ningu: the general pattern is to pass a callback which takes an error as its first argument and results as the second argument or possibly multiple arguments
[20:25] ningu: QaDeS: what do you mean, a hint?
[20:25] JJMalina: What is the node equivalent of http://celeryproject.org/ ?
[20:25] bindr has joined the channel
[20:25] webjames: i'm trying to write a while loop and it seem to be blocking. while(!readyToEnd) { ... }
[20:26] dreamdust: There's no way to write a while loop that doesn't block...
[20:26] Starky: okay, so say i need to call a function in a async manner, the func has its own callback, so do i do it like for(){process.nextTick(fn)} or a direct loop iver the function is enough to start the all func instances async to each other??
[20:26] tmike: Use setInterval or events
[20:26] ryanfitz has joined the channel
[20:26] QaDeS: ningu, i can't find an example on how to cleanly get this to work. unlike the "old" version, the cluster interface seems pretty low level
[20:26] tmike: that was for webjames
[20:26] mAritz: QaDeS: do you mean learnboost-cluster? unfortunately doesn't work on 0.6.x due to the core module cluster.
[20:26] simenbrekken has joined the channel
[20:26] Starky: setIntervals, y wud use tht
[20:26] Starky: ?
[20:26] boccato has joined the channel
[20:27] ningu: Starky: are you talking about one async call or many?
[20:27] tmike: Starky I was talking to webjames sorry about that
[20:27] webjames: thanks tmike
[20:27] mAritz: QaDeS: looked at the node.js docs for cluster? should have proper examples in there
[20:27] josh-k has joined the channel
[20:27] ningu: Starky: your code will continue in the callback. you don't loop over the async call
[20:27] Starky: ohh, stupid me shud hv unstand tht,
[20:28] Starky: k, "continue in callback" - you mean blocked by the callback, th enext iteration wont take place
[20:28] Starky: till the callback returns?
[20:28] ningu: the next iteration of what?
[20:28] ningu: the async function will return before it completes, that's what async means...
[20:28] Starky: say i initiate the func in a loop
[20:28] ningu: no, the loop will continue
[20:28] pokoli has joined the channel
[20:28] Starky: like for(){fn(i++)}
[20:28] tdegrunt has joined the channel
[20:29] jerkelens has joined the channel
[20:29] ningu: if you want to do a bunch of async things at once, look at the async module, it has a lot of useful control flow methods
[20:29] stonebranch has joined the channel
[20:29] ningu: but if you're just doing one, you don't need anything special to keep track of things really
[20:29] robhawkes has joined the channel
[20:29] Starky: yeah, i kno tht what async means, just cudnt get it when something will be executed in async fashion and when in a sync fashion
[20:29] oht has joined the channel
[20:29] ningu: if it takes a callback argument, it is async
[20:29] QaDeS: mAritz, the examples i found are for cluster+http, not express
[20:29] Starky: @ningu, okay looking at tht now
[20:30] QaDeS: looks like i'd have to build the app separately for each worker, or am i mistaken?
[20:30] ningu: I still find the async module a bit tricky, but that's because I've been dealing today with data that's nested at four or five levels deep and the control flow is different at each level
[20:30] hackband has joined the channel
[20:31] Renegade001 has joined the channel
[20:31] ningu: the async module's api is very clear, it's just the logic I'm doing that is complicated :)
[20:31] k1ttty has joined the channel
[20:31] AndreasMadsen: QaDeS: there is no difference. The cluster is done on a TCP level so HTTP and express there build on that works fine.
[20:31] AndreasMadsen: QaDeS: no you couldn't need to make you own app for each worker, and you can't.
[20:32] AndreasMadsen: QaDeS: just call the express.listen as you normally would
[20:32] orlandovftw has joined the channel
[20:32] QaDeS: ok, trying
[20:32] JJMalina: Has anyone used http://learnboost.github.com/kue/ ? I see it hasn't been updated in about 3 months, was wondering if its still compatible with the latest node
[20:33] AndreasMadsen: QaDeS: The only difference from running anything there use TCP with or without cluster is the need for if (isMaster) {} else {}
[20:33] orlandovftw has joined the channel
[20:33] AndreasMadsen: QaDeS: there is some problems if you use socket.io, just so you know.
[20:34] ningu: can node apps be clustered out of the box, or do you have to take that into account when writing them?
[20:34] ningu: I realize that might depend on the app...
[20:34] AndreasMadsen: ningu: unless you use socket.io, it works out of the box
[20:35] localhost has joined the channel
[20:35] ningu: what about database race conditions? I suppose that's more of a mongodb-internal issue, since that's what I'm using. but I'm kind of wondering.
[20:36] AndreasMadsen: to work with socket.io and cluster, use a sticky-session implementation.
[20:36] vicapow: as anyone found a need using mongoose for a "safeIfCurrent" style function?
[20:36] AndreasMadsen: ningu: If I'm remembering mongodb should support multiply connections
[20:36] TheFuzzball has joined the channel
[20:37] NewCoder has joined the channel
[20:37] ningu: AndreasMadsen: yes, the question isn't whether it supports multiple connections but how you deal with it as an app writer if two users modify the same record at once
[20:37] jkridner__ has joined the channel
[20:38] QaDeS: ok, seems to work. thanks everyone!
[20:38] AndreasMadsen: ningu: Starting in 1.5.2, multi updates yield occasionally so you can safely update large amounts of data. If you want a multi update to be truly isolated (so no other writes happen while processing the affected documents), you can use the $atomic flag in the query expression. For example:
[20:38] AndreasMadsen: ^ http://www.mongodb.org/display/DOCS/Updating
[20:39] ningu: AndreasMadsen: cool, will read up on that
[20:39] ningu: I guess the logic is all in mongo then
[20:40] ningu: locking within node would be a big pain
[20:40] ningu: if not impossible :)
[20:40] igl1 has joined the channel
[20:40] AndreasMadsen: ningu: Yeah, never used mongodb just looked it up in the docs.
[20:41] ningu: what ORM do people use for SQL databases?
[20:42] ningu: I see there's something called sequelize
[20:42] tmike: ningu https://github.com/joyent/node/wiki/modules
[20:42] zomgbie has joined the channel
[20:42] \mSg has joined the channel
[20:42] ningu: aha, awesome
[20:42] ningu: that's better organized than just randomly searching toolbox.no.de
[20:43] RobertoGiacobbo has joined the channel
[20:45] krankguy has joined the channel
[20:45] igl has joined the channel
[20:45] jetienne has joined the channel
[20:45] ningu: huh... all the ORMs seem tied to a particular database.
[20:45] ekryski has joined the channel
[20:45] ningu: well, mongo suits me fine in any case, but that's a bit odd.
[20:46] timoxley: ningu https://github.com/1602/jugglingdb
[20:46] iangreen_: I have a hard time finding "community favorite" packages for a given task, either through the modules list or through node-toolbox.
[20:46] iangreen_: is anyone working on a cool new solution for this problem?
[20:46] Nopik has joined the channel
[20:46] timoxley: iangreen_ pester isaacs about it
[20:47] dreamdust1 has joined the channel
[20:47] tmike: It seems hard. There was talk of some sort of heuristic but it doesn't seem to have come about?
[20:47] ningu: yeah, that's the only reason I asked here rather than googling
[20:48] jmar777: it would be cool to see `npm install`'s for a given package over the last 30 days\
[20:48] iangreen_: Yeah, I'm not sure what the best way to do it is, especially given how fast node is moving right now.
[20:49] trotter has joined the channel
[20:49] iangreen_: jmar777: Agreed. Installs or github follows seem like good "popularity" shorthands.
[20:49] tmike: github follows, commits, issue activity
[20:49] igl1 has joined the channel
[20:49] robo has joined the channel
[20:50] tmike: If something hasn't had a commit in ages and there's a big queue of issues, it's probably a dud.
[20:50] jmar777: iangreen_: ya, i like follows as well. we just need something that gives newcomers a chance though... so some sort of a time frame taken into consideration
[20:50] iangreen_: jmar777: True, follows build over time so that should be taken into account.
[20:50] rgl has joined the channel
[20:50] jmar777: could be that something has more installs 10:1 in the last month over an old favorite, but grand totals wouldn't show that
[20:51] igl1 has joined the channel
[20:51] ningu: so far I've found a lot of good stuff just poking around on github
[20:51] ningu: but not everything
[20:51] ningu: or just googling nodejs + foo
[20:52] jmar777: ya, ditto. i just check out followers, issues, and recent commits
[20:52] pradeebv has joined the channel
[20:53] iangreen_: ningu: Yeah, I just shorten the steps by github-searching instead of googling :)
[20:53] dreamdust has joined the channel
[20:53] igl has joined the channel
[20:54] iangreen_: ningu: But so far the pattern is that I end up looking through 15-50 projects, and then a month later find out that I somehow missed the clear favorite.
[20:54] EhevuTov has joined the channel
[20:55] mcluskydodallas has joined the channel
[20:56] fomatin has joined the channel
[20:57] iangreenleaf: Well, if anyone decides to fork node-toolbox or build a new one, let me know. I may not contribute, but I'd at least like to follow your progress :)
[20:57] igl has joined the channel
[20:57] johnmdonahue has joined the channel
[20:58] teadict: so, I'm using director to create these 5 single-pages in this app, right? works great and I understand it and already applied it... now, in the silly example from the repo it just hides and shows different s using jquery for each route... apps are more complex than that so my question is, in relation to the loading/rendering of each of my single-pages, what is a nice way to perform that loading of each single-page (keeping in mind t
[20:58] teadict: I know it's client side question but y'know..
[20:59] igl1 has joined the channel
[20:59] jtsnow has joined the channel
[20:59] Chel has joined the channel
[20:59] gut4 has joined the channel
[21:00] teadict: do I just start dumping loading and rendering functions inside each director route handler?
[21:00] j0br has joined the channel
[21:00] teadict: or is there a more organizaned and clean way?
[21:01] illourr has joined the channel
[21:02] phoenixz has joined the channel
[21:02] phoenixz has joined the channel
[21:03] teadict: maxogden: you around?
[21:04] samuelgo1dwin has joined the channel
[21:04] tmcw has joined the channel
[21:05] Renegade001 has joined the channel
[21:06] cyphase has joined the channel
[21:07] Chel: question can anyone say me why in my peace of code out is undefined after callback exit ?
[21:07] Chel: http://pastebin.com/cQWcXLkY
[21:07] tttthet has joined the channel
[21:07] imsky has joined the channel
[21:08] EhevuTov: .. var out = Object; typeof out;
[21:08] catb0t: "function"
[21:09] tyfighter has joined the channel
[21:09] nathanielk: var out = {}
[21:09] teadict: .. var in = function() {}; typeof in;
[21:09] catb0t: Exception: SyntaxError: Unexpected token in
[21:09] teadict: wat
[21:09] nathanielk: and i don't think collection.find() is synchronous
[21:10] EhevuTov: is 'in' a keyword?
[21:10] jesusabdullah: yes
[21:10] nathanielk: affirmative
[21:10] jesusabdullah: .. for (n in [1,2,3,4,5]) { console.log(n); }
[21:10] catb0t: Exception: ReferenceError: console is not defined
[21:10] jesusabdullah: wah wah wahhhhh
[21:11] nathanielk: if ('hi' in {'hi':'there'}) { }
[21:11] nathanielk: .. 'hi' in {'hi':'there'}
[21:11] catb0t: true
[21:11] nathanielk: thank you catb0t
[21:11] catb0t: thank you
[21:11] jesusabdullah: there we go!
[21:11] jesusabdullah: ha! ha!
[21:11] Chel: nathanielk:
[21:11] nathanielk: ?
[21:12] Chel: yes i think collection.find is not synchronous imo
[21:12] criswell has joined the channel
[21:12] nathanielk: Chel: assuming mongodb native driver, anyway :)
[21:13] Chel: so nathanielk how can i get my vars to a function upper ?
[21:13] rrjamie_ has joined the channel
[21:14] nathanielk: Chel: i'm honestly not sure what that code is supposed to be doing :/
[21:15] nathanielk: but typically you'd pass a callback to collection.find()
[21:15] Chel: i want to get 2 records from my collection and pass a result to a view file
[21:15] Chel: nathanielk: yes i can use callback in find() but sorting is unavailable in this case
[21:16] nathanielk: read the docs here
[21:16] nathanielk: https://github.com/christkv/node-mongodb-native
[21:16] nathanielk: it should clear some things up
[21:17] jstash has joined the channel
[21:17] ricedog has joined the channel
[21:19] EhevuTov: Chel, did you figure out your problem yet?
[21:19] kevinohara80 has joined the channel
[21:20] looopy has joined the channel
[21:20] EhevuTov: Chel, are you sure that if(doc) is firing?
[21:20] mAritz: .. test = []; for (n in [1,2,3,4,5]) { test. }; test
[21:20] catb0t: Exception: SyntaxError: Unexpected token }
[21:20] mAritz: woops
[21:20] mAritz: .. test = []; for (n in [1,2,3,4,5]) { test.unshift(n) }; test
[21:20] catb0t: [ "4", "3", "2", "1", "0" ]
[21:20] mAritz: .. test = []; for each (n in [1,2,3,4,5]) { test.unshift(n) }; test
[21:20] catb0t: Exception: SyntaxError: Unexpected identifier
[21:21] phoenixz has joined the channel
[21:21] phoenixz has joined the channel
[21:21] mAritz: ohhh, no 1.6
[21:21] yawNO: hey mAritz
[21:21] yawNO: :D
[21:21] mAritz: AHHH
[21:21] mAritz: ACTION runs away
[21:21] dawolf: what happened to https://github.com/joyent/node/wiki/Installation ?
[21:21] mAritz: ACTION left #node.js.
[21:21] matt_c has joined the channel
[21:21] Vespakoen has joined the channel
[21:22] dawolf: looks like the install guide on github is gone or did i miss something?
[21:22] redir has joined the channel
[21:22] nathanielk: dawolf:
[21:22] nathanielk: https://github.com/joyent/node/wiki/_history
[21:23] nathanielk: 15 hours ago "Destroyed Building and Installing Node.js (markdown) [974eda9]"
[21:23] nathanielk: looks that way
[21:24] yawNO: mAritz: shut up and look @ my mug -> http://is.gd/pd3kSu
[21:24] Chel: EhevuTov: sure, if(doc) is firing
[21:24] yawNO: :3
[21:24] yawNO: i bet you're jealous now
[21:25] mAritz: lol, no
[21:25] yawNO: okay (._. )
[21:25] yawNO: i bought it in Munich
[21:25] mAritz: my sister gave me a world of warcraft mug for christmas
[21:25] mAritz: i hate wow with a passion
[21:25] yawNO: me too
[21:26] yawNO: it makes me feel like i have no social life
[21:26] yawNO: even though i do
[21:26] yawNO: (no offense)
[21:26] mAritz: i'm not really the patriotic kind ;)
[21:26] yawNO: neither am i
[21:26] yawNO: im italian :|
[21:26] yawNO: how i'm i supposed to be a german patriot?
[21:26] mAritz: don't get me wrong, germany is awesome and if i could, i wouldn't want to leave. but i'm not gonna buy mugs with some antique german font/imagery.
[21:26] mcluskydodallas has joined the channel
[21:26] yawNO: cuz you're german.
[21:27] yawNO: anyway ok
[21:27] yawNO: but i like my mug ;_;
[21:27] yawNO: and i'm off
[21:27] yawNO: bye guys
[21:27] mAritz: oh well. does it have +90 agility? NO
[21:27] yawNO: WAT?
[21:27] mAritz: n8
[21:27] yawNO: n8?
[21:27] mAritz: night
[21:27] mAritz: :x
[21:27] yawNO: it's 10:30 pm
[21:27] damienkatz has joined the channel
[21:27] yawNO: night's about to start, man
[21:28] mAritz: hey, where's that dude who's gonna tell us to stop spamming already?
[21:28] yawNO: \ò\
[21:28] yawNO: guess he got perma-spammed to death
[21:28] yawNO: PARTY TIL YOU DROP
[21:28] yawNO: my mug does have +90 potter though
[21:29] yawNO: cya
[21:29] boccato has joined the channel
[21:29] damienkatz has left the channel
[21:30] kranklin has joined the channel
[21:31] blubberbob has joined the channel
[21:32] Axsuul has joined the channel
[21:32] diogogmt has joined the channel
[21:32] xelor has joined the channel
[21:32] joshwines has joined the channel
[21:32] gr4yscale has joined the channel
[21:32] xelor: can someone show me an example of parameters being passed to node.io's postHtml() function?
[21:33] xelor: did node.io inherit postHtml() from another module?
[21:33] EhevuTov: Chel, what do you get when you add a 'typeof doc.value.usd' around like 8
[21:33] EhevuTov: line
[21:34] serby has joined the channel
[21:34] matt_c has joined the channel
[21:35] StanlySoManly has joined the channel
[21:35] vguerra has joined the channel
[21:37] CrypticSwarm has joined the channel
[21:37] hackband has joined the channel
[21:39] flagg0204 has joined the channel
[21:40] phoenixz has joined the channel
[21:40] phoenixz has joined the channel
[21:41] mAritz: xelor: why not look at the code of node.io? :)
[21:41] McMAGIC--Copy has joined the channel
[21:43] xelor: mAritz, i cant tell the format of the parameters by looking at the code
[21:43] Chel: EhevuTov: i solved with another peace of code
[21:44] EhevuTov: chel, does it look much different? I'd like to know what you did
[21:47] mAritz1 has joined the channel
[21:48] tommyvyo has joined the channel
[21:49] bindr has joined the channel
[21:49] jimmysparkle has joined the channel
[21:50] warz has joined the channel
[21:50] warz has joined the channel
[21:50] mehlah has joined the channel
[21:50] samuelgoodwin has joined the channel
[21:51] sarlalian has left the channel
[21:51] Crowb4r has joined the channel
[21:52] Chel: EhevuTov: http://pastebin.com/H1dZDc4c
[21:53] CIA-102: node: 03Brian White 07master * r5e3ca98 10/ lib/querystring.js : Make QueryString.parse() even faster - http://git.io/rYt4Fg
[21:53] isao has joined the channel
[21:54] EhevuTov: Chel, oh I see. Thank you.
[21:56] Chel: EhevuTov: maybe you know what i did wrong with previous approach ?
[21:56] EvRide1 has joined the channel
[21:56] EhevuTov: I was trying to get there, but I don't know why
[21:57] pastak has joined the channel
[21:59] felixhummel has joined the channel
[21:59] Wizek has joined the channel
[22:01] joshgillies has joined the channel
[22:01] nicki9knuckles has joined the channel
[22:04] isao has joined the channel
[22:05] JJMalina has joined the channel
[22:08] carlyle has joined the channel
[22:09] brianseeders has joined the channel
[22:10] bulatshakirzyano has joined the channel
[22:12] StanlySoManly has joined the channel
[22:12] michaelhartau has joined the channel
[22:15] zomgbie has joined the channel
[22:18] pastak has joined the channel
[22:18] hellp has joined the channel
[22:19] Epeli has joined the channel
[22:21] kwmiebach has joined the channel
[22:21] enmand has joined the channel
[22:21] h4mz1d has joined the channel
[22:25] bradleymeck has joined the channel
[22:26] mschneider has joined the channel
[22:27] edjafarov has joined the channel
[22:29] jldbasa has joined the channel
[22:30] Skyjoker has joined the channel
[22:30] rauchg has joined the channel
[22:31] carlyle has joined the channel
[22:31] willwhite has joined the channel
[22:32] willwhite has joined the channel
[22:32] tonymilne has joined the channel
[22:34] criswell has joined the channel
[22:34] rt7 has joined the channel
[22:37] joshsmith has joined the channel
[22:38] fatjonny has joined the channel
[22:38] ubernoob has joined the channel
[22:38] ubernoob: heyo
[22:38] salva has joined the channel
[22:39] ubernoob: does anyone know if it is possible to connect/communicate to a node.js server from a vb.net application?
[22:39] boccato has joined the channel
[22:39] flagg0204 has joined the channel
[22:41] pradeebv has joined the channel
[22:41] niklasfi has joined the channel
[22:42] ubernoob: does anyone know if it is possible to connect/communicate to a node.js server from a vb.net application?
[22:43] JohnFoo has joined the channel
[22:43] thefoobar has joined the channel
[22:43] mraxilus has joined the channel
[22:44] JohnFoo: Hi everyone
[22:44] ubernoob: hello
[22:44] wankdanker: ubernoob: absolutely
[22:44] wankdanker: ubernoob: i can't offer anthing more than that
[22:45] ubernoob: wankdanker: np, thanks for the info
[22:45] JohnFoo: I'm a little bit confused about the async thing in node. I have to get, I say 3 views from a couchdb.
[22:45] thefoobar: hi, i am trying to get node_mysql to work, however I always get an ECONNREFUSED error (http://dpaste.com/706549/). the backtrace is not really helpful. i am 100% sure, i have the right username + password. what can i do
[22:46] JohnFoo: Do I have to put every request in the callback of the other one?
[22:46] davidbanham: thefoobar: That's not a username/password issue, looks like the network connection is being rejected. Can you access the database from that machine with the mysql command line client?
[22:46] carlyle has joined the channel
[22:47] wankdanker: JohnFoo: there are libraries that help managing callbacks, try https://github.com/caolan/async
[22:47] zomgbie has joined the channel
[22:47] thefoobar: davidbanham: yes. ohh no. i think i know what the problem is…
[22:47] davidbanham: JohnFoo: That's one way of doing it. Another would be to have an event listener that listens for the "finish" event of the couch call and only goes on and does stuff when it's received 3
[22:48] patcito has joined the channel
[22:49] JohnFoo: Ok, thank you for your input.... I'll read on, try the two ways...
[22:49] thefoobar: davidbanham: thanks. it was that I was telling the mysql server to bind on the wrong address. the console client still worked, because it was using a local socket
[22:49] theBrettman has joined the channel
[22:50] davidbanham: thefoobar: No worries!
[22:51] rickibaloba` has joined the channel
[22:52] sandfox has joined the channel
[22:52] briancray has joined the channel
[22:55] patcito has joined the channel
[22:56] ricedog has joined the channel
[22:56] logickal has joined the channel
[22:58] djbell has joined the channel
[23:00] krucial has joined the channel
[23:00] pastak has joined the channel
[23:00] stonebranch has joined the channel
[23:01] richardr_ has joined the channel
[23:01] flagg0204 has joined the channel
[23:02] tilgovi has joined the channel
[23:02] tilgovi has joined the channel
[23:03] kickingvegas has left the channel
[23:03] dimdm has joined the channel
[23:04] carlyle has joined the channel
[23:07] mikeal has joined the channel
[23:07] mschneider has joined the channel
[23:08] fsargent_ has left the channel
[23:09] criswell has joined the channel
[23:10] reid has joined the channel
[23:11] samuelgoodwin has joined the channel
[23:12] looopy has joined the channel
[23:12] shinuza has joined the channel
[23:13] hipsterslapfight has joined the channel
[23:15] indexzero has joined the channel
[23:15] RyanD has joined the channel
[23:16] skm has joined the channel
[23:17] ckknight has joined the channel
[23:17] murvin has joined the channel
[23:18] ckknight has joined the channel
[23:18] tkahn6_ has joined the channel
[23:18] Mezriss: can anyone remind me where can I get latest version of "n"? search on github doesn't help
[23:18] pokoli has joined the channel
[23:19] ramitos has joined the channel
[23:20] ningu: n?
[23:20] isaacs: Mezriss: npm docs n
[23:20] Xedecimal has joined the channel
[23:21] dunder-mifflin has joined the channel
[23:22] mandric has joined the channel
[23:22] lzskiss has joined the channel
[23:22] Xedecimal: I created a multicast datagram packet (now that node has my multicast features!) and all was working wonderful until I attempted to send two packets very quickly. It'll die with a "addMembership EINVAL" . I was starting to think maybe I couldn't add to the membership because something didn't unload on a previous run, but a single 'send' call goes through great! I made a callback on the send...
[23:22] Xedecimal: ...and pushed into an array of outputs and shifted out messages per-callback until the buffer was empty, but the second send once again kills it, do I need to do something between sends ?
[23:23] Xedecimal: all the examples I've read so far on the node site only show sending a single packet and then closing the connection
[23:24] murvin: if I use express and do this app.createServer( whatever() ) if in runtime, whatever() throw errors , like this: next(error) where is the error got caught? is it in app.error? or process.on("uncaughtExcpetion")
[23:27] heavysixer has joined the channel
[23:27] andrehjr has joined the channel
[23:27] masm has joined the channel
[23:27] RobWC1 has joined the channel
[23:28] Mezriss: thanks, for some reason I've forgot that it was in npm
[23:29] mcluskydodallas has joined the channel
[23:31] dunder-mifflin has left the channel
[23:31] CIA-102: node: 03isaacs 07master * r27d8b05 10/ (src/node.js test/simple/test-stdin-hang.js):
[23:31] CIA-102: node: Pause process.stdin in stdin getter
[23:31] CIA-102: node: Otherwise, it'll be ref'ed, and keep the process hanging. - http://git.io/2QQUqQ
[23:31] isaacs: SubStack: ^
[23:31] wankdanker: Xedecimal: I don't have an answer to your specific question, but I wrote a module that uses multicast https://github.com/wankdanker/node-discover
[23:32] CIA-102: node: 03isaacs 07v0.6 * r634b4de 10/ (src/node.js test/simple/test-stdin-hang.js):
[23:32] CIA-102: node: Pause process.stdin in stdin getter
[23:32] CIA-102: node: Otherwise, it'll be ref'ed, and keep the process hanging. - http://git.io/_1e6OQ
[23:32] wankdanker: Xedecimal: feel free to look it over, especially in lib/network.js to see what I'm doing different. I don't close connections and I send many packets
[23:32] brianseeders has joined the channel
[23:32] Xedecimal: I just realized I send 6 packets rapid fire fine, it's only after that first group that I start the next group does it give me trouble
[23:32] Mezriss: even after some kind of update amazon's linux keeps doing some strange kernel thingy when I try to use 0.5+ node
[23:33] Xedecimal: (reading your soruce)
[23:33] igl has joined the channel
[23:33] wankdanker: Xedecimal: are you re-addMembership()ing?
[23:33] reid has joined the channel
[23:33] reid has joined the channel
[23:34] Mezriss: isaacs: I'm sorry to waste your time, but can you check this error log? http://pastebin.com/v7E0vntX I've asked here before, but didn't get much help
[23:34] Xedecimal: I didn't think it could be that obviously stupid.... It was
[23:34] Xedecimal: that's sure embarrassing
[23:34] BillyBreen has joined the channel
[23:35] isaacs: Mezriss: i have no idea what that is.
[23:35] isaacs: Mezriss: first, i saw a cat on a computer. then i refreshed and saw something even less intelligible.
[23:35] isaacs: Mezriss: what's kernel:[6284991.180261] Code: 8d 74 26 00 8b 06 c7 46 08 00 00 00 00 e8 32 4c f 7 ff 8b 56 04 83 fa ff 74 a3 8d 46 10 e8 22 7b 00 00 c7 46 04 00 00 00 00 eb 92 <0f> 0b eb fe 90 8d 74 26 00 55 89 e5 83 ec 14 89 7d fc 89 c7 a1
[23:35] wankdanker: Xedecimal: no worries. happens to everyone. :)
[23:35] skyler_brungardt has joined the channel
[23:35] verdoc has joined the channel
[23:35] isaacs: Mezriss: maybe try using node 0.6.11?
[23:36] slickplaid: How can I use intermediate CA certificates in an https server?
[23:36] st_luke has joined the channel
[23:36] pgherveou has joined the channel
[23:37] slickplaid: I'm getting a ` Verify return code: 21 (unable to verify the first certificate)` error when attempting to use my signed ssl certificate :-/
[23:37] samuelgoodwin has joined the channel
[23:39] Mezriss: that happened when I've used 0.6.4 and some versions of 0.5.x. I'd like to give more information, but that's all I get after a launch of any script with anything newer than 0.4.x (also 100% cpu load for a minute or two)
[23:40] Mezriss: I'll try 0.6.11, maybe it will work
[23:40] rrjamie has joined the channel
[23:40] tlab has joined the channel
[23:40] rrjamie: Heyo, I'm debugging an issue, and I think it has something to do with the node-core file lib/tls.js… How can I edit these files so I can sprinkle some debug messages?
[23:41] richardr has joined the channel
[23:41] Andy1991 has joined the channel
[23:42] konobi: rrjamie: use the debugger?
[23:42] igl1 has joined the channel
[23:43] Andy1991: #php
[23:43] rrjamie: let see if that works, this issue only appears on windows, hopefully the command line is too awful to use
[23:43] Andy1991: oops meant /j
[23:43] Andy1991: sorry :$
[23:45] whaley has joined the channel
[23:45] Mezriss: rrjamie: you might be interested in this https://github.com/dannycoates/node-inspector
[23:45] adrianF has joined the channel
[23:46] rrjamie: Mezriss: I looked at that… until I couldn't figure out how to get a process ID on windows :)
[23:46] copongcopong has joined the channel
[23:47] dimdm_ has joined the channel
[23:47] pizthewiz has joined the channel
[23:47] mrkurt has joined the channel
[23:48] rrjamie: Mezriss: actually, that' works
[23:49] Mezriss: you probably will not need it if you'll choose to launch your script fith debug flag, but then again, I didn't really use it on windows
[23:49] Mezriss: by it I've meant process ID
[23:53] st_luke has joined the channel
[23:53] samuelgoodwin has joined the channel
[23:54] aristidesfl has joined the channel
[23:55] johannkerr has joined the channel
[23:56] diogogmt has joined the channel
[23:56] Vertice has joined the channel
[23:57] johannkerr has left the channel
[23:57] kenperkins has joined the channel
[23:57] igl has joined the channel