{
  "kind":"Listing",
  "data":{
    "modhash":"",
    "children":[
      {
        "kind":"t3",
        "data":{
          "domain":"codecondo.com",
          "banned_by":null,
          "media_embed":{

          },
          "subreddit":"node",
          "selftext_html":null,
          "selftext":"",
          "likes":null,
          "secure_media":null,
          "link_flair_text":null,
          "id":"241amu",
          "gilded":0,
          "secure_media_embed":{

          },
          "clicked":false,
          "stickied":false,
          "author":"skillcode",
          "media":null,
          "score":2,
          "approved_by":null,
          "over_18":false,
          "hidden":false,
          "thumbnail":"",
          "subreddit_id":"t5_2reca",
          "edited":false,
          "link_flair_css_class":null,
          "author_flair_css_class":null,
          "downs":1,
          "saved":false,
          "is_self":false,
          "permalink":"/r/node/comments/241amu/12_web_application_frameworks_for_nodejs/",
          "name":"t3_241amu",
          "created":1398555636.0,
          "url":"http://codecondo.com/10-web-application-frameworks-for-node-js/",
          "author_flair_text":null,
          "title":"12 Web Application Frameworks for Node.js",
          "created_utc":1398526836.0,
          "ups":3,
          "num_comments":0,
          "visited":false,
          "num_reports":null,
          "distinguished":null
        }
      },
      {
        "kind":"t3",
        "data":{
          "domain":"leanpub.com",
          "banned_by":null,
          "media_embed":{

          },
          "subreddit":"node",
          "selftext_html":null,
          "selftext":"",
          "likes":null,
          "secure_media":null,
          "link_flair_text":null,
          "id":"241dbr",
          "gilded":0,
          "secure_media_embed":{

          },
          "clicked":false,
          "stickied":false,
          "author":"fernol",
          "media":null,
          "score":0,
          "approved_by":null,
          "over_18":false,
          "hidden":false,
          "thumbnail":"",
          "subreddit_id":"t5_2reca",
          "edited":false,
          "link_flair_css_class":null,
          "author_flair_css_class":null,
          "downs":1,
          "saved":false,
          "is_self":false,
          "permalink":"/r/node/comments/241dbr/a_book_on_mean_app_dev_for_the_real_world_would/",
          "name":"t3_241dbr",
          "created":1398557725.0,
          "url":"https://leanpub.com/realworldmeanapps",
          "author_flair_text":null,
          "title":"A book on MEAN app dev for the \"real world.\" Would anyone find this useful?",
          "created_utc":1398528925.0,
          "ups":1,
          "num_comments":2,
          "visited":false,
          "num_reports":null,
          "distinguished":null
        }
      },
      {
        "kind":"t3",
        "data":{
          "domain":"self.node",
          "banned_by":null,
          "media_embed":{

          },
          "subreddit":"node",
          "selftext_html":"&lt;!-- SC_OFF --&gt;&lt;div class=\"md\"&gt;&lt;p&gt;Hey y&amp;#39;all,&lt;/p&gt;\n\n&lt;p&gt;I&amp;#39;m getting this 500 error when starting my express app.  I hand-pulled in the Foundation 5 Sass stuff, but it looks like everything is loading correctly, so I&amp;#39;m not sure where this is coming from.  All the static files are loading fine, and no errors detected from Chrome dev tools.&lt;/p&gt;\n\n&lt;p&gt;Any idea how to figure out what the error is from?  I&amp;#39;m running express in debugging mode, but it&amp;#39;s not really helping.&lt;/p&gt;\n\n&lt;p&gt;Here&amp;#39;s the &lt;a href=\"https://github.com/jlmitch5/ExpressFroundation\"&gt;source&lt;/a&gt;.&lt;/p&gt;\n&lt;/div&gt;&lt;!-- SC_ON --&gt;",
          "selftext":"Hey y'all,\n\n\nI'm getting this 500 error when starting my express app.  I hand-pulled in the Foundation 5 Sass stuff, but it looks like everything is loading correctly, so I'm not sure where this is coming from.  All the static files are loading fine, and no errors detected from Chrome dev tools.\n\n\nAny idea how to figure out what the error is from?  I'm running express in debugging mode, but it's not really helping.\n\n\nHere's the [source](https://github.com/jlmitch5/ExpressFroundation).",
          "likes":null,
          "secure_media":null,
          "link_flair_text":null,
          "id":"23w7ne",
          "gilded":0,
          "secure_media_embed":{

          },
          "clicked":false,
          "stickied":false,
          "author":"jlmitch5dev",
          "media":null,
          "score":7,
          "approved_by":null,
          "over_18":false,
          "hidden":false,
          "thumbnail":"",
          "subreddit_id":"t5_2reca",
          "edited":false,
          "link_flair_css_class":null,
          "author_flair_css_class":null,
          "downs":2,
          "saved":false,
          "is_self":true,
          "permalink":"/r/node/comments/23w7ne/get_500_error_on_express_40_app_startup_cant/",
          "name":"t3_23w7ne",
          "created":1398402637.0,
          "url":"http://www.reddit.com/r/node/comments/23w7ne/get_500_error_on_express_40_app_startup_cant/",
          "author_flair_text":null,
          "title":"get 500 error on Express 4.0 app startup, can't figure out why",
          "created_utc":1398373837.0,
          "ups":9,
          "num_comments":3,
          "visited":false,
          "num_reports":null,
          "distinguished":null
        }
      },
      {
        "kind":"t3",
        "data":{
          "domain":"bulkan-evcimen.com",
          "banned_by":null,
          "media_embed":{

          },
          "subreddit":"node",
          "selftext_html":null,
          "selftext":"",
          "likes":null,
          "secure_media":null,
          "link_flair_text":null,
          "id":"23usut",
          "gilded":0,
          "secure_media_embed":{

          },
          "clicked":false,
          "stickied":false,
          "author":"placidified",
          "media":null,
          "score":8,
          "approved_by":null,
          "over_18":false,
          "hidden":false,
          "thumbnail":"",
          "subreddit_id":"t5_2reca",
          "edited":false,
          "link_flair_css_class":null,
          "author_flair_css_class":null,
          "downs":0,
          "saved":false,
          "is_self":false,
          "permalink":"/r/node/comments/23usut/using_mockery_to_mock_modules/",
          "name":"t3_23usut",
          "created":1398373212.0,
          "url":"http://bulkan-evcimen.com/using_mockery_to_mock_modules_nodejs",
          "author_flair_text":null,
          "title":"Using mockery to mock modules",
          "created_utc":1398344412.0,
          "ups":8,
          "num_comments":2,
          "visited":false,
          "num_reports":null,
          "distinguished":null
        }
      },
      {
        "kind":"t3",
        "data":{
          "domain":"self.node",
          "banned_by":null,
          "media_embed":{

          },
          "subreddit":"node",
          "selftext_html":"&lt;!-- SC_OFF --&gt;&lt;div class=\"md\"&gt;&lt;p&gt;I am relatively new to unit testing. I am using mocha.&lt;/p&gt;\n\n&lt;p&gt;I have a fairly large function where I am using the async library. The total amount of lines in the file is ~300, but I have separated different functionality into private functions.&lt;/p&gt;\n\n&lt;p&gt;The code looks something like this:\n&lt;a href=\"http://pastebin.com/a6gW5XMV\"&gt;http://pastebin.com/a6gW5XMV&lt;/a&gt;&lt;/p&gt;\n\n&lt;p&gt;As you can see there are a few db calls that will need to be done (based on what is passed in as data). &lt;/p&gt;\n\n&lt;p&gt;My question is what is the best practice to test this? The DB stuff is what is throwing me off because I need to have some data in the actual database. Can I do this with mocking and passing in the expected JSON result? If so, how should I modify my code to do that? If I shouldn&amp;#39;t mock, what is the easiest and most maintainable way to setup the testing database? Just add stuff in before statements?&lt;/p&gt;\n\n&lt;p&gt;Another question is can private functions be unit tested or only tested as part of an integration test?&lt;/p&gt;\n\n&lt;p&gt;Appreciate the help!&lt;/p&gt;\n&lt;/div&gt;&lt;!-- SC_ON --&gt;",
          "selftext":"I am relatively new to unit testing. I am using mocha.\n\nI have a fairly large function where I am using the async library. The total amount of lines in the file is ~300, but I have separated different functionality into private functions.\n\nThe code looks something like this:\nhttp://pastebin.com/a6gW5XMV\n\nAs you can see there are a few db calls that will need to be done (based on what is passed in as data). \n\nMy question is what is the best practice to test this? The DB stuff is what is throwing me off because I need to have some data in the actual database. Can I do this with mocking and passing in the expected JSON result? If so, how should I modify my code to do that? If I shouldn't mock, what is the easiest and most maintainable way to setup the testing database? Just add stuff in before statements?\n\nAnother question is can private functions be unit tested or only tested as part of an integration test?\n\nAppreciate the help!\n",
          "likes":null,
          "secure_media":null,
          "link_flair_text":null,
          "id":"23tkus",
          "gilded":0,
          "secure_media_embed":{

          },
          "clicked":false,
          "stickied":false,
          "author":"emooheo",
          "media":null,
          "score":6,
          "approved_by":null,
          "over_18":false,
          "hidden":false,
          "thumbnail":"",
          "subreddit_id":"t5_2reca",
          "edited":false,
          "link_flair_css_class":null,
          "author_flair_css_class":null,
          "downs":1,
          "saved":false,
          "is_self":true,
          "permalink":"/r/node/comments/23tkus/unit_testing_questions/",
          "name":"t3_23tkus",
          "created":1398331839.0,
          "url":"http://www.reddit.com/r/node/comments/23tkus/unit_testing_questions/",
          "author_flair_text":null,
          "title":"Unit testing questions",
          "created_utc":1398303039.0,
          "ups":7,
          "num_comments":8,
          "visited":false,
          "num_reports":null,
          "distinguished":null
        }
      },
      {
        "kind":"t3",
        "data":{
          "domain":"stormpath.com",
          "banned_by":null,
          "media_embed":{

          },
          "subreddit":"node",
          "selftext_html":null,
          "selftext":"",
          "likes":null,
          "secure_media":null,
          "link_flair_text":null,
          "id":"23s0bo",
          "gilded":0,
          "secure_media_embed":{

          },
          "clicked":false,
          "stickied":false,
          "author":"rdegges",
          "media":null,
          "score":17,
          "approved_by":null,
          "over_18":false,
          "hidden":false,
          "thumbnail":"",
          "subreddit_id":"t5_2reca",
          "edited":false,
          "link_flair_css_class":null,
          "author_flair_css_class":null,
          "downs":5,
          "saved":false,
          "is_self":false,
          "permalink":"/r/node/comments/23s0bo/build_a_killer_nodejs_client_for_your_restjson_api/",
          "name":"t3_23s0bo",
          "created":1398298881.0,
          "url":"https://stormpath.com/blog/build-a-killer-node-dot-js-client-for-your-rest-plus-json-api/",
          "author_flair_text":null,
          "title":"Build a Killer Node.js Client for Your REST+JSON API",
          "created_utc":1398270081.0,
          "ups":22,
          "num_comments":1,
          "visited":false,
          "num_reports":null,
          "distinguished":null
        }
      },
      {
        "kind":"t3",
        "data":{
          "domain":"robtweed.wordpress.com",
          "banned_by":null,
          "media_embed":{

          },
          "subreddit":"node",
          "selftext_html":null,
          "selftext":"",
          "likes":null,
          "secure_media":null,
          "link_flair_text":null,
          "id":"23qx1z",
          "gilded":0,
          "secure_media_embed":{

          },
          "clicked":false,
          "stickied":false,
          "author":"skillcode",
          "media":null,
          "score":7,
          "approved_by":null,
          "over_18":false,
          "hidden":false,
          "thumbnail":"",
          "subreddit_id":"t5_2reca",
          "edited":false,
          "link_flair_css_class":null,
          "author_flair_css_class":null,
          "downs":9,
          "saved":false,
          "is_self":false,
          "permalink":"/r/node/comments/23qx1z/i_have_seen_the_future_and_its_nodejs_shaped/",
          "name":"t3_23qx1z",
          "created":1398260797.0,
          "url":"http://robtweed.wordpress.com/2012/10/24/i-have-seen-the-future-and-its-node-js-shaped/",
          "author_flair_text":null,
          "title":"I have seen the future and it\u2019s Node.js shaped",
          "created_utc":1398231997.0,
          "ups":16,
          "num_comments":1,
          "visited":false,
          "num_reports":null,
          "distinguished":null
        }
      },
      {
        "kind":"t3",
        "data":{
          "domain":"npmjs.org",
          "banned_by":null,
          "media_embed":{

          },
          "subreddit":"node",
          "selftext_html":null,
          "selftext":"",
          "likes":null,
          "secure_media":null,
          "link_flair_text":null,
          "id":"23qiqo",
          "gilded":0,
          "secure_media_embed":{

          },
          "clicked":false,
          "stickied":false,
          "author":"gavreh",
          "media":null,
          "score":2,
          "approved_by":null,
          "over_18":false,
          "hidden":false,
          "thumbnail":"",
          "subreddit_id":"t5_2reca",
          "edited":false,
          "link_flair_css_class":null,
          "author_flair_css_class":null,
          "downs":0,
          "saved":false,
          "is_self":false,
          "permalink":"/r/node/comments/23qiqo/just_released_simplegeocoder_npm_package/",
          "name":"t3_23qiqo",
          "created":1398249598.0,
          "url":"https://www.npmjs.org/package/simple-geocoder",
          "author_flair_text":null,
          "title":"just released: simple-geocoder npm package",
          "created_utc":1398220798.0,
          "ups":2,
          "num_comments":2,
          "visited":false,
          "num_reports":null,
          "distinguished":null
        }
      },
      {
        "kind":"t3",
        "data":{
          "domain":"self.node",
          "banned_by":null,
          "media_embed":{

          },
          "subreddit":"node",
          "selftext_html":"&lt;!-- SC_OFF --&gt;&lt;div class=\"md\"&gt;&lt;p&gt;Is there a more efficient way for implementing findbyidandupdate?  I was learning from this example: &lt;a href=\"https://github.com/timothybone/angular-express-mongoose-blog\"&gt;https://github.com/timothybone/angular-express-mongoose-blog&lt;/a&gt; which uses this code for editPost:&lt;/p&gt;\n\n&lt;pre&gt;&lt;code&gt;exports.editPost = function (req, res) {\n  //console.log(&amp;quot;edit post: &amp;quot; + req.body.title);\n      Track.findByIdAndUpdate(req.params.id, { \n        $set: { text: req.body.text, title: req.body.title }}, {upsert:true}, function (err, user) {\n          return res.json(true);\n        }\n      );\n    };\n&lt;/code&gt;&lt;/pre&gt;\n\n&lt;p&gt;That&amp;#39;s fine for a two field example, but what about an app with 100+ fields?  I was hoping that $set: req.body would work, but it does not update the values.&lt;/p&gt;\n\n&lt;p&gt;I found another example (&lt;a href=\"http://webapplog.com/express-js-and-mongoose-example-building-hackhall/\"&gt;http://webapplog.com/express-js-and-mongoose-example-building-hackhall/&lt;/a&gt;) which seems to indicate this is possible via:&lt;/p&gt;\n\n&lt;pre&gt;&lt;code&gt;req.db.User.findByIdAndUpdate(req.session.user._id, {\n    $set: data\n&lt;/code&gt;&lt;/pre&gt;\n\n&lt;p&gt;What&amp;#39;s the best practice for large forms?&lt;/p&gt;\n&lt;/div&gt;&lt;!-- SC_ON --&gt;",
          "selftext":"Is there a more efficient way for implementing findbyidandupdate?  I was learning from this example: https://github.com/timothybone/angular-express-mongoose-blog which uses this code for editPost:\n\n    exports.editPost = function (req, res) {\n      //console.log(\"edit post: \" + req.body.title);\n          Track.findByIdAndUpdate(req.params.id, { \n            $set: { text: req.body.text, title: req.body.title }}, {upsert:true}, function (err, user) {\n              return res.json(true);\n            }\n          );\n        };\n\nThat's fine for a two field example, but what about an app with 100+ fields?  I was hoping that $set: req.body would work, but it does not update the values.\n\nI found another example (http://webapplog.com/express-js-and-mongoose-example-building-hackhall/) which seems to indicate this is possible via:\n\n    req.db.User.findByIdAndUpdate(req.session.user._id, {\n        $set: data\n\nWhat's the best practice for large forms?",
          "likes":null,
          "secure_media":null,
          "link_flair_text":null,
          "id":"23pfa6",
          "gilded":0,
          "secure_media_embed":{

          },
          "clicked":false,
          "stickied":false,
          "author":"omfg_its_so_and_so",
          "media":null,
          "score":4,
          "approved_by":null,
          "over_18":false,
          "hidden":false,
          "thumbnail":"",
          "subreddit_id":"t5_2reca",
          "edited":false,
          "link_flair_css_class":null,
          "author_flair_css_class":null,
          "downs":1,
          "saved":false,
          "is_self":true,
          "permalink":"/r/node/comments/23pfa6/mongoose_findbyidandupdate_best_practice/",
          "name":"t3_23pfa6",
          "created":1398225128.0,
          "url":"http://www.reddit.com/r/node/comments/23pfa6/mongoose_findbyidandupdate_best_practice/",
          "author_flair_text":null,
          "title":"Mongoose findbyidandupdate Best Practice?",
          "created_utc":1398196328.0,
          "ups":5,
          "num_comments":3,
          "visited":false,
          "num_reports":null,
          "distinguished":null
        }
      },
      {
        "kind":"t3",
        "data":{
          "domain":"github.com",
          "banned_by":null,
          "media_embed":{

          },
          "subreddit":"node",
          "selftext_html":null,
          "selftext":"",
          "likes":null,
          "secure_media":null,
          "link_flair_text":null,
          "id":"23pfa0",
          "gilded":0,
          "secure_media_embed":{

          },
          "clicked":false,
          "stickied":false,
          "author":"ibito",
          "media":null,
          "score":4,
          "approved_by":null,
          "over_18":false,
          "hidden":false,
          "thumbnail":"",
          "subreddit_id":"t5_2reca",
          "edited":false,
          "link_flair_css_class":null,
          "author_flair_css_class":null,
          "downs":5,
          "saved":false,
          "is_self":false,
          "permalink":"/r/node/comments/23pfa0/this_is_not_sublime_its_sublame_xpost_rnodewebkit/",
          "name":"t3_23pfa0",
          "created":1398225126.0,
          "url":"https://github.com/ibito/SubLAME",
          "author_flair_text":null,
          "title":"This is not Sublime, it's SubLAME (X-Post /r/nodewebkit)",
          "created_utc":1398196326.0,
          "ups":9,
          "num_comments":3,
          "visited":false,
          "num_reports":null,
          "distinguished":null
        }
      },
      {
        "kind":"t3",
        "data":{
          "domain":"self.node",
          "banned_by":null,
          "media_embed":{

          },
          "subreddit":"node",
          "selftext_html":"&lt;!-- SC_OFF --&gt;&lt;div class=\"md\"&gt;&lt;p&gt;So I&amp;#39;m writing a generic module to handle some algorithms that I&amp;#39;ve found myself writing lately.&lt;/p&gt;\n\n&lt;p&gt;The setup I have is that my file requires my generic module, and then I pass it a function that contains everything I need done (with the module handling input/output and calling the function multiple times etc.).&lt;/p&gt;\n\n&lt;p&gt;This works fine, but I&amp;#39;d like to get some more processing power in there...&lt;/p&gt;\n\n&lt;p&gt;Is there any way I can have that generic module cluster itself as well as cluster the module that required it? Something like:&lt;/p&gt;\n\n&lt;p&gt;Call algorithm file -&amp;gt; requires module -&amp;gt; clusters itself -&amp;gt; the workers call the function in the algorithm file.&lt;/p&gt;\n\n&lt;p&gt;I know this is kind of the opposite of how cluster is supposed to be used, and that the clustering smarts should be built into the algorithm file, or I should run the module first which requires the algorithm file...but neither of those are an option for what I&amp;#39;m doing. The algorithm files are supposed to be quick things that require something and pass in a function, because there are a number of them.&lt;/p&gt;\n\n&lt;p&gt;If anybody has any ideas for this, that&amp;#39;d be greatly appreciated.\nThanks.&lt;/p&gt;\n&lt;/div&gt;&lt;!-- SC_ON --&gt;",
          "selftext":"So I'm writing a generic module to handle some algorithms that I've found myself writing lately.\n\nThe setup I have is that my file requires my generic module, and then I pass it a function that contains everything I need done (with the module handling input/output and calling the function multiple times etc.).\n\nThis works fine, but I'd like to get some more processing power in there...\n\nIs there any way I can have that generic module cluster itself as well as cluster the module that required it? Something like:\n\nCall algorithm file -&gt; requires module -&gt; clusters itself -&gt; the workers call the function in the algorithm file.\n\nI know this is kind of the opposite of how cluster is supposed to be used, and that the clustering smarts should be built into the algorithm file, or I should run the module first which requires the algorithm file...but neither of those are an option for what I'm doing. The algorithm files are supposed to be quick things that require something and pass in a function, because there are a number of them.\n\nIf anybody has any ideas for this, that'd be greatly appreciated.\nThanks.\n",
          "likes":null,
          "secure_media":null,
          "link_flair_text":null,
          "id":"23pzfl",
          "gilded":0,
          "secure_media_embed":{

          },
          "clicked":false,
          "stickied":false,
          "author":"Toeler",
          "media":null,
          "score":1,
          "approved_by":null,
          "over_18":false,
          "hidden":false,
          "thumbnail":"",
          "subreddit_id":"t5_2reca",
          "edited":false,
          "link_flair_css_class":null,
          "author_flair_css_class":null,
          "downs":0,
          "saved":false,
          "is_self":true,
          "permalink":"/r/node/comments/23pzfl/question_about_clustering_in_a_different_module/",
          "name":"t3_23pzfl",
          "created":1398237170.0,
          "url":"http://www.reddit.com/r/node/comments/23pzfl/question_about_clustering_in_a_different_module/",
          "author_flair_text":null,
          "title":"Question about clustering in a different module",
          "created_utc":1398208370.0,
          "ups":1,
          "num_comments":1,
          "visited":false,
          "num_reports":null,
          "distinguished":null
        }
      },
      {
        "kind":"t3",
        "data":{
          "domain":"github.com",
          "banned_by":null,
          "media_embed":{

          },
          "subreddit":"node",
          "selftext_html":null,
          "selftext":"",
          "likes":null,
          "secure_media":null,
          "link_flair_text":null,
          "id":"23nxh2",
          "gilded":0,
          "secure_media_embed":{

          },
          "clicked":false,
          "stickied":false,
          "author":"skillcode",
          "media":null,
          "score":16,
          "approved_by":null,
          "over_18":false,
          "hidden":false,
          "thumbnail":"",
          "subreddit_id":"t5_2reca",
          "edited":false,
          "link_flair_css_class":null,
          "author_flair_css_class":null,
          "downs":2,
          "saved":false,
          "is_self":false,
          "permalink":"/r/node/comments/23nxh2/google_distance_matrix_api_for_nodejs/",
          "name":"t3_23nxh2",
          "created":1398183424.0,
          "url":"https://github.com/edwlook/node-google-distance",
          "author_flair_text":null,
          "title":"Google Distance Matrix API for Node.js",
          "created_utc":1398154624.0,
          "ups":18,
          "num_comments":2,
          "visited":false,
          "num_reports":null,
          "distinguished":null
        }
      },
      {
        "kind":"t3",
        "data":{
          "domain":"bitbucket.org",
          "banned_by":null,
          "media_embed":{

          },
          "subreddit":"node",
          "selftext_html":null,
          "selftext":"",
          "likes":null,
          "secure_media":null,
          "link_flair_text":null,
          "id":"23n8jh",
          "gilded":0,
          "secure_media_embed":{

          },
          "clicked":false,
          "stickied":false,
          "author":"Doctor_McKay",
          "media":null,
          "score":8,
          "approved_by":null,
          "over_18":false,
          "hidden":false,
          "thumbnail":"",
          "subreddit_id":"t5_2reca",
          "edited":false,
          "link_flair_css_class":null,
          "author_flair_css_class":null,
          "downs":1,
          "saved":false,
          "is_self":false,
          "permalink":"/r/node/comments/23n8jh/rawjs_a_wip_api_wrapper_for_reddit_written_in/",
          "name":"t3_23n8jh",
          "created":1398161709.0,
          "url":"https://bitbucket.org/Doctor_McKay/raw.js",
          "author_flair_text":null,
          "title":"raw.js - a WIP API wrapper for reddit, written in Node.js",
          "created_utc":1398132909.0,
          "ups":9,
          "num_comments":4,
          "visited":false,
          "num_reports":null,
          "distinguished":null
        }
      },
      {
        "kind":"t3",
        "data":{
          "domain":"github.com",
          "banned_by":null,
          "media_embed":{

          },
          "subreddit":"node",
          "selftext_html":null,
          "selftext":"",
          "likes":null,
          "secure_media":null,
          "link_flair_text":null,
          "id":"23n3kk",
          "gilded":0,
          "secure_media_embed":{

          },
          "clicked":false,
          "stickied":false,
          "author":"yortus_",
          "media":null,
          "score":10,
          "approved_by":null,
          "over_18":false,
          "hidden":false,
          "thumbnail":"",
          "subreddit_id":"t5_2reca",
          "edited":false,
          "link_flair_css_class":null,
          "author_flair_css_class":null,
          "downs":1,
          "saved":false,
          "is_self":false,
          "permalink":"/r/node/comments/23n3kk/asyncawait_v07_callback_heaven_for_nodejs/",
          "name":"t3_23n3kk",
          "created":1398158575.0,
          "url":"https://github.com/yortus/asyncawait",
          "author_flair_text":null,
          "title":"asyncawait v0.7: Callback Heaven for Node.js",
          "created_utc":1398129775.0,
          "ups":11,
          "num_comments":25,
          "visited":false,
          "num_reports":null,
          "distinguished":null
        }
      },
      {
        "kind":"t3",
        "data":{
          "domain":"rhapsodyjs.github.io",
          "banned_by":null,
          "media_embed":{

          },
          "subreddit":"node",
          "selftext_html":null,
          "selftext":"",
          "likes":null,
          "secure_media":null,
          "link_flair_text":null,
          "id":"23munm",
          "gilded":0,
          "secure_media_embed":{

          },
          "clicked":false,
          "stickied":false,
          "author":"TalyssonOC",
          "media":null,
          "score":5,
          "approved_by":null,
          "over_18":false,
          "hidden":false,
          "thumbnail":"",
          "subreddit_id":"t5_2reca",
          "edited":false,
          "link_flair_css_class":null,
          "author_flair_css_class":null,
          "downs":1,
          "saved":false,
          "is_self":false,
          "permalink":"/r/node/comments/23munm/rhapsodyjs_hmvc_and_rest_framework_built_on_top/",
          "name":"t3_23munm",
          "created":1398152943.0,
          "url":"http://rhapsodyjs.github.io/",
          "author_flair_text":null,
          "title":"RhapsodyJS - HMVC and REST framework built on top of Express 4",
          "created_utc":1398124143.0,
          "ups":6,
          "num_comments":0,
          "visited":false,
          "num_reports":null,
          "distinguished":null
        }
      },
      {
        "kind":"t3",
        "data":{
          "domain":"express4-bootstrap-starter.tukangslicing.net",
          "banned_by":null,
          "media_embed":{

          },
          "subreddit":"node",
          "selftext_html":null,
          "selftext":"",
          "likes":null,
          "secure_media":null,
          "link_flair_text":null,
          "id":"23l4qy",
          "gilded":0,
          "secure_media_embed":{

          },
          "clicked":false,
          "stickied":false,
          "author":"hengkiardo",
          "media":null,
          "score":19,
          "approved_by":null,
          "over_18":false,
          "hidden":false,
          "thumbnail":"",
          "subreddit_id":"t5_2reca",
          "edited":false,
          "link_flair_css_class":null,
          "author_flair_css_class":null,
          "downs":9,
          "saved":false,
          "is_self":false,
          "permalink":"/r/node/comments/23l4qy/a_simple_demo_app_in_nodejs_using_expressjs_4/",
          "name":"t3_23l4qy",
          "created":1398114145.0,
          "url":"http://express4-bootstrap-starter.tukangslicing.net/",
          "author_flair_text":null,
          "title":"A simple demo app in Node.js using ExpressJS 4, Mongoose, Passport.js and Jade",
          "created_utc":1398085345.0,
          "ups":28,
          "num_comments":12,
          "visited":false,
          "num_reports":null,
          "distinguished":null
        }
      },
      {
        "kind":"t3",
        "data":{
          "domain":"self.node",
          "banned_by":null,
          "media_embed":{

          },
          "subreddit":"node",
          "selftext_html":"&lt;!-- SC_OFF --&gt;&lt;div class=\"md\"&gt;&lt;p&gt;Please checkout GitHub or npm to learn about jTypes:&lt;/p&gt;\n\n&lt;p&gt;&lt;a href=\"http://github.com/gaulinsoft/jTypes\"&gt;http://github.com/gaulinsoft/jTypes&lt;/a&gt;\n&lt;a href=\"http://npmjs.org/package/jtypes\"&gt;http://npmjs.org/package/jtypes&lt;/a&gt;&lt;/p&gt;\n\n&lt;p&gt;More information can be found here as well:&lt;/p&gt;\n\n&lt;p&gt;&lt;a href=\"http://www.jtypes.com/blog#20140412\"&gt;http://www.jtypes.com/blog#20140412&lt;/a&gt;&lt;/p&gt;\n\n&lt;p&gt;I&amp;#39;m happy to answer any questions, and feedback/comments are always appreciated. Thanks!\ufeff&lt;/p&gt;\n&lt;/div&gt;&lt;!-- SC_ON --&gt;",
          "selftext":"Please checkout GitHub or npm to learn about jTypes:\n\nhttp://github.com/gaulinsoft/jTypes\nhttp://npmjs.org/package/jtypes\n\nMore information can be found here as well:\n\nhttp://www.jtypes.com/blog#20140412\n\nI'm happy to answer any questions, and feedback/comments are always appreciated. Thanks!\ufeff",
          "likes":null,
          "secure_media":null,
          "link_flair_text":null,
          "id":"23li5u",
          "gilded":0,
          "secure_media_embed":{

          },
          "clicked":false,
          "stickied":false,
          "author":"ndgaulin",
          "media":null,
          "score":1,
          "approved_by":null,
          "over_18":false,
          "hidden":false,
          "thumbnail":"",
          "subreddit_id":"t5_2reca",
          "edited":false,
          "link_flair_css_class":null,
          "author_flair_css_class":null,
          "downs":1,
          "saved":false,
          "is_self":true,
          "permalink":"/r/node/comments/23li5u/jtypes_scalable_classbased_javascript/",
          "name":"t3_23li5u",
          "created":1398123936.0,
          "url":"http://www.reddit.com/r/node/comments/23li5u/jtypes_scalable_classbased_javascript/",
          "author_flair_text":null,
          "title":"jTypes: Scalable class-based JavaScript",
          "created_utc":1398095136.0,
          "ups":2,
          "num_comments":4,
          "visited":false,
          "num_reports":null,
          "distinguished":null
        }
      },
      {
        "kind":"t3",
        "data":{
          "domain":"self.node",
          "banned_by":null,
          "media_embed":{

          },
          "subreddit":"node",
          "selftext_html":"&lt;!-- SC_OFF --&gt;&lt;div class=\"md\"&gt;&lt;p&gt;I followed a youtube socket.io chat tutorial which was excellent and ended up with a working chat program.   I went to extend it and decided to start by moving the CSS into it&amp;#39;s own file as the tutorial left me with index.html and app.js.    I figured this would be simple and in the html I pulled the &amp;lt;style&amp;gt; section out of the &amp;lt;head&amp;gt; and replaced it with &lt;/p&gt;\n\n&lt;pre&gt;&lt;code&gt;&amp;lt;link rel=&amp;quot;stylesheet&amp;quot; href=&amp;quot;css/style.css&amp;quot;&amp;gt;\n&lt;/code&gt;&lt;/pre&gt;\n\n&lt;p&gt;I then made a css folder and style.css inside if it has &lt;/p&gt;\n\n&lt;pre&gt;&lt;code&gt;#chat{\n    height:500px;\n}\n#contentWrap{\n    display: none;\n }\n#chatWrap{\n    float: left;\n    border:1px #000 solid;\n }\n.error{\n    color:red;\n}\n.whisper{\n    color:gray;\n    font-style: italic;\n}\n&lt;/code&gt;&lt;/pre&gt;\n\n&lt;p&gt;When I load the page however I see in the console\nGET http://localhost:3000/css/style.css 404 (Not Found)&lt;/p&gt;\n\n&lt;p&gt;I&amp;#39;ve tried combinations of renaming it, moving it to the root folder, specifying that it&amp;#39;s at ./ ...  No difference it&amp;#39;s never loaded&lt;/p&gt;\n\n&lt;p&gt;This is my first time using express 4.0 I&amp;#39;m not sure if that part is wrong,  the tutorial was definitely done using 3.X but the entire thing worked just fine when the style was in the html page.&lt;/p&gt;\n\n&lt;p&gt;in case it&amp;#39;s a routing thing from express this is all that I&amp;#39;ve done&lt;/p&gt;\n\n&lt;pre&gt;&lt;code&gt;app.get(&amp;#39;*&amp;#39;,function(req, res){\nres.sendfile(__dirname+&amp;#39;/index.html&amp;#39;);\n});\n&lt;/code&gt;&lt;/pre&gt;\n\n&lt;p&gt;Any suggestions?&lt;/p&gt;\n&lt;/div&gt;&lt;!-- SC_ON --&gt;",
          "selftext":"I followed a youtube socket.io chat tutorial which was excellent and ended up with a working chat program.   I went to extend it and decided to start by moving the CSS into it's own file as the tutorial left me with index.html and app.js.    I figured this would be simple and in the html I pulled the &lt;style&gt; section out of the &lt;head&gt; and replaced it with \n\n    &lt;link rel=\"stylesheet\" href=\"css/style.css\"&gt;\n\nI then made a css folder and style.css inside if it has \n\n    #chat{\n        height:500px;\n    }\n    #contentWrap{\n    \tdisplay: none;\n     }\n    #chatWrap{\n     \tfloat: left;\n    \tborder:1px #000 solid;\n     }\n    .error{\n    \tcolor:red;\n    }\n    .whisper{\n    \tcolor:gray;\n    \tfont-style: italic;\n    }\n\nWhen I load the page however I see in the console\nGET http://localhost:3000/css/style.css 404 (Not Found)\n\nI've tried combinations of renaming it, moving it to the root folder, specifying that it's at ./ ...  No difference it's never loaded\n\nThis is my first time using express 4.0 I'm not sure if that part is wrong,  the tutorial was definitely done using 3.X but the entire thing worked just fine when the style was in the html page.\n\nin case it's a routing thing from express this is all that I've done\n\n    app.get('*',function(req, res){\n\tres.sendfile(__dirname+'/index.html');\n    });\n\nAny suggestions?",
          "likes":null,
          "secure_media":null,
          "link_flair_text":null,
          "id":"23lw1v",
          "gilded":0,
          "secure_media_embed":{

          },
          "clicked":false,
          "stickied":false,
          "author":"strider3700",
          "media":null,
          "score":0,
          "approved_by":null,
          "over_18":false,
          "hidden":false,
          "thumbnail":"",
          "subreddit_id":"t5_2reca",
          "edited":false,
          "link_flair_css_class":null,
          "author_flair_css_class":null,
          "downs":3,
          "saved":false,
          "is_self":true,
          "permalink":"/r/node/comments/23lw1v/404_not_found_of_my_css_file/",
          "name":"t3_23lw1v",
          "created":1398132237.0,
          "url":"http://www.reddit.com/r/node/comments/23lw1v/404_not_found_of_my_css_file/",
          "author_flair_text":null,
          "title":"404 not found of my css file",
          "created_utc":1398103437.0,
          "ups":1,
          "num_comments":4,
          "visited":false,
          "num_reports":null,
          "distinguished":null
        }
      },
      {
        "kind":"t3",
        "data":{
          "domain":"destroyallsoftware.com",
          "banned_by":null,
          "media_embed":{

          },
          "subreddit":"node",
          "selftext_html":null,
          "selftext":"",
          "likes":null,
          "secure_media":null,
          "link_flair_text":null,
          "id":"23ia8w",
          "gilded":0,
          "secure_media_embed":{

          },
          "clicked":false,
          "stickied":false,
          "author":"eldosoa",
          "media":null,
          "score":25,
          "approved_by":null,
          "over_18":false,
          "hidden":false,
          "thumbnail":"",
          "subreddit_id":"t5_2reca",
          "edited":false,
          "link_flair_css_class":null,
          "author_flair_css_class":null,
          "downs":7,
          "saved":false,
          "is_self":false,
          "permalink":"/r/node/comments/23ia8w/the_birth_and_death_of_javascript/",
          "name":"t3_23ia8w",
          "created":1398027885.0,
          "url":"https://www.destroyallsoftware.com/talks/the-birth-and-death-of-javascript",
          "author_flair_text":null,
          "title":"The Birth and Death of Javascript",
          "created_utc":1397999085.0,
          "ups":32,
          "num_comments":13,
          "visited":false,
          "num_reports":null,
          "distinguished":null
        }
      },
      {
        "kind":"t3",
        "data":{
          "domain":"self.node",
          "banned_by":null,
          "media_embed":{

          },
          "subreddit":"node",
          "selftext_html":"&lt;!-- SC_OFF --&gt;&lt;div class=\"md\"&gt;&lt;p&gt;I&amp;#39;ve been looking for a project to learn node.js. My work has been using a commercial chat application but the problem we have is that we want to communicate information securely and on our own servers.  Rather than setting up a new chat app, I thought this would be a great change to learn node.js.&lt;/p&gt;\n\n&lt;p&gt;I&amp;#39;ve found several tutorials, some of which have a lot of deprecated portions, looking for advice on the best way to set this up knowing that I need to host it on my own servers and encrypt the chat for security.&lt;/p&gt;\n\n&lt;p&gt;Our clients have also expressed interest in securely chatting with their employees and I&amp;#39;d love to roll this out to a few thousand users one day.&lt;/p&gt;\n&lt;/div&gt;&lt;!-- SC_ON --&gt;",
          "selftext":"I've been looking for a project to learn node.js. My work has been using a commercial chat application but the problem we have is that we want to communicate information securely and on our own servers.  Rather than setting up a new chat app, I thought this would be a great change to learn node.js.\n\nI've found several tutorials, some of which have a lot of deprecated portions, looking for advice on the best way to set this up knowing that I need to host it on my own servers and encrypt the chat for security.\n\nOur clients have also expressed interest in securely chatting with their employees and I'd love to roll this out to a few thousand users one day.",
          "likes":null,
          "secure_media":null,
          "link_flair_text":null,
          "id":"23ioa9",
          "gilded":0,
          "secure_media_embed":{

          },
          "clicked":false,
          "stickied":false,
          "author":"wesley_g",
          "media":null,
          "score":1,
          "approved_by":null,
          "over_18":false,
          "hidden":false,
          "thumbnail":"",
          "subreddit_id":"t5_2reca",
          "edited":false,
          "link_flair_css_class":null,
          "author_flair_css_class":null,
          "downs":0,
          "saved":false,
          "is_self":true,
          "permalink":"/r/node/comments/23ioa9/advice_on_where_to_start_for_a_secure_node_chat/",
          "name":"t3_23ioa9",
          "created":1398039891.0,
          "url":"http://www.reddit.com/r/node/comments/23ioa9/advice_on_where_to_start_for_a_secure_node_chat/",
          "author_flair_text":null,
          "title":"Advice on where to start for a secure node chat application?",
          "created_utc":1398011091.0,
          "ups":1,
          "num_comments":12,
          "visited":false,
          "num_reports":null,
          "distinguished":null
        }
      },
      {
        "kind":"t3",
        "data":{
          "domain":"blog.volafile.io",
          "banned_by":null,
          "media_embed":{

          },
          "subreddit":"node",
          "selftext_html":null,
          "selftext":"",
          "likes":null,
          "secure_media":null,
          "link_flair_text":null,
          "id":"23g2l3",
          "gilded":0,
          "secure_media_embed":{

          },
          "clicked":false,
          "stickied":false,
          "author":"SerialLain",
          "media":null,
          "score":19,
          "approved_by":null,
          "over_18":false,
          "hidden":false,
          "thumbnail":"",
          "subreddit_id":"t5_2reca",
          "edited":false,
          "link_flair_css_class":null,
          "author_flair_css_class":null,
          "downs":17,
          "saved":false,
          "is_self":false,
          "permalink":"/r/node/comments/23g2l3/why_you_shouldnt_use_socketio_and_use_socketio/",
          "name":"t3_23g2l3",
          "created":1397955705.0,
          "url":"http://blog.volafile.io/2014/04/19/socketio/",
          "author_flair_text":null,
          "title":"Why you shouldn't use Socket.io and use Socket.io instead",
          "created_utc":1397926905.0,
          "ups":36,
          "num_comments":27,
          "visited":false,
          "num_reports":null,
          "distinguished":null
        }
      },
      {
        "kind":"t3",
        "data":{
          "domain":"github.com",
          "banned_by":null,
          "media_embed":{

          },
          "subreddit":"node",
          "selftext_html":null,
          "selftext":"",
          "likes":null,
          "secure_media":null,
          "link_flair_text":null,
          "id":"23ez3u",
          "gilded":0,
          "secure_media_embed":{

          },
          "clicked":false,
          "stickied":false,
          "author":"skillcode",
          "media":null,
          "score":12,
          "approved_by":null,
          "over_18":false,
          "hidden":false,
          "thumbnail":"",
          "subreddit_id":"t5_2reca",
          "edited":false,
          "link_flair_css_class":null,
          "author_flair_css_class":null,
          "downs":0,
          "saved":false,
          "is_self":false,
          "permalink":"/r/node/comments/23ez3u/ecmascript_6_in_nodejs/",
          "name":"t3_23ez3u",
          "created":1397911487.0,
          "url":"https://github.com/JustinDrake/node-es6-examples",
          "author_flair_text":null,
          "title":"ECMAScript 6 in Node.JS",
          "created_utc":1397882687.0,
          "ups":12,
          "num_comments":3,
          "visited":false,
          "num_reports":null,
          "distinguished":null
        }
      },
      {
        "kind":"t3",
        "data":{
          "domain":"self.node",
          "banned_by":null,
          "media_embed":{

          },
          "subreddit":"node",
          "selftext_html":"&lt;!-- SC_OFF --&gt;&lt;div class=\"md\"&gt;&lt;p&gt;I&amp;#39;m starting with Node, after coming from Ruby where ORMs (object relational mapper) such as ActiveRecord are the norm. I wanted to get an idea from fellow Node developers what they think of ORMs in Node. I know there are Node ORMs like Sequelize, Bookshelf and Juggling but I don&amp;#39;t see much people using them in projects.&lt;/p&gt;\n\n&lt;p&gt;Some questions:&lt;/p&gt;\n\n&lt;p&gt;1) What DB do you use?&lt;/p&gt;\n\n&lt;p&gt;2) Do you use an ORM?&lt;/p&gt;\n\n&lt;p&gt;3) Is your use of an ORM dependent on what DB you use?&lt;/p&gt;\n\n&lt;p&gt;4) Why or why shouldn&amp;#39;t one use an ORM?&lt;/p&gt;\n&lt;/div&gt;&lt;!-- SC_ON --&gt;",
          "selftext":"I'm starting with Node, after coming from Ruby where ORMs (object relational mapper) such as ActiveRecord are the norm. I wanted to get an idea from fellow Node developers what they think of ORMs in Node. I know there are Node ORMs like Sequelize, Bookshelf and Juggling but I don't see much people using them in projects.\n\nSome questions:\n\n1) What DB do you use?\n\n2) Do you use an ORM?\n\n3) Is your use of an ORM dependent on what DB you use?\n\n4) Why or why shouldn't one use an ORM?",
          "likes":null,
          "secure_media":null,
          "link_flair_text":null,
          "id":"23e8vv",
          "gilded":0,
          "secure_media_embed":{

          },
          "clicked":false,
          "stickied":false,
          "author":"eldosoa",
          "media":null,
          "score":27,
          "approved_by":null,
          "over_18":false,
          "hidden":false,
          "thumbnail":"",
          "subreddit_id":"t5_2reca",
          "edited":false,
          "link_flair_css_class":null,
          "author_flair_css_class":null,
          "downs":1,
          "saved":false,
          "is_self":true,
          "permalink":"/r/node/comments/23e8vv/do_you_use_an_orm/",
          "name":"t3_23e8vv",
          "created":1397891055.0,
          "url":"http://www.reddit.com/r/node/comments/23e8vv/do_you_use_an_orm/",
          "author_flair_text":null,
          "title":"Do you use an ORM?",
          "created_utc":1397862255.0,
          "ups":28,
          "num_comments":24,
          "visited":false,
          "num_reports":null,
          "distinguished":null
        }
      },
      {
        "kind":"t3",
        "data":{
          "domain":"code.tutsplus.com",
          "banned_by":null,
          "media_embed":{

          },
          "subreddit":"node",
          "selftext_html":null,
          "selftext":"",
          "likes":null,
          "secure_media":null,
          "link_flair_text":null,
          "id":"23eyzp",
          "gilded":0,
          "secure_media_embed":{

          },
          "clicked":false,
          "stickied":false,
          "author":"skillcode",
          "media":null,
          "score":3,
          "approved_by":null,
          "over_18":false,
          "hidden":false,
          "thumbnail":"",
          "subreddit_id":"t5_2reca",
          "edited":false,
          "link_flair_css_class":null,
          "author_flair_css_class":null,
          "downs":3,
          "saved":false,
          "is_self":false,
          "permalink":"/r/node/comments/23eyzp/creating_a_node_web_app_with_hapi_and_twilio/",
          "name":"t3_23eyzp",
          "created":1397911374.0,
          "url":"http://code.tutsplus.com/tutorials/creating-a-node-web-app-with-hapi-and-twilio-integration--cms-20769",
          "author_flair_text":null,
          "title":"Creating a Node Web App With Hapi and Twilio Integration",
          "created_utc":1397882574.0,
          "ups":6,
          "num_comments":0,
          "visited":false,
          "num_reports":null,
          "distinguished":null
        }
      },
      {
        "kind":"t3",
        "data":{
          "domain":"code.google.com",
          "banned_by":null,
          "media_embed":{

          },
          "subreddit":"node",
          "selftext_html":null,
          "selftext":"",
          "likes":null,
          "secure_media":null,
          "link_flair_text":null,
          "id":"23e2kb",
          "gilded":0,
          "secure_media_embed":{

          },
          "clicked":false,
          "stickied":false,
          "author":"EvanCarroll",
          "media":null,
          "score":5,
          "approved_by":null,
          "over_18":false,
          "hidden":false,
          "thumbnail":"",
          "subreddit_id":"t5_2reca",
          "edited":false,
          "link_flair_css_class":null,
          "author_flair_css_class":null,
          "downs":3,
          "saved":false,
          "is_self":false,
          "permalink":"/r/node/comments/23e2kb/es6_iterator_support_for_mapset_and_foreach_just/",
          "name":"t3_23e2kb",
          "created":1397886763.0,
          "url":"https://code.google.com/p/v8/source/detail?r=20857",
          "author_flair_text":null,
          "title":"ES6: Iterator support for Map/Set and forEach just landed in v8.",
          "created_utc":1397857963.0,
          "ups":8,
          "num_comments":5,
          "visited":false,
          "num_reports":null,
          "distinguished":null
        }
      }
    ],
    "after":"t3_23e2kb",
    "before":null
  }
}