What's That Noise?! [Ian Kallen's Weblog]

20041117 Wednesday November 17, 2004

XML::Parser on Mac OS X I needed to fiddle with XML::XPath on my powerbook today, it depends on XML::Parser. Complacent with how most unixy things I want to do JFW on Mac OS X, I dropped down to my CPAN shell and typed "install XML::Parser" -- bzzzt!

It turns out that expat is not installed, grrr. So I fired up Fink Commander and had it gimme some expat lovin'. Tried it again -- bzzzt! This is what I did in the CPAN shell

cpan> o conf makepl_arg "EXPATLIBPATH=/sw/lib EXPATINCPATH=/sw/include"
cpan> install XML::Parser
-- ding-ding-ding! We have a winner! XML::Parser installed! Thereafter, XML::XPath JFW'd and I'm on my way.

( Nov 17 2004, 04:53:44 PM PST ) Permalink View blog reactions


20041107 Sunday November 07, 2004

Tomcat's "Content-type" header parsing busted? One bit fun this week was trying to figure out why some XML output I was working was mangling characters. I thought I was doing all of the right things as far as handling the data goes. Well, I think I was but Tomcat 5.0.28 wasn't.

I poked around the Jakarta bug database and the only mention I could find that close was PR 31442, which described having this

<%@ page language="java" contentType="text/html; charset=UTF-8" %>
<%@page pageEncoding="UTF-8"%>
and saying that the text was coming back ISO8859-1 when the page is requested as a GET but not as a POST. Well, someone from the Jakarta project marked the bug INVALID glibly saying to ask on the user's mailing list and look at the Connector configuration because it's not a bug. WTF? Are you kidding?

Now I looked around in the Connector stanza's that come in the server.xml and see no mention of encoding configuration attributes. I've got a real simple test case.

<% response.setContentType("text/xml"); %>
triggers no funny encoding behavior, I get the data out as good old utf8 just as I wanted but if I did this
<% response.setContentType("text/xml; charset=UTF-8"); %>
....kablooey! Mangled encoding! That's just wrong. And if it's not wrong, I think it warrants a better answer than RTFM on the Connectors.

And the problem may not just be isolated to JSP handling. Judging from other reports that are turning up in Google's index pertaining to SetCharacterEncodingFilter, it's affecting the filter implemetation as well.

( Nov 07 2004, 02:46:58 AM PST ) Permalink View blog reactions


20041106 Saturday November 06, 2004

What are all of these stupid people doing in my country? There were some severe system problems last week that pretty much knocked this site out of commission, I'm hoping it's all in the past now.

In the meantime, the Big Lie that waging war on Iraq has some relationship to 9/11 and terrorism apparently has been successfully Jedi mind-tricked into the American psyche and we're destined to have four more years of high crimes and misdemeanors. It just makes me wonder what is up with the rest of the country. Plenty of folks abroad are, evidently, equally perplexed by this election, as we see in a recent Daily Mail cover.

If you're single, there are some Canadians offering asylum. I'm thinking of packing up the family and moving to New Zealand or something.
Just to keep track of where I don't want to be, I'm reckoning with the map:

electoral college strong kerry Strong Kerry (146)
electoral college weak kerry Weak Kerry (37)
electoral college barely kerry Barely Kerry (69)
electoral college tied Exactly tied (0)
electoral college barely bush Barely Bush (30)
electoral college weak bush Weak Bush (66)
electoral college strong bush Strong Bush (183)
Needed to win: 270
 
Do you live in a state of stupity?
Apparently 59,054,087 of you do.

  State Avg. IQ 2004
