diff --git a/spec/cassettes/RedditKit_Client_Search/_search/restricts_searches_to_a_specific_subreddit.yml b/spec/cassettes/RedditKit_Client_Search/_search/restricts_searches_to_a_specific_subreddit.yml index 96e07f0..56a480c 100644 --- a/spec/cassettes/RedditKit_Client_Search/_search/restricts_searches_to_a_specific_subreddit.yml +++ b/spec/cassettes/RedditKit_Client_Search/_search/restricts_searches_to_a_specific_subreddit.yml @@ -875,4 +875,887 @@ http_interactions: null}}], \"after\": \"t3_a7he5\", \"before\": null}}" http_version: recorded_at: Sun, 10 Nov 2013 22:21:30 GMT -recorded_with: VCR 2.6.0 +- request: + method: get + uri: http://www.reddit.com/r/ruby/search.json?after&before&count&limit&q=ruby&restrict_sr=true&sort&syntax&t + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - Faraday v0.8.8 + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - application/json; charset=UTF-8 + X-Frame-Options: + - SAMEORIGIN + Access-Control-Allow-Origin: + - "*" + Server: + - "'; DROP TABLE servertypes; --" + Vary: + - accept-encoding + Date: + - Wed, 08 Jan 2014 06:49:53 GMT + Transfer-Encoding: + - chunked + Connection: + - Transfer-Encoding + - keep-alive + body: + encoding: UTF-8 + string: "{\"kind\": \"Listing\", \"data\": {\"modhash\": \"\", \"children\": + [{\"kind\": \"t3\", \"data\": {\"domain\": \"self.ruby\", \"banned_by\": null, + \"media_embed\": {}, \"subreddit\": \"ruby\", \"selftext_html\": \"<!-- + SC_OFF --><div class=\\\"md\\\"><p>Hello <a href=\\\"/r/ruby\\\">/r/ruby</a> + </p>\\n\\n<p>I am new to Ruby, however I&#39;ve programmed + in C, C++, Java, and C# along with VB.NET, HTML, and minimal Python. </p>\\n\\n<p>I&#39;ve + heard that Ruby is a bit different and has quite the steep learning curve. + So I ask you...</p>\\n\\n<p>What is the one thing that you wish + you knew before starting to learn or really use Ruby?</p>\\n\\n<p>I + also plan on using RoR if anyone has thoughts on that as well!</p>\\n\\n<p>Any + comments are appreciated! Thanks Guys!</p>\\n</div><!-- SC_ON + -->\", \"selftext\": \"Hello /r/ruby \\n\\nI am new to Ruby, however I've + programmed in C, C++, Java, and C# along with VB.NET, HTML, and minimal Python. + \\n\\nI've heard that Ruby is a bit different and has quite the steep learning + curve. So I ask you...\\n\\nWhat is the one thing that you wish you knew before + starting to learn or really use Ruby?\\n\\nI also plan on using RoR if anyone + has thoughts on that as well!\\n\\nAny comments are appreciated! Thanks Guys!\", + \"likes\": null, \"secure_media\": null, \"link_flair_text\": null, \"id\": + \"1j9wqw\", \"secure_media_embed\": {}, \"clicked\": false, \"stickied\": + false, \"author\": \"ProductiveThings\", \"media\": null, \"score\": 56, \"approved_by\": + null, \"over_18\": false, \"hidden\": false, \"thumbnail\": \"\", \"subreddit_id\": + \"t5_2qh21\", \"edited\": false, \"link_flair_css_class\": null, \"author_flair_css_class\": + null, \"downs\": 9, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/1j9wqw/what_is_one_thing_you_wish_you_knew_when_starting/\", + \"name\": \"t3_1j9wqw\", \"created\": 1375108691.0, \"url\": \"http://www.reddit.com/r/ruby/comments/1j9wqw/what_is_one_thing_you_wish_you_knew_when_starting/\", + \"author_flair_text\": null, \"title\": \"What is one thing you wish you knew + when starting Ruby?\", \"created_utc\": 1375105091.0, \"ups\": 65, \"num_comments\": + 81, \"visited\": false, \"num_reports\": null, \"distinguished\": null}}, + {\"kind\": \"t3\", \"data\": {\"domain\": \"self.ruby\", \"banned_by\": null, + \"media_embed\": {}, \"subreddit\": \"ruby\", \"selftext_html\": \"<!-- + SC_OFF --><div class=\\\"md\\\"><p>...and thanks to everyone + in <a href=\\\"/r/ruby\\\">/r/ruby</a>, <a href=\\\"/r/rails\\\">/r/rails</a> + and <a href=\\\"/r/programming\\\">/r/programming</a> who helped + me gain not only the skills but the confidence to make the switch. I&#39;ve + been a lifelong marketer who always felt unfulfilled and spent nights/weekends/free + time learning Ruby, Rails, MySQL, PostgreSQL, jQuery, and more, finally culminating + in my first full-time development job. Wish me luck!</p>\\n</div><!-- + SC_ON -->\", \"selftext\": \"...and thanks to everyone in /r/ruby, /r/rails + and /r/programming who helped me gain not only the skills but the confidence + to make the switch. I've been a lifelong marketer who always felt unfulfilled + and spent nights/weekends/free time learning Ruby, Rails, MySQL, PostgreSQL, + jQuery, and more, finally culminating in my first full-time development job. + \ Wish me luck!\", \"likes\": null, \"secure_media\": null, \"link_flair_text\": + null, \"id\": \"1i72ww\", \"secure_media_embed\": {}, \"clicked\": false, + \"stickied\": false, \"author\": \"caadbury\", \"media\": null, \"score\": + 86, \"approved_by\": null, \"over_18\": false, \"hidden\": false, \"thumbnail\": + \"\", \"subreddit_id\": \"t5_2qh21\", \"edited\": false, \"link_flair_css_class\": + null, \"author_flair_css_class\": null, \"downs\": 24, \"saved\": false, \"is_self\": + true, \"permalink\": \"/r/ruby/comments/1i72ww/on_monday_i_start_a_new_career_as_a_web_developer/\", + \"name\": \"t3_1i72ww\", \"created\": 1373686161.0, \"url\": \"http://www.reddit.com/r/ruby/comments/1i72ww/on_monday_i_start_a_new_career_as_a_web_developer/\", + \"author_flair_text\": null, \"title\": \"On Monday, I start a new career + as a web developer in Ruby on Rails\", \"created_utc\": 1373682561.0, \"ups\": + 110, \"num_comments\": 49, \"visited\": false, \"num_reports\": null, \"distinguished\": + null}}, {\"kind\": \"t3\", \"data\": {\"domain\": \"self.ruby\", \"banned_by\": + null, \"media_embed\": {}, \"subreddit\": \"ruby\", \"selftext_html\": \"<!-- + SC_OFF --><div class=\\\"md\\\"><p>Hello everyone,</p>\\n\\n<p>This + is a little framework of mine that I&#39;ve built out of a personal need + - basically, I wanted to write a desktop app using Ruby and I found it daunting + to say the least.</p>\\n\\n<p>So, I&#39;ve built Freightrain + to take care of all the stuff I really shouldn&#39;t care about, like + loading interface definitions, cross-toolkit compatibility and the likes.</p>\\n\\n<p>Now + I&#39;ve been working on it for almost 2 years (on and off of course) + and, since I&#39;ve just fixed it so it loads the newest glade specifications, + I thought that I could ask you guys for an evaluation.</p>\\n\\n<p>There&#39;s + a little readme on the github page and there are some examples in the /examples + folder.</p>\\n\\n<p><a href=\\\"http://github.com/bolthar/freightrain\\\">Link + to the github page!</a></p>\\n\\n<p>WHOA! Thanks for the + attention, I thought this was going to be ignored...</p>\\n\\n<p>How + many of you would be interested in a step by step tutorial over the major + features? I will build that if there&#39;s enough interest.</p>\\n</div><!-- + SC_ON -->\", \"selftext\": \"Hello everyone,\\n\\nThis is a little framework + of mine that I've built out of a personal need - basically, I wanted to write + a desktop app using Ruby and I found it daunting to say the least.\\n\\nSo, + I've built Freightrain to take care of all the stuff I really shouldn't care + about, like loading interface definitions, cross-toolkit compatibility and + the likes.\\n\\nNow I've been working on it for almost 2 years (on and off + of course) and, since I've just fixed it so it loads the newest glade specifications, + I thought that I could ask you guys for an evaluation.\\n\\nThere's a little + readme on the github page and there are some examples in the /examples folder.\\n\\n[Link + to the github page!](http://github.com/bolthar/freightrain)\\n\\nWHOA! Thanks + for the attention, I thought this was going to be ignored...\\n\\nHow many + of you would be interested in a step by step tutorial over the major features? + I will build that if there's enough interest.\", \"likes\": null, \"secure_media\": + null, \"link_flair_text\": null, \"id\": \"sk4qq\", \"secure_media_embed\": + {}, \"clicked\": false, \"stickied\": false, \"author\": \"bolthar\", \"media\": + null, \"score\": 161, \"approved_by\": null, \"over_18\": false, \"hidden\": + false, \"thumbnail\": \"\", \"subreddit_id\": \"t5_2qh21\", \"edited\": true, + \"link_flair_css_class\": null, \"author_flair_css_class\": null, \"downs\": + 12, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/sk4qq/freightrain_easy_ruby_desktop_development/\", + \"name\": \"t3_sk4qq\", \"created\": 1334952179.0, \"url\": \"http://www.reddit.com/r/ruby/comments/sk4qq/freightrain_easy_ruby_desktop_development/\", + \"author_flair_text\": null, \"title\": \"Freightrain - easy Ruby desktop + development\", \"created_utc\": 1334948579.0, \"ups\": 173, \"num_comments\": + 32, \"visited\": false, \"num_reports\": null, \"distinguished\": null}}, + {\"kind\": \"t3\", \"data\": {\"domain\": \"self.ruby\", \"banned_by\": null, + \"media_embed\": {}, \"subreddit\": \"ruby\", \"selftext_html\": \"<!-- + SC_OFF --><div class=\\\"md\\\"><p>I&#39;m learning Ruby + on codecademy, and intending to learn rails after that. I was told by a dev + friend that both Ruby and Ruby on Rails are outdated and bloated. He reckons + that Javascript is better and more relevant. Is this true? I&#39;ve been + really enjoying learning, is it worthwhile? </p>\\n</div><!-- + SC_ON -->\", \"selftext\": \"I'm learning Ruby on codecademy, and intending + to learn rails after that. I was told by a dev friend that both Ruby and Ruby + on Rails are outdated and bloated. He reckons that Javascript is better and + more relevant. Is this true? I've been really enjoying learning, is it worthwhile? + \", \"likes\": null, \"secure_media\": null, \"link_flair_text\": null, \"id\": + \"1uivc3\", \"secure_media_embed\": {}, \"clicked\": false, \"stickied\": + false, \"author\": \"KingPimpCommander\", \"media\": null, \"score\": 21, + \"approved_by\": null, \"over_18\": false, \"hidden\": false, \"thumbnail\": + \"\", \"subreddit_id\": \"t5_2qh21\", \"edited\": false, \"link_flair_css_class\": + null, \"author_flair_css_class\": null, \"downs\": 18, \"saved\": false, \"is_self\": + true, \"permalink\": \"/r/ruby/comments/1uivc3/is_ruby_outdated/\", \"name\": + \"t3_1uivc3\", \"created\": 1389021421.0, \"url\": \"http://www.reddit.com/r/ruby/comments/1uivc3/is_ruby_outdated/\", + \"author_flair_text\": null, \"title\": \"Is Ruby outdated?\", \"created_utc\": + 1388992621.0, \"ups\": 39, \"num_comments\": 86, \"visited\": false, \"num_reports\": + null, \"distinguished\": null}}, {\"kind\": \"t3\", \"data\": {\"domain\": + \"self.ruby\", \"banned_by\": null, \"media_embed\": {}, \"subreddit\": \"ruby\", + \"selftext_html\": \"<!-- SC_OFF --><div class=\\\"md\\\"><p>I&#39;ve + been trying to figure this one out in past few days and I&#39;m quite + unable to come up with reasonable answer.</p>\\n\\n<ul>\\n<li>We + have GitHub, most awesomest <em>social network</em> on the internet.</li>\\n<li>We + have RubyGems, centralized libraries for everything.</li>\\n<li>We + have JRuby, for those who want to stick in the Java world or do some real + threading.</li>\\n<li>We have Rails, possibly the best web framework + available (django people please don&#39;t burry me alive)</li>\\n<li>We + have RSpec and Cucumber, which make me cry when I have to work with JUnit.</li>\\n<li>We + have great cloud hosting solutions like Heroku and Engine Yard.</li>\\n<li>We + have huge number of screencasts and tutorials, especially those high quality + ones (Peepcode, Think Vitamin, Railscasts).</li>\\n<li>Last but + not least, we have Ruby, language which is fun to work with, expressive ... + well you know.</li>\\n</ul>\\n\\n<p>The list could go on + and on, so I guess you get my point. </p>\\n\\n<p>My question + is: <strong>What is missing? What do we need, but don&#39;t (yet) + have?</strong></p>\\n</div><!-- SC_ON -->\", \"selftext\": + \"I've been trying to figure this one out in past few days and I'm quite unable + to come up with reasonable answer.\\n\\n* We have GitHub, most awesomest *social + network* on the internet.\\n* We have RubyGems, centralized libraries for + everything.\\n* We have JRuby, for those who want to stick in the Java world + or do some real threading.\\n* We have Rails, possibly the best web framework + available (django people please don't burry me alive)\\n* We have RSpec and + Cucumber, which make me cry when I have to work with JUnit.\\n* We have great + cloud hosting solutions like Heroku and Engine Yard.\\n* We have huge number + of screencasts and tutorials, especially those high quality ones (Peepcode, + Think Vitamin, Railscasts).\\n* Last but not least, we have Ruby, language + which is fun to work with, expressive ... well you know.\\n\\nThe list could + go on and on, so I guess you get my point. \\n\\nMy question is: **What is + missing? What do we need, but don't (yet) have?**\", \"likes\": null, \"secure_media\": + null, \"link_flair_text\": null, \"id\": \"elygz\", \"secure_media_embed\": + {}, \"clicked\": false, \"stickied\": false, \"author\": \"progfu\", \"media\": + null, \"score\": 39, \"approved_by\": null, \"over_18\": false, \"hidden\": + false, \"thumbnail\": \"\", \"subreddit_id\": \"t5_2qh21\", \"edited\": false, + \"link_flair_css_class\": null, \"author_flair_css_class\": null, \"downs\": + 10, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/elygz/what_is_the_biggest_current_problem_in_ruby/\", + \"name\": \"t3_elygz\", \"created\": 1292377299.0, \"url\": \"http://www.reddit.com/r/ruby/comments/elygz/what_is_the_biggest_current_problem_in_ruby/\", + \"author_flair_text\": null, \"title\": \"What is the biggest current problem + in Ruby community?\", \"created_utc\": 1292377299.0, \"ups\": 49, \"num_comments\": + 134, \"visited\": false, \"num_reports\": null, \"distinguished\": null}}, + {\"kind\": \"t3\", \"data\": {\"domain\": \"self.ruby\", \"banned_by\": null, + \"media_embed\": {}, \"subreddit\": \"ruby\", \"selftext_html\": \"<!-- + SC_OFF --><div class=\\\"md\\\"><p>Whats the best way to set + up Ruby on Rails on OSx -- Newbie, and trying to figure out how to use Ruby + on rails on my macbook </p>\\n</div><!-- SC_ON -->\", \"selftext\": + \"Whats the best way to set up Ruby on Rails on OSx -- Newbie, and trying + to figure out how to use Ruby on rails on my macbook \", \"likes\": null, + \"secure_media\": null, \"link_flair_text\": null, \"id\": \"zm1uu\", \"secure_media_embed\": + {}, \"clicked\": false, \"stickied\": false, \"author\": \"sirisaac87\", \"media\": + null, \"score\": 27, \"approved_by\": null, \"over_18\": false, \"hidden\": + false, \"thumbnail\": \"\", \"subreddit_id\": \"t5_2qh21\", \"edited\": false, + \"link_flair_css_class\": null, \"author_flair_css_class\": null, \"downs\": + 6, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/zm1uu/setup_ruby_on_rails_on_osx/\", + \"name\": \"t3_zm1uu\", \"created\": 1347219823.0, \"url\": \"http://www.reddit.com/r/ruby/comments/zm1uu/setup_ruby_on_rails_on_osx/\", + \"author_flair_text\": null, \"title\": \"Setup Ruby on Rails on OSX -- \", + \"created_utc\": 1347216223.0, \"ups\": 33, \"num_comments\": 54, \"visited\": + false, \"num_reports\": null, \"distinguished\": null}}, {\"kind\": \"t3\", + \"data\": {\"domain\": \"self.ruby\", \"banned_by\": null, \"media_embed\": + {}, \"subreddit\": \"ruby\", \"selftext_html\": \"<!-- SC_OFF --><div + class=\\\"md\\\"><p>So jamesgolick was kind enough to make me moderator + of the community. I want to make a promise to you guys that I&#39;ll do + my best to keep it clean.</p>\\n\\n<p>If you have any requests + please let me know (like a valid link for the side navigation).</p>\\n\\n<p>How + do you want to see r/ruby improved? - A contest, guides, removing spam, etc. + Let me know!</p>\\n</div><!-- SC_ON -->\", \"selftext\": + \"So jamesgolick was kind enough to make me moderator of the community. I + want to make a promise to you guys that I'll do my best to keep it clean.\\n\\nIf + you have any requests please let me know (like a valid link for the side navigation).\\n\\nHow + do you want to see r/ruby improved? - A contest, guides, removing spam, etc. + Let me know!\", \"likes\": null, \"secure_media\": null, \"link_flair_text\": + null, \"id\": \"g1pia\", \"secure_media_embed\": {}, \"clicked\": false, \"stickied\": + false, \"author\": \"ViralInfection\", \"media\": null, \"score\": 35, \"approved_by\": + null, \"over_18\": false, \"hidden\": false, \"thumbnail\": \"\", \"subreddit_id\": + \"t5_2qh21\", \"edited\": false, \"link_flair_css_class\": null, \"author_flair_css_class\": + null, \"downs\": 8, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/g1pia/hello_rruby_im_your_new_moderator_how_would_you/\", + \"name\": \"t3_g1pia\", \"created\": 1299819313.0, \"url\": \"http://www.reddit.com/r/ruby/comments/g1pia/hello_rruby_im_your_new_moderator_how_would_you/\", + \"author_flair_text\": null, \"title\": \"Hello r/ruby. I'm your new moderator, + how would you improve r/ruby?\", \"created_utc\": 1299819313.0, \"ups\": 43, + \"num_comments\": 53, \"visited\": false, \"num_reports\": null, \"distinguished\": + null}}, {\"kind\": \"t3\", \"data\": {\"domain\": \"self.ruby\", \"banned_by\": + null, \"media_embed\": {}, \"subreddit\": \"ruby\", \"selftext_html\": \"<!-- + SC_OFF --><div class=\\\"md\\\"><p>I&#39;m working my way + through Zed&#39;s <em>Learn Ruby the Hard Way</em> and just + completed my first week-long, make-your-own-game section.</p>\\n\\n<p>Here + it is on github (also my first repo):\\n<a href=\\\"https://github.com/demiankz/escapezeta.git\\\">https://github.com/demiankz/escapezeta.git</a></p>\\n\\n<p>I&#39;ve + used most of what I know about ruby to make this game: functions, global variables, + arrays, if/else, .include?, booleans, and a couple other random things. I + have a feeling that there are major flaws in my code (nested if/else and global + variables first among them, I&#39;m sure).</p>\\n\\n<p>I&#39;d + love to hear how an experienced rubyist would improve on my attempt.</p>\\n</div><!-- + SC_ON -->\", \"selftext\": \"I'm working my way through Zed's *Learn Ruby + the Hard Way* and just completed my first week-long, make-your-own-game section.\\n\\nHere + it is on github (also my first repo):\\nhttps://github.com/demiankz/escapezeta.git\\n\\nI've + used most of what I know about ruby to make this game: functions, global variables, + arrays, if/else, .include?, booleans, and a couple other random things. I + have a feeling that there are major flaws in my code (nested if/else and global + variables first among them, I'm sure).\\n\\nI'd love to hear how an experienced + rubyist would improve on my attempt.\", \"likes\": null, \"secure_media\": + null, \"link_flair_text\": null, \"id\": \"1eqond\", \"secure_media_embed\": + {}, \"clicked\": false, \"stickied\": false, \"author\": \"demiankz\", \"media\": + null, \"score\": 41, \"approved_by\": null, \"over_18\": false, \"hidden\": + false, \"thumbnail\": \"\", \"subreddit_id\": \"t5_2qh21\", \"edited\": false, + \"link_flair_css_class\": null, \"author_flair_css_class\": null, \"downs\": + 2, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/1eqond/my_first_ruby_game_what_did_i_do_rightwrong/\", + \"name\": \"t3_1eqond\", \"created\": 1369109135.0, \"url\": \"http://www.reddit.com/r/ruby/comments/1eqond/my_first_ruby_game_what_did_i_do_rightwrong/\", + \"author_flair_text\": null, \"title\": \"My first Ruby game. What did I do + right/wrong?\", \"created_utc\": 1369105535.0, \"ups\": 43, \"num_comments\": + 55, \"visited\": false, \"num_reports\": null, \"distinguished\": null}}, + {\"kind\": \"t3\", \"data\": {\"domain\": \"self.ruby\", \"banned_by\": null, + \"media_embed\": {}, \"subreddit\": \"ruby\", \"selftext_html\": \"<!-- + SC_OFF --><div class=\\\"md\\\"><p>They only kept one guy on + the API team and he&#39;s been there from the beginning. I&#39;ve + done a few rails projects but not enough to consider myself a rails developer + guru. Any jobs for guys with just ruby experience?</p>\\n</div><!-- + SC_ON -->\", \"selftext\": \"They only kept one guy on the API team and + he's been there from the beginning. I've done a few rails projects but not + enough to consider myself a rails developer guru. Any jobs for guys with just + ruby experience?\", \"likes\": null, \"secure_media\": null, \"link_flair_text\": + null, \"id\": \"1nylih\", \"secure_media_embed\": {}, \"clicked\": false, + \"stickied\": false, \"author\": \"Solnse\", \"media\": null, \"score\": 34, + \"approved_by\": null, \"over_18\": false, \"hidden\": false, \"thumbnail\": + \"\", \"subreddit_id\": \"t5_2qh21\", \"edited\": false, \"link_flair_css_class\": + null, \"author_flair_css_class\": null, \"downs\": 6, \"saved\": false, \"is_self\": + true, \"permalink\": \"/r/ruby/comments/1nylih/company_downsized_today_i_got_caught_in_the/\", + \"name\": \"t3_1nylih\", \"created\": 1381207667.0, \"url\": \"http://www.reddit.com/r/ruby/comments/1nylih/company_downsized_today_i_got_caught_in_the/\", + \"author_flair_text\": null, \"title\": \"Company downsized today. I got caught + in the layoff spree. Where is the best place for a ruby dev to search for + a stable job?\", \"created_utc\": 1381204067.0, \"ups\": 40, \"num_comments\": + 56, \"visited\": false, \"num_reports\": null, \"distinguished\": null}}, + {\"kind\": \"t3\", \"data\": {\"domain\": \"self.ruby\", \"banned_by\": null, + \"media_embed\": {}, \"subreddit\": \"ruby\", \"selftext_html\": \"<!-- + SC_OFF --><div class=\\\"md\\\"><p>start with straight ruby + or go to rails?\\nI started with HTML/CSS/PHP/javascript with no frameworks + and am wondering if i would be better to start with straight ruby as well. + </p>\\n\\n<p>Thanks all.!!</p>\\n</div><!-- SC_ON + -->\", \"selftext\": \"start with straight ruby or go to rails?\\nI started + with HTML/CSS/PHP/javascript with no frameworks and am wondering if i would + be better to start with straight ruby as well. \\n\\nThanks all.!!\", \"likes\": + null, \"secure_media\": null, \"link_flair_text\": null, \"id\": \"widgp\", + \"secure_media_embed\": {}, \"clicked\": false, \"stickied\": false, \"author\": + \"swiftpants\", \"media\": null, \"score\": 21, \"approved_by\": null, \"over_18\": + false, \"hidden\": false, \"thumbnail\": \"\", \"subreddit_id\": \"t5_2qh21\", + \"edited\": false, \"link_flair_css_class\": null, \"author_flair_css_class\": + null, \"downs\": 2, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/widgp/newb_to_ruby_should_i/\", + \"name\": \"t3_widgp\", \"created\": 1342206260.0, \"url\": \"http://www.reddit.com/r/ruby/comments/widgp/newb_to_ruby_should_i/\", + \"author_flair_text\": null, \"title\": \"newb to ruby.. should I\", \"created_utc\": + 1342202660.0, \"ups\": 23, \"num_comments\": 50, \"visited\": false, \"num_reports\": + null, \"distinguished\": null}}, {\"kind\": \"t3\", \"data\": {\"domain\": + \"self.ruby\", \"banned_by\": null, \"media_embed\": {}, \"subreddit\": \"ruby\", + \"selftext_html\": \"<!-- SC_OFF --><div class=\\\"md\\\"><p>This + is a translation of <a href=\\\"http://www.nikkan.co.jp/news/nkx0220110919aaac.html\\\">an + article by \\u65e5\\u520a\\u5de5\\u696d\\u65b0\\u805e (nikkan)</a> which + is a publication dedicated to industry news in Japan.</p>\\n\\n<p>The + Japan based Ruby language is set to become an international standard in 2012 + through the International Organization for Standardization (ISO). Ruby was + already standardized through Japanese Industrial Standards (JIS), and the + focus will now be directed towards its recognition in the global community + by becoming an official ISO standard. This would be the first time a programming + language of Japanese origin would become an ISO standard. The nation of Japan + hopes that this will increase its recognition in the primarily western dominated + software field.</p>\\n\\n<p>Ruby was developed by fellow Yukihiro + Matsumoto at the National Applied Communication Laboratory (Matsue city). + Features such as the ability to architect high level applications with ease + has gained Ruby fast popularity around web development both inside and outside + the country.</p>\\n\\n<p>The ISO standardization of Ruby is being + pushed by the Information-technology Promotion Agency (IPA). Domestically + Ruby became a JIS standard (JIS X3017) in March from a proposal by the Ruby + Standardization Study Working Group.</p>\\n</div><!-- SC_ON + -->\", \"selftext\": \"This is a translation of [an article by \\u65e5\\u520a\\u5de5\\u696d\\u65b0\\u805e + (nikkan)](http://www.nikkan.co.jp/news/nkx0220110919aaac.html) which is a + publication dedicated to industry news in Japan.\\n\\n The Japan based Ruby + language is set to become an international standard in 2012 through the International + Organization for Standardization (ISO). Ruby was already standardized through + Japanese Industrial Standards (JIS), and the focus will now be directed towards + its recognition in the global community by becoming an official ISO standard. + This would be the first time a programming language of Japanese origin would + become an ISO standard. The nation of Japan hopes that this will increase + its recognition in the primarily western dominated software field.\\n\\n Ruby + was developed by fellow Yukihiro Matsumoto at the National Applied Communication + Laboratory (Matsue city). Features such as the ability to architect high level + applications with ease has gained Ruby fast popularity around web development + both inside and outside the country.\\n\\n The ISO standardization of Ruby + is being pushed by the Information-technology Promotion Agency (IPA). Domestically + Ruby became a JIS standard (JIS X3017) in March from a proposal by the Ruby + Standardization Study Working Group.\", \"likes\": null, \"secure_media\": + null, \"link_flair_text\": null, \"id\": \"kk5ln\", \"secure_media_embed\": + {}, \"clicked\": false, \"stickied\": false, \"author\": \"cwgem\", \"media\": + null, \"score\": 61, \"approved_by\": null, \"over_18\": false, \"hidden\": + false, \"thumbnail\": \"\", \"subreddit_id\": \"t5_2qh21\", \"edited\": false, + \"link_flair_css_class\": null, \"author_flair_css_class\": null, \"downs\": + 2, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/kk5ln/ruby_to_be_the_first_japanese_made_programming/\", + \"name\": \"t3_kk5ln\", \"created\": 1316409512.0, \"url\": \"http://www.reddit.com/r/ruby/comments/kk5ln/ruby_to_be_the_first_japanese_made_programming/\", + \"author_flair_text\": null, \"title\": \"Ruby to be the first Japanese made + programming language to become an international standard sometime next year\", + \"created_utc\": 1316405912.0, \"ups\": 63, \"num_comments\": 10, \"visited\": + false, \"num_reports\": null, \"distinguished\": null}}, {\"kind\": \"t3\", + \"data\": {\"domain\": \"self.ruby\", \"banned_by\": null, \"media_embed\": + {}, \"subreddit\": \"ruby\", \"selftext_html\": \"<!-- SC_OFF --><div + class=\\\"md\\\"><p>I was going through github, and I came across + a simple tictactoe program. It surprised me how clever the programmer was + with blocks and yields and such. I wrote a tictactoe program myself months + ago when I was learning Ruby, and when I compare the two, my code is very + clunky and not at all as elegant as this programmer. </p>\\n\\n<p>And + now I realize that the best way to improve my skills is to read the code of + programmers who are much more advanced than I am. </p>\\n\\n<p>So + I ask, what are some of the best ruby code that you have ever seen?</p>\\n</div><!-- + SC_ON -->\", \"selftext\": \"I was going through github, and I came across + a simple tictactoe program. It surprised me how clever the programmer was + with blocks and yields and such. I wrote a tictactoe program myself months + ago when I was learning Ruby, and when I compare the two, my code is very + clunky and not at all as elegant as this programmer. \\n \\nAnd now I + realize that the best way to improve my skills is to read the code of programmers + who are much more advanced than I am. \\n \\nSo I ask, what are some of + the best ruby code that you have ever seen?\", \"likes\": null, \"secure_media\": + null, \"link_flair_text\": null, \"id\": \"1mwg7o\", \"secure_media_embed\": + {}, \"clicked\": false, \"stickied\": false, \"author\": \"hopengrind\", \"media\": + null, \"score\": 55, \"approved_by\": null, \"over_18\": false, \"hidden\": + false, \"thumbnail\": \"\", \"subreddit_id\": \"t5_2qh21\", \"edited\": false, + \"link_flair_css_class\": null, \"author_flair_css_class\": null, \"downs\": + 10, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/1mwg7o/what_are_some_of_the_best_ruby_programs_youve/\", + \"name\": \"t3_1mwg7o\", \"created\": 1379872130.0, \"url\": \"http://www.reddit.com/r/ruby/comments/1mwg7o/what_are_some_of_the_best_ruby_programs_youve/\", + \"author_flair_text\": null, \"title\": \"What are some of the best ruby programs + you've ever seen?\", \"created_utc\": 1379868530.0, \"ups\": 65, \"num_comments\": + 25, \"visited\": false, \"num_reports\": null, \"distinguished\": null}}, + {\"kind\": \"t3\", \"data\": {\"domain\": \"self.ruby\", \"banned_by\": null, + \"media_embed\": {}, \"subreddit\": \"ruby\", \"selftext_html\": \"<!-- + SC_OFF --><div class=\\\"md\\\"><p>I&#39;m learning ruby + now and looking forward to finding a job doing front end and app development. + \ Thanks!</p>\\n</div><!-- SC_ON -->\", \"selftext\": \"I'm + learning ruby now and looking forward to finding a job doing front end and + app development. Thanks!\", \"likes\": null, \"secure_media\": null, \"link_flair_text\": + null, \"id\": \"1kylfv\", \"secure_media_embed\": {}, \"clicked\": false, + \"stickied\": false, \"author\": \"codemonkei\", \"media\": null, \"score\": + 26, \"approved_by\": null, \"over_18\": false, \"hidden\": false, \"thumbnail\": + \"\", \"subreddit_id\": \"t5_2qh21\", \"edited\": 1377394522.0, \"link_flair_css_class\": + null, \"author_flair_css_class\": null, \"downs\": 8, \"saved\": false, \"is_self\": + true, \"permalink\": \"/r/ruby/comments/1kylfv/what_are_some_good_projects_to_do_with_ruby_to/\", + \"name\": \"t3_1kylfv\", \"created\": 1377289503.0, \"url\": \"http://www.reddit.com/r/ruby/comments/1kylfv/what_are_some_good_projects_to_do_with_ruby_to/\", + \"author_flair_text\": null, \"title\": \"What are some good projects to do + with Ruby to impress employers?\", \"created_utc\": 1377285903.0, \"ups\": + 34, \"num_comments\": 43, \"visited\": false, \"num_reports\": null, \"distinguished\": + null}}, {\"kind\": \"t3\", \"data\": {\"domain\": \"self.ruby\", \"banned_by\": + null, \"media_embed\": {}, \"subreddit\": \"ruby\", \"selftext_html\": \"<!-- + SC_OFF --><div class=\\\"md\\\"><p>Even I have just only few + experiences of Ruby, I just become aware of there <em>is</em> + <code>for</code> in Ruby (I saw that when I learned Ruby first). + \ Most of Ruby codes seem to use just <code>Enumerable#each</code> + method instead of <code>for</code> statement, but why? Is there + any reason to prefer <code>Enumerable#each</code> method over + <code>for</code> statement?</p>\\n</div><!-- SC_ON + -->\", \"selftext\": \"Even I have just only few experiences of Ruby, I + just become aware of there *is* `for` in Ruby (I saw that when I learned Ruby + first). Most of Ruby codes seem to use just `Enumerable#each` method instead + of `for` statement, but why? Is there any reason to prefer `Enumerable#each` + method over `for` statement?\", \"likes\": null, \"secure_media\": null, \"link_flair_text\": + null, \"id\": \"p1l8k\", \"secure_media_embed\": {}, \"clicked\": false, \"stickied\": + false, \"author\": \"hongminhee\", \"media\": null, \"score\": 27, \"approved_by\": + null, \"over_18\": false, \"hidden\": false, \"thumbnail\": \"\", \"subreddit_id\": + \"t5_2qh21\", \"edited\": false, \"link_flair_css_class\": null, \"author_flair_css_class\": + null, \"downs\": 4, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/p1l8k/why_is_there_forstatement_in_ruby/\", + \"name\": \"t3_p1l8k\", \"created\": 1327833555.0, \"url\": \"http://www.reddit.com/r/ruby/comments/p1l8k/why_is_there_forstatement_in_ruby/\", + \"author_flair_text\": null, \"title\": \"Why is there for-statement in Ruby?\", + \"created_utc\": 1327833555.0, \"ups\": 31, \"num_comments\": 35, \"visited\": + false, \"num_reports\": null, \"distinguished\": null}}, {\"kind\": \"t3\", + \"data\": {\"domain\": \"self.ruby\", \"banned_by\": null, \"media_embed\": + {}, \"subreddit\": \"ruby\", \"selftext_html\": \"<!-- SC_OFF --><div + class=\\\"md\\\"><p>The languages are often compared so I am hoping + my knowledge of python will make learning ruby faster. Maybe the best method + is just to read a ruby book and learn from scratch, I am not sure yet how + similar they are. However if anyone has made the switch and knows what a good + starting point would be or if there are resrouces geared toward switching + I would apperciate the advice. Thanks.</p>\\n\\n<p>Edit: I will + be using ruby as a scripting language. Mosly maintaing and updating existing + scripts that put together XML files used for input for other applications + and things like file management and such. So if there are resrouces geared + towards scripting rather than building ruby applications that would be helpful.</p>\\n</div><!-- + SC_ON -->\", \"selftext\": \"The languages are often compared so I am hoping + my knowledge of python will make learning ruby faster. Maybe the best method + is just to read a ruby book and learn from scratch, I am not sure yet how + similar they are. However if anyone has made the switch and knows what a good + starting point would be or if there are resrouces geared toward switching + I would apperciate the advice. Thanks.\\n\\nEdit: I will be using ruby as + a scripting language. Mosly maintaing and updating existing scripts that put + together XML files used for input for other applications and things like + file management and such. So if there are resrouces geared towards scripting + rather than building ruby applications that would be helpful.\", \"likes\": + null, \"secure_media\": null, \"link_flair_text\": null, \"id\": \"pgnbp\", + \"secure_media_embed\": {}, \"clicked\": false, \"stickied\": false, \"author\": + \"f4hy\", \"media\": null, \"score\": 18, \"approved_by\": null, \"over_18\": + false, \"hidden\": false, \"thumbnail\": \"\", \"subreddit_id\": \"t5_2qh21\", + \"edited\": true, \"link_flair_css_class\": null, \"author_flair_css_class\": + null, \"downs\": 5, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/pgnbp/i_am_a_python_programmer_who_needs_to_learn_ruby/\", + \"name\": \"t3_pgnbp\", \"created\": 1328729735.0, \"url\": \"http://www.reddit.com/r/ruby/comments/pgnbp/i_am_a_python_programmer_who_needs_to_learn_ruby/\", + \"author_flair_text\": null, \"title\": \"I am a python programmer who needs + to learn ruby. Any good resources or advice?\", \"created_utc\": 1328729735.0, + \"ups\": 23, \"num_comments\": 55, \"visited\": false, \"num_reports\": null, + \"distinguished\": null}}, {\"kind\": \"t3\", \"data\": {\"domain\": \"self.ruby\", + \"banned_by\": null, \"media_embed\": {}, \"subreddit\": \"ruby\", \"selftext_html\": + \"<!-- SC_OFF --><div class=\\\"md\\\"><p>I can&#39;t + d/l XCode due to my version of OSX. RVM install commands don&#39;t seem + to make sense within my terminal. Do I need git? </p>\\n\\n<p>I + would like to learn Ruby (then Rails) but so far I&#39;m just frustrated. + </p>\\n\\n<p>Thank you for any help you guys can offer.</p>\\n</div><!-- + SC_ON -->\", \"selftext\": \"I can't d/l XCode due to my version of OSX. + RVM install commands don't seem to make sense within my terminal. Do I need + git? \\n\\nI would like to learn Ruby (then Rails) but so far I'm just frustrated. + \\n\\nThank you for any help you guys can offer.\", \"likes\": null, \"secure_media\": + null, \"link_flair_text\": null, \"id\": \"rpwze\", \"secure_media_embed\": + {}, \"clicked\": false, \"stickied\": false, \"author\": \"BeauBeauBeau\", + \"media\": null, \"score\": 16, \"approved_by\": null, \"over_18\": false, + \"hidden\": false, \"thumbnail\": \"\", \"subreddit_id\": \"t5_2qh21\", \"edited\": + false, \"link_flair_css_class\": null, \"author_flair_css_class\": null, \"downs\": + 5, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/rpwze/installing_ruby_wo_xcode_on_a_mac_or_why_is/\", + \"name\": \"t3_rpwze\", \"created\": 1333397680.0, \"url\": \"http://www.reddit.com/r/ruby/comments/rpwze/installing_ruby_wo_xcode_on_a_mac_or_why_is/\", + \"author_flair_text\": null, \"title\": \"Installing Ruby w/o XCode on a Mac: + or why is installing Ruby such a pain in the ass? [NOOB] \", \"created_utc\": + 1333394080.0, \"ups\": 21, \"num_comments\": 53, \"visited\": false, \"num_reports\": + null, \"distinguished\": null}}, {\"kind\": \"t3\", \"data\": {\"domain\": + \"self.ruby\", \"banned_by\": null, \"media_embed\": {}, \"subreddit\": \"ruby\", + \"selftext_html\": \"<!-- SC_OFF --><div class=\\\"md\\\"><p>I&#39;m + going through the Ruby Koans right now as part of trying to learn Ruby. I + just finished the about_blocks koan and I really just don&#39;t understand + how the <code>yield</code> keyword works. Example code from the + koan:</p>\\n\\n<pre><code>def many_yields\\n yield(:peanut)\\n + \ yield(:butter)\\n yield(:and)\\n yield(:jelly)\\nend\\n\\ndef test_methods_can_call_yield_many_times\\n + \ result = []\\n many_yields { |item| result &lt;&lt; item }\\n assert_equal + [:peanut, :butter, :and, :jelly], result\\nend\\n</code></pre>\\n\\n<p>I + can see that <code>result</code> is getting all four yielded values + from <code>many_yields</code>, but I don&#39;t really understand + what&#39;s going on. I especially don&#39;t understand the cases where + yield is called without any values. Can somebody explain this keyword to me?</p>\\n</div><!-- + SC_ON -->\", \"selftext\": \"I'm going through the Ruby Koans right now + as part of trying to learn Ruby. I just finished the about_blocks koan and + I really just don't understand how the `yield` keyword works. Example code + from the koan:\\n\\n def many_yields\\n yield(:peanut)\\n yield(:butter)\\n + \ yield(:and)\\n yield(:jelly)\\n end\\n\\n def test_methods_can_call_yield_many_times\\n + \ result = []\\n many_yields { |item| result << item }\\n assert_equal + [:peanut, :butter, :and, :jelly], result\\n end\\n\\nI can see that `result` + is getting all four yielded values from `many_yields`, but I don't really + understand what's going on. I especially don't understand the cases where + yield is called without any values. Can somebody explain this keyword to me?\", + \"likes\": null, \"secure_media\": null, \"link_flair_text\": null, \"id\": + \"kvjrw\", \"secure_media_embed\": {}, \"clicked\": false, \"stickied\": false, + \"author\": \"glenbolake\", \"media\": null, \"score\": 44, \"approved_by\": + null, \"over_18\": false, \"hidden\": false, \"thumbnail\": \"\", \"subreddit_id\": + \"t5_2qh21\", \"edited\": false, \"link_flair_css_class\": null, \"author_flair_css_class\": + null, \"downs\": 1, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/kvjrw/ruby_newbie_i_dont_understand_yield/\", + \"name\": \"t3_kvjrw\", \"created\": 1317324898.0, \"url\": \"http://www.reddit.com/r/ruby/comments/kvjrw/ruby_newbie_i_dont_understand_yield/\", + \"author_flair_text\": null, \"title\": \"Ruby newbie - I don't understand + yield\", \"created_utc\": 1317321298.0, \"ups\": 45, \"num_comments\": 36, + \"visited\": false, \"num_reports\": null, \"distinguished\": null}}, {\"kind\": + \"t3\", \"data\": {\"domain\": \"self.ruby\", \"banned_by\": null, \"media_embed\": + {}, \"subreddit\": \"ruby\", \"selftext_html\": \"<!-- SC_OFF --><div + class=\\\"md\\\"><p>I fundamentally do not understand the perspective + many Rubyists have. I am not saying it anything is bad, I am saying <em>I + do not understand</em>. I just have a different perspective. I don&#39;t + understand why pragmatic people who don&#39;t seem to be early adopters + are leaving a good tool for tools that should only appeal to early adopters.</p>\\n\\n<p>Please, + let me explain my perspective. I have been working primarily with C++ the + past 15, during that time I have dabbled with Java, PHP, Lua, Perl, Pascal, + HTML/CSS, a couple kinds of assembly, C#/VB, others I wish I could forget + and of course plain old C. I keep going back to C++ because I have a strong + proficiency with it. I have the feeling I can make it do anything. I have + made it solve some interesting problems. There are other reasons too, but + this seems like enough to convey where I am coming from. I invested real time + and effort gaining that proficiency, so I will use C++ when practical an invest + more time learning something else when C++ is not practical.</p>\\n\\n<p>I + see a ton of Rubyists talking about Elixir and Node.js as somekind of wholesale + replacement for Ruby. I understand that the two newer systems provide interesting + interactions with threading systems. That does not seem like a reason to dump + a whole language, a language with multiple independent healthy implementations + (jRuby, Rubunius, Maglev, etc...), particularly when some of them have fixed + threading performance. </p>\\n\\n<p>Or maybe I am missing the + point, maybe this is just about jumping to some popular new toy now that us + old fogeys are onto Ruby? Of course not, all the people I read about in blogs + and watch in talks at the countless Ruby conferences seem like pragmatic people + interested in getting stuff done. Ruby seems like an excellent tool for getting + stuff done. It is extremely easy to express complex ideas quickly. It has + an excellent system for handling libraries. It has access to awesome performance + via its C-API. If C is not your thing, It is mature enough that it is getting + performance optimizations with every new release (of MRI/Yarv at least). These + people invested significant time and effort learning Ruby, will their pragmatism + just let them throw that away?</p>\\n\\n<p>Perhaps my perspective + is wrong and no-one is leaving Ruby? But it seems every other conference talk + someone mentions Elixir while spitting Ruby&#39;s name.</p>\\n\\n<p>Perhaps, + There is something to Elixir/Node I have completely missed? I read their docs + and perused their libraries. They are missing features (and sometimes stability) + like tools only a few years old would.</p>\\n\\n<p>Why leave Ruby?</p>\\n</div><!-- + SC_ON -->\", \"selftext\": \"I fundamentally do not understand the perspective + many Rubyists have. I am not saying it anything is bad, I am saying *I do + not understand*. I just have a different perspective. I don't understand why + pragmatic people who don't seem to be early adopters are leaving a good tool + for tools that should only appeal to early adopters.\\n\\nPlease, let me explain + my perspective. I have been working primarily with C++ the past 15, during + that time I have dabbled with Java, PHP, Lua, Perl, Pascal, HTML/CSS, a couple + kinds of assembly, C#/VB, others I wish I could forget and of course plain + old C. I keep going back to C++ because I have a strong proficiency with it. + I have the feeling I can make it do anything. I have made it solve some interesting + problems. There are other reasons too, but this seems like enough to convey + where I am coming from. I invested real time and effort gaining that proficiency, + so I will use C++ when practical an invest more time learning something else + when C++ is not practical.\\n\\nI see a ton of Rubyists talking about Elixir + and Node.js as somekind of wholesale replacement for Ruby. I understand that + the two newer systems provide interesting interactions with threading systems. + That does not seem like a reason to dump a whole language, a language with + multiple independent healthy implementations (jRuby, Rubunius, Maglev, etc...), + particularly when some of them have fixed threading performance. \\n\\nOr + maybe I am missing the point, maybe this is just about jumping to some popular + new toy now that us old fogeys are onto Ruby? Of course not, all the people + I read about in blogs and watch in talks at the countless Ruby conferences + seem like pragmatic people interested in getting stuff done. Ruby seems like + an excellent tool for getting stuff done. It is extremely easy to express + complex ideas quickly. It has an excellent system for handling libraries. + It has access to awesome performance via its C-API. If C is not your thing, + It is mature enough that it is getting performance optimizations with every + new release (of MRI/Yarv at least). These people invested significant time + and effort learning Ruby, will their pragmatism just let them throw that away?\\n\\nPerhaps + my perspective is wrong and no-one is leaving Ruby? But it seems every other + conference talk someone mentions Elixir while spitting Ruby's name.\\n\\nPerhaps, + There is something to Elixir/Node I have completely missed? I read their docs + and perused their libraries. They are missing features (and sometimes stability) + like tools only a few years old would.\\n\\nWhy leave Ruby?\", \"likes\": + null, \"secure_media\": null, \"link_flair_text\": null, \"id\": \"1o6srn\", + \"secure_media_embed\": {}, \"clicked\": false, \"stickied\": false, \"author\": + \"Sqeaky\", \"media\": null, \"score\": 39, \"approved_by\": null, \"over_18\": + false, \"hidden\": false, \"thumbnail\": \"\", \"subreddit_id\": \"t5_2qh21\", + \"edited\": false, \"link_flair_css_class\": null, \"author_flair_css_class\": + null, \"downs\": 12, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/1o6srn/why_elixir_why_nodejs_coming_from_c_ruby_seems/\", + \"name\": \"t3_1o6srn\", \"created\": 1381457829.0, \"url\": \"http://www.reddit.com/r/ruby/comments/1o6srn/why_elixir_why_nodejs_coming_from_c_ruby_seems/\", + \"author_flair_text\": null, \"title\": \"Why Elixir? Why Node.js? Coming + from C++, Ruby seems like a fine language.\", \"created_utc\": 1381454229.0, + \"ups\": 51, \"num_comments\": 46, \"visited\": false, \"num_reports\": null, + \"distinguished\": null}}, {\"kind\": \"t3\", \"data\": {\"domain\": \"self.ruby\", + \"banned_by\": null, \"media_embed\": {}, \"subreddit\": \"ruby\", \"selftext_html\": + \"<!-- SC_OFF --><div class=\\\"md\\\"><p>I would really + like to start a study group for Ruby on Rails for this book <a href=\\\"http://ruby.railstutorial.org/ruby-on-rails-tutorial-book\\\">http://ruby.railstutorial.org/ruby-on-rails-tutorial-book</a> + (if you have better suggestions please let me know) I have just finished the + CodeCademy course for Ruby so I think I have a decent grasp on the Ruby language. + It would be nice if we could have a couple people who are experienced with + Rails help guide us through. I plan on hosting it on my website under the + Ruby on Rails subforum so we can keep all our stuff uncluttered, my website + is called milesftp.com(sorry for the odd name my friend had the domain registered + and so we decided to use it for now). If you guys are interested please let + me know and we will figure something&#39;s out! Thanks. </p>\\n</div><!-- + SC_ON -->\", \"selftext\": \"I would really like to start a study group + for Ruby on Rails for this book http://ruby.railstutorial.org/ruby-on-rails-tutorial-book + (if you have better suggestions please let me know) I have just finished the + CodeCademy course for Ruby so I think I have a decent grasp on the Ruby language. + It would be nice if we could have a couple people who are experienced with + Rails help guide us through. I plan on hosting it on my website under the + Ruby on Rails subforum so we can keep all our stuff uncluttered, my website + is called milesftp.com(sorry for the odd name my friend had the domain registered + and so we decided to use it for now). If you guys are interested please let + me know and we will figure something's out! Thanks. \", \"likes\": null, \"secure_media\": + null, \"link_flair_text\": null, \"id\": \"1n9e40\", \"secure_media_embed\": + {}, \"clicked\": false, \"stickied\": false, \"author\": \"valorvision\", + \"media\": null, \"score\": 22, \"approved_by\": null, \"over_18\": false, + \"hidden\": false, \"thumbnail\": \"\", \"subreddit_id\": \"t5_2qh21\", \"edited\": + false, \"link_flair_css_class\": null, \"author_flair_css_class\": null, \"downs\": + 8, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/1n9e40/creating_a_ruby_on_rails_study_group_please_let/\", + \"name\": \"t3_1n9e40\", \"created\": 1380306666.0, \"url\": \"http://www.reddit.com/r/ruby/comments/1n9e40/creating_a_ruby_on_rails_study_group_please_let/\", + \"author_flair_text\": null, \"title\": \"Creating A Ruby on Rails Study Group, + please let me know if you're interested.\", \"created_utc\": 1380303066.0, + \"ups\": 30, \"num_comments\": 40, \"visited\": false, \"num_reports\": null, + \"distinguished\": null}}, {\"kind\": \"t3\", \"data\": {\"domain\": \"self.ruby\", + \"banned_by\": null, \"media_embed\": {}, \"subreddit\": \"ruby\", \"selftext_html\": + \"<!-- SC_OFF --><div class=\\\"md\\\"><p>Hi there,</p>\\n\\n<p>I + started learning Ruby a few months ago and I bought myself a Microsoft Kinect + Cam as an early X-Mas gift. Of course I&#39;m using Linux (yes your OS-X + is fine too) and don&#39;t even own an X-Box 360 ... so I started the + hacking.</p>\\n\\n<p>After a short time of fiddling with C, I + remembered how much it tends to get on my nerves and how much I love Ruby, + so I thought &quot;<strong>Why not write some Kinect stuff with + Ruby?!</strong>&quot;. After a bit of googling I found exactly no + other projects except</p>\\n\\n<p>---- <a href=\\\"http://openkinect.org/wiki/Ruby_Wrapper#Sample_Code\\\">this + one</a> ----</p>\\n\\n<p>which was empty and so I decided + to <strong>post my first code snippet there</strong>.</p>\\n\\n<p>Sadly + nobody reacted so I have to assume that this project is dead. But what about + you? <em>Anyone interested in bringing some of the Kinect functionality + to Ruby?</em></p>\\n\\n<p><strong>What <del>I</del> + we managed to do:</strong></p>\\n\\n<ul>\\n<li>Control + the Kinects motor</li>\\n<li>Control the Kinects LED</li>\\n<li>Get + accelerometer data</li>\\n</ul>\\n\\n<p><strong>What + is missing (tried but failed):</strong></p>\\n\\n<ul>\\n<li>Get + an image from the RGB cam</li>\\n<li>Get an image from the depth + cam</li>\\n<li><del>Get accelerometer data</del></li>\\n</ul>\\n\\n<p><strong>TL;DR:</strong> + Started to develop a pure Ruby Kinect driver. Who wants to help?</p>\\n\\n<p>PS: + I&#39;m not interested in libfreenect wrappers, I want to create a pure + Ruby driver. (only with libusb i.e.)</p>\\n\\n<p><strong>EDIT: + I&#39;ve put what I got so far on GitHub: <a href=\\\"https://github.com/pachacamac/rinect\\\">see + here</a></strong></p>\\n</div><!-- SC_ON -->\", + \"selftext\": \"Hi there,\\n\\nI started learning Ruby a few months ago and + I bought myself a Microsoft Kinect Cam as an early X-Mas gift. Of course I'm + using Linux (yes your OS-X is fine too) and don't even own an X-Box 360 ... + so I started the hacking.\\n\\nAfter a short time of fiddling with C, I remembered + how much it tends to get on my nerves and how much I love Ruby, so I thought + \\\"**Why not write some Kinect stuff with Ruby?!**\\\". After a bit of googling + I found exactly no other projects except\\n\\n---- [this one](http://openkinect.org/wiki/Ruby_Wrapper#Sample_Code) + ----\\n\\nwhich was empty and so I decided to **post my first code snippet + there**.\\n\\nSadly nobody reacted so I have to assume that this project is + dead. But what about you? *Anyone interested in bringing some of the Kinect + functionality to Ruby?*\\n\\n\\n**What ~~I~~ we managed to do:**\\n\\n * Control + the Kinects motor\\n * Control the Kinects LED\\n * Get accelerometer data\\n\\n**What + is missing (tried but failed):**\\n\\n * Get an image from the RGB cam\\n + * Get an image from the depth cam\\n * ~~Get accelerometer data~~\\n\\n\\n\\n**TL;DR:** + Started to develop a pure Ruby Kinect driver. Who wants to help?\\n\\nPS: + I'm not interested in libfreenect wrappers, I want to create a pure Ruby driver. + (only with libusb i.e.)\\n\\n\\n**EDIT: I've put what I got so far on GitHub: + [see here](https://github.com/pachacamac/rinect)**\", \"likes\": null, \"secure_media\": + null, \"link_flair_text\": null, \"id\": \"euka7\", \"secure_media_embed\": + {}, \"clicked\": false, \"stickied\": false, \"author\": \"nexe\", \"media\": + null, \"score\": 27, \"approved_by\": null, \"over_18\": false, \"hidden\": + false, \"thumbnail\": \"\", \"subreddit_id\": \"t5_2qh21\", \"edited\": true, + \"link_flair_css_class\": null, \"author_flair_css_class\": null, \"downs\": + 8, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/euka7/ruby_kinect_project/\", + \"name\": \"t3_euka7\", \"created\": 1293897993.0, \"url\": \"http://www.reddit.com/r/ruby/comments/euka7/ruby_kinect_project/\", + \"author_flair_text\": null, \"title\": \"Ruby Kinect Project\", \"created_utc\": + 1293897993.0, \"ups\": 35, \"num_comments\": 36, \"visited\": false, \"num_reports\": + null, \"distinguished\": null}}, {\"kind\": \"t3\", \"data\": {\"domain\": + \"self.ruby\", \"banned_by\": null, \"media_embed\": {}, \"subreddit\": \"ruby\", + \"selftext_html\": \"<!-- SC_OFF --><div class=\\\"md\\\"><p>Dynamic + getters and setters in Perl:</p>\\n\\n<pre><code>sub AUTOLOAD + {\\n my @elements = qw(color age weight height);\\n\\n our $AUTOLOAD;\\n + \ if ($AUTOLOAD =~ /::(\\\\w+)$/ and grep $1 eq $_, @elements) {\\n my + $field = ucfirst $1;\\n {\\n no strict &#39;refs&#39;;\\n + \ *{$AUTOLOAD} = sub { $_[0]-&gt;{$field} };\\n }\\n goto &amp;{$AUTOLOAD};\\n + \ } elsif ($AUTOLOAD =~ /::set_(\\\\w+)$/ and grep $1 eq $_, @elements) {\\n + \ my $field = ucfirst $1;\\n {\\n no strict &#39;refs&#39;;\\n + \ *{$AUTOLOAD} = sub { $_[0]-&gt;{$field} = $_[1] };\\n }\\n goto + &amp;{$AUTOLOAD};\\n } else {\\n croak &quot;$_[0] does not understand + this method\\\\n&quot;;\\n }\\n}\\n</code></pre>\\n\\n<p>In + Ruby:</p>\\n\\n<pre><code>attr_accessor :color, :age, :weight, + :height\\n</code></pre>\\n\\n<p>Yeah.</p>\\n</div><!-- + SC_ON -->\", \"selftext\": \"Dynamic getters and setters in Perl:\\n\\n + \ sub AUTOLOAD {\\n my @elements = qw(color age weight height);\\n + \ \\n our $AUTOLOAD;\\n if ($AUTOLOAD =~ /::(\\\\w+)$/ and grep + $1 eq $_, @elements) {\\n my $field = ucfirst $1;\\n {\\n no + strict 'refs';\\n *{$AUTOLOAD} = sub { $_[0]->{$field} };\\n }\\n + \ goto &{$AUTOLOAD};\\n } elsif ($AUTOLOAD =~ /::set_(\\\\w+)$/ + and grep $1 eq $_, @elements) {\\n my $field = ucfirst $1;\\n {\\n + \ no strict 'refs';\\n *{$AUTOLOAD} = sub { $_[0]->{$field} + = $_[1] };\\n }\\n goto &{$AUTOLOAD};\\n } else {\\n + \ croak \\\"$_[0] does not understand this method\\\\n\\\";\\n }\\n + \ }\\n\\nIn Ruby:\\n\\n attr_accessor :color, :age, :weight, :height\\n\\nYeah.\", + \"likes\": null, \"secure_media\": null, \"link_flair_text\": null, \"id\": + \"e4upb\", \"secure_media_embed\": {}, \"clicked\": false, \"stickied\": false, + \"author\": \"Perceptes\", \"media\": null, \"score\": 33, \"approved_by\": + null, \"over_18\": false, \"hidden\": false, \"thumbnail\": \"\", \"subreddit_id\": + \"t5_2qh21\", \"edited\": true, \"link_flair_css_class\": null, \"author_flair_css_class\": + null, \"downs\": 12, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/e4upb/learning_perl_is_making_me_appreciate_ruby_even/\", + \"name\": \"t3_e4upb\", \"created\": 1289518955.0, \"url\": \"http://www.reddit.com/r/ruby/comments/e4upb/learning_perl_is_making_me_appreciate_ruby_even/\", + \"author_flair_text\": null, \"title\": \"Learning Perl is making me appreciate + Ruby even more\", \"created_utc\": 1289518955.0, \"ups\": 45, \"num_comments\": + 44, \"visited\": false, \"num_reports\": null, \"distinguished\": null}}, + {\"kind\": \"t3\", \"data\": {\"domain\": \"self.ruby\", \"banned_by\": null, + \"media_embed\": {}, \"subreddit\": \"ruby\", \"selftext_html\": \"<!-- + SC_OFF --><div class=\\\"md\\\"><p>Hey <a href=\\\"/r/ruby\\\">/r/ruby</a>,</p>\\n\\n<p>Lately + Ive been getting my hands in a lot of languages to get a feel for them. Trying + out JS/WinJS, Ruby (+Some Rails), and Python.</p>\\n\\n<p>Ive + worked with Python for a bit now, however I have never taken the time to learn + from the ground-up any language ( outside of HTML/CSS(+SASS) ). As such lately + Ive been doing some rather simple exploration of Ruby vs Python, jumping between + the two trying to get a feel for it. Both seem great, however I am leaning + toward Ruby currently, and wanted to see if anyone had some input.</p>\\n\\n<p>A + few concerns I have with Ruby is that while there is a TON of Ruby intro material + (Learn Ruby the Hard Way, RubyMonk, and Pragmatic Guide), everything project + development wise and even gem wise is Rails centric. I understand Rails is + popular but even a simple Sinatra app, I cant find a Mailer Gem that doesn&#39;t + require Rails. While on the Python end, I fell in love with Hyde but it like + many other projects I found for Python are completely dead development wise.</p>\\n\\n<p>Any + links or input on what I should be looking at to make a good decision?</p>\\n\\n<p>Note: + Apologies if this is asked a lot, or shouldnt be asked here. I tried a search + and most of the questions were a year old.</p>\\n</div><!-- + SC_ON -->\", \"selftext\": \"Hey /r/ruby,\\n\\nLately Ive been getting + my hands in a lot of languages to get a feel for them. Trying out JS/WinJS, + Ruby (+Some Rails), and Python.\\n\\nIve worked with Python for a bit now, + however I have never taken the time to learn from the ground-up any language + ( outside of HTML/CSS(+SASS) ). As such lately Ive been doing some rather + simple exploration of Ruby vs Python, jumping between the two trying to get + a feel for it. Both seem great, however I am leaning toward Ruby currently, + and wanted to see if anyone had some input.\\n\\nA few concerns I have with + Ruby is that while there is a TON of Ruby intro material (Learn Ruby the Hard + Way, RubyMonk, and Pragmatic Guide), everything project development wise and + even gem wise is Rails centric. I understand Rails is popular but even a simple + Sinatra app, I cant find a Mailer Gem that doesn't require Rails. While on + the Python end, I fell in love with Hyde but it like many other projects I + found for Python are completely dead development wise.\\n\\nAny links or input + on what I should be looking at to make a good decision?\\n\\nNote: Apologies + if this is asked a lot, or shouldnt be asked here. I tried a search and most + of the questions were a year old.\", \"likes\": null, \"secure_media\": null, + \"link_flair_text\": null, \"id\": \"zyzf7\", \"secure_media_embed\": {}, + \"clicked\": false, \"stickied\": false, \"author\": \"RevisionZero\", \"media\": + null, \"score\": 7, \"approved_by\": null, \"over_18\": false, \"hidden\": + false, \"thumbnail\": \"\", \"subreddit_id\": \"t5_2qh21\", \"edited\": false, + \"link_flair_css_class\": null, \"author_flair_css_class\": null, \"downs\": + 3, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/zyzf7/looking_for_some_advice_should_i_focus_on/\", + \"name\": \"t3_zyzf7\", \"created\": 1347809223.0, \"url\": \"http://www.reddit.com/r/ruby/comments/zyzf7/looking_for_some_advice_should_i_focus_on/\", + \"author_flair_text\": null, \"title\": \"Looking for some advice: Should + I focus on learning Python or Ruby? Input much appreciated.\", \"created_utc\": + 1347805623.0, \"ups\": 10, \"num_comments\": 56, \"visited\": false, \"num_reports\": + null, \"distinguished\": null}}, {\"kind\": \"t3\", \"data\": {\"domain\": + \"self.ruby\", \"banned_by\": null, \"media_embed\": {}, \"subreddit\": \"ruby\", + \"selftext_html\": \"<!-- SC_OFF --><div class=\\\"md\\\"><p>Hey + everyone, do you guys mind sharing what are good open source projects for + Ruby beginners? </p>\\n\\n<p>Thanks for the help in advance!</p>\\n</div><!-- + SC_ON -->\", \"selftext\": \"Hey everyone, do you guys mind sharing what + are good open source projects for Ruby beginners? \\n\\nThanks for the help + in advance!\", \"likes\": null, \"secure_media\": null, \"link_flair_text\": + null, \"id\": \"18abdk\", \"secure_media_embed\": {}, \"clicked\": false, + \"stickied\": false, \"author\": \"ghostwarfare\", \"media\": null, \"score\": + 42, \"approved_by\": null, \"over_18\": false, \"hidden\": false, \"thumbnail\": + \"\", \"subreddit_id\": \"t5_2qh21\", \"edited\": false, \"link_flair_css_class\": + null, \"author_flair_css_class\": null, \"downs\": 4, \"saved\": false, \"is_self\": + true, \"permalink\": \"/r/ruby/comments/18abdk/what_are_some_good_open_source_projects_for_ruby/\", + \"name\": \"t3_18abdk\", \"created\": 1360552623.0, \"url\": \"http://www.reddit.com/r/ruby/comments/18abdk/what_are_some_good_open_source_projects_for_ruby/\", + \"author_flair_text\": null, \"title\": \"What are some good open source projects + for Ruby beginners?\", \"created_utc\": 1360552623.0, \"ups\": 46, \"num_comments\": + 22, \"visited\": false, \"num_reports\": null, \"distinguished\": null}}, + {\"kind\": \"t3\", \"data\": {\"domain\": \"self.ruby\", \"banned_by\": null, + \"media_embed\": {}, \"subreddit\": \"ruby\", \"selftext_html\": \"<!-- + SC_OFF --><div class=\\\"md\\\"><p>I wanted to get a reality + check from the ruby community before I dig myself any deeper into a hole.</p>\\n\\n<p>A + little bit of history first.</p>\\n\\n<p>I am a 32 year old with + no college education. I currently work at a dead end job in a warehouse putting + away boxes and making deliveries. I have always loved computers and have been + making websites for friends and family for years. I never charged, I just + did it for the challenge and to learn something new. About 6 months ago I + a friend turned me on to Reddit and shortly after I discovered r/webdev. At + the time I was messing around with PHP and Wordpress and had never heard of + Ruby or Python. After a few weeks of hanging around on r/webdev I discovered + Ruby and the Rails framework. I dived in and have been trying to teach myself + Ruby and Rails.</p>\\n\\n<p>Up until a few months ago I had been + a little depressed where my life had ended up. When I found Ruby I thought + maybe there might be a chance turn my hobby into a career. Currently I am + on my second read through of Eloquent Ruby and have done the the Ruby tutorial. + I practice and study every day. I try to come up with small projects to work + on to try the new concepts I learn and to heIp me retain the what I read. + I have been considering signing up for one of the many Rails dev camps to + help accelerate my path into the industry.</p>\\n\\n<p>My fear + is that I&#39;ll never be taken seriously when I finally apply for a job. + Mainly because I have no programing experience and I don&#39;t have a + CS degree.</p>\\n\\n<p>So tell me r/ruby... can I make this a + reality? </p>\\n\\n<p>I&#39;m not trying to become the next + Zuckerberg or create the next Instagram. I just want a career where I love + what I do and I have an opportunity to make a small difference in the world.</p>\\n\\n<p>TLDR; + I&#39;m 32 no college eduction and I want to be a Ruby/Rails dev. Do I + have a chance? Give it to me straight.</p>\\n</div><!-- SC_ON + -->\", \"selftext\": \"I wanted to get a reality check from the ruby community + before I dig myself any deeper into a hole.\\n\\nA little bit of history first.\\n\\nI + am a 32 year old with no college education. I currently work at a dead end + job in a warehouse putting away boxes and making deliveries. I have always + loved computers and have been making websites for friends and family for years. + I never charged, I just did it for the challenge and to learn something new. + About 6 months ago I a friend turned me on to Reddit and shortly after I discovered + r/webdev. At the time I was messing around with PHP and Wordpress and had + never heard of Ruby or Python. After a few weeks of hanging around on r/webdev + I discovered Ruby and the Rails framework. I dived in and have been trying + to teach myself Ruby and Rails.\\n\\nUp until a few months ago I had been + a little depressed where my life had ended up. When I found Ruby I thought + maybe there might be a chance turn my hobby into a career. Currently I am + on my second read through of Eloquent Ruby and have done the the Ruby tutorial. + I practice and study every day. I try to come up with small projects to work + on to try the new concepts I learn and to heIp me retain the what I read. + I have been considering signing up for one of the many Rails dev camps to + help accelerate my path into the industry.\\n\\nMy fear is that I'll never + be taken seriously when I finally apply for a job. Mainly because I have no + programing experience and I don't have a CS degree.\\n\\nSo tell me r/ruby... + can I make this a reality? \\n\\nI'm not trying to become the next Zuckerberg + or create the next Instagram. I just want a career where I love what I do + and I have an opportunity to make a small difference in the world.\\n\\nTLDR; + I'm 32 no college eduction and I want to be a Ruby/Rails dev. Do I have a + chance? Give it to me straight.\", \"likes\": null, \"secure_media\": null, + \"link_flair_text\": null, \"id\": \"1bjyc6\", \"secure_media_embed\": {}, + \"clicked\": false, \"stickied\": false, \"author\": \"ruby_reality\", \"media\": + null, \"score\": 21, \"approved_by\": null, \"over_18\": false, \"hidden\": + false, \"thumbnail\": \"\", \"subreddit_id\": \"t5_2qh21\", \"edited\": false, + \"link_flair_css_class\": null, \"author_flair_css_class\": null, \"downs\": + 10, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/1bjyc6/reality_check/\", + \"name\": \"t3_1bjyc6\", \"created\": 1364952459.0, \"url\": \"http://www.reddit.com/r/ruby/comments/1bjyc6/reality_check/\", + \"author_flair_text\": null, \"title\": \"Reality Check\", \"created_utc\": + 1364948859.0, \"ups\": 31, \"num_comments\": 41, \"visited\": false, \"num_reports\": + null, \"distinguished\": null}}, {\"kind\": \"t3\", \"data\": {\"domain\": + \"self.ruby\", \"banned_by\": null, \"media_embed\": {}, \"subreddit\": \"ruby\", + \"selftext_html\": \"<!-- SC_OFF --><div class=\\\"md\\\"><p>I&#39;m + just getting started with Ruby so please forgive the possibly noobish question. + The webapp I&#39;m trying to develop is currently based on sinatra and + I&#39;m not sure what the best way to implement secure login feature is. + I&#39;ve found this: <a href=\\\"http://rubygems.org/gems/sinatra-security\\\">http://rubygems.org/gems/sinatra-security</a> + project which seems good but it isn&#39;t listed on the <a href=\\\"http://www.sinatrarb.com/extensions-wild.html\\\">official + sinatra extensions site</a> so I&#39;m not sure if it&#39;s + legit. </p>\\n\\n<p>There is a <a href=\\\"http://www.sinatrarb.com/intro#Using%20Sessions\\\">sessions</a> + feature in sinatra but I don&#39;t think this is any actual security. + This is just maintaining a state. </p>\\n\\n<p>I don&#39;t + need to maintain a state because the app is AJAX based so once a user is on + a page all the rest happens in the background. The main concern is how can + I securely transfer data between the client and the sinatra app without someone + in the middle sniffing the data? And how can I ensure that only authorized + users are able to pull data from the sinatra server?</p>\\n\\n<p><strong>Edit:</strong> + Thanks <a href=\\\"/r/Ruby\\\">/r/Ruby</a>! It seems like <a + href=\\\"https://github.com/hassox/warden/wiki/overview\\\">Warden</a> + is the easiest solution and <a href=\\\"http://railscasts.com/episodes/250-authentication-from-scratch\\\">this</a> + is a generally good way to learn about authentication in Ruby.</p>\\n</div><!-- + SC_ON -->\", \"selftext\": \"I'm just getting started with Ruby so please + forgive the possibly noobish question. The webapp I'm trying to develop is + currently based on sinatra and I'm not sure what the best way to implement + secure login feature is. I've found this: http://rubygems.org/gems/sinatra-security + project which seems good but it isn't listed on the [official sinatra extensions + site](http://www.sinatrarb.com/extensions-wild.html) so I'm not sure if it's + legit. \\n\\nThere is a [sessions](http://www.sinatrarb.com/intro#Using%20Sessions) + feature in sinatra but I don't think this is any actual security. This is + just maintaining a state. \\n\\nI don't need to maintain a state because the + app is AJAX based so once a user is on a page all the rest happens in the + background. The main concern is how can I securely transfer data between the + client and the sinatra app without someone in the middle sniffing the data? + And how can I ensure that only authorized users are able to pull data from + the sinatra server?\\n\\n**Edit:** Thanks /r/Ruby! It seems like [Warden](https://github.com/hassox/warden/wiki/overview) + is the easiest solution and [this](http://railscasts.com/episodes/250-authentication-from-scratch) + is a generally good way to learn about authentication in Ruby.\", \"likes\": + null, \"secure_media\": null, \"link_flair_text\": null, \"id\": \"hjnkx\", + \"secure_media_embed\": {}, \"clicked\": false, \"stickied\": false, \"author\": + \"kutuzof\", \"media\": null, \"score\": 22, \"approved_by\": null, \"over_18\": + false, \"hidden\": false, \"thumbnail\": \"\", \"subreddit_id\": \"t5_2qh21\", + \"edited\": true, \"link_flair_css_class\": null, \"author_flair_css_class\": + null, \"downs\": 1, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/hjnkx/hello_ruby_hackers_what_is_the_best_way_to/\", + \"name\": \"t3_hjnkx\", \"created\": 1306318645.0, \"url\": \"http://www.reddit.com/r/ruby/comments/hjnkx/hello_ruby_hackers_what_is_the_best_way_to/\", + \"author_flair_text\": null, \"title\": \"Hello Ruby Hackers, what is the + best way to implement a secure login for a small web app?\", \"created_utc\": + 1306315045.0, \"ups\": 23, \"num_comments\": 52, \"visited\": false, \"num_reports\": + null, \"distinguished\": null}}], \"after\": \"t3_hjnkx\", \"before\": null}}" + http_version: + recorded_at: Wed, 08 Jan 2014 06:49:53 GMT +recorded_with: VCR 2.8.0 diff --git a/spec/cassettes/RedditKit_Client_Search/_search/returns_a_specific_number_of_results.yml b/spec/cassettes/RedditKit_Client_Search/_search/returns_a_specific_number_of_results.yml index 1620083..3dcf457 100644 --- a/spec/cassettes/RedditKit_Client_Search/_search/returns_a_specific_number_of_results.yml +++ b/spec/cassettes/RedditKit_Client_Search/_search/returns_a_specific_number_of_results.yml @@ -127,4 +127,135 @@ http_interactions: \"after\": \"t3_sk4qq\", \"before\": null}}" http_version: recorded_at: Sun, 10 Nov 2013 22:21:32 GMT -recorded_with: VCR 2.6.0 +- request: + method: get + uri: http://www.reddit.com/r/ruby/search.json?after&before&count&limit=3&q=ruby&restrict_sr=true&sort&syntax&t + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - Faraday v0.8.8 + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - application/json; charset=UTF-8 + X-Frame-Options: + - SAMEORIGIN + Access-Control-Allow-Origin: + - "*" + Server: + - "'; DROP TABLE servertypes; --" + Vary: + - accept-encoding + Date: + - Wed, 08 Jan 2014 06:49:52 GMT + Content-Length: + - '7430' + Connection: + - keep-alive + body: + encoding: UTF-8 + string: "{\"kind\": \"Listing\", \"data\": {\"modhash\": \"\", \"children\": + [{\"kind\": \"t3\", \"data\": {\"domain\": \"self.ruby\", \"banned_by\": null, + \"media_embed\": {}, \"subreddit\": \"ruby\", \"selftext_html\": \"<!-- + SC_OFF --><div class=\\\"md\\\"><p>Hello <a href=\\\"/r/ruby\\\">/r/ruby</a> + </p>\\n\\n<p>I am new to Ruby, however I&#39;ve programmed + in C, C++, Java, and C# along with VB.NET, HTML, and minimal Python. </p>\\n\\n<p>I&#39;ve + heard that Ruby is a bit different and has quite the steep learning curve. + So I ask you...</p>\\n\\n<p>What is the one thing that you wish + you knew before starting to learn or really use Ruby?</p>\\n\\n<p>I + also plan on using RoR if anyone has thoughts on that as well!</p>\\n\\n<p>Any + comments are appreciated! Thanks Guys!</p>\\n</div><!-- SC_ON + -->\", \"selftext\": \"Hello /r/ruby \\n\\nI am new to Ruby, however I've + programmed in C, C++, Java, and C# along with VB.NET, HTML, and minimal Python. + \\n\\nI've heard that Ruby is a bit different and has quite the steep learning + curve. So I ask you...\\n\\nWhat is the one thing that you wish you knew before + starting to learn or really use Ruby?\\n\\nI also plan on using RoR if anyone + has thoughts on that as well!\\n\\nAny comments are appreciated! Thanks Guys!\", + \"likes\": null, \"secure_media\": null, \"link_flair_text\": null, \"id\": + \"1j9wqw\", \"secure_media_embed\": {}, \"clicked\": false, \"stickied\": + false, \"author\": \"ProductiveThings\", \"media\": null, \"score\": 56, \"approved_by\": + null, \"over_18\": false, \"hidden\": false, \"thumbnail\": \"\", \"subreddit_id\": + \"t5_2qh21\", \"edited\": false, \"link_flair_css_class\": null, \"author_flair_css_class\": + null, \"downs\": 9, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/1j9wqw/what_is_one_thing_you_wish_you_knew_when_starting/\", + \"name\": \"t3_1j9wqw\", \"created\": 1375108691.0, \"url\": \"http://www.reddit.com/r/ruby/comments/1j9wqw/what_is_one_thing_you_wish_you_knew_when_starting/\", + \"author_flair_text\": null, \"title\": \"What is one thing you wish you knew + when starting Ruby?\", \"created_utc\": 1375105091.0, \"ups\": 65, \"num_comments\": + 81, \"visited\": false, \"num_reports\": null, \"distinguished\": null}}, + {\"kind\": \"t3\", \"data\": {\"domain\": \"self.ruby\", \"banned_by\": null, + \"media_embed\": {}, \"subreddit\": \"ruby\", \"selftext_html\": \"<!-- + SC_OFF --><div class=\\\"md\\\"><p>...and thanks to everyone + in <a href=\\\"/r/ruby\\\">/r/ruby</a>, <a href=\\\"/r/rails\\\">/r/rails</a> + and <a href=\\\"/r/programming\\\">/r/programming</a> who helped + me gain not only the skills but the confidence to make the switch. I&#39;ve + been a lifelong marketer who always felt unfulfilled and spent nights/weekends/free + time learning Ruby, Rails, MySQL, PostgreSQL, jQuery, and more, finally culminating + in my first full-time development job. Wish me luck!</p>\\n</div><!-- + SC_ON -->\", \"selftext\": \"...and thanks to everyone in /r/ruby, /r/rails + and /r/programming who helped me gain not only the skills but the confidence + to make the switch. I've been a lifelong marketer who always felt unfulfilled + and spent nights/weekends/free time learning Ruby, Rails, MySQL, PostgreSQL, + jQuery, and more, finally culminating in my first full-time development job. + \ Wish me luck!\", \"likes\": null, \"secure_media\": null, \"link_flair_text\": + null, \"id\": \"1i72ww\", \"secure_media_embed\": {}, \"clicked\": false, + \"stickied\": false, \"author\": \"caadbury\", \"media\": null, \"score\": + 89, \"approved_by\": null, \"over_18\": false, \"hidden\": false, \"thumbnail\": + \"\", \"subreddit_id\": \"t5_2qh21\", \"edited\": false, \"link_flair_css_class\": + null, \"author_flair_css_class\": null, \"downs\": 21, \"saved\": false, \"is_self\": + true, \"permalink\": \"/r/ruby/comments/1i72ww/on_monday_i_start_a_new_career_as_a_web_developer/\", + \"name\": \"t3_1i72ww\", \"created\": 1373686161.0, \"url\": \"http://www.reddit.com/r/ruby/comments/1i72ww/on_monday_i_start_a_new_career_as_a_web_developer/\", + \"author_flair_text\": null, \"title\": \"On Monday, I start a new career + as a web developer in Ruby on Rails\", \"created_utc\": 1373682561.0, \"ups\": + 110, \"num_comments\": 49, \"visited\": false, \"num_reports\": null, \"distinguished\": + null}}, {\"kind\": \"t3\", \"data\": {\"domain\": \"self.ruby\", \"banned_by\": + null, \"media_embed\": {}, \"subreddit\": \"ruby\", \"selftext_html\": \"<!-- + SC_OFF --><div class=\\\"md\\\"><p>Hello everyone,</p>\\n\\n<p>This + is a little framework of mine that I&#39;ve built out of a personal need + - basically, I wanted to write a desktop app using Ruby and I found it daunting + to say the least.</p>\\n\\n<p>So, I&#39;ve built Freightrain + to take care of all the stuff I really shouldn&#39;t care about, like + loading interface definitions, cross-toolkit compatibility and the likes.</p>\\n\\n<p>Now + I&#39;ve been working on it for almost 2 years (on and off of course) + and, since I&#39;ve just fixed it so it loads the newest glade specifications, + I thought that I could ask you guys for an evaluation.</p>\\n\\n<p>There&#39;s + a little readme on the github page and there are some examples in the /examples + folder.</p>\\n\\n<p><a href=\\\"http://github.com/bolthar/freightrain\\\">Link + to the github page!</a></p>\\n\\n<p>WHOA! Thanks for the + attention, I thought this was going to be ignored...</p>\\n\\n<p>How + many of you would be interested in a step by step tutorial over the major + features? I will build that if there&#39;s enough interest.</p>\\n</div><!-- + SC_ON -->\", \"selftext\": \"Hello everyone,\\n\\nThis is a little framework + of mine that I've built out of a personal need - basically, I wanted to write + a desktop app using Ruby and I found it daunting to say the least.\\n\\nSo, + I've built Freightrain to take care of all the stuff I really shouldn't care + about, like loading interface definitions, cross-toolkit compatibility and + the likes.\\n\\nNow I've been working on it for almost 2 years (on and off + of course) and, since I've just fixed it so it loads the newest glade specifications, + I thought that I could ask you guys for an evaluation.\\n\\nThere's a little + readme on the github page and there are some examples in the /examples folder.\\n\\n[Link + to the github page!](http://github.com/bolthar/freightrain)\\n\\nWHOA! Thanks + for the attention, I thought this was going to be ignored...\\n\\nHow many + of you would be interested in a step by step tutorial over the major features? + I will build that if there's enough interest.\", \"likes\": null, \"secure_media\": + null, \"link_flair_text\": null, \"id\": \"sk4qq\", \"secure_media_embed\": + {}, \"clicked\": false, \"stickied\": false, \"author\": \"bolthar\", \"media\": + null, \"score\": 164, \"approved_by\": null, \"over_18\": false, \"hidden\": + false, \"thumbnail\": \"\", \"subreddit_id\": \"t5_2qh21\", \"edited\": true, + \"link_flair_css_class\": null, \"author_flair_css_class\": null, \"downs\": + 11, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/sk4qq/freightrain_easy_ruby_desktop_development/\", + \"name\": \"t3_sk4qq\", \"created\": 1334952179.0, \"url\": \"http://www.reddit.com/r/ruby/comments/sk4qq/freightrain_easy_ruby_desktop_development/\", + \"author_flair_text\": null, \"title\": \"Freightrain - easy Ruby desktop + development\", \"created_utc\": 1334948579.0, \"ups\": 175, \"num_comments\": + 32, \"visited\": false, \"num_reports\": null, \"distinguished\": null}}], + \"after\": \"t3_sk4qq\", \"before\": null}}" + http_version: + recorded_at: Wed, 08 Jan 2014 06:49:52 GMT +recorded_with: VCR 2.8.0 diff --git a/spec/cassettes/RedditKit_Client_Search/_search/returns_search_results.yml b/spec/cassettes/RedditKit_Client_Search/_search/returns_search_results.yml index 099ab1d..4a4c925 100644 --- a/spec/cassettes/RedditKit_Client_Search/_search/returns_search_results.yml +++ b/spec/cassettes/RedditKit_Client_Search/_search/returns_search_results.yml @@ -841,4 +841,834 @@ http_interactions: \"after\": \"t3_18abdk\", \"before\": null}}" http_version: recorded_at: Sun, 10 Nov 2013 22:21:31 GMT -recorded_with: VCR 2.6.0 +- request: + method: get + uri: http://www.reddit.com/search.json?after&before&count&limit&q=ruby&restrict_sr&sort&syntax&t + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - Faraday v0.8.8 + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - application/json; charset=UTF-8 + X-Frame-Options: + - SAMEORIGIN + Access-Control-Allow-Origin: + - "*" + Server: + - "'; DROP TABLE servertypes; --" + Vary: + - accept-encoding + Date: + - Wed, 08 Jan 2014 06:49:54 GMT + Transfer-Encoding: + - chunked + Connection: + - Transfer-Encoding + - keep-alive + body: + encoding: UTF-8 + string: "{\"kind\": \"Listing\", \"data\": {\"modhash\": \"\", \"children\": + [{\"kind\": \"t3\", \"data\": {\"domain\": \"self.IAmA\", \"banned_by\": null, + \"media_embed\": {}, \"subreddit\": \"IAmA\", \"selftext_html\": \"<!-- + SC_OFF --><div class=\\\"md\\\"><p>Verification: <a href=\\\"http://imgur.com/HL2X9\\\">http://imgur.com/HL2X9</a> + </p>\\n\\n<p>Twitter: <a href=\\\"http://twitter.com/Ruby_Knox\\\">http://twitter.com/Ruby_Knox</a> + </p>\\n\\n<p>Sorry If I&#39;ve missed anyone&#39;s questions! + </p>\\n</div><!-- SC_ON -->\", \"selftext\": \"Verification: + http://imgur.com/HL2X9 \\n\\nTwitter: http://twitter.com/Ruby_Knox \\n\\nSorry + If I've missed anyone's questions! \\n\", \"likes\": null, \"secure_media\": + null, \"link_flair_text\": null, \"id\": \"sk79h\", \"secure_media_embed\": + {}, \"clicked\": false, \"stickied\": false, \"author\": \"Ruby_Knox\", \"media\": + null, \"score\": 260, \"approved_by\": null, \"over_18\": false, \"hidden\": + false, \"thumbnail\": \"self\", \"subreddit_id\": \"t5_2qzb6\", \"edited\": + true, \"link_flair_css_class\": null, \"author_flair_css_class\": null, \"downs\": + 140, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/IAmA/comments/sk79h/iama_pornstar_camgirl_ruby_knox_ama/\", + \"name\": \"t3_sk79h\", \"created\": 1334954774.0, \"url\": \"http://www.reddit.com/r/IAmA/comments/sk79h/iama_pornstar_camgirl_ruby_knox_ama/\", + \"author_flair_text\": null, \"title\": \"IAmA pornstar / camgirl - Ruby Knox. + AMA\", \"created_utc\": 1334951174.0, \"ups\": 400, \"num_comments\": 684, + \"visited\": false, \"num_reports\": null, \"distinguished\": null}}, {\"kind\": + \"t3\", \"data\": {\"domain\": \"self.ruby\", \"banned_by\": null, \"media_embed\": + {}, \"subreddit\": \"ruby\", \"selftext_html\": \"<!-- SC_OFF --><div + class=\\\"md\\\"><p>Hello <a href=\\\"/r/ruby\\\">/r/ruby</a> + </p>\\n\\n<p>I am new to Ruby, however I&#39;ve programmed + in C, C++, Java, and C# along with VB.NET, HTML, and minimal Python. </p>\\n\\n<p>I&#39;ve + heard that Ruby is a bit different and has quite the steep learning curve. + So I ask you...</p>\\n\\n<p>What is the one thing that you wish + you knew before starting to learn or really use Ruby?</p>\\n\\n<p>I + also plan on using RoR if anyone has thoughts on that as well!</p>\\n\\n<p>Any + comments are appreciated! Thanks Guys!</p>\\n</div><!-- SC_ON + -->\", \"selftext\": \"Hello /r/ruby \\n\\nI am new to Ruby, however I've + programmed in C, C++, Java, and C# along with VB.NET, HTML, and minimal Python. + \\n\\nI've heard that Ruby is a bit different and has quite the steep learning + curve. So I ask you...\\n\\nWhat is the one thing that you wish you knew before + starting to learn or really use Ruby?\\n\\nI also plan on using RoR if anyone + has thoughts on that as well!\\n\\nAny comments are appreciated! Thanks Guys!\", + \"likes\": null, \"secure_media\": null, \"link_flair_text\": null, \"id\": + \"1j9wqw\", \"secure_media_embed\": {}, \"clicked\": false, \"stickied\": + false, \"author\": \"ProductiveThings\", \"media\": null, \"score\": 58, \"approved_by\": + null, \"over_18\": false, \"hidden\": false, \"thumbnail\": \"\", \"subreddit_id\": + \"t5_2qh21\", \"edited\": false, \"link_flair_css_class\": null, \"author_flair_css_class\": + null, \"downs\": 8, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/1j9wqw/what_is_one_thing_you_wish_you_knew_when_starting/\", + \"name\": \"t3_1j9wqw\", \"created\": 1375108691.0, \"url\": \"http://www.reddit.com/r/ruby/comments/1j9wqw/what_is_one_thing_you_wish_you_knew_when_starting/\", + \"author_flair_text\": null, \"title\": \"What is one thing you wish you knew + when starting Ruby?\", \"created_utc\": 1375105091.0, \"ups\": 66, \"num_comments\": + 81, \"visited\": false, \"num_reports\": null, \"distinguished\": null}}, + {\"kind\": \"t3\", \"data\": {\"domain\": \"self.HogwartsRP\", \"banned_by\": + null, \"media_embed\": {}, \"subreddit\": \"HogwartsRP\", \"selftext_html\": + \"<!-- SC_OFF --><div class=\\\"md\\\"><p><em>Isabella, + Richard, and Sebastien find a large, deserted classroom on the 4th floor of + the castle. They set to work on getting the room ready for Rubys surprise + Birthday Party.</em></p>\\n\\n<p><em>Richard changes + the walls to a bright scarlet and bronze striped pattern, and drapes a big + banner with &#39;HAPPY BIRTHDAY RUBY&#39; across the back wall. He + also sets up the piano Ruby likes to play in the corner.</em></p>\\n\\n<p><em>Isabella + gets help from the house elves in preparing all the food and drinks, setting + them up on a couple tables off to the side of the room. All the typical party + foods are there, including Rubys favorite foods. There&#39;s every kind + of drink imaginable, along with some.. special punch. Tables and chairs are + set up beside it.</em></p>\\n\\n<p><em>Sebastien sets + up the music, making it come from an unseeable source. All kinds of music + play to suit everyone&#39;s different taste. He also puts the finishing + touches in all the decorations, completely transforming the classroom.</em></p>\\n\\n<p><em>They + send out invitations to everyone in the castle, and wait for people (including + Ruby) to arrive</em></p>\\n\\n<p>OOC: I&#39;m bad at + describing but that&#39;s about the jist of it!</p>\\n</div><!-- + SC_ON -->\", \"selftext\": \"*Isabella, Richard, and Sebastien find a large, + deserted classroom on the 4th floor of the castle. They set to work on getting + the room ready for Rubys surprise Birthday Party.*\\n\\n*Richard changes the + walls to a bright scarlet and bronze striped pattern, and drapes a big banner + with 'HAPPY BIRTHDAY RUBY' across the back wall. He also sets up the piano + Ruby likes to play in the corner.*\\n\\n*Isabella gets help from the house + elves in preparing all the food and drinks, setting them up on a couple tables + off to the side of the room. All the typical party foods are there, including + Rubys favorite foods. There's every kind of drink imaginable, along with some.. + special punch. Tables and chairs are set up beside it.*\\n\\n*Sebastien sets + up the music, making it come from an unseeable source. All kinds of music + play to suit everyone's different taste. He also puts the finishing touches + in all the decorations, completely transforming the classroom.*\\n\\n*They + send out invitations to everyone in the castle, and wait for people (including + Ruby) to arrive*\\n\\nOOC: I'm bad at describing but that's about the jist + of it!\", \"likes\": null, \"secure_media\": null, \"link_flair_text\": null, + \"id\": \"1r2tk7\", \"secure_media_embed\": {}, \"clicked\": false, \"stickied\": + false, \"author\": \"IsabellaBerry\", \"media\": null, \"score\": 2, \"approved_by\": + null, \"over_18\": false, \"hidden\": false, \"thumbnail\": \"\", \"subreddit_id\": + \"t5_2ygix\", \"edited\": 1384974641.0, \"link_flair_css_class\": null, \"author_flair_css_class\": + \"HGR\", \"downs\": 2, \"saved\": false, \"is_self\": true, \"permalink\": + \"/r/HogwartsRP/comments/1r2tk7/rubys_birthday_party/\", \"name\": \"t3_1r2tk7\", + \"created\": 1384974315.0, \"url\": \"http://www.reddit.com/r/HogwartsRP/comments/1r2tk7/rubys_birthday_party/\", + \"author_flair_text\": \"6th year; Prefect \", \"title\": \"Rubys Birthday + Party!\", \"created_utc\": 1384974315.0, \"ups\": 4, \"num_comments\": 809, + \"visited\": false, \"num_reports\": null, \"distinguished\": null}}, {\"kind\": + \"t3\", \"data\": {\"domain\": \"self.ruby\", \"banned_by\": null, \"media_embed\": + {}, \"subreddit\": \"ruby\", \"selftext_html\": \"<!-- SC_OFF --><div + class=\\\"md\\\"><p>...and thanks to everyone in <a href=\\\"/r/ruby\\\">/r/ruby</a>, + <a href=\\\"/r/rails\\\">/r/rails</a> and <a href=\\\"/r/programming\\\">/r/programming</a> + who helped me gain not only the skills but the confidence to make the switch. + \ I&#39;ve been a lifelong marketer who always felt unfulfilled and spent + nights/weekends/free time learning Ruby, Rails, MySQL, PostgreSQL, jQuery, + and more, finally culminating in my first full-time development job. Wish + me luck!</p>\\n</div><!-- SC_ON -->\", \"selftext\": \"...and + thanks to everyone in /r/ruby, /r/rails and /r/programming who helped me gain + not only the skills but the confidence to make the switch. I've been a lifelong + marketer who always felt unfulfilled and spent nights/weekends/free time learning + Ruby, Rails, MySQL, PostgreSQL, jQuery, and more, finally culminating in my + first full-time development job. Wish me luck!\", \"likes\": null, \"secure_media\": + null, \"link_flair_text\": null, \"id\": \"1i72ww\", \"secure_media_embed\": + {}, \"clicked\": false, \"stickied\": false, \"author\": \"caadbury\", \"media\": + null, \"score\": 88, \"approved_by\": null, \"over_18\": false, \"hidden\": + false, \"thumbnail\": \"\", \"subreddit_id\": \"t5_2qh21\", \"edited\": false, + \"link_flair_css_class\": null, \"author_flair_css_class\": null, \"downs\": + 21, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/1i72ww/on_monday_i_start_a_new_career_as_a_web_developer/\", + \"name\": \"t3_1i72ww\", \"created\": 1373686161.0, \"url\": \"http://www.reddit.com/r/ruby/comments/1i72ww/on_monday_i_start_a_new_career_as_a_web_developer/\", + \"author_flair_text\": null, \"title\": \"On Monday, I start a new career + as a web developer in Ruby on Rails\", \"created_utc\": 1373682561.0, \"ups\": + 109, \"num_comments\": 49, \"visited\": false, \"num_reports\": null, \"distinguished\": + null}}, {\"kind\": \"t3\", \"data\": {\"domain\": \"self.ruby\", \"banned_by\": + null, \"media_embed\": {}, \"subreddit\": \"ruby\", \"selftext_html\": \"<!-- + SC_OFF --><div class=\\\"md\\\"><p>Hello everyone,</p>\\n\\n<p>This + is a little framework of mine that I&#39;ve built out of a personal need + - basically, I wanted to write a desktop app using Ruby and I found it daunting + to say the least.</p>\\n\\n<p>So, I&#39;ve built Freightrain + to take care of all the stuff I really shouldn&#39;t care about, like + loading interface definitions, cross-toolkit compatibility and the likes.</p>\\n\\n<p>Now + I&#39;ve been working on it for almost 2 years (on and off of course) + and, since I&#39;ve just fixed it so it loads the newest glade specifications, + I thought that I could ask you guys for an evaluation.</p>\\n\\n<p>There&#39;s + a little readme on the github page and there are some examples in the /examples + folder.</p>\\n\\n<p><a href=\\\"http://github.com/bolthar/freightrain\\\">Link + to the github page!</a></p>\\n\\n<p>WHOA! Thanks for the + attention, I thought this was going to be ignored...</p>\\n\\n<p>How + many of you would be interested in a step by step tutorial over the major + features? I will build that if there&#39;s enough interest.</p>\\n</div><!-- + SC_ON -->\", \"selftext\": \"Hello everyone,\\n\\nThis is a little framework + of mine that I've built out of a personal need - basically, I wanted to write + a desktop app using Ruby and I found it daunting to say the least.\\n\\nSo, + I've built Freightrain to take care of all the stuff I really shouldn't care + about, like loading interface definitions, cross-toolkit compatibility and + the likes.\\n\\nNow I've been working on it for almost 2 years (on and off + of course) and, since I've just fixed it so it loads the newest glade specifications, + I thought that I could ask you guys for an evaluation.\\n\\nThere's a little + readme on the github page and there are some examples in the /examples folder.\\n\\n[Link + to the github page!](http://github.com/bolthar/freightrain)\\n\\nWHOA! Thanks + for the attention, I thought this was going to be ignored...\\n\\nHow many + of you would be interested in a step by step tutorial over the major features? + I will build that if there's enough interest.\", \"likes\": null, \"secure_media\": + null, \"link_flair_text\": null, \"id\": \"sk4qq\", \"secure_media_embed\": + {}, \"clicked\": false, \"stickied\": false, \"author\": \"bolthar\", \"media\": + null, \"score\": 163, \"approved_by\": null, \"over_18\": false, \"hidden\": + false, \"thumbnail\": \"\", \"subreddit_id\": \"t5_2qh21\", \"edited\": true, + \"link_flair_css_class\": null, \"author_flair_css_class\": null, \"downs\": + 11, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/sk4qq/freightrain_easy_ruby_desktop_development/\", + \"name\": \"t3_sk4qq\", \"created\": 1334952179.0, \"url\": \"http://www.reddit.com/r/ruby/comments/sk4qq/freightrain_easy_ruby_desktop_development/\", + \"author_flair_text\": null, \"title\": \"Freightrain - easy Ruby desktop + development\", \"created_utc\": 1334948579.0, \"ups\": 174, \"num_comments\": + 32, \"visited\": false, \"num_reports\": null, \"distinguished\": null}}, + {\"kind\": \"t3\", \"data\": {\"domain\": \"self.ruby\", \"banned_by\": null, + \"media_embed\": {}, \"subreddit\": \"ruby\", \"selftext_html\": \"<!-- + SC_OFF --><div class=\\\"md\\\"><p>I&#39;m learning Ruby + on codecademy, and intending to learn rails after that. I was told by a dev + friend that both Ruby and Ruby on Rails are outdated and bloated. He reckons + that Javascript is better and more relevant. Is this true? I&#39;ve been + really enjoying learning, is it worthwhile? </p>\\n</div><!-- + SC_ON -->\", \"selftext\": \"I'm learning Ruby on codecademy, and intending + to learn rails after that. I was told by a dev friend that both Ruby and Ruby + on Rails are outdated and bloated. He reckons that Javascript is better and + more relevant. Is this true? I've been really enjoying learning, is it worthwhile? + \", \"likes\": null, \"secure_media\": null, \"link_flair_text\": null, \"id\": + \"1uivc3\", \"secure_media_embed\": {}, \"clicked\": false, \"stickied\": + false, \"author\": \"KingPimpCommander\", \"media\": null, \"score\": 24, + \"approved_by\": null, \"over_18\": false, \"hidden\": false, \"thumbnail\": + \"\", \"subreddit_id\": \"t5_2qh21\", \"edited\": false, \"link_flair_css_class\": + null, \"author_flair_css_class\": null, \"downs\": 15, \"saved\": false, \"is_self\": + true, \"permalink\": \"/r/ruby/comments/1uivc3/is_ruby_outdated/\", \"name\": + \"t3_1uivc3\", \"created\": 1389021421.0, \"url\": \"http://www.reddit.com/r/ruby/comments/1uivc3/is_ruby_outdated/\", + \"author_flair_text\": null, \"title\": \"Is Ruby outdated?\", \"created_utc\": + 1388992621.0, \"ups\": 39, \"num_comments\": 86, \"visited\": false, \"num_reports\": + null, \"distinguished\": null}}, {\"kind\": \"t3\", \"data\": {\"domain\": + \"self.ruby\", \"banned_by\": null, \"media_embed\": {}, \"subreddit\": \"ruby\", + \"selftext_html\": \"<!-- SC_OFF --><div class=\\\"md\\\"><p>I&#39;ve + been trying to figure this one out in past few days and I&#39;m quite + unable to come up with reasonable answer.</p>\\n\\n<ul>\\n<li>We + have GitHub, most awesomest <em>social network</em> on the internet.</li>\\n<li>We + have RubyGems, centralized libraries for everything.</li>\\n<li>We + have JRuby, for those who want to stick in the Java world or do some real + threading.</li>\\n<li>We have Rails, possibly the best web framework + available (django people please don&#39;t burry me alive)</li>\\n<li>We + have RSpec and Cucumber, which make me cry when I have to work with JUnit.</li>\\n<li>We + have great cloud hosting solutions like Heroku and Engine Yard.</li>\\n<li>We + have huge number of screencasts and tutorials, especially those high quality + ones (Peepcode, Think Vitamin, Railscasts).</li>\\n<li>Last but + not least, we have Ruby, language which is fun to work with, expressive ... + well you know.</li>\\n</ul>\\n\\n<p>The list could go on + and on, so I guess you get my point. </p>\\n\\n<p>My question + is: <strong>What is missing? What do we need, but don&#39;t (yet) + have?</strong></p>\\n</div><!-- SC_ON -->\", \"selftext\": + \"I've been trying to figure this one out in past few days and I'm quite unable + to come up with reasonable answer.\\n\\n* We have GitHub, most awesomest *social + network* on the internet.\\n* We have RubyGems, centralized libraries for + everything.\\n* We have JRuby, for those who want to stick in the Java world + or do some real threading.\\n* We have Rails, possibly the best web framework + available (django people please don't burry me alive)\\n* We have RSpec and + Cucumber, which make me cry when I have to work with JUnit.\\n* We have great + cloud hosting solutions like Heroku and Engine Yard.\\n* We have huge number + of screencasts and tutorials, especially those high quality ones (Peepcode, + Think Vitamin, Railscasts).\\n* Last but not least, we have Ruby, language + which is fun to work with, expressive ... well you know.\\n\\nThe list could + go on and on, so I guess you get my point. \\n\\nMy question is: **What is + missing? What do we need, but don't (yet) have?**\", \"likes\": null, \"secure_media\": + null, \"link_flair_text\": null, \"id\": \"elygz\", \"secure_media_embed\": + {}, \"clicked\": false, \"stickied\": false, \"author\": \"progfu\", \"media\": + null, \"score\": 40, \"approved_by\": null, \"over_18\": false, \"hidden\": + false, \"thumbnail\": \"\", \"subreddit_id\": \"t5_2qh21\", \"edited\": false, + \"link_flair_css_class\": null, \"author_flair_css_class\": null, \"downs\": + 11, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/elygz/what_is_the_biggest_current_problem_in_ruby/\", + \"name\": \"t3_elygz\", \"created\": 1292377299.0, \"url\": \"http://www.reddit.com/r/ruby/comments/elygz/what_is_the_biggest_current_problem_in_ruby/\", + \"author_flair_text\": null, \"title\": \"What is the biggest current problem + in Ruby community?\", \"created_utc\": 1292377299.0, \"ups\": 51, \"num_comments\": + 134, \"visited\": false, \"num_reports\": null, \"distinguished\": null}}, + {\"kind\": \"t3\", \"data\": {\"domain\": \"self.leagueoflegends\", \"banned_by\": + null, \"media_embed\": {}, \"subreddit\": \"leagueoflegends\", \"selftext_html\": + \"<!-- SC_OFF --><div class=\\\"md\\\"><p>at the moment + support have zero reason to upgrade to ruby sightstone because you can already + place 3 wards from your regular sightstone </p>\\n\\n<p>this proposed + change would allow supports to gain a slight advantage in terms of vision + control if they invest in it, and would give an actual benefit to upgrading + sightstone outside of overpaying for a small health gain</p>\\n</div><!-- + SC_ON -->\", \"selftext\": \"at the moment support have zero reason to + upgrade to ruby sightstone because you can already place 3 wards from your + regular sightstone \\n\\nthis proposed change would allow supports to gain + a slight advantage in terms of vision control if they invest in it, and would + give an actual benefit to upgrading sightstone outside of overpaying for a + small health gain\", \"likes\": null, \"secure_media\": null, \"link_flair_text\": + null, \"id\": \"1u4wpg\", \"secure_media_embed\": {}, \"clicked\": false, + \"stickied\": false, \"author\": \"Wafflezlolqt\", \"media\": null, \"score\": + 749, \"approved_by\": null, \"over_18\": false, \"hidden\": false, \"thumbnail\": + \"self\", \"subreddit_id\": \"t5_2rfxx\", \"edited\": false, \"link_flair_css_class\": + null, \"author_flair_css_class\": \"curse\", \"downs\": 388, \"saved\": false, + \"is_self\": true, \"permalink\": \"/r/leagueoflegends/comments/1u4wpg/why_not_make_it_so_ruby_sightstone_allows_for_a/\", + \"name\": \"t3_1u4wpg\", \"created\": 1388573270.0, \"url\": \"http://www.reddit.com/r/leagueoflegends/comments/1u4wpg/why_not_make_it_so_ruby_sightstone_allows_for_a/\", + \"author_flair_text\": \"\", \"title\": \"Why not make it so ruby sightstone + allows for a 4th sightward to be placed by the user?\", \"created_utc\": 1388544470.0, + \"ups\": 1137, \"num_comments\": 226, \"visited\": false, \"num_reports\": + null, \"distinguished\": null}}, {\"kind\": \"t3\", \"data\": {\"domain\": + \"self.ruby\", \"banned_by\": null, \"media_embed\": {}, \"subreddit\": \"ruby\", + \"selftext_html\": \"<!-- SC_OFF --><div class=\\\"md\\\"><p>Whats + the best way to set up Ruby on Rails on OSx -- Newbie, and trying to figure + out how to use Ruby on rails on my macbook </p>\\n</div><!-- + SC_ON -->\", \"selftext\": \"Whats the best way to set up Ruby on Rails + on OSx -- Newbie, and trying to figure out how to use Ruby on rails on my + macbook \", \"likes\": null, \"secure_media\": null, \"link_flair_text\": + null, \"id\": \"zm1uu\", \"secure_media_embed\": {}, \"clicked\": false, \"stickied\": + false, \"author\": \"sirisaac87\", \"media\": null, \"score\": 30, \"approved_by\": + null, \"over_18\": false, \"hidden\": false, \"thumbnail\": \"\", \"subreddit_id\": + \"t5_2qh21\", \"edited\": false, \"link_flair_css_class\": null, \"author_flair_css_class\": + null, \"downs\": 5, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/zm1uu/setup_ruby_on_rails_on_osx/\", + \"name\": \"t3_zm1uu\", \"created\": 1347219823.0, \"url\": \"http://www.reddit.com/r/ruby/comments/zm1uu/setup_ruby_on_rails_on_osx/\", + \"author_flair_text\": null, \"title\": \"Setup Ruby on Rails on OSX -- \", + \"created_utc\": 1347216223.0, \"ups\": 35, \"num_comments\": 54, \"visited\": + false, \"num_reports\": null, \"distinguished\": null}}, {\"kind\": \"t3\", + \"data\": {\"domain\": \"self.ruby\", \"banned_by\": null, \"media_embed\": + {}, \"subreddit\": \"ruby\", \"selftext_html\": \"<!-- SC_OFF --><div + class=\\\"md\\\"><p>So jamesgolick was kind enough to make me moderator + of the community. I want to make a promise to you guys that I&#39;ll do + my best to keep it clean.</p>\\n\\n<p>If you have any requests + please let me know (like a valid link for the side navigation).</p>\\n\\n<p>How + do you want to see r/ruby improved? - A contest, guides, removing spam, etc. + Let me know!</p>\\n</div><!-- SC_ON -->\", \"selftext\": + \"So jamesgolick was kind enough to make me moderator of the community. I + want to make a promise to you guys that I'll do my best to keep it clean.\\n\\nIf + you have any requests please let me know (like a valid link for the side navigation).\\n\\nHow + do you want to see r/ruby improved? - A contest, guides, removing spam, etc. + Let me know!\", \"likes\": null, \"secure_media\": null, \"link_flair_text\": + null, \"id\": \"g1pia\", \"secure_media_embed\": {}, \"clicked\": false, \"stickied\": + false, \"author\": \"ViralInfection\", \"media\": null, \"score\": 34, \"approved_by\": + null, \"over_18\": false, \"hidden\": false, \"thumbnail\": \"\", \"subreddit_id\": + \"t5_2qh21\", \"edited\": false, \"link_flair_css_class\": null, \"author_flair_css_class\": + null, \"downs\": 9, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/g1pia/hello_rruby_im_your_new_moderator_how_would_you/\", + \"name\": \"t3_g1pia\", \"created\": 1299819313.0, \"url\": \"http://www.reddit.com/r/ruby/comments/g1pia/hello_rruby_im_your_new_moderator_how_would_you/\", + \"author_flair_text\": null, \"title\": \"Hello r/ruby. I'm your new moderator, + how would you improve r/ruby?\", \"created_utc\": 1299819313.0, \"ups\": 43, + \"num_comments\": 53, \"visited\": false, \"num_reports\": null, \"distinguished\": + null}}, {\"kind\": \"t3\", \"data\": {\"domain\": \"self.ruby\", \"banned_by\": + null, \"media_embed\": {}, \"subreddit\": \"ruby\", \"selftext_html\": \"<!-- + SC_OFF --><div class=\\\"md\\\"><p>I&#39;m working my way + through Zed&#39;s <em>Learn Ruby the Hard Way</em> and just + completed my first week-long, make-your-own-game section.</p>\\n\\n<p>Here + it is on github (also my first repo):\\n<a href=\\\"https://github.com/demiankz/escapezeta.git\\\">https://github.com/demiankz/escapezeta.git</a></p>\\n\\n<p>I&#39;ve + used most of what I know about ruby to make this game: functions, global variables, + arrays, if/else, .include?, booleans, and a couple other random things. I + have a feeling that there are major flaws in my code (nested if/else and global + variables first among them, I&#39;m sure).</p>\\n\\n<p>I&#39;d + love to hear how an experienced rubyist would improve on my attempt.</p>\\n</div><!-- + SC_ON -->\", \"selftext\": \"I'm working my way through Zed's *Learn Ruby + the Hard Way* and just completed my first week-long, make-your-own-game section.\\n\\nHere + it is on github (also my first repo):\\nhttps://github.com/demiankz/escapezeta.git\\n\\nI've + used most of what I know about ruby to make this game: functions, global variables, + arrays, if/else, .include?, booleans, and a couple other random things. I + have a feeling that there are major flaws in my code (nested if/else and global + variables first among them, I'm sure).\\n\\nI'd love to hear how an experienced + rubyist would improve on my attempt.\", \"likes\": null, \"secure_media\": + null, \"link_flair_text\": null, \"id\": \"1eqond\", \"secure_media_embed\": + {}, \"clicked\": false, \"stickied\": false, \"author\": \"demiankz\", \"media\": + null, \"score\": 41, \"approved_by\": null, \"over_18\": false, \"hidden\": + false, \"thumbnail\": \"\", \"subreddit_id\": \"t5_2qh21\", \"edited\": false, + \"link_flair_css_class\": null, \"author_flair_css_class\": null, \"downs\": + 2, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/1eqond/my_first_ruby_game_what_did_i_do_rightwrong/\", + \"name\": \"t3_1eqond\", \"created\": 1369109135.0, \"url\": \"http://www.reddit.com/r/ruby/comments/1eqond/my_first_ruby_game_what_did_i_do_rightwrong/\", + \"author_flair_text\": null, \"title\": \"My first Ruby game. What did I do + right/wrong?\", \"created_utc\": 1369105535.0, \"ups\": 43, \"num_comments\": + 55, \"visited\": false, \"num_reports\": null, \"distinguished\": null}}, + {\"kind\": \"t3\", \"data\": {\"domain\": \"self.ruby\", \"banned_by\": null, + \"media_embed\": {}, \"subreddit\": \"ruby\", \"selftext_html\": \"<!-- + SC_OFF --><div class=\\\"md\\\"><p>They only kept one guy on + the API team and he&#39;s been there from the beginning. I&#39;ve + done a few rails projects but not enough to consider myself a rails developer + guru. Any jobs for guys with just ruby experience?</p>\\n</div><!-- + SC_ON -->\", \"selftext\": \"They only kept one guy on the API team and + he's been there from the beginning. I've done a few rails projects but not + enough to consider myself a rails developer guru. Any jobs for guys with just + ruby experience?\", \"likes\": null, \"secure_media\": null, \"link_flair_text\": + null, \"id\": \"1nylih\", \"secure_media_embed\": {}, \"clicked\": false, + \"stickied\": false, \"author\": \"Solnse\", \"media\": null, \"score\": 29, + \"approved_by\": null, \"over_18\": false, \"hidden\": false, \"thumbnail\": + \"\", \"subreddit_id\": \"t5_2qh21\", \"edited\": false, \"link_flair_css_class\": + null, \"author_flair_css_class\": null, \"downs\": 8, \"saved\": false, \"is_self\": + true, \"permalink\": \"/r/ruby/comments/1nylih/company_downsized_today_i_got_caught_in_the/\", + \"name\": \"t3_1nylih\", \"created\": 1381207667.0, \"url\": \"http://www.reddit.com/r/ruby/comments/1nylih/company_downsized_today_i_got_caught_in_the/\", + \"author_flair_text\": null, \"title\": \"Company downsized today. I got caught + in the layoff spree. Where is the best place for a ruby dev to search for + a stable job?\", \"created_utc\": 1381204067.0, \"ups\": 37, \"num_comments\": + 56, \"visited\": false, \"num_reports\": null, \"distinguished\": null}}, + {\"kind\": \"t3\", \"data\": {\"domain\": \"self.ruby\", \"banned_by\": null, + \"media_embed\": {}, \"subreddit\": \"ruby\", \"selftext_html\": \"<!-- + SC_OFF --><div class=\\\"md\\\"><p>start with straight ruby + or go to rails?\\nI started with HTML/CSS/PHP/javascript with no frameworks + and am wondering if i would be better to start with straight ruby as well. + </p>\\n\\n<p>Thanks all.!!</p>\\n</div><!-- SC_ON + -->\", \"selftext\": \"start with straight ruby or go to rails?\\nI started + with HTML/CSS/PHP/javascript with no frameworks and am wondering if i would + be better to start with straight ruby as well. \\n\\nThanks all.!!\", \"likes\": + null, \"secure_media\": null, \"link_flair_text\": null, \"id\": \"widgp\", + \"secure_media_embed\": {}, \"clicked\": false, \"stickied\": false, \"author\": + \"swiftpants\", \"media\": null, \"score\": 21, \"approved_by\": null, \"over_18\": + false, \"hidden\": false, \"thumbnail\": \"\", \"subreddit_id\": \"t5_2qh21\", + \"edited\": false, \"link_flair_css_class\": null, \"author_flair_css_class\": + null, \"downs\": 2, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/widgp/newb_to_ruby_should_i/\", + \"name\": \"t3_widgp\", \"created\": 1342206260.0, \"url\": \"http://www.reddit.com/r/ruby/comments/widgp/newb_to_ruby_should_i/\", + \"author_flair_text\": null, \"title\": \"newb to ruby.. should I\", \"created_utc\": + 1342202660.0, \"ups\": 23, \"num_comments\": 50, \"visited\": false, \"num_reports\": + null, \"distinguished\": null}}, {\"kind\": \"t3\", \"data\": {\"domain\": + \"self.ruby\", \"banned_by\": null, \"media_embed\": {}, \"subreddit\": \"ruby\", + \"selftext_html\": \"<!-- SC_OFF --><div class=\\\"md\\\"><p>This + is a translation of <a href=\\\"http://www.nikkan.co.jp/news/nkx0220110919aaac.html\\\">an + article by \\u65e5\\u520a\\u5de5\\u696d\\u65b0\\u805e (nikkan)</a> which + is a publication dedicated to industry news in Japan.</p>\\n\\n<p>The + Japan based Ruby language is set to become an international standard in 2012 + through the International Organization for Standardization (ISO). Ruby was + already standardized through Japanese Industrial Standards (JIS), and the + focus will now be directed towards its recognition in the global community + by becoming an official ISO standard. This would be the first time a programming + language of Japanese origin would become an ISO standard. The nation of Japan + hopes that this will increase its recognition in the primarily western dominated + software field.</p>\\n\\n<p>Ruby was developed by fellow Yukihiro + Matsumoto at the National Applied Communication Laboratory (Matsue city). + Features such as the ability to architect high level applications with ease + has gained Ruby fast popularity around web development both inside and outside + the country.</p>\\n\\n<p>The ISO standardization of Ruby is being + pushed by the Information-technology Promotion Agency (IPA). Domestically + Ruby became a JIS standard (JIS X3017) in March from a proposal by the Ruby + Standardization Study Working Group.</p>\\n</div><!-- SC_ON + -->\", \"selftext\": \"This is a translation of [an article by \\u65e5\\u520a\\u5de5\\u696d\\u65b0\\u805e + (nikkan)](http://www.nikkan.co.jp/news/nkx0220110919aaac.html) which is a + publication dedicated to industry news in Japan.\\n\\n The Japan based Ruby + language is set to become an international standard in 2012 through the International + Organization for Standardization (ISO). Ruby was already standardized through + Japanese Industrial Standards (JIS), and the focus will now be directed towards + its recognition in the global community by becoming an official ISO standard. + This would be the first time a programming language of Japanese origin would + become an ISO standard. The nation of Japan hopes that this will increase + its recognition in the primarily western dominated software field.\\n\\n Ruby + was developed by fellow Yukihiro Matsumoto at the National Applied Communication + Laboratory (Matsue city). Features such as the ability to architect high level + applications with ease has gained Ruby fast popularity around web development + both inside and outside the country.\\n\\n The ISO standardization of Ruby + is being pushed by the Information-technology Promotion Agency (IPA). Domestically + Ruby became a JIS standard (JIS X3017) in March from a proposal by the Ruby + Standardization Study Working Group.\", \"likes\": null, \"secure_media\": + null, \"link_flair_text\": null, \"id\": \"kk5ln\", \"secure_media_embed\": + {}, \"clicked\": false, \"stickied\": false, \"author\": \"cwgem\", \"media\": + null, \"score\": 61, \"approved_by\": null, \"over_18\": false, \"hidden\": + false, \"thumbnail\": \"\", \"subreddit_id\": \"t5_2qh21\", \"edited\": false, + \"link_flair_css_class\": null, \"author_flair_css_class\": null, \"downs\": + 2, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/kk5ln/ruby_to_be_the_first_japanese_made_programming/\", + \"name\": \"t3_kk5ln\", \"created\": 1316409512.0, \"url\": \"http://www.reddit.com/r/ruby/comments/kk5ln/ruby_to_be_the_first_japanese_made_programming/\", + \"author_flair_text\": null, \"title\": \"Ruby to be the first Japanese made + programming language to become an international standard sometime next year\", + \"created_utc\": 1316405912.0, \"ups\": 63, \"num_comments\": 10, \"visited\": + false, \"num_reports\": null, \"distinguished\": null}}, {\"kind\": \"t3\", + \"data\": {\"domain\": \"self.ruby\", \"banned_by\": null, \"media_embed\": + {}, \"subreddit\": \"ruby\", \"selftext_html\": \"<!-- SC_OFF --><div + class=\\\"md\\\"><p>I was going through github, and I came across + a simple tictactoe program. It surprised me how clever the programmer was + with blocks and yields and such. I wrote a tictactoe program myself months + ago when I was learning Ruby, and when I compare the two, my code is very + clunky and not at all as elegant as this programmer. </p>\\n\\n<p>And + now I realize that the best way to improve my skills is to read the code of + programmers who are much more advanced than I am. </p>\\n\\n<p>So + I ask, what are some of the best ruby code that you have ever seen?</p>\\n</div><!-- + SC_ON -->\", \"selftext\": \"I was going through github, and I came across + a simple tictactoe program. It surprised me how clever the programmer was + with blocks and yields and such. I wrote a tictactoe program myself months + ago when I was learning Ruby, and when I compare the two, my code is very + clunky and not at all as elegant as this programmer. \\n \\nAnd now I + realize that the best way to improve my skills is to read the code of programmers + who are much more advanced than I am. \\n \\nSo I ask, what are some of + the best ruby code that you have ever seen?\", \"likes\": null, \"secure_media\": + null, \"link_flair_text\": null, \"id\": \"1mwg7o\", \"secure_media_embed\": + {}, \"clicked\": false, \"stickied\": false, \"author\": \"hopengrind\", \"media\": + null, \"score\": 57, \"approved_by\": null, \"over_18\": false, \"hidden\": + false, \"thumbnail\": \"\", \"subreddit_id\": \"t5_2qh21\", \"edited\": false, + \"link_flair_css_class\": null, \"author_flair_css_class\": null, \"downs\": + 10, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/1mwg7o/what_are_some_of_the_best_ruby_programs_youve/\", + \"name\": \"t3_1mwg7o\", \"created\": 1379872130.0, \"url\": \"http://www.reddit.com/r/ruby/comments/1mwg7o/what_are_some_of_the_best_ruby_programs_youve/\", + \"author_flair_text\": null, \"title\": \"What are some of the best ruby programs + you've ever seen?\", \"created_utc\": 1379868530.0, \"ups\": 67, \"num_comments\": + 25, \"visited\": false, \"num_reports\": null, \"distinguished\": null}}, + {\"kind\": \"t3\", \"data\": {\"domain\": \"self.ruby\", \"banned_by\": null, + \"media_embed\": {}, \"subreddit\": \"ruby\", \"selftext_html\": \"<!-- + SC_OFF --><div class=\\\"md\\\"><p>I&#39;m learning ruby + now and looking forward to finding a job doing front end and app development. + \ Thanks!</p>\\n</div><!-- SC_ON -->\", \"selftext\": \"I'm + learning ruby now and looking forward to finding a job doing front end and + app development. Thanks!\", \"likes\": null, \"secure_media\": null, \"link_flair_text\": + null, \"id\": \"1kylfv\", \"secure_media_embed\": {}, \"clicked\": false, + \"stickied\": false, \"author\": \"codemonkei\", \"media\": null, \"score\": + 29, \"approved_by\": null, \"over_18\": false, \"hidden\": false, \"thumbnail\": + \"\", \"subreddit_id\": \"t5_2qh21\", \"edited\": 1377394522.0, \"link_flair_css_class\": + null, \"author_flair_css_class\": null, \"downs\": 6, \"saved\": false, \"is_self\": + true, \"permalink\": \"/r/ruby/comments/1kylfv/what_are_some_good_projects_to_do_with_ruby_to/\", + \"name\": \"t3_1kylfv\", \"created\": 1377289503.0, \"url\": \"http://www.reddit.com/r/ruby/comments/1kylfv/what_are_some_good_projects_to_do_with_ruby_to/\", + \"author_flair_text\": null, \"title\": \"What are some good projects to do + with Ruby to impress employers?\", \"created_utc\": 1377285903.0, \"ups\": + 35, \"num_comments\": 43, \"visited\": false, \"num_reports\": null, \"distinguished\": + null}}, {\"kind\": \"t3\", \"data\": {\"domain\": \"self.ruby\", \"banned_by\": + null, \"media_embed\": {}, \"subreddit\": \"ruby\", \"selftext_html\": \"<!-- + SC_OFF --><div class=\\\"md\\\"><p>Even I have just only few + experiences of Ruby, I just become aware of there <em>is</em> + <code>for</code> in Ruby (I saw that when I learned Ruby first). + \ Most of Ruby codes seem to use just <code>Enumerable#each</code> + method instead of <code>for</code> statement, but why? Is there + any reason to prefer <code>Enumerable#each</code> method over + <code>for</code> statement?</p>\\n</div><!-- SC_ON + -->\", \"selftext\": \"Even I have just only few experiences of Ruby, I + just become aware of there *is* `for` in Ruby (I saw that when I learned Ruby + first). Most of Ruby codes seem to use just `Enumerable#each` method instead + of `for` statement, but why? Is there any reason to prefer `Enumerable#each` + method over `for` statement?\", \"likes\": null, \"secure_media\": null, \"link_flair_text\": + null, \"id\": \"p1l8k\", \"secure_media_embed\": {}, \"clicked\": false, \"stickied\": + false, \"author\": \"hongminhee\", \"media\": null, \"score\": 26, \"approved_by\": + null, \"over_18\": false, \"hidden\": false, \"thumbnail\": \"\", \"subreddit_id\": + \"t5_2qh21\", \"edited\": false, \"link_flair_css_class\": null, \"author_flair_css_class\": + null, \"downs\": 5, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/p1l8k/why_is_there_forstatement_in_ruby/\", + \"name\": \"t3_p1l8k\", \"created\": 1327833555.0, \"url\": \"http://www.reddit.com/r/ruby/comments/p1l8k/why_is_there_forstatement_in_ruby/\", + \"author_flair_text\": null, \"title\": \"Why is there for-statement in Ruby?\", + \"created_utc\": 1327833555.0, \"ups\": 31, \"num_comments\": 35, \"visited\": + false, \"num_reports\": null, \"distinguished\": null}}, {\"kind\": \"t3\", + \"data\": {\"domain\": \"self.ruby\", \"banned_by\": null, \"media_embed\": + {}, \"subreddit\": \"ruby\", \"selftext_html\": \"<!-- SC_OFF --><div + class=\\\"md\\\"><p>The languages are often compared so I am hoping + my knowledge of python will make learning ruby faster. Maybe the best method + is just to read a ruby book and learn from scratch, I am not sure yet how + similar they are. However if anyone has made the switch and knows what a good + starting point would be or if there are resrouces geared toward switching + I would apperciate the advice. Thanks.</p>\\n\\n<p>Edit: I will + be using ruby as a scripting language. Mosly maintaing and updating existing + scripts that put together XML files used for input for other applications + and things like file management and such. So if there are resrouces geared + towards scripting rather than building ruby applications that would be helpful.</p>\\n</div><!-- + SC_ON -->\", \"selftext\": \"The languages are often compared so I am hoping + my knowledge of python will make learning ruby faster. Maybe the best method + is just to read a ruby book and learn from scratch, I am not sure yet how + similar they are. However if anyone has made the switch and knows what a good + starting point would be or if there are resrouces geared toward switching + I would apperciate the advice. Thanks.\\n\\nEdit: I will be using ruby as + a scripting language. Mosly maintaing and updating existing scripts that put + together XML files used for input for other applications and things like + file management and such. So if there are resrouces geared towards scripting + rather than building ruby applications that would be helpful.\", \"likes\": + null, \"secure_media\": null, \"link_flair_text\": null, \"id\": \"pgnbp\", + \"secure_media_embed\": {}, \"clicked\": false, \"stickied\": false, \"author\": + \"f4hy\", \"media\": null, \"score\": 16, \"approved_by\": null, \"over_18\": + false, \"hidden\": false, \"thumbnail\": \"\", \"subreddit_id\": \"t5_2qh21\", + \"edited\": true, \"link_flair_css_class\": null, \"author_flair_css_class\": + null, \"downs\": 6, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/pgnbp/i_am_a_python_programmer_who_needs_to_learn_ruby/\", + \"name\": \"t3_pgnbp\", \"created\": 1328729735.0, \"url\": \"http://www.reddit.com/r/ruby/comments/pgnbp/i_am_a_python_programmer_who_needs_to_learn_ruby/\", + \"author_flair_text\": null, \"title\": \"I am a python programmer who needs + to learn ruby. Any good resources or advice?\", \"created_utc\": 1328729735.0, + \"ups\": 22, \"num_comments\": 55, \"visited\": false, \"num_reports\": null, + \"distinguished\": null}}, {\"kind\": \"t3\", \"data\": {\"domain\": \"self.ruby\", + \"banned_by\": null, \"media_embed\": {}, \"subreddit\": \"ruby\", \"selftext_html\": + \"<!-- SC_OFF --><div class=\\\"md\\\"><p>I can&#39;t + d/l XCode due to my version of OSX. RVM install commands don&#39;t seem + to make sense within my terminal. Do I need git? </p>\\n\\n<p>I + would like to learn Ruby (then Rails) but so far I&#39;m just frustrated. + </p>\\n\\n<p>Thank you for any help you guys can offer.</p>\\n</div><!-- + SC_ON -->\", \"selftext\": \"I can't d/l XCode due to my version of OSX. + RVM install commands don't seem to make sense within my terminal. Do I need + git? \\n\\nI would like to learn Ruby (then Rails) but so far I'm just frustrated. + \\n\\nThank you for any help you guys can offer.\", \"likes\": null, \"secure_media\": + null, \"link_flair_text\": null, \"id\": \"rpwze\", \"secure_media_embed\": + {}, \"clicked\": false, \"stickied\": false, \"author\": \"BeauBeauBeau\", + \"media\": null, \"score\": 18, \"approved_by\": null, \"over_18\": false, + \"hidden\": false, \"thumbnail\": \"\", \"subreddit_id\": \"t5_2qh21\", \"edited\": + false, \"link_flair_css_class\": null, \"author_flair_css_class\": null, \"downs\": + 3, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/rpwze/installing_ruby_wo_xcode_on_a_mac_or_why_is/\", + \"name\": \"t3_rpwze\", \"created\": 1333397680.0, \"url\": \"http://www.reddit.com/r/ruby/comments/rpwze/installing_ruby_wo_xcode_on_a_mac_or_why_is/\", + \"author_flair_text\": null, \"title\": \"Installing Ruby w/o XCode on a Mac: + or why is installing Ruby such a pain in the ass? [NOOB] \", \"created_utc\": + 1333394080.0, \"ups\": 21, \"num_comments\": 53, \"visited\": false, \"num_reports\": + null, \"distinguished\": null}}, {\"kind\": \"t3\", \"data\": {\"domain\": + \"self.ruby\", \"banned_by\": null, \"media_embed\": {}, \"subreddit\": \"ruby\", + \"selftext_html\": \"<!-- SC_OFF --><div class=\\\"md\\\"><p>I&#39;m + going through the Ruby Koans right now as part of trying to learn Ruby. I + just finished the about_blocks koan and I really just don&#39;t understand + how the <code>yield</code> keyword works. Example code from the + koan:</p>\\n\\n<pre><code>def many_yields\\n yield(:peanut)\\n + \ yield(:butter)\\n yield(:and)\\n yield(:jelly)\\nend\\n\\ndef test_methods_can_call_yield_many_times\\n + \ result = []\\n many_yields { |item| result &lt;&lt; item }\\n assert_equal + [:peanut, :butter, :and, :jelly], result\\nend\\n</code></pre>\\n\\n<p>I + can see that <code>result</code> is getting all four yielded values + from <code>many_yields</code>, but I don&#39;t really understand + what&#39;s going on. I especially don&#39;t understand the cases where + yield is called without any values. Can somebody explain this keyword to me?</p>\\n</div><!-- + SC_ON -->\", \"selftext\": \"I'm going through the Ruby Koans right now + as part of trying to learn Ruby. I just finished the about_blocks koan and + I really just don't understand how the `yield` keyword works. Example code + from the koan:\\n\\n def many_yields\\n yield(:peanut)\\n yield(:butter)\\n + \ yield(:and)\\n yield(:jelly)\\n end\\n\\n def test_methods_can_call_yield_many_times\\n + \ result = []\\n many_yields { |item| result << item }\\n assert_equal + [:peanut, :butter, :and, :jelly], result\\n end\\n\\nI can see that `result` + is getting all four yielded values from `many_yields`, but I don't really + understand what's going on. I especially don't understand the cases where + yield is called without any values. Can somebody explain this keyword to me?\", + \"likes\": null, \"secure_media\": null, \"link_flair_text\": null, \"id\": + \"kvjrw\", \"secure_media_embed\": {}, \"clicked\": false, \"stickied\": false, + \"author\": \"glenbolake\", \"media\": null, \"score\": 45, \"approved_by\": + null, \"over_18\": false, \"hidden\": false, \"thumbnail\": \"\", \"subreddit_id\": + \"t5_2qh21\", \"edited\": false, \"link_flair_css_class\": null, \"author_flair_css_class\": + null, \"downs\": 3, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/kvjrw/ruby_newbie_i_dont_understand_yield/\", + \"name\": \"t3_kvjrw\", \"created\": 1317324898.0, \"url\": \"http://www.reddit.com/r/ruby/comments/kvjrw/ruby_newbie_i_dont_understand_yield/\", + \"author_flair_text\": null, \"title\": \"Ruby newbie - I don't understand + yield\", \"created_utc\": 1317321298.0, \"ups\": 48, \"num_comments\": 36, + \"visited\": false, \"num_reports\": null, \"distinguished\": null}}, {\"kind\": + \"t3\", \"data\": {\"domain\": \"self.ruby\", \"banned_by\": null, \"media_embed\": + {}, \"subreddit\": \"ruby\", \"selftext_html\": \"<!-- SC_OFF --><div + class=\\\"md\\\"><p>I fundamentally do not understand the perspective + many Rubyists have. I am not saying it anything is bad, I am saying <em>I + do not understand</em>. I just have a different perspective. I don&#39;t + understand why pragmatic people who don&#39;t seem to be early adopters + are leaving a good tool for tools that should only appeal to early adopters.</p>\\n\\n<p>Please, + let me explain my perspective. I have been working primarily with C++ the + past 15, during that time I have dabbled with Java, PHP, Lua, Perl, Pascal, + HTML/CSS, a couple kinds of assembly, C#/VB, others I wish I could forget + and of course plain old C. I keep going back to C++ because I have a strong + proficiency with it. I have the feeling I can make it do anything. I have + made it solve some interesting problems. There are other reasons too, but + this seems like enough to convey where I am coming from. I invested real time + and effort gaining that proficiency, so I will use C++ when practical an invest + more time learning something else when C++ is not practical.</p>\\n\\n<p>I + see a ton of Rubyists talking about Elixir and Node.js as somekind of wholesale + replacement for Ruby. I understand that the two newer systems provide interesting + interactions with threading systems. That does not seem like a reason to dump + a whole language, a language with multiple independent healthy implementations + (jRuby, Rubunius, Maglev, etc...), particularly when some of them have fixed + threading performance. </p>\\n\\n<p>Or maybe I am missing the + point, maybe this is just about jumping to some popular new toy now that us + old fogeys are onto Ruby? Of course not, all the people I read about in blogs + and watch in talks at the countless Ruby conferences seem like pragmatic people + interested in getting stuff done. Ruby seems like an excellent tool for getting + stuff done. It is extremely easy to express complex ideas quickly. It has + an excellent system for handling libraries. It has access to awesome performance + via its C-API. If C is not your thing, It is mature enough that it is getting + performance optimizations with every new release (of MRI/Yarv at least). These + people invested significant time and effort learning Ruby, will their pragmatism + just let them throw that away?</p>\\n\\n<p>Perhaps my perspective + is wrong and no-one is leaving Ruby? But it seems every other conference talk + someone mentions Elixir while spitting Ruby&#39;s name.</p>\\n\\n<p>Perhaps, + There is something to Elixir/Node I have completely missed? I read their docs + and perused their libraries. They are missing features (and sometimes stability) + like tools only a few years old would.</p>\\n\\n<p>Why leave Ruby?</p>\\n</div><!-- + SC_ON -->\", \"selftext\": \"I fundamentally do not understand the perspective + many Rubyists have. I am not saying it anything is bad, I am saying *I do + not understand*. I just have a different perspective. I don't understand why + pragmatic people who don't seem to be early adopters are leaving a good tool + for tools that should only appeal to early adopters.\\n\\nPlease, let me explain + my perspective. I have been working primarily with C++ the past 15, during + that time I have dabbled with Java, PHP, Lua, Perl, Pascal, HTML/CSS, a couple + kinds of assembly, C#/VB, others I wish I could forget and of course plain + old C. I keep going back to C++ because I have a strong proficiency with it. + I have the feeling I can make it do anything. I have made it solve some interesting + problems. There are other reasons too, but this seems like enough to convey + where I am coming from. I invested real time and effort gaining that proficiency, + so I will use C++ when practical an invest more time learning something else + when C++ is not practical.\\n\\nI see a ton of Rubyists talking about Elixir + and Node.js as somekind of wholesale replacement for Ruby. I understand that + the two newer systems provide interesting interactions with threading systems. + That does not seem like a reason to dump a whole language, a language with + multiple independent healthy implementations (jRuby, Rubunius, Maglev, etc...), + particularly when some of them have fixed threading performance. \\n\\nOr + maybe I am missing the point, maybe this is just about jumping to some popular + new toy now that us old fogeys are onto Ruby? Of course not, all the people + I read about in blogs and watch in talks at the countless Ruby conferences + seem like pragmatic people interested in getting stuff done. Ruby seems like + an excellent tool for getting stuff done. It is extremely easy to express + complex ideas quickly. It has an excellent system for handling libraries. + It has access to awesome performance via its C-API. If C is not your thing, + It is mature enough that it is getting performance optimizations with every + new release (of MRI/Yarv at least). These people invested significant time + and effort learning Ruby, will their pragmatism just let them throw that away?\\n\\nPerhaps + my perspective is wrong and no-one is leaving Ruby? But it seems every other + conference talk someone mentions Elixir while spitting Ruby's name.\\n\\nPerhaps, + There is something to Elixir/Node I have completely missed? I read their docs + and perused their libraries. They are missing features (and sometimes stability) + like tools only a few years old would.\\n\\nWhy leave Ruby?\", \"likes\": + null, \"secure_media\": null, \"link_flair_text\": null, \"id\": \"1o6srn\", + \"secure_media_embed\": {}, \"clicked\": false, \"stickied\": false, \"author\": + \"Sqeaky\", \"media\": null, \"score\": 37, \"approved_by\": null, \"over_18\": + false, \"hidden\": false, \"thumbnail\": \"\", \"subreddit_id\": \"t5_2qh21\", + \"edited\": false, \"link_flair_css_class\": null, \"author_flair_css_class\": + null, \"downs\": 14, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/1o6srn/why_elixir_why_nodejs_coming_from_c_ruby_seems/\", + \"name\": \"t3_1o6srn\", \"created\": 1381457829.0, \"url\": \"http://www.reddit.com/r/ruby/comments/1o6srn/why_elixir_why_nodejs_coming_from_c_ruby_seems/\", + \"author_flair_text\": null, \"title\": \"Why Elixir? Why Node.js? Coming + from C++, Ruby seems like a fine language.\", \"created_utc\": 1381454229.0, + \"ups\": 51, \"num_comments\": 46, \"visited\": false, \"num_reports\": null, + \"distinguished\": null}}, {\"kind\": \"t3\", \"data\": {\"domain\": \"self.IAmA\", + \"banned_by\": null, \"media_embed\": {}, \"subreddit\": \"IAmA\", \"selftext_html\": + \"<!-- SC_OFF --><div class=\\\"md\\\"><p>Hi Reddit! </p>\\n\\n<p>I&#39;m + Annie. I report on economic policy -- taxes, the economy, Treasury, the IMF, + etc. -- from the D.C. bureau of the New York Times.</p>\\n\\n<p>Until + October, though, I was the Moneybox columnist for Slate. </p>\\n\\n<p>My + last piece for Slate just went up. It&#39;s a big story on how I started + to learn to program in Ruby, and about _why, a legend in the Ruby community + who disappeared two years ago. </p>\\n\\n<p>You can read it here: + <a href=\\\"http://www.slate.com/articles/technology/technology/2012/03/ruby_ruby_on_rails_and__why_the_disappearance_of_one_of_the_world_s_most_beloved_computer_programmers_.html\\\">http://www.slate.com/articles/technology/technology/2012/03/ruby_ruby_on_rails_and__why_the_disappearance_of_one_of_the_world_s_most_beloved_computer_programmers_.html</a></p>\\n\\n<p>You + can read all my Times stuff here: <a href=\\\"http://topics.nytimes.com/top/reference/timestopics/people/l/annie_lowrey/index.html?inline=nyt-per\\\">http://topics.nytimes.com/top/reference/timestopics/people/l/annie_lowrey/index.html?inline=nyt-per</a></p>\\n\\n<p>And + all my Slate stuff here: <a href=\\\"http://www.slate.com/authors.annie_lowrey.html\\\">http://www.slate.com/authors.annie_lowrey.html</a></p>\\n\\n<p>And + you can follow me here: <a href=\\\"https://twitter.com/#!/annielowrey\\\">https://twitter.com/#!/annielowrey</a></p>\\n\\n<p>Ask + me anything! </p>\\n</div><!-- SC_ON -->\", \"selftext\": + \"Hi Reddit! \\n\\nI'm Annie. I report on economic policy -- taxes, the economy, + Treasury, the IMF, etc. -- from the D.C. bureau of the New York Times.\\n\\nUntil + October, though, I was the Moneybox columnist for Slate. \\n\\nMy last piece + for Slate just went up. It's a big story on how I started to learn to program + in Ruby, and about _why, a legend in the Ruby community who disappeared two + years ago. \\n\\nYou can read it here: http://www.slate.com/articles/technology/technology/2012/03/ruby_ruby_on_rails_and__why_the_disappearance_of_one_of_the_world_s_most_beloved_computer_programmers_.html\\n\\nYou + can read all my Times stuff here: http://topics.nytimes.com/top/reference/timestopics/people/l/annie_lowrey/index.html?inline=nyt-per\\n\\nAnd + all my Slate stuff here: http://www.slate.com/authors.annie_lowrey.html\\n\\nAnd + you can follow me here: https://twitter.com/#!/annielowrey\\n\\nAsk me anything! + \", \"likes\": null, \"secure_media\": null, \"link_flair_text\": null, \"id\": + \"qzkdt\", \"secure_media_embed\": {}, \"clicked\": false, \"stickied\": false, + \"author\": \"AnnieLowrey\", \"media\": null, \"score\": 141, \"approved_by\": + null, \"over_18\": false, \"hidden\": false, \"thumbnail\": \"self\", \"subreddit_id\": + \"t5_2qzb6\", \"edited\": false, \"link_flair_css_class\": null, \"author_flair_css_class\": + null, \"downs\": 95, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/IAmA/comments/qzkdt/im_annie_lowrey_an_economic_policy_reporter_for/\", + \"name\": \"t3_qzkdt\", \"created\": 1331919796.0, \"url\": \"http://www.reddit.com/r/IAmA/comments/qzkdt/im_annie_lowrey_an_economic_policy_reporter_for/\", + \"author_flair_text\": null, \"title\": \"I'm Annie Lowrey, an economic policy + reporter for the New York Times and the author of the big Slate article on + Ruby and _why.\", \"created_utc\": 1331916196.0, \"ups\": 236, \"num_comments\": + 213, \"visited\": false, \"num_reports\": null, \"distinguished\": null}}, + {\"kind\": \"t3\", \"data\": {\"domain\": \"self.ruby\", \"banned_by\": null, + \"media_embed\": {}, \"subreddit\": \"ruby\", \"selftext_html\": \"<!-- + SC_OFF --><div class=\\\"md\\\"><p>I would really like to start + a study group for Ruby on Rails for this book <a href=\\\"http://ruby.railstutorial.org/ruby-on-rails-tutorial-book\\\">http://ruby.railstutorial.org/ruby-on-rails-tutorial-book</a> + (if you have better suggestions please let me know) I have just finished the + CodeCademy course for Ruby so I think I have a decent grasp on the Ruby language. + It would be nice if we could have a couple people who are experienced with + Rails help guide us through. I plan on hosting it on my website under the + Ruby on Rails subforum so we can keep all our stuff uncluttered, my website + is called milesftp.com(sorry for the odd name my friend had the domain registered + and so we decided to use it for now). If you guys are interested please let + me know and we will figure something&#39;s out! Thanks. </p>\\n</div><!-- + SC_ON -->\", \"selftext\": \"I would really like to start a study group + for Ruby on Rails for this book http://ruby.railstutorial.org/ruby-on-rails-tutorial-book + (if you have better suggestions please let me know) I have just finished the + CodeCademy course for Ruby so I think I have a decent grasp on the Ruby language. + It would be nice if we could have a couple people who are experienced with + Rails help guide us through. I plan on hosting it on my website under the + Ruby on Rails subforum so we can keep all our stuff uncluttered, my website + is called milesftp.com(sorry for the odd name my friend had the domain registered + and so we decided to use it for now). If you guys are interested please let + me know and we will figure something's out! Thanks. \", \"likes\": null, \"secure_media\": + null, \"link_flair_text\": null, \"id\": \"1n9e40\", \"secure_media_embed\": + {}, \"clicked\": false, \"stickied\": false, \"author\": \"valorvision\", + \"media\": null, \"score\": 20, \"approved_by\": null, \"over_18\": false, + \"hidden\": false, \"thumbnail\": \"\", \"subreddit_id\": \"t5_2qh21\", \"edited\": + false, \"link_flair_css_class\": null, \"author_flair_css_class\": null, \"downs\": + 8, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/1n9e40/creating_a_ruby_on_rails_study_group_please_let/\", + \"name\": \"t3_1n9e40\", \"created\": 1380306666.0, \"url\": \"http://www.reddit.com/r/ruby/comments/1n9e40/creating_a_ruby_on_rails_study_group_please_let/\", + \"author_flair_text\": null, \"title\": \"Creating A Ruby on Rails Study Group, + please let me know if you're interested.\", \"created_utc\": 1380303066.0, + \"ups\": 28, \"num_comments\": 40, \"visited\": false, \"num_reports\": null, + \"distinguished\": null}}, {\"kind\": \"t3\", \"data\": {\"domain\": \"self.ruby\", + \"banned_by\": null, \"media_embed\": {}, \"subreddit\": \"ruby\", \"selftext_html\": + \"<!-- SC_OFF --><div class=\\\"md\\\"><p>Hi there,</p>\\n\\n<p>I + started learning Ruby a few months ago and I bought myself a Microsoft Kinect + Cam as an early X-Mas gift. Of course I&#39;m using Linux (yes your OS-X + is fine too) and don&#39;t even own an X-Box 360 ... so I started the + hacking.</p>\\n\\n<p>After a short time of fiddling with C, I + remembered how much it tends to get on my nerves and how much I love Ruby, + so I thought &quot;<strong>Why not write some Kinect stuff with + Ruby?!</strong>&quot;. After a bit of googling I found exactly no + other projects except</p>\\n\\n<p>---- <a href=\\\"http://openkinect.org/wiki/Ruby_Wrapper#Sample_Code\\\">this + one</a> ----</p>\\n\\n<p>which was empty and so I decided + to <strong>post my first code snippet there</strong>.</p>\\n\\n<p>Sadly + nobody reacted so I have to assume that this project is dead. But what about + you? <em>Anyone interested in bringing some of the Kinect functionality + to Ruby?</em></p>\\n\\n<p><strong>What <del>I</del> + we managed to do:</strong></p>\\n\\n<ul>\\n<li>Control + the Kinects motor</li>\\n<li>Control the Kinects LED</li>\\n<li>Get + accelerometer data</li>\\n</ul>\\n\\n<p><strong>What + is missing (tried but failed):</strong></p>\\n\\n<ul>\\n<li>Get + an image from the RGB cam</li>\\n<li>Get an image from the depth + cam</li>\\n<li><del>Get accelerometer data</del></li>\\n</ul>\\n\\n<p><strong>TL;DR:</strong> + Started to develop a pure Ruby Kinect driver. Who wants to help?</p>\\n\\n<p>PS: + I&#39;m not interested in libfreenect wrappers, I want to create a pure + Ruby driver. (only with libusb i.e.)</p>\\n\\n<p><strong>EDIT: + I&#39;ve put what I got so far on GitHub: <a href=\\\"https://github.com/pachacamac/rinect\\\">see + here</a></strong></p>\\n</div><!-- SC_ON -->\", + \"selftext\": \"Hi there,\\n\\nI started learning Ruby a few months ago and + I bought myself a Microsoft Kinect Cam as an early X-Mas gift. Of course I'm + using Linux (yes your OS-X is fine too) and don't even own an X-Box 360 ... + so I started the hacking.\\n\\nAfter a short time of fiddling with C, I remembered + how much it tends to get on my nerves and how much I love Ruby, so I thought + \\\"**Why not write some Kinect stuff with Ruby?!**\\\". After a bit of googling + I found exactly no other projects except\\n\\n---- [this one](http://openkinect.org/wiki/Ruby_Wrapper#Sample_Code) + ----\\n\\nwhich was empty and so I decided to **post my first code snippet + there**.\\n\\nSadly nobody reacted so I have to assume that this project is + dead. But what about you? *Anyone interested in bringing some of the Kinect + functionality to Ruby?*\\n\\n\\n**What ~~I~~ we managed to do:**\\n\\n * Control + the Kinects motor\\n * Control the Kinects LED\\n * Get accelerometer data\\n\\n**What + is missing (tried but failed):**\\n\\n * Get an image from the RGB cam\\n + * Get an image from the depth cam\\n * ~~Get accelerometer data~~\\n\\n\\n\\n**TL;DR:** + Started to develop a pure Ruby Kinect driver. Who wants to help?\\n\\nPS: + I'm not interested in libfreenect wrappers, I want to create a pure Ruby driver. + (only with libusb i.e.)\\n\\n\\n**EDIT: I've put what I got so far on GitHub: + [see here](https://github.com/pachacamac/rinect)**\", \"likes\": null, \"secure_media\": + null, \"link_flair_text\": null, \"id\": \"euka7\", \"secure_media_embed\": + {}, \"clicked\": false, \"stickied\": false, \"author\": \"nexe\", \"media\": + null, \"score\": 29, \"approved_by\": null, \"over_18\": false, \"hidden\": + false, \"thumbnail\": \"\", \"subreddit_id\": \"t5_2qh21\", \"edited\": true, + \"link_flair_css_class\": null, \"author_flair_css_class\": null, \"downs\": + 6, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/euka7/ruby_kinect_project/\", + \"name\": \"t3_euka7\", \"created\": 1293897993.0, \"url\": \"http://www.reddit.com/r/ruby/comments/euka7/ruby_kinect_project/\", + \"author_flair_text\": null, \"title\": \"Ruby Kinect Project\", \"created_utc\": + 1293897993.0, \"ups\": 35, \"num_comments\": 36, \"visited\": false, \"num_reports\": + null, \"distinguished\": null}}, {\"kind\": \"t3\", \"data\": {\"domain\": + \"self.ruby\", \"banned_by\": null, \"media_embed\": {}, \"subreddit\": \"ruby\", + \"selftext_html\": \"<!-- SC_OFF --><div class=\\\"md\\\"><p>Dynamic + getters and setters in Perl:</p>\\n\\n<pre><code>sub AUTOLOAD + {\\n my @elements = qw(color age weight height);\\n\\n our $AUTOLOAD;\\n + \ if ($AUTOLOAD =~ /::(\\\\w+)$/ and grep $1 eq $_, @elements) {\\n my + $field = ucfirst $1;\\n {\\n no strict &#39;refs&#39;;\\n + \ *{$AUTOLOAD} = sub { $_[0]-&gt;{$field} };\\n }\\n goto &amp;{$AUTOLOAD};\\n + \ } elsif ($AUTOLOAD =~ /::set_(\\\\w+)$/ and grep $1 eq $_, @elements) {\\n + \ my $field = ucfirst $1;\\n {\\n no strict &#39;refs&#39;;\\n + \ *{$AUTOLOAD} = sub { $_[0]-&gt;{$field} = $_[1] };\\n }\\n goto + &amp;{$AUTOLOAD};\\n } else {\\n croak &quot;$_[0] does not understand + this method\\\\n&quot;;\\n }\\n}\\n</code></pre>\\n\\n<p>In + Ruby:</p>\\n\\n<pre><code>attr_accessor :color, :age, :weight, + :height\\n</code></pre>\\n\\n<p>Yeah.</p>\\n</div><!-- + SC_ON -->\", \"selftext\": \"Dynamic getters and setters in Perl:\\n\\n + \ sub AUTOLOAD {\\n my @elements = qw(color age weight height);\\n + \ \\n our $AUTOLOAD;\\n if ($AUTOLOAD =~ /::(\\\\w+)$/ and grep + $1 eq $_, @elements) {\\n my $field = ucfirst $1;\\n {\\n no + strict 'refs';\\n *{$AUTOLOAD} = sub { $_[0]->{$field} };\\n }\\n + \ goto &{$AUTOLOAD};\\n } elsif ($AUTOLOAD =~ /::set_(\\\\w+)$/ + and grep $1 eq $_, @elements) {\\n my $field = ucfirst $1;\\n {\\n + \ no strict 'refs';\\n *{$AUTOLOAD} = sub { $_[0]->{$field} + = $_[1] };\\n }\\n goto &{$AUTOLOAD};\\n } else {\\n + \ croak \\\"$_[0] does not understand this method\\\\n\\\";\\n }\\n + \ }\\n\\nIn Ruby:\\n\\n attr_accessor :color, :age, :weight, :height\\n\\nYeah.\", + \"likes\": null, \"secure_media\": null, \"link_flair_text\": null, \"id\": + \"e4upb\", \"secure_media_embed\": {}, \"clicked\": false, \"stickied\": false, + \"author\": \"Perceptes\", \"media\": null, \"score\": 36, \"approved_by\": + null, \"over_18\": false, \"hidden\": false, \"thumbnail\": \"\", \"subreddit_id\": + \"t5_2qh21\", \"edited\": true, \"link_flair_css_class\": null, \"author_flair_css_class\": + null, \"downs\": 11, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/e4upb/learning_perl_is_making_me_appreciate_ruby_even/\", + \"name\": \"t3_e4upb\", \"created\": 1289518955.0, \"url\": \"http://www.reddit.com/r/ruby/comments/e4upb/learning_perl_is_making_me_appreciate_ruby_even/\", + \"author_flair_text\": null, \"title\": \"Learning Perl is making me appreciate + Ruby even more\", \"created_utc\": 1289518955.0, \"ups\": 47, \"num_comments\": + 44, \"visited\": false, \"num_reports\": null, \"distinguished\": null}}], + \"after\": \"t3_e4upb\", \"before\": null}}" + http_version: + recorded_at: Wed, 08 Jan 2014 06:49:54 GMT +recorded_with: VCR 2.8.0