[00:00] Agos has joined the channel
[00:02] danhak has joined the channel
[00:03] SamWhited has joined the channel
[00:04] mara has left the channel
[00:04] Agos_ has joined the channel
[00:05] al3xnull has joined the channel
[00:07] RORgasm has joined the channel
[00:11] drostie has joined the channel
[00:12] skm has joined the channel
[00:12] mikrosystheme has joined the channel
[00:12] crescendo has joined the channel
[00:12] crescendo has joined the channel
[00:15] theycallmeswift has joined the channel
[00:15] warz has joined the channel
[00:15] warz has joined the channel
[00:15] theycallmeswift: Anyone know a good way to test that a native function is being wrapped by my own function?
[00:15] theycallmeswift: I tried stubbing it out with sinon, but it looks like its calling by reference and completely bypasses the stub
[00:16] tiglionabbit has joined the channel
[00:16] _rockbot_ has joined the channel
[00:17] wereHamster: is it safe to delete keys from an object while iterating through it?
[00:17] jamescarr has joined the channel
[00:17] theycallmeswift: wereHamster: how are you iterating?
[00:17] wereHamster: in coffee-script, something like delete object[k] for k,v of object
[00:18] isaacs: wereHamster: can you say that in javascript?
[00:18] isaacs: wereHamster: your example isn't parsing
[00:18] [[zzz]] has joined the channel
[00:18] wereHamster: for (k in object) { delete object[k] }
[00:19] towski has joined the channel
[00:19] demonii has joined the channel
[00:20] demonii: is there any quick way of sharing php sessions, with node.js and socket.io?
[00:22] idoru has joined the channel
[00:22] jamescarr: demonii, kind of
[00:22] Shaunzie: demonii: try npm search php session
[00:22] demonii: thanks, would it also work for socket sessions?
[00:23] nibblebot has joined the channel
[00:23] mikeal has joined the channel
[00:24] Shaunzie: demonii: that would be something for you to implement
[00:24] isaacs: wereHamster: why do you need to do this?
[00:24] isaacs: wereHamster: it'd be faster to do Object.keys(object).forEach(function (k) { delete object[k] })
[00:24] isaacs: wereHamster: or even better yet: object = Object.create(Object.getPrototypeOf(object)) or even just object = {}
[00:25] wereHamster: isaacs: it's not actually just 'delete object[k]', but more code which does somtehing and then deletes the key
[00:25] isaacs: wereHamster: anyway, yes, you may delete a property while iterating
[00:26] demonii: Shaunzie, I serve my http data through apache, only my socket.io sessions are being handled by node.js
[00:26] isaacs: it's not like a dynamic array or something
[00:26] demonii: not sure if nodePhpSessions can handle only socket.io session data
[00:26] isaacs: wereHamster: this, for example, is highly unsafe: x = getSomeArrayOfThings(); for (var i = 0, l = x.length; i < l; i ++) x.splice(i, 1)
[00:26] wereHamster: isaacs: why is Object.keys().forEach() faster than a for loop? Does v8 optimize the function calls out of the former?
[00:27] isaacs: wereHamster: function calls are cheaper than prototype lookups
[00:27] isaacs: wereHamster: the savings comes from Object.keys vs for/in
[00:27] wereHamster: isaacs: Object.keys() does not access the prototype?
[00:27] isaacs: (note: haven't benched in a while, ymmv, but this is the general rule of thumb that's served me well)
[00:27] isaacs: wereHamster: nope
[00:27] isaacs: it's only enumerable own properties
[00:27] wereHamster: isaacs: interesting. good to know
[00:29] jimt has joined the channel
[00:31] Juan77 has joined the channel
[00:32] devongovett has joined the channel
[00:33] StanlySoManly has joined the channel
[00:34] jerrysv: anyone going to nodepdx?
[00:35] plutoniix has joined the channel
[00:35] crodas has joined the channel
[00:35] [muttox] has joined the channel
[00:35] ryan_stevens: jerrysv: haven't heard of it
[00:35] ryan_stevens: link?
[00:35] theycallmeswift: oregon is a little far from jersey unfortunately
[00:36] mc: i should suggest that to my employers.. we're not terribly far
[00:36] theycallmeswift: I am flying out SF for Node Summit tho
[00:37] jerrysv: ryan_stevens: http://lanyrd.com/2012/nodepdx/
[00:37] jerrysv: it's free, and on a weekend
[00:37] kraft_ has joined the channel
[00:37] ryan_stevens: oh wow, that's nice
[00:37] theycallmeswift: So anyone have any ideas on my stubbing issue from before?
[00:37] ryan_stevens: the fact its on a weekend taht is
[00:38] drostie: I can't believe I'm reading through OpenSSL's source code just to figure out what the hell the Node.js crypto module is returning. ;_;
[00:38] zitchdog has joined the channel
[00:39] maletor has joined the channel
[00:39] Shaunzie: drostie: O.O
[00:39] LuckySMack has joined the channel
[00:39] demonii: i can't believe node.js has such poor documentation O_o
[00:39] deedubs has joined the channel
[00:40] Shaunzie: demonii: at least it has some… source is on github feel free to help the community :P
[00:40] superlou has joined the channel
[00:40] demonii: so, the user should document the product
[00:40] pV: anyone know of a good everyauth tutorial?
[00:40] demonii: interesting
[00:41] Shaunzie: demonii: welcome to opensource project deal with it our gtfo :)
[00:41] superlou: :)
[00:41] Shaunzie: pv: the one on github is nice
[00:41] superlou: well, i'm sure we all write self-documenting code anyway ;)
[00:41] demonii: i'm pretty sure php, ruby, javascript, etc are well documented
[00:41] demonii: but if that's the approach on things with node.js, i'd be happy to gtfo
[00:41] drostie: demonii: well, usually the documentation is relatively good. The problem is that Node.js just says that it's a frontend to OpenSSL but doesn't say what part it's a frontend to. I did an encryption and got a 25-byte response from something which should be in 16-byte blocks, so the question is, "wtf are the other 9 bytes doing here?"
[00:41] demonii has left the channel
[00:42] pV: Shaunzie: I've been looking at it, but I can't seem to grasp it. It's too broad.
[00:42] Shaunzie: demonii: I'm pretty sure that the php ruby community give back. not everyone looks for hand outs.
[00:42] Shaunzie: pV: where are you stuck?
[00:42] pV: I'm trying to setup openid authorization
[00:43] pV: I have: https://gist.github.com/1586020
[00:43] pV: but where do I setup the login page?
[00:43] Shaunzie: getLoginPath('/login')
[00:44] pV: TypeError: Object # has no method 'getLoginPath'
[00:44] Shaunzie: oops ya it's different for the openid module
[00:44] Shaunzie: .entryPath('/auth/openid')
[00:44] Shaunzie: .callbackPath('/auth/openid/callback')
[00:45] Shaunzie: https://github.com/bnoguchi/everyauth/blob/master/lib/modules/openid.js
[00:45] Shaunzie: you can find all the functions for the module htere
[00:45] Shaunzie: er there
[00:45] bodisiw has joined the channel
[00:46] rgl has joined the channel
[00:46] pV: thanks Shaunzie
[00:47] __tosh has joined the channel
[00:47] RobWC has joined the channel
[00:48] Shaunzie: pV: np :)
[00:50] ep0x has joined the channel
[00:50] Cromulent has joined the channel
[00:50] stalled has joined the channel
[00:51] Poetro has joined the channel
[00:53] jonbaer has joined the channel
[00:57] ByteCrunch has left the channel
[00:59] RobWC has joined the channel
[01:00] ep0x: Hey guys, I got a newbishy question, I used the installer for my Mac
[01:00] ep0x: cant get it to work
[01:00] ep0x: when I type NODE Test.JS it says I might not have setup the path
[01:00] ep0x: I cant seem to find instructions
[01:01] TooTallNate: open Terminal
[01:01] TooTallNate: type "node"
[01:01] ep0x: just node ?
[01:01] TooTallNate: that will bring you to the REPL
[01:01] TooTallNate: if you have a file, test.js, then "node test.js"
[01:01] ep0x: oh awesome! thanks!
[01:01] TooTallNate: np
[01:02] nickradford has joined the channel
[01:02] bradleyg has joined the channel
[01:02] drudge has joined the channel
[01:02] McMAGIC--Copy has joined the channel
[01:02] mike5w3c has joined the channel
[01:03] skm has joined the channel
[01:04] fermion has joined the channel
[01:04] richardr_ has joined the channel
[01:04] hdms has joined the channel
[01:05] nickradford has joined the channel
[01:05] merlin83 has joined the channel
[01:06] dthompso99 has joined the channel
[01:06] rio{ has joined the channel
[01:06] dgathright_ has joined the channel
[01:07] mikrosys1heme has joined the channel
[01:07] benlyn has joined the channel
[01:09] postwait has joined the channel
[01:12] tmcw has joined the channel
[01:12] zitchdog has joined the channel
[01:16] rgl has joined the channel
[01:16] CIA-101: node: 03Ben Noordhuis 07master * r97e4b3a 10/ (src/node_isolate.cc test/simple/test-isolates-ping-pong.js): isolates: drain message queue completely - http://git.io/kHus1w
[01:19] trotter has joined the channel
[01:20] lwille: bnoordhuis, thanks for the advice - but this is not exactly what I was looking for. The node-event-emitter example exports the Emitter prototype from a native extension and then lets it inherit the prototype methods of events.EventEmitter. That means, the resulting object can only be instantiated on the javascript side - I would like to create the instance on the C++ side, because until now my extension didn't need an extra javascript lay
[01:21] monokrome has joined the channel
[01:21] briandh has joined the channel
[01:22] Internet13 has joined the channel
[01:22] boogyman has joined the channel
[01:22] boogyman has joined the channel
[01:22] bnoordhuis: lwille: you cannot really do that anymore, EventEmitter is a 100% JS object now (and not a global) so there is no good way to instantiate it / inherit from
[01:22] neoesque has joined the channel
[01:23] cody-- has joined the channel
[01:23] lwille: okay, so I could I pass in the EventEmitter prototype and use that to create instances of EventEmitter?
[01:23] flat has joined the channel
[01:23] mmyjona has joined the channel
[01:24] bnoordhuis: lwille: yes
[01:24] justin has joined the channel
[01:25] lwille: bnoordhuis, could you point me to an extension where someone is already doing that? Or is there a more elegant way
[01:27] bnoordhuis: lwille: i'm not aware of any
[01:28] ambroff_ has joined the channel
[01:28] lwille: I'll give it a try then ... thanks, bnoordhuis :)
[01:29] ryanfitz has joined the channel
[01:30] CIA-101: node: 03Fedor Indutny 07master * ra5f74b4 10/ (src/node_script.cc src/node_vars.h): added isolates support - http://git.io/GLGJbg
[01:30] CIA-101: node: 03Fedor Indutny 07master * r44e7033 10/ (src/node.cc src/node_vars.h): fixed debugger segfaults - http://git.io/11velw
[01:30] CIA-101: node: 03Fedor Indutny 07master * r99679c6 10/ (5 files in 2 dirs): IsolateDebugger C++ - http://git.io/pFnUzw
[01:30] CIA-101: node: 03Fedor Indutny 07master * r6b2091b 10/ (lib/_debugger.js lib/child_process.js): debug threads - http://git.io/3W2b3Q
[01:31] jomoho2 has joined the channel
[01:32] sorensen__ has joined the channel
[01:35] patcito has joined the channel
[01:35] davidbanham has joined the channel
[01:35] abraxas has joined the channel
[01:38] lzskiss has joined the channel
[01:39] MatthewS has joined the channel
[01:42] yozgrahame has joined the channel
[01:42] dmitrig01 has joined the channel
[01:43] TN has joined the channel
[01:43] justin has joined the channel
[01:48] jaequery has joined the channel
[01:49] davidban_ has joined the channel
[01:49] pauls1 has joined the channel
[01:50] jomoho has joined the channel
[01:50] sharkbird has joined the channel
[01:50] sharkbird_ has joined the channel
[01:52] thirdknife has joined the channel
[01:52] enmand has joined the channel
[01:52] koo3 has joined the channel
[01:52] ger^kallisti_ has joined the channel
[01:56] mikeal has joined the channel
[01:58] Aria has joined the channel
[01:58] mandric has joined the channel
[01:58] ditesh|cassini has joined the channel
[01:59] sharkbird_ has joined the channel
[01:59] sharkbird has joined the channel
[01:59] amigojapan has joined the channel
[01:59] sharkbird__ has joined the channel
[01:59] wbednarski has joined the channel
[01:59] robde_ has joined the channel
[02:01] sharkbird has joined the channel
[02:04] Shaunzie has joined the channel
[02:04] rachet: /join reddit
[02:04] rachet: oops
[02:06] CoverSlide: you failed at IRC
[02:09] neurodrone has joined the channel
[02:10] ryanrolds: I love reddit!
[02:11] tommyvyo has joined the channel
[02:11] sharkbird has joined the channel
[02:12] sreeix has joined the channel
[02:12] icewhite has joined the channel
[02:12] mmyjona has joined the channel
[02:13] ovnicraft has joined the channel
[02:14] jocafa has joined the channel
[02:15] TooTallNate: tim_smart: you there?
[02:15] mikeal has joined the channel
[02:16] tim_smart: TooTallNate: I think so...
[02:16] tim_smart: :)
[02:16] TooTallNate: haha
[02:16] TooTallNate: hey i wanted to ask you about node-gtk
[02:16] TooTallNate: specifcally, how does the double event loop thing work?
[02:16] tim_smart: TooTallNate: Sure. I think the direction node-gir is taking is probably better.
[02:16] TooTallNate: oh ok
[02:16] tim_smart: Oh right
[02:17] TooTallNate: I may need to do something similar for NodObjC
[02:17] TooTallNate: https://github.com/TooTallNate/NodObjC/issues/2
[02:17] tim_smart: Event loop stuff I asked the author of libev about
[02:17] tim_smart: If would have changed now that libev is now libuv
[02:18] TooTallNate: well probably doesn't really apply to NodObjC since it's only OS X which only uses libev
[02:18] daiyechu has joined the channel
[02:18] a_suenami has joined the channel
[02:19] tim_smart: TooTallNate: Basically it ensures that the gtk event loop uses the libev event loop instead of its own
[02:20] themiddleman has joined the channel
[02:20] TooTallNate: tim_smart: how is that done? in obj-c there's just a NSRunLoop.run() method that blocks forever...
[02:21] Prometheus has joined the channel
[02:21] tjfontaine: there's not a loop_one or run_one?
[02:21] MUILTR has joined the channel
[02:22] TooTallNate: tjfontaine: closest would be runUntilDate() which I suppose could be some really short amount of time
[02:22] TooTallNate: but that doesn't seem like it would work very well :\
[02:22] pig has joined the channel
[02:22] pig has joined the channel
[02:22] Emmanuel` has joined the channel
[02:22] thirdknife has joined the channel
[02:22] strevat_ has joined the channel
[02:22] jasonkuhrt has joined the channel
[02:23] joshkehn has joined the channel
[02:23] SteveDekorte has joined the channel
[02:24] jasonkuhrt has joined the channel
[02:24] jbboehr has left the channel
[02:24] willwhite has joined the channel
[02:25] sh1mmer has joined the channel
[02:27] pig has joined the channel
[02:27] pig has joined the channel
[02:29] tim_smart: TooTallNate: Can you access the file descriptors etc. for the NSRunLoop?
[02:29] davidbanham has joined the channel
[02:31] TooTallNate: tim_smart: not quite sure
[02:31] TooTallNate: i don't really think so
[02:31] TooTallNate: fd of the event loop itself? or of its sources?
[02:32] pig has joined the channel
[02:32] tim_smart: TooTallNate: Well usually the just poll on fd's
[02:32] tim_smart: *they
[02:32] c4milo has joined the channel
[02:33] TooTallNate: they -> the event loop
[02:33] blueadept: anyone here ever use http://www.ericmmartin.com/projects/simplemodal ?
[02:33] drostie: Wow. so apparently when Node's crypto functions are used, all user input is fed into MD5 to generate the key. The stream MD5(key) + MD5(MD5(key) + key) + MD5(MD5(MD5(key) + key) + key) + ... is broken up into the actual bytes needed for the key and the actual bytes needed for the IV.
[02:33] tim_smart: I'm probably not the best person to talk to about this sort of stuff, the glib -> ev integration was already done for me by schmorp
[02:34] TooTallNate: ok well thanks anyways, maybe I can talk to other tim
[02:35] TooTallNate: not online right now though
[02:35] djbell has joined the channel
[02:35] tjfontaine: TooTallNate: you might also want to look into how monotouch integrates it
[02:35] benlyn has joined the channel
[02:36] sridatta has joined the channel
[02:36] tjfontaine: TooTallNate: but increasingly it seems like CFRunLoopRunInMode is the unfortunate way forward
[02:37] dmitrig01 has joined the channel
[02:37] MatthewS has joined the channel
[02:37] koo3 has joined the channel
[02:37] tcurdt has joined the channel
[02:38] TooTallNate: tjfontaine: i should have thought of this sooner!
[02:38] TooTallNate: http://www.71squared.com/2009/04/maingameloop-changes/
[02:38] nathanwallace has joined the channel
[02:38] TooTallNate: like, all these games have their own game loops probably
[02:38] tjfontaine: more than likely
[02:38] TooTallNate: so how do they integrate touch events? etc.?
[02:38] Flushot has joined the channel
[02:39] TooTallNate: well, probably >1 thread in a lot of cases
[02:39] Shaunzie: I'm really starting to like coffee script…
[02:39] TooTallNate: but in any case, that blog article looks like it has a nice hack for running the cfrunloop
[02:40] tjfontaine: looks like it's using the timer interface
[02:40] TooTallNate: which could be done in a indefinite nextTick calls
[02:40] tjfontaine: indeed
[02:41] tjfontaine: you'll probably want the timeout to potentially be configurable, incase people start seeing dropped or stalled events
[02:41] TooTallNate: true
[02:42] TooTallNate: pretty hacky, but at least it may be possible to get the two loops working together like that
[02:42] TooTallNate: at least until a libuv backend written in ObjC is written :p
[02:42] TooTallNate: ACTION dreams...
[02:42] tjfontaine: hah
[02:43] tjfontaine: it's a shame that CF* doesn't have a poll/one_loop interface
[02:43] madhums has joined the channel
[02:43] scott_gonzalez has joined the channel
[02:43] tjfontaine: in that case it would have been trivial
[02:44] Aria: TooTallNate: It looks like it wouldn't be too hard to get something into libuv to add a "run_one" function.
[02:44] Aria: ub_run is so trivial, and I bet it's not too hard to do on the windows side (though I've not looked)
[02:45] TooTallNate: Aria: interesting thought
[02:45] tjfontaine: TooTallNate: unless you're license averse there are some excellent clues here http://opensource.apple.com/source/CF/CF-476.14/CFRunLoop.c
[02:45] tjfontaine: TooTallNate: search for zero-timeout
[02:46] tjfontaine: TooTallNate: makes it feel like if you have a very low resolution you'll get an "extra" loop
[02:46] kazupon has joined the channel
[02:46] bnoordhuis: uv_run_once() already exists
[02:46] bnoordhuis: in libuv's master that is
[02:46] TooTallNate: bnoordhuis: not in node 0.6.x?
[02:47] bnoordhuis: TooTallNate: no
[02:47] TooTallNate: ok so I could potentially use that and be > 0.6.x
[02:48] TooTallNate: but so how would that work? just continually call that in CFRunLoop's equivalent of a nextTick?
[02:48] tjfontaine: uv_run_once would be CFRunLoop driving node, right?
[02:48] tjfontaine: setup a loop on the cf side, and inside it each time it loops you call uv_run_once
[02:49] al3xnull has joined the channel
[02:49] TooTallNate: that would be nice, cause then you could use whatever ObjC API you want to start the event loop
[02:49] TooTallNate: and not some NodObjC-specific API
[02:50] tjfontaine: TooTallNate: but it means diverging node itself
[02:50] TooTallNate: how so?
[02:50] TooTallNate: as long as the original node API's and modules work, that's what I'm looking for
[02:51] TooTallNate: cause currently, when a CFRunLoop is running, it's blocking node, and JS, and no async node APIs work
[02:51] chrisvwebdev has joined the channel
[02:51] enmand has joined the channel
[02:51] blaenk has joined the channel
[02:51] blaenk has joined the channel
[02:52] jomoho has joined the channel
[02:52] tjfontaine: node starts its event loop, you start a cfrunloop, and then inside your cfrunloop you uv_run_once, is that your plan?
[02:52] TooTallNate: i think so
[02:52] TooTallNate: would that work?
[02:52] ovaillancourt has joined the channel
[02:53] isaacs has joined the channel
[02:53] tjfontaine: possibily, I think it would render interesting results, generally I would say you wouldn't want node to start its first event loop, and that it shoudl be your cfrunloop that is responsible for handling the uv_run_once
[02:54] TooTallNate: well actually, as long as your NodObjC script starts the cfrunloop in the first tick, the node's event loop is not yet running
[02:54] tjfontaine: TooTallNate: I'll be interested to hear the results in any event
[02:54] idefine_ has joined the channel
[02:54] tjfontaine: TooTallNate: I don't know the node event loop well enough, but I would guess that a require() sure as hell starts the loop since it requires io
[02:55] TooTallNate: also, it would be nice to be able to dynamically get at the ev_run function, maybe using libffi
[02:55] TooTallNate: tjfontaine: not so, it's sync io, so not event loop needed
[02:55] TooTallNate: not til after the first tick doest the event loop begin
[02:55] tjfontaine: TooTallNate: like I said, I'll be interested to hear the results :)
[02:55] saikat has joined the channel
[02:55] tjfontaine: I hope I was of some service
[02:56] TooTallNate: definitely, thank tjfontaine
[02:56] TooTallNate: *thanks
[02:56] tjfontaine: no problem
[02:57] TooTallNate: omg! i can access the ev_run pointer through node-ffi!
[02:57] wilmoore has joined the channel
[02:57] TooTallNate: this might fucking happen!
[03:02] meso has joined the channel
[03:03] Vennril2 has joined the channel
[03:05] yhahn has joined the channel
[03:05] madhums has joined the channel
[03:07] icewhite has joined the channel
[03:10] aGHz has joined the channel
[03:13] maletor has joined the channel
[03:13] theycallmeswift has joined the channel
[03:15] subbyyy has joined the channel
[03:16] josh-k has joined the channel
[03:17] zeade has joined the channel
[03:17] tkaemming has joined the channel
[03:17] davidbanham has joined the channel
[03:18] MatthewS has joined the channel
[03:20] mmyjona has joined the channel
[03:22] josephmoniz has left the channel
[03:24] Treffynnon has joined the channel
[03:24] mike5w3c has joined the channel
[03:27] socketio\test\61 has joined the channel
[03:28] spleeze has joined the channel
[03:30] devongovett has joined the channel
[03:31] hostsamurai has joined the channel
[03:32] deeprogram has joined the channel
[03:34] drostie has joined the channel
[03:34] zitchdog has joined the channel
[03:36] koo3 has joined the channel
[03:36] madhums has joined the channel
[03:38] jakehow has joined the channel
[03:38] robde_ has joined the channel
[03:39] dodo has joined the channel
[03:39] pluc has joined the channel
[03:40] torm3nt has joined the channel
[03:42] boogyman has joined the channel
[03:43] mandric has joined the channel
[03:43] context: anyone here into car stereos ?
[03:43] context: I'm looking at the JVC KW-AVX840 and the Pioneer AVH-P4300DVD head units. recommendations?
[03:44] chrishatton has joined the channel
[03:46] koo3 has joined the channel
[03:47] githogori has joined the channel
[03:48] khrome has joined the channel
[03:48] kazupon has joined the channel
[03:50] spathi has joined the channel
[03:50] monteslu_ has joined the channel
[03:51] thirdknife has joined the channel
[03:51] zemanel_ has joined the channel
[03:51] madhums has joined the channel
[03:52] olliey has joined the channel
[03:52] saberman_2 has joined the channel
[03:52] musiclover_ has joined the channel
[03:53] musiclover_: hi everyone, i have a node app i'm working on that uses express, knox, mongoose, etc. what are some tools or libraries that people use for testing their node applications?
[03:53] jeffk has joined the channel
[03:53] Shaunzie: musiclover_: mocha, should, express
[03:54] dshaw_ has joined the channel
[03:54] Shaunzie: https://github.com/joyent/node/wiki/modules#wiki-testing
[03:55] jtsnow has joined the channel
[03:57] musiclover_: Shaunzie: wow, that's quite extensive. any popular players? any tutorials out there?
[03:57] chrishatton has joined the channel
[03:57] Shaunzie: musiclover_: the ones I listed previously are pretty popular. then again there's also just the built in assert module: assert = require('assert')
[03:58] CarterL has joined the channel
[03:58] Shaunzie: musiclover_: I personally like mocha, but only cause I'm a whore for colors and it has pretty check marks and x's
[03:58] jgornick has joined the channel
[03:58] musiclover_: Shaunzie: i like colors too!
[03:59] Shaunzie: nothing more rewarding that seeing ✔ # tests complete
[03:59] madhums has joined the channel
[03:59] Shaunzie: http://visionmedia.github.com/mocha/
[03:59] musiclover_: Shaunzie: so is it like unit testing, or testing my express routes?
[03:59] skm has joined the channel
[04:00] blueadept has joined the channel
[04:00] blueadept has joined the channel
[04:00] caludio has joined the channel
[04:00] skm has joined the channel
[04:01] saberman_2 has joined the channel
[04:01] Vennril has joined the channel
[04:01] kenperkins has joined the channel
[04:03] Shaunzie: musiclover_: It's just a unit testing framework.
[04:04] Shaunzie: musiclover_: routes are a little difficult to test for express
[04:04] ditesh|cassini has joined the channel
[04:04] musiclover_: how about something like nock?
[04:04] Shaunzie: musiclover_: You can use support/http.js included with express test routes.
[04:05] sarlalian has joined the channel
[04:05] Shaunzie: musiclover_: never used nock but it looks cool
[04:05] RobWC has joined the channel
[04:06] disappea_ has joined the channel
[04:06] kickingvegas has left the channel
[04:07] TimTim has joined the channel
[04:08] themiddleman has joined the channel
[04:09] jtsnow has joined the channel
[04:11] amasad has joined the channel
[04:11] materialdesigner has joined the channel
[04:13] sarlalian has joined the channel
[04:14] thepatr1ck has joined the channel
[04:16] lwille has joined the channel
[04:19] madhums has joined the channel
[04:19] sh1mmer has joined the channel
[04:20] zaxx has joined the channel
[04:21] tuhoojabotti: How to check if arrays are equal
[04:21] tuhoojabotti: like assert.deepEqual
[04:21] tuhoojabotti: but it just throws, I want it to return true/false
[04:21] enmand has joined the channel
[04:24] Shaunzie: tuhoojabotti: you would need to write a function to compare the two arrays manually.
[04:24] tuhoojabotti: I did, but it's not working. :D
[04:24] tuhoojabotti: I guess, I'll try again.
[04:24] Shaunzie: tuhoojabotti: or you can use one of the array helper functions in underscorejs
[04:24] kazupon has joined the channel
[04:24] Shaunzie: http://documentcloud.github.com/underscore/#difference
[04:26] shanebo has joined the channel
[04:27] digilink has joined the channel
[04:27] chrishat_ has joined the channel
[04:29] tuhoojabotti: Shaunzie: this.buf.details[0].msg === this.last.details[0].msg && this.buf.details[1].msg === this.last.details[1].msg) { // problems?
[04:29] clarkfischer: Hrm….for a test suite, any way to spin up an express server, then shut it down afterwards? Something along the lines of `node app.js & make test && kill %1`?
[04:30] tuhoojabotti: :D
[04:31] Shaunzie: tuhoojabotti: mm kinda missing some stuff there. might want to gist it. what's the error that you're getting?
[04:31] tuhoojabotti: Shaunzie: It works fine :D
[04:31] Shaunzie: tuhoojabotti: oh. confuzzled ._.
[04:31] tuhoojabotti: Shaunzie: that's way better than some helper functions!
[04:32] sdwrage has joined the channel
[04:33] JdpB42 has joined the channel
[04:33] sridatta has joined the channel
[04:35] TimTim has joined the channel
[04:37] willwhite has joined the channel
[04:38] mikeal has joined the channel
[04:39] Shaunzie: tuhoojabotti: you might be able to do array1.toString() === array2.toString()
[04:39] tuhoojabotti: Shaunzie: Doesn't it convert objects to [Object object]?
[04:40] Shaunzie: tuhoojabotti: yah
[04:40] tuhoojabotti: That would be bad
[04:40] tuhoojabotti: Shaunzie: util.inspect perhaps
[04:40] tuhoojabotti: But that works too. :P
[04:40] Hotroot has joined the channel
[04:41] Hotroot: Anyone on who's interested in browser based MTG?
[04:41] Shaunzie: Hotroot: was a MTG? O.o
[04:42] sebastianedwards has joined the channel
[04:42] Hotroot: Magic the Gathering
[04:42] maletor_ has joined the channel
[04:42] Hotroot: Going to start work on it soon. No rule enforcement, it would be just like playing it in person
[04:43] chrisdickinson: .. Array.prototype.equal = function(rhs) { var lhs = this; return lhs.map(function(x, idx) { return x === rhs[idx] }).reduce(function(lhs, rhs) { return lhs && rhs }, true) }; [1,2,3].equal([2,3,4])
[04:43] catb0t: false
[04:48] RobWC has joined the channel
[04:48] sreeix has joined the channel
[04:49] OmidRaha has joined the channel
[04:50] ryan_stevens has joined the channel
[04:51] gavin_huang has joined the channel
[04:56] broofa has joined the channel
[04:56] tuhoojabotti: .. [1,2,3].equal([1,2,3])
[04:56] catb0t: true
[04:57] tuhoojabotti: .. [1,{lol:true},3].equal([1,{lol:true},3])
[04:57] catb0t: false
[04:57] tuhoojabotti: chrisdickinson: Yeah, it doesn't work with objects either
[04:57] tuhoojabotti: obviously
[04:59] kitt has joined the channel
[04:59] kitt has joined the channel
[04:59] chrisdickinson: tuhoojabotti: true. are you just comparing keys?
[04:59] tuhoojabotti: atm yes. :P
[04:59] tuhoojabotti: It's a special case anyways.
[04:59] mikeal has joined the channel
[04:59] Shaunzie: tuhoojabotti: probably a good idea not to have a function to deep nested array comparisons
[05:01] zivester has joined the channel
[05:02] tuhoojabotti: details: [{name: 'Request', msg: JSON.stringify(req, null, ' ')},{name: 'Parameters', msg: JSON.stringify(params, null, ' ')}]
[05:02] tuhoojabotti: That's what I'm comparing :P
[05:02] chrisdickinson: .. Array.prototype.keyEqual = function(rhs, k, lol) { return this.map(lol = function(x) { return x[k] }).equal(rhs.map(lol)) }; [{lol:"asdf"}, {lol:"asdf"}].keyEqual([{lol:"asdf", lol:"asdf"}], 'lol')
[05:02] catb0t: false
[05:02] chrisdickinson: aw.
[05:03] capnregex has joined the channel
[05:05] tuhoojabotti: Time for school :/
[05:06] rurufufuss has joined the channel
[05:07] anderson has joined the channel
[05:08] Flushot has joined the channel
[05:09] zilch_ has joined the channel
[05:12] dexter_e has joined the channel
[05:12] RLa has joined the channel
[05:13] HT has joined the channel
[05:15] capnregex has left the channel
[05:18] RobWC has joined the channel
[05:19] chris_d has joined the channel
[05:21] marcello3d has joined the channel
[05:21] koo3 has joined the channel
[05:21] cdownard_ has joined the channel
[05:22] birdwindupbird has joined the channel
[05:23] criswell has joined the channel
[05:24] sh1mmer has joined the channel
[05:26] captain_morgan has joined the channel
[05:28] Shaunzie has joined the channel
[05:28] tonymilne has joined the channel
[05:29] stonebranch has joined the channel
[05:32] jxie has joined the channel
[05:37] nicholasf has joined the channel
[05:37] brianloveswords has joined the channel
[05:37] rio{ has joined the channel
[05:37] RobWC has joined the channel
[05:42] blueadept has joined the channel
[05:44] lukev has joined the channel
[05:45] blaenk has joined the channel
[05:45] blaenk has joined the channel
[05:47] kenperkins has joined the channel
[05:48] mikeal has joined the channel
[05:48] c4milo has joined the channel
[05:50] gavin_hu_ has joined the channel
[05:51] yozgrahame has joined the channel
[05:51] brianloveswords has joined the channel
[05:51] mjr_ has joined the channel
[05:54] deeprogram has joined the channel
[05:58] chrishatton has joined the channel
[05:59] neoesque has joined the channel
[06:00] mike5w3c has joined the channel
[06:01] drostie: Okay, after digging through the OpenSSL code and understanding the Node.js crypto implementation I figured out that my problems had very little to do with either. :x
[06:01] cognominal has joined the channel
[06:03] briandh has joined the channel
[06:04] drostie: It was entirely because new Buffer(x).toString('binary') !== x in general, because crypto uses 'binary' encoding but Buffers by default use 'utf8' encoding. Or summat.
[06:06] markq has joined the channel
[06:07] idoru has joined the channel
[06:08] joshgillies has joined the channel
[06:09] herbySk has joined the channel
[06:12] marcello3d has joined the channel
[06:13] jxson has joined the channel
[06:14] cdownard_: I thought buffers were binary data. The TLS streams have to either have the encoding flag set or invoke .toString() to decode from binary.
[06:14] tuhoojabotti: Can I add .toString to object's prototype and then ''+obj?
[06:15] Lingerance: Buffers are binary data, a string isn't.
[06:15] cdownard_: oh, my mistake. i see what's being said now. was reading that wrong.
[06:17] tuhoojabotti: works
[06:18] Lingerance: ACTION fails to see how that'd be useful
[06:21] hij1nx has joined the channel
[06:22] mattgifford has joined the channel
[06:23] rauchg has joined the channel
[06:24] al3xnull has joined the channel
[06:25] davidbanham has joined the channel
[06:26] garrensmith has joined the channel
[06:27] robde_ has joined the channel
[06:29] jxson has joined the channel
[06:30] kenperkins has joined the channel
[06:31] level09 has joined the channel
[06:33] slaskis has joined the channel
[06:33] Drakonite has joined the channel
[06:37] EriksLV has joined the channel
[06:37] Shaunzie has joined the channel
[06:38] pizthewiz has joined the channel
[06:40] nerdfiles has joined the channel
[06:41] nerdfiles has left the channel
[06:42] secoif: Anyone having issues with npm + github tarballs?
[06:42] niloy has joined the channel
[06:42] secoif: npm ERR! couldn't unpack /var/folders…
[06:43] justmoon has joined the channel
[06:44] maletor has joined the channel
[06:45] tuhoojabotti: secoif: Yesterday someone had problems with Heroku and tars
[06:45] secoif: hm
[06:45] markq: ghost town in here
[06:46] mjr_: I know.
[06:46] mjr_: Actual ghosts inhabit this town.
[06:47] secoif: if someone could do me a favour and add "Faker": "https://github.com/secoif/Faker.js/zipball/master", to their package.json, then try an npm install?
[06:47] secoif: I want to know if it's just me
[06:47] markq: or just npm install faker right
[06:47] jjd has joined the channel
[06:47] markq: ?
[06:48] yawNO has joined the channel
[06:48] tbranyen: its u works mine for me
[06:48] markq: works
[06:48] yawNO: hi world
[06:48] tbranyen: hello baby
[06:48] yawNO: :O
[06:48] yawNO: sup?
[06:48] markq: where's my precious
[06:49] secoif: markq not just npm install faker, that will install the normal npm version, I want to install my fork.
[06:49] markq: ah ok
[06:49] markq: let me try then
[06:49] secoif: installing via zipball seems to be the actual issue
[06:49] secoif: sweet, thanks
[06:49] markq: i wasn't aware that it installed differently
[06:49] markq: interesting
[06:50] chrishatton has joined the channel
[06:51] markq: works
[06:51] markq: npm http GET https://registry.npmjs.org/Faker
[06:51] markq: npm http 200 https://registry.npmjs.org/Faker
[06:51] markq: npm http GET https://registry.npmjs.org/Faker/-/Faker-0.1.3.tgz
[06:51] markq: npm http 200 https://registry.npmjs.org/Faker/-/Faker-0.1.3.tgz
[06:51] markq: Faker@0.1.3 ./node_modules/Faker
[06:52] blueadept has joined the channel
[06:52] hij1nx has joined the channel
[06:52] secoif: markq that's not my fork
[06:53] secoif: markq try npm install https://github.com/secoif/Faker.js/zipball/master
[06:53] markq: npm http GET https://github.com/secoif/Faker.js/zipball/master
[06:53] markq: npm http 200 https://github.com/secoif/Faker.js/zipball/master
[06:53] markq: npm ERR! couldn't unpack /tmp/npm-1326178426945/1326178426945-0.836156997596845/tmp.tgz to /tmp/npm-1326178426945/1326178426945-0.836156997596845
[06:53] markq: npm ERR! Error: ENOENT, no such file or directory '/tmp/npm-1326178426945/1326178426945-0.836156997596845/package/package.json'
[06:53] markq: npm ERR! Report this *entire* log at:
[06:53] markq: npm ERR!
[06:53] markq: npm ERR! or email it to:
[06:53] markq: npm ERR!
[06:53] markq: npm ERR!
[06:53] markq: npm ERR! System Linux 2.6.38-8-virtual
[06:53] markq: npm ERR! command "node" "/usr/local/bin/npm" "install" "https://github.com/secoif/Faker.js/zipball/master"
[06:53] markq: npm ERR! cwd /faker
[06:53] markq: npm ERR! node -v v0.6.7
[06:53] markq: npm ERR! npm -v 1.1.0-beta-10
[06:53] tuhoojabotti: asd
[06:53] secoif: that's the one
[06:54] secoif: awesome
[06:54] dilvie has joined the channel
[06:54] secoif: markq thanks
[06:54] martin_sunset has joined the channel
[06:54] markq: sorry for the spam @all
[06:54] markq: np
[06:54] pV: eugh, please don't spam the chat
[06:54] pV: np
[06:54] tuhoojabotti: :D
[06:54] markq: wait so what's the problem with your package
[06:54] markq: secoif ^
[06:54] p1d has joined the channel
[06:55] niloy: how long does nodejs take to build on a decent home computer?
[06:55] markq: max of 1-2 mins
[06:55] niloy: how long will it take on arm 600Mhz ? any estimate?
[06:55] secoif: markq apparently it's any zipball url, I just tried npm install https://github.com/Marak/Faker.js/zipball/master, same issue
[06:56] tuhoojabotti: niloy: Long enough.
[06:56] secoif: I have a feeling it's something github changed regarding their archiving format, or something
[06:56] markq: niloy: it'll take a while
[06:56] Dmitrijus: niloy: just run it :)
[06:56] replore has joined the channel
[06:56] replore_ has joined the channel
[06:57] niloy: okay ^_^
[06:57] markq: secoif: just curious but how would i npm install a fork of a package without adding the entire url
[06:57] markq: is there a shorter way?
[06:57] markq: like for Faker for example
[06:57] chrishatton has joined the channel
[06:57] secoif: I don't believe so, you either use the npm repo or a url to an archive
[06:58] markq: oh
[06:58] markq: i see
[06:58] secoif: markq you used to be able to do it with `npm install https://github.com/*/*/zipball/master`
[06:58] secoif: markq but it has gotten borked sometime recently
[06:59] markq: sucks :(
[07:01] Locke23rus has joined the channel
[07:02] dyakovlev has joined the channel
[07:06] davetayls has joined the channel
[07:07] Hanspolo has joined the channel
[07:08] `3rdEden has joined the channel
[07:10] booo has joined the channel
[07:10] triptec has joined the channel
[07:11] tahu has joined the channel
[07:12] braoru has joined the channel
[07:12] luke` has joined the channel
[07:12] braoru has joined the channel
[07:13] mikeal has joined the channel
[07:13] maletor has joined the channel
[07:14] Morkel has joined the channel
[07:17] Hotroot has joined the channel
[07:18] tdegrunt has joined the channel
[07:19] rgl has joined the channel
[07:21] luke`_ has joined the channel
[07:22] SamuraiJack has joined the channel
[07:23] luke`__ has joined the channel
[07:23] yawNO has joined the channel
[07:26] Wizek has joined the channel
[07:27] nickradford has joined the channel
[07:28] kuebk has joined the channel
[07:28] jbpros has joined the channel
[07:29] tomtomaso has joined the channel
[07:31] harthur has joined the channel
[07:31] niloy has joined the channel
[07:32] hij1nx has joined the channel
[07:32] spolu has joined the channel
[07:33] curtischambers has joined the channel
[07:34] koo3 has joined the channel
[07:38] mange_ has joined the channel
[07:39] erikzaadi has joined the channel
[07:42] chrishatton has joined the channel
[07:44] kuebk1 has joined the channel
[07:44] mmyjona has joined the channel
[07:46] Margle has joined the channel
[07:47] rendar has joined the channel
[07:48] groom has joined the channel
[07:48] erikzaadi has joined the channel
[07:50] niloy has joined the channel
[07:52] kuebk has joined the channel
[07:54] salva has joined the channel
[07:54] robotmay has joined the channel
[07:55] ccare has joined the channel
[07:55] jstonne has joined the channel
[07:56] snearch has joined the channel
[08:00] shinuza has joined the channel
[08:02] hipsters_ has joined the channel
[08:02] kickingvegas has joined the channel
[08:05] tdegrunt has joined the channel
[08:06] fangel has joined the channel
[08:08] Hanspolo has joined the channel
[08:11] olivier has joined the channel
[08:11] Neil has joined the channel
[08:12] rgl has joined the channel
[08:13] yawNO has joined the channel
[08:14] secoif has joined the channel
[08:14] secoif has joined the channel
[08:15] secoif has joined the channel
[08:15] secoif has joined the channel
[08:16] secoif has joined the channel
[08:16] davetayls has joined the channel
[08:17] secoif has joined the channel
[08:17] secoif has joined the channel
[08:18] djcoin has joined the channel
[08:18] secoif has joined the channel
[08:18] ablomen has joined the channel
[08:19] secoif has joined the channel
[08:19] secoif has joined the channel
[08:20] secoif has joined the channel
[08:20] secoif has joined the channel
[08:21] sproates has joined the channel
[08:21] secoif has joined the channel
[08:21] richardr has joined the channel
[08:22] secoif has joined the channel
[08:22] niloy has joined the channel
[08:22] secoif has joined the channel
[08:23] secoif has joined the channel
[08:23] secoif has joined the channel
[08:23] sdwrage has joined the channel
[08:24] secoif has joined the channel
[08:24] markq: someone speak! it's a ghost town :/
[08:25] secoif has joined the channel
[08:25] secoif has joined the channel
[08:26] secoif has joined the channel
[08:26] kodisha has joined the channel
[08:26] secoif has joined the channel
[08:27] secoif has joined the channel
[08:27] msch: hi, how do I turn a SlowBuffer in a Buffer in node's C++ API?
[08:29] cognominal has joined the channel
[08:31] [AD]Turbo has joined the channel
[08:31] caffine has joined the channel
[08:33] shinuza has joined the channel
[08:36] jbpros has joined the channel
[08:37] joshgillies has joined the channel
[08:39] tim_smart: msch: Why would you want to convert it? Once it is created, conversion would just add overhead.
[08:39] davetayls has joined the channel
[08:39] msch: tim_smart: ah, so the end user API is exactly the same?
[08:39] sdwrage has left the channel
[08:40] martin_sunset: Has anyone written excel parser in node yet?
[08:40] tim_smart: msch: I'm pretty sure it is. You will have to double check on that however.
[08:40] msch: tim_smart: ok, thanks!
[08:41] whitman has joined the channel
[08:43] tim_smart: martin_sunset: Checked http://search.npmjs.org/ ?
[08:43] adambeynon has joined the channel
[08:43] herbySk has joined the channel
[08:44] martin_sunset: tim_smart: Yeah, empty...
[08:44] sveimac has joined the channel
[08:44] lperrin has joined the channel
[08:45] cesconix has joined the channel
[08:46] voidvector has joined the channel
[08:47] astropirate: martin_sunset, excell as in MS Excell?
[08:47] astropirate: you can export as CSV from excell i believe which makes it so much easier to parse
[08:48] kickingvegas has left the channel
[08:48] martin_sunset: astropirate: Yes. But I am not interested in exporting but having a calculation engine. E.g, something that knows how to parse excel formulas
[08:48] astropirate: ahh
[08:48] astropirate: nvm then
[08:49] [AD]Turbo: hi there
[08:49] slaskis has joined the channel
[08:49] astropirate: Greetings
[08:50] bergie has joined the channel
[08:50] ppcano has joined the channel
[08:55] booyaa: halo
[08:55] raincole_ has joined the channel
[08:55] booyaa: martin_sunset: oh dear we having to write more software? :)
[08:56] Druide_ has joined the channel
[08:56] booyaa: martin_sunset: last week it was json web service discovery
[08:56] aaronmcadam has joined the channel
[08:56] cosmincx has joined the channel
[08:56] martin_sunset: booyaa: hello there. No, here I was just curious
[08:56] booyaa: martin_sunset: does google docs have an api?
[08:57] booyaa: it's been a while since i tried using excel in docs so formulas might not work anyways
[08:57] booyaa: least you didn't say vba :)
[08:57] martin_sunset: booyaa: Probably. Anyways, I was just wondering. Argh, vba, now that was a pita
[08:57] mikedeboer has joined the channel
[08:58] booyaa: trudate, i understand why people used it. but in this day and age when we have wolfram and r. kinda seems too much effort
[08:58] booyaa: lots of s/w companies still write excel add-ins for the financial sect
[08:59] martin_sunset: booyaa: Yeah, excel is not going away... And people understand the syntax
[08:59] koo3 has joined the channel
[08:59] booyaa: some of us know the formula from lotus daze :D
[09:00] voidvector: it's a lot cheaper to teach non-technical people excel, than to hire technical people. and its near impossible to train non-tech to be technical
[09:00] martin_sunset: booyaa: Some kids here were not born when lotus came up. And yeah, even my mom is good at excel
[09:00] booyaa: heh
[09:00] chrisvwebdev has joined the channel
[09:01] michaelhartau has joined the channel
[09:02] secoif has joined the channel
[09:02] martin_sunset: booyaa: What I am looking for though is a mongodb analytics storage engine, just the backend. Someone on this list was working on one, but I forgot the name
[09:02] salva has joined the channel
[09:02] secoif has joined the channel
[09:03] booyaa: yeah i remember you asking for this a while back
[09:03] booyaa: still no joy then? :(
[09:03] secoif has joined the channel
[09:03] voodootikigod_ has joined the channel
[09:03] braoru has joined the channel
[09:04] robhawkes has joined the channel
[09:04] martin_sunset: Na, did not even think about it. My strategy with this stuff is to wait it out till someone comes up with it
[09:04] secoif has joined the channel
[09:04] secoif has joined the channel
[09:05] secoif has joined the channel
[09:05] booyaa: you'd have thought the mongodb providers would have written software to do this. i mean how else acn you charge for usage?
[09:05] booo has joined the channel
[09:05] secoif has joined the channel
[09:06] aliem has joined the channel
[09:06] erichocean has joined the channel
[09:06] martin_sunset: Yeah, but no one is open sourcing this for obvious reasons.
[09:06] jldbasa has joined the channel
[09:06] booyaa: that's a bit more
[09:06] booyaa: poor
[09:06] martin_sunset: It's not hard, but it takes time
[09:06] secoif has joined the channel
[09:06] booyaa: oh martin_sunset you london based? seem to think you were in the uk
[09:06] pors has joined the channel
[09:06] erichocean: Hi. I'm having trouble using require() with a path, e.g. require('npm_module/directory_with_package_json')
[09:06] shinuza has joined the channel
[09:07] Leemp2 has joined the channel
[09:07] secoif has joined the channel
[09:07] martin_sunset: No, I am in Austria, just switched visa, heading back stateside in a couple of weeks
[09:07] booyaa: have you tried require('./npm_module/directory_with_package_json')
[09:07] booyaa: martin_sunset: ah off to do some pitching? ;)
[09:07] secoif has joined the channel
[09:07] booyaa: erichocean: ^^
[09:07] erichocean: boyes
[09:08] erichocean: oops, booyaa yes, I have
[09:08] erichocean: it can't find the module then (it's linked with npm link)
[09:08] booyaa: no joy... mmmm
[09:08] secoif has joined the channel
[09:08] booyaa: which module?
[09:08] erichocean: my own
[09:08] martin_sunset: Pitching, living,... Changed from investor visa to immigration visa.
[09:08] erichocean: is "foo/bar" a valid module name?
[09:08] Flushot has joined the channel
[09:08] secoif has joined the channel
[09:09] erichocean: I guess I'm assuming that npm will find the 'foo' module, then load the 'bar/package.json' and require the main: file
[09:09] jimt has joined the channel
[09:09] hipsters_ has joined the channel
[09:09] secoif has joined the channel
[09:09] erichocean: but obviously that's not happenning
[09:09] booyaa: martin_sunset: oh cool!
[09:10] secoif has joined the channel
[09:10] erichocean: I've tried placing 'bar' in both the node_modules within foo, and in foo's top level directory
[09:10] secoif has joined the channel
[09:10] triptec has joined the channel
[09:11] secoif has joined the channel
[09:11] secoif has joined the channel
[09:12] secoif has joined the channel
[09:13] secoif has joined the channel
[09:13] ziro`_ has joined the channel
[09:13] secoif has joined the channel
[09:13] labuser has joined the channel
[09:14] booyaa: erichocean: it's times like this where having an equivalent of "which" for node would be helpful. i suspect link has failed to install it in one of the dirs where node is going to look
[09:14] secoif has joined the channel
[09:14] booyaa: i think one of them is $NODE_PATH
[09:14] secoif has joined the channel
[09:15] vvo has joined the channel
[09:15] geoKe has joined the channel
[09:16] secoif has joined the channel
[09:16] robotmay has joined the channel
[09:17] secoif has joined the channel
[09:17] secoif has joined the channel
[09:18] secoif has joined the channel
[09:18] Lingerance: booyaa: You mean like require.resolve()?
[09:18] robde has joined the channel
[09:18] booyaa: prolly
[09:18] secoif has joined the channel
[09:18] Lingerance: > require.resolve('Ext')
[09:18] Lingerance: '/home/robin/node_modules/Ext/index.js'
[09:18] booyaa: nice!
[09:19] beevits has joined the channel
[09:19] booyaa: erichocean: ^^^ use resolve against a module you know works (that isn't core or installed globally)
[09:19] secoif has joined the channel
[09:19] Lingerance: It should work with global stuff too
[09:19] erichocean: booyaa: resolve works fine with other modules
[09:19] secoif has joined the channel
[09:20] booyaa: yeah what i'm saying is that npm link has installed it somewhere, but not in the same path any non-core stuff is installed in
[09:20] secoif has joined the channel
[09:20] booyaa: Lingerance: nice find the resolve stuff :)
[09:21] kazupon has joined the channel
[09:21] secoif has joined the channel
[09:21] Iszak has joined the channel
[09:21] sgimeno has joined the channel
[09:21] Iszak: isnodejsstableyet?
[09:21] Iszak: or rather isnodejsapistableyet/
[09:21] secoif has joined the channel
[09:22] booyaa: no come back a in few years time once we've all got gold plated suits
[09:22] secoif has joined the channel
[09:22] Iszak: doubt that'll happen at the current price of gold.
[09:22] Lingerance: It'll most likely be stable when they get to 1.x, however the differences between 0.4 and 0.6 weren't that much API-wise.
[09:23] booyaa: Lingerance: was listening to nodeup
[09:23] booyaa: #1 what's the libuv stuff? i know they had to do that to make the win port happen
[09:23] __max has joined the channel
[09:24] secoif has joined the channel
[09:24] Iszak: So in reality, we shouldn't be using node.js because in the case a security vulnerability comes out on 0.4 which is no longer supported, we're screwed?
[09:24] abraxas: libuv is the library they made that deals with the I/O APIs for different operating systems (windows, posix)
[09:24] Iszak: I'm assuming 0.4 is no longer supported?
[09:24] secoif has joined the channel
[09:24] booyaa: Iszak: the hash collision stuff?
[09:25] secoif has joined the channel
[09:25] Iszak: sure, yeah that.
[09:25] booyaa: aren't they backporting the fix to older version of v8?
[09:25] secoif has joined the channel
[09:26] Iszak: don't know, who's they?
[09:26] erichocean: booyaa: turned out it was that NPM_PATH needed to be set; thanks!
[09:26] booyaa: erichocean: WIN!
[09:26] secoif has joined the channel
[09:26] OmidRaha has joined the channel
[09:26] booyaa: erichocean: let us know when you've published your module on npmjs.org
[09:27] secoif has joined the channel
[09:27] erichocean: will do, it's sproutcore's npm module
[09:27] erichocean: we have a new build system that allows sharing sproutcore frameworks/apps/plugins etc. as npm modules
[09:27] secoif has joined the channel
[09:27] vguerra has joined the channel
[09:28] secoif has joined the channel
[09:28] booyaa: sproutcore didn't one of your modules get a rename recently? i think it might have been the js side (excuse my ignorance)
[09:28] hackband has joined the channel
[09:28] secoif has joined the channel
[09:28] erichocean: the project forked, a mini-SproutCore focused on HTML templating got renamed to Ember.js
[09:29] secoif has joined the channel
[09:29] secoif has joined the channel
[09:30] jm_ has joined the channel
[09:30] secoif has joined the channel
[09:30] booyaa: right that's it...
[09:31] booyaa: excuse me while i poke sql server with a big pointy stick
[09:31] secoif has joined the channel
[09:31] Guest73408 has left the channel
[09:31] secoif has joined the channel
[09:32] secoif has joined the channel
[09:32] stagas has joined the channel
[09:32] secoif has joined the channel
[09:33] mikedeboer has joined the channel
[09:33] secoif has joined the channel
[09:33] hellp has joined the channel
[09:34] secoif has joined the channel
[09:34] agnat has joined the channel
[09:34] thalll has joined the channel
[09:34] secoif has joined the channel
[09:34] max42 has joined the channel
[09:35] secoif has joined the channel
[09:35] mikeal has joined the channel
[09:35] secoif has joined the channel
[09:36] tomasztomczyk has joined the channel
[09:36] secoif has joined the channel
[09:36] hz has joined the channel
[09:36] statusfailed has joined the channel
[09:36] secoif has joined the channel
[09:37] secoif has joined the channel
[09:39] lzskiss has joined the channel
[09:41] mara has joined the channel
[09:42] TomY has joined the channel
[09:43] mara__ has joined the channel
[09:44] rendar has joined the channel
[09:47] prssn has joined the channel
[09:47] dexter_e has joined the channel
[09:48] Hotroot has left the channel
[09:49] claudio has joined the channel
[09:50] dob_ has joined the channel
[09:50] LeMike has joined the channel
[09:52] mc_greeny has joined the channel
[09:52] prssn: In my application I'm using connect to serve static files, and I'm counting all the requests i.e. how many times /index.html has been loaded. It works perfectly when I'm visiting /index.html directly but if I'm loading it in an iframe I can't count the request, even if index.html is served. Why can't I see this request?
[09:53] prssn: Sotty for my english
[09:55] dannyamey has joined the channel
[09:56] robi42 has joined the channel
[09:57] mandric has joined the channel
[09:57] wmage has joined the channel
[09:58] yawNO has joined the channel
[09:59] Carmivore has joined the channel
[10:02] tcurdt has joined the channel
[10:02] jldbasa has joined the channel
[10:04] tvw has joined the channel
[10:04] Blorb has joined the channel
[10:05] jimmysparkle has joined the channel
[10:05] xetorthio has joined the channel
[10:07] markwubben has joined the channel
[10:07] kmox83 has joined the channel
[10:08] elijah-away has joined the channel
[10:08] HardPhuck has joined the channel
[10:11] ismell has joined the channel
[10:11] Nuck has joined the channel
[10:11] Draggor has joined the channel
[10:11] wookiehangover has joined the channel
[10:14] icebox has joined the channel
[10:14] chot: caching the result perhaps?
[10:14] larsschenk has joined the channel
[10:15] chot: just an idea
[10:15] eldios has joined the channel
[10:15] larsschenk has left the channel
[10:15] martin_sunset: Chot++
[10:15] catb0t: chot now has 1 beer
[10:15] mikrosystheme has joined the channel
[10:16] booyaa: .. process.version
[10:16] catb0t: Exception: ReferenceError: process is not defined
[10:16] booyaa: :)
[10:17] booyaa: .. typeof chot
[10:17] catb0t: "undefined"
[10:17] booyaa: :~(
[10:18] booyaa: i weep for you chot
[10:18] chot: hehe
[10:18] jimt has joined the channel
[10:20] chot: .. catb0t, I command you to spread love and happiness among all of mankind
[10:20] catb0t: Exception: SyntaxError: Unexpected identifier
[10:21] chot: bah
[10:21] booyaa: heh
[10:21] chot: the day computers can pick up on that, we've gotten somewhere
[10:22] prssn: chot: Any idea how I can do that? Is it something buildt-in in Connect?
[10:22] chot: prssn: sorry, I've never used Connect (and barrely node.js for that matter)
[10:26] mmyjona has joined the channel
[10:26] astropirate: prssn, it doesn't matter if its an iframe or ajax or w/e an http request is an http request
[10:26] astropirate: are you sure its not counting?
[10:26] astropirate: maybe the browser cache's it
[10:26] astropirate: so it doesn't make another request
[10:28] Carmivore has joined the channel
[10:28] jm_: hi do i need microsoft visul studio upon installing nodejs?
[10:29] RLa: for compiling extensions?
[10:29] prssn: : Yes it's not counting. But yeah maybe it's in the broswer. Is there any way i can force the iframe to always reload the frame from source and not cache? (if any)
[10:29] lperrin has joined the channel
[10:29] astropirate: prssn, yes, you can set the Expires headers to a time in the past, then the browser will never cache it
[10:30] RLa: astropirate, what if it's already cached
[10:30] astropirate: press Ctr+F5
[10:30] RLa: you need to invalidate that somehow
[10:30] astropirate: :D
[10:30] RLa: tell that to every user? :)
[10:30] astropirate: its till in developement
[10:30] astropirate: i assume.
[10:30] RLa: oh, lucky then
[10:31] astropirate: webgl why you soo hard?!??
[10:32] martin_sunset: Rla add a cache buster value, that's how it is normally done
[10:33] RLa: yes, that's good way
[10:33] martin_sunset: Your link?cb=currentdateinmssince1970
[10:33] yawNO has joined the channel
[10:35] arcanis has joined the channel
[10:37] booyaa: astropirate: have you tried three.js?
[10:38] maritz has joined the channel
[10:39] kulor-uk has joined the channel
[10:39] dexter_e has joined the channel
[10:41] niftylettuce has joined the channel
[10:41] astropirate: booyaa, yah i'm using it but i'm a total newbie.. not sure how to give a glow effect to my particles
[10:41] astropirate: stupid shaders
[10:42] blissdev has joined the channel
[10:42] jm has joined the channel
[10:43] Juan77 has joined the channel
[10:43] booyaa: astropirate: wondering if you might find some sample code here? http://glsl.heroku.com/
[10:43] booyaa: i think this is also powered by three.js, meant to be jsfiddle for all things webgl
[10:43] abraxas has joined the channel
[10:43] booyaa: sadly i don't think you can sort my fx
[10:43] Laxmi has joined the channel
[10:44] astropirate: what you mean
[10:45] fermion has joined the channel
[10:45] tytsim has joined the channel
[10:45] jm: guys do in need visul studio for installing node js?
[10:46] augustl: jm: no
[10:46] dawido has joined the channel
[10:46] quijote has joined the channel
[10:47] jm: how will i be able to install node js?
[10:49] jm: it is said in the intallation guide that node js needs python and microsft visual studio
[10:49] d0k has joined the channel
[10:50] prssn: No it doesn't?
[10:50] prssn: which guide?
[10:51] bogomips has joined the channel
[10:51] booyaa: jm: just use the msi on the website
[10:51] herbySk has joined the channel
[10:51] booyaa: you get npm as part of the install
[10:52] jm: this guide https://github.com/joyent/node/wiki/Installation
[10:53] jm: @booya then how will i be able to run it
[10:53] jm: ?
[10:53] swestcott has joined the channel
[10:53] booyaa: http://nodejs.org/#download
[10:54] jm: i have now successfully installed node js
[10:54] booyaa: WIN!
[10:54] Heisenmink_ has joined the channel
[10:54] yawNO has joined the channel
[10:55] tuhoojabotti: :D
[10:55] jm: @booya : what will i do next? how will i run it?
[10:55] booyaa: http://www.nodebeginner.org/
[10:55] tuhoojabotti: :D
[10:55] booyaa: http://howtonode.org/
[10:55] tuhoojabotti: jm: You add the node.exe to your PATH
[10:55] booyaa: http://nodeguide.com/
[10:55] tuhoojabotti: then open cmd and run node script.js
[10:56] booyaa: tuhoojabotti: provided jm opens a new cmd prompt should be in his path
[10:56] booyaa: the installer takes care of that stuff (well it did in earlier realises of v0.6
[10:56] tuhoojabotti: Ok
[10:56] __tosh has joined the channel
[10:56] tdegrunt has joined the channel
[10:57] booyaa: sadly we've got stupid iis proxies so my npm is sad
[10:57] booyaa: at work i should point out
[10:58] `3rdEden has joined the channel
[11:00] maritz has joined the channel
[11:05] robde has joined the channel
[11:05] jm: @booya thanks
[11:06] skm has joined the channel
[11:09] booyaa: jm take no prisoners! js or die! yada yada
[11:09] ph^ has joined the channel
[11:11] meso has joined the channel
[11:17] yawNO has joined the channel
[11:18] dexter_e has joined the channel
[11:21] johnhame_ has joined the channel
[11:23] ger^kallisti has joined the channel
[11:24] versicolor has joined the channel
[11:24] burningdog has joined the channel
[11:24] booyaa: .. var halp = 'http://howtonode.org?'
[11:25] catb0t:
[11:25] booyaa: .. halp
[11:25] catb0t: "http://howtonode.org?"
[11:25] c4milo has joined the channel
[11:25] booyaa: who owns catbot? got an idea...
[11:25] booyaa: catb0t: owner?
[11:25] catb0t: owner hasn't pulled any patches for a
[11:25] tuhoojabotti: :P
[11:25] Hanspolo has joined the channel
[11:26] booyaa: catb0t: ryah nodejs
[11:26] catb0t: nodejs on bluehost or ryah
[11:26] booyaa: ACTION blinks wtf
[11:26] JmZ has joined the channel
[11:26] tuhoojabotti: catb0t: booyaa lol
[11:27] catb0t: booyaa , I finally and then verify it , don't t have worked properly with strings and buffers and spits out the current master, e current lol
[11:27] digilink has joined the channel
[11:27] tuhoojabotti: booyaa: roplems?
[11:28] booyaa: tuhoojabotti: i take it, loses variable/state when it restarts?
[11:28] booyaa: catb0t: booyaa karma
[11:28] catb0t: booyaa , thanks dude you rock
[11:28] tuhoojabotti: I guess.
[11:29] tuhoojabotti: catb0t: reddit tuhoojabotti
[11:29] catb0t: tuhoojabotti , hm, I just wonder if i didnt hate textmate syntaxes so much fun
[11:29] tuhoojabotti: :u
[11:30] raingrove has joined the channel
[11:30] raingrove has joined the channel
[11:30] fangel has joined the channel
[11:32] johnhamelink has joined the channel
[11:34] lesoosh has joined the channel
[11:34] lesoosh: hey, is there a way to tell jade not to "html encode" a string? like not replacing "&" with "&" in a url?
[11:34] versicolor has joined the channel
[11:34] CrawfordComeaux has joined the channel
[11:35] lesoosh: oh... !{var} does that
[11:38] pct has joined the channel
[11:38] Guest71076 has joined the channel
[11:39] flat has joined the channel
[11:40] jomoho has joined the channel
[11:41] deoxxa: https://gist.github.com/1588589
[11:41] Guest71076 has joined the channel
[11:41] deoxxa: do all the decent javascript vms optimise that code ok?
[11:41] deoxxa: talking about recent spidermonkey, v8, whatever IE uses
[11:41] versicolor has joined the channel
[11:41] case_: my eyes bleed :)
[11:42] deoxxa: it's auto-generated code :P
[11:42] deoxxa: i'm specifically talking about the anonymous function
[11:42] tytsim has joined the channel
[11:43] deoxxa: would it speed things up significantly to put the function defined on line 6 somewhere else, then refer to it by name?
[11:43] TheNumb: deoxxa: yay for spaghetti code!
[11:43] case_: deoxxa, i'll be extremly suprised if that changed anything
[11:44] deoxxa: it's not hand-written! it's compiled from a template
[11:44] case_: but i'm not a js expert
[11:44] bogomips has joined the channel
[11:44] deoxxa: case_: that's what i was thinking - i might just manually modify the compiled files and benchmark them
[11:46] aliem has joined the channel
[11:48] dharmesh has joined the channel
[11:48] fangel has joined the channel
[11:49] johnhamelink has joined the channel
[11:49] jetienne_ has joined the channel
[11:50] johnhamelink has joined the channel
[11:50] jomoho2 has joined the channel
[11:54] stagas has joined the channel
[11:56] mikrosystheme has left the channel
[11:57] booyaa: what replaced process.compile after v0.3.2?
[11:58] jomoho has joined the channel
[11:58] Hinton has joined the channel
[11:58] Hinton: Hey, anyone know if there is a rss subscribe module, that gives me the new items
[11:59] RLa: "new items"?
[11:59] RLa: i guess you need to manually keep track which are new and which are not
[12:00] Hinton: Well grab the feed once on initialization, and regrab it after 10min or so to check if there are new items
[12:00] shinuza has joined the channel
[12:00] RLa: i did that by storing titles of already fetched items
[12:00] braoru has joined the channel
[12:00] RLa: tho there might be some better way
[12:01] Hinton: pubdate of the last items and compare it to the new last item?
[12:01] RLa: anyway, you would need to store some data about items already seen
[12:01] RLa: yeah
[12:01] Hinton: I don't presume anyone has made it already?
[12:01] Hinton: I hate reinventing the wheel
[12:02] cjm has joined the channel
[12:02] booyaa: you checked search.npmjs.org and http://eirikb.github.com/nipster/# ?
[12:02] Hinton: https://github.com/jheusala/node-rssee
[12:02] Hinton: now that seems intresting
[12:03] Hinton: i checked npmjs, but nipster seems much easier to read
[12:03] booyaa: i like nipster because it includes watchers
[12:03] booyaa: you can see what people might be using more
[12:03] Hinton: yea, exactly :)
[12:04] Edy has joined the channel
[12:04] Edy has joined the channel
[12:04] Hinton: going to give node-rssee a try
[12:04] Hinton: thanks, RLa, booyaa
[12:04] booyaa: np
[12:08] robotmay has joined the channel
[12:11] charlenopires has joined the channel
[12:11] burningdog has joined the channel
[12:12] dylang has joined the channel
[12:12] mikedeboer has joined the channel
[12:12] cognominal_ has joined the channel
[12:14] robhawkes has joined the channel
[12:16] Heisenmink has joined the channel
[12:17] CrisO has joined the channel
[12:17] CrisO has left the channel
[12:18] cosmincx has joined the channel
[12:18] ff_ has joined the channel
[12:19] Heisenmink has joined the channel
[12:20] ff_: how do i run node js?
[12:21] Heisenmink has joined the channel
[12:21] ff_: hi
[12:21] herbySk has joined the channel
[12:22] ff_: where do i need to store my files in order for it to run?
[12:23] __doc__ has joined the channel
[12:23] lperrin has joined the channel
[12:24] jomoho2 has joined the channel
[12:25] piscisaureus_ has joined the channel
[12:26] martin_sunset: Ff_ any folder will do. Read up on package.json at docs.nodejitsu.com.
[12:28] zilch_ has joined the channel
[12:28] shellox_ has joined the channel
[12:28] martin_sunset: Toolbox.no.de is also a good read, affair
[12:28] shellox_: hi
[12:28] shellox_: anyone use Hubot?
[12:29] tytsim has joined the channel
[12:29] booyaa: shellox_: might be worth trying on #github
[12:30] ziro`_ has joined the channel
[12:31] phire has joined the channel
[12:33] shellox_: booyaa: im not sure
[12:33] johnhamelink: shellox_ we do
[12:33] shellox_: http://dpaste.com/685260/
[12:33] jomoho has joined the channel
[12:33] shellox_: it looks like a node problem, no?
[12:34] johnhamelink: shellox_ Is Redis up/working?
[12:35] ovaillancourt has joined the channel
[12:36] shellox_: johnhamelink: yes, it is
[12:36] airandfingers has joined the channel
[12:36] airandfingers: hello hello
[12:37] qsobad has joined the channel
[12:38] shinuza: shellox_: you should try to connect manually
[12:39] shinuza: from the machine, using the same settings as hubot
[12:39] shellox_: shinuza: i did
[12:39] booyaa: hee getting excited about this month's lnug :)
[12:40] cosmincx has joined the channel
[12:40] johnhamelink: shellox_ try running as root - mightbe a permissions problem
[12:40] shellox_: redis 127.0.0.1:6379> set test blah
[12:40] shellox_: OK
[12:41] LeMike has joined the channel
[12:42] booyaa: anyone else going to this month's lnug (hosted by forward tech)?
[12:42] shellox_: HardPhuck: i got the same error as root
[12:44] shellox_: eh, i mean johnhamelink
[12:44] johnhamelink: booyaa I am :)
[12:44] mmyjona has joined the channel
[12:45] johnhamelink: shellox_ check npm's installed all the modules
[12:47] fangel has joined the channel
[12:48] deeprogram has joined the channel
[12:49] booyaa: johnhamelink: hopefully i'll actually get some pizza this time
[12:49] booyaa: misjudged the journey from work to fwd
[12:49] airandfingers: anyone here use request?
[12:50] deoxxa: i wanted to, but it doesn't support binary responses
[12:51] deoxxa: :/
[12:51] rio{ has joined the channel
[12:52] mytrile has joined the channel
[12:52] subbyyy has joined the channel
[12:54] johnhamelink: booyaa that pizza went _fast_ last time
[12:55] deoxxa: i could totally eat pizza
[12:55] hubot7 has joined the channel
[12:55] shellox_: ok thanks it worked
[12:55] airandfingers: hm that sucks
[12:57] fairwinds has joined the channel
[12:57] johnhamelink: shellox_ what fixed it? :)
[12:58] lwille has joined the channel
[12:58] lwille has joined the channel
[12:58] TheFuzzball has joined the channel
[12:58] kazupon has joined the channel
[13:01] k1ttty has joined the channel
[13:05] postwait has joined the channel
[13:06] Hinton has left the channel
[13:06] Cromulent has joined the channel
[13:06] Hanspolo has joined the channel
[13:06] davetayls has joined the channel
[13:06] burningdog has joined the channel
[13:08] Wizek has joined the channel
[13:08] scott_gonzalez has joined the channel
[13:09] unomi has joined the channel
[13:09] justmoon has joined the channel
[13:12] erikzaadi has joined the channel
[13:15] Heisenmink has joined the channel
[13:16] idoru has joined the channel
[13:16] idoru has joined the channel
[13:16] magnetik has joined the channel
[13:16] MrTopf has joined the channel
[13:17] erichynds has joined the channel
[13:17] k1ttty_ has joined the channel
[13:19] jondot_ has joined the channel
[13:19] jondot_: hi all. any fast uuid version 1 generation library for nodejs ?
[13:19] jondot_: (aka timeuuid)
[13:19] eliasp has joined the channel
[13:21] robde has joined the channel
[13:21] enmand has joined the channel
[13:23] cognominal has joined the channel
[13:23] vkareh has joined the channel
[13:24] ziro`_ has joined the channel
[13:25] lwille: jondot, I always use crypto.md5: http://pastie.org/3160158 - works well for me, but you should check the uniqueness of the generated hash.
[13:25] lwille: You can also try https://github.com/akdubya/rbytes which uses openssl
[13:28] jomoho2 has joined the channel
[13:30] aliem_ has joined the channel
[13:30] tmcw has joined the channel
[13:30] kyonsalt has joined the channel
[13:31] JJMalina has joined the channel
[13:32] mc_greeny has joined the channel
[13:32] shinuza has joined the channel
[13:32] davetayls has joined the channel
[13:33] TimTim has joined the channel
[13:33] dthompso99 has joined the channel
[13:34] airandfingers: question: http://stackoverflow.com/questions/8804085/jsdom-form-submisison
[13:35] JdpB42 has left the channel
[13:35] flat has joined the channel
[13:37] jjido has joined the channel
[13:37] cjm has joined the channel
[13:38] swestcott has joined the channel
[13:38] lperrin has joined the channel
[13:39] Margle_ has joined the channel
[13:39] level09 has joined the channel
[13:45] quijote has joined the channel
[13:46] _dc has joined the channel
[13:47] kriszyp has joined the channel
[13:47] theycallmeswift has joined the channel
[13:48] deeprogram_ has joined the channel
[13:49] robi42 has joined the channel
[13:49] kuhrt has joined the channel
[13:50] airandfingers: updated: http://stackoverflow.com/questions/8804085/jsdom-form-submisison
[13:52] Shaunzie has joined the channel
[13:53] dbsps has joined the channel
[13:53] airandfingers: fixed url spelling ;) http://stackoverflow.com/questions/8804085/jsdom-form-submission
[13:53] ovnicraft has joined the channel
[13:54] iRoj has joined the channel
[13:56] jomoho has joined the channel
[13:57] k1ttty has joined the channel
[13:57] rio{ has joined the channel
[13:58] N0va` has joined the channel
[13:58] xetorthio has joined the channel
[13:59] fdoubleyou has joined the channel
[13:59] hz has joined the channel
[14:00] cjroebuck has joined the channel
[14:00] maritz: airandfingers: you can't "submit" the form like you would in the browser because jsdom only emulates the dom tree. (afaik)
[14:00] maritz: airandfingers: you'll have to use request.post() to do the post manually.
[14:01] maritz: please type myname++ if this helps you :D
[14:01] airandfingers: maritz++
[14:01] maritz: thanks
[14:02] eb4890 has joined the channel
[14:02] airandfingers: okay, but is there some way i can do something similar, with jsdom or another module?
[14:02] airandfingers: i'd rather not hardcode the post requests; that could get tricky depending on the site
[14:02] airandfingers: and i've got lots of experience triggering DOM events client-side with jQuery
[14:03] deoxxa: please type myname++ if you want to anger maritz
[14:03] airandfingers: seems like i'd basically need a browser to make this work
[14:03] airandfingers: @deoxxa we'll see ;)
[14:03] dob__ has joined the channel
[14:03] bnoordhuis has joined the channel
[14:05] cesconix has joined the channel
[14:06] plutoniix has joined the channel
[14:06] easternbloc has joined the channel
[14:07] easternbloc: Hi all, does anyone know how to publish to NPM using a post-hook on a CI instance. I'm guessing I need to authenticate with NPM first?
[14:08] jimmysparkle has joined the channel
[14:08] deedubs has joined the channel
[14:10] madhums has joined the channel
[14:10] joshsmith has joined the channel
[14:11] redir has joined the channel
[14:12] gavin_huang has joined the channel
[14:12] Venom_X has joined the channel
[14:13] AaronMT has joined the channel
[14:15] benvie has joined the channel
[14:15] Lingerance: airandfingers: You might want zombie then.
[14:15] sharkbird has joined the channel
[14:15] lazyshot has joined the channel
[14:17] joshfinnie has joined the channel
[14:18] carlyle has joined the channel
[14:18] astropirate has joined the channel
[14:18] kuebk has left the channel
[14:18] maritz: airandfingers: no, why? you can just do the manual post?!
[14:18] maritz: it's not much mor complicated
[14:18] maritz: +e
[14:18] maritz: if at all
[14:18] maritz: deoxxa--
[14:18] catb0t: deoxxa now has -1 beer
[14:18] maritz: :D
[14:19] deoxxa: oh burn
[14:20] cosmincx has joined the channel
[14:21] davidsklar has joined the channel
[14:21] Industrial: DELETE and UPDATE requests should return with 204 when sucessful right?
[14:21] tuhoojabotti: Refer to spec
[14:21] tuhoojabotti: I think it should be 418
[14:22] maritz: airandfingers: instead of individually setting the values in the fields and then triggering the submit, you just have to do one simple request.post({url: 'posturl', params: {someparam: 'blub'}}, function () { console.log(arguments);}); and be done with it. (or similar)
[14:22] jomoho2 has joined the channel
[14:22] maritz: tuhoojabotti: are you sure? i think it's 1337.
[14:23] Industrial: tuhoojabotti: there is only 417
[14:23] maritz: teapot is for COFFEEscript requests
[14:23] tuhoojabotti: Industrial: ;O
[14:23] Industrial: tuhoojabotti: no trolling in help IRC channels
[14:23] Industrial: I'm SNERIOUS
[14:23] sdwrage has joined the channel
[14:23] tuhoojabotti: I thought this was community channel. :/
[14:23] maritz: oh shit
[14:23] martin_sunset: Industrial: Depends, some people return the full object on put and delete, then it can't be 204
[14:24] Industrial: right, I'm, not returning anything though
[14:24] martin_sunset: Then 204
[14:24] Industrial: oki
[14:24] maritz: that is if it was successful
[14:24] maritz: (meaning you are finished processing the request completely and did not encounter errors)
[14:25] hz has joined the channel
[14:25] Industrial: tuhoojabotti: snerious reference; http://www.youtube.com/watch?v=eZQw6KuNKqs
[14:25] maritz: NEVER GONNA GIVE YOU UP
[14:25] maritz: (guess)
[14:26] Cromulent has joined the channel
[14:26] Industrial: na
[14:26] maritz: oh :(
[14:26] willwhite has joined the channel
[14:26] tuhoojabotti: Industrial: I didn't even.
[14:27] zitchdog has joined the channel
[14:27] voodootikigod has joined the channel
[14:27] tuhoojabotti: But I gotta say, Trine OST rulz
[14:27] Stephen has joined the channel
[14:27] kazupon has joined the channel
[14:28] johnhamelink has left the channel
[14:29] kyonsalt has joined the channel
[14:29] CarterL has joined the channel
[14:29] sridatta has joined the channel
[14:30] saikat has joined the channel
[14:31] devdazed has joined the channel
[14:31] jstash has joined the channel
[14:31] voodootikigod has joined the channel
[14:31] davetayls has joined the channel
[14:32] sharkbird has joined the channel
[14:33] lduros has joined the channel
[14:33] QaDeS has joined the channel
[14:34] tomasztomczyk has joined the channel
[14:35] meso_ has joined the channel
[14:35] QaDeS_ has joined the channel
[14:35] jomoho has joined the channel
[14:35] m00p has joined the channel
[14:36] xetorthio has joined the channel
[14:36] innociv_ has joined the channel
[14:37] aliem has joined the channel
[14:37] d0k_ has joined the channel
[14:38] devongovett has joined the channel
[14:38] urlisse has joined the channel
[14:38] rodasc has joined the channel
[14:38] Shaunzie_ has joined the channel
[14:38] MrTopf_ has joined the channel
[14:38] geoKe_ has joined the channel
[14:38] lwille: how do I get node::Buffer::New(char *data, size_t len) to work? when I pass in a char* and a size_t, I get an error: no matching function for call to ‘node::Buffer::Buffer(char*&, size_t&)’
[14:39] jeedey_ has joined the channel
[14:39] zemanel_ has joined the channel
[14:39] jetheredge_ has joined the channel
[14:39] Cromulen_ has joined the channel
[14:39] versicolor_ has joined the channel
[14:39] mikey_p_ has joined the channel
[14:39] mikey_p_ has joined the channel
[14:39] Locke23rus_ has joined the channel
[14:39] Vennril_away2 has joined the channel
[14:39] devdazed_ has joined the channel
[14:39] Lingerance: Because you're sending it a pointer to a pointer and a pointer, when it just wants a pointer and a size_t
[14:40] elijahwright has joined the channel
[14:40] azend_ has joined the channel
[14:40] satyr has joined the channel
[14:40] samstefan has joined the channel
[14:40] jldbasa has joined the channel
[14:40] cognominal has joined the channel
[14:40] emilsedgh has joined the channel
[14:40] Pilate has joined the channel
[14:40] nw` has joined the channel
[14:40] dob_ has joined the channel
[14:40] omni5cience has joined the channel
[14:40] whoops has joined the channel
[14:40] fcoury has joined the channel
[14:40] JesusRosso has joined the channel
[14:40] raincole_ has joined the channel
[14:40] gaYak has joined the channel
[14:40] metellus has joined the channel
[14:40] case_ has joined the channel
[14:40] emilsedgh has joined the channel
[14:40] yungchunglin has joined the channel
[14:41] russell_h has joined the channel
[14:41] kloeri has joined the channel
[14:41] eb4890 has joined the channel
[14:41] tomasztomczyk has joined the channel
[14:41] kulor-uk has joined the channel
[14:41] subdeuxed has joined the channel
[14:41] gerard0 has joined the channel
[14:41] igl has joined the channel
[14:41] silky has joined the channel
[14:41] zivester has joined the channel
[14:41] irclogger_com has joined the channel
[14:41] MooGoo has joined the channel
[14:41] gruwl has joined the channel
[14:41] evxd has joined the channel
[14:41] Casan has joined the channel
[14:41] Ezku has joined the channel
[14:41] spleeze has joined the channel
[14:41] zilch_ has joined the channel
[14:41] joeytwiddle has joined the channel
[14:41] vkandy has joined the channel
[14:41] Mortchek has joined the channel
[14:41] amasad has joined the channel
[14:42] lwille: *& = pointer passed as reference
[14:42] _root_ has joined the channel
[14:42] justmoon has joined the channel
[14:42] tomh has joined the channel
[14:42] jgornick has joined the channel
[14:43] niclone has joined the channel
[14:43] ilil_ has joined the channel
[14:43] lwille: here's a snippet: http://pastie.org/3160537
[14:43] eldios has joined the channel
[14:43] sharkbird has joined the channel
[14:44] maritz: lwille++ :)
[14:44] msch has joined the channel
[14:44] lwille: maritz?
[14:44] maritz: http://carmivore.com/ xD
[14:44] CrypticSwarm has joined the channel
[14:44] hij1nx has joined the channel
[14:44] lwille: haha, thanks maritz++
[14:44] JJMalina has joined the channel
[14:44] maritz: some dude in here yesterday asked for beta testers in 10 days on that page.
[14:45] maritz: arg, no. i didn't help you :D
[14:45] Shaunzie has joined the channel
[14:45] lwille: okay maritz-- :)
[14:45] maritz: doesn't work according to him :(
[14:45] lwille: hm -.-
[14:45] maritz: first thing i did: tried -- on him
[14:45] lwille: hehe
[14:45] sharkbird has joined the channel
[14:46] Morkel has joined the channel
[14:46] CarlosC has joined the channel
[14:46] kloeri has joined the channel
[14:46] bkaney has joined the channel
[14:46] loucal_ has joined the channel
[14:46] swestcott has joined the channel
[14:46] matt_c has joined the channel
[14:47] jm_ has joined the channel
[14:48] jm_: hello
[14:48] jm_: ?
[14:48] lduros has joined the channel
[14:48] mrb_bk has joined the channel
[14:48] ncb000gt has joined the channel
[14:49] lwille: so I have been reading through node_buffer.h - does "You should
[14:49] lwille: not be storing pointers to Buffer objects at all" mean that I can't use node::Buffer to pass a char* buffer over to JavaScript?
[14:49] amasad has joined the channel
[14:49] jomoho2 has joined the channel
[14:49] jm_: just want to ask..i have installed nodejs on my computer now
[14:49] Poetro has joined the channel
[14:49] jm_: how will i run my codes?
[14:50] thomblake has joined the channel
[14:50] jm_: is there any specific location that i need to put my files into?
[14:50] thomblake has left the channel
[14:50] Cromulent has joined the channel
[14:51] peterrs has joined the channel
[14:51] selend has joined the channel
[14:51] dodo_ has joined the channel
[14:51] kloeri has joined the channel
[14:51] jm_: how will i run my codes?is there any specific location that i need to put my files into?
[14:52] Guest62742 has joined the channel
[14:52] sean__ has joined the channel
[14:52] bnoordhuis: lwille: you can copy the memory that your char pointer points to into the buffer
[14:52] bnoordhuis: jm_: `node script.js`
[14:53] martin_sunset: jm_: Again, read docs.nodejitsu.com
[14:53] peterrs: var e = require('events').EventEmitter; function test() { } e.on('myevent', test); e.removeListener('myevent', test) -> throws "function is not function" why is that when test() is referenced?
[14:53] neurodrone has joined the channel
[14:53] jm_: ok
[14:53] sean____ has joined the channel
[14:54] pors has joined the channel
[14:54] RLa has joined the channel
[14:54] bnoordhuis: lwille: also, Local buffer = new node::Buffer(data, length); -> Local buffer = Buffer::New(data, length);
[14:54] kalv has joined the channel
[14:54] bnoordhuis: lwille: New() is a factory method, not a constructor
[14:55] bradleymeck has joined the channel
[14:55] bnoordhuis: peterrs: you need to instantiate an EventEmitter -> var e = new EventEmitter()
[14:55] tiglionabbit has joined the channel
[14:56] ziro`_ has joined the channel
[14:56] sharkbird has joined the channel
[14:56] peterrs: bnoordhuis: hehe.. think i forgot to include that in my example, but it still throws
[14:57] kloeri has joined the channel
[14:57] SeanR has joined the channel
[14:57] maritz: peterrs: full gist?
[15:00] kyonsalt has joined the channel
[15:00] lwille: nice one, bnoordhuis++ :)
[15:01] jm_: @bnoordhuis, i have just downloaded the node js msi installer for windows,are there any other things that i need to download?
[15:01] mjr_ has joined the channel
[15:01] kloeri has joined the channel
[15:01] jtsnow has joined the channel
[15:02] bnoordhuis: jm_: no, but you can install extra modules with npm
[15:02] lwille: now I have error: cannot convert ‘node::Buffer*’ to ‘v8::Value* volatile’ in assignment - http://pastie.org/3160537
[15:02] jm_: then i need to run it on the cmd?
[15:02] maritz: jm_: yes
[15:03] ilil_ has left the channel
[15:04] tmcw has joined the channel
[15:05] jm_: when i tried typing sample node server.js , what is displayed in the bottom is this : ---, what does it mean, isn't there any way to know that my program is running?
[15:05] m00p has joined the channel
[15:05] lwille: how would I convert the node::Buffer (which is an ObjectWrap) to a v8::Value ?
[15:05] fumanchu182 has joined the channel
[15:06] koo3 has joined the channel
[15:07] jm_: @bnoordhuis when i tried typing sample node server.js , what is displayed in the bottom is this : ---, what does it mean, isn't there any way to know that my program is running?
[15:08] Nathan has joined the channel
[15:09] bnoordhuis: lwille: sorry, there are several factory methods - if it returns a Buffer*, buffer->handle_ is the V8 object
[15:09] tmske has joined the channel
[15:10] bnoordhuis: jm_: can you gist the full output?
[15:10] jm_: @bnoordhuis when i tried typing sample node server.js , what is displayed in the bottom is this : ---, what does it mean, isn't there any way to know that my program is running?
[15:10] lwille: thanks, bnoordhuis++
[15:11] bnoordhuis: jm_: also, repeatedly asking the same question - especially if directed at a particular person - is considered an irc faux pas
[15:12] rwaldron has joined the channel
[15:12] N0va` has joined the channel
[15:12] bshumate has joined the channel
[15:14] booyaa: bet he's on a flakey webirc
[15:15] TheJH has joined the channel
[15:15] tmske: Hi, I'm completely new to node.js and I have a question about some async behaviour in following example: https://gist.github.com/0f15755573bf04e2b66f I was wondering if it is possible that the httpOptions can be incorrect between different calls to load and the http.request
[15:16] jomoho has joined the channel
[15:16] Wizek has joined the channel
[15:17] peterrs: maritz: fubar on my side :) it initially held the wrong reference after all.
[15:18] barberdt has joined the channel
[15:18] tmske: If I'm correct the load function will be called async and possible not in order of the execution of _.each, so I was wondering what the behaviour of httpOptions is here, will it be defined once for every load call, or will it each load call overwrite it?
[15:20] jakehow has joined the channel
[15:22] jhooks has joined the channel
[15:22] SomeoneWeird: say i have a var with { "email": "test@email.com" } in it, i should be able to get that email with var['email'] right?
[15:22] kitt has joined the channel
[15:22] kitt has joined the channel
[15:23] peterrs: btw.. the node windows support, is that NT >= 5.1 or ?
[15:24] TheJH: SomeoneWeird, yes, but var.email is more elegent
[15:24] bnoordhuis: peterrs: xp and up
[15:24] SomeoneWeird: ah, ill try that
[15:24] TheJH: SomeoneWeird, and actually, "var" is an invalid variable name
[15:24] SomeoneWeird: yeah was just an example
[15:24] TheJH: ok
[15:25] chasefarmer has joined the channel
[15:25] yhahn has joined the channel
[15:25] dexter_e has joined the channel
[15:26] ken-ignite has joined the channel
[15:27] colinclark has joined the channel
[15:30] dylang has joined the channel
[15:30] SomeoneWeird: TheJH, http://pastebin.com/Sa4jiz1q
[15:31] curtischambers has joined the channel
[15:31] chrisvwebdev has joined the channel
[15:31] TheJH: SomeoneWeird, your "row" is an array
[15:32] willwhite has joined the channel
[15:32] TheJH: SomeoneWeird, row[0].email should be it
[15:32] SomeoneWeird: ooh,
[15:32] jhooks has joined the channel
[15:33] prssn has joined the channel
[15:33] charlenopires has joined the channel
[15:33] SomeoneWeird: TheJH, cheers man
[15:34] jgornick has joined the channel
[15:34] fatjonny has joined the channel
[15:34] cognominal has joined the channel
[15:35] tomasztomczyk has joined the channel
[15:35] jerrysv has joined the channel
[15:36] broofa has joined the channel
[15:37] jomoho2 has joined the channel
[15:37] swestcott has joined the channel
[15:38] TheFuzzball has joined the channel
[15:39] max42 has left the channel
[15:39] jimmysparkle has joined the channel
[15:39] aelien27 has joined the channel
[15:41] kevwil has joined the channel
[15:41] paradigm1 has joined the channel
[15:42] paradigm1 has left the channel
[15:43] sharkbird has joined the channel
[15:44] meso has joined the channel
[15:45] stagas has joined the channel
[15:45] kazupon has joined the channel
[15:46] herbySk has joined the channel
[15:46] tytsim has joined the channel
[15:47] CIA-101: node: 03Ben Noordhuis 07master * r7cee968 10/ (src/node_isolate.cc src/node_isolate.h): isolates: add process-global list of isolates - http://git.io/sgAm9w
[15:48] garrensmith has joined the channel
[15:48] sharkbird has joined the channel
[15:49] lwille has joined the channel
[15:49] wuuts-up has joined the channel
[15:49] wuuts-up: Hi all, how can i send mails from nodejs? (preferably from localhost)
[15:50] CIA-101: node: 03Fedor Indutny 07master * r4cbcdb4 10/ (2 files): test: make debugger-repl tests work with isolates - http://git.io/4V4fuQ
[15:50] phire has joined the channel
[15:50] rio{ has joined the channel
[15:50] jocafa has joined the channel
[15:51] isaacs has joined the channel
[15:51] josh-k has joined the channel
[15:53] ioparadigm has joined the channel
[15:53] Iszak: isaacs: got any plans on updating npm's site skin to coincide with node.js? now that it's been referenced on the homepage.
[15:53] Iszak: Or perhaps a sub domain!
[15:54] Shaunzie: nothing like spending 10 hours writing a wrapper for an API, only to find that someone already did it 8 months ago…. * le sigh *
[15:54] Iszak: Shaunzie: is it better than the other persons API?
[15:54] Iszak: rather wrapper
[15:55] Shaunzie: Iszak: nope just different. I wrote it in CS… but that's about the only real difference -.-
[15:55] Iszak: CS?
[15:55] Shaunzie: coffeescript
[15:55] Iszak: Oh.
[15:55] sorensen__ has joined the channel
[15:57] isaacs: Iszak: yes, there are plans. it's in the works.
[15:58] Iszak: good.
[15:59] booyaa: isaacs: please add unicorns to the website design
[15:59] Iszak: only when you enter the konami code.
[15:59] Shaunzie: booyaa: kinky O.o
[15:59] Heisenmink has joined the channel
[16:00] isaacs: booyaa: i'll take that under advisement.
[16:00] meso has joined the channel
[16:00] booyaa: Iszak / Shaunzie :D
[16:00] booyaa: isaacs: sir thank you sir sir!
[16:01] booyaa: question about the nodeup podcast.. is felxie the german sounding fellow?
[16:01] booyaa: or is that you isaacs?
[16:01] booyaa: sorry episode #1
[16:01] isaacs: booyaa: yes, i'm isaacs.
[16:01] isaacs: booyaa: oh, on the podcast.
[16:01] isaacs: i dunno
[16:01] meso has joined the channel
[16:01] rauchg has joined the channel
[16:01] isaacs: felixge is hte german sounding fellow
[16:01] booyaa: ah okay danke
[16:02] isaacs: ACTION is american
[16:02] tdegrunt has joined the channel
[16:02] aliem has joined the channel
[16:03] geekbri has joined the channel
[16:03] fzzzy has joined the channel
[16:04] napperjabber has joined the channel
[16:04] larsschenk has joined the channel
[16:04] shinuza has joined the channel
[16:04] yhahn: isaacs: custom keys in package.json ... bad idea?
[16:04] robde has joined the channel
[16:05] isaacs: yhahn: it's fine
[16:05] isaacs: yhahn: it's best to not use something that's already in use, or likely to collide in the future
[16:05] panterax has joined the channel
[16:05] yhahn: yeah, we will namespace if we do it
[16:05] isaacs: yhahn: this page will show you all the keys currently in use: http://registry.npmjs.org/-/fields
[16:05] lperrin has joined the channel
[16:05] isaacs: yhahn: assume that anything starting with a _ is npm-internal
[16:06] yhahn: damn, bookmarking : )
[16:06] yhahn: thanks
[16:06] wtfizzle has joined the channel
[16:06] wtfizzle has left the channel
[16:06] brianloveswords has joined the channel
[16:06] monteslu has joined the channel
[16:07] booo has joined the channel
[16:08] c4milo has joined the channel
[16:09] larsschenk has left the channel
[16:11] ritch has joined the channel
[16:12] ritch has left the channel
[16:12] paera has left the channel
[16:12] qbit_: anyone have a quick second to help me troubleshoot this : node-expat.node: undefined symbol 'ev_default_loop_ptr'
[16:12] qbit_: on v0.6.7
[16:12] qbit_: npm 1.1.0-beta-10
[16:12] qbit_: I think I might have an issue with the openbsd package.. but I am not 100% sure
[16:13] isaacs: qbit_: that error probably comes from outside of node itself.
[16:13] isaacs: qbit_: maybe you have to rebuild expat?
[16:13] isaacs: have you updated node recently?
[16:13] qbit_: few days ago
[16:14] jjido has joined the channel
[16:14] thalll has joined the channel
[16:14] qbit_: but it's v0.6.7
[16:14] TheNumb has joined the channel
[16:14] Iszak: isaacs: can we strive to not have beta versions of npm in node.js?
[16:14] Iszak: or alpha, or any non-official releases for that matter.
[16:15] bradleymeck: qbit_ recompile your c++ addons
[16:15] qbit_: bradleymeck: have - same result
[16:15] kulor-uk has joined the channel
[16:15] caolanm has joined the channel
[16:15] bradleymeck: manually cleaned out the build directories (rm -rf node_modules or w/e?)
[16:15] qbit_: it compiles fine
[16:15] bradleymeck: qbit_^
[16:15] qbit_: yep
[16:16] isaacs: Iszak: those releases are official.
[16:16] Iszak: I mean non-stable releases then.
[16:16] isaacs: Iszak: they're stabler than the 1.0.106
[16:16] Iszak: well then promote it
[16:16] isaacs: Iszak: but yes, we strive for ever greater stability.
[16:16] Iszak: I think it's wrong to release a beta in a node.js, even if it's a technicality.
[16:16] isaacs: Iszak: the reason it's tagged such is because there is still more work to be done.
[16:16] jakehow has joined the channel
[16:17] Iszak: it just doesn't distill confidence when you see beta.
[16:17] _rockbot_ has joined the channel
[16:18] spleeze has joined the channel
[16:18] _rockbot_: hi folks! I'm on a mac, and for some crazy reason it only lets me use node from certain folders - anyone know how I can make node global?
[16:18] _rockbot_: (what am I missing?)
[16:18] wuuts-up has joined the channel
[16:18] qbit_: bradleymeck: any other suggestions ?
[16:19] bradleymeck: qbit_ not really that error is generally a c++ addon for 0.4 trying to talk in 0.6 :(
[16:19] joestein has joined the channel
[16:19] kenperkins has joined the channel
[16:20] wuuts-up: yo all i am trying to use the nodemailer from andris9 but it can not find mimelib-noiconv library
[16:20] wuuts-up: i am from windows so cant install that with npm :(
[16:20] wuuts-up: what should i do?
[16:20] iaincarsberg: If 'm wanting to write a restful web service using nodejs, is express the best starting point, or are there others?
[16:21] erickwilder has joined the channel
[16:21] jimt_ has joined the channel
[16:21] erickwilder has left the channel
[16:21] Iszak: isaacs: would you say that node.js is stable and secure for a production environment?
[16:21] shanebo has joined the channel
[16:21] jgornick has joined the channel
[16:21] jerrysv: iaincarsberg: check out bricks.js http://bricksjs.com/documentation.html
[16:22] isaacs: Iszak: voxer, microsoft, ebay, yahoo and many others seem to think so.
[16:22] isaacs: Iszak: re the npm beta, you shoudln't be using npm in production anyway.
[16:22] isaacs: npm is a development tool.
[16:22] bradleymeck: iaincarsberg, express is a pretty good start, but flatiron or journey are other ones ive used and liked a lot
[16:22] isaacs: use it on your dev box, check your node_modules folder into git, and deploy static snapshots.
[16:22] joshkehn has joined the channel
[16:22] joshkehn has left the channel
[16:22] deedubs: anyone recall the site that was outlining the steps to writing successful applications. It covered things like configing your app using ENV vars, continuous deployment, using config management..
[16:23] bradleymeck: or have a private npm repo (not shadowed)
[16:23] isaacs: bradleymeck: even that is not ideal.
[16:23] saikat has joined the channel
[16:24] aheckmann has joined the channel
[16:24] unomi has joined the channel
[16:25] booyaa: isaacs: i've seen discussion about this (re: deploying into prod) was there a definitive blog post?
[16:25] booyaa: i saw some stuff on twitter
[16:25] isaacs: booyaa: the one on mikeal rogers' blog
[16:25] booyaa: cool
[16:25] isaacs: booyaa: and the one that marco wrote for the yammer engineering blog
[16:26] ank has joined the channel
[16:27] Drakonite has joined the channel
[16:27] mattgifford has joined the channel
[16:28] tomasztomczyk has joined the channel
[16:29] iaincarsberg: thanks jerrysv and bradwright journey looks pretty close to what I need, do you know if its possible to artificially belate the response? a crude example would be to wrap the code that responds in a setTimeout?
[16:30] jstash: http://www.mikealrogers.com/posts/nodemodules-in-git.html - sells it for me
[16:30] broofa has joined the channel
[16:31] booyaa: cheers isaacs found them both
[16:31] saesh has joined the channel
[16:31] blueadept has joined the channel
[16:31] booyaa: http://eng.yammer.com/blog/2012/1/4/managing-nodejs-dependencies-and-deployments-at-yammer.html
[16:31] deedubs: iaincarsberg: Yes its possible
[16:31] alvaro_o has joined the channel
[16:32] Aikar: damn teespring disabled buying the node.js tshirt, they had printing machine issues. I got one, limited edition!
[16:32] Aikar: http://teespring.com/nodejs
[16:32] steveoh has joined the channel
[16:32] iaincarsberg: deedubs: great thanks
[16:33] deedubs: iaincarsberg: app.get('/sleepy', function(rq,rp) {settimeout(function(){rp.send('Good morning'}, 2000)});
[16:33] iaincarsberg: deedubs: awesome :D
[16:34] MatthewS has joined the channel
[16:35] brianloveswords has joined the channel
[16:35] alvaro_o has left the channel
[16:35] claudio has joined the channel
[16:35] jaequery has joined the channel
[16:35] claudio has joined the channel
[16:36] tjholowaychuk has joined the channel
[16:38] jerrysv: iaincarsberg: easy to artificially belate the response, but why?
[16:38] Morkel has joined the channel
[16:39] dylang has joined the channel
[16:40] Destos has joined the channel
[16:41] dnjaramba has joined the channel
[16:42] jondot_: broofa, can you explain why one might even need persistence for UUIDv1's seed? as explained in the README note here: https://github.com/broofa/node-uuid
[16:42] springmeyer_ has joined the channel
[16:42] broofa: otp. one sec < jondot_
[16:42] blueadept: who has the cheapest cloud object storage?
[16:43] maritz: jerrysv: it's a good idea to do this on things like login or reset password to mitigate brute force attacks and make sure that no one can make a good guess at what is happening. (for example in a login it might take noticably longer if the password is incorrect than if only the email is incorrect. a random delay makes this way harder)
[16:43] iaincarsberg: jerrysv: I'm writing a web interface for hook.io cloud. The cloud needs to be scalable and fault tolerant, so the idea is to use a restful api to store 'batches' in a redis list, where the hook cloud will process the data, then message the restful api with the result, which will then be transmitted to the enduser
[16:43] churp has joined the channel
[16:44] iaincarsberg: jerrysv: artificially belateing the response, does the same thing, will less tying
[16:44] AndreasMadsen has joined the channel
[16:44] qbit_: if I run ldd on the node-expat.node I get this : http://sprunge.us/dJTY
[16:45] qbit_: http://sprunge.us/CONQ node: 03Ryan Dahl 07v0.6 * re6a30bd 10/ (src/node_buffer.h src/stream_wrap.cc):
[18:50] CIA-101: node: Fix #2473
[18:50] CIA-101: node: Tested in production.
[18:50] CIA-101: node: See also http://code.google.com/p/v8/issues/detail?id=1889 - http://git.io/6Bn4eA
[18:51] Xiphias3 has joined the channel
[18:52] whitman has joined the channel
[18:52] aaronmcadam has joined the channel
[18:53] qsobad has joined the channel
[18:56] brianloveswords has joined the channel
[18:56] geoKe has left the channel
[18:56] miccolis has joined the channel
[18:56] saesh has joined the channel
[18:57] secoif: CrabDude what are you trying to solve?
[18:57] booyaa|hs: is there a better way of getting the filename of the running script other than process.argv? right now i have to check if argv[0] is node and then check [1] for the actual script name
[18:57] eee_c has joined the channel
[18:57] booyaa|hs: argv[0] will only be the script name if it's shebanged
[18:57] dylang has joined the channel
[18:57] secoif: booyaa|hs isn't it liek __filename or something
[18:58] eignerchris_ has joined the channel
[18:58] sdwrage has joined the channel
[18:58] secoif: booyaa|hs http://nodejs.org/docs/latest/api/all.html#__filename
[18:58] CarterL has joined the channel
[18:58] secoif: booyaa|hs use path.basename(__filename) to just get the filename
[18:59] devongovett has joined the channel
[18:59] camerin has joined the channel
[19:00] booyaa|hs: secoif: may your supply of hookers and coke never dry up!
[19:00] booyaa|hs: secoif++
[19:00] catb0t: secoif now has 1 beer
[19:00] camerin has left the channel
[19:00] isaacs: mc: no, there is not a way to have npm spit out the dependencies in a nice little json object
[19:00] secoif: booyaa|hs :D what are you actually trying to check
[19:00] isaacs: mc: it'd be nice to have a way to do that. should be pretty straightforward.
[19:01] mc: it would be somewhat convenient
[19:01] isaacs: mc: yeah
[19:01] isaacs: people ask for it often
[19:01] isaacs: just too easy to do by hand, is the problem :)
[19:01] secoif: mc you can use npm install --save to build the deps in package.json as you go
[19:01] olegp has joined the channel
[19:01] mc: yeah, most of the time it really is
[19:01] isaacs: you can pipe `npm ls -lp` to awk -F:
[19:01] booyaa|hs: secoif: i'm going to monitor a dropbox dir for new js scripts (so i can jshint them) thought it might be a good idea exclude certain scripts.
[19:02] erikzaadi has joined the channel
[19:02] isaacs: and then munge it up and get most of the way there.
[19:02] mc: isaacs: that's more or less what we did
[19:02] mc: a little sed magic and called it a day
[19:02] booyaa|hs: obvs my urnning script wouldn't live in this dropbox dir that would be daft, but no harm in avoiding future unplanned usecases
[19:02] isaacs: mc: yep.
[19:02] isaacs: mc: that's the state of the art :)
[19:02] jkridner__ has joined the channel
[19:03] curtischambers has joined the channel
[19:03] mc: now i'm back to figuring out how to buffer this writestream and make it not choke when i throw tons of data at it
[19:03] secoif: booyaa|hs what if someone wants to jshint a file with the exact same name as your app?
[19:04] secoif: booyaa|hs also, perhaps YAGNI
[19:04] secoif: booyaa|hs "If you need it, you can put it in later."
[19:05] cognominal has joined the channel
[19:05] booyaa|hs: true, there's always a possibility i might use it on the script
[19:05] brianloveswords has joined the channel
[19:05] booyaa|hs: secoif: bit of background i'm writing code on my ipad using textastic.it's got no linting tools which makes writing js for a noob fun.
[19:05] secoif: booya, you perhaps check that require.main != the file you're testing for
[19:05] jtrudeau has joined the channel
[19:06] booyaa|hs: i can upload files to said dropbox dir.
[19:06] firebalrog has joined the channel
[19:06] secoif: booyaa|hs is there no client-side linter?
[19:07] CrabDude: secoif: I'm building a browser-side package manager and I'm duplicating the multi-version cache-on-path dependency resolution of node
[19:07] msch: are you guys reading http://news.ycombinator.com/item?id=3448027 ?
[19:07] fbartho has joined the channel
[19:07] booyaa|hs: secoif: it's underdiscussion.. atm
[19:08] booyaa|hs: secoif: plus i can prowl the errors back to my iphone
[19:08] digilink has joined the channel
[19:08] sebastianedwards has joined the channel
[19:08] booyaa|hs: yeah it's a bit over hacked but having used jshint in vim. it seems insane not use it if i can
[19:08] firebalrog: i am having trouble with an app that uses fswatcher and runs fine from command prompt ie: node app.js but when I run it with "forever app.js" I am getting an exception on the fswatcher anyone have any thoughts
[19:08] booyaa|hs: HAEDOKEN!
[19:08] brianloveswords has joined the channel
[19:08] booyaa|hs: sorry firebalrog natural response
[19:09] vguerra has joined the channel
[19:09] booyaa|hs: secoif: i did try using jshint website but the editor doesn't like ipads
[19:09] dudeinthemirror has joined the channel
[19:09] booyaa|hs: i.e. couldn't trigger paste
[19:10] kuebk has joined the channel
[19:10] Guest44674 has joined the channel
[19:10] secoif: CrabDude interesting. why not add to something like requirejs?
[19:10] firebalrog: maybe found it uses a relative path in fswatcher might not be the same when run from the init.d
[19:10] CrabDude: secoif: b/c requirejs is a module loader not a package manager =)
[19:11] digilink_ has joined the channel
[19:11] secoif: CrabDude sure. though the multi-version cache-on-path stuff is part of node's module loader, not it's package manager
[19:11] mandric has joined the channel
[19:11] davetayls has joined the channel
[19:12] CrabDude: secoif: yup, but a package manager is coupled with the underlying module system
[19:12] salva has left the channel
[19:12] arturadib has joined the channel
[19:12] saikat has joined the channel
[19:12] Cromulent has joined the channel
[19:12] secoif: booyaa|hs jshint is open source, you could plug it into your own ipad-paste-enabled form https://github.com/jshint/jshint/
[19:12] rgl has joined the channel
[19:13] CrabDude: secoif: I actually don't remember how npm worked prior to node_modules. I assume it did a lot of require.paths
[19:13] Cromulent has joined the channel
[19:14] firebalrog: that was it don't use relative paths when you use forever and init.d in your scripts
[19:14] saesh has joined the channel
[19:16] josh-k has joined the channel
[19:16] thax has joined the channel
[19:16] maletor has joined the channel
[19:18] secoif: going to bed. 5am = wtf am I doing. night.
[19:18] booyaa|hs: secoif: this is a point, duh might need to sweet talk the the jsfiddle guys to see what their secret sauce is
[19:18] booyaa|hs: secoif: night! thanks for the input
[19:18] secoif: booyaa|hs np
[19:19] CrabDude has left the channel
[19:19] CrabDude has joined the channel
[19:20] jetienne_ has joined the channel
[19:20] ianward has joined the channel
[19:20] level09 has joined the channel
[19:20] liar has joined the channel
[19:22] brianloveswords has joined the channel
[19:22] okCPU_ has joined the channel
[19:22] Leemp2 has joined the channel
[19:22] okCPU_: does setTimeout block I/O?
[19:23] davidwalsh has joined the channel
[19:23] joshsmith: this is amazing: https://github.com/DanielRapp/twss.js
[19:23] Fuu has joined the channel
[19:24] broofa has joined the channel
[19:24] Wizek has joined the channel
[19:24] torvalamo: setTimeout doesn't block anything
[19:25] torvalamo: ever
[19:25] torvalamo: the callback you supply to setTimeout might though
[19:25] perezd has joined the channel
[19:25] torvalamo: depends what it is
[19:26] Construct has joined the channel
[19:28] qsobad has joined the channel
[19:28] eignerchris has joined the channel
[19:29] kuebk has joined the channel
[19:30] springmeyer has joined the channel
[19:31] jomoho has joined the channel
[19:33] Shaunzie has joined the channel
[19:35] yozgrahame has joined the channel
[19:35] xSmurf: hey all, anyone uses Jasmine? shouldn't a test end is an expect fails?
[19:36] xSmurf: for example I have a test which runs an http request and if expect(res.statusCode).toEqual(200) fails it shouldn't keep on running tests which require the body
[19:36] larsschenk1 has joined the channel
[19:38] BillyBreen has joined the channel
[19:38] TheFuzzb_ has joined the channel
[19:39] liar has joined the channel
[19:40] gregpascale has joined the channel
[19:40] slaskis has joined the channel
[19:41] JesusRosso has joined the channel
[19:41] cognominal has joined the channel
[19:42] TheFuzzball has joined the channel
[19:43] jetienne_ has joined the channel
[19:45] brianloveswords has joined the channel
[19:45] githogori has joined the channel
[19:45] TooTallNate: can somebody on OS X please try compiling this sample gyp program?
[19:45] TooTallNate: https://gist.github.com/1590684
[19:46] TooTallNate: I'm trying to determine whether the 'cflags' parameter is broken on OS X or what...
[19:46] jsurfer has joined the channel
[19:47] bicranial_ has joined the channel
[19:47] adambeynon has joined the channel
[19:48] Poetro has joined the channel
[19:48] carlyle has joined the channel
[19:49] Wa has joined the channel
[19:49] mjr_ has joined the channel
[19:50] CIA-101: node: 03Ryan Dahl 07master * rd4ee61f 10/ (5 files): Add failing test-isolates2.js - http://git.io/NJpx8g
[19:51] arlolra: TooTallNate: https://gist.github.com/1590800
[19:51] TooTallNate: arlolra: thanks, so that's a 2nd confirmation
[19:52] TooTallNate: looks like it's busted in gyp :\
[19:52] okCPU_ has left the channel
[19:53] davetayls has joined the channel
[19:54] herbySk has joined the channel
[19:54] lowerkey has joined the channel
[19:56] Shaunzie has joined the channel
[19:56] insin has joined the channel
[19:56] lowerkey: Greetings all, I have a problem running code from the guide: http://pastebin.com/RA5uNJna http://pastebin.com/rMa2p4u8 The req.body variable isn't set
[19:56] lowerkey: The express guide that is
[19:57] stagas: lowerkey: put the app.use stuff above the routes
[19:57] lowerkey: stagas: thanks!
[19:58] SvenDowideit has joined the channel
[19:59] stagas: lowerkey: first call to app.get/post etc does app.use(app.router) so the routing was done before the rest middleware
[19:59] sand^ has joined the channel
[19:59] mehlah has joined the channel
[20:01] mikeal has joined the channel
[20:01] altivec has joined the channel
[20:01] Poetro has joined the channel
[20:01] kevwil has joined the channel
[20:01] CIA-101: node: 03Ben Noordhuis 07v0.6 * r0ad2717 10/ src/node_zlib.cc : Make sure that zlib contexts are not garbage collected when busy - http://git.io/FTSzBw
[20:02] CIA-101: node: 03Bert Belder 07v0.6 * r2d8af39 10/ src/node_zlib.cc : Fix memory leak in node_zlib - http://git.io/NylRnQ
[20:02] Fuu has joined the channel
[20:04] CIA-101: node: 03Ryan Dahl 07master * re1b829d 10/ (2 files): Add broken test-isolates3.js - http://git.io/gCGb6w
[20:06] redir has joined the channel
[20:06] josh-k has joined the channel
[20:06] kmiyashiro has joined the channel
[20:07] djazz has left the channel
[20:07] jbpros has joined the channel
[20:07] gravem has joined the channel
[20:09] gravem: hi guys ... anyone have any tip on how to test eventemitter "subclasses" with vows?
[20:09] wssr has joined the channel
[20:10] robi42 has joined the channel
[20:10] CrabDude has joined the channel
[20:12] brngardner has joined the channel
[20:12] yozgrahame has joined the channel
[20:13] RexM has joined the channel
[20:15] netmercury has joined the channel
[20:15] isaacs: CrabDude: yes, it did a lot of require.paths, symlinks, and shims.
[20:15] isaacs: CrabDude: it was a mess.
[20:15] yawNO has joined the channel
[20:16] CrabDude: isaacs: I find the npm / require.paths => npm / node_modules evolution to be rather analogous to the needs of the browser
[20:18] myrkiada has joined the channel
[20:20] jbpros_ has joined the channel
[20:20] GrizzLyCRO has joined the channel
[20:20] jomoho2 has joined the channel
[20:20] jimt has joined the channel
[20:21] rgl has joined the channel
[20:21] maushu has joined the channel
[20:22] herbySk has joined the channel
[20:22] netmercury has joined the channel
[20:22] Fuu has joined the channel
[20:24] emilsedgh: guys, i've written a very simple SOCKS5 server using node. do you think its worthy of being shared? (not a lib just an application. also has no great code. its my first node.js app)
[20:24] khrome has joined the channel
[20:24] zomg: If you think someone could find it useful, sure why not
[20:25] Margle has joined the channel
[20:25] tkro has joined the channel
[20:25] pV has joined the channel
[20:26] TypeFS has joined the channel
[20:26] kuebzky has joined the channel
[20:27] ryanrolds_w: I'm driving the other developers crazy. Every type of node instance is named after a type of flat bread.
[20:27] ryanrolds_w: the names so far are flatbread, pita, naan
[20:28] zomg: One of the less harmful ways to make other developers crazy
[20:28] zomg: =)
[20:28] mandric has joined the channel
[20:29] zomg: I was just ranting elsewhere about how my coworkers drive me crazy because they don't bother (yes, they could but they won't) to write proper code
[20:29] hz has joined the channel
[20:29] torvalamo: a system at work is called K2, and the login system is called sherpa
[20:30] braoru has joined the channel
[20:30] wdperson has joined the channel
[20:30] torvalamo: i suspect there were other systems connected to this, but it's old and most of it has been replaced
[20:31] torvalamo: (K2 is a mountain)
[20:31] richardr has joined the channel
[20:31] torvalamo: for those who didn't get it
[20:31] jesusabdullah: sherpa/ Nice
[20:31] bnoordhuis: zomg: proper code is highly overrated
[20:31] bnoordhuis: where's the job security in that?
[20:31] raingrove: a company i was doing consulting work had its computers named after famous b*tches. like typhoid-mary and elizabeth-bathory.
[20:33] torvalamo: what would be cool is name them after random cities, so it looks like a world wide network
[20:33] torvalamo: while in fact it's just next to you
[20:34] zomg: bnoordhuis: probably in having written something that is not a steaming pile of shit and actually making a profit instead of fixing the aforementioned
[20:34] zomg: =)
[20:34] torvalamo: the network admins would be talking about berlin and tokyo and everyone else would have no fucking clue
[20:34] mmalecki: 'hey, did you get Berlin down?'
[20:34] mmalecki: this may get you in trouble ;)
[20:34] bergie has joined the channel
[20:35] louissmit has joined the channel
[20:35] zomg: Haha
[20:35] zomg: I would name things like that on purpose
[20:35] zomg: for fun
[20:35] jesusabdullah: I saw a youtube show once where the it department named a printer after a porn star
[20:35] jesusabdullah: I think it was God, Inc?
[20:36] jesusabdullah: it's actually pretty fun, but short
[20:36] torvalamo: 'i cant find sacramento'
[20:36] zomg: When I was contracting at Nokia they had pretty random names for the meeting rooms in the building
[20:36] zomg: like "Enter"
[20:36] zomg: I took two post it notes and fixed it so it says "USS Enterprise"
[20:36] jesusabdullah: My computers are named after pokemon
[20:36] tristanpemble has joined the channel
[20:36] jesusabdullah: ALTARIA! GO!
[20:36] tristanpemble has left the channel
[20:37] tristanpemble has joined the channel
[20:37] larsschenk1 has left the channel
[20:37] zomg: My old intel celeron 300mhz w/ 64mb ram dedicated server box was called Skynet
[20:37] zomg: Skynet had a hard disk failure. End of story
[20:37] jesusabdullah: idea: Build a tool that names your cloud provisioned computers using the Dwarf Fortress dwarven naming algorithm
[20:37] zomg: :D
[20:38] benvie: netflix has all their conference rooms names after movie heroes and villians
[20:38] benvie: like one's named batman
[20:38] zomg: jesusabdullah: I second that!
[20:38] joshsmith: anyone here use Mocha to unit test?
[20:38] zomg: benvie: awesome :D
[20:38] chilts: mmalecki: one time one of the sysadmins said "Why is Tracy so f*ck*ng stupid?", just as Tracey walked in :)
[20:38] chilts: Tracey=the server :)
[20:38] chilts: wait, no 'e'
[20:38] mmalecki: chilts: lol
[20:39] zomg: At Tieto (big finnish IT house), I was told, they name their meeting rooms with "high flying names"
[20:39] zomg: such as Hollywood
[20:39] tristanpemble: I have a node service that is exiting unexpectedly without any exceptions. I've tried running in debug and I'm not getting anywhere, does anyone have any suggestions?
[20:40] torvalamo: our meeting rooms are named after different types of fly lure (because the company that owned the building(s) before was a huge manufacturer of said items), so one is called green highlander, and another is grizzly king, etc
[20:40] tvw has joined the channel
[20:41] mmalecki: zomg: "going to hollywood, brb"
[20:41] TheJH: tristanpemble, there was a thread about it on the ML
[20:41] TheJH: tristanpemble, some timing issues
[20:41] zomg: mmalecki: yep, we had a meeting at hollywood once :D
[20:41] monokrome has joined the channel
[20:41] tristanpemble: TheJH: thanks, I'll look for that
[20:41] zomg: or.. in hollywood =)
[20:41] torvalamo: is there one called "the council"?
[20:42] torvalamo: or the citadel even
[20:42] torvalamo: congress?
[20:42] torvalamo: white house?
[20:42] torvalamo: :P
[20:43] mmalecki: 'we have a party at white house today, drop by'
[20:43] rgl has joined the channel
[20:43] mmalecki: sounds so badass
[20:44] torvalamo: we're meeting in the white house, going to discuss berlin
[20:44] yozgrahame has joined the channel
[20:44] pickels_ has joined the channel
[20:44] mmalecki: lol
[20:45] zomg: Should name them after old video games
[20:45] zomg: "Bad Dudes"
[20:45] zomg: Or maybe those should be team names, but only names which imply more than one something
[20:45] charlenopires has joined the channel
[20:45] torvalamo: wanna hear the best team name ever? (my team)
[20:45] torvalamo: fluffy kittenz
[20:45] torvalamo: OH YEAH
[20:45] zomg: haha
[20:46] monokrome has joined the channel
[20:46] torvalamo: all guys btw
[20:46] zomg: me and our graphics guy's team in our company NHL 12 league was called Japanese Punk Kittens
[20:46] sveimac has joined the channel
[20:46] netmercury has joined the channel
[20:46] zomg: because I speak some japanese and he likes punk. I don't know where the kittens came from
[20:46] torvalamo: the internet
[20:46] torvalamo: no doubt
[20:46] zomg: Yeah
[20:46] daynier has joined the channel
[20:47] daynier: very cool
[20:47] ritch has joined the channel
[20:47] daynier: Hello. Can anyone here answer a question about vm in node?
[20:48] torvalamo: ask it and we will see
[20:48] daynier: okay
[20:48] daynier: I'm trying to catch error exceptions.
[20:48] daynier: I'm going nuts here.
[20:49] daynier: var script = require('vm').createScript('var a=1; forEach()');
[20:49] geoKe has joined the channel
[20:50] daynier: try { script.runInNewContext({'console':console}) } catch(err) { sys.error(err); }
[20:50] yozgrahame has joined the channel
[20:50] zomg: Oh neat, that vm module thing can be used to sandbox JS?
[20:50] daynier: I can catch syntax errors but not that forEach
[20:50] daynier: yeah
[20:50] daynier: running a web server with it
[20:51] chrisdickinson: daynier: you're looking to catch runtime errors?
[20:51] dob_ has joined the channel
[20:51] daynier: No
[20:51] zomg: Once upon a time I hacked Rhino so I could safely run JS in it. It was scary and probably not even properly sandboxed =)
[20:51] bartt has joined the channel
[20:51] zomg: (then I got bored and forgot about the project I was using it for)
[20:51] daynier: I can catch runtime errors
[20:52] chrisdickinson: daynier: that forEach would probably be a runtime error.
[20:52] daynier: but I have to be now fallback to using process.on('uncaughtException', handleError)
[20:52] geoKe has joined the channel
[20:52] chrisdickinson: (assuming it's causing error by wont of being "undefined" when called)
[20:52] torvalamo: so the reference error there is caught by uncaught exception but not the catch on that line?
[20:52] daynier: This doesn't provide me the access to the request object that the error was caught on
[20:53] daynier: yeah
[20:53] daynier: its strange.
[20:53] monokrome has joined the channel
[20:53] geoKe has joined the channel
[20:53] daynier: I've been looking into vm's error handling but its pretty limited
[20:53] torvalamo: is runInNewContext async?
[20:53] torvalamo: that would explain it
[20:53] daynier: hmm, good point.
[20:54] chrisdickinson: it's not.
[20:54] chrisdickinson: what version of node?
[20:54] eignerchris has joined the channel
[20:54] daynier: latest build
[20:54] shinuza has joined the channel
[20:54] chrisdickinson: huh.
[20:55] chrisdickinson: i'm on 0.6.3, and the try/catch is catching the reference error in my repl.
[20:55] daynier: sorry, 0.4.9
[20:55] daynier: yeah, I'll upgrade.
[20:55] daynier: Let me try it on this box and see how it handles.
[20:56] chrisdickinson: daynier: even works on my copy of 0.4.11.
[20:56] daynier: Whats the latest working version on ubuntu?
[20:56] torvalamo: any version
[20:57] chilts: daynier: I have 0.6.7 running here
[20:57] chilts: ACTION uses nvm to upgrade pretty quickly
[20:57] daynier: guess I gotta tinker with apt-get
[20:57] benlyn has joined the channel
[20:57] torvalamo: no
[20:57] chrisdickinson: also nave, also n.
[20:57] chrisdickinson: i wouldn't use apt-get, in this case.
[20:58] daynier: got a better idea?
[20:58] torvalamo: just download it and ./configure && make && make install
[20:58] chrisdickinson: daynier: use nave, n, or nvm.
[20:58] torvalamo: or tat
[20:58] torvalamo: that*
[20:58] daynier: yeah, I hate that process.
[20:58] daynier: oh well.
[20:58] chilts: daynier: yeah, use one of those - the packages aren't always up to date :)
[20:58] chrisdickinson: daynier: https://gist.github.com/579814
[20:58] daynier: explains a few things.
[20:58] chilts: also, with those tools you don't have to configure, make, make install etc
[20:58] daynier: while I've got your attention
[20:59] daynier: so vm doesn't run async?
[20:59] chrisdickinson: daynier: no, it's blocking.
[20:59] daynier: no wonder my benchmarking was way too high.
[20:59] torvalamo: even if the script has async in it? does it run its own event loop or what?
[20:59] chrisdickinson: (it's roughly equivalent to `eval` or `new Function`, except it potentially (if used with "inNewContext") sets up a whole new javascript context)
[20:59] ByteCrunch has joined the channel
[21:00] chrisdickinson: no, it all runs in your current event loop.
[21:00] daynier: yeah, it does
[21:00] daynier: wow
[21:00] daynier: damn, not good at all.
[21:00] autarch has joined the channel
[21:00] chrisdickinson: if you want it in it's own event loop, you would want to `fork` and run it in a new process.
[21:00] autarch: is there any sort of convention for writing docs for node libraries?
[21:00] tkaemming has joined the channel
[21:00] daynier: okay, so how could I pass along a request while still giving the script access?
[21:00] autarch: most of the stuff listed on npmjs.org seems to just have docs in the form of a README.md on github
[21:00] torvalamo: yeah i would prefer forking over sandbox
[21:00] autarch: which seems kind of sad
[21:01] chrisdickinson: torvalamo: i'd probably go fork + sandbox.
[21:01] chrisdickinson: that way you can restrict access to `require` and friends.
[21:01] torvalamo: not a bad idea
[21:01] chrisdickinson: also, for fun, you could pass it through `burrito` and disable certain constructs.
[21:01] chrisdickinson: (loops, calls, etc.)
[21:01] chilts: autarch: hey, another PerlMonger ... we're few and far between around here :)
[21:02] Aikar: http://www.youtube.com/watch?feature=player_embedded&v=aT8lJEgEuTk
[21:02] chilts: mostly Rubyists ... though I guess lots of other people
[21:02] autarch: chilts: I'm _so_ missing cpan
[21:02] tomtomaso has joined the channel
[21:02] pauls1 has joined the channel
[21:02] autarch: not just cpan the site, but the whole convention of "write docs in modules with POD", etc
[21:02] chilts: autarch: I'm pretty used to npm now ... though yeah, the quantity isn't quite there yet
[21:02] chrisdickinson: daynier: so, your goal is to run untrusted code in the vm sandbox that has access to the request object?
[21:02] chrisdickinson: (just to make sure we're on the same page.)
[21:02] autarch: it's not just quantity, npmjs.org is not even a fraction as useful as metacpan
[21:02] chilts: true ... I haven't quite figured out the convention yet either ... I mostly do README.md as you said above
[21:03] daynier: nah its trusted code
[21:03] torvalamo: you don't get to be on the same page! you don't have access to the book!
[21:03] chilts: there was a thread on the mailing list recently
[21:03] daynier: basically kicking apache aside
[21:03] autarch: README.md just doesn't seem sufficient for what I'm doing
[21:03] chrisdickinson: daynier: then why use the `vm` sandbox?
[21:03] autarch: I'm working on a port of Moose to JS, it needs more than one manual apge
[21:03] daynier: Saw it was easier on the lines of code
[21:03] daynier: Plus it worked out well
[21:03] chrisdickinson: ACTION is confused.
[21:04] daynier: var sandbox = {'response':response, 'config':config}
[21:04] daynier: allowed me to block access to the process.exit that would kill my server
[21:04] mattgifford has joined the channel
[21:04] torvalamo: so it's not trusted then
[21:04] tilgovi has joined the channel
[21:04] tilgovi has joined the channel
[21:04] autarch: chilts: what was the thread title? do you know?
[21:04] chilts: autarch: I think many larger modules have their own sites (or github pages)
[21:04] chilts: autarch: was just looking for it ... not found it yet
[21:05] eignerchris has joined the channel
[21:05] autarch: fwiw, I'm not actually writing this for Node so much as for client-side stuff
[21:05] torvalamo: there's a module for that
[21:05] autarch: but I'd like to package it for npm since it's basically environment agnostic
[21:05] autarch: I imagine people writing server side code might find this useful
[21:05] MatthewS has joined the channel
[21:05] chrisdickinson: daynier: if you want to block access to it (which leads me to believe the code isn't really trusted), you could always just shim it -- `_exit = process.exit; process.exit = new Function;`, -- so only your code can call process.exit.
[21:05] StanlySoManly has joined the channel
[21:06] horieyui has joined the channel
[21:06] torvalamo: but that can be exploited
[21:06] daynier: chrisdickinson: Totally new to the vm
[21:06] Aikar: you should def not run untrusted code in your main process. spin up a child to do it
[21:07] daynier: chrisdickinson: Normally I would have spawned a new process and ran the code, but I wanted to see what could be done.
[21:07] chilts: autarch: try this one
[21:07] chilts: var second;
[21:07] chilts: oopse
[21:07] chilts: var second;
[21:07] Aikar: var chld = cp.fork('runner.js'). child.send({run: 'somecode'});
[21:07] chilts: heh
[21:07] autarch: pasting is hard
[21:07] chrisdickinson: +1 on what Aikar said.
[21:07] chilts: http://goo.gl/uIpjL
[21:07] chilts: :(
[21:07] Aikar: so if they kill that child, so what
[21:08] heatxsink has joined the channel
[21:08] daynier: chrisdickinson: I'm really just trying to reproduce my cms's structure in node.
[21:08] chrisdickinson: with the addition that `runner.js` would use `vm` to sandbox the code -- remove the ability to `require`, etc.
[21:08] chilts: autarch: one thing I like about npm is how easy it is to upload in comparison to CPAN
[21:08] Aikar: yea
[21:08] daynier: chrisdickinson: Its multisite
[21:08] autarch: chilts: yeah, that does seem better
[21:08] chilts: though I didn't really get into that as much as I have in this community
[21:08] torvalamo: daynier, you should still adapt to node's way of things.. don't port things directly... never a good idea
[21:08] autarch: but the actual module pages are not very useful
[21:09] daynier: Nah, now porting. Rewrite from scratch.
[21:09] daynier: Just keep the same concept of easy use
[21:09] chilts: some are nice
[21:09] autarch: without some sort of standard doc format there's not much the site can do, of course
[21:09] torvalamo: making child processes is cheap enough
[21:09] Cromulent has joined the channel
[21:09] monokrome has joined the channel
[21:09] fermion has joined the channel
[21:11] piscisaureus_ has joined the channel
[21:11] ritch has left the channel
[21:11] adrianF has joined the channel
[21:11] sharkbird has joined the channel
[21:12] igl1 has joined the channel
[21:12] markschaake has joined the channel
[21:12] localhost has joined the channel
[21:12] pokoli has joined the channel
[21:12] Shaunzie has joined the channel
[21:13] martypdx has joined the channel
[21:13] patrickgamer has joined the channel
[21:13] jomoho has joined the channel
[21:14] mattgifford has joined the channel
[21:14] mattly has joined the channel
[21:14] Sorella has joined the channel
[21:15] Morkel has joined the channel
[21:15] chilts: deedubs: so you're all happy Google OAuth'ing now?
[21:15] chilts: are you using any other services for logging in?
[21:16] deedubs: twitter, github, google
[21:16] patrickgamer has left the channel
[21:16] sharkbird has joined the channel
[21:17] jomoho2 has joined the channel
[21:17] chilts: snap ... and Tumblr too - think I'll try LinkedIn and Yahoo! too
[21:17] chilts: one thing I can't do is get email from Twitter ... do you know if you can do that?
[21:18] deedubs: chilts: no
[21:19] chilts: thanks ... glad someone else says the same thing since I thought I was missing something
[21:19] TimTim has joined the channel
[21:19] idefine has joined the channel
[21:20] chilts: deedubs: doesn't look like it can be done : http://stackoverflow.com/questions/3599621/is-there-a-way-to-get-an-users-email-id-after-verifying-her-twitter-identity-us
[21:20] deedubs: yeah sorry that no was for if it was possible
[21:21] chjj: http://news.ycombinator.com/item?id=3448027
[21:21] __tosh has joined the channel
[21:21] chjj: get your ruby out of my js!
[21:21] chjj: some ruby spilled right on my js
[21:23] chjj: js is getting expression blocks with harmony anyway, isnt it?
[21:24] adrianmg has joined the channel
[21:25] TimTim has joined the channel
[21:26] jomoho has joined the channel
[21:26] piscisaureus__ has joined the channel
[21:27] adrianmg has left the channel
[21:29] mara has left the channel
[21:29] springmeyer_ has joined the channel
[21:29] tkro has joined the channel
[21:30] qbit_: will there be a "end" event when a WriteStream finishes writing a file with .write ?
[21:31] sharkbird has joined the channel
[21:31] schakko has joined the channel
[21:31] schakko: hello everybody!
[21:34] trose: what is a good module for creating a web service?
[21:35] schakko: I changed the dependencies for node-usb from libev to libuv and now I get the error "undefined symbol: ev_rt_now" - any ideas?
[21:35] SamWhited has joined the channel
[21:36] TheJH: trose, uhm, you'll need maaany of them for that
[21:36] TheJH: qbit_, pretty sure that there's no such end event
[21:37] TheJH: qbit_, however, have a look at the docs for the drain event
[21:37] kevwil has joined the channel
[21:37] TheJH: qbit_, and the result of write
[21:37] trose: thejh okay, I mean I have an express server going. I'd like to add support for soap or restful
[21:37] trose: to create an api
[21:37] TheJH: trose, in that case, no idea :D
[21:38] qbit_: sweet - TheJH just tried drain.. seems to have worked
[21:38] qbit_: thanks :)
[21:38] trose: thejh haha okay
[21:38] TheJH: qbit_, if writing succeeds directly, there might be no drain event!
[21:38] TheJH: qbit_, have a look at the docs for write()
[21:39] Shaunzie: trose: express is already restful O.o…. app.get, app.post, app.delete, app.put
[21:40] trose: Shaunzie, oops i just need soap
[21:41] Shaunzie: trose: why? O.o
[21:41] Shaunzie: trose: xml = annoying-fail-facepalm-shite ._.
[21:42] ryanrolds_w: jesusabdullah: I like the DF naming idea.
[21:42] ryanrolds_w: I'm going to get someone on that.
[21:43] trose: Shaunzie, what would you recommend? ajax? I'm kinda newb. My project lead wants to create an api hook so we can have a website + a desktop interface
[21:43] trose: i've just been researching options and found soap
[21:43] trose: I'm not really up on current trends
[21:43] moshen has joined the channel
[21:43] Shaunzie: nodejs = javascript :D. JSON is your friend :3
[21:44] Carmivore has joined the channel
[21:44] arturadib has left the channel
[21:45] tristanpemble: trose: JSON + REST for sure
[21:45] tonymilne has joined the channel
[21:46] trose: tristanpemble, oh, okay
[21:46] snearch has joined the channel
[21:47] torvalamo: i also suggest angular.js
[21:47] torvalamo: for the client side
[21:47] tristanpemble: I did research on this a couple of months ago but I can't find any of the links I found useful
[21:48] robhawkes has joined the channel
[21:48] mc_greeny has joined the channel
[21:48] firebalrog: Just finished my app for checking people in at a health club when the internet is down. debian fluxbox X chromium curl node.js express stylus jade forever = one bad ass kiosk checkin system that they can't play with like the windows boxes they currently use.
[21:48] torvalamo: i love it when simple beats complex
[21:49] firebalrog: ;)
[21:49] Shaunzie: firebalrog: grats
[21:49] Shaunzie: firebalrog: when you make lots of money, buy us beer O.o
[21:49] firebalrog: lol when they pay me enough I will buy myself a beer!
[21:50] Shaunzie: firebalrog: … you need a better job O.O
[21:50] firebalrog: yes....
[21:50] tristanpemble: I've fallen in love with Node + Redis
[21:51] firebalrog: Redis is what?
[21:51] TheJH: ugly
[21:51] tristanpemble: key-value store
[21:51] torvalamo: it's a glorified hash
[21:51] schakko: https://github.com/schakko/node-usb/issues/4 << any ideas?
[21:51] firebalrog: oh yea
[21:51] Shaunzie: firebalrog: redis.io
[21:51] tristanpemble: redis is beautiful :(
[21:51] firebalrog: you didn't like mongodb? or couch
[21:52] robhawkes has joined the channel
[21:52] tristanpemble: redis is FAST
[21:52] Shaunzie: firebalrog: red is is kinda for a different purpose that mongodb or couch
[21:52] tristanpemble: I don't need persistence
[21:52] firebalrog: aw a little more like memcached
[21:52] Shaunzie: firebalrog: redis is like memcache on crack …
[21:52] tristanpemble: yeah, memcached
[21:52] torvalamo: don't need persistance, just pertinance
[21:53] firebalrog: don't be pertinant
[21:53] jesusabdullah: ryanrolds_w: I did some light research, and you should be able to export the generated legends from "legends mode" as xml
[21:53] jesusabdullah: which of course you could scrape for awesome names
[21:53] firebalrog: lol
[21:53] dwhittle has joined the channel
[21:53] ryanrolds_w: I'm tempted to email toadyone and see if he will provide the code.
[21:53] torvalamo: are you still on server names?
[21:53] firebalrog: I could of used redis for my checkin app.
[21:53] TimTim has joined the channel
[21:54] firebalrog: instead I just read the data into two arrays
[21:54] ryanrolds_w: If he does I will make a module for it and probably host a site that uses the module.
[21:55] firebalrog: which redis client did you use? node_redis?
[21:55] tristanpemble: yeah
[21:55] firebalrog: how much data are you using the redis for?
[21:56] patcito has joined the channel
[21:57] tristanpemble: I'm using it for a live chat system that's deployed for 10 or 11 companies
[21:58] tristanpemble: depending on the time of day there could be anywhere from none to 20 chats going at once
[21:58] firebalrog: is there a way to load it with values on launch?
[21:58] tristanpemble: there's persistence, it can write to disk every so many minutes or every N changes
[21:58] ioparadigm has joined the channel
[21:58] firebalrog: how long does it hold the data
[21:59] tristanpemble: http://redis.io/topics/persistence
[21:59] tdixon has joined the channel
[21:59] tristanpemble: there's a few different ways to do it
[21:59] tristanpemble: that'll go over the details
[21:59] firebalrog: Currently I download a csv file to the client computer and use fswatch to check for changes if the file changes I empty my arrays and reload them.
[21:59] TimTim has joined the channel
[21:59] tristanpemble: :(
[21:59] firebalrog: memberid, name, balance, totalowed, status, towels,
[22:00] dob_ has joined the channel
[22:00] firebalrog: pretty simple
[22:00] tristanpemble: what happens if the file needs to be modified while it's being read?
[22:00] firebalrog: we also use a live internet connection and server but about 3 or 4 times a year at a club the power goes out
[22:01] firebalrog: they don't use it all the time. and each desktop is running the app.
[22:01] firebalrog: its for an Emergency check in for when the servers are not available at the corporate office
[22:01] zomg: Damn, now that someone mentioned the vm module and I found it can sandbox JS, I again want to code a virtual robot combat game where you program the robots yourself in JS
[22:01] zomg: =)
[22:01] firebalrog: corewars
[22:01] firebalrog: redwars
[22:02] zomg: I'm inventing a better wheel
[22:02] zomg: ;)
[22:02] jesusabdullah: zomg: Expose an api over irc for it
[22:02] jesusabdullah: and then write bots that play the game over irc
[22:02] zomg: Heh
[22:02] BillyBreen has joined the channel
[22:02] firebalrog: http://www.ibm.com/developerworks/java/library/j-robocode/
[22:03] zomg: firebalrog: looks a lot like what I wrote in Java with Rhino as the robot AI scrpiting engine
[22:03] zomg: although mine was just red boxes in a basic window :P
[22:04] jesusabdullah: that would be awesome as an irc-based api
[22:04] firebalrog: I have spent many hours trying to beat some of the best robots written by mathmaticians
[22:04] zomg: it would be way cooler if it was in HTML5 tho!
[22:04] zomg: =)
[22:04] jesusabdullah: not to me
[22:04] peregrine81 has joined the channel
[22:05] firebalrog: there is another site where you can download the robots and they used to have some ladder games
[22:05] jesusabdullah: A visualizer sure
[22:05] saesh has joined the channel
[22:05] zomg: jesusabdullah: yeah run the sim on server in node and push events to the visualization
[22:05] [Neurotic] has joined the channel
[22:05] jesusabdullah: but irc is just this really obvious pubsub platform that already has pseudo-conventions for how to expose APIs (ie, as bots)
[22:06] jesusabdullah: the idea of human-readable irc bots interacting with each other is really neat to me
[22:06] zomg: I suppose it could do something like allocate a timeslot which each bot could use to send messages to execute commands and get results from the sim or something..
[22:07] zomg: Ok I think I already put too much thought into that
[22:07] zomg: =)
[22:08] autarch has left the channel
[22:08] jesusabdullah: a timeslot? No, just do it realtime
[22:09] quackquack has joined the channel
[22:09] michaelhartau has joined the channel
[22:09] joshwines has joined the channel
[22:09] quackquack: how do I update to the latest version of npm?
[22:09] pkrumins: we just launched a new design at browserling! www.browserling.com
[22:09] SubStack: it's EVEN MORE CARTOONISH
[22:09] SubStack: but in a classier way I think
[22:10] fwg: omg
[22:10] fwg: awesome
[22:10] fwg: cute
[22:10] pkrumins: * works too
[22:11] joshfinnie has joined the channel
[22:12] chjj: pkrumins: cool, is that live now?
[22:12] pkrumins: it is live now
[22:12] mmalecki: pkrumins: NOONE CARES IF IT WORKS
[22:13] chjj: i like the robots in the picture
[22:13] pkrumins: they are me and SubStack
[22:13] zomg: pkrumins: seems to fail in Opera. Perhaps put a warning about it or something
[22:13] pkrumins: >_>
[22:13] pkrumins: