NyQuil Regret (n): the moment during a sleepless night when you realize you should’ve taken the damn blue green pill.
Category: Annoyances
Mobile Web Layouts vs. the Viewport
A few years ago, I tried to give some of my most-used websites a nice, clean look on mobile browsers by adding a stylesheeet with the “handheld” type. Then the iPhone came out and ignored them, and everyone copied that behavior, making it useless.
Somewhere along the line, I revisited the same CSS techniques, but used the “max-width” media query to change the layout on smaller screens. This seemed even better in the long run, since screen size matters more than whether a device is a desktop computer or a handheld computer. (The iPad was nothing but a long-standing rumor in those days, but demonstrates this clearly.)
The raw screenshots (click to view) are slightly larger, but since mobile devices often have denser screens, if you’re reading this on a desktop, it’s probably about the same physical size.
That worked great on the iPhone, and on the G1, which I updated through Android 1.6. I stopped testing it after a while, and no one commented on it, so I figured it was still working. (Reminder to self: that’s always a mistake.)
Last week I got a G2, which came with Android 2.2. Last night I visited one of my websites, and was presented with this shrunken, unreadable mess…because Android doesn’t actually use the real screen size anymore. It pretends it has a bigger screen so that it can present a desktop-like view and then let the user zoom around. Mobile Firefox does the same thing.
<rant>Why is it that every time I find a clean technique to use the same markup on both desktop and mobile devices, some browser manufacturer decides to bypass it in favor of giving the user a clunky imitation desktop view instead of one optimized for their experience?</rant>
*ahem*
Anyway, it turns out it’s possible to fix this problem with the <meta viewport tag> as shown here:
<meta name="viewport" content="width=device-width">
So I can provide nice, clean small-screen layouts again…after I add extra markup to every single page that uses these stylesheets.
Problem solved!
Well, almost. It fixes the layout…but it also prevents the user from zooming out for quick scrolling, which can be awfully useful on a long page.
Screenshots of the Barry Allen Flash profile, taken using the Android SDK emulator with stock Donut and Froyo images.
If This Were a Real Emergency, You’d Be Dead By Now
I suppose I can understand putting one of those “If this is an emergency, please hang up and call 911” messages on a health insurance phone menu. But if you’re going to have one, shouldn’t you put it before the five-minute member identification/sign-in process, not after?
Admittedly, the process only took that long because their voice recognition system wasn’t getting along with my voice, but still, isn’t the point to route people to the fastest response in an emergency?
SDCC, Universal, and Not-Produced-Here Syndrome
It’s funny how some companies will go out of their way to avoid acknowledging the competition. Universal Studios has a panel at Comic-Con promoting the movies Paul and Cowboys and Aliens. Here’s how they describe Paul and its part of the panel:
Paul— Scheduled to appear for Universal Pictures’ sci-fi comedy-adventure Paul are a who’s who of film comedy. Director Greg Mottola (Superbad) will be joined by cast members Simon Pegg (Hot Fuzz), Nick Frost (Shaun of the Dead), Kristen Wiig (Date Night), Bill Hader (Forgetting Sarah Marshall), Jeffrey Tambor (The Hangover), Joe Lo Truglio (Role Models), Seth Rogen (The Green Hornet), and Sigourney Weaver (Baby Mama) as they discuss the movie about two sci-fi geeks whose pilgrimage to Comic-Con ultimately takes them to America’s UFO heartland. While there, they accidentally meet an alien who takes them on an insane road trip that alters their universe forever. Q&A session to follow.
Does anyone really think that the Comic-Con audience will best remember Sigourney Weaver for a supporting role in Baby Mama? (I didn’t even know she was in it.)
Not, say, her starring role in the Alien series?
Or if you want to go for something more recent, it’s only been half a year since Avatar.
Or heck, since it’s a sci-fi comedy about fans and conventions, how about Galaxy Quest?
Guess what? Those movies weren’t produced by Universal. Baby Mama was.
Talk about underselling the guests! That’s like promoting that you’ve got Harrison Ford from Sabrina!
I see it in comic books as well, though not quite to this extent. DC, when it realizes that someone is best-known for their work at Marvel or somewhere else, will at least mention the fact…but they always seem to want to downplay it. Standard practice is to put the DC titles in all-caps and anything else in standard title case. For example: Flash: Emergency Stop by “Grant Morrison (FINAL CRISIS) and Mark Millar (Civil War),” or Superman: Earth One by “J. Michael Straczynski (BRAVE AND THE BOLD, Thor, Babylon 5).”* It always leaves the impression that they’ve kind of hoping that, even though they’re banking on the name recognition, you won’t really notice.
*Ironically, Babylon 5 was produced by another subsidiary of Warner Bros….and the licensed comic books were published by DC.
Two “Critiques” That Aren’t
I am so tired of “critiques” that boil down to one of the following:
- I have no use for or interest in this, therefore no-one does or should.
- Pop culture was so much better during my formative years than the crap they put out today.
These are, to put it mildly, a load of bull.
1. So you don’t have a use for it. Other people have different interests than you do. They also have different needs than you do. You might not need a roto-rooter, but a plumber is going to find it very useful.
This one really infuriates me when it comes from supposed techies. So you don’t have a use for a touchscreen with your giant desktop setup with a wall of six monitors. That doesn’t mean touchscreens can’t be useful on, say, handheld devices, or a small wall unit in the kitchen. There’s a reason this xkcd strip rings true.
2. There was plenty of crap back in the day, too. You’ve just had time to forget the mediocre, while the good stuff has stood the test of time. Not everyone who wrote plays during Shakespeare’s time was a great playwright, and not every movie produced before Star Wars was a great work of art.
Plus, y’know, they were your formative years. Of course you’re going to like stuff from that era better, because that’s what shaped your tastes.