Getting over a (very reasonable) fear of flying

If you want to sell someone a personal locator beacon, have them read Miracle in the Andes by Nando Parrado. These are the same events recounted in the book Alive, but told from a personal perspective. The author was on a flight from Uruguay to Chile in a chartered-from-the-military Fairchild turboprop with a service ceiling of 22,500′, i.e., barely high enough to clear the Andes and not high enough to fly over the weather. They were forced to set down in Mendoza, Argentina on the first day of the trip. On the second day, the pilots were pressured into continuing across the Andes in the afternoon by an Argentine law that prohibited foreign military planes from spending more than 24 hours in Argentina. The Andes are steep and windy, which produces severe turbulence and downdrafts on the lee side of the ridge. Sure enough, the plane was pushed down on the east side of a 17,000′ mountain ridge and came to rest at 12,000′ above sea level. There the survivors spent the next ten weeks until Parrado and a comrade climbed up the mountain and then down and west for 50 miles until reaching some Chilean peasants. Chilean Air Force helicopters ultimately were able to pull 14 additional survivors out of the crash site.

In an interview appended to the audio version of the book, Parrado says that the crash made him terribly afraid of flying. A friend with a single-engine airplane took him up and the fear began to melt away. Parrado ultimately earned a private pilot’s certificate and today flies all over the world on commercial airliners without fear.

Full post, including comments

What does Jew-hatred look like when it goes global? Jimmy Carter

Jimmy Carter and his new book, Palestine: Peace Not Apartheid, came up at a party last night. The gathering was fairly typical for my circle in Cambridge. About a third of the folks there were Jewish. The average age was 30s and the average education level somewhere between master’s and medical doctor. Most of the folks were right-thinking kind-hearted sorts, who’d like to see a legally married gay couple in every 10th suburban house, a Prius in every garage, and organic produce on every table. For the gentiles at the gathering, Jimmy Carter was a hero, slightly ahead of Clinton in the pantheon of ex-presidents, and his latest book only increased his stature. Jimmy Carter never had a unkind word for anyone and, for many decades in and out of politics, managed to find the good in everyone with whom he interacted, domestically and internationally. For the gentiles, Jimmy Carter was entitled to wear the badge of “Nicest Guy in the World” (formerly belonging to Jesus?). If Jimmy Carter had surveyed the world’s regions and chosen to single out Israel for condemnation, that was only because Israel was in fact the world’s most evil state filled with the world’s most evil people.

For the Jews at the party, there wasn’t a strong feeling of kinship with Israeli Jews. They were American-born, descendants of the last waves of Jewish emigration to the U.S., roughly 100 years ago. Nonetheless, for the Jews at the party, Jimmy Carter was a garden-variety Jew hater and the book was prima facie evidence of his Jew-hatred. Why would he bother to take the time if he didn’t hate Jews?

The gentiles took issue with this. Jimmy Carter, a Jew-hater? He has many (American) Jewish friends, surely. Can’t someone hate Israel without hating Jews?

Upon further reflection, I had something of an epiphany. Jew-haters very seldom have hated the Jews whom they knew. Even in 1930s Germany, most Germans were as least neutrally disposed towards the Jews whom they had met in their towns. The Jew who ran the clothing store was okay; it was the rich Jews in Berlin who were ruining Germany. The world was national then, so the distant Jews whom one would tend to hate would be Jews elsewhere in one’s own nation. Our economy and media are global now, however. The idea of the “neighborhood Jew” should extend farther. You would think that Jew at your company or school was okay. And Jewish entertainers on TV, such as Seinfeld, were okay. And in fact, if you’re an enlightened non-prejudiced liberal person, maybe all American Jews are okay. Where could a thoughtful well-educated Jew hater now find Jews whom it would be safe to hate? Israel.

If you’re European and want to hate Jews, you don’t have a choice but to hate Israeli Jews, since your parents and grandparents killed all of the folks who would have been your Jewish neighbors and countrymen. If you’re American, it isn’t politically correct to rave about the Jews in Manhattan and Washington who wield behind-the-scenes power in finance and politics. Jimmy Carter is therefore pretty much the best that we could expect of a elite American aggravated by the existence of Jews.

It is beyond the scope of this posting to determine whether or not Israel truly is the most evil country in the world, who is at fault in the Arab-Jewish war that was declared in 1948 and shows no sign of ending any time soon, or how much the Palestinians have suffered from being on one side of the front lines of this war. What is interesting to me is how my liberal Jewish friends are going to continue to hold onto their liberal political affiliations now that the greatest of American liberals turns out to have adopted most of Yasser Arafat’s ideas.

A 40-year-old single moderately observant Jewish friend of mine said that she was tired of Jewish men, but having trouble meeting non-Jewish guys who shared her fondness for Israel, which she has visited several times. I suggested a Republican Party fundraiser…

[Disclaimer: Everyone in the discussion had read newspaper articles about Jimmy Carter and his book, but nobody had actually read the book!]

Full post, including comments

Linux Virtual File System (VFS) cache control?

We’ve bought a couple of very nice computers from Silicon Mechanics recently. They are cheap, compact, and hold lots of hard drives. We bought them mostly for scratchpad NFS servers and also figured that we’d use them somehow for our photo database. Trying to save some $$, we configured each with only 4 GB of RAM. As it happens, we were able to replace a very complex collection of multiple computers, each with multiple processes, with just a single Silicon Mechanics machine with eight hard drives in rat-simple hardware RAID 5 and two dual-core Opteron CPUs. The machine does pretty much nothing except run 8 lighttpd processes, each of which runs a single thread and serves multiple Web clients via async I/O. Jin set all of this up based mostly on comments here in this Weblog on an earlier posting.

Now that we’ve disabled the operating system writing “most recently read” times for every file served (“atime”), the server is acceptably fast. However, it is running disk-bound, with the RAID drives at 65 percent utilization, i.e., not much room for growth.

Our old SQUID server had 8 GB of RAM and was limited to serving thumbnail images. I suspect that if did obvious simple thing and filled this new computer up with 16 or 32 GB of RAM, we would have superb performance. But I’m wondering if we can’t save a few $$ and cheat a bit by controlling the Linux Virtual File System (VFS) cache. Right now we are not doing any caching in lighttpd, nor does the underlying ext3 system cache. This is by design. We want to keep only one copy of any given photo in RAM cluster-wide. I.e., we want the only copy to be in Linux VFS. We think we could get by with less RAM if we prevented Linux from pushing thumbnails out of the cache when pulling a medium or large JPEG from the RAID. In other words, we’d like to say “preserve 2 GB of the machine’s RAM for caching files of the form *-sm.jpg”, in effect having two caches for files, one for thumbnails and one for all other files.

Can this be done without massive amounts of C-code hacking and making it hard to upgrade the OS version?

Full post, including comments

Apple iPhone

Apple introduces its first phone today. It is a bit tough to tell from looking at Apple’s Web site, but it appears that this is yet another smartphone that is not a flip-phone. In other words, if it brushes up against something in your pocket it will make or answer unwanted calls. Basically all Japanese phones are flip-phones and it baffles me as to how American consumers are denied the simple interface of “open to make or answer a call; flip closed to hang up”.

Apple gives us an MP3 player, which other brands of smart phones have had for several years. What I want is a phone that won’t make calls from inside my pocket.

[The Web site is http://www.apple.com/iphone/ ; be forewarned that this is unviewable in MSIE on XP and it crashed Firefox on XP at first.]

Full post, including comments

Best Web server program for a lot of static files?

Dear Nerds:

We have a new computer to serve the photo.net photo database. We thought we might do something intelligent, but we ended up instead buying a machine that will carry us forward another 6 months without us having to think. Here are the specs on the new server, which arrived yesterday from Silicon Mechanics:

  • 2 Opteron 2212 2 GHz CPUs (each of which is dual core, so effectively I think that means that four threads can be running simultaneously)
  • 4 GB RAM
  • hardware RAID of 8 750 GB Seagate SATA drives
  • CentOS 64-bit operating system

We need to serve a continuous stream of photos from this machine. The data are static and in the local file system. The current load is 2.5 million JPEGs per day, of which 1.2 million are small thumbnail images. We don’t need to query the relational database management system or do anything fancy, just serve the files via HTTP. So maybe, after 12 years, it is time to look beyond AOLserver! Should we consider lighttpd? Apache 2.0? Squid? Should we run just one process of any of these and let threads handle the multiple clients from a single Unix process? Or run multiple copies of the Web server program and tell our load balancer that two sources of these files are available?

[Oh yes, and what about the file system block size? The thumbnails are around 10k bytes.]

Assistance via email or comments here would be appreciated!

Thanks,

Philip

Full post, including comments