Tuesday, February 26, 2013

Puzzles

A riddle...
X and Y are two different integers, greater than 1, with sum less than 100. S and P are two mathematicians; S knows the sum X+Y, P knows the product X*Y, and both know the information in these two sentences. The following conversation occurs.
  •  P says "I cannot find these numbers."
  •  S says "I was sure that you could not find them. I cannot find them either."
  •  P says "Then, I found these numbers."
  •  S says "If you could find them, then I also found them."
    What are these numbers?
For those who hate math, here is a different one...


What is yours yet others use more than you do?
(..The correct answer is not your bank account, even though it's a good answer for me...)

I think everyone enjoys a good riddle or puzzle once in a while but how does it effect you when you can't solve it? I know some people that can walk away from a puzzle without a second thought. I am somewhat jealous of these people because I don't have this ability. For this reason I avoid starting some puzzle types altogether. Mommy bans me from some video games for this reason and I have learned to agree with her...sometimes....

A week ago I started into a puzzle. It was work related but the solving of it got personal. I felt like it was taunting me. I knew it was very possible find a solution but it kept eluding me. Every time I began to think I was close to solving it, I would find another step that needed solving. Over and over this occurred until I hit "THE WALL". I generally try to stay as far away from this phenomenon as possible but THE WALL is a point where a real 100% personal effort is being applied and chance of completing the goal mentally feels to be getting infinitely close to zero.

When I hit THE WALL, I was at work on a Saturday morning (wishing to be home) and nearly at the point of shaking my fist at the heavens. I had already yelled a few times because nobody was around but THE WALL actually has a very humbling effect on even someone like me...I stopped....said a 45 second prayer....and a little thought entered my mind that never occurred before...I followed this little thought and in 15 minutes the job was done.

A toast... To Puzzles...May yours be more difficult than you can solve yourself....those are the ones you learn the most from.

For the answers here it is in python. (emulator here http://repl.it/languages/Python )

limit=100
PAllowed1={}
for x in range(2,limit):
       for y in range(x+1,limit-x):
           if x*y not in PAllowed1:
               PAllowed1[x*y]=1
           else:
               PAllowed1[x*y] +=1
SNotAllowed1={}
for x in range(2,limit):
       for y in range(x+1,limit-x):
           if  PAllowed1[x*y]==1 :
               SNotAllowed1[x+y]=1
PAllowed2={}
for n in range(2,limit):
     if n not in SNotAllowed1:
       for x in range(2,n/2+1):
           if x*(n-x) in PAllowed1 and PAllowed1[x*(n-x)] > 1:
               if x*(n-x) in PAllowed2:
                   PAllowed2[ x*(n-x)] +=1
               else:
                   PAllowed2[ x*(n-x)] =1
SAllowed2={}
for n in range(2,limit):
     if n not in SNotAllowed1:
       for x in range(2,n/2+1):
           if x*(n-x) in PAllowed2 and PAllowed2[x*(n-x)] == 1:
               if n in SAllowed2:
                   SAllowed2[n] +=1
               else:
                   SAllowed2[n] =1
for n in SAllowed2:
       if SAllowed2[n] ==1:
           for x in range(2,n/2+1):
               if x*(n-x) in PAllowed2 and PAllowed2[x*(n-x)] == 1:
                  print 'for riddle #2 answer = your name'
                  print 'riddle #1 (S,P) = ( %d , %d ), (x,y)= ( %d , %d )' % (n, x*(n-x) , x , n-x)



I realize that this post was a bit too geeky this week but you get what you pay for around here. I am not a programmer...just a try-to-be some days in a language way over my head.
  • Thing 1 had Spring break from school last week. Weather is getting really nice out. 
  • Mommy and daddy had a date where we saw "Rise of the Guardians".  (4 stars).  
  • Daddy purchased a toy "for the kids"...It's called a Rip-Stick. Like snowboarding on asphalt.Fun..

Sunday, February 17, 2013

You're fired Pete.

Last weeks blog post motivated me to try to complete a few things this weekend and now I'm pooped. I'm going to take a Sunday afternoon nap now. Here is a a quick video I think I have been promising for a while.


It's warming up outside but Peter Jackson couldn't coordinate this epic cinematography masterpiece to include a single moments of direct sunlight. I fired him. John Williams was gracious enough to offer to do the soundtrack but I didn't want to be a bother. Very kind of you John but we got it covered...


Movie of the week: Wreck it Ralph and the Dark Crystal.
Mommy took me to Taco Bell for Valentines Day Lunch. If you think that is lame then you really don't know me that well. That was truly one of the best lunch dates I have ever had.

Sunday, February 10, 2013

Half-assembled Projects

One of the great things about Blogs is that you can feed your audience whatever you wish...You can cook it up any way you want. Weather it's 100% organic or you includes some artificial flavors, colors and a few preservatives is the writers discretion. It's like any story, you can tell it the way you like. I personally prefer to not tell bold faced lies to the three people who frequent this blog. Instead I find it a lot more fun to just angle things a little. Take the following pictures for example..

Picture of the beautiful floor (click here)...(Taken back around Thanksgiving)

Reality is more like this...
I never finished the the thing yet..the stairs, the end of the hall, the trim, or the carpet transitions....It is easier to blog that the floor looks great and let everyone think it is done. No harm in that right?

Most of my projects land in this condition for a few weeks. I get ~75% done and get either distracted or interrupted. Time is my major enemy but I will claim A.D.D. as one of my excuses too. It seems to happen when a project is just cresting the "satisfactory" plateau. Once on that level, the effort to complete the remaining work seems to get exponentially more difficult. Usually I stand above my creations on day 4-ish and proclaim "It is good...enough.".

This week is really no different. I continued the trend by almost finishing the bathroom exhaust fan wiring and I put on half the handles on the new kitchen cabinets. If I had a whole month off work I would not be able to complete half of the half-assembled projects I have around. I figure that having one cheek on the bench is better than both in the dirt any day.

Other things...
Food of the week: Coco Cake from Costco (remnants form coworker's B-day celebration)
Mongolian Grill's "Make your own dish" for Date night
Daddy had a Physical Fitness test for scouts...it was not pretty.
Kids had "play group" and at the park it felt like spring time already.
Princess 2 is walking more and more...Maybe we will do a video here soon.

Sunday, February 3, 2013

Party Girl, Pimped Ride, and Brew Fest.

Thing 4 had her B-day last week. She loved her giant chocolate chip cookie Mommy baked for her. At church today she started walking down the hall. 6-7 steps in a row but she doesn't like me trying to catch her doing it on video.
We have frogs that come up from the river in our back yard. We need a terrarium where we can keep them for a day or two inside. Even Princess 1 will hold them after a little coaxing. Thing 1 is reading his Fly Guy books and Thing 2 likes when Mommy reads his A-Z Mystery kid novels. Princess 1 is a fraggle headed pink puffer and Princess 2 is finally asleep (thank heaven). 


I found what is called EL wire on-line. It is a copper wire that is coated in phosphorescent chemical. If you pass a tiny current through the stuff it looks a lot like tiny neon tube when aglow. I found it while searching for a low power "always-on" lighting solution for our home stairway. I thought it might look neat but I found an even cooler use for it...I ride my bike to and from work most days and this stuff can operate off of 2 AA batteries for hours and hours. You can strobe it or leave it on steady...I now have the coolest bike around.  The kids call it the "Tron-Bike" and the guys at work call it the rolling rave party when I put it into strobe mode.

I made my first batch of home brewed ginger ale this weekend. I tried an Alton Brown recipe from online. It was an decent starting point but I think I can do the next batch better. The yeast I picked up a the local brewing supply store imparts hardly any yeast flavor. The nice old gall I spoke with in the store pointed out a book she had used to do root beer from. She said root beer from scratch is easy but hard because of the nature and availability of the raw ingredients. I will start with ginger ale and work up to a root beer here in a few weeks. A local pub where I like to party* makes the best root beer I have ever had and I am going to try to model mine after theirs..

Mommy just got off the phone with her Mom and Dad back home and is missing being close to family. They are probably now worried about a few comments made in this post. Read the foot notes Mom...

  • Daddy went to a boat show...He toured a $10M boat and felt inadequate the rest of the week.
  • Favorite Food Treat: Mommy's Skinny Cheese Cake (www.skinnytaste.com)  
  • Installed shower Fan/Heater/Light
  • Currently Just reading Kid's Books and scriptures...
 * A single company Christmas party is the extent of my rowdy night life 
**I guess I should say "(Our) rowdy night life" because Mommy was with me.

Sunday, January 27, 2013

I lived in heaven a long time ago...

I believe that we lived before we were born. We don't remember our pre-mortal life but God has shared enough details of this veiled time period so each of us can understand why we are now here. I know we each choose to come to earth. We made that choice knowing that life was designed to be challenging but we also knew the great opportunities that existed in mortality. There were some individuals that chose not to come to earth and missed the chance to gain physical bodies. I know I was among those that chose to come. I even know why I chose to come...I came for the food.

While doing some last minute shopping last night we ran into some friends from church while standing in the checkout line. Being the nosy type, I noticed some food types in their cart and asked if they liked foreign food. They replied enthusiastically and we found that we like many of the same dishes that I have been pronouncing incorrectly for years. I inquired where they obtain some ingredients you don't usually find in the local Fred-Myers and they gave me an address to the local foreign food and odd ingredient place they frequent.

We had some time and decided to take a quick trip to the address they indicated. It is in an odd little corner of the commercial district with wholesale furniture so when we pulled up to a place that looked like the entrance to a barber shop and Indian Restaurant on the back of a warehouse I was skeptical. I went in by myself  and left Mommy and the kids in the car thinking that it is probably a quaint shop and it would only take a few seconds to peruse the isles. Once inside there was in fact a barber shop and restaurant (almost in the same room) but I rounded a corner and beheld a a foreign food and exotic ingredient MECCA. There were people of all nationalities inside this place that looked like a cross between Sam's Club and a market place from an Indiana Jones movie.
Like I said, I came for the food!


I was only inside for 10 minutes or less but I felt like I had been to 14 different countries when I emerged back into the street. I came  in search of 2 ingredients: fish sauce (of which I could have chosen from 7 different verities), and XL rice noodles. I returned with these things and  a very strong desire to come back when I had a few hours and a translator with me.


Other note worthy events.
  • Picked up some Three Alarm Cheese on my own (because the mail man ate mine over the holiday)
  • Terry (my boss), pointed me toward an awesome ginger ale from World Market that I now wish to learn how to brew. 
  • Mommy and Daddy got a date this week and ate at Olive Garden (like I said...I came for the Food) and watched Les Miserable.
  • Found a free desk on the side of the road...Fixed it up and it is now the foundation of my Home office downstairs. Sure do miss the transfer site but you can still score a freebie around here if you are lucky.
  • Mommy also was given a Schwinn with fenders from a friend at work. Nice!
  • Cabinets have doors on them now.Mommy almost did all the drawer fronts herself. They need handles now and we need to pick out counter tops..

  • All the kids have piggy banks now... Can you guess who's is who's? 


The kids got to sit in the hot-tub for the first time last night. I have promised the kids repeatedly that I would let them get in if they (insert UN-reachable goal here). Well...the goal this Saturday was to keep all the toys downstairs in the newly established "play room". The room was set aside completely for toys as an experimental toy clutter management system. We made the goal to make upstairs a no running or jumping zone and dedicated the bed rooms for changing clothes and sleeping only.  They accomplished this goal  perfectly on Saturday. I like this new system. Hope it lasts!

The Baby gets her 1 year old birthday party real soon here. (Pictures to follow)




She loves cookies so she gets a giant one for the B-Day Feast!



Monday, January 21, 2013

Thing 4 stood on her own today...

She did so on her own but would not allow the event to be captured on film.

Sunday, January 20, 2013

I really don't respond to praise very well.


It's an odd thing to admit but I feel like I am motivated far more by criticism than praise.. This realy stems from 2 reasons. Firstly, ....once I have been complimented, I find it hard to argue with someones good taste. It also then becomes difficult or improve upon whatever I was complemented on. The motivation to endeavor to be better falls swiftly thereafter. It is as if I were entering a competition against myself, and that would be some stiff competition because both opponents are so near perfection that it makes the contest almost invalid.
The second reason is that my ego is nearly the size of Jupiter. (Some may argue that it's foundation and odor may also have a resemblance to this hydrogen gas giant). As seen above, my ego may not need encouraging.

We visited family right after the new year and I was complimented several times on how they enjoyed reading this blog. I immediately fell into the above mentioned consequences of compliments directed at me. I now have a hard time squeezing my head through doorways and I also find it hard trying to invent topics more awesome than I have written about int the past. It would have been better if these well-meaning family members would have just left a anonymous comment like "This post is sub-par, please try harder next week". I would have then tried harder (right after turning off the ability to comment on the blog).

Regardless, even with the massive burden involved with trying to out do myself, I will endevor to do just that in 2013. So without further adieu...On with the blog!

To bring us back up to date... 
Daddy is an 11 year old scout leader, and last Saturday the scouts and Daddy went on what is called the Klondike Derby 90 miles out of town. His scouts took 1st place in their division at the scout winter skill competition. It is strange to drive an hour or so and be in winter weather and then the same day drive back and go bike riding with the kids.

Thing 2 had a birthday. We ate out at a pizza place and he ordered his own pizza (with peperoni and mushrooms). Mommy and daddy enjoyed what the pizza place called a Maui Zowie , It was made with pineapple, Canadian bacon and red onions, and replaced Mae Ploy sauce instead of marinara. Good stuff!

He got an operation board game, watched A Never Ending Story II, and got a chocolate fudge cake just like he asked for. He was very happy to see the "MONNIES!" and "LOTS OF DOLLARS!" he received from the nice people in the mail.

Speaking of people in the mail...One of 'em stole my cheese! Dave, a friend back in AK send me some awesome cheese for Christmas.I never saw it and some nice person in the mail is probably a few stamps heavier for it. The worst thing is that Dave intrusted me to deliver some of the same cheese to my Boss. I just hope that Terry (my Boss) doesn't suspect me of horking down both portions and blaming it on our fine public servants.

Ikea is awesome- I do not understand why some people knock their products. I am hanging some of their cabinets and have been nothing but amazed at some of their enginering, They could just use a little better instructions. They also offer a "Eat for Free" weekend each month when you purchase 100$ or more of their home furnishings. Guess where we a ate twice Saturday. Who knew we could eat 62$ worth of IKEA food. in a day. BURP...We plan home improvements around their "Eat for Free" weekends.

Currently reading Unabridged - Les Miserables