Don't know what you call expensive, but Linode's (https://welcome.linode.com
) $5 plan (or any other similar VPC) are quite affordable.
Other options from them at https://www.linode.com/pricing
I've had great luck with Linode in the past.
Other options would be Amazon, GCP (Google), Azure,
2nd response from google for exactly that question answers this best:
(from
http://stackoverflow.com/questions/35238667/is-npm-dependent-on-the-os-of-a-computer
with slight inline edits)
The binary, npm, that you install is platform dependent, as is node.js.
That's why there are different
Since you can overload the way that Require works you don't actually need a
"change" to Node you can just add in your own loader, as an example here is
a very simple YAML loader:
const fs = require('fs');
const yaml = require('js-yaml');
require.extensions['.yaml'] =
require.extensions['.yml'] =
Personally, I prefer to install Node through NVM (
https://github.com/creationix/nvm) for development environments. For our
stage, QA, and production environments we use the prebuilt image.
As for advantages, honestly, I can't find any unless you plan on working on
the Node codebase yourself.
Never heard that before. Having worked on some very large Node.js projects
I can tell you that 5k is no magic number, lots of code bases, libraries,
and projects will have source files over 5k.
Really what you have to watch out for is spaghetti code that is easy to
accidentally end up with.
Actually, yes, there is a way to intercept the http request/response
mechanic. This is some working code that I will be cleaning up at some
point, but for now it could suffice as a reference. Of course you can also
use the precis-client-logger with the precis-file-adapter or
Well, you could use something like (the soon to be released) Precis (
https://github.com/precis-logging/precis) project. Built on top of a
centralized event message bus (by default it will use MongoDB capped
collections) and already being used for 100,000+ messages a second.
The event bus used
You can almost always find something on the Essential JavaScript Links
repository:
https://gist.github.com/ericelliott/d576f72441fc1b27dace
From there, maybe this will help:
- The Two Pillars of JavaScript Part 2: Functional Programming
He is calling the job listings ads. IMHO they are out of the way and below
the valuable content. Not like your paying for npmjs so really there
shouldn't be a complaint, they have to make their $$ someplace and I'd
rather it be from a couple job listings in the bottom right corner of the
page
Is there any way to actually capture exceptions from code running
vm.runInNewContext or vm.runInContext, etc...? Seems there should be an
on('error') or something callback but can't find it.
Wrapping the call in try/catch does't capture anything that is within an
async call within the script
Hadn't thought of wrapping the code in a domain, thanks for the idea. Will
give that a try and see if it gets me closer. Trying to catch typos on a
remote SSH client instead of just getting a generic Hapi error back.
On Wed, Dec 10, 2014 at 9:49 PM, Andrey andrey.sido...@gmail.com wrote:
no.
Thanks, if nothing else that's a great starting point :)
On Mon, Nov 10, 2014 at 3:49 AM, greelgorke greelgo...@gmail.com wrote:
i have used https://github.com/tj/node-monquery but beware, the
maintainer isn't doing node anymore.
Am Freitag, 7. November 2014 20:29:10 UTC+1 schrieb Jeremy:
This seems like a common enough scenario that their is probably already a
module for it, so I'm asking before I start writing one :).
Given a generic free form text search input on a webpage I would like to
have it converted over to a query to be executed against my data. My
target is MongoDB
Ok, stuck again. Got everything working with the integer and pointer thing
from all the help before (thanks!) but now I'm stuck in another place. The
source files I have are .C files with .H headers. I can compile them using
node-gyp with no issues and apparently bind them to my .CC file with
Nevermind, found my own answer after finally hitting the right google
search terms.
Added
#ifdef __cplusplus
extern C {
#endif
... source code here...
#ifdef __cplusplus
}
#endif
So that the CPP compiler would know I was talking C and not CPP :)
On Mon, Oct 20, 2014 at 3:16 PM, Jeremy Darling
I'm trying to wrap up some hardware libraries for use with Node.js and have
run into a casting issue. I did some searching around, but Google and the
cheat sheets failed me. Can anyone answer how I should properly convert an
argument to a unsigned int?
LocalInteger pin =
Worked perfectly, thanks greatly!
On Thu, Oct 16, 2014 at 11:07 PM, Louis Santillan lpsan...@gmail.com
wrote:
The code you want is:
int n = ( int )( args[ idx ]-Int32Value() );
On Thu, Oct 16, 2014 at 8:46 PM, Jeremy Darling
jeremy.darl...@gmail.com wrote:
I'm trying to wrap up some
You may have to specify your shell on your embedded device. What device
and shell are you using?
On Fri, Oct 10, 2014 at 3:29 PM, cesdaile cesda...@gmail.com wrote:
Yep on the current version of ssh2 - just installed this week.
Ok - I think I am closer to figuring this out now with your
I'm not on the Node team but I would assume that it would depend on what
the V8 team decides to do since Node is basically a wrapper around V8 at
the end of the day. If the V8 team decides to enforce ES6 only (unlikely)
and not provide backward compatibility with ES5 then Node would most
I actually ran across KeystoneJS a couple of days ago while looking for a
boxed CMS solution to recommend for some projects I've been working on. It
looked interesting enough, but fell short in the same areas as almost every
other Node.js based offering on the market today (IMHO):
1) The example
You would create a fork of the repository to your own Git Repository, make
the fix in your version, and then use that git path as your dependency (
http://github.com/.../yourGitHubAccount/node-soap.git)
Also you should submit your fork as a PULL request back to fix the defect.
On Mon, Nov 11,
Oh, yeah, just put the changes into your project. If the changes are part
of a module (node-soap as an example) then you would want to change those
libraries inside the node_modules folder.
On Mon, Nov 11, 2013 at 5:25 PM, Reza Razavipour
reza.razavip...@gmail.comwrote:
m question is how to
I'd suggest looking at Theseus (for Brackets)
http://blog.brackets.io/2013/08/28/theseus-javascript-debugger-for-chrome-and-nodejs/
Has helped me debug callback soup more than once. I use it frequently on
my Lenovo IdeaPad u310 for debugging, but not for editing, so it doesn't
require a ton of
Assuming your on linux:
http://stackoverflow.com/questions/11275870/how-can-i-automatically-start-a-node-js-application-in-amazon-linux-ami-on-aws
Also, wrap your process in forever to keep it up and running in case of
faults.
If you want to go all out, services like AppFog, NodeJitsu, and etc
I would look to Rhino for use with Tibco EMS as a BW Process.
That or, the way that we actually did this, create an EMS BW Process that
acts as a bridge between a MongoMQ (MongoDB Capped Collection used as a
message queue) and TibcoEMS.
If there were a JMS Adapter for Node.js then we could put
What is the difference in this and WinSer using NSSM? I'm not picking I'm
just curious.
On Thu, Feb 21, 2013 at 4:41 PM, Stephen Vickers vortex.is...@gmail.comwrote:
Hi All,
I've created a new module named windows-service providing the ability to
run Node.JS programs as native Windows
MongoMQ is a messaging queue built on top of Node.js and MongoDB's tailable
cursors. It allows for distributed of messages across workers in both a
single reciever and broadcast method.
MongoMQ does NOT (currently) support callback's once a message is
processed. Instead it is recommended that you
Rhino is the Node.js of the Java world (traditionally speaking).
But, a distributed MQ like Zero is a way to integrate via message passing.
My MongoMQ could also be used as could just about any other MQ that is
supported by Java and Node.
If your already using an enterprise system like Tibco
I've looked and looked for a good SQL Client that worked on Windows 64 bit
for Node.js and didn't find any, so I build one myself. I started with
code from other projects but in the end just used the MS examples and
expanded them to the point that they worked.
This is being used in production
I'm not completely familiar with how express handles encoding, but when you
send over your content make sure you do a toString('utf-8') on it and on
your response object headers specify the uft-8 encoding as well.
Something similar to:
var headers = {
Content-Type: text/html;
Just because I'm curious what hosting package do you have with BlueHost? I
only see where they have an unlimited plan running $5 a month. If that is
the same one you are using I'd love to know more details about how you
setup Node and what the performance has been.
- Jeremy
On Mon, May 21,
Our experience has shown that 2 processes per core thread (IE: On an i7 you
get 8 core threads on 4 cores due to hyperthreading) balances quite well.
This isn't to say that your experience won't differ. We have all of our
code broke into logical families and utilize Hook.io as a message bus
you hit a running filly?
On Wed, May 2, 2012 at 1:08 PM, codepilot Account codepi...@gmail.comwrote:
This shit is getting skilly.
On Wed, May 2, 2012 at 11:06 AM, Mark Hahn m...@hahnca.com wrote:
This skit is getting silly.
On Wed, May 2, 2012 at 11:05 AM, Marak Squires
is mostly single threaded. Some things like
fs.* and zlib.* use a thread-pool so that they don't block the main thread,
but your js code will always run in the main thread.
On Fri, Apr 20, 2012 at 12:00 PM, Ryan Schmidt google-2...@ryandesign.com
wrote:
On Apr 20, 2012, at 07:40, Jeremy
Just curious what experiences others have had with hardware and hosting
multi-process Node app stacks using MongoDB (or similar)? So far my
testing has shown that a cluster of smaller (3 - i5's with 8GB Ram and
120GB SSD's) machines out performs a single massive server (4x4 with 64GB
Ram and
ROLF so keeping that link for future reference :)
On Monday, April 16, 2012, Dean Landolt wrote:
On Mon, Apr 16, 2012 at 1:18 PM, Mark Hahn m...@hahnca.comjavascript:_e({},
'cvml', 'm...@hahnca.com');
wrote:
Is this a server from home?
http://lmgtfy.com/?q=home+automation
On
I've had really good luck with mailer ( https://github.com/Marak/node_mailer ),
but I don't think it supports attachments. Might be easy to modify it to
support them though as basically its just Base64 encoded into the headers
based on Mime Type. Conversion of something like the code here (
Have a look at Hook.io ( https://github.com/hookio ) and Hook.io-restful (
https://github.com/jdarling/hook.io-restful ). Might just suite your
needs. Note that Hook.io 0.9 will introduce some type of balancing
mechanic that doesn't currently exist today. Restful may be a bit out of
date, but
From everything that I've read this primarily deals with Windows and its
ability to cache network communications. I have a hook.io app that with
occasionally bomb out with the ENOBUFS exception and for all of my efforts
I can't figure out how to catch and deal with this error.
I realize that the
.
- Jeremy
On Mon, Mar 26, 2012 at 8:48 AM, Ben Noordhuis i...@bnoordhuis.nl wrote:
On Mon, Mar 26, 2012 at 14:22, Jeremy Darling jeremy.darl...@gmail.com
wrote:
From everything that I've read this primarily deals with Windows and its
ability to cache network communications. I have a hook.io app
I'll see if I can't create one that just uses EventEmitter, though I have
to admit that my skills are not so (as the kids say) mad :)
- Jeremy
On Monday, March 26, 2012, Bert Belder bertbel...@gmail.com wrote:
On Mar 26, 2:22 pm, Jeremy Darling jeremy.darl...@gmail.com wrote:
From everything
I can't help you with your problem but I will say that maybe you should be
moving to node-gyp since it is the replacement for node-waf? At least
according to TTN it is :)
https://github.com/TooTallNate/node-gyp
node-gyp is a cross-platform command-line tool written in Node.js for
compiling
Thanks for the answer, didn't know that myself :). Might want to update
the docs you linked to as I don't actually see --save or -S mentioned
anywhere on that page or the install package page. Though I could be
missing it.
On Tue, Feb 21, 2012 at 10:02 PM, Thomas Blobaum tblob...@gmail.com
: 2
CPU MHz: 2399.956
Virtualization:VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 12288K
On Wed, Feb 22, 2012 at 4:16 PM, Jeremy Darling
jeremy.darl...@gmail.comwrote:
OS, Num CPUs, Firewall
Here are some I've played with. Takes a while to get invites, and in the
case of cloudno.de can be painful if you don't understand GIT very well
(I'm still learning), but it seems the better option IMHO so far
http://cloudno.de/
https://no.de/
- Jeremy
On Mon, Feb 20, 2012 at 12:31 PM,
I know this has been asked before and I've been all over Google trying to
find the solution, but I'm just not having any luck. Is there a .cgi or
.fcgi application for node? I've seen the tootallnate references to
server.cgi that makes the assumption that node is installed on the server
to begin
:50 AM, Brett Ritter swift...@swiftone.org
wrote:
On Fri, Feb 17, 2012 at 12:44 PM, Jeremy Darling
jeremy.darl...@gmail.com wrote:
I know you can build c/c++ applications as a CGI app, but I just can't
seem
to figure out how to build node as a CGI app. Anyone had any real luck
...@gmail.com wrote:
If you were just looking to play around, you could sign up for something
like nodester (http://nodester.com/)
On Fri, Feb 17, 2012 at 11:46 AM, Jeremy Darling jeremy.darl...@gmail.com
wrote:
Honestly, I didn't realize there was a free EC2 instance. Its been a few
years
48 matches
Mail list logo