Sunday, June 25, 2006 

In May, I pounded out a record 31 blog posts. June draws to a close and this is only my third post.

In brief, here's some of the highlights of June.

The Wild Geese Players of Seattle read the Cyclops chapter of Ulysses on June 16th. I read a part and I was also the script wrangler and webmaster.

My profile on my Windows XP laptop got corrupted. I decided that I would make flatten it and turn it into a dual-boot system. I'm now on my third week of running Ubuntu 6.06 (Dapper Drake). Quite easy to get going. Not so easy to get everything that I wanted running on it.

In late May at WinHEC, Microsoft announced FlexGo, the new pay-as-you-go and subscription versions of Windows. I spent a year working on this project, specifically on the hardware locking that underlies the business model. I swear I will write a more interesting post on this soon.

This weekend was Gay Pride, which was held for the first time at the Seattle Center. I helped staff the Freely Speaking Toastmasters booth yesterday morning.

As one of my commitments when I stepped down as president of BiNet Seattle I made up a new banner, which we marched behind in the Raise Your Voice march yesterday evening.

My woodworking class has finished, so my Tuesday nights are free for the summer. I'm making a coffee table. It's about half finished. I've taken a few photos along the way; I'll have to post some of them.

posted on Monday, June 26, 2006 6:57:01 AM (Pacific Daylight Time, UTC-07:00) 
#    Comments [0]
Saturday, June 03, 2006 

The Ninth Ward of New Orleans, as shot by Scout Prime.

Christy at FireDogLake has written a post about this year's hurricane season, which officially started on June 1st.

New Orleans and the rest of the Gulf is still a disaster area: watch the video linked to above. Disaster preparedness is far from where it should be. The levee improvements are inadequate. Reconstruction is mired in bureaucracy and stalled in incompetence. The money promised has not materialized. Only one-third of New Orleans residents have returned.

Christy links to a report put together by Nancy Pelosi, detailing the incompetence and cronyism of the Republicans, both in the immediate response and in the long-term followup.

  • Up to $1 billion dollars in waste and fraud for housing contractors and payments made by the government, mainly to contractors from outside the Gulf Region.

  • The SBA has rejected more than 60% of small business loan applications in the wake of Katrina. Of those that have been approved, only 4% of funds have been disbursed to small business owners at this point. (Oh yeah, I got yer business friendly environment here. What was that Republican talking point that small business is the backbone of American jobs and communities?)

  • Less than 2% of all Federal aid that has gone to the Gulf Coast has been used for education expenditures.

  • The Rubber Stamp Republican Congress still refuses to ease Medicare restrictions for children in the Gulf Coast region, despite the fact that there is a substantial health care crisis for children in the region, stemming from infections and other issues arising from prolonged exposure to pathogens from flood waters, stress, and other factors. (1/3 of all children living in FEMA trailer parks have been found to have a chronic illness.)

  • 40,000 families are still waiting for some sort of housing assistance, meanwhile there are 10,000 FEMA trailers still parked in the mud, just sitting there unused.

  • Contractors with a political connection to the Bush Administration were paid up to 15 times the actual cost of jobs contracted.

posted on Sunday, June 04, 2006 4:13:47 AM (Pacific Daylight Time, UTC-07:00) 
#    Comments [0]

As I implicitly promised here, we went to see Al Gore's new documentary on global climate change, An Inconvenient Truth, when it opened in Seattle last night. We brought some friends too.

Gore lays out a compelling case that global climate change is real, that it's been happening for decades, and that it's spiralling out of control. He backs it up with plenty of statistics and graphs.

  • The ten hottest years on record have all been since 1990.

  • The glaciers are in full retreat everywhere. The "snows of Kilimanjaro" are almost gone.

  • At current rates, the Arctic ocean could be ice-free by 2050.

  • If either the ice covering Greenland or the ice on the western side of Antarctica goes -- both very real possibilities -- the global sea level could rise by 20 feet.

  • That rise would devastate coastal areas everywhere. At least 100 million people would be homeless.

Gore points to a review in Science magazine of 928 peer-reviewed scientific articles discussing "climate change". Not one of the papers disagreed with the scientific consensus that "climate change" is a real phenomenon. He points to a similar review of leading US newspapers over the last fourteen years, where more than half of the articles gave equal weight to the scientific consensus and to the view that human beings played no role in global warming.

The "controversy" has been manufactured by front groups for Exxon-Mobil and other leading polluters, just as the tobacco companies tried for decades to confuse the public about the linkage between smoking and lung cancer.

