redditkit 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (180) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.md +22 -0
  3. data/README.md +155 -0
  4. data/Rakefile +8 -0
  5. data/lib/redditkit.rb +26 -0
  6. data/lib/redditkit/base.rb +60 -0
  7. data/lib/redditkit/client.rb +142 -0
  8. data/lib/redditkit/client/account.rb +73 -0
  9. data/lib/redditkit/client/apps.rb +63 -0
  10. data/lib/redditkit/client/captcha.rb +36 -0
  11. data/lib/redditkit/client/comments.rb +54 -0
  12. data/lib/redditkit/client/flair.rb +148 -0
  13. data/lib/redditkit/client/links.rb +134 -0
  14. data/lib/redditkit/client/miscellaneous.rb +50 -0
  15. data/lib/redditkit/client/moderation.rb +179 -0
  16. data/lib/redditkit/client/multireddits.rb +207 -0
  17. data/lib/redditkit/client/private_messages.rb +74 -0
  18. data/lib/redditkit/client/search.rb +25 -0
  19. data/lib/redditkit/client/subreddits.rb +120 -0
  20. data/lib/redditkit/client/users.rb +109 -0
  21. data/lib/redditkit/client/utilities.rb +137 -0
  22. data/lib/redditkit/client/voting.rb +41 -0
  23. data/lib/redditkit/client/wiki.rb +83 -0
  24. data/lib/redditkit/comment.rb +54 -0
  25. data/lib/redditkit/creatable.rb +17 -0
  26. data/lib/redditkit/error.rb +111 -0
  27. data/lib/redditkit/link.rb +140 -0
  28. data/lib/redditkit/moderator_action.rb +19 -0
  29. data/lib/redditkit/multireddit.rb +32 -0
  30. data/lib/redditkit/multireddit_description.rb +14 -0
  31. data/lib/redditkit/paginated_response.rb +22 -0
  32. data/lib/redditkit/private_message.rb +27 -0
  33. data/lib/redditkit/response/parse_json.rb +29 -0
  34. data/lib/redditkit/response/raise_error.rb +21 -0
  35. data/lib/redditkit/subreddit.rb +86 -0
  36. data/lib/redditkit/thing.rb +20 -0
  37. data/lib/redditkit/user.rb +30 -0
  38. data/lib/redditkit/version.rb +19 -0
  39. data/lib/redditkit/votable.rb +37 -0
  40. data/redditkit.gemspec +25 -0
  41. data/spec/cassettes/RedditKit_Client/should_raise_an_error_with_invalid_credentials.yml +39 -0
  42. data/spec/cassettes/RedditKit_Client_Account/_sign_in/signs_the_user_in.yml +132 -0
  43. data/spec/cassettes/RedditKit_Client_Account/_update_session/updates_the_current_session.yml +133 -0
  44. data/spec/cassettes/RedditKit_Client_Captcha/_captcha_url/returns_a_CAPTCHA_url_from_an_identifier.yml +38 -0
  45. data/spec/cassettes/RedditKit_Client_Captcha/_needs_captcha_/checks_if_the_current_account_needs_a_CAPTCHA.yml +44 -0
  46. data/spec/cassettes/RedditKit_Client_Captcha/_new_captcha_identifier/returns_a_new_CAPTCHA_identifier.yml +38 -0
  47. data/spec/cassettes/RedditKit_Client_Comments/_comment/requests_the_correct_resource.yml +47 -0
  48. data/spec/cassettes/RedditKit_Client_Comments/_comments/with_a_RedditKit_Link/returns_comments_on_a_link.yml +140 -0
  49. data/spec/cassettes/RedditKit_Client_Comments/_comments/with_a_link_identifier/returns_comments_on_a_link.yml +89 -0
  50. data/spec/cassettes/RedditKit_Client_Comments/_submit_comment/requests_the_correct_resource.yml +313 -0
  51. data/spec/cassettes/RedditKit_Client_Flair/_apply_flair_template/clears_flair_templates.yml +52 -0
  52. data/spec/cassettes/RedditKit_Client_Flair/_clear_flair_templates/clears_flair_templates.yml +49 -0
  53. data/spec/cassettes/RedditKit_Client_Flair/_create_flair_template/creates_a_flair_template.yml +46 -0
  54. data/spec/cassettes/RedditKit_Client_Flair/_create_flair_template/raises_InvalidClassName.yml +46 -0
  55. data/spec/cassettes/RedditKit_Client_Flair/_create_flair_template/raises_TooManyClassNames.yml +47 -0
  56. data/spec/cassettes/RedditKit_Client_Flair/_delete_user_flair/requests_the_correct_resource.yml +60 -0
  57. data/spec/cassettes/RedditKit_Client_Flair/_flair_list/returns_the_list_of_flair.yml +44 -0
  58. data/spec/cassettes/RedditKit_Client_Flair/_set_flair/requests_the_correct_resource.yml +49 -0
  59. data/spec/cassettes/RedditKit_Client_Flair/_set_flair_options/sets_flair_options.yml +49 -0
  60. data/spec/cassettes/RedditKit_Client_Flair/_set_flair_with_csv/requests_the_correct_resource.yml +51 -0
  61. data/spec/cassettes/RedditKit_Client_Flair/_toggle_flair/requests_the_correct_resource.yml +49 -0
  62. data/spec/cassettes/RedditKit_Client_Links/_front_page/requests_the_correct_category.yml +498 -0
  63. data/spec/cassettes/RedditKit_Client_Links/_front_page/requests_the_correct_resource.yml +603 -0
  64. data/spec/cassettes/RedditKit_Client_Links/_hide/requests_the_correct_resource.yml +46 -0
  65. data/spec/cassettes/RedditKit_Client_Links/_link/returns_a_link.yml +55 -0
  66. data/spec/cassettes/RedditKit_Client_Links/_links/contains_pagination_information.yml +402 -0
  67. data/spec/cassettes/RedditKit_Client_Links/_links/requests_a_certain_number_of_links.yml +186 -0
  68. data/spec/cassettes/RedditKit_Client_Links/_links/requests_front_page_links_if_no_subreddit_is_present.yml +603 -0
  69. data/spec/cassettes/RedditKit_Client_Links/_links/requests_links_with_the_correct_time_frame.yml +375 -0
  70. data/spec/cassettes/RedditKit_Client_Links/_links/requests_the_correct_subreddit_and_category.yml +402 -0
  71. data/spec/cassettes/RedditKit_Client_Links/_links_with_domain/returns_links_with_a_specific_domain.yml +99 -0
  72. data/spec/cassettes/RedditKit_Client_Links/_mark_nsfw/requests_the_correct_resource.yml +46 -0
  73. data/spec/cassettes/RedditKit_Client_Links/_random_link/returns_a_random_link.yml +91 -0
  74. data/spec/cassettes/RedditKit_Client_Links/_submit/raises_RedditKit_InvalidCaptcha_if_no_CAPTCHA_is_filled_out.yml +54 -0
  75. data/spec/cassettes/RedditKit_Client_Links/_unhide/requests_the_correct_resource.yml +46 -0
  76. data/spec/cassettes/RedditKit_Client_Links/_unmark_nsfw/requests_the_correct_resource.yml +46 -0
  77. data/spec/cassettes/RedditKit_Client_Miscellaneous/_delete/requests_the_correct_resource.yml +46 -0
  78. data/spec/cassettes/RedditKit_Client_Miscellaneous/_edit/requests_the_correct_resource.yml +52 -0
  79. data/spec/cassettes/RedditKit_Client_Miscellaneous/_save/saves_an_object.yml +46 -0
  80. data/spec/cassettes/RedditKit_Client_Miscellaneous/_unsave/unsaves_an_object.yml +89 -0
  81. data/spec/cassettes/RedditKit_Client_Moderation/_accept_moderator_invitation/requests_the_correct_resource.yml +53 -0
  82. data/spec/cassettes/RedditKit_Client_Moderation/_ban/requests_the_correct_resource.yml +103 -0
  83. data/spec/cassettes/RedditKit_Client_Moderation/_contributors_to_subreddit/requests_the_correct_resource.yml +47 -0
  84. data/spec/cassettes/RedditKit_Client_Moderation/_ignore_reports/requests_the_correct_resource.yml +46 -0
  85. data/spec/cassettes/RedditKit_Client_Moderation/_moderation_log/returns_RedditKit_ModeratorAction_objects.yml +153 -0
  86. data/spec/cassettes/RedditKit_Client_Moderation/_moderators_of_subreddit/requests_the_correct_resource.yml +48 -0
  87. data/spec/cassettes/RedditKit_Client_Moderation/_reset_subreddit_header/requests_the_correct_resource.yml +55 -0
  88. data/spec/cassettes/RedditKit_Client_Moderation/_set_contest_mode/requests_the_correct_resource.yml +46 -0
  89. data/spec/cassettes/RedditKit_Client_Moderation/_set_sticky_post/requests_the_correct_resource.yml +46 -0
  90. data/spec/cassettes/RedditKit_Client_Moderation/_unban/requests_the_correct_resource.yml +54 -0
  91. data/spec/cassettes/RedditKit_Client_Moderation/_unignore_reports/requests_the_correct_resource.yml +46 -0
  92. data/spec/cassettes/RedditKit_Client_Multireddits/_add_subreddit_to_multireddit/adds_a_subreddit_to_a_multireddit.yml +177 -0
  93. data/spec/cassettes/RedditKit_Client_Multireddits/_create_multireddit/creates_a_multireddit.yml +137 -0
  94. data/spec/cassettes/RedditKit_Client_Multireddits/_create_multireddit/raises_RedditKit_Conflict_when_using_an_existing_name.yml +133 -0
  95. data/spec/cassettes/RedditKit_Client_Multireddits/_delete_multireddit/deletes_a_multireddit.yml +134 -0
  96. data/spec/cassettes/RedditKit_Client_Multireddits/_multireddit/with_a_path/returns_a_multireddit.yml +39 -0
  97. data/spec/cassettes/RedditKit_Client_Multireddits/_multireddit/without_a_path/returns_a_multireddit.yml +39 -0
  98. data/spec/cassettes/RedditKit_Client_Multireddits/_multireddit_description/with_a_multireddit/returns_a_multireddit_description.yml +81 -0
  99. data/spec/cassettes/RedditKit_Client_Multireddits/_multireddit_description/with_a_username_and_multireddit_name/returns_a_multireddit_description.yml +45 -0
  100. data/spec/cassettes/RedditKit_Client_Multireddits/_my_multireddits/return_s_the_user_s_multireddits.yml +47 -0
  101. data/spec/cassettes/RedditKit_Client_Multireddits/_remove_subreddit_from_multireddit/removes_a_subreddit_from_a_multireddit.yml +175 -0
  102. data/spec/cassettes/RedditKit_Client_Multireddits/_rename_multireddit/renames_a_multireddit.yml +134 -0
  103. data/spec/cassettes/RedditKit_Client_Multireddits/_set_multireddit_description/returns_a_multireddit_description.yml +48 -0
  104. data/spec/cassettes/RedditKit_Client_Multireddits/_update_multireddit/updates_a_multireddit.yml +184 -0
  105. data/spec/cassettes/RedditKit_Client_PrivateMessages/_block_author_of_message/requests_the_correct_resource.yml +46 -0
  106. data/spec/cassettes/RedditKit_Client_PrivateMessages/_mark_as_read/requests_the_correct_resource.yml +51 -0
  107. data/spec/cassettes/RedditKit_Client_PrivateMessages/_mark_as_unread/requests_the_correct_resource.yml +51 -0
  108. data/spec/cassettes/RedditKit_Client_PrivateMessages/_messages/requests_the_correct_resource.yml +187 -0
  109. data/spec/cassettes/RedditKit_Client_PrivateMessages/_unblock/requests_the_correct_resource.yml +46 -0
  110. data/spec/cassettes/RedditKit_Client_Search/_search/restricts_searches_to_a_specific_subreddit.yml +878 -0
  111. data/spec/cassettes/RedditKit_Client_Search/_search/returns_a_specific_number_of_results.yml +130 -0
  112. data/spec/cassettes/RedditKit_Client_Search/_search/returns_search_results.yml +844 -0
  113. data/spec/cassettes/RedditKit_Client_Subreddits/_random_subreddit/returns_a_random_subreddit.yml +181 -0
  114. data/spec/cassettes/RedditKit_Client_Subreddits/_recommended_subreddits/returns_subreddit_names.yml +37 -0
  115. data/spec/cassettes/RedditKit_Client_Subreddits/_search_subreddits_by_name/returns_subreddit_names.yml +875 -0
  116. data/spec/cassettes/RedditKit_Client_Subreddits/_subreddit/returns_a_specified_subreddit.yml +100 -0
  117. data/spec/cassettes/RedditKit_Client_Subreddits/_subreddits/returns_a_specified_number_of_subreddits.yml +505 -0
  118. data/spec/cassettes/RedditKit_Client_Subreddits/_subreddits/returns_subreddits_from_a_specific_category.yml +510 -0
  119. data/spec/cassettes/RedditKit_Client_Subreddits/_subreddits_by_topic/returns_subreddit_names.yml +41 -0
  120. data/spec/cassettes/RedditKit_Client_Subreddits/_subscribe/requests_the_correct_resource.yml +46 -0
  121. data/spec/cassettes/RedditKit_Client_Subreddits/_subscribed_subreddits/returns_a_specified_number_of_subreddits.yml +415 -0
  122. data/spec/cassettes/RedditKit_Client_Subreddits/_subscribed_subreddits/returns_subreddits_from_a_specific_category.yml +58 -0
  123. data/spec/cassettes/RedditKit_Client_Subreddits/_subscribed_subreddits/returns_the_user_s_subscribed_subreddits.yml +3469 -0
  124. data/spec/cassettes/RedditKit_Client_Subreddits/_unsubscribe/requests_the_correct_resource.yml +46 -0
  125. data/spec/cassettes/RedditKit_Client_Users/_friends/returns_the_user_s_friends.yml +48 -0
  126. data/spec/cassettes/RedditKit_Client_Users/_my_content/returns_the_user_s_content.yml +60 -0
  127. data/spec/cassettes/RedditKit_Client_Users/_user/requests_the_correct_resource.yml +48 -0
  128. data/spec/cassettes/RedditKit_Client_Users/_user/returns_a_specified_user.yml +48 -0
  129. data/spec/cassettes/RedditKit_Client_Users/_user/returns_the_authenticated_user.yml +48 -0
  130. data/spec/cassettes/RedditKit_Client_Users/_user_content/returns_the_user_s_content.yml +41 -0
  131. data/spec/cassettes/RedditKit_Client_Users/_username_available_/returns_false_for_an_unavailable_username.yml +36 -0
  132. data/spec/cassettes/RedditKit_Client_Users/_username_available_/returns_true_for_an_available_username.yml +36 -0
  133. data/spec/cassettes/RedditKit_Client_Voting/_downvote/with_a_comment_full_name_passed/downvotes_the_comment.yml +100 -0
  134. data/spec/cassettes/RedditKit_Client_Voting/_downvote/with_a_comment_passed/downvotes_the_comment.yml +154 -0
  135. data/spec/cassettes/RedditKit_Client_Voting/_downvote/with_a_link_full_name_passed/downvotes_the_link.yml +106 -0
  136. data/spec/cassettes/RedditKit_Client_Voting/_downvote/with_a_link_passed/downvotes_the_link.yml +166 -0
  137. data/spec/cassettes/RedditKit_Client_Voting/_upvote/with_a_comment_full_name_passed/upvotes_the_comment.yml +100 -0
  138. data/spec/cassettes/RedditKit_Client_Voting/_upvote/with_a_comment_passed/upvotes_the_comment.yml +154 -0
  139. data/spec/cassettes/RedditKit_Client_Voting/_upvote/with_a_link_full_name_passed/upvotes_the_link.yml +106 -0
  140. data/spec/cassettes/RedditKit_Client_Voting/_upvote/with_a_link_passed/upvotes_the_link.yml +166 -0
  141. data/spec/cassettes/RedditKit_Client_Voting/_withdraw_vote/with_a_comment_full_name_passed/withdraws_the_vote_on_the_comment.yml +154 -0
  142. data/spec/cassettes/RedditKit_Client_Voting/_withdraw_vote/with_a_comment_passed/withdraws_the_vote_on_the_comment.yml +208 -0
  143. data/spec/cassettes/RedditKit_Client_Voting/_withdraw_vote/with_a_link_full_name_passed/withdraws_the_vote_on_the_link.yml +166 -0
  144. data/spec/cassettes/RedditKit_Client_Voting/_withdraw_vote/with_a_link_passed/withdraws_the_vote_on_the_link.yml +226 -0
  145. data/spec/cassettes/RedditKit_Client_Wiki/_add_wiki_editor/requests_the_correct_resource.yml +46 -0
  146. data/spec/cassettes/RedditKit_Client_Wiki/_edit_wiki_page/requests_the_correct_resource.yml +48 -0
  147. data/spec/cassettes/RedditKit_Client_Wiki/_hide_wiki_revision/requests_the_correct_resource.yml +46 -0
  148. data/spec/cassettes/RedditKit_Client_Wiki/_remove_wiki_editor/requests_the_correct_resource.yml +46 -0
  149. data/spec/cassettes/RedditKit_Client_Wiki/_revert_to_revision/requests_the_correct_resource.yml +46 -0
  150. data/spec/cassettes/RedditKit_Comment/should_not_be_deleted_if_neither_author_and_comment_attributes_are_set_to_deleted_.yml +90 -0
  151. data/spec/cassettes/RedditKit_Comment/should_return_replies.yml +90 -0
  152. data/spec/cassettes/authenticated_client.yml +87 -0
  153. data/spec/redditkit/base_spec.rb +45 -0
  154. data/spec/redditkit/client/account_spec.rb +50 -0
  155. data/spec/redditkit/client/apps_spec.rb +58 -0
  156. data/spec/redditkit/client/captcha_spec.rb +30 -0
  157. data/spec/redditkit/client/comments_spec.rb +40 -0
  158. data/spec/redditkit/client/flair_spec.rb +92 -0
  159. data/spec/redditkit/client/links_spec.rb +103 -0
  160. data/spec/redditkit/client/miscellaneous_spec.rb +40 -0
  161. data/spec/redditkit/client/moderation_spec.rb +141 -0
  162. data/spec/redditkit/client/multireddits_spec.rb +158 -0
  163. data/spec/redditkit/client/private_messages_spec.rb +51 -0
  164. data/spec/redditkit/client/search_spec.rb +25 -0
  165. data/spec/redditkit/client/subreddits_spec.rb +83 -0
  166. data/spec/redditkit/client/users_spec.rb +92 -0
  167. data/spec/redditkit/client/voting_spec.rb +99 -0
  168. data/spec/redditkit/client/wiki_spec.rb +40 -0
  169. data/spec/redditkit/client_spec.rb +46 -0
  170. data/spec/redditkit/comment_spec.rb +26 -0
  171. data/spec/redditkit/creatable_spec.rb +24 -0
  172. data/spec/redditkit/error_spec.rb +61 -0
  173. data/spec/redditkit/link_spec.rb +33 -0
  174. data/spec/redditkit/multireddit_spec.rb +27 -0
  175. data/spec/redditkit/paginated_response_spec.rb +23 -0
  176. data/spec/redditkit/thing_spec.rb +18 -0
  177. data/spec/redditkit/votable_spec.rb +52 -0
  178. data/spec/redditkit_spec.rb +21 -0
  179. data/spec/spec_helper.rb +124 -0
  180. metadata +390 -0
@@ -0,0 +1,46 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://www.reddit.com/api/unfriend
6
+ body:
7
+ encoding: US-ASCII
8
+ string: container=t2_c3szt&name=somefakeusername&type=enemy
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v0.8.8
12
+ Cookie:
13
+ - reddit_session=20332937,2013-11-10T11:35:59,2077074c26ccd8ec123c996b77eeb7afb6090af9
14
+ X-Modhash:
15
+ - 36zuxndsdf695692a68e32384990478663dadfc30f0a1dd959
16
+ Content-Type:
17
+ - application/x-www-form-urlencoded
18
+ Accept-Encoding:
19
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
20
+ Accept:
21
+ - "*/*"
22
+ response:
23
+ status:
24
+ code: 200
25
+ message: OK
26
+ headers:
27
+ Content-Type:
28
+ - application/json; charset=UTF-8
29
+ Content-Length:
30
+ - '2'
31
+ Cache-Control:
32
+ - no-cache
33
+ Pragma:
34
+ - no-cache
35
+ Server:
36
+ - "'; DROP TABLE servertypes; --"
37
+ Date:
38
+ - Sun, 10 Nov 2013 22:21:05 GMT
39
+ Connection:
40
+ - keep-alive
41
+ body:
42
+ encoding: UTF-8
43
+ string: "{}"
44
+ http_version:
45
+ recorded_at: Sun, 10 Nov 2013 22:21:03 GMT
46
+ recorded_with: VCR 2.6.0
@@ -0,0 +1,878 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://www.reddit.com/r/ruby/search.json?limit&q=ruby&restrict_sr=true
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v0.8.8
12
+ Accept-Encoding:
13
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14
+ Accept:
15
+ - "*/*"
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ Content-Type:
22
+ - application/json; charset=UTF-8
23
+ Server:
24
+ - "'; DROP TABLE servertypes; --"
25
+ Vary:
26
+ - accept-encoding
27
+ Date:
28
+ - Sun, 10 Nov 2013 22:21:32 GMT
29
+ Transfer-Encoding:
30
+ - chunked
31
+ Connection:
32
+ - Transfer-Encoding
33
+ - keep-alive
34
+ body:
35
+ encoding: UTF-8
36
+ string: "{\"kind\": \"Listing\", \"data\": {\"modhash\": \"\", \"children\":
37
+ [{\"kind\": \"t3\", \"data\": {\"domain\": \"self.ruby\", \"banned_by\": null,
38
+ \"media_embed\": {}, \"subreddit\": \"ruby\", \"selftext_html\": \"<!--
39
+ SC_OFF --><div class=\\\"md\\\"><p>Hello <a href=\\\"/r/ruby\\\">/r/ruby</a>
40
+ </p>\\n\\n<p>I am new to Ruby, however I've programmed
41
+ in C, C++, Java, and C# along with VB.NET, HTML, and minimal Python. </p>\\n\\n<p>I've
42
+ heard that Ruby is a bit different and has quite the steep learning curve.
43
+ So I ask you...</p>\\n\\n<p>What is the one thing that you wish
44
+ you knew before starting to learn or really use Ruby?</p>\\n\\n<p>I
45
+ also plan on using RoR if anyone has thoughts on that as well!</p>\\n\\n<p>Any
46
+ comments are appreciated! Thanks Guys!</p>\\n</div><!-- SC_ON
47
+ -->\", \"selftext\": \"Hello /r/ruby \\n\\nI am new to Ruby, however I've
48
+ programmed in C, C++, Java, and C# along with VB.NET, HTML, and minimal Python.
49
+ \\n\\nI've heard that Ruby is a bit different and has quite the steep learning
50
+ curve. So I ask you...\\n\\nWhat is the one thing that you wish you knew before
51
+ starting to learn or really use Ruby?\\n\\nI also plan on using RoR if anyone
52
+ has thoughts on that as well!\\n\\nAny comments are appreciated! Thanks Guys!\",
53
+ \"likes\": null, \"secure_media\": null, \"link_flair_text\": null, \"id\":
54
+ \"1j9wqw\", \"secure_media_embed\": {}, \"clicked\": false, \"stickied\":
55
+ false, \"author\": \"ProductiveThings\", \"media\": null, \"score\": 54, \"approved_by\":
56
+ null, \"over_18\": false, \"hidden\": false, \"thumbnail\": \"\", \"subreddit_id\":
57
+ \"t5_2qh21\", \"edited\": false, \"link_flair_css_class\": null, \"author_flair_css_class\":
58
+ null, \"downs\": 8, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/1j9wqw/what_is_one_thing_you_wish_you_knew_when_starting/\",
59
+ \"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/\",
60
+ \"author_flair_text\": null, \"title\": \"What is one thing you wish you knew
61
+ when starting Ruby?\", \"created_utc\": 1375105091.0, \"ups\": 62, \"num_comments\":
62
+ 73, \"visited\": false, \"num_reports\": null, \"distinguished\": null}},
63
+ {\"kind\": \"t3\", \"data\": {\"domain\": \"self.ruby\", \"banned_by\": null,
64
+ \"media_embed\": {}, \"subreddit\": \"ruby\", \"selftext_html\": \"<!--
65
+ SC_OFF --><div class=\\\"md\\\"><p>...and thanks to everyone
66
+ in <a href=\\\"/r/ruby\\\">/r/ruby</a>, <a href=\\\"/r/rails\\\">/r/rails</a>
67
+ and <a href=\\\"/r/programming\\\">/r/programming</a> who helped
68
+ me gain not only the skills but the confidence to make the switch. I've
69
+ been a lifelong marketer who always felt unfulfilled and spent nights/weekends/free
70
+ time learning Ruby, Rails, MySQL, PostgreSQL, jQuery, and more, finally culminating
71
+ in my first full-time development job. Wish me luck!</p>\\n</div><!--
72
+ SC_ON -->\", \"selftext\": \"...and thanks to everyone in /r/ruby, /r/rails
73
+ and /r/programming who helped me gain not only the skills but the confidence
74
+ to make the switch. I've been a lifelong marketer who always felt unfulfilled
75
+ and spent nights/weekends/free time learning Ruby, Rails, MySQL, PostgreSQL,
76
+ jQuery, and more, finally culminating in my first full-time development job.
77
+ \ Wish me luck!\", \"likes\": null, \"secure_media\": null, \"link_flair_text\":
78
+ null, \"id\": \"1i72ww\", \"secure_media_embed\": {}, \"clicked\": false,
79
+ \"stickied\": false, \"author\": \"caadbury\", \"media\": null, \"score\":
80
+ 86, \"approved_by\": null, \"over_18\": false, \"hidden\": false, \"thumbnail\":
81
+ \"\", \"subreddit_id\": \"t5_2qh21\", \"edited\": false, \"link_flair_css_class\":
82
+ null, \"author_flair_css_class\": null, \"downs\": 21, \"saved\": false, \"is_self\":
83
+ true, \"permalink\": \"/r/ruby/comments/1i72ww/on_monday_i_start_a_new_career_as_a_web_developer/\",
84
+ \"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/\",
85
+ \"author_flair_text\": null, \"title\": \"On Monday, I start a new career
86
+ as a web developer in Ruby on Rails\", \"created_utc\": 1373682561.0, \"ups\":
87
+ 107, \"num_comments\": 49, \"visited\": false, \"num_reports\": null, \"distinguished\":
88
+ null}}, {\"kind\": \"t3\", \"data\": {\"domain\": \"self.ruby\", \"banned_by\":
89
+ null, \"media_embed\": {}, \"subreddit\": \"ruby\", \"selftext_html\": \"<!--
90
+ SC_OFF --><div class=\\\"md\\\"><p>Hello everyone,</p>\\n\\n<p>This
91
+ is a little framework of mine that I've built out of a personal need
92
+ - basically, I wanted to write a desktop app using Ruby and I found it daunting
93
+ to say the least.</p>\\n\\n<p>So, I've built Freightrain
94
+ to take care of all the stuff I really shouldn't care about, like
95
+ loading interface definitions, cross-toolkit compatibility and the likes.</p>\\n\\n<p>Now
96
+ I've been working on it for almost 2 years (on and off of course)
97
+ and, since I've just fixed it so it loads the newest glade specifications,
98
+ I thought that I could ask you guys for an evaluation.</p>\\n\\n<p>There's
99
+ a little readme on the github page and there are some examples in the /examples
100
+ folder.</p>\\n\\n<p><a href=\\\"http://github.com/bolthar/freightrain\\\">Link
101
+ to the github page!</a></p>\\n\\n<p>WHOA! Thanks for the
102
+ attention, I thought this was going to be ignored...</p>\\n\\n<p>How
103
+ many of you would be interested in a step by step tutorial over the major
104
+ features? I will build that if there's enough interest.</p>\\n</div><!--
105
+ SC_ON -->\", \"selftext\": \"Hello everyone,\\n\\nThis is a little framework
106
+ of mine that I've built out of a personal need - basically, I wanted to write
107
+ a desktop app using Ruby and I found it daunting to say the least.\\n\\nSo,
108
+ I've built Freightrain to take care of all the stuff I really shouldn't care
109
+ about, like loading interface definitions, cross-toolkit compatibility and
110
+ the likes.\\n\\nNow I've been working on it for almost 2 years (on and off
111
+ of course) and, since I've just fixed it so it loads the newest glade specifications,
112
+ I thought that I could ask you guys for an evaluation.\\n\\nThere's a little
113
+ readme on the github page and there are some examples in the /examples folder.\\n\\n[Link
114
+ to the github page!](http://github.com/bolthar/freightrain)\\n\\nWHOA! Thanks
115
+ for the attention, I thought this was going to be ignored...\\n\\nHow many
116
+ of you would be interested in a step by step tutorial over the major features?
117
+ I will build that if there's enough interest.\", \"likes\": null, \"secure_media\":
118
+ null, \"link_flair_text\": null, \"id\": \"sk4qq\", \"secure_media_embed\":
119
+ {}, \"clicked\": false, \"stickied\": false, \"author\": \"bolthar\", \"media\":
120
+ null, \"score\": 160, \"approved_by\": null, \"over_18\": false, \"hidden\":
121
+ false, \"thumbnail\": \"\", \"subreddit_id\": \"t5_2qh21\", \"edited\": true,
122
+ \"link_flair_css_class\": null, \"author_flair_css_class\": null, \"downs\":
123
+ 14, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/sk4qq/freightrain_easy_ruby_desktop_development/\",
124
+ \"name\": \"t3_sk4qq\", \"created\": 1334952179.0, \"url\": \"http://www.reddit.com/r/ruby/comments/sk4qq/freightrain_easy_ruby_desktop_development/\",
125
+ \"author_flair_text\": null, \"title\": \"Freightrain - easy Ruby desktop
126
+ development\", \"created_utc\": 1334948579.0, \"ups\": 174, \"num_comments\":
127
+ 32, \"visited\": false, \"num_reports\": null, \"distinguished\": null}},
128
+ {\"kind\": \"t3\", \"data\": {\"domain\": \"self.ruby\", \"banned_by\": null,
129
+ \"media_embed\": {}, \"subreddit\": \"ruby\", \"selftext_html\": \"<!--
130
+ SC_OFF --><div class=\\\"md\\\"><p>I've been trying
131
+ to figure this one out in past few days and I'm quite unable to come
132
+ up with reasonable answer.</p>\\n\\n<ul>\\n<li>We have GitHub,
133
+ most awesomest <em>social network</em> on the internet.</li>\\n<li>We
134
+ have RubyGems, centralized libraries for everything.</li>\\n<li>We
135
+ have JRuby, for those who want to stick in the Java world or do some real
136
+ threading.</li>\\n<li>We have Rails, possibly the best web framework
137
+ available (django people please don't burry me alive)</li>\\n<li>We
138
+ have RSpec and Cucumber, which make me cry when I have to work with JUnit.</li>\\n<li>We
139
+ have great cloud hosting solutions like Heroku and Engine Yard.</li>\\n<li>We
140
+ have huge number of screencasts and tutorials, especially those high quality
141
+ ones (Peepcode, Think Vitamin, Railscasts).</li>\\n<li>Last but
142
+ not least, we have Ruby, language which is fun to work with, expressive ...
143
+ well you know.</li>\\n</ul>\\n\\n<p>The list could go on
144
+ and on, so I guess you get my point. </p>\\n\\n<p>My question
145
+ is: <strong>What is missing? What do we need, but don't (yet)
146
+ have?</strong></p>\\n</div><!-- SC_ON -->\", \"selftext\":
147
+ \"I've been trying to figure this one out in past few days and I'm quite unable
148
+ to come up with reasonable answer.\\n\\n* We have GitHub, most awesomest *social
149
+ network* on the internet.\\n* We have RubyGems, centralized libraries for
150
+ everything.\\n* We have JRuby, for those who want to stick in the Java world
151
+ or do some real threading.\\n* We have Rails, possibly the best web framework
152
+ available (django people please don't burry me alive)\\n* We have RSpec and
153
+ Cucumber, which make me cry when I have to work with JUnit.\\n* We have great
154
+ cloud hosting solutions like Heroku and Engine Yard.\\n* We have huge number
155
+ of screencasts and tutorials, especially those high quality ones (Peepcode,
156
+ Think Vitamin, Railscasts).\\n* Last but not least, we have Ruby, language
157
+ which is fun to work with, expressive ... well you know.\\n\\nThe list could
158
+ go on and on, so I guess you get my point. \\n\\nMy question is: **What is
159
+ missing? What do we need, but don't (yet) have?**\", \"likes\": null, \"secure_media\":
160
+ null, \"link_flair_text\": null, \"id\": \"elygz\", \"secure_media_embed\":
161
+ {}, \"clicked\": false, \"stickied\": false, \"author\": \"progfu\", \"media\":
162
+ null, \"score\": 42, \"approved_by\": null, \"over_18\": false, \"hidden\":
163
+ false, \"thumbnail\": \"\", \"subreddit_id\": \"t5_2qh21\", \"edited\": false,
164
+ \"link_flair_css_class\": null, \"author_flair_css_class\": null, \"downs\":
165
+ 9, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/elygz/what_is_the_biggest_current_problem_in_ruby/\",
166
+ \"name\": \"t3_elygz\", \"created\": 1292377299.0, \"url\": \"http://www.reddit.com/r/ruby/comments/elygz/what_is_the_biggest_current_problem_in_ruby/\",
167
+ \"author_flair_text\": null, \"title\": \"What is the biggest current problem
168
+ in Ruby community?\", \"created_utc\": 1292377299.0, \"ups\": 51, \"num_comments\":
169
+ 134, \"visited\": false, \"num_reports\": null, \"distinguished\": null}},
170
+ {\"kind\": \"t3\", \"data\": {\"domain\": \"self.ruby\", \"banned_by\": null,
171
+ \"media_embed\": {}, \"subreddit\": \"ruby\", \"selftext_html\": \"<!--
172
+ SC_OFF --><div class=\\\"md\\\"><p>Whats the best way to set
173
+ up Ruby on Rails on OSx -- Newbie, and trying to figure out how to use Ruby
174
+ on rails on my macbook </p>\\n</div><!-- SC_ON -->\", \"selftext\":
175
+ \"Whats the best way to set up Ruby on Rails on OSx -- Newbie, and trying
176
+ to figure out how to use Ruby on rails on my macbook \", \"likes\": null,
177
+ \"secure_media\": null, \"link_flair_text\": null, \"id\": \"zm1uu\", \"secure_media_embed\":
178
+ {}, \"clicked\": false, \"stickied\": false, \"author\": \"sirisaac87\", \"media\":
179
+ null, \"score\": 28, \"approved_by\": null, \"over_18\": false, \"hidden\":
180
+ false, \"thumbnail\": \"\", \"subreddit_id\": \"t5_2qh21\", \"edited\": false,
181
+ \"link_flair_css_class\": null, \"author_flair_css_class\": null, \"downs\":
182
+ 6, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/zm1uu/setup_ruby_on_rails_on_osx/\",
183
+ \"name\": \"t3_zm1uu\", \"created\": 1347219823.0, \"url\": \"http://www.reddit.com/r/ruby/comments/zm1uu/setup_ruby_on_rails_on_osx/\",
184
+ \"author_flair_text\": null, \"title\": \"Setup Ruby on Rails on OSX -- \",
185
+ \"created_utc\": 1347216223.0, \"ups\": 34, \"num_comments\": 54, \"visited\":
186
+ false, \"num_reports\": null, \"distinguished\": null}}, {\"kind\": \"t3\",
187
+ \"data\": {\"domain\": \"self.ruby\", \"banned_by\": null, \"media_embed\":
188
+ {}, \"subreddit\": \"ruby\", \"selftext_html\": \"<!-- SC_OFF --><div
189
+ class=\\\"md\\\"><p>So jamesgolick was kind enough to make me moderator
190
+ of the community. I want to make a promise to you guys that I'll do
191
+ my best to keep it clean.</p>\\n\\n<p>If you have any requests
192
+ please let me know (like a valid link for the side navigation).</p>\\n\\n<p>How
193
+ do you want to see r/ruby improved? - A contest, guides, removing spam, etc.
194
+ Let me know!</p>\\n</div><!-- SC_ON -->\", \"selftext\":
195
+ \"So jamesgolick was kind enough to make me moderator of the community. I
196
+ want to make a promise to you guys that I'll do my best to keep it clean.\\n\\nIf
197
+ you have any requests please let me know (like a valid link for the side navigation).\\n\\nHow
198
+ do you want to see r/ruby improved? - A contest, guides, removing spam, etc.
199
+ Let me know!\", \"likes\": null, \"secure_media\": null, \"link_flair_text\":
200
+ null, \"id\": \"g1pia\", \"secure_media_embed\": {}, \"clicked\": false, \"stickied\":
201
+ false, \"author\": \"ViralInfection\", \"media\": null, \"score\": 36, \"approved_by\":
202
+ null, \"over_18\": false, \"hidden\": false, \"thumbnail\": \"\", \"subreddit_id\":
203
+ \"t5_2qh21\", \"edited\": false, \"link_flair_css_class\": null, \"author_flair_css_class\":
204
+ null, \"downs\": 8, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/g1pia/hello_rruby_im_your_new_moderator_how_would_you/\",
205
+ \"name\": \"t3_g1pia\", \"created\": 1299819313.0, \"url\": \"http://www.reddit.com/r/ruby/comments/g1pia/hello_rruby_im_your_new_moderator_how_would_you/\",
206
+ \"author_flair_text\": null, \"title\": \"Hello r/ruby. I'm your new moderator,
207
+ how would you improve r/ruby?\", \"created_utc\": 1299819313.0, \"ups\": 44,
208
+ \"num_comments\": 53, \"visited\": false, \"num_reports\": null, \"distinguished\":
209
+ null}}, {\"kind\": \"t3\", \"data\": {\"domain\": \"self.ruby\", \"banned_by\":
210
+ null, \"media_embed\": {}, \"subreddit\": \"ruby\", \"selftext_html\": \"<!--
211
+ SC_OFF --><div class=\\\"md\\\"><p>start with straight ruby
212
+ or go to rails?\\nI started with HTML/CSS/PHP/javascript with no frameworks
213
+ and am wondering if i would be better to start with straight ruby as well.
214
+ </p>\\n\\n<p>Thanks all.!!</p>\\n</div><!-- SC_ON
215
+ -->\", \"selftext\": \"start with straight ruby or go to rails?\\nI started
216
+ with HTML/CSS/PHP/javascript with no frameworks and am wondering if i would
217
+ be better to start with straight ruby as well. \\n\\nThanks all.!!\", \"likes\":
218
+ null, \"secure_media\": null, \"link_flair_text\": null, \"id\": \"widgp\",
219
+ \"secure_media_embed\": {}, \"clicked\": false, \"stickied\": false, \"author\":
220
+ \"swiftpants\", \"media\": null, \"score\": 22, \"approved_by\": null, \"over_18\":
221
+ false, \"hidden\": false, \"thumbnail\": \"\", \"subreddit_id\": \"t5_2qh21\",
222
+ \"edited\": false, \"link_flair_css_class\": null, \"author_flair_css_class\":
223
+ null, \"downs\": 3, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/widgp/newb_to_ruby_should_i/\",
224
+ \"name\": \"t3_widgp\", \"created\": 1342206260.0, \"url\": \"http://www.reddit.com/r/ruby/comments/widgp/newb_to_ruby_should_i/\",
225
+ \"author_flair_text\": null, \"title\": \"newb to ruby.. should I\", \"created_utc\":
226
+ 1342202660.0, \"ups\": 25, \"num_comments\": 50, \"visited\": false, \"num_reports\":
227
+ null, \"distinguished\": null}}, {\"kind\": \"t3\", \"data\": {\"domain\":
228
+ \"self.ruby\", \"banned_by\": null, \"media_embed\": {}, \"subreddit\": \"ruby\",
229
+ \"selftext_html\": \"<!-- SC_OFF --><div class=\\\"md\\\"><p>They
230
+ only kept one guy on the API team and he's been there from the beginning.
231
+ I've done a few rails projects but not enough to consider myself a
232
+ rails developer guru. Any jobs for guys with just ruby experience?</p>\\n</div><!--
233
+ SC_ON -->\", \"selftext\": \"They only kept one guy on the API team and
234
+ he's been there from the beginning. I've done a few rails projects but not
235
+ enough to consider myself a rails developer guru. Any jobs for guys with just
236
+ ruby experience?\", \"likes\": null, \"secure_media\": null, \"link_flair_text\":
237
+ null, \"id\": \"1nylih\", \"secure_media_embed\": {}, \"clicked\": false,
238
+ \"stickied\": false, \"author\": \"Solnse\", \"media\": null, \"score\": 32,
239
+ \"approved_by\": null, \"over_18\": false, \"hidden\": false, \"thumbnail\":
240
+ \"\", \"subreddit_id\": \"t5_2qh21\", \"edited\": false, \"link_flair_css_class\":
241
+ null, \"author_flair_css_class\": null, \"downs\": 5, \"saved\": false, \"is_self\":
242
+ true, \"permalink\": \"/r/ruby/comments/1nylih/company_downsized_today_i_got_caught_in_the/\",
243
+ \"name\": \"t3_1nylih\", \"created\": 1381232867.0, \"url\": \"http://www.reddit.com/r/ruby/comments/1nylih/company_downsized_today_i_got_caught_in_the/\",
244
+ \"author_flair_text\": null, \"title\": \"Company downsized today. I got caught
245
+ in the layoff spree. Where is the best place for a ruby dev to search for
246
+ a stable job?\", \"created_utc\": 1381204067.0, \"ups\": 37, \"num_comments\":
247
+ 55, \"visited\": false, \"num_reports\": null, \"distinguished\": null}},
248
+ {\"kind\": \"t3\", \"data\": {\"domain\": \"self.ruby\", \"banned_by\": null,
249
+ \"media_embed\": {}, \"subreddit\": \"ruby\", \"selftext_html\": \"<!--
250
+ SC_OFF --><div class=\\\"md\\\"><p>I'm working my way
251
+ through Zed's <em>Learn Ruby the Hard Way</em> and just
252
+ completed my first week-long, make-your-own-game section.</p>\\n\\n<p>Here
253
+ 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've
254
+ used most of what I know about ruby to make this game: functions, global variables,
255
+ arrays, if/else, .include?, booleans, and a couple other random things. I
256
+ have a feeling that there are major flaws in my code (nested if/else and global
257
+ variables first among them, I'm sure).</p>\\n\\n<p>I'd
258
+ love to hear how an experienced rubyist would improve on my attempt.</p>\\n</div><!--
259
+ SC_ON -->\", \"selftext\": \"I'm working my way through Zed's *Learn Ruby
260
+ the Hard Way* and just completed my first week-long, make-your-own-game section.\\n\\nHere
261
+ it is on github (also my first repo):\\nhttps://github.com/demiankz/escapezeta.git\\n\\nI've
262
+ used most of what I know about ruby to make this game: functions, global variables,
263
+ arrays, if/else, .include?, booleans, and a couple other random things. I
264
+ have a feeling that there are major flaws in my code (nested if/else and global
265
+ variables first among them, I'm sure).\\n\\nI'd love to hear how an experienced
266
+ rubyist would improve on my attempt.\", \"likes\": null, \"secure_media\":
267
+ null, \"link_flair_text\": null, \"id\": \"1eqond\", \"secure_media_embed\":
268
+ {}, \"clicked\": false, \"stickied\": false, \"author\": \"demiankz\", \"media\":
269
+ null, \"score\": 39, \"approved_by\": null, \"over_18\": false, \"hidden\":
270
+ false, \"thumbnail\": \"\", \"subreddit_id\": \"t5_2qh21\", \"edited\": false,
271
+ \"link_flair_css_class\": null, \"author_flair_css_class\": null, \"downs\":
272
+ 2, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/1eqond/my_first_ruby_game_what_did_i_do_rightwrong/\",
273
+ \"name\": \"t3_1eqond\", \"created\": 1369109135.0, \"url\": \"http://www.reddit.com/r/ruby/comments/1eqond/my_first_ruby_game_what_did_i_do_rightwrong/\",
274
+ \"author_flair_text\": null, \"title\": \"My first Ruby game. What did I do
275
+ right/wrong?\", \"created_utc\": 1369105535.0, \"ups\": 41, \"num_comments\":
276
+ 55, \"visited\": false, \"num_reports\": null, \"distinguished\": null}},
277
+ {\"kind\": \"t3\", \"data\": {\"domain\": \"self.ruby\", \"banned_by\": null,
278
+ \"media_embed\": {}, \"subreddit\": \"ruby\", \"selftext_html\": \"<!--
279
+ SC_OFF --><div class=\\\"md\\\"><p>This is a translation of
280
+ <a href=\\\"http://www.nikkan.co.jp/news/nkx0220110919aaac.html\\\">an
281
+ article by \\u65e5\\u520a\\u5de5\\u696d\\u65b0\\u805e (nikkan)</a> which
282
+ is a publication dedicated to industry news in Japan.</p>\\n\\n<p>The
283
+ Japan based Ruby language is set to become an international standard in 2012
284
+ through the International Organization for Standardization (ISO). Ruby was
285
+ already standardized through Japanese Industrial Standards (JIS), and the
286
+ focus will now be directed towards its recognition in the global community
287
+ by becoming an official ISO standard. This would be the first time a programming
288
+ language of Japanese origin would become an ISO standard. The nation of Japan
289
+ hopes that this will increase its recognition in the primarily western dominated
290
+ software field.</p>\\n\\n<p>Ruby was developed by fellow Yukihiro
291
+ Matsumoto at the National Applied Communication Laboratory (Matsue city).
292
+ Features such as the ability to architect high level applications with ease
293
+ has gained Ruby fast popularity around web development both inside and outside
294
+ the country.</p>\\n\\n<p>The ISO standardization of Ruby is being
295
+ pushed by the Information-technology Promotion Agency (IPA). Domestically
296
+ Ruby became a JIS standard (JIS X3017) in March from a proposal by the Ruby
297
+ Standardization Study Working Group.</p>\\n</div><!-- SC_ON
298
+ -->\", \"selftext\": \"This is a translation of [an article by \\u65e5\\u520a\\u5de5\\u696d\\u65b0\\u805e
299
+ (nikkan)](http://www.nikkan.co.jp/news/nkx0220110919aaac.html) which is a
300
+ publication dedicated to industry news in Japan.\\n\\n The Japan based Ruby
301
+ language is set to become an international standard in 2012 through the International
302
+ Organization for Standardization (ISO). Ruby was already standardized through
303
+ Japanese Industrial Standards (JIS), and the focus will now be directed towards
304
+ its recognition in the global community by becoming an official ISO standard.
305
+ This would be the first time a programming language of Japanese origin would
306
+ become an ISO standard. The nation of Japan hopes that this will increase
307
+ its recognition in the primarily western dominated software field.\\n\\n Ruby
308
+ was developed by fellow Yukihiro Matsumoto at the National Applied Communication
309
+ Laboratory (Matsue city). Features such as the ability to architect high level
310
+ applications with ease has gained Ruby fast popularity around web development
311
+ both inside and outside the country.\\n\\n The ISO standardization of Ruby
312
+ is being pushed by the Information-technology Promotion Agency (IPA). Domestically
313
+ Ruby became a JIS standard (JIS X3017) in March from a proposal by the Ruby
314
+ Standardization Study Working Group.\", \"likes\": null, \"secure_media\":
315
+ null, \"link_flair_text\": null, \"id\": \"kk5ln\", \"secure_media_embed\":
316
+ {}, \"clicked\": false, \"stickied\": false, \"author\": \"cwgem\", \"media\":
317
+ null, \"score\": 62, \"approved_by\": null, \"over_18\": false, \"hidden\":
318
+ false, \"thumbnail\": \"\", \"subreddit_id\": \"t5_2qh21\", \"edited\": false,
319
+ \"link_flair_css_class\": null, \"author_flair_css_class\": null, \"downs\":
320
+ 4, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/kk5ln/ruby_to_be_the_first_japanese_made_programming/\",
321
+ \"name\": \"t3_kk5ln\", \"created\": 1316409512.0, \"url\": \"http://www.reddit.com/r/ruby/comments/kk5ln/ruby_to_be_the_first_japanese_made_programming/\",
322
+ \"author_flair_text\": null, \"title\": \"Ruby to be the first Japanese made
323
+ programming language to become an international standard sometime next year\",
324
+ \"created_utc\": 1316405912.0, \"ups\": 66, \"num_comments\": 10, \"visited\":
325
+ false, \"num_reports\": null, \"distinguished\": null}}, {\"kind\": \"t3\",
326
+ \"data\": {\"domain\": \"self.ruby\", \"banned_by\": null, \"media_embed\":
327
+ {}, \"subreddit\": \"ruby\", \"selftext_html\": \"<!-- SC_OFF --><div
328
+ class=\\\"md\\\"><p>I was going through github, and I came across
329
+ a simple tictactoe program. It surprised me how clever the programmer was
330
+ with blocks and yields and such. I wrote a tictactoe program myself months
331
+ ago when I was learning Ruby, and when I compare the two, my code is very
332
+ clunky and not at all as elegant as this programmer. </p>\\n\\n<p>And
333
+ now I realize that the best way to improve my skills is to read the code of
334
+ programmers who are much more advanced than I am. </p>\\n\\n<p>So
335
+ I ask, what are some of the best ruby code that you have ever seen?</p>\\n</div><!--
336
+ SC_ON -->\", \"selftext\": \"I was going through github, and I came across
337
+ a simple tictactoe program. It surprised me how clever the programmer was
338
+ with blocks and yields and such. I wrote a tictactoe program myself months
339
+ ago when I was learning Ruby, and when I compare the two, my code is very
340
+ clunky and not at all as elegant as this programmer. \\n \\nAnd now I
341
+ realize that the best way to improve my skills is to read the code of programmers
342
+ who are much more advanced than I am. \\n \\nSo I ask, what are some of
343
+ the best ruby code that you have ever seen?\", \"likes\": null, \"secure_media\":
344
+ null, \"link_flair_text\": null, \"id\": \"1mwg7o\", \"secure_media_embed\":
345
+ {}, \"clicked\": false, \"stickied\": false, \"author\": \"hopengrind\", \"media\":
346
+ null, \"score\": 55, \"approved_by\": null, \"over_18\": false, \"hidden\":
347
+ false, \"thumbnail\": \"\", \"subreddit_id\": \"t5_2qh21\", \"edited\": false,
348
+ \"link_flair_css_class\": null, \"author_flair_css_class\": null, \"downs\":
349
+ 10, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/1mwg7o/what_are_some_of_the_best_ruby_programs_youve/\",
350
+ \"name\": \"t3_1mwg7o\", \"created\": 1379872130.0, \"url\": \"http://www.reddit.com/r/ruby/comments/1mwg7o/what_are_some_of_the_best_ruby_programs_youve/\",
351
+ \"author_flair_text\": null, \"title\": \"What are some of the best ruby programs
352
+ you've ever seen?\", \"created_utc\": 1379868530.0, \"ups\": 65, \"num_comments\":
353
+ 25, \"visited\": false, \"num_reports\": null, \"distinguished\": null}},
354
+ {\"kind\": \"t3\", \"data\": {\"domain\": \"self.ruby\", \"banned_by\": null,
355
+ \"media_embed\": {}, \"subreddit\": \"ruby\", \"selftext_html\": \"<!--
356
+ SC_OFF --><div class=\\\"md\\\"><p>The languages are often
357
+ compared so I am hoping my knowledge of python will make learning ruby faster.
358
+ Maybe the best method is just to read a ruby book and learn from scratch,
359
+ I am not sure yet how similar they are. However if anyone has made the switch
360
+ and knows what a good starting point would be or if there are resrouces geared
361
+ toward switching I would apperciate the advice. Thanks.</p>\\n\\n<p>Edit:
362
+ I will be using ruby as a scripting language. Mosly maintaing and updating
363
+ existing scripts that put together XML files used for input for other applications
364
+ and things like file management and such. So if there are resrouces geared
365
+ towards scripting rather than building ruby applications that would be helpful.</p>\\n</div><!--
366
+ SC_ON -->\", \"selftext\": \"The languages are often compared so I am hoping
367
+ my knowledge of python will make learning ruby faster. Maybe the best method
368
+ is just to read a ruby book and learn from scratch, I am not sure yet how
369
+ similar they are. However if anyone has made the switch and knows what a good
370
+ starting point would be or if there are resrouces geared toward switching
371
+ I would apperciate the advice. Thanks.\\n\\nEdit: I will be using ruby as
372
+ a scripting language. Mosly maintaing and updating existing scripts that put
373
+ together XML files used for input for other applications and things like
374
+ file management and such. So if there are resrouces geared towards scripting
375
+ rather than building ruby applications that would be helpful.\", \"likes\":
376
+ null, \"secure_media\": null, \"link_flair_text\": null, \"id\": \"pgnbp\",
377
+ \"secure_media_embed\": {}, \"clicked\": false, \"stickied\": false, \"author\":
378
+ \"f4hy\", \"media\": null, \"score\": 18, \"approved_by\": null, \"over_18\":
379
+ false, \"hidden\": false, \"thumbnail\": \"\", \"subreddit_id\": \"t5_2qh21\",
380
+ \"edited\": true, \"link_flair_css_class\": null, \"author_flair_css_class\":
381
+ null, \"downs\": 5, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/pgnbp/i_am_a_python_programmer_who_needs_to_learn_ruby/\",
382
+ \"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/\",
383
+ \"author_flair_text\": null, \"title\": \"I am a python programmer who needs
384
+ to learn ruby. Any good resources or advice?\", \"created_utc\": 1328729735.0,
385
+ \"ups\": 23, \"num_comments\": 55, \"visited\": false, \"num_reports\": null,
386
+ \"distinguished\": null}}, {\"kind\": \"t3\", \"data\": {\"domain\": \"self.ruby\",
387
+ \"banned_by\": null, \"media_embed\": {}, \"subreddit\": \"ruby\", \"selftext_html\":
388
+ \"<!-- SC_OFF --><div class=\\\"md\\\"><p>Even I have just
389
+ only few experiences of Ruby, I just become aware of there <em>is</em>
390
+ <code>for</code> in Ruby (I saw that when I learned Ruby first).
391
+ \ Most of Ruby codes seem to use just <code>Enumerable#each</code>
392
+ method instead of <code>for</code> statement, but why? Is there
393
+ any reason to prefer <code>Enumerable#each</code> method over
394
+ <code>for</code> statement?</p>\\n</div><!-- SC_ON
395
+ -->\", \"selftext\": \"Even I have just only few experiences of Ruby, I
396
+ just become aware of there *is* `for` in Ruby (I saw that when I learned Ruby
397
+ first). Most of Ruby codes seem to use just `Enumerable#each` method instead
398
+ of `for` statement, but why? Is there any reason to prefer `Enumerable#each`
399
+ method over `for` statement?\", \"likes\": null, \"secure_media\": null, \"link_flair_text\":
400
+ null, \"id\": \"p1l8k\", \"secure_media_embed\": {}, \"clicked\": false, \"stickied\":
401
+ false, \"author\": \"hongminhee\", \"media\": null, \"score\": 26, \"approved_by\":
402
+ null, \"over_18\": false, \"hidden\": false, \"thumbnail\": \"\", \"subreddit_id\":
403
+ \"t5_2qh21\", \"edited\": false, \"link_flair_css_class\": null, \"author_flair_css_class\":
404
+ null, \"downs\": 5, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/p1l8k/why_is_there_forstatement_in_ruby/\",
405
+ \"name\": \"t3_p1l8k\", \"created\": 1327833555.0, \"url\": \"http://www.reddit.com/r/ruby/comments/p1l8k/why_is_there_forstatement_in_ruby/\",
406
+ \"author_flair_text\": null, \"title\": \"Why is there for-statement in Ruby?\",
407
+ \"created_utc\": 1327833555.0, \"ups\": 31, \"num_comments\": 35, \"visited\":
408
+ false, \"num_reports\": null, \"distinguished\": null}}, {\"kind\": \"t3\",
409
+ \"data\": {\"domain\": \"self.ruby\", \"banned_by\": null, \"media_embed\":
410
+ {}, \"subreddit\": \"ruby\", \"selftext_html\": \"<!-- SC_OFF --><div
411
+ class=\\\"md\\\"><p>I'm learning ruby now and looking forward
412
+ to finding a job doing front end and app development. Thanks!</p>\\n</div><!--
413
+ SC_ON -->\", \"selftext\": \"I'm learning ruby now and looking forward
414
+ to finding a job doing front end and app development. Thanks!\", \"likes\":
415
+ null, \"secure_media\": null, \"link_flair_text\": null, \"id\": \"1kylfv\",
416
+ \"secure_media_embed\": {}, \"clicked\": false, \"stickied\": false, \"author\":
417
+ \"codemonkei\", \"media\": null, \"score\": 27, \"approved_by\": null, \"over_18\":
418
+ false, \"hidden\": false, \"thumbnail\": \"\", \"subreddit_id\": \"t5_2qh21\",
419
+ \"edited\": 1377394522.0, \"link_flair_css_class\": null, \"author_flair_css_class\":
420
+ null, \"downs\": 8, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/1kylfv/what_are_some_good_projects_to_do_with_ruby_to/\",
421
+ \"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/\",
422
+ \"author_flair_text\": null, \"title\": \"What are some good projects to do
423
+ with Ruby to impress employers?\", \"created_utc\": 1377285903.0, \"ups\":
424
+ 35, \"num_comments\": 42, \"visited\": false, \"num_reports\": null, \"distinguished\":
425
+ null}}, {\"kind\": \"t3\", \"data\": {\"domain\": \"self.ruby\", \"banned_by\":
426
+ null, \"media_embed\": {}, \"subreddit\": \"ruby\", \"selftext_html\": \"<!--
427
+ SC_OFF --><div class=\\\"md\\\"><p>I can't d/l XCode
428
+ due to my version of OSX. RVM install commands don't seem to make
429
+ sense within my terminal. Do I need git? </p>\\n\\n<p>I would
430
+ like to learn Ruby (then Rails) but so far I'm just frustrated. </p>\\n\\n<p>Thank
431
+ you for any help you guys can offer.</p>\\n</div><!-- SC_ON
432
+ -->\", \"selftext\": \"I can't d/l XCode due to my version of OSX. RVM
433
+ install commands don't seem to make sense within my terminal. Do I need git?
434
+ \\n\\nI would like to learn Ruby (then Rails) but so far I'm just frustrated.
435
+ \\n\\nThank you for any help you guys can offer.\", \"likes\": null, \"secure_media\":
436
+ null, \"link_flair_text\": null, \"id\": \"rpwze\", \"secure_media_embed\":
437
+ {}, \"clicked\": false, \"stickied\": false, \"author\": \"BeauBeauBeau\",
438
+ \"media\": null, \"score\": 20, \"approved_by\": null, \"over_18\": false,
439
+ \"hidden\": false, \"thumbnail\": \"\", \"subreddit_id\": \"t5_2qh21\", \"edited\":
440
+ false, \"link_flair_css_class\": null, \"author_flair_css_class\": null, \"downs\":
441
+ 3, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/rpwze/installing_ruby_wo_xcode_on_a_mac_or_why_is/\",
442
+ \"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/\",
443
+ \"author_flair_text\": null, \"title\": \"Installing Ruby w/o XCode on a Mac:
444
+ or why is installing Ruby such a pain in the ass? [NOOB] \", \"created_utc\":
445
+ 1333394080.0, \"ups\": 23, \"num_comments\": 53, \"visited\": false, \"num_reports\":
446
+ null, \"distinguished\": null}}, {\"kind\": \"t3\", \"data\": {\"domain\":
447
+ \"self.ruby\", \"banned_by\": null, \"media_embed\": {}, \"subreddit\": \"ruby\",
448
+ \"selftext_html\": \"<!-- SC_OFF --><div class=\\\"md\\\"><p>I
449
+ fundamentally do not understand the perspective many Rubyists have. I am not
450
+ saying it anything is bad, I am saying <em>I do not understand</em>.
451
+ I just have a different perspective. I don't understand why pragmatic
452
+ people who don't seem to be early adopters are leaving a good tool
453
+ for tools that should only appeal to early adopters.</p>\\n\\n<p>Please,
454
+ let me explain my perspective. I have been working primarily with C++ the
455
+ past 15, during that time I have dabbled with Java, PHP, Lua, Perl, Pascal,
456
+ HTML/CSS, a couple kinds of assembly, C#/VB, others I wish I could forget
457
+ and of course plain old C. I keep going back to C++ because I have a strong
458
+ proficiency with it. I have the feeling I can make it do anything. I have
459
+ made it solve some interesting problems. There are other reasons too, but
460
+ this seems like enough to convey where I am coming from. I invested real time
461
+ and effort gaining that proficiency, so I will use C++ when practical an invest
462
+ more time learning something else when C++ is not practical.</p>\\n\\n<p>I
463
+ see a ton of Rubyists talking about Elixir and Node.js as somekind of wholesale
464
+ replacement for Ruby. I understand that the two newer systems provide interesting
465
+ interactions with threading systems. That does not seem like a reason to dump
466
+ a whole language, a language with multiple independent healthy implementations
467
+ (jRuby, Rubunius, Maglev, etc...), particularly when some of them have fixed
468
+ threading performance. </p>\\n\\n<p>Or maybe I am missing the
469
+ point, maybe this is just about jumping to some popular new toy now that us
470
+ old fogeys are onto Ruby? Of course not, all the people I read about in blogs
471
+ and watch in talks at the countless Ruby conferences seem like pragmatic people
472
+ interested in getting stuff done. Ruby seems like an excellent tool for getting
473
+ stuff done. It is extremely easy to express complex ideas quickly. It has
474
+ an excellent system for handling libraries. It has access to awesome performance
475
+ via its C-API. If C is not your thing, It is mature enough that it is getting
476
+ performance optimizations with every new release (of MRI/Yarv at least). These
477
+ people invested significant time and effort learning Ruby, will their pragmatism
478
+ just let them throw that away?</p>\\n\\n<p>Perhaps my perspective
479
+ is wrong and no-one is leaving Ruby? But it seems every other conference talk
480
+ someone mentions Elixir while spitting Ruby's name.</p>\\n\\n<p>Perhaps,
481
+ There is something to Elixir/Node I have completely missed? I read their docs
482
+ and perused their libraries. They are missing features (and sometimes stability)
483
+ like tools only a few years old would.</p>\\n\\n<p>Why leave Ruby?</p>\\n</div><!--
484
+ SC_ON -->\", \"selftext\": \"I fundamentally do not understand the perspective
485
+ many Rubyists have. I am not saying it anything is bad, I am saying *I do
486
+ not understand*. I just have a different perspective. I don't understand why
487
+ pragmatic people who don't seem to be early adopters are leaving a good tool
488
+ for tools that should only appeal to early adopters.\\n\\nPlease, let me explain
489
+ my perspective. I have been working primarily with C++ the past 15, during
490
+ that time I have dabbled with Java, PHP, Lua, Perl, Pascal, HTML/CSS, a couple
491
+ kinds of assembly, C#/VB, others I wish I could forget and of course plain
492
+ old C. I keep going back to C++ because I have a strong proficiency with it.
493
+ I have the feeling I can make it do anything. I have made it solve some interesting
494
+ problems. There are other reasons too, but this seems like enough to convey
495
+ where I am coming from. I invested real time and effort gaining that proficiency,
496
+ so I will use C++ when practical an invest more time learning something else
497
+ when C++ is not practical.\\n\\nI see a ton of Rubyists talking about Elixir
498
+ and Node.js as somekind of wholesale replacement for Ruby. I understand that
499
+ the two newer systems provide interesting interactions with threading systems.
500
+ That does not seem like a reason to dump a whole language, a language with
501
+ multiple independent healthy implementations (jRuby, Rubunius, Maglev, etc...),
502
+ particularly when some of them have fixed threading performance. \\n\\nOr
503
+ maybe I am missing the point, maybe this is just about jumping to some popular
504
+ new toy now that us old fogeys are onto Ruby? Of course not, all the people
505
+ I read about in blogs and watch in talks at the countless Ruby conferences
506
+ seem like pragmatic people interested in getting stuff done. Ruby seems like
507
+ an excellent tool for getting stuff done. It is extremely easy to express
508
+ complex ideas quickly. It has an excellent system for handling libraries.
509
+ It has access to awesome performance via its C-API. If C is not your thing,
510
+ It is mature enough that it is getting performance optimizations with every
511
+ new release (of MRI/Yarv at least). These people invested significant time
512
+ and effort learning Ruby, will their pragmatism just let them throw that away?\\n\\nPerhaps
513
+ my perspective is wrong and no-one is leaving Ruby? But it seems every other
514
+ conference talk someone mentions Elixir while spitting Ruby's name.\\n\\nPerhaps,
515
+ There is something to Elixir/Node I have completely missed? I read their docs
516
+ and perused their libraries. They are missing features (and sometimes stability)
517
+ like tools only a few years old would.\\n\\nWhy leave Ruby?\", \"likes\":
518
+ null, \"secure_media\": null, \"link_flair_text\": null, \"id\": \"1o6srn\",
519
+ \"secure_media_embed\": {}, \"clicked\": false, \"stickied\": false, \"author\":
520
+ \"Sqeaky\", \"media\": null, \"score\": 36, \"approved_by\": null, \"over_18\":
521
+ false, \"hidden\": false, \"thumbnail\": \"\", \"subreddit_id\": \"t5_2qh21\",
522
+ \"edited\": false, \"link_flair_css_class\": null, \"author_flair_css_class\":
523
+ null, \"downs\": 11, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/1o6srn/why_elixir_why_nodejs_coming_from_c_ruby_seems/\",
524
+ \"name\": \"t3_1o6srn\", \"created\": 1381483029.0, \"url\": \"http://www.reddit.com/r/ruby/comments/1o6srn/why_elixir_why_nodejs_coming_from_c_ruby_seems/\",
525
+ \"author_flair_text\": null, \"title\": \"Why Elixir? Why Node.js? Coming
526
+ from C++, Ruby seems like a fine language.\", \"created_utc\": 1381454229.0,
527
+ \"ups\": 47, \"num_comments\": 46, \"visited\": false, \"num_reports\": null,
528
+ \"distinguished\": null}}, {\"kind\": \"t3\", \"data\": {\"domain\": \"self.ruby\",
529
+ \"banned_by\": null, \"media_embed\": {}, \"subreddit\": \"ruby\", \"selftext_html\":
530
+ \"<!-- SC_OFF --><div class=\\\"md\\\"><p>I'm going
531
+ through the Ruby Koans right now as part of trying to learn Ruby. I just finished
532
+ the about_blocks koan and I really just don't understand how the <code>yield</code>
533
+ keyword works. Example code from the koan:</p>\\n\\n<pre><code>def
534
+ many_yields\\n yield(:peanut)\\n yield(:butter)\\n yield(:and)\\n yield(:jelly)\\nend\\n\\ndef
535
+ test_methods_can_call_yield_many_times\\n result = []\\n many_yields { |item|
536
+ result << item }\\n assert_equal [:peanut, :butter, :and, :jelly],
537
+ result\\nend\\n</code></pre>\\n\\n<p>I can see that <code>result</code>
538
+ is getting all four yielded values from <code>many_yields</code>,
539
+ but I don't really understand what's going on. I especially
540
+ don't understand the cases where yield is called without any values.
541
+ Can somebody explain this keyword to me?</p>\\n</div><!-- SC_ON
542
+ -->\", \"selftext\": \"I'm going through the Ruby Koans right now as part
543
+ of trying to learn Ruby. I just finished the about_blocks koan and I really
544
+ just don't understand how the `yield` keyword works. Example code from the
545
+ koan:\\n\\n def many_yields\\n yield(:peanut)\\n yield(:butter)\\n
546
+ \ yield(:and)\\n yield(:jelly)\\n end\\n\\n def test_methods_can_call_yield_many_times\\n
547
+ \ result = []\\n many_yields { |item| result << item }\\n assert_equal
548
+ [:peanut, :butter, :and, :jelly], result\\n end\\n\\nI can see that `result`
549
+ is getting all four yielded values from `many_yields`, but I don't really
550
+ understand what's going on. I especially don't understand the cases where
551
+ yield is called without any values. Can somebody explain this keyword to me?\",
552
+ \"likes\": null, \"secure_media\": null, \"link_flair_text\": null, \"id\":
553
+ \"kvjrw\", \"secure_media_embed\": {}, \"clicked\": false, \"stickied\": false,
554
+ \"author\": \"glenbolake\", \"media\": null, \"score\": 46, \"approved_by\":
555
+ null, \"over_18\": false, \"hidden\": false, \"thumbnail\": \"\", \"subreddit_id\":
556
+ \"t5_2qh21\", \"edited\": false, \"link_flair_css_class\": null, \"author_flair_css_class\":
557
+ null, \"downs\": 1, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/kvjrw/ruby_newbie_i_dont_understand_yield/\",
558
+ \"name\": \"t3_kvjrw\", \"created\": 1317324898.0, \"url\": \"http://www.reddit.com/r/ruby/comments/kvjrw/ruby_newbie_i_dont_understand_yield/\",
559
+ \"author_flair_text\": null, \"title\": \"Ruby newbie - I don't understand
560
+ yield\", \"created_utc\": 1317321298.0, \"ups\": 47, \"num_comments\": 36,
561
+ \"visited\": false, \"num_reports\": null, \"distinguished\": null}}, {\"kind\":
562
+ \"t3\", \"data\": {\"domain\": \"self.ruby\", \"banned_by\": null, \"media_embed\":
563
+ {}, \"subreddit\": \"ruby\", \"selftext_html\": \"<!-- SC_OFF --><div
564
+ class=\\\"md\\\"><p>I would really like to start a study group for
565
+ 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>
566
+ (if you have better suggestions please let me know) I have just finished the
567
+ CodeCademy course for Ruby so I think I have a decent grasp on the Ruby language.
568
+ It would be nice if we could have a couple people who are experienced with
569
+ Rails help guide us through. I plan on hosting it on my website under the
570
+ Ruby on Rails subforum so we can keep all our stuff uncluttered, my website
571
+ is called milesftp.com(sorry for the odd name my friend had the domain registered
572
+ and so we decided to use it for now). If you guys are interested please let
573
+ me know and we will figure something's out! Thanks. </p>\\n</div><!--
574
+ SC_ON -->\", \"selftext\": \"I would really like to start a study group
575
+ for Ruby on Rails for this book http://ruby.railstutorial.org/ruby-on-rails-tutorial-book
576
+ (if you have better suggestions please let me know) I have just finished the
577
+ CodeCademy course for Ruby so I think I have a decent grasp on the Ruby language.
578
+ It would be nice if we could have a couple people who are experienced with
579
+ Rails help guide us through. I plan on hosting it on my website under the
580
+ Ruby on Rails subforum so we can keep all our stuff uncluttered, my website
581
+ is called milesftp.com(sorry for the odd name my friend had the domain registered
582
+ and so we decided to use it for now). If you guys are interested please let
583
+ me know and we will figure something's out! Thanks. \", \"likes\": null, \"secure_media\":
584
+ null, \"link_flair_text\": null, \"id\": \"1n9e40\", \"secure_media_embed\":
585
+ {}, \"clicked\": false, \"stickied\": false, \"author\": \"valorvision\",
586
+ \"media\": null, \"score\": 20, \"approved_by\": null, \"over_18\": false,
587
+ \"hidden\": false, \"thumbnail\": \"\", \"subreddit_id\": \"t5_2qh21\", \"edited\":
588
+ false, \"link_flair_css_class\": null, \"author_flair_css_class\": null, \"downs\":
589
+ 7, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/1n9e40/creating_a_ruby_on_rails_study_group_please_let/\",
590
+ \"name\": \"t3_1n9e40\", \"created\": 1380331866.0, \"url\": \"http://www.reddit.com/r/ruby/comments/1n9e40/creating_a_ruby_on_rails_study_group_please_let/\",
591
+ \"author_flair_text\": null, \"title\": \"Creating A Ruby on Rails Study Group,
592
+ please let me know if you're interested.\", \"created_utc\": 1380303066.0,
593
+ \"ups\": 27, \"num_comments\": 40, \"visited\": false, \"num_reports\": null,
594
+ \"distinguished\": null}}, {\"kind\": \"t3\", \"data\": {\"domain\": \"self.ruby\",
595
+ \"banned_by\": null, \"media_embed\": {}, \"subreddit\": \"ruby\", \"selftext_html\":
596
+ \"<!-- SC_OFF --><div class=\\\"md\\\"><p>I am currently
597
+ a high school student involved in AP CS. I am extremely well with Java, c++,
598
+ python. The other day I tried this new language called ruby. I instantly fell
599
+ in love with it. So as I do with most languages that I find appealing I try
600
+ to master it. As of now I have taken multiple ruby courses online and read
601
+ 2 or three books about it. So yesterday I was writing my first semi hard application
602
+ in ruby. One of my fellow class mates turns to me and looks at my computer
603
+ screen with horror. I asked him what the problem was. He said, "Ew
604
+ why are you coding in ruby". I replied and told him that I enjoy
605
+ this language very much. Other members in my class looked at me like I was
606
+ committing genocide by writing in ruby, and from that point I was being chewed
607
+ out on why ruby is trash. I don't understand why. I get it has its
608
+ design flaws, but what language doesn't? I was wondering if something
609
+ like this has ever happened? In the sense where people think you're
610
+ dumb for writing in ruby.</p>\\n</div><!-- SC_ON -->\",
611
+ \"selftext\": \"I am currently a high school student involved in AP CS. I
612
+ am extremely well with Java, c++, python. The other day I tried this new language
613
+ called ruby. I instantly fell in love with it. So as I do with most languages
614
+ that I find appealing I try to master it. As of now I have taken multiple
615
+ ruby courses online and read 2 or three books about it. So yesterday I was
616
+ writing my first semi hard application in ruby. One of my fellow class mates
617
+ turns to me and looks at my computer screen with horror. I asked him what
618
+ the problem was. He said, \\\"Ew why are you coding in ruby\\\". I replied
619
+ and told him that I enjoy this language very much. Other members in my class
620
+ looked at me like I was committing genocide by writing in ruby, and from
621
+ that point I was being chewed out on why ruby is trash. I don't understand
622
+ why. I get it has its design flaws, but what language doesn't? I was wondering
623
+ if something like this has ever happened? In the sense where people think
624
+ you're dumb for writing in ruby.\", \"likes\": null, \"secure_media\": null,
625
+ \"link_flair_text\": null, \"id\": \"1oj5ur\", \"secure_media_embed\": {},
626
+ \"clicked\": false, \"stickied\": false, \"author\": \"cgrillo5\", \"media\":
627
+ null, \"score\": 12, \"approved_by\": null, \"over_18\": false, \"hidden\":
628
+ false, \"thumbnail\": \"\", \"subreddit_id\": \"t5_2qh21\", \"edited\": false,
629
+ \"link_flair_css_class\": null, \"author_flair_css_class\": null, \"downs\":
630
+ 18, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/1oj5ur/what_is_wrong_with_ruby/\",
631
+ \"name\": \"t3_1oj5ur\", \"created\": 1381904040.0, \"url\": \"http://www.reddit.com/r/ruby/comments/1oj5ur/what_is_wrong_with_ruby/\",
632
+ \"author_flair_text\": null, \"title\": \"What is wrong with ruby?\", \"created_utc\":
633
+ 1381875240.0, \"ups\": 30, \"num_comments\": 50, \"visited\": false, \"num_reports\":
634
+ null, \"distinguished\": null}}, {\"kind\": \"t3\", \"data\": {\"domain\":
635
+ \"self.ruby\", \"banned_by\": null, \"media_embed\": {}, \"subreddit\": \"ruby\",
636
+ \"selftext_html\": \"<!-- SC_OFF --><div class=\\\"md\\\"><p>Dynamic
637
+ getters and setters in Perl:</p>\\n\\n<pre><code>sub AUTOLOAD
638
+ {\\n my @elements = qw(color age weight height);\\n\\n our $AUTOLOAD;\\n
639
+ \ if ($AUTOLOAD =~ /::(\\\\w+)$/ and grep $1 eq $_, @elements) {\\n my
640
+ $field = ucfirst $1;\\n {\\n no strict 'refs';\\n
641
+ \ *{$AUTOLOAD} = sub { $_[0]->{$field} };\\n }\\n goto &{$AUTOLOAD};\\n
642
+ \ } elsif ($AUTOLOAD =~ /::set_(\\\\w+)$/ and grep $1 eq $_, @elements) {\\n
643
+ \ my $field = ucfirst $1;\\n {\\n no strict 'refs';\\n
644
+ \ *{$AUTOLOAD} = sub { $_[0]->{$field} = $_[1] };\\n }\\n goto
645
+ &{$AUTOLOAD};\\n } else {\\n croak "$_[0] does not understand
646
+ this method\\\\n";\\n }\\n}\\n</code></pre>\\n\\n<p>In
647
+ Ruby:</p>\\n\\n<pre><code>attr_accessor :color, :age, :weight,
648
+ :height\\n</code></pre>\\n\\n<p>Yeah.</p>\\n</div><!--
649
+ SC_ON -->\", \"selftext\": \"Dynamic getters and setters in Perl:\\n\\n
650
+ \ sub AUTOLOAD {\\n my @elements = qw(color age weight height);\\n
651
+ \ \\n our $AUTOLOAD;\\n if ($AUTOLOAD =~ /::(\\\\w+)$/ and grep
652
+ $1 eq $_, @elements) {\\n my $field = ucfirst $1;\\n {\\n no
653
+ strict 'refs';\\n *{$AUTOLOAD} = sub { $_[0]->{$field} };\\n }\\n
654
+ \ goto &{$AUTOLOAD};\\n } elsif ($AUTOLOAD =~ /::set_(\\\\w+)$/
655
+ and grep $1 eq $_, @elements) {\\n my $field = ucfirst $1;\\n {\\n
656
+ \ no strict 'refs';\\n *{$AUTOLOAD} = sub { $_[0]->{$field}
657
+ = $_[1] };\\n }\\n goto &{$AUTOLOAD};\\n } else {\\n
658
+ \ croak \\\"$_[0] does not understand this method\\\\n\\\";\\n }\\n
659
+ \ }\\n\\nIn Ruby:\\n\\n attr_accessor :color, :age, :weight, :height\\n\\nYeah.\",
660
+ \"likes\": null, \"secure_media\": null, \"link_flair_text\": null, \"id\":
661
+ \"e4upb\", \"secure_media_embed\": {}, \"clicked\": false, \"stickied\": false,
662
+ \"author\": \"Perceptes\", \"media\": null, \"score\": 35, \"approved_by\":
663
+ null, \"over_18\": false, \"hidden\": false, \"thumbnail\": \"\", \"subreddit_id\":
664
+ \"t5_2qh21\", \"edited\": true, \"link_flair_css_class\": null, \"author_flair_css_class\":
665
+ null, \"downs\": 10, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/e4upb/learning_perl_is_making_me_appreciate_ruby_even/\",
666
+ \"name\": \"t3_e4upb\", \"created\": 1289518955.0, \"url\": \"http://www.reddit.com/r/ruby/comments/e4upb/learning_perl_is_making_me_appreciate_ruby_even/\",
667
+ \"author_flair_text\": null, \"title\": \"Learning Perl is making me appreciate
668
+ Ruby even more\", \"created_utc\": 1289518955.0, \"ups\": 45, \"num_comments\":
669
+ 44, \"visited\": false, \"num_reports\": null, \"distinguished\": null}},
670
+ {\"kind\": \"t3\", \"data\": {\"domain\": \"self.ruby\", \"banned_by\": null,
671
+ \"media_embed\": {}, \"subreddit\": \"ruby\", \"selftext_html\": \"<!--
672
+ SC_OFF --><div class=\\\"md\\\"><p>Hi there,</p>\\n\\n<p>I
673
+ started learning Ruby a few months ago and I bought myself a Microsoft Kinect
674
+ Cam as an early X-Mas gift. Of course I'm using Linux (yes your OS-X
675
+ is fine too) and don't even own an X-Box 360 ... so I started the
676
+ hacking.</p>\\n\\n<p>After a short time of fiddling with C, I
677
+ remembered how much it tends to get on my nerves and how much I love Ruby,
678
+ so I thought "<strong>Why not write some Kinect stuff with
679
+ Ruby?!</strong>". After a bit of googling I found exactly no
680
+ other projects except</p>\\n\\n<p>---- <a href=\\\"http://openkinect.org/wiki/Ruby_Wrapper#Sample_Code\\\">this
681
+ one</a> ----</p>\\n\\n<p>which was empty and so I decided
682
+ to <strong>post my first code snippet there</strong>.</p>\\n\\n<p>Sadly
683
+ nobody reacted so I have to assume that this project is dead. But what about
684
+ you? <em>Anyone interested in bringing some of the Kinect functionality
685
+ to Ruby?</em></p>\\n\\n<p><strong>What <del>I</del>
686
+ we managed to do:</strong></p>\\n\\n<ul>\\n<li>Control
687
+ the Kinects motor</li>\\n<li>Control the Kinects LED</li>\\n<li>Get
688
+ accelerometer data</li>\\n</ul>\\n\\n<p><strong>What
689
+ is missing (tried but failed):</strong></p>\\n\\n<ul>\\n<li>Get
690
+ an image from the RGB cam</li>\\n<li>Get an image from the depth
691
+ cam</li>\\n<li><del>Get accelerometer data</del></li>\\n</ul>\\n\\n<p><strong>TL;DR:</strong>
692
+ Started to develop a pure Ruby Kinect driver. Who wants to help?</p>\\n\\n<p>PS:
693
+ I'm not interested in libfreenect wrappers, I want to create a pure
694
+ Ruby driver. (only with libusb i.e.)</p>\\n\\n<p><strong>EDIT:
695
+ I've put what I got so far on GitHub: <a href=\\\"https://github.com/pachacamac/rinect\\\">see
696
+ here</a></strong></p>\\n</div><!-- SC_ON -->\",
697
+ \"selftext\": \"Hi there,\\n\\nI started learning Ruby a few months ago and
698
+ I bought myself a Microsoft Kinect Cam as an early X-Mas gift. Of course I'm
699
+ using Linux (yes your OS-X is fine too) and don't even own an X-Box 360 ...
700
+ so I started the hacking.\\n\\nAfter a short time of fiddling with C, I remembered
701
+ how much it tends to get on my nerves and how much I love Ruby, so I thought
702
+ \\\"**Why not write some Kinect stuff with Ruby?!**\\\". After a bit of googling
703
+ I found exactly no other projects except\\n\\n---- [this one](http://openkinect.org/wiki/Ruby_Wrapper#Sample_Code)
704
+ ----\\n\\nwhich was empty and so I decided to **post my first code snippet
705
+ there**.\\n\\nSadly nobody reacted so I have to assume that this project is
706
+ dead. But what about you? *Anyone interested in bringing some of the Kinect
707
+ functionality to Ruby?*\\n\\n\\n**What ~~I~~ we managed to do:**\\n\\n * Control
708
+ the Kinects motor\\n * Control the Kinects LED\\n * Get accelerometer data\\n\\n**What
709
+ is missing (tried but failed):**\\n\\n * Get an image from the RGB cam\\n
710
+ * Get an image from the depth cam\\n * ~~Get accelerometer data~~\\n\\n\\n\\n**TL;DR:**
711
+ Started to develop a pure Ruby Kinect driver. Who wants to help?\\n\\nPS:
712
+ I'm not interested in libfreenect wrappers, I want to create a pure Ruby driver.
713
+ (only with libusb i.e.)\\n\\n\\n**EDIT: I've put what I got so far on GitHub:
714
+ [see here](https://github.com/pachacamac/rinect)**\", \"likes\": null, \"secure_media\":
715
+ null, \"link_flair_text\": null, \"id\": \"euka7\", \"secure_media_embed\":
716
+ {}, \"clicked\": false, \"stickied\": false, \"author\": \"nexe\", \"media\":
717
+ null, \"score\": 29, \"approved_by\": null, \"over_18\": false, \"hidden\":
718
+ false, \"thumbnail\": \"\", \"subreddit_id\": \"t5_2qh21\", \"edited\": true,
719
+ \"link_flair_css_class\": null, \"author_flair_css_class\": null, \"downs\":
720
+ 8, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/euka7/ruby_kinect_project/\",
721
+ \"name\": \"t3_euka7\", \"created\": 1293897993.0, \"url\": \"http://www.reddit.com/r/ruby/comments/euka7/ruby_kinect_project/\",
722
+ \"author_flair_text\": null, \"title\": \"Ruby Kinect Project\", \"created_utc\":
723
+ 1293897993.0, \"ups\": 37, \"num_comments\": 36, \"visited\": false, \"num_reports\":
724
+ null, \"distinguished\": null}}, {\"kind\": \"t3\", \"data\": {\"domain\":
725
+ \"self.ruby\", \"banned_by\": null, \"media_embed\": {}, \"subreddit\": \"ruby\",
726
+ \"selftext_html\": \"<!-- SC_OFF --><div class=\\\"md\\\"><p>Hey
727
+ <a href=\\\"/r/ruby\\\">/r/ruby</a>,</p>\\n\\n<p>Lately
728
+ Ive been getting my hands in a lot of languages to get a feel for them. Trying
729
+ out JS/WinJS, Ruby (+Some Rails), and Python.</p>\\n\\n<p>Ive
730
+ worked with Python for a bit now, however I have never taken the time to learn
731
+ from the ground-up any language ( outside of HTML/CSS(+SASS) ). As such lately
732
+ Ive been doing some rather simple exploration of Ruby vs Python, jumping between
733
+ the two trying to get a feel for it. Both seem great, however I am leaning
734
+ toward Ruby currently, and wanted to see if anyone had some input.</p>\\n\\n<p>A
735
+ few concerns I have with Ruby is that while there is a TON of Ruby intro material
736
+ (Learn Ruby the Hard Way, RubyMonk, and Pragmatic Guide), everything project
737
+ development wise and even gem wise is Rails centric. I understand Rails is
738
+ popular but even a simple Sinatra app, I cant find a Mailer Gem that doesn't
739
+ require Rails. While on the Python end, I fell in love with Hyde but it like
740
+ many other projects I found for Python are completely dead development wise.</p>\\n\\n<p>Any
741
+ links or input on what I should be looking at to make a good decision?</p>\\n\\n<p>Note:
742
+ Apologies if this is asked a lot, or shouldnt be asked here. I tried a search
743
+ and most of the questions were a year old.</p>\\n</div><!--
744
+ SC_ON -->\", \"selftext\": \"Hey /r/ruby,\\n\\nLately Ive been getting
745
+ my hands in a lot of languages to get a feel for them. Trying out JS/WinJS,
746
+ Ruby (+Some Rails), and Python.\\n\\nIve worked with Python for a bit now,
747
+ however I have never taken the time to learn from the ground-up any language
748
+ ( outside of HTML/CSS(+SASS) ). As such lately Ive been doing some rather
749
+ simple exploration of Ruby vs Python, jumping between the two trying to get
750
+ a feel for it. Both seem great, however I am leaning toward Ruby currently,
751
+ and wanted to see if anyone had some input.\\n\\nA few concerns I have with
752
+ Ruby is that while there is a TON of Ruby intro material (Learn Ruby the Hard
753
+ Way, RubyMonk, and Pragmatic Guide), everything project development wise and
754
+ even gem wise is Rails centric. I understand Rails is popular but even a simple
755
+ Sinatra app, I cant find a Mailer Gem that doesn't require Rails. While on
756
+ the Python end, I fell in love with Hyde but it like many other projects I
757
+ found for Python are completely dead development wise.\\n\\nAny links or input
758
+ on what I should be looking at to make a good decision?\\n\\nNote: Apologies
759
+ if this is asked a lot, or shouldnt be asked here. I tried a search and most
760
+ of the questions were a year old.\", \"likes\": null, \"secure_media\": null,
761
+ \"link_flair_text\": null, \"id\": \"zyzf7\", \"secure_media_embed\": {},
762
+ \"clicked\": false, \"stickied\": false, \"author\": \"RevisionZero\", \"media\":
763
+ null, \"score\": 6, \"approved_by\": null, \"over_18\": false, \"hidden\":
764
+ false, \"thumbnail\": \"\", \"subreddit_id\": \"t5_2qh21\", \"edited\": false,
765
+ \"link_flair_css_class\": null, \"author_flair_css_class\": null, \"downs\":
766
+ 3, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/zyzf7/looking_for_some_advice_should_i_focus_on/\",
767
+ \"name\": \"t3_zyzf7\", \"created\": 1347809223.0, \"url\": \"http://www.reddit.com/r/ruby/comments/zyzf7/looking_for_some_advice_should_i_focus_on/\",
768
+ \"author_flair_text\": null, \"title\": \"Looking for some advice: Should
769
+ I focus on learning Python or Ruby? Input much appreciated.\", \"created_utc\":
770
+ 1347805623.0, \"ups\": 9, \"num_comments\": 56, \"visited\": false, \"num_reports\":
771
+ null, \"distinguished\": null}}, {\"kind\": \"t3\", \"data\": {\"domain\":
772
+ \"self.ruby\", \"banned_by\": null, \"media_embed\": {}, \"subreddit\": \"ruby\",
773
+ \"selftext_html\": \"<!-- SC_OFF --><div class=\\\"md\\\"><p>Hey
774
+ everyone, do you guys mind sharing what are good open source projects for
775
+ Ruby beginners? </p>\\n\\n<p>Thanks for the help in advance!</p>\\n</div><!--
776
+ SC_ON -->\", \"selftext\": \"Hey everyone, do you guys mind sharing what
777
+ are good open source projects for Ruby beginners? \\n\\nThanks for the help
778
+ in advance!\", \"likes\": null, \"secure_media\": null, \"link_flair_text\":
779
+ null, \"id\": \"18abdk\", \"secure_media_embed\": {}, \"clicked\": false,
780
+ \"stickied\": false, \"author\": \"ghostwarfare\", \"media\": null, \"score\":
781
+ 41, \"approved_by\": null, \"over_18\": false, \"hidden\": false, \"thumbnail\":
782
+ \"\", \"subreddit_id\": \"t5_2qh21\", \"edited\": false, \"link_flair_css_class\":
783
+ null, \"author_flair_css_class\": null, \"downs\": 4, \"saved\": false, \"is_self\":
784
+ true, \"permalink\": \"/r/ruby/comments/18abdk/what_are_some_good_open_source_projects_for_ruby/\",
785
+ \"name\": \"t3_18abdk\", \"created\": 1360552623.0, \"url\": \"http://www.reddit.com/r/ruby/comments/18abdk/what_are_some_good_open_source_projects_for_ruby/\",
786
+ \"author_flair_text\": null, \"title\": \"What are some good open source projects
787
+ for Ruby beginners?\", \"created_utc\": 1360552623.0, \"ups\": 45, \"num_comments\":
788
+ 22, \"visited\": false, \"num_reports\": null, \"distinguished\": null}},
789
+ {\"kind\": \"t3\", \"data\": {\"domain\": \"self.ruby\", \"banned_by\": null,
790
+ \"media_embed\": {}, \"subreddit\": \"ruby\", \"selftext_html\": \"<!--
791
+ SC_OFF --><div class=\\\"md\\\"><p>I wanted to get a reality
792
+ check from the ruby community before I dig myself any deeper into a hole.</p>\\n\\n<p>A
793
+ little bit of history first.</p>\\n\\n<p>I am a 32 year old with
794
+ no college education. I currently work at a dead end job in a warehouse putting
795
+ away boxes and making deliveries. I have always loved computers and have been
796
+ making websites for friends and family for years. I never charged, I just
797
+ did it for the challenge and to learn something new. About 6 months ago I
798
+ a friend turned me on to Reddit and shortly after I discovered r/webdev. At
799
+ the time I was messing around with PHP and Wordpress and had never heard of
800
+ Ruby or Python. After a few weeks of hanging around on r/webdev I discovered
801
+ Ruby and the Rails framework. I dived in and have been trying to teach myself
802
+ Ruby and Rails.</p>\\n\\n<p>Up until a few months ago I had been
803
+ a little depressed where my life had ended up. When I found Ruby I thought
804
+ maybe there might be a chance turn my hobby into a career. Currently I am
805
+ on my second read through of Eloquent Ruby and have done the the Ruby tutorial.
806
+ I practice and study every day. I try to come up with small projects to work
807
+ on to try the new concepts I learn and to heIp me retain the what I read.
808
+ I have been considering signing up for one of the many Rails dev camps to
809
+ help accelerate my path into the industry.</p>\\n\\n<p>My fear
810
+ is that I'll never be taken seriously when I finally apply for a job.
811
+ Mainly because I have no programing experience and I don't have a
812
+ CS degree.</p>\\n\\n<p>So tell me r/ruby... can I make this a
813
+ reality? </p>\\n\\n<p>I'm not trying to become the next
814
+ Zuckerberg or create the next Instagram. I just want a career where I love
815
+ what I do and I have an opportunity to make a small difference in the world.</p>\\n\\n<p>TLDR;
816
+ I'm 32 no college eduction and I want to be a Ruby/Rails dev. Do I
817
+ have a chance? Give it to me straight.</p>\\n</div><!-- SC_ON
818
+ -->\", \"selftext\": \"I wanted to get a reality check from the ruby community
819
+ before I dig myself any deeper into a hole.\\n\\nA little bit of history first.\\n\\nI
820
+ am a 32 year old with no college education. I currently work at a dead end
821
+ job in a warehouse putting away boxes and making deliveries. I have always
822
+ loved computers and have been making websites for friends and family for years.
823
+ I never charged, I just did it for the challenge and to learn something new.
824
+ About 6 months ago I a friend turned me on to Reddit and shortly after I discovered
825
+ r/webdev. At the time I was messing around with PHP and Wordpress and had
826
+ never heard of Ruby or Python. After a few weeks of hanging around on r/webdev
827
+ I discovered Ruby and the Rails framework. I dived in and have been trying
828
+ to teach myself Ruby and Rails.\\n\\nUp until a few months ago I had been
829
+ a little depressed where my life had ended up. When I found Ruby I thought
830
+ maybe there might be a chance turn my hobby into a career. Currently I am
831
+ on my second read through of Eloquent Ruby and have done the the Ruby tutorial.
832
+ I practice and study every day. I try to come up with small projects to work
833
+ on to try the new concepts I learn and to heIp me retain the what I read.
834
+ I have been considering signing up for one of the many Rails dev camps to
835
+ help accelerate my path into the industry.\\n\\nMy fear is that I'll never
836
+ be taken seriously when I finally apply for a job. Mainly because I have no
837
+ programing experience and I don't have a CS degree.\\n\\nSo tell me r/ruby...
838
+ can I make this a reality? \\n\\nI'm not trying to become the next Zuckerberg
839
+ or create the next Instagram. I just want a career where I love what I do
840
+ and I have an opportunity to make a small difference in the world.\\n\\nTLDR;
841
+ I'm 32 no college eduction and I want to be a Ruby/Rails dev. Do I have a
842
+ chance? Give it to me straight.\", \"likes\": null, \"secure_media\": null,
843
+ \"link_flair_text\": null, \"id\": \"1bjyc6\", \"secure_media_embed\": {},
844
+ \"clicked\": false, \"stickied\": false, \"author\": \"ruby_reality\", \"media\":
845
+ null, \"score\": 25, \"approved_by\": null, \"over_18\": false, \"hidden\":
846
+ false, \"thumbnail\": \"\", \"subreddit_id\": \"t5_2qh21\", \"edited\": false,
847
+ \"link_flair_css_class\": null, \"author_flair_css_class\": null, \"downs\":
848
+ 8, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/1bjyc6/reality_check/\",
849
+ \"name\": \"t3_1bjyc6\", \"created\": 1364952459.0, \"url\": \"http://www.reddit.com/r/ruby/comments/1bjyc6/reality_check/\",
850
+ \"author_flair_text\": null, \"title\": \"Reality Check\", \"created_utc\":
851
+ 1364948859.0, \"ups\": 33, \"num_comments\": 41, \"visited\": false, \"num_reports\":
852
+ null, \"distinguished\": null}}, {\"kind\": \"t3\", \"data\": {\"domain\":
853
+ \"self.ruby\", \"banned_by\": null, \"media_embed\": {}, \"subreddit\": \"ruby\",
854
+ \"selftext_html\": \"<!-- SC_OFF --><div class=\\\"md\\\"><p>hey
855
+ <a href=\\\"/r/ruby\\\">/r/ruby</a>, i've heard in the
856
+ past that some of the "dark corners" of ruby syntax cause
857
+ performance issues and/or other problems (explosion in complexity of implementing
858
+ ruby?)...does anyone have any examples of what some of these dark corners
859
+ are and how they are holding ruby implementations back?</p>\\n</div><!--
860
+ SC_ON -->\", \"selftext\": \"hey /r/ruby, i've heard in the past that some
861
+ of the \\\"dark corners\\\" of ruby syntax cause performance issues and/or
862
+ other problems (explosion in complexity of implementing ruby?)...does anyone
863
+ have any examples of what some of these dark corners are and how they are
864
+ holding ruby implementations back?\", \"likes\": null, \"secure_media\": null,
865
+ \"link_flair_text\": null, \"id\": \"a7he5\", \"secure_media_embed\": {},
866
+ \"clicked\": false, \"stickied\": false, \"author\": \"ruuzo\", \"media\":
867
+ null, \"score\": 16, \"approved_by\": null, \"over_18\": false, \"hidden\":
868
+ false, \"thumbnail\": \"\", \"subreddit_id\": \"t5_2qh21\", \"edited\": false,
869
+ \"link_flair_css_class\": null, \"author_flair_css_class\": null, \"downs\":
870
+ 4, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/a7he5/hey_rruby_about_the_dark_corners_of_ruby_syntax/\",
871
+ \"name\": \"t3_a7he5\", \"created\": 1259026103.0, \"url\": \"http://www.reddit.com/r/ruby/comments/a7he5/hey_rruby_about_the_dark_corners_of_ruby_syntax/\",
872
+ \"author_flair_text\": null, \"title\": \"hey /r/ruby, about the \\\"dark
873
+ corners\\\" of ruby syntax...\", \"created_utc\": 1259026103.0, \"ups\": 20,
874
+ \"num_comments\": 31, \"visited\": false, \"num_reports\": null, \"distinguished\":
875
+ null}}], \"after\": \"t3_a7he5\", \"before\": null}}"
876
+ http_version:
877
+ recorded_at: Sun, 10 Nov 2013 22:21:30 GMT
878
+ recorded_with: VCR 2.6.0