<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://permalink.gmane.org/gmane.comp.lang.javascript.nodejs">
    <title>gmane.comp.lang.javascript.nodejs</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.javascript.nodejs</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.javascript.nodejs/55781"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.javascript.nodejs/55780"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.javascript.nodejs/55779"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.javascript.nodejs/55778"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.javascript.nodejs/55777"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.javascript.nodejs/55776"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.javascript.nodejs/55775"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.javascript.nodejs/55774"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.javascript.nodejs/55773"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.javascript.nodejs/55772"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.javascript.nodejs/55771"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.javascript.nodejs/55770"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.javascript.nodejs/55769"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.javascript.nodejs/55768"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.javascript.nodejs/55767"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.javascript.nodejs/55766"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.javascript.nodejs/55765"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.javascript.nodejs/55764"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.javascript.nodejs/55763"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.javascript.nodejs/55762"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.javascript.nodejs/55781">
    <title>RE: Re: Retrieving values asynchroniously</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.javascript.nodejs/55781</link>
    <description>&lt;pre&gt;There's also nipster (http://jiyinyiyong.github.io/nipster/), which combines
github rankings with npm packages.

 

&lt;/pre&gt;</description>
    <dc:creator>Peter Rust</dc:creator>
    <dc:date>2013-05-23T20:21:17</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.javascript.nodejs/55780">
    <title>Re: Re: Retrieving values asynchroniously</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.javascript.nodejs/55780</link>
    <description>&lt;pre&gt;The most_watched &amp;lt;https://github.com/languages/JavaScript/most_watched&amp;gt; list
is awesome. Thanks for the tip.


On Thu, May 23, 2013 at 8:42 AM, Alexey Petrushin &amp;lt;
alexey.petrushin-Re5JQEeQqe8AvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:


&lt;/pre&gt;</description>
    <dc:creator>Mark Hahn</dc:creator>
    <dc:date>2013-05-23T18:46:38</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.javascript.nodejs/55779">
    <title>Re: Re: trying to wrap my head around "promises" - async vs Q</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.javascript.nodejs/55779</link>
    <description>&lt;pre&gt;Thank you gents, perfectly got it now.


On Thu, May 23, 2013 at 10:42 AM, // ravi &amp;lt;ravi-lists-EmknxpygJzU&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:


&lt;/pre&gt;</description>
    <dc:creator>Baz</dc:creator>
    <dc:date>2013-05-23T18:05:40</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.javascript.nodejs/55778">
    <title>Re: Re: trying to wrap my head around "promises" - async vs Q</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.javascript.nodejs/55778</link>
    <description>&lt;pre&gt;
Q provides you mechanisms to wrap non-promise returning calls (for both async/blocking/callback scenarios and — this is very useful — for functions that return immediately as well). If you are looking at these sort of libraries, I also heartily recommend Flow, which has the easiest learning curve IMHO: https://github.com/willconant/flow-js.

—ravi



&lt;/pre&gt;</description>
    <dc:creator>// ravi</dc:creator>
    <dc:date>2013-05-23T17:42:56</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.javascript.nodejs/55777">
    <title>RE: Re: trying to wrap my head around "promises" - async vs Q</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.javascript.nodejs/55777</link>
    <description>&lt;pre&gt;That's overstating it a bit. It's very easy to convert to promise-based code, e.g.:

var fs = require('fs');
var Q = require('q');

var readFile = Q.denodeify(fs.readFile);
var writeFile = Q.denodeify(fs.writeFile);

readFile('src.txt').then(function (result) { writeFile('dest.txt', result); }).done();

Since this conversion process is pretty mechanical, there are several libraries that have done it for you, e.g. https://npmjs.org/package/pr

________________________________
From: nodejs-/JYPxA39Uh5TLH3MbocFFw&amp;lt; at &amp;gt;public.gmane.org [nodejs-/JYPxA39Uh5TLH3MbocFFw&amp;lt; at &amp;gt;public.gmane.org] on behalf of Baz [bk&amp;lt; at &amp;gt;thinkloop.com]
Sent: Thursday, May 23, 2013 13:28
To: nodejs-/JYPxA39Uh5TLH3MbocFFw&amp;lt; at &amp;gt;public.gmane.org
Subject: Re: [nodejs] Re: trying to wrap my head around "promises" - async vs Q

