5 ms·
Automated NBA game recaps with more context than your typical boxscore. Note: I am not a web developer, so this project has been mainly to teach myself a new t
by kohanz 13y ago
Automated NBA game recaps with more context than your typical boxscore.
Note: I am not a web developer, so this project has been mainly to teach myself a new technology (Rails, primarily). It is very much a work in progress. Also, clearly, I am not a designer and am not really sweating that for now.
http://recappd.com/games/2014/2/24 http://recappd.com/games/2014/2/24
- jpwright 13y agoLove it. Please keep it going!
- kohanz 13y agoThank you! This kind of feedback is incredibly motivating.
- sehr 13y agoSite seems to be down. But when you're finished, hawk this on /r/nba. Lots of devoted fans there, and contributions are very much appreciated.
- kohanz 13y agoThanks for the feedback! It's running on a single droplet on DigitalOcean, so my guess is it can't handle even the slight amount of traffic I'm getting from this HN post. Beyond server-side caching, I think my code is fairly non-optimal. If anyone has any tips for serving up a site like this with limited resources, feel free to teach me.
- sehr 13y agoI don't know if you're aware, but the community section of Digital Ocean has some informative articles on stuff like this, there was actually one posted today about scaling Ruby on Rails applications. Either way, it's a good problem to have! https://www.digitalocean.com/community https://www.digitalocean.com/community
- kohanz 13y agoThanks for the link, I will definitely take a look at that. I have found some of those articles to be useful, although external blog posts and gists have proved just as valuable. One recent accomplishment was automating deployment to a single command with Capistrano. Took me a lot longer to set that up than it probably should have, but feels great now :)
- dsschnau 13y agoWhere do you get your data for the games? I've been thinking about doing something similar for NHL...
- kohanz 13y agoScraping. There are a ton of sources for NBA, be it nba.com/stats, ESPN, CNNSI, etc. Many of these sites serve up their play-by-play on a JSON feed, which makes it even easier. However, I must warn you, the data is not as clean and robust as you may like. A large part of my work was implementing a cleaning algorithm to infer missing data.