<?xml version="1.0" encoding="UTF-8"?>
<feed xml:lang="en-US" xmlns="http://www.w3.org/2005/Atom">
  <title>Paul Gross's Blog - All Comments</title>
  <id>tag:www.pgrs.net,2010:mephisto/comments</id>
  <generator uri="http://mephistoblog.com" version="0.8.0">Mephisto Drax</generator>
  <link href="http://www.pgrs.net/feed/all_comments.xml" rel="self" type="application/atom+xml"/>
  <link href="http://www.pgrs.net/" rel="alternate" type="text/html"/>
  <updated>2010-07-31T22:23:15Z</updated>
  <entry xml:base="http://www.pgrs.net/">
    <author>
      <name>Michael Bridgen</name>
    </author>
    <id>tag:www.pgrs.net,2010-02-28:14647:17703</id>
    <published>2010-07-31T22:23:15Z</published>
    <updated>2010-07-31T22:23:15Z</updated>
    <link href="http://www.pgrs.net/2010/2/28/node-js-redis-and-resque" rel="alternate" type="text/html"/>
    <title>Comment on 'Node.js, redis, and resque' by Michael Bridgen</title>
<content type="html">Yes, as I noted.  What are the semantics of lpop?  You only set the timer (and thereby unwind the stack) if it returns nothing.</content>  </entry>
  <entry xml:base="http://www.pgrs.net/">
    <author>
      <name>Paul Gross</name>
    </author>
    <id>tag:www.pgrs.net,2010-02-28:14647:17662</id>
    <published>2010-07-29T03:46:54Z</published>
    <updated>2010-07-29T03:46:54Z</updated>
    <link href="http://www.pgrs.net/2010/2/28/node-js-redis-and-resque" rel="alternate" type="text/html"/>
    <title>Comment on 'Node.js, redis, and resque' by Paul Gross</title>
<content type="html">Michael, the setTimeout prevents the recursion from continuing by registering a new event.</content>  </entry>
  <entry xml:base="http://www.pgrs.net/">
    <author>
      <name>Paul Gross</name>
    </author>
    <id>tag:www.pgrs.net,2010-02-28:14647:17661</id>
    <published>2010-07-29T03:43:52Z</published>
    <updated>2010-07-29T03:43:52Z</updated>
    <link href="http://www.pgrs.net/2010/2/28/node-js-redis-and-resque" rel="alternate" type="text/html"/>
    <title>Comment on 'Node.js, redis, and resque' by Paul Gross</title>
<content type="html">David, you are correct.  Thanks.</content>  </entry>
  <entry xml:base="http://www.pgrs.net/">
    <author>
      <name>Michael Bridgen</name>
    </author>
    <id>tag:www.pgrs.net,2010-02-28:14647:17657</id>
    <published>2010-07-28T22:16:58Z</published>
    <updated>2010-07-28T22:16:58Z</updated>
    <link href="http://www.pgrs.net/2010/2/28/node-js-redis-and-resque" rel="alternate" type="text/html"/>
    <title>Comment on 'Node.js, redis, and resque' by Michael Bridgen</title>
<content type="html">Paul, handleResponse and popFromQueue appear to be mutually recursive, and don't bottom out unless the pop is on a timer.

Won't this eat up the stack?</content>  </entry>
  <entry xml:base="http://www.pgrs.net/">
    <author>
      <name>David Evans</name>
    </author>
    <id>tag:www.pgrs.net,2010-02-28:14647:17648</id>
    <published>2010-07-28T15:29:11Z</published>
    <updated>2010-07-28T15:29:11Z</updated>
    <link href="http://www.pgrs.net/2010/2/28/node-js-redis-and-resque" rel="alternate" type="text/html"/>
    <title>Comment on 'Node.js, redis, and resque' by David Evans</title>
<content type="html">Just a minor point, but isn't the function created in the following line redundant?

    setTimeout(function() { popFromQueue(); }, 100);

Wouldn't it be more efficient to just do:

    setTimeout(popFromQueue, 100);</content>  </entry>
  <entry xml:base="http://www.pgrs.net/">
    <author>
      <name>Allen</name>
    </author>
    <id>tag:www.pgrs.net,2008-08-06:2534:17138</id>
    <published>2010-06-25T14:13:59Z</published>
    <updated>2010-06-25T14:13:59Z</updated>
    <link href="http://www.pgrs.net/2008/8/6/switching-users-during-a-capistrano-deploy" rel="alternate" type="text/html"/>
    <title>Comment on 'Switching users during a capistrano deploy' by Allen</title>
<content type="html">this is great, it really helped me</content>  </entry>
  <entry xml:base="http://www.pgrs.net/">
    <author>
      <name>Paul Gross</name>
    </author>
    <id>tag:www.pgrs.net,2008-09-06:3108:17101</id>
    <published>2010-06-23T03:20:07Z</published>
    <updated>2010-06-23T03:20:07Z</updated>
    <link href="http://www.pgrs.net/2008/9/6/capistrano-dry-run" rel="alternate" type="text/html"/>
    <title>Comment on 'Capistrano dry run' by Paul Gross</title>
