[12:25] frigg: VERSION [12:25] nodelog has joined the channel [12:26] nerdEd has joined the channel [12:26] Stephen: \hmm.. [12:31] Stephen: Alright, and it's done! [12:31] Stephen: Methods calling in both directions now [12:32] _announcer: Twitter: "already in # devinsampa viewing lecture node.js" [pt] -- Edgar F. da Silva. http://twitter.com/edgarfs/status/21146268853 [12:33] karboh has joined the channel [12:36] marshall_law has joined the channel [12:39] SingAlong has joined the channel [12:47] SingAlong: how can i execute a system command in node? [12:48] SubStack: require('child_process').spawn [12:48] SingAlong: SubStack: does it return errors of that child processes also? [12:49] SingAlong: SubStack: ah its ok. thanks. I just found the doc page [12:52] hansek has joined the channel [12:53] nerdEd has joined the channel [12:53] dylang: mape: I'm trying out connect-assetmanager-handlers and getting an error: "Cannot find module 'node-base64/base64'". I've installed node-base64 and base64. Typo? [12:57] MattJ has joined the channel [12:58] Tim_Smart has joined the channel [13:01] _announcer: Twitter: "@ Rafaelhbarros node.js uses, you can create the daemon then javascript" [pt] -- Julio Greff. http://twitter.com/juliogreff/status/21147811569 [13:03] _announcer: Twitter: "very nice talk about node.js by @emerleite #devinsampa" -- Diego Carrion. http://twitter.com/dcrec1/status/21147927530 [13:06] SamuraiJack__ has joined the channel [13:07] shockie has joined the channel [13:09] _announcer: Twitter: "The lecture on emerleite @ @ # nodejs in devinsampa was great!" [pt] -- Jonas Alves. http://twitter.com/jonas_alves/status/21148260454 [13:15] aho has joined the channel [13:18] davidc_ has joined the channel [13:19] davidc_ has joined the channel [13:20] _announcer: Twitter: "To get node.js working on my plug computer, I need to compile V8 from the bleeding_edge SVN branch. Seems like a lot of effort." -- _duncan_. http://twitter.com/_duncan_/status/21148915033 [13:21] mpoz2 has joined the channel [13:24] d0k has joined the channel [13:25] pydroid has joined the channel [13:25] _announcer: Twitter: "#node.js seems a good match to run on #chromeos ... small, fast, webby" -- Jerome Etienne. http://twitter.com/jerome_etienne/status/21149227724 [13:31] codemariner has joined the channel [13:33] Throlkim has joined the channel [13:33] Throlkim has left the channel [13:35] keeto has joined the channel [13:36] Throlkim has joined the channel [13:39] _announcer: Twitter: "webshell: A console-based JavaScripty web client utility (using node.js) - thechangelog: http://tumblr.com/xgxfr0f7j" -- Jack Russell SC. http://twitter.com/jackhq/status/21150095385 [13:42] hansek has joined the channel [13:44] skampler: node.js on the front page [13:48] _announcer: Twitter: "@der42 agreed but pretty crap for server side like node.js :(" -- nathan. http://twitter.com/webr3/status/21150707731 [13:49] mscdex: hooray for neat bitwise operations in javascript [13:50] Egbert9e9 has joined the channel [14:05] zapnap has joined the channel [14:06] _announcer: Twitter: "Node.js talk by @eibaan. Nice! #bcki http://yfrog.com/ht59oj" -- Ⓙohannes Ⓕahrenkrug. http://twitter.com/jfahrenkrug/status/21151908287 [14:17] fearphage has joined the channel [14:18] rnewson has joined the channel [14:20] softdrink has joined the channel [14:23] jamescarr_: what is AntiNode??? [14:28] stride: a static http file server module iirc [14:29] Draggor: that's handy [14:34] zapnap has joined the channel [14:36] siculars has joined the channel [14:36] _announcer: Twitter: ""Ruby on Rails developers are indeed generating test Nazis" quip from the node.js Session # bcki" [de] -- Florian Bender. http://twitter.com/fbender/status/21153899012 [14:36] c4milo has joined the channel [14:38] mu-hannibal has joined the channel [14:39] _announcer: Twitter: "@map_it there's much more than Rails out there; Ruby is a player for sure, but there are other opts: node.js, Python, php..." -- michelemauro. http://twitter.com/michelemauro/status/21154119635 [14:40] keeto has joined the channel [14:42] SubStack: excellent all is going according to plan [14:43] SubStack: for now we bide our time, watching [14:43] jb55: ACTION watches [14:44] pdelgallego has joined the channel [14:44] _announcer: Twitter: "I'm playing with node.js, cool thing. Long awaited her)" [ru] -- Eight Buddha. http://twitter.com/eight_buddha/status/21154490488 [14:46] maushu: ACTION plans to conquer the world using node.js [14:47] Egbert9e9 has joined the channel [14:49] bryanl has joined the channel [14:52] allengeorge has joined the channel [14:58] _announcer: Twitter: "@ Juliogreff if I install ruby on ubuntu here makes no difference, but if I want to use it somewhere else different is bad. node.js FTW" [pt] -- Rafael Barros. http://twitter.com/rafaelhbarros/status/21155443917 [15:00] FransWillem has joined the channel [15:05] _announcer: Twitter: "nosql and node.js sessions at #bcki were great. I really like to do a project using them" -- splitbrain. http://twitter.com/splitbrain/status/21156007438 [15:05] zomgbie has joined the channel [15:06] maushu has joined the channel [15:07] maushu: Anyone thought of building a mud in node.js? [15:10] scoates: I started one, but got stuck yak shaving my time machine. [15:10] scoates: zing! (-: [15:10] hansek has joined the channel [15:17] fod has joined the channel [15:18] maushu: ...wat. [15:18] mscdex: So is there a way to add additional constructors to an existing "class" in node? I'm wanting to add an additional one for Buffer within js if I can [15:20] SubStack: you could hack in a Buffer.fromSomeCrazyParams(...) [15:20] Stephen: pkrumins SubStack Just watched the StackVM videos.... So full of win. Nice Octopus [15:20] SubStack: ^_^ [15:20] c4milo: how would be this new constructor ? [15:21] daleharvey has joined the channel [15:22] mscdex: c4milo: want to create a buffer from a number [15:22] mscdex: :-> [15:22] c4milo: how ? [15:23] mscdex: c4milo: by reading in octets of the number [15:24] SubStack: Buffer.fromOctets [15:24] mscdex: heh [15:24] charlieyan has joined the channel [15:25] mscdex: actually... maybe i will just pass in an array of octets since that is supported... [15:25] c4milo: you can create a new Buffer constructor but you must use the Buffer existing constructor from your js constructor [15:25] mscdex: yeah, that's what i was thinking [15:26] SubStack: Buffer.fromOctets = function () { var args = [].slice.call(arguments); var b = new Buffer(args.length); args.forEach(function (arg,i) { b[i] = arg }); return b }; [15:26] jakehow has joined the channel [15:27] c4milo: otherwise you may fork node and write the new constructor in C++ :) [15:27] _announcer: Twitter: "I´m very impressed with the growing of #node.js project... may be the next #web #framework?" -- Javier Juarez. http://twitter.com/thejtoken/status/21157611999 [15:27] SubStack: node> Buffer.fromOctets(97,98,99) [15:27] SubStack: [15:27] mscdex: SubStack: Buffer already has a constructor that takes in an array of octets [15:27] mscdex: :-) [15:28] SubStack: oh well that's even better [15:28] mscdex: hehe [15:28] rnewson has joined the channel [15:28] rnewson has joined the channel [15:29] SubStack: as an aside, I hate it how people use Array.prototype when [] works [15:29] SubStack: so many wasted keystrokes [15:29] jb55: didn't know that [15:29] jb55: neat [15:29] SubStack: ^_^ [15:30] _announcer: Twitter: "@christkv Nice work on Node.js MongoDB native drive http://bit.ly/c5i8BS I really like it. And I'm also impressed! #nodejs #mongodb" -- Ladislav Martincik. http://twitter.com/martincik/status/21157834541 [15:30] _announcer: Twitter: "interate node.js / express with Twitter oauth sample: http://bit.ly/b6MMZI" -- Yohei Sasaki. http://twitter.com/yssk22/status/21157867498 [15:32] mau has joined the channel [15:32] charlieyan has joined the channel [15:32] bentomas has joined the channel [15:35] _announcer: Twitter: "I had a great feedback from my lecture NodeJS and still met the @ renatoelias, who knows the node and can swap good ideas" [pt] -- Emerson Macedo. http://twitter.com/emerleite/status/21158184979 [15:36] _announcer: Twitter: "Wa wa wee wa! Oracle is hire @ryah for rewrite node.js use Java green threads! I am think they sue Joyent next." -- DevOps Borat. http://twitter.com/DEVOPS_BORAT/status/21158312038 [15:38] polotek has joined the channel [15:38] _announcer: Twitter: "Fnando @ @ @ dcrec1 jonas_alves Glad they liked the lecture. Thanks! # # Devinsampa nodejs" [pt] -- Emerson Macedo. http://twitter.com/emerleite/status/21158448816 [15:43] maushu: Hmm, if entities have size, position and material in a mud world... [15:43] maushu: Add IO to each entity, and relationship with other entities. [15:44] robotarmy has joined the channel [15:46] tekky has joined the channel [15:47] feroz_: /join scala [15:48] feroz_: Sorry [15:48] maushu: No thanks. [15:48] SingAlong has joined the channel [15:48] SingAlong: hi all [15:48] SingAlong: http://pastie.org/1092156 how do i print the output of the command? [15:49] SingAlong: I'm trying to print the output of the command pwd after it's run as a child process. [15:51] maushu: SingAlong, the data event doesn't work? [15:51] SingAlong: maushu: nope! [15:52] SingAlong: maushu: updated the pastie with the output [15:53] maushu: Huh, you got the output. [15:53] SingAlong: maushu: ya. but not the output of the pwd command. [15:53] maushu: Of course, you are using the "ps" command. [15:53] SingAlong: maushu: it's supposed to print the current directory right? [15:53] maushu: Tried to change the "ps" to "pwd" up there? [15:53] SingAlong: maushu: oh crap! sorry [15:54] SingAlong: maushu: ya just noticed it lol [15:54] SingAlong: maushu: thanks! [15:55] maushu: No need to thank me. I'm captain obvious. It's my job. [15:55] SubStack: hey now [15:56] SingAlong: :) [15:56] SubStack: maushu does the work that Americans won't do [15:57] SingAlong: I've just started building another package manager for node. I hope dont piss anyone off with a zoden pkg managers already available [15:57] SingAlong: *dozen [15:57] maushu: You're dead meat. [15:57] SingAlong: maushu: haha. i dont know what else I can write with node. No app ideas for now. so building one :) [15:57] maushu: The npm army will show up and rampage your stuff. [15:57] maushu: Build a game. [15:58] Stephen: Already am [15:58] SubStack: write a program that writes package managers [15:58] Stephen: And I tell you what [15:58] SingAlong: maushu: any app ideas? [15:58] SingAlong: SubStack: haha :D [15:58] maushu: Hmm, well, the section regarding games is lacking. [15:59] SingAlong: i have a fancy name so if anyone wants to rename their pkg manager please do so. "Mesh". it sounds good and goes well with "Node" :) [15:59] SubStack: actually it could have just two radio buttons and a generate button [15:59] SubStack: "be awesome" and "suck" [15:59] Stephen: Ooohhh... How far along converting do i have to be before I can list? [15:59] Stephen: Heh [15:59] SingAlong: maushu: if you can give me an idea. i'll start building on it. [15:59] SingAlong: some base idea will do. [15:59] maushu: How old are you? [15:59] SingAlong: 20. [15:59] maushu: Hmm. Too young for muds. [15:59] SingAlong: but most say i'm kiddish [16:00] maushu: Try making a web game or something. [16:00] Stephen: SingAlong: A package manager which requires your peers to vote on a list of repos instead of you choosing. [16:00] maushu: A website to make tiny urls. [16:00] maushu: A file uploader. [16:00] mscdex: mush! [16:00] maushu: Heck, just copy something. xD [16:00] mscdex: moo! [16:00] SingAlong: maushu: I loved the app that mape made. the War Games one. awesome stuff. i've been showing it to people for abt a month [16:00] maushu: Then make an interactive one. [16:01] SubStack: build a radical web framework that fundamentally changes how servers and clients interact [16:01] mscdex: Buffer.prototype.htonl! woo :-D [16:01] Stephen: How about an app which uses localStorage and node-image to combine images stored on multiple user's caches into a file repository only available when they are all signed on to a page [16:01] maushu: mscdex, I want to brainstorm a mud/mush architecture with you. [16:01] SubStack: it's all been sinatra and rails clones in node so far [16:01] SubStack: (unless somebody can point be to something amazing) [16:01] mscdex: maushu: it seems you have the wrong forecast, because i'm in no condition to brainstorm [16:01] mscdex: i'm on a programming roll! [16:01] maushu: ACTION fixes the forecast. [16:02] SingAlong: SubStack: I hate. I love crazy stuff like the WarGamez app that mape made. [16:02] Stephen: mscdex: Double stacked? [16:02] SingAlong: I'm thinking of a DSL. been wanting to make one since ages [16:02] SubStack: SingAlong: what do you hate? [16:02] mscdex: what about a cable? [16:02] mscdex: huhu [16:02] SubStack: I'll just assume you hate everything like me. [16:02] SingAlong: SubStack: the rails app clones that are made in node like you just said. [16:03] SubStack: oh yeah those [16:03] SubStack: but I also hate rails so there's that [16:03] SingAlong: SubStack: no actually :) i like your nick. [16:03] Stephen: Hate is a strong word, it implies effort put into negative thought [16:03] mscdex: that's why i always try to work on unique stuff [16:03] SingAlong: SubStack: rails is awesome for web dev. [16:03] Stephen: I;m lazier than that [16:03] Stephen: Ooohhh..... [16:03] SubStack: shit I should write some code this morning/evening [16:04] SubStack: I was doing that until I got distracted [16:04] mape: There is always time for some code [16:04] SingAlong: SubStack: you can get a simple prototype app up and running in minutes in rails. so get feedback quickly. chuck app and move on or continue developing it. [16:04] polotek: SubStack: what kind of framework do you want to see? [16:04] Stephen: How about a time sync beacon to match a pulse between multiple clients? [16:04] SubStack: polotek: one based around event emitters and persistent connections [16:04] SubStack: also callbacks if it's not too much trouble (and it isn't) [16:05] polotek: SubStack: not following you exactly, all node frameworks are built on those things [16:05] polotek: are you just talking about the api? [16:05] SubStack: yes, what else would I be talking about? [16:05] Stephen: beer [16:05] SubStack: possibly [16:06] SubStack: it feels strange to wake up at 17:30 and have a beer at 23:00 with friends [16:06] SubStack: because 23:00 is my noon [16:06] Stephen: See... the timing pulse could help us all to time our mini-brews to the same moments [16:06] hansek has joined the channel [16:06] Stephen: that way we could all drink the same tasting beer brewed in different rooms all over the world [16:07] bentomas has left the channel [16:07] polotek: SubStack: can you give me an example [16:07] polotek: quick gist? [16:07] polotek: I'm interested in different ideas for frameworks [16:07] SubStack: polotek: this idea is too half-baked for code right now [16:07] Stephen: ACTION --troll=disabled [16:07] polotek: SubStack: nah, we're just talking apio [16:07] polotek: api [16:08] polotek: and looking at code is a good way to bake it some more [16:08] polotek: just an example of how it would be used in your mind [16:08] SingAlong: polotek: like Express? the sencha labs framework [16:08] SubStack: better if I describe it [16:08] _announcer: Twitter: "http://bit.ly/azFI2z written blog! Node.js finally feel ready to make the application." [ja] -- Yohei Sasaki. http://twitter.com/yssk22/status/21160597648 [16:09] polotek: SingAlong: Express isn't by Sencha [16:09] polotek: Connect is the sencha framework [16:09] polotek: Express is an abstraction on top of that [16:09] dnolen has joined the channel [16:09] _announcer: Twitter: "Change(b)log: Getting Started with Node.js: Installation and Resources: http://bit.ly/cR4kRV #nodejs" -- Maciej Zgadzaj. http://twitter.com/maciejzgadzaj/status/21160662585 [16:09] polotek: SubStack: go for it [16:09] SubStack: so anyways, clients {,un}subscribe to server resources which are actually event emitters and emit updates in real-time [16:09] mape: but it is created by the same person working on connect :) [16:09] Stephen: SubStack: What about designing an evented data system which causes data to be pushed to other random systems which parameters are met. [16:09] JimBastard has joined the channel [16:09] Stephen: when^ [16:09] SubStack: and then clients can emit events back to the server and to other clients [16:10] Stephen: A repulsive data store [16:10] _bastardbot has joined the channel [16:10] SingAlong: polotek: http://expressjs.com/ says sencha on top [16:10] SubStack: Stephen: I don't see the utility of pushing data around randomly [16:10] Stephen: Ugh, screw sencha [16:10] SubStack: whycome? [16:10] SingAlong: anyone got access to the Node.js beta by heroku? [16:11] hammerdr has joined the channel [16:11] JimBastard: olowut Stephen [16:11] JimBastard: SingAlong: i did [16:11] Stephen: We use the Ext.JS framework at work [16:11] polotek: SubStack: that's not a "framework". it's a pubsub system [16:11] Stephen: and yes, it's wonderful [16:11] JimBastard: !translate English:Spanish where are the beer and women, i want to party [16:11] _bastardbot: ¿dónde están la cerveza y las mujeres, quiero a la fiesta [16:11] Stephen: But they've dirtied the name of open-source with their License games [16:11] SubStack: polotek: what should a framework do then? [16:11] JimBastard: gracious! [16:12] polotek: SubStack: sorry, not trying to be pedantic [16:12] sudoer has joined the channel [16:12] polotek: but when I say framework I'm thinking web application stack [16:12] SubStack: no, I'm just curious [16:12] JimBastard: these potatoes taste shallow and pednantic [16:12] JimBastard: you dont need web frameworks for node really [16:12] Stephen: Substack: Data shouldn't be pushed around randomly. Data should have events that indicate it should not be stored with other kinds of data [16:12] JimBastard: just lots of pieces [16:13] JimBastard: eventually we can make a nice stack of these pieces [16:13] SubStack: polotek: and web applications should have real-time updates and websocket/long-polling baked in from the start [16:13] JimBastard: but the pieces arent done yet [16:13] polotek: JimBastard: true, but frameworks are nice for getting shit done [16:13] SubStack: I think a pubsub system like this would be pretty nice to those ends [16:13] bronson has joined the channel [16:13] JimBastard: polotek: of course, having a good domain glue is essential [16:13] polotek: SubStack: I don't disagree with that [16:13] JimBastard: but i think starting with the pieces, versus the glue is the right approach [16:13] JimBastard: the pieces should work decoupled before you glue them [16:14] polotek: SubStack: but the niceness of the framework still depends on the framework [16:14] SubStack: circular what [16:14] polotek: I think Connect is an awesome piece of tech. But I don't like how it hides [16:14] Stephen: polotek: I disagree [16:14] polotek: the niceness of the framework still depends on the *API* [16:14] marshall_law has joined the channel [16:14] Stephen: polotek: the framework niceties hinge on proper model inheritance [16:15] polotek: Stephen: that's one part of the api, yes [16:15] mape: polotek: The idea with connect is to be built upon, not be the endpoint? [16:15] polotek: sorry if I'm not being clear [16:15] polotek: mape: yes, which is why it bothers me that there's stuff still hidden [16:15] polotek: well not *hidden* but tucked away [16:15] SubStack: Stephen: screw models, I want transparent persistence [16:16] polotek: you give a list of these middleware filters/providers, which is fine, but you're not really sure how it does what it does [16:16] polotek: that next() function is cryptic [16:16] mape: next passes the req/res? [16:17] polotek: SubStack: you can have that with couch or mongo or whatever [16:17] Stephen: SubStack: Heh, had to look that term up [16:17] polotek: but models are useful for integrating with a domain [16:17] Stephen: SubStack: And you're right. Come to think of it that's why I enjoy using LINQ so much in .Net development [16:18] Stephen: IRL job is M$ hell [16:18] polotek: Stephen: sorry man [16:18] polotek: mape: that question mark is what bothers me :) what does it do exactly? [16:18] polotek: it doesn't take params [16:18] JimBastard: polotek: ive been having qualms about connect a bit lately [16:18] Stephen: But at least we've convinced the entire team to move to MVC.net and Ext.JS (Some Ext.Net for the uninitiated) [16:19] SingAlong: ah i got an idea! i'm going to make an online stickman game :D [16:19] JimBastard: do it SingAlong [16:19] SingAlong: using html5 canvas and node [16:19] JimBastard: if you need hosting let me know i can hook it up [16:19] mape: polotek: I assume it passes req/res, or executes the next function in the middleware array [16:19] SubStack: do a sing-along with