# Thursday 19 January 2012

Quick updates

A couple of things have happened on two issues I mentioned earlier this week:

That is all for now. We in Chicago are bracing for 15 cm of snow tomorrow, so there may be Parker videos soon.

Oh, and: Kodak actually did file for bankruptcy protection today.

David Braverman, Thursday 19 January 2012 13:57:22 CST (UTC-06:00)
#    Comments [0] | Trackback
Blog reactions
# Thursday 24 November 2011

Local time zone displays

The new feature I mentioned this morning is done. Now, in addition to the "where was this posted" button on the footer, you will notice the entry's time zone. Each entry can have its own time zone—in addition to the site-wide default.

I still have to fix a couple of things related to this change, like the fact that the date headers ("Thursday 24 November 2011," just above this entry) are on UTC rather than local time. But going forward (and going backward if I ever get supremely bored), you can now see the local time wherever I was when I posted.

Incidentally, if you want to bring the tzinfo database to your .NET application, I have licensing terms.

David Braverman, Thursday 24 November 2011 14:22:50 CST (UTC-06:00)
#    Comments [0] | Trackback
Blog reactions
# Friday 11 November 2011

Another anniversary

My weather demo, Weather Now, is 13 years old today. I launched it as an ASP 2.0 application on 11 November 1998.

The Wayback Machine first crawled the site about a year later, on 20 September 2000. Check out the site's evolution; it's trippy.

David Braverman, Friday 11 November 2011 15:42:35 CST (UTC-06:00)
#    Comments [0] | Trackback
Blog reactions
# Monday 17 October 2011

Simplified explanation of tzinfo mess

The AP has picked up the story about the tzinfo database moving to ICANN:

The organization in charge of the Internet's address system is taking over a database widely used by computers and websites to keep track of time zones around the world.

The transition to the Internet Corporation for Assigned Names and Numbers, or ICANN, comes a week after the database was abruptly removed from a U.S. government server because of a federal lawsuit claiming copyright infringement.

Without this database and others like it, computers would display Greenwich Mean Time, or the time in London when it isn't on summer time. People would have to manually calculate local time when they schedule meetings or book flights.

Ah, I do love the popular press, trying to explain things. AP writer Anick Jesdanun generally did all right explaining the problem and the move, except the story has no information about the tzinfo community's response to the mess. (I'm just sad they didn't mention The Daily Parker.)

David Braverman, Monday 17 October 2011 10:51:30 CDT (UTC-05:00)
#    Comments [0] | Trackback
Blog reactions
# Friday 16 September 2011

About this blog (v. 4.1.6)

ParkerI'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.

David Braverman, Friday 16 September 2011 18:36:32 CDT (UTC-05:00)
#    Comments [0] | Trackback
Blog reactions
# Monday 12 September 2011

Great moments in personal computing

On this day in 1986, I got my first PC: an original, 1982-vintage IBM PC, with a 1 MHz 8088 processor, 256 kB of RAM, twin 360 kB drives, a 30 cm 80 x 25 character green monochrome monitor, and a steel clickety-clackety keyboard.

The laptop I'm writing this on, 25 years later, has a 3 GHz Intel Core 2 processor, 4 GB of RAM, an internal solid-state 250 GB drive, a 36 cm 1280 x 800 pixel monitor with 16 million colors, and a silent keyboard. And this laptop cost less than half what the PC cost in nominal terms, which makes it about one-sixth the cost in real terms.

Twenty five years of computing, and I still don't have a fast-enough computer.

David Braverman, Monday 12 September 2011 14:13:42 CDT (UTC-05:00)
#    Comments [1] | Trackback
Blog reactions
# Wednesday 20 July 2011

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.
    }
}
David Braverman, Wednesday 20 July 2011 12:17:05 CDT (UTC-05:00)
#    Comments [0] | Trackback
Blog reactions
# Wednesday 15 June 2011

Small classes (geeky)

Andrew Binstock, editor of Dr. Dobb's, has a pair of editorials in praise of and instruction to create small classes:

High levels of complexity, generally measured with the suboptimal cyclomatic complexity measure (CCR), is what the agile folks correctly term a "code smell." Intricate code doesn't smell right. According to numerous studies, it generally contains a higher number of defects and it's hard — sometimes impossible — to maintain. ...

My question, though, is how to avoid creating complexity in the first place? This topic too has been richly mined by agile trainers, who offer the same basic advice: Follow the Open-Closed principle, obey the Hollywood principle, use the full panoply of design patterns, and so on. All of this is good advice; but ultimately, it doesn't cut it. ...

...[Y]ou need another measure, one which I've found to be extraordinarily effective in reducing initial complexity and greatly expanding testability: class size. Small classes are much easier to understand and to test.

In Part 2, in which Binstock responded to people who had written him about the first editorial:

Coding classes as diminutive as 60 lines struck other correspondents as simply too much of a constraint and not worth the effort.

But it's precisely the discipline that this number of lines imposes that creates the very clarity that's so desirable in the resulting code. The belief expressed in other letters that this discipline could not be consistently maintained suggests that the standard techniques for keeping classes small are not as widely known as I would have expected.

Both editorials make excellent points. Every developer should read them.

David Braverman, Wednesday 15 June 2011 15:10:42 CDT (UTC-05:00)
#    Comments [0] | Trackback
Blog reactions
# Thursday 5 May 2011

Senior Software...Gardener?

Apparently "gardener" makes more sense than "engineer:"

So why do so many gardens fail, yet so many skyscrapers succeed? With a few exceptions, the technique for building a skyscraper is similar whether you are in Europe or you are in Singapore. Gardens do not work that way. Every garden is different because the environment it is in is different. Even gardens that are within throwing distance of each other can have wildly different soil. That is why the lowest bidder can probably build the same bridge as the highest bidder, but your company can’t grow the calibre of gardens that Google can grow.

Remember that time when someone in your company unsuccessfully used an Agile gardening methodology, and then went around saying that it was horse shit that doesn’t work? Well horse shit does grow gardens, it just wasn’t enough to save your garden. Your garden was probably dead before it started – a victim of the climate of your organisation. Were you trying to grow a rainforest in the desert? You can’t just plant the same plants as Facebook, Flickr or Twitter and expect them to take root regardless of the quality of your gardeners or the climate of your organisation.

(Hat tip MVT.)

David Braverman, Thursday 5 May 2011 15:12:39 CDT (UTC-05:00)
#    Comments [0] | Trackback
Blog reactions
# Friday 17 December 2010

Telecommuting FAIL

(Hat tip: The Daily WTF.)

David Braverman, Friday 17 December 2010 08:37:19 CST (UTC-06:00)
#    Comments [0] | Trackback
Blog reactions
# Saturday 23 October 2010

On to plan B

One of the benefits Avanade provides is a fairly generous "technology" budget. I'm given cash, every year, to buy things that either demonstrate my (read: Avanade's) love of technology, or give me better work-life balance.

This week I bought a 240 GB solid-state drive for my work laptop to replace the 256 GB drive it came with. So, I backed up the entire drive using Windows 7 System Image, swapped the drives out, and...crap.

Did anyone else notice that 240 < 256? Yeah. Also, the bigger drive was bit-lockered.

So, yeah, I can't restore the image. I am now copying all the data I'll need and, in fits and starts this weekend, I'll be rebuilding the laptop from scratch.

Phooey.

David Braverman, Saturday 23 October 2010 13:05:11 CDT (UTC-05:00)
#    Comments [0] | Trackback
Blog reactions
# Friday 1 January 2010

Ten years ago today...

...nothing happened. And I spent all night in a data facility in New York watching nothing happen. Fun times, fun times.

David Braverman, Friday 1 January 2010 14:05:04 EST (UTC-05:00)
#    Comments [0] | Trackback
Blog reactions

Happy new year!

Happy 22!

That's a little geek humor. See, 01/01/10 is 22. Get it?

You know, like, "There are 10 types of people in the world: those who understand binary, and those who don't"?

Right. Starting off the year well, I can see....

David Braverman, Friday 1 January 2010 11:09:08 EST (UTC-05:00)
#    Comments [0] | Trackback
Blog reactions
# Saturday 10 October 2009

Good thing I'm a Cubs fan

This may actually be funny.

My CCMBA class includes students from 30 countries, in every part of the world. Consequently, Duke has created a Flash-based Web portal, through which we take exams, submit assignments, attend classes, and keep in touch. The thing has worked more or less as advertised since we arrived in London two months ago.

By tomorrow at 23:59 EDT, we must hand in our Accounting and Management exams. We have 24 hours from download to complete the former, and 90 minutes to complete the latter.

Can you see where this is going? Of course you can:

See, as a Cubs fan, this doesn't bother me so much. There's always next year.

Update: Tech support just emailed me back. Apparently they had a hardware failure in one of the server rooms, and the infrastructure guys are on it.

Update, 13:30 CDT: The platform is back up. Here we go...let the exams begin.

