When critics don’t think

Before seeing Tron: Legacy today, I checked out the reviews on Rotten Tomatoes, as usual. I saw that most critics hated it, but that audience reviews were strong. I kind of expected that; Tron isn’t going to be a movie that makes your average film critic sing its praises. I took special note of the set of critics that I think are tools: O’Hehir of Salon, Phillips of the Chicago Tribune, Stevens of Slate. They’re valuable to me as negative indicators. I find that if it’s a movie that I’m interested in seeing, and they hate it, I’ll often have a good time. As expected, they all trashed the film.

I usually ignore Claudia Puig of USA Today, because, well, she’s not often of any interest. But this one should be in the annals of critics foolishly Not Getting It: “For a far more thought-provoking tale about the virtual realm, try The Social Network.”

One, the movies are in completely different genres; it’s fundamentally wrong to compare them in that fashion. Two, The Social Network isn’t about the virtual realm at all. None of it is set in “Facebook world,” the way the virtual world exists in Tron. Three, this is the sort of incisive comment made by someone who thinks, “Well, they’re both sort of about computers.” And then stops thinking.

I understand being under deadlines. But that’s embarrassingly shallow writing.

WordPress baffles me, part 2 (now with less whining!)

After reading the responses to my last post, it became clear to me that what I thought was a cry for help just sounded to others as whingeing. And re-reading the post, it was clear to me that y’all were right.

So, let me try again with our biggest pain: incoming links.

The issue:

Our existing incoming links are in the format

/yyyy_mm_dd_archive.html

WordPress, apparently, needs that URL to be*

/yyyy/?w=nn

That is, we have the year, month, and day—but what we need is the year and week number. That nn is the nth week of the year. So we have a URL that comes in looking like (for example)

/2004_04_18_archive.html

and we then want WP to serve up

/2004/?w=16

The problem:

As I see it, there’s two ways that WP could handle this*: either redirection, or permalinks for weekly archives.

Redirection: I can’t figure out how to do this given that nn in the code above. A redirect would have to take in a date and turn it into a week number, and I don’t believe that’s possible*.

Permalinks: I was hoping that there was a plugin that creates pretty permalinks for weekly archives, but I haven’t found one as yet*.

That means that I have to write a custom query*, and here’s what I’ve got so far:

$day = substr( $datestr, 8, 2 );
$month = substr( $datestr, 5, 2 );
$year = substr( $datestr, 0, 4 );
$timestamp = mktime( 0, 0, 0, $month, $day, $year );
$week = date( "W", $timestamp );
query_posts( 'nopaging=true&orderby=date&order=ASC&posts_per_page=-1&year=' . $year . '&w=' . $week );

The problem is that I have no idea where to put it, and no idea how to make it happen only when the URL is in the above format.

I’m still hoping that there’s an easy way to do this, and if I’ve got to use my own code in a child theme, I think I can now handle that—it’s just I’m not clear on the details of where/when it gets called.

Thanks in advance for any help you can give!


* This is to the best of my understanding, which means I could well be wrong—if I am, please let me know.

WordPress baffles me

So far, we’ve been on WordPress almost 80 hours—and I keep finding things that drive me insane, or that don’t work, or that I can’t figure out, or, or…

Okay, what is it that y’all like about this CMS?

But really, we were on MT for 6 or 8 years, and I never had to write a single line of Perl. So far, I’ve been writing gobs of PHP, though, because there don’t seem to be plugins that do what I want. And it’s not like what I want is that complex.

And then randomly, things just break. Currently, it’s the categories—don’t know why, don’t know how, but they’re broken. As are all incoming links to this site. Sorry, folks; I’ve been working on this since Friday evening, and it’s all way over my head.

Wish me luck, ’cause I need it.

Edit by Tom: The above is Dori’s way of asking for help from people who are experienced WordPress users. I think that she didn’t make that at all clear.

We’re in the new digs

We’ve moved Backup Brain from Pair to Dreamhost, to take advantage of some of the latter’s extra features, and because we got hosting there for a ridiculously low price. We’re also taking the opportunity to migrate the blog from Movable Type to WordPress. We’ll be fiddling with making the old permalinks work, messing with the theme, and other stuff for a while longer. Please be patient while we clean up the new installation.

Update, 10/31: Still working on getting the redirects right from the old post structure to the new.

Want One More Woman at Tech Conferences?

Over at TechCrunch, Michael Arrington wrote Too Few Women In Tech? Stop Blaming The Men, in which he said:

[Women] are literally hounded to speak at every single tech event in the world because they are all trying so hard to find qualified women to speak at their conference.

Here’s a relevant datapoint—all the conferences that, in the last year, have approached me about speaking and asked me to present:

  •  

 

 

