[node-dev] Re: VFP2 ARM V8 Issues

2012-08-13 Thread Adam Malcontenti-Wilson
Whoops, I forgot to mention I had tried both a 0.8.6 release and the master branch - they appear to be quite far apart in terms of v8 so that's another complicating factor.

Re: [node-dev] VFP2 ARM V8 Issues

2012-08-13 Thread Ben Noordhuis
On Mon, Aug 13, 2012 at 4:44 PM, Adam Malcontenti-Wilson adman@gmail.com wrote: The V8 bundled with node currently requires an ARM CPU supporting VFP3 for hard-float support, causing problems when trying to compile for ARMv6 devices like the Raspberry Pi. There is a patch that was

[nodejs] Re: Best practices for sharing code and data between the server and client

2012-08-13 Thread greelgorke
to the topic: take a look at derbyjs.org :) Am Samstag, 11. August 2012 18:21:20 UTC+2 schrieb shoshy: Nils, Thanks a lot for your quick reply. I'll test it, i did see the entry_validation, but didn't know if backbone likes to be used on both sides :) same goes with require.js... i'll

[nodejs] Re: Choose an extension is suit for nodejs ?

2012-08-13 Thread greelgorke
its not. not the extension, but the route and placement on server are key Am Samstag, 11. August 2012 12:15:56 UTC+2 schrieb bo b: NO, .js IS refer to static brower javascript . if you choose .js as page extension it would be great problem ! -- Job Board: http://jobs.nodejs.org/ Posting

[nodejs] a pakage that exports few modules

2012-08-13 Thread Osher E
Hi all most modules have an entry point, which is by default index.js. But what if my module does not have one entry point? What if it is a colleciton of many small cross-project core utility modules that i would not always want to load them all to use one of them? I mean, by doing var core =

Re: [nodejs] Best practices for sharing code and data between the server and client

2012-08-13 Thread Mariusz Nowak
See also https://github.com/medikoo/modules-webmake the idea is to use same module format on server and client side, so you can easily share same code on both sides. I use it with success. Currently I work with application for which client-side code is built of over 200 Node.js style modules

[nodejs] Re: a pakage that exports few modules

2012-08-13 Thread greelgorke
make your core configurable: // core module module.exports = function load(arrayOfSubmodules){ } Am Montag, 13. August 2012 12:02:10 UTC+2 schrieb Osher E: Hi all most modules have an entry point, which is by default index.js. But what if my module does not have one entry point? What if

[nodejs] Re: a pakage that exports few modules

2012-08-13 Thread greelgorke
make your entry point configurable: // core entry point: module.exports.libs = ['logger', 'morelib', /*all other*/]; module.exports.load = function load(libsToLoad){ var libs = {}; if(libsToLoad.indexOf('logger') =0) libs.logger = require('./logger'); //proceed for every entry in

[nodejs] Re: a pakage that exports few modules

2012-08-13 Thread greelgorke
replace //proceed for every entry in libsToLoad with //proceed for every entry in exports.libs Am Montag, 13. August 2012 13:15:34 UTC+2 schrieb greelgorke: make your entry point configurable: // core entry point: module.exports.libs = ['logger', 'morelib', /*all other*/];

Re: [nodejs] a pakage that exports few modules

2012-08-13 Thread Dan Milon
I believe there is no performance drop if you require a huge library and only use a small part of it. I mean, code memory is a small part of the total memory you use. danmilon. On 08/13/2012 01:02 PM, Osher E wrote: Hi all most modules have an entry point, which is by default index.js. But

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

2012-08-13 Thread TZ
http://stackoverflow.com/questions/11895623/npm-got-segmentation-fault-at-linux - *linux version:* [root@etone231 download]# lsb_release -a LSB Version: :core-3.1-amd64:core-3.1-ia32:core-3.1-noarch:graphics-3.1-amd64:graphics-3.1-ia32:graphics-3.1-noarch Distributor ID:

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

2012-08-13 Thread Ben Noordhuis
On Mon, Aug 13, 2012 at 11:42 AM, TZ atia...@qq.com wrote: http://stackoverflow.com/questions/11895623/npm-got-segmentation-fault-at-linux linux version: [root@etone231 download]# lsb_release -a LSB Version:

