[nodejs] http-proxy result-access

2012-08-27 Thread framlin
Serrvus, I use http-proxy (from nodejitsu) and want to store the result of the proxied response in order to cache it. How can I do this? Have a nice and peacefully day Wolfgang -- Job Board: http://jobs.nodejs.org/ Posting guidelines:

Re: [nodejs] Node.js memcaching webpage

2012-08-27 Thread Trang Tung Nguyen
For HTTP server caching, you can refer to this module: https://github.com/FLYBYME/node-file-cache On Mon, Aug 27, 2012 at 1:21 PM, thuan le minh leminhthua...@gmail.comwrote: is there simple way to cache an web page that visited in node.js Express ? -- Job Board: http://jobs.nodejs.org/

[nodejs] [Ann] UglifyJS 2.0

2012-08-27 Thread Mihai Călin Bazon
Hi all, I thought I'd drop this here for anyone using UglifyJS that's not reachable through other channels: I started work on version 2 and it's already usable, although not yet as good as v1 in terms of compression. The goals of the rewrite are to have cleaner and more maintainable code, a

[nodejs] Re: How can I extend TLS session timeout?

2012-08-27 Thread Chaitanya Gupta
On Aug 25, 11:38 pm, Mark Hahn m...@hahnca.com wrote: What is the convincing use case? The objective is to reduce latency. Assume that you have a simple request-response protocol where the client sends a message Ping in response to which the server sends a response Pong. If client doesn't have a

[nodejs] How to debug a read-line app

2012-08-27 Thread TGV
Hi, I'm working on test code that uses readline for ad hoc testing, but I cannot manage to get it to work with the debugger. When I start node in debug mode, my code never gets to read from the terminal. Is there some way around it (except the one where I just discard readline)? On a slightly

[nodejs] Re: 4 Paradigms for Emitting Events from c++ -- None of them successful!

2012-08-27 Thread Hsiung Pan
Hi : Is therer sample code ?? i want to create addon . The addon object can emit to javascript function like that _mNode.on('connected', function(code, descString) { console.log('Connected to host: '+code+ Desc: +descString); }); Can you help me? SteveCronin於

[nodejs] Adding div tag to form

2012-08-27 Thread Tippur
This is my first dig at node js forms. I am trying to use - https://github.com/caolan/forms/ I am trying to look up tables in database and make a form for each table and i am able to generate the form but I am unable to add div's to separate the different tables. I have the right break point

[nodejs] Node summer camp ticket for free

2012-08-27 Thread Rob Ashton
So, As much as I really wanted to meet up with everybody again and play some foursquare, drink some beer and chill in the sunshine, my schedule isn't going to allow me to get out to the states for the time required. If anybody in the area wants my ticket, wasn't able to buy one in the first case

[nodejs] Nodejs Restify and Express

2012-08-27 Thread almarjin
Hi, I'd like to know if Restify and Express will both work on Nodejs. Thanks, -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups nodejs group.

Re: [nodejs] Nodejs Restify and Express

2012-08-27 Thread Dan Milon
You mean both on the same process? Yeah as long as its a different port. If you are asking which one to choose, for an (rest) API server, its not an easy answer. I first tried restify, but it didnt compute etags out of the box which i found strange for a rest API server. Plus i did not make

Re: [nodejs] Node.js for small in-house app (should not need much maintenance)

2012-08-27 Thread Felix E. Klee
On Wed, Aug 22, 2012 at 3:51 PM, Felix E. Klee felix.k...@inka.de wrote: [...] go with Google Spreadsheets. Just for reference, in case someone has to make a similar decision: I now finished writing a basic version of the app with Google Apps Script, and while it works, it is slow. A *single*

[nodejs] OttawaJS Meetup

2012-08-27 Thread Darren
For Node and JavaScript users in the Ottawa area, OttawaJS holds monthly meetups. The next event is 12 September. For details visit http://www.meetup.com/Ottawa-JavaScript/ cheers Darren -- Job Board: http://jobs.nodejs.org/ Posting guidelines:

[nodejs] Asynchronous video feed

2012-08-27 Thread jk121960
Hi, I was wondering if anyone could direct me toward information regarding, I have an app that I need to show ip camera's on internal ip to a persons network (this is done) that I can also grab the stream and manipulate from the outside (externally) I need to be able to record designated feeds

Re: [nodejs] httpClient crashed ondata Parse error

2012-08-27 Thread Oren Zbeda
I have the same problem, working with an old isapi dll, My proxy crashs the same way. Here are the headers: httpHTTP/1.1 200 OK Server: Microsoft-IIS/7.0 Date: Mon, 27 Aug 2012 13:01:05 GMT Connection: close Set-Cookie:SID=356532646337666331363137623133626132346234323233353234356662;

Re: [nodejs] Node summer camp ticket for free

2012-08-27 Thread codepilot Account
Can I have it? On Mon, Aug 27, 2012 at 4:49 AM, Rob Ashton robash...@codeofrob.com wrote: So, As much as I really wanted to meet up with everybody again and play some foursquare, drink some beer and chill in the sunshine, my schedule isn't going to allow me to get out to the states for the

Re: [nodejs] Re: How can I extend TLS session timeout?

2012-08-27 Thread Mark Hahn
I understand your concerns. I'm just surprised that extending the timeout beyond five minutes would make any difference. Surely your app can refresh the connection within 5 mins. On Mon, Aug 27, 2012 at 3:44 AM, Chaitanya Gupta m...@chaitanyagupta.comwrote: On Aug 25, 11:38 pm, Mark Hahn

[nodejs] Re: How to debug a read-line app

2012-08-27 Thread Jimb Esser
I haven't used readline myself, but I suspect if you use a graphical debugger such as node-inspector [1], it's not going to interfere with readline. Also, in node-inspector, you set breakpoints in functions by simply clicking next to the line you wish to breakpoint. [1]

[nodejs] Re: [Ann] UglifyJS 2.0

2012-08-27 Thread Jimb Esser
Good to hear! We've been using UglifyJS and have been lamenting the lack of source maps when trying to decipher client crash reports, so I look forward to giving that a try! Jimb Esser Cloud Party On Monday, August 27, 2012 3:09:11 AM UTC-7, Mihai Bazon wrote: Hi all, I thought I'd

Re: [nodejs] Re: How to debug a read-line app

2012-08-27 Thread Tim Caswell
If you pause the v8 thread using the debug protocol, then no javascript code can run in the v8 thread (this includes the stdin reading code in the readline module). It's not possible to introspect and evaluate expressions in a node repl while node itself is paused. This kind of introspection

Re: [nodejs] How can I extend TLS session timeout?

2012-08-27 Thread Dan Shaw
We hope to get Fedor's patch tested under load at Voxer soon. Unfortunately, we're still probably a couple weeks out from that. Daniel Shaw @dshaw On Sat, Aug 25, 2012 at 11:45 AM, Fedor Indutny fe...@indutny.com wrote: Please take a look at this pull request:

[nodejs] Re: How can I extend TLS session timeout?

2012-08-27 Thread Chaitanya Gupta
On Aug 27, 10:06 pm, Mark Hahn m...@hahnca.com wrote: I understand your concerns.  I'm just surprised that extending the timeout beyond five minutes would make any difference.  Surely your app can refresh the connection within 5 mins. No, we can't do that. As I mentioned, once the app goes

Re: [nodejs] Node summer camp ticket for free

2012-08-27 Thread Adam Crabtree
I'd like to get in-line incase codepilot can't make it. =) On Mon, Aug 27, 2012 at 9:49 AM, codepilot Account codepi...@gmail.comwrote: Can I have it? On Mon, Aug 27, 2012 at 4:49 AM, Rob Ashton robash...@codeofrob.comwrote: So, As much as I really wanted to meet up with everybody again

Re: [nodejs] Re: How can I extend TLS session timeout?

2012-08-27 Thread Fedor Indutny
TLS Session tickets should already work with node's embedded openssl library. Though, many clients still use old server-side sessions. Cheers, Fedor. On Mon, Aug 27, 2012 at 11:01 PM, Chaitanya Gupta m...@chaitanyagupta.comwrote: Hi Fedor, On Aug 25, 11:45 pm, Fedor Indutny

[nodejs] Re: Nodejs User Session

2012-08-27 Thread greelgorke
http://en.wikipedia.org/wiki/Session_(computer_science) yes you can Am Freitag, 24. August 2012 13:15:42 UTC+2 schrieb almarjin: I've seen some posts about user session on Express but I'm using Restify. Thanks On Friday, August 24, 2012 6:49:23 PM UTC+8, almarjin wrote: Hi, I'd like

[nodejs] How to debug memory leaks in node.js app?

2012-08-27 Thread Martin Wawrusch
Hi all, we have a bad memory leak (objects not being freed for whatever reason) in one of our API express based services, what's the best way to debug this (best = fastest way to detect the culprit), and also how can we automatically test this (we are using mocha, so that would be preferred).

Re: [nodejs] How to debug memory leaks in node.js app?

2012-08-27 Thread Tim Caswell
I have one automated test that looks for memory leaks. Basically I do some operation a *lot* of times and record the memory usage over time. I then analyse the results and calculate the relative standard deviation to decide it it's a leak or not.

Re: [nodejs] How to debug memory leaks in node.js app?

2012-08-27 Thread Martin Wawrusch
awesome. you rock On Mon, Aug 27, 2012 at 1:16 PM, Tim Caswell t...@creationix.com wrote: I have one automated test that looks for memory leaks. Basically I do some operation a *lot* of times and record the memory usage over time. I then analyse the results and calculate the relative

Re: [nodejs] Node summer camp ticket for free

2012-08-27 Thread codepilot Account
What info do you need? On Mon, Aug 27, 2012 at 9:49 AM, codepilot Account codepi...@gmail.comwrote: Can I have it? On Mon, Aug 27, 2012 at 4:49 AM, Rob Ashton robash...@codeofrob.comwrote: So, As much as I really wanted to meet up with everybody again and play some foursquare, drink

Re: [nodejs] node.js response time increase with concurrent connections

2012-08-27 Thread Murvin Lai
I'm not arguing or anything, but that's what I observed and recorded during load testing. Not just once but load testing over weeks, conducted by not just me but a whole team of developers. Node.js itself will not crash if hitting open file limit, but some sockets will hang up, and response get

[nodejs] [ANN] Raft 0.0.1 PaaS

2012-08-27 Thread Tim Dickinson
I would like to say hello to the node community! I have been working on the Raft module for a few weeks now. It is functional but it is still in the early stages. The concept is very slimier to nodester or haibu. It allows you to host many apps on a single server or even multiple servers. There

[nodejs] Re: How to debug memory leaks in node.js app?

2012-08-27 Thread darcy
you can use node-webkit-agent. https://github.com/c4milo/node-webkit-agent On Tuesday, August 28, 2012 4:13:37 AM UTC+8, Martin Wawrusch wrote: Hi all, we have a bad memory leak (objects not being freed for whatever reason) in one of our API express based services, what's the best way to

Re: [nodejs] Re: How to debug memory leaks in node.js app?

2012-08-27 Thread Martin Wawrusch
That's beyond awesome, thank you. On Mon, Aug 27, 2012 at 7:23 PM, darcy freeda...@gmail.com wrote: you can use node-webkit-agent. https://github.com/c4milo/node-webkit-agent On Tuesday, August 28, 2012 4:13:37 AM UTC+8, Martin Wawrusch wrote: Hi all, we have a bad memory leak

Re: [nodejs] [Ann] UglifyJS 2.0

2012-08-27 Thread Scott Taylor
Very cool. What comments in the AST are you going to preserve? Best Scott On Aug 27, 2012, at 3:09 AM, Mihai Călin Bazon mihai.ba...@gmail.com wrote: Hi all, I thought I'd drop this here for anyone using UglifyJS that's not reachable through other channels: I started work on version 2