1. mv node_modules node_modules.backup
2. npm install
`npm update` is just broken, and there is no way around it :(
On Monday, July 8, 2013 8:15:50 PM UTC+4, Maxim Yefremov wrote:
I got lib1 that depends on lib2 via git:
dependencies: {
lib2: git+ssh://g...@repo.com:userName/lib2.git
Thank you, Alex
On Jul 13, 2013 10:08 AM, Alex Kocharin a...@equenext.com wrote:
1. mv node_modules node_modules.backup
2. npm install
`npm update` is just broken, and there is no way around it :(
On Monday, July 8, 2013 8:15:50 PM UTC+4, Maxim Yefremov wrote:
I got lib1 that depends on
err... guys, what is wrong with socket.io? I used socket.io for a long time
(until moved to pure websockets 'cause screw ie6), and was quite happy with
it then.
On Tuesday, July 9, 2013 6:49:52 PM UTC+4, mgutz wrote:
I've come to the same conclusion Meteor, Pusher and you have and that
You can also try to make use of module.parent.require() function and
module.parent.parent.(...).parent.require() to get dependencies using
context of modules that required current module.
On Tuesday, July 9, 2013 7:58:47 AM UTC+4, j...@team9.com.au wrote:
Thanks for the suggestions guys,
You can pass client/socket object and whatever else you need to different
files. I see no problem with that. Also, socket.io supports namespaces
exactly for this kind of things.
PS: another good solution would be to forget about MVC forever ;)
On Sunday, June 30, 2013 8:50:29 AM UTC+4, Mike
Looks like google groups ate my images.
Response time: http://bobrik.name/uploads/temp/response-time.png
Memory usage: http://bobrik.name/uploads/temp/memory-usage.png
пятница, 12 июля 2013 г., 11:46:18 UTC+4 пользователь Ivan Babrou написал:
Hi, guys!
I encountered something very similar
So you say, destroying a stream like that should not trigger any error?
--
--
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
yield is only valid inside a function*. This is why galaxy has a 'Star'
variant for all the array methods that take a callback. So, it should work
if you replace forEach by forEachStar
Bruno
On Friday, July 12, 2013 11:47:28 PM UTC+2, cpprototypes wrote:
I'm using node 0.11.3 with
If the module exposes only one thing
var fn = require (module);
If the module exposes various things
var m = require (module);
m.a()
m.b()
var fn = m.createFn() //or create() or whatever you want
--
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
I responded a bit too quickly. To make it work with galaxy you need to
change the following:
* forEach - forEachStar
* function(id) - function*(id) for the callback
* add a yield to the forEachStar call (this is a function* so you need to
yield on it)
This will get you started but you will hit
Hi, my current project is being bitten by the cluster module's reliance on
the OS kernel to do balancing between nodejs processes. Out of 8 processes,
2 get 70% combined requests/workload. This causes our servers to
eventually stop responding, requiring a restart.
I have tried to patch
On Sat, Jul 13, 2013 at 7:46 AM, Jonathan Chetwynd j...@peepo.com wrote:
the arm-pi builds are great, but whereis:
nodejs.org/dist/v0.11.4/node-v0.11.4-linux-arm-pi.tar.gz
11.3 seems to be the latest.
thanks again
Jonathan
They're not part of the normal release process. Nathan usually
On Sat, Jul 13, 2013 at 4:18 AM, rdohe...@smugmug.com wrote:
Hi, my current project is being bitten by the cluster module's reliance on
the OS kernel to do balancing between nodejs processes. Out of 8 processes,
2 get 70% combined requests/workload. This causes our servers to
eventually stop
On Sat, Jul 13, 2013 at 10:37 AM, Benjamin Pasero
benjamin.pas...@gmail.com wrote:
So you say, destroying a stream like that should not trigger any error?
No.
--
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You
Hi,
I recently finished up https://github.com/mercmobily/JsonRestStores. I feel
a little uneasy as I haven't yet written any unit testing.
The module is tricky at best to test: it allows you to create Json REST
stores, AND interact with the store using the API directly.
So, the unit test
Since I intend to use server push technology throughout all my webapps, for
which I'm currently using socket.io, I'm also very interested to learn what
specific problems you've encountered with socket.io.
Please share your experience!
Antoine
On Sat, Jul 13, 2013 at 8:11 AM, Alex Kocharin
Thanks for the explanation!
As for hosted private repo's - that's looking cool but don't think I'd use
it since then still I've to push all modules to the cloud before building.
I want to keep things local.
Putting full paths in the requires, really don't want that - but NODE_PATH
comes to the
so I read into the source code of readable stream in fs and I can see that
destroy() calls close() in the end but it does not support any callback. it
seems to me that calling close() on the stream and passing in a callback is
much safer because I can continue when the stream is really closed.
I just published a new version (0.1.3) that makes it easier to deal with
mulitple results callback. You don't need to write a wrapper any more; you
just get the resutls as an array. So your example becomes:
var galaxy = require('galaxy');
var fs = galaxy.star(require('fs'));
var get =
I blogged about my bad experiences with socket.io here:
http://baudehlo.wordpress.com/2013/05/07/sockjs-multiple-channels-and-why-i-dumped-socket-io/
Everyone I know who used socket.io in the real world either had to disable
everything but long polling, or switch to SockJS.
On Sat, Jul 13, 2013
If you are okay with setting up and running your own servers on EC2, I'd
look into setting up a server with statsd and graphite. Then with a little
hacking you can use the metrics collection infrastructure of nodetime but
define a custom data sender that reports the data to your server instead. I
In our project we ran into the client not handshaken (
https://github.com/LearnBoost/socket.io/issues/996) loop flooding our
servers to the point of a mini DDOS. That combined with poor documentation
around advanced features like rooms, hard to follow code, and trouble
trying to get clustering
Is it possible to run grunt
nodeunithttps://github.com/gruntjs/grunt-contrib-nodeunittests and dont stop
if any test failed?
I want it to continue and show failed and passed tests in the end. Because
if you have 100 long test you should restart them and wait again and again
if some of them
Well that seems obvious enough - the event is even listed in the http
module's docs, but it's not mentioned that emitting it works like that.
I'll try it
On Friday, July 12, 2013 5:21:23 PM UTC-4, Ben Noordhuis wrote:
On Fri, Jul 12, 2013 at 2:59 AM, Daniel Lamando
Because its mostly a hack. You may want to take a look at how node-spdy
handles similar problem: https://github.com/indutny/node-spdy
Cheers,
Fedor.
On Sun, Jul 14, 2013 at 12:50 AM, Daniel Lamando m...@danopia.net wrote:
Well that seems obvious enough - the event is even listed in the http
Well there is no admin panel
On Thursday, July 11, 2013 3:17:37 PM UTC+5:30, hacksparrow wrote:
Include screenshots of the admin panel.
On Thu, Jul 11, 2013 at 11:31 AM, Akshat Jiwan Sharma
aksha...@gmail.comjavascript:
wrote:
http://brislink.github.io/specter/
I would l love
This depends largely on load. If you're talking about an application with
a single or very small number of users, then determining raw speed will
determine server vs client. However, if you have multiple concurrent
requests then it will usually be faster to push the work to the client as
I thought it would be interesting to extend the work done by PLV8, by
including not just V8 but also Node's deps and source so that I could have
access to all of Node's features inside Postgres through it's PL extension
framework. Doing so required using Node as a shared library, so for anyone
I'm deciding on a template engine to use for a simple first Node.js site
and am curious if there are any usage statistics anywhere. I searched and
didn't find any.
I've seen performance statistics but don't feel they're relevant since I
don't expect templating to be a bottleneck. I've
Screw websockets, it doesn't work the same way on all browsers, it doesn't
work with some reverse proxies, it doesn't work on some PaaS and even those
PaaS that advertise websockets sometimes have problems. And now even the
frameworks with fallback support have problems.
For most applications
The API has changed a lot because of the V8 changes. I'm trying to dig
through the header files and the node diff
(https://github.com/bnoordhuis/node/commit/eb3a6c909dbd5086e7bc28013b61acbfcbefdc8d)
but I'm a bit lost.
Does anyone have some kind of cheat sheet that gives the most common
The main things I'm having trouble with are PersistentT (an example would
be helpful) and Buffer (the class is gone, there is just a namespace).
On Saturday, July 13, 2013 9:20:29 PM UTC+2, Bruno Jouhier wrote:
The API has changed a lot because of the V8 changes. I'm trying to dig
through
plug( {shameless: true} );
I invite you to try and test probably the least used template engine (since
i just released it a few days ago) - template-tal. Well, while the module
itself is not very popular, TAL a clean and relatively known templating
specification.
v0.11.4 and v0.10.13 for arm-pi are now built and uploaded.
On Sat, Jul 13, 2013 at 3:43 AM, Ben Noordhuis i...@bnoordhuis.nl wrote:
On Sat, Jul 13, 2013 at 7:46 AM, Jonathan Chetwynd j...@peepo.com wrote:
the arm-pi builds are great, but whereis:
OK. I managed to get my first addon converted (and it passes basic tests).
Unfortunately it is not public so I cannot give it as example
I did it with some silly macros that let me support both the old and new
APIs:
#ifdef NEWAPI
#define BUFFER LocalValue
#define BUFFERCONV(ARG) (ARG)
#define
Thank you,
I always think server side is faster because it is run by C++. But user
base would grow over time. Use sense sometimes not make sense.
--
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this
How do you authenticate yourself, CRUD posts, manage images, files etc? I'd
want a blogging platform to be able to do those at the bare minimum.
On Sat, Jul 13, 2013 at 11:39 PM, Akshat Jiwan Sharma akshatji...@gmail.com
wrote:
Well there is no admin panel
On Thursday, July 11, 2013
37 matches
Mail list logo