Projects

I really need to remember to post here more often. What have I been up lately? A bunch of traveling for work.

  • Microsoft Visual Studio Parter summit
  • Atlassian Connect Week
  • Jenkins World 2016 (Upcoming)

And the one event I went to as me, not really representing sauce labs

  • Cascadia 2016

I had a big blast at pretty much all of them. Most of them got me into the tinkering mood again.

Because of Cascadia, I learned about greenkeeper and have since hooked it up to a bunch of my node projects. At times the influx of pull requests to update dependancies is kinda annoying, but it forces me to keep my tests up and running. So far i’ve been pretty happy with it.

At connect week, I learned about this codegiest competition/hackathon they were hosting. I already had 2 entries due to work on some projects at sauce labs. But I really wanted to do something fun and silly. So I revisited the dance party plugin Jlipps created for our internal hubot. It gave me an excuse to use a bunch of the hipchat apis that I wouldn’t normally use, and was able to create Hipchat Dance Party. Totally available for free in the market place.

Next up would be hubot-jenkins-notifier. I’ll admit, I didn’t fully understand the bug that the one user opened, but they were willing to create a pull request. He admittedly didn’t have a lot of time to work on it, but was very receptive to feedback. After over a month of slow back and forth, I decided I was happy enough with it, but I wanted better test coverage of the project as a whole. So chatted with him, came up with a better config schema, merged everything, and started the rewrite. The code is now super cleaned up, nice objects that can easily be tested. No more horrible coffeescript. He’s happy with the result and so am I. As soon as I get a few more real life test users, i’ll be cutting a new release.

codacy-maven-plugin – Due to some of my projects being solo at Sauce Labs, I have had my eye out for various open source tooling to keep an eye on my code for me. I tried out gemnasium for a while, but that wouldn’t support java. Greenkeeper as mentioned above is great, but again, not java. Codecov has been great for reporting coverage, and I’ve used it very liberallly, Then I stumbled onto codacy. Codacy is multiple languages and builds you a report on code quality. In java, it uses findbugs, for javascript, it uses eslint. It also has a whole slew of built in checks and functionality. You can totally check out one of my projects to see some of its output. My only real complaint was that unlike codecov, which was just pip install codecov, for java code coverage, you needed to install another java package manager, then install a script, along the way there was https errors, etc. So decided it was worth it to learn a bit more about how maven goals are created, and just more about maven in general. Codacy-maven-plugin was created. This means with maven which is already installed and used to compile java projects, could also be used to upload coverage reports.

And lastly, one of my old standbys, Infinicatr, my old mobile web project that scrolls through a seemly unlimited number of cat pictures. After cascadia I was re-invigorated to learn more about service works. Its usually between salty stories and infinicatr to play around with “new” web tech. I really wanted to see if I could make infinicatr work offline. It turned out to be really easy. Using a service worker, I was able to returned cached values if flickr was unable to respond for any reason, and live network requests otherwise. This meant that once the first batch of 10 images were fetched, it would always appear to be online and working. I’m pretty happy with this result. Source

My next plan of course is to apply it to the old Salty Stories book engine so it can be properly supported offline, instead of the semi hacked version i’m depending on now.

 

And thats me for the last couple of months.

My GoPro experiments

My mom got me a GoPro last year for my birthday, and as the weather has gotten a lot nicer, I’ve been using it for various projects.

About a month ago now, I picked up this really cheap accessory pack off amazon. Its been a lot of fun to play with the various attachments and components.

Yesterday on my bike ride to work, I decided it might be fun try out the chest harness. I put it on. Checked that it all worked. Everything seemed to work just fine. I didn’t really think about how on a bike you are at least slightly bent over. The results? 45 min of looking at my handle bars. Its kinda fun to try to figure out where I am from the various peices you can see.

My next favourite experiement would be the suction cup mount. I stuck it to my outer window, and let it run for a little bit. Then timelapsed/sped up the 20 minute video down to 15 seconds.

I think it turned out pretty cool

Talk on Testing – Code and Coffee YVR

One of my personal goals for this year is to start getting more comfortable sharing knowledge and talking infront of large crowds. As such, I volunteered to give a quick talk on testing, as its always been something I love doing, and ion the new job I thought it would be pretty appropriate.

This is my second Code and Coffee talk ever, and I can see I’m still pretty nervious giving the talk, but I think other than a few technical glitches (which were thankfully edited out) it went really well.

I have so much fun doing them. I love the fact that people come up to you afterwards and walk to talk about topics.

Totally open for more ideas on what to talk about. So far I’ve done Vagrant and now Testing in general. I’d love more suggestions.

Jenkins docker Image + prefix

I’m probably going to need this again sometime.

 

Upstart

