BR.com's Sports Reference Blog

September 28, 2007

Demo of tables for stats

Filed under: Hacks, New Features, Uncategorized — Sean @ 4:01 pm

League Batting Register
1987 Cardinals

THESE ARE VERY ROUGH!

Couple obvious bugs.

Sorting the league register causes the intermediate headers to get bunched up. We have a solution for this. However, the intermediate headers will go away on a sort.

I suppose I also need to somehow add a minimum PA/IP feature in for that table.

The row-by-row alternating highlighting survives the sort, but slows it down. The team page has column highlighting, but it is horribly slow in IE for long pages, so I had to remove it.

The sorting is poky for the big tables. I would like to give some feedback to the user that it is actually doing something, but haven’t been able to figure anything out yet.

September 26, 2007

Explaining the Excel Bug - Joel on Software

Filed under: For Fun, Hacks — Sean @ 10:34 pm

Explaining the Excel Bug - Joel on Software

This has come up on some newsgroups I’m in and this is a nice explanations.

I’ve taught Numerical Analysis five or six time to undergrads and I go through the IEEE floating point representation pretty carefully with them. I typically demonstrate the 0.1 has no exact representation in binary is one of my favorite examples.

You can get a nice demo of this in perl doing the following.

$i = 0;
while ($i != 1) {

print “$i\n”;
$i = $i + 0.1;
}

If floating were exact this would terminate after 10 or 11 loops (it’s late), but since it isn’t the value of $i never actually is exactly 1, so it doesn’t terminate. Yes, I’m a geek.

September 21, 2007

Help us figure something out

Filed under: Research — Sean @ 3:25 pm

The Sports Reference sites are going to be undergoing a bit of a metamorphosis over the next four months. We’ll be joining together as one company and working on unifying our coding and data storage practices.

Basketball, Football, Baseball, and Hockey (we are getting close on acquiring a great data set) will be launching, re-launching, or seeing significant changes/additions in the next six months.

Since a lot of this change is happening under the hood, we’ve talked about moving from pre-formatted text to tables. There are a lot of formatting reasons to go to tables and also reasons related to accessibility for sight-impaired users. We’ve pushed the pre-formatted text about as far as it can go and I think there is an opportunity for a lot more interactivity and formatting with tables.

This is a major change, so I’m curious how people will feel about it. Do you prefer S-R because of the pre-formatted text? Are you worried it will slow things down? Do you have no idea what I’m talking about?

September 5, 2007

Minors.Baseball-Reference.com has launched

Filed under: New Features — Sean @ 12:30 pm

I’m very pleased to announce that Sports Reference has launched a minor league subsite for Baseball-Reference.com. This site includes 16 years of data back to 1992 and contains all of the 2007 regular season data (we’ll get the NYP and NW leagues updated this weekend after their seasons end).

We have the following types of page and maybe a few more I’m missing.

This site is almost entirely the work of Justin Kubatko who is now a full-time Sports Reference employee. When he isn’t maintaining the best Basketball Stats Site on the internet, he’ll be helping out with baseball and football and working on special projects on those sites. It has been great having Justin on board the past few months. He is a very talented designer and programmer and a tremendous colleague as well. Next, you should start seeing some more good things on Pro-Football-Reference.com.

I would also like to point out the considerable amount of minor league reference material on the Bullpen Wiki. An astounding amount of work has been done entering each team’s minor league affiliates and listing league champs and memorable teams and players.

There is still more to do on these pages. We need to integrate with the draft data (which needs updating for 2007). Maybe add some college data. Maybe some foreign data. I also have some more historical data that isn’t complete for years, but might be nice to have for individual players. I’m also going to think about integrating this data into the regular B-R pages. Right now we just have a link from the major league page to the minor league page. Sponsorships? Perhaps.

I’m open to any suggestions you might have for improvement.

Also, if you are looking for data farther back than 1992, you might want to check out The Baseball Cube as they have data going back to 1978. Will B-R ever get back that far? I don’t want to make any promises, but I think we may end up that far back and farther over the next year or so.

September 4, 2007

Stat of the Day » Game and Season Finders now show the total number of matching seasons

Filed under: New Features — Sean @ 4:11 pm

Stat of the Day » Game and Season Finders now show the total number of matching seasons

I know that a few people here are interested in this and may not read the Stat of the Day blog every day.

Powered by WordPress