dannyman.toldme.com

This page features every post I write, and is dedicated to Andrew Ho.

February 19, 2003
Technology

Why Python Sucks

Link: https://dannyman.toldme.com/2003/02/19/why-python-sucks/

Say, I want to know the semantics of a built-in function. In Perl, I type in perldoc -f <function-name>.

In Python, I have to go searching on the web, and the best thing I can come up with is a third-party HOWTO, which amounts to a tutorial on how the function works, rather than a quick, fifteen-second reference on calling semantics.

Dang.

57 Comments

February 18, 2003
Unsorted

Indian Numerals and Latin Numbers

Link: https://dannyman.toldme.com/2003/02/18/indian-numerals-and-latin-numbers/

In case you didn’t know, our system of “Arabic Numerals” actually comes from India. We call them Arabic numerals because we got them from the Arabs, who got them from the Indians.

In modern Arabia, they frequently employ the Latin alphabet, which they call “Western Numbers”, for counting purposes. I suppose that this is akin to us learning “Roman Numerals” except that instead of learning a thoroughly worthless counting system, they just learn how to write the numbers that are understood by everyone else in the world.

In Japan they use four different alphabets. Three of these are phonetic, and one of these is based on Latin, which is damned handy for me. They also have an ideographic alphabet that is based on Chinese characters, though the meanings and the way the characters are written have mostly changed from Chinese.

In English, we have only one alphabet, but we have two different ways of writing, and each letter has two cases. While we teach ourselves that our language is phonetic, many words are not pronounced as they are written, because not only did the language once undergo a “vowel shift” which changed everyone’s pronciation, but we’ve also adapted many words from other languages, many of which use the same alphabet with even more varied phonetic rules.

On top of that, Americans once started an effort to clean up the language to make it more consistent, which means another set of different ways to spell the same words.

The French have a “Language Academy” to regulate the French Language. Mostly, they come up with complicated, inconvenient ways to express concepts in French instead of English. I wonder if it might not do a service to the world to establish an English “Language Academy” which is charged with proposing simplified rules which makes our language more consistent, and therefor more useful.

i lik to lern new inglesh, espeshuli wen it is izear to spell.

Of course, we all pronounce words differently anyway, so phonetic English systems look pretty craptastic, because not only do they change existing English spellings, but they depend on a standardized dialect.

Hooray for Hollywood. Since North American English is fairly standard, and highly desired among those adopting English as an International Language, I suppose a “Phonetic English” spelling system could be adopted, for writing purposes, assuming it was sufficiently standardized such that unique words could be translated back and forth electronically. In this way it could actually evolve from an awkward, makeshift pidgin language, into a useable creole.

Except it’s nearly 3AM, and I need a paying job.

Feedback Welcome

February 17, 2003
Unsorted

Kamikaze!

Link: https://dannyman.toldme.com/2003/02/17/kamikaze/


Our position consisted of a network of trenches and bunkers dug out of the muddy earth. It reminded me of all the old World War I footage I’d seen. Now I was right smack in the middle of no-man’s-land. One of the guys called my name, snapping me out of the trancelike state I’d lapsed into. “Come here, Abu, the others want to meet you,” he said. After three cold days on the front, the last thing the other shift had expected was an American volunteer, and they were all staring at me with a kind of amused expression. Following the warm greetings and the usual questions about where I was from and why I’d come there, I asked a question of my own.

“So,” I said as casually as I could in Russian, “what is the purpose of this position–just out of curiosity, do you know?”

Everyone, and I mean everyone, looked at me at the same time, paused for a moment, then in unison yelled enthusiatically, “Kamikaze!” When they saw the surprise on my face they all started to laugh.

“Just look over there, Abu,” one of them said. “Those Russians are going to come over that hill and down through that valley any time now. We only hope to slow them down long enough to give the other groups enough time to get here and avenge our deaths!”

“My Jihad”
Aukai Collins

One of the fun things about travelling, I found, is the different expectations and assumptions that people seem to have in different parts of the world. Collins is a Scottish-American Muslim convert, retelling his experience fighting to defend Chechen Muslims against the Russians. In the passage above, he has returned to Chechnya to fight a second time, and has been diverted to Grozny and has at this point joined a group of 23 men who hold the line at northwest Grozny from the 5,000 Russians waiting to advance. Even for a combat veteran who has lost a leg in battle, there are still intimidating experiences to be had.

I haven’t finished the book, but the fact that he managed to write it seems to imply that he survived this ordeal.

I’m also a fan of little details like an American Muslim with an Arabic nickname, thinking of European trench warfare, phrasing a question in Russian to his Chechen comrades, and receiving an enthusiatic answer in Japanese. Even in central Asia, it is still a pretty small world.

Feedback Welcome

February 15, 2003
Unsorted

Virtual Work

Link: https://dannyman.toldme.com/2003/02/15/virtual-work/

Actually, I do have a job, it is just that the guy ran out of money and can’t pay me yet, but as soon as things go into production, he’d be happy to hire me on full-time, no-questions-asked.

I don’t expect anything, but I have nothing to lose, and the work provides a nice distraction from unemployment.

All the same, it was kind of neat to hear the pitch, and visit a data center thyis afternoon. I felt so happy about the weirdly comfortable situation, that I treated myself to a night out at Los Charros, in downtown Mountain View, followed by a cup of coffee and some live jazz at the cafe.

My stomach shrank along with my waste during my travels. I feel like less of the gigantic, all-consumming American I used to be.

Oh, and Amazon.com is now giving T-Mobile Sidekicks away. Can’t argue with the price.

Feedback Welcome

February 15, 2003
Unsorted

Checking Account Balance

Link: https://dannyman.toldme.com/2003/02/15/checking-account-balance/

$424.94.

And even though they charged me $8 to view my missing bank statements, I still haven’t received them. So, get a job, and bitch at the bank, are both on my todo list.

The threat that I could simply pull the rest of my money out of the account would not be an idle one. Heh. Though I’m otherwise quite pleased with Washington Mutual.

Feedback Welcome

February 14, 2003
Good Reads, Technology

Opera’s Sense of Humor

Link: https://dannyman.toldme.com/2003/02/14/operas-sense-of-humor/

Microsoft are at it again, feeding Opera bogus stylesheets so their MSN.com site will come out broken. I shall link you here, to a good technical explanation of what is going on and, perhaps more interesting, Opera’s novel response.

Feedback Welcome

February 14, 2003
Good Reads, Politics

Standard of Living

Link: https://dannyman.toldme.com/2003/02/14/standard-of-living/


Mr Gordon argues that GDP comparisons tend to overstate America’s living standards and understate Europe’s. For example, America’s climate is more extreme than western Europe’s, so more has to be spent on air conditioning and heating to attain a given indoor temperature. This extra spending boosts GDP, but does not enhance welfare. More of America’s GDP is also spent on home and business security, largely because of a higher crime rate. In most of Europe, such spending is less necessary. The huge cost of keeping 2m people in American prisons (a far bigger proportion of the population than in Europe) also bolsters America’s GDP relative to Europe’s, but not its welfare.

Another factor is the greater dispersion of America’s population in vast, sprawling metropolitan areas with few transport options other than the car. This is partly the result not of private choice but of public policy, such as subsidies to suburban motorways and a starving of public transport, or local zoning laws that limit the minimum size of residential developments. It leads to higher spending on roads and energy, and hence higher GDP. In Europe the convenience of more compact cities and frequent train and bus transport does not count towards GDP figures.

From The Economist, “Chasing the Leader”

SUVs are good for the economy.

Feedback Welcome

February 12, 2003
Politics, Religion

What’s Going Wrong?

Link: https://dannyman.toldme.com/2003/02/12/whats-going-wrong/

Two paragraphs from the book I just finished: _What Went Wrong: The Clash Between Islam and Modernity in the Middle East_, by Bernard Lewis, that struck me as especially portentious:

If the peoples of the Middle East continue on their present path, the suicide bomber may become a metaphor for the whole region, and there will be no escape from a downward spiral of hate and spite, rage and self-pity, poverty and oppression, culminating sooner or later in yet another alien domination. […] If they can abandon their grievances and victimhood, settle their differences, and join their talents, energies, and resources in a common creative endeavor, then they can once again make the Middle East, in modern times as it was in antiquity and the Middle Ages, a major center of civilization. For the time being, the choice is their own.

Next:

For growing numbers, [of Muslims] the issue is not religion or nationality, nor this or that frontier or territory, but freedom–the right to live their own lives, in a free and open society under a representative and responsible government. For them the prime enemy is not the outsider, be he defined as foreigner, infidel, or as imperialist, but their own rulers, regimes that maintain themselves by tyranny at home and terrorism abroad and have failed by every measure of governmental achievment except survival. The numbers and the influence of these freedom seekers are difficult to assess, since the public expression of such views is forbidden and subject to the direst penalties. They receive little help from those who would be their natural allies in the free world, notably those who present themselves as friends and advocates, but who prefer to deal with corrupt tyrants, provided that they are amenable, rather than risk the hazards of regime change.

For those who oppose war in Iraq, which would bring about a “regime change” that would remove a horrible autocrat, what is proposed as the alternative? War is a terrible way to achieve progress, nor is progress our stated objective; Our President publicly seeks “security” from “terrorism” and privately seeks an oil supply. I suppose the ultimate frustration is that while few really trust Bush’s motivations and desired outcome, neither can anyone abide by the status quo in good conscience, it is really just a question of betting on the least tyrannical evil. Is it America’s unelected buffoon of a President, cynically sending our kids to risk their own lives by killing Iraqis, to shore up the riches of those who put him in office, or is it the scheming dictator who needs time to plot against us, who has his own history of invading foreign countries to improve oil profits, while ensuring stability by using non-conventional weapons to repress his subjects?

If you’re not with us, your only helping someone even less palatable. I’d credit George Bush with knowing how to pick his enemies, but it was really his dad who created the enemy by calling Saddam on his invasion of Kuwait, without actually eliminating him.

Well, I may be able to make some more chocolate chip cookies this evening. As the old lady in “The Matrix” explained the benefits of cookie consumption, it ought to help me “feel right as rain.”

Feedback Welcome

February 12, 2003
Unsorted

Truckin’

Link: https://dannyman.toldme.com/2003/02/12/truckin/

A half dozen more resumes submitted through Yahoo! Careers. This “jobs portal” is significantly less sucktastic than Monster and Dice. That doesn’t mean it is very good, but I find it at least slightly useful.

Feedback Welcome

February 12, 2003
Unsorted

Workin’ It

Link: https://dannyman.toldme.com/2003/02/12/workin-it/

Filed an appeal with the EDD today.

Submitted applications at two restaurants. The first had a handful of other people also working on their applications. Not an encouraging sign.

Yesterday I got my hair cut. First, I had to walk over to the bank to get some precious money. On Castro Street I counted five hybrid cars, with a RAV4 EV in front of the barber shop off Castro Street. I figured that was a positive economic indicator.

I got my stuff back from Oakland yesterday. Erik fed me pasta, I left him cookies.

Also submitted a resume for a consulting and support position at a company that provides back-end software to restaurants.

Feedback Welcome

February 11, 2003
Politics

War

Link: https://dannyman.toldme.com/2003/02/11/war/

I’ve been wondering why I feel weird about all the anti-war sentiment now that I’m back here in the liberal land of California. One of my favorite days was the winter day before the 1991 air war started, when we walked out of my Chicago high-school, and walked downtown on Lake Shore Drive to protest the potential war. The march down LSD was extremely cool, because we were walking on a highway, hundreds of young people, taking up two lanes, with a third lane of police cars, and a fourth lane of cars that honked as they passed us, either because they were upset at us blocking traffic, or because a honk indicated solidarity with peace demonstrations in those days.

Now, I feel ambivalent. I certainly doubt the President’s motivations. I’m inclined to believe that there is more immediate gain for him in securing oil supplies and domestic support in a time of international crisis, than any imminent threat to us from Iraq. On the other hand, while the resumption of war would cost a lot of death and destruction to the Iraqi people, if we actually remove Saddam Hussein, we will also be removing a long-standing source of death and oppression.

One way or another, the sanctions need to end; The Middle East needs stability that is not based on detent and decay. If we had to occupy and rebuild Iraq, there would be an excuse for resentment among Islamic Fanatics. On the other hand, perhaps it would mean that we could leave Saudi Arabia, the land of Mecca, to its own devices, which may give in to pressures to reform once we’re done propping up a redundant oil supply.

Maybe if we worry ourselves with occupying and building a strong and stable Iraq, we’ll feel more secure about Iran, and better able to sanely pursue relations with this formidable country.

Most of all, I feel most frustrated with European insistence on giving the inspections more time. More time for what? We’ve been trying “inspections” for more than a decade. Saddam Hussein has never been inclined to test clean, and the latest inspections are just a fancier version of the same old tired show. In America we fight wars in foreign lands, while Europeans have more direct experience with war, which encourages them to cherish peace all the more. While I think this is great for the cause of peace, it can lead to the “Peace at any Price” mentality which left Germany’s earliest WWII aggression un-checked. It is that sentiment in Europe today that causes the most direct emotional support, I believe, for the United States “proactively engaging” a problem overseas before it becomes a problem at home.

Of course, the most proactive policy would have been to remove Hussein in the first Gulf War. I believed at the time and I still believe that the cease-fire was a terrible decision. Whatever strategy you choose to solve a problem, you need to devote yourself to success. If you choose peace, you devote yourself to a peaceful solution. If you choose war, you devote yourself to victory. We chose war in 1991, which leads me to feel that the coming conflict is the attainment of victory, foolishly delayed, at the expense of a prolonged suffering on the part of the Iraqi people, who should have been liberated a decade ago.

Feedback Welcome

February 10, 2003
Good Reads

Atherton Police Blotter

Link: https://dannyman.toldme.com/2003/02/10/atherton-police-blotter/

Tales of crime in America’s richest suburb, as reported in the Palo Alto Daily News:

WEDNESDAY

Stockbridge Avenue and Selby Lane, 9:33 a.m.: A black limousine reportedly cut off a gold Lexus and was travelling at 65 mph on Stockbridge, but police were unable to locate the vehicle.

First block Serrano Drive, 10:36 a.m.: A resident complained about a suspicious Chevy pickup parked in the street with a lawn mower: it turned out to be that of a legitimate gardener.

Think these rich people are being uptight? Well, there are consequences when one is not vigilant about suspicious lawnmowers plied by potentially illegitimate gardeners, as we learn the next day:

THURSDAY

First block Atherton Ave., 1:17 p.m.: A suspected stolen 2001 Mercedes was found dumped on Arastradero and Page Mill and Santa Clara County Sheriff’s officials asked Atherton police to contact the registered owner.

First block Bassett Lane, 10:13 p.m.: A black Ford Mustang was stolen and later found stripped in East Palo Alto.

Okay, it turns out that Atherton is only the second-wealthiest town in America.

Feedback Welcome

« Newer Stuff . . . Older Stuff »
Site Archive