Re: [node-dev] VFP2 ARM V8 Issues

2012-08-16 Thread Adam Malcontenti-Wilson
Thanks for the quick command. I'm still getting the same errors as before though I think: g++ '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DENABLE_DEBUGGER_SUPPORT' '-DV8_TARGET_ARCH_X64' -I../deps/v8/src -Wall -pthread -m64 -fno-strict-aliasing -fno-strict-aliasing -fno-tree-vrp -fno-rtti

Re: [node-dev] VFP2 ARM V8 Issues

2012-08-16 Thread Ben Noordhuis
On Thu, Aug 16, 2012 at 4:34 PM, Adam Malcontenti-Wilson adman@gmail.com wrote: Thanks for the quick command. I'm still getting the same errors as before though I think: g++ '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DENABLE_DEBUGGER_SUPPORT' '-DV8_TARGET_ARCH_X64'

Re: [nodejs] prevent timeout when uncaughtException

2012-08-16 Thread Honigbaum
Hi, I'm using the new domain module of nodejs for handle uncaught exceptions. It's recommended to use this module instead of 'process.on(uncaughtException)'. But handling a exception this way should only be the last way if everything goes wrong. Am Donnerstag, 16. August 2012 06:51:55 UTC+2

[nodejs] Node.js domain module + express.js. Create domain for every request.

2012-08-16 Thread Honigbaum
Hi, I'm using express.js and the domain module of node.js for handling uncaught exception. I start every worker of the cluster in it's own domain. When an uncaught exception occurs I use the error handler of the domain to log the error und destroy the worker. https://gist.github.com/3313918

[nodejs] nginx versus node https ssl termination?

2012-08-16 Thread Mark Hahn
I'm sorry if this is an nginx question and shouldn't be on this forum. The nginx forum is pretty much dead. I have nginx front-ending my node server. It has worked well for some time. I am now adding ssl to my setup. I want to terminate the SSL at the front-end nginx because I've heard that

Re: [nodejs] Re: [ANN] New release of node-webkit - run node.js apps on desktop

2012-08-16 Thread Avner Zangvil
Hi Zhao, Thanks so much for the explanation! I am currently considering which underlying platform (node-webkit or app.js) to use as a basis for a unique application environment that I'm developing. What would be your thoughts on keeping in pace with future releases of Chromium and node? app.js

Re: [nodejs] Re: [ANN] New release of node-webkit - run node.js apps on desktop

2012-08-16 Thread Zhao Cheng
On Thu, Aug 16, 2012 at 4:08 PM, Avner Zangvil azang...@gmail.com wrote: Thanks so much for the explanation! I am currently considering which underlying platform (node-webkit or app.js) to use as a basis for a unique application environment that I'm developing. What would be your thoughts on

Re: [nodejs] Re: [ANN] New release of node-webkit - run node.js apps on desktop

2012-08-16 Thread Avner Zangvil
Hi Zhao, I appreciate the adfitional info. Do you know when the Content Shell based release will be available? Thanks, Avner. On Aug 16, 2012, at 11:31 AM, Zhao Cheng zcb...@gmail.com wrote: On Thu, Aug 16, 2012 at 4:08 PM, Avner Zangvil azang...@gmail.com wrote: Thanks so much for the

Re: [nodejs] Re: [ANN] New release of node-webkit - run node.js apps on desktop

2012-08-16 Thread Zhao Cheng
On Thu, Aug 16, 2012 at 4:43 PM, Avner Zangvil azang...@gmail.com wrote: I appreciate the adfitional info. Do you know when the Content Shell based release will be available? Linux version is ready, Windows and Mac version are on the way. It will be released no more than next week. -- Cheng

Re: [nodejs] npm got Segmentation fault at linux (npm 1.1.48 node v0.8.6)

2012-08-16 Thread TZ
RedHat5 , glibc version is 2.5 is that matter? 在 2012年8月15日星期三UTC+8上午10时22分32秒,TZ写道: *[root@etone46 ~]# gdb --args node `which npm` list* GNU gdb Red Hat Linux (6.5-25.el5rh) Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License,

Re: [nodejs] Error: spawn EINVAL ?

2012-08-16 Thread Ben Noordhuis
On Thu, Aug 16, 2012 at 1:20 AM, TZ atia...@qq.com wrote: sorr, it's a server in intranet. I can fully control it , but I don't have permission to change the mapping of intranet router. is there any other way to connect? such as a reverse proxy by node ?( but I don't have a static ip server)

Re: [nodejs] prevent timeout when uncaughtException

2012-08-16 Thread Ben Noordhuis
On Thu, Aug 16, 2012 at 6:51 AM, jason.桂林 guil...@gmail.com wrote: To prevent server halt on error, listen the `process.on('uncaughtException')`, but the response will timeout. How to fix this problem, will these timeout req/res make memory leak ? Quite possibly. An uncaught exception leaves

Re: [nodejs] nginx versus node https ssl termination?

2012-08-16 Thread Matt
You want proxy_pass to use http, not https. On Thu, Aug 16, 2012 at 3:25 AM, Mark Hahn m...@hahnca.com wrote: I'm sorry if this is an nginx question and shouldn't be on this forum. The nginx forum is pretty much dead. I have nginx front-ending my node server. It has worked well for some

Re: [nodejs] npm got Segmentation fault at linux (npm 1.1.48 node v0.8.6)

2012-08-16 Thread Ben Noordhuis
On Thu, Aug 16, 2012 at 10:51 AM, TZ atia...@qq.com wrote: RedHat5 , glibc version is 2.5 is that matter? No, it shouldn't matter (though I don't test against 2.5 often - or linux 2.6.18 for that matter). Can you try the following: $ cd path/to/node $ make -j 8 BUILDTYPE=Debug # 8 ==

Re: [nodejs] Re: [ANN] New release of node-webkit - run node.js apps on desktop

2012-08-16 Thread Zhao Cheng
On Thu, Aug 16, 2012 at 6:06 PM, Avner Zangvil azang...@gmail.com wrote: Great. In the link re architecture there was mentioned a risk with using callbacks in some scenarios - may I ask if this is solvable or if it is an architectural limitation? It is not a problem, the way we use node

Re: [nodejs] Re: [ANN] New release of node-webkit - run node.js apps on desktop

2012-08-16 Thread Avner Zangvil
Ok - great! Thanks, Avner On Aug 16, 2012, at 3:07 PM, Zhao Cheng zcb...@gmail.com wrote: On Thu, Aug 16, 2012 at 6:06 PM, Avner Zangvil azang...@gmail.com wrote: Great. In the link re architecture there was mentioned a risk with using callbacks in some scenarios - may I ask if this is

[nodejs] Re: Can't install socket.io or run now.js on windows 7 x64

2012-08-16 Thread mscdex
On Aug 16, 8:43 am, Thiago Sfredo sfr...@gmail.com wrote: Running on a Windows 7 Home Premium 64-bits Downloaded:    - node.js (0.8.7-x64) as a windows msi from the official site    - make-3.81 fromhttp://gnuwin32.sourceforge.net/packages/make.htm(Complete    package, except sources)    -

Re: [nodejs] npm got Segmentation fault at linux (npm 1.1.48 node v0.8.6)

2012-08-16 Thread TZ
* * *this means 2 or 4 cpu? but set make -j 2 and make -j 4 got the same error* *[root@etone46 node]# grep processor /proc/cpuinfo* processor : 0 processor : 1 processor : 2 processor : 3 *[root@etone46 node]# make -j 4 BUILDTYPE=Debug* make -C out BUILDTYPE=Release V=1 make -C out

Re: [nodejs] npm got Segmentation fault at linux (npm 1.1.48 node v0.8.6)

2012-08-16 Thread Ben Noordhuis
On Thu, Aug 16, 2012 at 3:24 PM, TZ atia...@qq.com wrote: this means 2 or 4 cpu? but set make -j 2 and make -j 4 got the same error [root@etone46 node]# grep processor /proc/cpuinfo processor : 0 processor : 1 processor : 2 processor : 3 [root@etone46 node]# make -j 4 BUILDTYPE=Debug

[nodejs] Re: Can't install socket.io or run now.js on windows 7 x64

2012-08-16 Thread Bert Belder
On Thursday, August 16, 2012 2:43:38 PM UTC+2, Thiago Sfredo wrote: Running on a Windows 7 Home Premium 64-bits Downloaded: - node.js (0.8.7-x64) as a windows msi from the official site - make-3.81 from http://gnuwin32.sourceforge.net/packages/make.htm (Complete package, except

[nodejs] Re: Can't install socket.io or run now.js on windows 7 x64

2012-08-16 Thread Bert Belder
On Thursday, August 16, 2012 3:44:50 PM UTC+2, Bert Belder wrote: Apparently node-redis (a dependency of socket.io) has come to depend on hiredis, but hiredis doesn't compile on windows. You might want to complain to the node-redis or the hiredis maintainer. You can also install a slightly

[nodejs] Re: Can't install socket.io or run now.js on windows 7 x64

2012-08-16 Thread mscdex
On Aug 16, 9:44 am, Bert Belder bertbel...@gmail.com wrote: Apparently node-redis (a dependency of socket.io) has come to depend on hiredis, but hiredis doesn't compile on windows. You might want to complain to the node-redis or the hiredis maintainer. You can also install a slightly older

Re: [nodejs] Re: Can't install socket.io or run now.js on windows 7 x64

2012-08-16 Thread Dan Milon
node-redis can either use a javascript parser, or the one from hiredis. The latter is a little faster, but if it does not compile under windows, ignore the dependency and go for the native parser. (which is the default). danmilon. On Thu, Aug 16, 2012 at 4:54 PM, Bert Belder bertbel...@gmail.com

Re: [nodejs] npm got Segmentation fault at linux (npm 1.1.48 node v0.8.6)

2012-08-16 Thread TZ
it's stranger, I had make v0.8.7 success this morning... (the only thing I do is make glibc2.9 and install to /usr/local/glibc2.9) sorry, could you show me a gist that I can download. I don't know much about the patch format. I save the patch you showed to 1.patch, then cd /path/to/node git

Re: [nodejs] Error: spawn EINVAL ?

2012-08-16 Thread TZ
since don't find rpm for redhat5, I had install glibc2.9 by git , but install to /usr/local/glibc2.9. I dared not to ln it to default.(is it safe?) so it's there any way to figure out this problem? 在 2012年8月16日星期四UTC+8下午7时53分53秒,Ben Noordhuis写道: On Thu, Aug 16, 2012 at 1:20 AM, TZ

Re: [nodejs] npm got Segmentation fault at linux (npm 1.1.48 node v0.8.6)

2012-08-16 Thread Ben Noordhuis
On Thu, Aug 16, 2012 at 4:33 PM, TZ atia...@qq.com wrote: it's stranger, I had make v0.8.7 success this morning... (the only thing I do is make glibc2.9 and install to /usr/local/glibc2.9) sorry, could you show me a gist that I can download. I don't know much about the patch format. I save

Re: [nodejs] node on IBM AIX POWER7

2012-08-16 Thread rgmilone
I finally got nodejs working on IBM POWER. Thanks to Ben for the clue that I could try to run it in an x86 emulator. Based on just some crude tests so far it seems blazing fast but I have to see how it performs under a real-world load before committing to any large scale app development. If

Re: [nodejs] node on IBM AIX POWER7

2012-08-16 Thread Ben Noordhuis
On Thu, Aug 16, 2012 at 5:29 PM, rgmilone rgmil...@cnxcorp.com wrote: I finally got nodejs working on IBM POWER. Thanks to Ben for the clue that I could try to run it in an x86 emulator. Based on just some crude tests so far it seems blazing fast but I have to see how it performs under a

Re: [nodejs] nodejs.tchol.org YUM repo out of date?

2012-08-16 Thread san1t1
Building from source is great for dev boxes. On my production machines I am not allowed, and do not want, dev tools. I want things controlled by package managers (had to fight hard to be allowed node.js at all!) And could do with the Yum repository updated. If Mr Hollingsworth could oblige.

Re: [nodejs] npm got Segmentation fault at linux (npm 1.1.48 node v0.8.6)

2012-08-16 Thread TZ
thanks, here is the output: https://gist.github.com/3371148 在 2012年8月16日星期四UTC+8下午11时27分59秒,Ben Noordhuis写道: On Thu, Aug 16, 2012 at 4:33 PM, TZ ati...@qq.com javascript: wrote: it's stranger, I had make v0.8.7 success this morning... (the only thing I do is make glibc2.9 and install

Re: [nodejs] Socket ETIMEDOUT

2012-08-16 Thread smf
Hi Ben, On Thursday, August 16, 2012 12:48:22 PM UTC+1, Ben Noordhuis wrote: Steve, with what version of node is that? If it's recent (0.8.7 or master), please open a bug report with a test case. Yes - I'm seeing it 0.8.7 and 0.4.12; I'll try and make a test case... Cheers, Steve. --

Re: [nodejs] nodejs.tchol.org YUM repo out of date?

2012-08-16 Thread Nathan Rajlich
Perhaps try the precompiled binary tarballs. You can install them with one-line using curl | tar. See: https://gist.github.com/3288316 On Thu, Aug 16, 2012 at 8:32 AM, san1t1 timsan...@googlemail.com wrote: Building from source is great for dev boxes. On my production machines I am not

Re: [nodejs] node on IBM AIX POWER7

2012-08-16 Thread Bruno Jouhier
We are also interested by deploying node on IBM Power. So this is great news. Would be even better to have a native port of node.js but this is probably something IBM should handle. If you want to lobby for this, I'll support you. Thanks for investigating the emulation path. Bruno On

[nodejs] Re: Can't install socket.io or run now.js on windows 7 x64

2012-08-16 Thread Bert Belder
Actually, forget everything and try npm install now for a change. -- 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. To post to

Re: [nodejs] Announcing JailKeeper

2012-08-16 Thread Hack Sparrow
Hi Joshua, Postbox consistently keeps showing this message: This web site at http://www.joshisgross.com/ has been reported as an attack site and has been blocked based on your security preferences. Maybe you should take a look into that? - Captain Joshua Gross wrote: Hi all, I've just

[nodejs] Re: Can't install socket.io or run now.js on windows 7 x64

2012-08-16 Thread Thiago Sfredo
Had a python error, downloaded Python 2.7.3 Windows Installer, removed the already-built nowjs stuff and ran npm install now *It worked! *This should be documented somewhere, since all the documentation I could find referred to this built nowjs version or to node.js 0.6.x. Thank you very

Re: [nodejs] nginx versus node https ssl termination?

2012-08-16 Thread Mark Hahn
Duh. I can't believe I missed that. It's working properly now. Thanks for the help. On Thu, Aug 16, 2012 at 4:57 AM, Matt hel...@gmail.com wrote: You want proxy_pass to use http, not https. On Thu, Aug 16, 2012 at 3:25 AM, Mark Hahn m...@hahnca.com wrote: I'm sorry if this is an nginx

Re: [nodejs] Re: JavaScript editor that might be great for node development

2012-08-16 Thread Gary Katsevman
Talking with a friend about Resig's Khan Academy CS course, we came to the conclusion that they are missing a huge audience of those who do not have computers with keyboards but only have phones and tablets. It reminded me of this 'editor.' I think this style of editor might work well on a

[nodejs] Re: Announcing JailKeeper

2012-08-16 Thread mscdex
http://www.google.com/safebrowsing/diagnostic?site=http://www.joshisgross.com/hl=en On Aug 16, 1:27 pm, Hack Sparrow capt...@hacksparrow.com wrote: Hi Joshua, Postbox consistently keeps showing this message: This web site athttp://www.joshisgross.com/has been reported as an attack site and

Re: [nodejs] New module : VarStream

2012-08-16 Thread Nicolas FROIDURE
Hi, Thanks to all of you for your answers. I gave a try, the results is in this commit : https://github.com/nfroidure/VarStream/commit/89a14f237d5f3b4046df4a92770a4e77cdbd680a The example given by dominic now runs like proves this tests :

Re: [nodejs] Re: Announcing JailKeeper

