[00:00] telemachus: Perl's config scripts seem to think that libc is complete borken on Lion
[00:00] telemachus: ACTION shrugs
[00:01] __directory: read about libc issues
[00:01] skm has joined the channel
[00:01] Nuck: _sorensen_: ooooooh that looks niiiiiiiiice
[00:01] ryah: telemachus: thanks
[00:01] Nuck: AND it doesn't involve using Ruby!
[00:01] guest_127 has joined the channel
[00:01] Nuck: ACTION would rather use PHP than Ruby
[00:02] telemachus: ryah: Thank *you*, I think :)
[00:02] igl: ACTION rubs his eyes
[00:02] telemachus: __directory: https://gist.github.com/1096217 (libc barfing all up)
[00:02] clifton has joined the channel
[00:02] context: nuck: ew.
[00:02] context: nuck: you just dont know ruby
[00:02] telemachus: or php, maybe
[00:02] telemachus: :)
[00:02] Nuck: Can't wait for Node to replace Ruby on Rails as the primary modern web shit framework.
[00:02] igl: ^^
[00:03] Nuck: I know PHP, I like that I jsut drop the file in and it's done
[00:03] context: nuck: considering they are both designed for different things, it will never happen
[00:03] context: nuck: stop trolling. pls k thnx bbq
[00:03] telemachus: saw an ad today for PHP dev - they specified it was *not* OO style. Couldn't tell if they were bragging or ashamed.
[00:03] context: nuck: pretty sure mod_ruby works extremely similar to mod_php in that aspect
[00:03] context: nuck: stop comparing php to rails.
[00:03] Nuck: I like Node because if there's a dependency, I can figure it out (and NPM is becoming pretty standard)
[00:03] context: nuck: it does not help your image.
[00:03] xerox: oh haha somebody could have told me that the only difference between the .11 and .10 is the version number, at this moment xD
[00:04] Nuck: context: I can't compare PHP and Rails, sure
[00:04] Nexxy: how can you even compare a language to a framework ;o
[00:04] corytheboyd has left the channel
[00:04] Nuck: But I can say I prefer using PHP + Apache as a stack.
[00:04] nerdfiles has joined the channel
[00:04] context: lot of trolls pop up in here sadly. :(
[00:04] telemachus: xerox: Is that true? I thought .10 was stable and .11 not
[00:04] xerox: telemachus: it's the other number that means that
[00:04] xerox: .4. and .5.
[00:04] guest_156 has joined the channel
[00:04] __directory: why do people compare node to web frameworks? confusion?
[00:04] telemachus: oh, right, thought you meant 4.10 and 4.11
[00:04] telemachus: sorry
[00:04] Nexxy: I was referring to rails, actually ;P
[00:05] context: well id rather drive a ferrari in italy than a hummer in pakistan.
[00:05] Nuck: Node can fill a similar niche to Ruby on Rails.
[00:05] igl: "x is better than y"
[00:05] igl: will always be around ;)
[00:05] __directory: but I prefer y
[00:05] context: nuck: stop comparing shit that has nothing to do with eachotjer.
[00:05] dreamdust: Yes, please.
[00:05] igl: __directory: you know jack shit about X!
[00:05] igl: 11
[00:05] Nexxy: sure is srs in here
[00:05] context: __directory: nuck is just showing everyone how much he really does not know.
[00:05] Nuck: context: How do Node and RoR not fill similar niches?
[00:05] Nuck: Seriously?
[00:06] Nexxy: context, I'm wondering why that bothers you so much
[00:06] context: nuck: node and ror has NOTHING to do with eachother.
[00:06] Nuck: The LANGUAGES differ.
[00:06] Nexxy: there are a lot of people on the internet that don't know things
[00:06] Nexxy: get over it ;3
[00:06] __directory: igl: need leet benchmarks on X
[00:06] context: nuck: your comparing a car to a gravel road
[00:06] context: NOTHING IN COMMON !
[00:06] context: AT ALL !
[00:06] Nexxy: oi vey
[00:06] dreamdust: Yeah, Express fills the same exact purpose that RoR fills, except much faster :)
[00:06] Nuck: Ruby on Rails is for what?
[00:06] Nexxy: context, mind your blood pressure dear
[00:06] skm has joined the channel
[00:06] context: nexxy: oh im calm :p
[00:06] systemfault: Nuck: You wouldn't look that bad if you'd at least... compare RoR to Express
[00:06] mikey_p: the only close comparison is sinatra vs. express
[00:07] systemfault: But RoR to node... bad bad bad comparison
[00:07] context: nuck: just stop comparing stuff you dont know about.
[00:07] Nuck: Sorry, I guess I was thinking sinatra is the express
[00:07] context:
[00:07] context: good thing that button is there
[00:07] Nuck: So I marked those two off my list of correlations.
[00:07] Nexxy: compare this: a programmer, and someone who sits on IRC arguing over different tools
[00:07] dreamdust: LoL
[00:07] Nexxy: go program stuff
[00:07] Nexxy: stop bitching
[00:08] guest_053 has joined the channel
[00:08] Nuck: I just prefer a web application built in Node with whatever framework or lack thereof over a similar web application built using Sinatra or Ruby on Rails.
[00:08] forte has joined the channel
[00:08] context: nexxy: my ignore list gets big sometimes. i hate watching them waste everyones time :/
[00:08] Nexxy: oh
[00:08] Nexxy: my god
[00:08] clifton: i dont understand why anyone would prefer apache + php to nginx + (insert any ruby framework here)
[00:08] Nexxy: ACTION puts a round into the chamber
[00:08] systemfault: clifton: Because that's all they know.
[00:08] __directory: Bash on Balls beats 'em all
[00:08] systemfault: clifton: And fairly easy to setup.. even on windows.
[00:08] Nuck: Can Rails apps actually be put under a server?
[00:08] frodenius: Nexxy㇀ to shoot youself?
[00:09] Nexxy: frodenius, you got it ;3
[00:09] bwinton` has joined the channel
[00:09] context: clifton: cause they are a: 12, or 2: know 1 programming language (php), or c: program 2 hours on sundays and think they know everything
[00:09] telemachus: __directory: The name is nice. That's for sure.
[00:09] frodenius: i guess nobody would miss you :P
[00:09] Nexxy: wow that's harsh
[00:09] Nuck: My understanding was that it was similar to Node in that the server was handled by RoR/Sinatra
[00:09] rhdoenges: Nexxy: let's play russian roulette!
[00:09] frodenius: cruel IRC...
[00:09] Nuck: If I can install under nginx, please tell me, I would love to use that
[00:10] Nexxy: jah
[00:10] devaholic: My understanding is that anyone doing anything on the web not written solely in Node.js is a clueless moron
[00:10] devaholic: xD
[00:10] context: alrighty. thats my cue to get off irc.
[00:10] rhdoenges: yeah! stupid dns servers, written in fortran! yeah!
[00:10] devaholic: (stop arguing)
[00:10] frodenius: wat
[00:10] frodenius: dns in fortran?
[00:10] igl: context: OR php and apache have been around longer than you :)
[00:11] context: igl: nice !
[00:11] context: please to the intelligent ones: dont let to many of them kill too many of your brain cells.
[00:11] Nuck: It just annoys me that my issue tracker and my mongo Admin UI are built on RoR and not Node + Express
[00:11] telemachus: Nuck: If you're genuinely interested - http://www.modrails.com/
[00:11] rhdoenges: okay I have a serious question now --
[00:11] igl: i know alot of php folks. nobody throws their codebase out of the window for some young flavor of the month framework
[00:11] Nuck: telemachus: I'm gonna hafta take a look, because that could make my life easier :P
[00:11] rhdoenges: what is the standard way to build node.js on windows for development?
[00:11] devaholic: igl --
[00:11] Nuck: rhdoenges: I just don't.
[00:11] devaholic: igl--
[00:11] catb0t: igl now has -1 beer
[00:11] Nuck: I use SSH to a Linux box.
[00:12] tjholowaychuk: Nuck: more than 5 months old but at the time ruby was pretty comparable to node
[00:12] rhdoenges: Nuck: for development of node
[00:12] tjholowaychuk: with the little benchmarks i did at least
[00:12] systemfault: rhdoenges: Before today... the easiest way was praying.
[00:12] rhdoenges: I run linux
[00:12] Nexxy: omfg tjholowaychuk
[00:12] systemfault: rhdoenges: Then it's easy.
[00:12] rhdoenges: I merely wish to see how libuv is coming along.
[00:12] tjholowaychuk: Nexxy just being honest haha i hate it too
[00:12] Nexxy: I am in need of your personal library support
[00:12] igl: devaholic: #fanboy
[00:12] tjholowaychuk: Nexxy oh lol what's up
[00:12] devaholic: igl: #php
[00:12] SubStack: tcurdt: .skip(n)
[00:12] igl: devaholic: #whine
[00:12] danielrmz has joined the channel
[00:12] telemachus: ryah: It looks like 0.4.9 fails the same test. Since both passed on Snow Leopard, I'm guessing this is a Lion thing.
[00:12] Nexxy: how I can maek helper functions for your EJS implementation?
[00:13] devaholic: igl--
[00:13] catb0t: igl now has -2 beers
[00:13] tjholowaychuk: Nexxy the pipe filter things?
[00:13] thriple: thriple ++
[00:13] jesusabdullah: igl sounds like a crappy dsl
[00:13] jesusabdullah: don't you think?
[00:13] forte has joined the channel
[00:13] tjholowaychuk: Nexxy: otherwise just a regular local, but a function
[00:13] thriple: I can't beer myself?
[00:13] jesusabdullah: "Oh man I had to write this thing in igl today" "I'm so sorry"
[00:13] tjholowaychuk: Nexxy: I think the filters are ejs.filters.name = function(){}
[00:13] Nexxy: llike I want to do stuff like <%-prompt({some: 'stuff', here: 'lol'})%> instead of <%-partial('helpers/_prompt', {some: 'stuff', here: 'lol'})%>
[00:13] jesusabdullah: j/k igl
[00:13] Nuck: Nuck++
[00:13] frodenius: thriple㇀ no you cannot
[00:13] jesusabdullah: ;)
[00:13] catb0t: Nuck now has 2 beers
[00:13] Nuck: lol
[00:13] telemachus: seems fair in a way, thriple
[00:13] rhdoenges: thriple: don't put a space after your name
[00:13] Nuck: Yes, yes you can ;)
[00:13] frodenius: oh
[00:14] rhdoenges: I saw someone do it earlier
[00:14] frodenius: different bot, different rules
[00:14] rhdoenges: rhdoenges++
[00:14] catb0t: rhdoenges now has 2 beers
[00:14] rhdoenges: SEE
[00:14] rhdoenges: rhdoenges--
[00:14] catb0t: rhdoenges now has 1 beer
[00:14] frodenius: ya well
[00:14] rhdoenges: there.
[00:14] frodenius: bots change in here weekly it seems
[00:14] rhdoenges: a bot whose parse rules are rather strict
[00:14] Nexxy: tjholowaychuk, you said the filters were slow~!!
[00:14] Nuck: v8bot USED to be around
[00:14] Nuck: What happened to him?
[00:14] Cleer has left the channel
[00:14] rhdoenges: v8bot has gone to the great irc channel in the sky
[00:14] SubStack: .. [1,2,3].reduce(function (sum,x) { return sum + x }, 0)
[00:14] catb0t: 136
[00:14] Nexxy: how do you know it's a him?
[00:14] frodenius: catb0t: help\
[00:14] tuhoojabotti: I got around
[00:15] tjholowaychuk: Nexxy: app.helpers() or app.dynamicHelpers()
[00:15] frodenius: ah ..
[00:15] mcluskydodallas has joined the channel
[00:15] SubStack: see there is another bot that can do evals so that's nifty
[00:15] SubStack: .. require
[00:15] catb0t: ReferenceError: require is not defined
[00:15] SubStack: drat
[00:15] SubStack: .. process
[00:15] catb0t: ReferenceError: process is not defined
[00:15] rhdoenges: .. require('disappoint')
[00:15] catb0t: ReferenceError: require is not defined
[00:15] rhdoenges: :/
[00:15] SubStack: .. this
[00:15] Nuck: SubStack: Pretty sure it's a modded v8bot
[00:15] catb0t: TypeError: Cannot call method 'toString' of undefined
[00:15] rhdoenges: it'll do
[00:15] guest_845 has joined the channel
[00:15] Nuck: Considering v8bot WAS open-source
[00:15] frodenius: .. print
[00:15] catb0t: [Function]
[00:16] SubStack: v8bot evaporated?
[00:16] CIA-107: libuv: 03Ben Noordhuis 07master * r66f936b 10/ src/uv-unix.c :
[00:16] CIA-107: libuv: uv-unix: call uv__accept() instead of accept()
[00:16] CIA-107: libuv: uv__accept() puts the socket in non-blocking close-on-exec mode,
[00:16] CIA-107: libuv: accept() by itself does not.
[00:16] CIA-107: libuv: Solves the case of the mysteriously hanging HTTP benchmarks. - https://github.com/joyent/libuv/commit/66f936bfd766b349e374c02a3b7ce5d798edab0f
[00:16] tmzt: v8bot didn't hvae require either though
[00:16] SubStack: maybe v8bot got some VC money and turned closed source
[00:16] Nuck: SubStack: v8bot has gone to the great irc channel in the sky :'(
[00:16] Nuck: Got rest his metal soul.
[00:16] tuhoojabotti: bit coins
[00:16] Nexxy: LOL
[00:16] Nuck: *Science
[00:16] SubStack: I want to write a bot that can do require()
[00:16] jerrysv: v8bot++
[00:16] Nexxy: VC funding for IRC
[00:16] SubStack: safely
[00:16] rhdoenges: he evals in peace now
[00:16] Nexxy: that'd be great
[00:16] bradleymeck has joined the channel
[00:16] SubStack: the IRC market is heating up
[00:16] jerrysv: and pouring some on the curb in its honor
[00:17] benw_: tjholowaychuk: Got a minute to talk async exception stuff?
[00:17] rhdoenges: SubStack: do this and name the module node-condom
[00:17] AvianFlu: man, now I really gotta finish the kohai refactor, if v8bot is gone!
[00:17] tjholowaychuk: benw_ not right now sorry
[00:17] Nuck: SubStack: Take v8bot's sourcecode, and give access to a filtered version of require?
[00:17] benw_: tj: No worries
[00:17] Nexxy: SubStack, from a deep freeze?
[00:17] FesterCluck has joined the channel
[00:17] rudids has joined the channel
[00:17] Nuck: rhdoenges: lol node-condom?
[00:17] jerrysv: require from npm would be nice
[00:17] jerrysv: on a bot
[00:18] Nuck: jerrysv: Agreed.
[00:18] jesusabdullah: IN A WORLD where REQUIRING is a DANGEROUS PREPOSITION
[00:18] Nexxy: ONE IRC BOT
[00:18] SubStack: *proposition
[00:18] jesusabdullah: PROOOOOOPOSIGNGHASJG
[00:18] SubStack: prepositions ARE A DIFFERENT thing ENTIRELY
[00:18] jesusabdullah: YOUR MOM IS A DIFFERENT THING ENTIRELY
[00:18] Nexxy: ACTION propositions jesusabdullah
[00:18] Nexxy: ACTION prepositions jesusabdullah
[00:18] tmzt: catb0t: beers.toJson()
[00:18] jesusabdullah: ALSO I TOTALLY PROPOSITIONED YOUR MOM
[00:18] jesusabdullah: ER
[00:18] FesterCluck: Hola folks, just noticing 0.5.1. Anyone feel like discussing what great newness (or not) came with it?
[00:18] jesusabdullah: PREPOSITIONED? IHNFI
[00:18] jerrysv: catb0t++
[00:18] catb0t: catb0t now has 7 beers
[00:18] jesusabdullah: wordfail :(
[00:18] jerrysv: jerrysv++
[00:18] catb0t: jerrysv now has 4 beers
[00:18] Nuck: v8bot++
[00:19] isaacs: Your mom is nothing like a preposition. I end my sentences on her all the time.
[00:19] jesusabdullah: ACTION breaks out his websters
[00:19] tmzt: catb0t+=-1
[00:19] Nuck: D:
[00:19] isaacs: (if you know what i mean!)
[00:19] Nuck: Why does it block v8bot!?
[00:19] Nexxy: ACTION tweets that
[00:19] rhdoenges: isaacs++
[00:19] catb0t: isaacs now has 3 beers
[00:19] Nuck: RAAAAAEEEEEEGGGGG
[00:19] jerrysv: doesn't, v8bot isn't in the channel
[00:19] jerrysv: foo++
[00:19] SubStack: ACTION attempts to infer isaacs's meaning but can't because meaning doesn't exist
[00:19] bnoordhuis: FesterCluck: windows support is the main thing
[00:19] jerrysv: same thing
[00:19] Nuck: isaacs++
[00:19] jesusabdullah: isaacs: OOOH snap
[00:19] catb0t: isaacs now has 4 beers
[00:19] Nuck: That was epic.
[00:19] clifton: isaacs++
[00:19] catb0t: isaacs now has 5 beers
[00:19] SubStack: IF YOU CAN INFER THE INTENTS OF MY LANGUAGE
[00:19] rhdoenges: SubStack: pretend to be about 14 and it should make sense
[00:20] guest_887 has joined the channel
[00:20] FesterCluck: Bah
[00:20] Nexxy: LOL @ "pretend"
[00:20] versicolor has joined the channel
[00:20] Nexxy: he's 16 in 3 weeks
[00:20] tuhoojabotti: IS IT CAPSLOCK DAY AGAIN?
[00:20] Stephen: SubStack old friend: I've been out of the loop. Catch me up on the new versions?
[00:20] Nexxy: EVERYDAY IS CAPSLOCK DAY
[00:20] tuhoojabotti: o/
[00:20] guest_944 has joined the channel
[00:21] tmzt: loops? node has no loops :)
[00:21] isaacs: New social oddness experiment: When greeting people, state the time of day.
[00:21] isaacs: "Hello. It is morning"
[00:21] jesusabdullah: uuuugh I'm too hungry to thiiiiink
[00:21] rhdoenges: Nexxy: whose birthday is in 3 weeks and is there a party?
[00:21] jesusabdullah: but I think there might be food soon?
[00:21] jesusabdullah: Or do I go out?
[00:21] devaholic: isaacs: Good morning Commander Data
[00:21] hassox has joined the channel
[00:21] bnoguchi has joined the channel
[00:21] isaacs: people notice something is off, but they don't usually notice exactly what.
[00:21] Nexxy: lol rhdoenges
[00:21] guest_932 has joined the channel
[00:21] Nexxy: MINE!
[00:21] jesusabdullah: I live a hard life.
[00:21] Nuck: CAPSLOCK IN MEMORY OF BILLY MAYS. GOD REST HIS CRAZY SOUL.
[00:22] squeese has joined the channel
[00:22] jacobolus has joined the channel
[00:22] rhdoenges: Nexxy: let the pre-pre-partying commence
[00:22] Nexxy: I've been doing that for liek a month
[00:22] rhdoenges: MY CAPSLOCK KEY DOESN'T WORK, I REMAPPED IT TO CONTROL
[00:22] rhdoenges: MY PINKY NOW HURTS FROM HOLDING SHIFT SO MUCH
[00:23] rook2pawn has joined the channel
[00:23] isaacs: rhdoenges: You need to get a brick, and place it on the shift key
[00:23] isaacs: A LARGE BRICK.
[00:23] rhdoenges: Stephen: welp 0.5.x is unstable, but the commit messages on github should give you a good idea of the changes
[00:23] Nexxy: also tjholowaychuk ty
[00:23] isaacs: the harder you press it, the capser it'll be.
[00:23] devaholic: bill mayes wasnt crazy, his balls were just three times the size of a normal man
[00:23] Nexxy: wow
[00:23] Nexxy: inappropriate
[00:23] __directory: hello, it is evening
[00:24] jesusabdullah: Such is Billy Mays
[00:24] jesusabdullah: Deliciously inappropriate
[00:24] guest_503 has joined the channel
[00:24] rhdoenges: isaacs: BRICK ACQUIRED
[00:24] Nuck: I hear that oxyclean will take the warts off your sister's nuts.
[00:24] isaacs: devaholic: When he was a little kid, two testicles dropped, and then they were like BUT WAIT....! THERES MORE!!!!
[00:24] Nuck: 'tis true because 4chan told it to me.
[00:24] jesusabdullah: oh my God
[00:24] Nexxy: THAT explains it
[00:25] Nexxy: he's from 4chan
[00:25] jesusabdullah: Okay, this might actually be going too far >_<
[00:25] Fuu` has joined the channel
[00:25] Nexxy: jesusabdullah, I thought it did about 15 lines ago
[00:25] Nuck: lel
[00:25] Nexxy: IMHO
[00:25] devaholic: Nexxy--
[00:25] catb0t: Nexxy now has -1 beer
[00:25] rhdoenges: okay so I'm on a TTY so you are all going to have to imagine this in your heads:
[00:25] devaholic: :]
[00:25] __directory: jesusabdullah: gimme your cigarettes
[00:25] jesusabdullah: Nexxy++ //keeping it real
[00:25] isaacs: Nexxy++
[00:25] catb0t: Nexxy now has 0 beers
[00:25] jesusabdullah: __directory: Hail naw
[00:25] rhdoenges: ACTION look_of_disapproval
[00:25] Nuck: ouch
[00:25] Nexxy: ACTION qq
[00:25] jesusabdullah: __directory: COME FIND ME OUTSIDE YOU CAN BUM ONE OFF ME
[00:25] Nuck: rhdoenges: My mind hasn't switched from creepy mode yet. Still read TTY is TITTY
[00:25] jesusabdullah: but ONLY one
[00:26] jesusabdullah: tsk tsk
[00:26] CIA-107: libuv: 03Igor Zinkovsky 07pipes * r2765509 10/ src/win/pipe.c : Windows: Use PeekNamedPipe instead of non-blocking reads to peek at the pipe buffer - https://github.com/joyent/libuv/commit/2765509430d3378740b8864161d6c5df67d095b9
[00:26] CIA-107: libuv: 03Igor Zinkovsky 07pipes * rafc9987 10/ (8 files in 2 dirs): Add uv_pipe_bind tests - https://github.com/joyent/libuv/commit/afc998759f332db4aaadd2775e17e39b7315df60
[00:26] jesusabdullah: ACTION judges Nuck
[00:26] CIA-107: libuv: 03Igor Zinkovsky 07pipes * r5630e86 10/ (src/win/error.c src/win/internal.h src/win/pipe.c): Windows: make uv_pipe_bind fail for the pipe name already in-use - https://github.com/joyent/libuv/commit/5630e86870f245452a997874f6e8db2a95a8a090
[00:26] CIA-107: libuv: 03Igor Zinkovsky 07pipes * rea155d7 10/ (include/uv-win.h src/win/pipe.c): Allow pipe name to be in utf8 for uv_pipe_bind and uv_pipe_connect - https://github.com/joyent/libuv/commit/ea155d719d970f649befca0dbcbd53f6acdcd5de
[00:26] __directory: jesusabdullah: need bus fare too...
[00:26] rhdoenges: Nuck: close enough...
[00:26] Nexxy: le sigh
[00:26] rhdoenges: ACTION judges #Node.js
[00:26] jesusabdullah: __directory: I'm onto your schemes
[00:26] Nexxy: I bbl when the kids have gone to bed ;P
[00:26] CIA-107: libuv: 03Igor Zinkovsky 07master * r2765509 10/ src/win/pipe.c : Windows: Use PeekNamedPipe instead of non-blocking reads to peek at the pipe buffer - https://github.com/joyent/libuv/commit/2765509430d3378740b8864161d6c5df67d095b9
[00:26] CIA-107: libuv: 03Igor Zinkovsky 07master * rafc9987 10/ (8 files in 2 dirs): Add uv_pipe_bind tests - https://github.com/joyent/libuv/commit/afc998759f332db4aaadd2775e17e39b7315df60
[00:26] jesusabdullah: Lemme guess, you have a dying baby too?
[00:26] jesusabdullah: and no insurance?
[00:26] Nexxy has left the channel
[00:26] __directory: jesusabdullah: yah...
[00:26] rhdoenges: go windows support, go!
[00:27] mikeal has joined the channel
[00:27] rhdoenges: I actually like IOCP a lot
[00:28] rhdoenges: it works so much more sanely than anything on linux.
[00:28] rhdoenges: not necessarily faster, but it makes more sense.
[00:28] Stephen: Just saw that
[00:28] ryah: rhdoenges: that's debatable
[00:28] Stephen: How interesting
[00:29] rhdoenges: ryah: what, the speed?
[00:29] Stephen: What's the general consensus about the Windows Build?
[00:29] ryah: the sanity
[00:29] rhdoenges: oh :P
[00:29] Stephen: ++, or stick with Linux?
[00:29] ryah: Stephen: it's very alpha right now
[00:29] rhdoenges: ryah: stay sane :D
[00:30] ryah: doesn't support a lot of APIs like child_process
[00:30] ryah: it'll get better over the next few weeks
[00:30] isaacs: Stephen: if you wnat to help the project, use 0.5 on windows and get ready to find bugs and make patches. if you wanna get stuff done, use 0.4 on not-windows.
[00:30] Stephen: Cool, I'm gonna lurk here while I drive my butt home
[00:30] ryah: we're releasing v0.5.2 tomorrow with named pipe support
[00:30] rhdoenges: ryah: also, for building win from source, I need to install cygwin/mingw, yeah?
[00:30] Stephen: Actually, I need to stick with a stable version
[00:30] ryah: and child process support in v0.5.3 hopefully
[00:30] tonymilne has joined the channel
[00:30] ryah: rhdoenges: to build you need mingw/msys
[00:30] Stephen: I've been converting a PHP app to NodeJS for about 4 months now, and I just got word we may get funding soon
[00:30] ryah: rhdoenges: and python
[00:31] Stephen: So no more edge builds for me :-(
[00:31] Stephen: However, I must say, ryah, THANK YOU
[00:31] ezmobius has joined the channel
[00:31] neorab has joined the channel
[00:31] Stephen: Developing Client, Server, and DB in one language was a pipe dream before
[00:32] mcluskydodallas has joined the channel
[00:32] rhdoenges: ryah: ok, thanks. I'm going to try to be helpful
[00:32] Stephen: Firefox, NodeJS, and MongoDB is just... simple
[00:32] Stephen: Even got jquery 0.6.1 running in NodeJS
[00:32] rhdoenges: and, barring that, I'll just report bugs :p
[00:32] Stephen: Serverside deferreds are awsm
[00:32] SubStack: deferreds :(
[00:33] Stephen: Y U HATE DEFERREDS?
[00:33] rhdoenges: oh here we go again
[00:33] Stephen: lol
[00:33] Stephen: Nah
[00:33] rhdoenges: load your capslocks
[00:33] Stephen: didn't realize it was a thing
[00:33] Stephen: I'll leave it be
[00:33] Nuck: As much as I love jQuery's handling of DOM events
[00:33] rhdoenges: no, no, it was the capslock :)
[00:33] Nuck: I think EventEmitters are teh best event implementation ever
[00:34] Stephen: Didn't they just remove that?
[00:34] Stephen: Er, the old implementation I suppose
[00:34] rhdoenges: eh is a pretty cool guy and doesnt afraid of anything
[00:34] Nuck: Remove EventEmitters?
[00:34] SubStack: hey jquery I'm really happy for you
[00:34] Nuck: If they did, I'm gonna kill somebody!
[00:34] bayousoft has joined the channel
[00:34] rhdoenges: and imma let you finish
[00:34] Nuck: Because damnit EventEmitters were AMAZING
[00:34] Nuck: God installing gems takes foooooreeeeeevvveeeeeeer
[00:34] tjholowaychuk: pretty sure jquery doesn't call anything an EventEmitter
[00:35] Nuck: tjholowaychuk: That they don't
[00:35] Stephen: Just needed 1 language to communicate across Firefox Extension, Server, and DB
[00:35] Stephen: jQuery made for a nice smoothing tool
[00:35] Stephen: I'm sure there's a little overhead, but it couldn't be much
[00:35] Nuck: Mongo + Node + jQuery
[00:35] Stephen: Yup
[00:35] jerrysv: speaking of event emitters, is EM2 ready for prime time?
[00:35] Nuck: That's my DB, server, and view
[00:35] dingomanatee has joined the channel
[00:35] rhdoenges: how's mongo performance? I haven't used it much.
[00:36] Nuck: rhdoenges: Glorious, I hear.
[00:36] jerrysv: should i rely on it for a platform-level project?
[00:36] Stephen: Nuck: Seconded
[00:36] Stephen: alright, I'm out
[00:36] rhdoenges: Nuck: sick
[00:36] Nuck: I haven't used it on a large scale yet, but I know it's supposed to bewebscale
[00:36] Nuck: Why does isntalling a gem mean also installing ri and rdoc documentation?
[00:36] Nuck: Fuck the Manuals.
[00:36] rhdoenges: the important question is this:
[00:37] rhdoenges: why is most of `gem install` output telling me it installed some docs?
[00:37] Nuck: Well, fuck any manuals that take longer to install than the package itself
[00:37] __directory: Nuck you can tell it not to install ri/rdoc
[00:37] Nuck: __directory: Please, tell me.
[00:37] Nuck: It's getting rather annoying
[00:37] Nuck: Especially since it installs BOTH docs.
[00:38] telemachus: Nuck: This in $HOME/.gemrc gem: --no-ri --no-rdoc
[00:38] Nuck: Which is extremely silly.
[00:38] __directory: its --no-ri and --no-rdoc
[00:38] rhdoenges: alright I'm going to go attempt to wrangle some windows bugs
[00:38] rhdoenges: pray for me
[00:38] __directory: ACTION prays
[00:39] Nuck: fuggin Rdoc and ri
[00:39] Nuck: ACTION waits for the next 7 Rdocs to finish
[00:40] Nuck: Wait, no, just 3 now
[00:40] CIA-107: node: 03isaacs 07master * r588d885 10/ (lib/module.js test/simple/test-module-loading.js):
[00:40] CIA-107: node: Close #1357 Load json files with require()
[00:40] CIA-107: node: Signed off by everybody. - https://github.com/joyent/node/commit/588d885e81dec667920383ac7246daceeb7f99fd
[00:42] SubStack: isaacs: oh wow we can require('./turtles.json') now?
[00:42] corytheboyd has joined the channel
[00:43] SubStack: that's pretty nifty
[00:43] apanda has joined the channel
[00:43] isaacs: SubStack: yeah
[00:43] xerox: what does that do?
[00:43] isaacs: *everybody* seems to have agreed on this one. really surprising, actually.
[00:43] __directory: man...where can I grab turtles.json?
[00:43] isaacs: i don't think i've ever seen a feature suggestion that everyone wanted so badly, especially one so trivial to do in your own code.
[00:43] zmbmartin: Coming from ruby I use strftime to format the display of dates what do I use in js?
[00:44] devaholic: isaacs: is that 0.5.x?
[00:44] isaacs: zmbmartin: i remember there being something like that in javascript somewhere, but i don't see it in npm's registry
[00:44] isaacs: devaholic: yeah
[00:44] devaholic: damn..
[00:45] gozala has joined the channel
[00:45] devaholic: can we get that in 0.4.x?
[00:45] isaacs: devaholic: it's new api. but it's also literally 3 lines of code. you can put it in your own program really easily.
[00:45] devaholic: yeah, already have
[00:45] skoom has joined the channel
[00:45] tjholowaychuk: isaacs: I think small stuff like that is fine, it cant really be done any other way so at least there's no argument about how it's implemented
[00:45] amerine has joined the channel
[00:45] hij1nx has joined the channel
[00:45] sorensen: wheres mah turtles at
[00:45] SubStack: c/,,\
[00:46] SubStack: http://substack.net/images/dnode.png
[00:46] devaholic: c(,,)
[00:46] sonnym has joined the channel
[00:46] __directory: smang it
[00:46] Xano has joined the channel
[00:46] __directory: http://code.google.com/p/jmaki-store/source/browse/trunk/shared/web/data-turtles.json?spec=svn35&r=35
[00:47] sorensen: if only the node.js logo was a turtle
[00:47] sorensen: :D
[00:47] telemachus: zmbmartin: I think you write it - or use an external library - no built-in that I'm aware of
[00:48] random123: Here is a different question, I suppose that one is way to indepth for here anyway --- is it advisable to use Socket.io for loading Dynamic content or would you be better off using jQuery.ajax? Any real difference?
[00:49] random123: Pasted from Socket.io channel - not many people are there.
[00:49] isaacs: zmbmartin: http://hacks.bluesmoon.info/strftime/
[00:49] xandrews has joined the channel
[00:50] isaacs: zmbmartin: it's bsd-licensed. i bet philip would be happy to see you port it to node and put it in the npm registry
[00:50] isaacs: :)
[00:50] devaholic: random123: read about socket.io a bit... its far more than just ajax
[00:50] jerrysv: zmbmartin: date-utils ?
[00:51] rwaldron has joined the channel
[00:51] random123: devaholic: Yes, I am using socket.io for the realtime communication (chat mostly) but I am wondering if I should serve static content with it as well, since it is capable, or is that worse perfomance than jQuery.ajax for instance?
[00:52] _sorensen_ has joined the channel
[00:52] sorensen: i wonder where _sorensen_ came from...
[00:52] tonymilne: random123 I'm doing what you've described. Not sure yet whether it's better just yet. ;)
[00:53] tonymilne: random123 but stuff is written such that i could probably switch between ajax / socket without much pain.
[00:53] CIA-107: libuv: 03Bert Belder 07master * rf0c20aa 10/ (msvs/libuv-test.vcxproj test/test-list.h test/test-idle.c): Test: active idle watcher should not block other events - https://github.com/joyent/libuv/commit/f0c20aa9132fb7c2eb699661d21d2e6bc7265c5a
[00:55] random123: tonymilne, I wonder if it does offer a performance boost or penalty, I can go either way right now, I can see it even being faster since it uses WebSockets in newer browsers, and I don't know if jQuery does that, or if its better performance
[00:55] bnoguchi: random123: It depends on the transport. I think jQuery.ajax might be more performant than socket.io when they both are using http, not websocket
[00:56] bnoguchi: random123: Because socket.io has the additional overhead of framing
[00:57] random123: bnoguchi if socket.io has WebSockets avaliable in the browser then it would def. be quicker than jQuery.ajax?
[00:57] bnoguchi: random123: If the transport is websocket, I believe it depends on the data payload size.
[00:57] bnoguchi: random123: I don't believe that websocket has gzip support in browsers
[00:57] bnoguchi: random123: So you don't get the benefit of gzip. But you do get the benefit of not having to send headers on every request as you do with http.
[00:58] bnoguchi: random123: I would also look into spdy, if you are thinking about serving up static content. It's also supported in chrome.
[00:58] jacobolus has joined the channel
[00:58] mcluskydodallas has joined the channel
[00:59] pandeiro_ has joined the channel
[00:59] random123: ok, ty
[00:59] bnoguchi: random123: you can always bench it yourself
[00:59] bnoguchi: random123: for your particular data payloads
[01:00] clifton has joined the channel
[01:01] vikstrous has joined the channel
[01:04] CIA-107: libuv: 03Ryan Dahl 07master * rb931c93 10/ (8 files in 4 dirs): uv_close returns void - https://github.com/joyent/libuv/commit/b931c9313f9d80025aea422d43beee9bffc4f346
[01:05] Xeon06_ has joined the channel
[01:06] pifantastic has joined the channel
[01:06] dgathright has joined the channel
[01:06] neoesque has joined the channel
[01:06] cccaldas has joined the channel
[01:07] ditesh|cassini has joined the channel
[01:07] gregpascale has joined the channel
[01:08] JoshC1 has joined the channel
[01:08] gozala has left the channel
[01:10] Alien__ has joined the channel
[01:10] hassox has joined the channel
[01:11] mraleph has joined the channel
[01:11] Alien__: Any reccomendations for some sort of database to store javascript objects with node?
[01:11] jacobolus has joined the channel
[01:12] tonymilne: mongodb
[01:12] Alien__: Thanks! Ill look at MongoDB.
[01:12] markdaws_: Alien__: riak is a good document store, see: http://riakjs.org/
[01:12] Alien__: Ill look at Riak too!
[01:12] tonymilne: or node-dirty might work for you too.
[01:13] zemanel has joined the channel
[01:16] yokoaway has joined the channel
[01:18] geetarista has left the channel
[01:20] hippich has joined the channel
[01:20] wookiehang0ver has joined the channel
[01:20] kawaz has joined the channel
[01:21] pen has joined the channel
[01:21] asobrasil has joined the channel
[01:23] ckknight has joined the channel
[01:23] Alien__: Just wanted to say thanks for the recomendations. It looks like I am going to use node-dirty https://github.com/felixge/node-dirty
[01:26] tonymilne: hooooray!
[01:27] abraxas has joined the channel
[01:29] CIA-107: libuv: 03Bert Belder 07master * rd9612fe 10/ (src/win/handle.c test/test-async.c): More changes related to uv_close returning void - https://github.com/joyent/libuv/commit/d9612fe0e75884451264ee1a507516588db4e153
[01:29] CIA-107: libuv: 03Bert Belder 07master * r5f12c30 10/ test/test-idle.c : Correct idle_starvation test - https://github.com/joyent/libuv/commit/5f12c30f734f166b443603202e3e439df2dc9d10
[01:29] ryantm has joined the channel
[01:33] matyr has joined the channel
[01:35] CIA-107: libuv: 03Ben Noordhuis 07master * rc4611a4 10/ src/uv-unix.c :
[01:35] CIA-107: libuv: uv-unix: move stream->fd >= 0 asserts out of connection error path
[01:35] CIA-107: libuv: on_connect callback must be invoked even if the connect() syscall
[01:35] CIA-107: libuv: fails. stream->fd == -1 in that case. - https://github.com/joyent/libuv/commit/c4611a4148558840732677fae01e8319c35c688c
[01:38] nerdfiles has joined the channel
[01:38] Alien__ has joined the channel
[01:39] hippich has joined the channel
[01:39] hippich has joined the channel
[01:40] jakehow has joined the channel
[01:40] Nuck: Ugh rails is so sloooooooow
[01:40] jerrysv has joined the channel
[01:40] captain_morgan has joined the channel
[01:40] Nuck: Why can't it be more like Node.js :(
[01:41] Nuck: Nice and fast
[01:41] Nuck: npm > bundler
[01:41] halfhalo: yup
[01:41] Nuck: npm can get your dependencies in like 3 seconds
[01:41] Nuck: bundler seems to take hours
[01:41] isaacs: Nuck: yep. cuz it gets them all at the same time
[01:42] halfhalo: ACTION was pointed at nopt today. tis shiny
[01:42] dreamdust: What happened to cramp? I bet rails wouldn't be so slow if it was evented and async
[01:43] Nuck: Ruby is a slow language too
[01:43] Nuck: Ruby's VM is one of the slowest out there
[01:43] Nuck: Not like V8
[01:44] xandrews has joined the channel
[01:44] Nuck: god
[01:44] Nuck: It's a pain in the ass to install chiliproject
[01:44] _sorensen_ has joined the channel
[01:44] Nuck: At least for somebody like myself, who lacks and knowledge of Ruby or Rails
[01:44] bosky101 has joined the channel
[01:44] Nuck: Y U NO BUILD MYSQL /me rages
[01:44] __tosh has joined the channel
[01:45] halfhalo: heh
[01:45] Nuck: ugh
[01:45] halfhalo: I don't count redmine/chiliproject as a typical rails app
[01:45] Nuck: Worst of all, that's the database I'm gonna use
[01:45] bradleymeck: anyone here good w/ the debugger protocol
[01:45] halfhalo: it doesn't place nice with anythin
[01:45] Nuck: Remember the phrase "rails scales"?
[01:46] Nuck: Remember when people realized that was total bullshit?
[01:46] halfhalo: rails scales <------> thataway
[01:46] Nuck: halfhalo: Not all too well lol
[01:46] bnoordhuis: you know what scales?
[01:46] Nuck: Look at Twitter
[01:46] bnoordhuis: php
[01:46] bnoordhuis: there, i said it
[01:46] Nuck: bnoordhuis: Scales horribly
[01:46] maqr has joined the channel
[01:46] Nuck: At a certain point the inefficiencies become awful
[01:46] dreamdust: Scalability is incredibly context dependent.
[01:46] Nuck: And the memoery leaks can kill you
[01:46] dreamdust: It's almost pointless talking about it without context.
[01:46] igl: bnoordhuis: run
[01:47] Nuck: Fair enough ,dreamdust
[01:47] bnoordhuis: i'm only half-kidding btw
[01:47] Nuck: Either way, I need to make mySQL build for rails
[01:47] bnoordhuis: apache + mod_php > *
[01:48] bnoordhuis: just add servers and you're good to go
[01:48] Nuck: lol
[01:48] Nuck: Add a LOT of servers
[01:48] halfhalo: Nuck: mysql is always a tricky one. its always something arcane that makes it break
[01:48] brianc has joined the channel
[01:48] bnoordhuis: Nuck: yes, but servers are cheap
[01:48] Nuck: halfhalo: The MySQL in Node isn't so hard to build :(
[01:48] Nuck: bnoordhuis: lol fair enough
[01:48] bradleymeck: but ppl cand deal w/ lack of transactions sometimes
[01:49] Nuck: My skill is cheaper though, so I'm sticking to node :P
[01:49] Nuck: My skill is free for me
[01:49] Nuck: So I can make a VERY scalable setup without much work
[01:50] Nuck: Either way, I need chiliproject or redmine
[01:50] __directory: shit...
[01:50] Nuck: And I know some of you in here are recovered ruby folks
[01:50] __directory: come back and ruby/scaling/etc still going on
[01:51] Nuck: Can somebody tell me how to get the MySQL shit to build for chiliproject?
[01:51] halfhalo: Nuck: whats the error
[01:52] CIA-107: node: 03Ben Noordhuis 07master * r37cbc35 10/ (deps/uv/src/uv-unix.c lib/net_uv.js src/pipe_wrap.cc): net: add bindings to libuv pipe API - https://github.com/joyent/node/commit/37cbc355d53077c3406ab4f1d7679f3504dcbe51
[01:52] CIA-107: node: 03Ben Noordhuis 07master * r0c396c0 10/ (Makefile test/simple/test-http-unix-socket.js): test: beef up checks in test-http-unix-socket.js, add to `make test-uv` - https://github.com/joyent/node/commit/0c396c05fddca68f2d2378538ad7960f11f97141
[01:52] CIA-107: node: 03Ben Noordhuis 07master * r53aac9d 10/ (14 files in 4 dirs): uv: upgrade to afc9987 - https://github.com/joyent/node/commit/53aac9dde614bb5426c681ab9ba631bd5c33b1a3
[01:52] CIA-107: node: 03Ben Noordhuis 07master * r1b89323 10/ deps/uv/src/uv-unix.c : uv: back-port c4611a4 from libuv - https://github.com/joyent/node/commit/1b89323e92001481f7b0e1f14736d288b58b160e
[01:52] Nuck: Not sure, it logged like 3 screens of shit
[01:52] Nuck: Most of it appears to be config options
[01:52] Nuck: Could not create Makefile due to some reasonn, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options.
[01:53] gtramont1na has joined the channel
[01:54] Nuck: ACTION gists his error
[01:54] Nuck: https://gist.github.com/84326d16ade75e8882ea
[01:54] Nuck: That's the error
[01:54] brianseeders has joined the channel
[01:55] Nuck: that is probably the longest stack trace I've ever seen
[01:55] __directory: probably can't find your mysql library files
[01:55] __directory: oops im sorry, filez
[01:55] Nuck: __directory: What files :S
[01:56] jerrysv: nuck: mysqlclient
[01:56] jtsnow has joined the channel
[01:56] bnoordhuis: Nuck: i can tell you've never done enterprise java
[01:56] Nuck: Never borhtered with Jaba
[01:56] Nuck: Ewww I typoed so much
[01:57] bnoordhuis: in enterprise java, a 50 line stack trace is only warm-up
[01:58] blakmatrix has joined the channel
[01:58] Nuck: Ewwwww
[02:00] jimt_ has joined the channel
[02:01] piscisaureus has joined the channel
[02:02] tmzt: bnoordhuis: it be nice if node could only show stack frames from user code optionally
[02:02] dreamdust: That would be awesome.
[02:02] tmzt: or trace through callbacks better (when they are unrelated to what went wrong)
[02:03] tmzt: like treat a set of callbacks a scope, when you have something happening related to an event or mongo lookup but it's directly related it can be confusing having them in the stack trace
[02:03] tmzt: but I imagine that's hard to do
[02:04] tjholowaychuk: tmzt wouldnt be too bad actually
[02:04] Nuck: damn "uninitialized constant Rake::DSL"
[02:04] Nuck: ACTION shakes his fist at Ruby again
[02:04] tjholowaychuk: you can get references to the call site objects, and the functions etc
[02:05] tmzt: function.name ?
[02:05] Nuck: How Ruby grew popular, I cannot tell
[02:05] tjholowaychuk: but then i guess you have to figure out which functions are within the lexical scope
[02:05] agnat_ has joined the channel
[02:05] tjholowaychuk: tmzt the actual functions
[02:05] tjholowaychuk: i think on the call sites they are 'fun' props or something i cant remember
[02:05] __directory: because people like ruby's syntax and the what nots
[02:05] Nuck: meh
[02:06] jacobolus has joined the channel
[02:06] tmzt: even better, function.name referred to discussion I believe in mozilla bug that anonymous functions are (?) because there's no way to find a good name for them
[02:06] tmzt: __directory: which syntax?
[02:06] dreamdust: The lack thereof really.
[02:06] jimt has joined the channel
[02:06] dreamdust: But that's what coffeescript is for :)
[02:06] __directory: i dont do ruby
[02:06] tmzt: I'd like to have a real ORM in node, and a dry autoloading controller/template thing
[02:06] __directory: but people tell me they like it
[02:07] balupton has joined the channel
[02:07] tmzt: but no code generation
[02:07] davidbanham has joined the channel
[02:07] tmzt: dreamdust: what about jquery with selectors as first class objects, or something like that
[02:07] tmzt: would be pretty cool
[02:07] _sorensen_ has joined the channel
[02:07] CIA-107: libuv: 03Igor Zinkovsky 07master * ree5236c 10/ (src/win/error.c src/win/internal.h src/win/pipe.c): Windows: make uv_pipe_bind fail for the pipe name already in-use - https://github.com/joyent/libuv/commit/ee5236cf56ffcd5f132ce5292a9d38bf311d4964
[02:07] CIA-107: libuv: 03Igor Zinkovsky 07master * rf8bdddc 10/ (include/uv-win.h src/win/pipe.c): Allow pipe name to be in utf8 for uv_pipe_bind and uv_pipe_connect - https://github.com/joyent/libuv/commit/f8bdddcda9c778299b2830ad46e5943e4874048b
[02:07] blakmatrix has joined the channel
[02:07] dreamdust: Project idea: RubyJS - Javascript shorthand like coffeescript but emulating Ruby syntax.
[02:07] balupton has left the channel
[02:08] tmzt: seriously, a framework built on node could have all the benefits or rails without the drawbacks
[02:08] mike5w3c has joined the channel
[02:08] tmzt: dreamdust: a little reduntant?
[02:08] jacobolus has joined the channel
[02:08] Nuck: CoffeeScript *is* a lot like Ruby's syntax.
[02:09] Nuck: (that's why I can't stand it)
[02:09] tjholowaychuk: dreamdust lol that's been done
[02:09] tjholowaychuk: and failed as it should
[02:09] dreamdust: ACTION shrugs
[02:09] Nuck: tjholowaychuk: Too bad CS hasn't failed yet :(
[02:09] tjholowaychuk: because all the ruby ppl are coming over to js
[02:09] dreamdust: I don't even use coffeescript, not that up on it's syntax
[02:09] tjholowaychuk: finally
[02:10] tjholowaychuk: not that js is great
[02:10] tjholowaychuk: it's just less shitty
[02:10] dreamdust: right
[02:10] Nuck: JS is FAR less shitty than Ruby
[02:10] igl: nothing is great ^^
[02:10] Nuck: I've actually grown to like it
[02:10] Nuck: I think it's one of the best languages out there right now.
[02:10] Nuck: That's just not saying much
[02:11] tjholowaychuk: i like ... prototypes .. closures
[02:11] tjholowaychuk: thats about it
[02:11] tjholowaychuk: haha
[02:11] mraleph has joined the channel
[02:11] tjholowaychuk: i dont like how js does protos
[02:11] tjholowaychuk: but meh
[02:11] Nuck: I like the syntax and basically all functionality
[02:11] Nuck: So I like it overall
[02:11] Nuck: I don't use prototypes much, since they confuse the shit out of my code
[02:11] bnoordhuis: i like ice cream
[02:12] tmzt: protos?
[02:12] bnoordhuis: no, ice cream
[02:12] AvianFlu has joined the channel
[02:12] tjholowaychuk: i like ice cream too
[02:12] captain_morgan: I can get behind ice cream most days of the week aswell
[02:12] Nuck: I use self-executing anonymous functions to encapsulate my code usually
[02:12] __directory: ice cream doesn't scale
[02:12] igl: i like big pie and i can not lie
[02:13] Nuck: __directory: Never heard of Breyer's? Ben & Jerry's?
[02:13] Nuck: Both scaled Ice Cream production effectively.
[02:13] igl: ben & jerrys definitly scales better than häagen dazs
[02:13] fayce has joined the channel
[02:14] chrisdickinson: woot, pure js code coverage using bunker! http://dl.dropbox.com/u/15509266/coverage.png
[02:14] tjholowaychuk: chrisdickinson woot!
[02:14] tjholowaychuk: why is that -- red
[02:14] tjholowaychuk: and yet the conditional after it is not
[02:14] chjj has joined the channel
[02:14] __directory: ormnomnom
[02:14] Nuck: I'm scared to ask ##ruby or #rubyonrails to help me
[02:14] chrisdickinson: tjholowaychuk: I'm not taking into account a few ... pertinent things about "missed nodes")
[02:14] Cybrix has joined the channel
[02:14] Nuck: I hear they eat people like me.
[02:15] tjholowaychuk: ah :D
[02:15] tjholowaychuk: cool though
[02:15] chrisdickinson: that is to say, I add "red" before the node that got missed
[02:15] tjholowaychuk: nice to get that stuff into js finally
[02:15] burump has joined the channel
[02:15] chrisdickinson: all lines displayed are lines that my tests failed to execute
[02:15] tjholowaychuk: oh i see
[02:15] tjholowaychuk: that's confusing in the case of that --
[02:16] chrisdickinson: yeah, it's a little misleading :)
[02:16] tjholowaychuk: cool though if it does branch cov, (foo ? 'bar' : 'baz') with baz red etc
[02:16] tjholowaychuk: really amazed this was not js earlier
[02:16] tjholowaychuk: i didnt want to do it
[02:16] tjholowaychuk: haha
[02:16] tjholowaychuk: but even before jscov
[02:16] tjholowaychuk: i was like wtf
[02:16] chrisdickinson: tjholowaychuk: yeah -- there's actually an issue with burrito where it'll unwrap ternaries from their parens and not insert them back correctly :\
[02:17] chrisdickinson: (i've got a pull request outstanding for it though)
[02:17] tjholowaychuk: ah i see
[02:17] cjm has joined the channel
[02:17] Nuck: Is it really that hard a task for Rails to just create a goddamn database structure?
[02:17] rednul has joined the channel
[02:17] tjholowaychuk: i imagine reconstructing the look of the input as-is
[02:17] tjholowaychuk: wont work with that
[02:17] Nuck: I mean, that's a 1-liner in most languages.
[02:17] tjholowaychuk: like it does with jscov
[02:17] chrisdickinson: so I've still gotta track a few more corner cases down - it's running my code somewhat differently that without the coverage on
[02:17] Nuck: Somebody port redmine to Node for me D:
[02:18] chrisdickinson: tjholowaychuk: it works as-is with uglify, but burrito does a parse-deparse-parse-deparse dance that removes some important context about what nodes need parens.
[02:19] jimt has joined the channel
[02:19] Kami_ has joined the channel
[02:19] jesusabdullah: What's redmine, again?
[02:19] tmzt: Nuck: what do you mean? rails creates databases just fine, it something it's quite good at
[02:19] chrisdickinson: (which makes sense when you think about the fact that it needs to be able to dynamically change syntax)
[02:19] seawise_ has joined the channel
[02:19] chrisdickinson: tjholowaychuk: if you're interested, this is how i'm using bunker/burrito for coverage: https://gist.github.com/5901dbd9d4d29fae0253
[02:20] tjholowaychuk: cool cool
[02:21] sammmy has joined the channel
[02:21] sammmy: There is no rest (sleep) for the wicked (node).
[02:22] gtramont1na has joined the channel
[02:22] dreamdust: haha
[02:22] damienbrz has joined the channel
[02:22] tjholowaychuk: coroutines feel amazing after all this callback madness
[02:23] sammmy: what are coroutines?
[02:23] dreamdust: http://en.wikipedia.org/wiki/Coroutine
[02:24] jimt has joined the channel
[02:24] Nuck: tmzt: It's not being nice for me.
[02:24] chjj: callback madness...? this is node!
[02:24] burump has left the channel
[02:25] Nuck: ChiliProject install is failing on the step which sets up the db.
[02:25] Nuck: Something about a missing constant
[02:25] Nuck: So many glitches.
[02:25] Nuck: Dear god.
[02:25] CIA-107: libuv: 03Bert Belder 07master * r6e50576 10/ (src/win/core.c src/win/handle.c): Windows: follow libev loop semantics more closely - https://github.com/joyent/libuv/commit/6e505766be1dc32a56f93a323acefe53595c1ba2
[02:25] Nuck: How did anyone use Ruby?
[02:25] tmzt: Nuck: what are you trying to do?
[02:25] Nuck: tmzt: Set up ChiliProject
[02:25] tmzt: I"m not an expert though
[02:25] tmzt: not hardly
[02:25] jonaslund: tjholowaychuk: what are you using for coroutines ?
[02:25] tjholowaychuk: jonaslund secret
[02:26] tmzt: look in the migrate file
[02:26] Nuck: And I got to setp 7 on their install page, and now it's giving me this shit: https://gist.github.com/bdf984261387816c8993
[02:26] tjholowaychuk: just started it last night
[02:26] chrisdickinson: tjholowaychuk: have you tried out gevent + python?
[02:26] jonaslund: tjholowaychuk: :P
[02:26] tjholowaychuk: nope, i've barely used py
[02:26] jonaslund: tjholowaychuk: I made a weird "tailcall" lib.. it wasn't much of an improvement in practice when writing stuff though
[02:26] chrisdickinson: tjholowaychuk: it's pretty cool, it uses green threads to completely hide any async action -- so your code doesn't have to change to make it async.
[02:27] chrisdickinson: ...slash, you know, non-blocking.
[02:27] tmzt: Nuck: it really sounds like a missing library of some kind
[02:27] tjholowaychuk: chrisdickinson: yeah that's what I'm enjoying right now
[02:27] sammmy: So a subroutine is just another term for a function, correct?
[02:27] tjholowaychuk: sammmy kinda the other way around
[02:27] Nuck: tmzt: I used bundler, so I imagine that wouldn't be the case :S Found a chat for chiliproject on here (god I love freenode)
[02:27] kmiyashiro has joined the channel
[02:27] Nuck: So I'm gonna see if they can direct me towards some explanation :/
[02:27] tjholowaychuk: sammmy: oh sorry subroutine
[02:27] tjholowaychuk: yes
[02:28] sourcode has joined the channel
[02:28] tmzt: what is chiliproject?
[02:28] softdrink has joined the channel
[02:28] point9repeating has joined the channel
[02:28] sammmy: tjholowaychuk: Ah okay. So, somehow a coroutine is like a function but not exactly a function...?
[02:28] Nuck: tmzt: Fork of Redmine
[02:28] kmiyashiro has joined the channel
[02:29] Nuck: Supposed to be better maintained
[02:29] tjholowaychuk: sammmy: multiple stacks
[02:29] tjholowaychuk: sammmy: that cooperate by yielding
[02:29] jimt_ has joined the channel
[02:29] chrisdickinson: ACTION wonders out loud if that's anywhere near possible in vanilla js
[02:29] sammmy: tjholowaychuk: functions in JS can have multiple stacks though.
[02:30] piscisaureus: soccer
[02:30] sammmy: does that mean that JS functinons are coroutines?
[02:30] chrisdickinson: sammmy: js only runs one stack at a time.
[02:30] tjholowaychuk: vanilla js only has one stack
[02:31] d0k has joined the channel
[02:31] sammmy: Hmm. But in order to have multiple stacks in JS you would need to run multiple instances of a script?
[02:31] tjholowaychuk: sammmy: the reason apps using coros *look* sync is because you can yield on a blocking action and jump into another stack to do some work
[02:31] jonaslund: sammmy: basically what you have is user managed stacks
[02:32] kartmetal: isn't spidernode able to do exactly that?
[02:32] rauchg has joined the channel
[02:32] jonaslund: windows/*nix has C level co-routine libs (but different apis) and there's a fair number of personal hacks aswell
[02:33] sammmy: tjholowaychuk: so what apps use coroutines; is there a Node library that follows this pattern?
[02:33] isaacs: so, you know how the find(1) unix utility can take a list of expressions, and even stuff like -name foo.* -or -path baz*boo?
[02:33] isaacs: and parens and stuff?
[02:33] jonaslund: the simplest way would prolly to do a JS-JS translator
[02:33] isaacs: if you had a require("find"), what would be the best way to have that work?
[02:33] rhdoenges has joined the channel
[02:33] bnoordhuis: kartmetal: maybe, spidermonkey has support for generators at least
[02:34] isaacs: i'm tempted to just do find = require("find"); find(folder, { name: "foo.*", path: "baz*foo" }, cb), and forget about "or" and parens altogether.
[02:34] tjholowaychuk: isaacs: hmmMm.. mayble a variable number of strings and/or { name: foo } type args
[02:34] isaacs: what do you guys thing?
[02:34] tjholowaychuk: not sure
[02:34] zeade has joined the channel
[02:34] tjholowaychuk: mayble?
[02:34] tjholowaychuk: haha
[02:34] tjholowaychuk: wtf
[02:34] isaacs: hehe
[02:35] isaacs: so find(dir, {name:"*.js"}, {name:"foo.*"}, cb)
[02:35] kartmetal: bnoordhuis, what else would you need to get "real" co-routines? you'd have a yield operator.. you'd just need a main function that keeps circling through the relevant coroutines, right?
[02:35] isaacs: woudl that *only* find foo.js files?
[02:35] isaacs: or are they or-ed together?
[02:35] bnoordhuis: kartmetal: the idea is that coroutines can pass values to each other
[02:35] isaacs: and how would you do: -name *foo.* -name *blah*
[02:35] tjholowaychuk: I'd probably expect that to |
[02:35] kartmetal: ooh.
[02:35] __directory: seems or'd
[02:35] bnoordhuis: kartmetal: python generators can, with .send()
[02:36] tmpvar has joined the channel
[02:36] isaacs: another (painful, kinda fun) option would be: [ ["name", "foo*"], "or", ["path", "bar.*"], "and", "not", ....
[02:36] bnoordhuis: kartmetal: some quick googling suggests that spidermonkey has a .send() method as well
[02:37] Murugaratham has joined the channel
[02:37] matyr_ has joined the channel
[02:37] pylon__ has joined the channel
[02:37] bnoordhuis: kartmetal: in case you're interested: https://developer.mozilla.org/en/JavaScript/Guide/Iterators_and_Generators
[02:37] xeodox has joined the channel
[02:38] bnoordhuis: kartmetal: more specifically: https://developer.mozilla.org/en/JavaScript/Guide/Iterators_and_Generators#Advanced_generators
[02:38] kartmetal: yup, I found it too.. reading it..
[02:38] jameson has joined the channel
[02:38] kartmetal: isaacs, how about going chain-crazy? find(folder).name("foo").or().path("baz/foo") or somesuch?
[02:39] yozgrahame has joined the channel
[02:39] rauchg has joined the channel
[02:39] kartmetal: not a very nodish style, arguably.
[02:39] chjj: crossing into jquery territory
[02:40] jesusabdullah: I don't think there's such thing as "nodish style" really
[02:40] chjj: "chain everything, put everything on the prototype of one constructor"
[02:40] chjj: etc
[02:40] jesusabdullah: function chaining isn't a bad approach at all
[02:40] kartmetal: bnoordhuis, reading that stuff makes me want to see it in node.js proper.. can we bribe the v8 team to add more crazy goodness like that?
[02:41] bnoordhuis: kartmetal: i know what you mean :)
[02:41] isaacs: kartmetal: no. :)
[02:41] isaacs: kartmetal: i have a find util that i use in npm quite a bit. it just takes a regexp. it's great.
[02:42] isaacs: i mean, it's not great, butit's ok. it sorta works.
[02:42] kartmetal: jesusabdullah, kinda. If there's an underlying implementation that can leverage that chaning rather than just cheat and pile it on a big stack until it ends with a .run(callback) method, i'd be an easier sell.
[02:42] tjholowaychuk: isaacs haha actually yeah regexp sounds a lot better, simple.
[02:43] kartmetal: isaacs, it is simpler, but it doesn't capture the whole richness of the unix find tool.
[02:43] isaacs: yeah
[02:43] kartmetal: then again, it'd usually be enough for my puny uses of the tool.
[02:43] tjholowaychuk: meh
[02:43] isaacs: the thing is, with the unix tool, you can actually stream filenames through, switch between stat and lstat, etc.
[02:44] jesusabdullah: kartmetal: Oh yeah, definitely
[02:44] isaacs: i think what i'll do is just take an arbitrary list of either globs, regexps, or functions. the functions can be async, or can return true or false immediately.
[02:44] tjholowaychuk: i'll take simple and restrictive over powerful and complicated any day
[02:44] isaacs: and then the final cb gets a list of what matched.
[02:44] tmzt: jquery for the filesystem
[02:44] tmzt: :)
[02:45] isaacs: so you could do find(folder, "foo.*", function (er, foos) { ... })
[02:45] isaacs: no combinatorix
[02:45] kartmetal: at that point, is the implementation doing more than a findEverything(folder).filter(function(){...}) ?
[02:45] isaacs: i would like a bin that has feature parity with the unix util, though
[02:45] isaacs: kartmetal: yes.
[02:46] isaacs: there may be many many millions on files in there, and you just want the foos.
[02:46] kartmetal: well yes you get the regexp filter at least.
[02:46] kartmetal: ok
[02:46] isaacs: kartmetal: or you may want to do something like: find(dir, "foo.*", function (file, cb) { rm(file, cb) }, cb) to remove all the foos
[02:47] tmzt: like dir('.').children([/.*express.*/,/\*.js/).requireAll()
[02:47] tmzt: or something
[02:47] isaacs: ACTION isn't all that thrilled by function chaining
[02:48] tjholowaychuk: tmzt a dom-like approach would be kinda neat
[02:48] tjholowaychuk: progressive apis ftw
[02:48] isaacs: passing along state in an opaque object is tricky to get right. jquery does an ok job, but even then, I usually just do $(selector).doSomethign()
[02:48] kartmetal: fs.getFileByName("..")? :'(
[02:48] isaacs: you can build that on top of the find(..., cb) api anyhow
[02:49] isaacs: my eventual goal here is to replace node-glob with something that's 100% js, and split out everything generic from npm's util folder.
[02:53] Xeon06_ has joined the channel
[02:55] ngs has joined the channel
[02:56] jonaslund: V8 should have continuation support :)
[02:56] bnoguchi: jonaslund: There's a patch for v8 that gives it continuation support
[02:56] boehm has joined the channel
[02:57] hippich has joined the channel
[02:57] hippich has joined the channel
[02:57] bnoguchi: jonaslund: http://code.google.com/p/v8cgi/
[02:57] CIA-107: node: 03Ryan Dahl 07master * r133036f 10/ (16 files in 6 dirs): upgrade libuv to 6e50576 - https://github.com/joyent/node/commit/133036fdadbca1099cf1cf589987eea01236722e
[02:57] jonaslund: hmm
[02:58] jonaslund: node-fibers (fibers is the win api name for coroutines)
[02:58] jonaslund: https://github.com/laverdet/node-fibers
[02:59] vikstrous has joined the channel
[03:00] kriszyp has joined the channel
[03:01] carmony has joined the channel
[03:01] kartmetal: hmm. I was expecting something that'd process the source JS into something else, a la narrative JS, but this actually mixes threads into v8, it seems
[03:01] necrodearia has joined the channel
[03:01] rhdoenges_ has joined the channel
[03:02] jonaslund: I think there was support for this in early versions of node but it was deemed unstable or smth
[03:03] socketio\test\87 has joined the channel
[03:03] jonaslund: (I wasn't in here back then but i think it was in the changelog?)
[03:04] McLeopold has joined the channel
[03:05] Fandekasp has joined the channel
[03:06] sourcode has joined the channel
[03:07] McLeopold: I'm having trouble building nodejs on OSX Tiger. Can anyone here help?
[03:07] jonaslund: http://groups.google.com/group/nodejs/msg/df199d233ff17efa
[03:07] jonaslund: (Old message when the API changed)
[03:07] McLeopold: I get a python error
[03:08] McLeopold: the error is in wscript line 635: print "DEST_CPU: " + bld.env['DEST_CPU'] TypeError: cannot concatenate 'str' and 'list' objects
[03:09] rhdoenges`: what's your python version?
[03:09] McLeopold: 2.7
[03:09] McLeopold: I just upgraded from 2.3
[03:10] tmzt: wscript??
[03:10] McLeopold: I'm on a PPC G4
[03:12] pifantastic has joined the channel
[03:12] jakob has joined the channel
[03:13] xeodox has joined the channel
[03:14] McLeopold: tmzt: yes, wscript, it's in the main node foldr
[03:16] McLeopold: I'm on the v0.4 branch, if that makes a difference
[03:16] jasong_at_apache has joined the channel
[03:17] rhdoenges`: hmmmm
[03:17] ecin has left the channel
[03:17] rhdoenges`: bld.env[
[03:17] rhdoenges`: 'DEST_CPU'\
[03:17] rhdoenges`: *]
[03:17] rhdoenges`: geez I need to stay away from my enter key
[03:18] McLeopold: uh, is that a code change?
[03:18] rhdoenges`: that is an absurd error.
[03:18] rhdoenges`: does it print anything else at all?
[03:18] mattstevens has joined the channel
[03:18] captain_morgan has joined the channel
[03:18] McLeopold: bld.end['DEST_CPU'] is a list
[03:18] McLeopold: I guess I could wrap in in str(), just to see what it is
[03:19] McLeopold: I was hoping someone has run into this before
[03:19] McLeopold: DEST_OS: Darwin
[03:19] rhdoenges`: hmm
[03:20] wookiehangover has joined the channel
[03:20] rhdoenges`: could you just toss `print bld.env['DEST_CPU'] ` in right before the line with the error?
[03:20] rhdoenges`: just for investigative purposes
[03:20] McLeopold: DEST_CPU is a blank list :(
[03:21] caiges has joined the channel
[03:21] hydrozen has joined the channel
[03:22] rhdoenges`: whyyy is it a blank list?
[03:23] rhdoenges`: this is so strange
[03:23] rhdoenges`: well first of all using + is just a bad idea
[03:23] rhdoenges`: but anyway.
[03:24] McLeopold: true, but I fixed that, so, what should my DEST_CPU be?
[03:25] rhdoenges`: lemme check on my build
[03:26] nail_ has joined the channel
[03:26] ditesh|cassini has joined the channel
[03:27] optixx has joined the channel
[03:27] McLeopold: Now that I think about it, I can't install chrome because of my OS and CPU, so, maybe I'm out of luck running V8
[03:28] rhdoenges`: well, mine's ia32
[03:28] rhdoenges`: wait
[03:28] kartmetal: good point.. v8 relies on being able to generate asm opcodes for its target CPU.. I don't know if the G4 is supported.
[03:28] rhdoenges`: are you running on powerpc?
[03:29] rhdoenges`: yeah, you are -- it's a g4
[03:29] ckknight: anyone know of a javascript parser (in javascript) that produces an AST?
[03:30] rhdoenges`: ckknight: UglifyJS
[03:30] McLeopold: rhdoenges: thx for the help
[03:30] rhdoenges`: McLeopold: "V8 does not currently support PowerPC
[03:30] rhdoenges`: "
[03:30] ckknight: rhdoenges`: ah, yes
[03:30] rhdoenges`: that is what their website said
[03:30] rhdoenges`: :'(
[03:30] gregpascale has joined the channel
[03:31] vipaca has joined the channel
[03:31] vipaca has joined the channel
[03:31] Nuck: Ugh
[03:31] Nuck: Every time I solve one problem another pops up
[03:33] vipaca: If I register two listeners for the 'data' event of ServerRequest what is the expected behavior?
[03:34] Prometheus: Nuck: then would it not make sense to stop solving problems? =P
[03:35] random123: What is a good way to go multi-server with Node?
[03:35] vipaca: Rather what is the expected bahvior when this event fires? Will both register callbacks be inoked?
[03:35] Nuck: Prometheus: But I need to :(
[03:35] random123: Like if you have a server overloaded
[03:35] Nuck: I'd just rather be doing it in a language I know.
[03:35] Nuck: random123: load balancers
[03:36] vipaca: Or will there be some kinda non-deterministic behavior where at least one listener is triggered?
[03:36] hij1nx has joined the channel
[03:36] wavded has joined the channel
[03:37] vipaca: ACTION yawns
[03:37] sub_pop has joined the channel
[03:37] wavded has left the channel
[03:38] random123: Nuck: What if you are using something like Socket.io and you are associating specific information with specific clients in memory on that machine, like running a chat server and users are across multiple servers, would you have to then use load balancer, but if it goes to the wrong machine and that users socket is on another machine proxy the request or?
[03:39] random123: Forget socket.io, not important, but real time communication in general, where you don't want to put that information in a database, you just want to keep it in memory so you can push it to X client faster
[03:39] Nuck: memcaching?
[03:39] Prometheus: random123: 1. use load balancer, 2. use redis for state
[03:39] Prometheus: for example
[03:39] Spion_ has joined the channel
[03:40] Prometheus: redis = global shared memory =P
[03:40] AvianFlu has joined the channel
[03:40] random123: Ahh.. the answer to my prayers, ty
[03:41] rhdoenges`: redis is the bestest
[03:43] benjaminRRR has joined the channel
[03:43] Prometheus: clients are a bit annoying
[03:46] necrodearia has joined the channel
[03:48] mscdex: any windows dev gurus around?
[03:49] mykul has joined the channel
[03:53] Kami_ has joined the channel
[03:54] dgathright has joined the channel
[03:54] forzan has joined the channel
[04:00] piscisaureus has joined the channel
[04:03] mraleph has joined the channel
[04:04] ngs has joined the channel
[04:05] cnu_ has joined the channel
[04:05] gregpascale has joined the channel
[04:05] AvianFlu has joined the channel
[04:09] randal has joined the channel
[04:12] wookiehangover has joined the channel
[04:17] yhahn has joined the channel
[04:17] Remoun has joined the channel
[04:19] Remoun_ has joined the channel
[04:20] skm has joined the channel
[04:21] Stephen has joined the channel
[04:21] Stephen: And he's back
[04:22] AvianFlu has joined the channel
[04:23] Xeon06_ has joined the channel
[04:23] cjm has joined the channel
[04:24] raj has joined the channel
[04:24] skm has joined the channel
[04:25] wookiehangover has joined the channel
[04:25] benjaminRRR has joined the channel
[04:26] wookiehangover has joined the channel
[04:26] Xano has joined the channel
[04:32] skm has joined the channel
[04:33] Nexxy has joined the channel
[04:35] tayy_ has joined the channel
[04:36] jakehow has joined the channel
[04:37] rwaldron has joined the channel
[04:38] sebbel has joined the channel
[04:39] sebbel: hey
[04:39] hippich has joined the channel
[04:39] hippich has joined the channel
[04:42] Corren has joined the channel
[04:44] beriberikix: grrr, does anyone know how to decrypt a npm-debug.log?
[04:45] skm has joined the channel
[04:46] AvianFlu: decrypt? you mean 'understand'?
[04:47] beriberikix: exactly
[04:47] skm has joined the channel
[04:48] rurufufuss has joined the channel
[04:48] beriberikix: I'm trying to install a package on cygwin and npm is not happy
[04:49] Peniar has joined the channel
[04:49] blakmatrix has left the channel
[04:49] blakmatrix has joined the channel
[04:50] beriberikix: I'm getting Error: EACCES, Permission denied, though it should have access
[04:50] devaholic: can you update npm?
[04:50] devaholic: btw, npm has been having problems today so ive heard
[04:50] beriberikix: npm config set unsafe-perm true lets it install, but then it install random packages with unmet dependencies
[04:51] devaholic: it might not be you
[04:51] beriberikix: devaholic: ah, thanks for the info
[04:51] devaholic: if you need to get something done, suggest searching on npm and cloning repos
[04:55] cjm has joined the channel
[05:01] skm has joined the channel
[05:10] Mallioch has joined the channel
[05:11] Mallioch: sup?
[05:11] ryanfitz has joined the channel
[05:12] jacobolus has joined the channel
[05:13] Mallioch: Has anybody gotten the 0.5.1 windows build and socket.io to run on win7?
[05:15] kawaz_air has joined the channel
[05:17] trentm has joined the channel
[05:17] AvianFlu has joined the channel
[05:18] devaholic: can anyone speak to the confidence of parsing with require('url')? are there tests somewhere for it?
[05:20] Mallioch: does anyone know if there are plans for a windows build of npm to go along with the server builds?
[05:22] Spion has joined the channel
[05:22] AvianFlu: Mallioch: late in 0.5.x, I hear
[05:23] AvianFlu: 0.6.x will be the 'stable' version that has windows support
[05:23] AvianFlu: (UNIX versioning)
[05:23] Mallioch: I see. Good to know.
[05:28] ssam has joined the channel
[05:32] creationix has joined the channel
[05:32] creationix: any v8 people around?
[05:33] secoif has joined the channel
[05:33] anatoo has joined the channel
[05:35] creationix: Trying to figure out a way to tell is an object coming from JS was created by a certain ObjectTemplate
[05:37] AvianFlu_ has joined the channel
[05:37] sivy has joined the channel
[05:38] towski has joined the channel
[05:39] joshfng has joined the channel
[05:44] stephank has joined the channel
[05:47] mendel_ has joined the channel
[05:48] mendel_ has joined the channel
[05:48] skm has joined the channel
[05:48] secoif: hey i'm trying to create an npm module, clearly need to test it out before publishing, but when I say npm link, it's like "can't find xxx in npm repo"
[05:50] mikeal has joined the channel
[05:50] ngs has joined the channel
[05:50] necrodearia has joined the channel
[05:50] Nuck: Yay! Finally got ChiliProject up and running
[05:51] ditesh|cassini has joined the channel
[05:51] towski has joined the channel
[05:54] devaholic: secoif: try tomorrow
[05:55] vyvea has joined the channel
[05:58] lmorchard has joined the channel
[05:59] donald_cook has joined the channel
[05:59] pen has joined the channel
[06:02] Viehzeug has joined the channel
[06:03] mikeal has joined the channel
[06:04] SamuraiJack has joined the channel
[06:05] mange has joined the channel
[06:07] zilch_ has joined the channel
[06:07] secoif: devaholic ???
[06:07] Nexxy has joined the channel
[06:08] kawaz_air has joined the channel
[06:08] SubStack: holy balls at least ~0.5% of san francisco has a github account
[06:09] chicmome has left the channel
[06:09] SubStack: https://github.com/search?type=Users&language=&q=location%3Asan%2Bfrancisco&repo=&langOverride=&x=0&y=0&start_value=1
[06:09] harthur has joined the channel
[06:09] SubStack: .. 4002 / 805235 * 100
[06:09] catb0t: 130.49699777083708485
[06:10] mnaser has joined the channel
[06:11] bnoguchi has joined the channel
[06:12] guest_435 has joined the channel
[06:12] ssam has left the channel
[06:13] andree has joined the channel
[06:14] bosky101 has joined the channel
[06:15] threecreepio has joined the channel
[06:16] chrisdickinson: SubStack: sorry for bugging you re: bunker/burrito so much lately, but I found another discrepancy
[06:16] chrisdickinson: i'm trying to add them in as test cases for burrito as I find them
[06:17] muhqu has joined the channel
[06:17] templaedhel has joined the channel
[06:18] secoif: how do I tell npm I have an executable I want it to install?
[06:18] secoif: have a /bin folder or something?
[06:18] templaedhel: Hello. I am tryng to parse a POST request with Content-type: application/json and formidable doesn't handle that. Any suggestions?
[06:18] secoif: * ./bin
[06:19] SubStack: secoif: npm help json
[06:19] SubStack: the bin field is what you're looking for
[06:19] secoif: SubStack ah, easy. thanks
[06:20] vikstrous has joined the channel
[06:20] unlink has joined the channel
[06:20] unlink has joined the channel
[06:21] Nexxy has joined the channel
[06:21] Nexxy has joined the channel
[06:22] hij1nx has joined the channel
[06:25] mike5w3c_ has joined the channel
[06:26] sub_pop has joined the channel
[06:26] ack has joined the channel
[06:26] mytrile has joined the channel
[06:27] stalled has joined the channel
[06:27] mykul has joined the channel
[06:28] christophsturm has joined the channel
[06:30] donald_cook has joined the channel
[06:33] Youdaman has joined the channel
[06:33] Youdaman: ACTION waves
[06:33] mikl has joined the channel
[06:33] mikl has joined the channel
[06:34] ParadoxQuine has joined the channel
[06:35] mikedeboer has joined the channel
[06:40] slajax1 has joined the channel
[06:41] fille has joined the channel
[06:41] jborst has joined the channel
[06:41] AAA_awright: Is there a quick guide to parsing urlencoded POST data?
[06:43] jelveh has joined the channel
[06:43] mikedeboer has joined the channel
[06:44] groom has joined the channel
[06:44] StepanKuzmin has joined the channel
[06:44] templaedhel: AAA_awright use formidible
[06:44] templaedhel: *01 formidable01
[06:45] mykul|Home has joined the channel
[06:46] AAA_awright: templaedhel: I tried that once for multipart/form-data data but the API was just awful
[06:46] templaedhel: AAA_awright What would you like for an API
[06:47] templaedhel: You make a callback, and one of the arguemnts is an object of key value pairs of form fields, seems about right.
[06:48] cnu_ has joined the channel
[06:48] `3rdEden has joined the channel
[06:49] AAA_awright: Actually the problem was I need access to an Array of the fields in the order they were posted, /allowing for repeated names/
[06:50] templaedhel: AAA_awright Are repeated names even valid html?
[06:51] AAA_awright: names yes, id no
[06:51] templaedhel: I didn't know that worked.
[06:51] templaedhel: I'm trying to think of other languages, and allowing for repeated field names
[06:51] AAA_awright: Actually that's how browsers urlencode it will POST or GET field=first&field=second
[06:52] balaa has joined the channel
[06:52] chjj: this v8 vegetable juice tastes nothing like javascript
[06:52] chjj: nor does it taste like an engine
[06:52] chjj: ...
[06:53] ccare has joined the channel
[06:53] AAA_awright: templaedhel: querystring.parse returns an Array of each of the values in that case, when I tried it formidable did not
[06:54] AAA_awright: ACTION checks the source again
[06:55] fille: greate the fire alarm @work
[06:56] AAA_awright: Lock your desktop!
[06:56] Nuck: Close your porn!
[06:56] fille: :D
[06:56] AAA_awright: Well, lock the screen, same thing
[06:56] fille: im stuck here with vaadin and lifray
[06:56] AAA_awright: Yes that too!
[06:57] AAA_awright: Oh yeah that's right, formidable sends events for each field
[06:57] fille: i whant to contribute to a open source project, but i guess i can only contribute with shit
[06:57] corytheboyd has joined the channel
[06:58] stalled has joined the channel
[06:58] Nuck: fille: Everybody shits.
[06:58] Nuck: Or so I hear.
[06:58] fille: :D
[06:58] Nuck: All I know is that when I push hard, a yacht pops out my ass
[06:58] Nuck: Does that make me better? Who knows.
[06:58] Nuck: I think it does.
[06:59] fille: lol, i read the CNode.js
[06:59] fille: got to be a joke
[06:59] Nuck: cnode.js?
[06:59] fille: rya Twitt
[06:59] chjj: huh?
[06:59] fille: http://cnodejs.org/blog/?page_id=849
[06:59] mikeal has joined the channel
[07:00] mykul has joined the channel
[07:00] chjj: ...
[07:00] jbpros has joined the channel
[07:00] chjj: what is that?
[07:00] chjj: lol
[07:01] fille: ryah latest twitt. man we need to do something about those chines people
[07:01] fille: they are taking over the world
[07:02] secoif has joined the channel
[07:02] chjj: but i dont get it, whats with that shirt?
[07:02] chjj: making a joke about the logo?
[07:02] fille: well they put a fuckin C in fron of the node.js logo
[07:03] chjj: i see that
[07:03] fille: thats no bothering you?
[07:03] chjj: i dont get it
[07:03] mape: "force to be reckoned with" ?
[07:03] chjj: i have no idea whats going on, i dont speak chinese
[07:03] mape: china node.js ?
[07:03] fille: i understand why we changed the node.js logo
[07:03] mape: cnode.js
[07:03] Nuck: chjj: I'm the same right now
[07:04] fille: well i will take the coca-cola logo and put an F in front of it
[07:04] Nuck: They're a chinese community about Node
[07:05] fille: i love the creativity
[07:05] Nuck: CNodeJS.ORG cool T-shirt
[07:05] Nuck: CNodeJS.ORG cool special limited edition T-shirt, black, present some yardage: Men (XXL, XL, L), Women (L)
[07:05] Nuck: lol
[07:05] Nuck: "present some yardage"
[07:06] Nuck: And they don't explain the shirt well, at least not in the machine translation of it D:
[07:06] fille: :D
[07:07] fille: nuck do u twitt?
[07:08] guidocalvano has joined the channel
[07:08] towski has joined the channel
[07:08] dd has joined the channel
[07:08] Nuck: fille: I twat.
[07:08] Nuck: @NuckChorris
[07:08] fille: thansk!
[07:09] Nuck: your welocme.
[07:09] fille: french?
[07:09] Nuck: fille: eh?
[07:10] royh: Nuck: lol... it is evented, async and non-blocking though. I found it hillarious! :P
[07:11] fille: Modesto, CA ?
[07:11] Nuck: Ayup
[07:11] Nuck: royh: But... WHAT?
[07:12] Nuck: Who said "I'm gonna make a Chinese Node.js community, take their logo, slap a C in front, then make a shirt for this community promintently featuring an illustration of a man and a woman having sex doggystyle"
[07:13] temp01 has joined the channel
[07:13] royh: Nuck: does it have to make sense?
[07:14] jacobolus has joined the channel
[07:14] fille: well they got the old logo anyway
[07:15] djcoin has joined the channel
[07:16] royh: so the issue here is they made a community around nodejs and didn't take the time to come up with a creative enough logo?
[07:16] versicolor has joined the channel
[07:16] fille: i dident put the TM on the logo
[07:17] Nuck: Who's that on the front page?
[07:17] Nuck: http://cnodejs.org/slider-images/banner2.gif
[07:17] Nuck: lol
[07:18] pigmej has joined the channel
[07:18] gausby has joined the channel
[07:18] mrtrosen has joined the channel
[07:21] mscdex: windows development = fuuuuuuuuuuuuuu
[07:21] corytheboyd has left the channel
[07:22] fille: System.out.println................
[07:22] systemfault: mscdex: Coming from someone with mscdex as nickname :/
[07:23] systemfault: I would have expected a Microsoft tatoo on the chest
[07:23] fille: dont se the M$ as a problem.
[07:23] PhilK has joined the channel
[07:23] systemfault: Neither I.
[07:23] sgimeno has joined the channel
[07:24] fostah has joined the channel
[07:24] fille: apple is a shit company, they dosent contribute to global community at all
[07:24] systemfault: What?
[07:24] fille: :D
[07:24] systemfault: ...
[07:24] jonaslund: apperantly apple is more like "contribute eventually"
[07:25] systemfault: What a load of bullshit.
[07:25] systemfault: Webkit... clang...
[07:25] jonaslund: although isn't the current webkit apple based ?
[07:25] systemfault: llvm
[07:25] fille: sorry, im just tierd of apple ...
[07:25] rauchg has joined the channel
[07:25] slajax has joined the channel
[07:25] systemfault: Apple, love the hardware.. hate the company.
[07:26] jonaslund: systemfault: although, apperantly much of apples contributions are big drops and not open commits
[07:26] SubStack: I hate it when big corps do that
[07:26] brainproxy: I'm thinking of moving may day to day laptop dev environment to ubuntu; I do all my node.js stuff in linux virtual machines anyway; but I'll keep the mb pro for creative suite and stuff like final cut
[07:26] systemfault: jonaslund: That's false, I even know people who contribute.
[07:26] systemfault: To clang at least...
[07:27] fille: im using ubuntu at home. its okej, just sad about the optimus
[07:27] systemfault: And the guys on OFTC are very nice
[07:27] azeroth_ has joined the channel
[07:27] systemfault: (The llvm official channel is on oftc)
[07:27] brainproxy: #linode is there too, great place to ask questions related to linux hosting
[07:29] [AD]Turbo has joined the channel
[07:29] systemfault: There's a lot of FUD about Apple contributions because they don't like the GPL.
[07:30] pdelgallego has joined the channel
[07:31] Prometheus: systemfault: big companies tend to take a lot of flak unrightfully =)
[07:31] kmox83 has joined the channel
[07:31] SubStack: ok now getting this crazy testing shit off the ground
[07:31] Prometheus: so nothing new there
[07:31] Prometheus: s/take/receive
[07:31] jensn has joined the channel
[07:31] TheJH has joined the channel
[07:32] bosky101 has joined the channel
[07:32] sourcode has joined the channel
[07:34] neoesque has joined the channel
[07:34] mikl has joined the channel
[07:34] mikl has joined the channel
[07:35] kawaz_air has joined the channel
[07:38] herbySk has joined the channel
[07:40] KingJamool has joined the channel
[07:42] tbassetto has joined the channel
[07:43] thriple has joined the channel
[07:43] seawise has joined the channel
[07:44] seawise_ has joined the channel
[07:44] kawaz_air has joined the channel
[07:44] robhawkes has joined the channel
[07:45] mraleph has joined the channel
[07:45] mscdex: node.js rules!
[07:45] seawise has joined the channel
[07:48] Prometheus: yessir
[07:48] seivan has joined the channel
[07:48] seivan: Nodeko people?
[07:49] tuhoojabotti: \o/
[07:49] Nuck: I wanted to do node KO, but I'm too busy :P
[07:49] tuhoojabotti: nodecon
[07:50] NetRoY has joined the channel
[07:52] TomY has joined the channel
[07:52] Youdaman has left the channel
[07:52] bergie has joined the channel
[07:53] seawise_ has joined the channel
[07:53] Druide_ has joined the channel
[07:55] [AD]Turbo: hi there
[07:56] tuhoojabotti: Hello [AD]Turbo.
[07:58] mikl has joined the channel
[07:58] mikl has joined the channel
[07:58] mikedeboer has joined the channel
[07:59] seawise has joined the channel
[07:59] markwubben has joined the channel
[08:00] loveshine has joined the channel
[08:00] loveshine: any familiar with apricot?
[08:00] loveshine: i'm having trouble accessing the .innerText property
[08:01] __tosh has joined the channel
[08:03] tonymilne has left the channel
[08:03] Nuck: Nothing beats coding at 1AM while listening to Gogol Bordello.
[08:03] tuhoojabotti: Nuck: Stop advertizing that.
[08:03] tuhoojabotti: :E
[08:04] whitman has joined the channel
[08:04] Nuck: tuhoojabotti: What kind of face is :E?
[08:04] tuhoojabotti: E:
[08:04] Nuck: :3
[08:05] Prometheus: :@
[08:05] tuhoojabotti: :O)
[08:05] Prometheus: client work, I hates it :)
[08:05] Nuck: tuhoojabotti: lol fat man blowjob
[08:05] Nuck: oh hey it's thursday
[08:05] Prometheus: Nuck: wild imagination you have =P
[08:05] simfa has joined the channel
[08:05] Prometheus: yes it is
[08:05] simfa has left the channel
[08:05] Prometheus: ~4 am
[08:05] Nuck: Prometheus: It's what :O) looks like to me
[08:05] tuhoojabotti: It's 11:05
[08:05] Nuck: Prometheus: Only 1 AM here
[08:05] Prometheus: lies, it's 4 am
[08:05] tuhoojabotti: AM
[08:05] tuhoojabotti: :P
[08:06] Nuck: Who gives a fuck about anywhere except California?
[08:06] Nuck: We have Silicon Valley
[08:06] Prometheus: $ python -c "import datetime; print datetime.datetime.utcnow()" = 2011-07-21 08:06:16.894593
[08:06] Nuck: You folks might as well not exsit :P
[08:06] SubStack: except for silicon valley sucks :p
[08:06] igl: california über alles
[08:06] SubStack: everything south of millbrae can fuck off
[08:07] Nuck: SubStack: Everything East of BART can fuck off too :V
[08:07] Nuck: Fuck Modesto.
[08:07] jesusabdullah: It's true!
[08:07] Nuck: This city is a horrible red splotch on this state.
[08:07] jesusabdullah: red?
[08:07] jesusabdullah: Why are all the buildings red?
[08:07] SubStack: bart will probably reach modesto in a few years at the rate it's going
[08:07] Nuck: yeah, Republican
[08:07] jesusabdullah: OHHHHHH
[08:07] Nuck: SubStack: Nah, we're gonna be reached by the statewide light rail
[08:07] jacobolus has joined the channel
[08:08] ParadoxQuine has joined the channel
[08:08] tuhoojabotti: Hmm
[08:08] andree has joined the channel
[08:08] Prometheus: did that bot die again? -_-
[08:08] Nuck: Prometheus: v8bot?
[08:08] Prometheus: yessir
[08:08] Nuck: It's been down for days
[08:08] tuhoojabotti: Is the socket.io.js same in the server and the web page?
[08:08] Prometheus: or is it just having a nap?
[08:08] emattias has joined the channel
[08:08] Nuck: catb0t is filling in
[08:08] Prometheus: oh
[08:08] Prometheus: how does catb0t work?
[08:09] Nuck: catb0t: return true;
[08:09] SubStack: .. var sum = 0; for (var i = 0; i < 10; i++) sum += i; sum
[08:09] catb0t: 1345
[08:09] tuhoojabotti: Badly.
[08:09] Prometheus: ACTION pokes catb0t
[08:09] Nuck: Oh right it's ..
[08:09] tuhoojabotti: tuhoojabotti++
[08:09] catb0t: tuhoojabotti now has 2 beers
[08:09] AAA_awright: Nuck: :E represents a sort of petrified horror to me
[08:09] tuhoojabotti: See?
[08:09] AAA_awright: Or ackwardness
[08:09] Prometheus: .. new Date().toUTCString()
[08:09] tuhoojabotti: :O) is clearly pig face.
[08:09] catb0t: 03'Thu, 21 Jul 2011 08:09:31 GMT'
[08:09] Prometheus: thar
[08:09] Nuck: AAA_awright: Looks like a british man to me
[08:09] tuhoojabotti: :DD
[08:09] Nuck: With sonky teeth
[08:10] Prometheus: :F
[08:10] Prometheus: anywya.
[08:10] AAA_awright: Or a sort of affectionite horrow
[08:10] zackattack has joined the channel
[08:10] Aiden has joined the channel
[08:11] AAA_awright: Like maybe "My girlfriend asked me if I have a duct tape fetish :E"
[08:11] sfoster has joined the channel
[08:11] Nuck: AAA_awright: This from experience?
[08:11] tuhoojabotti: :D
[08:11] AAA_awright: Sadly no
[08:11] Nuck: lol
[08:11] tuhoojabotti: Then what about E:?
[08:12] AAA_awright: templaedhel: Same thing but with a massive overbite
[08:12] tuhoojabotti: lol.
[08:12] tuhoojabotti: Fail-complete.
[08:12] AAA_awright: >_<
[08:12] AAA_awright: Wiw
[08:13] AAA_awright: tuhoojabotti: ^
[08:13] AAA_awright: Bah I'm not typing well today
[08:13] tuhoojabotti: Ye, I got that.
[08:13] AAA_awright: Just for the record,.
[08:13] tuhoojabotti: What happens on #Node.js, stays on #Node.js
[08:13] thriple: stupid question but: what does it mean to require something? Can I just think of it like concatenating it to the top of whatever code I am writing?
[08:14] igl: nope
[08:14] tuhoojabotti: It's not include ":D"
[08:15] Ezku\: thriple: when you require something, you get an object representing whatever the target script has exported
[08:15] igl: thriple: you load a module, which itself exports the properties/functions you want it to export to outside
[08:15] ckknight has joined the channel
[08:15] thriple: Ezku: so its like a singleton of the required object?
[08:16] thriple: igl: private object and some methods are made public by 'export'ing them"
[08:16] adrianmg has joined the channel
[08:16] thriple: :
[08:18] akiva has joined the channel
[08:18] `3rdEden has joined the channel
[08:18] aliem has joined the channel
[08:19] confoocious has joined the channel
[08:19] confoocious has joined the channel
[08:19] cjm has joined the channel
[08:19] Aiden has joined the channel
[08:19] Swizec has joined the channel
[08:20] hellp has joined the channel
[08:22] Nuck: How would I go about keeping a temporary folder :slow:
[08:22] Nuck: I want to have user uploads and such
[08:22] Nuck: But I'm not sure how often to clean it, etc.
[08:23] Nuck: I assume doing a timer per upload would be bad
[08:23] AAA_awright: Do you need to store it as a file?
[08:23] AAA_awright: Nuck: Or just go the Flash route, create a tempfile, unlink it, but keep the file pointer around so it's still on disk
[08:23] Nuck: huh?
[08:24] Nuck: That's an interesting thing, how do I do that?
[08:24] Nuck: AAA_awright: Any example for that?
[08:24] AAA_awright: Alright there's two ways I know of, first of is mktmp
[08:24] Nuck: It needs to be written to the proper location after a while
[08:24] AAA_awright: or mktemp system call
[08:24] Nuck: hmm
[08:25] AAA_awright: Nuck: It's also possible to create a file, unlink it, but keep the file descriptor around and continue to write to it, that's actually valid to do
[08:25] pgte has joined the channel
[08:25] AAA_awright: Node.js does not appear to have http://linux.die.net/man/1/mktemp
[08:25] Nuck: The thing is, I'm taking uploads as a raw bytestream lodged into an HTTP POST
[08:26] Nuck: So I pipe to a file
[08:26] Nuck: Can I still do that?
[08:26] AAA_awright: Should work
[08:26] hassox has joined the channel
[08:26] AAA_awright: If you want a filename later you should be able to create a new hardlink
[08:26] Nuck: I'm not a linux person, I'm afraid I don't know what you mean by hardlink
[08:27] Nuck: AAA_awright: I'm sure there's an mktemp in npm :P
[08:27] AAA_awright: Nuck: Probably
[08:28] AAA_awright: Nuck: A file is really just a pointer to hard disk space, and if you have a hardlink to a file, they appear as two files with different permissions and filenames and everything, but the contents point to the same location on disk
[08:28] AAA_awright: So if you hardlink to a file, it's creating a new filename reference
[08:28] AAA_awright: I presume you can hardlink to a file on disk with zero references
[08:28] AAA_awright: and create a normal file
[08:28] AAA_awright: Nuck: This is as opposed to a symlink which is just a pointer to another filename
[08:29] Nuck: https://github.com/bruce/node-temp
[08:29] AAA_awright: Best to google it, or "man ln"
[08:29] AAA_awright: Like so http://linux.die.net/man/1/ln
[08:30] AAA_awright: http://linux.die.net/man/2/link is the command that hardlinks
[08:30] AAA_awright: unlink(2) - delete a name and possibly the file it refers to
[08:31] AAA_awright: Note "possibly" the file it refers to
[08:31] Nuck: fs.link(srcpath, dstpath, [callback])
[08:31] skohorn has joined the channel
[08:31] eldios has joined the channel
[08:32] AAA_awright: Nuck: What exactly do you have in mind, I suppose once you accept the upload you want to relocate it over the network to a static file server right?
[08:32] Nuck: Somebody make me a module that provides mktemp
[08:33] Nuck: AAA_awright: I was talking to my host and he told me that can be dealt with using a regular directory
[08:33] Nuck: And a network fs I assume
[08:33] akiva has joined the channel
[08:34] Nuck: AAA_awright: But yes, it wil end up on a static file server
[08:34] Aiden has joined the channel
[08:34] narayan82 has joined the channel
[08:34] AAA_awright: And you want to thumbnail/scale/recompress some of the files too
[08:35] AAA_awright: That can be done on the static server as a slave process I guess
[08:35] AAA_awright: Nuck: Yeah maybe nfs would be easiest, otherwise you're programming for sftp
[08:36] Nuck: my host is a smart man
[08:36] Nuck: He's yet to lead me wrong :P
[08:36] AAA_awright: He can probably offer more relevant advice than I can
[08:37] Nuck: lol
[08:37] Nuck: I didn't think about thumbnailing though :S
[08:37] akiva has joined the channel
[08:39] AAA_awright: I imagine you have a local database of all the images, and you query it "Hey which server are you on" and it replies back "I'm on a.static.example.com" and it has a simple API, and you say "Hey make sure you have thumbnailed this upload" and if not it adds it to a queue, maybe sends a callback once the process is done
[08:39] AAA_awright: More Node.js server but it can't be that complex, right? :p
[08:40] Nuck: Or I could just use a distributed setup :P
[08:40] Nuck: Actually, how WOULD I do thumbs in Node?
[08:40] AAA_awright: That's exactly what I have in mind
[08:40] AAA_awright: If you had multiple static file servers, they can all do their own thumbnails
[08:40] Nuck: I mean I'd just thumb it on submit
[08:40] AAA_awright: Nuck: Probably delegate out to imagemagick
[08:40] Nuck: And then shove it to a fileserver
[08:41] Nuck: I'll hafta brose NPM
[08:41] AAA_awright: Transfer the image to the static server, and have it do the scale locally when it's not over load
[08:41] Nuck: Well, it may get requested quickly
[08:41] Nuck: I expect I can delegate the task elsewhere later on
[08:43] `3rdEden has joined the channel
[08:43] AAA_awright: child_process.exec("convert", ["incomingfile","-resize","100x100",outgoingthumbnail])
[08:44] AAA_awright: And a callback somewhere in there
[08:44] devaholic: its pretty trivial to resize an image in javascript guys
[08:44] Nuck: imagemagick is pretty heavy TBH
[08:44] blup has joined the channel
[08:44] AAA_awright: Though maybe someone ported imagemagick to Node.js...
[08:44] Nuck: devaholicOn the server?
[08:44] AAA_awright: Or something lighter
[08:44] devaholic: it doesnt matter where
[08:44] devaholic: ...
[08:44] Jippi has joined the channel
[08:45] Nuck: devaholic: How?
[08:45] Nuck: There are no canvases on the Server, AFAIK.
[08:45] AAA_awright: I think there is
[08:45] AAA_awright: I was going to use one to use a client-side plotting library to render a plot server-side if necessary
[08:46] SubStack: rawk
[08:46] AAA_awright: But you still have to muck around with resolution and output format and whatnot... convert is pretty simple, -resize 320x320 and done.
[08:46] SubStack: AAA_awright: use mrcolor!
[08:46] SubStack: for the colors
[08:46] devaholic: then use phantomjs if you have to, but it cannot be that difficult
[08:46] AAA_awright: Woa that's way overkill
[08:47] AAA_awright: SubStack: Looks... colorful
[08:47] SubStack: not overkill at all
[08:47] Nuck: SubStack: You, how should I scale images on the server?
[08:47] SubStack: it just does colors, you know?
[08:47] AAA_awright: SubStack: Oh very cool
[08:47] Nuck: You're the smart one.
[08:47] SubStack: for when you want some colors
[08:47] AAA_awright: No not SubStack
[08:47] Nuck: I'm sure you've made 3 libs for that exact purpose
[08:47] SubStack: ah phantomjs I see
[08:47] AAA_awright: devaholic: Phantomjs is a bit overkill for resizing an image with canvas
[08:47] mytrile has joined the channel
[08:48] AAA_awright: SubStack: Looks like just what I need for generating a list of colors
[08:48] SubStack: Nuck: raphael writes svgs
[08:48] SubStack: those are good for scaling
[08:48] SubStack: svgs are web scale
[08:48] Nuck: damnit
[08:48] Nuck: SubStack: I should've expected that
[08:48] Nuck: Holy shit no kidding that PhantomJS is overkill
[08:48] igl: Nuck: https://github.com/joyent/node/wiki/modules#graphics
[08:48] AAA_awright: SubStack: But how about this, I'm writing an IRC client and I want to pick colors that are as far apart as possible, weighted by how often each color is used. The two most talkative people, maybe, should be polar opposites.
[08:49] igl: a whole graphics sections
[08:49] Nuck: igl: Oh right, I forgot that page existed LMAO
[08:49] AAA_awright: Also maybe that's a bad idea because I'm learning all the colors of everyone, I can see across the room and see this lilac color and it's either SubStack or Nuck
[08:50] Nuck: what
[08:50] AAA_awright: depending on length
[08:50] Nuck: Colors of people?
[08:50] AAA_awright: Nuck: How your nickname is colored in my current client
[08:50] SubStack: racism
[08:50] devaholic: ACTION sighs
[08:50] Nuck: AAA_awright: Blame your client, I'm white.
[08:51] igl: AAA_awright: you are bordeaux red
[08:51] admc has joined the channel
[08:51] Nuck: ACTION grumps
[08:51] steffkes has joined the channel
[08:51] AAA_awright: I appear colorless black being myself, I wonder what color I would be though
[08:51] Nuck: There are seriously no libraries SPECIFICALLY for scaling pics
[08:51] AAA_awright: Actually I think it's light green
[08:52] Nuck: WTF
[08:52] AAA_awright: Nuck: I can't find any either
[08:52] SubStack: Nuck: raster pics or what?
[08:52] tuhoojabotti: Satined dark smoke
[08:52] Nuck: SubStack: Just PNG, JPEG, GIF
[08:52] jonaslund: v8: "helo"
[08:52] AAA_awright: Oh that's another good point... What if people upload SVG or otherwise?
[08:52] devaholic: Nuck: try looking *inside* phantomjs
[08:52] AAA_awright: Maybe you want to support that
[08:52] Nuck: I want something to generate a PNG from it
[08:52] SubStack: Nuck: gd and imagemagick can do that
[08:52] jonaslund: where's v8bot ?
[08:52] Nuck: AAA_awright: I tell them "Meh, fuck that noise"
[08:52] tuhoojabotti: jonaslund: Dead :E
[08:52] SubStack: there's a connect-image-resizer too
[08:52] tuhoojabotti: jonaslund: Try catb0t with ..
[08:52] SubStack: good for thumbnails
[08:53] devaholic: or just fucking search npm
[08:53] Nuck: SubStack: Connect-image-resizer is based on imagick IIRC
[08:53] jonaslund: tuhoojabotti: i'll start a shell i guess
[08:53] AAA_awright: devaholic: phantomjs just takes a screenshot of a web browser render right?
[08:53] devaholic: but sending it out to a cdn and back just for an image resize is ridiculous, imo
[08:53] AAA_awright: That's a lot of overhead
[08:53] devaholic: just utfg
[08:53] AAA_awright: SubStack: Is that weighted for biases in our ability to see green vs. red?
[08:54] Nuck: AAA_awright: No, it'd be a Canvas tag moreso
[08:54] HelloWorld has joined the channel
[08:54] HelloWorld: how can i print anything as text, array, json anykind of objects?
[08:54] Nuck: ah no image resizer is gm
[08:54] aron_ has joined the channel
[08:54] Nuck: devaholic: There aren't any lightweight image resizers in NPM
[08:54] Nuck: Trust me, I looked
[08:54] igl: HelloWorld: JSON.stringify(obj)
[08:54] Nuck: I was hoping to avoid imagemagick or gd
[08:54] Nuck: But I guess I'm stuck
[08:55] tuhoojabotti: Nuck: Why? :u
[08:55] AAA_awright: HelloWorld: Or util.inspect
[08:55] Nuck: tuhoojabotti: They're heavier than I'd like
[08:55] tuhoojabotti: Write your own then. :)
[08:55] Nuck: ImageMagick isn't known for speed.
[08:55] AAA_awright: But not at runtime?
[08:55] SubStack: how much mass can you carry?
[08:55] Nuck: tuhoojabotti: I don't know C.*
[08:55] AAA_awright: Well this is true
[08:55] jvduf has joined the channel
[08:55] seivan_ has joined the channel
[08:56] Nuck: SubStack: Enough to get WikiMedia discouraging use of it on MediaWiki installs.
[08:56] tuhoojabotti: Nuck: Download some light resize binary? :P
[08:56] Nuck: tuhoojabotti: lol I'll probably end up using imagemagick, graphicmagick, or gd.
[08:56] AAA_awright: There's probably a number of format-specific programs around there
[08:56] tuhoojabotti: Use DLLs!
[08:56] tuhoojabotti: Yeah.
[08:57] HelloWorld: alert(JSON.stringify(data));
[08:57] HelloWorld: ?
[08:57] Nuck: HelloWorld: Never use alert() for debugging
[08:57] Nuck: Always use console.log
[08:57] HelloWorld: what should i use then?
[08:57] HelloWorld: ah
[08:57] HelloWorld: that turns up in the firebug console thing?
[08:57] tuhoojabotti: Nuck: Alertz<3
[08:57] Nuck: HelloWorld: On web pages
[08:57] Nuck: Yes
[08:58] Nuck: On Node, it shows up in the console
[08:58] Nuck: In Chrome, it's the debugger, in IR8+, it's in the Web Dev panel
[08:58] Nuck: IE
[08:58] tuhoojabotti: Nuck: http://ssssnakes.com/smoke/ :D
[08:58] HelloWorld: where does it show in the bowser?, console.log
[08:58] Shrink has joined the channel
[08:59] TheJH: HelloWorld, depends on the browser
[08:59] gausby has joined the channel
[08:59] AAA_awright: https://github.com/LearnBoost/node-canvas/blob/master/examples/resize.js
[08:59] Nuck: HelloWorld: It shows up in the Firebug Console
[08:59] Nuck: (if you have Firefox + Firebug)
[08:59] markwubben has joined the channel
[09:00] Nuck: AAA_awright: Ooooh nice!
[09:00] Nuck: Does jsperf support Node?
[09:00] romainhuet has joined the channel
[09:01] Nuck: I need to benchmark that canvas simulation versus imagemagick versus graphicmagick versus gd
[09:02] Utkarsh has joined the channel
[09:04] loveshine: is there a module that takes html entities like < and converts them to
[09:04] iFire` has joined the channel
[09:04] hucker has joined the channel
[09:05] meso_ has joined the channel
[09:06] Nexxy has joined the channel
[09:06] AAA_awright: loveshine: That's really hard to do because which named entity maps to which character is dependent on the document DTD
[09:07] pickels has joined the channel
[09:08] Nuck: AAA_awright: There's a module for it
[09:08] Nuck: SubStack: Didn't you make an entity code handler?
[09:08] AAA_awright: It can be done of course
[09:08] AAA_awright: Browsers do it
[09:08] Nuck: I'd swear he did.
[09:08] Nuck: AAA_awright: That they do
[09:08] AAA_awright: He probably did
[09:09] aabt has joined the channel
[09:09] __tosh has joined the channel
[09:09] bzinger has joined the channel
[09:10] emattias_ has joined the channel
[09:11] SubStack: Nuck: ent
[09:12] SubStack: it uses the table from perl's HTML::Entities
[09:12] Nuck: loveshine: Well there you have it, ent.
[09:12] SubStack: > require('ent').decode('<περ>')
[09:12] SubStack: '<περ>'
[09:13] altamic has joined the channel
[09:13] SubStack: numbers too
[09:13] loveshine: thank you
[09:13] SubStack: hex numbers even
[09:13] christophsturm has joined the channel
[09:13] Nuck: SubStack: As always, a module well done.
[09:16] zemanel has joined the channel
[09:18] Nuck: AAA_awright: Oh hey, that canvas thing is by tj
[09:20] AAA_awright: Nuck: Oh hey. Or at least those commits, where's the author overview
[09:20] Nuck: well yeah
[09:20] Nuck: visionmedia (author)
[09:20] Nuck: seems like it's his stuff
[09:21] bnoguchi has joined the channel
[09:21] AAA_awright: Yeah vast majority https://github.com/LearnBoost/node-canvas/graphs/impact
[09:22] Nuck: AAA_awright: That chart is fucking awesome.
[09:23] Nuck: I didn't even realize tj worked at LearnBoost
[09:23] AAA_awright: Neither did I
[09:23] kay_k has joined the channel
[09:23] Nuck: lol I bet my mom would give anything to have her district adopt LearnBoost
[09:23] AAA_awright: Is that correct?
[09:23] Nuck: They
[09:23] Nuck: They use some retarded old thing called DataDirector still
[09:23] Nuck: AAA_awright: He does
[09:23] Nuck: I checked their About page on learnboost's site
[09:24] Nuck: "TJ is the brainchild of some popular open source projects on GitHub. But he’s more than an amazing developer and a funny guy: he’s also a part time zookeeper, with multiple pets that are part of his home."
[09:24] Nuck: lolwat
[09:24] AAA_awright: Link?
[09:24] Nuck: http://blog.learnboost.com/about/
[09:25] AAA_awright: Is anyone using python2.7 to compile Node.js?
[09:25] AAA_awright: I'm getting some SyntaxError
[09:25] Nuck: I'm on 0.4.8
[09:25] Nuck: I haven't updated in a while
[09:25] Nuck: And I intend for it to stay that way until 0.6.x
[09:25] jetienne_: see tobi :)
[09:26] jetienne_: https://assets0.github.com/img/89d8e6624fb9153c40bd11ae7592a74e058d873e?repo=&url=http%3A%2F%2Fsphotos.ak.fbcdn.net%2Fhphotos-ak-snc3%2Fhs234.snc3%2F22173_446973930292_559060292_10921426_7238463_n.jpg&path=
[09:26] anubhaw has joined the channel
[09:26] AAA_awright: I like the cutting edge, developing for it now means ready for the release in what seems like tomorrow each time a new one comes out
[09:27] jetienne_: about that 0.4.10 deb should be ready
[09:27] Nuck: AAA_awright: I swear, tj has coded half the code for my art site :P
[09:28] Nuck: Because I use so many of his awesome libs
[09:28] Nuck: Most prominently Express
[09:28] Nuck: But this will probably be another one
[09:28] AAA_awright: I don't have a particular person but I love all the really niche libs that people write
[09:29] AAA_awright: It's like O hey, an RDF integration library for Node.js, that only two people including me use
[09:29] Nuck: AAA_awright: I have an odd coding style which fits with a lot of tj's libs.
[09:29] jetienne_: sudo add-apt-repository ppa:jerome-etienne/neoip && sudo apt-get update && sudo apt-get install nodejs <- install node 0.4.10 on ubuntu 11.04
[09:29] Nuck: Because his libs are very natural
[09:29] AAA_awright: Which ones, exactly?
[09:29] jetienne_: +documented+standalone
[09:30] jetienne_: +very little bugs
[09:30] Nuck: AAA_awright: Express, Connect, Caustic
[09:30] jetienne_: =good in my books
[09:30] AAA_awright: I use Jade, and... that's it
[09:30] Nuck: The man is one of the best coders we've got in the community.
[09:30] AAA_awright: And an RDF one, and a SPARQL library I wrote that in turn uses PEG at install-time
[09:30] Nuck: AAA_awright: You use some odd things
[09:32] jomoho has joined the channel
[09:32] Nuck: God
[09:32] AAA_awright: Nuck: That's the nature of what I'm doing I guess
[09:32] Nuck: I need a simple checklist for my features on this API
[09:33] PrgmrBill has joined the channel
[09:33] AAA_awright: Either it hasn't been written, or it's only written in Java which is... six letters away from what I need
[09:33] geoffeg has joined the channel
[09:33] Nuck: AAA_awright: lol
[09:33] Nuck: I got even more RAEG at dA today
[09:33] AAA_awright: They went read-only
[09:33] Nuck: Because I realized that their servers are horribly configured
[09:34] AAA_awright: And then logged you out after?
[09:34] Nuck: Not that
[09:34] AAA_awright: That too?
[09:34] AAA_awright: How so?
[09:34] Nuck: It's that I got stuck in this situation where all the resources were being loaded from an outdated URL
[09:34] Nuck: Which meant all resources 404'd
[09:34] Nuck: st.deviantart.net
[09:34] Nuck: Instead of .com
[09:34] AAA_awright: Cache problem?
[09:34] AAA_awright: O.o
[09:34] plov has joined the channel
[09:35] Nuck: AAA_awright: Nope, it was their server. I changed to HTTPS and suddenly everything worked.
[09:35] pradeepto_bhatta has joined the channel
[09:35] AAA_awright: Well I mean a server-side cache
[09:36] AAA_awright: Also, Server:Apache
[09:36] Nuck: AAA_awright: Seems more like an outdated configuration on a subset of their servers
[09:36] roger_raymond has joined the channel
[09:36] muhqu has joined the channel
[09:36] Nuck: AAA_awright: It gave me more motivation to replace them
[09:36] AAA_awright: Their static server is Server:nginx/0.8.47
[09:36] Nuck: AAA_awrightReally?
[09:37] Nuck: Not surprising, I guess
[09:37] AAA_awright: That's what it advertises
[09:37] pickels has joined the channel
[09:37] Nuck: They have 150 servers
[09:37] Nuck: MySQL+PHP stack
[09:37] Nuck: With Apache on the main servers
[09:37] Nuck: Then they have shitty load balancers which disrupt long-term connections
[09:37] AAA_awright: Oh, but sh.da.net is Server:thttpd
[09:37] Nuck: when theyfail over
[09:38] Nuck: thttpd?
[09:38] Nuck: wuzzat
[09:38] AAA_awright: ... Why are you using three different platforms to serve content
[09:38] AAA_awright: Why
[09:38] callumacrae has joined the channel
[09:38] Nuck: AAA_awright: I'm gonna be using... 2.
[09:38] Nuck: Node and nginx
[09:38] AAA_awright: Node.js doesn't count
[09:38] Nuck: Why not?
[09:38] AAA_awright: That's generating the content not serving it?
[09:38] Nuck: Node serves the content
[09:39] AAA_awright: Especially if you have Nginx in front of it like I do
[09:39] Nuck: It's the API
[09:39] Nuck: AAA_awright: It'll be interfaced directly to an instance of Node, I assume
[09:39] PrgmrBill has joined the channel
[09:39] PrgmrBill has joined the channel
[09:39] Nuck: All I know is, the API is in Node
[09:39] Nuck: And the site calls the API.
[09:39] AAA_awright: How do you load-balance requests?
[09:39] plov has joined the channel
[09:40] Nuck: AAA_awright: the plan is to use a load-balancer
[09:40] Nuck: Also, how did you get that server info?
[09:40] AAA_awright: Nuck: HTTP headers
[09:40] jetienne_: 150server without load balancers ?
[09:40] jetienne_: ACTION is missing something
[09:40] AAA_awright: Network tab in Chrome, or Live HTTP Headers extension in Firefox
[09:40] Nuck: jetienne_: Huh? dA has load balancers
[09:40] jhurliman has joined the channel
[09:40] Nuck: Just shitty ones
[09:41] Nuck: that cut ongoing connections
[09:41] Nuck: Like their chat system
[09:41] jetienne_: this may be the part i miss
[09:41] ablomen has joined the channel
[09:41] AAA_awright: Speaking of which, anyone know if there's an upper limit to how many documents MongoDB can store?
[09:42] AAA_awright: Like, 1e10 short, 100-byte documents?
[09:43] jetienne_: i just know there is a #mongodb channel with people who may know :)
[09:44] Nuck has joined the channel
[09:44] mike5w3c has joined the channel
[09:45] Nuck: damn mIRC
[09:45] Nuck: crashed
[09:46] Nuck: but yeah
[09:46] tuhoojabotti: Hoho
[09:46] tuhoojabotti: Use irssi.
[09:46] Nuck: I still don't quite comprehend load balancers I think X3
[09:46] Nuck: Fuck irssi
[09:46] Nuck: It's a shitty client
[09:46] Nuck: I tried it
[09:46] Nuck: I hated it
[09:46] Nuck: When I move to Mac, I'm gonna get a nicer client than mIRC
[09:46] Nuck: Thank god
[09:48] AAA_awright: I guess I'll work on it tomorrow
[09:48] Nuck: AAA_awrightWhat was it?
[09:48] Nuck: I was typing a response when mIRC crashed
[09:48] AAA_awright: if I get up in time for A State of Trance B-)
[09:48] Nuck: But I forget what
[09:48] AAA_awright: Oh uh
[09:48] AAA_awright: Like, 1e10 short, 100-byte documents?
[09:49] AAA_awright: I didn't say
[09:49] Nuck: oh yeah
[09:49] Nuck: It has lots of scalability
[09:49] Nuck: It's a scaly
[09:49] AAA_awright: Nuck: I'm wondering if I can store my entire IRC log in MongoDB, one object per line
[09:49] Nuck: It all depends on your fs
[09:49] Nuck: AAA_awright: Probably.
[09:49] AAA_awright: And I need to be able to get the pervious n records per channel quickly
[09:49] Nuck: AAA_awright: It'd be hell on your fs, but you could shard among servers too :P
[09:50] Tobbe has joined the channel
[09:51] pen has joined the channel
[09:52] pen has joined the channel
[09:53] drleidig has joined the channel
[09:53] robi42 has joined the channel
[09:54] industrial: If I make a call to getUser it works fine; https://gist.github.com/d3e9f53373beb06b5542, I get my user. If I make a call to deleteUser, so DELETE instead of GET on the same URL, I get this; TypeError: Object #