Re: [nodejs] a pakage that exports few modules

2012-08-13 Thread Christian Tellnes
You can use getters like connect does. https://github.com/senchalabs/connect/blob/master/lib/connect.js#L86-92 2012/8/13 Osher E osher...@gmail.com: Hi all most modules have an entry point, which is by default index.js. But what if my module does not have one entry point? What if it is a

[nodejs] Re: Can I add a new crl after the server has started?

2012-08-13 Thread Christian Tellnes
For reference, here is my implementation. Had I only managed to come on a better name for the module. https://github.com/tellnes/tls-cert-update -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this

[nodejs] Re: Web scraping and Memory leaking issue

2012-08-13 Thread ec.developer
After upgrading from v0.8.0 to v0.8.6 - app seems to work without any memory leaks. After checking over 4 thousands of pages, it uses around 45mb - 60mb. On Monday, July 2, 2012 4:08:13 PM UTC+3, ec.developer wrote: Hi all, I've created a small app, which searches for Not Found [404]

[nodejs] [Ann] Connect-bruteforce

2012-08-13 Thread Pedro Narciso GarcĂ­a Revington
Hi everyone, This is a module that prevents brute force login by delaying responses. It is also usefull when you want to require captcha validation after some unsuccesful tries. See README for usage. https://github.com/revington/connect-bruteforce Cheers, Pedro -- Job Board:

Re: [nodejs] Best practices for sharing code and data between the server and client

2012-08-13 Thread Jeff Barczewski
Mariusz, After reviewing your readme, webmake looks pretty nice! One idea, if you made your API signature use function (require, exports, module) then it would be compatible with AMD's commonjs signature, and there could be some nice ways to integrate with AMD modules and tools. Just

Re: [nodejs] Re: Best practices for sharing code and data between the server and client

2012-08-13 Thread Phoscur
Server not found Am 13.08.2012 09:11, schrieb greelgorke: to the topic: take a look at derbyjs.org :) Am Samstag, 11. August 2012 18:21:20 UTC+2 schrieb shoshy: Nils, Thanks a lot for your quick reply. I'll test it, i did see the entry_validation, but didn't know if backbone

Re: [nodejs] Best practices for sharing code and data between the server and client

2012-08-13 Thread Mariusz Nowak
@Jeff Thanks for that note, I might change that signature in near future just to resemble some standard, however I doubt any external tools can benefit from that, at least I can't imagine any valid use case. On Monday, August 13, 2012 6:25:45 PM UTC+2, Jeff Barczewski wrote: Mariusz, After

[nodejs] Re: Raft - PaaS - Advice from nodester / nodejitsu / haibu

2012-08-13 Thread chrismatthieu
Hi Tim, I'm the founder of Nodester, the open source Node.JS PaaS. Your project sounds really cool! Answers to your questions are provided below: - I know that nodester is hosted on AWS's and with that how many apps are hosted per server? Are the server like a 8GB/RAM 4/core pc running maybe

[nodejs] node on IBM AIX POWER7

2012-08-13 Thread rgmilone
Does anyone know if it's within the realm of feasibility to run node on IBM's AIX OS? This is IBM's UNIX OS running on IBM Power Systems hardware with POWER7 chip architecture. I can't find any references to anyone doing this so I'm thinking it might not work. I tried compiling the source

Re: [nodejs] node on IBM AIX POWER7

2012-08-13 Thread Ben Noordhuis
On Mon, Aug 13, 2012 at 6:56 PM, rgmilone rgmil...@cnxcorp.com wrote: Does anyone know if it's within the realm of feasibility to run node on IBM's AIX OS? This is IBM's UNIX OS running on IBM Power Systems hardware with POWER7 chip architecture. I can't find any references to anyone doing

Re: [nodejs] node on IBM AIX POWER7

2012-08-13 Thread rgmilone
Thanks Ben, do you know if the incompatibility goes all the way down to google v8 or is the incompatibility is with nodejs itself? I guess I'm wondering what the effort would be to make POWER a supported platform and what your feeling might be that compatibility may occur at some point in the

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

