Warning: strpos(): needle is not a string or an integer in /home/allisona/public_html/kcocco/index.php on line 31

Warning: strpos(): needle is not a string or an integer in /home/allisona/public_html/kcocco/index.php on line 37

Warning: strpos(): needle is not a string or an integer in /home/allisona/public_html/kcocco/index.php on line 49
KCOCCO ~ photo - Deep snow welcome home
Deep snow welcome home 

Powder horn laps, Mike powing out of the trees.

Mike, Wheelie time


Pictures didn't catch this excellent drop that Mike gets....huge!



I'm back in Utah! And it is dumping. Little Cottonwood Canyon did not even open today due to Avalanche control work. The resorts Alta and Snowbird are interlodged tonight.....they hope to have the canyon open tomorrow morning. There should be well over 3 feet of untouched new powder waiting for me tomorrow!!! I am expecting Alta to post a base of 200+ inch!!!

Finished reading the guidebook Bhutan Lonely Planet . I am prepared for the yaks, chiles, mountains, customs...adventure. My first of the Lonely planet series and not my last...I am deep into LP Inida.
  |  [ 0 trackbacks ]   |  permalink  |  related link
Perl Stripping 
Over the holiday Dad and I hacked a perl script that parses HTML pages from FoodNetwork.com. The goal was to get the episode numbers & names for Molto Mario recipes. Our first step was to save the index page of Mario recipes from FoodNetwork.com . We then used the Unix command wget to search the page for URL links and save the associated HTML pages into one directory. We then created a Perl script that opens each of the HTML files found in the directory and pulls out the data we needed.
Here is an example of the output(episode number, name, recipe name) now ready to load into a database:
MB2G15~Trastevere On a Sunday~Gnudi con Fiori di Zucca
MB2G15~Trastevere On a Sunday~Chicken with Sweet Peppers: Pollo con Peperoni
MB2G17~Antica Bessetta~Bigoli - Basic Recipe
MB2G17~Antica Bessetta~Bigoli Bianchi with Duck Ragu
MB2G17~Antica Bessetta~Bigoli Scuri

Here is the general script that can easily be altered to parse other shows:
#!/usr/bin/perl
####################################################################
# recipestrip.pl
# Text stripping script. Used on Foodnetwork html pages.
# 3.28.2005 K & L Cocco
#
# Program used to capture episode number & title and recipe tiles
# from html files.
# The raw html files were gathered from foodnetwork.com with wget command
# using flags -i and -F.
# example: wget -F -i capturedhtmlfile.html
#
####################################################################
use Getopt::Long;
use File::Basename;

sub trimwhitespace($)
{
my $string = shift;
$string =~ s/^s+//;
$string =~ s/s+$//;
return $string;
}

$path="/video1/mario/shows/";

opendir(SHOWS, "$path");
@Allnames = readdir(SHOWS);

open (koutputfile, ">episoderecipelist.txt") :: die ("Could not open file. $!");
foreach $Name (@Allnames) {
if (-d $Name) {next};
($show, $path, $suffix) = fileparse($Name, ".html");
if ($suffix ne ".html") {next};
#print $Name,"n";

open (inputfile, $Name) :: die ("Could not open file. <br> $!");

foreach $text (<inputfile>){
# chomp $text;
#print $text;
if ($text =~ /articleshowname/){
$stopsl = index($text,"Episode ")+8;
$lensl = index($text,"</SPAN><P") - $stopsl;
$episodenum = substr($text,$stopsl,$lensl);
#print substr($text,$stopsl,$lensl),"n";
print $episodenum,"n";
# print $text,"n";
#print "stopsl: ",$stopsl, " lensl: ",$lensl,"n";
#print "*****************************************n";
}
if ($text =~ /episodename/){
$stopsl = index($text,"name'>")+6;
$lensl = index($text,"</SPAN") - $stopsl;
$episodename = substr($text,$stopsl,$lensl);
#print substr($text,$stopsl,$lensl),"n";
#print $episodename,"n";
# print $text,"n";
#print "stopsl: ",$stopsl, " lensl: ",$lensl,"n";
#print "******************************************n";
}
if ($text =~ /recipes/recipe/){
$startsl = index($text,"html'>")+6;
$stopsl = index($text, "</a></TD>");
# captures lines with no ending tag
if ($stopsl == -1) {
$stopsl = length($text);
}
$lensl = $stopsl - $startsl;
print koutputfile trimwhitespace($episodenum)."~".trimwhitespace($episodename)."~".trimwhitespace(substr($text,$startsl,$lensl)),"n";
#print $Name,"n";
#print "stopsl: ",$stopsl, " lensl: ",$lensl,"n";
#print "******************************************";
}
}
close (inputfile);
}
print "*** Run completion ***n";
close (koutputfile);
  |  [ 0 trackbacks ]   |  permalink  |  related link
