[00:01] napperjabber has joined the channel
[00:01] joshkehn has joined the channel
[00:01] \mSg has joined the channel
[00:01] joshkehn has left the channel
[00:02] hoik: so, if i wanted to send some data to my python program (ie, to to the unix socket i guess), and then get a response.. how (vaguely) would i implement that in node ??
[00:02] hackband has joined the channel
[00:03] niallo: hoik: i'm using zeromq and also tcp to communicate between node and python
[00:03] niallo: hoik: node makes it pretty easy to use both these protocols.
[00:03] dlg: niallo: fancy seeing you here
[00:04] hoik: can i ask why you use zeromq?
[00:04] niallo: hey dlg. doing node stuff i guess?
[00:05] panosru: hoik: you can use any MQ system if you like, it is (in my opinion) the best way to communicate between different technologies from within the system, I personally use RabbitMQ
[00:05] niallo: hoik: i use the push/pull sockets because it solves my problem.
[00:06] panosru: niallo: have you tried RabbitMQ ? if yes I'm just curious if you prefer ZeroMQ over RabbitMQ and why :) Thanks
[00:06] niallo: panosru: have not used it.
[00:07] Dmitriju1: panosru: i do prefer zeromq :) although i've used rabbitmq for a while
[00:07] panosru: niallo: ok, cool :)
[00:07] panosru: Dmitriju1: I use RabbitMQ for about two years now and I could say I don't have any complain about it, but I'm always open for suggestions :D
[00:08] panosru: Dmitriju1: I know that "if something works don't touch it" but I don't believe in that phrase :P I prefer "if something can work better then use it" :)
[00:09] Dmitriju1: panosru: well, dunno which one is better, just i prefer the simplicity zeromq provides
[00:09] sauerbraten: can someone have a look at this? program exits normally, but nothing is written to the redis db :/ http://pastie.org/3404959
[00:09] hoik: Dmitriju1, panosru : i see.. not come across MQ before.. this is the main purpose of it? ..is it just easier than using unix sockets (./whats the advantage?)
[00:09] Dmitriju1: panosru: in rabbitmq i sometimes had to connect to teh erlang shell and kill corresponding erlang processes....
[00:09] dlg: niallo: annoying bnoordhuis
[00:10] sauerbraten: oh, and _redis.print outputs "undefined" all the time
[00:10] diogogmt has joined the channel
[00:11] b_d has joined the channel
[00:11] panosru: hoik: to be honest I don't really know if it is the purpose of MQ but I guess it could be, you could check it here too (http://en.wikipedia.org/wiki/Message_queue) but JS purpose wasn't to be server side either but it is now and it works very well too :P
[00:11] tdubz has joined the channel
[00:12] panosru: hoik: regarding unix sockets, I prefer MQ to be honest but I don't have any strong argument behind that preference... it is just a preference.. maybe because I can have a control panel and setting up permissions and etc for my queue vhosts could be used as an argument
[00:13] jdeibele1 has joined the channel
[00:13] huggies has joined the channel
[00:14] Vespakoen has joined the channel
[00:14] panosru: hoik: I like the admin panel that rabbitmq provides (http://www.rabbitmq.com/management.html) but you should check the variety of MQ's out there to end up on your preference I use RabbitMQ because I got used to it but as Dmitriju1 mentioned erlang can be annoying some times :P
[00:16] hoik: @pansoru ... thanks.. seems like it would probably be unnecessary additional software for my case i think, unless there is a killer app that i'm missing.
[00:17] AkhiAbdullah has joined the channel
[00:17] whaley has joined the channel
[00:18] hipsterslapfight has joined the channel
[00:20] clockwize has joined the channel
[00:20] panosru: hoik: if you need different technologies to talk between them, then I guess MQ is the way to go (from architectural perspective it has many benefits too)
[00:21] looopy has joined the channel
[00:23] agnat_ has joined the channel
[00:24] hoik: panosru: why not unix sockets? ..my case requires node to respond between server and client w/ socket.io, and then on certain events send some data on to python to process (inc some db) and then back to node and then the user
[00:24] sorensen__ has joined the channel
[00:25] ramitos has joined the channel
[00:25] RyanD has joined the channel
[00:26] panosru: hoik: as I said, MQ is my preference without any strong argument against, unix sockets... I just got used to MQ that's all, if anyone have experience with MQ and unix sockets I believe will be able to provide arguments and comparisons between them :)
[00:26] hoik: ok well thanks
[00:26] marcello3d has joined the channel
[00:28] boccato has joined the channel
[00:28] diverdude has joined the channel
[00:29] skyler_brungardt has joined the channel
[00:29] diverdude: hey, amybody tried out HAProxy b4?
[00:29] Skaag has joined the channel
[00:29] ningu: hrm... I'm trying to use async.map on a mongoose model's create function, I'm calling async.map(array, Foo.create, callback), but I'm getting an error on mongoose's line in create: var doc = new self(arg);
[00:29] ningu: the error being: TypeError: object is not a function
[00:29] ningu: any idea what's up with that? I've never used the async library before
[00:30] ningu: the problem seems to be coming from "this" not being the right thing... but I can't really tell why :/
[00:31] Wa has joined the channel
[00:32] dgathright has joined the channel
[00:33] k1ttty has joined the channel
[00:34] piscisaureus_ has joined the channel
[00:34] mikeal has joined the channel
[00:35] k1ttty has joined the channel
[00:35] tommyvyo has joined the channel
[00:36] ajackbot has joined the channel
[00:37] tprice has joined the channel
[00:37] tlab has joined the channel
[00:38] themiddleman_itv has joined the channel
[00:40] jergason has joined the channel
[00:40] elijah-mbp has joined the channel
[00:40] huggies has joined the channel
[00:40] panosru: Dmitriju1: I check out some videos regarding zeroMq, thanks for mentioning it I'll have a look on it diffidently :) I guess that I won't need erlang any longer :P (but not sure yet :) )
[00:41] parshap has joined the channel
[00:41] huggies has joined the channel
[00:41] koo4 has joined the channel
[00:42] joshsmith has joined the channel
[00:42] spolu: Hi! could someone remind me the name of that dynamic tempting engine for javascript ?
[00:42] huggies has joined the channel
[00:42] iain_: spolu: jade?
[00:43] spolu: iain_: well no, you know the javascript engine where you bind your elements to some data… and it gets updated realtime
[00:43] iain_: oh, no I don't know
[00:44] spolu: iain_: found it! http://knockoutjs.com/
[00:45] kbhit has joined the channel
[00:45] robotmay has joined the channel
[00:46] RyanD has joined the channel
[00:47] hij1nx_ has joined the channel
[00:47] sorensen__ has joined the channel
[00:48] Wizek-other has joined the channel
[00:49] euforic has joined the channel
[00:50] dnolen has joined the channel
[00:51] thinkjson has joined the channel
[00:52] thinkjson: Is there any way to do hot code reload without spawning subprocesses?
[00:54] sechrist has joined the channel
[00:54] chjj: thinkjson: yeah, it probably wouldnt be pretty though
[00:54] cburyta has joined the channel
[00:54] thinkjson: chjj: what is the general concept?
[00:54] chjj: thinkjson: you could always poll a files mtime, if its changed, clear the require cache and require it again
[00:55] thinkjson: will that cascade all of that module's requires?
[00:55] chjj: well thats the problem with it, it depends on what has a reference to what
[00:55] cjm has joined the channel
[00:56] thinkjson: hmm
[00:56] chjj: its probably not reliable for something big
[00:56] chjj: cause different things could still have a reference to the old module
[00:56] thinkjson: right
[00:57] jblanche has joined the channel
[00:57] mikeal has joined the channel
[00:57] thinkjson: could I have the process turn off its port, spawn a child with the new codebase, and then commit suicide?
[00:57] thinkjson: or would it kill both?
[00:57] eeemsi has joined the channel
[01:00] looopy has joined the channel
[01:00] cha0s has joined the channel
[01:00] cha0s has joined the channel
[01:00] jesusabdullah has joined the channel
[01:01] pendlepants has joined the channel
[01:02] xjiujiu has joined the channel
[01:03] al3xnull has joined the channel
[01:03] pyrotechnick has joined the channel
[01:05] c4milo has joined the channel
[01:05] CIA-74: node: 03Paul Vorbach 07v0.6 * rc1f4740 10/ doc/index.html :
[01:05] CIA-74: node: docs: fix quotation style in the webserver example
[01:05] CIA-74: node: Replace " by ' - http://git.io/F4Yekw
[01:07] bkaney has joined the channel
[01:08] githogori has joined the channel
[01:08] jhbot: 'What's a good starting point to design an architecture with scalability in mind?' by user1169575 http://stackoverflow.com/q/9337556 (tags: python, design, asynchronous, scalability)
[01:10] thinkjson: jhbot: money
[01:10] jhbot: TURING TEST SUCCESSFULLY COMPLETED!
[01:11] eb4890 has joined the channel
[01:13] tuhoojabotti: one might think that the bot part in the nick means it's a bot.
[01:13] tuhoojabotti: like in my nick. ":D"
[01:14] thinkjson: tuhoojabotti: it was still worth saying :-P
[01:15] porco has joined the channel
[01:15] tuhoojabotti: :3
[01:20] codelahoma has joined the channel
[01:21] average_drifter has joined the channel
[01:21] timoxley has joined the channel
[01:22] ramitos has joined the channel
[01:23] bingomanatee_ has joined the channel
[01:24] jhbot: 'Express.Js, Node.Js, MongoDB Questions' by Tom http://stackoverflow.com/q/9337658 (tags: mongodb, express.js)
[01:25] cliffano has joined the channel
[01:27] thinkjson: jhbot: boo
[01:27] jhbot: TURING TEST SUCCESSFULLY COMPLETED!
[01:28] dthompso99 has left the channel
[01:29] artusrocha has joined the channel
[01:29] bkaney has left the channel
[01:32] mattgifford has joined the channel
[01:33] jer0me has joined the channel
[01:33] tornad has joined the channel
[01:34] dthompso99 has joined the channel
[01:35] killing-joke: when work with http at the command line, use curl
[01:36] killing-joke: when work with websockets and socket.io at the command line, use ... ?
[01:36] maxogden: confucius say man who try work with socket from command line end up bashing himself
[01:37] killing-joke: use ... echo, printf and netcat?
[01:38] isao has joined the channel
[01:38] thinkjson: maxogden: lol
[01:39] kmiyashiro has joined the channel
[01:41] seanbeausoleil_ has joined the channel
[01:41] looopy has joined the channel
[01:41] sauerbraten: can someone explain to me what I'm doing wrong? http://pastie.org/3405320 I want to achieve that line 87 (the render part) is executed after all the events are fetched from the database
[01:42] sauerbraten: *86 in that paste, actually
[01:43] maxogden: sauerbraten: take 75 - 82 and wrap it in a function called getData or something
[01:43] maxogden: sauerbraten: then instead of process.nextTick call getData
[01:44] maxogden: sauerbraten: and make getData take a callback and call the callback with the data (equivalent to line 79 in your snippet)
[01:44] dmsuperman has left the channel
[01:45] chjj has joined the channel
[01:48] heavysixer has joined the channel
[01:49] sauerbraten: maxogden, I did what you said, now I have http://pastie.org/3405352
[01:49] harthur has joined the channel
[01:49] dodo_ has joined the channel
[01:50] tommyvyo has joined the channel
[01:51] QaDeS_ has joined the channel
[01:52] rwaldron has joined the channel
[01:53] avih has joined the channel
[01:53] aristidesfl1 has joined the channel
[01:53] jergason has joined the channel
[01:53] fastest963 has joined the channel
[01:53] sechrist_ has joined the channel
[01:54] boccato has joined the channel
[01:54] take_cheeze1 has joined the channel
[01:54] nakkor has joined the channel
[01:55] jonaslund_ has joined the channel
[01:55] cliffano: has 'npm link' been removed due to windows incompatibilty?
[01:55] TypoAway has joined the channel
[01:56] StanlySoManly1 has joined the channel
[01:56] r04r_ has joined the channel
[01:57] JuanCri_ has joined the channel
[01:57] al3xnull has joined the channel
[01:57] sj26_ has joined the channel
[01:58] navinpy has joined the channel
[01:58] The_Kingdutch has joined the channel
[01:58] pkrumins_ has joined the channel
[01:58] digiwano_ has joined the channel
[01:58] jesusabd1llah has joined the channel
[01:58] b_d_ has joined the channel
[01:58] wink_ has joined the channel
[01:58] CIA-102 has joined the channel
[01:59] b_d_ has left the channel
[02:00] deeprogram has joined the channel
[02:00] maxogden: sauerbraten: 84 happens before 76 - 82
[02:00] maxogden: sauerbraten: because the callback to redis.hgetall is called asynchronously
[02:01] sauerbraten: yep, but how do I fix this?
[02:01] maxogden: sauerbraten: think about it :)
[02:01] unmatrix has joined the channel
[02:01] maxogden: sauerbraten: you want to call the callback once all your data has been retrieved
[02:01] RyanD_ has joined the channel
[02:02] sauerbraten: should I use a counter or something? isn't there an easy way for this?
[02:02] jocafa has joined the channel
[02:02] CarterL has joined the channel
[02:04] harthur has joined the channel
[02:04] maxogden: sauerbraten: oh i didnt notice the nested hgetalls
[02:04] sauerbraten: yeah...
[02:05] maxogden: sauerbraten: a counter is one way, using the async module is another
[02:05] TooTallNate: cliffano: it's still there, but doesnt work on windows
[02:06] kirbysayshi has joined the channel
[02:06] shinuza has joined the channel
[02:07] Aria has joined the channel
[02:07] icrazyhack has joined the channel
[02:07] richcollins has joined the channel
[02:08] joshgillies has joined the channel
[02:08] sauerbraten: looks good, thanks maxogden
[02:08] richcollins: What is the latest version of npm that is compatible with node 0.4.7?
[02:08] richcollins: (for heroku)
[02:08] Broolucks has joined the channel
[02:10] torvalamo has joined the channel
[02:10] navpar has joined the channel
[02:10] Shrink has joined the channel
[02:10] Shrink has joined the channel
[02:11] eeemsi: thank you for another great release!
[02:12] bartt1 has joined the channel
[02:12] cliffano: TooTallNate: thanks for the confirmation
[02:12] CarterL has joined the channel
[02:12] killing-joke: now i see. i can use node as a client, and github.com/einaros/ws
[02:13] nerdfiles1 has joined the channel
[02:17] sauerbraten: maxogden, actually I don't think the async package can help me that much; it requires the functions to have a callback, which is impossible for my loop
[02:20] Behi has joined the channel
[02:20] Behi: Hi all
[02:22] satyr has joined the channel
[02:22] Behi: If twitter was using Web Sockets, and at peak time say 1,000,000 users had their twitter pages open, that could mean it had to handle 1,000,000 simultaneous open connections. Wouldn't polling be better then? As the connections could be closed after each request...
[02:23] mschneider has joined the channel
[02:23] stagas has joined the channel
[02:25] samsonjs_ has joined the channel
[02:27] willwhite has joined the channel
[02:27] bhunt has joined the channel
[02:27] jhbot: 'Amazon Book Search via JavaScript' by Travis Parks http://stackoverflow.com/q/9337978 (tags: javascript, amazon, express)
[02:28] imsky has joined the channel
[02:28] _baton_ has joined the channel
[02:30] chilts: Behi: polling consumes way more resources than keeping a few KB per socket open
[02:30] \mSg: Behi, open connections moving no data takes a negligible amount of processing and traffic. tcp/ip handshake, resending headers, etc has a lot more overhead for a request that most of the time will say "no update." Would you rather have your server bombarded with polling to give no updates, or have a completely silten tcp/ip connection in those cases?
[02:30] diva has joined the channel
[02:30] chilts: snap :)
[02:30] \mSg: lol
[02:31] chilts: though yours is a more fuller description :D
[02:31] Behi: lol. is there a maximum number of connections a single linux server can handle?
[02:31] \mSg: I had it typed, but haven't directly used either technology, so I had a browser open doing some research first :p
[02:31] Behi: I thought it was something like 64K?
[02:32] Aria: You run out of ports per IP there.
[02:32] Aria: But a single server can serve many, many more if you have more IPs.
[02:33] Joey_ has joined the channel
[02:34] redir has joined the channel
[02:34] chilts: it's certainly in the thousands, though there are some factors it depends on
[02:35] joshontheweb has joined the channel
[02:37] ceej has joined the channel
[02:37] pongwon has joined the channel
[02:38] davidedwardclark has joined the channel
[02:39] Aria: RAM, how the sockets are managed, connection rate, number of ports available, OS tuning.
[02:40] gf3 has joined the channel
[02:44] jocafa has joined the channel
[02:45] Kevlar_ has joined the channel
[02:47] cha0s has joined the channel
[02:47] cha0s has joined the channel
[02:48] samsonjs has joined the channel
[02:51] jakehow has joined the channel
[02:52] muk_work has joined the channel
[02:52] muk_work: hey guys
[02:52] muk_work: an OPML parser shouldn't make http requests right? It should just parse/generate OPML?
[02:52] muk_work: to be a proper module?
[02:54] Aria: Doesn't opml have includes?
[02:54] muk_mb: includes?
[02:56] muk_mb: oh I see xml includes here. I don't think OPML supports those
[02:56] muk_mb: no OPML file I've seen uses them for sure
[02:57] boccato has joined the channel
[02:58] Destos has joined the channel
[02:58] pendlepants has joined the channel
[02:59] wookiehangover: maxogden: lol
[02:59] maxogden: ACTION :D
[03:00] Aria: If I remember right, OPML technically has all sorts of YAGNI generic stuff.
[03:01] tommyvyo has joined the channel
[03:01] tylerstalder has joined the channel
[03:01] wookiehangover: maxogden: are you going to be at jsconf?
[03:03] maxogden: wookiehangover: doubt it, kinda overdid it on confs the last couple years
[03:04] maxogden: wookiehangover: kinda wanna chill for a minute this time around
[03:04] muk_mb: Yeah I don't think an opml parse should be making requests. Might have to write one
[03:04] wookiehangover: fair enough
[03:04] wookiehangover: I only go to 2-3 things a year
[03:04] Qbix1 has joined the channel
[03:04] wookiehangover: but ya
[03:04] sdwrage has joined the channel
[03:05] muk_mb: man, even these xml modules are all old, most at least older than 6 months
[03:05] neoesque has joined the channel
[03:06] _th_n has joined the channel
[03:06] maxogden: wookiehangover: ill be at nodeconf though
[03:07] isaacs: ircretary: tell richcollins npm 1.0.106 is compatible with node 0.4
[03:07] ircretary: isaacs: I'll be sure to tell richcollins
[03:08] ramitos has joined the channel
[03:08] wookiehangover: maxogden: word
[03:09] intripoon_ has joined the channel
[03:09] shinuza_ has joined the channel
[03:10] maxogden: isaacs: i need more npm stickers, shoulda asked you for some earlier
[03:10] maxogden: isaacs: SubStack and i have begun a campaign to place them all around east bay
[03:11] kmiyashiro has joined the channel
[03:11] Aria: Ooh. I'd stick some of those around Cambridge if I had some.
[03:11] davidedwardclark has left the channel
[03:11] maxogden: cambridge ma? i was there last week!
[03:14] jiboumans_ has joined the channel
[03:14] Brunswick has joined the channel
[03:14] jakehow has joined the channel
[03:14] crutex has joined the channel
[03:14] crutex has joined the channel
[03:15] qsobad has joined the channel
[03:17] isaacs: maxogden: i approve this message.
[03:17] pradeebv has joined the channel
[03:19] jtsnow has joined the channel
[03:22] killing-joke: what is a good command line tool for working with websockets? like curl, but ...
[03:24] ramitos has joined the channel
[03:25] Aradhya has joined the channel
[03:26] innoying has joined the channel
[03:26] deeprogram has joined the channel
[03:27] Aradhya has left the channel
[03:29] dilvie has joined the channel
[03:31] idletom has joined the channel
[03:31] willwhite has joined the channel
[03:32] ryanfitz has joined the channel
[03:37] eukreign1 has joined the channel
[03:37] Sahua has joined the channel
[03:37] lamby0102 has left the channel
[03:38] eukreign1: is there a way to get prototype chaining to work for a function object?
[03:38] stagas has joined the channel
[03:39] eukreign1: basically i want an object that in addition to having methods/attributes also can be called like object();
[03:39] colinclark has joined the channel
[03:39] eukreign1: so, i either need to add function call syntax to a regular object or somehow get prototype chaining to work for a non-instantiated function
[03:40] Gregor: eukreign1: Not portably, but since you're in #Node.js, you can override .__proto__
[03:40] _bat has joined the channel
[03:40] eukreign1: i was looking for a portable solution
[03:40] kbhit has joined the channel
[03:41] nathanieldavid has joined the channel
[03:41] eukreign1: so, the new keyword is the only way to assign chainable prototypes?
[03:41] eukreign1: or using __proto__ as you suggest
[03:42] eukreign1: which js engines do not support __proto__?
[03:43] Gregor: In the lowest common denominator ES5, you can neither call a non-function or create a function with prototype other than Function.prototype (unless I am misremembering and there's a loophole)
[03:43] Gregor: IE is the only engine that doesn't support overriding __proto__, but rumblings suggest that others want to remove it.
[03:44] Gregor: Object.create also creates prototype chains, but can't create functions.
[03:44] willwhite has joined the channel
[03:46] konobi: you can always have your function return an instance of itself if it isn't already
[03:47] jxie has joined the channel
[03:47] spion1 has joined the channel
[03:47] eukreign1: how would returning instance of itself solve the problem?
[03:49] shancat has joined the channel
[03:49] kbhit has joined the channel
[03:50] sechrist_: are there any cool node modules to do a moving graph in the console?
[03:50] jiboumans_ has joined the channel
[03:50] Vennril has joined the channel
[03:53] aps has joined the channel
[03:54] nathanieldavid: Q. What's the appropriate way to update Node?
[03:55] shancat: Download the newest version from nodejs.org, I believe.
[03:55] pyrotechnick: nathanieldavid: what platform? OSX?
[03:55] shancat: or git pull and build from source.
[03:55] pyrotechnick: and it depends how you installed it
[03:56] pyrotechnick: we need your platform and installation method to give you the best answer
[03:56] thinkt4nk has joined the channel
[03:57] nathanieldavid: OSX, yes.
[03:57] shancat: Which version do you want to update to?
[03:57] nathanieldavid: Latest
[03:57] nathanieldavid: stable
[03:58] shancat: http://nodejs.org/dist/v0.6.11/node-v0.6.11.pkg
[03:59] nathanieldavid: I was just wondering if there was a more pleasant way to update, like in terminal or something. But thats fine. Thanks.
[03:59] cgfuh has joined the channel
[04:00] shancat: I don't think so. I usually just download the latest version and overwrite the previous version.
[04:01] ts__ has joined the channel
[04:02] dabbor has joined the channel
[04:03] ryan12 has joined the channel
[04:03] zomgbie has joined the channel
[04:04] nerdfiles has joined the channel
[04:05] ovaillancourt has joined the channel
[04:05] eukreign1: if the prototype is changed on an object (as opposed to function i mention earlier) will that be chainable?
[04:06] tommyvyo has joined the channel
[04:06] eukreign1: or is pretty much the one and only way to set chainable prototypes is to use new on a Function?
[04:06] eukreign1: var a = function(){}; a.prototype = foo; var b = new a(); that's the ONLY way?
[04:08] gavin_huang has joined the channel
[04:09] riskish has joined the channel
[04:09] pyrotechnick: since when has github had emoticons?
[04:11] shancat: Maybe half a year.
[04:11] shancat: http://www.emoji-cheat-sheet.com/
[04:11] sharkbird has joined the channel
[04:15] cha0s has joined the channel
[04:15] cha0s has joined the channel
[04:17] nhunzaker has joined the channel
[04:17] cjm has joined the channel
[04:19] sechrist_: npm ERR! Error: UNKNOWN, unknown error
[04:19] sechrist_: hot
[04:20] reid has joined the channel
[04:20] reid has joined the channel
[04:21] Aria has joined the channel
[04:21] jakehow has joined the channel
[04:26] esundahl has joined the channel
[04:27] napperjabber has joined the channel
[04:27] mikeal has joined the channel
[04:27] benvie has joined the channel
[04:29] gr4yscale has joined the channel
[04:31] jerrysv has joined the channel
[04:32] sebicas has joined the channel
[04:32] shinuza has joined the channel
[04:33] ramitos has joined the channel
[04:34] sebicas has left the channel
[04:37] dnjaramba has joined the channel
[04:38] dnjaramba has joined the channel
[04:38] shancat has left the channel
[04:39] rurufufuss has joined the channel
[04:40] timoxley has joined the channel
[04:40] idefine has joined the channel
[04:41] dnjaramba has joined the channel
[04:48] innoying has joined the channel
[04:49] b_d has joined the channel
[04:49] OmidRaha has joined the channel
[04:49] jinmo123 has joined the channel
[04:49] jinmo123: can i have a question here?
[04:52] ramitos has joined the channel
[04:53] isaacs has joined the channel
[04:53] muk_mb: yay, I wrote a better opml parser
[04:55] matti has joined the channel
[04:55] matti has joined the channel
[04:55] imsky has joined the channel
[04:56] jinmo123: I created a tcp socket(new Socket, connect port, host) but when it connects, it closes immediately. what can i do? I tried allowHalfOpen, but it closes like that, too.
[04:56] boltR has joined the channel
[05:00] nibblebot has joined the channel
[05:01] sdwrage has joined the channel
[05:02] mikeal has joined the channel
[05:04] aps has joined the channel
[05:05] aps has left the channel
[05:05] aps has joined the channel
[05:10] thinkt4nk has joined the channel
[05:15] RichardBronosky has joined the channel
[05:19] isao has joined the channel
[05:20] Rickta59 has joined the channel
[05:21] jaime_ has joined the channel
[05:22] mikeal has joined the channel
[05:24] ryanfitz has joined the channel
[05:24] muk_mb has joined the channel
[05:25] average_1rifter has joined the channel
[05:26] kbhit has joined the channel
[05:29] c0smikdebris has joined the channel
[05:31] jacobolus has joined the channel
[05:33] munichlinux has joined the channel
[05:34] warz has joined the channel
[05:34] warz has joined the channel
[05:35] draginx has joined the channel
[05:37] EvilPacket has joined the channel
[05:42] jacobolus has joined the channel
[05:42] jaime_: just throwing this out there, any developers in here looking to be a cto/co-founder for a peer to peer marketplace startup?
[05:43] porco has joined the channel
[05:43] mikeal has joined the channel
[05:43] stagas has joined the channel
[05:44] andrehjr has joined the channel
[05:44] qsobad has joined the channel
[05:44] torvalamo: so what you're asking is: you have an idea and need someone to program it for you?
[05:44] TimTimTim has joined the channel
[05:44] munichlinux: why not hire a freelancer?
[05:45] torvalamo: that wasn't my point
[05:45] torvalamo: and there are several reasons why you wouldn't
[05:45] jaime_: we need a technical co founder and we are in talks with investors now and they won't fund without a technical team
[05:45] jaime_: or atleast a technical person to start with**
[05:45] torvalamo: which kind of industry/context are we talking about here?
[05:46] jaime_: website is designed/front end coded .. need a back end developer to finish it off at this point
[05:46] rwaldron has joined the channel
[05:46] jaime_: ebay for services
[05:46] jaime_: peer to peer marketplace
[05:46] joshgillies has joined the channel
[05:47] torvalamo: so it's a website with service offers/listings?
[05:47] jaime_: its a little more complicated than that
[05:47] torvalamo: i'm just curious where the peer to peer bit comes in
[05:48] torvalamo: because it seems more in the way than helpful for this
[05:48] tekky has joined the channel
[05:50] willwhite has joined the channel
[05:50] jhbot: 'Mongodb type reference node' by Doboy http://stackoverflow.com/q/9338964 (tags: mongodb)
[05:50] looopy has joined the channel
[05:54] raja: are EvenEmitters global? I want to emit an event from one instance of a Model and listen elsewhere
[05:56] timoxley has joined the channel
[05:58] muk_mb: could I get one of you to glance over my project and let me know if I'm doing it right so far?
[05:58] muk_mb: as far as things are organized
[05:59] jaime_: anyone interested in coding for a peer to peer marketplace?
[05:59] jaime_: please pm me. thank you
[06:03] illourr has joined the channel
[06:03] Emmanuel has joined the channel
[06:05] esundahl has joined the channel
[06:05] marvin_ has joined the channel
[06:08] CrypticSwarm has joined the channel
[06:08] EvilPacket has left the channel
[06:14] shanem has joined the channel
[06:20] jiboumans_ has joined the channel
[06:21] Emmanuel: how do one chose between different NoSQL servers ?
[06:22] Emmanuel: like, how can I tell the difference between Redis and MongoDB ?
[06:23] Emmanuel: apart from googling it of course
[06:23] raja: Emmanuel: How about trying them
[06:24] raja: redis and mongo are very different
[06:26] Emmanuel: It's not really about the way they work
[06:27] Emmanuel: it's about what they are designed for
[06:27] Emmanuel: reading that : http://www.cloudcomputingdevelopment.net/nosql-databases-and-node-js/
[06:27] Emmanuel: that seems to confirm my first impression that "Redis is a data store well-suited for handling simple, relatively ephemeral data such as logs, votes, and messages."
[06:28] Emmanuel: while "MongoDB is a general-purpose non-relational database. It’s used for the same sort of applications as a relational database management system (RDBMS) and is well regarded for its performance capabilities."
[06:28] Emmanuel: and I definitely need more of the second than the first
[06:28] tonist has joined the channel
[06:28] Emmanuel: (even though I tried both before -- they both are awesome)
[06:28] pongwon has joined the channel
[06:28] Emmanuel: just want to make sure I make the right choice now before I start pissing code like crazy
[06:28] niallo: Emmanuel: mongodb is a lot closer to mysql in terms of functionality
[06:29] niallo: Emmanuel: very rich query language and data model.
[06:30] CrypticSwarm has joined the channel
[06:34] ramitos has joined the channel
[06:35] hij1nx_ has joined the channel
[06:35] richcollins has joined the channel
[06:35] Emmanuel: niallo: sounds like a perfect match for me
[06:36] Emmanuel: I need the speed of horizontal storage for 80% of my application
[06:36] Emmanuel: and can also enjoy a bit of relational model
[06:36] Emmanuel: so that sounds just perfect
[06:36] Emmanuel: and stuff like MapReduce
[06:36] pradeebv has joined the channel
[06:38] richcollins: Anyone try this yet? http://devcenter.heroku.com/articles/labs-nodejs-versions
[06:39] Wizek has joined the channel
[06:39] Tatort79 has joined the channel
[06:40] garrensmith has joined the channel
[06:41] kurtzhong has joined the channel
[06:43] redir has joined the channel
[06:45] Emmanuel: wow, and Mongoose evolved quite a lot
[06:45] Emmanuel: it's way more friendly than it was few months ag
[06:49] munichlinux has joined the channel
[06:50] westg has joined the channel
[06:50] dmwuw has joined the channel
[06:51] take_cheeze has joined the channel
[06:52] ovaillancourt has joined the channel
[06:53] pradeebv has joined the channel
[06:55] tonist has joined the channel
[06:56] qsobad has joined the channel
[06:57] skylamer` has joined the channel
[06:58] fbartho has joined the channel
[06:59] Guest34527 has joined the channel
[07:01] westg has joined the channel
[07:01] SamuraiJack has joined the channel
[07:02] jgoods has joined the channel
[07:03] a_suenami has joined the channel
[07:03] aliem has joined the channel
[07:04] markq has joined the channel
[07:05] draginx: whats the diff between engineio and socketio?
[07:05] draginx: nvm
[07:08] JmZ_ has joined the channel
[07:08] mattyf has joined the channel
[07:09] mattyf: Hi fellas, quick one - how do I get nodejs to run as 'node' in ubuntu
[07:09] mattyf: so far its only running when i type nodejs, trying to match my osx setup where it runs when i type 'node'
[07:10] kurtzhong has joined the channel
[07:10] garrensm_ has joined the channel
[07:10] markq: you have to add 'node' to your PATH env variable
[07:11] markq: normally you should be able to call it without having to manually add node to the path variable though
[07:12] kurtzhong_ has joined the channel
[07:13] skylamer`: how i can make to use the internal of some other module, modules
[07:13] skylamer`: require('some module')(parent module) doesnt work quite well :)
[07:17] zomgbie has joined the channel
[07:19] xbayrockx has joined the channel
[07:19] PhilK has joined the channel
[07:19] Morkel has joined the channel
[07:19] mikeal has joined the channel
[07:20] isufy has joined the channel
[07:20] MMKK has joined the channel
[07:20] blueadept has joined the channel
[07:20] blueadept has joined the channel
[07:24] JmZ_ has joined the channel
[07:30] dandean has joined the channel
[07:32] tornad has joined the channel
[07:34] tomtomaso has joined the channel
[07:35] JmZ_ has joined the channel
[07:35] Lingus: skylamer`: you can't
[07:35] Lingus: Require that file directly instead
[07:36] ericnakagawa has joined the channel
[07:37] ramitos has joined the channel
[07:38] skylamer`: u mean to install the module 'as new' ?
[07:39] jolo2 has joined the channel
[07:40] stayarrr has joined the channel
[07:43] dgathright has joined the channel
[07:43] Slashbunny has joined the channel
[07:44] boltR has joined the channel
[07:44] Gekz has joined the channel
[07:44] Gekz has joined the channel
[07:44] JmZ_ has joined the channel
[07:44] munichlinux has joined the channel
[07:48] joshgillies has joined the channel
[07:48] whoslynx has joined the channel
[07:49] josh-k has joined the channel
[07:50] dgathright_ has joined the channel
[07:51] Lingus: skylamer`: No. Require the file directly as in: require('module/lib/file')
[07:53] Ond has joined the channel
[07:53] memonservices has joined the channel
[07:54] memonservices has joined the channel
[07:55] OmidRaha has joined the channel
[07:56] krsna has joined the channel
[07:57] memonservices: has anyone here tried to install node.js on OS X Mountain Lion (10.8) yet?
[07:59] whoslynx has left the channel
[07:59] NewCoder has joined the channel
[08:01] insin has joined the channel
[08:03] JmZ_ has joined the channel
[08:03] JmZ_ has joined the channel
[08:04] Sahua has joined the channel
[08:04] d0k has joined the channel
[08:08] githogori has joined the channel
[08:10] jomoho has joined the channel
[08:11] disappearedng has joined the channel
[08:13] pizthewiz has joined the channel
[08:15] rendar has joined the channel
[08:15] simenbrekken has joined the channel
[08:16] dodo has joined the channel
[08:16] EvRide has joined the channel
[08:19] dthompso991 has joined the channel
[08:20] dthompso991 has left the channel
[08:20] mikeal has joined the channel
[08:21] orlandovftw has joined the channel
[08:25] krsna has joined the channel
[08:30] dpino has joined the channel
[08:30] dnjaramba has joined the channel
[08:33] Skola has joined the channel
[08:33] Druid_ has joined the channel
[08:36] Slashbunny has joined the channel
[08:37] dnjaramba has joined the channel
[08:39] vdb has joined the channel
[08:39] huggies has joined the channel
[08:41] boltR has joined the channel
[08:42] panosru has joined the channel
[08:45] dnjaramba has joined the channel
[08:49] dpino has joined the channel
[08:50] draginx has left the channel
[08:54] copongcopong has joined the channel
[08:56] gripir1 has joined the channel
[08:57] stonebranch has joined the channel
[08:58] jhbot: 'node.js socket exception read ETIMEDOUT - how do I catch it properly? what about write timeouts?' by nflacco http://stackoverflow.com/q/9339920 (tags: sockets, exception, server)
[09:04] rendar has joined the channel
[09:05] satyr has joined the channel
[09:06] ph^ has joined the channel
[09:06] gripir has joined the channel
[09:11] jhbot: 'npm installation error on new node.js installation on windows 7' by swordfish http://stackoverflow.com/q/9339992 (tags: windows-7, npm)
[09:11] pyrotechnick has joined the channel
[09:12] githogori has joined the channel
[09:12] vincentcr has joined the channel
[09:13] shancat has joined the channel
[09:13] stagas has joined the channel
[09:14] aranw has joined the channel
[09:16] shancat: Hello :)
[09:18] diverdude: shachaf: hi
[09:18] diverdude: shancat: ever used HAProxy?
[09:18] shancat: Nope, never heard of it. What is it?
[09:19] Chel: how
[09:20] Chel: how JS require works: every file when use require has a var module.exports, is it a kind of require requirements ?
[09:22] shancat: Chel, if you're looking for information on how Node processes require's then maybe you should look here: http://wiki.commonjs.org/wiki/Modules/1.1
[09:23] vdb has joined the channel
[09:24] kalms has joined the channel
[09:24] Stephan has joined the channel
[09:24] Chel: thanks shancat
[09:25] hh__ has joined the channel
[09:26] _th_n has joined the channel
[09:26] slaskis has joined the channel
[09:27] overra has joined the channel
[09:31] maletor has joined the channel
[09:32] tdegrunt has joined the channel
[09:33] stagas has joined the channel
[09:34] pct has joined the channel
[09:36] looopy has joined the channel
[09:37] johnhamelink has joined the channel
[09:41] thalll has joined the channel
[09:43] simenbrekken has joined the channel
[09:44] nodenoob has joined the channel
[09:45] mraleph has joined the channel
[09:45] Stephan has left the channel
[09:45] maxogden: Chel: http://nodejs.org/docs/latest/api/modules.html
[09:46] Chel: maxogden: and thanks to you too
[09:47] Wizek has joined the channel
[09:48] wink__ has joined the channel
[09:50] Stephan has joined the channel
[09:50] Vespakoen has joined the channel
[09:51] ajackbot has joined the channel
[09:53] ppcano has joined the channel
[09:53] wink_ has joined the channel
[09:53] vdb has joined the channel
[09:54] danielss89 has joined the channel
[09:55] jhbot: 'Wait for critical sections to complete in a graceful node.js shutdown' by ty. http://stackoverflow.com/q/9340187
[09:55] Skola has joined the channel
[10:01] k1ttty has joined the channel
[10:04] churp has joined the channel
[10:04] tonist has joined the channel
[10:09] mehlah has joined the channel
[10:11] olliey has joined the channel
[10:14] _th_n has joined the channel
[10:14] DennisRasmussen has joined the channel
[10:17] vdb has joined the channel
[10:17] adambeynon has joined the channel
[10:18] eliasp has joined the channel
[10:19] phidah has joined the channel
[10:20] [[zz]] has joined the channel
[10:22] jetienne has joined the channel
[10:23] stonebranch has joined the channel
[10:24] githogori has joined the channel
[10:24] eliasp_ has joined the channel
[10:24] arduix has joined the channel
[10:25] Dotan has joined the channel
[10:25] mraleph1 has joined the channel
[10:30] jhbot: 'node js - I am having some trouble with JSON.parse()' by user1215653 http://stackoverflow.com/q/9340398
[10:33] mansoor has joined the channel
[10:33] stagas has joined the channel
[10:37] ccare has joined the channel
[10:38] stagas has joined the channel
[10:40] hkjels has joined the channel
[10:40] marvin_ has joined the channel
[10:45] ts___ has joined the channel
[10:45] slajax has joined the channel
[10:47] Dotan has joined the channel
[10:49] QaDeS has joined the channel
[10:50] herbySk has joined the channel
[10:50] Vespakoen has joined the channel
[10:50] OmidRaha has joined the channel
[10:51] i42n has joined the channel
[10:54] izak_ has joined the channel
[10:54] TheJH has joined the channel
[10:59] Skaag has joined the channel
[10:59] whaley has joined the channel
[11:06] Guest98679 has joined the channel
[11:06] jblanche has joined the channel
[11:08] johnhamelink has joined the channel
[11:12] __doc__ has joined the channel
[11:12] lperrin has joined the channel
[11:13] stagas has joined the channel
[11:15] munichlinux has joined the channel
[11:17] blup has joined the channel
[11:19] Country has joined the channel
[11:19] amigojapan has joined the channel
[11:20] tanepiper has joined the channel
[11:21] hkjels has joined the channel
[11:21] dshaw_ has joined the channel
[11:23] johnhamelink has joined the channel
[11:23] deeprogram has joined the channel
[11:24] QaDeS has joined the channel
[11:25] dannyamey has joined the channel
[11:28] markwubben has joined the channel
[11:31] qsobad has joined the channel
[11:32] SamuraiJack has joined the channel
[11:33] dshaw_1 has joined the channel
[11:33] booyaa has joined the channel
[11:33] Vespakoen has joined the channel
[11:33] olliey` has joined the channel
[11:33] d0k has joined the channel
[11:34] munichlinux has joined the channel
[11:36] innociv has joined the channel
[11:45] plutoniix has joined the channel
[11:46] cliffano has joined the channel
[11:46] neoesque has joined the channel
[11:47] spolu has joined the channel
[11:48] AndreasMadsen has joined the channel
[11:48] stagas has joined the channel
[11:51] lzskiss has joined the channel
[11:51] sauerbraten has joined the channel
[11:53] adrianF has joined the channel
[11:54] pradeebv has left the channel
[11:56] k1ttty has joined the channel
[11:57] munichpython has joined the channel
[11:59] robinhoode has joined the channel
[11:59] phidah has joined the channel
[12:02] Kevlar_ has joined the channel
[12:04] Edy has joined the channel
[12:04] Edy has joined the channel
[12:04] hipsterslapfight has joined the channel
[12:07] Joey_ has joined the channel
[12:11] ypcx has joined the channel
[12:12] johnhamelink has joined the channel
[12:13] herbySk has joined the channel
[12:13] stagas has joined the channel
[12:18] pickels has joined the channel
[12:18] danielss89: anyone having trouble with socket.io v0.8.7 headers.cookie being undefined?
[12:18] Joeysomo has joined the channel
[12:19] ccare has joined the channel
[12:24] levi501d has joined the channel
[12:28] Joeysomo has joined the channel
[12:28] ramitos has joined the channel
[12:29] pokoli has joined the channel
[12:32] mansoor: danielss89, what transport is being used?
[12:33] artusrocha has joined the channel
[12:33] jscheel has joined the channel
[12:34] porco has joined the channel
[12:35] krsna has joined the channel
[12:36] zomgbie has joined the channel
[12:36] timoxley has joined the channel
[12:36] Morkel has joined the channel
[12:37] stonebranch has joined the channel
[12:40] Joeysomo has joined the channel
[12:41] Joeysomo has joined the channel
[12:45] Joeysomo has joined the channel
[12:46] jlank has joined the channel
[12:47] Joeysomo has joined the channel
[12:48] jhbot: 'Railway Mongoose issue' by Cristian http://stackoverflow.com/q/9341258 (tags: mongoose, railway.js)
[12:49] margle has joined the channel
[12:49] jinmo123 has joined the channel
[12:54] crutex has joined the channel
[12:57] Vespakoen has joined the channel
[12:59] izepstan has joined the channel
[13:00] teslan: my noobish feedback: i have never found my self "over enginnering" as much as i am with node.js
[13:02] ^robertj has joined the channel
[13:03] tornad has joined the channel
[13:03] zomg: teslan: Try using Java
[13:03] zomg: ;)
[13:04] ^robertj: I need a key-value store - which ones have first class nodejs support?
[13:04] zomg: Redis has good support from what I hear though I haven't used it myself
[13:04] ningu has joined the channel
[13:04] tdegrunt has joined the channel
[13:05] jhbot: 'Node.js Web running in Windows Azure Emulator' by Lucas S. http://stackoverflow.com/q/9341415 (tags: azure)
[13:07] teslan: might not be what you are asking for buch couchdb and mikeal's request module (see also sbisbee/node-js) are powerful combinations
[13:07] teslan: buch=but*
[13:07] cryptix has joined the channel
[13:08] zomg: teslan: I am curious though, how do you find yourself over-engineering things when using node?
[13:08] madhums has joined the channel
[13:10] kishoreyekkanti has joined the channel
[13:11] teslan: oh, i am new to the whole web development but this whole idea of javascript, "next tick", callback functions ... as if it was not true even in COBOL in banking systems, but for the first time, i am measuring 10 times and barely daring to cut once and feeling that for the first time my code is exposed to all kinds of elements ... so, i am testing like never before and i am 'efficiency' minded like never before and so on and so on ;)
[13:11] ningu: funny, I find that I don't need to engineer things as heavily in node to get them to work reasonably
[13:12] ningu: admittedly, I've only been using it for a week or two
[13:12] zomg: teslan: heh :)
[13:12] zomg: well it does take some getting used to at first I guess if you're used to things being synchronous
[13:12] ningu: but my past experience was Catalyst in perl -- and that was presumably less heavy than Java but still not as nice
[13:12] ningu: yeah, the async stuff takes some getting used to
[13:13] v_ has joined the channel
[13:13] teslan: guys, please do note that my comment opened with "my noobish feedback:" ;)
[13:13] v_ has left the channel
[13:16] ningu: teslan: yes, and I am also a noob
[13:17] jhbot: 'Websocket: how to emit to just some connected clients?' by hysoka44 http://stackoverflow.com/q/9341492 (tags: websocket)
[13:17] zomg: I started doing JS stuff like 10 years ago but not that actively in the beginning =)
[13:17] bbenvie has joined the channel
[13:17] teslan: ningu: yes, but i doubt that you are also 53 and just now getting into web dev, for the first time ... say you are, go ahead, make my day ;)
[13:17] zomg: With node I'm building a SaaS type of app but that's really the first "real" node app I've ever done
[13:18] zomg: teslan: I'm sure you could code around us in circles in COBOL or something ;)
[13:19] ningu: teslan: haha, no, I've been doing some sort of web dev since I was like 13, in the sense that I learned html then, but I've never been really good at it (css drives me crazy for example).
[13:19] teslan: (: or something is right :)
[13:19] ningu: I'm pretty good at backend design stuff.
[13:19] Joeysomo has joined the channel
[13:19] zomg: ningu: I started around that age too =)
[13:19] luigi has joined the channel
[13:20] teslan: at 13 i was sheep farming in bosnia ;)
[13:20] ningu: zomg: that was 1994 for me
[13:20] insin: NODE POINT JAVASCRIPT CIRCLING DIVISION
[13:20] ningu: insin: oh hey there, I wanted to mention another newforms issue
[13:20] zomg: ningu: did they have html back then? ;)
[13:20] zomg: maybe 1.0 or 2.0?
[13:20] zomg: :D
[13:21] d0k has joined the channel
[13:21] teslan: "url.parse" is a rewrite of "sheers" ... but you knew that
[13:21] ningu: yeah, that was when netscape was the hot new thing, much better than mosaic
[13:22] zomg: for me it was probably around 2000 or something, I honestly forgot
[13:22] insin: ningu: go for it, file an issue too if it's something missing/broken :)
[13:22] zomg: I have some of my very old web site designs saved and they're from around that time
[13:22] teslan: STOP IT, EVEN MENTIONING NETSCAPE AND MOSAIC IS MAKING ME FEEL OLD
[13:22] ningu: well, I didn't do any cgi programming until later
[13:22] ningu: haha
[13:22] ningu: my gf asked me the other day what usenet was
[13:23] insin: the wayback archive never forgets *cringe*
[13:23] zomg: Ah actually I think my first HTML based site was from 2001 :D I found a screenshot of it and it says 2001 on it
[13:23] zomg: I remember using some sort of site building software before that though
[13:24] cris has joined the channel
[13:24] zomg: Pretty badass dontcha think http://jjh.fi/~jani/firstsite.jpg
[13:24] ningu: insin: I haven't filed an issue because I'm not entirely sure if it is one. basically I created a FileField that says required: false, but newforms doesn't detect it when I don't upload a file. no js widgets, just FileInput.
[13:24] teslan: i remember marking up code on bubble cards in school and then using punch card machines at work
[13:24] zomg: I love the high contrast of the font in the sidebar, barely can make out what it says...
[13:24] zomg: :P
[13:25] ningu: when I was 13 and on vacation without a computer I wrote out ideas for ircII scripts in a notebook
[13:25] zomg: teslan: I have met a person who used punch card machines IRL, that's the closest I've ever come to those machines :D
[13:25] teslan: the fonts on those punch cards were fantastic looking rectengular holes
[13:26] ningu: zomg: I was at maker faire last year and they had a cool computer history museum exhibit, no punch card machines but very early pcs
[13:26] ningu: original ibm pc with word 2.0 or something
[13:26] zomg: heh
[13:26] zomg: I have a 486dx2 which still works, mobo, vga card and all =)
[13:26] ningu: I could have a working 286 if I bothered to keep it
[13:26] TheJH: actually, how good is font recognition today? could I write code at school and scan it at home? :D
[13:27] ningu: TheJH: haha, code in handwriting always seemed really weird to me
[13:27] TheJH: ACTION doesn't want to use punchcards
[13:27] zomg: TheJH: probably, I'm not sure how well it would recognize special characters
[13:27] ningu: I wonder if curly brace recognition is any good
[13:27] zomg: but otherwise it's probably pretty decent
[13:27] jinmo123: huh, can i ask a question?
[13:27] TheJH: jinmo123, you just did
[13:28] zomg: Evernote does a pretty nice job of handwriting recognition in my experience so I'd say it can be good =)
[13:28] ningu: I always want to call evernote something else, like evernut or evernewt
[13:28] pendlepants has joined the channel
[13:28] pickels has joined the channel
[13:33] Onkeltem has joined the channel
[13:33] Onkeltem: Aloha
[13:34] ningu: mahalo
[13:34] Onkeltem: This is the first time I join here. Knew about nodejs about 2 weeks ago, watched the video from nodejs.org, was really impressed, now can't sleep
[13:35] jinmo123: omg.
[13:35] Onkeltem: and can't wait to programm something really sexy
[13:35] bbenvie: sorry it was so rough on you
[13:35] bbenvie: it can be agressive
[13:36] Onkeltem: it - what?
[13:36] spolu has joined the channel
[13:37] jinmo123: i think node.js can be booooorrrrrrring
[13:37] jinmo123: cuz of bunch of trash codes, and modules
[13:37] bbenvie: that's cause you're not out late at night at node raves
[13:37] tanepiper has joined the channel
[13:37] jinmo123: if you want a really sexy languages, try to search some other languages
[13:38] bbenvie: javascript is sexy
[13:38] jinmo123: such as RoR, play for others
[13:38] Onkeltem: jinmo123: like javascript?
[13:38] jinmo123: yeah, i second that
[13:38] Onkeltem: like PHP I meant
[13:38] bbenvie: RoR is not sexy
[13:38] jinmo123: yeah i think so
[13:38] bbenvie: it's ok
[13:38] Onkeltem: I tried ror
[13:38] Onkeltem: any ruby is nice
[13:39] bbenvie: clojur
[13:39] jinmo123: js is sexy, but modules and callbacks annoyed me(not now, but i feel stress)
[13:39] bbenvie: as it should be spelled
[13:39] jinmo123: callback is annoying
[13:40] bbenvie: I call it time travel
[13:40] ningu: when you're interviewing for a job you want callbacks though
[13:40] teslan: so what do you think of this noob naming convention ... var url_mod = require("url") ... and... var request_npm = require("request")
[13:40] bbenvie: path annoys me actually
[13:40] bbenvie: because I really really want to use that for variable names
[13:40] ningu: teslan: people usually just name the variables the same as the modules
[13:41] ningu: teslan: but it doesn't matter much...
[13:41] bbenvie: and always at the same time I need the path module
[13:41] fairwinds has joined the channel
[13:42] airandfingers has joined the channel
[13:42] jinmo123: i like php, but js too.
[13:42] jinmo123: but express is little annoying.
[13:42] ningu: I pronounce php as fffpppppp
[13:42] Onkeltem: I believe a language shouldn'e be blamed for some bad programs created on it :)
[13:43] Vespakoen has joined the channel
[13:43] bbenvie: php gets to take responsibility for being shitty to begin with too though
[13:43] teslan: one of the biggest mind blockers (: far worse then i/o blocking :) for us procedural old timers coming over to class based systems is looking at a piece of code and knowing what on earth it points to ... is it from some core class, an add on or a locally define object ... etc ;)
[13:43] ningu: jinmo123: the connect middleware is excellent. express is a fairly thin layer over it, really, but I've found it has some nice facilities as well.
[13:44] Onkeltem: Is express a good point to start?
[13:45] ningu: teslan: js is worse, everything is an object, even classes, and inheritance is kind of roundabout (in the sense of being able to read the code and figure it out)
[13:45] ningu: teslan: it's also a huge strength of js though, imo... everything is a tradeoff :)
[13:45] ningu: Onkeltem: sure, why not?
[13:46] jinmo123: huh, i came here to have a question.. huh
[13:46] ningu: well, you never asked it
[13:46] ningu: not my fault :P
[13:46] jinmo123: yeah, oh my god!
[13:47] jinmo123: This is now 10:47 pm here
[13:47] jinmo123: hmm I created a TCP socket(client), and connected, but it closes immediately
[13:48] jinmo123: i tried that in c, but it didn't
[13:48] margle has joined the channel
[13:49] jinmo123: and packet monitor(wireshark) doesn't show any difference
[13:49] jinmo123: (sry but i'm korean, i have poor english, really sorry)
[13:51] teslan: for my small test page with an image ... console.log shows one request for "/", one for "/picture.jp" and then 6 requests for "/favicon.ico" ... otherwise all seems to be working fine ... any ideas why six favicon requests?
[13:51] teslan: jp+p*
[13:51] ningu: teslan: that's a question for your browser, I'd think
[13:52] teslan: thanks ningu: i will ask him :)))
[13:53] ovaillancourt has joined the channel
[13:53] bradleymeck has joined the channel
[13:53] jinmo123: try haha
[13:54] shanebo has joined the channel
[13:57] ohtogo has joined the channel
[13:58] Skyjoker has joined the channel
[14:00] enmand has joined the channel
[14:00] johnhamelink has joined the channel
[14:02] isao has joined the channel
[14:02] margle has joined the channel
[14:03] stagas has joined the channel
[14:04] visalm07 has joined the channel
[14:04] visalm07 has left the channel
[14:07] zomgbie has joined the channel
[14:07] willwhite has joined the channel
[14:07] dgathright has joined the channel
[14:10] robotmay has joined the channel
[14:11] Cromulent has joined the channel
[14:13] teslan: is there anything already within node that would do something like this (from stackoverflow suggestion) ...
[14:13] teslan: if (!DEBUG_MODE_ON) {
[14:13] teslan: console = console || {};
[14:13] teslan: console.log = function(){};
[14:13] teslan: }
[14:13] teslan: for turningg logging on/off
[14:14] AndreasMadsen: teslan: if (process.argv[2] === 'debug') then $ node script.js debug
[14:15] AndreasMadsen: Not sure what you mean with debug mode
[14:16] broofa has joined the channel
[14:17] teslan: AndreasMadsen: that was from an existing stackoverflow suggestion ... but are those process parameters, startup parameters and i was thinking more along the lines of ?log=true, so that anyone could turn it one on any request ... so, turning console.log into /dev/null would be ideal ;)
[14:18] teslan: turn it on, on any one request ;)
[14:18] teslan: *
[14:18] jinmo123: wow, good idea. thanks, i will use that!
[14:19] jinmo123: how about logging for test account> logging? haha
[14:20] AndreasMadsen: teslan: DEBUG_MODE_ON is not something node.js provide.
[14:21] herbySk74 has joined the channel
[14:21] AndreasMadsen: but you could implement it by doing gobal.DEBUG_MODE_ON = (process.argv.indexOf('--debug') !== -1)
[14:22] AndreasMadsen: then if you call your node program with like this "node script.js arg1 arg2 --debug" it would log print the output.
[14:22] teslan: sorry, that was a js example , i am guessing for browsers
[14:23] teslan: jinmo123: so is redefining of console.log = function(){} the most efficient?
[14:23] AndreasMadsen: teslan: redefining process.stdout.write is the best option.
[14:23] jinmo123: yeah
[14:24] Skola has joined the channel
[14:24] jinmo123: or try to use custom function
[14:24] jinmo123: such us 'log()', 'error()'
[14:25] teslan: but i am on heroku and i do not want to suppress whatever logging it might be doing ... i want to suppress just the logging that my app is doing
[14:25] DrHeiter has joined the channel
[14:25] AndreasMadsen: teslan: then make you own custom method.
[14:26] jinmo123: huhuhuhuhuhuhu tomorrow is Sunday here! :(
[14:26] DrHeiter: trying to ./configure node.js on my mac, claiming could not configure a cxx compiler. This is a new mac - I think I need to install some kind of dev package? Anyone know what I need
[14:26] teslan: here too is sunday tomorrow ;)
[14:26] dodo has joined the channel
[14:26] jinmo123: i like saturday, and here is 11:27.
[14:26] jinmo123: pm
[14:26] AndreasMadsen: DrHeiter: try installing xCode
[14:27] DrHeiter: blah thats what I was afraid of.. ok
[14:27] jinmo123: hmm
[14:27] pors has joined the channel
[14:27] jinmo123: does anyone knows why a tcp socket immediately closes after connect event?
[14:27] AndreasMadsen: DrHeiter: there are precompiled packages on node.js - you know?
[14:27] kbhit has joined the channel
[14:28] DrHeiter: that's true
[14:29] jinmo123: hmm..
[14:29] teslan: so, all of your suggestions have taken me back to square one ;) ... is is more efficient to call my own function, out of which i either return or invoke console.log or if i simply code like this ... if (log) { console.log('REQUEST.URL:', request.url) };
[14:29] jinmo123: wordpress, xe, joomla on php. is node.js only for custom app?
[14:30] jinmo123: and can we use some boilerplates for js app? huh!
[14:30] krsna has joined the channel
[14:32] robm has joined the channel
[14:32] kbhit has joined the channel
[14:33] kbhit has joined the channel
[14:34] xec has joined the channel
[14:34] pyrotechnick1 has joined the channel
[14:36] diva has joined the channel
[14:36] CarterL has joined the channel
[14:36] margle has joined the channel
[14:36] tdegrunt has joined the channel
[14:37] jhbot: 'Node.JS - http.ServerRequest, double escaping JSON' by beck http://stackoverflow.com/q/9342099 (tags: json, http)
[14:38] herbySk has joined the channel
[14:39] jinmo123: hey anyone knows this?!
[14:39] jinmo123: does anyone knows why a tcp socket immediately closes after connect event?
[14:39] whaley has joined the channel
[14:39] jinmo123: omg!!
[14:40] ningu: jinmo123: I don't know sockets, but you could try #nodejitsu
[14:40] jinmo123: wow thanks!
[14:40] jinmo123: node JITSU!!!!!!!!!
[14:40] jinmo123: oh JITSU!
[14:40] Raynos: How do people Mock out mongoDB ?
[14:41] ningu: insult it until it feels sufficiently ashamed?
[14:41] jinmo123: through mongojs
[14:42] jinmo123: oh no.
[14:42] jinmo123: nodejitsu people don't helps me
[14:43] crutex: does anyone knows why a tcp socket immediately closes after connect event
[14:43] crutex: what socket
[14:43] crutex: xD
[14:45] jinmo123: TCP
[14:45] jinmo123: oh yeah!
[14:46] ramitos has joined the channel
[14:48] kriszyp has joined the channel
[14:48] rmillerx has joined the channel
[14:51] wookiehangover has joined the channel
[14:54] Internet13 has joined the channel
[14:54] mansoor has joined the channel
[14:55] ccare has joined the channel
[14:58] kbhit has joined the channel
[14:58] richcollins has joined the channel
[14:59] AndreasMadsen has joined the channel
[15:00] sauerbraten: I've got a problem with the express.js framework. I have set up the routes as you can see in the paste, but I cannot GET /add?fb-url=123423242 . index.js which is located int ./routes works, though. why? http://pastie.org/3408283
[15:01] andrehjr has joined the channel
[15:01] kbhit has joined the channel
[15:02] socketio\test\75 has joined the channel
[15:02] isao has joined the channel
[15:03] ningu: sauerbraten: does routes/index.js load routes/add.js?
[15:04] sauerbraten: ningu, no, should it?
[15:04] socketio\test\40 has joined the channel
[15:04] ningu: routes.add corresponds to what routes/index.js assigns to its exports.add
[15:05] ningu: you could change add.js to exports = function(...) and then in index.js, exports.add = require('./add.js')
[15:05] sauerbraten: why doesn't require("./routes") import all files in routes?
[15:05] sauerbraten: that's weird
[15:05] ningu: because that's not how node words
[15:06] indutny has joined the channel
[15:06] ningu: http://nodejs.org/docs/latest/api/modules.html#module.require
[15:06] sauerbraten: wouldn't require("./routes/routes.js") be better? and then in routes.js you require all the other routes?
[15:07] _th_n has joined the channel
[15:07] ningu: up to you
[15:07] ningu: read the docs I linked to to see what the options are
[15:07] isaacs has joined the channel
[15:08] DrPheltRight has joined the channel
[15:10] test has joined the channel
[15:10] diva has joined the channel
[15:10] whitman has joined the channel
[15:10] zomgbie has joined the channel
[15:10] test: testing
[15:11] test has left the channel
[15:12] dnjaramba has joined the channel
[15:12] TheFuzzball has joined the channel
[15:14] kbhit has joined the channel
[15:14] larsschenk has joined the channel
[15:20] CarterL has joined the channel
[15:22] devaholic has joined the channel
[15:22] larsschenk has left the channel
[15:23] andrehjr has joined the channel
[15:26] aps has left the channel
[15:26] apcshields has joined the channel
[15:28] fmeyer has joined the channel
[15:28] dnjaramba has joined the channel
[15:29] vdb has joined the channel
[15:29] johnhamelink has joined the channel
[15:31] rwaldron has joined the channel
[15:32] rkrv has joined the channel
[15:33] WeeJeWel has joined the channel
[15:34] zomg: What do you guys use for formatting dates?
[15:34] zomg: Tossing out date.toString() isn't exactly nice to display to users =)
[15:35] zomg: momentjs looks quite nice
[15:35] chirag has joined the channel
[15:36] blueadept has joined the channel
[15:36] pyrotechnick1: zomg: fuzzy timestamps
[15:37] marvin_ has joined the channel
[15:37] boehm has joined the channel
[15:37] jhbot: 'Jasmine tests are not executing after using stitch.js' by Mike http://stackoverflow.com/q/9342492 (tags: express.js)
[15:37] misza222 has joined the channel
[15:37] zomg: pyrotechnick1: you mean something like "about 1 hours ago" ?
[15:38] pyrotechnick1: for recent dates
[15:38] zomg: Yeah
[15:38] marvin_ has joined the channel
[15:39] pyrotechnick1: there's a few implementations as NPM modules
[15:39] zomg: moment seems to do those as well
[15:39] Enoria has joined the channel
[15:40] al3xnull has joined the channel
[15:40] andrehjr_ has joined the channel
[15:41] pyrotechnick1: but anyway Date.prototype.toString takes a template/format
[15:42] artusrocha has joined the channel
[15:42] zomg: I don't think it does
[15:42] samsonjs has joined the channel
[15:42] pyrotechnick1: actually i don't think that's cross-platform
[15:42] pyrotechnick1: yeah
[15:42] ningu: Array.forEach does not change the calling context (value of this), right?
[15:42] pyrotechnick1: some engines do
[15:42] izepstan has joined the channel
[15:43] Destos has joined the channel
[15:43] zomg: ningu: it does, it takes this context as third arg
[15:43] zomg: err I mean second
[15:43] ningu: zomg: the array is the third arg
[15:43] zomg: Err...?
[15:44] ningu: my question is whether "this" will refer to the same thing inside the callback as outside
[15:44] ningu: first arg is the element, second is the index, third is the array
[15:44] zomg: Oh you mean in the callback
[15:44] jetienne has joined the channel
[15:44] zomg: No, like I said, the this context is the second arg to forEach
[15:44] Raynos: jinmo123: mongojs doesn't mock out mongoDB
[15:44] zomg: if you want to keep the same this context, you need to use foo.forEach(function() { ...}, this)
[15:45] pyrotechnick1: ningu: coffee> [1, 2, 3].forEach -> console.log this # { ArrayBuffer: [Function: ArrayBuffer], ...
[15:45] pyrotechnick1: i don't think so
[15:45] ningu: zomg: ahh, I see
[15:46] relling has joined the channel
[15:46] diva has joined the channel
[15:46] pyrotechnick1: i don't think that's right
[15:47] indutny: booyaa: hi :)
[15:49] spion has joined the channel
[15:51] cha0s has joined the channel
[15:51] diegoviola has joined the channel
[15:52] shanebo has joined the channel
[15:54] sreeix has joined the channel
[15:56] Sly__: Hey guys. :P
[15:56] AndreasMadsen: Sly__: ni
[15:56] AndreasMadsen: Sly__: hi
[15:56] Sly__: How are you, AndreasMadsen ?
[15:56] piscisaureus_ has joined the channel
[15:57] AndreasMadsen: Sly__: I'm a private person :)
[15:57] Sly__: Hey, piscisaureus_.
[15:57] piscisaureus_: Hey Sly__, what's up?
[15:57] Sly__: Nothing much, man.
[15:57] Sly__: Just woke up not too long ago.
[15:57] piscisaureus_: hehe
[15:59] AndreasMadsen: ACTION will continue the immortal refactor
[16:00] francisl has joined the channel
[16:01] criswell has joined the channel
[16:01] fmeyer has joined the channel
[16:03] krsna has left the channel
[16:03] jgaui has joined the channel
[16:04] danielss89 has joined the channel
[16:04] hellp has joined the channel
[16:09] devaholic has joined the channel
[16:10] Joeysomo_ has joined the channel
[16:11] Vespakoen has joined the channel
[16:11] RLa has joined the channel
[16:12] amigojapan has joined the channel
[16:14] eamonnw has joined the channel
[16:14] eamonnw: hi
[16:14] CarterL has joined the channel
[16:15] eamonnw: i want to use jquery with node.js
[16:15] RLa: inside node.js server?
[16:15] eamonnw: im not sure what that means
[16:15] cburyta has joined the channel
[16:15] eamonnw: i have node.js installed
[16:15] Sly__: eamonnw, `npm install jquery`
[16:15] Sly__: var jquery = require('jquery');
[16:15] eamonnw: Sly__: thanks ive just done that
[16:16] eamonnw: var jquery = require('jquery'); i type that on the node.js command line?
[16:16] andrehjr has joined the channel
[16:16] eamonnw: ok
[16:16] Sly__: You use that wherever you're wanting to use jQuery.
[16:16] EhevuTov has joined the channel
[16:16] eamonnw: seems to work
[16:16] Sly__: Then jquery will be assigned the jQuery module that you installed via `npm install jquery`.
[16:17] eamonnw: ok how can i run some jquery stuff againts a local file or remote http site?
[16:17] eamonnw: npm install jQuery jsdom htmlparser xmlhttprequest
[16:17] eamonnw: i also installed that stuff
[16:18] eamonnw: ok nevermindi think have found some docs for it
[16:18] klaemo has joined the channel
[16:19] eamonnw: the docs were very good for this ...sorry to bother you
[16:20] jakehow has joined the channel
[16:20] jetienne_ has joined the channel
[16:21] klaemo: anybody familiar with express' new way of view handling?
[16:21] felixge has joined the channel
[16:21] felixge has joined the channel
[16:21] silky has joined the channel
[16:22] ryanfitz has joined the channel
[16:22] eamonnw: is it possible to script node/jquery
[16:22] objectiveous has joined the channel
[16:22] eamonnw: from bash shell
[16:22] eamonnw: do i have to run node interactively?
[16:23] RLa: i think you can use shebang line on *nixes
[16:23] RLa: hm, doesn't work
[16:24] zomg: eamonnw: huh?
[16:24] RLa: # cannot be used for comments
[16:24] eamonnw: curl http://website.com | node
[16:24] diogogmt has joined the channel
[16:24] eamonnw: something like that
[16:25] RLa: make script first, like myscript.js
[16:25] RLa: then execute it with node command
[16:25] zomg: Yeah not sure if you can pipe into node directly
[16:25] eamonnw: curl http://website.com | node script.js
[16:25] RLa: yeah
[16:25] eamonnw: ill try it
[16:25] RLa: just read stdin from node script
[16:26] bradleymeck has joined the channel
[16:27] objectiveous_ has joined the channel
[16:29] johnhamelink has joined the channel
[16:31] JmZ_ has joined the channel
[16:32] wdbl has joined the channel
[16:32] ramitos has joined the channel
[16:35] looopy has joined the channel
[16:35] klaemo: https://gist.github.com/1860089 how would i accomplish this in express 3.0 where res.partial() was removed?
[16:36] eamonnw: RLa: how to read stdin?
[16:36] jgaui has joined the channel
[16:38] humasect has joined the channel
[16:38] chirag: how i wish i could avoid switching back to terminal just to restart the node process every time i update some lines of code..
[16:38] humasect: ..repl ?
[16:38] RLa: eamonnw, http://nodejs.org/docs/latest/api/process.html#process.stdin
[16:38] eamonnw: RLa: thanks
[16:39] cha0s has joined the channel
[16:39] cha0s has joined the channel
[16:39] RLa: eamonnw, btw, why would you use curl to download page
[16:39] RLa: there is nice request package
[16:39] eamonnw: RLa: i was googling and i saw it done
[16:40] Skyjoker has joined the channel
[16:40] eamonnw: im not used to thinking that javascript can read from local files etc
[16:40] RLa: eamonnw, https://github.com/mikeal/request
[16:40] RLa: haha
[16:40] eamonnw: it didn't occur to me
[16:40] eamonnw: seems the internet is turnig upside down
[16:41] RLa: that takes time to get used to :)
[16:41] kbhit has joined the channel
[16:41] eamonnw: theres even a javscaript pc now
[16:42] eamonnw: http://bellard.org/jslinux/
[16:42] eamonnw: js/Linux
[16:42] RLa: yeah, saw it already year ago :)
[16:42] eamonnw: yo dawg i hurd you like javascript...
[16:42] kbhit has joined the channel
[16:43] criswell has joined the channel
[16:43] objectiveous has joined the channel
[16:44] humasect: heh
[16:44] mmalecki: actually, wondering if I could run node there
[16:44] humasect: linux kernel bits into JS ??
[16:44] ningu: my current node project is js top to bottom -- node on backend, js in browser, mongodb. quite common now I suppose.
[16:45] ningu: oh, I do have a little perl script that I run because I haven't ported it to js...
[16:45] TheFuzzball has joined the channel
[16:46] humasect: i've been using some things on top of JS, using it as a bytecode/vm .. ^_^
[16:46] ningu: humasect: how so?
[16:47] humasect: ningu: using ClojureScript now mostly, but used to use Objective-J, CoffeeScript, Parenscript, etc..
[16:47] ningu: hmm
[16:47] jxie has joined the channel
[16:47] ningu: compile-to-js is all the rage nowadays
[16:47] bradleymeck has joined the channel
[16:47] isaacs has joined the channel
[16:47] arcanis has joined the channel
[16:48] humasect: hmm yeah it seems so. and thanks to node.js can also have it on front and backends =)
[16:49] ningu: so far I haven't actually made much direct use of the fact that the client also runs js
[16:49] themiddleman_itv has joined the channel
[16:49] TheFuzzball has joined the channel
[16:49] ningu: I mean, I have js code on the client side, but it doesn't interface much with the server side, they just pass json around
[16:50] ningu: there must be some interesting possibilities there though
[16:50] humasect: ohh, yeah ^_^ it becomes useful with code sharing i think, or for example, sending code to client from server directly (avoiding any real 'static' files except external libs)
[16:50] mmalecki: damn, copying tarball there sure is painful
[16:50] humasect: ningu: games, is one very interesting application for me ^_^
[16:51] ningu: hmm, sending generated code you mean? that's an interesting though
[16:51] ningu: thought*
[16:51] ningu: of course, you can generate js code from templates of any kind, no need for js on the server end
[16:52] ningu: I guess it really comes in handy with code sharing as you said, if there's a library you need on both sides
[16:52] humasect: yeah.. lets say, if we are doing some validation on the server for some data. it can be moved over to the client side very very easily. with all this distributed and cloud stuff, the line between client and server is blurring fast ^_^
[16:52] daniel has joined the channel
[16:52] ningu: yes, but you never want to eliminate server side validation of course -- I guess it just makes it easy to duplicate it on the client side
[16:53] sreeix has joined the channel
[16:53] mmalecki: github's down?
[16:53] ningu: not for me
[16:53] humasect: ningu: yeah ^_^ or the other way around ~
[16:53] mmalecki: hm, I'm seeing some unicorns
[16:53] mmalecki: hope I didn't break it!
[16:53] humasect: its up for me ^_^
[16:54] ningu: githob: cooking with revision control
[16:54] ningu: I would love to be able to revert the change I made to my soup
[16:54] mmalecki: oh, yeah, looks ok now
[16:54] ningu: too bad we aren't there yet
[16:54] humasect: haha
[16:55] xbayrockx has joined the channel
[16:59] kbhit has joined the channel
[17:00] andrehjr has joined the channel
[17:02] muk_mb has joined the channel
[17:03] esundahl has joined the channel
[17:05] Enoria has joined the channel
[17:07] vdb has joined the channel
[17:07] mmalecki: is there anything anyone misses in request? or something you'd like to see fixed?
[17:08] mehlah has joined the channel
[17:09] RLa: i think someone here asked for resume functionality yesterday
[17:09] markwubben has joined the channel
[17:09] wookiehangover: mmalecki: mikeal tagged all of the issues yesterday https://github.com/mikeal/request/issues?sort=created&direction=desc&state=open
[17:09] RLa: i told it's just matter of sending content-range header :)
[17:09] wookiehangover: fwiw
[17:10] mmalecki: RLa: yeah, that's the idea of resume :). wondering about implementing some magic around it
[17:10] mmalecki: wookiehangover: nice, thanks
[17:11] esundahl has joined the channel
[17:13] stisti has joined the channel
[17:16] deni has joined the channel
[17:16] deni: hi all
[17:16] deni: does anyone use log.io? i've tried installing it but it fails saying that i have the wrong node version
[17:17] humasect: why does npm put into ./node_modules/ ? im confused ^_^
[17:17] wookiehangover: deni: engines: { node: '0.4.12' }
[17:17] deni: but if install the 0.4.12 version which is recommended i can't seem to run npm because it says it needs a newer version of node
[17:17] isaacs: humasect: it keeps your deps isolated to each project
[17:17] humasect: hmm npm has version support for node, to use multiple versions
[17:18] wookiehangover: deni: that's the trouble with using old modules
[17:18] hij1nx_ has joined the channel
[17:18] humasect: isaacs: ohhh yes i see, cool thanks ^_^
[17:18] cconstantine has joined the channel
[17:18] xaq has joined the channel
[17:18] deni: wookiehangover: how would i go about resolving this? i'm new to node and all..i just need to get log io running
[17:18] wookiehangover: deni: see if you can upgrade log.io to work with 0.6.x and submit a pull req :)
[17:19] deni: well that's not gonna happen any time soon
[17:19] deni: :D
[17:19] deni: someting more quicker?
[17:19] deni: am i using the wrong version of npm maybe?
[17:19] humasect: new/diff version of node ^_^ use npm for it
[17:19] dannyamey has joined the channel
[17:19] maletor has joined the channel
[17:19] deni: how would i go about insalling and older version of npm that runs with node 0.4.12
[17:19] deni: ?
[17:20] isaacs: ircretary: inst deni
[17:20] ircretary: deni: `curl http://npmjs.org/install.sh | sh` (or, if there are permission issues, you can try: `curl http://npmjs.org/install.sh | sudo sh`)
[17:20] humasect: no no, new version of node, like it suggests ^1
[17:20] isaacs: deni: or just use node 0.6.10 :)
[17:20] isaacs: er, 0.6.11 now, i guess :)
[17:21] looopy has joined the channel
[17:22] hij1nx_ has joined the channel
[17:22] humasect: i think, for projects on github, that node_modules should be git submodules ..
[17:23] deni: isaacs: ok tnx....i'll try it out
[17:23] kwmiebach has joined the channel
[17:24] kbhit has joined the channel
[17:25] deni: isaacs: should i use the 0.3x version of npm with node 0.4.12?
[17:26] isaacs: humasect: you've clearly not used git submodules much.
[17:26] isaacs: deni: no, 1.0
[17:26] isaacs: deni: 1.1 is 0.6 and above.
[17:26] deni: isaacs: ok tnx.
[17:26] deni: oh and about git submodules....i use them a lot....it works just fine
[17:26] isaacs: deni: npm 0.x is old stone-age garbage.
[17:27] danielss89 has joined the channel
[17:27] isaacs: i tried for years to appreciate submodules.
[17:27] isaacs: it's great, except for the fact that it ruins branching, merging, and bisect, which is basically all that makes git awesome.
[17:27] deni: i don't think you can really compare them to the one you have now in the newest version of git
[17:27] deni: as i understandt they did much work on them
[17:28] deni: isaacs: i don't really have any problems with branching, merging
[17:28] isaacs: deni: what version of git has submodules that aren't terrible? because i think making them not-terrible would be enough of a major change that it'd require calling it something different
[17:29] deni: isaacs: we have quite a few memebers in out team and a projects that's gown out of proportions....it's really big, and has several technologies in it and what not
[17:29] deni: and we have had no trouble what so ever with git
[17:29] deni: using submodules
[17:29] isaacs: deni: here's where i found that submodules became intolerable:
[17:30] isaacs: let's say, you're using a bunch of submodules in a project, right?
[17:30] isaacs: and you'er working on version 1.0
[17:30] isaacs: now, you want to make 1.0 a branch, and start working on 1.1 in master.
[17:30] deni: ok
[17:30] isaacs: pretty common, right?
[17:30] deni: yep
[17:30] isaacs: except, that 1.0 needs different versions of its dependencies, and different dependencies.
[17:30] isaacs: so you remove some submodules, update others, etc.
[17:31] isaacs: add a few new ones
[17:31] deni: so far so good
[17:31] isaacs: merging between the branches is now extremely painful.
[17:31] isaacs: and, inf act, even *switching* between branches is tedious and awful.
[17:31] isaacs: git complains incessantly about untracked crap being in the way, unable to check out submodules, etc.
[17:31] diogosnows has joined the channel
[17:31] wookiehangover: isaacs: true story
[17:31] isaacs: that's why npm's node_modules is just checked into git now.
[17:31] isaacs: also? i can actually diff changes in the deps!
[17:32] wookiehangover: crazy talk
[17:32] isaacs: or update them in one branch, and merge the update over to the other branch
[17:32] binary42 has joined the channel
[17:32] deni: you can diff changes in submodules as well
[17:32] Qzen has joined the channel
[17:32] e-1 has joined the channel
[17:32] e-1 has joined the channel
[17:32] isaacs: deni: really? how?
[17:32] robinhoode_ has joined the channel
[17:33] jlank_ has joined the channel
[17:33] elijah-m_ has joined the channel
[17:33] ph^_ has joined the channel
[17:33] leeeb_ has joined the channel
[17:33] isaacs: deni: if i add a submodule on branch A, then add a different rev of the submodule on branch B, then merge A into B, it fails, and all i see in the diff is 2 sha's
[17:33] deni: it's a completely seperate repo....has nothing to do with your project.....just go to the desired folder and see what intereset you....update that particular dependencie or don't...see the log...update and see the diff
[17:33] deni: just like in a normal repo
[17:33] robotmay_ has joined the channel
[17:34] deni: i din't see what's troubleing you
[17:34] deni: i have branches that have older deps and others that are updated
[17:34] isaacs: deni: what's troubling me is that now i can't merge branches into one another trivially like i could before.
[17:34] riskish has joined the channel
[17:34] garrensmith has joined the channel
[17:34] guybrush_ has joined the channel
[17:34] isaacs: it's fine if you are literally *never ever* going to touch the contents of this thing.
[17:34] caffine1 has joined the channel
[17:34] codelahoma_ has joined the channel
[17:35] unary has joined the channel
[17:35] deni: but i update the submodules all the time
[17:35] meso__ has joined the channel
[17:35] isaacs: and if it's not a thing you're also developing in parallel, and you'll never have two different versions on two different branches
[17:35] Gekz_ has joined the channel
[17:35] Gekz_ has joined the channel
[17:35] deni: and i had no trouble what so ever with it
[17:35] riven` has joined the channel
[17:35] indutny_ has joined the channel
[17:35] deni: and i am actually developing in paraller
[17:35] deni: *parallel
[17:35] deni: i do understand what you are saying with merging.....
[17:35] munichlinux has joined the channel
[17:35] balgarath has joined the channel
[17:35] isaacs: deni: problem 2: add submodule X in branch A. add submodule Y in branch B. git checkout A ; git checkout B;
[17:35] hipsters_ has joined the channel
[17:36] emilsedgh_ has joined the channel
[17:36] deni: because submodules are just written in one file with versions and all
[17:36] isaacs: now you have submodule X sitting around
[17:36] hkjels has joined the channel
[17:36] odyniec has joined the channel
[17:36] isaacs: and it's untracked garbage
[17:36] mikeal1 has joined the channel
[17:36] deni: but i dare say that your problem is not git submodules but your workflow
[17:36] isaacs: git checkout A, and it fails to update the submodule, because it's in the way
[17:36] wizonesolutions_ has joined the channel
[17:36] gregmore_ has joined the channel
[17:36] dthompso99 has joined the channel
[17:36] kbhit has joined the channel
[17:36] isaacs: my problem isn't git, it's that git submodules are a completely disappointing add-on that gets in the way of everything git does well.
[17:36] shachaf_ has joined the channel
[17:36] davebettin_ has joined the channel
[17:36] konobi_ has joined the channel
[17:36] yenz_ has joined the channel
[17:36] metellus_ has joined the channel
[17:36] trodrigues has joined the channel
[17:37] qbit__ has joined the channel
[17:37] sdboyer_ has joined the channel
[17:37] sdboyer_ has joined the channel
[17:37] marlun_ has joined the channel
[17:37] andrew12_ has joined the channel
[17:37] kei_ has joined the channel
[17:37] pyykkis_ has joined the channel
[17:37] coderarity_ has joined the channel
[17:37] sriley_ has joined the channel
[17:37] nrltd_ has joined the channel
[17:37] pokoli_ has joined the channel
[17:37] Sembianc1 has joined the channel
[17:37] SubStack_ has joined the channel
[17:37] zedas_ has joined the channel
[17:37] vervain_ has joined the channel
[17:37] thedaywi1lcome has joined the channel
[17:37] duffman has joined the channel
[17:37] xavia has joined the channel
[17:37] take_cheeze1 has joined the channel
[17:37] mattp_ has joined the channel
[17:37] fredrikeriksson has joined the channel
[17:37] killing-joke has joined the channel
[17:37] ashb has joined the channel
[17:37] deni: isaacs: i understand what you are saying but i just think your're doing it wrong :D
[17:37] moogoo has joined the channel
[17:37] [[zzz]] has joined the channel
[17:37] jbpros has joined the channel
[17:37] purr has joined the channel
[17:37] zed0 has joined the channel
[17:37] inimino has joined the channel
[17:37] silky has joined the channel
[17:37] eliasp has joined the channel
[17:37] sj26 has joined the channel
[17:37] jslatts has joined the channel
[17:37] bios has joined the channel
[17:37] _root_ has joined the channel
[17:37] omni5cience_ has joined the channel
[17:37] iain_ has joined the channel
[17:37] ollie has joined the channel
[17:37] don_jones has joined the channel
[17:37] roger_raymond has joined the channel
[17:37] othiym23 has joined the channel
[17:37] purr has joined the channel
[17:37] __sri has joined the channel
[17:37] zivester has joined the channel
[17:38] kbhit has joined the channel
[17:38] __class__ has joined the channel
[17:38] SebastianFlyte has joined the channel
[17:38] scrogson has joined the channel
[17:38] deni: i have had no trouble with git submodules so far....and i am working in parallel on the submodule and the main project that has the submodule as a dep
[17:38] Internet13 has joined the channel
[17:38] brainproxy has joined the channel
[17:38] gwoo has joined the channel
[17:38] crescendo has joined the channel
[17:38] sveisvei has joined the channel
[17:38] ajpiano has joined the channel
[17:38] isaacs has joined the channel
[17:38] irclogger_com has joined the channel
[17:38] asyncopation has joined the channel
[17:38] omni5cience has joined the channel
[17:38] emilsedgh_ has joined the channel
[17:38] torvalamo has joined the channel
[17:38] kbhit has joined the channel
[17:38] deni: maybe i have yet to see them fail.....but still i think it's rather the problem in my workflow than in submodules themselves
[17:38] niftylettuce has joined the channel
[17:39] darkixion has joined the channel
[17:39] cyphase has joined the channel
[17:39] zorzar has joined the channel
[17:39] insin has joined the channel
[17:39] deni: but like i said, i understand your frustration
[17:39] jenner has joined the channel
[17:39] isaacs: deni: well, to be fair, it's not that i'm frustrated with git. i super <3 git.
[17:39] joeytwiddle has joined the channel
[17:39] DJBouche has joined the channel
[17:39] jiboumans_ has joined the channel
[17:39] isaacs: deni: but i wouldn't blame the victim here.
[17:40] mephux has joined the channel
[17:40] isaacs: git itself solves this problem really well. just check the dep into git if you want to lock it down.
[17:40] criswell has joined the channel
[17:40] kbhit has joined the channel
[17:41] humasect: isaacs: how clear is it..? ~_~
[17:41] deni: isaacs: i know...i love git 2
[17:42] kbhit has joined the channel
[17:42] eb4890 has joined the channel
[17:42] isaacs: i tried for a few years to make submodules work for npm. branching 1.0 from 0.3 was kind of painful, but the 1.0 and 1.1 was what really was the last straw.
[17:42] omni5cience has joined the channel
[17:43] vervain has joined the channel
[17:43] isaacs: when it's that much work to use a tool, you have to think maybe it's just not the right tool, or you're not using it in the right way.
[17:43] isaacs: not that the workflow is somehow wrong.
[17:43] humasect: ohh i see... i will probably have node_modules under gitignore then, like clojure/java has setup for lib/
[17:43] BrianE has joined the channel
[17:43] dnjaramba has joined the channel
[17:44] isaacs: humasect: sure you can .gitignore node_modules, that's fine. if it's a lib that you're publishing to the npm registry.
[17:44] humasect: then pull in dependencies on a clone 'bootstrap' -- seems wasteful to commit all node_modules code.
[17:44] deni: isaacs: it not always the best thing to do things the way they are supposed to be done.....sometimes if you have such a use case you need to step out of the box and do things differently.....it's always best to be productive
[17:44] isaacs: humasect: if it's a website that you're deploying, then git add node_modules is the way to go.
[17:44] humasect: deni +1
[17:44] deni: if the submodules were getting in the way of your work, and they have, then why use them
[17:44] isaacs: deni: exactly
[17:44] humasect: isaacs: oh yeah =) if publishing with push ?
[17:44] kbhit has joined the channel
[17:44] Druid_ has joined the channel
[17:45] duncanbeevers has joined the channel
[17:45] isaacs: humasect: the nice thing about adding node modules to git is that you can get your whole site with a git archive, and then publish a tag, or publish with a git push, etc.
[17:45] owenb has joined the channel
[17:45] stisti_ has joined the channel
[17:45] isaacs: and diff releases, bisect to find bugs, etc.
[17:45] isaacs: git = content tracking, npm = dependency resolution
[17:45] wdbl: @isaacs: Is server.pause(msecs) gone?
[17:46] isaacs: wdbl: i don't know what that is...
[17:46] EhevuTov: humasect, I'm glad you brought this up. I'm curious about project organization
[17:46] wdbl: @isaacs: http://nodejs.org/docs/latest/api/net.html#server.pause
[17:46] kirbysayshi has joined the channel
[17:46] wdbl: I couldn't find code for it in net.js
[17:46] sven_oostenbrink has joined the channel
[17:46] wdbl: lib/net.js
[17:46] jhbot: 'mongoose. $pull from DBRef' by Erik http://stackoverflow.com/q/9343549 (tags: mongodb, mongoose)
[17:47] kermitPT has joined the channel
[17:48] remysharp has joined the channel
[17:48] sven_oostenbrink: Question.. I have a shell script that will automaticallhy minify my client side javascripts using uglify.js.. Since this script must run on difference environments with different uglify.js versions, I can not do something like node ~/.npm/uglify/etc... Can I tell node somehow to execute the best uglify.js version that it can find?
[17:49] bradleymeck has joined the channel
[17:49] isaacs: wdbl: interesting. i didn't even realize that node's servers could do such a thing :) investigating now
[17:49] taapa has joined the channel
[17:49] isaacs: wdbl: hm... i don't see that in v0.6
[17:50] isaacs: wdbl: > require("http").Server.prototype.pause
[17:50] isaacs: undefined
[17:50] deni: isaacs: when isntalling with npm what does 'no such environment: default'
[17:50] deni: mean?
[17:50] isaacs: deni: that's not an npm error. i'd have to see the context.
[17:50] deni: or is that not something that npm outputs?
[17:50] deni: hmm
[17:50] sven_oostenbrink: So basically, I can not say node path/uglify.js, I just want to do node uglify.js, and if uglify.js is installed in whichever path, whichever version, use that one.. basically like require does..
[17:50] deni: sec
[17:51] enmand has joined the channel
[17:51] stalled has joined the channel
[17:51] deni: isaacs: http://pastebin.com/WKWBXE4C
[17:51] kbhit has joined the channel
[17:52] isaacs: sven_oostenbrink: from a node module, you could do `child_process.spawn(process.execPath, [require.resolve('uglify.js')])`
[17:52] bartek has joined the channel
[17:52] sven_oostenbrink: isaacs: yeah, I was already thinking that I could do it in node instead of bash, but I already have the bash version ready.. Don't really like to have to redo it with node :)
[17:53] isaacs: sven_oostenbrink: oh, ok
[17:53] lmatteis has joined the channel
[17:53] isaacs: sven_oostenbrink: well... no :) you'll have to set up the PATH appropriately
[17:53] humasect: EhevuTov: me too, you're welcome ^_^ i have actually all my projects inside a larger project
[17:53] pjwaffle has joined the channel
[17:53] pjwaffle: Hi! :D
[17:53] isaacs: sven_oostenbrink: note that npm does this for you if you're running it as a package.json script
[17:53] sven_oostenbrink: isaacs: Crap.. Since I have different versions on the machines, that will be.. well, quite impossible...
[17:53] pjwaffle: I want to make a SOCKS server in Node.js from scratch... So I'd better look up the SOCKS protocol
[17:53] EhevuTov: deni, what version of Python do you have?
[17:54] isaacs: sven_oostenbrink: different verions of what?
[17:54] dnjaramba has joined the channel
[17:54] isaacs: deni: looks like a failure in building node-fork
[17:54] disappearedng has joined the channel
[17:54] sven_oostenbrink: uglify.. Well, I had not added uglify in the package file just yet.. I think I'll do that, and then make a node implementation for it..
[17:54] isaacs: deni: but it looks like it just soldiered on
[17:55] isaacs: sven_oostenbrink: there's already an uglify package on npm
[17:55] deni: isaacs: yep.....a couple of errors and then prints successful
[17:55] deni: XD
[17:55] [[zz]] has joined the channel
[17:55] isaacs: sven_oostenbrink: if you list it as a dependency, and then have a package.json "scripts" thing that you run, it'll just be `uglify`, and in the path already.
[17:59] tommyvyo has joined the channel
[17:59] tommyvyo has joined the channel
[18:00] dnjaramba has joined the channel
[18:01] cha0s has joined the channel
[18:03] isaacs: i <3 this: https://gist.github.com/1860418
[18:03] isaacs: didn't even realize how much i'd <3 it
[18:04] mmalecki: isaacs: yeah :)
[18:04] Lingus: Being able to buffer commands in bash?
[18:04] mmalecki: who did that? I'm totally getting him a bear
[18:04] EhevuTov: mind. blown.
[18:04] isaacs: Lingus: and have node not truncate them when it starts, yes.
[18:04] kishoreyekkanti has joined the channel
[18:06] dnjaramba has joined the channel
[18:07] average_1rifter has joined the channel
[18:07] brianseeders has joined the channel
[18:07] johnhamelink has joined the channel
[18:08] isaacs: mmalecki: bnoordhuis fixed it
[18:09] isaacs: mmalecki: it was like a 2 line change, too. but the diff-to-joy ROI is pretty huge on this one.
[18:09] mmalecki: where is bnoordhuis when I want to give him a beer?!
[18:09] mmalecki: lol, diff-to-joy
[18:09] adrianF has joined the channel
[18:09] robhawkes has joined the channel
[18:10] vdemedes has joined the channel
[18:10] vdemedes: Hello!
[18:10] EhevuTov: Hi!
[18:10] riven has joined the channel
[18:10] vdemedes: Guys, want to get your feedback on my latest 2 modules for Node.js - Mongorito and Memcacher
[18:10] vdemedes: Mongorito - Competitor to Mongoose, ODM for Node.js, automatic & smart caching, simple models, validations, hooks http://github.com/vdemedes/mongorito
[18:10] vdemedes: Everything you need!
[18:11] vdemedes: And, second one is Memcacher(http://github.com/vdemedes/memcacher). This module adds tags functionality to memcached, without modifying it or its source. Uses famous memcached(3rd-Eden/node-memcached).
[18:12] vdemedes: Please, let me know what you think!
[18:12] kenperkins has joined the channel
[18:13] isaacs: wdbl: https://github.com/joyent/node/issues/2784
[18:13] dnjaramba has joined the channel
[18:13] SamWhited has joined the channel
[18:13] WeeJeWel has joined the channel
[18:14] bradleymeck has joined the channel
[18:14] imsky has joined the channel
[18:15] xaq: Any reason to use twilio over nexmo? nexmo is cheaper but twilio is still getting mad press.
[18:16] CIA-102: node: 03Paul Vorbach 07master * rc1f4740 10/ doc/index.html :
[18:16] CIA-102: node: docs: fix quotation style in the webserver example
[18:16] CIA-102: node: Replace " by ' - http://git.io/F4Yekw
[18:16] CIA-102: node: 03isaacs 07master * r31721da 10/ (28 files in 12 dirs): (log message trimmed)
[18:16] CIA-102: node: Merge remote-tracking branch 'ry/v0.6' into v0.6-merge
[18:16] CIA-102: node: Conflicts:
[18:16] CIA-102: node: AUTHORS
[18:16] CIA-102: node: ChangeLog
[18:16] CIA-102: node: Makefile
[18:16] CIA-102: node: doc/about/index.html
[18:17] Dotan_ has joined the channel
[18:18] AkhiAbdullah has joined the channel
[18:18] pizthewiz has joined the channel
[18:18] felixge has joined the channel
[18:18] felixge has joined the channel
[18:24] xbayrockx1 has joined the channel
[18:25] guest-2YkMAs has joined the channel
[18:25] Skaag has joined the channel
[18:25] TooTallNate has joined the channel
[18:26] kenperkins has joined the channel
[18:27] Vennril has joined the channel
[18:28] orlandovftw has joined the channel
[18:29] iudici has joined the channel
[18:30] bradleymeck has joined the channel
[18:30] relling has joined the channel
[18:31] rauchg has joined the channel
[18:32] bradleymeck_ has joined the channel
[18:34] emilsedgh_: guys, i've written a socks server using node. it leaks...it runs for a few hours until there's no more memory so it crashes. any idea why it happens?
[18:35] logicalparadox has joined the channel
[18:36] aimantec has joined the channel
[18:37] margle has joined the channel
[18:38] aimantec has joined the channel
[18:39] xaq: Guys, any insight on twilio or nexmo? nexmo is cheaper but twilio is getting a lot of press.
[18:40] level09 has joined the channel
[18:41] johnhamelink has joined the channel
[18:41] dnjaramba has joined the channel
[18:44] humasect has joined the channel
[18:44] joeytwiddle has joined the channel
[18:45] logicalparadox has joined the channel
[18:46] spion has joined the channel
[18:46] orlandovftw has joined the channel
[18:47] dnjaramba has joined the channel
[18:49] rauchg has joined the channel
[18:49] igl1 has joined the channel
[18:49] bradleymeck_ has joined the channel
[18:50] jscheel_ has joined the channel
[18:51] norviller has joined the channel
[18:51] mikeal has joined the channel
[18:51] joshthecoder has joined the channel
[18:52] dnjaramba has joined the channel
[18:53] cconstantine__ has joined the channel
[18:54] bradleyg has joined the channel
[18:56] patcito has joined the channel
[18:57] bradleymeck_ has joined the channel
[18:58] dnjaramba has joined the channel
[19:00] andrehjr_ has joined the channel
[19:00] amattex has joined the channel
[19:01] aimantec has joined the channel
[19:02] Onkeltem has joined the channel
[19:03] ryanfitz has joined the channel
[19:04] spolu has joined the channel
[19:05] khrome has joined the channel
[19:08] skyler_brungardt has joined the channel
[19:08] joshkehn has joined the channel
[19:08] joshkehn has left the channel
[19:08] arcanis has joined the channel
[19:08] sigurding has joined the channel
[19:09] sigurding: hey anyone here build a large file upload service with node.js already? Searching for some input/information/documentation and tutorials
[19:10] mmalecki: transitload
[19:11] sigurding: and no, I want to use totally for legal purpose
[19:11] xaq: transload.it
[19:12] mmalecki: I knew I messed up the name :/
[19:12] vdemedes: sigurding: I built Drops(http://dropsapp.com). Don't know how much you fit in the word "large", though :-)
[19:15] cmwelsh has joined the channel
[19:15] cagdas has joined the channel
[19:15] cha0s has joined the channel
[19:16] sigurding: vdemedes: the file are separated into 100 mb each, and could be up to 3 or 4 gb (we are talking about logfiles)
[19:16] cagdas: hi
[19:16] cagdas: is there a problem with ubuntu + npm?
[19:16] sigurding: the questions for me is: building something like that on my own, or using existing solutions
[19:16] cagdas: I used apt-get install npm and tried to install packages
[19:16] vdemedes: sigurding: well yeah, Premium users on Drops have ability to upload up to 100 mb per file
[19:16] cagdas: with npm install
[19:16] vdemedes: sigurding: and many of them in one request
[19:17] cagdas: but it just returns
[19:17] cagdas: "npm ok"
[19:17] vdemedes: sigurding: however, I don't know someone who uploaded 3-4 gb
[19:17] vdemedes: but that does not mean it is not possible
[19:17] sigurding: vdemedes: great to talk to someone who already did things like that
[19:17] arcanis has joined the channel
[19:17] sigurding: vdemedes: I actually don't want the user to upload 3-4gb. they should instead rar the files, upload it and that's all
[19:18] sigurding: the question for me: how reliable is the upload via web?
[19:18] vdemedes: sigurding: very reliable!
[19:18] robhawkes has joined the channel
[19:18] stagas has joined the channel
[19:18] sigurding: vdemedes: do you have any figures?
[19:18] vdemedes: sigurding: but, if you want to be super-reliable, and if you are building desktop app, you could upload to Amazon S3(for example) right from the app, avoiding HTTP server
[19:19] sigurding: vdemedes: no no no desktop app. that's oldschool :-)
[19:19] sigurding: it is a web app
[19:19] arcanis has joined the channel
[19:19] vdemedes: sigurding: aha :-) will not try to prove you the opposite!
[19:20] sigurding: :)
[19:20] metaverse has joined the channel
[19:20] vdemedes: sigurding: if its a web app, I do not recommend allowing to upload more than 500 mb per request
[19:21] sigurding: vdemedes: that's what I was expecting :)
[19:21] vdemedes: but, you can always do some test
[19:21] vdemedes: tests
[19:21] arcanis has joined the channel
[19:21] vdemedes: don't forget to repeat them in many browser and different OS
[19:21] sigurding: vdemedes: so Drops is a desktop application, with which I would be able to upload files
[19:21] robhawkes has joined the channel
[19:22] vdemedes: sigurding: yep, competitor to CloudApp and Droplr
[19:22] tonist has joined the channel
[19:22] vdemedes: you may be familiar with them already
[19:22] sigurding: yes I am
[19:22] sigurding: did you build it on your own, or with a team?
[19:22] vdemedes: great!
[19:23] bradleymeck_ has joined the channel
[19:23] vdemedes: sigurding: I am a founder and developer and design was made by Prathyush Pramod
[19:23] vdemedes: Developer develops, designer designs
[19:23] EhevuTov: vdemedes, the Ukranian Matt Damon
[19:23] sigurding: as always :)
[19:23] sigurding: vdemedes: you are from Ukraine?
[19:23] vdemedes: EhevuTov: :-D First time I hear that :-)
[19:24] vdemedes: sigurding: yep!
[19:24] devaholic: i wish the TOC in the docs was not light green
[19:24] sigurding: and where in ukraine?
[19:24] sigurding: kharkov?
[19:24] vdemedes: sigurding: Khmelnitsky, 300km from Kyiv
[19:24] devaholic: it gets old and hard to read after a while =/
[19:25] cagdas: hmm, "npm install config" installs 0.2.9 version of the package
[19:25] sigurding: vdemedes: I have been to Kharkov two times, let me look up Khmelnitsky
[19:25] cagdas: although 0.4.9 is available
[19:25] vdemedes: sigurding: near Vynnitsa, if you know :-)
[19:25] muk_work has joined the channel
[19:25] vdemedes: sigurding: or Ternopil
[19:25] cagdas: I've node 0.4.9 install on ubuntu 11.10
[19:25] muk_work: hey guys
[19:25] vdemedes: sigurding: where are you from?
[19:25] vdemedes: muk_wo
[19:25] cagdas: something is not right about ubuntu and nodejs+npm
[19:25] sigurding: vdemedes: germany
[19:25] vdemedes: muk_work: hey!
[19:25] muk_mb: hi vdemedes
[19:25] vdemedes: sigurding: nice! and what do you think about Ukraine? :-D
[19:26] cagdas: anyone having issues with npm installation on ubuntu?
[19:26] muk_mb: if I'm doing BDD testing like system-level testing, do I also need to do bottom-up unit testing?
[19:26] muk_mb: I think I'm confused
[19:26] pendlepants has joined the channel
[19:26] vdemedes: cagdas: nope! Which one do you have?
[19:27] vdemedes: sigurding: and let me know if you need some advice about your web app ;-)
[19:27] sigurding: vdemedes: you I have been there twice. Once in January and it had -30, which was freakin' cold, although we had a really cold winter in germany as well with -15 and less
[19:27] cagdas: I installed node and npm with "sudo apt-get install nodejs npm"
[19:27] sigurding: and then I have been there in July and it had 30 degress plus
[19:27] vdemedes: cagdas: don't recommend you to do that. Just use ./configure + make
[19:27] cagdas: now I try "npm install config" and it installs the 0.2.9 version
[19:27] cagdas: I see
[19:27] vdemedes: sigurding: :-D −15 is cold? You are lucky that you are not here now :-D
[19:28] cagdas: what is the problem with ubuntu packages?
[19:28] cagdas: not maintened well?
[19:28] vdemedes: sigurding: it is getting hotter now, but it was like −25 — −30 for a week or two
[19:28] vdemedes: cagdas: you will be able to switch to newer releases faster
[19:28] cagdas: who is maintaining ubuntu packages?
[19:28] vdemedes: cagdas: and ./configure + make is always better
[19:28] vdemedes: cagdas: no idea
[19:28] cagdas: isaac maybe?
[19:29] vdemedes: cagdas: I highly doubt that
[19:29] sigurding: vdemedes: so a summary: I needs some time to get used to the temperaturegaps, but I like your food, and like the your people. In Kharkov there were many very smart and open minded people
[19:29] vdemedes: sigurding: ooh, don't talk about great people. There are only few of them.
[19:30] vdemedes: sigurding: :-D
[19:30] vdemedes: sigurding: well, maybe, just like in any other country.
[19:30] vdemedes: sigurding: but here they can be worse than in others, I'm sure
[19:30] sigurding_ has joined the channel
[19:30] vdemedes: sigurding: nobody is surprised if old lady stands in the bus, while young guy is sitting
[19:31] maxogden: vdemedes: :(
[19:31] vdemedes: maxogden: yep, that is sad
[19:31] sigurding_: vdemedes: yeah that's something I saw as well. I hope the social skills of a bunch of men will improve in future
[19:32] skyler_brungardt has joined the channel
[19:32] cagdas: thanks vdemedes, let me try
[19:32] mmalecki: not really. every time I propose someone to take a sit, they tell me they don't need it
[19:32] vdemedes: sigurding: with such cheap vodka and drugs, situation in country, I don't think so
[19:32] mmalecki: (talking in general)
[19:32] vdemedes: mmalecki: you are from Poland, right?
[19:32] sigurding_: vdemedes: yeah, that might be a big issue
[19:32] mmalecki: vdemedes: yeah
[19:33] vdemedes: mmalecki: and it is good, that you make an offer. You did what you have to :-) And if they agree or not, that's not your business
[19:33] vdemedes: mmalecki: then I have one question for you! Could you please give me links to some good IT/tech polish blogs?
[19:33] mmalecki: vdemedes: yeah, I figured out that forcing them is a bad idea
[19:33] vdemedes: mmalecki: :-)
[19:33] sigurding: :)
[19:34] vdemedes: sigurding: yep
[19:34] mmalecki: vdemedes: sure, I have to find some XD (in polish, or just by polish authors?)
[19:34] vdemedes: mmalecki: in polish, please!
[19:34] vdemedes: mmalecki: I want to learn it and study in Poland. I'm applying this summer
[19:34] vdemedes: mmalecki: I mean, learn polish
[19:34] mmalecki: vdemedes: oh, neat! sure, give me a sec :)
[19:35] vdemedes: mmal
[19:35] vdemedes: mmalecki: ;-)
[19:35] mAritz has joined the channel
[19:35] sigurding: vdemedes: coming back to my initial question, because I am still quite interested
[19:35] vdemedes: sigurding: yep, sure!
[19:37] felixhummel has joined the channel
[19:37] xaq: anybody know the best/easiest node module for storing simple hashed passwords in a DB?
[19:37] sigurding: vdemedes: taking the following situation: we have a file storage, providing space for customers to upload their files. So for uploading we need a technology running in a website, which provides reliable uploads of files of 100mb each
[19:37] vdemedes: xaq: node-bcrypt + your favorite database client
[19:37] xaq: thx
[19:37] vdemedes: xaq: if that's what are you asking for
[19:38] margle has joined the channel
[19:38] kishoreyekkanti has left the channel
[19:39] boltR has joined the channel
[19:39] vdemedes: sigurding: yep, I think Node.js will handle it well. Formidable or formaline are the best. If you want to make your server some more room for breath, take a look at http://transloadit.com
[19:39] pandeiro has joined the channel
[19:39] sigurding: vdemedes: let me take look
[19:39] vdemedes: sigurding: but, I think it will not be a problem. And again, simple tests with 3,4 will show you the situation
[19:39] megalomix has joined the channel
[19:39] megalomix: hello everybody
[19:40] arcanis has joined the channel
[19:40] vdemedes: megalomix: hi
[19:40] megalomix: i saw to set production mode i need to set an ENV variable
[19:40] sigurding: vdemedes: I read about Formidable, that's of the same create transloadit is, or?
[19:40] megalomix: doing something like: $ NODE_ENV=production node app.js
[19:40] megalomix: (i saw it on the express.js guide)
[19:40] maxogden: sigurding: github.com/felixge
[19:40] cagdas: https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager
[19:40] sigurding: vdemedes: mh don't exactly remember his name…a exactly :)
[19:40] vdemedes: sigurding: yep!
[19:40] megalomix: the question is: can i set up the production mode for all the apllication i will start with node ?
[19:40] cagdas: these instructions work very well for ubuntu
[19:41] cagdas: you end up with 0.6.10 though
[19:41] maxogden: cagdas: 0.6.11 was released yesterday
[19:41] vdemedes: cagdas: that's just my opinion/habit of using ./configure + make. I prefer it
[19:41] megalomix: i mean, do i have to start the application doing: $ NODE_ENV=production node app.js
[19:41] vdemedes: sigurding: Formidable is production-tested, and formaline too(I use it in Drops)
[19:41] cagdas: maxogden, yes, I know
[19:42] megalomix: OR can i set the production mode for all the applications i will start ?
[19:42] cagdas: vdemedes, I try to understand the ubuntu way
[19:42] mmalecki: vdemedes: http://blog.end3r.com/ is pretty popular (at least so I've heard)
[19:42] sigurding: vdemedes: and formaline is an additional layer on formidable?
[19:42] vdemedes: megalomix: I recommend you to use NODE_ENV per every launch
[19:42] cagdas: and I think it's important when you want to build some packages
[19:42] vdemedes: sigurding: nope, its a separate module
[19:43] vdemedes: cagdas: It is Linux-way too :-)
[19:43] mAritz has joined the channel
[19:43] bradleymeck_ has joined the channel
[19:43] vdemedes: cagdas: anyway, you did not tell what problems are you facing exactly
[19:43] vdemedes: mmalecki: thanks a lot!
[19:43] joshkehn has joined the channel
[19:44] joshkehn has left the channel
[19:44] ryanfitz has joined the channel
[19:44] mmalecki: vdemedes: looking for more
[19:44] vdemedes: mmalecki: thanks, that would be even more awesome!
[19:44] dnjaramba_ has joined the channel
[19:44] megalomix: vdemedes, every launch? why?
[19:45] vdemedes: megalomix: to avoid some bugs and possible confusions, because of forgeting that you are in production mode
[19:46] cagdas: vdemedes, oh, it's fixed when I have followed the instruction in the github page
[19:46] cagdas: but mainly npm was not working
[19:46] vdemedes: cagdas: ahah :-) ok, getting back to our apt-get vs make discussion?
[19:46] vdemedes: :-D
[19:47] cagdas: hmm, strange, I've a package.json file and I try npm install, it doesn't install package dependencies
[19:47] sigurding: vdemedes: taking a look at github.com/rootslab/formaline, it seems that formaline provides more features than formidable?
[19:47] vdemedes: cagdas: maybe bad-formatted JSON? Show it!
[19:47] vdemedes: sigurding: yep, but they do basically the same thing :-) Parsing request bodies!
[19:48] vdemedes: sigurding: they are both awesome, and you can choose one you like
[19:48] sigurding: :)
[19:48] mmalecki: vdemedes: http://rubysfera.pl/
[19:48] sigurding: ok, then I will take a look at formaline first. thanks a lot for your help vdemedes
[19:48] sigurding: enjoyed talking to you
[19:48] TheFuzzball has joined the channel
[19:48] vdemedes: sigurding: you're welcome! Always a pleasure!
[19:49] vdemedes: sigurding: I can give you my Twitter or email, so you can contact me whenever you want!
[19:49] AkhiAbdullah has joined the channel
[19:49] sigurding: vdemedes: that would be great
[19:49] cagdas: http://pastebin.com/jBz06Cgk
[19:50] AvianFlu has joined the channel
[19:51] hipsterslapfight has joined the channel
[19:52] EhevuTov: cagdas, do you get an error?
[19:52] megalomix: ok
[19:52] vdemedes: cagdas: any serious reason you are specifying versions for each of your dependencies?
[19:52] cagdas: I don't get now
[19:53] cagdas: somehow deleting node_modules and doing npm install worked
[19:53] vdemedes: :-)
[19:53] cagdas: vdemedes, I guess I can also use "latest" right?
[19:54] vdemedes: cagdas: nope, "*" instead
[19:54] vdemedes: just *
[19:54] cagdas: vdemedes, I am new to package.json
[19:54] cagdas: now I learned the syntax for "latest" :)
[19:54] average_drifter has joined the channel
[19:54] vdemedes: cagdas: ;-) never be afraid to ask!
[19:54] megalomix: another question guys, i'm using cluster module that fork the application in 3 processes...i launch node in backgroud
[19:54] TheFuzzball has joined the channel
[19:55] cagdas: ok, another topic
[19:55] cagdas: anyone working on writing a nodejs client for ROS
[19:55] cagdas: ?
[19:55] megalomix: then how can i close it ? how can i kill it? because i tried to kill the master but the childs are still running
[19:55] vdemedes: cagdas: ROS?
[19:55] cagdas: ros.org
[19:55] vdemedes: megalomix: killall node
[19:56] idefine has joined the channel
[19:56] vdemedes: megalomix: or you can: sudo lsof -i : && kill
[19:56] AndreasMadsen: megalomix: listen on process.on('SIGTERM') and execute workers.forEach(function (worker) { worker.kill() }) followed by process.exit(0)
[19:56] gr4yscale has joined the channel
[19:56] AndreasMadsen: megalomix: this way you relay SIGTERM to the workers
[19:57] megalomix: ah perfect!
[19:57] megalomix: thanks
[19:57] AndreasMadsen: megalomix: you could also listen on process.on('exit')
[19:57] vdemedes: AndreasMadsen: good suggestion! Did not think about it!
[19:57] hkjels has joined the channel
[19:58] megalomix: is this wrong? $NODE_ENV=production node server.js ???
[19:58] AndreasMadsen: vdemedes: I have done extensive cluster work, and a similar will be in node v0.7.
[19:58] megalomix: i get: =production: command not found �_�
[19:58] jldbasa has joined the channel
[19:58] vdemedes: megalomix: should be: NODE_ENV=production node server.js
[19:58] RLa: use NODE_ENV without $
[19:58] vdemedes: without $
[19:59] megalomix: ooh right!!!
[19:59] megalomix: thanks :)
[19:59] RLa: yeah, otherwise it does expansion
[19:59] Qzen has joined the channel
[20:00] fbang has joined the channel
[20:01] fbang has joined the channel
[20:01] iksik has joined the channel
[20:01] Qzen^ has joined the channel
[20:01] megalomix: guys last thing... i'm using node behind nginx because i need a website in wordpress :-( so i set the nginx as proxy of node i redirect all the requests to node 127:0.0.1:8080 the port is high so can i launch node without root privileges ?
[20:01] mmalecki: how can I get heap snapshot of a running process without using node-inspector?
[20:02] mmalecki: megalomix: yes
[20:02] vdemedes: megalomix: yep
[20:02] maxogden: megalomix: affirmative
[20:02] tmcw has joined the channel
[20:02] megalomix: good!
[20:03] megalomix: OMG i have a very s**** VPS
[20:03] megalomix: i have done an "ab" test and i see 9 requests per second :D
[20:03] vdemedes: mmalecki: thanks a lot for rubysfera.pl!
[20:03] megalomix: (production)
[20:03] megalomix: ahahah
[20:03] megalomix: amazing!
[20:04] mmalecki: vdemedes: my pleasure! I'll throw some more at you, but I'm quite busy now
[20:04] vdemedes: mmalecki: yep, sure! Thanks already for those!
[20:04] megalomix: Requests per second: 9.81 [#/sec] (mean) :)
[20:04] avalanche123 has joined the channel
[20:04] vdemedes: megalomix: you have 16mb RAM?
[20:04] megalomix: is not too fast? :D
[20:04] megalomix: 4GB
[20:04] moreno has joined the channel
[20:04] megalomix: (vps)
[20:04] megalomix: i think the web farm slooow the requests
[20:05] vdemedes: 4GB?
[20:05] vdemedes: I have more on 512 mb
[20:05] megalomix: total used free shared buffers cached
[20:05] megalomix: Mem: 4058700 3052020 1006680 0 7292 34884
[20:06] gr4yscal_ has joined the channel
[20:06] megalomix: surelly they have a firewall that block this kind of tests
[20:06] nhunzaker has joined the channel
[20:07] Broolucks has joined the channel
[20:07] vdemedes: megalomix: did not see that coming
[20:07] vdemedes: :-D
[20:09] joshkehn has joined the channel
[20:09] sreeix_ has joined the channel
[20:09] muk_mb: is there a good article about getting jenkins setup to auto-test node.js? All I'm finding so far are explanations of how it's not good yet.
[20:09] joshkehn has left the channel
[20:09] reid has joined the channel
[20:09] Siph has joined the channel
[20:09] reid has joined the channel
[20:09] bradleymeck__ has joined the channel
[20:09] megalomix: vdemedes, uh ?
[20:10] megalomix: i don't tried ab on the same machine.....but from my pc
[20:10] vdemedes: megalomix: can't say much about Jenkins, did not use it at all
[20:10] megalomix: Jenkins ??
[20:10] mmalecki: muk_mb: use travis?
[20:10] nhunzaker: fellow noders
[20:10] nhunzaker: go and make prettier readmes
[20:10] nhunzaker: fellow noders
[20:10] nhunzaker: haha, c/p fail
[20:10] muk_mb: mmalecki: oh, someone earlier was saying jenkins, travis is the newer one right?
[20:11] nhunzaker: http://figlet.nodejitsu.com/browse?text=node.js
[20:11] mmalecki: muk_mb: http://travis-ci.org/ :)
[20:11] muk_mb: oh yeah, this looks much simpler, haha
[20:11] mmalecki: nhunzaker: cool stuff!
[20:12] RLa: can you run travis locally too?
[20:12] mmalecki: RLa: yeah, it's pretty hard tho
[20:12] Vespakoen has joined the channel
[20:13] RLa: muk_mb, anyway, in simple case you can make jenkins just execute a command, it will check by exit value whether build was successful or not
[20:13] dnjaramba has joined the channel
[20:14] AkhiAbdullah has joined the channel
[20:15] dlg has joined the channel
[20:16] aaronmcadam has joined the channel
[20:16] isaacs has joined the channel
[20:17] disappearedng has joined the channel
[20:17] disappearedng has joined the channel
[20:19] jergason has joined the channel
[20:20] AkhiAbdullah has joined the channel
[20:20] jtsnow has joined the channel
[20:23] vdemedes: bye!
[20:23] dodo__ has joined the channel
[20:23] objectiveous has joined the channel
[20:24] overthemike has joined the channel
[20:24] marcello3d has joined the channel
[20:25] cha0s has joined the channel
[20:25] cha0s has joined the channel
[20:26] muk_mb: So this is my travis.yml: https://github.com/sgoodwin/RSSS-Mark-3/blob/master/.travis.yml why is jenkins trying to run rake on my project?
[20:26] mmalecki: jenkins?
[20:27] muk_mb: err travis, sorry
[20:27] muk_mb: ACTION gets them confused
[20:27] sigurding: and back again with the first question: is it possible to "outsource" the html files and load them on demand?
[20:27] sigurding: :)
[20:27] mmalecki: muk_mb: try to replace the tab with 2 spaces
[20:28] vdemedes: sigurding: good bye!
[20:28] vdemedes: sigurding: write me if something ;-)
[20:28] muk_mb: oh heh
[20:29] ritch- has joined the channel
[20:29] bartt1 has joined the channel
[20:29] dnjaramba has joined the channel
[20:30] sigurding: vdemedes: I was wondering if there is an option to separate the HTML files from the actual source code: so essentially something like this res.end(renderFile("uploadForm.html");
[20:30] vdemedes: of course
[20:30] vdemedes: sigurding: if you are using Express, read about Views at http://expressjs.com
[20:30] vdemedes: sigurding: the principle is: fs.readFile + res.write
[20:31] maxogden: require('filed')('uploadForm.html').pipe(res)
[20:31] vdemedes: maxogden: what about variables, that he needs to pass to that view?
[20:31] sigurding: ah great, I will take look
[20:32] vdemedes: sigurding: and you will probably want to use template engines. I recommend Handlebars. Take a look on list of template engines at: http://github.com/joyent/node/wiki/Modules
[20:32] sigurding: know it from sammy.js :)
[20:32] sigurding: so for vars I could take partials
[20:33] Qbix1 has joined the channel
[20:33] vdemedes: sigurding: If I'm not mistaking, there are some performance troubles + bugs appear when using partials in Handlebars.js
[20:33] vdemedes: but that's not 100% correct info, maybe I'm wrong
[20:34] overthemike_ has joined the channel
[20:34] average_drifter has joined the channel
[20:34] sigurding: mh, yeah perhaps I will stick to the plain mixin' stuff now, and try to encapsulate it later, when the stuff is running as I want to, with upload bar etc. :-)
[20:34] vdemedes: sigurding: ;-) write me!
[20:34] vdemedes: Ok, I should go
[20:34] vdemedes: bye!
[20:34] vdemedes: take care!
[20:35] sigurding: I will vdemedes
[20:35] sigurding: bye bye!
[20:35] sigurding: :)
[20:35] localhost has joined the channel
[20:35] vdemedes: ;-)
[20:35] overthemike has left the channel
[20:36] SamWhited has joined the channel
[20:38] EhevuTov: ghew, stack overflow is literally having a stack overflow?
[20:39] Qzen^ has joined the channel
[20:40] Emile has joined the channel
[20:40] muk_mb: travis should re-test every time you push to master, shouldn't it?
[20:40] mmalecki: yes
[20:40] mmalecki: oh, btw, travis has an irc channel as well, #travis
[20:40] Axsuul has joined the channel
[20:40] Axsuul has joined the channel
[20:41] Axsuul has joined the channel
[20:41] Axsuul has joined the channel
[20:41] Axsuul has joined the channel
[20:41] level09 has joined the channel
[20:42] Axsuul has joined the channel
[20:42] Axsuul has joined the channel
[20:42] humasect: why travis - isnt js near instant to build? ^_^
[20:42] Axsuul has joined the channel
[20:42] AkhiAbdullah has joined the channel
[20:42] Axsuul has joined the channel
[20:43] Axsuul has joined the channel
[20:43] AviMarcus has joined the channel
[20:43] bradleyg has joined the channel
[20:43] Johnno has joined the channel
[20:43] Qzen^ has joined the channel
[20:44] Axsuul has joined the channel
[20:44] felixhummel has joined the channel
[20:46] average_drifter has joined the channel
[20:47] AkhiAbdullah has joined the channel
[20:53] Vespakoen has joined the channel
[20:53] sreeix has joined the channel
[20:53] jldbasa has joined the channel
[20:54] average_drifter has joined the channel
[20:54] luismreis has joined the channel
[20:54] ningu has joined the channel
[20:57] cburyta has joined the channel
[21:02] cha0s has joined the channel
[21:02] cha0s has joined the channel
[21:03] _trupp878 has joined the channel
[21:03] tlab has joined the channel
[21:04] rendar_ has joined the channel
[21:06] luismreis_ has joined the channel
[21:06] bingomanatee__ has joined the channel
[21:07] jnbek_ has joined the channel
[21:07] caolanm has joined the channel
[21:07] philipd has joined the channel
[21:07] xec- has joined the channel
[21:08] strager` has joined the channel
[21:08] progrock_ has joined the channel
[21:08] average_drifter has joined the channel
[21:08] tmzt has joined the channel
[21:08] mrkurt has joined the channel
[21:08] duckspeaker has joined the channel
[21:08] felixge has joined the channel
[21:08] leif has joined the channel
[21:08] jgaui_ has joined the channel
[21:08] eeemsi_ has joined the channel
[21:08] mikegerw1tz has joined the channel
[21:08] upb__ has joined the channel
[21:08] ningu_ has joined the channel
[21:09] chrisina1ar has joined the channel
[21:09] codepal_ has joined the channel
[21:09] pavelz_ has joined the channel
[21:09] Qbix1 has joined the channel
[21:09] boehm has joined the channel
[21:09] pquerna has joined the channel
[21:09] sauerbraten has joined the channel
[21:09] jimbot has joined the channel
[21:09] wycats has joined the channel
[21:09] overthemike has joined the channel
[21:09] bradleymeck__ has joined the channel
[21:10] lukstr has joined the channel
[21:10] eventualbuddha has joined the channel
[21:10] storrgie has joined the channel
[21:11] looopy has joined the channel
[21:12] draginx has joined the channel
[21:13] draginx: http://pastie.org/private/bvsdatrvwfwnok4ud86xq any idea on how to know which "pos_" we're on in the client.hgetall command?
[21:13] sgharms has joined the channel
[21:13] sarlalian has joined the channel
[21:14] codepal has joined the channel
[21:14] jtsnow has joined the channel
[21:14] sgharms has left the channel
[21:14] Lingus: draginx: It'd help people to know what lib is providing that function
[21:14] draginx: redis
[21:14] codepal has joined the channel
[21:16] average_drifter has joined the channel
[21:16] shanebo has joined the channel
[21:18] gr4yscale has joined the channel
[21:19] bnoordhuis has joined the channel
[21:19] felixge has joined the channel
[21:19] felixge has joined the channel
[21:19] piscisaureus_ has joined the channel
[21:24] bradleymeck_ has joined the channel
[21:24] sigurding_ has joined the channel
[21:24] cha0s has joined the channel
[21:25] diverdude has joined the channel
[21:25] average_drifter has joined the channel
[21:26] nerdfiles1 has joined the channel
[21:26] `3rdEden has joined the channel
[21:27] theBrettman has joined the channel
[21:28] skyler_brungardt has joined the channel
[21:29] ohtogo has joined the channel
[21:30] Qbix1 has joined the channel
[21:30] Dotan has joined the channel
[21:32] augustl: are the tools Node uses to embed all the compiled stuff + the javascripts into one binary available for reuse outside of node?
[21:32] Qbix1 has joined the channel
[21:32] augustl: we would like to make a "buster" binary that embeds node, npm and buster in one binary, then make installers for OS X and Windows
[21:32] augustl: that way people can use buster without even knowing it's using node and npm
[21:33] joshkehn has joined the channel
[21:33] bradleyg has joined the channel
[21:34] joshkehn has left the channel
[21:34] antono has joined the channel
[21:34] zixiz has joined the channel
[21:35] shanebo has joined the channel
[21:36] isaacs: augustl: no, there is not a tool to do this. please share with the rest of the class :)
[21:36] isaacs: augustl: many folks have asked in the past.
[21:36] eb4890 has joined the channel
[21:36] beejeebus has joined the channel
[21:36] isaacs: augustl: it'd be really handy to have.
[21:37] bizniz98 has joined the channel
[21:37] augustl: isaacs: what is used to build the node binary today?
[21:37] CIA-102: node: 03Ben Noordhuis 07v0.6 * r96a137a 10/ doc/node.1 : docs: update man page - http://git.io/idp6ug
[21:37] augustl: I'd love to help make it reusable, we sort of very kind of really need it for buster :)
[21:38] augustl: hmm, I'll read the makefile, "make" seems to build the node bin
[21:38] isaacs: augustl: check out `make pkg`
[21:38] average_drifter has joined the channel
[21:38] isaacs: augustl: what you probably really want is to `DESTDIR=/path/to/stuff make install`
[21:38] augustl: isaacs: thanks
[21:38] isaacs: augustl: then take the /path/to/stuff location, and bundle it in your .app
[21:39] spolu has joined the channel
[21:39] augustl: I guess the hard part is to get the bin itself, when we have that making installers is probably easy
[21:40] AkhiAbdullah has joined the channel
[21:44] bhunt has joined the channel
[21:45] dnjaramba has joined the channel
[21:45] Sahua has joined the channel
[21:47] bhunt has joined the channel
[21:47] Qbix1 has joined the channel
[21:48] mAritz has joined the channel
[21:48] mAritz: anyone else having issues with twitter/bootstrap minification of single js modules? (due to missing semicolons uglifyjs fails to minify it properly for me)
[21:49] dnjaramba has joined the channel
[21:49] mAritz: specifically the modal module
[21:50] nathanieldavid has joined the channel
[21:50] jskulski has joined the channel
[21:51] insin: damn, I had the impression uglify was a decent minifier :/
[21:52] leif has joined the channel
[21:53] cha0s has joined the channel
[21:53] cha0s has joined the channel
[21:53] bhunt has joined the channel
[21:53] mAritz: it is, might just be me being stupid or sth. that's why i ask :/
[21:53] AkhiAbdullah has joined the channel
[21:54] richardr has joined the channel
[21:55] augustl: perhaps you can concat the files by hand and join by semicolon?
[21:55] augustl: then minify your concatenation
[21:55] insin: is it definitely the minified code, not a concat thing?
[21:55] insin: ^^
[21:56] augustl: no idea
[21:56] ryanfitz has joined the channel
[21:56] mAritz: i had a concat error at first, but i fixed that and now it's because there's a new-line starting with ! and that newline gets removed, resulting in something()!someotherthing()
[21:57] dnjaramba has joined the channel
[21:57] mAritz: https://github.com/twitter/bootstrap/blob/master/js/bootstrap-modal.js#L56
[21:57] mAritz: that's where it fails
[21:59] panosru has joined the channel
[22:01] huggies has joined the channel
[22:02] mAritz: weird, manually uglifying it, adds the missing semicolon
[22:02] mAritz: apparently i actually stupided somewhere
[22:03] average_drifter has joined the channel
[22:03] dnjaramba has joined the channel
[22:03] illourr has joined the channel
[22:06] pifantastic has joined the channel
[22:09] bizniz98 has joined the channel
[22:09] willwhite has joined the channel
[22:12] joshkehn has joined the channel
[22:12] joshkehn has left the channel
[22:17] silky has joined the channel
[22:17] average_drifter has joined the channel
[22:18] tekky has joined the channel
[22:19] artusrocha has joined the channel
[22:21] level09 has joined the channel
[22:22] ryanfitz has joined the channel
[22:22] bbbb has joined the channel
[22:23] githogori has joined the channel
[22:24] kickingvegas has joined the channel
[22:26] izepstan has joined the channel
[22:26] Dmitriju1: s/organism/orgasm/ in the topic?!
[22:26] Dmitriju1: ACTION runs
[22:27] panosru has joined the channel
[22:29] innoying has joined the channel
[22:29] stagas has joined the channel
[22:29] hipertracker has joined the channel
[22:29] panosru: hi, how do you create breadcrumbs with express? Do you use any ready-made module or you have your custom way?
[22:29] jakehow has joined the channel
[22:31] wink___ has joined the channel
[22:31] shachaf has joined the channel
[22:32] mAritz: Dmitriju1: What is the topic supposed to mean anyways?
[22:32] mAritz: panosru: there's no built-in rest api in express, so express wouldn't even know what your breadcrumbs are
[22:33] Qbix1 has joined the channel
[22:33] zomg: mAritz: in case you haven't noticed yet, this channel has kind of random topics :P
[22:33] panosru: mAritz: so how you deal with breadcrumb ? I mean you end-up on custom solution some-how?
[22:33] zomg: looks like it is trying to say http://nodejs.org though =)
[22:34] zomg: panosru: that would entirely depend on how your application is structured
[22:34] izepstan has joined the channel
[22:34] mAritz: panosru: personally i do it on the client, because i work on SPAs :)
[22:35] panosru: zomg: there are so many npm modules that I though there could be something specific for that purpose (I'm looking something to have the functionality of Zend_Helper_Navigation )
[22:35] WeeJeWel has joined the channel
[22:35] CarterL has joined the channel
[22:35] panosru: mAritz: you mean you build your navigation menu & breadcrumb on the client ?
[22:35] philipd has joined the channel
[22:38] zomg: panosru: well you would first need to have some builtin way to get an mvc structure, express doesn't provide anything for that, just the base
[22:38] janekp has joined the channel
[22:38] Illourr| has joined the channel
[22:38] zomg: Your best bet would probably to see if you can find some node mvc package, perhaps they might have that
[22:38] panosru: zomg: yes that's true
[22:39] mAritz: panosru: yeah, no other way in my architecture. basically my server serves js files and has a REST json api. all presentation logic is on the client :)
[22:39] methodt has joined the channel
[22:39] panosru: zomg: I don't need any mvc package, I follow DDD/CQRS architecture with internal MVC structure per domain
[22:39] zomg: mAritz: what's an SPA anyways?
[22:39] mAritz: single page app
[22:39] zomg: Ah of course =)
[22:40] dodo has joined the channel
[22:40] enmand has joined the channel
[22:40] mAritz: panosru: i guess your breadcrumbs rely on the url?! it should be failry trivial to create a middleware that does it for your specific needs. maybe even use a dynamic view helper, if you use views.
[22:40] joshkehn has joined the channel
[22:40] panosru: zomg: when I said if there is any already made navigation/breadcrumb module I wanted to check out how they deal by keeping parent/child + depth functionality, if there is any best practice way or something :)
[22:41] joshkehn has left the channel
[22:42] hackband has joined the channel
[22:42] richcollins has joined the channel
[22:43] tbranyen has left the channel
[22:43] panosru: mAritz: I use express-resource module in order to create resource/routes, what I want to find out is if I have a resource to be able to check the parents of that resource, since you can have parentResource.add(childResource.add(child2Resource ... etc so i want to be able to get the parents tree in order to build the breadcrumb, which still won't be that simple as it sounds
[22:44] toothr has joined the channel
[22:45] panosru: mAritz: for now, as the quickest way would be to have block breadcrumb in my main jade layout, and for each child template that extends parents instead of re-define the block breadcrumb to use append breadcrumb and build the breadcrumb through template
[22:46] panosru: this could be a possible solution, not dynamic though because if you modify a resource/route you need to modify your template too, but still it could work :)
[22:46] AkhiAbdullah has joined the channel
[22:47] mAritz: or do it on the client. :D
[22:48] panosru: mAritz: :P
[22:49] sreeix has joined the channel
[22:51] Illourr| has joined the channel
[22:51] boccato has joined the channel
[22:51] dnjaramba has joined the channel
[22:52] sarlalian has joined the channel
[22:55] upb has joined the channel
[22:59] wink_ has joined the channel
[23:01] sigurding_ has joined the channel
[23:02] Wa has joined the channel
[23:02] Skyjoker has joined the channel
[23:03] gaYak has joined the channel
[23:04] norviller has joined the channel
[23:04] megalomix has joined the channel
[23:04] megalomix: hello
[23:04] Qzen has joined the channel
[23:05] jacobolus has joined the channel
[23:06] ashishg has joined the channel
[23:08] sreeix has joined the channel
[23:09] Aria has joined the channel
[23:12] drostie has joined the channel
[23:12] wink___ has joined the channel
[23:13] fbang has left the channel
[23:16] Vespakoen has joined the channel
[23:17] wink_ has joined the channel
[23:19] tilgovi has joined the channel
[23:19] russfrank has joined the channel
[23:20] mattgifford has joined the channel
[23:21] snearch has joined the channel
[23:26] wink_ has joined the channel
[23:26] davidwalsh has joined the channel
[23:27] cburyta has joined the channel
[23:28] dnjaramba has joined the channel
[23:28] davidwalsh has joined the channel
[23:30] diverdude: megalomix: hello
[23:30] diverdude: megalomix: how are you?
[23:31] megalomix: hello
[23:31] megalomix: fine thanks
[23:31] megalomix: you?
[23:31] diverdude: megalomix: hello
[23:31] diverdude: megalomix: im not good
[23:31] isao has joined the channel
[23:31] diverdude: thanks
[23:31] megalomix: sorry
[23:32] diverdude: thanks :)
[23:32] diverdude: what are you up to
[23:33] megalomix: installing 0.6.11 :)
[23:33] wink___ has joined the channel
[23:33] jtsnow has joined the channel
[23:34] diverdude: megalomix: oh my. im on c06.10
[23:34] diverdude: c=v
[23:34] diverdude: megalomix: so did you use socket.io b4?
[23:35] satyr has joined the channel
[23:35] illourr: anyone use sublime text 2, ever try using the node plugin?
[23:35] megalomix: no at the moment
[23:35] illourr: I ran my server file in sublime text 2 just testing the plugin... and now i can quit the server..
[23:35] illourr: cant*
[23:35] diverdude: illourr: ctrl+c ?
[23:36] illourr: its not working haha
[23:36] diverdude: close terminal
[23:36] bradleyg has joined the channel
[23:37] bbenvie: oh yeah
[23:37] bbenvie: I have that issue with random builds of node
[23:37] tristanz has joined the channel
[23:37] bbenvie: I can make them work by ending every debug run with something like
[23:37] diverdude: bbenvie: random builds?
[23:37] tristanz: is node 64 or 32 bit on osx by default? how can I tell?
[23:37] bbenvie: process.neckTick(function(){ process.end() }) to make sure it still outputs whatever i'm logging first
[23:37] bbenvie: yeah sometimes when I've built it and I think some official ones
[23:38] bbenvie: it seems random but I haven't paid attention
[23:38] bbenvie: I just switch to another version or build
[23:38] diverdude: anybody managed to config haproxy for websockets (socket.io)?
[23:39] larsschenk has joined the channel
[23:39] illourr: diverdude: the terminal was built into sublime and ctrl+c just did copy... and i couldnt find a way to quit the terminal so i quit the editor and the server is still running haha
[23:40] diverdude: illourr: find the process id
[23:40] illourr: i found the processes running in my windows task manager..
[23:40] diverdude: and kill it
[23:40] illourr: stupid sublime
[23:40] diverdude: illourr: ps aux | grep processname
[23:41] illourr: i did , cmd: taskkill /im node.exe /f
[23:41] illourr: and that worked
[23:41] tristanz: In Waf (wscript), how to I add a library path, like -L?
[23:42] diverdude: illourr: yuck youre on windoze
[23:42] Revernd has joined the channel
[23:42] wink_ has joined the channel
[23:42] illourr: ya sorry :(
[23:42] illourr: i will be making the trip to linux soon enough
[23:42] diverdude: illourr: didnt even think node ran on windoze
[23:42] illourr: haha
[23:42] illourr: supported since like .6?
[23:42] illourr: came out
[23:42] illourr: i think
[23:43] illourr: haha.. i need to get on linux, so this wont happen :P
[23:43] illourr: thx for the help tho
[23:44] wingie: someone here knows why i get Error: connect EADDRINUSE all the time?
[23:44] wingie: i run a script which isn't using connect but gets that error all the time
[23:44] wingie: im doing some http requests in the script
[23:45] navinpy has joined the channel
[23:49] Revernd has joined the channel
[23:49] wink___ has joined the channel
[23:50] sven_oostenbrink has joined the channel
[23:50] Cromulent has joined the channel
[23:50] navpar has joined the channel
[23:50] spcshpopr8r has joined the channel
[23:53] Illourr| has joined the channel
[23:53] TheJH has joined the channel
[23:54] domo1 has joined the channel
[23:54] domo1: :)
[23:54] domo1 has left the channel
[23:55] killing-joke: how many unique page views per day equals one user? different for every site?
[23:56] zomg: Huh? o_O
[23:57] killing-joke: if a person visits, loads five pages, leaves, and comes back to do that twice more in the day, we have 15 views.
[23:57] killing-joke: and perhaps three "uniques". one person.
[23:57] wink_ has joined the channel
[23:58] eamonnw: /part
[23:58] killing-joke: so measurement of "users" in that sense is opinion.
[23:58] eamonnw has left the channel
[23:59] zomg: Yeah if you're not tracking actual signups or other actions which would make a visitor a user (eg. maybe you have an upload service so a vistor would implicitly become a user when they upload)