Do you have a Moment?

Working with dates in native javascript can quickly become tedious and cumbersome. You have the standard Date object with a few different methods for constructing that object. Then you have a series of getXXX and setXXX methods that let you work with and manipulate various pieces of that Date object.

But what if you need to do more than that? What if you need to calculate future dates from this object? How do you display your date as a relative time like ‘4 hours ago’ or ‘3 weeks ago’. How do you compare two different Date objects? You could start down a long road toward building your own library of utility methods to answer some of these questions or … Enter moment.js.

Read more

Book: Dust

I’ve just finished reading Dust by Hugh Howey. It’s the ninth and final book in the Wool series. The series starts off with the remaining human population living in an underground silo more than a hundred floors deep. They’ve been living there for many generations and have forgotten everything about the world above them. As the series moves on, we find out that there are several independent silos. We find out who built the silos and ultimately what happened to the world that forced people underground.

Dust is a great conclusion to the series. It offers a finality that really ends the story but leaves room for the hope that the survivors will make a better life for themselves. It’s about overcoming impossible odds and in the end reclaiming their humanity.

Read more

A Balancing Act

As someone who works with technology day in and day out, I’m always looking for useful applications and utilities to make things just a little bit better. A little over a week ago, I ran across an iOS app called Balanced. With this app, you enter a list of things that want to focus on in your life and the frequency at which you want to do them. The app will bubble up the items that you should spend time doing in order to make your frequency goals.

Read more

Back Home Again

Over the Independence Day holiday my son and I went back to visit my parents in Illinois. I had not been back in more than five years so it was really good to visit. I haven’t been avoiding the trip home, it just didn’t happen. When I first joined the Navy in 1988, I made regular trips back home almost twice a year. As I began to settle down and make a home for myself in San Diego, my visits became fewer and farther between. Going “home” didn’t have the same meaning anymore.

Read more