Wednesday, May 14, 2008 
Garnethill
Title: Garnethill
Author: Denise Mina
Rating: 4 stars out of 5
Publisher: Back Bay Books
Copyright: 1998
Pages: 402
Keywords: mystery, tartan noir
Reading period: 10-13 May, 2008

Maureen O'Donnell wakes up in her Glasgow flat after passing out drunk and finds her lover tied to a chair, his throat cut. Douglas was a therapist, married to another woman. The police think she's guilty but can't prove it: she has a history of mental illness, her mother's an alcoholic, and her twin brother's a drug dealer.

Mauri is feisty but flawed, coping fairly realistically. She manages to find the real murderer and uncover a nasty case of sexual abuse, against a backdrop of domestic violence, alcoholism, and poverty. Her friend Leslie is a treat; her mother is a horror.

The notes at the back of the book say that Denise Mina got sidetracked from writing her PhD thesis on mental illness and female offenders. This novel is far more readable than the thesis would have been.

posted on Wednesday, May 14, 2008 7:05:17 AM (Pacific Daylight Time, UTC-07:00) 
#    Comments [0]
Tuesday, May 13, 2008 
Sharing Dotfiles between Windows and *nix

Tomas Restrepo wrote a post about sharing dotfiles between Windows and Ubuntu, specifically about sharing .vimrc (Linux) and _vimrc (Windows) and the .vim (Linux) and vimfiles (Windows) directories.

I have a different solution. On Windows, my C:\AutoExec.bat includes:

set HOME=C:\gvr
set VIM=C:\Vim
set VIMDIR=%VIM%\vim71
set EDITOR=%VIMDIR%\gvim.exe
set PATH=%PATH%;C:\Win32app;C:\GnuWin32\bin;C:\UnxUtils;C:\SysInternals;C:\Python25\Scripts

%HOME% (C:\gvr) contains _vimrc, vimfiles, and other stuff accumulated over many years. This directory is stored in a personal Subversion repository at DevjaVu. All my Vim files are stored with Unix LF endings, not Windows CR-LFs, so that they'll work on my Mac OS X and Linux boxen. I play some games with if has("win32") and if has('gui_macvim') to ensure that my _vimrc works cross-platform.

On my *nix boxes, the gvr folder lives under my home directory at ~/gvr, and ~/.vimrc and ~/.vim are symlinks:

$ ln -s ~/gvr/_vimrc ~/.vimrc
$ ln -s ~/gvr/vimfiles/ ~/.vim

In addition, the dotfiles that I keep in SVN are stored locally in ~/gvr/dotfiles without a leading period in their names, which makes them easy to see:

$ ln -s ~/gvr/dotfiles/bashrc ~/.bashrc

This arrangement works well for me.

posted on Wednesday, May 14, 2008 6:28:36 AM (Pacific Daylight Time, UTC-07:00) 
#    Comments [1]
Saturday, May 10, 2008 

What the Dead Know

 Title: What the Dead Know
 Author: Laura Lippman
 Rating: 4 stars out of 5
 Publisher: Harper
 Copyright: 2007
 ISBN: 0061128864
 Pages: 369
 Keywords: mystery
 Reading period: 4-9 May, 2008

Thirty years ago, Heather and Sunny Bethany, 12 and 15, disappeared without trace from a Baltimore mall. A cold case, long forgotten by almost everyone. Now a woman, arrested after fleeing from the scene of an accident, blurts out that she's Heather Bethany.

Is she Heather? Or someone else? She knows so much about the case, yet there's something off about her and the police don't trust her. Where's she been? Where's Sunny? And why did she never come forward before?

We learn the truth by the end of the novel, of course. The game of cat and mouse between Heather and the police draws to a satisfying resolution, which makes psychological sense.

posted on Saturday, May 10, 2008 8:02:43 AM (Pacific Daylight Time, UTC-07:00) 
#    Comments [0]
Sunday, May 04, 2008 
The Unknown Terrorist
Title: The Unknown Terrorist
Author: Richard Flanagan
Rating: 4 stars out of 5
Publisher: Grove Press
Copyright: 2006
Pages: 325
Keywords: fiction
Reading period: 29 April-4 May, 2008

