News for hackers. Stuff that matters.

Show HN: didtheywinornot.com Single Purpose Scores Site

I built didtheywinornot.com this week in my spare hours before work. Currently it only does baseball scores, but as new seasons start in the fall, I think I'll expand it to other sports.

Would love some feedback and any ideas as to how to make it better, keeping in mind that this is meant to be single purpose and not at all bloated. Did I miss a stat that people really care about? Is the amount of information good enough?

( 49 comments | 33 points | on HN )
Re:Show HN: didtheywinornot.com Single Purpose Scores Site by imp on Friday May 21, 2010 @11:31AM (#1367630)
Cool, that's fun. Could be more fun if I wasn't an Indians fan :( Where are you getting stats from?
Re:Show HN: didtheywinornot.com Single Purpose Scores Site by lionhearted on Friday May 21, 2010 @11:51AM (#1367705)
> Could be more fun if I wasn't an Indians fan :(

Question here from non-jerk Red Sox fan - whatever happened the Indians? I look at all the talent that club had over the last 10 years and it doesn't make any sense. Sabathia, Carmona, Lee, Hafner, Martinez, Sizemore... how come the Indians never got more done?

...oh, and at least you've still got Shin Soo Choo. That guy's a hell of a player. I'm visiting South Korea and everyone's crazy about him, I see more Indians hats than Sox or Yankees even.

Re:Show HN: didtheywinornot.com Single Purpose Scores Site by bjplink on Friday May 21, 2010 @12:46PM (#1367897)
Hafner fell off the map after hurting his shoulder. This also conveniently coincided with the height of the steroid blowup. His overpaid contract has crippled the team financially since just about the second he signed it.

CC and Lee were traded immediately after winning Cy Young Awards for prospects. That's not something you do when you want to keep a winning team together. Especially when the prospects you receive back have been less than thrilling so far.

Carmona seems to be running on the fumes and reputation of one successful season. Before that, he was a failed closer. Since then he's been up and down as a starter.

The Tribe sent Martinez to Boston because, while he's an awesome hitter, he's an average at best catcher and the team felt they had better prospects coming up behind him that would be cheaper (that's a recurring theme for the last decade or so).

The Indians are hampered by a cheap owner, an uninterested fan base, and a town that ranks them a solid #3 behind LeCavs and the Holiest of Holy Browns. Home attendance this year was right around 10,000 fans the last time I checked. The weather in Ohio hasn't been the best but that's still miserable for a team that had such a long sellout streak back in the day.

Re:Show HN: didtheywinornot.com Single Purpose Scores Site by KC8ZKF on Friday May 21, 2010 @12:46PM (#1367896)
Indians GM Mark Shapiro read "Moneyball" and decided speed and defense meant absolutely nothing. He had, arguably, the best starting pitching in the Majors at some points, combined with the worst infield defense. They were streaky at the plate, and slow on the basepaths. They would lose to mediocre pitching 9 to 8, and good pitching 9 to 1.
Re:Show HN: didtheywinornot.com Single Purpose Scores Site by imp on Friday May 21, 2010 @12:48PM (#1367905)
I don't know. For some reason they never really put it all together. I've only loosely followed them since the 1997 world series. Been more of a Browns fan lately. It's easier because I don't have to worry about being disappointed. Any win is a celebration.
Re:Show HN: didtheywinornot.com Single Purpose Scores Site by apgwoz on Friday May 21, 2010 @11:39AM (#1367653)
The data is coming directly from mlb.com, who provides a json feed for non-commercial use. I hope this continues to qualify, since I'm not running ads. :)
Re:Show HN: didtheywinornot.com Single Purpose Scores Site by ai09 on Friday May 21, 2010 @12:37PM (#1367850)
Another free option for data that a friend of mine uses:

http://developer.fanfeedr.com/

2400 API pulls a day for free and I think it includes all the major sports.

Re:Show HN: didtheywinornot.com Single Purpose Scores Site by madh on Friday May 21, 2010 @01:29PM (#1368036)
There was another site called Boxscore Junkie using that data that was quite nice. It had scores, detailed boxscores, and pitchFX data. Unfortunately it was apparently shut down a legal threat from MLB.

Link to the source: http://code.google.com/p/boxscore-junkie/

Re:Show HN: didtheywinornot.com Single Purpose Scores Site by apgwoz on Friday May 21, 2010 @02:30PM (#1368287)
Ouch. I'll have to find another data source. I have to look into FanFeedr, which someone mentioned, maybe that'll work for me.
Re:Show HN: didtheywinornot.com Single Purpose Scores Site by imp on Friday May 21, 2010 @11:43AM (#1367667)
Yeah, that seems non-commercial.

One suggestion: After the initial team search, it would be nice to be able to browse the teams or games somehow. I liked the surprise of the score and description, and it would be cool to easily browse or view a random game or something like that.

Re:Show HN: didtheywinornot.com Single Purpose Scores Site by dpcan on Friday May 21, 2010 @12:42PM (#1367879)
Possible bug report.

I like it, but I typed in Mariners and it said they play San Diego "on the road" tonight, but it's a Mariners home game. So either it's unclear that it's saying San Diego is on the road, or it's incorrect because I typed in Mariners and it should say "at home".

MLB.tv's scoreboard homepage shows everything on one page though. Not sure why I'd go somewhere else.

Re:Show HN: didtheywinornot.com Single Purpose Scores Site by khill on Friday May 21, 2010 @01:44PM (#1368096)
I see the same bug. The site says the Phillies' next game is Satuday @ Boston.

They are playing the Red Sox at home and their next game is tonight, not tomorrow.

Re:Show HN: didtheywinornot.com Single Purpose Scores Site by apgwoz on Friday May 21, 2010 @01:56PM (#1368140)
Interesting. I'll have to take a look. I got the schedule data from retrosheet.org, so it's possible that is inaccurate.

The other bug is related to the fact that today's game data isn't in the feed yet. I have to be smarter about what I show in that sort of situation, which I'll be addressing this weekend.

Re:Show HN: didtheywinornot.com Single Purpose Scores Site by philwelch on Friday May 21, 2010 @02:10PM (#1368204)
The World Cup starts next month. You could do something with that.
Re:Show HN: didtheywinornot.com Single Purpose Scores Site by Judson on Friday May 21, 2010 @11:19AM (#1367594)
Like it, although for some reason, the autocomplete isn't working for me. If I type "Yankees", the box fills in "yankeesk Yankees".
Re:Show HN: didtheywinornot.com Single Purpose Scores Site by apgwoz on Friday May 21, 2010 @11:26AM (#1367615)
known bug. I have to figure out if the jquery autocomplete plugin can act a bit more sane there. It should actually go to the correct place on enter though, right?
Re:Show HN: didtheywinornot.com Single Purpose Scores Site by Judson on Friday May 21, 2010 @11:41AM (#1367659)
It goes to the correct place on Enter, just looks a bit weird.
Re:Show HN: didtheywinornot.com Single Purpose Scores Site by qeorge on Friday May 21, 2010 @11:18AM (#1367582)
This is pretty great actually, nice job. I like single purpose sites like this.

Couple of things:

1) Maybe just show the box score instead of "click for details". Its not much detail, so it seems pointless to require the extra click.

2) Is it possible to see their previous games from this week? With MLB especially its easy to get 2 games behind.

Looking forward to you adding the other sports.

Re:Show HN: didtheywinornot.com Single Purpose Scores Site by apgwoz on Friday May 21, 2010 @11:21AM (#1367604)
Thanks!

1) Are there more details that I should add? I'm hesitant to add more noise to the page, which is why I leave it hidden, but if enough people want it by default, I'll definitely change it.

2) I am storing the scores for each game I've captured, so it's definitely possible. I'll put it on the list of things to do.

Re:Show HN: didtheywinornot.com Single Purpose Scores Site by KC8ZKF on Friday May 21, 2010 @11:33AM (#1367638)
I'd like to see a box score when "Show the details" is clicked. (As opposed to the line score. I note some are calling what you now display a "box score.")
Re:Show HN: didtheywinornot.com Single Purpose Scores Site by apgwoz on Friday May 21, 2010 @11:37AM (#1367649)
what's the difference between a box score and a line score? Sorry. I'm not really a baseball fan. :)

Edit: Thanks to wikipedia, I realize that you want player stats for the game. The feed I get doesn't include them, so I'd have to use another source.

Re:Show HN: didtheywinornot.com Single Purpose Scores Site by KC8ZKF on Friday May 21, 2010 @11:42AM (#1367663)
A box score lists the players and gives summary statistics for each player. A line score just gives scoring by inning. http://en.wikipedia.org/wiki/Box_score_(baseball)
Re:Show HN: didtheywinornot.com Single Purpose Scores Site by dionidium on Friday May 21, 2010 @11:28AM (#1367625)
I second the box score idea. Also, where are you getting the data?
Re:Show HN: didtheywinornot.com Single Purpose Scores Site by apgwoz on Friday May 21, 2010 @10:59AM (#1367505)
Re:Show HN: didtheywinornot.com Single Purpose Scores Site by quile on Friday May 21, 2010 @06:04PM (#1369065)
It's a cool idea. A few months ago, I set up

http://www.isthisgameworthwatching.com

for the same kind of reason, although mine is deliberately spoiler-free so you can find out whether or not you waste your time watching a tivo'ed game before you watch. For people who don't care about spoilers (or indeed even the score!), I like your idea a lot.

Re:Show HN: didtheywinornot.com Single Purpose Scores Site by danramteke on Friday May 21, 2010 @11:48AM (#1367693)
What would be nice is a feed of Yes's and No's to go along with each page.

Something like http://www.didtheywinornot.com/mlb/new-york-yankees/feed.rss to go with http://www.didtheywinornot.com/mlb/new-york-yankees/

Re:Show HN: didtheywinornot.com Single Purpose Scores Site by apgwoz on Friday May 21, 2010 @11:49AM (#1367696)
Planned for this weekend.
Re:Show HN: didtheywinornot.com Single Purpose Scores Site by chaosmachine on Friday May 21, 2010 @12:01PM (#1367739)
Quick, add NHL teams before the playoffs are over.
Re:Show HN: didtheywinornot.com Single Purpose Scores Site by scotje on Friday May 21, 2010 @11:32AM (#1367636)
The upcoming schedule stuff doesn't seem quite right. It says the Mariners' next game is "on the road" Saturday against the Padres. Their next game is actually tonight (Friday), at home. (But it is against the Padres. :))

http://www.didtheywinornot.com/mlb/seattle-mariners/

Re:Show HN: didtheywinornot.com Single Purpose Scores Site by apgwoz on Friday May 21, 2010 @11:45AM (#1367676)
Hmm. Interesting. This gets a little tricky, because in a few hours, I'll start getting "in progress" and "pre-game" in the feeds, which means you'll end up seeing "They play the Padres today." Therefore, I don't currently use today's game, but the game after today. I'll figure out a way to fix this when I get a chance to do all the other things. :)
Re:Show HN: didtheywinornot.com Single Purpose Scores Site by mr_justin on Friday May 21, 2010 @12:31PM (#1367833)
Would love to see this for NBA. Considering we're in the semifinals right now I would've expected it :)
Re:Show HN: didtheywinornot.com Single Purpose Scores Site by apgwoz on Friday May 21, 2010 @02:29PM (#1368282)
I have plans for adding all the leagues, but I figured targetting baseball was a better idea since we still have the rest of the summer. By the fall, I hope to have the NFL, NBA, and NHL ready to go.
Re:Show HN: didtheywinornot.com Single Purpose Scores Site by aquateen on Friday May 21, 2010 @12:22PM (#1367807)
What was the goal in making this site? That might help in giving feedback. It is much quicker to type espn.com and check the top bar of the page.

Aside, Show/tell/remind HN prefixes and not including a link drives me crazy.

Re:Show HN: didtheywinornot.com Single Purpose Scores Site by pkulak on Friday May 21, 2010 @12:02PM (#1367745)
I usually just do this:

http://www.google.com/search?q=phoenix+suns

But I like how straight forward your approach is. It's a good link to send to a parent.

Re:Show HN: didtheywinornot.com Single Purpose Scores Site by pmichaud on Saturday May 22, 2010 @08:07AM (#1370203)
I thought this was going to be about the many court cases we hear about in the news, but never hear the results of. Pity.
Re:Show HN: didtheywinornot.com Single Purpose Scores Site by mortuus on Friday May 21, 2010 @11:35AM (#1367643)
I expected a story from show details. Definitely want a link to the full-story somewhere if the numbers catch my eye.
Re:Show HN: didtheywinornot.com Single Purpose Scores Site by bjonathan on Friday May 21, 2010 @11:23AM (#1367609)
great love it !

but I didnt saw the "Show the details" before reading the comments. Maybe you can put it in red or underline..

Re:Show HN: didtheywinornot.com Single Purpose Scores Site by apgwoz on Friday May 21, 2010 @11:28AM (#1367622)
Did you miss having the details? I almost didn't include them because I want to keep it as dirt simple as possible.
Re:Show HN: didtheywinornot.com Single Purpose Scores Site by bjonathan on Friday May 21, 2010 @11:30AM (#1367629)
well, in a second times yes
Re:Show HN: didtheywinornot.com Single Purpose Scores Site by w1ntermute on Friday May 21, 2010 @11:43AM (#1367665)
An abbreviated URL would be nice. didtheywinornot.com is a little long.
Re:Show HN: didtheywinornot.com Single Purpose Scores Site by apgwoz on Friday May 21, 2010 @11:47AM (#1367685)
It worked for downforeveryoneorjustme.com -- the inspiration (can you tell? ha) for didtheywinornot.com.
Re:Show HN: didtheywinornot.com Single Purpose Scores Site by w1ntermute on Friday May 21, 2010 @12:40PM (#1367866)
That's another one that's annoying :/

I created a keyword bookmark 'dfeojm' so I wouldn't have to type the whole thing in. I'll probably just create a 'dtwon' bookmark if I end up using the site oten.

Re:Show HN: didtheywinornot.com Single Purpose Scores Site by redrory on Friday May 21, 2010 @11:16AM (#1367571)
What did you use to build?
Re:Show HN: didtheywinornot.com Single Purpose Scores Site by apgwoz on Friday May 21, 2010 @11:17AM (#1367577)
bottle.py and sqlobject ontop of sqlite
Re:Show HN: didtheywinornot.com Single Purpose Scores Site by gosuri on Saturday May 22, 2010 @09:17AM (#1370257)
Love it. Great app.
Re:Show HN: didtheywinornot.com Single Purpose Scores Site by orenmazor on Friday May 21, 2010 @02:58PM (#1368378)
it cant find the habs. I dont think its working :S
Re:Show HN: didtheywinornot.com Single Purpose Scores Site by nato1138 on Friday May 21, 2010 @01:16PM (#1367995)
this site needs an api... although... hmm... it probably just would be middle-man for the api it pulls from... but all the same.. this site needs an api...
Re:Show HN: didtheywinornot.com Single Purpose Scores Site by jrockway on Friday May 21, 2010 @12:04PM (#1367752)
Re:Show HN: didtheywinornot.com Single Purpose Scores Site by mvalle on Friday May 21, 2010 @12:19PM (#1367798)
I was disappointed when when this URL was not found. You should register it!