Creating a Bot for Discord

I’ve been playing World of Warcraft lately in my spare time. Something I’ve been enjoying is the Mythic+ dungeons that were introduced with the Legion expansion. For these dungeons players must complete them within a time limit, but doing so requires a very competent team of players. The problem with the in-game tools that World of Warcraft provides is that it doesn’t show all of the data you may need to properly audit a players progress to see if they are experienced enough to do the dungeon.

Read More...

Utilizing Gulp with Jekyll

I’ve been working on some visual and technical improvements to my blog lately. I set out with the goal of making things faster, improving my build tools, and utilizing a Service Worker and Google AMP. My blog uses Jekyll, and is hosted using Github pages, so there were some limitations that I had to consider while setting out to achieve these things. In the first part of this series I explain how I setup Jekyll to use a popular taskrunner called Gulp, and the reasons behind it.

Read More...

AMP Validator Slack Bot ⚡

Since Alaska Dispatch News’ launch of Google AMP we’ve run into one issue that keeps popping up: journalists. AMP is quite restrictive, and sometimes human error can cause a document to become invalid. Two of our biggest examples of this come from malformed URL’s, and content pasted from another source due to additional attributes that AMP doesn’t like. While we’ve put in a number of restrictions that curb how their content is filtered through to the AMP site there’s only so much we can do until human intervention is required to solve the issue. But how do you know there’s an issue? Google Webmaster tools reports on AMP errors whenever it crawls the site, but that is not instant and not everyone has access to it, and by the time you’re aware you might have already missed the traffic spike which it may have produced. In order to make sure that all of our articles are reaching their full potential we decided to create a Slack bot using Python.

Read More...

Google AMPConf 2017 ⚡

I was in New York City on March 7th and 8th attending Google’s AMPConf on behalf of Alaska Dispatch News. It was two full days of talks and I’m now full of ideas on how to improve our mobile experience. In a previous post of mine I discussed that we were working on our AMP site, as of February 7th it launched and we’ve seen some great results, these are something I hope to share later once we’ve gathered more data.

Read More...

Making the Switch to HTTPS

HTTPS (HTTP Secure) has been around for a while, however it’s becoming increasingly important to implement it. Not only does it provide enhanced security, but it’s becoming more common for browsers to prevent access to useful API’s without it. For example without a valid certificate Chrome will block access to the Geolocation and Service Worker API. In addition certain search engines are also starting to favor sites using HTTPS in their site rankings.

Read More...

I Choose You Polymer

Lately I’ve been working on a web application using API data from one of my favourite websites, Untappd. Even though the API is not available to everyone, I wanted to create a way which allows others with a key to reuse components of my application. After doing some research I came to the decision to use an open-source Javascript library by Google called Polymer. It’s specifically designed for building web applications, and offers a number of pre-built components. The cherry on top is that Polymer works really well with service workers, another API I’ve been excited to try.

Read More...

Alaska Dispatch News 2.0

After almost a year in development the site I’ve been working on for Alaska Dispatch News has been released. The website was developed on top of the Washington Posts Arc Publishing tools, and was even featured on their site. In this post I want to give a breif overview of how the website gets its content, and how the newsroom staff at Alaska Dispatch can utilize the tools to modify the entire site on a day-to-day basis with almost no developer involvement.

Read More...