A Sydney pole dancer known as ‘the Doll’ has a one-night stand with a Muslim. The next day she's the subject of a massive witchhunt as a suspected terrorist. After 9/11, the Bali bombings, and the Iraq war, Australians are ripe for the fearmongering of the media. An escalating cycle of hype and fear and ever more lurid headlines plunges the Doll into a waking nightmare from which she cannot escape.

This novel indicts everyone: the ordinary people who unthinkingly condone events; the security forces with their own agenda; and most of all, the media who seize on a good story without caring about the truth. It's all too plausible, alas.

posted on Monday, May 05, 2008 6:32:40 AM (Pacific Daylight Time, UTC-07:00) 
#    Comments [0]
Friday, May 02, 2008 

Rebel Fay

 Title: Rebel Fay
 Author: Barb & J.C. Hendee
 Rating: 3.5 stars out of 5
 Publisher: Roc
 Copyright: 2007
 ISBN: 0451461436
 Pages: 416
 Keywords: fantasy
 Reading period: 27-29 April, 2008

A half-vampire vampire hunter, her half-elf partner, a human sage, and a very unusual dog travel deep into elven territory, to rescue his imprisoned elf mother. None of the (part) humans are welcome.

This is the fifth book in a series, which I didn't notice when I picked it up. I should have started with the first in the series, but I was able to follow along well enough.

A high fantasy epic leavened with vampire lore. Certain of the elves are concerned with an ancient enemy, which seems to be the creator of the vampires. Cultural clashes, hidden agendas, and betrayals abound.

posted on Friday, May 02, 2008 7:37:36 AM (Pacific Daylight Time, UTC-07:00) 
#    Comments [0]
Monday, April 28, 2008 
Roma
Title: Roma
Author: Steven Saylor
Rating: 3.5 stars out of 5
Publisher: St. Martin's Griffin
Copyright: 2007
Pages: 592
Keywords: historical fiction
Reading period: 16-26 April, 2008

Steven Saylor is best known for his Roma Sub Rosa series of detective novels about Gordianus the Finder, set in ancient Rome.

Roma is a Micheneresque saga, spanning 1000BC to 1BC, in a dozen vignettes following the holders of an ancient amulet. Starting with a crossroads frequented by traders, it shows the evolution of Rome from a village to the great power of the Mediterranean, led by Augustus Caesar, the first of the emperors. It's an easy introduction to much of Roman history, but the episodic nature of the story means that we see only fragments of that history. Each of the characters introduced necessarily gets cursory treatment, leading to a disjointed set of short stories.

posted on Tuesday, April 29, 2008 5:34:13 AM (Pacific Daylight Time, UTC-07:00) 
#    Comments [0]
The Reverse of the Medal
Title: The Reverse of the Medal
Author: Patrick O'Brian
Rating: 4.5 stars out of 5
Publisher: W.W. Norton
Copyright: 1986
Pages: 286
Keywords: historical fiction
Reading period: 20-25 April, 2008

This novel continues not long after The Far Side of the World left off. The Surprise stops off in Barbados, then chases an American privateer almost to England. Jack Aubrey, astute at sea, but a naïf on land, is hoodwinked into causing a run on the stock market, and brought to trial. Stephen Maturin finds that his wife has left him and that his former superior in Naval Intelligence has been sidelined.

O'Brian moves effortlessly from a naval chase to the rural pleasures of Aubrey's cottage to Regency politics, all written in a convincing eighteenth-century style. Aubrey and Maturin are emotionally true. Jack is the bluff English patriot whose unshakeable faith in English justice will be severely tested. Stephen, the complex scientist, is beleagured by betrayals both personal and professional.

Highly recommended.

posted on Tuesday, April 29, 2008 5:33:10 AM (Pacific Daylight Time, UTC-07:00) 
#    Comments [0]
Saturday, April 19, 2008 
Orange Crush
Title: Orange Crush
Author: Tim Dorsey
Rating: 3 stars out of 5
Publisher: Harper Collins
Copyright: 2001
Pages: 354
Keywords: crime, humor
Reading period: 14-16 April, 2008

A loose sequel to Hammerhead Ranch Motel. The likable serial killer, Serge A. Storms, is suffering from amnesia and has found himself a job as the Press Secretary to the Governor of Florida, Marlon Conrad.

Conrad, formerly an airheaded child of privilege, has undergone an epiphany and has begun caring about the little people. He's running for re-election and he's on a road trip through Florida in an RV. This isn't to everyone's liking and several people are gunning for him.

Dorsey is slightly more in control of his plot than in earlier books, but it still veers clumsily all over the place. Quite funny in places.

posted on Saturday, April 19, 2008 8:55:47 AM (Pacific Daylight Time, UTC-07:00) 
#    Comments [0]
Boundary
Title: Boundary
Author: Eric Flint, Ryk E. Spoor
Rating: 3.5 stars out of 5
Publisher: Baen
Copyright: 2006
Pages: 598
Keywords: science fiction
Reading period: 13-14 April, 2008

A paleontologist finds a 65-million-year-old alien fossil. A few years later, some of her NASA engineer friends send a probe to the Martian moon Phobos and find the mummies of more of those aliens in an ancient station. They all form part of the crew on the first manned mission to Mars, to investigate the alien artifacts.

This is a moderately entertaining hard science fiction novel, with an interesting premise and moderately plausible characters. I was irritated by the vast amounts of exposition. The book has a bad case of as you know, Bob. The authors are bound and determined to explain all the cool stuff they brainstormed.

posted on Saturday, April 19, 2008 8:54:50 AM (Pacific Daylight Time, UTC-07:00) 
#    Comments [0]
White Night
Title: White Night
Author: Jim Butcher
Rating: 4 stars out of 5
Publisher: Roc
Copyright: 2007
Pages: 452
Keywords: fantasy
Reading period: 13 April, 2008

White Night is the latest paperback in the Dresden Files, continuing on from Proven Guilty.

Harry Dresden is a wizard and private investigator in Chicago. Minor practitioners of magic are being killed and the evidence points to his half-brother, Thomas. Harry can't accept that, even if Thomas is a vampire. Meanwhile, there's a war going on between the wizards and certain factions of vampires.

Harry is slowly starting to mature, now that he's got responsibilities. He has an apprentice and two junior Wardens were killed on his watch. He's just a little less likely to mouth off and think, but he still has a remarkable talent for pissing people off.

Entertaining, with a relentlessly fast-paced plot. Recommended.

posted on Saturday, April 19, 2008 8:54:01 AM (Pacific Daylight Time, UTC-07:00) 
#    Comments [0]
Alliance Space
Title: Alliance Space
Author: C.J. Cherryh
Rating: 4 stars out of 5
Publisher: Daw
Copyright: 2008
Pages: 602
Keywords: science fiction
Reading period: 7-12 April, 2008

This is an omnibus edition containing C.J. Cherryh's Merchanter's Luck (1982) and 40,000 in Gehanna (1983): two very different novels set in the same universe.

In Merchanter's Luck, Sandor Kreja is the last survivor of a family that hauls freight across interstellar distances. He lives on the fringes, under a series of false identities, trying to avoid official notice. After a one-night stand with Allison Reilly of the enormous Dublin Again, she and three of her Reilly cousins sign on as his crew. The military hire them to ship a dangerous cargo.

Cherryh's two protagonists are complex people with motives that are often unclear to themselves, let alone each other. They are prickly and difficult, but appealing characters even so.

And, of course, how could I not like a book with a couple of thousand Reillys, be they on- or off-stage?

40,000 in Gehanna follows the evolution of a lost colony over two centuries. Most of the initial colonists are lab-born clones, biddable, unquestioning, and hard-working, unlike their descendants. Within decades, the society degenerates into near savagery.

The humans are not the only sentient beings on the planet. The calibans are a lizard-like race, who the early colonists cannot understand at all. Later generations develop a rapport that mystifies the observers who rediscover the planet.

An interesting book, but not one that I enjoyed as much as the other. I found the calibans too alien and opaque.

posted on Saturday, April 19, 2008 8:52:58 AM (Pacific Daylight Time, UTC-07:00) 
#    Comments [0]
Sunday, April 06, 2008 

Lords of the North

 Title: Lords of the North
 Author: Bernard Cornwell
 Rating: 4 stars out of 5
 Publisher: Harper
 Copyright: 2007
 ISBN: 0061149047
 Pages: 317
 Keywords: historical, fiction
 Reading period: 5-6 April, 2008

Uhtred, a Saxon warrior raised by Danes and the right-hand man of King Alfred the Great, returns home to Northumbria to settle old scores. Settle those scores he eventually does, but not before he is betrayed by a man he trusts and sold into slavery.

Cornwell is best known for his long-running series about Richard Sharpe, an officer promoted from the ranks in the Napoleonic Wars, and for his battle scenes. Here he proves that he can write about 9th century swordsmen as well as he can write about 19th century riflemen. All of his heroes tend to resemble Sharpe: grim-faced loners with their own sense of honor, who are deadly when crossed.

posted on Monday, April 07, 2008 6:36:15 AM (Pacific Daylight Time, UTC-07:00) 
#    Comments [0]
Saturday, April 05, 2008 
The Unquiet
Title: The Unquiet
Author: John Connolly
Rating: 4 stars out of 5
Publisher: Pocket Star Books
Copyright: 2007
Pages: 515
Keywords: crime, horror
Reading period: 3-5 April, 2008

Maine PI Charlie Parker is asked to warn off Merrick, a father looking for answers, from harassing his client. The case leads him to uncover a decades-old project of sexually abusing children who've fallen through the cracks.

Atmospheric and disturbing, as Connolly's novels tend to be.

posted on Sunday, April 06, 2008 5:01:11 AM (Pacific Daylight Time, UTC-07:00) 
#    Comments [0]
Variable Star
Title: Variable Star
Author: Robert A. Heinlein, Spider Robinson
Rating: 4 stars out of 5
Publisher: Tor
Copyright: 2006
Pages: 339
Keywords: science fiction
Reading period: 30 March-3 April, 2008

Joel Johnston is a budding young musician and the son of a Nobel-winning physicist, who gets engaged to Jinna, a fellow orphan, only to learn that she's the granddaughter of the richest man in the Solar System. Her grandfather, The Conrad, wants him to breed more heirs. In a fit of pique at the deception, Joel goes on a bender then hops on a colony ship to a distant star. Even at relativistic speeds, it's going to be a one-way trip.

Fifty years ago, Robert Heinlein wrote a short outline for this book, then put it aside. A few years ago, Heinlein's estate asked Spider Robinson to complete it.

Robinson has done a great job of writing another Heinlein novel, exploring one of his classic themes, a young man finding himself, and sounding very much like Heinlein himself.

Very enjoyable.

posted on Sunday, April 06, 2008 5:00:15 AM (Pacific Daylight Time, UTC-07:00) 
#    Comments [0]
Wednesday, April 02, 2008 

http://blogs.cozi.com/tech/images/2008/03/31/multiplebrowsers.png

I find it useful to have multiple Firefox profiles for developing and testing. A clean profile for testing allows you to replicate most users' environments, who don't install extensions. Running a development profile in a separate profile lets you restart the browser without messing with your default environment. You can also run Firefox 2 and Firefox 3 side-by-side in separate profiles.

More at the Cozi Tech Blog.

posted on Wednesday, April 02, 2008 5:35:13 PM (Pacific Daylight Time, UTC-07:00) 
#    Comments [0]
Monday, March 31, 2008 
Hammerhead Ranch Motel
Title: Hammerhead Ranch Motel
Author: Tim Dorsey
Rating: 3 stars out of 5
Publisher: Harper Collins
Copyright: 2000
Pages: 354
Keywords: crime, humor
Reading period: 28-29 March, 2008

The sequel to Florida Roadkill. The hyperactive serial killer, Serge A. Storms, is still in pursuit of $5 million, as are a new cast of goons.

The action centers around the eponymous Hammerhead Ranch Motel, which houses a wholly improbable set of sleazeballs.

Moderately enjoyable.

posted on Tuesday, April 01, 2008 5:34:43 AM (Pacific Daylight Time, UTC-07:00) 
#    Comments [0]
Dreams from my Father
Title: Dreams from my Father
Author: Barack Obama
Rating: 4.5 stars out of 5
Publisher: Three Rivers Press
Copyright: 1995
Pages: 457
Keywords: autobiography
Reading period: 8-26 March, 2008

This book was originally published, to little acclaim, in 1995 before Obama first ran for public office. His primary claim to fame at that point was that he had been the first black president of the Harvard Law Review. It was reissued in 2004 after his celebrated keynote speech at the Democratic National Convention placed him on the national stage.

Obama is articulate and thoughtful. This excellent memoir tells of his childhood in Hawai'i and Indonesia, his experiences as a community organizer in Chicago, and a formative trip to Kenya.

He was raised by his white mother and her parents. He hardly knew his Kenyan father, a village boy turned Harvard-trained economist. Obama met his father only once when he was ten, after his parents separated when he was two. His ill-formed impressions of his father were significantly changed by his trip to Kenya, where he learned far more from his half-siblings and extended family.

Obama's intelligence and capacity for self-examination shine through. He is frank about his mistakes and his undirected wandering in his high school and undergraduate years. He talks of his struggle to find an identity, part black, part white, feeling an outsider in both worlds.

The contrast with Emperor C-Minus Augustus could hardly be more stark.

Highly recommended.

posted on Tuesday, April 01, 2008 5:33:32 AM (Pacific Daylight Time, UTC-07:00) 
#    Comments [0]
Friday, March 21, 2008 

http://www.fingermarks.co.uk/gifs/expelled2.jpg

Time for another Odds & Ends.

Well-known evolutionary biologist PZ Myers (Pharyngula) was expelled from a viewing of a new creationist documentary, Expelled, last night. Wait until you read the punchline. There is a God!

Lost, one MacBook Air: Steven Levy explains just how he (thinks he) lost his MacBook Air.

It was St. Patrick's Day on Monday. Peter sent me the Muppets' Danny Boy video. Andrew told me that the Irish bishops had moved St. Patrick's Day. Monday was a holiday in Ireland, as is today (Good Friday) and next Monday (Easter Monday), so many people took Tuesday, Wednesday, and Thursday off this week. Bastards!

Emma and I walked with the Wild Geese Players in the Seattle Parade last Saturday. I walked into a fire hydrant afterwards, while preoccupied with my camera, leaving me with a deep bruise on my thigh. I must get around to posting those photos to Flickr soon (along with many others).

In Martian Headsets, Joel Spolsky discusses Microsoft's recent decision to make Internet Explorer 8 be standards-compliant by default, which reversed their earlier decision to be backwards-compatible. He remarks that they're damned if they do and damned if they don't.

In my opinion, Microsoft has erred too often on the side of backward compatibility. I'm firmly in the camp that wants IE to be standards-compliant by default. After struggling for months with IE6 (and IE7 to a lesser degree), I believe that we badly need to raise the level of standards compliance in browsers. As Jeff Atwood put it three years ago, IE6 is the new Netscape 4.7x: "the browser that we all wish would go away. The one that's a pain in the ass to support."

Confused about the current financial crisis? Watch Clarke and Dawe on subprime meltdown. And read Can’t Grasp Credit Crisis? Join the Club.

posted on Friday, March 21, 2008 5:18:51 PM (Pacific Daylight Time, UTC-07:00) 
#    Comments [0]
Wednesday, March 19, 2008 

http://blogs.cozi.com/tech/images/2008/03/19/vwdscreenshot_2.png

It's not at all obvious how to use Visual Web Developer 2008 Express Edition to debug JavaScript in Internet Explorer. So I wrote it up at the Cozi Tech Blog.

posted on Wednesday, March 19, 2008 8:34:22 PM (Pacific Daylight Time, UTC-07:00) 
#    Comments [0]
Saturday, March 15, 2008 

content/binary/Henri.jpg

It's been too long since I last posted an Odds & Ends.

Henri is a very amusing short spoof of French ennui.

