[00:00] cbiscardi: Hey guys, me and a friend just launched a bootstrapped website running on node (sbsdigital.ly) http://www.facebook.com/pages/SBS-Digital-Consulting/120495491369339 [00:01] luisloazi: What is all about JSONP? [00:01] luisloazi: are we talking about a response in JSON format [00:01] luisloazi: or something else [00:01] luisloazi: ? [00:01] Jalava: no [00:02] Jalava: it's json like response sent as javascript object into callback function [00:02] [[zz]] has joined the channel [00:02] Jalava: ie. javascript parses the response with eval together with function call string [00:02] Jalava: and calls that function with the given js object [00:02] Jalava: difference is slight but there is a catch with U+2027 and U+2029 [00:03] Jalava: which are not aloud in js objects but are allowed in json [00:03] Jalava: as keys at least [00:03] pjacobs has joined the channel [00:05] tenum: Hello Noders - I have "bus" class with "interface" as property. Now when on JS i do bus.interface I want in C++ "Interface" constructor to be invoked [00:05] rhdoenges has joined the channel [00:06] zmbmartin: Murvin: I use connect-mongodb and mongoose with no problems [00:07] davidascher has joined the channel [00:08] iffy has joined the channel [00:08] Murvin: zmbmartin: thanks. just see from dailyJS how monogoStore is set up from mongoose.. :) [00:08] luisloazi: so the response it's a json or a string calling a function? [00:10] Wizek has joined the channel [00:10] Zelest has joined the channel [00:10] Zelest has joined the channel [00:12] h50 has joined the channel [00:13] rauchg has joined the channel [00:13] JojoBoss has joined the channel [00:13] JoshC1 has joined the channel [00:13] drefined has joined the channel [00:13] russell_h has joined the channel [00:13] stagas has joined the channel [00:13] insin has joined the channel [00:13] tswicegood has joined the channel [00:13] riven has joined the channel [00:13] jga023 has joined the channel [00:13] seawise has joined the channel [00:13] yozgrahame has joined the channel [00:13] ianward has joined the channel [00:13] Lorentz has joined the channel [00:13] unlink has joined the channel [00:13] Sami_ZzZ has joined the channel [00:13] ashb has joined the channel [00:13] Ravatar has joined the channel [00:13] epopt37 has joined the channel [00:13] kuhrt has joined the channel [00:13] tahu has joined the channel [00:13] iFire` has joined the channel [00:13] Palats has joined the channel [00:13] TheFuzzball has joined the channel [00:13] lmorchard has joined the channel [00:13] nodenews has joined the channel [00:13] SuMarDi has joined the channel [00:13] btipling has joined the channel [00:13] easternbloc has joined the channel [00:13] sstreza has joined the channel [00:13] Pilate has joined the channel [00:13] Ian_Corne has joined the channel [00:13] mundanity has joined the channel [00:13] jimt has joined the channel [00:13] mobius- has joined the channel [00:13] pdonald` has joined the channel [00:13] zed0 has joined the channel [00:13] Draggor has joined the channel [00:13] mattijs has joined the channel [00:13] rhutchison has joined the channel [00:13] mrkurt has joined the channel [00:13] sstephenson has joined the channel [00:14] NerdPope has joined the channel [00:14] cafesofie has joined the channel [00:15] niftylettuce has joined the channel [00:15] [[zz]] has joined the channel [00:15] WarriorSl has joined the channel [00:16] NerdPope has joined the channel [00:18] mertimor has joined the channel [00:19] heavysixer has joined the channel [00:19] JoshC1 has joined the channel [00:21] marvin_ has joined the channel [00:22] leahculver has joined the channel [00:22] leahculver has joined the channel [00:22] [[zz]] has joined the channel [00:23] kmiyashiro has joined the channel [00:24] Kinbote has joined the channel [00:24] AvianFlu has joined the channel [00:25] level09 has left the channel [00:26] vyvea has joined the channel [00:27] leahculver has joined the channel [00:27] leahculver has joined the channel [00:28] damienbrz has joined the channel [00:29] leahculver has joined the channel [00:29] leahculver has joined the channel [00:29] pjacobs has joined the channel [00:34] leahculver has joined the channel [00:34] leahculver has joined the channel [00:34] luisloazi: what about Cross-Origin Resource Sharing (CORS) [00:34] luisloazi: ?¿ [00:35] AndyDawson has joined the channel [00:37] mhooks has joined the channel [00:37] xerox has joined the channel [00:38] mhooks: is there a way to use ndb with a framework such as railways? [00:38] xandrews has joined the channel [00:39] gde33 has left the channel [00:39] F1LT3R has joined the channel [00:41] postwait has joined the channel [00:42] leahculver has joined the channel [00:42] leahculver has joined the channel [00:42] elijah has joined the channel [00:44] boogyman has joined the channel [00:44] davidbanham has joined the channel [00:45] bradleymeck_ has joined the channel [00:46] avalanche123 has joined the channel [00:46] AvianFlu has joined the channel [00:48] gleicon has joined the channel [00:48] luisloazi: JSONP is valid if I 'm using it to do a lon polling [00:48] luisloazi: request [00:48] luisloazi: to the server [00:49] HamsterLord: lolpol? [00:49] gm__ has left the channel [00:49] Xano has joined the channel [00:49] luisloazi: long polling [00:50] boaz has joined the channel [00:50] tbranyen: pong lolling [00:52] bengl has joined the channel [00:52] bene has left the channel [00:53] joeytwiddle has joined the channel [00:53] tswicegood has joined the channel [00:57] apoc has joined the channel [00:58] clifton has joined the channel [00:59] pjacobs has joined the channel [01:00] neoesque has joined the channel [01:02] erictj1 has joined the channel [01:03] k1ttty has joined the channel [01:05] Renegade001 has joined the channel [01:06] jzacsh: hmf, less doesn't seem to be compiling my css anymore :'( -- i'm using express and its the default setup of express's generated config. i've been coding heavily on my app, but i didn't change the config, idk why css isn't being generated anymore [01:06] jacter has joined the channel [01:06] erictj1: Does node.js have an equivalent of fgets() for reading files in one line at a time? [01:06] jacter1 has joined the channel [01:07] H2S04 has joined the channel [01:09] mykul has joined the channel [01:09] justicefries has joined the channel [01:09] hij1nx has joined the channel [01:10] ditesh|cassini has joined the channel [01:12] firedfox has joined the channel [01:13] mikeal has joined the channel [01:13] mikeal1 has joined the channel [01:14] bbrandon has joined the channel [01:16] abraxas has joined the channel [01:20] erictj1 has left the channel [01:20] vid has joined the channel [01:23] temp02 has joined the channel [01:23] rhdoenges has joined the channel [01:24] jzacsh: any thoughts? dead less compiler? [01:24] heavysixer has joined the channel [01:25] skm has joined the channel [01:27] dgathright has joined the channel [01:30] jacter has joined the channel [01:31] maru_cc has joined the channel [01:31] AvianFlu has joined the channel [01:34] muk_mb has joined the channel [01:34] muk_mb: hey guys [01:35] nornagon has joined the channel [01:35] muk_mb: I've read lots of complaining about mongodb and couchdb, are any of these non-sql solutions that aren't huge hassles? [01:35] mrryanjohnston: hassles? [01:36] mhooks: Mongo is pretty easy actually. [01:36] mrryanjohnston: I'm not sure what you've heard but mongo is easy as bals [01:36] mrryanjohnston: balls* [01:36] mhooks: so is couch [01:37] muk_mb: major sites like foursquare that are using mongodb have to use custom binaries, [01:38] tim_smart has joined the channel [01:38] mrryanjohnston: muk_mb: I think you're thinking about relational databases vs document based vs else [01:38] mrryanjohnston: muk_mb: If you're looking for a relational solution, couch/mongo/other non-sql solutions aren't what you want [01:39] bradleymeck_: muk_mb nosql will always get complaints from DB people because NoSQL is basically removing DB logic from the DBMS into the app, beyond that its not insane, scaling is a little unique to each solution, but you just have to read up on them [01:39] mrryanjohnston: muk_mb: I don't know much about couch/mongo, but I'd worry about having to build your own custom binary when you have the userbase that foursquare has :p [01:39] jacter has joined the channel [01:40] xeodox has joined the channel [01:40] muk_mb: bradleymeck_: so you think people are writing all these complaints just cause they're used to thinking of things in an SQL world and not this new stuff? [01:41] muk_mb: mrryanjohnston: I'm just looking for something fun to play with [01:41] jacter1 has joined the channel [01:41] mrryanjohnston: muk_mb: Try out mongo ;) you won't be disappointed [01:41] bbrandon has joined the channel [01:41] mrryanjohnston: at least at first! [01:41] davidascher has joined the channel [01:41] ceej has joined the channel [01:43] bradleymeck_: muk_mb yes, i have had quite a few conversations where they think they "cant" do something in nosql that they can do in sql, just because they cannot comprehend nosql includes a move of db logic into the app instead of everything being in your sql prepared statements [01:43] bradleymeck_: that and everyone seems to think nosql solutions *randomly drop data*... they dont [01:43] muk_mb: cause if it's just a matter of thinking differently, I think I can hang [01:43] mandric has joined the channel [01:44] muk_mb: I don't do the server stuff at work, but the php/server guys are trying couchdb and mongodb both for things and are stressing about it most days [01:44] muk_mb: ACTION does native iPhone stuff at work [01:44] mjr_ has joined the channel [01:47] unlink has joined the channel [01:47] unlink has joined the channel [01:48] ditesh|cassini has joined the channel [01:49] mrryanjohnston: muk_mb: lol [01:49] mrryanjohnston: that's because they're used to using sql dbs proabbly [01:49] mrryanjohnston: and are adverse to change [01:49] muk_mb: mrryanjohnston: phew [01:50] jerrysv has joined the channel [01:50] mrryanjohnston: muk_mb: what kind of iPhone stuff do you do? [01:50] muk_mb: internet-heavy social networking stuff [01:51] burg has joined the channel [01:52] ekryski has joined the channel [01:52] MarcinM has joined the channel [01:52] muk_mb: reading this, http://www.mongodb.org/display/DOCS/Comparing+Mongo+DB+and+Couch+DB makes it sound like CouchDB does like iCloud does for developers [01:52] MarcinM: Heylo. [01:52] muk_mb: just providing an effective way to sync data from an otherwise-offline application [01:53] avalanche123 has joined the channel [01:53] bbrandon has joined the channel [01:53] sub_pop has joined the channel [01:55] mattly has joined the channel [01:56] mrryanjohnston: muk_mb: huh. interesting dude [01:56] ditesh|cassini has joined the channel [01:57] sridatta has joined the channel [01:58] kawaz has joined the channel [01:58] pyrotechnick has joined the channel [01:59] pyrotechnick: SubStack: WHAT HAVE YOU DONE? [01:59] bradleymeck_: anyone know of a good alternative for jsfiddle that I can run on a local server [01:59] bradleymeck_: pyrotechnick, he has done many things [02:00] harth has joined the channel [02:00] Zebra10 has joined the channel [02:00] pifantastic has joined the channel [02:01] SubStack: pyrotechnick: what HAVEN'T I done? [02:02] bradleymeck_: substack made me a sandwhich? [02:02] sridatta: hey all, is there any restriction on when I can use setNoDelay() on a socket? [02:03] sridatta: I've called it on all my sockets yet there still seems to be some sort of buffering [02:03] muk_mb: mrryanjohnston: what about redis, worth a crap? [02:03] amerinese has joined the channel [02:04] AntelopeSalad has joined the channel [02:04] sivy has joined the channel [02:06] hippich has joined the channel [02:07] aelaguiz has joined the channel [02:08] gtredcvb has joined the channel [02:09] jtsnow has joined the channel [02:10] zwittar has joined the channel [02:11] Wa has joined the channel [02:12] balaa has joined the channel [02:13] mediacoder has joined the channel [02:13] iFire has joined the channel [02:13] STUPIDWIFI has joined the channel [02:14] mike5w3c has joined the channel [02:16] caiges has joined the channel [02:18] edude03 has joined the channel [02:19] wookiehangover has joined the channel [02:19] xeodox has joined the channel [02:23] kbni has joined the channel [02:23] drefined has joined the channel [02:26] slajax has joined the channel [02:26] perezd has joined the channel [02:26] sourcode has joined the channel [02:26] fly-away has joined the channel [02:30] nannto__ has joined the channel [02:30] Tobsn has joined the channel [02:32] threshold has joined the channel [02:33] srid has joined the channel [02:33] srid has joined the channel [02:33] Cleer has joined the channel [02:33] srid has joined the channel [02:33] srid has joined the channel [02:35] zeade has joined the channel [02:35] zwittar has joined the channel [02:35] mrryanjohnston: muk_mb: sad to say I haven't messed around with reddis yet [02:35] steffan has joined the channel [02:35] mrryanjohnston: muk_mb: I've been having wayyyy too much fun with socket.io than I should be :P [02:36] mrryanjohnston: hittin the hay [02:36] mrryanjohnston: g'night [02:38] Zebra10: anyone play with haraka much? [02:38] Zebra10: the smtp server [02:39] jslatts has joined the channel [02:40] threshold has left the channel [02:41] drefined: yeah [02:41] muk_mb: socket.io is pretty nifty, I played with it some [02:41] drefined: zebra: use it with couchdb [02:41] muk_mb: mrryanjohnston: all the node.js stuff I've played with used redis, it's pretty easy and fairly trivial to setup. I liked that part f'sho [02:42] rchavik has joined the channel [02:42] threshold has joined the channel [02:42] Zebra10: drefined: i'm using it now with mongodb - but that side of things isn't so dramatic, more wondering about the sending email apis that seem to be pretty undocumented [02:43] drefined: yeah it's still pretty new :/ [02:43] drefined: did you write your own plugin for mongodb? [02:44] Zebra10: i did yes [02:44] Zebra10: just logs the emails and details when it recieves [02:47] drefined: zebra10: I suggest you contact matt about the sendmail api, he's pretty quick with answering questions :) cheers. [02:47] Zebra10: Oh nice, will do [02:47] Zebra10: thanks [02:49] boaz has joined the channel [02:55] Zelest_ has joined the channel [02:58] jacobolus has joined the channel [02:59] abraham has joined the channel [02:59] abraxas: is turning my module into an event emitter as easy as module.exports = new require('events').EventEmitter; ? [03:01] skript has joined the channel [03:01] naomi has joined the channel [03:01] naomi: how should i go about installing node.js on mac osx 10.6.8 ? [03:02] naomi: i prefer a manageable package [03:02] naomi: something i can easily remove if i want [03:02] naomi: and i would also like npm installed [03:03] broofa has joined the channel [03:03] tbranyen: naomi: look into homebrew [03:03] tbranyen: will be something like brew install node [03:04] tbranyen: brew is a nice package manager in general compared to shit like macports [03:06] iammerrick has joined the channel [03:06] damienbrz: naomi http://shapeshed.com/journal/setting-up-nodejs-and-npm-on-mac-osx/ [03:06] naomi: tbranyen: ah i love homebrew, but does it install npm too ? [03:07] sirdancealot has joined the channel [03:07] indutny: hij1nx: ping [03:07] zitchie_ has joined the channel [03:09] aelaguiz has joined the channel [03:10] jakehow has joined the channel [03:11] hij1nx has joined the channel [03:12] AntelopeSalad has joined the channel [03:13] ceej has joined the channel [03:13] sivy has joined the channel [03:15] Corren has joined the channel [03:15] mhausenblas has joined the channel [03:16] charleyd has joined the channel [03:17] naomi: sweet these two worked: 1) brew install node 2) curl http://npmjs.org/install.sh | sh [03:17] naomi: :D [03:17] naomi: gotta love homebrew [03:18] naomi has left the channel [03:18] bronson has joined the channel [03:19] brimster_ has joined the channel [03:19] avalanche123 has joined the channel [03:20] brimster__ has joined the channel [03:20] Jalava: lol http://wtfjs.com/2011/02/11/all-your-commas-are-belong-to-Array [03:20] smcguinness has joined the channel [03:24] isaacs has joined the channel [03:25] brimster has joined the channel [03:27] brimster_ has joined the channel [03:28] HamsterLord has joined the channel [03:28] djw___ has joined the channel [03:32] carpeliam has joined the channel [03:32] niftylettuce has joined the channel [03:33] Emmanuel__ has joined the channel [03:34] frewsxcv1 has joined the channel [03:38] techwraith has joined the channel [03:38] CrashTestDummy_ has joined the channel [03:39] techwraith: So, I find myself in need of a recursive directory copying function - anyone have one handy? [03:39] dmose has joined the channel [03:39] hij1nx has joined the channel [03:39] tbranyen: spawn a child cp -r [03:39] tbranyen: woot [03:39] techwraith: That's cheating ;) [03:40] seawise: hey guys who is proficient here in mobile HTML5 apps? [03:40] techwraith: Although I suppose it would be faster... [03:40] tbranyen: seawise: there are separate rooms for a reason... #html5 [03:40] seawise: thanks! [03:41] seawise: my question is cross-concern btw [03:41] Draggor: techwraith: like, something other than setting up rsync? [03:41] tbranyen: seawise: one of the benefits of just asking instead of dragging on conversation [03:42] bradleymeck_ has joined the channel [03:42] anatoo has joined the channel [03:42] temp01 has joined the channel [03:42] seawise: is there any way to make push notifications for HTML5 app (when it's not runnin [03:42] techwraith: Draggor: like copyDir('/path/to/dir', function(err, result){}); [03:43] techwraith: Draggor: what do you mean by setting up rsync? [03:43] Draggor: Oh, hrrm [03:43] niftylettuce: Nuck: you there?? [03:44] boehm has joined the channel [03:44] Draggor: I guess i still don't quite see what it is you're asking, recursive directory copy from one place to another? [03:44] dexter_e has joined the channel [03:44] zivester has joined the channel [03:45] jslatts has joined the channel [03:45] techwraith: yep, sorry, forgot the extra argument in there [03:45] techwraith: copyDir('/path/to/copy/from', '/path/to/copy/to', function(err, result){}); [03:46] smcguinness: has anyone seen anyone creating a web service for socket.io for use outside of node.js apps? [03:47] bradleymeck_: smcguinness you mean duplicating the socket.io protocol in another language? [03:47] zwittar_ has joined the channel [03:48] smcguinness: bradleymeck_: more like creating a socket.io server but wrapping it in routes to push messages to those connected to the socket.io server [03:48] bradleymeck_: faye? [03:49] CrashTestDummy_ has left the channel [03:49] niftylettuce: does anyone have any insight or can find something about copyright status of the Nico nico Douga song by Momo Momo? (http://en.wikipedia.org/wiki/Nyan_Cat) -- I took it out of nyancat.js for the time being because I'm unsure if i have permission to post the .wav file [03:50] smcguinness: bradleymeck_: I saw that, but it didn't seem all that different from what socket.io offered, and I'd still need some way to "push" the messages via php or C# [03:50] bradleymeck_: smcguinness then you are going to have to look at an external service, pubnub is pretty common [03:51] cognominal has joined the channel [03:51] bradleymeck_: either way you could make it pretty easy if you just need a web service that will push messages around, you wont get too much in terms of responses though (might set up web hooks though) [03:53] smcguinness: bradleymeck_: Saw pusher.com as well. Simialr to pubnub. [03:53] bradleymeck_: niftylettuce i cant find anything but given niconicodouga's copyright stuff its under DMCA so it is copyrighted w/ the countries athat use that [03:54] mange has joined the channel [03:54] iammerrick has joined the channel [03:55] tbranyen: http://sharefilewith.me/u/31d20e.png lol re: pusher [03:56] niftylettuce: bradleymeck_: do you think we could stream the audio some how from the youtube video? [03:56] jacter has joined the channel [03:57] smcguinness: tbranyen: lol [03:57] techwraith: tbranyen: Someone else can manage my real-time infrastructure? I'm down. (re: pusher) [03:58] tbranyen: techwraith: wat [03:59] bradleymeck_: niftylettuce, im sure its possible [04:00] jacobolus has joined the channel [04:00] darshanshankar has joined the channel [04:00] madzak has joined the channel [04:02] meso_ has joined the channel [04:03] oatkiller has joined the channel [04:04] neoesque has joined the channel [04:04] amerine has joined the channel [04:04] oatkiller: Could anyone point me to code examples for image uploading in node? [04:04] pyrotechnick: SubStack: ping [04:05] oatkiller: Specifically, from an HTTP post from a web browser with the tag [04:05] tauren has joined the channel [04:05] bradleymeck_: oatkiller : node-formidable [04:06] oatkiller: bradleymeck_: thanks [04:07] techwraith: tbranyen: pusher sounds like a good idea, that's all I meant :) [04:08] tenumm has joined the channel [04:08] tbranyen: techwraith: i was just pasting a comment i found on their site that was humorous [04:08] tenumm: Hello Noders - I was wondering if I want to create a binding for B which has "interface" as property . now I want B.interface.something to invoke accessor in Interface class for something. Any ideas how to accomplish this ? [04:08] ditesh|cassini has joined the channel [04:09] oatkiller: :O [04:09] tenumm: Any example for such binding ? [04:09] sub_pop has joined the channel [04:10] tenumm: Hello Noders - I was wondering if I want to create a binding for B which has "interface" as property . now I want B.interface.something to invoke accessor in Interface class for something. Any ideas how to accomplish this ? [04:11] zab has joined the channel [04:11] niftylettuce: bradleymeck_: look at source code for http://nyan.cat -- looks like he uploaded his own mp3 to amazon... thats not even legal though? [04:12] techwraith: tbranyen: Ah, I read into it wrong. I thought you might be bashing them ;) [04:13] Corren has joined the channel [04:14] bradleymeck_: niftylettuce, without permission, yea, but he might have gotten it [04:15] mange has joined the channel [04:16] bradleymeck_: tenumm you can look in v8.h under accessors and interceptors [04:19] ditesh|cassini has joined the channel [04:20] dragnl0rd has joined the channel [04:20] dgathright has joined the channel [04:21] dragnl0rd: hello! [04:21] SubStack: pyrotechnick: pongity [04:21] davidbanham has joined the channel [04:23] ceej has joined the channel [04:23] jameson has joined the channel [04:24] FredrIQ has joined the channel [04:26] bisch has joined the channel [04:26] _beau has joined the channel [04:26] dexter_e has joined the channel [04:26] s0da has joined the channel [04:26] SvenDowideit_ has joined the channel [04:27] kkaefer_ has joined the channel [04:27] kkaefer_ has joined the channel [04:27] ryah_ has joined the channel [04:27] rick_h__ has joined the channel [04:27] Ezku\_ has joined the channel [04:28] neshaug has joined the channel [04:28] jtsnow has joined the channel [04:28] galaxywatcher has joined the channel [04:28] sivy has joined the channel [04:29] callumacrae_ has joined the channel [04:35] rook2pawn has joined the channel [04:39] now100handed1 has joined the channel [04:40] xDROPx has joined the channel [04:40] ekryski has joined the channel [04:41] andrewfff has joined the channel [04:41] now100handed1: i've installed node according to the wiki and started the node server…no go when i hit the ip of the server its running on? what am i doing wrong? [04:41] dragnl0rd: verify that the url you're pointing to includes the port the server is listening on (if it's not port 80) [04:42] petrjanda has joined the channel [04:42] dragnl0rd: I know the hello world code has it listening on port 8214 or something. [04:43] now100handed1: well yeah its listening on 1337 from nodejs.org [04:43] now100handed1: but ive tried 8000/3000 etc [04:43] now100handed1: selinux is disabled [04:46] hippich has joined the channel [04:46] rex_fernando has joined the channel [04:48] boaz has joined the channel [04:51] CrypticSwarm has joined the channel [04:51] now100handed1: is there some sort of issue with RHEL or something? [04:52] amerine has joined the channel [04:53] Me1000 has joined the channel [04:53] dragnl0rd: oh. no clue. I run it on windows and ubuntu [04:53] davidascher has joined the channel [04:57] davidbanham: now100handed1: Might be getting blocked by a firewall somewhere. Are you running node on the same machine that you're running the browser on? [04:58] Me1000 has joined the channel [05:01] boaz has joined the channel [05:01] paznicul has joined the channel [05:04] ambroff_ has joined the channel [05:05] davidascher has joined the channel [05:05] now100handed has joined the channel [05:06] mykul has joined the channel [05:07] maru_cc has joined the channel [05:09] jslatts has joined the channel [05:09] pyrotechnick: does guille ever hang out here? [05:10] andrewfff has joined the channel [05:12] steve____ has joined the channel [05:12] sreeix has joined the channel [05:13] tbranyen: pyrotechnick: he's on right now [05:13] Nuck: .me yawns [05:13] Nuck: ACTION yawns* [05:14] Nuck: So it's been a goood... 32 hours now? [05:14] Nuck: Ugh I'm too old for this shit lol [05:14] isaqual has joined the channel [05:15] dragnl0rd: marathon coding session? [05:16] brancao has joined the channel [05:20] JoshC1 has joined the channel [05:21] creationix has joined the channel [05:22] tenumm: bradleymeck_ : Thanks for pointing that out .. looking into v8.h [05:22] creationix: anyone here have sdl experience? [05:22] hecticjeff has joined the channel [05:22] creationix: I'm trying to understand the sdl event loop and figure a way to make it play nice with node's event loop [05:23] ekryski has joined the channel [05:25] sreeix_ has joined the channel [05:26] SubStack: pyrotechnick: try using absolute paths for browserify [05:27] SubStack: your issue should work and I have the tests to prove it [05:27] andrewfff has joined the channel [05:28] pyrotechnick: absolute paths [05:28] jakeg has joined the channel [05:28] pyrotechnick: where abouts exactly [05:28] SubStack: entry : __dirname + '/moo.js' [05:28] SubStack: like thats [05:29] pyrotechnick: browserify mount: '/browserify.js', require: ['backbone', 'underscore', 'dnode'], entry: path.join(__dirname, './modules/entry.coffee'), maxListeners: 1000 [05:29] sreeix has joined the channel [05:29] dguttman has joined the channel [05:30] seawise has joined the channel [05:30] SubStack: pyrotechnick: those requires aren't required anymore [05:31] pyrotechnick: ok [05:31] mendel_ has joined the channel [05:32] SubStack: care submitting a test? [05:33] unibomb has joined the channel [05:34] levi501d has joined the channel [05:36] davidbanham has joined the channel [05:37] abraham has joined the channel [05:37] mange has joined the channel [05:38] F1LT3R has joined the channel [05:38] philtor has joined the channel [05:40] Nuck: If I ever work in an office, I'm prolly gonna be that guy who walks around with a keyboard smacking new guys with it. [05:43] mike5w3c has joined the channel [05:44] andrewfff has joined the channel [05:46] AvianFlu has joined the channel [05:46] dmact has left the channel [05:53] pyrotechnick: SubStack: https://github.com/substack/node-browserify/blob/master/test/field.js#L2 [05:53] pyrotechnick: should be relative '../' like the others [05:54] shirro has joined the channel [05:55] jakeg has joined the channel [05:56] pyrotechnick: SubStack: argh what, it's something fishy in my project [05:56] stephank has joined the channel [05:56] now100handed has left the channel [05:56] pyrotechnick: or it could be browserify.bundle() vs browserify() [05:59] pyrotechnick: kay i got it to fail with browserify() [06:00] muhqu has joined the channel [06:00] ditesh|cassini has joined the channel [06:02] darnold has joined the channel [06:03] criswell has joined the channel [06:04] neoesque has joined the channel [06:05] meso_ has joined the channel [06:08] fangel has joined the channel [06:09] pen has joined the channel [06:10] pyrotechnick: SubStack: https://github.com/feisty/node-browserify/commit/27f9da3a13ca1642cd82f5ceab49ccf7ee25697e [06:11] pyrotechnick: i'm supposed to be able to do this right? i'm not doing something retarded am i? [06:11] jvduf has joined the channel [06:13] SubStack: pyrotechnick: does connect() do the same thing as connect.createServer()? [06:15] zeade has joined the channel [06:17] darshanshankar has joined the channel [06:18] SamuraiJack has joined the channel [06:19] saurabhverma has joined the channel [06:21] confoocious has joined the channel [06:22] pyrotechnick: SubStack: i'm not sure exactly but it fails without any of the connect stuff [06:23] pyrotechnick: i left that part out of the failing test [06:23] bergie has joined the channel [06:28] petrjanda has joined the channel [06:29] JoshC1 has joined the channel [06:32] dgathright has joined the channel [06:32] mikeal1 has joined the channel [06:32] kbni has joined the channel [06:33] topaxi has joined the channel [06:34] hybsch has joined the channel [06:34] jacter1 has joined the channel [06:36] pyrotechnick: SubStack: should what i am trying work? [06:36] pyrotechnick: i'm not using it wrong am i? [06:37] pyrotechnick: it sure feels like i am [06:37] pyrotechnick: i would just go back to older browserify and stop bothering you but it's broken with dnode [06:38] maru_cc has joined the channel [06:38] groom has joined the channel [06:39] simenbrekken has joined the channel [06:42] harishvarada1 has joined the channel [06:43] ChrisPartridge has joined the channel [06:45] `3rdEden has joined the channel [06:46] harishvarada1 has joined the channel [06:46] jamescarr has joined the channel [06:49] pigmej has joined the channel [06:53] Nuck: Guten nacht [06:53] SubStack: pyrotechnick: seems like a genuine bug [06:53] tuhoojabotti: Nacht Guten [06:54] apoc has joined the channel [06:54] harth has joined the channel [06:54] pyrotechnick: i think i have a less complex case [06:55] unlink has joined the channel [06:57] jhurliman has joined the channel [06:59] iffy|x200 has joined the channel [06:59] beejeebus has joined the channel [07:00] beejeebus: any zombie.js users/devs here? i'm having issues with cookies [07:00] beejeebus: just tried wrote a hello world test against a drupal install, login isn't working because the session cookie is not passed back [07:02] loob2 has joined the channel [07:03] pyrotechnick: SubStack: i am on npm 1.0.15 do you think that might be it? [07:06] jameson has joined the channel [07:06] SubStack: pyrotechnick: nope, not important [07:07] SubStack: I can replicate your failing test too [07:08] overra has joined the channel [07:09] saschagehlich has joined the channel [07:10] pyrotechnick: SubStack: i've found more... [07:11] SubStack: pretty sure what it is [07:11] pyrotechnick: mmm [07:11] jacter has joined the channel [07:12] pyrotechnick: if i put Client = require './models/client' in my entry [07:12] [AD]Turbo has joined the channel [07:12] pyrotechnick: then it builds without exception [07:12] [AD]Turbo: hi there [07:12] pyrotechnick: but it puts the client dependency on /client.coffee [07:12] pyrotechnick: so it never lines up anyway [07:13] Kai` has joined the channel [07:13] Kai`: Hello [07:13] dall has joined the channel [07:13] dall: hello [07:13] dall: :) [07:13] Kai`: When using http.get, if I specify a naked domain host -- does node auto-prepend www.? [07:14] Kai`: That's what it appears to be doing, and am looking through docs but can't find anything specific on that [07:14] ablomen has joined the channel [07:14] JoESanche_z has joined the channel [07:16] Kai`: One particular site redirects www.hostname.com to hostname.com, so I get the redirect html as opposed to the main html. I'm specifying the naked domain in the http.get options object [07:18] admc has joined the channel [07:19] blup has joined the channel [07:20] andree_ has joined the channel [07:21] dall: how to check the HOST inside an http request?' I have to do a 301 if the host == 'www.exmaple.com' (using express) [07:21] ts__ has joined the channel [07:22] neoesque has joined the channel [07:22] catphive has joined the channel [07:23] adambeynon has joined the channel [07:25] dall: possible? [07:26] dscape has joined the channel [07:26] skript has joined the channel [07:27] skript_ has joined the channel [07:28] JoESanche_z has joined the channel [07:28] kawaz_air has joined the channel [07:28] sgimeno has joined the channel [07:28] kbni: asdasd [07:29] temp01 has joined the channel [07:29] Aiden has joined the channel [07:31] iffy has joined the channel [07:32] romainhuet_ has joined the channel [07:33] ph^ has joined the channel [07:34] jakeg has joined the channel [07:38] Skola has joined the channel [07:39] dscape has left the channel [07:39] MrTopf has joined the channel [07:39] saurabhverma has joined the channel [07:42] jbpros has joined the channel [07:42] littlebiged has joined the channel [07:45] __tosh has joined the channel [07:46] fangel has joined the channel [07:46] svenlito has joined the channel [07:46] mAritz has joined the channel [07:47] hermanjunge has joined the channel [07:47] hermanjunge: Hi, what is the right way to do a "console read" in nodejs?? [07:47] saurabhverma has joined the channel [07:48] gozala has joined the channel [07:50] Yoric has joined the channel [07:53] robhawkes has joined the channel [07:55] cosmincx has joined the channel [07:55] Skola: anyone done serious search algo's with node yet? [07:56] tbassetto has joined the channel [07:56] Lorentz: Skola: Like the setTimeout() sort? [07:56] Skola: lolwut [07:56] Skola: no more like general text search / nlp [07:57] Skola: you're referring to the 4chan thread? [07:57] SubStack: Skola: .indexOf() is built-in at least [07:57] Lorentz: (convert whatever you're sorting into relevant integer, divide by delta, do setTimeout() on to shove into a result array, and eventually by time last element is "executed" the thing is sorted) [07:58] Skola: haha no I mean text mining / classification etc [07:58] TomY has joined the channel [07:58] pigmej: Skola: I don't think so that there is something like that already :) [07:58] matyr_ has joined the channel [07:59] Lorentz: You mean, some kind of lucene-like-thing for node? [07:59] Lorentz: Or something more than just searching [08:00] Skola: search ranking and NLP mostly [08:00] aliem has joined the channel [08:00] Skola: not the hard stuff [08:00] Skola: but like the functionality you find in Pythons nltk [08:00] voodootikigod has joined the channel [08:01] philhawksworth has joined the channel [08:01] ditesh|cassini has joined the channel [08:01] philhawksworth has left the channel [08:01] Skola: I'm just wondering if those are a bitch to write in JS [08:01] niftylettuce: dang tjholowaychuk kicked ass with git-extras [08:01] Skola: it's piss-easy in Haskell, with good performance [08:01] mjr_ has joined the channel [08:01] Skola: and pretty ok in Python [08:01] d0k has joined the channel [08:02] Skola: but I've only written front-end and network code in JS [08:03] Druide_ has joined the channel [08:04] mike5w3c_ has joined the channel [08:05] pibi has joined the channel [08:05] mhauri has joined the channel [08:05] Skola has joined the channel [08:05] SubStack: skript: just find a nice c lib and write some v8 bindings [08:05] Skola: was that meant for me I'm guessing? [08:05] SubStack: yes [08:06] skript: ^_- [08:06] skript: SubStack: you are a beast [08:06] skript: just sayin [08:06] Skola: I'll have a look, not too familiar with c libs for that purpose [08:06] SubStack: moo [08:06] herbySk has joined the channel [08:07] skript: your git repo makes me feel like a troll, i scrape and scrape the codes [08:07] skript: moo indeed [08:07] SubStack: Skola: here's a nice example to go off of: https://github.com/pkrumins/node-async [08:07] uchuff has joined the channel [08:07] FireFly|n900 has joined the channel [08:08] Skola: thank you [08:08] Skola: has plenty of moo as well [08:08] Skola: moo_request *moo_req = (moo_request *) [08:08] Skola: I'll dive in, thanks [08:09] Bj_o_rn has joined the channel [08:09] skript: SubStack: how long did it take you to create that node dependencies chart? [08:09] SubStack: few hours maybe? [08:09] SubStack: just screwing around [08:09] skript: really awesome stuff [08:09] skript: it looked cool anyway [08:09] Bj_o_rn has left the channel [08:10] SubStack: graphviz is a bit shit though [08:10] mc_greeny has joined the channel [08:10] markwubben has joined the channel [08:10] skript: ya, i was wondering what you used to build it [08:10] SubStack: or the libs to generate the graphs at least, the arrows are messed up in places [08:10] lackac has joined the channel [08:10] SubStack: easy to use though [08:11] desdur has joined the channel [08:11] hecticjeff has joined the channel [08:13] Bj_o_rn has joined the channel [08:14] Bj_o_rn has left the channel [08:15] mendel_ has joined the channel [08:16] asabil has joined the channel [08:17] piscisaureus has joined the channel [08:18] mhauri has joined the channel [08:19] eldios has joined the channel [08:19] jeremyselier has joined the channel [08:20] piscisaureus_ has joined the channel [08:22] mertimor_ has joined the channel [08:24] Xano has joined the channel [08:25] jeroen| has joined the channel [08:27] aron_ has joined the channel [08:29] MrGoodbyte_ has joined the channel [08:30] piscisaureus__ has joined the channel [08:30] kulor-uk has joined the channel [08:30] adrianmg has joined the channel [08:33] __tosh has joined the channel [08:34] davidbanham has joined the channel [08:35] mhauri has joined the channel [08:35] tosh has joined the channel [08:37] sh1mmer has joined the channel [08:38] rook2pawn has joined the channel [08:39] blup has joined the channel [08:44] SubStack: pyrotechnick: all fixed [08:46] Skola: j [08:46] Skola: oops [08:46] matyr has joined the channel [08:48] SubStack: making this common dir function its own module first though [08:48] iffy|x200 has joined the channel [08:49] ricroberts has joined the channel [08:49] adnam has joined the channel [08:52] ricroberts: Hello. My node app can't find a module that is installed via npm into the app's node_modules folder (globalize module) - but it can find others. Where should I start?! Thanks! [08:53] shinuza has joined the channel [08:56] markwubben has joined the channel [08:56] framlin: Skola: if its 'piss-easy in Haskell', that should be tha same in a functional language as JavaScript is ;) [08:57] framlin: ricroberts: typo? ;) [08:58] Skola: I know it should be [08:58] sendark has joined the channel [08:58] Skola: I'm working on a little library for myself that gives me the usual functions [08:58] ricroberts: globalize = require('globalize') [08:58] ricroberts: npm says globalize is installed [08:58] Skola: when that's ready, sailing should be a bit smoother [08:59] bzinger has joined the channel [09:00] ricroberts: ├── globalize@0.1.0a2 [09:01] ivanfi has joined the channel [09:06] zmbmartin has joined the channel [09:07] Jalava: is there performance issues considering use of setTimeout? [09:08] gozala has joined the channel [09:08] Jalava: we just removed one unneccessary setTimeout from our code that was only called if we ran out of time, and our system instantly stabilized [09:09] Jalava: thing is, it was rarely triggered, usually it was cleared before it went off [09:09] fyskij has joined the channel [09:09] Jalava: but we created about 30 setTimeouts per second [09:09] Ravatar has joined the channel [09:12] tim_smart has joined the channel [09:14] RC1140: hey all , anyone familiar with mongoose , im using the findOne method to see if a document exists , but in the callback if it doesnt exist i need to create a document , any ideas how [09:16] temp01 has joined the channel [09:16] bpierre has joined the channel [09:20] bnoordhuis has joined the channel [09:21] burningdog_ has joined the channel [09:23] niftylettuce: does anyone here know of a better way to do > (e.g.
) in markdown in consecutive rows? (link: http://stackoverflow.com/questions/3358056/multiple-blockquotes-in-a-row-using-markdown-syntax) [09:23] niftylettuce: (without having to do
) [09:26] Wizek has joined the channel [09:28] SubStack: pyrotechnick: all fixed [09:28] SubStack: browserify@1.2.4 [09:29] djcoin has joined the channel [09:32] zmbmartin has joined the channel [09:33] niftylettuce: SubStack++ [09:33] v8bot: niftylettuce has given a beer to SubStack. SubStack now has 40 beers. [09:33] niftylettuce: SubStack: gj ! [09:34] SubStack: I spun off a module to fix that bug even [09:34] niftylettuce: IE? [09:34] SubStack: because that's just how I roll [09:34] SubStack: https://github.com/substack/node-commondir [09:35] dgathright has joined the channel [09:38] jacter has joined the channel [09:39] jbpros has joined the channel [09:40] pen has joined the channel [09:48] Tocacar has joined the channel [09:50] Tocacar: Morning all. Can anyone confirm whether Node.js can be installed on Mac 10.5 please. [09:50] Skola: lol [09:50] Skola: yes can confirm that [09:51] Tocacar: Skola: Thanks for the quick response. I've tried the top two set of instructions here: https://gist.github.com/579814 but get an error at the make install stage on both [09:51] Tocacar: Build failed: -> task failed (err #1): [09:51] Tocacar: {task: cxx node_crypto.cc -> node_crypto_4.o} [09:51] bnoordhuis: Tocacar: do you have the openssl dev libraries installed? [09:52] bnoordhuis: Tocacar: ps: the actual error is some way up [09:52] Tocacar: bnoordhuis: No idea. Is there an easy way to check? [09:52] bnoordhuis: Tocacar: can you gist the complete build log? [09:52] Tocacar: Will do, two seconds. [09:52] fangel has joined the channel [09:53] ricroberts has left the channel [09:54] tbassetto has joined the channel [09:55] fermion has joined the channel [09:56] Tocacar: bnoordhuis: I put it on pastebin: http://pastebin.com/S8t8BnhA warning: I'm a beginner, so may not understand full-on tech-speak :) [09:56] julienXX has joined the channel [09:57] bnoordhuis: Tocacar: http://stackoverflow.com/questions/6118711/error-install-nodejs-ssl-comp-get-compression-methods :) [09:58] bnoordhuis: Tocacar: you have an older version of openssl installed [09:58] Tocacar: bnoordhuis: Thank you very much. I have no idea (don't even know what openssl is), sorry [09:59] mackelkin has joined the channel [09:59] jmalonzo has joined the channel [10:00] Tocacar: All I'm trying to do is set up my own workspace in Cloud9 IDE but need to run a node command to do it... I'm hoping I'm taking the right steps. :/ [10:00] remysharp has joined the channel [10:02] Xano has joined the channel [10:02] bnoordhuis: Tocacar: do you need https? [10:03] Tocacar: bnoordhuis: No (not at the moment anyway) [10:03] dall: guys i have a doubt about EJS [10:03] dall: someone use ejs template engine ? [10:03] bnoordhuis: Tocacar: it's probably easiest for you to build without ssl support then: `./configure --without-ssl` [10:05] Tocacar: bnoordhuis: You mean go back to the original install instructions and just include --without-ssl..? OK, I'll give that go. Thanks [10:05] bnoordhuis: Tocacar: good luck :) [10:06] Tocacar: bnoordhuis: Thank you. Have a great day :) [10:06] ParadoxQuine has joined the channel [10:06] bnoordhuis: Tocacar: you too! [10:08] Mrfloyd has joined the channel [10:11] sourcode has joined the channel [10:11] blippedxd has joined the channel [10:11] tbassetto has joined the channel [10:13] tbassetto: Hi. I'm looking for a really simple way to store data. Someone here, created a simple module providing a key-value store without installing a database on the server. Do you remember the name? [10:16] tbassetto: found: https://github.com/felixge/node-dirty [10:17] Tocacar: bnoordhuis: It worked. Thank you for your help. [10:17] dall: guys i have developed 3 .js file for my websites example1_com.js example2_com.js and example3_com.js now they can listen to 80 port without problem ? [10:18] bnoordhuis: Tocacar: my pleasure [10:19] SubStack: dall: you can ask the computer that question by running your scripts [10:20] aelaguiz has joined the channel [10:23] Hadaka: hello! npm 1.0.15 installation fails as it tries to write to /usr/lib/node_modules - how do I install it to my home directory? [10:23] dall: SubStack, asked.......the computer told me: fuck you Error: EADDRINUSE, Address already in use [10:24] SubStack: dall: looks like you want https://github.com/nodejitsu/node-http-proxy [10:25] SubStack: or else you can combine the functionality of all the modules with the module system [10:25] Nexxy: dall, your computer is very rude [10:25] dall: i see, thank you [10:25] Nexxy: mine would never speak to me that way [10:25] jefflarkin has joined the channel [10:26] dall: Nexxy, yes i know....at the moment i can't moderate it [10:27] Nexxy: computers these days [10:27] Nexxy: what with their swearing [10:27] Nexxy: oi vey [10:27] devuo has joined the channel [10:29] utaal has joined the channel [10:30] dall: guys someone use ejs ? [10:31] dall: I have one doubt, when i so ejs.render(str, { cache: true, filename: 'index', locals: {}}); i pass the code (str) to the render and it will cache it for the next request.....ok, my question is: why do i have to pass all the time the code (str) if it has been cached? i read the code using 'fs' module so i don't think is smart read the code always if it has been cached, no? [10:32] `3rdEden: dall it has a compile function as well [10:32] Hadaka: I managed to get npm installed to my home directory somewhat, but no binaries appear in ~/bin even though I have .npmrc set [10:34] dall: `3rdEden ? [10:35] dall: `3rdEden i mean...how to check if the file has been cached before to read it [10:35] dall: ? [10:35] dall: `3rdEden if it already been cached [10:35] `3rdEden: o [10:37] SubStack: dall: if you use express it handles all the caching and file loading [10:37] tuhoojabotti: it's 13:37 here! [10:37] Hadaka: arr, this is driving me nuts [10:37] tuhoojabotti: bwahaha [10:39] Hadaka: all the default scripts seem to use '-g' which seems to opt for global install - and if that is not used, I see nothing in my .bin [10:42] MattJ has joined the channel [10:44] Vertice has joined the channel [10:46] night_fox has joined the channel [10:47] night_fox: Hi, I'm having trouble getting the most basic cluster example working. [10:48] materialdesigner has joined the channel [10:49] night_fox: I get "Cannot find module " [10:50] night_fox: Here is the scipt: http://pastebin.com/4S9SWyBC [10:53] Tocacar_ has joined the channel [10:55] kulor-uk has joined the channel [10:57] night_fox: do I need to make my script a built-in module in order for cluster to find it? [10:58] FireFly|n900 has joined the channel [10:59] shirro has joined the channel [11:00] dexter_e has joined the channel [11:01] josephboyle has joined the channel [11:03] hackband has joined the channel [11:04] __doc__ has joined the channel [11:09] thalll has joined the channel [11:11] night_fox1 has joined the channel [11:11] night_fox1: hello! [11:15] mc_greeny has joined the channel [11:16] ditesh|cassini has joined the channel [11:17] josephboyle has joined the channel [11:19] night_fox: OK I sorted that out, it was my own stupidity. Now I get "Error EPERM, Operation not permitted" from Server._doListen (net.js 1101:5). Changing the file permissions and directory permissions to 777 doesn't have any effect. [11:20] niftylettuce: for the folks that use git here, when working with sub-branches do you prefer to "git fetch origin master && git rebase origin/master" or "git checkout master && git pull && git checkout sub-branch && git rebase master"? [11:22] davidbanham has joined the channel [11:22] niftylettuce: maybe wrong channel to ask in [11:22] SvenDowideit has joined the channel [11:22] aliem has joined the channel [11:23] Hadaka: puuh, I think I've managed to get npm to play along - I set .npmrc prefix to be my home directory, and now my "global" installs area actually to my home directory [11:23] bnoordhuis: niftylettuce: `git pull --rebase origin master`? you can always back out if you don't like the changes [11:24] joeytwiddle has joined the channel [11:26] Katibe has joined the channel [11:26] aliem has joined the channel [11:26] xandrews has joined the channel [11:28] necrodearia has joined the channel [11:28] josephboyle has joined the channel [11:29] niftylettuce: bnoordhuis: git rebase origin master (vs.) git pull --rebase origin master? -- same thing? [11:29] Xano has joined the channel [11:30] bnoordhuis: niftylettuce: `git pull --rebase` combines the fetch and rebase [11:30] mhauri has joined the channel [11:31] niftylettuce: bnoordhuis++ [11:31] v8bot: niftylettuce has given a beer to bnoordhuis. bnoordhuis now has 1 beers. [11:31] tuhoojabotti: niftylettuce++ [11:31] v8bot: tuhoojabotti has given a beer to niftylettuce. niftylettuce now has 2 beers. [11:36] svenlito has joined the channel [11:37] CIA-104: node: 03koichik 07master * r6c121ed 10/ (4 files in 3 dirs): [11:37] CIA-104: node: Fix mismatch createConnection and Socket.connect [11:37] CIA-104: node: net.createConnection() is wrapper for net.Socket.connect(), [11:37] CIA-104: node: but There is mismatch between them. [11:37] CIA-104: node: net.createConnection(port, [host]) [11:37] CIA-104: node: net.Socket.connect(port, [host], [callback]) [11:37] CIA-104: node: Fixes #1208. - http://bit.ly/iUjhkg [11:37] CIA-104: node: 03Ryan Dahl 07master * rf657d58 10/ (140 files in 19 dirs): Upgrade libuv to f9b9bb44bd6e2b74729b5d1ff481adf4213e9a0b - http://bit.ly/k89LkO [11:37] wink__ has joined the channel [11:42] bshumate has joined the channel [11:42] xandrews has joined the channel [11:45] mikeal has joined the channel [11:48] mertimor has joined the channel [11:50] davidbanham has joined the channel [11:50] Arenstar has joined the channel [11:52] patrickgamer has joined the channel [11:52] patrickgamer has left the channel [11:53] Xano has joined the channel [11:53] dexter_e has joined the channel [11:54] cognominal_ has joined the channel [11:55] mhauri has joined the channel [11:55] Bwen has joined the channel [11:56] zmbmartin has joined the channel [11:56] thejh has joined the channel [11:56] CIA-104: node: 03Henry Rawas 07master * r47a5d93 10/ (5 files in 3 dirs): Fix test-net-pingpong.js on windows - http://bit.ly/imU2Ed [11:56] CIA-104: node: 03Ryan Dahl 07master * r8cb5338 10/ test/simple/test-tcp-wrap-listen.js : Fix test-tcp-wrap-listen - http://bit.ly/kNl8e7 [11:56] tuhoojabotti: hoh [11:57] skript has joined the channel [11:59] svenlito has joined the channel [11:59] jtrudeau has joined the channel [12:00] jvduf has joined the channel [12:03] mertimor has joined the channel [12:04] path[l] has joined the channel [12:05] tim_smart: Another control flow library haha https://github.com/Tim-Smart/async-array [12:06] tim_smart: I got fustrated with my previous one >.> [12:07] kashima has joined the channel [12:09] kashima has joined the channel [12:10] blippedxd has joined the channel [12:10] Shrink has joined the channel [12:10] Shrink has joined the channel [12:10] lobstr has joined the channel [12:11] CIA-104: libuv: 03Matt Stevens 07master * rcaf1a99 10/ (7 files in 3 dirs): [12:11] CIA-104: libuv: IPv6 support [12:11] CIA-104: libuv: Fixes #70. [12:11] CIA-104: libuv: Fixes #19. - http://bit.ly/lnGQft [12:11] mobius-: Asterisk PBX Manager interface in node. (https://github.com/twmobius/node-shift8) [12:11] mobius-: any comments most welcome :) (it's work in progress) [12:11] CIA-104: libuv: 03Ryan Dahl 07master * rac005f0 10/ AUTHORS : Add Matt to the authors - http://bit.ly/m0ELqH [12:12] davidbanham has joined the channel [12:12] Xano has joined the channel [12:13] okuryu has joined the channel [12:13] mrryanjohnston has joined the channel [12:13] __tosh has joined the channel [12:14] mrryanjohnston: any domain name registrar recomendations? [12:15] blup: has anyone seen examples of how to connect node.io to a database (mongo/couchdb)? [12:15] tuhoojabotti: I use joker [12:16] kriszyp has joined the channel [12:17] mikedeboer has joined the channel [12:17] jonaslund has joined the channel [12:18] thomblake has joined the channel [12:20] robhawkes has joined the channel [12:21] brianseeders has joined the channel [12:22] shinuza: blup: https://github.com/joyent/node/wiki/modules [12:23] dyer has joined the channel [12:23] dyer has joined the channel [12:23] k1ttty has joined the channel [12:24] path[l] has joined the channel [12:24] bradleymeck_ has joined the channel [12:25] Katibe has joined the channel [12:26] davidbanham has joined the channel [12:26] CIA-104: libuv: 03Ryan Dahl 07master * r7b56134 10/ (8 files in 2 dirs): Rename uv_get_hrtime, uv_get_exepath to uv_hrtime, uv_exepath - http://bit.ly/lGUXnN [12:29] iffy|x200 has joined the channel [12:29] elpinguino has joined the channel [12:29] jarek has joined the channel [12:29] jarek has joined the channel [12:29] mike5w3c has joined the channel [12:30] amerinese has joined the channel [12:30] mandric has joined the channel [12:30] CIA-104: libuv: 03Ryan Dahl 07master * rfa51494 10/ (test/test-hrtime.c uv.h): Move around uv_hrtime in the header - http://bit.ly/itWjDK [12:30] jbpros has joined the channel [12:31] JoshC1 has joined the channel [12:32] zmbmartin has joined the channel [12:32] FireFly|n900 has joined the channel [12:32] tokumine has joined the channel [12:33] Katibe has joined the channel [12:37] burg has joined the channel [12:37] jomoho has joined the channel [12:37] Katibe has joined the channel [12:39] Tocacar has joined the channel [12:40] blup: shinuza: i know the module page, thanks - i'm looking for examples specific to node.io [12:44] pibi has left the channel [12:45] sirdancealot has joined the channel [12:47] Poetro has joined the channel [12:48] mc_greeny has joined the channel [12:49] robhawkes has joined the channel [12:51] blippedxd has joined the channel [12:54] Mrfloyd has joined the channel [12:54] thejh has joined the channel [12:54] criswell has joined the channel [12:54] rchavik has joined the channel [12:54] rchavik has joined the channel [12:55] xandrews has joined the channel [12:55] swilson06 has joined the channel [12:56] tjholowaychuk has joined the channel [12:57] Xano has joined the channel [12:58] AaronMT has joined the channel [13:03] aklt has joined the channel [13:04] jomoho has joined the channel [13:04] fumanchu182 has joined the channel [13:04] jscheel has joined the channel [13:04] jscheel has joined the channel [13:07] matyr has joined the channel [13:07] eldios has joined the channel [13:09] leahculver has joined the channel [13:09] leahculver has joined the channel [13:10] aelaguiz has joined the channel [13:10] davidsklar has joined the channel [13:12] asobrasil has joined the channel [13:15] meat_popsicle has joined the channel [13:15] replore_ has joined the channel [13:15] dtan has joined the channel [13:15] Xano has joined the channel [13:17] unibomb has joined the channel [13:19] EyePulp has joined the channel [13:21] ricroberts has joined the channel [13:23] F1LT3R has joined the channel [13:24] jlecker has joined the channel [13:24] willwhite has joined the channel [13:26] c4milo has joined the channel [13:27] saschagehlich has joined the channel [13:28] dtan has joined the channel [13:28] Illusioneer has joined the channel [13:30] pen has joined the channel [13:31] bogomips2__: hi, to use setInterval i must import timers ? [13:32] Illusioneer has left the channel [13:32] sourcode has joined the channel [13:32] tjholowaychuk: nope [13:32] tjholowaychuk: it's global [13:32] azeroth__ has joined the channel [13:32] jamarparris has joined the channel [13:32] unomi has joined the channel [13:32] sjbreen has joined the channel [13:33] bogomips2__: ah ok .. something does not works fine in my code, i've used setInterval, i don't get error but the console.log placed inside callback does not start [13:33] __tosh has joined the channel [13:33] fyskij has joined the channel [13:35] edude03 has left the channel [13:36] brolin has joined the channel [13:36] sudhirjonathan_ has joined the channel [13:36] ricroberts has left the channel [13:37] lobstr has joined the channel [13:38] MooGoo: code is helpful [13:40] ditesh|cassini has joined the channel [13:40] eyesUnclouded has joined the channel [13:40] avalanche123 has joined the channel [13:42] ksheurs has joined the channel [13:44] RC1140: hey guys anyone know of a decent twitter client for nodejs , i just need to post status messages , cant find anything that does it simply [13:44] ngs has joined the channel [13:45] RC1140: everyone seems to be doing streaming when it comes to twitter , i.e. reading of tweets [13:45] coyo has joined the channel [13:45] night_fox: why is cluster failing with EPERM? [13:46] abraham has joined the channel [13:46] devuo has joined the channel [13:46] kmiyashiro has joined the channel [13:47] kuya has joined the channel [13:47] aliem has joined the channel [13:51] cbibler_ has joined the channel [13:51] JJMalina has joined the channel [13:51] wlkh has joined the channel [13:52] bogomips2__: there is a way to use nodejs like a browser 's console to interact in debug time ? some module to allow input from stdin [13:53] mrryanjohnston has joined the channel [13:54] MooGoo: you mean the REPL? [13:54] tbassett has joined the channel [13:54] boaz_ has joined the channel [13:54] MooGoo: it's not exactly a debugger but [13:55] systemfault: bogomips2__: perhaps node-inspector [13:55] shanez has joined the channel [13:55] bogomips2__: i've found some module... node-prompt , ndb but i don't know the best way [13:55] bogomips2__: systemfault, thanks [13:55] ceej has joined the channel [13:56] systemfault: You're welcome [13:56] dall has joined the channel [13:56] dall: hello [13:56] saschagehlich has joined the channel [13:57] boaz has joined the channel [14:00] coyo has joined the channel [14:01] flasomm has joined the channel [14:02] Dreamer3 has joined the channel [14:02] mhauri has joined the channel [14:04] pietern has joined the channel [14:05] clifton has joined the channel [14:06] jslatts has joined the channel [14:09] mendel_ has joined the channel [14:11] m00p has joined the channel [14:14] dyer has joined the channel [14:14] dyer has joined the channel [14:14] berasa has joined the channel [14:14] baudehlo has joined the channel [14:14] devaholic has joined the channel [14:15] unomi has joined the channel [14:15] __tosh has joined the channel [14:17] broofa has joined the channel [14:17] sonnym1 has joined the channel [14:17] Tidwell has joined the channel [14:18] mapleman has joined the channel [14:20] brianc has joined the channel [14:21] coen-hyde has joined the channel [14:21] aklt: bnoordhuis: Hi! I noticed that the stream branch of node-iconv has a commit with comment "make tests" work,... can I try it out? [14:22] aklt: bnoordhuis: (I Don't mean to be impatient, just curious) [14:22] bnoordhuis: aklt: well - the 'make tests' comment was about making tests for the old interface pass (the internals have changed quite a bit) [14:22] softdrink has joined the channel [14:22] bnoordhuis: aklt: i did some more work on it yesterday but i haven't pushed that yet [14:23] CrypticSwarm has joined the channel [14:24] bogomips2__: http://pastebin.com/k6hdfWeR this simple code use setInterval and it workds fine in a browser but not in a node. in this experiments i don't import timers [14:25] Corren has joined the channel [14:25] aklt: bnoordhuis: Cool, I'm curious to have a look when I come back from vacation :-) [14:25] jonaslund: ryah_: is node gonna adopt dataview ? [14:25] Charuru has joined the channel [14:25] jonaslund: ryah_: from webgl ? [14:25] bogomips2__: but using timers i get the same result [14:26] davidsklar: bnoordhuis: try var autoclean = setInterval(interval, 1000); instead [14:26] davidsklar: pass the function name, not a string literal, to setInterval. [14:26] jonaslund: ryah_: It would solve many binary coding/decoding issues and be in common with what browsers support. https://developer.mozilla.org/en/JavaScript_typed_arrays/DataView [14:27] davidsklar: err, s/bnoordhuis/bogomips2__/g; in my comments above. sorry, guys :) [14:27] bogomips2__: davidsklar, thanks your solution works fine.... why there is a difference from browser syntax ? [14:27] bogomips2__: :D [14:27] steffan has joined the channel [14:28] systemfault: It's a good thing that a string doesn't work.. [14:28] jonaslund: ryah_: and/or the other typed arrays ? [14:28] matyr_ has joined the channel [14:28] davidsklar: bogomips2__: it's better not to use a string in the browser as well — that essential runs eval(), which is not as efficient and could have security problems depending on where your input is coming from [14:29] bogomips2__: ok thanks a lot [14:29] davidsklar: n/p :) [14:29] Swizec has joined the channel [14:29] coen-hyde: Question: How should I manage sensitive app configs (such as passwords) for separate development and production environments without commiting them into source control? I'm planning on deploying to no.de or nodejitsu [14:29] mapleman1 has joined the channel [14:30] MooGoo: just make sure your config files are being ignored by git [14:31] jonaslund: your build system could help out with pulling in config from external sources [14:31] Swizec has joined the channel [14:31] pifantastic has joined the channel [14:31] cryptix: SubStack: im playing with browserify. can i mix the simple and the npm style in the require: list? [14:31] coen-hyde: jonaslund: ah, that's interesting [14:32] jeremyselier has joined the channel [14:33] febits has joined the channel [14:33] azeroth_ has joined the channel [14:34] harth has joined the channel [14:34] spasquali has joined the channel [14:36] fostah has joined the channel [14:36] cryptix: SubStack: forget about it :) obviously i can [14:38] bronson has joined the channel [14:40] colinclark has joined the channel [14:40] broofa has joined the channel [14:40] brianloveswords has joined the channel [14:43] mandric has joined the channel [14:46] MrTopf_ has joined the channel [14:47] _jgr has joined the channel [14:47] jerrysv has joined the channel [14:47] mynyml has joined the channel [14:47] aliem has joined the channel [14:48] jbpros has joined the channel [14:50] jerrysv has joined the channel [14:51] jerrysv_ has joined the channel [14:53] ryah_: jonaslund: yes [14:53] jonaslund: <3 [14:53] ryah_: but we're really busy doing windows stuff at the moment [14:53] ryah_: so it might be a while [14:53] jonaslund: oh about that [14:53] sh1mmer has joined the channel [14:53] jonaslund: i've not seen pisci around here ? [14:54] ryah_: he's here [14:54] hal1on has joined the channel [14:54] jonaslund: yeah just noticed :) [14:54] bzinger has joined the channel [14:54] tuhoojabotti: Windows aye [14:54] hal1on has joined the channel [14:54] tolaine has joined the channel [14:54] muk_work has joined the channel [14:55] Atmoz has joined the channel [14:55] onr has joined the channel [14:55] hal1on has joined the channel [14:55] hal1on has joined the channel [14:56] hal1on has joined the channel [14:56] hal1on has joined the channel [14:57] hal1on has joined the channel [14:57] muk_work: howdy [14:57] MarcinM has joined the channel [14:57] matbee has joined the channel [14:57] hal1on has joined the channel [14:57] tjholowaychuk has joined the channel [14:58] hal1on has joined the channel [14:58] jerrysv has joined the channel [14:58] hal1on has joined the channel [14:58] elpinguino has joined the channel [14:59] kmiyashiro has joined the channel [14:59] hal1on has joined the channel [14:59] pifantastic_ has joined the channel [14:59] hal1on has joined the channel [15:00] hal1on has joined the channel [15:00] hal1on has joined the channel [15:01] spasquali has joined the channel [15:01] hij1nx has joined the channel [15:01] spasquali has left the channel [15:01] hal1on has joined the channel [15:01] hal1on has joined the channel [15:02] hal1on has joined the channel [15:02] fangel has joined the channel [15:02] hal1on has joined the channel [15:03] hal1on has joined the channel [15:04] hal1on has joined the channel [15:04] davidwalsh has joined the channel [15:04] broofa has joined the channel [15:04] jtsnow has joined the channel [15:04] hal1on has joined the channel [15:05] hal1on has joined the channel [15:05] rio{ has joined the channel [15:05] hal1on has joined the channel [15:06] hal1on has joined the channel [15:06] sub_pop has joined the channel [15:06] stepheneb has joined the channel [15:06] hal1on has joined the channel [15:07] hal1on has joined the channel [15:07] hal1on has joined the channel [15:08] hal1on has joined the channel [15:08] hal1on has joined the channel [15:08] hwinkel has joined the channel [15:09] hal1on has joined the channel [15:09] hal1on has joined the channel [15:10] hal1on has joined the channel [15:10] fyskij has joined the channel [15:10] hal1on has joined the channel [15:11] hal1on has joined the channel [15:11] hal1on has joined the channel [15:12] tjholowaychuk has joined the channel [15:12] hal1on has joined the channel [15:12] hal1on has joined the channel [15:13] hal1on has joined the channel [15:13] pjacobs has joined the channel [15:13] hal1on has joined the channel [15:14] RORgasm has joined the channel [15:14] jerrysv has joined the channel [15:14] hal1on has joined the channel [15:14] kjshdfhk has joined the channel [15:14] hal1on has joined the channel [15:15] srid has joined the channel [15:15] BillyBreen has joined the channel [15:15] hal1on has joined the channel [15:16] hal1on has joined the channel [15:16] hal1on has joined the channel [15:17] hal1on has joined the channel [15:17] aheckmann has joined the channel [15:17] hal1on has joined the channel [15:17] Xano has joined the channel [15:18] hal1on has joined the channel [15:18] hal1on has joined the channel [15:18] isaacs has joined the channel [15:19] hal1on has joined the channel [15:19] hal1on has joined the channel [15:19] nibblebot has joined the channel [15:20] hal1on has joined the channel [15:20] JohnnyL has joined the channel [15:20] JohnnyL: dag, a couple of days ago, there were only 470 people in here! [15:20] hal1on has joined the channel [15:21] mrryanjohnston: JohnnyL: :3 [15:21] mrryanjohnston: it's a revolution [15:21] hal1on has joined the channel [15:21] mrryanjohnston: (and probably tons and tons of irc bots) [15:21] hal1on has joined the channel [15:22] hal1on has joined the channel [15:22] hal1on has joined the channel [15:23] hal1on has joined the channel [15:23] TheFuzzball has joined the channel [15:23] wookiehangover has joined the channel [15:23] hal1on has joined the channel [15:24] hal1on has joined the channel [15:24] hal1on has joined the channel [15:25] hal1on has joined the channel [15:25] jarek has joined the channel [15:25] jarek has joined the channel [15:25] JohnnyL: mrryanjohnston: i should say so! :) [15:25] hal1on has joined the channel [15:26] hal1on has joined the channel [15:26] jshaw has joined the channel [15:26] jaywastaken has joined the channel [15:26] kjshdfhk: hi JohnnyL mrryanjohnston [15:27] hal1on has joined the channel [15:27] jaywastaken has joined the channel [15:27] jacobolus has joined the channel [15:27] hal1on has joined the channel [15:27] jaywastaken has left the channel [15:28] hal1on has joined the channel [15:28] mrryanjohnston: hi kjshdfhk [15:28] hal1on has joined the channel [15:29] hal1on has joined the channel [15:29] iammerrick has joined the channel [15:29] hal1on has joined the channel [15:30] hal1on has joined the channel [15:30] hal1on has joined the channel [15:31] hal1on has joined the channel [15:31] hal1on has joined the channel [15:32] hal1on has joined the channel [15:32] Swimming_bird has joined the channel [15:32] hal1on has joined the channel [15:33] hal1on has joined the channel [15:33] hal1on has joined the channel [15:34] eresair has joined the channel [15:34] thejh has joined the channel [15:34] hal1on has joined the channel [15:34] pifantastic has joined the channel [15:34] hal1on has joined the channel [15:35] hal1on has joined the channel [15:35] hal1on has joined the channel [15:36] hal1on has joined the channel [15:36] MarcinM has left the channel [15:36] hal1on has joined the channel [15:37] hal1on has joined the channel [15:37] hal1on has joined the channel [15:38] hal1on has joined the channel [15:38] JohnnyL: kjshdfhk [15:38] hal1on has joined the channel [15:39] hal1on has joined the channel [15:39] sirganya: I'm having trouble with make install... it can't find 'ares_build.h', any idea how I'd fix this? Ubuntu, EC2 Thanks [15:39] tk has joined the channel [15:40] hal1on has joined the channel [15:40] hal1on has joined the channel [15:41] txxt has joined the channel [15:41] hal1on has joined the channel [15:41] mrryanjohnston: sirganya: http://packages.ubuntu.com/natty/libc-ares-dev [15:41] mrryanjohnston: Did you try installing that? [15:41] hal1on has joined the channel [15:42] jakehow has joined the channel [15:42] hal1on has joined the channel [15:42] harth has joined the channel [15:42] txxt: hi. anyone know what error / dep missing can be this error : http://pastebin.com/pEtyNWd1 when doing "make" to compile NodeJS ? (on a CentOS btw) tks! [15:42] jtsnow has joined the channel [15:42] hal1on has joined the channel [15:42] Yoric has joined the channel [15:43] hal1on has joined the channel [15:43] hal1on has joined the channel [15:44] hal1on has joined the channel [15:44] FireFly|n900 has joined the channel [15:44] hal1on has joined the channel [15:45] hal1on has joined the channel [15:45] hal1on has joined the channel [15:46] hal1on has joined the channel [15:46] mrmanager has joined the channel [15:47] patrickjst has joined the channel [15:47] skript has joined the channel [15:48] KingJamool has joined the channel [15:48] robi42 has joined the channel [15:48] justicefries has joined the channel [15:49] flippyhead has joined the channel [15:50] sirganya: mrryanjohnston: thanks, that was missing [15:51] fille has joined the channel [15:52] fille: hello [15:52] fille has left the channel [15:52] anno^da has joined the channel [15:52] thejh has joined the channel [15:53] isaacs has joined the channel [15:53] Yuffster_work has joined the channel [15:54] fille has joined the channel [15:54] fille: anyone here from israel wanne meet up? [15:54] mandric has joined the channel [15:54] CrypticSwarm has joined the channel [15:54] stephank has joined the channel [15:55] rpflo has joined the channel [15:56] jerrysv has joined the channel [15:57] matyr has joined the channel [15:57] mange has joined the channel [15:58] Tocacar has left the channel [15:58] sivy has joined the channel [15:59] dmose has joined the channel [15:59] kmiyashiro has joined the channel [16:02] jarek has left the channel [16:02] catshirt has joined the channel [16:02] unlink has joined the channel [16:03] huge__ has joined the channel [16:03] mscdex_ has joined the channel [16:03] confoocious has joined the channel [16:03] confoocious has joined the channel [16:03] dmcquay has joined the channel [16:03] chkdsk has left the channel [16:03] jerrysv has joined the channel [16:03] Badababuba has joined the channel [16:03] configsys has joined the channel [16:04] year2013 has joined the channel [16:04] configsys: node.js rules! [16:04] kjshdfhk: just started but for now I agree [16:04] nopz___ has joined the channel [16:05] dgathright has joined the channel [16:05] kjshdfhk: hi nopz___ [16:06] Bwen: I agree with the rules too [16:06] Bwen: we should have order -.- [16:07] aude has joined the channel [16:07] configsys: hex yeah! [16:08] huge__: I tried to install yui3 which depends on yui3-core [16:08] donaldpcook has joined the channel [16:08] huge__: but everytime I require('yui3').YUI I got the same error [16:08] huge__: Error: YUI3 Core package was not found; npm install yui3-core [16:08] configsys: MooGoo: Calvin on vacation? [16:08] TooTallNate has joined the channel [16:08] bradleymeck_: is there a way to get npm to ignore engine compatibility? [16:09] isaacs: bradleymeck_: --node-version null [16:09] huge__: use engine: '*' ? [16:09] bradleymeck_: isaacs <3 [16:09] aconbere has joined the channel [16:09] MooGoo: configsys: not really I was just messing around with him so I logged him off of most chans [16:09] configsys: oh [16:10] catb0t has joined the channel [16:10] MooGoo: also the nazis at ##javascript dont seem to like bots that are not clearly named [16:10] MooGoo: .. 5 [16:10] catb0t: 135 [16:10] Bwen: .. 6 [16:10] catb0t: 136 [16:10] configsys: who cares about them when you have #node.js ! [16:10] Bwen: .. I am a banana [16:10] catb0t: SyntaxError: Unexpected identifier [16:10] MooGoo: indeed [16:11] MooGoo: damnit catb0t you still broken [16:11] MooGoo: I blame it on the sqlite module I'm using [16:11] gf3 has left the channel [16:11] gf3 has joined the channel [16:11] hdon has joined the channel [16:11] Bwen: is it a node bot? :P [16:11] catb0t has joined the channel [16:11] MooGoo: of course [16:11] configsys: i hope the infinite loop doesn't break him anymore :p [16:11] aconbere has joined the channel [16:12] aconbere has joined the channel [16:13] catb0t has joined the channel [16:14] rwaldron has joined the channel [16:14] isaacs: rwaldron: yo [16:14] rwaldron: isaacs hey dude, i actually _just_ sorted it out [16:14] isaacs: heh [16:14] isaacs: :) [16:14] rwaldron: but thank you regardless [16:15] isaacs: what was it? [16:15] rwaldron: (for the support invite) [16:15] rwaldron: this is a relatively newer machine [16:15] rwaldron: export NODE_PATH=/usr/local/lib/node/ [16:15] rwaldron: duh [16:15] isaacs: oh, you still on 0.x? [16:15] MooGoo: sigh still broken [16:15] huge__ has left the channel [16:15] rwaldron: isaacs one sec [16:16] rwaldron: hm i guess i am [16:16] rwaldron: ew [16:16] rwaldron: bummer [16:16] tisba has joined the channel [16:16] caolanm has joined the channel [16:18] isaacs: rwaldron: yeah, local installs are actually way less hard to get right for require() [16:18] rwaldron: i feel like _such_ a nitwit [16:18] vyvea has joined the channel [16:18] rwaldron: upgrading now [16:18] isaacs: rwaldron: and also, then you don't have to wonder why you installed stuff, since it's right there :) [16:18] rwaldron: right right [16:18] isaacs: rwaldron: kewl. be aware that it deletes everything that was installed with 0.x [16:18] rwaldron: local is actuall perferred for this project [16:18] isaacs: make a list when it tells you to make a list :) [16:18] rwaldron: since i need stuff on the client [16:18] isaacs: right [16:19] RushPL has joined the channel [16:19] rwaldron: all of this is up-to-date on my other machine [16:19] isaacs: ahh, yeah, multi-machine is tricky [16:19] rwaldron: i took for granted that I did what I expected myself to do [16:19] rwaldron: which i didnt do [16:20] ditesh|cassini has joined the channel [16:20] rwaldron: ok, thanks for your patience as always [16:20] rwaldron: l8z! [16:20] thalll has joined the channel [16:21] isaacs: np, have fun :) [16:21] wbw72 has joined the channel [16:23] p6 has joined the channel [16:23] mange has joined the channel [16:24] zwittar has joined the channel [16:24] mrryanjohnston: Feels really cool to know that after not knowing much javascript at all i'm starting to feel 100x more confident with it [16:28] justicefries_ has joined the channel [16:30] poic has joined the channel [16:30] softdrink: is anyone using bigtuna with node? [16:31] configsys: sounds fishy to me [16:31] antlong has joined the channel [16:31] poic: Hi, everybody! I have some troubles when installing Node on Ubuntu 10.04. I get the following error when building: /etc/node/deps/v8/src/hydrogen.cc:6056: internal compiler error: Segmentation fault [16:31] Draggor: puns are awful, cod it out [16:31] poic: Any ideas? [16:32] antlong: hello, I cloned into node, and im attempting an install on RHEL5 but its failing here: http://d.pr/Dd7E [16:32] Cleer has joined the channel [16:33] fille: anyone know if there is a htmlparser module for node.js [16:33] configsys: antlong: use node 0.4.8, not master [16:33] antlong: ok thanks configsys [16:34] configsys: poic: what arch? [16:34] configsys: poic: also, what version of node? [16:35] sethetter has joined the channel [16:35] sethetter has left the channel [16:35] fille: looking for BeautifulSoup for node.js [16:36] fille: anyone know what im talking about? [16:36] poic: configsys: arch? [16:36] balaa has joined the channel [16:36] saurabhverma has joined the channel [16:36] amerine has joined the channel [16:36] Corren has joined the channel [16:36] poic: configsys: Latest version I guess. Ran this: git clone --depth 1 https://github.com/joyent/node.git [16:36] balaa has left the channel [16:36] mrryanjohnston: are there still repl bots in here? [16:37] sethetter has joined the channel [16:37] balaa has joined the channel [16:37] jscheel: fille: check out node-soupselect [16:37] fille: jscheel thanks mate [16:37] jscheel: fille: np [16:37] Spotswood has joined the channel [16:37] tekky has joined the channel [16:37] highermath_away has joined the channel [16:38] davidascher has joined the channel [16:38] configsys: poic: do: `git checkout v0.4.8` and retry compiling [16:38] configsys: mrryanjohnston: well, there's always v8bot [16:39] configsys: v8: console.log('lol') [16:39] v8bot: configsys: "lol" [16:39] robi42 has joined the channel [16:39] mrryanjohnston: configsys: :) thanks [16:39] mrryanjohnston: v8: ()() [16:39] v8bot: mrryanjohnston: SyntaxError: Unexpected token ) [16:39] yozgrahame has joined the channel [16:40] jerrysv_ has joined the channel [16:40] tekky has joined the channel [16:40] Bwen: v8: (_._)(_._) [16:40] v8bot: Bwen: ReferenceError: _ is not defined [16:41] jerrysv has joined the channel [16:41] ryanj has joined the channel [16:43] poic: configsys: Got a new error: /etc/node/deps/v8/src/handles.cc: In function 'v8::internal::Handle v8::internal::DeleteProperty(v8::internal::Handle, v8::internal::Handle)': [16:43] poic: /etc/node/deps/v8/src/handles.cc:910: internal compiler error: Segmentation fault [16:44] configsys: poic: what version of gcc are you using? [16:44] poic: configsys: 4.4.3 [16:44] jbpros has joined the channel [16:45] mrryanjohnston: Bwen: totes was not going for that :P [16:45] mrryanjohnston: v8bot: (())() [16:45] v8bot: mrryanjohnston: Use v8: to evaluate code or "`v commands" for a list of v8bot commands. [16:45] jerrysv has joined the channel [16:45] mrryanjohnston: oops [16:45] AaronMT has joined the channel [16:45] mrryanjohnston: v8: (())() [16:45] v8bot: mrryanjohnston: SyntaxError: Unexpected token ) [16:46] jerrysv: v8: a = /a/g; a('a'); [16:46] v8bot: jerrysv: ["a"] [16:46] rfay has joined the channel [16:46] aron_ has joined the channel [16:47] dgathright has joined the channel [16:47] jshaw: i'm having trouble spawning a process, i keep getting: execvp(): No such file or directory, and the child is exiting with code 127, and a null signal [16:49] matyr has joined the channel [16:51] mrryanjohnston: v8: () [16:51] v8bot: mrryanjohnston: SyntaxError: Unexpected token ) [16:51] mrryanjohnston: huh. [16:51] poic: configsys: ping (or does anyone else got any idea about what's causing my problem?) [16:51] mrryanjohnston: v8: (); [16:51] v8bot: mrryanjohnston: SyntaxError: Unexpected token ) [16:51] mrryanjohnston: v8: (6); [16:51] v8bot: mrryanjohnston: 6 [16:51] mrryanjohnston: v8: (()); [16:51] v8bot: mrryanjohnston: SyntaxError: Unexpected token ) [16:51] mrryanjohnston: v8: ((6)); [16:51] v8bot: mrryanjohnston: 6 [16:53] jerrysv_ has joined the channel [16:54] jeroen| has joined the channel [16:55] febits has joined the channel [16:56] zwittar has joined the channel [16:57] topaxi has joined the channel [16:57] springmeyer has joined the channel [16:57] felixge has joined the channel [16:57] felixge has joined the channel [16:58] bergie has joined the channel [16:58] kmiyashiro has joined the channel [16:58] swilson06 has joined the channel [16:58] elpinguino has joined the channel [16:59] thejh has left the channel [17:01] jacobolus has joined the channel [17:02] tekky has joined the channel [17:03] eyesUnclouded has joined the channel [17:03] thejh has joined the channel [17:03] poic: Will bump my problem again: I have some troubles when installing Node on Ubuntu 10.04. I get the following error when building: /etc/node/deps/v8/src/hydrogen.cc:6056: internal compiler error: Segmentation fault [17:04] Spion has joined the channel [17:04] mjr_ has joined the channel [17:04] jj0hns0n has joined the channel [17:06] luisloaiza has joined the channel [17:06] vid___ has joined the channel [17:08] admc1 has joined the channel [17:08] RickardL has joined the channel [17:09] Country has joined the channel [17:10] Yoric has joined the channel [17:10] bartt has joined the channel [17:11] eee_c has joined the channel [17:12] pandeiro has joined the channel [17:13] bene has joined the channel [17:13] seawise_ has joined the channel [17:14] bene has left the channel [17:14] Skola has joined the channel [17:14] amaudy has joined the channel [17:14] Poetro1 has joined the channel [17:15] blup has joined the channel [17:16] tyler-iphone_ has joined the channel [17:16] cbibler___ has joined the channel [17:16] sgentle_ has joined the channel [17:17] Tobias|| has joined the channel [17:17] Martz^ has joined the channel [17:17] Martz has joined the channel [17:17] qbit_ has joined the channel [17:17] steadicat has joined the channel [17:18] agupta has joined the channel [17:18] qbit_: anyone doing stuff with openlayers on serverside node? kinda like : http://erilem.wordpress.com/2010/03/14/server-side-openlayers/ [17:18] qbit_: ? [17:18] justicefries has joined the channel [17:18] perezd has joined the channel [17:19] dispalt has joined the channel [17:19] kixxauth has joined the channel [17:20] boehm has joined the channel [17:20] Murvin has joined the channel [17:21] KaoruAoiShiho has joined the channel [17:21] hydrozen has joined the channel [17:22] seanrucker has joined the channel [17:22] Renegade001 has joined the channel [17:22] hydrozen: Hi there. Just wondering, which database is the most used alongside nodejs apps? Is there one where the integration with node.js is much more mature? [17:22] seanrucker: Anyone know how to get socket.io 0.7 working on Heroku Cedar? [17:23] RickardL: hydrozen: Depends on what type of database you need [17:23] RickardL: Relational or NoSQL / Document [17:23] creationix has joined the channel [17:23] RickardL: key value etc.. [17:23] hij1nx has joined the channel [17:23] steffan has joined the channel [17:23] hydrozen: my needs are pretty simple... I've never used a NoSQL database yet really. [17:23] tk has joined the channel [17:24] dve has joined the channel [17:24] hydrozen: so my first thought was to go with MySQL and sequilize [17:24] configsys: poic: i'm not sure what to tell you, i build the latest stable version of node regularly on 10.04 [17:24] hydrozen: there wont be much tables that's for sure [17:25] dshaw_ has joined the channel [17:25] skript_ has joined the channel [17:25] RickardL: Well, I see no problem using them [17:25] hydrozen: how tricky is it to query NoSQL databases [17:25] RickardL: But I'd recommend trying out mongodb, it's really classy [17:25] hydrozen: is the workflow that much different? [17:26] RickardL: no, not much - it's a just a different way of expressing your model [17:27] nibblebot: you also don't do joins and sometimes need to cobble data structures together app side instead of DB side [17:27] RickardL: It's making it efficient, which makes it harder [17:27] ctide: is it possible to attach a connect.session to an express server after the server and endpoints have been defined? [17:27] ctide: https://gist.github.com/81274b09705e95f0b3f6 [17:27] ctide: i use a start function to pass in various config settings (part of which are used to define where sessions are stored) [17:28] ctide: but it seems that unless i have the app.use(connect.session) stuff physically above all the endpoints in the file [17:28] ctide: req.session isn't defined for any requests [17:28] hackband has joined the channel [17:28] ctide: or if what i'm doing isn't possible, how would one go about this? wrap all the endpoints within the start function? [17:29] vid___ has joined the channel [17:29] RickardL: hydrozen, there are a infinite amount of guides and tutorials on how to begin with mongodb + node.js [17:29] hydrozen: RickardL: yeah i can imagine [17:30] hydrozen: i was wondering which to try between mongodb, couchdb, redis, etc. [17:30] hydrozen: so many choices [17:30] sweetd has joined the channel [17:30] RickardL: yeah, it's a hard pick, there are some comparisions - but it's up to how you want to use it [17:32] steffan has joined the channel [17:32] poic: configsys: Ok, thank you for your help anyway :) [17:32] poic: Posted my problem here http://stackoverflow.com/questions/6510658/cant-build-node-js-on-ubuntu-10-04 [17:33] robhawkes has joined the channel [17:33] _beau: im a big mongodb fan, and i've heard great thigns about couch [17:34] jacobolu_ has joined the channel [17:34] _beau: redis has its uses, but i tend to stay away from it for my main DB [17:34] _beau: the pub/sub on it works great :) [17:35] hydrozen: I also have another architectural question. My app has clients which are all connected via sockets (socket.io). Then, another system needs to talk to my node.js app which will then send messages to some of the clients through the sockets. Should that other system be connected via socket to my nodejs app too, or should I just use a more regular web service in that case? [17:36] sonnym1 has joined the channel [17:37] AvianFlu has joined the channel [17:37] bradleymeck_: hydrozen depends on if you need duplex connections (bidirectional communication) [17:37] `3rdEden has joined the channel [17:38] hydrozen: bradleymeck_: no theorically that other system will only send "messages" to the nodejs app, but the nodejs app doesnt need to talk to that other system. [17:38] _beau: hydrozen: this is what i use redis pub/sub for [17:39] Mrfloyd has joined the channel [17:40] hydrozen: _beau: something like https://github.com/maccman/juggernaut ? [17:40] _beau: yes, but not nearly that complicated [17:41] _beau: https://github.com/sorensen/aebleskiver/blob/master/lib/backbone-pubsub.js [17:41] Destos has joined the channel [17:41] _beau: is my direct use of it [17:42] _beau: there is also http://thoonk.com [17:42] CrabDude has joined the channel [17:42] _beau: which looks promising [17:43] _beau: i've been pretty impressed with the &yet team, went down to a meetup of theirs a few weeks back, pretty smart cookies [17:43] Prometheus: zeromq tbh :) [17:44] Prometheus: much more flexible, blazing fast... [17:46] tbranyen: zeromq looks great [17:47] supster has joined the channel [17:47] Prometheus: (and there's a node library!) [17:48] tbranyen: yea [17:49] tbranyen: Prometheus: faye looks interesting as well, but not nearly as many libs written [17:49] aliem has joined the channel [17:49] seawise_ has joined the channel [17:50] _beau: never found the zermq node lib [17:50] Aiden has joined the channel [17:50] liar has joined the channel [17:50] RickardL: why not rabbitmq? [17:51] tbranyen: _beau: heh i found it after looking for about a minute [17:51] Prometheus: RickardL: it's kind of heavy duty [17:51] Prometheus: zeromq is much more lower level (kind of like Node) [17:51] Prometheus: rabbit's overhead is... a lot [17:51] Prometheus: at least, from my experience :) [17:52] tbranyen: yeah it looks siginficantly more complex to work with as well [17:52] RickardL: rabbitmq has great plugins [17:52] RickardL: random-exchange for example, which can distribute a message to a random queue in a given set of topics [17:53] RickardL: Solved my problem atleast, for load balancing between agents [17:53] lukegalea has joined the channel [17:53] onr has joined the channel [17:55] etaty has joined the channel [17:55] pifantastic_ has joined the channel [17:55] RickardL: But as you said, there might a price to pay for that somewhere [17:56] sridatta has joined the channel [17:56] brolin has joined the channel [17:58] jtrally has joined the channel [17:58] Swimming_bird has joined the channel [17:58] sridatta: hey guys, i have a program that deals with many TCP connections. I've called setNoDelay() on all of them but my messages still get split up due to Nagle/buffering [17:58] jtrally: is anyone here using node-xmpp? [17:58] sridatta: is there a particular manner in which I must call setnodelay? [17:58] antlong: help please; npm will not install anything, http://d.pr/kgfq [17:58] danlsgiga has joined the channel [18:00] lukegalea has joined the channel [18:01] TheFuzzball has joined the channel [18:01] twoism has joined the channel [18:02] bermi has joined the channel [18:02] dgathright has joined the channel [18:02] dtan has joined the channel [18:04] danlsgiga has left the channel [18:06] RickardL: antlong: See http://help.directadmin.com/item.php?id=220 [18:07] antlong: RickardL: tyvm [18:08] EyePulp has joined the channel [18:08] SSgtSpoon|work has joined the channel [18:09] RickardL: no problem! [18:09] criswell has joined the channel [18:09] antlong: RickardL: ahh, worked perfectly. :D [18:11] cjm has joined the channel [18:11] oberhamsi_ has joined the channel [18:13] hwinkel has joined the channel [18:14] rwaldron has joined the channel [18:16] oberhamsi_: does node understand package.json's directories.lib? did i miss something? http://pastebin.com/1GqLdSAV can't find a mention of it in node docs [18:16] bradleymeck_: use main not lib [18:17] ShreeKavi has joined the channel [18:18] oberhamsi_: bradleymeck_, okay. there is no way to access any other file in that folder? other than main [18:18] PeterPeterPeter has joined the channel [18:21] bradleymeck_: oberhamsi_ require works just fine [18:21] bradleymeck_: just relative path it to your main file [18:21] tilgovi has joined the channel [18:21] tilgovi has joined the channel [18:22] thejh has joined the channel [18:22] aguynamedben has joined the channel [18:22] ngs has joined the channel [18:23] sely has joined the channel [18:23] sudhirjonathan_ has joined the channel [18:23] oberhamsi_: bradleymeck_, sorry, i'm not sure i understand. what would i do in my example? you mean export other modules in main, right? [18:25] blup has joined the channel [18:26] knuthy has joined the channel [18:27] jbpros has joined the channel [18:27] jhurliman has joined the channel [18:28] bradleymeck_: oberhamsi_ well since the package is not in a node_modules directory it wont be found by node to get the global name "sticky" it will just be a regular require [18:28] zeade has joined the channel [18:29] jvduf has joined the channel [18:29] jarek has joined the channel [18:29] jarek has joined the channel [18:31] sridatta has joined the channel [18:32] gavin_huang has joined the channel [18:32] aron_ has joined the channel [18:32] oberhamsi_: bradleymeck_, sorry... noobe. "/usr/local/lib/node" shows up in require.paths so i thought... [18:33] Lorentz has joined the channel [18:34] vid___ has joined the channel [18:35] bradleymeck_: oberhamsi? node will check the for a node_modules folder up the directory chain and use that as the local imports, after that there is a global node_modules folder, but you were expecting ...? [18:37] dtan has joined the channel [18:41] oberhamsi_: bradleymeck_, require('stick') works as i would expect. 'stick' is a folder in /usr/local/lib/node/, it has a package.json with "main" set [18:41] oberhamsi_: but, say, i want to require this file: /usr/local/lib/node/stick/foo/bar.js (which is *not* main). is there a way to do that? [18:43] necrodearia has joined the channel [18:43] TroyMG has joined the channel [18:44] Robert___ has joined the channel [18:44] liquidproof has joined the channel [18:44] bradleymeck_: oberhamsi_ no, node does not allow rooting folders like that to my knowledge. makes sense though since modules should only have 1 entry point, if you need to make multiple submodules it should probably be split up [18:44] RobrtPitt: Hey Guys [18:44] oberhamsi_: bradleymeck_, thank you for answers. [18:46] Prometheus: RickardL: the thing is, you can make a lot of those things quite easily with zeromq [18:46] RobrtPitt: Great news about Microsoft contributing to an Open Source project like Node :) [18:46] Prometheus: it gives you more control, imho [18:46] Prometheus: granted, if rabbit provides you with something out of the box, might be better to go with :) [18:46] skapism has joined the channel [18:47] b_erb has joined the channel [18:47] skapism: In express.js, if I want to bind static requests to a folder that's not inside the current execution folder (i.e. not something like app.use('/public', express.static(__dirname+'/public')); how would I do that? [18:48] skapism: specifically, I want to bind to ../public, not to __dirname/public [18:48] insin has joined the channel [18:48] RobrtPitt: can you not jsut do: express.static('/usr/you/public') [18:48] Swizec has joined the channel [18:48] Draggor: RobrtPitt: what'd they do? [18:49] skapism: I want relative paths though [18:49] RobrtPitt: then use, ../../../ [18:49] skapism: I tried '../public', that doesn'T work [18:49] b_erb: excuse my channel abuse, but one question to native english speakers: is "2010-07-17T18:54:11.939Z" [18:49] b_erb: rather a "time" or a "date" indication? obviously it is both, but i can't find a single term for that [18:49] bradleymeck_: skapism path.join(__dirname,'..','public') [18:49] RobrtPitt: use require("path") library to find the absolut path from the relative path [18:50] jerrysv has joined the channel [18:50] skapism: bradleymeck_: lemma try that [18:50] RobrtPitt: Dragger: In ragards to Microsoft ? [18:50] Draggor: RobrtPitt: yeah [18:50] RobrtPitt: There supporting the development of Node on Windows [18:51] RobrtPitt: Dragger: http://blog.nodejs.org/2011/06/23/porting-node-to-windows-with-microsoft’s-help/ [18:51] Draggor: Oh, interesting [18:51] _beau: yeah, very cool [18:51] Draggor: That'll make using node for client apps much much easier [18:53] RobrtPitt: Well, If they create a a library of IT Tools for organizations running an internal network, such as LDAP Libs etc, then it will take of on windows, but on linux it will always be used for general network and web rather then management [18:53] Skola: how do I test async fike io? :[] [18:53] Skola: file* [18:53] altamic has joined the channel [18:54] RobrtPitt: Skola, What you mean ? [18:54] bradleymeck_: robrtpitt rather than management? we have some IT tools already, are there some you are looking for in particular beyond managing machines / passkeys? [18:54] boaz has joined the channel [18:54] bradleymeck_: Skola, vows or expresso support async testing [18:54] Skola: ok cheers [18:54] jerrysv has joined the channel [18:55] Aiden has joined the channel [18:55] RobrtPitt: bradleymeck_: mainly i was thinking about manageming systems such as Active Directory, Exchange, Cisco and Phone systems, Reporting tools etc (Windows mainly) [18:55] TroyMG has joined the channel [18:55] tjholowaychuk has joined the channel [18:56] tjholowaychuk: fuck [18:56] tjholowaychuk: stupid canada [18:56] RobrtPitt: tjholowaychuk: lol, Whats up [18:56] Draggor: tjholowaychuk: Yeah, I'm about to go there [18:56] tjholowaychuk: wrong channel [18:56] tjholowaychuk: haha [18:56] tjholowaychuk: my bad [18:57] RickardL: Prometheus: Interesting, do you know of any implementation of load balancing with zeromq, among consumers? [18:57] Prometheus: hang on [18:58] Draggor: tjholowaychuk: Still doesn't quell the curiosity, heh [18:58] configsys: yeah! screw canada! [18:58] configsys: :-D [18:58] RickardL: lol [18:59] tjholowaychuk: i'm too late for my hst housing rebate [18:59] bradleymeck_: robrtpitt most of those are not really priorities, compared to applications that are deployed as services, I would write bindings to things but the windows dll loader does make things interesting when trying to pull in c++ modules for node [18:59] Prometheus: RickardL: http://nichol.as/zeromq-an-introduction and http://zguide.zeromq.org/page:all mention a good bunch of information on load balancing and such [18:59] Prometheus: well, mostly the second one [18:59] Prometheus: that first one is just a really good introduction [18:59] niftylettuce: tjholowaychuk: heres the workflow https://gist.github.com/21ae54bade48c8c39443 -- any ? [19:00] configsys: i think there is an ldap module for node at least [19:00] configsys: and cisco stuff is fairly easy.... depending on what you're doing i guess [19:00] niftylettuce: tjholowaychuk: some say in #git I shouldn't do --squash [19:00] rick_ has joined the channel [19:00] pifantastic has joined the channel [19:00] tjholowaychuk: i've never even seen --squash [19:01] configsys: --squish [19:01] configsys: :-D [19:01] dmcquay has joined the channel [19:01] RickardL: *reading* [19:01] RobrtPitt: bradleymeck_: So hopefully the development of node.exe will improve the way libraries are created, meaning that some things that are not priorities may become more used. [19:01] configsys: --pulverize [19:01] Prometheus: I think squash is pretty new stuff [19:01] Prometheus: relatively :) [19:01] tjholowaychuk: what does it do [19:01] niftylettuce: " squash removes any linkage between your original branch and the commit you made on the other branch." [19:02] tjholowaychuk: niftylettuce i just use git-extra's feature etc stuff. like $ git feature my-feature; git feature finish my-feature [19:02] tjholowaychuk: nothing fancy [19:02] niftylettuce: tjholowaychuk: yeah i was looking at your repo for that [19:02] mrryanjohnston: howdy, tjholowaychuk! :) [19:02] maushu has joined the channel [19:02] tjholowaychuk: yo [19:02] configsys: RobrtPitt: i think the problem may be that a lot of that extra libs that will come with windows may be sync [19:02] Prometheus: tjholowaychuk: git-flow? [19:02] tjholowaychuk: meh [19:03] FireFly|n900 has joined the channel [19:03] configsys: and as sonic says, "that's no good!" [19:03] tjholowaychuk: dont really need stuff like that, I have aliases for everything so it doesnt matter much $ gcob my-feature etc [19:03] tjholowaychuk: ugly [19:03] tjholowaychuk: but it's fast and works [19:03] Prometheus: right [19:03] Prometheus: git doesn't handle slashes very well in branch names :) [19:04] Prometheus: at least, without that stuff [19:04] JaKWaC|Phone has joined the channel [19:04] tjholowaychuk: git flow feature start foo [19:04] tjholowaychuk: is pretty verbose [19:04] tjholowaychuk: gffs foo [19:04] tjholowaychuk: haha [19:04] tjholowaychuk: i dunno [19:04] RobrtPitt: config, that's a good point, im not 100% tech head when it cmes to the way windows kernal handles event's etc, but im sure they will be more information released at a later data. [19:06] niftylettuce: gffffffffffffffffff [19:06] configsys: well, i mean you can do async stuff in windows, as libuv is evidence of that. however, you can't assume that some random windows or other libraries are async [19:06] configsys: such as an ldap client and whatnot [19:06] chjj has joined the channel [19:06] Prometheus: tjholowaychuk: btw, awesome work you've put out [19:06] Prometheus: it's pretty amazing how much different tools and such you have out there [19:06] hackband has joined the channel [19:06] tjholowaychuk: thanks man [19:07] vyvea_ has joined the channel [19:07] chjj: long shot, anyone know how to parse a wps file? [19:07] RobrtPitt: Well LDAP Is just a protocol right, it should work in the same way as HTTP, Where you you tell the kernal to send some info, and wwhen a packet comes in to fire an event [19:08] RobrtPitt: wps = failed word document [19:08] bradleymeck_: true but some libraries explicitly expect threads and purposefully try to kill the thread on error (example: libgmp) [19:08] chjj: yes it is [19:08] b_erb has left the channel [19:08] CIA-104: libuv: 03Ryan Dahl 07master * r796621c 10/ (test/test-gethostbyname.c uv-unix.c uv-unix.h): Implement c-ares on unix. - http://bit.ly/jXhssh [19:08] CIA-104: libuv: 03Ryan Dahl 07master * r5785961 10/ (uv-common.c uv-win.c uv-win.h uv.h uv-common.h): uv_ares utility methods put into new uv-common.c file - http://bit.ly/jFdnyO [19:09] tjholowaychuk: woah [19:09] tjholowaychuk: haven't seen a commit in here for a while [19:09] chjj: i have a corrupt wps file, has data in it i need, i went through it and dropped all the nul or non-ascii bytes, theres some sembelance of what was there [19:09] RobrtPitt: bradleymeck_: yea, but if the libraries was written from scratch inside node without using the native ldap_suite.dll file, and using the RFC And barbone sockets and what not, then should be able to be ported as expected right [19:09] ekryski has joined the channel [19:09] bradleymeck_: robrtpitt in theory [19:09] gkmngrgn has joined the channel [19:10] RobrtPitt: bradleymeck_: yea speculation will be the death of us all lol [19:10] gkmngrgn has joined the channel [19:11] bradleymeck_: the windows loader is waaay different than unix so getting c++ stuff to be 100% on windows is a nightmare [19:11] CIA-104: libuv: 03Ryan Dahl 07master * r5b7cfe4 10/ test/benchmark-sizes.c : unbreak 'make bench' - http://bit.ly/lgG7Pv [19:11] michigan101 has joined the channel [19:11] RobrtPitt: well, If Ryan takes a large active support in the microsoft team then he may learn them 1 or 2 things about speed and performance, who knows hehe [19:12] hwinkel has joined the channel [19:12] elpinguino has joined the channel [19:12] seanrucker has left the channel [19:12] jerrysv has joined the channel [19:13] jameson has joined the channel [19:13] Draggor: That's what forking is for :3 [19:14] eyesUnclouded has joined the channel [19:14] configsys: wps = word perfect document? [19:14] configsys: :p [19:14] RobrtPitt: :> [19:14] chapel: tjholowaychuk++ [19:14] v8bot: chapel has given a beer to tjholowaychuk. tjholowaychuk now has 37 beers. [19:14] chapel: git-extras looks awesome [19:14] tjholowaychuk: beer? [19:14] tjholowaychuk: ah [19:14] tjholowaychuk: :D [19:15] tjholowaychuk: I want percentages for git-summary! [19:15] RobrtPitt: someone give me a bear :) [19:15] tjholowaychuk: then i'll be happy [19:15] tjholowaychuk: RobrtPitt++ [19:15] v8bot: tjholowaychuk has given a beer to RobrtPitt. RobrtPitt now has 1 beers. [19:15] configsys: chjj: is it a binary or xml word file? [19:15] tjholowaychuk: ++RobertPitt [19:15] RobrtPitt: w00t [19:15] tjholowaychuk: fail [19:15] RobrtPitt: lol [19:15] tjholowaychuk: postfix only [19:15] RobrtPitt: tjholowaychuk-- [19:15] v8bot: tjholowaychuk is getting too many beers. Don't let tjholowaychuk get drunk! [19:15] RobrtPitt: lol [19:15] tjholowaychuk: RobrtPitt += 5 [19:15] configsys: tjholowaychuk -= canada [19:16] tjholowaychuk: haha [19:16] tjholowaychuk: canada-- [19:16] v8bot: tjholowaychuk has taken a beer from canada. canada now has -1 beers. [19:16] configsys: !! [19:16] Murvin: tjholowaychuk: may be not beer.. but *other* stuff. lol [19:16] RobrtPitt: (tjholowaychuk++)++ [19:16] MichealBenedict has joined the channel [19:16] tjholowaychuk: ++ [19:16] tjholowaychuk: damn [19:17] twoism has joined the channel [19:17] michigan101 has joined the channel [19:17] michigan101: https://market.android.com/details?id=com.game.WarStrategy [19:17] michigan101 has left the channel [19:18] bitwise_ has joined the channel [19:19] RobrtPitt: v8bot: function beers(user){this.beers = 0; this.user = user}; beers.prototype.add = function(howmany){this.beers += howmany; console.log(this.user + " now has " + this.beers + " beers");}; Beer = new beets("RobertPitt")l Beers.add(22); [19:19] v8bot: RobrtPitt: Use v8: to evaluate code or "`v commands" for a list of v8bot commands. [19:19] leahculver has joined the channel [19:19] alessio_alex has joined the channel [19:19] RobrtPitt: v8: function beers(user){this.beers = 0; this.user = user}; beers.prototype.add = function(howmany){this.beers += howmany; console.log(this.user + " now has " + this.beers + " beers");}; Beer = new beets("RobertPitt")l Beers.add(22); [19:19] v8bot: RobrtPitt: SyntaxError: Unexpected identifier [19:19] RobrtPitt: mweh, cba lol [19:19] Prism has joined the channel [19:20] RobrtPitt: v8: function beers(user){this.beers = 0; this.user = user}; beers.prototype.add = function(howmany){this.beers += howmany; console.log(this.user + " now has " + this.beers + " beers");}; Beer = new beets("RobertPitt"); Beers.add(22); [19:20] v8bot: RobrtPitt: ReferenceError: beets is not defined [19:20] RobrtPitt: v8: function beers(user){this.beers = 0; this.user = user}; beers.prototype.add = function(howmany){this.beers += howmany; console.log(this.user + " now has " + this.beers + " beers");}; Beer = new beers("RobertPitt"); Beers.add(22); [19:20] v8bot: RobrtPitt: ReferenceError: Beers is not defined [19:20] RobrtPitt: v8: function beers(user){this.beers = 0; this.user = user}; beers.prototype.add = function(howmany){this.beers += howmany; console.log(this.user + " now has " + this.beers + " beers");}; var Beer = new beers("RobertPitt"); Beers.add(22); [19:20] v8bot: RobrtPitt: ReferenceError: Beers is not defined [19:20] Prometheus: uhm [19:20] Prometheus: =P [19:20] halfhalo-mobile: well then [19:20] RobrtPitt: v8: function beers(user){this.beers = 0; this.user = user}; beers.prototype.add = function(howmany){this.beers += howmany; console.log(this.user + " now has " + this.beers + " beers");}; var Beer = new beers("RobertPitt"); Beer.add(22); [19:20] v8bot: RobrtPitt: "RobertPitt now has 22 beers" [19:21] RobrtPitt: woot [19:21] RobrtPitt: v8: Beer.add(2) [19:21] v8bot: RobrtPitt: ReferenceError: Beer is not defined [19:21] mrryanjohnston: ACTION sad horn [19:22] RickardL: yes :/ [19:22] twoism has joined the channel [19:22] RickardL: A world without beer, I'd kill my process [19:23] thejh: v8: console [19:23] v8bot: thejh: {log:function (x){console.out.push(pp…,out:[]} [19:23] thejh: v8: require [19:23] v8bot: thejh: ReferenceError: require is not defined [19:23] configsys: just v8, no node [19:23] configsys: :) [19:23] RobrtPitt: lol [19:23] thejh: humm... [19:24] thejh: v8: debug [19:24] v8bot: thejh: ReferenceError: debug is not defined [19:24] Bonuspunkt: well its node but sandboxed [19:24] RobrtPitt: v8: this [19:24] v8bot: RobrtPitt: {console:{log:function (x){console.out.push(pp…,out:[]},print:function print(x){console.log(x)…,pp:function pp(o,depth){return pp_r…,pp_r:function pp_r(o,d){var a=[],p if…} [19:24] mrryanjohnston: isn't require a connect thing? [19:24] Skola: nope [19:24] Bonuspunkt: no [19:24] configsys: require is a node thing [19:24] mrryanjohnston: orly [19:24] Bonuspunkt: ya rly [19:24] RobrtPitt: v8: pp(this,10); [19:24] v8bot: RobrtPitt: "{console:{log:function (x){console.out.push(pp…,out:[]},print:function print(x){console.log(x)…,pp:function pp(o,depth){return pp_r…,pp_r:function pp_r(o,d){var a=[],p if…}" [19:24] configsys: if it's sandboxed, it's not node [19:24] configsys: ;-) [19:25] RobrtPitt: v8: this.pp [19:25] v8bot: RobrtPitt: function pp(o,depth){return pp_r… [19:25] fwg: you can also QUERY the bot [19:25] mrryanjohnston: I guess I'm just confused as to what connect does special... does it just add middleware capabilities [19:25] infynyxx has joined the channel [19:25] RobrtPitt: v8: this.pp_r(this,10) [19:25] v8bot: RobrtPitt: "{console:{log:function (x){console.out.push(pp…,out:[]},print:function print(x){console.log(x)…,pp:function pp(o,depth){return pp_r…,pp_r:function pp_r(o,d){var a=[],p if…}" [19:25] thejh: fwg, already figured that out [19:25] configsys: v8: "i gotta go".pp() [19:25] v8bot: configsys: TypeError: Object i gotta go has no method 'pp' [19:25] configsys: :-D [19:26] Skola: :p [19:26] mrryanjohnston: lol I get it [19:26] mrryanjohnston: oh [19:26] Bonuspunkt: v8: var howToAnnoy = "THIS IS ANNOYING "; setInterval(function() { console.log(howToAnnoy += howToAnnoy) }, 500) [19:26] v8bot: Bonuspunkt: ReferenceError: setInterval is not defined [19:26] Bonuspunkt: D: [19:26] mrryanjohnston: at first I was like "what does .pp do and why is he trying to do it on a string?" [19:26] RobrtPitt: v8: console.out [19:26] v8bot: RobrtPitt: [] [19:27] RobrtPitt: v8: pp_r(console.out,2) [19:27] v8bot: RobrtPitt: "[]" [19:27] RobrtPitt: v8: pp_r(console.out) [19:27] v8bot: RobrtPitt: "..." [19:27] configsys: mrryanjohnston: you cannot pp on a string :-D [19:27] darshanshankar has joined the channel [19:27] Bonuspunkt: v8: var howToAnnoy = "THIS IS ANNOYING "; while(true) console.log(howToAnnoy += howToAnnoy) [19:27] v8bot: Bonuspunkt: [19:27] mrryanjohnston: configsys: you silly [19:27] RobrtPitt: v8: this [19:27] v8bot: RobrtPitt: {console:{log:function (x){console.out.push(pp…,out:[]},print:function print(x){console.log(x)…,pp:function pp(o,depth){return pp_r…,pp_r:function pp_r(o,d){var a=[],p if…} [19:28] iffy|x200 has joined the channel [19:28] wookiehangover has joined the channel [19:28] Prometheus: is there a competition about who can break that first? [19:28] RobrtPitt: it removes whats in the condition brackets :( [19:28] RobrtPitt: Prometheus: maybe.... lol [19:28] configsys: v8: while(true); [19:28] v8bot: configsys: Error: Timeout [19:28] rixius has joined the channel [19:28] configsys: yay [19:28] MarkMenard has joined the channel [19:28] RobrtPitt: and were not breaking it, were bug testing [19:28] simenbrekken has joined the channel [19:29] Prometheus: mmhmm =P [19:29] rixius: is there an equivelent to getopts in POSIX or OptionParser in ruby from npm? [19:29] rixius: that someone would like to suggest [19:29] Skola: we've already broken it before [19:29] mrryanjohnston: v8: "Is this a bug?" || false [19:29] v8bot: mrryanjohnston: "Is this a bug?" [19:29] Skola: so you don't have to prove it again, thx [19:29] mrryanjohnston: v8: "Is this a bug?"==true || false [19:29] v8bot: mrryanjohnston: false [19:29] seawise: Google+ looks pretty good http://googleblog.blogspot.com/2011/06/introducing-google-project-real-life.html [19:29] mrryanjohnston: well, there you have it [19:30] cjm has joined the channel [19:30] mrryanjohnston: v8: "Is this a bug?"!==undefined || false [19:30] v8bot: mrryanjohnston: true [19:30] configsys: rixius: https://github.com/joyent/node/wiki/modules#parsers-commandline [19:30] mrryanjohnston: Can I argue that that's a paradox? [19:31] chrsss has joined the channel [19:31] thejh: would v8bot be kicket because of excess flood if i typed "v8: while (true) { console.log("hello"); }"? [19:31] thejh: *kicked [19:31] AvianFlu: mrryanjohnston: you used an OR, and made one side true. not a paradox. [19:31] configsys: thejh: no [19:31] thejh: v8: while (true) { console.log("hello"); } [19:31] v8bot: thejh: Error: Timeout [19:31] Bonuspunkt: v8: (![]+[])[+[]]+([][+[]]+[])[+[]]+([][+[]]+[])[+[]+!![]] [19:31] v8bot: Bonuspunkt: "fun" [19:32] rixius: Bonuspunkt: that's just ECMAScript hackery and enjoyable [19:32] AvianFlu: Bonuspunkt: wtf!? [19:32] xerox: Bonuspunkt: whaaat [19:32] rixius: and thanks configsys [19:32] rixius: v8bot: ![] [19:32] v8bot: rixius: Use v8: to evaluate code or "`v commands" for a list of v8bot commands. [19:32] Bonuspunkt: rixius just copy pasted it, got a link so i can look it up how it works? [19:32] fwg: god suprising that there are still people that don't know that [19:33] xerox: ah [19:33] pifantastic has joined the channel [19:33] thejh: that works because you can get the window by calling certain functions of arrays with this=null [19:33] xerox: stringifies 'false' [19:33] RobrtPitt: v8: (![]+[])[+[]]+([][+[]]+[])[+[]]+([][+[]]+[])[+[]+!![]] [19:33] v8bot: RobrtPitt: "fun" [19:33] RobrtPitt: kool [19:33] xerox: v8: ![] [19:33] v8bot: xerox: false [19:33] bogomips2_ has joined the channel [19:33] xerox: v8: ![]+[] [19:33] v8bot: xerox: "false" [19:33] RobrtPitt: v8: !!!![] [19:33] v8bot: RobrtPitt: true [19:33] RobrtPitt: v8: !!!![]![] [19:33] v8bot: RobrtPitt: SyntaxError: Unexpected token ! [19:33] RobrtPitt: v8: !!!![]+![] [19:33] v8bot: RobrtPitt: 1 [19:33] rixius: v8bot: (![]+[])[+[]] [19:33] v8bot: rixius: Use v8: to evaluate code or "`v commands" for a list of v8bot commands. [19:34] xerox: v8: "false"[+[]] [19:34] v8bot: xerox: "f" [19:34] xerox: v8: +[] [19:34] v8bot: xerox: 0 [19:34] rixius: v8: (![]+[])[+[]] [19:34] v8bot: rixius: "f" [19:34] RobrtPitt: v8: [+[]] [19:34] v8bot: RobrtPitt: [0] [19:34] RobrtPitt: v8: ""+[+[]] [19:34] v8bot: RobrtPitt: "0" [19:34] rixius: like I said standard ECMAScript hackery [19:34] RobrtPitt: (![]+[]+[])[+[]] [19:35] RobrtPitt: v8: (![]+[]+[])[+[]] [19:35] v8bot: RobrtPitt: "f" [19:35] RobrtPitt: v8: (![])+[+[]] [19:35] v8bot: RobrtPitt: "false0" [19:35] RobrtPitt: v8: clear [19:35] v8bot: RobrtPitt: ReferenceError: clear is not defined [19:35] HamsterLord has joined the channel [19:38] kohai has joined the channel [19:38] criswell has joined the channel [19:39] kulor-uk has joined the channel [19:39] mendel_ has joined the channel [19:39] kohai: @fran_mosteiro Además, este IDE debe de ser cojonudo para hacer node.js "for example" .... http://cloud9ide.com/ /c @asiermarques @andoniarroyo (Tweet: http://bit.ly/jXLoik) [19:40] kbni has joined the channel [19:41] mrryanjohnston: AvianFlu: no fun :p [19:41] robi42 has joined the channel [19:41] AvianFlu: lol [19:42] jameson_ has joined the channel [19:42] scottschecter has joined the channel [19:42] RickardL: haha [19:43] techwraith has joined the channel [19:43] mrryanjohnston: seawise: good find with the google+ thing [19:43] Lorentz has joined the channel [19:43] mrryanjohnston: looks like it'll really add some cool functionality to android stuff [19:44] kohai: @Tropo [New Blog Post] Telephony Black Magic with Tropo, Node.js and Redis. http://blog.tropo.com/2011/06/28/telephony-black-magic-with-tropo-node-js-and-redis/ #nodejs #redis #nosql #javascript #php (Tweet: http://bit.ly/j68Bl6) [19:44] seawise: yeah, thinking I should by Android phone [19:44] mrryanjohnston: seawise: you totally should [19:44] tjholowaychuk: seawise noooo [19:44] seawise: I'm on iPhone right now ;) [19:44] mrryanjohnston: ah [19:44] tjholowaychuk: i cant stand my android [19:44] mrryanjohnston: to each their own [19:45] mrryanjohnston: why not, tjholowaychuk [19:45] tjholowaychuk: feels clunky, reasonably slow, terrible design, app market is brutal [19:45] halfhalo-mobile: ACTION puts in the obligatory webos +1 [19:46] svenlito has joined the channel [19:46] mrryanjohnston: I mean [19:46] mrryanjohnston: without getting to debates/flame wars/fanboy wars [19:46] mrryanjohnston: I <3 google [19:46] mrryanjohnston: and <3 my nexus s [19:46] tjholowaychuk: for sure, im not a fanboy of anything, it's just very poor quality IMO, expected more from google [19:46] ctide: yeah [19:46] cjm has joined the channel [19:46] ctide: i gave android a year and a half [19:47] ctide: before i went back to iphone [19:47] ctide: because the OS just feels terrible [19:47] halfhalo-mobile: I did android for a while with an epic 4g. loved the screen, hated the os. Then I wen to a samsung focus. Loved the os, loved the screen, but needed more multitasking. and so now I'm back with my lovely little hp veer. [19:49] patcito has joined the channel [19:50] hdon has joined the channel [19:50] mange has joined the channel [19:51] xeodox has joined the channel [19:53] kohai: @micahsays 6 Must Have Node.js Modules - blog.nodejitsu.com - scaling node.js applications one callback at a time. - http://blog.nodejitsu.com/6-must-have-nodejs-modules (Tweet: http://bit.ly/iR7GG1) [19:53] jonaslund has joined the channel [19:54] jga023 has joined the channel [19:54] aron_ has joined the channel [19:55] Tobsn has joined the channel [19:55] rwaldron has joined the channel [19:56] Tobsn: does anyone know about a SQL parser implemented in JS? [19:57] eazyigz has joined the channel [19:57] dgathright has joined the channel [19:57] rwaldron has joined the channel [19:58] kohai: @NodeKohai nyancat.js - it's Nyancat on your CLI! (Tweet: http://bit.ly/kxD9WF) [19:58] eazyigz: Hello. I am having issues establishing an authenticated connection with node-mongodb-native. I keep getting an error "auth fails". [19:58] eazyigz: I cannot locate anything related to fixing this error in the node-mongodb-native google group [19:58] eazyigz: i know that my credentials are right because I can connect from PHP [19:58] rwaldron has joined the channel [19:58] eazyigz: has anybody had a similar issue? [19:58] hdon has joined the channel [19:59] rwaldron has joined the channel [19:59] shinuza has joined the channel [19:59] yozgrahame has joined the channel [20:01] kulor-uk has joined the channel [20:02] jonaslund: Tobsn: what do you need it for ? [20:02] seawise has joined the channel [20:02] Tobsn: well [20:02] Tobsn: parsing SQL strings obviously ;) [20:03] seawise: what Android phone is best on the market right now? [20:03] jonaslund: seawise: best to use or best to dev on ? [20:03] hij1nx has joined the channel [20:03] seawise: why if differs? [20:03] seawise: it differs? [20:03] mikeal has joined the channel [20:04] jonaslund: if you wanna dev you should get the shitties thing available with the crappiest firmware [20:04] jonaslund: and if it works there you'll have a good chance of having it working decently on other phones [20:04] aliem has joined the channel [20:04] asdadsadqq has joined the channel [20:04] seawise: actually I need phone to dev and to be updated with what Android platform can offer [20:04] HamsterLord has joined the channel [20:04] asdadsadqq: hi all [20:04] igl1 has joined the channel [20:04] jonaslund: ACTION curses at google for redoing sun's j2me misstakes all over [20:04] asdadsadqq: graph oriented nosql for nodejs, what is your advise ? [20:05] jonaslund: seawise: i'm dead serious at my statement [20:05] ParadoxQuine has joined the channel [20:06] jonaslund: seawise: many vendors never ships upgrades to their phones, so your app won't work on those if you use up to date features [20:06] asdadsadqq: neo4j REST ? [20:06] Tobsn: yep [20:06] Tobsn: neo is good [20:06] Tobsn: there is also the other one [20:06] seawise: okay, I need Android supporting HTML5 and WebSockets [20:06] Tobsn: what was it called... [20:06] kohai: @heuvox Telephony Black Magic with Tropo, Node.js and Redis: In a previous post and screencast on this blog, I demonstra... http://blog.tropo.com/2011/06/28/telephony-black-magic-with-tropo-node-js-and-redis/?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+tropo+%28The+Tropo+Blog%29 (Tweet: http://bit.ly/kvgTYL) [20:06] kohai: @speechconnecti Telephony Black Magic with Tropo, Node.js and Redis http://blog.tropo.com/2011/06/28/telephony-black-magic-with-tropo-node-js-and-redis/?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+tropo+%28The+Tropo+Blog%29 (Tweet: http://bit.ly/jgtgus) [20:06] Tobsn: flux, fluid [20:06] simenbrekken has joined the channel [20:06] asdadsadqq: the other ones are for ruby or java for all Ive googled [20:07] seawise: kay, I need Android supporting HTML5 and WebSockets - best and worst available for that? [20:07] Tobsn: FlockDB [20:07] jonaslund: seawise: ah well.. if you're doing web you might go with any phone really iguess [20:07] asdadsadqq: Tobsn: ty Ill have a look [20:07] asdadsadqq: Flockdb is ruby no ? [20:07] jonaslund: Tobsn: no way you can tell why you need a sql parser? [20:08] Tobsn: jonaslund, i want to parse it to analyse and optimize the queries [20:08] jonaslund: making a database engine ? [20:08] Tobsn: no [20:08] Tobsn: not at all [20:08] infynyxx has left the channel [20:08] Tobsn: more like a wrapper [20:08] Tobsn: damnit what was that graph db [20:08] Tobsn: they have a green website [20:09] kohai: @tkareine had a blast meeting the #geekcollision people for the first time! also, learned new node.js tricks from @EsaMatti's great demo. :) (Tweet: http://bit.ly/mSC6G8) [20:09] Tobsn: can someone turn off kohai [20:09] seawise: okay, I'm doing web, what's the best Android phone on the market? [20:09] seawise: Samsung? [20:09] seawise: HTC? [20:09] seawise: Google? [20:09] kmiyashiro: google doesn't make phones [20:09] tjholowaychuk: definitely not my HTC [20:09] asdadsadqq: google makes TV [20:10] tjholowaychuk: samsung's might be decent, i love their tvs [20:10] lstrojny has joined the channel [20:10] asdadsadqq: last HTC and Samsung are great [20:10] jonaslund: Isn't HTC the only maker that actually upgrades their firmwares ? [20:10] jonaslund: ACTION had some old HTC winphone that had really shitty HW though [20:10] jonaslund: but that was like 5 years ago [20:11] halfhalo has joined the channel [20:11] davidascher has joined the channel [20:11] halfhalo has joined the channel [20:11] Dreamer3 has joined the channel [20:11] Tobsn: hmm google has a new layout [20:11] Tobsn: http://dl.dropbox.com/u/1656816/Screenshots/qwrjq1kjgm1_.png [20:12] Prometheus: google 2.0 [20:12] codehero1 has joined the channel [20:12] asdadsadqq: hey hi, graph oriented nosql for nodejs, what is your advise ? [20:12] asdadsadqq: woops [20:12] jonaslund: i also get that when i'm logged in [20:12] Tobsn: asdadsadqq, try out NEO [20:12] Tobsn: thats probably your best bet [20:13] asdadsadqq: ah ty [20:13] Tobsn: but i cant remember that other one... [20:13] codehero1: Hi all, I am trying to run "npm install express" on cygwin, but npm just hangs [20:13] asdadsadqq: ill try one, I could change after anyway [20:13] asdadsadqq: not a big deal [20:13] asdadsadqq: ty again [20:13] Murvin: anyone use connect-gzip for their static js file? [20:13] Mrfloyd has joined the channel [20:13] jethro_ has joined the channel [20:14] shinuza has joined the channel [20:15] svenlito has joined the channel [20:15] lstrojny has joined the channel [20:16] xeodox has joined the channel [20:16] aguynamedben has joined the channel [20:16] Murvin: if I do this: gzip.staticGzip(__dirname + '/public', {matchType:/javascript/}); will it create a physical file in public folder? or just in memory? will the zipped content be cached? [20:16] mundanity has joined the channel [20:17] simenbrekken: Anyone know if Mongoose adds any siginificant overhead over just using the deafult native mongodb driver? [20:17] Tobsn: asdadsadqq [20:17] Tobsn: http://www.graph-database.org/ [20:17] jarek has left the channel [20:17] Tobsn: thats a nice resource [20:18] Prometheus: tjholowaychuk: for some reason, accessing your blog generated 2 different looking error pages [20:18] asdadsadqq: Tobsn: got it [20:18] Prometheus: though it loads now [20:18] tjholowaychuk: woah [20:18] tjholowaychuk: weird [20:18] tjholowaychuk: it's tumblr so probably haha [20:18] twoism has joined the channel [20:19] Prometheus: I didn't know they had a different error page for different kind of "oh shit the servers are burning" situation :) [20:19] Murvin has joined the channel [20:21] Murvin: got some questions about serving static assets, like js, css . I'm using express.js so, if I manually gzip the js and put it into the public folder, if someone request myscript.js , will the uncompress myscript.js be served, or myscript.gz ? [20:21] criswell has joined the channel [20:22] eazyigz: has anybody used node-mongodb-native with username/password credentials? [20:22] Murvin: nodeeazyigz: yes. few months ago [20:23] codehero1 has left the channel [20:23] admc1 has joined the channel [20:24] eazyigz: Murvin: it throws an error 'auth fails'. But that error is not part of node-mongodb-native, I grepped it! [20:24] Murvin: eazyigz: r u using replica set? [20:24] mange has joined the channel [20:24] Tobsn: asdadsadqq [20:25] Tobsn: found it [20:25] Tobsn: www.elasticsearch.org [20:25] eazyigz: Murvin: i did not know I was supposed to. What is it/? [20:25] Tobsn: but its not graph its fulltext [20:25] asdadsadqq: :) [20:25] Murvin: eazyigz: so, for your mongodb, u only have one master process. no replica set? [20:26] eazyigz: Murvin: i have no idea. This db is on a different server, and I can connect to it from PHP just fine. [20:26] eazyigz: Only with this damn module I can't [20:27] halfhalo has joined the channel [20:27] Murvin: ask whoever create the mongoDB. there are problems if replica set with login/password. see if that's the case. [20:27] threshold has joined the channel [20:28] Murvin: eazyigz: otherwise, in your node, after you db = new Db( .... ), you just need to do db.authenticate(user, pass, function() {} ); [20:28] rook2pawn has joined the channel [20:29] Murvin: anyone can answer my question about gzip static assets? :) [20:29] lstrojny has joined the channel [20:29] eazyigz: Murvin: that is the code I am using, but getting an error [20:29] eazyigz: i guess i will find out about replica set [20:29] jtsnow has joined the channel [20:29] eazyigz: but i find it weird that I can connect just fine from PHP, but not with node-mongodb-native [20:29] Murvin: eazyigz: yes.. that's similar to the problem I had before. [20:30] eazyigz: Murvin: I will try mongoskin, have you heard of it [20:31] Murvin: no [20:31] halfhalo has joined the channel [20:31] Murvin: i am using mongoose [20:32] jshaw has joined the channel [20:32] eazyigz: Murvin: doesn't mongoose require you to define a schema before you connect? That would be a big problem for me, since I do not know the schema [20:32] eazyigz: and the schema can change any time [20:32] eazyigz: whole point of mongodb is to be flexible, not like the rigid relational databases used to be [20:32] Murvin: yes.. in this case, u have to do native [20:32] dmose has joined the channel [20:33] Murvin: depending on the application. no definitely good or bad about it. [20:33] Murvin: whatever tool that can simplify your life is the best tool. :) [20:34] niftylettuce: Prometheus: github has a unicorn on error :)!! [20:34] Prometheus: niftylettuce: aye, but you rarely see it ;P [20:35] AvianFlu: I vastly prefer the github 404 page [20:37] twoism has joined the channel [20:37] isaacs has joined the channel [20:38] isaacs: Anyone have trouble building master on OS X? I'm getting this: Unable to install the file 'deps/uv/c-ares/ares_build.h' (not found in dir:///Users/isaacs/dev-src/js/node) [20:39] zpao: isaacs: just built fine here (not a clobber though) [20:39] isaacs: hrm. [20:40] lstrojny has joined the channel [20:40] bradleymeck_: isaacs rerun make [20:40] isaacs: bradleymeck_: yeah, same. [20:40] bradleymeck_: dependency ordering is jacked [20:40] isaacs: bradleymeck_: doing a distclean and re-trying [20:40] isaacs: also tried manually making in deps/uv first [20:40] bradleymeck_: i reran w/o a distclean to get it to work [20:40] isaacs: weird [20:41] isaacs: race condition? [20:41] bradleymeck_: dont think so [20:41] bradleymeck_: i think its some kinda circular dep, but didnt go into it [20:41] marak has joined the channel [20:41] marak: jerrysv: AvianFlu says your commit was whack [20:41] marak: he's fixing it atm :-D [20:42] jerrysv: marak: whack in what way? [20:42] jerrysv: avianflu: whack in what way? [20:42] marak: jerrysv: i think he's pushing commit so you can see, just messed up order of operations [20:42] marak: and wrong logic? i dunno [20:42] marak: probably was close [20:42] AvianFlu: the kohai code is hard to read, so I don't really blame you [20:43] AvianFlu: I'll show you in a minute [20:43] jerrysv: marak: huh. i tested it outside of the bot, but wasn't able to test it inside the bot [20:43] jerrysv: you folks need more tests :) [20:43] broofa has joined the channel [20:43] sub_pop has joined the channel [20:43] jerrysv: (i'm always happy to fix a whack commit, btw, you just need to call me out on it) [20:44] mandric has joined the channel [20:45] Tobsn: http://www.google.com/+/demo/ [20:45] marak: jerrysv: commit coming [20:45] marak has left the channel [20:45] Tobsn: ah i see where that new google UI scheme comes from [20:45] jerrysv: marak: k k [20:45] jerrysv: pins and freeken needles [20:45] aklt has joined the channel [20:46] infynyxx has joined the channel [20:47] liquidproof has joined the channel [20:48] isaacs: oh, weird, distclean and re-make works [20:48] AvianFlu has joined the channel [20:48] isaacs: ahhhh... nvm. [20:48] isaacs: it's the "install" bit that fails. [20:48] isaacs: Unable to install the file 'deps/uv/c-ares/ares_build.h' (not found in dir:///Users/isaacs/dev-src/js/node) [20:48] isaacs: piscisaureus: you around? [20:48] isaacs: ryah_: ? [20:49] kulor-uk has joined the channel [20:50] kbni has joined the channel [20:50] bbttxu has joined the channel [20:50] joemccann has joined the channel [20:51] jerrysv: marak: you recover from the bitcoin plunge? [20:51] simenbrekken: I'm trying to split up my 10 or so routes into "controllers", I have e.g one that's named ticket that is set up as: app.post('/api/ticket/locate', ticket.locate). How would I share resources between modules? Like a database connection [20:52] cbibler has joined the channel [20:53] jerrysv: avianflu: was it the while(match(tweetMsg)) ? [20:54] AvianFlu: it actually wasn't [20:54] cjm has joined the channel [20:54] AvianFlu: that made me go "whoa!" for a second, but I didn't mind that [20:54] AvianFlu: you actually put that check after the tweet got sent to the channel :-P [20:54] dve: how do I encode a string to base64? do I have to use cypto? [20:55] isaacs: dve: base64str = new Buffer(str).toString("base64") [20:55] dve: UTF8 string [20:55] dve: isaacs: gracias! [20:55] isaacs: where "str" is your string, of course [20:55] AvianFlu: I have the testing bot up with the fixes now, as soon as I'm confident I didn't break something else I'll push them [20:56] ekryski has joined the channel [20:56] jerrysv: avianflu: ha! awesome! [20:56] jerrysv: avianflu: entirely my bad [20:56] AvianFlu: like I said, that bot can be hard to read [20:56] AvianFlu: my first node project lol [20:57] sely has joined the channel [20:57] dve: isaacs: if im doing it a lot, is that sample still the best method? [20:57] AvianFlu: with lots of props to bradleymeck, whose code from another bot was the starting point [20:57] jerrysv: avianflu: mutual forgiveness then? all made up? [20:57] dve: i.e doing it 1000 times in a loop [20:57] AvianFlu: oh yeah, it's all good [20:57] LowValueTarget has joined the channel [20:57] isaacs: dve: it's a pretty fast operation. [20:57] jerrysv: still think it's a good addition [20:57] bradleymeck_: [btoa,atob] == base64 goodness [20:57] bradleymeck_: but not for buffers [20:58] jerrysv: just wish it would have been easier to plop it in after the unshorten [20:58] isaacs: dve: if you find that it's actually a place where your app is spending a signifcant portion of its time, then you can investigate other options. [20:58] admc1 has joined the channel [20:58] isaacs: dve: imo, best to do it the simple way first, and only complicate if necessary. [20:58] dve: isaacs: wise words... thankyou [21:00] isaacs: np [21:01] jamarparris has left the channel [21:01] admc1 has joined the channel [21:03] MrTopf has joined the channel [21:04] ParadoxQuine has joined the channel [21:05] dve: while im on encoding... are there any base62 encode/decode modules? a quick search hasnt turned anything up. [21:05] dgathright has joined the channel [21:05] zpao: isaacs: can you handle pull requests? dve reminded me of a pull request waiting for somebody to look at [21:05] isaacs: dve: base62? no, i don't think so [21:05] dve: also are there any strong arguements against base62 [21:05] isaacs: dve: well, base64 is much more common [21:06] isaacs: zpao: yeah, i can. [21:06] isaacs: zpao: but usually i don't act unilaterally unless it's code that i own [21:06] wink__ has joined the channel [21:07] zpao: isaacs: understandably. we've just had this sitting around for going on 2 months with no comment from anybody either direction (https://github.com/joyent/node/pull/1021) [21:08] isaacs: zpao: yeah, we're a little behind [21:08] tim_smart has joined the channel [21:08] justicefries_ has joined the channel [21:08] zpao: too many contributions is not the most terrible problem to have :) [21:09] pifantastic_ has joined the channel [21:10] josephboyle has joined the channel [21:11] necrodearia has joined the channel [21:11] asobrasil has left the channel [21:11] Tobsn: `3E: dont hate ;) [21:11] `3E: but it's soo ugly [21:11] sechrist has joined the channel [21:11] `3E: http://cl.ly/1l0P1O0G1N352q0T0W2D look at that show! [21:11] `3E: shadow* [21:12] Tobsn: lol [21:12] Tobsn: i guess they arent done yet [21:12] jerrysv: yeah, and it keeps working and not working for me [21:12] Tobsn: btw. you saw the invite think? [21:12] Tobsn: https://services.google.com/fb/forms/googleplus/ [21:12] Tobsn: "First Name" [21:12] Tobsn: lol [21:12] Dreamer3 has joined the channel [21:12] Tobsn: btw. [21:12] Tobsn: http://googleblog.blogspot.com/ [21:12] Tobsn: they have a post on it [21:13] CIA-104: node: 03Henry Rawas 07master * r9135ef3 10/ (3 files): Fix the MinGW build - http://bit.ly/jSqD0j [21:13] Tobsn: i love how they compare the new one to the first real layout [21:13] `3E: Tobsn iknw.. Google Profiles is not available for your organization. [21:13] FireFly|n900 has joined the channel [21:14] rixius: I'm tring for some 140byt.es, and I'm down to 152 caharacters, Wanted to see if anyone else notices somethign I could do to optimize it more [21:14] rixius: ^^ https://gist.github.com/2820e931faf44c413f50 [21:14] CIA-104: node: 03Henry Rawas 07master * r4e1e60f 10/ (3 files): Fix the MinGW build - http://bit.ly/j5j4ex [21:14] jerrysv: `3E odd, my hosted has the black bar, my gmail doesn't [21:14] sh1mmer has joined the channel [21:16] Tobsn: rixius, where is a coming from? [21:16] Tobsn: ah nevermind [21:16] tjholowaychuk: looks like _why code [21:16] materialdesigner has joined the channel [21:16] tjholowaychuk: cryptic ftw [21:16] rixius: tjholowaychuk: it's definantly code golf [21:16] rixius: but it's a fun experiment, I'm just short of being able to put this into 140byt.es [21:17] Tobsn: rixius [21:17] Tobsn: (((1+Math.random())*0x10000)|0) [21:17] Tobsn: btw. [21:17] tjholowaychuk: hopefully no one gets the wrong idea [21:17] tjholowaychuk: and actually uses that stuff [21:17] Tobsn: rixius [21:17] Tobsn: 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(c) {var r = Math.random()*16|0,v=c=='x'?r:r&0x3|0x8;return v.toString(16);}); [21:17] Tobsn: for an rfc4122 version 4 compliant solution [21:18] josephboyle1 has joined the channel [21:20] Tobsn: 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g,function(c,r){r=Math.random()*16|0;return (c=='x'?r:(r&0x3|0x8)).toString(16);}); [21:20] Tobsn: should work too [21:20] Tobsn: yep [21:22] xerox: v8: 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g,function(c,r){r=Math.random()*16|0;return (c=='x'?r:(r&0x3|0x8)).toString(16);}); [21:22] v8bot: xerox: "4206ca83-07f4-46c3-a55a-40598eb08b6d" [21:22] dyer_ has joined the channel [21:22] Tobsn: and its 132 chars [21:22] Tobsn: you can even fit it in a tweet [21:22] rixius: it's not Guarenteed to be unique [21:22] Xano has joined the channel [21:22] Tobsn: its more likely to be unique than yours [21:23] Tobsn: just by the size of it [21:23] rixius: v8: "00-0-0-0-000".replace(/0/g,function(){return Math.random().toString(16).substr(2,4)}) [21:23] v8bot: rixius: "a21ed645-0dc0-1c9f-34f9-da4604974d10" [21:23] rixius: no it isnt [21:23] Tobsn: hehe [21:23] rixius: each 0 is 4 characters [21:23] Tobsn: it runs more often [21:24] xerox: you could write a simple modular prng [21:24] `3E: omg you should totally coffeescript it [21:24] xerox: so you can control the sequence of random values [21:24] xerox: by choosing the seed [21:24] `3E: I can make a webserver in 140 chars, does that count :) [21:25] unlink has joined the channel [21:25] unlink has joined the channel [21:25] jerrysv: `3E: only if it includes a black bar [21:25] ParadoxQuine has joined the channel [21:25] Tobsn: `3E but will it be unique? hehe [21:25] `3E: Tobsn the pid will be unique :D [21:25] Tobsn: rixius, but mine is rfc compliant :P [21:26] rixius: Tobsn: I see that, I didn't know that the spec required 1 character to always be 4 and another to follow different code than the others [21:26] Tobsn: read the RFC [21:26] Tobsn: UUID is a very crazy topic [21:26] josephboyle has joined the channel [21:27] Tobsn: and to make your string REALLY REALLY unique as UUID does not require, you need A LOT more code than 140 chars [21:27] niftylettuce: tjholowaychuk: looks like someone tweeted you about nyancat.js, lulz :P [21:27] antlong: first rule of uuid club [21:27] tjholowaychuk: niftylettuce haha yup [21:27] Tobsn: first rule of the uuid club would be be as random as you _can_ [21:27] niftylettuce: tjholowaychuk: i emailed author of nyanyanyan song to get permission to use it (w/Marak's play.js) [21:27] Tobsn: not be as random as possible [21:27] mc_greeny has joined the channel [21:28] tjholowaychuk: tim_smart: that async lib, might be the first one i've seen that isn't really brutal [21:28] Tobsn: just fyi, making numbers really random requires a lot more than a simple seed [21:28] rixius: to me the most important part of a UUID is "Universally Unique" [21:28] patcito has joined the channel [21:28] tjholowaychuk: and harder to look at [21:28] rixius: not should be unique because of the number of options [21:28] antlong: it requires a radiation decay detector [21:28] Tobsn: rixius, thank god that there are RFCs for that [21:28] tim_smart: tjholowaychuk: Hah cool [21:28] antlong: (seriously) [21:28] Tobsn: antlong yep [21:28] Tobsn: crazy shit like that [21:29] Tobsn: most stuff cant be used because of the Hz of your CPU, crazy shit like that [21:29] Tobsn: anyway, use which ever it will be unique enough [21:30] tim_smart: tjholowaychuk: Yeah I found Step etc annoying. Helpful - but annoying. [21:30] tjholowaychuk: tim_smart are all the error(s) deferred ? [21:30] tjholowaychuk: or do you handle in each callback [21:30] tjholowaychuk: it would be nice to have only the one callback to worry about for errors [21:30] tim_smart: tjholowaychuk: next(error, whatever) [21:31] antlong: really random numbers, http://fourmilab.ch/hotbits/ [21:31] tim_smart: .done(function (error, result_async_array) { ... }) [21:31] tim_smart: tjholowaychuk: Take a look at test.js [21:31] tjholowaychuk: tim_smart: i guess it wouldnt work for all cases, but it would be nice to leave out error for all except exec() or done() [21:31] tjholowaychuk: yeah i'll take a look [21:32] AvianFlu has joined the channel [21:32] tim_smart: tjholowaychuk: exec() justs start it, so you can save operations for later [21:32] tjholowaychuk: ah i see, exec() is just there to fire it, I've done similar but done() would fire it off [21:32] tjholowaychuk: doesn't really matter, makes sense now though :D [21:32] tjholowaychuk: ohhh i know [21:33] mscdex: it really hertz to not have more cores [21:33] tjholowaychuk: accept a callback in exec in case you dont want to defer the exec [21:33] tim_smart: tjholowaychuk: Sounds good. [21:34] leahculver has joined the channel [21:34] leahculver has joined the channel [21:34] onr: tjholowaychuk: what do you think about PEG.js? [21:34] dingomanatee has joined the channel [21:34] path[l] has joined the channel [21:34] mikeal has joined the channel [21:34] dingomanatee: marcello3d, ping [21:35] tjholowaychuk: onr haven't used it personally but i imagine it's fine [21:35] \sega has joined the channel [21:35] tjholowaychuk: I have a PEG parser gen as well (who doesnt I guess haha) [21:35] tjholowaychuk: but it's not OS yet [21:35] tjholowaychuk: i'll show you the output it's pretty sexy but if you want speed jison is the way to go [21:35] ParadoxQuine has joined the channel [21:36] rhdoenges has joined the channel [21:36] hackband has joined the channel [21:37] Tobsn: rixius, http://fourmilab.ch/hotbits/hardware3.html thats what you need ;) [21:37] tjholowaychuk: onr: https://gist.github.com/971261 [21:37] tjholowaychuk: readability / debugging was the focus, but using js calls for state is obviously slower [21:39] Tobsn: https://twitter.com/#!/tobsn/status/85824618157457408 [21:39] Tobsn: BAM ;) [21:40] onr: tjholowaychuk: hrm. output seems clean, but maybe i should focus on jison if its faster [21:40] tjholowaychuk: onr yeah recursive descent is not your friend if you want performance [21:41] tjholowaychuk: but i mean that's all relative to what you are doing [21:41] tim_smart: tjholowaychuk: works fine https://github.com/Tim-Smart/async-array/blob/master/test.js#L56-71 [21:41] scott_ has joined the channel [21:41] tjholowaychuk: you also shouldnt use js to parse things if you want speed [21:41] tjholowaychuk: because regexps dont have a god damn offset [21:41] tbranyen: oauth2 spec is pretty complicated [21:41] tbranyen: holy crap [21:41] tjholowaychuk: tim_smart woot! perfect [21:41] scott_: where should node be installed? in my docroot? or other? [21:41] tbranyen: would be sick to be able to set up an oauth2 provider in node [21:42] BulletBobM has joined the channel [21:43] jerrysv: tbranyen: offering to write one by any chance? [21:43] blup has joined the channel [21:43] piscisaureus has joined the channel [21:44] onr: tjholowaychuk: im kinda impressed by this benchmark: http://shootout.alioth.debian.org/u64/performance.php?test=regexdna [21:44] Aiden has joined the channel [21:44] tbranyen: jerrysv: i take on too many projects [21:44] tbranyen: i'd like to [21:44] tbranyen: but contributing to node-oauth would be a better use of time [21:45] jerrysv: tbranyen: i will need one at some point. been dreading writing one, putting it off until later [21:45] tjholowaychuk: onr: depends what you are doing though, regexps are one thing [21:45] tbranyen: jerrysv: yea heh [21:45] rixius: Tobsn: you also have to see that, in almost the same number of characters, mine is an actual reusable but of code(I.E callable) whereas your's happens once [21:45] jerrysv: and hoping someone else will do it in the mean time [21:45] \sega has joined the channel [21:45] tjholowaychuk: onr: most of these parser generators substr() the string [21:45] tjholowaychuk: which is the expensive part [21:45] tjholowaychuk: and since many if not all of the regexps have /^ you have to substr() to change the offset [21:46] tjholowaychuk: really lame [21:46] ParadoxQuine has joined the channel [21:46] TooTallNate has joined the channel [21:46] tjholowaychuk: there are tricks to speed that up but either way it's still lame [21:46] rixius: Tobsn: for the humongous benefit of 2 characters of the output being what the spec specifes as opposed to being the same amount of random that the rest of the characters have. [21:47] tjholowaychuk: onr but still, you just wanted to convert some c right? i wouldnt worry about it in that case [21:47] bene has joined the channel [21:47] tjholowaychuk: just use whatever you want [21:47] Tobsn: rixius [21:47] bene has left the channel [21:47] Tobsn: http://jsfiddle.net/eSZC9/ [21:47] jerrysv: tbranyen: someone wrote one in lisp [21:47] broofa has joined the channel [21:47] hybsch has joined the channel [21:48] Nuck has joined the channel [21:48] pifantastic has joined the channel [21:48] tbranyen: jerrysv: hmm if only i knew lisp [21:48] Tobsn: rixius [21:48] Tobsn: http://jsfiddle.net/yzkeb/ [21:48] jerrysv: tbranyen: similar thoughts. though i'm pretty handy in perl, so looking at it at the moment [21:48] dyer_ has joined the channel [21:48] dyer_ has joined the channel [21:49] CrypticSwarm has joined the channel [21:49] AvianFlu has joined the channel [21:49] rixius: Tobsn: http://jsfiddle.net/eSZC9/ [21:50] broofa has joined the channel [21:50] Tobsn: and? [21:50] jerrysv: though it looks like it's only a consume [21:50] Tobsn: you only use it once anyway [21:50] jerrysv: r [21:50] Tobsn: i thought its a UUID [21:50] Tobsn: how many UUIDs you want to create? [21:51] rixius: however many the person needs to create, and why not hav ethe extra code to guarentee, beyond a shadow of a doubt that you haven't used it? [21:51] Tobsn: hu? [21:51] RobrtPitt: v8: Math.uuid(); [21:51] v8bot: RobrtPitt: TypeError: Object # has no method 'uuid' [21:51] Tobsn: whatevs [21:52] Tobsn: i won [21:52] Tobsn: :P [21:52] sfragis has joined the channel [21:52] rixius: are you fsking kidding me? "I don't understand what you mena because I wasnt paying attention, but I won" [21:52] Tobsn: like i said [21:52] Tobsn: http://jsfiddle.net/yzkeb/ [21:52] rixius: s/mena/mean [21:52] Tobsn: again, its a UUID [21:52] Tobsn: and not a random number [21:52] Tobsn: ID vs. Random Number [21:52] Tobsn: it really doesnt matter [21:52] Tobsn: read the RFC [21:53] criswell has joined the channel [21:53] antlong: https://bitbucket.org/nikhilm/uuidjs [21:54] rixius: antlong: uuid generator for node, but built in C [21:54] rixius: no fun [21:54] antlong: http://jsperf.com/node-uuid-performance [21:54] AntelopeSalad has joined the channel [21:54] Tobsn: its libuuid [21:55] adrianmg has joined the channel [21:55] systemfault: Tobsn: Are those UUIDs valid? (Spec) [21:55] Tobsn: libuuid? [21:55] systemfault: Nah, your snippet [21:55] Tobsn: yeah [21:55] systemfault: Cool :) [21:56] Tobsn: by their RFC version 4 [21:56] Tobsn: 4122 [21:56] RobrtPitt: What you guy's doing, trying to create a UUID in the shortest code [21:56] systemfault: We already have a winner I think [21:56] AvianFlu has joined the channel [21:56] Tobsn: https://twitter.com/#!/tobsn/status/85826128882839553 [21:56] Tobsn: with hash [21:57] Tobsn: :P [21:57] Tobsn: brb [21:57] rixius: RobrtPitt: I was making some code golf for a UUID geenrator that guarenteed unique results [21:57] Tobsn: lol [21:57] Tobsn: again [21:57] rixius: Tobsn: again, shutup [21:57] Tobsn: you cannot guarantee unique results [21:57] Tobsn: hehe [21:57] Tobsn: okay i shut up [21:57] antlong: rixius: impossiblé [21:57] keeto has joined the channel [21:57] Tobsn: your Math.random() is obviously more random than my Math.random() [21:57] Tobsn: hrhr [21:58] Tobsn: whatever [21:58] Tobsn: i still won [21:58] Tobsn: brb [21:58] rixius: no I simply managed a lookup table and reran it if it had already happened [21:58] systemfault: Lulz [21:58] othiym23 has joined the channel [21:58] systemfault: You understand that the chances you get two identical UUIDs are... [21:58] zeade has joined the channel [21:58] rixius: it wasn't ever inted for use in an actual system, only for code golf [21:59] BulletBobM has left the channel [21:59] BulletBobM has joined the channel [21:59] rixius: I just wasn't aware that the RFC Spec demanded a static 4 and another character that followed different results [21:59] systemfault: You would probably won the lottery every week for 10 years without cheating before it happens. [21:59] rixius: IE result&3|8 [22:00] antlong: rixius: Version 4 (random) : Version 4 UUIDs use a scheme relying only on random numbers. This algorithm sets the version number as well as two reserved bits. All other bits are set using a random or pseudorandom data source. Version 4 UUIDs have the form xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx where x is any hexadecimal digit and y is one of 8, 9, A, or B. e.g. f47ac10b-58cc-4372-a567-0e02b2c3d479. [22:01] rixius: also, tobsyn faile to mention that I shortened his version more and included the hashtag as well as an @response<< http://twitter.com/Rixius/status/85825550190514177 [22:01] rixius: s/tobsyn/Tobsn [22:02] forzan has joined the channel [22:02] rixius: antlong: Thank you for that. [22:03] piscisaureus has joined the channel [22:04] rixius: I never stated that I was making a v4 standard UUID, only that I was making a generator(IE can be called multiple times) that kept a record and trying to makei it in under 140 characters [22:04] Tobsn: rixis, i already know about 8 and 3 [22:04] Tobsn: but thats not how you do it [22:04] Tobsn: see some other RFCs about that one [22:04] rixius: Tobsn: that's how you did it in your code [22:04] Tobsn: i know [22:04] Tobsn: i did it the right way [22:04] rixius: v8: 3 === 0x3 [22:04] v8bot: rixius: true [22:04] Tobsn: and this time i will not explain you why [22:05] rixius: Excuse me? [22:05] justicefries has joined the channel [22:05] Tobsn: gotta work :) [22:05] rixius: You only walked around holding a sign saying "I'm RFC Complient RTFM" [22:05] admc1 has joined the channel [22:05] Tobsn: also that mine is shorter [22:05] Tobsn: by terms of a code golf i won [22:05] Tobsn: didnt i? [22:05] rixius: no, because you did not do the same thing [22:05] Tobsn: okay [22:05] Tobsn: you won [22:05] Tobsn: sorry [22:05] Tobsn: and congrats [22:06] Wa has joined the channel [22:06] pjacobs has joined the channel [22:06] RobrtPitt: Tobsn, are you Broofa on SO [22:07] rixius: RobrtPitt: I would assume not, seeing as theres a Broofa in this very room [22:07] broofa: RobrtPitt no. that'd be me [22:07] RobrtPitt: Ahhh, magic lol, Sorry never seen you [22:07] antlong: ^ lol [22:07] Tobsn: yes, yes i am. [22:07] Tobsn: see [22:08] RobrtPitt: So broofa is the one who originally came up with it? [22:08] Tobsn: yep [22:08] RobrtPitt: sweet [22:08] broofa: RobrtPitt with what? [22:08] Tobsn: broofa, RFC v4 UUID [22:08] broofa: oh, the uuid code? yeah. [22:08] RobrtPitt: the shortest method of creating a RFC V4 UUID Yea [22:08] broofa: my JS claim to fame. [22:08] Tobsn: talk to rixius about your ine line [22:08] damienbrz has joined the channel [22:08] Tobsn: *one [22:09] RobrtPitt: Tobsn: thanks [22:09] sonnym has joined the channel [22:09] jerrysv: golf: an anonymous function to count all instances of each character in a string and return an object enumerating those characters and the counts [22:10] Tobsn: hehe [22:10] Tobsn: ssssh! [22:10] Tobsn: rixius won [22:10] jerrysv: so: a('abacad') returns { a:3, b:1, c:1, d:1 } [22:10] jerrysv: any takers? [22:11] Tobsn: i bet my tok is better than your tok [22:11] Tobsn: hehe [22:11] eyesUnclouded has joined the channel [22:11] jeedey has joined the channel [22:12] jerrysv: tobsn: so is that a challenge? [22:12] davidbanham has joined the channel [22:14] tbassett has joined the channel [22:15] broofa: jerrysv Tobsn http://jsfiddle.net/broofa/pLbqL/ [22:15] Tobsn: good one [22:15] broofa: basically the same thing as the UUID function. fwiw. [22:15] jerrysv: broofa: yes, but that's huge. [22:16] jerrysv: also: r[c] = (r[c] || 0) + 1; [22:16] jerrysv: can be replaced by: [22:16] jerrysv: r[c]=~~r[c]; [22:16] jerrysv: btw [22:17] jerrysv: sorry [22:17] jerrysv: r[c]=-~r[c]; [22:17] jerrysv: v8: -~undefined [22:17] v8bot: jerrysv: 1 [22:17] jerrysv: v8: -~1 [22:17] v8bot: jerrysv: 2 [22:17] xerox: what's ~ [22:17] seawise has joined the channel [22:17] broofa: xerox XOR [22:18] broofa: Or, rather, 2's complement. [22:18] aguynamedben has joined the channel [22:18] beawesomeinstead has joined the channel [22:18] beawesomeinstead has joined the channel [22:18] beawesomeinstead has joined the channel [22:18] tbranyen: jerrysv: function a(str){var a=[].slice.call(str),b={},c,d,e;for(c=0,d=a.length;c 11111101, add one => 11111110.... which is -2 [22:30] softdrink: i need something like haml, but for svg [22:31] broofa: tjholowaychuk I think one's complement is just -(n) [22:31] tjholowaychuk: ACTION off to wiki [22:31] broofa: v8 (-2).toString(2) [22:31] v8bot: broofa: v8 is no longer supported (except in PM). Try v8: or v8> [22:31] broofa: v8: (-2).toString(2) [22:31] v8bot: broofa: "-10" [22:31] broofa: v8: (-2|0).toString(2) [22:31] v8bot: broofa: "-10" [22:32] broofa: (-2 & 0xff).toString(2) [22:32] broofa: v8: (-2 & 0xff).toString(2) [22:32] v8bot: broofa: "11111110" [22:32] broofa: v8: (12 & 0xff).toString(2) [22:32] v8bot: broofa: "1100" [22:32] broofa: v8: (2 & 0xff).toString(2) [22:32] v8bot: broofa: "10" [22:32] Nican has joined the channel [22:32] rixius: tjholowaychuk: isn't linking to a header #BodyOfHeader [22:33] rixius: tjholowaychuk: if so, [AnchorText](#BodyOfHeader) [22:33] tjholowaychuk: rixius: depends on the html produced i guess [22:33] tjholowaychuk: i know some dont create ids [22:33] mikl has joined the channel [22:33] mikl has joined the channel [22:33] rixius: you can't add things like classes or ID's in Markdown [22:34] rixius: it's the reason I don't use it ._. [22:34] rixius: I prefer Haml haml-lang.com [22:34] tjholowaychuk: i dont like haml-ish stuff for writing docs or books etc [22:34] xandrews has joined the channel [22:35] xerox: "this is a test".split("").reduce(function(o,x){o[x]=o[x]?++o[x]:1;return o},{}) [22:35] xerox: v8: "this is a test".split("").reduce(function(o,x){o[x]=o[x]?++o[x]:1;return o},{}) [22:35] v8bot: xerox: {t:3,h:1,i:2,s:3, :3,a:1,e:1} [22:35] broofa: Ohh... so the reason "-~" works is that ~ only inverts the bits. It doesn't actually do the "add one" part of the 2's complement. The "-" re-inverts the bits again, but adds one as well. [22:36] RobrtPitt: v8: o(){[o()]} [22:36] v8bot: RobrtPitt: SyntaxError: Unexpected token { [22:36] rixius: v8: String.prototype.golf=function(){return this.split("").reduce(function(o,x){o[x]=o[x]?++o[x]:1;return o},{})}; "this is a test".golf() [22:36] v8bot: rixius: {t:3,h:1,i:2,s:3, :3,a:1,e:1} [22:36] RobrtPitt: (function o(){[o()]})(); [22:36] caolanm has joined the channel [22:36] RobrtPitt: v8: (function o(){[o()]})(); [22:36] v8bot: RobrtPitt: RangeError: Maximum call stack size exceeded [22:36] jerrysv: sorry was away, did someone get less characters? [22:37] qbit_ has left the channel [22:37] jerrysv: v8: (function(s){a={};for(i in s)a[b=s[i]]=-~a[b];return a})("this is a test"); [22:37] v8bot: jerrysv: {t:3,h:1,i:2,s:3, :3,a:1,e:1} [22:37] RobrtPitt: (function o(){[o()]})(); [22:37] RobrtPitt: stocker overflow [22:37] RobrtPitt: v8: (function o(){[o()]})(); [22:37] v8bot: RobrtPitt: RangeError: Maximum call stack size exceeded [22:37] RobrtPitt: well, no overflow but [22:37] fwg: well jerrysv you are using an implicit global there [22:37] xerox: jerrysv: hehe yours is a tad shorter [22:38] fwg: or two actually [22:38] jerrysv: i am using an implicit global, but i can still keep it short without those [22:38] Tobsn: for(var i in x) [22:38] Tobsn: :P [22:38] xerox: jerrysv: if I employ your trick tho, I get 1 character less! [22:38] xerox: (than you) [22:38] xerox: v8: "this is a test".split("").reduce(function(o,x){o[x]=-~o[x];return o},{}) [22:38] v8bot: xerox: {t:3,h:1,i:2,s:3, :3,a:1,e:1} [22:39] jerrysv: xerox: you aren't returning an anonymous function [22:39] xerox: no I am not [22:39] jerrysv: so you are outside the rules :) [22:39] xerox: :( [22:39] xerox: missed the rules! [22:39] jerrysv: function(s,i,a){a={};for(i in s)a[s[i]]=-~a[s[i]];return a} [22:39] rixius: by jerrysv: golf: an anonymous function to count all instances of each character in a string and return an object enumerating those characters and the counts [22:39] jerrysv: golf: an anonymous function to count all instances of each character in a string and return an object enumerating those characters and the counts [22:39] Tobsn: there ya go [22:39] jerrysv: heh [22:40] Tobsn: ;) [22:40] Tobsn: hehe [22:40] Tobsn: that var i btw. can be really annoying, in IE it can break without the var i [22:40] markwubben has joined the channel [22:40] Tobsn: or FF cant remember [22:40] jerrysv: v8: (function(s,i,a){a={};for(i in s)a[s[i]]=-~a[s[i]];return a})('abacad'); [22:40] v8bot: jerrysv: {a:3,b:1,c:1,d:1} [22:41] jerrysv: there's without implicit globals [22:42] Spotswood has left the channel [22:42] Tobsn: v8: (function(a,s,i){for(i in s)a[s[i]]=-~a[s[i]];return a})({},'abacad'); [22:42] v8bot: Tobsn: {a:3,b:1,c:1,d:1} [22:42] Tobsn: :D [22:43] RobertPitt has joined the channel [22:43] golfbot has joined the channel [22:44] golfbot has left the channel [22:45] jerrysv: tobsn: now do it with a regex [22:45] xDROPx has joined the channel [22:45] Tobsn: what? [22:45] Tobsn: isnt that already done? [22:45] xDROPx has joined the channel [22:45] Dreamer3 has joined the channel [22:45] xDROPx has joined the channel [22:45] jerrysv: tobsn: yes, but asking that you try with a regex too [22:46] xDROPx has joined the channel [22:46] Tobsn: v8: (function(r,s){s.replace(/./g,function(c){r[c]=-~r[c]});return r})({},'test') [22:46] v8bot: Tobsn: {t:2,e:1,s:1} [22:46] Tobsn: thats from broofa's version [22:46] xDROPx has joined the channel [22:47] jerrysv: too long [22:47] Tobsn: yep [22:47] Tobsn: (function(a,s,i){for(i in s)a[s[i]]=-~a[s[i]];return a})({},'test'); [22:47] Tobsn: is dev shorter [22:47] xDROPx has joined the channel [22:47] jerrysv: can do almost that short with a regex [22:47] xDROPx has joined the channel [22:47] xDROPx has joined the channel [22:47] xDROPx has joined the channel [22:48] xDROPx has joined the channel [22:48] jerrysv: v8: (function(s){i=/./g;a={};for(;x=i(s);)a[x[0]]=-~a[x[0]];return a})('test'); [22:48] v8bot: jerrysv: {t:2,e:1,s:1} [22:48] Tobsn: *def [22:48] Xano has joined the channel [22:49] jerrysv: v8: (function(s){i=/./g;a={};for(;x=i(s);)a[x]=-~a[x];return a})('test'); [22:49] v8bot: jerrysv: {t:2,e:1,s:1} [22:50] RobertPitt: golf : input will again be an integer, and output should be an array with the length of input [22:50] Tobsn: v8: function(a,i,s){for(;x=i(s);)a[x[0]]=-~a[x[0]];return a})({},/./g,'test') [22:50] v8bot: Tobsn: SyntaxError: Unexpected token ( [22:50] Tobsn: v8: (function(a,i,s){for(;x=i(s);)a[x[0]]=-~a[x[0]];return a})({},/./g,'test') [22:50] v8bot: Tobsn: {t:2,e:1,s:1} [22:50] Tobsn: hmm doesnt save anything [22:50] fwg: function(l){return Array(l)} [22:50] fwg: RobertPitt㇀ too easy [22:51] RobertPitt: lol [22:52] fwg: regex calling btw does not work in ff 5 [22:52] RobertPitt: fwg: i mean like output = Array(input), but it can be done in 15 [22:53] AvianFlu: hey jerrysv, got a minute? [22:53] jerrysv: fwg: seriously? [22:53] jerrysv: avianflu: sure! [22:53] AvianFlu: tweet some tweets with links in them @kohaitestbot in a minute [22:53] jerrysv: k [22:53] AvianFlu: I want to see if I got rid of all the crashes [22:53] jerrysv: ha [22:53] jerrysv: happy to be a guinea pig for that [22:53] fwg: jerrysv㇀ I just tried your code and it says TypeError: i is not a function [22:54] jerrysv: fwg: awesome. about to go to beer, will have to look again in the morning (or after a few beers) [22:54] fwg: guess they dropped that feature, think it is non-standard anyway [22:55] fwg: jerrysv㇀ have fun :) [22:55] adrianmg has left the channel [22:56] amerinese has joined the channel [22:58] matiasarriolas has joined the channel [22:58] niftylettuce: https://github.com/niftylettuce/gedit-icing for gnome2 folks! [22:59] damienbrz has joined the channel [22:59] Tobsn: AvianFlu, just turn off kohaibot ;) [22:59] Tobsn: that would help haha [23:00] AvianFlu: Tobsn: go turn off Twitter and I'll turn off the bot, how does that sound :-P [23:00] Tobsn: hehe [23:00] Tobsn: turn off twitter = turn off the bots account? [23:01] Tobsn: challenge accepted. [23:01] AvianFlu: no, I meant all. of. twitter. [23:01] sub_pop has joined the channel [23:01] Tobsn: just don't want the bot to flood the channel [23:01] Cleer has joined the channel [23:02] Tobsn: googles new css is fucked up [23:02] Tobsn: http://dl.dropbox.com/u/1656816/Screenshots/inpbnxd26i5q.png [23:02] hypno_ has joined the channel [23:03] bnoordhuis has joined the channel [23:05] ParadoxQuine has joined the channel [23:06] tim_smart has joined the channel [23:07] RobertPitt: Tobsn: Seems liek you have some addons installed in chrome or firefox thats causing it, looks fine here [23:07] Tobsn: yeah just realized that too [23:07] Tobsn: they should cascade down the style if a is present [23:08] k1ttty has joined the channel [23:09] marcello3d has joined the channel [23:11] c4milo1 has joined the channel [23:12] skript_ has joined the channel [23:15] skript_ has joined the channel [23:20] JohnnyL has joined the channel [23:23] ChrisPartridge has joined the channel [23:26] matyr_ has joined the channel [23:27] dgathright has joined the channel [23:27] vid___ has joined the channel [23:28] shirro has joined the channel [23:28] shirro has joined the channel [23:29] RobertPitt: https://www.youtube.com/watch?v=6JhkAB5B9iM&feature=player_embedded [23:29] harth has joined the channel [23:29] jeroen| has joined the channel [23:30] davididas has joined the channel [23:32] balaa has joined the channel [23:32] AvianFlu has joined the channel [23:37] marcello3d: nice, intellij supports unix colors in the console now :D [23:37] markwubb_ has joined the channel [23:42] bbttxu has left the channel [23:45] caolanm has joined the channel [23:45] ggg has joined the channel [23:46] ggg: what is a cursor in node-mongodb-native ... ? [23:46] ggg: lets says cursor.toArray(function(err, docs){ } [23:47] Swizec has joined the channel [23:47] ggg: how do I get my json ? [23:47] nornagon has joined the channel [23:48] KingJamool has joined the channel [23:49] azeroth_ has joined the channel [23:51] niftylettuce has joined the channel [23:51] infynyxx has left the channel [23:51] avalanche123 has joined the channel [23:51] azeroth_ has joined the channel [23:51] broofa has joined the channel [23:53] tlynn has joined the channel [23:53] bradleymeck_ has joined the channel [23:54] tokumine has joined the channel [23:56] ggg: using node-mongodb-native, is this a good design to let my mongo.Db always running and all my query function us it, or it will jam, or node.js take cares of it? [23:56] admc has joined the channel [23:57] euforic has joined the channel [23:58] balaa has joined the channel [23:59] [[zz]] has joined the channel [23:59] CarterA has joined the channel