Gore earned the reputation in the 2000 election of being dry and wooden, but here he's engaging and animated. It's clearly a subject that he cares deeply about, and one that he's been agitating about for more than 30 years. He says that he's given his slideshow, which we see in several forms, over 1000 times, and he's gotten very good at delivering this message. The film is filled with science, but there's also a human touch. Gore brings in elements of his own life, such as his son's brush with death that energized him to make a difference to the Earth.

Terry Gross of NPR's Fresh Air interviewed Al Gore the other day: listen to the interview or read the transcript.

GROSS: ... at the beginning of the movie, you say that you've been trying to tell this story about global warming for a long time and that you feel as if you've failed to get the message across. Why was it so difficult as a politician to get the message across?

Former Vice President AL GORE (Author, "An Inconvenient Truth"): Well, Terry, I think there are several reasons. First, it's a complex issue. When you boil it all down, it's fairly simple, but it does have a lot of moving parts. And the complexity by itself is an obstacle. Secondly, there's a natural tendency to avoid thinking about the subjects that might involve some psychic pain, and the idea that human civilization is colliding with the earth's environment is a painful reality. And, third, it's a new reality. Nothing in our history or culture prepares us for the new reality, the new relationship between human civilization and the planet's ecosystem.

We've quadrupled our population globally in the last hundred years, and we've magnified the power of our technologies thousands of times over. And when you combine those two elements, 6.5 billion people times incredibly powerful ways of exploiting nature, and then you mix in a new philosophy of discounting the future consequences of present actions, it produces this new collision, the most dangerous part of which is global warming. And so it's hard to absorb it, but I think it is now beginning to sink in. I think people are coming to grips with it, and I'm actually becoming optimistic that we're going to respond in time.

... 

GROSS: You've traveled around different parts of the world looking at the symptoms of global warming. What's the most disturbing thing that you've seen in those travels?

Vice Pres. GORE: The melting of the North Pole is one of the most urgent catastrophes that should be prevented as quickly as we can convince people to act. It's a fairly thin floating ice cap, and as you know, the Arctic and the Antarctic are very different. The Arctic is ocean surrounded by land while the Antarctic is land surrounded by ocean, and that makes all the difference in the thickness of the ice. It's 10,000 feet thick in Antarctic and less than 10 feet thick in the Arctic. Much less now. We've lost 40 percent of it in the last 40 years. And when the ice there melts, there's a dramatic change in the relationship of the surface of the Earth there to the sun. The ice reflects 90 percent of the incoming sun's energy like a mirror. But the open seawater, after it melts, absorbs 90 percent. And that's a phase change. It sets up a positive feedback loop that magnifies and speeds up the melting process.

And the North Polar ice cap is in grave danger now. And nearby the great ice mound of Greenland is under increasing pressure from growing temperatures also. If that were to melt, it would--or to break up and slip into the sea, it would raise sea level 20 feet worldwide. The west Antarctic ice shelf, that's on the other end of the planet, the other pole, is the part of Antarctica propped up against islands that allow it to be affected by the warming ocean but also allow it to raise sea level by 20 feet, again, if it melts or breaks off and slides into the ocean.

And these are the three areas that many scientists point to as affecting a so-called point of no return which we need to avoid because if we cross that point of no return, then the process of a downward spiral would be irretrievable. So we have to stop short of that.

Gore has written a companion book, which I'm going to order.

I'm not the only one who thinks it's a great film. Roger Ebert gave it a 4-star review

What can you do? You can go see the film and you can take action.

This is something that (should) transcend politics and nationality. We are all going to be affected by climate change, for the worse.

posted on Sunday, June 04, 2006 12:30:40 AM (Pacific Daylight Time, UTC-07:00) 
#    Comments [0]
Saturday, May 27, 2006 

Jamison Foser writes on the defining issue of our time:

The defining issue of our time is not the Iraq war. It is not the "global war on terror." It is not our inability (or unwillingness) to ensure that all Americans have access to affordable health care. Nor is it immigration, outsourcing, or growing income inequity. It is not education, it is not global warming, and it is not Social Security.

The defining issue of our time is the media.

The dominant political force of our time is not Karl Rove or the Christian Right or Bill Clinton. It is not the ruthlessness or the tactical and strategic superiority of the Republicans, and it is not your favorite theory about what is wrong with the Democrats.

The dominant political force of our time is the media.

Time after time, the news media have covered progressives and conservatives in wildly different ways -- and, time after time, they do so to the benefit of conservatives.

Consider the last two presidents. Bill Clinton faced near-constant media obsession with his "scandals," while George W. Bush has gotten off comparatively easy.

... 

At this point, you'd have to be blind to miss the pattern. Every prominent progressive leader who comes along is openly derided in the media as fake, dishonest, conniving, out-of-the-mainstream, and weak. We simply can't continue to chalk this up to shortcomings on the part of Democratic candidates or their staff and consultants. It's all too clear that this will happen regardless of who the candidate or leader is; regardless of who works for him or her. The smearing of Jack Murtha should prove that to anyone who still doubts it.

Look what happened to Al Gore in the run-up to the 2000 election versus how George Bush was treated then by the media. Gore, the well-qualified candidate, was subjected to an endless barrage of ridiculous stories accusing him of everything from fraudulently claiming to have invented the Internet, to being the inspiration for Love Story. Meanwhile, Bush was making all kinds of nonsense claims for his tax cuts, and his insider trading at Harken was being completely overlooked.

posted on Sunday, May 28, 2006 4:28:07 AM (Pacific Daylight Time, UTC-07:00) 
#    Comments [0]
Wednesday, May 24, 2006 

Raven emailed me a link to this story in the Onion: Heroic Computer Dies to Save World From Master's Thesis:

"This fearless little machine saved me from unspoken hours of exasperated head-scratching and eyestrain, as well as years of agonizing self-doubt over my decision to devote my life to teaching," said professor John Rebson, who had already read through three drafts of Samoskevich's sprawling, 38,000-word dissertation, titled A Hermeneutical Exploration Of Onomatopoeia In The Works Of William Carlos Williams As It May Or May Not Relate To Post-Agrarian Appalachia. "It was an incredible act of bravery. This laptop sacrificed itself in order to put an end to Jill's senseless rambling."

Nothing like my own Master's Thesis, 3-D Text Objects in the Brown Animation Graphics System, which clocked in at just 8 pages. Mind you, it was backed up by tens of thousands of lines of C code.

posted on Wednesday, May 24, 2006 9:21:12 PM (Pacific Daylight Time, UTC-07:00) 
#    Comments [0]

AmericaBlog links to a CNN segment on the quacks who claim they can "cure" homosexuality.

Very creepy. Very bogus. And typical of so-called reparative therapy.

I believe that those "ex-gays" who do manage to make a go of it are bisexual rather than gay. In other words, they're no more than 5 on the Kinsey scale.

And I'm not the only one.

posted on Wednesday, May 24, 2006 8:12:07 PM (Pacific Daylight Time, UTC-07:00) 
#    Comments [0]

Here's a selection of the lies propagated by the Right in the last few years:

  • Iraq sent its WMDs to Syria.
  • Democrats don't want to wiretap terrorists.
  • Mexicans are taking our jobs.
  • Scooter Libby has a faulty memory.
  • Tom DeLay is like Jesus Christ.
  • No one could have anticipated that the levees would be breached.
  • We do not torture.
  • There is no global warming.
  • There is global warming, but humans didn't cause it.
  • John F. Kerry is a flip-flopper.
  • George W. Bush is a decider.
  • Nobody at the White House knows Jack Abramoff.
  • Evolution isn't supported by the facts.
  • Diebold voting machines are secure.
  • Fox News is fair and balanced.
  • Mission accomplished.
  • No one could have anticipated the Iraqi insurgency.
  • The budget deficit will be cut in half in four years.
  • Anyone who thinks Dubai shouldn't control our ports is racist.
  • No one who thinks we should build a wall along the Mexican border is racist.
  • Terry Schiavo wants to live.
  • We've turned a corner in Iraq.
  • There's a war on Christmas.
  • There's no civil war in Iraq.
  • The British government has learned that Saddam Hussein recently sought significant quantities of uranium from Africa.
  • Bush won Florida in 2000.
  • Bush won Ohio in 2004.
  • We support open, free, and fair elections ... for the Ukraine.
  • I earned political capital... and I intend to spend it.
  • Losing by 2 million votes in 2000 is a mandate.
  • Winning by 3 million votes in 2004 is a mandate.
  • The grownups will now be in charge.
  • Brownie, you're doing a heck of a job.
  • Kathleen Blanco never asked for federal help.
  • Moral values voters.
  • The earth is 6,000 years old.
  • We're not interested in banning contraceptives.
  • Bush flew F-102s in the Texas Air National Guard.
  • Bush is a compassionate conservative.
  • John Kerry "outed" Mary Cheney
  • John Kerry shot himself in the leg to earn his medals
  • Al Gore thinks he invented the internet.
  • Bill Clinton was once offered Bin Laden "on a silver platter" and turned it down.
  • Saddam Hussein attacked us on 9/11.
  • 9/11 changed everything.
  • No one could have anticipated airplanes flying into buildings.
  • We have removed the Taliban from Afghanistan.
  • The Iraqis will welcome us with open arms and flowers...
  • Yellow magnetic car ribbons really help the troops.
  • We're fighting them over there so we don't have to fight them over here.
  • Iraqi oil will pay for the war and the reconstruction.
  • Gas prices are high because of librul environmental regulations.
  • Drilling the ANWR will lower the price of oil.
  • The 'magic of the marketplace' will solve all problems.
  • Unemployment numbers have never been so low.
  • By far the vast majority of my tax cuts go to the bottom end of the spectrum.
  • Tax cuts increase revenue.
  • The estate tax hurts family farms.
  • Private Accounts will save Social Security.
  • No Child Left Behind will help all children.
  • Healthy Skies Initiative will reduce air pollution.
  • Republicans are compassionate conservatives.
  • Dissent is unpatriotic.
  • You're either with us, or against us.
  • All options are on the table.
  • Republicans are the party of ideas.
  • These are not assertions. These are facts backed up by solid intelligence.
  • Terri Schiavo is responsive. (Bill Frist on the Senate floor).
  • I never said she was responsive (Bill Frist, about a week later).
  • Anyone who leaks information will no longer be part of this administration.
  • Harriet would be a great justice. I know her heart.
  • Terrorists didn't know we could use wiretaps until they read about it in the paper.
  • I will restore honor and integrity to the White House.
  • I'm a uniter, not a divider.
  • The 'CEO' President.
  • If this were a dictatorship, it'd be a heck of a lot easier, just so long as I'm the dictator.
  • If gays are allowed to marry then heterosexual men will leave their wives.
  • Oceania has always been at war with Eurasia.
  • "I do solemnly swear that I will faithfully execute the office of President of the United States, and will to the best of my ability, preserve, protect, and defend the Constitution of the United States."

A much fuller list can be found at AmericaBlog.

posted on Wednesday, May 24, 2006 6:32:28 PM (Pacific Daylight Time, UTC-07:00) 
#    Comments [0]
Tuesday, May 23, 2006 

I've been sporting a goatee for the last two months, instead of my usual full beard. This has necessitated shaving, and I've been using those disposable Bic razors. I haven't been very happy with them. They left my face feeling like I had been making out with a cheese grater.

I bought one of those new five-bladed Fusion razors yesterday and shaved with it this morning. Oh my! Very smooth!

I'm convinced that five blades is marketing hokum and that five blades is probably not really better than four blades. Or three blades. But five blades is certainly better than one.

posted on Tuesday, May 23, 2006 7:38:54 AM (Pacific Daylight Time, UTC-07:00) 
#    Comments [0]
Saturday, May 20, 2006 

I have two blogs, my personal blog and my technical blog. The technical blog is a small subset of the personal blog containing posts that are more likely to be of interest to the techie audience at weblogs.asp.net.

Lately, the comments in one post at weblogs.asp.net have been repeatedly spammed with sad little gems like the following:

If you click the links above, you'll find that I'm not the only one who's getting this treatment. The spams are clearly generated by a bot, which is generating links to an enormous variety of randomly chosen sites, with no obvious commonality.

Surprisingly, I can find very few discussions of this particular phenomenon, save Nihilist spam and Best Comment Spam Ever. It seems to have been the catalyst triggering PocketNow: Requiring Registration [to Post].

My personal blog is running dasBlog, which has a CAPTCHA implementation, as well as some other anti-spam features. So far, I haven't had a spam problem there, but perhaps I'm just flying under the spammers' radar.

Brian Goldfarb recently sent mail to all the bloggers at weblogs.asp.net, detailing forthcoming changes and improvements (sorry, can't find a public post). There was no specific mention of dealing with comment spam, alas.

I found the SixApart Guide to Comment Spam to be useful, if wordy and Movable Type-centric. They agree with Scott Mitchell on the Worth(lessness) of CAPTCHAs. And this summary of the problem of Comment Spam ain't bad.

posted on Sunday, May 21, 2006 6:14:46 AM (Pacific Daylight Time, UTC-07:00) 
#    Comments [0]

I mentioned last week that my parents have no aptitude for computers.

My father emailed me with a list of computer woes; notably, he was getting messages about no firewall. There was no way I was going to get to the bottom of the issue just by email or talking to him on the phone. It's 5,000 miles from Seattle to Dublin, so I can't drop by to take a look at the computer in person--much as my parents would like to have me visit.

I had tried using the built-in Windows Remote Assistance to troubleshoot issues on their laptop a couple of years ago, while they were on a protracted stay in Cape Town. I had solved the problem, but that had been fairly painful for me. The primary problem was the horrible sluggishness of the connection: they were on a slow dialup connection and the latency is something fierce. Another problem was the fragility of my control: if I dismissed a dialog by hitting Escape, I stopped controlling the remote desktop, and as a longtime vi user, I have certain deeply ingrained reflexes that are hard to overcome.

I decided to try out Joel Spolsky's Copilot. The Copilot service builds on TightVNC. The helper and the person being helped both make outbound connections to a Copilot server, which proxies the virtual session, neatly avoiding all kinds of NAT issues that can arise when you try to make a direct connection through a firewall. It's also supposedly easy to configure, requiring only a visit to the Copilot website and typing in an email address or a 12-digit number, before downloading a half-megabyte executable. It wasn't too painful to talk my father through making the connection, though the first time that he did it, he "lost" the binary and had to download it again. We initially tried the two-minute trial version, but that wasn't nearly enough time to do anything, so I shelled out the $10 for a day pass.

In Dublin, as in Cape Town, he dials up to the Internet on a 56K modem, and that once again proved to be the primary source of pain for me. It seemed a little less sluggish than I remembered Remote Assistance being, but I wasn't about to subject myself to trying that out too. The experience varied between tolerable and infuriating, but there's only so much that can be done at a little over 3Kbps.

The second reason the experience was so painful was that I ended up needing to repair the eTrust installation, and to download a full set of antivirus signatures, and I simply couldn't do it. The eTrust FTP site kept dropping the connection, and the full signature package takes over 20 minutes to download. I blame the FTP server, as I was VPN'd in to his laptop the whole time, so his Internet connection was obviously working. I eventually gave up at 4AM PDT, in utter frustration.

Verdict. Copilot works fairly well, although it can be painful over a dialup connection. I would have killed for a file-transfer facility so that I could send files directly between his computer and mine. $10 for a day pass isn't cheap, but he gets to pay it in future! I use Terminal Server and Virtual PC regularly: both of them provide ways to press all of the Windows keys (Terminal Server, Virtual PC); Copilot doesn't.

posted on Saturday, May 20, 2006 11:08:45 PM (Pacific Daylight Time, UTC-07:00) 
#    Comments [0]
Friday, May 19, 2006 

I just listened to This American Life on the radio. I am continually amazed at just how good this show is. They find so many compelling stories.

This week, Ira Glass interviewed Gene Cheek, who wrote a memoir, The Color of Love: A Mother's Choice in the Jim Crow South.

In the early 1960s, Cheek's divorced mother fell in love with Tuck, a black man. They lived in a small town in North Carolina, and the miscegenation laws were still on the books. They dated clandestinely, but eventually their relationship become known. The police would stop by regularly to harass them. After she had a baby by Tuck, her own family refused to have anything to do with her.

One day, Cheek's mother went to court, in an attempt to collect child-support payments for Gene from his alcoholic father. When she and Gene got there, they realized that the case being heard was a child-custody case. She was given the ultimatum: give up her infant mixed-race son or give up her 12-year-old son. His father said that he couldn't take Gene in, and neither could his uncle or his grandmother. Gene volunteered to leave his mother, and he was sent to a foster home. He began acting out and was eventually sent to a boy's prison, 200 miles from home, where he spent five years.

Years later, after the ban on interracial marriages was overturned in Loving v. Virgina, Cheek's mother married Tuck.

I was horrified by this story, by the barbarity of it, by the racism. Thank God this can no longer happen.

Yet it does. Gay parents still have to contend with the presumption that they are unfit parents in more benighted parts of the country. Fortunately, Lawrence v. Texas is overturning this presumption, but this issue is far from settled. The bigots are pushing to enact a Federal Marriage Amendment (HRC, Wikipedia) which would certainly affect custody rights for LGBT parents.

posted on Saturday, May 20, 2006 3:12:47 AM (Pacific Daylight Time, UTC-07:00) 
#    Comments [0]

A front group for Big Oil is putting out ads denying the reality of global warming, in a pre-emptive bid to undermine Al Gore's new documentary, An Inconvenient Truth.

The first ad portrays global warming science as a vicious smear campaign against carbon dioxide. The ad, which despite appearances is not an SNL parody, helpfully reminds us that carbon dioxide is “essential to life” because “we breath[e] it out.”

"An Inconvenient Truth" opens in Seattle on June 2nd, 2006.

posted on Saturday, May 20, 2006 1:24:39 AM (Pacific Daylight Time, UTC-07:00) 
#    Comments [0]
Thursday, May 18, 2006 

I blogged last month on Jim McDermott's long-running First Amendment legal battle with John Boehner, the new Republican Majority Leader. The Stranger has a cover story giving a lot of detail on the case.

President Clinton will be appearing at the Seattle Center on June 3rd in a fundraiser for McDermott.

Update: The We The People event will be held from 5:30-7:30pm at the Seattle Center Exhibition Hall. Tickets can be ordered here. I just ordered tickets for Emma and me. See you there.

posted on Thursday, May 18, 2006 7:58:32 AM (Pacific Daylight Time, UTC-07:00) 
#    Comments [0]

My opera education continues. Tonight, we saw Seattle Opera's production of Verdi's MacBeth.

I used to be very familiar with Shakespeare's MacBeth, having studied it for two years in preparation for the Leaving Certificate (the major examination at the end of Irish secondary school; effectively the entrance exam for university).

Verdi's opera of MacBeth truncates Shakespeare's plot, concentrating on the tragic flaw of the MacBeths. Their shared ambition, feeding off each other, both impels them to power, and leads to their ultimate downfall. The opera was written during the Risorgimento, when Italy was trying to break away from the Austrian empire, and doubles as a thinly veiled appeal to Italian patriotism.

I had more fun at Cosi Fan Tutte, when we saw it in March. The music and singing was fine in MacBeth, but I did not care for the monochromatic costumes and sets, which reminded me of Mourning Becomes Electra. The cast looked as if they had stepped out of a daguerrotype of a funeral. There's no fun in Verdi's MacBeth. Shakespeare's tragedies are always leavened by some comic doings, but not Verdi's.

posted on Thursday, May 18, 2006 7:27:07 AM (Pacific Daylight Time, UTC-07:00) 
#    Comments [1]
Monday, May 15, 2006 

A few weeks ago, I wrote a C++ routine to parse decimal numbers using the overflow detection principles of SafeInt. I couldn't find anything in the libraries that actually did a good job of checking for overflow.

Briefly, to see if unsigned values A+B overflow, check if (A > MAX_UINT - B). Similarly, A*B will overflow if (A > MAX_UINT / B).

// Convert a string to an unsigned. Returns 'true' iff conversion is legitimate. bool StringToUnsigned( const string& str,
unsigned& rUint)
{
rUint = 0;

if (str.empty())
return false;

for (unsigned i = 0; i < str.length(); ++i)
{
if (!isdigit(str[i]))
return false;

// Check for numeric overflow. if (rUint > numeric_limits<unsigned>::max() / 10)
return false;
rUint *= 10;

unsigned d = str[i] - '0';
if (rUint > numeric_limits<unsigned>::max() - d)
return false;
rUint += d;
}

return true;
}

