Friday, July 11, 2003

Disk Storage
Jim Grey is mailing disks and computers because it's a faster way to move gigabytes of data than sending it through the net. A fascinating interview with JG and David Patterson (co-inventor of RISC and RAID) at ACM Queue.

Key quote: “We have an embarrassment of riches in that we're able to store more than we can access. Capacities continue to double each year, while access times are improving at 10 percent per year. So, we have a vastly larger storage pool, with a relatively narrow pipeline into it. We're not really geared for this...the fundamental problem is that we are building a larger reservoir with more or less the same diameter pipe coming out of the reservoir. We have a much harder time accessing things inside the reservoir”.

The excess of capacity versus access is already having some interesting second-order effects, not the least of which is providing the raison d'etre for my new employer. I have to send this to some of the folks I work with. The implications are just huge. Among other things, I hope this is what will end the retrograde directions we're seeing in the database world.

Thursday, July 10, 2003

Music and Poetry

The thing that gets to me
is how you're never free.
Though the spirit yearns,
the body is a prison


Neil Finn, Astro

Throw armfuls of emptiness
out to the spaces
that we breathe -
maybe the birds
will sense the expanded air
flying more fervently.


Rainer Maria Rilke, Duino Elegies, First Elegy

Wednesday, July 09, 2003

Iran and Afghanistan
Today is the 4th anniversary of the Iranian student protests in 1999. Iranian student leaders called off demonstrations today after being threatened with violent reprisals, but it appears that some protests went on anyway. Worldwide protests in support of the Iranian demonstrators were held today. Some are predicting the imminent fall of the regime.

USA Today has an article on progress in Afghanistan. This is in contrast with a story about the Pakistani embassy getting trashed by protesters in Kabul over alleged border incursions by Pakistan. As always, it's difficult to get a real sense of what the situation in Afghanistan really is.

Monday, July 07, 2003

Blogs, Books, Blockbusters
I don't watch TV anymore. I read blogs. I don't buy newspapers. I read blogs. As far as I'm concerned, I've traded up.

