[00:00] isaacs: mikeal: i'm halfway tempted to create a binding to curl.h [00:00] creationix: mikeal: is that normal speed for couch? [00:00] SubStack: hmmm I actually don't like Hash.map very much [00:00] chilts: heh, I'm just playing with Couch too ... got automatic replication working :) [00:00] isaacs: mikeal: if only to get proper https uploading [00:00] mikeal: how many is that per second? [00:00] chilts: ACTION is well happy [00:00] mikeal: like 2500? [00:00] SubStack: it creates a list, which is almost never what I want [00:00] creationix: mikeal: yeah [00:00] mikeal: curl.h actually has some annoying bugs in it [00:00] mikeal: that i wouldn't actually trade for ssl right now [00:00] isaacs: mikeal: it does. [00:01] mikeal: creationix: yeah, that's normal insert perf on a single db [00:01] mikeal: you can push it higher using bulk inserts [00:01] isaacs: mikeal: curl seems to upload with ssl pretty well, though. it'd be a way to avoid sending npm passwords in the clear. [00:01] creationix: cool, so my "driver" can't get much faster then [00:01] SubStack: hmmm perhaps I will add in an awesome hash toolkit into traverse [00:01] pyronicide: okay, next question, is there a way to do package dependencies? eg. i'd like to make package X depend on mikeal's request lib (do I just need to take a look at npm?) [00:01] isaacs: pyronicide: yes. [00:01] isaacs: pyronicide: npm help json [00:02] pyronicide: that's fantastic isaacs, thanks [00:02] isaacs: pyronicide: create a package.json for your program, list "request" as a dependency, and then either bundle into a folder, or "npm link" to install it along with its deps [00:03] ivong has joined the channel [00:03] isaacs: i should really put a better page up at http://npmjs.org/ [00:03] pyronicide: ahhh, just what i was looking for =) [00:04] icozzo has joined the channel [00:05] _announcer: Twitter: "@mikeal Like the article about #nodejs + #couchdb, you should add on the how-to for #cradle: http://github.com/cloudhead/cradle" -- Charlie Robbins. http://twitter.com/indexzero/status/22221154796 [00:05] isaacs: maybe this weekend i'll make a new npm site in express or something and put it on a joyent smart box [00:05] isaacs: npm.no.de [00:05] isaacs: that'd be badass [00:06] c4milo has joined the channel [00:06] _announcer: Twitter: "I have a feeling that "*.no.de" will be the new must-have domain name suffix for #nodejs sites after this weekend." -- Ⓘⓢⓐⓐⓒ. http://twitter.com/izs/status/22221275800 [00:06] c4milo has joined the channel [00:07] c4milo has joined the channel [00:07] pyronicide: isaacs: this is really great, i was just about to ask for another feature and the docs answered my questions [00:07] isaacs: pyronicide: :) [00:07] c4milo1 has joined the channel [00:08] c4milo has joined the channel [00:08] isaacs: pyronicide: that's like when someone asks a question during a talk that's answered on the next slide. [00:08] Tim_Smart has joined the channel [00:08] isaacs: "I'm glad you asked that!" [00:08] pyronicide: yeah, it makes me warm and fuzzy inside when that happens, means people are paying attention and thinking like i do =) [00:08] mikeal: isaacs: where do i get a coupon code [00:09] isaacs: mikeal: joyent [00:09] isaacs: mikeal: i'm not actually an employee yet, i don't have access to that stuff. [00:09] isaacs: mikeal: i got a box hand-made by ryah [00:09] mikeal: are they sending them out to knockout participants [00:09] pyronicide: mikeal: ryah gave out a couple earlier today [00:09] isaacs: mikeal: i think so, yeah. [00:10] mikeal: ryah: can i get a coupon code for no.de? [00:10] SteveDekorte has joined the channel [00:10] eazyigz: I am trying to understand the advantages of node of servers like nginx and apache [00:10] eazyigz: for something like a million requests per day [00:11] mikeal: eazyigz: the biggest difference is not per day, it's the amount of requests you need open concurrently [00:11] eazyigz: is node faster at servicing these requests? Does node scale better? Or is it known to crash under heavy load? [00:11] _announcer: Twitter: "My first #nodejs project. Automating some of the work to parse typical Unix command line options. http://bit.ly/92Dmkx" -- Mikol Graves. http://twitter.com/ambientpunk/status/22221592417 [00:12] creationix: eazyigz: if that million is spread out evenly, then it's only 11 per second [00:12] isaacs: eazyigz: it's certainly easier to crash node than nginx or apache. but that's because you're writing the server yourself. i mean, you could just write bad js ;) [00:12] deepthawt has joined the channel [00:12] Blackguard has joined the channel [00:12] creationix: eazyigz: I'm serving static content with node instead of nginx [00:12] creationix: It's plenty stable and fast for me [00:12] eazyigz: gotcha [00:12] eazyigz: well, there is a big chance I will write bad js and crash node [00:13] isaacs: creationix: are you using sendfile for the files that are cached? [00:13] eazyigz: but that's why we run it in a daemon [00:13] creationix: isaacs: nope [00:13] creationix: just ram buffers [00:13] eazyigz: And when the process terminates, the system will automatically restart it [00:13] isaacs: creationix: oh, ok, that's probably even better, then [00:13] creationix: eazyigz: I use upstart to monitor my server and restart it [00:13] davidwalsh has joined the channel [00:14] ivong has joined the channel [00:14] creationix: eazyigz: http://howtonode.org/deploying-node-with-spark [00:14] creationix has left the channel [00:14] creationix has joined the channel [00:14] creationix has left the channel [00:14] eazyigz: I am deploying a javascript widget to my clients. And thid eidget needs instantaneous response. And that's why I'm estimating about 1mill requests per day [00:15] eazyigz: "that widget" [00:15] eazyigz: so I figured node will be better for this type of thing than the alternatives [00:17] deepthawtz has joined the channel [00:17] plaes has left the channel [00:18] pyronicide: isaacs: found a bug, use the github issues tracker for it? [00:19] isaacs: pyronicide: in npm? sure. but you got me here, got a gist of the log? [00:19] c4milo has joined the channel [00:20] pyronicide: oh, it's really simple, if I use a "*" in dependencies 'npm link' doesn't pull the deps down. If I use an empty string, it works [00:20] pyronicide: lemme gist the package.json [00:20] isaacs: pyronicide: ahh, i see it. [00:20] cloudhead has joined the channel [00:20] isaacs: pyronicide: ok, it'll be fixed soon. in teh meantime, just use an empty string. [00:20] pyronicide: yeah, i'm happy with an empty string, just a mismatch in the docs vs. real world [00:24] creationix has joined the channel [00:25] creationix: mikeal: your node-utils is hard to use outside of npm [00:25] mikeal: which one? [00:25] creationix: I want to bundle it in a submodule, but fall through to npm installed packages [00:25] mikeal: node-utils is really just a repo [00:25] ivong has joined the channel [00:25] creationix: any of it [00:26] mikeal: most of them are a single file [00:26] creationix: if you main.js files were names index.js that would help [00:26] mikeal: just copy the main.js and rename [00:26] creationix: I can't rename if I'm using submodules [00:26] creationix: it's your repo [00:26] mikeal: oh i see [00:26] mikeal: i hate submodules [00:26] mikeal: just copy it [00:26] isaacs: creationix: or you can do "module.export = require("./deps/node-utils/request/main") [00:26] mikeal: then you'll lock in to a version you know works [00:26] isaacs: creationix: and call that file wherever [00:27] mikeal: instead of pulling down the next time i accidentally break master [00:27] creationix: isaacs: ahh, make my own shim [00:27] creationix: good idea [00:27] isaacs: creationix: yeah, i was using shims like that way before npm :) it's better. [00:27] creationix: mikeal: don't worry about that git submodules don't auto-update [00:27] mikeal: they do the first time someone new pulls [00:27] isaacs: mikeal: you can do that with git submodules, too [00:28] mikeal: and then there is a version mismatch [00:28] isaacs: mikeal: they'll get teh rev that is in creationix's repo [00:28] isaacs: mikeal: it's only if you do a pull in the sub, and then commit the new submodule [00:28] creationix: if someone goes into their submodule and pulls a broken version there isn't much I can do [00:29] creationix: isaacs: my only tricky constraint is I want it to work equally well with submodules loaded OR npm installed versions [00:29] creationix: so I usually just put the folder where the submodule would exist in the require paths [00:29] creationix: and then require normally [00:30] creationix: with a shim, the path is hard-coded [00:30] isaacs: creationix: that's actually what npm does, too :) [00:30] isaacs: creationix: you should check out "npm bundle" [00:30] isaacs: creationix: the path is only as hardcoded as your shim makes it :) [00:30] _announcer: Twitter: "I think installing node.js just f**ked my mysql.sock somehow - all fixed now, thanks @benjaminpearson #nodejs" -- Tony Milne. http://twitter.com/tonymilne/status/22222926807 [00:30] creationix: isaacs: oh, the shim has the require.paths stuff in it [00:30] creationix: that works [00:31] isaacs: creationix: you could whatever crazy module lookup logic in the shim you want. or do require( path.join(__dirname, relpath )) [00:31] isaacs: creationix: check out the shims that npm creates. [00:31] noahcampbell has joined the channel [00:34] Aria has joined the channel [00:34] _announcer: Twitter: "I love node.js but I'm really struggling with WebSockets today." -- davemkirk. http://twitter.com/davemkirk/status/22223153344 [00:34] creationix: so this bundle command, it just adds a submodule and creates shims inside your app? [00:35] creationix: isaacs: ^? [00:35] Dmitry has joined the channel [00:35] isaacs: creationix: npm help bundle [00:36] creationix: I've got version 0.1.26 [00:36] creationix: how do I upgrade [00:37] _announcer: Twitter: "@rauchg I just checked your twitter feed, & you talk more about node.js than you do check-ins per your "About Us" page! http://bit.ly/ciB352" -- Audrey Watters. http://twitter.com/audreywatters/status/22223359279 [00:38] maushu has joined the channel [00:40] dannycoates has joined the channel [00:40] SteveDekorte_ has joined the channel [00:43] SteveDekorte has joined the channel [00:43] derferman has joined the channel [00:43] isaacs: pyronicide: found it. it thinks "*" is a tag. [00:43] eazyigz has joined the channel [00:43] isaacs: pyronicide: easy fix. [00:43] pyronicide: awsome! [00:45] vnguyen has joined the channel [00:46] isaacs: pyronicide: http://github.com/isaacs/npm/commit/05a6c59371f1d2ab4819adae139edaa14959d9b0 [00:51] isaacs: pyronicide: from now until the end of node-ko, i'm going to be pushing bugfixes in real time. if you do "npm update" you should get version 0.1.27-1 [00:51] isaacs: which fixes that issue [00:53] _announcer: Twitter: "Well, I had a few minutes and I was going to watch node.js on @peepcode but I guess it can take a few hours to process my order." -- lancefisher. http://twitter.com/lancefisher/status/22224499383 [00:53] c4milo1 has joined the channel [00:54] c4milo1 has joined the channel [00:54] c4milo1 has joined the channel [00:54] deadlyicon has joined the channel [00:56] badaxx: I always have a problem with "too many open files" in node.js. What can be the reason for that? If I open files with fs.open I always close them properly [00:58] pyronicide: isaacs: i'm having problems with 'npm link' on that version [00:59] pyronicide: spitting some output to the console and not actually doing anything [00:59] Tobsn: badaxx, ulimit [00:59] pyronicide: i mucked around in the .npm directory and removed some stuff in there though [00:59] Tobsn: google it [00:59] badaxx: Tobsn: I set it to 8196, that should be enough [00:59] isaacs: pyronicide: what stuff? [00:59] badaxx: Tobsn: so there has to be a bug in my socketserver [00:59] Tobsn: maybe too [01:00] Tobsn: just set it to unlimited [01:00] Tobsn: there is mostly no harm in it [01:00] TangoIII: is there a way to do somthing like exports and require on the client side ? [01:00] Tobsn: node js compile on ubuntu running on a rackspace 256mb node: [01:00] Tobsn: 'build' finished successfully (2m44.519s) [01:00] Tobsn: ;) [01:00] pyronicide: isaacs: http://gist.github.com/552556 [01:01] _announcer: Twitter: "If you want to see how import the letter 'a' is to english go to twitstorm right now: http://bit.ly/ciwmZD/ #nodejs (safari and ff only)" -- Jeff Larson. http://twitter.com/thejefflarson/status/22225017743 [01:01] pyronicide: the directory isn't there, because i removed it, but running npm link again doesn't recreate it [01:01] badaxx: Tobsn: can't do that since vservers are not permitted to set it to unlimited [01:01] isaacs: pyronicide: do npm rm and then try again, maybe? [01:01] Tobsn: oh [01:01] Tobsn: well [01:01] Tobsn: !tweet @thejefflarson its broken. [01:01] Tobsn: :P [01:02] isaacs: pyronicide: or just rm the package folder from the .npm folder, and then re-link it. [01:02] pyronicide: isaacs: that's what i tried [01:03] Yuffster has joined the channel [01:03] pyronicide: link says it's okay, but not actually doing anything [01:03] rklancer has joined the channel [01:03] pyronicide: ahhha [01:03] pyronicide: it's the "*" [01:03] isaacs: pyronicide: ? [01:03] pyronicide: that's breaking it [01:03] badaxx: Tobsn: so what actions in node.js opens files that need to be closed? [01:03] isaacs: wait whut? [01:03] SubStack: there, added my own Hash to traverse for flat hash traversal [01:04] pyronicide: isaacs: http://gist.github.com/552561 [01:04] pyronicide: with that gist, link says it succeeds, but does nothing [01:04] SubStack: Hash({ a : 1, b : 2 }).map(function (v) { return v + 1 }).end // { a : 2, b : 3 } [01:04] creationix: SubStack: cool [01:04] pyronicide: if I take the * out of the htmlparser dependency, it works [01:05] creationix: SubStack: it should give the key as the second argument [01:05] creationix: just in case you need it [01:05] SubStack: it does [01:05] creationix: nice [01:05] creationix: I often want a map like that [01:05] Tobsn: badaxx, none? [01:05] creationix: and sometimes I want it to make an array [01:05] Tobsn: ask isaacs or creationix, they should know such stuff [01:05] badaxx: Tobsn: so it's definitely my fault? [01:05] Tobsn: because your error is pretty weird [01:05] SubStack: also Hash.map({ a : 1, b : 2 }, function (v) { return v + 1 }) does the same thing without chaining [01:05] Tobsn: not sure [01:06] Tobsn: im driving home now ;) [01:06] Tobsn: brb [01:06] isaacs: pyronicide: interesting. it works if you haven't got that installed already. [01:06] creationix: badaxx: you're probably just opening lots of files in parallel [01:06] badaxx: creationix: ping, can you help me out (again)? ;) [01:06] creationix: that's easy to do with node [01:06] SubStack: creationix: you can write a Hash.reduce to make an array with this, but it's not as nice as your Hash.map for that [01:06] badaxx: well no, it should just be about 15 files at the same time [01:06] pyronicide: isaacs: even more interesting [01:06] badaxx: the number of files opened increases like every minute [01:06] nathanhammond has joined the channel [01:07] creationix: badaxx: not sure [01:07] creationix: something must not be getting closed [01:07] creationix: tcp connections, file handles [01:07] creationix: sub processes [01:07] c4milo has joined the channel [01:08] badaxx: creationix: I have to close subprocesses by myself? [01:08] creationix: yep [01:08] creationix: well, I think so [01:08] dannycoates has joined the channel [01:08] creationix: badaxx: you should close child.stdin as soon as you're done sending data [01:09] _announcer: Twitter: "http://wiki.grati.org/index.php?title=NodeJS Chinese students take the NodeJS document a Chinese document wiki" [zh-CN] -- aki. http://twitter.com/aki_xavier/status/22225587530 [01:09] creationix: not sure about the rest [01:09] badaxx: well but process.on 'exit', callback is always called correctly so I think it's doing fine? [01:09] rsms has joined the channel [01:09] creationix: badaxx: actually I never close stdin, I just call end() on it [01:10] badaxx: and does readFileSync automatically close the files? [01:10] creationix: badaxx: that's a good question [01:10] creationix: I wrote that code and I know it had a bug at one point [01:10] jacobolus has joined the channel [01:11] creationix: actually it was the non-sync version I wrote [01:11] creationix: but the sync version seems to be closing the fd [01:11] creationix: unless there is an exception in the while loop [01:12] badaxx: hmm ok [01:13] creationix: ryah: will the dtrace monitor open file handles for us? [01:13] jackowayed has joined the channel [01:13] creationix: badaxx: the os cal tell you what the file handles are open to [01:13] creationix: that should give you a good idea [01:14] stagas has joined the channel [01:14] creationix: lsof or something like that [01:14] pyronicide: creationix: dtrace'll track that for you [01:14] ryah: creationix: ? [01:14] creationix: ryah: I was wondering if dtrace could track open file handles [01:14] pyronicide: creationix: take a look at http://www.brendangregg.com/DTrace/opensnoop [01:15] pyronicide: or, http://www.brendangregg.com/dtrace.html for crazy dtrace kungfu [01:15] isaacs: pyronicide: fixed [01:15] ryah: creationix: it can [01:15] creationix: dtrace sounds almost magical [01:16] pyronicide: creationix: take a look at some of the scripts on that page, it goes from sounding magical to actually being magical =) [01:16] creationix: so how much can dtract track today with node [01:16] creationix: ? [01:16] creationix: I noticed that osx's gui tools can trace lots of v8 calls [01:16] pyronicide: isaacs: works like a charm, thanks [01:19] _announcer: Twitter: "Trying to install Node.js, MongoDB, Hummingbird, V8. I'm definitely getting nerd bonus points tonight." -- Jesse Brown. http://twitter.com/bionicpill/status/22226292594 [01:20] dnm has joined the channel [01:22] badaxx: creationix: ok, seems like my script does not close the mysql connections [01:22] creationix: badaxx: that might do it :) [01:22] eazyigz has joined the channel [01:22] badaxx: creationix: I can close a node-mysql client via .end() right? [01:24] pyronicide: badaxx: silly question perhaps, but why aren't you connection pooling? [01:25] badaxx: pyronicide: never used that and I don't even know how it works *g [01:26] maushu has joined the channel [01:26] davidwalsh has joined the channel [01:26] pyronicide: looks like node-mysql is low enough level that you'd have to roll connection pooling yourself [01:28] SteveDekorte has joined the channel [01:28] gsmcwhirter has joined the channel [01:31] aurynn: yeah, the major DB drivers are still WIP [01:31] samsonjs has joined the channel [01:35] amadeus_ has joined the channel [01:36] amadeus_: I have a make problem, if someone has a quick second. Seems I am it's not working due to: cannot find config.h. I have run ./configure before hand, and all the compilers seem to check out [01:37] mscdex: amadeus_: which version are you trying to make? [01:37] amadeus_: v0.2 [01:37] mscdex: amadeus_: and you're running ./configure from the script that contains the deps, lib, and src directories? [01:37] mscdex: s/script/dir/ [01:38] amadeus_: yes [01:38] mscdex: amadeus_: can you gist the output of ./configure and make? [01:38] amadeus_: sure, one sec [01:39] amadeus_: from ./configure: http://gist.github.com/552606 [01:39] amadeus_: (running Ubuntu 10.4 if that's of any help) [01:40] amadeus_: make: http://gist.github.com/552609 [01:40] mscdex: hrm.. i build on 10.04 also [01:41] amadeus_: would it be worth blowing away my repo, and trying again? [01:41] amadeus_: and just for kicks, the output of ls: AUTHORS ChangeLog LICENSE Makefile README TODO benchmark bin build configure deps doc lib node src test tools wscript [01:41] mscdex: amadeus_: try 'make distclean' first and retry [01:42] maushu has joined the channel [01:42] dylang has joined the channel [01:42] amadeus_: oh you might be onto something, gave me a couple 'permission denied', looks like I have to run it as sudo [01:42] mscdex: hmm you shouldn't have to [01:42] mscdex: :S [01:43] amadeus_: http://gist.github.com/552614 [01:43] amadeus_: that's what the output from distclean was [01:43] mscdex: strange [01:43] amadeus_: i think that did it [01:43] amadeus_: now it's compiling [01:43] mscdex: cool [01:43] amadeus_: awesome, I appreciate it! [01:43] mscdex: np [01:44] brianmario_ has joined the channel [01:45] isaacs has joined the channel [01:46] steadicat has joined the channel [01:47] badaxx: mscdex: what happened when node-mysql throws the error "Stream is not writable"? [01:47] pgriess has joined the channel [01:47] badaxx: I'm pretty sure I didn't disconnect from the server before sending another query [01:48] mscdex: is it the same (type) of query? [01:48] mscdex: that it occurs on? [01:48] badaxx: don't really know where it occurs, it just tells me the traceback inside mysql-node [01:49] badaxx: mscdex: https://gist.github.com/ea641170d3ecec7812d4 [01:53] mscdex: dunno really [01:53] ivong has joined the channel [01:55] amadeus_ has left the channel [01:55] jimmybaker has joined the channel [01:56] _announcer: Twitter: "@tonymilne How did you find the setup of node.js? I'm looking at having a play sometime soon..." -- Damian Keeghan. http://twitter.com/dkeeghan/status/22228940137 [01:58] saikat has joined the channel [01:59] c4milo has joined the channel [02:00] c4milo has joined the channel [02:00] _announcer: Twitter: "I forgot how much fun it is to make new #nodejs apps. Kinda regretting signing up to judge @node_knockout" -- Ⓘⓢⓐⓐⓒ. http://twitter.com/izs/status/22229177409 [02:00] c4milo has joined the channel [02:00] c4milo has joined the channel [02:00] dnolen has joined the channel [02:00] badaxx: can I force node.js to show me more traceback stuff on erros? [02:01] badaxx: *errors [02:01] _announcer: Twitter: "@robconery what is Node.js about. I will give it a shot on Saturday.Will be busy learning new stuff tomorrow on #tekpub. Thanks a bunch guys" -- shdatta. http://twitter.com/shdatta/status/22229247518 [02:01] isaacs: would you guys like an announcer-type bot that posts npm publishes into here [02:01] isaacs: ? [02:01] isaacs: i figure it wouldn't be any noisier than the _announcer bot. [02:01] isaacs: or, could the _announcer be hooked up to a couchdb _changes feed easily? [02:03] pquerna: i guess i should of started learning canvas before tonight right. [02:07] badaxx: ryah: an I force node.js to show me more traceback stuff on erros? [02:07] badaxx: *can [02:08] stagas: isaacs: why don't you just tweet them so announcer can catch it [02:08] tilgovi has joined the channel [02:08] isaacs: stagas: i guess. [02:09] isaacs: stagas: i could set up a listener on the _changes feed and then tweet them. then you could also follow the twitter feed, i gues [02:09] _announcer: Twitter: "much easier because of minor node.js" [ja] -- こば@精神安定済. http://twitter.com/KOBA789/status/22229848520 [02:10] stagas: isaacs: yes this way you get a twitter feed of npm publishes and an irc announcement at the same time [02:11] pyronicide1 has joined the channel [02:11] megan has joined the channel [02:11] mau has joined the channel [02:11] megan: can I make node run like a daemon? [02:11] c4milo has joined the channel [02:11] megan: it starts then quits hogging up the terminal [02:11] megan: like that [02:12] isaacs: megan: my-program & disown [02:12] c4milo has joined the channel [02:12] megan: disown?? [02:12] c4milo has joined the channel [02:12] isaacs: megan: disown unhooks any background jobs from the shell session [02:12] megan: :O [02:12] c4milo has joined the channel [02:12] isaacs: megan: you may want to direct their output somewhere first. [02:12] isaacs: megan: also maybe make a note of the id [02:12] megan: like /dev/null [02:12] isaacs: *pid [02:13] megan: I got the id from $! [02:13] megan: or whatever it's called [02:13] isaacs: megan: right [02:13] megan: I got apache all setup proxying to my node [02:13] megan: and domains [02:13] megan: and... [02:13] isaacs: do-something & id=$! ; echo $id>pidfile ; disown [02:13] drudge: This update addresses issues in Keynote, Pages, and Numbers, and adds export compatibility to Pages with the standard ePub file format (for use with iBooks). [02:13] megan: svn 8) [02:13] pyronicide1: if you're on ubuntu, there's also 'start-stop-daemon' megan [02:13] drudge: woot [02:13] megan: no git! [02:13] isaacs: megan: or you could use something like upstart or monit to keep it running [02:14] megan: you mean it will die? [02:14] isaacs: megan: well, i mean, if you suck, sure. [02:14] stagas: if it crashes [02:14] isaacs: megan: real programmers write code with no bugs ever, though, so i mean.... [02:14] isaacs: megan: you could just do that. [02:14] megan: yeah, I was going to try and figure out how to keep it alive [02:14] dnolen_ has joined the channel [02:14] megan: real programmers write features [02:14] isaacs: haha [02:14] megan: and ship [02:15] isaacs: no, srsly, like, if you restart the box or whatedver, you'll probably want it to start back up [02:15] isaacs: that's what upstart is for [02:15] megan: I made my own init.d thing [02:15] megan: is upstart better? [02:16] pyronicide1: megan: yes [02:16] megan: okay [02:16] megan: so what do I do? [02:16] ajpiano has joined the channel [02:16] visnup: ...so sleepy [02:16] pyronicide1: take a look at the "writing jobs" section in http://upstart.ubuntu.com/getting-started.html [02:17] megan: can it assign portS? :O [02:17] drudge: megan: http://howtonode.org/deploying-node-upstart-monit [02:17] ajpiano has joined the channel [02:17] megan: neat [02:17] megan: I wonder if node is still mega fast when it's through an apache proxy [02:18] megan: I feel like apache is just going to make it slow [02:18] visnup: hah [02:18] megan: for serious :P [02:19] megan: is it normal for wirless to have such a inconsistent ping when you're next to the access point? :P [02:19] megan: something seems fishy [02:20] megan: smells like windows [02:20] Deputaats_: AP is shi.t. Mine was. [02:20] breccan has joined the channel [02:20] mcarter has joined the channel [02:20] megan: started acting that way when I degraded to xp from vista. Somebody please sponsor me a macbook pro :( [02:21] _TS has joined the channel [02:21] meso has joined the channel [02:22] pablort has joined the channel [02:23] c4milo has joined the channel [02:23] c4milo has joined the channel [02:24] c4milo has joined the channel [02:25] c4milo has joined the channel [02:26] badaxx has joined the channel [02:27] megan: this upstart quickstart is kind of confusing [02:28] megan: anybody know how to use it? [02:28] megan: it says: Upstart comes with a set of default jobs which it installs into /etc/init [02:28] danielzilla has joined the channel [02:28] megan: no, that doesn't mean it made a file called init in etc [02:29] megan: cause I don't see one... [02:29] isaacs has joined the channel [02:30] megan: I'm not even sure if I installed upstart since all I did was run configure [02:31] marek_z: wow. node.js is the 3rd google result for "node". techincally even 2nd, after wikipedia [02:32] mscdex: megan: /etc/init is a directory [02:32] megan: init.d is [02:32] megan: I am debian [02:33] c4milo has joined the channel [02:33] mscdex: so is /etc/init once you have upstart installed [02:33] mscdex: ;-) [02:33] megan: I don't think it build [02:33] megan: built* [02:33] megan: it says it wants pkg-config [02:34] mscdex: i've never used upstart on anything besides ubuntu [02:34] megan: configure: error: Package requirements (libnih >= 1.0.2) were not met: [02:34] megan: do you know what libnih is? [02:34] mscdex: https://launchpad.net/libnih [02:35] megan: this thing is so needy :P [02:35] pgriess has joined the channel [02:36] megan: oh gawd, now libnih wants dbus [02:37] pablort_ has joined the channel [02:37] admc has joined the channel [02:38] Dmitry has left the channel [02:38] mattikus has joined the channel [02:40] megan: somebody please stop me from falling out of the dependency tree [02:40] zomgbie has joined the channel [02:40] dannycoates: ACTION is f'ing stoked for knockout tomorrow! [02:41] c4milo has joined the channel [02:42] c4milo has joined the channel [02:42] _announcer: Twitter: "js start studying seriously. node.js and jetpack and talz." [pt] -- Fernando Takai. http://twitter.com/fernando_takai/status/22232120176 [02:43] c4milo has joined the channel [02:44] c4milo has joined the channel [02:44] megan: isaacs are you there? [02:44] megan: :P [02:47] benburkert has joined the channel [02:47] gerad: dannycoates: woo! [02:47] _announcer: Twitter: "node.js: Javascirpt (V8) as the Tsukaemasu REPL. http://t.co/uMPzGL1" [ja] -- ヒデキ(タコ). http://twitter.com/hdknr/status/22232467395 [02:49] dannycoates: gerad: will you be at Joyent? [02:49] gerad: dannycoates: with bells [02:49] dannycoates: solid! [02:53] isaacs has joined the channel [02:53] isaacs: megan: j/k. coffeeshop closing, bbiab. [02:54] megan: Hi isaacs [02:54] c4milo has joined the channel [02:55] c4milo has joined the channel [02:55] _announcer: Twitter: "Video: Node.js: JavaScript on the Server (via GoogleTechTalks) http://tumblr.com/xsmgtui7l" -- Brian Tingle. http://twitter.com/tingletech/status/22232971180 [02:55] dnolen has joined the channel [02:56] c4milo has joined the channel [02:56] c4milo has joined the channel [02:57] c4milo has joined the channel [02:57] newbnode has joined the channel [02:58] andrehjr has joined the channel [02:59] mjr_ has joined the channel [03:01] mr_daniel has joined the channel [03:02] _announcer: Twitter: "Things I learned from my Node.js experiment - Jeff Kreeftmeijer http://goo.gl/2Apk" -- Nedumaran Rajagopal. http://twitter.com/neduma/status/22233448807 [03:02] brianmario_ has joined the channel [03:03] isaacs has joined the channel [03:04] isaacs: megan: what's up? [03:04] megan: I can't install it [03:04] _announcer: Twitter: ""Scala has become the dominant or not depends on the development of tools" if the Scala can not generalize Well, Javascript mainstreaming could be a mystery. I have been in quite a debugger, IDE What have I? . JSDT eclipse of not a level that can be actively in node.js" [ja] -- Yasushi Abe. http://twitter.com/yasushia/status/22233606848 [03:04] megan: upstart [03:04] megan: because I ended up in dependency land [03:05] megan: I don't have libnih because I don't have dbus [03:05] megan: and I don't have dbus because... I dunno [03:05] megan: and I found a libnih-dbus package for debian but it has dependencies too [03:07] _announcer: Twitter: "@jasonh How do I get a coupon for the no.de machines? I'm a Joyeur on a shared server (old txtdrive VCII) but I want to try out node.js" -- Paul Oswald. http://twitter.com/poswald/status/22233822534 [03:11] nathanhammond has joined the channel [03:11] jackowayed has joined the channel [03:11] megan: I think I got it beat? [03:11] _announcer: Twitter: "The Ne @ node.js yasushia IntelliJ shows that expressed support http://devnet.jetbrains.net/thread/289933" [ja] -- Toshihiro Shimizu. http://twitter.com/meso/status/22234079958 [03:12] _announcer: Twitter: "@d2fn just remember all algorithms can be reduced to constant time by implementing them in #node.js" -- Dave Rusek. http://twitter.com/mgodave/status/22234149281 [03:13] bradleymeck has joined the channel [03:14] russell_h: isaacs: http://github.com/isaacs/npm/blob/master/lib/utils/exec.js#L36 <-- if cp1 exits with a non-zero exit code, won't cb fire twice? [03:14] badaxx_ has joined the channel [03:14] megan: nope, nevermind isaacs. I didn't get it working at all [03:15] megan: upstart looks really great... but I can't compile it :P [03:15] isaacs: russell_h: yeah, that should be keeping track of the fact that there was an error, and aborting the second cb early [03:15] bpot has joined the channel [03:16] saikat has joined the channel [03:16] russell_h: isaacs: cool, I was actually right about a perceived bug :) [03:16] jbenesch has joined the channel [03:16] isaacs: russell_h: yeah, that's a good catch. did this actually bite you, or you just noticed it browsing the code? [03:17] russell_h: isaacs: I'm pretty blatantly ripping off what you're doing there (with credit, license, etc) and it didn't look right [03:17] russell_h: I need to extract tarballs [03:17] isaacs: ah, i see :) [03:17] russell_h: you've got a ton of useful stuff in util/ [03:17] russell_h: we already pulled in rm-rf and mkdir-p [03:18] isaacs: russell_h: fixed on 9b3e58228920bdb661d07061fd45a40961547650 [03:18] isaacs: russell_h: yeah, i really am meaning to rip those out into some kind of "common-unix-programs" project. [03:18] russell_h: yeah, that would be handy [03:18] russell_h: http://github.com/cloudkick/cast/blob/master/lib/util/fs.js [03:18] isaacs: russell_h: along with tree [03:19] russell_h: what does tree do? [03:20] isaacs: russell_h: i had a gist of that somewhere around here... [03:20] isaacs: russell_h: but it's like the "tree" program. [03:20] icozzo has joined the channel [03:20] isaacs: it gives you a tree of recursively gotten stat objects. [03:20] russell_h: ahh, gotcha [03:20] isaacs: find.js is handy, too [03:20] isaacs: kinda like the find program. [03:21] russell_h: nice [03:21] zapnap has joined the channel [03:22] russell_h: yeah if you ever ship that stuff separately let me know [03:22] mikeal has joined the channel [03:23] dannycoates_ has joined the channel [03:24] isaacs: russell_h: can't find the old gist, but here's a new one: http://gist.github.com/552721 [03:25] isaacs: i think, with all the crap that npm does, i've probably used the fs module about as much as anyone :) [03:25] isaacs: felixge probably has me beat with transload.it, actually [03:29] bradleymeck: anyone know how to hook vlc's screen capture into justin.tv/ustream etc? [03:29] isaacs: bradleymeck: yeah, i've wondered that myself [03:30] isaacs: bradleymeck: like, i wanna make vlc look like a webcam to flash, it seems like. [03:30] russell_h: isaacs: heh, I've never even seen transload.it, but I can only imagine all the stuff he must do... [03:30] jakemauer has joined the channel [03:30] isaacs: russell_h: yeah, i think the fs stuff is more like, multipart uploading, and then a lot of child process stuff [03:30] _announcer: Twitter: "The node.js @braintree API is in the works, as prep towards our @node_knockout bout this weekend: http://bit.ly/byig99" -- Patrick Schless. http://twitter.com/plainlystated/status/22235362406 [03:31] russell_h: yeah [03:31] bradleymeck: i know i used to do it in mac w/ flower something [03:32] jimmybaker has joined the channel [03:32] saikat has joined the channel [03:33] _announcer: Twitter: "@ Aki_xavier 2:00 this afternoon, we closed beta node.js + redis of a product, website: http://show.kuantu.com invite you to see. PS I sent you the invitation had not registered, test floor, and return if need Login ... (watercress JS Group Sun Chen)" [zh-CN] -- 孙晨. http://twitter.com/jjie/status/22235520164 [03:33] dnolen_ has joined the channel [03:34] _announcer: Twitter: "@konobi really looking forward to trying out no.de hosting. We love node.js @dimerocker" -- Benson Wong. http://twitter.com/mostlygeek/status/22235612536 [03:34] dnolen has joined the channel [03:36] marek_z: what do you guys think is the element that gets people so enthused about node.js, whereas nobody ever got excited about other event-driven systems before? [03:37] mjr_: I think it's because JavaScript has a huge base of programmers already from browserland, and now there's an arms race to make the fastest and bestest JavaScript runtime. [03:37] SubStack: no legacy crap, nice language [03:38] satori_: one word: closures [03:39] SubStack: well plenty of languages have closures but their event systems aren't as good [03:40] satori_: javascript makes it a no brainer [03:41] mscdex: marek_z: i think the main source of energy comes from JimBastard, who gets us all excited about programming in node.js [03:41] overra has joined the channel [03:42] satori_: It's also the right tool for the right time. Node would be less popular recent browser improvments [03:42] satori_: *without [03:42] meso has joined the channel [03:44] jbenesch has joined the channel [03:44] bradleymeck: marek_z lack of legacy, defined types that arent restrictive, combining server/client code, lack of coroutines / continuation style, lack of blocking apis [03:44] bradleymeck: its not what makes ppl excited, its whats missing that makes me excited [03:44] noahcampbell has joined the channel [03:45] bradleymeck: event systems + coroutines make my brain melt [03:46] mscdex: in a good way or a bad way? [03:47] twoism has joined the channel [03:50] jakehow has joined the channel [03:51] bradleymeck: mscdex, very bad, continuation style, very bad [03:51] mscdex: heh [03:52] bradleymeck: http://www.livestream.com/platform/procaster/ <- isaacs, it works! [03:52] isaacs: whoa, nice [03:52] isaacs: thanks :) [03:53] bradleymeck: ruining my bandwidth lol [03:53] isaacs: hehe [03:53] bradleymeck: knockoutrose [03:53] Tim_Smart has joined the channel [03:55] isaacs: hey, someone wanna play with something new? [03:55] isaacs: join #isaacs-testing [03:56] isaacs: and start talking about cats and dogs [03:58] jbenesch has joined the channel [04:01] bradleymeck: http://www.livestream.com/knockoutrose checkout for someone besides me? [04:02] mscdex: bradleymeck: just so you know, you don't show up when searching for knockoutrose on livestream.com [04:03] bradleymeck: i know :D [04:03] bradleymeck: might have to make font bigger too, ugg [04:03] ircretary has joined the channel [04:05] overra has left the channel [04:05] mscdex: lol i like how one of the "related channels" for your stream is a live view of some roadway [04:05] bradleymeck: O-o [04:07] bradleymeck: thats working, now to get my vent back up to the team [04:07] mscdex: eh? [04:07] bradleymeck: i shall see you all in the AM! [04:08] bradleymeck: or PM! [04:08] bradleymeck: going to be trash talking over vent all of knockout [04:08] mscdex: oh ventrilo hah [04:08] bradleymeck has left the channel [04:09] jbenesch has joined the channel [04:11] JimRoepcke has joined the channel [04:11] ivong has joined the channel [04:13] isaacs has left the channel [04:13] _announcer: Twitter: "@pragma_tech express is liquid awesome. Connect is a wonderful middleware. Can't wait for full node.js support on heroku. It's in test now!" -- Leon Gersing. http://twitter.com/rubybuddha/status/22238073629 [04:13] isaacs has joined the channel [04:16] overra has joined the channel [04:18] jbenesch1 has joined the channel [04:19] ircretary has joined the channel [04:19] _announcer: Twitter: "Collected from sortsov node.js (http://nodejs.org) under # Mac OS. Now you can write server-side code and JavaScript. Played with. Amazing! =)))" [ru] -- Iv_. http://twitter.com/Isayev/status/22238484104 [04:21] mattikus has joined the channel [04:21] ircretary has joined the channel [04:21] isaacs: node-supervisor is handy [04:23] ircretary has joined the channel [04:25] MikhX has joined the channel [04:26] benburkert has joined the channel [04:26] ircretary has joined the channel [04:26] vnguyen has joined the channel [04:27] newbnode: Any books for node.js or some good guide [04:28] mscdex: no books yet [04:29] mscdex: mostly because node was evolving so fast [04:29] mscdex: newbnode: is there anything in particular you're looking for? [04:29] ircretary has joined the channel [04:30] SubStack: hooray http://github.com/substack/js-traverse/blob/master/examples/hash.js [04:30] mde: newbnode: You might check out creationix's blog: http://howtonode.org/ [04:30] SubStack: just npm install traverse ^_^ [04:30] SubStack: now back to actual work [04:30] mde: It has tons of helpful stuff on it. [04:30] mscdex: heh... here i was expecting to see md5 in js or something [04:30] ircretary has joined the channel [04:30] mscdex: :p [04:31] SubStack: just everything a good hash (the datastructure kind) should have [04:32] SubStack: map, forEach, filter, reduce, some, update, merge, tap, valuesAt, extract, items, keys, values, clone, copy [04:32] newbnode: nice thanks really very cool [04:34] brianmario_ has joined the channel [04:35] dylang has joined the channel [04:38] MikeSmith has joined the channel [04:40] overra: mscdex: http://phpjs.org/functions/md5:469 [04:40] jbenesch has joined the channel [04:40] mscdex: overra: yes, i know about phpjs [04:40] overra: ok [04:40] mscdex: overra: i was referring to substack's link though :-) [04:41] overra: ah [04:41] blogometer has joined the channel [04:41] isaacs: node knockout is pretty brilliant. regardless how the actual event goes, it's been like this really super effective way to go "Hey, everybody, blog about that cool thing you're building in node." [04:42] blogometer: Anyone tried to get the bits for a number in Javascript, to write to a buffer? [04:42] blogometer: Wondering how to read and write floating points to buffers. [04:43] creationix has joined the channel [04:45] dylang: isaacs: totally! i plan on blogging about the job site for my company i built in node over the last two weeks as practice/prep for knockout. early preview: http://www.opowerjobs.com [04:46] dylang: isaacs: and looking forward to playing with npm bundle. very excited to see that come in. [04:46] isaacs: dylang: neat :) [04:46] _announcer: Twitter: "Looking forward to Node Knockout. Got great feedback from the peeps at Founders Coop/Techstars on our paper prototype. Go Seattle.js" -- Jacques Crocker. http://twitter.com/railsjedi/status/22240053599 [04:47] _announcer: Twitter: "@railsjedi dude I so wish I knew more node.js - not at all confident enough at competing. Good luck!!" -- Brian Hogan. http://twitter.com/bphogan/status/22240095484 [04:49] tango3 has joined the channel [04:50] _announcer: Twitter: "@bphogan hah, yeah same here. I dont know node.js at all :-). I'm just doing the frontend work" -- Jacques Crocker. http://twitter.com/railsjedi/status/22240231777 [04:51] SubStack: blogometer: I've done that! [04:51] blogometer: SubStack: Cool. How? [04:52] blogometer: Using the actual double bits? [04:52] SubStack: http://github.com/substack/node-rfb/blob/master/lib/put.js [04:52] SubStack: oh floating point, that is trickier [04:52] lhardy has joined the channel [04:53] blogometer: SubStack: Yes. [04:53] blogometer: But, you're int fiddling is a nice reference too. [04:53] blogometer: Oh, endianess. Nice. [04:54] SubStack: endianness sucks so hard to keep straight [04:57] blogometer: I'm scribbling on a little packet parser for my b-tree. [04:57] dgathright has joined the channel [04:57] blogometer: dobules probably do not matter. [04:58] blogometer: But, hey. If could do it, it might make the library generally useful. [04:59] benburkert has joined the channel [05:03] jacobolus has joined the channel [05:03] blogometer: Crockford said you could throw any object as an exception, so long as it had three properties. [05:03] blogometer: What were they? [05:04] isaacs: blogometer: um... you can throw anything.... [05:04] blogometer: He was specific about what an exception object was, though. [05:05] isaacs: right.. but... [05:05] isaacs: you can throw anything...? [05:05] isaacs: maybe he meant its not good to? [05:06] isaacs: cuz throwing anything but a new Error("something") is kinda lame. [05:06] isaacs: imo [05:06] isaacs: although, 'throw "debug"' is a nice quick poor-man's breakpoint [05:06] isaacs: throw 1 [05:06] isaacs: etc [05:07] blogometer: He said there was a choice of exceptions and that you could just throw an object. [05:08] ircretary has joined the channel [05:08] blogometer: That if it has three properties, forgot what, that it was going to be ... [05:08] blogometer: I'll use Error and rewatch the Yahoo! presentation. [05:09] blogometer: Maybe he said it just to psyche me out. [05:09] _announcer: Twitter: "@webspinnerinc , meet @izs . He created npm which is the package manager for node.js You should follow him cuz he's brainy like that" -- screwlewse. http://twitter.com/screwlewse/status/22241306989 [05:10] _announcer: Twitter: "Yesterday and colleagues chat service based on nodejs side development, he is not optimistic on the grounds that ssjs Although there are many advantages, but showed no change in the ecological environment change in the power of the server, even if a number of success stories is not enough to illustrate the problem." [zh-CN] -- finscn. http://twitter.com/finscn/status/22241362492 [05:10] isaacs: blogometer: hey, do me a favor: type 'ircretary: messages' [05:10] jsilver has joined the channel [05:11] blogometer: ircretary: messages [05:11] isaacs: did it work? [05:14] amuck has joined the channel [05:14] isaacs: blogometer: did it work? [05:14] blogometer: What am I looking for? (Sory.) [05:15] blogometer: ircretry: messages [05:15] blogometer: ircretary: messages [05:15] ircretary has joined the channel [05:15] isaacs: blogometer: it didn't [05:15] isaacs: thanks [05:15] blogometer: ircretary: messages [05:15] blogometer: Okay. Sorry. [05:16] mjr_: blogometer: did you figure out how to pack floats? [05:16] blogometer: Or, if you're hacking on some IRC bot, good luck. [05:16] inimino: blogometer ⋱ `message` and `name` are the standard properties. [05:16] blogometer: mjr_: No. [05:16] blogometer: inimino: Thank you. [05:16] blogometer: I knew I heard that somewhere. [05:16] inimino: (toString is probably pretty important too) [05:17] blogometer: Ah, well, then probably best to just use Error. [05:17] blogometer: mjr_: Building a packet parser. [05:18] isaacs_home has joined the channel [05:18] inimino: I'd say if it has message, name, and does something other than "[Object]" on .toString(), you should be fine. [05:21] mjr_: blogometer: for what kind of packets? [05:22] blogometer: For reading bindary data from buffers. [05:22] blogometer: And writing to buffers. [05:22] blogometer: n16n32[4]n8/n8 [05:23] blogometer: That would be 16 bit integer, array of four 32 bit integers, 8 bit count of 8 bit values. [05:24] blogometer: Inspired by Perl pack/unpack with the intent of making it easy to specify b-tree record types. [05:24] mjr_: cool [05:26] isaacs: ircretary: when was mjr_ last here? [05:26] ircretary: isaacs: mjr_ was last seen at 2010-08-27T05:24:56.465Z, saying cool [05:26] blogometer: Ah, cool. Well I'm hoping I can get a PostreSQL or MySQL implementor to take interest, because that would be another operation. [05:26] isaacs: ircretary: what was inimino last up to? [05:26] ircretary: isaacs: inimino was last seen at 2010-08-27T05:18:39.307Z, saying I'd say if it has message, name, and does something other than "[Object]" on .toString(), you should be fine. [05:26] saikat has joined the channel [05:26] mjr_: Did felixge write his own pack/unpacker? [05:27] mjr_: ircretary: could you bring me a gin and tonic, and cancel my eight o'clock. [05:27] ircretary: mjr_: I'm not sure what to do with that command. Ask for help in PM and I'll tell you what I can do. [05:27] blogometer: ircretary: when was felixge last here? [05:27] ircretary: blogometer: when what now? [05:27] isaacs: ircretary: where is mjr_? [05:27] ircretary: isaacs: mjr_ was last seen at 2010-08-27T05:27:14.728Z, saying ircretary: could you bring me a gin and tonic, and cancel my eight o'clock. [05:27] inimino: ircretary ⋱ what was isaacs last up to? [05:27] ircretary: inimino: isaacs was last seen at 2010-08-27T05:27:20.819Z, saying ircretary: where is mjr_? [05:27] isaacs: it's aparlor trick. [05:27] blogometer: mjr_: Yes. He has a packet parser. [05:27] isaacs: what, when, or where + (words) + nick + (more words) ==> !seen [05:27] inimino: Oh, MikeSmith is hanging out here now, cool. [05:28] blogometer: I read through it. It gave me a feel for what would be generally useful. [05:28] mjr_: ircretary: what was mjr last up to? [05:28] ircretary: mjr_: when what now? [05:28] isaacs: ircretary: tell mjr_ that he's not the boss of you. [05:28] ircretary: isaacs: I'll be sure to tell mjr_ [05:28] isaacs: you can leave ircretary messages for any of the admins, or admins can leave messages for anyone [05:28] mjr_: ircretary: don't tell HR I said this, but I really like it when you wear your hair that way. [05:28] ircretary: mjr_: Sorry, I don't work for hr. [05:29] mjr_: awesome [05:29] isaacs: mjr_: you can do "ircretary: messages" to get your messages. [05:29] isaacs: mjr_: or you can do: ircretary: got any messages for me, hon? [05:30] isaacs: ircretary: got any messages for me, hon? [05:30] mjr_: ircretary: unknown [05:30] ircretary: mjr_: I'm not sure what to do with that command. Ask for help in PM and I'll tell you what I can do. [05:30] mjr_: But ircretary, you PMed and told me that "unknown" was a command. [05:31] mjr_: Well, that was fun [05:31] isaacs: mjr_: unknown is the command that it runs if there aren't any other commands. imma make that not enumerable. [05:31] blogometer: ircretary: when did you see felixge? [05:31] ircretary: blogometer: when what now? [05:32] blogometer: ircretary: when did you last see felixge? [05:32] ircretary: blogometer: when what now? [05:32] mjr_: isaacs: did you write this little bot? [05:32] blogometer: ircretary: where is felixge? [05:32] ircretary: blogometer: when what now? [05:32] isaacs: blogometer: ircretary's never seen felixge [05:33] blogometer: Duh. [05:33] joshbuddy has joined the channel [05:33] inimino: ircretary ⋱ tell isaacs anybody should be able to leave messages for anybody. [05:33] ircretary: inimino: I'll be sure to tell isaacs [05:34] blogometer: ACTION Asks too many questions. [05:34] blogometer: ircretary: messages [05:34] ircretary: blogometer: I don't have any messages for you. [05:34] isaacs: inimino: yeah, that's an idea, sure. [05:35] isaacs: inimino: just playing around with this thing. [05:35] inimino: that is how lambdabot works, I haven't seen it be abused. [05:35] blogometer: Good night. [05:35] blogometer has left the channel [05:35] isaacs: inimino: sure, why not [05:36] isaacs: inimino: though, "i don't work for hr" is pretty awesome. [05:36] inimino: Of course, lambdabot and JimBastard aren't in any of the same channels. ^_^ [05:36] isaacs: ircretary: tell hr they can suck it [05:36] ircretary: isaacs: I'll be sure to tell hr [05:36] isaacs: and that ^ [05:36] inimino: ^_^ [05:36] isaacs: ircretary: no, don't tell them that [05:36] ircretary: isaacs: I'll be sure to tell them [05:36] isaacs: ircretary: NooOOOOoooOO!!!! [05:36] ircretary: isaacs: I'm not sure what to do with that command. Ask for help in PM and I'll tell you what I can do. [05:37] inimino: lol [05:37] isaacs: ACTION is easily emused [05:39] mjr_: isaacs: you mean "I don't work for hr" wasn't just you PM-relaying text? [05:39] isaacs: mjr_: nope [05:39] ironfroggy_ has joined the channel [05:39] mjr_: You have a PM relay though, right? [05:39] isaacs: mjr_: that was a bona fide error message [05:39] isaacs: mjr_: i've got it relaying stuff to my console, but ircretary is 100% js [05:39] mjr_: That makes for a hilarious good time. [05:40] isaacs: and it reloads the brains.js any time i change it [05:40] mjr_: I used to maintain an IRC bot in perl like forever ago. [05:41] _announcer: Twitter: "Clean up my client for CouchDB # nodejs and published the altitude http://github.com/creationix/couch-client - Go # nodeknockout!" [pl] -- Tim Caswell. http://twitter.com/creationix/status/22242932779 [05:41] AAA_awright: Anyone use memcached with Nodejs? [05:41] creationix: isaacs: I put another package on npm, I'm not sure what's come over me [05:42] inimino: npmania? [05:42] derferman has joined the channel [05:42] creationix: I think Joyen't node hosting has convinced me that Ivy style deployment isn't the way anymore [05:43] isaacs: creationix: heh :) [05:43] isaacs: creationix: yeah. what we need now is git deploy with a package.json instead of a server.js [05:43] creationix: both npm and git submodules work great with joyent style deployment [05:43] creationix: that could be cool [05:44] mjr_: so do the SmartMachines come with npm? [05:44] mjr_: Or does everybody have to install that? [05:44] creationix: they have to install it [05:44] creationix: I just installed my three dependencies manually for creationix.no.de [05:45] isaacs: mjr_: you have to install it yourself [05:47] Knew: isaacs: http://www.zombo.com/ is an AWESOME startup. But what do they sell? [05:51] SubStack: um what the FUCK [05:51] SubStack: npm is rewriting my source files [05:51] SubStack: // generated by npm, please don't touch! [05:51] isaacs: SubStack: huh? [05:51] SubStack: >_< [05:52] isaacs: SubStack: that's over one of your own files in your package dir? [05:52] SubStack: yes [05:52] isaacs: SubStack: what's your package.json? that's definitely not supposed to ever happne. [05:52] SamuraiJack has joined the channel [05:52] SubStack: all of them in fact [05:52] isaacs: !? [05:52] isaacs: code, please? [05:52] isaacs: also, what command did you run? [05:53] SubStack: it's the same as this: http://github.com/substack/dnode/blob/master/package.json [05:53] Knew: isaacs: http://www.zombo.com/ Don't forget it [05:53] SubStack: well I upgraded npm today [05:53] hober: Knew: please, it's 2010. you should be using http://www.html5zombo.com/ [05:53] SubStack: and node [05:53] Knew: The unattainable is possible at Zombo COm [05:53] isaacs: SubStack: ok. [05:53] SubStack: I just now noticed that this was the case [05:53] SubStack: issued a lot of commands [05:53] isaacs: SubStack: ok... [05:54] isaacs: SubStack: i would like nothing more than to reproduce this. [05:54] SubStack: I'm sure [05:54] inimino: $ history | mail isaacs [05:54] isaacs: because afaict, what you just described is impossible. [05:55] SubStack: npm link, npm publish [05:55] brianmario_ has joined the channel [05:55] SubStack: history doesn't go back further [05:55] SubStack: shit I type a lot of commands [05:56] isaacs: SubStack: so... hm. [05:56] isaacs: SubStack: you don't use link, did you use bundle? [05:56] isaacs: i mean, you don't have a "link" field in your package.json [05:56] SubStack: nope [05:56] SubStack: should I? [05:56] isaacs: nope [05:56] isaacs: but that could cause it to write inside your pkg dir [05:57] isaacs: SubStack: are you perhaps developing directly inside the npm "root" config dir? [05:57] isaacs: SubStack: or have stuff symlinked in there by hand that you then installed with npm? [05:58] SubStack: I have removed symlinks from there when npm failed in the past [05:58] SubStack: don't think I ever added one [05:58] isaacs: hmmm.... (that's much less of an issue, btw, since failed installs get rolled back now) [05:59] _announcer: Twitter: "@konobi How committed is Joyent to original JS PaaS? It seems more interested in Node nowadays. Trying to make decision to use it or not." -- Jeremiah Lee Cohick. http://twitter.com/JeremiahLee/status/22243828208 [05:59] SubStack: ok so [06:00] SubStack: I can git clone my repo [06:00] SubStack: then npm link [06:00] isaacs: and that does it? [06:00] SubStack: yep [06:00] isaacs: repo, plz? [06:00] SubStack: git://github.com/substack/dnode.git [06:00] isaacs: and the code folder is *outside* the npm root folder, right? [06:00] SubStack: probably it's my install that's screwy [06:01] SubStack: yes, npm root is /home/substack/prefix/lib/node, dnode project dir is /home/substack/projects/dnode [06:02] isaacs: SubStack: can you gist "npm config ls"? [06:02] isaacs: SubStack: also, gist what that file actually says, and which file it is [06:02] SubStack: http://gist.github.com/552886 [06:03] SubStack: which file? [06:03] SubStack: oh [06:03] isaacs: SubStack: the one that npm touched [06:03] beawesomeinstead has joined the channel [06:03] SubStack: http://gist.github.com/552887 [06:04] isaacs: SubStack: and what's the filename of that file? [06:04] SubStack: that's ~/projects/dnode/lib/dnode.js [06:04] SubStack: but all the js files in ~/projects/dnode/lib say that [06:04] isaacs: SubStack: what os? [06:04] SubStack: debian [06:05] isaacs: SubStack: ls -laF $(npm config get root)/dnode* [06:05] jacquesc has joined the channel [06:05] SubStack: ls: /home/substack/prefix/lib/node/dnode: No such file or directory [06:06] isaacs: ok wtf [06:06] dnolen has joined the channel [06:07] SubStack: oh but when I do that by hand it works [06:07] SubStack: must be a newline screwing it up [06:08] isaacs: oh, ok [06:08] isaacs: anyway, does that show a symlink? [06:08] SubStack: anyways, there are more of those generated files in /home/substack/prefix/lib/node/dnode-0.2.1-1-LINK-8df40755 [06:09] jamescarr_ has joined the channel [06:09] SubStack: yes there is a symlink to that ^ directory [06:09] isaacs: npm rm dnode [06:09] SubStack: done [06:09] jamescarr_: dnode [06:09] isaacs: now link, and it should not do the bad thing [06:09] javajunky has joined the channel [06:09] isaacs: i see the problem. [06:10] SubStack: works! [06:11] SubStack: pretty sure I tried npm rm dnode before at some point [06:11] SubStack: must've been some other action screwed it up again [06:11] isaacs: SubStack: what you had was an outdated lib dir symlink. [06:11] isaacs: SubStack: yet another reason why that was a terrible *terrible* idea. [06:11] isaacs: really profoundly bad software decisions never seem to stop being fucking annoying. [06:12] SubStack: outdated links, yikes [06:13] isaacs: SubStack: just fixed in npm. now it'll just fail in that case. [06:13] _announcer: Twitter: "If you use the nodejs, it can dramatically improve / increase / enhance the B / S system _______! If the air does not fill a satisfactory answer, it is difficult to convince people to use nodejs. nodejs the benefits of the current system is often not the focus. ssjs long way to go ah." [zh-CN] -- finscn. http://twitter.com/finscn/status/22244518818 [06:14] SubStack: ACTION pulls [06:14] isaacs: SubStack: or "npm update npm" [06:14] SubStack: oh neat [06:15] SubStack: npm ok [06:15] SubStack: isaacs++ for the fix [06:15] isaacs: np [06:15] isaacs: that's a bad error! [06:15] isaacs: sorry about that! [06:16] _announcer: Twitter: "I have almost finished writing my article on a new sample script using server node.js:) # javascript" [fr] -- Vincent RABAH. http://twitter.com/itwars/status/22244640229 [06:17] tyfighter has joined the channel [06:19] shift- has joined the channel [06:20] benburkert has joined the channel [06:23] jhelwig has joined the channel [06:24] confoocious has joined the channel [06:29] tango3 has joined the channel [06:30] jamescarr_ has joined the channel [06:31] v8bot has joined the channel [06:32] MikeSmith has joined the channel [06:32] MikeSmith: basic question.. how in Node do I cause something to be logged to the console? [06:34] eisd has joined the channel [06:34] eisd has left the channel [06:34] MikeSmith: nm [06:35] MikeSmith: ACTION discovers that console.log works pretty much like it does on client side [06:35] MikeSmith: nice [06:36] MikeSmith: hmm .. "sys.p will be removed in future versions of Node. Use sys.puts(sys.inspect()) instead" [06:36] SubStack: use conosle.log(sys.inspect()) instead actually [06:36] mostlygeek has joined the channel [06:36] SubStack: also there's sys.print for output without the trailing newline [06:37] MikeSmith: SubStack: I see -- thanks [06:39] mattikus has joined the channel [06:40] aconran_ has joined the channel [06:41] _announcer: Twitter: "node.js なお 話 と WebSocket # rubykaigi" [et] -- takkaw. http://twitter.com/takkaw/status/22245802887 [06:43] crohr has joined the channel [06:46] _announcer: Twitter: "@zambonini V Cool. Just get that written up in node.js and I'll have a lot of use for it. I was going to build a @fflick" -- ironyboy. http://twitter.com/ironyboy/status/22246034428 [06:46] dilvie has joined the channel [06:46] _announcer: Twitter: "#nodejs authors: don't put make in a package.json "scripts" field if npm will do it for you. (eg, for installing man pages)" -- Ⓘⓢⓐⓐⓒ. http://twitter.com/izs/status/22246059233 [06:47] Blink7 has joined the channel [06:47] _announcer: Twitter: "@ironyboy Yeah, fo' sho'. Node.js is another of those 'really cool things that looks very important that I must get around to using soon'." -- Dan Zambonini. http://twitter.com/zambonini/status/22246096237 [06:52] _announcer: Twitter: "node.js" -- 弘洋. http://twitter.com/hironen/status/22246316479 [06:54] jetienne has joined the channel [07:07] _announcer: Twitter: ".@creationix: This is my solution to the node.js refactoring http://tinyurl.com/3357p9z" -- Fabian Jakobs. http://twitter.com/fjakobs/status/22246971977 [07:07] SamNZ has joined the channel [07:10] shreekavi has joined the channel [07:11] peol has joined the channel [07:12] Dmitry has joined the channel [07:13] _announcer: Twitter: "I need to find a code muse. I really want to try making something with node.js but I have absolutely no ideas. #nodejs" -- mxavier. http://twitter.com/mxavier/status/22247215491 [07:14] nsm has joined the channel [07:15] nsm: hi, for joyent, what is the root password for the smartmachine? [07:15] nsm: or if i'm to use sudo, what is the password for 'node', i never received any email containing these [07:20] ph^ has joined the channel [07:29] satori_ has joined the channel [07:31] Frans-Willem has joined the channel [07:33] mAritz has joined the channel [07:36] dilvie: nsm: I didn't know we could get root access to the machines. =) [07:37] dilvie: nsm: That's handy. [07:37] nsm: well i'm not sure if we *can*, but since its a VPS, we *should*, especially to edit configuration fiels [07:37] nsm: files* [07:37] jhelwig has joined the channel [07:38] dilvie: nsm: You can log in and see the initial registration welcome message again.. see if there's a link to some documentation... [07:38] nsm: none afair [07:39] breccan has joined the channel [07:39] dilvie: um. [07:39] dilvie: crap. [07:40] dilvie: my smartmachine vanished. [07:40] johndahlstrom has joined the channel [07:41] nsm: one more thing, is there any way to auto-push to joyent when pushed to github? [07:41] nsm: or will i have to push to joyent every once in a while [07:41] delapouite has joined the channel [07:42] dilvie: You will need a coupon code to get your node smartmachine. <-- this is what I see now instead of the details of my SmartMachine [07:42] dilvie: wtf happened? [07:42] nsm: dilvie: check your email for the code [07:42] dilvie: I got my original code via IRC. [07:43] dilvie: I didn't think I'd need to remember the code once it was provisioned. [07:43] dilvie: grrr [07:44] dilvie: my ssh key is still there [07:44] dilvie: so it didn't lose everything... [07:44] tobiassjosten has joined the channel [07:44] dilvie: just the smartmachine [07:44] jacobolu_ has joined the channel [07:45] johndahlstrom has joined the channel [07:47] dilvie: wow [07:47] dilvie: I might get kicked by the server. [07:47] dilvie: I made the mistake of trying to /list the channels. =) [07:47] dilvie: hehe [07:50] micheil has joined the channel [07:53] ircretary has joined the channel [07:54] deadlyicon has joined the channel [07:54] teemow has joined the channel [07:56] ircretary has joined the channel [07:58] isaacs: neat. [07:59] peol has joined the channel [07:59] micheil: morning isaacs [07:59] isaacs: morning, micheil [07:59] virtuo has joined the channel [08:02] Neil has joined the channel [08:02] ircretary has joined the channel [08:02] SubStack: beh submodules are hard [08:02] aliem has joined the channel [08:02] isaacs: so, as long as it stays up, you can use ircretary to leave messages for people [08:03] isaacs: ircretary: tell micheil hi [08:03] ircretary: isaacs: I'll be sure to tell micheil [08:03] micheil: lolwut? [08:03] isaacs: micheil: leave the room and rejoin [08:03] micheil has left the channel [08:03] isaacs: micheil: you'll see [08:03] micheil has joined the channel [08:04] micheil: right back atcha. [08:04] isaacs: ircretary: where is SubStack? [08:04] ircretary: isaacs: when what now? [08:04] _announcer: Twitter: "node.js — much easier to install than before. Time to play again. (Well... should do the work/work I've got to do first)." -- David Lowry. http://twitter.com/djlowry/status/22249437852 [08:04] isaacs: oh, guess that confused her... [08:04] isaacs: ircretary: when did you last see micheil ? [08:04] ircretary: isaacs: micheil was last seen at 2010-08-27T08:04:22.701Z, in #Node.jssaying right back atcha. [08:04] micheil: :/ [08:06] isaacs: let's see if disown works on solaris and lets you log out... [08:08] isaacs: nope [08:08] isaacs: it stays around, but not functional [08:09] ircretary has joined the channel [08:12] Frans-Willem has joined the channel [08:13] shreekavi has left the channel [08:15] mape: Hmm with all the booze at the knockout, will there be any working code pushed? :P [08:16] micheil: who's at the Knockout HQ tomorrow? [08:17] MikhX_ has joined the channel [08:18] sveimac: Can anyone pinpoint me what this error means Assertion failed: (b[1] == 0), function DecodeWrite, file ../src/node.cc, line 889. [08:21] hellp has joined the channel [08:22] isaacs has joined the channel [08:22] isaacs has left the channel [08:25] pdelgallego has joined the channel [08:26] jetienne: not me :( gumble physical location [08:28] badaxx has joined the channel [08:31] caolanm has joined the channel [08:33] david has joined the channel [08:34] tpryme has joined the channel [08:35] bpot has joined the channel [08:35] MikeSmith has joined the channel [08:36] russell_h: are there any circumstances under which a child process should not emit an 'exit' event upon exit? [08:37] dipser has joined the channel [08:43] MikeSmith: russell_h: wild guess: if it replaces itself? [08:43] MikeSmith: disclaimer: that's not based on me having half a clue about anything [08:43] SubStack: ACTION tries that [08:43] russell_h: hmmm [08:44] SubStack: nope, works [08:44] SubStack: var perl = require('child_process').spawn("perl -e'sleep 1; exec q/python/'"); perl.on('exit', function () { console.log('caught exit') }) [08:45] russell_h: I'm running runsvdir (part of runit) with child_process.spawn, and it doesn't always emit an exit [08:46] russell_h: but I have a timeout that sends it a TERM, and by the time that fires the process supposedly doesn't exist [08:46] russell_h: er, so to be clear, I send runsvdir a HUP then set the timeout to send it a TERM [08:48] Noya has joined the channel [08:49] markwubben has joined the channel [08:51] m-m has left the channel [08:51] russell_h: hmmm [08:52] javajunky has joined the channel [08:52] russell_h: I need to look at this more, but something about the way stderr/stdout are handled doesn't look right [08:54] MattJ has joined the channel [08:55] xla has joined the channel [08:58] Noya has joined the channel [08:59] _announcer: Twitter: "Hoping someone's implementing threading support for Node.js over the weekend. Oh wait, you can't! V8 is single process!" -- Mathias Meyer. http://twitter.com/roidrage/status/22251791059 [09:01] jetienne: thread are hard to debug [09:02] cloudhead has joined the channel [09:03] caolanm: really don't get why people get so hung-up on this threading thing [09:03] caolanm: go write C! [09:03] caolanm: I *really* don't want to mess with threads in my JS [09:05] SubStack: likewise [09:05] SubStack: reasoning about concurrent execution is hard [09:05] SubStack: even when you have purity constraints [09:05] SubStack: even with you have stm [09:06] Frans-Willem: If you really need to occupy more processors, just launch multiple node processes and do some message passing [09:06] badaxx has joined the channel [09:07] SubStack: the stupid green thread scheduler can starve your thread grumble grumble [09:09] ker2x has joined the channel [09:10] Noya has joined the channel [09:13] digitalspaghetti: is there a zmq implementation for node to do message passing> [09:13] SubStack: yes [09:14] SubStack: http://github.com/JustinTulloss/zeromq.node [09:16] SubStack: but of course if it's message passing you need, there's dnode too ^_^ [09:18] Frans-Willem: Or IPCNode, for that matter :p [09:18] SamuraiJack has joined the channel [09:18] sideshowcoder has joined the channel [09:20] sideshowcoder has joined the channel [09:28] badaxx has joined the channel [09:34] Frans-Willem: Hmmm [09:34] Frans-Willem: there's an error in the Node.js docs [09:34] Frans-Willem: docs state [09:34] Frans-Willem: stream.writEable [09:34] Frans-Willem: net uses [09:34] Frans-Willem: stream.writable [09:37] maushu has joined the channel [09:41] SamuraiJack has joined the channel [09:45] b_erb has joined the channel [09:45] b_erb: do you know if there's a SVG version of the node.js logo available? [09:48] mape: b_erb: Don't believe there is [09:53] badaxx: hey,can I force node to give me a longer stack trace? [09:57] Akufen has joined the channel [09:57] Akufen has joined the channel [10:01] _announcer: Twitter: "I'm not related to ruby pusher (node.js + websocket) is interesting. I want to try." [ja] -- genta kaneyama. http://twitter.com/PENGUINANA_/status/22254650265 [10:04] stalled has joined the channel [10:05] _announcer: Twitter: "Having a lot of fun with nodejs at the moment" -- Jack Gardner. http://twitter.com/mookalook/status/22254875273 [10:08] Frans-Willem: w00000t, my postgres module now supports nested transactions :D [10:12] lstoll has joined the channel [10:14] micheil: b_erb: we should mention it to ryah [10:16] Frans-Willem: w000t, COPY IN support too :) [10:16] mape: micheil: The original thread where it was given is somewhere in the google group thingy [10:16] MrTopf has joined the channel [10:16] micheil: k [10:16] mape: From what I remember he only supplied a png [10:16] mape: Been looking for a better version myself [10:19] Alex-SF has joined the channel [10:19] alecmuffett has joined the channel [10:21] b_erb: mape: hopefully he still has the sources for it [10:21] mape: b_erb: Don't think I've heard for the person again [10:21] mape: Or seen him active [10:28] ctp has joined the channel [10:31] stagas has joined the channel [10:31] _announcer: Twitter: "@konstantinhaase Looking forward to it. Then I can consider Node.js as something really useful." -- Mathias Meyer. http://twitter.com/roidrage/status/22256124920 [10:32] d0k has joined the channel [10:33] sonnym has joined the channel [10:35] aubergine has joined the channel [10:49] hellp has joined the channel [10:50] rnewson has joined the channel [10:51] maushu: ACTION does a little jig. [10:52] micheil: see everyone in the morning for KO. [10:52] micheil: (night chaps') [10:54] maushu: It's day. [10:57] stagas: I still have no idea what to do for ko [11:00] tahu1 has joined the channel [11:00] tahu has joined the channel [11:03] ryah: hi [11:05] aurynn: Frans-Willem, nested transactions? [11:08] Nohryb has joined the channel [11:10] b_erb: ryah: there is no svg / vector version of the node.js logo? [11:10] Egbert9e9 has joined the channel [11:15] ryah: b_erb: hm [11:15] ryah: let me look [11:17] ryah: http://s3.amazonaws.com/four.livejournal/20100827/nodejslogo.png [11:17] saikat has joined the channel [11:18] badaxx: ryah: the first one is the current one, right? [11:19] ryah: yeah, i guess. i didn't make it [11:21] b_erb: too bad there is no scalable version of it. i mean, scalability, that's what it's all about in node.js *cough* [11:21] ryah: yeah [11:21] ryah: it can probably be turned in to a vector graphic rather easily [11:22] b_erb: has the original creator granted you the rights for it? [11:25] Frans-Willem: aurynn: Still there ? [11:25] aurynn: yes [11:25] Frans-Willem: aurynn: Basically transations inside transactions :p [11:26] Frans-Willem: aurynn: I'm using the transactions to block any other queries to be sent on the wire when a COPY-IN is being sent [11:26] aurynn: Ahh [11:26] Frans-Willem: aurynn: So to allow COPY-IN to be part of a transaction, transactions had to be nestable [11:26] Frans-Willem: http://github.com/Frans-Willem/node-PostgresClient/ [11:26] Frans-Willem: There's a section on the transactions in the readme now :) [11:26] Frans-Willem: The last bit under the Transactions header explains with an example [11:28] aurynn: Ah, neat. [11:28] aurynn: I was going to implement something similar [11:29] Frans-Willem: :) [11:29] Frans-Willem: Only thing I have to do now is upon a protocol/socket error gracefully calling all callbacks with an error [11:30] Frans-Willem: But that should be trivial :) [11:30] aurynn: as long as your transactional logic enforces BEGIN and COMMIT/ROLLBACK. :) [11:30] Frans-Willem: Actually, that's left for the user [11:31] Frans-Willem: The only thing my transactions promise is that no queries not part of that transaction will be sent during that transaction [11:31] _announcer: Twitter: "Men who stare at Shell output. # # Debugging nodejs" [de] -- Sascha Gehlich. http://twitter.com/rattazong/status/22259206751 [11:32] aurynn: akay [11:32] Nohryb: ryan: dime que hablas español. Quién más habla español aquí ? [11:32] Frans-Willem: so you'd do: var tr=db.startTransaction(); db.simpleQuery("BEGIN;",tr,...); db.simpleQuery("SELECT 1;",tr,...); db.simpleQuery("END;",tr,...); db.endTransaction(tr); [11:32] aurynn: your methods are definitely not how I do them :) [11:32] Frans-Willem: I think I might want to re-name them, because they're not technically transactions :p [11:33] aurynn: But I'm actively trying to follow along the DBI spec from Perl [11:33] Frans-Willem: It'll just ensure that the queries that are part of that transaction are never interspersed with other queries :) [11:34] Frans-Willem: Ooooh, I didn't know about that :) [11:34] webr3 has joined the channel [11:34] aubergine has joined the channel [11:35] aurynn: anyway, it is very late here, and I -> bed() [11:35] Frans-Willem: g'night :) [11:41] nsm has joined the channel [11:49] paulwe has joined the channel [11:49] Frans-Willem: Ooooh, Node-Knockout starting in 12 hours :) [11:49] larsvegas has joined the channel [11:50] mape: Guess there is going to be quite a lot of code written during the knockout [11:50] Frans-Willem: Hope some [11:50] Frans-Willem: pretty happy that my postgres client is in a pretty damned usable state now :) [11:50] Frans-Willem: means maybe people at node knockout might use it :p [11:52] c4milo has joined the channel [11:57] mclowe has joined the channel [11:58] gerad has joined the channel [11:59] eazyigz has joined the channel [12:00] _announcer: Twitter: "I do not think that is probably related node.js interesting. Extensive documentation in English or reading" [ja] -- Masatomo Nakano. http://twitter.com/masatomon/status/22260855181 [12:03] _announcer: Twitter: "@ I__Ray that should be installed, but not iskaropki:) even if prescribed that js now starts at node, by default it nezapuskaemy ..." [ru] -- enchantner. http://twitter.com/enchantner/status/22261058255 [12:05] ithinkihaveacat has joined the channel [12:05] _announcer: Twitter: "Friday! Today begins the @ node_knockout, want to see the projects of the guys ... Umeboshi Fireteam will meet in St. Charles # # nodejs anxiety" [pt] -- Fabricio Zuardi. http://twitter.com/fczuardi/status/22261184973 [12:10] b_erb has left the channel [12:11] daleharvey has joined the channel [12:11] _announcer: Twitter: "Thanks for the mention @bluesmoon. I'm working on a backend w/ #nodejs & #mongodb which I'll open source." -- Dan DeFelippi. http://twitter.com/ExpertDan/status/22261487109 [12:11] eazyigz has joined the channel [12:13] _announcer: Twitter: "Pumped up for #nodeKO. Going to prep by spending today working on a #nodejs backend for boomerang." -- Dan DeFelippi. http://twitter.com/ExpertDan/status/22261637081 [12:13] Egbert9e9 has joined the channel [12:16] sveimac has joined the channel [12:27] pgriess has joined the channel [12:28] aubergine has joined the channel [12:32] okuryu has joined the channel [12:37] rklancer has joined the channel [12:38] zemanel has joined the channel [12:38] zemanel: hi [12:38] zemanel: last call for 2 spots left on my team [12:40] ker2x: nodejs is gaining a lot of popularity in the little sysadmin world :) [12:40] ker2x: nodejs is the new perl [12:40] Frans-Willem: zemanel: From where are you participating ? [12:40] zemanel: home [12:40] zemanel: didnt got enough sponsors to go to sf [12:41] Frans-Willem: Ah [12:41] zemanel: im sad :( [12:41] Frans-Willem: Ah, nvm, just remember I can't anyway, got friends coming over this weekend [12:41] _announcer: Twitter: "Tomorrow I will attend the @ node_knockout in San Carlos, with Umeboshi Fireteam! \ 0 / # # nodejs nodeko" [pt] -- Daniel Quirino. http://twitter.com/dqo/status/22263367965 [12:41] zemanel: coding > friends [12:41] Frans-Willem: Heh :p [12:41] Frans-Willem: Not really [12:42] Frans-Willem: Coming over from another country :p [12:42] Frans-Willem: so can't really cancel that on this short notice ;) [12:42] Frans-Willem: btw, isn't there a sattelite location near you or anything ? http://nodeknockout.com/locations [12:42] zemanel: i aint got time to bleed or friends [12:42] ryah: zemanel: tweet that you're looking for spots, i'll retweet it [12:42] zemanel: i have a team, with free spots [12:42] ryah: ACTION has lots of node followers on twitter [12:42] ryah: yeah, sorry - that's what i meant [12:43] ryah: ACTION is bad with english :) [12:43] zemanel: ryah, http://twitter.com/zemanel/status/22263252438 [12:43] Frans-Willem: ryah: Any tips on how to promote my new PostgreSQL module so it stands a chance of being used at node knockout :p? [12:43] gerad: Frans-Willem: blog post on the nodeknockout blog! [12:43] ryah: Frans-Willem: where it is? [12:44] Frans-Willem: ryah: http://github.com/Frans-Willem/node-PostgresClient [12:44] ryah: gerad: are you awake already? [12:44] gerad: ryah: good morning [12:44] Frans-Willem: ryah: Still working on the readme, though :) [12:44] gerad: ryah: yeah, why the heck are you up? [12:44] ryah: Frans-Willem: you should put it on npm [12:45] Frans-Willem: ryah: I will, once the readme is finished :) [12:45] gerad: ryah: excited, having trouble sleeping... have to do some manual stuff, so figured I'd do it now while it's peaceful [12:45] ryah: gerad: had trouble sleeping [12:46] gerad: Frans-Willem: if you guest author a countdown to knockout blog post (can be in markdown), we'll post it: email all@nodeknockout.com [12:46] gerad: ryah: yeah, I think my body has forgotten how to sleep [12:46] zemanel: Frans-Willem, link to source? i love pg [12:46] Frans-Willem: gerard: Time frame ? [12:46] Frans-Willem: zemanel: http://github.com/Frans-Willem/node-PostgresClient/ [12:46] zemanel: nice [12:46] ryah: Frans-Willem: you should copy the dependencies into your source tree [12:47] nsm: how do I reset my joyent git repo so that it is *empty* before the KO? [12:47] gerad: Frans-Willem: node knockout starts at in 11 hours, before then [12:47] Frans-Willem: zemanel: and if that one doesn't suit your taste, there's also http://github.com/aurynn/postgres-js and http://github.com/creationix/postgres-js [12:47] ryah: Frans-Willem: but don't do git submodule, it's so annoying :) [12:47] Frans-Willem: ryah: Hmmm, but isn't that what NPM is for ? [12:47] gerad: nsm: add it as a remote on your empty nodeknockout github repo [12:47] gerad: nsm: then git push -f [12:48] ryah: Frans-Willem: eh [12:48] gerad: nsm: but DON'T DO THAT until Knockout starts [12:48] ryah: Frans-Willem: what if strtok changes its api? [12:48] nsm: gerad: oh, why not, its empty [12:48] Frans-Willem: ryah: I'm fairly sure that with npm you can define which version of strtok you need... [12:48] mape: So who is doing a page for real time #nodeKO tweets? [12:48] nsm: what do i do about some sample code i pushed to test joyent? [12:49] dylang has joined the channel [12:49] gerad: nsm: I guess it's cool.. basically, we're going to check your github log to make sure that there were no commits prior to knockout start [12:49] ryah: Frans-Willem: i don't know [12:49] Astro: mape: I could [12:49] Astro: mape: I've got the software ready [12:49] ryah: it never hurts to have your dependencies there [12:49] gerad: nsm: so... the less you do in there before knockout start, the better [12:49] Ysinopsis has joined the channel [12:49] mape: Astro: Think it would be neat [12:49] gerad: mape: agree [12:50] gerad: Astro: agree [12:50] Astro: okay [12:50] Frans-Willem: ryah: Hmmm, yeah, but then how do you require() the dependencies? require("./deps/strtok/strtok.js") or require("strtok"); (e.g. direct, or npm installed) [12:50] mape: perhaps make it iframeable then gerad could put it on the nodeKO page? [12:50] gerad: Astro: yeah [12:50] mape: Or well, dynamic so it scales with window size [12:50] gerad: Astro: why don't I just give you commit access on the website [12:51] nsm: gerad: but what about existing code? [12:51] mw__ has joined the channel [12:51] gerad: nsm: I don't understand the question [12:51] gerad: Astro: we wanted to get to it, but we haven't had time [12:51] nsm: gerad: i pushed some older code (not related to KO) to test out the joyent platform, how do I *remove* that from the repo, so that the repo is clean for KO purposes [12:52] gerad: Astro: we also plan on pushing in real time github commits from the organization github feed, and we're getting messages for all deploys [12:52] Astro: sorry, my script just uses superfeedr [12:52] Astro: so you've got to use PSHB :) [12:53] Astro: let me just set it up first [12:53] gerad: nsm: so, when you do git push -f joyent master from your clean GitHub repository, it will overwrite what's already in the joyent repository [12:54] gerad: Astro: yeah, I wasn't suggesting you do all of that [12:54] nsm: oh ok [12:54] mape: You can do it! [12:54] gerad: basically, we'd love that sort of thing to exist [12:54] gerad: we'd love help on it [12:55] gerad: and we'd love for it to be the front page of the website during the competition [12:55] gerad: and we'll have time to work on it during the competition [12:55] gerad: but it'd be nice to have something up there as the competition is getting started [12:55] gerad: mape: so if you or Astro are doing work, we'd love to find a way to build on that [12:56] gerad: nsm: does that make sense? [12:56] nsm: gerad: yes, when i make the initial commit i push with -f and everything is overwritten [12:56] gerad: nsm: exactly [12:57] gerad: Astro: but if it doesn't it workout that way, that's cool too [12:57] Astro: I'll just setup my little aggregator backed by my superfeedr account [12:57] Astro: this: http://github.com/astro/superradar [12:58] drudge: node knockout ftw [12:59] dylang has joined the channel [12:59] kriszyp has joined the channel [12:59] gerad: mape: FYI, I'm writing a blog post about your Vote KO! button today, and will link to it in the final details newsletter (best practices section) [12:59] gerad: mape: btw, feeling better? [12:59] dnolen has joined the channel [13:04] mape: gerad: throat is worse, head is better [13:04] mape: hopefully I won't use my throat ;) [13:05] gerad: mape: :-(... hopefully you can get in a pre-KO nap [13:05] mape: yup [13:07] siculars has joined the channel [13:07] _announcer: Twitter: "Node Knockout tomorrow. Kind of prepared. Have been rereading JS: the good parts, great book. Last good sleep for a couple of days now." -- Breccan McLeod-Lundy. http://twitter.com/Breccan/status/22265111030 [13:07] zum_: zemanel: any ideas on what you're going to hack on? [13:08] zemanel: zum, yes [13:09] zemanel: one of two: a twitter client with a twist or a geolocation chat [13:09] gerad: Astro: does GH support PSHB? 'cause that'd be cool if it does [13:09] zemanel: 1h before the contest i'll throw a coin [13:09] davidsklar has joined the channel [13:11] Frans-Willem: zemanel: Did you check out my Postgres client yet :p? [13:11] jherdman has joined the channel [13:11] zemanel: Frans-Willem, i followed you on github [13:11] zemanel: i'll only used it if he coin is tails [13:12] Astro: gerad: I doubt that [13:17] Frans-Willem: isaacs: You there? [13:18] Frans-Willem: Ah, nvm [13:20] CIA-77: node: 03Ryan Dahl 07master * re8b3751 10/ wscript : [13:20] CIA-77: node: Only check for execinfo lib in freebsd [13:20] CIA-77: node: OpenEmbedded doesn't like it when you look in /usr/lib - http://bit.ly/bQ439b [13:21] felixge has joined the channel [13:21] felixge has joined the channel [13:22] ryah: we need to build the node executable packages [13:22] drudge: which ones [13:23] larsvegas has joined the channel [13:23] zapnap has joined the channel [13:26] rkieffer has joined the channel [13:28] ryah: i want it so you can package up node with some javascript [13:28] ryah: and addons [13:28] ryah: into one executable [13:29] drudge: ryah: like platypus on mac? [13:29] ryah: i dont know about that [13:29] ker2x: i'm still willing ot understand why node use 650MB of VIRT mem. eny idea ? [13:29] ker2x: any* [13:29] ryah: ker2x: what's it doing? [13:30] _announcer: Twitter: "JavaScript / Node.JS - form the resulting document, used ... http://bit.ly/do7RL7" [ru] -- Виталий Кулёв. http://twitter.com/frumatic_ru/status/22266688901 [13:30] ryah: loading a 650 mb file into memory? :) [13:30] ker2x: nope [13:30] ker2x: dgram, node-mongo-native [13:30] ker2x: and some regexp [13:30] ker2x: it use around 20MB of real memory [13:31] ker2x: and trage_gc report ~5MB [13:31] ker2x: trace* [13:31] ker2x: i'm upgrading to 0.2.0 right now [13:32] maushu: ker2x: Still the same problem? What the heck are you doing mate. [13:33] ker2x: i'd love to know :) [13:33] maushu: ryah: The packaging would be totally awesome... [13:33] maushu: I wonder how it would work. [13:33] ryah: you'd need to specify which js files [13:33] ryah: then we'd compile them in [13:34] ryah: like i do with http.js [13:34] ryah: set one of them as the main file [13:34] ryah: we could have a nodec program [13:34] ryah: which made a new node executable [13:34] ryah: nodec a.js b.js main.js [13:34] mscdex: what about packaging .node addons? [13:34] mscdex: :> [13:35] ryah: those could be statically linked in [13:35] ryah: we'd change node to be a static library [13:35] mscdex: is there an easy way to do that though? [13:35] ryah: and make a little int main() function [13:35] ryah: sure [13:35] ryah: 1 week of work [13:35] ryah: a weekend even [13:36] maushu: That is awesome. [13:37] maushu: Then we make a gui library like shoes and BANG desktop javascript applications. [13:37] ker2x: maushu , ryah : http://pastebin.com/iXwpr9kM [13:38] maushu: ker2x: Thats *all* you are doing? [13:38] stagas has joined the channel [13:38] Frans-Willem: ryah: pwetty please do a windows version first ? [13:38] ker2x: maushu: this is a test program [13:38] ker2x: and yes [13:38] ker2x: that's all [13:38] ker2x: my full program is much bigger but doesn't use much more memory [13:39] mscdex: is using a tcp server any different? [13:39] ker2x: i never tried [13:40] maushu: Have you tried removing line by line till you find what is making the memory rise? [13:41] ker2x: that's what i did. and i finished with this 3 ligne program :) [13:41] ker2x: lines* [13:41] maritz_ has joined the channel [13:41] mscdex: process.on('doublerainbow', ... ); [13:41] caolanm: ryah: really like the packaging idea, +1 ! [13:42] ker2x: maushu: i removed dram and used net (tcp), same memory usage [13:42] lorennorman has joined the channel [13:42] ker2x: i know it's just virt memory and all... but why oO [13:43] matt_c has joined the channel [13:44] trotter has joined the channel [13:46] _announcer: Twitter: "Almost ready to push my #nodeknockout practice project to Github. It will become the new @OPOWER recruiting site. #nodejs" -- Dylan Greene. http://twitter.com/dylang/status/22267876861 [13:46] dylang: heh, wow that is fast. [13:46] matt_c: dylang: streaming API frtw. [13:46] matt_c: er ftw even. [13:46] matt_c: twitter-node is pretty fantastic to work with too [13:47] dylang: matt_c: i plan on adding twitter support to the site. wasn't sure which twitter lib to use. [13:47] _announcer: Twitter: "By the way ... have any other Brazilian team in the parade? I saw the ninja galvez @ + @ + @ cwahlers rafacv there ... anyone else? # # Nodejs nodeko" [pt] -- Fabricio Zuardi. http://twitter.com/fczuardi/status/22267987175 [13:47] matt_c: dylang: I played with it the other day and was impressed: http://gist.github.com/549532 [13:48] stagas has joined the channel [13:48] _announcer: Twitter: "Interesting presentation by Ryan Dahl on NodeJS http://is.gd/eGIgi" -- Sigtryggur. http://twitter.com/sigtryggur/status/22268036390 [13:49] _announcer: Twitter: "@ MarcpearsonTI Growth Python .. node.js also with server side javascript will position .. What language will lose the way? ruby?" [fr] -- Patrice Girard. http://twitter.com/PatriceGirard/status/22268149854 [13:50] maushu: I made some performance checks between node running as normal and node running with --debug [13:50] _announcer: Twitter: "Rest-mongo can now run on node v0.2.0. http://bit.ly/9kTsmD #nodejs #mongodb #nosql" -- Ori A Pekelman. http://twitter.com/OriPekelman/status/22268221133 [13:51] lorennorman: so who do i have to suck up to to get another team registered for Node Knockout? [13:51] gerad: lorennorman: me [13:51] lorennorman: gerad: :) [13:51] maushu: Without any client connected the difference between node and node --debug is negligible. [13:51] gerad: lorennorman: and you'd owe me major, major karma :-) [13:51] maushu: With a client it's around 17.57% slower. [13:51] gerad: lorennorman: it's a giant pain, but I'm doing it for a handful of people right now [13:51] lorennorman: gerad: oh crap, dunno how much karma i have to spare anymore! [13:51] gerad: lorennorman: can you email all@nodeknockout.com [13:52] lorennorman: gerad: ok cool, thanks! [13:52] Nohryb has joined the channel [13:52] davidwalsh has joined the channel [13:53] eazyigz: if I need to call a php script from node, the best way to do it is with .exec()? [13:54] Frans-Willem: eazyigz: What are you trying to do now ? [13:54] gerad: lorennorman: for each team member we need: email address and github username [13:55] eazyigz: we have a php script that extracts text from a DOM. Being that I was not able to accomplish this feat with the jsdom project, I want to use a php script that does that. [13:56] eazyigz: so is .exec() the best way to do it from node? [13:56] Frans-Willem: In that case I highly suggest just sticking with PHP [13:56] Frans-Willem: no use making a frankenstein monster with PHP and Node [13:56] Astro: gerad: http://ko.codetu.be/ [13:57] eazyigz: Frans-Willem: I thought node can handle thousands of concurrent transactions. Can php running on apache do that? [13:57] gf3 has joined the channel [13:57] gerad: Astro: http://img.skitch.com/20100827-kfhfmwiaesik8jc7cj6in3se1t.png [13:57] gerad: Astro: -( [13:57] eazyigz: because if you are correct, then I don't see a point in using node at all. [13:57] eazyigz: but I'm hoping that you are not correct :) [13:57] _announcer: Twitter: "@kurokikaze you are keeping along with those node.js fun projects? they are having AI now?)" -- Serge. http://twitter.com/nf_x/status/22268767211 [13:58] eazyigz: that way I can leverage node's amazing nonblocking asynch io performance [13:58] Frans-Willem: eazyigz: Node can handle thousands of concurrent transactions, but if your OS won't be able to handle thousands of concurrent .exec's, so if you're launching PHP, you're pretty much losing any edge that Node.js has [13:58] jetienne has joined the channel [13:58] ker2x: true :) [13:58] Astro: gerad: I cannot reproduce this, "Cannot HEAD /"? [13:59] gerad: just clicked on it again [13:59] wink_: easyigz: how complicated/dynamic is the dom you're trying to parse? [13:59] eazyigz: Frans-Willem: we will leverage memcached. So I won't spin up thousands of execs [13:59] gerad: working now! [13:59] gerad: Astro: looks good now [13:59] wink_: ker2x: i've still not found that bug :< [13:59] ker2x: wink_: in the meantime, i switched to the native driver, but i found some problem here too [13:59] wink_: ker2x: although i spoke with the mongo folk, they're integrated libev support into the c driver, once that comes online i'll rebind it [13:59] wink_: integrating* [14:00] eazyigz: wink_: if you look at arc90's readability.js you will get an idea of how complicated the process of extracting article text is [14:00] bradleymeck has joined the channel [14:00] ker2x: wink_: cool :) [14:00] steadicat has joined the channel [14:00] Frans-Willem: eazyigz: Did you try to do var jsdom=require("jsdom"); var doc=jsdom.jsdom(1); doc.innerHTML="whatever you're trying to parse"; sys.puts(sys.inspect(doc.childNodes)); [14:00] gerad: Astro: exciting to see it live [14:00] eazyigz: unfortunately there is nothing on the serverside that will let me execute javascript in a dom context, and be as fast as v8 [14:01] eazyigz: but php is pretty good at traversing the dom, so... [14:01] wink_: ker2x: what'd you find wrong in the native driver? [14:01] Frans-Willem: eazyigz: V8 doesnt do DOM, you'd be talking about Chrome. [14:01] Astro: gerad: long AJAX polling in there [14:01] ker2x: wink_: the connection.state is still "connected" when the mongodb server die [14:01] ben_alman has joined the channel [14:01] eazyigz: Frans-Willem: how would that bit of code let me execute javascript in a dom context? [14:01] _announcer: Twitter: "We're building a ranked feed of #nodejs - would like your feedback - http://www.startupweekly.com/hashtag/show/nodejs.html - thanks!" -- Startup Weekly. http://twitter.com/startupweeklies/status/22269085892 [14:02] wink_: ker2x: well thats lame :P, one sec [14:02] bradleymeck: anyone got a way to get port 843 on the joyent machines? [14:02] pquerna_ has joined the channel [14:02] adelcamb1e has joined the channel [14:02] Frans-Willem: eazyigz: It doesn't, and it won't, and I'm pretty sure PHP won't execute Javascript in the DOM either. [14:02] eazyigz: Frans-Willem: like Martin Luther K, I have a dream that someday we will be able to use v8 on the server to traverse the dom [14:02] wink_: bradleymeck: is bind failing due to lack of root? [14:03] Frans-Willem: eazyigz: You won't, V8 is a Javascript implementation, not a web browser. [14:03] Frans-Willem: Javascript != DOM [14:03] eazyigz: Frans-Willem: our php script does a comparable job to readability.js [14:03] bradleymeck: wink_ seems that way [14:04] wink_: bradleymeck: can you set up any iptables rules? :) [14:04] ceej has joined the channel [14:04] bradleymeck: ACTION goes off to check [14:04] eazyigz: Frans-Willem: javascript can only be executed in a DOM if its on the client side [14:04] eazyigz: well, I'm wrong [14:04] eazyigz: env.js tried to port that with Rhino [14:04] eazyigz: but it is far from impressive [14:04] wink_: wait, joyent is on solaris right? [14:05] bradleymeck: yes, of which i know nothing [14:05] davin has joined the channel [14:05] wink_: bradleymeck: looks like the magic is 'ipfilter' [14:05] wink_: ipf, ipfstat [14:07] wink_: surely there was a technical reason for the choice of solaris, i wonder what it was [14:07] freeall has joined the channel [14:07] femtoo has joined the channel [14:08] davin: does anyone have a link to an irc server source code written in nodejs? [14:08] wink_: ker2x: it looks like it might close if you issue another query after it dies [14:08] _announcer: Twitter: "Have one to arranging accommodations for # nodejs interesting. And the # heroku nothing to release my beta access # fail" [pt] -- Emerson Macedo. http://twitter.com/emerleite/status/22269634931 [14:09] Astro: wink_: zones? [14:09] nerdEd has joined the channel [14:09] bradleymeck: davin ircd by ryan? [14:09] bmavity has joined the channel [14:09] wink_: Astro: yeah maybe [14:10] daleharvey has joined the channel [14:10] lorennorman: so is anyone doing anything intense with websockets? [14:10] Ysinopsis: davin: http://github.com/ry/node_chat [14:10] Deputaats has joined the channel [14:10] lorennorman: i'm trying to decide where to host, heroku looks not good for websockets [14:10] eazyigz: lorennorman: I have used hookbox for websocket comm [14:10] eazyigz: it is written in python though [14:11] lorennorman: eazyigz: are you pounding on the socket? i want to send data over it a few dozen times per second [14:11] davin: bradleymeck is that the same project that Ysinopsis just sent? [14:11] dannycoates has joined the channel [14:11] bradleymeck: socket.io is great for fallbacks, but joyent is really trying to keep me from getting port 843 [14:11] davin: Ysinopsis, cheers! [14:11] bradleymeck: davin, no [14:11] davin: thoguht not [14:11] bmavity: are there any tutorials anywhere for installing node on mac and enabling ssh? i have been installing using homebrew, but i need to be able to publish to npm [14:11] davin: do you have a link to ryan's ircd? [14:12] bradleymeck: not off top my head [14:12] cardona507 has joined the channel [14:12] eazyigz: lorennorman: I do streaming. Not several times per second, but every 3 seconds [14:12] davin: cause its not in the apps list on the wiki [14:12] bradleymeck: lorennorman i have pounded it pretty hard and it seemed fine in chrome, havent stressed out a flash websocket [14:13] pquerna_ has joined the channel [14:13] jamescarr_: marak? [14:13] bradleymeck: jimbastard? [14:13] ker2x: wink_: i'll try [14:13] lorennorman: bradleymeck: that's running Node on Joyent with a flash websocket? [14:14] mscdex: davin: http://github.com/ry/web_ircd/blob/master/ircd.js ? [14:14] bradleymeck: huh, i cant get flash websocket policy file hosting onto joyent, so no [14:14] wattz: GOod morning [14:14] wink_: bradleymeck: any luck on ipf? [14:14] bradleymeck: mornin wattz [14:14] mscdex: bradleymeck: serve it over the http port then [14:14] bradleymeck: wink_ still reading [14:15] bradleymeck: 3 second delay for attempt on the http port connection seems a bit gruff, i wont spend too long, but want to avoid that [14:15] mscdex: meh it's not that bad [14:16] mscdex: it's not that bad of a tradeoff for not having to run the script as root [14:16] davin: mscdex, brilliant. thanks! thats the second time youve come to my assistance in the last few days... [14:16] _announcer: Twitter: "Starting to look at #nodejs - very interesting. Not sure how well javascript will appeal to me, but I'm gonna give it a shot." -- Sean Brandt. http://twitter.com/sfuzzymagic/status/22270247998 [14:16] softdrink has joined the channel [14:17] wink_: ker2x: ouch, i think i see whats wrong, it's using net.createConnection to build the connection but the 'end' event only fires if the server sends a FIN [14:17] mscdex: does !tweet work yet? [14:17] wink_: in the case of a crash, i dont think a fin will arrive [14:17] wink_: especially if the system goes down [14:18] mscdex: wink_: 'close' will always fire [14:18] hsuh has joined the channel [14:18] wink_: mscdex: cool [14:18] wink_: ker2x: add a listener to 'close' on the connection, that should notify you that shit has gone south [14:19] okuryu has joined the channel [14:20] ker2x: i tried :( [14:20] ker2x: Mmm, i'll try again, probably this weekend [14:20] ker2x: i had to focus on other stuff [14:21] ker2x: Mmmm, "The number of people predicting the end of the moore's law double every 2 years" [14:23] hsuh: is there a channel specially for nodeko ? [14:23] gerad: hsuh: no, we figured we'd just use #node.js [14:23] gerad: hsuh: may overwhelm the channel, but almost everybody in here is involved in nodeko in some way or another [14:24] hsuh: are there going to be a lot of game entries in the nodeko? any reason that writing a game could be a bad idea?... :) [14:24] gerad: hsuh: probably lots of games, and personally, I think lots of games would be awesome :-) [14:25] sonnym has joined the channel [14:25] ker2x: and... what is nodeko ? [14:25] hsuh: good... because i thought games could score low on usefullness criteria.. [14:25] figital has joined the channel [14:25] hsuh: ker2x: nodeknockout.com/ [14:25] ker2x: thx [14:25] gerad: hsuh: we're actually going to rephrase that criteria a bit [14:26] gerad: hsuh: but haven't gotten to it quite yet, same general idea, but make sure that people know that something useful for entertainment is still useful [14:26] hsuh: nice :) [14:26] gerad: we'll probably rename it to utility [14:27] gerad: hsuh: also ryah likes games http://twitter.com/ryah/status/15264567335 [14:27] cloudhead has joined the channel [14:27] hsuh: gerad: \o/ [14:27] rkieffer has joined the channel [14:29] maushu: ryah likes games? Hmmm. Most of the code would be on client side. [14:29] mscdex: MULTIPLAYER PACMAN! [14:29] mscdex: do it [14:29] mscdex: :-D [14:30] gerad: mscdex: we did multi-player asteroids for rails rumble last year [14:30] maushu: ...how would that work? [14:30] mscdex: maushu: multiple pacmen with more ghosts and different boards [14:30] hsuh: i looked at the top entries on rails rumbles and there were no games :( [14:30] gerad: mscdex: at the time it was novel, now it seems passé.. how much can change in a year [14:30] gerad: hsuh: we won innovation [14:30] maushu: mscdex: infinite board? [14:31] mscdex: maushu: nowai [14:31] sveimac has joined the channel [14:31] maushu: Is that a "nowai, thats horrible", or a "nowai, thats so awesome!" ? [14:31] overra: awesome [14:32] mscdex: that's nowai as in "nowai, having limited sized boards is bettar" [14:32] maushu: Why? [14:32] maushu: MMOPM. [14:32] mscdex: because that's what would make it challenging [14:32] gerad: hsuh: also, rails is not well suited for games, we had to basically do a giant hack to get lazeroids working... node should be more conducive to games, and less conducive to some of the things that rails is good at [14:32] maushu: Massive-Multiplayer Online Pac-Man. [14:32] SamuraiJack has joined the channel [14:32] gerad: hsuh: like forms [14:32] hsuh: gerad: true [14:32] mscdex: MMOPM == massively multiplayer online package manager [14:32] pkrumins: 8hrs 30mins! [14:32] ThePub has joined the channel [14:33] mscdex: MMOPM is npm v2 [14:33] mscdex: :p [14:33] gerad: pkrumins: ack! I need to get back to work [14:33] hsuh: sure that is the easiest recipe: take an old game, make it web-based and multiplayer [14:33] aho has joined the channel [14:33] maushu: hsuh: Fourth step: Make it MASSIVE multiplayer for the lulz. [14:34] mscdex: i mean, depending on how many player's you'd allow, you'd want to adjust the board size somewhat [14:34] Ori_P has joined the channel [14:34] noahcampbell has joined the channel [14:34] mscdex: maybe have it grow/shrink dynamically based on the number of players? :p [14:35] overra: pacman meets portal [14:35] mscdex: overra: that's kinda been done [14:35] overra: aw :( [14:35] mscdex: not pacman, but 2d nethack-like portal [14:35] maushu: We could also add xp and skills in there. [14:36] mscdex: overra: http://cymonsgames.com/asciiportal/ [14:36] maushu: And 20 weapons. [14:36] overra: lol [14:36] maushu: And a strategy feature, like building bases and crap. [14:36] overra: achievements.. [14:36] maushu: That too. [14:36] overra: ..with no rewards [14:37] hsuh: nodeknockout is the biggest marketing play ever... great way to attract attention to node.js [14:37] mscdex: and the "HEADSHOT!" sound clip from UT could play whenever pacman noms a ghost or the other way around? :p [14:38] wink_: M-M-M-MEGA KILL [14:38] hsuh: Things to learn in 8 hours: [14:38] hsuh: - node [14:38] hsuh: - html5 [14:38] maushu: No it would say "OMNOM NOM NOM NOM". [14:38] gerad: hsuh: hahah, neither our idea nor our intent... Rails Rumble deserves the credit, and we created NKO because we wanted to compete in it (but now we can't because we're organizing) :-) [14:38] wattz: thinking about node in this meeting for handling all the webservices for Lowes.com [14:38] aheckmann has joined the channel [14:39] mscdex: is that the website for rob lowe? [14:39] gwoo has joined the channel [14:39] ker2x: you can use processingjs :) [14:39] daniellindsley: hsuh: Change your doctype to "". Congratulations, you're using HTML5. [14:39] mscdex: html5 hax [14:40] mjr_: lorennorman: I've done some pretty high frequency WebSocket sending. Browsers often keep up. [14:40] mjr_: If you go here: http://pcap.ranney.com:81/ you'll get a WS message for every HTTP packet that hits my server. [14:41] mjr_: Which can be super fast. [14:41] maushu: mjr_: Just did a 10ms websocket spam, the chrome tab crashed. [14:41] maushu: Well, locked. Not crashed. [14:42] mjr_: Yeah, it sometimes gets sad [14:42] pkrumins: anyone from NKO officials? we added another team member a day ago but he doesn't show up on our team on github [14:42] hsuh: should i test joyent before nodeko? (i mean, i can't commit before it starts, rght?( [14:43] maushu: 50ms worked for a while until it locked. [14:43] mjr_: I've done 20ms XHRs in Chrome and Safari. I'm surprised that WS can't go down to 10ms. [14:44] eazyigz has joined the channel [14:44] maushu: mjr_: You forget about latency. [14:44] maushu: I'm running this locally, 10ms *is* 10ms. [14:44] jetienne: what is the ws rtt on localhost ? like a ping [14:45] mjr_: I would never forget about latency. [14:45] mjr_: Latency and I go way back. [14:45] maushu: Good times. Good times. [14:47] loincloth has joined the channel [14:47] Yuffster has joined the channel [14:47] felixge has joined the channel [14:47] felixge has joined the channel [14:47] mjr_: jetienne: If you go to port pcap.ranney.com:80, you get a TCP RTT tester. [14:48] jetienne: mjr_: im more interested by websocket latency. especially in the wild. it helps design [14:48] jetienne: im thinking of a html5 game to toy with new tech... but im not sure of what is possible [14:49] rkieffer has joined the channel [14:49] mjr_: What I notice is that the jitter on periodic WS messages is pretty bad. [14:49] mjr_: I had assumed that this was due to garbage collection. [14:50] jetienne: mjr_: in theory the "gc freeze all" stuff is worked around in chrome. the jitter is observed in chrome ? [14:50] tisba has joined the channel [14:50] mjr_: Yep, especially Chrome. I found Safari to be much more smooth. [14:50] hsuh: (nodeko) i have a github repo and a joyent repo... should i commit to both every time ? [14:50] jetienne: interesting [14:51] mjr_: Although, I should run that test again. It's been a few months since I've run it. [14:51] hpoydar has joined the channel [14:51] jetienne: mjr_: a service to test the latency/jitter would be nice. [14:51] _announcer: Twitter: "@node_knockout do you have a quick tip on how to do that? can't find it anywhere in github under our team.i'm also on irc #node.js/pkrumins" -- Peteris Krumins. http://twitter.com/pkrumins/status/22273049052 [14:52] mjr_: IMO it'll only get better. It's still super early days for WS, so the path to better will be paved with lots of disruptive changes. [14:52] jetienne: mjr_: agreed. but in this specific case, i want my toy to work now or in a month, not in 2y :) [14:52] nerdEd has joined the channel [14:53] mjr_: I haven't tried a regular 10ms stream, but I have done a regular 20ms stream withi WS and XHR, and they worked well. [14:56] gerad: pkrumins: sometimes github ui is confusing [14:56] jetienne: i would be happy with <100ms of latency [14:56] gerad: pkrumins: lemme see if I can find it [14:56] pkrumins: gerad, thanks [14:57] pkrumins: The user to add to dark knights is f00li5h, btw. [14:57] stagas_ has joined the channel [14:57] gerad: pkrumins: http://github.com/organizations/nko/teams/12989 [14:57] gerad: pkrumins: can you doit there? [14:57] pkrumins: lets see [14:57] pkrumins: nope [14:58] pkrumins: was there before, there is no link to add more members [14:58] pkrumins: just lists the members, with no option to add more [14:58] gerad: pkrumins: good to know, gross, more admin work for us (not regarding you, just anticipating other requests) [14:58] pkrumins: :( [14:58] gerad: pkrumins: refresh? [14:58] pkrumins: here is the user to add: http://github.com/f00li5h [14:58] pkrumins: refreshing [14:58] gerad: pkrumins: should be added [14:59] andrehjr has joined the channel [14:59] pkrumins: :D [14:59] pkrumins: thank you! [14:59] gerad: np [14:59] pkrumins: gerad: another confusing thing [14:59] bradleymeck_ has joined the channel [15:00] pkrumins: gerad: NKO page says competition is in 9 hours, GMT+2 says it's in 8. [15:00] bradleymeck_: grrr arrrr [15:00] gerad: pkrumins: follow the home page [15:00] _announcer: Twitter: "playing with Node.js with Websocket anyone used these gadgets?" [pt] -- Adauto F. Leite Neto. http://twitter.com/adautoneto/status/22273759163 [15:00] pkrumins: gerad: kk, so 9 hours [15:00] pkrumins: then it's GMT+3! [15:00] gerad: pkrumins: we had a big conversation about that on irc yesterday [15:00] pkrumins: oh [15:00] gerad: pkrumins: I guess we should switch to UTC [15:00] gerad: pkrumins: the problem is daylight savings time [15:01] pkrumins: right [15:01] gerad: pkrumins: so GMT is off by one hour right now [15:01] gerad: pkrumins: I thought that GMT didn't change [15:01] ker2x: Mmm, nitrode look interesting [15:01] gerad: pkrumins: but I guess not [15:01] pkrumins: it does. [15:01] __franks has joined the channel [15:01] pkrumins: changes here every year, twice [15:02] hsuh: gerad: can you explain me how do I deal with joyent vs github, and myteam.no.de vs nodemines.nodeknockout.com? [15:02] bradleymeck_: !tweet @adautoneto, lots of us have, check out socket.io, faye, and node-websocket-server/client. those are the most popular [15:02] gerad: pkrumins: so, if we switched to saying UTC it'd be clearer? [15:02] ehaas has joined the channel [15:02] gerad: hsuh: github is for storing your code, joyent is for deploying it [15:02] mscdex: wow, so the previous owner of no.de finally gave it up? [15:03] gerad: hsuh: your team page should make it clear http://nodeknockout.com/team [15:03] hsuh: gerad: ok, and those two sites? are they both going to show my joyent deploy? (if I only use joyent) [15:03] Neil___ has joined the channel [15:03] pkrumins: gerad: not sure, cause i was just searching for what the UTC time is now and i can't find it [15:04] pkrumins: gerad: some pages say UTC/GMT [15:04] pkrumins: like it was the same thing [15:04] gerad: pkrumins: that was my understanding too [15:04] badaxx has joined the channel [15:04] pyronicide1: pkrumins: it's 7am GMT+0 [15:04] pkrumins: pyronicide1, no way dude. [15:05] gerad: hsuh: there's actually only going to be yourteam.no.de and yourteam.heroku.com [15:05] gerad: hsuh: there's not going to be yourteam.nodeknockout.com [15:05] pyronicide1: oh wait [15:05] pyronicide1: sorry pkrumins i'm totally wrong [15:05] gerad: hsuh: we were trying to get to that, but we didn't get it in [15:05] pkrumins: gerad: i guess it's best to leave it as is, and follow the time on NKO homepage. [15:05] hsuh: gerad: like, i have a hello world here http://yerbamate.no.de/, but http://nodeknockout.com/teams/yerbamate still shows NOT YET DEPLOYED [15:05] pyronicide1: i thought it was 12am PST, heh, not GMT [15:05] danielzilla has joined the channel [15:05] gerad: hsuh: yeah, that's because we haven't turned on the joyent deploy hooks yet :-) [15:06] gerad: hsuh: so no worries [15:06] hsuh: :) [15:06] gerad: hsuh: ryah's doing that this morning [15:06] rkieffer has joined the channel [15:08] hsuh: if I was a unemployed DJ, I'd stream a live 48-hour session people competing in nodeko [15:08] bradleymeck_: if you are going to be streaming screens is there a place we can post it? [15:08] _announcer: Twitter: "I've pushed my @Node_Knockout practice project to Github! http://bit.ly/nodepower Thks @creationix @mape @tjholowaychuk @izs #nodejs" -- Dylan Greene. http://twitter.com/dylang/status/22274462254 [15:09] lorennorman: mjr_: where are you hosting node and doing websockets like that? [15:10] gerad: bradleymeck_: there are plans for streaming stuff [15:10] gerad: bradleymeck_: what sort of things were you thinking? [15:10] bradleymeck_: i plan on doing it too, just wondering if there was a list [15:10] bradleymeck_: screencasting [15:10] gerad: bradleymeck_: woah, didn't even consider that [15:11] bradleymeck_: im using livestream + procast [15:11] gerad: bradleymeck_: post it to twitter, we'll keep an eye on it [15:11] gerad: bradleymeck_: and incorporate if we can [15:12] bradleymeck_: !tweet @node_knockout any chance we can get a list for things like http://www.livestream.com/knockoutrose [15:13] _announcer: Twitter: "it's @node_knockout weekend - node.js coding contest starts saturday at a location near you http://bit.ly/a65nuJ" -- Y! Developer Network. http://twitter.com/ydn/status/22274865965 [15:14] davin has left the channel [15:16] dnolen has joined the channel [15:16] PyroPeter has joined the channel [15:17] wattz: here comes the test... node.js vs python with nginx/fcgi [15:17] mjr_: lorennorman: I have a slicehost VPS, but I'm not particularly excited about slicehost. I'm sure the other options are fine too. [15:18] lorennorman: mjr_: well heroku is NOT, they kill open websockets after 30 seconds [15:18] mscdex: and they run an old version of node [15:18] mscdex: :p [15:18] lorennorman: mjr_: not sure about other cloudy hosts, or the provided Joyent one for the Knockout [15:18] mjr_: That's a bummer about the 30 second timeout. [15:18] wattz: mjr_: you don't like slicehost? [15:18] lorennorman: mscdex: heroku runs an old version? [15:18] jamescarr_: oh fuck me... I didnt even setup heroku yet and dont even know how... [15:18] wattz: they have been pretty good to me [15:19] mjr_: Oh, slicehost is just fine. [15:19] jamescarr_: guess I better run to the heroku channel [15:19] mscdex: lorennorman: last someone checked it was 0.1.9x [15:19] lorennorman: interesting [15:19] lorennorman: was considering using the Rackspace Cloud and just setting myself up [15:19] mjr_: I meant that I hear good things from people on other VPS providers too. I see nothing special about slicehost. [15:19] lorennorman: will use Joyent if someone says websockets are totally rad on it [15:19] mjr_: The Joyent stuff looks really great. [15:20] wattz: Last time i tried joyent, they were solaris, and i suck at solaris [15:20] mjr_: I don't blame Heroku for getting behind. Node moves pretty quickly. [15:20] mjr_: wattz: they are as Solaris as ever. [15:20] gerad: lorennorman: websockets are good on joyent [15:20] mikeal has joined the channel [15:20] bradleymeck_: lorennorman, native websockets are amazing, the flash fallback is the problem i have setting up [15:20] wattz: i suck at admining it [15:20] maushu: I think joyent made their own OS. [15:20] wattz: Slackware FOR LIFE [15:20] wattz: well.. [15:21] lorennorman: word [15:21] Blackguard has joined the channel [15:21] wattz: for servers i have been starting to use ubuntu because im getting admin lazy [15:21] lorennorman: gonna see if i can implement some netcode for my game library using it... [15:21] ker2x: :) [15:21] bradleymeck_: ACTION waves a fist at port 843 [15:21] mjr_: Could it be that Chrome times out WS connections, even active ones, after 2 hours or something like that? It seems like mine keep getting dropped when I walk away for a while. [15:21] bradleymeck_: mjr_ you gotta do keepalive ticks [15:21] wink_: bradleymeck_: no dice with ipf? [15:22] mjr_: bradleymeck_: I'm sending data every 30 sec. [15:22] bradleymeck_: no dice but then again, i think i did something wrong, not going to spend more on it [15:22] mjr_: bradleymeck_: every 30 sec for the entire 2+ hours. [15:22] bradleymeck_: mjr_ odd, close or disconnect? [15:22] bradleymeck_: and what server module are you hitting? [15:22] mostlygeek has joined the channel [15:23] mjr_: I'll check the next time it happens. I assume I get a close event in the client, but I guess I didn't look. [15:23] rklancer has joined the channel [15:23] _announcer: Twitter: "Any designers out there participating in the Node.js Knockout this weekend?" -- Mindy Wagner. http://twitter.com/graphicsgirl/status/22275637421 [15:24] bradleymeck_: !tweet @graphicsgirl, lol I wish my team had a designer [15:24] pengwynn has joined the channel [15:25] joshbuddy has joined the channel [15:26] maushu: Maybe I should've joined the knockout. [15:27] maushu: I would totally make a multiplayer pacman. [15:27] bradleymeck_: someone should just grab that canvas fps engine and redo multiplayer doom [15:28] hsuh: gerad [15:28] hsuh: ops [15:28] maushu: ehgawd [15:28] javajunky: gl with the knockout this weekend folks, sad not to be able to take part :( [15:29] _announcer: Twitter: "forget YUI compressor, take a look at http://github.com/mishoo/UglifyJS/ must have #nodejs module ;)" -- Senmiao Liu. http://twitter.com/lsm/status/22276119033 [15:29] hsuh: gerad: do you have lazeroids working ? i'm getting an error when connecting to 127..0.0.1:8000 (the gigantic errors ends with has no method 'trim') [15:29] ker2x: if you want to do some gfx in javascript on a browser, you should do http://processingjs.org/ [15:30] ker2x: also exist in java, scala, clojure, ... [15:30] gerad: hsuh: somebody else saw that problem too [15:30] jchris has joined the channel [15:30] maushu: ker2x: Bad idea for performance. [15:30] ker2x: but it's easy and it works :) [15:31] gerad: hsuh: it was up and running until quite recently, as we've repurposed the server for an website screenshot service we're using for nodeknockout [15:31] zemanel: is there a node.js mapreduce implementation yet? [15:31] ker2x: i use only the original java processing, but i'll probably do some processingjs too [15:31] wink_: who wants to write a wad decompressor in js? :D [15:31] gerad: and we haven't had time to investigate [15:31] gerad: http://pinkyurl.com/ [15:32] sudoer has joined the channel [15:32] bradleymeck_: per pixel canvas perf is terribad [15:32] bradleymeck_: though i have seen good results if you manually render using a backing canvas (at cost of 2x the memory) [15:33] wink_: as in double buffering? [15:33] wink_: because for a doom port, that wouldnt be too awful, doom was what, 320x240? [15:33] maushu: I think I exploded pinkyurl.com [15:34] bradleymeck_: yea, double buffering in canvas prevents per pixel redraw [15:34] bradleymeck_: so instead of losing some speed to lose flicker, you can gain speed [15:35] bradleymeck_: if someone had that + clipping library, /drool [15:35] lorennorman: i got some pretty good performance on canvas at 800x600 [15:35] hsuh_ has joined the channel [15:35] lorennorman: redrawing whole thing 32 times per second [15:35] lorennorman: doing collision detection, etc [15:36] Aria has joined the channel [15:36] jodo has joined the channel [15:36] ker2x: heroku support nodejs ? [15:36] lorennorman: also considering splitting the updates and renders into separate threads with Web Workers [15:36] maushu: lorennorman: By drawing images, right? [15:36] lorennorman: but that's essentially the role that Node can play: push the model updates to a server and share them to multiple clients [15:36] lorennorman: maushu: i was drawing images, yes [15:37] bradleymeck_: i had probblems w/o clipping / backing once i started hitting 1k+ objects [15:37] lorennorman: animating a megaman sprite, actually :) [15:37] maushu: Yeah, he was talking about pixel drawing, its slow like hell. [15:37] maushu: Maybe using the channel array, if I remember correctly, could be faster. [15:37] bradleymeck_: if it causes a render it is [15:37] lorennorman: so like, what exact drawing function? [15:37] lorennorman: i rendered 2000 rectangles animating around and it ran fine as well [15:37] lorennorman: i guess per-pixel stuff is nastier [15:38] nerdEd has joined the channel [15:38] bradleymeck_: yep, each pixel causes a refresh T_T [15:38] wink_: ok then, lets write multiplayer doom ;p [15:38] bradleymeck_: wink_ you get me the assets and logic [15:39] maushu: logic? [15:39] maushu: What logic? [15:39] bradleymeck_: i can do networking / engine, lol, but not this weekend [15:39] maushu: Do it for the knockout! [15:39] dylang_ has joined the channel [15:39] lorennorman: i'm going to try to get a little RTS running over node [15:39] joshbuddy has joined the channel [15:39] bradleymeck_: what objects are water/walls/etc. what happens when someone gets shot [15:39] maushu: Oh, that? [15:39] bradleymeck_: lorennorman creationix had a demo for one... [15:39] maushu: Hmm. [15:40] lorennorman: probably just draw shapes for the units and buildings or something [15:40] lorennorman: just want to proof of concept the netcode and websockets [15:40] maushu: If I remember correctly each wall was a texture with ceiling and floor. [15:40] bradleymeck_: spawn points, speed of movement normalization, character controls XD [15:40] bradleymeck_: yes, but which can you move through etc [15:40] maushu: ...move through? [15:41] bradleymeck_: doom had liquid, you can move through that [15:41] maushu: ...it had? [15:41] bradleymeck_: it has? [15:41] ben_alman has joined the channel [15:41] wink_: http://canvex.lazyilluminati.com/83/play.xhtml theres a starting point [15:42] wink_: obtaining and parsing the wad shouldnt be too terrible, its a well documented format [15:42] jchris has joined the channel [15:43] wink_: reasonable client prediction would be rough [15:43] wink_: what does the latency of websockets look like? [15:43] bradleymeck_: meh, around tcp levels [15:44] bradleymeck_: overhead of the packets is pretty minimal [15:44] lorennorman: bradleymeck_: yeah traditional game netcode is UDP-based... that's kind of my main concern with websockets for real-time games [15:45] lorennorman: that's where an RTS or turn-based game get around it: you don't have to have twitch accuracy [15:46] wink_: well if you made it co op you could probably skirt having awesome prediction [15:46] maushu: bradleymeck_: http://doom.wikia.com/wiki/Animated_flat [15:46] maushu: I don't remember swimming, seriously. [15:46] wink_: as long as the npcs didnt skate/jerk the players would probably be ok with a little oddness [15:46] Frans-Willem: OMG! [15:47] Frans-Willem: With PostgreSQL COPY operation [15:47] Frans-Willem: I'm able to index 600 articles/second from my usenet server [15:47] Frans-Willem: ACTION is just amazed [15:47] bradleymeck_: i remember in cs101 i argued the need for tcp for collision detection in a fps to have accuracy [15:47] bradleymeck_: maushu, you didnt swim, you waded [15:48] _announcer: Twitter: "#lazy What's the name of that Node.js file upload service?" -- Carsten Nielsen. http://twitter.com/heycarsten/status/22277132018 [15:48] bradleymeck_: !tweet @heycarsten transloadit? [15:49] badaxx_ has joined the channel [15:50] masak has joined the channel [15:50] _announcer: Twitter: "Going to participate in node.js knockout tomorrow" -- Jaideep Dhok. http://twitter.com/jdhok/status/22277199561 [15:50] maushu: bradleymeck_: Yeah, the z plane decreased a little. There was no water though. [15:51] zemanel has joined the channel [15:51] bradleymeck_: i thought i only said it was liquid? [15:51] zemanel_ has joined the channel [15:51] drudge: nice Frans-Willem [15:51] maushu: You said "move through". [15:51] bradleymeck_: oh did say water, my bad [15:51] drudge: Frans-Willem: you should put your nntp lib on npm [15:51] bradleymeck_: you did move through some hidden walls in wolfenstein cant think of any in doom [15:52] joelklabo has joined the channel [15:52] wink_: yeah i think they were all doors in doom [15:53] masak: I'm looking at http://wargamez.mape.me/ -- impressive! [15:53] wink_: but my memory is a tad fuzzy ;> [15:53] mape: masak: :) [15:54] masak: mape++ [15:54] v8bot: masak has given a beer to mape. mape now has 1 beers. [15:54] wink_: mape++ [15:54] v8bot: mape is getting too many beers. Don't let mape get drunk! [15:54] sudoer has joined the channel [15:54] wink_: WE WANT TO GET HIM WASTED SO HE WILL SPILL HIS SECRETS [15:55] drudge: mape++ [15:55] v8bot: drudge has given a beer to mape. mape now has 2 beers. [15:55] benburkert has joined the channel [15:55] micheil: wink_: oh really? [15:56] mscdex: ryah++ [15:56] v8bot: mscdex has given a beer to ryah. ryah now has 1 beers. [15:56] wink_: yes, everything i've seen from him looks awesome..i need to know how he does it :P [15:56] mscdex: 1 beers. plural! [15:56] mscdex: :p [15:57] voodootikigod has joined the channel [15:57] mscdex: _announcer++ [15:57] v8bot: mscdex has given a beer to _announcer. _announcer now has 1 beers. [15:57] mscdex: v8bot++ [15:57] v8bot: mscdex has given a beer to v8bot. v8bot now has 1008 beers. [15:57] wink_: lol [15:57] mscdex: lol @ 1008 [15:58] confoocious has joined the channel [15:58] bradleymeck_: mscdex-- [15:58] v8bot: bradleymeck_ has taken a beer from mscdex. mscdex now has -1 beers. [15:58] bradleymeck_: bwahaha [15:59] wink_: haha [16:00] wink_: http://10k.aneventapart.com/Uploads/417/ multiplayer aquarium [16:02] joelklabo has joined the channel [16:02] matt_c: ACTION has undefined beers. [16:02] ryanfitz has joined the channel [16:03] bradleymeck_: mscdex+=1 [16:03] bradleymeck_: aww [16:03] jamescarr_: boohiss [16:03] jamescarr_: Error: ECONNREFUSED, Could not contact DNS servers [16:03] wink_: msdex / 0 [16:03] davidwalsh has joined the channel [16:03] wink_: ccccc [16:03] wink_: cccc [16:03] jamescarr_: trying to connect to a couchio instance with cradle for tonight's node knockout [16:03] jamescarr_: I'm fucked [16:04] sh1mmer has joined the channel [16:04] deepthawtz has joined the channel [16:04] jamescarr_: what can cause that DNS error? [16:05] micheil: T-655 [16:05] russell_h: anyone ever tried to maintain a ballmer peak for 48 hours? [16:05] wink_: jamescarr_: is whatever machine you're on resolving dns at all? [16:06] jamescarr_: yeah [16:07] [[zz]] has joined the channel [16:07] micheil: mjr_: yeah, there is an issue with timeouts in websockets, and consequentially, there's now going to be a ping/pong packet type in the new drafts [16:07] wink_: what is retuning that error? [16:07] wink_: what call i mean [16:07] DoubleV has joined the channel [16:08] tdo has joined the channel [16:08] wink_: jamescarr_: related? ECONNREFUSED, Could not contact DNS servers [16:08] wink_: er [16:09] wink_: http://github.com/isaacs/npm/issues/issue/79 [16:09] jamescarr_: possibly! [16:09] andrehjr has joined the channel [16:09] wink_: although the 'fix' was to configure name resolution [16:09] wink_: which you said was working [16:10] Aria has left the channel [16:11] jamescarr_: hmmm [16:11] jamescarr_: it still fails when I run node createviews.js [16:13] jsilver has joined the channel [16:15] wink_: nslookup google.com [16:15] wink_: is that resolving? [16:15] c4milo: google.com has address 173.194.33.104 [16:15] c4milo: google.com mail is handled by 400 google.com.s9b2.psmtp.com. [16:15] c4milo: google.com mail is handled by 100 google.com.s9a1.psmtp.com. [16:15] c4milo: google.com mail is handled by 300 google.com.s9b1.psmtp.com. [16:15] c4milo: google.com mail is handled by 200 google.com.s9a2.psmtp.com. [16:15] clr has joined the channel [16:16] micheil: ryah: I'm having an odd error from that joyent test server [16:16] wink_: nslookup nodejs.org [16:16] micheil: it can't seem to find any local files I try to require() [16:17] _announcer: Twitter: "Thinking of writing a game in a day for @node_knockout. Maybe Facebook viral. #node.js" -- Eric Hamilton. http://twitter.com/dilvie/status/22279174709 [16:18] jamescarr_: oh silly me [16:18] jamescarr_: SILLY SILLY SILL ME [16:18] mscdex: silly you! [16:18] c4milo: nodd [16:18] c4milo: nod [16:19] jamescarr_: new cradle.Connection('http://thehost') should have just been 'thehost' [16:19] jamescarr_: no http:// [16:19] pengwynn has joined the channel [16:20] voxpelli has joined the channel [16:20] wattz: ACTION pokes mscdex [16:20] mscdex: wattz that for? [16:20] pengwynn_ has joined the channel [16:21] andrehjr has joined the channel [16:22] bradleymeck_: !tweet @dilvie invite your friends to be infected! [16:27] MikeSmith has joined the channel [16:27] jamescarr_: frak! [16:27] jamescarr_: communicating over the wire with a couch instance on couchone becomes expensive! [16:28] elliottkember has joined the channel [16:28] bradleymeck_: probably [16:28] sideshowcoder has joined the channel [16:29] micheil: looks like node-websocket-server works fine on joyent / no.de: http://unsaving-daiva.no.de/ [16:30] voxpelli has joined the channel [16:31] micheil: trust some person to do the spam test [16:31] rklancer has joined the channel [16:31] andrehjr has joined the channel [16:31] bradleymeck_: yes it does :D [16:31] jamescarr_: doh [16:31] bradleymeck_: dev branch working for ssl? [16:32] jamescarr_: quick quick! how can I turn paragraphs of text into
in jade?
[16:32] Yuffster_work has joined the channel
[16:32] wink_: jamescarr_: its interesting that the error you were getting connection refused for an unresolvable host
[16:32] micheil: that's the dev branch, I couldn't load up ssl just then
[16:32] bradleymeck_: ah
[16:32] micheil: jamescarr_: p
[16:32] bradleymeck_: :)
[16:33] micheil: p test
[16:33] micheil: or
[16:33] micheil: p
[16:33] micheil: | test
[16:33] jamescarr_: erm
[16:33] jamescarr_: I have a variable... talk.body
[16:33] jamescarr_: that contains paras
[16:33] micheil: k, p= talk.body
[16:33] jodo has left the channel
[16:33] jamescarr_: that just puts a paragraph around the whole thign
[16:34] jamescarr_: *thing
[16:34] micheil: okay
[16:34] micheil: can you pastie?
[16:34] maushu: http://jsperf.com/unrolled-loops/11
[16:34] micheil: man.. who ever did the spam test killed my safari instance
[16:35] jamescarr_: http://gist.github.com/553692
[16:35] jamescarr_: guess I can just split on \n and just insert a p before each one
[16:36] micheil: "you forced safari to quit, why?" "I tried to render 1million new nodes in about 10 seconds into the DOM, inserting on node at a time.
[16:36] micheil: yeah
[16:36] micheil: or use a filter
[16:37] micheil: :markdown= talk.body
[16:37] micheil: iirc
[16:37] jamescarr_: oh!?
[16:37] jamescarr_: requires a plugin tho?
[16:37] _announcer: Twitter: "So far I have @mongodb going (not on the latest V8 though), and #node.js running. Hummingbird you're next— cc: @michaeln3" -- Jesse Brown. http://twitter.com/bionicpill/status/22280755627
[16:37] jamescarr_: native plugin"?
[16:38] voxpelli has joined the channel
[16:38] voxpelli has joined the channel
[16:38] micheil: yeah
[16:38] micheil: or just do the split thing
[16:39] JimRoepcke has joined the channel
[16:39] micheil: - body = talk.body.split("\n")
[16:39] micheil: - each body
[16:39] micheil: p= body
[16:39] micheil: or somethingh
[16:41] micheil: okay, who's the bastard with the dots?
[16:41] micheil: >_>
[16:42] Yuffster_work has joined the channel
[16:42] andrehjr has joined the channel
[16:42] dgathright has joined the channel
[16:42] freeall has joined the channel
[16:44] Nohryb has joined the channel
[16:46] mape: micheil: Does it cope?
[16:46] mape: Should I turn it off?
[16:46] micheil: hmm?
[16:46] micheil: the server cope's but the clients don't
[16:46] micheil: safari just dies on me.
[16:47] micheil: chrome only just handles it
[16:47] mape: hehe, might want to clean the log
[16:47] mape: not just append, but remove so the dom doesn't get bigger and bigger
[16:47] micheil: that'd be even slower
[16:47] micheil: plus I need the log for testing
[16:47] mape: Doubt it, the bigger the dom is the slower inserts are
[16:47] _TS has joined the channel
[16:48] mape: at least the remove/append would be constant
[16:48] mape: not grow
[16:48] _TS: cheers
[16:48] noahcampbell has joined the channel
[16:49] mape: micheil: perhaps easier to console log the testing?
[16:49] mape: and clean the DOM
[16:49] micheil: mape: not really
[16:49] mape: Well didn't work to well under heavy load
[16:50] mape: Guess the console would choke a bit as well though
[16:50] wmealing has joined the channel
[16:50] micheil: yeah
[16:50] micheil: that's why the spam test was only in development
[16:50] wmealing: can node.js wrap local executables ?
[16:50] [[zz]] has joined the channel
[16:50] micheil: yes
[16:50] mape: micheil: Well you did ask someone to test it :)
[16:50] wmealing: (was that to me ?)
[16:50] frijole_ has joined the channel
[16:50] micheil: >_>
[16:51] wmealing: say i wanted to wrap "ls" (dumb example, i know)
[16:52] mjr_ has joined the channel
[16:54] zemanel has joined the channel
[16:55] wink_: wmealing: yes you can, http://www.nodejs.org/api.html
[16:56] micheil: mape: try spamming now
[16:57] mbleigh has joined the channel
[16:57] StevenSoroka has joined the channel
[16:57] micheil: you will need to reload
[16:58] masak has left the channel
[16:58] StevenSoroka: Does the @node_knockout have an IRC channel? or here?
[16:58] Nohryb: .
[16:59] pydroid has joined the channel
[16:59] jamescarr_: heroku create strangepassions --stack beech
[16:59] StevenSoroka: mbleigh: oic you're here. :)
[16:59] micheil: mape: it'll boot you after sending 20 messages in 5 seconds
[16:59] jamescarr_: !Stack Not Available
[16:59] jamescarr_: FROWN
[16:59] mape: micheil: ah k
[16:59] rklancer has joined the channel
[16:59] micheil: that's done using.. about 4 lines of code
[17:00] mbleigh: anyone know if it's ok to add github issues before the knockout starts?
[17:00] jamescarr_: is there something magical I need to enable for beech?
[17:01] _announcer: Twitter: "Also makes oracle DB calls. One might otherwise ask how might this be done in Node.js?" -- Lukas. http://twitter.com/plukevdh/status/22282513333
[17:01] micheil: mbleigh: should be
[17:01] micheil: but if it's any code changes, then email all@nodeknockout.com
[17:01] mattikus has joined the channel
[17:01] mbleigh: micheil: nope no code pushing, just getting my team organized
[17:02] necrodearia has joined the channel
[17:02] micheil: that should be fine
[17:02] micheil: just no work is to directly start on the project
[17:02] wink_: its a trap!
[17:02] _announcer: Twitter: "I heard the Dutch developer living in Tokyo, Node.js nine toes I really wonder what the people who came from Ruby. I feel that this kind of tells you something" [ja] -- Ken Nishimura / 西村賢. http://twitter.com/knsmr/status/22282651249
[17:03] micheil: if you find an issue with a module, and you fix it, you must push your changes back to the project and email all@nodeknockout.com
[17:03] isaacs has joined the channel
[17:03] micheil: mape: http://gist.github.com/553729
[17:03] micheil: part of the awesomeness that is new node-websocket-server
[17:03] crohr has joined the channel
[17:03] necrodearia has joined the channel
[17:04] _TS: micheil node-websocket-server big love from me!
[17:04] _TS: thanks
[17:04] isaacs: ryah: is there any way to push code to a no.de without restarting the server that your'e sending it to? just update the code in place?
[17:06] eisd has joined the channel
[17:07] necrodearia has joined the channel
[17:07] TangoIII has joined the channel
[17:08] _announcer: Twitter: "We're using the #nodeko twitter hashtag and the #node.js channel on irc.freenode.net for the competition" -- node knockout. http://twitter.com/node_knockout/status/22283056059
[17:08] _announcer: Twitter: "@ Mbleigh irc.freenode.net # nodejs" [lv] -- node knockout. http://twitter.com/node_knockout/status/22283072116
[17:08] tj has joined the channel
[17:09] rauchg_ has joined the channel
[17:09] gerad: mbleigh: as long as it's not code, nor anything (like cucumber) that compiles to code (or copies and pastes into it), then you're fine..
[17:10] isaacs: there's GOT to be a way to make that cygwin/dns thing stop being so annoying
[17:10] Jsse has joined the channel
[17:10] gerad: mbleigh: basically use your best judgement and be honest, the spirit of the competition is to build something completely from scratch in the 48 hours, with the planning done before
[17:11] mbleigh: thanks
[17:11] gerad: mbleigh: and don't contact us via so many channels! :-)
[17:11] mbleigh: gerad: haha sorry, too many windows open :)
[17:11] jollyjerry has joined the channel
[17:11] micheil: _TS: no worries :)
[17:11] pydroid: got a silly clarification: are my teammates to push only to say the joyent repo? or the git?
[17:11] gerad: mbleigh: we'll always get back to you, I promise
[17:11] micheil: gerad: when she I call hq?
[17:12] micheil: wtf?
[17:12] micheil: I typed should and it sent she
[17:12] mbleigh: is mongohq offering free upgraded heroku addons like redistogo is?
[17:12] mbleigh: for the knockout?
[17:12] micheil: gerad: (take 2) when should I call HQ?
[17:12] matt_c has joined the channel
[17:12] gerad: mbleigh: yeah, info coming soonish
[17:12] gerad: mbleigh: over email
[17:12] StevenSoroka: mbleigh: you competing?
[17:12] mbleigh: gerad: awesome
[17:12] trotter has joined the channel
[17:12] mbleigh: StevenSoroka: yup. myself and two others from intridea
[17:12] jamescarr_: son of a bitch
[17:13] micheil: mbleigh: intridea?
[17:13] micheil: hmm., neat
[17:13] jamescarr_: I followed the instructions on the site and my node app will not deploy to heroku
[17:13] mbleigh: micheil: http://www.intridea.com
[17:13] gerad: micheil: umm.. saturday night our time
[17:13] micheil: jamescarr_: logs?
[17:13] jamescarr_: says the Beech deployment stack doesnt exist
[17:13] micheil: mbleigh: yeah, I know the company
[17:13] gerad: micheil: around, like 8pm PDT
[17:13] pydroid: gerad: sorry could i direct a question on ko to you?
[17:13] micheil: so... 12 hours in
[17:13] Astro: I just got 500 Type Error from http://nodeknockout.com/ :)#
[17:14] gerad: micheil: not sure if that's possible for you
[17:14] gerad: Astro: refresh
[17:14] micheil: gerad: may be
[17:14] micheil: it's 3am now
[17:14] Astro: gerad: "can't reproduce"
[17:14] jamescarr_: is there something special I need to do on the site???
[17:14] jamescarr_: to enale the Beech stack?
[17:14] micheil: KO starts at 9am, so, yeah
[17:14] jamescarr_: (I'm getting worried here)
[17:14] gerad: jamescarr_: be patient, we'll hook you up with an instance soon
[17:15] mape: micheil: still able to spam
[17:15] gerad: jamescarr_: but if you got the heroku beta invite email, you need to click the link at the bottom
[17:15] steadicat has joined the channel
[17:15] gerad: jamescarr_: see the blog post about deploying to heroku
[17:15] micheil: mape: >_>
[17:15] pydroid: :X
[17:15] mape: But i guess it isn't really solveable in a neat non overhead way
[17:15] zawzey has joined the channel
[17:15] micheil: mape: frequency hack?
[17:15] gerad: jamescarr_: even if you didn't get the invite, we'll still hook you up with a working instance
[17:15] mape: micheil: just create a new connection
[17:16] gerad: pydroid: yeah, but I need to run soon
[17:16] micheil: ah
[17:16] micheil: yeah
[17:16] jamescarr_: yeah, I got the invite...
[17:16] mape: one new, spam, open new, spam, etc
[17:16] andrehjr has joined the channel
[17:16] gerad: Astro: yeah, the site dies intermittendly, hoptoad's telling us about it but we haven't had time to debug
[17:16] pydroid: gerad: so the q i have is my teammates all commit to joyent
[17:16] jamescarr_: I'm a dummy
[17:16] micheil: jamescarr_: if you are doing anything with websockets, you'll want joyent /no.de
[17:16] jamescarr_: I forgot to activate it :)
[17:16] gerad: Astro: it's really annoying
[17:16] jamescarr_: micheil, oh?
[17:16] micheil: yes
[17:16] pydroid: gerad: and i periodically pull from there? or is it done automagically?
[17:16] micheil: Heroku will not work for websockets.
[17:16] pydroid: gerad: to git that is
[17:17] gerad: jamescarr_: yeah, I called that out really big in the blog post, 'cause it's easy to miss
[17:17] jamescarr_: gerad, thanks for the help... I was going crazy :)
[17:17] jamescarr_: micheil, doh
[17:17] jamescarr_: good point
[17:17] gerad: pydroid: during the competition, no
[17:17] jamescarr_: micheil, reference?
[17:17] micheil: gerad: retweet? http://twitter.com/miksago/status/22283735697
[17:17] gerad: pydroid: all code should go into the github repository
[17:17] claudiu__ has joined the channel
[17:17] micheil: jamescarr_: ?
[17:18] gerad: pydroid: you also deploy to heroku or joyent using git, so it's a little confusing
[17:18] jamescarr_: micheil, that heroku doesnt support ws?
[17:18] pydroid: gerad: ok, cos under github orgs, im the only one given a permission to access now
[17:18] micheil: jamescarr_: heroku closes connections after 30s, and the proxy doesn't work with the websocket protocol
[17:18] jakehow has joined the channel
[17:19] pydroid: gerad: i dun see how i can add them from admin or anything so far.
[17:19] gerad: pydroid: email all@nodeknockout.com with your team members' github names and we'll fix it
[17:19] gerad: pydroid: you can't
[17:19] pydroid: gerad: ah alright
[17:19] gerad: pydroid: it's messed up
[17:19] jamescarr_: ah
[17:19] pydroid: gerad: that got me confused for a while, thanks for the clarification
[17:19] gerad: going to shower and head to joyent now
[17:19] jamescarr_: gerad, npm support on heroku?
[17:20] mikeal: what time are people showing up there?
[17:20] gerad: email all@nodeknockout.com or tweet to @node_knockout
[17:20] gerad: jamescarr_: seriously, read the blog post
[17:20] _announcer: Twitter: "247 packages to nodejs. fuck you." [pt] -- Fernando Takai. http://twitter.com/fernando_takai/status/22283926979
[17:20] mape: gerad: would be awsome if you could ask for a non restarting push to joyent machines
[17:20] isaacs: mikeal: i'm going to be there tomorrow morning.
[17:20] jamescarr_: gerad, lol... my bad
[17:20] gerad: jamescarr_: it's all in there
[17:20] Aria has joined the channel
[17:20] gerad: mape: umm,, bug ryah about that, my guess is it's not gonna happen
[17:20] isaacs: gerad: wait, npm is in heroku?
[17:20] micheil: isaacs: was that at ko HQ?
[17:20] mape: k
[17:20] mikeal: i think i'll head over there tomorrow afternoon
[17:20] isaacs: micheil: yeah
[17:21] gerad: guys, I've got to go
[17:21] micheil: because The Changelog podcast will be calling up at 8pm PDT
[17:21] mape: gl hf
[17:21] V1 has joined the channel
[17:21] isaacs: later, gerad
[17:21] gerad: isaacs: npm isn't on heroku, but there's a workaround
[17:21] gerad: see the blog post
[17:21] micheil: cya' gerad
[17:21] isaacs: sure
[17:21] isaacs: gerad: you can also use npm bundle
[17:21] V1: Hr
[17:21] gerad: oh shit, should have known that
[17:21] isaacs: it's new :)
[17:21] isaacs: where's the blog post, i'll comment
[17:22] V1: O. Wrong channel lol
[17:22] gerad: isaacs: nodeknockout.posterous.com
[17:22] bpot has joined the channel
[17:22] isaacs: k
[17:22] mape: Who owned _announcer?
[17:22] mape: *owns
[17:24] _announcer: Twitter: "lots of good info here on deploying / using node.js http://bit.ly/dcaPEY" -- Brian Mavity. http://twitter.com/bmavity/status/22284244425
[17:25] netoarmando has joined the channel
[17:25] netoarmando has left the channel
[17:25] visnup has joined the channel
[17:26] visnup: holla
[17:26] micheil: hola
[17:27] mape: hey
[17:27] mape: everything ready? ;)
[17:27] visnup: mape: maybe...
[17:27] rubydiamond: node.js
[17:27] rubydiamond: or nodejs
[17:27] ehaas has joined the channel
[17:27] technoweenie has joined the channel
[17:27] micheil: wooo!@
[17:28] micheil: SSL websockets work on joyent
[17:28] visnup: heroku app collaboration invites going out soon
[17:28] technoweenie: ryah: let me know if you need anything more from us re: the node KO
[17:28] visnup: micheil: nice
[17:28] micheil: although, browser support is another issue
[17:28] micheil: safari doesn't seem to like websockets using a self-signed cert
[17:28] rubydiamond: how many hours are remaining for start?
[17:28] visnup: technoweenie: we emailed two small nice to haves
[17:28] micheil: T-5:32
[17:28] visnup: technoweenie: (re node ko) 1. it'd be nice to be able to create private repos for some straggler teams (we've made them public for now)
[17:29] visnup: technoweenie: 2. it'd be extra nice if each team could add other members
[17:29] vnguyen has joined the channel
[17:29] technoweenie: 2. limitation of the org permissions system, sorry
[17:29] technoweenie: 1. i'm going through the support issues right now, so i should run into yours soon
[17:30] visnup: 2. is icing, not a huge thing. I just sent in a feature req for the future.
[17:30] visnup: 1. sweet
[17:30] visnup: 1. was a reopen that defunkt had been handling
[17:31] micheil: okay.. time to make this a release..
[17:31] MichalBe has joined the channel
[17:31] technoweenie: visnup: ok cool
[17:32] MichalBe: Hi, could enyone explain me why we need also gitHub account? It is not enought to deploy our apps to joyent or heroku?
[17:32] _announcer: Twitter: "Node Package Manger, npm, is really coming along. Excellent work @izs #node.js" -- Joe McCann. http://twitter.com/joemccann/status/22284717828
[17:32] isaacs: !tweet @joemccann Thanks!
[17:33] fod has joined the channel
[17:34] MichalBe: I;m talking about nodeknockout of course
[17:34] micheil: MichalBe: we judges need to be able to see your code
[17:35] mbleigh: are we allowed/encouraged to develop our apps as a public repository?
[17:35] hsuh: micheil: so we clone from github, work there, add a remote for joyent, and push to both right?
[17:35] MichalBe: ok, but we have to commit to github at the end or every commit?
[17:35] micheil: hsuh: yes
[17:35] pyronicide1 has joined the channel
[17:35] micheil: or something like that
[17:35] MichalBe: ok, ok
[17:35] benburkert has joined the channel
[17:35] MichalBe: now understand
[17:35] micheil: ACTION has a joyent server that's just from a local git repo
[17:35] micheil: but it's just so I can push dirty tests
[17:36] JimBastard has joined the channel
[17:36] micheil: but for the actual knockout, you need to be able to link to the source code
[17:36] JimBastard: mamma said node knock you out
[17:36] netoarmando has joined the channel
[17:36] micheil: JimBastard: well, we know what your's will be? (a bit of a bastard)
[17:36] micheil: :P
[17:37] JimBastard: micheil: i think we might do something with javascript
[17:37] sh1mmer: mjr_: oh noes!
[17:37] micheil: JimBastard: that'd be a good start
[17:37] sh1mmer: `npm install pcap` doesn't work on Joyent
[17:37] mjr_: gah
[17:37] micheil: D:
[17:37] mjr_: not surprising
[17:37] JimBastard: i gotta go pick up a few cases of hard liquor first
[17:37] micheil: lol
[17:37] mjr_: You need root and stuff to do pcap
[17:37] clintandrewhall has joined the channel
[17:37] StevenSoroka: anyone know if faye's pub/sub filters messages on the client or server?
[17:37] mostlygeek has joined the channel
[17:37] JimBastard: so lets start taking bets
[17:38] JimBastard: i got 10 bucks on mrdoob's team
[17:38] JimBastard: 5 bucks on mape
[17:38] JimBastard: and 4 bucks on tmpvar
[17:38] MichalBe: is it possible to push to github & joyent using one command or something?
[17:38] sh1mmer: mjr_: well I wasn't expecting KO to force me to use Joyent or Heroku
[17:38] MichalBe: or we have to push to the 1st one and the to another?
[17:38] Astro: JimBastard: where to place bets?
[17:38] sh1mmer: This is a problem
[17:38] JimBastard: Astro: right here
[17:38] jollyjerry: MichalBe: you can add both as remotes, and then write an alias to push both
[17:38] MichalBe: ok
[17:38] mjr_: ryah: I'd be interested and willing to help get pcap working on your SmartMachines if it's OK with your security policy.
[17:38] technoweenie: if you're using hub you can do `git push origin,joyent master`
[17:39] visnup: mape: you still feeling sick?
[17:39] mape: I will fucking kill my neighbours
[17:39] jollyjerry: technoweenie: hub?
[17:39] jollyjerry: nvm
[17:39] technoweenie: http://github.com/defunkt/hub
[17:39] jollyjerry: :)
[17:39] JimBastard: quick, get that man some more aquavit
[17:39] sh1mmer: mjr_: if we can't get Smart Machines working I'm going to ask for dispensation to use my Rackspace cloud
[17:39] Astro: that'd be unfair
[17:40] clintandrewhall: sh1mmer: I hope they let you... they were pretty adamant in the FAQ
[17:40] clintandrewhall: sh1mmer: maybe reach out to Joyent now?
[17:40] sh1mmer: Astro: It's unfair I can't use a Node module that _mjr has had out there for months and month
[17:40] mape: They are playing "http://www.youtube.com/watch?v=L_fCqg92qks" loud enough to make shit in my apartment shake around
[17:40] jamescarr_: fuck!
[17:40] sh1mmer: I think I am
[17:40] jamescarr_: this is proving annoyign
[17:40] Astro: in that case I'll just rent some ec2 instances instead of optimizing my app
[17:41] jamescarr_: I have to dig into express and other libs and modify requires
[17:41] jamescarr_: fucking lame
[17:41] StevenSoroka: nm, I answered my own question
[17:41] jamescarr_: there must be an eaiser way
[17:41] Astro: mape: "This video contains content from Ministry_of_Sound. It is no longer available in your country."
[17:41] _announcer: Twitter: "Joose is now available as the npm package! http://joose.it #nodejs #npm" -- SamuraiJack8. http://twitter.com/SamuraiJack8/status/22285376098
[17:41] sh1mmer: Astro: I'm happy to run it on the smallest slice, but my point is without being able to install add-ons it's limiting people using Node properly
[17:41] Astro: I hate intellectual property
[17:41] clintandrewhall: jamescarr_: Does this help? http://intridea.com/2010/8/24/using-npm-with-heroku-node-js
[17:41] hukash has joined the channel
[17:41] mape: Astro: http://bubblare.se/movie/call_on_me
[17:42] jamescarr_: clintandrewhall, yeah, thats what I tried... I'm just going to add each lib to the require.path
[17:42] isaacs: clintandrewhall, jamescarr_: note the comment i left there.
[17:42] JimBastard: jamescarr_: id love to help you get disqualified :p
[17:42] mape: Guess I'm not getting any sleep :P
[17:42] technoweenie: so has anyone installed redis and/or riak yet on no.de
[17:42] clintandrewhall: good call issacs
[17:42] sh1mmer: technoweenie: good idea
[17:42] clintandrewhall: thanks for that
[17:43] JimBastard: mape: i love that vidya
[17:43] jamescarr_: JimBastard, hehehehe
[17:43] grahamalot has joined the channel
[17:43] mjr_: Can you install npm with pkgin, or is the best way with the curl sh trick?
[17:43] jamescarr_: JimBastard, doing twnty things at once pressured me a bit :)
[17:44] isaacs: mjr_: the best way is the way that ryan wrote up in that blog post about using npm on joyent ;)
[17:44] visnup: technoweenie: http://twitter.com/jackowayed/status/22210918945
[17:44] mape: JimBastard: Don't mind it, but when all I'm hearing is the bass thuds I'm not loving it
[17:44] mjr_: Oh, lemme go read that
[17:44] technoweenie: cool thanks
[17:44] jamescarr_: JimBastard, I deserve it, waiting till the last minute to try and get deployments working with heroku :)
[17:44] isaacs: mjr_: basically, set up your .npmrc, create the folders in your home dir, and THEN do the curl | sh trck
[17:44] sh1mmer: mjr_: it's pretty straight forward
[17:44] micheil: event emitters are now using: addListener -> on, removeListener -> ?
[17:44] hsuh: rauchg_: is 'on' an alias to 'addEvent' ?
[17:45] sh1mmer: mjr_: you just need to alias some solaris things
[17:45] isaacs: mjr_: or at least, the make trick
[17:45] jamescarr_: isaacs, thanks for pointing out your comment
[17:45] jamescarr_: taht did the trick
[17:45] isaacs: jamescarr_: np
[17:45] sh1mmer: isaacs: any suggestions about getting pcap working?
[17:45] isaacs: sh1mmer: use your own computer?
[17:45] sh1mmer: isaacs: not allowed, right?
[17:45] visnup: sh1mmer: not allowed. it needs real root.
[17:45] visnup: unfortunately
[17:45] mape: Astro: did the twitter thingy work out?
[17:45] isaacs: um... well.... you have to deploy your APP to joyent or heroku...
[17:46] Astro: mape: http://ko.codetu.be/
[17:46] isaacs: sh1mmer: no rules about using a webservice you also built this weekend that lives on rackspacecloud or slicehost...
[17:46] visnup: ACTION is scared to be in this channel today
[17:46] sh1mmer: visnup: why?
[17:46] sh1mmer: isaacs: right, but if the pcap stuff is a material part of the hack that kind of fucks us.
[17:47] mape: Astro: neat, perhaps swap some colors around but other then that nice
[17:47] isaacs: sh1mmer: ok, so your heroku/joyent app can be a proxy to the real app.
[17:47] visnup: I still have deployment work to finish
[17:47] visnup: sh1mmer: using external stuff is ok
[17:47] visnup: hah
[17:47] programble has joined the channel
[17:47] isaacs: sh1mmer: i dunno, just kinda throwing around ideas.
[17:47] micheil: visnup: I thought the apps had to be on joyent or heroku
[17:47] sh1mmer: isaacs: thanks :)
[17:47] isaacs: sh1mmer: without root, you can't do pcap, i dont' think
[17:47] visnup: they do
[17:47] sh1mmer: isaacs: we'll talk about it tonight, and figure it out
[17:47] visnup: pcap will be tricky
[17:47] micheil: k
[17:47] sh1mmer: isaacs: right
[17:48] jamescarr_: schweet.... got everything setup
[17:48] visnup: something like that proxy to something else is pretty damn iffy
[17:48] isaacs: which sucks, because pcap is like one of the most useful awesome things in the node world.
[17:48] cloudhead has joined the channel
[17:48] sh1mmer: visnup: let's talk about it tonight
[17:48] jamescarr_: now to just take a nap this afternoon so I'll be ready tonight...
[17:48] clintandrewhall: I bet you could deploy a service elsewhere if the source code was in the git repo... but I think that would defeat the purpose
[17:48] ahc has joined the channel
[17:48] micheil: unless you get ryah to install it on all boxes?
[17:48] visnup: off the record, I would say if it's awesome enough, then it might not be disqualified ;)
[17:48] sh1mmer: micheil: you still need to run it as root
[17:48] micheil: sh1mmer: like, have it always running
[17:49] sh1mmer: micheil: maybe if ryah could install it as a service
[17:49] sh1mmer: right
[17:49] olegp has joined the channel
[17:49] visnup: on the record, I would presume that pcap might be off the table this year
[17:49] micheil: and then we could just access the data over tcp or unix fd
[17:49] clintandrewhall: I'd rather not see shiz like the "compress code into png" stuff we had in the 10k contest
[17:49] clintandrewhall: kinda defeats the purpose of calling it a 10k, no?
[17:49] visnup: clintandrewhall: yet is still awesome
[17:49] aurynn: No, it's a valid hack
[17:49] clintandrewhall: visnup: no, it IS awesome
[17:49] clintandrewhall: just... philosophically
[17:49] clintandrewhall: :-)
[17:49] Astro: mape: I'm not a web designer, the colors are generated procedurally from feed urls
[17:50] clintandrewhall: necessity is the mother of invention
[17:50] micheil: ACTION works on documentation for node-websocket-server v1.3.50
[17:50] mjr_: sh1mmer: that's a bummer about the pcap/root thing. I dunno if there will be a clean solution in time, but it is worth asking ryah about it.
[17:50] mjr_: I've just emailed him.
[17:50] jamescarr_: I'll be the first to admit I think the idea I came up with for my team is lame, but you never know...
[17:50] marek_z: and desperation is its father
[17:50] jamescarr_: it might wind up fun
[17:50] mape: Astro: I could take a look at it later perhaps if there is time over and you don't mind
[17:50] jamescarr_: and i think attempting it is fun enough
[17:51] Astro: mape: sure thing, http://github.com/astro/superradar
[17:51] jamescarr_: can someone give me the clone url for node? I need to upgrade and for reasons that elude me it's not showing up on github
[17:51] mjr_: sh1mmer: I have actually been working on a system that uses remote pcap probes to relay data to a central collector, aggregator, filterer thing. That's perhaps a possibility, but admittedly not nearly as cool.
[17:51] thejefflarson_ has joined the channel
[17:51] mape: Astro: great
[17:51] bradleymeck_: clintandrewhall, if philosophical debates come up my js1k would never exist
[17:51] lorennorman has joined the channel
[17:51] mikeal has joined the channel
[17:52] Astro: anyone here got npm on joyent already?
[17:52] isaacs: Astro: i do
[17:52] bradleymeck_: http://github.com/ry/node.git <- jamescarr_
[17:52] mjr_: Astro: http://nodeknockout.posterous.com/countdown-to-knockout-post-11-deploying-to-jo
[17:52] jamescarr_: thanks
[17:52] Astro: oh, just found that; thanks :)
[17:52] mjr_: You can cut and paste the examples there, and npm just works.
[17:52] sh1mmer: Astro: yes
[17:53] isaacs: Astro: http://nodeknockout.posterous.com/countdown-to-knockout-post-11-deploying-to-jo
[17:53] wattz: github acting funky for me
[17:53] MikhX has joined the channel
[17:53] sh1mmer: mjr_: that is cool even so and possibly more useful real world. I use tshark an awful lot.
[17:54] jamescarr_: is anyone else having issues with github suddenly???
[17:54] jamescarr_: fatal: http://github.com/ry/node.git/info/refs download error - The requested URL returned error: 504
[17:54] wattz: ACTION points up
[17:54] wattz: jamescarr_: aye
[17:54] jamescarr_: wattz, ah
[17:54] Frans-Willem has joined the channel
[17:54] jamescarr_: nice to know its not just me
[17:54] jamescarr_: hahahaha... github will be down for the duration of Node KO...
[17:54] isaacs: ircretary: when was ryah last here?
[17:54] ircretary: isaacs: ryah was last seen at 2010-08-27T13:35:49.833Z, in #Node.js saying a weekend even
[17:54] mjr_: sh1mmer: I used to use tshark all the time, but it just got too painful to use when the HTTP started flying fast and furious with a complicated application.
[17:54] jamescarr_: for an extra challenge :)
[17:55] mjr_: technoweenie: gh broken?
[17:55] sh1mmer: mjr_: right. I think you are going to like our plan if we can execute it
[17:55] wattz: jamescarr_: -_-
[17:55] technoweenie: that fileserver is, eya
[17:55] jamescarr_: now gettin 503s
[17:56] quirkey has joined the channel
[17:56] jamescarr_: isaacs, is it possible for me to install the latest npm via npm even though my node version is
[17:56] jamescarr_: 0.1.102
[17:56] isaacs: jamescarr_: no.
[17:57] isaacs: jamescarr_: update node to 0.2.0. it's better. you'll like it.
[17:57] isaacs: jamescarr_: fresher tasting, longer lasting.
[17:57] Astro: oh shit, my libraries don't build on solaris :>
[17:57] jamescarr_: isaacs, yeah trying too.... :S
[17:57] _announcer: Twitter: "Now that I started to write quantumLounge in Python, I wonder if I should switch to node.js ... shouldn't be too hard. #javascript" -- Christian Scholz. http://twitter.com/mrtopf/status/22286472215
[17:57] Astro: and all I see is an error from eio.h :(
[17:57] jamescarr_: got a tarball or something you can chuck my way? github is denying me a clone of node
[17:58] wink_: Astro: pastebin the error
[17:59] _announcer: Twitter: "finally npm and nodejs working. :D" -- Fernando Takai. http://twitter.com/fernando_takai/status/22286560720
[17:59] ircretary has joined the channel
[17:59] mbleigh: anyone from the npm team here?
[17:59] isaacs: mbleigh: the entire npm team is here
[17:59] jamescarr_: heh
[17:59] isaacs: mbleigh: what's up?
[17:59] mbleigh: :D
[17:59] mbleigh: trying to use the new bundle command
[17:59] mbleigh: not sure i understand it correctly
[17:59] isaacs: mbleigh: k
[18:00] mjr_: oh man, npm team leader isaacs is even here. Damn.
[18:00] mbleigh: just tried to do "npm bundle ./vendor express"
[18:00] _announcer: Twitter: "@jamescarr Maybe. It is browser-side at the moment. But I could CommonJS-ify it. Wish NodeJS were CommonJS compliant. :/" -- Matthew Taylor. http://twitter.com/rhyolight/status/22286634973
[18:00] clintandrewhall has joined the channel
[18:00] isaacs: mbleigh: drop the ./express
[18:00] isaacs: mbleigh: er, drop the "express"
[18:00] jamescarr_: if someone has the 0.2.0 version of nodejs, please share it for me quickly ;)
[18:00] jamescarr_: wait... WHAT!?
[18:00] isaacs: mbleigh: just put "express" as a dependenccy in your package.json, and then do "npm bundle ./vendor"
[18:00] mbleigh: oh now i understand
[18:00] mbleigh: so i create a package.json in my root dir?
[18:00] isaacs: jamescarr_: just update...? ry/master, or download or whatever?
[18:00] jamescarr_: I thought node.js was commonjs compliant??
[18:01] jamescarr_: isaacs, lemme try
[18:01] isaacs: mbleigh: yeah, just like you're going to install or link it
[18:01] mbleigh: i was just trying to use it like rubygems /g
[18:01] isaacs: mbleigh: you know, i almost didn't call it bundle for exactly that reason.
[18:01] jamescarr_: ah, I'll get the tarball off the site
[18:01] isaacs: mbleigh: "npm help bundle" for more info.
[18:01] mitkok has joined the channel
[18:01] isaacs: jamescarr_: what isn't commonjs compliant?
[18:02] jamescarr_: read the tweet comment above
[18:02] jamescarr_: :)
[18:02] Astro: wink_: http://pastebin.com/JWJ4K0Py
[18:02] bradleymeck_: the apis that act like java arent in node
[18:02] jamescarr_: aah
[18:03] wink_: Astro: holy hell, how did you build node?
[18:03] pgriess has joined the channel
[18:03] isaacs: jamescarr_: oh, i see
[18:03] jamescarr_: whew... node is updated, npm is update
[18:03] jamescarr_: time for a fist full of win
[18:03] isaacs: jamescarr_: TWO FISTS!!
[18:03] jamescarr_: :)
[18:04] wink_: Astro: you might be able to modify eio.h , goto line 199 and remove the trailing comma
[18:04] Astro: wink_: preinstalled on joyent
[18:04] ircretary has joined the channel
[18:04] ahc has joined the channel
[18:05] technoweenie: the fs is back online for anyone that cares
[18:05] bradleymeck_: !tweet @rhyolight, the require matches, i would be tough pressed to resolve the bulk of commonjs apis with the non-blocking/async nature of node though
[18:05] wink_: Astro: weirdddd, i wonder if you're using a different version of your compiler than they did
[18:05] ircretary has joined the channel
[18:05] Astro: I suppose that should not happen whenever I use node-waf
[18:05] joshbuddy has joined the channel
[18:06] saikat has joined the channel
[18:06] wink_: Astro: you'd think but if it's barfing over that comma, it should've barfed over that comma when they built node itself too :p
[18:06] wink_: unless there is a compiler option to tell it to suck it up
[18:06] Astro: gcc -fignore-commas?
[18:07] clintandrewhall_ has joined the channel
[18:07] steadicat has joined the channel
[18:07] clintandrewhall_: ok, potentially stupid question: do either heroku or joyent support npm? or will I *have* to use the heroku npm trick with joyent?
[18:07] wink_: lol yeah :P
[18:07] Astro: clintandrewhall_: http://nodeknockout.posterous.com/countdown-to-knockout-post-11-deploying-to-jo
[18:07] wink_: however looking at eio.h , that's likely an oversight, the rest of the enums are missing trailing commas
[18:07] isaacs: http://nodeknockout.posterous.com/countdown-to-knockout-post-11-deploying-to-jo
[18:07] isaacs: clintandrewhall: ^
[18:08] clintandrewhall_: excellent... and it WAS a stupid question... ;-/
[18:08] isaacs: ACTION considering making my ircbot answer that question...
[18:08] zapnap has joined the channel
[18:09] jamescarr_: heh
[18:09] bradleymeck_: dog
[18:09] bradleymeck_: cat
[18:09] jamescarr_: sudo nom install express
[18:09] isaacs: bradleymeck_: she's not watching for those any more.
[18:09] bradleymeck_: /cry
[18:09] V1 has joined the channel
[18:09] isaacs: ircretary: watch for all occurrences of isaacs npm
[18:09] V1: Team speedo reporting for duty.
[18:10] ehaas has joined the channel
[18:10] micheil: http://static.brandedcode.com/nws-docs/
[18:10] micheil: for those interested in using Node WebSocket Server
[18:10] bradleymeck_: grrr es-discuss ppl
[18:10] bpot has joined the channel
[18:10] mbleigh: hmm...so one step forward but still having npm issues
[18:10] isaacs: mbleigh: oh?
[18:10] V1: socket.io's setPath only needs the path the .swf file correct?
[18:10] mbleigh: now the bundle command runs but only creates an index.js
[18:10] clintandrewhall: ok, stupid question #2: can I install MongoDB on Joyent?
[18:11] mbleigh: doesn't seem to actually vendor the libs
[18:11] mbleigh: unless i'm still being stupid
[18:11] clintandrewhall: (up until now all of my projects have been on my own box)
[18:11] isaacs: mbleigh: did you list your deps in the "dependencies" hash in your pacakge.json?
[18:11] mbleigh: yeah
[18:11] clintandrewhall: (so I'm a bit nervous)
[18:11] mbleigh: and index.js has references to them
[18:11] mitkok has joined the channel
[18:11] isaacs: mbleigh: are you quite sure there isn't a .npm folder in there?
[18:11] bradleymeck_: !tweet @rhyolight system is a commonjs library, node uses a different library than commonjs, but supports the module syntax
[18:11] isaacs: mbleigh: wait.... it has references to them? but they're not there?
[18:11] isaacs: mbleigh: what deps?
[18:12] mbleigh: isaacs: express, connect, oauth
[18:12] isaacs: mbleigh: gist your package.json, plz
[18:12] mbleigh: np
[18:12] mbleigh: http://gist.github.com/553875
[18:12] bradleymeck_: !tweet @rhyolight, hence, require works, grabbing the commonjs API does not (and commonjs api does not fit node's goal)
[18:12] _announcer: Twitter: "@rhyolight What's not commonjs comliant about #nodejs?" -- Ⓘⓢⓐⓐⓒ. http://twitter.com/izs/status/22287486077
[18:13] robotarmy has joined the channel
[18:14] isaacs: mbleigh: um... works for me?
[18:14] bradleymeck_: !tweet @rhyolight, no it does not support the "system" module of commonjs. use the node api (it is a commonjs compatible module system).
[18:14] isaacs: mbleigh: rm -r the dir and try again?
[18:14] [[zz]] has joined the channel
[18:14] jamescarr_: man
[18:14] isaacs: mbleigh: if that doesn't work, then gist the npm output.
[18:14] jamescarr_: I think cradle's caching will come in handy
[18:14] pengwynn has joined the channel
[18:15] bradleymeck_: !tweet @rhyolight, also the freenode.net#node.js room might be better place for coherent discussion
[18:15] eazyigz has joined the channel
[18:15] mbleigh: isaacs: http://gist.github.com/553875 has npm output as well as index.js that was generated
[18:16] wattz: ...
[18:17] bradleymeck_: commonjs is becoming like a plague
[18:17] Aria: Isn't it?
[18:17] _announcer: Twitter: "@aaronheckmann that's a great idea, it'll make my first github project ;) I also have a half-finished #nodeJS campfire library for the hub" -- Hunter Loftis. http://twitter.com/HunterLoftis/status/22287805580
[18:17] Aria: Time to write working things that do what they're trying to, only simpler.
[18:18] Aria: And then yell "we have working code"
[18:18] bradleymeck_: it isnt C++ if you dont use STL!
[18:18] Frans-Willem: Could it be that Node drops or disturbs the package order on high-bandwidth ?
[18:18] bradleymeck_: plus the commonjs api is...
[18:18] bradleymeck_: special
[18:19] isaacs: mbleigh: what does "ls -laF ./vendor" show you?
[18:19] joemccann has joined the channel
[18:19] Aria: Yeah. The require() api makes sense.
[18:19] Aria: But the rest ... ew.
[18:19] bradleymeck_: yea
[18:19] mbleigh: just ./, ../, and index.js
[18:19] bradleymeck_: yo joe, how does it go
[18:19] joemccann: bradleymeck_ pretty good m8
[18:19] bpot has joined the channel
[18:19] joemccann: having some issues tho
[18:19] joemccann: Error: Cannot find module './../../.npm/connect/0.2.4/package/lib/connect/middleware/router'
[18:19] isaacs: mbleigh: super weird.
[18:19] isaacs: mbleigh: what os?
[18:20] mbleigh: isaacs: OS X 10.6
[18:20] joemccann: running node 0.2.0, npm 0.1.27
[18:20] jamescarr_: who is using coffeescript for their node knockout app
[18:20] joemccann: connect 0.2.4
[18:20] technoweenie: i'll be using coffeescript
[18:20] _announcer: Twitter: "#nodeko starts at midnight UTC. That's 8pm EDT and 5pm PDT. (Yes, I just realized this) http://bit.ly/9z1jmC. Globalization ftw. #node.js" -- Marco Rogers. http://twitter.com/polotek/status/22287972424
[18:20] joemccann: and i have the app running locally (mac) with no prob
[18:20] bradleymeck_: mmm that file exist?
[18:20] mbleigh: jamescarr_: i'll be using coffee too
[18:20] rauchg_: hsuh: yes
[18:20] joemccann: but on ubuntu 10.04 no dice
[18:21] joemccann: bradleymeck_: well the relative back paths are confusing to me
[18:21] joemccann: where is going back from?
[18:21] bradleymeck_: where did the error occur?
[18:21] joemccann: cd /usr/local/lib/node/.npm/connect/0.2.4/package/lib/connect/middleware/
[18:21] joemccann: router.js is there
[18:21] joemccann: error occured in an express app
[18:21] isaacs: mbleigh: ok... let's try this...
[18:22] technoweenie: so whats the deal with no.de? we dont have root access? is there a way to install a .pkg file
[18:22] joemccann: located at /srv/appname/server/app.js
[18:22] JimBastard: ohh hey i thought we lost you technoweenie.
[18:22] isaacs: mbleigh: create a folder, copy your package.json in there. go into that folder. do "npm bundle vendor" and then tell me what shows up in the "vendor" folder
[18:22] matt_c has joined the channel
[18:22] JimBastard: if i said "ruby fag" 10 more times will you go away forever?
[18:22] JimBastard: #nodechan
[18:22] mbleigh: isaacs: same thing, just index.js
[18:22] mbleigh: bizarro
[18:22] isaacs: mbleigh: can you update to the latest npm and try again? "npm update npm"
[18:23] isaacs: shoudl be 0.1.27-8
[18:23] jamescarr_: any of you guys see this when trying to run an app on heroku? http://strangepassions.heroku.com/
[18:23] gf3: isaacs: thanks for the commit to Jerk
[18:23] gf3: isaacs: I appreciate it :)
[18:23] isaacs: gf3: np :)
[18:23] gf3: felixge: ping
[18:23] mbleigh: isaacs: still the same problem, though the bundle command is taking a little longer
[18:24] isaacs: gf3: i ended up going with martyn smith's "irc" lib directly, though, since i needed to do more than jerk is cut out to handle.
[18:24] isaacs: ircretary: tell gf3 that you're not a jerk.
[18:24] ircretary: isaacs: I'll be sure to tell gf3
[18:24] dgathright has joined the channel
[18:24] isaacs: :)
[18:25] mikeal has joined the channel
[18:25] isaacs: mbleigh: what version of node?
[18:25] _announcer: Twitter: "@technoweenie Eventmachine > Node.js when it comes to readability and clean code, and easier to spec." -- Seivan Heidari. http://twitter.com/Seivanheidari/status/22288287660
[18:25] mbleigh: isaacs: 0.2.0
[18:25] _announcer: Twitter: "@izs more here http://j.mp/9giy0g I just wish that I could write a CommonJS module and drop it into Narwhal or NodeJS." -- Matthew Taylor. http://twitter.com/rhyolight/status/22288295750
[18:25] isaacs: hmm....
[18:25] isaacs: mbleigh: what if you do: npm --root $PWD/vendor install connect
[18:26] BrianTheCoder has joined the channel
[18:26] isaacs: mbleigh: does that put connect into that folder?
[18:26] jamescarr_: anyone using express on nodejs? any reason why this wont work: app.listen(process.env.PORT || 3000) ?
[18:26] mbleigh: isaacs: yup
[18:26] jamescarr_: seems to be failing on me on heroku
[18:26] matt_c_ has joined the channel
[18:26] isaacs: mbleigh: i see.
[18:26] isaacs: mbleigh: what about npm bundle ./vendor
[18:26] isaacs: (note the ./)
[18:27] bradleymeck_: !tweet @Seivanheidari, could you explain easier to spec
[18:27] mbleigh: isaacs: still no folders
[18:27] technoweenie: easier to write tests for, i imagine
[18:27] clintandrewhall: jamescarr: I use express... I don't see why that wouldn't work
[18:27] mbleigh: isaacs: hate to take up so much of your time, i appreciate the efforts to help
[18:27] ryah: today is the day
[18:27] jamescarr_: maybe its soemthing else
[18:27] jamescarr_: frown
[18:27] clintandrewhall: jamescarr: assuming process.env is accessible
[18:28] jamescarr_: clintandrewhall, you using it on heroku?
[18:28] micheil: ryah: node-websocket-server works sweetly on joyent
[18:28] joemccann: jamescarr_: // Must run with a null host -- heroku requirment run(parseInt(process.env.PORT || 8000), null)
[18:28] clintandrewhall: jamescarr_: no, I was planning on using joyent
[18:28] Kryckan has joined the channel
[18:28] ryah: micheil: :)
[18:28] BrianTheCoder: who's ready to feel the pain?
[18:28] gf3: isaacs: that's cool
[18:28] jamescarr_: joemccann, yeah, their example showed an old express
[18:28] BrianTheCoder: