Memory holed

I originally posted this on Facebook, but for what should be obvious reasons, I think it’s worth reposting here.


John Gruber, today: Bing Censors Image Search for ‘Tank Man’, Even in U.S.

Interesting that Gruber mentions 1984‘s “memory holes” here. I think I’ve been affected by 1984 more than any other book I’ve read, and I re-read it at least once a decade.

Something I didn’t grasp when I read it back in high school: the long-term effects of the memory hole. I distinctly remember Tiananmen Square in 1989. I remember where I was when the news came on — my maternal grandparents’ house. You can “memory hole” something like that without ever erasing it from my memory, or countless others of us who experienced it first-hand.

But what of later generations? What do my kids know of events like this? And if actions are being taken to restrict access to information about events that people don’t remember first-hand, eventually it might as well have never happened. It’s been successfully memory-holed.

Please place this in your mind beside the link I shared yesterday, about bills being considered in many states (including Wisconsin) that will make it illegal to teach critical race theory. When I read that yesterday I thought about another element of 1984: Newspeak. The government was systematically re-engineering the English language to remove words it deemed problematic. As in, the kinds that could undermine its absolute authority.

The only thing Orwell got wrong was the year.

Practical responsive web design, part one

I’ve been wanting to write this post for a while, but I’ve been too busy writing code instead. Plus, the techniques are evolving and changing so fast, that by the time I finish a project, the way I built it is already obsolete.

Now, with the Breaking Development Conference in town and a few recent responsive site launches under my belt, it seemed like a good time to write up a summary of what I’ve learned, what I’m doing, and where I think all of this is going.

First, a quick aside. I didn’t attend the conference. I would have liked to, but as an independent developer I never seem able to justify the standard $500-per-day rate most conferences charge. That doesn’t mean the conferences don’t have value; they’re just not for me.

Before we begin

There are a few caveats I want to lay down before I start talking about responsive web design:

This stuff is changing… fast. Anything I write here may become foolishly out of date by the time I hit the “Publish” button. Responsive web design is a work in progress, and there are no rules (yet).

What I’m doing may not be “by the book,” proper-name Responsive Web Design. The book is great, and there are “experts” who have much deeper knowledge of these strategies than I do. But as I said above, there are no rules (yet). I want to describe the practical techniques I am employing on actual live web projects, under often less-than-ideal circumstances.

Every website is different. The company is different. Its audience is different. The content and style and context where it will be viewed are different. The balance between showing off fancy new features on high-resolution tablet displays and supporting corporate IT departments that are still straggling with Windows XP and Internet Explorer 6 will vary. In short, what I am doing may not work for you. But I hope it can give you some ideas that will.

A practical baseline

My goal with responsive design is to get the biggest “bang for my (client’s) buck.” I recently read a about a study that found almost 4,000 different Android devices in a site’s access logs, with many of them only appearing in the logs once. It is not possible to account for all of these variations. And, after its primary goal of providing an optimal user experience across a variety of devices, not needing to account for each of them individually is the second biggest purpose of responsive design. (That’s also, arguably, its biggest practical benefit.) By building on a fluid, flexible structure from the beginning, a site will look good regardless of slight variations in its presentation.

But I’m not starting from scratch. I work with a number of designers who deliver their work to me in a variety of formats (usually Adobe software). They’re tremendously talented, but they don’t all have a full working knowledge of fluid grids and all of the other considerations that go into responsive web design. So my job is largely to translate these “traditional” web designs into something that works, more or less, with a responsive approach.

I’m targeting three basic screen types: computer (desktop or laptop, including iPad in horizontal orientation), tablet (primarily iPad in vertical orientation, but also smaller tablets like the Kindle Fire or the Nook Color), and smartphone (primarily iPhone, but also Android and Windows Phone). Additionally, I am trying to balance a Mobile First approach with support for Internet Explorer 7 and 8. (I am fortunate to be in a position not to need to worry much about IE6 anymore, and IE9 plays well with CSS3 media queries.) In some cases I am also targeting “very large” computer displays, those with a horizontal resolution of 1280 or above, with a scaled-up layout.

So, instead of accounting for 4,000+ different screens, I’m aiming at 3 (or 4) general screen categories. I am also accounting for two basic browser categories: IE 7 and 8, and everything else. (Yes, if you approach it in the right way, it’s really that simple. Almost.)

Fixed, yet flexible

With this “practical baseline” in mind, and working primarily with traditional fixed-width web designs as a starting point, I’ve established break points (widths at which the layout changes significantly) at around 700 pixels (varying by site between 640 and 720); at 960 pixels for the “standard” computer (and horizontal iPad) layouts; and, for the “very large” displays, at 1200 pixels. This allows for a traditional fixed-width web design approach to be used, rather than accounting for a completely fluid layout across all screen sizes. It may sound like a cop-out, but I find it to be a very helpful way to get things done when collaborating with designers who are not living and breathing this stuff the way I do every day.

For screens below my “around 700” threshold, I drop into a fully-fluid, single-column layout targeted at the smartphone user experience. In these cases there may be other significant changes to the layout, such as collapsing content blocks into expandable buttons, allowing users to quickly see what’s on the page without having to scroll endlessly. (This is not a radical invention of my own… it’s more-or-less how the mobile version of Wikipedia functions.)


In part two, I will get into the details of how I built out a pair of recent websites, including a few code examples, to show how the HTML and CSS fit together, and how I balance the seemingly incompatible worlds of mobile-first and IE8.

The Comcast rabbit commercial makes me want to gouge my eyeballs out

What little research I’ve done seems to suggest that most people who’ve bothered to react to it actually like this commercial, but I find it highly disturbing and totally unpleasant. It is ugly and stupid, and I hate it.

So, of course, I need to subject you to it.

https://youtu.be/mudOonoGK_U

OK. I just watched the whole thing now, and the 60-second version shown here is actually slightly funny with the voice over. But the 30-second version they actually show on TV all the time around here is all of the scary and ugly stuff with the funny removed, and is just a half minute of suck.

Unadvertised Palm Pre feature: it’s a cheese slicer!

Yes, my iPhone love blinds me to the merits of other smartphones. And yet, it seems almost sacrilege to even call the iPhone a “smartphone” and categorize it that way. It’s so much more.

But then again, so is the new Palm Pre, coming out this weekend. For instance, here’s one thing it excels at that the iPhone could never do.

Source: Gizmodo (via Daring Fireball, of course)