While debugging this code, I noticed something interesting. 0xFFFFFFFF divided by ten (0xA) is 0x19999999. This pattern holds for smaller and larger sequences of 0xFF...FF too: 0xFF/10 = 0x19; 0xFFFF/10 = 0x1999; and so on.

I'm not sure how to prove this, but I can prove the closely related result: 0x19...99 * 10 = 0xFF...FA:

 10 * N         = 8 * N  +  2 * N
10 * 0x19...99 = 8 * 0x19...99 + 2 * 0x19...99

0x199...99 = %0001 1001 1001 ... 1001 1001

10 * 0x19...99 = %1100 1100 1100 ... 1100 1000
+ %0011 0011 0011 ... 0011 0010
= %1111 1111 1111 ... 1111 1010

A mildly curious result of no value, but it amused me.

posted on Tuesday, May 16, 2006 5:24:53 AM (Pacific Daylight Time, UTC-07:00) 
#    Comments [0]

Amy Sullivan has a piece in the Washington Monthly about the little-sung successes of the Democrats.

Apparently, there is some strategy and coordination going on in the Democratic leadership, despite what the press might lead you to believe. The Dubai ports deal blew up because Schumer kept calling press conferences about it, though Schumer has hardly been credited with lobbing the grenade. Murtha was not left out in the cold by Pelosi and other Dems; it was a deliberate strategy to prevent him being labeled as a token hawk. And the Dems managed to kill Bush's privatization of Social Security, by disciplined attacks on Bush's "risky" proposal. Their not offering a counterproposal was deliberate: it meant that they couldn't be pressured into working with the Republicans to form a compromise.

The press have written little about this, and that's the real problem.

On a related note, here's a post about what the Democrats would do if they regain control of the House of Representatives:

  • Raise the minimum wage for the first time since 1997;

  • Fully implement the recommendations of the bipartisan panel on homeland security after the 9/11 attacks;

  • Reinstate the lapsed rules that require increases in spending to be offset by spending cuts or tax increases, to prevent the deficit from growing further;

  • A real security plan.

posted on Tuesday, May 16, 2006 4:08:34 AM (Pacific Daylight Time, UTC-07:00) 
#    Comments [0]
Sunday, May 14, 2006 

I sometimes joke that I must be adopted because my parents have no aptitude for computers. I could make a similar joke about writing. Many of my immediate family, despite decent educations, seem to be incapable of writing a simple English sentence, much less a coherent paragraph.

One relative writes emails that are bereft of punctuation: neither a comma nor a full stop (period) is to be found. Capital letters occur, but too randomly for my liking. And everything is linked into one paragraph, no matter how long or disjointed. Yet, I've received adequately punctuated handwritten letters and postcards from him. I attribute his email slovenliness to a combination of laziness and hunt-and-peck typing. Whatever the cause, it reflects poorly on him.

John Scalzi has some Writing Tips for Non-Writers Who Don't Want to Work at Writing. Here's the summary:

  1. Speak what you write ... If what you're writing is hard to speak, what makes you think it's going to be easy to read? It won't be. ...

  2. Punctuate, damn you: For God's sake, is it really so hard to know where to put a comma? ...

  3. With sentences, shorter is better than longer.

  4. Learn to friggin' spell.

  5. Don't use words you don't really know.

  6. Grammar matters, but not as much as anal grammar Nazis think it does.

  7. Front-load your point.

  8. Try to write well every single time you write.

  9. Read people who write well.

  10. When in doubt, simplify.

  11. Speak what you write.

Go read the whole thing.

I found some useful links in the comments that follow Scalzi's Tips:

And here's a few tips of my own:

  • One thought per paragraph. Run-on paragraphs offend me and annoy me. If a paragraph has more than four sentences, it's probably too long.

  • Pick up something that was written by a competent writer who you enjoy and analyze a page. Why did they choose to break sentences where they did? Why are the commas placed where they are? Do the paragraph breaks make sense? What about the word choice? Did it clearly and succinctly convey their ideas, their tone? (Hell, just analyze this post.)

  • Think before you write. Before you dive in headlong, what is it you're trying to convey? This doesn't have to take you very long. A few seconds before a short email is enough.

  • Reread what you wrote, before you send it off. Revising mistakes is so easy on a computer that you have no excuse for not bothering.

This isn't enough to turn you into a professional writer, but it will make a marked improvement in what you write.

posted on Monday, May 15, 2006 6:56:18 AM (Pacific Daylight Time, UTC-07:00) 
#    Comments [0]

David Neiwert writes:

Go smugly amid the noise and haste,
and remember what peace there may be in stonewalling.
As far as possible, leave no chance of surrender
and be on superior terms to all other persons.
Speak your truthiness loudly and garbled;
and never listen to others,
especially not the wise and the well-informed;
they can all just go to hell.

Rest here.

posted on Sunday, May 14, 2006 11:57:00 PM (Pacific Daylight Time, UTC-07:00) 
#    Comments [0]

President Al Gore on Saturday Night Live, spoofing the disastrous six years of Bush.

posted on Sunday, May 14, 2006 10:50:22 PM (Pacific Daylight Time, UTC-07:00) 
#    Comments [0]

I first started blogging at EraBlog in February 2003, during the run-up to the Iraq war. EraBlog never really took off and now seems to be experiencing technical problems.

I'm reposting all of my original posts. I've cleaned up the links, where possible, and added an image at the top of each one, but have not otherwise modified the posts.

As you can see, Iraq weighed on my mind. And I was fucking right! Going to war was wrong, and even then I (like many others) could see that the case for war was lacking.

2003/02/07: Casus Belli

2003/02/07: Pencil Carvings

2003/02/07: State of the Union

2003/02/07: Hasbians: Bi for Now

2003/02/07: Barbara Lee: Public Enemy Number One?

2003/02/08: Bush-Iraq parody of Nigerian spam scam

2003/02/09: Casus Belli II

2003/02/09: TiVo

2003/02/09: Powell at the UN

2003/02/14: Patriot Act II

2003/02/14: Hans Blix reports to the UN

2003/02/14: Seattle Peace Rally, Sat 15th Feb, Seattle Center

2003/02/20: The Seattle March

2003/02/21: MSNBC's The Savage Nation