# cat /etc/init/jenkins.conf
description "Jenkins"
author "Gavin Mogan"
start on filesystem and started docker
stop on runlevel [!2345]
respawn
script
   /usr/bin/docker stop jenkins || true
   /usr/bin/docker rm jenkins || true
   /usr/bin/docker run --rm --name="jenkins" -p 8080:8080 -p 50000:50000 -v /var/lib/jenkins:/var/jenkins_home jenkinsci/jenkins:2.0-rc-1 --prefix=/jenkins
end script

Systemd

$ cat /etc/systemd/system/jenkins-docker.service
[Unit]
Description=Jenkins
After=docker.service
Requires=docker.service

[Service]
TimeoutStartSec=0
Restart=always
ExecStartPre=-/usr/bin/docker stop jenkins
ExecStartPre=-/usr/bin/docker rm jenkins
ExecStart=/usr/bin/docker run --name="jenkins" -p 8080:8080 -p 50000:50000 -v /home/jenkins:/var/jenkins_home jenkinsci/jenkins:2.0-rc-1 --prefix=/jenkins

[Install]
WantedBy=multi-user.target

BBQ Chicken Pizza

I’ve been really enjoying the pizza experiements I’ve been doing lately. Last night’s pizza was left over bbq sauce, pulled chicken, mushrooms and onions. Also tried out throwing in garlic and italian herbs into the crust.

I think it turned out pretty well, except for the lack of roundness.

IMG_20160416_184815

 

I keep losing this tweet

I use the favorites/love feature on twitter to come back to things later.

Is one of my all time favourite tweets.

I have noticed when I directly go there through the website, it does not actually remember my initial tweet (Was very happy when I pasted it to wordpress it did give context).

With the deadpool movie now out to top off all the other marvel movie stuff, I’m sure these kinds of thoughts won’t leave my head any time soon.

Telltale’s Back to the Future

The Back to the Future Game game created by Telltale came out in December 2010. As of yesterday (Feb 7th 2016) I finally got around to finishing the game. That’s over 5 years for those who are doing math.

I’m not entirely sure why I picked it up again. I know I’ve been itching to get through the slew of games I’ve kickstarted over the last few years.

Back to the future was actually a kinda slow game to me. I got frustrated a couple of times by the canned responses when items I figured you could show people just say “I don’t know what to do with that” type response. Some of the cutscenes felt slow and long too.

But overall, I really enjoyed it, especially the last couple chapters and the ending itself. If they ever release another adventure, especially with the newer engines, I’d probably pick it up. It was great fun. I loved the fact that Christopher Lloyd actually did all the voice acting for Doc. Micheal J Fox actually showed up a bit for the final chapter. The recurring characters were actually well thought out and enjoyable (or hated in an enjoyable way).

For various reasons over the years, I haven’t been gaming all that much. I know some of it had to do with my monitor (which was also really old). Some had to do with the two bouts of Bells Paulsy, which caused minor eye damage. I suspect desk layout contributed as well. It might help that I’m back to doing a pure development job again.

Suffice to say, This year I’ve already finished two games, that’s more than the last few years.

I can’t see what ends up being next on the list.

Media I’m really enjoying

So I’ve had conversations with people recently about re-reading books and re-watching shows/movies. Now that its so easy to get new content through app stores, or e-book readers, the number of times I re-read has gone drastically down, but here are some of my lists of content I’ll rewatch many times, or re-read, etc.

Books

Looking through my lists, there’s a bunch I should go back and reread

Movies

TV Shows

Note: These are not necessarily my favs, just stuff I’ve watched over and over again.

Video Games

This is a lot harder list to mention, I don’t replay too many games.

PS, really need to stop starting posts with so.

Meatballs

So this year my mom decided I should have a KitchenAid Mix Master for christmas. So far I’m loving it.

Last weekend I totally experimented by making my first ever batch of meatballs. So Nigel and I go off to the store to figure out what we can find. We end up wanting a mixture of meats, so we go with ground turkey and ground sirloin beef.

Meatballs With Fork
One of the best photos I took.
Meatballs
Yields 10
Write a review
Print
Cook Time
25 min
Cook Time
25 min
Ingredients
  1. 1 Large Onion Diced
  2. Extra-virgin olive oil
  3. 2 cloves garlic
  4. crushed red pepper
  5. 0.5kg of ground beef and ground turkey
  6. 2 large eggs
  7. Lots of ground cheese (I used soy loaf cheese cause lactose intollerant)
  8. 1 cup breadcrumbs
  9. 1/2 cup water
Instructions
  1. Cooked onions in a frying pan. When mostly clear, add garlic and some crushed red pepper.
  2. In a large bowl, add Meat, Eggs, Cheese, Breadcrumbs, Onions and start the mixer.
  3. At this point I got crazy and added some dill and a couple other spices. They weren't really noticeable though.
  4. Brown meatball creations using oil and pan, then bake on a baking sheet at 350F for about 25 minutes depending on size of the meatball.
The Nameless Site https://blogs.kodekoan.com/