I had lunch at Seattle's sandwich Nazi today, aka Bakeman's Restaurant. As recommended, I had the turkey. Yes, it was good, but not worth the abuse.
I got berated for telling him I had cranberry on my sandwich (which costs an extra 25¢).
If you enjoy abuse, it's a great place. Otherwise... meh. I get abuse all day long at work.
Tuesday, October 28, 2008
If the polls are skewed...
There's been some concern about the accuracy of polls -- are people telling the truth? Is there a skew towards Obama because people are afraid of appearing racist? Is there a skew towards McCain because polls exclude non-land-line owners (who tend to be older and more Republican)?
Well, I can't answer the "accuracy" question with any certainty. However, being the database geek that I am, I can crunch numbers.
I took the poll data from RealClearPolitics and tossed them into an SQLite database; you can download the database itself here. Taking the latest poll data, here's what the election results look like if the percentage points are skewed in one direction or another.
In case you want to play with the database:
ELECTORAL_VOTES contains a mapping from state to number of electoral votes for that state (state, votes).
POLLS contains a listing of each poll; the rows contain: state, poll_date, poll_name, obama, mccain.
LATEST_POLLS is a view containing the latest polls from POLLS.
SKEW is a table containing the integers from -6 to 6.
The query to produce the above table is:
Well, I can't answer the "accuracy" question with any certainty. However, being the database geek that I am, I can crunch numbers.
I took the poll data from RealClearPolitics and tossed them into an SQLite database; you can download the database itself here. Taking the latest poll data, here's what the election results look like if the percentage points are skewed in one direction or another.
Skew | Obama | McCain | Undecided | Result |
McCain +6 | 263 | 276 | 0 | McCain |
McCain +5 | 263 | 215 | 61 | No winner |
McCain +4 | 324 | 182 | 33 | Obama |
McCain +3 | 357 | 182 | 0 | Obama |
McCain +2 | 357 | 182 | 0 | Obama |
McCain +1 | 357 | 182 | 0 | Obama |
No Skew | 357 | 168 | 14 | Obama |
Obama +1 | 371 | 168 | 0 | Obama |
Obama +2 | 371 | 168 | 0 | Obama |
Obama +3 | 371 | 168 | 0 | Obama |
Obama +4 | 371 | 168 | 0 | Obama |
Obama +5 | 371 | 158 | 10 | Obama |
Obama +6 | 381 | 132 | 26 | Obama |
In case you want to play with the database:
ELECTORAL_VOTES contains a mapping from state to number of electoral votes for that state (state, votes).
POLLS contains a listing of each poll; the rows contain: state, poll_date, poll_name, obama, mccain.
LATEST_POLLS is a view containing the latest polls from POLLS.
SKEW is a table containing the integers from -6 to 6.
The query to produce the above table is:
select skew, sum(obama_votes), sum(mccain_votes), ifnull(sum(undecided_votes), 0)
from (select skew, (mccain - obama > skew) * votes mccain_votes,
(mccain - obama < skew) * votes obama_votes,
(mccain - obama = skew) * votes undecided_votes
from latest_polls
cross join skew order by skew) group by skew;
Monday, October 20, 2008
Powell's lament
Buddy, I know how you feel. From today's New York Times:
McCain continues to disappoint me. I had hopes that his shift from his 2000/2004 persona was a ploy to clinch the nomination and appease the powers in the party. Alas, as the NYT article points out with his choice of advisers, he's just going deeper and deeper into neocon territory.
"I have some concerns about the direction that the party has taken in recent years," Mr. Powell told Tom Brokaw on "Meet the Press" on NBC as he made his endorsement of Mr. Obama. "It has moved more to the right than I would like to see it."I've also been reading a new biography of Barry Goldwater written by John Dean and Barry Goldwater, Jr., Pure Goldwater. My father -- a Goldwater supporter in the 60s -- gave me an autographed copy. I'm only about halfway through it; so far, though, I'm quite enjoying it and am finding him to be a man whose wisdom we desperately need today. At any rate, I think Goldwater would've been fairly disappointed in the Republican party of today, too.
McCain continues to disappoint me. I had hopes that his shift from his 2000/2004 persona was a ploy to clinch the nomination and appease the powers in the party. Alas, as the NYT article points out with his choice of advisers, he's just going deeper and deeper into neocon territory.
Sunday, October 12, 2008
I am dead to the Internet
Apparently, the Internet thinks I should be dead, given my current exercise regimen:
Anyway, this is my new standard workout. I've been swimming in Port Orchard Narrows (which, despite the name, is actually a channel/strait, not a port) from Fletcher Landing (short bike ride from my house) down to the tip of Crystal Springs. Google Earth puts it at 1.18 miles. My thermometer puts it at 50°-56°, depending on the day.
- Few people can swim a mile in fifty degree water. Apparently, I'm one of the elusive few who can do two miles.
- An average adult person has a 50/50 chance of surviving a 50 yard swim in 50°F water. Well, given the number of times and total distance I've swum in 50° water, it's a statistical certainty that I should have died.
- This site puts expected time before unconsciousness at 1 hour for 50° water. Dang... if only I could get those two miles in under an hour...
- The chart at the bottom of this page concurs: a "clo" value of 0.06 (nude) means death at just over an hour. Dang, those Speedos I have must be great.
Anyway, this is my new standard workout. I've been swimming in Port Orchard Narrows (which, despite the name, is actually a channel/strait, not a port) from Fletcher Landing (short bike ride from my house) down to the tip of Crystal Springs. Google Earth puts it at 1.18 miles. My thermometer puts it at 50°-56°, depending on the day.
Thursday, October 9, 2008
Apples
I didn't get a chance to follow the news today. Why were there so many folks selling apples on the street corners on my ride home?
Actually, right now I'm feeling somewhat lucky; back in July, I sold all the stock I had and took out a loan against my 401(k) when we bought the house. I wish I could say that it was some keen insight, but it was just pure luck. Not so lucky: working in an industry where much of my compensation comes in the form of stock. I suspect a lot of folks, myself included, will max out on the capital loss deduction come next April.
Scary times.
Actually, right now I'm feeling somewhat lucky; back in July, I sold all the stock I had and took out a loan against my 401(k) when we bought the house. I wish I could say that it was some keen insight, but it was just pure luck. Not so lucky: working in an industry where much of my compensation comes in the form of stock. I suspect a lot of folks, myself included, will max out on the capital loss deduction come next April.
Scary times.
Saturday, October 4, 2008
Flight Simulator
There's an Airbus flight simulator on sale over at DoveBid. It won't install on your PC, though; you'll need a warehouse.
Oh, man... this could be a lot of fun...
Oh, man... this could be a lot of fun...
Subscribe to:
Posts (Atom)