So, let me take Arrington at his word must control mouth and just say publicly:

If you’re a woman, and you’re being “hounded” to speak at conferences, and you just can’t handle attending another conference—could you please pass an invite or two on to me?

Actually, that’s true regardless of your gender, and whether or not conferences are as a matter of fact setting dogs on you (“literally hounded“?). It also applies if you’re a conference organizer, btw.

Contact me. Please.

Vote for us to talk at SxSW

We know, you’re saying to yourself all the time: why haven’t Tom and Dori blogged more? Or posted on Facebook more? Or even tweeted more? (And you are all saying that, right? Right?)

So here’s the deal: if you want to hear more from us, say so by voting for our sessions in the SxSW 2011 Panel Picker.

We’ve pitched two sessions: When Your Partner Is Your Partner and So You Wanna Write A Tech Book?. On paper, the former is listed as Tom’s session and the latter as mine, but the reality is that they’re both us (along with anyone else we can dragoon into participating).

I believe you’ll need to register before you can vote, but you don’t have to necessarily be planning to attend to register (although you should go—it really is Geek Spring Break and a helluva lot of fun).

panel picker widgetWhen Your Partner Is Your Partner
panel picker widgetSo You Wanna Write A Tech Book?

You have a proposed panel too? Great! If you want us to vote for your panel, just ask—but just so you know, here are my personal showstoppers; if your session description includes any of them, don’t bother:

  • References to post-pubescent females as “girls”
  • References to “your mom” or “your grandmother” as shorthand for non-technical people
  • Social media marketing gibberish (i.e., new media douchebags need not apply)
  • Any “hey, there’s this brand-new hot topic you should know about!” panels, when the topic itself is over 5 years old
  • Panels where the participants obviously know less about the topic than we do and it’s not even in an area where we claim expertise
  • And so on…

But I know that none of you would propose anything this weak, so let us know what you’ve got planned. And of course, if you think that one (or both) of us would be a good addition to your panel, we’re all ears.

See you in Austin!

Can you get real writing work done on an iPad?

My report: yes, you can. On a recent trip, I left the MacBook at home and brought my iPad. This also allowed me to leave the big Timbuk2 Classic Laptop Messenger Bag behind; I carried the iPad onboard in an old Eddie Bauer field bag. The iPad, in a cheap $5 neoprene sleeve we got until a case we really want appears, fit easily in the field bag’s main compartment. One bonus is that TSA doesn’t require you to take iPads out for screening, unlike laptops.

For casual writing (emails, mainly), the iPad’s on-screen keyboard is sufficient. When I had to work on a chapter of the latest book, I turned to one app and an Apple Wireless Keyboard (I bought this while on the trip from the local Apple Store). The keyboard is full size, but the function keys are smaller than usual (no number pad, though), very thin and light, but still sturdy, since it’s made mainly of aluminum. It connects to the iPad via Bluetooth. On the way home, because it was a short flight and I didn’t need to write, I packed the keyboard into my roll aboard luggage.

I just weighed my field bag with the iPad in its sleeve and the Apple Wireless Keyboard; it came to 3.5 pounds, still a pound less than my 13″ MacBook alone. When I’m traveling, I’d need the iPad charger and cable (which would go in luggage), and the rest of the stuff I travel with (reading glasses, business cards, earbuds, etc.) would probably raise the total weight to close to 5 pounds.

The app I used for writing was Dataviz’s Documents to Go Premium, which creates and edits Microsoft Office documents (Word, Excel, PowerPoint). The great thing about the Premium version (and justifies the extra $5 over the basic version) is that it connects with the Dropbox online storage service, which automatically syncs any document between your different devices. So I wrote the chapter in Documents to Go, saved it in the iPad and also to Dropbox (you need an Internet connection, of course), and the chapter was immediately replicated on the Mac at home. When I got home, I opened the document in Word from the Dropbox folder on my Mac Pro, did some touchups, and sent it off to my editor. I could have emailed the chapter from the road, of course, but the deadline wasn’t that pressing.

The other benefit of using Dropbox is automatic backup of my work. If my iPad had been broken or stolen, my work would still be safe, both at home, or, if my home computer wasn’t running, on the Dropbox Web site. DTG Premium also supports Google Docs, Box.net, SugarSync, and MobileMe for online storage.

I’ve even experimented with using the free Dragon Dictate for iPad for speech recognition (I’ve used Dragon Naturally Speaking on the PC for more than a decade). I think it’s OK for things like emails, but it’s not ready for serious work. It requires a fast net connection to work at all (the recognition is done on their servers), it’s not good for a lot of text at a time, and you can’t train it to the idiosyncrasies of your voice.

