Archive for the 'Technology' Category

When Nintendo cartridge meets spin cycle

Monday, January 14th, 2008

I am accustomed to, and accommodated to, the fragility of our electronic gadgets. At best, they are built to have a fighting chance of surviving a few knocks. I have used Thinkpads until their plastic cases began to disintegrate, and I have an unusually durable cellphone — an antediluvian model with a black-and-white screen. But in general, our PDAs, Ipods, cameras and all other manner of digital gewgaw are prone to failure given the slightest abuse. And we accept this as the nature of contemporary stuff: cheap to make, quick to fail, cheap to replace — and your replacement will be faster, cooler, more capacious.

So when my son Jack reported, with a downcast face, that he had failed to remove three Nintendo DS cartridges from the pocket of a pair of pants that had just passed through the washing machine, I figured, oops — there goes $100 worth of ROM chips. I knew Nintendo does a great job of protecting its hardware from the depredations of its puerile customer base; how many times had I seen Game Boys survive impacts that would have totaled any laptop? Yet I had no hope for the laundered cartridges.

“Maybe they still work!” my son proposed, with the look of a gambler willing to bet on a long shot, knowing full well he faced brutal odds. I just pursed my lips and thought, “Dream on.”

I fished the pants out of the washer and located the cartridges — turned out to be two, not three. They seemed remarkably dry, yet I had no hope of their survival. This micro-finery of silicon and contacts, marinated in Tide and then roughed up by wash, rinse and spin? No way, Mario and Luigi.

I handed the cartridges to Jack and left the room, torn between urges to console my son and to chastise him.

A moment later, I heard: “YESSS! It works!” Sonic Rush had survived. So, we learned a moment later, had Pokemon.

Somehow, Nintendo had managed to manufacture a game cartridge that could take a licking from an eight-year-old boy — and his family’s household appliances — and keep on clicking.

To such engineering prowess, one can only bow.

Audio compression: sound and lack of vision

Monday, December 31st, 2007

I wrote earlier this year about the controversy over the level of compression in contemporary recordings — how it flattens out sound, fatigues the ears and makes music all sound the same. In Rolling Stone Rob Levine has now produced the definitive piece on the subject. It’s worth a read.

The most depressing part is the discussion of the remastering of old recordings to fit this new norm (apparently the new Led Zeppelin collection is a case of that).

My gold standard for rock recordings are the records (my older brother’s) that I first heard through my father’s KLH, lying on the living room floor, in the late ’60s: the White Album and “Abbey Road,” “Tommy,” the Kinks’ “Arthur.” Normally I’d be delighted to hear of new remasterings of such albums — but now I’ll think twice before buying them. Make the Arctic Monkeys sound monotonous if that’s what they want — but don’t ransack music history!

At the end of Levine’s piece, this passage struck an ironic note:

Bendeth and other producers worry that young listeners have grown so used to dynamically compressed music and the thin sound of MP3s that the battle has already been lost. “CDs sound better, but no one’s buying them,” he says. “The age of the audiophile is over.”

What’s funny is that the people who consider themselves real audiophiles — who read The Absolute Sound and invest in tube amplifiers — sneer at CDs as limited and thin (they rely on sampling, unlike analog recordings). Of course, these are typically classical listeners; for popular music, even CD-quality is now endangered.

Fool for a CTO

Tuesday, December 18th, 2007

This past summer I paid a happy visit to the Motley Fool — in downtown Alexandria, just across the river from D.C. proper — to meet the technical team there and give a talk on Dreaming in Code.

I was pretty impressed with the people I met and the lively atmosphere at the company — unpretentious but serious about the important stuff. Anyway, the Fool is now looking for a new CTO. I know from experience that that’s a tough position to fill, but maybe one of you reading this is interested — or knows someone who’d be. More info here.

Clash of the titanic business-press cliches

Monday, December 17th, 2007

My eight-year-old sons don’t pay much attention to the business pages, but yesterday’s New York Times Sunday Business cover — featuring three cartoon characters in a boxing ring — caught their eyes over breakfast.

“Who’s the big fat guy?”

That, I told them, was supposed to be Steve Ballmer, Microsoft’s CEO. “The one in glasses?” Bill Gates. They’ve heard of him. The third figure, I said, was a poor likeness of Google CEO Eric Schmidt.

As their interest dwindled, I explained the illustration. And it occurred to me what about the cover bugged me. The headline, no joke, was “Clash of the Titans” (omitted from the Web edition, for some reason). And the whole tired frame for the story had been constructed with an eye to the sensibility of eight-year-olds.

It’s the oldest cliche in the business-journalism book: Corporations are led by warriors and market conflicts are military campaigns — “clashes of the titans.” The trouble is, it’s not only infantile, it distorts our understanding of reality.

Are Microsoft and Google in conflict? Of course. They have fundamentally different visions of where computing’s headed — visions that the Times article, by Steve Lohr and Miguel Helft, ably lays out. But it’s not as if they are feudal fiefdoms fighting over some fixed patch of ground. Their conflict will play out as each company builds its next generation of software and services, and the next one after that, and people make choices about what to buy and what to use.

Those choices are the key to the outcome. In a battle, civilians are mostly bystanders or casualties. In the software business, civilians — users — determine who wins.

Remember that the next time you see a business publication trot out the old corporate-battlefield cliches to talk about the software industry. And if you want to know where the software world is headed, watch your nearest eight- or ten- or twelve-year old — they’ll be making decisions over the next couple of decades that, far more than any punches thrown by Ballmer or Gates or Schmidt, will determine which titans prosper.

Deep packet inspection and the new ad targeting

Monday, December 10th, 2007

It’s not hard to understand why people got upset with Facebook over “Beacon,” the company’s effort to track what its users do on the Web and auto-transform those actions — like buying products or tickets to a movie — into messages broadcast over a personal network. Who wouldn’t be creeped out, at least sometimes, by this transmutation of private transactions into public statements?

But Facebook is just facing the same pressures all tech companies encounter when they find they have to deliver on sky-high valuations for investors and markets. Facebook, and the people pouring money into it, now claim the company is worth $15 billion. Expect plenty more “monetization” gambits.

I’ll remain wary, but I won’t be surprised. Instead, I’m keeping my eyes on a different, and far more troubling, violation of Web norms: it’s called “deep packet inspection.” That geeky phrase hides a world of potential ill.

All Internet messages travel as packets of data. Packets have headers; they’re like the addresses on envelopes, and service providers’ routing equipment uses the headers to make sure messages get where they’re going. Deep packet inspection (DPI) involves looking at the content of the packet as well — it’s the equivalent of the post office opening your envelope, or the phone company listening to your call. Internet service providers use DPI for security purposes. It’s usually been discussed in the past as a tool that enables ISPs to limit Bittorrent use or other peer-to-peer filesharing activities; it is also what would enable various schemes being bandied about for creating “fast lanes” of privileged types of Internet communication. The debate over such schemes is well-advanced.

But now, it seems, hardware companies have begun producing devices that enable service providers to use DPI to target ads. The Wall Street Journal covered this topic last week here. And that, to me, is just way over the line.

I don’t want my ISP looking at how I use the Internet to target ads to me, period, any more than I want the phone company listening in on my conversations in order to sell me stuff.

I’m sure we’ll hear that the DPI-based targeting schemes are a Big! New! Benefit! in providing us with more relevant ads. But I’d rather be the steward of my own personal information than let a service provider make decisions for me. We’ll also hear that privacy-minded users should just find a service provider that suits them. But how can we make an informed choice about service providers unless they are forthright about telling us exactly what they’re doing with DPI, in words everyone can understand? In many communities, high-speed Net service is a monopoly, anyway.

Then we’ll hear that this is no different from the way Google’s Gmail scans your messages to target text ads to you. But Gmail has tons of competition. And Google’s accumulation of personal data has begun to raise privacy concerns as well — so saying “Google does it too” doesn’t exactly provide full ethical cover.

This issue sits at the heart of the Net neutrality debate, and it comes at us in a form that is more easily understandable to the everyday user than its previous manifestations. “Packet inspection” may be unintelligible to non-geeks, but anyone can understand why you don’t want the post office opening your mail.

Becoming a cranky geek

Wednesday, December 5th, 2007

Back in the dotcom era I used to appear occasionally on ZDTV’s “Silicon Spin” and chew on the tech headlines with John Dvorak and other guests. Dvorak is doing pretty much the same thing once more, in somewhat less lavish circumstances but with a somewhat more honest name for the show — Cranky Geeks.

I joined the panel today for a lively discussion about Facebook’s Beacon ad-policy brouhaha; the mysterious firing of a GameSpot editor, apparently for panning an advertiser’s game; Google’s entry into the wireless spectrum auction; AMD’s CEO bad-mouthing Intel (which really doesn’t qualify as news, does it?); and more.

You can stream or download the Cranky Geeks episode from this page.

Wordpress footer follies

Friday, November 30th, 2007

I was all prepared to post a backlog of interesting stuff today when it came to my attention, thanks to alerts from Reinhard Handwerker and Vikram Thakur of Symantec, that some strange spammy stuff was happening on this site. I ended up spending the day rooting out bot droppings from my Wordpress installation.

Yes, it’s true, I’d been lax about upgrading to the latest version. I was only a little behind, but perhaps that was enough. In any case, here are some details, which might be useful to others who find themselves victim to what I think of as the “wordpress footer exploit.” (I’ve already gotten email from a couple of other users who are battling the same problem. Al Gore, apparently, went through something similar.)

Skip the rest of this unless you’re a Wordpress user in trouble looking for help!

Here were the gory details in my case. No doubt others will differ. I don’t have a clear sense of the starting point for the exploit — no doubt some little chink in the Wordpress armor that I can only hope is no longer open in the current version.

My HTML source revealed a long list of spammy links in the Wordpress footer — hidden from view but presumably accessible to the Googlebot. The first step in defeating them was to remove the php call to the wp_footer function from the footer template. (If you need that function for other plugins or users, you can add it back in once your code is cleaned up.)

That alone isn’t enough, alas. I also found 2-3 lines of code inserted into the main index.php file at the top level of the blog. The code that kept reinserting the spammy links into the footer even after they’d been deleted was located in a few lines added to the default-filters file in the wp-includes directory. Then I found two more completely new files had been added to wp-includes: one called “class-mail” and the other, deceptively simply named “apache.php,” which was a motherlode of mischief. (Thank you, though, oh hackers, for labeling your crud with ASCII art of a spider — it’s really helpful when one is scanning dozens of files to know that when you stumble on the malicious code, it comes with its very own Dark Mark.) “Classes.php” looked like it had been touched, too, based on the mod date; I replaced it with a clean version.

I killed all this crud and succeeded in removing the spammy links, but I still had a problem: there were a bunch of files that seemed to be being served from my domain that were just pages advertising, you know, those drugs that spammers like to advertise. They weren’t my content, of course, but they’d somehow made their way into my Wordpress — and they were being linked to from other compromised Wordpress sites. The ways of the botnets are devious indeed! I couldn’t figure out exactly where this infection’s root lay, but — having removed all the malicious code I could find and then changed all my passwords — I overwrote my Wordpress installation with a clean download of the Wordpress code, and that appeared to do the trick.

If you suspect your site is compromised, I recommend proceeding in the following order: First, root out the bad code; then change your passwords. If you change your passwords while your site is still compromised, you risk having your new passwords exposed via exactly the same route your old ones were, if in fact they were (I don’t know if mine were or not, but hey, when you start finding bad code in your directories, it’s time to change your passwords).

May you never need this information! But if you do need it, may this be of some use to you.

Kapor’s early bet on the Net

Friday, November 16th, 2007

This season, Mitch Kapor is delivering a trilogy of lectures on “Disruptive Innovations I Have Known and Loved” at the UC Berkeley School of Information. I missed number one, which covered Kapor’s role in the early years of the PC (podcast audio is here). Wednesday evening I made it to the second lecture, which focused on the rise of the Internet, and particularly the early, pre-Web Net era — the time when the Internet was considered a hopelessly geeky backwater for Unix heads and the golden road to the future lay with outfits like Prodigy and Compuserve and AOL. (The third lecture, on virtual worlds, is on Nov. 28.)

I first heard Kapor speak on this topic in the summer of 1993, at the Digital World conference in Beverly Hills, where, amid a throng of cable executives and Hollywood honchos and telco bureaucrats, he was the only speaker to make the then-fringe-y claim that the Internet offered a better model for the networked future than the “Information Highway” then being touted as an inevitability. His concern — one that resonated with me at the time — was that we try to create something better than “500 channels with the same crap that’s now on 50,” some system that would not only be open to corporate entertainment and commerce but would offer “a migration path for the weirdos and the outsiders to get into the system, mature and blossom.”

Kapor’s espousal of the Internet in those days was part of a wider activist portfolio; he’d cofounded the Electronic Frontier Foundation only a few years before. But it also stands as one of the more accurate acts of long-shot prophecy in technology history. At his talk Wednesday, Kapor looked back on that time and filled in some of the details of his own role.

He’d joined The Well early on, in the late ’80s (a year or two before I did), and “lost the next two weeks of my life” absorbed in the online conversation. A bit later the Well gave its members Internet access, making it one of the only ways that members of the general public could connect to that network. Around then the National Science Foundation began an aggressive project to open the Internet out to the public and to private businesses. In 1992 Kapor was spending a lot of time in Washington doing EFF work and got to know the founders of UUNet, which was one of the first firms to resell Internet connections to other companies.

“Why,” Kapor asked, “wasn’t this an obvious investment?” He tried to interest John Doerr at Kleiner Perkins, but Doerr “wouldn’t take the meeting.” Kapor himself ended up putting some of his own money into the company. He provided no details, but it must have been a lucrative move: UUNet went public in 1995, shortly before Netscape, and was gobbled up in an accelerating series of acquisitions that made it part of Worldcom, in the days when people thought Worldcom was taking over the known universe. (Today what’s left of Worldcom — after a storied detour through the courts and various name changes — is part of Verizon. Full timeline here.)

My recollection of those days — when I was a recent immigrant to technology journalism from the arts — was that, much as I rooted for the Internet-style future as a healthier one for our culture, it was awfully hard to see how anyone was likely to make money via such a system. Kapor said he looked at the open network’s advantage in generating innovation and encouraging participation and concluded, “I think this is the one that’s going to win.” He was right.

It’s incredibly useful to keep that era in mind today, I think, because it provides not just a heartening saga of the triumph of free expression and open participation, but also a clear case in which those ideals were more practical, too.

The Internet’s victory over the services we now derisively dismiss as “walled gardens” was an instance, within recent memory, when the idealists weren’t hopelessly outgunned by the cynics — when, in fact, the idealists turned out to be the realists, and the cynics took a bath. That’s worth keeping in mind as today’s tech industry — powered by Google’s success and enthralled by innovators like Facebook — races through yet another cycle of debate over what “open” really means.

Ecco on Mac, Gibson on books

Friday, October 19th, 2007

I’ve been laying low this week completing a draft of a new book proposal. More on that as we get closer to the finish line. This is the first year I’ve not attended the Web 2.0 conference, but, you know, I need to focus — and I think I wasn’t that eager to hear Rupert Murdoch, anyway.

In the meantime, I’m happy to report that I have successfully managed to get Ecco Pro running on a Mac via Parallels. I actually achieved this goal a decade ago using Virtual PC, but boy was it slow! The Parallels set up, by contrast, is snappy and, so far, foolproof. Thanks to all of you who advised me on this dilemma. Very exciting. (The “coherence” mode of Parallels is remarkable — its puts the Windows taskbar and WinXP program windows on an equal footing on the Mac screen with the OSX stuff, turning your display into a sort of operating-system hermaphrodite.)

As I close in on my next book-project goal, I would also like to draw your attention to this quotation from William Gibson (in a Washington Post interview from last month), musing on the persistence of the book:

It’s the oldest and the first mass medium. And it’s the one that requires the most training to access. Novels, particularly, require serious cultural training. But it’s still the same thing — I make black marks on a white surface and someone else in another location looks at them and interprets them and sees a spaceship or whatever. It’s magic. It’s a magical thing. It’s very old magic, but it’s very thorough. The book is very well worked out, somewhat in the way that the wheel is very well worked out.

Terror of tinyurl

Friday, October 5th, 2007

From the earliest days of the Web to the present, there’s been a fundamental split between people who get the value of “human-readable URLs” and people who don’t. A human-readable URL is a Web address that tells you a lot of useful information about the page it represents. For instance, Salon URLs always tell you the date an article was posted, the section of the site the article appeared in, and a few words describing the subject matter of the article. By comparison, the typical URL at, say, CNET, looks like this: http://reviews.cnet.com/4520-10895_7-6782817-1.html. It is, essentially, human-unreadable.

In the old days, writers and editors who actually knew and used HTML always appreciated a good human-readable URL; and typically, for the ugly gibberish URLs, we had to thank (some) software architects and (some) publication managers who’d never hand-coded a link themselves. At Salon, we editors knew we’d be typing (and proofing) a zillion of those URLs ourselves; we insisted on something we could work with. (Our developers “got it” too.)

The cause of human-readable URLs got a great shot in the arm when sites began trying to optimize themselves for Google, because Google gives a little extra weight to text hints in URLs. So a lot of sites (like the New York Times) that had a history of human-unfriendly page addresses began to do better.

Today, though, we’re taking a step backwards, or at least sideways, in the cause of human readability, thanks to the growing popularity of the “tinyurl.”

When the tinyurl first crossed my radar I understood it to be a convenient way to tame unmanageably long Web addresses. (The Tinyurl site focuses in particular on how long Web addresses break in email messages.)

That’s all fine. But the tinyurl giveth and the tinyurl taketh away. When you encode a Web address as a tinyurl you’re hiding its target. Normally, when I read an article on the Web that has a link, I’ll hover my cursor over the link to see where it points. Even on a site with human-unfriendly URLs like CNETs, at least I can see that the link points to CNET.

With a tinyurl, I know nothing about the link except what the author chose to say about it. I can’t tell if it’s a reference to an article I’ve already read. If I want to find out, I have no choice but to click.

My sense is that tinyurls have grown in popularity with the rise of Twitter (where the strict character limit of messages means you don’t want to fill up a whole message with an URL), as well as the growing use of mobile devices for Web-posting activities. These are perfectly understandable reasons. But still, each time I see a tinyurl I think, there goes another tiny piece of the Web’s transparency.