Thanks Matt, so just to be crystal clear, if I'm using promises in my own code, then I happen to have a flow that depends on fs, for example, and since fs doesn't return or use promises, I would have to drop out of the promises paradigm a&lt;/pre&gt;</description>
    <dc:creator>Domenic Denicola</dc:creator>
    <dc:date>2013-05-23T17:32:25</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.javascript.nodejs/55776">
    <title>Re: Re: trying to wrap my head around "promises" - async vs Q</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.javascript.nodejs/55776</link>
    <description>&lt;pre&gt;Thanks Matt, so just to be crystal clear, if I'm using promises in my own
code, then I happen to have a flow that depends on fs, for example, and
since fs doesn't return or use promises, I would have to drop out of the
promises paradigm and manage that particular part of the flow control with
callbacks or something like asynch?


On Thu, May 23, 2013 at 7:01 AM, Matt &amp;lt;helpme-Re5JQEeQqe8AvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:


&lt;/pre&gt;</description>
    <dc:creator>Baz</dc:creator>
    <dc:date>2013-05-23T17:28:07</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.javascript.nodejs/55775">
    <title>Re: Newbie question here</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.javascript.nodejs/55775</link>
    <description>&lt;pre&gt;
Just look at the order of your `app.use()` calls.

According to passport's site, the order should be something like this:

app.configure(function() {
  app.use(express.static('public'));
  app.use(express.cookieParser()); // first
  app.use(express.bodyParser());
  app.use(express.session({ secret: 'keyboard cat' })); // second
  app.use(passport.initialize()); // third
  app.use(passport.session()); // fourth
  app.use(app.router); // fifth
});

&lt;/pre&gt;</description>
    <dc:creator>mscdex</dc:creator>
    <dc:date>2013-05-23T16:03:32</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.javascript.nodejs/55774">
    <title>Re: Re: Retrieving values asynchroniously</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.javascript.nodejs/55774</link>
    <description>&lt;pre&gt;The best rating I know https://github.com/languages/JavaScript/most_watched

By the way, not only for JS but for other langs too, usually, when I need 
something and don't know where to start - I start there, and after reading 
3-10 pages found all major solutions for my problem.

I don't like "mentored/opinionated" ratings, usually they are either too 
small and don't include all the possibilities or outdated or not objective 
or your opinion don't match with the opinion of those who mentor it :)

&lt;/pre&gt;</description>
    <dc:creator>Alexey Petrushin</dc:creator>
    <dc:date>2013-05-23T15:42:12</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.javascript.nodejs/55773">
    <title>Re: Newbie question here</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.javascript.nodejs/55773</link>
    <description>&lt;pre&gt;I am not. Can you give me some hints what this session middleware should be?

On Wednesday, May 22, 2013 5:25:54 AM UTC-7, mscdex wrote:

&lt;/pre&gt;</description>
    <dc:creator>Toddy Mladenov</dc:creator>
    <dc:date>2013-05-23T15:35:19</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.javascript.nodejs/55772">
    <title>Re: node-v0.6.18 http module the submitted url with Chinese parameter under ie9 does not recognize</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.javascript.nodejs/55772</link>
    <description>&lt;pre&gt;
On May 23, 2013, at 02:37, cheng cao wrote:


That's old. Please try 0.10.7.

&lt;/pre&gt;</description>
    <dc:creator>Ryan Schmidt</dc:creator>
    <dc:date>2013-05-23T15:04:39</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.javascript.nodejs/55771">
    <title>Re: Re: trying to wrap my head around "promises" - async vs Q</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.javascript.nodejs/55771</link>
    <description>&lt;pre&gt;

I think the problem with promises is that the core node libraries aren't
implemented with promises, so if you need to do a series of e.g. fs calls
(typical example might be open, then stat, then create a readStream from
the fd) you wind up using async anyway, or manually coding up the nested
callbacks, which can feel ugly once you've started using a particular flow
control library. And then once you start using async for one thing, it just
starts to feel natural. It just fits so perfectly with the Node ecosystem.

In short: There's nothing wrong with the promises model (although I find it
overly verbose), it's just that async fits better with node libraries.

Matt.

&lt;/pre&gt;</description>
    <dc:creator>Matt</dc:creator>
    <dc:date>2013-05-23T14:01:02</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.javascript.nodejs/55770">
    <title>Re: Correct use of HandleScope in an asynchronous node addon</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.javascript.nodejs/55770</link>
    <description>&lt;pre&gt;
