News.YC in Polar Coordinates
labs.diffle.com
News.YC in Polar Coordinates
1–10 of 11 posts
Re: News.YC in Polar Coordinates
#2A lot of the features (animation, selection, title/domain swapping) are basically gratuitous - I wanted to get more practice with JQuery since I need that functionality in my startup. Hell, the whole thing is basically gratuitous. But it was pretty fun to write.
John was working on a scraper for Reddit...that may be a bit more interesting, since it updates more frequently and the larger audience means more posts in common.
Re: News.YC in Polar Coordinates
#3Re: News.YC in Polar Coordinates
#4This was something that John Yu (yubrew) and I hacked up during DevHouseBoston this weekend. It scrapes the front page, figures out which stories have commenters in common, and plots it in polar coordinates. The radial coordinate is the total number of comments, on a logarithmic scale (with the inner 1/3 or so reserved to reduce clutter). The angular coordinate attempts to cluster together stories with similar commen…
- extract & parse with python + beautifulSoup, display with YUI
- parsing the RSS feed for user, story points, story title and date posted
- then grabbing user details via homepage for karma, inception date
- exporting to xml
- skinning with YUI
Will display when ready, heres a screenshot ~ http://flickr.com/photos/bootload/1400863977/
Re: News.YC in Polar Coordinates
#5Re: News.YC in Polar Coordinates
#6This was something that John Yu (yubrew) and I hacked up during DevHouseBoston this weekend. It scrapes the front page, figures out which stories have commenters in common, and plots it in polar coordinates. The radial coordinate is the total number of comments, on a logarithmic scale (with the inner 1/3 or so reserved to reduce clutter). The angular coordinate attempts to cluster together stories with similar commen…
Nice hack nostro. What process did you use to scrape? Been working on a newsyc scraper - extract & parse with python + beautifulSoup, display with YUI - parsing the RSS feed for user, story points, story title and date posted - then grabbing user details via homepage for karma, inception date - exporting to xml - skinning with YUI Will display when ready, heres a screenshot ~ http://flickr.com/photos/bootload/1400863…
I don't mind sharing the code if PG doesn't mind the potential flood of screen scrapers. It just handles the front page and comment page for individual articles, and it's pretty compact - only 60 lines including doc comments.
Re: News.YC in Polar Coordinates
#7This was something that John Yu (yubrew) and I hacked up during DevHouseBoston this weekend. It scrapes the front page, figures out which stories have commenters in common, and plots it in polar coordinates. The radial coordinate is the total number of comments, on a logarithmic scale (with the inner 1/3 or so reserved to reduce clutter). The angular coordinate attempts to cluster together stories with similar commen…
Re: News.YC in Polar Coordinates
#8This was something that John Yu (yubrew) and I hacked up during DevHouseBoston this weekend. It scrapes the front page, figures out which stories have commenters in common, and plots it in polar coordinates. The radial coordinate is the total number of comments, on a logarithmic scale (with the inner 1/3 or so reserved to reduce clutter). The angular coordinate attempts to cluster together stories with similar commen…
Similar commenters mostly appears to be Paul. Why did you choose that criterion?
I chose this criterion mostly so you could see who's participating in other threads similar to the articles you like.
Re: News.YC in Polar Coordinates
#9Earlier quoted context omitted.
Similar commenters mostly appears to be Paul. Why did you choose that criterion?
Depends where you're looking. pg seems to be common to the south. However, up at the north there are a bunch that are all gwenhyfaer, while to the west is joshwa and Readmore. Which makes sense, since the plot tries to cluster by common commenters along the angular direction. I chose this criterion mostly so you could see who's participating in other threads similar to the articles you like.
Re: News.YC in Polar Coordinates
#10Earlier quoted context omitted.
Depends where you're looking. pg seems to be common to the south. However, up at the north there are a bunch that are all gwenhyfaer, while to the west is joshwa and Readmore. Which makes sense, since the plot tries to cluster by common commenters along the angular direction. I chose this criterion mostly so you could see who's participating in other threads similar to the articles you like.
Doesn't seem to be working correctly on my browser then (ff 2, XP). Commenters do not always load correctly and sometimes requires clicking back into one of the links. In the end, I'm not sure I'm seeing what you are seeing.