Something Completely Different… Piling On

by Michael Cain

Revisiting the topic to incorporate Pro Bono's improvements to the various bits of code found in this post. If this is the sort of competition mentioned in that post, he gets to claim the "my code is faster than your code" crown for now. It's always sort of surprising to me that pretty much every politics/culture blog I visit has its own little contingent of science/tech types. This post doesn't stand alone, it assumes you've read the previous post.

And open thread.

Read more

Something Completely Different

by Michael Cain
(submitted by request)

A recent comment thread headed off into a discussion of the attractions of games and puzzles that involve combinatorial search, like Wordle or Sudoku or Freecell. Here's an example of a combinatorial puzzle. My daughter brought this home from math class when she was in eighth grade (long ago).

On the way home from work I stopped at the corner convenience store to pick up four items. The checkout clerk did things on the register and told me "$7.11, please."
"That seems too much. How did you calculate that?" I asked.
"I multiplied the four prices together."
"Aren't you supposed to add the prices?"
"Oh, right." After a moment he said, "Still $7.11."

What were the prices of the four items?

She told me the math teacher was explaining a technique he called guess and check: guess at the answer and check to see if it's correct. She thought it was stupid and clearly expected me to think the same. She was surprised when I said, "Cool! There's a whole bunch of neat math in there!" We talked about problems where you had to choose from a set of possibilities and had to find the right combination to solve the problem. That you often needed to find a clever strategy so you could find the right combination in a reasonable amount of time. We played around with this particular problem some, but didn't guess the right answer before it got tiresome. (No one else in the class guessed the right answer either.)

Some years after that I was working at an applied research lab that did lunch-time technical talks. I was asked to do one that had some math, some entertainment value, and that most of the staff would be able to follow. My recollection of the talk about the 7-11 problem is reproduced below the fold.

Oh, and open thread, because why not?

Read more

A Hypothetical US Partition

Hi, this is lj and I’ve been quite intrigued by Michael Cain’s comments about the possible partition of the US and asked him to write a guest post. Any blame for the layout lies with me and my tenuous knowledge of CSS. Enjoy!

by Michael Cain
I was invited to write something for the front page about my view that the American West could become different enough from the rest of the country that an eventual partition is possible. Some preliminaries:

  • Yes, I know that it sounds like a lunatic fringe thing. You don’t need to harp on that.
  • When I talk about the West, I mean the 11 contiguous states from the Rockies to the Pacific. Alaska and Hawaii really are special cases.
  • I’m taking a long(ish) view: it could become a subject not treated as completely crazy in 20 years, and could happen in 30-45. If you are mapping to the Civil War, think 1830 not 1860.
  • With tongue only partially in cheek, it’s my retirement hobby. It’s at least a book-sized project. This is a really incomplete, condensed version of the arguments.
  • There are maps, lots of maps. All of them make a division between east and west that correspond roughly to the Great Plains

All that and more after the break

Read more