[nodejs] example of network protocol implementation based on streams2 api?

2015-02-02 Thread falcon
Hi, Is there an example or a tutorial which shows how to implement a tcp based protocol, based on the streams2 api? Several tutorials I've found show how to publish a stream of numbers or other simple, non-network streams. I have a protocol which sits on top of tcp. It has the usual characteri

[nodejs] Support plugin system in Node.js

2015-02-02 Thread Shao Tian
Is there any way to implement plugin system in Node.js like the one in Atlassian JIRA? For example, I may have a main page for displaying all the plugins. Each plugin is like an independent web app, containing both html and node.js backend code. If I select one plugin in the main page, the main

[nodejs] Re: list question

2015-02-02 Thread Thomas Shinnick
Whenever you see something you don't recognize, that just might be part of Javascript you didn't know about, try checking with one of the Javascript reference sites. I'm sure there are a few opinions which is 'best', but I just check the Mozilla site, such as searching for "mdn javascript forea

[nodejs] list question

2015-02-02 Thread Roelof Wobben
Hello, I doing exercises of nodeschool. I have to filter some data in a list so I did ~~~ for (var i=0, i < list.length , i++ ) { if file.ext = ext then { console.log(print item[i] } } but in the official solution I see this : ~~~ List.foreach { if file.ext = ext

Re: [nodejs] v8 profiling: 0.11.15 and 0.11.16 give two v8.log files

2015-02-02 Thread Irina Tchernouchina
Thank you, indeed running without debug flags produces only one file Tried the option, it works :) On Monday, 2 February 2015 15:50:06 UTC+1, Ben Noordhuis wrote: > > On Mon, Feb 2, 2015 at 2:42 PM, Irina Tchernouchina > > wrote: > > Hi, > > > > I have a question concerning V8 profiling. > >

Re: [nodejs] v8 profiling: 0.11.15 and 0.11.16 give two v8.log files

2015-02-02 Thread Ben Noordhuis
On Mon, Feb 2, 2015 at 2:42 PM, Irina Tchernouchina wrote: > Hi, > > I have a question concerning V8 profiling. > Starting from 0.11.15, for versions 0.11.15 and 0.11.16, using > > node --prof --log-timer-events --logfile=v8_02_02_15.log > > I see two log files created, with names like > "isolate-

[nodejs] Re: [ANN] mongoskin@1.3.20-alpha published refctor mongoskin

2015-02-02 Thread Barry Kaplan
This project confounds me. Updates are being announced here, and quite a few actively maintained projects depend on it. Yet the first you see at its github project is: NOT maintained and LOOKING FOR A MAINTAINER -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/ot

[nodejs] v8 profiling: 0.11.15 and 0.11.16 give two v8.log files

2015-02-02 Thread Irina Tchernouchina
Hi, I have a question concerning V8 profiling. Starting from 0.11.15, for versions 0.11.15 and 0.11.16, using node --prof --log-timer-events --logfile=v8_02_02_15.log I see two log files created, with names like "isolate-03480048-v8_02_02_15.log" (Have tried several applications) *My question