Red Rocks

Lamda, Go, and GotSport via API Gateway

March 12, 2016

While I’ve been primarily living in the mobile world recently, I’ve been intrigued by a the developments in a few other areas of technology.

Go, or golang, has been increasingly becoming my preferred language for side projects.  I really like the concise nature of the language, the ability to deploy on multiple platforms, and the short tool chain.  It ‘just works’, and is fun to program in.

AWS continues to add interesting services and features.  I recently moved my website from GoDaddy to host on S3.  This really started my thinking about living in a ‘serverless world’.  While practically speaking hosting on S3 isn’t really all that different than virtual hosting at GoDaddy, it is really just scratching the surface.  You can now build pretty interesting applications without running a server (virtual or otherwise).

Read More

Unit Testing with throws in Swift 2.0

November 23, 2015

I’ve been working very slowly on a Swift version of Playlist Export, and today I finally got around to updating the project to Swift 2.0.  Luckily I wrote test cases for much of the logic to manage the export process, so I had some level of confidence that I would know if I broke anything.

However, after I got the project to compile, only one of the test cases ran.  No errors or other indication why all the other cases were ignored.

I did finally figure out that if you your test case has a throws clause, it will be IGNORED.

So:

Read More

Home Theater

October 17, 2015

I recently got to fulfill a longtime dream of building a ‘home theater’.  Luckily, the basement was already finished with a room that was large enough to house a home theater, so as home theater projects go, it was pretty straight forward.  This is a write up of the project, which I completed in May of this year, so I’ve had almost 6 months with it completed.

The room was previously setup as a TV room, with a 60" Rear Projection DLP TV (Mitsubishi WD-60738), a very large entertainment center I purchased for a much larger room in a previous house, and a sectional couch.

The 60" TV and too-large entertainment center:

Read More

Site Migration

August 5, 2015

After hosting this site on GoDaddy for many years, I’ve decided to migrate it to Amazon via S3.  Amazon has some great features for hosting static websites, although I’ve gone ‘bare bones’ to start.  I’m just hosting using an S3 bucket.  I’m using the wwwizer Naked Redirect service to redirect ericdaugherty.com to www.ericdaugherty.com, and then hosting the site out of a S3 bucket.

Amazon has a DNS server (Route 53) and CDN (CloudFront) that are easy and inexpensive to use, but I don't think I need them yet.  For now, I'm still using GoDaddy's DNS Server and the wwwizer 'hack' instead of Route 53.

The previous site utilized somewhat of a 'poor man's template engine'.  I had a html file for each page on the site, but had Apache evaluate them as PHP files and I used PHP Includes to build up the page using common components.

Moving to a fully static website meant I needed a real template engine.  I selected Jekyll and migrated the site over.  It was a pretty straight forward migration and ended up reducing the size of each file as I could use a true template instead of just having common components.

I then use the AWS console tool to upload the generated website files to S3 for an easy deployment, also allowing me to finally retire FileZilla from my tool chain.

Amazon has some pretty good guides to doing this, but I also used two good blog posts: Amazon S3 on Domain Root, without Route 53 and Static website on S3, CloudFront and Route 53, the right way!

The blog portion of the site is still hosted at Blogger, which has and continues to work well.  

This also forced me to make a few updates to the site, fixing some broken links and removing some no-longer-relevant sections.

Plus it gave me an excuse to finally post on the blog.

USA Pro Cycling Challenge 2014

August 26, 2014

The USA Pro Challenge rolled through Golden this weekend, and I headed to town to try to get some shots.

See all the USA Pro Challenge 2014 pictures on Smugmug.

The race brought them through Golden and then up Lookout Mountain.  They managed this climb in less than half the time of my best effort.  They came back and did a loop through downtown Golden before heading down to Denver for the finish.

I positioned myself at the corner of Washington and 10th to catch them coming through downtown Golden, with the ‘Welcome to Golden’ sign in the background.

Photo & Video Sharing by SmugMug

Here is the overall winner rolling through Golden:


This lone rider nearly got clipped by one of the support cars




Photo & Video Sharing by SmugMug

Alluvial Fan in Rocky Mountain National Park

December 1, 2013

I got to visit Estes Park and Rocky Mountain National Park this weekend, which gave me a chance to see some of the flood damage from this fall.  Nothing was quite as impressive as the amount of material deposited at the base of the Alluvial Fan in RMNP.  The river used to run down the mountain and under the bridge.  The bridge survived, but as you can see, it no longer crosses the river.  The river used to flow about 15 feet under this bridge.  Now there is rock and sand above the level of the bridge…

Read More

Hiking with a DSLR - Part 3... and other accessories

October 30, 2013

Every year or so I post about my camera setup, and the gear I use to carry it while hiking, etc.  Here is this year’s update…

You can go back and read last year’s post, or my 2010 post to see how I’ve changed over time.

Since last year, I’ve upgraded from the Nikon D300 to the D600.  Since it is now a full frame, I also switched my primary lens to the D600 24-85mm f/3.5-4.5 kit lens.  Both the D600 body and the lens are smaller than D300/17-55 f2.8 I carried before, although I did give up some speed on my walk around lens.

Read More

Coyote Pups

June 10, 2013

There are a new litter of Coyote pups in Rocky Mountain National Park (RMNP) this year near the Beaver Meadows visitor center.  I was able to capture a few good shots of the pups playing around near their den.

See all the pictures here, a few selected shots below…

Photo & Video Sharing by SmugMug

Photo & Video Sharing by SmugMug

Photo & Video Sharing by SmugMug

Photo & Video Sharing by SmugMug