[00:00] g2404: new members in our army of ldap-bound automatically generated unix-users :) --jkj
[00:00] g2427 has joined the channel
[00:00] MrNko has joined the channel
[00:00] g2404: interestin part was using ldapjs to provide local unix accounts
[00:00] g2404: from couchdb
[00:01] seivan has joined the channel
[00:01] g2404: the autogenerated usernames are somewhat dull though
[00:01] teadict has joined the channel
[00:01] MrNko has joined the channel
[00:02] MrNko has joined the channel
[00:02] g2404: I want my gravatar
[00:02] g2404: http://koti.kapsi.fi/oh8glv/nko-oulu-irc.png
[00:03] MrNko has joined the channel
[00:03] alnewkirk has joined the channel
[00:03] g2428 has joined the channel
[00:04] g2429 has joined the channel
[00:04] MrNko has joined the channel
[00:04] g2401: hum
[00:04] g2401: test
[00:04] g2427: same
[00:04] balupton has joined the channel
[00:04] g2430 has joined the channel
[00:05] g2431 has joined the channel
[00:05] ragnis has joined the channel
[00:05] sneakyness: where would you say is the best place to get started w/ node.js from?
[00:05] MrNko has joined the channel
[00:06] g2432 has joined the channel
[00:06] sneakyness: http://nodeguide.com/beginner.html?
[00:06] MrNko has joined the channel
[00:06] g2433 has joined the channel
[00:06] g2429: NKO
[00:07] g2429: Hello Allu
[00:07] meso_ has joined the channel
[00:07] g2434 has joined the channel
[00:07] g2432: jees
[00:08] MrNko has joined the channel
[00:08] g2434: huhuu?
[00:08] g2435 has joined the channel
[00:08] ttpva has joined the channel
[00:08] Croms: sneakyness: http://nodebeginner.org/index.html http://ofps.oreilly.com/titles/9781449398583/
[00:08] pizthewiz has joined the channel
[00:08] jheusala-nko: hi
[00:09] jkj_: got to make a cleanup script to reap unused thingies
[00:09] MrNko has joined the channel
[00:09] sneakyness: oh that's perfect
[00:09] sneakyness: thanks Croms
[00:09] jheusala-nko: I am using our chat now :-)
[00:09] apoc: hmm is npm offline?
[00:09] sneakyness: It's easy enough to make a js file and hack on things, was looking for some more explanation about the backend
[00:09] sanduz2 has joined the channel
[00:09] sneakyness: what makes it what it is, etc
[00:10] Ragnis has joined the channel
[00:10] apoc: http://registry.npmjs.org/
[00:10] _bat has joined the channel
[00:10] sanduz2: noob to node here, is one of node's features the ability to make 'index.js' come out processed like an html?
[00:10] MrNko has joined the channel
[00:10] sanduz2: if you were to type that in the url for example
[00:11] robinduckett: sanduz2: nope
[00:11] sanduz2: robinduckett, thanks
[00:11] Croms: sneakyness: Check out the first chapters of the O'Reilly book. Should tell you the basics.
[00:12] sneakyness: yeah I'm already on 3
[00:12] V1 has joined the channel
[00:12] MrNko has joined the channel
[00:12] robinduckett: sanduz2: it runs more like a server which is scripted through javascript
[00:12] _numbers has joined the channel
[00:12] robinduckett: like python or ruby
[00:12] sanduz2: robinduckett, oh i see. so you build your app in node itself
[00:12] robinduckett: but js
[00:12] paveq3 has joined the channel
[00:12] robinduckett: yes
[00:12] g2436 has joined the channel
[00:13] jheusala-nko has joined the channel
[00:13] jheusala-nko: hmm
[00:13] mikeal has joined the channel
[00:13] MrNko has joined the channel
[00:13] g2436: uhu
[00:13] sneakyness: that drawing game was fun btw
[00:13] g2437 has joined the channel
[00:13] Gojohnnyboi has joined the channel
[00:13] sneakyness: I hope people enjoyed my overly detailed drawings
[00:13] sanduz2: robinduckett, is it simple to use in the same sense as, say, a python framework? or is it super low level?
[00:13] robinduckett: there are frameworks which are high level
[00:13] teadict: http://paste.ubuntu.com/676895/ ):
[00:13] robinduckett: look into express
[00:13] paveq3 has joined the channel
[00:14] jheusala-nko: cool my avatar is now working
[00:14] robinduckett: expressjs.com
[00:14] sanduz2: robinduckett, thank you
[00:14] robinduckett: there are good video casts there
[00:14] robinduckett: np
[00:14] g2437: test :)
[00:14] sanduz2: oh express looks very nice
[00:14] MrNko has joined the channel
[00:15] teadict: do you need to reboot after installing build-essential?
[00:15] sorensen: FO SHO
[00:15] sorensen: nko madness
[00:15] robinduckett: teadict: not usually
[00:16] teadict: I don't understand the error in the pastie then
[00:16] MrNko has joined the channel
[00:16] bazookatooth has joined the channel
[00:16] teadict: http://paste.ubuntu.com/676895/
[00:16] MrNko has joined the channel
[00:17] teadict: mm, is now dependant on 0.5.1, cuz I'm on 0.4.11
[00:17] teadict: I don't get it
[00:17] robinduckett: teadict
[00:17] robinduckett: node-waf not found
[00:17] robinduckett: you need to make install node
[00:17] teadict: I sintalled from the repos...
[00:17] teadict: dammit, I knew I shouldn't have
[00:18] g2438 has joined the channel
[00:18] booo has joined the channel
[00:18] MrNko has joined the channel
[00:18] paveq: :P
[00:18] g2438: hi
[00:19] sneakyness: am I doin it right http://cl.ly/12153V1J1Z1P3E1t2y2e
[00:19] robinduckett: teadict: there's your issue
[00:19] MrNko has joined the channel
[00:19] robinduckett: do a manual install of v0.4.11
[00:20] kmiyashiro has joined the channel
[00:20] teadict: yeah
[00:20] g2439 has joined the channel
[00:21] g2440 has joined the channel
[00:21] MrNko has joined the channel
[00:21] g2441 has joined the channel
[00:21] mikeal has joined the channel
[00:23] MrNko has joined the channel
[00:23] g2442 has joined the channel
[00:23] gtramont1na has joined the channel
[00:24] g2439: gg
[00:24] hornairs has joined the channel
[00:25] MrNko has joined the channel
[00:25] Epeli has joined the channel
[00:25] g2440: wat
[00:25] isaacs has joined the channel
[00:25] tomshaw has joined the channel
[00:26] guillermo has joined the channel
[00:26] dylang: sneakyness: that's awsome!!!
[00:26] MrNko has joined the channel
[00:26] dylang: sneakyness: how has your chain evolved?
[00:27] sneakyness: yeah
[00:28] aconbere has joined the channel
[00:28] MrNko has joined the channel
[00:28] g2443 has joined the channel
[00:28] zomgbie has joined the channel
[00:30] cmichi has joined the channel
[00:30] CrabDude has joined the channel
[00:30] karlbright has joined the channel
[00:31] overra has joined the channel
[00:31] karlbright has joined the channel
[00:32] MrNko has joined the channel
[00:34] MrNko has joined the channel
[00:34] sneakyness: dylang:
[00:34] sneakyness: this one is for you
[00:35] sneakyness: http://cl.ly/0d1A0s0I2k1y0e1y3r3r
[00:37] dylang: sneakyness: holy shit that's awesome - everybody here is laughing.
[00:37] kiffness has joined the channel
[00:37] sneakyness: okay well now you have to meet my demands
[00:37] sneakyness: 1. My kingdom for a fucking fill tool
[00:37] Juan77 has joined the channel
[00:37] Nuck: Anyone in the mood to help me work on my streaming multipart parser?
[00:37] g2444 has joined the channel
[00:37] sneakyness: 2. Can a nigga get a selection indicator on colors?
[00:37] Nuck: Or at least battle-test that shit :P
[00:38] dylang: sneakyness: i'd love to but i can't make any changes
[00:38] sneakyness: 3. Color selection? I know HTML5 has
[00:38] sneakyness: 4. The + cursor instead of the pointer
[00:38] sneakyness: That's it
[00:38] sneakyness: <3
[00:38] dylang: sneakyness: i wish i had you on the team
[00:38] sneakyness: what team
[00:38] sneakyness: are you hiring
[00:38] Nuck: sneakyness: NKO
[00:38] Nuck: Node Knockout
[00:38] Nuck: It just ended
[00:38] sneakyness: oh I think I know one of the judge dudes
[00:39] Nuck: Probably, there's like 500 million of them
[00:39] _numbers has left the channel
[00:39] sneakyness: @ryanmcgrath on twitter I think
[00:39] sorensen: lol
[00:39] sneakyness: I just met him when I moved to dc
[00:39] sorensen: nko was madness
[00:39] sorensen: madness you say?
[00:39] sorensen: THIS IS KNOCKOUT
[00:40] raidfive has joined the channel
[00:41] gtramont1na has joined the channel
[00:42] te-brian2 has joined the channel
[00:43] Nuck: Please, somebody write a script that will attempt to rape my splitter?
[00:43] nullvztz has joined the channel
[00:43] Nuck: I need to test when it breaks so I know what to fix :P
[00:43] Nuck: What the fuck
[00:44] nullvztz: is there any way to get a reference to a list of connected sockets?
[00:45] jkj_: sorry...
[00:45] jkj_: that was the cleanup
[00:45] sneakyness: welp, dylang
[00:45] sneakyness: since you can't meet my demands
[00:45] sneakyness: I must attempt to explode your head
[00:45] sneakyness: with INCEPTION DOODLES
[00:45] sneakyness: http://cl.ly/3o391Z0M0n310m0L0V2w
[00:45] _numbers has joined the channel
[00:45] _numbers: npm install ready.js
[00:46] jkj_: the guys the had left old session open.... no it's run */10 * * * *
[00:46] _numbers: readyjs: command not found
[00:47] rhdoenges has joined the channel
[00:48] Nuck: I need opinions.
[00:48] Nuck: Should I provide a header event for a part, or just buffer the headers and provide that on the part event?
[00:48] g2445 has joined the channel
[00:49] Nuck: For my multipart parser
[00:52] blueadept` has joined the channel
[00:52] rhdoenges: okay the node ko buttons are not working
[00:53] rhdoenges: argh
[00:53] k1ttty has joined the channel
[00:54] sneakyness: dylang: wehre can I read more about your team? and also will good drawings help you win?
[00:54] sneakyness: and will I be able to see all of the chains later?
[00:54] sharkbird has joined the channel
[00:55] shiawuen has joined the channel
[00:55] MrNko has joined the channel
[00:56] dylang: sneakyness: wow that is the best one yet.
[00:56] blueadept has joined the channel
[00:56] blueadept has joined the channel
[00:56] teadict: http://paste.ubuntu.com/676919/ halp
[00:57] sneakyness: dylang: http://cl.ly/3E2O1d0T0w2W103X1s20
[00:58] teadict: oh nvm
[00:58] ckpcw_ has joined the channel
[01:00] tomshaw has left the channel
[01:01] fmeyer has joined the channel
[01:01] Nuck: ACTION pokes the chat
[01:01] Nuck: Nobody alive?
[01:02] Acolyte: yep
[01:02] nickaugust: howdy
[01:03] bettsp has joined the channel
[01:03] Nuck: Anyone feel like opining on whether I should provide a 'header' event for each part's headers or just buffering that up before passing it to the 'part' event? Note: This is a multipart/form-data parser
[01:03] bettsp: I have a noob question - now that npm 1.x defaults to per-project package installs, what's the best way to run bins
[01:03] Nuck: run bins?
[01:04] bettsp: Like executables
[01:04] bettsp: Do I really have to add every project I use commonly to $PATH?
[01:04] Nuck: What about executables?
[01:04] Nuck: Are you talking about the C++ moduleS?
[01:04] Nuck: or jsut calling on an exe file?
[01:05] bettsp: No, like coffee-script has "coffee", or Cakefile has "cake"
[01:05] bettsp: They get stored under $PROJECT/node_modules/.bin
[01:05] Nuck: bettsp: For things like that, you do npm install -g coffeescript
[01:05] Nuck: that forces a global install
[01:07] bettsp: That doesn't seem like the "correct" way to do things
[01:07] Nuck: bettsp: It is
[01:09] rickharrison has joined the channel
[01:09] Nuck: chjj: You! You wrote a multipart parser, care to help me ponder this design choice?
[01:10] chjj: !
[01:10] chjj: whats that?
[01:10] Nuck: The design choice?
[01:10] chjj: Nuck: whats the choice between? i just tabbed in here
[01:10] Nuck: whether I should provide a 'header' event for each part's headers or just buffering that up before passing it to the 'part' event
[01:10] ag90 has joined the channel
[01:10] Bjfnvfhd has joined the channel
[01:11] JaKWaC has joined the channel
[01:11] Bjfnvfhd: Hi
[01:11] chjj: i always found headers to be kind of a sticky situation there, because you *have* to buffer headers, theres no way around it
[01:11] chjj: unless you want to dispatch header events with pieces of headers
[01:11] Nuck: chjj: But *why*
[01:11] chjj: which wouldnt be very pleasant for the user
[01:11] g2446 has joined the channel
[01:11] Nuck: I could buffer each header individually
[01:12] Bjfnvfhd: I love node
[01:12] Nuck: And dispatch a 'header' event after each one
[01:12] chjj: Nuck: yeah, thats why i mean
[01:12] chjj: but theres no way around buffering there
[01:12] chjj: what i mean*
[01:12] Nuck: Or I could buffer them all up and pass it to the callback for the 'part' event
[01:12] chjj: in my own parser, i abstract that all away, there is no header event
[01:12] chjj: the headers are handled internally
[01:13] chjj: it depends on how low-level or malleable you want to make it
[01:13] Nuck: chjj: I'm thinking it might be nice to provide them streamingly
[01:13] chjj: yeah, then the user could do whatever he wanted with them
[01:13] Nuck: Well, I follow the Node concept of "don't abstract much"
[01:13] Nuck: Exactly
[01:13] Nuck: Gonna make an epic testkit for this too
[01:13] chjj: i just did it my way to make things simpler, and because i only wanted to use it for one thing
[01:14] Nuck: Take a multipart string and fake the data events to the parser so it splits on every point
[01:14] Nuck: So it will determine if there's any SPOF in there
[01:14] chjj: i think a better design question is how to handle parse errors
[01:14] chjj: gracefully or strictly
[01:14] neoesque has joined the channel
[01:14] Peniar has joined the channel
[01:14] Nuck: chjj: I'm just gonna die if there's some major issue
[01:15] Nuck: I'm not gonna try and write a "tag soup" parser
[01:15] Nuck: That leaves room for errors
[01:15] chjj: Nuck: thats what i do now, i originally wrote it buffering the last 3 bytes so i could gracefully handle parse errors
[01:15] Nuck: And possible security hole
[01:15] chjj: but it really complicated things
[01:15] chjj: yeah
[01:15] chjj: it was really hard to secure then, there were possibilities of overflows during the buffering of a header
[01:16] Nuck: I rewrote my parser from before, now it handles multiple parts in a single chunk
[01:16] chjj: because i was trying to gracefully handle errors
[01:16] Nuck: Yeah, I'm gonna follow the rule of KISS
[01:16] Nuck: Now, headers will always be separated from the body by the first \r\n\r\n, right?
[01:16] chjj: yes
[01:16] sneakyness: I really should be getting back to work soon
[01:16] sneakyness: http://cl.ly/26441H0g2z0R2g3H1w3M
[01:16] chjj: unless there is some buggy client
[01:17] Nuck: That makes my life pretty easy
[01:17] chjj: that does it wrong
[01:17] abraxas has joined the channel
[01:17] Nuck: I'm gonna go the malleable way
[01:18] chjj: my parser was originally very monolithic, it handled everything, all you had to do was pipe a request object into it
[01:18] chjj: ive changed it a lot since then
[01:18] te-brian2 has joined the channel
[01:18] Nuck: Mine is the same, you pipe the request object in, and it provides a ton of events
[01:19] eyesUnclouded has joined the channel
[01:19] Nuck: oh yay dinnertiemz
[01:19] dgathright has joined the channel
[01:20] chjj: i might change the headers around now that i think about it
[01:20] chjj: ive slowly made it less and less monolithic
[01:21] chjj: and handled more in the included middleware
[01:22] schwab has joined the channel
[01:24] enhydra has joined the channel
[01:24] MrNko has joined the channel
[01:25] pct has joined the channel
[01:26] sorensen: ONE CSS RULE FROM TOTAL DOMINATION
[01:26] sorensen: damnit
[01:26] sorensen: fml
[01:26] w3dot0 has joined the channel
[01:26] Nuck|mobile: I'm not doing middleware honestly, chjj — don't see much of a point.
[01:27] Nuck|mobile: I'm doing the equivalent of the HTTP module in Node
[01:27] Nuck|mobile: But for multipart form data
[01:27] chjj: well you know, the http module does throw all the headers into one object for you =/
[01:28] kiffness_ has joined the channel
[01:28] Nuck|mobile: True but most HTTP things aren't dealing with huge files like this will be
[01:28] Nuck|mobile: Headers can mean the difference between parsing a huge file or not
[01:29] jmikola|w has left the channel
[01:30] chjj: alright
[01:30] gerard0 has joined the channel
[01:30] g2447 has joined the channel
[01:30] tonymilne has joined the channel
[01:31] g2447: hi
[01:31] Nuck|mobile: I might provide an option to do that later tho, since it is a rather useful thing
[01:31] _numbers has left the channel
[01:31] LevyYoung has joined the channel
[01:32] sneakyness: which textmate bundle is the best for node.js?
[01:32] sneakyness: https://github.com/drnic/javascript-node.tmbundle ?
[01:32] Nuck|mobile: Are there node-specific bundles already? Wow.
[01:32] sneakyness: oh definitely
[01:32] sneakyness: how old is node?
[01:33] Nuck|mobile: Well a couple years, I think.
[01:33] rafaelcaricio has joined the channel
[01:34] sneakyness: so why do you say "Are there node-specific bundles already?"
[01:34] Nuck|mobile: JS ones should be enough for most cases.
[01:34] Nuck|mobile: Node is just js, but with some added globals which might call for separate bundles
[01:35] Nuck|mobile: I just didn't think anyone would bother
[01:35] lunks has joined the channel
[01:35] jakehow has joined the channel
[01:35] jakehow__ has joined the channel
[01:35] jakehow_ has joined the channel
[01:35] kiffness has joined the channel
[01:36] blakmatrix: bah :S
[01:36] blakmatrix: app keeps thrashing taking up 90% mem
[01:38] Dreamer3 has joined the channel
[01:38] isaacs has joined the channel
[01:40] _root_ has joined the channel
[01:41] jacobolus has joined the channel
[01:44] liveink has joined the channel
[01:45] steffan_ has joined the channel
[01:46] sneakyness: hey Croms
[01:46] sneakyness: I'm in Chapter 6 right now, trying example 5.2, but when I call "node example.js", it's erroring out, "cannot find module Utils"
[01:46] sneakyness: http://ofps.oreilly.com/titles/9781449398583/chapter_6.html
[01:47] ronnieboy has joined the channel
[01:48] Croms: sneakyness: You've found an error in the book. It's require("util").
[01:49] sneakyness: yay!
[01:49] sneakyness: thank you
[01:50] ale has joined the channel
[01:50] ale: Hello, how can I do that when I access a web, I can see all the messages that were sent before I access it?
[01:52] guillermo has joined the channel
[01:52] dshaw_ has joined the channel
[01:52] JSManiacs1 has joined the channel
[01:53] Croms: sneakyness: yw. Btw, if you find older tutorials on the web, then you'll find that util used to be called sys. Just replace sys with util and everything runs fine.
[01:53] sneakyness: good to know
[01:53] sneakyness: thanks my mans
[01:54] chjj: https://github.com/mixu/nodeko
[01:54] chjj: damn thats really cool
[01:54] chjj: im gonna do x stuff in node now
[01:55] tmzt_: like?
[01:55] tmzt_: oh wow
[01:56] tmzt_: window manager?
[01:56] sneakyness: what the fuck
[01:56] chjj: yeah, its a nice node api for x
[01:56] sneakyness: that is _crazy_
[01:56] chjj: looks awesome
[01:56] chapel: http://trickledown.no.de/ << damn, I think they are gonna win
[01:57] tmzt_: looks like he's using xlib though
[01:57] chjj: yeah, still cool though
[01:57] tmzt_: not xcb which is a much better fit for event driver js
[01:57] tmzt_: driven
[01:57] nickgreenie has joined the channel
[01:57] chjj: hmm, ive never coded x stuff before
[01:58] g2448 has joined the channel
[01:58] AvianFlu: chapel: turtlerocket.nodejitsu.com FTW
[01:58] chjj: but i think that guy should get points for trying to make node more general-purpose instead of entirely oriented around shiny web apps
[01:59] perezd has joined the channel
[01:59] g2448: Hello.
[02:00] tmpvar has joined the channel
[02:00] shanebo has joined the channel
[02:01] JumpMast3r has joined the channel
[02:01] amigojapan has joined the channel
[02:01] tmzt_: chjj: yep
[02:01] chapel: http://sponoders.nko2.nodeknockout.com/ << sorensen niftylettuce and my entry to nko
[02:02] g2449 has joined the channel
[02:04] boaz has joined the channel
[02:04] nickgreenie has joined the channel
[02:04] seivan has joined the channel
[02:05] nickgreenie: Check out what we made for the node knockout hackathon!!!! Think of it as turntable.fm but for videos http://li271-178.members.linode.com/
[02:06] rurufufuss has joined the channel
[02:07] ag90 has left the channel
[02:07] ryanj has joined the channel
[02:09] pen has joined the channel
[02:10] _root_ has joined the channel
[02:12] TheCoreh has left the channel
[02:12] _root_ has joined the channel
[02:13] rickharrison has joined the channel
[02:13] te-brian has joined the channel
[02:14] Voxxit has joined the channel
[02:16] CrabDude has joined the channel
[02:17] joshfng has joined the channel
[02:17] mikekunze has joined the channel
[02:19] willwhite has joined the channel
[02:21] matyr has joined the channel
[02:21] nibblebot has joined the channel
[02:23] KingJamool has joined the channel
[02:24] jhurliman has joined the channel
[02:24] modular has joined the channel
[02:24] g2450 has joined the channel
[02:25] igl1 has joined the channel
[02:25] guidocalvano has joined the channel
[02:26] z6Dabrata has joined the channel
[02:27] modular: i'm doing some experiments to see how node handles large arrays? i push a million character string onto an array 1 million times? that should take up a 1000 gigs of ram, yet node doesn't crash, and top only shows node using about 90M of ram...
[02:27] modular: and i can pull things out of the array just fine. what's going on? am i missing something?
[02:29] sneakyness: if it's the same million character string I would imagine it would only need to store it in memory once
[02:29] MrNko has joined the channel
[02:29] sneakyness: have you tried unique million character strings?
[02:29] modular: i prefixed the string with the row number, so it's like "row10000xxxxxxxxxxxxxxx"
[02:29] trentm has joined the channel
[02:30] modular: you figure it's just storing all those x's once?
[02:30] sneakyness: without a doubt
[02:30] modular: hm.
[02:30] sneakyness: try totally unique strings
[02:31] brianseeders has joined the channel
[02:32] kriszyp has joined the channel
[02:33] matyr has joined the channel
[02:34] kylefox has joined the channel
[02:34] mikekunze has joined the channel
[02:34] MrNko has joined the channel
[02:35] cying has joined the channel
[02:36] Qbix1 has joined the channel
[02:36] ryanfitz has joined the channel
[02:36] modular: yeah, that seems to do it.
[02:39] MrNko has joined the channel
[02:40] JaKWaC has joined the channel
[02:40] cliffff has joined the channel
[02:41] skm has joined the channel
[02:45] sneakyness: there ya go
[02:45] _dc has joined the channel
[02:47] mnutt_ has joined the channel
[02:47] skm has joined the channel
[02:53] arthurdebert has joined the channel
[02:55] ryanfitz has joined the channel
[02:55] g2451 has joined the channel
[02:56] g2451: /join 0
[02:57] losing has joined the channel
[02:58] sneakyness: aw, where's dylang at?
[02:59] JakeyChan has joined the channel
[02:59] nibblebot has joined the channel
[02:59] jerrysv_ has joined the channel
[02:59] kenperkins has joined the channel
[03:03] sneakyness has joined the channel
[03:03] tilman_ has joined the channel
[03:04] _dc has joined the channel
[03:06] tilman_: need help building on windows using cygwin. i follow the instructions to the letter, but when running `make` i get an error: "Build failed -> task failed (err #1): {task cxx_link [...] -> node.exe}" any advice?
[03:06] tilman_: https://github.com/joyent/node/wiki/Building-node.js-on-Cygwin-%28Windows%29
[03:06] tilman_: these instrusctions
[03:06] ditesh|cassini has joined the channel
[03:08] MrNko has joined the channel
[03:10] JaKWaC has joined the channel
[03:12] matyr has joined the channel
[03:15] matyr_ has joined the channel
[03:18] newy has joined the channel
[03:19] tilman_: ok didnt read everything.. ld is crashing
[03:19] tilman_: http://pastebin.com/MiR93Kug
[03:19] tilman_: any idea? ;)
[03:20] matyr has joined the channel
[03:22] Aphelion has joined the channel
[03:22] g2452 has joined the channel
[03:23] matyr_ has joined the channel
[03:23] tk has joined the channel
[03:25] MrNko has joined the channel
[03:26] exotichitch has joined the channel
[03:27] heavysixer has joined the channel
[03:28] exotichitch has left the channel
[03:28] cliffff has joined the channel
[03:29] jerrysv has joined the channel
[03:32] JSManiacs has joined the channel
[03:32] liveink has joined the channel
[03:34] toki_kanno has joined the channel
[03:35] g2453 has joined the channel
[03:35] g2453: you tell me
[03:37] eazyigz has joined the channel
[03:38] g2453: Hello ?
[03:39] Spion has joined the channel
[03:40] JSManiacs has joined the channel
[03:41] adelgado has joined the channel
[03:43] g2454 has joined the channel
[03:45] slifty has joined the channel
[03:45] g2455 has joined the channel
[03:45] exotichitch has joined the channel
[03:45] arthurdebert has joined the channel
[03:46] bergie has joined the channel
[03:46] infynyxx has joined the channel
[03:47] glyytch has joined the channel
[03:48] sreeix has joined the channel
[03:48] dgathright has joined the channel
[03:48] dshaw_ has joined the channel
[03:50] JSManiacs has joined the channel
[03:51] hunghuynh has joined the channel
[03:51] hunghuynh: hi all
[03:52] hunghuynh: I begin with node.js
[03:52] rafaelcaricio has joined the channel
[03:52] davidbanham has joined the channel
[03:52] tedsuo has joined the channel
[03:52] hunghuynh: but I can't node.js
[03:52] hunghuynh: node installed but it don't run
[03:52] hunghuynh: error python 3
[03:52] tonymilne has joined the channel
[03:52] hunghuynh: Who have solution ? help me
[03:52] Nuck: hunghuynh: If it's a Python error, it's not installed yet
[03:53] davidbanham: hunghuynh: Can you please provide more information? Please give us the entire error, linked on pastebin.com
[03:53] neorab has joined the channel
[03:53] Nuck: davidbanham: You mean gist.github.com
[03:53] jgornick: hey guys, any recommendations for an http client module? or just simply use the nodejs packaged http module?
[03:53] Nuck: jgornick: Depends on your purposes
[03:53] hunghuynh: I will all see error
[03:54] davidbanham: Nuck: Yeah, either or. I figure pastebin is more familiar to a lot of people and I always try and reduce entropy with these things.
[03:54] Nuck: hunghuynh: I take it English isn't your first language?
[03:54] jgornick: Nuck: Realyl to just make a post of data to another server (cross-domain)
[03:54] hunghuynh: Nuck: yes, I from vietnamese
[03:55] hunghuynh: +.+
[03:55] Nuck: jgornick: Ah, yeah, I'd say just use the basic node HTTP module, unless it doesn't do what you need
[03:55] jgornick: Nuck: perfect, thanks!
[03:55] matyr has joined the channel
[03:56] hunghuynh: node.js:134 throw e: //process.nextTick erroe, or 'error' event on first tick
[03:56] hunghuynh: SystaxError : Unexpected token {
[03:56] davidbanham: hunghuynh: Please use pastebin or gist.github.com, don't paste entire errors into the chat.
[03:56] Nuck: hunghuynh: You on Windows?
[03:56] hunghuynh: at Module._copole (module.js:397:25)
[03:57] chorrell has joined the channel
[03:57] hunghuynh: Nuck : I on arch linux
[03:57] Nuck: hunghuynh: You know how to select text in console?
[03:57] hunghuynh: :( sorry davidbanham
[03:57] hunghuynh: I first use irc
[03:57] davidbanham: hunghuynh: No worries! We all learned once.
[03:59] hunghuynh: so, node.js don't run with python3
[04:00] jamescarr has joined the channel
[04:00] ag_ has joined the channel
[04:00] edude03 has joined the channel
[04:00] g2456 has joined the channel
[04:01] Nuck: hunghuynh: Node does not require Python
[04:01] andrewfff has joined the channel
[04:01] Nuck: It only uses Python to orchestrate the initial installation
[04:01] davidbanham: hunghuynh: Python is only needed for installation. After that it is not needed.
[04:02] ag_: Hello everyone, I had a quick question. Using Jade.js how do you escape with a whitelist? As in, I have a comment box that obviously needs to be escaped, but I'm allowing multiple lines, so I'm converting line breaks to " " before showing.
[04:03] hunghuynh: Oh, maybe I error in code
[04:03] hunghuynh: I try ...
[04:03] davidbanham: hunghuynh: If you show us your code, we might see what's wrong.
[04:03] firebalrog has joined the channel
[04:04] tmzt_: hunghuynh: alt-space e-m
[04:04] karlbrigh has joined the channel
[04:04] tmzt_: er, e-k
[04:04] tmzt_: select the text
[04:05] tmzt_: press enter
[04:05] Nuck: tmzt_: Is that just general or vim or what?
[04:05] tmzt_: Nuck: windows console/cygwin
[04:05] pen has joined the channel
[04:06] tmzt_: oh
[04:06] tmzt_: oops
[04:06] tmzt_: confusing two questiosn
[04:06] matyr_ has joined the channel
[04:06] hunghuynh: I learn vim
[04:07] hunghuynh: how paste text copy on terminal ?
[04:08] modular has joined the channel
[04:08] exotichitch: Triple click
[04:08] zackattack has joined the channel
[04:08] dan___ has joined the channel
[04:09] g2457 has joined the channel
[04:09] matyr has joined the channel
[04:10] tilman_: hey everybody, can someone help me out? trying to build on windows using cygwin. `make`quite with an error message: http://pastebin.com/MiR93Kug
[04:10] karlbright has joined the channel
[04:10] _dc has joined the channel
[04:11] boehm has joined the channel
[04:11] hunghuyn2 has joined the channel
[04:11] hunghuyn2: hic
[04:11] ryan[WIN] has joined the channel
[04:11] ben_alman_ has joined the channel
[04:11] TheFuzzball has joined the channel
[04:12] hunghuyn2: https://gist.github.com/1177755
[04:12] kmiyashiro has joined the channel
[04:12] hunghuyn2: who watch my code to fix
[04:12] hunghuyn2: I post on gist github
[04:12] firebalrog: hunghuynh: v 5j d p will highlight 5 lines cut then paste
[04:13] hunghuyn2: oh
[04:14] mike5w3c has joined the channel
[04:14] boltR has joined the channel
[04:15] g2458 has joined the channel
[04:16] hunghuyn1 has joined the channel
[04:16] hunghuyn1: hi all
[04:16] davidbanham: hunghuyn1: You had a spelling error in your code.
[04:17] davidbanham: https://gist.github.com/1177767
[04:17] g2459 has joined the channel
[04:17] davidbanham: hunghuyn1: Line 2, you were missing a 'c' from the word 'function'.
[04:17] MrNko has joined the channel
[04:17] nerdy_ has joined the channel
[04:18] g2452: testing
[04:18] hunghuyn1: oh I see, thanks davidbanham :)
[04:19] davidbanham: hunghuyn1: No worries.
[04:19] karlbright: hunghuyn1: Slightest typo on your console.log too. Doesn't matter too much but it stood out to me - https://gist.github.com/1177769
[04:20] g2460 has joined the channel
[04:20] clifton has joined the channel
[04:21] toki_kanno has joined the channel
[04:22] sneakyness: okay I am totally done drawing into that doodle app for the rest of my life
[04:22] dgathright has joined the channel
[04:22] sneakyness: http://tinyurl.com/3ccjc27
[04:26] clifton: http://team-jerkface.nko2.nodeknockout.com/index
[04:26] matyr has joined the channel
[04:27] eazyigz has joined the channel
[04:28] aguynamedben has joined the channel
[04:28] fairwinds has joined the channel
[04:29] g2461 has joined the channel
[04:30] g2462 has joined the channel
[04:31] sivy has joined the channel
[04:31] g2462: lol
[04:31] g2462: fsdfsd
[04:31] g2463 has joined the channel
[04:32] ckpcw has joined the channel
[04:36] g2464 has joined the channel
[04:40] Acolyte: what is the correct way of connecting to mongolab?
[04:40] Acolyte: mongoose.connect('mongodb://dbh26.mongolab.com:27267/MyDatabase') ?
[04:41] loob2 has joined the channel
[04:41] nimstr has joined the channel
[04:41] jamescarr_ has joined the channel
[04:42] nimstr: wow, this is the most active irc chat I've seen in a while
[04:44] nimstr: I've heard node.js doesn't work well with other frameworks very well, because it's only meant for IO; anyone know how difficult it would be to use node.js on top of ruby on rails?
[04:44] cliffano has joined the channel
[04:44] nimstr: in other words, using ruby on rails as the main data model and having node.js to handle some real-time i/o
[04:44] matyr has joined the channel
[04:46] Nuck: nimstr: Ruby is slower no matter what
[04:46] Nuck: We're on V8, the only thing thats' gonna beat us at speeds will be native code
[04:46] Nuck: And even then, the overhead of calling out to native code prevents that
[04:47] g2465 has joined the channel
[04:47] nimstr: I understand, but I just don't like the frameworks built on top of node.js thus far. They don't use the design patterns I've grown to love
[04:47] Nuck: And what do you mean "doesn't work well with other frameworks"?
[04:47] Nuck: nimstr: Get used to it, with a language comes the design patterns it brings
[04:47] g2466 has joined the channel
[04:47] Nuck: You look at ExpressJS?
[04:47] nimstr: this seems to be the concensus
[04:48] nimstr: yeah, express.js doesn't use MVC
[04:48] nimstr: here's the reference
[04:48] nimstr: http://stackoverflow.com/questions/3527482/ruby-on-rails-and-node-js
[04:48] g2452: nimstr: Some other Ruby frameworks might be fast enough but I really prefer Python Flask myself. Simple and *fast* (well, fast considering that it is a dynamic language we are speaking of).
[04:49] Nuck: nimstr: Just make the jump. Learn that MVC ain't so rigid
[04:49] shanebo: Nuck, MVC is the awesomesauce
[04:49] Nuck: Use Mongoose for Model, Express for View, and Control shit with jQuery
[04:49] shanebo: nimstr, I actually agree with you
[04:49] Nuck: Problem solved
[04:50] Nuck: :P
[04:50] Nuck: MVC is one of those things that people put way too much thought into
[04:50] nimstr: hmm… that's too pro for me
[04:50] Nuck: The best code is that which you don't hafta think about
[04:50] shanebo: Nuck, the hidden stuff is what gives me nightmares :D
[04:50] Nuck: Let your code form naturally, don't force it into a rigid structure
[04:50] Lorentz: i.e. code someone else wrote and isn't your problem to fix
[04:50] nimstr: I can look at any rails app and know exactly what's going on almost immediately
[04:50] nimstr: because everything has a defined structure
[04:51] shanebo: nimstr +1
[04:51] Nuck: nimstr: Same goes for Express apps
[04:51] Nuck: It's a different structure, but you get used to it
[04:51] Nuck: And forcing everyone to use the same exact style is NEVER a good thing
[04:51] chjj: nuck: i kind of agree, im for following mvc as a general philosophy, but using a heavyweight mvc framework is really ugly imo
[04:51] shanebo: I love that you can drop into Rails IRC and ask what's the way to do something and they tell you :D They don't say well here's 35 ways you could do that.. Pick one.
[04:51] Nuck: It is invariably a negative, it prevents you from doing what feels right
[04:52] Nuck: I roughly follow MVC
[04:52] Nuck: I'll be honest, it's some semblance of MVC
[04:52] Nuck: But, I don't actively attempt to stick to MVC
[04:52] nimstr: alright, I guess I don't have the expertise yet to argue; I'll take a look at express; in the meantime, I have some apps built already in rails, just wondering if it's possible to port the i/o speed of node.js to rails
[04:52] Nuck: nimstr: Node isn't magically fast, it's the fact that we have asynchronous I/O
[04:53] jerrysv_ has joined the channel
[04:53] chjj: im so glad express is what it is, and not some hideous mvc framework
[04:53] kiffness_ has joined the channel
[04:53] Nuck: chjj: Agreed
[04:53] Nuck: I don't get why people seem to put so much stock in these MVC frameworks
[04:53] chjj: we couldve been stuck with something terrible, instead we got something really nice
[04:53] Nuck: I think it's Stockholm Syndrome
[04:53] fairwinds_ has joined the channel
[04:53] nimstr: >.< I understand, just wondering if anyone here has had experience building real-time apps using node.js interacting with a rails data model
[04:53] toki_kanno has joined the channel
[04:53] apang42 has joined the channel
[04:54] Nuck: People have gotten so used to this rigid-ass MVC setup that to move to something so free-formed as Express or Node seems odd to them.
[04:54] Nuck: It's a classic case of Stockholm Syndrome.
[04:55] Nuck: nimstr: Just as you wouldn't make one thing using both Java and C++, you wouldn't do Ruby and Node.
[04:55] shanebo: chjj, Nuck, I've written an MVC framework that's probably less than 800 LOC on top of connect. There's nothing bloated or nasty about it. I think you'all may be averse to too much magic, and I agree. Rails gets too magical for my taste...
[04:56] fangel has joined the channel
[04:56] Nuck: shanebo: It's not that it *is* bloated, it's that it FEELS bloated.
[04:56] Nuck: You can't measure bloat in LOC
[04:56] chjj: shanebo: its not just bloat in most of them
[04:56] chjj: its very rigid like nuck said
[04:56] slifty has joined the channel
[04:56] Nuck: Exactly, the rigidity is the problem.
[04:56] shanebo: exactly. because they believe that's the cleanest pattern.
[04:56] shanebo: (which I agree with)
[04:57] chjj: like i said, im all for following mvc as a general philosophy, but i dont need a framework to do it
[04:57] Nuck: I am a fan of what I call Organic Development. By that I mean I let my code flow like diahrea from my fingertips.
[04:57] g2467 has joined the channel
[04:57] Nuck: I let it organize itself following logical patterns
[04:57] ChrisPartridge has joined the channel
[04:57] chjj: okay, i disagree with that part ^
[04:57] chjj: the fingertips thing
[04:57] shanebo: when you don't embrace a pattern you end with spaghetti, repeating yourself all over the place and quadrupling the size of your codebase
[04:57] Nuck: chjj: lol
[04:58] theCode has joined the channel
[04:58] Nuck: shanebo: Not at all
[04:58] nimstr: when trying to convince people to switch to your coding philosophy, never compare your code to diahrea, haha
[04:58] Nuck: If that's your default structure, there's a problem.
[04:58] chjj: shanebo: you dont need a framework to embrace a pattern
[04:58] Nuck: My code defaults to a frameworkless sorta-MVC-if-you-wanna-call-it-that
[04:59] shanebo: chjj, agreed, but you'll have to write your own then… which I did
[04:59] Nuck: I don't slap a label on it
[04:59] nimstr: the problem I think is that you guys are working on project by yourselves
[04:59] Nuck: shanebo: Or better yet, don't use anything
[04:59] Nuck: And just built it yourself
[04:59] Nuck: nimstr: Not at all
[04:59] nimstr: you'll understand the beauty of MVC when you have to work on a project with 10+ people
[04:59] chjj: shanebo: right, but i would never abstract "my own" into a framework, because it makes things more rigid
[04:59] Nuck: I've got two other programmers working with me on this project, and my code is quite beautiful
[04:59] Nuck: A framework is pointless
[05:00] Nuck: nimstr: You'll understand the beauty of letting it organize itself when you need to meet a deadline for building something you haven't done before.
[05:00] Nuck: I use a mixture of OOP and Functional code, with code organized by purpose more than Model, View, and Controller
[05:00] shanebo: chjj, I suppose you'd have to give an example where MVC falls short in order for me to see where you're coming from. I've never run into a scenario where it felt rigidly impractical
[05:01] Nuck: Hell, I don't really have any Views in Node.
[05:01] Nuck: Or Models
[05:01] kiffness has joined the channel
[05:01] blessYAHU has joined the channel
[05:01] shanebo: Nuck what DB are you using?
[05:01] chjj: shanebo: once again, i never said mvc was the problem
[05:02] Nuck: I have a database layer which handles common functions there, then I have my API layer, then I have my actual site on a separate Nginx server, using AJAX to load it in
[05:02] Nuck: shanebo: Mongo
[05:02] binaryjohn_ has joined the channel
[05:02] Nuck: I have database functions, but when I need a new feature, I add the new feature. Plain and simple.
[05:03] boltR has joined the channel
[05:03] Nuck: I didn't plan a bit of this in advance. I just coded a ton, realized I needed to refactor, then planned that out and orchestrated that over a week or so, then got back to coding
[05:03] Nuck: And lemme tell you, it's working WONDERFULLY so far
[05:03] blessYAHU: for the node windows build, what directory do node_modules go in?
[05:03] Nuck: It allows me fine-grained control over everything, opening up thousands of ways to optimize code, etc.
[05:04] shanebo: Nuck, but I guarantee you that you've not done anything that hasn't already been done, pattern-wise. Only difference is you don't know what pattern it is ;)
[05:04] Nuck: blessYAHU: If you have /foo/bar/app.js requiring 'thing', it checks /foo/bar/node_modules, then /foo/node_modules, then /node_modules/
[05:04] Nuck: It just climbs up
[05:04] blessYAHU: Nuck: Thank you.
[05:05] Nuck: shanebo: No, the difference is, I'm not labelling it and claiming that it's the One True Pattern, unlike all you MVC crazies.
[05:05] kiffness has joined the channel
[05:05] Nuck: I'm saying "I do whatever works"
[05:05] dob_ has joined the channel
[05:05] Nuck: Which translates to "no framework, because abstractions suck testicles"
[05:05] Nuck: See?
[05:06] shanebo: Nuck, so you're admitting to having bloated unDRY code?
[05:06] shanebo: because that's what "abstractions" are… ways to avoid repeating yourself
[05:07] Nuck: shanebo: Not at all. One of the core goals in NodeJS, as stated by ryan, is to avoid abstractions!
[05:07] Nuck: Because abstractions suck ass!
[05:07] shanebo: Nuck, javascript is an abstraction
[05:07] shanebo: every time you use a method on any type, that's an abstraction
[05:08] Nuck: shanebo: When we work in NodeJS we deal directly with POSIX calls
[05:08] nimstr: does node have a "gem-like" equivalent
[05:08] shanebo: side question, how come express passes req/res to every route method?
[05:08] Nuck: We have a fancy wrapper around it, but it's the same thing
[05:09] nimstr: so that if someone has written a chunk of code, I can reuse it?
[05:09] Nuck: nimstr: Better, we have NPM!
[05:09] MUILTFN has joined the channel
[05:09] nimstr: ah, right...
[05:10] Nuck: shanebo: Watch the Introduction to Node.js video
[05:10] shanebo: Nuck, side question, how come express passes req/res to every route method? Why not set req/res to the app which can be accessible from any route method?
[05:10] Nuck: You will hear Ryan flat-out say "we didn't want any uneccessary abstractions"
[05:10] Nuck: Because req and res are per-request
[05:11] Nuck: The server would not have them yet
[05:11] shanebo: keyword is "unnecessary"
[05:12] shanebo: Nuck I mean, request comes in, you set it to the app var so that it's accessible from any route, meaning the route wouldn't get fired unless it was requested
[05:12] Nuck: shanebo: Trust me, your additions are EXTREMELY uneccessary
[05:12] Nuck: shanebo: That'd be juggling variables, a very bad thing.
[05:12] Nuck: The app is not per-client
[05:12] shanebo: Nuck, how do you route to methods through paths?
[05:12] Nuck: It's global to all connections
[05:12] Nuck: What?
[05:13] shanebo: I'm asking how YOU fire methods given the requested url
[05:13] Nuck: shanebo: I use Express :V
[05:13] shanebo: (now explain how the way you handle that, isn't an abstraction)
[05:14] Nuck: It's a simple routing framework
[05:14] Nuck: It's code I would write too
[05:14] shanebo: right, and that's all I'm doing
[05:14] Nuck: req and res are directly off the HTTP server
[05:14] Nuck: That's not mcuh of an abstraction
[05:14] MrNko has joined the channel
[05:14] shanebo: Nuck, you're never wrong are you? :D
[05:15] apang42 has joined the channel
[05:15] Nuck: shanebo: No, it's just that you seem to accept MVC as the One True Way, when it's just One Of The Many, Many Ways
[05:15] Nuck: And it's at one end of te spectrum
[05:16] Nuck: I use whatever system works best for the current situation
[05:16] Nuck: It's adaptive, agile, and extremely efficient.
[05:16] shanebo: Nuck, I didn't say MVC was THE WAY for you
[05:16] Nuck: I just do whatever
[05:16] shanebo: I said I embrace the pattern of MVC as the best way to organize my code. and I've never run into a situation where it failed
[05:17] Nuck: And I said MVC is insanely rigid
[05:17] Nuck: It forces your code to fit its techniques.
[05:17] jesusabdullah: I say, keep mvc in mind if it helps, and deviate when it makes sense to
[05:17] Nuck: And it adds magic
[05:17] jesusabdullah: y'know, if you're comfortable with the mvc paradigm
[05:17] Nuck: I don't do magic, I make it quite obvious what's going on and I organize my code however seems most logical for the project
[05:18] MrNko has joined the channel
[05:18] toki_kanno_ has joined the channel
[05:18] amigojapan has joined the channel
[05:18] toki_kanno has joined the channel
[05:18] kiffness_ has joined the channel
[05:18] g2468 has joined the channel
[05:18] shanebo: Nuck, every project, almost no matter what has consistent themes
[05:18] toki_kanno has joined the channel
[05:19] shanebo: a request is made, it routes to a method, a method does something, the result is rendered to the front-end
[05:19] Nuck: Mine is bit more complex
[05:19] shanebo: so you can either repeat in every method, rendering to the front-end, or write a controller class that handles that for you
[05:20] Nuck: I only use Express because it is a very light abstraction layer
[05:20] Nuck: I can organize my code however I want, and I do so
[05:20] shanebo: light in terms of what it sets out to do? or light in terms of LOC?
[05:20] shipit has joined the channel
[05:20] apang42 has joined the channel
[05:20] newy has joined the channel
[05:21] Nuck: Light in terms of how little functionality it encompasses and how little it forces its ideals on you
[05:21] Nuck: The end result is something that lets me work how I want
[05:21] shanebo: Nuck, my understanding is that express is a WAY, and connect is less opinionated
[05:22] Nuck: Express isn't a way how I [ab]use it!
[05:22] bettsp has left the channel
[05:22] Nuck: I separate shit into files, call on them asynchronously using a require() hack I devised, etc.
[05:23] zcopley has joined the channel
[05:24] Nuck: And honestly, I find connect to be very opiniated
[05:24] liveink has joined the channel
[05:24] Nuck: I have to devise middleware to its specifications
[05:24] Nuck: I can't do my own style, really
[05:24] euforic has joined the channel
[05:24] Nuck: Doesn't stop me from doing it, of course, it's similar enough to what I would've done that I can deal with it
[05:25] Nuck: Either way, stop acting like the world is just black and white
[05:25] Nuck: Don't label things
[05:25] Nuck: And don't assume that one way Always Works
[05:25] Nuck: Because it never does
[05:25] Nuck: And you need to be adaptive
[05:26] Nuck: This is what people have been fighting to get to for years, with agile programming and such, and MVC is here to jsut fuck that all up
[05:26] _root_ has joined the channel
[05:26] eminion_ has joined the channel
[05:27] Nuck: Programming in a rigid way may result in better code that without, but even better is code that is built in the environment of other well-done code
[05:27] shanebo: Nuck, you do understand that the whole "agile" thing was championed by the Rails community right? :)
[05:27] Nuck: It's the Apple effect
[05:27] Nuck: shanebo: It was championed by Ruby
[05:27] Nuck: Not by Rails
[05:27] Nuck: No, not at all
[05:27] Nuck: Rails threw a wrench in it by hooking the belief that Agile didn't work
[05:28] shanebo: Nuck, what are you talking about? Hahaha
[05:29] shanebo: agile was born out of convention over configuration
[05:30] shanebo: what you've been going on about is configuration, no patterns, no convention
[05:30] shanebo: which sadly sounds like early php
[05:30] liveink has joined the channel
[05:30] omni5cience_ has joined the channel
[05:34] Nuck: shanebo: Agile was born out of a need to be free of idiocy
[05:34] sebastianedwards has joined the channel
[05:34] Nuck: To be free of the rigid pre-planned development
[05:34] shanebo: when agile hit, were you born yet? ;)
[05:35] shanebo: because you're severely lacking of why it was embraced
[05:35] Nuck: ha ha, so funny
[05:35] Nuck: But seriously, I think you must've had a rather odd understanding of things then
[05:36] febits has joined the channel
[05:36] Nuck: Because seriously, it was a shift from pre-planned programming where you planned your problems and devised solutions beforehand, to agile, where you approached problems as you got to them
[05:36] matyr_ has joined the channel
[05:37] balaa has joined the channel
[05:37] Nuck: A shift from rigidity to freedom
[05:38] Nuck: You can't argue with that, it's facts.
[05:38] shanebo: Nuck, it's simple man. People got tired of the spaghetti code (that you're promoting). So they started writing frameworks. One of which was Rails. MVC, convention over configuration. And what it allowed was for people to not worry about code structure as much and focus more on their end result. The idea being, the framework made a lot of the decisions for you and allowed for quick/easy iterations, i.e., "Agile".
[05:38] squeese has joined the channel
[05:38] MrNko has joined the channel
[05:39] Nuck: shanebo: Yeah, go look up what Agile is, and you'll find out that's not what you're talking about ;)
[05:39] Nuck: Spaghetti code is also not that
[05:39] Nuck: You're using basically every term wrong in that.
[05:40] Nuck: Not to mention, things are cyclical, we are on the pendulum back to more loose conventions again
[05:40] Nuck: With Node.js
[05:40] phluffy has joined the channel
[05:40] phluffy has joined the channel
[05:40] apang42 has joined the channel
[05:40] jesusabdullah: The idea behind agile is simply to deploy and iterate quickly
[05:40] jesusabdullah: Push out an mvp and make it better over time
[05:40] mikeycgto has joined the channel
[05:40] jesusabdullah: instead of working on it for a year, making sure it's "perfect" and then learning that it sucks when you push it out
[05:41] jesusabdullah: Everything else is just fluff and management self-help books
[05:41] shanebo: jesusabdullah, agreed, but when did agile get legs? Was it not right when Rails hits?
[05:41] jesusabdullah: No, it was when we weren't building cars anymore
[05:42] jesusabdullah: and when the managers got their hands on the self-help books
[05:42] jesusabdullah: Rails may have *helped* in that it gives you 90% of some subset of webapps you might want to write
[05:42] jesusabdullah: but frameworks are just a tool
[05:43] Nuck: Ruby just encouraged Agile because _why encouraged agile ;)
[05:43] jesusabdullah: well
[05:43] jesusabdullah: I think there were other reasons as well
[05:43] jesusabdullah: I mean, agile's popular in all sorts of software environments
[05:43] Nuck: So is _why
[05:43] g2469 has joined the channel
[05:43] mikeal has joined the channel
[05:43] jesusabdullah: it probably gained ground in ruby generally because of open source and flexible tools
[05:44] jesusabdullah: "flexible"
[05:44] Nuck: Even though I never learned Ruby (I actually despise it), I still idolize _why
[05:44] jesusabdullah: ie, it's a little hard to iterate really quickly when you have to give somebody a stupid .msi
[05:44] jesusabdullah: ugh, don't idolize _why
[05:44] jesusabdullah: He wrote a lot of good code, yeah
[05:44] g2470 has joined the channel
[05:44] jesusabdullah: but have you tried reading his poignant guide? It's honestly not that great
[05:44] jesusabdullah: He was a little loopy
[05:44] jesusabdullah: and then he deleted all his code like a douche
[05:44] Nuck: The things he promoted were great
[05:45] Nuck: And he helped initiate a lot of young coders
[05:45] liar has joined the channel
[05:46] jesusabdullah: and that's commendable
[05:46] Nuck: Not to mention how motivational much of his writings were
[05:46] kiffness_ has joined the channel
[05:46] jesusabdullah: but is that worth idolatry? He was just a man like the rest of us
[05:46] blessYAHU: anyone have references to run nodejs boilerplate on windows?
[05:46] Nuck: jesusabdullah: He was a man who greatly furthered the community, and is that not enough to earn idolatry?
[05:46] Nuck: Is that not what we want from every man?
[05:47] blkcat: i think idolatry is a little much ;)
[05:47] Nuck: He was just another man, yes. But he had amazing charisma and such a unique style that he invigorated the community and helped speed up the sphincter-loosenining
[05:47] blkcat: but _why was a pretty swell dude, and it was sad when he left.
[05:48] __tosh has joined the channel
[05:48] Nuck: My startup has a guy who goes under a pseudonym
[05:48] Nuck: And he's debating if he wants to keep his real identity a secret
[05:48] Nuck: I fully support it
[05:49] Nuck: (I know his real name, but I ain't telling anyone :P)
[05:50] davidbanham: No problem whatsoever with people using pseudonyms if they feel like it, but it seems like a real missed opportunity in terms of getting your name out there. (I want to say personal branding but it makes me sound like an arsehole)
[05:50] g2471 has joined the channel
[05:50] Nuck: This guy has personally developed an identity under his pseudonym
[05:50] g2472 has joined the channel
[05:50] Nuck: He'd actually be losing quite a bit of his identity if he switched to a real name
[05:51] adam_ has joined the channel
[05:51] Nuck: Anyways, I'm gonna go take a shower and go to sleep.
[05:51] Nuck: Got a class at 8AM tomorrow morning :'(
[05:51] davidbanham: Enjoy, I'mma head out of the office. Gotta walk my dog.
[05:51] apang42 has joined the channel
[05:52] NuckingFuts has joined the channel
[05:52] Nuck: davidbanham: lol I misread that as "frog" at first
[05:52] Lorentz: Nuck: I use "Lorentz" as my "business" name
[05:52] Nuck: Thanks to my background on mIRC
[05:52] Lorentz: Not a lot of people know my actual actual name.
[05:52] apang42 has joined the channel
[05:52] Lorentz: Even if they know, they probably can't spell it, heh.
[05:52] Nuck: Lorentz: This guy has a pseudonym of Mavyrk, and he's pretty well-known on deviantART under that name
[05:52] Nuck: Took a lot to get him to reveal his real name and age to us :D
[05:52] chjj: mirc!
[05:53] chjj: ACTION vomits
[05:53] Nuck: And there's still one of my cofounders who doesn't know (and I'm trying to keep it that way for fun)
[05:53] Nuck: chjj: Inorite
[05:53] Nuck: ACTION switches to Colloquy Mobile
[05:53] neilk_ has joined the channel
[05:53] NuckingFuts: :D
[05:53] chjj: if youre not using irssi, youre doing it wrong i think ;)
[05:54] jvolkman: ACTION remembers using mirc in windows 3.1
[05:54] chjj: i think windows 3.1 was the first os i ever tried
[05:54] russell has joined the channel
[05:55] kiffness has joined the channel
[05:55] davidbanham: chjj: LimeChat is pretty slick. I've been tempted to switch to irssi a few times for nerd cred but just can't find a compelling reason
[05:55] shanebo: guys, question about how node handles requests…. does each request and subsequent methods finish before a new request gets added to the event loop?
[05:55] g2473 has joined the channel
[05:56] chjj: davidbanham: i never tried irssi in the first place for "nerd cred", i tried it because i was out of ideas, and every irc client i had ever tried previous to it was terrible
[05:56] g2473: asd
[05:56] kiffness has joined the channel
[05:56] chjj: ive really hated every irc client ive ever tried
[05:56] chjj: as long as i can remember
[05:56] Lorentz: Maybe rewrite irssi in node?
[05:57] chjj: yes!
[05:57] shanebo: meaning, if request A comes in and it has 15 methods before it's done, and request B comes in at method 7, is it added to the event loop at that point or does it go at the end of once request A is done?
[05:57] Lorentz: With near identical interface, and loadable scripts being javascript
[05:57] davidbanham: chjj: There's nothing pejorative about my use of "nerd cred". I shamelessly love my nerd cred and seek it out wherever possible!
[05:57] chjj: davidbanham: sure, im just saying, thats not why i tried it in the first place
[05:58] chjj: i was really backed into a corner when i tried it
[05:58] CStumph has joined the channel
[05:58] chjj: cause i was desperate to find a good irc client
[05:58] davidbanham: Fair enough. Anyway, leaving the office now and won't be able to see anything you say after I do so because I'm using a user-side IRC client and not something like irssi on a server. :p
[05:59] jvolkman: use znc
[05:59] chjj: davidbanham: hehe, roger
[05:59] Nuck|mobile: I would love to see an ncurses-based TUI irc client on node
[05:59] Nuck|mobile: ACTION skedaddles
[05:59] chjj: Nuck|mobile: are you in the shower right now? ...with your phone?
[06:00] Nuck|mobile: Nah just in the bathroom half naked
[06:00] chjj: i see
[06:00] gartenstuhl has joined the channel
[06:02] kiffness has joined the channel
[06:03] stephank has joined the channel
[06:04] andrewfff has joined the channel
[06:04] Sidnicious has joined the channel
[06:04] Sidnicious has joined the channel
[06:06] mraleph has joined the channel
[06:06] chjj: node is 47 watchers away from beating jquery
[06:07] chjj: steadily gaining on them
[06:07] Deegie has joined the channel
[06:07] binaryjohn_ has joined the channel
[06:09] SamuraiJack has joined the channel
[06:10] zomgbie has joined the channel
[06:10] kmiyashiro has joined the channel
[06:10] Lorentz: Nuck|mobile: I wrote an irc bot
[06:10] Lorentz: an irc client with ncurses wrapper is just next step up
[06:11] KellyM has joined the channel
[06:11] zeropx has joined the channel
[06:11] shanebo: chjj, can you help me understand node's event loop?
[06:12] chjj: shanebo: i hope so
[06:13] cha0s has joined the channel
[06:13] fly-away has joined the channel
[06:13] __mark__ has joined the channel
[06:14] __mark__: quick question: how do I turn off verbose logging in socket.io 0.8.0?
[06:14] chjj: shanebo: what do you need to know?
[06:14] g2474 has joined the channel
[06:14] shanebo: :), if request A has 15 subsequent methods before the req.end() and request B comes in when request A is on method 7, will request B and it's subsequent methods go after req.end of request A, or be added into the loop at method 7 of request A?
[06:14] shanebo: chjj ˆˆ
[06:15] chjj: if all of those methods are synchronous, req B will come after the req.end() for A
[06:16] chjj: synchronous stuff will block anything thats waiting on the event loop
[06:16] jvolkman: node is single threaded so it won't know about request B before it finishes with request A and gets back to its event loop
[06:16] sreeix has joined the channel
[06:17] sreeix has joined the channel
[06:17] g2474: foobar
[06:17] chjj: shanebo: if that wasnt the case, node would be very hard to program in, stuff would be happening all over the place, completely out of your control
[06:17] MrNko has joined the channel
[06:17] shanebo: chjj, jvolkman, okay so is it safe to assume that I can assign the req/res to a default controller and access it as needed within my methods, and be confident it's the right request?
[06:18] shanebo: chjj, hence why I asked. It feels like inception at times ;)
[06:18] jvolkman: like chjj said, as long as you don't do anything asynchronous you're in control
[06:19] tylerstalder has joined the channel
[06:19] csanz has joined the channel
[06:19] jvolkman: as soon as you defer the request to access a file, wait for a timer, etc, node gets back to its loop.
[06:19] chjj: shanebo: yeah, as soon as you give a callback, something could change in between the time that callback is waiting on the event loop and when its executed
[06:19] g2475 has joined the channel
[06:19] chjj: but if everything you do blocks, you have total control
[06:20] Nuck|mobile: Lorentz: I wrote a Bot for deviantart chat. I know a client is a lot harder than it sounds.
[06:20] chjj: shanebo: if you want to gist something i could probably tell you more
[06:21] Nuck|mobile: God colloquy is badass on mobile
[06:21] shanebo: chjj here's the basic flow
[06:22] chjj: before you do anything, dont copy and paste 10 lines here
[06:22] chjj: gist!
[06:22] chjj: ;)
[06:22] Nuck|mobile: You know what I want on iPhone now? TextMate :D
[06:22] Nuck|mobile: Or some other code editor with highlighting and such
[06:23] chjj: ACTION has never used textmate
[06:23] chjj: everyone says textmate is god
[06:23] Nuck|mobile: Nor have I but I have seen the code for a bundle
[06:23] shanebo: chjj request --> route --> fire proper controller action (which can change default views) --> default controller render --> req.end(rendered_view)
[06:23] Nuck|mobile: And it seems fucking powerful
[06:23] ivanfi has joined the channel
[06:24] garrensmith: morning all
[06:24] Nuck|mobile: Morning
[06:24] shanebo: morning
[06:24] chjj: shanebo: does the controller action do anything async?
[06:24] zgryw has joined the channel
[06:24] Nuck|mobile: All apps should aspire to be as well-made as colloquy mobile.
[06:24] chjj: shanebo: i also dont understand, if youre just getting a request through your router or what have you, you dont have to worry about the request magically changing into a different request
[06:25] shanebo: chjj, no, but the default controller render method does. it loads the view and layout template
[06:25] Nuck|mobile: Customizable, but not excessively so, insanely stable, and a beautiful UI
[06:25] _root_ has joined the channel
[06:25] chjj: why is the render async if youre just buffering it and dumping it into .end?
[06:26] shanebo: chjj, I'm using readFile, which I thought was async??
[06:26] chjj: shanebo: you have to show me some code for me to give you a thorough answer, otherwise, what i said before is what you need to know
[06:26] chjj: well, it is async, but you can also call readFileSync
[06:27] shanebo: I see, and that's not a no no?
[06:27] shanebo: :D
[06:27] chjj: most templating engines or view systems will cache compiled templates
[06:27] chjj: its not a no-no
[06:27] vikstrous has joined the channel
[06:27] chjj: if youre caching the compiled template, in fact, its a yes-yes
[06:27] chjj: its much faster because you dont have to do any io
[06:28] chjj: you only have to do io the first time
[06:28] chjj: when you read it and compile it for the first time
[06:28] shanebo: should I load up all views before starting the server rather than readFile each request?
[06:28] chjj: yeah, that works
[06:28] chjj: just cache them afterward
[06:28] chjj: its how most frameworks implement their view systems
[06:29] chjj: or i guess i should say, every framework
[06:29] shanebo: and doing readFileSync at that point is okay because the server hasn't started yet right?
[06:29] chjj: the template is read and compiled once, and then cached
[06:29] chjj: yes its okay, but its even okay after the server has started *as long as you cache it* and arent calling it for every request
[06:30] shanebo: chjj cache it manually or is there a node core way to do that?
[06:30] chjj: cache it manualy
[06:30] chjj: unless youre using some kind of framework
[06:31] shanebo: well data is dynamic in views though
[06:31] chjj: right
[06:31] chjj: which is why you compile the template, and cache the compiled function
[06:31] shanebo: so maybe I cache the readFile contents and access each time and render via mustache each time
[06:31] chjj: and then you have a function you can pass locals to
[06:32] g2476 has joined the channel
[06:32] chjj: im not sure you understand how templating systems work
[06:32] g2476: test
[06:32] shanebo: at the caching level, you're right
[06:32] g2476: ok
[06:32] g2476: /nick chris
[06:33] chjj: templates are compiled into javascript, using using the function constructor - you can cache this compiled function, and simply pass locals to it whenever you want to render something
[06:33] chjj: usually using*
[06:33] Me1000 has joined the channel
[06:33] shanebo: I see
[06:33] g2477 has joined the channel
[06:33] Nuck|mobile: To cache the results of templates, hash the inputs and store by that
[06:33] shanebo: currently I'm using mustache
[06:34] shanebo: i heart logicless views
[06:34] Nuck|mobile: I have my own mustache-esque parser
[06:34] andree has joined the channel
[06:34] shanebo: cool
[06:34] Nuck|mobile: I didn't know of mustache when I did it, and I personally prefer mine
[06:34] shanebo: is it on github? and what are the differences?
[06:35] g2477: Testaa uutta irkkiä
[06:35] Nuck|mobile: Eh, I don't think I ever open-sourced it. It's just a very simple thing, tbh, nothing fancy
[06:36] g2478 has joined the channel
[06:36] shanebo: the mustache I'm using is only about 300 lines
[06:36] shanebo: it's super fast
[06:36] shapeshed has joined the channel
[06:36] Nuck|mobile: It's just a simple function that accepts a string and an object, array, or series of arguments
[06:37] Nuck|mobile: It then replaces {key} with the values
[06:37] Nuck|mobile: And returns ir
[06:37] Nuck|mobile: It was speedy, simple, and adaptive.
[06:37] chjj: shanebo: all that matters is the function thats return, the speed of parsing and compiling is irrelevant
[06:37] chjj: returned*
[06:38] chjj: btw
[06:38] chjj: https://github.com/chjj/liquor
[06:38] chjj: my templating engine ^ :)
[06:38] Nuck|mobile: I should make my parser return the function
[06:38] Nuck|mobile: It could allow for more optimizations.
[06:38] zgryw has joined the channel
[06:39] newy has joined the channel
[06:39] chjj: Nuck|mobile: thats all it should do, theres nothing faster than a function that does a few string concatenations or an array.join()
[06:39] Nuck|mobile: Mine is all through string.replace
[06:40] Nuck|mobile: And a for loop to iterate over the keys
[06:40] chjj: yeah, you should compile a function instead
[06:40] Nuck|mobile: I agree
[06:40] newy has joined the channel
[06:40] guidocalvano has joined the channel
[06:41] Nuck|mobile: I just do Parse('hello {0} world!', 'lovely') and it handles ir
[06:41] Nuck|mobile: I love encapsulation
[06:41] chjj: i kind of wish js had some kind of native interpolation
[06:41] shanebo: Nuck|mobile how do you handle nested objects?
[06:41] shanebo: dot notation?
[06:42] Nuck|mobile: I don't, simply put.
[06:42] Nuck|mobile: Lol
[06:42] shanebo: :)
[06:42] Nuck|mobile: It was very, very basic.
[06:42] Nuck|mobile: But i will likely use dot notation, yeah
[06:43] ph^ has joined the channel
[06:43] saimon_ has joined the channel
[06:43] Yoric has joined the channel
[06:44] eazyigz has joined the channel
[06:45] shanebo: I'm using this branch: https://github.com/mhevery/mustache.js
[06:45] yokoe has joined the channel
[06:46] versicolor has joined the channel
[06:49] g2479 has joined the channel
[06:49] mikl has joined the channel
[06:51] emattias has joined the channel
[06:52] toki_kanno has joined the channel
[06:52] simenbrekken has joined the channel
[06:53] g2480 has joined the channel
[06:55] anubhaw has joined the channel
[06:57] __mark__: Hey, I'm experiencing "warn - websocket connection invalid" in production with socket.io 0.8.0 but in development it works just fine.
[06:57] __mark__: has anybody had this issue?
[06:57] __mark__: or know why it would behave different?
[06:58] gkatsev has joined the channel
[07:03] g2481 has joined the channel
[07:03] fangel has joined the channel
[07:03] kiffness has joined the channel
[07:03] luke` has joined the channel
[07:04] ttpva has joined the channel
[07:05] groom has joined the channel
[07:05] luke` has joined the channel
[07:05] liveink has joined the channel
[07:07] neoesque has joined the channel
[07:07] raphdg has joined the channel
[07:10] g2482 has joined the channel
[07:11] Druid_ has joined the channel
[07:11] topaxi has joined the channel
[07:11] g2482: hi?
[07:11] g2482: /part
[07:12] cying has joined the channel
[07:14] febits has joined the channel
[07:14] dob_ has joined the channel
[07:14] tonymilne has joined the channel
[07:16] dob_ has joined the channel
[07:18] stride: hi
[07:18] necrodearia has joined the channel
[07:18] felixhummel has joined the channel
[07:18] MrNko has joined the channel
[07:19] MrNko has joined the channel
[07:20] ablomen has joined the channel
[07:22] djcoin has joined the channel
[07:24] fangel has joined the channel
[07:24] toki_kanno has joined the channel
[07:25] newy has joined the channel
[07:25] g2483 has joined the channel
[07:26] zackattack has joined the channel
[07:27] Guest7021 has joined the channel
[07:27] g2484 has joined the channel
[07:27] shanebo: chjj, thanks a lot for the help!
[07:27] shanebo: good night
[07:30] hekkwan has joined the channel
[07:32] mraleph has joined the channel
[07:32] jomoho has joined the channel
[07:34] liveink has joined the channel
[07:35] g2485 has joined the channel
[07:37] g2486 has joined the channel
[07:39] g2486: ?
[07:40] g2488 has joined the channel
[07:40] g2487 has joined the channel
[07:40] felixhummel has joined the channel
[07:41] g2489 has joined the channel
[07:42] g2490 has joined the channel
[07:42] mcepl has joined the channel
[07:42] FireFly|n900 has joined the channel
[07:43] NetRoY has joined the channel
[07:43] g2491 has joined the channel
[07:45] g2492 has joined the channel
[07:47] karlbright has joined the channel
[07:47] japj has joined the channel
[07:47] g2493 has joined the channel
[07:48] cosmincx has joined the channel
[07:49] cjheath has joined the channel
[07:50] __tosh has joined the channel
[07:51] jerrysv has joined the channel
[07:52] g2494 has joined the channel
[07:54] mpavel has joined the channel
[07:55] emattias has joined the channel
[07:55] g2495 has joined the channel
[07:56] __doc__ has joined the channel
[07:56] g2496 has joined the channel
[07:56] jetienne__ has joined the channel
[07:57] g2496: fubar
[07:57] mendel_ has joined the channel
[07:58] hasenj has joined the channel
[07:58] g2497 has joined the channel
[07:58] depywork has left the channel
[07:58] mendel_ has left the channel
[07:59] rurufufuss has joined the channel
[07:59] ivanfi has joined the channel
[08:01] kurtzhong has joined the channel
[08:01] g2498 has joined the channel
[08:02] g2499 has joined the channel
[08:03] MrNko has joined the channel
[08:03] g2499: test
[08:03] g2499: /join #test
[08:04] g2498: ab
[08:04] zgryw has joined the channel
[08:06] g2500 has joined the channel
[08:08] Esteb has joined the channel
[08:08] g2501 has joined the channel
[08:09] hackband has joined the channel
[08:09] g2447: :P
[08:09] g2502 has joined the channel
[08:09] [AD]Turbo has joined the channel
[08:09] misterm_ has joined the channel
[08:10] zastaph has joined the channel
[08:11] g2503 has joined the channel
[08:11] zemanel_ has joined the channel
[08:11] _kud has joined the channel
[08:14] MrNko has joined the channel
[08:16] eldios has joined the channel
[08:16] mikl_ has joined the channel
[08:18] dgathright has joined the channel
[08:18] gartenst_ has joined the channel
[08:18] MrNko has joined the channel
[08:20] g2504 has joined the channel
[08:20] g2506 has joined the channel
[08:20] g2507 has joined the channel
[08:20] g2508 has joined the channel
[08:20] g2505 has joined the channel
[08:20] Fabryz has joined the channel
[08:23] bergelmir has joined the channel
[08:24] bergelmir has joined the channel
[08:24] FireFly|n900 has joined the channel
[08:24] toki_kanno has joined the channel
[08:25] MrNko has joined the channel
[08:25] g2509 has joined the channel
[08:25] g2510 has joined the channel
[08:26] mendel_ has joined the channel
[08:27] g2511 has joined the channel
[08:27] MrNko has joined the channel
[08:27] g2512 has joined the channel
[08:28] burningdog has joined the channel
[08:29] fmeyer_ has joined the channel
[08:30] fmeyer has joined the channel
[08:30] antris has joined the channel
[08:31] dob_ has joined the channel
[08:31] jerrysv has joined the channel
[08:33] fangel has joined the channel
[08:33] mc_greeny has joined the channel
[08:34] g2513 has joined the channel
[08:36] ptlo has joined the channel
[08:36] g2514 has joined the channel
[08:36] skm has joined the channel
[08:36] g2515 has joined the channel
[08:37] sgimeno has joined the channel
[08:37] JakeyChan: can to monitor all files with nodemon ?
[08:37] JakeyChan: instead of only *.js file ?
[08:38] antris: I'm using https://github.com/jorritd/node-watch to watch some files so i can run Jasmine specs. The problem is, when I change my spec file and it runs the tests again, the results don't change like they should. If there's a test expect(true).toBe(true); and I change it to expect(true).toBe(false);, it'll still pass.
[08:38] antris: Is my tests being cached in some weird way?
[08:38] antris: Are*
[08:39] antris: The results work correctly when I shut the autotest process and start it up again, but with the file watch, they don't.
[08:41] davidbanham has joined the channel
[08:42] g2516 has joined the channel
[08:45] g2517 has joined the channel
[08:45] MrNko has joined the channel
[08:46] g2518 has joined the channel
[08:46] japj: it could be that the files are not reloaded, is the require cache flushed (or atleast the files that actually change?)
[08:46] depywork has joined the channel
[08:46] g2519 has joined the channel
[08:47] g2519: aa
[08:47] antris: i have no require statements yet, i'm only watching the spec file and the specs have no dependencies
[08:49] newy has joined the channel
[08:49] mcepl has joined the channel
[08:49] g2520 has joined the channel
[08:49] g2521 has joined the channel
[08:50] tim_smart has joined the channel
[08:50] antris: japj: How would one check what is in the cache / flush it?
[08:51] g2522 has joined the channel
[08:51] japj: I am not sure how jasmine works, never used it myself before, but does the example from node-watch Jakefile work?
[08:52] g2523 has joined the channel
[08:52] g2523: test
[08:52] versicolor has joined the channel
[08:52] japj: https://github.com/jorritd/node-watch/blob/master/Jakefile#L85
[08:53] g2523: asdf
[08:53] g2524 has joined the channel
[08:53] g2525 has joined the channel
[08:54] g2526 has joined the channel
[08:55] g2527 has joined the channel
[08:55] g2528 has joined the channel
[08:56] hekkwan has joined the channel
[08:57] g2529 has joined the channel
[08:59] MrNko has joined the channel
[09:01] smithamax has joined the channel
[09:02] rakesh314 has joined the channel
[09:03] smithamax has left the channel
[09:03] Cromulent has joined the channel
[09:03] g2530 has joined the channel
[09:03] [[zz]] has joined the channel
[09:03] stagas has joined the channel
[09:04] g2531 has joined the channel
[09:04] g2532 has joined the channel
[09:04] hekkwan has joined the channel
[09:06] Emmanuel_ has joined the channel
[09:06] g2533 has joined the channel
[09:06] Nexxy has joined the channel
[09:06] g2534 has joined the channel
[09:07] sebastia_ has joined the channel
[09:07] g2535 has joined the channel
[09:07] g2536 has joined the channel
[09:08] g2537 has joined the channel
[09:08] g2538 has joined the channel
[09:08] g2539 has joined the channel
[09:09] eldios: NO WAY!!! Node dynamic windows manager! https://github.com/mixu/nwm O_O
[09:09] paveq: how cool is that :)
[09:09] g2540 has joined the channel
[09:10] g2541 has joined the channel
[09:11] g2542 has joined the channel
[09:11] g2543 has joined the channel
[09:11] g2545 has joined the channel
[09:11] g2544 has joined the channel
[09:11] g2546 has joined the channel
[09:14] _kud has joined the channel
[09:14] yonatan-xchat has joined the channel
[09:15] ivanfi1 has joined the channel
[09:16] yonatan-xchat has joined the channel
[09:16] g2547 has joined the channel
[09:16] tim_smart: csanz: I'll just throw it on my prgmr box
[09:17] csanz: tim_smart: ok lol :D
[09:18] g2548 has joined the channel
[09:19] g2549 has joined the channel
[09:20] g2550 has joined the channel
[09:20] Smithamax has joined the channel
[09:20] dexter_e has joined the channel
[09:20] visnup: JakeyChan: my nodemon seems to monitor lots of things
[09:21] g2551 has joined the channel
[09:21] g2552 has joined the channel
[09:22] JakeyChan: visnup: but in the read me of nodemon, it said : "By default, if nodemon will only restart when a .js JavaScript file changes. "
[09:22] dexter_e: anyone use JSDOM ?
[09:22] g2553 has joined the channel
[09:23] g2554 has joined the channel
[09:23] booo has joined the channel
[09:24] g2555 has joined the channel
[09:24] tim_smart has joined the channel
[09:24] visnup: JakeyChan: it definitely works on .coffee, .conf...
[09:24] visnup: I believe it has an ignore list for some types though
[09:25] g2556 has joined the channel
[09:27] JakeyChan: visnup: i will check the source code and find out this issue solution :D
[09:28] anti has joined the channel
[09:30] tim_smart has joined the channel
[09:31] Nima has joined the channel
[09:31] g2557 has joined the channel
[09:34] sreeix_ has joined the channel
[09:35] g2558 has joined the channel
[09:36] g2559 has joined the channel
[09:36] pkrumins: published Reflections on Node.js Knockout Competition 2011 http://catonmat.net/blog/nodejs-knockout-2011/
[09:37] pkrumins: guyse, if you love this, i'd love an upvote on paul graham's website http://news.ycombinator.com/item?id=2936552
[09:37] stride: looks awesome
[09:41] tim_smart has joined the channel
[09:41] boehm has joined the channel
[09:41] g2560 has joined the channel
[09:41] Smithamax has joined the channel
[09:42] g2560: ?
[09:44] JakeyChan: which more popular test framework you are on ? :)
[09:44] g2561 has joined the channel
[09:44] XniX23 has joined the channel
[09:45] MrNko has joined the channel
[09:46] _alram has joined the channel
[09:46] sarvesh has joined the channel
[09:46] tim_smar1 has joined the channel
[09:48] sarvesh: i am new to node.js
[09:48] sarvesh: looking for some help
[09:49] g2562 has joined the channel
[09:50] vuliev has left the channel
[09:50] Cromulent has joined the channel
[09:50] sarvesh: is there anyone using cygWin for node.js
[09:55] stagas: sarvesh: what is your question?
[09:56] synkro has joined the channel
[09:57] g2563 has joined the channel
[09:58] mh` has joined the channel
[09:59] andrewfff has joined the channel
[10:00] cognominal has joined the channel
[10:01] jbrokc has joined the channel
[10:02] N0va has joined the channel
[10:03] MrNko has joined the channel
[10:03] cjroebuck has joined the channel
[10:03] guidocalvano has joined the channel
[10:03] g2564 has joined the channel
[10:04] rurufufuss has joined the channel
[10:04] g2565 has joined the channel
[10:04] einaros has joined the channel
[10:05] Remoun_ has joined the channel
[10:06] fangel has joined the channel
[10:06] g2566 has joined the channel
[10:06] mike5w3c_ has joined the channel
[10:08] necrodearia has joined the channel
[10:08] g2567 has joined the channel
[10:09] fermion has joined the channel
[10:10] g2568 has joined the channel
[10:11] g2569 has joined the channel
[10:11] Sebastien-L has joined the channel
[10:15] pksunkara has joined the channel
[10:16] pksunkara: Hey anybody know here which MVC framework is the best for web apps ? (Something like rails)
[10:16] fly-away has joined the channel
[10:16] jetienne__ has joined the channel
[10:17] g2570 has joined the channel
[10:18] g2571 has joined the channel
[10:19] g2571: hey
[10:20] g2572 has joined the channel
[10:22] g2572: zz
[10:23] g2573 has joined the channel
[10:24] junkee[] has joined the channel
[10:24] g2574 has joined the channel
[10:27] mikl has joined the channel
[10:29] g2575 has joined the channel
[10:29] karlbright has joined the channel
[10:29] antris_ has joined the channel
[10:29] eldios: I still need to find a good webdesign book/tutorial source of nextgen tech (HTML5/CSS3/JS)
[10:29] eldios: I can (almost) node but it seems I find it very difficult when it comes to make the frontend (webgui) part
[10:30] eldios: if you guys have any hint.. it would be welcome =)
[10:30] jro_ has joined the channel
[10:30] jro_: hi all
[10:30] g2576 has joined the channel
[10:31] ehedenst has joined the channel
[10:31] antris has joined the channel
[10:33] adrianmg has joined the channel
[10:34] g2577 has joined the channel
[10:34] g2577: as
[10:34] zackattack has joined the channel
[10:34] g2577: hello
[10:34] g2578 has joined the channel
[10:35] Nima has left the channel
[10:35] d3x7r0 has joined the channel
[10:35] g2579 has joined the channel
[10:35] rendar has joined the channel
[10:36] g2580 has joined the channel
[10:37] gaYak has joined the channel
[10:37] jro_ has joined the channel
[10:37] jro_: hi all
[10:38] Nima has joined the channel
[10:38] g2581 has joined the channel
[10:38] g2582 has joined the channel
[10:39] Nima: .
[10:39] g2583 has joined the channel
[10:40] g2584 has joined the channel
[10:41] sfoster has joined the channel
[10:41] FireFly|n900 has joined the channel
[10:43] arnorhs has joined the channel
[10:46] cha0s has joined the channel
[10:47] a_suenami has joined the channel
[10:47] tim_smart has joined the channel
[10:47] g2585 has joined the channel
[10:50] g2586 has joined the channel
[10:50] minikomi has joined the channel
[10:51] dylang has joined the channel
[10:52] g2587 has joined the channel
[10:54] tsd_ has joined the channel
[10:55] minikomi has left the channel
[10:55] zakuni has joined the channel
[10:55] rakesh314 has joined the channel
[10:55] Kami_: SubStack: hey, I'm playing with a burrito and I encountered a problem with wrap (bug?) Sometimes when when I wrap a node it doesn't include the end node
[10:57] nimstr has joined the channel
[10:57] DrMcKay has joined the channel
[10:59] g2588 has joined the channel
[11:00] tshpaper has joined the channel
[11:01] shapeshed has joined the channel
[11:01] g2589 has joined the channel
[11:02] SubStack: Kami_: highly possible
[11:02] SubStack: burrito just gets the start and end annotations from uglify
[11:03] DrMcKay: SubStack: very nice project you have there :)
[11:04] DrMcKay: SubStack: you think it would be possible to port heatwave to console?
[11:06] SubStack: DrMcKay: absolutely!
[11:06] rakesh314 has left the channel
[11:06] SubStack: DrMcKay: you could use this module for the colors: https://github.com/substack/node-charm
[11:06] SubStack: colors + moving the cursor around
[11:06] Kami_: SubStack: actually, now I think it's a bug in uglify, yeah. it works properly if I set beautify attribute in deparse to true
[11:07] SubStack: peculiar!
[11:07] DrMcKay: SubStack: exactly what I need :)
[11:08] sreeix_ has joined the channel
[11:08] hackband has joined the channel
[11:09] g2590 has joined the channel
[11:09] DrMcKay: SubStack: can it bold and underline text?
[11:10] SubStack: DrMcKay: it can do "bright" and "underscore"
[11:10] SubStack: those might be the same things
[11:10] SubStack: I was just going off the ansi names
[11:10] versicolor has joined the channel
[11:10] DrMcKay: SubStack: ah, good
[11:11] DrMcKay: btw: https://github.com/busyloop/lolcat
[11:12] zgryw: lol @ 666 users ;)
[11:12] andre_pl has left the channel
[11:12] madsleejensen has joined the channel
[11:12] DrMcKay: zgryw: where?
[11:12] jobim: in this channel
[11:13] DrMcKay: lol
[11:14] eldios: LOL
[11:15] eldios: also uber-lol @ lolcat
[11:15] eldios: I want one with nodejs
[11:16] markwubben has joined the channel
[11:16] DrMcKay: eldios: well, I'm currently at job
[11:16] DrMcKay: eldios: and I'm bored
[11:16] DrMcKay: eldios: expect one soon :D
[11:16] eldios: \o/
[11:16] eldios: DrMcKay, put me in the team, pls!
[11:17] eldios: also there where nodejs color from visionmedia possibly to ease such a task
[11:17] MrNko has joined the channel
[11:17] eldios: s/where/were/
[11:17] DrMcKay: eldios: give me an hour to finish stuff here
[11:17] eldios: go go go
[11:17] Fabryz_ has joined the channel
[11:18] lunks has joined the channel
[11:18] DrMcKay: eldios: this https://github.com/substack/node-charm or this: https://github.com/Marak/colors.js
[11:18] eldios: that one
[11:18] jro__ has joined the channel
[11:18] DrMcKay: eldios: which?
[11:18] jro__: hi all
[11:18] eldios: HOLY FREAKING SH**!!
[11:18] eldios: node-charm is exactly what I needed \o/!!!
[11:18] Chopinn has joined the channel
[11:19] eldios: colors would be more appropriate and easy to use for the nodejs lolcat impementation possibly
[11:19] eldios: but node-charm is simply freaking awesome!
[11:20] eldios: I suppose I will choose node-charm just to get used to it
[11:20] DrMcKay: eldios: OK, I'll use colors for cat
[11:20] DrMcKay: eldios: what are you doing?
[11:20] DrMcKay: btw, lol @ this pull request about colon
[11:20] eldios: too many things.. some of which involves CLI interface
[11:21] eldios: when you'll have the repo up pls put me in
[11:21] eldios: same name on github
[11:21] DrMcKay: eldios: ok
[11:22] luismreis has joined the channel
[11:24] g2591 has joined the channel
[11:24] DrMcKay: this pull request is awesome.
[11:24] DrMcKay: I wonder how many of them are just trolling
[11:25] barodeur has joined the channel
[11:27] jro__: ls
[11:27] fdenbow has joined the channel
[11:27] nbjayme has joined the channel
[11:28] antris: japj: Got it working by following that example. My tests are now running beautifully. Thanks! :)
[11:29] nbjayme: hello all. i am new to node.js. can anyone point me to a good documentation that override the default error event of node.js? (TIA)
[11:29] cliffff has joined the channel
[11:30] g2592 has joined the channel
[11:30] JakeyChan has joined the channel
[11:31] hasenj has joined the channel
[11:31] mikeal1 has joined the channel
[11:31] industrial: I need some help with the Step library (https://github.com/creationix/step) or understanding parallel control flow in general.
[11:31] H4ns: nbjayme: are you looking for http://nodejs.org/docs/v0.4.11/api/all.html#event_uncaughtException_ ?
[11:31] industrial: I want to do two find actions in parralel, so I pass this.parallel() into both as callback
[11:32] industrial: One of the two returns e, values and the other returns e, key, secret, values
[11:32] mikeal has joined the channel
[11:32] industrial: however in the next function in my Step flow I get these arguments all mixed, where the first argument isn't an error or null either, but seems to be one of the values returned from the second async find
[11:33] mikeal1 has joined the channel
[11:34] Cromulent has joined the channel
[11:34] irahgel has joined the channel
[11:35] eldios: industrial, gist is the way
[11:35] eldios: =)
[11:35] JakeyChan has joined the channel
[11:36] eldios: also "industrial gist" could be a choice :P
[11:36] industrial: eldios: this is sometimes not possible because I'm not working on open source code =)
[11:36] eldios: eh..
[11:36] industrial: I can't expose proprietary code, non disclosure agreements etc
[11:36] blueadept: could anyone tell me why when i do a npm link, then npm link name, it errors with "no such file" and deletes my repo inside my node_modules folder i was originally trying to link?
[11:36] eldios: I see.. but then do not expect help from sources like IRC
[11:37] eldios: not to be nasty. it's simply a statistical fact =)
[11:37] industrial: eldios: I have to make examples out it
[11:37] industrial: but I got it now :3
[11:37] eldios: that could help
[11:37] eldios: ^_^
[11:38] brianseeders has joined the channel
[11:39] joshthecoder has joined the channel
[11:39] nbjayme: H4ns: http://pastebin.com/Nqww5tnC
[11:39] felixhummel has joined the channel
[11:40] nbjayme: i intent to override the core error handling of node .... if possible so I can handle syntax errors and the like.... but no joy yet...
[11:40] adrianmg has left the channel
[11:40] H4ns: nbjayme: what is sys.put?
[11:42] _kud has joined the channel
[11:43] blueadept: would anyone know why when i do npm link it fails and deletes my module?
[11:43] blueadept: thats sort of lame i think
[11:44] mikl has joined the channel
[11:44] japj: blueadept "When you want to link the globally-installed package into your local development folder, you run npm link pkg where pkg is the name of the package that you want to install."
[11:44] blueadept: right, i'm doing that
[11:44] blueadept: i go to /usr/local/node/node_modules and i see my module
[11:45] nbjayme: H4ns: i've already taken out the catch(e) line and sys.put and still the same result. :-( looking closely into the code.
[11:45] blueadept: and its linked. but when i go to the project where i want to use the module, i do npm link and it failed saying it can't find, and then deletes my module
[11:45] altamic has joined the channel
[11:46] japj: blueadept: did you npm install -g?
[11:46] H4ns: nbjayme: you could paste the result, too. but then, you need to really try to understand what you are doing. sys.put? what is it? why did you put it there? what is the error message? where is the error? what is the problem?
[11:46] blueadept: oh wait, didn't do -g
[11:46] blueadept: i'll do that
[11:46] ph^ has joined the channel
[11:46] blueadept: wait a minute
[11:46] blueadept: its not on npm yet
[11:46] jbrokc has joined the channel
[11:47] blueadept: i just created it
[11:47] g2593 has joined the channel
[11:47] japj: blueadept: ok, not sure what you are trying to do then
[11:48] japj: blueadept: you might want to check with isaacs when he is awake, he'll probably be able to help you more
[11:48] nbjayme: H4ns: it's my mistake having placed that there. i'll try to look for codes in github if there is one that can answer my query. :-)
[11:48] blueadept: cool, will do
[11:48] blueadept: i'm seeing something similar here: https://github.com/isaacs/npm/issues/795
[11:49] nbjayme: H4ns: i am attempting to override the errors in nodejs so I can have option to bring that to the browser or any format I want to show. :-)
[11:49] japj: blueadept: what version of npm are you using?
[11:49] nbjayme: H4ns: i don't want the app to just hand and die because of syntax errors. :-)
[11:49] blueadept: 1.0.6
[11:49] nbjayme: H4ns: i am using the latest node, btw.
[11:49] japj: blueadept: that is ancient, we're at 1.0.27 at the moment
[11:49] blueadept: ha
[11:49] blueadept: that's probably it
[11:50] japj: blueadept: might be good to upgrade then and try again
[11:50] blueadept: yep, on it
[11:52] g2594 has joined the channel
[11:53] felixhummel has joined the channel
[11:53] blueadept: damn
[11:54] japj: still happening?
[11:54] blueadept: still happening, i'll catch isaac later then
[11:54] blueadept: i just did this with another lib
[11:54] japj: you could add a comment to that issue
[11:54] blueadept: i don't see why its happening with this one
[11:55] g2595 has joined the channel
[11:55] g2596 has joined the channel
[11:55] burningdog has joined the channel
[11:56] tdegrunt has joined the channel
[11:56] H4ns: nbjayme: http://pastebin.com/TNzAqQKp
[11:57] okuryu has joined the channel
[11:57] swair has joined the channel
[11:59] Juan77 has joined the channel
[12:01] z6Dabrata has joined the channel
[12:01] fyskij has joined the channel
[12:01] g2597 has joined the channel
[12:03] `3rdEden has joined the channel
[12:03] raphael has joined the channel
[12:04] bshumate has joined the channel
[12:04] bshumate has joined the channel
[12:05] edwardmsmith has joined the channel
[12:05] g2597: just testing
[12:06] eee_c has joined the channel
[12:06] felixhummel has joined the channel
[12:10] pandeiro has joined the channel
[12:11] mehlah has joined the channel
[12:12] g2598 has joined the channel
[12:13] NetRoY has joined the channel
[12:14] socketio\test\31 has joined the channel
[12:14] hackband has joined the channel
[12:14] ditesh|cassini has joined the channel
[12:18] bergelmir has joined the channel
[12:18] facorreia has joined the channel
[12:20] booo has joined the channel
[12:22] nbjayme: hello H4ns, thanks again. i have looked into calipso and it did use the king of error handling you've shown. i think i need to use the stable version of node.
[12:22] sechrist has joined the channel
[12:22] nbjayme: H4ns: king / kind
[12:22] Fabryz has joined the channel
[12:23] g2599 has joined the channel
[12:24] g2600 has joined the channel
[12:24] g2601 has joined the channel
[12:24] torsd has joined the channel
[12:25] Vertice has joined the channel
[12:26] g2602 has joined the channel
[12:27] dylang: any joyent guys awake? i can curl localhost via ssh node@doodle.no.de but not access it from anywhere else. it was working last night. happening to others too.
[12:27] aconbere has joined the channel
[12:27] fumanchu182 has joined the channel
[12:30] industrial: fail?
[12:30] javajunky has joined the channel
[12:30] depywork: a mass one .. :)
[12:30] yept has joined the channel
[12:30] industrial: what are they doing in here anyway
[12:32] kriszyp has joined the channel
[12:34] g2603 has joined the channel
[12:35] hybsch has joined the channel
[12:35] g2604 has joined the channel
[12:36] Remoun_ has joined the channel
[12:37] depywork: no idea
[12:38] mendel_ has joined the channel
[12:38] __tomb has joined the channel
[12:38] MrNko has joined the channel
[12:38] tomb| has joined the channel
[12:39] g2605 has joined the channel
[12:40] g2606 has joined the channel
[12:40] ryanfitz has joined the channel
[12:42] jamesw has joined the channel
[12:44] dob_ has joined the channel
[12:44] g2607 has joined the channel
[12:46] vikstrous has left the channel
[12:46] nbjayme has left the channel
[12:47] saschagehlich has joined the channel
[12:48] azeroth_ has joined the channel
[12:48] Renegade001 has joined the channel
[12:50] g2608 has joined the channel
[12:52] g2609 has joined the channel
[12:53] edwardmsmith: funk4all
[12:53] Ricki` has joined the channel
[12:54] agnat_ has joined the channel
[12:58] g2610 has joined the channel
[12:58] mendel_ has joined the channel
[12:59] _PalmerEk_ has joined the channel
[12:59] hellp has joined the channel
[12:59] azeroth_ has joined the channel
[13:00] junkee[] has joined the channel
[13:03] Margle has joined the channel
[13:05] jakehow has joined the channel
[13:05] jakehow__ has joined the channel
[13:05] jakehow_ has joined the channel
[13:06] adrianmg has joined the channel
[13:08] mikl has joined the channel
[13:08] c4milo1 has joined the channel
[13:09] g2611 has joined the channel
[13:09] jro_ has joined the channel
[13:09] jro_: hi all
[13:09] jro_: ddsd
[13:11] bshumate has joined the channel
[13:11] bshumate has joined the channel
[13:12] jamesw has left the channel
[13:12] edwardmsmith has left the channel
[13:14] lunks has joined the channel
[13:15] ceej has joined the channel
[13:17] zgryw has joined the channel
[13:20] Sembiance: hrm, that's interesting
[13:21] paveq: yep, we have to run cron script to remove old ones :p
[13:21] paveq: not many seem to talk :/
[13:22] paveq: client should work..
[13:22] postwait has joined the channel
[13:22] jkj_: paveq: the cron didn't do the job?
[13:22] christkv has joined the channel
[13:23] paveq: its quite ugly :p
[13:24] jkj_: sure, but it should work if it gets run
[13:24] Nuck has joined the channel
[13:25] ryanfitz has joined the channel
[13:25] g2612 has joined the channel
[13:26] jrgifford has joined the channel
[13:27] davidsklar has joined the channel
[13:27] christkv_ has joined the channel
[13:27] g2613 has joined the channel
[13:28] smtlaissezfaire has joined the channel
[13:29] Remoun has joined the channel
[13:31] Cromulent has joined the channel
[13:31] al3xnull_ has joined the channel
[13:32] __tomb has joined the channel
[13:33] g2614 has joined the channel
[13:34] MrNko has joined the channel
[13:35] industrial: paveq: #myircthingytestchannel ?
[13:36] g2615 has joined the channel
[13:36] g2616 has joined the channel
[13:37] H4ns: industrial: why test in private when you can annoy 666 people?
[13:37] figital has joined the channel
[13:38] Nuck: H4ns: EEEEEEVVVIIIIIIIIIIIL
[13:38] g2617 has joined the channel
[13:39] industrial: *iron maiden starts playing in the background from a seemingly unknown source*
[13:41] vicapow_ has joined the channel
[13:41] swair_ has joined the channel
[13:42] g2618 has joined the channel
[13:44] g2619 has joined the channel
[13:44] sneakyness_wk has joined the channel
[13:44] bnoordhuis has joined the channel
[13:44] FireFly|n900 has joined the channel
[13:44] g2620 has joined the channel
[13:45] Nuck: So, it is currently.... 6:45 AM
[13:45] Nuck: And I have class in an hour and fifteen minutes
[13:45] jrgifford has left the channel
[13:45] jheusala: jkj_: did we remember to make that channel even configureable :-P
[13:45] Nuck: Ugh
[13:46] simenbrekken has joined the channel
[13:46] jheusala: basically those gNNNN's are just our web site users... :-P
[13:46] Nuck: Too Fucking Early.
[13:46] g2621 has joined the channel
[13:47] Sembiance: so, just how different is v 0.4 vs 0.5?
[13:47] jheusala: it's 4:47 PM here at Finland now.
[13:47] g2622 has joined the channel
[13:47] willwhite has joined the channel
[13:47] Nuck: I have Intro to Business at 8 AM
[13:47] Sembiance: Nuck: school eh?
[13:47] Nuck: yup
[13:48] igl: http://sixrevisions.com/infographs/web-designers-vs-web-developers/
[13:48] g2622: hm?
[13:49] k1ttty has joined the channel
[13:49] jheusala: g2622: hi
[13:49] luke` has joined the channel
[13:49] killfill: hey
[13:49] killfill: are all nockouts avaible on github or something cimilar?
[13:49] jheusala: btw the main problem is just that our shell service should be run on a better system than a 512 M virtual
[13:49] swair_ has joined the channel
[13:50] g2622: hai
[13:50] nrstott has joined the channel
[13:51] jheusala: we could have had 32 M systems if it would have been allowed to deploy on our own system :-/
[13:51] g2623 has joined the channel
[13:51] jheusala: I mean 32 G
[13:51] _kud has joined the channel
[13:52] jheusala: actually I'm not sure if it would have been allowed to deploy on remote shell service provided by us... The website is basically just an isolated app and shell can be run on other servers..
[13:53] arthurdebert has joined the channel
[13:54] jkj_: jheusala: it could be done? putting the users on a kapsi virtual machine doesn't require code changes
[13:54] mpavel has left the channel
[13:54] jheusala: great, I didn't know if you made it configurable :-)
[13:55] g2624 has joined the channel
[13:56] jheusala: jkj_: it would be nice to have a hostname that redirects to our website still
[13:56] g2625 has joined the channel
[13:57] sivy has joined the channel
[13:57] g2626 has joined the channel
[13:58] g2627 has joined the channel
[13:59] eldios has joined the channel
[13:59] JustinCampbell has joined the channel
[13:59] hornairs has joined the channel
[14:00] g2628 has joined the channel
[14:01] g2629 has joined the channel
[14:01] progme has joined the channel
[14:01] g2630 has joined the channel
[14:02] swair_afk has joined the channel
[14:02] jheusala: jkj_: I guess we should ask permission still since the shell daemon still uses source code from the project (even if it can be installed from NPM...)
[14:03] g2631 has joined the channel
[14:03] Charuru has joined the channel
[14:04] CIA-69: node: 03jkummerow@chromium.org 07master * rb5643cb 10/ deps/v8/src/elements.cc :
[14:04] CIA-69: node: v8: remove unnecessary break-after-return in switch statement
[14:04] CIA-69: node: BUG=v8:1642
[14:04] CIA-69: node: Review URL: http://codereview.chromium.org/7781007
[14:04] CIA-69: node: This is a back-port of upstream r9043. Fixes build on OS X 10.5. - http://git.io/rhv4Uw
[14:04] g2632 has joined the channel
[14:06] jheusala: only thing I really regret is that I forgot to deploy Google Analytics on our website
[14:08] g2633 has joined the channel
[14:08] baudehlo1 has joined the channel
[14:08] ksheurs has joined the channel
[14:08] gartenstuhl has joined the channel
[14:09] g2634 has joined the channel
[14:10] vikstrous has joined the channel
[14:10] sivy has joined the channel
[14:10] infynyxx has joined the channel
[14:11] __sorin__ has joined the channel
[14:11] jgornick has joined the channel
[14:12] softdrink has joined the channel
[14:12] eyesUnclouded has joined the channel
[14:12] g2635 has joined the channel
[14:13] slifty has joined the channel
[14:15] mcepl has joined the channel
[14:15] patweb99 has joined the channel
[14:16] g2636 has joined the channel
[14:16] amigojapan has joined the channel
[14:16] edude03 has joined the channel
[14:16] g2637 has joined the channel
[14:17] kenperkins has joined the channel
[14:17] infynyxx has joined the channel
[14:17] erickt has joined the channel
[14:18] rchavik has joined the channel
[14:19] rafaelcaricio has joined the channel
[14:19] __tomb has joined the channel
[14:19] bazookatooth has joined the channel
[14:19] MrNko has joined the channel
[14:19] aconbere has joined the channel
[14:20] jj0hns0n has joined the channel
[14:21] mikekunze has joined the channel
[14:21] brianc has joined the channel
[14:21] Poetro has joined the channel
[14:21] Poetro has joined the channel
[14:22] nrstott: What is the correct way to set multiple cookies (Multiple Set-Cookie) in a single response? I see in http.js there is a comment about removing the support for the headers as an array 'when array is no lnoger accepted' so I don't want to use that. What's the alternative
[14:23] liar has joined the channel
[14:24] H4ns: nrstott: http://www.ietf.org/rfc/rfc2109.txt - multiple cookies in one set-cookie line
[14:25] BillyBreen has joined the channel
[14:25] felixhummel has joined the channel
[14:26] FireyFly|n900 has joined the channel
[14:28] dylang has joined the channel
[14:28] fangel has joined the channel
[14:28] altamic has joined the channel
[14:28] altamic has joined the channel
[14:28] charleso has joined the channel
[14:30] g2638 has joined the channel
[14:31] fangel_ has joined the channel
[14:32] spasquali has joined the channel
[14:32] spasquali has left the channel
[14:32] fairwinds has joined the channel
[14:33] JustinCampbell has left the channel
[14:34] ryanfitz has joined the channel
[14:34] g2639 has joined the channel
[14:34] brianc: question...I got a C++ event emitter. I create it in C++, return it to v8 and subscribe to an event. Then next GC cycle v8 throws it away & I can see the C++ destructor is called. Why God??
[14:35] pickels has joined the channel
[14:35] g2640 has joined the channel
[14:36] eyesUnclouded_ has joined the channel
[14:36] H4ns: brianc: works for me, but i found it tricky to get all things going. maybe you want to look at this: https://github.com/hanshuebner/midivent/blob/master/src/MIDI.cc#L1049
[14:36] FireFly has joined the channel
[14:37] stepheneb has joined the channel
[14:37] junkee[] has joined the channel
[14:37] CodeWarriorAQ has joined the channel
[14:38] CodeWarriorAQ: Hi!
[14:39] CodeWarriorAQ: I need some help :)
[14:39] smus has joined the channel
[14:39] slifty has joined the channel
[14:40] CodeWarriorAQ: ok! i need some help to consume the JSON from this site :]
[14:40] simenbrekken: I'm about to deploy my first node app in prod on EC2 and I've made the shard image on a 32-bit micro instance, should I recompile the whole thing on the 64-bit machines?
[14:41] DrMcKay: eldios: I'll set up this repo later today, I have few things to finish today
[14:41] RORgasm has joined the channel
[14:41] DrMcKay: eldios: but I believe you'll get a GH notification
[14:42] sechrist_ has joined the channel
[14:42] eldios: o/
[14:45] squeese has joined the channel
[14:46] ingenthr has joined the channel
[14:47] CodeWarriorAQ: jesus.. no one can help-me!?
[14:47] CodeWarriorAQ: clear
[14:47] CodeWarriorAQ: /clear
[14:47] CodeWarriorAQ: aff..
[14:47] tbranyen: xD
[14:48] CodeWarriorAQ: its so hard to get help to a simple question. Mr. Google wont help.
[14:48] madsleejensen has joined the channel
[14:48] madsleejensen has left the channel
[14:48] Nathan_ has joined the channel
[14:48] H4ns: CodeWarriorAQ: if you don't ask a question, it is not very likely that you'll get a suitable answer.
[14:49] CodeWarriorAQ: oh, ok.
[14:50] __tomb has joined the channel
[14:50] CodeWarriorAQ: i'm new to node and trying to console.out the items of this JSON -> http://www.ergast.com/api/f1/1950.json
[14:50] bingomanatee_ has joined the channel
[14:51] kevwil has joined the channel
[14:51] _dc has joined the channel
[14:52] CodeWarriorAQ: H4ns then...?
[14:52] Margle has joined the channel
[14:52] jchris has joined the channel
[14:52] BillyBreen has joined the channel
[14:52] hakunin has joined the channel
[14:53] creationix has joined the channel
[14:53] slaskis: CodeWarriorAQ: there's no console.out?
[14:53] H4ns: CodeWarriorAQ: JSON.parse?
[14:53] g2641 has joined the channel
[14:54] CodeWarriorAQ: @slaskis console.log
[14:54] piscisaureus has joined the channel
[14:54] slaskis: CodeWarriorAQ: right :) thought that might've been your issue :P
[14:54] CodeWarriorAQ: @H4ns its just it!? dont need to require some modules!?
[14:55] g2642 has joined the channel
[14:55] H4ns: CodeWarriorAQ: no.
[14:55] springmeyer has joined the channel
[14:55] CodeWarriorAQ: @H4ns are you joking with me!?
[14:55] H4ns: CodeWarriorAQ: dude, go and try it out.
[14:55] g2643 has joined the channel
[14:55] prettyrobots has joined the channel
[14:55] CodeWarriorAQ: i create somefile.js, put JSON.parse(ergast.com/api/f1/1950.json); and node somefile.js?
[14:56] context: codewarrioraq: there is a console, you could try this stuff
[14:56] clifton has joined the channel
[14:56] H4ns: CodeWarriorAQ: you need to read the file if you want to parse it. JSON.parse requires a string argument
[14:56] CodeWarriorAQ: ok, i will try now
[14:56] H4ns: CodeWarriorAQ: now go look at some documentation and maybe http://nodebeginner.org/ - also type "node" and play with it interactively.
[14:56] alts has joined the channel
[14:56] CodeWarriorAQ: but its much easy, its not possible! :)
[14:57] _kud has joined the channel
[14:58] CodeWarriorAQ: i try JSON.parse('ergast.com/api/f1/1950.json'); and -> Unexpected token ILLEGAL
[14:58] yept has joined the channel
[14:58] gw280 has left the channel
[14:58] baudehlo1 has joined the channel
[14:58] context: codewarrioraq: he already told you why
[14:58] dingomanatee has joined the channel
[14:58] tjholowaychuk has joined the channel
[14:58] context: codewarrioraq: parse() PARSES json, it does not read a file
[14:58] arg0s has joined the channel
[14:59] pkrumins: creationix: doesnt work in chrome
[14:59] luke` has joined the channel
[14:59] patweb99: try JSON.parse('{"var1":"value1"}') which should give you an object with var1 as a key to a value of value1
[14:59] creationix: pkrumins: refresh the window
[14:59] kmiyashiro has joined the channel
[14:59] patweb99: hence the string in the parse call
[14:59] creationix: pkrumins: it doesn't work the first load sometimes for some reason
[14:59] creationix: pkrumins: I was barely awake for most of it
[14:59] creationix: pkrumins: also, your video card has to support webgl
[15:00] pkrumins: creationix: video card? interesting
[15:00] pkrumins: i thought that was chrome stuff
[15:00] creationix: pkrumins: half the app is written in GLSL shader language
[15:00] dexter_e has joined the channel
[15:00] creationix: most older intel cards don't have a GLSL compiler
[15:00] pkrumins: yea doesnt work even after refresh
[15:00] CodeWarriorAQ: context h4ns i'm completely new to Node. I need to read the file, something like fs.open(0?
[15:00] kimico has joined the channel
[15:00] shanebo has joined the channel
[15:00] pkrumins: i have an old radeon video card from 2004
[15:01] creationix: pkrumins: dunno, GLES 2.0 is pretty new stuff
[15:01] g2644 has joined the channel
[15:01] pkrumins: creationix: doesnt work nope. oh wellz.
[15:01] sub_pop has joined the channel
[15:01] creationix: pkrumins: there are sites that help getting webGL working in your browser
[15:01] geetarista has joined the channel
[15:01] creationix: pkrumins: if you're on linux, it's pretty easy to compile and run it as a native desktop app
[15:02] creationix: pkrumins: but then if your video card is the fault, then that won't work either
[15:02] pkrumins: i just remembered i have a macbook
[15:02] softdrink: anyone here *really* handy with vows? i'm trying to figure out the best way to test a lot of async code
[15:02] pkrumins: trying on that one
[15:02] pkrumins: creationix: on windows actually here ;)
[15:02] pkrumins: ACTION hides
[15:02] smtlaissezfaire has joined the channel
[15:02] creationix: pkrumins: that should work unless it's a really old one
[15:02] jtrudeau has joined the channel
[15:02] ivanfi1 has left the channel
[15:02] creationix: pkrumins: also, if you like it, vote for me http://nodeknockout.com/teams/minimason
[15:03] neilk_ has joined the channel
[15:03] pkrumins: will do!
[15:03] pkrumins: hey vote for me too ;) http://nodeknockout.com/teams/replicants
[15:03] slaskis: creationix: how do you compile webgl stuff on linux?
[15:04] patrickgamer has joined the channel
[15:04] patrickgamer has left the channel
[15:04] pifantastic_ has joined the channel
[15:04] leahculver has joined the channel
[15:04] leahculver has joined the channel
[15:05] jheusala: is it allowed to push our entry code into github as public repo?
[15:05] ryan0x2 has joined the channel
[15:05] ditesh|cassini has joined the channel
[15:05] creationix: jheusala: good question, I did for my webgl part
[15:05] creationix: but I don't know if that was against the rules
[15:06] creationix: slaskis: well, node-sdl and node-webgl are simply node addons, both on my github and in npm
[15:06] jheusala: I guess it would be ok if I had done it before the competition ended but is it considered deploying now
[15:06] creationix: slaskis: you need a few headers installed before the packages will compile
[15:06] pkrumins: creationix: works nicely on macbook
[15:06] pkrumins: i got air
[15:06] pkrumins: looks really cool
[15:07] hydrozen has joined the channel
[15:07] captain_morgan has joined the channel
[15:07] creationix: pkrumins: nice. Also, I didn't know you were working on heatwave, I sat next to SubStack for half the competition
[15:07] g2645 has joined the channel
[15:07] industrial: where was this held?
[15:07] industrial: geographically
[15:07] pkrumins: in Latvia
[15:07] pkrumins: creationix: oooh snap
[15:08] slaskis: creatonix cool!
[15:08] g2646 has joined the channel
[15:09] pkrumins: creationix: voted on your entry!
[15:09] creationix: I was at Joyent's office in San Francisco
[15:09] pkrumins: gave a fair vote of what i think.
[15:09] creationix: pkrumins: thanks. though, I'm not sure how much I'll get since it's so hard to explain and test.
[15:09] CodeWarriorAQ: Its not possible to do it -> var season = JSON.parse('ergast.com/api/f1/1950.json'); and after do console.log(season.year); ?
[15:10] rook2pawn: what would be the best way for me to get webgl enabled on my chromium?
[15:10] rook2pawn: want to see those blue lava things again
[15:10] creationix: now remember, it's not chrome's webgl I implemented, but one for node
[15:10] pkrumins: rook2pawn: it just worked out of the box on macbook
[15:10] creationix: I just have the web based version so people can more easily see something shiny
[15:10] context: codewarrioraq: please dont PM people without asking. and no its not a way to do it
[15:10] robertfw has joined the channel
[15:10] creationix: it's the exact code as what's run in node
[15:10] Draggor: creationix: link?
[15:10] context: codewarrioraq: parse() DOES NOT READ FILES. for the third time
[15:11] creationix: Draggor: http://nodeknockout.com/teams/minimason
[15:11] Draggor: thx!
[15:11] jheusala: I like this idea A LOT: http://nko2-infopoprac.herokuapp.com/
[15:11] context: codewarrioraq: JSON.parse("{'my': 'nifty', 'json': 'file', 'num': 432}")
[15:11] losing has joined the channel
[15:12] fyskij has joined the channel
[15:12] H4ns has joined the channel
[15:12] marcinkuzminski has joined the channel
[15:12] g2647 has joined the channel
[15:13] g2648 has joined the channel
[15:13] marcinkuzminski: hi, why i'm getting error: script /my/path/start does not exist. running forever start app.js param param param
[15:13] marcinkuzminski: without "start" it works fine with forever. Using nodejs 0.4.11
[15:13] g2649 has joined the channel
[15:14] luke`_ has joined the channel
[15:14] newy has joined the channel
[15:15] g2648: does this work?
[15:15] g2650 has joined the channel
[15:16] marcinkuzminski: o nevermind i see https://github.com/indexzero/forever/issues/109
[15:16] dgathright has joined the channel
[15:16] context: anyone remember that project name thats like mocksmtp but written in node
[15:16] explodes has joined the channel
[15:17] creationix: slaskis: are you still trying to build on Ubuntu, I can dig up the exact headers needed if that helps
[15:17] creationix: slaskis: or are you on a different linux
[15:17] MrNko has joined the channel
[15:18] qbert has joined the channel
[15:19] DrMcKay: jheusala: true, this gitBroker thing is cool
[15:19] tjholowaychuk: creationix slick demo thing i like the shader(s)?
[15:19] context: or maybe it was written in ruby :x
[15:20] context: found :D
[15:20] JSManiacs has joined the channel
[15:20] jro_: hi all
[15:21] bassui has joined the channel
[15:21] jro_: I see error while I write tut
[15:21] DrMcKay: a bit off-topic: is anyone here going to next devmeeting in Poznan?
[15:22] jheusala: DrMcKay: I just bought your bot at gitBroker :-)
[15:22] DrMcKay: jheusala: lol :D
[15:23] versicolor has joined the channel
[15:24] creationix: tjholowaychuk: thanks, but I didn't write the shaders or webgl code, just the implementation it's running on
[15:24] creationix: and yes, it's slick shaders
[15:24] aheckmann has joined the channel
[15:24] DrMcKay: jheusala: and I bought some assets of your node-icecap :D
[15:25] bassui: what happend with jade.renderFile() :(
[15:25] jro_: if (typeof handle[pathname] === 'function')
[15:25] g2651 has joined the channel
[15:26] DrMcKay: I have to take part in node KO next year
[15:26] jro_: Can't read property '/' of undefined
[15:26] jheusala: DrMcKay: cool :-)
[15:26] g2652 has joined the channel
[15:26] jro_: hic please help me
[15:26] Aikar: anyone who did the codingstage.com site for NKO here?
[15:26] jro_: I begin with node
[15:28] jheusala: I want our shell service at gitBroker :-P
[15:28] zeropx has joined the channel
[15:28] kmiyashiro has joined the channel
[15:29] tdegrunt has joined the channel
[15:29] jarek has joined the channel
[15:29] jarek has joined the channel
[15:30] glyytch_ has joined the channel
[15:31] springmeyer has joined the channel
[15:31] DrMcKay: oh, cool, my JS directory got bigger than my Python directory
[15:32] sourcode has joined the channel
[15:32] JSManiacs: ahhhh… My no.de server is down! Anyone else having issues?
[15:32] jheusala: oh our NKO oulu repo is 151 M :-P
[15:32] JSManiacs: the panel say's its running, but I can't hit my knockout project
[15:33] kevwil_ has joined the channel
[15:33] DrMcKay: jheusala: wut?
[15:33] boaz has joined the channel
[15:33] g2653 has joined the channel
[15:33] jheusala: those were with node_modules directories
[15:34] jheusala: node_modules was 70 MB just for our website app
[15:34] DrMcKay: jheusala: ah, I always .gitignore them
[15:34] DrMcKay: jheusala: you can always send the to /dev/null
[15:34] DrMcKay: filter-branch or something
[15:34] nibblebot has joined the channel
[15:34] softdrink: tjholowaychuk: does express default to 'development' when running .configure()?
[15:35] amigojapan has joined the channel
[15:35] tjholowaychuk: softdrink yup
[15:35] tjholowaychuk: NODE_ENV=production
[15:35] jheusala: DrMcKay: yeah, actually I was just checking our local copy :-)
[15:35] softdrink: ok cool. i thought i was just seeing weirdness
[15:35] davidwalsh has joined the channel
[15:35] jheusala: DrMcKay: but still it's quite a lot data as a deployed app
[15:35] jakehow__ has joined the channel
[15:35] jakehow_ has joined the channel
[15:35] jakehow has joined the channel
[15:36] DrMcKay: jheusala: how long was it deploying?
[15:36] jamesd2 has joined the channel
[15:36] jheusala: our code was 15 MB
[15:37] tmpvar has joined the channel
[15:38] boltR has joined the channel
[15:38] jheusala: DrMcKay: I didn't do it on the server
[15:40] Spion_ has joined the channel
[15:40] dmkbot has joined the channel
[15:40] DrMcKay: jheusala: oh, I get it
[15:40] jheusala: I guess it would have taken some time to download every dependency
[15:41] ekryski has joined the channel
[15:41] jheusala: actually there might be unneeded things in package.json files and that would explain the size :-P
[15:41] DrMcKay: jheusala: that got me an idea
[15:42] DrMcKay: jheusala: I'll write a dependency detector
[15:42] DrMcKay: (but later)
[15:42] jheusala: that would be nice :-)
[15:42] jheusala: I was planning that I might implement our ldapd thing someway as a node cloud service
[15:42] DrMcKay: jheusala: you know, go through every .js file, run it in node, monkey-patch require or just regex-match it
[15:42] yozgrahame has joined the channel
[15:43] g2654 has joined the channel
[15:43] jheusala: DrMcKay: I have thought that too some times
[15:43] ekryski: Hey guys! How many instances of node can you run production for a quad-core 8 thread machine?
[15:43] tjholowaychuk: 15 million
[15:43] ekryski: ha ha
[15:43] fangel has joined the channel
[15:44] DrMcKay: OVER NINE THOUSAND!
[15:45] ekryski: Node has a thread pool of up to 4 or 5 for blocking i/o so I'm thinking essentially one but is anyone vming node?
[15:45] jtsnow has joined the channel
[15:45] mikl has joined the channel
[15:45] jheusala: ekryski: it depends on lot of things. Any one number cannot be said with this information.
[15:46] H4ns: ekryski: the thread pool is there so that node can run blocking operations, not to offload computation to some (virtual) core.
[15:47] k1ttty has joined the channel
[15:47] guillermo has joined the channel
[15:47] slaskis: tjholowaychuk: i must say your deploy script is just brilliant
[15:48] ekryski: H4ns: yes. but I'm wondering is if you have 1 thread for node and the 4-5 for the thread pool it already doesn't leave much left over for anything else to go on the box (with an 8 thread machine)
[15:48] tjholowaychuk: slaskis haha thanks, i haven't used it much yet so i haven't polished things up but it's a start
[15:48] H4ns: ekryski: a thread that sleeps waiting for some i/o to finish does not make use of a core.
[15:48] ekryski: I'm not sure but can more than one node.sj instance share the thread pool?
[15:48] slaskis: took me 15 minutes to set up and deploy to my linode with it
[15:48] tjholowaychuk: i always thought it should be a shell script, was never a fan of ruby-specific stuff etc
[15:48] ekryski: H4ns: very true. I kinda forgot about that ;-)
[15:48] H4ns: ekryski: so unless you have a very busy node system, you can run multiple instances on _one_ core.
[15:49] slaskis: it does make a lot of sense yah, and your bash is probably the most readable i've ever seen
[15:49] yhahn has joined the channel
[15:49] caolanm has joined the channel
[15:49] tjholowaychuk: thankya!
[15:50] slaskis: tjholowaychuk: you're in victoria, right?
[15:50] tjholowaychuk: yup
[15:50] DrMcKay: jheusala: guys from gitBroker say that they're going to extend gitBroker after KO
[15:50] kevwil has joined the channel
[15:50] ekryski: H4ns: hmm. thanks for the feedback. I guess I can't even really have an answer to my question until we just try it out.
[15:50] slaskis: i'll be going there in about two weeks, anything i shouldn't miss?
[15:50] H4ns: ekryski: correct.
[15:51] g2655 has joined the channel
[15:51] tjholowaychuk: slaskis hmmm nothing crazy i can think of haha, it's an all around nice place but nothing too amazing tourism-wise
[15:51] tjholowaychuk: we have wild seals you can feed and make them do tricks haha
[15:52] slaskis: tjholowaychuk: yay, seals!
[15:52] slaskis: i thought you guys club them, or is that only when they're babies? ;P
[15:52] jerrysv has joined the channel
[15:52] tjholowaychuk: haha no that's only in the north, if i saw that here i would club the guy
[15:53] jheusala: DrMcKay: yeah, it would be stupid not to do since that's a great idea :-)
[15:53] jesster7 has joined the channel
[15:53] smathy has joined the channel
[15:54] Remoun has joined the channel
[15:54] bassui: could someone tell me if we're supposed to use jade.compile now instead of jade.render and jade.renderFile?
[15:54] blessYAHU has joined the channel
[15:55] g2656 has joined the channel
[15:55] tjholowaychuk: bassui yup
[15:55] tjholowaychuk: render/renderFile were legacy
[15:55] tjholowaychuk: and not really necessary
[15:55] balgarath has joined the channel
[15:55] bassui: can jade.compile accept a file like jade.compile('layout.jade') ?
[15:55] creationix: http://creationix.com/minimason.m4v
[15:55] tjholowaychuk: bassui no but you can use node's "fs" to read it in
[15:56] balgarath: hi all. favorite memcached client?
[15:56] bassui: i've tried that and i'm having problems
[15:56] zgryw has joined the channel
[15:56] tjholowaychuk: bassui maybe just check out the old renderFile implementation
[15:57] glyytch_ has left the channel
[15:57] blessYAHU: what needs to change on nodejs boilerplate to run on windows build of nodejs?
[15:57] bnoordhuis: blessYAHU: patience - until the windows port is complete
[15:58] bnoordhuis: blessYAHU: maybe you can narrow down the question?
[15:58] blessYAHU: :)
[15:58] markwubben has joined the channel
[15:58] blessYAHU: require is looking for node_modules. don't know what's supposed to go in there
[16:00] tbranyen: tjholowaychuk: just got put on a project at work that uses stylus
[16:00] jesusabdullah: blessYAHU: Node modules!
[16:00] tbranyen: woot
[16:00] tjholowaychuk: tbranyen woot!
[16:00] stephank has joined the channel
[16:00] tjholowaychuk: i was doing a regular css project
[16:00] tjholowaychuk: on the weekend
[16:00] jesusabdullah: blessYAHU: What OS are you trying to do this on?
[16:01] tjholowaychuk: and really regretted being too lazy to set up sass/stylus haha
[16:01] tbranyen: tjholowaychuk: uh oh should i tell them its going to get abandoned?
[16:01] tjholowaychuk: regular css is such a PITA
[16:01] tbranyen: :-p
[16:01] hekkwan_ has joined the channel
[16:01] Remoun has joined the channel
[16:01] blessYAHU: windows
[16:01] g2657 has joined the channel
[16:01] jesusabdullah: yessch
[16:01] tbranyen: tjholowaychuk: oh yeah especially when i try and do single line comments in regular css
[16:01] tbranyen: such fail
[16:02] Vertice has joined the channel
[16:02] jesusabdullah: blessYAHU: Normally you'd use npm and it'd take care of it, but if you insist on windows, then
[16:02] madsleejensen has joined the channel
[16:02] kmiyashiro has joined the channel
[16:02] steffan_ has joined the channel
[16:02] _dc has joined the channel
[16:02] jesusabdullah: when you require("foo") it's looking for all the codez in node_modules/foo/
[16:02] tjholowaychuk: tbranyen that too. I understand why css is the way it is, and I think it's good, js/css need to easily support minification
[16:02] tbranyen: do they?
[16:02] Aphelion has joined the channel
[16:02] tjholowaychuk: single-line comments dont work to well for that (though you would strip them anyway)
[16:02] jesusabdullah: so, you'd have node_modules/foo/package.json, for example
[16:02] tbranyen: i mean gzip is pretty goood
[16:03] jesusabdullah: Anyways, I gotta roll! D:
[16:03] tjholowaychuk: yeah min+gzip
[16:03] tbranyen: although i've seen smaller filesizes with gzip after minification
[16:03] balgarath: anyone using memcached from node? looking for a recommendation of which client to use
[16:03] captain_morgan has joined the channel
[16:03] bassui: this will return a function: jade.compile(fs.readFile('views/file.jade'), data) how do send the rendered html back to the client using socket.on('request',function(data,fn) before i used fn(rendered_html)
[16:03] blessYAHU: jesusabdullah: thanks
[16:03] tbranyen: i kind of like linking my full source tho if i can
[16:03] tbranyen: minified crap just makes it harder for end users to report errors when they pop up
[16:03] tbranyen: and if you're tracking javascript errors the stack traces are useless
[16:04] jesusabdullah: blessYAHU: Oh, also, even though v0.5.x works in windows now, I'd recommend either using linux (in a vm or normal-like) or cygwin if you want to work from a windows box
[16:04] jesusabdullah: and use v0.4.x
[16:04] jesusabdullah: because 0.5.x is still unstable and you don't have npm yet
[16:04] tjholowaychuk: tbranyen yeah i dont like obfuscation much
[16:05] blessYAHU: jesusabdullah: right. already got an Unbuntuu instance. Just giving windows build of node a whirl.
[16:06] ap3mantus has joined the channel
[16:06] blessYAHU: just have to figure out connecting to a virtualboy instance from the host machine...
[16:07] alvaro_o has joined the channel
[16:08] mike5w3c_ has joined the channel
[16:08] MrNko has joined the channel
[16:08] bnoordhuis: blessYAHU: virtualboy or virtualbox?
[16:09] dshaw_ has joined the channel
[16:09] JSManiacs has joined the channel
[16:09] blessYAHU: bnoordhuis: virtualbox. lol
[16:10] ekryski: so… does anyone know if multiple node instances share the i/o thread pool?
[16:10] bnoordhuis: blessYAHU: right. set the vm's network adapter to bridged mode
[16:10] bnoordhuis: ekryski: no
[16:10] bnoordhuis: ekryski: that is, i know and the answer is no
[16:10] ekryski: ok didn't think so. thanks
[16:10] DrTeggy has joined the channel
[16:11] balaa has joined the channel
[16:11] dmkbot: *Uhm... yeah, don't expect users to do "node http://host/script.js".* reported by thejh: https://github.com/joyent/node/issues/1542
[16:11] ekryski: ok next question. What happens if your cpu doesn't have enough threads to handle the max i/o thread pool? (ie. 4 or 5 per instance)
[16:12] bnoordhuis: ekryski: you mean cores?
[16:12] bnoordhuis: ekryski: it doesn't matter, most of the threads will be blocked pending i/o anyway
[16:12] slifty has joined the channel
[16:12] marksoper has joined the channel
[16:13] ghostwriter has joined the channel
[16:13] ekryski: bnoordhuis: so if you have 8 threads total and you have two node instances then if your server is super busy will it just take longer to do i/o due to the limited number of threads?
[16:13] at0mizer has joined the channel
[16:13] ekryski: or will you drop i/o operations?
[16:14] jacker224 has joined the channel
[16:14] bnoordhuis: ekryski: it may take longer but it won't drop operations
[16:14] ekryski: ok. thanks a bunch!
[16:15] JSManiacs: is anyone else having problems getting to their NKO entry on no.de
[16:15] JSManiacs: http://mocker.no.de/ will not come up
[16:15] dgathright has joined the channel
[16:15] JSManiacs: I can ping it
[16:15] JSManiacs: I can ssh into it and restart node
[16:15] StanlySoManly has joined the channel
[16:15] JSManiacs: but no result
[16:15] ckpcw has joined the channel
[16:15] jacker224 has left the channel
[16:15] at0mizer: are you listening on 80?
[16:16] JSManiacs: yes
[16:16] JSManiacs: keep in mind, it was all working when the knockout ended
[16:16] JSManiacs: then poof… this morning it wasn't
[16:16] at0mizer: weird. try to knock on #joyent
[16:17] dshaw_1 has joined the channel
[16:17] bengrue has joined the channel
[16:19] Vertice: i'm happy that i just realized i can do _(listOfNumbers).sortBy(parseFloat) instead of _(listOfNumbers).sortBy(function(v){ return parseFloat(v); })
[16:19] Vertice: it's the little things
[16:19] Remoun has joined the channel
[16:19] mitchellhislop has joined the channel
[16:20] larsemil has left the channel
[16:21] CIA-69: node: 03Jann Horn 07master * r1a0edbc 10/ src/node.js : module: remove 'is URL?' check in module loader, dead code - http://git.io/PZX3WQ
[16:22] MUILTFN has joined the channel
[16:22] vidi has joined the channel
[16:22] trevorsheridan has joined the channel
[16:23] trevorsheridan: hello! Does anyone have any opinion on using Zombie for headless browser testing?
[16:24] TooTallNate has joined the channel
[16:24] TheJH has joined the channel
[16:24] TheJH has joined the channel
[16:24] dhughes has joined the channel
[16:25] balgarath: anyone recommend a node.js client?
[16:25] dhughes: hello everyone.
[16:25] trevorsheridan: hello.
[16:25] dhughes: anyone here happen to use mongoose?
[16:25] at0mizer: client? what for?
[16:25] dnjaramba has joined the channel
[16:25] balgarath: whoops, a memcached client for node.js
[16:25] balgarath: lol
[16:26] dhughes: in mongoose if I have an schema where one item is a type Schema.ObjectId, is there any way to easily get that referenced object from the referring object?
[16:26] ismell has joined the channel
[16:26] g2658 has joined the channel
[16:26] trentm has joined the channel
[16:27] sbisbee has joined the channel
[16:27] gerad has joined the channel
[16:27] balaa has joined the channel
[16:27] g2659 has joined the channel
[16:28] g2660 has joined the channel
[16:28] simenbrekken has joined the channel
[16:28] i42n has joined the channel
[16:29] asteig has joined the channel
[16:29] g2661 has joined the channel
[16:29] i42n has joined the channel
[16:31] bazookatooth has left the channel
[16:33] Ricki` has joined the channel
[16:33] ronnieboy has joined the channel
[16:33] rafaelcaricio has joined the channel
[16:33] gtramont1na has joined the channel
[16:33] guillotine138 has left the channel
[16:34] devongovett has joined the channel
[16:37] vipaca has joined the channel
[16:37] vipaca has joined the channel
[16:37] Remoun has joined the channel
[16:37] theCode has joined the channel
[16:37] g2662 has joined the channel
[16:39] greg606 has joined the channel
[16:39] greg606: hi
[16:40] greg606: can you help me make first step with socket.io
[16:40] swair_afk has joined the channel
[16:40] swair_afk has joined the channel
[16:40] jheusala: can we request a technical judge still? there is "any time before the coding ends" but the form looks like it would work still :-P
[16:41] swair_afk has joined the channel
[16:41] jheusala: greg606: just ask it's usually best way to get help
[16:42] Croms has joined the channel
[16:42] smus has joined the channel
[16:42] greg606: jheusala: I just to run the first example from http://socket.io/ but it's not working
[16:43] jheusala: greg606: what browser are you using? Can you put it as gist?
[16:43] jheusala: greg606: we had problems if NODE_ENV was not set. I now have it always as development by default.
[16:43] simenbrekken: I'm getting serious wierdness on EC2 with node, it seems argv is messed up, I can't run stuff like 'npm list installed' npm "WARN ls doesn't take positional args. Try the 'search' command" etc.
[16:43] Cromulent has joined the channel
[16:44] greg606: chrome
[16:44] greg606: it's directly the same code
[16:44] greg606: only i changed the port to 8080
[16:44] mendel_ has joined the channel
[16:45] jheusala: greg606: with newest Chrome websockets do not work. Try to change transports.
[16:45] g2663 has joined the channel
[16:45] at0mizer: question: here is some wrapper code i came up with http://pastebin.com/k6mwv2KF is it enough to make a module work in both node and browser? there's no node-specific code inside the Thing.
[16:46] jheusala: greg606: try this: io.set('log level', 1); io.set('transports', ['xhr-polling']);
[16:47] jheusala: and run it NODE_ENV=development node server.js
[16:47] jheusala: we didn't have time to figure out why socket.io wasn't working, we just hacked those settings to get it working on our Chromes...
[16:48] gr-eg has joined the channel
[16:48] Chopinn: hi! not that good with javascript but, can someone tell me why that error on line 31 happens? : http://pastebin.com/b81wQhih
[16:48] dannycoates has joined the channel
[16:48] jheusala: but did read that newest Chrome uses a newer Websockets protoco
[16:48] mcepl has joined the channel
[16:48] jheusala: *protocol
[16:48] `3rdEden: jheusala socket.io 0.8 has support for that
[16:48] `3rdEden: so just upgrade to latest version to have it working again
[16:48] kenperkins has joined the channel
[16:49] jheusala: `3rdEden: is it new update? we used the latest from NPM while coding for Node Knockout this weekend
[16:50] `3rdEden: jheusala rauchg updated it during the node knockout
[16:50] `3rdEden: he just released 0.8.1 a few minutes ago
[16:50] `3rdEden: with some bug fixes
[16:50] blessYAHU: bnoordhuis: that works. thanks for the tip on virtualbox!
[16:50] jheusala: ah right
[16:50] jheusala: I guess updating NPM modules are OK for Node Knockout rules :-P
[16:50] greg606: jheusala: Uncaught TypeError: Object #