Yes.  Rule of thumb: any function that manipulates V8 values somehow,
needs a HandleScope.


No, V8 takes care of that.

A Local&amp;lt;&amp;gt; is a reference to a JS value that is rooted in the current
HandleScope.  When you call a JS function, and when that function
takes out an additional reference on the value, V8 "knows" about it.
It won't garbage-collect the value until there are no more references.


&lt;/pre&gt;</description>
    <dc:creator>Ben Noordhuis</dc:creator>
    <dc:date>2013-05-23T13:41:47</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.javascript.nodejs/55769">
    <title>node-v0.6.18 http module the submitted url with Chinese parameter under ie9 does not recognize</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.javascript.nodejs/55769</link>
    <description>&lt;pre&gt;the code:

var http = require('http');
http.createServer(function (req, res) {
  console.log(req.url);
  res.writeHead(200, {'Content-Type': 'text/plain'});
  res.end('Hello World\n');}).listen(1337);
console.log('Server running at 1337');

I install the node-v0.6.18 on window7 and linux
cat /etc/issue
Red Hat Enterprise Linux AS release 4 (Nahant Update 8)
Kernel \r on an \m
the submit url is "http://127.0.0.1:1337/contacts?id=中文"

the result:
                 widnows7                                                  
                            linux
ie9             browser:get the hello world 
page                                            browser:get nothing   
                 server print: 
/contacts?id=                                                     server 
print: nothing

firefox21.0  browser:get the hello world 
page                                             browser:get the hello 
world page
                 server print:/contacts?id=%E4%B8%AD%E6%96%87             
server print:/contacts&lt;/pre&gt;</description>
    <dc:creator>cheng cao</dc:creator>
    <dc:date>2013-05-23T07:37:51</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.javascript.nodejs/55768">
    <title>Correct use of HandleScope in an asynchronous node addon</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.javascript.nodejs/55768</link>
    <description>&lt;pre&gt;

I'm writing a asynchronous Node Addon, but I have been struggling to figure 
out if I need to use a HandleScope in the "After" function that calls the 
client JavaScript callback. I've seen examples showing with and without new 
scopes, but never any explanation why. Here is an example:

void asyncWorkAfter(uv_work_t* req) {
   HandleScope scope; // &amp;lt;-- Do you need a new scope?

   const int argc = 1;
   Local&amp;lt;Value&amp;gt; foo = String::New("foo");
   Local&amp;lt;Value&amp;gt; argv[] = { foo };

   // assume I got my callback function out of req
   callback-&amp;gt;Call(Context::GetCurrent()-&amp;gt;Global(), argc,  argv);

   callback.Dispose();

   // if i use a new HandleScope, what happens to argv when we go out of scope?
   // Do i need to do something like a scope.Close() to copy argv to the parent scope?}

Do you need/want a HandleScope when you call the callback?
What happens to argv in the example if you do use a new HandleScope?


Thanks for the help!

Cecil

&lt;/pre&gt;</description>
    <dc:creator>Cecil Rock</dc:creator>
    <dc:date>2013-05-23T02:44:44</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.javascript.nodejs/55767">
    <title>RE: Re: Retrieving values asynchroniously</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.javascript.nodejs/55767</link>
    <description>&lt;pre&gt;categories?

 

The closest thing I know of is to work down NPM's "most depended on" list
(https://npmjs.org/browse/depended), for each package, you can look at the
description and keywords to get a sense of what the category it belongs in.

 

&lt;/pre&gt;</description>
    <dc:creator>Peter Rust</dc:creator>
    <dc:date>2013-05-23T13:24:41</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.javascript.nodejs/55766">
    <title>Re: Re: nodejs 0.10.x on yocto1.3</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.javascript.nodejs/55766</link>
    <description>&lt;pre&gt;Hello, and thanks for your inputs.

I've tried to rise ulimit -s to the maximum possible (i.e. 16384 on my
Fedora 18 x86-64), but to no avail.
I guess openembedded (which runs on my Fedora 18) uses a reasonnable stack
size for building, if not the "ulimit -s" one (have to check). After all,
it is for this reason that we cross-compile!

When branch "master" of openembedded switched to yocto 1.3/gcc 4.7, a lot
of extra tune features began appearing in the compile lines (at least for
my target, the beaglebone). And since openssl seems to use more than 600
source files, I can understand that this may overflow the size of the
argument list...

Best regards,

Erwin




On Wed, May 22, 2013 at 8:04 PM, Ben Noordhuis &amp;lt;info-GlD9/+i8LImWrUy98/Atqw&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:


&lt;/pre&gt;</description>
    <dc:creator>Erwin Schaefer</dc:creator>
    <dc:date>2013-05-23T09:35:26</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.javascript.nodejs/55765">
    <title>Re: Re: Run node.js on W2k?</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.javascript.nodejs/55765</link>
    <description>&lt;pre&gt;I have to say this post scares me a little. You are trying to get node
running on one very old OS with a huge security risk. It's not even funny.

You'd be better off taking the machine and putting Unbuntu on it or ANY
other current OS.




On Wed, May 22, 2013 at 9:19 PM, Bert Belder &amp;lt;bertbelder-Re5JQEeQqe8AvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:


&lt;/pre&gt;</description>
    <dc:creator>Adam Reynolds</dc:creator>
    <dc:date>2013-05-23T09:17:23</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.javascript.nodejs/55764">
    <title>Re: Re: trying to wrap my head around "promises" - async vs Q</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.javascript.nodejs/55764</link>
    <description>&lt;pre&gt;


I am new to Node and trying to decide between promises, asynch and vanilla, 
there are so many good arguments for each. Mikeal, do you mind expanding 
further how using promises in your own, non-shared, code could hinder use 
of node? Do a lot of the libs that depend on asynch require you to use 
asynch as well (or make things easier if you do)?

Best,
Baz


On Sunday, November 11, 2012 10:46:05 PM UTC-8, Mikeal Rogers wrote:

&lt;/pre&gt;</description>
    <dc:creator>Baz</dc:creator>
    <dc:date>2013-05-23T07:29:45</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.javascript.nodejs/55763">
    <title>Re: Re: Retrieving values asynchroniously</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.javascript.nodejs/55763</link>
    <description>&lt;pre&gt;I'm a node newb and I don't know enough to make my own judgments between
various (generally very professionally written) frameworks/libs. I rely on
the wisdom of the community and generally my first step in researching a
solution is to search github and order by most stars. I then google to be
sure or search the mailing list, which is how I got here. I want to find
and use tools that embody the spirit of Node, that most people use, that
stay as close to the metal as possible, and with minimum abstractions to
get what I need done. The answer I was unequivocally looking for is to use
asynch - regardless of whether it's the best or not.

I ended up reading a lot of Bruno's Ramblings (that's the name of his
blog), and a lot about streamline, and it's clear that Bruno's not only
hyper-intelligent but an excellent communicator. Streamline seems really
cool, but it's way more than an asynch tool, and an entire paradigm shift
on how to write node. One that would be irresponsible of me to take on
before learning the &lt;/pre&gt;</description>
    <dc:creator>Baz</dc:creator>
    <dc:date>2013-05-23T06:24:02</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.javascript.nodejs/55762">
    <title>Re: Run node.js on W2k?</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.javascript.nodejs/55762</link>
    <description>&lt;pre&gt;

Windows XP SP3 and Windows Server 2003 are the oldest supported versions. 

&lt;/pre&gt;</description>
    <dc:creator>Bert Belder</dc:creator>
    <dc:date>2013-05-22T20:19:21</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.javascript.nodejs/55761">
    <title>Re: I am finding it Hard to use node.js</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.javascript.nodejs/55761</link>
    <description>&lt;pre&gt;Hi, Kaweesi.

Typically the way to run a node program is from your regular command
line interface.  (Either the bash shell in Unix systems, or the `cmd`
program on Windows.)

Write your javascript codes in a file called "server.js".  Then, on
the command line, cd into the folder containing that file, and type:

    node server.js

It sounds like your'e on Windows.  If so, then the program with the
Node icon is the "repl".  This stands for "Read Evaluate Print Loop".
In this program, you can type a few codes, and node will run it, and
print the results, and then prompt you to enter more codes.  You can
also get here by typing `node` on the regular command line without any
arguments.




On Wed, May 22, 2013 at 12:05 AM, Kaweesi Simon &amp;lt;kaweesimon-Re5JQEeQqe8AvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:

&lt;/pre&gt;</description>
    <dc:creator>Isaac Schlueter</dc:creator>
    <dc:date>2013-05-22T19:25:29</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.lang.javascript.nodejs">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.lang.javascript.nodejs</link>
  </textinput>
</rdf:RDF>
