Good and bad science, and faster-than-light neutrinos

The results from the OPERA experiment at CERN have caused a huge stir in the media over the last two weeks, and with good reason, since they claim to have measured the arrival of a neutrino beam 60 nanoseconds faster than light.

Before we go on, let’s calm down a bit. Even if these results are somehow confirmed, it wouldn’t “prove Einstein wrong,” or cause scientists to stop using General and Special Relativity on a day-to-day basis. If anything, it would show that Einstein’s theory is incomplete, but no one is disputing this in the first place.

Relativity (general and special) has been put through dozens of independent, precise, elaborate tests, and passed every single one with astonishing accuracy, which means that there’s definitely something fundamentally correct about Einstein’s theory. It shouldn’t be thought of as some kind of “sitting duck” theory, just waiting to be overthrown.

Understandably, the current consensus among the world’s physicists seems to be that there was a measurement error in the OPERA experiment, or that the experimenters neglected to integrate some subtle factor that accounts for the missing 60 ns. (For a wonderfully accessible introduction to the OPERA experiment, as well as particle physics in general, read Matt Strassler’s blog. For a more thorough discussion of possible mistakes, read Lubos Motl’s post on the subject. It’s also worthwhile to read the comments on those blogs.)

Perhaps the most convincing evidence against this experiment is that we have observed neutrino emissions from supernovae (specifically SN 1987A), and these neutrinos more-or-less coincided with our observation of visible light from the same supernova. If neutrinos are really faster than light, we should have observed the neutrinos many months before we observed the light. The only loophole in this argument would be if the OPERA effect is energy dependent, since the OPERA neutrinos had much more energy than the ones from the supernova, but that would present even more problems.

Not being a particle physicist myself, I can’t meaningfully contribute to the discussions on theoretical implications of this experiment, if it’s actually true. I would, however, like to comment on how this story is unfolding from the point of view of the scientific method, and specifically how this story highlights the differences between real science and pseudoscience. I use “pseudoscience” to refer to homeopathy, energy healing products, reiki, dowsing, magnets, pendulums, astrology, and anything else that requires more “faith” than evidence.

In the wake of attending a New Age expo (out of morbid curiosity) and being overloaded with crackpots, quacks, and hucksters, these differences become all the more plain:

  • The fact that the experimenters published any data at all is a sign of great scientific integrity. The fact that they held a press conference before the paper was peer-reviewed is a bit unfortunate, as noted by Lawrence Krauss, but I think the fact that this story made it to mainstream media outlets will help the general public understand the scientific process, as people follow the story. Pseudoscientists, on the other hand, seem to be allergic to data in general, and never publish anything.
  • Essentially, the scientists of the OPERA experiment are saying, “We’ve gathered these data, we used the best possible experimental parameters, we’ve performed all the checks we could think of, and we still see this anomaly. So please, tell us what we did wrong.” This is surely science at its best! This is the kind of behavior that should be an inspiration for a whole generation of new scientists. We will never hear pseudoscientists utter that phrase.
  • Real scientists don’t adhere dogmatically to any theory, no matter how foundational it may be. Even though most physicists agree that there was an error in the OPERA experiment, they still reserve a little room for the possibility that the results are correct, and that Relativity might be violated. Einstein to physicists is not the same as Chopra is to pseudoscientists.
  • Real scientists expect extraordinary evidence for extraordinary claims. Most scientists agree that the evidence collected by the OPERA experiment is not extraordinary. Pseudoscientists make extraordinary claims every time they open their mouth, but present no evidence at all, except anecdotal testimonials from their friends and paid endorsers.
  • If we read the blogs of popular physicists on the subject of the OPERA experiment, we find lively debates on theoretical explanations for the anomalous effect, and discussions on ways the experimenters miscalculated the speed of the neutrinos. The key point is: scientists get excited about the possibility of being proven wrong. Scientists can’t wait to be proven wrong, because it would mean that there’s more science to be done!
  • Perhaps most importantly, real scientists are motivated by a desire to better understand our world. The only motivation of pseudoscientists is money, thinly veiled by a scientific-sounding sales pitch, and a nonsensical product du jour.

In any case, I encourage everyone to follow this story, because it’s a high-profile example of real science at work; a triumph of human achievement. No matter how the results turn out, by observing the process of scientific scrutiny, everyone will be better equipped to spot pseudoscience when it’s in plain sight.

I will update this post as soon as I see a quack energy-healing product that uses faster-than-light neutrinos to balance the flow of energy through your chakras. Post a comment if you find one yourself!

Atheism as a religion

It annoys me to no end when religious people claim that atheism is “a religion” or that atheism is just as “dogmatic” as religious beliefs. This will be the subject of a much longer article at some point, but until then, let me share a quick aside on this topic.

Here’s a key difference between atheists and religious people:

Atheists don’t need any mechanism of reinforcement for their beliefs. Since we draw our beliefs from the natural world, we don’t need to appeal to imaginary beings and reassure ourselves that they exist, despite overwhelming evidence that they don’t. We don’t need to speak empty words into empty air every day, while banging our heads against the floor. We don’t need to congregate in a large room for a session of mutual emotional masturbation where a charismatic leader (who actually refers to us as a “flock”) assures us that our beliefs are infallible and questioning them is pointless or even dangerous.

We never need to switch off our rational minds, or even put them in the back seat for the purpose of indulging ourselves in believing things that our ignorant barbaric ancestors tell us to believe. Perhaps the words “ignorant” and “barbaric” are too harsh; our ancestors did the best they could. The point is, the ignorance of our ancestors is forgivable. What’s unforgivable is clinging on to that same ignorance in our modern world. Even less forgivable is considering it a virtue to perpetuate such ignorance.

We are capable of drawing feelings of spirituality from the grandeur and complexity of the natural world. Instead of using our imagination to invent more intricate ways of deluding ourselves, we use our imagination to improve the quality of life for current and future generations, since we know that this life is the only one we get, which makes it all the more precious and fragile.

The FujiFilm .MPO 3D photo format

A few weeks ago my dad, in his love for electronic gadgetry, purchased a FujiFilm FinePix REAL 3D camera. The concept is pretty simple: it’s basically two cameras in one, with the two sensors spaced as far apart as an average pair of human eyes. The coolest thing about the camera is its LCD display, which achieves autostereoscopy by using a lenticular lens (kind of like those novelty postcards that change from one picture to another when you look at them from different angles), so if it’s held at the right angle and distance from the eyes, the picture on the LCD display actually appears 3-dimensional without special glasses!

Anyway, I immediately started wondering about the file format that the camera uses to record its images (as well as movies, which it also records in 3D). In the case of videos, the camera actually uses the well-known AVI container format, with two synchronized streams of video (one for each eye). In the case of still photos, however, the camera saves files with a .MPO extension, which stands for Multiple Picture Object.

I was expecting a complex new image specification to reverse-engineer, but it turned out to be much simpler than that. A .MPO file is basically two JPG files, one after another, separated only by a few padding zeros (presumably to align the next image on a boundary of 256 bytes?). Technically, if you “open” one of these files in an image editing application, you would actually see the “first” image, because the MPO file looks identical to a regular JPG file at the beginning.

I proceeded to whip up a quick application in C# to view these files (that is, view both of the images in each file). This quick program also has the following features:

  • It has a “stereo” mode where it displays both images side by side. Using this feature you can achieve a 3D effect by looking at both images as either a cross-eyed stereogram (cross your eyes until the two images converge, and combine into one) or a relaxed-eye stereogram. You might have to strain your eyes a bit to focus on the combined image, but the effect truly appears 3-dimensional.
  • In “single” mode, the program allows you to automatically “cycle” between the two images (a wiggle-gram, if you will), which creates a cheap jittery pseudo-3D effect (see screen shots below).
  • Also in “single” mode, the program lets you save each of the frames as an individual JPEG file by right-clicking on the picture.
So, if you want a quick and not-so-dirty way of viewing your MPO files, download the program and let me know what you think! (Or browse the source code on GitHub)
Here’s a screenshot of the program in “stereo” mode:

And a screenshot of the program in “cycle” mode:

If you like, you can download the original .MPO file shown in the screenshots above.

Now for a bit of a more technical discussion…. Clearly it would be a great benefit to add support for the .MPO format to DiskDigger, the best file carving application in town.

However, from the perspective of a file carver, how would one differentiate between a .MPO file and a standard .JPG file, since they both have the same header? As it is now, DiskDigger will be able to recover the first frame of the .MPO file, since it believes that it found a .JPG file.

After the standard JPG header, the MPO file continues with a collection of TIFF/EXIF tags that contain meta-information about the image, but none of these tags seem to give a clue that this is one of two images in a stereoscopic picture (at least not the tags within the first sector’s worth of data in the file, which is what we’re really interested in).

One of the EXIF tags gives the model name of the camera, which identifies it as “FinePix REAL 3D W3.” Perhaps we can use the model name (the fact that it contains “3D”) to assume that this must be a .MPO file, but I’d rather not rely on the model name, for obvious reasons, although the FinePix is currently the only model that actually uses this format (to my knowledge).

The other option would be to change the algorithm for JPG carving, so that every time we find a JPG file, we would seek to the end of the JPG image, and check if there’s another JPG image immediately following this one. But then, what if the second JPG image is actually a separate JPG file, and not part of a MPO collection?

For the time being, DiskDigger will in fact use the model name of the camera to decide if it’s a .MPO file or just a regular .JPG file. The caveats of doing this would be:

  • It won’t identify .MPO files created by different manufacturers.
  • It might give false positive results for .JPG images shot with the camera in 2D mode.

As always, you can download DiskDigger for all your data recovery needs. And if anyone has any better ideas of how to identify .MPO files solely based on TIFF/EXIF tags, I’d love to hear them!

Update: DiskDigger now fully supports recovering .MPO files, based on deep processing of MP tags encoded in the file!

Thumbnail cache in Windows 7 / Vista – a rumination

(Note: read my newer post on this subject!)

Today I was thinking about the security implications of thumbnail caching systems on most PCs out there today. What I mean by that is this: whenever you use Windows Explorer to browse a directory that contains photos or other images, and you enable the “thumbnail view” feature, you would see a thumbnail of each of the images. By default, Windows caches these thumbnails, so that it doesn’t have to regenerate the thumbnails the next time you browse the same folder.

This has several implications in terms of privacy and security, since it means that a copy of each image is made elsewhere on the computer (albeit lower resolution), basically without the user’s knowledge. This is good news from a forensic examiner’s point of view, since the thumbnail cache can contain thumbnails of images that have long been deleted. However, from the user’s point of view, it can present a privacy/security issue, especially if the images in question are confidential or sensitive.

Windows XP caches thumbnails in the same folder as the original images. It creates a hidden file called “Thumbs.db” and stores all the thumbnails for the current folder in that file. So, even if the original images were deleted from the folder, the Thumbs.db file will still contain thumbnails that can be viewed at a later time.

However, in Windows 7 and Windows Vista, this is no longer the case. The thumbnails are now stored in a single centralized cache under the user’s profile directory: C:\Users\[username]\AppData\Local\Microsoft\Windows\Explorer\thumbcache*.db

The above directory contains multiple thumbnail cache files, each of which corresponds to a certain resolution of thumbnails: thumbcache_32.db, thumbcache_96.db, thumbcache_256.db, and thumbcache_1024.db.

So then, wouldn’t you like to find out what thumbnails your computer has cached in these files? Well, now you can! I’ve whipped up a small utility for the sole purpose of viewing the contents of these thumbnail caches:

This is probably not the first utility that does this, but it’s definitely the simplest. It automatically detects the thumbnail caches present on your computer, and lets you view all the thumbnail images in each cache.

If you want to disable the thumbnail cache in Windows 7 or Vista, you can find instructions here.

Accommodation vs. confrontation

Last week I had the pleasure of speaking at a roundtable debate hosted by the Cleveland Freethinkers. The theme of the debate revolved around how atheists should present themselves in public discourse: should atheists be “accommodating” of their religious colleagues and acquaintances, or should they actively confront such acquaintances and directly challenge their beliefs at any reasonable opportunity? I was on the “confrontationalist” side, and the following is an approximate dump of some of my statements during the debate.

A case against accommodation

The biggest problem with religion seems to be that, no matter how moderately religious a society is, it inevitably creates a slippery slope towards extremism for those few adherents who take it a bit too literally; and there will always be those few. The reason for this is that religious moderates are basically the same as religious extremists, except that the moderates have (thankfully) allowed themselves to be tempered by the secular social norms of our time. By default, religious moderates are tolerant of extremists, because after all, the extremists actually believe what they say they believe, unlike the moderates who water down their religion to make it more palatable in the modern world.

And it seems to me that, from the atheist perspective, being an “accommodationist” would only help perpetuate that same kind of slippery slope that’s already made abundant by the religious moderate majority.

My rhetorical question to the accommodationists would be, “To what end?” Surely there must be some extreme forms of religion that you’re not willing to accommodate? If you’re willing to accommodate some forms of moderate Christianity, or moderate Islam, but not the more extreme forms of the two, then that would be just as hypocritical as the moderate Christians who cherry-pick which verses of the Bible to take literally, and which ones to take metaphorically. Religion should be an all-or-nothing deal. When it’s not all-or-nothing, there’s always some hypocrisy to be found.

Speaking of hypocrisy, it feels like we have a certain amount of intellectual integrity at stake here. We atheists are, to a reasonable extent, certain about the truth of our convictions. I don’t mean to speak for everybody, but that’s generally the case; we arrive at certain conclusions with some amount of certainty, and we consider these conclusions “true,” or at least tentatively true, insofar as the scientific method allows us to define truth. We don’t “believe” in things in the same sense that religious people believe in things, because our conclusions are backed up by evidence and observations, which makes the truth of our beliefs that much more meaningful and convincing.

So, taking all of that into consideration, why on earth should we be accommodating toward beliefs that are clearly false, or beliefs that are clearly lies, or beliefs that are demonstrably harmful to the well-being of their adherents? What does it say about our intellectual integrity when we allow falsehoods to be perpetuated, no matter how much false hope or false happiness they might bring to the people who believe them? I would think that we should be doing our best to expose such beliefs for what they are, and uproot them from the consciousness of our society using tools like education, debate, and scrutiny.

There’s a theory of why religious people get so offended when their faith is questioned. And the theory is that religious people are actually embarrassed by the things they believe, but they just don’t consciously realize it, which is why they get so defensive when their beliefs are put under the microscope. It’s embarrassing to believe the Earth is 6000 years old; it’s embarrassing to believe that a woman can give birth to a child without a man’s contribution to the zygote.

If I put myself in the mindset of a religious person, I can see how it would be embarrassing when science explains yet another thing that used to be attributed to God, and having my God demoted again and again, to the point where the very definition of “God” becomes so nebulous that it loses all meaning. And all I’m left with is profundities like “god is the universe,” or “god is beyond human logic,” or “god exists outside of space and time” — that’s my favorite.

The thing is, for truly religious people, that kind of embarrassment is buried deep down in their unconscious mind. Instinctively they’re perfectly aware that it’s all nonsense. But those instincts have been repressed by their conscious religious training, or indoctrination, or whatever. So when those beliefs are questioned, the conscious mind has no answer, so it turns to the unconscious mind, which says that it’s all nonsense, which directly butts heads with the conscious indoctrination, and that’s where the defensiveness and the anger comes from.

That’s only a theory, anyway. But my whole point here is that our goal as responsible atheists should be to bring that unconscious embarrassment to the foreground of consciousness. Not just the consciousness of religious individuals, but the foreground of our social consciousness. It should become outwardly embarrassing to keep believing in an all-powerful creator god. It should become embarrassing to keep believing in prayer, or believing in hell or heaven.

Believing in a god is on the same theoretical footing as believing any other figment of imagination for which you would otherwise be called crazy. It just so happened that this particular god was the one that got ingrained into the fabric of our society. But aside from that, there’s absolutely no reason that we shouldn’t attach the same kind of negative stigma to people who believe in the Abrahamic god, or the literal truth of ancient folk tales.

I’m not saying that people shouldn’t be allowed to believe whatever they like; of course they should. What I am saying is, we should work towards creating a society where the moment someone considers taking religion literally, it should be readily apparent to that person how embarrassing, counterproductive, and unwise that would be. So, in that kind of society, no one would have a reason anymore to turn to religion for any purpose, so therefore no one would have a reason to go down the slippery slope toward extremism.

That’s the kind of state we should be striving for; a state where it’s just as embarrassing to believe in the god of Abraham as it is to believe in Zeus or Poseidon or Xenu; because they are all on the same footing of pre-scientific wishful thinking. And I don’t see how accommodation will help us get there. Theism in general belongs in the Bronze Age, because it’s based on Bronze-age thinking, and because the Bronze Age is already the resting place for all other gods ever invented by men. There’s just one more to go!

When people who promote the merits of religion run out of arguments, they usually retreat to the last-resort argument, which is something like, “Well, at least religion gives people comfort, or hope, or a sense of purpose…” Well, that might be true; but the problem is that all those good things are for the wrong reasons, and all those things only happen when religion is at its very best. That’s more like an idealization of religion; that’s the infomercial promise of religion. The reality is quite different. In reality, when religion is not at its best, the same religion that brings the hope and the comfort will also bring fear, shame, intolerance, and guilt. And we know all too well what happens when religion is at its worst… it makes otherwise decent people commit unspeakably evil acts, for those very same reasons!

The other problem with that argument is that it’s rather condescending towards religious people. It assumes that religious people are too weak-minded to cope with the real world without religion, and I don’t think that’s true at all. I’m fully confident that even the most devoutly religious people will be able to find their moral bearings without a god telling them what’s right and wrong. I think people might be afraid to let go of religion, because religion has been pretty much the only option for thousands of years. But the solution to all of that, as with anything else, is education; not just education, but actively combating ignorance.

A proper education should start at the very beginning. Religion’s biggest offense is the indoctrination of young children. Nobody should have any kind of opinion or dogma forced onto them from birth, and yet this happens every day, in many millions of households, in the form of religious upbringing. I wish more of us would recoil when we hear parents label their young children as “Protestant” or “Jewish” or anything else, before the children are capable of objectively evaluating the implications of such a label.

That’s why I’m not advocating forcing atheism onto anyone. What I’m talking about is subtracting the forcing of religion (which is pretty much the definition of atheism anyway)! Atheism isn’t a viewpoint that can be forced onto someone. Atheism is a natural, “clean slate” state of mind, and children should be raised with a “clean slate” until they’re ready (and educated enough) to decide which ancient Babylonian deity to worship.

To put it plainly, we simply cannot afford to accommodate irrational beliefs anymore. It would be great to accommodate them, in theory, if only people’s irrational beliefs didn’t influence their actions, and if only people with irrational beliefs didn’t get elected to public offices, and didn’t allow their irrational beliefs to influence their policies. If that were the kind of world we lived in, then, by all means, accommodation would be very fitting and reasonable.

But we live in a country where half of the population refuses to accept basic facts about biology, and half of the population can’t tell you how long it takes for the Earth to make an orbit around the Sun. And we live in a world where we have an explosive growth of a religion that has a doctrine of military conquest literally built into it, and a growing minority of that religion that’s plotting our destruction as we speak.

We cannot afford to accommodate religions that are inherently anti-human, which all three of the world’s “great monotheisms” absolutely are. The moment when a religion places more value on things that are supposed to happen after we die, rather than focusing on doing good deeds in this life for its own sake, is a warning sign that such a religion needs to be eradicated, and fast.

Our battle is nearly vertically uphill, and the last thing we should be doing is pretending that there’s any good to be found in letting people cling on to their irrational beliefs just a bit longer. Religion’s function has been to divide people, divide communities, and stifle scientific and intellectual achievement. We should be doing our best to phase it out, instead of accommodating it. To put it as charitably as I can, religion has been the training wheels of our morality. And at some point, training wheels become more of a hindrance than a benefit. Our civilization is long overdue to take the training wheels off, and throw them away.