Monday, December 17, 2012

Knights and Knaves

A recent discussion with Nate about his D and D games brought the idea of inserting logic questions into the game as puzzles. That prompted a return to the old Knights and Knaves questions that I used to use in my 7th grade math class when we studies logic. In a far-off land, all the people fell into two categories. Knights always told the truth. Knaves always lied. Your task was to decide which category each person fell into. Here is an example:   
A stranger in their country meets a party of 3 and asks to which race each belongs. The first one mumbles an answer, which the stranger cannot understand. The second says: "He said he was a Knave." The third says to the second: "You're a liar!"
Of what race was the third?    
The key is the second person's comment: no one can ever say, "I'm a knave." If they really are a knave, then they'd be telling the truth, which knaves can't do. If they were a knight, then they'd be lying when they said they were a knave, which knights don't do.  So "I'm a knave" is an impossible statement. When the second person said that person number 1 said that, he must be lying and be a knave. Person 3 therefore was telling the truth and must be a knight.    

These puzzles were popularized by Raymond Smullyan, a logician and professor of philosopher at City College in New York who wrote a book about them entitled, What is the Name of This Book? 

I was especially interested in a series of puzzles patterned after Frank Stockton's short story The Lady Or the Tiger (if you are unfamiliar with it, you can find it here). In lieu of a trial, prisoners are given a choice of opening two doors: one holds a tiger, the other holds a beautiful lady.  In Smullyan's puzzles, you should be able to find the right door if you can reason logically. Each door has a sign. For example the signs could read:  


Door 1:  In this room there is a lady and in the other room there is a tiger.  

Door 2: In one of these rooms there is a lady and in the other room there is a tiger.   

When you ask the king if the signs on the doors are true, he tells you that one is true and one is false.  Which door should you open?        

To find other puzzles like this one (and solutions) you can go here, where there is a complete copy of Smullyan's book The Lady or the Tiger. The website is part of Scribd.com, billed as the world's largest online library. Currently featured on their home page is a copy of the Chicago Streets for Cycling 2020 Plan which makes for very interesting reading and may be a topic for another day.   

Sunday, December 16, 2012

Moving On, Happily!

So the leading cause of depression on the male side of the Armstrong household was the continuing constant pain and discomfort with my legs and hips. From the first week in September, when I played golf right before my knee went nuclear and had to be cortisoned through the followup visit with the orthopedist, my legs have been getting more and more pained. I mentioned to the doctor that they seemed to be weak and he did a simple test. Lying on my back, I lifted my left leg a few inches. Then the doctor said I am going to press down on your leg. You try to resist the movement as hard as you can. With the tip of his fingernail, he pushed my leg back down. "Were you resisting?" "I gave it everything I had." So I had no strength in either of my legs at all. They seemed to have weakened considerably in a very short time. I started Physical Therapy at the Hospital and found that it helped. My legs did get a little stronger and I now have a list of exercises to do to keep strengthening the legs now that PT is over. I do them diligently every day.     

This week I went to see my regular doctor and explained to him that I was a little nervous about what could have caused this quick degeneration. On my list of questions were multiple sclerosis, muscular dystrophy, and other neurological disorders, cancer, leukemia, and any thing else he could think of. Luckily the blood tests were negative for weird things and I wasn't showing the other symptoms that go with these illnesses. Dr. Carlson's advice: get your knees replaced as fast as possible. Then you will start to see some relief. So January I go back to the orthopedist and we will talk about options. In the meantime, keep slamming Advil through the day and take it easy. Hope that Ann doesn't grow tired of doing many of the active things (walk the dog, put on my socks (nope - can't do that on my own)) for me and wait it out until January. I feel better mentally after the doctor visit. I feel better physically after three Advil. I'm sure I'll make it. On a very positive front, I have lost about 37 pounds of weight since last year. Fear is a tremendous motivator. Unfortunately, I have to lose that much weight three more times to get down to a reasonable (though still not really healthy) weight. I hope to be healthy enough to walk around Portland with Tammy and Mike next summer and to play some golf. Eventually, let's get rid of the cane, too. It might take a little longer to get to that point. We'll wait and see. Thanks for listening. I appreciate it.     