2012-08-13 Thread Matt
On Sun, Aug 12, 2012 at 2:07 PM, dvbportal dvbpor...@gmail.com wrote: So is the only solution that's going to keep the connecting IP going to be using Apache for load balancing and SSL termination? No, another solution is HAProxy for balancing and stud for termination. This combination is

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

2012-08-13 Thread Guillermo Rauch
No. Stud can use the PROXY protocol to communicate with HAProxy. From the README: stud will optionally write the client IP address as the first few octets (depending on IPv4 or IPv6) to the backend--or provide that information using HAProxy's PROXY protocol. -- Guillermo Rauch LearnBoost CTO

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

2012-08-13 Thread Matt
Oooh. Done! On Mon, Aug 13, 2012 at 2:45 PM, Guillermo Rauch rau...@gmail.com wrote: No. Stud can use the PROXY protocol to communicate with HAProxy. From the README: stud will optionally write the client IP address as the first few octets (depending on IPv4 or IPv6) to the backend--or

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

2012-08-13 Thread Mikeal Rogers
Avoid apache, use haproxy or nginx. This configuration, stud and haproxy is quite nice. I wrote a pure TCP proxy in node rather than using HAProxy. https://github.com/mikeal/stud-proxy It works great but I ditch x-forwarded-for and do any IP filtering in stud-proxy rather than the processes

[nodejs] [Ann] Prototype Light-weight processes/thread support

2012-08-13 Thread Kevin Jones
Hi All, I have created a prototype of LWP running over threads for node. There are a couple of short videos of it running at http://www.youtube.com/channel/UCEKyOjUJwxe6kTes3p-HYRg. The code pre-built Windows binary are at https://github.com/westboost/troop.js.proto. Only Windows

Re: [nodejs] node on IBM AIX POWER7

2012-08-13 Thread Ben Noordhuis
On Mon, Aug 13, 2012 at 7:27 PM, rgmilone rgmil...@cnxcorp.com wrote: Thanks Ben, do you know if the incompatibility goes all the way down to google v8 or is the incompatibility is with nodejs itself? I guess I'm wondering what the effort would be to make POWER a supported platform and what

[nodejs] Re: [Ann] Prototype Light-weight processes/thread support

2012-08-13 Thread Bradley Meck
This looks similar to the work on isolates from a while back, can you enumerate the differences and if you are managing some of the more complex state of processes like process.env / process.cwd? On Monday, August 13, 2012 1:04:09 PM UTC-5, Kevin Jones wrote: Hi All, I have created a

[nodejs] Re: [Ann] Prototype Light-weight processes/thread support

2012-08-13 Thread Kevin Jones
On Monday, August 13, 2012 9:04:57 PM UTC+1, Bradley Meck wrote: This looks similar to the work on isolates from a while back, can you enumerate the differences and if you are managing some of the more complex state of processes like process.env / process.cwd? I started from understanding

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

2012-08-13 Thread Jimb Esser
Though stud can write the IP info, as far as I can tell there's still no way to pull that out on node without building your own version of node that supports a pre-parse event before passing the stream to the HTTP parser. This is a pretty simple change and is what we do, but does require our

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

2012-08-13 Thread Matt
On Mon, Aug 13, 2012 at 5:43 PM, Jimb Esser wastel...@gmail.com wrote: Though stud can write the IP info, as far as I can tell there's still no way to pull that out on node without building your own version of node that supports a pre-parse event before passing the stream to the HTTP parser.

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

2012-08-13 Thread TZ
I'v try again, uninstall everything. then, git checkout v0.8.6 before make but still got the same error. *had follow your step:* [root@etone231 opt]# gdb --args npm GNU gdb Red Hat Linux (6.5-25.el5rh) Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU

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

2012-08-13 Thread Mihamina Rakotomandimby
On 08/14/2012 04:31 AM, TZ wrote: [root@etone231 opt]# gdb --args npm Re-read carefully. He told you: gdb --args npm list -- RMA. -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message

[nodejs] Nodejs and Backbone connect

2012-08-13 Thread almarjin
Hi, I'd like to know how to connect to Nodejs API on the server using Backbone. What I need to do is to POST, PUT, DELETE and GET. Thanks, -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message