Archive for 2007

One More Data Point

Wednesday, December 12th, 2007

Safari Books Online is a service by technical publisher O’Reilly and Associates, that allows subscribers to their service to access their books, and those of several other publishers, online. (Highly recommended, BTW.)

Anyway, their front page lists the most popular books on their service. For as long as I can remember, the top book was David Flanagan’s Java in a Nutshell; but today, it has been displaced by JavaScript, the Definitive Guide (also by Flanagan, as it happens).

It’s notable mainly in support of Steve Yegge’s proposition that JavaScript is the Next Big Language. It is certainly popping up everywhere, and it is, for now, the only Apple-approved method of developing for the iPhone.

UPDATE: Okay, now both of Flanagan’s books have been displaced by a C# book. Please forget I said anything.  :)

Clearing the Buffer

Thursday, November 29th, 2007

No, I didn’t suddenly become a hundred times more prolific; I just went ahead and published a couple of articles that had been sitting on the back burner for a long time. For better or worse, they’re out there, and my list of things to do is (almost imperceptibly) shorter.

RADAR: RESTful Application, Dumb-Ass Recipient

Thursday, November 29th, 2007

PragDave: The RADAR Architecture: RESTful Application, Dumb-Ass Recipient

I’d been thinking along similar lines for a new project (which is expected to be a sort of testbed for a web services architecture). It’s a web service meant for use by third parties.

I decided, after thrashing around a bit, that machines that reside outside our firewall should be treated like end users: the interface presented is presentation logic. The fact that it is a web service is immaterial; it is distinct from the bare RESTful API to our business rules that we present to internal applications.

The application layer is what makes a process “presentable” to outsiders. It may mean consolidating several actions that are internally seen as distinct into a single operation; or adding authentication and data validation; or conforming to externally-imposed specifications (e.g., presenting an external SOAP interface); or information hiding to allow for future changes to your model and business rules.

One Revolution Per Child

Thursday, November 29th, 2007

One Revolution Per Child

The OLPC project is laudable even on the basis of its stated goals; but I think there’s more going on here. As this article describes, the OLPC device is by its nature subversive. But why assume that that subversion will only take place in the underdeveloped countries that are the ostensible market?

After all, I want one. Don’t you? And if it really will just cost $100 — or even a smidge more — that makes it almost an impulse buy, at least as gadgets go. And what will happen when thousands of these are in the hands of gadget-fans here in the US, and elsewhere in the developed world?

Revolution begins at home.

Update: the Revolution marches forward. Applications as online services (e.g., Zoho, Google Apps) dovetail nicely with this trend. I remain convinced that Google Android is yet another manifestation of this, approaching the same destination by a different route.

Emergent Order and the Linux Desktop

Thursday, November 29th, 2007

Linux, on the other hand, is still to omni-directional for its own good. It could actually learn a lesson from Microsoft, in this sense. They need to standardize on a single desktop (KDE or GNOME) and a single core. It’ll never happen. My mom just doesn’t want to compile drivers and debug her kernel. Linux is perfect for verticals and corporate environments right now – not for the home desktop. –Chris Pirillo on the Opera Newsletter mailing list, Sunday, 05 Oct 2006 23:46:37, via the Quote of the Day on Elliotte Rusty Harold’s Cafe au Lait

I wonder if this issue isn’t beginning to sort itself out, though. Debian seems to be gaining more mindshare lately — not so much directly, as through distributions like Ubuntu and Linspire that derive from it. In fact, since Linspire has decided to use Ubuntu as a base, it looks like we see the start of an efficient production line that would make Adam Smith proud. Debian produces the core of a purely-free operating system; Ubuntu, next in the assembly line, tunes and polishes to the point that it is attractive to commercial users, and can be commercially supported; and Linspire polishes and adds-consumer-friendly touches like proprietary media codecs.

(I do think, though, that the GNOME-vs-KDE conflict is overblown, and doesn’t need to be ‘resolved’; applications for either desktop will work on either desktop, and which one you run as a base simply depends on user preference — and the design philosophies of the two are different enough that each has a well-defined constituency, just as Windows and Mac do.)

I For One Welcome Our New Android Overlords

Thursday, November 15th, 2007

As everyone knows by now, Google has released its new SDK for mobile phones, Android.

Android is a software stack for mobile devices that includes an operating system, middleware and key applications. This early look at the Android SDK provides the tools and APIs necessary to begin developing applications on the Android platform using the Java programming language.

The SDK includes basically a one-stop shop for application development infrastructure: an OS kernel (Linux), a virtual machine (interestingly, not the Java VM, though Java is the main development language), a SQL engine, a communications stack, 2D and 3D graphics toolkits, a GUI stack, and so on. Everything a developer would want in a deployment platform.

As you, my legion of loyal readers, will know, I play Second Life. The SL client is based on OpenGL. When I saw that Android supported OpenGL, it naturally occurred to me that one could create an SL client for Android. It would suck to use SL on a mobile phone, of course; tiny screen, no keyboard, etc.

But then, there’s surely nothing in the spec about a maximum screen size for Android, and no reason you couldn’t have a physical keyboard. In fact, if you were to take an Android system, built to run efficiently on a phone-class device, and put it on a laptop-class processor, it would fly

Whoa.

What can a desktop machine do, that an Android-based mobile phone can’t do? Mostly it’s a matter of form factor; a mobile phone isn’t big enough for a full-sized keyboard, multiple USB connectors, a DVD slot…

But is there anything that says Android can’t run on a laptop- or desktop-size device? If Android catches on, isn’t it inevitable that someone will put it on such a device? And given how many smart people work at Google, don’t you think they already considered that? that they may in fact have planned on that from the start?

Lots of people have been wondering when Google will come out with an operating system offering that will compete with, and maybe displace, Microsoft Windows.

I think it just happened. And no one noticed.

If Programming Languages Could Speak

Friday, October 26th, 2007

I love obscure humor. Being the only person in the room to get a joke makes me feel so special.

You pretty much have to be a programmer — and not a Johnny One-Language, but a Real Programmer — to get the humor in this post. If you aren’t, then take my word for it, it’s damn funny. (Be sure to read the comment about Python.)

Virtual Worlds 2007 – Take-Away Point 2

Monday, October 22nd, 2007

The second ‘take-away’ observation from Virtual Worlds 2007 is related to the first.

Second Life is the place to be. The media companies offerings will be of strictly limited importance because they are so closed; the corollary of this is that the most open platform will be the one to watch, and the most likely to “win”, inasmuch as there will be a single winner. And that most-open platform is Second Life.

Now in theory, the open source platforms like Metaverse and Ogoglio are more open; what could be more open that Free-as-in-Free-Speech software?

But openness is a matter of policy, not technology or software licensing. You can build a walled garden with open source tools just as easily as with closed source tools. But because Second Life is a unified world rather than just a platform, the openness of the SL world is determined by the policies governing that world. And just as Disney and Turner define their worlds with a closed, locked-down policy, Second Life is an open society defined by the Linden policy of keeping the barriers to entry for creators as low as possible.

This feeling gelled for me when I was attending a presentation by several staffers from Electric Sheep. They presented their perspective — quite a valuable one — of developers at work in several virtual worlds, contrasting the capabilities and strengths of each. Whether it was what they intended or not, it seemed to me that SL hit just the right note: with texture and sound uploading without restriction and near-zero cost, and with 3D modeling available in-game (thus no need to buy an expensive package like 3Ds Max or Maya, or learn a user-hostile free tool like Blender), and a company policy that encourages unrestricted creativity and enterprise (so long as it doesn’t involve gambling or kiddie porn), SL seemed to be the most welcoming and fertile environment for creators and entrepreneurs.

As one panelist described, the other virtual world companies act like media companies: if you want to create something, you get their approval, and give them a cut. Linden Lab, by contrast, acted like a real estate company: if you want to create something in SL, they would sell you some land, then pat you on the butt and wish you well; no permission or profit-sharing needed.

Exactly as it should be.

Second Life’s technological base is a generation behind, it’s true; but it can be fixed. (In the mid 1990s, the web seemed kind of drab compared to the AOL walled garden; but we all know how that one turned out in the end. Technological advantages are fleeting.) But from an openness standpoint, SL has the other virtual worlds beat by a mile.

Conceivably, someone could set up a similarly open-policy world using the open source VW toolkits available; but then they would have to try to catch up to Second Life in the marketplace, to build a world and a community big enough and deeply invested enough to overcome SL’s mindshare. They would also have to solve all over again all the non-technological problems Linden Lab has had to deal with: creating and maintaining a micro-transactional currency system, sorting out the logistics and legalities of real-world money exchanges, arbitration of player disputes, a whole raft of liability issues, Proktastic trolling, griefers and DDoS attacks, and many more challenges we probably haven’t even heard about.

