Tips for successfully passing judgment on others

slaniel | Uncategorized | Friday, February 23rd, 2007

  1. Believe it possible that you can put yourself in the other’s shoes without experiencing what the other person has experienced.

  2. Steadfastly refuse to admit the areas in which you habitually make mistakes; attention must never be diverted from the mistakes that the other person has made. You must cast the first stone.

  3. Make sure to phrase all the other person’s shortcomings as fundamental flaws in that person’s character, rather than correctable mistakes. That is, judgments should always be expressed in the form “X is an asshole” rather than “X has done something assholish.”

  4. As quickly as possible, specify the ways in which you are different from the object of judgment. This is particularly important if you have transgressed in ways similar to the judgee; you must very quickly establish the moral supremacy of your transgression to the judgee’s.

  5. Never suppose that the object of your critiques is aware of your criticisms. It is most unlikely that he has ever critiqued himself.

  6. Under no circumstances can you ask the object of your critiques what he may think about them. It may turn out, if you did, that you will find that he’s already aware of them. Since that is impossible by item 5, speaking with the critiquee is unnecessary.

  7. Be sure to spread your critiques amongst others who also follow the above rules.

Those who follow these simple rules will have mastered the subtle art of judgment. We hope these rules serve you in good stead. If they do not, please adhere to rule 6 and refrain from telling us.

Supporting women, etc. for president

slaniel | Uncategorized | Thursday, February 22nd, 2007

Jack Balkin mentions a survey of voter attitudes toward potential presidential candidates. The takeaway:

This Gallup poll on who Americans would be willing to vote for as President shows that Catholics, blacks, Jews, women, and Latinos have more or less “made it” in American society to the extent that close to 90 per cent or more of the public would trust them with the Presidency. (Women and Latinos are at 88 percent and 87 percent respectively).

I suspect the poll says rather less than it purports to. It’s one thing to say you’d have no trouble voting for a black candidate. It’s altogether a different matter to actually vote for a black candidate. I suspect what this poll shows is that it is now socially unacceptable to announce distaste for black people to poll-takers, whereas it is still relatively okay to say that you’re uncomfortable with homosexuality. I’m actually inclined to believe that this is a decent survey of public perceptions of public perceptions of bigotry.

What you want to use instead of a poll, it seems to me, is some objective measure of attitudes. One such measure would be, say, black or female candidates’ probabilities of winning actual elections. Of course this is very hard, because black or female candidates may lose for lots of reasons that are unrelated to, or only indirectly related to, their gender or ethnicity. You’d somehow want to partition the final vote percentages into “percent attributable to race” and “percent not attributable to race.” (Here “race” is a shorthand for race, sex, and so forth.)

While difficult — certainly more difficult than a poll — I’d have to imagine that it’s not impossible. There are lots of elections for lots of positions around the country, from school board up to U.S. president. Each of them comes with a set of publicly available vote statistics. We know lots of things about the candidates (education, income, sexual orientation, religion, demographic resemblance to the voters whom they hope to represent, etc.) and lots of things about the voters. I predict that a number of strong trends will emerge from such a study — for instance, that voters tend to vote for people who are like them. These trends will, in all likelihood, add together to predict very closely what percentage of people vote for, say, a black candidate.

Seems to me that this would be far more valuable than merely asking people whom they would hypothetically vote for.

See below the fold for a little note about surveying on difficult questions.

(more…)

The UbuCon

slaniel | Uncategorized | Wednesday, February 21st, 2007

Google certainly does know how to flatter Linux evangelists.

Romney runs for president

slaniel | Uncategorized | Tuesday, February 20th, 2007

I would like to go on the record: Mitt Romney’s campaign will collapse and die as quickly as we’ve ever watched a presidential campaign collapse. He may win New Hampshire, if he makes it that far. Beyond that, he is toast.

You should come work at ITA Software. We have candy.

slaniel | Uncategorized | Tuesday, February 20th, 2007

I am going to get fat . . . 

A wall of dispensers

 . . . if I don’t die first of a caffeine overdose:

Dark-chocolate espresso beans, M&M's, Peanut M&M's

We’re working on the Excedrin dispenser:

Excedrin box atop a Skittles dispenser

P.S.: The M&M’s disappeared quickly, which should have been predictable. I wonder whether the company will refill them whenever they empty. There’s still a load of wasabi almonds, which are delicious. And a load of other delicious things too.

Körner, Fourier Analysis

slaniel | Uncategorized | Tuesday, February 20th, 2007

I’d like to give a very strong recommendation to a book that James Grimmelmann suggested I read on the subject of orthogonal functions. The book is T.W. Körner’s Fourier Analysis. It’s spectacular.

In my experience, the biggest failing in math textbooks is that they start too far down the stack. What one wants is a book that says, “Here’s the problem we’re trying to solve. Now, we have this pre-existing tool that seems like it might be helpful toward solving this problem, so let’s see if it helps here. The tool needs to be tweaked somewhat, so how should we tweak it? We need to know that we can use this particular technique, so we’ll need a theorem that says Here’s some intuition about how we’d prove that. All that we need now is a little bit of work to fill in the details.” Körner’s book takes exactly this approach, and it’s glorious.

Contrast this with most math books. In my experience, most start at axioms and build up, until toward the end we find the interesting theorems. I’m by no means a practicing mathematician, but my sense of the history of math is that normally solutions to problems have started in the middle: we have a problem we want to solve, so we prove some theorems that are pretty far along in the chain (not close to the axioms, that is), and over time work backwards to more-rigorously justify the theorems with more fundamental axioms. Then also move forward, and prove theorems that are generalizations of the middle-level theorems proved earlier. Certainly much math began with, say, problems in physics; Fourier series are a good example of this, having arisen in Fourier’s Théorie Analytique de la Chaleur (Analytical Theory of Heat). The theorem doesn’t start with the axioms; it starts much closer to a physical system, then works both backwards and forwards.

I’ve been searching for years for a book whose pedagogy matches the history of the subject. I’ve wanted this not only because I have a taste for the history of math, but because I believe there’s something natural and easy about teaching a subject the way that society developed it. The same approach would be lovely in, say, a physics textbook: start with the simplest models that physicists developed in the 1500’s, show where they failed, and show how they moved to fix them. Few books do this. One that does — and it’s a historical treatise rather than a textbook — is Richard Rhodes’s The Making of the Atomic Bomb. Now if only we could get more textbooks to use this technique.

Körner falters a little bit when he tries to be a straightahead history book rather than a textbook informed by history. One wouldn’t necessarily notice his weaknesses in this respect if Donald Knuth’s The Art of Computer Programming (3 vols.) didn’t exist. Knuth is a master mathematician, an epoch-making computer scientist, and a peerless scientific historian.

That doesn’t even count as a gripe, though: Körner has succeeded brilliantly in exactly the endeavours he sought to master. I’d recommend his book to anyone who wants to understand Fourier series, their use, and their history.

P.S. (22 February 2007): I bought a used copy of this book off the Amazon Marketplace — specifically from proquobooks, aka internationalbooks. I got it for a grand total of $13.26, including shipping. It was a pristine copy, virtually indistinguishable from a brand-new one. A brand-new copy on Amazon, assuming you opt for free Super-Saver Shipping, costs $54.60. That puts a big smile on my face. Googling for ‘proquobooks’ gives a negative review near the top, but my experience with them has been quite positive. Even the mailer in which they shipped the book was great, and it arrived within three days of my ordering — certainly better than Super-Saver Shipping. I’d buy from proquobooks again in a heartbeat.

Filibusters and dilatory tactics

slaniel | Uncategorized | Saturday, February 17th, 2007

If the great big difference between the House and Senate is that the Senate allows unlimited debate, and if this is supposed to be its saving grace — because it has, over the history of the Republic, calmly and rationally debated issues that the House rushed to vote on — then shouldn’t it be about debate? That is, shouldn’t filibusters where Senators read the contents of the Washington phone book (for instance) be forbidden? I thought there was a whole set of Senate procedures that dictated when a particular motion was dilatory. Shouldn’t there be similar procedures for when a Senator’s speech is dilatory?

Lieberman: “Constitutional crisis”

slaniel | Uncategorized | Friday, February 16th, 2007

Shorter Joe Lieberman: “I believe it is this Congress’s right to express its beliefs to the president and govern as a coequal branch. I just oppose any concrete step it might take in that direction.”

Reminds me of The Elegant Errors of Conservative Thinker James Burnham:

The largely unintellectual conservatives who preceded them before the 1950s, and succeeded them in the 1990s, have been surly, demagogic and wrong about everything; in contrast, the mid-century ‘movement’ conservatives around Buckley were wrong about everything in a sprightly and erudite way. They were never for racism, only against desegregation; they did not support apartheid, they merely vilified its victims and critics; they were not in favor of dire poverty, they just objected to any and all government programs that might ameliorate it.

(Full Lieberman quote below the fold.)

(more…)

Sorry for the mess

slaniel | Uncategorized | Thursday, February 15th, 2007

I’m adding some code to help with a conversion from Blosxom to WordPress, and it seems to be messing things up on the Blosxom side. It’ll stop doing that soon, and soon after I’ll be running a WordPress blog.

Legacy carriers suck

slaniel | Uncategorized | Thursday, February 15th, 2007

Apropos of Dave Weinberger’s experiences with United (via UH): I don’t believe I’ve had a good experience with a legacy carrier (e.g., US Airways, United, Delta) since I used US Air to fly from Pittsburgh to Vermont back in college. For one thing, that was because I had the good fortune to be living in US Air’s hub, so most everything was a direct flight. If you live off-hub, I think you’re especially screwed.

So, word to the wise. I have two axioms about airline tickets:

  1. Direct flights are worth at least $50 over flights with layovers.
  2. Flights on JetBlue, Southwest, or AirTran (the three new carriers with which I have experience) are worth at least $75 over legacy-carrier flights.

Just as a sanity check: I’m pretty sure that if you have a choice between a $200 flight with a layover on a legacy carrier, and a $325 flight without a layover on JetBlue, you should take the latter. The numbers may need a little tweaking, but they’re right to first order.

P.S.: And come to think of it, the two prices are not strictly additive. A flight with a layover on a legacy carrier is bad because the carrier will most likely get you there late and make you miss your connection. A flight with a layover on JetBlue is less likely to be a mess. Though I’d still opt for the direct flight, because then you can take a nap if you need to; connecting flights always seem to start their descent right when I fall asleep.

P.P.S.: Here seems as good a place as any to mention a great little point made by Carl de Marcken:

Since many of the cheapest fares on popular business routes prohibit non-stop travel, it is commonly the case that airlines’ prices and expenses are anti-correlated, something to think about when you read about airline bankruptcy filings!

I.e., direct flights cost the airline less, but they’re more expensive for customers. Flights with connections cost more to the airlines: more gas, and — given the Pythagorean Theorem — longer flight times, whence more money spent on their crew. Yet flights with connections are cheaper to the consumer.

The standard argument for hub-and-spoke systems is that they centralize repair facilities in one airport (namely the hub). So maybe they turn out to be cheaper overall. I’d be surprised if that were so, but what do I know.

P.P.P.S.: A coworker points out that it’s not necessarily true that direct flights use less gas. By using a hub-and-spoke system, he notes, you can fly small planes to hubs, then pack lots more people onto big planes — which use less gas per person flown — which fly out of the hubs. Again, I assumed the airlines had thought of this in advance.

It would be interesting to compute how much gas the airlines used per seat-mile back before they switched to the hub-and-spoke system, versus how much they use now. We’d have to adjust the numbers for the increased efficiency of airplanes since then, but with enough careful arithmetic I’m sure it could be done.

My favorite dentist ever

slaniel | Uncategorized | Thursday, February 15th, 2007

Any number of google searches, for some reason, do not turn up my dentist in Boston, who turns out to be my favorite dentist ever, and whom my lovely friend Laura recommended. His name is Dr. Steven Cohen (Dr. Steven M. Cohen, specifically), a dentist within The Dental Group At Post Office Square. He’s the friendliest dentist by far that I’ve ever had, he’s convenient to the T (a 5-odd-minute walk from Downtown Crossing or State St), and he’s very talented at what he does.

Perhaps this will help bring him a little bit of well-deserved Google cred.

The New Yorker on 24

slaniel | Uncategorized | Thursday, February 15th, 2007

Last year I pointed out that I thought cop shows — 24 in particular — were objectively pro-fascist. Today the New Yorker makes the point much better and in more depth than I ever could.

A European report on CIA torture facilities

slaniel | Uncategorized | Wednesday, February 14th, 2007

I’m just asking here, but is it more than a little disheartening that if we want to know what our government is doing in our name, we have to wait for the Europeans to tell us?

P.S.: And if the CIA used “undeclared flights” over European countries  . . .  um  . . .  well, shouldn’t someone in Europe have approved them? I mean, I presume that when an “undeclared flight” goes over Kansas, someone in the U.S. Air Force gets very excited very quickly if the FAA doesn’t know about it. So unless European airspace is really insecure, doesn’t it seem like someone just isn’t telling the truth?

C’mon weather, give me what I want . . . 

slaniel | Uncategorized | Tuesday, February 13th, 2007

You can do it, weather. I’m counting on you.

Severe Weather Alert
Winter Storm Warning

/O.CON.KBOX.WS.W.0001.070214T0500Z- 070215T0500Z/ WINDHAM CT-CENTRAL MIDDLESEX MA-WESTERN ESSEX MA-EASTERN ESSEX MA- SOUTHERN WORCESTER MA- WESTERN NORFOLK MA-SOUTHEAST MIDDLESEX MA- SUFFOLK MA-EASTERN NORFOLK MA- NORTHWEST PROVIDENCE RI- WESTERN KENT RI- INCLUDING THE CITIES OF . . . PUTNAM . . .  WILLIMANTIC . . . FRAMINGHAM . . .  LOWELL . . .  LAWRENCE . . . GLOUCESTER . . . MILFORD . . .  WORCESTER . . . FOXBORO . . .  NORWOOD . . .  CAMBRIDGE . . . BOSTON . . . QUINCY . . . FOSTER . . .  SMITHFIELD . . .  WEST GREENWICH 1215 PM EST TUE FEB 13 2007

 . . . WINTER STORM WARNING REMAINS IN EFFECT FROM MIDNIGHT TONIGHT TO MIDNIGHT EST WEDNESDAY NIGHT . . . 

A WINTER STORM WARNING REMAINS IN EFFECT FROM MIDNIGHT TONIGHT TO MIDNIGHT EST WEDNESDAY NIGHT.

SNOW IS EXPECTED TO BEGIN ACROSS THE REGION LATE THIS EVENING. THE SNOW SHOULD QUICKLY BECOME HEAVY AT TIMES BY DAYBREAK WEDNESDAY. THIS WILL HAVE A SIGNIFICANT IMPACT ON THE WEDNESDAY MORNING RUSH HOUR. IN FACT . . . SNOW MAY BE FALLING AT 1 TO 2 INCHES PER HOUR EARLY WEDNESDAY MORNING . . . LIMITING VISIBILITIES TO A QUARTER MILE AT TIMES. THE SNOW WILL GRADUALLY TRANSITION TO A MIXTURE OF PRECIPITATION BY EARLY WEDNESDAY AFTERNOON AS WARMER AIR ALOFT MOVES OVERHEAD. THIS WILL MAKE TRAVEL EVEN MORE HAZARDOUS . . . WITH SOME ICING POSSIBLE.

BY EARLY EVENING . . . ANY MIXED PRECIPITATION WILL CHANGE BACK TO SNOW. NEAR-BLIZZARD CONDITIONS WILL BE POSSIBLE LATE WEDNESDAY AFTERNOON INLAND . . . MOVING TOWARD THE COAST BY EVENING AS WINDS AROUND THE AREA OF LOW PRESSURE INCREASE. THE SNOW WILL END BY LATER WEDNESDAY NIGHT. BOTH THE MORNING AND EVENING COMMUTES ON WEDNESDAY ARE EXPECTED TO BE TREACHEROUS.

TOTAL SNOWFALL ACCUMULATIONS ARE EXPECTED TO RANGE FROM 4 TO 7 INCHES CLOSEST TO THE COAST . . . TO 6 TO 10 INCHES ALONG AND WEST OF ROUTE 128. CONSIDERABLE ICING WILL BE POSSIBLE AS WELL.

BLOWING A DRIFTING SNOW WILL WILL BECOME AN INCREASING THREAT WEDNESDAY NIGHT AND THURSDAY.

Geeks on law

slaniel | Uncategorized | Tuesday, February 13th, 2007

I have a series of thoughts brewing on “geek psychology” — what it is that makes computer geeks tick. In general, I think the belief that “geeks are more comfortable with machines than with people” is off, though it does have an element of truth somewhere in it. Digging out the truth on that is what I have brewing.

But a discussion on the debian-user mailing list reminds me of one part of the geek mentality: the belief that the world can be axiomatized, and that people should deal with each other in entirely logical ways. At my worst, I have that mindset, and my philosophical biases tend toward those that center on data and logic.

One place where I’ve had to be shaken free of that belief is in law. If knowing Adam Rosi-Kessel has taught me anything, it’s that you can’t expect the law to behave like a deterministic machine which converts inputs (lawyers’ statements, evidence, laws) to outputs (decisions on specific cases). As James Grimmelmann and Cindy Cohn put it (the Google Cache of that page doesn’t require cookies and JavaScript like the original does):

Some people, seeing this connection, and remembering the values of good code, try to improve the legal system by treating it as a computer. People come to me with ideas for hacking the law. “The government says that cryptography is a weapon,” they say, “but the Bill of Rights says we have the right to bear arms. So that means we have a Constitutional right to use cryptography.”

But the legal system isn’t a computer. If you can’t convince a judge that what you’re proposing is consistent with the values underlying a law, your argument will go nowhere. People go to jail every year because they think they’ve found a way to hack the Sixteenth Amendment. “The income tax is illegal,” they say, or, “The income tax is voluntary, see, it says so right here,” and then they get convicted of tax evasion and sent to jail.

Or to put it like James put it to me a few years back: you can’t hack the law.

It’s a tough rejection notice to offer to geeks. It smacks against some pretty fundamental ways that we have of viewing the world. But it’s also a fact. And if you watch enough geek conversations, you’ll realize how often they center on the belief that the law is hackable.

Geeks are also by and large libertarians, which I think could also be traced to a belief in the rationality of law, the optimality of private resource allocation, an over-reliance on theory, and perhaps the unwillingness to realize that all policies — public or private — are carried out by flawed humans who are incapable of always doing what they “should” do.

Like I said, really tracking down the geek frame of mind is something I’m working on. For now this little snippet will have to do.

Auto-joining IRC channels in gaim

slaniel | Uncategorized | Tuesday, February 13th, 2007

You could find this just as easily as I could, by googling for gaim+join+irc, but: there’s a very handy page describing how to auto-join IRC channels when you sign into gaim. At work, everything happens over IRC, so it’s handy not to have to manually sign in on startup.

I include their instructions below, just in case the link ever goes dead.

(more…)

Avoiding repetition in $PATH

slaniel | Uncategorized | Tuesday, February 13th, 2007

I remember asking a newbie question at CMU in probably ‘97: suppose you have a line like

export PATH=${PATH}:/some/new/path 

in your ~/.bashrc or ~/.cshrc file. Suppose you repeatedly run

source ~/.bashrc 

How do you avoid $PATH’s growing indefinitely every time the file is sourced? The answer I remember getting at the time is that you should set some variable, like ISALREADYLOADED, then check whether that variable has been set. E.g.,

export ISALREADYLOADED=1 if  then export PATH=${PATH}:/some/new/path fi 

I don’t think that’s the best answer. My preference now is to do this:

export PATH=${PATH}:/some/new/path export PATH=echo $PATH \ |tr ':' '\n' \ |sort \ |uniq \ |tr '\n' ':' \ |sed 's#:$##' 

which takes whatever the new path is and strips out any duplicates.

You could take all those shell commands and reduce them to a Perl script. This would be, in my experience, at least an order of magnitude slower than doing it with a shell script (Perl beats out shell scripts when the complexity goes much past this), but you could use

#!/usr/bin/perl @paths = split( /:/, $ENV{PATH} ); print join ':', keys %{{ map { $_ => 1 } @paths }}; 

That last line uses an extreme Perl idiom, by way of the ever-valuable perl.com.

I thought I’d toss this out there for any newbies who happened to be hunting for an answer.

Why all the talk about war with Iran?

slaniel | Uncategorized | Tuesday, February 13th, 2007

Chris Young has been forcefully making the case that the U.S. is simply not going to war with Iran, and couldn’t even if it wanted to. E.g. If he’s right, the next question is why the U.S. government is spending so much time talking up an invasion. Some hypotheses:

  • To scare Iran.

  • To set up the Democrats as anti-war wussies in time for the ‘08 elections, when — Gulf of Tonkin style — Iran will be accused of doing something really nasty to the U.S. that the big bad Democrats won’t fight back against.

  • To retake control of the debate over Iraq. Now instead of talking about what spectacular intercourse-ups they are, the Bushies can draw our attention away into a long, needless debate about something that’s not going to happen anyway.

Just some ideas. Feel free to add your own. I really know nothing.

Metropolis

slaniel | Uncategorized | Monday, February 12th, 2007

Just a quick shout-out to Metropolis Coffee in Chicago. I’m on a worldwide quest to find The Best Cup Of Espresso, and I got pointed to Metropolis and Intelligentsia just before Adam Rosi-Kessel reminded me of his pre-existing Metropolis recommendation. Metropolis is much better — in ambience and in coffee — than Intelligentsia. The Metropolis that my friend Stevie and I went to was also a ginormous hike to the north, from which we then took a ginormous hike back to Midway Airport in the southwest. To me, anyway, it was well worth it. The décor is splendid, the coffee tastes very round and malty, and in general the whole experience just left me feeling great.

For those of you with a designy side, incidentally, Metropolis is great. Their branding is all very Art Deco, and in particular mimics the design on Fritz Lang’s movie of the same name. But then the coffeeshop itself is very warm and inviting, in a way that the movie deliberately is not.

Five stars.

P.S.: I do intend, one of these days, to buy the high-end manual espresso equipment listed in Dave Bayer’s “Resources for home espresso” page. It just seems like fun.

Damnit, no candy

slaniel | Uncategorized | Wednesday, February 7th, 2007

I went home to check on the new cats, and on the way — as always, when walking home from work — I passed the Cambridge Brands factory, which is a subsidiary of Tootsie Roll Brands. Every day around 8:30, there is a giant Foodliner truck parked in front of it, which I assume is pumping liquid Awesome directly into the factory. Or maybe they’re pumping caramels out of the factory into the truck? Either way, Awesome is being exchanged.

But in any case, the air within half a mile of there — especially on a windy day like today — is intoxicatingly good. Sometimes it smells like caramel. Other days it smells like candy-mint (not actual mint leaves — this ain’t no mojito factory). So today I couldn’t stand it: on the way back to work, I asked a guy standing out front (“Jack”) whether one could buy candy directly from the store. Whatever I’m smelling, I told him, I want to buy. He told me that I was either smelling caramels or Junior Mints, and that no, I couldn’t buy them.

Now, I can probably buy Cambridge Brands products anywhere. But they’ve layered a large chunk of west Cambridge with that smell. Don’t they owe us the right to buy what they’ve addicted us to? I can’t stand it. I may need to quit my software-development job and go work at a candy factory.

(Incidentally: apparently that factory is guilty of some environmental violations. Dear Cambridge Brands: if I get to choose between sweet-smelling goodness on the one hand, and Mother Nature on the other, Mama Nature is going under the bus.)

Next Page »

Bad Behavior has blocked 845 access attempts in the last 7 days.