In any event, I’m sold on the usefulness of the iPad as a laptop replacement for writing. For quick to medium-length trips (up to about two weeks, for me), I think I wouldn’t miss the laptop at all. If I had to do a presentation, I’d still bring the MacBook, because Keynote for Mac is markedly better than Keynote for iPad (the book I’m doing now is about the latter, so I’ve become intimately familiar with both versions).

Can I get more emails like this?

I mentioned this last week on Twitter, which then automatically goes to Facebook, but I didn’t put it up here on the blog (which, come to think of it, also now goes automatically to Facebook). So for those of you who don’t read our other feeds, I wanted to share the results of an email from my urologist I got last week. It was subsequent to the followup CT scan that was done three months after my kidney cancer surgery.

I am happy to report that your CT scan showed no evidence of residual and/or recurrent kidney cancer. I recommend that you have a chest x-ray and blood tests every 6 months. I have ordered these tests for you. I will also order your next CT scan in 2 years.

That’s a good thing to read first thing in the morning. What a relief!

I’ll see my urologist in January for the first in-person followup visit, but I can now think of myself as a cancer survivor. Which certainly beats the alternative.

Apple Needs a Web Evangelist

This week is WWDC, so I’ve been doing a lot of reading about Apple’s announcements. Last night I drove into SF, and spent several hours talking to attendees to hear their thoughts.

My takeaway: Apple, more than ever, needs a Web evangelist. They don’t talk to Web dev/designers, and they don’t listen to Web dev/designers. It shows, and it’s hurting them.

Just one example: Apple’s HTML5 promotion may backfire (InfoWorld). Pushing Web standards (good) by blocking browsers other than Safari was just a bone-headed move—and it’s only a small symptom of a much bigger problem.

Yes, I blogged about this 3 1/2 years ago in Apple, Hire Me. But at this point, it’s pretty clear to me that Apple first needs to see that they have a problem.

In which avian payment is proffered

I’ve dealt with so much medical stuff over the years that I’ve gotten to be pretty decent at diagnosing myself, and often things going on with Dori, too. Sometimes it’s for things that I’ve had before, and other times for new stuff. For example, last year I woke up one morning and noticed that I’d broken out with blisters on my forehead, going up into my scalp. That was unusual. So I looked more closely, did a little online research, and thought, “Crap. I have shingles.”

Later that day, Dori was scheduled for a routine follow-up appointment with our family doctor, so I went along. When she was done, I asked the doc to take a quick look at me. He lifted up my hair, looked at my forehead, and said, “You’ve got shingles.” I was on anti-virals an hour later, and the whole shingles experience, while not exactly fun, was minor. Friends and relatives that have had it have just been in agony for weeks or months; my case was over in a week.

Yesterday, I noticed something awry with Dori, and said, “Hey, I think you have [redacted for her privacy], and maybe [also redacted]. Let’s get you seen by a doctor.” She made an appointment at Kaiser via their Web site, and we went down there today; I sat in. After examination, the doctor told her that she had [redacted] and [also redacted]. The doctor left the room, and I pumped my fist and said “Yes!” Not that I was happy she’s ill, of course, but it’s a relatively minor thing. She’ll need a brief course of drug treatment.

Dori looked over and said, “Congratulations, Dr. Negrino. I owe you a chicken.”

I said, “Yes, you do. And I want it to be a rubber chicken.”

Let it be known: my wife owes me a rubber chicken. Pay up, honey.

Two Steps Forward, One Step Back

Tom’s back in the hospital—it turns out that he caught some kind of infection post-op, and it’s turned septic (note that this is not the same thing as septic shock, which he had four years ago). They’re pumping him full of wide-range antibiotics, and he’ll be there at least until they’ve figured out what kind of infection he’s got and then gotten it under control. We’re thinking that’ll be Saturday, most likely.

Thanks for all your kind thoughts and wishes, and keep ’em coming, please!

A Picture of Health

Today, it’s been three weeks since my surgery for kidney cancer. I thought that I’d put down how I’m feeling, as well as memorializing here on the blog what’s been going on since the hospital. It’s been on Twitter and Facebook, but not here.

I’m doing well. I spent a total of five days in the hospital. We discovered the day I left the hospital that the surgery was a complete success; the tumor was the “right” type (i.e., it wasn’t the “spread and kill you” variety). It was a bit smaller than expected (6 cm, not 7 cm). And most importantly, the pathology report showed “surgical resection margins negative for malignancy.” That means that the surgeon cut out the tumor plus a margin, and he got it all. Let me share the important part of the pathology report:

path-report.jpg

I choked up when I read that; turns out there’s a world of difference between “I’ll probably be OK” and “I’m going to be OK.”

