July 14, 2011

Mount Osceola and East Osceola

osceola1Katy and I spent another extended weekend away earlier this week up at Lake Winnipesaukee with her family. It was a fantastic vacation with time spent swimming, boating, golfing, and relaxing. And since we were already well north in New Hampshire, we decided to throw in some hiking as well. We had originally planned on grabbing another couple 4000 footers on Saturday with her two sisters, her sister's boyfriend, (plus Mo). However, those plans fell through and we did a hike on our own on Tuesday morning instead.

osceola2The Counihan family tends to be early risers and on this past Tuesday, early morning commotion had already begun around 6:00AM. Katy woke up and said to me in a somewhat sleepy state "I really want to go hiking. Let's go before I don't want to go anymore." I guess we better go then! We got up, grabbed some breakfast, threw some water and granola bars into a backpack, and headed to the trailhead for Mount Osceola and nearby peak East Osceola. It was about an hour's ride from where we were staying in Alton Bay, and the forecast said partly sunny with a chance of an afternoon thunderstorm. We arrived at the trailhead at 7:45AM and were the only ones in the parking lot.

The hike up Mount Osceola was a very steady grade and a relatively easy 3.2 miles. Unfortunately, the partly sunny forecast did not pan out as we were completely in a cloud when we reached the summit and had no views. We continued on for another 1.0 mile with a couple of very steep sections over to the summit of East Osceola which had a wooded summit in the clouds. We retraced our steps back to the car and had completed 4000 footers 18 and 19 by 12:45PM. Overall it was an enjoyable hike that was part of just a generally really nice time away in New Hampshire.

July 4, 2011

The Wildcat-Carter Traverse

wildcatgroupThis fourth of July weekend has been targeted for quite some time now for us to tackle a few more 4000 footers on our list. We had another visit planned to AL and UP's condo in Bartlett, NH and we had been debating which hike we were going to do. For a while we contemplated doing a Presidential Traverse, or a half Presidential Traverse, but in the end we decided to knock off the remaining mountains on the Wildcat-Carter-Moriah ridge in one fell swoop. On Saturday, Katy and I plus Mo hiked over the top of five 4000 foot peaks in a 15 mile traverse of this ridge.

Whenever you do a long, end-to-end hike like this one, it's often tricky because you need to coordinate dropping a second car off at one end of the hike. Fortunately, Brian, Kate, and UP were willing to come along with us up the first peak (Wildcat D), and help us spot a car at the other end of the trek. (In fact, Mo was not originally planning on coming the entire 15 miles with us, but she changed her mind a mile into the hike and rather than turning around to return with the other group, decided to continue on with Katy and me). All six of us were up at 5:30AM and left the condo at 6:30AM to make our way out to the hike. We had two cars so we dropped Mo and UP off at the Wildcat Ridge trailhead and we continued on to the Imp trailhead to drop off our car. Brian brought Katy and I back to the Wildcat Ridge trailhead, and all six of us began our trek up at about 7AM.

wildcattopNot even 1 minute into the hike, we hit our first snag. We crossed the road via an underpass to get to the trail, and immediately were faced with a difficult river crossing. The water was fairly high and moving fast, but everyone was able to eventually make it across rock hopping (except for UP who got a bit wet). We continued on up the fairly steep Wildcat Ridge Trail and made our way to the top of Wildcat D (and the top of the gondola and ski slopes). Brian, Kate, and UP decided to turn back early, while Katy and I plus Mo continued on to the main summit of Wildcat Mountain, Wildcat A. At this point we were more than four miles into the hike, and had bagged two peaks.

wildcatninjaWildcat A contained a great outlook looking over Carter Notch. We could see about 1000 feet down to the rooftop of the Carter Notch Hut (which was on our route), and then back up to the peak of Carter Dome. "We're going all the way down there??" Maureen said when she saw it. Yes indeed. We made the steep decent down into Carter Notch and then climbed all the way back up to the top of Carter Dome after a short break at the hut. From there, we soldiered on over the top of South Carter and Middle Carter Mountains to bring our total peaks for the day up to five and our total peaks overall up to 17! By the time we had made it back to the car at the bottom of the Imp Trailhead we had traveled 15 miles in 11 hours over 5 peaks.

This was a long and challenging hike but it was a perfect day for it and well worth it. Single day Presidential Traverse? Perhaps it is in our future.

May 29, 2011

North and South Hancock

hancocksgroupIt's been a while since I last made a post on this blog, which is now becoming more of a status report for our quest to complete the 4000 footers of the White Mountains. I'm back today to report that we have not given up, and that yesterday we knocked off two more mountains on our list: North and South Hancock. This time around, the hiking group contained Katy, myself, my brother Brian, and my sister Maureen. We almost had a bigger group, but a few who were wavering dropped out at the last minute.

hancocksstartThe weather forecast for yesterday contained warm temperatures with a chance of sun, chance of clouds, chance of showers, and chance of thunderstorms. Essentially, anything, which is pretty standard for the white mountains, so the hike was on. We all met in Westborough at 6:30AM and headed north from there under cloudy skies, leaving at about 7:00AM. We made one stop on the way up, for Brian's apparently traditional pre-hike Egg McMuffin, and made it to the trailhead at around 9:30AM.

owenandkatyhancocksThe Hancocks are located just south of the Pemigewasset Wilderness, with the trailhead on the Kancamagus Highway. It's a total 10 mile hike with a loop over both peaks, but much of the trail is quite level. We probably went up only about 1000 feet of elevation in the first 3.5 miles before an extremely steep final half mile to the North peak's summit which went up another 1000 feet of elevation all on its own. We did not encounter any rain, and it was quite warm, even at the peaks. However, it was heavily overcast all day, and when we reached both the North and South peaks, the two lone overlooks available for views on this trip were completely clouded in. We ate lunch and snacks on the summits, before heading back down to the car and arriving back at the trailhead around 4:00PM.

Overall it was a fun trip to put the total number of 4000 footers for Katy and I up to 12. We headed back to Massachusetts and stopped for pizza on the way back. We also learned on the way back that my sister Megan got engaged to her longtime boyfriend Chris while we were hiking! Congratulations to Megan and Chris!

October 13, 2010

Mounts Tom, Field, and Willey

On top of Mount WilleyAfter our recent Labor Day weekend trek up North and South Kinsman, Katy and I had completed 7 of the 48 4000 footers in New Hampshire. In the hopes of getting to double digits before the winter settles in, we planned a visit to AL and UP's condo in Bartlett, NH for Columbus Day weekend and organized another ten mile hike over three 4000 footers, Mount Tom, Mount Field, and Mount Willey. With absolutely perfect weather all weekend long, we chose this past Sunday for the hike to complete 10 peaks on 10/10/10.

Since we were spending the weekend with several other family members at AL and UP's condo, I had thought we would get a few more takers to join us this time around. But alas, most were dissuaded by the early wakeup call and the hefty mileage. Only Katy, myself, and Mo were motivated enough to be out the door and heading to the trailhead in Crawford Notch at 7:45AM. By 8:30AM we were geared up and on the trail under perfectly clear skies but very crisp fall air in the mid 30's.

Mount Tom summitHiked individually, Tom, Field, and Willey are all relatively easy climbs. We made it to the top of Mount Tom fairly quickly and stopped for a snack and some pictures. With not a cloud in the sky the views were spectacular with fall foliage covered mountains as far as you could see and Mount Washington and Mount Jefferson visible with some early season snow cover at the peaks. It was chilly at the summit, though, as temperatures had climbed slightly since the morning but it was still probably in the 40's with some gusty winds. We didn't linger too long before heading off to work our way down the ridge to Mount Field.

Mount Field summitThe top of Mount Field was enclosed in trees but also offered a side trail to a ledge overlooking the Mount Washington hotel and a good view of the Presidentials. We ate lunch at this peak and amusingly got a phone call from UP while we were on the summit asking if we could see him. Err, huh? Apparently, a late shift of hikers had left the condo about an hour after us and were hiking the nearby Mount Willard, a much smaller and easier hike. They could see the peaks of Tom, Field, and Willey but our view of Willard was obstructed by trees. Sorry no such luck! After more photos and finishing up our lunch, we pressed on to bag the final peak of our hike.

Feeding the gray jayThe summit of Mount Willey definitely had the best panoramic outlook with a really great view of Crawford Notch. The wind had settled down and the sun had warmed the temperatures to a really comfortable mid-day level. In addition to snapping the obligatory summit photos, we also managed to capture an image of one of the many gray jays flying around the peaks eating right out of Katy's hand! Those birds clearly knew that there was food to be had with people around and had no fear flying right into your hand. The summit of Willey was definitely a cool spot and we lingered up there for a while before heading out for the descent.

Ninja jump!The trip down was relatively uneventful, although the upper section of the Avalon trail was definitely the steepest section of any trail we took during the hike. It wasn't too difficult to navigate but definitely did a number on the knees towards the tail end of the hike. We made it back to the car before 4:00PM to complete peaks number eight, nine, and ten on our list! After setting this peakbagging goal just over one year ago, we're now over a fifth of the way done. And once again, fall continues to provide evidence why it's my favorite New England season.

September 5, 2010

The Kinsmans

The Kinsman hiking crewThis weekend, Katy and I decided to continue our assault on the 4000 footers by taking a single day trip up to Franconia Notch to summit the peaks of North Kinsman and South Kinsman. This time, however, we brought friends. My sister, Maureen and Katy's sister Anne both took us up on our invitation to join us. When we were getting ready to leave in the morning, Maureen dubbed the outing "Take your sister to hike day".

Since Labor Day weekend is always a popular time for hiking in the White Mountains, we were hoping to get an early start. The route we selected to climb the Kinsmans starts at the Lafayette Place campground which is also the trailhead for the loop trail up Mounts Lafayette and Lincoln, one of the most popular hikes in all of New England. The lot was filling up quickly when we arrived at 8:30AM, but we easily found a spot and were geared up and on the trail at about 8:45AM. The weather was partly cloudy and in the upper 50s at the trailhead, and the forecast looked pretty reasonable for the rest of the day with only a slight chance of a shower. We were off.

Triple Ninja jumpThe first mile and a half of the hike was a repeat effort of the first section of our climb up Cannon Mountain. We hiked out to the Lonesome Lake, and this time made it to the Lonesome Lake Hut and stopped for a break and a snack. After being warned of colder weather and windy conditions at the Kinsmans' summits by one of the hut's caretakers, we headed back out and continued onward. The trail to the summits was fairly rugged and quite steep in some sections, but overall in good condition and straightforward to navigate. We reached the peak of North Kinsman at the four mile mark and were treated with some great views across to the Franconia Ridge despite the cloud cover. After a quick break and some lunch we continued on to South Kinsman at the five mile mark where the temperature was quite a bit colder and breezy, but not terribly windy. After taking in some similar views, we turned around for the trek back to the car.

We arrived back at the car after our knee pounding descent at about 4:15PM, seven and a half hours total for the ten miler. Overall it was a great day and fun to bring Anne and Mo out for their first two 4000 footers! And finally, proof that Katy and I made it up North Kinsman, and South Kinsman.

July 27, 2010

Mount Moriah

Owen on the trailA lot of things have happened since Katy and I tagged the top of our most recent 4000 footer. Most notably, we got married! After years of dating, a long engagement, and much planning, we finally tied the knot on June 12, 2010. It was a perfect ceremony, a whirlwind reception, and an incredible day. And it probably goes without saying that we've been busy over these last few months! When we originally looked at our summer and possible weekends that we could use for hiking, this past weekend was one of the few that was free. We actually had grand visions and tentative plans of doing a single day, half Presidential Traverse with Patty and Mike. However, when those plans fell through, we decided to knock off a single peak nearby instead: Mount Moriah.

Katy on the trailOn Friday night we threw a bunch of camping gear into the car and took off for the 3+ hour drive to the campground at Moose Brook State Park. The truth is that we almost didn't go at all because my knee has been giving me some significant trouble over the past few weeks. Without a lot of other hiking opportunities coming up, though, I decided to give it a shot and see how it goes. Much of the ride was done in the rain, but when we arrived at the campground after 10PM, the rain had finally stopped. We set up our tent, and tried to get a small fire going, but most of the wood in the forest was very wet, and it was hard to find dry wood in the dark. We got a small flame going for a bit, but quickly retired to sleep after that.

Owen and Katy atop Mt. MoriahBy 10AM Saturday morning, we were at the trailhead for the Carter-Moriah trail in Gorham, NH and began the 4.5 mile trek to the top. The first couple miles of the trail were moderately steep but with a very persistent incline. We reached the minor summit of Mount Surprise just over an hour into the hike. After this, though, we quickly encountered some long sections consisting of large rock slaps that required some considerable scrambling to navigate. The trail was mostly dry which was fortunate because in wet conditions the rock slabs would have been much more difficult to scale. I say mostly dry, though, because we also encountered a few sections at the higher elevations of deep mud. All in all, it was a moderate hike and we reached the summit at about 1PM.

Katy's summit ninja jumpWe ate our lunch at the peak and collected some cloudy views before heading back down the way we came. By that point my knee was quite swollen and sore but I made it down without too much issue. Throughout the whole hike we only saw two other groups on the trail, one of which asked if we were "knocking one off today". Indeed we were! We were back at the car by 4PM and enjoyed an evening by the fire at the campground afterwards to conclude our trip.

With a busy rest of the summer ahead of us, it was good to get another mountain done. Hopefully we'll find some time in the superior hiking months of September and October to knock off a few more!

July 20, 2010

Future Interrupted

I always thought of Java's Future interface as a fairly elegant and effective way of dealing with asynchronous tasks. It's lightweight, gives you a mechanism to check if a task is finished, allows you to block until the task completes and retrieve its result, and also provides a hook to attempt to cancel the task via interruption. When used in conjunction with the various thread pool services in java.util.concurrent package, it becomes a simple, yet powerful tool.

Yesterday, though, I discovered a subtle distinction about the semantic behavior of the Future interface that slightly diminishes its power. I found myself in a situation where I wanted to cancel a Future, but then still wait until its associated task has completed. Initially I thought this might be accomplished with something like this:

    // send an interrupt to the task's thread
    future.cancel(true);

    // block until the task is complete
    boolean finished = false;
    boolean interrupted = false;
    while (!finished) {
        try {
            future.get();
            finished = true;
        } catch (CancellationException ce) {
            // task has been cancelled, handle appropriately
            finished = true;
        } catch (ExecutionException ee) {
            // task completed with error, handle appropriately
            finished = true;
        } catch (InterruptedException ie) {
            // current thread has been interrupted, record and continue
            interrupted = true;
        }
    }
    // re-interrupt this thread if we've been interrupted
    if (interrupted) {
        Thread.currentThread().interrupt();
    }

Essentially, call cancel(true) on the Future in order to send an interrupt to the associated task's thread. Then call get() on the Future in a loop to ensure that the task has properly handled the interruption and completed execution before proceeding. However, the above code does not work as expected. The problem is that once you call cancel() on a Future, the task's thread will be sent an interrupt if it is running, but then the state associated with the task is completely cast aside. Subsequent calls to get() on the same Future will always immediately throw a CancellationException and there is no available mechanism to block until the task's thread has completed handling the interruption and finished its execution.

The worst part about this is that it is not immediately clear from the javadoc for the Future interface that this is the actual behavior. The description of the cancel() method is very clear that if the task has not started, it will prevent it from starting, but if it has already started, it can make an attempt to "cancel" it via interruption of the task's thread. Of course, since in Java interrupting a thread is only a suggestion for it to actually stop what it's doing, there's no guarantee about when or if the task will actually stop unless you handle the interruption properly. Therefore, I hoped that calling get() would wait for the computation to complete, and then throw a CancellationException if the thread was interrupted. After testing it and also digging through the Java source code for the Future implementation, I discovered that that is definitely not the case.

I struggled for a bit to come up with a reasonable alternative mechanism for accomplishing this behavior short of re-implementing my own thread pool and managing the threads myself. Fortunately, after speaking with a colleague, I was pointed to the beforeExecute and afterExecute hooks on the ThreadPoolExecutor. It takes a little more work then I had hoped, but using those hooks allows you to augment the functionality of ThreadPoolExecutor to achieve this type of behavior. I'll leave the details of it up to you.

Anyhow, that's my tidbit for the day. Be careful when playing with the Future!