[00:00] mrb_bk has joined the channel [00:02] tk has joined the channel [00:03] dgathright has joined the channel [00:03] piscisaureus__ has joined the channel [00:03] argami_ has joined the channel [00:05] argami__ has joined the channel [00:05] rwaldron has joined the channel [00:05] sriley has joined the channel [00:05] daleharvey has joined the channel [00:06] mintbridge has joined the channel [00:06] argami has joined the channel [00:07] fmeyer has joined the channel [00:09] Jaylee_ has joined the channel [00:09] willwhite has joined the channel [00:09] sandfox has joined the channel [00:09] JasonSmith has joined the channel [00:09] Geminizer has joined the channel [00:10] owenb has joined the channel [00:10] argami_ has joined the channel [00:10] JonMarkGo has joined the channel [00:12] michaelhartau has joined the channel [00:13] cmwelsh has joined the channel [00:13] stonecobra has joined the channel [00:14] _ralph has joined the channel [00:14] argami has joined the channel [00:17] mikeal has joined the channel [00:19] argami_ has joined the channel [00:20] argami has joined the channel [00:21] nicholasf has joined the channel [00:22] JSONB has joined the channel [00:22] rtgibbons has joined the channel [00:22] ramitos has joined the channel [00:24] Authoritarianism has joined the channel [00:25] sammmy: Is there a way to have npm pull my project from github to update my package? [00:28] Authoritarianism has joined the channel [00:31] gtodd has joined the channel [00:31] st_luke has joined the channel [00:32] gtodd: anyone got a physical book/epub type publication (e.g. oreilly animal of some kind) for Node.js ? ... something that assumes minimal javascript knowledge and builds on it [00:32] gtodd: keyword = minimal [00:33] gtodd: I like to read above my level and then fill in the blanks with research :) [00:33] euoia has joined the channel [00:33] everton has joined the channel [00:35] WarheadsSE: google "the node book" [00:36] timoxley has joined the channel [00:37] michaelhartau has joined the channel [00:37] gkatsev: so, anyone knows why the repl module isn't documented at all? [00:37] localhost has joined the channel [00:38] Brandon_R: i need help [00:38] gkatsev: Brandon_R: the number to call is 911 [00:38] gkatsev: http://www.instantrimshot.com [00:38] sammmy: Okay. "Finished" the README for my module https://github.com/samholmes/yarn [00:38] sammmy: Done with that for the day. [00:39] whaley has joined the channel [00:39] agnat_ has joined the channel [00:40] a_suenami has joined the channel [00:43] laner has joined the channel [00:44] ramitos has joined the channel [00:45] r04r has joined the channel [00:46] criswell has joined the channel [00:47] Joeysomo has joined the channel [00:48] Druid_ has joined the channel [00:48] rlidwka: gkatsev: http://nodejs.org/docs/latest/api/repl.html [00:48] rlidwka: it is documented [00:49] brianseeders has joined the channel [00:50] r04r has joined the channel [00:50] r04r has joined the channel [00:50] gkatsev: rlidwka: the only thing that is documented is the repl.start command. There's nothing about the object that is returned from that command. [00:51] fmeyer has joined the channel [00:51] jamesd has joined the channel [00:53] igl has joined the channel [00:53] Knowledge has joined the channel [00:55] k1ttty has joined the channel [00:55] rlidwka: well... i dont know. I used to read code, not docs :) [00:55] r04r has joined the channel [00:55] dc`_ has joined the channel [00:56] infynyxx has joined the channel [00:56] gkatsev: heh [00:56] madtimber has joined the channel [00:57] alejandro[away]: sammmy: so what's the deal with yarn? :P [00:57] TheFuzzball has joined the channel [00:57] uchuff has joined the channel [00:58] dylang has joined the channel [00:58] uchuff has joined the channel [00:59] BillyBreen has joined the channel [00:59] argami has joined the channel [00:59] gkatsev: rlidwka: I'll write something up and make a pull request :) [00:59] r04r has joined the channel [00:59] r04r has joined the channel [01:00] argami has joined the channel [01:01] willwhite has joined the channel [01:01] sreeix has joined the channel [01:02] sj26 has joined the channel [01:02] shinuza has joined the channel [01:04] r04r has joined the channel [01:04] wilmoore has joined the channel [01:05] argami_ has joined the channel [01:07] subbyyy has joined the channel [01:09] r04r has joined the channel [01:10] argami has joined the channel [01:10] mikeal has joined the channel [01:11] Crowb4r has joined the channel [01:12] drGrove has joined the channel [01:13] sammmy: alejandromg: Well, what do you want to know? [01:14] r04r has joined the channel [01:16] boltR has joined the channel [01:18] tomh has joined the channel [01:18] tomh has joined the channel [01:18] tomh has joined the channel [01:18] Brandon_R has joined the channel [01:19] r04r has joined the channel [01:19] r04r has joined the channel [01:19] evilnate: 1 [01:20] cconstantine_ has joined the channel [01:22] argami_ has joined the channel [01:23] Brandon_R: hi guys [01:24] thinkt4nk_ has joined the channel [01:24] r04r has joined the channel [01:25] evilnate has joined the channel [01:26] evilnate: node [01:28] argami has joined the channel [01:29] r04r has joined the channel [01:30] arduix has joined the channel [01:30] astropirate has joined the channel [01:31] evilnate has joined the channel [01:31] caolanm has joined the channel [01:32] evilnate has joined the channel [01:32] onar_ has joined the channel [01:33] coderarity has joined the channel [01:34] evilnate has joined the channel [01:34] r04r has joined the channel [01:36] abraxas has joined the channel [01:37] evilnate: 2 [01:38] evilnate has joined the channel [01:39] r04r has joined the channel [01:40] codepal has joined the channel [01:43] bhelx has joined the channel [01:44] r04r has joined the channel [01:45] brainss has joined the channel [01:46] evilnate has joined the channel [01:47] evilnate has joined the channel [01:47] evilnate has joined the channel [01:47] dekub has joined the channel [01:48] evilnate has joined the channel [01:49] evilnate has joined the channel [01:49] r04r has joined the channel [01:50] joshontheweb has joined the channel [01:51] Brandon_R: hi [01:53] evilnate has joined the channel [01:53] nicholas_ has joined the channel [01:53] dc` has joined the channel [01:54] r04r has joined the channel [01:55] evilnate has joined the channel [01:56] yhpark has joined the channel [01:57] eveiga has joined the channel [01:57] EhevuTov has joined the channel [01:58] nichola__ has joined the channel [01:58] evilnate has joined the channel [01:58] ako has joined the channel [01:58] eveiga: Hello! Can I have a a file with a Class that inherits from the eventEmmiter module, that emits a custom event that is being listened by another class in another file? [01:59] r04r has joined the channel [01:59] patcito has joined the channel [02:01] Brandon_R: try it and see [02:01] evilnate: eveiga: i don't see why not [02:01] eveiga: I'm trying, I have a console log in the callback of the event listener that is not being fired [02:01] rurufufuss has joined the channel [02:02] codepal has joined the channel [02:02] conner has joined the channel [02:03] eveiga: suppose I have 3 files, a.js, b.js and c.js: a.js has the createServer and requires b.js. For every incoming request it calls a function in b.js! Than that same function emits a custom event that is being listened in c.js [02:03] mikeal has joined the channel [02:03] r04r has joined the channel [02:03] syntaxiko has joined the channel [02:03] kvda has joined the channel [02:04] evilnate has joined the channel [02:04] eveiga: All is fine, but somehow the on the listener of c.js is being fired, so I suppose I'm not catching the emmited event [02:04] kvda: Anyone used ender in production (ender.no.de)? [02:05] eveiga: evilnate: All is fine, but somehow the callback of the listener of c.js is not being fired, so I suppose I'm not catching the emmited event [02:05] evilnate: eveiga: gist some code [02:05] eveiga: ok [02:05] eveiga: just a sec [02:07] argami has joined the channel [02:08] r04r has joined the channel [02:09] Authoritarianism has joined the channel [02:10] argami has joined the channel [02:11] evilnate has joined the channel [02:11] eveiga: evilnate: https://gist.github.com/2202304 [02:12] eveiga: evilnate: The problem is at the bottom on the cache.js, I can't see that console.log("DATA") while making a request.. [02:13] t0mmyvyo has joined the channel [02:13] argami_ has joined the channel [02:15] eveiga: Can anybody help me with this one? https://gist.github.com/2202304 [02:15] Brandon_R: hey guys [02:15] ditesh|cassini has joined the channel [02:15] eveiga: I can't get the console.log on cache.hs [02:15] eveiga: working [02:15] Brandon_R: does suing protobug for messages increase latency in games by a noticable amount? [02:15] r04r has joined the channel [02:15] r04r has joined the channel [02:18] piscisaureus_ has joined the channel [02:19] panchot has joined the channel [02:19] thinkt4nk has joined the channel [02:21] r04r has joined the channel [02:23] timoxley: Brandon_R benchmark it? What do you want protobuf for? [02:23] Brandon_R: to transport updates [02:23] Brandon_R: like coordinates [02:23] panchot_ has joined the channel [02:23] nicholas_ has joined the channel [02:23] Brandon_R: text messages [02:23] Brandon_R: etc [02:23] timoxley: Brandon_R between what and what [02:23] Brandon_R: protobuf and a custom protocol [02:24] Brandon_R: like xcoord=p|ycoord=o|zcoord=a etc [02:24] timoxley: Brandon_R no, I mean between what services? [02:25] Brandon_R: what do you mean service? [02:25] r04r has joined the channel [02:27] timoxley: Brandon_R I assume you're trying to get interoperability between two services, eg, a master game state server and a node cluster or something [02:27] Brandon_R: nah, just between a client and a server [02:27] timoxley: Brandon_R what is the client [02:28] Brandon_R: the game that the user plays [02:28] panchot has joined the channel [02:28] Brandon_R: and the server takes the packets from the users and sends it to all the other connected players [02:28] timoxley: Brandon_R is it a browser? a directx game? is it on a remote machine? same machine? [02:29] Brandon_R: box2dc++ [02:29] timoxley: Brandon_R ok, understood. [02:30] Brandon_R: i doubt this game would need stuff like clusters and nodes etc. one machine could probably handle my expected traffic [02:30] r04r has joined the channel [02:30] timoxley: Brandon_R understood. I was just trying to figure out why you wanted protocol buffers instead of json over http/sockets. [02:30] nateps has joined the channel [02:31] Brandon_R: no http here :P [02:31] Brandon_R: but i am using libuv [02:31] Brandon_R: which is why i asked in the node irc :P [02:31] argami has joined the channel [02:33] argami has joined the channel [02:33] t0mmyvyo has joined the channel [02:35] skm has joined the channel [02:36] dc`_ has joined the channel [02:36] r04r has joined the channel [02:39] necromancer has joined the channel [02:41] r04r has joined the channel [02:42] polardude has joined the channel [02:43] zackattack has joined the channel [02:44] maletor has joined the channel [02:44] dc`_ has joined the channel [02:44] kriskowal has joined the channel [02:45] khrome has joined the channel [02:46] r04r has joined the channel [02:50] cody-- has joined the channel [02:50] willwhite has joined the channel [02:51] r04r has joined the channel [02:55] argami has joined the channel [02:56] jryans has joined the channel [02:56] argami has joined the channel [02:56] w_chan has joined the channel [02:56] brianleroux has joined the channel [02:56] Harzilein has joined the channel [02:56] Harzilein: hi [02:57] incon has joined the channel [02:57] r04r has joined the channel [02:57] denom has joined the channel [02:57] willwhite has joined the channel [02:57] denom: is there a nice way to step outside my system's package manager to install node? something like RVM for node? [02:58] Harzilein: do you know of a good website with examples for accumulating the results of a number of asynchronous calls and calling a callback when all are finished? [02:58] jnbek has joined the channel [02:59] polardude: Anyone can help me with mongoose-auth? [02:59] Harzilein: something like fs.stat for an array of paths maybe [03:00] panchot: tell me your issue polardude [03:00] w_chan has left the channel [03:00] Brandon_R: hi [03:01] argami_ has joined the channel [03:01] Harzilein: denom: i just made a guess at the name "nodebrew" and it looks like such a thing exists. don't know any specifics of course. [03:02] r04r has joined the channel [03:02] UnCO has joined the channel [03:02] dekub has left the channel [03:02] argami has joined the channel [03:03] khrome has joined the channel [03:03] denom: Harzilein, I'm wondering why the latest version that Debian has is 4.12-3 ? [03:03] timoxley has joined the channel [03:03] denom: is the latest version of node greater than 6? [03:04] denom: do people still use node 4.x? [03:04] khrome has joined the channel [03:04] Harzilein: denom: unstable has 0.6.12 [03:04] timoxley: denom most people have moved to 0.6.x AFAIK [03:05] timoxley: Harzilein 0.6.13 [03:05] timoxley: and it's stable. [03:05] Harzilein: timoxley: you should read the question before critizising my answer [03:05] timoxley: Harzilein actually 0.6.14 [03:05] Harzilein: timoxley: you should read the question before critizising my answer [03:06] polardude: panchot: I want to access my user object in my views to retrieve additional params [03:06] timoxley: Harzilein what. [03:06] ybit: i've got a paths issue [03:06] ybit: Error: Cannot find module '/user/local/bin/node.io' [03:06] Lorentz: there's nothing wrong with deploying latest node on debian stable, right [03:06] polardude: panchot: that I set in ExtraParams [03:06] ybit: the test.js file only contains nodeio = require("node.io") [03:06] Harzilein: timoxley: he was asking about node versions in debian. debian stable has 0.4.12, debian unstable has 0.6.12 [03:06] polardude: panchot: only the id can be retrieved [03:07] ybit: i even tried nodio = require("/usr/local/bin/node.io" [03:07] timoxley: Harzilein sorry, I may have missed first line of question. [03:07] timoxley: ybit is it really looking in /user not /usr [03:07] ybit: i installed cloud9 from npm and i get a similar error when i try to launch it [03:07] r04r has joined the channel [03:07] ybit: ah [03:07] ybit: i meant /usr [03:07] Harzilein: anyone has some pointers for my question? [03:07] r04r has joined the channel [03:07] ybit: yes, it's looking in /usr [03:07] panchot: polardude: you can access your user data with the "user" variable [03:08] dnolen has joined the channel [03:08] ybit: wait, i typed user o.O [03:08] ybit: Error: require.paths is removed. Use node_modules folders, or the NODE_PATH environment variable instead. [03:08] pid has joined the channel [03:08] ybit: so what about that error from cloud9 when i try launching it? [03:08] warz has joined the channel [03:08] warz has joined the channel [03:08] dnolen_ has joined the channel [03:08] jacobolus has joined the channel [03:08] ybit: i did a npm instal -g cloud9 [03:08] Harzilein: i might extend my question as follows: [03:08] ybit: and that's the error received when attempting to launch it [03:09] Harzilein: do you know of a good website with examples _or a good book_ that covers accumulating the results of a number of asynchronous calls and calling a callback when all are finished? [03:09] polardude: panchot: namely, "everyauth.user.name.first"? [03:09] ybit: timoxley: thanks for catching that clumsy /user/ error :) [03:09] Harzilein: so far i haven't found anything for what should be a common idiom [03:09] astropirate: Harzilein, Async.js is your friend [03:09] panchot: polardude: You can user everyauth.user [03:10] panchot: polardude: But there is an alias called "user" [03:10] polardude: panchot: "user.name.first"? [03:10] panchot: polardude: So you can use user.name.first [03:10] panchot: polardude: yep [03:10] Harzilein: astropirate: i'll have a look, thanks. [03:10] polardude: panchot: let me pastebin something [03:10] polardude: g [03:11] timoxley: Harzilein +1 to astropirate's suggestion. something like async's .map() or .parallel() will cure what ails you [03:12] panchot: polardude: Shoot me [03:13] r04r has joined the channel [03:15] ybit: i shouldn't have to type in foobar = require('usr/local/bin/foobar'); [03:16] ybit: in my path i have $PATH:/usr/local/bin [03:16] ybit: i then sourced the ~/.bashrc file and i get the same 'cannot file node.io' error [03:17] polardude: panchot: http://pastie.org/3669559 [03:18] r04r has joined the channel [03:18] ybit: there was some installation guide on joyent's github page that followed sometime last year [03:18] ybit: wish i could find it [03:18] panchot: polardude: check your error message [03:18] polardude: panchot: "h2 #{user.name.first} - #{user.agent_id}" <-- Even that doesn't work [03:18] panchot: polardude: - if (!everyauth.loggedIn) [03:19] panchot: replace [03:19] panchot: polardude: replace - if (!everyauth.loggedIn) with - if (everyauth.loggedIn) [03:19] ybit: https://gist.github.com/579814 [03:19] ybit: ah [03:20] mikeal has joined the channel [03:20] polardude: panchot: Thanks! Damn… That took a while for me to figure out [03:20] kejun has joined the channel [03:20] automata has joined the channel [03:20] panchot: polardude: Enjoy! [03:21] polardude: panchot: any recommendations on understanding the myriad structure of your typical module / callbacks? [03:21] sh1mmer has joined the channel [03:21] polardude: panchot: I'm finding myself easily lost when dealing with such structure [03:22] totallymike has joined the channel [03:22] panchot: polardude: I think i dont understand you (my main language is spanish, but try asking me again) [03:23] r04r has joined the channel [03:23] polardude: panchot: any recommendations on understanding structures with an average module / callbacks? [03:24] bradleymeck has joined the channel [03:24] kejun has joined the channel [03:25] benvie has joined the channel [03:26] panchot: polardude: mmm, Maybe reading some code from interesting libraries from people like https://github.com/guille or https://github.com/visionmedia [03:26] benvie has joined the channel [03:27] argami_ has joined the channel [03:28] polardude: panchot: ahh, thanks [03:29] r04r has joined the channel [03:30] joshsmith has joined the channel [03:30] argami has joined the channel [03:32] indutny has joined the channel [03:35] r04r has joined the channel [03:38] hdon- has joined the channel [03:38] petschm_ has joined the channel [03:38] ybit: the answer to my cloud9 issue: https://github.com/ajaxorg/cloud9/issues/281 :: they support anolder version of node [03:38] satyr has joined the channel [03:39] spion has joined the channel [03:39] Harzilein: dima: huh? wieso dank schrat? [03:39] Harzilein: ewin [03:40] r04r has joined the channel [03:45] r04r has joined the channel [03:46] average_drifter has joined the channel [03:47] Stoobles has joined the channel [03:49] dshaw_ has joined the channel [03:49] jaxzin has joined the channel [03:50] nicholas_ has joined the channel [03:51] joshsmith has joined the channel [03:51] r04r has joined the channel [03:53] xananax has joined the channel [03:53] alejandromg has joined the channel [03:53] dr0id has joined the channel [03:55] xananax: I am trying to use fs.watchFile but the event is firing twice each time I save a file [03:55] xananax: Is there a good simple example of how to watch a file and act upon changes? [03:55] astropirate: xananax, try saving it with another editor [03:55] joshsmith has joined the channel [03:57] r04r has joined the channel [03:57] uc has joined the channel [03:57] r04r has joined the channel [03:58] xananax: astropirate, yup, that worked. I was using vim [03:58] xananax: with gedit the event fires once [03:58] xananax: why is that? [03:59] meandi14 has joined the channel [04:01] iaincarsberg has joined the channel [04:01] xananax: hum if I check for file.nlink === 0 I get no problem [04:01] xananax: seems vim deletes the file before saving it? [04:02] Stoobles: Huh. That's interesting [04:02] astropirate: freaky [04:02] r04r has joined the channel [04:02] r04r has joined the channel [04:03] xananax: weird stuff...Anyway it's fixed for now, thanks! [04:03] astropirate: yw [04:05] Stoobles: What's a good way of serving static content such as an external style sheet off of a node.js server I'm prototyping with? [04:06] xananax: Stoobles, there is plenty of static file servers in the nodes modules [04:06] xananax: express comes with one and I think connect has one too [04:06] Stoobles: Alright, I'll have to take a look [04:07] r04r has joined the channel [04:10] orlandovftw has joined the channel [04:12] orlandovftw has joined the channel [04:12] orlandovftw has joined the channel [04:12] r04r has joined the channel [04:12] r04r has joined the channel [04:13] Lemminkainen has joined the channel [04:13] recur has joined the channel [04:15] admc has joined the channel [04:16] Knowledge has joined the channel [04:17] r04r has joined the channel [04:18] jgornick has joined the channel [04:22] jesusabdullah: express and connect use the same one [04:22] jesusabdullah: and they work reasonably well [04:22] tlack_ has joined the channel [04:23] jerkchicken has joined the channel [04:23] r04r has joined the channel [04:24] josephw has joined the channel [04:26] skm has joined the channel [04:26] ovaillancourt has joined the channel [04:28] r04r has joined the channel [04:33] r04r has joined the channel [04:34] njain has joined the channel [04:35] haandol has joined the channel [04:35] indy3 has joined the channel [04:37] Stoobles: @jesusabdullah: Same what? [04:38] r04r has joined the channel [04:38] hdon- has joined the channel [04:41] evilnate has joined the channel [04:41] jeffhorton has joined the channel [04:42] rwaldron has joined the channel [04:42] r04r has joined the channel [04:42] r04r has joined the channel [04:48] r04r has joined the channel [04:50] nsolsen has joined the channel [04:50] yawNO has joined the channel [04:52] argami has joined the channel [04:53] r04r has joined the channel [04:53] r04r has joined the channel [04:55] sreeix has joined the channel [04:57] nateps has joined the channel [04:58] r04r has joined the channel [04:58] dshaw_ has joined the channel [04:59] astropirate has joined the channel [04:59] magn3ts has joined the channel [05:04] r04r has joined the channel [05:04] dragansah has joined the channel [05:05] gavin_huang has joined the channel [05:10] fangel has joined the channel [05:10] r04r has joined the channel [05:10] jploh has joined the channel [05:11] caolanm has joined the channel [05:14] satyr has joined the channel [05:15] r04r has joined the channel [05:15] jploh: I'm exploring Node.js and interested to try out NoSQL too. Which one should I try first, MongoDB or CouchDB? [05:17] astropirate: jploh, flip a coin [05:17] astropirate: but if you are really poor and can't afford coins, go with mongodb [05:19] alogvinenko has joined the channel [05:19] alogvinenko has left the channel [05:21] r04r has joined the channel [05:21] r04r has joined the channel [05:23] devongovett has joined the channel [05:25] Morkel has joined the channel [05:25] methoddk: jploh mongo. stupidly easy to learn [05:26] methoddk: all the basics can be picked up in an hour or two, its like handling JSON [05:26] jploh: Thanks astropirate and methoddk! [05:27] jploh: Oh almost forgot my follow up question, which driver works best? node-mongodb-native? [05:27] skm has joined the channel [05:27] enjalot has joined the channel [05:27] r04r has joined the channel [05:27] r04r has joined the channel [05:28] jspiros has joined the channel [05:29] sheenobu has joined the channel [05:30] ewalker has joined the channel [05:32] MerlinDMC has joined the channel [05:32] BombStrike: jploh, node-mongodb-native works well. if you want though you can also check mongoose, it's from the same guys as socket.io and provides a nice abstraction: http://mongoosejs.com/ [05:33] wookiehangover: if you're using mongo there's no reason to not use mongoose, IMO [05:33] Timmy has joined the channel [05:33] r04r has joined the channel [05:33] mattgifford has joined the channel [05:35] arduix has joined the channel [05:37] jploh: Thanks for the replies! Awesome community! [05:38] r04r has joined the channel [05:38] zerokillex has joined the channel [05:40] Qalqi has joined the channel [05:44] yaymukund has joined the channel [05:45] Typo has joined the channel [05:45] r04r has joined the channel [05:45] r04r has joined the channel [05:46] tornad has joined the channel [05:49] Emmanuel` has joined the channel [05:50] mandric has joined the channel [05:50] r04r has joined the channel [05:53] graeme_f has joined the channel [05:53] Chel has joined the channel [05:54] boltR has joined the channel [05:54] Chel has joined the channel [05:54] r04r has joined the channel [05:56] yawNO has joined the channel [05:56] confoocious has joined the channel [05:56] yawNO: hello [06:01] yawNO has joined the channel [06:02] jryans has joined the channel [06:03] r04r has joined the channel [06:03] oldsplice has joined the channel [06:04] fangel has joined the channel [06:06] hellp has joined the channel [06:06] Qalqi has joined the channel [06:07] pvankouteren has joined the channel [06:10] r04r has joined the channel [06:10] r04r has joined the channel [06:10] robm_ has joined the channel [06:10] evilnate has joined the channel [06:11] robm has joined the channel [06:15] r04r has joined the channel [06:19] evilnate has joined the channel [06:19] oldsplice: Is this channel dead or what? [06:19] Gekz: yes. [06:19] Gekz: go home. [06:20] lzskiss has joined the channel [06:20] evilnate: harsh [06:20] oldsplice: evilnate: He's just playin' [06:20] oldsplice: anyone working on a github project? [06:20] evilnate: :P [06:20] oldsplice: :< [06:21] oldsplice: :| [06:21] oldsplice: :> [06:21] evilnate: :S [06:21] oldsplice: :o [06:22] r04r has joined the channel [06:26] r04r has joined the channel [06:27] evilnate: :S [06:27] sinclair has joined the channel [06:27] TheAlphaNerd: ero evilnate [06:28] gregmoreno has joined the channel [06:28] satyr has joined the channel [06:30] garrensm_ has joined the channel [06:32] zdk has joined the channel [06:32] r04r has joined the channel [06:33] fangel has joined the channel [06:33] WarheadsSE has joined the channel [06:33] neoesque has joined the channel [06:34] sinclair: anyone know if there is a JavaScript interpreter for Python [06:34] sinclair: written 100% in pure python [06:35] evilnate: sinclair: not that i know of [06:35] Octayn: I know that there isn't. [06:35] evilnate: but i know that Python itself has been compiled to JavaScript [06:36] Swaagie has joined the channel [06:36] sinclair: i really need the ability to execute JavaScript from Python [06:36] TooTallNate: http://syntensity.com/static/python.html [06:37] Octayn: sinclair: spawn a child process and pipe in stuff? [06:37] sinclair: yeah [06:37] Octayn: There's also python-spidermonkey [06:38] guidocalvano has joined the channel [06:38] sinclair: it needs to be 100% python [06:38] sinclair: python spidermonkey has native C modules [06:38] Octayn: Why such an arbitrary restriction? [06:38] r04r has joined the channel [06:38] evilnate: sinclair: what you're looking for hasn't been written [06:38] sinclair: AppEngine [06:39] neshaug has joined the channel [06:39] BombStrike: there is Rhino from Mozilla but that's Java, outside of it most if not all implementations are C/ObjC/C++ [06:40] ph^ has joined the channel [06:41] sinclair: yeah, thought about biting the bullet and going Java [06:41] sinclair: but not really keen [06:41] TheAlphaNerd: sinclair: you could use osc [06:41] TheAlphaNerd: to send the data between the two [06:41] sinclair: osc? [06:41] TheAlphaNerd: open sound control [06:41] TheAlphaNerd: udp messages basically [06:42] sinclair: why would i do that? [06:42] russfrank has joined the channel [06:42] cjheath has joined the channel [06:42] tornad has joined the channel [06:42] sinclair: i can pass data between the two languages with JSON [06:42] Octayn: ... [06:42] TheAlphaNerd: maybe I misunderstood what you wanted to do [06:42] Octayn: But you can't pass javascript to be executed [06:42] TheAlphaNerd: do you want to execute multiple scripts? [06:42] TheAlphaNerd: or could you have node running as a js serer [06:43] BombStrike: if you are very courageous, you could use PLY (Pyton Lex-Yacc) and write your own interpreter :D [06:43] sinclair: i want to target appengine [06:43] sinclair: yeah, not really interested in writing my own interpreter, far too much work [06:43] Octayn: TheAlphaNerd: OSC looks like it has a pretty narrow domain. Wouldn't just http or zeromq be better suited? [06:44] Paul__ has joined the channel [06:44] TheAlphaNerd: Octayn: with something like osc you are sending control messages mostly [06:44] r04r has joined the channel [06:44] TheAlphaNerd: low latency with udp [06:44] sinclair: there is not need [06:44] TheAlphaNerd: as it sounds [06:44] sinclair: i need logic, not data [06:45] TheAlphaNerd: what are you working on? [06:45] sinclair: that's the thing about Python, it cannot be sandboxed (but it can be dynamically loaded in) [06:45] Octayn: Python sure can be sandboxed, what are you talking about. [06:45] sinclair: Octayn: how can i run python script with minimum trust? [06:46] sinclair: from Python [06:46] hipsterslapfight has joined the channel [06:46] Octayn: sinclair: Spawn a child process and sandbox the syscalls with ptrace. [06:46] sinclair: [domain [full trust]] -> loads -> [domain[minimum trust]] [06:46] owen1: i have a variable, foo. how to add foo to a class of a tag in jade? td.{foo } doesn't work. [06:46] sinclair: Octayn: oh really? [06:47] Renegade001 has joined the channel [06:47] BombStrike: I think I saw some sandboxing library popout recently for python, let me see if I can find it again [06:47] TheAlphaNerd: and do it with a user with limited system access for good measure :P [06:47] timoxley has joined the channel [06:48] sinclair: that's what id be after, noting that on AppEngine, i need to restrict access to the AppEngine datastore [06:48] sinclair: probably limit it to read [06:48] BombStrike: https://github.com/haypo/pysandbox < there you go [06:49] sinclair: thanks, ill check it out [06:49] AdamGoodrich has joined the channel [06:50] dobber has joined the channel [06:50] Octayn: There's also exocet, but I don [06:50] Octayn: 't think dash has developed it for a year [06:51] r04r has joined the channel [06:51] groom has joined the channel [06:52] mikedeboer has joined the channel [06:53] sinclair: this channel is very helpful [06:53] simenbrekken has joined the channel [06:54] dragansah has joined the channel [06:54] Joeysomo has joined the channel [06:58] Blkt` has joined the channel [06:59] Authoritarianism has joined the channel [06:59] r04r has joined the channel [07:02] gekko_ has joined the channel [07:04] r04r has joined the channel [07:04] r04r has joined the channel [07:08] niloy has joined the channel [07:08] `3rdEden has joined the channel [07:09] mikeal has joined the channel [07:09] chovy has joined the channel [07:09] trivol has joined the channel [07:09] r04r has joined the channel [07:10] ablomen has joined the channel [07:11] arvidkahl has joined the channel [07:12] limmy has joined the channel [07:14] Fabryz has joined the channel [07:14] r04r has joined the channel [07:16] SamuraiJack has joined the channel [07:17] krnl has joined the channel [07:17] krnl: hi, i need some persistent keyvalue storage in my app without the need of external app like redis or sthng like this. what do you recommend? [07:18] fmeyer has joined the channel [07:19] oal has joined the channel [07:19] r04r has joined the channel [07:19] TooTallNate: krnl: maybe try Kyoto Cabinet [07:19] TooTallNate: https://github.com/weaver/node-kyoto [07:20] krnl: thnx [07:20] MerlinDMC: or just redis without external redis ;) https://github.com/visionmedia/nedis [07:20] benvie: what in theory stops ptr.js from being totally virtualize [07:20] rio{ has joined the channel [07:21] Doikor: or just use a array with objects that have 2 fields (key and a value) [07:21] orkz has joined the channel [07:23] rahul has joined the channel [07:23] cha0s has joined the channel [07:23] rahul: hey is anyone here ? [07:23] benjixx has joined the channel [07:23] rahul: when i post data to my node.js program [07:23] rahul: the post data gets truncated [07:24] rahul: is there any way to resolve this ? [07:24] kvda has joined the channel [07:24] r04r has joined the channel [07:24] r04r has joined the channel [07:25] krnl: i'm creating a writeStream and write continuously to it. from an other process i unlink the file, but in the writing process nothing happens, it writes to it as usual, however the file doesnt exists. is there a way to get notified with an event if the file is removed? (without watch()) ? [07:25] Authoritarianism has joined the channel [07:25] AD7six has joined the channel [07:26] ronbas has joined the channel [07:26] erujolc has joined the channel [07:26] [AD]Turbo has joined the channel [07:26] [AD]Turbo: hi there [07:28] __doc__ has joined the channel [07:28] joaojeronimo has joined the channel [07:29] r04r has joined the channel [07:29] markwubben has joined the channel [07:30] djcoin has joined the channel [07:30] ditesh|cassini has joined the channel [07:30] babab00m has joined the channel [07:30] tisba has joined the channel [07:30] dragansah has joined the channel [07:31] krnl` has joined the channel [07:31] jacobolus has joined the channel [07:31] tisba has joined the channel [07:34] krnl`: is there a way to tell npm to tell gcc to use a user specific include path? [07:35] michaelhartau has joined the channel [07:36] r04r has joined the channel [07:36] Authoritarianism has joined the channel [07:38] whitman has joined the channel [07:41] r04r has joined the channel [07:42] mikeal has joined the channel [07:43] tylerstalder has joined the channel [07:47] salva has joined the channel [07:47] mikeal has joined the channel [07:48] r04r has joined the channel [07:48] guidocalvano has joined the channel [07:51] flou has joined the channel [07:52] Authoritarianism has joined the channel [07:53] r04r has joined the channel [07:55] jomoho has joined the channel [07:59] ccare_ has joined the channel [08:00] r04r has joined the channel [08:02] mikedeboer has joined the channel [08:03] SiGe has joined the channel [08:03] Authoritarianism has joined the channel [08:04] Stoobles has joined the channel [08:04] hipsterslapfight has joined the channel [08:04] booyaa: krnl`: any particular reason you don't want to use watch? [08:05] klaustsen has joined the channel [08:05] r04r has joined the channel [08:06] joshontheweb has joined the channel [08:06] antdillon has joined the channel [08:07] herbySk has joined the channel [08:08] pickelsss has joined the channel [08:08] arduix has joined the channel [08:11] r04r has joined the channel [08:11] r04r has joined the channel [08:12] yawNO has joined the channel [08:12] graeme_f has joined the channel [08:12] _olouv_ has joined the channel [08:13] theCole has joined the channel [08:15] stafamus has joined the channel [08:16] kejun has left the channel [08:17] vguerra has joined the channel [08:17] rendar has joined the channel [08:17] r04r has joined the channel [08:17] r04r has joined the channel [08:20] timoxley has joined the channel [08:21] kesor_ has joined the channel [08:21] hz has joined the channel [08:23] r04r has joined the channel [08:24] huggies has joined the channel [08:25] cosmincx has joined the channel [08:27] socialhack has joined the channel [08:27] graeme_f has joined the channel [08:27] r04r has joined the channel [08:27] r04r has joined the channel [08:29] Wizek has joined the channel [08:29] [[zz]] has joined the channel [08:29] booyaa has joined the channel [08:31] sandfox has joined the channel [08:31] daithi44 has joined the channel [08:31] rjack has joined the channel [08:32] r04r has joined the channel [08:33] hellp has joined the channel [08:34] erikzaadi has joined the channel [08:35] hisanori has joined the channel [08:35] dannyamey has joined the channel [08:35] Renegade001 has joined the channel [08:36] Stoobles: I read an article last night... it was pretty hostile, said, "Node is Cancer"... [08:37] lperrin has joined the channel [08:37] Stoobles: I dunno if they're right, but I'm interested in people who have actual experience with node.js [08:38] Octayn: Stoobles: it is a butthurt post whining about ignorant people [08:39] Stoobles: Yeah, that seems pretty clear [08:40] Octayn: Node is fine for lots of things, great at some. But it isn't a silver bullet. [08:42] skylamer` has joined the channel [08:42] tisba has joined the channel [08:43] aliem has joined the channel [08:45] mikeal has joined the channel [08:46] yawNO has joined the channel [08:48] jetienne has joined the channel [08:49] rurufufuss has joined the channel [08:49] yawNO has joined the channel [08:49] hipsterslapfight: Stoobles: you mean that article from like 6 months ago? i think all of the issues in it have been addressed by now [08:49] hipsterslapfight: also the guy admitted it was just a troll anyway [08:49] Octayn: 'issues'? [08:50] Fabryz: hello, in express.js: is it possible to pass variables to an .html file like I do to a jade one? [08:50] hipsterslapfight: he made a couple of interesting points which were rather firmly rebuffed by the community [08:50] Octayn: at least the stuff about blocking is perfectly valid [08:50] aaronmcadam has joined the channel [08:51] Fabryz: atm I use sendfile to serve the html, but I'd like to pass something from the controller [08:51] Fabryz: and I don't want to make a jade view, but just plain HTML [08:52] Brunoz has joined the channel [08:52] prasak has joined the channel [08:54] Edy has joined the channel [08:54] DuoSRX has joined the channel [08:56] sandfox has joined the channel [08:57] Dreamer3 has joined the channel [08:58] mehlah has joined the channel [09:00] ziyadh has joined the channel [09:01] herbySk has joined the channel [09:01] Qalqi has joined the channel [09:01] jkarsrud has joined the channel [09:02] Knowledge has joined the channel [09:02] tokumine has joined the channel [09:04] sandfox has joined the channel [09:06] herbySk has joined the channel [09:07] ctp6360 has joined the channel [09:08] r04r has joined the channel [09:08] [[zz]] has joined the channel [09:13] Vennril has joined the channel [09:13] misza222 has joined the channel [09:13] shinuza has joined the channel [09:14] r04r has joined the channel [09:14] r04r has joined the channel [09:16] markwubb_ has joined the channel [09:17] guidocalvano has joined the channel [09:21] argami has joined the channel [09:21] Raynos has joined the channel [09:21] arduix has joined the channel [09:23] zackattack has joined the channel [09:23] vbd has joined the channel [09:24] vbd: any good resources to learn how to replace bash/shell-scripts with javascript/node.js? [09:26] Shrink has joined the channel [09:26] hipsterslapfight has joined the channel [09:27] DrPheltRight has joined the channel [09:28] jryans has joined the channel [09:30] rlidwka has joined the channel [09:30] SiGe has joined the channel [09:36] alm0nd has joined the channel [09:39] arduix has joined the channel [09:41] markwubb_ has joined the channel [09:42] dotmariusz has joined the channel [09:44] munichlinux has joined the channel [09:45] josh-k has joined the channel [09:46] bearnard has joined the channel [09:46] larsschenk has joined the channel [09:47] larsschenk has left the channel [09:47] dotmariusz has joined the channel [09:47] satyr has joined the channel [09:47] yawNO has joined the channel [09:51] guidocalvano has joined the channel [09:54] jzaefferer has joined the channel [09:55] jzaefferer: I've got this simple connect-based server that outputs static files or an index.html, useful for single-page apps, e.g. with Backbone. Any suggestions how to get rid of or simplify that route function? https://gist.github.com/2204237 [09:56] tisba_ has joined the channel [09:58] shinuza has joined the channel [10:01] fermion has joined the channel [10:02] Vespakoen has joined the channel [10:04] arduix has joined the channel [10:06] skylamer`: пьне [10:06] skylamer`: the public statics in other dir [10:09] jamesd has joined the channel [10:11] maritz has joined the channel [10:11] relix has joined the channel [10:11] Vespakoen has left the channel [10:12] guidocalvano_ has joined the channel [10:12] AnthonyCat has joined the channel [10:16] booyaa: vbd: prolly not, sysadmin scripts are still few and far between in nodejs. what do you need to port? [10:17] mehlah has joined the channel [10:17] munichlinux has joined the channel [10:17] Cheery has joined the channel [10:18] Industrial: Anyone here using JugglingDB with MongoDB ? [10:18] Industrial: I can't get it configured :( [10:20] sandfox has joined the channel [10:20] ditesh|cassini has joined the channel [10:20] mauritslamers has joined the channel [10:21] salva has joined the channel [10:22] Cheery: I wonder where to start.. [10:22] sandfox has joined the channel [10:23] Cheery: I want to write a website attributed for game development.. sort of learning environment. [10:24] Cheery: which means I'll end up executing user scripts on other users browsers. [10:24] majek has joined the channel [10:24] dsabanin has joined the channel [10:25] framlin: sounds dangerous ... [10:25] Cheery: I wonder how to handle it such that those user scripts won't be able to tamper with user records. [10:25] Wizek has joined the channel [10:27] jetienne has joined the channel [10:27] Cheery: framlin: it's rather okay if I can just handle it such way that I can limit what those scripts are doing. [10:27] hackband has joined the channel [10:27] adrianF has joined the channel [10:28] dotmariusz: is that even possible though? [10:28] dotmariusz: i mean, never seen something like that done - APIs allow that in browsers? [10:28] Cheery: I remember we had discussion that the user scripts could be stored in different domain.. which would limit them out from user info. [10:28] Cheery: but that would require iframe wouldn't it? [10:29] fivetwentysix has joined the channel [10:29] fivetwentysix has left the channel [10:30] Cheery: maybe I need to do it that way.. [10:30] fivetwentysix has joined the channel [10:30] Cheery: and then check that it works. [10:30] Cheery: anyway.. I can just as well tell you what I'm planning for. :) [10:30] fivetwentysix: What's the goto test framework for developing web apps with node.js? [10:31] archivebot has joined the channel [10:31] Cheery: fivetwentysix: I thought you don't need a framework for developing web apps with node.js :) [10:31] Cheery: http://boxbase.org/ether/ <- anyway I did this while ago. [10:32] fivetwentysix: Cheery: hmm? [10:33] fivetwentysix: just wondering what the tdd tools are good to start with [10:33] Cheery: my plan is to make those scripts such that the apps using them update automaticly whenever someone 'saves' the related file. [10:33] jetienne_ has joined the channel [10:33] Cheery: with collaborative editor I think it'll become good for teaching things out. [10:34] Cheery: or just for writing games for sake of it. [10:34] Cheery: problems in developing good games is that they need lot of tuning. [10:35] Cheery: and they have that social kick.. people want to make games. :) [10:35] Cheery: not just consume them. [10:35] dotmariusz: fivetwentysix, I used Mocha, worked well. [10:36] maritz: fivetwentysix: mocha nodeunit jasmine zombie tobi... there's tons of them, it pretty much boils down to personal preference and what fits your task best. (zombie and tobi are more for frontend tests, nodeunit is rather basic but does work in node.js and the browser, etc..) [10:37] jetienne_: mocha is easy, works webbrowser and node.js, definitly worth a try [10:38] satyr has joined the channel [10:38] arvidkahl has joined the channel [10:38] maritz: Cheery: even if you put it on another domain, user scripts may still do harmful stuff. imagine if they do window.location = 'disney.com'! THE HORROR! [10:39] framlin: Cheery: have you seen this: http://sharejs.org/ ? [10:39] munichlinux has joined the channel [10:39] Nss has joined the channel [10:40] dotmariusz: maritz, disney.com is a malicious site, just check on YouTube, Walt Disney did cartoons about NAZIs back in 1940s! ;) [10:41] shift_ has joined the channel [10:43] maritz: dotmariusz: so what? that's not what i'd say is the reason why disnay as a whole is evil :D [10:43] sandfox has joined the channel [10:43] skeptic has joined the channel [10:52] jploh has joined the channel [10:53] satyr has joined the channel [10:56] bnoordhuis has joined the channel [10:57] kesor_ has joined the channel [10:57] huggies has joined the channel [10:59] vervain has joined the channel [10:59] skm has joined the channel [11:04] ccare has joined the channel [11:06] enmand has joined the channel [11:06] literal_username has joined the channel [11:08] ningu: hmm new jquery was released [11:08] kwmiebach has joined the channel [11:11] literal_username: So I'm reading the child_processes documentation, and realizing customFds has been deprecated due to the fact that Windows can't support it, and naturally I think there goes f'ing Microsoft ruining everything again. So I google 'node.js windows', hoping to commiserate with millions of people complaining that node jumped the shark when Joyent got in bed with MS, but instead what I found was results upon results of how to us [11:12] jploh has joined the channel [11:13] Epeli: literal_username: your message got sliced at "of how to us..." [11:13] literal_username: Epeli: Thanks. [11:13] literal_username: ... of how to use Node on Windows. I'm confused. Why would anyone in their right mind want to do that? Yes, I know this is flamebait. Just feeling irritated. [11:14] pgte has joined the channel [11:16] Epeli: The fact is that majority of (new) users are on Windows and it's lot easier for them to start with Node.js if is natively supported [11:16] literal_username: I hear that. I understand the desire to make it more accesssible. [11:16] literal_username: I don't understand the desire to deprecate functionality in order to appease novices. [11:17] Epeli: Personally I don't care about the Windows support, but I've heard that for PHP proper Windows support was a killer feature which made very popular. I think same could happen for Node too [11:18] stagas has joined the channel [11:18] Epeli: literal_username: the custom fd thing is coming back in another form in 0.8 [11:18] literal_username: Yeah, I don't want Node to immitate PHP. Look at that community. It's all about cheap hacks. [11:18] literal_username: Oh yeah? That's comforting. [11:19] jetienne has joined the channel [11:21] nicholas_ has joined the channel [11:23] literal_username: I know I'm coming from this elitest standpoint that all "real" programmers use a *nix, and I know I must sound like a duchebag, but it's so trivial to install linux these days, and I'm honestly baffled at why anyone with programming aspirations would want to use Windows anyway. [11:23] literal_username: I do get that MS gave Joyent money, and that's all it comes down to. I just find it frustrating. [11:25] kahlin has joined the channel [11:26] yhpark has joined the channel [11:29] maritz: literal_username: in what way has it actually affected you except for the customFD thing that'll apparently be rectified in 0.8? I'll give you a hint: mostly in positive ways. [11:29] kmiyashiro has joined the channel [11:29] thomaschaaf has joined the channel [11:29] _rockbot_ has joined the channel [11:29] jacobolus has joined the channel [11:30] maritz: i'm not a windows fan myself, but i can see that it's been a good thing for node so far. [11:30] literal_username: maritz: Please convince me that it's positive. [11:30] thomaschaaf: What is the most watched / active Web Framework for Node? MVC would be good [11:30] dylang has joined the channel [11:30] literal_username: In my mind it just taints the language. I would love to see it as positive. [11:31] literal_username: er, framework, not language. [11:31] PsiliPharm has joined the channel [11:31] maritz: well, you mentioned money. there's a thing you can do with money that is "spending" and if you spend it by getting developers to work full time on something, you're usually gonna end up with more/better stuff than without it. [11:31] literal_username: maritz: This is true. [11:31] disappearedng has joined the channel [11:32] theCole: marienz: unless you have awesome developers developing for a cause bigger than money [11:32] theCole: maritz: * [11:32] literal_username: And I would agree if the money came from anywhere else. But MS always follows their embrace, extend, extinguish pattern. [11:32] maritz: also, it gets a huge corporation behind node.js. now if someone says: "mimimi, java is so enterprisey, don't use node.js because it's small and no one uses it in the real world, mimimi" you go, "fuck you, tell me what software company that is larger than microsoft is using java but not node.js" [11:33] literal_username: Again, I agree. Yet the community around MS is less than desirable. [11:34] gekko_ has joined the channel [11:34] literal_username: jQuery for example has noticeably lost quality in its community since .NET integration. [11:34] maritz: theCole: but these awesome devs probably won't suddenly stop because they get money for it?! and if they hate money so much, they can just refuse the money, because guess what: node.js is still open source and will always stay open-source (i think). [11:34] literal_username: I know, you're right. Again, I have nothing against working for money. [11:35] literal_username: That's not my issue. [11:35] literal_username: I understand the economics of the situation, and it makes perfect sense. I still think it's sad. [11:35] ditesh|cassini has joined the channel [11:36] whh has joined the channel [11:36] maritz: boohoo :P [11:36] jploh has joined the channel [11:36] theCole: maritz: i never said that you were wrong. i was just stating sometimes there is the case when you have some awesome open source collaboration going on just because devs like the idea of building something cool with other devs [11:36] literal_username: I know, I know. If I was a Joyent employee maybe I'd feel different. But as a user, I don't really need the community to grow so much. [11:36] theCole: theCole: i get paid to code open, it's the best of both worlds [11:37] theCole: ^_^ [11:37] maritz: you fucker :D [11:38] filleokus has joined the channel [11:38] literal_username: I've gotten paid to code open source a few times. It's cool. But I don't think open source is the end-all-be-all. There's a place in this world for proprietary software. [11:39] literal_username: My problem with Windows has nothing to do with its license, at least not on principle. [11:39] literal_username: In practice it probably wouldn't suck as much if they accepted contributions, but who am I kidding. [11:40] theCole: literal_username: no, open is totally the end-all-be-all -- but that will never happen because most people do not get it [11:41] literal_username: theCole: You don't own a software based business. [11:41] literal_username: Open source is great for your compliments, but not your core assets. [11:41] Juan77 has joined the channel [11:42] klaustsen has joined the channel [11:42] fivetwentysix: whats a good resource to learn node development with mocha [11:43] theCole: what exactly do you mean by "core assets" literal_username [11:44] literal_username: theCole: I mean when you run a business, you have assets that the business is based on. They're what gives your company value. You don't want to give that away to your competitors, because that makes profit impossible. [11:44] maritz: fivetwentysix: you mean how to write tests with mocha? [11:44] theCole: literal_username: fair enough…I know nothing about the business of software [11:45] _baton_ has joined the channel [11:45] literal_username: What you do want to give away are your compliments -- things that people use and that make your business's product or service more valuable by extension. [11:45] njain has joined the channel [11:45] fivetwentysix: maritz: any book that teaches the fundamentals of javascript/mocha that would bring me up to speed quickly would do probably [11:45] literal_username: That's probably what MS is doing with Node.js. [11:45] maritz: literal_username: there are plenty of ways to profit from open source projects. but they're not as clear cut as selling proprietary software and most people refuse to think about it... :x [11:46] maritz: fivetwentysix: uhm. go with javascript first, then node.js, then mocha. [11:46] literal_username: maritz: Well, there are a few successful examples, but more examples of proprietary companies using open source compliments. [11:47] maritz: fivetwentysix: to start learning js: http://www.codecademy.com/languages/javascript [11:47] literal_username: maritz: I don't think most people in the software industry refuse to think about it... but I probably live in a bubble. [11:47] baudehlo has joined the channel [11:47] maritz: literal_username: yes, but it doesn't mean it's the better option. [11:48] literal_username: Neither one is better -- they're both good for different reasons and uses. [11:53] enmand has joined the channel [11:53] xippi has joined the channel [11:53] xippi has joined the channel [11:54] bnoordhuis has joined the channel [11:55] brianseeders has joined the channel [11:55] crutex has joined the channel [11:55] crutex has joined the channel [11:57] ningu: Javascript Man... he's like Java Man, but with a larger brain case and less prominent brow ridges [11:57] nsolsen has joined the channel [12:00] erichynds has joined the channel [12:00] eugs51 has joined the channel [12:01] heavysixer has joined the channel [12:02] larsschenk has joined the channel [12:02] larsschenk has left the channel [12:04] dragansah has joined the channel [12:04] piscisaureus_ has joined the channel [12:09] bnoordhuis has joined the channel [12:10] CIA-19: node: 03Shigeki Ohtsu 07master * re7792e5 10/ test/simple/test-tls-honorcipherorder.js : test: add test of tls.createServer(honorCipherOrder=true) - http://git.io/XfvVUQ [12:10] bEEEviz has joined the channel [12:11] dmilith_ has joined the channel [12:11] infynyxx has joined the channel [12:12] stagas has joined the channel [12:13] enmand has joined the channel [12:14] thinkt4nk has joined the channel [12:15] RLa has joined the channel [12:16] shinuza has joined the channel [12:16] jon13210 has joined the channel [12:18] ovaillancourt has joined the channel [12:18] TheJH has joined the channel [12:20] Nss_ has joined the channel [12:22] Swizec has joined the channel [12:26] heavysixer has joined the channel [12:27] Cheery: framlin: 2 years to write.. are they bit inefficient there? I did my clone in a month. [12:27] stagas has joined the channel [12:30] k1ttty has joined the channel [12:31] joemccann has joined the channel [12:31] fumanchu182 has joined the channel [12:33] indy3 has joined the channel [12:36] Cheery: framlin: also my version takes 500 lines of code. :) (it still has one bug though..) [12:38] Cheery: and it still requires annotations and history. [12:38] Cheery: and it's not as small as I want it to be. [12:39] RLa: hm, what you are talking about [12:39] MartinCleaver has joined the channel [12:39] gauloises has joined the channel [12:39] Cheery: RLa: operational transformers. (OT) [12:40] Cheery: sort of thing running behind collaborative editors [12:40] ningu: what about operational decepticons? [12:40] RLa: what do they do [12:40] Cheery: ningu: they're waiting their turn for malicious users. [12:41] timoxley has joined the channel [12:41] Cheery: RLa: they track what operations you do on your file, and then provide calculus which lets you do tricks on them. [12:41] panchot has joined the channel [12:42] RLa: uh [12:42] RLa: something like fancy macros? [12:42] subbyyy has joined the channel [12:43] Cheery: nah. you can better think of it as a version control system based on tracking .splice -method rather than diffing files. [12:45] Cheery: in my system, whenever there's splice. it's partitioned into pieces {COPY, DELETE, INSERT, COPY} [12:45] RLa: so it calculates diff in real time? [12:45] Cheery: it doesn't calculate diff. [12:45] RLa: at least it sounds like [12:46] Cheery: it just follows what changes you make. [12:46] Cheery: consider case where you change 'hello world' to 'hello world'.. [12:47] Cheery: text.splice 0, 11, "hello world" [12:47] ovaillancourt has joined the channel [12:47] Cheery: RLa: you see that diff would consider nothing was changed. [12:47] baudehlo has joined the channel [12:47] RLa: hm, yes [12:47] madtimber has joined the channel [12:48] Omega_Work has joined the channel [12:48] Cheery: now. OT define catenate, merge and follow -operations. [12:49] Omega_Work has left the channel [12:49] pgte has joined the channel [12:49] Cheery: catenate makes single changeset from two ones that were sequential. [12:50] Cheery: (a >> b) >> c = a >> (b >> c) [12:50] Cheery: merge makes single changeset from two that were parallel. [12:51] Cheery: merge(a,b) = merge(b,a) [12:52] Cheery: follow turns a parallel changeset into a sequential one. [12:52] Cheery: a*follow(a,b) = merge(a,b) = b*follow(b,a) [12:53] CromeDome has joined the channel [12:53] Cheery: once you have catenate and follow. it's simple to keep the document in sync. [12:54] bEEEviz has joined the channel [12:54] Cheery: you just keep stacks of changesets in your client, and track which changes you have done and haven't. [12:54] timoxley has joined the channel [12:54] Cheery: s/done/committed/ [12:54] graeme_f has joined the channel [12:55] Cheery: whenever you get message that your changeset was added into pile, you do same thing in your stack. [12:55] jploh has joined the channel [12:55] Cheery: and whenever you get changeset of an another user. you use that calculus to syncronise your stack. :) [12:56] pendlepa1ts has joined the channel [12:56] karellen has joined the channel [12:57] icebox has joined the channel [12:58] bEEEviz has joined the channel [12:58] dragansah has joined the channel [12:59] robm_ has joined the channel [13:00] zobi8225 has joined the channel [13:01] devongovett has joined the channel [13:01] lazyshot has joined the channel [13:02] ccare has joined the channel [13:03] indy3 has joined the channel [13:03] zobi8225: hi [13:04] zobi8225: i can't install node-waf on my ubuntu [13:04] zobi8225: i am little a noob with node.js [13:04] thomblake has joined the channel [13:05] skylamer`: dont install it . . . [13:05] thomblake has left the channel [13:05] skylamer`: make it with node-gyp :) [13:05] zobi8225: what that ? [13:05] arthurdebert has joined the channel [13:06] skylamer`: ллл it's successor [13:07] zobi8225: :-) [13:08] robhawkes has joined the channel [13:08] zobi8225: i am not sure i should use it [13:09] rokonol has joined the channel [13:09] zobi8225: i just want use mongoose-auth and i need node-waf for that [13:10] redir has joined the channel [13:11] qjcg has joined the channel [13:11] zobi8225: skylamer`: do you think i realy need node-gyp ? [13:12] yhpark_ has joined the channel [13:12] sadjow has joined the channel [13:14] colinclark has joined the channel [13:14] Raynos: isaacs: your blog y it down [13:16] zobi8225: skylamer`: ok i find the pb. thx [13:17] spcshpopr8r: now.js looks pretty cool...any alternatives (I generally prefer the lightest weight, least overhead)? [13:18] kranius: socket.io ? [13:19] jryans has joined the channel [13:19] jolo2 has joined the channel [13:21] hhuutt has joined the channel [13:21] jolo2 has joined the channel [13:22] spcshpopr8r: kranius: if I understand correctly now.js wraps up socket.io does it not? If that's the case, then I suppose using socket.io would be less overhead...hmm [13:27] spcshpopr8r has left the channel [13:27] vkareh has joined the channel [13:28] whaley has joined the channel [13:28] nbari has joined the channel [13:29] fielding has joined the channel [13:30] confoocious has joined the channel [13:30] confoocious has joined the channel [13:30] Brandon_R has joined the channel [13:30] Brandon_R: hi guys [13:30] Brandon_R: i have a gyp question [13:32] sandfox has joined the channel [13:33] aklt has joined the channel [13:33] AaronMT has joined the channel [13:34] pokoli has joined the channel [13:34] devdazed has joined the channel [13:37] panchot has joined the channel [13:38] Joeysomo has joined the channel [13:39] joshfinnie has joined the channel [13:40] c4milo has joined the channel [13:40] bnoordhuis: Brandon_R: shoot [13:41] Brandon_R: Do i have to manually update the sources object in the project.gyp file or is there an easier more automated way [13:42] Brandon_R: ie add a list of all the files manually [13:42] panchot has joined the channel [13:42] polardude has joined the channel [13:42] bnoordhuis: Brandon_R: you mean the 'sources': [ ... ] field? manually [13:42] Brandon_R: yeha [13:43] Morkel has joined the channel [13:44] polardude has joined the channel [13:44] yawNO has joined the channel [13:45] Brandon_R: i guess so [13:45] panchot_ has joined the channel [13:46] rwaldron has joined the channel [13:48] MartinCleaver has joined the channel [13:49] dotmariusz has left the channel [13:50] panchot has joined the channel [13:52] micheil has joined the channel [13:52] robi42 has joined the channel [13:52] ccare has left the channel [13:52] clynx has joined the channel [13:52] clynx: hey there [13:53] micheil: is there any way to setup a message to be sent to STDOUT when node exits due to an empty event loop? [13:53] micheil: (process.on("exit") appears to not catch it [13:53] clynx: does anyone know a node module, which is capable of sending a lot of mails? not through a smtp server, more with connecting to the servers itself. [13:53] MrNko has joined the channel [13:54] panchot has joined the channel [13:54] micheil: node-smtp probably [13:54] micheil: (but not the one that I wrote, one of the forks instead) [13:55] meso has joined the channel [13:55] stagas: micheil: try writing to stderr [13:55] amigojapan has joined the channel [13:55] micheil: stagas: stdout / stderr, either don't work, afaik [13:56] magn3ts has joined the channel [13:56] tomh has joined the channel [13:56] tomh has joined the channel [13:56] tomh has joined the channel [13:56] daleharvey has joined the channel [13:58] clynx: thanks micheil [13:58] jtsnow has joined the channel [13:59] BillyBreen has joined the channel [14:00] JSONB has joined the channel [14:00] horofox has joined the channel [14:00] mauritslamers has joined the channel [14:00] horofox: anybody here using railwayjs? [14:01] crodas has joined the channel [14:02] infynyxx has joined the channel [14:02] jimmyrcom has joined the channel [14:03] sandfox_ has joined the channel [14:03] fmeyer has joined the channel [14:04] dragansah has joined the channel [14:05] mandric has joined the channel [14:05] vdvm has joined the channel [14:05] willwhite has joined the channel [14:08] fmeyer has joined the channel [14:08] sandfox_ has joined the channel [14:09] artusrocha has joined the channel [14:10] jscheel has joined the channel [14:10] jscheel has joined the channel [14:10] guidocalvano has joined the channel [14:10] lmatteis has joined the channel [14:10] rauchg has joined the channel [14:11] sriley has joined the channel [14:11] majek has joined the channel [14:11] isaqual has joined the channel [14:11] pendlepa1ts has joined the channel [14:11] jkarsrud has joined the channel [14:11] iaincarsberg has joined the channel [14:12] bearnard has joined the channel [14:12] owenb has joined the channel [14:13] gtodd: WarheadsSE: thanks [14:13] gtodd has left the channel [14:13] HeikkiV_ has joined the channel [14:13] cmwelsh has joined the channel [14:13] WarheadsSE: ACTION blinks [14:13] fmeyer has joined the channel [14:13] WarheadsSE: what I do gtodd? [14:13] WarheadsSE: oh. [14:14] Swizec has joined the channel [14:14] kermitPT has joined the channel [14:14] jxhn has joined the channel [14:14] jemparing has joined the channel [14:15] Dreamer3 has joined the channel [14:16] jxhn has joined the channel [14:16] jxhn: hi [14:16] RLa: https://github.com/learnboost/cluster vs cluster module that comes with node.js - which one to use? [14:16] jxhn: where is the best place to install node.js on a mac? [14:16] Doikor: just use the installer? [14:17] jxhn: default is user/bin/ [14:17] stafamus has joined the channel [14:17] rlidwka has joined the channel [14:18] _th_n has joined the channel [14:18] jxhn: or user/local/bin rather [14:18] Doikor: when into /usr/local/bin on my install [14:18] h00k has joined the channel [14:18] Doikor: aslong as you it's in your path/you add it into your path it doesn't really matter. [14:18] tk has joined the channel [14:19] fmeyer has joined the channel [14:19] otih has joined the channel [14:19] jxhn: thanks [14:20] MeanderingCode: hello all [14:20] MeanderingCode: is nodester a good idea/platform? [14:20] denom has joined the channel [14:21] CoverSlide: no its horrible [14:21] svnlto has joined the channel [14:21] CoverSlide: use nodejitsu [14:21] MeanderingCode: thx CoverSlide. why? [14:21] benvie has joined the channel [14:21] WarheadsSE: ACTION coughs [14:21] terite has joined the channel [14:21] MeanderingCode: (just getting started w/ node.js) [14:21] WarheadsSE: if you are just getting started, I'd start with local [14:21] MeanderingCode: alright there, WarheadsSE? [14:22] HacDan has joined the channel [14:22] jakehow has joined the channel [14:22] MeanderingCode: oh, i will, but i'm going to be building a service/webapp/mobile app [14:22] yhpark has joined the channel [14:22] sveisvei has joined the channel [14:22] skm has joined the channel [14:22] MeanderingCode: so i'm also looking at production deployment schemes [14:23] CoverSlide: you can host on a vps, I'd recommend that over hosting, if you have the means [14:23] carlyle has joined the channel [14:23] MeanderingCode: that's what i was thinking, but nodester claims that their framework is portable [14:23] cjlicata has joined the channel [14:23] MeanderingCode: i might want to implement cloud storage, etc [14:23] redir_ has joined the channel [14:24] JonMarkGo has joined the channel [14:24] MeanderingCode: thinking something like deltacloud and opennebula [14:24] fmeyer has joined the channel [14:24] drostie has joined the channel [14:24] Lemminkainen has joined the channel [14:25] indutny has joined the channel [14:25] _ralph has joined the channel [14:26] BruNeX has joined the channel [14:27] h00k has joined the channel [14:27] jploh has joined the channel [14:27] Jaylee_ has joined the channel [14:27] MeanderingCode: so no comment about their code? (i'm reading the "don't" as their hsoting) [14:27] ziyadh has joined the channel [14:27] MeanderingCode: *hosting [14:28] WarheadsSE: tbh, i have personally never used any outside hosting [14:28] WarheadsSE: it's either on my personal VPS, or on on of my ARM servers at home [14:28] sadjow has joined the channel [14:29] fmeyer has joined the channel [14:29] adrianFa has joined the channel [14:30] sadjow has left the channel [14:31] tekky has joined the channel [14:31] mintbridge has joined the channel [14:31] cjm has joined the channel [14:31] Brunoz has joined the channel [14:32] oal has joined the channel [14:32] jxie has joined the channel [14:32] JasonSmith has joined the channel [14:32] mrb_bk has joined the channel [14:33] dscape has joined the channel [14:33] navpar has joined the channel [14:33] maletor has joined the channel [14:34] ditesh|cassini has joined the channel [14:34] fmeyer has joined the channel [14:37] khrome has joined the channel [14:38] _rockbot_ has joined the channel [14:39] tvw has joined the channel [14:39] fmeyer has joined the channel [14:40] otih has joined the channel [14:40] indutny_ has joined the channel [14:40] hackband has joined the channel [14:41] adambeynon has joined the channel [14:42] hellp has joined the channel [14:43] relix has joined the channel [14:43] dgathright has joined the channel [14:43] otih has joined the channel [14:44] fmeyer has joined the channel [14:45] warz has joined the channel [14:46] paul_ has joined the channel [14:46] dylang has joined the channel [14:47] willwhite has joined the channel [14:47] willwhite has joined the channel [14:48] zemanel has joined the channel [14:49] Raynos has joined the channel [14:49] fmeyer has joined the channel [14:50] Fabryz has joined the channel [14:51] halfhalo has joined the channel [14:51] rtgibbons has joined the channel [14:51] otih has joined the channel [14:52] [[zz]] has joined the channel [14:53] Destos has joined the channel [14:54] aconbere has joined the channel [14:54] fmeyer has joined the channel [14:55] thejefflarson has joined the channel [14:56] thinkt4nk has joined the channel [14:56] otih has joined the channel [14:57] huggies has joined the channel [14:59] fmeyer has joined the channel [14:59] h00k has joined the channel [15:00] qjcg has joined the channel [15:02] intabulas has joined the channel [15:02] jocafa has joined the channel [15:03] geetarista has joined the channel [15:03] ericmuyser has joined the channel [15:03] chadskidmore has joined the channel [15:03] colinclark has joined the channel [15:04] RLa: how to kill workers when master dies? [15:04] colinclark has joined the channel [15:04] RLa: currently i see that workers keep going [15:04] fmeyer has joined the channel [15:05] fangel has joined the channel [15:05] piscisaureus_ has joined the channel [15:05] jay has joined the channel [15:07] dragansah has joined the channel [15:07] fatjonny has joined the channel [15:08] ph^ has joined the channel [15:09] r04r has joined the channel [15:09] wavded has joined the channel [15:09] sorensen__ has joined the channel [15:09] fmeyer has joined the channel [15:10] ekryski has joined the channel [15:12] yawNO has joined the channel [15:12] briancray has joined the channel [15:13] djMax has joined the channel [15:13] JonMarkGo has joined the channel [15:14] djMax: Trying desperately to get my head around async.js. I want to read a mongodb query and then lookup another doc for each result from the first, and then return a calculated quantity after all of them are done. Is this a case for map? [15:15] fmeyer has joined the channel [15:15] stephen has joined the channel [15:15] M1l3n1um has joined the channel [15:16] rio{: Can I require a json file and have it as an object directly? [15:16] cconstantine_ has joined the channel [15:17] paulwe has joined the channel [15:17] bkaney has joined the channel [15:18] rio{: Also, I want to send UDP request with a timeout, is there something existing to handle this that I can use? [15:18] icebox: rio{: yes... but the file should contain exports.myvar = { ... } [15:18] rio{: icebox ah cool [15:20] fmeyer has joined the channel [15:20] kimico has joined the channel [15:20] bradleymeck has joined the channel [15:20] baudehlo has joined the channel [15:21] epokmedia has joined the channel [15:21] chapel: rio{ icebox you can require a json file directly like require('./jsonfile') omitting the .json and it will automatically require it as an object, no exports needed [15:22] chapel: icebox: exports.myvar = {} is not json [15:22] icebox: chapel: nice... you are right [15:22] WarheadsSE: rio{: theck into the standard net libs for sockets. [15:23] callumacrae has joined the channel [15:23] WarheadsSE: http://nodejs.org/api/dgram.html [15:23] WarheadsSE: http://nodejs.org/api/net.html [15:24] rio{: I did but didn't find anything about timeout with UDP, only TTL that was numer of hops [15:24] rio{: but maybe I missed it [15:24] tjholowaychuk has joined the channel [15:24] Poetro has joined the channel [15:24] Poetro has joined the channel [15:24] djMax: Is it common to do async.parallel(async.mapSeries(list, fn (x) { return function (y) {}}, callback))? Or is there a smarter pattern to do an async function across a range of values? [15:24] WarheadsSE: then you might just need to do a setTimeout [15:24] bondar has joined the channel [15:25] fmeyer has joined the channel [15:26] TheAlphaNerd has joined the channel [15:27] sadjow has joined the channel [15:27] ningu has joined the channel [15:27] wilmoore has joined the channel [15:28] sadjow has left the channel [15:28] jerrysv has joined the channel [15:28] ramitos has joined the channel [15:29] redir has joined the channel [15:30] fmeyer has joined the channel [15:30] wendall911 has joined the channel [15:31] Venom_X has joined the channel [15:31] automata has joined the channel [15:33] voodootikigod has joined the channel [15:33] Brandon_R has joined the channel [15:33] Brandon_R: I have a question about gyp [15:33] jzacsh has joined the channel [15:33] jzacsh has joined the channel [15:34] Brandon_R: tootallnate: you there bud? [15:35] fmeyer has joined the channel [15:35] gozala has joined the channel [15:36] justicefries has joined the channel [15:36] brianleroux has joined the channel [15:36] bergie has joined the channel [15:37] Brandon_R: does gyp work with none gyp projects? [15:39] dr0id has joined the channel [15:39] spion has joined the channel [15:40] Renegade001 has joined the channel [15:40] fmeyer has joined the channel [15:41] sh1mmer has joined the channel [15:42] WarheadsSE: non-gyp ? [15:42] EyePulp has joined the channel [15:42] Brandon_R: yeah [15:42] bic2k has joined the channel [15:42] Brandon_R: like just a library [15:43] Brandon_R: in my includes object [15:43] sorensen__ has joined the channel [15:43] Brandon_R: you can specify a directory to another gyp library but how do i do it to a non gyp library [15:43] forste has joined the channel [15:44] YoY has joined the channel [15:44] forste: hi, how can one test 'private' functions in node? [15:44] WarheadsSE: like, a waf using library ? [15:44] WarheadsSE: ""private"" [15:44] tlack has left the channel [15:44] CoverSlide: javascript doesn't have private functions [15:44] tlack has joined the channel [15:44] Brandon_R: yeah [15:44] forste: I mean functions which do not get exported [15:45] Brandon_R: or just some cpp files [15:45] mehale has joined the channel [15:45] mehale: hey folks, any example on how to read a unix named pipe? [15:45] CoverSlide: you have to either export them or export a function that calls it [15:45] broofa has joined the channel [15:45] WarheadsSE: overall, I'd suggest porting all to gyp. If these cpp files are used by another portion, then it should be included as part of that. [15:45] WarheadsSE: mehale: open it as a file? [15:46] mehale: ok [15:46] horofox has joined the channel [15:46] fmeyer has joined the channel [15:46] hydrozen has joined the channel [15:46] CoverSlide: fs.createReadStream just line any other file [15:46] WarheadsSE: s/n/k/ [15:46] EyePulp: is there a more complete stack trace available than the "err.stack" ? It would be awesome to get a trace back to my code, even if the error is deep in some other node module. some errors have a trace to my lines of code, but a good number don't. [15:46] CoverSlide: k/o/f [15:47] caolanm has joined the channel [15:47] WarheadsSE: dtrace? [15:47] CoverSlide: EyePulp: this is a common node problem [15:47] forste: CoverSlide: there are no frameworks allowing to test functions without exporting them? [15:47] polardude has joined the channel [15:47] CoverSlide: anytime you hit the async barrier a new stack trace is created [15:47] forste: trying to avoid exporting functions just for testing [15:47] CoverSlide: s/stack trace/call stack [15:48] Brandon_R: converting projects to gyp? [15:48] Brandon_R: i wish gyp had more documentation :( [15:48] CoverSlide: the problem has been discussed since the eaarly days of node but noone has settled on a solution yet [15:49] CoverSlide: i think it comes down to a javascript problem, but dont quote me on that [15:49] EyePulp: CoverSlide: I gotcha. I wondered if the async was involved. [15:49] qjcg has joined the channel [15:49] dragansah has joined the channel [15:49] pandeiro has joined the channel [15:50] CoverSlide: there have been attempts at long stack traces, but all of them caused a horrible lag in performance, and ryah had always been obsessed with speed [15:50] nicholas_ has joined the channel [15:51] Crowb4r has joined the channel [15:51] fmeyer has joined the channel [15:51] EvRide has joined the channel [15:51] EyePulp: CoverSlide: not a bad obsession. [15:51] EyePulp: =) [15:52] WarheadsSE: forste: instantiate an object with that member function ? [15:52] Phoenixz has joined the channel [15:52] EyePulp: CoverSlide: I'm guessing it would have to make it's way into v8 to have a hope of being fast enough [15:53] Phoenixz: How can I obtain a stack trace from the current location where I am? I know that e.stack has something alike, but that only works for errors.. Console.trace() can print one, but I'd like to have one in a variable, not directly printed.. Any options here? [15:53] CoverSlide: Phoenixz: you can just create a new Error() at any time, and just not throw it [15:54] CoverSlide: console.trace just creates an error and prints the stack iirc [15:54] braoru has joined the channel [15:54] indutny: Phoenixz: or do (new Error()).stack [15:54] jmar777 has joined the channel [15:54] indutny: s/or/and [15:54] AndreasMadsen has joined the channel [15:55] davidsklar has joined the channel [15:55] WarheadsSE: handy. [15:55] retornam has joined the channel [15:56] fmeyer has joined the channel [15:56] cryptix has joined the channel [15:57] Phoenixz: indutny: https://github.com/felixge/node-stack-trace will do quite nicely I think.. :) [15:57] indutny: yeah [15:57] slloyd has joined the channel [15:57] dambalah has joined the channel [15:58] guidocalvano has joined the channel [16:01] fmeyer has joined the channel [16:01] Swizec has joined the channel [16:02] nateps has joined the channel [16:03] mikeal has joined the channel [16:04] Brandon_R: hi [16:06] fmeyer has joined the channel [16:06] orlandovftw has joined the channel [16:06] dragansah has joined the channel [16:06] carlyle has joined the channel [16:06] bradleymeck has joined the channel [16:07] orlandovftw has joined the channel [16:07] postwait has joined the channel [16:08] brianleroux has joined the channel [16:10] TheAlphaNerd has joined the channel [16:10] coderarity has joined the channel [16:11] sven_oostenbrink has joined the channel [16:11] fmeyer has joined the channel [16:13] criswell has joined the channel [16:14] vargle has joined the channel [16:14] heatxsink has joined the channel [16:14] isaacs has joined the channel [16:14] seebees has left the channel [16:14] pgte has joined the channel [16:16] fmeyer has joined the channel [16:17] kriskowal has joined the channel [16:17] rauchg has joined the channel [16:18] Venom_X has joined the channel [16:20] HSG has joined the channel [16:20] HSG has left the channel [16:21] HSG has joined the channel [16:21] TooTallNate has joined the channel [16:21] gozala has joined the channel [16:21] fmeyer has joined the channel [16:21] jakehow has joined the channel [16:22] CIA-19: node: 03Alex Kocharin 07master * rab518ae 10/ lib/readline.js : [16:22] CIA-19: node: readline: fix for terminals that insert newlines automatically [16:22] CIA-19: node: Fixes #2985. - http://git.io/5S0xAQ [16:22] jtsnow has joined the channel [16:23] mattgifford has joined the channel [16:23] josh-k has joined the channel [16:23] denom has joined the channel [16:25] piscisaureus_ has joined the channel [16:25] evilnate has joined the channel [16:25] vkandy has joined the channel [16:27] fmeyer has joined the channel [16:28] mikeal has joined the channel [16:28] thirdknife has joined the channel [16:28] snearch has joined the channel [16:29] stephank has joined the channel [16:29] rickibalboa has joined the channel [16:31] ovaillancourt has joined the channel [16:31] stephank: I'm trying to get HTTP Upgrade support into Connect. I have an pull request with tests and examples, but it's been sitting there for a couple of weeks now. Can anyone help me move this forward? https://github.com/senchalabs/connect/pull/506 [16:32] Renegade001 has joined the channel [16:32] fmeyer has joined the channel [16:34] bindr has joined the channel [16:34] RobWC has joined the channel [16:34] RobWC has left the channel [16:36] sreeix has joined the channel [16:37] warz has joined the channel [16:37] warz has joined the channel [16:37] fmeyer has joined the channel [16:37] stagas has joined the channel [16:38] yawNO has joined the channel [16:38] vc has joined the channel [16:38] vc: hi [16:39] vc: hello world [16:39] johnmdonahue has joined the channel [16:39] jetienne has joined the channel [16:39] Vespakoen has joined the channel [16:40] Vespakoen has left the channel [16:42] MT has joined the channel [16:42] fmeyer has joined the channel [16:44] joshthecoder has joined the channel [16:45] louissmit has joined the channel [16:45] sorensen__ has joined the channel [16:46] jakehow_ has joined the channel [16:46] PinguinDude has joined the channel [16:47] fmeyer has joined the channel [16:49] alvaro_o has joined the channel [16:50] EhevuTov has joined the channel [16:50] steveo_ has joined the channel [16:50] clu3 has joined the channel [16:50] crutex has joined the channel [16:50] crutex has joined the channel [16:50] piscisaureus__ has joined the channel [16:50] andre_pl has joined the channel [16:52] iangreenleaf has joined the channel [16:52] sammmy has joined the channel [16:52] andre_pl: I'd like to have a long-running node service (ie. service.js) which I can also invoke with some args in order to communicate with the running service. can anyone recommend a simple way to achieve something like that? [16:52] fmeyer has joined the channel [16:52] jhooks has joined the channel [16:54] ioscale has joined the channel [16:55] sammmy: Does node-mysql escape the ? in prepared statements? [16:55] dilvie has joined the channel [16:56] meelash has joined the channel [16:57] chadskidmore has joined the channel [16:57] rlidwka: andre_pl: well... "optimist" module is for cmdline parsing. As for communication, that's too many ways/protocols to do that [16:57] fmeyer has joined the channel [16:57] rlidwka: dnode maybe, but i never actually used it :) [16:57] andre_pl: rlidwka: yeah, i'm not worried about the command line parsing, I was more concerned with the IPC. I haven't seen dnode yet though so I'll take a look. [16:58] fangel has joined the channel [16:58] andre_pl: most solution seems overly complicated, and if i'm going to get complicated, i might get into the native 'cluster' module if I can figure out how to make it do what I want [16:58] rlidwka: I haven't seen it too xD [16:58] intabulas has joined the channel [16:58] dgathright has joined the channel [16:58] rlidwka: always used websockets for that [16:59] evilnate has joined the channel [16:59] yawNO has joined the channel [16:59] DavidElias has joined the channel [16:59] andre_pl: rlidwka: trying to stay dependency free if I can. [16:59] UnCO has joined the channel [17:00] andre_pl: websockets is just too much. [17:00] andre_pl: might just open a using socket and write/read lines. [17:00] andre_pl: s/using/unix [17:00] WarheadsSE: named pipes are handy.. [17:01] bingomanatee_ has left the channel [17:01] rlidwka: if you are actually talking to a http server, websockets is not too much imho [17:01] andre_pl: rlidwka: i agree, but there is no web server here. and its all local [17:02] jakehow has joined the channel [17:02] andre_pl: WarheadsSE: how do named pipes differ from unix domain sockets? [17:02] WarheadsSE: literally speaking, to a certain degree, they don't at all. [17:02] andre_pl: WarheadsSE: is there an implementation difference in node? is one easier than the other? [17:02] fmeyer has joined the channel [17:02] AviMarcus has joined the channel [17:02] WarheadsSE: named pipes are just files, are they not? [17:03] patcito has joined the channel [17:03] WarheadsSE: either way, sockets, named pipes, etc are all just streams. [17:03] jetienne has joined the channel [17:03] andre_pl: well, i guess thats the way to go then. [17:04] andre_pl: unix sockets seem simpler in that you dont need to worry about creating/destroying the file [17:04] WarheadsSE: right, because an api abstracts that [17:04] WarheadsSE: but in the end, you are creating/destroying a stream none the less [17:04] necromancer has joined the channel [17:04] WarheadsSE: don't get me wrong, I threw that out there as a note of comment, not that it might be best choice. [17:05] WarheadsSE: having a socket, you need to worry about network connectivity, firewalling, etc [17:05] WarheadsSE: named pipe, you have to worry about who can access said file.. [17:05] adrianF has joined the channel [17:05] WarheadsSE: They're all jsut different views of the same thing. [17:05] andre_pl: unix domain sockets can't be firewalled, and don't go through the network stack at all [17:05] andre_pl: theyh're just like named pipes in that respect [17:05] WarheadsSE: *missed a word [17:06] steveo_ has joined the channel [17:06] hij1nx has joined the channel [17:07] dtrejo has joined the channel [17:07] creationix: what I thought unix domain sockets were the same thing as named pipes? [17:07] niftylettuce has joined the channel [17:07] WarheadsSE: hence "missed a word" [17:07] pizthewiz has joined the channel [17:07] andre_pl: creationix: I think you're right, but I"m not 100% sure. I know theyre functionally identical though. [17:07] fmeyer has joined the channel [17:07] dotmariusz has joined the channel [17:08] creationix: I will say that binding a tcp socket to 127.0.0.1 is pretty secure [17:08] WarheadsSE: well [17:08] FuzzYspo0N has joined the channel [17:08] creationix: only other processes on the machine can see it [17:08] njain has joined the channel [17:08] WarheadsSE: yes and no.. unix domain sockets, by my understanding are usualyl within the same program, as named pipes can be usedby mulitple [17:08] creationix: (actually I needed to do this in one cluster where the processes didn't have compatable uids to share a named pipe) [17:08] tornad has joined the channel [17:08] shinuza has joined the channel [17:09] creationix: WarheadsSE, that would make sense [17:09] creationix: I've only used the variant where you create a socket file in the filesystem [17:09] WarheadsSE: ive done localhost binding multiple times myself, because of the number of interconnecting processes [17:09] enjalot has joined the channel [17:10] tlack_ has joined the channel [17:10] ParadoxQuine has joined the channel [17:10] creationix: btw, if anyone wants to play with it, I made a dnode-like thing for internal use at cloud9 [17:10] creationix: https://github.com/c9/remoteagent-protocol [17:11] creationix: used by https://github.com/c9/architect [17:12] WarheadsSE: "dnode-like thing" heh [17:12] argami has joined the channel [17:12] joshthecoder has joined the channel [17:12] DavidElias has left the channel [17:12] fmeyer has joined the channel [17:13] WarheadsSE: anyone might have a few minutes to review the methodology I have implemented ina mime-like stream parser ? [17:13] WarheadsSE: it's a pain in the arse. [17:13] shanem has joined the channel [17:14] sandfox has left the channel [17:14] antdillon has joined the channel [17:14] Leemp: Is there a commonly accepted standard for presenting the state of the server to the client? By "state of the server", i mean whether the server is currently development, production, test, etc? [17:14] WarheadsSE: Leemp: what kind of server ..? [17:14] Leemp: Web server, sorry :s [17:14] RLa: Leemp, lot of things tend to use SOMETHING_ENV environment variable [17:15] RLa: i do not like it tho [17:15] Leemp: I had assumed that sending a custom header might be a handy way, but apparently JavaScript (in the browser ofcourse), can't read headers of the current document [17:15] jsurfer has joined the channel [17:15] WarheadsSE: So, you want to expose this to someone viewing the webpage? [17:16] Leemp: WarheadsSE: Well, to the code executing on the current page, yea [17:16] RLa: Leemp, that's not robust enough, what if something else sends request and destroys your production database [17:16] argami has joined the channel [17:16] RLa: Leemp, on both server and client side? [17:16] Leemp: RLa: "destroys your production database" wtf? I'm lost :s [17:17] WarheadsSE: Leemp: your development code should not have access to your production environment. Period. [17:17] RLa: lot of things can happen, prepare for worst :) [17:17] ioscale has joined the channel [17:17] Leemp: If your server simply send a header saying "SERVER_ENV: production", what would be wrong with that? [17:17] WarheadsSE: creationix: reviewing, .. interesting [17:17] fmeyer has joined the channel [17:18] adamkittelson has joined the channel [17:18] Leemp: WarheadsSE: No, but everyones code has both dev and prod code in it. Look at your server code, is there not a flag in it that says "if production, do X, if development, do Y" ? [17:18] r1ngzer0 has joined the channel [17:18] RLa: Leemp, that's ok, but if you expect SERVER_ENV: development and someone sends SERVER_ENV: production then you can be screwed [17:18] WarheadsSE: Leemp: actually, I keep them in seperate trees, so.. no [17:18] FuzzYspo0N: where is tjh when you need him [17:18] argami has joined the channel [17:18] Country has joined the channel [17:18] alejandromg has joined the channel [17:19] RLa: i usually keep local configuration file like config.json and keep config.example.json in rcs [17:19] Leemp: RLa: "screwed" i'm so lost xD, If your client JS cvode thinks it's development, and tries to destroy your servers database.. why would your production server let it destroy the database? [17:19] RLa: config.json won't be in rcs [17:20] RLa: Leemp, would you protect against it? [17:20] Leemp: If your Client can "destroy your production database" at all, you have serious problems :P [17:20] RLa: what if you forget to plug all possible holes (and custom header looks like one) [17:20] RLa: because it can be set by client [17:21] RLa: never trust client! [17:21] Leemp: no, it cant.. can it? [17:21] Leemp: Dude [17:21] Leemp: The server sends the header, done. [17:21] Leemp: No? [17:21] RLa: then it works [17:21] RLa: but not if client sends [17:21] Leemp: (I'm sorry, i'm just getting frustrated. Pardon my shortness) [17:21] WarheadsSE: Warning: some firewalls block custom headers ;) [17:21] Leemp: RLa: I'm not asking about client headers [17:21] evilnate has joined the channel [17:21] dshaw_ has joined the channel [17:22] RLa: proxies might to that too [17:22] Leemp: RLa: I was asking about server headers. The client figureing out if the server is a production or development, that's all. It's a one way street [17:22] WarheadsSE: why not have it just *ask* the server? [17:22] Leemp: RLa: I was *not* asking for the client to tell the server anything lol [17:22] WarheadsSE: or tack it into the template? [17:23] fmeyer has joined the channel [17:23] johnnymonster has joined the channel [17:23] Leemp: WarheadsSE: That was the discussion, before i got my ass chewed for something i didn't say lol. [17:23] mcluskydodallas has joined the channel [17:23] Leemp: WarheadsSE: I was simply asking if there was any decent method to have the server tell the client information about itself. Things like development, version, etc. The problem is, ClientJS cannot access headers from the current request [17:24] Leemp: WarheadsSE: It can only make a 2nd header request.. which would add to your network traffic [17:24] maxogden: client js is capable of reading http headers [17:25] Leemp: maxogden: It is? How? The best i could find is this, [17:25] Leemp: maxogden: [17:25] mikedeboer has joined the channel [17:25] sadjow has joined the channel [17:25] Leemp: grr, stupid copy. [17:25] redir has joined the channel [17:25] maxogden: xhr2 [17:25] tlack_: Leemp: are you saying sending a custom header on the response to the browser indicating information about the configuration? i think that's fine. maybe ONLY show that info if it's in dev/debug/testing/staging rather than live - when live, be terse. [17:25] RLa: what about current host? put development in development.example.com [17:25] Leemp: maxogden: http://stackoverflow.com/questions/220231/accessing-http-headers-in-javascript [17:25] Leemp: tlack_: I agree completely [17:26] diogogmt has joined the channel [17:26] Leemp: tlack_: I would say that a lack of that information, would default to production [17:26] tlack_: Leemp: yep i agree [17:26] tlack_: Leemp: ive done this before to indicate which server was used to serve the request in a load balanced environment for instance [17:26] maxogden: Leemp: two common solutions is to either append