KenKen Solver – Multiple Solutions

A reader asks if the KenKen solver we recently developed can handle puzzles with multiple solutions. It turns out to be pretty simple to modify the search-and-propagation algorithm to return all the solutions to a puzzle, instead of just one.

Continue reading

Posted in Projects, Python | Comments Off

Joe Calzaghe

Joe Calzaghe retired from boxing last month. Calzaghe was generally regarded as the top fighter active in the 168 and 175 pound divisions. Debate about his career tends to center on whether he was merely a good fighter in a weak era, a great fighter, or an all-time great. I think he was a great fighter, who could have held his own with any boxer in his weight class, from any era; he was perhaps the most skilled boxer active when he retired, handicapped only by rather fragile hands.

Continue reading

Posted in Boxing | Comments Off

Irony

According to this article in Slate, Narcissistic personality disorder (NPD) is a little-studied condition. I bet this news makes those diagnosed with NPD very, very unhappy.

Posted in Jack Handy | Comments Off

Overspecialized Constructors

I want to discuss a simple mistake which recently caused me a disproportionate amount of trouble. I believe I violated a simple rule which might be formulated as “do not create overly specialized constructors in languages which lack constructor overloading“.

Continue reading

Posted in Python, The Hard Way | Comments Off

Making People Poorer

There was an interesting story in the paper (well, technically, on the S.F. Chronicle’s website) the other day about a court order which has resulted in the suspension of operations of the “Hawaii Superferry“. I think this is interesting primarily as a micro-example of how to make people poorer.

Continue reading

Posted in Jack Handy | Comments Off

AIG Bonuses

There’s been a lot of outrage lately over some $165M in total bonus compensation that was paid out to senior people at AIG, a recipient of over $100B in federal bailout money. This is silly. Anyone who’s been around floundering companies knows there’s good money to be made when they’re about to go under the waves.

Continue reading

Posted in Jack Handy | Comments Off

Ambiguity

A friend once concisely illustrated why it’s difficult to write software that can understand human language. He cited as an example the (possibly well known) phrase “chocolate dessert cup store”. It’s a delightfully bizarre case.

Continue reading

Posted in Jack Handy | Comments Off

St. Isidore of Seville

Did you know that computer programmers have their own patron saint? (Also in his portfolio: computers, computer users, and the Internet.) For some reason, I find that particularly touching.

I also think it’s interesting to reflect that, at one time, the sum of human knowledge could be thought susceptible to summarization in a single reference work.

Posted in Jack Handy | Comments Off

Watchmen

I saw the “Watchmen” movie last night. When asked if it was good, my response was “I’m not sure I’d go so far as to call it good, but it was interesting.” Here I present some amplifications on this theme. I should mention that I never read the comic book on which it’s based.

Continue reading

Posted in Jack Handy | Comments Off

Cold Cuts

You know those suspect cold cuts in your fridge? The ones that might have been there a little too long? You should throw them out. No, you shouldn’t try eating them, even if you’re sort of hungry.

Trust me.

Posted in Jack Handy | Comments Off