Jack White - Inspiration

0 notes

< baaaaabbbyyyy snaaaaakes >

0 notes

Browsing /r/politics if Romney wins the election.

Browsing /r/politics if Romney wins the election.

0 notes

Frank Zappa has an important message for you about the 2012 presidential election.

0 notes

Scrape and compare controversial reddit comments with Perl

I wrote a script today which sorts a subreddit’s posts by most upvotes (by week/month/year depending on results), fetches the each post’s comment page, and sorts the comments by most controversial.  Not sure where this script will go in the future, but it’s fun to compare different subreddits.  It’s also interesting to analyze why some comments were considered controversial. 

Some example output from r/politics:


POST TITLE:
As a Ron Paul Supporter, What Happened at the Convention Was Enraging. I Cannot Honestly Vote For the GOP. I Will Most Likely Vote for Either Obama or Johnson In The Hope That A Loss Teaches The GOP a Lesson. Any Other Paulites Feel This Way? Who Do You Plan On Voting For?
LINK:
http://www.reddit.com/r/politics/comments/z0mt7/as_a_ron_paul_supporter_what_happened_at_the/?sort=controversial

Some controversial comments:

upvotes/downvotes: 19/20
author: red_wing92
content: If you’re voting for obama or romney you’re part of the problem  
link: http://www.reddit.com/r/politics/comments/z0mt7/as_a_ron_paul_supporter_what_happened_at_the/c60ha22

upvotes/downvotes: 28/28
author: RHodeidra
content: I don’t like saying this but go for Obama, otherwise you’d be throwing your vote away. I say I hate saying it because in a 2-party system (face it, it’s true) it comes down to the lesser of 2 evils.I think the US would benefit more then anything from an emerging 3rd, 4rth and …. party to break this horrible history of standoffs. 
link: http://www.reddit.com/r/politics/comments/z0mt7/as_a_ron_paul_supporter_what_happened_at_the/c60gk9r

upvotes/downvotes: 13/12
author: SeptVentiDue
content: /so brave 
link: http://www.reddit.com/r/politics/comments/z0mt7/as_a_ron_paul_supporter_what_happened_at_the/c60h5iw

upvotes/downvotes: 12/14
author: i_h8_hippies
content: Did you really need to ask r/politics who they are voting for? It’s a liberal circle jerk 
link: http://www.reddit.com/r/politics/comments/z0mt7/as_a_ron_paul_supporter_what_happened_at_the/c60h7nx

upvotes/downvotes: 16/19
author: diegodlv
content: Thought this was a post in r/circlejerk for a moment. 
link: http://www.reddit.com/r/politics/comments/z0mt7/as_a_ron_paul_supporter_what_happened_at_the/c60h16t

Another from r/politics:

POST TITLE:
The Republican Party is beginning to seem a lot more like a cult than a political party with real agendas. Just me?
LINK:
http://www.reddit.com/r/politics/comments/z0kfd/the_republican_party_is_beginning_to_seem_a_lot/?sort=controversial

Some controversial comments:

upvotes/downvotes: 20/22
author: snipersteve
content: I’m preparing for a nuclear assault of down votes, but here goes …I watched most of the speeches last night, and I like what the Republicans are saying.fiscal prudence and responsibilityrespect for parents, children, and hard working familiesability over celebritypragmatism over idealismI liked Artur Davis, I liked Anne Romney, I liked Chris Christie.I think Mitt Romney’s a good guy. Smart, honest, and hard-working.
link: http://www.reddit.com/r/politics/comments/z0kfd/the_republican_party_is_beginning_to_seem_a_lot/c60gvo1

upvotes/downvotes: 13/36
author: garysopinion
content: the democrats are more like a cult because they steal money from the wealthy so that the wealthy become more poor then the poor. the wealthy are now poorer then the poor.
link: http://www.reddit.com/r/politics/comments/z0kfd/the_republican_party_is_beginning_to_seem_a_lot/c60fvfn

One more from r/politics:

POST TITLE:
Mitt Doesn’t Care About Your ‘Facts’: “It has not escaped attention that Mitt Romney has built his entire campaign on, well, lies.”
LINK:
http://www.reddit.com/r/politics/comments/z0p7l/mitt_doesnt_care_about_your_facts_it_has_not/?sort=controversial

Some controversial comments:

upvotes/downvotes: 5/11
author: josh024
content: Some heavy, heavy confirmation bias in this thread. Politifact (which you all hate when it says Obama lies) may have found more false statements from Romney than Obama, but it’s really quite amusing to make the leap from “more lies” to “all lies” r/politics is pathetic.
link: http://www.reddit.com/r/politics/comments/z0p7l/mitt_doesnt_care_about_your_facts_it_has_not/c60i849

upvotes/downvotes: 8/14
author: poli_ticks
content: Here are some facts:Obama is an imperialist.Obama is a warmonger.Obama is a war criminal.Obama is a mass-murderer.Obama is a Wall Street whore.And here’s some logic: How can you get them to stop with the imperialism, warmongering, war crimes, and mass-murders unless you refuse to vote for people who engage in imperialism, warmongering, war crimes, and mass-murders?Silly Democrats saying something about facts and logic. Apparently they cannot appreciate irony. Heh.
link: http://www.reddit.com/r/politics/comments/z0p7l/mitt_doesnt_care_about_your_facts_it_has_not/c60j6xl

From r/pics:

POST TITLE:
While the Olympic spirit may be gone for another four years for some of us - for others, it’s just started. Support the London Paralympics: 29th Aug - 9th September
LINK:
http://www.reddit.com/r/pics/comments/z0n8x/while_the_olympic_spirit_may_be_gone_for_another/?sort=controversial

Some controversial comments:

upvotes/downvotes: 22/20
author: TheCaptainSam
content: Unpopular opinion here. I see no point in the Paralympics, while its a shame that they have injuries that prevent them from competing on an Olympic level, there are no examples of having a second rate competition in any other aspects of life. I like to liken it to a beauty contest. If you’re ugly then tough shit there isn’t a beauty contest for people that aren’t beautiful.
link: http://www.reddit.com/r/pics/comments/z0n8x/while_the_olympic_spirit_may_be_gone_for_another/c60jglq

upvotes/downvotes: 11/8
author: stephenlethbridge
content: The Paralympics are way more impressive than the regular Olympics IMO, and I think a far better example of the best of the human spirit. It’s one thing for someone in peak physical condition run 100 m in less than 10 seconds, but to see someone with no legs do it is truly incredible.
link: http://www.reddit.com/r/pics/comments/z0n8x/while_the_olympic_spirit_may_be_gone_for_another/c60ik0w

upvotes/downvotes: 5/9
author: koplaaakk
content: You mean a guy with no legs can run slightly slower than a guy with legs? No way?!
link: http://www.reddit.com/r/pics/comments/z0n8x/while_the_olympic_spirit_may_be_gone_for_another/c60go5o

r/astronomy:

POST TITLE:
Last blue moon until 2015 appears Friday
LINK:
http://www.reddit.com/r/Astronomy/comments/z0vur/last_blue_moon_until_2015_appears_friday/?sort=controversial

Some controversial comments:

upvotes/downvotes: 2/10
author: pigeon768
content: /r/astrology is that way. —->
link: http://www.reddit.com/r/Astronomy/comments/z0vur/last_blue_moon_until_2015_appears_friday/c60lf46

There are more subreddits I would like to crawl, however the Obama AMA is going on right now and I keep getting failed GETs, so I may post some more examples later.  For now, here is the source code: https://github.com/aggrolite/contro

0 notes

How many books can we read in our lifetime?

0 notes

8 steps to becoming a more productive programmer

  1. Do not check reddit
  2. Do NOT check reddit
  3. Take breaks away from the computer
  4. Break a big task into smaller tasks
  5. Read documentation
  6. Get good sleep
  7. Communicate clearly to others
  8. Make an effort to learn
0 notes