2014.12.18 – Done Thinking for the Day

I fiiiiiiiinally submitted a PR for this ticket I have been working on seemingly forever. This one was definitely a challenge and I learned a ton! I hope I can retain some of it.

The previous thing I worked on was adding device channel support. The one I just submitted a PR for was to add channel lookup and listing. The purpose is so a UA customer can get a list of all channel IDs associated with their app and additionally do a channel lookup on a known channel ID and get back device metadata.  I kinda sorta but not really had some other code to work from but I had to figure out a lot of it since it was adding new features. I also had to add documentation which is really hard! I also had to add tests and there were no tests at all to base these off of so I totally had to figure them out myself. It really helped me get a much better understanding of how it all worked though.

Anyway, I got my code pushed up for review and I am sure I will have a ton of things to change and fix before it gets merged in but it felt great to get it most of the way there.

I met Andrew for lunch downtown, yeah, yeah don’t ask where, and then came home to work. I had most everything done for my ticket but my tests were failing. I was able to get them all happy though with a lot of trial, error and thinking.

It was BSD Pizza Night and we were going to Dove Vivi. None of us had been there before but Mele said it was deep dish and was one of her favorites. There were six of us but we didn’t have to wait long for a table. Wayne, Andrew and I ordered a beet and walnut salad and their vegan corn, caramelized onion and cashew cheese pizza. The food was amazing! We will definitely go back but not for a while because I only had two pieces of pizza and will most likely be full for about a week.

It was pouring rain when we left for home. I just love it. The city is beautiful in a whole different way when it’s raining.

Today I learned how to use Mock for unit tests. Interesting but I haven’t figured out how to do any testing for exceptions with it. Tomorrow is another day.