Obfuscated Perl

December 4th, 2006
s;;5776?12321=10609$d=9409:12100$xx;;s;(d*);push @_,$1;eg;
map{print chr(sqrt($_))."n"} @_;

Guess what it prints:
L
o
g
a
n
Well... I'm proud of it.  PerlMonks have shortened it.

Turkey Day Postmortem

November 24th, 2006

Turkey Man!Well we celebrated our first official Thanksgiving as a married couple. A little strange for me, my parents stayed in southern Oregon, but Amy’s fold came up and I had my buddy Nate and his wife over as well. All fixings were communally put together, Nate’s wife put together the turkey (thank you), Amy made some killer casseroles and sweet potatoes and various other good eatins, and I made peanut butter fudge (see below). I thought I would share my recipe, feel free to post any other great recipes.

Recipe to Peanut Butter Bell Fudge

1. Grease a large platter or a 9×13 pan with butter

2. mix together:
3 cups sugar
1/4 to 1/2 cup corn syrup
3/4 cup milk
1/2 tsp salk
1 cup peanut butter

3. Cook in Microwave until tempature reaches “soft ball” on candy thermometer

4. Remove and add 1 tsp vanilla and 2 tablespoons of margarine

5. Mix together(careful very hot). The key is to beat the mixture by hand till creamy and is not real glossy.

6. Pour into greased pan and let cool.

World Famous Fudge


Goals before end of the year

November 21st, 2006

Mt Ashland Bunny Hill1. Submit workable Gen Pix to CPAN. (More info to come.)
2. Finalize my domain manager.
3. Walk or run a mile every single day until Jan 1st .
4. Take a picture everyday.

Seems easy enough. Lets see how self-disciplined I am.


The dawn of a new life

November 20th, 2006

Just MarriedThank you everyone who came and supported Amy and I for the witnessing of our vows. It was amazing to see how many family and friends came to our wedding. All I can say is, we are truly blessed and very grateful for all of the support. I truly hope that everyone that did make it to that special occasion found it enjoyable and ate as much food and cake as they could. Now a new life begins, one not as myself, but one with Amy. A great and quixotic journey awaits us, a tale which I believe is draped with God’s providence. It was the hand of God that brought Amy and I together and his quiet whispers which will lead us for the rest of our lives. Thank you again for all support and many blessings!

For our honeymoon we spent a week in beautiful Snow Mass, Colorado. We had a great time just relaxing and enjoying the beautiful surroundings only wishing it was ski season.We're Moving

Further, we finally have settled into our new home in Beaverton. Amy began her new job at Poison Control, saving the world one life at a time, and I went back to work for Wells Fargo, writing software for all your banking needs. Of course our house is your house, so if you’re in the neighborhood give us a ring.


Wedding Day is fast approaching…

October 17th, 2006

If you were wondering why we are behind in updating the wedding section of our website…it is because we have a great excuse.  Logan and I have both moved out of our individual dwellings and melded our homes into one Beaverton house.  I am living with my parents until the wedding, and Logan is stuck in PDX with all of my cra…I mean stuff.  Whew!  Moving takes it out of you!  Remind me not to move again for a little while.

That said, we do plan to update you as the big day approaches, especially if you were expecting directions updates, hotel accommodations, etc.  PLEASE KEEP CHECKING BACK!!  You can also find some of our wedding details by searching for us at www.theknot.com.

We are getting so excited to be married soon, and we hope you all are able to join us for this joyful ceremony!


The latest in our world…

September 26th, 2006

Our wedding is 39 days away!!  November 4th is getting closer and closer…  We will be updating our website soon with a Wedding section, but in the meantime, this blog will suffice.  My matron of honor (Chelsea) is about to move to Arizona.  My mom is scheduling clinics at her new job like crazy.  Logan and I have found a place to rent in Portland and are starting the process of moving both of us in.  My house has not sold, so we will hold onto it as a rental for now.  (Just as well - I didn’t want to give up my little house!)  Wedding planning is underway, we finally got registered (Macy’s, Target, and Linens’n'Things, if anyone was curious), I have accepted a position at the OHSU Poison Center, and my kitties are still clueless that they are about to be moved again.  I tell you, it will be such a relief when life settles down again!


The beginning there was nothing…

August 25th, 2006

Until I got bored and decided to write my own picture engine. Right now it just displays random images for the front page of my new picture gallery. With a little Ajax magic and CSS 2.0 fun we should have a kickin picture party.

Perl Oopssss :)

#! /usr/local/bin/perl -w
use strict;
my $picture = new Picture();
print $picture->randomPicture;

package Picture;

sub new {
my $class = shift;
my $self = {
dir => ‘./slovakia’,
reg_exp => ‘.*THUMB.JPG’,
site_domain => ‘http://www.loganandamy.com’,
site_dir => ‘/slovakia’,
@_
};
bless $self, $class;
}

sub giveMePicture{
my $self = shift;
return “siteDomain.$self->siteDir.”/”.$self->randomPicture.”\”>”;
}

sub randomPicture{
my $self = shift;
if (ref(@_)){
$self->{rand_pic} = shift;
}else{
$self->{rand_pic} = ${$self->openDir}[int(rand(scalar(@{$self->openDir})))];
}
return $self->{rand_pic};
}

sub openDir{
my $self = shift;
my $altdir = shift;
if (ref($altdir)){
$self->dirCriteria($altdir);
}
my $reg_exp = $self->fileCriteria;
my $dir = $self->dirCriteria;
opendir DIR, $dir || die “unable to open dir:$!”;
@{$self->{dir_files}} = grep {/$reg_exp/ && -f “$dir/$_” } readdir(DIR);
closedir DIR;
return $self->{dir_files};
}

sub siteDir{
my $self = shift;
shift @_ ? $self->{site_dir} = shift : $self->{site_dir};
}

sub siteDomain{
my $self = shift;
shift @_ ? $self->{site_domain} = shift : $self->{site_domain};
}

sub fileCriteria{
my $self = shift;
shift @_ ? $self->{reg_exp} = shift : $self->{reg_exp};

}

sub dirCriteria{
my $self = shift;
shift @_ ? $self->{dir} = shift : $self->{dir};
}


Does Amy EVER blog??

August 22nd, 2006

Yes she does, although lately she’s had some other priorities.  Logan proposed to me on June 24!  We have made it official and public that we are crazy about each other.  Since that day, we have been wedding planning, house marketing, job searching, and future dreaming.  We will be married in November, the month when the harvesty season gives way to the holidays.  We will have our wedding here in Medford, and then I will be making the trek back to Portland to settle and start working.  Job possibilities are still up in the air…

This is all so crazy, considering how we met - a blind date from one of my co-workers last September turned into something beyond amazing!  A year ago right now, we didn’t even know each other.  Now I realize how glad I am that I held out for who God had planned for me - His best was yet to come!  Soul mates don’t come around all that often…


No More Long Lines

August 13th, 2006

Quote of the Day

August 3rd, 2006

Shaping of Things to ComeI am currently reading through the book, The Shaping of Things to Come by Michael Frost and Alan Hirsch. This book has turned upside down my lifelong conceived notions of Christianity and how I view myself as a Christian or as a follower of Christs teachings. I plan to write a throrough review of the book once complete, however here is a quote that I had to share.

“‘For the Romans nascent Christianity was not at all a new religion. It was antireligion. This view was well founded. What the first Christian generations were putting on trial was not just the imperial religion, as is often said, but every religion in the known world. ‘ Christianity is antirelgion, not just another religion competing with all other pretenders to the Way. “

Now that’s some food for thought, and I have my fireman suit on. ;-)

Peace.