Shopify Unite: The Power of Webhooks

Earlier this year I had the opportunity to give a talk at Shopify’s first ever developer conference. I talked about Webhook best practises and demoed some of the latest goodies in Shopify App.

The video team just finished up posting all the talks so you can watch it now!

2015 a Year in Review

2015 was a pretty awesome year full of new experiences, growth and accomplishments. It marked my second year of working in software professionally and school seems like a faint memory at this point. Shopify, the company where I work, IPO’d this summer which was an exciting and [possibly] once in a lifetime experience. I think this kind of post is worth doing to reflect before simply setting our sights on the next goal. So here it is my year in review in bullet points:

Travel

  • Barcelona for FullStack Fest
  • Stockholm Sweden for Nordic.js
  • Paris France (for just over 24 hours but we saw a lot!)
  • Helsinki Finland for Junction 2015
  • Costa Rica for vacation
  • Peru for a vacation and to hike the Inca Trail!

Sports and Fitness

  • new PR squating at 255 lbs for 1 (although now I’m injured as I write this and my squat is low :sadface:)
  • ran 3k in 12:35 (mm::ss)
  • made a lot of improvement in mobility (I can now touch my toes!)
  • I discovered and became addicted to Yoga Tune Up which has really helped support my other fitness goals

Ultimate

  • I played my first season of competitive Ultimate with Swift
  • I attended 3 away tournaments with Swift in Toronto, New York and Barrie finishing our season at No Borders in Ottawa.
  • We didn’t win a lot of games (we were essentially the C team) but we did beat Goose when it counted!
  • I played in my first beach tournament ever!

Side Projects

New Tech

Averaging That 70's Show

tl;dr I averaged every episode of That 70’s Show into a single video

A couple of weeks ago I was hanging out with my buddy and we were going to watch some TV. I was making a pitch for my new favorite show Rick & Morty which we couldn’t find using the PS3 internet browser. We did however find excellent video syncing Rick and Morty clips with Eminem’s Rap God.

One good YouTube find is never enough though so as soon as the video finished we eagerly checked the user’s other videos and thats when we stumbled upon this gem:

After watching a bit too much of ‘Every episode of Friends simultaneously’ I went looking for two things of which I found neither. Maybe I live in too much of a software bubble but I was genuinely surprised when I couldn’t find a link to the code used to make the video. I was equally surprised that this was the only video of its kind that I could find.

And thats how this project got started - I set out to create a script that would let me average all the episodes of any show into a new video. I wrote a script in python and opencv to do the work and then I picked That 70’s Show as my first test (I would have preferred Seinfeld but I don’t have it). That 70’s Show is a pretty good candidate - my main hypothesis was that shows that re-use the same locations frequently will be more interesting.

I am pretty pleased with the results! It’s pretty fun to watch and you can definitely pick out distinct patterns in how they frame shots and recognize scenes like the car from the opening credits (at ~2 minutes in). If I’d ever taken a course in film I’m sure I’d have some more intelligent things to say.

I also made this video where I ramp up to the average adding a new episode every 30 frames or around 1 second. So for the first second you’re only watching 1 episode then 2, 3 etc: