Re: [nodejs] about running node.js v0.8.x on Android / iOS / WP8

2013-03-22 Thread Ryan Schmidt
What do you mean? On Mar 21, 2013, at 21:18, tom zs68j...@gmail.com wrote: Not sure if it's possible to follow Chrome browser rule on iOS. -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this

[nodejs] Re: NodeJS don't open in some clients with router

2013-03-22 Thread greelgorke
by reading http://www.catb.org/esr/faqs/smart-questions.html and asking again? Am Donnerstag, 21. März 2013 23:46:40 UTC+1 schrieb Erick Eden: hello I have my server node and some clien's can't conect on the Nodeserver. if the client use your internet conection without router so can

[nodejs] Re: Module pattern feedback

2013-03-22 Thread greelgorke
there is nothing to complain about, aside of self modifying code and violation of the principle of least astonishment. but there are (at least) 2 other ways to do this without code modification: 1. module.exports = function(opts){ if( ! isInitialized ){ // do something with opts // if

Re: [nodejs] How to specify a gyp file name when using node-gyp?

2013-03-22 Thread Jerry Yin
Thanks. On Friday, March 22, 2013 2:50:34 AM UTC+8, Nathan Rajlich wrote: Ben is correct. `binding.gyp` is the enforced filename for node native addons. On Thu, Mar 21, 2013 at 12:00 AM, Ben Noordhuis in...@bnoordhuis.nljavascript: wrote: On Thu, Mar 21, 2013 at 9:30 AM, Jerry Yin

Re: [nodejs] When a HTTP client was hung-up, then the HTTP server is hung-up!

2013-03-22 Thread Ben Noordhuis
On Fri, Mar 22, 2013 at 6:17 AM, 長島徹 star.c...@gmail.com wrote: Hello everyone. (Sorry, my English is poor) I made a HTTP server. I am using HTML5 Server-Sent Events [http://dev.w3.org/html5/eventsource/] on the server to push notifications. Under the conditions, when a HTTP client was

Re: [nodejs] Re: NodeJS don't open in some clients with router

2013-03-22 Thread Erick Eden
You wanna help?... Em 22/03/2013 05:05, greelgorke greelgo...@gmail.com escreveu: by reading http://www.catb.org/esr/faqs/smart-questions.html and asking again? Am Donnerstag, 21. März 2013 23:46:40 UTC+1 schrieb Erick Eden: hello I have my server node and some clien's can't conect on the

Re: [nodejs] Re: NodeJS don't open in some clients with router

2013-03-22 Thread greelgorke
i do already. first you have to provide more comprehend informations about your setup, your code, network etc. that's what the link is about. Am Freitag, 22. März 2013 12:27:31 UTC+1 schrieb Erick Eden: You wanna help?... Em 22/03/2013 05:05, greelgorke greel...@gmail.com javascript:

[nodejs] Re: Annc: StrongLoop Node v1.0 Beta 2 is out

2013-03-22 Thread Charlie Key
Congrats, looks like some very interesting stuff. Going to spend some time checking it out. Charlie On Thursday, March 21, 2013 7:14:11 PM UTC-4, Jimmy Guerrero wrote: We are pleased to announce the availability of StrongLoop Node Beta 2. Aside from the usual bugfixes, this release ships

[nodejs] Re: [ANN] jsmc - Minecraft server written in Node

2013-03-22 Thread Charlie Key
+1 on all replies. Very cool stuff, can't wait to try it out. On Wednesday, October 31, 2012 8:31:13 AM UTC-4, Conrad Pankoff wrote: Hey noders! Over the weekend/first part of this week I've started writing a Minecraft server entirely in JavaScript, to experiment with different types of

Re: [nodejs] Re: Annc: StrongLoop Node v1.0 Beta 2 is out

2013-03-22 Thread Addison Higham
Is slnode also being distributed as an npm module? I would love to check it without having to install the whole package... On Fri, Mar 22, 2013 at 9:08 AM, Charlie Key char...@paranoidferret.comwrote: Congrats, looks like some very interesting stuff. Going to spend some time checking it

[nodejs] should a domain error still throw uncaught exception

2013-03-22 Thread Rich Schiavi
Subject says it all. Have a domain, it's properly catching an error, however, the process.on('uncaughtException') still gets the error. This seems wrong. Most articles an example on domains point out to use them to avoid the uncaughts, but the uncaught is still thrown Thanks, Rich -- --

[nodejs] Re: EPIPE with error handler still throwing uncaught/domain error

2013-03-22 Thread Rich Schiavi
As a follow up, if anyone else sees this, this post was helpful and appears related, all streams need the on error listener https://groups.google.com/forum/?fromgroups=#!searchin/nodejs/EPIPE/nodejs/lJYT9hZxFu0/brImF1aRFlMJ On Thursday, March 21, 2013 8:36:51 PM UTC-7, Rich Schiavi wrote:

Re: [nodejs] Windows Services with Node

2013-03-22 Thread Corey Butler
In case anyone comes around to this post later (like myself), the issues with C:\Program Files (x86)\ are typically permission related, especially if the process works from another directory. Even an account that has administrative privileges to create a process will choke in this directory.

[nodejs] Is it possible to create a node.js module wich uses c libraries for database connection?

2013-03-22 Thread Gaurav Meena
I am trying to connect monetdb with node.js. I have a simple (20 line) c program which can query moentdb using mapi libraries. can I use those libraries to build something(module/addon) for node.js which uses these libraries and connect to monetdb. (using odbc is an option but it have its

Re: [nodejs] Re: node server getting stuck

2013-03-22 Thread Lars Jacob
I already considered high number of open connections, but it's an test environment and ss -s and losf -i both show 100 open sockets at any given time. I also was thinking about the fact that console logs are blocking... We are using winston for logging. I'll try to disable the console transport

[nodejs] Re: Is it possible to create a node.js module wich uses c libraries for database connection?

2013-03-22 Thread Bradley Meck
If you just want to call into C https://github.com/rbranson/node-ffi or If you actually need to deal with the event loop (such as doing things in multiple threads and queueing them on the loop): http://nodejs.org/api/addons.html On Friday, March 22, 2013 11:10:49 AM UTC-5, Gaurav Meena wrote:

[nodejs] Re: Is it possible to create a node.js module wich uses c libraries for database connection?

2013-03-22 Thread am_p1
what's wrong with odbc? node-odbc is working great for me (with db2) and it's non-blocking and async like node On Friday, March 22, 2013 12:10:49 PM UTC-4, Gaurav Meena wrote: I am trying to connect monetdb with node.js. I have a simple (20 line) c program which can query moentdb using mapi

[nodejs] Re: Is it possible to create a node.js module wich uses c libraries for database connection?

2013-03-22 Thread Gaurav Meena
In c++ addon I have looked at github, full code is written with v8/node headers... I am not sure if a library purely written in c can be added to addon I see most of the users criticizing node.js for lack of db libs if it can be done then all dbs can be connected through node.js . it

Re: [nodejs] Re: Is it possible to create a node.js module wich uses c libraries for database connection?

2013-03-22 Thread Tim Caswell
Node can easily consume C libraries through V8 Bindings written in C++ or through the ffi module as Bradley said. The only catch is those C libraries need to never block on I/O. If they do, they will kill the node server's performance since node is single-threaded. Any existing library that

[nodejs] Re: Is it possible to create a node.js module wich uses c libraries for database connection?

2013-03-22 Thread Gaurav Meena
thanks I will try to work with ffi @am_p1 regarding odbc...its just heavier and one extra installation...usually any db comes with specific libraries (need not be ODBC) and we can make a client app using these. In case of monetdb, i first have to download odbc odbc-dev packages and do some

[nodejs] Re: Is it possible to create a node.js module wich uses c libraries for database connection?

2013-03-22 Thread Gaurav Meena
^sorry If my knowledge is incomplete -- -- 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 this group, send email to

Re: [nodejs] about running node.js v0.8.x on Android / iOS / WP8

2013-03-22 Thread Akhil Wali
Not sure if it's possible to follow Chrome browser rule on iOS Right. Chrome managed to use V8 in an app on iOS; so why not any app using V8 via node? IMHO I think there IS a sandbox somewhere in the app itself. Is that possible? On Fri, Mar 22, 2013 at 11:58 AM, Ryan Schmidt

[nodejs] npm ERR! 404 'beautifyjs' is not in the npm registry.

2013-03-22 Thread maciej . bak
npm http 404 https://registry.npmjs.org/beautifyjs npm ERR! 404 'beautifyjs' is not in the npm registry. npm ERR! 404 You should bug the author to publish it npm ERR! 404 npm ERR! 404 Note that you can also install from a npm ERR! 404 tarball, folder, or http url, or git url. npm ERR! System

[nodejs] node js with sql

2013-03-22 Thread Adva
im executing a stored procedre in node.js using jsonStringify to show the results in the console. but now i want to put the results in a html table using tr and td. how can i do it? thank you! -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines:

[nodejs] Re: Tedious - Problem in sending response

2013-03-22 Thread Ibrahim Gaal
Hi Guys, I'm also very new to node, and would appreciate any help you can provide. I have a http webserver created in node js. once you hit the server I'd like it respond with some json data. I'm able to connect to my sql server database using the tedious module. I can extract data from my

[nodejs] Re: Is it possible to create a node.js module wich uses c libraries for database connection?

2013-03-22 Thread Bruno Jouhier
There is node-db: https://github.com/mariano/node-db On Friday, March 22, 2013 5:10:49 PM UTC+1, Gaurav Meena wrote: I am trying to connect monetdb with node.js. I have a simple (20 line) c program which can query moentdb using mapi libraries. can I use those libraries to build

[nodejs] Re: Is it possible to create a node.js module wich uses c libraries for database connection?

2013-03-22 Thread Gaurav Meena
@Bruno Jouhier it only supports mysql and drizzle. and its something like collection of all db modules -- -- 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

[nodejs] Re: npm ERR! 404 'beautifyjs' is not in the npm registry.

2013-03-22 Thread greelgorke
yes: npm ERR! 404 You should *bug the author* to publish it or choose another package Am Freitag, 22. März 2013 20:32:20 UTC+1 schrieb macie...@sgrouples.com: npm http 404 https://registry.npmjs.org/beautifyjs npm ERR! 404 'beautifyjs' is not in the npm registry. npm ERR! 404 You should bug

[nodejs] Re: Is it possible to create a node.js module wich uses c libraries for database connection?

2013-03-22 Thread Bruno Jouhier
It also supports Oracle. I mentioned it because it is an example of a C++ module connecting node to dbs. Could be a source of inspiration for what you want to do. On Friday, March 22, 2013 9:19:57 PM UTC+1, Gaurav Meena wrote: @Bruno Jouhier it only supports mysql and drizzle. and its

Re: [nodejs] node js with sql

2013-03-22 Thread Ryan Schmidt
On Mar 22, 2013, at 13:48, Adva wrote: im executing a stored procedre in node.js using jsonStringify to show the results in the console. but now i want to put the results in a html table using tr and td. how can i do it? thank you! What have you tried so far? Show us your code. -- --

Re: [nodejs] about running node.js v0.8.x on Android / iOS / WP8

2013-03-22 Thread Mikeal Rogers
Chrome for iOS does not use v8. http://allthingsd.com/20120628/googles-chrome-for-ios-is-more-like-a-chrome-plated-apple/ -Mikeal On Mar 22, 2013, at 3:54PM, Ryan Schmidt google-2...@ryandesign.com wrote: Ah. I had not realized that Chrome was available in the iOS App Store. If they are

[nodejs] Should node core ever throw Errors?

2013-03-22 Thread Adam Crabtree
Or, my thoughts on what's broken and how to fix node's error handling. Please add your thoughts: https://github.com/joyent/node/issues/5114#issuecomment-15328612 Cheers, Adam Crabtree -- Better a little with righteousness than much gain with injustice. Proverbs 16:8 -- -- Job Board:

[nodejs] debug option

2013-03-22 Thread Angelo Chen
Hi, trying out this debug option in the node 0.10.01, a simple test.js like this: function hello() { var x = 1 debugger console.log(x) } hello() node debug test1.js cont i can see it breaks at line debugger, then I do: print x but got only three dots: ... what am I

[nodejs] Re: debug option

2013-03-22 Thread Angelo Chen
have to answer my own question, the print command seems not supported in the debug client of nodejs, following works: repl x then contrl c to go back to the debug mode, cont On 3月23日, 上午11时38分, Angelo Chen angelochen...@gmail.com wrote: Hi, trying out this debug option in the node 0.10.01, a

Re: [nodejs] node js with sql

2013-03-22 Thread Adva
בתאריך יום שבת, 23 במרץ 2013 00:49:23 UTC+2, מאת ryandesign: On Mar 22, 2013, at 13:48, Adva wrote: im executing a stored procedre in node.js using jsonStringify to show the results in the console. but now i want to put the results in a html table using tr and td. how can i do it?