<content type="html">Thanks, I fixed the link.</content>  </entry>
  <entry xml:base="http://www.pgrs.net/">
    <author>
      <name>Avatar Oyunlar&#305;</name>
    </author>
    <id>tag:www.pgrs.net,2008-09-06:3108:17095</id>
    <published>2010-06-22T17:33:10Z</published>
    <updated>2010-06-22T17:33:10Z</updated>
    <link href="http://www.pgrs.net/2008/9/6/capistrano-dry-run" rel="alternate" type="text/html"/>
    <title>Comment on 'Capistrano dry run' by Avatar Oyunlar&#305;</title>
<content type="html">Hi Paul, The link is not working..</content>  </entry>
  <entry xml:base="http://www.pgrs.net/">
    <author>
      <name>Avatar Oyunlar&#305;</name>
    </author>
    <id>tag:www.pgrs.net,2010-02-28:14647:17093</id>
    <published>2010-06-22T17:26:32Z</published>
    <updated>2010-06-22T17:26:32Z</updated>
    <link href="http://www.pgrs.net/2010/2/28/node-js-redis-and-resque" rel="alternate" type="text/html"/>
    <title>Comment on 'Node.js, redis, and resque' by Avatar Oyunlar&#305;</title>
<content type="html">the article is very good Paul, congratulations</content>  </entry>
  <entry xml:base="http://www.pgrs.net/">
    <author>
      <name>vicgtor9011</name>
    </author>
    <id>tag:www.pgrs.net,2010-02-01:13677:17057</id>
    <published>2010-06-19T13:35:01Z</published>
    <updated>2010-06-19T13:35:01Z</updated>
    <link href="http://www.pgrs.net/2010/2/1/web-proxy-in-node-js-for-high-availability" rel="alternate" type="text/html"/>
    <title>Comment on 'Web proxy in node.js for high availability' by vicgtor9011</title>
<content type="html">Now it is all corect.</content>  </entry>
  <entry xml:base="http://www.pgrs.net/">
    <author>
      <name>mobz</name>
    </author>
    <id>tag:www.pgrs.net,2010-02-01:13677:16861</id>
    <published>2010-06-06T21:33:21Z</published>
    <updated>2010-06-06T21:33:21Z</updated>
    <link href="http://www.pgrs.net/2010/2/1/web-proxy-in-node-js-for-high-availability" rel="alternate" type="text/html"/>
    <title>Comment on 'Web proxy in node.js for high availability' by mobz</title>
<content type="html">var isBalanced = false;

setInterval( function() {
  fs.stat(&quot;balance&quot;, function(err) {
    isBalanced = !err;
  }, 1000);
}</content>  </entry>
  <entry xml:base="http://www.pgrs.net/">
    <author>
      <name>Jamesthe1st</name>
    </author>
    <id>tag:www.pgrs.net,2007-10-08:91:16826</id>
    <published>2010-06-04T19:03:13Z</published>
    <updated>2010-06-04T19:03:13Z</updated>
    <link href="http://www.pgrs.net/2007/10/8/useful-unix-tricks-part-2" rel="alternate" type="text/html"/>
    <title>Comment on 'Useful unix tricks - part 2' by Jamesthe1st</title>
<content type="html">Very nice. I just found this info today, and added it to my personal &quot;notes and tips on Linux&quot;. Thanks a lot</content>  </entry>
  <entry xml:base="http://www.pgrs.net/">
    <author>
      <name>Apie</name>
    </author>
    <id>tag:www.pgrs.net,2007-07-20:6:16820</id>
    <published>2010-06-04T15:05:10Z</published>
    <updated>2010-06-04T15:05:10Z</updated>
    <link href="http://www.pgrs.net/2007/7/20/render-partial-with-collection-has-hidden-counter" rel="alternate" type="text/html"/>
    <title>Comment on 'Render partial with collection has hidden counter' by Apie</title>
<content type="html">Thanks! This was a great help.</content>  </entry>
  <entry xml:base="http://www.pgrs.net/">
    <author>
      <name>Troy Payne</name>
    </author>
    <id>tag:www.pgrs.net,2008-01-30:595:16124</id>
    <published>2010-04-28T19:25:45Z</published>
    <updated>2010-04-28T19:25:45Z</updated>
    <link href="http://www.pgrs.net/2008/1/30/popup-when-leaving-website" rel="alternate" type="text/html"/>
    <title>Comment on 'Popup when leaving website' by Troy Payne</title>
<content type="html">Guys,

This isn't a solution.  If a user refreshes the page or hits a back button, they will get the popup.  This will be complete if it solves that problem, which I believe is impossible.</content>  </entry>
  <entry xml:base="http://www.pgrs.net/">
    <author>
      <name>rick</name>
    </author>
    <id>tag:www.pgrs.net,2007-10-08:91:15571</id>
    <published>2010-04-05T00:44:01Z</published>
    <updated>2010-04-05T00:44:01Z</updated>
    <link href="http://www.pgrs.net/2007/10/8/useful-unix-tricks-part-2" rel="alternate" type="text/html"/>
    <title>Comment on 'Useful unix tricks - part 2' by rick</title>
<content type="html">thanks for all the information</content>  </entry>
</feed>
