On First Books

It’s probably a lot like seeing your first child for the first time.

Peachpit screwed up. Somehow, they managed to forget to send the authors of WordPress 2: Visual QuickStart Guide (yours truly and Miraz Jordan in New Zealand) author copies of the book. The book is in retail and online bookstores. But not in our hot little hands.

Heck, screw-ups happen. It isn’t a huge deal to me — I’ve seen 60+ books with my name on the cover — but I would like to see the book one of these days.

It’s really a shame for Miraz — this is her very first book and she’s been waiting nearly a month so far to see it. So she ordered a copy from Amazon.com. (Heaven knows when her author copies will get down to where she lives.) And reading her blog post about how holding it made her feel brought back memories.

Flashback…

August 1992 at Macworld Expo in Boston. I’d been using a Macintosh since 1989 and was a relative newbie. Completely self-taught. I was hooked on Macs.

That spring, I’d been working on a book with Bernard J. David that was eventually titled The Mac Shareware Emporium. It was my first book; my only previous book experience was ghostwriting four chapters for a John Dvorak book the year before. (That’s how I’d met Bernard.)

imageMy editor had told me that the book would be at the show and I’d do a book signing. I made my way to the Brady Publishing booth. And there, on the shelf, was the ugliest book cover I’d ever seen — with my name on it!

When I tell you that holding it in my hands brought tears to my eyes, I am not exaggerating. I got all emotional. Even though it was the ugliest thing I’d ever seen, it was also the most beautiful. It was a symbol of an achievement, of a dream realized.

And that’s what Miraz went through today.

Congratulations, Miraz!

You know, in looking at the cover again today for the first time in years (so I could scan it), it really isn’t that ugly after all.

Redirects with .htaccess

I may have come up with a solution for the RSS errors I’ve been seeing.

When I combined Maria Langer, the Official Web Site* with my personal WebLog and LangerBooks.com, my book support site, into one site at www.aneclecticmind.com, I soon realized I had a problem. A bunch of people who were accessing the RSS feed for my old Mac OS X VQS book support site were still looking for it at the old address. Trouble is, it wasn’t there anymore. So these feed readers were looking for something they’d never find. And rather than give up and get on with their feed reader lives, they evidently kept looking, day after day, week after week. The people following the feed were probably either too overwhelmed by other content to notice my absence or had the silly idea that I just wasn’t writing anything new.

I discovered this, by the way, by checking the Users Online feature of my site. If I had a bunch of users online, I’d pop over to that page to see what they were looking at. I noticed that some of them were looking at my Oops! Page Not Found page. And when I pointed to the URL link, I saw that the page they were trying to get was the feed page for the Mac OS X books.

What could I do? I didn’t know. But the problem always bumbled around in the back of my mind. I figured I’d resolve it sooner or later.

Today, while waiting for a friend I’d taken to the doctor’s office, I killed some time listening to podcasts on my iPod. One of them was a podcast I’d only recently subscribed to: Podcasting Underground. In one episode, the host brought up a problem he’d experienced using redirects in his podcast feed. Although I didn’t have the same problem and his solution didn’t apply to me, it got me thinking. Redirects. Of course!

To those of you who don’t know, a redirect is an instruction that tells the visitor to Web content that the content isn’t available where he’s looking but is available elsewhere. It redirects him to the correct place.

There are at least two kinds of redirects — at least two kinds that I know about, that is.

One is extremely basic and uses an instruction in the head element of a Web page to send the visitor elsewhere, occasionally with a timer. Whenever you go to a Web page that says “We’ve moved to http://blahblah.com. Click this link if the new page does not appear automatically in five seconds.” That page has a redirect with a five second delay. It’s an easy redirect to create (if you have HTML knowledge) but it does waste time and effort by letting the visitor go to the wrong place in the first place. It also requires an HTML document at the wrong location. Not very smart, if you ask me, but it does have its purposes.

The other redirect requires rolling up the sleeves and editing the invisible .htaccess file that can live in a variety of places on a Web server, including the server’s root directory, a Web site’s root directory, or a specific directory within a Web site. This file can contain all kinds of instructions, as you can learn about in the Comprehensive Guide to .htacess or elsewhere online. (Just Google .htaccess and don’t forget the leading period or “dot.”)

The only instruction that interested me was the redirect command. It uses the format:

Redirect olddirectory/oldfile.html http://www.newsite.com/newdirectory/newfile.html

So I composed a command string that I think should work, stuck it in my .htaccess file, and resaved the file to my server. The new file location is set to the RSS feed for this entire blog. I figure they can always come back and change their subscription for the specific content they want.

Now it’s wait and see. I’ll keep peeking at the Users Online page to see if there are any people on the error page, then point to the URL to see what they were trying to find. If it’s the old RSS feed file, I’ll tweak my .htaccess entry accordingly. So far, I’ve only had to tweak it once…it looks like it might actually be working.

Oh, and by the way, if you’ve found this article through an RSS feed that you haven’t seen activity in for about six months, welcome back! You’re one of the readers I lost to this error. Visit the RSS Feeds page and subscribe to the content you want. I promise I won’t move the RSS feed addresses again without a redirect.

And if you know any other good online resources for .htaccess information, please use the comments link to share their URLs with readers.

.htaccess, howto, redirect, 404, RSS, feed

Why Write?

Money.

Author Mickey Spillane died last week at age 88. He was the creator of hard boiled detective Mike Hammer.

I don’t recall reading any Mickey Spillane, but I must have. I’m a huge fan of hard boiled detective fiction — a la Chandler and Hammett. But reviewers don’t usually use the names Spillane, Chandler, and Hammett in the same sentence unless it is to comment on how Spillane fails to stack up to the two masters of the genre.

Spillane’s writing has been called “hard boiled boilerplate,” full of cliches and odd visualizations. The critics were not kind to him. But he didn’t write to please the critics. He wrote to make money, as CNN’s obituary piece confirms:

Spillane, a bearish man who wrote on an old manual Smith Corona, always claimed he didn’t care about reviews. He considered himself a “writer” as opposed to an “author,” defining a writer as someone whose books sell.

“This is an income-generating job,” he told The Associated Press during a 2001 interview. “Fame was never anything to me unless it afforded me a good livelihood.”

Which got me thinking.

I’ve often been criticized by writing acquaintances — you know, the folks who want to be authors and are always working on short stories and novels but never actually publishing them — for “selling out.” In their eyes, writing non-fiction (computer how-to books, of all things) isn’t quite as impressive as creating art by writing fiction.

But they obviously don’t understand why I write computer books. It isn’t because I love composing sentences like: “Choose File > Open. The Open dialog appears. Locate and select the file you want to open. Click Open.” It’s because I like to eat, have a roof over my head, and buy cool toys like helicopters.

Yes, it’s true. I write computer books for the same reason most people go to the office every day. The same reason Mickey Spillane wrote books with titles like The Erection Set.

As Spillane once said,

“I have no fans. You know what I got? Customers. And customers are your friends.”

Ah, if only I could have as many friends like that.

Surprise Valley Drugs

One of my favorite shots from my August 2005 road trip.

Surprise Valley DrugsYes, it’s the side of a building. But it’s also an old billboard for a drugstore that probably doesn’t even exist anymore. And there’s something about it that I really like.

I took this photo at the end of the second day of my trip. I was spending the night at Cedarville, CA, in a little motel on the edge of town. Cedarville was a quaint, undiscovered farming community. I’d passed at least a dozen huge California barns, hay fields, and horse pastures on the last half hour of my drive. I was exhausted and this quiet little town was like an oasis in the desert.

This billboard had been painted on the side of a row of shops. I don’t know how long ago it had been painted or whether the Surprise Valley Drug store was in Cedarville. But I snapped the photo to remember.

The next morning, after stopping back in town for a some car noshing supplies, I’d seen a similarly interesting shot across the street. But there were people out and about and I felt silly about taking the photo. Someday I’ll go back and snap it.

And to readers of my Maria’s Guides eBooks, if this looks familiar, it should. I used it for the cover of one of my eBooks.

Buy on RedBubbleThe full-frame version of this photo is available for sale as cards and prints at RedBubble.com

Zen and the Art of Ikea Furniture Assembly

I experience a Zen-like calm while assembling Scandinavian-designed shelves and cabinets.

Okay, so I’m exaggerating. But it certainly was pleasant — at least for a while.

Our storage shed at Howard Mesa was in desperate need of some shelves and mouse-proof cabinets.We needed the solution to be cheap.

In a fit of confusion, we’d gone to a Wal-Mart in Prescott and bought some crappy, Chinese-made modular shelves. Of course, we didn’t know they were crappy at the time. Although I hate Wal-Mart and hadn’t stepped foot inside one for more than two years, for some reason we thought we could find what we needed there. After all, Stan raves about the place. Maybe it had changed in two years. It hadn’t. (People say I’m too hard on Wal-Mart but I know I’m not.) And the “furniture” we bought was so poorly made that we brought back all the pieces we hadn’t assembled. We’re still trying to figure out what we’ll do with the three pieces we did put together.

