[nodejs] Re: I finished some important JS Specifications, welcome to discuss...

2013-02-22 Thread Eldar
Javascript require system just unpaired. What's the point of this spec? Bundle format? Have a look at componentshttps://github.com/component/component/wiki/Spec in case you haven't. On Friday, February 22, 2013 7:38:11 AM UTC+4, fengchu...@gmail.com wrote: visit URL is:

Re: [nodejs] compilation error for node-v0.8.19 on Solaris SPARC 10

2013-02-22 Thread Peter Tribble
On Thu, Feb 21, 2013 at 11:13 PM, ishim...@gmail.com wrote: Hi, I am trying to compile mentioned node version on Solaris SPARC 10 As Ben said, SPARC is simply not going to work. I have also tried to download latest version from - http://www.petertribble.co.uk/Solaris/node.html and add the

[nodejs] Re: I finished some important JS Specifications, welcome to discuss...

2013-02-22 Thread Floby
I was unaware that javascript was broken. why fix it ? On Friday, 22 February 2013 04:38:11 UTC+1, fengchu...@gmail.com wrote: visit URL is: https://github.com/fch415/jss *#1 Javascript Class Specification*Summary This specification solves JS Class and Package definitions and auto

Re: [nodejs] windows-service - Run Node.JS programs as native Windows Services.

2013-02-22 Thread José F . Romaniello
Windows-service looks very nice, well done! Jeremy: winser is a wrapper around nssm with some friendly defaults for node.js. It will install the application as a service and it will run it with npm start. Some PROs I see in *winser/nssm*: - nssm in my opinion has more time around and it has

Re: [nodejs] windows-service - Run Node.JS programs as native Windows Services.

2013-02-22 Thread Stephen Vickers
Hi Jeremy, A number of small reasons why I would use windows-service instead (some people may consider some of these points moot, I don't): - Node.js and program path detection is automatic and obvious - Supports spaces in service names (although this could be fixed quite easily in

[nodejs] ld error in cross compiling for armv5t

2013-02-22 Thread dademvi
Hi, I try cross compiling for armv5t (exactly speaking armv5te). But, it occur link error for -rpath option. error log are : arm-arago-linux-gnueabi-g++ '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DENABLE_DEBUGGER_SUPPORT' '-DV8_TARGET_ARCH_ARM' '-DUSE_EABI_HARDFLOAT=0'

[nodejs] MongoDB / Mongoose - prevent field update

2013-02-22 Thread smak
Note: I am new to the Node stack and am still in the learning stages. Setup: Node / Express / Mongoose / MongoDB for a web application. Issue: How does one prevent the updating of a field in a document. i.e. createdAt or userName. In theory, some values should be created and then be

Re: [nodejs] windows-service - Run Node.JS programs as native Windows Services.

2013-02-22 Thread José F . Romaniello
Sure thing Stephen! I am the author of winser and I gave my point of view on your project and as I said it looks *very nice*, I will consider next time i have to deploy something to a windows server. for me node.js is about alternatives, so i am really glad winser is not the only option to run

[nodejs] NPM Readme vs Github Readme

2013-02-22 Thread Michal Srb
Hi, I was trying to find any information about this, but I couldn't. It seems that NPM's README rendering (on NPM website), does not use Github flavored markdown. How can I / should I practically include two separate README files, one for github and one for npm? What is the best practice? For

Re: [nodejs] NPM Readme vs Github Readme

2013-02-22 Thread Arnout Kazemier
it does GFM, it just hates coffee script flavored markdown :) On Friday 22 February 2013 at 14:13, Michal Srb wrote: Hi, I was trying to find any information about this, but I couldn't. It seems that NPM's README rendering (on NPM website), does not use Github flavored markdown. How can

Re: [nodejs] NPM Readme vs Github Readme

2013-02-22 Thread Arunoda Susiripala
ha ha. Coffee Script :P On Fri, Feb 22, 2013 at 7:03 PM, Arnout Kazemier i...@3rd-eden.com wrote: it does GFM, it just hates coffee script flavored markdown :) On Friday 22 February 2013 at 14:13, Michal Srb wrote: Hi, I was trying to find any information about this, but I couldn't. It

Re: [nodejs] Error: write EPIPE

2013-02-22 Thread Gustavo Machado
Normally it would either be the tty (we are running on windows) or the tty from a child_process, something like this: var exec = require(child_process).exec, path = require(path); function executeCommand(command, folder, callback){ var childProc = exec(command, { cwd:

[nodejs] Re: How to finish request and flush all data while continuing to do something time-consuming in Express route?

2013-02-22 Thread Ohad Kravchick
But even more generally, if you do run a CPU intensive code, like the large for-loop, keep in mind that you WILL block the server from responding until the synchronous calculation is finished. For example, another request waiting to be serviced will have to wait, even if its own processing will

Re: [nodejs] MongoDB / Mongoose - prevent field update

2013-02-22 Thread Dan Milon
It's up to you to filter and validate the input. (ok, mongoose has some basic validation but that won't help you here). here's what I do. Hope that helps: ```javascript // User.UPDATE_ATTRS is an array of the permitted attributes // for updating. // // filter returns an object with only those

[nodejs] why fallocate is not exposed?

2013-02-22 Thread funny_falcon
While eio has a call to fallocate, it is not exposed to js level. Why? -- -- 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

Re: [nodejs] why fallocate is not exposed?

2013-02-22 Thread Ben Noordhuis
On Fri, Feb 22, 2013 at 5:26 PM, funny_falcon funny.fal...@gmail.com wrote: While eio has a call to fallocate, it is not exposed to js level. Why? libeio is gone in node.js master. Re: fallocate(): what would you use it for and why? -- -- Job Board: http://jobs.nodejs.org/ Posting

[nodejs] npm.el: Emacs Library for Creating NodeJS projects

2013-02-22 Thread Azer Koçulu
Hi all, I created a new Emacs library for initializing NodeJS projects. Check it out here; https://github.com/azer/npm.el Screencast; http://www.youtube.com/watch?v=ZmKHOaSpaJk Best Azer -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines:

[nodejs] node.js database driver for SAP HANA in-memory database

2013-02-22 Thread Zhibin
Hi, Is anyone interested to build a node.js database driver for SAP HANA in-memory database? Please send me an email if you are interested! Thanks! Best Regards, Zhibin -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines:

Re: [nodejs] node.js database driver for SAP HANA in-memory database

2013-02-22 Thread TJ
On 22/02/13 20:49, Zhibin wrote: Hi, Is anyone interested to build a node.js database driver for SAP HANA in-memory database? Please send me an email if you are interested! This is something I would be very interested in pursuing. -- -- Job Board: http://jobs.nodejs.org/ Posting

[nodejs] announcing browserify v2

2013-02-22 Thread substack
browserify v2 was just released! browserify lets you write node-style require() calls for browser code so that you can package up your scripts and npm modules into a single bundle to serve to browsers. browserify implements exactly the node_modules lookup algorithm so you can use many

Re: [nodejs] announcing browserify v2

2013-02-22 Thread Mark Hahn
Ouch. I guess I will have to live with the old version until new add-ons support --watch and coffee-script. Can't live without them and don't have time to write my own. Sorry to be one the complainers you predicted. -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines:

[nodejs] Re: why fallocate is not exposed?

2013-02-22 Thread jmar777
Maybe this is just the Friday night talking, but something about a thread on fallocate exposure makes me giggle... On Friday, February 22, 2013 11:26:51 AM UTC-5, funny_falcon wrote: While eio has a call to fallocate, it is not exposed to js level. Why? -- -- Job Board:

Re: [nodejs] announcing browserify v2

2013-02-22 Thread Nathan Rajlich
Is Buffer automatically bundled when it's use is detected in your code now? On Fri, Feb 22, 2013 at 5:10 PM, Mark Hahn m...@hahnca.com wrote: Ouch. I guess I will have to live with the old version until new add-ons support --watch and coffee-script. Can't live without them and don't have

Re: [nodejs] announcing browserify v2

2013-02-22 Thread substack
On Friday, February 22, 2013 6:44:45 PM UTC-8, Nathan Rajlich wrote: Is Buffer automatically bundled when it's use is detected in your code now? Not yet but this would be fairly simple to add to the insert-module-globals module. Expect this soon. -- -- Job Board: http://jobs.nodejs.org/

Re: [nodejs] announcing browserify v2

2013-02-22 Thread Jake Verbaten
--watch is simple. Use any watching tool in combination with browserify Like `npm i wr -D wr browserify index.js bundle.js .` As for coffee-script `coffee src -o lib browserify lib/index.js bundle.js` On Fri, Feb 22, 2013 at 5:10 PM, Mark Hahn m...@hahnca.com wrote: Ouch. I guess I will