A New Path

The next few weeks are sure to be a wild ride. After spending well over half of my career with Kansas State University, I’ve decided to accept a new position as Assistant Director of I.T. for Application Development at Colorado State University, College of Health and Human Sciences. I’ve had a great opportunity to grow and develop during my time at OME, one that I don’t take lightly. I’m extremely excited for the opportunity to be a Ram and be a part of the higher education community in my adopted state of Colorado.

RocketChat API Wrapper

Today I open sourced a library for dealing with the RocketChat API. If you’ve never heard of it RocketChat is an open source chat platform similar in feature set to that of Slack and HipChat. It was recently adopted by my organization as an internal tool. In the past my team has used HipChat as our main communication platform and it worked just fine, but in an effort to trim costs and use similar tools we’ve made the transition to RocketChat.

Intermittent Fasting Experiment

For the past two weeks I’ve been experimenting with a Ketogenic diet to see if I could finally lose the last 30 or so pounds that I’ve gained over the last decade. The initial weeks have gone well, losing almost 10 pounds so far. In addition to eating in a completely different way, I’ve wanted to experiment with another diet change that is “Intermittent Fasting”. My goal is to have periods of fasting for 16-18 hours per 24 hour period.

Multiple Forms in Django Views

In one of our projects, we maintain a fairly large central view to display a dashboard of user information. Recently, we’ve begun adding the ability for users to edit parts of that information inline on the dashboard. Due to the nature of the data being disparate, we need to have the ability to build out multiple different forms, and at the same time maintain some sort of structure and organization within the application itself.

2015 Year in Review

Here’s my list of 2015 goals for the year and how I progressed. Get in better shape Climb another mountain, hopefully above 12k Improve my leadership skills Attend a technical conference Get in Better Shape This year has been a good year for getting back into better shape. I’ve been spending a lot of time cycling this year and even have gotten a new bike. Climb Another Mountain I didn’t climb a different mountain, but I did climb another one.

Django By Example

Glad to announce that a book I’ve been doing a technical review for has finally been published and is available on Amazon. It took about a year from start to finish, but I’m glad to see it finally done and available for purchase.

Mocking Responses in Python Requests

Lately, we’ve been trying to improve our testing structure around testing our API calls without actually having to make them. To do this we of course use the excellent mocking library for python. We commonly don’t just return the raw data from calls but rather wrap them, usually converting them to pure python objects for easier consumption by our applications. Because of this we really need to have the ability to mock the raw response and then test that against what we think the wrapper will do with the data.

Keeping it DRY with Mock and Python

This week while writing a new feature in the core of one our apps, I had to mock something that would be used in almost every single test in the test suite. I’m a huge fan of keeping things DRY so you can imagine that when I started to type things like this: {% highlight python %} import mock class NotificationsUtilsTest(base.NotificationTestBase, TestCase): def setUp(self): super(NotificationsUtilsTest, self).setUp() self.request = RequestFactory() self.request.user = self.

Django Rest Framework Talk

Join me for a talk next week at the Fort Collins Digital workshop for a short talk on the Django Rest Framework! PyNoCo Meetup

A Touch of Imposter Syndrome

Or why I feel behind all the time From Wikipedia Impostor syndrome is a psychological phenomenon in which people are unable to internalize their accomplishments. Despite external evidence of their competence, those with the syndrome remain convinced that they are frauds and do not deserve the success they have achieved. Proof of success is dismissed as luck, timing, or as a result of deceiving others into thinking they are more intelligent and competent than they believe themselves to be.