ehough.com

personal website of Eric Hough

New Year’s Fun

Three weeks late, but I wanted to share what an awesome time Melissa and I had on New Year’s 2010. My favorite local brewery, Port Brewing of Pizza Port fame, teamed up with my favorite local beer bar, Toronado San Diego.

flyer

After 14 hours and a nearly cancelled flight coming back from Pennsylvania (with a delightful free upgrade to first class), I arrive in San Diego around 6pm. We hit Toronado around 830 to find it not too crowded. I think we were both expecting it to be slammed. Instead we sat right down at the bar and ordered the IPA flight, which consisted of 11 IPA’s at 4oz each. Being good students, we took notes on each…

3

Oh but the night was just getting started! We then decided to switch gears and did the stout and porter flight. Another delicious 11 brews with notes…

4

We both agreed the best beer of the night was the California Honey Ale, of which we both got a pint or two. Pizza Port also brought down some sort of a mobile pizza oven to cook really cheap pizza in the alley out back. Sweet. All in all a great time. Made me love Port and Toronado even more, and I hope they do something like this again!

beers1beers217358_579440444786_24502777_34149596_3102558_n

A Tribute to Dr. Rod

My dad worked with Carlisle High School Athletics for as long as I can remember. He would do the physicals for the athletes before each season, and he stood on the sidelines during football games as the team doctor. I could tell he enjoyed the work – much of it was volunteer based.

At the first football game of this season on September 25 2009, Dave Hutchinson (a friend of Dad’s) read the following tribute before kickoff.

Ladies and gentleman, about six weeks ago, one of the most dedicated friends of the Carlisle High School athletic programs passed away.

Dr. Rodney Hough was just 65, but throughout his life had spent countless hours giving of himself to others –and our athletes here at Carlisle were frequently on the receiving end of his generosity.

Dr. Hough was a pretty fair athlete himself; a scholarship football player at the University of Virginia, who went on to graduate from the UVS Medical School. He established a practice here in 1975, and as the years went by, became a constant presence on the sidelines, often caring for injured players at his own expense.

His sons proudly worth the Green-and White a decade ago, and contributed to the championship squads of the late ‘90”s and 2000.

We ask that you please rise, and help us observe a few moments of silence to honor the memory of Dr. Rodney Hough, an Air Force veteran during the Vietnam War, and remain standing as the Carlisle High School band plays our National Anthem.

Help for Addicted Doctors – My father interviewed by CBS

My father, Dr. Rodney Hough, interviewed by CBS back in 2007 regarding his recovery from addiction to pain pills. This aired on CBS 21 News, which servers central Pennsylvania, in February 2008.

They’ve got a red hot offense

It seems surreal to post a video that was forwarded to me. But as the email stated, “The Steelers are a religion and thus must be worshipped.”

These kids are all 11, 12, or 13 years old. Lots of talent. I’m most impressed with the lead vocals. Go Stillers!

New MacBook Pro (again)

When they came out in October, I bought myself a brand new MacBook Pro to upgrade my seriously aging PowerBook G4. It was a great investment. This thing is thinner, lighter, (comparatively) blazing fast, and has a crisp and bright screen.

So you can imagine my surprise last night when I’m sitting on the couch and my MacBook suddenly turns off while I’m using it. When I try to turn it on again, I hear the fans spin up, the light on the front comes on, but the hard drive doesn’t spin up and the screen stays sadly black.

This morning I tried all the troubleshooting steps for this kind of problem, but no avail. Then I made an appointment with the Genius Bar down at Fashion Valley. The guy behind the bar examines it for 5 minutes, then says “I’m gonna give you a new computer.” Sweet! Given the new hard drive location, he just swapped my old hard drive into the new machine.

Now I’ve got a spanking new machine, fresh battery, and all my data. Very happy. I know it’s trendy to gripe about Apple when their products fail, but you can’t beat their customer service (at least, when your purchase is under warranty or Apple Care).

Command Line Tricks to View GData Responses

I’m on the command line quite a bit at home (Mac OS X) and at work (*nix). I’ll often strew together a bunch of commands with pipes and redirects, and I usually think “That was useful. I should write that down.” Here is the first installment, of probably zero more, where I’ll actually fulfill that promise to myself.

The problem was that I needed to view the raw GData query responses while working on TubePress. The method I used could probably be used for any Atom or RSS service just as well.

wget was working to some extent, but it was a pain in the ass to get it to just display to stdout instead of writing to a file. It’s probably possible but I got impatient with the man file.

curl seemed a lot more promising in that it spits out the HTTP response to stdout, but when you try to pipe the output to anything, you get a nasty status bar in the output. For instance, if you run

curl google.com | less

you’ll get something like


% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 219 100 219 0 0 364 0 --:--:-- --:--:-- --:--:-- 0
<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
<TITLE>301 Moved</TITLE></HEAD><BODY>
<H1>301 Moved</H1>
The document has moved
<A HREF="http://www.google.com/">here</A>.
</BODY></HTML>

You can hush curl’s progress meter thingy with the -s switch:

Drumroll please, here is the final command:

# curl -s "http://gdata.youtube.com/feeds/api/videos?q=hough" | xmllint --format - > out.xml

You can see that I sent the HTTP response (which is just a slew of XML) to xmllint for formatting, then spit the final result out to an XML file. One gotcha is that for URLs with many parameters, you’re best off enclosing them in double quotes when passing them as arguments to curl.

Anyone else have an easy way of viewing raw XML responses?

«Older Posts