Friday, November 30, 2007

More Solutions

For those who are still around, it was recently pointed out to me that I'd forgotten to give the solutions to the last couple of unsolved problems from my Skeptic's Circle. Since it's been a while, I'll repeat the problems here to remind you before solving them:

Super-Scammer Secrets

Lord Runolfr recently got a couple of e-mails from scammers, raising my suspicions that something big was afoot behind the scenes. I called up a few contacts, did some research, hired a few James Bond-alikes, and here's what I've figured out:

There's some evil mastermind behind the whole plan, and he's about as supervillanous as they come. This of course means that he wants to capture one of my James Bond-alikes and subject him to an intricately detailed explanation of his evil plan before killing him in a creative way. Apparently, the way he's decided to go about this revelation is through an overhead transparencies with the key points of his evil plan (you'd think he'd have better technology than my high school, but he's out to make money, so he saves it where he can).

Now of course, he's wary of this transparency falling into the wrong hands, so he's come up with a plan to keep things safe. He's figured out some method to spread the information across multiple sheets, arranging it so that if we get a hold of any two, we'll still have no idea what he's planning. So, what we need to figure out now is some possible ways he might have done this, so if we manage to get our hands on more than two, we'll know how to read them (if it's not immediately obvious). What are some possible things he could do? Remember that he's out to save money, so splitting it up to have a single word on each slide or something huge like that doesn't seem too likely.

Solution

While it's possible to split up the information in a simple way over many slides, the trick to this problem is finding a way to divide it up so that absolutely zero information is transmitted in a single slide, or even in two slides. Splitting it up into words or letters (or fragments of a letter) never accomplishes this, as the remaining pieces still give some information. To illustrate a way of transmitting zero information in a simpler case, where any one slide can be lost, I gave the following sample solution:

Pixelate the presentation, and make sure the pixels are quite large and easily distinguishable. Generate one transparency that's completely random, with each pixel being randomly either transparent or 50% opaque. Then, for the second sheet, for the places where the message is spelled out, choose either transparent or 50% opaque as necessary to make the pixel result in 50% opaque. For places where the message isn't, match the pixel to the one on the other slide. The result will be the message appearing in gray text on a mixed black and white background.

Now the trick is moving up to a case where any two slides can be lost, and together they'll give zero information. Part of what makes this problem tricky is that everyone tries to find a solution that will use the absolute minimum number of slides at first (in this case, 3). However, such a solution doesn't exist (at least that I've seen, and I tend to suspect it doesn't at all). There is, however, a solution that uses 4 slides.

Here's how to construct the 4-slide solution: As before, pixelate the message. This time, however, instead of filling the pixels with either gray or white, we'll be filling them with one of three colors of ink. This ink will be designed to absorb one third of the visible light spectrum and let the rest pass through. For instance, we could have ink that absorbs red wavelengths, allowing blue and green light through (which appears as cyan I believe), plus ink to absorb blue (appears as yellow) and ink to absorb green (appears as magenta). If we stack the three different colors on top of each other, no light can get through, and we'll have a black spot on the image. If only two colors are in the stack, it will appear as the remaining color. If just one color, we'll get a mix of the other two.

Now, for each pixel of the image, first determine whether it's part of the message or not. If it is, we want it to appear black. So, through the four slides, we'll arrange it so all three colors show up somewhere, plus one of them appearing twice. We'll randomly choose between all possible permutations that do this. Now, for pixels that aren't part of the message, we want them to not appear black, so we randomly choose one of the permutations that uses only one or two colors. The net result is the message appearing in black on a multicolored (or gray, if the pixels are small enough) background.

To see that this works, image that two slides are stolen, and look at a single pixel on both of them. There are two possibilities here: 1) both slides have the same color for that pixel and 2) the slides have a different color in that pixel. In case 1, it's possible for the remaining two slides to have the other two colors, and it's also possible they might repeat this color. For case 2, it's possible the remaining color will be on one of the other slides, but it's also possible it won't be. In the end, we can't infer anything about whether or not this pixel is part of the message.

Now, why won't this work for only three sheets? Well, let's go back to case 1 if two slides are recovered. If both slides have the same color, there's only one slide left to block more light. This third slide couldn't have both colors, so this pixel cannot be part of the message. We can't infer anything from the cases where the two slides have different colors in a pixel, but we can still gain some information by picking out some pixels we know can't be part of the message (we'll catch 1/3 of them on average, and if the pixels are small enough, we might be able to glean some of the actual message).

What Wifi Woo?

Sandy Shwarc reports that there's been some scare over the ill effects of all the elctromagnetic radiation going through the air, but I'm not buying it. Personally, I think this is all just an excuse to avoid having to work. Confused? Let me explain.

Take the new Ultra-Mega-Awesome Wifi tower built the other day. It had 1000 power cords going from the bottom to the top, and not one of them was initially hooked up to anything. Worse, they're all tangled in the middle so it's impossible to figure out which bottoms of wires correspond to which tops.

Now, some poor shmuck has to go and sort them all out, and the only tools he's given are a battery and a lightbulb. They somehow expect him to to hook up the battery at the bottom to a couple of wires, then go to the top and see which wires he can connect the lightbulb to to sort them out. Maybe he could pull a few tricks like tying some wires together at the bottom or top to make long wires, but it's still going to take him quite some time.

With that job ahead of him, you can see why he'd want to believe it shouldn't be done. Maybe if we could help him out and figure out the most efficient way to solve this problem, he'll be a bit more likely to accept Wifi. The tower's pretty tall and the only way up is by stairs, so he'd probably appreciate most if we could help minimize the number of trips he has to take, regardless of how much work he has to do at the top or bottom. How can we do this, and what is the minimum number of ascents and descents required?

Solution

The solution to this is pretty complicated, but it helps to look at a simpler case. Let's say we only have 3 wires. In this case, here's how you do it with just one ascent and descent: Start at the bottom. Tie two of the wires together. Mark both of these “2-_”. Mark the loose wire “1-_” (a group of 2 and a group of 1). Now ascend to the top. Hook the battery and lightbulb together, and connect one wire to one end of this assembly. Test each other wire on the other end, and count how many wires will allow the lightbulb to light up. If one wire will cause it to light up, then mark the test wire with “2-_”. If no wires will light it up, mark it with “1-_”. Repeat for all the wires.

Now, at the top you'll have two groups of wires, one of just one wire, and one of two wires. You know that these correspond to the groups you made at the bottom (and the one-wire group has the single wire properly identified). To sort between the wires in the 2-wire group, we need another step. Now, take the wire in the 1-wire group and tie it to one of the wires in the 2-wire group. Mark both of these “X-2” (where X is whatever mark was in the first digit). Mark the other wire “X-1” and leave it unconnected to anything.

Descend to the ground, and repeat what you did when you first got to the top, except this time, fill in the second digit (if it connects to zero, mark 1, if it connects to 1, mark 2). Now, at the top and bottom you'll have wires marked “1-1”, “2-1”, and “2-2”. These IDs match them all up to each other. It says nothing in your job description about untying the wires at either end, so you're done, with one ascent and one descent.

This solution type can be extended simply to any number which is a perfect triangle (1,3,6,10,15...). For instance, with 6 wires, you'd tie up one group of 3 at the bottom, one group of 2, and one group of 1. You can then identify these groups at the top. Then, you can tie up a group of 3 taking one from each bottom group, a group of 2 taking one from the 2 and 3 bottom groups, and a group of 1 from the 3 bottom group. Go back to the bottom to sort out these groups and you've identified them all.

The problem gets trickier, however, when the number you have isn't a perfect triangle. Since 1000 isn't one of these, we'll have to face this. But, it is possible to extend this solution to most non-triangular numbers. The trick is dump the extra wires into the group where the wires aren't connected to any others. Let's look at the 8-wire case to see this.

At the bottom, set up three groups. The first group (1-_) has three wires not connected to each other, and not connected to any others. The second group (2-_) has two wires connected together. The third group (3-_) has three wires all connected together. Go up to the top and identify all of these groups. Now, to set up the top groups. Set up one group which takes one wire from each of the bottom groups, and tie all of these together (X-3). Set up a second group which takes one wire from each of the bottom groups, and leave all of these tied to nothing (X-1). You'll be left with one wire from the 1-bottom group and one wire from the 3-bottom group. Tie these together in the final group (X-2). Go back to the bottom and identify these groups. You'll then have eight wires, all uniquely identified.

However, it turns out there's a problem for some numbers of wires, such as 5 and 9. If you try to do it this way, you'll have too many wires in the group where they aren't connected to anything. I won't go into all the details here, but your best solution with this method is to have the extra wires in the unconnected group on both trips. You'll end up with two wires marked 1-1. Then, connect one of those to another wire when you're at the bottom (1-1a) and leave the other unconnected (1-1b). Go back to the top, and figure out which of the wires is 1-1a by testing its circuit with the one you tied the bottom end to, and the other is then 1-1b. You'll then have figured them all out with just one extra ascent (you also have to descent to go home, but that's just a technicality).

It turns out that this particular problem comes into play when the number of wires is one less than some triangular number. So, you get problems with 2, 5, 9, 14, and so on. The 2-wire case allows a special solution with only one ascent (attach both wires to the battery at the bottom, marking them with the pole they're attached to. Then go to the top and see which way you have to orient the lightbulb so it'll go on, and match up the poles), but the others will all require 2 ascents and 1 descent with this method to figure it out. Any other number can be done in 1 ascent and 1 descent with this method (3 wires can actually be done in a single ascent with a simple extrapolation from the 2-wire case). Since 1001 isn't a triangular number, our 1000-wire case can be done in just one ascent and one descent using our method.

Side note: There is another, much more complicated method which will allow you to solve this problem in just one ascent and one descent regardless of the number of wires. However, the average time this method takes is proportional to the number of wires to the fourth power; while the method I've given takes time simply proportional to the number of wires squared. For large numbers of wires, the extra time the other method takes at the top or bottom would easily outweigh the time of a single ascent of descent. However, for 5 or 9 wires, it might be worth it. I won't go into it here, though.

Proceed with your information binge...

Friday, November 23, 2007

Church apologizes for everything

This just in, apparently the top bishop in Quebec has gone and apologized for pretty much everything the church has done wrong. Everything he could think of, at the least. First of all, it definitely is nice that someone in a prominent position there is sorry, and I believe this is the first time I've heard any of them apologize for the child abuse that went on. However, I do have a few gripes.

The first is motive. This bishop wasn't apologizing just because he was sorry about all that had happened. He apologized because he thought it would help draw people back into Catholicism. This doesn't mean he isn't actually sorry, and I don't doubt that this man in particular probably is, but it does mean that it isn't as big a reason for him as attracting people to the religion.

My second problem is that although an apology is fine, what I really want is a promise to try to improve. Weeding out the bad ideas you know about is a good first step, but other bad ideas will keep popping up. You have to get down to the root causes and pluck them out. Unfortunately, this is something I expect the church never to do, as it would involve using logic instead of faith, relying on evidence instead of divine revelation, etc. In short, it would take all the religion out of religion. Not that I'd mind seeing that happen, but it's not going to.

Proceed with your information binge...

Monday, November 19, 2007

The God Hypothesis

I'd like to make a few comments about my recent post, Intelligent Planting. I left the narrative without any comments there, as I figured this was an allegory that worked well enough on its own. I set up a parody of Intelligent Design to better illustrate all the leaps in logic design proponents expect people to make. It starts with jumping from "it doesn't look random" to "it was designed." Then it jumps from "it was designed" to "God/Pete designed it, and he also did all these other things recorded in the Bible." Now, of course, design proponents are all about hiding their religious affiliation, but it's there, and it is their ultimate goal, whether they'll admit it or not. I also then threw in some of the other doggerel they use to justify this for good measure, particularly mocking the appeal to faith.

