Ubuntu and Touch

Watching this video of Ubuntu’s touchscreen functionality in action is pleasing, but not exciting. There’s nothing really revolutionary going on here. Open-source has been dragging it’s feet on touch for a while, and this is just Ubuntu finally catching up to where it should have been a couple years ago. On the other hand, it also highlights a significant problem with a lot of current thinking about touch, and consequently casts Ubuntu in a pretty good light.

There’s no shortage of screeds and critiques aimed at the very concept of the tablet. These devices have been dismissed as toys, fads & unnecessary luxuries. But all the criticisms I’ve seen so far miss the point. Touch isn’t about tablets vs notebooks. In a few years, computers will just all have touchscreens, and users will operate them by keyboard, mouse or touch as needed. This video demonstrates that Ubuntu is being designed in this direction, as are iOS, Windows 8 & Android.

Users of all systems will benefit from touch, not as an alternative input option, but an additional one. And in this respect I think Ubuntu has a pretty good lead. Apple is carefully building iOS up to being it’s de-facto operating system for casual use. Google is pushing Android and Chrome OS in the same direction. Microsoft is offering both Metro and it’s regular desktop in Windows 8. These are all interesting strategies, but just don’t seem all that compelling next to Ubuntu. With Ubuntu you get a fully-fledged OS, with the same interface and applications on whatever device you happen to be using. And all this for free.

Hopefully, Canonical will get this to where “it just works” ASAP, and Zareason will finally start selling that open-source tablet it’s got waiting in the wings.

CSS3 3D Slide Bugs

I made the rash decision to do the slides for my Wordcamp 2011 presentation using 3D CSS and touch events on an iPad. I felt this was in the spirit of things, since I was talking about mobile theming. I realized, too late to change my mind, that it would be harder than I thought.

The main problem was getting the touch powered buttons to work with the 3D structure. Both of these things, by themselves, are easy to set up. The code I used for my touch powered buttons I mostly just stole from this post by developer Seb Lee-Delisle. The 3D stuff I mostly learned from this article on 24 Ways by David DeSandro.

My plan was to be able to rotate the carousel by touch: just drag it back and forth and have it snap into place. But while tracking the movements of a finger across the screen was easy, taking that value and turning it into degrees of rotation for the carousel was a bit much to have done in time for Wordcamp. So instead I just stuck in some buttons that rotated the carousel by 36 degrees (there are 10 slides, so 360 / 10 = 36.)

The result of this harried, hackish approach is that my slides are pretty buggy. As it turns out, this isn’t such a bad thing; these are easily the most interesting CSS bugs I’ve ever seen:

  • If you tap the left and/or right buttons as quickly as you can, the entire carousel gets narrower and narrower. This works with mouse clicks as well>
  • The up and down buttons on slides 3, 4, 8 & 9 only respond to taps along their left edges. Mouse clicks work normally. The only thing these slides have in common is that 3 and 8 lie along the same axis, as do 4 and 9 (when viewing slide 3, 8 is directly behind it; when viewing slide 4, 9 is directly behind it.)

2011′s Tiny Pixel Cloud

Aside

I was excited to see that WordPress’ new default theme had an adaptive layout. As it turns out it’s not that adaptive. It only has two layouts, one for large screens and one for phones. This is a problem on my iPod. Turning it horizontally, the whole page just scales up to fit the width of the screen, and the little magnifying glass in the search box — already pixelated in vertical orientation — becomes a little magnifying glass-shaped cloud.

Maybe that’s a minor detail, but it’s not like it would be hard to fix.

Less.js has Saved my Life

So, I just included the Less.js library in my site’s head and now I can write stylesheets in Less. It’s that easy.

This comes as a very welcome relief after all the overhead involved in getting Sass to work.1

Unfortunately, Less.js won’t work in Chrome if the files are local, they have to be on a server. I’m pretty sure this is Chrome’s fault (it’s penchant for idiosyncratic behavior is well known.) Once this is fixed, though, Less.js will be pretty much perfect.

  1. Install Ruby, Rubygems, Haml and Compass; set up a Compass project and point it to the appropriate files; finally, command Compass to “watch” whenever you’re working on those files, so you don’t have to re-compile after every change. []

