Genius hath electric power which earth can never tame.
 
September 29th, 2006

Deleting the Impossible

It finally happened – a customer managed to give a pair of files some impossible names:


\*\*somefile_&name.mov
\*another_file.mov

(how they accomplished this is anyone’s guess) and then complained that they couldn’t delete or rename them. Which is true — the mv, rm, stat, and file commands all complained that they couldn’t stat the files, no matter how I quoted their names. Remembered reading once that you could nuke such files via inode, but had never had cause to try it. Sure enough: “ls -il” gives you the inode number in the filesystem. You can then use:

find . -inum [inode_number] -exec rm -i {} \;

There’s always a side door.

Music: Otis Redding :: Security
September 29th, 2006

CMS – Build vs. Buy

A few months ago, I posted about the newsinitiative site I had spent most of the summer working on*, and mentioned that we had decided to build our own content management system for it from scratch. Promised to say more about the CMS “build vs. buy**” decision process we went through, but never got around to it. After installing Search Meter for WordPress a month ago, discovered that people have actually been searching this site for more info on that decision.

CMSs are a funny category of software. When you go to choose a word processor, you’ve got three or four serious options to consider (but it generally comes down to Word). Image editor? Maybe a dozen (but it generally comes down to Photoshop). There are usually more options for server-side web application software. Survey package? Maybe a dozen. Blogging platform? Again, maybe a dozen (but it generally comes down to Movable Type and WordPress). But the game changes immensely when you start looking at content management systems.

(more…)

September 28th, 2006

Diplomatic Immunity

Diplomats from other countries living in the U.S. enjoy a certain level of immunity from local laws, e.g. they can park wherever they want, damn the tickets. Whether diplomats choose to use the privilege seems to have a direct correlation to corruption levels in their home countries. The Economist on parking tickets issued to U.N. diplomats living in New York:

For instance, between 1997 and 2002 diplomats from Chad averaged 124 unpaid parking violations; diplomats from Canada and the United Kingdom had none. The results from 146 countries were strikingly similar to the Transparency International corruption index, which rates countries by their level of perceived sleaze. In the case of parking violations, diplomats from countries with low levels of corruption behaved well, even when they could get away with breaking the rules. The culture of their home country was imported to New York, and they acted accordingly.

But the sword of immunity cuts both ways – American diplomats in London have apparently stopped paying the congestion charge for bringing a car into central London, racking up unpaid charges of $.75 million as of August. If the “corruption levels of home country” theory/pattern holds, what does that say?

Music: Otis Redding :: Pounds And Hundreds
September 27th, 2006

iTox

Greenpeace has built a site based on the look and feel of apple.com, but chock-full of information on the environmental impact of Apple’s products and flimsy reclamation program. I’m not sure it’s fair to single out one computer manufacturer, since the entire industry is toxic. But targeting Apple does help to make the point more tangible. Apple is renowned for their elegant but excessive packaging, and its left-leaning userbase probably assumes that just because Apple is “alternative” it must ipso facto be doing good stuff environmentally. Thought this was a very good point:

You can’t recycle toxic waste If Apple doesn’t drop the toxics from its products, it doesn’t matter how good a recycling program they have. Because toxics make recycling more hazardous.

I like this idea too:

We’re not asking for just “good enough.” We want Apple to do that “amaze us” thing that Steve does at MacWorld: go beyond the minimum and make Apple a green leader.

Apple has responded to environmental criticism in the past, and has even been named one of the Top 10 Environmentally Progressive Companies. Not sure how that squares with Greenpeace ranking Apple the fourth worst

Anyway, the site is really nicely done, and drives the message home to Mac owners. It’s too easy to push uncomfortable truths under the rug when you’re involved in a love affair.

Music: Seeds :: Up In Her Room
September 25th, 2006

Newsweek Around the World

Newsweek’s latest cover, by geographical region:

Newsweekcovers

We’re saturated, give us a break. An Annie Liebowitz spread oughta do the trick.

Via thinkprogress. Thanks Malcolm.

September 25th, 2006

Ukes for Troops

Uke Players Ramadi Iraq Best sounds to come out of Iraq in a long time: Ukulele-playing Marines. Thanks to world-wide donations to Uke Jackson’s Ukes for Troops campaign, 15 ukuleles have already been delivered to marine bands stationed overseas. “In little corners all across Fallujah and Habbaniyah, Marines are plucking the sing-song strains of the South Pacific.”

“When I first opened the box, I asked myself, ‘What are these things doing in Iraq?’” said Gunnery Sgt. Jay D. Dalberg, a euphonium and electric bass player … “These are usually related to tropical beaches like Hawaii, not Fallujah, Iraq.”

George Harrison writes in the intro to one of my uke songbooks: “Some are made of wood and some are made out of armadillos – everyone I know who plays one is crackers.”

Music: The Beach Boys :: I Just Wasn’t Made For These Times
September 24th, 2006

A Love Supreme

SF Chronicle’s Greg Tate pays tribute to John Coltrane on his 80th birthday.

[McCoy] Tyner has said he knew it was time for him to leave the band when he saw Trane bleeding from the mouth while blowing and not even seeming to care. That degree of indefatigable discipline and unbridled passion can still render so many fans of the quartet speechless, enchanted, focused, uplifted. An avowed atheist and libertine friend once told me that when he wanted to hear God, he listened to Coltrane. He was hedging his bets that the religious ardor Trane’s music invoked in him would be deliverance enough for his sins.

Miles and Coltrane share a birthday. On the eve of Miles’ “fourthest” birthday, Miles greeted me home from work with a lovely bush in a rattan basket, so that “When you die and go away you won’t get lonely” (seems to be some Egyptian philosophy going on here). We then talked about life and death for a while, on the way to the park. Suddenly he stopped at a corner, looked around, and asked, “But daddy, why is our world THIS world and not another world?” Always knew kids ask a lot of hard questions, but was unprepared for this kind of cosmological probing.

Music: Patricia Barber :: Call Me
September 22nd, 2006

Marquee Comes Home

Cerrito Marquee Back in the 1930s, an avenue near our house was graced by a gorgeous art deco movie house. It closed its doors in the 1960s and became a furniture warehouse. The marquee was nuked, and the entrance stripped down. We never thought much of it. In 2001, the building went back on the market, and locals found, to their amazement, that all of the original deco murals and mirrors inside had survived.

Around the time we bought our house, citizens organized a group to manage restoration of the theater, and we’ve been eagerly awaiting its re-opening. We don’t have any theater in El Cerrito, and the new owners also run a groovy theater in Oakland with couches in place of chairs, beer and pizza (ushers bring food right to your couch). Plans for this theater are similar.

We’ve been watching the slow construction of the marquee mount, architected from old photos. and this week the crowning jewel arrived from the manufacturer – the new marquee, exactly like the original.

Now we just need time to go to movies — and a cheap babysitter — and we’ll be all set.

One of our students did a multimedia piece on the restoration a few years ago — great resource for additional history and interviews with people who remember the the heyday.

September 22nd, 2006

Chronicle Reporter Statement

A federal judge has sentenced two SF Chronicle reporters to 18 months in prison for refusing to betray sources in their coverage of the BALCO case. Lance William’s statement to the court is worth reading. Excerpt:

They demand that I give up my career and my livelihood — for if I betray my sources, I cannot work any longer in investigative journalism, work that requires above all the ability to keep confidences. … And now we have reached a time in our country when the prosecutors say they have the power whenever they choose to subpoena reporters and make them government witnesses, and that they are going to exercise that power. Judge, I despair for our Free Press if we go very far down this road. Whistleblowers won’t come forward. Injustices will never see the light of day. Our people will be less informed and worse off.

At the end of the day, a judge has to weigh the benefits to the public of gaining critical evidence for a particular case on one hand and of upholding values that are critical to a free society on the other. We allow hate groups to assemble because the right to assemble and speek freely is a paramount concern, and this case weighs a similar tension. But I think this judge is failing to clearly see the far-reaching consequences of his decision. Open this door and you’ve removed a brick from the wall of free press.

September 21st, 2006

Meat Water

As if bottled water for humans wasn’t already one of the most successful hoaxes in the history of capitalism, there’s now apparently a cottage industry in selling bottled water for dogs (and cats).

Mark Morford, Dog Water, Tastes Like Chicken:

Yes, it is meat-scented water. Even your dog is right now going, WTF? Like Britney Spears to new moms, like Dubya to presidential integrity, like Hot Pockets to actual food, they make all sensible dog lovers look bad. It’s also just sort of embarrassingly unnecessary. As if quenching his sheer dumb animal thirst at the garden hose wasn’t enough to make your dog blissfully happy. As if a world teeming with roughly 1 billion unclassifiable odors wasn’t already a wondrous canine olfactory buffet. Did you know that dogs have over 200 million scent cells? And that humans have a mere 5 million? The last thing dogs need is for their water to smell like synthetic cow. I’m just guessing.
Music: Tom Zé :: Sonhar
September 20th, 2006

Thin Air

Thinair This makes me happy. Bicycle air hose snaking out the mail slot of The Missing Link bicycle cooperative on Shattuck in Berkeley, free for the taking (shot with phone cam). Unfortunately, if you have Presta valves, you still have to go in the store to use the adapter, but they’re always cool about it. They even have a bike mount in the shop for public use so you can get your ride up in the air to work on. No need to ask, just go for it. Unfortunately, if you do need repair work done, you’re going to have to wait for the love – asked about a drop-in tune-up today and walked out with an appointment card for October 4.

Music: Screaming Headless Torsos :: Kermes Macabre
September 20th, 2006

Why I Love My Wife, #311

We’re engaged in pitched battle with a double invasion — raccoons and gophers. Discovered last weekend that the roof of our metal shed was blanketed in raccoon crap, though we have garden hose fights with them a couple times a week now.

As for the gophers, we heard recently that, as vegetarians, they hate the smell of meat, as well as that of feces. So stuffed cat poop and old hamburger into some of their holes. The technique has been amazingly effective (more so than the vibrating gopher stakes we’ve traditionally used), but the neighbors look at us funny. And we’re still seeing some new evidence of their presence. I had thought Amy felt squeamish about the idea of killing them, but that “delicate flower” of mine is full of surprises. From an email I got from her yesterday:

I saw the ground moving in the backyard today, something pulling on the grass from down below. Gophers. First, I clobbered the thing with shovel when the ground moved, but it came up again in a new spot, so the second time, I stabbed it with a pitchfork, and the pitchfork went right into the ground! I think I may have killed it. A very Bill Murray moment for me, minus the explosives.

Maybe nuclear deterrents aren’t off the list after all.

Music: Lennie Tristano/Lee Konitz/Warne Marsh :: G Minor Complex
September 18th, 2006

Why HTML in E-Mail Is a Bad Idea

I receive email frequently on a piece I wrote many years ago, Why HTML in E-Mail is a Bad Idea. It was written before the days of weblogs, so that page doesn’t allow comments. I no longer have a whole lot of interest in the topic and don’t feel like keeping the page updated, so thought it might make sense to create a page here so the public could leave comments on the topic — agreement / disagreement, tips and tricks, etc. Feel free to leave your comments on the above-linked piece here.

September 18th, 2006

Zero Tolerance

Well, there’s one way to deal with cell phones in classrooms. Love how the professor barely skips a beat.

September 17th, 2006

Heatmaps

Crazyegg-Heatmap Just-launched crazyegg has an interesting twist on site traffic analysis – the emphasis is on where users are clicking on your site, with an eye toward enhancing design to match visitor behavior. The heat map shown here shows area of highest clicks in warmer colors. Other views display similar perspectives, but numerically.

Contrast what crazyegg is doing with heatmaps to what the Poynter Institute does with them — both let you see where visitors are focused on a given page, but Poynter does it by watching your eyeball with a laser as it moves across the page, while crazyegg focuses on actual clicks. Which is a better metric of actual attention? Probably a pointless question, since not all attention points need to be clickable.

Music: Cat Power :: Shaking Paper

Technorati Tags: ,

September 15th, 2006

The Tao of Backup

Wouldn’t it be great if all marketing was full of wisdom, information, humor? This makes me smile (the epilogue especially, though the seven pillars are worth reading).

Music: Billy Bragg :: Levi Stubbs’ Tears
September 15th, 2006

Puffy Planet

It’s big. It’s fluffy. And it’s circling its sun once every 4.5 earth days.

“The largest planet ever found orbiting another star is so puffy it would float on water, astronomers said Thursday.”

As Roger suggests, HAT-P-1 is probably where Claes Oldenburg came from. I’m thinking it might be where The Orb spends its winters.

Music: Mahmoud Ahmed :: Ohoho Gedama
September 15th, 2006

Jay Rosen

I’m participating this semester in a class on citizen journalism being taught by Dan Gillmor and Bill Gannon, editorial director of Yahoo! News. The class grows out of the new Center for Citizen Media, which is based at the J-School. A great list of speakers lined up for the semester; tonight was Jay Rosen, Associate Professor at NYU’s Department of Journalism and who runs the PRESSthink blog.

Took some loose notes tonight as he spoke about the transformation of distribution mechanisms from one-way to two-way, and how the read/write web will (slowly, painfully) change the way journalism is produced.

———–

There was no such concept as “public opinion” in the 17th century… before the press. What’s the relationship between the press and the public? The atmosphere of the public sphere in the internet age is so different from that under which the old press grew up.

OLD:
One way
One to many
Read only

NEW:
Two way
Many to many
Read/write

(more…)

September 13th, 2006

Mystery of Genius

Whether a brain belongs to a person with an IQ of 75 or 150, the physical organ looks virtually identical to surgeons. Nor can most existing brain scan techniques tell us much about the “intelligence” of the brain being examined. Intelligence happens on a level that’s difficult to observe, but new techniques are starting to give scientists a glimpse of brain traits that characterize it. Scientists dissect mystery of genius:

The MEG scanner works like a rapid-exposure camera, snapping a thousand pictures each second of electrical activity pulsing through the brain and across its surface. You can actually see a thought unfold in real time.

Advanced brain imaging techniques are turning up some cool observations:

Intelligence research is full of surprises. For example, the brains of smarter people, as measured by IQ, tend to be less active but more efficient, Haier says.

What’s that about how the good programmer is a lazy programmer?

via weblogsky

September 13th, 2006

Notes on iTunes 7

Cover art: When downloading new albums, I usually hunt down the album cover as well. Previously, artwork only showed up optionally in the lower left, in the iTunes screensaver, and on recent iPods. With iTunes 7, Apple has made cover art central. iTunes will now try and retrieve cover art automatically when adding new music, and you can force it to look for artwork of existing tracks with a Ctrl-click. But success is spotty, and you get no feedback if the search was unsuccesful. My guess is that the artwork comes from the iTMS database. But I’ve got albums I know are in iTMS but for which iTunes 7 still fails to retrieve artwork. Looks like this will continue to be a largely manual thing. Meanwhile, two new views in iTunes 7 feature artwork prominently. An album list view shows large versions of artwork along with track listings, and a fancy new “flip” (Coverflow) view uses Quartz to simulate a stack of LPs to sort through:

iTunes Flipview

I like that they’re doing what they can to keep some trace of the album cover experience, but not sure how often I’ll use the feature. Especially since gathering artwork for 95% of my stuff looks like it’s going to remain labor intensive.

Cover art update: Just figured something out. iTunes isn’t doing the normal thing and putting cover art into the ID3v2 data area of music files – it’s storing it in subdirs of ~/Music/iTunes/Album Artwork . I had wondered why it used to take 20 seconds or so to write album cover data into every track of an album, but that it suddenly seems to happen really fast. Apparently the speedup is because iTunes doesn’t have to alter every file – it just stores the art files as external .itc files (i tunes cover?) and associates the images in the library. This is nice for speed and nice for not swelling library sizes, but sucks for portability between machines/platforms. Why isn’t this a preference? Or an optional mechanism to “permanently store art inside music files?” I’ve posted about this in my O’Reilly Mac blog, which has sparked a thread.

Genre view: Is gone. The new widget for accessing the Coverflow view replaces the old Browse icon, which used to let you sift and sort your collection by artist, year, album, or genre. In other words, Apple has replaced a whole lot of functionality with eye candy, which is annoying. You can still do era and genre tricks with Smart Playlists or via search (which is generally very effective), but hate to see the Browse view … hang on, I’m an idiot. They’ve just moved the Browse icon from the top right to a subtle gray replacement icon at the lower right; it’s been demoted, not removed.

New scrollbars: Mixed feelings. The “solid” look is kind of refreshing in comparison to the usual Aqua gel-cap look, but what is it with Apple ignoring the HIG and experimenting with new interface looks all the time? Does this portend a global change to Aqua, or are they just monkeying around to gauge reactions? To change the look of scrollbars in one app and leave the rest of the OS with glow-y scrollbars feels weird. Maybe they’re just treating the early adopters user base as a guinea pig farm; releasing the UI change into a single app, then watching blogs and mailing lists to see how the world reacts.

Multiple libraries: Long overdue – You can now divide your library into multiple libraries and manage them separately, which is useful for people sharing a single login, or if you want to move just part of a collection to another machine, or if your library is so large it causes performance problems. I really expected to see this in iPhoto before iTunes (it’s been possible with 3rd party utils forever).

Update: Check out Dan Sandler’s dissection of the  new UI, in high-res PDF or low-res JPG.

September 12th, 2006

Democracy TV

No, it’s not Al Gore’s newest cable channel. Democracy is a free, cross-platform internet TV player built on top of the VLC client, which ignores DRM and plays “anything it can get its paws on.” The development model and site is clearly based on the success of Firefox (getfirefox.com/getdemocracy.com, similar design). BitTorrent is built right in, so anyone can host an internet TV channel of their own without going broke over bandwidth.

Boing-Boing: The 0.9 release can tune in over 600 free channels being published by creative people all over the world. 0.9 adds support for Flash video, and comes (partially) translated into 30+ languages. It also supports drag-and-drop for individual video files, making it the only video player you need on your desktop.

The project comes out of the Participatory Culture Foundation, which aims to snatch TV itself from the hands of the man. Haven’t tried it yet, but Democracy appears to be well-polished even before 1.0, and is purportedly super easy to use, which is critical for those who don’t want to geek around with shadowy sites and BitTorrent clients.

Ironically / coincidentally, for hours now the front of the iTunes Music Store has displayed nothing but a black screen splashed with white words: “It’s Showtime,” which suggests a major change coming sometime today. Internet TV is starting to matter.

Music: Jonathan Richman :: True Love is Not Nice
September 10th, 2006

Future Be Warned

Since we apparently have decided not to dump nuclear waste into volcanoes, we’re busy stuffing it into the earth. Thousands of tons of radioactive sludge, equipment, tools, and chemicals we just don’t know what else to do with are being interred in permanent burial sites such as the one in the New Mexico desert. The stuff may be safe for now, but some of this stuff has a half-life of 10,000 years. How do we ensure that future generations will know the area is dangerous? Even if all intelligent life is wiped out and humanity gets rebooted, so we can’t assume any kind of evolved linguistic comprehension? Wired:

The waste site will be surrounded by a four-mile outer fence of dozens of 25-foot, 20-ton granite markers engraved with multi-lingual and pictographic warnings. Inside that perimeter will be a massive earthen berm 33 feet high, forming a rectangle matching the footprint of the underground site. The berm will be implanted with magnets and radar reflectors to make it obvious that it’s not a natural formation. A structure in the center of the space and two subterranean rooms will hold detailed information on the facility, and hundreds of super-hard disks printed with pictographic danger signs will be scattered throughout its 120 acres.
Music: Herb “Ohta-San” Ohta :: Little Grass Shack
September 10th, 2006

Solano Stroll, EXIF

Miles Clown The Solano Avenue Stroll is a massive (and I do mean massive) annual street fair in these parts. You know the drill – a zillion booths, overpriced food, mediocre music (with a few gems in the straw), kook cars, inflatable rides for the kiddos. So dense with humans you can barely move. Miles’ preschool took part in the parade, which meant he and I became clowns for a day. Had the presence of mind to snap a shot when the makeup was fresh.

Having a lot of fun extracting EXIF data from JPEGs with PHP for a special project I’ve been working on lately. A few lines of code gets you something like this:
(more…)

September 8th, 2006

Greenphone

Hack your phone, void the warranty? Trolltech’s upcoming Linux-based Greenphone, due this month, is meant to be hacked. “The company says it expects to be “surprised” by what users come up with.”

CTO Benoit Schillings added, “I’ll tell you a secret. Getting the phone into open source developers’ hands is exactly what I want to happen.”

Benoit Schillings? Hold the phone (no pun intended). Benoit was a key software engineer at Be. One of the first to join the company, in fact. Goes around, comes around. Great to see he’s up to cool stuff. Not sure I’d be cool with a chartreuse phone though.

Thanks mneptok

Music: Gary Numan :: Are Friends Electric
September 8th, 2006

Life Is Easy

Attended a camp-out with our pre-school a couple weekends ago – Miles’ first night in a tent, marshmallow roasts, hikes, lovely time. Bedtime was interesting — watching and hearing other families’ bedtime rituals in nearby tents. One little guy was melting down for one of those unfathomable reasons only other three-year-olds could possibly understand, and I overheard his father talking him down:

“Hey. Life is easy.”

It struck me as the most elegant, understandable introduction to The Tao you could possibly give a child.

Music: New York Dolls :: Bad Detective