I use one indirectly.
I have a lazy mongo module https://github.com/Raynos/mongo-col that opens
up one db connection and buffers all your database interactions until it's
open.
This gives the illusion that your database is open immediately.
The nice thing is that you can just require it
What's wrong with parking database connections in a module?
Most high level database libraries use a pool of connections internally and
give you a simple API on top. They have effectively hidden the database
connection in the module.
On Thu, Dec 6, 2012 at 8:47 PM, Forrest L Norvell
i am using child process to download zip file extract it rename it and
remove the archive
this is the best i came up with
http://pastebin.com/7TyJdA1e
but when i decided to handle the exception i have imagined how hard it will
be
any recommendations
--
Job Board: http://jobs.nodejs.org/
Hi..
I want to know how i can create file and append string(text) data inside it
in c++ addon (.cc) file of node.js ??
I have used below code to do same, but not able to find file data.txt in
my ubuntu machine.
FILE * pFileTXT;
pFileTXT = fopen (data.txt,a+);
const char * c =
On Fri, Dec 7, 2012 at 1:03 PM, Mayur mayur.da...@avinashi.com wrote:
Hi..
I want to know how i can create file and append string(text) data inside it
in c++ addon (.cc) file of node.js ??
I have used below code to do same, but not able to find file data.txt in
my ubuntu machine.
FILE
Sorry Ben,
May be i have posted the question at wrong place.
Let's we will not look at code, may be it contains errors, but can you
guide me on issue : it is possible to create file into c++ Addon for
node.js module..??
On Fri, Dec 7, 2012 at 5:49 PM, Ben Noordhuis i...@bnoordhuis.nl wrote:
On Fri, Dec 7, 2012 at 2:01 PM, Mayur Dabhi mayur.da...@avinashi.com wrote:
Sorry Ben,
May be i have posted the question at wrong place.
Let's we will not look at code, may be it contains errors, but can you guide
me on issue : it is possible to create file into c++ Addon for node.js
I'm guessing you started here:
https://github.com/WindowsAzure/node-sqlserver
And this gives a basic overview:
http://blogs.msdn.com/b/sqlphp/archive/2012/06/08/introducing-the-microsoft-driver-for-node-js-for-sql-server.aspx
Let me know if you need any help!
On Friday, November 9, 2012 1:34:23
Hi All,
I want to know has anyone tried to run NodeJs inside JVM? Or is there any
specific approach we need to employ to get this done?
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message
I am in the process of learning node.js and using mongoose for Mongodb. I
am following an example from a tutorial to connect to hosted mongodb. I am
getting the error message: 'database names cannot contain the character '.'
Here is my code:
//
On Fri, Dec 7, 2012 at 11:03 AM, prashant pandey
prashant.pra...@gmail.comwrote:
I want to know has anyone tried to run NodeJs inside JVM? Or is there any
specific approach we need to employ to get this done?
Since Node is only partly the JavaScript code of the standard library and
Yeah, you should also checkout vert.x (http://vertx.io/)
On 7 December 2012 21:57, Forrest L Norvell forr...@newrelic.com wrote:
On Fri, Dec 7, 2012 at 11:03 AM, prashant pandey
prashant.pra...@gmail.com wrote:
I want to know has anyone tried to run NodeJs inside JVM? Or is there any
Remove the space before the @ sign in your address variable.
-- Daniel R. dani...@neophi.com [http://danielr.neophi.com/]
On Fri, Dec 7, 2012 at 2:40 PM, man12 mnazar...@gmail.com wrote:
var mongoose = require('mongoose');
var Schema = mongoose.Schema;
module.exports.mongoose = mongoose;
I believe Nashorn purports to be a Node compatible JS engine on the JVM
https://oracleus.activeevents.com/connect/sessionDetail.ww?SESSION_ID=6661tclass=popup
http://www.theregister.co.uk/2012/11/27/project_nashorn_server_javascript/
Space is not there. That's just a typo on my part.
On Friday, December 7, 2012 4:35:34 PM UTC-6, Daniel R. wrote:
Remove the space before the @ sign in your address variable.
-- Daniel R. dan...@neophi.com javascript: [http://danielr.neophi.com/
]
On Fri, Dec 7, 2012 at 2:40 PM, man12
Do the variables username or password contain spaces, colons, slashes or other
special characters? If so they need to be percent-encoded for use in a URL.
On Dec 7, 2012, at 18:42, man12 wrote:
Space is not there. That's just a typo on my part.
On Friday, December 7, 2012 4:35:34 PM
var buf = new Buffer[1];
console.log(buf[0]);
The above code will print a random value of buf[0], anyone know why the
default value of a buffer element is not 0 but a random one, and what's the
rule of the value?
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
var buf = new Buffer(1);
console.log(buf[0]);
The above code will print a random value of buf[0], anyone know why the
default value of a buffer element is not 0 but a random one, and what's the
rule of the value?
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
Its just allocated space, there's no default. It defaults to whatever
the previous process which owned that chunk of memory wrote there.
danmilon.
On 12/08/2012 04:14 AM, Goddy Zhao wrote:
var buf = new Buffer(1); console.log(buf[0]);
The above code will print a random value of buf[0],
I would guess the rule is that there is no rule.
On Fri, Dec 7, 2012 at 6:13 PM, Goddy Zhao goddy...@gmail.com wrote:
var buf = new Buffer[1];
console.log(buf[0]);
The above code will print a random value of buf[0], anyone know why the
default value of a buffer element is not 0 but a random
20 matches
Mail list logo