Easter Pie 

Easter Pie 2005...always the Saturday before Easter. Ethan keeping an eye on the food.

Mom, Allison and Christine stretching the dough.

Layer 1 sausage.

Layer 2 ham. Jordan neatly covering the pie.

Layer 3 mozzarella

Layer 4 ricotta. Dad laying down a healthy layer of the goods.

Layer 5 eggs. Jordan proud of his favorite layer.

Layer 6 parsley. Ethan cutting perfect sized parsley.

Ethan and Allison wetting edges of dough with water and rolling edges

Ethan cutting 6 slits...1 per 2 eggs...

Dad brushes Egg wash as Ethan shakes some nonpareils on top of hot pie.

2 of the 6 perfect pies made 2005...umm, umm good!

Here is the offical Cocco family recipe:
Filling:
1 lb sausage sweet, fresh
1 lb ham sliced
1 small pkg. mozzarella sliced
dozen small eggs hard boiled sliced in half
1 lb ricotta cheese
nonpareils
fresh flat leaf parsley

Dough:
3 raw eggs
lb margarine
1 tbl salt
2 tbls sugar
5 cups bread flour approx
- 1 cup water
cake/pkg of fresh yeast

Boil dozen eggs. Cool, shell, slice in half and store. Parboil the sausage, cool and slice diagonally into approximately inch slices. Slice the ham and mozzarella. The above can be prepared the evening before the preparation of the pie.
Dissolve the yeast in warm water. Let stand 5 minutes. Stir to dissolve. Add part of the flour (about 2 cups) and the remaining dough ingredients. Beat until smooth and well blended. Gradually add the remaining flour to make a soft bread dough that does not cling to the sides of the bowl. Knead 5 to 7 minutes by machine or until smooth and elastic by hand. Put into a greased bowl, cover and let rise until doubled. Punch the dough down and let rest for about 15 minutes.
Preheat oven to 350-400 .
Prepare ricotta filling by mixing 2-3 eggs into the ricotta and beating until smooth and creamy. Divide the dough in half. Roll out one portion to cover a medium to large sized pizza pan or cookie sheet. Place the dough on the pan and fill as follows (CAUTION: do not deviate from the specified layering sequence).

layer of sausage
layer of ham
layer of mozzarella
layer of ricotta filling
arrange 6 boiled egg halves on top of the ricotta
sprinkle chopped parsley over all.

Roll out the remaining portion of dough and use to cover the pie. Wet the edges with water, pinch together and roll under the pie (the edges should be trimmed to even up or remove excess dough). Cut several holes in the top crust with a scissors. Bake until golden brown (3/4 to 1 hour).
Prepare an egg wash by beating one egg yolk, sugar and water. As soon as the pie is removed from the oven brush the top with the egg wash and sprinkle with the nonpareils. Allow to sit for about 15 minutes before cutting.
This dish is traditionally prepared on the Holy Saturday and eaten as the noon meal. If any is left, it is good served cold for breakfast, lunch, dinner or a snack.
Invite good friends and enjoy!
  |  [ 0 trackbacks ]   |  permalink  |  related link
Brighton 156 inch 

Dan Great Western Face

Mike surfing it'up

The rare Brighton Cobalt Finch

Mike is so rad

Cannonball

They posted some pictures and results for 2005 PowderKeg:
Picture of Magali and I starting up the cattrack at the start of the race.
Kevin on first downhill, bottom of Grizzley Gulch
  |  [ 0 trackbacks ]   |  permalink  |  related link
Bangkok Booked 
Booked Bangkok tonight! Bangkok will just be a launch point to and from Bhutan and India. I am stoked that my friend Tori will be able to join me for trekking in Bhutan! I have selected Sakten as the tour company to arrange our trek. All visitors must have a guide while in Bhutan. I hope to have the trek confirmed this week.

Here is my lineup...
Chicago March 24 - 29
Belize April 18 - 30
Bangkok May 5 - June 23rd

I have an appointment with the Salt Lake County International Travel Immunizations Center(801-468-2813) at the end of the month. A public office in the county building (2100 S State). Here is the recommended immunizations and there pricing for Belize, Bangkok, Bhutan and India:
Hepatitis A & B (Twinrix) $47
Typhoid $49
Tetanus booster $28
Polio booster $32
Office Visit w/ travel advisor $40

Total should be about $196...not too bad.
  |  [ 0 trackbacks ]   |  permalink  |  related link

Back Next

// Google Analytics