Thursday, February 4, 2010

The "Harry Potter" Bottle Puzzle.

In the first "Harry Potter" book there is a logic puzzle toward the end of the book. They are trying to get safely through a door in front of them (Forward) or they can give up and go Backwards through the door behind them. The doors are closed by fire until they choose and drink from one of the 7 bottles in a line on a table in front of them. Also on the table is a parchment with the following written statements:
Danger lies before you, while safety lies behind,
Two of us will help you, whichever you would find,
One among us seven will let you move ahead,
Another will transport the drinker back instead,
Two among our number hold only nettle wine,
Three of us are killers, waiting hidden in line.
Choose, unless you wish to stay here forevermore,
To help you in your choice, we give you these clues four:
First, however slyly the poison tries to hide
You will always find some on nettle wine’s left side;
Second, different are those who stand at either end,
But if you would move onward, neither is your friend;
Third, as you see clearly, all are different size,
Neither dwarf nor giant holds death in their insides;
Fourth, the second left and the second on the right
Are twins once you taste them, though different at first sight.
So one bottle is forward F, one is backwards B, two are nettle wine W, and three are Poison P. They are all different sizes and the sight of the liquid doesn't mean they're different.

I start with the fourth clue that positions 2 and 6 are the same. Forward and Backward have no twins so 2 and 6 must be either Wine or Poison. If wine then 1 and 5 are Poison by the first clue that to the left of Wine will always be Poison. This yields two possibilities.

Possibility "A" : P W # # P W #
Possibility "B" : # P # # # P #

Next, further develop possibility "A". By the second clue the two ends are different and neither is Forward, therefore position 7 is not Poison like position 1, and is not Forward. The only thing left is for position 7 to be is Backwards.

Possibility "A" : P W # # P W B

The two positions left are either Forward and Poison or Poison and Forward, yielding two possibilities.

Possibility "A1" : P W F P P W B
Possibility "A2" : P W P F P W B

Now back to possibility "B". By the second clue neither end is Forward leaving Forward to be in Position 3, 4, or 5.

Possibility "B1" : # P F # # P #
Possibility "B2" : # P # F # P #
Possibility "B3" : # P # # F P #

Now we fill in the remaining three positions of each possibility. The first clue says that Wine will always have a Poison to it's left. Position 1 has no left, therefore it cannot be a Wine. I start with finding which two of the three remaining positions are Wine.

Possibility "B1", Wine can't be in position 4 since that requires 3 to not be Forward. The two Wines fill positions 5 and 7. Position 4 must be a Poison to the left of Wine, leaving position 1 to be Backward.

Possibility "B1" : B P F P W P W

Possibility "B2", Wine can't be in position 5 since that requires 4 to not be Forward. The two Wines fill positions 3 and 7. Positions 1 and 5 can be either Backward or Poison, yielding two more possibilities.

Possibility "B2a" : B P W F P P W
Possibility "B2b" : P P W F B P W

Possibility "B3", Wine can't be in both position 3 and 4 because that would require 3 to be Poison (to the left of 4). If position 1 can't be Wine and only one Wine can fit in 3 and 4, then position 7 is the only place where the second Wine can fit. The first Wine can be in either 3 or 4, yielding two further possibilities.

Possibility "B3a" : # P # W F P W
Possibility "B3b" : # P W # F P W

Further developing possibility "B3a", the first Wine must have a Poison to the left, leaving position 1 to be Backwards.

Possibility "B3a" : B P P W F P W

Further developing possibility "B3b", positions 1 and 3 are either Backwards and Poison or Poison and Backwards respectively, yielding two further possibilities.

Possibility "B3b1" : B P W P F P W
Possibility "B3b2" : P P W B F P W

This ends us with eight possibilities. Which position/bottle is the smallest and which is the largest (neither dwarf nor giant) is not stated in the book (though the characters could obviously see this). I don't believe it can be further reduced without knowing which positions are the Smallest and Largest bottles.

Possibility "A1" : P W F P P W B
Possibility "A2" : P W P F P W B
Possibility "B1" : B P F P W P W
Possibility "B2a" : B P W F P P W
Possibility "B2b" : P P W F B P W
Possibility "B3a" : B P P W F P W
Possibility "B3b1" : B P W P F P W
Possibility "B3b2" : P P W B F P W

The question now comes: "Can the puzzle be solved if we knew the missing information that the characters of the book would have had?"

It is revealed in the book that the Smallest bottle turns out to be the way Forward, and that the bottle in position 7 is Backward. The reveal that 7 is Backward indicates it is an "A" possibility. However, these are reveals and not clues or data known to the characters.

Neither dwarf nor giant holds death. It doesn't seem to matter which is which, so here goes.

Either the Smallest or Largest (s/l) is in one of the seven positions and the other is in one of the remaining six positions. This yields 42 possibilities of where they are. If s/l is in position 2 or 6 then the other s/l cannot be in 1 or 5. If s/l is in either 1 or 5 then the other cannot be in 1 or 6. This eliminates 8 possibilities leaving 34 variations.

If either 2 or 6 are either Smallest or Largest (s/l) then it must be a Possibility "A", and if either 3 or 4 is s/l then the puzzle is solved. So if the book situation is any of these 4 variations then we and the characters could solve the puzzle and the solution would be either A1 or A2.

Do any of the other 30 variations of s/l positions solve the puzzle?

If s/l are in both positions 1 and 7 then the puzzle can NOT be solved. If s/l are in both positions 2 and 6 then the puzzle can NOT be solved. This eliminates four more variations since the characters DO solve the puzzle.

Do any of the other 26 variations of s/l positions solve the puzzle?

I'll leave it at that for now since my brain is going dead.

Sunday, January 31, 2010

Grrrrr . . . . . Aaaaarrrrrgggghhhh ! ! !

Tax season again, and one of the things I have to deal with is putting together the annual report of Beth's home business.

. . . I'm not a bookkeeper.

. . . BETH IS CERTAINLY NOT A BOOKKEEPER ! ! !


I'm now struggling through the mess once again, and wondering how to get her to do it right from the get-go so that it's not a total cluster-#$&% at this time of year.

She originally started with a paper 3 column register. Then we spent big bucks on QuickBooks (way too complicated). Now we're currently using Quicken Home & Business. This is what I use for keeping our home accounts and paying the bills etc. She keeps a seperate file on her computer for the business and uses the "business" features of "Home & Business".

Aaaarrrghhh . . . what a mess.

The trouble comes from several flaws. All operater error of course, but that doesn't make the software any less aggravating. One flaw is it lets you put in negative numbers. Accounting doesn't have negative numbers ( it's a positive number in the debit column or in an expense category). Another flaw is it lets you choose an expense category in a place/situation where there should ONLY be income categories, and vice-versa.

She can't possibly have over $10,000 in invoices in a primarily service business and yet have a profit/loss report show a yearly profit of $650. Good for taxes you say, but that can't possibly be right. God help us if the IRS audits.

Saturday, January 30, 2010

Never give up.

Yes, this is an actual product. For those people who feel something missing when they drop their traditional land-line phone service. It also comes in a cord free Bluetooth version. But unless you were one of those people who could cradle it between your ear and shoulder, I don't think it meets the new hands-free cell phone laws.

Monday, January 18, 2010

Portland Oregon carpenter going to work.

Wednesday, December 16, 2009

Mrs. Cratchet's Greatest Success

The Christmas Pudding, cannon ball shaped and served with flaming brandy and a sprig of holly.

It was ball shaped because it was cooked not in a baking dish but in a tied up piece of cloth like a sack and was boiled in water, not steamed or baked. In reading several Dicken's books you learn that cooking facilities of the common people was the fireplace. This hearth may have had small surface of iron like a small griddle but that is the extent of the kitchen. The Cratchet's dinner included potatoes cooked in a pan on this hearth and applesauce. Yes, the goose was baked, but the only available ovens were the town bakeries, hence the passage in 'A Christmas Carol' describing people carrying home their dinners through the streets. As I said the pudding was boiled, but the only pot large enough was the "copper", being the laundry tub in the backyard.

Christmas Pudding History and Recipes

Wednesday, December 9, 2009

I KNEW IT!!!

Chemical In Beer May Prevent Prostate Cancer

9:01am UK, Wednesday December 09, 2009
Lewis Dean, Sky News Online

Beer-drinking men may be reducing their chances of developing prostate cancer with every pint, tests by scientists have revealed.

Two pints of beer
Beer contains a compound that may fight cancer.

Experiments have shown that xanthohumol, a compund derived from the hops in beer, blocks a chemical reaction that can lead to the development of cancer.

The disease is usually treated with drugs that act in a similar way.

Study leader Dr Clarissa Gerhausa, from the German Cancer Research Centre in Heidelberg, said: "We hope that one day we can demonstrate that xanthohumol prevents prostate cancer development, first in animal models and then in humans, but we are just at the beginning."

Xanthohumol is a powerful antioxidant, known to have anti-cancer properties. It is also found in fruits and spices.

It was previously suggested that the compound could reduce the chances of females getting breast cancer.

Scientists now believe a similar reaction could affect men.

Further research involving rats showed that xanthohumol reduced the effects of hormone signalling in prostate tissue.

Sunday, December 6, 2009

Gotta love VDH

An analogy to make you go . . . "huh?" and start reaching for the dictionary.

It is sort of like the retiarius throwing his net every which way while stabbing with trident—only to cry foul and “how dare you!” when nicked back by the sica of the Thracian.

-Victor Davis Hanson, from a recent political commentary article.

================================================

retiarius (plural retiari or retiarii)

  1. A type of gladiator, who uses a casting net (a rete or iaculum) as a weapon.

sīca
(genitive sīcae); f, first declension
  1. a poniard, a curved dagger

Thracian

  1. an inhabitant of Thrace, regardless of ethnicity (plural Thracians).

Thrace
  1. A region in northeastern Greece, much of southern Bulgaria, and parts of northwestern Turkey.

Saturday, December 5, 2009

Porky Politician

I was reading an article which at one point talked about the Fed. Just to brush up my knowledge I wiki'd it and skimmed through it a bit. In doing so I came across this little chart in the sidelines and this little tidbit in it's explanation. I found it poignant because I totally agree with the last part.
The generally agreed upon reason independence leads to lower inflation is that politicians have a tendency to create too much money if given the opportunity to do it.

Friday, December 4, 2009

Reefer madness

You know those keyless remote entry fobs that come with cars nowadays. The ones that you thought were a silly idea until you actually started using one and now your opinion is "how did we ever do without them". Well, automatic ice and water in the refrigerator door has become the same way.

This is the water supply connection that comes with the standard kit. It's made for homeowners who want to connect up fast and easy without calling a plumber. They work by puncturing a little hole in the water pipe with a sharp needle and are made water tight with a rubber gasket. However since installation the water flow has always seemed very slow when waiting to fill up your glass, so I went down the other day and ran the needle in (and out) again attempting to make the hole larger and guess what, that's right, no water flow at all. Apparently the rubber gasket has now been squished to the point of cutting off the flow no matter what, even with completely dismantling and reinstalling it.

Here's my solution. Luckily I already owned the blow torch plumbing kit from a previous project and this roughly only cost the price of a new valve.

Thursday, December 3, 2009

Apostrophe's test in link

This is a test. If this were a real notice, please proceed to the bomb shelter of your choice.

Update:
Test unsuccessful. Blogger removed the apostrophe from the actual link/page URL. Also Blogger eliminated the space and question marks of the post below also (when viewing the individual post as a separate page).

Hmmmmm, how to test...

Another Article Censored ??

http://frontpagemag.com/2009/12/03/what%E2%80%99s-liberating-about-islam-by-rita-karlsen/

Another article on FrontPageMag, About Islam, From Norway, Translated (I think by the same person). Different original Author. Again the founding link was on Lucianne.

Still the apostrophe in the title, but I don't think that's the problem.

When on FrontPage website I used their google search to search the site; the author and the title show up several places (the search returns several results). But when I go to the listing or reference pages the very phrases that google found are not to found on the page as displayed. They seem to be scrubbed. The search results of the actual article again return a 404.

Tuesday, December 1, 2009

Flight Attendant Hell


Ladies and gentlemen, may I have your attention, those passengers seated in rows 1 thru 28 will not receive meal and drink service due to a slight obstruction in the aisle-way. In case of an emergency the emergency exit located at seat 27F will be unavailable as it will be wedged full of flesh. Thank you for your attention, have a nice flight, and thank you for flying American Airlines.

Twas the Night before Christmas

*As Targets were hanging their trees upside down*
* At Lowe's the word Christmas - was no where to be found.*
*At K-Mart and Staples and Penny's and Sears*
*You won't hear the word Christmas; it won't touch your ears.*
*Inclusive, sensitive, Di-ver-si-ty*
*Are words that were used to intimidate me.*
*Now Daschle, Now Darden, Now Sharpton, Wolf Blitzen*
*On Boxer, on Rather, on Kerry, on Clinton !*
*At the top of the Senate, there arose such a clatter*
*To eliminate Jesus, in all public matter.*
*And we spoke not a word, as they took away our faith*
* Forbidden to speak of salvation and grace*
*The true Gift of Christmas was exchanged and discarded*
*The reason for the season, stopped before it started.*
*So as you celebrate 'Winter Break' under your 'Dream Tree'*
*Sipping your Starbucks, listen to me.*
*Choose your words carefully, choose what you say*
*Shout MERRY CHRISTMAS ,
not Happy Holiday !*
Please, all Christians join together and
wish everyone you meet during the
holidays a
MERRY CHRISTMAS
Christ is The Reason for the Christ-mas Season!


Over the years whenever I've been confronted with the political correctness of "Cultural Sensitivity" and "Celebrating Diversity", I've always noticed that my culture and my choice to be diverse is either ignored and left out or sometimes slandered as the bad guy. I'll celebrate with them when my culture is included equally and without prejudice.

Yes, I'm a Christian, White, Male, American of Anglo-Saxon European origins who obeys the law, served in our armed forces, and believes in the freedoms, self-reliance, responsibility, and the limited government principals of our nation's founding fathers.

Monday, November 30, 2009

Original Article Blocked??

Please go to this Lucianne article page and link to the original article at FrontPageMag.com.

All I get is a 404: , and I'm wondering what's going on.

I've tried several google searches and links, links from other blogs and even searches on Frontpagemag.com.

The link to the original article in lucianne's site is http://frontpagemag.com/2009/11/30/subduing-women's-sexuality-by-hege-storhaug/

Wednesday, November 25, 2009

The Cinnamon Bear

Presenting the original 1937 radio show version of "The Cinnamon Bear" (Wikipedia). Twenty-Six nightly episodes (originally aired the day after Thanksgiving and ending on Christmas day, but not on Sundays). I've listed them here in continuous nightly order ending Christmas Eve, which means starting Nov-29th. You can start on Thanksgiving night but you would somehow have to skip the appropriate number of nights (each year is different since Thanksgiving is always Thursday).