That all being said, you might be somewhat surprised to learned that Intelligent Design wasn't my initial impetus for writing this story. Instead, this comes from a different argument for God which makes much the same leap in logic (from saying there was someone or something to saying it was God). This was what's known as the Cosmological Argument. When boiled down, it essentially becomes, "There was an ultimate cause for everything, therefore God."

You might want to take a moment to read through the Wikipedia article on this argument, linked above. What I'd like to call to your attention is the simple fact of how many variations on this argument there are. The Cosmological Argument is often presented as being strictly logical, but if that were so, then you wouldn't expect these variations on exactly how the Prime Mover/Uncaused Cause/God started things. Therefore, it would seem that most or all of these arguments are likely making some assumptions behind the scenes (or are just fallacious).

For example, let's take the argument of Thomas Aquinas, one of the more complete versions. From the Wikipedia summary:

1. Every finite and contingent being has a cause.
2. Nothing finite and dependent (contingent) can cause itself.
3. A causal chain cannot be of infinite length.
4. Therefore, there must be a first cause; or, there must be something that is not an effect.


Few would argue with points 1 and 2, but let's take a look at point 3. Why is it that a causal chain cannot be of infinite length? Presumably this is simply stated because the thought of it seems absurd, but is it really? Let's extend things into the future. Under most modern models for the universe and many religious models as well, time will go on infinitely into the future. This means that as long as it keeps going, we'll keep on having a causal chain. Thus, the causal chain will extend infinitely into the future. Ipso, a causal chain of infinite length. (Man, have I been itching to properly use "ipso" in a sentence...)

So, if it can extend infinitely into the future, what's wrong with having a causal chain extend infinitely into the past? It's at this point that it seems a bit more absurd instinctively, but logically it doesn't have to be. All laws of physics we know of are time-reversible, with a single exception that allows us to see order in time, the collapse of a wavefunction. If you compensate for collapse and run things backwards in time, you can see the same theme of causation occurring. Instead of a sperm and egg causing a zygote, you get a zygote causing a sperm and an egg, for instance. Running things this way, it doesn't seem so absurd that things might go on forever.

So here we have the problem with this particular argument: a false premise. The argument may still be technically valid (the conclusion can't be false if all the premises are true), but with a false premise, it's unsound, and we have no reason to believe the conclusion given this argument. Now, this doesn't mean that there wasn't actually some first cause, it only means that this argument doesn't prove it. So, let's entertain the idea that there was a first cause now, for completeness' sake.

What can we say about this first cause? Well, nothing, really. We can't claim it must have been intelligent, or even complex in any way, as it's easily possible for intelligence and complexity to arise from unintelligent, simple conditions, driven by a little randomness. However, we have a lot of religious people pointing to their own god and saying it fits the bill of a first cause. The argument for a first cause, even if it were valid, doesn't give us any reason to believe that the first cause is anything like their god, but that's not necessarily a problem.

What we can do is treat their god as a hypothesis to explain the first cause. A tactic like this is often done by scientists; we have a problem, so we hypothesize something to explain it which is a bit beyond what we know. Since it's beyond what we know, it often comes with the ability to predict other phenomena we haven't tested for yet. So, we then go and test for those phenomena. If they exist, we have evidence that this hypothesis is true. We can do roughly the same thing for the hypothesis that a god was the first cause.

The immediate problem is that invoking a god here is a gross violation of Occam's Razor. An explanation that invokes a particular brings in many interrelated claims, and has many, many predictions beyond the simple creation of the universe. This doesn't mean it isn't true, however; it just means that we're going to need a lot of evidence to support it. Otherwise, a simpler explanation (or less precise god) will be much preferred.

Now, there are many deities we can choose from, so I'll only use a couple examples here, positioned at extremes. Most other deities will fall on the continuum somewhere between these, and a mix of the applicable arguments will apply.

First up, I'm going to take the god believed in by many evangelical Christians in the US. This is the god discussed in the Bible, who did all the things claimed there. He's omnipotent, omniscient, omnipresent, and just generally omni. He also takes a role in our day-to-day lives. He listens to and answers prayers. He smites those who displease him in any way. When people die, their souls are judged by him. If they've led a ridiculously devout life, free from even the slightest pleasure (shadenfreude over thinking about sinners going to hell excepted), they go into heaven, a place of eternal bliss. If they're even slightly off, or believe in a slightly different god, they go to hell, a place of eternal torment. (Aside: I don't particularly care if anyone believes in exactly this god; I'm just using it as an extreme example.)

This the hypothesis to be tested. On the other end, we'll have the null hypothesis, which we'll be comparing this to. At the end, we hope to be able to reject either this or the null hypothesis. In this case, we can use the null hypothesis, "No god exists." If we find sufficient evidence for this god, we'll be able to reject this null hypothesis.

So, what of this is testable? If you say "none of it," scroll down a bit. I've got your untestable god there. This is a god who interferes with the world. If there are natural effects of supernatural causes, they can be tested for. Anyways, there are two big points here that we can test: Intercessory prayer and smiting the heathens. Let's start with prayer. This is something that actually has been scientifically tested. Repeatedly. And then some more. And again, because every time, the results weren't satisfactory. Whey weren't they satisfactory? Because the tests were either poorly done, or they didn't show any effect to prayer. Even if you don't agree that the ones who showed an effect were poorly done, it's still only a marginal improvement. It's nothing compared to the effect you'd think an omnipotent god like this could have.

But wait! "Absence of evidence isn't evidence of absence!" I hear you cry. Ah, well there's a big exception to that. Absence of evidence can indeed be evidence of absence when you've properly and thoroughly looked for evidence. I call it the Modus Tollens Exception, as you can phrase it in the following logical form:

P1: If A exists and we use method M to search for evidence, we will find evidence E.
P2: We used method M to search for evidence, and did not find evidence E.
C: Therefore, A does not exist.


Boiling it down to the simple logic, this is the valid structure:

P1: If A and M, then E.
P2: M and not E.
C: Not A.


This is essentially the Modus Tollens argument form, with a small complication of an extra requirement in the premise. Since we're using a logical form here, my argument that absence of evidence is in this case evidence of absence is also valid.

It's a bit harder to test the prediction that this god will go around smiting heathens, as we can't really control things here. However, if you look at what happens in the world, there isn't good evidence that this takes place. For instance, many evangelicals claimed that Hurricane Katrina was their god smiting New Orleans for all the debauchery that takes place there. The problem was that the French Quarter, which was where most of the debauchery took place, was one of the least-damaged areas. This particular claim, at least, doesn't hold water. (Ugh... I swear that pun was unintentional.)

In any case, testing prayer alone is sufficient here. We can, of course, add to the evidence for all the other claims about this god, though it's not necessary for the time being. Since we have evidence that prayer to this god doesn't work, we can reject the hypothesis that this god exists. And no, we don't go and accept the null hypothesis that no god exists; we just say that we fail to reject it. It could well be true, but we haven't shown that here.

Alright, now let's switch to the other extreme. Let's take a Deist god. This god created the universe, and then just kind of sat back and watched. Or maybe he went off to create another universe, or just took the next few billion years off to slouch around and watch TV. Or maybe he's a "she," or an "it," or some other gender we don't have a pronoun for. Not much is claimed about this god. In fact, aside from that he created the universe, not anything is claimed about this god. In contrast to the previous case where so much was claimed about the god that it was easy to find evidence against him, here, we don't have anything claimed at all beyond what we know happened. With this, we can't make any testable predictions about him, so we can't scientifically test for his existence.

This is still a hypothesis, though. The problem is that it's a completely useless hypothesis. There's nothing we can do to improve upon it, or get any further evidence that it might be true. There isn't even anything we can do to differentiate it from similar hypotheses, such as saying that instead of a god, a Flying Spaghetti Monster created the universe. Or we could say that the universe spawned yesterday from primordial slood with all the particles in just the right positions and velocities for us to be here with all this evidence for a past and memories of it.

In the end, there's no way to reject this hypothesis. But coupled with that is the fact that there's no way to get evidence for it. There's no reason for you to actually believe in it. The fact that it can't be disproven is no reason to believe, as following that logic would lead you to believe a million contradictory explanations for the beginning of the universe. This is why science doesn't do anything with untestable hypotheses; they're utterly useless.

In the real world, most gods people believe in fall somewhere between these extremes. They try to balance out not contradicting reality with having enough predictions to be useful. However, this doesn't really solve any problems. In order for their to be evidence of a god's existence, it has to make some predictions that later turn out to be true (and of course, can't be adequately explained without him. A god predicting gravity isn't a big deal). Simply throwing away disproven predictions and holding onto untestable ones still doesn't give anyone a reason to believe in this god.

However, I could well be wrong. If I am, if there's some god out there with good evidence for his existence, I would in fact quite like to know about it. I'd expect to have heard of it by now, but you never know. Maybe the right study just hasn't been performed yet. In which case, I challenge any believer who believes they have a testable prediction about their god to go out and perform a study to test it. Perform it well enough, and a positive result could be just what you need to convince me. Until then, I'm happy living my life accepting the null hypothesis as most plausible.

Proceed with your information binge...

Saturday, November 10, 2007

Skeptic's Circle #72 and #73

Bah, I've been remiss about this. I missed out on linking to the 72nd Skeptic's Circle and the 73rd Skeptic's Circle when they came around, so there ya go.

In other news, if you're going to conduct a demonstration claiming that a snake not biting you is evidence of your faith and God's existence, you have to prepared to take the fact that it instead bit and killed you as evidence against this.

Proceed with your information binge...

Tuesday, November 06, 2007

Intelligent Planting

One day, two friends, Jim and Mike, were out hiking through the wilderness. They came upon a beautiful patch of wildflowers, and while admiring it, they struck up the following conversation:

Jim: Amazing, isn't it?
Mike: Yeah. That Pete sure is something.
Jim: Pete? Who's Pete?
Mike: He's the guy who planted all of these flowers. You didn't think they'd be arranged so beautifully on their own, did you?
Jim: Well, actually, I did. Flowers evolved to be beautiful; it's part of how they attract bees to pollinate them or something. We can ask my friend Rick when we get back to town if you want the whole story; he's a botanist, so he should know. It's not too surprising they'd be beautiful.
Mike: Meh. I don't buy it. Even with that, the way they're arranged is too pretty.
Jim: I don't know, it seems pretty random to me. The human mind is good at picking out patterns, though, so the few that form randomly stand out to us and make us think it's beautiful.
Mike: Trust me. I know design when I see it, and that patch has too many nice patterns in it to be random. Someone must have purposefully planted them that way.
Jim: And that someone is Pete?
Mike: Exactly.
Jim: ... I think I'm missing a step here. I can see how your logic and way of thinking would lead you to believe someone must have planted those flowers – even if I don't agree with it – but how does that extend to it being a specific person? Do you know Pete or something?
Mike: Well, no.
Jim: Do you know anyone who's seen him? Or, maybe any newspaper articles about him planting wildflowers in this area?
Mike: Not exactly, no.
Jim: Then why do jump from “someone” to “Pete”?
Mike: Well, you see, when I was a kid, my mother read this book to me, all about Pete and his work. I've grown up believing in Pete ever since, and I make an effort to spread the word about him when I can. His work shouldn't go uncredited.
Jim: Okay, I guess that's better than nothing. I'd like to see this book sometime, though. See what all the fuss is about.
Mike: Oh, well you're in luck. I always bring a copy of it along when I go hiking.
(Mike searches through his bag, picks out a book, and hands it to Jim. Jim starts reading through it.)
Jim: Huh. Well I can see where you got some of your ideas from, but this just isn't too convincing to me.
Mike: Why not?
Jim: Well, for one thing, it isn't very consistent. For one thing, his last name changes spelling over the course of the book. It starts off as “Gardener” – a name whose appropriateness makes me suspect this started off as a simply children's book, but I digress – but in the last chapter it becomes “Gardner.”
Mike: Oh, well that's just a typo.
Jim: All seven times?
Mike: Okay, maybe not. I think different chapters might have been written by different people, so that would explain it.
Jim: Ah, I can see that. Especially if this just started as a children's story which got misinterpreted.
Mike: Hey! Don't disrespect my beliefs like that!
Jim: Sorry, but as your friend, I feel it's my obligation to tell you that what you're saying isn't that convincing.
Mike: What do you mean? Isn't the design of these flowers along with this book proof enough for you?
Jim: Well, for all I know, this book could have simply been intended as fiction. The design of these flowers – which I still don't agree to, mind you – is the only real evidence you've presented. Besides, I've heard of a few different stories about this type of thing. I think I recall one similar book, except it was a guy named Phil, not Pete.
Mike: Yeah, we get into fights with the Phil-believers all the time about this.
Jim: That's just the point. From your flimsy evidence, all you can argue for as that someone must have planted the flowers. There's no reason I should prefer Pete over Phil or maybe Bruce, Doug, or Pat!
Mike: That's where this book comes in. We've got evidence that there has to be someone planting these flowers, and we've got a story about Pete doing just that. Isn't that enough to believe in Pete?
Jim: Not really. I mean, a book like that isn't very good evidence. It's cobbled together by multiple authors, contradicts itself in many places, and doesn't even provide any way to verify any of it. And I'll remind you that I still think the layout of these flowers is simply random.
Mike: Well you see, that's where faith comes in. I mean, logically, it might not seem to all fit together. But you have to trust in Pete, and know that he really does exist, and somehow this all makes sense.
Jim: You say that as if blind trust is a virtue.
Mike: Pete says it is.
Jim: But you can't know that Pete's right unless you already accept that he exists.
Mike: Which I do, because of my faith.
Jim: You ever get the feeling we're arguing in circles?
Mike: Pete says the circle is perfect, and therefore circular logic is also a thing of beauty.
Jim: I don't think I want to be friends with you anymore.

Proceed with your information binge...

Tuesday, October 23, 2007

Let's see you argue with this

Sometimes an argument occurs to you that's just so ridiculous you have to share. But that's not today. Today I have a very serious point to make, on the very serious subject of abortion.

Now, many pro-lifers claim that life begins at conception, and that the child is a legitimate human at that point. What is it that makes them human? Well, if they stay out of religion, they'll argue about continuity of being, presence of human cells, and so on (if you have another argument, feel free to share that).

So, hypothetical question for any pro-lifers around here: Zombies. Okay, I should probably give you an actual question, I guess. Do zombies qualify as living humans? Now, while there's debate on whether zombies are human, they're by definition dead. If they weren't dead, they wouldn't be zombies. So, zombies are not overall living humans.

But what makes a fetus so different from a zombie? Zombies are connected to humans through a continuity of being, they're made of human cells, and even have higher intelligence and a more human form than a fetus. If zombies are dead, what is it about fetuses that makes them more alive than zombies?

Proceed with your information binge...

Thursday, October 18, 2007

Skeptic's Circle #71: Solutions, part 1

For those of you still hanging around and trying to solve the problems I posed you in the last Skeptic's Circle, I thought I'd do you the favor of compiling some of the solutions that have been posted. So far, I'm just going to give solutions to the problems that someone has solved in the comments, so anyone who wants to can still work on the as-yet unsolved problems. If those don't get solved in a while, I'll post the solutions for them as well.

If you still want to solve them on your own, don't read on. Also, note that for parsimony, I'm not going to be repeating the problems here. Go back here if you need a refresher.

Personalized Perfume Peril

Flip over 48 disks, and then separate those 48 into one pile, with the other 52 in the other pile.

Creative Cake Capers

As yet unsolved, at least here. This problem has been posted with solutions elsewhere on the internet.

Popping Placebo Pills

Take out one pill from the first jar, two from the second, three from the third, four from the fourth, and five (or zero would work too) from the fifth, and weight them. The weight should be the expected weight of 15 placebo pills + x grams, where x corresponds to the number of pills you took out of the jar which has the real pills.

Perilous Peace Problems

Push the cork into the bottle, somehow destroy the cork while making sure any remnants fall into the bottle, melt a hole in the bottle, or simply ignore the whole problem as it's more likely there is no poison gas and it's instead the pill that's poisoned.

Crazed Canting Christians

As yet unsolved here. One little hint: If you make a certain observation about the problem, it becomes trivial math to find the solution.

Hidden Handbook Hassle

Skeptico puts the book in his safe, and his lock on it. He sends the safe to his friend, who puts his lock on it as well, and then returns it. Skeptico removes his lock and sends his safe back. His friend removes his lock and takes out the handbook.

Weird Water Woo

Tilt the glass to the side until the water just reaches the rim. If the water at the bottom also meets the edge there, it's half full. If it's above the edge, you have more than half; below, less than half. If you accidentally spill the water, you now have less than half.

Screwy Scarfe's Secrets

Referring to the guys by the time it takes them to cross:

1 and 2 cross (2 minutes)
1 returns (1 minute)
4 and 8 cross (8 minutes)
2 returns (2 minutes)
1 and 2 cross (2 minutes)

Total time: 15 minutes. Most people end up with some solution that results in 16 minutes, but it's not optimal.

Poor Poisoned Pinheads

Number all the bottles in binary, from 0000000001 to 1101101010 (which corresponds to 874. On the first day, give each of Buzz's captives a number from 1 to 5. Have each of them take a sip from each bottle that has a 1 in its binary digit corresponding to their number. For each captive that gets amnesia the next day, write a 1 in that digit, and a zero for captives who didn't get amnesia. The second day, do the same thing with the 6th through 10th digits. Once all the digits are written down, you'll have uniquely identified the poisoned bottle. At this point, make them all drink from it and throw them out on the street so they won't be able to tell anyone what you did.

What Wifi Woo?

As yet unsolved here. The best solution given can do it in 4 total trips, but it's possible to do it in only 2.

Manic Motor Mythbusting

Use the following program:

Move 100m forward (label: START)
Move 100m forward
Move 100m backward
Skip next command unless a parachute is nearby
Goto SPEEDUP
Goto START
Move 100m forward (label: SPEEDUP)
Goto SPEEDUP

Paddling Pooch Problem

As yet unsolved here.

Action/Adventure Akusai

Choose to play first, and place your first disk at the center of the table. After this, match each of your opponents moves with a symmetric move across the table from him. He'll run out of moves first.

Great Galileo's Ghost

I'll just quote the solutions from my comments here. Figuring out which is which is trivial, as you just have to ask questions you know the answer to, and keep repeating to sort out who's answering randomly. First, from Miller:

For the Galileo puzzle, you can ask the following compound question to voip out lying clones:

Is the following true: You will answer this with "yes" or (inclusive) you are the real Galileo.

Similarly, the following will voip truth-telling clones.

Is the following true: You will answer this with "no" or you are the real Galileo.

Alternating between these two questions will eventually voip a clone with the random curse.


From Simon, a single-shot question:

"Is it the case that you are a clone and that you will either answer this question truthfully with a 'no' or falsely with a 'yes'?"


My original answer to this last part was the question: "Is the statement, 'You are a clone and this statement is false,' true?"

Super-Scammer Secrets

As yet unsolved completely. There are many ways you could decrease the amount of information found on a single slide, but the true puzzle is to figure out a way that whichever two slides are found, absolutely zero information is passed on.

For a hint, imagine if the puzzle were to instead use two slides, and either alone would carry no information. The following solution would work in this case: Pixelate the presentation, and make sure the pixels are quite large and easily distinguishable. Generate one transparency that's completely random, with each pixel being randomly either transparent or 50% opaque. Then, for the second sheet, for the places where the message is spelled out, choose either transparent or 50% opaque as necessary to make the pixel result in 50% opaque. For places where the message isn't, match the pixel to the one on the other slide. The result will be the message appearing in grey text on a mixed black and white background.

Note that this is possibly the most difficult problem here. Though it's been posed on the internet, I haven't found any solutions posted. I have solved it myself, however, so don't worry.

Harebrained Hat Help

Solution by RodeoBob:

Got the Hats puzzle solved. It does, however, depend on everyone being an expert at logic, and everyone following the same game plan...

The color of the wearer's hat is the same color as the smallest group of colored hats he or she can see, and they must make their guess (and leave the circle!) at the first opportunity allowed.

To make it clearer, let's break the process up into 5-minute rounds. (at the end of each 'round', the announcement comes on asking folks to announce the color of their hat)

In the first round, anyone who can only see one hat of a specific color is wearing that color hat. (we know there must be at least two, right?)

In the second round, anyone who can see only two hats of a given color is wearing that color. (we know that there must be three of each color now, since any color that were only present on two heads should have left last round...)

The puzzle only works if everyone is looking, and if everyone leaves at the right time. If somebody falls asleep, or isn't paying attention, or loses count and misses a round, the whole thing falls apart.


Singular Sword Slashes

From Rick Taylor in the comments:

In the singular sword slashes, none of the prisoners were killed.

They all got together and agreed as follows. Whoever was last in line would call out his own hat based on the parity of red hats he saw before him. If he saw an even number of red hats, he'd call his red; if he saw an odd number red hats, he'd call his blue. That man might die, but the next in line, seeing the hats in front of him and knowing the parity of red hats including his own could deduce his hat color. The man in front of him, now knowing both the color of the hat behind him and the parity of all the hats besides his own could deduce his own, and so on to the front of the line. The executioner, hearing this and seeing he could not avoid sparing all but the last in line, arranged the hats to ensure at least he was killed, even though the 99 others were spared, and that was that.

Only it wasn't. All one hundred silently reasoned that the executioner would have to place an even number of red hats in order to kill the last one in line. And so they abandoned their plan and used that information to save them all from last to first.

The truly delicious part of that last solution is that even if we assume the executioner anticipated they would change their strategy to trick him (no reason to as he isn't part of the mensa cult) and put an odd number of red hats to on them, the last man in line would die, but the 99 remaining would still live, even using the wrong information. So there's no reason for them not to try!


Ending Erroneous Expectations

From Edward in the comments:

We can answer the pirates problem using induction, of sorts.

Consider the situation with 5 pirates. If it ever gets down to two pirates, the senior one can simply award all the money to himself and vote for it. With three pirates, the senior one has to convince one other pirate to vote for his plan. The cheapest way of doing this is to award the junior pirate 1 coin and keep 99. Then with four pirates, the senior one only has to convince one other pirate to join him. If it gets down to three, the middle one can't expect to make anything, so he can be bought with 1 coin. With five pirates, the senior pirate needs two others to join him. He can do this by giving one coin to each of the 3rd and 5th most senior pirates, since they'll get nothing if he dies. He would keep the other 98 coins to himself.

Now consider six pirates and only one coin. As before, with only two pirates, the senior pirate can award all money to himself. With three, the senior pirate needs to award the one coin to the junior pirate. With four, the senior pirate can award the coin to either of the two pirates immediately below him. With five pirates, the senior pirate need to convince two pirates to join him, which is impossible. Therefore the second most senior pirate will die if it gets to him, so he will vote for absolutely any plan the most senior pirate proposes. The most senior pirate can then avoid death by awarding the coin to the most junior pirate.


That's it for now, so go give those unsolved problems another try if you think you're up for it!

Proceed with your information binge...

Tuesday, October 16, 2007

Something for nothing and your universe for free

One argument I keep running into that is supposedly evidence for God (sometimes a generic god, sometimes a specific one) is that the universe began, therefore it must have been created. Sometimes it's more elaborate than this, sometimes not. In the cases where it's just this simple, it's effectively a God of the gaps argument. Since that type of argument has been dismantled repeatedly, I'm going to focus on the more elaborate versions today.

The most common elaboration to this argument is that the creation of the universe violates conservation of energy. "It's a well-known fact of science that you can't get something from nothing," they say. Interestingly, it seems that the people who say this sort of thing rarely have any real background in physics, much less a background in theoretical physics or cosmology. Before making big assumptions like this, wouldn't it make sense to check with someone who knows what they're talking about in this area to see if they could explain it?

Now, if only we had a cosmologist on hand... Wait a second, I'm a cosmologist! Well, I guess I'd better try to make some sense of these problems then. So, to the claims that the creation of the universe violates conservation of energy, my response can be summed up in two simple retorts: "Says who?" and "Even if so, so what?" Allow me to elaborate.

The first catch is that we don't know for sure that the creation of the universe actually does violate conservation of energy. First, let's keep to known science, and use an example taking place within our own universe. Let's say that somehow, a massive particle was created. Since mass = energy, this took up energy to create it. Now, what could have happened to allow this creation? A few possibilities:

1. Some physical process took place which resulted in an excess of energy. This extra energy was converted into this particle.
2. Even a vacuum doesn't have zero energy. It's possible that this particle borrowed energy from the vacuum in order to form (possibly along with its antiparticle if it has other properties such as charge which need to be conserved).
3. This particle was created alongside a mirro version of itself which has negative mass, resulting in a net change of zero energy. Note that we've never observed negative mass particles, but our current laws of physics don't bar them from existing.

So, let's expand to the creation of our universe. It turns out that for each of these, there's a nice parallel for the creation of the universe as well:

1. Some physical process took place outside our universe which resulted in an excess of energy. This extra energy was converted into our universe.
2. Whatever medium exists outside our universe might not necessarily have zero energy. It's possible that the creation of our universe simply borrowed some energy from this medium. A parallel anti-universe might also exist to balance quantities which must be conserved.
3. Our universe was created alongside a negative energy version of itself, so the net change in energy is zero.

There's also one more explanation which works for our universe, but not for the particle example:

4. Our universe has a net energy of zero. It is possible that the mysterious phenomenon we've termed "Dark energy" actually has negative energy, and this balances out the positive energy all of the mass in the universe provides. A little catch is that there's likely much more dark energy in the universe than all the other mass, so we'd actually be at an excess if this were true. That's little problem though, as it could easily have just been radiated away or whatever outside our universe.

So there you have it, four possible reasons why the creation of our universe might not violate conservation of energy. But even going into all that isn't really necessary. The catch is, violating conservation of energy isn't necessarily a problem when it comes to the creation of the universe. The reason for this is a bit complicated, but a simple version is as follows: Conservation of energy is an observation we've made which always seems to hold within our universe. We have no evidence that it holds outside our universe, or even that any of our laws of physics are the same out there. Therefore, we don't have reason to believe it must hold at the point of creation.

Now, for the more complicated explanation. We actually do have one explanation for why energy (and other properties, for that matter) is conserved. The reasoning is complicated, so I won't go into it here, but the key point is that it relies on what are known as symmetries. In the physics world, a symmetry is more than simply being able to mirror something and have it be the same. What it means here is that we could move the whole frame of reference in some way, and all the physics would remain the same.

There are three big symmetries of this type you'll know of. There's translational symmetry, which means if you move a foot to the right for instance, physics stays the same. There's rotation symmetry, which means whichever way you turn, the physics is the same. And there's temporal symmetry, which means that physics stays the same over time. There are also some others you probably haven't heard of it you haven't take college physics, such as gauge symmetry, but you don't need to worry about those here.

The important point about this is that there's a law of physics which states that for every symmetry, there must be some conserved quantity. This is completely unintuitive, but it's provable. Not easily provable, and most people reading this probably wouldn't understand the proof in any case, but it is provable, so just trust me on this. When we apply this law, we get the following conservations from the following symmetries:

-Translational symmetry gives us conservation of momentum.
-Rotational symmetry gives us conservation of angular momentum.
-Temporal symmetry gives us conservation of energy.
-Gauge symmetry gives us conservation of charge.

The important one for our purposes is the third: Temporal symmetry gives us conservation of energy. What happens if we no longer have temporal symmetry? Well, we can no longer guarantee conservation of energy. Now, think back to the beginning of the universe. At this point, all of the universe is compressed to a single, zero-dimensional point. Are the laws of physics the same here? Not at all. Temporal symmetry must be broken at this point, so we have no reason to believe that conservation of energy must apply. The instant after it, we start to have temporal symmetry, so whatever energy we start with we're stuck with, but there's no way to say what this might be.

So there you have it: a cosmologist's perspective on conservation of energy at the beginning of the universe. We don't know that the beginning of the universe violates conservation of energy at all. Even if it does, this isn't necessarily a problem. Even if all this is a problem, it's still at best a God of the gaps argument, and that's really no reason to believe at all.

Proceed with your information binge...

Friday, October 12, 2007

The Streisand Effect

The Society of Homeopaths really should do their research before trying to censor something on the internet. Then again, homeopaths and actual research aren't exactly the best of friends, so it's not surprising they've never heard of the Streisand Effect. Basically, it's a trend on the internet that trying to censor some material just generates more publicity and makes the material more widely available. This is why you now see many bloggers - myself now included - reposting Le Canard Noir's post, "The Gentle Art of Homeopathic Killing." Check out Respectful Insolence for a bit more on the story.

So, I now present to you:



The Gentle Art of Homeopathic Killing


by Le Canard Noir



The Society of Homeopaths (SoH) are a shambles and a bad joke. It is now over a year since Sense about Science, Simon Singh and the BBC Newsnight programme exposed how it is common practice for high street homeopaths to tell customers that their magic pills can prevent malaria. The Society of Homeopaths have done diddly-squat to stamp out this dangerous practice apart from issue a few ambiguously weasel-worded press statements.



The SoH has a code of practice, but my feeling is that this is just a smokescreen and is widely flouted and that the Society do not care about this. If this is true, then the code of practice is nothing more than a thin veneer used to give authority and credibility to its deluded members. It does nothing more than fool the public into thinking they are dealing with a regulated professional.



As a quick test, I picked a random homeopath with a web site from the SoH register to see if they flouted a couple of important rules:



48:
• Advertising shall not contain claims of superiority.
• No advertising may be used which expressly or implicitly claims to cure named diseases.

72: To avoid making claims (whether explicit or implied; orally or in writing) implying cure of any named disease.



The homeopath I picked on is called Julia Wilson and runs a practice from the Leicestershire town of Market Harborough. What I found rather shocked and angered me.



Straight away, we find that Julia M Wilson LCHE, RSHom specialises in asthma and works at a clinic that says,



Many illnesses and disease can be successfully treated using homeopathy, including arthritis, asthma, digestive disorders, emotional and behavioural difficulties, headaches, infertility, skin and sleep problems.


Well, there are a number of named diseases there to start off. She also gives a leaflet that advertises her asthma clinic. The advertising leaflet says,



Conventional medicine is at a loss when it comes to understanding the origin of allergies. ... The best that medical research can do is try to keep the symptoms under control. Homeopathy is different, it seeks to address the triggers for asthma and eczema. It is a safe, drug free approach that helps alleviate the flaring of skin and tightening of lungs...


Now, despite the usual homeopathic contradiction of claiming to treat causes not symptoms and then in the next breath saying it can alleviate symptoms, the advert is clearly in breach of the above rule 47 on advertising as it implicitly claims superiority over real medicine and names a disease.



Asthma is estimated to be responsible for 1,500 deaths and 74,000 emergency hospital admissions in the UK each year. It is not a trivial illness that sugar pills ought to be anywhere near. The Cochrane Review says the following about the evidence for asthma and homeopathy,



The review of trials found that the type of homeopathy varied between the studies, that the study designs used in the trials were varied and that no strong evidence existed that usual forms of homeopathy for asthma are effective.


This is not a surprise given that homeopathy is just a ritualised placebo. Hopefully, most parents attending this clinic will have the good sense to go to a real accident and emergency unit in the event of a severe attack and consult their GP about real management of the illness. I would hope that Julia does little harm here.



However, a little more research on her site reveals much more serious concerns. She says on her site that 'she worked in Kenya teaching homeopathy at a college in Nairobi and supporting graduates to set up their own clinics'. Now, we have seen what homeopaths do in Kenya before. It is not treating a little stress and the odd headache. Free from strong UK legislation, these missionary homeopaths make the boldest claims about the deadliest diseases.



A bit of web research shows where Julia was working (picture above). The Abha Light Foundation is a registered NGO in Kenya. It takes mobile homeopathy clinics through the slums of Nairobi and surrounding villages. Its stated aim is to,



introduce Homeopathy and natural medicines as a method of managing HIV/AIDS, TB and malaria in Kenya.


I must admit, I had to pause for breath after reading that. The clinic sells its own homeopathic remedies for 'treating' various lethal diseases. Its MalariaX potion,



is a homeopathic preparation for prevention of malaria and treatment of malaria. Suitable for children. For prevention. Only 1 pill each week before entering, during and after leaving malaria risk areas. For treatment. Take 1 pill every 1-3 hours during a malaria attack.


This is nothing short of being totally outrageous. It is a murderous delusion. David Colquhoun has been writing about this wicked scam recently and it is well worth following his blog on the issue.



Let's remind ourselves what one of the most senior and respected homeopaths in the UK, Dr Peter Fisher of the London Homeopathic Hospital, has to say on this matter.



there is absolutely no reason to think that homeopathy works to prevent malaria and you won't find that in any textbook or journal of homeopathy so people will get malaria, people may even die of malaria if they follow this advice.


Malaria is a huge killer in Kenya. It is the biggest killer of children under five. The problem is so huge that the reintroduction of DDT is considered as a proven way of reducing deaths. Magic sugar pills and water drops will do nothing. Many of the poorest in Kenya cannot afford real anti-malaria medicine, but offering them insane nonsense as a substitute will not help anyone.



Ironically, the WHO has issued a press release today on cheap ways of reducing child and adult mortality due to malaria. Their trials, conducted in Kenya, of using cheap mosquito nets soaked in insecticide have reduced child deaths by 44% over two years. It says that issuing these nets be the 'immediate priority' to governments with a malaria problem. No mention of homeopathy. These results were arrived at by careful trials and observation. Science. We now know that nets work. A lifesaving net costs $5. A bottle of useless homeopathic crap costs $4.50. Both are large amounts for a poor Kenyan, but is their life really worth the 50c saving?



I am sure we are going to hear the usual homeopath bleat that this is just a campaign by Big Pharma to discredit unpatentable homeopathic remedies. Are we to add to the conspiracy Big Net manufacturers too?



It amazes me that to add to all the list of ills and injustices that our rich nations impose on the poor of the world, we have to add the widespread export of our bourgeois and lethal healing fantasies. To make a strong point: if we can introduce laws that allow the arrest of sex tourists on their return to the UK, can we not charge people who travel to Africa to indulge their dangerous healing delusions?



At the very least, we could expect the Society of Homeopaths to try to stamp out this wicked practice? Could we?

Proceed with your information binge...

Thursday, October 11, 2007

Skeptic's Circle #71

Welcome one, welcome all, to the 71st edition of the Skeptic's Circle. The theme for this week is logic. Logic puzzles to be precise. After all, logic is one of the best razors against irrational thinking, and like any razor it needs to be periodically sharpened. So, for that purpose I've prepared some logic puzzles for you all to work through, each one based on a post submitted.

I've sorted the puzzles by a rough estimate of their difficulty, though the ones each person will find easiest will likely differ. Feel free to discuss the puzzles in the comments, including guesses as to the answers (though if you've heard one before, don't spoil the fun for others). Just be warned that if you go reading the comments, you might run across an answer or two that's already been guessed.



I've also prepared a "Just the links" version if you're short on time or logic, so feel free to take advantage of that.

The next Skeptic's Circle will be hosted at The Quackometer Blog. Check over there for contact information to submit for next week's. So long, and happy puzzle-solving!

Proceed with your information binge...