Open in app

Sign In

Write

Sign In

Andrew Hayes
Andrew Hayes

120 Followers

Home

About

Published in Level Up Coding

·Pinned

8 coding hacks for Go that I wish I’d known when I started

I’ve been using Go for a number of years now and occasionally I will come across a small coding hack that makes my life better. So I decided to share them with you! 1. Checking if a key is in a map This one is probably quite well known, but I use it so often I felt it should…

Golang

6 min read

8 code hacks for Go that I wish I’d known when I started
8 code hacks for Go that I wish I’d known when I started
Golang

6 min read


Published in Level Up Coding

·Jan 18, 2022

A better way than “ldflags” to add a build version to your Go binaries

Like a lot of people using Go, I used “ldflags” to add the version number to my binaries. It worked great, every time a binary was built, it pulled the version from “git describe” and add that version to a variable in the binary. Then when testing and a bug…

Golang Tutorial

3 min read

A better way than “ldflags” to add a build version to your Go binaries
A better way than “ldflags” to add a build version to your Go binaries
Golang Tutorial

3 min read


Published in Level Up Coding

·Aug 3, 2021

4 pitfalls in Go I still occasionally fall into

In a previous article, I wrote about coding hacks in Go that I’d come across over the years. For this article, I decided to write about a few of the pitfalls I’ve also come across. These are the type of bug causing quirks that the compiler will overlook and are…

Go

5 min read

4 pitfalls in Go I still occasionally fall into
4 pitfalls in Go I still occasionally fall into
Go

5 min read


Published in Geek Culture

·Jun 15, 2021

YAML vs JSON vs XML in Go.

In a recent Go project, I had to choose what data format to use for sending and receiving data. My usual go-to is JSON, but I decided I would give an honest comparison of the options. As I’m sure you’ve gleaned from the title, the main contenders are YAML, JSON…

Go

6 min read

YAML vs JSON vs XML in Go.
YAML vs JSON vs XML in Go.
Go

6 min read


Published in Level Up Coding

·Jun 8, 2020

Build your own AutoML Text Classification using spaCy & Firebase. (Part 1)

AutoML is a fantastic suite of products from Google that lowers the barrier to entry for those wanting to make use of machine learning (ML). It allows you to upload a dataset and it will take care of creating the machine learning model for you. It then hosts the model…

Automl

11 min read

Build your own AutoML Text Classification using Spacy & Firebase (Part 1)
Build your own AutoML Text Classification using Spacy & Firebase (Part 1)
Automl

11 min read


Published in Level Up Coding

·Jun 8, 2020

Build your own AutoML Text Classification using spaCy & Firebase. (Part 2)

This is Part 2 in a guide to creating your own AutoML Text Classifier using off the shelf parts like spaCy and Firebase. In Part 1, I talked about the architecture of the project and how to set up the various components needed to run it. In this article, I…

Automl

10 min read

Build your own AutoML Text Classification using Spacy & Firebase. (Part 2)
Build your own AutoML Text Classification using Spacy & Firebase. (Part 2)
Automl

10 min read


Published in Analytics Vidhya

·Jan 14, 2020

Executing commands on-prem using GCP IoT Core devices

I stumbled on this problem during some SaaS musings. If a customer wants their on-prem devices to communicate with your SaaS running in GCP, how would you go about it? The obvious answer for GCP is service accounts. However, you are limited to 100 service accounts per project in GCP…

Google Cloud Platform

5 min read

Executing commands on-prem using GCP IoT Core devices
Executing commands on-prem using GCP IoT Core devices
Google Cloud Platform

5 min read


Published in Level Up Coding

·Jul 1, 2019

gRPC Basics Part 2: Rest and Swagger

This is Part 2 in a series of articles on gRPC that my colleague Scott Walker and I are working on. It continues on from Part 1, and we will show some examples of exposing a gRPC service using REST and auto-generating a swagger file for it too. …

Golang

5 min read

gRPC Basics Part 2: Rest and Swagger
gRPC Basics Part 2: Rest and Swagger
Golang

5 min read


Published in Level Up Coding

·Jun 20, 2019

gRPC Basics Part 1: Getting Started

gRPC is an open-source high-performance RPC framework that can efficiently connect services in and across data centres and is magic as far as I’m concerned. I first came across gRPC a few years ago and was blown away by how good it was. My colleague Scott Walker and I decided…

Golang

4 min read

gRPC Basics Part 1: Getting Started
gRPC Basics Part 1: Getting Started
Golang

4 min read


May 13, 2019

GCP Cloud Run VS Cloud Function Cold Starts

I’m working on a small side project, for which I’m using Firebase and Google Cloud Functions. So far it’s been great however one of the use cases requires a response from the Cloud Function within a certain time limit. Occasionally, usually after the weekend, the Cloud Function will need to…

Nodejs

5 min read

GCP Cloud Run VS Cloud Function Cold Starts
GCP Cloud Run VS Cloud Function Cold Starts
Nodejs

5 min read

Andrew Hayes

Andrew Hayes

120 Followers

Staff Software Engineer @ Harness Belfast

Following
  • Harsh Nanchahal

    Harsh Nanchahal

  • Beth G

    Beth G

  • Philip Smyth

    Philip Smyth

  • Jillian Keenan

    Jillian Keenan

  • Andres Nunez Veiga

    Andres Nunez Veiga

See all (12)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech