Jun 12

How to Type with a Foreign Accent

I spend a lot of time on IRC channels and discussion forums where many of the users are not native speakers of English. Recently one of these expressed surprise when I observed: “You type with a foreign accent. What is your birth language?” He knew, of course, about speaking English with an accent, but he hadn’t encountered before the possibility that the same cues could be observable in written English.

Herewith , some instructions on how to type with an accent. All the examples I will give are utterances I have observed in the wild.

Continue reading

Jun 04

We are not sheep

I had a breakthrough moment last night. It was on the IRC channel for one of my projects. The developers, and the IRC’s regulars, are a small and tight-knit group. By a coincidence completely unrelated to the nature of the project, we’re all firearms fanciers who take a firm line on Second Amendment rights. Occasionally the IRC chat will turn from project-related technical matters to topics like the relative merits of various pistol calibers.

Occasionally people will show up on the channel looking for project-related help. Some of them become semi-regulars on the channel because they’re often working technical problems for which the project is part of the solution. One of these guys hopped on the channel last night while we happened to be in the middle of a firearms digression, listened for a bit, and then started to spout.

Continue reading

Jun 01

Extreme punctuation pedantry

Most people don’t know that there are two different philosophical camps that differ about how to do correct punctuation in English. This has been on my mind lately because of some questions I have been asked by non-native speakers on the Battle for Wesnoth development list, where I am the resident English pedant.

The rules we’re taught in school are the syntactic ones; in these, punctuation is a part of the grammar of written English and the rules for where you put it are derived from grammatical phrase structure and pretty strict. Lynne Truss of Eats, Shoots & Leaves fame is an exponent of this school. But there is another…

Continue reading

May 27

Some Iron Laws of Political Economics

Mancur Olson, in his book The Logic Of Collective Action, highlighted the central problem of politics in a democracy. The benefits of political market-rigging can be concentrated to benefit particular special interest groups, while the costs (in higher taxes, slower economic growth, and many other second-order effects) are diffused through the entire population.

The result is a scramble in which individual interest groups perpetually seek to corner more and more rent from the system, while the incremental costs of this behavior rise slowly enough that it is difficult to sustain broad political opposition to the overall system of political privilege and rent-seeking.

Continue reading

May 25

Objective Evidence

This weekend, at Balticon (the Baltimore Science Fiction Convention) I got to play a bit with an infrared-sensing webcam. These turn out not to be very difficult to construct, because CCDs are sensitive well into the IR range. The normal filter blocks IR but passes visible light; by replacing it with fully exposed film stock, which is opaque to visible light but transparent to IR, you get infrared imaging.

Continue reading

May 22

News from the Linux-adoption front

Well, now. This is interesting: A study of corporate Linux adoption polling 1,275 IT professionals says:

Linux desktop roll out is easier than expected for properly targeted end-user groups

Those with experience are much more likely to regard non-technical users as primary targets for Linux. The message here is that in practice, Linux is easier to deploy to end users than many imagine before they try it.

It’s become fashionable lately to be pessimistic about Linux’s future on the desktop, but I have to say this matches my experience pretty well. The handful of Ubuntu deployments I’ve done in the last couple years for end-users have indeed been easier than one might have expected.

Continue reading

May 20

California Dreamin’

If it is impossible for something to continue indefinitely, it will eventually stop.

The politics of the modern redistributionist state is founded on the assumption that politicians can buy votes by promising voters ever more munificent entitlements – from federal deposit insurance against bank failures to government-subsidized medical care – with the money for these things always somehow being painlessly extracted from somebody else.

Continue reading

May 17

Is Danish Dying?

Some years ago I did a speaking tour in Scandinavia that involved staying in Denmark for a couple of days. Denmark, like the other Scandinavian nations I’ve visited, is a tidy little country full of intelligent, civilized, and agreeable people. As long as you can get along with gray sub-arctic weather and gray, characterless food these are interesting places to be – well, at least for someone with my strong interest in history and archeology. Historical museums, here I come!

But while I was in Denmark I kept tripping over odd facts that pointed to a possibly disturbing conclusion: though the Danes don’t seem to notice it themselves, their native language appears to me to be dying. Here are some of the facts that disturbed me:

Continue reading

May 07

Engage the balonium generator, Scotty!

I enjoy a game called “Commands and Colors: Ancients”, which I’ve blogged about here before. It’s a simulation of tactical ancient warfare that uses special dice to resolve battles. In any given battle you can consider each six-sided die to have faces labeled with the symbols Miss, Miss, Hit, Sword, Helmet, Flag. To improve my play, I decided to generate and study a table of the odds of getting a specified number of hits when a specified number of dice is rolled. I set out to write a Python program to do this.

There are special circumstances under which flags and helmets convert to hits, so the program actually needs to print out several tables and is not entirely trivial. Still, it is computing on a mathematically simple model with strictly bounded computational cost – except for war elephants. These units have the special ability that when they roll a sword, the sword is counted as a hit and then rerolled. (This may make more sense if you think of a sword roll as representing impact damage.) You keep rolling and marking hits as long as the die keeps coming up swords.

To calculate the non-elephant probabilities I enumerated eight entire state spaces for each of 1 to 8 dice (the most you can ever roll under the rules – takes Alexander the Great or Julius Caesar leading a Heavy unit with the the Clash of Shields +2 bonus active), then counted up instances of each distinct outcome (so many misses, hits, swords, flags, banners) to assign a probability mass to each.

(Statisticians often think in terms of probability mass or probability weight, which has to be conserved as a distribution changes. It’s analogous to thinking of electricity as a fluid.)

I then had to write code to mutate a copy of each distribution according to the elephants’ sword-reroll rule. To do this, each outcome containing a sword hit needs its probability mass divided by six and reallocated to itself and five other outcomes with one fewer sword apiece; you stop reallocating when the probability mass on a sword-containing outcome drops below a very low noise level.

That particular piece of code gave me more trouble than the rest of the program put together. At one point I grumbled to a friend who had been following the project “I’m having persistent bugs in my probability mass reallocator.”

He looked right back at me and said, with a perfectly straight face, “Have you considered reversing the polarity of the neutron flow?”

May 06

What I have learned from science fiction

I began reading science fiction almost exactly 40 years ago, when my family was passing through Orly airport in Paris while moving from London to Rome. My parents liked to encourage all five of their kids to read; we were told we could have one magazine of our choice from the newsstand. I picked a copy of Analog, a magazine I’d never seen before. It had a gorgeous Kelly Freas cover featuring a man being menaced by a dinosaur-like creature with gorgeous polychrome scales. I have it still.

Science fiction has given me entertainment and escapism, for sure – but it has given me ever so much more than just that. It has given me puzzles to chew on, examples to admire, philosophical questions to mull over. By thinking about fictional worlds, I learned a perhaps surprising amount about the real one – not so much facts as useful habits of thought, perspectives, fruitful ways of asking questions.

Here are some of them…

Continue reading

May 02

I may have to disable IntenseDebate

I may have to disable IntenseDebate. The interface for approving/deleting/spam-flagging posts seems broken since sometime yesterday; I suspect some sort of database problem at intensedebate.com, as my local Javascript hasn’t changed.

If you have left a comment which has not appeared, have patience. I will try untangling the mess from my home machine Sunday night when I get home from my current road trip.

Apr 30

Irrational Expectations

The reactions to my posting on the economic case against the GPL reminded me yet again why failure to understand basic economics often becomes more toxic in people who think they understand a bit about the subject. In this mini-essay, I’ll take a look at the most important (and misleading) of the superficially clever arguments I saw in responses.

Continue reading

Apr 27

RMS issues ukase against Software as a Service – and I agree it’s an iffy idea

In a recent O’Reilly interview, Richard Stallman utters an anathema against software-as-a-service arrangements, calling them “non-free” and saying “you must not use it!” It would be easy to parody RMS’s style of uttering grave moralistic sonorities as though he were the Pope speaking ex-cathedra, but I’m going to resist the temptation because I think in this case his concerns are quite valid.

Continue reading