1 Connecticut 113 Kerry
2 Massachusetts 111 Kerry
3 New Jersey 111 Kerry
4 New York 109 Kerry
5 Rhode Island 107 Kerry
6 Hawaii 106 Kerry
7 Maryland 105 Kerry
8 New Hampshire 105 Kerry
9 Illinois 104 Kerry
10 Delaware 103 Kerry
11 Minnesota 102 Kerry
12 Vermont 102 Kerry
13 Washington 102 Kerry
14 California 101 Kerry
15 Pennsylvania 101 Kerry
16 Maine 100 Kerry
17 Virginia 100 Bush
18 Wisconsin 100 Kerry
19 Colorado 99 Bush
20 Iowa 99 Bush
21 Michigan 99 Kerry
22 Nevada 99 Bush
23 Ohio 99 Bush
24 Oregon 99 Kerry
25 Alaska 98 Bush
26 Florida 98 Bush
27 Missouri 98 Bush
28 Kansas 96 Bush
29 Nebraska 95 Bush
30 Arizona 94 Bush
30 Arizona 94 Bush
31 Indiana 94 Bush
32 Tennessee 94 Bush
33 North Carolina 93 Bush
34 West Virginia 93 Bush
35 Arkansas 92 Bush
36 Georgia 92 Bush
37 Kentucky 92 Bush
38 New Mexico 92 Bush
39 North Dakota 92 Bush
40 Texas 92 Bush
41 Alabama 90 Bush
42 Louisiana 90 Bush
43 Montana 90 Bush
44 Oklahoma 90 Bush
45 South Dakota 90 Bush
46 South Carolina 89 Bush
47 Wyoming 89 Bush
48 Idaho 87 Bush
49 Utah 87 Bush
50 Mississippi 85 Bush
There you have it: the closer you are to the coasts or Lake Michigan, the more likely you're not a dumbass.
I was never particularly enamored with John Kerry, in fact I would've been happy with a Wesley Clark-Howard Dean ticket. Nonetheless, I don't think Kerry would have been so driven to a war that he would have disregarded counter-indicative intelligence and the advice of allies to wage one.
Another idea that no longer seems entirely ridiculous is to secede from union. Seriously, who wants to be part of this country when California's vote is under represented in the electoral college and yet our youth are being sent to Fallujah to wage war against a culture and people most people here know little of. We're the country's vegetable stand and it's cannon fodder. I don't think so. Suddenly, Ecotopia sounds like a reasonable proposition.
Independence for California!

( Nov 06 2004, 01:12:57 PM PST ) Permalink View blog reactions


20041023 Saturday October 23, 2004

Rock stars and actresses What is it with rock stars and actresses? Hopefully there's no home made videos of them but apparently Lars Ulrich and Connie Nielsen are a thing.

Remember Lucilla in Gladiator? Yea, that's Connie Nielsen.

Here's a guy with two sons and a wife of 7 or 8 years going to fashion shows, art auctions and movie premiers with his Danish girlfriend. Oh, Lars: you're so damned hollywood! Apparently the paparazzi in Denmark have kept tabs on them as well.

Back in the old days o' Metallica we had loads of fun but didn't go to fashion shows, art auctions and movie premiers. We didn't sip fine wines either. Oh well, I hope the dude is happy.

( Oct 23 2004, 07:29:35 PM PDT ) Permalink View blog reactions


20041022 Friday October 22, 2004

Technorati's referer-driven cosmos There's a it's-so-simple-it's-cool feature on Technorati. You can construct a link to get the cosmos for a page simply by linking from it a specific URL.

After raising the notion with Tantek, he plugged the trivial bit to enable this on the Technorati site..
Check it out http://www.technorati.com/cosmos/referer.html (ok, so I'm not very popular in this big 'ol cosmos but anyway...). This is what you do:


Try it!

( Oct 22 2004, 07:54:11 PM PDT ) Permalink View blog reactions


20041021 Thursday October 21, 2004

Technorati Party All work and no play makes Ian a dull boy, so to keep me jazzed Technorati is having a party!

OK, I lied. It ain't about me, it's about our new office and the major milestones that Technorati is achieving, the agony of startup setbacks and the ecstacy of... having fun! The details:

WHEN
Thursday, October 28, 7 p.m.
WHERE
Technorati, 665 Third Street #207, San Francisco
WHAT
A party to catch up, and celebrate the move to our new offices!
RSVP
rsvp@technorati.com. As space is always limited, please be sure to RSVP.
Bring Your Own Lampshade

Here's Dave's original post.

( Oct 21 2004, 04:34:11 PM PDT ) Permalink View blog reactions


20041020 Wednesday October 20, 2004

Eclipse and Test Driven Development I've got some coding going on in Java, Perl, Python and PHP at the same (thus often self-query frequently: "Oh wait, which language am I working in for this bit?"). I've been using, at least partially, Test Driven Development with my current Java effort and It Is Good.

I've used Eclipse extensively in the past but since there was kinduva a long hiatus in Java development for me, it felt both novel and familiar to install it on my powerbook for the stuff I'm currently working on. I think that liberated feeling of knowing that That Thing Works So I Can Move On Now is referred to as being "Test Infected." Which, unlike the flu, is a good kind of infection. One of the things I've been trying to be more consistent about is writing tests prior to, or if not, concurrently with, application code. I strongly recommend reading Kent Beck's Test Driven Development (who BTW appears to have a work in progress about Eclipse), TDD is a quick read but more than any particular valuable agile techniques per se it offers a good outlook on how to think about what you're doing when you sit down to write code.

Well, I was writing a few initial test cases for a class I was working on and noticed something new (to me anyway) when I clicked on an error that Eclipse flagged. The non-existence of the method in the called class was identified and Eclipse offered to stub it out on my behalf, this is a huge win as far as expressing an API in a test case and continuously filling in the functionality development "TODO" list. Everytime I want to add a new public method, I'll write a new test case and let Eclipse bootstrap the implementation.
Read it:
Now if I could get that level of simplicity and automation working with Perl, Python or PHP, I'd be jammin'! Sure, there are testing frameworks for each of these but Eclipse really streamlines that whole TDD cycle.

Forget about the flu shot hysteria, get "Test Infected"

( Oct 20 2004, 11:04:06 AM PDT ) Permalink View blog reactions


20041019 Tuesday October 19, 2004

The MUNI gods frown on me I specifically didn't walk from BART today because of the downpour of rain, I transferred to MUNI to take the N-Judah down towards the Caltrain station. What a mistake!

Sure, I have a rain parka but that's not the point, I wanted to avoid having my backpack get saturated. So after waiting about 10 minutes, a two car N-Judah rolls into Embarcadero station at aroun 8:40 or so with the robotic audio announcement "two car. mission bay. now approaching...." A crowd piles on; I don't think the MUNI scheduling people have realized that a lot of people work near the ball park.

Out on the surface streets at Harrison, the driver announces that it's the last stop and that the next N would arrive in 3 minutes! Why would they cut the route 3 stops short?! Everyone spills out into the deluge of wind and rain; the shelter there hardly has adequate room, so most of us are getting wet. BTW, that was train cars number 1481 and 1483, in case any MUNI hacks are reading this. Almost 10 minutes later, I ended up getting back on the first train as it showed up on the opposite side of the platform, going the other way -- I was getting concerned that the rain would soak through my backpack and get my powerbook wet. On the way back to Embarcadero station, I saw the "next train" -- it was packed; looked like there would barely be room for all of the folks who'd withstood the rain waiting for it. I finally got another train and got to the office by 9:10am. Thanks for the convenient adventure, MUNI!

( Oct 19 2004, 09:36:51 AM PDT ) Permalink View blog reactions


20041016 Saturday October 16, 2004

Enhancing web application component "testability" with IoC I heard from some friends who are mid-flight on a project using Spring, Hibernate, Struts and Tomcat. A lot of the complaints that can be lodged against J2EE are philosophical and technical but there are some down and dirty practical reasons to un-EJB-ify.

The objections on principal may be technical
  1. Intrusive inheritance hierarchy and mandatory interfaces, narrowing and recasting, gratuitous class proliferation and so forth (does the framework work for you or do you work for the framework?)
  2. Container managed debugging nightmares
The philosophical objections are perhaps a general complaint about the Software Industrial Complex
  1. J2EE is handed down from The Cathedral
  2. JSR's and the JCP don't constitute inclusive openness, it's a "club" that you're either in or out of
  3. Java is not open source
The practical problems of EJBs
  1. Using the containers can be a morass of deployment descriptors and dependencies, slowing down project spikes
  2. Component dependency on the container requires extra plumbing for testing, which also anti-agile. Specifically, if you want to use CruiseControl and Cactus together, get ready for a visit from an old friend named the OutOfMemory exception
  3. .

While the practical problems of test-friendliness seem to be addressed by IoC, it sounds to me like some of the morass-of-deployment-descriptors problem are inescapable. Mapping services into POJOs declaratively (as Spring, Hibernate and Struts all require) isn't a walk in the park; until there's a linter and/or metadata/xdoclet support for easing how services can be mapped in given a specific runtime context, the pain of diddling XML config files and finding errors at runtime are going to be part of the landscape. Nonetheless, automated unit testing without cactus is a huge win in my book -- leaving CruiseControl to run unit tests and having Cactus runs reserved for manually-invoked integration tests sounds like the way to go.

I'll be steering clear of the traditional J2EE containers such as JBoss or Weblogic.

( Oct 16 2004, 09:33:02 AM PDT ) Permalink View blog reactions


20041014 Thursday October 14, 2004

Add To The Reading Queue I should take a week off of work so I can sit around and read (like that could ever happen).

So many books, so little time

Hibernate in Action
If the slashdot review glowed any brighter, it'd spontaneously combust.
Agile Database Techniques : Effective Strategies for the Agile Software Developer
Weighing YAGNI against the PITA'ness of data model changes has bit me before. Data modeling and iterating over model revisions are often the hard part in agile development cycles. I'd expect Scott Ambler to offer useful insights into lightening what is often the heaviest part of a projects development.
The Innovator's Solution: Creating and Sustaining Successful Growth
As one who actively looks for opportunities in subverting the dominant paradigm, I'm interested in Clayton Christensen's follow-up to The Innovator's Dilemma.

Someday real soon, I'll build a little app with Amazon's ListLookupOperation to integrate wishlist items with my blog and perhaps fold it into an Attention.XML data source.

( Oct 14 2004, 10:36:56 AM PDT ) Permalink View blog reactions


20041008 Friday October 08, 2004

Who is the Master of Puppets? Could this be a picture of a wired George Bush on Salon.com?

See for yourself, Bush's mystery bulge I hope Kerry brings it up in tonight's debate, may be pat him down.

Master of Puppets

I will occupy
I will help you die
I will run through you
Now I rule you too

Come crawling faster
obey your Master
your life burns faster
obey your Master
Master
Master of Puppets I'm pulling your strings
- Metallica, 1986

( Oct 08 2004, 11:49:12 AM PDT ) Permalink View blog reactions


Interfaces and wire protocols for web services A lot of great feedback emerge during and after the Technorati hackathon.

The hackathon percolated a lot of interesting ideas. One of the bits of feedback that caught my attention was from Chris Fry:

There are some drawbacks however to not having a WSDL and to not using SOAP. (1) You are bound to HTTP; (2) If you version the contract how do you notify your clients? (3) Related to 1, no SOAP Headers; (4) No public contract other than your documentation.

This sounds great, getting Technorati developers out of the wire-protocol-awareness business (unless they want to be in it) is one of my goals for future development efforts with the Technorati API. The direction I'd like to take it is an "all of the above" implementation where API consumers can fiddle with the low level if they want to (via REST w/XML, REST w/XOXO, xml-rpc or whatever interface to du jour is desired) but also provide a SOAP interface for those who want to use WSDL to skip all of that.

We have some work to do internally at Technorati to get us to that point though.

( Oct 08 2004, 10:58:31 AM PDT ) Permalink View blog reactions


Google's Velocity Accelerating If you measure development velocity as the number of funcitonality points per time interval, then Google is definitely accelerating.

Check it out:

Gmail Atom Feed Coming?
According to internetnews.com, Google is enabling feeds of gmail mailboxes to make feed readers lightweight mail clients (well, readonly clients). I'm imagining subscribing to mailing list digests through gmail and reading them through a feed reader will become an adopted practice. Additionally, gmail's search capabilities are getting some augmentation.
Google Searches Books: Google Print
As has been widely publicized, Google Print seems to be Google's response to A9 ...so far Google Print has been down half the time I've tried to use it but I wouldn't bet against them executing well on it.
Google queryable via SMS
I'm imagining all kinds of goodness out of this... querying Froogle for prices while you're shopping bricks-n-mortar venues, looking up local bars and restaurants (and Dodgeballing them!)
Gbrowser
John Doerr says that he doesn't see browser in Google's future but still, if it quacks like a browser builder, it's probably a browser building duck.

So what's next from Google? An Orkut that isn't all-Brazil-all-the-time?

( Oct 08 2004, 10:31:29 AM PDT ) Permalink View blog reactions


20041005 Tuesday October 05, 2004

Mount St. Helens VolcanoCam Wow, the pictures this morning are fantastic!

If you haven't checked it out, stop what you're doing and check out Mount St. Helens right now! ( Oct 05 2004, 10:03:09 AM PDT ) Permalink View blog reactions


20041004 Monday October 04, 2004

The Bad Time Of Year With the Astro's defeat of the Rockies yesterday, the Bad Time of Year has begun.

Sure, this is always the time of year when the weather gets a little colder, the sun sets earlier and the volume of junk mail catalogs arriving from the postal service goes up. But what makes this Bad is obvious: the Giants aren't playing baseball until the spring. I just can't wait until spring! Any claims that the lack of October play is Felipe Alou's fault is just silly. The last few years' bad deals with Sidney Ponson and Damien Moss and bad luck Rob Nenn have taken away payroll that coulda been used more productively -- those situations are more blameworthy. But hope springs eternal and this spring we should see Jessie Foppert and Jerome Williams in the rotation and if some good luck (and payroll availability is on our side) Moises should be a Giant and batting behind Bonds. ( Oct 04 2004, 10:04:14 PM PDT ) Permalink View blog reactions


20040929 Wednesday September 29, 2004

Coming Up For Air Who has time to blog? The procession of emergencies that has afflicted Technorati lately has left me little time for peace (or even, as in the case of the only previous post I've had time to make in nearly two weeks, civility).

As reported on by Dave, the chaos really crescendoed last weekend with an electrical outage at the colo facility. The service is on the mend but we still have a ways to go. The database repairs are proceeding. The hardware upgrades are mostly completed and it looks like we're going to setup camp someplace that will be a huge step up from the ghetto colo we've been in.

Here comes the sun. It's alright.

( Sep 29 2004, 10:37:10 AM PDT ) Permalink View blog reactions


20040920 Monday September 20, 2004

The Optimal Time to Optimize in Operations

One of the recent hassles I've had recently was with a hardware migration that needed to proceed quickly. The clock was ticking down on the disk capacity utilization on some key database hosts. Now suppose one of the sysadmins wanted to perform "preventitive fsck's" and "table consistency checks" -- when you're dealing with over 100 GB (closer to 200 GB, actually) of data, these are not quick propositions. In fact, they might take days. Ergo, just not feasible. Given the time, would it be optimal to sanity check every subsystem's functionality? Perhaps. But when struggling to beat the clock, you just gotta say, "Not now, Poncho!" Sometimes the only effective action is fast action.

First of all, the only times I've ever needed to do a reiserfsck has been after a cold power loss (and reiser is usually fine even after one of those). So the fact that this sysadmin wanted to do a reiserfsck "preemptively" made even less sense. As far as doing a table consistency check, with innodb this is never needed on an anticipatory basis. In my experience, innodb either is able to keep itself consistent with its own journaling or it's just hosed... not a lot of grey in between. Again, the only exception has been in cases of a cold power loss. Sure, sometimes other hardware problems, low level disk defects, will manifest themselves as problems with the filesystem or a database's data file. But usually there are other indicators as well (kernel complaints in syslog, etc). But even with the dependency stack accounted for and checked, it's no guarantee against failure.

Sometimes the optimal course is just the fastest one between where you are and where you need to be. Choosing the deliberate and cautious route, dwelling on unnecessary optimizations, may in fact be the slow and steady road to.... failure! In this case, if we'd followed the course of doing every unnecessary system check possible, we'd have run out disk space and crashed these particular databases.

Stop optimizing. Just shut up and get it done already.

( Sep 20 2004, 11:51:27 PM PDT ) Permalink View blog reactions


20040918 Saturday September 18, 2004

Apache 2.0's poor adoption rate amongst LAMP developers

Although Apache 2.0 has been out for a while now, the risk for mod_perl and PHP based developers is still high.

I just ran into an interview I did with Linux Guru about two years ago. I was relatively upbeat at the time 'cause I expected that the innovations in Apache 2.0 would be sufficiently compelling that it'd drive mod_perl and PHP developers to "get on the bus." Sadly, that hasn't happened.

If you're serving static content or need to wire up an external application server (i.e. Tomcat via mod_jk), then Apache 2.0 is definitely the way to go. But the vast body of mod_perl modules on CPAN that work well with 1.x but don't with 2.0 does not bode well. Thread safe Perl and PHP development is really the key to Apache 2.0's success within that development community, it seems like it'd behoove RedHat, IBM and other vendors who've bet a lot on the open source integration market to spur this development.

( Sep 18 2004, 05:50:24 PM PDT ) Permalink View blog reactions


20040915 Wednesday September 15, 2004

Mason and Maypole

I'm fan of expressing business logic cleanly separated from display logic. It becomes especially important for managing CRUD cycles within an application. In j2ee-land, MVC with struts is the de-facto standard for doing those things and it works pretty well. However, in land o' LAMP, no such standard exists.

I'm currently looking at using Maypole with HTML::Mason. But it looks like (oy!) TMTOWTDI decisions are to be made there:

Which way to go?

( Sep 15 2004, 03:56:41 PM PDT ) Permalink View blog reactions
Comments [1]

20040914 Tuesday September 14, 2004

is mod_perl a dying art? Does PHP have a future?

I keep hearing from mercenary recruiters from Amazon about technology jobs requiring mod_perl and HTML::Mason knowledge (I tell 'em "No Thanks But Say Hi To Jon For Me" -- I doubt they ever do) . Hearing that one of the topics of conversation at this year's OSCON was the demise of mod_perl came as quite a surprise.

According to the Journal of jjohn, mod_perl's problem is that it's a CGI enabler (psychobabblisticly: it allows web developers to indulge in Bad Things). jjohn sez...

Now, it's not that mod_perl suck (it doesn't) or that it's not useful in some situations (it is), is just that MOST PEOPLE ARE SIMPLY DOING CGI CRAP. That's right, stupid CGI + HTML is a kind of universal Microsoft Fundation Class that works for programmers of all languages.
He goes on to give PHP a little lovin'
PHP is a terrible language. Perl has long suffered with the albatross of its highly syncretic origin and it's "organic design". However, PHP is a lot worse. It's a kitchen-sink language where crazy things like mysql routines and GD libraries are part of the core language. While objects were around in PHP 4, few PHP systems use OO style. To put a fine point on it, most of the PHP apps I've looked at are poorly written and a bear to debug.

And yet, PHP is frequently a better choice than Perl for web apps.

Besides the close association to the CGI aspersion, the big problem that Perl and mod_perl suffer from is that it's too damn easy to build templating web component frameworks. HTML::Mason, HTML::Embperl, Template Toolkit, HTML::Template, Apache::ASP and so on and so forth ("but wait! there's more..."). How many goddamned many of these do we need? The overlapping similar-but-different functionality borders on Not Invented Here neuroses. And so at a certain point, TMTOWTDI is a liability. As a programming language, PHP suffers from a similar TMTOWTDI blight. For instance, for file path values, there's pathinfo but there's also dirname and basename, which are completely redundant.

So if you're going to use a language and component system that sucks (and they all do), perhaps the thing to do is to use the one that sucks the least. Despite the OO additions to PHP language for PHP 5 (notably absent: real exceptions), it's a tough case to make that PHP sucks less than mod_perl. Maybe the PEAR libraries and the Smarty component system make it a little more usable. Maybe. Perhaps mod_perl's maturity and Perl's general usefulness inside and outside of the web environment is an enduring asset. But I'm not convinced one way or the other. Screw it! Use mono and ASP.Net!

OK, probably not.

In the meantime, I'm looking into combining Maypole and Mason to get a framework together to support the applications that MVC is appropriate for.

( Sep 14 2004, 04:32:31 PM PDT ) Permalink View blog reactions


20040913 Monday September 13, 2004

ResourceBundles and Locale::MakeText

I've been looking for a way to enable internationalization and localization ("i18n" and "l10n" as they say) uniformly for both Java and Perl code bases. I really like the simplicity of Java's ResourceBundles but it looks like a build tool will be necessary in order to maintain one master lexicon for it and for the Locale::MakeText Perl counterpart.

Currently reviewing Locale::Maketext::TPJ13 and java.util.ResourceBundle for some insight into how to keep it all together. Maybe there is a wheel that's been invented already here, if I have to invent it, it will be an ant task!

( Sep 13 2004, 01:36:37 PM PDT ) Permalink View blog reactions


20040912 Sunday September 12, 2004

What does the post-petroleum economy look like? There's whole way of life enjoyed by the military-petroleum industrial complex from which Bush, Cheney, Rumsfeld, etc have emerged. The clock is ticking down on that way of life and on the Western economy as a whole.

In today's San Francisco Chronicle there's a review of a pair of books I've had my eye on but haven't had time to read (thank goodness for book reviewers who have the time!).

cover   Blood and Oil by Michael T. Klare
The world's rapidly growing economy is dependent on oil, the supply is running out and the U.S. and other great powers are engaged in an escalating game of brinkmanship to secure its continued free flow. Such is the premise of Klare's powerful and brilliant new book (following Resource Wars). [Publisher's Weekly]
cover   Oil by Matthew Yeomans
This examination of a slippery subject suffers from schizophrenia: is it straight journalism or an activist's screed? The strength of this book lies in its first half, when freelance journalist Yeomans shows the importance of oil in world history during the last 125 years. [Publisher's Weekly]

The Chronicle review, THE HIGH PRICE OF OIL: We pay at the pump, we pay with taxes, and some pay with their lives, raises important questions about the future of, well, modern civilization. Are we heading towards a Madmaxian world of armored mobile homes and gasoline pirates? Do we want our foreign policy to be directed by our desire to preserve our freeway traffic jams? It doesn't seem too far fetched that, were Bush re-elected, we'd be pushed further along into an era of aggressive oil supply protection. A future where the military mission of young Americans will be security duty will be on the oil rigs, for the refineries and tankers and the other instruments of the petroleum industry isn't a future I want to our tax dollars underwriting. The future belongs to hydrogen fuel cells, solar energy and other alternative energy sources.

I'll probably pick up the Klare book on my next book shopping episode.

Other reading of interest:

In the meantime, I'm envisioning an energy-plentiful post-petroleum world, carpooling, taking BART to get to work and telecommuting when I can get away with it. To hedge my bets, I'll be at the Winnebago dealership today to look for rig that I can harden and equip with rocket propelled grenade launchers.

( Sep 12 2004, 11:59:21 AM PDT ) Permalink View blog reactions


20040910 Friday September 10, 2004

Blogging With Ecto I thought I'd give this a whirl! The web.xml in my roller config wasn't setup for xmlrpc requests but I think it's all good now! ( Sep 10 2004, 01:18:56 AM PDT ) Permalink View blog reactions


20040908 Wednesday September 08, 2004

Work Environments: Didn't you get the memo?

Software engineers engage in a collaborative game of intellectual creation that can only be won if they can easily converse with and overhear each other. That doesn't mean disrupt each other or sit on top of each other. That simply means that the barriers to communication need to be as low as possible.

The topic has come up a lot recently as a thread spun from Joel-on-software's Bionic Office fetish for private offices. Hey, I dislike interruptions as much as anybody else but in my experience, fixed, permanent private offices for individual team members are communication barriers. Shared workspaces where team members can't turn to face each other for impromptu meetings are also a problem. A JoS discussant Brad Hill gets it

...offices are not always the way to go - sometimes the nature of the product means that a much more collaborative and shared workspace is best.
The standard-issue cube farm is the worst of both worlds, offering neither the privacy and freedom from distractions of a real office or the collaborative flow and facilities of a "war room".
Sure, cube farms invoke nightmares of pointy-haired-boss reminders about TPS reports. However, the alternative isn't necessarily private offices. Private offices implies doors. Doors close. Closed doors hinder communication. Joel's cite of Philip Greenspun is almost laughable
Your business success will depend on the extent to which programmers essentially live at your office. For this to be a common choice, your office had better be nicer than the average programmer's home. There are two ways to achieve this result. One is to hire programmers who live in extremely shabby apartments. The other is to create a nice office.
OK... nothing there about private offices for everybody. Let's see what a real expert says. Kent Beck (Extreme Programming Explained: Embrace Change) describes the an effective programming environment as one where
We will create an open workspace for our team, with small private spaces around the periphery and a common programming area in the middle.

Maybe Joel had a bad experience with The Bobs and their cube farm but his big kick for putting everybody in sequestered little spaces is a recipe for incommunicado.

( Sep 08 2004, 07:33:09 AM PDT ) Permalink View blog reactions
Comments [1]

20040907 Tuesday September 07, 2004

Micropayments for Microcontent

Think online payments and you think PayPal. But what about micropayments? Is that like "push"/content is king/commerce is king? What ever happened to DigiCash? Beenz? Flooz? Magic-money-button-dot-com-dot-yawn? ....yea, who cares? Well, in an era when anybody and everybody can publish words, music, pictures, movies, three-D models and just about everything else for which the production barrier to entry has fallen, perhaps everyone should care.

C/Net's TechRepublic cracked it open a little today in Digital content spurs micropayments resurgence. Interesting to ponder. Instead of recurrent payment subscription fees, perhaps a little non-commitmental micropayment is a better fit in some cases. It seems like there are "big media lite" blogs (Gizmodo,Gawker, etc) and blog authors' who "hit the big time" by affiliating with a traditional media outlet. But I'm imagining that any highly ranked attention hound could some someday soon be able to draw a nickle-n-dime pay-to-play audience in the same way that iTunes has popularized selling small units of music in small denominations. The article quotes BitPass' CEO Michael O'Donnell

That first wave of payment technologies, the currency companies especially, were too early in the development of e-commerce to succeed, and the content companies weren't ready to handle it either.
If you know who Michael is, you know him as the voice of experience when it comes to pay-to-play content.

Are we heading towards a creative utopia where we can all live an iLife, post to our blog, pursue our creative endeavors, stoke our iEgo up and maybe even be paid for it? Probably not. But it might not be so far fetched either.

( Sep 07 2004, 09:33:32 PM PDT ) Permalink View blog reactions


« Conservative versus Liberal Bl... Speaking of Upgrades »