2003/02/24: Why Nerds are Unpopular in American high schools

2003/02/26: Why God is a Computer Programmer

2003/03/04: Irish Personals

2003/03/12: The Onion does St. Patty's Day

2003/03/17: Candlelight Vigil for Peace

2003/03/18: How Bush made enemies of our allies

More to follow tomorrow.

posted on Sunday, May 14, 2006 9:00:31 AM (Pacific Daylight Time, UTC-07:00) 
#    Comments [0]
Saturday, May 13, 2006 

I remember about two years ago, before a trip across the Atlantic, trying to find websites that had street maps for London and Dublin -- and coming up nearly empty.

Now, a year after it became available, I notice that Google Maps covers Ireland and the UK. Unfortunately, it does a piss-poor job of finding locations: try typing anything more specific than Dublin into the search box.

Google Maps now provides a basic ability to get directions between cities.

Some other map links:

posted on Sunday, May 14, 2006 2:22:52 AM (Pacific Daylight Time, UTC-07:00) 
#    Comments [0]

Via Bootboy, a video of "Jesus" singing Gloria Gaynor's I Will Survive.

posted on Saturday, May 13, 2006 8:38:51 AM (Pacific Daylight Time, UTC-07:00) 
#    Comments [1]
Wednesday, May 10, 2006 

More than two years in the making, Vim 7.0 is finally out!

(Vim is Vi IMproved, an enormously enhanced version of the classic Unix editor, vi.)

The main features of the 7.0 release are:

  • Spell checking

  • Omni-completion (Intellisense-like)

  • Tabbed pages

  • VimL script language now supports Lists and Dictionaries

I'm going to take credit for some minor features of Vim 7:

WikiPedia summarizes the history of Vim. This enabled me to pinpoint when I first became a contributor to Vim, back in December 1995. I cleaned up the original, rather buggy port of Vim 3.0 to NT, and posted it to the comp.editors newsgroup. Bram invited me to merge my changes into Vim 4.0, which was then under development, and I became the owner of Win32 Vim for the next couple of years.

posted on Thursday, May 11, 2006 6:42:59 AM (Pacific Daylight Time, UTC-07:00) 
#    Comments [0]

I saw a video clip of so-called Russian Climbing at work today. It turns out that it's an extreme sport of French origin called Parkour or Free Running.

Parkour is "the art of forward motion in spite of obstacles". Its practitioners (traceurs) run around urban landscapes, performing Jacky Chan-like leaps, rolls, stunts, jumps, and flips.

The excellent HowStuffWorks.com has a good introductory piece on Parkour.

There is a local group of traceurs, who are written up in a P-I article. Their website is Washington Parkour. It seems there's a "jam" every Sunday at noon at Seattle's Freeway Park. It sounds like a photo-op to me.

posted on Thursday, May 11, 2006 6:03:20 AM (Pacific Daylight Time, UTC-07:00) 
#    Comments [0]

Three years ago, one of our must-watch shows was Fire Within, a documentary on the making of Cirque du Soleil's Varekai show. It followed a set of would-be performers in the eight months leading up to the premiere of Varekai, as they train at the Cirque's school in Montreal, developing potential acts. Some of them make it, some fall by the wayside.

Varekai has been on tour ever since, and it just opened in Seattle. We saw it tonight. Very little of the original show survives; mostly, the aerial strap act with the twins, Kevin and Andrew.

I recommend it. Varekai is a visual spectacular, with all the familiar elements of incredible acrobatics, clown acts, and bizarre costumes.

Two young Chinese boys twirling pots on ropes; hunky twin men on aerial swings; a team of acrobats twirling each other on their feet; a spotlight-loving sleazeball crooner; acrobats hurtling off a giant swing; and a human pretzel of a contortionist. Quite the show.

Someday I have to post the photos that I took of the Zip Zap circus school performing at the Cavendish mall in Cape Town. Some of the best free entertainment that I've ever come across.

posted on Wednesday, May 10, 2006 7:07:47 AM (Pacific Daylight Time, UTC-07:00) 
#    Comments [0]
Tuesday, May 09, 2006 

A lot of anti-war music and videos are appearing of late, and about time too.

Via AmericaBlog, I learn today of Jackson Browne's new anti-war video, Lives in the Balance.

There's also Pink's song Dear Mr. President.

Not to mention Neil Young's new album, Living with War. You can listen to the entire album online.

And the Dixie Chicks' forthcoming album, Taking the Long Way.

posted on Tuesday, May 09, 2006 9:14:06 PM (Pacific Daylight Time, UTC-07:00) 
#    Comments [0]