December 2009 Links

Here are links I found interesting in December 2009:

  • Image Detection: Watermarking vs. Fingerprinting – A discussion between the two image protection techniques. On PlagiarismToday.com.
  • Stupid WordPress Tricks – A collection of copy-and-paste HTML/PHP code for use with WordPress.
  • The 10 dumbest tech moves of 2009 – Excellent list of idiotic decision making in the tech world. On InfoWorld. Thanks to @estherschindler on Twitter for sharing the link.
  • In the gig economy, who protects journalist bloggers? – As newspapers and other mainstream media outlets dismantle their ranks, many pundits have wondered who will be society’s new watchdog. On Chris Around the World. Thanks to @yaksierra on Twitter for sharing the link.
  • Traveling? Better Get a UPS Account – Bad news for photographers who travel with their equipment: they might not be able to get said equipment on the plane securely. Get some tips in this post on PhotoFocus. Thanks to @BWJones on Twitter for sharing the link.
  • Five Ways Apple’s Tablet May Change the World – The iPad is on the way, and it just might reduce calling costs, cut your commute, and, to the delight of journalists everywhere, pull print media back from the brink. In BusinessWeek. Thanks to @mjvalente for sharing the link.

Mac OS X: Using Your Laptop in “Clamshell Mode”

Using your MacBook or MacBook Pro with the lid closed. Really.

Apple Cinema DisplayAs the prices for large, flat-screen displays continue to fall, many folks are buying one as a second display. About a year ago, I wound up with a 23″ Apple Cinema Display that I’d bought used from a friend who was moving. I installed it in my Phoenix office, with the idea that I’d use it with my laptop — then a 15″ MacBook Pro; now a 13″ MacBook Pro. I connected the display to my Mac and began using it with the laptop’s built-in display, very much as I discuss here.

I soon realized that I really didn’t use the second display because of the awkwardness of “driving” the mouse from one screen to the other. But, at the same time, It made no sense to use the smaller monitor when I could be using the larger one. When I started using a wireless keyboard and mouse with my laptop in my Phoenix office, I realized that I was ready for clamshell mode.

Clamshell mode enables you to use a PowerBook G4, MacBook, MacBook Air, or MacBook Pro with the computer’s lid closed. All you need to have is an external monitor and input devices. The input devices can be wired or wireless. The computer sends all display output to the external monitor and accepts all input from those external input devices. The computer itself just does the CPU stuff.

Clamshell ModeYou can even put the computer aside, out of the way. The photo here gives you an idea of how my office desktop looks with my 13″ MacBook Pro running in clamshell mode, standing in a special stand I bought to keep it out of the way on my rather shallow desk.

There are two ways to enter and exit clamshell mode, depending on whether your input devices are wired or wireless. Let’s take a look at each method.

Wired Input Devices

If you have a wired keyboard and mouse, getting set up with clamshell mode is pretty easy.

  1. Connect the computer to a power adapter — this won’t work on battery power — and, if necessary, turn your computer on.
  2. Plug in your keyboard and mouse.
  3. Connect your external display to your computer and turn it on.
  4. When the desktop appear on the external display, close the computer’s lid.
  5. If the computer goes to sleep — which is likely — wake it by touching any key on the keyboard.

You can now use the computer with the external keyboard, mouse, and display.

Wireless Input Devices

In my particular setup, I have a Bluetooth Apple keyboard and a wireless (but not Bluetooth) Logitech mouse. The instructions I follow are similar to the wired input devices instructions. The key is to pair any Bluetooth devices before starting clamshell mode.

  1. Connect the computer to a power adapter — this won’t work on battery power — and, if necessary, turn your computer on.
  2. Make sure Bluetooth is turned on.
  3. Pair and connect your computer with your keyboard and mouse and confirm that they work.
  4. Advanced Bluetooth OptionsIn the Advanced settings of the Bluetooth System Preferences pane, make sure the Allow Bluetooth Devices to Wake this Computer.
  5. Connect your external display to your computer and turn it on.
  6. When the desktop appear on the external display, close the computer’s lid.
  7. If the computer goes to sleep — which is likely — wake it by touching any key on the keyboard.

In my case, because my mouse is not Bluetooth, I had to connect the mouse’s USB wireless adapter to my monitor (which has USB ports) or computer and turn the mouse on.

Watch the Video

If you’re a visual kind of person and want to see the process in action, watch this video, which I shot with my Flip camera. We’re not talking Academy Award material here, folks, but it does show you how it works — at least for me.

When You’re Finished with Clamshell Mode

Eventually, you’ll want to start using your computer the usual way, with its own built-in display. Here’s how you do it:

  1. Put the computer to sleep. (This step might not be necessary; it depends on the computer model and display. Experiment with your system.)
  2. Disconnect the display.
  3. Wake your computer to use it.

Need More Information?

Snow Leopard Book CoverYou can find more information about using monitors and Bluetooth devices with Mac OS X 10.6 Snow Leopard in Mac OS X 10.6 Snow Leopard: Visual QuickStart Guide.

You can find Apple’s instructions for using clamshell mode here. That document will be revised as procedures change.

Upgrading to WordPress 2.9: Getting Your MySQL Database Up-to-Date

A tiny glitch for those of us with old databases.

Upgrade Admin PanelOne of the things I love about the most recent releases of WordPress is the automatic upgrade feature. Not only does the software tell you when a new version is available, but it offers a one-click upgrade through the use of the Upgrade Automatically button in the Upgrade WordPress administration panel. I’ve been using this feature regularly since it first appeared — after backing up my WordPress database and content files, of course — and have never had a problem.

Until yesterday.

Last night, when I attempted to upgrade my main blog, An Eclectic Mind, I got the following error message:

Old PHP Warning

I knew immediately why this error had appeared. My blog is so old that MySQL 5 wasn’t available when it was created. The available version was 4.0.27, which is what I installed. But the new version of WordPress needs a newer version of MySQL. Upgrading wouldn’t be possible until I upgraded my MySQL database.

I called GoDaddy, my hosting company, and spoke to someone in technical support. She said that the only way to upgrade the database was to back up my database, create a new database with version MySQL 5.0, and restore the old database to the new database file. I could then point my config.php file to the new database and, with a lot of luck, everything would work out fine.

So I initiated a backup last night using GoDaddy’s backup utility. (I usually use the WordPress Backup Plugin.) I got tired of waiting for it to finish, and went to bed. This morning, I’m restoring that database into a new file created with MySQL 5.0. And now, as I type this, I’m modifying the config.php file to point to the new database, user name, and host name.

Drum roll please….

As I open the home page for my blog…it works!

Upgrade CompletedThe upgrade should now go off without a hitch — which it does, as shown here.

Unfortunately, if you’re in the same boat I was in, you’ll need to find out how to update your MySQL database file. Talk to your system administrator or ISP’s technical support department. Every system is different — I use GoDaddy.com so that’s the only system I know how to update. Providing detailed step-by-step instructions for that system would only help other GoDaddy users — and might not work after GoDaddy’s next interface revision.

So I’ll let you track down instructions for your server or ISP on your own. Once you get those instructions, it shouldn’t be difficult to complete the task.

Good luck and enjoy the newest version of WordPress!

Spelling Checkers Don’t Work if You Ignore Them

Reminding my brain not to block out the red underlines that indicate potential spelling problems.

Check Spelling as You Type has been a built-in feature of many word processors for years. It’s now in most applications I use — including my Web browsers, for Pete’s sake! — and the red squiggly or dotted underlines are an integral part of my writing life.

If you’re not sure what I’m talking about — do you live in a cave? — I’m referring to the feature that indicates when a word you’ve typed may have been spelled wrong. This is supposed to flag the word so you can check and, if necessary, correct it.

A Blessing…

I vaguely remember when this feature first appeared in Microsoft Word years ago. It was a blessing — and a curse.

I initially loved the feature because it often identified my typos. I’m a touch typist and can get up to 80 words per minute when I’m tuned in. But those aren’t always error-free words. Check Spelling as You Type was a great feature for finding typos as I worked, eliminating the need to run a spell check periodically or at the end of document creation.

As you might expect, it also found spelling errors. My spelling was always pretty good, so it usually found more typos than actual spelling mistakes. But that’s okay. An error is an error and I want to remove all of them from my work, whenever I can.

…and a Curse

But over the years, I’ve found some problems with the Check Spelling as You Type feature — and spelling checkers in general.

The feature does not identify all typos or spelling errors as errors. For example, suppose you type bit but you really meant but. A spelling checker doesn’t see any problem with that, so it won’t flag it. That means you can’t depend on a spelling checker to proofread your work. (And yes, in case you’re wondering, a grammar checker would likely identify this as a problem. As well as the sentence you’re reading right now, because it isn’t really a proper sentence. And this one, too.)

So you’ve got a feature that makes you lazy by doing about 90% of the proofreading work for you, as you type. If you neglect to do the other 10% of the proofreading work, you could be very embarrassed — especially if you write professionally and editors expect your work to be error-free.

The unflagged error that zaps me most often? Typing it’s instead of its. At least I know what it’s supposed to be.

It’s worse, however, for people who don’t know the correct word. How many times have you seen people use then instead of than? There instead of they’re or their?

The feature has degraded my spelling skills. In the old days, before spelling checkers, I simply knew how to spell. If I wasn’t sure of the spelling of a word I needed, I looked it up in — can you imagine? — a dictionary. It made it worthwhile for me to actually learn how to spell words. Knowing the proper spelling saved me time in the long run.

But now, I simply type the word as I think it might be spelled and wait to see if it’s flagged. If it is, I use a context menu — Control-click or right click the word — to choose the word I meant to type. Yes, it’s convenient. But I seem to be doing it an awful lot more than I used to use a dictionary.

(Perhaps it’s also expanding my vocabulary by making it easier to use words I’m not as familiar with? There’s something there.)

The feature identifies any word it does not know as a potential spelling error. That means that if your document is filled with jargon, technical terms, place names, or other words that do not appear in a dictionary, those words will be flagged as possible errors. The word unflagged, which appeared earlier in this post, was also flagged. Is it an error? Or does my spelling checker simply not recognize it? Seems like a word to me, so I let it go.

And herein lies my biggest problem: I’m so accustomed to seeing words flagged in my documents that I’ve managed to tune out the red underline. (It’s kind of like the way we all tune out advertisements on Web pages these days.) This happened to me just the other day. I typed the word emmerse in a blog post. My offline editing tool flagged it with a red dotted underline — as it just did here. But for some reason, I didn’t see it. I published the post with the error in it. A friend of mine, who referred to himself as a “spelling Nazi,” e-mailed me to point out my error. I meant immerse, of course. He knew that. Readers likely knew that. But I got it wrong and I shouldn’t have. How embarrassing!

Spelling Checker

Here’s a look at the spelling check feature in ecto, my offline blog composition tool of choice. It works just like any other spelling checker. (And yes, I do compose in HTML mode.)

The correct way to go about this is to look for every single possible spelling error and resolve it so those red lines go away. That means learning or adding the unknown word so it’s never flagged again or ignoring it so it doesn’t bother you in this document. All of this should be done with the appropriate menu command. Simply telling your brain to ignore a problem just sets you up to be blind to it when it occurs. That’s not how the software was designed to work.

The Point

This post has a point — most of mine do — and here it is: spelling checkers, including any Check Spelling As You Type feature, are only as good as allow them to be. Use them, but don’t depend on them. Follow up on any flagged words and resolve them using the software so the red underlines go away.

Spelling checkers are just a tool. Like any other tool, it won’t help you if you don’t use it correctly.