The Daily Parker

Politics, Weather, Photography, and the Dog

About this blog (v. 4.1.6)

I'm David Braverman, this is my blog, and Parker is my 5-year-old mutt. I last updated this About... page in February, but some things have changed. In the interest of enlightened laziness I'm starting with the most powerful keystroke combination in the universe: Ctrl-C, Ctrl-V.

Twice. Thus, the "point one" in the title.

The Daily Parker is about:

  • Parker, my dog, whom I adopted on 1 September 2006.
  • Politics. I'm a moderate-lefty by international standards, which makes me a radical left-winger in today's United States.
  • Photography. I took tens of thousands of photos as a kid, then drifted away from making art until a few months ago when I got the first digital camera I've ever had that rivals a film camera. That got me reading more, practicing more, and throwing more photos on the blog. In my initial burst of enthusiasm I posted a photo every day. I've pulled back from that a bit—it takes about 30 minutes to prep and post one of those puppies—but I'm still shooting and still learning.
  • The weather. I've operated a weather website for more than ten years. That site deals with raw data and objective observations. Many weather posts also touch politics, given the political implications of addressing climate change, though happily we no longer have to do so under a president beholden to the oil industry.
  • Chicago, the greatest city in North America, and the other ones I visit whenever I can.

I've deprecated the Software category, but only because I don't post much about it here. That said, I write a lot of software. I work for 10th Magnitude, a startup software consultancy in Chicago, I've got about 20 years experience writing the stuff, and I continue to own a micro-sized software company. (I have an online resume, if you're curious.) I see a lot of code, and since I often get called in to projects in crisis, I see a lot of bad code, some of which may appear here.

I strive to write about these and other things with fluency and concision. "Fast, good, cheap: pick two" applies to writing as much as to any other creative process (cf: software). I hope to find an appropriate balance between the three, as streams of consciousness and literacy have always struggled against each other since the first blog twenty years ago.

If you like what you see here, you'll probably also like Andrew Sullivan, James Fallows, Josh Marshall, and Bruce Schneier. Even if you don't like my politics, you probably agree that everyone ought to read Strunk and White, and you probably have an opinion about the Oxford comma—punctuation de rigeur in my opinion.

Another, non-trivial point. Facebook reads the blog's RSS feed, so many people reading this may think I'm just posting notes on Facebook. Facebook's lawyers would like you to believe this, too. Now, I've reconnected with tons of old friends and classmates through Facebook, I play Scrabble on Facebook, and I eagerly read every advertisement that appears next to its relevant content. But Facebook's terms of use assert ownership of everything that appears on their site, regardless of prior claims, which contravenes four centuries of law.

Everything that shows up on my Facebook profile gets published on The Daily Paker first, and I own the copyrights to all of it (unless otherwise disclosed). I publish the blog's text under a Creative Commons attribution-nonderivative-noncommercial license; republication is usually OK for non-commercial purposes, as long as you don't change what I write and you attribute it to me. My photos, however, are published under strict copyright, with no republication license, even if I upload them to other public websites. If you want to republish one of my photos, just let me know and we'll work something out.

Anyway, thanks for reading, and I hope you continue to enjoy The Daily Parker.

Why do restaurant websites suck?

Slate's Farhad Manjoo examines the phenomenon:

The rest of the Web long ago did away with auto-playing music, Flash buttons and menus, and elaborate intro pages, but restaurant sites seem stuck in 1999. The problem is getting worse in the age of the mobile Web—Flash doesn't work on Apple's devices, and while some of these sites do load on non-Apple smartphones, they take forever to do so, and their finicky navigation makes them impossible to use.

When you visit many terrible restaurant websites in succession, it becomes obvious that they're not bad because of neglect or lack of funds—these food purveyors appear to have spent a great deal of money and time to uglify their pages. Indeed, there seems to be an inverse relationship between a restaurant's food and its site. The swankier the place, the worse the page. Chez Panisse, Alice Waters' Berkeley temple of simple, carefully sourced local cuisine, starts with a pointless, grainy five-second clip of what looks like a scene from a Fellini movie. Alinea, the Chicago molecular gastronomy joint, presents you with a series of menu buttons that aren't labeled; you've got to mouse over each one to find out what you're about to click on.

Not all is lost. I spoke to a few restaurateurs who've created great, easy to use, elegant sites, and they all said they were motivated by one thing: They were missing out on traffic from mobile devices. The steakhouse chain Morton's, for instance, has a mobile site that uses your GPS location to get you information on the restaurant closest to you. The site loads up quickly, and lets you make a reservation in a matter of seconds. "We wanted to keep the bells and whistles at a minimum," Roger Drake, the company's head of marketing, told me.

Not only did I agree with Manjoo wholeheartedly, but I also started thinking about steak...

Stupid circuit breakers

What happens when two air conditioners together draw more than 15 amps on a 15-amp circuit? This:

(Click to see full-size.)

The graph not only shows how quickly the place warmed up when the breaker tripped Wednesday evening, but also how slowly it cooled off once I closed the breaker. The initial cliff-like dive in temperature yesterday at 5:15pm happened because after turning the AC back on, I put a box fan next to the server rack and shut down two of the servers. You can see the temperature bumped up a degree when I turned them back on around 11:15pm.