And Linden Lab’s lead is about to grow wider this week (though how much it will grow in the long term, I can’t say) as the audience of CSI:NY gets introduced to Second Life as the exemplar of what a virtual world is.

Thus, SL is the place to be, and will be for at least a few years to come.

Virtual Worlds 2007 – Take-Away Point 1

Wednesday, October 17th, 2007

Well, I’m back from Virtual Worlds 2007, and I have a few “take away” observations. To start:

The giants are coming! But so what? The “giants” in this case being big media companies: Disney, Turner, Viacom, et alii. At first, they seem threatening, ready to take over the virtual world space with the sheer amount of capital and audience size. But never underestimate a giant corporation’s capacity for stupidity; they are big, dumb, lumbering beasts without a clue about the real potential of virtual worlds.

The buzzphrase we heard from the media giants, so frequently we got sick of it, was “brand protection”: keeping the Disney/Turner/whatever name as unblemished and on-message as possible. And who are they protecting the brand from, one may ask? Why, from you and me, of course, with our critiques and our weblogs and our mash-ups and our ability to create our own content and our own narratives. We’re just not passive enough.

The Turner presentation was especially dumb. Their “virtual world” consists of a central setting based on their “Department of Humor Analysis” ad campaign (link has video with sound that plays automatically, don’t click it at work). In their VW, which was built using technology licensed from Kaneva, one watches episodes of their syndicated TV shows in settings based on the show. (The example we were shown was the Family Guy house.) Since TBS doesn’t actually own the property, we don’t get to interact with Family Guy characters (much less become those characters), or participate in (or, heaven forfend, contribute to) any original narrative based on the show.

Congratulations to them; they’ve used advanced virtual worlds technology to invent [drum roll] a new way to watch television. Oh, and you’re allowed to talk with other people about the television show you’re watching. Wheee.

I have no doubt Turner Media will be able to drive lots of people to their VW. I do doubt their ability to keep them there. This doesn’t even really qualify as a virtual world; it’s just a TV channel with a thin layer of virtual-world icing.

The other big-media presentations weren’t much better. The Disney “fireside chat” described a similarly top-down vision; apparently children crave a “structured experience” — and the Disney flak’s description of such, not materially different from the cattle-drive rides at the Disney parks, left the two educators we were sitting with frustrated and disgusted. There’s a big difference between structure as a framework to build on, and structure as complete lock-down control.

Anthony Zuiker’s keynote was different enough to be interesting. Unlike the other media giants, who are building their own walled gardens, the upcoming CSI:NY experiment will revolve around Second Life; users will have full-featured SL accounts, complete with the ability to create their own content, and the users will be invited to become involved in the CSI narrative, though not limited to that.

It’s a significant distinction, I think, that the other media giant activity seemed to be the product of corporate marketing department brainstorming, while the CSI experiment appeared to be driven by a single creative mind.

Now, I’m not wholly sold on the CSI business. The furries are still smarting from the rough treatment they got from the CSI franchise, and I’m skeptical that the presentation will be even vaguely accurate. (Since CSI episodes are by definition murder mysteries, I wouldn’t put it past them to use the old Matrix gimmick: that if you die in the virtual world, you die in real life. It takes a writer of the caliber of Vernor Vinge or John Varley to write a good suspenseful yarn about a virtual world without resorting to that silly canard, and very few television writers are that good.)

Still, Zuiker seemed wildly more clueful than the media bigwigs elsewhere at the conference; I’m hopeful that this experiment will be good for both CSI and SL.

As for the rest — well, why should anyone care?

Philip Rosedale at OSCON 2007

Thursday, August 2nd, 2007

I missed this year’s OSCON (grumble, grumble). I had even more reason to want to go this year, because of the keynote address by Philip Rosedale (aka Philip Linden) [video link] of Linden Lab.

One interesting thing that Philip mentions: apparently a Teen grid user from the UK has developed a limited-function browser-based client, so that she can log into SL, and can chat, IM, teleport, etc., from within Firefox, without downloading an official client (or any client, apparently). Cool stuff, I’ll see if I can track it down.