[00:00] joshthecoder has joined the channel [00:00] tchype has joined the channel [00:01] bln has joined the channel [00:01] bln has left the channel [00:02] hij1nx has joined the channel [00:02] Yuffster_work has joined the channel [00:04] janne has joined the channel [00:04] goatslacker has joined the channel [00:04] slaskis has joined the channel [00:05] motu has joined the channel [00:05] AvianFlu has joined the channel [00:05] apa- has joined the channel [00:05] Garo_ has joined the channel [00:05] persson has joined the channel [00:06] rpj8: Another possibly dumb question: do partials in express choke when only given one record? [00:08] pt_tr has joined the channel [00:08] [[zz]] has joined the channel [00:09] rpj8: for example: http://jsfiddle.net/42P2t/1/ [00:09] newy_ has joined the channel [00:09] rpj8: er [00:09] rpj8: http://jsfiddle.net/42P2t/2/ [00:09] rpj8: sorry [00:10] rpj8: currently it just takes me to a members page with no members listed [00:11] sshaginyan has joined the channel [00:12] k1ttty has joined the channel [00:13] davidbanham has joined the channel [00:14] Swimming_bird has joined the channel [00:17] fakewaffle has joined the channel [00:17] themiddleman has joined the channel [00:18] fakewaffle: what adblock extension does everyone use for chrome? they all seem to suck compared to adblock plus for FF [00:18] niftylettuce: dont go to ad sites :) [00:18] sshaginyan has joined the channel [00:18] fakewaffle: niftylettuce: what great advice [00:18] v0idless- has joined the channel [00:18] fakewaffle: ill unplug my cable modem right now too [00:19] AvianFlu has joined the channel [00:19] Jalava has joined the channel [00:20] rpj8: fakewaffle: I just use adblock [00:20] bnoordhuis: just leaving this here: http://news.ycombinator.com/item?id=2680223 [00:20] rpj8: also totes bumpin' my question from earlier [00:20] rpj8: :3 [00:21] tk has joined the channel [00:21] fakewaffle: rpj8: adblock doesnt seem to be blocking any video ads, and i still get a lot of adds too :/ [00:22] rpj8: fakewaffle: yeah it's not as good as ff's adblock [00:22] rpj8: but tbh i dunno. [00:22] fakewaffle: ok [00:22] TooTallNate: bnoordhuis: lol, why did that guy post that SO question? it's from Oct 2010 [00:22] xeodox: In Express, if there is other stuff going on, but render() is called, will render() wait until everything is finished? [00:22] rpj8: XEXPRESS WAITS FOR NO MAN [00:24] bnoordhuis: TooTallNate: well, it's still relevant [00:24] jbroman has left the channel [00:26] slickplaid: Give someone years of development and love/hate in a particular language and you can't help but be biased when writing about it. [00:27] dtan: lol @ rpj8 [00:28] TheFuzzball has joined the channel [00:30] coleGillespie__ has joined the channel [00:30] bazookatooth has joined the channel [00:32] bentruyman has joined the channel [00:32] jerrysv has joined the channel [00:36] Twelve-60 has joined the channel [00:36] copongcopong has joined the channel [00:37] sshaginyan has joined the channel [00:37] eyesUnclouded has joined the channel [00:39] newy_ has joined the channel [00:40] swhit has joined the channel [00:40] be4u has joined the channel [00:42] el_bb has joined the channel [00:42] tahu has joined the channel [00:44] unlink has joined the channel [00:44] unlink has joined the channel [00:45] neoesque has joined the channel [00:46] newy_ has joined the channel [00:50] gavin_huang has joined the channel [00:50] Tobsn has joined the channel [00:50] tahu has joined the channel [00:50] avalanche123 has joined the channel [00:51] Calvin has joined the channel [00:51] ryan0x2 has joined the channel [00:52] samsonjs has joined the channel [00:52] newy_ has joined the channel [00:53] johnnywengluu: is there a way to remove directory with node.js without using child_process? [00:53] johnnywengluu: a dir that contains files that is [00:53] johnnywengluu: fs.rmDirSync() doesn't work with dir containing files [00:53] a_meteorite has joined the channel [00:57] LiamMagee has joined the channel [00:58] devdazed has joined the channel [00:58] sveimac has joined the channel [01:00] MooGoo: remove the files first? [01:00] MooGoo: you're asking if nodejs has rm -rf? [01:02] Spion has joined the channel [01:03] tbranyen: johnnywengluu: rimraf module does it [01:03] tbranyen: i use it for unit testing [01:03] tbranyen: to wipe out all my temp shiz [01:03] johnnywengluu: rimraf? [01:03] tbranyen: yea [01:03] johnnywengluu: you have a link? [01:03] johnnywengluu: yeah im doing testing too [01:03] tbranyen: i think its called rimraf i might be wrong [01:03] arpegius has joined the channel [01:03] tbranyen: https://github.com/isaacs/rimraf [01:04] overra has joined the channel [01:05] jerrysv has joined the channel [01:05] tmpvar has joined the channel [01:06] Tobsn: ryah, there? [01:06] johnnywengluu: tbranyen: no doc=) [01:06] johnnywengluu: how do you use it [01:06] johnnywengluu: think im just going to use child_process =) [01:08] tbranyen: johnnywengluu: really? just look at the test folder... [01:08] tbranyen: var rimraf = require('rimraf'); rimraf('somefolder', function(err) { }); [01:08] CrypticSwarm has joined the channel [01:09] abraxas has joined the channel [01:12] dgathright has joined the channel [01:12] piscisaureus has joined the channel [01:14] sioked has joined the channel [01:14] CodyGray has joined the channel [01:14] CodyGray has left the channel [01:17] Xano has joined the channel [01:17] Emmanuel__ has joined the channel [01:22] Nuck: ugh [01:22] Nuck: 103° F [01:22] Tobsn: whats that in real degrees? [01:22] Tobsn: ah [01:22] Tobsn: 40C [01:22] Nuck: 39 [01:22] Nuck: I personally prefer C [01:23] justinw312 has joined the channel [01:23] Nuck: But everyone in my house prefers Farenheit, so I'm stuck using that for the thermostat [01:23] Tobsn: i live in the US and i got used to feet and inches and miles. but i'll never get used to fahrenheit [01:23] cafesofie has joined the channel [01:23] justinw312: So I know for the most part running untrusted code should be avoided -- but if I absolutely have to do it... [01:23] Nuck: Tobsn: I'm accustomed to the metric system TBH [01:23] Nuck: Except for kilometers [01:23] chapel: Weather for Spokane, WA · 77°F (25°C) · Humidity: 34% · Partly Cloudy · Wind: SW at 5 mph · Last Updated on June 21, 5:53 PM PDT [01:23] Nuck: I still go by miles [01:23] Tobsn: i mean freezing point == 0C and not 32F... [01:23] Nuck: chapel: STFU [01:23] Tobsn: hehe [01:23] chapel: :) [01:24] justinw312: Can you think of any problems with this method: run it in a child process, in a new context, expose a non-writable, non-mutable api. [01:24] chapel: where are you located Nuck? [01:24] Bonuspunkt: °K > °* [01:24] Nuck: chapel: Modesto, California [01:24] chapel: Weather for Modesto, CA · 103°F (39°C) · Humidity: 19% · Clear · Wind: NNW at 9 mph · Last Updated on June 21, 4:53 PM PDT [01:25] dnunes has joined the channel [01:25] justinw312: I'm sure there's a lot of overhead associated with making a new context, but would it be secure? [01:25] Nuck: Fuck the Bay Area [01:25] Tobsn: chapel: San Marcos, California [01:25] Tobsn: :P [01:25] Nuck: San Francisco has 25°C (75°F) [01:25] Nuck: Those fuckers. [01:26] Nuck: Dear Silicon Valley people: GIVE US SOME OF YOUR COOL AIR PLOX [01:26] Tobsn: 34C here in SM [01:26] dgathright has joined the channel [01:26] chapel: Weather for San Marcos, CA · 68°F (20°C) · Humidity: 78% · Overcast · Wind: Variable at 4 mph · Last Updated on June 21, 5:53 PM PDT [01:26] halfhalo: 95F in socal [01:26] Tobsn: yep [01:26] Tobsn: pretty nice [01:26] Tobsn: oh wait [01:26] darshanshankar has joined the channel [01:27] Tobsn: 96F in san marcos on google showed me texas [01:27] Tobsn: its only 20C here? [01:27] Tobsn: wtf [01:27] Tobsn: its not [01:27] niftylettuce: anyone experience slow compilations with Stylus? [01:28] dnunes: Anyone manage to get a flash socket working on a socket.io connection? [01:28] chapel: niftylettuce: well the way it should work is that once its compiled, it will be fetched directly (the compiled file) [01:28] Tobsn: never payed attention to what its actually using [01:28] dnunes: I used to have it working fine, but since I moved to another server it just refuses to work. [01:28] chapel: and not have to be recompiled every time [01:28] Tobsn: dnunes, you dragged along the crossdomain xml file? [01:29] Tobsn: not sure but i think you need that [01:29] dnunes: Tobsn: I don't think I get what you mean. [01:29] Tobsn: for flash you need a crossdomain xml file right? [01:29] dnunes: Tobsn: I have a PHP server with the HTML and the socket.io.js and the .swf files are in my Node.JS server [01:29] Calvin has joined the channel [01:29] niftylettuce: chapel: yea so just for dev i guess that how it works? [01:29] niftylettuce: chapel: makes sense [01:29] chapel: well [01:29] clifton has joined the channel [01:29] chapel: its an order thing [01:29] dnunes: Tobsn: I though the Node.JS would do it for me. [01:29] Tobsn: or maybe it does [01:29] chapel: I will have the change in my push when I get it pushed [01:29] Tobsn: like i said never payed attention to it [01:30] dnunes: Tobsn: I don't see any request to a crossdomain.xml in my "net" tab of the firebug. [01:30] Tobsn: hmm [01:30] dnunes: Tobsn: Not sure if it should be there or not. [01:30] sshaginyan_ has joined the channel [01:30] Tobsn: not sure either [01:30] jerrysv has joined the channel [01:30] dnunes: Tobsn: am having the "[WebSocket] Error: Error calling method on NPObject!" error, currently, which means that the swf file was loaded correctly. [01:31] Tobsn: hmm no clue, never seen that error :/ [01:31] Tobsn: guess you gotta talk to rauchg or `3rdEden [01:31] dnunes: rauchg: You there? [01:32] dnunes: Tobsn: I'll try it. Thanks. [01:32] malkomalko: how is require used as a function by itself but also an object? [01:32] Tobsn: ;) [01:32] dnunes: malkomalko: What you mean? [01:32] dnunes: malkomalko: "require" is a function that usually returns an object. [01:33] malkomalko: require('foo') && require.paths && require.resolve('foo') [01:33] dnunes: malkomalko: You can "chain" the calls like "require('some_lib').PROPERTY_OR_METHOD" because the "require" call will return an object. [01:33] dnunes: Hm... [01:34] vipaca has joined the channel [01:34] derekdahmer has joined the channel [01:34] Tobsn: if you need a background noise while coding: http://3questionsgetthegirl.com/simple-trick-video/ [01:35] sshaginyan_: Can someone please help me with mysql-native? I have a problem where I'm trying to load objects into an array and res.send that array, but res.send only sends out the initial empty array "var data = [];" Here is my code http://pastie.org/2104250 [01:35] dnunes: malkomalko: I'm not sure if you could use some "default" method in JS. I can't think of a way right now, but I'm pretty sure there must be something like "toString" or something. [01:35] sshaginyan_: I know this has to do with event loop but I'm lost on how to do this :) [01:36] malkomalko: yah, trying to find out myself [01:36] malkomalko: I'm trying to stub require [01:36] rauchg: dnunes [01:36] rauchg: hi [01:36] rauchg: sshaginyan_ [01:36] sshaginyan_: rauchg: yes [01:36] rauchg: by the time you call res.send [01:36] sshaginyan_: :) [01:36] rauchg: the data is not there [01:36] sshaginyan_: I know [01:36] rauchg: you need a callback [01:36] rauchg: i'd look for an `end` event or similar [01:37] sridatta has joined the channel [01:37] rauchg: or maybe `row` gets called with `null` when there're no more rows [01:37] sshaginyan_: rauchg: end event in mysql-native? [01:37] rauchg: yep [01:37] rauchg: sshaginyan_ what's the project url [01:38] sshaginyan_: rauchg: It's data mining project it's a universal documentation [01:39] dnunes: rauchg: Hey there. I'm trying to understand exactly what it takes to make the Flash Socket to work in socket.io. Any tips on how to debug the problem that might be happening (the error message or stack trace, or timeout...) inside the SWF will be welcome as well. [01:39] dnunes: rauchg: I currently know that the Flash Socket is not working and it's giving me the message "[WebSocket] Error: Error calling method on NPObject!" on Firefox. [01:40] dnunes: rauchg: But it gives me no error message on IE, so I don't know if it would maybe work with a longer timeout or if it actually crashed or was limited by my current config. [01:40] dnunes: I mean... The socket.io tried it and it "didn't work", but why? [01:41] sveimac has joined the channel [01:41] rauchg: dnunes sounds like a cross-domain issue [01:41] rauchg: have you tried connecting over same-host [01:41] brettgoulder has joined the channel [01:41] rauchg: also [01:42] rauchg: try disabling flash socket [01:42] rauchg: io.configure(function () { [01:42] dnunes: It is working on other transports. I just wanted to make it work with a "better implementation". [01:42] rauchg: oh i see [01:42] rauchg: please try [01:42] rauchg: same-host [01:42] rauchg: my guess is that it's a cross-domain issue [01:42] dnunes: Currently Firefox is working over xhr-streaming and IE over json-polling. [01:42] rauchg: oh yeahc [01:42] rauchg: cross-domain [01:42] rauchg: can you file a ticket [01:42] dnunes: I'm using cross domain. Is that a blocking problem for Flash Sockets? [01:42] rauchg: i'll look at it shortly [01:43] rauchg: shouldn't be, but i guess that slipped through testing [01:43] dnunes: Ok. I'll post a bug on github with all the info I can gather. [01:43] dnunes: rauchg: Thanks for your time. [01:43] mwhooker has joined the channel [01:44] sshaginyan_: rauchg: 'null', 'end' didn't work can you please take a look at the "docs" https://github.com/ngs/nodejs-mysql-native [01:44] sioked has joined the channel [01:44] rauchg: All commands fire 'end'() event at the end of command executing. [01:44] rauchg: sshaginyan_ ^ [01:45] rauchg: that's from the docs [01:45] rauchg: try [01:45] rauchg: .addListener('end', function () { res.send(data); }) [01:45] rauchg: meep the row listener [01:45] rauchg: keep the row listener [01:45] rauchg: and add that one [01:46] avalanche123 has joined the channel [01:50] dnunes: rauchg: One last thing... Once the socket.io object tried all the options and fired an "disconnect" event, how can I reset the socket object and make the .connect() work as if it was just started? [01:50] Tobsn: http://dl.dropbox.com/u/1656816/Screenshots/uqyn.png [01:50] Tobsn: lol. [01:50] patcito_ has joined the channel [01:50] dnunes: rauchg: It seems like the "transports" array with the transport options are empty and it refures to reconnect. [01:50] dnunes: *refuses [01:50] rauchg: dnunes tried .reconnect() ? [01:50] dnunes: rauchg: 0.6? [01:50] rauchg: 0.7 [01:51] rauchg: oh are you using 0.6 ? [01:51] dnunes: rauchg: I need to keep the .6 in this project, sadly =/ [01:51] rauchg: oh sorry about that [01:51] rauchg: then [01:51] rauchg: the problem is [01:51] rauchg: that you need to change the [01:51] rauchg: WEB_SOCKET_SWF_LOCATION [01:51] dgathright has joined the channel [01:51] rauchg: to WebSocketInsecure.swf [01:51] rauchg: to work over the cross domain [01:51] rauchg: new socket.io does everything for you [01:51] rauchg: :D [01:51] dnunes: rauchg: I tried that to the insecure. But I can only host the insecure.swf in my Apache server, not on the node.js. [01:52] dnunes: rauchg: Maybe it's a no-go as well? [01:53] dnunes: rauchg: I don't control the Node.JS server, so I must use only the default config with no messing around. Pointing the SWFLocation to my Insecure.swf on Apache Server removes the error, but still don't work. [01:53] dnunes: *doesn't [01:53] ditesh|cassini has joined the channel [01:53] dnunes: rauchg: As far as I know, by default the Insecure.swf is in a zip, inacessible by default on Node.JS server, right? [01:54] rauchg: yep you need to uncompress is so that you don't host it accidentally [01:54] sshaginyan_: rauchg: I'm sorry rauchg can you check if this is correct http://pastie.org/2104300 [01:54] dnunes: rauchg: I got the file on my machine and hosted on a Apache server, but it doesn't work still. And unziping it inside the Node.JS server is not an option for me. [01:54] rauchg: where's the .end event [01:54] rauchg: sshaginyan_ [01:54] dnunes: rauchg: Maybe I'll have to keep the current fallback options. [01:54] sshaginyan_: rauchg: res.end(); [01:55] sshaginyan_: its this not it? [01:55] rauchg: yep but you're not sending the data [01:55] rauchg: let me show you [01:55] shiawuen has joined the channel [01:56] rauchg: sshaginyan_ [01:56] rauchg: https://gist.github.com/7a3c42e22bc2691ae4a4 [01:56] meatmanek_ has joined the channel [01:56] rauchg: btw, you have a massive sql injection there [01:56] rauchg: be careful with lulzsec [01:56] sshaginyan_: rauchg: I know [01:56] sshaginyan_: just testing things out [01:56] rauchg: sshaginyan_ the point is that right after db.query.addListener() is executed you're trying to end the response [01:56] rauchg: at that point the data is not there [01:56] rauchg: that's why we listen on the `end` event [01:56] cjm has joined the channel [01:57] rauchg: in theory this should work [01:57] rauchg: but i don't know this library [01:57] dnunes: rauchg: Any ideas of how to reproduce the .reconnect() behavior on a .6 Socket.IO? [01:57] ceej has joined the channel [01:57] k1ttty has joined the channel [01:58] Tobsn: oh btw. rauchg, in IE7 it uses json polling here and keeps reconnecting every 2-3 seconds, is that normal? [01:58] rauchg: Tobsn 0.7? [01:58] sshaginyan_: rauchg: I swear to you a moment ago that didn't work [01:58] Tobsn: hmm [01:58] Tobsn: yes? [01:58] Tobsn: not sure hehe [01:58] rauchg: brb 1 sec [01:58] Tobsn: was it released when we talked the last time? [01:58] jakehow has joined the channel [01:58] rauchg: nop, today [01:58] rauchg: :D [01:58] sshaginyan_: rauchg: thanks so much [01:58] Tobsn: geezus... [01:58] rauchg: sshaginyan_ [01:58] rauchg: you're welcome [01:58] rauchg: to zombo com [01:59] Tobsn: can i switch it without changing code? [02:01] kmwallio has joined the channel [02:01] bentruyman has joined the channel [02:05] sh1mmer has joined the channel [02:07] mjr_ has joined the channel [02:11] erictj has joined the channel [02:12] ngs has joined the channel [02:12] pandeiro has joined the channel [02:13] rfay has joined the channel [02:16] dgathright has joined the channel [02:16] Destos has joined the channel [02:20] boehm has joined the channel [02:22] JakeyChan has joined the channel [02:23] xardion has joined the channel [02:24] xardion: so I'm using tls.createServer, and neither of the streams passed to the callback have remoteAddress. Is there some other way to get to this? [02:24] Tobsn: http://dl.dropbox.com/u/1656816/Screenshots/juuz.png [02:24] Tobsn: anyone an idea? [02:24] Tobsn: (offtopic, sorta) [02:26] sioked has joined the channel [02:28] newy_ has joined the channel [02:29] dnunes: rauchg: Just found out that Flash Socket works if I run the server as root (to listen to 843). [02:29] rauchg: oh [02:29] rauchg: btw join #socket.io [02:29] dnunes: rauchg: How does that "inline serving" thing works? It seems like it's not working for me. [02:29] rauchg: it might not work over cross domain [02:29] rauchg: OH [02:29] rauchg: also [02:29] dnunes: rauchg: Nobody answered me in there =~ [02:29] rauchg: firefox [02:29] rauchg: had an issue [02:29] rauchg: with inline serving [02:29] rauchg: but im there : [02:29] rauchg: :P [02:31] sh1mmer: rauchg: did you get an email yet? [02:33] rpj8: in express, how do I access those files in public/images? I have the static route set up as app.use(express.static(__dirname + '/public')); [02:33] rauchg: sh1mmer nop [02:33] rauchg: i got one to join [02:33] rauchg: some o'reilly thing [02:33] rauchg: and i did [02:33] sh1mmer: hm [02:33] rpj8: I am trying to invoke the picture in jquery like so: $('#player1choice').html(''+msg.data.player1choice+'') [02:34] rauchg: but i got no further emials [02:34] rauchg: emails* [02:34] sh1mmer: I'll check with them [02:34] rauchg: k [02:34] rauchg: thx [02:34] rauchg: rpj8 [02:34] rauchg: that looks good [02:34] rpj8: yeah well [02:34] rpj8: paper [02:34] rauchg: it's gonna look for public/images/… [02:34] rpj8: this shows up [02:34] rpj8: and no picture shows up [02:34] rpj8: so :/ [02:34] rauchg: [02:34] rpj8: oh com eon. [02:34] rpj8: how could i have missed that [02:34] rpj8: thank you [02:34] rpj8: good lord [02:35] bla_ has joined the channel [02:37] yozgrahame has joined the channel [02:39] brolin has joined the channel [02:40] reid has joined the channel [02:41] skoom has joined the channel [02:42] wookiehangover has joined the channel [02:43] LiamMagee has joined the channel [02:44] AndyDawson has joined the channel [02:44] catshirt has joined the channel [02:47] mykul has joined the channel [02:53] jslatts_ has joined the channel [02:54] pzich has joined the channel [02:54] dguttman has joined the channel [02:55] mkrecny has joined the channel [02:55] Draggor: Since io.setPath is gone in the new socket.io, what's the new way of dealing with that? [02:55] Draggor: I'd like to not change server side code if I can help it [02:56] sorensen has joined the channel [02:58] mandric has joined the channel [03:00] rpj8: how do you guys cleanse your user input? [03:00] dipser_ has joined the channel [03:00] copongcopong: wash with ajax, i guess ... [03:01] slickplaid: buh dum ching [03:01] rpj8: lullll [03:01] rpj8: i get it [03:01] rpj8: at first i was like "uhhhh" [03:01] rpj8: then I was "ahhh :D" [03:02] copongcopong: ;) [03:03] rpj8: no but rly :< [03:06] cnu has joined the channel [03:07] rchavik has joined the channel [03:07] rchavik has joined the channel [03:10] ryan0x2 has joined the channel [03:11] Draggor: using express, how do I define a route to catch everything? [03:12] sorensen: * [03:12] skm has joined the channel [03:13] Tobsn: does jade support includes? [03:13] Draggor: sorensen: thank ye [03:14] Draggor: I'm doing the hack it to make it work now, then learn what I did later [03:15] unlink has joined the channel [03:15] unlink has joined the channel [03:16] materialdesigner has joined the channel [03:16] sivy has joined the channel [03:17] hassox has joined the channel [03:17] johnnywengluu: where is the node.js conf 2011 videos? [03:17] piscisaureus has joined the channel [03:17] Aria has joined the channel [03:19] Corren has joined the channel [03:19] xardion has left the channel [03:20] materialdesigner has joined the channel [03:23] Ond has joined the channel [03:24] niftylettuce: johnnywengluu++ [03:24] v8bot: niftylettuce has given a beer to johnnywengluu. johnnywengluu now has 1 beers. [03:25] sshaginyan_ has joined the channel [03:28] smtlaissezfaire has joined the channel [03:32] perezd has joined the channel [03:34] perezd has joined the channel [03:37] broofa has joined the channel [03:37] masom has joined the channel [03:40] mynyml has joined the channel [03:40] bbttxu_ has joined the channel [03:43] CodyGray has joined the channel [03:43] CodyGray has left the channel [03:45] rpj8: woof. [03:45] rpj8: Kinda wish nodester were more verbose. [03:45] rpj8: I'm not sure why my app is refusing to start [03:45] rpj8: but all I get is nodester ERROR false [03:45] rpj8: :P [03:46] masom: Trying to get back into node and WebSockets. Is socket.io the way to go if I was to refactor a existing application based on some websocket class? [03:47] rpj8: most def. [03:47] rpj8: v.7 just came out today [03:47] masom: yeah, saw all the fuzz about it :) [03:48] rpj8: well earned fuzz :p [03:48] masom: cool, thanks. This will bring some more awesome pong-ness [03:48] Charuru has joined the channel [03:50] mike5w3c has joined the channel [03:51] sorensen: ah hell [03:51] sorensen: channels in sockets now? [03:51] blueadept: masom: try nowjs [03:51] newy_ has joined the channel [03:51] rpj8: sorensen: yah bro [03:52] context-: i personally like Faye. but ive never touched socket.io [03:52] masom: blueadept: wait... nowjs is sitting on top of socket.io ? [03:53] blueadept: yeah [03:53] masom: that is awesome [03:53] blueadept: it is [03:53] goatslacker has joined the channel [03:54] blueadept: today i wrote some badass nowjs code [03:54] sorensen: nowjs anarchy [03:54] blueadept: nothing big, but the ease of implementing what i wanted was cake [03:54] sorensen: dnode ftw [03:54] sorensen: :D [03:54] blueadept: no having to POST data, or import json results [03:55] blueadept: just ask the function for data, nowjs takes care of it though sockets [03:55] sourcode has joined the channel [03:56] rpj8: anyone know of a way to get a bit more info from nodester if an app doesn't want to work? [03:57] masom: thanks blueadept, i'll look into that. Althought i already have a protocol defined between the client and server, it might prove usefull [03:57] context-: wow. now looks way easy [03:57] hassox has joined the channel [03:57] context-: although. i dont like how client/server methods share the same namespace [03:58] _jgr has joined the channel [03:59] blueadept: just to play devils advocate, what are the hangups of that? [04:00] EyePulp has joined the channel [04:00] pen has joined the channel [04:02] rpj8: ohhhh [04:02] rpj8: the port address [04:02] rpj8: duhhh [04:02] tim_smart has joined the channel [04:03] rpj8: wait [04:03] rpj8: maybe not [04:03] context-: blueadept: ? [04:04] context-: hangups of shared server/client namespace? [04:05] context-: blueadept: well say im working on a fairly large project, and accidently use the same method name on both ends. does now magically know what to do? the local override the other? stuff might work for that client but not properly distribute. so i dont get an error but it works ! [04:05] blueadept: ah [04:05] context-: i prefer consistency and errors that tell me im a moron, as appose to it silently working and letting me be an idiot. [04:05] srid_ has joined the channel [04:05] srid_ has joined the channel [04:06] sorensen: well said [04:06] davidbanham has joined the channel [04:07] context-: blueadept: also its kind of "ambiguous" (thinking of another word.) what if i start calling other server side now methods from server side. now i have all this code where i don't REALLY know where its going. [04:07] davidban_ has joined the channel [04:08] context-: but maybe it doesn't work that way. i dont know [04:09] indexzero has joined the channel [04:10] alabala123_ has joined the channel [04:11] chapel: masom context- dnode ftw [04:12] chapel: if you want something that is more robust, better tested, and more versatile, try dnode [04:12] chapel: :) [04:12] rpj8: chapel: was the bug that made it not work in chrome fixed? [04:12] context-: please note: i have never used nowjs (or even socket.io) thats just my thoughts after the 2 minute video (so take my thoughts with a grain of salt please :p) [04:12] chapel: rpj8: it has always worked in chrome [04:12] context-: ive only ever used Faye but i loved it [04:12] chapel: context-: check out dnode :) [04:13] context-: im not a huge fan of rpc :/ [04:13] masom: mmm interesting, if you trust the client end [04:13] masom: Well thanks guys, i think socket.io will be the next thing i'll attack. Migration from ws to socket.io should be straightforward [04:14] rpj8: chapel: a few weeks ago it was failing me pretty hard. [04:14] rpj8: perhaps it was firefox [04:14] rpj8: i can't remember [04:14] masom: rpj8: Chrome had WebSocket for a while now [04:14] rpj8: yes it wasn't that [04:14] rpj8: perhaps it was firefox [04:15] context-: masom: i think you should never trust the client :p [04:15] yenz: i honestly don't think there's anything that raises my blood pressure more than daeling with GoDaddy [04:15] yenz: i hate them with the fire of a thousand suns [04:15] masom: yenz: their publicity is awesome [04:15] yenz: [04:16] yenz: masom: shooting elephants in the face? [04:16] abraxas: Is it true that socket.io's retry timings cannot really be overridden? The way it behaves is disastrous for mobile devices. [04:16] yenz: abraxas: how so? [04:16] dguttman has joined the channel [04:17] abraxas: If it fails to connect, it starts falling back to other methods, and the retry time increases again, and again and again. [04:17] abraxas: I don't want retry time to increase. [04:17] abraxas: If I enter a tunnel, and I leave it 2 minutes later, the retry time may already have been increased to over a minute. [04:18] abraxas: "The amount of milliseconds before we try to connect to the server again. We are using a exponential back off algorithm for the following reconnections, on each reconnect attempt this value will get multiplied (500 > 1000 > 2000 > 4000 > 8000)." [04:19] context-: yenz: yeah. my work uses godaddy. i told them i wont touch the account. cant stand the administration. regfly is even worse [04:20] wookiehangover has joined the channel [04:20] context-: 2 minute tunnel you may hit the 128 second timeout. wait a whole nother two minutes [04:20] abraxas: Yeah, that's disastrous. [04:20] abraxas: I live in Tokyo, people take subways here. This is a common pattern. [04:21] abraxas: It would render the entire app useless. [04:21] brolin has joined the channel [04:21] abraxas: In the subway, there's only 3G at the stations. So 90% of the time, there is no connection. [04:21] abraxas: But at those stops, I want to be able to use that connection. [04:22] Lorentz: I'm not aware of direct api for altering reconnection timing [04:22] Aria: Yeah, exponential backoff needs to be capped. [04:22] abraxas: Exactly. [04:22] joshthecoder has joined the channel [04:22] abraxas: I think exponential is simply a bad idea. [04:22] Lorentz: Worst comes to worst, fork and change code in it :S [04:22] Destos has joined the channel [04:23] abraxas: Perhaps the API could simply offer users to provide an array: [500, 1000, 1000, 1000, 5000] (and it will keep retrying with 5000 after that) [04:23] yenz: heh.. exponential backoff is "standard" for retry algorithms. just isn't well-suited to the Tokyo Subway use case :/ [04:23] abraxas: or any other cellphone use case :) [04:24] abraxas: where bad reception is just part of life. [04:24] Aria: It's meant for keeping client floods from taking down a server. [04:24] Aria: It's not meant as a general purpose "always do this", there's a reason it's used. [04:24] abraxas: Sure. [04:24] abraxas: Would be great if developers could have a choice though [04:24] Aria: So in this case, I think it's terribly suited. It just happens to work when good connectivity is the norm. [04:25] abraxas: You have a point. [04:25] yenz: abraxas: Lorentz already suggested the solution ;) [04:25] abraxas: forking... great. [04:25] Lorentz: Remember to write your change well, and request for a pull [04:25] abraxas: My situation is not that unique :) [04:25] Lorentz: so everyone can benefit \o/ [04:26] Aphelion_ has joined the channel [04:27] jmoyers has joined the channel [04:28] abraxas: I'll have a look. [04:28] saikat has joined the channel [04:28] vipaca has joined the channel [04:28] vipaca has joined the channel [04:28] saikat has joined the channel [04:28] Me1000 has joined the channel [04:29] smtlaissezfaire has joined the channel [04:29] newy_ has joined the channel [04:31] meatmanek_ has joined the channel [04:32] bartt has joined the channel [04:33] dgathright has joined the channel [04:34] newy_ has joined the channel [04:34] yozgrahame has joined the channel [04:34] blueadept has joined the channel [04:35] killfill has joined the channel [04:35] hassox has joined the channel [04:37] jmoyers: there a way to make npm ignore version requirements of node? [04:37] fg3 has joined the channel [04:38] smtlaissezfaire: What's the new hotness in terms of managing async-flow code? Is step still being used? [04:38] fg3: wondering why I have both (~/node_modules, 500 files) and (~/.npm 900 files ) [04:39] Nuck: Maaaaaan, I could whoop deviantART's ass at art siting. [04:41] ExsysTech has joined the channel [04:41] unlink has joined the channel [04:43] zeade has joined the channel [04:46] AAA_awright: Nuck: Any progress on that? [04:48] jslatts_: smtlaissezfaire: nested curly braces are back in style [04:48] rchavik has joined the channel [04:50] hdon has joined the channel [04:50] ryanfitz has joined the channel [04:51] chapel: jslatts_: hola [04:51] jslatts_: whats up chapel [04:52] chapel: not much, just coding a bit, rocking out [04:52] jslatts_: nice [04:52] chapel: looking forward to the buildguild [04:52] jslatts_: always good to rock out. yeah, me too [04:52] jslatts_: i'm checking out thoonk.js right now [04:52] chapel: whats that? [04:53] chrisdickinson: whew, just got done with a library to wrap stack traces and provide metadata about them (and it has a prettyprint for them, too): http://neversaw.us/media/traces.png [04:53] chrisdickinson: (it's at github.com/chrisdickinson/tracejs, i'd love feedback / to know if it's useful to anyone but myself) [04:53] chapel: `v git burrito substack @ chrisdickinson [04:53] v8bot: chrisdickinson: substack/node-burrito - GitHub - https://github.com/substack/node-burrito/tree/ [04:54] chrisdickinson: chapel: i know about burrito; this is just for error stack traces [04:54] jslatts_: chapel: http://blog.thoonk.com/ [04:54] chapel: https://github.com/substack/node-stackedy [04:54] chapel: chrisdickinson: just sharing :) [04:55] chrisdickinson: chapel: cool :) yeah, i took a look at stackedy before writing this, it didn't seem to have the same aims [04:56] chrisdickinson: i was basically just looking for prettier stack traces + an easy way to get at file context for a frame [04:56] chapel: yeah [04:56] chapel: guess really you could have used stackedy possibly to do what you wanted [04:57] MonsieurLu has joined the channel [04:57] fangel has joined the channel [04:58] d_c has joined the channel [04:58] shapeshe1 has joined the channel [04:58] jgautier has joined the channel [04:59] chapel: jslatts_: did you read about the mtgox issues with the hacked trade? [05:02] CodyGray has joined the channel [05:02] CodyGray has left the channel [05:06] Nuck: Does the console have colors yet? [05:06] Nuck: Like, built in utilities? [05:06] chapel: node.js? [05:06] Nuck: Aye [05:06] chapel: not built in [05:06] Nuck: I have my own console colors lib [05:06] chapel: `v git color.js [05:06] v8bot: chapel: #86: Color.js - Questions about color formats - Issues - mrdoob ... - https://github.com/mrdoob/three.js/issues/86 [05:06] Nuck: I was just wondering [05:06] chapel: hmm wrong one [05:06] mape: eyes.js [05:06] chapel: `v git colors.js [05:06] v8bot: chapel: #4: Add multi-mode styling - Issues - Marak/colors.js - GitHub - https://github.com/Marak/colors.js/issues/4 [05:07] Nuck: mape: I dig your npm page. It should be official, IMO. [05:08] mape: Nuck: :) The more the merrier [05:08] Nuck: BEats the normal one :P [05:08] Nuck: Dear god it's too hot here [05:08] meatmanek_ has left the channel [05:08] Nuck: We've got 4 fans in this half of the house, plus our central A/C, plus a room A/C [05:08] Nuck: And all 4 fans are on max [05:08] Nuck: And it's still 85 [05:08] Nuck: (F) [05:09] Nuck: Not gonna do the math to convert to Celsius. [05:10] systemfault: Blame america. [05:11] fg3 has joined the channel [05:11] jspiros has joined the channel [05:11] d_c has left the channel [05:11] chapel: Weather for Spokane, WA · 61°F (16°C) · Humidity: 67% · Clear · Wind: NNE at 4 mph · Last Updated on June 21, 9:53 PM PDT [05:12] d_c has joined the channel [05:12] Nuck: 33°C here :S [05:12] fg3 has joined the channel [05:12] shiawuen has joined the channel [05:15] jameson has joined the channel [05:19] caiges has joined the channel [05:19] Spion_ has joined the channel [05:22] sreeix has joined the channel [05:23] bazookatooth has joined the channel [05:25] McMAGIC--Copy has joined the channel [05:25] bazookatooth has joined the channel [05:26] brianseeders has joined the channel [05:32] isaqual has joined the channel [05:34] smtlaissezfaire has joined the channel [05:35] Nuck: ACTION sighs [05:35] Nuck: It's almost colder outside than it is inside now :/ [05:35] chapel: I hate that [05:36] chapel: at that point, you should shut down everything and get the outside air in [05:36] chapel: we have a little window fan for my room, kicks the ac's ass [05:37] davidbanham has joined the channel [05:38] ewdafa has joined the channel [05:39] Nuck: chapel: We'll open the dront door and leave our A/C running :P [05:40] Nuck: double the mint, double the fun. [05:40] Nuck: It's a statement of the grat mint of doublemint gum. [05:40] Mrfloyd has joined the channel [05:42] wilken has joined the channel [05:43] amerine has joined the channel [05:44] gozala has joined the channel [05:46] liar has joined the channel [05:46] stephank has joined the channel [05:48] Guest41240 has joined the channel [05:48] hdon has joined the channel [05:50] kawaz has joined the channel [05:51] kbni has joined the channel [05:52] drefined has joined the channel [05:53] kruckenb has joined the channel [05:55] wbw72 has joined the channel [05:55] mhausenblas has joined the channel [05:55] ditesh has joined the channel [05:56] dve has joined the channel [05:56] bartt has joined the channel [05:57] devrim has joined the channel [05:57] steffkes has joined the channel [05:58] muhqu has joined the channel [05:58] Tobsn: is anyone using jquery bbq? [05:58] Tobsn: i dont really get the point of push states [06:02] davidbanham has joined the channel [06:02] hassox has joined the channel [06:03] SamuraiJack has joined the channel [06:07] brimster has joined the channel [06:07] hdon has joined the channel [06:13] jakeg has joined the channel [06:13] hassox has joined the channel [06:14] mike5w3c has joined the channel [06:14] d_c: Tobsn: i've used jquery address for a while, what don't you get? [06:14] Tobsn: well what does push state do? [06:14] Tobsn: does it attach more and more fragments? [06:16] sreeix has joined the channel [06:16] copongcopong has joined the channel [06:16] Tobsn: hmm you think jquery address is better? [06:17] hellp has joined the channel [06:20] d_c: Tobsn: i've used it more [06:20] catshirt has joined the channel [06:20] Tobsn: well all i need is navigation on a single level with a query string... kinda like #images?q=123 [06:20] Tobsn: erm #/images?q=123 [06:21] CodyGray has joined the channel [06:21] CodyGray has left the channel [06:21] d_c: Tobsn: http://www.asual.com/jquery/address/samples/api/ [06:22] d_c: I believe that does the trick [06:22] Tobsn: hmm [06:22] Tobsn: k, ill just try it [06:23] hackband has joined the channel [06:23] Tobsn: thanks for pointing me at jquery address, didnt knew that existed [06:23] cummingscm has joined the channel [06:23] Tobsn: btw. does jquery address has something like bbq's linkification plugin? [06:23] cummingscm: . [06:23] Tobsn: where it would attach fragments to internal urls [06:23] tk has joined the channel [06:24] d_c: Tobsn: $.address.baseURL() [06:24] skm has joined the channel [06:25] d_c: Tobsn; $.address.parameter(name) will give you access to the params (http://www.asual.com/jquery/address/docs/) [06:25] Tobsn: k, gonna try it right now [06:26] JoshC1 has joined the channel [06:28] svenlito has joined the channel [06:29] bisch2 has joined the channel [06:30] sreeix has joined the channel [06:30] smtlaissezfaire has joined the channel [06:32] darshanshankar has joined the channel [06:33] techwraith has joined the channel [06:34] EyePulp has joined the channel [06:35] jacobolus has joined the channel [06:36] ph^ has joined the channel [06:36] Spion has joined the channel [06:41] `3rdEden has joined the channel [06:41] Nuck: Oh fuck [06:41] McMAGIC--Copy has joined the channel [06:41] Nuck: LULZSEC GOT HACKED. [06:41] Nuck: ACTION cries of laughter [06:42] simenbrekken has joined the channel [06:42] yozgrahame has joined the channel [06:46] Tobsn: what got hacked? [06:46] yenz: isn't that called "getting arrested" RL? ;) [06:46] Nuck: lawl no [06:46] Nuck: Another group took them out [06:47] Nuck: http://ifoundtheinter.net/?p=77 [06:48] jbpros has joined the channel [06:49] jakeg has joined the channel [06:51] dgathright has joined the channel [06:52] groom has joined the channel [06:52] justinTNT has joined the channel [06:53] kawaz_air has joined the channel [06:55] CStumph has joined the channel [06:55] zeade has joined the channel [06:56] emattias has joined the channel [06:57] zemanel has joined the channel [07:00] mhauri has joined the channel [07:00] bob_ has joined the channel [07:01] hassox has joined the channel [07:02] bob_: May I ask a stupid question? [07:02] polotek has joined the channel [07:03] JianMeng has joined the channel [07:03] Tobsn: you already did [07:03] fangel has joined the channel [07:06] cryptix has joined the channel [07:06] tonymilne: LOL! [07:06] tonymilne: double or nothing bob_ [07:10] jakeg has joined the channel [07:13] blueadept has joined the channel [07:14] fmeyer has joined the channel [07:14] topaxi has joined the channel [07:14] ts__ has joined the channel [07:16] mhauri has joined the channel [07:16] keyvan: hey what do you guys use for your permanent datastore? [07:17] keyvan: or what's popular [07:17] keyvan: not even permanent, but just data storage solutions--what do you guys recommend? [07:17] CodyGray has joined the channel [07:17] CodyGray has left the channel [07:17] simenbrekken has joined the channel [07:19] rio{ has joined the channel [07:19] polotek: Anybody know how standard Array.prototype.splice is? [07:19] ajpiaNOU has joined the channel [07:20] ShreeKavi has joined the channel [07:21] Tobsn: keyvan, mongodb [07:21] Tobsn: i dropped mysql a year ago [07:22] hackband has joined the channel [07:22] djcoin has joined the channel [07:23] mekwall: Tobsn: mongodb doesn't play well with openvz virtual machines :( [07:23] Tobsn: why not? [07:24] mekwall: runs out of memory [07:24] mekwall: and crashes [07:24] Nuck: Oh noes [07:24] christkv has joined the channel [07:24] Tobsn: but thats a openvz issue then [07:24] mekwall: https://jira.mongodb.org/browse/SERVER-1121 [07:24] mekwall: is it? :P [07:24] Tobsn: does it simulate more memory than it has? [07:24] __tosh has joined the channel [07:24] mekwall: no [07:24] keyvan: well thanks Tobsn [07:25] Tobsn: keyvan, with node.js mongodb is super easy to handle - also #mongodb is a lot of help for mongodb related questions, you have all the main developers of 10gen in there [07:25] Tobsn: very very helpful [07:25] Nuck: Fuck yeah another chat to stay in lol [07:26] keyvan: Tobsn: awesome, thx [07:26] yenz: hey fellas... been awhile since i've used node-inspector; anyone successfully using it w/ node 0.4.8? [07:26] svenlito has joined the channel [07:27] Tobsn: mekwall, i still stick with openvz does something mongodb doesnt recognize [07:27] Tobsn: ;) [07:27] Tobsn: so its probably a 50:50 issue [07:27] mekwall: probably [07:27] Tobsn: know what i mean? [07:27] mekwall: yes [07:27] Tobsn: openvz probably assigns the vmemory in a weird way [07:27] Tobsn: and mongodb expects it in a the "real" way [07:28] Tobsn: and bam [07:28] mekwall: but couchdb works and nearly all other software ;) [07:28] Tobsn: but who wants to use couchdb hehe [07:28] mraleph has joined the channel [07:28] ablomen has joined the channel [07:29] Tobsn: but i also dont know shit about openvz [07:29] Tobsn: i know what it does and what it is [07:29] Tobsn: but thats about it ;) [07:31] polotek: mongodb uses memory mapped files. and it also uses a ton of RAM by design [07:31] coreb has joined the channel [07:31] Tobsn: well [07:31] [AD]Turbo has joined the channel [07:31] Tobsn: it uses all of your ram [07:31] Tobsn: but its kernel controlled [07:32] [AD]Turbo: hi there [07:32] Tobsn: you know, unused ram is unused ram [07:32] Lorentz: Might as well use it [07:32] romanb has joined the channel [07:32] polotek: exactly, so if a virtual environment doesn't implement memory mapped files in a robust way, there will be problems [07:32] polotek: that's my understanding anyway [07:32] iFire has joined the channel [07:33] alabala123_ has joined the channel [07:33] gibybo has joined the channel [07:34] mengxy has joined the channel [07:34] stephanepayrard_ has joined the channel [07:34] ph^ has joined the channel [07:35] mif86 has joined the channel [07:35] Nuck: Lorentz: Very valid point :P [07:35] Lorentz: I admit though, OSs don't often do memory mapping properly imo [07:36] thalll has joined the channel [07:36] Nuck: Lorentz: I use Linux for my servers i dunno what YOU'RE talking about :P [07:36] Lorentz: Probably never will do it properly. There's never really any situation where you really have unlimited memory. [07:36] halfhalo has joined the channel [07:36] Lorentz: So why write code that does assume unlimited memory. [07:37] polotek: Lorentz: it doesn't assume unlimited memory [07:37] Nuck: Lorentz: Because it scales well? [07:37] polotek: maybe the user code does, but that's different [07:37] polotek: the mmap you just use it like a file [07:37] Nuck: Better than tj's Memory SessionStore in Express [07:37] polotek: and if there's no memory it should surface as a "could not write file" type of error [07:38] polotek: I'm sure I'm dumbing it down [07:38] polotek: possible even getting it completely wrong [07:38] polotek: but it certainly has a mechanism to tell you when you're out of RAM [07:38] hdon has joined the channel [07:39] jakeg has joined the channel [07:39] dominictarr has joined the channel [07:40] hwinkel has joined the channel [07:40] saschagehlich has joined the channel [07:40] stalled has joined the channel [07:40] erictj has left the channel [07:40] swistak has joined the channel [07:40] Skola has joined the channel [07:41] Nuck: Hallo everyone who just joined all at once. [07:41] Nuck: And good morning :P [07:41] tuhoojabotti: Oh no, not him again. [07:41] uchuff has joined the channel [07:41] Nuck: tuhoojabotti: Shut up fergeant. [07:42] tuhoojabotti: I was just joking ♡ [07:42] Nuck: tuhoojabotti: :P [07:42] Nuck: tuhoojabotti: y u use such hipster symbols? [07:42] tuhoojabotti: Nuck: Because I AM a hipster. [07:43] Nuck: tuhoojabotti: But WTF hipster admits being a hipster? [07:43] Nuck: Is it because it's ironic? [07:44] tuhoojabotti: I'm not feeding the troll. [07:44] sgimeno has joined the channel [07:44] aliem has joined the channel [07:45] Mrfloyd has joined the channel [07:46] davidbanham has joined the channel [07:46] petrjanda has joined the channel [07:47] _jgr has joined the channel [07:49] mekwall: tuhoojabotti: good morning neighbour! [07:49] tuhoojabotti: Morning [07:50] dall has joined the channel [07:50] dall: hi [07:50] Lorentz: Damn, he left [07:51] tuhoojabotti: dall: Hello [07:51] Lorentz: Nuck: in my experience, if you have a swap-less linux machine and you hit memory limit, it starts either killing things or thrashing. [07:51] Lorentz: depends on the kernel params, obviously [07:55] Wizek has joined the channel [07:57] romainhuet has joined the channel [07:59] adambeynon has joined the channel [07:59] sfoster has joined the channel [08:01] fly-away has joined the channel [08:04] justinTNT has joined the channel [08:05] Shrink has joined the channel [08:05] dall: hello tuhoojabotti [08:07] svenlito has joined the channel [08:08] adrianmg has joined the channel [08:08] Nuck: Lorentz: Ah, but swaps are quite important ;) [08:09] _aron has joined the channel [08:10] Lorentz: Nuck: Many vps-s don't do swap [08:10] Lorentz: Because it just delays what should be "get more RAM" [08:10] roblarter has joined the channel [08:10] Nuck: Lorentz: lol [08:11] Nuck: Lorentz: Good thing I plan to host my upcoming project with a damn good host ;) [08:11] aklt has joined the channel [08:11] Lorentz: Even on a decent host, you're better off trying not to hit swap. [08:12] DelvarWorld has joined the channel [08:13] DelvarWorld has left the channel [08:14] simenbrekken has joined the channel [08:15] dans: jim [08:15] jakeg: what's the best mongodb module for node? [08:15] Tobsn: i just use the normal drivers [08:16] framlin: its always stupid to asume there is anytime net-connection and endless memory .... [08:16] jakeg: Tobsn: which ones are they? [08:16] adambeynon has joined the channel [08:16] davidbanham has joined the channel [08:17] shinuza has joined the channel [08:17] unlink has joined the channel [08:17] unlink has joined the channel [08:17] Tobsn: actually [08:17] Tobsn: i use mongoq [08:18] Tobsn: mongo = require('/www/utils/node_modules/mongoq'), [08:18] Tobsn: db = mongo('mongodb:\/\/localhost/logs'), [08:18] Tobsn: access = db.collection( 'access' ); [08:18] Tobsn: where access is the collection and than you just command it [08:18] Tobsn: access.find() etc. [08:19] Tobsn: https://github.com/zzdhidden/mongoq [08:19] jakeg: ta. is this better than mongoose? [08:19] Tobsn: depends on what you need [08:19] Tobsn: mongoose is a different type of lib for mongodb [08:19] Tobsn: mongoq is very simple [08:20] Tobsn: where mongoose is active record i think [08:20] markwubben has joined the channel [08:20] Tobsn: http://blog.learnboost.com/blog/mongoose/ [08:20] jakeg: k, will do some more research, thanks :) [08:20] Tobsn: see examples, they compare [08:21] Tobsn: see with mongoose you can create models [08:21] Tobsn: the stuff i do is very crude so mongoq is good enough for me [08:22] Tobsn: my frontend is php and for that i actually use activemongo which is an activerecord class [08:23] Lorentz: I use mongoose [08:23] Lorentz: It's good stuff [08:23] roblarter: off topic, but how you finding mongodb? [08:23] hassox has joined the channel [08:24] Charuru: `3rdEden: how do we authenticate users in .7.2 [08:24] jakeg: Tobsn: "We see in these previous examples the use of ‘noSchema’. While Mongoose does provide a Modeling system it doesn’t force you into it." [08:24] Charuru: no longer have access to request.headers? [08:24] Tobsn: jakeg, yeah i know [08:25] ditesh has joined the channel [08:27] `3rdEden: https://github.com/LearnBoost/Socket.IO-node/wiki/Configuring-Socket.IO [08:27] `3rdEden: Charuru ^ [08:28] `3rdEden: see the zThe authorization function [08:28] Charuru: ok thanks [08:28] herbySk has joined the channel [08:28] blup has joined the channel [08:28] Tobsn: `3rdEden, if i update, any code changes needed? [08:29] `3rdEden: 0.6 > 0.7 is not compatible [08:29] `3rdEden: so yes [08:29] Tobsn: hu? [08:29] `3rdEden: you are fucked if you upgrade [08:29] `3rdEden: and not change your code [08:29] `3rdEden: as the whole API has changed [08:30] Charuru: `3rdEden: please provide an example [08:30] Tobsn: and you prepared conversion instructions [08:30] Charuru: of the auth code [08:30] Tobsn: right? ;) [08:30] Charuru: Tobsn: just don't upgrade [08:30] Charuru: there will certainly be more better doc in the future [08:30] Tobsn: oh i like you [08:31] Charuru: thanks, me too [08:31] andree has joined the channel [08:31] `3rdEden: Charuru https://github.com/LearnBoost/Socket.IO-node/blob/master/test/manager.test.js#L394-415 [08:31] Tobsn: now do me [08:31] Tobsn: ;) [08:31] `3rdEden: ewww [08:31] Charuru: ok checking it out, thanks [08:32] svenlito has joined the channel [08:32] KingJamool has joined the channel [08:32] `3rdEden: Tobsn no upgrade path docs yet [08:32] Tobsn: no docs at all? [08:32] `3rdEden: didn't had time for it yesterday, but I was able to finish the configuting socket.io shizzle :$ [08:32] tmylen has joined the channel [08:33] `3rdEden: Did you checkout http://socket.io [08:33] davidbanham has joined the channel [08:33] `3rdEden: allot of stuff is documentated there [08:33] Charuru: to upgrade [08:33] Charuru: basically the only thing i changed was add '.sockets' after io [08:34] Tobsn: socket.io is updated? [08:34] Charuru: that was a dumb statment [08:34] Charuru: i mean [08:34] Tobsn: looks almost the same to me [08:34] Charuru: io.sockets.on('connection', instead of io.on('connection', [08:34] `3rdEden: notice the 7 in the logo ;)? [08:34] Tobsn: ah [08:34] Charuru: and it basically works, the only thing that doesn't is auth [08:34] Dantas has joined the channel [08:35] Charuru: oh also had to change the client side [08:35] Tobsn: so instead of send you use emoit and instead of on message you use on handle? [08:35] Charuru: you don't have to [08:35] Charuru: you can still use send [08:35] Charuru: or so it says [08:36] TomY has joined the channel [08:37] Dantas: hi everyone, i guess that im the new node.js lover :) . I have some questions ( boring ) ... First of all: To accomplish asynchronous I/O Node use a background thread or not ? Is there any doc talking about that ? Im raelly curious :D [08:37] Tobsn: you know this is irc [08:37] Tobsn: not a forum or a maillist ;) [08:37] jeremyselier has joined the channel [08:38] Dantas: sorry Tobsn ! [08:38] Tobsn: yeah you better be [08:38] Tobsn: ? [08:38] Tobsn: `3rdEden, why is my name in the docs? [08:38] thalll has joined the channel [08:38] hellp has joined the channel [08:38] Tobsn: oh its the dumb ferret [08:38] Tobsn: ... [08:38] tmylen: Hi, Help, I went through all the fixes in the install guide and I still get the following:C:\cygwin\bin>dash /bin/rebaseall /usr/lib/cygicudata.dll: skipped because nonexistent /usr/lib/cygicui18n.dll: skipped because nonexistent /usr/lib/cygicuio.dll: skipped because nonexistent /usr/lib/cygicule.dll: skipped because nonexistent /usr/lib/cygiculx.dll: skipped because nonexistent /usr/lib/cygicutu.dll: skipped because nonexistent /usr [08:39] seyz has joined the channel [08:39] tk has joined the channel [08:39] Dantas: Tobsn: where is the oficial forum ? [08:39] Dantas: google groups ? [08:39] Tobsn: omg [08:39] Tobsn: Dantas, i just meant that you dont need to introduce yourself [08:40] Tobsn: Dantas [08:40] Tobsn: http://debuggable.com/posts/understanding-node-js:4bd98440-45e4-4a9a-8ef7-0f7ecbdd56cb [08:40] Tobsn: first result on google for "how does node.js work" [08:40] Dantas: thanks [08:41] unlink has joined the channel [08:41] Tobsn: Dantas [08:41] Tobsn: http://www.nodebeginner.org/ [08:42] Yoric has joined the channel [08:42] Dantas: Tobsn: yeah, i read this page before. Im looking for how assync I/O ( Data base read, network, ... ) is accomplished ! I whether use thread to do that or not ! [08:42] Dantas: not too superficial ! [08:43] eldios has joined the channel [08:43] tekky has joined the channel [08:43] davidbanham: Dantas: Ryan talks a bit about the async model in this - http://www.youtube.com/watch?v=F6k8lTrAE2g [08:45] Dantas: thanks davidbanham ! appreciate dude [08:45] Tobsn: http://blog.mixu.net/2011/02/01/understanding-the-node-js-event-loop/ [08:45] Tobsn: here is the event loop explained [08:45] Dantas: oww, right now, thanks Tobsn !! now i have sure that come back to the chat ! [08:46] Dantas: :D [08:46] Tobsn: whats your native language? [08:47] Nuck: Tobsn: JavaScript. [08:47] bogomips2__: goodmorning, inside browser to call dynamic name function passed as aroument i used window['myFunction'](); inside nodejs what is the best method to do this without eval ? [08:48] Nuck: bogomips2__: Should still work, but never use window. [08:48] Nuck: Not even in the browser [08:48] Tobsn: bogomips2__, the same way [08:48] Dantas: Tobsn: portuguese [08:48] Tobsn: its the same language [08:48] Tobsn: Dantas, ah okay [08:48] bogomips2__: yws but windows object does not exist i think [08:49] Dantas: Tobsn: Brazilian [08:49] Nuck: Tobsn: Not entirely true, window doesn't exist IIRC [08:49] Tobsn: bogomips2__, just take a different one [08:49] bogomips2__: ok thanks [08:49] Tobsn: nuck? that just made no sense [08:49] Tobsn: hehe [08:49] Nuck: bogomips2__: var window = {}; [08:49] Nuck: lol [08:49] Tobsn: lol [08:49] Tobsn: and BAM [08:49] Tobsn: fixed [08:49] Nuck: Tobsn: :P [08:50] Tobsn: window||window={} [08:50] alessioalex has joined the channel [08:51] coreb1 has joined the channel [08:51] Tobsn: man i wish google would make closure to keep used variables the same name and not shorten them [08:51] Tobsn: if i compile jquery stuff it completely wrecks everything [08:52] jetienne: Tobsn: no option for that ? [08:52] Tobsn: i bet there is [08:53] Nuck: Tobsn: Wow, Ryan is kinda a clumsy speaker :P [08:53] Tobsn: yep [08:53] Tobsn: hes funny to watch [08:53] framlin: bogomips2__: if you want to use "window" you may take jsdom [08:53] capsl has joined the channel [08:54] Nuck: Tobsn: I'm lucky, I've been presenting in front of classes for 4 years now so I'm used to public speaking [08:54] Nuck: But I guess most programmers are not quite so blessed. [08:55] bogomips2__: framlin, thanks i do a console.log of jsdom to examinate struct [08:57] Tobsn: back [08:57] Tobsn: spider, ceiling. [08:57] FireFly|n900 has joined the channel [08:57] kulor-uk has joined the channel [08:57] Nuck: Wow, ry's got an odd accent [08:58] Nuck: Can't tell what accent it is :/ [08:58] `3rdEden: geek accent :) [08:58] jomoho has joined the channel [08:58] Nuck: `3rdEden: lol true :P [08:58] Nuck: I think I hear a bit of jew in there ;) [08:58] mikeal has joined the channel [08:59] F1LT3R has joined the channel [09:02] Nuck: "mechagnism" [09:02] Nuck: Damnit [09:03] mendel_ has joined the channel [09:04] mendel_ has joined the channel [09:05] Tobsn: okay [09:05] Tobsn: closure can handle external libs [09:05] Tobsn: you just have to include them [09:05] Tobsn: but it will download them and include it into the output hehe [09:05] Tobsn: *facepalm [09:05] saschagehlich has joined the channel [09:05] niftylettuce has joined the channel [09:06] Tobsn: it also removes functions that arent used... or at least it doesnt know they are used because i use them within jquery templates [09:07] Tobsn: `3rdEden [09:07] Tobsn: http://dl.dropbox.com/u/1656816/Screenshots/k-l0.png [09:07] Charuru: use uglify [09:07] vpereira has joined the channel [09:07] Charuru: y r u using closure [09:07] Skola has joined the channel [09:08] Tobsn: why would i use uglify? [09:08] Skola: How much attention do you guy pay to keeping your lines under 80 chars? [09:08] Charuru: why not? doesn't it compress better [09:08] framlin: not very much [09:08] framlin: Skola: ... [09:08] svenlito has joined the channel [09:08] Emmanuel__ has joined the channel [09:09] Yoric has joined the channel [09:09] Tobsn: skola, not much [09:09] Tobsn: these days that doesnt really matter [09:09] `3rdEden: Tobsn wut? [09:09] framlin: Skola: depends on the content of the line and how ugly a linebreak would be [09:09] Skola: ok, makes sense [09:09] Tobsn: `3rdEden, closure is nagging on the old socket.io js [09:09] Tobsn: client [09:10] `3rdEden: o [09:10] `3rdEden: 1 whole error :O [09:11] Tobsn: ;) [09:11] Tobsn: FIX IT! [09:11] `3rdEden: its not an issue [09:12] `3rdEden: our JS is to 1337 for the compiler [09:12] unomi has joined the channel [09:12] `3rdEden: but srsly, we just ran out ot space so we split the code on a semicolon [09:12] `3rdEden: but you can just swtich the the minified version and it will be fine [09:13] Tobsn: i was just joking ;) [09:14] Tobsn: i tried out closure with exernal files and thats the error the minified socket.io client js threw [09:15] `3rdEden: orly? [09:15] `3rdEden: was it minified or not? [09:15] Tobsn: minified [09:15] __tosh has joined the channel [09:15] Tobsn: man someone has to write a coda plugin that uses the google closure api, fetches all src references, takes your code inside the html, compiles it all together and spits out the compiled source [09:16] Tobsn: man that would be so nice [09:16] jvduf has joined the channel [09:16] anatoo has joined the channel [09:17] daglees has joined the channel [09:17] daglees has joined the channel [09:17] Nuck: WTF "jay-sawn"? [09:17] Nuck: REALLY NOW? [09:17] Nuck: "J-S-O-N" [09:17] Tobsn: jason [09:18] Nexxy: Nuck, why don't you just cut to the chase and start telling us which text editor to use [09:18] Tobsn: json voorhees [09:18] eyesUnclouded has joined the channel [09:18] Nuck: Nexxy: FUCK VI. [09:18] Tobsn: komodo or coda [09:19] Nuck: I'd use Koda or TextMate on a mac, those two look awesome. [09:19] tagae has joined the channel [09:19] Nuck: As for my windows, I'm happy with N++ [09:19] Charuru: Nuck = NuckingFuts? [09:19] Nexxy: I use notepad in wine [09:19] Nuck: Charuru: ayup [09:19] mendel_: I use notepad in vmware [09:20] Nuck: I use wordpad in vmware in vmware in vmware on Ubuntu [09:20] mendel_: haha [09:20] romainhuet_ has joined the channel [09:20] Nuck: "pawsix" [09:21] Nuck: Interesting pronunciations. [09:21] kawaz_air has joined the channel [09:21] Nuck: oh lord 0.1.102 [09:21] Nuck: This is OOOOOOOOOLD. [09:21] cummingscm has left the channel [09:22] saurabhverma has joined the channel [09:23] _jgr has joined the channel [09:23] Nexxy: ck* [09:24] Nexxy: wooooops [09:24] ts__ has joined the channel [09:24] Tobsn: i actually use nano most of the time [09:25] r00t_ has joined the channel [09:25] asabil has joined the channel [09:26] Tobsn: http://dl.dropbox.com/u/1656816/Screenshots/zuh6.png [09:26] Charuru: `3rdEden: after auth how do i get access to the client object [09:26] Tobsn: looks like that ;) [09:26] Charuru: so that i can store the auth result / username info onto the socket.io clicent object? [09:26] `3rdEden: Charuru #socket.io [09:27] `3rdEden: oh [09:27] t4nk822 has joined the channel [09:27] t4nk822: test [09:27] t4nk822 has left the channel [09:28] saurabhverma has joined the channel [09:28] madzak has joined the channel [09:30] aliem has joined the channel [09:30] cognominal_ has joined the channel [09:31] Xano has joined the channel [09:32] alessioalex has joined the channel [09:34] Twelve-60 has joined the channel [09:36] alessioalex: How can I bootstrap Dojo 1.7 with Node? [09:36] alessioalex: anybody have a clue? [09:40] adrianmg has joined the channel [09:40] skm has joined the channel [09:40] shinuza has joined the channel [09:41] svenlito has joined the channel [09:44] philhawksworth has left the channel [09:45] aliem has joined the channel [09:45] hojberg has joined the channel [09:47] Nuck: oh god ry is piping a cat in this video [09:47] Nuck: OH THE HUMANITY D: [09:48] Nuck: And now he's pumping it D: [09:49] Nexxy: tmi [09:51] rendez has joined the channel [09:52] adam- has joined the channel [09:55] test_ has joined the channel [09:56] jble has joined the channel [09:57] saschagehlich_ has joined the channel [09:57] hkjels_ has joined the channel [09:59] stalled has joined the channel [10:06] Skola has joined the channel [10:07] wilmoore has joined the channel [10:08] CStumph has joined the channel [10:10] aliem has joined the channel [10:10] boehm has joined the channel [10:11] cha0s has joined the channel [10:14] markwubben has joined the channel [10:14] Twelve-60 has joined the channel [10:16] ditesh|cassini has joined the channel [10:25] mAritz has joined the channel [10:25] TomY has joined the channel [10:26] xeodox has joined the channel [10:27] junkee[] has joined the channel [10:28] dspree_ has joined the channel [10:28] path[l] has joined the channel [10:30] xsyn has joined the channel [10:31] roblarter has joined the channel [10:34] tuhoojabotti: Any finns here? [10:34] MonsieurLu has left the channel [10:34] tuhoojabotti: tolaine D: [10:35] dominictarr has joined the channel [10:37] FireyFly|n900 has joined the channel [10:40] sjbreen has joined the channel [10:40] tolaine: tuhoojabotti: jep :) [10:40] fg3 has joined the channel [10:40] Skola: anyone read the criticisms @ http://news.ycombinator.com/item?id=2680223 ? [10:40] tuhoojabotti: tolaine: Tuu ircnetin kannulle kans. :P [10:41] adambeynon_ has joined the channel [10:42] materialdesigner has joined the channel [10:42] neoesque has joined the channel [10:43] rpj8: with the latest socket.io in npm, I'm getting "socket.send is not a function." anyone else running into this issue? code worked fine before on socket.6 [10:44] `3rdEden: rpj8 0.7 's api is not compatible with 0.6 [10:45] fermion has joined the channel [10:47] `3rdEden: So you probably need to some changes to your code [10:54] rpj8: `3rdEden: ah rats. [10:56] JoshC1 has joined the channel [10:59] jaket_ has joined the channel [10:59] materialdesigner has joined the channel [11:00] tim_smart has joined the channel [11:01] buzzomatic has left the channel [11:01] Nexxy: oh my god [11:02] Nexxy: anyone have any recommendations for flow control? [11:02] Bwen has joined the channel [11:02] Nexxy: async.js? [11:03] tiagoa has joined the channel [11:06] butu5 has joined the channel [11:06] SubStack: Nexxy: the best flow control lib is one you write yourself [11:06] SubStack: I'm with isaacs on this one [11:06] Nexxy: lol [11:07] Nexxy: the best x is the x you y yourself [11:07] `3rdEden: + on that [11:07] `3rdEden: +1 * [11:07] Nexxy: so then [11:07] Nexxy: 2nd best? [11:07] SubStack: http://github.com/substack/node-seq <-- mine [11:07] Nexxy: HMMPH [11:07] SubStack: so naturally it's the best [11:07] Nexxy: is it clientsideable? [11:07] SubStack: yep [11:07] Nexxy: KAY [11:07] Nexxy: THANKS FELLER [11:07] Nexxy: npm install node-seq? [11:07] SubStack: well, with browserify it's clientsideable at least [11:07] SubStack: npm install seq [11:08] Nexxy: siiiiiigh [11:08] Nexxy: I'll just nest things to all hell [11:08] micheil has joined the channel [11:08] Nexxy: nevermind ;P [11:08] Nexxy: I just wanted a cheap and easy way to wrap a bunch of sequential callbacks ;< [11:09] Nexxy: like the chipotle of async js [11:10] Yoric has joined the channel [11:10] SubStack: Nexxy: https://gist.github.com/1039891 [11:11] SubStack: generated using: node -e "require('browserify')().require('seq').bundle()" | xclip [11:11] FireFly has joined the channel [11:12] Nexxy: SubStack, http://bit.ly/iqKZIX [11:12] SubStack: yes [11:12] Nexxy: ACTION claps excitedly [11:12] Nexxy: do it again do it again [11:12] SubStack: proof: http://substack.net/images/browserify/browserify.png [11:12] bogomips2__: someone know how to send data to specific user using socket.io 0.7 ? thanks [11:12] Nexxy: that looks nothing like you [11:14] SubStack: browserify is fun times [11:16] `3rdEden: bogomips2__ did you read the docs? [11:16] `3rdEden: http://socket.io [11:16] Nexxy: `3rdEden, way to rtfm [11:16] Nexxy: meanie [11:16] mekwall: http://jsfiddle.net/mekwall/pMZge/show/ [11:16] `3rdEden: ;) [11:17] mekwall: mind trying that out and give me a howl? [11:17] Nexxy: is there an easy way to get the client host of a websocket connection? [11:17] SubStack: bogomips2__: in 0.6 at least sending data to specific users is the usual way it's done [11:17] bogomips2__: `3rdEden, i have found all info but no this :D [11:17] igl has joined the channel [11:17] SubStack: Nexxy: from the server side? [11:17] Nexxy: yeah [11:18] Nexxy: I want to use it as a key [11:18] Nexxy: when a client connects [11:18] Nexxy: so I don't have to use a post to find it [11:18] Nexxy: or a get I suppose [11:23] bogomips2__: SubStack, in 0.7 there is some change [11:23] xandrews has joined the channel [11:24] blup has joined the channel [11:25] uchuff has joined the channel [11:28] vpereira: how can i do it in js [1,"10.0.0.1","foo"].pack 'l! a4 Z*' ? [11:28] vpereira: and become a binary string as result? [11:28] vpereira: like "\x01\x00\x00\x00\x00\x00\x00\x0010.0foo\x00" [11:29] adambeynon has joined the channel [11:33] Mrfloyd has joined the channel [11:35] sonnym has joined the channel [11:38] svenlito has joined the channel [11:39] uchuff has joined the channel [11:39] shinuza: vpereira: use message pack? [11:40] vpereira: shinuza: message pack? [11:40] ditesh|cassini has joined the channel [11:40] shinuza: vpereira: https://github.com/pgriess/node-msgpack [11:40] shinuza: http://msgpack.org/ also [11:41] Tobsn: does anyone here use jquery bbq? [11:41] vpereira: shinuza: the same author that wrote the first JSPack, that doesn't work [11:41] Tobsn: i have some problems with it... [11:41] Skola: Tobsn yes I do [11:41] vpereira: shinuza: but it looks good [11:41] Tobsn: how do i set the hash fragements onto existing urls? [11:41] Tobsn: i tried $.param.fragement( 'qp', $(this).attr('title') ); but that errors out with an error i cant see cause the page reloads [11:42] eb4890 has joined the channel [11:42] Skola: I'm pretty sure you mean $.param.fragment [11:42] FireFly|n900 has joined the channel [11:42] eyesUnclouded has joined the channel [11:43] Skola: other than that I see nothing wrong with what youre trying to do [11:43] Tobsn: da,not [11:43] Tobsn: damnit [11:43] Tobsn: just now i got the error to show by moving the preventdefault [11:43] shinuza: vpereira: haven't tested the node port but the python port does work [11:43] Vertice has joined the channel [11:44] Tobsn: hmm doesnt work [11:44] Tobsn: it doesnt set the hash [11:44] vpereira: shinuza: first it should be able to compile in a ubuntu linux, it didn't :-) [11:44] shinuza: meh [11:45] junkee[] has joined the channel [11:45] Tobsn: hmm just nothing happens [11:46] shinuza: vpereira: output of the error? [11:46] Tobsn: is there some sort of trick? [11:47] Tobsn: skola, do i need to initiate bbq somehow? [11:47] vpereira: shinuza: http://pastebin.com/vBcjWvZj [11:48] Skola: no [11:48] Skola: but you have to pushState [11:48] vpereira: schinuza: node::Buffer changed the API or somebody made something wrong [11:48] Skola: @ hashchange [11:49] Yoric has joined the channel [11:49] Skola: but there's a couple of ways you can use it [11:49] Tobsn: hmm [11:49] Tobsn: yeah but how do i trigger the hashchance in the first place hehe [11:50] Tobsn: i mean all i have in the code right now that is bbq related is the param.fragment [11:50] Tobsn: but thats doing nothing [11:50] jtrudeau has joined the channel [11:51] shinuza: vpereira: installed from npm? [11:51] vpereira: shinuza: both i do receive same error [11:51] hojberg has joined the channel [11:51] vpereira: shinuza: github or npm [11:51] shinuza: ok, I do too [11:52] tim_smart: SubStack: command | gista -n bundle.js <3 [11:53] vpereira: shinuza: https://github.com/pgriess/node-msgpack/pull/14 [11:53] vpereira: shinuza: looks like somebody fixed it [11:55] ooo has joined the channel [11:56] shinuza: https://github.com/typester/node-msgpack works for me vpereira [11:56] shinuza: git clone this [11:56] mehlah has joined the channel [11:56] shinuza: then git submodule update [11:56] shinuza: then cd msgpack-dev/cpp && ./bootstrap [11:56] vpereira: shinuza: i cloned this https://github.com/jmars/node-msgpack [11:56] vpereira: shinuza: that's why somehow i hate github [11:57] shinuza: github can be such a ghetto sometimes [11:57] shinuza: ahah [11:57] vpereira: shinuza: github created this culture forkyourself that sometimes just make the things harder :-) [11:58] shinuza: yeah, there should be a concept of maintainer [11:59] Bwen: any suggest on how to securely login between socket.io(client) and nodejs? [11:59] shinuza: obviously the project link on msgpack website is an abandon ware [12:00] LiamMagee has joined the channel [12:01] shinuza: vpereira: your version works for me as well but hell to what have been done on each fork in-between [12:02] deedubs has joined the channel [12:02] Bwen: what are you guys talking about... there was a commit on June 6, 2011... hardly abandon ware ? [12:03] Tobsn: skola, any idea why param.fragment itself wont work? [12:03] Tobsn: i just tried everything i could come up with [12:03] Tobsn: nothing changes [12:03] vpereira: shinuza: but the results still different or at least not as string [12:03] shinuza: meh [12:04] Bwen: oh nm, I get it :P [12:06] ceej has joined the channel [12:08] davidbanham has joined the channel [12:08] level09 has joined the channel [12:08] bnoordhuis has joined the channel [12:09] febits has joined the channel [12:10] unomi has joined the channel [12:11] thalll has joined the channel [12:11] vpereira: shinuza: in ruby the msgpack works :-) [12:12] skm has joined the channel [12:15] mhauri_ has joined the channel [12:15] Tobsn: skola, how can i push the state onto other urls? [12:17] bradley has joined the channel [12:19] adambeynon has joined the channel [12:20] swilson06: how do i make socket.io use ssl? [12:20] al3xnull_ has joined the channel [12:22] `3rdEden: give it a https server to listen on [12:22] `3rdEden: and in io.connect use HTTPs. eg io.connect('https://example.com') [12:23] mengxy has joined the channel [12:24] `3rdEden: swilson06 ^ [12:24] `3rdEden: also, we have a channel #socket.io [12:27] Nican_ has joined the channel [12:29] Xano has joined the channel [12:30] sshaginyan has joined the channel [12:32] mc_greeny has joined the channel [12:32] Tobsn: arg this drives me nuts [12:32] Tobsn: i want to attach a fragment [12:32] Tobsn: :/ [12:33] cbibler has joined the channel [12:33] shinuza: vpereira: The ruby version is the original implementation [12:34] kulor-uk has joined the channel [12:34] AaronMT has joined the channel [12:34] level09: why is flash socket disabled by default ? [12:34] level09: oops wrong window [12:34] pomodoro has joined the channel [12:35] vpereira: i was digging around, looks like people are trying to implement a pack function to node but until now, nothing stable [12:35] vpereira: crazy that it isn't part from javascript stdlib [12:36] sshaginyan has joined the channel [12:39] level09: `3rdEden: seems from the example that I dont need to create the http server ? [12:41] `3rdEden: level09 (wrong window :P ) no, you don't if you just do a .listen(80) it will generate a server for you [12:42] eb4890 has joined the channel [12:44] isaqual has joined the channel [12:44] NeCkEr has joined the channel [12:45] Tobsn: Skola, still there? [12:46] coyo has joined the channel [12:46] dtan has joined the channel [12:46] Twelve-60 has joined the channel [12:50] nphase has joined the channel [12:50] nphase has joined the channel [12:52] imagin has joined the channel [12:52] imagin: hi [12:53] imagin: is any one thr?? [12:53] mhauri has joined the channel [12:53] sshaginyan has joined the channel [12:53] imagin: i have a query.. [12:54] `3rdEden: we don't query, we use mapreduce [12:55] `3rdEden: but feel free to ask questions ;) [12:55] hunterloftis has joined the channel [12:57] jacter has joined the channel [12:57] replore_ has joined the channel [12:57] vannyn has joined the channel [12:58] vannyn: hi to all [12:58] tuhoojabotti: Hello [12:58] vannyn: I'm having troubles using webservice.js module [12:58] vannyn: someone has used it? [13:00] vannyn: I loke a lot the rest mind inside webservice, but I've to use sessions [13:00] vannyn: "I like"* [13:00] seawise: good morning #everyone [13:01] tuhoojabotti: evening [13:01] cha0s has joined the channel [13:04] vannyn: anybody can help me? [13:04] replore has joined the channel [13:06] adambeynon has joined the channel [13:07] chr1101 has joined the channel [13:07] herbySk has joined the channel [13:08] bolgovr has joined the channel [13:08] dtan has joined the channel [13:09] stagas: vannyn: insert it in a middleware [13:09] papandreou has joined the channel [13:09] LiamMagee has joined the channel [13:09] stagas: vannyn: you could modify this to check for authentication https://github.com/Marak/webservice.js/blob/master/lib/createHandler.js [13:10] Druide_ has joined the channel [13:11] avalanche123 has joined the channel [13:12] \sega has joined the channel [13:12] xandrews has joined the channel [13:14] _jgr has joined the channel [13:14] mc_greeny1 has joined the channel [13:14] rchavik has joined the channel [13:15] aslakhellesoy has joined the channel [13:16] aslakhellesoy: Does anyone know how to publish node packages to an *internal* server? [13:16] aslakhellesoy: I.e. how do I package up my project? Just tar czf ? [13:17] aslakhellesoy: Or is there an npm command that will do it for me [13:17] sioked has joined the channel [13:17] squeese has joined the channel [13:19] ablomen: aslakhellesoy, you might want to put it on a git/svn/whatever server and pull it wherever you need it [13:19] ablomen: i don't think you can (easily) set up an npm server (can be very wrong though) and use that, so this is the next best way to handle versions, updates etc [13:20] aslakhellesoy: ablomen: I'll just put it on an internal web server, and other apps can refer to it with a full url in their package.json [13:20] aslakhellesoy: My question is not about uploading, but *packaging* [13:20] aslakhellesoy: How do I turn my lib into a tgz basically [13:21] aslakhellesoy: I think npm does that as part of "npm publish") [13:21] brolin has joined the channel [13:22] ablomen: that's what i am saying, putting it in a tar might not be the best way, using something like git will give you the option to update stuff, fork it for different cases etc, if you just extract a tar every time keeping track of your changes etc will become a huge hassle [13:23] ablomen: and that way, it would be "packaged" in a git branch [13:23] aslakhellesoy: ablomen: my code is in git :-) [13:24] thomblake has joined the channel [13:24] aslakhellesoy: If I only keep the code in git, other projects can't easily depend on it in their package.json files... [13:25] mAritz1 has joined the channel [13:25] johndahlstrom has joined the channel [13:26] aslakhellesoy: Here is what I want to do in foo's package.json: "dependencies": { "bar": "http://internalserver/bar-0.1.2.tgz" } [13:26] aslakhellesoy: That already works [13:27] aslakhellesoy: My question is simply: What's the best way to create the bar tgz? [13:27] butu5 has joined the channel [13:27] aslakhellesoy: ablomen: You see what I mean? [13:28] ablomen: ah ok yes i get you [13:28] sjbreen` has joined the channel [13:28] aslakhellesoy: Of course I can tar czf my project every time I git tag it, but there must be something inside npm that can do this for me.. [13:29] aslakhellesoy: But there is no "npm package" or similar command :-/ [13:29] edude03 has joined the channel [13:32] ablomen: aslakhellesoy, i am not sure but did you try just pointing to the package.json file or the directory? [13:32] ablomen: you can use npm install in that way [13:33] rworth has joined the channel [13:35] davidsklar has joined the channel [13:37] kitsunde has joined the channel [13:38] rchavik has joined the channel [13:38] brianseeders has joined the channel [13:39] mandric has joined the channel [13:40] aslakhellesoy: You mean stand in foo/ and do npm install? [13:40] aslakhellesoy: Sorry, in bar/ I mean [13:41] saschagehlich has joined the channel [13:42] ablomen: aslakhellesoy, well in whatever directory you can do npm install /foo/bar/moduleRootDir/ [13:43] ablomen: or at least, that's what the docs say [13:43] tcurdt has joined the channel [13:43] vpereira has joined the channel [13:44] asobrasil has joined the channel [13:45] swistak has joined the channel [13:46] dtan has joined the channel [13:47] seawise_ has joined the channel [13:48] fayce has joined the channel [13:49] christkv has joined the channel [13:50] ksheurs has joined the channel [13:51] kruckenb has joined the channel [13:52] FIQ has joined the channel [13:52] drudge has joined the channel [13:52] brianloveswords has joined the channel [13:53] bazookatooth has joined the channel [13:55] willwhite has joined the channel [13:55] adambeynon has joined the channel [13:56] Aikar has joined the channel [13:56] zpao_ has joined the channel [13:57] phiggins has joined the channel [13:57] slicky has joined the channel [13:58] muhqu has joined the channel [13:58] pickels has joined the channel [13:59] jlecker has joined the channel [13:59] aslakhellesoy has joined the channel [13:59] jtsnow has joined the channel [14:00] fumanchu182 has joined the channel [14:00] ablomen has joined the channel [14:00] aslakhellesoy: ablomen: I'm not trying to install anything [14:00] chrislorenz has joined the channel [14:00] aslakhellesoy: I'm just trying to create a tgz :-) [14:00] zeade has joined the channel [14:00] catshirt has joined the channel [14:02] Tobsn: nice [14:02] akshatj has joined the channel [14:02] Tobsn: i got jquery bbq implemented [14:02] vpereira: shinuza: http://stackoverflow.com/questions/6440265/pack-for-javascript-and-return-a-binary-string [14:02] elpinguino has joined the channel [14:02] colinclark has joined the channel [14:03] dtan: tobsn - bbq is nice so you don't have to worry so much about having so much set up for deeplinking [14:03] Tobsn: http://dev.explore.cm/ [14:03] bingomanatee has joined the channel [14:04] bingomanatee: Hey is there any way to determine which variables have been scoped in the context of an EJS template in express.js [14:04] shinuza: vpereira: hum, too bad it's pre 0.5 based [14:04] jbroman has joined the channel [14:04] bingomanatee: or for that matter the names of the scoped variables in node.js in general? [14:04] Roelven has left the channel [14:04] Tobsn: i like that the suggestion stuff is bbq too [14:04] vpereira: shinuza: is that a problem? [14:04] shinuza: vpereira: it's not stable, and wont be before long [14:05] shinuza: I think Ryan talked about ~5 months [14:05] vpereira: shinuza: but how unstable are the things with node.js? [14:05] bingomanatee: PHP is not stable :D [14:06] vpereira: bingomanatee: ? [14:06] bingomanatee: It has memory leaks [14:06] vpereira: php language, node.js framework [14:06] swilson06: `3rdEden: thanks (for the socket.io ssl) [14:06] squeese has joined the channel [14:07] vpereira: bingomanatee: where does php has memory leak. ruby had as well [14:07] bingomanatee: Ruby still does. [14:07] vpereira: shinuza: do you know the release process of all node.js [14:07] tuhoojabotti: v8bot: "lol".toString(2) [14:07] v8bot: tuhoojabotti: Use v8: to evaluate code or "`v commands" for a list of v8bot commands. [14:07] tuhoojabotti: uh [14:08] tuhoojabotti: v8: "lol".toString(2) [14:08] v8bot: tuhoojabotti: "lol" [14:08] bingomanatee: I'm juust saying -- if you plan to wait until a language or framework has been perfected to use it you are not getting much done in this business [14:08] tuhoojabotti: :P [14:09] eyesUnclouded has joined the channel [14:09] vpereira: bingomanatee: ? I just want to know what is considered unstable for node.js.. or pre. pre for rails, for example, is something usable already [14:09] shinuza: bingomanatee: so long for the support as well [14:10] shinuza: vpereira: I've managed to build HEAD a few weeks ago, doesn't mean I will put it in production :) [14:10] bentruyman has joined the channel [14:11] thalll has joined the channel [14:11] `3rdEden: v8: "lol".blink() [14:11] v8bot: `3rdEden: "lol" [14:11] meat_popsicle has joined the channel [14:11] `3rdEden: #winning [14:11] shinuza: if you are just experimenting I guess that's ok, either way you could backport the new Buffer API [14:12] tuhoojabotti: v8: "lol".span() [14:12] v8bot: tuhoojabotti: TypeError: Object lol has no method 'span' [14:12] tuhoojabotti: :/ [14:12] shinuza: v8: "lol".strong() [14:12] v8bot: shinuza: TypeError: Object lol has no method 'strong' [14:12] shinuza: meh [14:12] jtsnow has joined the channel [14:13] shinuza: v8: "lol".bold() [14:13] v8bot: shinuza: "lol" [14:13] shinuza: that's just doesn't feel right [14:14] chjj: its the best templating engine around imo [14:14] bingomanatee: vpereira, the core JS is based on google's v8 engine which is very stable [14:14] Bwen: v8: "bob".bold().blink() [14:14] v8bot: Bwen: "bob" [14:14] eyesUnclouded has joined the channel [14:14] bingomanatee: The modules which interpret requests and send responses work quite well [14:15] ryanfitz has joined the channel [14:15] bingomanatee: I think when people talk about instability in node, they mean that Ryan & co reserve the right to change apis into their modules [14:15] bingomanatee: but in my experience most of the core modules have been through several iterations already [14:15] bingomanatee: and what few changes they are likely to make will be very well documented. [14:16] pandeiro has joined the channel [14:16] bingomanatee: and you will have the opportunity to freeze the version of node for a particular project and get in front of said changes very managebly. [14:17] kawaz_air has joined the channel [14:17] bingomanatee: express.js, which (in a VERY sloppy way) could be said to be the Rails of node, changes a little more aggressively and on its own sechedule [14:17] jonaslund has joined the channel [14:17] bingomanatee: however again: proper use of NPM will freeze you to to the version of express that you want fo a given project. [14:18] herbySk has joined the channel [14:18] tomb has joined the channel [14:18] MarkMenard has joined the channel [14:18] roblarter has joined the channel [14:18] sjbreen`: is there a guide that you know off hand that show's "the proper use of NPM" or would someone just search around the wiki [14:18] sjbreen`: ? [14:18] bingomanatee: In short the reason node is unstable in most cases is not that it is bug infested but rather that it is under rapid development and evolution [14:18] pjacobs has joined the channel [14:19] bingomanatee: The core documentation describes using NPM to embed and version freeze liraries into the node_modules folder. [14:19] Poetro has joined the channel [14:19] bingomanatee: http://blog.nodejs.org/2011/03/23/npm-1-0-global-vs-local-installation/ covers things nicely [14:20] sjbreen`: thank you [14:20] pandeiro has joined the channel [14:20] BillyBreen has joined the channel [14:20] dtan: member:bingomanatee - installing express via npm, you can still update your express version [14:20] dtan: meh, drag and drop [14:21] dtan: tj explained to me yesterday you'd have to update your package.json file of express to the newer version [14:21] dtan: and then do a npm install , i think [14:21] socketio\test\71 has joined the channel [14:21] JJMalina has joined the channel [14:21] bingomanatee: dtan [14:22] dtan: yes? [14:22] socketio\test\10 has joined the channel [14:22] nibblebot has joined the channel [14:22] unlink has joined the channel [14:22] MarkMenard_ has joined the channel [14:22] bingomanatee: dtan, yes - but you aren't FORCED to use a more current version of express than the one you start with by the local version of express that someone (else?) set up on a given deployment server. [14:23] bingomanatee: Your desired version of express (or anything else) is carried with your git repo'd code base wherever it deploys. [14:23] dtan: ooh, i must have missed the previous part of the convo [14:23] bingomanatee: It was the usual "Is node stable" blather. [14:23] dtan: right, you guys were discussing local v global express installs then i take it? [14:23] Swimming_bird has joined the channel [14:24] bingomanatee: my point being, node is not unstable - it is evolving - but you don't have to evolve at its pace if it isn't useful in the context of a specific project :D [14:24] dtan: right [14:25] dtan: just to get it straight, you can also have local installs of node per project if you wished, is that correct or am i mistaken? [14:27] aron_ has joined the channel [14:28] bradley has joined the channel [14:30] jslatts has joined the channel [14:30] bingomanatee: dt [14:31] bolgovr has joined the channel [14:31] bingomanatee: DTrejoAFKarchive, that is not EXACTLY true. Node is a binary so you can launch a project from a specific build of node, and you can store node in multiple folders [14:32] bingomanatee: or use nvm (Node VERSION manager, as distinct from npm, node PACKAGE MANAGER) to switch to a "default" version of node. [14:33] bingomanatee: As wiith ruby, you have to be careful if you rely on globally installed modules AND use nvm; you may have to reinstall global modules after you switch versions of node in nvm. [14:33] bingomanatee: (which is why I would not in general rely on globally installed modules for any project :D) ) [14:34] vpereira: nvm, that's nice.. i was thinking about it yesterday :-) [14:34] vpereira: nice that it's already there [14:35] ngs has joined the channel [14:36] bingomanatee: The Node people have tried to take the parts of Ruby/RoR that work /they like into node [14:37] gde33|2 has joined the channel [14:37] vpereira: and how do I install node.js pre ? [14:38] vpereira: i'm looking here in the git repository, the master branch is the edge? [14:39] jbpros has joined the channel [14:39] dguttman has joined the channel [14:40] Bradleymeck_ has joined the channel [14:40] bradley: vpereira yes [14:41] temp01 has joined the channel [14:41] liquidproof has joined the channel [14:41] gde33 has joined the channel [14:42] adambeynon has joined the channel [14:42] pifantastic has joined the channel [14:43] sivy has joined the channel [14:44] Druide_ has joined the channel [14:44] \sega has joined the channel [14:44] gbot2 has joined the channel [14:45] gbot2 has joined the channel [14:45] CoverSlide has joined the channel [14:45] rchavik has joined the channel [14:46] mike5w3c has joined the channel [14:46] mapleman has joined the channel [14:46] gbot2 has joined the channel [14:46] gbot2 has joined the channel [14:47] philtor has joined the channel [14:47] halfhalo has joined the channel [14:49] _jgr has joined the channel [14:49] Destos has joined the channel [14:50] devuo has joined the channel [14:51] bbttxu has joined the channel [14:51] Sanuk has joined the channel [14:52] dmcquay has joined the channel [14:53] mc_greeny has joined the channel [14:53] aklt: bnoordhuis: Hi! [14:53] willwhite has joined the channel [14:54] aklt: bnoordhuis: I had a look at some of the code you were doing for node-iconvm on the streams branch... Is it usable yet? [14:56] devuo: Hello! I'm new to node.js, and I've been looking for the documentation on the core modules, but I've been unable to find it. Can anyone point me to the right direction (wiki, source, docs, wtv)? thanks! [14:56] Skola: http://nodejs.org/docs/v0.4.8/api/ [14:56] Skola: docs [14:56] CoverSlide: http://nodejs.org/docs/v0.4.8/api/ [14:56] Skola: : D [14:56] CoverSlide: Skola: F U [14:56] CoverSlide: :D [14:56] Skola: winwinwin [14:56] tuhoojabotti: I was too slow. :/ [14:56] tuhoojabotti: BUT home -> [14:57] devuo: thanks :) [14:58] ph^ has joined the channel [15:00] sonnym has joined the channel [15:00] jscheel has joined the channel [15:00] jscheel has joined the channel [15:01] sreeix has joined the channel [15:02] context has joined the channel [15:02] btipling has joined the channel [15:03] mandric has joined the channel [15:03] niftylettuce has joined the channel [15:04] eventi has joined the channel [15:05] dtan_ has joined the channel [15:05] mikl: how do you prevent Node from exiting until your callback is called? [15:05] slaskis: mikl: i don't think it's supposed to [15:06] caiges_ has joined the channel [15:06] slaskis: exit before it's all 'done' [15:06] meat_popsicle: if your callback is installed properly, it will not exit [15:06] meat_popsicle: and by installed, i mean set on a timer [15:07] briznad has joined the channel [15:07] d_c has joined the channel [15:07] meat_popsicle: or setup in a html server or something [15:07] MattJ has joined the channel [15:07] mikl: slaskis: it seems do so - http://dpaste.de/ddnk/ - it prints both 'hest' and 'pony' before exiting, but not 'Connecting to database...' [15:08] kulor-uk has joined the channel [15:08] mikl: meat_popsicle: how do you mark it as something important like that? :) [15:08] heavysixer has joined the channel [15:09] meat_popsicle: i've not used drupal personally, miki, but i'd assume that there is something in your setup wrong perhaps [15:09] meat_popsicle: or a bug in drupal [15:09] rphillips has joined the channel [15:10] mikl: meat_popsicle: well, the drupal module is written by me, I wondering how to prevent Node.js from ignoring its callback :) [15:10] meat_popsicle: it's more up to the module you're using to not to quit [15:10] ditesh|cassini has joined the channel [15:10] meat_popsicle: oh, that i dont know [15:10] meat_popsicle: sorry [15:10] mikl: meat_popsicle: this code works fine when database connection is fast [15:10] mikl: meat_popsicle: but not if it takes a while :) [15:10] softdrink has joined the channel [15:11] wao: /wii Skola [15:11] Skola: whats this [15:11] wao: ACTION -_- [15:11] Skola: :[] [15:11] meat_popsicle: mikl: i coudl believe that, but without seeing the internals of your drupal stuff there's no way to know what you're doing right or wrong [15:11] Skola: alias for botnet DDOS fireworks?! :[] [15:12] Tobias|| has joined the channel [15:12] lmorchard has joined the channel [15:12] mikl: meat_popsicle: the Drupal module is on Github: https://github.com/mikl/node-drupal/blob/master/lib/db.js :) [15:12] wao: Skola: just extended whois. I just wondering where are you from. [15:12] slaskis: mikl: maybe it times out then? [15:12] k1ttty has joined the channel [15:12] Skola: The Netherlands [15:12] sub_pop has joined the channel [15:13] mikl: slaskis: well, Nodejs exits immediately [15:13] wookiehangover has joined the channel [15:13] mikl: slaskis: no it's not waiting for a timeout [15:13] xtianw has joined the channel [15:14] slaskis: mikl: i've never used the mysql module myself but at a glance i can't see anything strange, sorry [15:15] blup has joined the channel [15:16] gbot2 has joined the channel [15:17] ezl_ has joined the channel [15:18] Aria has joined the channel [15:18] catshirt has joined the channel [15:19] dgathright has joined the channel [15:19] sbisbee has joined the channel [15:19] cryptix has joined the channel [15:19] Tobsn: jquery bbq just killed chrome here [15:19] Skola: Tobsn sorry for not responding earlier [15:20] Skola: still having trouble with bbq? [15:20] Tobsn: dont worry [15:20] Tobsn: i go ir somehow working [15:20] Skola: : D [15:20] Tobsn: http://dev.explore.cm/ [15:20] Tobsn: see [15:20] Tobsn: its pretty neat [15:20] Skola: it is [15:21] Skola: from where do you pull in results? [15:21] tjholowaychuk has joined the channel [15:21] Tobsn: bing [15:21] vipaca has joined the channel [15:21] vipaca has joined the channel [15:21] Skola: alright, could have known [15:21] samsonjs has joined the channel [15:21] antlong has joined the channel [15:23] w3rdness has joined the channel [15:23] liquidproof_ has joined the channel [15:23] saurabhverma has joined the channel [15:24] jetienne: Tobsn: this is taking data from bin g ? [15:24] brettgoulder has joined the channel [15:24] Tobsn: yep [15:24] RORgasm has joined the channel [15:25] jetienne: Tobsn: they got an open api ? [15:25] gautema has joined the channel [15:25] Tobsn: sorta [15:25] Tobsn: open at first [15:25] antlong: hey guys. I wanted to chat with people about to feasibility/usages for node in relation to Quality Assurance. I made a room #node.qa if anyone is interested in chatting about this. [15:25] Tobsn: we have direct contact with microsoft so we have a higher limit [15:25] pomodoro has joined the channel [15:25] Tobsn: a limit that makes actually sense [15:25] newy_ has joined the channel [15:26] jetienne: Tobsn: ok cool, i have to try [15:28] EyePulp has joined the channel [15:28] dguttman has joined the channel [15:29] shinuza has joined the channel [15:29] broofa has joined the channel [15:29] jlecker has joined the channel [15:30] djcoin has joined the channel [15:30] jtrally has left the channel [15:31] context has joined the channel [15:31] kmiyashiro has joined the channel [15:31] dgathright has joined the channel [15:32] adambeynon has joined the channel [15:32] meatmanek_ has joined the channel [15:35] nyholt has joined the channel [15:35] TooTallNate has joined the channel [15:37] MarkMenard_ has joined the channel [15:38] tchype has joined the channel [15:38] infynyxx has joined the channel [15:41] Tobsn: wow, microsofts CDN is going up and down [15:41] Tobsn: god damnit... MS cant even keep a CDN stable [15:41] Sembiance: heh [15:41] Tobsn: with fuckin static files [15:41] Tobsn: wtf. [15:41] tuhoojabotti: wtsf [15:41] Sembiance: what are you pulling from a MS CDN? [15:41] Tobsn: erm the ususal [15:41] Tobsn: http://ajax.microsoft.com/ajax/jquery.templates/beta1/jquery.tmpl.min.js [15:41] bradley: jquery prolly since asp tries to [15:42] Tobsn: jquery comes from google [15:42] Tobsn: http://dl.dropbox.com/u/1656816/Screenshots/i0m7.png [15:43] F1LT3R has joined the channel [15:43] Tobsn: MICROSOFT - Y U SO FUCKIN TARDED! [15:43] KingJamool has joined the channel [15:43] gxblast has joined the channel [15:43] context-: ok. so. [15:43] Tobsn: Sembiance, http://www.asp.net/ajaxlibrary/cdn.ashx [15:44] Tobsn: but it takes a while to load [15:44] Tobsn: ... [15:44] eresair has joined the channel [15:45] slaskis: Tobsn: maybe add it to this one? http://www.cdnjs.com/#/page/addlibrary [15:46] dlkinney has joined the channel [15:46] Tobsn: Everyone loves the Google CDN right? Even Microsoft runs their own CDN. [15:46] Sembiance: Tobsn: jquery is hosted on several CDN's for free, like Google and Yahoo. What made you decide to use microsoft's? [15:46] Tobsn: its pretty well known MS has its own cdn [15:46] Tobsn: Sembiance, again jquery comes from google [15:46] Tobsn: jquery template from microsoft [15:46] Tobsn: because nobody else is CDN hosting jquery template [15:46] Tobsn: ;) [15:47] Sembiance: ahh [15:47] pickels: There is a non profit cdn maybe they have it too? [15:47] pickels: forgot the name though [15:47] Sembiance: I find I get better performance if I combine all JS, both jquery and my app JS into one big file and pre-minify that. [15:47] elpinguino has joined the channel [15:47] Sembiance: this way there is only a single network request made for JS [15:48] Tobsn: hehe really [15:48] Tobsn: ;) [15:48] Tobsn: im not even done with that site ;) [15:48] Renegade001 has joined the channel [15:48] Tobsn: the half way compiled source is on explore.cm [15:48] Sembiance: Tobsn: I'm in a never-ending quest to get my html5 web game to load faster :) [15:48] Sembiance: node.js powered of course ;) [15:48] pickels: But not cached by many people unlike well known cdns. [15:48] rauchg has joined the channel [15:48] Tobsn: erm, the microsoft cdn is actually used pretty broad [15:49] pickels: Yep, I know. [15:49] Tobsn: so why not [15:49] pickels: They also host the jquery validation plugin. [15:49] necromancer: it's a little slower than google's [15:49] Tobsn: btw. [15:49] Tobsn: i show you guys another trick with google [15:49] necromancer: i'm always afraid to use CDNs in production [15:49] necromancer: because if they go down it's not my fault, but my client thinks it is.. [15:49] necromancer: but i can't fix it [15:49] necromancer: because the CDN is down [15:49] necromancer: FUCK that. [15:50] Tobsn: version 1.6.1: http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js [15:50] pickels: You can integrate your own fallback. [15:50] Tobsn: latest 1.6: http://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js [15:50] Tobsn: latest 1.*: http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js [15:50] Tobsn: ;) [15:50] necromancer: pickels: how can i do that without using an external library to load in all my JS? [15:50] Tobsn: so you could do 1.3 than you get the latest 1.3.* [15:50] Tobsn: stable [15:50] necromancer: like just use