This post accompanies a lightning talk given at DevNet Create 2021 where I had 10 minutes to convince network engineers that they might like to learn Go in addition to Python, the lingua franca of network engineers. To be clear, I’m not suggesting you should necessarily learn it instead, but learn it alongside – who knows though, you might just love it![Read More]
Creating a Company Handbook
Using Hugo Modules to create a company handbook
I recently (e.g. today) discovered Hugo Modules. I have also been investigating the possibility of using a static site generator to create a company handbook, something along the lines of the one Gitlab has.
The discovery of Hugo Modules means that I should be able to maintain a core site with the various teams maintaining their own sites to be included during the build.[Read More]
Ultrasonic Intruder Alarm
Using the HC-SR04 on a Raspberry Pi with Go
In this post, I’m using an ultrasonic sensor with a Raspberry Pi and the periph Go library.[Read More]
Extracting Photos from Dynamics with Go
A complication added by AX made simple using Go
We use Microsoft Dynamics AX 2012 as our “System of Record (SOR)" and single source of truth for our people (HR) data. One of the things we keep there is a photo of each person. These days, there are several places that the photo ideally needs to be, in order to provide a consistent user experience across the variety of applications we use on a daily basis, ranging from Business Messaging to internally developed applications and dashboards using a static load balancer.
Ultimately we developed a command line application using Cobra that runs on a scheduled basis to keep photos across all the platforms up to date. This post is about the way Dynamics stores the photos and how we overcame that using Go.[Read More]
Building a Webex Teams FAQ Bot
Using Botkit 4.0 and Microsoft QnA Maker
“Why would Microsoft Build matter when I’m building a bot for Webex Teams” I hear you ask! Well, since the announcement in November last year that XOXCO (the people behind Botkit) were going to join Microsoft, they have clearly been very busy rebuilding and rearchitecting Botkit to fit into the wider ecosystem that is the Microsoft Bot Framework and the Bot Framework SDK (previously BotBuilder).
In this post, I will create a simple FAQ Bot using Microsoft QnA Maker and Botkit. In addition, it will use a spreadsheet hosted on SharePoint so that the relevant team can maintain the content without any requirement to update the Bot.[Read More]
Downloading Webex Recordings with Go
Using the Cisco Webex Meetings XML APIs
This particular requirement is how I started my Go journey. I’d taken an initial look with other languages – it looked doable but not that straight forward. Plus, I ideally wanted a command line tool that I could give to other people. Python and Node just weren’t going to cut it. I was keen to take a look at Go and thought I would see if it could meet my needs. As it turned out, it was super simple and definitely the right choice.[Read More]
Moving to Hugo
Moving My Blog To A New Home
Having had my old blogger site since 2010 with no posts since 2016, it felt like the right time to start trying to blog more and to move to a more modern statically generated site. This would enable me to just write markdown without the hassle of then getting that into blogger. I could then apply CI/CD to have the site automatically build with updates. In this instance, since I’m also attempting to learn Go, I chose Hugo.[Read More]
A List of Posts From My Old Blog
Following the migration of my old blog to a Hugo based site, I decided not to bring along all my old posts. It has been several years since I posted anything, so much of it is mostly irrelevant now. I have therefore provided a list here of some (not all) of those posts for posterity, along with a brief update where relevant.[Read More]