Alexander The Great

February 23, 2009

You Forgot Poland

Filed under: Humor — alexanderthegreatest @ 10:01 pm

Another somewhat abstract gem from Cyanide and Happiness.

February 12, 2009

Darwin Day

Filed under: Evolution — alexanderthegreatest @ 8:51 pm

On the 200th birthday of Charles Darwin, it’s interesting to note that so many historic figures are given their own holiday, it’s impossible to keep them straight.  Presidents’ Day is the canonical example.  Yet Darwin, certainly the most important scientist to emerge from the UK (yes, including Newton) and perhaps the man who had the greatest idea in all of history, has no holiday in his honor.  It’s ironic.

February 10, 2009

Human Language vs SQL Computation

Filed under: Science — alexanderthegreatest @ 11:26 pm
Tags: , , , ,

SQL Server offers a number of ways to get at your data. You don’t explicitly choose – it has options, and it picks the most applicable data access method for a query and the structure of the data. I think our state of the art knowledge of cognitive science doesn’t understand the specifics, and I was thinking about how this works as an analogy.

  1. Table scan – An entire table is read from disc, slow by slow, and evaluated against the query request. Ignoring the downsides, this is the most broadly applicable method in the toolkit. Any query could be satisfied with table scans.
  2. Index scan – Generally a range scan. In a customers table, this would apply to a query for all customers whose last name begins with a C. An index is a b-tree, so the server will traverse it, reading only the necessary parts, get the locations for the physical data rows, and read them, and only them, from disc. Obviously this is preferable, but not always possible.
  3. Index seek – Usually a single, particular row is demanded, and it’s the only row pulled off the disc. When this happens against a clustered index, you the best performance possible.

It’ll use a mix; if you ask for two predicates (state == ‘ca’ && last_name == ‘kaku‘) with an and, it will perform the most limiting first, then verify only that set against the most permissive. That’s the most economical solution available.

The English language doesn’t have a word for schadenfreude. Usually when somebody says language X doesn’t have a word for Y, you won’t normally lose money betting against them.  The implication is that people who use that language don’t understand the concept being that word, as if Americans couldn’t comprehend the sister of your girlfriend. But what if I said English doesn’t have a word for the sister of your father? You would say “That sounds like your aunt.” And you’d have the answer pretty quickly – obviously you’re “hitting an index” and only even considering a fraction of the words available that might mean that.

Could you do something like a table scan of/in the mind, if you wanted to? Say you want to list all the words you know, or even the names of all the people you know? I don’t think that’s possible. It’s not because we forget – this stuff comes back instantly, in context.  It just doesn’t seem to be organized to be available out of context.

February 3, 2009

Quick Stimulus Package Question

Filed under: Uncategorized — alexanderthegreatest @ 9:01 pm
Tags: , ,

How is it that a few months ago, any fewer that $700 billion was just too little, for a bailout, but today, $800 billion is too much?

For his part, Obama gave us an itemized list for how he intends to use the money. Paulson derived his figure with chicken’s blood and some eye of newt.

Create a free website or blog at