May 262010
 

I don’t think I ever watched the unscrewing of a screw with as much anticipation as last night, staying up way past my bedtime, glued to the BP live stream bringing video from the bottom of the Gulf.

I watched as a robot was struggling to remove a screw by “hand”, and failed. I watched as another robot approached, handing this robot a T-shaped tool that turned out to be a screwdriver of sorts. I watched as this robot used its two manipulator “hands” to position the tool just right, approach the problem screw, and try again. I watched as, every once in a while, the oil plume hit the scene, making everything murky for a while. I watched as the robot finally unscrewed the screw, and I realized that I was holding my breath.

Amidst the environmental tragedy, I continue to remain amazed by the astonishing robotic infrastructure that can operate and carry out complex industrial operations a mile beneath the surface of the sea,

 Posted by at 12:18 pm
May 252010
 

Sometimes, CNN uses a “picture-in-picture” format to show an important live feed while they are reporting on something else. It is important to make sure that the resulting composite picture does not convey the wrong impression. Otherwise, you might end up like this poor gentleman, who was talking on CNN about a new portable power source, but ended up appearing as if he was getting a chest X-ray on live television.

 Posted by at 7:24 pm
May 242010
 

Sitting on the surface of Mars, a space probe that was not designed to survive the Martian polar winter did not survive the Martian polar winter. Not exactly a surprise.

The surprising bit is that another space probe orbiting Mars, designed to operate for two years but still working fine after four, has been able to snap high resolution pictures of Phoenix, which tell us what likely happened: the weight of carbon dioxide snow and ice broke Phoenix’s solar panels.

It is amazing that we have this kind of infrastructure around Mars.

 Posted by at 8:05 pm
May 232010
 

Recently I joined the Facebook group, “Everybody Draw Mohammed Day!

No, I am not an intolerant SOB (at least I hope I am not) who thinks that Islam is the root cause of all evil. (I do consider religion in general to be the root cause of many evils, but in that sense, Islam is not in any way special.) No, I don’t think that Muslims “hate us and hate our freedoms”, to quote my least favorite US President. No, I don’t look suspiciously at people on the street just because they wear traditional Middle Eastern clothing.

On the contrary, I respect and cherish the freedom of religion: the right to believe (or not believe) in the deity or deities of your choice. This is a right that I would be willing to risk life and limb to defend. (Mind you, we’re all in real deep trouble if the world goes so badly haywire that a country like Canada suddenly needs the services of a 47-year old programmer in general infantry.)

But, as a devoted atheist, I also believe in another right: the right of freedom of speech, which includes my right to mock, insult, disrespect and belittle religion. Every religion, including Islam. I may not win any popularity contests by doing so, but I have the right to ridicule any adult who needs imaginary friends to feel happy and secure, or to live ethically.

Some people want to take this right away. Some people believe that their religious freedoms go beyond freedom of conscience, and grant them the authority to interfere with my rights, even using the threat of physical violence to intimidate us into submission.

Hell, no. I may not start drawing Mohammed cartoons right now, but if anyone thinks that they can deny me the right to do so, think again. (NB: The drawing above is not Mohammed. I have no idea what Mohammed looked like, and in any case, given my limited abilities as a graphic artist, I doubt I could produce a faithful rendering. No, it’s just some bearded guy with a turban carrying a flag with the crescent-Moon-and-star symbol.) My only hope is that the voices of those who assert their right to be free will not be drowned out by the voices of hatemongerers who use this Facebook group as yet another forum to express their fear and loathing of Islam and Muslims. The intent is not to promote hatred, but to end self-censorship.

 Posted by at 1:43 pm
May 162010
 

Recently, news have been circulating about a new form of phishing attack that doesn’t rely on some unpatched vulnerability; rather, it uses a legitimate feature of Adobe Acrobat to hijack users’ computers.

Sophos Labs offer a detailed description of how it works. (Basically, it’s the ability of Acrobat to open non-PDF attachments that is abused, tricking a user into running an executable program.) They also offer advice on how to disable this feature. I think it’s a darn good idea to follow their suggestion: most of us never deal with PDF documents containing non-PDF attachments anyhow.

 Posted by at 2:21 am
May 152010
 

It seems that the German news magazine Spiegel  managed to do the impossible: provide an impartial, balanced assessment of the story behind Climategate.

And by “balanced”, I don’t mean balanced in the American journalist’s sense, giving equal weight to both sides, no matter how ludicrous one side happens to be compared to the other, but balanced in the sense of not taking sides, not assuming guilt, and assessing the faults of all the participants regardless of which side they represent.