2012-08-16 Thread Joshua Gross
Maybe my Wordpress install got owned - I'll take a look at it. Thanks for letting me know! Regards, -- Joshua Gross Christian / SpanDeX, Inc. 414-377-1041 / http://www.joshisgross.com On Aug 16, 2012, at 1:15 PM, mscdex msc...@gmail.com wrote:

Re: [nodejs] Best practice for SSL termination with Socket.io

2012-08-16 Thread Matt
We don't go through nginx for that server - it's bound to a different IP. So we have basically a dual system setup: IP1 has the main app server: Stud - HAProxy in http mode - Nginx - Node IP2 has the socket.io server: Stud - HAProxy in tcp mode - Node The main app server has socket.io loaded so

Re: [nodejs] Unable to compile node v0.8 RC7 on ARM (Beaglebone)

2012-08-16 Thread Robert Currie
Thanks Ewan! By just making the below 2 line change I was able to compile, build and run node v0.8.7 on a Freescale Nitrogen6W board (quad core 1GHz) ARM Rob On Friday, June 22, 2012 7:06:10 AM UTC-7, Ewan Leith wrote: Thanks Ben, I added armv7 then it started complaining about arm_neon, so

Re: [nodejs] Looping and creating divs

2012-08-16 Thread Tim Caswell
It depends on what you're doing. If you're writing an http web server and want to serve generated html using jade in node, then use jade's loop constructs to generate the appropriate html. On Thu, Aug 16, 2012 at 12:13 PM, Bob Wohl bob.w...@gmail.com wrote: Hello all, I'm new to Jade and

Re: [nodejs] Looping and creating divs

2012-08-16 Thread Bob Wohl
Hi Tim, Thats exactly what I am doing and thats exactly what I am posting about. Looking at Jade's loop documentation, all it shows is each yet I see people mentioning using for loop iterations yet it is not in the jade docs. So here I am, asking the question. :) B. On Thu, Aug 16, 2012 at

Re: [nodejs] Looping and creating divs

2012-08-16 Thread Tim Caswell
On Thu, Aug 16, 2012 at 3:22 PM, Bob Wohl bob.w...@gmail.com wrote: Hi Tim, Thats exactly what I am doing and thats exactly what I am posting about. Looking at Jade's loop documentation, all it shows is each yet I see people mentioning using for loop iterations yet it is not in the jade

Re: [nodejs] Looping and creating divs

2012-08-16 Thread Bob Wohl
Ok, so there's the blurred line. Jade being so tightly integrated with NodeJS, I assumed there would be the two intermingled in the same knowledge base/pool. My bad. The part about rendering in Node *or* Jade is OT I suppose as well. I'll go suck on my vacuum cleaner at the electric company.

Re: [nodejs] Looping and creating divs

2012-08-16 Thread Tim Caswell
On Thu, Aug 16, 2012 at 4:07 PM, Bob Wohl bob.w...@gmail.com wrote: Ok, so there's the blurred line. Jade being so tightly integrated with NodeJS, I assumed there would be the two intermingled in the same knowledge base/pool. My bad. The part about rendering in Node or Jade is OT I suppose as

[nodejs] npm install -g???

2012-08-16 Thread Jason Strimpel
Is there anyway to instruct a local package.json to install the dependencies in the global node_modules dir? I am investigating using node (grunt) as part of our build process for the front end, which developers will use for local builds. I need to make it easy for developers to pull down the

Re: [nodejs] npm install -g???

2012-08-16 Thread Nathan Rajlich
You can add build dependencies to your dependencies section of the package.json file. If that package exposes a grunt executable then it will be available to your npm scripts like preinstall or install, so you can execute it as if it were installed globally. On Thu, Aug 16, 2012 at 4:56 PM, Jason

Re: [nodejs] prevent timeout when uncaughtException

2012-08-16 Thread 桂林
Thanks, it's helpful to me. 在 2012-8-17,上午10:24, darcy 写道: I've written a blog for how to use domain, may be helpful for you. btw: it's chinese http://blog.sina.com.cn/s/blog_7469010134wr.html On Thursday, August 16, 2012 12:51:55 PM UTC+8, Jason.桂林(Gui Lin) wrote: To prevent server