I still read books - just finished Hayden Herrera's biography of Frida Kahlo. I want to read W. R. Clement's Reforming the Prophet next. I had read Clement's previous book, Quantum Jump: A Survival Guide to the New Renaissance about 4-5 years ago and dismissed it as interesting but wrong in its predictions and conclusions. I re-read it a year ago and discovered that Clement's vision looked a lot sharper than it had during the Clinton Belle Epoque (to borrow a phrase from Bruce Sterling's latest). I need to read C.J. Date's Temporal Data and the Relational Model. It's a geek thing.

And I still see movies (recommended: Respiro), although I've missed all of the big summer blockbusters. I strongly suspect that I haven't really missed a thing. I really want to see Winged Migration, too. Then maybe I'll go see Matrix Reloaded at the drive-in (we still have one, here in the land that time and neo-conservatism forgot).

Sunday, July 06, 2003

Software
Incredible messes in the software world:
SQL99/SQL3/SQL2003/SQL-XML
Web Services/SOAP/WSDL/UDDI/ebXML
Semantic Web/RDF/CDF/RSS/XML-RPC

I won't go into details about why these things are such messes. Life is too short, and there are too many interesting and worthwhile things to learn. But I will ask this question: Have any of the players (standards organizations, gurus, big companies, etc.) involved in any of the above produced anything simple, easy to use, and/or worthy of broad, large-scale adoption recently? As usual, the really interesting stuff is happening outside of the standards mainstream - weblogs being one obvious example.

Funny how so many of these things are tangled up, in one way or another, with XML. XML is here to stay, and it's very useful in some contexts. But the drive to make it the panacea for every problem in computing is doomed to failure. Perhaps I'm just getting old and crotchety. Then again, perhaps it all reminds me of the other failures I've seen in my career (CASE tools, Network Computers, Object-Oriented Databases, CMM, "Push" technology, CORBA, 4GL's, ASP's, etc.).

Things that are not as messy: (note that I don't think less messy is necessarily a good thing)
.NET
LAMP
Inalienable Rights
Read this wonderful essay by Thom Hartmann on what the framers of the Constitution intended with respect to our rights. Key quote: “...the Constitution wasn't written as a vehicle to grant us rights. We don't derive our rights from the constitution. Rather, in the minds of the Founders, human rights are inalienable - inseparable - from humans themselves. We are born with rights by simple fact of existence, as defined by John Locke and written by Thomas Jefferson in the Declaration of Independence. "We hold these truths to be self-evident," the Founders wrote. Humans are "endowed by their creator with certain inalienable rights...."”

Friday, July 04, 2003

Life, Politics, and the Fourth of July
Today's the Fourth of July
Another June has gone by
and when they light up our town I just think
what a waste of gunpowder and sky


Aimee Mann, Fourth of July

Actually, I like fireworks. And the above isn't even relevant to my hometown. Santa Cruz does not have a Fourth of July fireworks celebration. You'd have to drive up to Scotts Valley for that. (SV, BTW, is the kind of place that would gladly have accepted Mr. Rumsfeld's suggestion that they structure their Fourth around the war in Iraq. Heck, they probably did.) What we do have is a fireworks celebration in October to celebrate the founding of the city. The first year I lived here, I thought it was a little weird. Now I really like it; we can walk down to the beach on a beautiful fall evening with friends and neighbors and watch a fantastic display over the big curve of the bay. And there are no tourists around to clog up the roads and the beach and act stupid.

Favorite bumpersticker: "They call it tourist season, so why can't we shoot them?"

But I digress. The real question is, does failure to wrap ourselves in the flag indicate we (including me) are unpatriotic? Or does it indicate that we/me believe that symbolic gestures ultimately don't amount to much? Well, since I served my country/pay taxes/vote (most elections)/etc., I choose the latter.

I love my country. I'm still willing to give my life to defend it. America is an oasis in human history - there have been others, but we're the biggest and longest-lasting one. But I don't subscribe to the "my country, right or wrong" point of view. That's unworthy of any thinking adult. What we are - as a nation, a society, and a culture - still falls short of what we could be. And we should aspire to be more than what we are - to be truly great (not merely powerful); to advance the causes of freedom and justice; to bring prosperity to all; to live up to all of our ideals. Thomas Jefferson reputedly said "The price of liberty is eternal vigilance". What we need to remember is that Jefferson was warning us against internal enemies as much as external ones; our history is, among many other things, a constant battle between those who would defend the letter and spirit of our founding fathers' legacy and those who would sacrifice it for their own self-interest. The only way that ever ends is if we give away our liberty. We're still a long way from that, but we're not winning the battle either.

This shouldn't be taken as a polemic against the current administration. All of our politicians on both sides of the aisle are failing us. A few notable exceptions (e.g., Robert Byrd, John McCain) are isolated and mostly powerless. And it's a bad time for the system to have become corrupted. We're well into one of those great transformations in human history that fundamentally alter our world. As Peter Drucker puts it, "Every few hundred years in Western history there occurs a sharp transformation...Within a few short decades society rearranges itself - its worldview; its basic values; its social and political structure; its arts; its key institutions. Fifty years later, there is a new world. And the people born then cannot even imagine the world in which their grandparents lived and into which their own parents were born" (Peter Drucker, Post-Capitalist Society). Is our current and future leadership up to the task of successfully guiding us through this transformation? Or are they going to follow the lead of so many elites in history who abdicated their responsibilities in order to enrich themselves?

Today, the most fundamental act of patriotism may be to look at our society, decide what we don't like about it, and then do something about it. Then again, has that ever not been the case?

Wednesday, July 02, 2003

War and Peace
"Microsoft Word documents are notorious for containing private information in file headers which people would sometimes rather not share". Looks like Tony Blair's people forgot to cover up their tracks. One more piece of evidence that the WMD hype went way, way over the top.

Perhaps that's why a poll indicates the majority of Americans believe the administration stretched the truth about the Iraqi WMD's and alleged ties to al-Qaeda and Osama Bin Laden.

No WMDs have been found. Bin Laden and al-Qaeda, though battered, are still out there and active. The Administration is trying to create an international peacekeeping force to take some of the burden off of the overstretched US military forces. Unrest in Iraq may be on the rise.

Some good news. Protests in Iran appear to have resumed. Colin Powell has stated that the US does not intend to intervene, suggesting it would be wiser to leave the internal conflict in Iran to play itself out.

Tuesday, July 01, 2003

Theology
Robert Martin writes: "For millenia we have searched the heavens to find messages from the gods. Today we found such a message...Now we know what God thinks of us".

Monday, June 30, 2003

Software, Work, and Learning
My last day at my old job. Thinking back, I'm appalled to realize how little I learned over the past year working there. Almost everything was a rehash of what I've done before or work that wasn't worth doing. And I'd already had the experience of watching bad management run a perfectly good company into the ground. It hadn't hit me before, because I've learned so much outside of my day job. My other milestone today was that I finally finished the first alpha version of Chrysalis and sent out an announcement to a bunch of other developers I know. Even if it never goes beyond being a vanity project, the time and effort I've invested have totally been worth it. I've deepened and refined my skills, learned lots of new stuff (ant, xml, html, various dusty corners of Java, etc.), and put together something that amounts to an on-line portfolio of my work. I don't know if my new employer looked at Chrysalis after I told them about it, but I think they were at least impressed by the fact that I'd done my own Open Source project and was more than willing to show them my actual code. Slam-dunking most of their interview questions probably helped, too ;-).

I'm looking forward to the new job. It will be real learning experience, I have no doubt, and there's good reason to be optimistic about how successful they'll be. I want to write a book about high-performance techniques in Oracle and this will be the perfect job to give me lots of real-world feedback. Work on Chrysalis will slow down for a little while, but that's OK. It's got enough momentum now to sustain itself for a long time; I expect to be working on it for the next few years.

Sunday, June 29, 2003

Software
Fred Brooks was right when he wrote that turning a simple program into a programming systems product took 9X the effort of just writing the simple program. A big part of that 9X is writing user docs in HTML.

Saturday, June 28, 2003

Music and Code
Paco de Lucia's Siroco - maybe the greatest flamenco album ever made - is the perfect music to motivate you to finish the last gnarly parts of a code release.
Business and Injustice
I bought a real newspaper for the first time in months and sat down to read it while sampling some of the local barbeque. Alas, the BBQ here on the NorCal Riviera is as bad as the Mexican food; times like these are when I really miss living in Texas. Reading the paper proved more interesting. An article on page 3 entitled "Study: E-waste program dangerous" (online version here) compared Dell's e-waste recycling program with H-P's. Dell subcontracts out to a company called Unicor. Unicor, based in Washington state, employs 1,100 convicts who they pay anywhere from 20 cents to $1.26 an hour to handle and dispose of cathode ray tubes and other unsafe tech by-products. The study says the Dell/Unicor program exposes the prison laborers to dangerous chemicals, partially due to the low-tech working environment. The study contrasted this with H-P's program, which pays civilian workers $8 to $13 dollars an hour plus benefits, and minimizes their exposure to chemicals and other toxins.

Now we know one reason why Dell's prices are lower than the competition's.

Several things about this really disturb me. First, there are plenty of unconvicted citizens who need a decent job, and $8-13 an hour in a safe working environment surely beats unemployment. Second, most of the prisoners doing this kind of work are going to be the "safer" ones, i.e., they're in for non-violent crimes or misdemeanors. So putting them to work for third-world wages is exploitative to the extreme. Even if you don't care about the inmates' working conditions, you should realize that your and my taxes will have to pay the cost of their getting sick from performing unsafe work. I should also point out that our taxes are already paying the costs of their incarceration, thus providing a totally subsidized pool of labor for subcontractors who use prison laborers. I don't doubt the folks who run Unicor think that this is just good business. And it is, at least for those born without the scruples or ethics genes.

It's a sad comment on this society that this story is buried on page 3 of the business section and will probably only outrage Unicor's management (who are already on record calling the study "deeply flawed" and "disturbing"). If the matter is brought to HP's management's attention, they'll probably close their facilities and outsource to the prison contractors, too.

All so you can get a few bucks off the price of your computer. I have two Dell computers here in my home. I won't be buying another.

Thursday, June 26, 2003

War and Peace
Are we winning or losing the peace?

It's still far too early to say. The latest posts from Salam Pax and G In Baghdad hardly give one reason for optimism, though. Neither does this story in the Washington Post. Some additional data points here and here.

I think we needed a post-war analogue to the the Powell doctrine of striking the enemy with overwhelming force; a doctrine of rebuilding the occupied infrastructure with overwhelming rapidity - a high-impact Marshall Plan for the new century. Unfortunately, it's a little too late for that in Afghanistan and Iraq. See what a retired US general says about “ the consequences of failing to prepare for victory”.

Guerilla action against the coalition forces appears to be on the upswing, as evidenced here, here, and here.

Is the news all bad or is it only bad news that gets reported?

The documents seized several days ago may lead to some discoveries of WMDs. Or not. Perhaps I'm far too cynical, but does this story have the fingerprints of the Administration's spin machine all over it?

But hey, Bechtel, Halliburton, and WorldCom are making hay out of the occupation. Now that Enron can't sell electricity in the US anymore, will they turn their attention to Iraq?

Very little news out of Iran, so it's hard to know if the protests have been crushed or if they'll resume. Here's hoping we don't have a replay of what happened in 1999. Ending the rule of the Mullahs would be a real victory for freedom and self-determination.
Weather With You
Late Spring is when the winds off the Pacific shift from W to NW; hence, days usually begin and end with a cool haze of fog all along the coast. Occasionally (like maybe once every other year) the winds will shift radically and come from the southeast. When this happens, temperatures in the Bay Areas (SF and Monterey) rise dramatically. We're in the middle of one of those radical shifts right now. I know this, because I started my day in SC (high 92°), went to the city (SF) for lunch (high 95°), and finished my day in the Valley (high 101°). It wasn't as bad as 2 years ago, when the temp in SF rose to 103° - I remember it well, because I was trapped in my no-AC apartment recovering from surgery. Today the heat didn't bug me too much; probably all those years in Texas (high today in Austin: 96°).

Worst thing about the weather: It causes a thermal inversion in the Valley, so all the smog gets trapped. Coming down the hill, you see a dirty gray blanket over San Jose. You'd think there'd been a forest fire recently if you were anywhere else.

Best thing about the weather: It doesn't stay hot here. After sweltering all day in the Valley and the City, you come home to SC in the evening, roll down the windows, open the sunroof, and let in the delicious cool while you listen to Bebel Gilberto sing Samba e Amor. Any haze you see is just a whisp of fog.
Cars
Is it just me, or does the Lexus SC look like a supersonic, 21st century Karmann Ghia? Speaking of which, why doesn't VW bring the Ghia back?

Monday, June 23, 2003

Software

Found lots of interesting stuff surfing:

Random Hacks posits a third alternative to the showdown between Microsoft and Open Source as to the future of software development.

Artima is a software community-oriented site with lots of good content that also hosts a remarkable set of weblogs. Among other things, a good interview with Andrew Hunt and Dave Thomas (the Pragmatic Programmer guys) on the value of storing persistent data in plain text and the ways they feel XML is being misused. Bruce Eckel's interview on Artima and some of the entries in his weblog have convinced me to give Python, a language I'd previously dismissed, a try.

The only problem is that I still want to learn Ruby. Plus I need to finish crossing the t's and dotting the i's on Chrysalis so I can put out an initial alpha release and then work on adding support for MySQL. Plus I need to get working on finishing my series of essays on software development. Not to mention that I start a new job in a week. And there's that biography of Frida Kahlo I'm trying to read.

Sunday, June 22, 2003

Software - Ted Codd's Legacy
I'm re-reading Codd's 3-page monograph on Data Models, originally published in 1980, and I'm struck once again by the sheer elegance of the man's ideas.

    “Numerous authors appear to think of a data model as nothing more than a collection of data structure types. This is like trying to understand the way the human body functions by studying anatomy but omitting physiology. The operators and integrity rules are essential to any understanding of how the structures behave.”

What's sad is that so few people doing software development actually understand these concepts. If they did, we'd have database management systems that correctly implemented the relational model. And then we'd have simpler systems that could manage data more reliably and effectively, and could build simpler and more reliable applications on top of them.

I've been predictiing for the past few years that the relational model gets "rediscovered" about 10-15 years from now when all the current data management fads and fictions have finally been shown to be hollow and hopelessly flawed. I'm assuming Codd's reputation gets refurbished at about the same time.

Saturday, June 21, 2003

Ideology - Things that make me go hmmm
Glenn Reynolds, who should know better, implies anyone who's questioning our efforts in rebuilding Iraq is a fifth columnist who will cost us the war. This comes at the end of a link to a thought-provoking article by Victor Davis Hansen in the National Review Online.

Ann Coulter, who doesn't know any better, resurrects the ghost of Joe McCarthy as a great patriot smeared by treasonous liberals. Actual, unretouched quote: “The left cut down a brave man, but not before the American people heard the truth”.

Fortunately, I can get away from all this and head down to San Diego to “take direct action against the many issues and facets of the system that maintains a world based on power, class, race, sex, and species”.

Or I could just stay home and oppress my loved ones, like any good middle-aged white male.