What I am reading is very discouraging. Climate science should really be called climate politics, with a little bit of science thrown in just to provide fodder for arguments. Meanwhile, both proponents and opponents of climate change sometimes fail to get even the basic physics right; as a minor example, recently I felt compelled to write a short paper about the proper use of the virial theorem in a planetary atmosphere, after reading way too much uninformed discussion by supposed experts online.

Of course way too much is at stake. Trillions of dollars, for starters, and quite possibly the future of our planet. Could it be that this compelled some good people to embellish the truth a little? If that is the case, they did a huge disservice to the very cause that they champion. By compromising the one currency science really has, its objectivity, they increased the likelihood that the public won’t listen to them just when it matters most, should it prove to be the case that real sacrifices are necessary to keep the planet habitable.

That is not to say that taking climate scientists to court is the right answer. If that’s the cure, it’s worse than the disease. Worse yet, it will only ensure more entrenched positions and more secrecy, justifying the hostility towards “deniers”. That is not the way to do science. Informed skepticism should be welcome, but skepticism should be about questioning methods and deductions, not the honesty and integrity of researchers. Will climate science ever be like this? I sure hope so, otherwise we’re all in very deep trouble.

 Posted by at 4:41 am
May 142010
 

I was watching the noontime local CTV news today. At around 12:39 (!), in three consecutive reports, the number 39 popped up. First, a report about a youth who is charged with vandalizing 39 tombstones. This report mentioned the number 39 several times, which is probably why I noticed that in the next report, one about the recent terrorism-related arrests in the US, footage shown in the background included the front door of a house bearing the number 39. At this time, I began paying attention. The next report was about Ottawa tourism advertisements in American newspapers; it didn’t seem likely that the number 39 would pop up there until the official being interviewed answered a question about funding and mentioned their 39 member hotels. That’s when I told my wife that this is getting a tad creepy.

The other day, I was watching a Stargate Universe episode in which one of the protagonists was reliving a part of his life while his brain was connected to an alien computer, and a particular number kept popping up as a clue. That number was 46, the number of chromosomes in a human cell. So that’s what makes 46 special. But what about 39?

Or perhaps all this was just a clever form of subliminal advertising for a Web site called The 39 Clues, which happens to be the first hit on Google when one searches for “39”?

 Posted by at 5:19 pm
May 062010
 

Here’s an idea that only Dr. Strangelove, Edward Teller, or the Communist Party of the Soviet Union could come up with: nuke that oil leak at the bottom of the Gulf of Mexico. Apparently, it has been done before, and only one out of five attempts was unsuccessful. So how about that, folks? What’s a bit of radioactivity when you have an 80% success rate?

 Posted by at 7:54 pm
May 032010
 

OK, I don’t usually play the geek game and look for nits to pick in television science programs. But…

Today’s gem comes courtesy of the Canadian History Channel and their Aftermath series, the first episode of which I just watched over the Internet. The show had many eyebrow-raising moments (and I don’t mean the implausible concept itself, about the Earth’s rotation slowing down to zero in a mere five years; I could get over that if the science had been right otherwise). This particular gem of a sentence, complete with fancy animation, especially caught my attention:

“The rotation of the Earth creates constant patterns of east-moving winds in the Northern hemisphere, and west-moving winds in the Southern. This is called the Coriolis effect.”

Oh really. I wonder if pilots flying in the Southern hemisphere know this.

 Posted by at 12:31 am
May 022010
 

It was not a virus after all. I have no idea what made my old workstation unstable, but after a monster 30-hour scan of its hard drives, all I found was 4 potential threats, none of which was an actual infection. One was a malicious Java applet that never had a chance to do harm because it relied on an old version of the JVM, and I tend to keep my software up-to-date. Another was a 20-year old joke program, pretending to hijack an unsuspecting victim’s computer, which for some reason Microsoft Security Essentials marked as a threat. The third was the user registration program in an old Iomega installation kit, whereas the fourth was the remote control software VNC, which can be harmful if someone puts it on your computer without your knowledge, but that wasn’t the case here.

So then, what was it? My guess is ailing hardware, perhaps the video card. But… it no longer really matters anymore. I’ve done the deed, swapped computers, and successfully set up my new quad-core system to work with essentially all of my peripheral hardware (no mean feat, considering that peripheral hardware, in this case, includes instruments like spectrum analyzers connected via GPIB.)

Now, I can actually get back to work…

 Posted by at 12:23 am
Apr 302010
 

When I started this here blog site, my intent was to write a lot about physics. I ended up writing a lot less about physics than I wanted to, in part because a lot of the physics I’m thinking about is “work-in-progress” which would not be appropriate to write about until, well, until it is appropriate to write about it!

But, there are a few exceptions. Lately, I’ve been thinking a lot about scalar-tensor gravity. Indeed, as I am waiting for the completion of a virus scan (could my recent computer troubles have been caused by a virus? I now took out my computer’s hard drive, put it in an external enclosure, and I am scanning it using a “known good” computer) I am thinking about it now.

Einstein’s gravity theory (tensor gravity) can be written up using the Lagrangian formalism. This is the infamous Einstein-Hilbert Lagrangian, which takes the form L = [(−1/16πG)(R + 2Λ) + LM]√−g, where G is the gravitational constant, R is the so-called curvature scalar, Λ is the cosmological constant, g is the determinant of the metric, and LM is the Lagrangian representing matter.

In one of the simplest modifications of Einstein’s gravity, Jordan-Brans-Dicke theory, the gravitational constant G is promoted from constant to field: it becomes variable, and a “kinetic term” is added to the Lagrangian representing the kinetic energy carried by this scalar field.

In this theory, gravity is still determined by the geometry of space-time. However, in addition to matter, there is this scalar field (which carries mass-energy and is thus a further source of gravity in addition to matter.) Then, this scalar field also determines the strength of coupling between matter and space-time (i.e., the extent to which a unit mass of matter bends space-time.)

Now it so happens that it is possible to transform away this variable gravitational constant and make it truly constant by a mathematical transformation called a conformal transformation. Basically, it amounts to reparameterizing space-time in such a way that the value of the gravitational constant becomes the same everywhere. (This transformation is described as switching from the Jordan frame to the Einstein frame.) However, this transformation is not without cost. As we transform away the coupling between the geometry of space-time and the scalar field, we end up introducing a variable coupling between the matter Lagrangian LM and the scalar field. The physics is now different! The geometry of space-time is now determined by a fixed coupling constant as in Einstein’s theory, but the trajectory of matter is no longer determined by geometry alone: there is an extra force, a so-called scalar force, acting on matter.

At first sight, this might seem weird. A simple mathematical transformation should not change the physics, or should it? Well… it does yet it doesn’t. If you fire a cannonball in Jordan-Brans-Dicke theory and calculate its trajectory, it will trace the same trajectory regardless which frame, the Jordan or the Einstein frame, you use to calculate it. It’s the interpretation of this trajectory that differs between the two frames. In the Jordan frame, the cannonball is said to follow a geodesic trajectory, but that geodesic, i.e., the curvature of spacetime, is affected by a varying gravitational constant. In the Einstein frame, the cannonball’s trajectory is not a geodesic anymore; the geodesic trajectory is determined by a fixed gravitational constant, but on top of that, an extra force deflects the cannonball.

One particular kind of scalar-tensor theory can be written in a form in which there is no variable gravitational constant and no coupling between the scalar field and matter either. This is the so-called “minimally coupled” scalar-tensor theory, in which the scalar field influences matter only indirectly: the scalar field has mass-energy, which gravitates, and this contributes to the overall gravitational field. Things can get tricky here: a scalar-tensor theory may be written in a form that does not look like a minimally coupled theory at all, yet it may be possible to transform it into one by an appropriate conformal transformation. However, this is not always the case: for instance, Jordan-Brans-Dicke theory cannot be transformed into a minimally coupled scalar-tensor theory this way, the two classes of theories are manifestly different.

When things get really interesting is when additional fields are present in a more complex theory, such as scalar-tensor-vector gravity. In that case, a conformal transformation can have surprising consequences on the coupling between these additional fields and the scalar field.

 Posted by at 2:58 am
Apr 292010
 

I’ve been having computer trouble. My main (but soon-to-be backup) computer has been acting up lately. Since I fixed the broken heatsink, it crashed several times. Is it aging hardware? Is it a virus? An instability due to a recent update? Or perhaps, possibly, the result of the fact that most recently, I plugged the network into the gigabit Ethernet interface, as opposed to the 100Base-T one? (This motherboard has two network connectors.) I know for a fact that the gigabit Ethernet interface used to cause problems, but I thought that was fixed by driver updates ages ago. Perhaps not.

Anyhow, since I swapped the network cable, the system has been stable for days. Today, its video driver crashed, but that’s not new: the complicated driver set of my ATI All-In-Wonder card (combination high-end graphics and TV tuner card; well, whatever passed for high-end in 2005, that is) was never 100% stable, but it is stable enough for reasonably reliable use. Today’s crash, too, was recoverable: I was able to Remote Desktop into the machine from another computer. So… I still don’t know what has been causing the real crashes in recent weeks.

Anyhow, after restarting the system, I logged back onto my Linux server from it, and I was presented with the usual UNIX login fortune cookies. Including one I never saw before, and one that only those can truly appreciate who used to program in FORTRAN and are familiar with implicitly declared variables and the default implicit declaration rules:

“God is real, unless declared integer.”

 Posted by at 12:33 pm
Apr 252010
 

So a few days ago, I wrote a blog entry about Ontario’s new grade school curriculum. The one that has since been withdrawn due to objections by conservative groups. I have to concede: they may have a point. I used no words in my blog post that were not used in the curriculum itself, yet the result was apparently too strong for Facebook; their automated software did not pick up and paste the entry onto my Facebook page.

Still, I stand by what I said: after I looked at the actual curriculum (as opposed to the sensationalized headlines about it) there really was nothing in it that a sane person could possibly object to. It’s not about sanity, of course, it’s about politics, which is why Ontario Liberals decided to abandon the updated curriculum after all. They can only fight one battle at a time, they say, according to the Toronto Star. I just wish that the battle they chose to keep fighting was this one, as opposed to the astonishingly braindead idea of messing up pharmacies by blocking payments to them by generic drug companies. Or the HST… which would have been a good idea back when the GST was introduced, but now, it’s just a badly disguised tax grab.

 Posted by at 11:36 am
Apr 222010
 

If you listened to Canadian news recently, like I did, you could be forgiven if you got the impression that Ontario’s liberal government released a 208 page curriculum that will teach first graders about masturbation and anal intercourse.

I actually took the trouble this morning and looked at the document in question. I was curious, has Ontario really become Liberal Hell?

Yes, the document does mention masturbation. Once. (Grade 6).

And yes, it does mention anal intercourse, not once, but three times (Grade 7). The context? Delaying sexual activity and avoiding sexually transmitted diseases.

While sexual education is an important subject in these 208 pages (Human Development and Sexual Health being one of the topic titles) the curriculum is not about sex. It is titled Health and Physical Education, and that’s precisely what it is about, with sexuality being a prominent, but certainly not dominant, part.

For those who are upset that children might learn about the genitalia of the opposite sex at school, from (presumably) responsible and respectful teachers, all I ask is this: would it be better if they learned the same from Playboy? Hmmm, silly me, who cares about Playboy anymore. How about learning about said body parts from your friendly neighborhood Internet predator. Be realistic and consider what children have access to (and who has access to children!) every time they sit down in front of a computer with an Internet connection, or just browse the Web on a smartphone. Perhaps hearing about “sexting” first from a teacher is not such a bad idea after all.

I would be horrified if grade school teachers were required to give graphic demonstrations to first graders about anal sex. But the idea that a 12-year old might learn about the function of his or her own body parts, might even learn, o horror of horrors, that said body parts can be a source of pleasure, that people might choose to live together in part because they have sex together, that there are, heaven forbid, people who prefer the company of people of the same sex, and that knowing some of the “dirty details” might enable even a 13-year old to make better decisions and avoid making life-altering mistakes way too early in their lives… no, that does not frighten me.

 Posted by at 11:39 am
Apr 162010
 

I’m wondering: how many times does it happen every night that someone quietly browsing the Web (perhaps when others in the house are already asleep)  is startled by sudden blaring music coming from his computer, curses loudly, and closes the Web browser in a mad panic?

It happens to me from time to time.

I don’t know what the marketing theory is behind these let-us-startle-the-person-who-clicked-on-our-link-with-blaring-audio pages, but if there are any marketing types out there reading this, well, let me assure you: the only possible reaction you get from me is closing the Web page in question in the above-mentioned mad panic, accompanied with rather crude utterances in both English and Hungarian, and an oath never to buy whatever product or service you were advertising, indeed, preferably never to visit your site again.

 Posted by at 2:00 am
Apr 152010
 

Just like after 9/11, the airspace of an entire region is closed today, grounding thousands of flights in the UK and Northern Europe.

Unlike on 9/11, this time around the closure is not the result of the panicked, knee-jerk reaction of clueless politicians and officials. It is the result of a volcanic eruption in Iceland:

The plume, clearly visible in this Eumetsat image, is a grave threat to aviation. 28 years ago, volcanic ash almost brought down a British Airways 747 full of passengers, and since then, numerous airliners have been damaged as they flew through similar plumes. Grounding all flights in the affected areas seems like a dramatic, but justified response to a very real threat.

Now the question is this: how long? According to news reports, the eruption shows no signs of abating. Will they keep flights grounded for days, even weeks if necessary?

 Posted by at 1:52 pm