Howdy! Welcome to Jacob's blog.

There's a lot of awesome stuff covered here. Jacob Emerick is a web programmer with years of experience in scalable architecture and development of best practices. He also enjoys hiking the wilds of the Upper Peninsula of Michigan. This blog contains a mix of topics ranging between these two interests and more. read more

Jacob Emerick rocking a bow tie

Using Mocks with PHPUnit

Creating test doubles, or mocks, is a feature of PHPUnit that I recently discovered and am quickly falling in love with. Previously I would find other ways to mock my system, like creating SQLite connections instead of a persistent database, or even duplicating an entire mock class for injection.…

  • Category Web Development
  • Posted August 25, 2016
  • read more

Silly Mountain with the Boys

A slowly waking sky over Superstition Ridgeline

Hiking with the boys has, for the most part, been limited to short outings in San Tan or South Mountain. There are a number of loops in these parks that are less than five miles with wide, easy trails that are perfect for them to wander along. I've tried taking them to the Superstitions a few times…

  • Category Hiking
  • Posted August 21, 2016
  • read more

Mount Peeley Summit

Beautiful sign at the Mt Peeley Trailhead

Forest Road 201 was a long and winding ordeal, stretching north from AZ-87 and circling around numerous ridges and peaks on a slow climb up into the Mazatzals. All three of us were impatient to get on the trail. My dad and I had woken up at four this morning in order to meet Chris at six in Fountain…

  • Category Hiking
  • Posted August 17, 2016
  • read more

Lower Red Tanks Trail

Predawn light on the hills

Sleep came in hour-long chunks at best near LaBarge Spring. The temps dropped under the clear night sky to the point where I, fully dressed in the hammock, was rolling uncomfortably around by midnight. Perhaps a sleeping bag would have been a good idea after all. Every time I opened up my Kindle to…

  • Category Hiking
  • Posted August 10, 2016
  • read more

Bluff Springs to LaBarge

Busy signage at Peralta Trailhead

Peralta Road was in rough shape, with huge rocks, loose sand, and deep ruts at every wash crossing. It was obvious that a major storm had dumped some water here, though I couldn't think of when. Seems like it's been dry out here for a long time. Maybe that little sprinkle we got in Gilbert last week…

  • Category Hiking
  • Posted August 7, 2016
  • read more

Continuous Deployment with Travis CI and Digital Ocean

Continuous integration and deployment is one of my favorite parts about working at Shutterstock. The team can push, run automated tests, and deploy many times in a single day. I've been wanting to try to build up something like this for my own projects and, by using a combination of Digital Ocean,…

  • Category Web Development
  • Posted August 2, 2016
  • read more

Using Domain Repositories for Services

Last year I started building out domain repositories in order to encapsulate the data retrieval for my website. They were easy to build, straightforward to implement, and simple to test. At the time all of the data retrieval was through a standard sql database, so all I had to do was pass in a…

  • Category Web Development
  • Posted July 22, 2016
  • read more

Backpacking Gear Updates - 2016

Over the last few backpacking posts I've mentioned that my pack has been getting lighter. I'm still pretty new to traditional backpacking, with only twelve adventures over the last year, and it's taking some time for me to understand my gear and comfort level. My first trip out on the Cabin Loop had…

  • Category Hiking
  • Posted July 18, 2016
  • read more

Spending the Night on Flatiron

Hot sun over Flatiron

The thermometer on the car read 112 when I stepped out into the parking lot in Apache Junction. Hot air rushed over me, feeling more like an oven than not, and I took an unsteady breath in. I was about to tackle a hike that I probably should not in temperatures that I probably should avoid and I was…

  • Category Hiking
  • Posted July 13, 2016
  • read more

Marcos de Niza Loop with the Boys

Noah trudging up National Trail

Several weeks had passed since the boys and I had gone out on a desert hike. I try to take them out on semi-regularly on a little loop in the San Tans near our house, an easy 1.3 miles that Noah is now running through and Thomas rides in the back carrier for the first half and wanders around the…

  • Category Hiking
  • Posted July 8, 2016
  • read more

Activity Stream

  • Tweeted | @StefanHayden TDD, Tab-Driven Development.
  • Tweeted | @freebly good grief awesome. /cc @DealerSocket
  • Created tag 0.3.3 at avalanche-development/talus.
  • Closed a pull request at avalanche-development/talus
  • Pushed some code at avalanche-development/talus.
View more activities…