redditkit 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +8 -4
  3. data/lib/redditkit.rb +4 -3
  4. data/lib/redditkit/client.rb +6 -8
  5. data/lib/redditkit/client/apps.rb +8 -8
  6. data/lib/redditkit/client/captcha.rb +2 -2
  7. data/lib/redditkit/client/comments.rb +2 -2
  8. data/lib/redditkit/client/flair.rb +10 -8
  9. data/lib/redditkit/client/links.rb +24 -20
  10. data/lib/redditkit/client/miscellaneous.rb +10 -10
  11. data/lib/redditkit/client/moderation.rb +23 -21
  12. data/lib/redditkit/client/multireddits.rb +4 -4
  13. data/lib/redditkit/client/private_messages.rb +6 -4
  14. data/lib/redditkit/client/search.rb +1 -1
  15. data/lib/redditkit/client/subreddits.rb +11 -7
  16. data/lib/redditkit/client/users.rb +17 -14
  17. data/lib/redditkit/client/utilities.rb +10 -8
  18. data/lib/redditkit/client/voting.rb +5 -5
  19. data/lib/redditkit/client/wiki.rb +4 -0
  20. data/lib/redditkit/comment.rb +4 -4
  21. data/lib/redditkit/error.rb +3 -3
  22. data/lib/redditkit/link.rb +14 -14
  23. data/lib/redditkit/moderator_action.rb +4 -4
  24. data/lib/redditkit/multireddit.rb +2 -2
  25. data/lib/redditkit/multireddit_description.rb +2 -2
  26. data/lib/redditkit/private_message.rb +2 -2
  27. data/lib/redditkit/response/parse_json.rb +7 -1
  28. data/lib/redditkit/response/raise_error.rb +4 -5
  29. data/lib/redditkit/subreddit.rb +13 -10
  30. data/lib/redditkit/thing.rb +1 -0
  31. data/lib/redditkit/user.rb +12 -8
  32. data/lib/redditkit/version.rb +1 -5
  33. data/lib/redditkit/votable.rb +2 -2
  34. data/redditkit.gemspec +1 -1
  35. data/spec/cassettes/RedditKit_Client_Flair/_flair_list/returns_the_list_of_flair.yml +51 -4
  36. data/spec/cassettes/RedditKit_Client_Moderation/_ban/requests_the_correct_resource.yml +70 -23
  37. data/spec/cassettes/RedditKit_Client_Moderation/_contributors_to_subreddit/requests_the_correct_resource.yml +52 -5
  38. data/spec/cassettes/RedditKit_Client_Moderation/_moderation_log/returns_RedditKit_ModeratorAction_objects.yml +150 -109
  39. data/spec/cassettes/RedditKit_Client_Moderation/_moderators_of_subreddit/requests_the_correct_resource.yml +53 -6
  40. data/spec/cassettes/RedditKit_Client_Moderation/_unban/requests_the_correct_resource.yml +61 -14
  41. data/spec/cassettes/RedditKit_Client_Multireddits/_multireddit/without_a_path/returns_a_multireddit.yml +49 -7
  42. data/spec/cassettes/RedditKit_Client_Multireddits/_multireddit_description/with_a_multireddit/returns_a_multireddit_description.yml +102 -11
  43. data/spec/cassettes/RedditKit_Client_Multireddits/_multireddit_description/with_a_username_and_multireddit_name/returns_a_multireddit_description.yml +54 -5
  44. data/spec/cassettes/RedditKit_Client_Search/_search/restricts_searches_to_a_specific_subreddit.yml +925 -0
  45. data/spec/cassettes/RedditKit_Client_Search/_search/returns_a_specific_number_of_results.yml +116 -0
  46. data/spec/cassettes/RedditKit_Client_Search/_search/returns_search_results.yml +884 -0
  47. data/spec/cassettes/RedditKit_Client_Wiki/_add_wiki_editor/requests_the_correct_resource.yml +58 -4
  48. data/spec/cassettes/RedditKit_Client_Wiki/_edit_wiki_page/requests_the_correct_resource.yml +58 -4
  49. data/spec/cassettes/RedditKit_Client_Wiki/_hide_wiki_revision/requests_the_correct_resource.yml +58 -4
  50. data/spec/cassettes/RedditKit_Client_Wiki/_remove_wiki_editor/requests_the_correct_resource.yml +58 -4
  51. data/spec/cassettes/RedditKit_Client_Wiki/_revert_to_revision/requests_the_correct_resource.yml +58 -4
  52. data/spec/redditkit/comment_spec.rb +6 -6
  53. data/spec/redditkit/link_spec.rb +38 -7
  54. data/spec/redditkit/thing_spec.rb +8 -0
  55. data/spec/redditkit/user_spec.rb +14 -0
  56. data/spec/spec_helper.rb +0 -4
  57. metadata +7 -11
@@ -12,7 +12,7 @@ http_interactions:
12
12
  Accept-Encoding:
13
13
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14
14
  Accept:
15
- - "*/*"
15
+ - '*/*'
16
16
  response:
17
17
  status:
18
18
  code: 200
@@ -23,17 +23,59 @@ http_interactions:
23
23
  Content-Length:
24
24
  - '245'
25
25
  Server:
26
- - "'; DROP TABLE servertypes; --"
26
+ - '''; DROP TABLE servertypes; --'
27
27
  Date:
28
28
  - Sun, 10 Nov 2013 22:02:55 GMT
29
29
  Connection:
30
30
  - keep-alive
31
31
  body:
32
32
  encoding: UTF-8
33
- string: "{\"kind\": \"LabeledMulti\", \"data\": {\"can_edit\": false, \"name\":
34
- \"test\", \"created\": 1384149680.0, \"subreddits\": [{\"name\": \"ruby\"},
35
- {\"name\": \"ObjectiveC\"}], \"created_utc\": 1384120880.0, \"visibility\":
36
- \"public\", \"path\": \"/user/<REDDIT_USERNAME>/m/test\"}}"
33
+ string: '{"kind": "LabeledMulti", "data": {"can_edit": false, "name": "test",
34
+ "created": 1384149680.0, "subreddits": [{"name": "ruby"}, {"name": "ObjectiveC"}],
35
+ "created_utc": 1384120880.0, "visibility": "public", "path": "/user/<REDDIT_USERNAME>/m/test"}}'
37
36
  http_version:
38
37
  recorded_at: Sun, 10 Nov 2013 22:02:54 GMT
39
- recorded_with: VCR 2.6.0
38
+ - request:
39
+ method: get
40
+ uri: http://www.reddit.com/api/multi/user/RedditKitTester/m/test.json
41
+ body:
42
+ encoding: US-ASCII
43
+ string: ''
44
+ headers:
45
+ User-Agent:
46
+ - Faraday v0.8.8
47
+ Accept-Encoding:
48
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
49
+ Accept:
50
+ - '*/*'
51
+ response:
52
+ status:
53
+ code: 200
54
+ message: OK
55
+ headers:
56
+ Content-Type:
57
+ - application/json; charset=UTF-8
58
+ Content-Length:
59
+ - '245'
60
+ X-Frame-Options:
61
+ - SAMEORIGIN
62
+ X-Content-Type-Options:
63
+ - nosniff
64
+ X-Xss-Protection:
65
+ - 1; mode=block
66
+ Access-Control-Allow-Origin:
67
+ - '*'
68
+ Server:
69
+ - '''; DROP TABLE servertypes; --'
70
+ Date:
71
+ - Wed, 29 Jan 2014 23:26:17 GMT
72
+ Connection:
73
+ - keep-alive
74
+ body:
75
+ encoding: UTF-8
76
+ string: '{"kind": "LabeledMulti", "data": {"can_edit": false, "name": "test",
77
+ "created": 1384149680.0, "subreddits": [{"name": "ruby"}, {"name": "ObjectiveC"}],
78
+ "created_utc": 1384120880.0, "visibility": "public", "path": "/user/RedditKitTester/m/test"}}'
79
+ http_version:
80
+ recorded_at: Wed, 29 Jan 2014 23:25:02 GMT
81
+ recorded_with: VCR 2.8.0
@@ -12,7 +12,7 @@ http_interactions:
12
12
  Accept-Encoding:
13
13
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14
14
  Accept:
15
- - "*/*"
15
+ - '*/*'
16
16
  response:
17
17
  status:
18
18
  code: 200
@@ -23,17 +23,16 @@ http_interactions:
23
23
  Content-Length:
24
24
  - '245'
25
25
  Server:
26
- - "'; DROP TABLE servertypes; --"
26
+ - '''; DROP TABLE servertypes; --'
27
27
  Date:
28
28
  - Sun, 10 Nov 2013 22:02:55 GMT
29
29
  Connection:
30
30
  - keep-alive
31
31
  body:
32
32
  encoding: UTF-8
33
- string: "{\"kind\": \"LabeledMulti\", \"data\": {\"can_edit\": false, \"name\":
34
- \"test\", \"created\": 1384149680.0, \"subreddits\": [{\"name\": \"ruby\"},
35
- {\"name\": \"ObjectiveC\"}], \"created_utc\": 1384120880.0, \"visibility\":
36
- \"public\", \"path\": \"/user/<REDDIT_USERNAME>/m/test\"}}"
33
+ string: '{"kind": "LabeledMulti", "data": {"can_edit": false, "name": "test",
34
+ "created": 1384149680.0, "subreddits": [{"name": "ruby"}, {"name": "ObjectiveC"}],
35
+ "created_utc": 1384120880.0, "visibility": "public", "path": "/user/<REDDIT_USERNAME>/m/test"}}'
37
36
  http_version:
38
37
  recorded_at: Sun, 10 Nov 2013 22:02:54 GMT
39
38
  - request:
@@ -52,7 +51,7 @@ http_interactions:
52
51
  Accept-Encoding:
53
52
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
54
53
  Accept:
55
- - "*/*"
54
+ - '*/*'
56
55
  response:
57
56
  status:
58
57
  code: 200
@@ -67,15 +66,107 @@ http_interactions:
67
66
  Pragma:
68
67
  - no-cache
69
68
  Server:
70
- - "'; DROP TABLE servertypes; --"
69
+ - '''; DROP TABLE servertypes; --'
71
70
  Date:
72
71
  - Sun, 10 Nov 2013 22:02:55 GMT
73
72
  Connection:
74
73
  - keep-alive
75
74
  body:
76
75
  encoding: UTF-8
77
- string: "{\"kind\": \"LabeledMultiDescription\", \"data\": {\"body_html\": \"\",
78
- \"body_md\": \"\"}}"
76
+ string: '{"kind": "LabeledMultiDescription", "data": {"body_html": "", "body_md":
77
+ ""}}'
79
78
  http_version:
80
79
  recorded_at: Sun, 10 Nov 2013 22:02:54 GMT
81
- recorded_with: VCR 2.6.0
80
+ - request:
81
+ method: get
82
+ uri: http://www.reddit.com/api/multi/user/RedditKitTester/m/test.json
83
+ body:
84
+ encoding: US-ASCII
85
+ string: ''
86
+ headers:
87
+ User-Agent:
88
+ - Faraday v0.8.8
89
+ Accept-Encoding:
90
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
91
+ Accept:
92
+ - '*/*'
93
+ response:
94
+ status:
95
+ code: 200
96
+ message: OK
97
+ headers:
98
+ Content-Type:
99
+ - application/json; charset=UTF-8
100
+ Content-Length:
101
+ - '245'
102
+ X-Frame-Options:
103
+ - SAMEORIGIN
104
+ X-Content-Type-Options:
105
+ - nosniff
106
+ X-Xss-Protection:
107
+ - 1; mode=block
108
+ Access-Control-Allow-Origin:
109
+ - '*'
110
+ Server:
111
+ - '''; DROP TABLE servertypes; --'
112
+ Date:
113
+ - Wed, 29 Jan 2014 23:26:17 GMT
114
+ Connection:
115
+ - keep-alive
116
+ body:
117
+ encoding: UTF-8
118
+ string: '{"kind": "LabeledMulti", "data": {"can_edit": false, "name": "test",
119
+ "created": 1384149680.0, "subreddits": [{"name": "ruby"}, {"name": "ObjectiveC"}],
120
+ "created_utc": 1384120880.0, "visibility": "public", "path": "/user/RedditKitTester/m/test"}}'
121
+ http_version:
122
+ recorded_at: Wed, 29 Jan 2014 23:25:02 GMT
123
+ - request:
124
+ method: get
125
+ uri: http://www.reddit.com/api/multi/user/RedditKitTester/m/test/description
126
+ body:
127
+ encoding: US-ASCII
128
+ string: ''
129
+ headers:
130
+ User-Agent:
131
+ - Faraday v0.8.8
132
+ Cookie:
133
+ - reddit_session=20332937,2013-11-10T11:35:59,2077074c26ccd8ec123c996b77eeb7afb6090af9
134
+ X-Modhash:
135
+ - 36zuxndsdf695692a68e32384990478663dadfc30f0a1dd959
136
+ Accept-Encoding:
137
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
138
+ Accept:
139
+ - '*/*'
140
+ response:
141
+ status:
142
+ code: 200
143
+ message: OK
144
+ headers:
145
+ Content-Type:
146
+ - application/json; charset=UTF-8
147
+ Content-Length:
148
+ - '205'
149
+ Cache-Control:
150
+ - no-cache
151
+ Pragma:
152
+ - no-cache
153
+ X-Frame-Options:
154
+ - SAMEORIGIN
155
+ X-Content-Type-Options:
156
+ - nosniff
157
+ X-Xss-Protection:
158
+ - 1; mode=block
159
+ Server:
160
+ - '''; DROP TABLE servertypes; --'
161
+ Date:
162
+ - Wed, 29 Jan 2014 23:26:17 GMT
163
+ Connection:
164
+ - keep-alive
165
+ body:
166
+ encoding: UTF-8
167
+ string: '{"kind": "LabeledMultiDescription", "data": {"body_html": "&lt;!--
168
+ SC_OFF --&gt;&lt;div class=\"md\"&gt;&lt;p&gt;New description&lt;/p&gt;\n&lt;/div&gt;&lt;!--
169
+ SC_ON --&gt;", "body_md": "New description"}}'
170
+ http_version:
171
+ recorded_at: Wed, 29 Jan 2014 23:25:02 GMT
172
+ recorded_with: VCR 2.8.0
@@ -16,7 +16,7 @@ http_interactions:
16
16
  Accept-Encoding:
17
17
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
18
18
  Accept:
19
- - "*/*"
19
+ - '*/*'
20
20
  response:
21
21
  status:
22
22
  code: 200
@@ -31,15 +31,64 @@ http_interactions:
31
31
  Pragma:
32
32
  - no-cache
33
33
  Server:
34
- - "'; DROP TABLE servertypes; --"
34
+ - '''; DROP TABLE servertypes; --'
35
35
  Date:
36
36
  - Sun, 10 Nov 2013 22:02:56 GMT
37
37
  Connection:
38
38
  - keep-alive
39
39
  body:
40
40
  encoding: UTF-8
41
- string: "{\"kind\": \"LabeledMultiDescription\", \"data\": {\"body_html\": \"\",
42
- \"body_md\": \"\"}}"
41
+ string: '{"kind": "LabeledMultiDescription", "data": {"body_html": "", "body_md":
42
+ ""}}'
43
43
  http_version:
44
44
  recorded_at: Sun, 10 Nov 2013 22:02:55 GMT
45
- recorded_with: VCR 2.6.0
45
+ - request:
46
+ method: get
47
+ uri: http://www.reddit.com/api/multi/user/RedditKitTester/m/test/description
48
+ body:
49
+ encoding: US-ASCII
50
+ string: ''
51
+ headers:
52
+ User-Agent:
53
+ - Faraday v0.8.8
54
+ Cookie:
55
+ - reddit_session=20332937,2013-11-10T11:35:59,2077074c26ccd8ec123c996b77eeb7afb6090af9
56
+ X-Modhash:
57
+ - 36zuxndsdf695692a68e32384990478663dadfc30f0a1dd959
58
+ Accept-Encoding:
59
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
60
+ Accept:
61
+ - '*/*'
62
+ response:
63
+ status:
64
+ code: 200
65
+ message: OK
66
+ headers:
67
+ Content-Type:
68
+ - application/json; charset=UTF-8
69
+ Content-Length:
70
+ - '205'
71
+ Cache-Control:
72
+ - no-cache
73
+ Pragma:
74
+ - no-cache
75
+ X-Frame-Options:
76
+ - SAMEORIGIN
77
+ X-Content-Type-Options:
78
+ - nosniff
79
+ X-Xss-Protection:
80
+ - 1; mode=block
81
+ Server:
82
+ - '''; DROP TABLE servertypes; --'
83
+ Date:
84
+ - Wed, 29 Jan 2014 23:26:17 GMT
85
+ Connection:
86
+ - keep-alive
87
+ body:
88
+ encoding: UTF-8
89
+ string: '{"kind": "LabeledMultiDescription", "data": {"body_html": "&lt;!--
90
+ SC_OFF --&gt;&lt;div class=\"md\"&gt;&lt;p&gt;New description&lt;/p&gt;\n&lt;/div&gt;&lt;!--
91
+ SC_ON --&gt;", "body_md": "New description"}}'
92
+ http_version:
93
+ recorded_at: Wed, 29 Jan 2014 23:25:02 GMT
94
+ recorded_with: VCR 2.8.0
@@ -1758,4 +1758,929 @@ http_interactions:
1758
1758
  null, \"distinguished\": null}}], \"after\": \"t3_hjnkx\", \"before\": null}}"
1759
1759
  http_version:
1760
1760
  recorded_at: Wed, 08 Jan 2014 06:49:53 GMT