Back to square one.

I was going to try Office Max when Mike suggested Ikea. There’s one down in Tempe, near Phoenix. I didn’t think they’d have what we wanted, but got online to check their catalog. That’s when I found the Träby series of cube-like shelves with optional doors and drawers. We went down to Ikea with the truck to see them in person. They were exactly what we were looking for. And — surprise, surprise — all the pieces we needed were in stock. I loaded up the cart, checked out, and loaded up the truck. Yesterday, at Howard Mesa, I began assembly.

If you’ve never assembled Ikea furniture, you really are missing out on an experience.

First, open the box in which the item’s pieces are packed. You’ll find the box completely filled in with furniture pieces, bag-wrapped hardware, and the minimum number of foam inserts. There’s no wasted space in that box. Since Träby had a natural wood finish, each piece was wrapped in clean, blank newsprint paper.

Now unwrap the hardware and sort it out. There will be pieces you’ve never seen before (unless you’ve assembled Ikea furniture in the past). You might want to sort out the furniture pieces, too. Each one will be slightly different and have tons of holes pre-drilled into it.

Open the instruction booklet. The whole thing is pictures. Line drawings of furniture pieces and hardware with arrows and numbers. In fact, it looks a lot like a coloring book before a kid has gotten to it with crayons. My favorite picture is the one of the man with the pointy nose on the phone; they phone wire is connected to the Ikea store. In words: Call us if you need help.

Next, get your tools ready. You’ll need a philips head screwdriver. That’s it. Okay, sometimes you might need a hammer, but if you do, the hammering job is so light that you can use the heel of your shoe or the handle of the screwdriver.

Now sit on the floor with everything around you. And follow the numbered pictures in the instruction booklet. You’ll screw in weird, tall screws that stick up an inch or more, then stand a panel on top of them and use round do-dads to hold it in place. It’ll be rock solid when you turn the round thing, as if there are ten more screws doing the job. Back panels slide into slots and are held in place with other slots.

What’s amazing about the assembly process is that everything is so incredibly well designed that the pieces can only go together one way. When you’re finished assembling a piece, you feel as if you have performed the final function in a long string of tasks that bring that piece of furniture into existence. You feel as if you’re part of the Ikea team. Like there are a bunch of Europeans nodding their approval at you from across the ocean.

I say Europeans because Ikea is a Scandinavian company and the Träby shelves I bought were made in Poland. The workmanship was quite impressive for such inexpensive furniture. And everything is designed right down to the last screw hole.

The cabinet doors went on just as easily. The only hard part was bending my body in such a way to get the screws into the right pre-drilled holes. The hinges had all kinds of adjustment screws, but I found that if I just used the center setting for each screw, the door hung properly — the first time, every time. Sheesh.

Things changed when it came time to do the drawers. I’d bought two sets of them. Each set had a big drawer and a small drawer. When I opened the box, I got a shock: the drawer insides were lavender. You know. The color. Popular around Easter.

I followed the instructions to assemble the drawers and found that the pieces fit together admirably well. But I hit a snag when I screwed the roller tracks into the cubes I’d already assembled. I kept stripping the screw heads before I could get the screw all the way in.

Now this was weird. I’d been screwing things in all afternoon and hadn’t changed my technique. I hadn’t stripped a single screw up until that point. Now I was stripping the heads on every single screw, unable to get them all the way in. What had changed?

I looked at the box the drawers had come in and saw my answer: Made in China. I guess Poland wasn’t cheap enough for the folks at Ikea headquarters. They’d outsourced to China, like everyone else. The Europeans who’d been nodding their approval were now snickering at me.

I got fed up and stopped only halfway finished with the job. I’ll need Mike to get two of the screws out so I can try again with a fresh set. I’ll go to the hardware store today and buy new screws. Hopefully, they won’t be made in China. Or, if they are, they’ll be made with slightly better quality metal.

Lessons to be learned here? Cheap is cheap for a reason. Even Ikea outsources to China. The best-designed furniture can still be rendered useless by poor-quality hardware.

Today I’ll put together the last shelf cube. With luck, I’ll get that same feeling I had yesterday at the end of all my successful assemblies. But when I feel those Europeans nodding their approval, I’ll ignore them.

As for the Träby shelves and cabinets — they look great and are rock solid.

[posted with ecto]

Ikea, furniture, Poland, China