Back in January, Emma and I were being repeatedly shocked by static electricity. We would inadvertently discharge by kissing or otherwise touching each other, or by touching laptops or faucets. Eventually, I realised that it was due to a combination of the microfiber upholstery on our new couch and the dry, unhumid air. We solved it by a combination of rubbing an anti-static dryer sheet (Bounce) on the couch and buying a humidifier. That led to a spate of jokes about the spark being gone.

It's started coming back again. I think it's time to fondle the couch with more Bounce.

The Bad Sex Awards are, perhaps, Britain's "most dreaded literary prize". Read about the 2007 Bad Sex nominees in the Guardian, with excerpts. The late Norman Mailer won posthumously

Ian Welsh makes a case that it's not your money, in rebuttal to anti-tax libertarians.

A few weeks ago I read that the last German veteran of World War I had died. Yesterday, I read that the last French veteran had just died.

Regarding the Spitzer prostitution scandal: normally, I would have given a Democratic politician the benefit of the doubt for a sex scandal. After all, unlike the Republicans—see Larry ‘wide stance’ Craig; David ‘Diaper’ Vitter (brother of my former professor at Brown, Jeff); Mark Foley, et al—Democratic politicians generally don't make a big deal of “family values”. Spitzer had done a good job of fighting corruption, but breaking up prostitution rings had also been one of his signature issues, as had prosecuting johns. The whole thing bespeaks such massive stupidity and hypocrisy that I say good riddance to him.

Several of us went to see Barack Obama at Key Arena last month (photos here), the day before the Washington state primary. The crowd more than filled Key Arena, with at least 20,000 in attendance. We ended up outside, as you can see from the photos, which actually served us well, as Obama stood outside and talked to the crowd for a few minutes before heading into the stadium. We got closer to him than we would have inside.

Anyway, John McCain spoke at the Westin Hotel that evening and only managed to half-fill the ballroom, which accommodates 800 people. In other words, the then-presumptive Republican nominee could only pull as many people as attended my caucus the next day. There are hundreds of thousands of Republicans within an hour's drive of Seattle, but only a few hundred of them could summon the enthusiasm to see their guy in person.

I thought our caucus went well. I helped the convener organize the whole event for eight precincts. As the Precinct Committee Officer (PCO) for SEA 11-1945, I chaired our precinct's caucus and was elected as a delegate for Obama, which means that I will be attending the 11th Legislative District and the King County conventions next month. I have no intention of trying to proceed further. I don't want to go to the Democratic National Convention in Denver in August.

posted on Saturday, March 15, 2008 7:05:34 AM (Pacific Daylight Time, UTC-07:00) 
#    Comments [0]
Thursday, March 13, 2008 

http://www.georgevreilly.com/blog/content/binary/js-date-dst2.png

The JavaScript engines in Firefox 2 (Windows) and IE6 can't handle the new Daylight Savings Time rules in the U.S. The Date() function returns a value that is off by an hour if the system time is between the second Sunday of March and the first Sunday of April.

More at the Cozi Tech Blog.

Update 2008/03/14: Mea culpa. This is not a widespread problem. It is caused by the presence of set TZ=PST8PDT in my C:\AutoExec.bat. Per KB932590, the existence of the TZ environment variable will cause the CRT to use the old DST rules. (I can't remember why I set TZ several years ago. It's part of the accumulated mess of files that I bring everywhere with me.)

posted on Thursday, March 13, 2008 8:58:27 PM (Pacific Daylight Time, UTC-07:00) 
#    Comments [0]
Monday, March 10, 2008 

http://www.georgevreilly.com/blog/content/binary/deadlock_thumb.jpg

Over at Cozi, we've started a new technical blog. I just put my first post up, describing a nasty problem we had late last year.

Here's the summary:

Internet Explorer 6 does not support transparency in PNG images. The best-known solution is to use the DirectX AlphaImageLoader CSS filter. It's less well known that using AlphaImageLoader sometimes leads to a deadlock in IE6. There are two workarounds. Either wait until after the image has been downloaded to apply the filter to the image's style, or use the little-known transparent PNG8 format instead of the filter.

More here.

posted on Monday, March 10, 2008 9:47:32 PM (Pacific Daylight Time, UTC-07:00) 
#    Comments [0]