[00:01] tkaemming has joined the channel
[00:04] Swizec_ has joined the channel
[00:06] devongovett has joined the channel
[00:07] qbit_: how the heck does one tell hook.io to listen on address X.X.X.X ? or connect to x.x.x.x ?
[00:08] dwhittle has joined the channel
[00:08] jbpros has joined the channel
[00:09] bartt1 has left the channel
[00:10] qbit_: ohlawd - nm
[00:10] qbit_: figured it out
[00:11] sarlalian has left the channel
[00:14] bingomanatee: vkandy: what about chron itself makes you look for alternatives?
[00:15] vkandy: bingomanatee: i was using node_schedule and its the second time since dec 1 that a trigger didnt fire
[00:16] vkandy: i need a trigger to fire on non-regular intervals
[00:17] raincole_ has joined the channel
[00:19] jstash has joined the channel
[00:19] c4milo has joined the channel
[00:20] SirFunk: is there a best-practices way to split my app.get() bits in express into seperate files?
[00:20] c4milo: SirFunk: I usually do require('./lib/mymodule')(app); in app.js
[00:21] jacobolus has joined the channel
[00:21] SirFunk: c4milo: and then just have the normal app.whatever calls in that file?
[00:22] c4milo: SirFunk: yes
[00:22] sh1mmer has joined the channel
[00:23] SirFunk: is there a handy way to batch import a folder like that?
[00:25] k1ttty has joined the channel
[00:25] mara has left the channel
[00:26] blup has joined the channel
[00:26] ^^_ has joined the channel
[00:27] jackyyll: so i'm having a problem.. all of my nodejs processes are using 600MB+ memory
[00:28] bnoordhuis: jackyyll: why is that a problem?
[00:28] jackyyll: well.. that's a lot of memory for a process to be using :o
[00:28] Shaunzie: jackyyll: *nix or windows?
[00:28] jackyyll: nix
[00:28] Shaunzie: jackyyll: how are you checking to the memory usage?
[00:28] jackyyll: ps
[00:28] Heisenmink has joined the channel
[00:29] bnoordhuis: are you looking at VIRT/VSIZE or RSS?
[00:29] jackyyll: VSZ
[00:30] k1ttty_ has joined the channel
[00:30] rwaldron has joined the channel
[00:30] jackyyll: in ps
[00:31] mark_azevedo has joined the channel
[00:31] bnoordhuis: jackyyll: and what's RSS at?
[00:31] mikeal has joined the channel
[00:31] jackyyll: 9752
[00:32] k1ttty__ has joined the channel
[00:34] bnoordhuis: jackyyll: so that's what the node process is really using
[00:34] jackyyll: well still, it's using a lot of virtual memory as well
[00:34] bnoordhuis: virtual memory includes memory mapped files, shared libraries, etc.
[00:37] FredrIQ has joined the channel
[00:37] Hebo has joined the channel
[00:39] Alpha|home has joined the channel
[00:39] c4milo has joined the channel
[00:42] satyr has joined the channel
[00:42] tilgovi has joined the channel
[00:43] marcello3d has joined the channel
[00:45] CIA-101: libuv: 03Ben Noordhuis 07v0.6 * r0e6e4ab 10/ src/unix/udp.c :
[00:45] CIA-101: libuv: unix: fix udp recv_start refcount
[00:45] CIA-101: libuv: Calling uv_udp_recv_start() should not bump the event loop's reference count.
[00:45] CIA-101: libuv: Fixes failing test udp_ref2. - http://git.io/egnvGw
[00:46] dharmesh has joined the channel
[00:46] mikeal has joined the channel
[00:49] JaKWaC has joined the channel
[00:50] SirFunk: ok this keeps confusing me about node
[00:51] Shaunzie: SirFunk: what?
[00:51] SirFunk: i have socket.io in my main app.js ... if i split off my express routes into modules.. how can i do io.socket.emit s from the modules, they won't know about the socket connection
[00:52] Shaunzie: SirFunk: you would have to tell your modules about the connection.
[00:52] Shaunzie: I normally use my app instance as a makeshift registry object and pass that into my modules and pull what ever I need out of it.
[00:52] [[zz]] has joined the channel
[00:52] plutoniix has joined the channel
[00:53] SirFunk: hmm
[00:53] SirFunk: don't suppose you have en example?
[00:53] Shaunzie: app.socket_io = socket_io_instance
[00:53] Shaunzie: my_module = require('__PATH_HERE__')
[00:54] Shaunzie: my_module(app)
[00:54] Shaunzie: within the module
[00:54] Shaunzie: module.exports = function(app) { … }
[00:54] xtianw: SirFunk: could also just make the connection global
[00:56] SirFunk: so as long as you make the vars property of app before you require module(app) it gets passed?
[00:56] Edy has joined the channel
[00:56] Edy has joined the channel
[00:56] Hebo_ has joined the channel
[00:57] SirFunk: ack gotta run, i'll play with it. thanks
[00:58] joshfinnie has joined the channel
[00:59] mc_greeny1 has joined the channel
[00:59] subhaze has joined the channel
[01:00] mikeal has joined the channel
[01:02] jakehow has joined the channel
[01:02] nickdc has joined the channel
[01:04] superlou has joined the channel
[01:05] metaverse has joined the channel
[01:07] superlou: Hi folks. I'm new to the node.js ecosystem, so I was hoping for a little advice on system architectures. I'm a fan of MVC single page design, and have gone through some express tutorials. I was wondering if backbone.js and it's routers steps on too much of express's roles to be elegant, or if they can complement each other?
[01:08] k1ttty has joined the channel
[01:08] tim_smart has joined the channel
[01:12] munro: superlou: you can use backbone's models and collections on the server side, but backbone doesn't route HTTP requests, it routes the browser's hash location, so it doesn't make sense to use that
[01:15] CIA-101: node: 03Ben Noordhuis 07v0.6 * rf0c1376 10/ (lib/net.js test/simple/test-net-connect-buffer.js):
[01:15] CIA-101: node: net: make .write() throw on bad input
[01:15] CIA-101: node: Passing a non-buffer or non-string argument to Socket.prototype.write triggered
[01:15] CIA-101: node: an assert:
[01:15] CIA-101: node: Assertion failed: (Buffer::HasInstance(args[0])), function Write,
[01:15] CIA-101: node: file ../src/stream_wrap.cc, line 289.
[01:15] CIA-101: node: Fixes #2532. - http://git.io/e5EPeQ
[01:17] descipher has joined the channel
[01:18] hlobil has joined the channel
[01:19] superlou: munro, ok. So then you'd still use expressjs for routing gets and posts type stuff?
[01:19] rurufufuss has joined the channel
[01:22] xtianw: superlou: Yep
[01:22] cjm has joined the channel
[01:23] superlou: Ah.
[01:23] superlou: Ok. I guess I can't use that as an excuse to cut out learning about express more
[01:23] superlou: I'm so used to the client and server being so seperate. I have to get used to the fact that they're "together" but still do both parts
[01:23] munro: superlou: instead of backbone models I would use an orm like mongoose (for mongodb)
[01:24] superlou: munro, I've heard things about mongoose, but mostly with another MVC framework talking to it.
[01:25] superlou: If you leave out backbone and the views stuff, aren't you stuck keeping track of the DOM yourself?
[01:25] CIA-101: libuv: 03Igor Zinkovsky 07master * r2651273 10/ (5 files in 4 dirs): remove uv_thread_self - http://git.io/WsfJrw
[01:26] munro: you gotta build the DOM with a template rendering, there isn't one to keep track of on the server
[01:26] siddhion has joined the channel
[01:26] munro: s/rendering/render/
[01:26] dthompso99 has joined the channel
[01:27] dthompso99: dang, gnome3 stole my idea
[01:27] torm3nt has joined the channel
[01:27] munro: s!s/rendering/render/!s/rendering/renderer/!
[01:27] munro: there we go
[01:27] munro: got it that time
[01:27] superlou: ? sorry?
[01:27] munro: just fixing my engrish
[01:27] superlou: oh, ah.
[01:28] nicholasf has joined the channel
[01:28] superlou: So then what would you suggest for template rendering?
[01:28] superlou: or custom for the app?
[01:28] munro: all I know is I hate mustache, lol
[01:28] superlou: so mongoose can be a model all in itself?
[01:29] superlou: i never thought of it that way
[01:29] joshsmith: ryanrolds_w: was that you who answered my SO questio?
[01:29] qsobad has joined the channel
[01:29] joshsmith: er, *question
[01:29] ryanrolds_w: Yes.
[01:29] joshsmith: sweet, thanks
[01:30] ryanrolds_w: The only other Ryan Olds' on the internet are lawyers and used car salesmen.
[01:30] aheckmann has joined the channel
[01:30] joshsmith: all standup folks, I assume
[01:30] aheckmann has left the channel
[01:30] ryanrolds_w: They are maybe.
[01:32] davehamptonusa has left the channel
[01:32] ryanrolds_w: joshsmith: If you need any more info about that question just ask.
[01:34] azeroth__ has joined the channel
[01:34] joshsmith: thanks, we're maybe preparing to go to dinner right now so I was interrupted in talking to you about it
[01:35] joshsmith: I'll probably readdress later
[01:35] davidbanham has joined the channel
[01:36] criswell has joined the channel
[01:36] jtsnow has joined the channel
[01:37] keeto has joined the channel
[01:37] ryanrolds_w: joshsmith: I'm about to leave work, so hit up the non _w user.
[01:37] astropirate has joined the channel
[01:38] joshsmith: ah that's what the _w means
[01:38] cognominal has joined the channel
[01:38] joshsmith: you in cali ryanrolds_w ?
[01:38] superlou: Now, I know that node.js is all about finding what works best for your app, but as a new learner, is there a recommended stack that the community favors for complex one-page apps?
[01:39] joshsmith: superlou: if it's a one-page app something client-side would work best
[01:39] joshsmith: superlou: you *could* use Express but that's probably overkill for what you want
[01:39] _rockbot_ has joined the channel
[01:39] superlou: I was going to take a stab at making a chat page since that seems to be the node.js version of hello world :)
[01:39] xtianw: I don't think Express is overkill
[01:39] superlou: And try expanding it to simultaneous chat windows or something
[01:40] ryanrolds_w: For a single page app you're going to get a lot of mileage with stocket.io, dnode or one of the alternatives.
[01:40] xtianw: I use it for everything
[01:40] superlou: socket.io looks awesome (based on the little i've read)
[01:40] superlou: Express doesn't seem too heavy (though I'm used to rails)
[01:41] isufy has joined the channel
[01:41] ryanrolds_w: Express is awesome for routing and tacking in session, auth, views and a small static file serve.
[01:42] joshsmith: xtianw: I do, too, but I think for a one-page app the heavy lifting is going to be done by something other than Express itself
[01:42] superlou: So if i was building a chat app (or anything heavily client side) express could serve the pages?
[01:42] superlou: i like expresses' routing helpers since they remind me of rails
[01:42] ryanrolds_w: It could serve the page that bootstraps your client and the files needed by the client.
[01:43] ryanrolds_w: And a login page if you have it.
[01:43] joshsmith: yeah anything else like JS models/views would be handled by something like Backbone, Agility, etc.
[01:43] superlou: ok
[01:43] superlou: so they're not really stepping on each other, since htey're in completely seperate domains
[01:44] ravjot has joined the channel
[01:44] fomatin has joined the channel
[01:44] innoying has joined the channel
[01:44] Poetro has joined the channel
[01:44] joshsmith: I mean, they *could* overlap, but they are pretty separate concerns
[01:44] idefine_ has joined the channel
[01:44] methodT_ has joined the channel
[01:45] superlou: well, backbone's routing is really just dealing with the stuff after #, and express couldn't care less about that
[01:45] keeto has joined the channel
[01:46] FredrIQ has joined the channel
[01:47] superlou: and the models/templates can be all backbonejs if there's no state to remember
[01:47] superlou: and if there is, i guess i could tie backbone's models to mongodb via mongoose
[01:47] superlou: or just let mongoose be the model?
[01:48] ger^kallisti_ has joined the channel
[01:50] sdwrage has joined the channel
[01:50] rwaldron has joined the channel
[01:51] jakehow_ has joined the channel
[01:52] sdwrage has joined the channel
[01:52] superlou: Any of you folks use webstorm, or is it a waste of time?
[01:53] superlou: I was a big rubymine hater until I tried it, but found it pretty awesome when I swallowed my text editor pride
[01:55] luc_ has joined the channel
[01:57] keeto has joined the channel
[01:57] Hanspolo_ has joined the channel
[01:57] wingie: superlou: cloud9ide
[01:58] wingie: anything else is dinosaur
[01:58] superlou: cloudbased ide?
[01:58] superlou: really?
[01:58] wingie: also local
[01:58] wingie: that product retires everything else
[01:59] wingie: based on node.js so you can run it locally
[01:59] wingie: check out the hosted version though
[02:00] wingie: with the latest changes you can have your stuff on the cloud instead
[02:00] wingie: no need to maintain installations in local machine .. it's a relief
[02:00] wingie: fully integrated with heroku as well
[02:01] superlou: deploys nodejs?
[02:01] wingie: yepp
[02:01] wingie: one click
[02:01] wingie: integrated with github .. bitbucket
[02:02] wingie: vim is gone for me
[02:02] wingie: webstorm is history
[02:02] superlou: that's seductive
[02:02] wingie: history!
[02:02] superlou: entice me!
[02:02] wingie: they are not in the same league
[02:03] cody-- has joined the channel
[02:04] wingie: but its maninly for web dev
[02:05] aroman has joined the channel
[02:05] superlou: I'll have to look into it more
[02:06] wingie: yeah in 2 min i will see if i can use the hosted version only
[02:06] wingie: the only issue atm is that you can't run binaries
[02:06] superlou: oh?
[02:06] wingie: but that will change when they launh private vms
[02:09] superlou: this sounds like coolaid
[02:10] wingie: thats good or bad?
[02:10] superlou: depends on flavor
[02:10] wingie: :)
[02:11] superlou: if i didn't do the cloud route, is there a suggested fallback?
[02:11] gavin_huang has joined the channel
[02:12] mc: fruit punch, it's good
[02:12] mc: lemon lime, i'll punch you in your face
[02:13] CarterL has joined the channel
[02:14] brianseeders has joined the channel
[02:14] wingie: cloud9 local
[02:14] christkv has joined the channel
[02:15] saesh has joined the channel
[02:16] devongovett has joined the channel
[02:17] wingie: okay .. the hosted one doesn't support the latest node
[02:17] wingie: so a no go yet
[02:18] drudge23 has joined the channel
[02:19] blueadept has joined the channel
[02:19] blueadept has joined the channel
[02:21] te-brian2 has joined the channel
[02:21] context: VMS ?
[02:21] context: wingie: you use c9 ? you like it ?
[02:22] wingie: Virtual machines
[02:22] wingie: the best IDE ever
[02:22] context: you can run it locally?
[02:22] context: without inet ?
[02:23] wingie: yepp
[02:23] context: how
[02:23] wingie: git clone
[02:23] wingie: git submodule update --init --recursive
[02:24] ryanfitz has joined the channel
[02:24] wingie: bin/cloud9.sh
[02:24] context: huh
[02:24] context: oh.
[02:24] context: then why pay for it
[02:24] superlou: well, i'm gonna stick with gedit for a bit until i understand some more. Code completion would be awesome though
[02:24] wingie: hosted...integration with services etc
[02:24] context: i switch between MacVim and textmate
[02:25] wingie: anyway have to go cu
[02:25] superlou: ok. Thanks for the advice
[02:25] superlou: i'm out too. Later folks
[02:27] disappearedng has joined the channel
[02:27] disappearedng has joined the channel
[02:27] peregrine81 has joined the channel
[02:30] Juan77 has joined the channel
[02:30] christkv has joined the channel
[02:30] aroman has left the channel
[02:31] jaequery has joined the channel
[02:31] reid has joined the channel
[02:31] amigojapan has joined the channel
[02:32] pV has joined the channel
[02:32] maletor has joined the channel
[02:34] flipen has joined the channel
[02:38] christkv_ has joined the channel
[02:40] zitchdog has joined the channel
[02:43] christkv_ has joined the channel
[02:45] lzskiss has joined the channel
[02:48] tomlion has joined the channel
[02:50] joshsmith has joined the channel
[02:50] markq: anyone here?
[02:50] markq: i have an express related question
[02:50] markq: hopefully someone can answer it
[02:50] tjfontaine: it's easier to ask than it is to ask to ask
[02:51] pV: join #express
[02:51] markq: so I was reading the guide on express and i don't quite understand req.header(key[, defaultValue])
[02:51] markq: it shows req.header('host'); as an example but what would I use it for?
[02:53] qsobad has joined the channel
[02:54] pizthewiz has joined the channel
[03:02] jsurfer has joined the channel
[03:02] MUILTR has joined the channel
[03:03] kuhrt has joined the channel
[03:03] gregpasc_ has joined the channel
[03:06] gregpasc_ has joined the channel
[03:06] horieyui has joined the channel
[03:10] icrazyhack has joined the channel
[03:11] captain_morgan has joined the channel
[03:12] horieyui has joined the channel
[03:15] icrazyhack has joined the channel
[03:15] willwhite has joined the channel
[03:15] johnnychimpo has joined the channel
[03:16] mikeal has joined the channel
[03:17] descipher_ has joined the channel
[03:27] tez has joined the channel
[03:28] tez: hey guys I had a question about express res.render()
[03:29] tez: the 2nd arg to res.render is passed to a view engine's compile function, which could potentially leak sensitive app info to the rendered template
[03:30] tez: the 2nd arg is a options object which contains sensitive app info
[03:30] tez: e.g. # of connections, cache, events
[03:31] satyr has joined the channel
[03:34] zomg: tez: if you're worried about it leaking, don't put it in the object
[03:35] zomg: Although it shouldn't really be a problem assuming you don't run templates from 3rd parties
[03:35] tez: express is passing in the object, not me
[03:35] zomg: ...huh?
[03:36] tez: and it could be easily collide with template variables because there is no namespacing in the object
[03:36] tez: try this
[03:36] zomg: I'm not quite sure what you mean.. at least when I call res.render, I'm the one calling it and passing the stuff
[03:36] tez: app.configure(function () { app.register('.mustache', { compile: function (str, options) { console.log('\n\n\n\noptions', options) } }); });
[03:37] JKarsrud has joined the channel
[03:37] tez: if you call app.configure()
[03:37] tiglionabbit has joined the channel
[03:37] tez: and inside app.configure you register a view engine, as I did in the code I pasted above
[03:37] tez: the compile() function is passed the `options` object, and proceeds to compile the template
[03:38] zomg: Right so even if you call res.render('sometemplate', { }) it still gets the options object?
[03:38] zomg: Eg. render with an empty view vars object
[03:38] tez: since `options` merges the template local variables with the express top level object
[03:39] zomg: Right
[03:40] beawesomeinstead has joined the channel
[03:40] zomg: I'm not that familiar with express internals but I just tested and at least with ejs I can't really find a way to access that stuff
[03:40] majek has joined the channel
[03:41] chunhao_ has joined the channel
[03:41] garann has joined the channel
[03:41] sriley has joined the channel
[03:42] zomg: nvm
[03:42] zomg: it's there all right
[03:42] tez: what do you think
[03:42] k1ttty has joined the channel
[03:42] zomg: <%= root %> <- outputs the value from the root prop
[03:42] zomg: even though I enver passed it
[03:42] tez: exactly
[03:43] tez: thats what I mean
[03:43] JasonSmith has joined the channel
[03:43] zomg: I would assume it would get overwritten by any template var with the same name
[03:43] tez: bc that whole object gets passed to the template
[03:43] tez: that too
[03:43] jayniz has joined the channel
[03:43] jayniz has joined the channel
[03:43] jayniz has joined the channel
[03:43] zomg: and as said it isn't an issue unless you run untrusted templates
[03:43] heatxsink has joined the channel
[03:44] nym has joined the channel
[03:44] Fabryz has joined the channel
[03:44] cmwelsh has joined the channel
[03:44] iaincarsberg has joined the channel
[03:44] justicefries has joined the channel
[03:44] strmpnk has joined the channel
[03:44] jerrysv has joined the channel
[03:45] olegp has joined the channel
[03:46] terite has joined the channel
[03:46] dthompso99 has joined the channel
[03:46] svnlto has joined the channel
[03:46] tez has left the channel
[03:46] JKarsrud has joined the channel
[03:47] gerard0 has joined the channel
[03:48] silky has joined the channel
[03:49] dthompso99 has left the channel
[03:49] niftylettuce has joined the channel
[03:49] tomh has joined the channel
[03:49] wycats has joined the channel
[03:50] bradwright has joined the channel
[03:53] amigojapan has joined the channel
[03:55] blueadept has joined the channel
[03:56] _dc has joined the channel
[03:56] owenb has joined the channel
[03:56] ralph has joined the channel
[03:57] Aria has joined the channel
[03:57] relix has joined the channel
[03:57] lmatteis has joined the channel
[03:58] kalv has joined the channel
[03:58] Raynos has joined the channel
[03:58] dscape has joined the channel
[03:59] sumon has joined the channel
[04:00] caludio has joined the channel
[04:04] langworthy has joined the channel
[04:05] IrishGringo has joined the channel
[04:05] jeremyselier has joined the channel
[04:06] jgaui2 has joined the channel
[04:06] mrb_bk has joined the channel
[04:07] Hebo has joined the channel
[04:09] dilvie has joined the channel
[04:10] jtsnow has joined the channel
[04:11] ajpiano has joined the channel
[04:11] mandric has joined the channel
[04:12] jxie has joined the channel
[04:13] enmand has joined the channel
[04:15] booo has joined the channel
[04:16] sveisvei has joined the channel
[04:16] satyr has joined the channel
[04:20] Hosh has joined the channel
[04:22] captain__ has joined the channel
[04:22] ovaillancourt has joined the channel
[04:23] warz has joined the channel
[04:23] warz has joined the channel
[04:23] subhaze has joined the channel
[04:24] joshfinnie has joined the channel
[04:26] tiglionabbit has joined the channel
[04:26] froseph has joined the channel
[04:28] RexM has joined the channel
[04:30] dudeinthemirror has joined the channel
[04:30] NetRoY has joined the channel
[04:31] iaincarsberg has joined the channel
[04:32] orospakr has joined the channel
[04:34] dr0id has joined the channel
[04:35] jetheredge has joined the channel
[04:35] bradleymeck has joined the channel
[04:35] satyr has joined the channel
[04:36] bradleymeck: is there a way to test if a node worker has no timeouts etc (ie. can be killed assuming it can close its comm channel)
[04:36] lwille has joined the channel
[04:37] pksunkara has joined the channel
[04:37] Fabryz has joined the channel
[04:37] justicefries has joined the channel
[04:38] nym has joined the channel
[04:39] niftylettuce has joined the channel
[04:39] Raynos has joined the channel
[04:39] wingie has joined the channel
[04:41] frnkkpp has joined the channel
[04:41] terite has joined the channel
[04:42] kalv has joined the channel
[04:42] heatxsink has joined the channel
[04:42] jesusabdullah: what do you mean by "no timeouts" ?
[04:42] jeremyselier has joined the channel
[04:42] jesusabdullah: I'm not sure I know the answer but maybe I can help you brainstorm?
[04:43] wycats has joined the channel
[04:43] tanepiper has joined the channel
[04:44] bradleymeck: jesusabdullah, when you have uvhandles keeping node open
[04:44] chunhao_ has joined the channel
[04:44] bradleymeck: i want to know when the process.fork one is the only one left
[04:44] jayniz has joined the channel
[04:44] jayniz has joined the channel
[04:44] jayniz has joined the channel
[04:44] jesusabdullah: hmmmm
[04:45] jergason has joined the channel
[04:45] HardBit has joined the channel
[04:46] sriley has joined the channel
[04:46] relix has joined the channel
[04:46] svnlto has joined the channel
[04:47] JKarsrud has joined the channel
[04:48] bacon000 has joined the channel
[04:50] ryanseddon has joined the channel
[04:51] strmpnk has joined the channel
[04:51] screenm0nkey_ has joined the channel
[04:52] whoops has joined the channel
[04:52] blissdev has joined the channel
[04:56] tkro has joined the channel
[04:58] mrchess has joined the channel
[04:59] bradleymeck: ryah_, ping?
[05:00] dscape has joined the channel
[05:00] dilvie has joined the channel
[05:02] NetRoY has joined the channel
[05:03] ralph has joined the channel
[05:03] dubenstein has joined the channel
[05:04] devongovett has joined the channel
[05:05] cmwelsh has joined the channel
[05:05] tiglionabbit has joined the channel
[05:05] daleharvey has joined the channel
[05:06] tomh has joined the channel
[05:06] RexM has joined the channel
[05:07] olegp has joined the channel
[05:07] mrb_bk has joined the channel
[05:11] garann has joined the channel
[05:12] jrbaldwin has joined the channel
[05:12] MarkMenard has joined the channel
[05:15] criswell has joined the channel
[05:15] satyr has joined the channel
[05:16] sveisvei has joined the channel
[05:16] owenb has joined the channel
[05:16] Hosh has joined the channel
[05:16] tuhoojabotti: pong
[05:17] lmatteis has joined the channel
[05:17] catshirt has joined the channel
[05:18] dnyy has joined the channel
[05:19] willwhite has joined the channel
[05:21] amigojapan has joined the channel
[05:24] Phoenixz has joined the channel
[05:24] Phoenixz has joined the channel
[05:25] josh-k has joined the channel
[05:25] brianloveswords has joined the channel
[05:26] bradleymeck: tuhoojabotti, ?
[05:26] tuhoojabotti: I can't resist.
[05:27] JasonSmith has joined the channel
[05:27] tuhoojabotti: I'm pretty good at Pong.
[05:27] sh1mmer has joined the channel
[05:27] jgaui2 has joined the channel
[05:27] bradleymeck: tuhoojabotti, any idea how to detect when node.fork's child is only being kept alive by the comm channel?
[05:27] context: ACTION patiently waits for packages to install on his new iMac
[05:28] torm3nt has joined the channel
[05:28] tuhoojabotti: bradleymeck: I haven't done child process stuff a lot.
[05:28] fcoury has joined the channel
[05:28] majek has joined the channel
[05:28] context: bradleymeck: shouldn't the child close the comm channel if it wants to die
[05:29] context: or... just commit suicide, whether the channel is closed or not
[05:29] bradleymeck: i don't want to call process.exit, as i am unsure when it will end
[05:29] bradleymeck: and i do need it to send data to the parent
[05:30] bradleymeck: s/need/want/
[05:30] context: so send data then call process.exit ?
[05:30] bradleymeck: i don't know if a timeout is waiting to send more data later :)
[05:30] context: but that is actually a good channel.
[05:30] boltR has joined the channel
[05:30] context: i way to know there is nothing in the 'queue' for nexttick
[05:30] bradleymeck: since this is for a sandbox
[05:30] joshsmith: is Brian Noguchi ever in IRC?
[05:31] jesusabdullah: don't think so
[05:31] jesusabdullah: I mean, maybe a few times
[05:32] joshsmith: I'd really like to not have to fork everyauth for this tiny change
[05:32] joshsmith: I want him to roll it in now :(
[05:33] jesusabdullah: dammit, writer's block
[05:36] joshsmith: ergh, what's the best way to include a module that you didn't install by npm?
[05:38] chltjdgh86 has joined the channel
[05:38] Xenadi has joined the channel
[05:38] markq: require('./moduleName')
[05:38] joshsmith: I'm doing that, but it fails to find other modules
[05:38] bradleymeck: ugg i wish i could use ev_unref from js easily
[05:38] joshsmith: do I have to manually edit those files to make the dependencies work?
[05:39] markq: edit which files?
[05:39] joshsmith: the library's files
[05:39] markq: shouldn't need to
[05:39] remysharp has joined the channel
[05:40] meso has joined the channel
[05:40] jesusabdullah: markq: I like to cd into node_modules and git clone the module there
[05:40] context: doesnt node auto-include ./lib and node_modules into its load path
[05:40] jesusabdullah: then it'll work like you want it to
[05:40] jesusabdullah: idk about ./lib but node_modules yeah
[05:41] joshsmith: markq: when I do the require that way, I now get "object is not a function"
[05:41] context: ahh nm
[05:41] context: then you are using it inproperly?
[05:41] context: improperly*
[05:42] joshsmith: I'm using it the exact same way as if it were npm installed
[05:42] context: why not just install the module and use it that way
[05:42] joshsmith: literally all I changed is cloning the git repo (my fork)
[05:42] joshsmith: because I need to fork it
[05:42] joshsmith: I submitted a pull request, but until then, I need the fork
[05:42] context: you can still include it the same way
[05:43] joshsmith: I *am* including it the same way
[05:43] context: if it really is in node_modules the same exact way
[05:43] context: then your code is broke
[05:43] context: you are calling something as a function that is not a function, so find out what it is
[05:43] joshsmith: I don't think I can place it in node_modules
[05:43] jesusabdullah: yes you can
[05:43] jesusabdullah: and you should
[05:43] joshsmith: will it upload to jitsu jesusabdullah ?
[05:44] joshsmith: I thought jitsu does its own thing to node_modules based on package.json dependencies
[05:44] jesusabdullah: joshsmith: in your package.json, make it a bundledDependency instead
[05:44] jesusabdullah: bundledDependencies: [ 'myModule' ]
[05:44] joshsmith: ahhh
[05:45] jesusabdullah: jitsu uses npm, and by extension npm's bundling rules
[05:45] joshsmith: that's what I was missing
[05:45] joshsmith: thank you
[05:45] jesusabdullah: anytime :)
[05:46] joshsmith: jesusabdullah: you've helped me more times than I can count already
[05:46] joshsmith: my wife is trying to learn programming and I told her to lean very heavily on IRC
[05:46] joshsmith: she's like "people will just help you?"
[05:46] jesusabdullah: Hey, nodejitsu support is kinda part of the job XD
[05:46] meso has joined the channel
[05:46] joshsmith: yes, dear. they will
[05:46] jesusabdullah: but everything in here is volunteer
[05:46] jesusabdullah: honestly I'd probably volunteer anyway
[05:46] joshsmith: I mean, internet points. amirite?
[05:47] joshsmith: and "helping people", of course
[05:47] AntonyB has joined the channel
[05:47] joshsmith: but really internet points
[05:47] jesusabdullah: tssch
[05:48] kuhrt has joined the channel
[05:49] incon has joined the channel
[05:49] joshsmith: thanks for the domain help earlier, too, jesusabdullah. got everything setup correctly
[05:50] jesusabdullah: awesome! Good to hear
[05:51] pizthewiz has joined the channel
[05:52] bradwright has joined the channel
[05:54] joshsmith: LinkedIn's usage of oAuth is retarded
[05:56] NetRoY has joined the channel
[05:57] joshsmith: why would they have both authorize and authenticate when authenticate is more universal?
[05:57] satyr has joined the channel
[05:58] markq: nodejitsu is free right?
[05:58] joshsmith: FOREVER
[05:58] joshsmith: *crosses fingers*
[05:58] markq: why though
[05:58] markq: how do they make money?
[05:58] joshsmith: no, I doubt it's forever :p
[05:59] markq: or at least pay for expenses
[05:59] joshsmith: they'll probably charge after beta
[05:59] markq: yeah
[06:00] markq: I'm really happy about how vibrant the node community is though
[06:00] takumina1ion has joined the channel
[06:00] markq: nodejitsu, nodester, no.de, cloud9 all trying to at least push node.js out there
[06:00] markq: gives an incentive for people to switch to pure stacks
[06:01] markq: actually not pur stacks
[06:01] markq: but nevertheless pushing node out there
[06:03] spolu has joined the channel
[06:03] smathy has joined the channel
[06:04] joshsmith has joined the channel
[06:04] joshsmith: markq: where you work, dude?
[06:04] bradleymeck: using uv_unref(uv_default_loop()) makes me a sad panda
[06:04] thirdknife has joined the channel
[06:04] pauls1 has joined the channel
[06:04] jergason has joined the channel
[06:05] bradleymeck: want process.unref() for my logging channels to not force the process to stay open
[06:05] joshsmith: bradleymeck should make a bot that comes in every 30 minutes and says something sad about uv_unref
[06:05] bradleymeck: joshsmith i should
[06:05] bradleymeck: more i just want unref in js land by default, dont care for ref
[06:06] bradleymeck: im just reading code and unref is completely non-portable between minor revisions
[06:06] bradleymeck: s/minor//
[06:07] joshsmith: what I want is a better way to check for undefined in js
[06:07] joshsmith: typeof whatever === 'undefined' is just too verbose
[06:08] christkv has joined the channel
[06:08] jrbaldwin has joined the channel
[06:08] Vennril has joined the channel
[06:09] mattgifford has joined the channel
[06:10] bradleymeck: joshsmith with the not-declared errors yea it gets painful
[06:10] jrbaldwin has joined the channel
[06:10] Hebo has joined the channel
[06:10] joshsmith: yeah, *extremely*
[06:11] joshsmith: I was having that issue with LinkedIn's API
[06:11] joshsmith: because there's so much I need to pull
[06:11] joshsmith: but so much I need to check for undefined
[06:11] jakehow has joined the channel
[06:12] bradleymeck: if its not a variable name (if its just a property) checking against void(0) or == null is generally good enough
[06:14] harthur has joined the channel
[06:17] dnjaramba has joined the channel
[06:19] norviller has joined the channel
[06:20] Hebo has joined the channel
[06:21] samstefan_ has joined the channel
[06:23] jrbaldwin has joined the channel
[06:23] mike5w3c has joined the channel
[06:25] Shaunzie has joined the channel
[06:26] yolin has joined the channel
[06:27] isaacs_lunch has joined the channel
[06:28] tuhoojabotti: mmm, lunch
[06:29] JmZ_ has joined the channel
[06:30] jrbaldwin has joined the channel
[06:32] frnkkpp has joined the channel
[06:34] ziro`_ has joined the channel
[06:36] rohitcolinrao has joined the channel
[06:39] dnjaramba_ has joined the channel
[06:40] robde has joined the channel
[06:44] fbartho has joined the channel
[06:45] tauren_ has joined the channel
[06:48] LeMike has joined the channel
[06:48] joshfinnie has joined the channel
[06:50] tkro has joined the channel
[06:51] yawNO has joined the channel
[06:52] boltR has joined the channel
[06:52] mrchess has joined the channel
[06:53] disappearedng: http://stackoverflow.com/questions/8832414/overriding-socket-ios-emit-and-on/ Anyone able to help?
[06:58] confoocious has joined the channel
[07:03] ryanfitz has joined the channel
[07:08] rurufufuss has joined the channel
[07:09] k1ttty has joined the channel
[07:11] yawNO has joined the channel
[07:14] pluc has joined the channel
[07:17] curtischambers has joined the channel
[07:17] shadowshell has joined the channel
[07:22] phire has joined the channel
[07:22] phire: website scraping: node.io vs phantomjs…..any recommendations
[07:23] xer0x has joined the channel
[07:24] indexzero has joined the channel
[07:25] context: phire: use whichever one best suites your needs or style of coding?
[07:26] phire: context: i am going through the examples on both to figure out which i will prefer a week from now
[07:26] phire: i had my mind set on node.io but then just test saw phantomjs
[07:26] phire: the use case is rather simple, scraping a bunch of websites
[07:27] phire: as scheduled jobs to populate in mongo
[07:27] phire: not realtime
[07:27] slaskis has joined the channel
[07:27] phire: phantom style seems easier to read, as in the api
[07:28] phire: but was wondering if there are things one is better suited than the other
[07:28] amasad has joined the channel
[07:30] mandric has joined the channel
[07:30] phire: one thing phantom seems to have is rendering of images
[07:30] phire: that sounds like a cool feature
[07:33] lz has joined the channel
[07:33] isufy has joined the channel
[07:33] disappearedng: Anyone able to help? https://gist.github.com/dd6049e3b26e144e07c6 somehow I am not getting the console.log to fire
[07:37] disappearedng: Wow so it turns out that I messed up never mind
[07:37] disappearedng: NEVER override socket.emit
[07:37] yawNO: lol
[07:37] yawNO: shouldn something like
[07:37] yawNO: cached = socket.emit;
[07:38] RLa has joined the channel
[07:38] yawNO: socket.emit = function{.... cached.apply(null, arguments);}
[07:38] yawNO: work?
[07:38] disappearedng: https://gist.github.com/638df5d18371aa740e48
[07:39] mikeal has joined the channel
[07:39] disappearedng: well you need cached.apply(socket to be the context though otherwise you will raise an error
[07:39] yawNO: why are you using call?
[07:39] disappearedng: wtf is wrong with this code that I wrote?
[07:39] Morkel has joined the channel
[07:39] yawNO: also i dunno if socket.emit relies on this
[07:40] yawNO: you should prolly cache emit in the socket obj
[07:40] jrbaldwin has joined the channel
[07:40] yawNO: so you don't mess up scopes
[07:40] disappearedng: yawNo care to explain?
[07:40] disappearedng: I am by far proficient in JS so this context scope hack is pretty foreign to me
[07:41] yawNO: i actually don't know if it works
[07:41] churp has joined the channel
[07:41] yawNO: but it makes sense to me.. it might be wrong
[07:41] yawNO: *i might
[07:41] disappearedng: well this works
[07:41] disappearedng: what I have actually works now
[07:41] disappearedng: I used call rather than apply
[07:42] yawNO: i saw now the socket obj in call, sry
[07:43] markq: really interesting: http://salvatore.sanfilippo.usesthis.com/
[07:44] yolin has joined the channel
[07:45] disappearedng: yawNO: I tried doing the same thing with socket.on https://gist.github.com/7738856749ae1df4ffdc Doesn't seem to work. Any thoughts?
[07:45] disappearedng: I try to wrap each callback with an additional functional wrap
[07:46] jrbaldwin has joined the channel
[07:47] phidah has joined the channel
[07:48] robde has joined the channel
[07:49] rendar has joined the channel
[07:49] gut4 has joined the channel
[07:52] azeroth_ has joined the channel
[07:54] davetayls has joined the channel
[07:58] tytsim has joined the channel
[08:02] stagas has joined the channel
[08:03] versicolor has joined the channel
[08:07] RexM: If I send up a custom header through an ajax post, why wouldn't it be listed in request.headers in express? For some reason it's not there in my node app, but chrome/firebug says it is being sent.
[08:07] polotek has joined the channel
[08:08] polotek: anybody hanging around here on a Friday night?
[08:08] niloy__ has joined the channel
[08:10] crodas has joined the channel
[08:11] TimTim has joined the channel
[08:11] nickdc has left the channel
[08:12] djbell has joined the channel
[08:12] paulwe has joined the channel
[08:12] jrbaldwin has joined the channel
[08:13] rendar_ has joined the channel
[08:14] churp has joined the channel
[08:16] yawNO: polotek: it's 9.15 am here
[08:16] yawNO: saturday morning
[08:16] yawNO: sry
[08:17] polotek: fair enough
[08:17] meso_ has joined the channel
[08:23] whitman has joined the channel
[08:25] level09 has joined the channel
[08:26] josh-k has joined the channel
[08:29] slaskis has joined the channel
[08:29] magnetik has joined the channel
[08:31] HT has joined the channel
[08:32] stagas has joined the channel
[08:32] aliem has joined the channel
[08:33] tytsim has joined the channel
[08:37] GrizzLyCRO has joined the channel
[08:40] xtianw has joined the channel
[08:41] fangel has joined the channel
[08:41] tkro has joined the channel
[08:41] jbpros has joined the channel
[08:43] Nss has joined the channel
[08:44] amasad has joined the channel
[08:44] aesptux has joined the channel
[08:45] mattgifford has joined the channel
[08:46] bitwalker has joined the channel
[08:49] qsobad has joined the channel
[08:50] cognominal_ has joined the channel
[08:52] jstonne has joined the channel
[08:52] stagas has joined the channel
[08:52] mikeal has joined the channel
[08:52] jarek has joined the channel
[08:53] jarek: is there a tool that would allow me to combine all modules into single file?
[08:53] syoyo has joined the channel
[08:53] jarek: I'm some sort of deployment tool
[08:53] jarek: s/I'm/I mean
[08:54] qsobad has joined the channel
[08:54] tuhoojabotti: :D
[08:54] tuhoojabotti: jarek: that was an interesting typo.
[08:55] opencod has joined the channel
[09:00] dubenstein has joined the channel
[09:03] garrensm_ has joined the channel
[09:04] RLa: what about cat?
[09:05] slaskis: jarek: isn't that what things like browserify does_
[09:05] SubStack: jarek: why do you want to combine modules into a single file?
[09:05] jarek: slaskis: browserify handles client-side code
[09:07] jarek: SubStack: I would like to keep my installer simple
[09:07] tytsim has joined the channel
[09:07] jarek: just index.html, style.css, client.js, server.js and node binary
[09:07] SubStack: ah
[09:08] hz has joined the channel
[09:08] SubStack: well I can't think of anything that's not hackish in that case
[09:08] SubStack: you can try using browserify with --no-prelude
[09:09] dubenstein has joined the channel
[09:09] jarek: SubStack: but browserify has so many dependencies :/
[09:10] snearch has joined the channel
[09:10] stonebranch has joined the channel
[09:10] SubStack: jarek: you would use browserify in your build step
[09:10] SubStack: not in the final distribution that you ship to people
[09:10] SubStack: is the idea
[09:10] jarek: ahh, I see
[09:11] adambeynon has joined the channel
[09:11] SubStack: there are also techniques for packing files into an executable
[09:12] Shaunzie has joined the channel
[09:13] SubStack: rolling multiple files into a single server.js is probably a lot of work though
[09:13] jetienne_ has joined the channel
[09:13] jarek: the major problem is how require() works
[09:13] jarek: it can accept relative paths which makes things a bit complicated
[09:13] SubStack: define your own require at the top of the file
[09:14] SubStack: I've got a module with the require resolution algorithm implemented without touching any i/o
[09:14] tdegrunt has joined the channel
[09:14] SubStack: https://github.com/substack/node-resolve
[09:15] jarek: SubStack: thanks, I will take a look
[09:15] SubStack: there's also path.resolve() from the builtin path module
[09:16] SubStack: well it /can/ be used without doing disk i/o I mean
[09:16] RLa: you can redefine require?
[09:16] RLa: but how would you delegate to old version of it?
[09:16] SubStack: RLa: require is just a plain-old function
[09:17] RLa: oh nice
[09:17] SubStack: nothing magic going on
[09:17] SubStack: unlike SOME languages amirite?
[09:17] RLa: yeah
[09:18] secoif has joined the channel
[09:19] Alpha|home has joined the channel
[09:20] jarek: is anyone working on source mappings support in Node.js?
[09:21] jarek: I mean the thing that will allow us to debug CoffeeScript
[09:23] jarek: currenly line numbers in error messages do not match the .coffee files
[09:23] braoru has joined the channel
[09:24] tkro has joined the channel
[09:24] mraleph has joined the channel
[09:24] agnat_ has joined the channel
[09:25] Shaunzie: mm can't you just compile the coffescript and check the rendered code?
[09:26] salva has joined the channel
[09:26] jarek: Shaunzie: it's not as convenient as debugging regular JS files
[09:26] stonebranch has joined the channel
[09:27] Shaunzie: jarek: but it's turned into javascript anyway isn't it?
[09:27] jarek: when there is an error in plain JS file, I get exact line number and column where it occurred
[09:28] jarek: Shaunzie: the current version of Coffeescript compiler allows for compilation on the fly (you don't even see the generated .js files)
[09:28] k1ttty has joined the channel
[09:29] megalomix has joined the channel
[09:29] Shaunzie: jarek: just because you don't see it doesn't mean it isn't being done...
[09:29] megalomix: hello everybody
[09:34] Hebo: hello
[09:34] Shaunzie: herro
[09:35] Kingdutch has joined the channel
[09:35] socketio\test\50 has joined the channel
[09:37] socketio\test\20 has joined the channel
[09:37] stagas has joined the channel
[09:38] staar2 has joined the channel
[09:38] staar2: hello
[09:38] Shaunzie: herro
[09:38] mertimor has joined the channel
[09:39] cognominal has joined the channel
[09:39] staar2: i have problem with readFile
[09:39] qsobad has joined the channel
[09:39] staar2: it returns raw buffer ?
[09:40] staar2: how i return readable data ?
[09:40] Shaunzie: buffer.toString()
[09:40] staar2: correct!
[09:42] megalomix: mysql drives me crazyyyyyyyyyyyyyyyyyyyyy
[09:42] Shaunzie: megalomix: it does that
[09:42] megalomix: i create a column called activated as i save it as DATETIME (default value = NULL) if i do ...... activated IS NULL (i get 18 rows) if i do activated IS NOT NULL (i get the same 18 rows �_�) ..................
[09:44] Shaunzie: megalomix: why do you want the value to be null?
[09:45] satyr has joined the channel
[09:45] megalomix: Shaunzie, but i have to set it only when the user will be activated
[09:46] megalomix: i do not want to create a tinyint column as set it to 1 = activated and 0 = not activated....because i also need the DATE
[09:46] Shaunzie: megalomix: what's wrong with having both?
[09:46] herbySk has joined the channel
[09:46] niloy__: in Javascript, is it possible to determine the function name from within a function?
[09:46] Shaunzie: megalomix: 0/1 is a much more efficient for an index that NULL/DATE
[09:47] megalomix: Shaunzie, no no is not worng but i really do not understand how IS NULL and IS NOT NULL can returns the same rows
[09:47] megalomix: Shaunzie, yes sure, so you advice me to have two columns ?
[09:47] boltR has joined the channel
[09:47] Shaunzie: megalomix: yup. keeps it simple.
[09:48] megalomix: ok
[09:48] megalomix: thank you very much
[09:48] k1ttty has joined the channel
[09:48] Shaunzie: megalomix: I can't tell you why is null/is not null doesn't work as it should. might have something to do with the table collation being use/storage engine.
[09:49] megalomix: btw .... i will use two columns....and i avoid to use IS NULL or IS NOT NULL
[09:49] megalomix: :d
[09:49] Shaunzie: niloy__: try FUNCTION.prototype.constructor.name
[09:49] Fuu has joined the channel
[09:49] niloy__: Shaunzie thanks, trying
[09:50] robi42 has joined the channel
[09:51] niloy__: Shaunzie, FUNCTION is not defined
[09:51] Shaunzie: function was just a place holder
[09:52] niloy__: Shaunzie, if I knew the function name, why will I use that ?
[09:52] Shaunzie: niloy__: I assumed you were dealing with a closure?
[09:53] niloy__: Shaunzie, even if it was a closure, FUNCTION.prototype.constructor.name would probably give me FUNCTION :P
[09:55] Shaunzie: > function A() {};
[09:55] Shaunzie: > function B(f) { console.log(f.prototype.constructor.name) }
[09:55] Shaunzie: > B(A)
[09:55] Shaunzie: A
[09:55] Shaunzie: try it if you'd like
[09:55] k1ttty has joined the channel
[09:56] mara has joined the channel
[09:56] satyr has joined the channel
[09:59] shinuza has joined the channel
[10:00] niloy__: Shaunzie, ok got it, but not what I was looking for
[10:00] Shaunzie: niloy__: what are you looking for?
[10:00] niloy__: Shaunzie, function foo(){alert(thisFunction.name)}
[10:01] niloy__: Shaunzie, should print "foo"
[10:03] d0k has joined the channel
[10:06] bitwalker has joined the channel
[10:06] Shaunzie: niloy__: mm that isn't possible. why would you want to do that?
[10:07] niloy__: Shaunzie, just for fun :D
[10:08] Locke23rus has joined the channel
[10:11] jbpros has joined the channel
[10:11] jldbasa has joined the channel
[10:13] SrPx has joined the channel
[10:14] SrPx: Im receiving strings from socket.io on node.js. do I have to worry with some kind of injection from those?
[10:14] `3rdEden has joined the channel
[10:14] Shaunzie: SrPx: Never trust input :).
[10:14] SrPx: so what can they do so I can stop it?
[10:14] Margle has joined the channel
[10:14] SrPx: socket.on('changeName',function(data) { var client = Client.$getBySocket(socket); client.setName(data); });
[10:17] context: srpx: its only 'injection' if you put it in a place it can cause harm
[10:17] context: like eval() or in an sql statement without escaping it
[10:18] Heisenmink has joined the channel
[10:19] braoru has joined the channel
[10:19] SrPx: but what if someone sets its name to: something); malicious_code;
[10:19] context: are you putting it inside eval() ?
[10:19] SrPx: socket.on('changeName',function(data) { var client = Client.$getBySocket(socket); client.setName(something); malicious_code; });
[10:19] SrPx: not
[10:19] context: its a string. that doesnt mean it gets executed.
[10:19] SrPx: hmm
[10:19] robde_ has joined the channel
[10:20] context: no.
[10:20] chuckyorg has joined the channel
[10:20] SrPx: just to be sure (:
[10:20] SrPx: ty
[10:20] context: client.setName("something); malicious_code;");
[10:20] disappea_ has joined the channel
[10:20] context: imagine data gets expanded like that.
[10:21] chuckyorg: hi
[10:21] context: anyway time for bed. i need my rest to play with my new iMac all day tomorrow
[10:21] SrPx: so, name = something"); malicious_code;
[10:21] SrPx: (:
[10:21] SrPx: okay...
[10:21] chuckyorg: how can I see the execution time of a query with node-mysql modul, enable the debug mode is not enough
[10:22] jondot2 has joined the channel
[10:22] joshfinnie has joined the channel
[10:23] larsschenk has joined the channel
[10:23] jetienne_ has joined the channel
[10:23] Shaunzie: chuckyorg: (new Date()).getTime()
[10:23] jetienne_: or Date.now() ?
[10:23] chuckyorg: thats my actual approach
[10:24] synkro has joined the channel
[10:24] chuckyorg: but its not the real execution time
[10:25] Shaunzie: chuckyorg: cause it's async?
[10:25] confoocious has joined the channel
[10:26] confoocious has joined the channel
[10:26] chuckyorg: mhh
[10:26] AndreasMadsen has joined the channel
[10:32] stagas has joined the channel
[10:32] jldbasa has joined the channel
[10:33] panterax has joined the channel
[10:34] garrensmith has joined the channel
[10:35] herbySk74 has joined the channel
[10:36] garrensmith has joined the channel
[10:37] dgathright has joined the channel
[10:39] robhawkes has joined the channel
[10:41] blup has joined the channel
[10:41] arcanis has joined the channel
[10:43] hotchkiss has joined the channel
[10:45] davetayls has joined the channel
[10:46] lzskiss has joined the channel
[10:46] aslant has joined the channel
[10:47] Dreamer3 has joined the channel
[10:48] fomatin has joined the channel
[10:49] robde has joined the channel
[10:50] slaskis has joined the channel
[10:52] mehlah has joined the channel
[10:53] larsschenk has left the channel
[10:54] qsobad_ has joined the channel
[10:55] reenignEesreveR has joined the channel
[10:56] reenignEesreveR: i wanna create a stock ticker like web based application ... many viewers viewing and needing data in realtime ... if stock value changes, all viewing should be notified. Besides node.js what other technologies should i use to make it as efficient as possible? message queing?
[10:56] ph^ has joined the channel
[10:57] stonebranch has joined the channel
[10:59] nlindblad has joined the channel
[10:59] djbell has joined the channel
[10:59] nlindblad: Hi! I am trying to implement a basic Beanstalkd worker in node.js
[11:00] nlindblad: I can get it to reserve a job, show it and delete it. From the example code of the library (tried both nodestalker and beanstalk_client).
[11:01] nlindblad: But for a functional worker, I need it to basically wait for new jobs constantly.
[11:01] nlindblad: Has anyone done anything similar?
[11:02] panterax has joined the channel
[11:03] robde_ has joined the channel
[11:04] stagas: reenignEesreveR: diffing and patching would fit here https://github.com/mikolalysenko/patcher.js
[11:05] dob has joined the channel
[11:05] metaverse has joined the channel
[11:05] piscisaureus_ has joined the channel
[11:05] reenignEesreveR: stagas, my main concern is about subscriber/publisher stuff ... if a change is made to a stock, how do i know which subscribers to update. Is it a good idea to use rabbitMQ or zeroMQ?
[11:06] _olouv_ has joined the channel
[11:07] doitian has joined the channel
[11:08] stagas: reenignEesreveR: dunno about that, I'd keep an object with what every client sees and diff it against the running data and update each client accordingly
[11:09] aflynn has joined the channel
[11:10] N0va` has joined the channel
[11:11] frnkkpp has joined the channel
[11:12] robde has joined the channel
[11:14] hipsters_ has joined the channel
[11:18] aslant has joined the channel
[11:22] stagas has joined the channel
[11:22] stisti has joined the channel
[11:23] phire has joined the channel
[11:24] madhums has joined the channel
[11:24] Cromulent has joined the channel
[11:26] __doc__ has joined the channel
[11:26] efazati has joined the channel
[11:26] fomatin has joined the channel
[11:26] efazati has left the channel
[11:29] __tosh has joined the channel
[11:34] Kunda has joined the channel
[11:35] davetayls has joined the channel
[11:36] amigojapan has joined the channel
[11:37] stagas has joined the channel
[11:40] cjroebuck has joined the channel
[11:42] michaelhartau has joined the channel
[11:44] tdegrunt_ has joined the channel
[11:45] thalll has joined the channel
[11:48] TimTim has joined the channel
[11:49] meso has joined the channel
[11:50] zangib has joined the channel
[11:56] michaelh_ has joined the channel
[11:57] stagas has joined the channel
[11:59] mara_ has joined the channel
[11:59] unomi has joined the channel
[12:03] p1d has joined the channel
[12:03] hall_ has joined the channel
[12:03] dr0id has joined the channel
[12:15] phidah has joined the channel
[12:18] Wizek has joined the channel
[12:21] EvRide has joined the channel
[12:23] tomtomaso has joined the channel
[12:25] BrianE has joined the channel
[12:29] LarsSmit has joined the channel
[12:30] hellp has joined the channel
[12:31] level09 has joined the channel
[12:32] level09 has joined the channel
[12:34] Wizek-other has joined the channel
[12:35] arcanis has joined the channel
[12:38] SrPx has joined the channel
[12:38] SrPx: how scalable, exactly, node.js is?
[12:38] pquerna: how, exactly, do you define scalable
[12:41] mike5w3c has joined the channel
[12:41] tytsim has joined the channel
[12:42] mike5w3c has joined the channel
[12:43] mike5w3c has joined the channel
[12:46] mike5w3c_ has joined the channel
[12:47] Alpha|home has joined the channel
[12:47] mike5w3c_ has joined the channel
[12:49] cjroebuck has joined the channel
[12:49] qsobad has joined the channel
[12:50] V1 has joined the channel
[12:51] zangib has left the channel
[12:51] TheJH has joined the channel
[12:52] shripadk has joined the channel
[12:56] skm has joined the channel
[12:57] stagas has joined the channel
[12:57] tahu has joined the channel
[13:00] tomlion_ has joined the channel
[13:01] markwubben has joined the channel
[13:02] stagas has joined the channel
[13:03] kyonsalt has joined the channel
[13:06] subbyyy has joined the channel
[13:07] jetienne_ has joined the channel
[13:08] dob has joined the channel
[13:09] amasad has joined the channel
[13:11] mike5w3c has joined the channel
[13:14] jbpros has joined the channel
[13:17] stagas has joined the channel
[13:17] tobias has joined the channel
[13:18] Juan77 has joined the channel
[13:23] booo has joined the channel
[13:24] fairwinds has joined the channel
[13:26] `3rdEden: Dear jade abusers, how do I nest a