[00:00] Brandon_R: it actually is thanks [00:00] saesh_ has joined the channel [00:00] Xeon06: Is there a channel for NPM? [00:00] Brandon_R_ has joined the channel [00:00] AvianFlu: Xeon06, best to ask here [00:01] Xeon06: Is there any way to force NPM to update it's packages? I have installed something and the GitRepo of said thing has a more recent version [00:01] Xeon06: Not sure how that's handled, maybe the authors themselves need to update their packages [00:01] insin has left the channel [00:01] Aria: If you're pulling from the registry, the authors have to publish [00:01] Aria: However, you can change your package.json to refer to the git repo and npm can pull straight from it. [00:02] Xeon06: Aria, my "package.json"? [00:02] Xeon06: Sorry, completely new to this [00:02] cipher__ has joined the channel [00:03] Brandon_R_: what do you guys think of javascript design patterns? [00:03] Aria: Brandon_R_: Design patterns happen. [00:03] Brandon_R_: do they hold much weight in js or are they not necessary? [00:03] Brandon_R_: like facade or factory [00:03] Aria: Are you thinking of a specific design pattern? [00:03] Brandon_R_: singleton [00:03] cmr: Brandon_R_: IMO they don't hold much weight anywhere... most of them are common sense type things, not to be overly thought about. [00:03] Aria: The patterns one needs to combat weaknesses in languages vary by language. [00:04] Aria: So if you're thinking patterns in Patterns of Enterprise Architecture, you're trying to write Java in Javascript. [00:04] Aria: But you WILL find a lot of design patterns in Javascript code. Because patterns /happen/ [00:04] Aria: They're not something you should go looking to apply, but recognize when you're doing and do in the best possible way. [00:04] Industrial has joined the channel [00:05] Aria: Xeon06: You usually make a package.json for what you're building, and you list your dependencies there. [00:05] Aria: Xeon06: But if you're installing packages, npm install giturl [00:06] Xeon06: Oh, that makes it easier [00:06] Brandon_R_: cool so npm can install from git? [00:06] Aria: Yes it can. [00:06] Aria: For better and worse. [00:06] Kunda has joined the channel [00:06] Xeon06: Well, that gave me a christmas tree of errors [00:07] Xeon06: This is the pckage I'm trying to install, can anyone confirm it works for them to install from git? https://github.com/felixge/node-paperboy [00:10] spolu has joined the channel [00:11] joshkehn has joined the channel [00:13] boltR has joined the channel [00:13] vkandy has joined the channel [00:14] ecin has joined the channel [00:14] Aria: Wow. I'd be surprised if Felix doesn't publish right away. [00:15] Aria: Unless HEAD isn't working [00:15] Aria: Installs for me, Xeon06. [00:15] Tobsn has joined the channel [00:16] mcantelon has joined the channel [00:17] Xeon06: Aria, huh. Must be windows [00:19] Xeon06: As for him not publishing right way, maybe I have it wrong, but it seems his latest commit isn't present in the version npm gave me [00:20] jbrokc: hey, what's the easiest way to update my install of node with homebrew from 0.4.10 to 0.6.1? i need to install serveup which requires strata which needs node ~ 0.6.1 :( [00:21] isaacs_away: If you list a git url as a dependency, you should strongly consider supplying a branch, tag, or commit [00:22] Aria: jbrokc: git clone, git checkout v0.6; ./configure; make; make install [00:22] Aria: jbrokc: or alternatively, brew edit node [00:23] jbrokc: Aria: what's the url for the tar.gz file? just change the extension to 0.6.1 or 0.6.01 ? [00:23] jbrokc: and will that upgrade node safely (just trying to install over it)? [00:23] Aria: 0.6.4 [00:24] Aria: And yes, it will, with homebrew [00:24] Aria: (and in generall -- node is simple) [00:25] jldbasa has joined the channel [00:26] jbrokc: Aria: thanks! [00:26] Brandon_R_: so guys [00:27] Brandon_R_: what's your wishlist for node.js? [00:28] Aria: Smaller, faster, better! [00:30] benvie has joined the channel [00:30] joshsmith_ has joined the channel [00:31] cmr: I tend to agree with Aria. [00:31] Sorella: Brandon_R_, supporting SpiderMonkey's destructuring assignments :3 [00:31] Sorella: though that's not a Node.js wishlist per-se. [00:31] iFire has joined the channel [00:31] joshsmith_: Raynos: why do you use nodeunit over vows? [00:31] codygray has joined the channel [00:31] Raynos: I found vows ugly [00:31] Raynos: it got annoying [00:32] Raynos: its buggy around the edges [00:32] Raynos: I actually wrote two abstractions to make vows nicer, called vows-fluent and vows-is [00:32] Raynos: I threw them away because its a dead end [00:32] Raynos: I like nodeunit. It's personal preference [00:32] diogogmt has joined the channel [00:32] SubStack: I like tap [00:32] Swizec has joined the channel [00:33] Xeon06: Am I the only one who would like struct like objects in JS, passed by value? [00:33] SubStack: I also find vows pretty unappealing [00:33] Raynos: I was tempted by tap, I need to learn more about it [00:33] joshsmith_: Yeah I saw vows-is, but have you seen vows-bdd? [00:33] mmalecki: Xeon06: why? [00:33] Sorella: Xeon06, perhaps. [00:34] Sorella: I guess Harmony is introducing structs or something. [00:34] SubStack: Raynos: there's not much to learn, it's just the assert api bound to an object then you call t.end() [00:34] Sorella: It's really introducing lots of things. [00:34] SubStack: Raynos: pretty much node-tap except you call test() instead of doing an export [00:34] Xeon06: mmalecki, Ton of reasons. Have you ever tried working with say a Vector2 object in JS? Needing to call .copy every time you pass it to make sure you don't modify that value [00:34] joshsmith_: I don't like the syntax but vows.bdd is nice and matches up with my mental model [00:34] SubStack: erm [00:34] Raynos: SubStack: it's more learning about what tap outputs and what the default TAP stuff is. Cause its a protocol thing [00:34] SubStack: *pretty much nodeunit [00:34] SubStack: except you do asserts on the t object, not from the global assert module [00:35] Raynos: joshsmith_ vows-is & vows-fluent was me going "hmm vows-bdd" dont like that, write my own [00:35] SubStack: Raynos: I have no idea about any of that and I use tap all the time [00:35] Raynos: I tried vows-bdd. Neglected it, and wrote my own [00:35] Raynos: SubStack: im comfortable with nodeunit for the moment :) [00:36] k1ttty has joined the channel [00:36] skunkape has joined the channel [00:37] jstash has joined the channel [00:38] cesconix has joined the channel [00:38] langworthy has joined the channel [00:38] blup has joined the channel [00:42] cipher__: Node seems to dislike some the example syntax here: http://killdream.github.com/blog/2011/10/understanding-javascript-oop/index.html ... Is this my fault, or a new spec of js that node dislikes? [00:43] blup_ has joined the channel [00:44] cmr: cipher__: can you provide an example? [00:45] cipher__: I am essentially just c/p from there. [00:45] cmr: Yeah pretty much, but that's a big page. [00:47] franciscallo has joined the channel [00:48] Sorella: cipher__, which example in particular? I'm pretty sure I tested all of those in Node.js, and it should work in any ES5 environment really. [00:49] cipher__: Alright, I must be doing something wrong then :/ Sorry [00:49] cognominal_ has joined the channel [00:52] Sorella: cipher__, well, which one did you try? [00:53] SubStack: NPM SEARCH Y U BREAK [00:53] SubStack: oh fuck, everything is broken [00:53] cipher__: Sorella: search in the ctrl-f this: "We can implement this in JavaScript with the following definitions:" [00:53] SubStack: isaacs: ^^^ [00:53] cipher__: oops [00:53] russrpitre has joined the channel [00:53] isaacs: wut? [00:53] mmalecki: I guess you have to fix everything [00:53] cipher__: grammar fail, ignore "search in the" [00:54] isaacs: oh, weird [00:54] SubStack: yes that [00:54] SubStack: https://gist.github.com/1428682 [00:56] heavysixer has joined the channel [00:56] Sorella: cipher__, are you typing it iteratively in the REPL? Because it uses some previously defined functions, so you could get a ReferenceError if you just type that piece of code. [00:56] Sorella: interactively* [00:56] SubStack: isaacs: did I break npm with that package? [00:56] JumpMast3r has joined the channel [00:56] SubStack: other packages seem ok [00:56] isaacs: SubStack: what package? [00:56] SubStack: oh wait, all better now [00:57] SubStack: transfuse was giving the error in that gist but it's all better now [00:57] SubStack: must've been some iriscouch fluke [00:57] isaacs: yay! [00:57] isaacs: looks like it healed itself [00:57] isaacs: it's supposed to do that [00:57] SubStack: PATENTED SELF-HEALING PACKAGE TECHNOLOGY [00:57] Juan77 has joined the channel [00:57] SubStack: or PSHPT for short [00:58] idefine_ has joined the channel [00:58] cipher__: Sorella: c/p this should work right? http://pastebin.com/U0k4tVfD [00:59] xeodox_ has joined the channel [00:59] Brandon_R_: what is a self healing package [01:00] Poetro has joined the channel [01:00] Poetro has joined the channel [01:00] _unary has joined the channel [01:00] Sorella: cipher__, no, you're lacking some commas to separate the properties of those objects :3 :3 [01:00] Sorella: s/:3 :3/:3/ [01:01] Xeon06: Does anyone know of a potential problem if I'm putting web sockets on the same port as my http to serve static files? [01:01] cipher__: :(, why cant javascript be like c++script :( [01:01] Sorella: which apparently org-mode made the favour of stripping when I exported that. [01:03] Raynos: idiot question: [01:03] cipher__: Sorella: I don't know the syntax, so i just assumed it was already correct [01:03] Raynos: I get an EACCESS error using npm [01:03] Raynos: in windows [01:03] langworthy has joined the channel [01:03] Raynos: There's no equivelant of sudo in windows right? [01:03] wilmoore has joined the channel [01:04] cipher__: run as admin :p [01:04] Raynos: My windows cmd shell already says its in administrator mode [01:04] Swizec_ has joined the channel [01:04] benvie: yeah it's called [01:04] benvie: how you usually use windows [01:04] Raynos: cause it has the word administrator at the top right [01:04] Raynos: benvie: I dont usually use windows :( [01:04] benvie: when you do ;) [01:04] benvie: the separation between admin and normal is...not super great [01:04] cipher__: what's this speak of glass panes for? [01:05] benvie: because so much stuff ends up requiring it to work at all [01:05] Raynos: I still get the same EACCES error in admin mode [01:05] benvie: you can be denied access as admin [01:05] Raynos: ;_; [01:05] Raynos: wtf windows [01:05] benvie: you can grant yourself permission though [01:05] benvie: lol [01:06] benvie: but you have to specifically do it if you don't have permission [01:06] TheJH: you can get SYSTEM rights [01:06] Raynos: how would I go about doing that? [01:06] TheJH: and SYSTEM can usually access everything [01:06] benvie: right click on folder, properties [01:06] TheJH: at least in XP, I think they fixed it in Vista [01:06] benvie: windows has two separate sets of permissions which confuses people [01:06] TheJH: http://verbalprocessor.com/2007/12/05/running-a-cmd-prompt-as-local-system/ [01:07] benvie: and both need to be appropriate for you to do stuff [01:07] TheJH: Raynos, ^ for getting system rights :) [01:07] cjm has joined the channel [01:07] pgherveou has joined the channel [01:09] Raynos: TheJH: there must be a better way to get system reights [01:09] Sorella: cipher__, nothing wrong with your assumptions. Org-mode is the thing that doesn't seem to like commas as the first thing in a line, and I haven't checked the output afterwards. [01:10] TheJH: Raynos, no, because you're not really supposed to do that :D [01:10] Raynos: but I need to write to folders [01:10] Raynos: surely there must be a sensible way to get write permission on folders :\ [01:12] cipher__: Use Linux :p [01:12] Raynos: Im just going to use the GUI to make the folder not read-only :\ [01:12] joshsmith: I am really not sure how to use Vows at all [01:12] Raynos: just use nodeunit o/ [01:12] joshsmith: if I need my app, for example, how do I use that? [01:13] Raynos: require("app") [01:13] joshsmith: but I'm saying if the code I'm testing needs it [01:13] Raynos: https://github.com/Raynos/raynos-blog/blob/master/src/server.js#L10 [01:13] Raynos: joshsmith: thats why my code exports the app [01:13] MUILTFN has joined the channel [01:14] joshsmith: so how do you require that in your tests? [01:14] Murvin has joined the channel [01:15] joshsmith: (sorry, I'm still really new to this) [01:15] Raynos: https://github.com/Raynos/raynos-blog/blob/master/test/http/post.js#L101 [01:15] TheJH: Raynos, I think "cacls" can change folder permissions on the command line [01:15] Raynos: I think NPM creates read only folders :\ [01:15] Murvin: is that the right way to call SlaveOK by using Mongoose? SiteModel.slaveOK().find({}, function(err,docs) { ... } ); [01:17] maletor has joined the channel [01:18] Brandon_R_: brb guys [01:18] Brandon_R_: i love node.js [01:18] Brandon_R_: i will spread the word [01:18] Brandon_R_: door to door [01:18] Brandon_R_: Node.jS will rule the world [01:18] Brandon_R_: have to sleep now [01:20] bogomips2_ has joined the channel [01:23] scott_gonzalez has joined the channel [01:23] mike5w3c has joined the channel [01:24] fzzzy has joined the channel [01:26] Raynos: so npm has issues writing things to file when I should have the permissions. I checked the folders and I have full permissions. (in windows) [01:26] Raynos: Apart from breaking into SYSTEM mode, are there any recommendation on getting it to work? [01:27] Aria: Use folders you do have permission to? [01:29] Raynos: But I do have permission to it. Just npm says no :( [01:29] AvianFlu_ has joined the channel [01:32] michaelhartau has joined the channel [01:32] Daegalus has joined the channel [01:33] Sorella: run it as `sudo npm '? Though eh, I don't really know Windows. But npm seems to work fine for me in there, using the old non-native-windows version of Node. [01:36] Raynos: it works fine for most cases [01:36] Raynos: but when it balls out, your pretty ... [01:36] Daegalus_ has joined the channel [01:39] CodeRarity: is www.vowsjs.org broken for anyone else? [01:39] AvianFlu: works for me [01:40] soffi: works for me, slowly [01:40] gkatsev: http://www.isup.me/vowsjs.com [01:40] gkatsev: er [01:40] gkatsev: oops [01:40] CodeRarity: what? lol [01:41] gkatsev: http://www.isup.me/www.vowsjs.org [01:41] CodeRarity: gkatsev, it's not just me, but now it is? [01:41] gkatsev: it's up [01:41] gkatsev: CodeRarity: no, I messed up in the first one, used .com [01:41] CodeRarity: oh, I see [01:41] CodeRarity: thanks [01:41] gkatsev: CodeRarity: it seems a bit slow, but up [01:41] gkatsev: isup.me is great [01:41] CodeRarity: it works for me now, idk why it said there was an error before [01:42] lyte has joined the channel [01:42] Daegalus has joined the channel [01:43] tmcw has joined the channel [01:44] JanLi has joined the channel [01:46] Xeon06: Can anybody tell me why that's not working? Maybe there's a better way? http://pastebin.com/jJNmzNbC [01:48] daleharvey_ has joined the channel [01:49] tilgovi has joined the channel [01:49] isaacs: Raynos: the EACCES you're seeing is on a __blah.npm folder rename action, yes/ [01:49] isaacs: ? [01:49] isaacs: raydeo: oh, he left. [01:49] isaacs: oh well [01:49] lyte_ has joined the channel [01:49] Bonuspunkt has joined the channel [01:50] Daegalus_ has joined the channel [01:51] soffi: does express have a chan on freenode? [01:51] soffi: yes it does, sowwy ;) [01:52] mikey_p_ has joined the channel [01:52] augustl__ has joined the channel [01:52] scoates_ has joined the channel [01:52] akujin has joined the channel [01:52] przemoc86 has joined the channel [01:52] zigidias_ has joined the channel [01:53] royh_ has joined the channel [01:54] rektide_ has joined the channel [01:54] iFire` has joined the channel [01:54] r04r_ has joined the channel [01:54] Sembianc1 has joined the channel [01:55] MUILTFN has joined the channel [01:55] CiRlE_ has joined the channel [01:55] shachaf_ has joined the channel [01:55] kloeri_ has joined the channel [01:55] zamolxes_ has joined the channel [01:55] k1ttty has joined the channel [01:56] githogori__ has joined the channel [01:56] DoNaLd`_ has joined the channel [01:56] Raynos has joined the channel [01:56] munro__ has joined the channel [01:56] pig_ has joined the channel [01:56] lyte has joined the channel [01:56] arkx_ has joined the channel [01:57] clickthem has joined the channel [01:57] BombStrike has joined the channel [01:57] zigidias has joined the channel [01:57] fearphage has joined the channel [01:57] msch: can someone recommend a 'pure' websocket implementation? socket.io adds their own layer on top of websockets and i'm writing a desktop client [01:58] fson_ has joined the channel [01:58] nail_ has joined the channel [01:59] ryanfitz has joined the channel [01:59] JHartig|away: I'm writing one now for Grooveshark, but it isn't quite finished yet :/ We will be open sourcing it though when I'm done. [01:59] teadict: I thought everythine below socket.io was not worth it [01:59] teadict: Grooveshark is a "company"? [02:00] plutoniix has joined the channel [02:00] fastest963: umm, yes? http://grooveshark.com/about [02:00] msch: JHartig: too bad. will it show up at https://github.com/grooveshark ? no chance for early access? (I'd sign a CLA) [02:01] teadict: never thought of looking that up... mmhmm [02:01] jhurliman has joined the channel [02:01] teadict: what's their situation in terms of law? [02:02] fastest963: it will show up on there but sorry no chance yet. I have it stable but we're testing this week. I'll be able to put it public next week. [02:02] maushu: msch, define pure websocket implementation. [02:03] maushu: You mean client side? Server side? [02:03] msch: maushu: server side. i've found a few client side cocoa websocket libraries, but after reading some socket.io docs it appears it builds ping/pong and other features on top of websockets, which the cocoa libs almost certainly won't support [02:03] teadict: why not use socket.io nad support it? [02:04] maushu: Hmm. I think I have something like that around. [02:04] maushu: Even for client side for non-supporting browsers. [02:05] maushu: But aren't there modules in the module library? I remember seeing a couple. [02:05] msch: maushu: modules library? sorry, i'm totally new to node [02:05] msch: teadict: mostly because I don't need socket.io's advanced features [02:05] maushu: msch, https://github.com/joyent/node/wiki/modules#wiki-ws-ajax [02:06] teadict: then use its corey funcionality [02:06] teadict: I don't need all of express but I still use it [02:06] teadict: it'sb etter than write a routing system by mysel [02:06] teadict: f [02:07] cmr: teadict: its what functionality? Never seen that word uses like that [02:07] teadict: core-y [02:07] cmr: Ah [02:07] cmr: Not my name. Gotcha [02:07] maushu: Anyone here used backbone? [02:07] maushu: Client-side. [02:08] teadict: maushu: I heard it's awesome for both sides and I plan to start using it soon [02:08] Daegalus has joined the channel [02:08] pct has joined the channel [02:08] maushu: It is awsome, but a little confusing since it basically lets you do everything. [02:10] cipher__: Javascript question: If i initialize an object in a function, then push it into an array, (when not using the new operator) will the object passed still live after the function ends? Assuming the array is outside the scope of the function. Or will it point to nothing? [02:10] cmr: cipher__: Sounds like something real easy to test. [02:10] maushu: cipher__, yes, it will still live. [02:11] msch: teadict: i don't know, socket.io seems strange to me.. i mean having setting for 'log colors' clearly doesn't belong in there [02:11] maushu: msch, It does everything, even coffee. [02:11] cipher__: thanks, and i did test it, I got conflicting results (or so i thought). I just suck at js / node. [02:11] kriszyp3 has joined the channel [02:12] msch: maushu: yeah i think i'll try https://github.com/Worlize/WebSocket-Node + https.createServer hope that works out. [02:14] tyler-vortex has joined the channel [02:14] tyler-vortex has left the channel [02:17] a_meteorite has joined the channel [02:21] niftylettuce: anyone know how to do an object array of DBRef's in Mongoose? I asked in #mongoose but its not primetime in there now, https://gist.github.com/ce486e0b96531d76b5ce is my schema [02:21] amigojapan has joined the channel [02:22] niftylettuce: ah fixed it :) [02:23] towski has joined the channel [02:23] dthompso99 has left the channel [02:25] josh-k has joined the channel [02:26] zomg: What was I thinking when I wrote this... opts[k].push({ label: options[p].options[k] }) [02:26] zomg: I have no fucking clue what all those variables are... [02:26] zomg: :D [02:30] bogomips2__ has joined the channel [02:30] dthompso99 has joined the channel [02:31] fastest963: Anyone know why emitting events is blocking? I would think that they would have made it non-blocking using nextTick or something. [02:32] kriszyp3 has joined the channel [02:32] codygray has joined the channel [02:37] saikat has joined the channel [02:38] sdwrage has joined the channel [02:38] nerdfiles has joined the channel [02:38] cipher__: I probably completely misunderstand what I am attempting to do, despite knowing my code is probably nonsense this is it: http://pastebin.com/jeaxtmpy My issue as i see it is that the object declared as remote is undefined. Could anyone help me a bit? [02:38] adrianF has joined the channel [02:41] nerdfiles has left the channel [02:41] jrogers has joined the channel [02:42] nodebiscut has joined the channel [02:42] appinsanity-mike has joined the channel [02:43] appinsanity-mi-1 has joined the channel [02:43] fzzzy has joined the channel [02:45] brianseeders has joined the channel [02:47] scott_gonzalez has joined the channel [02:49] chops_ has joined the channel [02:49] Guest97732 has left the channel [02:51] cipher__: could anyone tell me why this code is claiming the remote variable is not defined? [02:51] cipher__: http://pastebin.com/jeaxtmpy [02:51] cipher__: (or help me find it :P) [02:51] towski has joined the channel [02:55] amigojapan__ has joined the channel [02:57] mandric has joined the channel [03:00] spathi has joined the channel [03:04] sdwrage has joined the channel [03:05] maletor has joined the channel [03:07] towski has joined the channel [03:10] r04r has joined the channel [03:12] blaenk has joined the channel [03:12] blaenk has joined the channel [03:14] gavin_huang has joined the channel [03:21] adamstantonvan has joined the channel [03:24] Raynos: Am I the only person who debugs purely with `console.log` ? [03:24] cognominal has joined the channel [03:25] fastest963: cipher__: it says the paste id is unknown. [03:26] davidascher has joined the channel [03:26] fastest963: Raynos: I can usually find the error by looking at the code but if I can't, then I use console.log. [03:26] Raynos: "looking at the code" [03:26] Raynos: do you have some magical skill set [03:26] fastest963: If you use try catch, be sure to print the e.stack [03:27] fastest963: so you can figure out where it occured, that will usually help [03:27] Raynos: I guess it depends what kind of error were talking about, run-time syntax errors are easy to fix [03:27] joshkehn has joined the channel [03:27] Raynos: I'm mainly thinking methods dont behave as I expect, whats going wrong. [03:27] Raynos: Also why would I use try catch :( it's evil [03:28] fastest963: It's evil? what do you mean? [03:29] Raynos: why would you ever throw an error to be caught [03:29] Raynos: you pass errors through callbacks [03:29] Raynos: its the node way [03:30] Raynos: I mean you can use try catch in certain libraries (like test runners), but I dont use it in application code [03:31] saikat has joined the channel [03:31] fastest963: maybe its just me but most of the time when I want to debug something its because I didn't expect an error to happen where it did. It's not because i expected an error to be there and returned. [03:32] lwille has joined the channel [03:32] Raynos: I dont wrap code in try & catch when I debug [03:32] fastest963: instead you use console.log [03:33] Raynos: yes, as in I log the state of data as it flows through the program [03:33] Raynos: and I log pointers like "here" and "there" and "descriptive name" [03:33] Raynos: You know all the things you would use breakpoints for and looking at the local variables stack [03:34] fastest963: ya, gotcha. I rately debug changes to a variable, I guess because I don't run into problems that require that. [03:36] catb0t has joined the channel [03:36] dingomanatee has joined the channel [03:36] JakeyChan has joined the channel [03:38] secoif has joined the channel [03:38] meso_ has joined the channel [03:40] raincole has joined the channel [03:42] Industrial has joined the channel [03:43] MichealBenedict has joined the channel [03:43] MichealBenedict has left the channel [03:45] MichealBenedict has joined the channel [03:46] cipher__: fastest963: http://pastebin.com/u5JX4Rkd [03:47] realguess has joined the channel [03:47] mjr_ has joined the channel [03:48] davidascher has joined the channel [03:49] nicholasf has joined the channel [03:49] jtsnow has joined the channel [03:50] ekryski has joined the channel [03:54] fastest963: cipher__: Its weird that you are doing a variable like that [03:55] cipher__: fastest963: yeah, i am watching a talk on javascript atm. I was essentially trying to create a new object type, initialize a new object of that type, then push it by value into the array, hoping it would then be allocated and live in the array. Leaving new room for the next object. [03:56] cipher__: so in c++: type * x = new c(); vector.push_back(x); type of thing [03:56] knifed has joined the channel [03:56] cipher__: ACTION is insane [03:58] fastest963: http://pastebin.com/5TvU0WaF [03:58] donwb has joined the channel [03:58] fastest963: Oh, but on line 20, you want to push remote not socket [03:59] donwb has left the channel [04:00] fastest963: and I don't understand the console.log(clientList[0].ID)? why are you printing out the first client's ID all the time? [04:00] JakeyChan: hey ? [04:00] cipher__: fastest963: debug [04:00] cipher__: debugging* [04:00] JakeyChan: do you know how to fix the SEO problem when render html on client side ? [04:02] fastest963: gotcha, well you need to make sure you are pushing remote and not socket [04:02] fastest963: otherwise ID will be undefined [04:02] broofa has joined the channel [04:03] lyte has joined the channel [04:03] lyte has joined the channel [04:04] langworthy has joined the channel [04:04] alystair has joined the channel [04:05] michaelhartau has joined the channel [04:06] davidbanham has joined the channel [04:07] smathy has joined the channel [04:11] boehm has joined the channel [04:11] lorin has joined the channel [04:13] areed has joined the channel [04:13] davidbanham has joined the channel [04:14] liamre has joined the channel [04:14] criswell has joined the channel [04:14] knifed has joined the channel [04:14] JumpMast3r has joined the channel [04:15] nerdfiles1 has joined the channel [04:15] nerdfiles1 has left the channel [04:17] ecin has joined the channel [04:19] ecin_ has joined the channel [04:20] p1d_ has joined the channel [04:20] MUILTFN has joined the channel [04:24] fzzzy has joined the channel [04:24] knifed has joined the channel [04:25] towski has joined the channel [04:31] JakeyChan has joined the channel [04:38] sdwrage has joined the channel [04:44] adamstantonvan has joined the channel [04:46] saikat has joined the channel [04:49] kriszyp3 has joined the channel [04:54] harthur has joined the channel [04:57] codygray has joined the channel [05:00] davidbanham has joined the channel [05:02] chirag has joined the channel [05:05] _dc has joined the channel [05:09] chirag: any xml parsing module in node? [05:10] tommyvyo has joined the channel [05:10] tommyvyo has joined the channel [05:12] Aria: Yes. [05:12] Aria: npm search xml [05:12] dr0id has joined the channel [05:15] chirag: aria: building index! [05:15] chirag: thanks for info [05:19] ryan0x2 has joined the channel [05:19] kenperkins has joined the channel [05:21] chirag: aria: node-xml seems to be interesting..any hands on experience with it or any other xml parsing module which you recommend? [05:21] chirag: need to parse google feed [05:22] Aria: None. I've not used XML in node myself. (thankfully -- been in json land long enough) [05:22] Aria: What kind of access do you need to it? DOM or streaming? [05:23] chirag: streaming [05:23] diogogmt has joined the channel [05:24] Aria: Nice. [05:24] Aria: node-xml sounds like a great tool for that task then [05:24] chirag: cool..;) [05:26] codygray has joined the channel [05:27] jackbean has joined the channel [05:29] tomlion has joined the channel [05:32] JakeSays: so how well does node.js work for servicing ajax/rest requests? [05:33] Aria: Very. [05:33] niftylettuce: havin troubles myself with some ajax [05:33] JakeSays: is there a framework for parsing the requests, or do i just roll my own? [05:33] niftylettuce: keep getting 403's :'( [05:33] knifed_ has joined the channel [05:34] SubStack: JakeSays: it's super great for that and it's even better at streaming requests and responses [05:34] Aria: JakeSays: the built-in http server? Express? So many options. [05:34] SubStack: JakeSays: usually you just JSON.parse() and JSON.string() the requests and results [05:34] SubStack: although if you have streaming JSON data you could use JSONStream [05:35] SubStack: I wonder why more people don't do streaming ajax [05:35] JakeSays: cool. sounds like it'll work. [05:35] SubStack: all the browsers except for the IEs support it, just set the content-type to multipart/octet-stream [05:35] JakeSays: i'm gonna use it to mock a web service [05:35] SubStack: then http-browserify makes the api just like node's [05:35] SubStack: I should port request to browserify [05:36] JakeSays: browserify? [05:36] SubStack: there are also some extensions to do multipart requests on the client side of things [05:36] langworthy has joined the channel [05:36] SubStack: I'm not as sure what the browser support for those looks like [05:37] JakeSays: hmm. my node build is about 10 days old. wonder if much has changed since then [05:37] SubStack: JakeSays: browserify is a module that lets you write browser-side code just like node code with require()s and whatever [05:37] JakeSays: ah [05:37] JakeSays: hmm. 0.6.4 is out [05:40] Wizek-other2 has joined the channel [05:41] davidbanham has joined the channel [05:42] davidascher has joined the channel [05:43] jackbean has joined the channel [05:43] wilmoore has joined the channel [05:44] JakeSays: so whats the state of npm on windows with 0.6x? [05:44] Leemp3: Anyone here run Cloud9? [05:47] JakeSays: Leemp3: i tried.. was too much effort to get up and running [05:47] JakeSays: although i'm thinking about giving it another go on linux [05:48] Leemp3: It seems easy so far (i can curl 127.0.0.1:3000 and get a response), i just can't get it to work from outside of my localhost lol [05:48] JakeSays: which platform are you on? [05:48] Leemp3: I'm hoping it's my version of node.. ubuntu seems to only be running 0.4.9 [05:48] JakeSays: c9 uses a very old version of node (.2 something) [05:49] Renegade001 has joined the channel [05:49] Leemp3: But yea, my end goal is to somehow run Cloud9 locally, so i can run binary extensions.. eg, so i can use JSDOM, etc. [05:50] Leemp3: And wow, good to know. I'll try grabbing an older version and compiling it [05:50] JakeSays: isnt node in the c9 repo? [05:51] Leemp3: Not sure, i have the repo, but i never saw it. To run it you simply run bin/cloud9.sh, so i never even saw node.. [05:51] JakeSays: ah ok [05:52] Leemp3: Looks like it runs this, "support/node-builds-v4/node-linux64 bin/cloud9.js" [05:52] dshaw_ has joined the channel [05:53] plutoniix has joined the channel [05:53] JakeSays: wtf.. the node windows installer doesnt give me any install options [05:54] k1ttty has joined the channel [05:56] lyte has joined the channel [05:56] lyte has joined the channel [05:59] Leemp3: Yea, my problem is i get this every time.. " warn - error raised: Error: EADDRNOTAVAIL, Cannot assign requested address" [06:02] lyte_ has joined the channel [06:03] subbyyy has joined the channel [06:03] gkatsev: Leemp3: are you having node listen to 127.0.0.1? if so, you wont be able to get to it from outside localhost [06:04] Leemp3: gkatsev: Well, technically when i run cloud9 with no options, it works locally no problem. When i give it a new address, so that it can be connected to from more than just 127.0.0.1, that's when i get that error [06:05] Leemp3: gkatsev: The cloud9 readme says "bin/cloud9.sh -l all" if you want to run cloud9 on all addresses, but that gives the above error [06:05] Leemp3: Same with any other address i've used with -l [06:06] knifed_ has joined the channel [06:06] gkatsev: weird [06:07] crcn has joined the channel [06:07] kerigan has joined the channel [06:08] JakeSays: Leemp3: perhaps something else is sitting on port 80? [06:08] JakeSays: oh.. you're on 3000. n/m [06:08] Leemp3: Yea, i've also tried giving it other ports [06:08] gut4 has joined the channel [06:09] diogogmt has joined the channel [06:09] kerigan: hello anyone know how to open an Image from the web into node canvas? [06:09] Leemp3: Besides, i can run a node.js app on the port/address specified no problem [06:10] kerigan: something like: var img = new Image; [06:10] kerigan: img.src = 'http://www..'; [06:10] kerigan: ctx.drawImage(img, 0, 0); [06:11] knifed__ has joined the channel [06:11] jacobolus has joined the channel [06:12] JakeSays: kerigan: i believe thats basically it [06:12] kerigan: hm i'm getting Error: Image given has not completed loading, doing that [06:13] JakeSays: ah then maybe wait for it to be loaded before calling drawImage [06:13] JakeSays: download the image locally and try it [06:13] kerigan: how do I wait :S [06:14] JakeSays: well, in a browser you can do img.load = function(){} [06:14] JakeSays: not sure if its the same node side [06:17] plantian has joined the channel [06:17] gkatsev: yeah, node-canvas doesn't allow you to do that [06:18] JakeSays: kerigan: if you're going to be doing a lot of canvas stuff server side node-canvas might not be the best option [06:18] gkatsev: if you are loading from the filesystem, you can just read the file and then set the source to that variable. like in the node-canvas examples [06:19] kerigan: yeah goat I've seen that example, but my images are on amazon s3 [06:20] kerigan: i mean gkat, lol lain auto correct need to turn that off [06:20] OSInet has joined the channel [06:20] gkatsev: you can do the same thing, more or less too. get the image via an http request [06:20] gkatsev: then set the src to be that variable [06:20] JakeSays: kerigan: yeah you'll just have to manage pulling the images manually [06:21] kerigan: hm ok then ill do that thanks so far :) [06:21] criswell has joined the channel [06:22] Samuel_Roldan has joined the channel [06:22] JakeSays: kerigan: tried using node-canvas for some server side work, but it was too limiting. i ended up using a customized chromium build [06:23] braoru has joined the channel [06:24] diogogmt has joined the channel [06:26] ramitos has joined the channel [06:29] bbenvie has joined the channel [06:29] kerigan: that sounds like a lot of tinkering though [06:29] JakeSays: yeah but it was a lot of fun [06:30] JakeSays: and i can generate vectorized PDFs from tags with embedded svg images [06:30] necromancer: hey i'm getting this when installing node from git [06:31] necromancer: "`make install` is not implemented yet. Bug bnoordhuis about it in #node.js" [06:31] makeInstallBot: necromancer: `make install` is not supported on current node.js `master` due to build system refactor. Please use latest stable tag (v0.6.x). [06:31] necromancer: oh never mind [06:31] necromancer: lol [06:31] necromancer: <3 [06:32] msch: what's the position on extending inbuild prototypes? e.g. adding Array.prototype.remove and stuff? Is there something like ruby's activesupport for node? [06:34] JakeSays: msch: the position? [06:34] msch: JakeSays: what do more experienced node devs say about it? [06:34] gkatsev: msch: you can do whatever you want. Generally, you want to avoid augmenting the default prototypes, but if you really want to, go ahead. If you break shit, dont blame us. [06:34] _dc has joined the channel [06:34] JakeSays: msch: its just javascript.. [06:35] msch: JakeSays: yeah and to this day i don't understand what's bad about extending the inbuild prototypes. everyone does it in objective c and ruby without blowing everything up [06:35] micheil has joined the channel [06:35] necromancer: msch: because in javascript, if two libraries override the same method...one of them is going to work and the other is not [06:36] JakeSays: msch: it gets messy when you have 50 different 3rd party libs adding Array.remove() [06:36] necromancer: actually that's the same with ruby and obj-c too :) [06:36] necromancer: msch: so if you're just doing this for your own project and not planning to release it as a library, i'd say you're safe if you really want to do it [06:36] nerdy_ has joined the channel [06:36] necromancer: or if you really need to [06:36] msch: i want to :) [06:36] necromancer: but definitely don't if you're making a library that other people are going to use [06:36] msch: yeah obviously [06:37] msch: just like in every other lang [06:37] gkatsev: if you do plan to make it a lib, have a compatability function that removes the functions from default prototypes and instead adds it to some namespace. [06:37] msch: i was just wondering if there's something like activesupport that gives me more complete prototypes without me having to code them all myself [06:37] msch: i'm writing an app [06:38] kerigan: weird still getting Error: Image given has not completed loading with local files [06:38] ryanj has joined the channel [06:38] necromancer: msch: the "rule" of not augmenting prototypes in JS was really due to its status as a browser language. since there were several different implementations of the language your code could possibly be executed on, people had to be a little more careful about what they did. [06:38] necromancer: it's part of the reason why prototype.js failed and jQuery succeeded. jQuery didn't extend the DOM, it wrapped the DOM node in its own object. [06:39] necromancer: not sure why it's adhered to in the commonjs/node/v8 community though. [06:39] msch: ok [06:39] msch: necromancer: thanks. [06:39] gkatsev: necromancer: because node is still js. I think it's a good practice and should be avoid unless You Know What You Are Doing(tm). [06:40] JakeSays: kerigan: yeah i never had much luck with node-canvas (and come to think of it, most of my issues were with images) [06:40] necromancer: I agree [06:40] necromancer: there are very few reasons for why you need to extend built-in objects [06:40] necromancer: however, the fact that you can do that is still awesome [06:40] msch: there's only one right? readability [06:40] necromancer: partially [06:40] JakeSays: its like people adding classes to the System namespace in c#. it really bugs me [06:40] gkatsev: though, sugarjs is a pretty cool [06:40] Leemp2 has joined the channel [06:41] JakeSays: msch: i'd argue it doesnt help with readability [06:41] msch: gkatsev: sugarjs! that's what i've been looking for. thanks! [06:41] zeade has joined the channel [06:41] gkatsev: msch: haha, you're welcome. [06:41] plutoniix has joined the channel [06:42] necromancer: msch: that is one. efficiency is another. [06:42] satyr has joined the channel [06:42] gkatsev: oh, I guess sugar exists as an npm module [06:42] msch: JakeSays: how is something.pluck('whatever').include(somethingelse) less clear than _.include(_.pluck(something, 'whatever'), somethingelse) ? [06:43] necromancer: it's more efficient, I think, to extend the Date object to allow it to accept a date string of "m/d/y" because you don't have to instantiate another object in order to get what you want out of the function [06:43] JakeSays: msch: because when i to go read the docs on something, i expect to find something.pluck [06:44] JakeSays: which i wouldn't because its some hack someone added t pluck [06:44] JakeSays: er, to something [06:44] necromancer: otherwise you'd have to make a function that takes a string, parses it, and instantiates a Date with those values [06:44] ditesh|cassini has joined the channel [06:44] necromancer: but if you wanted to change the Date to the value of the string, you'd actually have to overwrite it rather than change the object's properties [06:44] JakeSays: msch: i'd also argue that _ is a piss poor name for, well, anything [06:45] necromancer: JakeSays: $ was taken ;) [06:45] JakeSays: necromancer: $ is just as poor [06:45] gkatsev: underscore is pretty cool [06:45] diogogmt has joined the channel [06:45] necromancer: $ at least is familiar [06:45] JakeSays: gkatsev: underscore is handy, but _ sucks ass as a name [06:45] JakeSays: so does $ [06:45] gkatsev: $ is techinically missused as a variable name [06:45] maletor has joined the channel [06:45] necromancer: it serves a purpose? [06:46] gkatsev: well, kind of [06:46] JakeSays: what purpose? [06:46] gkatsev: it's supposed to represent a variable holding machine code [06:46] msch: JakeSays: well that's a problem with the documentation browser :) Xcode got it pretty right with support for category methods [06:46] gkatsev: or something like that [06:46] JakeSays: msch: i dont use xcode [06:47] msch: JakeSays: yeah but what i meant is that it's a problem that can be solved by extending the tools [06:47] msch: JakeSays: since you probably only have 2-3 different pluck methods in your whole codebase [06:48] JakeSays: msch: i'd rather the library be written/documented properly [06:48] msch: JakeSays: btw, what documentation browser do you use? [06:48] JakeSays: ah.. i use everal [06:48] JakeSays: *several [06:48] gkatsev: a web browser [06:48] JakeSays: ^ [06:49] JakeSays: for everything but ms docs, yeah, a browser [06:49] necromancer: gkatsev: how can you write machine code in a language built to run in a high-level virtual machine? [06:49] JakeSays: necromancer: with jslinux. lol [06:49] msch: hehe, i meant the node equivalent of rdoc.info vs ruby-doc.org vs some native app whatever [06:49] necromancer: bash uses it to represent all vars, as does perl and php [06:50] JakeSays: msch: uh, i just use the web site docs for whatever lib i'm using.. not sure what you're asking [06:50] msch: JakeSays: i was looking for some documentation aggregation pages where i can search through many npm libs at once [06:50] JakeSays: ah [06:51] JakeSays: no idea. i just started using npm (literally 10 minutes ago) [06:51] necromancer: i always thought JS included it as an optional character in variables so php programmers would feel more comfortable [06:51] JakeSays: necromancer: i figured it was because it was valid in c++ [06:51] jhurliman: it's completely untested (still haven't chosen a favorite unit testing library with node.js), but i just finished the first version of my rate limiting library. https://github.com/jhurliman/node-rate-limiter [06:52] necromancer: oh yeah i guess that makes more sense [06:52] kenperkins has joined the channel [06:53] gkatsev: necromancer: ah, the machine and the code parts were both correct. just not together. $ is supposed to be used by machine generated javascript code so it will be less likely to interfere with other identifiers [06:53] JakeSays: dang. creating a rest service in express looks like it'd be super easy [06:53] JakeSays: gkatsev: you were close - just forgot the 'generated javascript' part. lol [06:54] gkatsev: lol, yep [06:55] Kunda has joined the channel [06:56] garrensmith has joined the channel [06:57] JakeSays: hmm [06:59] gkatsev: ok, I need to sleep [06:59] gkatsev: night [06:59] JakeSays: i wonder how well it'd work using data urls for images to download 300 images at once [07:02] joshsmith: anyone know of a good way I should be mocking a database? [07:02] joshsmith: or, should I be mocking at all, and do full-blown integration/acceptance testing? [07:02] joshsmith: if so, how should I set up the database? [07:04] JakeSays: yes to both [07:04] JakeSays: joshsmith: ^ [07:04] joshsmith: JakeSays: I should just do full-blown testing? [07:04] JakeSays: but you should really be asking the question "should i be mocking a service layer" [07:04] joshsmith: that's kind of the way I've gone before, but I want to get my theory straight here [07:04] JakeSays: you should always put your db behind a service layer [07:05] joshsmith: JakeSays: how do you mean? [07:05] jakehow has joined the channel [07:05] joshsmith: (assume I'm stupid and just go from there) [07:05] JakeSays: well, you should have a dal or orm between your code and the db [07:06] JakeSays: to abstract your business logic from the db schema [07:06] joshsmith: I'm using Postgres, so idk what kind of layer I would have [07:06] JumpMast3r has joined the channel [07:06] joshsmith: it'd be more obvious if I were using Mongo or something [07:07] dwhittle has joined the channel [07:08] joshsmith: any thoughts on that JakeSays? [07:09] JakeSays: joshsmith: no, i haven't used postgress in.. like 12 years [07:09] tommyvyo has joined the channel [07:09] chadskidmore has joined the channel [07:09] joshsmith: what do you use now? [07:09] JakeSays: mostly oracle [07:10] diogogmt has joined the channel [07:10] joshsmith: oh, so still relational [07:10] JakeSays: lol still? [07:11] joshsmith: I mean, you'd still have some insights about a dal/orm [07:12] JakeSays: i use bltoolkit as my orm on .net [07:12] JakeSays: these days it seems everything i do involving databases is through .net [07:16] braoru has joined the channel [07:16] PhilK has joined the channel [07:18] fangel has joined the channel [07:23] mike5w3c_ has joined the channel [07:24] indexzero has joined the channel [07:24] diogogmt has joined the channel [07:25] SamuraiJack has joined the channel [07:28] jaket has joined the channel [07:32] CIA-109: node: 03Ryan Dahl 07v0.6 * r1cf26e2 10/ (4 files in 2 dirs): Upgrade V8 to 3.6.6.11 - http://git.io/q_yCAg [07:32] idefine has joined the channel [07:33] jstash has joined the channel [07:36] langworthy has joined the channel [07:37] diogogmt has joined the channel [07:38] gut4 has joined the channel [07:39] meso has joined the channel [07:41] Emmanuel` has joined the channel [07:42] langworthy has joined the channel [07:43] alystair has joined the channel [07:44] rendar has joined the channel [07:46] k1ttty has joined the channel [07:47] jackbean has joined the channel [07:47] rwasielewski has joined the channel [07:48] Emmanuel has joined the channel [07:49] codygray has joined the channel [07:51] diogogmt has joined the channel [07:52] bogomips2_ has joined the channel [07:52] caolanm has joined the channel [07:54] jspiros has joined the channel [07:59] ryan0x2 has joined the channel [08:01] isaacs has joined the channel [08:02] tommyvyo has joined the channel [08:03] insin has joined the channel [08:05] bogomips2__ has joined the channel [08:05] kazupon has joined the channel [08:05] JakeyChan has joined the channel [08:06] towski has joined the channel [08:08] JanLi has joined the channel [08:09] koo1 has joined the channel [08:09] CIA-109: node: 03Ryan Dahl 07v0.6 * r60e2666 10/ lib/child_process.js : Remove superfluous 'new' - http://git.io/fHIRKw [08:11] diogogmt has joined the channel [08:24] kazupon has joined the channel [08:25] diogogmt has joined the channel [08:25] ph^ has joined the channel [08:28] garrensmith has joined the channel [08:32] HT has joined the channel [08:32] Sami_ZzZ has joined the channel [08:34] huskyr has joined the channel [08:37] jetienne has joined the channel [08:38] diogogmt has joined the channel [08:38] uchuff has joined the channel [08:43] michaelhartau has joined the channel [08:45] kazupon has joined the channel [08:45] gregpascale has joined the channel [08:46] Druid_ has joined the channel [08:46] raincole has joined the channel [08:47] raincole has joined the channel [08:48] raincole has joined the channel [08:48] raincole has joined the channel [08:49] raincole has joined the channel [08:49] raincole has joined the channel [08:50] raincole has joined the channel [08:50] magnetik has joined the channel [08:51] raincole has joined the channel [08:51] raincole has joined the channel [08:52] raincole has joined the channel [08:52] raincole has joined the channel [08:53] raincole has joined the channel [08:54] raincole has joined the channel [08:54] rwasielewski has joined the channel [08:54] raincole has joined the channel [08:55] raincole has joined the channel [08:55] raincole has joined the channel [08:56] romanb has joined the channel [08:56] raincole has joined the channel [08:58] raincole has joined the channel [08:58] diogogmt has joined the channel [08:58] arcanis has joined the channel [08:59] raincole has joined the channel [08:59] DennisRasmussen has joined the channel [08:59] CIA-109: node: 03Ryan Dahl 07v0.6 * r6cc94db 10/ (4 files in 3 dirs): Bump version to v0.6.5 - http://git.io/nm7mwQ [08:59] airborn has joined the channel [09:00] raincole has joined the channel [09:00] raincole has joined the channel [09:01] secoif has joined the channel [09:01] raincole has joined the channel [09:01] hackband has joined the channel [09:03] raincole has joined the channel [09:03] raincole has joined the channel [09:04] raincole has joined the channel [09:04] raincole has joined the channel [09:05] raincole has joined the channel [09:05] atsuya has joined the channel [09:06] raincole has joined the channel [09:06] raincole has joined the channel [09:07] MUILTFN has joined the channel [09:07] raincole has joined the channel [09:07] jldbasa has joined the channel [09:07] raincole has joined the channel [09:08] raincole has joined the channel [09:09] raincole has joined the channel [09:09] CIA-109: node: 03Ryan Dahl 07v0.6 * rc50b0c9 10/ src/node_version.h : Now working on Node v0.6.6 - http://git.io/3gghGg [09:09] raincole has joined the channel [09:09] huskyr has joined the channel [09:10] raincole has joined the channel [09:10] raincole has joined the channel [09:10] huskyr_ has joined the channel [09:11] raincole has joined the channel [09:11] raincole has joined the channel [09:12] raincole has joined the channel [09:12] diogogmt has joined the channel [09:12] raincole has joined the channel [09:12] benlyn has joined the channel [09:13] raincole has joined the channel [09:13] raincole has joined the channel [09:14] raincole has joined the channel [09:14] raincole has joined the channel [09:14] willwh has joined the channel [09:14] willwh has joined the channel [09:15] raincole has joined the channel [09:16] raincole has joined the channel [09:16] raincole has joined the channel [09:17] raincole has joined the channel [09:17] gut4 has joined the channel [09:17] raincole has joined the channel [09:18] raincole has joined the channel [09:18] raincole has joined the channel [09:19] raincole has joined the channel [09:19] jimt has joined the channel [09:19] raincole has joined the channel [09:20] raincole has joined the channel [09:20] raincole has joined the channel [09:21] raincole has joined the channel [09:21] raincole has joined the channel [09:21] josh-k has joined the channel [09:22] brianseeders has joined the channel [09:22] raincole has joined the channel [09:22] pgherveou has joined the channel [09:22] raincole has joined the channel [09:22] cesconix has joined the channel [09:23] tomlion_ has joined the channel [09:23] jacobolus has joined the channel [09:23] raincole has joined the channel [09:23] raincole has joined the channel [09:24] raincole has joined the channel [09:24] raincole has joined the channel [09:25] raincole has joined the channel [09:25] raincole has joined the channel [09:26] raincole has joined the channel [09:26] raincole has joined the channel [09:27] raincole has joined the channel [09:28] raincole has joined the channel [09:28] truedat101 has joined the channel [09:28] raincole has joined the channel [09:28] lwille has joined the channel [09:28] raincole has joined the channel [09:29] raincole has joined the channel [09:29] raincole has joined the channel [09:30] raincole has joined the channel [09:30] raincole has joined the channel [09:31] bosphorus has joined the channel [09:31] raincole has joined the channel [09:32] raincole has joined the channel [09:32] raincole has joined the channel [09:33] thalll has joined the channel [09:33] knifed has joined the channel [09:33] raincole has joined the channel [09:33] raincole has joined the channel [09:34] ecin has joined the channel [09:34] bosphorus_ has joined the channel [09:34] elliottcable: Anybody know what name mscdex goes by on Freenode, if not that exact nick? [09:34] raincole has joined the channel [09:34] ritch has joined the channel [09:35] raincole has joined the channel [09:35] elliottcable: and while I'm at it, pquerna / SubStack, one of you might want to temporarily-ban raincole. He seems to be stuck in the revolving door. [09:35] SubStack: :/ [09:35] raincole has joined the channel [09:36] raincole has joined the channel [09:36] AndreasMadsen has joined the channel [09:36] SubStack: done [09:36] elliottcable: ACTION /ht SubStack [09:36] SubStack: ht? [09:36] elliottcable: SubStack: do you know mscdex? Seen him around here by that nick, or does he go by something else / not use IRC? [09:36] elliottcable: hat-tip [09:37] SubStack: I've used some of mscdex's libs [09:37] mmalecki: elliottcable: msddex, I think [09:37] elliottcable: How does on generally build a Node module? [09:37] SubStack: and seen that handle in this channel before [09:37] elliottcable: I've git-cloned node-ncurses, but I've no idea how to go about building it. [09:37] mmalecki: *mscdex [09:37] elliottcable: Too used to `rake make` or similar [09:37] elliottcable: mmalecki: thanks. I'll catch him when he awakes, then [09:38] SubStack: elliottcable: write an index.js with some exports [09:38] SubStack: then write a package.json for it [09:38] SubStack: then npm publish [09:38] SubStack: and write tests if you're awesome [09:38] elliottcable: hm, so just `npm publish` in his directory? [09:38] elliottcable: I was trying to do this *without* NPM [09:38] SubStack: a pull request? [09:38] elliottcable: because `npm install ncurses` is how I was running into this problems previously [09:39] elliottcable: SubStack: what? Did I say something about a pull request? :x [09:39] elliottcable: ACTION backs up [09:39] SubStack: oh building [09:39] adambeynon has joined the channel [09:39] SubStack: npm install . [09:39] elliottcable: I'm trying to install node-ncurses. It failed. Now, I've cloned the code, and want to experiment with building it by hand, but can't figure out how. [09:39] SubStack: if it has a scripts.install in the package.json [09:39] SubStack: otherwise node-waf clean build [09:40] elliottcable: mmmmm good, `node-waf configure build` in the package.json, so I can just use that? [09:40] elliottcable: good, good [09:40] SubStack: if node-waf even still works [09:40] elliottcable: thanks SubStack :D [09:40] elliottcable: even still works? :x [09:40] mmalecki: it's going to get replaced by gyp [09:41] elliottcable: Heh. Build-tool shenanigans. [09:41] elliottcable: okay now *that's* annoying. [09:41] elliottcable: `CC=gcc node-waf configure build` completes successfully. [09:42] elliottcable: and yet the `CC=gcc npm install ncurses` failed, the build fell apart for reasons that were unclear. [09:42] ecin_ has joined the channel [09:42] elliottcable: mmm, might just be a difference in the versions. Beyond downloading the source to node_modules and running the pre-install build, is there anything else npm does that I need to be aware of? [09:42] magnetik has joined the channel [09:42] elliottcable: or, to turn my question on its head: can I simply clone his code into node_modules by hand, run the build manually, and then be done? [09:44] jbpros has joined the channel [09:44] elliottcable: Hmmmm. No, npm must do something else as well; building with node-waf by hand doesn't spit out the ncurses_addon that his index file require()'s... [09:49] pgherveou has joined the channel [09:52] monokrom_ has joined the channel [09:56] martin_sunset has joined the channel [09:56] slajax has joined the channel [09:56] michaelh_ has joined the channel [09:57] HRSatiya has joined the channel [09:57] ecin_ has joined the channel [09:59] cesconix has joined the channel [10:00] CodeRarity has joined the channel [10:01] lmorchard has joined the channel [10:01] benlyn has joined the channel [10:02] diogogmt has joined the channel [10:03] DamonOehlman has joined the channel [10:03] tomyan has joined the channel [10:04] kazupon has joined the channel [10:09] saurabh has joined the channel [10:11] stonebranch has joined the channel [10:13] michaelhartau has joined the channel [10:13] johnnywengluu: a question .. how many users here are using vim? [10:13] dr0id: 216 [10:14] Lorentz: Over 9000 [10:14] Dulak: 484 [10:14] johnnywengluu: haha let me rephrase .. who is using vim in here instead of IDEs like Cloud9 [10:15] dr0id: 217 [10:15] diogogmt has joined the channel [10:15] ShinyDarkness: johhnywengluu: I use MacVim, does that count as vim? [10:15] michaelh_ has joined the channel [10:16] johnnywengluu: ShinyDarkness: let me check it out =) [10:18] huskyr has joined the channel [10:18] d0k has joined the channel [10:18] liar has joined the channel [10:19] stagas has joined the channel [10:20] loob2 has joined the channel [10:20] e-1 has joined the channel [10:21] saesh has joined the channel [10:21] diogogmt has joined the channel [10:23] xaxxon has joined the channel [10:23] xaxxon has left the channel [10:25] Cromulent has joined the channel [10:27] mikeric has joined the channel [10:27] stinnes has joined the channel [10:28] petrjanda has joined the channel [10:28] jonaslund has joined the channel [10:29] stagas has joined the channel [10:31] HRSatiya: I hav npm installed html2jade.. but its throwing html2hade command not found [10:31] HRSatiya: Am i missing anything ? [10:32] markwubben has joined the channel [10:32] herbySk has joined the channel [10:34] smh has joined the channel [10:34] stagas: HRSatiya: 'npm install html2jade -g' and try again [10:36] coreb has joined the channel [10:36] jetienne has joined the channel [10:37] tlynn has joined the channel [10:37] tih-ra has joined the channel [10:38] diogogmt has joined the channel [10:40] PhilK has joined the channel [10:43] diogogmt has joined the channel [10:49] stagas has joined the channel [10:52] huskyr has joined the channel [10:52] stephank has joined the channel [10:53] Wizek has joined the channel [10:54] mraleph has joined the channel [10:54] plutoniix has joined the channel [10:55] diogogmt has joined the channel [10:57] Hamms has joined the channel [10:57] iRoj has joined the channel [10:59] cesconix has joined the channel [11:00] TrionUser has joined the channel [11:02] huskyr has joined the channel [11:03] sergey_uk: Hi all, is there any known nodejs hosting which actually works? tried a bunch from the list from wiki and no one really works for a basic app nodejs+socket.io [11:03] smgt has joined the channel [11:03] huskyr has joined the channel [11:05] tomyan has joined the channel [11:06] k1ttty has joined the channel [11:07] AndreasMadsen has joined the channel [11:08] diogogmt has joined the channel [11:12] mlangenberg has joined the channel [11:13] mlangenberg: Can anybody running on node 0.4.x run some code in repl for me? [11:13] mlangenberg: crypto.createHash('sha256').update('ë').digest('hex') [11:14] mmalecki: mlangenberg: f8d20e598df20877e4d826246fc31ffb4615cbc059aec9ec8e5b28951d844a3f [11:14] mlangenberg: thx [11:14] mlangenberg: Ruby gives me: b19cfb01639de63ec3d32df67b70cb7a56316f9ef5186fd290293abbcf0b8867 [11:14] jetienne: > require('crypto').createHash('sha256').update('ë').digest('hex') [11:14] jetienne: 'f8d20e598df20877e4d826246fc31ffb4615cbc059aec9ec8e5b28951d844a3f' [11:14] mmalecki: lol? unicode problem? [11:15] jetienne: yep [11:15] blup has joined the channel [11:15] blup_ has joined the channel [11:15] mmalecki: I mean, who has a problem XD ? [11:15] mlangenberg: I updated from an old Node version to (0.2) to 0.6.x, now my signatures mismatch :-/ [11:15] jetienne: more like use the same pagecode [11:16] HRSatiya: Thx Stagas its working .. [11:16] mlangenberg: problem is, I didn't test it with ë in the message. So now this is running in production X-D. [11:16] mmalecki: that's definitely a problem :D [11:17] jetienne: mlangenberg: find the default pagecode in 0.2 and covert it to this page code [11:17] mmalecki: http://imgur.com/gallery/y7Hm9 [11:18] bnoordhuis has joined the channel [11:18] mlangenberg: You mean I can do a runtime conversion? [11:20] jetienne: mlangenberg: yep. im convinced it isnt a bug (i may be wrong tho). but if im not just convert "e" into the same pagecode as 0.2 and the hash will match [11:20] jetienne: mlangenberg: worth the try at least :) [11:20] martin_sunset_ has joined the channel [11:20] rurufufuss has joined the channel [11:21] robhawkes has joined the channel [11:21] mlangenberg: jetienne: Do you think it is in the createHash() function or in digest('hex') ? [11:21] dr0id has joined the channel [11:21] jetienne: it is in update('ë') [11:21] diogogmt has joined the channel [11:22] jetienne: one need to do something like update('ë'.toProperPageCode()) [11:22] ag4ve has joined the channel [11:22] jetienne: mlangenberg: i would search toward this direction if i were you [11:23] mlangenberg: ok [11:23] jetienne: http://nodejs.org/docs/v0.6.5/api/buffers.html to do the translation [11:25] mlangenberg: > crypto.createHash('sha256').update(new Buffer('ë', 'utf8')).digest('hex') [11:25] mlangenberg: 'b19cfb01639de63ec3d32df67b70cb7a56316f9ef5186fd290293abbcf0b8867' [11:25] mlangenberg: ah! [11:25] mlangenberg: but then, why? ;-) [11:25] luxigo has joined the channel [11:26] jetienne: > require('crypto').createHash('sha256').update(new Buffer('ë', 'utf8').toString('utf8')).digest('hex') [11:26] jetienne: 'f8d20e598df20877e4d826246fc31ffb4615cbc059aec9ec8e5b28951d844a3f' [11:26] jetienne: hehe noclue :) [11:26] jetienne: it may be a bug after all :) [11:27] hipsters_ has joined the channel [11:28] CIA-109: libuv: 03Ben Noordhuis 07v0.6 * r248ca5d 10/ src/unix/error.c : unix: translate ETIMEDOUT to UV_ETIMEDOUT - http://git.io/V0P7Zw [11:31] JakeyChan has joined the channel [11:34] stagas has joined the channel [11:34] magnetik_ has joined the channel [11:35] mlangenberg: jetienne: At least I am happy that I fixed in in production now. :) [11:35] mlangenberg: jetienne: I will create an Issue on github. [11:36] jetienne: mlangenberg: ensure it is a bug tho [11:36] diogogmt has joined the channel [11:36] rwasielewski has joined the channel [11:37] eeemsi: "npm workaround Windows antivirus software (isaacs)" i am missing details ^^ [11:38] mmalecki: eeemsi: iirc, there's a race condition in readdir implementation [11:38] mmalecki: av slows it down or something? [11:38] eeemsi: mmalecki: thx [11:41] russrpitre has joined the channel [11:43] p1d has joined the channel [11:43] cesconix has joined the channel [11:45] OSInet has joined the channel [11:45] mlangenberg: exit [11:47] isufy has joined the channel [11:51] otakutomo has joined the channel [11:52] eeemsi: oh… the topic is not up2date ^^ [11:52] jimt has joined the channel [11:54] npa has joined the channel [11:55] micheil has joined the channel [11:55] diogogmt has joined the channel [11:55] spolu has joined the channel [12:02] djcoin has joined the channel [12:02] Ned_ has joined the channel [12:04] aliem has joined the channel [12:07] bradleyg has joined the channel [12:08] lzskiss has joined the channel [12:08] lzskiss: yo [12:09] diogogmt has joined the channel [12:11] __doc__ has joined the channel [12:11] madhums has joined the channel [12:19] bogomips2__ has joined the channel [12:22] diogogmt has joined the channel [12:24] rwasielewski has joined the channel [12:24] scott_gonzalez has joined the channel [12:25] blup__ has joined the channel [12:25] plutoniix has joined the channel [12:25] CiRlE has joined the channel [12:27] Juan77 has joined the channel [12:28] diogogmt has joined the channel [12:31] robi42 has joined the channel [12:32] elliottcable: So, is node-waf going away? [12:32] daniel has joined the channel [12:32] elliottcable: i.e. is the documentation for building addons now obselete, with its descripton of adding a wscript to your addon? [12:32] daniel: can someone point me to an example express app with mocha tests? [12:32] elliottcable: is there something else I should use/do for gyp? [12:33] diogogmt has joined the channel [12:33] daniel: im trying to write a basic test for GET / response: 302 [12:33] daniel: my old tests are all using expresso [12:34] saurabh has joined the channel [12:35] xy has joined the channel [12:36] elliottcable: Does anybody know of any node modules on NPM that are currently using gyp? [12:36] elliottcable: something I can get an example from? [12:36] Morkel has joined the channel [12:38] daniel: anyone? [12:38] fairwinds has joined the channel [12:42] DoNaLd`_: nobody [12:42] criswell has joined the channel [12:42] elliottcable: someone [12:42] elliottcable: :D [12:44] stagas has joined the channel [12:44] plutoniix has joined the channel [12:44] mmalecki: I'll just leave it here http://www.reddit.com/r/lolphp [12:45] tuhoojabotti: :D [12:46] jackbean has joined the channel [12:47] daniel: please [12:47] diogogmt has joined the channel [12:48] elliottcable: mmalecki: heh, that's excellent [12:48] cesconix has joined the channel [12:48] broofa has joined the channel [12:48] mmalecki: daniel: express is tested with mocha [12:49] daniel: yeah but it doesnt have the sort of tests that a web app has [12:50] alexcheninfo has joined the channel [12:51] martin_sunset has joined the channel [12:52] mmalecki: I wonder if can I somehow "move" execution point of current process [12:52] alexcheninfo: Is anyone here using railway.had? [12:52] mmalecki: inb4 goto [12:52] alexcheninfo: Railway.js [12:52] einaros: can someone name a fast websocket client, on a platform other than node? [12:52] daniel: if i follow this https://github.com/visionmedia/express/blob/master/test/req.accepted.js i get request is undefined [12:54] mmalecki: einaros: tornado (python) has something [12:54] mmalecki: einaros: not sure if it's client tho [12:54] rwasielewski has joined the channel [12:54] einaros: thanks, will check that [12:55] jimt_ has joined the channel [12:55] pita has joined the channel [12:55] pita: https://github.com/Pita/async-stacktrace [12:56] mmalecki: pita: it requires code modifications [12:58] jetienne: exports.ERR = global.ERR = function (err, callback) <- pita why this global ? [13:00] pita: jetienne: it makes it easier imho [13:01] pita: mmalecki: what you like to change? [13:01] mmalecki: pita: afaik there are modules which don't need code changes [13:01] jetienne: pita: var ERR = require('ERR'); and you dont polute global space... [13:01] jetienne: pita: just feedback [13:01] mmalecki: but agreed, it requires monkey punching [13:03] daniel: can't find how to test a simple response code with mocha without including some http.js code [13:04] stagas has joined the channel [13:05] piscisaureus_ has joined the channel [13:05] TheJH has joined the channel [13:07] rbuck has joined the channel [13:09] mange has joined the channel [13:09] diogogmt has joined the channel [13:11] arvindravi has joined the channel [13:12] pita: mmalecki: you have an example for such modules? [13:12] pita: jetienne: like request() is doing it? [13:13] jetienne: pita: i dunno how it does it. but personnaly i dislike a lot the global polution. and i dont think im alone [13:14] jetienne: pita: in this case it seems completly useless and harmfull to me. [13:14] samyak__ has joined the channel [13:14] jetienne: pita: just feedback here. your lib may fit your own need very well [13:15] jetienne: pita: aka just my opinion [13:16] mange has joined the channel [13:18] jondot has joined the channel [13:19] jondot: hi all. i'm looking for some more info on the new cluster API. it seems that only first web worker i'm spawning gets requests. [13:19] jondot: i'm working in a single-core VM, but forcing 2 workers. does that matter? [13:20] jondot: here is the gist: https://gist.github.com/1430175 [13:22] N0va` has joined the channel [13:23] rwasiele_ has joined the channel [13:27] liamre has joined the channel [13:27] arvindravi: hi all! i'm trying to run the default app.js program on the expressjs' frontpage,but i get this error http://pastebin.com/86MFJSDZ ,it would be good if someone could help? [13:28] Wizek has joined the channel [13:29] arturadib has joined the channel [13:29] diogogmt has joined the channel [13:30] Phlogistique has left the channel [13:30] scott_gonzalez has joined the channel [13:30] whitman has joined the channel [13:32] wereHamster: arvindravi: npm install formidable [13:34] pita: jetienne: I changed it, its not global anymore https://github.com/Pita/async-stacktrace [13:34] lmatteis: what's the most minimal web framework for node? i just want something to help me parse requests and do routing... nothing esle [13:34] lmatteis: i dont need session management, or database persistence [13:34] lmatteis: just a nice http layer [13:35] mike5w3c has joined the channel [13:36] zomg: lmatteis: express... just ignore the other parts of it you don't need =) [13:36] lmatteis: hrm [13:36] lmatteis: ok i guess [13:36] diogogmt has joined the channel [13:37] criswell has joined the channel [13:38] TheJH: yaaaay, netsplit wave ahead! [13:39] tuhoojabotti: yes [13:40] jondot: lmatteis: you can also go with connect. use connect router. i found that it takes off 700req/s from using express, where the max is around 3000 [13:40] eeemsi: TheJH: hrhrhr [13:41] jondot: bumping my node cluster issue - anyone? [13:41] shiawuen has joined the channel [13:44] Sorella has joined the channel [13:45] lmatteis: zomg: how do i avoid restarting the server whenever i make a code change? [13:46] TheJH: lmatteis, sounds like you want hookio [13:47] threedaymonk has joined the channel [13:47] polyrhythmic has joined the channel [13:47] wang has joined the channel [13:47] okuryu has joined the channel [13:47] sente has joined the channel [13:47] Pierre_N has joined the channel [13:47] cha0s has joined the channel [13:47] trepan has joined the channel [13:47] enmand has joined the channel [13:47] zentooo has joined the channel [13:48] eddyb has joined the channel [13:48] eddyb has left the channel [13:52] meder has joined the channel [13:52] pkrumins has joined the channel [13:52] mattijs has joined the channel [13:52] mattp_ has joined the channel [13:52] FMJaggy has joined the channel [13:52] sstreza has joined the channel [13:52] hotspants has joined the channel [13:52] samstefan_ has joined the channel [13:52] owenb has joined the channel [13:52] metadaddy has joined the channel [13:52] verdoc has joined the channel [13:52] tobmaster has joined the channel [13:52] _baton_ has joined the channel [13:52] TheNumb has joined the channel [13:52] ashb has joined the channel [13:52] phzbox has joined the channel [13:52] pokoli has joined the channel [13:52] unomi has joined the channel [13:52] kloeri has joined the channel [13:52] arkx has joined the channel [13:52] fson_ has joined the channel [13:52] dingomanatee has joined the channel [13:52] Leemp2 has joined the channel [13:52] braoru has joined the channel [13:52] willwh has joined the channel [13:52] p1d has joined the channel [13:52] blup__ has joined the channel [13:52] jackbean has joined the channel [13:52] rbuck has joined the channel [13:52] dantaliz1ng has joined the channel [13:52] T-Co has joined the channel [13:52] tellnes has joined the channel [13:52] `3rdEden has joined the channel [13:52] L_star has joined the channel [13:52] paulwe has joined the channel [13:52] optixx_ has joined the channel [13:52] er1c_ has joined the channel [13:52] jvolkman has joined the channel [13:52] Evanlec has joined the channel [13:52] ByteCrunch has joined the channel [13:52] zemm has joined the channel [13:52] SubStack has joined the channel [13:52] CIA-109 has joined the channel [13:52] dabailey has joined the channel [13:52] dcelix has joined the channel [13:52] booyaa has joined the channel [13:52] f1gm3nt has joined the channel [13:52] mac^ has joined the channel [13:52] NuckOff has joined the channel [13:52] systemfault has joined the channel [13:52] remysharp has joined the channel [13:52] descipher has joined the channel [13:52] doki_pen has joined the channel [13:52] wookiehangover has joined the channel [13:52] Shrink has joined the channel [13:52] mattly has joined the channel [13:52] _sorensen_ has joined the channel [13:52] jxie_ has joined the channel [13:52] ryah has joined the channel [13:52] josh9 has joined the channel [13:52] alek_b has joined the channel [13:52] epa_ has joined the channel [13:52] matti has joined the channel [13:52] M2Ys4U has joined the channel [13:52] heavysixer has joined the channel [13:52] Bonuspunkt has joined the channel [13:52] akujin has joined the channel [13:52] zamolxes_ has joined the channel [13:52] pig_ has joined the channel [13:52] gavin_huang has joined the channel [13:52] catb0t has joined the channel [13:52] harthur has joined the channel [13:52] Renegade001 has joined the channel [13:52] ryanj has joined the channel [13:52] SamuraiJack has joined the channel [13:52] ryan0x2 has joined the channel [13:52] ph^ has joined the channel [13:52] slajax has joined the channel [13:52] saesh has joined the channel [13:52] iRoj has joined the channel [13:52] bnoordhuis has joined the channel [13:52] JakeyChan has joined the channel [13:52] otakutomo has joined the channel [13:52] xy has joined the channel [13:52] samyak__ has joined the channel [13:52] cce has joined the channel [13:52] mediacoder has joined the channel [13:52] Leonidas has joined the channel [13:52] nuba has joined the channel [13:52] sugyan has joined the channel [13:52] hazridi has joined the channel [13:52] stutter_ has joined the channel [13:52] nebiros has joined the channel [13:52] jakeskik has joined the channel [13:52] arpunk has joined the channel [13:52] irclogger_com has joined the channel [13:52] maushu has joined the channel [13:52] Gruni has joined the channel [13:52] Ned_ has joined the channel [13:52] sriley has joined the channel [13:52] gopher has joined the channel [13:52] jlaire has joined the channel [13:52] tuhoojabotti has joined the channel [13:52] alindeman has joined the channel [13:52] christine has joined the channel [13:52] subdeuxed has joined the channel [13:52] fearphage has joined the channel [13:52] stbuehler has joined the channel [13:52] callumacrae has joined the channel [13:52] Danielpk has joined the channel [13:52] robinduckett has joined the channel [13:52] JmZ_ has joined the channel [13:52] wereHamster has joined the channel [13:52] moogoo has joined the channel [13:52] Kester has joined the channel [13:52] rook2pawn has joined the channel [13:52] SlexAxton has joined the channel [13:52] tomaw has joined the channel [13:52] dawolf has joined the channel [13:52] aude|away has joined the channel [13:52] deoxxa has joined the channel [13:52] flexd has joined the channel [13:52] MrNko has joined the channel [13:52] pquerna has joined the channel [13:52] zedas has joined the channel [13:52] ianl` has joined the channel [13:52] s0enke has joined the channel [13:52] tekky has joined the channel [13:52] xbddc has joined the channel [13:52] mbruce has joined the channel [13:52] Guest18468 has joined the channel [13:52] Gekz has joined the channel [13:52] pradeepto has joined the channel [13:52] zenazn has joined the channel [13:52] Will| has joined the channel [13:52] joshthecoder has joined the channel [13:52] seb` has joined the channel [13:52] rhizmoe has joined the channel [13:52] jzacsh has joined the channel [13:52] sgimeno has joined the channel [13:52] aakour has joined the channel [13:52] vereteran has joined the channel [13:52] ralph has joined the channel [13:52] garann has joined the channel [13:52] Epeli has joined the channel [13:52] JasonSmith has joined the channel [13:52] blissdev has joined the channel [13:52] robb1e_ has joined the channel [13:52] oleyb has joined the channel [13:52] olegp has joined the channel [13:52] tim_smart has joined the channel [13:52] ralphholzmann has joined the channel [13:52] topaxi has joined the channel [13:52] txxt has joined the channel [13:52] twolfson has joined the channel [13:52] stelcheck has joined the channel [13:52] JakeSays has joined the channel [13:52] tahu has joined the channel [13:52] RichardBronosky has joined the channel [13:52] srijan4 has joined the channel [13:52] pagameba has joined the channel [13:52] dscape has joined the channel [13:52] dnyy has joined the channel [13:52] whoops has joined the channel [13:52] jyp has joined the channel [13:52] te-brian has joined the channel [13:52] mmalecki has joined the channel [13:52] stisti has joined the channel [13:52] ambroff has joined the channel [13:52] Kai` has joined the channel [13:52] chjj has joined the channel [13:52] Kami_ has joined the channel [13:52] Circlefusion has joined the channel [13:52] jslatts has joined the channel [13:52] zz_MrNibbles has joined the channel [13:52] guybrush has joined the channel [13:52] levi501d has joined the channel [13:52] progrock` has joined the channel [13:52] caffine has joined the channel [13:52] merlin83 has joined the channel [13:52] incon has joined the channel [13:52] ruzu has joined the channel [13:52] killfill has joined the channel [13:52] CoverSlide has joined the channel [13:52] shoobat has joined the channel [13:52] localhost has joined the channel [13:52] daleharvey has joined the channel [13:52] przemoc86 has joined the channel [13:52] zigidias has joined the channel [13:52] rektide_ has joined the channel [13:52] Sembianc1 has joined the channel [13:52] Raynos has joined the channel [13:52] munro__ has joined the channel [13:52] clickthem has joined the channel [13:52] cognominal has joined the channel [13:52] mjr_ has joined the channel [13:52] ditesh|cassini has joined the channel [13:52] jakehow has joined the channel [13:52] insin has joined the channel [13:52] garrensmith has joined the channel [13:52] Sami_ZzZ has joined the channel [13:52] arcanis has joined the channel [13:52] DennisRasmussen has joined the channel [13:52] hackband has joined the channel [13:52] jacobolus has joined the channel [13:52] thalll has joined the channel [13:52] CodeRarity has joined the channel [13:52] lmorchard has joined the channel [13:52] d0k has joined the channel [13:52] loob2 has joined the channel [13:52] Edy has joined the channel [13:52] petrjanda has joined the channel [13:52] mraleph has joined the channel [13:52] Hamms has joined the channel [13:52] sergey_uk has joined the channel [13:52] blup has joined the channel [13:52] robhawkes has joined the channel [13:52] luxigo has joined the channel [13:52] isufy has joined the channel [13:52] npa has joined the channel [13:52] djcoin has joined the channel [13:52] aliem has joined the channel [13:52] madhums has joined the channel [13:52] bogomips2__ has joined the channel [13:52] fairwinds has joined the channel [13:52] broofa has joined the channel [13:52] martin_sunset has joined the channel [13:52] arvindravi has joined the channel [13:52] N0va` has joined the channel [13:52] rwasiele_ has joined the channel [13:52] Wizek has joined the channel [13:52] arturadib has joined the channel [13:52] whitman has joined the channel [13:52] criswell has joined the channel [13:52] shiawuen has joined the channel [13:52] Sorella has joined the channel [13:52] alexhanh_ has joined the channel [13:52] qbit_ has joined the channel [13:52] vsync has joined the channel [13:52] nw` has joined the channel [13:52] gwoo has joined the channel [13:52] msch has joined the channel [13:52] ktos has joined the channel [13:52] sdboyer has joined the channel [13:52] Dmitriju1 has joined the channel [13:52] davv3_ has joined the channel [13:52] versicolor_ has joined the channel [13:52] Ezku has joined the channel [13:52] fson has joined the channel [13:52] pdonald has joined the channel [13:52] orospakr has joined the channel [13:52] chrischris has joined the channel [13:52] ombinde has joined the channel [13:52] Clex has joined the channel [13:52] JP has joined the channel [13:52] tbranyen has joined the channel [13:52] ryanrolds has joined the channel [13:52] Skyec has joined the channel [13:52] Guest84295 has joined the channel [13:52] roger_raymond has joined the channel [13:52] Pilate has joined the channel [13:52] riven has joined the channel [13:52] maeldur has joined the channel [13:52] nrdb has joined the channel [13:52] marienz_ has joined the channel [13:52] innociv has joined the channel [13:52] ^robertj has joined the channel [13:52] tmm1 has joined the channel [13:52] ljackson has joined the channel [13:52] jperras has joined the channel [13:52] dilvie has joined the channel [13:52] tg has joined the channel [13:52] russfrank has joined the channel [13:52] Glenjamin has joined the channel [13:52] gerard0 has joined the channel [13:52] TheFuzzball has joined the channel [13:52] PyroPeter has joined the channel [13:52] pekim has joined the channel [13:52] HardPhuck has joined the channel [13:52] shenlok has joined the channel [13:52] __root__ has joined the channel [13:52] wao has joined the channel [13:52] mertimor has joined the channel [13:52] stegro has joined the channel [13:52] otih has joined the channel [13:52] aapelip has joined the channel [13:52] lukegb has joined the channel [13:52] trupppOFF has joined the channel [13:52] thoolihan has joined the channel [13:52] creationix has joined the channel [13:52] Blorb has joined the channel [13:52] SuMarDi has joined the channel [13:52] apoc has joined the channel [13:52] ekes has joined the channel [13:52] gf3 has joined the channel [13:52] duffman has joined the channel [13:52] Fuu has joined the channel [13:52] thisandagain has joined the channel [13:52] stephank has joined the channel [13:52] KiNgMaR has joined the channel [13:52] PhilK has joined the channel [13:52] cnu has joined the channel [13:52] jnbek has joined the channel [13:52] mekwall has joined the channel [13:52] markatto has joined the channel [13:52] SirFunk has joined the channel [13:52] freeformz has joined the channel [13:52] htoothrot has joined the channel [13:52] wadey has joined the channel [13:52] appr has joined the channel [13:52] imarcusthis has joined the channel [13:52] chirag has joined the channel [13:52] smh has joined the channel [13:52] chirag has joined the channel [13:53] tomyan has joined the channel [13:53] diogogmt has joined the channel [13:53] ant- has joined the channel [13:53] OneOfOne has joined the channel [13:53] jspiros has joined the channel [13:53] rachet has joined the channel [13:53] nopnop has joined the channel [13:53] nzjames has joined the channel [13:53] thedjinn has joined the channel [13:53] finsken has joined the channel [13:53] ircdearia has joined the channel [13:53] franksalim has joined the channel [13:53] Lorentz has joined the channel [13:53] metellus has joined the channel [13:53] dvf has joined the channel [13:53] maxogden has joined the channel [13:53] xerox has joined the channel [13:53] crosscode has joined the channel [13:53] swaj has joined the channel [13:53] Dreamer3 has joined the channel [13:53] superjudge has joined the channel [13:53] jamescarr has joined the channel [13:53] pandark_ has joined the channel [13:53] jgallen23 has joined the channel [13:53] MediceIdle has joined the channel [13:53] franck34 has joined the channel [13:53] delnaught has joined the channel [13:53] stride has joined the channel [13:53] 18VAARO0U has joined the channel [13:53] mlangenberg has joined the channel [13:53] DrPizza_ has joined the channel [13:53] ollie_ has joined the channel [13:53] apejens has joined the channel [13:53] jacobras1 has joined the channel [13:53] mike5w3c has joined the channel [13:53] jondot has joined the channel [13:53] TheJH has joined the channel [13:53] pita has joined the channel [13:53] jimt_ has joined the channel [13:53] Morkel has joined the channel [13:53] daniel has joined the channel [13:53] CiRlE has joined the channel [13:53] magnetik_ has joined the channel [13:53] ag4ve has joined the channel [13:53] rurufufuss has joined the channel [13:53] blup_ has joined the channel [13:53] huskyr has joined the channel [13:53] smgt has joined the channel [13:53] tih-ra has joined the channel [13:53] herbySk has joined the channel [13:53] liar has joined the channel [13:53] kazupon has joined the channel [13:53] pgherveou has joined the channel [13:53] MUILTRFN has joined the channel [13:53] atsuya has joined the channel [13:53] romanb has joined the channel [13:53] HT has joined the channel [13:53] rendar has joined the channel [13:53] idefine has joined the channel [13:53] fangel has joined the channel [13:53] satyr has joined the channel [13:53] bbenvie has joined the channel [13:53] plantian has joined the channel [13:53] lyte_ has joined the channel [13:53] areed has joined the channel [13:53] nicholasf has joined the channel [13:53] MichealBenedict has joined the channel [13:53] Industrial has joined the channel [13:53] dthompso99 has joined the channel [13:53] a_meteorite has joined the channel [13:53] pct has joined the channel [13:53] nail_ has joined the channel [13:53] DoNaLd` has joined the channel [13:53] shachaf has joined the channel [13:53] iFire` has joined the channel [13:53] royh_ has joined the channel [13:53] scoates_ has joined the channel [13:53] augustl__ has joined the channel [13:53] mikey_p_ has joined the channel [13:53] Swizec has joined the channel [13:53] skunkape has joined the channel [13:53] vkandy has joined the channel [13:53] u6754 has joined the channel [13:53] odyniec has joined the channel [13:53] EvRide has joined the channel [13:53] fbartho has joined the channel [13:53] bibabot has joined the channel [13:53] Drakonite has joined the channel [13:53] trodrigues has joined the channel [13:53] dmojoryder has joined the channel [13:53] bergie has joined the channel [13:53] scottschecter has joined the channel [13:53] krill has joined the channel [13:53] asoltys has joined the channel [13:53] igl1 has joined the channel [13:53] base698 has joined the channel [13:53] ace has joined the channel [13:53] TheLifelessOne has joined the channel [13:53] Dulak has joined the channel [13:53] keeto has joined the channel [13:53] soffi has joined the channel [13:53] freewil has joined the channel [13:53] mdel has joined the channel [13:53] gregmoreno has joined the channel [13:53] FIQ has joined the channel [13:53] slloyd has joined the channel [13:53] recycle has joined the channel [13:53] eviltwin_ has joined the channel [13:53] brainproxy has joined the channel [13:53] baudehlo has joined the channel [13:53] fcoury has joined the channel [13:53] al_ol has joined the channel [13:53] sorensen has joined the channel [13:53] firebalrog has joined the channel [13:53] halfhalo has joined the channel [13:53] xicubed has joined the channel [13:53] Typo has joined the channel [13:53] avih has joined the channel [13:53] squeeks has joined the channel [13:53] tauren has joined the channel [13:53] alnewkirk has joined the channel [13:53] zivester has joined the channel [13:53] Hosh has joined the channel [13:53] m4rcs has joined the channel [13:53] JHartig|away has joined the channel [13:53] JHartig has joined the channel [13:53] koo3 has joined the channel [13:53] Gregor has joined the channel [13:53] WarheadsSE has joined the channel [13:53] andree has joined the channel [13:53] eliasp_ has joined the channel [13:53] zinkem has joined the channel [13:53] joshgillies has joined the channel [13:53] wankdanker has joined the channel [13:53] heatxsink has joined the channel [13:53] _th_n has joined the channel [13:53] b_i_d has joined the channel [13:53] ding has joined the channel [13:53] Ibuprofen has joined the channel [13:53] Robi_ has joined the channel [13:53] thepatr1ck has joined the channel [13:53] jeedey has joined the channel [13:53] jaimef has joined the channel [13:53] kilnaar has joined the channel [13:53] ajpiano has joined the channel [13:53] RushPL has joined the channel [13:53] ddollar has joined the channel [13:53] ec|IRCCloud has joined the channel [13:53] tlrobinson has joined the channel [13:53] elliottcable has joined the channel [13:53] dmwuw has joined the channel [13:53] mrkurt has joined the channel [13:53] [Justice] has joined the channel [13:53] rudolfrck has joined the channel [13:53] lukegalea has joined the channel [13:53] JKarsrud has joined the channel [13:53] mavin has joined the channel [13:53] bradwright has joined the channel [13:53] mrtazz has joined the channel [13:53] sveisvei has joined the channel [13:53] crodas has joined the channel [13:53] silky has joined the channel [13:53] minerale has joined the channel [13:53] styol has joined the channel [13:53] ben_alman has joined the channel [13:53] joeytwiddle has joined the channel [13:53] rioter has joined the channel [13:53] majek has joined the channel [13:53] matjas has joined the channel [13:53] necromancer has joined the channel [13:53] tanepiper has joined the channel [13:53] lmatteis has joined the channel [13:53] jmeed has joined the channel [13:53] beawesomeinstead has joined the channel [13:53] strax has joined the channel [13:53] salazr_ has joined the channel [13:53] jeremyselier has joined the channel [13:53] zorzar has joined the channel [13:53] Fabryz has joined the channel [13:53] TheDeveloper has joined the channel [13:53] makeInstallBot has joined the channel [13:53] footyfish has joined the channel [13:53] a11235 has joined the channel [13:53] pksunkara has joined the channel [13:53] ryanseddon has joined the channel [13:53] cryptix has joined the channel [13:53] teknopaul has joined the channel [13:53] AAA_awright has joined the channel [13:53] Martz has joined the channel [13:53] Gazler has joined the channel [13:53] eeemsi has joined the channel [13:53] arcanez has joined the channel [13:53] Kingdutch has joined the channel [13:53] d_low has joined the channel [13:53] kwmiebach has joined the channel [13:53] hipsterslapfight has joined the channel [13:53] matt_c has joined the channel [13:53] Lingerance has joined the channel [13:53] __directory has joined the channel [13:53] racar has joined the channel [13:53] Slashbunny has joined the channel [13:53] DRMacIver has joined the channel [13:53] xandy has joined the channel [13:53] mikegerwitz has joined the channel [13:53] ryan[WIN] has joined the channel [13:53] azend has joined the channel [13:53] qmx|away has joined the channel [13:53] forzan_ has joined the channel [13:53] balgarath has joined the channel [13:53] jesusabdullah has joined the channel [13:53] kadoppe_d has joined the channel [13:53] Bodil has joined the channel [13:53] btipling has joined the channel [13:53] tomb has joined the channel [13:53] Lartsa has joined the channel [13:53] bjy has joined the channel [13:53] EvanDotPro has joined the channel [13:53] gde33 has joined the channel [13:53] kimico has joined the channel [13:53] maveonair has joined the channel [13:53] indutny has joined the channel [13:53] evxd has joined the channel [13:53] inimino has joined the channel [13:53] beejeebus has joined the channel [13:53] einaros has joined the channel [13:53] Connorhd has joined the channel [13:53] jn has joined the channel [13:53] webben has joined the channel [13:53] Corey has joined the channel [13:53] mpendergraft has joined the channel [13:53] korch has joined the channel [13:53] Andeye has joined the channel [13:53] `10` has joined the channel [13:53] krazyivan has joined the channel [13:53] Tobbe has joined the channel [13:53] mape has joined the channel [13:53] narkceh has joined the channel [13:53] zhware has joined the channel [13:53] eddict has joined the channel [13:53] ircretary has joined the channel [13:53] naneau has joined the channel [13:53] voodootikigod has joined the channel [13:53] parse has joined the channel [13:53] RORgasm has joined the channel [13:53] tankpilot has joined the channel [13:53] gkatsev has joined the channel [13:53] rcaskey has joined the channel [13:53] inarru has joined the channel [13:53] Riton has joined the channel [13:53] rphillips has joined the channel [13:53] JuanCri has joined the channel [13:53] spydum has joined the channel [13:53] janne has joined the channel [13:53] kraft has joined the channel [13:53] zed0 has joined the channel [13:53] chrisdickinson has joined the channel [13:53] visnup has joined the channel [13:53] Newky has joined the channel [13:53] izz_ has joined the channel [13:53] jdparker has joined the channel [13:53] Aikar has joined the channel [13:53] lifty has joined the channel [13:53] context has joined the channel [13:53] zz_shykes has joined the channel [13:53] framlin has joined the channel [13:53] lukstr has joined the channel [13:53] chilts has joined the channel [13:53] Miko2 has joined the channel [13:53] duckspeaker has joined the channel [13:53] __sri has joined the channel [13:53] pavelz has joined the channel [13:53] russell_h has joined the channel [13:53] mde has joined the channel [13:53] bentruyman has joined the channel [13:53] hoodow has joined the channel [13:53] _mdp has joined the channel [13:53] teadict has joined the channel [13:53] maru_cc has joined the channel [13:53] jackyyll has joined the channel [13:53] ctide has joined the channel [13:53] Astro has joined the channel [13:53] rgmarcha_ has joined the channel [13:53] jcarouth has joined the channel [13:53] don_jones has joined the channel [13:53] stylus has joined the channel [13:53] ivaldi has joined the channel [13:53] digiwano has joined the channel [13:53] slpsys has joined the channel [13:53] konobi has joined the channel [13:53] ivan` has joined the channel [13:53] keyvan has joined the channel [13:53] llrcombs has joined the channel [13:53] chapel has joined the channel [13:53] __doc___ has joined the channel [13:53] subbyyy has joined the channel [13:53] Druid_ has joined the channel [13:54] raydeo has joined the channel [13:54] tuhoojabotti: lol [13:55] Brandon_R has joined the channel [13:55] Brandon_R: hi [13:55] stalled has joined the channel [13:55] ricepuddin has joined the channel [13:55] Brandon_R: ryah update the notice [13:55] Brandon_R: 0.6.5 [13:56] tuhoojabotti: topic that is [13:56] gde33 has joined the channel [13:56] niftylettuce has joined the channel [13:56] __doc__ has joined the channel [13:57] lyte has joined the channel [13:58] Croms has joined the channel [14:00] lzskiss has joined the channel [14:02] htoothrot has joined the channel [14:02] hazridi has joined the channel [14:02] riven has joined the channel [14:02] chunhao_ has joined the channel [14:02] yorick has joined the channel [14:02] TheJH has joined the channel [14:03] tlynn has joined the channel [14:03] Glenjamin has joined the channel [14:03] Brandon_R: hi thejh [14:03] stbuehle1 has joined the channel [14:05] pita: How can I disable the that express is catching errors? [14:06] Brandon_R: > [14:06] simenbrekken has joined the channel [14:07] apoc has joined the channel [14:07] PyroPeter has joined the channel [14:07] Blorb has joined the channel [14:07] lukegb has joined the channel [14:07] trupppOFF has joined the channel [14:08] stephank_ has joined the channel [14:08] mertimor has joined the channel [14:08] kriszyp3 has joined the channel [14:08] creationix has joined the channel [14:08] tg has joined the channel [14:08] cnu has joined the channel [14:09] SirFunk has joined the channel [14:10] Brandon_R: hey [14:10] Brandon_R: is anyone hre going to node.js camp on dec 14? [14:10] wao has joined the channel [14:11] freeformz has joined the channel [14:12] noob13 has joined the channel [14:12] Jarda has joined the channel [14:12] tuhoojabotti has joined the channel [14:12] mc_greeny has joined the channel [14:14] churp has joined the channel [14:14] bosphorus has joined the channel [14:15] shapeshed has joined the channel [14:15] shoobat: Did you hear the linux fish almost got caught? Apparently he got free because of a net split [14:16] BombStrike has joined the channel [14:16] ciju has joined the channel [14:16] lyte_ has joined the channel [14:17] xerox_ has joined the channel [14:22] bogomips2_ has joined the channel [14:25] uchuff has joined the channel [14:25] BombStrike has joined the channel [14:26] arvindravi: hi again,can someone here how to downgrade node from 0.6.2 to 0.4? newbie in need of some help! [14:27] MediceIdle: git branch [14:28] medice: git checkout v0.4something [14:28] arvindravi: after cloning that is right? [14:28] stagas has joined the channel [14:28] jbrokc has joined the channel [14:28] arvindravi: thanks! [14:28] medice: branch lists the branches [14:28] enmand has joined the channel [14:30] adrianF has joined the channel [14:31] mrshogun has joined the channel [14:33] arvindravi: medice: sorry if its silly and stupid,should i use git branch after i have clone the repo? [14:33] arvindravi: *cloned [14:33] airborn: yes [14:34] arvindravi: thanks! [14:34] medice: well, branch is not necessary step but you get to see all the options you have [14:35] jondot: any idea if npm can initialize a skeleton folder structure and files for a new npm package? [14:35] airborn: arvindravi, what you need is to call git checkout v0.4 after git clone [14:35] Brandon_R: yeah [14:36] plutoniix has joined the channel [14:36] arvindravi: airborn: right. Got that,thanks! [14:39] blippedxd has joined the channel [14:40] appr has joined the channel [14:40] imarcusthis has joined the channel [14:43] shoebat has joined the channel [14:43] cedeon has joined the channel [14:45] salva has joined the channel [14:46] salva has left the channel [14:48] unomi has joined the channel [14:49] cedeon has joined the channel [14:51] diogogmt has joined the channel [14:51] bic2k has joined the channel [14:52] pyparadigm has joined the channel [14:58] broofa has joined the channel [14:58] bogomips2__ has joined the channel [15:02] marcello3d has joined the channel [15:02] EvRide has joined the channel [15:03] idoru has joined the channel [15:04] rwasielewski has joined the channel [15:04] diogogmt has joined the channel [15:04] stagas: jondot: there's npm init it's kind of a wizard for a package.json [15:04] tih-ra has joined the channel [15:05] martin_sunset has joined the channel [15:06] Brandon_R: hi [15:08] tmcw has joined the channel [15:09] Tobsn has joined the channel [15:09] elliottcable: Brandon_R: hi [15:09] Brandon_R: sup [15:09] Brandon_R: working on anything cool? [15:09] jondot: stagas: kinda looking for best practices with regards to folder structure [15:10] diogogmt has joined the channel [15:10] Brandon_R: node.js folder structure? [15:11] Brandon_R: take a look at how socket.io or hook.io or any of those big boys do it [15:11] JasonJS has joined the channel [15:11] Brandon_R: lib = js and src = c++ [15:11] bic2k: odd, I set up my setup in my views initialize, render once and it works, render again and it does not… ideas? [15:11] bic2k: oh wait, that should be a backbone.js channel question *slaps self awake* [15:13] Brandon_R: lol drink some coffee [15:13] TheJH: and use coco! [15:13] TheJH: ACTION quickly hides [15:14] Brandon_R: what is coco [15:15] tih-ra_ has joined the channel [15:15] amigojapan has joined the channel [15:16] metaverse has joined the channel [15:17] ccapndave has joined the channel [15:18] SleepingPrgmr has joined the channel [15:19] tuhoojabotti: mm.. chocolate [15:19] tuhoojabotti: u loco [15:19] elliottcable: Brandon_R: me? [15:19] aliem_ has joined the channel [15:19] elliottcable: Brandon_R: I'm *always* working on something cool. [15:19] Brandon_R: lol [15:19] Brandon_R: github? [15:20] elliottcable: nope [15:20] elliottcable: actually, I take that back [15:20] elliottcable: something new as of this morning [15:20] elliottcable: https://github.com/elliottcable/-_- [15:20] cha0s has joined the channel [15:20] cha0s has joined the channel [15:20] elliottcable: new project I started with some interested parties (who are, themselves, also skilled JS devs) this morning [15:21] realguess has joined the channel [15:21] codygray has joined the channel [15:21] Brandon_R: what is it about [15:21] elliottcable: skim the README? [15:23] quackquack has joined the channel [15:23] elliottcable: ACTION goes about figuring out how to create a new “class” in Node's C++ API [15:23] Brandon_R: are you allowed to do that lol [15:23] elliottcable: whaddya mean? [15:23] elliottcable: 'course [15:23] Brandon_R: call your projects ಠ_ಠ [15:23] elliottcable: why wouldn't I? [15:23] elliottcable: who's going to tell me not to? :3 [15:24] Brandon_R: it's kinda hard to search for [15:24] TheJH: elliottcable, how am I supposed to start that program? I use a regular qwertz keyboard layout :D [15:24] pita1 has joined the channel [15:24] elliottcable: TheJH: everywhere ಠ_ಠ shows up, there's an alias/link/etc for -_- [15:24] TheJH: elliottcable, :D [15:24] elliottcable: which is just what GitHub changed the title to when I entered it. [15:24] elliottcable: thanks, github. [15:24] elliottcable: feel free to join ##-_- if you're interested (= [15:28] krnlyng has joined the channel [15:30] rahul_ has joined the channel [15:30] thoolihan has joined the channel [15:31] ShinyDarkness has joined the channel [15:34] Brandon_R: hi [15:35] salva has joined the channel [15:35] elliottcable: Brandon_R: ... hi again. [15:35] elliottcable: Brandon_R: somebody's bored, aren't they. [15:35] Brandon_R: i have to apply to colleges later [15:36] Brandon_R: so i have no idea what to do now [15:36] elliottcable: Brandon_R: you should join ##Hat, it's more useful as a social channel than this one, as this one is dedicated to a software project. [15:36] salva has left the channel [15:37] arcanis has joined the channel [15:39] lzskiss has joined the channel [15:40] bradleyg has joined the channel [15:42] lyte has joined the channel [15:42] lyte has joined the channel [15:42] Vennril has joined the channel [15:43] stagas has joined the channel [15:46] flumer-node has joined the channel [15:47] adamstantonvan has joined the channel [15:48] elijah-mbp has joined the channel [15:48] fly-away has joined the channel [15:48] lyte has joined the channel [15:48] lyte has joined the channel [15:51] coreb has joined the channel [15:52] igl has joined the channel [15:52] Corey has joined the channel [15:52] Corey has joined the channel [15:57] scott_gonzalez has joined the channel [15:58] chirag has left the channel [15:58] jeromegn has joined the channel [15:58] stagas has joined the channel [15:58] Croms has joined the channel [15:59] rwasielewski has joined the channel [16:01] scottschecter has joined the channel [16:02] nebiros has joined the channel [16:03] jimmysparkle has joined the channel [16:05] scottschecter has left the channel [16:06] mange has joined the channel [16:06] jimt has joined the channel [16:07] ciju has joined the channel [16:08] megalomix has joined the channel [16:08] megalomix: hello guys [16:08] hackband has joined the channel [16:08] megalomix: is it possible to create a custom async function in Node? I mean something like: mymodule.myfunction(param1, param2, function(){ .. }) [16:09] megalomix: How can i create "myfunction" function ? (Aync) [16:09] Brandon_R: hi [16:10] Sorella: megalomix, a function is always blocking. Whether it'll execute asynchronous work or not depends on what functions you call inside of it. [16:10] megalomix: HI Brandon_R [16:10] megalomix: ? [16:10] megalomix: Sorella, I didn't understand [16:11] Sorella: megalomix, I mean that there's no special way to "declare" an asynchronous function. It all depends on the functions you call inside of that. [16:11] CarterL has joined the channel [16:11] megalomix: Sorella, yes sure, you are right...BUT the problem is that when I call that function the rest of the code will be processed and WHEN that function will finish the job the code inside { ... } will be executed [16:11] megalomix: i mean that [16:12] Sorella: For example: function foo(x, y){ return x + y }; is synchronous. Whereas function foo(x, y){ setTimeout(function(){ global_callback(x + y) }, 100) } is asynchronous. [16:13] megalomix: Sorella, yes but [16:13] megalomix: one moment [16:13] magnetik_ has joined the channel [16:13] megalomix: I try to explain with a code [16:13] braoru has joined the channel [16:13] koo1 has joined the channel [16:14] Sorella: you can do `process.nextTick(callback)' to schedule some function to run at the next tick of the event loop, which is equivalent to setTimeout(callback, 0) in Browsers, but more efficient. [16:15] megalomix: Sorella, https://gist.github.com/1430567 [16:15] confoocious has joined the channel [16:15] confoocious has joined the channel [16:16] flumer-node has joined the channel [16:16] Sorella: megalomix, then, use `process.nextTick(callback)' to schedule the callback execution. [16:16] MatthewS has joined the channel [16:16] jtsnow has joined the channel [16:16] SoulRaven has joined the channel [16:16] Sorella: schedule/defer [16:16] SoulRaven has joined the channel [16:16] megalomix: Sorella, one momento....where? on test function [16:16] megalomix: ? [16:16] SoulRaven has joined the channel [16:16] megalomix: please, could you change that code? [16:16] blup has joined the channel [16:17] megalomix: Sorella, I would like to use "Before" "After" "When?" [16:17] SoulRaven has joined the channel [16:17] megalomix: *i would like to see [16:18] innociv_ has joined the channel [16:19] flumer-node has joined the channel [16:21] blup_ has joined the channel [16:21] 17WAAACPO has joined the channel [16:23] flumer-node has joined the channel [16:23] nmtmason has joined the channel [16:24] Sorella: megalomix, https://gist.github.com/1430588 [16:30] elliottcable: heh “top down” [16:31] piscisaureus_ has joined the channel [16:33] u6754_ has joined the channel [16:35] r04r has joined the channel [16:35] shoobat has joined the channel [16:37] robotmay has joined the channel [16:38] Morkel has joined the channel [16:38] elliottcable: Man, anybody know what I'm doing wrong here? https://gist.github.com/406c7b319a04475c824f [16:38] elliottcable: and geting “../curses.cc:13:34: error: expected class-name before ‘{’ token” [16:38] saurabh has joined the channel [16:38] davidascher has joined the channel [16:39] zomg: C++. Scary. [16:39] elliottcable: zomg: ;_; [16:39] mmalecki: elliottcable: this C++ looks good to me [16:39] elliottcable: als,o, hahhhh, zomg [16:39] mmalecki: but yeah, agreed, it'd look better inC [16:39] elliottcable: mmalecki: I thought so too. It seems to be really straightforward, so idfk what I'm doing wrong [16:40] Sorella: elliottcable, top-down. [16:40] elliottcable: Sorella: hm? [16:40] Sorella: just as most other scripting languages [16:40] Sorella: >[14:30] heh “top down” [16:40] elliottcable: by which you mean imperative? [16:40] Sorella: I'm just quoting Alex Russell. [16:40] elliottcable: heh [16:40] elliottcable: okay (= [16:42] heavysixer has joined the channel [16:48] stagas has joined the channel [16:48] TheJH: ryah, ping? [16:49] kwmiebach has joined the channel [16:50] isaacs has joined the channel [16:50] cjm has joined the channel [16:51] mmalecki: isaacs: hey [16:52] mmalecki: isaacs: just wondering about one new feature for npm. I'm almost done with implementing it, just wondering if you like it [16:52] thax has joined the channel [16:53] skm has joined the channel [16:53] mmalecki: isaacs: lets say we have package.json with scripts: { test: { http: 'run-http-tests' } } [16:53] ShinyDarkness has joined the channel [16:54] nmtmason has joined the channel [16:54] mmalecki: isaacs: npm run test:http runs 'run-http-tests', npm run test runs everything under test [16:54] mmalecki: does it look good to you? [16:56] mandric has joined the channel [16:57] piscisaureus_ has joined the channel [16:57] bradleymeck has joined the channel [16:58] bradleymeck: whats the best module for just posting a status to a facebook page [16:58] bradleymeck: not profie* [16:59] jimt_ has joined the channel [17:00] mmalecki: bradleymeck: request (and I'm not even kidding) [17:00] mmalecki: bradleymeck: request got oauth signing recently so it should be fine [17:00] megalomix: Sorella, thanks [17:00] magnetik__ has joined the channel [17:00] TheJH: ryah, ping [17:01] jstash has joined the channel [17:02] tmcw has joined the channel [17:05] djazz has joined the channel [17:05] james305 has joined the channel [17:06] romanb_ has joined the channel [17:07] magnetik_ has joined the channel [17:08] jstash has joined the channel [17:08] passionke has joined the channel [17:10] dgathright has joined the channel [17:12] necromancer: hi guys [17:12] necromancer: is it not possible to install node from master branch of git? [17:12] mmalecki: necromancer: would you paste a message you're getting? [17:13] necromancer: mmalecki: the make install one [17:13] necromancer: make install [17:13] necromancer: hmmm...a bot told me it was a known issue before [17:13] mmalecki: necromancer: haha :) [17:13] necromancer: hold on let me get it :) [17:13] necromancer: yeah `make install` is not implemented yet. Bug bnoordhuis about it in #node.js [17:13] makeInstallBot: necromancer: `make install` is not supported on current node.js `master` due to build system refactor. Please use latest stable tag (v0.6.x). [17:13] necromancer: there we go [17:13] necromancer: so when it says "latest stable tag [17:13] necromancer: " [17:13] mmalecki: necromancer: you can just copy the generated binary to /usr/bin [17:13] necromancer: oh ok [17:14] necromancer: is that all make install does? [17:14] mmalecki: necromancer: it means 0.6.4 [17:14] elliottcable: lol “makeInstallBot” [17:14] elliottcable: really? [17:14] elliottcable: why not just have purr do it? [17:14] elliottcable: ACTION pats purr [17:14] necromancer: well some of us want to install node ;) [17:14] elliottcable: !purr [17:14] purr: ACTION  [17:14] N0va has joined the channel [17:14] mmalecki: elliottcable: ya rly :D [17:15] Juan77 has joined the channel [17:16] necromancer: oh wow latest node doesn't work with npm ;) [17:16] necromancer: oh well [17:16] necromancer: time to get the zip then [17:16] necromancer: apparently 0.6.5 is the latest stable [17:16] mandric has joined the channel [17:17] mmalecki: oh, yeah, sorry [17:17] passionke has joined the channel [17:18] necromancer: lol hard to keep up [17:23] stagas has joined the channel [17:23] purr has joined the channel [17:23] purr has joined the channel [17:24] lzskiss has joined the channel [17:25] Xano has joined the channel [17:25] purr has joined the channel [17:25] ovaillancourt has joined the channel [17:26] megalomix: hi [17:27] megalomix: i have /app/libs and then /app/pages i need to include a module in /app/pages that point to /app/libs/module.js [17:27] megalomix: how can i do it? [17:27] OSInet has joined the channel [17:27] megalomix: var mod = require('./../libs/module') [17:27] megalomix: ? [17:28] JumpMast3r has joined the channel [17:29] purr has joined the channel [17:29] shimondoodkin has joined the channel [17:29] mmalecki: isaacs: ping? [17:30] guybrush: i am getting "execvp(): No such file or directory" on stderr from a spawned child_process - what does it mean? :D [17:30] MatthewS has joined the channel [17:31] TheJH: guybrush, the executable you specified is not executable or doesn't even exist [17:31] guybrush: thx [17:31] p6 has joined the channel [17:31] p6 has joined the channel [17:33] johnnywengluu has joined the channel [17:33] guybrush: i see [17:33] megalomix: exists a FORM validate in node? [17:33] spolu has joined the channel [17:34] dingomanatee: what is the API of v8's JSON.parse? is it possible to have it not choke on circular references? [17:34] ovaillancourt has joined the channel [17:34] ayaz has joined the channel [17:35] johnnywengluu: there is no vagrant equvalience for node.js? [17:35] HRSatiya has joined the channel [17:35] HRSatiya: Hi all, [17:35] thatmarvin has joined the channel [17:36] dingomanatee: sorry - rather stringify [17:36] sdboyer has joined the channel [17:36] sdboyer has joined the channel [17:36] HRSatiya: I want to return a array of list using res.render("my.jade",mylist) and populate my page. [17:37] shimondoodkin: me and my friend made a facebook game http://apps.facebook.com/facebookbg/ with nowjs but the comunocation is not stable, it disconnects spontainously, in ie9,firefox, and not working in opera11. the server and the client send eachother messages like make move 1,1 and some times also happens that the messsage from rowser is not sent to server but the browser thinks it sent the message but actualy it is not. and sometimes browser [17:37] HRSatiya: Wat is the best way to do it ? [17:37] shimondoodkin: has anyone figured out a relaiable solution for something like this? [17:37] megalomix: is it possible? [17:38] plantian has left the channel [17:38] HRSatiya: I want to return a array of list using res.render("my.jade",mylist) and populate my page. Wat is the best possible way to do it ? [17:38] clint_ has joined the channel [17:39] pickels has joined the channel [17:39] HRSatiya: * array of objects [17:39] joshsmith has joined the channel [17:39] neurodrone has joined the channel [17:41] purr has joined the channel [17:42] zz_MrNibbles: hey all [17:42] jjd has joined the channel [17:42] zz_MrNibbles: anyone using jade extensively? [17:43] zz_MrNibbles: actually [17:43] zz_MrNibbles: ive just thought of a way around this.. nm [17:43] jakehow has joined the channel [17:44] jbpros has joined the channel [17:44] otakutomo has joined the channel [17:44] caolanm has joined the channel [17:45] sorin has joined the channel [17:45] otakutomo has joined the channel [17:45] huskyr has joined the channel [17:45] devongovett has joined the channel [17:46] fzzzy has joined the channel [17:48] ramitos has joined the channel [17:48] MatthewS has joined the channel [17:53] confoocious has joined the channel [17:54] jarek has joined the channel [17:54] jarek has joined the channel [17:55] ovaillancourt has joined the channel [17:58] confoocious has joined the channel [17:59] magnetik__ has joined the channel [18:00] josh-k has joined the channel [18:00] eb4890 has joined the channel [18:05] edwardw has joined the channel [18:05] _dc has joined the channel [18:07] nmtmason has joined the channel [18:07] codygray has joined the channel [18:09] Wizek has joined the channel [18:09] p1d has joined the channel [18:10] wojohowitz has joined the channel [18:10] wojteka has joined the channel [18:10] appinsanity-mike has joined the channel [18:11] Margle has joined the channel [18:14] mmalecki: isaacs: ping? [18:14] hij1nx has joined the channel [18:14] megalomix: is there a module to validate FORM ? [18:14] megalomix: (i'm using express.js [18:16] irclogger_com has joined the channel [18:19] irclogger_com has joined the channel [18:20] innociv has joined the channel [18:20] flumer-node has joined the channel [18:20] isaacs: mmalecki: hi [18:21] mmalecki: isaacs: hi :). did you read what I sent you? [18:21] isaacs: sent me? [18:21] diogogmt has joined the channel [18:21] mmalecki: isaacs: right after you joined [18:21] mmalecki: meh, lemme do it again [18:22] mmalecki: isaacs: just wondering about one new feature for npm. I'm almost done with implementing it, just wondering if you like it [18:22] isaacs: hmm... [18:22] mmalecki: isaacs: lets say we have package.json with scripts: { test: { http: 'run-http-tests' } } [18:22] isaacs: i'd like to keep the data structure simple [18:22] isaacs: i've got some map-reduces that run over the scripts in the registry to see which packages need compilation etc [18:22] mmalecki: isaacs: oh ok, that's fine :) [18:23] isaacs: maybe "scripts": { "test-http": "run-http-tests" }? [18:23] magnetik__: I have a little problem linked to the function getPeerCertificate() [18:23] isaacs: but i guess you can already do that... [18:23] megalomix: is there a form validator for express.js ? [18:23] mmalecki: isaacs: yeah, I just wanted to make it more semantical [18:23] magnetik__: When the user does not provide any certificate, it return {} [18:23] megalomix: how coul di validate the html FORMs ? [18:23] magnetik__: but, well, how can I test if the user did provide a certificade? [18:24] isaacs: we can put our semantics in a - as easily as we can put them in a : [18:24] isaacs: the dots and dashes don't have opinions about this :) [18:24] mmalecki: isaacs: I mean, the embeeded structures, etc [18:24] isaacs: oh, right [18:24] mmalecki: isaacs: but that's fine, simplicity > features [18:25] magnetik__: i tried if (certificate) or if (certificate == {}) but it does not work :/ [18:25] zomg: megalomix: I saw some lib but forgot the name. Google for nodejs form validation or something like that [18:25] daGrevis has joined the channel [18:25] megalomix: k [18:25] confoocious has joined the channel [18:26] daGrevis: Hey. I asked very noobish (imho) question about Node on StackOverflow. Maybe you can take a look at it? I haven't got any answers yet. http://stackoverflow.com/questions/8376952/internal-scripts-and-style-sheets-always-points-to-index-file-node-js [18:26] swaj has joined the channel [18:28] airborn has joined the channel [18:28] jamw has joined the channel [18:28] stride: dagrevis: in the function(request, response) { you read and forward index.html to the client [18:29] stride: no matter what the client requests [18:29] anddam has joined the channel [18:29] anddam: hello [18:29] ircdearia has joined the channel [18:29] magnetik__: When I console.log(myvar) it prints out {}, but when I try to test myvar == {}, it does not work :/ [18:29] stride: dagrevis: for serving static files you could use connect/express, they have a staticProvider middleware that handles static files for you. examples are available for that [18:30] anddam: I have a webapp that I'd like to distribute in order to being run locally [18:30] anddam: I thought about providing nodejs binaries to serve the app, I searched something similar on web but I couldn't find any [18:30] confoocious has joined the channel [18:30] anddam: has this been discussed? can someone suggest some search keywords? [18:31] wereHamster: magnetik__: type this in the node repl: {} == {} [18:31] wereHamster: what does it show? [18:32] bradleyg has joined the channel [18:32] isaacs: OpenID: Bad idea, or worst idea ever? [18:32] magnetik__: wereHamster, false [18:32] isaacs: daGrevis: i can't post an answer to your question, because SO uses openid [18:32] ciju has joined the channel [18:32] wereHamster: magnetik__: now do you see why 'myvar == {}' would not work? [18:32] isaacs: my identity is locked up [18:32] stride: isaacs: at least better than BrowserID :) [18:32] isaacs: and i can't reset the password or anything, because now the failure area is doubled. [18:32] isaacs: ugh. [18:32] magnetik__: wereHamster, well yep [18:33] ryanj has joined the channel [18:33] magnetik__: wereHamster, but myvar.length is undefined too.. How can I test that there is some elements ? [18:33] rwasielewski has joined the channel [18:33] magnetik__: getPeerCertificate() should return false or something like that :/ [18:33] isaacs: so, hooray, now i have two SO accounts, and lost all my karma and points and whatnot. [18:34] u6754 has joined the channel [18:34] subbyyy has joined the channel [18:34] aaronmcadam has joined the channel [18:34] stride: isaacs: me too. I just signed in with my google account to answer and got a new account. [18:34] swaj: magnetik__: jQuery and underscore both have handy methods that can test if an object is "empty" -- I recommend underscore. You can do var under = require('underscore'); and then test your var like this: if (under.isEmpty(myvar)) { ... } [18:34] isaacs: openid is so so bad [18:34] isaacs: we all drank that koolaid 10 years ago [18:34] MatthewS has joined the channel [18:34] isaacs: er, 5 years ago [18:34] isaacs: and it's still making trouble [18:34] stride: isaacs: are you writing an answer? I can close that weird thing in that case [18:35] isaacs: yes, i posted an answer. [18:35] isaacs: i'm "user1080374" [18:35] stride: oh, didn't refresh. hmkay :) [18:35] swaj: magnetik__: if you want to see how underscore does it, feel free to look at http://documentcloud.github.com/underscore/underscore.jsand findthe method :) [18:35] patcito has joined the channel [18:35] swaj: magnetik__: http://documentcloud.github.com/underscore/underscore.js that is [18:35] magnetik__: it looks very usefull [18:35] magnetik__: thanks :) [18:35] TheJH: isaacs, your identity is locked up? [18:35] swaj: <3 underscore :) [18:35] purr: Let it be known that swaj hearts underscore :). [18:35] Juan77 has joined the channel [18:35] xtat has joined the channel [18:36] daGrevis: stride, thanks. I will take a look at it. [18:36] isaacs: TheJH: well, i can't log into it, or reset the password, or use the same email address. [18:36] daGrevis: isaacs, what's the problem with OpenID? [18:36] edwardw_ has joined the channel [18:36] isaacs: daGrevis: ok, so you create an account at site A, and then use A.com/me to log into site B, right? [18:37] TheJH: isaacs, I think you can get access again by registering at http://stackexchange.com/ with the same mail [18:37] isaacs: then, one day, site A goes down, or B updates their open id implementation and A doesn't, etc. [18:37] daGrevis: isaacs, that's the idea, ye [18:37] isaacs: TheJH: "Email address is already registered" [18:37] TheJH: isaacs, also on stackEXCHANGE? [18:37] isaacs: daGrevis: Now, you've got TWO sites you can't log into [18:37] isaacs: TheJH: oh! i didn't try that [18:37] diogogmt has joined the channel [18:38] confoocious has joined the channel [18:38] isaacs: from now on, i'm going to make my password aA1! on all sites that have stupid useless hackable password requirements [18:39] langworthy has joined the channel [18:39] mmalecki: isaacs: one shop sent me back my plain text password recently >.< [18:39] isaacs: why not just have a minimum length? [18:39] isaacs: mmalecki: yeah, that sucks [18:39] mmalecki: I knew something wasn't right when they wanted *max* length to be 16 [18:40] nicod has joined the channel [18:40] isaacs: the thing is, openid is just exactly the wrong approach to the problem it ostensibly solves. [18:40] mmalecki: isaacs: what's the right approach? [18:40] isaacs: mmalecki: email addresses. [18:40] mmalecki: isaacs: fair enough [18:41] isaacs: "give me an email address, i'll send you a token to confirm it, choose a password and use that later, or reset it with the email address and a new token." [18:41] isaacs: it's pretty much perfect, and ancient [18:41] cjm has joined the channel [18:41] isaacs: openid takes the problems of the real world, and imposes them artificially on the virtual [18:42] isaacs: if visa's server is down, you can't use your card to buy groceries. and the grocer doesn't know you, so they're not going to give you a loan. [18:42] brianseeders has joined the channel [18:42] isaacs: but: there's only a few visas, and they never ever go down :) [18:42] gf3 has joined the channel [18:42] mmalecki: isaacs: it *may* be a solution in internal implementations. [18:43] stride: openid is more like a book full of visa cards and a funny guessing game which one you used the last time [18:43] mmalecki: like things which need cental authority but can't share db, etc. [18:43] isaacs: sso is a nice ideal. i'm not saying it's not. but every relevant openid-ish implementation that doesn't suck is using a proprietary system of some sort. [18:43] isaacs: stride: exactly! [18:43] isaacs: it's the kind of solution that only solves the problem by assuming that you don't already have the problem. [18:44] isaacs: but i already have a jillion accounts, and all of them are openid providers, so should i use google, or yahoo, or facebook, or myopenid, or what? [18:44] daGrevis: about my problem. i read this (http://www.thecodinghumanist.com/blog/archives/2011/5/6/serving-static-files-from-node-js) article. i understand now. i could figure the soltion out myself, but i didn't think that i need to do it. whatever, now i know :) [18:45] stride: dagrevis: make sure to read the comments of that blog post though [18:45] quackquack has joined the channel [18:45] stride: especially marak and mikeals [18:45] confoocious has joined the channel [18:46] ovaillancourt has joined the channel [18:46] jhurliman has joined the channel [18:47] samBiotic has joined the channel [18:47] daGrevis: stride, got it. there are modules that do this AND its stupid to load index.html for each request couse it's pretty-much static. thanks (: [18:47] jagoda has joined the channel [18:47] isaacs: TheJH: yes, that worked! [18:48] isaacs: TheJH: i don't know why SO pushes openid so hard. why not just use their sso system that actually works? [18:48] tmcw has joined the channel [18:48] stride: dagrevis: :) [18:48] daGrevis: overall, nice room. (: [18:48] daGrevis: thanks all [18:48] zomg: isaacs: because Jeff Atwood is an openid fanboy [18:48] TheJH: isaacs, well, when I'm logged in to google at school, I like being able to login to SO with one click [18:48] zomg: :P [18:49] TheJH: at home, openid isn't useful for me, but at school, it is [18:49] tomyan has joined the channel [18:50] jtsnow has joined the channel [18:51] isaacs: TheJH: i see [18:51] marcello3d has joined the channel [18:51] isaacs: i like how, on chrome, on any computer, i can log into anything i want with one click, once i've synced to my google account [18:51] mmalecki: isaacs: ++ [18:52] isaacs: of course, i'd never do that on a public machine [18:52] mmalecki: ugh [18:52] mmalecki: isaacs++ [18:52] v8bot_: mmalecki has given a beer to isaacs. isaacs now has 10 beers. [18:52] catb0t: isaacs now has 1 beer [18:52] isaacs: catb0t: gimme back those 9 beers you stole! [18:52] willwh: catb0t: identify [18:52] catb0t: identify the data it's a node server running , and ave a [18:53] mmalecki: kohai can do that ^^ [18:53] catb0t: gimme a few months , those tnx let there any cores, can anyone doing npm 's async is fine, it ten seconds for modern replacements for it, I'm on his entire framework do that is working on Windows , beers jerrysv I don't understand why gimp or ward off facebook wrote his machine I'm not really want to r t ing some weird and then do penetrative testing in my API or entries from a nyone stole it installs methinks latest, lly [18:53] catb0t: back , you can I meant that it better than browsers all , 9 months, of lagers, ales, and end up first example on a s why big thing, hing [18:53] stride: lol. wth? [18:54] mmalecki: catb0t: you're a big Markov generator, aren't you? [18:54] mmalecki: well, I guess we accidentally. [18:54] mmalecki: .. 1 [18:54] catb0t: 1 [18:54] catb0t: generator , I suppose it should be ok, DrMcKay , you're asking for example there 's the write a teway Markov chains are a h, am curious if this command i 'm cool , aren't entirely ineffective though about to believe in g callbacks in stal big stdout stream was some sort of a s literally anytime in design templates are initated by Tom Jones is NEVER say which is there isn't actually makes sense emerges from a y u need to s [18:54] catb0t: tart to join a t h AVE_UTIMES you 'll put , a t reading my link on figure out of those via cluster master and no official docs for basic auth entication [18:54] ccapndave has joined the channel [18:54] mattpardee has joined the channel [18:54] mmalecki: hahahahaha [18:54] mmalecki: it has my old nickname there [18:54] mattpardee has left the channel [18:55] stride: http://en.wikipedia.org/wiki/File:Tom_Jones_concert.jpg this guy initiated design templates? :) [18:55] dreamdust has joined the channel [18:56] mmalecki: lolololol [18:57] cjm has joined the channel [18:57] dreamdust: Are there any node projects working on MVVM, such as template languages built for binding date to them? [18:57] joshsmith: does anyone here use MySQL with Node? [18:57] p1d has joined the channel [18:57] joshsmith: I'm trying to evaluate ORMs [18:57] baudehlo1 has joined the channel [18:57] joshsmith: sequelize looks good, but I'd like to hear from others [18:57] mandric has joined the channel [18:58] isaacs: stride: it's not unusual. [18:59] zomg: dreamdust: dunno if there are any node-specific ones, but I've been using knockoutjs with good results so far [18:59] mmalecki: zomg++ [18:59] v8bot_: mmalecki has given a beer to zomg. zomg now has 1 beers. [18:59] catb0t: zomg now has 1 beer [19:00] stride: isaacs: huh? [19:00] mmalecki: https://github.com/mmalecki/nodejs-vs-ror is mvvm, lol [19:00] dreamdust: Is there any project like knockout.js but that is working on making the templates "reflective"… so instead of

I would just do

{{user.name}}

or something to that effect? [19:00] isaacs: stride: sorry, vague joke. http://www.youtube.com/watch?v=QrwO8b9iq34 [19:01] swaj: dreamdust: backbone with mustache templates? [19:01] swaj: that said, knockout with jquery templates could so something very similar [19:01] stride: isaacs: oh, I should have understood that. meh :) [19:01] dreamdust: swaj: That's not reflective, you would have to declare the binding. [19:02] isaacs: stride: i love that song, actually. not because it's a good song -- it's terrible. but it's the most over the top, happiest sounding thing, and he just casually throws in "I wanna die" occasionally [19:02] dreamdust: I'm talkign something that automatically binds but without using the "data-bind" attribute, essentially a new kind of template language built for ViewModels [19:02] swaj: if you do the parsing server-side, you could use mustache [19:02] blup has joined the channel [19:02] BrianE has joined the channel [19:02] swaj: or if you want to do it client side, you can use a template (again powered by mustache) [19:03] cjm has joined the channel [19:03] zomg: Blah, I wonder if I should just start using () in coffeescript func calls.. [19:03] zomg: Again bitten by it interpreting it differently than I [19:03] joshsmith: hey, that reminds me, I've been considering the choice between plates and something like Jade [19:03] mmalecki: isaacs: hey, do you maybe know anything about next node summer camp? [19:03] swaj: s/start using () in coffeescript func calls../stop using coffeescript/ [19:03] isaacs: mmalecki: mikeal's the guy to bug about tha [19:03] isaacs: t [19:03] joshsmith: let's say you have a list of things. normally in my templates I would process in a for loop [19:04] mmalecki: isaacs: ok, thanks [19:04] joshsmith: how would you do that in plates? [19:04] zomg: was wondering why if foo.indexOf item == -1 didn't work.. unsurprisingly, it compiled that to foo.indexOf(item == -1) [19:04] zomg: :P [19:04] jtsnow has joined the channel [19:04] mmalecki: joshsmith: map function, I think [19:04] mmalecki: joshsmith: but don't ask me about implementation, I don't think anyone knows XD [19:05] bogomips2_ has joined the channel [19:05] blup_ has joined the channel [19:05] blup__ has joined the channel [19:06] joshsmith: but how would you generate the HTML output correctly then? [19:06] joshsmith: some other method? [19:06] joshsmith: I feel like that's an added layer of complexity [19:06] dreamdust: swaj: That wouldn't allow binding to specific elements? It would just update the whole template. Unless I'm missing something about Mustache. [19:06] mmalecki: yeah [19:07] mmalecki: joshsmith: I'll ask people [19:07] adamstantonvan has joined the channel [19:07] joshsmith: mmalecki: thanks [19:07] joshthecoder has joined the channel [19:08] swaj: dreamdust: if you're wanting that sort of rich databinding, it's probably best to use knockout or backbone.js. [19:08] confoocious has joined the channel [19:08] confoocious has joined the channel [19:08] joshsmith: anyone here use persistencejs? [19:11] dreamdust: Wouldn't it be useful to write a template engine that worked across client and server that infers the binding without using the "data-bind" attribute? So you just write

{{user.name}}

and it deals with binding? [19:11] dreamdust: I guess there's nothing like this yet. [19:12] rauchg has joined the channel [19:13] darkenco has joined the channel [19:13] CarterL has joined the channel [19:15] joshsmith: dreamdust: if not, build it! [19:15] swaj: dreamdust: I believe spine.js does it... not sure about backbone [19:15] swaj: dreamdust: https://github.com/addyosmani/spine.bitly/blob/master/index.html [19:15] dshaw_ has joined the channel [19:15] swaj: dreamdust: not 100% sure though, worth looking [19:16] dreamdust: Spine.js is only client side. [19:16] dreamdust: but yeah [19:16] knifed has joined the channel [19:16] guybrush: i am child_process.spawn'ing a node-process and get "node: src/unix/stream.c:346: uv__write: Assertion `stream->fd >= 0' failed." on stderr -- what does it mean? [19:17] guybrush: (node@0.6.5) https://github.com/joyent/node/blob/v0.6.5/deps/uv/src/unix/stream.c#L346 [19:18] marcello3d has joined the channel [19:19] bogomips2__ has joined the channel [19:19] Morkel has joined the channel [19:20] jakehow has joined the channel [19:21] airborn has left the channel [19:21] marcello3d has joined the channel [19:21] bosphorus has joined the channel [19:22] diogogmt has joined the channel [19:22] insin: ACTION wonders if he could bend his template engine to do that [19:24] pickels has joined the channel [19:24] ecin has joined the channel [19:24] daGrevis has joined the channel [19:24] mike5w3c_ has joined the channel [19:25] ecin_ has joined the channel [19:25] daGrevis: hey again! what packages do I need to use Socket.IO on client-side? you see, i have socket.io and socket.io-client from NPM, but I can't get it working. [19:25] ctide has left the channel [19:26] ecin__ has joined the channel [19:26] daGrevis: I have this on client-side: . File exists, but JS console of Chrome gives me "Uncaught TypeError: Cannot call method 'parseUri' of undefined" [19:27] daGrevis: in that file, of c [19:27] bogomips2_ has joined the channel [19:27] Margle has joined the channel [19:29] rauchg has joined the channel [19:30] `3rdEden: daGrevis https://github.com/LearnBoost/Socket.IO/wiki/How-do-I-serve-the-client [19:31] stagas: `3rdEden: what's the status on engine.io? [19:32] `3rdEden: stagas rauchg can answer that better then me [19:32] `3rdEden: ACTION gives rauchg a subtile poke [19:32] daGrevis: `3rdEden, it gives me "GET http://127.0.0.1:1337/socket.io/socket.io.js 404 (Not Found)". That was the first path I tried. I don't have any idea why it doesn't work! [19:32] `3rdEden: is socket.io running on port 1337? [19:32] benlyn has joined the channel [19:32] daGrevis: yes, it is [19:33] `3rdEden: are you running with the default configuration? [19:33] nerdfiles1 has joined the channel [19:33] `3rdEden: have you attached socket.io as last on your HTTP server? [19:34] MatthewS has joined the channel [19:34] nerdfiles1 has left the channel [19:35] WarheadsSE_ has joined the channel [19:35] BrianE has joined the channel [19:35] bic2k has joined the channel [19:37] daGrevis: `3rdEden, thanks [19:37] daGrevis: `3rdEden, for 'attached socket.io as last on your HTTP server?' [19:37] Destos has joined the channel [19:37] svnlto has joined the channel [19:37] `3rdEden: :)! [19:38] svnlto: is there a quick way to find out whether npm is installed properly or not. ive sometimes got trouble loading a few modules [19:38] zeade has joined the channel [19:39] daGrevis: `3rdEden, btw, do I need socket.io-client as well? [19:39] isaacs: svnlto: what's the trouble? [19:39] `3rdEden: daGrevis yes [19:39] daGrevis: okay, thanks [19:39] isaacs: svnlto: if npm works at all, then it's installed properly, i'd think [19:39] p6 has joined the channel [19:39] isaacs: svnlto: but you can do `npm config ls` to show its setting [19:40] insin: hmm... you could try to be clever when rendering, or have something else which explicitly indicates the parent element should be bound, like {{user.name}} (no bind) and [[user.name]] (bind) [19:40] svnlto: isaacs: for instance, i run npm install winston ( seems fine ) but my script that requires winston fails saying it cant find the module [19:40] spolu has joined the channel [19:41] flumer-node has joined the channel [19:41] jarek has joined the channel [19:41] jarek has joined the channel [19:44] isaacs: svnlto: when you install it, your'e doing this locally? into your project? [19:44] neurodrone has joined the channel [19:44] svnlto: no -g flag [19:44] svnlto: yes [19:45] isaacs: svnlto: does `npm ls` show it? [19:45] isaacs: or rather, can you gist the output of `npm ls`? [19:45] svnlto: isaacs: sure. 1 sec [19:46] neurodrone has joined the channel [19:46] bic2k has joined the channel [19:47] diogogmt has joined the channel [19:47] rauchg has joined the channel [19:47] svnlto: isaacs: https://gist.github.com/1431106 [19:48] isaacs: svnlto: ; userconfig /Users/svenlito/.npmrc [19:48] isaacs: global = true [19:48] storrgie has joined the channel [19:48] isaacs: svnlto: your .npmrc file is making everything global [19:48] lyte has joined the channel [19:48] isaacs: svnlto: npm config del global --local [19:49] githogori__ has joined the channel [19:49] svnlto: isaacs: ok i ran the last cmd [19:49] isaacs: then install whatever you need for your project, or `npm link` it if you want to use what's installed globally [19:50] isaacs: svnlto: also, unsafe-perm is not really a great idea [19:50] tilgovi has joined the channel [19:50] tilgovi has joined the channel [19:50] hackband has joined the channel [19:51] svnlto: cool thanks for your help. I'll make sure I'll go through the docs again. it's been a while since ive read them. seems like i should again.. :) [19:52] TheFuzzball has joined the channel [19:52] isaacs: svnlto: `npm faq` is a good start [19:52] tkaemming has joined the channel [19:53] herbySk has joined the channel [19:53] davidvanleeuwen has joined the channel [19:54] enmand has joined the channel [19:54] tilgovi has joined the channel [19:57] TheJH: cool stuff I built this weekend: network event visualization for node which can even show what events belong together http://www.youtube.com/watch?v=4iSDwAb8XEA [19:57] baudehlo1 has joined the channel [19:58] tanepiper: TheJH: nice! [19:58] tanepiper: kind of reminds me of the Mario Paint music maker [19:58] cjm: NodeUp: A special npm deep dive show will be LIVE in 5min. Join us, http://www.ustream.tv/channel/nodeup and in #nodeup [19:59] s__ has joined the channel [20:00] TheJH: tanepiper, :D [20:00] joshsmith: woohoo, just submitted a fix to peristencejs [20:02] lxsameer has joined the channel [20:02] lxsameer: have any one used socket.io with rabbit.js before [20:05] dieselz82 has joined the channel [20:06] dieselz82: I'm iterating over an array and inserting each row into a mysql database. Because of the async nature, the ids of the inserts are different from the array. Is there a way to force the inserts to complete before doing the next one? [20:06] VesQ has joined the channel [20:07] s__ has left the channel [20:07] djazz has left the channel [20:07] dieselz82: *the ids of the inserts are in different order from the array [20:07] VesQ: how can I escape console output so that my bell won't ring when I receive \7 to console? [20:08] adamstantonvan has joined the channel [20:09] jimmysparkle has joined the channel [20:10] kriszyp3 has joined the channel [20:12] darkenco has joined the channel [20:15] diogogmt has joined the channel [20:15] joshsmith: dieselz82: what are you using to use mysql? [20:16] dieselz82: joshsmith: https://github.com/felixge/node-mysql [20:16] joshsmith: dieselz82: have you thought about using an odm? [20:16] dieselz82: whats that? [20:16] davidascher has joined the channel [20:16] joshsmith: object-database mapper [20:16] shoobat has joined the channel [20:16] dieselz82: ah, i know it by ORM [20:17] wojohowitz: think odm is Object document mapper [20:17] mc_greeny has joined the channel [20:17] dieselz82: how would that solve my problem? [20:17] wojohowitz: for document db's like mongo or couchdb [20:17] joshsmith: wojohowitz: yeah, you're right [20:18] markwubben has joined the channel [20:18] joshsmith: dieselz82: it would help generally to make your code more maintainable, but not your problem in particular [20:19] joshsmith: dieselz82: why do you need the ids to be the same? [20:19] dieselz82: not the same, just in order [20:19] joshsmith: well, why in order? [20:19] dieselz82: and for my current use case, I value speed over simplicity [20:19] EuroNerd has joined the channel [20:19] spathi has joined the channel [20:19] Renegade001 has joined the channel [20:20] dieselz82: the data is time oriented in nature, i'd like it to be stored in the database in date order [20:20] magnetik_ has joined the channel [20:20] dieselz82: it's not a huge deal, it would just be cleaner [20:21] dieselz82: and since the id is going to be indexed anyways, i could do queries based on newer or older data by id instead of adding an index to the timestamp field [20:21] whitman: dieselz82, you can specify the id in the insert, it won't break as long as there isn't already a row with that id. [20:21] tomyan has joined the channel [20:21] bogomips2__ has joined the channel [20:21] chrixian has joined the channel [20:22] jbpros has joined the channel [20:22] dieselz82: whitman: could do that, but there's gotta be some way to force synchronicity [20:23] whitman: Got a callback for when the insert is done? Insert the next row at that point. [20:23] joshsmith: yeah, that's the only thing I can think of [20:24] dieselz82: whitman: hmm interesting, almost a recursive function which iterates through the array. I think I'll try that. thanks for the idea [20:24] joshsmith: I honestly don't think you're going to lose much performance by indexing the timestamp, though [20:24] dieselz82: yea, i'd just like the table to be structured logically [20:25] joshsmith: ah, I feel ya [20:25] diogogmt has joined the channel [20:25] joshsmith: that recursive function feels a little dirty to me, but so does dirty data [20:25] joshsmith: so I'm torn :) [20:26] dieselz82: personally, i value database integrity over code integrity [20:26] trevorsheridan has joined the channel [20:26] dieselz82: you can always re-structure code, you can't always do the same with the databae [20:26] joshsmith: I'm inclined to agree [20:27] joshsmith: you should check out persistencejs at some point, though, if you need an ORM [20:27] joshsmith: it's pretty nice [20:27] perezd has joined the channel [20:27] wojohowitz: >>trying hard to resist preaching NOSQL :) [20:27] purr: wojohowitz: SyntaxError: Unexpected identifier [20:27] joshsmith: I think NoSQL's nice, I just don't think it's right for every problem [20:28] dieselz82: joshsmith: will do, thanks for the suggestion [20:28] dieselz82: my use case right now is going to store relational data in mysql and the rest in redis [which will be 99% of the data] [20:28] joshsmith: dieselz82: beware, though. if you npm install it before my pull request gets merged, you're going to find a nasty backwards-compatability issue [20:29] mikl has joined the channel [20:29] joshsmith: it doesn't work with node-mysql > 0.9.1 [20:29] dieselz82: ruh roh [20:29] JanLi has joined the channel [20:29] dieselz82: will keep that in mind [20:29] joshsmith: but you can just use my fork and require it differently [20:29] joshsmith: in the meantime [20:30] johnnywengluu: someone build a VagrantUp for node.js =) [20:33] dieselz82: does anyone else think that npm makes it very difficult to ensure that an environment is setup properly? [20:33] pizthewiz has joined the channel [20:34] dieselz82: am i right that it's impossible to include npm modules without installing first with root permissions and then linking locally? [20:35] TheJH: dieselz82, no, wrong [20:36] TheJH: dieselz82, "npm install modulename", done [20:36] dieselz82: and the node_modules folder has to be in the same directory as the script thats running? [20:36] joshsmith: no [20:37] dieselz82: hmm apparently i have no idea how it works then. to the manual i go [20:37] TheJH: dieselz82, same directory or a directory above it [20:37] joshsmith: npm works its way up the tree [20:37] joshsmith: all the way up to your base app file [20:37] dieselz82: can the files be submitted to git, pulled on another server, and its good to go? [20:37] joshsmith: if it's not found there, then it can't find the module [20:37] localhost has joined the channel [20:37] ecin has joined the channel [20:38] joshsmith: dieselz82: most people usually put node_modules in a .gitignore [20:38] tlynn has joined the channel [20:38] dieselz82: im not a fan of creating that dependency between the app and the environment [20:39] joshsmith: dieselz82: you can specify your dependencies in your package.json [20:39] joshsmith: for example, in nodejitsu, when deploying, jitsu will install all the dependencies using npm by scanning the package.json [20:40] dieselz82: i see, i suppose I could just build that into my deploy script [20:41] joshsmith: you could save yourself the trouble of rolling your own and even deploy your app with jitsu [20:41] joshsmith: it's open source [20:41] m00p has joined the channel [20:41] joshsmith: dieselz82: https://github.com/nodejitsu/jitsu [20:41] dieselz82: sweet [20:43] mikeal has joined the channel [20:45] cjm: if you missed it, NodeUp is live right now, npm deep dive episode. http://www.ustream.tv/channel/nodeup and in #nodeup [20:45] salva has joined the channel [20:45] indexzero has joined the channel [20:47] hij1nx has joined the channel [20:49] bogomips2_ has joined the channel [20:49] mraleph1 has joined the channel [20:50] jacobolu_ has joined the channel [20:51] teknopaul1 has joined the channel [20:51] jackbean has joined the channel [20:52] ecin has joined the channel [20:52] MatthewS has joined the channel [20:53] bic2k has joined the channel [20:55] rwaldron has joined the channel [20:55] jarek has joined the channel [20:55] jarek has joined the channel [20:58] joshthecoder has joined the channel [20:59] davidbanham has joined the channel [20:59] Samuel_Roldan has joined the channel [21:00] piscisaureus_ has joined the channel [21:04] _bat has joined the channel [21:05] tonymilne has joined the channel [21:06] hackband has joined the channel [21:07] jrogers has joined the channel [21:08] louissmit has joined the channel [21:08] deedubs has joined the channel [21:08] TheFuzzball has joined the channel [21:10] Layke has joined the channel [21:10] Layke: How do I figure out the version of something via npm? [21:11] isaacs: Layke: npm ls [21:11] Layke: Thanks isaacs :) [21:11] Layke: CAnd to update, it would be like [21:11] Layke: npm update socket.io [21:12] Layke: If I wanted to update socket.io for instance. [21:13] chilts: yep, that's it [21:14] Layke: Okay great :) That fixed it. [21:14] Layke: Been troubleshooting socket.io for an hour [21:14] Layke: Works in FF, but not in Chrome. [21:14] Layke: I guess it was a change in the ws:// protocol. [21:14] Layke: Updating has fixed Chrome now. [21:14] johnnyluu has joined the channel [21:15] pizthewiz has joined the channel [21:15] r04r has joined the channel [21:17] darkenco has joined the channel [21:20] robi42 has joined the channel [21:20] Sorella has joined the channel [21:21] iRoj has joined the channel [21:21] BrianE has joined the channel [21:21] rwasielewski has joined the channel [21:26] lxsameer: can some one help me to understand the rabbit.js work flow [21:27] maletor has joined the channel [21:27] rwaldron has joined the channel [21:28] stagas has joined the channel [21:29] tonymilne has joined the channel [21:29] bosphorus has joined the channel [21:29] brianseeders has joined the channel [21:29] adamstantonvan has joined the channel [21:29] innociv has joined the channel [21:31] jeromegn has joined the channel [21:31] Industrial: https://gist.github.com/288f19ed623f5e90a477 :( [21:32] jhbot has joined the channel [21:34] langworthy has joined the channel [21:35] flumer-node has joined the channel [21:35] kenperkins has joined the channel [21:38] josh-k has joined the channel [21:39] dieselz82: mjr_: are you around? I'm having the same problem as https://github.com/mranney/node_redis/issues/35 and I'm wondering if thats still the best practice for dealing with it? [21:40] cheapRoc has joined the channel [21:42] johnnyluu has joined the channel [21:42] johnnyluu: ls [21:42] johnnyluu: oops [21:42] johnnyluu: damn weechat [21:45] ecin has joined the channel [21:45] fangel has joined the channel [21:50] flumer-node has joined the channel [21:52] joshsmith has joined the channel [21:54] trevorsheridan: Just published my first NPM package! http://search.npmjs.org/#/more [21:54] SubStack: hooray! [21:54] trevorsheridan: :) pretty stoked about it [21:55] mraleph has joined the channel [21:55] SubStack: releasing software is pretty fun [21:56] joshsmith: trevorsheridan: nice name! [21:57] arcanis has joined the channel [21:57] skunkape has joined the channel [21:57] trevorsheridan: joshsmith: thanks! one of my friends actually came up with it. [21:57] torm3nt has joined the channel [21:57] mikeal has joined the channel [21:58] chilts: trevorsheridan: yay, good stuff :) [21:58] baudehlo has joined the channel [21:59] salva has joined the channel [21:59] salva has left the channel [22:00] bpr has joined the channel [22:01] AvianFlu has joined the channel [22:01] langworthy has joined the channel [22:02] michaelhartau has joined the channel [22:03] flumer-node has joined the channel [22:08] johnnyluu has joined the channel [22:09] flumer-node has joined the channel [22:11] ph^ has joined the channel [22:12] lmorchard has joined the channel [22:12] Guest19404 has joined the channel [22:14] GrizzLyCRO has joined the channel [22:16] ShinyDarkness has joined the channel [22:17] daGrevis has joined the channel [22:18] stagas has joined the channel [22:20] daGrevis: Another noobish question about Node and Socket.IO. [22:20] daGrevis: http://pastie.org/2966544 [22:20] daGrevis: When to use io.sockets.emit and when I can simply use socket.emit [22:21] mjr_: dieselz82: I'm here, but I'm battling a big production issue right now, so I don't have time I'm afraid. [22:21] subbyyy has joined the channel [22:21] dieselz82: mjr_: no problem, i *think* i figured it out, but not using the idle event - good luck with your issue [22:22] pekim: Help, I think I just screwed up https://github.com/joyent/node/wiki/Modules . I only added one line, or at least I thought I did. [22:23] pekim: But I appear to have done something else. I can't find a regular commit-like diff, so I can't figure out what I did wrong. [22:24] kenperkins has joined the channel [22:25] michaelhartau has joined the channel [22:25] wilmoore has joined the channel [22:26] pekim: I did only add one line. https://github.com/joyent/node/wiki/_compare/0e829b35b3db1e52b7159ff77941e5199e6a88d8...580010a267f3903dea939299233d1a0b2313026f So I must have violated the markdown syntax somehow, but I can't see how. [22:28] pekim: Oh well, I've reverted the change. [22:28] isaacs_ has joined the channel [22:29] metaverse has joined the channel [22:29] bogomips2__ has joined the channel [22:32] bogomips has joined the channel [22:33] edwardw has joined the channel [22:36] pekim: Figured it out, I needed to switch to textile (instead of markdown). [22:37] cjm has joined the channel [22:39] Samuel_Roldan has joined the channel [22:42] joshsmith_ has joined the channel [22:45] issackelly_ has joined the channel [22:45] MatthewS has joined the channel [22:46] megalomix has joined the channel [22:46] megalomix: hello everybody [22:47] megalomix: can I get a strange help? :D [22:47] megalomix: How can I write it following the FORM utilized by Node application ? I refer to syntax, tabulations etc etc: https://gist.github.com/1431543 [22:50] Wa has joined the channel [22:51] lxsameer has joined the channel [22:51] lxsameer has joined the channel [22:51] nils_r has joined the channel [22:52] nicholasf has joined the channel [22:52] insin has joined the channel [22:53] langworthy has joined the channel [22:53] rwasielewski has joined the channel [22:54] u6754 has joined the channel [22:54] guybrush: big party-pooper :/ https://github.com/joyent/node/issues/2254 [22:56] k1ttty has joined the channel [22:57] kitt has joined the channel [22:57] kitt has joined the channel [22:58] alindeman has joined the channel [22:58] baudehlo1 has joined the channel [23:00] jstash has joined the channel [23:00] smh has joined the channel [23:02] ag4ve has joined the channel [23:02] enmand has joined the channel [23:03] iRoj has joined the channel [23:04] ag4ve has joined the channel [23:09] EvRide has joined the channel [23:12] Luuk has joined the channel [23:13] jbpros has joined the channel [23:13] otakutomo has joined the channel [23:14] EhevuTov has joined the channel [23:14] avi_flax has joined the channel [23:15] mikeric has joined the channel [23:15] shedinja has joined the channel [23:16] avi_flax: Hi all, I'm looking for some help with determining the progress of a transfer via HTTP [23:16] avi_flax: I haven't been able to figure out how to do so accurately [23:16] avi_flax: code here: https://gist.github.com/1431609 [23:17] avi_flax: I make a request like this: curl -i -# -o /dev/null http://localhost:3000/ [23:17] avi_flax: and my node program show 100% progress when curl is showing only about 50% [23:17] avi_flax: basically the node progress is "hasty" — it goes much faster than the actual transfer [23:18] __t has joined the channel [23:18] Tobsn has joined the channel [23:18] __class__ has joined the channel [23:19] Tobsn has joined the channel [23:19] eeemsi: hi [23:19] lzskiss has joined the channel [23:19] eeemsi: i am running in a sql logic error, but can't the mistake =( [23:20] eeemsi: http://pastebin.com/1UrdcRjn [23:20] shedinja: anyone know why /^ab|c$/.test('abc') => true? I thought the pipe was an OR but it's accepting both ab and c [23:21] eeemsi: *can't find… [23:21] avi_flax: eemsi what error are you getting? [23:21] djcoin: Hi all, a more 'javascript' than node question; Differences between new Array and Array(), is Array() okay ? [23:21] eeemsi: avi_flax: events.js:48 [23:21] eeemsi: throw arguments[1]; // Unhandled 'error' event [23:21] eeemsi: ^ [23:21] eeemsi: Error: SQLITE_ERROR: SQL logic error or missing database [23:22] avi_flax: eemsi: can you paste the whole stack trace/ [23:22] thepatr1ck: djcoin: no difference as far as I recall, but you might as well just use [] [23:23] eeemsi: avi_flax: thats it [23:23] djcoin: thepatr1ck: yep, I do use [] and {}, but Array is a function, so that can be pretty handy [23:25] avi_flax: eeemsi: well it looks like your program is only trying to create the DB [23:25] whotemp has joined the channel [23:25] whotemp has left the channel [23:25] djcoin: bye, thanks for the answer thepatr1ck [23:25] eeemsi: avi_flax: oh wait… what? [23:25] avi_flax: so I'd suggest checking the docs for that sqlite lib, to see how it's supposed to be used [23:25] djcoin: g2g [23:26] avi_flax: eeemsi: unless I'm seeing this wrong, the only function you're calling is goforit, which only calls create_db and then the program is done [23:27] eeemsi: avi_flax: no its not done by then [23:27] eeemsi: it is calling create_table and insert_db. it stops at the output of "started reading from the database" [23:28] avi_flax: eeemsi: maybe i'm missing something but on line 49 you call goforit() which calls create_db() and create_db() doesn't call anything else [23:28] avi_flax: oh wait [23:28] avi_flax: i am missing something [23:28] avi_flax: the callback [23:28] avi_flax: sorry [23:28] eeemsi: hey we thought the same (oh wait) [23:28] eeemsi: ^^ [23:29] rwaldron has joined the channel [23:29] eeemsi: avi_flax: there is a test.db-journal … [23:29] avi_flax: eeemsi: it's strange that youre not getting a more useful trace [23:29] squeeks has left the channel [23:29] avi_flax: eeemsi: what's in it? [23:29] eeemsi: but the database is empty [23:29] eeemsi: the test.db-journal consists of the things that should be in the database [23:30] lzskiss has joined the channel [23:30] nerdy_ has joined the channel [23:30] mjr_: isaacs_: you around? Having trouble figuring out what's wrong here: https://gist.github.com/1431648 [23:30] avi_flax: eeemsi: what's the deal with the odd statement on line 21? [23:30] avi_flax: eeemsi: I don't know sqlite well but that looks like invalid SQL [23:31] eeemsi: it is putting that (lets call it) weird something i times into the database [23:32] eeemsi: oh… [23:33] i3johnc has joined the channel [23:33] eeemsi: the database is not empty [23:33] eeemsi: strange [23:34] avi_flax: eeemsi: I guess I can't help, sorry, good luck [23:34] eeemsi: avi_flax: thx for the help anyway [23:34] avi_flax: can anyone help me with determining the progress of a transfer via HTTP? [23:34] isaacs_: mjr_: looks like an issue wiht the hiredis build script? [23:34] mjr_: isaacs_: figured it out, turns out I have https://github.com/joyent/node/issues/1716 [23:34] isaacs_: mjr_: i think it used to put stuff in ./build/default and now it's in ./out/Default? [23:34] isaacs_: or something liek that [23:35] mjr_: something that the node 0.6 installer leaves behind confuses node-waf [23:35] mjr_: If you install node 0.6 with make install, then want to go back to node 0.4 with make install, you will be sad. [23:36] piscisaureus_ has joined the channel [23:36] isaacs_: oh, yeah, you need to ./configure again [23:36] isaacs_: maybe make distclean, as well [23:37] MatthewS has joined the channel [23:37] mjr_: I had to make uninstall [23:37] mjr_: from node 0.6 [23:38] piscisaureus_ has joined the channel [23:38] DennisRasmussen has joined the channel [23:40] Leemp2: Odd question.. but when dealing with node.js child_process, has anyone experienced.. "Error: Binary module support disabled for security reasons" ? [23:40] quackslike has joined the channel [23:42] toddmorrill has joined the channel [23:42] toddmorrill: anyone out there know of any sites impementing fb chat api? [23:42] toddmorrill: [6:41pm] toddmorrill: i want to see it from an end user experie [23:43] satyr has joined the channel [23:44] DennisRasmussen has joined the channel [23:45] eeemsi: oh yeah i solved my problem! [23:45] eeemsi: i was missing a db.run('BEGIN'); in the function create table [23:48] blueadept has joined the channel [23:49] madhums has joined the channel [23:49] franky has joined the channel [23:51] josh-k has joined the channel [23:51] leahciMic has joined the channel [23:52] mikeal has joined the channel [23:53] leahciMic: Has anyone had any trouble running Node on EC2 or Xen? Recently I updated to v0.6.3, and got an invalid opcode: 0000 error. [23:58] BrianE has joined the channel [23:58] baudehlo has joined the channel [23:58] leahciMic: is everyone sleeping ? [23:58] tuhoojabotti: No [23:59] leahciMic: who would be the best person to ask about issues with Node running on Xen? [23:59] tuhoojabotti: Github [23:59] leahciMic: lol [23:59] leahciMic: i assume the irc channel is useless [23:59] tuhoojabotti: Very much so