[00:00] tuhoojabotti: But there are some devs here. [00:00] tuhoojabotti: Like ryah [00:00] tuhoojabotti: And others [00:00] leahciMic: I guess github provides better tools to manage bugs etc anyway [00:01] tuhoojabotti: yup [00:04] tahu has joined the channel [00:05] boltR has joined the channel [00:05] matejv has joined the channel [00:05] Tobsn has joined the channel [00:06] cjroebuck has joined the channel [00:06] kn0where has joined the channel [00:12] davidbanham has joined the channel [00:13] stagas has joined the channel [00:15] lyte has joined the channel [00:15] mikeal has joined the channel [00:20] tilgovi has joined the channel [00:20] tilgovi has joined the channel [00:22] thinkt4nk has joined the channel [00:22] jakehow has joined the channel [00:23] stagas has joined the channel [00:24] Labmonkey1 has joined the channel [00:25] rauchg has joined the channel [00:25] Labmonkey1: hello [00:26] adrianF has joined the channel [00:27] wereHamster: is there a way to get the FQDN from node? [00:27] wereHamster: os.hostname() only returns the hostname [00:28] Tobsn: you mean like HTTP_HOST from which the request comes from? [00:28] wereHamster: no. I mean the FQDN of the machine that node is runnign on [00:28] Tobsn: oh [00:28] Tobsn: dont think so [00:29] Tobsn: you can browse around in the network code and see if there is some var for it [00:29] Tobsn: but besides the hostname i dont think you get anything better [00:32] sh1mmer has joined the channel [00:36] mikeric has joined the channel [00:36] Labmonkey1: is anyone here familiar with socket.io? [00:37] Labmonkey1: im having trouble getting the flash backup working [00:37] Labmonkey1: its skipping over flash and going straight to xhr-polling [00:37] toddmorrill has left the channel [00:37] Emmanuel has joined the channel [00:38] Labmonkey1: im using an external apache server to serve my client files which is probably the source of the problem [00:38] stagas has joined the channel [00:38] j2dp has joined the channel [00:38] Tobsn: Labmonkey1, probably [00:38] Tobsn: also dont use apache :P [00:38] Tobsn: nginx/lighttpd [00:39] Tobsn: Labmonkey1, i actually never saw flash working, but it also never looked into it [00:39] kn0where: you could try setting it to use Flash only [00:39] Labmonkey1: im just running in IE [00:39] Tobsn: hmm [00:40] fzzzy has joined the channel [00:40] Labmonkey1: the website says to set WEB_SOCKET_SWF_LOCATION [00:40] Tobsn: try putting all on one single domain, all in the same folder and force it to use flash like kn0where said [00:40] Emmanuel has joined the channel [00:40] Labmonkey1: I can't do that, there is more than one server [00:40] Tobsn: hmm dont know if that will fuck it up [00:40] Tobsn: esp if you use different domains [00:41] Tobsn: i got it running half a year ago and never touched it again [00:41] Labmonkey1: it all works except for flash [00:41] Tobsn: cause its a very brittle little lib [00:41] matejv has joined the channel [00:41] Tobsn: did you tried to set the swf location? [00:41] Tobsn: maybe the module cant find it [00:41] Labmonkey1: im not sure im doing it right [00:41] Tobsn: btw. you know they have a channel only for socket.io? [00:41] Tobsn: #socket.io i think [00:41] Labmonkey1: I did not [00:42] Tobsn: grauch etc. are in there [00:42] Tobsn: rauchg whatever [00:42] Tobsn: hehe [00:42] Labmonkey1: but yea, I set WEB_SOCKET_SWF_LOCATION = "thelocation" [00:42] Labmonkey1: but I don't think that's right [00:42] Labmonkey1: because I can't find WEB_SOCKET_SWF_LOCATION referenced anywhere [00:42] Tobsn: yeah ask in socket.io, those guys are all into it, they might know it by heart [00:42] Tobsn: and im 2 versions behind [00:43] Me1000 has joined the channel [00:43] Labmonkey1: k [00:43] Samuel_Roldan has joined the channel [00:43] Labmonkey1: ty [00:43] Tobsn: if it helps [00:43] Tobsn: http://explore.cm/ [00:43] Tobsn: look into the source/connections that thing makes [00:43] teknopaul1: any on had any luck with writing to fifos? fs.open('/tmp/my.fifo', 'w', function(err, fd) { never calls the function and there are no exceptions [00:44] Tobsn: the ads are served over socket.io [00:45] xerox: teknopaul1: I think you want the net module [00:45] teknopaul1: isnt that for uniz sockets [00:45] teknopaul1: fs.open(FIFO, 'r', function(err, fd0) { works [00:46] kazupon has joined the channel [00:46] towski has joined the channel [00:46] teknopaul1: so does fs.writeFile(FIFO, "foobar") [00:47] xerox: I thought a unix socket was a fifo :x [00:48] patcito has joined the channel [00:48] teknopaul1: prw-rw-r-- 1 teknopaul teknopaul 0 Dec 5 01:12 acbd.fifo [00:48] teknopaul1: srwxrwxr-x 1 teknopaul teknopaul 0 Dec 5 01:39 acbd.sock [00:48] guybrush has joined the channel [00:48] teknopaul1: I guess p is for pipe and s for socket [00:48] xerox: makes sense [00:49] xerox: I had successes with unix sockets, so I guess I don't know anything about pipes [00:49] teknopaul1: yeah I've been using uniz sockets ok [00:49] mandric has joined the channel [00:51] cjroebuck has joined the channel [00:51] xerox: some google is in order :) [00:52] gerard0 has joined the channel [00:52] Tobsn: xerox, i couldnt find anything on FIFO and node.js [00:52] guybrush has joined the channel [00:53] nicholasf: Im having trouble getting output from node_redis [00:53] langworthy has joined the channel [00:53] nicholasf: bit stuck - can anyone see what I'm doing wrong? https://gist.github.com/1431833 [00:53] nicholasf: running this command in a coffee console (or node console) returns the data I want [00:54] teknopaul1: I dont think I'm doing anything to strange [00:54] dshaw_ has joined the channel [00:54] teknopaul1: just opening write only [00:54] tuhoojabotti: is that coffeescript? [00:54] nicholasf: yes [00:54] tuhoojabotti: Ok. [00:54] nicholasf: sorry Im learning a lot at the same time here [00:55] nicholasf: prolly a stupid mistake [00:55] davidascher has joined the channel [00:56] broofa has joined the channel [00:56] lyte_ has joined the channel [00:56] russrpitre has joined the channel [00:57] Corey has joined the channel [00:57] Brandon_R has joined the channel [00:58] Tobsn: teknopaul1, you tried rw? [00:58] Brandon_R: hey guys [00:58] Brandon_R: express 3.0 is in the works [00:58] Brandon_R: are you guys aware? [00:58] Tobsn: nicholasf, yeah at the same time that might be overkill ;) [00:58] devongovett has joined the channel [00:58] blippedxd has joined the channel [01:03] teknopaul1: Tobsn: I havent I dont think that makes sense, wth FIFO you ahve on preocess writing and one reading, but I'll give it a go [01:03] Tobsn: oh [01:03] Tobsn: true [01:03] Tobsn: you checked the persmissions? [01:03] Tobsn: node.js user has rights for /tmp etc. [01:04] Brandon_R: hi [01:07] teknopaul1: perms are ok [01:07] teknopaul1: starnge results with r+ [01:07] teknopaul1: I can read one line of test only [01:09] k1ttty has joined the channel [01:09] teknopaul1: but it does call the callback [01:11] mikeric has joined the channel [01:11] MatthewS has joined the channel [01:12] enmand has joined the channel [01:14] gtramontina has joined the channel [01:15] davidascher has joined the channel [01:16] CarterL has joined the channel [01:18] noah has joined the channel [01:18] tokuzfunpi has joined the channel [01:19] lyte has joined the channel [01:19] lyte has joined the channel [01:19] gavin_huang has joined the channel [01:20] ovaillancourt has joined the channel [01:21] teknopaul1: OK so hanging is "normal" open for write blocks until someone opens for read, r+ is useless. but even with the pipe setup properly I can only get one message down it. [01:21] tilgovi has joined the channel [01:21] teknopaul1: I think I'll drop the idea and use a network socket [01:21] tilgovi has joined the channel [01:22] coreb has joined the channel [01:23] pixel13 has joined the channel [01:23] pixel13 has left the channel [01:29] ryan_stevens has joined the channel [01:30] franciscallo has joined the channel [01:31] Brandon_R: holw [01:31] jakehow has joined the channel [01:34] ditesh|cassini has joined the channel [01:34] innociv_ has joined the channel [01:35] ryanj has joined the channel [01:36] abraxas has joined the channel [01:36] TN has joined the channel [01:38] pekim has joined the channel [01:38] hij1nx has joined the channel [01:41] runvnc has joined the channel [01:46] satyr has joined the channel [01:49] icewhite has joined the channel [01:49] JesusRosso has joined the channel [01:54] jldbasa has joined the channel [01:57] mikeal has joined the channel [01:59] catshirt has joined the channel [01:59] jocafa has joined the channel [02:00] devaholic has joined the channel [02:00] eeemsi: i am getting a warning during compilation of node [02:00] eeemsi: scons: warning: Ignoring missing SConscript 'obj/test/release/SConscript' [02:01] rchavik has joined the channel [02:01] eeemsi: it seems like being the only one [02:02] kiilo has joined the channel [02:02] boehm has joined the channel [02:03] scott_gonzalez has joined the channel [02:03] yuwang has joined the channel [02:08] dwhittle has joined the channel [02:10] Murvin has joined the channel [02:10] Murvin: who will go to the NOde.js Summit? [02:11] xeodox has joined the channel [02:12] jocafa has joined the channel [02:15] gtramontina has joined the channel [02:16] coreb1 has joined the channel [02:16] ChaoWang has joined the channel [02:16] jldbasa has joined the channel [02:16] jrbran has joined the channel [02:20] JesusRosso: Hello, I'm upgrading my express app to node 6.4. After some hits, node dies without ouput. Any clue, how can I debug this? [02:21] thoolihan has joined the channel [02:22] kn0where: I haven't tried it, but this may help. https://github.com/dannycoates/node-inspector [02:22] kn0where: node --debug your/node/program.js [02:23] langworthy has joined the channel [02:23] JesusRosso: Thanks kn0where, I'll try. [02:25] Labmonkey1 has left the channel [02:26] scott_gonzalez has joined the channel [02:26] tonymilne: JesusRosso maybe try listening for uncaughtException? E.g. process.addListener('uncaughtException', function(err) { [02:26] JakeSays: node-inspector doesnt work with v0.6x i lbelieve [02:27] JesusRosso: tonymilne, I'm listening uncaughtException. I think that is a internal problem of node 6.4 [02:27] JakeSays: JesusRosso: upgrade to 6.5 [02:27] JakeSays: maybe its fixed [02:27] tomlion has joined the channel [02:28] a_suenami has joined the channel [02:28] JesusRosso: JakeSays thanks i will try now, I didn't notice that 6.5 was out. [02:29] kiilo: i have an aray with tcp sockets ~if a clent closes the connection how can I detect that? [02:29] meso has joined the channel [02:30] JakeSays: JesusRosso: hmm. doesnt look like there's much in 6.5 [02:30] kiilo: on "close" a test of [02:30] kiilo: if (socket == tcpGuests[i]) { [02:30] kiilo: tcpGustes = tcpGuests.splice(i,1); [02:30] kiilo: } [02:30] kiilo: doesnt work? [02:31] JesusRosso: JakeSays, Yes I was reading the changelog, anyway I'm compiling 6.5 right now to try. [02:31] JakeSays: JesusRosso: which platform are you on? [02:31] JesusRosso: last ubuntu 32 bits. [02:31] kejun has joined the channel [02:32] msch: anyone using FastLegs? Can you recommend it? any other good postgresql orms out there? [02:32] JakeSays: JesusRosso: hmm. you should try node-inspector and see if ti works [02:34] JesusRosso: JakeSays, I will try. But I think that is a problem of the node binary, because I'm printing the errors on 'uncaughtException' and I don't see anything when node dies. [02:35] JesusRosso: same problem with node 6.5 :( [02:37] jrbran has joined the channel [02:37] sorin has joined the channel [02:38] lyte_ has joined the channel [02:38] jakehow has joined the channel [02:38] Aria has joined the channel [02:39] ekryski has joined the channel [02:39] JakeSays: so on windows, does fs recognize windows path separators? [02:39] sorin has joined the channel [02:41] kickingvegas has joined the channel [02:45] jldbasa has joined the channel [02:45] vicapow has joined the channel [02:46] kazupon has joined the channel [02:48] torm3nt has joined the channel [02:48] pekim has joined the channel [02:51] vicapow: hello all [02:51] jamescarr_ has joined the channel [02:53] jamescarr_: so anyone here have much luck with mongoose's new populate DBRef feature? [02:54] franciscallo has joined the channel [02:57] kiilo has left the channel [03:00] r04r has joined the channel [03:01] rauchg has joined the channel [03:02] adamstantonvan has joined the channel [03:03] coreb has joined the channel [03:04] r04r has joined the channel [03:05] lmorchard has joined the channel [03:05] kraft has joined the channel [03:07] jacobolus has joined the channel [03:07] warz has joined the channel [03:08] benvie has joined the channel [03:09] r04r has joined the channel [03:12] mono has joined the channel [03:12] mono: ho [03:13] trevorsheridan has joined the channel [03:13] Guest68355: what's the criteria to look out in a linux distro for node as a server for a large real time app? [03:13] Aria: "Modern C++ compiler" [03:13] Guest68355: any thoughts? [03:14] Aria: node is pretty isolated. I like having something modern for supporting tools, but node itself isn't so picky. [03:14] beseku has joined the channel [03:14] r04r has joined the channel [03:14] tonymilne: Guest68355 Something like Ubuntu will be fine. [03:14] kejun has joined the channel [03:14] Guest68355: so maintenance and performance wise it shouln't matter? [03:15] Guest68355: just something I feel good using, eh [03:15] Aria: Yeah. It's really not that picky. [03:15] Guest68355: sweet, thanks [03:15] Aria: I'd use Centos6 or SmartOS on a server with it. [03:15] Aria: But that's just two things off the top of my head. [03:15] Guest68355: ok [03:16] avih has joined the channel [03:16] mlangenberg has joined the channel [03:16] Guest68355: another thing, are there any benchmarks I could have a look at in terms of scalability and performance on WebSocket/Node ? [03:17] Guest68355: I'm looking to do MMOG stuff with a lot of data circulating between clients and server [03:17] dr0id has joined the channel [03:17] Guest68355: my concern is more the amount of data passed around rather than the amount of connected clients [03:18] kn0where has left the channel [03:18] marcostoledo has joined the channel [03:19] r04r has joined the channel [03:19] Tuller has joined the channel [03:20] Guest68355: Are there any benchmarks I could have a look at in terms of scalability and performance on WebSocket/Node? I'm looking to do MMOG stuff with a lot of data circulating between clients and server. My concern is more the amount of data passed around rather than the amount of connected clients. [03:21] Guest68355: any thoughts out there? [03:21] tonymilne: Node is fast and scalable. [03:21] tonymilne: Write yourself a simple prototype and see if it meets your demands. [03:22] tonymilne: (as only you will know what sort of data is representative of your system + expected load / server infrastructure) [03:23] Guest68355: are there tools tha help with node load testing? [03:24] r04r has joined the channel [03:24] alejandromg has joined the channel [03:24] tonymilne: yep. I've used https://github.com/benschmaus/nodeload and it's quite good. [03:25] Guest68355: thx [03:25] JakeSays: hmm. node doesnt support json? [03:26] tonymilne: JakeSays o'rly? Try JSON.parse() and JSON.stringify() [03:26] Aria: It does. [03:26] JakeSays: LOL [03:26] JakeSays: ACTION can be really dense sometimes [03:26] JakeSays: i was looking for a json module [03:27] joshsmith has joined the channel [03:28] JakeSays: hmm. not quite what i wanted (didnt want the member names quoted) [03:28] joshsmith has joined the channel [03:28] Guest68355: nodeload seems pretty much exactly what I was looking for. Nice one. Cheers mate [03:28] r04r has joined the channel [03:28] tonymilne: np. :) [03:29] matin has joined the channel [03:29] matin: hello [03:29] tonymilne: JakeSays what are you trying to do? (when you say names quoted - do you mean the object keys?) [03:29] tonymilne: … if so, it probably won't matter. [03:30] JakeSays: tonymilne: yes - keys. i have a big array of objects that i'm cleaning up [03:30] JakeSays: so i wrote a little script to fix them and write them back out [03:30] JakeSays: and yeah, it doesnt matter, just kind of ugly [03:30] Guest68355: nop [03:31] Aria: json technically always has the names quoted. [03:31] JakeSays: i know [03:32] JakeSays: but these are really object literals in source code [03:32] matin: is anyone here experienced with utilizing databases for games? [03:32] JakeSays: but.. i can live with quotes [03:32] matin: or databases w/ node for that matter [03:33] r04r has joined the channel [03:33] JakeSays: so is there no fs.copyFile() or did i miss something? [03:33] JakeSays: do i need to readFile()/writeFile()? [03:34] Aria: Yes. [03:34] Aria: "copy" is not a primitive operation. [03:35] matin: hi Aria [03:36] Aria: 'eya [03:36] kejun has joined the channel [03:38] joshsmith: this is why Yahoo Answers is not a reliable resource: http://answers.yahoo.com/question/index?qid=20080411231933AAXBn4x [03:38] ekryski has joined the channel [03:41] joshthecoder: lol "maybe their saliva smell like the fish." [03:42] joshsmith: the "best answer" was "Maybe b/c they lick there butt???" [03:42] joshsmith: just wow [03:43] subbyyy has joined the channel [03:43] boltR has joined the channel [03:44] jesusabdullah: hahaha [03:44] jesusabdullah: MAYBE [03:44] jesusabdullah: I like that the most reasonable solution had 0 votes [03:44] joshsmith: haha yep [03:44] joshsmith: also, why do people use several ellipses in a place where a period would suffice? [03:44] joshsmith: and have you ever seen the people That Talk Like This All The Time? [03:45] devongovett has joined the channel [03:45] joshsmith: important questions... [03:46] langworthy has joined the channel [03:47] darkenco has joined the channel [03:50] langworthy_ has joined the channel [03:55] alejandromg has joined the channel [03:55] dwhittle has joined the channel [03:55] kriszyp3 has joined the channel [03:57] slajax has joined the channel [03:57] r04r has joined the channel [03:58] alejandromg_ has joined the channel [03:58] kejun has joined the channel [03:58] amigojapan has joined the channel [03:58] baudehlo1 has joined the channel [03:58] Sami_ZzZ has joined the channel [04:00] seegul has joined the channel [04:01] jocafa has joined the channel [04:02] r04r has joined the channel [04:02] r04r has joined the channel [04:04] bibabot has joined the channel [04:06] elijah-mbp has joined the channel [04:06] langworthy has joined the channel [04:06] kenperkins has joined the channel [04:06] davidascher has joined the channel [04:07] clu3 has joined the channel [04:07] k1ttty has joined the channel [04:07] r04r has joined the channel [04:08] joshsmith: how can I get the parent dir of the cwd? [04:09] SubStack: joshsmith: path.dirname(process.cwd()) [04:09] joshsmith: I had my views set as __dirname + '/views' [04:10] joshsmith: but moved my configure into a separate config/environment.js file [04:10] joshsmith: should I do process.cwd() + '/views' instead? [04:10] dilvie has joined the channel [04:10] alejandromg: just __dirname [04:10] SubStack: __dirname is more stable than process.cwd() [04:11] nicholasf has joined the channel [04:11] SubStack: the cwd varies based upon how somebody executed your server [04:11] joshsmith: ah [04:11] joshsmith: but __dirname isn't the right dir [04:12] r04r has joined the channel [04:12] joshsmith: I mean, it'll try to put my views in /config/views [04:12] SubStack: then supplement it [04:12] SubStack: __dirname + '/wherever' [04:12] joshsmith: maybe I'm not clear [04:12] tommyvyo has joined the channel [04:13] joshsmith: I'm in a child directory of where app.js is [04:13] towski has joined the channel [04:13] joshsmith: so if I do app.set('views', __dirname + '/views') [04:13] joshsmith: it'll make views a child of the child directory I'm in [04:14] alejandromg_ has joined the channel [04:14] andersonjuhasc has joined the channel [04:14] joshsmith: I don't know how to crawl up the tree one level [04:14] SubStack: __dirname + '/..' [04:15] joshsmith: ah, there we go [04:15] joshsmith: it'd be __dirname + '/..' + '/views' [04:16] SubStack: __dirname + '/../views' [04:16] joshsmith: yeah [04:16] joshsmith: thanks! [04:17] jstash has joined the channel [04:17] langworthy has joined the channel [04:19] p1d_ has joined the channel [04:20] ryanj has joined the channel [04:20] JumpMast3r has joined the channel [04:20] davidascher has joined the channel [04:22] ryanfitz has joined the channel [04:26] unomi has joined the channel [04:28] devongovett has joined the channel [04:28] _dc has joined the channel [04:30] jtsnow has joined the channel [04:30] davidascher has joined the channel [04:32] darkenco has joined the channel [04:34] alejandromg has joined the channel [04:38] jtsnow has joined the channel [04:39] bartt has joined the channel [04:40] _jgr has joined the channel [04:40] tomlion_ has joined the channel [04:42] chjj has joined the channel [04:42] tonymilne has joined the channel [04:44] Cerales has joined the channel [04:44] Cerales: Can anyone help me with catching ECONNREFUSED errors when I'm making requests with http.request? [04:47] tonymilne has joined the channel [04:47] joshsmith: Cerales: it's likely refusing because you don't have authorization to access whatever resource you're connecting to [04:48] Cerales: yeah, it's an expected behaviour [04:48] Cerales: but i can't figure out how to catch the error [04:48] Cerales: it's just throwing out and killing the process [04:48] joshsmith: ohh gotcha [04:48] skunkape: anybody here using no.de smarthosts? [04:50] joshsmith: Cerales: I'd consider throwing that question up on StackOverflow [04:50] joshsmith: it'll be good for others to have that resource in the future [04:50] Cerales: joshsmith: will do! [04:51] joshsmith: Cerales: cool. sorry I can't help [04:51] Cerales: no problem :) [04:52] thepatr1ck: Cerales: try var request = http.request(…); request.on('error', function(err){ console.log("ERROR!", err); }); [04:52] langworthy has joined the channel [04:54] ernie_r has joined the channel [04:55] Cerales: thepatr1ck: doesn't work - it doesn't catch it if it's inside the response callback block, and if it's outside of it it says 'object false has no method "on"' [04:55] kazupon has joined the channel [04:56] jp232 has joined the channel [04:56] alejandromg: Cerales: you can try with uncaught error: https://gist.github.com/1346982 [04:57] alejandromg: ACTION uncaughtException [04:58] baudehlo has joined the channel [04:59] langworthy_ has joined the channel [05:00] isaacs has joined the channel [05:01] Xiphias3 has joined the channel [05:04] Cerales: but then I can't get back to my callback.. [05:04] samyak__ has joined the channel [05:05] alejandromg: Cerales: yes... That code only let you know what is causing the problem [05:06] tommyvyo has joined the channel [05:06] alejandromg: if your app gets the uncaught point means that the server/process crash [05:06] Cerales: yeah.. the thing is i know in advance what might cause the problem, and don't want an entire node.js system to die just because a server was down :\ [05:06] zeade has joined the channel [05:06] RobWC has joined the channel [05:07] Cerales: i thought this was the whole point of the convention of callbacks taking an error parameter as their first argument! [05:07] RobWC has joined the channel [05:07] alejandromg: yeah! it is [05:07] RobWC has left the channel [05:08] alejandromg: but there is not a problem about your request its about the whole process [05:08] alejandromg: if you want you can put your code in a gist, so we can see what is actually going on... [05:09] Cerales: i put up my question just now: http://stackoverflow.com/questions/8381198/catching-econnrefused-in-node-js-with-http-request [05:09] thepatr1ck: this works for me: http://pqg.be/3q3o1p0V3t3M0r2V0y42 [05:09] thepatr1ck: (using req.on('error', function(){ … }) [05:09] Cerales: hmm, strange [05:09] schristo has joined the channel [05:10] Cerales: oh god, ultra face palm [05:10] Cerales: i was calling .end() on the req object before binding to its error event [05:10] alejandromg: you got it! [05:11] thepatr1ck: it's easy to forget that [05:12] Cerales: thanks everyone [05:12] alejandromg: np! [05:13] samyak__ has joined the channel [05:15] copongcopong has joined the channel [05:16] kenperkins has joined the channel [05:17] vicapow has joined the channel [05:18] neoesque has joined the channel [05:18] RobWC has joined the channel [05:19] dshaw_ has joined the channel [05:20] Cerales has joined the channel [05:20] ryanfitz has joined the channel [05:21] bnoordhuis has joined the channel [05:22] samyak__ has joined the channel [05:23] vicapow has left the channel [05:26] davidbanham has joined the channel [05:26] eisberg has joined the channel [05:27] copongcopong has joined the channel [05:28] rwaldron has joined the channel [05:28] eisberg: Trying to install nodejs on EC2, won't compile. Anyone done it before? [05:29] crcn has joined the channel [05:29] crassus has joined the channel [05:29] eisberg: LINK(host) /home/ec2-user/node/out/Release/mksnapshot /usr/bin/ld: cannot find -lz [05:30] boltR has joined the channel [05:30] eisberg: Linux ip-10-243-47-71 2.6.34.7-56.40.amzn1.x86_64 #1 SMP Fri Oct 22 18:48:49 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux [05:30] crassus: This is so cool: https://github.com/ngn/apl Just because of that node.js is redeemed completely in my eyes. [05:30] crassus: I love you guys. [05:31] boehm has joined the channel [05:31] fairwinds has joined the channel [05:32] guntha has joined the channel [05:32] alejandromg_: crassus: try using this https://gist.github.com/1379584 [05:33] crassus: I already have node alejandromg_ :) [05:33] crassus: I installed awhile back to play with coffeescript and a few other things [05:33] alejandromg_: sorry! hahaa [05:33] crassus: np [05:33] alejandromg_: I mean eisberg [05:34] brianseeders has joined the channel [05:34] ryanj has joined the channel [05:35] j2dp has joined the channel [05:35] eisberg: thanks alejandro - will do!! [05:36] Cerales has joined the channel [05:37] chrixian has joined the channel [05:39] IrishGringo has joined the channel [05:40] codygray has joined the channel [05:41] alejandromg has joined the channel [05:43] Slipyx has joined the channel [05:43] maletor has joined the channel [05:46] elijah-mbp has joined the channel [05:48] MUILTRFN has joined the channel [05:49] Cerales has joined the channel [05:50] rwaldron has joined the channel [05:54] olliey has joined the channel [05:55] Edy has joined the channel [05:56] dgathright has joined the channel [05:57] lyte has joined the channel [05:57] r04r has joined the channel [05:57] liar has joined the channel [05:57] joeyang has joined the channel [05:58] tshpaper has joined the channel [05:58] baudehlo1 has joined the channel [05:58] copongcopong1 has joined the channel [05:59] CIA-109: libuv: 03Ben Noordhuis 07v0.6 * r34e95d1 10/ src/unix/core.c : [05:59] CIA-109: libuv: unix: make it safe to delete the default loop [05:59] CIA-109: libuv: Fixes a potential free() of non-malloc'ed memory. - http://git.io/a9ZZwA [06:02] r04r has joined the channel [06:02] ayaz has joined the channel [06:03] samyak__ has joined the channel [06:05] wookiehangover has joined the channel [06:05] ekryski has joined the channel [06:06] Leemp has joined the channel [06:06] kerang has joined the channel [06:06] r04r has joined the channel [06:06] r04r has joined the channel [06:11] r04r has joined the channel [06:12] kerang: has anyone used shadow npm before? http://shadow-npm.net/ [06:13] Cerales has joined the channel [06:14] Wizek has joined the channel [06:14] tuhoojabotti: No [06:15] tuhoojabotti: I'm pretty sure you're the only one. [06:15] tonymilne: kerang i haven't used it but i can speak very highly of it's author dominic tarr (he's mad keen on testing, so it's probably quite reliable) [06:16] r04r has joined the channel [06:17] kerang: tonymilne: not questioning the app :), trying to use it, but a bit lost as to how it's set up [06:17] crassus has left the channel [06:17] satyr has joined the channel [06:17] kerang: tonymilne: does it mean anyone can run their own instance of shadow npm using local couchdb ? [06:17] CiRlE has joined the channel [06:18] tonymilne: kerang curl -X PUT 'http://shadow-npm.net/rego?admins=you&readers=jim,paul,emma' [06:18] kerang: tonymilne: the documentation only says about registering users to shadow-npm.net , does it mean shadow-npm is a centralised service on the cloud ? [06:18] tonymilne: implies you can create on on his server, [06:19] kerang: so my private modules will be published on his couchdb on shadow-npm.net ? [06:19] tonymilne: yeah, i guess if you did that, but I'm sure you could get it running locally. [06:19] tonymilne: kerang do you use git in your workflow? [06:19] tonymilne: you can just use npm without publishing to everyone. [06:20] kerang: tonymilne: if my private modules need to be published to shadow-npm.net, then it defeats the purpose of "private" there.. [06:20] kerang: tonymilne: i don't want to replicate the whole npm registry, hence i'm looking at shadow-npm [06:21] tonymilne: check out http://debuggable.com/posts/private-npm-modules:4e68cc7d-1ac4-42d9-995a-343dcbdd56cb [06:21] r04r has joined the channel [06:21] kerang: tonymilne: our projects here use a variety of scm.. git, svn, cvs (ouch), and god forbid clearcase [06:23] hackband has joined the channel [06:25] mikeal has joined the channel [06:26] r04r has joined the channel [06:26] kazupon has joined the channel [06:27] smgt has joined the channel [06:27] amigojapan has joined the channel [06:28] Margle has joined the channel [06:28] kerang: tonymilne: thanks for the link, yup, already using that approach.. the problem is that version number is there on the url, there's no notion of 'latest stable' in scm url [06:28] kerang: tonymilne: so we put a workaround , adding 'latest' label/tag/etc for the latest version, but then the url gets cached by our proxy layer [06:29] tonymilne: hmm, thats disappointing :( [06:30] kerang: tonymilne: at the end of the day, that technique mentioned on debuggable article is a workaround... the proper way is to have a local npm repo really, that's why i'm keen on setting up shadow-npm internally with our local couchdb.. but yea, the documentation is lacking [06:31] r04r has joined the channel [06:31] lietu has joined the channel [06:31] Margle: ACTION hugs # [06:31] kerang: tonymilne: i've tried running shadow-npm server locally, but if i try the curls as on the doc, but replace shadow-npm with the local shadow-npm server, i kept getting html code response about Redirection [06:31] HT has joined the channel [06:31] kerang: tonymilne: and it's not clear how to configure local shadow-npm with local couchdb [06:32] tlrobinson: if your program only does disk IO (with a single disk) is it likely to run faster with the synchronous APIs? [06:32] tonymilne: tlrobinson no. it's likely to run in a blocking way like: php, etc, etc. [06:33] kerang: tonymilne: is dominic a very busy dude? (i assume he is with all those modules on his github) [06:33] mraleph has joined the channel [06:33] lietu: I can't seem to find any documentation on how to read data from a socket when doing "new net.createServer().on('connection', function(socket) {});" ... I can get in the socket, and it seems to have a lot of functions, but I can't find a "read()" or similar ... anyone point me to the right direction? [06:33] tonymilne: kerang Give him a tweet, etc - he'd happily help you, and would get a buzz from someone using his hard work! :) [06:33] fangel has joined the channel [06:34] tlrobinson: tonymilne: i understand it blocks, and i don't care. it's not serving web requests, just a command line utility doing some disk io [06:34] kerang: tonymilne: sure thanks :)... i'm beginning to question how these elite node.js folks will handle these insanely large number of projects... look at how many pull requests went ignored for many months... not one person can possibly maintain 90 projects really... [06:35] r04r has joined the channel [06:35] r04r has joined the channel [06:35] idefine has joined the channel [06:36] subbyyy has joined the channel [06:36] tlrobinson: i'm just wondering if there is any performance0 advantage to using async APIs if all I'm doing is reading from disk [06:36] kerang: tlrobinson: disk reading is still IO, right? then it shouldn't be blocking, no? [06:38] tlrobinson: kerang: not necessarily. you can only read one thing from a disk at a time [06:38] tonymilne: tlrobinson without checking node source, i imagine that it will be very minor. E.g. the difference between a return vs calling a function that was passed in. The underlying mechanism for performing the disk read will be equivalent. [06:39] thepatr1ck: lietu: reading is net.createServer().on('connection', function(socket) {}).on('data', function(data){ … }) [06:39] nzjames has left the channel [06:39] lietu: thepatr1ck, thanks, I *just* figured that out 2 seconds earlier ;) [06:39] kerang: tlrobinson: only one disk head? if all you're doing is reading from disk, yea... unless you have other things that's cpu-bound, then sync should be better then [06:39] Tobsn: is it just me or is google.com down? [06:39] Tobsn: hmm back [06:39] kerang: Tobsn: up fer me [06:39] Tobsn: it was unreachable for ~30 [06:40] tlrobinson: tonymilne: i'm not sure that's true. i was under the impression the sync fs methods were added because of the overhead of the event loop was too much for certain scenarios dealing with the fs [06:40] satyr has joined the channel [06:40] thepatr1ck: lietu: node'll do that :) [06:40] neilk_ has joined the channel [06:41] tonymilne: tlrobinson I would assume that sync methods were added for convenience during startup routines etc, where you know that you need to block the app init process until certain things are done, e.g. read config from file, etc. [06:41] r04r has joined the channel [06:41] alejandromg has joined the channel [06:43] p3rsist has joined the channel [06:45] r04r has joined the channel [06:46] OSInet has joined the channel [06:46] OSInet has joined the channel [06:47] mikeal has joined the channel [06:47] jacobolus has joined the channel [06:49] enos_feedler has joined the channel [06:50] JumpMast3r has joined the channel [06:50] r04r has joined the channel [06:51] alejandromg has joined the channel [06:52] sqpat has joined the channel [06:52] SamuraiJack has joined the channel [06:52] sqpat: hey, how can i get the machine hostname outside of a request? I'm poking around at the process documentation but dont see it there. [06:53] samyak__ has joined the channel [06:55] rchavik has joined the channel [06:55] r04r has joined the channel [06:58] baudehlo has joined the channel [07:00] r04r has joined the channel [07:00] r04r has joined the channel [07:03] p1d has joined the channel [07:04] k1ttty has joined the channel [07:05] r04r has joined the channel [07:05] simenbrekken has joined the channel [07:05] braoru has joined the channel [07:06] Margle has joined the channel [07:07] alejandromg has joined the channel [07:09] Samuel_Roldan has joined the channel [07:09] r04r has joined the channel [07:09] r04r has joined the channel [07:10] bogomips2_ has joined the channel [07:11] djazz has joined the channel [07:11] bogomips2__ has joined the channel [07:13] bnoordhuis: sqpat: require('os').hostname() [07:14] r04r has joined the channel [07:14] sarlalian has joined the channel [07:16] CIA-109: node: 03Ben Noordhuis 07v0.6 * ra0fdd5f 10/ (deps/uv/src/unix/core.c deps/uv/src/unix/error.c): uv: upgrade to 34e95d1 - http://git.io/KFodyg [07:16] CIA-109: node: 03Ben Noordhuis 07v0.6 * raeb124f 10/ test/simple/test-fs-long-path.js : test: create test file in temp dir - http://git.io/EpxMYw [07:16] KingJamool has joined the channel [07:17] ditesh|cassini has joined the channel [07:17] elliottcable: ACTION pats purr [07:17] purr: ACTION rrrr [07:18] matejv has joined the channel [07:19] r04r has joined the channel [07:21] purr has joined the channel [07:23] dr0id: elliottcable: helo [07:24] r04r has joined the channel [07:24] ph^ has joined the channel [07:24] purr has joined the channel [07:26] towski has joined the channel [07:28] sh1mmer has joined the channel [07:29] r04r has joined the channel [07:31] JumpMast3r has joined the channel [07:33] tvw has joined the channel [07:34] r04r has joined the channel [07:35] mike5w3c has joined the channel [07:37] davidbanham has joined the channel [07:37] aliem has joined the channel [07:38] r04r has joined the channel [07:39] codygray has joined the channel [07:39] wookiehangover has joined the channel [07:42] CIA-109: node: 03Ben Noordhuis 07v0.6 * rfdf180f 10/ src/node.cc : cli: fix output of --help - http://git.io/wdkwvA [07:43] r04r has joined the channel [07:43] truedat101 has joined the channel [07:47] r04r has joined the channel [07:49] mraleph has joined the channel [07:49] ph^_ has joined the channel [07:49] SuMarDi has joined the channel [07:49] groom has joined the channel [07:49] cedeon has joined the channel [07:51] kilio has joined the channel [07:52] samyak__ has joined the channel [07:53] r04r has joined the channel [07:53] r04r has joined the channel [07:55] amigojapan has joined the channel [07:56] purr has joined the channel [07:57] mikeal has joined the channel [07:57] r04r has joined the channel [07:58] simenbrekken has joined the channel [08:02] Morkel has joined the channel [08:02] meso has joined the channel [08:03] r04r has joined the channel [08:03] fangel has joined the channel [08:04] purr has joined the channel [08:04] robhawkes has joined the channel [08:04] m00p has joined the channel [08:05] sindresorhus has joined the channel [08:06] neshaug has joined the channel [08:06] gripir has joined the channel [08:07] davidbanham has joined the channel [08:07] blaenk has joined the channel [08:08] ph^ has joined the channel [08:09] styol has joined the channel [08:10] verdoc has joined the channel [08:11] gripir: I'm new to node and tried this howto: http://howtonode.org/express-mongodb ... everything is working so far but the blog entries are sorted in the wrong way. I want to have the newest blog entry on the top but at the moment it is shown on the bottom of the list ... I cannot find the place in the source code where I can change this :S [08:11] bosphorus has joined the channel [08:12] gripir: and by the way I'm new to javascript too :D [08:14] `3rdEden has joined the channel [08:14] purr has joined the channel [08:14] hipsters_ has joined the channel [08:16] kickingvegas has left the channel [08:22] passionke has joined the channel [08:23] romanb has joined the channel [08:24] spurge has joined the channel [08:25] kuebk has joined the channel [08:25] raphdg has joined the channel [08:28] NetRoY has joined the channel [08:31] djcoin has joined the channel [08:32] spurge: Has anyone been able to stream audio data from jussi's audiolib? [08:33] mikeal has joined the channel [08:33] ph^ has joined the channel [08:33] vvo has joined the channel [08:34] niftylettuce: does anyone know of a better way to do recursive file searching than http://stackoverflow.com/questions/5827612/node-js-fs-readdir-recursive-directory-search in order to add recursive search to my existing https://gist.github.com/8d839f1ce94ebc47698f [08:34] daGrevis has joined the channel [08:35] daGrevis: Hey! What could be reason that server doesn't work using http://192.168.88.193:1337/ (git this from ifconfig) but works using http://127.0.0.1:1337/ ? [08:37] uchuff has joined the channel [08:38] m00p has joined the channel [08:38] blup has joined the channel [08:38] blup_ has joined the channel [08:38] blup__ has joined the channel [08:39] [AD]Turbo has joined the channel [08:39] augustl: daGrevis: NAT [08:39] luke` has joined the channel [08:41] [AD]Turbo: hi there [08:41] ph^ has joined the channel [08:41] daGrevis: augustl, what's NAT? [08:41] ph^_ has joined the channel [08:42] tonymilne has joined the channel [08:43] AD7six has joined the channel [08:45] Druid_ has joined the channel [08:46] jetienne has joined the channel [08:46] augustl: daGrevis: network address translation. 192.168.88.193 might not be a direct route to your own machine [08:46] augustl: daGrevis: or of course 192.168.88.193 might be the wrong IP ;) [08:47] michaelhartau has joined the channel [08:47] bergie has joined the channel [08:47] mc_greeny has joined the channel [08:49] daGrevis: augustl, it must be the right ip - http://pastie.org/2968375 [08:49] CiRlE_ has joined the channel [08:50] daGrevis: could this be the problem? http.listen(1337, '127.0.0.1'); [08:50] Bonuspunkt: daGrevis is there a listen(1337, '127.0.0.1') ? [08:50] daGrevis: Bonuspunkt, yes. exactly like that [08:51] Bonuspunkt: remove the 2nd param an than it should be accessible via that ip and localhost [08:52] beevits has joined the channel [08:52] rendar has joined the channel [08:52] rendar has joined the channel [08:53] salva has joined the channel [08:53] mikl has joined the channel [08:54] elliottcable: o7 all [08:54] elliottcable: Any V8eers here? [08:54] elliottcable: Getting started with my first actual addon, and trying to figure out how to do the equivalent of `new APsuedoClass()`, in C++ [08:55] daGrevis: Bonuspunkt, this made it work for my PC. thanks. i can now access it using http://192.168.88.193:1337/ . Anyway, my mates (on LAN) can't access it. Can you think of any reasongs why? [08:55] whitman has joined the channel [08:56] Bonuspunkt: daGrevis firewall? [08:56] mikeal has joined the channel [08:56] elliottcable: https://gist.github.com/406c7b319a04475c824f is the code so far [08:56] elliottcable: most of it is boilerplate [08:56] elliottcable: so, given the “class”-style function created on lines 20-39, [08:56] elliottcable: I can use `new Screen()` JavaScript-side [08:57] elliottcable: what's the equivalent code to use inside a C++ method? [08:57] daGrevis: Bonuspunkt, thanks! :) [08:58] baudehlo1 has joined the channel [09:00] meso has joined the channel [09:01] merlin83 has joined the channel [09:01] p3rsist: Hi guys. If I want to build a desktop web application with even driven networking. If I choose python for the desktop app, and node.js on the server, will it be good? [09:01] thalll has joined the channel [09:04] lauxley has joined the channel [09:04] konobi: elliottcable: new curses lib? [09:05] djazz has left the channel [09:05] kazupon has joined the channel [09:05] zomg: daGrevis: ha so I'm not the only one running node on port 1337... :P [09:06] elliottcable: konobi: yep [09:06] elliottcable: konobi: well, wrong word. It's not a library, it's a very very straightforward wrapper. [09:06] spolu has joined the channel [09:06] elliottcable: looks like I can use v8::Function::NewInstance() [09:07] elliottcable: probably :x [09:07] ShotgunKlaus has joined the channel [09:07] elliottcable: ACTION wishes to hell that Node and v8 were better document [09:07] elliottcable: ACTION and by “and” I mean “or”, because either one would help [09:07] elliottcable: ACTION and by “better” I mean “at all” [09:07] rwasielewski has joined the channel [09:07] elliottcable: ACTION and by “document” I mean “documented” ('cause I can't spell for shit) [09:07] tuhoojabotti: ACTION lol [09:08] hipsters_ has joined the channel [09:08] elliottcable: hm, since I can only create one instance of a v8::FunctionTemplate in a given context, is there a common idiom for retaining an instance of a constructor for an `node::ObjectWrap`'d C++-class? [09:09] konobi: elliottcable: http://fossil.wanderinghorse.net/repos/v8-addons/index.cgi/wiki?name=addon-ncurses [09:09] elliottcable: konobi: I'm aware. [09:09] konobi: also node-curses =0) [09:09] elliottcable: oh, hold on, that's different from node-ncurses [09:09] elliottcable: maybe that'll be useful [09:10] elliottcable: well, not quite. It doesn't seem to really be node-compatible [09:10] elliottcable: konobi: nah, you're talking about node-ncurses, which is exactly what I'm trying to replace (mine is called node-ncurses) [09:10] alFReD-NSH has joined the channel [09:10] elliottcable: but addon-ncurses looks like it might be a much better option [09:11] elliottcable: “The wide-char ncurses API. Maybe someday, but not soon.” [09:11] elliottcable: okay, I take that back [09:11] alFReD-NSH: Have anyone done body parsing with director from flatiron? [09:11] elliottcable: who the hell doesn't support UTF8 in this day'n'age!? [09:12] hipsters_ has joined the channel [09:13] stonebranch has joined the channel [09:13] tvw has joined the channel [09:13] Lorentz: elliottcable: Certain east-asian fonts that can't be expressed in utf8 [09:14] elliottcable: still need widecharacters. [09:14] piscisaureus_ has joined the channel [09:14] konobi: there's always node-ffi [09:14] elliottcable: konobi: doesn't look like that's an option when there are opaque types in the API [09:15] elliottcable: i.e. curses WINDOW pointers [09:15] tomlion has joined the channel [09:16] elliottcable: er, apparently there's a signifigant performance penalty; that's also inacceptable for my project [09:16] elliottcable: yay duplicating work ;_; [09:17] konobi: good way to get a test suite together.. get an api together and then you can c-ify it [09:17] arcanis has joined the channel [09:17] elliottcable: well, there's nothing to test [09:17] zomg: Lorentz: I thought utf8 was supposed to be able to display everything [09:17] konobi: elliottcable: SIGWINCH? [09:17] elliottcable: in this case it's a literal, direct, one-to-one-ification of the ncurses(3X)-widech and panel(3X) APIs [09:17] cosmincx has joined the channel [09:17] elliottcable: konobi: I won't be providing WINCH handlers or anything else. Like I said, one-to-one; that's left to the consumer. [09:18] mange has joined the channel [09:18] elliottcable: *once this is done*, I'll probably write a second abstraction library that consumes the Ncurses APIs, and provides nicities like WINCH handling, objectively-oriented API to Windows/Panels/Screens/etc [09:19] tomlion_ has joined the channel [09:19] elliottcable: zomg: you *are* trolling, yes? [09:20] niftylettuce: anyone know why the second function works to load files with require('/filepath') but the first function to recursively load them doesn't? https://gist.github.com/8c0130f4e88dcf2e0304 [09:21] elliottcable: niftylettuce: hm, I have an old project that does something like what you want there; you might be able to adapt part of it to provide a more flexible alternative to what you're trying to write [09:21] elliottcable: niftylettuce: https://github.com/elliottcable/from/blob/fb19155abb/lib/from-new.js#L103-139 [09:22] niftylettuce: elliottcable: i was looking for something a little more _clean_ [09:22] elliottcable: niftylettuce: in what way? [09:22] niftylettuce: elliottcable: simple [09:22] elliottcable: if you like (= [09:22] konobi: fstream [09:22] niftylettuce: perhaps an exec child process would work [09:23] niftylettuce: konobi: oo! thanks! [09:24] Lorentz: zomg: Not all, especially old languages. [09:27] robi42 has joined the channel [09:28] Shrink has joined the channel [09:28] dannyamey has joined the channel [09:31] Esteb has joined the channel [09:32] amigojapan has joined the channel [09:33] JakeyChan has joined the channel [09:33] michaelhartau has joined the channel [09:36] jimt has joined the channel [09:37] dannyamey has joined the channel [09:38] woeye has joined the channel [09:41] vguerra has joined the channel [09:41] NetRoY has joined the channel [09:42] mikedeboer has joined the channel [09:43] TomY_ has joined the channel [09:43] ayaz has left the channel [09:44] Emmanuel` has joined the channel [09:47] bogomips2_ has joined the channel [09:48] ShinyDarkness has joined the channel [09:52] MrBenn has joined the channel [09:55] hipster__ has joined the channel [09:55] plox_help has joined the channel [09:55] plox_help: yo all [09:55] niftylettuce: any idea why its not loading my routes? https://gist.github.com/f43be74edd68c089a1ef [09:55] niftylettuce: plox_help: \o [09:56] plox_help: anyone had issues with the mongodb driver shutting down db instances when an error happens in the callback? [09:56] plox_help: :( i dont want that [09:56] plox_help: niftylettuce \o ? [09:57] niftylettuce: plox_help: virtual high five [09:57] niftylettuce: plox_help: i remember my first one, i felt a sensation like never before [09:57] robotmay has joined the channel [09:57] plox_help: niftylettuce Aaaa i see :D \o then [09:58] niftylettuce: plox_help: since I gave you a \o you give me a o/ so then we o/ \o and by our powers combined o/*\o magic! [09:58] plox_help: niftylettuce Shit, o/ then [09:58] plox_help: :D [09:58] niftylettuce: ACTION feels a rush of magic flowing [09:59] loob2 has joined the channel [09:59] niftylettuce: plox_help: you can try asking in #mongodb or #mongoosejs [09:59] passionke has joined the channel [09:59] markwubben has joined the channel [10:00] lzskiss has joined the channel [10:00] plox_help: niftylettuce I asked the nodejs driver's author and he said I should GTFO :D [10:00] lzskiss: yo [10:00] CodeRarity has joined the channel [10:00] plox_help: niftylettuce lol [10:00] johnnyluu has joined the channel [10:01] wilmoore has joined the channel [10:02] johnnyluu has joined the channel [10:02] hipsters_ has joined the channel [10:02] mikl has joined the channel [10:03] meso_ has joined the channel [10:05] herbySk has joined the channel [10:06] bradleyg has joined the channel [10:06] kulor-uk has joined the channel [10:06] Danielpk has joined the channel [10:06] johnnyluu has joined the channel [10:07] eldios has joined the channel [10:08] amigojapan has joined the channel [10:09] johnnyluu has joined the channel [10:11] gripir has joined the channel [10:11] jimmysparkle has joined the channel [10:11] ShotgunKlaus has joined the channel [10:12] jimmysparkle has joined the channel [10:12] k1ttty has joined the channel [10:13] elliottcable: niftylettuce: \o HEIL HITLER [10:15] jldbasa has joined the channel [10:15] elliottcable: I keep getting “Error: Unable to load shared library” [10:15] elliottcable: how does one go about debugging that? [10:15] nils_r has joined the channel [10:16] lietu: depends on what you did before you got it [10:16] elliottcable: hah. [10:16] elliottcable: build a shared library. [10:16] elliottcable: code's on gist.github, gimmie a moment to update it to the latest. [10:16] copongcopong has joined the channel [10:18] elliottcable: ghraharwhgh [10:18] benvie: sweet I got dom.js dynamically generating the IDL->js, loading modules, and working as a normal node module [10:18] elliottcable: that doesn't make any sense; there's no compilation errors [10:18] elliottcable: and the error goes away if I comment out a line of code *that's not even getting run* [10:19] benlyn has joined the channel [10:19] cosmincx has joined the channel [10:19] elliottcable: lietu: https://gist.github.com/406c7b319a04475c824f [10:19] elliottcable: lietu: if you're familiar with the C++ API [10:20] elliottcable: when I comment out line 57 (which is in a function that never even gets called), I don't get the “Error: Unable to load shared library” [10:20] lietu: not really, just starting up on node myself ... just noticed that you weren't giving very much information ;) [10:20] elliottcable: lol. [10:22] lietu: on linux? [10:22] rwasielewski has joined the channel [10:22] spolu has joined the channel [10:23] elliottcable: yep [10:23] lietu: was thinking that you could try running it with strace, should at least say what files it's trying to find [10:23] elliottcable: what files it's trying to find? What do you mean? [10:23] spolu_ has joined the channel [10:24] lietu: if it says "Error: Unable to load shared library", it's most likely trying to load a shared library from some file [10:24] benvie: is this windows or no? [10:24] elliottcable: googling has run across an obscure sidenote on a README for a completely unrelated project that says something about it causing “Error: Unable to load shared library” ;;; “If you forget to instantiate a static member in the .cc file” [10:24] elliottcable: but I've no idea what that means [10:24] benvie: I have experience witht his on windows, not other [10:24] elliottcable: I'm a C++ noob /= [10:24] rwasiele_ has joined the channel [10:24] elliottcable: benvie: this is Linux, but the problem has nothing to do with the platform; it's some sort of C++ thing [10:25] benvie: in windows it means it couldn't find the library because you either have it in the wrong place, named it wrong, or you linked it against a file node named node.exe [10:25] elliottcable: currently reading http://stackoverflow.com/a/1825872/31897, trying to grok it [10:25] elliottcable: benvie: no, it's none of those; [10:25] lietu: elliottcable, ah, if you create for example a static foo::bar foobar in the .h file, it will just mean that it exists somewhere, but you don't actually create the data there, you have to put a similar statement in a .cc/cpp/whatever file [10:25] elliottcable: as I said, this works fine until I comment out a particular line of code [10:25] benvie: well it's related to that basically [10:25] benvie: it can't find the .node file for some reason [10:25] benvie: this is pre-loading the file [10:25] elliottcable: that absolutely cannot be right o_o [10:25] lietu: I think the correct words are declare vs. define, one you do in the header, one in the .cc/cpp [10:25] elliottcable: because the exact same everything works fine, until I uncomment that line [10:26] jomoho has joined the channel [10:26] elliottcable: (https://gist.github.com/406c7b319a04475c824f#L57 ... line 57) [10:26] elliottcable: (note, initscr() is never even called) [10:26] lietu: is "Window::Constructor()" from your code? [10:26] elliottcable: simply uncommenting that line of code, in a function that never even gets called, causes this “unable to load shared library” error; while with the line commented, it compiles and loads just fine [10:27] elliottcable: lietu: yes, up above; line 32+ [10:27] benvie: oh my a window [10:27] benvie: that sounds like you're doing stuff I care about [10:27] elliottcable: A window! [10:27] elliottcable: benvie: *eyebrow*, what? [10:27] benvie: I spend way too much time doing things that involve DOM stuff in node [10:28] elliottcable: heh, this isn't DOM, unfortunately. That'd be a piece of cake compared to this crap. Ncurses, C++, doing my head in. >: [10:28] benvie: like spending the whole weekend writing a new IDL to JS generator dom.js [10:28] lietu: ah yeah, could be that it's having issues finding it because it's in the "prototype", instead of first declared in a header and then defined in a .cc file [10:28] benvie: lame [10:29] lietu: C++ is sometimes quite painful, if you don't stick to a strict standard on where to put what sort of code [10:30] elliottcable: I'm an oldschool, long-time ISO C coder [10:30] elliottcable: so I'm quite proficient with things like that [10:30] elliottcable: at least generally. The C++ stuff with its damn classes and templates and umpteen definitions for the “static” keyword and etcetcetc are doing my head in, though. [10:31] davidbanham has joined the channel [10:31] Glenjamin: benvie: out of interest, what sort of things are you using the DOM for? [10:31] k1ttty_ has joined the channel [10:32] elliottcable: Glenjamin: I have to know, is your name Glen, or Benjamin? [10:32] elliottcable: or are you two people!? [10:33] elliottcable: conjoined Node-writing twins? [10:33] lietu: hehe ... well, c coders often have issues understanding many things ;) ... but I think this could start working if you just moved the class prototype to a header file and then defined the functions in a separate file ... could also be that the Window::Constructor isn't resolving correctly ... I try to avoid all that crap with namespaces, by always having my function definitions outside any namespace {} -blocks and always strictly defining the "full path [10:33] lietu: " to the code, e.g. std::cout, instead of namespace std; and plain cout [10:33] elliottcable: a JavaScripter with disassociative identity disorder? [10:33] benvie: haha [10:33] benvie: well [10:33] benvie: the DOM is a useful abstraction for interacting with a lot of things [10:34] mike5w3c has joined the channel [10:34] JanLi has joined the channel [10:34] benvie: ultimately I'm working on running Chromium in a node process using v8 isolates but there's other related things like being able to keep a remote and local DOM document synced transparently [10:35] benvie: behind the scenes [10:35] benvie: and to do that you first need a good DOM implementation in node [10:35] benvie: there's other benefits to having a good IDL to JS generator as well since IDL is used for a bunch of things [10:36] elliottcable: benvie: what are you doing re: Chromium ∪ Node.js? [10:38] benvie: worked on various things but currently working on the somewhat incomplete implementation of isolates in the node isolate branch and trying to rectify the chromium content shell againdt it [10:38] benvie: and trying to figure out what's involved with having two separate V8 snapshots [10:38] elliottcable: creationix: around? [10:39] elliottcable: creationix: I ran into this comment on what *looks* like it may be an old version of one of your libraries (node-leveldb). [10:39] benvie: having compiled both chromium and node against a shared V8 library it actually becomes possible [10:39] benvie: to load the content shell as a module [10:39] benvie: but there's a lot more to it [10:39] elliottcable: creationix: pinging you in hopes that you wrote it originally, and have some experience with this problem [10:39] elliottcable: creationix: “If you forget to instantiate a static member in the .cc file, node aborts with an "Unable to load shared library" error.” [10:40] elliottcable: benvie: “isolates?” [10:40] elliottcable: benvie: and what do you want two separate snapshots for? #curious [10:40] Furin has joined the channel [10:40] MrNibbles has joined the channel [10:40] Furin: I'm trying to get started with this node.js, and my second simple file isn't working, I'm trying to do a simple http.createServer, but I get a referenceError "response is not defined", what does this mean? [10:40] akihito_s has joined the channel [10:41] elliottcable: Furin: gist.github.com the code [10:41] benvie: spending time in javascript is a break compared to fucking with C++ endlessly [10:41] benvie: goddamn [10:41] elliottcable: benvie: oh my god yes ;_; [10:41] benvie: this weekend was awesome despite working my ass off on it, at least i was getting something done [10:41] samyak__ has joined the channel [10:41] benvie: and not just staring into oblivion [10:41] k1ttty has joined the channel [10:42] Furin: https://gist.github.com/1433184 [10:43] stagas has joined the channel [10:43] benvie: an now I have a .js file that starts up the repl with a window and document objects and a really good dom implementation in js, it's nice [10:43] beejeebus-afk: Furin: you have a typo, 'resonse' [10:43] Furin: wow, I'm an idiot [10:43] Furin: sorry guys [10:43] elliottcable: Furin: :3 [10:43] benvie: we all do it [10:43] benvie: ;) [10:43] niftylettuce: hey guys do I need to fs.readFileSync or anything in my route loader here? https://gist.github.com/c3967fabbf4a0274e8cc -- that doesn't seem to work currently vs my old implementation https://gist.github.com/c7c213a092e5d81e056f [10:44] Shrink has joined the channel [10:44] russrpitre has joined the channel [10:44] niftylettuce: basically I'm using require() with an absolute path and i get 404's on all my routes versus the latter link I sent which works [10:44] meso has joined the channel [10:46] ph^ has joined the channel [10:47] Cromulent has joined the channel [10:48] hellp has joined the channel [10:49] Guest67681 has joined the channel [10:49] Guest67681: hi [10:49] Guest67681: anyone used d3.js? [10:51] stagas: niftylettuce: maybe you need app.use(app.router) above other middleware like static [10:51] johnnyluu has joined the channel [10:51] Glenjamin: elliottcable: it's just Glen [10:51] npa has joined the channel [10:51] npa has joined the channel [10:52] Neil has joined the channel [10:53] niftylettuce: stagas: :) \o \o that did the trick [10:53] niftylettuce: tyvm [10:53] niftylettuce: stagas: σας ευχαριστώ [10:54] stagas: niftylettuce: :) lol [10:54] npa has joined the channel [10:56] piscisaureus__ has joined the channel [10:58] elliottcable: urhghrhghrhghrarhwghr. [10:58] elliottcable: ##C++ is no help either [10:58] elliottcable: I'm *sure* it's some stupid-ass C++ error that any experienced C++er could spot [10:59] elliottcable: I just need ... an experienced C++er. [10:59] andersonjuhasc has joined the channel [11:01] Xano has joined the channel [11:02] mc_greeny has joined the channel [11:03] vvo has joined the channel [11:04] andersonjuhasc: how to install node and lesscss|.less on windows 7, I need work with vim auto compile! [11:04] andersonjuhasc: this is my source por macvim: [11:04] andersonjuhasc: " Less compile [11:04] andersonjuhasc: autocmd FileWritePost,BufWritePost *.less :call LessCSSCompress() [11:04] andersonjuhasc: function! LessCSSCompress() [11:04] andersonjuhasc: let cwd = expand(':p:h') [11:04] andersonjuhasc: let name = expand(':t:r') [11:04] andersonjuhasc: if (executable('lessc')) [11:04] andersonjuhasc: cal system('lessc '.cwd.'/'.name.'.less > '.cwd.'/'.name.'.css &') [11:04] andersonjuhasc: endif [11:04] andersonjuhasc: endfunction [11:05] elliottcable: andersonjuhasc: Don't paste code into the channel. [11:05] elliottcable: andersonjuhasc: http://gist.github.com/ [11:05] andersonjuhasc: elliottcable: ok [11:05] samyak__ has joined the channel [11:06] elliottcable: as for your question, Google answers it. [11:06] elliottcable: !g lessc windows @ andersonjuhasc [11:06] purr: andersonjuhasc: Running the Less.js command-line compiler on Windows « Duncan ... 2 [11:06] k1ttty has joined the channel [11:06] johnnyluu has joined the channel [11:07] andersonjuhasc: elliottcable: https://gist.github.com/1433241 [11:07] andersonjuhasc: purr: thx [11:08] andersonjuhasc: purr: this code in vim work in windows? https://gist.github.com/1433241 [11:09] elliottcable: Purr is a bot, andersonjuhasc. [11:09] elliottcable: andersonjuhasc: and read the link I gave you via purr. [11:09] k1ttty_ has joined the channel [11:10] zomg: Whoever wrote purr apparently did not consider some people have black backgrounds :P [11:10] elliottcable: zomg: yeah, he's a horrible hack through and through. [11:10] andersonjuhasc: elliottcable: ok, I am a new in irc, u have a tutorial for undestand better ? [11:10] elliottcable: zomg: but your termianl theme should handle each ANSI color on each background equally well. [11:10] elliottcable: zomg: if you can't see blue text, you should change the color for ANSI blue to something higher-contrast. [11:11] elliottcable: zomg: I, personally, highly suggest Solarized: http://ethanschoonover.com/solarized [11:11] elliottcable: andersonjuhasc: A tutorial to understand *what* better? [11:11] zomg: I'm not sure if it's the terminal itself but rather the color Irssi uses for it [11:12] zomg: Other apps use blues which work ok [11:12] andersonjuhasc: elliottcable: better understand the irc [11:12] elliottcable: zomg: er, irssi uses the same color as anything else in the terminal ... [11:13] zomg: elliottcable: I wouldn't know about that =) [11:13] hackband has joined the channel [11:15] elliottcable: zomg: heh [11:15] russfrank: elliottcable: assuming he's not using 256 colors somehow in irssi [11:15] elliottcable: zomg: well, your terminal has a set of 8 (or possibly 16, long story) colour codes that can be set by various things in the terminal [11:15] heatxsink: hi where would i find documentation on the res variable that gets passed into app.get? [11:15] russfrank: which he's probably not 'cause it looks like there's poor support for it in irssi [11:15] tonymilne_ has joined the channel [11:15] elliottcable: 1These 2eight 3colors, 4in 5case 6you 7were 8curious [11:16] russfrank: heatxsink: express? http://expressjs.com/guide.html#res.header() [11:16] elliottcable: the exact shade / etc is defined by your terminal, not irssi, or anything else that uses them (= [11:16] elliottcable: most terminals will let you customize them (see my Solarized link! :D) [11:17] mmalecki: solarized <3 [11:17] elliottcable: some terminals will provide access to the further 16 colours by “brightening” emboldended colours, such as: [11:18] elliottcable: 1These 2eight 3colors, 4in 5case 6you 7were 8curious [11:18] mmalecki: right, in == case, were == curious == eight [11:19] elliottcable: ah, mmalecki, you use solarized? [11:19] elliottcable: mmalecki: and irssi, I see! [11:19] samyak__ has joined the channel [11:19] elliottcable: I'm halfway through with a ridiculously sexy irssi theme that requires the Solarized colourset [11:19] elliottcable: ACTION goes to find a screenshot [11:19] mmalecki: that would be neat! [11:19] elliottcable: mmalecki: http://ell.io/iBhBr [11:20] elliottcable: mmalecki: /join ##Hat, and I'll let you know when I have a slightly more complete version to share. It's still unfinished, as you can see in that screensho. [11:20] elliottcable: er, screenshot* [11:20] zomg: elliottcable: Yeah I thought there was some palette stuff going on but never looked into it that much [11:20] elliottcable: zomg: (= [11:21] heatxsink: russfrank: can I use express to hang a response? [11:21] zomg: Using putty myself, perhaps I'll give that solarized thing a shot [11:21] elliottcable: russfrank: impossible; irssi supports neither 16-colour nor 256-colour [11:21] elliottcable: it's oldschool and horrid like that [11:21] Mezriss_ has joined the channel [11:21] elliottcable: zomg: I've got Solarized's PuTTY settings set up on my Windows partition, they're excennet [11:21] elliottcable: excellent* [11:22] mmalecki: elliottcable: oh! I like this screenshot! [11:22] russfrank: elliottcable: what a piece of crap! [11:22] piscisaureus__ has joined the channel [11:22] russfrank: heatxsink: sure, just by not touching the res object for awhile. probably. [11:22] ph^_ has joined the channel [11:23] heatxsink: russfrank: i wanted to output something then wait 2 seconds and output something else [11:23] elliottcable: zomg: btw, you're welcome to come lurk ##Hat as well; I'll tell you when I have my irssi theme a little more complete for you to use (= [11:23] zomg: That light color in the line prefix is pretty hard to read on that screenshot [11:23] heatxsink: russfrank: kinda like res.send('hello'); setTimeout(function(){res.send('world');}, 2000); [11:23] zomg: whatever that number represents [11:24] zomg: =) [11:24] russfrank: heatxsink: I think you can use res.write() to do that [11:24] heatxsink: russfrank: is there better docs for express? [11:24] heatxsink: that show that res obj? [11:25] zomg: I like the standard irssi theme just fine thanks :D [11:25] blup has joined the channel [11:25] blup_ has joined the channel [11:26] elliottcable: zomg: ew. [11:26] elliottcable: zomg: well, just FYI it's going to look like shit under Solarized [11:26] elliottcable: Solarized is Special™, and you basically have to utilize Solarized-compatible themes/settings in each colourized command-line/curses application that you use [11:27] elliottcable: I love isaacs' /topics [11:27] zomg: Sounds like too much work to see dark blue text on irc [11:27] zomg: :D [11:27] booyaa: anyone come across a really small package (preferrably gem or npm) that could setup a single irc channel? [11:27] booyaa: i need to do some testing before i hook up the bot to freenode [11:28] zomg: Why not just create your own channel here [11:28] booyaa: concerned my code my misbehave and then i'm banhammered [11:29] heatxsink: russfrank: like this: https://gist.github.com/7891322b20f7ffb5fd06 [11:29] zomg: booyaa: I find that unlikely.. even if it starts flooding it won't trigger anything if you're on your own channel [11:30] blup__ has joined the channel [11:30] otaku_coder has joined the channel [11:30] wookiehangover has joined the channel [11:31] elliottcable: !source @ booyaa [11:31] purr: booyaa: oftn-bot's source (which purr is forked from) can be found at: [11:31] elliottcable: booyaa: eboy's IRC lib is really quite easy to use; I'd suggest looking into it. [11:31] elliottcable: >> client.get_channel('#Node.js').send('Hi, booyaa!') [11:31] purr: Hi, booyaa! [11:31] otaku_coder: hi, i'm trying to convert svg images generated by d3.js into pngs and pdfs. I've explored using batik, but that takes 4 seconds on an unloaded server to convert, and I wondered if there was a node based solution. [11:31] booyaa: cheers guys [11:32] elliottcable: booyaa: as for being banhammered, I can speak for experience there [11:32] koo0 has joined the channel [11:32] elliottcable: booyaa: been k-lined for bot-misbehaviour before, and my bot shares a source IP with me (and several of my coder-minions). Kicked us all off of Freenode for twenty days. [11:32] elliottcable: booyaa: just make sure you keep your schenanigans to a single channel, and the worst that will happen is you'll get flood-killed, which doesn't prevent you immediately reconnecting. [11:33] booyaa: elliottcable: will do, cheers. [11:33] elliottcable: booyaa: the only time auto-kline kicks into effect is if Freenode's heuristics see activity they dislike *across multiple channels simultaneously* [11:33] elliottcable: booyaa: so you're safe if you keep it to a single channel. [11:33] benvie: what happens in ##Hat [11:33] elliottcable: benvie: Secruts you're not allowed in on D: [11:33] benvie: =(((((( [11:34] elliottcable|hat: like wearing hats! [11:35] benvie: silly hats only [11:35] icebox has joined the channel [11:36] elliottcable|hat: benvie: all sorts of hats. [11:36] elliottcable|hat: benvie: Tophats, fedoras, ushankas, stetsons; we're a veritable cornuhattia [11:37] benvie: fedoras you say [11:38] kishoreyekkanti has joined the channel [11:40] otaku_coder has joined the channel [11:40] Juan77 has joined the channel [11:42] troika has joined the channel [11:43] Xano_ has joined the channel [11:44] joshgillies has joined the channel [11:45] elliottcable|hat: benvie: sometimes, the channel will devolve into hat-puns for hours on end [11:45] elliottcable|hat: benvie: `curl -Lr c <<<'2^17'c <<<'2^18'http://ell.io/hatchan | tail +2 | less -RS` [11:46] elliottcable|hat: < ehatjr> its only because we hat a very friendly hatmosphere [11:46] booyaa: jhc what the hell is the curl command?!? [11:47] elliottcable|hat: booyaa: hm? [11:47] booyaa: 11:47 < elliottcable|hat> booyaa: hm? [11:47] booyaa: whoops wrong line [11:47] elliottcable|hat: yes, what about it? [11:47] booyaa: `curl -Lr c <<<'2^17'c [11:47] elliottcable|hat: crap [11:47] elliottcable|hat: looks like it screwed up when I pasted it [11:47] booyaa: ah [11:47] elliottcable|hat: `curl -Lr `bc <<<'2^17'`-`bc <<<'2^18'` http://ell.io/hatchan | tail +2 | less -RS` [11:47] elliottcable|hat: there ya go [11:48] elliottcable|hat: without the oopsies. [11:48] elliottcable|hat: actually, no, that'll still only work on zsh [11:48] elliottcable|hat: forget it [11:48] booyaa: heh [11:48] otaku_coder: anyone done svg to png conversion via nodejs? [11:48] elliottcable|hat: grep http://ell.io/hatchan for “hatmosphere” and start reading. It tends to go downhill from there. [11:48] elliottcable|hat: otaku_coder: I haven't, but your question intrigues me (as does anything with SVG. heh.) [11:48] elliottcable|hat: otaku_coder: what's the purpose? [11:49] otaku_coder: elliottcable|hat: primarily for exports, I want it to be offloaded to worker processes so can be done both via clientside calls and batch processing [11:50] otaku_coder: elliottcable|hat: svgs are generated from d3.js, some graphs and other dataviz outputs [11:51] ec: aw, that's less interesting [11:51] otaku_coder: ec: more interesting stuff to come later, just need to get this export step working for now ;) [11:53] Vibo96 has joined the channel [11:55] jetienne has joined the channel [11:56] adambeynon has joined the channel [11:59] spolu: #RTFM can I install locally with npm all dependencies in my package.json? [11:59] mange_ has joined the channel [12:01] spolu: #RTFM npm install [12:01] robi42 has joined the channel [12:02] boltR has joined the channel [12:02] stagas has joined the channel [12:03] blup has joined the channel [12:04] booyaa: spolu: who or what will be picking up the #rtfm stuff? [12:05] spolu: booyaa: nothing just admitting publicly that I was lazy reading the manual :) [12:05] jbpros has joined the channel [12:06] mmalecki: spolu: yes [12:06] spolu: mmalecki: at least I admit it! :) [12:07] mmalecki: spolu: haha, no, I mean, you can :) [12:07] rwasielewski has joined the channel [12:07] spolu: mmalecki: :) [12:07] spolu: mmalecki: talking about nodejitsu… are you gonna integrate hook.io natively into it to distribute socket.io on auto-scale? if not, I want to do it! [12:07] OneOfOne has joined the channel [12:07] OneOfOne has joined the channel [12:10] mmalecki: spolu: that's an interesting question [12:10] mmalecki: autoscaling socket.io is definitely an interesting topic [12:10] spolu: mmalecki: yes it is! [12:11] mmalecki: spolu: I see what you're thinking of. still, hook.io isn't *truly* distributed [12:11] spolu: mmalecki: yep, didn't say there wasn't some work to be done! [12:11] mmalecki: spolu: but ok, try it! for the science! [12:12] Mezriss_: Hi. After updating to 0.6.4 (with n) and then installing npm I get something like kernel:[15181193.006966] invalid opcode: 0000. Is that a commonly known problem? [12:12] snoozebat has joined the channel [12:12] spolu: mmalecki: do you think of a central cluster repository each app hook instances to find each others? or are your more thinking of a "bonjour" like solution based around app name? [12:13] mmalecki: I mean, it's complicated [12:13] mmalecki: right now, hook.io can just connect to a hook or become a server [12:14] fmeyer has joined the channel [12:14] mmalecki: to create a distributed system we'd have to make the detect each other on the network [12:14] Cerales has joined the channel [12:14] mmalecki: something bonjour-ish is fine, I guess [12:14] spolu: mmalecki: yep should be more of a n to n relationship… ideally relying on multicast for performance (but one may want to scale cross cluster…) [12:15] mmalecki: spolu: actually, what's your timezone? would be cool to have Marak talk to you. [12:16] spolu: mmalecki: Paris. So morning in SF works fine for me [12:16] mmalecki: spolu: ok! [12:16] spolu: mmalecki: I'm around when connected these days… [12:17] Tobsn: zomg, expandrive [12:17] Brandon_R has joined the channel [12:17] ec: expandrive [12:17] ec: man, been a while since I heard that name [12:17] mmalecki: spolu: ok, awesome. I have to learn few things about bonjour. I'll make sure I'm ready ;) [12:17] Tobsn: still one of the most useful tools every built [12:17] Tobsn: -y [12:17] spolu: mmalecki: looking forward to it! [12:18] ec: just use Transmit.app [12:18] Tobsn: yeah, just use ftp [12:19] mmalecki: spolu: actually, doesn't erlang do something like that? [12:20] spolu: mmalecki: to be honest, I have no clue about erlang [12:20] Brandon_R: hey [12:20] Brandon_R: i love erlang [12:20] Brandon_R: and node.js [12:20] mmalecki: spolu: yeah, me neither [12:20] mmalecki: oh Brandon_R [12:20] Brandon_R: who here knows erlang? [12:20] mmalecki: Brandon_R: how do erlang processes talk to each other? [12:20] Brandon_R: message passing [12:21] Brandon_R: everything is passed by messages and they are all immutable [12:21] Brandon_R: that is the only way to ensure no side effects in erlang world [12:21] mmalecki: sounds like hook.io to me! what's the protocol and transport? [12:21] lyte_ has joined the channel [12:23] Brandon_R: transport can be any network protocol i think [12:24] Brandon_R: tcp, ports , [12:24] mmalecki: oh, that sounds fucking awesome [12:24] blup has joined the channel [12:24] Mezriss_: does anyone have problems running node 0.5.x and 0.6.x on amazon ec2 instances? [12:24] Brandon_R: but if you want to have fault tolerance etc try rebbitmq [12:24] mmalecki: ACTION starts stealing erlang's code [12:24] mmalecki: Brandon_R: thanks, you're awesome :) [12:24] spolu: Mezriss_: none whatsoever [12:24] Brandon_R: :) [12:25] Brandon_R: check this shit out [12:25] gripir has joined the channel [12:25] ec: Brandon_R: which shit. [12:25] Wizek has joined the channel [12:25] Brandon_R: http://inakanetworks.com/blog/2011/10/07/scale-test-plan-simple-erlang-application/ [12:25] ec: Brandon_R: also, you left! D: [12:25] D3f0 has joined the channel [12:25] Brandon_R: left where? [12:25] booyaa: isaacs: what's the deal with the cina market growth strategy? according to who? [12:25] gtramontina has joined the channel [12:25] ec: Brandon_R: ##Hat! Where the hatters are! [12:26] djcoin has joined the channel [12:26] Brandon_R: doesn't china ban websites with 6.8 in it that is why node.js got banned in china? [12:26] booyaa: it was 0.6.4 [12:26] booyaa: magic number accord to the great firewall of china [12:26] Mezriss_: also 89 [12:26] kishoreyekkanti_ has joined the channel [12:27] Mezriss_: for some reason I get sone kind of kernel-related error messages and 100% CPU load when I run npm update or express after updating to 0.6 [12:27] Mezriss_: I'm not even sure what to google [12:27] jakeskik: fdsafdsa [12:27] Brandon_R: so [12:27] jakeskik: ups [12:27] Brandon_R: what's new in expressjs 3.0? [12:29] Brandon_R: anyone knows? [12:29] Brandon_R: how does it go? beta -> alpha -> release for production? [12:29] spolu: Mezriss_: are you using 0.6.x api or old 0.4.x apis… If had some issue with some of the older 0.4.x apis with some 0.5.x versions… but it might be completely unrelated. Have you updated npm / using the one packaged? [12:30] marcostoledo has joined the channel [12:30] Dulak: Brandon_R: the usual is alpha -> beta -> rc -> release in most projects [12:30] Brandon_R: awe [12:30] Brandon_R: it's in alpha then [12:30] Brandon_R: 2 more stages [12:30] Brandon_R: i like how most node.js projects are free [12:31] Brandon_R: and 80% of them are commercial quality apps or plugins [12:31] Mezriss_: spolu: I've updated from 0.4 to 0.6 with n and tried to install npm - then I've got those errors and cpu load [12:31] Brandon_R: node 6 comes with npm [12:31] spolu: Mezriss_: Brandon_R: yep you should deinstall npm and install node .6 [12:32] aliem has joined the channel [12:32] amigojapan_ has joined the channel [12:32] Brandon_R: what is your os? [12:32] Brandon_R: a simple apt-get or pacman -s will solve all your problems [12:32] Mezriss_: some kind of amazon's linux build [12:33] Brandon_R: does it have a package manager? [12:33] ShotgunKlaus has joined the channel [12:34] Brandon_R: brb guys [12:34] Mezriss_: yes, yum [12:34] Brandon_R: yum kippur? [12:34] ec: pacman :D [12:34] Brandon_R: w00t arch ec? [12:34] kishoreyekkanti_ has joined the channel [12:36] aaronmcadam has joined the channel [12:36] Xano has joined the channel [12:36] sunnyx has joined the channel [12:36] Mezriss_: luckily not yom [12:38] dthompso99 has joined the channel [12:39] davidbanham has joined the channel [12:41] quackslike has joined the channel [12:42] daGrevis_ has joined the channel [12:43] daGrevis_: Is Express in the same category as Backbone and Spine? [12:44] daGrevis: a [12:44] cedeon: does anyone have any experience compiling node.js for arm? [12:44] daGrevis: Two instances of chat client. [12:44] daGrevis: > Is Express in the same category as Backbone and Spine? [12:45] scott_gonzalez has joined the channel [12:46] Mezriss_: probably not [12:48] xy has joined the channel [12:48] ec: Hm, [12:48] ec: how do I tell waf to link my build against another library? [12:50] __doc__ has joined the channel [12:50] fairwinds has joined the channel [12:53] Mezriss_: http://pastebin.com/wyYuvHNE that's what I get when running a hello world example with node [12:54] ppcano has joined the channel [12:57] ShotgunKlaus_ has joined the channel [12:59] broofa has joined the channel [13:00] shiawuen has joined the channel [13:00] Brandon_R has joined the channel [13:00] Brandon_R: hola guys [13:00] Brandon_R: no school today? [13:01] Mezriss_: seems that there is a problem with node itself, not npm. or there is a problem with a way I've updated it [13:01] niftylettuce: stagas: dolphins probably have an IRC for all we know [13:01] Mezriss_: "n" is considered to be a reliable piece of software? [13:02] jtsnow has joined the channel [13:02] Brandon_R: yes [13:03] joshgillies has joined the channel [13:04] mmalecki: why don't we have onAny yet? [13:04] mmalecki: ok, stupid question. [13:04] mmalecki: ACTION launches vim [13:06] Brandon_R: hey [13:07] Brandon_R: how did u learn vim? [13:07] lmorchard has joined the channel [13:07] Tobsn has joined the channel [13:07] mmalecki: Brandon_R: I tried writing my programs with it. cheatsheet on one screen and vim on second one. it's really easy [13:08] Brandon_R: where is the cs? [13:08] Brandon_R: and what is your os? [13:08] mmalecki: I use os x and linux [13:09] mmalecki: let me find that cs [13:09] kishoreyekkanti_ has joined the channel [13:09] mmalecki: Brandon_R: http://www.viemu.com/a_vi_vim_graphical_cheat_sheet_tutorial.html [13:09] Brandon_R: i mean os not cs [13:09] gripir has joined the channel [13:10] Brandon_R: good gravy [13:10] troika has joined the channel [13:10] Brandon_R: is vim worth learning in a modern setting [13:10] mmalecki: Brandon_R: yes [13:10] Brandon_R: or should i just use sublimetext? [13:10] jjd has joined the channel [13:10] mmalecki: Brandon_R: I mean, vim makes me productive. ymmv [13:10] Brandon_R: how faster do you code on vim than another? [13:11] mmalecki: haven't benchmarked it yet, but I guess 1.3x maybe? [13:11] samyak__ has joined the channel [13:11] lyte has joined the channel [13:12] niftylettuce: Brandon_R: yeah VIM is great, there are lots of video tutorials on Vimeo/YouTube for getting started [13:12] enmand has joined the channel [13:13] redir has joined the channel [13:13] Brandon_R: cool [13:13] Brandon_R: will go to check them out [13:13] Brandon_R: any channel recommendations or should i just do a youtube earch? [13:13] Dulak: In vim it's all about the text objects. [13:13] Brandon_R: i want to weed out the not soo good quality ones [13:13] Dulak: Brandon_R: http://blog.carbonfive.com/2011/10/17/vim-text-objects-the-definitive-guide/ [13:14] Dulak: Brandon_R: once you've done a tutorial or two that link is gold. [13:14] lietu: is there a reason why http://nodejs.org/docs/latest/api/ points to v0.6.4 while there is v0.6.5 also available? [13:14] Brandon_R: nice looking wevsite [13:14] Brandon_R: there really isn't anything different in the docs [13:14] mmalecki: lietu: changes are minor, I don't think docs changed [13:15] tuhoojabotti: Yes [13:15] tuhoojabotti: docs weren't changed in 0.6.5 [13:15] Brandon_R: do you use vim in the command line? [13:15] Dmitriju1: i do [13:15] Brandon_R: if so how do i get colors? [13:15] Dmitriju1: ;] [13:16] Brandon_R: nvm [13:16] Brandon_R: i'll just google this stuff [13:16] Brandon_R: :) [13:16] tuhoojabotti: I'm on windows :E [13:16] Dmitriju1: Brandon_R: is you're on linux it's easier, if on mac, better to use MacVim I guess :) [13:16] tomlion has joined the channel [13:16] Brandon_R: i use linux [13:16] tuhoojabotti: But I can always vim via ssh [13:16] Brandon_R: arch to be precise [13:16] tuhoojabotti: gentoo [13:16] tuhoojabotti: ! [13:16] MUILTRFN has joined the channel [13:16] Brandon_R: we have a badass in the house :D [13:16] Dmitriju1: Brandon_R: well, depends more on your terminal emulator :) [13:17] tuhoojabotti: I have never even seen gentoo, I just shout it, when someone mentions linux [13:17] tuhoojabotti: Brandon_R: u mad? [13:17] Brandon_R: yes [13:17] tuhoojabotti: Okay, I'm too tired now. [13:17] bergie_ has joined the channel [13:17] tuhoojabotti: I woke up at 1am [13:17] tuhoojabotti: it's already 3pm [13:18] Dmitriju1: tuhoojabotti: I woke up at 21:00, now it's 14:18! :) [13:18] tuhoojabotti: lies [13:18] Brandon_R: i woke up at 6 [13:18] Brandon_R: do you guys watch the linux action show? [13:18] tuhoojabotti: Dmitriju1: You're a robot [13:19] Dmitriju1: tuhoojabotti: nope :) [13:19] tuhoojabotti: I'm a bot! [13:19] Dmitriju1: tuhoojabotti: more like http://xkcd.com/320/ ! [13:20] gavin_hu_ has joined the channel [13:20] Brandon_R: i'm eating chicken bones [13:20] amigojapan has joined the channel [13:20] tuhoojabotti: Good for you [13:21] Brandon_R: so guys [13:21] Brandon_R: what's new in express 3.0? [13:21] tuhoojabotti: Version number [13:21] niftylettuce: read the changelog bro [13:21] tuhoojabotti: :D [13:21] Brandon_R: tried searching but nothing [13:21] vkareh has joined the channel [13:21] vvo has joined the channel [13:21] niftylettuce: commit history bro [13:21] Brandon_R: where is the changelog? [13:22] niftylettuce: github.com/visionmedia/express [13:22] niftylettuce: Brandon_R: https://github.com/visionmedia/express/commits/master/ [13:22] Brandon_R: :) [13:23] niftylettuce: Brandon_R: see #express for express related topic [13:23] indutny: heya! lets take this site down: https://spdy2.indutny.com/ [13:23] Brandon_R: woah [13:23] Brandon_R: have you guys noticed how small express is? [13:23] indutny: new spdy module need your load testing ;) [13:23] niftylettuce: indutny: firing my large missile in T minus 5 [13:23] Brandon_R: there isn't anyone in #express :( [13:23] tuhoojabotti: in on [13:23] eldios: any nodemailer user in here? [13:24] eldios: I'm trying to iterate over a list of addresses with no luck -_-" [13:25] mmalecki: ok, onAny done [13:25] hipsters_: there's plenty of people in #express Brandon_R, it's just early yet [13:25] cjroebuck has joined the channel [13:26] niftylettuce: hipsters_: y u no _hipsters, it'd be the hipster thing to do [13:26] Dmitriju1: :D:D [13:26] JKarsrud1 has joined the channel [13:26] hipsters_: probably because my actual nick is hipsterslapfight niftylettuce :v, this is just my secondary nick [13:26] braoru has joined the channel [13:26] klaemo has joined the channel [13:26] niftylettuce: and by secondary you mean hipsterecondary [13:27] johnnywengluu has left the channel [13:27] niftylettuce: :) [13:27] niftylettuce: okay time to sleep! east coast lights out! [13:30] erichynds has joined the channel [13:30] ccapndave has joined the channel [13:31] xetorthio has joined the channel [13:32] JakeyChan has joined the channel [13:36] ph^ has joined the channel [13:40] CiRlE has joined the channel [13:40] Brandon_R: hi [13:42] Brandon_R: i have a question [13:42] stagas has joined the channel [13:42] Brandon_R: is hook.io worth it? [13:43] samyak__ has joined the channel [13:43] Brandon_R: is it an experiment or is it a proven technique to separate your app into small parts? [13:43] robotmay has joined the channel [13:43] cjroebuck has joined the channel [13:44] FIQ has joined the channel [13:48] Glenjamin: if you don't separate at all, you'll be limited by the speed of a single CPU [13:50] Vennril has joined the channel [13:52] cognominal_ has joined the channel [13:54] arcanis has joined the channel [13:54] lazyshot has joined the channel [13:54] f1gm3nt has joined the channel [13:55] CarterL has joined the channel [13:56] woeye has joined the channel [13:56] storrgie has joined the channel [13:56] ovaillancourt has joined the channel [13:57] rurufufuss has joined the channel [13:58] kriszyp3 has joined the channel [13:59] baudehlo has joined the channel [14:00] catshirt has joined the channel [14:02] zomg: Most of you have probably already seen this http://teddziuba.com/2011/10/node-js-is-cancer.html [14:03] CarterL has joined the channel [14:03] ceej has joined the channel [14:03] zomg: but I thought it was funny, especially considering his JS example in the end is an obvious sign he doesn't even know JS :P [14:03] Wizek has joined the channel [14:03] jetienne: zomg: but he got hits :) [14:03] zomg: I hope I don't turn into an idiot if I even make a succesful website [14:03] zomg: :P [14:04] zomg: *ever [14:04] eldios: I'm creating a little program to send out some messages.. say a ML manager, still I suppose I'm doing something (Really) wrong.. if anyone wants to give a look at the code would be a pleasure to bring in your pull requests :) https://github.com/eldios/node-majordormo [14:04] AaronMT has joined the channel [14:04] zomg: Although some of the points he makes are probably correct. If you really wanted to calculate a fibonacci sequence in node you would probably need to fork it or something [14:05] jetienne: zomg: he buzzed with that ? [14:05] ryanfitz has joined the channel [14:05] zomg: "buzzed"? [14:05] cjm has joined the channel [14:06] jetienne: zomg: made a lot of noise. got a lot of hits when he published it ? [14:06] zomg: Ah, not sure. Considering I only saw it today on twitter and it wasn't even posted this month... [14:06] zomg: =) [14:06] kazupon has joined the channel [14:06] jetienne: zomg: why do you care then ? [14:06] zomg: Oh just thought it was funny [14:07] joshsmith has joined the channel [14:07] zomg: If it was worded in a less moronic way it might even have been useful [14:07] orangevinz has joined the channel [14:08] Glenjamin: there's a point which isn't really raised much [14:08] passionke has joined the channel [14:08] Glenjamin: but regardless of the event loop, node (v8) is probably the fastest interpreted language [14:08] jetienne: yep non blocking isnt too good when your http request which need 5sec of pure cpu [14:09] zomg: I always have a hard time imagining JS being fast [14:09] zomg: I'm so used to it not being fast from older days of browser development [14:09] jetienne: on the other hand, i have hard time finding a case where a http request requires 5sec of pure cpu [14:09] lazyshot has joined the channel [14:09] zomg: Every time I see a canvas demo which is nice and not choppy I'm like whoaa [14:09] zomg: because when I worked with canvas, it was horribly slow [14:10] zomg: =) [14:10] Glenjamin: in fact, if you consider the JVM to be compiled, v8 is the fastest interpreted langauge [14:10] Glenjamin: zomg: the DOM is slow, JS isnt [14:10] zomg: Well JS itself was slow too [14:10] zomg: I recall in Firefox for example there was a massive performance penalty from calling functions [14:10] zomg: Gained huge boosts in performance intensive code by inlining function calls [14:11] Glenjamin: yeah, thats before JITs [14:12] zomg: Well considering my basic grade VPS is giving me almost 300 req/s for my non-optimized first-attempt node app it's pretty good [14:13] d0k has joined the channel [14:13] thalll has joined the channel [14:13] jetienne: zomg: comment that your optimized his code, by computing fib(20) instead of fib(40) [14:13] zomg: lol [14:14] anoop has joined the channel [14:15] jjd has left the channel [14:15] Connorhd: is there a nice way/library I can use to recursively copy a directory in node? [14:15] lyte_ has joined the channel [14:16] jetienne: Connorhd: use shell "cp -r src dst" :) [14:17] Connorhd: I want it to work on windows too [14:17] k1ttty has joined the channel [14:17] jtrudeau has joined the channel [14:18] Glenjamin: cmd = windows ? "xcopy" : "cp -r" [14:18] jetienne: Connorhd: i dunno such lib [14:18] Glenjamin: >.> [14:19] Cromulent has joined the channel [14:19] samyak__ has joined the channel [14:19] Brandon_R: what's up with github [14:19] jbrokc has joined the channel [14:19] Connorhd: oh well its doable, just a bit tedious [14:20] ccare has joined the channel [14:20] ShotgunKlaus_ has joined the channel [14:20] passionke has joined the channel [14:20] skylamer` has joined the channel [14:21] josh-k has joined the channel [14:22] ccare has joined the channel [14:22] ccare has joined the channel [14:23] cjm has joined the channel [14:24] icebox has joined the channel [14:26] kazupon has joined the channel [14:29] piscisaureus___ has joined the channel [14:30] Venom_X has joined the channel [14:30] jbpros has joined the channel [14:31] SamuraiJack has joined the channel [14:32] johnnyluu has joined the channel [14:33] jarek has joined the channel [14:33] johnnyluu has joined the channel [14:34] johnnywengluu has joined the channel [14:35] herbySk has joined the channel [14:36] ccare has joined the channel [14:36] mange has joined the channel [14:37] grampajoe has joined the channel [14:37] Brandon_R: how to write a compiler? [14:37] Brandon_R: like jade [14:37] Brandon_R: without using regex [14:37] rwaldron has joined the channel [14:38] jetienne has joined the channel [14:39] xerox: Brandon_R: tokenize and parse? [14:39] AD7six has joined the channel [14:39] Cromulent: Brandon_R: learn flex and bison [14:39] Brandon_R: like a lexer [14:39] Brandon_R: that's what i was thinking [14:39] xerox: :D [14:39] Brandon_R: what are those? [14:40] Cromulent: Brandon_R: http://www.gnu.org/software/flex/ and http://www.gnu.org/software/bison/ [14:40] jstash has joined the channel [14:40] Brandon_R: oh [14:41] Brandon_R: i thought you mean't adobe flex [14:41] Cromulent: heh [14:42] jetienne: none of them are in js btw :) [14:42] jetienne: there is one in js... the base for uglify [14:42] Brandon_R: that's ok. this topic should be theoritical [14:42] Brandon_R: language indpendant [14:44] AD7six has joined the channel [14:47] JasonJS has joined the channel [14:48] piscisaureus____ has joined the channel [14:48] Wizek-other has joined the channel [14:48] jocafa has joined the channel [14:49] sharkbird has joined the channel [14:49] ccare has joined the channel [14:49] jocafa has joined the channel [14:50] davidsklar has joined the channel [14:50] ccare has joined the channel [14:52] ccare has joined the channel [14:53] kishoreyekkanti_ has joined the channel [14:53] NARKOZ has joined the channel [14:53] ccare has joined the channel [14:56] pagameba has joined the channel [14:56] jimt_ has joined the channel [14:57] jbrokc has joined the channel [14:57] NARKOZ has joined the channel [14:57] thomblake has joined the channel [14:58] thomblake has left the channel [14:58] NARKOZ: why I'm getting this error: Uncaught ReferenceError: require is not defined [14:58] NARKOZ: after build [14:59] Edy has joined the channel [14:59] baudehlo1 has joined the channel [15:01] JumpMast3r has joined the channel [15:01] baudehlo1 has joined the channel [15:02] ccare has joined the channel [15:02] iRoj has joined the channel [15:02] joshkehn has joined the channel [15:03] joshkehn has left the channel [15:03] joshkehn has joined the channel [15:04] bnoordhuis: NARKOZ: more info needed - where do you get that error? [15:04] jwl has joined the channel [15:05] k1ttty has joined the channel [15:05] NARKOZ: got this error after including gisty [15:05] matejv has joined the channel [15:05] NARKOZ: https://github.com/meritt/node-gisty [15:05] gregmoreno has joined the channel [15:06] jakehow has joined the channel [15:06] rendar has joined the channel [15:07] zemanel has joined the channel [15:07] devongovett has joined the channel [15:08] talklv has joined the channel [15:08] talklv: Hi All [15:08] mmalecki: is there an event that's being fired after stream.write ? [15:08] talklv: Any latvian Node.js developers by any chance? [15:08] dubenstein has joined the channel [15:10] dubenstein has joined the channel [15:11] Brandon_R: probably not [15:11] ccare has joined the channel [15:11] Poetro has joined the channel [15:11] Poetro has joined the channel [15:11] tih-ra has joined the channel [15:12] dubenstein has joined the channel [15:12] piscisaureus____ has joined the channel [15:13] mmalecki: great, now I have to do magic to mock it [15:13] catshirt has joined the channel [15:15] ekryski has joined the channel [15:15] lmorchard has joined the channel [15:18] djMax has joined the channel [15:18] djMax: Anybody used Socket.io with a WebSocket client? [15:19] einaros: djMax: that's what socket.io-client is for [15:20] neurodrone has joined the channel [15:20] joemccann has joined the channel [15:20] djMax: Not on iOS [15:20] cronopio has joined the channel [15:21] joemccann has joined the channel [15:21] shoebat has joined the channel [15:21] einaros: djMax: so you're doing this outside of the browser? [15:21] djMax: Yes [15:21] djMax: Connecting ios app to node.js [15:22] thax has joined the channel [15:22] einaros: there are various socket.io clients written in other languages, but I haven't kept up to date on their status [15:22] djMax: Using "ZTWebSocket" but it calls for an upgrade to WebSocket and socket.io tosses it [15:22] einaros: which draft is ztws using? [15:23] jbpros has joined the channel [15:23] djMax: not sure yet: https://github.com/esad/zimt/blob/master/src/ZTWebSocket.m [15:23] santa10000 has joined the channel [15:25] brianc has joined the channel [15:25] santa10000 has joined the channel [15:26] colinclark has joined the channel [15:27] einaros: one of the hixie drafts [15:27] tuhoojabotti: http://urly.fi/t6 :D [15:27] djMax: hard for me to modify to make it compatible with socket.io? [15:27] tuhoojabotti: sorry for offtopic [15:28] einaros: djMax: I'm not that familiar with the old drafts. I've written the new hybi drafts for socket.io. the error you're seeing can be from malformed communication by that ws library, or missing handshaking steps on your part [15:29] djMax: fun. [15:29] einaros: using socket.io from a plain websocket client does require some insight into the protocol socket.io puts on top of whatever transport your going for [15:30] salva has joined the channel [15:30] einaros: if you're not willing to put that work into it, and there are no other client libraries for your particular platform, I'd go with a plain old websocket server [15:30] djMax: I've written plenty of protocols, so if it's just working through that, happy to give it a go. But not sure how complex it is. [15:30] mmalecki: mocking is hard [15:30] johnnywengluu has joined the channel [15:31] djMax: Is the basic "usage pattern" the same between all these drafts? [15:31] mpavel has joined the channel [15:31] djMax: Where's the spec for the hybi one? [15:31] joshkehn has left the channel [15:31] pagameba has joined the channel [15:31] einaros: djMax: check the test suites for the parser and handshaker in socket.io, that'll show the basic steps needed for conforming with socket.io [15:31] santa10000 has joined the channel [15:31] drostie has joined the channel [15:31] einaros: http://tools.ietf.org/html/draft-ietf-hybi-thewebsocketprotocol-17 <- that's the latest hybi [15:32] mpavel has left the channel [15:33] einaros: this is my most up-to-date implementation of the hybi protocol: http://einaros.github.com/ws [15:33] djMax: Key stuff looks like fun [15:34] sorin has joined the channel [15:34] ShotgunKlaus_ has joined the channel [15:35] djMax: But also led me to Unitt which has this key stuff in it, so guess I'll give that a go. http://unitt.googlecode.com/svn-history/r371/projects/iOS/UnittWebSocketClient/trunk/UnittWebSocketClient/WebSocket.m [15:36] adamstantonvan has joined the channel [15:36] lduros has joined the channel [15:36] codygray has joined the channel [15:36] woeye has joined the channel [15:37] einaros: that's also one of the hixie drafts, but possibly one which socket.io supports. as I said, I didn't dig into the old ones. [15:37] pickels has joined the channel [15:38] CiRlE has joined the channel [15:38] tomlion_ has joined the channel [15:39] diogogmt has joined the channel [15:39] tjholowaychuk has joined the channel [15:40] colinclark has joined the channel [15:43] brianloveswords has joined the channel [15:43] Xano has joined the channel [15:44] pkrumins: Just published the 3rd part in "Node.js modules you should know about" article series! [15:44] pkrumins: This time it's the node-lazy. http://www.catonmat.net/blog/nodejs-modules-lazy/ [15:44] djMax: Looks like it goes up to "10" http://code.google.com/p/unitt/source/browse/projects#projects%2FiOS%2FUnittWebSocketClient%2Ftrunk%2FUnittWebSocketClient [15:45] xerox: if you install node for all users on linux, say, /opt/node-v0.6.5, how do you install npm with sudo for everybody as well to use? [15:48] CiRlE has joined the channel [15:48] tomlion has joined the channel [15:49] xerox: nevermind [15:51] francois has joined the channel [15:51] SuMarDi has joined the channel [15:51] einaros: djMax: no, hybi-16 and 17 = 13 [15:52] mmalecki: whoah! it worked [15:52] djMax: that goes on the list of "top 10 signs a standard is broken" [15:53] mpavel has joined the channel [15:53] mpavel has left the channel [15:53] chrisvwebdev has joined the channel [15:53] igl1 has joined the channel [15:53] CiRlE has joined the channel [15:53] chrisvwebdev has left the channel [15:53] einaros: djMax: they are just drafts, and there are no major differences between 16 and 17, so no - not really [15:53] djMax: Not sure what "16 and 17 = 13" is supposed to mean though [15:54] einaros: hybi-16 and hybi-17 pass '13' as the Sec-WebSocket-Version http header [15:54] tmcw has joined the channel [15:54] einaros: it's all in the document I gave you [15:54] Samuel_Roldan has joined the channel [15:55] djMax: I see. Ok. [15:55] tkaemming has joined the channel [15:56] rwasielewski has joined the channel [15:56] joemccann has joined the channel [15:56] jbpros has joined the channel [15:56] djMax: bah, this one destroys the conn too. [15:56] jnbek has joined the channel [15:58] teadict: what libraries do you people use on the client-side since you base your apps on node? [15:58] CiRlE has joined the channel [15:58] teadict: what goes well with node being on the other end? [15:58] tjholowaychuk: teadict anything [15:59] jocafa: anyone else here in utah? [15:59] teadict: that's what I thought.. [15:59] teadict: backbone is good though for this [15:59] ccare has joined the channel [15:59] aelien27 has joined the channel [16:00] TheJH has joined the channel [16:01] EhevuTov has joined the channel [16:01] tekky has joined the channel [16:03] CIA-109: libuv: 03Ben Noordhuis 07v0.6 * r0db3274 10/ src/unix/stream.c : [16:03] CIA-109: libuv: unix: check UV_CLOSING flag in uv__write() [16:03] CIA-109: libuv: uv__write() runs after the read callbacks have fired. Said callbacks may have [16:03] CIA-109: libuv: closed the handle, handle that graciously. - http://git.io/xIYovQ [16:03] soffi has joined the channel [16:03] Wizek-other has joined the channel [16:03] CiRlE has joined the channel [16:03] jbrokc_ has joined the channel [16:06] garrensmith has joined the channel [16:07] jmgunn87 has joined the channel [16:07] cha0s has joined the channel [16:07] cha0s has joined the channel [16:07] jmgunn87: hi all. is there a known way to build node into a static link library? [16:08] CiRlE has joined the channel [16:10] jj0hns0n has joined the channel [16:12] boonrumor has joined the channel [16:13] CiRlE has joined the channel [16:13] confoocious has joined the channel [16:15] MatthewS has joined the channel [16:15] whitman: Is it possible to write to a specific stream with http/https.request()? [16:15] caolanm has joined the channel [16:16] Morkel has joined the channel [16:16] Rushing has joined the channel [16:17] ritch has joined the channel [16:18] Rushing: is expressjs.com the top-dog for a base MVC app? [16:18] adrianmg has joined the channel [16:18] adrianmg has left the channel [16:18] CiRlE has joined the channel [16:18] jtsnow has joined the channel [16:19] jbpros has joined the channel [16:19] xerox: it's pretty great yes [16:19] gkatsev: it is probably the most popular for the node-side [16:19] jscheel has joined the channel [16:19] shiawuen has joined the channel [16:20] jbpros has joined the channel [16:21] Rushing: thanks, how does it stack up to flatiron and getty [16:21] Rushing: geddy [16:21] cody-- has joined the channel [16:21] ekryski has joined the channel [16:22] cody--: so im installing through git and went to 'make install' and got `make install` is not implemented yet. Bug bnoordhuis about it in #node.js [16:22] makeInstallBot: cody--: `make install` is not supported on current node.js `master` due to build system refactor. Please use latest stable tag (v0.6.x). [16:23] CiRlE has joined the channel [16:23] brianc: Rushing: it's more light weight...think "sinatra for node" and that's kinda what express is [16:24] alvaro_o has joined the channel [16:24] brianc: Rushing: flatiron is really new and I haven't had a chance to use it, but it's by the nodejitsu team and those guys do some pretty great work [16:24] randal_ has joined the channel [16:25] brianc: Rushing: flatiron is more "full featured" than express and aims to help code reuse between the browser and server (isomorphic javascript) [16:25] ritch has left the channel [16:28] jelveh has joined the channel [16:28] CiRlE has joined the channel [16:29] Kunda has joined the channel [16:29] isaacs has joined the channel [16:29] sh1mmer has joined the channel [16:29] cody-- has left the channel [16:30] RORgasm has joined the channel [16:30] mmalecki: oh man, I feel so dirty. I mocked out half of forever and node core [16:31] joshsmith: are any of the transloadit guys in here? [16:32] saesh has joined the channel [16:32] djMax: ok, so if socket.io is out - what's the next best socket server in node? [16:32] brianseeders has joined the channel [16:32] russrpitre has joined the channel [16:33] CiRlE has joined the channel [16:33] joshsmith: is felix ever in IRC? [16:33] mmalecki: joshsmith: yeah [16:33] arcanis has joined the channel [16:33] joshsmith: mmalecki: oh, cool. I'll have to keep an eye out, then [16:34] _dc has joined the channel [16:34] aheckmann has joined the channel [16:34] codygray has joined the channel [16:36] Venom_X: djMax: why would you say socket.io is out? [16:36] djMax: because it can't talk to iOS native properly [16:37] wilmoore has joined the channel [16:37] djMax: (surely because of this iOS library, but don't want to rewrite that bit) [16:37] gregmore_ has joined the channel [16:37] zomg: hm [16:37] fangel has joined the channel [16:37] zomg: Who was it that was wondering what WebStorm does to get JS code assist the other day? [16:37] zomg: Apparently they're doing partial AST interpretation, got this from someone who works at JetBrains :) [16:38] CiRlE has joined the channel [16:38] TheJH: do macs have "arecord"? [16:38] TheJH: (and "aplay") [16:38] jzacsh has joined the channel [16:38] jzacsh has joined the channel [16:38] baudehlo1: no [16:39] mmalecki: no, but there's something similar, I think [16:39] Venom_X: djMax: what lib are you using? [16:39] baudehlo1: afplay [16:39] djMax: Unitt WebSocket [16:41] Venom_X: djMax: that's strictly websockets, no? [16:41] djMax: appears so [16:41] djMax: trying with package websockets now, but no luck yet [16:41] Venom_X: have you tried this: https://github.com/pkyeck/socket.IO-objc ? [16:41] thalll has joined the channel [16:42] djMax: I ran across that at one point but I don't love the dependencies. [16:42] jmgunn87: anyone got node working on android? [16:43] CiRlE has joined the channel [16:43] Venom_X: well, it's open. Maybe fork it, and change the dependencies [16:43] djMax: definitely an option. [16:43] joshsmith: are there any resources on learning how to do proper error handling [16:44] sfoster has joined the channel [16:44] joshsmith: I'm getting SQLSTATE errors back from node-mysql and am not really sure what to do with them [16:44] Venom_X: djMax: I'm not a fan of ASIHTTPRequest, but the other deps aren't so bad... [16:44] Venom_X: replacing ASIHTTPRequest isn't very hard [16:44] djMax: yeah, that's the one I don't like also [16:44] djMax: but it's also using cocoawebsocket which seems like I could just use that directly [16:45] djMax: not sure why I'm not seeing connection attempts using the websockets package. Where do I modify npm packages for debugging? [16:46] Rushing: looks like expressjs isn't compatible with the latest version of nodejs. anyone know what the roadmap looks like for web MVC standardization? [16:46] isaacs: djMax: they're in node_modules [16:46] isaacs: go nuts :) [16:46] tjholowaychuk: Rushing 2.5.x works with 0.6.x [16:46] pizthewiz has joined the channel [16:46] isaacs: djMax: npm explore will cd into them. then type `exit` to leave [16:46] djMax: k, nifty [16:46] djMax: lots of console.logging will ensue [16:47] halfhalo has joined the channel [16:47] josh_k has joined the channel [16:47] isaacs: djMax: the `npm edit` command also works well if you use vim or textmate [16:47] djMax: I only understand the word "emacs" in that context. [16:47] halfhalo has joined the channel [16:47] isaacs: that should work too, then :) [16:48] isaacs: but i haven't tested it [16:48] CiRlE has joined the channel [16:48] Rushing: thanks tjholowaychuk [16:49] superjudge has joined the channel [16:49] raydeo has joined the channel [16:50] rwaldron has joined the channel [16:51] tomb has joined the channel [16:51] luke` has joined the channel [16:53] CiRlE has joined the channel [16:55] tomb has joined the channel [16:55] joshsmith: josh-k is now known as _josh_k_ [16:55] ekryski has joined the channel [16:56] josh-k: joshsmith: nice idea! ;) [16:56] diminoten: any reccomendable packages for managing IP addresses? [16:56] diminoten: like, incrementing them, v6 support, etc [16:56] truedat101 has joined the channel [16:57] Neil has joined the channel [16:57] baudehlo has joined the channel [16:58] justmoon has joined the channel [16:58] CiRlE has joined the channel [16:59] superjudge has joined the channel [16:59] stonebra_ has joined the channel [16:59] eignerchris has joined the channel [16:59] GrizzLyCRO has joined the channel [17:00] TooTallNate has joined the channel [17:00] jeremyselier has joined the channel [17:00] Illusioneer has joined the channel [17:00] Illusioneer: #rack [17:01] tablackmore has joined the channel [17:02] JanLi has joined the channel [17:02] djMax: man, what a moving target websockets is. The websockets package works with 8 and 13, the iOS SDK is 7 or 10. [17:02] dgathright has joined the channel [17:03] truedat101 has joined the channel [17:03] CiRlE has joined the channel [17:03] vimja has joined the channel [17:03] ajpiano has joined the channel [17:04] smathy has joined the channel [17:04] Illusioneer has left the channel [17:04] ank has joined the channel [17:05] tablackmore: I'm working with the router module and can't figure out how to get a querystring out. I wan't my url to look something like this. /Comments/Search/3?sort=author all works upto ?sort=author can't seem to write a pattern to retrieve it. [17:05] tjholowaychuk: tablackmore require('url').parse(req.url) [17:08] diversario has joined the channel [17:08] tablackmore: tjholowaychuk : Thaks I tried that and it works with the plain http module. But with route I have to provide a pattern first and I can't get a pattern to match any url with a ? character [17:08] CiRlE has joined the channel [17:08] broofa has joined the channel [17:09] diversario: When streaming from server to browser (http response) - how do I detect that user cancels the request? When they hit Esc, close browser etc. [17:10] diversario: I tried checking res.writable but it's true even when I close the browser tab that initiated the request [17:10] joshsmith: gahh where is felix [17:10] joshsmith: I have so many questions [17:11] jbpros has joined the channel [17:11] Brandon_R has joined the channel [17:11] Brandon_R: hi [17:11] Brandon_R: wha [17:11] joshsmith: Brandon_R: nah [17:11] Brandon_R: ? [17:11] joshsmith: you said wha [17:11] joshsmith: I said nah [17:12] kishoreyekkanti has joined the channel [17:12] joshsmith: s'way it goes [17:12] diversario: yah [17:12] MatthewS has joined the channel [17:12] Brandon_R: why are the file extentions on node srs cc and not .cpp? [17:12] Poetro_ has joined the channel [17:12] Poetro_ has joined the channel [17:12] Brandon_R: i thought .cpp is the official one? [17:13] CiRlE has joined the channel [17:13] _sorensen_ has joined the channel [17:14] braoru has joined the channel [17:14] marcostoledo has joined the channel [17:15] BillyBreen has joined the channel [17:15] _jgr has joined the channel [17:15] towski has joined the channel [17:16] BillyBreen has joined the channel [17:16] fermion has joined the channel [17:16] Mezriss has joined the channel [17:16] colinclark_ has joined the channel [17:17] briancray has joined the channel [17:18] CiRlE has joined the channel [17:19] joshsmith: if anyone has thoughts on this, would appreciate it: http://stackoverflow.com/questions/8389149/how-do-you-mock-mysql-without-an-orm-in-node-js [17:20] maletor has joined the channel [17:20] jmar777 has joined the channel [17:21] kenperkins has joined the channel [17:21] andi__ has joined the channel [17:21] jerrysv has joined the channel [17:22] jmar777: has anyone been able to install node.bcrypt.js on windows? my coworker is getting "make: node-waf: Command not found" when using npm [17:22] andi__: Hi, can somebody help me with this problem in connect: The request has two different properties: url and originalUrl [17:22] ryan_stevens has joined the channel [17:22] hackband has joined the channel [17:23] jmar777: andi__: are you using express? [17:23] andi__: The path in originalUrl is correct, while the path in url has been removed. How does this happen? [17:23] andi__: No, just connect [17:23] CiRlE has joined the channel [17:23] lzskiss has joined the channel [17:23] romanb has joined the channel [17:23] jbrokc_ has joined the channel [17:24] Destos has joined the channel [17:25] andi__: I just do server.use(route, middleware) - and there is no relocation involved [17:25] jmar777: andi__: are you mounting your request handlers? can you pastie something that shows the problem? [17:26] fzzzy has joined the channel [17:27] bosphorus has joined the channel [17:27] dilvie has joined the channel [17:28] andi__: jmar777: http://pastie.org/2970401 [17:28] mandric has joined the channel [17:28] CiRlE has joined the channel [17:28] N0va` has joined the channel [17:30] fastest963 has joined the channel [17:30] andi__: jmar777: I forgot: I do not overwrite anything, logging in the first middleware gives the same result [17:31] appinsanity-mike has joined the channel [17:32] tjholowaychuk has joined the channel [17:32] jmar777: andi__: i think that's by design. check out https://github.com/senchalabs/connect/blob/master/lib/proto.js#L169 [17:33] cognominal___ has joined the channel [17:33] jmar777: with url mounting, once you've "matched" the leading portion of the url, it is removed so that nested routing middleware only needs to match on the remainder [17:33] CiRlE has joined the channel [17:33] andi__: jmar777: Yes, it seems, but what is the use, because it manipulates node's API [17:33] jmar777: andi__: i.e., if you mount as '/blog', then nested routing middleware only needs to match against '/posts', '/comments', etc. [17:34] adambeynon has joined the channel [17:34] lyte has joined the channel [17:35] jmar777: andi__: ya, it is a little dubious in that sense. i guess connect's position is that once you've handed the request to it, you're now in "connect land" and it's API takes over where the request is concerned [17:35] andi__: Hmm, it would make more sense not to change url but add another value [17:36] aconbere has joined the channel [17:36] jmar777: andi__: i think it could be argued both ways. in the layered network sense, middleware should be agnostic of other middleware, so it's kind of "legit" to mask the url when passing it on. but that can definitely be unexpected [17:37] jmar777: andi__: i think if you just stick with req.originalUrl, you should probably be safe though when interacting with API's "outside of connect" [17:37] truedat101 has joined the channel [17:37] realguess has joined the channel [17:37] NARKOZ has joined the channel [17:37] andi__: jmar777: There is more evil stuff out there, but it should be fixed. You can change basic values in extensions or your own inventions, but connect is the most basic frmwrk and shouldn't do that [17:37] OSInet has joined the channel [17:38] CiRlE has joined the channel [17:38] catshirt has joined the channel [17:38] andi__: Voilà https://github.com/senchalabs/connect/issues/432 [17:38] mikedeboer has joined the channel [17:39] jmar777: andi__: well, you can always bring it up with tjholowaychuk. he's here most of the time :) [17:39] romainhuet has joined the channel [17:39] andi__: jamr777: Thanks! [17:40] tjholowaychuk: yeah mounting is really handy in that respect [17:42] RobWC has joined the channel [17:42] mange_ has joined the channel [17:42] Nohryb has joined the channel [17:43] tkaemming has joined the channel [17:43] CiRlE has joined the channel [17:44] jbrokc_ has joined the channel [17:44] spolu has left the channel [17:44] isaacs has joined the channel [17:45] Locke23rus has joined the channel [17:45] blup has joined the channel [17:45] tmcw has joined the channel [17:45] p3rsist has joined the channel [17:46] leopard-bus-erro has joined the channel [17:46] jmar777: the windows now binaries don't include node-waf yet, do they? [17:46] jmar777: sp/now/node [17:47] creationix: doubt it [17:47] creationix: node-waf is based on the old build system [17:47] creationix: afaik it never got ported to windows [17:47] creationix: but I head a gyp based thing is coming [17:47] creationix: *hear [17:47] r1ngzer0 has joined the channel [17:48] jmar777: creationix: ya. that should be nice. just trying to figure out how to handle some contrib modules that require node-waf [17:48] leopard-bus-erro: Anyone have any advise for getting node.js to play nice w/ my macbook leopard? [17:48] madhums has joined the channel [17:48] leopard-bus-erro: I am getting a bus error which seems to be happening to others [17:48] CiRlE has joined the channel [17:48] TheJH: wooow, WAV is really nice for streaming and conencting other clients in the middle of a stream :D [17:48] bartt has joined the channel [17:49] leopard-bus-erro: this thread seems to be my problem... [17:49] leopard-bus-erro: http://groups.google.com/group/nodejs/browse_thread/thread/e4bbdec19f281746 [17:49] TheJH: just send the header and then the raw bytes fromt he middle of what the sender is sending :D [17:49] leopard-bus-erro: but there is no resolution... [17:49] mmalecki: TheJH: nice [17:50] cosmincx: Hello, how exactly do I get the stacktrace from an error on a nodejs server? (Trying to send it to an error.log) [17:51] jmar777: leopard-bus-erro: are you using crypto or other OpenSSL dependent modules? [17:51] leopard-bus-erro: hi [17:51] cosmincx: it seems console.error show what I want, but, how do I get that to print to a file? [17:51] TheFuzzball has joined the channel [17:51] leopard-bus-erro: I am using openssl [17:51] seebees has joined the channel [17:51] leopard-bus-erro: a fairy new version of it... [17:52] seebees has left the channel [17:52] gtramontina has joined the channel [17:52] raja_ has joined the channel [17:52] lwille has joined the channel [17:52] jpdery_ has joined the channel [17:53] jmar777: leopard-bus-erro: how did you install node? [17:53] leopard-bus-erro: from source [17:53] CiRlE has joined the channel [17:53] leopard-bus-erro: I am using 0.6.3 [17:53] leopard-bus-erro: node that is [17:54] jbrokc_ has joined the channel [17:54] jmar777: leopard-bus-erro: so you don't get the error on ./configure mentioned in the discussion you linked? [17:54] leopard-bus-erro: no... it compiles ok... [17:54] leopard-bus-erro: eg. it reconizes openssl being installed [17:55] PhilK has joined the channel [17:55] stephank has joined the channel [17:55] JumpMast3r has joined the channel [17:56] leopard-bus-erro: jmar777: is there a version of openssl which is the bare minimum to be using? [17:57] towski has joined the channel [17:57] jmar777: leopard-bus-erro: probably, but i don't think it needs to be especially recent [17:57] adamstantonvan has joined the channel [17:57] seejohnrun has joined the channel [17:57] willwhite has joined the channel [17:58] leopard-bus-erro: jmar777: OpenSSL 0.9.8r 8 Feb 2011 is what I have (not so old) [17:58] Drakonite has joined the channel [17:58] CiRlE has joined the channel [17:58] grekko has joined the channel [17:58] garrensmith has joined the channel [17:59] Carter_ has joined the channel [17:59] leopard-bus-erro: jmar777: when I configure, there are two possible issuesChecking for library rt : not found Checking for fdatasync(2) with c++ : no [17:59] mcluskydodallas has joined the channel [17:59] base698 has joined the channel [18:00] fatjonny has joined the channel [18:00] jmar777: hm... just checked with my coworker. he's installed node on lion both via macports and from source with no issues [18:01] codygray has joined the channel [18:01] jmar777: leopard-bus-erro: you might want to try upgrading to 0.6.5, that's what he got running [18:01] leopard-bus-erro: jmar777: -- ya, I believe it [18:01] kevwil has joined the channel [18:02] jmar777: leopard-bus-erro: or do a `make uninstall` first, just to make sure you're using a clean set of dependencies [18:02] jmar777: leopard-bus-erro: or `make clean install`... something like that [18:02] leopard-bus-erro: i had no luck w/ 0.6.{3,4} -- [18:02] leopard-bus-erro: but let me try that ... :) [18:02] jbrokc has joined the channel [18:03] CiRlE has joined the channel [18:04] sorin has left the channel [18:04] rick-_ has joined the channel [18:05] ajpiano has joined the channel [18:05] andi__: cosmincx: Check out winston for example [18:08] CiRlE has joined the channel [18:08] harthur has joined the channel [18:08] diogogmt has joined the channel [18:10] ryanj has joined the channel [18:11] xeodox has joined the channel [18:11] harthur has joined the channel [18:11] mikeal has joined the channel [18:11] springmeyer has joined the channel [18:11] dgathright has joined the channel [18:12] Miguelv has joined the channel [18:13] iammerrick has joined the channel [18:13] joshsmith: if anyone has feedback on this model, would appreciate it: http://stackoverflow.com/questions/8389369/writing-mysql-node-js-models-using-node-mysql [18:13] sh1mmer has joined the channel [18:13] CiRlE has joined the channel [18:14] patcito has joined the channel [18:14] Morkel has joined the channel [18:16] iammerrick: Anyway to retain the return values of the sub promises, the calling promise only gets the value of the last one. how can I retain the other promises return values? https://gist.github.com/3a9c92541cc0aeff5263 [18:16] iammerrick: kriszyp3: ^^ [18:17] fbartho has joined the channel [18:18] CiRlE has joined the channel [18:19] Outsider has joined the channel [18:19] tvw has joined the channel [18:22] wojohowitz has joined the channel [18:23] CiRlE has joined the channel [18:23] Nuck: I'm looking for a good S3 lib for Node, any suggestions or preferences? [18:23] lightcap has joined the channel [18:24] jbrokc_ has joined the channel [18:24] gregpascale has joined the channel [18:26] ianward1 has joined the channel [18:27] herbySk has joined the channel [18:27] idefine has joined the channel [18:28] jsurfer has joined the channel [18:28] CiRlE has joined the channel [18:29] DemonWitch has joined the channel [18:29] mange has joined the channel [18:30] hipsters_ has joined the channel [18:30] bartt has joined the channel [18:31] NARKOZ has joined the channel [18:32] kevwil has joined the channel [18:32] joshsmith: Nuck: ping? [18:33] Nuck: joshsmith: hello [18:33] joshsmith: Nuck: https://github.com/LearnBoost/knox [18:33] joshsmith: Nuck: if you haven't already, you should use toolbox.no.de [18:33] CiRlE has joined the channel [18:33] jimmysparkle has joined the channel [18:33] joshsmith: http://toolbox.no.de/search?q=s3 [18:33] MatthewS has joined the channel [18:34] magnetik has joined the channel [18:34] Nuck: Oooh, I hadn't seen that but it should come in handy! [18:34] Nuck: Thanks [18:34] ph^ has joined the channel [18:34] StanlySoManly has joined the channel [18:34] jbrokc_ has joined the channel [18:34] magnetik: Hi [18:34] joshsmith: Nuck: sure. toolbox helps me find those libs easily [18:34] magnetik: It it possible to use jquery in a node.js app ? [18:34] joshsmith: magnetik: do you mean on the server? [18:35] magnetik: yeah [18:35] creationix: tjholowaychuk: have you ever used an async template language [18:35] redir: anyone doing node in the DC area? [18:35] joshsmith: redir: I *might* know of someone [18:35] creationix: tjholowaychuk: where you feed it promisy things (like callbabacks) instead of values, and it resolves them for you in parallel [18:35] joshsmith: magnetik: why do you need jQuery? [18:35] magnetik: For this plugin : http://code.google.com/p/rdfquery/ [18:36] tjholowaychuk: creationix not a fan [18:36] tjholowaychuk: personally [18:36] redir: joshsmith just one someone? [18:36] creationix: tjholowaychuk: why? just curious [18:36] joshsmith: redir: he may know more people, but yeah [18:36] madhums has joined the channel [18:36] `3rdEden has joined the channel [18:36] joshsmith: I used to be from DC [18:36] creationix: I made yet another one and it seems really nice so far, but I was thinking you're tried this already [18:36] joshsmith: magnetik: http://toolbox.no.de/search?q=rdf [18:37] dwhittle has joined the channel [18:37] gregpascale has joined the channel [18:37] magnetik: joshsmith, yep I've looked at a few of thoses, but they does not provide what I want [18:37] redir: joshsmith I am pondering starting a usergroup if there are enough people to warrant it [18:37] joshsmith: tjholowaychuk: thanks for Jade, btw! [18:37] salva has left the channel [18:37] joshsmith: redir: you should start one regardless and go on a deep search for everyone [18:37] sarlalian has joined the channel [18:37] joshsmith: redir: good for you, good for the community [18:38] rick__ has joined the channel [18:38] RedSofa has joined the channel [18:38] CiRlE has joined the channel [18:38] nbaldwin has joined the channel [18:38] redir: joshsmith right, just don't know to many js programmers here, prolly will do it anyhow [18:38] magnetik: (What I want : a rdf/xml parser + other features) [18:39] joshsmith: redir: just market relentlessly wherever you can [18:39] creationix: tjholowaychuk: https://github.com/c9/nog/blob/master/server.js#L19-23 and https://github.com/c9/nog/blob/master/templates/frontindex.html [18:39] magnetik: I made some researchs and it looks like there is only this jquery plugin that does it well. [18:39] joshsmith: go to every DC startup-ish site, talk to local companies, get sponsors, find rad guest speakers [18:40] joshsmith: and do some fun shit, too [18:40] creationix: the data in server.js is actually three async functions and the view runs them in parallel automatically [18:40] mjr_ has joined the channel [18:40] joshsmith: like I love the jQuery meetups' dramatic readings of jQuery bugs [18:40] joshsmith: + good beer [18:40] joshsmith: little things = huge difference [18:40] xer0x has joined the channel [18:41] bugfree has joined the channel [18:41] churp has joined the channel [18:41] jsurfer has joined the channel [18:41] magnetik: So it's not possible ? :] [18:42] joshsmith: magnetik: http://stackoverflow.com/questions/1801160/can-i-use-jquery-with-node-js [18:42] magnetik: hum okay, sorry for bothering :) [18:42] magnetik: thanks [18:43] vipaca has joined the channel [18:43] vipaca has joined the channel [18:43] CiRlE has joined the channel [18:43] zeade has joined the channel [18:44] hunterloftis has joined the channel [18:45] hunterloftis: Does anybody know how to run node.io (for scraping etc) without using the node.io executable? I don't like it when libs depend on me installing a global npm module and only ever having one version of it etc [18:45] murvin has joined the channel [18:45] hunterloftis: I can just look through the source to see how to start jobs without the executable etc, just wanted to check here first [18:46] murvin: anyone use mongoose? [18:46] smh has joined the channel [18:46] leopard-bus-erro: jmar777: thanks for the help... 0.6.5 works fine... though I think make uninstall removed some things which may have been interfering... you rock :) [18:47] jmar777: leopard-bus-erro: awesome - i have to pass on the credit for that to my coworker, but glad it worked! [18:47] hunterloftis: murvin: yep [18:47] unomi has joined the channel [18:47] isaacs: hunterloftis: you could always just look at what node.io is doing [18:47] isaacs: install it (or just check it out) and poke around [18:48] hunterloftis: isaacs: yeah that's what I'm doing right now [18:48] ekryski: murvin: yep [18:48] thedjinn has joined the channel [18:48] leopard-bus-erro: jmar777: yes, do thanks him/her as well... now I can finally work!! [18:48] murvin: hunterloftis: if I have replica Set and I want to read from Secondary.. how to do the SlaveOK? is this correct? SiteModel.slaveOK().find({}, function(err,docs) { ... } ); [18:48] CiRlE has joined the channel [18:49] bradleyg has joined the channel [18:49] franciscallo has joined the channel [18:50] murvin: ekryski: is my slaveOK call correct? [18:50] hunterloftis: murvin, I think that sort of chaining should work, although I usually have been using the promises style [18:50] murvin: promises style? [18:50] jacobolus has joined the channel [18:50] hunterloftis: MyModel.where('name', 'hunter').slaveOk().run(function(err, result) { ... } ); [18:51] hunterloftis: I assume it works just the same the way you're doing it [18:51] murvin: Oh.. [18:51] murvin: ok. [18:51] ekryski: murvin: I think you want slaveOk(true).run [18:51] WarheadsSE: anyone else use nodejs on any ARM linuxes? [18:52] murvin: haven't tried that style before. i think it can handle complicate query better than the one I use. [18:52] murvin: ekryski: thanks. yes.. have to set it true.. :) [18:52] joshsmith: hmm I am going to have to use Node.io at some point... [18:52] ekryski: In order to free up some of the Node.js board we also have a channel for #mongoosejs [18:52] ryan3 has joined the channel [18:52] hunterloftis: murvin: ekrysk is right, you should pass in true/false [18:53] ekryski: although it can be somewhat dead at times by I try to answer questions on there if I can [18:53] hunterloftis: cool that's useful, I'll be lurking in there [18:53] murvin: So, in replica Set, when I establish the connection, I don't need to list out all the hosts, just one, right? the driver should be able to find out all the hosts and connect to the avaliable ones in failover, right? [18:53] CiRlE has joined the channel [18:54] murvin: ekryski: yes.. it is kinda dead.. lol. yesterday i went there, only 1 person. [18:54] tjholowaychuk: creationix cool i'll have to check it out later [18:54] ekryski: murvin: weekdays are better [18:54] creationix: tjholowaychuk: no problem [18:54] mmalecki: 3 people XD [18:54] ekryski: I'm more hit or miss on weekends [18:54] NetRoY has joined the channel [18:55] murvin: haha.. i m there now. [18:55] ekryski: murvin: should be able to. Haven't moved to full replica set yet. That'll be happening next week but I'm pretty sure you only need your one connection. [18:56] murvin: i think so too... because my coworker using PHP driver and it behaves different.. he has to define ALL hosts, otherwise failover cannot connect to secondary. [18:56] joshsmith: creationix: are you at c9? [18:56] murvin: that's scary [18:56] creationix: joshsmith: yeah [18:56] murvin: that's why I would like to know if Node.js is smarter.. which I think so. lol [18:57] CoverSlide: dammit, c9 is taken [18:57] CoverSlide: i guess i can use c4s4 [18:57] esmevane has joined the channel [18:57] murvin: i will try out replica set and failover this week. hopefully everything is work as it is. [18:57] murvin: Anyone going to the node.js summit? [18:58] joshsmith: creationix: awesome. keep up the good work! [18:58] joshsmith: what backend do you all use? [18:58] CiRlE has joined the channel [18:58] joshsmith: ^ creationix [18:58] creationix: joshsmith: for what? [18:58] joshsmith: for c9 [18:59] creationix: node, connect and lots of javascript [18:59] CarterL has joined the channel [18:59] joshsmith: I mean data store [18:59] creationix: git, filesystem [18:59] creationix: I [18:59] joshsmith: oh, makes sense [18:59] creationix: I'm not sure what the infra uses [18:59] pizthewiz has joined the channel [18:59] chadskidmore has joined the channel [19:00] ryan3 has left the channel [19:01] ryanrolds_w has joined the channel [19:01] lzskiss has joined the channel [19:01] lyte_ has joined the channel [19:03] CiRlE has joined the channel [19:03] [1]yuricamara has joined the channel [19:04] frabcus has joined the channel [19:04] frabcus has left the channel [19:04] davidsklar1 has joined the channel [19:04] frabcus has joined the channel [19:05] tkaemming_ has joined the channel [19:05] adamstantonvan has joined the channel [19:05] maushu has joined the channel [19:06] redir: joshsmith I wonder if I met you at one of the DCJQ meetups [19:07] joshsmith: redir: nope. I did no dev back then [19:07] davidsklar has joined the channel [19:07] joshsmith: sadly :( [19:07] lyte has joined the channel [19:07] lyte has joined the channel [19:07] kitt has joined the channel [19:07] kitt has joined the channel [19:07] Country has joined the channel [19:08] trotter has joined the channel [19:08] CiRlE has joined the channel [19:08] smh has joined the channel [19:08] FireBomb has joined the channel [19:08] davidsklar2 has joined the channel [19:09] brianc1 has joined the channel [19:09] davidsklar1 has joined the channel [19:10] truedat101 has joined the channel [19:10] davidsklar3 has joined the channel [19:10] davidsklar4 has joined the channel [19:11] davidsklar has joined the channel [19:12] polotek has joined the channel [19:12] langworthy has joined the channel [19:12] rwasielewski has joined the channel [19:13] davidsklar2 has joined the channel [19:13] CiRlE has joined the channel [19:14] dshaw_ has joined the channel [19:14] davidsklar1 has joined the channel [19:15] davidsklar3 has joined the channel [19:15] creationix: ok, I made a gist for my poll/research on async templates https://gist.github.com/1434837 [19:15] creationix: if anyone wants to comment on the idea, go for it. [19:16] polotek: creationix: already done [19:16] creationix: I see [19:16] davidsklar has joined the channel [19:16] chrisvwebdev has joined the channel [19:17] davidsklar4 has joined the channel [19:17] Rushing: sorry for my ignorance, but i'm having trouble installing a simple node app [19:17] Rushing: the version of node i have is too high for the app, so i'm trying to use "n" to switch versions [19:18] Rushing: i did npm install n, "ok", but now tutorials say to just type in "n 0.x.x" for the version you want [19:18] isaacs: Rushing: npm install n -g [19:18] isaacs: Rushing: cli apps need to get installed with --global [19:18] isaacs: or -g [19:18] CIA-109: node: 03Ryan Dahl 07v0.6 * r1a89c8d 10/ doc/template.html : Add analytics tracking to docs - http://git.io/M2GG9w [19:18] rwasiele_ has joined the channel [19:18] CiRlE has joined the channel [19:18] WarheadsSE: no one has any work with ARM? [19:18] WarheadsSE: ACTION honestly didnt expect any [19:19] creationix: polotek: but you're right, this only solves the async difficulty for the first layer [19:19] creationix: but I find that's the one that makes my code the hardest to read [19:19] Rushing: isaacs, i've done that, but i still don't have an "n" command available. here's the embarassing part: don't know where to execute these commands [19:19] Rushing: tried node [19:19] Rushing: and node, enter, [19:19] creationix: WarheadsSE: ? [19:20] isaacs: Rushing: npm commands just get run on the command line [19:20] creationix: WarheadsSE: I estimate over a million webos phones and tablets out in the wild, all bundled with nodejs and node powered services [19:20] Rushing: right, i did npm install n -g [19:20] WarheadsSE: creationix, I'm only having this issue with v8 granting me MMAP segfaults on linux kernel 3.0+ [19:20] isaacs: Rushing: and now what happens if you type just `n` on the command line? [19:20] WarheadsSE: 2.6.39 & < work [19:21] Rushing: nothing, i'm on windows 7, fyi [19:21] creationix: WarheadsSE: ahh, I'll bet there hasn't been a lot of arm + 3.x + node [19:21] WarheadsSE: :) [19:21] kevwil_ has joined the channel [19:21] creationix: WarheadsSE: I [19:21] bnoordhuis: WarheadsSE: i've done both but not together (i.e. node on arm, node with 3.x but not both) [19:21] creationix: I'm afraid I'm not much of a kernel hacker [19:21] WarheadsSE: My dev station works, because it is an PLX oxnas 7820 board, and we're (archlinux-arm) the only ones working on bringing those kernels up to speed. [19:22] bnoordhuis: ACTION is though [19:22] WarheadsSE: bnoordhuis, I'd happily grant you whatever access you might want to at least an armv5te running 3.1.2 and all the latest glibc [19:22] dmsuperman has joined the channel [19:23] bnoordhuis: WarheadsSE: can you strace it? [19:23] WarheadsSE: yeah [19:23] WarheadsSE: dumps MMAP on 1st call [19:23] CiRlE has joined the channel [19:23] dmsuperman: Using mongoose, how can I extend an instance of a model [19:23] bnoordhuis: well, that make for a nice, short and readable trace [19:23] bnoordhuis: *makes [19:24] Rushing: isaacs, any more thoughts? [19:24] WarheadsSE: odd, looks like it may have made it further with 0.6.5 [19:24] WarheadsSE: same maperr though [19:24] KishCom has joined the channel [19:25] isaacs: Rushing: i'm pretty sure n is written in bash. that'll probably not work on windows [19:25] isaacs: Rushing: same for nvm and nave [19:25] creationix: isaacs: someone did write nvmw [19:25] bnoordhuis: WarheadsSE: can you gist the trace? [19:25] creationix: or something like that, it looked pretty cool [19:26] Rushing: nvm seems to work fine for me, except i get alot of dependency errors [19:26] WarheadsSE: im pastieing it now, was just yanking out the cacheflushes [19:26] isaacs: creationix: really? neat. [19:26] isaacs: creationix: nave should be totally doable as well. [19:26] whitman has joined the channel [19:26] isaacs: probably need to use python or something, though, since it does a bunch of sed and whatnot. [19:27] WarheadsSE: git://gist.github.com/1434894.git [19:27] WarheadsSE: it did make it slightly farther than it used to i beleive. [19:27] devongovett has joined the channel [19:27] adrianmg has joined the channel [19:28] pickels has joined the channel [19:28] CiRlE has joined the channel [19:29] geekbri has joined the channel [19:29] Rushing: how can i have multiple versions of a module running? i'm a little confused about where these modules are being installed to and how they all relate to each other from different places on the HD [19:29] Rushing: seems like npm just installs a nodejs module in whatever the current directory is [19:29] isaacs: Rushing: yes. [19:29] WarheadsSE: Rushing, by default I believe that is the behavior [19:29] isaacs: Rushing: npm faq <-- run that, and read through it [19:30] adrianmg has left the channel [19:30] isaacs: Rushing: http://nodejs.org/docs/v0.6.5/api/modules.html <-- that too [19:30] isaacs: (for more details) [19:30] errordeveloper__ has joined the channel [19:30] errordeveloper__: hi [19:30] bnoordhuis: WarheadsSE: doesn't seem to be an issue with mmap, it's probably a bad pointer [19:30] WarheadsSE: hmm [19:31] bnoordhuis: if you run it through gdb, the backtrace should tell you where it happens [19:31] bnoordhuis: `./configure --debug` will give you a node_g binary with debug symbols [19:31] elijah-mbp has joined the channel [19:31] WarheadsSE: so i'll need to compile with debug, then run gdb [19:31] errordeveloper__: I couldn't quite figure out how to re-request something again and again with `http.request` and keep-alive connection? [19:32] jaequery has joined the channel [19:32] WarheadsSE: bnoordhuis, cute: Program received signal SIGSEGV, Segmentation fault. [19:32] WarheadsSE: 0x0023ff24 in v8::internal::Parser::ParseBinaryExpression(int, bool, bool*) () [19:33] CiRlE has joined the channel [19:33] Margle has joined the channel [19:35] insin has joined the channel [19:35] Nohryb has joined the channel [19:35] bnoordhuis: WarheadsSE: can you gist the output of `backtrace full`? [19:35] WarheadsSE: backtrace full.. in gdb? [19:35] kickingvegas has joined the channel [19:36] bnoordhuis: WarheadsSE: yes [19:36] bnoordhuis: with debug symbols pretty please :) [19:36] WarheadsSE: I need to recompile for that .. but: https://gist.github.com/1434938 [19:36] rwasielewski has joined the channel [19:37] bnoordhuis: WarheadsSE: thanks [19:38] CiRlE has joined the channel [19:38] lazyshot_ has joined the channel [19:38] jsurfer has joined the channel [19:38] WarheadsSE: bnoordhuis, give it a while to recompile. [19:39] insin: dayum, derby.js, automatic binding from templates? [19:39] insin: and a kanso release? Good times [19:41] paulwe has joined the channel [19:42] mikedeboer has joined the channel [19:43] mikeal has joined the channel [19:43] CiRlE has joined the channel [19:43] WarheadsSE: bnoordhuis, it will finish rebuilding on this plug in about half hour [19:44] lzskiss: brb [19:44] davidsklar has joined the channel [19:46] akiva has joined the channel [19:47] seebees has joined the channel [19:48] Renegade001 has joined the channel [19:48] JTxt has joined the channel [19:48] CiRlE has joined the channel [19:50] creationix: gah, github 500 ate my gist https://gist.github.com/1434837#comments [19:50] creationix: cool 500 page though [19:50] colinclark has joined the channel [19:51] JTxt: (that link works for me.) [19:51] JTxt: Creationix.route("GET", "/", function (req, res, params, next) {... ? [19:52] criswell has joined the channel [19:53] creationix: it's better now [19:53] creationix: but it may have been something in my profile that was crashing it [19:53] CiRlE has joined the channel [19:53] mmalecki: creationix: github crashes randomly [19:54] creationix: http://creationix.com/github500.png [19:54] creationix: and it's parallax like the 404 page [19:55] franky_ has joined the channel [19:55] deedubs has joined the channel [19:55] indexzero has joined the channel [19:56] magnetik: humm, using latest npm and node, I have a "unknown command : node-waf" every time I install something with npm [19:57] isaacs: magnetik: windows? [19:57] magnetik: yep [19:57] isaacs: magnetik: no node-waf [19:57] malletjo has joined the channel [19:57] magnetik: Should I fill in a bug or something ? [19:57] isaacs: magnetik: it's a known issue. [19:57] isaacs: we don't have a good binary compilation addon story for windows yet. [19:57] magnetik: Okay, if it's known, it's not a problem [19:58] CiRlE has joined the channel [19:58] Revernd has joined the channel [19:58] wilmoore has joined the channel [19:59] robbiet480 has joined the channel [20:01] N0va has joined the channel [20:03] eb4890 has joined the channel [20:03] CiRlE has joined the channel [20:03] lightcap has joined the channel [20:04] iRoj has joined the channel [20:05] magnetik_ has joined the channel [20:06] Nohryb has joined the channel [20:06] jbpros has joined the channel [20:07] Brux has joined the channel [20:07] Brux has left the channel [20:08] CiRlE has joined the channel [20:09] magnetik_: isaacs, but well.. how I deal with "Internal Contextify ERROR: Make sure Contextify is built with your current Node [20:09] magnetik_: version." error ? [20:09] isaacs: magnetik_: bug the author of whatever module you'er using [20:09] isaacs: tell them it's not compatible on windows, because of the contextify dependency [20:09] isaacs: and that it hurts your heart [20:10] magnetik_: okay thanks :) [20:10] edwardw has joined the channel [20:10] storrgie has joined the channel [20:10] djcoin has joined the channel [20:11] skm has joined the channel [20:13] Samuel_Roldan has joined the channel [20:13] gwoo has joined the channel [20:13] kevwil has joined the channel [20:13] CiRlE has joined the channel [20:16] markwubben has joined the channel [20:16] arcanis has joined the channel [20:18] CiRlE has joined the channel [20:19] springmeyer: magnetik_: later today I plan on compiling contextify for windows [20:20] magnetik_: I don't know what's the r�le of contextify is [20:20] springmeyer: magnetik_: I don't know exactly either, but it does not look easy to remove/drop [20:20] fly-away has joined the channel [20:20] magnetik_: should I report the bug to the plugin I want to use, [20:21] magnetik_: ? [20:21] springmeyer: magnetik_: what are you asking? [20:22] magnetik_: nevermind [20:22] sfoster has joined the channel [20:23] alejandromg has joined the channel [20:23] CiRlE has joined the channel [20:23] MatthewS has joined the channel [20:25] markwubben has joined the channel [20:26] ammurorei has joined the channel [20:27] benlyn has joined the channel [20:28] benlyn has joined the channel [20:28] topaxi has joined the channel [20:28] esmevane_ has joined the channel [20:28] CiRlE has joined the channel [20:30] kevwil has joined the channel [20:30] tdubellz has joined the channel [20:30] ryan_stevens has joined the channel [20:30] xaptronic has joined the channel [20:32] harthur has joined the channel [20:33] jbpros_ has joined the channel [20:33] CiRlE has joined the channel [20:34] binaryjohn has joined the channel [20:38] localhost has joined the channel [20:38] eldios has joined the channel [20:38] CiRlE has joined the channel [20:40] eldios: guy any kindle user in here? [20:41] eldios: I'm thinking about getting one but I'm very skeptic about using it to read *BIG* technical IT manuals... [20:41] eldios: and I cannot find any review in this sense online.. [20:41] WarheadsSE: eldios, as in large, scanned in PDF technical manuals [20:42] eldios: WarheadsSE, yeah that one too.. but I was also thinking about legit buying my books.. [20:42] eldios: my concern is not about money (which is definitely a BIG plus for Kindle) but it's about usability and comfort [20:42] WarheadsSE: honeslty, if it's a huge scanned PDF, it's going to be a memory hog on any device, and thats going to be something. [20:43] alnewkirk has joined the channel [20:43] eldios: both of which are again a big plus for Kindle with narrative books but I'm a bit concerned with tech-y ones [20:43] WarheadsSE: as for reading an all-digital original form, thet should work across the board. It's all about form factor past that. [20:43] CiRlE has joined the channel [20:43] eldios: WarheadsSE, what worries me most is the "jumping back-and-forth" typical of tech readings [20:43] eldios: which don't happen when you read a novel [20:44] eldios: and in that "linear" case the Kindle is perfect.. [20:44] aconbere has joined the channel [20:44] WarheadsSE: if the form factor is a concern, then it is as simple as getting your hands on one @ display, and try it. [20:44] eldios: mm.. yes.. I'm trhinking on going to a market nearby and try one [20:44] r1ngzer0: eldios: I bought the Kindle DX thinking it would be usable for technical docs. [20:45] eldios: r1ngzer0, while it's no? [20:45] eldios: not* [20:45] r1ngzer0: I do not use it for tech books pretty much ever. [20:45] eldios: mm [20:45] r1ngzer0: can't flip around in it easily. [20:45] r1ngzer0: which killed it for me. [20:45] ovaillancourt: amen to what r1ngzer0 is saying, same here [20:45] WarheadsSE: the DX is also an e-ink screen, without touch [20:45] eldios: exactly what I fear [20:45] eldios: yeah I would get the Kindle 4 (basic) [20:45] r1ngzer0: it will do in a pinch, or the rare technical book you read cover to cover. [20:46] base698 has joined the channel [20:46] eldios: like Javascript the good parts [20:46] ovaillancourt: it's good for reading novels or some more editorial-style technical books, but I would never read a manual on it [20:46] reid has joined the channel [20:46] WarheadsSE: ACTION has a physical copy.. if i can find where I packed it when I moved, [20:46] r1ngzer0: but pretty much only use for fiction, etc. and as such would be better off with the smaller form factors. [20:46] WarheadsSE: I'd have to have good bookmark support for that. [20:46] r1ngzer0: (I do love the e-ink, fwiw) [20:46] perezd has joined the channel [20:46] markwubben has joined the channel [20:47] eldios: I love the concept too [20:47] eldios: as it's cheaper, more toward ecology and all-in-all it's the future (I hope for my children's back) [20:47] r1ngzer0: I mean, I use the thing pretty much every day. Just not for what I intended. :) [20:47] mandric has joined the channel [20:48] eldios: but...as you confirmed I fear it won't go very far for my tech manual readings.. even with notes-heavy usage [20:48] CiRlE has joined the channel [20:50] dmsuperman has left the channel [20:51] spasquali has joined the channel [20:52] spasquali: does .6 support keepalive for HTTPS? [20:52] robhawkes has joined the channel [20:52] lazyshot has joined the channel [20:53] bogomips has joined the channel [20:53] CiRlE has joined the channel [20:54] binaryjohn has joined the channel [20:54] davidsklar has joined the channel [20:54] bnoordhuis: spasquali: why wouldn't it? [20:54] markwubben has joined the channel [20:54] vguerra has joined the channel [20:55] tih-ra_ has joined the channel [20:55] exoslpm has joined the channel [20:56] exoslpm: Hi guys [20:56] spasquali: bnoordhuis: had seen some mention of it not being supported. yay! thanks. [20:57] micheil has joined the channel [20:57] baudehlo1 has joined the channel [20:58] Margle has joined the channel [20:58] dob_ has joined the channel [20:58] criswell has joined the channel [20:58] CiRlE has joined the channel [20:58] exoslpm: somebody know how to handle cluster balancing or at least make socket.io to work (with cluster) ? [20:59] kindbeard has joined the channel [20:59] petrjanda has joined the channel [20:59] jackyyll: does anyone know a way to have hook.io communicate with non-javascript programs? e.g c++ [20:59] jackyyll: is there any libraries out there? [21:00] WarheadsSE: it's unfortunate that east coasters are so often left out of the tech events since they are always held in/around SV. [21:00] progrock`: slightly OT, but has anyone donw PDF preview within their web app?... I need to find a solution to allow that for a proprietary document manager.... cost is not an issue what so ever.. just need something that works, works fast, and looks good [21:00] adrianFa has joined the channel [21:01] robbiet480 has left the channel [21:01] WarheadsSE: progrock`, so you're up for making an outside library call? what underlying os? [21:01] sfoster has joined the channel [21:01] bnoordhuis: jackyyll: talk json over a socket? [21:02] jackyyll: bnoordhuis: would it be that easy? [21:02] OSInet has joined the channel [21:02] bnoordhuis: jackyyll: yes [21:02] Illusioneer has joined the channel [21:02] progrock`: WarheadsSE: everything runs on linux here... so hpoefulyl linux.. we are praying not to have to runa windows serevr [21:02] jackyyll: interesting. [21:02] WarheadsSE: !g json c++ [21:02] purr: WarheadsSE: JSON 2 [21:02] OSInet has left the channel [21:02] WarheadsSE: !g c++ json [21:02] purr: WarheadsSE: What's the best C++ JSON parser? - Stack Overflow 2 [21:02] sqpat has left the channel [21:02] neilk_ has joined the channel [21:02] koo3 has joined the channel [21:02] WarheadsSE: progrock`, unless it is an encrypted PDF, it shouldn't be hard [21:03] WarheadsSE: you're just essentially print-image the first page, and down-scale [21:03] mcluskydodallas has joined the channel [21:03] progrock`: WarheadsSE: well, ahrd or not is nott he issue. Just trying to find the best possible solution to this [21:03] strmpnk has joined the channel [21:03] progrock`: WarheadsSE: no.. they want full document previews.. so they can go to any page, read.. etc... basically everythign short of edition [21:03] CiRlE has joined the channel [21:03] WarheadsSE: hmm [21:03] colinclark has joined the channel [21:03] progrock`: editing* [21:04] WarheadsSE: yeah, thats different. [21:04] Illusioneer has left the channel [21:04] WarheadsSE: in what language [21:04] WarheadsSE: (programming) [21:04] progrock`: yeah, my first answer was to have a rpeprocess stage and do image previews. but that got shot down [21:04] salva has joined the channel [21:04] progrock`: WarheadsSE: again, Ideally we can find some kind of package to do this. But internally, we only use Scala here (so anything that runs on the JVM would work) [21:05] WarheadsSE: ACTION hrrrrk [21:05] WarheadsSE: ok [21:05] aconbere_ has joined the channel [21:06] WarheadsSE: I cheated a bit [21:06] WarheadsSE: !g java pdf viewer [21:06] purr: WarheadsSE: ICEpdf - Open Source Java PDF, Java PDF Viewer, Java PDF ... 2 [21:06] tonymilne has joined the channel [21:06] tilgovi has joined the channel [21:06] tilgovi has joined the channel [21:08] eldios: http://stackoverflow.com/questions/1591994/is-the-amazon-kindle-suitable-for-programming-books there are good answers in here to my previous question =) [21:08] exoslpm: :S [21:08] exoslpm: i don't use cluster with socket.io :'( [21:08] exoslpm: i can't [21:08] CiRlE has joined the channel [21:08] `3rdEden: exoslpm; https://github.com/3rd-Eden/nodejsconfit-2011/tree/master/cluster [21:09] `3rdEden: use the RedisStore engine with Socket.IO [21:09] jamw has joined the channel [21:10] cognominal_ has joined the channel [21:11] isaacs has joined the channel [21:11] frogstarr78 has joined the channel [21:12] lxsameer has joined the channel [21:12] lxsameer: how can i send some data to websocket clients in data event of unix server ? http://dpaste.com/666635/ [21:12] exoslpm: `3rdEden, thnx [21:12] Samuel_Roldan has joined the channel [21:12] slifty has joined the channel [21:13] CiRlE has joined the channel [21:14] CrabDude has joined the channel [21:14] CarterL has joined the channel [21:15] tkaemming has joined the channel [21:15] chia has joined the channel [21:16] fatjonny has joined the channel [21:16] slifty has left the channel [21:18] CiRlE has joined the channel [21:19] dannyamey has joined the channel [21:19] errordeveloper has joined the channel [21:19] WarheadsSE: lxsameer, would you not do it in the 'data' event itself? [21:20] exoslpm: `3rdEden, ever i have use socket.broadcast.emit instead off socket.emit? [21:20] shanebo has joined the channel [21:20] lxsameer: WarheadsSE: i can't understand you :( [21:20] shanebo: hey guys I heard 0.6 supports gzip out of the box. Is that true? [21:20] michaelhartau has joined the channel [21:21] brianc1: shanebo: only if you pay for the "enterprise edition" [21:21] GrizzLyCRO has joined the channel [21:21] shanebo: haha [21:21] chilts: shanebo: http://nodejs.org/docs/latest/api/all.html#zlib [21:21] chilts: right there, on the site :) [21:21] adamstantonvan has joined the channel [21:22] WarheadsSE: lxsameer, why not emit from the unix.on('data') [21:22] diogogmt has joined the channel [21:22] errordeveloper: ok, I just asked this question an hour ago but had to quite irc without an answer [21:22] errordeveloper: I presume nobody answered - [21:22] lxsameer: WarheadsSE: can you give me an example please ? i don't know how the get the event raised by unix in websocket [21:23] errordeveloper: basically, I want to connect to a an http api using `http.request()` with keep-alive [21:23] shanebo: thanks chilts [21:23] errordeveloper: can I reuse the connection this way [21:23] CiRlE has joined the channel [21:23] errordeveloper: and how to repeate the same request over and over? [21:23] mikeal has joined the channel [21:24] errordeveloper: I cannot quite see this in the docs ... [21:24] chilts: shanebo: no worries [21:24] mc_greeny has joined the channel [21:25] boltR has joined the channel [21:27] shanebo: chilts is there a way to compress a buffer? Or would I convert the buffer to a string and then compress? [21:28] arcanis has joined the channel [21:28] WarheadsSE: lxsameer, the event, or the data from the event? [21:28] CiRlE has joined the channel [21:29] lxsameer: WarheadsSE: i'm new to node.js so i don't know about node.js events very well, all i need is an example [21:29] chilts: shanebo: see the convenience methods at the bottom [21:29] chilts: they take either a string or buffer [21:30] kevwil has joined the channel [21:30] shanebo: chilts, I see buf being taken as an arg but I don't see any of them being described as compressing a buffer [21:31] chilts: zlib.gzip(buf, callback) [21:31] shanebo: chilts I presume you're specifically referring to zlib.gzip [21:31] shanebo: yeah [21:31] WarheadsSE: lxsameer, to be honest, I've never used websockets, or socket.io in any of my nodejs work [21:31] chilts: yeah, reading the page helps ;) [21:31] lxsameer: WarheadsSE: thanks [21:31] josh-k has joined the channel [21:31] shanebo: chilts, read right under that method. It says "Compress a string with Gzip " [21:31] chilts: btw, I've never used that library before so I have no idea, but it seems to do what you want [21:31] djMax: Does anybody have free node.js servers with SSL support (with my own cert)? [21:31] errordeveloper: any ideas ? [21:32] chilts: shanebo: yes, and read under the 'Convenience Methods' heading [21:32] djMax: loving messing around with Joyent, but need SSL so I don't get yelled at. [21:32] ryanrolds has joined the channel [21:32] errordeveloper: (about keep-alive http.request) [21:32] errordeveloper: ? [21:32] chilts: "All of these take a string or buffer as the first argument ..." [21:32] chilts: and I'm done [21:32] WarheadsSE: djMax, why not run locally for development? [21:32] djMax: Network annoyances. [21:32] djMax: But yeah, might have to. [21:32] jondot has joined the channel [21:33] djMax: i.e. I can't get port 80, so I'd have to give people painful URLs. Though I could use joyent as a redirector. :) [21:33] spolu has joined the channel [21:33] WarheadsSE: SSL isnt on port 80 :) [21:33] djMax: fine 443. :) [21:33] shanebo: chilts haha, and it says nothing of what is returned [21:33] CiRlE has joined the channel [21:33] blup has joined the channel [21:33] chilts: shanebo: please read it ... it says _right_ _after_ what I pasted earlier [21:33] WarheadsSE: hmm, small, free vps, + ssh w/ port forwarding :p [21:34] chilts: it tells you it calls the callback with the result [21:34] Sorella has joined the channel [21:34] chilts: please read it, try it, test it, see what happens and then come back later if you have any more questions [21:34] shanebo: chilts it doesn't say what the result type is, that's my point [21:34] WarheadsSE: djMax http://chunkhost.com/ [21:34] chilts: if you try it, you'll find out [21:34] chilts: I'll give you a hint, try it with a buffer AND a string [21:34] chilts: and see if there is a difference [21:34] akujin- has joined the channel [21:34] jondot: hi guys. I'm working with connect for production apps. so far,i've deployed around 6 differnt apps, and i see that i always need 3 things: config (dev, prod, test), logging (configurable levels, async), loadbalancing (cluster). before embarking on writing such a library, anyone thinks i'm reinventing the wheel? [21:35] shanebo: chilts, the purpose of documentation is to know what's expected without trying it [21:35] djMax: I love betas! Thanks. [21:35] tjholowaychuk: jondot express? [21:35] tjholowaychuk: minus the load balancing part [21:35] tjholowaychuk: but that's not hard to plug in to any app [21:35] WarheadsSE: djMax, use this ? https://chunkbot.chunkhost.com/referral_codes/129 [21:36] chilts: shanebo: if you have a patch for the docs, I'm sure it'll be more than welcome :) [21:36] WarheadsSE: oops, meant: http://chunkhost.com/r/chunky [21:36] jondot: tjholowaychuk: i cannot use applicative logging with express. in my logic code, i can't just call 'log'. there is also no file-configuration with express that i've seen (yamls). neither there is cluster. [21:36] chilts: shanebo: and also, docs are useless if they aren't read properly [21:36] tjholowaychuk: jondot well that's because those are all opinionated things [21:36] tjholowaychuk: yaml config [21:36] tjholowaychuk: json config [21:36] tjholowaychuk: redis config [21:37] tjholowaychuk: js config [21:37] shanebo: chilts and so is answering a question when you didn't understand the question [21:37] chilts: lol [21:37] tjholowaychuk: none of which are perfect, so it's usually better to just combine what you want [21:37] jondot: tjholowaychuk: well, it doesn't matter what format, as long as the configuration lives outside of the app, and is hierarchical with at least dev, test, and prod levels...? [21:38] tjholowaychuk: var conf = require('./config/' + app.settings.env) [21:38] k1ttty has joined the channel [21:38] jondot: tjholowaychuk: ah. 1:0 to you :) [21:38] brianseeders has joined the channel [21:38] CiRlE has joined the channel [21:39] jondot: well, i still have the logging and cluster part, which i tend to do a bit different every time [21:39] tjholowaychuk: haha yeah have your pick of 50 loggers [21:39] bengrue has joined the channel [21:39] tjholowaychuk: there's no real "right" answer for most of these things [21:39] chilts: shanebo: you do realise that the 2nd example on that same page shows you exactly the answer to your question [21:40] Sorella has joined the channel [21:40] jondot: well, with that i'd like to have some sort of template app. i'd like to just write my express/sinatra routes and be done with it. [21:40] jondot: i was thinking of providing other developers a convenient method. lets say: make_awesome( func(log, config){ ... }) [21:40] tjholowaychuk: i just have a template sitting around [21:40] tjholowaychuk: cp -fr __tmpl myapp [21:40] jondot: which will take your code, wrap it in a func, and cluster over it [21:41] jondot: i don't know if this is idiomatic node.js though. [21:42] shanebo: chilts, hahaha, you're seriously maintaining that good docs wouldn't put the returned type along with the method itself? But rather I should find that out in the examples? [21:43] chilts: shanebo: that's not at all what I said, but anyway, you asked a question, I helped, and helped some more and then found your answer ... so I guess I must have done something wrong [21:43] jondot: tjholowaychuk: so what do you think about the latter example? do I have a tiny wheel to invent, or no wheel? [21:43] chilts: sorry about that [21:43] chilts: my bad (obviously) [21:43] tjholowaychuk: jondot I think it's 100% fine for personal projects that are similar [21:43] tjholowaychuk: but [21:43] CiRlE has joined the channel [21:43] tjholowaychuk: things that are less flexible are... less flexible :p [21:44] tjholowaychuk: people who just want to knock out a quick app can use rails [21:44] gtrduop has joined the channel [21:44] gtrduop: I`ve forgotten a3li for ban-nazi. sorry! [21:44] CIA-109: node: 03Ben Noordhuis 07v0.6 * r36815e4 10/ (src/node.js test/simple/test-process-exit.js): process: fix stack overflow when recursively calling process.exit() - http://git.io/eWAEEA [21:44] shanebo: chilts, I appreciate the help. I don't appreciated your assumption and snark that I didn't read the docs for passing buffer as an arg and getting a buffer returned [21:46] shanebo: chilts thanks for the help. we can stop spamming the room now :) [21:46] chilts: :) [21:46] bogomips2_ has joined the channel [21:46] jondot: tjholowaychuk: i understand. i too believe in that, but i usually don't like to push different infrastructure to production with each app. it adds an innapropriate element of surprise [21:46] bogomips2__ has joined the channel [21:47] tjholowaychuk: jondot definitely, but that will differ greatly depending on what the app needs [21:47] Xano_ has joined the channel [21:48] jondot: you're saying that flavors of logging, config, and clustering matter in terms of business? [21:48] tjholowaychuk: everything [21:48] tjholowaychuk: even simple things like serving files before routing or after [21:48] tjholowaychuk: it all really depends on the app [21:48] CiRlE has joined the channel [21:49] cjm: new nodeup 8 is up, an npm deep dive show http://news.ycombinator.com/item?id=3316594 [21:49] redir: is there a preferred logo to use for a meetup group? or should I just use the one from nodejs.org? [21:50] simenbrekken has joined the channel [21:50] tjholowaychuk: oh wow nodeup works now [21:50] tjholowaychuk: that i reverted chrome [21:50] Me1000 has joined the channel [21:50] jondot: tjholowaychuk: well thanks for the discussion, i might have learned a thing or two. [21:51] randy has joined the channel [21:51] mmalecki: tjholowaychuk: it's just terribly slow [21:51] mmalecki: also, my voice is terrible there [21:51] tjholowaychuk: i was running the dev build of chrome so it was using socket.io's xhr-polling [21:51] tjholowaychuk: which seemed to have some massive 15s delay [21:51] mmalecki: yeah [21:53] CiRlE has joined the channel [21:54] jgallen23: tjholowaychuk: is learnboost's cluster lib still in development or should I look into the new node core cluster? [21:54] sarlalian has joined the channel [21:55] `3rdEden: tjholowaychuk the delays are sooo socket.io 0.7 < ;) [21:55] `3rdEden: 0.8* [21:55] `3rdEden: :$ [21:56] lzskiss has joined the channel [21:56] aconbere has joined the channel [21:56] lzskiss: yo [21:56] brokenjames has joined the channel [21:57] esmevane has joined the channel [21:57] baudehlo has joined the channel [21:58] sarlalian has joined the channel [21:59] CiRlE has joined the channel [21:59] augustl: how do I install node on OS X by using the .pkg so I don't have to use "sudo npm install" etc? [21:59] augustl: with emphasis on "sudo" [22:00] isaacs: augustl: sudo chown -r $USER /usr/local [22:00] isaacs: augustl: or npm config set prefix /somewhere/else/user/owned [22:00] isaacs: augustl: like, npm config set prefix = ~/local [22:00] bogomips2_ has joined the channel [22:01] augustl: isaacs: I see, thanks [22:01] cjm: updated socket.io [22:01] `3rdEden: \o/ [22:01] wojohowitz has joined the channel [22:01] jondot has left the channel [22:02] joelesko_ has joined the channel [22:02] `3rdEden: cjm your still running 0.8.4 ;9 [22:02] socketio\test\36 has joined the channel [22:03] joelesko_: i've been getting hard crashes with a flood of "1 multicall(s) failed: cpu 1"... anyone see this before? [22:03] bogomips has joined the channel [22:04] madhums has joined the channel [22:04] CiRlE has joined the channel [22:05] Morkel has joined the channel [22:06] djMax: cam express run secure? [22:07] mraleph has joined the channel [22:08] michaelhartau has joined the channel [22:08] WarheadsSE: http://stackoverflow.com/questions/4660077/node-js-express-js-ssl [22:09] WarheadsSE: note, that's from almost a year ago [22:09] tjholowaychuk: djMax exactly the same way you would with node's http server [22:09] WarheadsSE: lol, even better.. djMax http://expressjs.com/guide.html#creating-an https server [22:09] CiRlE has joined the channel [22:10] joshwnj has joined the channel [22:10] djMax: that'll teach me to search for ssl [22:10] WarheadsSE: "nodejs express ssl" [22:10] WarheadsSE: ~ 3rd link [22:11] satyr has joined the channel [22:11] trco has joined the channel [22:11] WarheadsSE: bnoordhuis, it's FINALLY finishing tests. [22:11] joshsmith has joined the channel [22:11] torm3nt has joined the channel [22:14] CiRlE has joined the channel [22:15] tshpaper has joined the channel [22:16] koti has joined the channel [22:17] bencc has joined the channel [22:17] stagas has joined the channel [22:18] lightcap has joined the channel [22:18] djcoin has joined the channel [22:18] trco: Hello :) I am rather new to node and I heard about the Node Application Debugger for Eclipse. I loaded it up according to the instructions I found on github but I consistently get an error when hitting debug in eclipse "Failed to connect to Standalone V8 VM Connection Refused". Any ideas where I might be going wrong? [22:19] base698 has joined the channel [22:19] CiRlE has joined the channel [22:20] d0k_ has joined the channel [22:20] AvianFlu: trco: yeah, you went wrong as soon as you started eclipse XD [22:21] AvianFlu: trco: what kind of debugging are you looking to have? [22:21] DemonWitch has joined the channel [22:21] SubStack: console.log [22:22] trco: AvianFlu: lol Well I hear ya there but it's a bit of an office requirement. I am attempting to use this: https://github.com/joyent/node/wiki/Using-Eclipse-as-Node-Applications-Debugger [22:22] spolu has left the channel [22:23] TheJH: trco, really, node-inspector [22:23] tommyvyo has joined the channel [22:23] zeade has joined the channel [22:23] AvianFlu: trco: are you starting node in debug mode? [22:23] TheJH: trco, anyway: sure you're doing "node --debug" (not "node debug")? [22:24] CiRlE has joined the channel [22:25] adamstantonvan has joined the channel [22:25] trco: Well evidently I was starting it incorrectly. Now I seem to get a new error :) An internal error occurred: java.lang.NullPointerException [22:25] WarheadsSE: bnoordhuis, debug w/ gdb & backtrace full: https://gist.github.com/1435673 [22:25] trco: TheJH: I had not heard of node-inspector! I will check that out right away [22:26] strmpnk has joined the channel [22:26] JakeyChan has joined the channel [22:26] skm has joined the channel [22:27] freeformz has joined the channel [22:28] micheil has joined the channel [22:28] nmtmason has joined the channel [22:29] trco: AvianFlu and TheJH would you happen to have any suggestions on good unit testing frameworks. Jasmine has been suggested. Any thoughts? [22:29] bnoordhuis: WarheadsSE: looks like a v8 bug [22:29] WarheadsSE: yup [22:29] CiRlE has joined the channel [22:29] WarheadsSE: hunting in source atm. [22:30] piscisaureus_ has joined the channel [22:30] diminoten: anyone know how to iterate over results in mongoskin [22:30] AvianFlu: trco: nodejitsu uses vows for everything - the syntax can be tough to start with but I find it nice to use [22:31] AvianFlu: I also hear good things about nodeunit and node-tap [22:31] adrianmg has joined the channel [22:31] adrianmg has left the channel [22:32] WarheadsSE: how the hell does this: return static_cast(READ_BYTE_FIELD(this, kInstanceTypeOffset)); [22:32] WarheadsSE: return no such file? [22:32] WarheadsSE: oy.. [22:33] gr-eg has joined the channel [22:34] CiRlE has joined the channel [22:35] MatthewS has joined the channel [22:35] Nuck: Okay, now I need some help [22:35] Nuck: Formidable + S3? [22:35] Nuck: Is it possible? [22:35] Nuck: :/ [22:36] Nuck: Or, more generally, can I coerce Formidable to output a ReadableStream? [22:36] frabcus has joined the channel [22:38] joelesko_: anyone see this before? i get a flood of "1 multicall(s) failed: cpu 1" right after I start my script. It's hard-crashing the entire server. [22:38] djMax: I assume the wss protcol requires an HTTPS server? [22:38] bencc has joined the channel [22:39] CiRlE has joined the channel [22:40] jacobolus has joined the channel [22:41] colinclark has joined the channel [22:42] colinclark has joined the channel [22:42] Rushing: anyone know of a way to run "npm n" on windows? [22:43] Nohryb has joined the channel [22:44] langworthy_ has joined the channel [22:44] CiRlE has joined the channel [22:45] Xano has joined the channel [22:45] JTxt has left the channel [22:45] Nuck: NEvermind, looks like we've got our own thing >_> [22:46] nicholasf has joined the channel [22:47] jj0hns0n has joined the channel [22:48] seebees has left the channel [22:48] seebees has joined the channel [22:48] joshgillies has joined the channel [22:49] jhurliman has joined the channel [22:49] bencc has joined the channel [22:49] CiRlE has joined the channel [22:50] adamstantonvan has joined the channel [22:51] thalll_ has joined the channel [22:51] Leemp2 has joined the channel [22:51] piscisaureus__ has joined the channel [22:51] fastest963_ has joined the channel [22:52] mcluskydodallas has joined the channel [22:52] FireBomb has joined the channel [22:52] rwasiele_ has joined the channel [22:53] RobWC1 has joined the channel [22:53] issackelly_ has joined the channel [22:54] jocafa1 has joined the channel [22:54] bencc has joined the channel [22:54] bradleyg has joined the channel [22:54] EhevuTov has joined the channel [22:54] Wa has joined the channel [22:55] CiRlE has joined the channel [22:55] ryanrolds has joined the channel [22:55] ekryski has joined the channel [22:57] tomlion has joined the channel [22:58] diminoten: okay this is absolutely absurd [22:58] diminoten: I have a mongodb collection [22:59] diminoten: I want, from it, an array of results [22:59] diminoten: why can't I get this? [22:59] gtramontina has joined the channel [22:59] diminoten: it seems like there should be 1001 ways to do this but EVERY way I try ends with an empty array or something equally absurd [22:59] Kunda has joined the channel [23:00] CiRlE has joined the channel [23:00] jacobolus has joined the channel [23:00] eignerchris has joined the channel [23:01] dwhittle has joined the channel [23:02] prudhvi has joined the channel [23:02] kerang has joined the channel [23:02] tkaemming has joined the channel [23:03] lightcap has joined the channel [23:03] prudhvi: Hi, i am using nodejs with mongoose ODM. I was wondering how i could create self referential schemas?. Like say Build { previous: Build } etc. [23:03] insin: creationix: does nvm have to install the versions of node you want to use, or will it still work if you do it over the top of an existing node install? [23:04] insin: just about to try caolanm's Kanso 0.1.0 (congrats!) and saw the node about using 0.4.* [23:04] creationix: insin: it builds each node version with a unique PREFIX [23:04] creationix: you can have as many as you want installed concurrently [23:04] augustl: just installed npm on OS X with the .pkg. I installed a package with the -g flag. I can't require it with also npm linking it. Is that the way it's supposed to behave? [23:04] creationix: and nvm use only affects the current shell environment (different terminal tabs can be using different versions of node) [23:04] caolanm: insin: you *can* use it with node 0.6.x, but sometimes it won't exit after a command and you have to Ctrl-C it [23:05] CiRlE has joined the channel [23:05] tilgovi has joined the channel [23:05] tilgovi has joined the channel [23:05] creationix: augustl: -g installed modules are only requireable from -g installed executables [23:05] edwardw: 'npm ls' fails with a segfaulting. does anyone see this too? [23:05] insin: ah, I might live with that for now then - thanks (*2) [23:05] caolanm: insin: and if it asks for a password twice you're screwed ;) [23:05] insin: ! [23:05] edwardw: I use a newly install node 0.6.5 [23:05] caolanm: insin: this is the bug: https://github.com/joyent/node/issues/2257 [23:06] caolanm: insin: by screwed I mean the terminal might be unusable and you need to open a new one [23:06] caolanm: insin: just don't type your password in wrong ;) [23:06] johnnywengluu has joined the channel [23:07] bencc has joined the channel [23:07] Tuller has joined the channel [23:07] exoslpm has joined the channel [23:07] josh9: anyone is using node without webserver? (directly against http requests) [23:07] insin: noted! [23:08] chia has joined the channel [23:08] edwardw: does anyone see segfault by simply running npm as I do? [23:08] caolanm: insin: #kansojs if you have any questions not answered on http://kan.so [23:09] MatthewS has joined the channel [23:09] edwardw: I use node 0.6.5 btw [23:10] CiRlE has joined the channel [23:10] augustl: creationix: I see [23:10] tjholowaychuk: caolanm haha sweet domain! [23:10] caolanm: tjholowaychuk: thank you somalia! [23:13] ombinde has left the channel [23:14] ph^ has joined the channel [23:15] CiRlE has joined the channel [23:15] akihito_s has joined the channel [23:15] neilk_ has joined the channel [23:19] jgallen23: is the new cluster api the recommended way to run in production? [23:20] CiRlE has joined the channel [23:20] tjholowaychuk: jgallen23 if you're app is important at all yeah I would run with at least ~3 nodes [23:20] tjholowaychuk: if it's a blog or something internal meh doesn't matter [23:20] xeodox: has anyone used node-mysql here? [23:21] yenz has joined the channel [23:22] jgallen23: tjholowaychuk: is your cluster lib still in development or do you recommend to use the node-core one? [23:22] romanb has joined the channel [23:22] tjholowaychuk: we're using 0.4.x still in production [23:23] jgallen23: are there plans to re-write the plugins to use the node-core version? [23:23] bencc has joined the channel [23:24] bergie has joined the channel [23:24] illumina has joined the channel [23:25] CiRlE has joined the channel [23:25] tommyvyo has joined the channel [23:25] bencc has left the channel [23:25] tjholowaychuk: i have it done pretty much but i dont have time to finish right now [23:27] davidbanham has joined the channel [23:27] josh9: any recommendations for a node.js tutorial about website creation? i am not a js expert, btw. i found http://www.nodebeginner.org/ but it's not using express. should i follow it and later on try express? [23:27] tjholowaychuk: josh9 yeah definitely use node core first [23:27] tjholowaychuk: get a feel for things [23:28] josh9: tjholowaychuk: ok. and after i am done with it, try express? [23:28] tjholowaychuk: if you want to. use node first will give you a better perspective on what provides what [23:29] josh9: tjholowaychuk: ok. i'll give it a try. i found this as well - http://shapeshed.com/creating-a-basic-site-with-node-and-express/ but it's using express. [23:29] josh9: so maybe i'll save it for later. [23:29] josh9: (got ruby background, btw. so i am not a total web noob) [23:30] CiRlE has joined the channel [23:30] skm has joined the channel [23:31] langworthy has joined the channel [23:35] CiRlE has joined the channel [23:35] adamstantonvan has joined the channel [23:36] devaholic has joined the channel [23:36] micheil has joined the channel [23:37] Emmanuel` has joined the channel [23:37] lzskiss: issacs ping [23:38] isaacs: lzskiss: yo [23:38] isaacs: edwardw: that's a problem with your node build. [23:38] akihito_s has joined the channel [23:38] maqr has joined the channel [23:39] isaacs: edwardw: how'd you install it? no js program should be able to segfault node. [23:39] edwardw: I follow node wiki in github [23:39] edwardw: make && sudo make install [23:39] lzskiss: isaacs i would like to test the node v.0.6.5 and npm 1.1.0-alpha5 on winxp sp3 [23:39] edwardw: after checkout v0.6.5 tag [23:39] salva has joined the channel [23:40] raydeo has joined the channel [23:40] CiRlE has joined the channel [23:40] lzskiss: and gived back the prefix directory not found message what' happened? [23:40] edwardw: v0.4.12 tag works, though [23:41] lzskiss: the npm in the C:\Program Files\nodejs directory [23:41] isaacs: lzskiss: it's alpha-6 you wait [23:41] isaacs: *want [23:41] edwardw: so it's really wried [23:41] isaacs: edwardw: indeed [23:41] edwardw: ...weird [23:42] isaacs: edwardw: maybe try doing this: check out v0.4.12, do make uninstall; make distclean [23:42] illumina: Do people use Mongoose? [23:42] isaacs: edwardw: them check out 0.6.5, do ./configure && make && sudo make install [23:42] isaacs: edwardw: there are probably conflicting build artifacts somewhere. [23:42] edwardw: isaacs: I just did that. same error [23:43] edwardw: isaacs: I gonna try v0.6.4 [23:43] isaacs: lzskiss: can you paste the error output to gist or pastie or something [23:43] isaacs: ? [23:44] lzskiss: can i pull from the git? [23:44] lzskiss: or this is on the dev road?:) [23:44] Emmanuel has joined the channel [23:44] fzzzy has joined the channel [23:44] lzskiss: isaacs, ok i find it [23:44] lzskiss: thx the answer [23:45] CiRlE has joined the channel [23:46] isaacs: lzskiss: if you're using windows, you can get a zip file from http://npmjs.org/dist/ and then unpack it wherever the node.exe lives [23:46] grampajoe has joined the channel [23:46] isaacs: lzskiss: the easiest way, of course, is to install with the msi [23:46] shanebo: isaacs, what's your opinion of tamejs? [23:47] isaacs: shanebo: meh. [23:47] monokrome has joined the channel [23:47] shanebo: isaacs do you use flow control? [23:47] isaacs: a) I don't like anyone else's flow control library (this is the natural ape reaction.) b) compilation. [23:47] isaacs: shanebo: i use slide. i'm ok with async, but it has much more than i usually need. [23:48] isaacs: slide is basically 2 functions [23:48] isaacs: one to do a bunch of things in parallel, another to do a bunch of things in a series. it is very small. [23:49] shanebo: isaacs I can't find the repo but it sounds nice [23:50] CiRlE has joined the channel [23:50] shanebo: isaacs oh it's yours haha [23:50] shanebo: https://github.com/isaacs/slide-flow-control ? [23:50] isaacs: shanebo: yep :) [23:50] isaacs: shanebo: but i don't expect you to like it [23:51] recycle has joined the channel [23:51] bfishe200 has joined the channel [23:52] bfishe200: hey [23:52] insin: ACTION chuckles [23:52] diogogmt has joined the channel [23:52] bfishe200: so i am trying to render [23:52] insin: "First Priority: A Really Cool Name" [23:52] bfishe200: res.render [23:52] bfishe200: a jade form [23:52] bfishe200: that is called via ajax [23:52] tjholowaychuk: bfishe200 #express might be more help [23:52] bfishe200: why [23:53] WarheadsSE: because they specialize in express... [23:53] fairwinds has joined the channel [23:53] bfishe200: res.redner is not express [23:53] tjholowaychuk: yes it is [23:53] tjholowaychuk: :p [23:53] bfishe200: let me just explain to u [23:54] bfishe200: im calling a page via ajax [23:54] bfishe200: and that page is rendered via jade [23:54] bfishe200: and its a recaptcha [23:54] bfishe200: that uses google [23:54] bfishe200: exccept the recaptcha doesnt load on the aja [23:54] bfishe200: but it loads when not ajaxed in [23:54] bfishe200: WHY [23:54] WarheadsSE: bfishe200 [23:54] WarheadsSE: we are not [23:54] WarheadsSE: google [23:54] bfishe200: are u a computer programmer [23:55] lzskiss: isaacs yes the msi version working good [23:55] CiRlE has joined the channel [23:55] recycle has joined the channel [23:55] WarheadsSE: I am, but I am not in control of their servers, nor am I an API specialist. [23:55] WarheadsSE: thats like asking if a nuclear scientest understands biology [23:55] WarheadsSE: they're both scientists.. [23:56] PalmerEk_ has joined the channel [23:56] bfishe200: what do u specialize in then [23:56] isaacs: bfishe200: you'd get better results just sharing a link to some code. [23:56] isaacs: bfishe200: describing code in english is very painful for everyone involved. [23:57] Draggor: pastie.org is a nice one [23:57] tjholowaychuk: nooo [23:57] tjholowaychuk: pastie.org [23:57] tjholowaychuk: is so ugly [23:57] jacobolus has joined the channel [23:57] tjholowaychuk: haha gist.github.com is a good one [23:57] bfishe200: its a [23:57] baudehlo1 has joined the channel [23:57] bfishe200: conceptual problem [23:57] bfishe200: not a syntatical one [23:57] mmalecki: no it's not. [23:57] mmalecki: it's a problem with your code. [23:57] WarheadsSE: and you can [23:57] WarheadsSE: use a whole senetence [23:57] WarheadsSE: please [23:58] sir_tyrion has joined the channel [23:58] criswell has joined the channel [23:59] sir_tyrion: I am using this wrapper for XMLHttpRequests: https://github.com/driverdan/node-XMLHttpRequest [23:59] sir_tyrion: When I make a post xmlhttprequest I always get the same error: