Oct 272012
 

I gave this post a provocative title intentionally. I am a one-time conservative voter. One reason why I feel disenchanted with conservatives (not just in Canada, mind you) these days is that they seem to have politicized science at every opportunity. Sure, others have done the same thing in the past (liberals are certainly no knights in shining armor) but the past is the past, right now I am worried about the present. Reproductive health, stem cell research, environmental science, climate change, you name it… if they don’t like the result, they attack it, and if the result withstands politically motivated attacks, they move on to attack the researcher. Or, as the case might be, they do their darnedest to undermine the integrity of the data.

This is precisely what happened when Canada’s conservative government eliminated the mandatory “long form” census that was sent to 20% of Canadian households. Sure, there were legitimate privacy concerns that could and should have been addressed (I even wrote a letter to the Chief Statistician myself many years ago when we received the long form census and found some questions a tad sensitive, and the safeguards against being able to personally identify responders inadequate.) But eliminate the long-form census completely, making it “optional”? That is a bone-headed stupid move. The most charitable interpretation is that the government simply didn’t know what they were doing because they don’t understand statistics. A more sinister possibility is that they knew exactly what they were doing, and they are undermining the integrity of Statistics Canada’s data sets on purpose. In light of what has been done and said in recent years, despite my general dislike of conspiracy theories, I am leaning towards accepting this interpretation.

And now the results are beginning to arrive, demonstrating the validity of all those concerns. According to the data collected, the percentage of people in Canada whose mother tongue is English remained the same despite the fact that in the meantime, Canada received 1.1 million new immigrants, 80% of whom had a mother tongue other than English of French. Or that the number of people in Canada whose mother tongue is a non-official language supposedly dropped by 420,000, again despite the above-mentioned immigration statistics.

Of course these results make no sense. What they reflect is a faulty data collection methodology. A methodology forced upon Statistics Canada by a political leadership that finds it appropriate to meddle with science.

The damage due to such meddling is profound and lasting. There is the immediate damage of distorted results. This can be fixed easily; for instance, if Canada were to return to the long form census, this one census could be discarded as an outlier and the long-term integrity of the data would remain assured. But by politicizing the science and polarizing researchers, they undermine the process itself, creating a partisan mindset. Defenders of scientific integrity will unavoidably find themselves participating in political debates and feel forced to adopt polarized positions. Climate scientists often sound more like preachers of a religion than impartial researchers. Could this be, at least in part, due to the polarized atmosphere in which their scientific results are scrutinized? Ultimately, it is the integrity of the scientific process that suffers, and that’s bad news for all of us, regardless of our political views.

 Posted by at 10:40 am
Oct 222012
 

Think of an essential part of your life. Now imagine relinquishing control over it to others, people you don’t know, people who may in fact be in different countries, providing a service on an industrial scale. Most of the time they do an admirable job; but when they make a mistake you and many others suffer, possibly with life-altering consequences.

No, I am not describing cloud computing. I could have, but I was actually thinking about manufactured foods. When you buy a bag of snacks at a supermarket, for instance. The materials used to manufacture that food come from all four corners of the world. Some are organic in origin, often waste products from the processing of hundreds of animals or tons of vegetables. Others are manufactured at chemical plants, e.g., from petroleum. And when the controls fail; when an unscrupulous manufacturer in China, for instance, introduces an unapproved substitute to boost the measured protein content of a manufactured ingredient, people or pets suffer, even die.

But what I am really struck by are these similarities between cloud computing and “eating from the cloud”: that for the sake of convenience and easy access we willingly relinquish control over something essential, and that we generally trust society to such an extent that we are not the least bit worried when a private e-mail with an intimate personal photograph travels halfway around the world before arriving in our Inbox (which itself may be physically located in another country, perhaps on another continent); or when we put bits of food in our mouths without the slightest worry about the origin of its ingredients produced in distant lands by people we will never get a chance to know.

 Posted by at 8:27 am
Oct 162012
 

The news today is that hackers associated with the Anonymous group have found the identity of the pedophile who blackmailed BC teenager Amanda Todd into suicide. My immediate reaction was probably not unusual: Good, I thought, I hope the creep gets what he deserves.

But then… how do we know that Anonymous is right? What if they made a mistake? Isn’t this why we have a system of courts and judges instead of vigilante justice?

Indeed, it turns out that the same YouTube account that was used to post details on the alleged pedophile today posted another video yesterday in which they suggested that Amanda Todd isn’t even real. Their “proof”? A Facebook group dedicated to Amanda Todd that was created weeks before her death. One YouTube commenter used rather direct language to indicate his disapproval: “Are you a fucking idiot? The title of a Facebook page can be changed by the admin at ANY TIME. This means that a page made in June with an unrelated title like ‘Anonymous is fucking gay’ can be changed after Amanda Todd’s death to say ‘R.I.P Amanda’. ”

The wheels of the justice system grind frustratingly slowly at times, but if this YouTube video represents the quality of the investigation conducted by Anonymous, then I still prefer to wait for the courts rather than see a raging mob go after the wrong person.

 Posted by at 10:15 am
Oct 152012
 

This is not some fringe moron but a Republican representative for Georgia’s 10th district. Member of the Tea Party caucus. And a physician to boot:

Groan. I guess I must be a servant of the Devil then (go, Lucifer!) as I, too, spread the “lie from the pit of hell” called the Big Bang theory. Or the lie called “evolution”. Or the lie called “embryology” (that’s a new one for me; would you know what’s wrong with embryology from a Tea Party perspective?) What next, write down the Friedmann equations, be burned at the stake?

Now this is why, even if everything you told me about Obama and his Chicago lot was the gospel truth, I’d still prefer them over Republicans these days. I’d rather take 21st century corruption than go back to the Middle Ages.

Part of me wonders (hopes, even) that this is just a cynical attempt to attract votes and he is not actually this stone dumb stupid. But I don’t know what it says about the Republican party these days if these are the kinds of votes its representatives go after.

 Posted by at 12:22 pm
Oct 142012
 

It’s rare these days that I add a new calculator, even a not particularly exciting non-programmable model, to my “museum“, but the other day, I did find an old Sharp 4-function calculator that was previously unknown to me in a thrift store: The Sharp EL-102M.

Sharp EL-102M

 Posted by at 10:29 am
Oct 062012
 

Wow. If these plots are to be believed, Voyager 1 may have reached the heliopause at last:

This is, well, not exactly unexpected but still breathtaking.

The discovery of the heliopause was one of the “holy grail” science objectives of the extended “interstellar” mission of the twin Voyager spacecraft. If confirmed, it means that Voyager 1 is the first man-made object to have entered the interstellar medium, traveling through a region in the outer solar system that is no longer dominated by charged particles from the solar wind. (Gravitationally, this is still very much our Sun’s domain; there are comets out there with elliptical orbits that extend to many thousands of astronomical units.)

Not bad for a spacecraft that was launched over 35 years ago and flew by Saturn just a few months into the presidency of Ronald Reagan. Its twin finished its flyby of Neptune when the Berlin Wall was still standing. And they are both still alive and well. Voyager 1 is more than 120 astronomical units from the Sun these days. It takes about 17 hours for its radio signal to reach the Earth. If all goes well, it has sufficient electrical power to operate its on-board instruments for another decade or so.

 Posted by at 12:40 pm
Oct 042012
 

I admit I was underwhelmed by Mr. Obama’s presidential debate performance last night, and like many others, I think Mr. Romney exceeded expectations.

I was particularly annoyed by the number of opportunities missed by Obama to strike back at his opponent. The obvious one, of course, is whether Romney really believes killing Big Bird is the secret to a healthy economy. But more importantly… does Romney really believe that when you get a heart attack and you suddenly realize that your insurance company is screwing you, you can easily switch insurance? And what was this nonsense about “panels of government bureaucrats”? How is that any worse than panels of private insurance company bureaucrats who, unlike their government counterparts (who would only set policy) actually DO stand between you and your doctor, deciding which treatment to approve? Last but not least… a classic opportunity was missed when Mr. Romney was repeatedly talking about the middle class. Had I been in Obama’s shoes, I would have told him, “Mr. Romney, you never lived the life of a middle class American. I know middle class life. I lived most of my life as a middle class person. Mr. Romney, you are no middle class.”

That said, I was pleased by how civilized and intelligent this debate was. Neither candidate was trying too hard to be a partisan populist. This was refreshing.

 Posted by at 11:38 pm
Oct 042012
 

55 years ago today, the Space Age began when the Soviet Union launched “Elementary Satellite 1”, better known as Простейший Спутник-1; or, in Latin transliteration, as (Prosteishii) Sputnik-1.

Inadvertently perhaps, but Sputnik-1 also launched what is nowadays called “radio science”: observations that utilize a spacecraft’s radio signal to determine the spacecraft’s position (and thus, the forces that act on the spacecraft) and the properties of the medium through which the signal travels. In the case of Sputnik-1, this meant deducing the density of the upper atmosphere (from the drag force acting on the satellite) and the electromagnetic properties of the ionosphere.

Sputnik-1 spent a total of about three months in orbit (22 days operational) before it fell back to the Earth. By then, the Space Race was running full steam ahead, culminating in the manned Apollo Moon landings in 1969… an accomplishment that, today, seems to be more in the realm of fiction than back in 1957.

 Posted by at 2:25 pm
Oct 022012
 

A few days ago, I was reading a Hungarian language blog about how over the decades the streetcar systems of Budapest and other Hungarian cities were decimated or outright eliminated. While many blamed the communist regime for this, unfortunately there was a worldwide trend back then to get rid of “obsolete” surface light rail and replace them with “modern” motorways.

Take the case of our fine capital city. Ottawa is about to embark on its costliest public works project yet, a more than two billion (!) dollar project to build a light rail network. The sad thing is that Ottawa once had a respectable surface light rail system. After searching a bit online, I was able to find a system map from 1948. How lucky we would be if this system were still in existence.

 Posted by at 5:06 pm
Oct 022012
 

It’s not every day that I can actually add some new information, however trivial, to the “interwebs”. But today, I received a question from a calculator enthusiast. He wanted to know the meaning of a mysterious “BM” or “BN” logo that he found on the back of a vintage Sharp pocket computer:

I have seen this symbol many times before. I thought I knew what it meant but suddenly, I was stumped. What was it? A standards organization? A quality logo? Something else? Google was of no help either; I was searching high and low but couldn’t find anything even remotely resembling this strange sign.

Then I looked at my collection of scanned calculator manuals and sure enough, on the cover of a vintage Casio manual, I found it. Same logo. It even had some text next to it, but it was not legible. So I started searching my library of paper manuals.

Much to my disappointment, while the logo was present on a few of them, it was not much more legible than the one on the scanned copy. Eventually, I came across a manual that contained a semi-legible version:

So this is it. The logo reads, in case the above is not sufficiently legible:

BM MARK FOR
HIGH QUALITY
& RELIABILITY

Recognized by
JAPAN BUSINESS MACHINE
MAKERS ASSOCIATION

Mystery solved. And while I nave no clue as to why information about this once prevalent logo is not readily available online, I can confirm that searching with the above full phrases on Google reveals nothing relevant (with one exception; searching for the strings “BM MARK FOR” and “HIGH QUALITY” yields one relevant hit, a scanned PDF copy of the Canon Palmtronic F-7 manual from the Web site of Katherine Wasserman). Well, I guess that is going to change now.

 Posted by at 3:37 pm
Oct 022012
 

For the past several minutes, I have been staring at a Smithsonian Institution photograph, showing a younger version of Grace Hopper at a UNIVAC console, presumably working on an early version of the COBOL compiler.

No, it’s not Grace Hopper that I was staring at, nor the vintage equipment, not even the prominent ashtraysmagnetic tape protection rings. It was the three gentlemen surrounding Admiral Hopper (okay, she wasn’t an admiral yet back then): remarkably, one of them is African-American while another is apparently of Asian descent. Such a picture would not be particularly unusual today, but more than 50 years ago? It’s astonishing. Pity the photo credits do not tell us who these gentlemen were whose talent and perseverance allowed them to overcome racist prejudice. Just as Grace Hopper herself overcame sexist prejudice and went on to become the oldest commissioned officer in the US Navy at the time of her final retirement, a few months shy of her 80th birthday.

 Posted by at 10:58 am
Oct 022012
 

I just read in Physics Today (actually, their Facebook stream, I believe) that the world’s first commercial CD player, the Sony CDP-101 was launched exactly thirty years ago yesterday, on October 1, 1982.

I’ll refrain from making more “how time flies” comments. Still… thirty years already! What was more amusing though was reading a contemporary audiophile review of the new player and the then available (very meager) selection of CDs.

I have my own theory as to why some audiophiles dislike digital audio. Regardless of sampling and bandwidth, digital audio places a definite limit on what is being transmitted. If the source is sampled at 44,100 samples/second, you get 44,100 samples a second… gone are delusions about ultrasonic content subtly altering the experience or similar nonsense. With analog equipment, there are no such definite limits; you can always push things a little further, in tiny, incremental improvements. In other words, analog equipment gives you an illusion of freedom that is lost in the digital world.

I still prefer CDs over the hiss of audio cassettes or the pops and crackles of LPs. There is one piece of audiophile lore, however, that is not nonsense, much to my surprise. Cables. Years ago, after a discussion with a friend, I sat down and calculated the impedance of a typical piece of speaker cable. I don’t remember the exact numbers, but there was a very noticeable frequency dependance (amounting to several dB) in the audible range between 20 Hz and 20 kHz.

Still, it does not change my fundamental view on the subject: if a piece of music is not good enough to listen to on a crappy old transistor radio, no amount of expensive equipment will change it, just like putting lipstick on a pig does not make it cuter. And if the music is good enough to listen to on that old radio, you’ll enjoy it anyway.

 Posted by at 10:03 am
Sep 302012
 

Yikes! I am still getting used to Slackware 13.37 and all of a sudden, a new version, 14.0 is available! Same for Joomla… looks like Joomla 3.0 is out.

Neither updates are trivial. For Slackware 14.0, at the very least I must be mindful of properly updating the multilib packages to ensure that all 32-bit programs on my 64-bit server continue to run. As for Joomla, the update may be straightforward but will it break my customized templates? Perhaps I’ll stick to 2.5.x versions for now; they will remain supported until sometime in 2014, so I have plenty of time to test things. This is why I have test systems I guess…

Slackware, incidentally, is not only the oldest surviving Linux distribution still in active maintenance, but the second oldest of all distributions. It was a direct replacement of its predecessor, SLS, and I have been using Slackware ever since the demise of SLS. In other words, for about 18 years. In fact, I switched to Slackware not long before I established my domain name and first permanent Internet connection in 1994. My server back then? Why, an old 386SX desktop computer with 4 megabytes (yes, mega) of RAM and two MFM hard drives: one, a 70 MB drive, the other, a 40 MB one.

 Posted by at 6:44 pm
Sep 302012
 

There is a beautiful love poem by the 19th century Hungarian revolutionary poet Sandor Petofi about the end of September. Unfortunately it is, well, in Hungarian. I am sure there are English translations out there, but I am also certain that they aren’t quite the same as the original.

But there is an equally beautiful song by the immortal Kurt Weill. It is his September Song, best sung by his wife Lotte Lenya:

In a mere few months, I’ll be older than Kurt Weill was on the day of his death. A sobering thought on a cloudy, gloomy September 30.

 Posted by at 9:09 am
Sep 302012
 

There is, apparently, a call for a world-wide ban on anti-Islam “hate speech”: essentially, any speech that criticizes Islam or its prophet.

My immediate reaction was a flat out Cold War Soviet-style “Nyet”. Or simply to tell them to bugger off. Seriously bugger off.

But it was a friend of mine whose views on Islam are generally far less restrained who offered the most eloquent way to respond to these calls. It was a quotation supposedly from Voltaire:

“To learn who rules over you, simply find out who you are not allowed to criticize.”

 Posted by at 8:27 am
Sep 272012
 

Earlier this morning, I came across the following headline on Google News: “Fewer crashes when docs report bad drivers, study finds“.

The headline almost made sense. Yes, bad drivers cause crashes, indeed the main reason why modern operating systems crash these days is bad third-party drivers. So being able to identify and report a bad driver kind of makes sense, but how would you do that? And what does it have to do with your docs? Did the author mean perhaps that a document, say, an HTML page, could display a warning about a bad driver instead of invoking the driver (e.g., to display video) and risk crashing the browser or the computer?

Then, about three tenths of a second later, I realized that the headline was about road accidents and medical doctors.

 Posted by at 5:40 pm
Sep 272012
 

Once again, I was doing something dangerous: despite being a programmer, I chose to carry not just a screwdriver but also some power tools.

Two weeks ago, I had a plumbing crew remove our old bathtub. It was way overdue:

It took them no more than a couple of hours to reduce the bathtub to this:

And by mid-afternoon, they were done. The new bathtub was installed. Actually, let me emphasize: ONLY the new bathtub was installed:

From this point on, I was on my own. It was by choice: I dislike having workmen in my house and in any case, these are skills that, I think, are well worth learning.

Having never done tiles (or for that matter, sheet rock) before, I was taking things slowly. (Hey, I am also just a few months shy of fifty, somewhat overweight, and I usually spend my days in an armchair sitting in front of a computer.) Even so, a few days later, I was done with all the preliminary work: notably, the installation of tile backer drywall:

The plastic sheets were put in there so that we could use the bathroom even while it was still under construction.

Next came the tiles. The tricky bit (for me anyway) was to cut tiles around the faucet and other fixtures. I was able to cut pretty decent holes using a tile cutter bit in my “Roto-ZIP” tool:

And thus it came to be that a little less than two weeks after the plumbers left, the tiling was done:

There was, of course, still more work to do. First, I had to wait a few days for the adhesive to set before grouting the tiles. Once I completed the grouting successfully, I had to wait another few days before I could spray the new grout with sealant. It was only at this point, namely today, that I sealed the edges of the tile using silicone. Finally, once the fixtures were reattached, the job was at last done:

Needless to say, I am mighty proud of myself. In fact, I’ll probably be insufferably proud for the next few days (that is, unless the tiles start popping off, in which case my insufferable pride will rapidly turn into an overwhelming sense of embarrassment.) There is still a little bit of cleaning up to do, and eventually, repaired bits of wall around the tiles will need to be repainted. I may apply a bit of paint for protection, but the real paintjob will have to wait; I am considering replacing the vanity (the sink definitely needs to be replaced) and I am also considering replacing the floor tiles, which are old and have developed a few minor cracks over the years.

But not this year. For now, I prefer to return to my regularly scheduled programming job and put down my screwdriver.

Phew!

 Posted by at 5:32 pm
Sep 252012
 

How do you operate a streetcar line that is not electrified? Why, you can always have the streetcar pull its own generator.

This is how the streetcar line in Whitehorse seems to operate. Something I stumbled across as I was reading about the sad history of Ottawa’s long defunct streetcar service.

Curiously, the color scheme of this former Lisbon streetcar happens to be nearly identical to the traditional color scheme used for streetcars in the city of my birth, Budapest. Another city with a streetcar network that, while not completely destroyed, has been much diminished over the years by misguided urban planners.

 Posted by at 5:46 pm