The problem with doing this via npm is that npm works with the
dependencies from the package.json which is a problem for plugins,
since they are seldom known at the time the package.json is writeen.
I have done something like this for my app. What I ended up doing is
simply defining a folder
Hi Ryan,
I found this (http://kkaefer.github.com/node-cpp-modules/)
presentation helpful to get started with c++ modules.
It includes good examples (https://github.com/kkaefer/node-cpp-
modules) but covers building with node-waf only, not gyp.
-Carlos
On Apr 22, 4:50 am, Ryan r...@rycole.com
I am building 2 separate express sites:
clients website - visitors can talk to me (the admin of the site) via
chat (1 on 1 only. they can't see each other).
admin website - for me, the admin, to see all current conversations
and the ability to reply to whatever user I want.
I am using socket.io
Just to add to Nathan's comments, you're missing a libraries that points
to the the HDF5 shared library that was compiled separately. for example:
'libraries': ['/home/user/hdf5/lib/hdf5.so']
Also, I noticed that when compiling with node-gyp (which I love btw) you
need to set LD_LIBRARY_PATH
I am writing a project named 'kickstart' aim to create high performance web
APP template (not view template).
I hope the speed could close to node helloworld app.
So I need some way to benchmark my app. I use ab, but it has big problem in
Mac OS.
So, I hope, there is a tool could pass fake
Seems like you could use
http://benchmarkjs.com/
and pass in mock/fake objects to the handler functions.
Sent from an iPhone.
On Apr 22, 2012, at 9:41 AM, jason.桂林 guil...@gmail.com wrote:
I am writing a project named 'kickstart' aim to create high performance web
APP template (not view
P.s., if you write unit tests for this same code, I think the answer will
emerge on its own :). I personally like mocha for tests.
Sent from an iPhone.
On Apr 22, 2012, at 9:41 AM, jason.桂林 guil...@gmail.com wrote:
I am writing a project named 'kickstart' aim to create high performance web
Oh, wow. I did not have email notifications enabled for responses, so I did
not expect to sign in and see so many helpful responses. Thank you for
these.
I'm going over them now and will apply this insight to what I'm doing.
Also, per Nathan's suggestion, I think I will update from node 0.6.7
OneJS moves the revolution of NPM one step forward and makes it
available for client-side projects!
Does this mean you can load a module directly from the npm registry into
the client to run? Can you also query the registry?
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
What I ended up doing is simply defining a folder which all plugins
have to be in.
That seems to be a good minimalist approach.
One requirement for this project is for plugin developers to be able to
easily publish their plugins so that every app user can select which
plugins to use. So some
Separating responsibilities between different apps is almost always a good
choice. Communicating those apps through messages (eg: ømq) leads to good
architecture.
--
Guillermo Rauch
LearnBoost CTO
http://devthought.com
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
OpenID for Node.js v0.4.2 has been released. This release includes a
fix for seemingly random authentication rejects reported independently
by several parties.
You are recommended to upgrade to v0.4.2. Depending packages should
update their required version to at least v0.4.2.
For more details
I have in my app:
var friends={};
then I populate with data and looks like this:
friends['1'] = {'id':1};
but in other browser I have the same data... Why?
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received
I've also been working my way up that learning curve. One problem is that
there's a lot of dated examples that kept leading me a stray.
It took me way too long to find this and I hadn't seen it mentioned yet but
the docs included with Node are really
good: http://nodejs.org/api/addons.html
Is there no way to specify the library search path from within the
binding.gyp file? I'm just trying to see if it's possible to make `node-gyp
configure` spit `-L/usr/local/hdf5/lib` out into the Makefile, or whatever
it builds.
I'll be searching the docs, but I haven't run across it yet. I'll
On Mon, Apr 23, 2012 at 05:12, Ryan Cole r...@rycole.com wrote:
Is there no way to specify the library search path from within the
binding.gyp file? I'm just trying to see if it's possible to make `node-gyp
configure` spit `-L/usr/local/hdf5/lib` out into the Makefile, or whatever
it builds.
browserify has _by far_ the most test coverage. I know from my own dabbling
in the problem that there are _alot_ of edgecases.
https://github.com/substack/node-browserify/tree/master/test
I just use browserify now
On Mon, Apr 23, 2012 at 6:07 AM, Mark Hahn m...@hahnca.com wrote:
OneJS moves
I have adjusted the binding.gyp file to include the linker settings
required for including the HDF5 libs I need. I believe that the current gyp
file mirrors a Makefile that I am able to get working, for HDF5's stand
alone compile. The only difference is that you're supposed to run the HDF5
Does browserify let you install npm modules, similar to `ender build npm
package names, or do you have to manually download them?
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you
I need to write a service use something like in memory cache, and I want to
do `expire` things in setTimeout, will it very slow, If I expire too much
things, about kilos to millions.
--
Best regards,
Jason Green
桂林
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
Does browserify let you install npm modules, similar to `ender build npm
package names, or do you have to manually download them?
You install modules with npm, and require them in your browser's
index.js . Then you do a browserify build against that index.js and it
bundles the deps
21 matches
Mail list logo