So that’s it. No chemo or radiation with this kind of cancer; there will be regular followups for the next five years, but now I’m in the 85% chance of a total cure category. It doesn’t look like kidney cancer is what’s going to kill me.

Recovery has been painful, and I’m really ready for it to be over. The wonders of Percocet and Vicodin have been plumbed, and found wanting. My side hurts less now, of course, but it’s still not exactly a picnic. I’ve been back to work this week just a little; maybe a couple hours a day. It’s no surprise that recovery from major abdominal surgery takes weeks, but I’m impatient for it to be done. I get tired easily, and almost always need an afternoon nap. Healing is hard work. Who would have thought?

Once again, I thank those of you who sent your kind thoughts, your best wishes, and your warm encouragement. It’s really meant a lot to me, and I am deeply grateful to have such a community of friends and family.

How to Follow My Progress

My surgery is on Friday April 9 around noon (if you don’t know why I’m going under the knife, see here). We expect that I’ll be 3 hours in the operating room, followed by a couple of hours in the recovery room before they bring me upstairs to the ward. I expect to be in the hospital for about four days total.

If you would like to follow what’s going on with me, the easiest way to do it will be to read Dori’s Twitter feed:

http://www.twitter.com/dori

You don’t have to use Twitter yourself to read that page.

I expect that once I’m on the mend, I’ll be tweeting from the hospital from my iPhone, which will also show up on my Facebook account.

Thanks for all of the good wishes and kind thoughts. I really appreciate them.

Oh, I finished writing my part of our Dreamweaver book, so it’s done. A friend tells me that after this, I should teach a community college writing class, and when some kid whines about his deadlines, I should lean in, and patiently explain to him that I’ve had a heart attack, and I’ve had cancer, and I still made my freaking deadlines both times. Punk.

Talk to you all soon.

Personally, I thought I already had enough character

A week ago, I wrote this on Twitter:

I’ve had one of those days that I understand are quite character-building.

I was alluding to that old chestnut, “Adversity builds character.” And what made me think of that was a phone call I’d received earlier that afternoon.

Around noon, I’d gone down to the Kaiser campus in Santa Rosa for a routine CT scan that was meant to see if I had any kidney stones. We switched our medical insurance to Kaiser in December, which meant a whole new set of doctors. I’d had some bladder stones removed in late November, and the protocol is to do a follow up ultrasound three or four months later, just to make sure that things are clear. Instead of the ultrasound, my new urologist wanted a baseline CT, because, he said, “It’s the gold standard for finding stones.”

Kaiser is pretty darned efficient. I walked into the Medical Imaging department at 11:58 AM, and I was done with the CT scan by 12:08 PM. As I left, the tech told me that I should hear from my doctor with the results in a couple of days.

Two hours later, my phone rang, and my urologist told me I have kidney cancer.

Let’s jump right ahead to the good news we’ve learned since then: the tumor is fairly large (7 cm), but it is confined to the right kidney, and hasn’t spread beyond it. It hasn’t affected nearby lymph nodes. And it hasn’t invaded the major kidney vein, which would act as a superhighway to spread the cancer to other parts of the body.

On April 9, I’m scheduled for surgery intended to remove the tumor and save the rest of the kidney. About 30% of the kidney will be taken. I’ll be in the hospital for four or five days, then back home to continue recovery. After ten days, I should feel well enough to start working again. If all goes well, recovery should take about a month, except for no heavy lifting for six weeks.

Kidney cancer (or to put it more specifically, renal cell carcinoma) doesn’t respond to chemo or radiation treatment. As long as it’s in one place and can be cut out, that’s the way to go. There’s no good way to know before surgery just what kind of cancer it is; there are different types of kidney cancer. If it is the most common type, removing the tumor is considered curative. Most of the time, there aren’t many symptoms, and tumors are found incidentally when doing a CT scan for another reason, as happened in my case. For me, my right side aches a little bit, but not all the time.

For a couple of months, we’ve been working on Dreamweaver CS5: Visual QuickStart Guide, a revision to a book that is one of our main sources of income. Happily, our deadline was always set prior to what’s turned out to be my surgery date, and even with the distractions and general freaking out since last Wednesday, we’ve still managed to get some work in and stay on track. It will be a relief to have the book done and behind us before I go into the hospital.

We’re holding up well, I think. It’s a frightening thing to learn you have cancer, that there is this literally malignant thing growing inside you. It’s scary for me and scary for Dori, who has been wonderfully supportive. Our family and friends have likewise been completely forthcoming with love and support. I’m going public with this because I could imagine Dori tweeting something like “Arrived at the hospital for Tom’s surgery” and taking all of our friends and colleagues who follow us on Twitter and Facebook by surprise. We don’t want that. Better to let people know what’s going on now.