Jan 212010
 

Just when you thought Climategate was bad enough already, here’s another little tidbit.

Back in 1999, New Scientist published an interview with Indian climate scientist Syed Hasnain about melting glaciers in the Himalayas. In this interview, Hasnain speculated that “all the glaciers in the central and eastern Himalayas could disappear by 2035 at their present rate of decline”.

Fast forward to 2007 and the (in)famous Intergovernmental Panel on Climate Change report, which states that “Glaciers in the Himalaya are receding faster than in any other part of the world and, if the present rate continues, the likelihood of them disappearing by the year 2035 and perhaps sooner is very high if the Earth keeps warming at the current rate.” The source? A 2005 report by the World Wildlife Fund, which, in turn, quotes the New Scientist: “The New Scientist magazine carried the article ‘Flooded Out – Retreating glaciers spell disaster for valley communities’ in their 5 June 1999 issue. It quoted Professor Syed Hasnain, then Chairman of the International Commission for Snow and Ice’s (ICSI) Working Group on Himalayan Glaciology, who said most of the glaciers in the Himalayan region ‘will vanish within 40 years as a result of global warming’. The article also predicted that freshwater flow in rivers across South Asia will ‘eventually diminish, resulting in widespread water shortages’.”

So, it appears that a popular science magazine was the primary source for such a dramatic statement. The assertion that Himalayan glaciers might disappear by 2035 was never published in a peer reviewed journal. Worse yet, note how the statement became inflated over time: whereas the original article spoke of “all the glaciers in the central and eastern Himalayas”, the WWF translated this into “most of the glaciers in the Himalayan region”, and by the time this gloomy prediction got into the IPCC’s report, it read simply, “”Glaciers in the Himalaya”.

Now New Scientist is taking them to task, leaving many to wonder: is this really representative of the quality of the science on which dire global warming predictions are based?

For the record, while glaciers in the Himalayas may suffer from global warming, they’re not (yet) in danger of disappearing anytime soon. Certainly not by 2035.

 Posted by at 3:53 am
Jan 172010
 

I wondered recently about Google not (yet) being evil.

If recent news are to be believed, Google decided to play hardball with the Chinese government. Good for them! I hope Google prevails, but even if they don’t, I think they should be applauded for having the guts.

Now here’s the $0.02 question (or, in the case of Google, more likely the multibillion dollar question): how long before Google’s CEO gets fired for failing to maximize shareholder value?

 Posted by at 3:43 am
Jan 172010
 

My laptop (the one I don’t want customs inspectors to be poking around on) runs Windows 7 (just upgraded from Vista). However, on it I also run a replica of my main Linux server, in a virtual machine.

After the upgrade, VMware Server, which wasn’t playing very nicely under Windows Vista either, started to give me serious trouble. The VM was due for an upgrade anyway, as its virtual hard drive was much too small. So I decided to… well, before upgrading the VM, I decided to check if there is perhaps a better option than VMware.

I first tried the obvious: Microsoft’s Virtual PC, which is a standard add-on to Windows 7 Ultimate. Nope… it didn’t play nicely at all, not with a Linux VM. So what else is out there? This is how I happened upon Sun’s VirtualBox, a (mostly) open source virtual machine solution.

I installed VirtualBox on a 64-bit Windows 7 test machine. Worked fine! Then I installed a complete Slackware 13.0 setup. Still good. I then did a full backup of my server to this VM. This also worked, though there was a minor snag: in the morning after the backup, I noticed that the host OS was completely locked up and needed a hard reset. Was it related to VirtualBox? Perhaps.

I then transferred the VM to another 64-bit Windows 7 machine and there, too, it worked well. So now it was time to move it to my 32-bit Windows 7 laptop. As Murphy’s Law dictates, that’s where I had the most trouble. For some reason (leftover nastiness after the VMware uninstall?) VirtualBox only sees network interfaces if it is run as Administrator. I also needed to enable multiprocessor support in the VM in order to eliminate a nasty (especially on a laptop!) problem of the VM consuming too much CPU, even when idle. Oh yes, and there was a crash, too.

Right now, all seems to be well though, and the VM works reliably, much better in fact than VMware. So maybe I have found the right solution. I’ll find out soon, when I’ll be doing a little bit of travel with this laptop in my suitcase.

 Posted by at 3:40 am
Jan 122010
 

I just finished a neat little paper with John Moffat. Jordan-Brans-Dicke theory is a generalization of relativity theory, in which the gravitational constant becomes variable, and the resulting (scalar) field has kinetic energy. First described by Pascual Jordan in his 1952 book Schwerkraft und Weltall, it was perhaps the first serious, “modern” modification of Einstein’s gravity. Yet it is rejected in the solar system, because it predicts an observable parameter that is grossly out of whack with observation. Then again… in the original form, the scalar field arises as a result of changes in spacetime curvature, only indirectly responding to the presence of matter. If we add matter as a direct source, the picture changes. Even more interesting, if matter and curvature kind of cancel each other out, we get a (still variable, still dynamical) scalar field that’s just like a field in vacuum, and agreement with solar system observations is restored.

Incidentally, Pascual Jordan was one of the greatest 20th century German physicists. Unfortunately he was also an ardent Nazi, member of the NSDAP and an SA volunteer. This may have been the reason why he never received the Nobel prize. Goes to prove that politics and science are really not a very good mix.

 Posted by at 4:04 am
Jan 072010
 

No, I’m not referring to the Amsterdam-to-Detroit flight carrying that hapless Nigerian youth with the not-so-exploding underwear. I’m talking about another flight, this one from Slovakia to Ireland, on which a passenger carried some 90 grams of high explosive… courtesy of the Slovak government, whose agents were using real explosives, hidden in real passengers’ luggage, to train dogs, but then forgot to take the explosive out.

And it’s these people who ask us to give up all expectations of privacy, because ostensibly they are here to “protect” us.

 Posted by at 9:09 pm
Jan 012010
 

This is the year when the Soviet spaceship Alexei Leonov was supposed to fly to Jupiter, investigating the failure of the spaceship Discovery and the death of her crew nine years earlier. At least in one respect, Clarke’s vision will come true: after the Space Shuttle’s planned retirement later this year, the United States will be left without a manned launch capability, and American astronauts will be ferried to the International Space Station (alas, a mere few hundred kilometers above the Earth’s surface, not a billion kilometers from here like Jupiter) on board Russian spacecraft. Not exactly an inspiring thought, except perhaps to some Russians.

 Posted by at 6:21 am
Dec 302009
 

It’s just been a little over eleven months since my uncle Jóska died… and now it’s one of my aunt’s turn, aunt Zsóka (as a child, I called her Zsóka néni) died in her sleep this morning in Budapest.

I have Zsóka néni to thank for many things, most notably for improving my English. I was around 16 at the time, and I was complaining to her that despite my best efforts, my English is still not anywhere near where I think it ought to be. Her advice: go read a book or two. And don’t use a dictionary, figure it out yourself.

The first ever book I read in English was a gift from her: The Eagle Has Landed, by Jack Higgins. It took a year or so, and several false starts before I was able to get to the end. But my next book took only a few months; the next, just a few weeks; and after that, I was reading English almost as well as I was reading Hungarian.

Needless to say, a few years later when I came to Canada, near fluency in the English language was a tremendous asset. Instead of washing dishes or selling hamburgers, my first job in this country involved writing C-language driver code for a government client. Thanks in large part to Zsóka néni.

Who is no longer with us. She was 77, the oldest of four siblings; now only two of them remain, my mother and my aunt Edina. I hope both of them will remain with us, in good health and in good spirits, for many more years, never mind years, how about decades, to come.

 Posted by at 9:15 pm
Dec 292009
 

There is a fascinating book published by the RAND Corporation, available at Amazon for a mere 81 US dollars. I am tempted to buy it. It must be a fascinating read. Readers’ comments at Amazon are certainly encouraging; while the book has some minor flaws, despite the lack of serious proofreading it is guaranteed not to contain any errors, and it helped at least one reader get to meet the woman who eventually became his wife.

 Posted by at 3:42 pm
Dec 272009
 

The terrorists have won. We might as well all change religion right now, pledge our faith in Allah and His Prophet Mohammed (peace be upon him), denounce reason, clad our women in burkas, and start learning all the Suras of the Koran.

All it takes is one disruptive passenger to keep a planeload of people stuffed in an airplane for hours, while idiotic security officers lay out all their luggage on the tarmac and do whatever else it is that they do, all the while treating free citizens as potential enemies. Meanwhile, 24-hour news channels provide uninterrupted coverage of the poor airplane sitting at a remote corner of an airfield as if this was the most important event happening on this planet.

The terrorists wanted to frighten me and they succeeded… I am terrified, actually. But no, I’m not terrified of madmen trying to blow up my plane (it might happen, but the probability remains extremely low), what I am terrified of is uniformed guardians of our collective  safety and security taking away my rights and my liberty, a threat I have to face every time I go near an airplane.

Twenty-three years ago, I escaped from Communism. I thought I was seeking political asylum. I didn’t realize that I’d end up in an insane asylum. What can I say… the Commies tried to warn me, I just didn’t listen.

 Posted by at 9:23 pm
Dec 262009
 

I found a Christmas message in my Gmail mailbox today, announcing that they have done “something a little different” this year. I clicked on the link out of curiosity; I expected some sort of lame attempt at holiday humor. Instead, I found an announcement from Google: a donation of $20 million to various charities, as a Christmas gift to all.

 Posted by at 1:17 pm
Dec 232009
 

In case anyone was under the impression that cultural vandalism, such as the blowing up of historical monuments that happen to stand in the way of someone’s ideology, is the monopoly of Islamic fanatics, think again. The other day, Georgia’s (the country’s, not the US state’s) democratically elected president ordered the destruction of a Soviet-era monument, ostensibly to make room for a new parliament building. Unfortunately for him (not that I care) and for two innocent spectators (that I do care about) the demolition was botched, and flying concrete killed these two people, a mother and her 8-year old daughter. As to the memorial… I may not have too many fond thoughts about the Soviet Union and the Red Army, but few things are less controversial than a memorial dedicated to a victory over fascism and the glory of what Russians call the Great Patriotic War… in which, incidentally, some 300,000 Georgians also happened to have lost their lives.

 Posted by at 3:04 pm
Dec 222009
 

I have done many things in my misguided past as a programmer, but strangely, I never did much work with XML. Which is why a recent annoyance turned into an interesting learning opportunity.

I usually watch TV on my computer. (This is why I see more TV than many people I know… not because I am a TV junkie who really “watches” it, I am actually working, but I have, e.g., CNN running in the background, in a small window, and I do occasionally pay attention when I see something unusual. Or change to a channel with The Simpsons.) For years, I’ve been using various ATI All-In-Wonder cards. (No, I don’t recommend them anymore; whereas in the past, they used to attach a tuner to some of their really high-end cards, this is no longer the case, the base graphics hardware of their current crop of AIW cards is quite lame. Their current software sucks, too.) The old ATI multimedia program I am using, while far from perfect, is fairly robust and reliable, and among other things, it comes with a built-in program guide feature. A feature that downloads programming information from an online server.

Except that, as of last week, it was no longer able to do so; the server refused the request. Several customers complained, but to no avail; they were not even able to get through to the right people.

So what is a poor programmer to do? I have known about Schedules Direct, the fee-based but non-profit, low-cost replacement of what used to be a free service from Zap2It, providing the ability to download TV guide data for personal use. The information from Schedules Direct comes in the form of XML. The ATI multimedia program stores its data in a Paradox database. In theory, the rest is just a straightforward exercise of downloading the data and loading it into the Paradox tables, and presto: one should have updated programming information.

Indeed things would be this simple if there were no several hurdles along the way.

First, the Paradox database is password-protected. Now Paradox passwords are a joke, especially since well-known backdoor passwords exist. Yet it turns out that those backdoor passwords work only with the original Borland/Corel/whatever drivers… third party drivers, e.g., the Paradox drivers in Microsoft Access 2007, do not recognize the backdoor passwords. Fortunately, cracking the password is not hard; I used Thegrideon Software’s Paradox Password program for this purpose, and (after payment of the registration fee, of course) it did the trick.

Second, the Microsoft drivers are finicky, and may not allow write access to the Paradox tables. This was most annoying, since I didn’t know the cause. Eventually, I loaded the tables on another machine that never saw the original Borland Database Engine, but did have Access 2007 installed (hence my need for a “real” password, not a backdoor one), and with this machine, I was able to write into the files… not sure if it was due to the absence of the BDE, the fact that I was using Office 2007 as opposed to Office 2003, or some other reason.

So far so good… Access can now write into the Paradox tables, and Access can read XML, after all, Microsoft is all about XML these days, right? No so fast… That’s when I ran into my third problem, namely the fact that Access cannot read XML attributes, whereas a lot of the programming information (including such minor details like the channel number or start time) are provided in attribute form by Schedules Direct (or to be more precise, by the XMLTV utility that I use to access Schedules Direct.) The solution: use XSLT to transform the source XML into a form that Access can digest properly.

With this and a few lines of SQL, I reached the finish line, more-or-less: I was able to update the Paradox tables, and the result appears digestible to the ATI media center application… though not to the accompanying Gemstar program grid application, which still crashes, but that’s okay, I never really used it anyway.

And I managed to accomplish all this just in time to find out that suddenly, the ATI/Gemstar update server is working again… once again, I can get programming information from them. More-or-less… a number of channels have been missing from the lineup for a long time now, so I may prefer to use my solution from now on anyway. Perhaps when I have a little time, I’ll find out what causes the crash (I have some ideas) and the program grid application will work, too.

Needless to say, I know a lot more about XML and XSLT than I did 24 hours ago.

 Posted by at 7:41 pm
Dec 202009
 

Thank you, religious nuts, for many things, from the “clash of civilizations” to Creationism, or for something as mundane yet annoying and disgusting as your success at torpedoing the sequels to the film The Golden Compass. The book from which it was made is superb, the film was fine, and I’d have loved to see the sequels… alas, in the name of religious freedom and civil rights, the sequels won’t happen. So allow me to quote my favorite atheist author, Kurt Vonnegut, and tell you to go jump in a lake.

 Posted by at 4:52 am
Dec 172009
 

I’m reading an opinion piece in last week’s New Scientist, by Michael Le Page and Catherine Brahic. It’s titled, “Why there’s no sign of a climate conspiracy in hacked emails”. It is intended to reassure us that “Climategate” notwithstanding, we should trust the basic science. Yet I feel that it misses the point on all counts.

Take the title, for starters. While I am sure there are conspiracy nuts out there who view the hacked e-mails as a smoking gun, I think many more people see a more nuanced picture: the e-mails prove no conspiracy, but they do demonstrate contempt towards dissenters and the general public, not to mention the scientific process, and they do raise questions about the validity of the so-called “scientific consensus” on climate.

But it’s not just the title that’s deceptive. The authors raise five points, in the form of questions and answers. At least that’s how the article appeared in print; on-line, two of the questions were turned into unambiguous statements, according to which we are “100% sure” that the world is getting warmer and it’s because of greenhouse gases as the main cause. No, we are not 100% sure. If you want to assign a percentage, then take the data, fit the models, and show us a covariance matrix that tells us exactly how sure we are that a long-term trend is present. Leave this “100%” nonsense to political activists.

The print edition stuck to the question-and-answer form. “How can we be sure that the world really is warming?” they ask, but it’s a misleading question: of course the world is warming, the real question is, how much of that warming is due to short/medium/long term natural periodicities, and how much of it is due to a more sudden (e.g., linear, exponential, etc.) trend that may be due to human activity. Do we have enough data to distinguish unambiguously (never mind 100%, 1-sigma can do nicely) natural fluctuations from more direct trends?

Then they ask, “How do we know greenhouse gases are the main cause?”, and assure as that “The physics is clear: carbon dioxide is a greenhouse gas, greenhouse gases warm the atmosphere, and CO2 is accumulating in the atmosphere.” This is pure nonsense of course, since I could just as well say something like, “urine is a liquid, adding a liquid to the oceans increases ocean volume, I keep peeing into the ocean, hence cities will be swallowed by rising sea levels”. Their answer sounds more like an attempt to divert attention away from genuine questions, such as those concerning the effectiveness of CO2 as a greenhouse gas (CO2 is a very weak greenhouse gas; for instance, if rising CO2 levels somehow reduced the amount of water vapor in the atmosphere, the net effect would be global cooling), the accuracy of models describing the effects of CO2 in the atmosphere (I’ve read a paper, for instance, that questions the ability of widely used physics models to deal properly with the discontinuity of the atmosphere-surface boundary), or the “chicken-and-egg” question concerning the climate record, namely the extent to which CO2 caused warming trends or rising temperatures caused an increase in CO2 during past warm periods.

Their third question reads, “So why are scientists ‘fixing’ temperature data?”, which they answer by explaining that raw data almost always has to be manipulated to correct measurement problems or reconcile measurements made in different ways. True. But that is no excuse to discard the raw data. Not to mention that the data manipulation that caught so many people’s attention in the Climategate e-mails was not about fixing up raw data… it was about using two incompatible sets of data to change the appearance of a fitted curve, lest it gives the wrong impression to a scientifically illiterate audience. They do address this issue separately in the on-line version, but the explanation they offer raises its own questions: for instance, they say that “there has been no attempt to conceal this”, but how does that reconcile with the phrase, “hide the decline”, quoted from the hacked e-mails?

Lastly, their final two questions are about the attempts to suppress skeptical papers and attempts to prevent data from being released. We’re told that an independent inquiry is still ongoing, and in any case, the scientists may not have had the right to release the data. That’s a non-answer. You don’t need an independent inquiry to explain how it is acceptable to “redefine the peer review process” just to keep skeptical papers out, and as to the data, how about answering the question insofar as it concerns data that they did have the right to release?

All in all, I could have come up with much better arguments myself… instead of attempting to side-step the questions, I’d have tried to address them. Data were manipulated because a fit indeed gave a curve that would give the wrong impression to the uninitiated, and adding the instrumental data to the fossil temperature record seemed like an honest “trick” to avoid this. Skeptical papers were suppressed because those involved may genuinely believe in their science, may genuinely believe that many of the skeptics are motivated by something other than pure scientific curiosity (especially if they happen to be financed by, say, a friendly neighborhood oil company), and may genuinely believe that we just don’t have time for this nonsense while the planet is heading towards a global disaster. Data were withheld because otherwise, all the time in the world would not be enough to deal with clowns who take that data, ignorantly (or nefariously) manipulate it, and come up with nonsense conclusions. These explanations may not justify the actions taken, but they might be closer to the truth in the end… and supposedly, truth and integrity are the only real currencies that science has at its disposal. Currencies which will be needed badly in the coming decades, in order to convince the inhabitants of Earth not to trash their planet beyond repair… regardless whether or not CO2 leads to global warming.

 Posted by at 2:43 pm
Dec 132009
 

In case there are still doubts, here’s another fine example demonstrating that our fearless guardians of freedom, liberty, and all that’s sacred to life at the US-Canada border might consider fascism as the preferred form of society: apparently, science-fiction authors have nothing better to do with their time than to assault hapless border guards. I have often said that my experiences on the border between Hungary and Ceaucescu’s Romania back in the 1980s were significantly less unpleasant than many of my crossings of the US-Canada border… the one thing I fail to understand is why, in these supposedly free societies, we don’t just fire these “public servants” en masse, why we allow them to treat us the way they do.

 Posted by at 3:46 am
Dec 072009
 

41,000 tons of CO2 is the amount of “CO2 equivalent” that the Copenhagen climate summit is expected to produce. No, it’s not the amount produced by Switzerland in a year, even though CNN’s Jack Cafferty said so, probably missing the phrase, “thousands of” in the column heading of Wikipedia’s statistics. But it IS the amount of CO2 some smaller or less developed countries, e.g., Slovenia, Lithuania, or Kenya produce in a day. Another way of looking at it is that during its 12 days, the climate summit will be responsible for about 0.004% of the entire world‘s CO2 output.

No need to worry, I am sure there is a neat “trick” that can be used to “hide” this embarrassing little data point, too, lest it dilutes the message about the coming climate disaster.

 Posted by at 9:32 pm
Dec 072009
 

I’m done reading The Soviet-Afghan War by Grau and Gress (eds.) The final paragraph of the book, which was prepared just before the US invasion of Afghanistan, is prescient: “It is easy to dismiss the Soviet failure in Afghanistan, but it is not wise. Armies seldom get to choose the wars in which they fight and this type of difficult war is as likely a future conflict as a war involving high-technology systems in which the sides seldom get close enough to see each other. Russia continues to fight guerrilla wars. Other nations may also have to.”

Indeed.

 Posted by at 3:16 pm
Dec 052009
 

Vyacheslav Tikhonov is not exactly a household name in the English-speaking world, but to most Russians and many East Europeans, especially if they’re of my age or older, he is well-known as the Soviet-era actor who played Standartenführer Stirlitz, perhaps the greatest of all fictional spies, and protagonist of the 1973 black-and-white television series Seventeen Moments of Spring. A series that, incidentally, I recently purchased on DVD, and I was surprised to find that it remains highly enjoyable; not only is it light on communist ideology, it also manages to portray the German enemy as humans, which is somewhat unusual for films of this era.

Anyhow, the sad news is that Tikhonov has died.

 Posted by at 12:34 am
Dec 022009
 

While I was never overly fond of Stephen Harper’s brand of Canadian conservatism, I was reasonably comfortable with him leading a minority government.  I might have preferred, though, a Liberal minority. I supported Stéphane Dion’s coalition idea, and I was appalled by the way the Conservatives delayed, and eventually avoided, the confidence vote.

None of this seems to matter anymore. Ignatieff, who was expected to bring charisma where Dion supposedly had none, not only failed to do so, he seems hell bent on leading his party into ritual suicide. Take this harmonized sales tax business in Ontario and BC. While it may be the technically sensible thing to do (indeed, that’s the way the sales tax should have been done, would have been done back when the GST was introduced were it not for provincial opposition to the idea), many argue that it’s precisely the wrong thing to do at the time of a recession, especially as the provinces are unwilling to lower the provincial rate at the same time, which means that harmonization will turn into a sizable tax grab. But even if none of that is true, the HST is quite unpopular… and now Ignatieff’s federal Liberals are supporting it.

If I were Stephen Harper, I’d engineer an election in the near future. I think a majority Conservative government is all but guaranteed this time.

 Posted by at 12:48 pm