So far today the servers are staying within their safe zone, under 27.5°C. The massive thunderstorms that just pushed through, which have kept the outside temperature under 24°C so far today, has helped. Tomorrow, however, the forecast calls for 34°C again.

How long until October?

Trouble at HQ

It appears the air conditioners back at IDTWHQ have failed, while I'm 1,700 km away:

The chart starts at 7pm Chicago time Tuesday. The squiggle shows the backup air conditioner cycling on and off while it's in "energy saving" mode. That stops around 2pm yesterday, when, I imagine, the backup failed. Then, at 8:30pm last night, the main seems to have stopped.

I'll be leaving San Antonio on an earlier flight. I just hope the A/C units have simply stopped, and that they'll start again when I turn them on. Chicago's forecast calls for a high of 34°C today only going down to 24°C overnight. But without cooling, Inner Drive's poor servers may not last another two hours...

Why auto-generated file headings make you look silly

Or, how I learned to stop worrying and love the boilerplate:

/*
 * Copyright (c) 1995, 2008, Oracle and/or its affiliates. All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 *
 *   - Redistributions of source code must retain the above copyright
 *     notice, this list of conditions and the following disclaimer.
 *
 *   - Redistributions in binary form must reproduce the above copyright
 *     notice, this list of conditions and the following disclaimer in the
 *     documentation and/or other materials provided with the distribution.
 *
 *   - Neither the name of Oracle or the names of its
 *     contributors may be used to endorse or promote products derived
 *     from this software without specific prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
 * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
 * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR
 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */ 

/** 
 * The HelloWorldApp class implements an application that
 * simply prints "Hello World!" to standard output.
 */
class HelloWorldApp {
    public static void main(String[] args) {
        System.out.println("Hello World!"); // Display the string.
    }
}

Have I got a photo to sell you

Actually, I'm blegging for information. Has anyone used online photo printing services like ZenFolio, SmugMug, or Shutterfly, either as a photographer selling images or as a customer? Maybe your wedding photographer used a third-party site?

As a corollary, do you or does anyone you know buy stock photos for publication?

No, I'm not quitting my job; but with a backlog of 30,000 photos—some of them already sold as stock, some of them more than once—the wheels in my brain have started to turn. (Maybe it's the MBA.)

How Microsoft finally got SSL right (long, computer-geeky post)

Problem: I have multiple websites on a Windows 2008 server (using IIS7), and I need to enable SSL (i.e., https:// connections) on more than one of them.

Generally, secure websites get their security certificates from trusted providers. Most modern browsers verify that the third-party certificate came from the purported vendor and are attached to the purported website, and give you a nice warm feeling when your address bar turns green. (I have used Comodo most of the time, though because of some experiences helping a local small business renew their certificate recently, I might switch.)

The way SSL works, however, you don't actually need third-party verification to keep the conversation secure. Many servers issue their own SSL certificates, which secure the traffic between the browser and the server regardless of which server or who issued the certificate. In other words, a self-signed SSL certificate will keep the conversation private without guaranteeing that you are talking to the person you think you're talking to. If you can confirm the identity of the server through other means, and then trust the certificate, then you're golden.

Because only I or my subcontractors will ever need to visit these administrative sites within Inner Drive Technology's Worldwide Data Center that I want to secure, self-signed certificates are perfectly appropriate. Under previous versions of IIS, not only did this cause enormous headaches, but also IIS would only support one and only one secure site per server instance. That really sucks if you have, as Inner Drive does, about 30 sites on the same server.

IIS 7 makes this so simple I almost cried with joy.

Step one: Issue a self-signed certificate

In IIS7, go to your server node, and open up the Server Certificates feature:

In the Actions list, click on "Create Self-Signed Certificate..." to bring up the dialog box. Enter a starred domain name for the certificate:

Once you click OK, you've got a self-signed certificate that IIS can find.

Step two: Open the right dialog box

Expand the list of sites in the Connections (left) pane, and click on the site you want to assign. In the Actions (right) pane, click on "Bindings..." This brings up the Bindings dialog box. Now click Add, to bring up the Add Binding dialog box:

Step three: Click OK

Drop the Type box down to "https." Enter the specific host name for the site, and choose your starred certificate:

That's it. Seriously. And anyone who's ever dealt with this configuration crap before will understand my teary-eyed joy.

Possibly inappropriate medium

Generally, I prefer to learn new things by reading first, then doing. I mentioned Wednesday that I've grown dissatisfied with my photography skills, so naturally, I'll go first to Amazon. You know: read about a technique, try it out, post the results online, rinse and repeat.

So it seems somewhat odd to me that most of Amazon's top-rated books on photography—like this one on Photoshop—have Kindle editions that cost almost as much. Because nothing will help someone understand how to do advanced photo editing than 10 cm, 18 dpi halftones, right? Even stranger: the example I just cited has a companion DVD, which I assume does not come with the Kindle version. That, to me, puts the F in WTF.