[00:01] SteveDekorte has joined the channel [00:02] admc has joined the channel [00:02] guybrush: finally we got a node-framework for every possible usecaes! https://github.com/mikeal/framework [00:03] smtlaissezfaire_ has joined the channel [00:04] rchavik has joined the channel [00:04] cliffano has joined the channel [00:04] knuthy has joined the channel [00:04] FuzzYspo0N has joined the channel [00:05] yozgrahame has joined the channel [00:06] Swizec has joined the channel [00:09] Giorgio has joined the channel [00:10] smtlaissezfaire_ has joined the channel [00:11] Giorgio has left the channel [00:12] brettgoulder has joined the channel [00:13] dguttman has joined the channel [00:14] saikat has joined the channel [00:15] Murvin: for Mongoose.connect(). how to set the timeout in case the DB connection is broken? [00:15] llrcombs: is there any possibility that Node.js will ever become multithreaded [00:15] llrcombs: ?] [00:16] Murvin: llrcombs: connect-cluster ? is that what u looking for? [00:16] Kuntau has joined the channel [00:17] llrcombs: connect-cluster? [00:17] k1ttty has joined the channel [00:18] Murvin: go github [00:19] llrcombs: not seeing it [00:20] Murvin: oh.. just cluster [00:20] CIA-107: libuv: 03Ben Noordhuis 07master * ra29b209 10/ (7 files in 2 dirs): [00:20] CIA-107: libuv: Make it possible to run individual tests. [00:20] CIA-107: libuv: Fixes #100. - http://bit.ly/r0ntqZ [00:21] sw8sw8 has joined the channel [00:22] Murvin: any one know how to set timeout for DB connection? [00:22] isaacs has joined the channel [00:23] vid__ has joined the channel [00:23] springmeyer_ has joined the channel [00:23] sw8sw81 has joined the channel [00:25] cafesofie has joined the channel [00:25] Nuck: llrcombs: Multi-threaded ot multi-processor'd? [00:26] Nuck: Multiple processors, no. Multithreaded, no need, it's already async. [00:26] Nuck: Ryan opted to go with a route wherein multi-processor support is gained by just spawning another instance [00:27] sw8sw8 has joined the channel [00:27] Nuck: Now, time for Mexican good for me 8D [00:29] catphive has joined the channel [00:31] abjorn: Does anyone know of any articles or anything (other than the one in the official docs) about making C++ Node extensions? [00:32] TheJH: abjorn, https://github.com/isaacs/node-async-simple is a *very* simple example [00:34] abjorn: kew [00:34] abjorn: thanks [00:35] isaacs has joined the channel [00:36] rook2pawn has joined the channel [00:41] saschagehlich has joined the channel [00:44] gavin_huang has joined the channel [00:45] xandrews has joined the channel [00:46] oeginc has joined the channel [00:47] oeginc: Hello party people.. [00:47] oeginc: Has anyone developed a decent stable database abstraction layer for NodeJS yet? [00:48] abjorn: Uhh, I made one for couchdb [00:48] oeginc: I need one that is database agnostic [00:48] abjorn: but that doesn't count, it's just HTTP requests lol [00:48] oeginc: This project is starting out using MySQL, but I know I'm going to be migrating to Postgresql within the next year... I hate to have to rewrite everything [00:49] konobi: Joose? maybe? perhaps? [00:50] jerrysv: just released global.js -- it implements the "global pattern" for node.js [00:51] jerrysv: available via npm "npm install global" or at https://github.com/JerrySievert/global [00:51] jesusabdullah: what is the "global pattern"? [00:51] jesusabdullah: It sounds bad [00:51] jesusabdullah: but I will look! [00:52] oeginc: Looks like shared memory for nodeJS apps [00:52] jerrysv: it is AWESOME [00:52] DTrejo has joined the channel [00:52] jesusabdullah: Is it? XD [00:53] jerrysv: AWESOME [00:53] bnoordhuis: jerrysv: too much time on your hands? :) [00:53] TheJH: jerrysv, that source code really is amazing! [00:53] TheJH: jerrysv, it looks so... pure! [00:53] jerrysv: bnoordhuis: i saw mikeal's framework, figured there needed to be something that could work with the output [00:53] jerrysv: thejh: as pure as the snow [00:53] TheJH: jerrysv, yes, right [00:53] jesusabdullah: what is this I don't even [00:54] jerrysv: jesusabdullah: check out the test.js for more info [00:54] jslatts has joined the channel [00:54] jesusabdullah: Yeah, looking at it [00:54] jerrysv: jesusabdullah: essentially, you can: var global = require('global'); - anywhere in any of your modules [00:54] oeginc: So there is no database agnostic DAL for NodeJS yet from what I can tell... That kind of puts a kabosh on my plans. [00:54] jesusabdullah: So why is /lib/global.js blank? [00:54] jerrysv: and then whatever you set in that global namespace is available [00:54] guybrush: 37bytes, sweet :D [00:54] jesusabdullah: I feel like there's a joke I'm not getting [00:55] jerrysv: jesusabduallah: because it works on exports -- you're just instantiating a shared "exports" from an empty module and using it [00:55] jesusabdullah: o___o [00:56] jesusabdullah: That works? :o [00:56] jerrysv: and on that awesome note, i think i need to pack up and head home :) [00:56] jerrysv: yeah [00:56] jerrysv: and nobody else had released it [00:56] guybrush: so what is the difference to ANY other package [00:56] jerrysv: so ... [00:56] guybrush: i mean [00:56] jerrysv: guybrush: this one's only 37 bytes! [00:56] guybrush: hihi [00:57] samsonjs has joined the channel [00:57] othiym23 has joined the channel [00:57] TheJH: jerrysv, don't you realize that you can just use the "global" variable? well, actually I assume that you do. [00:58] dannycoates has left the channel [00:59] prettyrobots has joined the channel [01:01] wookiehangover has joined the channel [01:01] admc has joined the channel [01:02] CIA-107: libuv: 03Bert Belder 07master * r4c2d054 10/ (include/uv-win.h test/dns-server.c test/echo-server.c): Whitespace fixes - http://bit.ly/oECoVm [01:02] CIA-107: libuv: 03Bert Belder 07master * r4a6efee 10/ src/uv-win.c : uv-win: get rid of unused variables - http://bit.ly/pfxmql [01:03] CIA-107: libuv: 03Bert Belder 07new-req * r465dc79 10/ (10 files in 3 dirs): [01:03] CIA-107: libuv: Better request API [01:03] CIA-107: libuv: Instead of uv_shutdown, uv_write, uv_connect taking raw uv_req_t we subclass [01:03] CIA-107: libuv: uv_req_t into uv_shutdown_t, uv_write_t, and uv_connect_t. [01:03] CIA-107: libuv: uv_req_init is removed. - http://bit.ly/oZgojd [01:03] CIA-107: libuv: 03Bert Belder 07new-req * r9827fc8 10/ (6 files in 3 dirs): Improve request API (2) - http://bit.ly/nkEpFM [01:05] CIA-107: libuv: 03Ryan Dahl 07new-req * r89dfd8b 10/ (10 files in 3 dirs): [01:05] CIA-107: libuv: Better request API [01:05] CIA-107: libuv: Instead of uv_shutdown, uv_write, uv_connect taking raw uv_req_t we subclass [01:05] CIA-107: libuv: uv_req_t into uv_shutdown_t, uv_write_t, and uv_connect_t. [01:05] CIA-107: libuv: uv_req_init is removed. - http://bit.ly/mUguWW [01:05] CIA-107: libuv: 03Bert Belder 07new-req * r438806e 10/ (6 files in 3 dirs): Improve request API (2) - http://bit.ly/ppQCH7 [01:05] broofa has joined the channel [01:08] jspiros has joined the channel [01:10] pyrotechnick has joined the channel [01:14] abjorn: Trying to compile a c++ node extension, anyone know what this is about? [01:14] abjorn: /home/corey/local/node/include/node/uv-unix.h:27: fatal error: ev.h: No such file or directory [01:14] abjorn: It should be on my path.. [01:14] smtlaissezfaire has joined the channel [01:16] daveluke has joined the channel [01:16] c4milo1 has joined the channel [01:16] c4milo1: abjorn: using node 0.5.0? [01:17] abjorn: lemme check [01:17] abjorn: v0.5.1-pre [01:18] abraham has joined the channel [01:20] abjorn: guess I'll try the 0.4 branch [01:20] skm has joined the channel [01:21] Nizam has joined the channel [01:21] neoesque has joined the channel [01:22] mike5w3c has joined the channel [01:24] abjorn: whoop 0.4 branch worked [01:26] tonymilne has joined the channel [01:26] pHcF has joined the channel [01:27] systemfault has joined the channel [01:28] CIA-107: libuv: 03Bert Belder 07new-req * r9bf2c1d 10/ include/uv.h : Define union uv_any_req - http://bit.ly/rgFOCM [01:28] CIA-107: libuv: 03Bert Belder 07new-req * r268c680 10/ (3 files): Benchmarks use the improved request api - http://bit.ly/qk5Mws [01:29] postwait has joined the channel [01:30] erobit has joined the channel [01:33] smolyn has joined the channel [01:34] sounko has joined the channel [01:34] willwhite has joined the channel [01:34] CIA-107: libuv: 03Ben Noordhuis 07master * r86341f8 10/ Makefile : [01:34] CIA-107: libuv: Makefile: disable test-% and bench-% targets [01:34] CIA-107: libuv: Targets bench-% and test-% mess up dependency resolution, disable for now. - http://bit.ly/qWZASZ [01:34] CIA-107: libuv: 03Ben Noordhuis 07master * r9aff110 10/ test/runner.c : runner: bring back benchmark output - http://bit.ly/ocYprV [01:34] jerrysv has joined the channel [01:34] brolin has joined the channel [01:36] TheEmpath has joined the channel [01:37] avalanche123 has joined the channel [01:39] rook2pawn: are there any specifics on what constitutes a data event on a readable stream? [01:40] rook2pawn: i have a readable stream on a stdout childprocess and at first it seems to trigger on newline, but then as the information "leaks" it seems cause a data event [01:40] rook2pawn: if there is a slight pause on output on the childprocess [01:41] rook2pawn: i.e. a data event per pause [01:41] rook2pawn: ACTION is using node 0.4.9 [01:42] ghanima has joined the channel [01:42] jerrysv: thejh: responded to your pull request [01:42] harth has joined the channel [01:43] Corren has joined the channel [01:45] ghanima has left the channel [01:47] xandrews has joined the channel [01:49] slloyd_ has joined the channel [01:50] ditesh|cassini has joined the channel [01:52] krh has joined the channel [01:55] cccaldas has joined the channel [02:01] Emmanuel__ has joined the channel [02:01] CIA-107: libuv: 03Ryan Dahl 07new-req * r61be827 10/ (10 files in 3 dirs): [02:01] CIA-107: libuv: Better request API [02:01] CIA-107: libuv: Instead of uv_shutdown, uv_write, uv_connect taking raw uv_req_t we subclass [02:01] CIA-107: libuv: uv_req_t into uv_shutdown_t, uv_write_t, and uv_connect_t. [02:01] CIA-107: libuv: uv_req_init is removed. - http://bit.ly/qcwwOE [02:01] CIA-107: libuv: 03Bert Belder 07new-req * rb744091 10/ (6 files in 3 dirs): Improve request API (2) - http://bit.ly/nX7siw [02:01] CIA-107: libuv: 03Bert Belder 07new-req * rf2fd024 10/ include/uv.h : Define union uv_any_req - http://bit.ly/nRGZDB [02:01] CIA-107: libuv: 03Bert Belder 07new-req * r24c7c93 10/ (3 files): Benchmarks use the improved request api - http://bit.ly/qNTRdS [02:01] CIA-107: libuv: 03Bert Belder 07new-req * r37c244d 10/ (include/uv-win.h src/uv-win.c): uv-win: get rid of the uv_req_t.flags field - http://bit.ly/oQpivB [02:05] raidfive has joined the channel [02:06] smtlaissezfaire has joined the channel [02:07] criswell has joined the channel [02:10] zodiak has joined the channel [02:12] d0k has joined the channel [02:13] boehm has joined the channel [02:16] smtlaissezfaire has joined the channel [02:16] daveluke has joined the channel [02:18] jgautier has joined the channel [02:18] towski has joined the channel [02:19] corytheboyd has joined the channel [02:19] kriszyp has joined the channel [02:19] emacsen: anyone here use the async module? [02:19] AvianFlu: yes [02:19] AvianFlu: what do you want to know? [02:19] _numbers has joined the channel [02:19] _numbers has left the channel [02:20] emacsen: AvianFlu, I'm trying to use it, and running into a couple of issues. Can I paste my code somewhere and maybe you can help me figure out why it's not running as I expect? [02:21] emacsen: AvianFlu, http://dpaste.com/568144/ [02:21] emacsen: when I run that, it runs the UID function, and then just seems to sit there [02:21] saikat has joined the channel [02:22] emacsen: I also tried w/o those callback arguments to the function, since I don't see what they do. But that's from the documentation [02:22] joshthecoder has joined the channel [02:24] greg has joined the channel [02:24] corytheboyd has left the channel [02:26] AvianFlu: emacsen: I can't vouch for auto, I usually only use the specific methods [02:26] AvianFlu: series, waterfall, etc [02:26] AvianFlu: where's your callback though? [02:26] chapel: thats the problem [02:26] chapel: hes not using callbacks [02:27] chapel: you have to call them emacsen [02:27] chapel: you call the callback when you are done [02:27] emacsen: chapel, I thought that's what async did for me, set the ordering and make the function calls based on requisite functions? [02:27] chapel: well without a callback it doesn't know when you are done with the function [02:28] chapel: https://github.com/caolan/async/blob/master/test/test-async.js#L11 [02:28] qcom_ has joined the channel [02:28] chapel: notice that each of his tasks have a callback [02:28] chapel: in that test [02:29] wilmoore has joined the channel [02:29] mw__ has joined the channel [02:31] emacsen: chapel, ah. New errors but much further! Thanks!!! [02:31] cccaldas has joined the channel [02:32] Nuck: Aw damn, I had an idea for Caustic I wanted to suggest for tj :P [02:35] jtsnow has joined the channel [02:39] smtlaissezfaire has joined the channel [02:39] wookiehang0ver has joined the channel [02:39] kmurph79 has joined the channel [02:39] david has joined the channel [02:45] pifantastic has joined the channel [02:50] kawaz_home has joined the channel [02:51] Wizek has joined the channel [02:51] jerrysv has joined the channel [02:52] gtramont has joined the channel [02:53] prettyrobots has joined the channel [02:53] gtramont1na has joined the channel [02:54] Kuntau has joined the channel [02:55] erobit has joined the channel [03:00] Corren has joined the channel [03:02] CIA-107: libuv: 03Igor Zinkovsky 07pipes * r30ab665 10/ (7 files in 3 dirs): allocate windows pipe handles on demand - http://bit.ly/noyRSy [03:02] e6nian has joined the channel [03:02] meso has joined the channel [03:04] fairwinds has joined the channel [03:08] ryanfitz has joined the channel [03:10] infynyxx has joined the channel [03:10] infynyxx has left the channel [03:10] erobit has joined the channel [03:11] stracK has joined the channel [03:13] strcK has joined the channel [03:16] stracK has joined the channel [03:16] perlmonkey2 has joined the channel [03:17] qcom_ has joined the channel [03:18] stracK has joined the channel [03:19] yozgrahame has joined the channel [03:19] smtlaissezfaire has joined the channel [03:20] mw__ has joined the channel [03:20] mw__ has joined the channel [03:21] rurufufuss has joined the channel [03:24] ajsie has joined the channel [03:24] ajsie: Is node.js owned by Joyent? [03:25] systemfault: I'd be surprised... joylent's website design is damn clean :P [03:25] admc has joined the channel [03:25] systemfault: [03:25] e6nian: ajsie: Node.js is a trademark of Joyent, [03:26] e6nian: ajsie: http://nodejs.org/trademark-policy.pdf [03:26] davidbanham: The code itself is open sourced, however. [03:27] AvianFlu has joined the channel [03:28] ajsie: okay so it's owned by Joyent .. they can do whatever they want with it [03:28] ajsie: but it's open sourced for contributions and knowledge sharing [03:31] trepan has joined the channel [03:31] trepan has joined the channel [03:31] seawise has joined the channel [03:31] zeade has joined the channel [03:31] nickbaugh has joined the channel [03:32] jerrysv has joined the channel [03:33] ryanfitz has joined the channel [03:34] rook2pawn has joined the channel [03:36] jakehow has joined the channel [03:38] [[zz]] has joined the channel [03:38] e6nian: ajsie: so you can fork it and rename it to Xnode.js or else what your want X) [03:39] ajsie: cool [03:39] ajsie: have my own version of node.js [03:39] Spion_ has joined the channel [03:39] ajsie: or contribute back =) [03:43] prettyrobots has joined the channel [03:43] heavysixer has joined the channel [03:43] e6nian: ajsie: yeah [03:44] CIA-107: libuv: 03Igor Zinkovsky 07master * rf5ff869 10/ (7 files in 3 dirs): allocate windows pipe handles on demand - http://bit.ly/nrhnnD [03:46] ambroff has joined the channel [03:46] mandric has joined the channel [03:47] sounko has joined the channel [03:51] yorick has joined the channel [03:54] Jakwac has joined the channel [03:55] sw8sw8 has joined the channel [03:55] stepheneb has joined the channel [03:57] sw8sw81 has joined the channel [03:58] smtlaissezfaire has joined the channel [03:59] ditesh|cassini has joined the channel [04:00] pifantastic has joined the channel [04:00] criswell has joined the channel [04:00] ryanfitz has joined the channel [04:01] Kuntau has joined the channel [04:01] rchavik has joined the channel [04:01] rchavik has joined the channel [04:07] jasonHulme has joined the channel [04:07] Nizam has joined the channel [04:07] AvianFlu has joined the channel [04:13] ovnicraft has joined the channel [04:16] jetienne has joined the channel [04:16] xeodox has joined the channel [04:16] xeodox has left the channel [04:16] sivy has joined the channel [04:16] othiym23 has joined the channel [04:19] yhahn has joined the channel [04:19] mehtryx has joined the channel [04:25] brolin has joined the channel [04:25] confoocious has joined the channel [04:25] perezd: hellol. [04:26] perezd: so, anyone using the Actor model with NodeJS? [04:27] langworthy has joined the channel [04:30] fairwinds has joined the channel [04:33] xastey has joined the channel [04:35] cha0s has joined the channel [04:39] carmony has joined the channel [04:40] radiodario has joined the channel [04:41] sublim21 has joined the channel [04:42] sonnym has joined the channel [04:42] sublim21: hey all. im trying to install node.js on windows and am following the guide listed here -> https://github.com/joyent/node/wiki/Building-node.js-on-Cygwin-%28Windows%29 [04:42] sublim21: just wanted to make sure that's the best way to install node.js on a windows platform [04:43] perezd: ryah: you around? [04:44] Prometheus: sublim21: there's better windows support coming [04:44] Prometheus: sublim21: I believe it should be released soon [04:45] sublim21: Prometheus: yes. i read a post about ms helping out with it. [04:45] Kuntau has joined the channel [04:45] Prometheus: sublim21: I'm not sure if 0.5.1 (which is due to land tomorrow) is the patch that will finalize the support [04:45] sublim21: but i don't know when that's getting released, so my plan is to try the guide tonight, if it works, great. if it doesn't im going to wait for the proper. does that sound like a good lplan? [04:45] ralphholzmann: is there a method available that merges two object literals together? [04:45] sublim21: you gotta be kidding me if its coming out tomorrow [04:45] niftylettuce has joined the channel [04:46] ralphholzmann: like jQuery.extend, but not using jQuery [04:46] EyePulp has joined the channel [04:46] Prometheus: sublim21: 0.5.0 has this: "New non-default libuv backend to support IOCP on Windows. Use --use-uv to enable. " [04:46] Prometheus: but I know nothing of the windows support [04:47] sublim21: that just sounds complicated. us windows users only have like 25 brain cells. if it's not an exe that automagically does everything for us, we get confused [04:47] Prometheus: sublim21: https://github.com/joyent/libuv [04:47] Prometheus: sublim21: the exe is planned [04:47] Prometheus: I'm not sure when that'll be, maybe tomorrow, but should be sooner rather than later I imagine [04:48] sublim21: Prometheus: that would be great. I can be your little test dummy :p [04:48] edude03 has joined the channel [04:48] robhawkes has joined the channel [04:49] sub_pop has joined the channel [04:49] sublim21: getting node.js up and running is not currently a priority. i just had some down time so i figured, why not try tonight? but i'll only try a little and wait for the exe. thanks for all the information though [04:49] Prometheus: sublim21: for the time being, I would just use a virtual machine =) [04:50] Prometheus: *much* easier [04:50] Prometheus: (well, relatively speaking anyway) [04:50] sublim21: never done a virtual machine before [04:50] Prometheus: ah [04:50] Prometheus: well, cygwin is slightly horrendous from what I can remember ;) [04:50] perezd: anyone using web workers? [04:50] sublim21: oh, is cygwin a vm? in which case, i do have vm experience [04:50] Prometheus: sublim21: anyway, keep checking back from time to time, node.js evolves fast :) [04:51] sublim21: yea. everything evolves fast. it sounds like you [04:51] descipher has joined the channel [04:51] sublim21: 're greatly involved in this project promethius, so thanks for your work [04:51] Prometheus: I'm not acutally :/ [04:51] Prometheus: I'm just a monkey toying with it [04:51] sublim21: ACTION removes thanks [04:51] Prometheus: haha =P [04:52] Prometheus: well I do hang out here and try to help where I can :) [04:52] sublim21: its amazing how helpful people are when you ask them about something they know [04:52] sublim21: they get all excited and wanna teach you EVERYTHING [04:53] Prometheus: if they are enthusiastic about it, sure :) [04:53] perezd: who wants to teach me about Actor models in NodejS! [04:53] Prometheus: sublim21: that's what makes this industry so interesting, that the brightest of people share their knowledge for free ;) [04:53] sublim21: hehe thats so true [04:53] smtlaissezfaire has joined the channel [04:54] Prometheus: knowledge and tools I should say [05:00] mandric: how would i structure a module so that when you var foo = require('module'); foo is a function, do you do exports = function() { } in the module or something else? [05:02] elliottcable has joined the channel [05:04] dnjaramba has joined the channel [05:04] perezd: mandric: yes [05:04] perezd: module.exports = function() [05:04] perezd: actor model? anyone? web workers? anyone? [05:04] mandric: ok cool [05:04] Nizam has joined the channel [05:04] mandric: will try that [05:06] yozgrahame has joined the channel [05:07] kriszyp has joined the channel [05:07] boss has joined the channel [05:08] jacobolus has joined the channel [05:10] jacobolus has joined the channel [05:13] meso has joined the channel [05:13] rhdoenges has joined the channel [05:17] mandric: thanks perezd [05:17] perezd: np [05:17] mandric: should probably read up on this commonjs stuff more... [05:18] sandstrom has joined the channel [05:18] sandstrom has joined the channel [05:19] Guest67408: yo, anyone have experience streaming audio from node.js to multiple users simultaneously? [05:19] cfddream has joined the channel [05:20] Spion has joined the channel [05:21] dgathright has joined the channel [05:21] langworthy has joined the channel [05:23] isaqual has joined the channel [05:24] smtlaissezfaire has joined the channel [05:24] jacobolus has joined the channel [05:26] jacobolus has joined the channel [05:27] wilmoore has joined the channel [05:27] adam_ has joined the channel [05:29] jacobolus has joined the channel [05:29] gdusbabek has joined the channel [05:30] cfddream has left the channel [05:32] fangel has joined the channel [05:32] dshaw_ has joined the channel [05:32] AvianFlu has joined the channel [05:34] sandstrom_ has joined the channel [05:34] sandstrom_ has joined the channel [05:34] saikat has joined the channel [05:36] SamuraiJack has joined the channel [05:37] copongcopong has joined the channel [05:37] joshuaroesslein has joined the channel [05:38] azeroth__ has joined the channel [05:43] sublim21 has joined the channel [05:44] sublim21: Prometheus: no luck man. i keep getting some error that i can't remedy. I'm going to wait for the exe to try again with node.js thanks again for the help [05:44] chrischris has left the channel [05:44] Prometheus: sublim21: alright, sorry I couldn't help you [05:45] piscisaureus has joined the channel [05:47] jacobolus has joined the channel [05:49] Bonuspunkt has joined the channel [05:50] mykul has joined the channel [05:51] dnjaramba has joined the channel [05:52] sw8sw8 has joined the channel [05:53] cosmincx has joined the channel [05:54] sw8sw8 has left the channel [05:54] dnjaramba has joined the channel [05:56] dnjaramba has joined the channel [05:56] justicefries has joined the channel [05:58] shadow_s has joined the channel [06:00] stephank has joined the channel [06:01] madzak has joined the channel [06:02] Kuntau has joined the channel [06:02] wilmoore has joined the channel [06:02] visnup has joined the channel [06:03] visnup has joined the channel [06:05] gozala has joined the channel [06:07] AAA_awright has joined the channel [06:08] kersny|away has joined the channel [06:08] pen_ has joined the channel [06:08] taf2 has joined the channel [06:12] saurabhverma has joined the channel [06:14] cosmincx1 has joined the channel [06:16] shadow_s: is there any native way in paperjs to attach two items in such a way that one item is always attached to the a certain segment of the other, but if one gets rotated, it doesn't rotate the other? [06:17] shadow_s: to *a certain segment [06:21] cosmincx has joined the channel [06:24] seivan has joined the channel [06:25] saurabhverma1 has joined the channel [06:25] topaxi has joined the channel [06:27] TomY has joined the channel [06:29] svenlito has joined the channel [06:31] mendel_ has joined the channel [06:31] saurabhverma has joined the channel [06:32] mendel_ has joined the channel [06:35] admc has joined the channel [06:39] infynyxx1 has joined the channel [06:40] erenon has joined the channel [06:40] groom has joined the channel [06:42] kbni has joined the channel [06:42] erenon: hi, according to a conversation we have several hours ago, here is my gist that demonstrates my problem: https://gist.github.com/1082040 what should I do to let my destructor run? [06:43] mekwall: whats the easiest way to consume other web services with node? is there a lib for that? [06:43] `3rdEden has joined the channel [06:43] ajsie: mekwall: HTTP? [06:44] mikedeboer has joined the channel [06:44] mekwall: ajsie: depends... will be many different ones. in just this case it's a http rest ws that serves xml [06:44] andree has joined the channel [06:45] ajsie: mekwall: Restful HTTP is pretty standard to communicate between services [06:45] mekwall: yeah I know that :) [06:46] ajsie: dont get your question [06:47] mekwall: if there's a library that simplifies consuming of different web services, like soap, xmlrpc, jsonrpc etc. [06:47] ajsie: okay [06:47] ajsie: just know HTTP [06:47] ajsie: i hope i haven't missed something :) [06:48] mekwall: hehe [06:48] shapeshed has joined the channel [06:49] mendel_ has joined the channel [06:50] ajsie has left the channel [06:51] squeese has joined the channel [06:54] kmox83 has joined the channel [06:54] springify has joined the channel [06:56] hij1nx has joined the channel [06:58] edude03 has joined the channel [06:58] jbpros has joined the channel [06:59] sanjev has joined the channel [07:06] ChrisPartridge1 has joined the channel [07:06] AvianFlu_ has joined the channel [07:09] __doc__ has joined the channel [07:11] Aiden has joined the channel [07:16] seawise has joined the channel [07:16] mikedeboer has joined the channel [07:16] infynyxx1 has left the channel [07:16] n2liquid has joined the channel [07:16] cosmincx has joined the channel [07:16] n2liquid: hey guys, I have a question regarding YouTube Cosmic Panda [07:17] n2liquid: did you notice that some buttons change the page URL but somehow reuse the current DOM? [07:17] n2liquid: I'd like to know how that happens [07:17] n2liquid: any ideas? [07:18] febits has joined the channel [07:18] Nuck: n2liquid: You prevent the click event from doing the default action (navigating) and change the address bar with a browser history update, then toss an AJAX'd in page for the final touch. [07:19] n2liquid: Nuck: I guess the magical part happens with the browser history update, right? [07:19] n2liquid: gonna check the APIs for that, thx a lot [07:19] Nuck: n2liquid: As far as I know, yes. [07:19] n2liquid: thanks [07:19] n2liquid: Nuck++ [07:19] catb0t: Nuck now has 1 beer [07:19] Nuck: But I'm gonna be doing lots more research on that topic too ;) [07:20] n2liquid: haha [07:20] n2liquid: I think that's really grear [07:20] n2liquid: great* [07:20] Nuck: n2liquid: I know that's how Facebook does shit, at least that's what I've been told. [07:20] Nuck: I agree [07:20] saikat has joined the channel [07:20] Nuck: I'm using it on a site of mine, or at least, I plan to. [07:20] n2liquid: is it online already? [07:20] Nuck: Not yet [07:20] Nuck: it's an art site, but we won't be launching for a little while longer :P [07:21] n2liquid: I see [07:21] n2liquid: good luck then [07:21] steffkes has joined the channel [07:21] fangel has joined the channel [07:21] gma has joined the channel [07:22] AAA_awright: Nuck: Which by the way how's it coming along? [07:22] JoshC1 has joined the channel [07:22] Nuck: AAA_awright: Starting work on the website itself, hope to have the profiles done soon. [07:23] Nuck: I'm just looking at how I'm gonna avoid making Spaghetti code out of it :P [07:23] Nuck: And as it stands, tj's Caustic looks like a good contendor. [07:24] AAA_awright: I have constant problems of making all my various libraries coherently mesh together [07:24] dgathright has joined the channel [07:24] AAA_awright: They all only half work [07:24] catphive has joined the channel [07:24] Nuck: AAA_awright: I use jQuery, soooooo... [07:24] Nuck: The general jQuery style is spaghetti code [07:24] gma has joined the channel [07:24] Nuck: Which isn't very good. [07:25] gozala has joined the channel [07:25] Nuck: So I'm looking at a more managable View system, and Caustic, though still very new, seems VERY effective. [07:25] blueadept has joined the channel [07:26] AAA_awright: Nuck: What is it? [07:26] dgathright_ has joined the channel [07:26] AAA_awright: Do you have links? [07:27] Nuck: AAA_awright: https://github.com/visionmedia/caustic [07:27] springify has joined the channel [07:27] Nuck: AAA_awright: I swear, tj makes the best shit. [07:27] AAA_awright: I wonder how he does it [07:27] dgathright_: n2liquid: Search for "pushState()" to find more info about that new API. [07:27] Nuck: dgathright_: I'm taking note of that too, I need to learn that shit lol [07:28] dgathright_: n2liquid: Just trying to update that URL (document.location.href) will cause a new page load cycle [07:28] Nuck: dgathright_: How good is compatibility across browsers? [07:28] Nuck: AAA_awright: I don't know, but this is awesome magic. [07:29] dgathright: Nuck: It's pretty sweet. some say pushState is the biggest thing for the web since ajax. [07:29] Nuck: dgathright: Seems like AJAX done right to me. [07:29] tuhoojabotti: Indeed [07:29] dgathright: Nuck: Firefox 4+, Chrome, & Safari. [07:29] tuhoojabotti: I use replaceState too :D [07:30] tuhoojabotti: no ajax for those losers who don't support it. [07:30] tuhoojabotti: dgathright: Latest opera has it [07:30] Nuck: Is it added to Modernizr yet? [07:30] tuhoojabotti: 11.11 I think. [07:30] dgathright: Github's repo browsing pages have been using it for a few months [07:30] tuhoojabotti: Nuck: Ages ago, it's Modernizr.history [07:30] Nuck: tuhoojabotti: Oh fuck yeah [07:30] tuhoojabotti: That's what I use :P [07:31] Nuck: tuhoojabotti: I can fall back to hashtag URLs for those cases :D [07:31] tuhoojabotti: Nuck: I won't [07:31] Nuck: And then if all else fails, go to static. [07:31] tuhoojabotti: I use hashes for css accordion :D [07:31] kbni: replaceState/pushState is the win [07:31] kbni: I use it and nothing else [07:31] saurabhverma has joined the channel [07:31] tuhoojabotti: kbni: \o [07:31] kbni: if we use old technology, what incentive is there to update? [07:31] tuhoojabotti: Yeah. [07:31] tuhoojabotti: My site works without it, just doesn't use ajax then. :P [07:32] Nuck: kbni: That possible for regular sites, but in this case, I'm trying to stick to AJAX wherever possible :P [07:32] zackattack has joined the channel [07:32] Nuck: Seeing as I don't wanna hafta build two sites just yet X3 [07:32] sandstrom has joined the channel [07:32] sandstrom has joined the channel [07:32] AAA_awright: I'm suprised Twitter hasn't adopted pushState [07:32] Nuck: I'm just doing the AJAX version before I go to beta [07:32] Nuck: Then I'm gonna switch off to have more fallbacks [07:33] Nuck: What's IE's future support look like? [07:33] Nuck: IE10? [07:33] Nuck: I assume not in IE9, but IE10 is another great stride towards standards-compliancy. [07:34] unlink has joined the channel [07:34] unlink has joined the channel [07:35] Nuck: I killed the chat by mentioning IE, huh? [07:35] tuhoojabotti: Yes. [07:35] sfoster has joined the channel [07:35] Nuck: lol [07:35] dgathright: AAA_awright: Twitter will eventually use pushState. See this post from a Twitter engineer. http://danwebb.net/2011/5/28/it-is-about-the-hashbangs [07:35] AAA_awright: Hm [07:36] [AD]Turbo has joined the channel [07:36] AAA_awright: The semantic web community knows exactly why, the SWIG mailing list has some pretty devistating critiques of the practice [07:36] dgathright: "... Ben Cherry pointed this out and expressed that it wasn’t really hashbangs that were the problem and that they were merely a temporary work around until we get pushState support." [07:36] AAA_awright: But how hard is pushState [07:37] dgathright: not hard [07:37] AAA_awright: They have to check if the function exists and replace a few lines [07:37] [AD]Turbo: hi there [07:37] AAA_awright: They haven't done that yet? [07:37] AAA_awright: You shouldn't use #! even if there's no pushState [07:37] Nuck: I plan to [07:37] Nuck: But I'll do that in JS [07:38] tuhoojabotti: JS :O [07:38] tuhoojabotti: omg [07:38] tuhoojabotti: Why would you do that? [07:38] Nuck: The links will actually be normal links [07:38] tuhoojabotti: :D [07:38] dgathright: Hah, it's almost like what is the point? They've already locked themselves into a lifetime of supporting client-side hashbang routing. [07:38] AAA_awright: exactly dgathright [07:38] tuhoojabotti: Nuck: My links are normal links, they just preventDefault [07:38] AAA_awright: You can't serve an HTTP redirect [07:38] AAA_awright: It breaks the web [07:39] tuhoojabotti: The web is broken :D [07:39] tuhoojabotti: dial with it [07:39] tuhoojabotti: (the modem) [07:39] Nuck: just /user/username and whatnot, but if they have JS, it'll try to pushState, but if that fails, it'll fallback to hashbangs. [07:39] AAA_awright: I want to make it less broken [07:39] tuhoojabotti: Nuck: Hashbangs don't work if the guy using the link doesn't got JS on. [07:39] AAA_awright: I implemented a site with #! myself... I ditched it, I wouldn't do it again [07:39] tuhoojabotti: Biggest problem with then. [07:39] tuhoojabotti: them' [07:40] Nuck: tuhoojabotti: Hence why that's in the JS and not in the anchor [07:40] muhqu has joined the channel [07:40] tuhoojabotti: Nuck: But, if the guy who gives the link to the guy has js on [07:40] tuhoojabotti: and the guy who recevies it doesn't. [07:40] Nuck: tuhoojabotti: Then hopefully he has pushState lol [07:40] tuhoojabotti: That needs JS too... [07:40] Nuck: otherwise, all I can say is "deal with it" [07:40] tuhoojabotti: Yeah. [07:41] tuhoojabotti: That's why I only use pushState. [07:41] Nuck: tuhoojabotti: Aye, but pushState gives a regular URL [07:41] Nuck: So I can fallback on static [07:41] tuhoojabotti: I got tired of saying Deal with it to everyone :D [07:41] Nuck: And if all else fails, fall back to hashbangs. [07:41] jacobolus has joined the channel [07:41] tuhoojabotti: Yeah. [07:41] Nuck: tuhoojabotti: I'll probably put a