Ubuntu has a Sense of Humor

Aside

Looking through the files of Nicole Sullivan’s OOCSS, and I find the README.md file. Try to open it, and Ubuntu says:

Could not display "/home/jordan/web-dev/new-the...nella-oocss-d4c6914/README.md".

There is no application installed for Genesis ROM files

Heh.

Mercenary Innocence

N+1 has an excerpt from an article by the editors posted on their site. It considers the history and nature of elitism in the U.S. While the whole thing is worth reading, the following paragraph stood out to me:

Still, elitism, that widespread term, usually refers to a much narrower phenomenon than just a fancy education. Recall that in 2004 the educational backgrounds of the cultural elitist John Kerry (St. Paul’s, Yale) and the cultural populist George Bush (Andover, Yale) were remarkably similar. Kerry’s elitism signified not that he had gone to such schools but that he appeared to have learned something there, including—l’inutile beauté—French. The ineducable Bush meanwhile suggested solidarity with the uneducated. A Harvard MBA merely proved that any interest he had in knowledge was purely mercenary. In a business society where mercenary motives constitute a kind of innocence—It’s my fiduciary responsibility to increase shareholder value is our I was just following orders—this much could be forgiven.

I’ve certainly heard that excuse more than a few times.

Liberality

A draft I meant to post ages ago, edited somewhat:

In an article on ABC Religion and Ethics, John Millbank critiques liberalism (in the classical sense) for being paradoxically unliberal. His argument is that liberalism tends to use the freedoms it’s defending as an excuse to curtail and even eradicate those freedoms.

… increasingly, liberal politics revolves around supposedly guarding against alien elements: the terrorist, the refugee, the person of another race, the foreigner, the criminal, and so on. Populism seems more and more to be an inevitable drift of unqualified liberal democracy.

Consequently, the purported defence of liberal democracy itself is often used in order to justify the suspension of democratic decision-making and civil liberties. And so, somewhat paradoxically, it is liberalism that tends to suspend those values of liberality – fair trial, right to a defence, assumed innocence, habeas corpus, a measure of free speech and free [sic]enquiry, good treatment of the convicted – which it has taken over, but which as a matter of historical record it did not invent.

Millbank argues for a more inclusive application of “liberality” — one could also say “generosity” — appealing to premodern legal and social traditions. Marilynne Robinson employs to the same term in her essay “Hallowed be Your Name,” translating the Hebrew word ndb.

Ndb—let us call it “liberality”—occurs in a context that continually reinforces an ethic of liberality, that is, the Old Testament. The many economic laws God gives to Israel as a society are full of provisions for the widow and the orphan, the poor and the stranger. And the abuses the prophets decry most passionately are accumulations of wealth in contempt of these same laws.

What’s interesting about this is that Millbank is a Catholic appealing to premodern traditions, while Robinson is a liberal Protestant who appeals to Modern traditions, particularly Calvinism and American interpretations of the very Liberalism that Millbank decries.1 Yet both aim their critiques at the same target — Enlightenment conceptions of free-market capitalism — and both look to the same alternative, an ethic of liberality and generosity.

This ethic of liberality that Millbank and Robinson propose bears some resemblance to Thomas Friedman’s “ethic of conservation,” proposed in Hot, Flat, and Crowded. Unlike Robinson and Millbank, Friedman takes the free market as a given and sees it as a good thing. But he’s no libertarian; the best solution to the current energy/economic/ecological crisis is, he argues, the imposition of a floor price on carbon fuels along with other regulatory measures, so that the use of carbon fuels becomes prohibitively expensive and alternatives become economically appealing.

But Friedman insists that an “ethic of conservation” is still necessary, because cheap, guilt-free, green energy will allow people unrestricted use of technology, which could lead to even more destructive behaviors. If we’re to avoid becoming victims of our own success, we can’t rely on the market for guidance. A profound change in the way we think and act must be fostered on a cultural level, much as Millbank and Robinson in the case of liberality.

  1. Although it’s worth noting that John Calvin’s theological project was centered on reviving certain Augustinian concepts, and Milbank’s thinking has been strongly influenced by Augustine, so he and Robinson share that foundation underneath their apparently distinctive Christian traditions. []