Software Engineer

Jason Hancock

last update:

Puppet 25.4 and 25.5 leaks MySQL connections when using stored configurations and using MySQL as the database backend. This is a well known issue and appears to have been recently fixed for an upcoming release. I want to implement stored configurations, but I can’t have leaking MySQL connections in production, I don’t want to wait until the fix gets released, nor do I want to integrate the patch and build my own RPM.

one month old

Dexter is one month old today. It has been an amazing experience. The baby announcements will be in the mail soon….expect them in your mailbox sometime next week.

dexter

sudo /etc/init.d/dexter start Starting dexter [FAILED ]sudo echo"birth-type=cesarean">> /etc/sysconfig/dexter sudo /etc/init.d/dexter start Starting dexter [OK ]sudo /etc/init.d/dexter status Process "Dexter Brian Hancock"started at 2010-08-17 19:55:00 Length 22inches Weight 7lbs. 15.4 oz.

interviews

Had a good interview yesterday with a company in Beverly Hills. The drive would suck, but it might be a good opportunity if they decide to call me back. Have a phone interview set up for tomorrow with another company in Culver City. Hopefully that one will also go well. Laura is getting pretty anxious about giving birth and I don’t blame her. We’re both ready for this part of the journey to be over so we can begin to get to know our son.

I entered the workforce shortly after I turned sixteen years old. Since that time, I have never been without employment. The company I was working for closed shop today and laid everyone off. I’m feeling depressed, anxious, and slightly liberated. The part I’m the most nervous about is I am expecting the arrival of my first child within two weeks and this sudden lack of employment has called my health insurance situation into question.

php rss parser

The other day I was hacking together a quick app to monitor some rss feeds and stuff some data into a MySQL database. One thing I really hate is writing XML parsers. I can do it easily, I just find it tedious. Couple that with my lack of knowledge of the RSS format and I wasn’t looking forward to parsing the XML at all. A quick google search turned up SimplePie, an RSS feed parser written in PHP.

pizza!

I enjoy grilling a lot. I had been watching a lot of food network lately and I kept seeing shows where they would cook pizza directly on their grills. I settled down one night to watch an episode of Good Eats and Alton was demonstrating how to make pizza on a grill. I knew I had to try it. The dough: 16 oz (by weight) of all purpose flour 1 envelope rapid rise yeast (not active dry yeast) 1 Tbs.

I’m a big fan of Stone Brewing Company. They release a special edition anniversary brew each year. This year, they released an IPA. I’ve picked up their anniversary brew religiously for the last five years. My favorite was their 10th anniversary brew. It too was an IPA. This year’s brew is a close second. If you have the opportunity to try it, I highly recommend it. You can usually find it at Whole Foods Supermarkets or at BevMo.

I have been shooting a Nikon D80 camera for the past couple of years. I wanted to know how many shutter actuations the camera had seen (essentially, how many pictures I had taken). This information is stored in the image’s EXIF data. I’m running Fedora 12 on my laptop. In order to read the EXIF data, I installed the Image::ExifTool PERL module. You can do this by running the following command:

I’ve been working with Puppet lately as a configuration management utility. It is written in Ruby, and it appears that Ruby developers love YAML. I’m working on a script to parse some of the YAML reports into something intelligible. I started by installing the php-syck package to enable me to parse YAML; sudo yum install php-syck sudo /etc/init.d/httpd restart This installed php-syck-0.55-4.el5.rf on my server. The, I wrote up some test code.