Tuesday, August 14, 2012
Vendor Communication Frustrations
It's common for me to find firmware bugs on vendor hardware that interacts poorly with software written in house. My assumption is that vendors sell their software as a "value add", only test their hardware with their software, and have limited care for third party software. Once in awhile the vendor fixes hardware issues in their software, so the issue is technically in the third party software, but it's not the third party's fault.
When I report a bug in the firmware, it's common for a vendor to respond with something akin to, "It works for our software, it must be your software." It's a normal, yet frustrating, response. In addition, to get the problem resolved often means getting through layers of support before reaching an engineer that understands the situation.
Over time, I've come up with a few mechanisms to handle this type of issue with vendors more quickly. Here are some of them:
A) Add packet dumps or equivalently "advanced" debug information in the ticket.
I'll add information to the bug that is reasonably complex or difficult to understand. The common example is something similar to a TCP packet dump. I add something in the ticket with arrows (e.g. "See here --->") and something like "this 0x8 should be an 0x5".
Due to the complexity of the information, the ticket is typically passed up the food chain more quickly. In addition, it sometimes does not matter what software was running to generate the TCP packet dump. I can just say it was their software, they would never know.
Ironically, I sometimes have nicer/better debugging information (or even the flat out solution) I could put in the ticket. However, I often elect to put the more confusing information in the ticket b/c it ultimately resolves the problem more quickly.
B) Be very specific in your requests
It's better to ask for very clear specific information. A normal request might go like this: "I noticed an OEM piece of information on your motherboard. Can you please describe what this means?"
While this is a perfectly reasonable request, it leads to the wrong answers. A common answer might be, "Use our software X, it can show you all the information", which is of course not a useful response. Or you might get "That information means FOO, you need to do BAR for your system", which might be true, but isn't what we're really looking for.
It's better to be very specific with your request, for example "I noticed the following OEM piece of information: 0x20 0x18 0xA2. What is the mapping of OEM hex to English. 0x20 = ???, 0x18 = ???, 0xA2 = ???."
C) Site standards/specifications that can't be challenged
I'll site standards/specifications, making it clear that if they wish to counter my claim, they will have to know what they are talking about and prove it to me.
For example, I might write, "Please see the following packet dump. Clearly the X field violates section 1.2.A of the specification, second paragraph, third sentence."
This type of statement is so specific and advanced, it will typically skip lower support levels.
Tuesday, August 7, 2012
How Coding WTFs Happen
I love to laugh at the coding gaffes on TheDailyWTF, but I know that I shouldn't laugh, because I know the coding gaffes could happen to me by chance. I saw a code snippet like this one awhile back in code I work with.
I remember this pretty clearly b/c I know exactly how it reached this point. The code used to be like this:
However, as code was condensed and options eliminated, people removed only the portion of code that was necessary to remove. Only after looking at the code from a distance does someone finally realize this should be condensed to something far more reasonable (and removing the unnecessary enums too):
switch (val)
{
case ENUM_A:
do_A();
break;
case ENUM_B:
case ENUM_C:
default:
do_default();
break;
}
I remember this pretty clearly b/c I know exactly how it reached this point. The code used to be like this:
switch (val)
{
case ENUM_A:
do_A();
break;
case ENUM_B:
do_B();
break;
case ENUM_C:
do_C();
break;
default:
do_default();
break;
}
However, as code was condensed and options eliminated, people removed only the portion of code that was necessary to remove. Only after looking at the code from a distance does someone finally realize this should be condensed to something far more reasonable (and removing the unnecessary enums too):
if (NEW_BOOL_FLAG) do_A(); else do_default();
Saturday, July 28, 2012
Immature Programming
The other day I came upon the following article:
"Microsoft Apologies for "Big Boobs" Coding Gag"
The short story, a Microsoft programmer had put "0xB16B00B5" (i.e. "big boobs") in some Linux kernel code.
I thought this quote in the article summarized my thoughts on the subject
Then I paused for a second ...
While I like to think of myself as having always been the consummate professional, I suppose I was once younger and more immature. I was once told the following "cool" hex string by an older programmer and put it into some code maybe 10 or so years ago:
So when I was told this "cool" hex string, a younger version of me thought nothing of it. The fact older colleagues also thought it was cool, probably established the idea this kind of thing was acceptable.
A now older version of me now would pause and think "I probably shouldn't."
So what's the lesson learned now that I'm a tad older?
A) I shouldn't encourage this by teaching it to younger engineers
B) I should never accept them in patches or let them get through code reviews.
Update (8/1/12):
Sigh, the ghost of 0xcafebabe affected me another time somewhat recently. A colleague of mine had programmed:
"Microsoft Apologies for "Big Boobs" Coding Gag"
The short story, a Microsoft programmer had put "0xB16B00B5" (i.e. "big boobs") in some Linux kernel code.
I thought this quote in the article summarized my thoughts on the subject
"At the most basic level it's just straightforward childish humour, and the use of vaguely-English strings in magic hex constants is hardly uncommon. But it's also specifically male childish humour. Puerile sniggering at breasts contributes to the continuing impression that software development is a boys club where girls aren't welcome."I couldn't agree more.
Then I paused for a second ...
While I like to think of myself as having always been the consummate professional, I suppose I was once younger and more immature. I was once told the following "cool" hex string by an older programmer and put it into some code maybe 10 or so years ago:
#define _MAGIC 0xcafebabeIMO not as bad as "big boobs", but not exactly good.
So when I was told this "cool" hex string, a younger version of me thought nothing of it. The fact older colleagues also thought it was cool, probably established the idea this kind of thing was acceptable.
A now older version of me now would pause and think "I probably shouldn't."
So what's the lesson learned now that I'm a tad older?
A) I shouldn't encourage this by teaching it to younger engineers
B) I should never accept them in patches or let them get through code reviews.
Update (8/1/12):
Sigh, the ghost of 0xcafebabe affected me another time somewhat recently. A colleague of mine had programmed:
#define PLUGIN_FOO_INIT_NUMBER 0xcafeWhen I had to write a new plugin, I copied his code to start the new one. What did I put at the top of the file?
#define PLUGIN_BAR_INIT_NUMBER 0xbabeWell, the best thing I can do is admit the mistake, change the code, and be more conscious of this in the future.
Sunday, July 15, 2012
Statistical Pet Peeve - The Divorce Rate
Since I was in highschool and talked to friends about various social issues, the "divorce rate" in America is brought up at some point to discuss social issues.
The "divorce rate" is a statistical pet peeve for me. The reason is that the statistic makes no sense. What is the divorce rate? Is it
It's terrible. The major issue is that there is no time limit or length of time over which these statistics are measured. A "successful marriage" is normally considered one in which one spouse eventually passes away (i.e. "Til death do us part"). So if a couple gets married, then one partner dies the next day, it's considered a successful marriage because it did not lead to divorce (technically, I suppose it's a successful marriage even if someone is murdered by their spouse). However, a couple married for 50 years before deciding to get divorced is a failed marriage.
One of the most cited statistics in divorce is "50% of marriages end in divorce", which is a completely miscalculated statistic. Apparently, the statistic was generated by the fact 1.2 million divorces occurred in 1981, while 2.4 million marriages occurred in 1981. [reference]
I'm not a statistics person by trade, so I don't know what the best statistic would be. I think a statistic measuring average marriage length would be a pretty good one. Or perhaps just statistics that inform you of time frames. For example, "X% of marriages end in divorce within 1 year" or "Y% of marriages last greater than 10 years" would be far better statistics.
The "divorce rate" is a statistical pet peeve for me. The reason is that the statistic makes no sense. What is the divorce rate? Is it
- The divorce rate of currently married couples?
- The divorce rate of married couples in the past year?
- The divorce rate of 1000 people over the first 5 years of marriage?
It's terrible. The major issue is that there is no time limit or length of time over which these statistics are measured. A "successful marriage" is normally considered one in which one spouse eventually passes away (i.e. "Til death do us part"). So if a couple gets married, then one partner dies the next day, it's considered a successful marriage because it did not lead to divorce (technically, I suppose it's a successful marriage even if someone is murdered by their spouse). However, a couple married for 50 years before deciding to get divorced is a failed marriage.
One of the most cited statistics in divorce is "50% of marriages end in divorce", which is a completely miscalculated statistic. Apparently, the statistic was generated by the fact 1.2 million divorces occurred in 1981, while 2.4 million marriages occurred in 1981. [reference]
I'm not a statistics person by trade, so I don't know what the best statistic would be. I think a statistic measuring average marriage length would be a pretty good one. Or perhaps just statistics that inform you of time frames. For example, "X% of marriages end in divorce within 1 year" or "Y% of marriages last greater than 10 years" would be far better statistics.
Tuesday, June 5, 2012
How will the Wii U fare in the market?
E3 is this week and Nintendo is unveiling the new Wii U. I have a feeling the Wii U is going to fare pretty poorly in the market. Here's my reasoning with an analogy.
Some people wonder why first person shooter (FPS) games never sold well on the original Wii. Despite having more systems out there than Xbox 360 or PS3 (~95M to 66M to 64M as of this writing), many of the best FPS games on the Wii just don't sell well. As an example, the top two highly rated FPS games on the Wii are Metroid Prime 3 and GoldenEye 007 (90.16% and 83.77% on Gamerankings.com). Vgchartz shows Metroid Prime 3 sold about 1.62 million units while GoldenEye sold about 1.65 million units. Several of the Call of Duty games have sold over 1 million units on the Wii, with Call of Duty 3 topping out at 2.15 million units. I couldn't find any other FPS games on the Wii that sold over 1 million units.
In comparison, the sales numbers for FPS games on the Xbox 360 and PS3 blow these numbers out of the water. I count ten FPS titles that have sold more than 5 million units on the Xbox 360 and five FPS titles on PS3 that have surpassed 5 million units. There are tons of FPS games on both that have surpassed 1 million units.
Why the huge difference in sales? I think the answer is simple. If you are a fan of FPS games, you probably already possess a system (Xbox 360, PS3, or PC) that already has a ton of FPS titles that you would enjoy. With so many great FPS titles on those systems, you have little incentive to buy a Wii to play them. The Wii owners aren't FPS gamers.
If by chance you own a FPS popular system and a Wii, why would you want to play an FPS title on the Wii? The second highest rated FPS on the Wii is Golden Eye at 83.77%. The Xbox 360 and PS3 both have dozens of FPS titles rated above that. So the sales of FPS games on the Wii are for those few customers interested in FPS games but do not possess one of the other FPS gaming devices.
I believe the low sales of FPS games on the Wii will be an foreshadowing of how the Wii U will fare in the market. From all reports, it appears that the Wii U's hardware is only comparable to the Xbox 360 and PS3. It is not superior. While the tablet controller is a nice feature, it doesn't appear to have the same appeal that the original Wii had.
If you are a consumer who enjoys non-Nintendo video games (i.e. not Mario, Zelda, etc.), enjoys HD video streaming (Netflix, Hulu, etc.), you probably already possess the Xbox 360 or PS3. This is especially true given the fact those systems were released in 2005 and 2006 respectively. I'm not sure what the incentive will be to own a Wii U for most consumers. Add in the unknown price for the Wii U, a likely price drop for Xbox 360/PS3, a set of launch titles (Mass Effect 3, Assassins Creed 3, Ninja Gaiden, etc.) that will also be on Xbox 360/PS3 (or already are), I don't have confidence in the Wii U's wide adoption.
Some people wonder why first person shooter (FPS) games never sold well on the original Wii. Despite having more systems out there than Xbox 360 or PS3 (~95M to 66M to 64M as of this writing), many of the best FPS games on the Wii just don't sell well. As an example, the top two highly rated FPS games on the Wii are Metroid Prime 3 and GoldenEye 007 (90.16% and 83.77% on Gamerankings.com). Vgchartz shows Metroid Prime 3 sold about 1.62 million units while GoldenEye sold about 1.65 million units. Several of the Call of Duty games have sold over 1 million units on the Wii, with Call of Duty 3 topping out at 2.15 million units. I couldn't find any other FPS games on the Wii that sold over 1 million units.
In comparison, the sales numbers for FPS games on the Xbox 360 and PS3 blow these numbers out of the water. I count ten FPS titles that have sold more than 5 million units on the Xbox 360 and five FPS titles on PS3 that have surpassed 5 million units. There are tons of FPS games on both that have surpassed 1 million units.
Why the huge difference in sales? I think the answer is simple. If you are a fan of FPS games, you probably already possess a system (Xbox 360, PS3, or PC) that already has a ton of FPS titles that you would enjoy. With so many great FPS titles on those systems, you have little incentive to buy a Wii to play them. The Wii owners aren't FPS gamers.
If by chance you own a FPS popular system and a Wii, why would you want to play an FPS title on the Wii? The second highest rated FPS on the Wii is Golden Eye at 83.77%. The Xbox 360 and PS3 both have dozens of FPS titles rated above that. So the sales of FPS games on the Wii are for those few customers interested in FPS games but do not possess one of the other FPS gaming devices.
I believe the low sales of FPS games on the Wii will be an foreshadowing of how the Wii U will fare in the market. From all reports, it appears that the Wii U's hardware is only comparable to the Xbox 360 and PS3. It is not superior. While the tablet controller is a nice feature, it doesn't appear to have the same appeal that the original Wii had.
If you are a consumer who enjoys non-Nintendo video games (i.e. not Mario, Zelda, etc.), enjoys HD video streaming (Netflix, Hulu, etc.), you probably already possess the Xbox 360 or PS3. This is especially true given the fact those systems were released in 2005 and 2006 respectively. I'm not sure what the incentive will be to own a Wii U for most consumers. Add in the unknown price for the Wii U, a likely price drop for Xbox 360/PS3, a set of launch titles (Mass Effect 3, Assassins Creed 3, Ninja Gaiden, etc.) that will also be on Xbox 360/PS3 (or already are), I don't have confidence in the Wii U's wide adoption.
Tuesday, May 29, 2012
Buying History for Your Organization
Back when I analyzed the market for then free agent Albert Pujols, there was one component I didn't touch on.
Growing up in the St. Louis area and growing up a Cardinals fan, I sometimes take the legacy/history of an organization for granted. The following are the Cardinals retired numbers excluding managers, owners, and Jackie Robinson, along with it are extra notes: HOF = Hall of Famer, GG = Gold Gloves awards, MVP = Most Valuable Player awards, CY = Cy Young awards, AS = All Star appearances. The first number on counts is the number of career times with an award/appearance, and the second number is the number of times done as a Cardinal.
#1 - Ozzie Smith (HOF, 13/11 GG, 15/14 AS)
#2 - Red Schoendienst (HOF, 10/9 AS)
#6 - Stan Musial (HOF, 3/3 MVP, 20/20 AS)
#9 - Enos Slaughter (HOF, 10/10 AS)
#14 - Ken Boyer (1/1 MVP, 5/5 GG, 7/7 AS)
#17 - Dizzy Dean (HOF, 1/1 MVP, 4/4 AS)
#20 - Lou Brock (HOF, 6/6 AS)
#42 - Bruce Sutter (HOF, 1/0 CY, 6/2 AS)
#45 - Bob Gibson (HOF, 2/2 CY, 1/1 MVP, 8/8 AS, 9/9 GG)
That's 8 Hall of Famers, 5 MVPs, 2 Cy Youngs, 24 Gold Gloves, and 80 All Star appearances as Cardinals. It includes a player that would be regarded as legendary (Stan Musial). Only one is not a Hall of Famer (Ken Boyer), and only one of these players might not be considered most famed for his time with the Cardinals (Bruce Sutter). It includes two members of the 3000 hit club (Stan Musial, Lou Brock), a man with a legendary 1.12 ERA in 1968 (Bob Gibson), and what most consider the greatest defensive shortstop of all time (Ozzie Smith).
In contrast, lets take a look at the the Houston Astros.
#5 - Jeff Bagwell (1/1 MVP, 4/4 AS, 1/1 GG)
#7 - Craig Biggio (7/7 AS, 4/4 GG)
#24 - Jimmy Wynn (3/1 AS)
#25 - Jose Cruz (2/2 AS)
#32 - Jim Umbricht
#33 - Mike Scott (3/3 AS, 1/1 CY)
#34 - Nolan Ryan (HOF, 8/2 AS)
#40 - Don Wilson (1/1 AS)
#49 - Larry Dierker (2/2 AS)
This is a different group of players. Nolan Ryan is the only Hall of Famer and he may be more famed as a non-Astro (making more All Star appearances with other teams). Jeff Bagwell and Craig Biggio still have shots at the Hall of Fame but it's unlikely anyone else in the group has a shot. There are fewer MVPs (1 vs 5), Cy Youngs (1 vs 2), Gold Gloves (5 vs 24), and All Star appearances (15 vs. 80).
Now lets look at the Anaheim Angels.
#11 - Jim Fregosi (6/6 AS, 1/1 GG)
#29 - Rod Carew (HOF, 18/6 AS, 1/0 MVP)
#30 - Nolan Ryan (HOF, 8/5 AS)
#50 - Jimmie Reese
Nolan Ryan may be considered by some to be most famed as an Angel, but Rod Carew is most famous as a Twin. After that, it's not much for the Anaheim retired numbers. I won't bother counting the various stats, as it's much worse than the Cardinals and generally worse than the Astros. There's a few players that could have also had their numbers retired (Garret Anderson or Tim Salmon come to mind), but there aren't any MVPs on their resume, just a few All Star appearances.
There are many clubs with similar histories without many Hall of Famers. So the question is, how much is that kind of history and legacy worth to an organization? How much is would they be willing to pay for it?
I can see an organization like Anaheim wanting to sign an Albert Pujols to try and add that type of history to the organization. There are only a few players that come along in baseball history that will amass the number of home runs Albert Pujols will amass. Barring some catastrophic injury, he's guaranteed to hit 500 (joining only 25 others). 600 home runs is a very good bet (joining only 8 others), and 700 might not be out of the question. How many players come around in a generation that will get 3000 career hits? Albert Pujols is very likely to reach that number too.
For an Anaheim and many organizations, having Albert Pujols do that in their uniform would be something very special.
Growing up in the St. Louis area and growing up a Cardinals fan, I sometimes take the legacy/history of an organization for granted. The following are the Cardinals retired numbers excluding managers, owners, and Jackie Robinson, along with it are extra notes: HOF = Hall of Famer, GG = Gold Gloves awards, MVP = Most Valuable Player awards, CY = Cy Young awards, AS = All Star appearances. The first number on counts is the number of career times with an award/appearance, and the second number is the number of times done as a Cardinal.
#1 - Ozzie Smith (HOF, 13/11 GG, 15/14 AS)
#2 - Red Schoendienst (HOF, 10/9 AS)
#6 - Stan Musial (HOF, 3/3 MVP, 20/20 AS)
#9 - Enos Slaughter (HOF, 10/10 AS)
#14 - Ken Boyer (1/1 MVP, 5/5 GG, 7/7 AS)
#17 - Dizzy Dean (HOF, 1/1 MVP, 4/4 AS)
#20 - Lou Brock (HOF, 6/6 AS)
#42 - Bruce Sutter (HOF, 1/0 CY, 6/2 AS)
#45 - Bob Gibson (HOF, 2/2 CY, 1/1 MVP, 8/8 AS, 9/9 GG)
That's 8 Hall of Famers, 5 MVPs, 2 Cy Youngs, 24 Gold Gloves, and 80 All Star appearances as Cardinals. It includes a player that would be regarded as legendary (Stan Musial). Only one is not a Hall of Famer (Ken Boyer), and only one of these players might not be considered most famed for his time with the Cardinals (Bruce Sutter). It includes two members of the 3000 hit club (Stan Musial, Lou Brock), a man with a legendary 1.12 ERA in 1968 (Bob Gibson), and what most consider the greatest defensive shortstop of all time (Ozzie Smith).
In contrast, lets take a look at the the Houston Astros.
#5 - Jeff Bagwell (1/1 MVP, 4/4 AS, 1/1 GG)
#7 - Craig Biggio (7/7 AS, 4/4 GG)
#24 - Jimmy Wynn (3/1 AS)
#25 - Jose Cruz (2/2 AS)
#32 - Jim Umbricht
#33 - Mike Scott (3/3 AS, 1/1 CY)
#34 - Nolan Ryan (HOF, 8/2 AS)
#40 - Don Wilson (1/1 AS)
#49 - Larry Dierker (2/2 AS)
This is a different group of players. Nolan Ryan is the only Hall of Famer and he may be more famed as a non-Astro (making more All Star appearances with other teams). Jeff Bagwell and Craig Biggio still have shots at the Hall of Fame but it's unlikely anyone else in the group has a shot. There are fewer MVPs (1 vs 5), Cy Youngs (1 vs 2), Gold Gloves (5 vs 24), and All Star appearances (15 vs. 80).
Now lets look at the Anaheim Angels.
#11 - Jim Fregosi (6/6 AS, 1/1 GG)
#29 - Rod Carew (HOF, 18/6 AS, 1/0 MVP)
#30 - Nolan Ryan (HOF, 8/5 AS)
#50 - Jimmie Reese
Nolan Ryan may be considered by some to be most famed as an Angel, but Rod Carew is most famous as a Twin. After that, it's not much for the Anaheim retired numbers. I won't bother counting the various stats, as it's much worse than the Cardinals and generally worse than the Astros. There's a few players that could have also had their numbers retired (Garret Anderson or Tim Salmon come to mind), but there aren't any MVPs on their resume, just a few All Star appearances.
There are many clubs with similar histories without many Hall of Famers. So the question is, how much is that kind of history and legacy worth to an organization? How much is would they be willing to pay for it?
I can see an organization like Anaheim wanting to sign an Albert Pujols to try and add that type of history to the organization. There are only a few players that come along in baseball history that will amass the number of home runs Albert Pujols will amass. Barring some catastrophic injury, he's guaranteed to hit 500 (joining only 25 others). 600 home runs is a very good bet (joining only 8 others), and 700 might not be out of the question. How many players come around in a generation that will get 3000 career hits? Albert Pujols is very likely to reach that number too.
For an Anaheim and many organizations, having Albert Pujols do that in their uniform would be something very special.
Friday, April 27, 2012
Albert Pujol's Terrible Start - Should Fans be Worried?
Albert Pujols is off to a terrible start in his Angels career. As of this writing he's hitting:
.224 BA, .280 OBP, .316 SLG, .596 OPS, 0 HRs
Yup, that's a big zero home runs for the man who's currently 37th all time in home runs. It's significantly worse than his April 2011 slump where he hit:
.245 BA, .305 OBP, .453 SLG, .758 OPS, 7 HRs
The question is, should Angel's fans be concerned? It's interesting that there are instances of Hall of Fame caliber players having ridiculous slumps in their careers.
One that comes to mind is Frank Thomas. From 1991 to 1997, Frank Thomas averaged:
.330 BA, .452 OBP, .604 SLG, 1.056 OPS
Then in 1998-1999, Frank Thomas was just not himself. In 1998 he hit:
.265 BA, .381 OBP, .480 SLG, .861 OPS
and 1999 wasn't that much better. Then all of a sudden he was back to form in 2000:
.328 BA, .436 OBP, .625 SLG, 1.061 OPS
Injuries and age slowed down Thomas' production the rest of the way, but at the age of 38 he was still able to produce a .926 OPS with 39 home runs in Oakland. He even put up 26 home runs and a .857 OPS when he was 39 years old in Toronto.
Another player I remember having a year long slump was Mark McGwire. From 1987 to 1990 he averaged:
.255 BA, .358 OBP, .515 SLG, .873 OPS, 38 HRs
then in 1991 he had a terrible year:
.201 BA, .330 OBP, .383 SLG, .714 OPS, 22 HRs
I remember Mark McGwire sat out the last game of the year, for fear his batting average would dip below .200. Then he rebounded and was pretty normal again in 1992:
.268 BA, .385 OBP, .585 SLG, .970 OPS
while he had injuries, we know the story of the rest of Mark McGwire's career, culminating with leading the majors in home runs 3 years in a row from 1997-1999.
The last (and most recent) example I could think of was David Ortiz in 2009. Through the month of May, David Ortiz had this horrific line:
.185 BA, .284 OBP, .287 SLG, .570 OPS, 1 HR
since then, David Ortiz has continued to be the solid DH slugger he always has been. He finished 2009 with a .794 OPS, had a .899 OPS in 2010, and a .953 OPS in 2011.
The short story of these examples is that great hitters typically do not disappear and fail to hit in the future. They may have to grind through some injuries as they age and perhaps adjust as they age, but crazy slumps do occur. Perhaps Pujols is dealing with the pressure of $250M contract or he's having difficulty handling the new Los Angeles media. Long term though, he should be fine.
Update (5/14/12):
I forgot about the case of one of my favorite players in baseball, El Grande Donkey Adam Dunn. From 2004 to 2010 Dunn averaged:
.253 BA, .381 OBP, .533 SLG, .914 OPS, 40 HRs
He's not Albert Pujols, but those are great slugging numbers for any power hitter to put up. Then in 2011 he had a line that was embarrassing.
.159 BA, .292 OBP, .277 SLG, .569 OPS, 11 HRs
Adam Dunn is not Albert Pujols, but how does a player go from about a .900 OPS to sub-.600 OPS for a year and getting benched? Stress over a big contract? Trouble adjusting to a new league? Who knows. What we do know is he's recovering quite nicely in 2012. Through the time of this writing Dunn is hitting:
.248 BA, .390 OBP, .607 SLG, .997 OPS, 11 HRs
So he appears to be pretty much back to normal.
Update (6/10/12):
I noticed something funny w/ Albert Pujols of late. On 5/15/12, the Anaheim Angel's hitting coach was fired.
Through 5/15/12 Albert Pujols hit:
.212 BA, .248 OBP, .288 SLG, .536 OPS, 1 HRs
from 5/15 to 6/9, Albert Pujols hit:
.322 BA, .394 OBP, .678 SLG, 1.072 OPS, 8 HRs
coincidence
.224 BA, .280 OBP, .316 SLG, .596 OPS, 0 HRs
Yup, that's a big zero home runs for the man who's currently 37th all time in home runs. It's significantly worse than his April 2011 slump where he hit:
.245 BA, .305 OBP, .453 SLG, .758 OPS, 7 HRs
The question is, should Angel's fans be concerned? It's interesting that there are instances of Hall of Fame caliber players having ridiculous slumps in their careers.
One that comes to mind is Frank Thomas. From 1991 to 1997, Frank Thomas averaged:
.330 BA, .452 OBP, .604 SLG, 1.056 OPS
Then in 1998-1999, Frank Thomas was just not himself. In 1998 he hit:
.265 BA, .381 OBP, .480 SLG, .861 OPS
and 1999 wasn't that much better. Then all of a sudden he was back to form in 2000:
.328 BA, .436 OBP, .625 SLG, 1.061 OPS
Injuries and age slowed down Thomas' production the rest of the way, but at the age of 38 he was still able to produce a .926 OPS with 39 home runs in Oakland. He even put up 26 home runs and a .857 OPS when he was 39 years old in Toronto.
Another player I remember having a year long slump was Mark McGwire. From 1987 to 1990 he averaged:
.255 BA, .358 OBP, .515 SLG, .873 OPS, 38 HRs
then in 1991 he had a terrible year:
.201 BA, .330 OBP, .383 SLG, .714 OPS, 22 HRs
I remember Mark McGwire sat out the last game of the year, for fear his batting average would dip below .200. Then he rebounded and was pretty normal again in 1992:
.268 BA, .385 OBP, .585 SLG, .970 OPS
while he had injuries, we know the story of the rest of Mark McGwire's career, culminating with leading the majors in home runs 3 years in a row from 1997-1999.
The last (and most recent) example I could think of was David Ortiz in 2009. Through the month of May, David Ortiz had this horrific line:
.185 BA, .284 OBP, .287 SLG, .570 OPS, 1 HR
since then, David Ortiz has continued to be the solid DH slugger he always has been. He finished 2009 with a .794 OPS, had a .899 OPS in 2010, and a .953 OPS in 2011.
The short story of these examples is that great hitters typically do not disappear and fail to hit in the future. They may have to grind through some injuries as they age and perhaps adjust as they age, but crazy slumps do occur. Perhaps Pujols is dealing with the pressure of $250M contract or he's having difficulty handling the new Los Angeles media. Long term though, he should be fine.
Update (5/14/12):
I forgot about the case of one of my favorite players in baseball, El Grande Donkey Adam Dunn. From 2004 to 2010 Dunn averaged:
.253 BA, .381 OBP, .533 SLG, .914 OPS, 40 HRs
He's not Albert Pujols, but those are great slugging numbers for any power hitter to put up. Then in 2011 he had a line that was embarrassing.
.159 BA, .292 OBP, .277 SLG, .569 OPS, 11 HRs
Adam Dunn is not Albert Pujols, but how does a player go from about a .900 OPS to sub-.600 OPS for a year and getting benched? Stress over a big contract? Trouble adjusting to a new league? Who knows. What we do know is he's recovering quite nicely in 2012. Through the time of this writing Dunn is hitting:
.248 BA, .390 OBP, .607 SLG, .997 OPS, 11 HRs
So he appears to be pretty much back to normal.
Update (6/10/12):
I noticed something funny w/ Albert Pujols of late. On 5/15/12, the Anaheim Angel's hitting coach was fired.
Through 5/15/12 Albert Pujols hit:
.212 BA, .248 OBP, .288 SLG, .536 OPS, 1 HRs
from 5/15 to 6/9, Albert Pujols hit:
.322 BA, .394 OBP, .678 SLG, 1.072 OPS, 8 HRs
coincidence
Subscribe to:
Posts (Atom)