1761
+ - request:
1762
+ method: get
1763
+ uri: http://www.reddit.com/r/ruby/search.json?after=&before=&count=&limit=&q=ruby&restrict_sr=true&sort=&syntax=&t=
1764
+ body:
1765
+ encoding: US-ASCII
1766
+ string: ''
1767
+ headers:
1768
+ User-Agent:
1769
+ - Faraday v0.9.0
1770
+ Accept-Encoding:
1771
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1772
+ Accept:
1773
+ - "*/*"
1774
+ response:
1775
+ status:
1776
+ code: 200
1777
+ message: OK
1778
+ headers:
1779
+ Content-Type:
1780
+ - application/json; charset=UTF-8
1781
+ X-Frame-Options:
1782
+ - SAMEORIGIN
1783
+ X-Content-Type-Options:
1784
+ - nosniff
1785
+ X-Xss-Protection:
1786
+ - 1; mode=block
1787
+ Access-Control-Allow-Origin:
1788
+ - "*"
1789
+ Server:
1790
+ - "'; DROP TABLE servertypes; --"
1791
+ Vary:
1792
+ - accept-encoding
1793
+ Date:
1794
+ - Thu, 23 Jan 2014 23:30:54 GMT
1795
+ Transfer-Encoding:
1796
+ - chunked
1797
+ Connection:
1798
+ - Transfer-Encoding
1799
+ - keep-alive
1800
+ body:
1801
+ encoding: UTF-8
1802
+ string: "{\"kind\": \"Listing\", \"data\": {\"modhash\": \"\", \"children\":
1803
+ [{\"kind\": \"t3\", \"data\": {\"domain\": \"self.ruby\", \"banned_by\": null,
1804
+ \"media_embed\": {}, \"subreddit\": \"ruby\", \"selftext_html\": \"&lt;!--
1805
+ SC_OFF --&gt;&lt;div class=\\\"md\\\"&gt;&lt;p&gt;Hello &lt;a href=\\\"/r/ruby\\\"&gt;/r/ruby&lt;/a&gt;
1806
+ &lt;/p&gt;\\n\\n&lt;p&gt;I am new to Ruby, however I&amp;#39;ve programmed
1807
+ in C, C++, Java, and C# along with VB.NET, HTML, and minimal Python. &lt;/p&gt;\\n\\n&lt;p&gt;I&amp;#39;ve
1808
+ heard that Ruby is a bit different and has quite the steep learning curve.
1809
+ So I ask you...&lt;/p&gt;\\n\\n&lt;p&gt;What is the one thing that you wish
1810
+ you knew before starting to learn or really use Ruby?&lt;/p&gt;\\n\\n&lt;p&gt;I
1811
+ also plan on using RoR if anyone has thoughts on that as well!&lt;/p&gt;\\n\\n&lt;p&gt;Any
1812
+ comments are appreciated! Thanks Guys!&lt;/p&gt;\\n&lt;/div&gt;&lt;!-- SC_ON
1813
+ --&gt;\", \"selftext\": \"Hello /r/ruby \\n\\nI am new to Ruby, however I've
1814
+ programmed in C, C++, Java, and C# along with VB.NET, HTML, and minimal Python.
1815
+ \\n\\nI've heard that Ruby is a bit different and has quite the steep learning
1816
+ curve. So I ask you...\\n\\nWhat is the one thing that you wish you knew before
1817
+ starting to learn or really use Ruby?\\n\\nI also plan on using RoR if anyone
1818
+ has thoughts on that as well!\\n\\nAny comments are appreciated! Thanks Guys!\",
1819
+ \"likes\": null, \"secure_media\": null, \"link_flair_text\": null, \"id\":
1820
+ \"1j9wqw\", \"secure_media_embed\": {}, \"clicked\": false, \"stickied\":
1821
+ false, \"author\": \"ProductiveThings\", \"media\": null, \"score\": 57, \"approved_by\":
1822
+ null, \"over_18\": false, \"hidden\": false, \"thumbnail\": \"\", \"subreddit_id\":
1823
+ \"t5_2qh21\", \"edited\": false, \"link_flair_css_class\": null, \"author_flair_css_class\":
1824
+ null, \"downs\": 10, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/1j9wqw/what_is_one_thing_you_wish_you_knew_when_starting/\",
1825
+ \"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/\",
1826
+ \"author_flair_text\": null, \"title\": \"What is one thing you wish you knew
1827
+ when starting Ruby?\", \"created_utc\": 1375105091.0, \"ups\": 67, \"num_comments\":
1828
+ 82, \"visited\": false, \"num_reports\": null, \"distinguished\": null}},
1829
+ {\"kind\": \"t3\", \"data\": {\"domain\": \"self.ruby\", \"banned_by\": null,
1830
+ \"media_embed\": {}, \"subreddit\": \"ruby\", \"selftext_html\": \"&lt;!--
1831
+ SC_OFF --&gt;&lt;div class=\\\"md\\\"&gt;&lt;p&gt;...and thanks to everyone
1832
+ in &lt;a href=\\\"/r/ruby\\\"&gt;/r/ruby&lt;/a&gt;, &lt;a href=\\\"/r/rails\\\"&gt;/r/rails&lt;/a&gt;
1833
+ and &lt;a href=\\\"/r/programming\\\"&gt;/r/programming&lt;/a&gt; who helped
1834
+ me gain not only the skills but the confidence to make the switch. I&amp;#39;ve
1835
+ been a lifelong marketer who always felt unfulfilled and spent nights/weekends/free
1836
+ time learning Ruby, Rails, MySQL, PostgreSQL, jQuery, and more, finally culminating
1837
+ in my first full-time development job. Wish me luck!&lt;/p&gt;\\n&lt;/div&gt;&lt;!--
1838
+ SC_ON --&gt;\", \"selftext\": \"...and thanks to everyone in /r/ruby, /r/rails
1839
+ and /r/programming who helped me gain not only the skills but the confidence
1840
+ to make the switch. I've been a lifelong marketer who always felt unfulfilled
1841
+ and spent nights/weekends/free time learning Ruby, Rails, MySQL, PostgreSQL,
1842
+ jQuery, and more, finally culminating in my first full-time development job.
1843
+ \ Wish me luck!\", \"likes\": null, \"secure_media\": null, \"link_flair_text\":
1844
+ null, \"id\": \"1i72ww\", \"secure_media_embed\": {}, \"clicked\": false,
1845
+ \"stickied\": false, \"author\": \"caadbury\", \"media\": null, \"score\":
1846
+ 88, \"approved_by\": null, \"over_18\": false, \"hidden\": false, \"thumbnail\":
1847
+ \"\", \"subreddit_id\": \"t5_2qh21\", \"edited\": false, \"link_flair_css_class\":
1848
+ null, \"author_flair_css_class\": null, \"downs\": 21, \"saved\": false, \"is_self\":
1849
+ true, \"permalink\": \"/r/ruby/comments/1i72ww/on_monday_i_start_a_new_career_as_a_web_developer/\",
1850
+ \"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/\",
1851
+ \"author_flair_text\": null, \"title\": \"On Monday, I start a new career
1852
+ as a web developer in Ruby on Rails\", \"created_utc\": 1373682561.0, \"ups\":
1853
+ 109, \"num_comments\": 49, \"visited\": false, \"num_reports\": null, \"distinguished\":
1854
+ null}}, {\"kind\": \"t3\", \"data\": {\"domain\": \"self.ruby\", \"banned_by\":
1855
+ null, \"media_embed\": {}, \"subreddit\": \"ruby\", \"selftext_html\": \"&lt;!--
1856
+ SC_OFF --&gt;&lt;div class=\\\"md\\\"&gt;&lt;p&gt;I&amp;#39;m learning Ruby
1857
+ on codecademy, and intending to learn rails after that. I was told by a dev
1858
+ friend that both Ruby and Ruby on Rails are outdated and bloated. He reckons
1859
+ that Javascript is better and more relevant. Is this true? I&amp;#39;ve been
1860
+ really enjoying learning, is it worthwhile? &lt;/p&gt;\\n&lt;/div&gt;&lt;!--
1861
+ SC_ON --&gt;\", \"selftext\": \"I'm learning Ruby on codecademy, and intending
1862
+ to learn rails after that. I was told by a dev friend that both Ruby and Ruby
1863
+ on Rails are outdated and bloated. He reckons that Javascript is better and
1864
+ more relevant. Is this true? I've been really enjoying learning, is it worthwhile?
1865
+ \", \"likes\": null, \"secure_media\": null, \"link_flair_text\": null, \"id\":
1866
+ \"1uivc3\", \"secure_media_embed\": {}, \"clicked\": false, \"stickied\":
1867
+ false, \"author\": \"KingPimpCommander\", \"media\": null, \"score\": 21,
1868
+ \"approved_by\": null, \"over_18\": false, \"hidden\": false, \"thumbnail\":
1869
+ \"\", \"subreddit_id\": \"t5_2qh21\", \"edited\": false, \"link_flair_css_class\":
1870
+ null, \"author_flair_css_class\": null, \"downs\": 18, \"saved\": false, \"is_self\":
1871
+ true, \"permalink\": \"/r/ruby/comments/1uivc3/is_ruby_outdated/\", \"name\":
1872
+ \"t3_1uivc3\", \"created\": 1388992621.0, \"url\": \"http://www.reddit.com/r/ruby/comments/1uivc3/is_ruby_outdated/\",
1873
+ \"author_flair_text\": null, \"title\": \"Is Ruby outdated?\", \"created_utc\":
1874
+ 1388992621.0, \"ups\": 39, \"num_comments\": 90, \"visited\": false, \"num_reports\":
1875
+ null, \"distinguished\": null}}, {\"kind\": \"t3\", \"data\": {\"domain\":
1876
+ \"self.ruby\", \"banned_by\": null, \"media_embed\": {}, \"subreddit\": \"ruby\",
1877
+ \"selftext_html\": \"&lt;!-- SC_OFF --&gt;&lt;div class=\\\"md\\\"&gt;&lt;p&gt;Hello
1878
+ everyone,&lt;/p&gt;\\n\\n&lt;p&gt;This is a little framework of mine that
1879
+ I&amp;#39;ve built out of a personal need - basically, I wanted to write a
1880
+ desktop app using Ruby and I found it daunting to say the least.&lt;/p&gt;\\n\\n&lt;p&gt;So,
1881
+ I&amp;#39;ve built Freightrain to take care of all the stuff I really shouldn&amp;#39;t
1882
+ care about, like loading interface definitions, cross-toolkit compatibility
1883
+ and the likes.&lt;/p&gt;\\n\\n&lt;p&gt;Now I&amp;#39;ve been working on it
1884
+ for almost 2 years (on and off of course) and, since I&amp;#39;ve just fixed
1885
+ it so it loads the newest glade specifications, I thought that I could ask
1886
+ you guys for an evaluation.&lt;/p&gt;\\n\\n&lt;p&gt;There&amp;#39;s a little
1887
+ readme on the github page and there are some examples in the /examples folder.&lt;/p&gt;\\n\\n&lt;p&gt;&lt;a
1888
+ href=\\\"http://github.com/bolthar/freightrain\\\"&gt;Link to the github page!&lt;/a&gt;&lt;/p&gt;\\n\\n&lt;p&gt;WHOA!
1889
+ Thanks for the attention, I thought this was going to be ignored...&lt;/p&gt;\\n\\n&lt;p&gt;How
1890
+ many of you would be interested in a step by step tutorial over the major
1891
+ features? I will build that if there&amp;#39;s enough interest.&lt;/p&gt;\\n&lt;/div&gt;&lt;!--
1892
+ SC_ON --&gt;\", \"selftext\": \"Hello everyone,\\n\\nThis is a little framework
1893
+ of mine that I've built out of a personal need - basically, I wanted to write
1894
+ a desktop app using Ruby and I found it daunting to say the least.\\n\\nSo,
1895
+ I've built Freightrain to take care of all the stuff I really shouldn't care
1896
+ about, like loading interface definitions, cross-toolkit compatibility and
1897
+ the likes.\\n\\nNow I've been working on it for almost 2 years (on and off
1898
+ of course) and, since I've just fixed it so it loads the newest glade specifications,
1899
+ I thought that I could ask you guys for an evaluation.\\n\\nThere's a little
1900
+ readme on the github page and there are some examples in the /examples folder.\\n\\n[Link
1901
+ to the github page!](http://github.com/bolthar/freightrain)\\n\\nWHOA! Thanks
1902
+ for the attention, I thought this was going to be ignored...\\n\\nHow many
1903
+ of you would be interested in a step by step tutorial over the major features?
1904
+ I will build that if there's enough interest.\", \"likes\": null, \"secure_media\":
1905
+ null, \"link_flair_text\": null, \"id\": \"sk4qq\", \"secure_media_embed\":
1906
+ {}, \"clicked\": false, \"stickied\": false, \"author\": \"bolthar\", \"media\":
1907
+ null, \"score\": 162, \"approved_by\": null, \"over_18\": false, \"hidden\":
1908
+ false, \"thumbnail\": \"\", \"subreddit_id\": \"t5_2qh21\", \"edited\": true,
1909
+ \"link_flair_css_class\": null, \"author_flair_css_class\": null, \"downs\":
1910
+ 10, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/sk4qq/freightrain_easy_ruby_desktop_development/\",
1911
+ \"name\": \"t3_sk4qq\", \"created\": 1334952179.0, \"url\": \"http://www.reddit.com/r/ruby/comments/sk4qq/freightrain_easy_ruby_desktop_development/\",
1912
+ \"author_flair_text\": null, \"title\": \"Freightrain - easy Ruby desktop
1913
+ development\", \"created_utc\": 1334948579.0, \"ups\": 172, \"num_comments\":
1914
+ 32, \"visited\": false, \"num_reports\": null, \"distinguished\": null}},
1915
+ {\"kind\": \"t3\", \"data\": {\"domain\": \"self.ruby\", \"banned_by\": null,
1916
+ \"media_embed\": {}, \"subreddit\": \"ruby\", \"selftext_html\": \"&lt;!--
1917
+ SC_OFF --&gt;&lt;div class=\\\"md\\\"&gt;&lt;p&gt;I&amp;#39;ve been trying
1918
+ to figure this one out in past few days and I&amp;#39;m quite unable to come
1919
+ up with reasonable answer.&lt;/p&gt;\\n\\n&lt;ul&gt;\\n&lt;li&gt;We have GitHub,
1920
+ most awesomest &lt;em&gt;social network&lt;/em&gt; on the internet.&lt;/li&gt;\\n&lt;li&gt;We
1921
+ have RubyGems, centralized libraries for everything.&lt;/li&gt;\\n&lt;li&gt;We
1922
+ have JRuby, for those who want to stick in the Java world or do some real
1923
+ threading.&lt;/li&gt;\\n&lt;li&gt;We have Rails, possibly the best web framework
1924
+ available (django people please don&amp;#39;t burry me alive)&lt;/li&gt;\\n&lt;li&gt;We
1925
+ have RSpec and Cucumber, which make me cry when I have to work with JUnit.&lt;/li&gt;\\n&lt;li&gt;We
1926
+ have great cloud hosting solutions like Heroku and Engine Yard.&lt;/li&gt;\\n&lt;li&gt;We
1927
+ have huge number of screencasts and tutorials, especially those high quality
1928
+ ones (Peepcode, Think Vitamin, Railscasts).&lt;/li&gt;\\n&lt;li&gt;Last but
1929
+ not least, we have Ruby, language which is fun to work with, expressive ...
1930
+ well you know.&lt;/li&gt;\\n&lt;/ul&gt;\\n\\n&lt;p&gt;The list could go on
1931
+ and on, so I guess you get my point. &lt;/p&gt;\\n\\n&lt;p&gt;My question
1932
+ is: &lt;strong&gt;What is missing? What do we need, but don&amp;#39;t (yet)
1933
+ have?&lt;/strong&gt;&lt;/p&gt;\\n&lt;/div&gt;&lt;!-- SC_ON --&gt;\", \"selftext\":
1934
+ \"I've been trying to figure this one out in past few days and I'm quite unable
1935
+ to come up with reasonable answer.\\n\\n* We have GitHub, most awesomest *social
1936
+ network* on the internet.\\n* We have RubyGems, centralized libraries for
1937
+ everything.\\n* We have JRuby, for those who want to stick in the Java world
1938
+ or do some real threading.\\n* We have Rails, possibly the best web framework
1939
+ available (django people please don't burry me alive)\\n* We have RSpec and
1940
+ Cucumber, which make me cry when I have to work with JUnit.\\n* We have great
1941
+ cloud hosting solutions like Heroku and Engine Yard.\\n* We have huge number
1942
+ of screencasts and tutorials, especially those high quality ones (Peepcode,
1943
+ Think Vitamin, Railscasts).\\n* Last but not least, we have Ruby, language
1944
+ which is fun to work with, expressive ... well you know.\\n\\nThe list could
1945
+ go on and on, so I guess you get my point. \\n\\nMy question is: **What is
1946
+ missing? What do we need, but don't (yet) have?**\", \"likes\": null, \"secure_media\":
1947
+ null, \"link_flair_text\": null, \"id\": \"elygz\", \"secure_media_embed\":
1948
+ {}, \"clicked\": false, \"stickied\": false, \"author\": \"progfu\", \"media\":
1949
+ null, \"score\": 38, \"approved_by\": null, \"over_18\": false, \"hidden\":
1950
+ false, \"thumbnail\": \"\", \"subreddit_id\": \"t5_2qh21\", \"edited\": false,
1951
+ \"link_flair_css_class\": null, \"author_flair_css_class\": null, \"downs\":
1952
+ 11, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/elygz/what_is_the_biggest_current_problem_in_ruby/\",
1953
+ \"name\": \"t3_elygz\", \"created\": 1292377299.0, \"url\": \"http://www.reddit.com/r/ruby/comments/elygz/what_is_the_biggest_current_problem_in_ruby/\",
1954
+ \"author_flair_text\": null, \"title\": \"What is the biggest current problem
1955
+ in Ruby community?\", \"created_utc\": 1292377299.0, \"ups\": 49, \"num_comments\":
1956
+ 134, \"visited\": false, \"num_reports\": null, \"distinguished\": null}},
1957
+ {\"kind\": \"t3\", \"data\": {\"domain\": \"self.ruby\", \"banned_by\": null,
1958
+ \"media_embed\": {}, \"subreddit\": \"ruby\", \"selftext_html\": \"&lt;!--
1959
+ SC_OFF --&gt;&lt;div class=\\\"md\\\"&gt;&lt;p&gt;Whats the best way to set
1960
+ up Ruby on Rails on OSx -- Newbie, and trying to figure out how to use Ruby
1961
+ on rails on my macbook &lt;/p&gt;\\n&lt;/div&gt;&lt;!-- SC_ON --&gt;\", \"selftext\":
1962
+ \"Whats the best way to set up Ruby on Rails on OSx -- Newbie, and trying
1963
+ to figure out how to use Ruby on rails on my macbook \", \"likes\": null,
1964
+ \"secure_media\": null, \"link_flair_text\": null, \"id\": \"zm1uu\", \"secure_media_embed\":
1965
+ {}, \"clicked\": false, \"stickied\": false, \"author\": \"sirisaac87\", \"media\":
1966
+ null, \"score\": 32, \"approved_by\": null, \"over_18\": false, \"hidden\":
1967
+ false, \"thumbnail\": \"\", \"subreddit_id\": \"t5_2qh21\", \"edited\": false,
1968
+ \"link_flair_css_class\": null, \"author_flair_css_class\": null, \"downs\":
1969
+ 5, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/zm1uu/setup_ruby_on_rails_on_osx/\",
1970
+ \"name\": \"t3_zm1uu\", \"created\": 1347219823.0, \"url\": \"http://www.reddit.com/r/ruby/comments/zm1uu/setup_ruby_on_rails_on_osx/\",
1971
+ \"author_flair_text\": null, \"title\": \"Setup Ruby on Rails on OSX -- \",
1972
+ \"created_utc\": 1347216223.0, \"ups\": 37, \"num_comments\": 54, \"visited\":
1973
+ false, \"num_reports\": null, \"distinguished\": null}}, {\"kind\": \"t3\",
1974
+ \"data\": {\"domain\": \"self.ruby\", \"banned_by\": null, \"media_embed\":
1975
+ {}, \"subreddit\": \"ruby\", \"selftext_html\": \"&lt;!-- SC_OFF --&gt;&lt;div
1976
+ class=\\\"md\\\"&gt;&lt;p&gt;So jamesgolick was kind enough to make me moderator
1977
+ of the community. I want to make a promise to you guys that I&amp;#39;ll do
1978
+ my best to keep it clean.&lt;/p&gt;\\n\\n&lt;p&gt;If you have any requests
1979
+ please let me know (like a valid link for the side navigation).&lt;/p&gt;\\n\\n&lt;p&gt;How
1980
+ do you want to see r/ruby improved? - A contest, guides, removing spam, etc.
1981
+ Let me know!&lt;/p&gt;\\n&lt;/div&gt;&lt;!-- SC_ON --&gt;\", \"selftext\":
1982
+ \"So jamesgolick was kind enough to make me moderator of the community. I
1983
+ want to make a promise to you guys that I'll do my best to keep it clean.\\n\\nIf
1984
+ you have any requests please let me know (like a valid link for the side navigation).\\n\\nHow
1985
+ do you want to see r/ruby improved? - A contest, guides, removing spam, etc.
1986
+ Let me know!\", \"likes\": null, \"secure_media\": null, \"link_flair_text\":
1987
+ null, \"id\": \"g1pia\", \"secure_media_embed\": {}, \"clicked\": false, \"stickied\":
1988
+ false, \"author\": \"ViralInfection\", \"media\": null, \"score\": 34, \"approved_by\":
1989
+ null, \"over_18\": false, \"hidden\": false, \"thumbnail\": \"\", \"subreddit_id\":
1990
+ \"t5_2qh21\", \"edited\": false, \"link_flair_css_class\": null, \"author_flair_css_class\":
1991
+ null, \"downs\": 8, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/g1pia/hello_rruby_im_your_new_moderator_how_would_you/\",
1992
+ \"name\": \"t3_g1pia\", \"created\": 1299819313.0, \"url\": \"http://www.reddit.com/r/ruby/comments/g1pia/hello_rruby_im_your_new_moderator_how_would_you/\",
1993
+ \"author_flair_text\": null, \"title\": \"Hello r/ruby. I'm your new moderator,
1994
+ how would you improve r/ruby?\", \"created_utc\": 1299819313.0, \"ups\": 42,
1995
+ \"num_comments\": 53, \"visited\": false, \"num_reports\": null, \"distinguished\":
1996
+ null}}, {\"kind\": \"t3\", \"data\": {\"domain\": \"self.ruby\", \"banned_by\":
1997
+ null, \"media_embed\": {}, \"subreddit\": \"ruby\", \"selftext_html\": \"&lt;!--
1998
+ SC_OFF --&gt;&lt;div class=\\\"md\\\"&gt;&lt;p&gt;I&amp;#39;m working my way
1999
+ through Zed&amp;#39;s &lt;em&gt;Learn Ruby the Hard Way&lt;/em&gt; and just
2000
+ completed my first week-long, make-your-own-game section.&lt;/p&gt;\\n\\n&lt;p&gt;Here
2001
+ it is on github (also my first repo):\\n&lt;a href=\\\"https://github.com/demiankz/escapezeta.git\\\"&gt;https://github.com/demiankz/escapezeta.git&lt;/a&gt;&lt;/p&gt;\\n\\n&lt;p&gt;I&amp;#39;ve
2002
+ used most of what I know about ruby to make this game: functions, global variables,
2003
+ arrays, if/else, .include?, booleans, and a couple other random things. I
2004
+ have a feeling that there are major flaws in my code (nested if/else and global
2005
+ variables first among them, I&amp;#39;m sure).&lt;/p&gt;\\n\\n&lt;p&gt;I&amp;#39;d
2006
+ love to hear how an experienced rubyist would improve on my attempt.&lt;/p&gt;\\n&lt;/div&gt;&lt;!--
2007
+ SC_ON --&gt;\", \"selftext\": \"I'm working my way through Zed's *Learn Ruby
2008
+ the Hard Way* and just completed my first week-long, make-your-own-game section.\\n\\nHere
2009
+ it is on github (also my first repo):\\nhttps://github.com/demiankz/escapezeta.git\\n\\nI've
2010
+ used most of what I know about ruby to make this game: functions, global variables,
2011
+ arrays, if/else, .include?, booleans, and a couple other random things. I
2012
+ have a feeling that there are major flaws in my code (nested if/else and global
2013
+ variables first among them, I'm sure).\\n\\nI'd love to hear how an experienced
2014
+ rubyist would improve on my attempt.\", \"likes\": null, \"secure_media\":
2015
+ null, \"link_flair_text\": null, \"id\": \"1eqond\", \"secure_media_embed\":
2016
+ {}, \"clicked\": false, \"stickied\": false, \"author\": \"demiankz\", \"media\":
2017
+ null, \"score\": 37, \"approved_by\": null, \"over_18\": false, \"hidden\":
2018
+ false, \"thumbnail\": \"\", \"subreddit_id\": \"t5_2qh21\", \"edited\": false,
2019
+ \"link_flair_css_class\": null, \"author_flair_css_class\": null, \"downs\":
2020
+ 5, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/1eqond/my_first_ruby_game_what_did_i_do_rightwrong/\",
2021
+ \"name\": \"t3_1eqond\", \"created\": 1369109135.0, \"url\": \"http://www.reddit.com/r/ruby/comments/1eqond/my_first_ruby_game_what_did_i_do_rightwrong/\",
2022
+ \"author_flair_text\": null, \"title\": \"My first Ruby game. What did I do
2023
+ right/wrong?\", \"created_utc\": 1369105535.0, \"ups\": 42, \"num_comments\":
2024
+ 55, \"visited\": false, \"num_reports\": null, \"distinguished\": null}},
2025
+ {\"kind\": \"t3\", \"data\": {\"domain\": \"self.ruby\", \"banned_by\": null,
2026
+ \"media_embed\": {}, \"subreddit\": \"ruby\", \"selftext_html\": \"&lt;!--
2027
+ SC_OFF --&gt;&lt;div class=\\\"md\\\"&gt;&lt;p&gt;They only kept one guy on
2028
+ the API team and he&amp;#39;s been there from the beginning. I&amp;#39;ve
2029
+ done a few rails projects but not enough to consider myself a rails developer
2030
+ guru. Any jobs for guys with just ruby experience?&lt;/p&gt;\\n&lt;/div&gt;&lt;!--
2031
+ SC_ON --&gt;\", \"selftext\": \"They only kept one guy on the API team and
2032
+ he's been there from the beginning. I've done a few rails projects but not
2033
+ enough to consider myself a rails developer guru. Any jobs for guys with just
2034
+ ruby experience?\", \"likes\": null, \"secure_media\": null, \"link_flair_text\":
2035
+ null, \"id\": \"1nylih\", \"secure_media_embed\": {}, \"clicked\": false,
2036
+ \"stickied\": false, \"author\": \"Solnse\", \"media\": null, \"score\": 28,
2037
+ \"approved_by\": null, \"over_18\": false, \"hidden\": false, \"thumbnail\":
2038
+ \"\", \"subreddit_id\": \"t5_2qh21\", \"edited\": false, \"link_flair_css_class\":
2039
+ null, \"author_flair_css_class\": null, \"downs\": 9, \"saved\": false, \"is_self\":
2040
+ true, \"permalink\": \"/r/ruby/comments/1nylih/company_downsized_today_i_got_caught_in_the/\",
2041
+ \"name\": \"t3_1nylih\", \"created\": 1381207667.0, \"url\": \"http://www.reddit.com/r/ruby/comments/1nylih/company_downsized_today_i_got_caught_in_the/\",
2042
+ \"author_flair_text\": null, \"title\": \"Company downsized today. I got caught
2043
+ in the layoff spree. Where is the best place for a ruby dev to search for
2044
+ a stable job?\", \"created_utc\": 1381204067.0, \"ups\": 37, \"num_comments\":
2045
+ 56, \"visited\": false, \"num_reports\": null, \"distinguished\": null}},
2046
+ {\"kind\": \"t3\", \"data\": {\"domain\": \"self.ruby\", \"banned_by\": null,
2047
+ \"media_embed\": {}, \"subreddit\": \"ruby\", \"selftext_html\": \"&lt;!--
2048
+ SC_OFF --&gt;&lt;div class=\\\"md\\\"&gt;&lt;p&gt;start with straight ruby
2049
+ or go to rails?\\nI started with HTML/CSS/PHP/javascript with no frameworks
2050
+ and am wondering if i would be better to start with straight ruby as well.
2051
+ &lt;/p&gt;\\n\\n&lt;p&gt;Thanks all.!!&lt;/p&gt;\\n&lt;/div&gt;&lt;!-- SC_ON
2052
+ --&gt;\", \"selftext\": \"start with straight ruby or go to rails?\\nI started
2053
+ with HTML/CSS/PHP/javascript with no frameworks and am wondering if i would
2054
+ be better to start with straight ruby as well. \\n\\nThanks all.!!\", \"likes\":
2055
+ null, \"secure_media\": null, \"link_flair_text\": null, \"id\": \"widgp\",
2056
+ \"secure_media_embed\": {}, \"clicked\": false, \"stickied\": false, \"author\":
2057
+ \"swiftpants\", \"media\": null, \"score\": 20, \"approved_by\": null, \"over_18\":
2058
+ false, \"hidden\": false, \"thumbnail\": \"\", \"subreddit_id\": \"t5_2qh21\",
2059
+ \"edited\": false, \"link_flair_css_class\": null, \"author_flair_css_class\":
2060
+ null, \"downs\": 3, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/widgp/newb_to_ruby_should_i/\",
2061
+ \"name\": \"t3_widgp\", \"created\": 1342206260.0, \"url\": \"http://www.reddit.com/r/ruby/comments/widgp/newb_to_ruby_should_i/\",
2062
+ \"author_flair_text\": null, \"title\": \"newb to ruby.. should I\", \"created_utc\":
2063
+ 1342202660.0, \"ups\": 23, \"num_comments\": 50, \"visited\": false, \"num_reports\":
2064
+ null, \"distinguished\": null}}, {\"kind\": \"t3\", \"data\": {\"domain\":
2065
+ \"self.ruby\", \"banned_by\": null, \"media_embed\": {}, \"subreddit\": \"ruby\",
2066
+ \"selftext_html\": \"&lt;!-- SC_OFF --&gt;&lt;div class=\\\"md\\\"&gt;&lt;p&gt;This
2067
+ is a translation of &lt;a href=\\\"http://www.nikkan.co.jp/news/nkx0220110919aaac.html\\\"&gt;an
2068
+ article by \\u65e5\\u520a\\u5de5\\u696d\\u65b0\\u805e (nikkan)&lt;/a&gt; which
2069
+ is a publication dedicated to industry news in Japan.&lt;/p&gt;\\n\\n&lt;p&gt;The
2070
+ Japan based Ruby language is set to become an international standard in 2012
2071
+ through the International Organization for Standardization (ISO). Ruby was
2072
+ already standardized through Japanese Industrial Standards (JIS), and the
2073
+ focus will now be directed towards its recognition in the global community
2074
+ by becoming an official ISO standard. This would be the first time a programming
2075
+ language of Japanese origin would become an ISO standard. The nation of Japan
2076
+ hopes that this will increase its recognition in the primarily western dominated
2077
+ software field.&lt;/p&gt;\\n\\n&lt;p&gt;Ruby was developed by fellow Yukihiro
2078
+ Matsumoto at the National Applied Communication Laboratory (Matsue city).
2079
+ Features such as the ability to architect high level applications with ease
2080
+ has gained Ruby fast popularity around web development both inside and outside
2081
+ the country.&lt;/p&gt;\\n\\n&lt;p&gt;The ISO standardization of Ruby is being
2082
+ pushed by the Information-technology Promotion Agency (IPA). Domestically
2083
+ Ruby became a JIS standard (JIS X3017) in March from a proposal by the Ruby
2084
+ Standardization Study Working Group.&lt;/p&gt;\\n&lt;/div&gt;&lt;!-- SC_ON
2085
+ --&gt;\", \"selftext\": \"This is a translation of [an article by \\u65e5\\u520a\\u5de5\\u696d\\u65b0\\u805e
2086
+ (nikkan)](http://www.nikkan.co.jp/news/nkx0220110919aaac.html) which is a
2087
+ publication dedicated to industry news in Japan.\\n\\n The Japan based Ruby
2088
+ language is set to become an international standard in 2012 through the International
2089
+ Organization for Standardization (ISO). Ruby was already standardized through
2090
+ Japanese Industrial Standards (JIS), and the focus will now be directed towards
2091
+ its recognition in the global community by becoming an official ISO standard.
2092
+ This would be the first time a programming language of Japanese origin would
2093
+ become an ISO standard. The nation of Japan hopes that this will increase
2094
+ its recognition in the primarily western dominated software field.\\n\\n Ruby
2095
+ was developed by fellow Yukihiro Matsumoto at the National Applied Communication
2096
+ Laboratory (Matsue city). Features such as the ability to architect high level
2097
+ applications with ease has gained Ruby fast popularity around web development
2098
+ both inside and outside the country.\\n\\n The ISO standardization of Ruby
2099
+ is being pushed by the Information-technology Promotion Agency (IPA). Domestically
2100
+ Ruby became a JIS standard (JIS X3017) in March from a proposal by the Ruby
2101
+ Standardization Study Working Group.\", \"likes\": null, \"secure_media\":
2102
+ null, \"link_flair_text\": null, \"id\": \"kk5ln\", \"secure_media_embed\":
2103
+ {}, \"clicked\": false, \"stickied\": false, \"author\": \"cwgem\", \"media\":
2104
+ null, \"score\": 60, \"approved_by\": null, \"over_18\": false, \"hidden\":
2105
+ false, \"thumbnail\": \"\", \"subreddit_id\": \"t5_2qh21\", \"edited\": false,
2106
+ \"link_flair_css_class\": null, \"author_flair_css_class\": null, \"downs\":
2107
+ 4, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/kk5ln/ruby_to_be_the_first_japanese_made_programming/\",
2108
+ \"name\": \"t3_kk5ln\", \"created\": 1316409512.0, \"url\": \"http://www.reddit.com/r/ruby/comments/kk5ln/ruby_to_be_the_first_japanese_made_programming/\",
2109
+ \"author_flair_text\": null, \"title\": \"Ruby to be the first Japanese made
2110
+ programming language to become an international standard sometime next year\",
2111
+ \"created_utc\": 1316405912.0, \"ups\": 64, \"num_comments\": 10, \"visited\":
2112
+ false, \"num_reports\": null, \"distinguished\": null}}, {\"kind\": \"t3\",
2113
+ \"data\": {\"domain\": \"self.ruby\", \"banned_by\": null, \"media_embed\":
2114
+ {}, \"subreddit\": \"ruby\", \"selftext_html\": \"&lt;!-- SC_OFF --&gt;&lt;div
2115
+ class=\\\"md\\\"&gt;&lt;p&gt;I was going through github, and I came across
2116
+ a simple tictactoe program. It surprised me how clever the programmer was
2117
+ with blocks and yields and such. I wrote a tictactoe program myself months
2118
+ ago when I was learning Ruby, and when I compare the two, my code is very
2119
+ clunky and not at all as elegant as this programmer. &lt;/p&gt;\\n\\n&lt;p&gt;And
2120
+ now I realize that the best way to improve my skills is to read the code of
2121
+ programmers who are much more advanced than I am. &lt;/p&gt;\\n\\n&lt;p&gt;So
2122
+ I ask, what are some of the best ruby code that you have ever seen?&lt;/p&gt;\\n&lt;/div&gt;&lt;!--
2123
+ SC_ON --&gt;\", \"selftext\": \"I was going through github, and I came across
2124
+ a simple tictactoe program. It surprised me how clever the programmer was
2125
+ with blocks and yields and such. I wrote a tictactoe program myself months
2126
+ ago when I was learning Ruby, and when I compare the two, my code is very
2127
+ clunky and not at all as elegant as this programmer. \\n \\nAnd now I
2128
+ realize that the best way to improve my skills is to read the code of programmers
2129
+ who are much more advanced than I am. \\n \\nSo I ask, what are some of
2130
+ the best ruby code that you have ever seen?\", \"likes\": null, \"secure_media\":
2131
+ null, \"link_flair_text\": null, \"id\": \"1mwg7o\", \"secure_media_embed\":
2132
+ {}, \"clicked\": false, \"stickied\": false, \"author\": \"hopengrind\", \"media\":
2133
+ null, \"score\": 58, \"approved_by\": null, \"over_18\": false, \"hidden\":
2134
+ false, \"thumbnail\": \"\", \"subreddit_id\": \"t5_2qh21\", \"edited\": false,
2135
+ \"link_flair_css_class\": null, \"author_flair_css_class\": null, \"downs\":
2136
+ 7, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/1mwg7o/what_are_some_of_the_best_ruby_programs_youve/\",
2137
+ \"name\": \"t3_1mwg7o\", \"created\": 1379872130.0, \"url\": \"http://www.reddit.com/r/ruby/comments/1mwg7o/what_are_some_of_the_best_ruby_programs_youve/\",
2138
+ \"author_flair_text\": null, \"title\": \"What are some of the best ruby programs
2139
+ you've ever seen?\", \"created_utc\": 1379868530.0, \"ups\": 65, \"num_comments\":
2140
+ 25, \"visited\": false, \"num_reports\": null, \"distinguished\": null}},
2141
+ {\"kind\": \"t3\", \"data\": {\"domain\": \"self.ruby\", \"banned_by\": null,
2142
+ \"media_embed\": {}, \"subreddit\": \"ruby\", \"selftext_html\": \"&lt;!--
2143
+ SC_OFF --&gt;&lt;div class=\\\"md\\\"&gt;&lt;p&gt;I&amp;#39;m learning ruby
2144
+ now and looking forward to finding a job doing front end and app development.
2145
+ \ Thanks!&lt;/p&gt;\\n&lt;/div&gt;&lt;!-- SC_ON --&gt;\", \"selftext\": \"I'm
2146
+ learning ruby now and looking forward to finding a job doing front end and
2147
+ app development. Thanks!\", \"likes\": null, \"secure_media\": null, \"link_flair_text\":
2148
+ null, \"id\": \"1kylfv\", \"secure_media_embed\": {}, \"clicked\": false,
2149
+ \"stickied\": false, \"author\": \"codemonkei\", \"media\": null, \"score\":
2150
+ 27, \"approved_by\": null, \"over_18\": false, \"hidden\": false, \"thumbnail\":
2151
+ \"\", \"subreddit_id\": \"t5_2qh21\", \"edited\": 1377394522.0, \"link_flair_css_class\":
2152
+ null, \"author_flair_css_class\": null, \"downs\": 7, \"saved\": false, \"is_self\":
2153
+ true, \"permalink\": \"/r/ruby/comments/1kylfv/what_are_some_good_projects_to_do_with_ruby_to/\",
2154
+ \"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/\",
2155
+ \"author_flair_text\": null, \"title\": \"What are some good projects to do
2156
+ with Ruby to impress employers?\", \"created_utc\": 1377285903.0, \"ups\":
2157
+ 34, \"num_comments\": 43, \"visited\": false, \"num_reports\": null, \"distinguished\":
2158
+ null}}, {\"kind\": \"t3\", \"data\": {\"domain\": \"self.ruby\", \"banned_by\":
2159
+ null, \"media_embed\": {}, \"subreddit\": \"ruby\", \"selftext_html\": \"&lt;!--
2160
+ SC_OFF --&gt;&lt;div class=\\\"md\\\"&gt;&lt;p&gt;Even I have just only few
2161
+ experiences of Ruby, I just become aware of there &lt;em&gt;is&lt;/em&gt;
2162
+ &lt;code&gt;for&lt;/code&gt; in Ruby (I saw that when I learned Ruby first).
2163
+ \ Most of Ruby codes seem to use just &lt;code&gt;Enumerable#each&lt;/code&gt;
2164
+ method instead of &lt;code&gt;for&lt;/code&gt; statement, but why? Is there
2165
+ any reason to prefer &lt;code&gt;Enumerable#each&lt;/code&gt; method over
2166
+ &lt;code&gt;for&lt;/code&gt; statement?&lt;/p&gt;\\n&lt;/div&gt;&lt;!-- SC_ON
2167
+ --&gt;\", \"selftext\": \"Even I have just only few experiences of Ruby, I
2168
+ just become aware of there *is* `for` in Ruby (I saw that when I learned Ruby
2169
+ first). Most of Ruby codes seem to use just `Enumerable#each` method instead
2170
+ of `for` statement, but why? Is there any reason to prefer `Enumerable#each`
2171
+ method over `for` statement?\", \"likes\": null, \"secure_media\": null, \"link_flair_text\":
2172
+ null, \"id\": \"p1l8k\", \"secure_media_embed\": {}, \"clicked\": false, \"stickied\":
2173
+ false, \"author\": \"hongminhee\", \"media\": null, \"score\": 27, \"approved_by\":
2174
+ null, \"over_18\": false, \"hidden\": false, \"thumbnail\": \"\", \"subreddit_id\":
2175
+ \"t5_2qh21\", \"edited\": false, \"link_flair_css_class\": null, \"author_flair_css_class\":
2176
+ null, \"downs\": 5, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/p1l8k/why_is_there_forstatement_in_ruby/\",
2177
+ \"name\": \"t3_p1l8k\", \"created\": 1327833555.0, \"url\": \"http://www.reddit.com/r/ruby/comments/p1l8k/why_is_there_forstatement_in_ruby/\",
2178
+ \"author_flair_text\": null, \"title\": \"Why is there for-statement in Ruby?\",
2179
+ \"created_utc\": 1327833555.0, \"ups\": 32, \"num_comments\": 35, \"visited\":
2180
+ false, \"num_reports\": null, \"distinguished\": null}}, {\"kind\": \"t3\",
2181
+ \"data\": {\"domain\": \"self.ruby\", \"banned_by\": null, \"media_embed\":
2182
+ {}, \"subreddit\": \"ruby\", \"selftext_html\": \"&lt;!-- SC_OFF --&gt;&lt;div
2183
+ class=\\\"md\\\"&gt;&lt;p&gt;The languages are often compared so I am hoping
2184
+ my knowledge of python will make learning ruby faster. Maybe the best method
2185
+ is just to read a ruby book and learn from scratch, I am not sure yet how
2186
+ similar they are. However if anyone has made the switch and knows what a good
2187
+ starting point would be or if there are resrouces geared toward switching
2188
+ I would apperciate the advice. Thanks.&lt;/p&gt;\\n\\n&lt;p&gt;Edit: I will
2189
+ be using ruby as a scripting language. Mosly maintaing and updating existing
2190
+ scripts that put together XML files used for input for other applications
2191
+ and things like file management and such. So if there are resrouces geared
2192
+ towards scripting rather than building ruby applications that would be helpful.&lt;/p&gt;\\n&lt;/div&gt;&lt;!--
2193
+ SC_ON --&gt;\", \"selftext\": \"The languages are often compared so I am hoping
2194
+ my knowledge of python will make learning ruby faster. Maybe the best method
2195
+ is just to read a ruby book and learn from scratch, I am not sure yet how
2196
+ similar they are. However if anyone has made the switch and knows what a good
2197
+ starting point would be or if there are resrouces geared toward switching
2198
+ I would apperciate the advice. Thanks.\\n\\nEdit: I will be using ruby as
2199
+ a scripting language. Mosly maintaing and updating existing scripts that put
2200
+ together XML files used for input for other applications and things like
2201
+ file management and such. So if there are resrouces geared towards scripting
2202
+ rather than building ruby applications that would be helpful.\", \"likes\":
2203
+ null, \"secure_media\": null, \"link_flair_text\": null, \"id\": \"pgnbp\",
2204
+ \"secure_media_embed\": {}, \"clicked\": false, \"stickied\": false, \"author\":
2205
+ \"f4hy\", \"media\": null, \"score\": 16, \"approved_by\": null, \"over_18\":
2206
+ false, \"hidden\": false, \"thumbnail\": \"\", \"subreddit_id\": \"t5_2qh21\",
2207
+ \"edited\": true, \"link_flair_css_class\": null, \"author_flair_css_class\":
2208
+ null, \"downs\": 5, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/pgnbp/i_am_a_python_programmer_who_needs_to_learn_ruby/\",
2209
+ \"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/\",
2210
+ \"author_flair_text\": null, \"title\": \"I am a python programmer who needs
2211
+ to learn ruby. Any good resources or advice?\", \"created_utc\": 1328729735.0,
2212
+ \"ups\": 21, \"num_comments\": 55, \"visited\": false, \"num_reports\": null,
2213
+ \"distinguished\": null}}, {\"kind\": \"t3\", \"data\": {\"domain\": \"self.ruby\",
2214
+ \"banned_by\": null, \"media_embed\": {}, \"subreddit\": \"ruby\", \"selftext_html\":
2215
+ \"&lt;!-- SC_OFF --&gt;&lt;div class=\\\"md\\\"&gt;&lt;p&gt;Hello everyone!&lt;/p&gt;\\n\\n&lt;p&gt;I
2216
+ have some questions about getting fully enveloped in the Ruby Community. I
2217
+ beat Ruby Warrior, and that made me feel like I knew something. Then after
2218
+ seeing two talks by James Edward Grey II (@jeg2), one on Rails at RailsConf
2219
+ 2012 and another from RubyConf 2012, my ego was quieted. Grey impressed me
2220
+ not only with his overflow of arcane wisdom, but with his &lt;em&gt;humility&lt;/em&gt;.
2221
+ He is modest and unpretentious. This was the first time I encountered a true
2222
+ guru -- someone who does work without attachment, someone who teaches but
2223
+ also learns, and he does so with a light humor and lightening intellect. A
2224
+ guru is a constant beginner. I see the culture in the Ruby from an outsider&amp;#39;s
2225
+ perspective. Some sectors of humanity strive vainly to achieve the degree
2226
+ of positive exchange I see with Ruby on Rails and social coding. Everyone
2227
+ blogs, teaching. Everyone reads, learning. Any culture is a unique intelligence
2228
+ on its own right, created in the interpersonal, liminal space in between two
2229
+ or more intelligent minds. Moving on from philosophical waxing, I have some
2230
+ more practical questions.&lt;/p&gt;\\n\\n&lt;p&gt;I am ignorant. I will always
2231
+ have ignorance. I want to expand my intellectual frontier. I want to struggle
2232
+ with hard problems. I want to look into the unknown. I want to climb farther
2233
+ so I can see higher.&lt;/p&gt;\\n\\n&lt;hr/&gt;\\n\\n&lt;p&gt;What is your
2234
+ typical development environment like? &lt;/p&gt;\\n\\n&lt;p&gt;Do you primarily
2235
+ use git clones in terminal? &lt;/p&gt;\\n\\n&lt;p&gt;Do you use a web editor
2236
+ (like Coda 2 for HTML/CSS)? &lt;/p&gt;\\n\\n&lt;p&gt;Do you use a text editor
2237
+ like (Notepad++)? &lt;/p&gt;\\n\\n&lt;p&gt;Do you use something else entirely?&lt;/p&gt;\\n\\n&lt;p&gt;Where
2238
+ can I learn about designing algorithms in Ruby?&lt;/p&gt;\\n\\n&lt;p&gt;What
2239
+ are the things that you presently struggle with in Ruby?&lt;/p&gt;\\n\\n&lt;p&gt;What
2240
+ are some of the problems that you have had and how have you solved them? &lt;/p&gt;\\n\\n&lt;p&gt;Did
2241
+ you learn Ruby for a job? Did you learn Ruby for yourself? &lt;/p&gt;\\n\\n&lt;p&gt;Do
2242
+ you often use Ruby in your personal life? If so for what?&lt;/p&gt;\\n\\n&lt;p&gt;Do
2243
+ you have any projects that you would like to share?&lt;/p&gt;\\n\\n&lt;p&gt;Have
2244
+ you ever made a patch for something you didn&amp;#39;t make on GitHub and
2245
+ then your patch was included in the next release?&lt;/p&gt;\\n\\n&lt;p&gt;Will
2246
+ you fork me like you love me? Can I fork you? Can you explain forking?&lt;/p&gt;\\n\\n&lt;p&gt;Can
2247
+ you recommend a blogging platform? What do most people use? Is it more common
2248
+ to write your own page? Do people use wordpress? &lt;em&gt;Should&lt;/em&gt;
2249
+ they be using wordpress?&lt;/p&gt;\\n\\n&lt;hr/&gt;\\n\\n&lt;p&gt;I&amp;#39;m
2250
+ bored with Vanilla HTML5/CSS3/JS/PHP.&lt;/p&gt;\\n\\n&lt;p&gt;I want to be
2251
+ a full stack developer. I want to be the kind of computer scientist that code
2252
+ just flows out of.&lt;/p&gt;\\n\\n&lt;p&gt;&lt;strong&gt;tl;dr&lt;/strong&gt;:
2253
+ I am here to learn. I have many questions.&lt;/p&gt;\\n&lt;/div&gt;&lt;!--
2254
+ SC_ON --&gt;\", \"selftext\": \"Hello everyone!\\n\\nI have some questions
2255
+ about getting fully enveloped in the Ruby Community. I beat Ruby Warrior,
2256
+ and that made me feel like I knew something. Then after seeing two talks by
2257
+ James Edward Grey II (@jeg2), one on Rails at RailsConf 2012 and another from
2258
+ RubyConf 2012, my ego was quieted. Grey impressed me not only with his overflow
2259
+ of arcane wisdom, but with his *humility*. He is modest and unpretentious.
2260
+ This was the first time I encountered a true guru -- someone who does work
2261
+ without attachment, someone who teaches but also learns, and he does so with
2262
+ a light humor and lightening intellect. A guru is a constant beginner. I see
2263
+ the culture in the Ruby from an outsider's perspective. Some sectors of humanity
2264
+ \ strive vainly to achieve the degree of positive exchange I see with Ruby
2265
+ on Rails and social coding. Everyone blogs, teaching. Everyone reads, learning.
2266
+ Any culture is a unique intelligence on its own right, created in the interpersonal,
2267
+ liminal space in between two or more intelligent minds. Moving on from philosophical
2268
+ waxing, I have some more practical questions.\\n\\nI am ignorant. I will always
2269
+ have ignorance. I want to expand my intellectual frontier. I want to struggle
2270
+ with hard problems. I want to look into the unknown. I want to climb farther
2271
+ so I can see higher.\\n___\\n\\n\\n\\nWhat is your typical development environment
2272
+ like? \\n\\nDo you primarily use git clones in terminal? \\n\\nDo you use
2273
+ a web editor (like Coda 2 for HTML/CSS)? \\n\\nDo you use a text editor like
2274
+ (Notepad++)? \\n\\nDo you use something else entirely?\\n\\nWhere can I learn
2275
+ about designing algorithms in Ruby?\\n\\nWhat are the things that you presently
2276
+ struggle with in Ruby?\\n\\nWhat are some of the problems that you have had
2277
+ and how have you solved them? \\n\\nDid you learn Ruby for a job? Did you
2278
+ learn Ruby for yourself? \\n\\nDo you often use Ruby in your personal life?
2279
+ If so for what?\\n\\nDo you have any projects that you would like to share?\\n\\nHave
2280
+ you ever made a patch for something you didn't make on GitHub and then your
2281
+ patch was included in the next release?\\n\\nWill you fork me like you love
2282
+ me? Can I fork you? Can you explain forking?\\n\\nCan you recommend a blogging
2283
+ platform? What do most people use? Is it more common to write your own page?
2284
+ Do people use wordpress? *Should* they be using wordpress?\\n___\\n\\nI'm
2285
+ bored with Vanilla HTML5/CSS3/JS/PHP.\\n\\nI want to be a full stack developer.
2286
+ I want to be the kind of computer scientist that code just flows out of.\\n\\n**tl;dr**:
2287
+ I am here to learn. I have many questions.\", \"likes\": null, \"secure_media\":
2288
+ null, \"link_flair_text\": null, \"id\": \"1v4jbi\", \"secure_media_embed\":
2289
+ {}, \"clicked\": false, \"stickied\": false, \"author\": \"maniacalmania\",
2290
+ \"media\": null, \"score\": 38, \"approved_by\": null, \"over_18\": false,
2291
+ \"hidden\": false, \"thumbnail\": \"\", \"subreddit_id\": \"t5_2qh21\", \"edited\":
2292
+ 1389655164.0, \"link_flair_css_class\": null, \"author_flair_css_class\":
2293
+ null, \"downs\": 10, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/1v4jbi/im_a_web_developer_exploring_ruby_and_rails_what/\",
2294
+ \"name\": \"t3_1v4jbi\", \"created\": 1389668599.0, \"url\": \"http://www.reddit.com/r/ruby/comments/1v4jbi/im_a_web_developer_exploring_ruby_and_rails_what/\",
2295
+ \"author_flair_text\": null, \"title\": \"I'm a web developer exploring Ruby
2296
+ (and Rails). What is your typical development environment like?\", \"created_utc\":
2297
+ 1389639799.0, \"ups\": 48, \"num_comments\": 47, \"visited\": false, \"num_reports\":
2298
+ null, \"distinguished\": null}}, {\"kind\": \"t3\", \"data\": {\"domain\":
2299
+ \"self.ruby\", \"banned_by\": null, \"media_embed\": {}, \"subreddit\": \"ruby\",
2300
+ \"selftext_html\": \"&lt;!-- SC_OFF --&gt;&lt;div class=\\\"md\\\"&gt;&lt;p&gt;I&amp;#39;m
2301
+ going through the Ruby Koans right now as part of trying to learn Ruby. I
2302
+ just finished the about_blocks koan and I really just don&amp;#39;t understand
2303
+ how the &lt;code&gt;yield&lt;/code&gt; keyword works. Example code from the
2304
+ koan:&lt;/p&gt;\\n\\n&lt;pre&gt;&lt;code&gt;def many_yields\\n yield(:peanut)\\n
2305
+ \ yield(:butter)\\n yield(:and)\\n yield(:jelly)\\nend\\n\\ndef test_methods_can_call_yield_many_times\\n
2306
+ \ result = []\\n many_yields { |item| result &amp;lt;&amp;lt; item }\\n assert_equal
2307
+ [:peanut, :butter, :and, :jelly], result\\nend\\n&lt;/code&gt;&lt;/pre&gt;\\n\\n&lt;p&gt;I
2308
+ can see that &lt;code&gt;result&lt;/code&gt; is getting all four yielded values
2309
+ from &lt;code&gt;many_yields&lt;/code&gt;, but I don&amp;#39;t really understand
2310
+ what&amp;#39;s going on. I especially don&amp;#39;t understand the cases where
2311
+ yield is called without any values. Can somebody explain this keyword to me?&lt;/p&gt;\\n&lt;/div&gt;&lt;!--
2312
+ SC_ON --&gt;\", \"selftext\": \"I'm going through the Ruby Koans right now
2313
+ as part of trying to learn Ruby. I just finished the about_blocks koan and
2314
+ I really just don't understand how the `yield` keyword works. Example code
2315
+ from the koan:\\n\\n def many_yields\\n yield(:peanut)\\n yield(:butter)\\n
2316
+ \ yield(:and)\\n yield(:jelly)\\n end\\n\\n def test_methods_can_call_yield_many_times\\n
2317
+ \ result = []\\n many_yields { |item| result &lt;&lt; item }\\n assert_equal
2318
+ [:peanut, :butter, :and, :jelly], result\\n end\\n\\nI can see that `result`
2319
+ is getting all four yielded values from `many_yields`, but I don't really
2320
+ understand what's going on. I especially don't understand the cases where
2321
+ yield is called without any values. Can somebody explain this keyword to me?\",
2322
+ \"likes\": null, \"secure_media\": null, \"link_flair_text\": null, \"id\":
2323
+ \"kvjrw\", \"secure_media_embed\": {}, \"clicked\": false, \"stickied\": false,
2324
+ \"author\": \"glenbolake\", \"media\": null, \"score\": 42, \"approved_by\":
2325
+ null, \"over_18\": false, \"hidden\": false, \"thumbnail\": \"\", \"subreddit_id\":
2326
+ \"t5_2qh21\", \"edited\": false, \"link_flair_css_class\": null, \"author_flair_css_class\":
2327
+ null, \"downs\": 3, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/kvjrw/ruby_newbie_i_dont_understand_yield/\",
2328
+ \"name\": \"t3_kvjrw\", \"created\": 1317324898.0, \"url\": \"http://www.reddit.com/r/ruby/comments/kvjrw/ruby_newbie_i_dont_understand_yield/\",
2329
+ \"author_flair_text\": null, \"title\": \"Ruby newbie - I don't understand
2330
+ yield\", \"created_utc\": 1317321298.0, \"ups\": 45, \"num_comments\": 36,
2331
+ \"visited\": false, \"num_reports\": null, \"distinguished\": null}}, {\"kind\":
2332
+ \"t3\", \"data\": {\"domain\": \"self.ruby\", \"banned_by\": null, \"media_embed\":
2333
+ {}, \"subreddit\": \"ruby\", \"selftext_html\": \"&lt;!-- SC_OFF --&gt;&lt;div
2334
+ class=\\\"md\\\"&gt;&lt;p&gt;I can&amp;#39;t d/l XCode due to my version of
2335
+ OSX. RVM install commands don&amp;#39;t seem to make sense within my terminal.
2336
+ Do I need git? &lt;/p&gt;\\n\\n&lt;p&gt;I would like to learn Ruby (then Rails)
2337
+ but so far I&amp;#39;m just frustrated. &lt;/p&gt;\\n\\n&lt;p&gt;Thank you
2338
+ for any help you guys can offer.&lt;/p&gt;\\n&lt;/div&gt;&lt;!-- SC_ON --&gt;\",
2339
+ \"selftext\": \"I can't d/l XCode due to my version of OSX. RVM install commands
2340
+ don't seem to make sense within my terminal. Do I need git? \\n\\nI would
2341
+ like to learn Ruby (then Rails) but so far I'm just frustrated. \\n\\nThank
2342
+ you for any help you guys can offer.\", \"likes\": null, \"secure_media\":
2343
+ null, \"link_flair_text\": null, \"id\": \"rpwze\", \"secure_media_embed\":
2344
+ {}, \"clicked\": false, \"stickied\": false, \"author\": \"BeauBeauBeau\",
2345
+ \"media\": null, \"score\": 17, \"approved_by\": null, \"over_18\": false,
2346
+ \"hidden\": false, \"thumbnail\": \"\", \"subreddit_id\": \"t5_2qh21\", \"edited\":
2347
+ false, \"link_flair_css_class\": null, \"author_flair_css_class\": null, \"downs\":
2348
+ 4, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/rpwze/installing_ruby_wo_xcode_on_a_mac_or_why_is/\",
2349
+ \"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/\",
2350
+ \"author_flair_text\": null, \"title\": \"Installing Ruby w/o XCode on a Mac:
2351
+ or why is installing Ruby such a pain in the ass? [NOOB] \", \"created_utc\":
2352
+ 1333394080.0, \"ups\": 21, \"num_comments\": 51, \"visited\": false, \"num_reports\":
2353
+ null, \"distinguished\": null}}, {\"kind\": \"t3\", \"data\": {\"domain\":
2354
+ \"self.ruby\", \"banned_by\": null, \"media_embed\": {}, \"subreddit\": \"ruby\",
2355
+ \"selftext_html\": \"&lt;!-- SC_OFF --&gt;&lt;div class=\\\"md\\\"&gt;&lt;p&gt;I
2356
+ fundamentally do not understand the perspective many Rubyists have. I am not
2357
+ saying it anything is bad, I am saying &lt;em&gt;I do not understand&lt;/em&gt;.
2358
+ I just have a different perspective. I don&amp;#39;t understand why pragmatic
2359
+ people who don&amp;#39;t seem to be early adopters are leaving a good tool
2360
+ for tools that should only appeal to early adopters.&lt;/p&gt;\\n\\n&lt;p&gt;Please,
2361
+ let me explain my perspective. I have been working primarily with C++ the
2362
+ past 15, during that time I have dabbled with Java, PHP, Lua, Perl, Pascal,
2363
+ HTML/CSS, a couple kinds of assembly, C#/VB, others I wish I could forget
2364
+ and of course plain old C. I keep going back to C++ because I have a strong
2365
+ proficiency with it. I have the feeling I can make it do anything. I have
2366
+ made it solve some interesting problems. There are other reasons too, but
2367
+ this seems like enough to convey where I am coming from. I invested real time
2368
+ and effort gaining that proficiency, so I will use C++ when practical an invest
2369
+ more time learning something else when C++ is not practical.&lt;/p&gt;\\n\\n&lt;p&gt;I
2370
+ see a ton of Rubyists talking about Elixir and Node.js as somekind of wholesale
2371
+ replacement for Ruby. I understand that the two newer systems provide interesting
2372
+ interactions with threading systems. That does not seem like a reason to dump
2373
+ a whole language, a language with multiple independent healthy implementations
2374
+ (jRuby, Rubunius, Maglev, etc...), particularly when some of them have fixed
2375
+ threading performance. &lt;/p&gt;\\n\\n&lt;p&gt;Or maybe I am missing the
2376
+ point, maybe this is just about jumping to some popular new toy now that us
2377
+ old fogeys are onto Ruby? Of course not, all the people I read about in blogs
2378
+ and watch in talks at the countless Ruby conferences seem like pragmatic people
2379
+ interested in getting stuff done. Ruby seems like an excellent tool for getting
2380
+ stuff done. It is extremely easy to express complex ideas quickly. It has
2381
+ an excellent system for handling libraries. It has access to awesome performance
2382
+ via its C-API. If C is not your thing, It is mature enough that it is getting
2383
+ performance optimizations with every new release (of MRI/Yarv at least). These
2384
+ people invested significant time and effort learning Ruby, will their pragmatism
2385
+ just let them throw that away?&lt;/p&gt;\\n\\n&lt;p&gt;Perhaps my perspective
2386
+ is wrong and no-one is leaving Ruby? But it seems every other conference talk
2387
+ someone mentions Elixir while spitting Ruby&amp;#39;s name.&lt;/p&gt;\\n\\n&lt;p&gt;Perhaps,
2388
+ There is something to Elixir/Node I have completely missed? I read their docs
2389
+ and perused their libraries. They are missing features (and sometimes stability)
2390
+ like tools only a few years old would.&lt;/p&gt;\\n\\n&lt;p&gt;Why leave Ruby?&lt;/p&gt;\\n&lt;/div&gt;&lt;!--
2391
+ SC_ON --&gt;\", \"selftext\": \"I fundamentally do not understand the perspective
2392
+ many Rubyists have. I am not saying it anything is bad, I am saying *I do
2393
+ not understand*. I just have a different perspective. I don't understand why
2394
+ pragmatic people who don't seem to be early adopters are leaving a good tool
2395
+ for tools that should only appeal to early adopters.\\n\\nPlease, let me explain
2396
+ my perspective. I have been working primarily with C++ the past 15, during
2397
+ that time I have dabbled with Java, PHP, Lua, Perl, Pascal, HTML/CSS, a couple
2398
+ kinds of assembly, C#/VB, others I wish I could forget and of course plain
2399
+ old C. I keep going back to C++ because I have a strong proficiency with it.
2400
+ I have the feeling I can make it do anything. I have made it solve some interesting
2401
+ problems. There are other reasons too, but this seems like enough to convey
2402
+ where I am coming from. I invested real time and effort gaining that proficiency,
2403
+ so I will use C++ when practical an invest more time learning something else
2404
+ when C++ is not practical.\\n\\nI see a ton of Rubyists talking about Elixir
2405
+ and Node.js as somekind of wholesale replacement for Ruby. I understand that
2406
+ the two newer systems provide interesting interactions with threading systems.
2407
+ That does not seem like a reason to dump a whole language, a language with
2408
+ multiple independent healthy implementations (jRuby, Rubunius, Maglev, etc...),
2409
+ particularly when some of them have fixed threading performance. \\n\\nOr
2410
+ maybe I am missing the point, maybe this is just about jumping to some popular
2411
+ new toy now that us old fogeys are onto Ruby? Of course not, all the people
2412
+ I read about in blogs and watch in talks at the countless Ruby conferences
2413
+ seem like pragmatic people interested in getting stuff done. Ruby seems like
2414
+ an excellent tool for getting stuff done. It is extremely easy to express
2415
+ complex ideas quickly. It has an excellent system for handling libraries.
2416
+ It has access to awesome performance via its C-API. If C is not your thing,
2417
+ It is mature enough that it is getting performance optimizations with every
2418
+ new release (of MRI/Yarv at least). These people invested significant time
2419
+ and effort learning Ruby, will their pragmatism just let them throw that away?\\n\\nPerhaps
2420
+ my perspective is wrong and no-one is leaving Ruby? But it seems every other
2421
+ conference talk someone mentions Elixir while spitting Ruby's name.\\n\\nPerhaps,
2422
+ There is something to Elixir/Node I have completely missed? I read their docs
2423
+ and perused their libraries. They are missing features (and sometimes stability)
2424
+ like tools only a few years old would.\\n\\nWhy leave Ruby?\", \"likes\":
2425
+ null, \"secure_media\": null, \"link_flair_text\": null, \"id\": \"1o6srn\",
2426
+ \"secure_media_embed\": {}, \"clicked\": false, \"stickied\": false, \"author\":
2427
+ \"Sqeaky\", \"media\": null, \"score\": 41, \"approved_by\": null, \"over_18\":
2428
+ false, \"hidden\": false, \"thumbnail\": \"\", \"subreddit_id\": \"t5_2qh21\",
2429
+ \"edited\": false, \"link_flair_css_class\": null, \"author_flair_css_class\":
2430
+ null, \"downs\": 10, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/1o6srn/why_elixir_why_nodejs_coming_from_c_ruby_seems/\",
2431
+ \"name\": \"t3_1o6srn\", \"created\": 1381457829.0, \"url\": \"http://www.reddit.com/r/ruby/comments/1o6srn/why_elixir_why_nodejs_coming_from_c_ruby_seems/\",
2432
+ \"author_flair_text\": null, \"title\": \"Why Elixir? Why Node.js? Coming
2433
+ from C++, Ruby seems like a fine language.\", \"created_utc\": 1381454229.0,
2434
+ \"ups\": 51, \"num_comments\": 46, \"visited\": false, \"num_reports\": null,
2435
+ \"distinguished\": null}}, {\"kind\": \"t3\", \"data\": {\"domain\": \"self.ruby\",
2436
+ \"banned_by\": null, \"media_embed\": {}, \"subreddit\": \"ruby\", \"selftext_html\":
2437
+ \"&lt;!-- SC_OFF --&gt;&lt;div class=\\\"md\\\"&gt;&lt;p&gt;I would really
2438
+ like to start a study group for Ruby on Rails for this book &lt;a href=\\\"http://ruby.railstutorial.org/ruby-on-rails-tutorial-book\\\"&gt;http://ruby.railstutorial.org/ruby-on-rails-tutorial-book&lt;/a&gt;
2439
+ (if you have better suggestions please let me know) I have just finished the
2440
+ CodeCademy course for Ruby so I think I have a decent grasp on the Ruby language.
2441
+ It would be nice if we could have a couple people who are experienced with
2442
+ Rails help guide us through. I plan on hosting it on my website under the
2443
+ Ruby on Rails subforum so we can keep all our stuff uncluttered, my website
2444
+ is called milesftp.com(sorry for the odd name my friend had the domain registered
2445
+ and so we decided to use it for now). If you guys are interested please let
2446
+ me know and we will figure something&amp;#39;s out! Thanks. &lt;/p&gt;\\n&lt;/div&gt;&lt;!--
2447
+ SC_ON --&gt;\", \"selftext\": \"I would really like to start a study group
2448
+ for Ruby on Rails for this book http://ruby.railstutorial.org/ruby-on-rails-tutorial-book
2449
+ (if you have better suggestions please let me know) I have just finished the
2450
+ CodeCademy course for Ruby so I think I have a decent grasp on the Ruby language.
2451
+ It would be nice if we could have a couple people who are experienced with
2452
+ Rails help guide us through. I plan on hosting it on my website under the
2453
+ Ruby on Rails subforum so we can keep all our stuff uncluttered, my website
2454
+ is called milesftp.com(sorry for the odd name my friend had the domain registered
2455
+ and so we decided to use it for now). If you guys are interested please let
2456
+ me know and we will figure something's out! Thanks. \", \"likes\": null, \"secure_media\":
2457
+ null, \"link_flair_text\": null, \"id\": \"1n9e40\", \"secure_media_embed\":
2458
+ {}, \"clicked\": false, \"stickied\": false, \"author\": \"valorvision\",
2459
+ \"media\": null, \"score\": 21, \"approved_by\": null, \"over_18\": false,
2460
+ \"hidden\": false, \"thumbnail\": \"\", \"subreddit_id\": \"t5_2qh21\", \"edited\":
2461
+ false, \"link_flair_css_class\": null, \"author_flair_css_class\": null, \"downs\":
2462
+ 9, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/1n9e40/creating_a_ruby_on_rails_study_group_please_let/\",
2463
+ \"name\": \"t3_1n9e40\", \"created\": 1380306666.0, \"url\": \"http://www.reddit.com/r/ruby/comments/1n9e40/creating_a_ruby_on_rails_study_group_please_let/\",
2464
+ \"author_flair_text\": null, \"title\": \"Creating A Ruby on Rails Study Group,
2465
+ please let me know if you're interested.\", \"created_utc\": 1380303066.0,
2466
+ \"ups\": 30, \"num_comments\": 40, \"visited\": false, \"num_reports\": null,
2467
+ \"distinguished\": null}}, {\"kind\": \"t3\", \"data\": {\"domain\": \"self.ruby\",
2468
+ \"banned_by\": null, \"media_embed\": {}, \"subreddit\": \"ruby\", \"selftext_html\":
2469
+ \"&lt;!-- SC_OFF --&gt;&lt;div class=\\\"md\\\"&gt;&lt;p&gt;Hi there,&lt;/p&gt;\\n\\n&lt;p&gt;I
2470
+ started learning Ruby a few months ago and I bought myself a Microsoft Kinect
2471
+ Cam as an early X-Mas gift. Of course I&amp;#39;m using Linux (yes your OS-X
2472
+ is fine too) and don&amp;#39;t even own an X-Box 360 ... so I started the
2473
+ hacking.&lt;/p&gt;\\n\\n&lt;p&gt;After a short time of fiddling with C, I
2474
+ remembered how much it tends to get on my nerves and how much I love Ruby,
2475
+ so I thought &amp;quot;&lt;strong&gt;Why not write some Kinect stuff with
2476
+ Ruby?!&lt;/strong&gt;&amp;quot;. After a bit of googling I found exactly no
2477
+ other projects except&lt;/p&gt;\\n\\n&lt;p&gt;---- &lt;a href=\\\"http://openkinect.org/wiki/Ruby_Wrapper#Sample_Code\\\"&gt;this
2478
+ one&lt;/a&gt; ----&lt;/p&gt;\\n\\n&lt;p&gt;which was empty and so I decided
2479
+ to &lt;strong&gt;post my first code snippet there&lt;/strong&gt;.&lt;/p&gt;\\n\\n&lt;p&gt;Sadly
2480
+ nobody reacted so I have to assume that this project is dead. But what about
2481
+ you? &lt;em&gt;Anyone interested in bringing some of the Kinect functionality
2482
+ to Ruby?&lt;/em&gt;&lt;/p&gt;\\n\\n&lt;p&gt;&lt;strong&gt;What &lt;del&gt;I&lt;/del&gt;
2483
+ we managed to do:&lt;/strong&gt;&lt;/p&gt;\\n\\n&lt;ul&gt;\\n&lt;li&gt;Control
2484
+ the Kinects motor&lt;/li&gt;\\n&lt;li&gt;Control the Kinects LED&lt;/li&gt;\\n&lt;li&gt;Get
2485
+ accelerometer data&lt;/li&gt;\\n&lt;/ul&gt;\\n\\n&lt;p&gt;&lt;strong&gt;What
2486
+ is missing (tried but failed):&lt;/strong&gt;&lt;/p&gt;\\n\\n&lt;ul&gt;\\n&lt;li&gt;Get
2487
+ an image from the RGB cam&lt;/li&gt;\\n&lt;li&gt;Get an image from the depth
2488
+ cam&lt;/li&gt;\\n&lt;li&gt;&lt;del&gt;Get accelerometer data&lt;/del&gt;&lt;/li&gt;\\n&lt;/ul&gt;\\n\\n&lt;p&gt;&lt;strong&gt;TL;DR:&lt;/strong&gt;
2489
+ Started to develop a pure Ruby Kinect driver. Who wants to help?&lt;/p&gt;\\n\\n&lt;p&gt;PS:
2490
+ I&amp;#39;m not interested in libfreenect wrappers, I want to create a pure
2491
+ Ruby driver. (only with libusb i.e.)&lt;/p&gt;\\n\\n&lt;p&gt;&lt;strong&gt;EDIT:
2492
+ I&amp;#39;ve put what I got so far on GitHub: &lt;a href=\\\"https://github.com/pachacamac/rinect\\\"&gt;see
2493
+ here&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;\\n&lt;/div&gt;&lt;!-- SC_ON --&gt;\",
2494
+ \"selftext\": \"Hi there,\\n\\nI started learning Ruby a few months ago and
2495
+ I bought myself a Microsoft Kinect Cam as an early X-Mas gift. Of course I'm
2496
+ using Linux (yes your OS-X is fine too) and don't even own an X-Box 360 ...
2497
+ so I started the hacking.\\n\\nAfter a short time of fiddling with C, I remembered
2498
+ how much it tends to get on my nerves and how much I love Ruby, so I thought
2499
+ \\\"**Why not write some Kinect stuff with Ruby?!**\\\". After a bit of googling
2500
+ I found exactly no other projects except\\n\\n---- [this one](http://openkinect.org/wiki/Ruby_Wrapper#Sample_Code)
2501
+ ----\\n\\nwhich was empty and so I decided to **post my first code snippet
2502
+ there**.\\n\\nSadly nobody reacted so I have to assume that this project is
2503
+ dead. But what about you? *Anyone interested in bringing some of the Kinect
2504
+ functionality to Ruby?*\\n\\n\\n**What ~~I~~ we managed to do:**\\n\\n * Control
2505
+ the Kinects motor\\n * Control the Kinects LED\\n * Get accelerometer data\\n\\n**What
2506
+ is missing (tried but failed):**\\n\\n * Get an image from the RGB cam\\n
2507
+ * Get an image from the depth cam\\n * ~~Get accelerometer data~~\\n\\n\\n\\n**TL;DR:**
2508
+ Started to develop a pure Ruby Kinect driver. Who wants to help?\\n\\nPS:
2509
+ I'm not interested in libfreenect wrappers, I want to create a pure Ruby driver.
2510
+ (only with libusb i.e.)\\n\\n\\n**EDIT: I've put what I got so far on GitHub:
2511
+ [see here](https://github.com/pachacamac/rinect)**\", \"likes\": null, \"secure_media\":
2512
+ null, \"link_flair_text\": null, \"id\": \"euka7\", \"secure_media_embed\":
2513
+ {}, \"clicked\": false, \"stickied\": false, \"author\": \"nexe\", \"media\":
2514
+ null, \"score\": 29, \"approved_by\": null, \"over_18\": false, \"hidden\":
2515
+ false, \"thumbnail\": \"\", \"subreddit_id\": \"t5_2qh21\", \"edited\": true,
2516
+ \"link_flair_css_class\": null, \"author_flair_css_class\": null, \"downs\":
2517
+ 7, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/euka7/ruby_kinect_project/\",
2518
+ \"name\": \"t3_euka7\", \"created\": 1293897993.0, \"url\": \"http://www.reddit.com/r/ruby/comments/euka7/ruby_kinect_project/\",
2519
+ \"author_flair_text\": null, \"title\": \"Ruby Kinect Project\", \"created_utc\":
2520
+ 1293897993.0, \"ups\": 36, \"num_comments\": 36, \"visited\": false, \"num_reports\":
2521
+ null, \"distinguished\": null}}, {\"kind\": \"t3\", \"data\": {\"domain\":
2522
+ \"self.ruby\", \"banned_by\": null, \"media_embed\": {}, \"subreddit\": \"ruby\",
2523
+ \"selftext_html\": \"&lt;!-- SC_OFF --&gt;&lt;div class=\\\"md\\\"&gt;&lt;p&gt;Dynamic
2524
+ getters and setters in Perl:&lt;/p&gt;\\n\\n&lt;pre&gt;&lt;code&gt;sub AUTOLOAD
2525
+ {\\n my @elements = qw(color age weight height);\\n\\n our $AUTOLOAD;\\n
2526
+ \ if ($AUTOLOAD =~ /::(\\\\w+)$/ and grep $1 eq $_, @elements) {\\n my
2527
+ $field = ucfirst $1;\\n {\\n no strict &amp;#39;refs&amp;#39;;\\n
2528
+ \ *{$AUTOLOAD} = sub { $_[0]-&amp;gt;{$field} };\\n }\\n goto &amp;amp;{$AUTOLOAD};\\n
2529
+ \ } elsif ($AUTOLOAD =~ /::set_(\\\\w+)$/ and grep $1 eq $_, @elements) {\\n
2530
+ \ my $field = ucfirst $1;\\n {\\n no strict &amp;#39;refs&amp;#39;;\\n
2531
+ \ *{$AUTOLOAD} = sub { $_[0]-&amp;gt;{$field} = $_[1] };\\n }\\n goto
2532
+ &amp;amp;{$AUTOLOAD};\\n } else {\\n croak &amp;quot;$_[0] does not understand
2533
+ this method\\\\n&amp;quot;;\\n }\\n}\\n&lt;/code&gt;&lt;/pre&gt;\\n\\n&lt;p&gt;In
2534
+ Ruby:&lt;/p&gt;\\n\\n&lt;pre&gt;&lt;code&gt;attr_accessor :color, :age, :weight,
2535
+ :height\\n&lt;/code&gt;&lt;/pre&gt;\\n\\n&lt;p&gt;Yeah.&lt;/p&gt;\\n&lt;/div&gt;&lt;!--
2536
+ SC_ON --&gt;\", \"selftext\": \"Dynamic getters and setters in Perl:\\n\\n
2537
+ \ sub AUTOLOAD {\\n my @elements = qw(color age weight height);\\n
2538
+ \ \\n our $AUTOLOAD;\\n if ($AUTOLOAD =~ /::(\\\\w+)$/ and grep
2539
+ $1 eq $_, @elements) {\\n my $field = ucfirst $1;\\n {\\n no
2540
+ strict 'refs';\\n *{$AUTOLOAD} = sub { $_[0]-&gt;{$field} };\\n }\\n
2541
+ \ goto &amp;{$AUTOLOAD};\\n } elsif ($AUTOLOAD =~ /::set_(\\\\w+)$/
2542
+ and grep $1 eq $_, @elements) {\\n my $field = ucfirst $1;\\n {\\n
2543
+ \ no strict 'refs';\\n *{$AUTOLOAD} = sub { $_[0]-&gt;{$field}
2544
+ = $_[1] };\\n }\\n goto &amp;{$AUTOLOAD};\\n } else {\\n
2545
+ \ croak \\\"$_[0] does not understand this method\\\\n\\\";\\n }\\n
2546
+ \ }\\n\\nIn Ruby:\\n\\n attr_accessor :color, :age, :weight, :height\\n\\nYeah.\",
2547
+ \"likes\": null, \"secure_media\": null, \"link_flair_text\": null, \"id\":
2548
+ \"e4upb\", \"secure_media_embed\": {}, \"clicked\": false, \"stickied\": false,
2549
+ \"author\": \"Perceptes\", \"media\": null, \"score\": 34, \"approved_by\":
2550
+ null, \"over_18\": false, \"hidden\": false, \"thumbnail\": \"\", \"subreddit_id\":
2551
+ \"t5_2qh21\", \"edited\": true, \"link_flair_css_class\": null, \"author_flair_css_class\":
2552
+ null, \"downs\": 10, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/e4upb/learning_perl_is_making_me_appreciate_ruby_even/\",
2553
+ \"name\": \"t3_e4upb\", \"created\": 1289518955.0, \"url\": \"http://www.reddit.com/r/ruby/comments/e4upb/learning_perl_is_making_me_appreciate_ruby_even/\",
2554
+ \"author_flair_text\": null, \"title\": \"Learning Perl is making me appreciate
2555
+ Ruby even more\", \"created_utc\": 1289518955.0, \"ups\": 44, \"num_comments\":
2556
+ 44, \"visited\": false, \"num_reports\": null, \"distinguished\": null}},
2557
+ {\"kind\": \"t3\", \"data\": {\"domain\": \"self.ruby\", \"banned_by\": null,
2558
+ \"media_embed\": {}, \"subreddit\": \"ruby\", \"selftext_html\": \"&lt;!--
2559
+ SC_OFF --&gt;&lt;div class=\\\"md\\\"&gt;&lt;p&gt;Hey everyone, do you guys
2560
+ mind sharing what are good open source projects for Ruby beginners? &lt;/p&gt;\\n\\n&lt;p&gt;Thanks
2561
+ for the help in advance!&lt;/p&gt;\\n&lt;/div&gt;&lt;!-- SC_ON --&gt;\", \"selftext\":
2562
+ \"Hey everyone, do you guys mind sharing what are good open source projects
2563
+ for Ruby beginners? \\n\\nThanks for the help in advance!\", \"likes\": null,
2564
+ \"secure_media\": null, \"link_flair_text\": null, \"id\": \"18abdk\", \"secure_media_embed\":
2565
+ {}, \"clicked\": false, \"stickied\": false, \"author\": \"ghostwarfare\",
2566
+ \"media\": null, \"score\": 38, \"approved_by\": null, \"over_18\": false,
2567
+ \"hidden\": false, \"thumbnail\": \"\", \"subreddit_id\": \"t5_2qh21\", \"edited\":
2568
+ false, \"link_flair_css_class\": null, \"author_flair_css_class\": null, \"downs\":
2569
+ 8, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/18abdk/what_are_some_good_open_source_projects_for_ruby/\",
2570
+ \"name\": \"t3_18abdk\", \"created\": 1360552623.0, \"url\": \"http://www.reddit.com/r/ruby/comments/18abdk/what_are_some_good_open_source_projects_for_ruby/\",
2571
+ \"author_flair_text\": null, \"title\": \"What are some good open source projects
2572
+ for Ruby beginners?\", \"created_utc\": 1360552623.0, \"ups\": 46, \"num_comments\":
2573
+ 22, \"visited\": false, \"num_reports\": null, \"distinguished\": null}},
2574
+ {\"kind\": \"t3\", \"data\": {\"domain\": \"self.ruby\", \"banned_by\": null,
2575
+ \"media_embed\": {}, \"subreddit\": \"ruby\", \"selftext_html\": \"&lt;!--
2576
+ SC_OFF --&gt;&lt;div class=\\\"md\\\"&gt;&lt;p&gt;Hey &lt;a href=\\\"/r/ruby\\\"&gt;/r/ruby&lt;/a&gt;,&lt;/p&gt;\\n\\n&lt;p&gt;Lately
2577
+ Ive been getting my hands in a lot of languages to get a feel for them. Trying
2578
+ out JS/WinJS, Ruby (+Some Rails), and Python.&lt;/p&gt;\\n\\n&lt;p&gt;Ive
2579
+ worked with Python for a bit now, however I have never taken the time to learn
2580
+ from the ground-up any language ( outside of HTML/CSS(+SASS) ). As such lately
2581
+ Ive been doing some rather simple exploration of Ruby vs Python, jumping between
2582
+ the two trying to get a feel for it. Both seem great, however I am leaning
2583
+ toward Ruby currently, and wanted to see if anyone had some input.&lt;/p&gt;\\n\\n&lt;p&gt;A
2584
+ few concerns I have with Ruby is that while there is a TON of Ruby intro material
2585
+ (Learn Ruby the Hard Way, RubyMonk, and Pragmatic Guide), everything project
2586
+ development wise and even gem wise is Rails centric. I understand Rails is
2587
+ popular but even a simple Sinatra app, I cant find a Mailer Gem that doesn&amp;#39;t
2588
+ require Rails. While on the Python end, I fell in love with Hyde but it like
2589
+ many other projects I found for Python are completely dead development wise.&lt;/p&gt;\\n\\n&lt;p&gt;Any
2590
+ links or input on what I should be looking at to make a good decision?&lt;/p&gt;\\n\\n&lt;p&gt;Note:
2591
+ Apologies if this is asked a lot, or shouldnt be asked here. I tried a search
2592
+ and most of the questions were a year old.&lt;/p&gt;\\n&lt;/div&gt;&lt;!--
2593
+ SC_ON --&gt;\", \"selftext\": \"Hey /r/ruby,\\n\\nLately Ive been getting
2594
+ my hands in a lot of languages to get a feel for them. Trying out JS/WinJS,
2595
+ Ruby (+Some Rails), and Python.\\n\\nIve worked with Python for a bit now,
2596
+ however I have never taken the time to learn from the ground-up any language
2597
+ ( outside of HTML/CSS(+SASS) ). As such lately Ive been doing some rather
2598
+ simple exploration of Ruby vs Python, jumping between the two trying to get
2599
+ a feel for it. Both seem great, however I am leaning toward Ruby currently,
2600
+ and wanted to see if anyone had some input.\\n\\nA few concerns I have with
2601
+ Ruby is that while there is a TON of Ruby intro material (Learn Ruby the Hard
2602
+ Way, RubyMonk, and Pragmatic Guide), everything project development wise and
2603
+ even gem wise is Rails centric. I understand Rails is popular but even a simple
2604
+ Sinatra app, I cant find a Mailer Gem that doesn't require Rails. While on
2605
+ the Python end, I fell in love with Hyde but it like many other projects I
2606
+ found for Python are completely dead development wise.\\n\\nAny links or input
2607
+ on what I should be looking at to make a good decision?\\n\\nNote: Apologies
2608
+ if this is asked a lot, or shouldnt be asked here. I tried a search and most
2609
+ of the questions were a year old.\", \"likes\": null, \"secure_media\": null,
2610
+ \"link_flair_text\": null, \"id\": \"zyzf7\", \"secure_media_embed\": {},
2611
+ \"clicked\": false, \"stickied\": false, \"author\": \"RevisionZero\", \"media\":
2612
+ null, \"score\": 8, \"approved_by\": null, \"over_18\": false, \"hidden\":
2613
+ false, \"thumbnail\": \"\", \"subreddit_id\": \"t5_2qh21\", \"edited\": false,
2614
+ \"link_flair_css_class\": null, \"author_flair_css_class\": null, \"downs\":
2615
+ 2, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/zyzf7/looking_for_some_advice_should_i_focus_on/\",
2616
+ \"name\": \"t3_zyzf7\", \"created\": 1347809223.0, \"url\": \"http://www.reddit.com/r/ruby/comments/zyzf7/looking_for_some_advice_should_i_focus_on/\",
2617
+ \"author_flair_text\": null, \"title\": \"Looking for some advice: Should
2618
+ I focus on learning Python or Ruby? Input much appreciated.\", \"created_utc\":
2619
+ 1347805623.0, \"ups\": 10, \"num_comments\": 56, \"visited\": false, \"num_reports\":
2620
+ null, \"distinguished\": null}}, {\"kind\": \"t3\", \"data\": {\"domain\":
2621
+ \"self.ruby\", \"banned_by\": null, \"media_embed\": {}, \"subreddit\": \"ruby\",
2622
+ \"selftext_html\": \"&lt;!-- SC_OFF --&gt;&lt;div class=\\\"md\\\"&gt;&lt;p&gt;I
2623
+ wanted to get a reality check from the ruby community before I dig myself
2624
+ any deeper into a hole.&lt;/p&gt;\\n\\n&lt;p&gt;A little bit of history first.&lt;/p&gt;\\n\\n&lt;p&gt;I
2625
+ am a 32 year old with no college education. I currently work at a dead end
2626
+ job in a warehouse putting away boxes and making deliveries. I have always
2627
+ loved computers and have been making websites for friends and family for years.
2628
+ I never charged, I just did it for the challenge and to learn something new.
2629
+ About 6 months ago I a friend turned me on to Reddit and shortly after I discovered
2630
+ r/webdev. At the time I was messing around with PHP and Wordpress and had
2631
+ never heard of Ruby or Python. After a few weeks of hanging around on r/webdev
2632
+ I discovered Ruby and the Rails framework. I dived in and have been trying
2633
+ to teach myself Ruby and Rails.&lt;/p&gt;\\n\\n&lt;p&gt;Up until a few months
2634
+ ago I had been a little depressed where my life had ended up. When I found
2635
+ Ruby I thought maybe there might be a chance turn my hobby into a career.
2636
+ Currently I am on my second read through of Eloquent Ruby and have done the
2637
+ the Ruby tutorial. I practice and study every day. I try to come up with small
2638
+ projects to work on to try the new concepts I learn and to heIp me retain
2639
+ the what I read. I have been considering signing up for one of the many Rails
2640
+ dev camps to help accelerate my path into the industry.&lt;/p&gt;\\n\\n&lt;p&gt;My
2641
+ fear is that I&amp;#39;ll never be taken seriously when I finally apply for
2642
+ a job. Mainly because I have no programing experience and I don&amp;#39;t
2643
+ have a CS degree.&lt;/p&gt;\\n\\n&lt;p&gt;So tell me r/ruby... can I make
2644
+ this a reality? &lt;/p&gt;\\n\\n&lt;p&gt;I&amp;#39;m not trying to become
2645
+ the next Zuckerberg or create the next Instagram. I just want a career where
2646
+ I love what I do and I have an opportunity to make a small difference in the
2647
+ world.&lt;/p&gt;\\n\\n&lt;p&gt;TLDR; I&amp;#39;m 32 no college eduction and
2648
+ I want to be a Ruby/Rails dev. Do I have a chance? Give it to me straight.&lt;/p&gt;\\n&lt;/div&gt;&lt;!--
2649
+ SC_ON --&gt;\", \"selftext\": \"I wanted to get a reality check from the ruby
2650
+ community before I dig myself any deeper into a hole.\\n\\nA little bit of
2651
+ history first.\\n\\nI am a 32 year old with no college education. I currently
2652
+ work at a dead end job in a warehouse putting away boxes and making deliveries.
2653
+ I have always loved computers and have been making websites for friends and
2654
+ family for years. I never charged, I just did it for the challenge and to
2655
+ learn something new. About 6 months ago I a friend turned me on to Reddit
2656
+ and shortly after I discovered r/webdev. At the time I was messing around
2657
+ with PHP and Wordpress and had never heard of Ruby or Python. After a few
2658
+ weeks of hanging around on r/webdev I discovered Ruby and the Rails framework.
2659
+ I dived in and have been trying to teach myself Ruby and Rails.\\n\\nUp until
2660
+ a few months ago I had been a little depressed where my life had ended up.
2661
+ When I found Ruby I thought maybe there might be a chance turn my hobby into
2662
+ a career. Currently I am on my second read through of Eloquent Ruby and have
2663
+ done the the Ruby tutorial. I practice and study every day. I try to come
2664
+ up with small projects to work on to try the new concepts I learn and to heIp
2665
+ me retain the what I read. I have been considering signing up for one of the
2666
+ many Rails dev camps to help accelerate my path into the industry.\\n\\nMy
2667
+ fear is that I'll never be taken seriously when I finally apply for a job.
2668
+ Mainly because I have no programing experience and I don't have a CS degree.\\n\\nSo
2669
+ tell me r/ruby... can I make this a reality? \\n\\nI'm not trying to become
2670
+ the next Zuckerberg or create the next Instagram. I just want a career where
2671
+ I love what I do and I have an opportunity to make a small difference in the
2672
+ world.\\n\\nTLDR; I'm 32 no college eduction and I want to be a Ruby/Rails
2673
+ dev. Do I have a chance? Give it to me straight.\", \"likes\": null, \"secure_media\":
2674
+ null, \"link_flair_text\": null, \"id\": \"1bjyc6\", \"secure_media_embed\":
2675
+ {}, \"clicked\": false, \"stickied\": false, \"author\": \"ruby_reality\",
2676
+ \"media\": null, \"score\": 22, \"approved_by\": null, \"over_18\": false,
2677
+ \"hidden\": false, \"thumbnail\": \"\", \"subreddit_id\": \"t5_2qh21\", \"edited\":
2678
+ false, \"link_flair_css_class\": null, \"author_flair_css_class\": null, \"downs\":
2679
+ 10, \"saved\": false, \"is_self\": true, \"permalink\": \"/r/ruby/comments/1bjyc6/reality_check/\",
2680
+ \"name\": \"t3_1bjyc6\", \"created\": 1364952459.0, \"url\": \"http://www.reddit.com/r/ruby/comments/1bjyc6/reality_check/\",
2681
+ \"author_flair_text\": null, \"title\": \"Reality Check\", \"created_utc\":
2682
+ 1364948859.0, \"ups\": 32, \"num_comments\": 41, \"visited\": false, \"num_reports\":
2683
+ null, \"distinguished\": null}}], \"after\": \"t3_1bjyc6\", \"before\": null}}"
2684
+ http_version:
2685
+ recorded_at: Thu, 23 Jan 2014 23:30:59 GMT
1761
2686
  recorded_with: VCR 2.8.0