May 292014
 

So I recently spent ten days in the United Arab Emirates.

Ten very busy days. I left on a Tuesday night, flying through London, only to arrive in Dubai late Wednesday night local time. This allowed me to have a workday, Thursday, before the Muslim weekend (Friday and Saturday) began. Then, a full work week, another weekend, and one more workday (a Sunday) before I headed back home.

I am still digesting the memories. This was my first time ever, anywhere in the Middle East. It was a very busy time, to be sure, and I didn’t take many pictures; some of the most interesting places that I saw, courtesy of my hosts, are not the kind of places where a visitor, especially a foreign national, is supposed to take pictures.

But, I did take a few pictures elsewhere. Not very good ones (taken with my phone), but pictures anyway.

For starters, here is the world’s tallest building:

And here is a view of downtown Dubai, as seen while standing right underneath the world’s tallest building:

At the foot of the world’s tallest building is the world’s largest shopping mall. Inside that shopping mall, if not the world’s largest then one of the world’s largest aquariums, with thousands of fish and other sea creatures. The pictures I took were not very good ones (for starters, there were these reflections of the lights of a shop right behind me) but that giant ray in the upper left was something to behold:

If I wanted to sum up my impressions of the UAE with one picture, it would be this one, the entrance of the “Pork Shop” section inside a supermarket within the Dubai Mall:

This picture captures the essence of the UAE: a (so far remarkably successful) attempt to reconcile deeply conservative Muslim values with a cosmopolitan, multicultural 21st century society. All the more astonishing when one considers that this grand experiment is taking place in a country that is not a representative democracy but a constitutional union of seven absolute monarchies.

Indeed, this newspaper article, though somewhat propagandistic (and lest we forget, the press in the UAE is at best “partially free”), demonstrates just how proud they are of their tolerance:

Of course what I was there about was not to judge the cultural tolerance of the UAE but to work on a specific project that had more to do with this:

More about it later, as things unfold.

I only spent a few days in Dubai; most of the time, I was in the fine capital city of Abu Dhabi:

Inside an Abu Dhabi shopping mall, I found a skating rink. Yes, it was 40 C outside (not too warm, I was told; it was still springtime, it would get a lot warmer in the summer) but people were skating. I am not into skating myself so I don’t know for sure, but I don’t believe you can skate anywhere in Ottawa in May.

Being there on business, however, I spent most of my time in offices. In a specific office, to be precise. So most of what I saw of Abu Dhabi was from the office window. Namely a highway:

and a parking area and some more office buildings:

I arrived in Abu Dhabi after three days in Dubai, and I thought I was done with jet lag. But then… on my first night in Abu Dhabi, I noticed that overnight, they were doing work on a metal roof some four stories below my hotel window. The noise didn’t help as I was struggling to fall asleep, but eventually, I managed. I did not sleep very well. On the second night, there was no noise yet I slept even worse. But it was the third night that was like real hell. I went to sleep at around midnight, only to be woken up some half an hour later by the sound of a buzz saw being used to cut sheets of corrugated metal. I phoned the front desk and complained. The sawing stopped, and I was assured that the maintenance work was finished, but that was not the case: work continued on the roof under a portable light, complete with some yelling and clanging as pieces of corrugated metal were being thrown around. At 4:30 AM, I phoned the front desk again. A few minutes later, as I was struggling to go to sleep, they phoned me back (!), asking if a manager and an engineer could come up to my room. I screamed “NO! It’s four thirty in the morning and I am trying to sleep, not have a conference with a manager and an engineer!”

To their credit though, the next day they gave me another room that did not overlook the aforementioned roof. The room was an upgrade, and by the evening, I found a nice bowl of fruit on my table along with a letter from the hotel manager apologizing for that very bad night. I have to say… this was old school classy. (Arguably, not having such noisy work done during the night would have been even classier but still. This was a classy apology.)

From my new hotel room, I could see the freeway bridge that leads to Dubai:

On my last full day in Abu Dhabi, I managed to catch a beautiful sunset from a hotel window. The picture does not give it justice… the sunset was really spectacular.

Then, it was all over and I was on my way back to Dubai, on a highway complete with roadside signs, strip malls and the like, which (apart from the prevalence of Arabic script) could have been anywhere in North America:

There was one thing I saw along the route that I could not figure out. A giant parabolic antenna. It seemed much too large for communication with Earth-orbiting satellites, but if that’s not what it was, then what was it? Radio astronomy? Didn’t look like the right place for it (much too populated, too much radio noise). Deep space communications? I’m not aware of a deep space station in the UAE. So perhaps it was just a high bandwidth satellite communication station. Still… I am curious.

And then it was all over. I next spent 14 hours inside a 777, flying direct from Dubai to Washington. Something I never experienced before was multiple layers of security, namely an extra screening station at the gate, and a procedure that required all passengers to be screened and the entrance to the gate waiting area closed before the corridor to the airplane was opened. While on board that 777, I thought about the poor souls on an identical plane, MH370, whose fate still remains unknown. I survived the long trip in part because I avoided eating too much. I skipped dinner. After I ate my breakfast with gusto many hours later, a very kind stewardess remarked that she was relieved to see me eat; after I skipped dinner and didn’t eat anything, she was worried about me! It’s rare to see that kind of personal attention on an airplane these days.

Changing planes in Washington was less stressful than I expected (having a Nexus card certainly helped) and I arrived home in due course without trouble. And as I was able to sleep on the flight, although I was  tired for the next few days, jet lag was not bothering me badly.

In all likelihood, I’ll go back to the UAE again soon. Although I hate to be away from home, I found the place fascinating and the people I had the good fortune to work with very pleasant, highly capable professionals, so I have reasons to look forward to another trip.

 Posted by at 11:09 pm
May 282014
 

A few months ago, I upgraded my rooted Samsung Galaxy S3 (SGH-I747M) smartphone. In the process, I lost root, which was rather annoying. I was able to re-root the phone using CF-Auto-Root, but only after decrypting its memory first. When I tried to re-encrypt the phone afterwards, the process failed. The log (adb logcat) showed that it was unable to unmount the /data partition.

I have since tried several approaches to encrypt the phone while retaining root, but to no avail. Here are the things I tried over the past few months:

  • Temporarily disabling SuperSU;
  • Disabling SuperSU using Triangle Away;
  • Wiping the phone (factory reset) while retaining root;
  • Turning off SuperSU logging;
  • Booting into Safe Mode;
  • Manually unmounting /data and most other partitions;
  • As above, in Safe Mode;
  • Unrooting, encrypting, and then rooting using Kingo Android Root (supposedly worked for some people; didn’t root the phone for me).

OK, I give up. I don’t really need to encrypt the stupid phone.

 Posted by at 9:12 pm
May 222014
 

Arguably America’s most prestigious (but certainly the oldest; it’ll turn 150 next year) weekly newsmagazine, The Nation, published a lengthy article titled Hungary and the End of Politics. The topic is the state of politics in Hungary in view of the recent electoral victory of the ruling FIDESZ party and the authoritarian tendencies of said party and its leader, Viktor Orban.

Beyond describing the steps taken by Orban’s government in the last four years to solidify and entrench itself by building a de facto one-party state, the lengthy article (12 printed pages, as printed from the Web site) also puts Hungary’s political transformation into a European and geopolitical context.

Orban's soccer academy in his birthplace of Felcsút, Hungary. The marker indicates the location of Mr. Orban's residence.

Soccer academy in Orban’s birthplace of Felcsút, Hungary. Marker indicates Orban’s residence.

If I have any complaints about the article, it’s that it does not go far enough. For instance, it did not even mention Orban’s pet project, a soccer “academy”, complete with multiple regulation-size soccer fields and a new $17 million stadium with a capacity of 4000, built literally just a few yards from the home of Mr. Orban in his birthplace, a village of only 1800 inhabitants. Or the recent de facto nationalization of tobacco shops which eliminated the livelihood of scores of small tobacconist businesses, while handing these concessions to loyal FIDESZ supporters. Or implementing a degree of central control over the education system that was unheard of even under communism, where school principals no longer have the authority over petty cash to purchase extra chalk or a spare lightbulb.

No doubt this article, like most others published in the Western press, will be met with a well-organized attempt to discredit it. Its minor inaccuracies (e.g., it mentions Hungary’s nuclear power plants, whereas there is only one) will be portrayed as evidence of journalistic ignorance. Its overall tone will be attributed to the systematic “anti-Hungarian” efforts of liberals (or Jews!) bent on destroying Hungarian nationhood.

Nonetheless, no matter how FIDESZ’s loyal supporters manage to fool themselves, it does not change the fact that under the guise of anti-communism and Christian nation-building, a thoroughly corrupt, oligarchic autocracy is being constructed in the heart of Europe. Twenty-five years ago, Hungarians were proud to live in the “merriest of barracks”, the most liberal state behind the Iron Curtain, which found itself at the forefront of democratic transition as the Soviet empire collapsed. Today, all I can hope for is that Hungary’s example will not be followed by other European nations.

 Posted by at 7:33 pm
May 162014
 

So here I am, sitting in a hotel room in the 21st century city of Abu Dhabi. After a long day in front of my laptop, I spent some more time with said laptop, this time watching a movie. I bought the DVD of Cloud Atlas a few months ago, but I never had the time to watch it… until now.

All I can say is… Wow. If you give this movie the attention it deserves, it is immensely rewarding. Cinematic science fiction at its absolute best. A movie that borrows some elements from other works, e.g., Kubrick’s 2001 Space Odyssey, or Soylent Green, or The Fifth Element… but it is an absolutely original, astounding tale or rather, six interwoven tales set in the past, present and future, forming a true cautionary tale in the best traditions of classic science-fiction.

I know I’ll watch this movie again… probably many times. For me, it’s going to be one of those movies that will stay with me for the rest of my life.

Oh… and the movie should have received an award, if only there was one, for the most creative cinematic use of a cat. I laughed so hard, I almost had an unfortunate accident involving pants and other unmentionables.

 Posted by at 6:26 pm
Apr 292014
 

The other day, I watched a delightful 30+ year old movie that I never saw before, The World According to Garp. In one scene, the protagonist decides to buy a house after a small airplane crashes into it, explaining that it is unlikely to ever happen again; that house has been “pre-disastered”. (Yes, it’s a logical fallacy, but the scene was still funny.) I think it was this movie that inspired me today, when I finally managed to talk to a human representative at Scotiabank, after being endlessly and needlessly frustrated by a voice recognition answering system.

450px-Sony_Qrio_Robot_2Voice recognition systems infuriate me. I am not alone, and this should come as no surprise. The phenomenon when something that looks, feels (or in this case, sounds) almost, but not quite, human creeps out people is so well known, it even has a name: Uncanny Valley. I am perfectly comfortable with answering systems that ask me to make menu choices by pressing buttons on my phone. Yet I am filled with blind fury and rage by voice response systems that, usually in an overly friendly and syrupy-sweet voice, ask me to explain, in words, what I am calling about. “I WANT TO TALK TO A FREAKING HUMAN YOU STUPID MACHINE!”

Fortunately, my self-control prevailed this morning. When (after stabbing “0” more than a few times with my finger while shouting nonsense, finally convincing the voice recognition algorithm to give up) I was at last connected to an actual (very nice) human lady, I remained polite. However, at the end of our conversation, I could not refrain from asking her to please pass on my request to the Powers That Be at Scotiabank to get rid of this stupid voice recognition system. She agreed that indeed, many customers are annoyed like I was. I commented on the fact that it was usually people like her who become the victims of their callers’ anger… when they arrive, like I did, pre-high-blood-pressured. She laughed so hard… I think I made her day.

As I am writing this, I am thinking that there might be another way to climb out of the uncanny valley: better AI. This is, after all, 2014, the age of self-driving cars and Google Search that knows what you are about to type even before you do. I could easily imagine a voice recognition system that, instead of spoon feeding me instructions like I was mentally retarded, began a natural conversation: “Hello, this is the Scotiabank automated assistant. This call may be recorded for quality assurance. How can we help you today?” (Avoid talking like the caller was retarded. Avoid using “I” because you are not a self-aware person. Speak in a natural voice, not like you were talking to someone hard of hearing, not unless they indicate that they are, in fact, hard of hearing.) If this system could actually carry out a decent conversation instead of being a poorly thought-out replacement of a touchtone menu system, it might work a lot better… and, for that matter, may even reduce the need for human operators as I bet it could respond to many inquiries successfully without human intervention.

 Posted by at 9:09 pm
Apr 272014
 

Someone called it “thinly veiled racism” but I think it is blatant and overt racism, this flyer that was circulated in Brampton, Ontario in the past few days.

immflyer

Many prominent Canadians spoke up against this flyer, and I agree with them wholeheartedly. As Justin Trudeau observed, Canada is stronger not despite the country’s diversity but because of it.

That said, some are calling for prosecution, alluding to Canada’s hate speech laws. To these people, I say, back off. You cannot suppress hatred with oppression. Or to put it in other words, we must prevail on the basis of the strength of our ideas, not the strength of our police force.

 Posted by at 8:30 am
Apr 172014
 

If I had to move to a deserted island with only a dozen or so books for the rest of my life, one of them almost certainly would be 100 Years of Solitude, by Nobel prize winning Colombian author Gabriel Garcia Marquez. I first read this book in the 1970s and it’s one of those books that I have re-read from cover to cover, once every decade or so, ever since. It is an absolutely remarkable, unique, wonderful story.

Alas, Gabriel Garcia Marquez is no longer with us. Less than an hour ago, a breaking news e-mail from CNN informed me that he passed away after having been hospitalized for a lung and urinary tract infection. He was 87.

I admit the news brought a tear to my eye.

May he rest in peace, perhaps joining the Buendia family in Macondo. Adios, Gabo.

 Posted by at 5:26 pm
Apr 162014
 

Am I the only one who feels that the way the situation is escalating in Ukraine is eerily reminiscent of 1980s vintage TV movies depicting the events leading up to WW3?

Probably not.

And of course it’s purely symbolic, but I keep reminding myself that this year is the 100th anniversary of the beginning of The War to End All Wars…

 Posted by at 7:00 pm
Apr 102014
 

In light of the latest Internet security scare, the Heartbleed bug, there are again many voices calling for an end to the use of passwords, to be replaced instead by fingerprint scanners or other kinds of biometric identification.

I think it is a horrifyingly, terribly bad idea.

Just to be clear, I am putting aside any concerns about the reliability of biometric identification. They are not as reliable as their advocates would like us to believe, but this is not really the issue. I am assuming that as of today, biometric technologies are absolutely, 100% reliable. Even so, they are still a terrible idea, and here is why.

First, what happens if your biometric identification becomes compromised? However it is acquired, it is still transmitted in the form of a series of bits and bytes, which can be intercepted by an attacker. If this were a password, you could easily change it to thwart an attack. But how do you change your fingerprint? Your retina print? Your voice? Your heartbeat?

Second, what happens if you “lose” your biometric identification marker? Fingers get chopped off in accidents. People lose their eyesight. An emergency tracheotomy may deprive you of your normal voice. What then?

And what about privacy concerns? There have been rulings I understand, in the US and perhaps elsewhere, that imply that the same legal or constitutional guarantees that protect you from being compelled to reveal a password may not apply when it comes to providing a fingerprint, a DNA sample, or other biometric markers.

The bottom line is this: a password associating an account or a service to a unique piece of secret knowledge. This knowledge can be changed, passed on, or revoked, and owners may be protected by law from being compelled to reveal it. Biometric identification fundamentally changes this relationship by associating the account or the service with an unmalleable biometric characteristic of a person.

Please don’t.

 Posted by at 10:27 am
Apr 082014
 

winxp-supportMicrosoft officially ended support for Windows XP today.

I hope someone will sue the hell out of them.

To be clear, I understand why they are doing this: they don’t want to continue supporting forever an obsolete, 14 year old operating system.

But something like one quarter or so of the world’s computers continue running Windows XP. One can argue that Microsoft is not responsible for the behavior of system owners who, for whatever reason, choose not to update their systems. But what about those who do everything right and still become the victims of cyberattacks that utilize networks of unpatched Windows XP computers? The decision to terminate support makes Microsoft a de facto accomplice of these cybercriminals.

My fearless prediction is that within a few months, Microsoft will quietly start releasing high priority security patches for Windows XP again.

Meanwhile, Microsoft began releasing a significant update to Windows 8.1. I noticed that when I updated my Windows 8.1 laptop, it booted directly into the Windows desktop. Wow! Now all we need is a decent Start menu and the ability to perform basic system configuration tasks without going through the touch-optimized “Modern UI” and all will be bliss again. One of these days, I might even upgrade one of my development workstations to Windows 8.1!

 Posted by at 10:21 pm
Apr 082014
 

Quebec-CanadaYesterday, the good citizens of Quebec sent a clear message to the sovereignist Parti Quebecois: they said no to a possible referendum, and no to the divisive politics of the PQ’s proposed “charter of values”.

The day before yesterday, the good citizens of Hungary sent a clear message to the “Viktator”, Hungary’s autocratic Prime Minister Viktor Orban, about his nationalist politics, disastrous “unconventional” economic policies, and systematic abuse of his two-thirds constitutional supermajority to weaken Hungary’s fledgling democratic institutions. “More please,” was the message as voters gave Mr. Orban another strong mandate, possibly another supermajority.

What can I say? Je suis reconnaissant d’être Canadien. Even if my knowledge of French is shamefully limited.

 Posted by at 10:08 pm
Apr 072014
 

Remarkable news from Australia: a U.S. Navy ship* observed an acoustic signal for over two hours that appears to be from two separate “ping” transmitters. This would be consistent with a lost aircraft’s flight data and cockpit voice recorders, both with still operating acoustic transmitters.

This is amazing.

Speaking of pingers, yesterday the ridiculousness on CNN reached new limits. The pingers have batteries that are supposed to last approximately 30 days. The actual duration depends on the age of the battery, its maintenance and storage. And when the battery dies, the process may be a gradual process (i.e., the ping signal weakens but does not necessarily stop immediately.)

None of this prevented CNN from showing a countdown clock, accurate to the second, showing the remaining life of the pinger batteries.

*Actually, a U.S. Navy device towed by an Australian ship.

 Posted by at 12:20 am
Apr 042014
 

A physics meme is circulating on the Interwebs, suggesting that any length shorter than the so-called Planck length makes “no physical sense”.

Which, of course, is pure nonsense.

The Planck length is formed using the three most fundamental constants in physics: the speed of light, \(c = 3\times 10^8~{\rm m}/{\rm s}\); the gravitational constant, \(G = 6.67\times 10^{-11}~{\rm m}^3/{\rm kg}\cdot{\rm s}^2\); and the reduced Planck constant, \(\hbar = h/2\pi = 1.05\times 10^{-34}~{\rm m}^2{\rm kg}/{\rm s}\).

Of these, the speed of light just relates two human-defined units: the unit of length and the unit of time. Nothing prevents us from using units in which \(c = 1\); for instance, we could use the second as our unit of time, and the light-second (\(= 300,000~{\rm km}\)) as our unit of length. In other words, the expression \(c = 300,000,000~{\rm m}/{\rm s}\) is just an instruction to replace every occurrence of the symbol \({\rm s}\) with the quantity \(300,000,000~{\rm m}\).

If we did this in the definition of \(G\), we get a new value: \(G’ = G/c^2 = 7.41\times 10^{-28}~{\rm m}/{\rm kg}\).

Splendid, because this reveals that the gravitational constant is also just a relationship between human-defined units: the unit of length vs. the unit of mass. It allows us to replace every occurrence of the symbol \({\rm kg}\) with the quantity \(7.41\times 10^{-28}~{\rm m}\).

So let’s do this to the reduced Planck constant: \(\hbar’ = \hbar G/c^3 = 2.61\times 10^{-70}~{\rm m}^2\). This is not a relationship between two human-defined units. This is a unit of area. Arguably, a natural unit of area. Taking its square root, we get what is called the Planck length: \(l_P = 1.61\times 10^{-35}~{\rm m}\).

The meme suggests that a distance less than \(l_P\) has no physical meaning.

But then, take two gamma rays, with almost identical energies, differing in wavelength by one Planck length, or about \(10^{-35}~{\rm m}\).

Suppose these gamma rays originate from a spacecraft one astronomical unit (AU), or about \(1.5\times 10^{11}~{\rm m}\) from the Earth.

The wavelength of a modest, \(1~{\rm MeV}\) gamma ray is about \(1.2\times 10^{-12}~{\rm m}\).

The number of full waves that fit in a distance of \(1.5\times 10^{11}~{\rm m}\) is, therefore, is about \(1.25\times 10^{23}\) waves.

A difference of \(10^{-35}~{\rm m}\), or one Planck length, in wavelength adds up to a difference of \(1.25\times 10^{-12}~{\rm m}\) over the \(1~{\rm AU}\) distance, or more than one full wavelength of our gamma ray.

In other words, a difference of less than one Planck length in wavelength between two gamma rays is quite easily measurable in principle.

In practice, of course we’d need stable gamma ray lasers placed on interplanetary spacecraft and a sufficiently sensitive gamma ray interferometer, but nothing in principle prevents us from carrying out such a measurement, and all the energy, distance, and time scales involved are well within accessible limits at present day technology.

And if we used much stronger gamma rays, say at the energy level of the LHC (which is several million times more powerful), a distance of only a few thousand kilometers would be sufficient to detect the interference.

So please don’t tell me that a distance less than one Planck length has no physical meaning.

 Posted by at 11:09 am
Apr 012014
 

I checked my Google AdSense report moments ago, and much to my delight I found that most of my earnings today were due to clicks from Jupiter’s icy moon Europa.

What a nice surprise on the first day of a new month, April.

Wait a moment… First day? April???

 Posted by at 4:20 pm
Apr 012014
 

When the European Organization for Nuclear Research, better known by its French acronym as CERN, presented their finding of the Higgs boson in the summer of 2012, the world was most impressed by their decision to show slides prepared using the whimsical Comic Sans typeface.

Emboldened by their success, CERN today announced that as of April 1, 2014, all official CERN communication channels will switch to use Comic Sans exclusively.

 Posted by at 11:12 am
Mar 302014
 

People or, for that matter, nation states are known by the company they keep.

Here is the list of nations that supported Russia in the recent UN General Assembly vote on the matter of Russia’s occupation of the Crimean peninsula:

  1. Armenia
  2. Belarus
  3. Bolivia
  4. Cuba
  5. North Korea
  6. Nicaragua
  7. Sudan
  8. Syria
  9. Venezuela
  10. Zimbabwe

All leading champions of human rights, freedom and democratic values, I see.

 Posted by at 10:57 am
Mar 272014
 

It was less than 24 hours ago that I wrote about the death of a friend and now I have to do it again: I just learned that Palmer Hanson died a few days ago, after a prolonged illness.

Palmer’s name was well known to the calculator enthusiast community ever since the days of the friendly rivalry between owners of high-end Texas Instruments and Hewlett-Packard calculators in the late 1970s. Palmer was famous, among other things, for writing one of the fastest calendar printing programs for the TI-59 calculator. Though I never met Palmer in person, over the past decade and a half I corresponded with him many times, on account of my Web site dedicated to programmable calculators, rskey.org, and the archival material that I publish there.

It was only a few weeks ago that I received an unexpected parcel from Palmer, with a batch of rare newsletters that he sent to me for scanning and Web publication. I gladly complied. Another batch of newsletters followed shortly thereafter; this batch is still sitting on my desk, as I’ve been busy with work lately and have not had the time to do the scanning.

Therefore, I knew that Palmer was gravely ill, but I was nonetheless hoping that he would stay with us for a little while longer. Unfortunately, when our time comes there is not much we can do, and Palmer’s time came after a long and, I sincerely hope, happy life.

Googling his name just now, I came across a video of a presentation he gave less than two years ago, at HHC2012:

Good-bye, Palmer. I feel privileged to have known you, even if it was just online.

 Posted by at 1:13 pm