Thursday, November 8, 2012

C'mon, Man!

Below you will find a request from two members of the House of Representatives  for a hearing by the House Committee on Energy and Commerce on how climate change is related to the recent Superstorm (Hurricane?) Sandy and what approaches should be taken to meet the challenge of global warming. Two especially interesting portions of the request:   

"We have written you 17 times since March 2011 to request that the Committee examine the topic of climate change.

and 

You have not once responded to or even acknowledged our requests.

One of the great results of the just finished election: the use of statistical methods (Sam Wang and Nate Silver, among others) to forecast the election. Folks, if the sciencey - math people got that one right on the money, maybe they're right about climate change. Since almost everyone in the science community agrees that climate change is here, let's stop being this guy and start talking about it.     
I think we're all tired of brushing the sand out of our eyes. C'mon, Man!

October 31, 2012
The Honorable Fred Upton
Chairman
Committee on Energy and Commerce
The Honorable Ed Whitfield
Chairman
Subcommittee on Energy and Power
Dear Chairman Upton and Chairman Whitfield:
On November 7, the election will be over.  Regardless of which party prevails, the election should be a time to return to fact-based policy making.  This is especially true in energy policy.
This week, a massive “superstorm” struck the East Coast.  The storm battered the Mid-Atlantic and Northeastern states, devastating portions of New York and New Jersey and resulting in more than 8 million homes losing electricity from the Carolinas to Wisconsin.  Experts are projecting tens of billions of dollars in damages and lost business.
Hurricane Sandy is exactly the type of extreme weather event that climate scientists have said will become more frequent and more severe if we fail to reduce our carbon pollution.  That is why we are writing to request that you hold a hearing on the storm and its relation to climate change in the lame duck session.
We have written you 17 times since March 2011 to request that the Committee examine the topic of climate change.  In January 2012, we asked you to hold a hearing on the role of climate change in causing the record-setting 14 weather-related disasters in 2011 that cost more than $1 billion.[1]  After an unprecedented heat wave in March 2012, we wrote to request a hearing to examine its connections with climate change.[2]  During last summer’s devastating wildfires, droughts, and intense storms, we wrote to request a hearing on the role global climate change played in these events.[3]
You have not once responded to or even acknowledged our requests.  We hope that you will consider the vast devastation wrought by Hurricane Sandy and reconsider your approach.
 For two years, the House of Representatives has pretended that climate change is not happening and that the consequences can be dismissed without concern.  With the election behind us, we will have an opportunity to begin again and give this matter the attention it deserves.  We urge you to seize this opportunity and begin with holding a hearing in the lame duck session.
Sincerely,
Henry A. Waxman  
Bobby L. Rush
Subcommittee on Energy and Power

Monday, November 5, 2012

Way Up On My Christmas List

Now some people would say that your Christmas list is the place to put those things that you really need, like sweaters or a new hip (yeah, it's been one of those weeks again where I spent two days flat on my back, then three days slowly getting back to normal walking around). But I agree with my son, Nathan, who says that Christmas lists are for those things that you really would like, but would never spend your own money on. So this thing is going to the top of my list (and probably Steve's list, too). It's called a Makey Makey and it looks like this:















It's a circuit board that acts like an input device for a computer, video game system, or whatever.

















The device gets connected to your computer input with a USB connector. Then you connect something (an apple, say) to the device with the alligator clips that are included. When you touch the apple, you make a connection, and MaKey MaKey sends the computer a keyboard message. The computer just thinks MaKey MaKey is a regular keyboard (or mouse). Therefore it works with all programs and webpages, because all programs and webpages take keyboard and mouse input. If you are having trouble picturing how this works, here's a video in which bananas play a major part:





They are available now for $49.95 from this website. Seriously, can you think of something better than a way to play the piano on bananas?



Friday, October 26, 2012

Bath Time for Whimzy

So the name is different, but this is pretty much the way Whimzy is when it is time for her monthly bath.


Sunday, October 7, 2012

The Dunning Kruger Effect

So I don't want to get this blog too political and it will probably be too long, but I was just reading an article about a congressman from Georgia:  
Georgia Rep. Paul Broun said in videotaped remarks that evolution, embryology and the Big Bang theory are "lies straight from the pit of hell" meant to convince people that they do not need a savior.     
The Republican lawmaker made those comments during a speech Sept. 27 at a sportsman's banquet at Liberty Baptist Church in Hartwell. Broun, a medical doctor, is running for re-election in November unopposed by Democrats.  
"God's word is true," Broun said, according to a video posted on the church's website. "I've come to understand that. All that stuff I was taught about evolution and embryology and Big Bang theory, all that is lies straight from the pit of hell. And it's lies to try to keep me and all the folks who are taught that from understanding that they need a savior."   
Broun also said that he believes the Earth is about 9,000 years old and that it was made in six days.   
Now, I've already discussed previously this bizarre notion that faith in the bible requires a Christian to doubt evolution. The Clergy Letter Project started several years ago when wacky folks in Kansas and Missouri were forcing their school boards to teach creationism (or "intelligent design") along with evolution. Letters signed by Christian clergy from all over the country say that teaching creationism in school is wrong and that science and religion can coexist on this issue. Here's part of what the letter says: 

We the undersigned, Christian clergy from many different traditions, believe that the timeless truths of the Bible and the discoveries of modern science may comfortably coexist. We believe that the theory of evolution is a foundational scientific truth, one that has stood up to rigorous scrutiny and upon which much of human knowledge and achievement rests. To reject this truth or to treat it as “one theory among others” is to deliberately embrace scientific ignorance and transmit such ignorance to our children. We believe that among God’s good gifts are human minds capable of critical thought and that the failure to fully employ this gift is a rejection of the will of our Creator.

So how many Methodist, Catholic, Presbyterian, Episcopalian, Lutheran, and other denomination ministers signed the letter?     12,822 
 
 And Rep. Broun's story happened to coincide with the Congressman Todd Akins' incredibly bizarre  outburst about rape:
Akin, a six-term GOP congressman, is challenging Democratic Missouri Sen. Claire McCaskill for her seat. His chances looked fairly sunny -- up until he told an interviewer with Fox affiliate KTVI that a woman's body can typically prevent pregnancy during a "legitimate rape," as he argued against allowing abortions in cases of rape, claiming such pregnancies are uncommon in the first place.    
Of course, the next day, we were inundated with scientific articles explaining in clear language why he was being an idiot on this subject. A paper published in 1996 in the American Journal of Obstetrics and Gynecology stated that among adult women an estimated 32,101 pregnancies result from rape each year.  

And the juxtaposition of those two stories is also weird because in each case the longer story finishes with the same statement: Congressman _____ is a member of the House Committee on Science, Space, and Technology. Here's the home page for the House Committee. You can see them there.  

So why would the House Committee on Science contain two people who are devoutly opposed to science. Do they have an argument for why their lack of faith in science is so strong. Or is it just because that's the way it is; no evidence is needed because it is so obvious to them. 

And that's when I ran across the Dunning - Kruger Effect described. Wikipedia says it is a cognitive bias in which unskilled individuals suffer from illusory superiority, mistakenly rating their ability much higher than average.    

For a given skill, incompetent people will:
  1. tend to overestimate their own level of skill;
  2. fail to recognize genuine skill in others;
  3. fail to recognize the extremity of their inadequacy;
  4. recognize and acknowledge their own previous lack of skill, if they are exposed to training for that skill  
Also in the article: quotes on the subject from Charles Darwin and Bertrand Russell (one of my heroes):  Charles Darwin ( "Ignorance more frequently begets confidence than does knowledge" ) and Bertrand Russell ( "One of the painful things about our time is that those who feel certainty are stupid, and those with any imagination and understanding are filled with doubt and indecision" ).   

These people seem supremely confident when they speak on these topics, so I guess Darwin is right on one more thing. They speak from ignorance. I would like to say they are stupid, but their handlers inform us within a day or two that they misspoke. So we leave it at that. And maybe that's our mistake. Let's call a knucklehead a knucklehead. If the Congress wants to sit down and decide what goes on in schools under "No Child Left Untested Behind", then maybe it is time to start asking for accountability from our Congressmen. I'm sure any high school science teacher could put together a basic skills test of science that we can give to those who want to serve on the House Science Committee. 100 questions about basic science understandings and processes, multiple choice so we don't look too closely at their writing skills on the essay questions. No peeking at your cell phone; no having your 24-year old aide use your photo ID to get in to the test. Maybe the time has come to expect more from our congressmen. Yeah, right.  I forgot. The vast majority of members of Congress come from being lawyers, politicians, or businessmen. 


Thursday, September 27, 2012

Geography Is Just Physics Slowed Down, With a Couple of Trees Stuck In It

At least, that's what Terry Pratchett said. I have always been fascinated by maps. When I was little, 4 - 5 years old (we didn't do kindergarten), and my brother and sister were off at school learning, my mom would let me sit at a little desk and do schoolwork for an hour or so each day.  My favorite workbook was a book of maps. I have no idea who published it, but it was all about how to get useful information from maps. Since then I have been hooked. I have a few copies of really old maps that I enjoy looking at (here there be sea monsters) and I think the Internet was invented just to give me new maps to look at.    

Here are a few interesting ones I have come across lately (in each case the map that I could reproduce here is small and difficult to read, so go to the highlighted website to see their map more easily).    

National Geographic Surnames Map


This one shows the most popular family names by region of the US. The size of the name tells you how many occurrences there are in that state and the color of the name tells you its country of origin.  You can see the Scandinavian influence in Minnesota and the Hispanic influence in southern California. Zoom in at their website to see things a little better. Around Chicago? Martin, Wilson, and Anderson. And in southern Wisconsin: Mueller and Schultz.     


United States of Scary Things


This map, from a website called Pleated Jeans, shows the scariest thing for each state. Zombie Lincoln shows up for Illinois (there are a lot of Zombies) and politicians shows up for Maryland.  I'm not sure how scary potato bugs are, but in Idaho, maybe so. There's also a United States of Shame that finds a statistical category that your state is worst at and lists it on the map. For Illinois, that's Robbery; for Texas, that's High School Graduation (your national test scores are higher if you get rid of the students who might fail before they get a chance to take the test).     



Mapping the Measure of America

This one is a good example of how a map can give a bunch of information in a fairly small space. This one is interactive as well. Click on the link above and then on start exploring and you will find all the latest info about how the various states measure up in the areas of health, educational, and income.  There is an incredible amount of stuff to see on this map. As you slide down the bars on the left, you can see the states in order for each category (the categories are in the box on the lower left part of the map). If you click on a state on the map, it gives you a breakdown for that state to the right. Then as you mouse over the breakdown, it gives you the numbers or, in the case of representation, tells you the names of all the senators and representatives. I see that Illinois has 14.1% of its population with less than a high school diploma and a life expectancy at birth of 78 years.  And unfortunately, Mary Lou, Arkansas does rank at the bottom on just about every category. Good thing you're close to getting out.  


America's Best Adventures

On this interactive map, you can click on the dots that show up and get some information on a vacation getaway. You could do the RagBrai bike ride across Iowa, climb Red River Gorge in Kentucky, or kiteboard the Columbia River Gorge in Oregon. In spite of all the dots, it is not really a very exhaustive guide to adventuring, and because it is from National Geographic, it takes an incredibly narrow view of what constitutes an adventure. I looked all over and could not find "Betting the Bulls to Win It All" in Las Vegas, "Shopping the Day After Thanksgiving" in Fort Wayne, "Rooting on the Spartans Football Team" at the U of M bar in Chicago, or "Playing Miniature Golf with Grandpa" in Ohio (or anywhere) . Those are all really great adventures, and I feel sorry for them that they have missed out.