[00:00] avih has joined the channel [00:01] TheFuzzball: True, but Javascript has always been one of my favourites :) [00:02] cmr: TheFuzzball: What's your favourite and least favourite part about node and javascript? [00:02] Shaunzie: So long as it's not a functional programming language… erlang still gives me the heebie jeebies ._. [00:02] cmr: Shaunzie: js is pretty functional [00:03] Shaunzie: O.o [00:03] devongovett has joined the channel [00:04] TheFuzzball: Javascript can be OO, or procedural, or Functional, it just depends on how you use it. Same with most languages. [00:04] Shaunzie: Javascript isn't a functional programming language different classification [00:04] gkatsev: JS is functional. [00:04] gkatsev: JS is multi-paradigm [00:04] TheFuzzball: The thing I like most about Javascript is how easy it is to get things done. Also, the lack of data-types, I HATE having to specify data types :) [00:05] Lingerance: It doesn't have the shortcutting needed to make it functional [00:05] TheFuzzball: pointers would be cool in Javascript though. [00:05] Shaunzie: no, you can program in a functional style within Javascript, as will many other languages, but it isn't a functional language. [00:05] Shaunzie: http://en.wikipedia.org/wiki/Functional_programming [00:05] Shaunzie: data in Javascript is mutable [00:05] Shaunzie: erlang that isn't allowed [00:06] Shaunzie: you can't do var = stuff var = otherstuff [00:06] cmr: I said it was pretty functional, not that it is functional. There are a lot of functional things about it. [00:06] malkomalko has joined the channel [00:06] cclarke has joined the channel [00:06] cmr: There are a lot of other paradigms too, like gkatsev it is multi-paradigm. [00:07] gkatsev: cmr: you a verb there [00:07] gkatsev: :{ [00:07] gkatsev: :P [00:07] TheFuzzball: :o [00:07] Brandon_R: i don't like to use languages that take on a new paradigm just for the sake of it [00:07] Brandon_R: tack [00:07] cmr: gkatsev: Not a verb, an object. *You* are multi-paradigm :) [00:07] gkatsev: cmr: "like gkatsev, it is multi-paradigm" [00:08] gkatsev: lol, ok [00:08] Brandon_R: there is a compiler for erlang that allows us to resuse variable names [00:08] Brandon_R: but it gets decompiled [00:08] TheFuzzball: gkatsev Take it as a compliment, there are just so many facets to your personality :) [00:08] Brandon_R: much like what coffeescript doesn't to js [00:08] the_frow has joined the channel [00:08] mattgifford has joined the channel [00:08] Brandon_R: do you guys use erlang? [00:08] jomoho2 has joined the channel [00:08] Shaunzie: sorta kinda [00:08] cmr: Never touched it. [00:09] Brandon_R: what do you think is missing in the erlang community compared to the node.js one [00:09] Shaunzie: mostly for sport than anything else [00:09] Brandon_R: functional programming is too theoretical [00:09] Shaunzie: erlang is old and stuffy. It's a hard language to learn, and more so to master. [00:09] Brandon_R: mostly used in academia [00:09] SubStack: functional programming is funtimes [00:09] SubStack: you can use a lot of the ideas without being a purist about it [00:09] Brandon_R: lamda calculus [00:09] Shaunzie: not so. It's used much outside of academia [00:10] TheMoonMaster: Erlang is pretty sweet. [00:10] Brandon_R: i mean [00:10] Shaunzie: erlang has it's place [00:10] Brandon_R: yeah it probably is, idk why i said that [00:10] TheMoonMaster: Functional language wise, I think OCaml is the nicest syntax wise. [00:10] Brandon_R: lisp [00:10] Brandon_R: 90 percent parentheses, 10 percent code [00:10] TheMoonMaster: Clojure is nice as well. [00:11] TheFuzzball: Shaunzie its* [00:11] TheFuzzball: Can't be wasting those apostrophes :) [00:11] Shaunzie: thank you grammar nazi :D [00:11] Brandon_R: what is the erlang community missing? [00:11] TheMoonMaster: A community. [00:11] Brandon_R: lots of tutorials? libraries? [00:11] Brandon_R: lol [00:11] Brandon_R: that's probably true [00:11] cmr: I don't think tutorials are valuable. Good documentation is. [00:11] mmalecki: I like scala. if it wasn't JVM, it'd make a really awesome environment. [00:12] Brandon_R: when i say tutorials, i mean like general talk about the language [00:12] Brandon_R: like blog posts here and there [00:12] TheMoonMaster: I've used a bit of Scala, my gripe is the build tool. [00:12] Brandon_R: saying how to do stuff [00:12] cmr: Well those aren't tutorials now. Tutorial == Walk-through [00:12] Shaunzie: blah I hate reading useless information. 9 times out of 10 I read the code before I read the documentation [00:12] Brandon_R: true [00:12] Brandon_R: i guess i should say buzz [00:13] cmr: Shaunzie++ [00:13] TheFuzzball: I find examples very helpful, but I've never had patience with walkthroughs. [00:13] towski has joined the channel [00:13] Brandon_R: examples + walkthrough? [00:13] Shaunzie: some people have shit documentation practices or they don't document at all -.- [00:13] Brandon_R: exampels + well documented code [00:13] murvin has joined the channel [00:13] Brandon_R: erlang is 20 years old so i think it skipped out on the agile stuff [00:13] Shaunzie: examples are cool. I'd take a examples over tutorials. [00:13] Brandon_R: just code and be done with it [00:13] Brandon_R: whereas node was borned into an agile world [00:14] Shaunzie: erlang was invented in the 80s so its more like 30+ years old [00:14] murvin: merry x'mas all [00:14] cmr: Agile is a bunch of hype over good practices that have existed for a while. [00:14] Brandon_R: the open source version [00:14] TheFuzzball: cmr Better than waterfall :) [00:14] Brandon_R: hype is cool and all if it allows mass adoption of a useful concept [00:14] Brandon_R: wuickly [00:14] Brandon_R: quickly* [00:15] ryan_stevens has joined the channel [00:15] cmr: http://agilemanifesto.org/ common sense if you ask me [00:15] RLa: no agile practices were used in 80'es? [00:15] Brandon_R: Agile manifesto - programmers of the world unite [00:15] cmr: I think it's a trick to fool management ;) [00:15] mmalecki: buzzwords <3 [00:15] Shaunzie: agile isn't a trick [00:16] Brandon_R: do you guys node.js lived up to the buzz? [00:16] Brandon_R: unlike amd processors [00:16] Shaunzie: a lot of organizations subscribe to the waterfall method [00:16] Brandon_R: or is the node.js buzz still in effect [00:16] murvin: cmr: hahah yes.. Agile. i think it is more for corporate and management to shows that they have implemented a great method. thus spend some budgets [00:16] murvin: i have never worked in a company that has successfully implemented Agile. small or large corporation. [00:17] TheFuzzball: Shaunzie Which is a shame. [00:17] TheJH: murvin, well, I think coding with two people in front of one PC is a good idea [00:17] Shaunzie: waterfall isn't so bad [00:17] Brandon_R: has anyone ever correctly implemented agile? [00:17] Shaunzie: I like it over agile, if only because it forces you to get your documentation out of the way early on [00:17] murvin: TheJH: hahaah yeah. [00:17] TheJH: murvin, at least if you have non-trivial code [00:17] RLa: what would be correct implementation? [00:17] mmalecki: there's no such thing as 'correct agile implementation', really [00:17] mmalecki: use whatever works for you. [00:17] TheJH: murvin, it means that you can spot a bunch of nasty bugs much earlier [00:17] mmalecki: processes should be adjusted [00:18] TheFuzzball: Shaunzie Depends on the project. If the project parameters change through the lifetime of development then the waterfall model doesn't work. [00:18] mmalecki: pair programming++ [00:18] TheJH: murvin, so at least for java, agile is good :D [00:18] Shaunzie: yah, I don't like changing spec... [00:18] Shaunzie: It pisses me off :D [00:18] TheJH: Shaunzie, :D [00:18] TheFuzzball: Agile is the solution to that then :) [00:18] Brandon_R: do you guys think documentation is automitically matching using regex the code before each function? [00:18] Brandon_R: like #author, #return, #purpose etc [00:18] cmr: Brandon_R: jsdoc you mean? [00:18] Brandon_R: yeah [00:19] TheJH: Brandon_R, #author? just "git blame" [00:19] Brandon_R: or should documentation be written based on use cases [00:19] mmalecki: https://github.com/nodejitsu/haibu/blob/master/lib/haibu/core/spawner.js#L24-30 [00:19] murvin: the most interesting story I heard was.. there was a big telecommuncation company implement the Agile method.. in a extreme way. Every one doens't has his own desk. There is a lab like university. Everyone goes in to the office in morning, take a desk. Work. Next day, go to another group another office room. "Cooperate" with another team. [00:19] mmalecki: yeah, #author is redundant [00:19] cmr: I dislike most of the jsdoc overhead. I prefer to comment where comments are necessary, and write external documentation [00:19] Shaunzie: not really [00:19] TheJH: mmalecki, uh, wow [00:20] Shaunzie: If more than one person is working on a package, knowing who wrote a function can be pretty important [00:20] mmalecki: TheJH: ? [00:20] murvin: i agree Agile idea is good.. but not many PM knows how to implement it effectively and correctly. [00:20] Shaunzie: sure you can use svn/git etc [00:20] TheJH: mmalecki, that story [00:20] murvin: ends up like a mess. [00:20] cmr: murvin: Anything in the extreme is bad, methinks. [00:20] Shaunzie: but that's an extra step >.> [00:20] kitt has joined the channel [00:21] TheJH: Shaunzie, well, at least, it'd be correct [00:21] arcanis has joined the channel [00:21] TheJH: Shaunzie, A writes a two-line method with #author. B adds many things without changing #author [00:21] TheJH: Shaunzie, many people refactor the code, A's code is long gone [00:22] marlun has joined the channel [00:22] marlun has joined the channel [00:22] TheJH: Shaunzie, more docs->higher outdated:up-to-date ratio [00:22] Lingerance: Eve runs everything indent and pushes. [00:22] Lingerance: through+* [00:22] TheJH: Lingerance, blame on parent revision of the blame result, iterate until success [00:23] TheJH: if there was a good tool for that, it'd be easy [00:23] sdwrage has joined the channel [00:23] mmalecki: I find git blame pretty accurate [00:23] mmalecki: you rarely change indent that much [00:23] TheJH: true [00:24] mmalecki: so, that file again https://github.com/nodejitsu/haibu/blame/master/lib/haibu/core/spawner.js [00:24] Lingerance: I meant that as an example of someone using a tool that does mass code changes [00:24] Shaunzie: At work we have svn set up to tag the author on commit which works fine [00:24] isufy has joined the channel [00:25] mmalecki: I'd certainly know who should I hit up with questions [00:25] Shaunzie: if something breaks we just look at the tag line and we know who to blame. 1 less step [00:25] mmalecki: Lingerance: you shouldn't use that kind of tools, really [00:25] mmalecki: Shaunzie: ewww... svn? [00:26] Shaunzie: yah. svn works fine [00:26] mmalecki: Shaunzie: also, `git bisect` ftw [00:26] mandric has joined the channel [00:26] Shaunzie: eh. git svn same shit to me. I use what ever my bosses pay me to use [00:27] mfncooper has left the channel [00:28] mmalecki: Shaunzie: I *always* found svn pain to work with [00:28] mmalecki: even with git svn [00:28] Shaunzie: never had a problem with svn really [00:28] mmalecki: Shaunzie: maybe you should help them migrate? [00:28] jomoho has joined the channel [00:28] SubStack: I wasn't too bothered by svn until I learned git [00:29] Shaunzie: yah that would be painful. I'd have to bend over backwards, and I'm not a fan of having things shoved up my ass.... [00:29] Shaunzie: svn works fine for the company so I leave them be. [00:29] SubStack: it sucks not being able to commit offline [00:29] RLa: i like svn because of partial checkouts [00:30] Shaunzie: mm we're an internet company, so if we don't have access to the internet, there's kind of a bigger problem there lol [00:30] mmalecki: SubStack++ [00:30] catb0t: SubStack now has 1 beer [00:35] TheFuzzball: Shaunzie What about when you're working on a plane, or in a cave, or in South America? [00:35] Shaunzie: I don't work on a plan. I watch movies on my iPad or read a book [00:35] Shaunzie: or drink booze till I get the spins and want to throw up [00:35] Shaunzie: HA! [00:36] TheFuzzball: What if your boss was on the plane with you, and you HAD to get an important bit of code finished? [00:36] Shaunzie: they'd buy me the booze :D [00:37] TheFuzzball: ACTION gives up. [00:37] DesignerGuy has joined the channel [00:37] Shaunzie: LOL! I love my bosses :D [00:37] TheFuzzball: Who's used porter? [00:38] otakutomo has joined the channel [00:38] Brandon_R: boycott godaddy [00:38] jbrokc has joined the channel [00:38] DesignerGuy: Is there a way to see errors on nod ester? [00:38] jakehow has joined the channel [00:38] DesignerGuy: nodester* [00:40] adrianF has joined the channel [00:47] ryan_stevens has joined the channel [00:47] gary42_ has joined the channel [00:48] spurge has joined the channel [00:52] josh-k has joined the channel [00:52] jaequery has joined the channel [00:53] pizthewiz has joined the channel [00:57] dmojoryder has joined the channel [00:59] larsschenk has joined the channel [00:59] larsschenk has left the channel [00:59] Brandon_R: hi [01:01] criswell has joined the channel [01:03] Shaunzie has joined the channel [01:12] mansoor: say what you will, godaddy is still the best host and i've tried many [01:12] TheMoonMaster: LOL [01:13] joestein has joined the channel [01:13] TheFuzzball: lol [01:13] mansoor: i'm serious all other hosts want oyou to type into a black box to interact with your server [01:13] zomg: No idea about any of their hosting packages but at least their .com packages seem kinda expensive [01:13] RLa has joined the channel [01:13] mansoor: godaddy has the beest ui for managing yoru hosting [01:14] a_meteorite: LOL [01:14] TheMoonMaster: You're kidding, right? [01:14] TheFuzzball: Whenever I've used it it's been laggy as hell. [01:14] TheMoonMaster: They have a terrible UI. [01:14] a_meteorite: I'm glad of the day I ditched godaddy [01:14] a_meteorite: Their UI is terrible [01:14] DesignerGuy has joined the channel [01:14] a_meteorite: And slow as hell [01:14] zomg: And I like my black box [01:14] mansoor: its the best in the industry [01:14] zomg: It makes me feel l33t [01:14] zomg: GoDaddy doesn't [01:14] TheMoonMaster: Ignorance is awesome. [01:14] a_meteorite: mansoor: are you trolling? [01:15] mansoor: lol yes [01:15] mansoor: :p [01:15] zomg: You actually had to ask? ;) [01:15] TheJH: can I safely use smileys in HTTP response messages? [01:15] Dmitrijus: TheJH: :D:D [01:15] a_meteorite: Good, I was afraid there was someone that ignorant here... [01:15] TheFuzzball: a_meteorite Well, MS-DOS is still the best OS, by far. [01:15] mansoor: gawd i dred the days that i had to use goddady for work :( [01:16] Shaunzie has joined the channel [01:16] a_meteorite: TheFuzzball: You Minix hater! [01:16] cmr: Hurd4lyfe, as long as we're trolling.. [01:16] TheFuzzball: Minix is MS-DOS's bitch. [01:16] TheFuzzball: :P [01:16] mansoor: Linux Mint all the way :D [01:17] a_meteorite: Everyone knows Minix is the superior OS. I mean, just look at that beautiful microkernel... [01:17] zomg: I wonder why so many embedded consumer devices seem to run Windows CE o_O [01:17] zomg: Like my GPS Navigator, and my robot vacuum cleaner I just got for xmas [01:17] TheFuzzball: Yeah, the Hurd kernel is much better than the Linux kernel, which is better than the Minix kernel. Looks like once again, Minix is at the bottom of the foodchain :P [01:17] marcello3d: anyone here using mongolian deadbeef? [01:17] a_meteorite: I thought VxWorks (oh god) was more popular zomg [01:18] zomg: a_meteorite: no idea, but it would seem odd to me to run something like windows ce when a *nix system would seem to be a better fit for such hardware as those [01:18] a_meteorite: Yeah [01:18] marshall has joined the channel [01:19] TheFuzzball: "Red light cuts through fog better than white. So if Rudolph's nose did glow he'd indeed prevent Santa from flying into mountains" [01:19] joestein has joined the channel [01:23] Brandon_R: PID = spawn(?MODULE, socket_io, []), [01:23] Shaunzie: erlang D: NOOOS [01:23] PureRumble has joined the channel [01:26] Brandon_R: lol [01:26] Shaunzie: I'm starting to feel the need to rewrite node-validator :( [01:27] Brandon_R: why [01:27] Brandon_R: link to its github [01:27] Shaunzie: It's not doing what I want it todo… >.> [01:27] Shaunzie: lol [01:28] criswell has joined the channel [01:28] TheFuzzball: ACTION prepares to watch the new Merlin [01:30] TheFuzzball: Parma Ham is weird. [01:33] Brandon_R: boost bindings for node.js am i right? [01:33] purr has joined the channel [01:36] JakeyChan has joined the channel [01:40] jskulski has joined the channel [01:41] rwaldron has joined the channel [01:44] k1ttty has joined the channel [01:46] devongovett has joined the channel [01:48] pizthewiz has joined the channel [01:50] Swizec has joined the channel [01:51] TheFuzzball: Merry Christmas btw. [01:52] plutoniiix has joined the channel [02:05] Shaunzie: anyone know a decent alternative to node-validator? [02:05] mara has left the channel [02:09] mattgifford has joined the channel [02:09] [[zz]] has joined the channel [02:09] jbrokc has joined the channel [02:09] TheFuzzball: node-validator-muchbetter [02:09] TheFuzzball: Actually, I just made that up, sorry :( [02:09] Shaunzie: ass! j/k lol [02:10] Shaunzie: Maybe I'll just bite the bullet and start rewriting ._. [02:13] pauls1 has joined the channel [02:13] Blorb has joined the channel [02:14] gigafied has joined the channel [02:15] rahimster has joined the channel [02:17] stagas has joined the channel [02:24] stagas has joined the channel [02:24] aaditya has joined the channel [02:27] TheJH: Shaunzie, what's bad about it? [02:31] Swimming_Bird has joined the channel [02:32] postwait has joined the channel [02:32] pauls1 has joined the channel [02:32] otakutomo has joined the channel [02:33] Shaunzie: the design is kinda clunky [02:33] ottergwc has joined the channel [02:33] Shaunzie: express-validate kinda helps a bit but still there is some clunk. [02:34] jesusabdullah: how about revalidator? [02:34] Shaunzie: for example, in order to associate the name of an element with an error message, you need to pass an object as the message param [02:34] Shaunzie: req.check('signup_fullname', {'name':'signup_fullname', 'msg':'Please provide a first name'}).notEmpty(); [02:34] jakehow has joined the channel [02:34] Shaunzie: then you can use the onValidationError callback [02:34] Shaunzie: req.onValidationError(function(msg) { [02:34] Shaunzie: req.flash(msg.name, msg.msg); [02:34] Shaunzie: return this; [02:34] Shaunzie: }); [02:35] cmr: Bleh. Is it not using an EventEmitter? [02:35] Shaunzie: nope [02:35] cmr: Clunky indeed. [02:35] hij1nx has joined the channel [02:38] Shaunzie: revalidator seems interesting ish. I'll have to check it out [02:40] samertm has joined the channel [02:40] sharkbird has joined the channel [02:41] sharkbird_ has joined the channel [02:42] ottergwc: Question on socket.write(). If I ignore return of false and drain, does that just cause a growth of node's application space queue with no data loss (unless I blow memory)? [02:45] TheFuzzball: Can someone tell me what EventEmitter is for? [02:45] Shaunzie: my guess is emitting events :D [02:45] TheFuzzball: ACTION sighs [02:45] Shaunzie: lol x3 [02:45] Shaunzie: http://nodejs.org/docs/v0.4.7/api/events.html#events.EventEmitter [02:48] TheFuzzball: I get the idea, I still don't see a huge use for it in any of my apps.. [02:49] AndreasMadsen has joined the channel [02:54] Shaunzie has joined the channel [02:55] mscdex has joined the channel [02:55] context: BSON looks horrible compared to JSON [02:57] scott_gonzalez has joined the channel [02:57] Shaunzie: more or less yah [03:00] CarterL has joined the channel [03:00] Shaunzie: http://www.forbes.com/sites/andygreenberg/2011/12/19/an-mit-magic-trick-computing-on-encrypted-databases-without-ever-decrypting-them/ D: [03:00] Shaunzie: that's some crazy shite ._. [03:00] Shaunzie: I wish I was that smart :-/ [03:02] DTrejo has joined the channel [03:02] scott_gonzalez has joined the channel [03:04] mscdex: anyone seen tj around today? [03:04] samertm has joined the channel [03:06] jergason has joined the channel [03:06] context: damn. irc is des [03:06] context: dead tonight except for here [03:06] zodiak: well, no one want's to annoy santa [03:07] context: Santas dead [03:08] context: any of you have book recommendations for CouchDB or MongoDB. (anyone that wasnt here last night haha) [03:08] Shaunzie: That's a lie, I saw santa at the store not too long ago! [03:08] context: I finished the Riak Handbook last night. looking for one on those two now [03:08] Shaunzie: I liked oriely's scaling couchDB [03:09] scott_gonzalez has joined the channel [03:13] a_meteorite has joined the channel [03:14] icewhite has joined the channel [03:16] context: thinking about this for mongo. http://www.amazon.com/Definitive-Guide-MongoDB-Computing-ebook/dp/B004C05A4U/ref=cm_cr_pr_sims_t [03:16] fomatin has joined the channel [03:16] context: Shaunzie: I want to learn more about couch before I learn how to scale it [03:17] Shaunzie: I'm not sure I'd even bother using couch for anything that I would need to scale :-/ [03:17] Shaunzie: there are better options I fee. [03:17] Shaunzie: er feel [03:17] context: that book is a whopping 300 pages Riak Handbook was half that and I learned a lot [03:17] ZeepZop has joined the channel [03:18] context: Shaunzie: yeah. thats why im reading. and not randomly perusing stuff on the internet [03:18] context: a [03:19] context: all the CouchDB books on amazon have three stars at best most with two. that's kind of sad [03:19] CarterL: context: how do you like the Riak Handbook? [03:19] Shaunzie: Couch is nice for small stuff I think [03:19] CarterL: i was thinking about buying that [03:20] context: CarterL: I loved it. [03:20] jskulski: Hmm. I think I'm a bit confused. I'm using Juggernaut for pubsub. There is other data that is doesn't fit the publish subscribe model so I want to send that over something like socket.io. I'm having trouble both binding to Juggernaut's socket.io instance, or starting my own (it interferes with Juggernaut.) So my gut is saying that I might just be down the wrong path. Maybe I'm making the wrong assumption about pubsub? [03:20] context: cart [03:20] context: CarterL: I recommend it. [03:20] CarterL: context: did it help you with data modeling? [03:21] context: CarterL: a little bit. it goes in a little about thinking about it and such and you need to think about it [03:21] CarterL: context: i know what data i want to store for our project. how we model it in a rdbs is totally different than a KV store [03:22] towski has joined the channel [03:22] context: CarterL: any book recommendations for general nosql usage? im a newb by the definition of the word [03:22] CarterL: context: yeah, i've watched all the vimeo movies on scheme modeling and the blog posts on basho, as well as a couple other articles on secondary indices... multiple ways to skin the cat [03:22] CarterL: i'm pretty sure i'm equally or even more newbish then you are [03:22] CarterL: hehe [03:22] context: yeah. Riak search and 2i. glad they are all in one place now [03:23] CarterL: i've heard that using a hybrid appraoch [03:23] context: urls to some of the vimeo movies ? [03:23] ryan_stevens has joined the channel [03:23] CarterL: links for some things, memory maps to others [03:23] CarterL: http://vimeo.com/bashotech/videos/sort:date [03:23] context: ahh kk. [03:24] CarterL: riak at yammer is good [03:24] jskulski: It seems to me that I wouldn't want two socket.io connects, but could share the two [03:25] context: grr. I hate hour long videos. I fall asleep [03:26] willwhite has joined the channel [03:26] context: jskulski: why would you need two [03:27] jskulski: context:: I am using juggernaut which launches it's own [03:27] jskulski: context:: and i have data that is not pub/sub [03:27] kurtzhong has joined the channel [03:27] context: ahh. id see if you cant give jugger a connection you already have or get the one it creates [03:28] context: CarterL: watching the scheme design video now. then I'll check out the yammer one [03:28] jesusabdullah: https://github.com/raganwald/homoiconic/blob/master/2011/11/sans-titre.md [03:28] jesusabdullah: This is an interesting suggestion [03:29] CarterL: context: cool, one of them talks about how they used 64 servers on a single cluster and they never peaked concerning the latency reduction and speed increases [03:30] jergason has joined the channel [03:32] jskulski: context:: yah I'vebeen looking but it looks pretty insulated. But thanks, that gives me some confidence I am on the right path [03:32] zodiak: does anyone know of any implementations of list comprehensions that work under node.js ? [03:34] jskulski: i suppose I could just have a 'all' channel that everyone subscribes too..? [03:34] jskulski: hmm [03:35] JaKWaC has joined the channel [03:38] Vennril2 has joined the channel [03:41] tilgovi has joined the channel [03:41] tilgovi has joined the channel [03:43] draginx has joined the channel [03:47] Blorb has joined the channel [03:50] hij1nx has joined the channel [04:00] jimt has joined the channel [04:00] dr0id has joined the channel [04:02] Shaunzie: the node debugger annoys ._. [04:06] k1ttty has joined the channel [04:09] context: CarterL: you watched Riak at formspring? [04:12] gigafied has joined the channel [04:12] mike5w3c_ has joined the channel [04:13] Swizec_ has joined the channel [04:13] pauls1 has joined the channel [04:15] JmZ_ has joined the channel [04:15] oleyb has joined the channel [04:15] blup has joined the channel [04:16] tim_smart has joined the channel [04:20] Gregor has joined the channel [04:22] skm has joined the channel [04:22] visnup has joined the channel [04:27] asteros has joined the channel [04:30] jakehow has joined the channel [04:30] flip_digits has joined the channel [04:33] benvie has joined the channel [04:34] satyr has joined the channel [04:37] benvie has joined the channel [04:38] indexzero has joined the channel [04:39] Blorb has joined the channel [04:47] pizthewiz_ has joined the channel [04:49] Ramone has joined the channel [04:51] Ramone: hey all... anyone know if there's something like rails' "devise" for express? it basically takes care of a bunch of user management stuff... [04:51] context: I heart devise [04:52] Ramone: yeah... it takes away a lot of tedium [04:52] context: devise and cancan work together great. though for node. im not to sure. work enjoys not giving me enough time to play with new toys [04:53] rwaldron has joined the channel [04:54] TheJH: Ramone, what does it do? [04:55] TheJH: ah, "bunch of user management stuff", ok [04:55] crodas has joined the channel [04:55] Ramone: yeah... more than just auth, but auth is part of it... [04:56] Ramone: there are a few auth libs in node at least [04:56] jakehow has joined the channel [04:56] Ramone: but the tedius stuff like user registration, login, storage, etc would be nice to just "npm install" away ;) [04:58] context: https://github.com/plataformatec/devise. link. cause it's easier to read than type out what it all does [04:58] gavin_huang has joined the channel [04:59] context: it does registration/lost pass/auth oauth Facebook twitter locking forgot pass. etc etc [05:00] JaKWaC has joined the channel [05:02] draginx has joined the channel [05:02] draginx has joined the channel [05:11] Blorb has joined the channel [05:15] k1ttty has joined the channel [05:15] freeformz has joined the channel [05:17] blueadept has joined the channel [05:17] ZeepZop has joined the channel [05:18] blueadept has joined the channel [05:18] blueadept has joined the channel [05:20] mast3rof0 has joined the channel [05:21] willwhite has joined the channel [05:25] blueadept: yo [05:27] dreamdust has joined the channel [05:30] TimTim has joined the channel [05:30] kriszyp has joined the channel [05:32] cmr has joined the channel [05:33] gigafied has joined the channel [05:41] Wizek has joined the channel [05:41] michaelh_ has joined the channel [05:48] sorensen__ has joined the channel [05:57] 77CAAGMAH has joined the channel [05:57] sharkbird has joined the channel [06:00] sharkbird_ has joined the channel [06:04] sh1mmer has joined the channel [06:08] kriszyp2 has joined the channel [06:10] sh1mmer has joined the channel [06:13] metalball2 has joined the channel [06:14] jimt has joined the channel [06:14] eastc has joined the channel [06:14] kickingvegas has joined the channel [06:17] fomatin has joined the channel [06:20] levi501d has joined the channel [06:21] djQuery has joined the channel [06:22] metalball2 has joined the channel [06:23] context: since this seems to be the only active channel [06:24] eastc has joined the channel [06:25] context: does anyone know if pricings at places like heroku are based off used CPU hours or do you get charged for any time a worker is running even when idle. or is it like scaled. less for idle since its still using memory [06:26] JaKWaC has joined the channel [06:26] metalball21 has joined the channel [06:27] metalball22 has joined the channel [06:28] kazupon has joined the channel [06:29] eastc: frankly, I don't understand what the node cloud is [06:29] eastc: how is it any different then getting a server space on rackspace and installing node on it [06:29] eastc: and scaling it yourself [06:30] metalball22 has left the channel [06:30] context: uh. they handled all the scaling for you? [06:31] djQuery: anyone got anything for node code completion in visual studio? [06:34] AxSx has joined the channel [06:38] criswell has joined the channel [06:38] sh1mmer has joined the channel [06:40] k1ttty has joined the channel [06:42] buttface has joined the channel [06:48] AxSx has joined the channel [06:54] boehm has joined the channel [06:55] michaelhartau has joined the channel [06:56] raincole has joined the channel [06:57] BrianE has joined the channel [06:59] mattgifford has joined the channel [07:00] spolu has joined the channel [07:00] kriszyp has joined the channel [07:00] spolu has left the channel [07:01] djQuery has joined the channel [07:01] semperdonec has joined the channel [07:01] semperdonec has left the channel [07:02] AxSx has joined the channel [07:03] semperdonec has joined the channel [07:04] Squeese_ has joined the channel [07:08] CarterL has joined the channel [07:09] wedtm has joined the channel [07:10] semperdonec has joined the channel [07:11] confoocious has joined the channel [07:12] indexzero has left the channel [07:12] indexzero has joined the channel [07:14] wedtm has joined the channel [07:14] jxie has joined the channel [07:26] ZeepZop_ has joined the channel [07:27] ZeepZop has joined the channel [07:30] isufy has joined the channel [07:34] andrew12: merry christmas [07:37] xuser has joined the channel [07:42] EvRide has joined the channel [07:43] Dreamer3 has joined the channel [08:04] mytrile has joined the channel [08:06] HT has joined the channel [08:09] wmage has joined the channel [08:13] ablegreen has joined the channel [08:13] ablegreen: hi [08:13] ablegreen: god bless charles darwin [08:14] ablegreen has left the channel [08:16] __doc__ has joined the channel [08:17] metalball2 has joined the channel [08:22] fzzzy has joined the channel [08:23] mattgifford has joined the channel [08:24] Marak has joined the channel [08:24] Marak has left the channel [08:25] k1ttty has joined the channel [08:27] skm has joined the channel [08:28] skm has joined the channel [08:29] SamuraiJack has joined the channel [08:29] skoom has joined the channel [08:30] skm has joined the channel [08:34] Morkel has joined the channel [08:34] Druid_ has joined the channel [08:34] shapeshed has joined the channel [08:36] insin has joined the channel [08:38] fangel has joined the channel [08:38] skoom has joined the channel [08:41] jhurliman has joined the channel [08:43] srijan4 has joined the channel [08:43] madhums has joined the channel [08:46] skm has joined the channel [08:48] johnnychimpo has joined the channel [08:49] stonebranch has joined the channel [08:52] shiawuen has joined the channel [08:57] erikzaadi has joined the channel [08:58] martin_sunset has joined the channel [08:58] Int0h has joined the channel [09:00] skm has joined the channel [09:01] Morkel has joined the channel [09:01] aliem has joined the channel [09:01] Marak has joined the channel [09:04] __main__ has joined the channel [09:04] __main__ has joined the channel [09:06] Shaunzie has joined the channel [09:06] slaskis has joined the channel [09:09] Weddy has joined the channel [09:10] jimt_ has joined the channel [09:11] wmage has joined the channel [09:12] AndreasMadsen has joined the channel [09:16] AndreasM_ has joined the channel [09:18] Sami_ZzZ has joined the channel [09:23] erikz_ has joined the channel [09:25] josh-k has joined the channel [09:25] erikz_ has joined the channel [09:27] loob2 has joined the channel [09:28] liar has joined the channel [09:28] cclarke has joined the channel [09:31] herbySk has joined the channel [09:33] lwille has joined the channel [09:35] jyp_cloud: merry christmas ~~~~ [09:35] jyp_cloud: hohoho [09:36] jyp_cloud: sorry [09:36] jyp_cloud: lol [09:38] herbySk74 has joined the channel [09:40] mmalecki has joined the channel [09:43] lzskiss has joined the channel [09:44] snearch has joined the channel [09:45] confoocious has joined the channel [09:45] cclarke has joined the channel [09:47] Shaunzie: I think santa was a pimp, cause he had so many ho ho hos.... #badpun…. [09:47] Shaunzie: :D [09:47] AxSx has joined the channel [09:48] cclarke has joined the channel [09:50] mikl has joined the channel [09:50] eb4890 has joined the channel [09:52] cclarke has joined the channel [09:56] Shaunzie: anyone have suggestions for an email package for node? [09:58] chrisumbel has joined the channel [09:59] pizthewiz has joined the channel [10:02] swestcott has joined the channel [10:03] otih has joined the channel [10:03] otih has joined the channel [10:07] fly-away has joined the channel [10:10] cclarke has joined the channel [10:11] omry has joined the channel [10:11] stonebranch has joined the channel [10:11] mike5w3c_ has joined the channel [10:11] nimstr has joined the channel [10:11] nimstr has left the channel [10:14] cclarke has joined the channel [10:15] Morkel has joined the channel [10:15] hipsters_ has joined the channel [10:16] stagas has joined the channel [10:16] cclarke has joined the channel [10:18] FG has joined the channel [10:21] ppcano has joined the channel [10:23] johnnychimpo: send, receive or SMTP server? [10:23] AndreasMadsen has joined the channel [10:23] JakeyChan has joined the channel [10:23] Shaunzie: smpt but I found nodemailer [10:23] Shaunzie: and by smpt I mean smtp.... [10:24] Shaunzie: seems kinda old and funky though ._. almost a year since it was lasted updated [10:24] omry: what's "execution expired" ? [10:25] mara has joined the channel [10:26] johnnychimpo: i switched from nodemailer to mailer. Updated and has SSL [10:27] shiawuen has joined the channel [10:28] AndreasMadsen has joined the channel [10:29] chrisumbel has joined the channel [10:29] chrisumbel has joined the channel [10:33] cclarke has joined the channel [10:33] jxie has joined the channel [10:34] igl has joined the channel [10:36] slaskis_ has joined the channel [10:44] davman has joined the channel [10:44] davman: merry christmas! [10:45] herbySk has joined the channel [10:46] stagas has joined the channel [10:46] akter has joined the channel [10:51] fangel has joined the channel [10:57] AxSx has joined the channel [10:57] slaskis has joined the channel [10:59] JakeyChan has joined the channel [11:00] slaskis_ has joined the channel [11:01] slaskis__ has joined the channel [11:02] metalball2 has joined the channel [11:03] JakeyChan_ has joined the channel [11:03] insin has joined the channel [11:04] slaskis__ has joined the channel [11:06] k1ttty has joined the channel [11:08] michaelhartau has joined the channel [11:09] k1ttty has joined the channel [11:09] mraleph has joined the channel [11:10] satyr has joined the channel [11:13] booo has joined the channel [11:14] slaskis has joined the channel [11:15] scott_gonzalez has joined the channel [11:16] stagas has joined the channel [11:17] `3rdEden has joined the channel [11:25] metalball2 has joined the channel [11:27] Morkel has joined the channel [11:31] a_meteorite has joined the channel [11:33] djazz has joined the channel [11:33] criswell has joined the channel [11:35] pyparadigm has joined the channel [11:38] k1ttty has joined the channel [11:39] akter has joined the channel [11:42] synkro has joined the channel [11:42] bergie has joined the channel [11:44] nassosdim has joined the channel [11:47] ppcano has joined the channel [11:47] mikedeboer has joined the channel [11:52] socketio\test\76 has joined the channel [11:52] level09 has joined the channel [11:56] snearch has joined the channel [11:57] metalball2 has joined the channel [12:01] stonebranch has joined the channel [12:01] d0k has joined the channel [12:08] k1ttty has joined the channel [12:09] semperdonec has joined the channel [12:20] shedinja has joined the channel [12:21] synkro has joined the channel [12:21] shedinja: is there a way to listen for all events on an event emitter? [12:23] metalball2 has joined the channel [12:25] Helloer has joined the channel [12:27] piscisaureus_ has joined the channel [12:31] k1ttty has joined the channel [12:32] tomasztomczyk has joined the channel [12:32] kazupon has joined the channel [12:33] shedinja: nevermind there is another way [12:34] slaskis: shedinja: nope, no catch-all listeners in the built in one [12:34] wmage has joined the channel [12:34] slaskis: shedinja: however, this one does: https://github.com/hij1nx/EventEmitter2 [12:35] shedinja: slaskis: thanks but I needed something to work with other event emitters too. [12:36] Druid_ has joined the channel [12:36] thalll has joined the channel [12:39] Fuu has joined the channel [12:45] metalball2 has joined the channel [12:46] stagas has joined the channel [12:48] herbySk has joined the channel [12:49] Sorella has joined the channel [12:50] pandeiro has joined the channel [12:51] shinuza has joined the channel [12:52] tomasztomczyk has joined the channel [12:52] BrianE has joined the channel [12:53] omry: hi, I`m trying to make a deb package for nodejs 0.66, it now builds, but a unit test fails : http://fpaste.org/VYxS/ [12:53] omry: any idea? [12:56] snuglepuss has joined the channel [12:56] omry: paste with a bit more context: http://fpaste.org/PuLn/ [12:58] FIQ has joined the channel [12:58] omry: looking at what the unit test is supposed to do, I don't feel its a critical problem. any idea how I disable a unit test? [13:00] the_frow has joined the channel [13:03] towski has joined the channel [13:06] cclarke_ has joined the channel [13:07] Morkel has joined the channel [13:09] kurtzhong has joined the channel [13:09] cclarke has joined the channel [13:11] aliem_ has joined the channel [13:16] CarterL has joined the channel [13:17] jimt has joined the channel [13:17] fangel has joined the channel [13:21] tomasztomczyk has joined the channel [13:25] cclarke has joined the channel [13:26] jetienne has joined the channel [13:27] k1ttty has joined the channel [13:29] cclarke has joined the channel [13:29] mansoor has joined the channel [13:32] cclarke has joined the channel [13:38] metalball2 has joined the channel [13:38] kyonsalt has joined the channel [13:38] butu5 has joined the channel [13:41] kyonsalt_Ziskx has joined the channel [13:43] jbrokc has joined the channel [13:43] pcaulagi has joined the channel [13:46] djazz has left the channel [13:47] shapeshed has joined the channel [13:48] herbySk has joined the channel [13:48] cclarke has joined the channel [13:48] metalball2 has left the channel [13:51] vol4ok has joined the channel [13:52] cclarke has joined the channel [13:53] d0k has joined the channel [13:53] CarterL has joined the channel [13:54] crodas has joined the channel [13:55] cclarke has joined the channel [13:59] piscisaureus_ has joined the channel [14:00] cnu has joined the channel [14:01] stagas has joined the channel [14:02] butu5 has left the channel [14:07] itayneeman has joined the channel [14:08] jbrokc: hey I messed up my NODE_PATH and need to reset it to the default (I think) since it now says it can't find a module from a simple require('underscore') which wasn't listed in the package.json file... [14:09] chrisumbel has joined the channel [14:09] jbrokc: can anyone help me get it back to what it should be? [14:09] chrisumbel_ has joined the channel [14:09] Lingerance: unset NODE_PATH [14:09] Lingerance: (There's no default) [14:10] jbrokc: still doesn't work =\ [14:10] jbrokc: for what it's worth I'm trying to use https://github.com/mozilla/doctorjs/blob/1062dd31625cc002261f15e68af77eedd63a56f6/bin/jsctags.js but I had to comment out the unshift line since thats what was causing the problems (I think) [14:10] devsundar has joined the channel [14:10] jbrokc: (which is L41) [14:11] jbrokc: /cc Lingerance [14:12] Lingerance: No idea [14:12] jbrokc: bummer [14:15] devsundar has left the channel [14:19] kkaefer has left the channel [14:21] stagas has joined the channel [14:22] adrianF has joined the channel [14:23] piscisaureus_ has joined the channel [14:25] asteros has joined the channel [14:29] jbrokc has joined the channel [14:31] mattgifford has joined the channel [14:34] criswell has joined the channel [14:35] devongovett has joined the channel [14:36] confoocious has joined the channel [14:40] stagas: woo https://github.com/stagas/yet-another-express-boilerplate [14:44] Lingerance: If your project needs its own boilerplate there's something wrong with it IMO. [14:45] deedubs has joined the channel [14:45] stagas: Lingerance: yeah, mine is pretty basic stuff [14:45] boltR has joined the channel [14:47] erikz_ has joined the channel [14:47] coderarity has joined the channel [14:52] devongovett has joined the channel [14:53] ditesh|cassini has joined the channel [14:54] mattgifford has joined the channel [14:54] josh-k has joined the channel [15:00] herbySk has joined the channel [15:00] TheJH has joined the channel [15:01] stagas has joined the channel [15:05] asteros has joined the channel [15:05] agnat has joined the channel [15:05] lzskiss has joined the channel [15:07] hipsters_ has joined the channel [15:11] jimt has joined the channel [15:16] herbySk has joined the channel [15:16] stagas has joined the channel [15:18] Druid_ has joined the channel [15:19] fomatin has joined the channel [15:24] mange has joined the channel [15:26] stagas has joined the channel [15:27] CarterL has joined the channel [15:27] liar has joined the channel [15:27] devongovett: Happy holidays from Badass JS :) http://badassjs.com/happy-holidays [15:28] cmr: I like the lag of loading the @font-face [15:29] cmr: Is this an SVG animation? [15:31] LeMike has joined the channel [15:32] amoxibos has joined the channel [15:35] neurodrone has joined the channel [15:41] stagas has joined the channel [15:47] mast3rof0 has joined the channel [15:51] hij1nx has joined the channel [15:52] shinuza_ has joined the channel [15:53] omry: I`m trying to use statsd. installed nodejs 0.66, and it appears that I don't have the service module [15:53] omry: getting an error on require('service').run [15:53] omry: its possible that my installation is bad (made a debian package, maybe missed a few files) [15:53] shinuza has joined the channel [15:53] omry: on the other hand - maybe I really am missing a module [15:54] TheJH: omry, then install it [15:54] Brandon_R has joined the channel [15:54] Brandon_R: hey guys [15:54] TheJH: omry, "npm install service" [15:54] Brandon_R: what's up [15:54] raincole has joined the channel [15:55] k1ttty has joined the channel [15:55] Brandon_R: id github loading for anyone here [15:55] cmr: Yup [15:55] mraleph1 has joined the channel [15:56] heavysixer has joined the channel [15:56] Brandon_R: great [15:57] Brandon_R: i just needed to clear my cache [15:57] omry: TheJH, thanks. looks like I`m missing node-waf [15:57] omry: will add to my package [15:58] TheJH: omry, node-waf should be included with nodejs [15:59] omry: TheJH, I know. as I said - I am not installing with make installed. I made a debian package for it. [15:59] omry: (I will need to install automatically on may servers, upgrades etc) [15:59] omry: s/may/many [16:00] TheJH: omry, ah, ok, you made a debian package for nodejs, now I understand [16:01] omry: yup. looks like its missing some python code now [16:01] omry: Scripting [16:01] omry: fun [16:03] tbranyen: omry: what version of python? [16:03] eastc has joined the channel [16:04] omry: 2.6.6. it seems [16:04] omry: anyway - found waf and scripting are actually in a nodejs-dev deb [16:04] omry: I`ll try that [16:05] criswell has joined the channel [16:07] Brandon_R: is linux any good? [16:07] Brandon_R: from a technological standpoint [16:07] Brandon_R: is it innovating anywhere? [16:07] omry: npm install installs into the current directory? [16:07] cmr: Brandon_R: Really off-topic for #node.js, try ##linux [16:07] tbranyen: trolling trolling trolling keep them dumb comments rolling [16:09] blueadept has joined the channel [16:10] medice: linux makes good coffee [16:11] pauls1 has joined the channel [16:11] mike5w3c_ has joined the channel [16:13] hipsters_ has joined the channel [16:13] tbranyen: medice: whenever i drink it, i break out into open sores [16:13] cmr: Dohoho. [16:17] omry: open sores, good one :) [16:17] BrianE has joined the channel [16:17] omry: when installing a module, it gets compiled or something? [16:17] cmr: Some of them. [16:18] omry: so you need compiler on the target machines? [16:18] omry: a bit nasty. [16:18] tbranyen: you only need a compiler if you're installing native modules yes [16:18] tbranyen: well how would you implement cross platform native modules heh? [16:18] arcanis has joined the channel [16:19] omry: you can distribute binaries [16:19] omry: like the rest of the world :) [16:19] cmr: Binaries aren't cross-platform. Compiling for every platform that someone might use? Nightmare. [16:20] omry: that's fine. [16:20] omry: if I want to manually install a module (prefer it over having the entire toolchain on the target machines) [16:20] omry: how do I do it? [16:20] cmr: Should be able to drop it right into node_modules [16:20] tbranyen: omry: ruby, python and lua all manually compile modules per platform [16:21] cmr: And perl [16:21] tbranyen: sure i was just listing off languages i've used [16:21] tbranyen: so yeah node is following the rest of the world :) [16:21] omry: :) [16:22] omry: okay, so to be clear - when I npm install, it puts everything under node_modules in the current dir [16:22] tbranyen: unless you add the -g folder, and unless you have a more top level node_modules folder [16:22] tbranyen: er flag not folder [16:22] tbranyen: might be a few other rules too [16:22] omry: and when I run a nodejs program, where will it look for the node_modules? [16:23] tbranyen: a number of places [16:23] omry: if I want a system wide installation [16:23] omry: what's a common place to drop them? [16:23] tbranyen: NODE_PATH [16:24] omry: just env for when I am starting nodejs, I take it? [16:25] TheJH: does the "sync" function of mikeals couchapp work properly for anyone? [16:26] TheJH: it doesn't recognize file changes in my app.js :( [16:26] TheJH: but the initial push works [16:26] tbranyen: :( [16:28] Cainus has joined the channel [16:30] butu5 has joined the channel [16:34] jomoho has joined the channel [16:36] draginx has joined the channel [16:37] adrianF has joined the channel [16:39] Brandon_R has joined the channel [16:39] Brandon_R: hey guys [16:40] Brandon_R: merry christmas [16:40] Brandon_R: i hope you guys aren't spending christmas day programming at work :) [16:40] cmr: Even better: programming at home [16:40] Morkel has joined the channel [16:41] draginx: :) programming for yourself is awesome :D every job should give their employees 1 hour/day to work on their own projects [16:42] cmr: Got myself an arduino for christmas. Making a morse code blinker. [16:44] TheJH: cmr, I also got one :) [16:45] TheJH: I want to wire it up to a sensor at the door so that I notice people entering my room while I listen to music with my headphones :D [16:46] cmr: I want to implement the HTCPCP (RFC 2324) [16:46] mmalecki: PCP? [16:47] mmalecki: you better watch out man, shit's dangerous [16:47] gavin_huang has joined the channel [16:47] cmr: HTC PCP, too. [16:47] cmr: Interesting name for a phone.. [16:48] mmalecki: lol [16:50] amoxibos has joined the channel [16:50] pyparadigm has joined the channel [16:54] mmalecki: does https://gist.github.com/204b46f4b5a3238d9e29 look like snowman? [16:55] cmr: Kinda... [16:55] cmr: Needs buttons and arms! [16:55] draginx: change "*" into a "> [16:55] draginx: * != a carrot :P [16:55] cmr: Mm, good call. [16:55] cmr: a tophat would be a nice touch but not needed. [16:56] stagas has joined the channel [16:58] mmalecki: gave it a carrot :P [16:59] mmalecki: and buttons [16:59] mmalecki: how does it look now? [17:00] draginx: much better :D [17:01] flip_digits has joined the channel [17:01] bosphorus has joined the channel [17:02] mmalecki: and arms will be animated :) [17:02] jomoho has joined the channel [17:05] EyePulp has joined the channel [17:05] stonebranch has joined the channel [17:07] wedtm has joined the channel [17:07] Brandon_R: hey guys [17:07] Brandon_R: happy holidays [17:08] Brandon_R: anyone here an athiest? [17:08] medice: yes, i eat babies [17:09] mmalecki: sorry, quite busy doing satanistic rituals, sup? [17:09] mikedeboer has joined the channel [17:10] c4milo has joined the channel [17:10] medice: i ran out of goat blood this christmas [17:10] mansoor: let the wars begin! [17:11] mmalecki: medice: oh my :(. you should totally buy some. [17:11] asteros has joined the channel [17:11] draginx: Brandon_R: I am but I still celebrate giving presents ;x [17:12] erikz_ has joined the channel [17:12] Brandon_R: would you mind if i say merry christmas? [17:12] mmalecki: I'm an atheist but I love christmas [17:12] Brandon_R: or do i have to stick with happy holidays [17:12] mmalecki: lol [17:12] medice: dont care [17:12] draginx: merry christmas [17:13] draginx: f@*&# that political correct bs :P [17:13] medice: i celebrate christmas for commercialism [17:13] mmalecki: draginx: thank you! <3 <3 [17:13] draginx: yup :D [17:13] mmalecki: so, merry christmas, #node.js! [17:13] Brandon_R: node.js is better than god [17:13] draginx: thanks now wheres my present of nodejs 0.7? :O [17:13] draginx: That instantly codes for me [17:14] draginx: var app = require('make-me-a-website'); [17:14] mmalecki: lol [17:14] jonaslund has joined the channel [17:15] mmalecki: require('make-me-an-app-and-deploy-it').listen(8000) [17:15] jomoho has joined the channel [17:15] einaros has joined the channel [17:15] jonaslund: whoa [17:15] jonaslund: mmalecki: where do i find the npm ? [17:15] draginx: my require does all of that for u ;x [17:15] mmalecki: jonaslund: santa was supposed to give it to us :( [17:15] draginx: Hmmm [17:16] draginx: I need to make myself a nice little webgui for forever and port management :D [17:16] mmalecki: he said he forgot or something? [17:16] jonaslund: santa sucks [17:16] mmalecki: draginx: there's a webgui for forever [17:16] subbyyy has joined the channel [17:16] Brandon_R: is node.js good for apps or websites? [17:16] madhums has joined the channel [17:17] bosphorus_ has joined the channel [17:17] kriszyp has joined the channel [17:17] cmr: What is an app, exactly? [17:18] erikz_ has joined the channel [17:18] dshaw_ has joined the channel [17:21] jomoho2 has joined the channel [17:21] josh-k has joined the channel [17:23] draginx: mmalecki: yeah I know [17:23] draginx: but its a good learning experience for me too :) [17:23] draginx: Brandon_R: yeah you'll need to elaborate on "app" [17:24] mmalecki: draginx: hah, ok :). good luck! [17:25] Cromulent has joined the channel [17:26] draginx: mmalecki: shouldn't be hard ya? O_o [17:26] draginx: I was just thinking of doing command calls ;x like "forever -list" [17:26] draginx: my problem is though.. forever is *not* listing shit [17:26] draginx: even though im starting apps with forever =/ [17:26] swhit has joined the channel [17:26] draginx: do i have to run as sudo? [17:27] mmalecki: draginx: 0.6, right? [17:27] Brandon_R: an app like facebook [17:27] draginx: yessir [17:27] mansoor: cmr: an app, according to Apple is something that runs on an Idevice written in objective C [17:27] draginx: Brandon_R: yup NodeJS can do that :) [17:27] Brandon_R: ignore scalability for a moment, match facebook features 1 for 1 [17:27] mmalecki: draginx: looks like my fix didn't get released yet [17:27] draginx: mmalecki: ah there's a bug? [17:27] mmalecki: draginx: it'll be sorted out soon [17:27] draginx: makes sense :) cool cool I thought I was doing something wrong [17:27] jomoho has joined the channel [17:28] cmr: Brandon_R: Sure [17:28] draginx: How do you scale a nodejs app? O_o [17:28] draginx: cluster? [17:28] Brandon_R: cluster? [17:28] fzzzy has joined the channel [17:28] draginx: as in the module >.> [17:28] Brandon_R: as in the module >.> [17:28] fangel has joined the channel [17:29] draginx: ACTION wishes there was a good ORM for pgsql =/ [17:32] booo has joined the channel [17:33] jetienne has joined the channel [17:33] butu5 has joined the channel [17:33] Brandon_R: ACTION wishes there was a good orm for pgsql =/ [17:34] hipsters_ has joined the channel [17:37] jesusabdullah: draginx: How do you scale node? Yes. [17:37] draginx: jesusabdullah: so the only answer is cluster? O_o [17:37] jesusabdullah: no! [17:38] jesusabdullah: There are lots and lots of ways to make node scale [17:38] jesusabdullah: there's no real "this is how you scale with node" [17:38] jesusabdullah: though usually it involves multiple processes [17:38] jesusabdullah: I mean, it has to if it's going to use multiple computers [17:38] Brandon_R: jesusabdullah: so the only answer is cluster? 0_o [17:38] draginx: my cluster doesn't work well :( says cluster is not a function :o [17:39] jomoho2 has joined the channel [17:39] jesusabdullah: Yes. The only way you can scale node at all is to use the built-in cluster module. [17:39] jesusabdullah: ACTION rolls his eyes. [17:39] butu51 has joined the channel [17:39] draginx: jesusabdullah: how would u scale? [17:39] jesusabdullah: It depends on the problem [17:39] jesusabdullah: and it depends on whether I actually need to scale or not [17:39] jesusabdullah: and what I need to scale [17:40] jesusabdullah: Just think of a strategy for sharing load across multiple machines [17:40] draginx: right [17:40] butu51 has joined the channel [17:41] jesusabdullah: use cluster if it fits what you're doing, but also look at dnode, worker processes managed with forever or haibu or something, using riak pubsub/mongo, some memcacheds squids, CDNs, I dunno [17:42] jesusabdullah: there are a *lot* of different architectures, and therefore a *lot* of ways to make a random component be able to handle more things [17:42] jomoho has joined the channel [17:42] jesusabdullah: The key is just to componentize [17:42] draginx: thanks :) [17:42] jesusabdullah: yw [17:43] jesusabdullah: Also: load balancer [17:43] mmalecki: and hook.io [17:44] schwab has joined the channel [17:45] Brandon_R: ACTION makes out with draginx [17:45] cmr: Brandon_R: I haven't decided if you're a troll or just incredibly obnoxious [17:45] asteros has joined the channel [17:45] Brandon_R: what's a troll? [17:45] mikl has joined the channel [17:46] chrisumbel has joined the channel [17:46] jesusabdullah: cmr: Yes. ;) [17:47] cmr: jesusabdullah: Yeah, I suppose they aren't mutex [17:47] jesusabdullah: XD [17:50] patcito has joined the channel [17:50] joestein has joined the channel [17:51] butu51 has joined the channel [17:53] jbrokc has left the channel [17:55] MUILTR has joined the channel [17:58] Vennril has joined the channel [17:58] brianloveswords has joined the channel [18:02] ditesh|cassini has joined the channel [18:02] salva has joined the channel [18:03] draginx: jesusabdullah: I'm reading through forever.. and I can't seem to find any info about whether or not forever utilizes all o fthe cores similar to how cluster does… do you know if forever does in fact do this? [18:04] brianseeders has joined the channel [18:04] pyparadigm has joined the channel [18:04] sdwrage has joined the channel [18:05] Drakonite has joined the channel [18:05] jesusabdullah: Forever does nothing with respect to cluster management [18:05] jesusabdullah: That's not what it's for [18:05] josh-k has joined the channel [18:07] riven` has joined the channel [18:11] nym_ has joined the channel [18:11] xandy| has joined the channel [18:12] herbySk has joined the channel [18:12] jn_ has joined the channel [18:12] whoops_ has joined the channel [18:12] lupomontero_ has joined the channel [18:13] fcuk has joined the channel [18:14] beawesomeinstead has joined the channel [18:14] c4milo has joined the channel [18:16] sorensen__ has joined the channel [18:18] dwhittle has joined the channel [18:20] svnlto has joined the channel [18:21] vrs has left the channel [18:23] ppcano has joined the channel [18:26] avalanche123 has joined the channel [18:27] fuseelements has joined the channel [18:32] TheJH: is there a good markdown parser that is able to filter out unsafe tags? [18:32] rgl has joined the channel [18:32] rgl: hi [18:32] TheJH: (for node) [18:33] rgl: is there a way to listen for download progress when we use the stock http client? I'm trying to download to file using pipe, but how can I see the progress? [18:34] Morkel has joined the channel [18:34] TheJH: rgl, listen on the pipe event, count lengths [18:34] TheJH: erm, data event [18:35] rgl: the data event on the response object? and do nothing with the data? [18:35] TheJH: rgl, yes [18:35] TheJH: rgl, the pipe already handles the data [18:36] TheJH: rgl, when you have multiple listeners (here: one by pipe() and one for counting), the same data goes to both [18:38] omry has joined the channel [18:38] lem0nbyte has joined the channel [18:39] kriszyp has joined the channel [18:40] rgl: TheJH, http://nodejs.org/docs/latest/api/buffers.html#buffer.length has an odd documentation ... is length really the size of the data inside the buffer? ie. the buffer that is passed on the "data" event is always full? [18:40] TheJH: rgl, yes [18:41] rgl: TheJH, seems to work :) [18:41] rgl: TheJH, thx! [18:43] robhawkes has joined the channel [18:49] andrew12: hmm [18:50] andrew12: trying to make a simple server that will have you log in with steam [18:51] stagas has joined the channel [18:51] xy has joined the channel [18:52] jomoho2 has joined the channel [18:54] eldios has joined the channel [18:55] captain_morgan has joined the channel [18:58] draginx has joined the channel [19:03] RobotGrrl has joined the channel [19:04] equark has joined the channel [19:05] equark: anybody now an example of a C++ module where a function returns an object, not a value? Looking for an example. [19:05] equark: know [19:05] equark: Handle f(const Arguments& args) {} [19:06] stagas has joined the channel [19:07] RobotGrrl: Heya, noob question, hopefully someone can help… I (accidentally) installed the nodejs 0.4.11 mac package, then noticed there was a 0.6.6 package. When I install the 0.6.6 package, typing 'node' into the terminal resilts in "-bash: /user/bin/node: No such file or directory". How can I make node point to the right path? (/usr/local/bin/node) [19:07] Lingerance: equark: os.cpus() returns an array of objects, maybe try there (in the nodejs source) [19:07] asteros has joined the channel [19:07] equark: Lingerance: thanks [19:07] Lingerance: os.networkInterfaces() is better actually [19:07] Lingerance: It's an object itself [19:08] jsj has joined the channel [19:09] wmage has joined the channel [19:10] equark: hmm that doesn't look like its defined in node_os.cc [19:11] Shaunzie has joined the channel [19:12] RobotGrrl: Solved my question before, had to create a .bashrc and set NODE_PATH ;] [19:14] devongovett has joined the channel [19:21] FG has joined the channel [19:21] stagas has joined the channel [19:22] NothingMan65 has joined the channel [19:22] NothingMan65: Howdy [19:22] Shaunzie: howdidlydoo [19:22] Puj3: Merry Christmas? [19:23] Puj3: Anyone used the node-mysql module? [19:24] Shaunzie: not really :-/. I went with mongo instead of mysql for my projects. [19:24] aaditya: Yeah, why not mongo. [19:24] Puj3: I guess most people have been doing that to learn two new things at once? Or are there just very clear benefits which I'm not aware of? [19:24] Shaunzie: MySQL is great for small projects. But it becomes increasingly complicated as you grow and I'm too lazy to work that hard :D [19:26] Shaunzie: I think their's clear benefits for both [19:26] Shaunzie: but I think mongo is a little easier on the upstart [19:27] Puj3: Okay, what's the overall mentality of the node community? It seems some of the mysql modules are a bit immature, is that the case with mongo as well, or is the community more focused on creating reliable modules for mongo than mysql? [19:27] snearch has joined the channel [19:28] benvie: lol [19:28] benvie: require('npm').xmas() [19:28] Shaunzie: Node itself is still immature so yah... [19:29] Shaunzie: There are a number of options for MySQL and MongoDB modules, but there's still room for improvement :3 [19:29] maxogden: Puj3: is there a specific reason you're wanting to use mysql over something else? [19:30] draginx: Is there an equivalent to DataMapper for NodeJS that also supports pgsql? [19:30] agnat has joined the channel [19:30] Shaunzie: draginx: no idea. npm search or http://search.npmjs.org/ [19:30] Shaunzie: that'd be my suggestion [19:31] Puj3: maxogden: No technical reason, just to minimize the number of new technologies at once. [19:31] maxogden: Puj3: so my answer to your question would be that most decisions in node are for technical reasons [19:31] mattgifford has joined the channel [19:32] Puj3: maxogden: So, in essence, use MongoDB, and find out why? [19:32] RobotGrrl: Hello, sorry another noob question, whenever I try to use npm, it prints this out: "node.js:201 throw e; // process.nextTick error […]", is there a way to fix this? [19:33] maxogden: Puj3: there are a lot of databases out there as well as alot of languages/frameworks. certain combinations make more technical sense than others. i dont use mongo because it doesnt fit my use cases [19:34] Puj3: maxogden: Any good resources about DB combinations with node and what to consider when deciding, or is mostly just trial and error right now? [19:35] Shaunzie: Trial and error. [19:35] jomoho has joined the channel [19:36] maxogden: Puj3: it depends heavily on your use case. if you're just learning node to learn node then dont worry about it but if you have specific technical barriers then it makes it a lot easier to pick the right database [19:36] pyparadigm has joined the channel [19:38] Puj3: maxogden: Well, my database instance should be caching an nodes of a graph perhaps on the order of 10-100k and also tracking which nodes have (not) been updated. The data from this database will be served to the client through node. Node will also take care of updating the cache from a separate database. [19:39] Puj3: Perhaps I should say "nodes of a graph and their edges to the other nodes in the database" [19:40] Puj3: maxogden: And I'm trying to learn node ;P [19:40] Tobsn has joined the channel [19:40] maxogden: Puj3: i'd use redis since it sounds like you have another database thats already persisent [19:41] maxogden: persistent* [19:41] maxogden: Puj3: redis is fun to model graph-like queries in [19:41] Puj3: Okay, thanks maxogden, I'll check it out. [19:42] aaditya: Puj3: How much is your app going to scale? [19:42] aaditya: Are you willing to write queries? [19:42] aaditya: It all depends on your use-case. [19:43] maxogden: aaditya: in what database would you not write queries? [19:43] aaditya: The beauty of mongo is that it'll allow you to store objects, and do lookups by properties. Learning curve isn't much, esp. if you already know node a bit already. [19:43] igl1 has joined the channel [19:43] Puj3: aaditya, Well, as far as the graph is concerned, it shan't be fast growing. The user base shouldn't be too large either, however the request rate might be a bit high per user. Yes I'm willing to write queries. [19:43] aaditya: maxogden: Sorry, I meant SQL queries. [19:44] aaditya: Puj3: fair enough. mongo is really handy when request rate goes up, due to its asynchronous non-blocking nature. [19:44] JaKWaC has joined the channel [19:44] Sorella has joined the channel [19:44] aaditya: Sounds like SQL will do the job for you, but you may want to look into mongoskin and play around before you decide. [19:45] Puj3: aaditya, non-blocking would fit nicely into what I'm trying to achieve, but it seems most of the MySQL modules have a non-blocking implementation in node [19:45] Puj3: aaditya, I'll definetly take that into consideration, thanks. [19:45] aaditya: You're welcome. :) [19:45] Puj3: definitely* [19:46] josh-k has joined the channel [19:46] Puj3: Redis seems like it packs a big punch, maxogden. It seems like it would be best utilized when you want to incorporate quite a bit of your logic into your database system. I think my database can be pretty stupid in this case. [19:47] eldios: simple question [19:47] eldios: https://gist.github.com/1519663 [19:48] RLa has joined the channel [19:48] eldios: btw.. for var i (in ['christ','atheis']) { console.log("merry " + i + "mas!") }; [19:49] eldios: I possibly misplaced te ( [19:49] maxogden: eldios: lol [19:49] eldios: \o/ [19:50] eldios: can anyone look at the gist above? I made a stupid error somewhere..should be pretty obvious to any non-noob (like me) :) [19:50] Puj3: eldios, do you need "this." in the getvalue function? [19:50] isufy has joined the channel [19:50] eldios: don't I? [19:50] Puj3: Don't you? [19:51] Shaunzie: no you don't [19:51] Shaunzie: :D [19:51] eldios: lol [19:51] eldios: k [19:51] Puj3: You don't? [19:51] eldios: tnx [19:51] Puj3: Sure? [19:51] eldios: dunno [19:51] Shaunzie: exports.getValue = getValue ; [19:51] Puj3: Just a guess [19:51] Puj3: this.dict -> dict [19:51] Puj3: this.getValue -> getValue [19:51] Puj3: ? [19:52] eldios: will try in a second [19:52] AndreasMadsen has joined the channel [19:52] aaditya: yeah, this is not Java. Stop using "this." :) [19:52] Puj3: lol [19:52] jergason has joined the channel [19:52] Puj3: My turn for a noob question. [19:52] eldios: will do [19:52] aaditya: And if you're tempted to dive into the prototype-hell of inheritence, coffee can make your life easier. [19:53] aaditya: Puj3: shoot! [19:53] Shaunzie: I'd rather drink my coffee :D [19:53] eldios: mm [19:53] Shaunzie: x3 [19:53] Puj3: I know this isn't a javascript channel, but could someone explain the concept of using "that" to deal with scope? [19:53] eldios: not working :( [19:53] RLa: anyone here using v8cgi too? [19:53] aaditya: eldios: it refuses to move and sits in one spot all day? Or spends all its time on IRC? [19:53] RobotGrrl: Hey, does anyone know what would cause npm to print out "throw e; // process.nextTick error […]"? [19:53] insin: CoffeeScript mostly just provides sugar for the standard inherits function [19:53] eldios: lol [19:53] aaditya: ("not working" is a vague expression.) [19:53] AndreasMadsen: Pij3 inside callbacks this do not exist [19:54] eldios: stop advertising coffescript! [19:54] RLa: it has apache module, could be suitable for simpler apps [19:54] eldios: I should learn!! [19:54] eldios: XD [19:54] eldios: you won't tempt me! [19:54] aaditya: RobotGrrl: That's a generic error message. Full stack trace will help. Please use something like pastebin. [19:54] Shaunzie: eldios: what are you trying to do? who is it not working? [19:54] eldios: a closure I suppose is the answer [19:54] eldios: using a private var [19:55] eldios: and a "public" functino to get those values [19:55] AndreasMadsen: Pij3 so people do that = this, since that is just a normal var. [19:55] aaditya: I'm not working. I'm on IRC. [19:55] maushu has joined the channel [19:55] Shaunzie: ok. well return this.dict[type][code] || or '' ; is wrong [19:55] AndreasMadsen: Pij3 i use self = this [19:56] eldios: modified [19:56] eldios: https://gist.github.com/1519663 [19:56] eldios: Shaunzie, yes I guessed it [19:56] insin: Puj3: functions don't know which object "owns" them. The value of "this" is determined by how a function is called. If you pass a reference to a function which expects "this" to be the "owner" of the function and it's then called, "this" will in fact be the global object. [19:56] eldios: but it was supposed to be right in my head [19:56] eldios: so.. why is it not right? [19:56] eldios: =) [19:56] aaditya: eldios: what Shaunzie said. You have an extra "or". [19:57] eldios: ah lol [19:57] eldios: ok that was pretty straigh [19:57] eldios: a typo [19:57] Puj3: Okay, insin, and AndreasMadsen, so for example, in the case of using global callbacks, if you can call them that, "this" is the global object, and that is why "that" is used? [19:57] eldios: that's not working is this.dict[type][code] [19:57] insin: Puj3: Assigning the current value of "this" to another variable saves you having to use one of the methods of setting it to what you "expect" it to be when passing callbacks around [20:00] Puj3: Alright, thanks for your help insin [20:00] insin: "this" is determined by how you call a function - in the case of an anonymous function you've just created to be used as a callback, it's executed without a context object, so defaults to global - you can use .bind(thisValue) on a Function to explicitly set the context object to be used at call time [20:00] ryanrolds: Whoever at Nodejitsu that put this together is awesome: http://package.json.nodejitsu.com/ [20:00] galaxywatcher has joined the channel [20:00] pkrumins: just wrote this article: http://www.catonmat.net/blog/perl-regex-that-matches-prime-numbers/ [20:01] insin: but if you have lots of then in a chain, you'd have to do that for each one, whereas with var that = this, you cab just use "that" in the callbacks [20:01] nyuszika7h has joined the channel [20:02] Puj3: insin, assuming you want all of your callbacks to operate on "that"... I see [20:02] Puj3: So it kind of creates the illusion of working "inside" of an object. [20:02] Puj3: Except you have to explicitly specify which object. [20:02] nyuszika7h: Hi, I have installed node.js and I'm getting this error when trying to use print(): [20:02] nyuszika7h: % node [20:02] nyuszika7h: > print(''); [20:03] nyuszika7h: ReferenceError: print is not defined [20:03] insin: an example of (stubbornly) *not* using "that": https://github.com/insin/substitute/blob/master/substitute.js#L140-187 [20:03] insin: .bind(this) .bind(this) .bind(this) [20:03] Puj3: Wow, I thought I was stubborn [20:03] Puj3: ;) [20:04] Puj3: Thanks a ton insin, very well explained. [20:04] Puj3: Is your nick short for insight? ;) [20:05] insin: you're welcome - this is a great article for those sorts of essential details: http://dmitrysoshnikov.com/ecmascript/javascript-the-core/ [20:05] eldios: where did Shaunzie go? [20:05] Shaunzie: sorry working on stuff. wasabee? [20:05] insin: insincere, but it never took [20:05] eldios: you were answering to my gist :) [20:06] maushu has joined the channel [20:06] Puj3: Haha [20:06] eldios: modified it taking out every this [20:06] eldios: vorrecte or typo [20:06] eldios: corrected* [20:06] Puj3: eldios, what's the behavior? [20:07] Bonuspunk: does anyone know a good irc client module? [20:07] eldios: https://gist.github.com/1519663 [20:07] eldios: behaviour is getValue thorws an error saying it cannot look for key on undefined"return" [20:08] eldios: I suppose "return" is not the right verb since it is actually "throw"-ing [20:08] eldios: > dict.getValue() [20:08] eldios: TypeError: Cannot read property 'undefined' of undefined [20:10] eldios: Puj3, any guess? [20:10] ryan_stevens has joined the channel [20:10] jergason has joined the channel [20:10] eldios: Bonuspunk, look for nodester IRC module [20:10] eldios: on github [20:10] Puj3: Looking at it eldios [20:10] eldios: thanks Puj3 [20:11] Puj3: Uhh, eldios, I loaded it up, and it works great for me.. [20:11] eldios: *_* [20:11] eldios: that very same code? [20:11] Puj3: Aye lad [20:11] eldios: ACTION runs naked in the yard yelling [20:11] Puj3: lol [20:12] Puj3: Well I did add one line [20:12] Puj3: console.log(foo); [20:12] Puj3: But.. [20:12] Puj3: No runtime error. [20:12] eldios: so you actually get the value? [20:12] Puj3: Aye foobar [20:12] eldios: ::...( [20:12] purr: eldios: Paws code executed sucessfully. (no output) [20:13] eldios: that's even worse than code not working [20:13] Puj3: eldios.... is there any other code around your snippet in your app.js that you are not showing us.... [20:13] eldios: I'm using it via REPL [20:14] Shaunzie: > var dict = require('./lib/dict'); [20:14] Shaunzie: > dict.getValue('ABC', 0); [20:14] Shaunzie: 'foobar' [20:14] Shaunzie: it's working fine [20:15] eldios: and if you do dict.getValue(); ? [20:15] LeMike has joined the channel [20:15] Shaunzie: Shaunzie: 'foobar' [20:15] Shaunzie: :3 [20:15] Shaunzie: Shaunzie: > dict.getValue('ABC', 0); [20:16] Puj3: 14 dict.getValue()01 : Cannot read property 'undefined' of undefined [20:17] jomoho has joined the channel [20:17] Shaunzie: type and code are required [20:17] Shaunzie: dict[type][code] [20:17] eldios: yes but I put || '' [20:17] Shaunzie: that won't work [20:17] eldios: I'm noticing it XD [20:17] joestein has joined the channel [20:17] Shaunzie: if( typeof type == 'undefined' || typeof code == 'undefined') blah [20:17] Shaunzie: else blah [20:18] eldios: mm [20:18] Puj3: return (typeof type === 'undefined' || typeof code === 'undefined')?'':dict[type][code] ; [20:18] bradleyg has joined the channel [20:19] Puj3: Alternatively? [20:19] Puj3: try{ return dict[type][code] ; }catch(e){ return ''; } [20:19] eldios: yeah I suppose I'll do the try/catch [20:20] Morkel has joined the channel [20:21] eldios: kewl [20:21] eldios: it worked [20:21] eldios: thanks [20:21] Puj3: w0rd [20:25] Puj3: MongoDB here i come!! Wrahh! [20:28] jergason has joined the channel [20:28] gigafied has joined the channel [20:30] jomoho has joined the channel [20:30] equark: Are there any examples of a node module that instantiates and C++ ObjectWrap object from C++ and return it? Think a static constructor function like var a = Point.origin()? Trying to get my head around nodes C++ API [20:31] devaholic has joined the channel [20:31] chjj: getting your head around c++ ends with a broken head [20:32] aaditya: ...or a memory leak. [20:33] scalibur has joined the channel [20:33] TimTim has joined the channel [20:35] jomoho has joined the channel [20:36] sh1mmer has joined the channel [20:37] nyuszika7h: 21:26:24 freenodeZNC -- | pywolf ~pywolf@unaffiliated/variable/bot/pywolf :is messaging you, and you have umode +g. [20:37] nyuszika7h: 21:27:54 freenodeZNC -- | pywolf ~pywolf@unaffiliated/variable/bot/pywolf :is messaging you, and you have umode +g. [20:37] nyuszika7h: Oops [20:37] cjm has joined the channel [20:38] a1e has joined the channel [20:39] equark: yes, but sometimes necessary. I need to wrap a C++ library badly. [20:42] slajax has joined the channel [20:43] Shaunzie has joined the channel [20:43] jomoho has joined the channel [20:44] larsschenk has joined the channel [20:44] larsschenk has left the channel [20:45] jarek has joined the channel [20:45] jarek has joined the channel [20:48] jomoho has joined the channel [20:51] stagas has joined the channel [20:51] harthur has joined the channel [20:59] TheMoonMaster has joined the channel [20:59] equark: are there any native modules that wrap an object oriented api? [20:59] Cromulent has joined the channel [21:00] Shaunzie: meaning? [21:00] TheJH: equark, errrm... what? [21:01] Sorella has joined the channel [21:01] equark: I looking for an example for a node modules that wraps an OO style api and does things like instantiates new objects form within C++ [21:02] equark: Most examples out there just return values [21:04] Shaunzie: mm not sure to be honest, but you might want to check out the native mongodb or redis modules. [21:06] _unary has joined the channel [21:08] fly-away has joined the channel [21:08] equark: Hmm… Given an object that inherits ObjectWrap, anybody know what I need to do in C++ to get the equivalent as "new Object()"? [21:10] zodiak: equark, I am curious as to how you do that as well (more returning structs from c mind you) but.. I think the channel is pretty much 'Frohe Weinachten'-ed out currently ;) [21:10] zodiak: maybe the mailing list ? it's what I am trying to search for the past couple of days [21:11] Shaunzie: anyone know a decent gui for mongodb on mac? ._. [21:11] cmr: Gui to do what? [21:11] TheMoonMaster has joined the channel [21:11] cmr: Visualize the db? [21:11] draginx: build a web gui :D [21:11] equark: zodiak: yeah. I have yet to find a good example that goes through all the standard things you'd need to wrap something like a Point class. Everything just functions and such. [21:11] Shaunzie: cmr: yah [21:11] Shaunzie: draginx: would rather not :D [21:13] insin: Do block in Jade only operate at the tag/element level? I usually have something like this in my Django templates to allow handling display of "active" stuff entirely with the template and CSS: - is there an equivalent I could use in Jade? [21:13] ottergwc has left the channel [21:13] insin: s/Do block/Do blocks/ [21:14] jomoho has joined the channel [21:15] zodiak: equark, good luck, and let me know if you stumble over any C guides.. cause c++ .. ugh :) [21:16] zodiak: c++ 'where friends can touch your privates' [21:16] Shaunzie: D: [21:16] cmr: Heheh [21:18] flip_digits has joined the channel [21:18] Druid_ has joined the channel [21:19] Ox2Oh has joined the channel [21:19] mmalecki: http://i.imgur.com/vawP5.png <- npm logo in minecraft [21:20] jergason has joined the channel [21:23] sh1mmer has joined the channel [21:23] subbyyy has joined the channel [21:25] james_c has joined the channel [21:26] james_c: just upgraded to lion and nodejs has stopped working. tried rebuilding v0.6.6 but im getting ''error: could not configure a cxx compiler!' [21:26] james_c: c++ or g++ is not found [21:26] Shaunzie: xcode? [21:26] james_c: yeah, googling it lead me to install xcode [21:26] Shaunzie: Think I had to re-install Xcode when I upgraded to lion [21:27] james_c: anything you have to do after installing xcode [21:27] Shaunzie: well my situations as kinda funky cause I installed node using macports then killed macports when I upgraded to lion. I then switched to brew and used that to install node :-/ [21:28] Shaunzie: after Xcode was installed and I brewed it I din't have a problem [21:30] james_c: interesting. brew install node is telling me xcode is not installed even though it is and i have opened it without any issues [21:31] Shaunzie: try brew doctor [21:31] Shaunzie: to check your config i mean [21:31] MUILTR has joined the channel [21:33] salva has joined the channel [21:37] pauls1 has joined the channel [21:40] jhurliman has joined the channel [21:40] p1d has joined the channel [21:40] blup has joined the channel [21:42] base698 has joined the channel [21:43] sh1mmer has joined the channel [21:44] jomoho2 has joined the channel [21:44] pyparadigm has joined the channel [21:47] jomoho has joined the channel [21:49] context: are there any open source node apps that are a little more 'advanced' than a blog or something [21:49] chjj: context: why would i make something besides a blog? nonsense [21:50] context: i wasn't asking you waht to make [21:50] jomoho2 has joined the channel [21:50] chjj: ;) [21:51] mmalecki: context: nodejitsu has a bunch [21:52] base698 has left the channel [21:53] context: is there like a list of some sort [21:53] TheJH: context, I'm working on a forum :) [21:53] context: guess i worded my question wrong :( [21:53] mmalecki: context: https://github.com/nodejitsu/ <- bunch of sysadmin and stuff [21:53] context: thejh: url? [21:53] TheJH: context, not online yet [21:53] context: kk [21:53] TheJH: context, and the repo isn't online yet either [21:53] context: thejh: just express or using any larger framework like railways ? [21:54] jomoho has joined the channel [21:54] TheJH: context, "npm ls": https://gist.github.com/528c5a3281acdaf60089 [21:55] TheJH: just hat, marked, password-hash, ram-static, relax, vacuum [21:55] TheJH: no big libs [21:55] tilgovi has joined the channel [21:55] tilgovi has joined the channel [21:55] TheJH: (I wrote ram-static, relax and vacuum) [21:55] context: relax? :X /me googles [21:55] context: writing a new app at work, debating between rails and node/express/[maybe railways] [21:56] Shaunzie: oo a forum… I want to see gimmie O.o [21:56] TheJH: !npm info relax [21:56] josh-k has joined the channel [21:56] jhbot: relax by Jann Horn, version 0.1.1: Just relax, like you should with couch! [21:56] TheJH: wow, the bot is still online :) [21:56] context: thejh: ahh you use couch ! [21:56] context: thejh: any good books? i just read riak handbook and starting to read mongodb the definitive guide today [21:56] context: kind of looking for a couch book too [21:57] TheJH: context, I read no book about it, just some stuff on the couchdb wiki [21:57] context: i love everything i see about riak but heroku doesn't have an easy way to get it (nor am i really dealing with that much data to 'need' it) [21:57] context: thejh: kk [21:58] context: yeah i kinda like getting books so i can read them leasurly on my kindle laying in bed [21:59] context: somtimes naked, sometimes not. sometimes under the covers even [21:59] Shaunzie: wow. [21:59] Shaunzie: thanks for the mental peep show O.o [22:01] context: :D [22:01] Shaunzie: fuckin hilarious shit coming: [22:01] Shaunzie: http://notinventedhe.re/on/2011-11-14 [22:01] disappearedng has joined the channel [22:01] Shaunzie: http://notinventedhe.re/on/2011-11-15 [22:01] disappearedng: Any good nodejs sample code for me to look through? [22:02] eldios: any link on how to write an async module? [22:03] eldios: even better if it exaplains how to do it *properly* --> *best practices* [22:03] Shaunzie: eldios: https://github.com/caolan/async [22:03] eldios: tnx Shaunzie [22:04] context: thejh: you like couch over mongo or every used mongo? (and/or comments on riak) [22:06] ZeepZop has joined the channel [22:06] TheJH: context, I've never used mongo or riak. actually, I tried mongo one time and tried to write a few GB into it (wanted to do keyword search with it) - it crashed after a little while because I use a 32bit system, which isn't supported by mongo. well, actually, I have a amd64 processor, but I installed linux as x86 [22:07] TheJH: http://blog.mongodb.org/post/137788967/32-bit-limitations [22:07] eldios: Shaunzie, I can see no object.on('event',fn(){}) feature in that module [22:07] eldios: that's what I was hoping to learn [22:09] josh_k has joined the channel [22:09] Shaunzie: If you are just looking to learn how to handle events, just take a look at the docs: http://nodejs.org/docs/latest/api/events.html [22:10] FIQ has joined the channel [22:10] Bonuspunk: uhm, can anyone download images with request? [22:10] skoom has joined the channel [22:10] eldios: mmm k Shaunzie will continue looking at docs [22:11] Shaunzie: Bonuspunk: confuzzled slight. explain? [22:11] mike5w3c_ has joined the channel [22:12] Bonuspunk: Shaunzie https://gist.github.com/1519820 - the resulting file can not be opend [22:14] eldios: can it be considered correct to say that you use emit if you do not want to pass a callback straight away? [22:15] andrew12: eldios: you usually don't pass a callback for emit [22:15] Shaunzie: is request part of something else? like say express? [22:15] eldios: meaning to do async code you can pass a callback (which would be used by the function you are calling whenever appropriate) or wait for an emit and then cal a callback [22:15] andrew12: emit is what calls the callback [22:15] eldios: but you could write an async module which accepts a callback to do (almost) the same work [22:15] eldios: right? [22:16] andrew12: I don't know what you mean [22:16] eldios: I mean that you can write the same module either using the emit pattern or the fn(err,cb) pattern ... am I right? [22:16] andrew12: yeah [22:16] maletor has joined the channel [22:17] andrew12: i think.. i don't totally understand what you mean [22:17] eldios: =) [22:17] disappearedng: aside from long polling how do you guys normally keep an connection from the browser to your nodejs server [22:18] andrew12: socket.io is a popular library [22:18] Shaunzie: andrew12: +1 [22:18] disappearedng: ok [22:19] flip_digits has joined the channel [22:20] disappearedng: and I was wondering if there's a nice way to do this. I am creating a rails app that serves static pages. One of the pages interacts with the nodejs api that I built for interactivity. I placed my business logic inside nodejs. Now when the interactivity is done, aka user says hi to everyone, should I have node access the db directly or open up some sort of RPC call that allows node to directly talk with my rails serve [22:20] disappearedng: r? [22:20] Ox2Oh has joined the channel [22:20] andrew12: node accessing the db would be best imo [22:20] disappearedng: but then if I change my db implementation then node will have to update [22:21] andrew12: sure. but you'll have to change your rpc too. [22:21] disappearedng: well changing rpc is better than changing schema on two place [22:21] disappearedng: at least with rpc I can test easily with rpsec [22:21] blueadept has joined the channel [22:21] andrew12: you shouldn't have to do anything with a schema in node [22:22] andrew12: if you define it in rails, that is [22:23] disappearedng: ok let me look into that, btw how complicated is your code? I did the node js beginner guide on http://www.nodebeginner.org/ and it seems like I need to have my own router or whatever.. Is there a typical pattern for this kind of server development? [22:23] andrew12: I try to keep mine as simple as possible, but I haven't built anything useful yet [22:24] andrew12: trying to write some sort of clone of http://tf2r.com but openid is confusing as fuck [22:25] disappearedng: oh yeah merry xmas [22:25] disappearedng: there are libs out there that deals with openid [22:25] andrew12: i know [22:25] disappearedng: you shouldn't deal with it yourself [22:25] andrew12: they suck [22:25] andrew12: I keep getting "No usable providers found for the given identifier" [22:25] disappearedng: what platform you using [22:25] andrew12: ... node? [22:26] disappearedng: oh can't help you [22:26] andrew12: heh [22:27] disappearedng: I remember integrating openid on rails and it took like 15 mins? [22:27] andrew12: I like ruby... I use it for a lot of things. I hate rails. I used to completely hate JavaScript, but after I saw node and was like "wait, this is exactly what I want", and then I realized that JavaScript isn't that bad [22:28] andrew12: disappearedng: it should be simple but I think there's something significantly different about steam's openid api [22:28] xy_ has joined the channel [22:28] c4milo has joined the channel [22:30] andrew12: and merry christmas to you too :] [22:31] svnlto: could somebody look at this and tell me why L#41 isn't returning https://gist.github.com/1519839 [22:32] eldios: andrew12, this is exactly what i was talking about [22:32] eldios: http://howtonode.org/control-flow-part-ii [22:32] andrew12: eldios: oh [22:32] andrew12: eldios: what was your question again? [22:33] eldios: if you could write the very same code with a callback OR the emit pattern [22:33] no_u0 has joined the channel [22:33] boltR has joined the channel [22:34] Squeese has joined the channel [22:34] no_u0: i'm trying to create a new project with node 0.6.6 and express.js. However, installing express using npm only gives me 2.5, but express.js 3 is the master branch right now [22:34] no_u0: is express.js still not production ready, or is npm outdated? [22:34] no_u0: express.js 3 [22:34] eldios: that's the main answer --> "Sometimes you want to listen for events that can happen several times" [22:35] andrew12: eldios: usually you pass a callback if it's like the only or the primary event for that object [22:35] andrew12: i.e. fs.readFile or http.createServer [22:35] eldios: mmm.. yeah.. reading so [22:36] andrew12: though http.createServer just calls this.on('request', callback) with your callback i think [22:36] andrew12: yeah [22:36] andrew12: https://github.com/joyent/node/blob/master/lib/http.js#L1319 [22:38] teadict: so, I don't get how Backbone and Express fit together [22:38] TheMoonMaster has joined the channel [22:39] zodiak: teadict, backbone is purely client/frontend side, express is backend [22:39] teadict: zodiak: I heard Backbone could be used in the server.. [22:39] teadict: s/heard/read/ [22:40] zodiak: teadict and you could probably use node in the web browser, doesn't make it a 'good idea' [22:40] teadict: because Express already does what Backbone does? [22:40] Cromulent has joined the channel [22:40] zodiak: huh ? jst think of it as express === server, backbone === client [22:40] zodiak: anything else is madness ;) [22:41] teadict: but but... [22:41] zodiak: this is SPARTA [22:41] VICODAN has joined the channel [22:41] VICODAN: sup [22:41] andrew12: this is athens [22:41] teadict: I thought Backbone.. lawl.. was this decoupled stuff that gave you structure wherever you wanted it [22:41] teadict: while Express is a frameworky thingy [22:41] context: wow. i was intrigued by Haraka , now im watching the itnro video and im turned off [22:41] andrew12: ACTION doesn't get the use for backbone [22:41] zodiak: teadict, backbone is mvc for the client, express is mvc(ish) for server [22:42] context: it base install has > dozen config files [22:42] andrew12: express is not a MVC [22:42] zodiak: andrew12, backbone didn't make a tonne of sense to me, until I saw the 'render()' call ;) [22:42] teadict: alright.. tha's the 3rd time you say that.. I'll start looking at it liek that.. [22:42] Sorella: andrew12, people are clearly too used to Rails :3 [22:42] context: express isn't mvc in anyway shape or form [22:42] zodiak: andrew12, that's why I said 'ish' [22:42] teadict: that's what I thought! [22:42] andrew12: well it does the controller part [22:42] andrew12: that's it though [22:42] andrew12: zodiak: it's not even close [22:43] andrew12: express is to node as sinatra is to ruby (http://www.sinatrarb.com/) [22:43] context: zodiak: no. it has no M in mvc, it has no C on mvc, it has no V in mvc. [22:43] andrew12: it certainly has the C [22:43] andrew12: and it knows a bit about the V [22:43] context: it kind of has the C [22:43] andrew12: but there's no idea of models in it [22:43] context: andrew12: only what you tell it [22:43] teadict: so , nobody really knows, great [22:43] zodiak: context, it is definitely missing the 'm' part .. but the rest.. I am not so sure [22:43] zodiak: which is why I said 'ish' ;) [22:43] teadict: okey, then why couldn't you create the M with Backcbone? [22:44] andrew12: model = database [22:44] context: you can ? [22:44] teadict: can't you like sync backbone models with some database? [22:44] teadict: like ExtJs does [22:44] teadict: isn't that the point? [22:44] context: wtf [22:45] teadict: dammit, there's too many modules to learn! [22:45] rurufufuss has joined the channel [22:45] context: if you're using backbone and extjs on the same site, i never want to work with you [22:45] teadict: no.. it'll be all node [22:45] zodiak: hah! [22:45] wmage: nice [22:46] teadict: and so far, express on the S, backbone on the C.. [22:46] context: s/if.*site, // [22:46] teadict: with all the other stuff needed of course.. [22:46] wmage: so how do you guys feel about using only websockets for data sync? instead of ajax [22:46] context: [22:46] teadict: ajax is not dead! [22:47] context: wmage: i see no problem with it. depending on your target audience anyway [22:47] andrew12: i still have no idea what backbone is or does, so i can't really help here :p [22:47] teadict: andrew12: https://github.com/addyosmani/backbone-fundamentals [22:48] context: teadict: just stop. [22:48] andrew12: teadict: tl;dr [22:48] teadict: wat [22:48] teadict: andrew12: it lets you create models basically [22:48] teadict: of anything [22:48] context: andrew12: backbone kind of mvc for client side (but there are ways to use it server side) [22:48] andrew12: i see [22:48] context: its like MC [22:48] andrew12: that's kind of backwards [22:48] andrew12: 'backbone client side' [22:48] jhine has joined the channel [22:49] teadict: but apparently it's stupid to use it sever-side since there's express [22:49] context: heh [22:49] context: backbone and express have nothing to do with eachother [22:49] andrew12: uh [22:49] context: they do totally different things [22:49] context: teadict: stop comparing cars to boats. [22:49] teadict: I'm not wanting to use them together.. [22:49] context: i dont need a corolla, i got a skidoo [22:50] context: why NOT ? [22:50] andrew12: if backbone is MC (that is, model, controller), and express is... nothing but a framework... you can't really compare them [22:50] context: teadict: like i said.... JUST STOP [22:50] andrew12: stop trying to put a tiller on your car [22:50] context: you've made zero sense since i started talking to you [22:50] teadict: question: does express have Models? [22:50] andrew12: no [22:50] teadict: okey [22:50] context: teadict: whats the website say [22:51] teadict: it says nature calls [22:51] context: http://expressjs.com/ -- its got a features bullet point list [22:51] andrew12: express doesn't do anything except for view related stuff really. [22:51] andrew12: well [22:51] teadict: doesn't it solve the routing? [22:51] teadict: thought that was the most important part [22:51] context: teadict: READ THE FUCKING WEBSITE [22:51] andrew12: i'd like to describe it as a framework for building web applications simply and quickly [22:51] context: Robust routing [22:51] teadict: oh jesus okey [22:51] context: first god damn bullet point [22:52] wmage has joined the channel [22:52] zodiak: context, and you wonder why I fell back on the 'mvc' thing ;P [22:52] context: teadict: if you actually read about the libraries you're considering using before talking about them and asking questions, you might not sound like such a retard [22:53] context: zodiak: i dont care what you call it. he still hasn't read a single word on the express website [22:53] zodiak: context, why read on the website when you can jst ask in irc [22:54] andrew12: context: a lot of people that come in here seem to do that -_- [22:54] josh-k has joined the channel [22:54] context: zodiak: ;) cause i wanted to buy a boatcar ! [22:54] andrew12: zodiak: oh man good thing you added the [22:54] context: haha i picked it up ;) [22:54] zodiak: andrew12, well, often the ;) or :P get's lost in irc. html tags always help matters [22:56] Sorella: so, there's actually an use for the verbosity of XML/SGML? Wonderful. [22:56] captain_morgan has joined the channel [22:57] zodiak: there's the man that made my xmas with family easier! [22:57] zodiak: cheers [22:58] context: teadict: we are here to help. not teach you what a website says in the first section of its homepage. we arent professors and you dont pay us. [22:58] brianloveswords has joined the channel [22:59] context: teadict: if i sound like a dick its because im being one. far to many people these days want to get spoon fed. more than half your job as a developer is NOT being able to write code. its being able to find the information you need when you need it while writing said code. if you cant do that then why should i waste my time answering your questions [22:59] amigojapan has joined the channel [22:59] eldios: https://gist.github.com/1519917 <--- any hint on how to make this work? :) [23:00] disappearedng has joined the channel [23:00] disappearedng: How common is Express on top of node [23:00] bradleyg has joined the channel [23:00] VesQ: eldios: you need to do parser.prototype = EventEmitter.__proto__ [23:00] VesQ: before any prototypes [23:01] VesQ: eldios: sorry, I meant parser.prototype.__proto__ = EventEmitter.prototype; [23:01] context: here we go [23:01] eldios: thanks VesQ [23:02] sh1mmer has joined the channel [23:02] teadict: context: thanks for the lovely speech [23:02] teadict: I can tell you're being honest [23:03] teadict: didn't want to make a fuss.. I just read they could be used together, but they can't, so that's it [23:04] context: teadict: they cant ? [23:04] context: first off... you need to stop confusing server side and client side.. [23:05] context: have you EVER written a web app ? [23:05] context: or any app for that matter [23:05] teadict: you're exagerating [23:05] Sorella: teadict, iirc, no one said they can't be used together. And afaik, backbone should work with any RESTful thingie. [23:05] context: im sure hundreds of people use node with backbone [23:05] mandric has joined the channel [23:05] teadict: together in the same app, yes, of course... but I meant both in the server side [23:05] context: no im not exagurating [23:06] draginx: Anyone convert expressjs into an mvc structure? [23:06] teadict: anyway, I might've misread [23:06] Sorella: oh, yeah, I guess that would be just stupid. [23:06] teadict: that doesn't mean I don't know what the server is and what the client is >.>ç [23:06] Sorella: ACTION doesn't know backbone though [23:06] context: teadict: http://andyet.net/blog/2011/feb/15/re-using-backbonejs-models-on-the-server-with-node/ [23:07] context: teadict: as a developer you should also be made aware of this tool we use called 'google' [23:07] teadict: okey... you're being a dick now [23:07] jaitaiwan_ has joined the channel [23:07] context: 16:59 context| teadict: if i sound like a dick its because im being one. [23:07] andrew12: draginx: yeah, it's actually quite easy to do if you've got a decent database library [23:07] teadict: I just miscommunicated myself [23:07] context: i said i was a dick 10 minutes ago [23:07] teadict: you blew it up [23:08] context: teadict: then if you used google... you would find that page like idid.... which i actually looked at before saying you can use node with backbone [23:08] draginx: andrew12: Care to elabore? Been googling for a few minutes and failed :( [23:08] criswell has joined the channel [23:08] teadict: context: you always explode when someone mispeaks? [23:09] andrew12: draginx: one sec, i'll write up a quick example [23:09] draginx: andrew12: ty v much :) [23:09] context: teadict: when they mispeak for 20 minutes straight? yes. [23:09] teadict: I mispoken at first, then it went to hell [23:09] draginx: andrew12: have to go eat xmas dinner soon =x mind PM'ing me? (mom is yelling =x) [23:09] andrew12: np :P [23:10] draginx: ty :) [23:10] context: teadict: and no you are complaining. instead of actually trying to get anywhere in your project. [23:10] thax has joined the channel [23:10] teadict: oh lawd, okey, I'll sshut the fuck up [23:10] context: draginx: there is railways which is an mvc framework on top of express [23:11] draginx: context: problem witht hat is that they use juggler [23:11] draginx: which doesn't have pgsql [23:11] sakkaku_ has joined the channel [23:12] context: teadict: and yes. to answer your question (since i googled for you) it appears people DO use backbone on the server side. which is what you asked 20 minutes ago. and in that 20 minute timespan. doing what i did, and spending 10 seconds to google, you'd rather complain on irc. [23:12] teadict: context: I said that's what I had already read! [23:12] teadict: I SAID IT [23:12] teadict: explicitly [23:12] context: teadict: you could have had your answer 20 minutes ago. infact im pretty sure i questioningly asked why you cant use backbone on the server after googling. (HINT you should probably google when people question what you said) [23:12] joestein has joined the channel [23:12] context: kk [23:12] teadict: I had already googled the thing and read about it being used that way [23:12] teadict: you see? [23:13] teadict: why else would I bring it up? [23:13] teadict: out of trolling? [23:13] context: so why are you asking / stating people dont use backbone on node [23:13] teadict: what? [23:13] teadict: when? [23:14] teadict: I pointed at express and backbone.. [23:14] teadict: node was a given [23:14] context: 17:05 teadict| together in the same app, yes, of course... but I meant both in the server side [23:14] teadict: meanning express and backbone.. [23:14] context: yeah... who cares, use both [23:14] context: anyway. im dont with that conversation [23:14] teadict: [23:14] mscdex has joined the channel [23:15] teadict: I'll check that link though, because that structure was my first plan [23:15] teadict: although I found now , instead of socket.io [23:15] teadict: but I think I'll have to use both at some point [23:17] dwhittle has joined the channel [23:17] context: teadict: answer for you one sec [23:18] context: http://search.npmjs.org/#/bones [23:18] context: http://search.npmjs.org/#/codetube [23:18] context: http://search.npmjs.org/#/open.core [23:18] context: http://search.npmjs.org/#/telegraph [23:18] context: four examples of people using express AND backbone together [23:19] context: took all of two minutes to find. [23:19] teadict: I don't know if I want to put layer over layer of modules.. [23:19] teadict: knowing express, socket.io, backbone and some other already do it all.. [23:19] bradleyg has joined the channel [23:19] teadict: placing one more thing over them could be fussy [23:20] context: what ? [23:20] teadict: those modules... [23:20] teadict: don't they create an abstraction for backbone, express and socket.io? [23:20] context: omg [23:20] context: EXAMPLES [23:20] teadict: OH [23:21] teadict: why are they on npm? [23:21] teadict: I thought it was just a modules repo [23:21] thelifelessone has joined the channel [23:21] teadict: quit making a big deal out of anything! [23:21] context: thats what npm is .... [23:21] thelifelessone: what's a good MVC framework? [23:21] teadict: I'm fairly new to node [23:21] teadict: thelifelessone: good timing [23:22] thelifelessone: teadict: how so? [23:22] teadict: don't mind me [23:22] context: there is railways [23:22] context: but as for any others im not to really aware of [23:22] teadict: doesn't he mean for node? ^.- [23:22] context: draginx: you can probably pull out juggler cant you? [23:22] context: teadict: yes ? [23:23] sjltaylor has joined the channel [23:23] teadict: ah, railways is js? oh [23:23] context: we are no #node.js right? [23:23] teadict: go on! make a big fuss at me for knowing of railways! [23:23] teadict: heh [23:24] sjltaylor has left the channel [23:24] draginx: context: just walked back in for a sec… uhhh urprobably right to be honest O_o it's really not a bad idea and might do it.. although I might also just wrote a small skeleton wrapper around expressjs to make it mvc like i did for sinatra :D I want to see andrew12's solution though (as my nodejs skills are not as good as my ruby skills >.>) [23:25] andrew12: i'm not fantastic at node.js but I do know a little bit about how a rails app is structured [23:25] teadict: with rails [23:25] teadict: :3 [23:25] draginx: andrew12: ah yer :) let me know what u come up with id definitely be interested [23:26] p1d has joined the channel [23:28] MrMaksimize has joined the channel [23:30] Shaunzie has joined the channel [23:32] flip_digits has joined the channel [23:33] riven has joined the channel [23:33] teadict: well, Backbone seems to solve a lot of spaghetti in the client [23:33] teadict: I'm glad [23:33] Swizec has joined the channel [23:34] teadict: they sure nailed the name [23:34] jetienne has joined the channel [23:36] context: im more of a fan of Spine [23:36] teadict: ACTION googles [23:37] devongovett has joined the channel [23:37] context: draginx: jugglingdb says it supports postgres [23:37] teadict: coffeescript? [23:38] context: google? [23:38] teadict: quit assuming nobody knows anything! [23:38] teadict: I meant as in.. "written in coffee script? huh" [23:38] teadict: why do you prefer it to backbone? [23:39] teadict: has a more complete mvc? [23:39] context: simpler, less code [23:39] Shaunzie: did github like hire 30 people in december? O.o [23:39] Shaunzie: wtf O.O [23:39] idefine_ has joined the channel [23:39] draginx: context: weird i thought i just checked O_o [23:39] draginx: well.. time to learn new framework me guess =x thanks [23:39] captain_morgan has joined the channel [23:39] teadict: is there something that does the CRUD scaffolding? same question for server side and client side [23:41] context: for someone learning a new language you certainly ask a lot of questions instead of actually just playing with the language [23:41] teadict: let'see.. [23:41] teadict: I'm learning node [23:41] andrew12: https://github.com/andrew12/node-mvc-example [23:41] teadict: not the language [23:41] teadict: and I'm already in the phase where one filters what modules will one use.. so that's why I'm so fussy about it [23:41] context: yeah but all i see is you asking questions about 20 different modules. nothing regarding node. and not actually writing any code [23:42] michaelhartau has joined the channel [23:42] teadict: because that part is already solved, gotta choose my modules before coding [23:42] teadict: I'm analizing everything [23:42] teadict: in paper [23:42] teadict: sort of speak [23:43] context: then you will have to analyze how to lay out your code, how to layout your db, where certain files should go, prototype or inheritence. you might get some code written in two weeks [23:44] teadict: I've done it before, that's the next part.. [23:44] context: and even after that, you are going to run into a module and be like 'darn i should use that.' [23:44] teadict: yeah [23:44] teadict: which is part of the fun [23:44] context: ... stop planning, start doing. [23:44] context: no planning is extremely boring [23:44] teadict: but anyway.. choosing the core-y modules is more critical [23:45] teadict: but yes, I'm starting to code as soon as January begins [23:45] teadict: which is when I told them I'll finnish all the planning and modeling phase [23:45] context: sounds like a waste of a week right there [23:46] teadict: sounds like they get what they're paying for when they're paying for it :P [23:47] context: whats your name? i wanna make sure we never call you for work, and im never on a team working with you [23:47] andrew12: it would be interesting to make a web framework that's like padrino for node [23:47] teadict: context: don't worry, I'll avoid you first [23:48] context: andrew12: or active-admin even [23:48] andrew12: i like padrino because it's not so bulky [23:48] andrew12: and you can use any ORM you want [23:48] TheMoonMaster has joined the channel [23:48] eastc has joined the channel [23:49] dharmesh has joined the channel [23:50] teadict: railway has scaffolding? done [23:50] hipsters_ has joined the channel [23:51] context: i cant even remember the last time i used scaffolding. [23:51] no_u0 has joined the channel [23:52] teadict: well, there's a bunch of models that must be able to be handled by the administrator, I don't want to code CRUDs [23:52] eastc: are there any specific things i have to do to scale easily? [23:52] no_u0: how would i use a package that i didnt install through npm> [23:52] eastc: I wish more people were on here today...but it's expected [23:53] eastc: to have less people [23:53] teadict: Railway looks a LOT more robust and complete than Express.. [23:53] Shaunzie has joined the channel [23:55] teadict: oh, it's based on Express.. [23:55] no_u0: lol [23:56] eastc: yea say that in the #express channel and see what they say lol [23:56] teadict: wat [23:56] teadict: I'm sure they hate it.. yeah [23:56] eastc: screen full of lols [23:56] teadict: is not based? [23:57] teadict: ACTION joins #express [23:58] asteros has joined the channel