Update, 13:35 CDT: They did a fu@!ing upgrade! During exams! Unbefu&@ingleivable.

Final update, 13:55 CDT: OK, it looks like they did a rollback to a known-working version of the platform, not a upgrade. That makes a lot more sense. I will just assume that, because it's exam week and I've had a little more caffeine today than usual, I might have some extra nervous energy that caused me to jump to hasty conclusions. I will now walk the dog, take some deep breaths, and start the first exam.

David Braverman, Saturday 10 October 2009 13:00:10 CDT (UTC-05:00)
#    Comments [0] | Trackback
Blog reactions
# Tuesday 4 August 2009

Hunting wabbits

(By way of explanation why I'm being wery wery qwiet today.)

Actually, I'm hunting financial accounting (Duke) and bugs (client). Like this one, which shows one of the perils of refactoring. See if you can spot my stupidity (after the jump).

David Braverman, Tuesday 4 August 2009 13:32:21 CDT (UTC-05:00)
#    Comments [0] | Trackback
Blog reactions
# Wednesday 10 June 2009

Baffling usability

The following photo shows a programmer, a usability expert, and an IT manager struggling to figure out how to add players to a bowling game using AMF's scoring software. I don't even remember the sequence we had to go through, but I do remember thinking (a) on average, we were sober; and (b) software that makes something so simple take so long should be punishable...in some appropriate way.

On the other hand, one doesn't go to a bowling alley because of the software they use. On the first hand, however, bad software makes everything less fun.

David Braverman, Wednesday 10 June 2009 18:11:48 CDT (UTC-05:00)
#    Comments [0] | Trackback
Blog reactions
# Saturday 2 May 2009

Oy, mein altekaker Kindle!

Via Sullivan, I suddenly feel very old:

We extracted about 75 percent of the responses on age (representing about 700 responses, taking equally from the earliest and most recent postings, which show very similar age distributions). Per John Makinson's quip at an LBF panel, over half of reporting Kindle owners are 50 or older, and 70 percent are 40 or older.

So many users said they like Kindle because they suffer from some form of arthritis that multiple posters indicate that they do or do not have arthritis as a matter of course. A variety of other impairments, from weakening eyes and carpal-tunnel-like syndromes to more exotic disabilities dominate the purchase rationales of these posters.

Wait! I'm not 40 yet! And I see just fine, with a little help.

This, on the day that I took a final exam in a class (Introduction to Microeconomics) in which every other student was younger than half my age. Yes, there were about 50 of us in there, and the day the Berlin Wall fell down I was older than they are now.

Sigh.

David Braverman, Saturday 2 May 2009 16:23:14 CDT (UTC-05:00)
#    Comments [0] | Trackback
Blog reactions

What to do, what to do

I had thought about writing a long entry on another technical aspect of the new version of Weather Now, but for the first time in weeks it's sunny and 20°C, and I just finished a final exam in economics. So, off to the dog park.

All y'all waiting for the lengthy technical stuff will just have to wait until it rains again.

Update: In the meantime, why not scratch your head, as I did, over meat business cards? Hmmm....

David Braverman, Saturday 2 May 2009 12:44:53 CDT (UTC-05:00)
#    Comments [0] | Trackback
Blog reactions
# Tuesday 28 April 2009

Welcome home from your RSS reader

Arriving home this evening, after three days in San Francisco and frequent email checking while there, Outlook presented me with 295 unread messages (not counting the hundreds of messages in my spam filter). Of these, almost all were on my RSS reader—75 Facebook status updates, 50 posts from Andrew Sullivan, etc., etc.

It's amazing how much better you can feel after hitting <Ctrl>+A, right-click, "Mark As Read". Problem: solved.

Still, I hate feeling like I missed something....

David Braverman, Monday 27 April 2009 22:19:07 CDT (UTC-05:00)
#    Comments [0] | Trackback
Blog reactions
# Friday 20 March 2009

Spring into the Weather Now beta

The vernal equinox happened about two hours ago. Typical of this time of year, though, it's below freezing this morning in Chicago. Nature nerd Naomi has more from the wilds of northern Lake County.

Of interest to possibly no one, for the last two years I've worked on the innards of my flagship demo project, Weather Now. I'm now putting together a new user interface for it. The new version 3.5 UI, which you can see at http://beta35.wx-now.com/, looks a lot like the old one—for now.

So what's new? I've rewritten from scratch the core framework, geography and weather code, and the basic UI framework. The beta (version 3.5) looks nearly identical to the current (version 3.1) application, except that the trained eye will notice new features where the ground-up re-write peeks out.

Sometime before the end of July, I hope to finish the next version (4.0), which will have an entirely different database structure. (Version 3.5 uses the same database as the current version through a façade.)

Exciting? Probably not. But it's how I keep my saw sharp.

David Braverman, Friday 20 March 2009 08:52:54 CDT (UTC-05:00)
#    Comments [0] | Trackback
Blog reactions
# Wednesday 18 March 2009

About this blog

ParkerI'm David Braverman, this is my blog, and Parker is my 3-year-old mutt. I last updated this About... page two years ago, so I thought it's time for a quick review.

David Braverman, Wednesday 18 March 2009 10:41:59 CDT (UTC-05:00)
#    Comments [2] | Trackback
Blog reactions
# Monday 16 March 2009

More on the Kindle

Usability expert Jakob Nielsen takes a look at Kindle 2 usability in his column today:

[T]he device is best for reading long linear material, such as novels and some non-fiction. Kindle's best user interface feature is turning the page; the reading experience you design should require no other interactions.

Writing linear books simply requires a skill that all good authors already possess: the ability to keep readers immersed in the plot.

Kindle also works well for the long, narrative articles common in certain literary magazines and Sunday newspaper supplements. No surprise that The New Yorker is currently the best-selling magazine for the device.

... [But] it's awkward to interact with the device through its 5-way controller. Also, after every selection, you're doomed to wait for a sluggish response. And, once you finally get something, you get very little because of the small screen. Setting aside the header and footer areas, Kindle 2's content area is 525x650 pixels, or 341 kilo-pixels. In contrast, a mid-sized PC screen is 1280x1024, offering 999 KP of content, or the equivalent of three Kindles.

Given these constraints, navigating non-linear content on Kindle feels much like navigating websites on a mobile phone. Kindle content designers should therefore follow mobile usability guidelines for many user interface issues, including the presentation of article pages.

David Braverman, Monday 16 March 2009 09:26:59 CDT (UTC-05:00)
#    Comments [0] | Trackback
Blog reactions
# Friday 6 February 2009

Two on technology

The first, from the Poynter Institute, concerns how Michigan Governor Jennifer Granholm's staff made Twitter into journalism:

I tuned in an Internet broadcast of ... Granholm's annual state of the state speech because it was expected to be laden with energy and environment issues. On impulse I logged into Twitter and asked my followers if there had been a hashtag established for the speech. There was: MiSOTS (Mich. State of the State).

To my amazement, the hashtag had been established by the governor's staff—who were tweeting major points of Granholm's speech as she made them.

Meanwhile, many, many, many other people used this hashtag to challenge points, support points, do some partisan sniping, question assumptions, add perspective, speculate about what was going on, and provide links to supporting information—including a transcript of the speech and the opposite (Republican) party's response.

(Emphasis in original.)

The second, Mark Morford musing about technology in general:

To paraphrase a renowned philosopher, we just keep making the pie higher. This is the nature of us. It is, in turns, both wonderful and terrifying.

It seems there are only two real options, two end results of our civilization's grand experiment. Either the stack becomes so high -- with our sense of wonder and integrity rising right along with it -- that it finally lifts us off the ground and transports us to some new realm of understanding and evolution, or it ultimately topples over, crashes and mauls everything that came before, because we just didn't care enough to stop and smell the astonishment.

You have but to remember: How many ancient, advanced civilizations have collapsed under the weight of their own unchecked growth, their own technological advances, their own inability to stay nimble and attuned to the crushing marvel of it all? Answer: all of them.

Both are worth reading in full.

David Braverman, Friday 6 February 2009 08:49:11 CST (UTC-06:00)
#    Comments [0] | Trackback
Blog reactions
# Wednesday 14 January 2009

Annoying software design (professional edition)

Developers generally don't like third-party UI controls because they're generally frustrating to use. Case in point: in the Infragistics Windows Forms controls package, the UltraGridColumn has sucked a substantial portion of my day away.

If you don't write software, you still appreciate it when it works simply and intuitively. You want to search for something, you go to Google and type in a search term. Brilliant. When you go to some company's website because you want to call the company, you look for something called "contact us" and click it. If you don't get the address and phone number of the company after clicking that link, you get irritated: the simple, intuitive thing didn't work. Jakob Nielsen is all over that stuff.

So. I have a simple problem, which is how to make a column in a grid grey out so my users don't inadvertently edit something they shouldn't. What I expect to write is something like this—or I would, if the member existed:

theReadOnlyColumn.Enabled = false;

Sadly, there is no "Enabled" member. So how about using a member that actually does exist?

theReadOnlyColumn.IsReadOnly = true;

Interesting. That member doesn't allow you to change its value. In fairness, the particle "Is" suggested it was a read-only member (ironic, that), but still, it looked like the right thing to do.

But no, here's the intuitive, simple, gosh-how-didn't-I-see-that-right-away thing to do:

theReadOnlyColumn.CellActivation = Activation.Disabled;

<rant>

This sort of thing happens when developers create software based on how it works, rather than what it does. It's sloppy, it reflects an inability to think like the person using the product, and it's compounded by a criminal lack of clear "how-to" documentation. (The Infragistics documentation site appears to have no way to search for concepts, requiring you to figure out how Infragistics developers organize things on your own.) This really, really annoys me, and is why I avoid using their products.

</rant>

David Braverman, Wednesday 14 January 2009 11:48:13 CST (UTC-06:00)
#    Comments [2] | Trackback
Blog reactions
# Sunday 4 January 2009

Unbelievable cold in Alaska

The weather has cooled off a bit in the interior of Alaska:

Friday marked day six of the worst cold snap to hit Fairbanks in several years and there is no relief in sight for residents who live in Alaska’s second-largest city — or the business owners they call to bail them out when their cars, pipes and septic tanks freeze.

The temperature in North Pole dipped to 55 degrees below zero on Wednesday night, the lowest temperature recorded in the greater Fairbanks area during what has been six days of severe cold. It was “only” 46 below at 4 p.m. Friday in North Pole, but the temperature was “dropping by the hour,” meteorologist Austin Cross at the National Weather Service in Fairbanks said.

Friday marked the fifth day in the last six the temperature at Fairbanks International Airport hit 40 below or colder; it was only 38 below at the airport on New Year’s Day.

Forecasters expect temperatures in Fairbanks this weekend will likely touch 50 below and there is no indication the cold wave will dissipate anytime soon.

Since I don't read Alaskan newspapers often, and I'm used to seeing cold Alaskan temperatures on the Weather Now extremes page, I actually first heard this when ten people emailed me to complain about a bug in Weather Now. It turns out, the news story above linked to Weather Now and drove 2,400 unique visitors to the site in six hours.

I should know better. Fortunately my servers easily handle 10,000 page views per hour, but still, seeing a traffic spike like that caught me a little off-guard.

David Braverman, Saturday 3 January 2009 20:19:12 CST (UTC-06:00)
#    Comments [0] | Trackback
Blog reactions
# Wednesday 17 December 2008

Turning Japanese

I've given up for the evening attempting to configure a recalcitrant firewall. To cheer up, I turn to Paul Krugman, who reminds us that a 0% Fed rate means we're in trouble:

ZIRP!

That's zero interest rate policy. And it has arrived. America has turned Japanese.

This is the thing I’ve been afraid of ever since I realized that Japan really was in the dreaded, possibly mythical liquidity trap. ...

Seriously, we are in very deep trouble. Getting out of this will require a lot of creativity, and maybe some luck too.

At least I think I've figured out where I mis-configured the firewall....

David Braverman, Tuesday 16 December 2008 23:08:26 CST (UTC-06:00)
#    Comments [0] | Trackback
Blog reactions
# Thursday 27 November 2008

LINQ to FogBugz fun

Most Daily Parker readers can skip this (long) post about software. But if you're interested in C# 3.0, LINQ, or FogBugz, read on.

David Braverman, Thursday 27 November 2008 10:21:00 CST (UTC-06:00)
#    Comments [0] | Trackback
Blog reactions
# Tuesday 9 September 2008

Down the memory hole

Every so often, one must wipe and reinstall his main computer. This is not fun. Even Parker finds it boring, and he sleeps all day.

Still, my main box (a Dell D620) now runs so much faster it's making me cry. So, several hours of boring work will save me several dozen hours waiting for the damn computer.

David Braverman, Tuesday 9 September 2008 16:08:57 CDT (UTC-05:00)
#    Comments [0] | Trackback
Blog reactions
# Wednesday 9 July 2008

How the Web Was Won

Via my dad, Vanity Fair has a long article this month about the history of the Internet. It's worth a read.

David Braverman, Wednesday 9 July 2008 12:09:20 CDT (UTC-05:00)
#    Comments [0] | Trackback
Blog reactions
# Friday 6 April 2007

Microsoft Visual Studio bug

I'm living a geek dream: I've found a confirmed bug in Microsoft Visual Studio 2005.

I've detailed my findings over at the Inner Drive Software blog.

David Braverman, Friday 6 April 2007 09:25:19 CDT (UTC-05:00)
#    Comments [0] | Trackback
Blog reactions
# Saturday 31 March 2007

Heading home

Ah, family. I'm glad I got a chance to unwind with the Ps after my conference. But I do miss my dog.

Tomorrow: or, rather, tonight after 7pm CDT: check out Weather Now for, well, something appropriate to the season.

David Braverman, Saturday 31 March 2007 14:55:38 CDT (UTC-05:00)
#    Comments [1] | Trackback
Blog reactions
# Tuesday 20 February 2007

About this Blog

I'm David Braverman, this is my blog, and Parker is my 8-month-old mutt.
David Braverman, Tuesday 20 February 2007 09:23:06 CST (UTC-06:00)
#    Comments [1] | Trackback
Blog reactions
# Monday 1 January 2007

Happy New Year!

Weather Now is all new.

We're ecstatic to roll out a completely new visual design by Katie Zoellner. It's actually been lurking as a Beta site for several months. We didn't roll it out because not all of the features from our old site (see http://old.wx-now.com/) are complete. But today is the first day of a new year, which we thought an appropriate moment to finally give Katie's design some exposure.

David Braverman, Sunday 31 December 2006 18:26:57 CST (UTC-06:00)
#    Comments [0] | Trackback
Blog reactions
# Monday 18 December 2006

User interfaces in film

Usability guru Jakob Nielsen takes on the remarkable UIs that appear in film:

Break into a company—possibly in a foreign country or on an alien planet—and step up to the computer. How long does it take you to figure out the UI and use the new applications for the first time? Less than a minute if you're a movie star.
...
Countless scenes involve unauthorized access to some system. Invariably, several passwords are tried, resulting in a giant "Access Denied" dialog box. Finally, a few seconds before disaster strikes, the hero enters the correct password and is greeted by an equally huge "Access Granted" dialog box.

At least we no longer have large bipedal robots shouting "Danger! Danger!"

David Braverman, Monday 18 December 2006 10:21:35 CST (UTC-06:00)
#    Comments [1] | Trackback
Blog reactions
# Saturday 25 November 2006

How difficult is an "off" button?

A member of the Windows Vista team explains (via Joel Spolsky):

I worked on the "Windows Mobile PC User Experience" team. This team was part of Longhorn from a feature standpoint but was organizationally part of the Tablet PC group. To find a common manager to other people I needed to work with required walking 6 or 7 steps up the org chart from me.

So after 12 years, you still have to go to the Start menu to stop the computer.

David Braverman, Saturday 25 November 2006 07:21:22 CST (UTC-06:00)
#    Comments [0] | Trackback
Blog reactions
# Sunday 24 September 2006

Something has changed

I'm David Braverman, and this is my blog.

This blog has actually been around for nearly a year, giving me time to figure out what I wanted to do with it. Initially, I called it "The WASP Blog," the acronym meaning "Weather, Anne, Software, and Politics." It turns out that I have more than four interests, and I post to the blog a lot, so those four categories got kind of large.

David Braverman, Sunday 24 September 2006 13:37:44 CDT (UTC-05:00)
#    Comments [2] | Trackback
Blog reactions
# Monday 18 September 2006

Accurate title; couldn't put it down

Over the weekend I devoured the aptly-named The Best Software Writing edited by Joe Spolsky. I strongly recommend it to anyone interested in software.
David Braverman, Monday 18 September 2006 08:39:06 CDT (UTC-05:00)
#    Comments [0] | Trackback
Blog reactions
# Saturday 9 September 2006

Missed an anniversary

Yesterday was the 40th anniversary of Star Trek's debut. Live long and prosper, indeed.

David Braverman, Saturday 9 September 2006 08:44:57 CDT (UTC-05:00)
#    Comments [0] | Trackback
Blog reactions
# Friday 8 September 2006

Why servers sometimes crash

I just found out about a server crash at a friend's old company. It seems one of the staff members sent a 2.7 MB graphical file (wrapped in a PDF, wrapped in a MIME email) to 900 people. For some reason, that crashed the Exchange server creating 8.5 GB of transaction logs in just under 20 hours, which overflowed the system drive, which caused the entire server to collapse. At last report, a consultant had cleaned out the transaction logs and most of the message queues, but Exchange was still re-trying some of the addresses.

This problem was, therefore, between chair and keyboard. Whose chair and whose keyboard is difficult to tell.

David Braverman, Friday 8 September 2006 18:04:41 CDT (UTC-05:00)
#    Comments [0] | Trackback
Blog reactions
# Tuesday 29 August 2006

Two quick hits

First, I just put a major project to bed. It was my first time out doing litigation support, meaning I wrote software to crunch a whole bunch (= about a billion) of numbers for a law firm who represent a large (= about 350,000) class of plaintiffs. They got the results just now, so unless the defendant chooses not to settle and I get subpoenaed, I believe I'm done.

Second, at least one petty little man on the South Shore Line apparently doesn't "get" the whole idea of bikes on a train:

A day trip to South Bend ended up costing a Lincoln Park man $150 in cab fare after a South Shore Line crew member told him he would have to get his bicycle off the train.
What startled Alan Forester, 34, was that he had taken the South Shore Line to South Bend earlier in the day Sunday and no one said anything to him about his bike. Even more puzzling, he said he had followed the bicycle policy that he read on the railroad's Web site.

I had a similar problem about two years ago, when, after bonking on a very long ride, I attempted to board a Union Pacific North Line train at Highland Park, and got turned away by a conductor who thought my bungee cord was too short. (I think I may have told him at least I had a bungee cord, but we won't go there right now.)

The CTA largely gets it right. All CTA buses have bike racks. This means people can get out of their cars and save the environment by biking without worrying they'll be stranded because of weather or traffic. Why is Metra so opposed to the idea?

David Braverman, Tuesday 29 August 2006 12:38:28 CDT (UTC-05:00)
#    Comments [0] | Trackback
Blog reactions
# Thursday 24 August 2006

Best laid plans

I was going to have action shots of my new bike this morning, but I decided to take the bus to my office instead of riding for some reason.
David Braverman, Thursday 24 August 2006 08:03:40 CDT (UTC-05:00)
#    Comments [0] | Trackback
Blog reactions
# Wednesday 23 August 2006

What a dumbass

I picked up my new bike yesterday. But that's not the subject of this post. No, the unfortunate real subject of this post is, "I am stupid."
David Braverman, Wednesday 23 August 2006 09:36:24 CDT (UTC-05:00)
#    Comments [0] | Trackback
Blog reactions
# Friday 18 August 2006

Judge takes away our DVR

A Federal judge has ordered Dish Network to disable almost all of its customers' digital video recorders after parent company EchoStar Communications lost a patent-infringement suit brought by TiVo:

Thursday's ruling from U.S. District Judge David Folsom in Marshall, Texas, demands that within 30 days, EchoStar must basically render useless all but 192,708 of the DVR units it has deployed.
The decision comes four months after a jury ruled that EchoStar should pay TiVo $73.9 million because it willfully infringed TiVo patents that allow the digital storage of TV programming.

Crap. This could be inconvenient. All those Lost episodes we've saved could be...um...yeah.

Update, 3:43 pm CDT (20:43 UTC): The Federal Circuit Court of Appeals in Washington has granted a temporary stay of injunction to give Dish Networks time to work something out with TiVo. (I couldn't find the actual order online.) So we get to keep our DVR for the time being.

David Braverman, Friday 18 August 2006 10:26:49 CDT (UTC-05:00)
#    Comments [0] | Trackback
Blog reactions

Inner Drive will be happy to help

The FBI spent $170 million on broken software, which it has since scrapped. Now it's planning to spend $450 million on, one hopes, working software:

Because of an open-ended contract with few safeguards, [San Diego-based Science Applications International Corp.] reaped more than $100 million as the project became bigger and more complicated, even though its software never worked properly. The company continued to meet the bureau's requests, accepting payments despite clear signs that the FBI's approach to the project was badly flawed, according to people who were involved in the project or later reviewed it for the government.
David Kay, a former SAIC senior vice president who did not work on the program but closely watched its development, said the company knew the FBI's plans were going awry but did not insist on changes because the bureau continued to pay the bills as the work piled up.
Along the way, the FBI made a fateful choice: It wanted SAIC to build the new software system from scratch rather than modifying commercially available, off-the-shelf software. Later, the company would say the FBI made that decision independently; FBI officials countered that SAIC pushed them into it.

Upton Sinclair's wisdom notwithstanding, consultants have an obligation to inform clients about problems before they become too large to solve. Consultants also have an obligation to make appropriate build-or-buy recommendations to clients; in this case, if SAIC made such recommendations, there doesn't seem to be any evidence.

On the other hand, the Post article suggests the FBI had almost no clue what they were doing, bolstering SAIC's claims that they told them so.

Still, even assuming the best possible facts in SAIC's favor, they should have done the right thing, whatever that "right thing" was at any point in the relationship. Like, for example, testing the software, even if the FBI didn't think testing was important.

When a project like that blows up, everyone looks bad. Sometimes the consultant just has to walk away before that happens.

David Braverman, Friday 18 August 2006 10:00:28 CDT (UTC-05:00)
#    Comments [0] | Trackback
Blog reactions
# Tuesday 15 August 2006

Blog spam

I wonder what spammers are actually thinking almost as much as I wonder why they bother me.

I've had a blog-spam problem for about three weeks now targeting my referral logs. Spammers with robots use robots that act like people browsing the blog, but they appear to come from gambling sites so that the site URLs show up in the system logs. Some blogs' referral logs are searched by Google and other sites, so the theory here is that the referral spam will generate a lot of inbound links into their sites driving up their search rankings. Sadly for all concerned, this doesn't actually happen; Google is too smart.

Then there's comment spam, like this thoughtful thing I got from a vistor in India this morning:

Remember to let her into your bedbug, then you can start to make it partial.
I don't care about Christopher Fargis, he is vivid, pubescent, and anatomic and I am not going to refracture about it. Dyno-blast Jason Chan hunch our lettering. Our hydraulic corer guard a specious otherness Sammy Schenker is a scornful chelicera? Then Mazen Nesheiwat skyjacks a blurriest nunnery. We will commend on the glitter; we will generalize on the commissure; we will never flick.
My to go cardiograph overconcentrates in the hole. Harmonic Airy Phanhyaseng lip the ambidexter. Therefore unless Gerald Cheatham solemnify Minh Nguyen, she westernize my fattiness but disvalue him

The trick here is that someone is monitoring the spammer's email address, and the subject of the spam comment suggests that anyone emailing the spammer will get information about a gambling site.

Some actual person had to enter the comment, though. The IP address of the comment shows that actual person to be in India, where I can only assume he or she was paid a few cents to copy the nonsense into the comment and submit it to the blog.

It's sad, really. But, in an absurd way, interesting poetry.

David Braverman, Tuesday 15 August 2006 06:32:49 CDT (UTC-05:00)
#    Comments [2] | Trackback
Blog reactions
# Monday 14 August 2006

Do walk buttons work?

Chicago Tribune transportation reporter Jon Hilkevich channels Cecil Adams:

The actual answer is fuzzy, depending on the location, the time of day, vehicle traffic volumes, when the walk button is activated—and luck too.
Many pedestrians refuse to press walk buttons due to suspicions they are a trick or a placebo concocted by the traffic gods to keep walkers calm while breathing fumes from tailpipes as they wait for green lights at busy street corners.
Steve Travia, IDOT's bureau chief of traffic for the Chicago area[, says:] "The bottom line is that if you don't push the walk button, the walk signal may never come up."

Of course, if you're in New York, don't bother, because 80% of their "walk" buttons are disconnected.

David Braverman, Monday 14 August 2006 08:03:57 CDT (UTC-05:00)
#    Comments [1] | Trackback
Blog reactions
# Wednesday 26 July 2006

But...but...everyone knows already

The ACLU's case over AT&T sharing its phone records with the government got dismissed:

"The court is persuaded that requiring AT&T to confirm or deny whether it has disclosed large quantities of telephone records to the federal government could give adversaries of this country valuable insight into the government's intelligence activities," U.S. District Judge Matthew F. Kennelly said.

Any adversary of this country who can't figure out what phone records went to which agency is probably too stupid to be much of a threat, in my opinion.

I was all set to rant that Kennelly was a Bush (either flavor) or Reagan appointee, but no, he's one of ours. Still, the whole thing smells bad, not least because the judicial branch really ought to stand up to the executive, since the legislative isn't.

David Braverman, Tuesday 25 July 2006 20:17:08 CDT (UTC-05:00)
#    Comments [0] | Trackback
Blog reactions
# Monday 24 July 2006

Would you like an upgrade, Mr. Bond?

I don't know whether this is funny or sad. The Italian government is using the frequent-flier records of several CIA operatives to build their prosecution:

It is unclear whether the operatives intended to take advantage of the free flights garnered at government expense—CIA personnel on such assignments are permitted to fly expensive international business class—or whether they simply were attempting to bolster their covers as private-sector executives.

So keep this in mind, all you road warriors: Someday someone may track your movements based on your quest for Executive Platinum.

David Braverman, Monday 24 July 2006 11:40:54 CDT (UTC-05:00)
#    Comments [0] | Trackback
Blog reactions