Ewan Valentine

Software and anecdotes.

  • Home
  • Go
  • Life
  • GitHub
  • Javascript
  • Economics & Ethics
Subscribe
circleci

Microservices in Golang - Part 10 - Summary

Wow, what a journey it has been! These posts took months to finish. The first post started late 2017, we're nearly half way through 2018 and I'm just writing the final post. It

Ewan Valentine Ewan Valentine
circleci

Microservices in Golang - Part 9 - Deployments with CircleCI

Sponsor me on Patreon to support more content like this. In this part of the series, we're going to briefly look at setting up continuous integration with one of our services, using CircleCI.

Ewan Valentine Ewan Valentine
golang

Microservices in Golang - Part 8 - Kubernetes and Container Engine

Sponsor me on Patreon to support more content like this. In the previous post we looked at creating a container engine cluster with Terraform. In this post, we'll look at deploying containers into

Ewan Valentine Ewan Valentine
golang

Why I refuse to give up code comments

There's a growing movement in software whereby programmers are conciously omitting code comments from their code. Is this always practical? Or has it become a moral crusade?

Ewan Valentine Ewan Valentine
golang

Microservices in Golang - Part 7 - Terraform a Cloud

Sponsor me on Patreon to support more content like this. In the previous post, we touched briefly on user interfaces and web clients and how to interact with our newly created rpc services

Ewan Valentine Ewan Valentine
golang

Microservices in Golang - Part 6 - Web Clients

Sponsor me on Patreon to support more content like this. In the previous post we looked at some of the various approaches to event-driven architecture in go-micro and in go in general. This

Ewan Valentine Ewan Valentine
golang

Microservices in Golang - Part 5 - Event brokering with Go Micro

Image credit: Jasper Van Der Meij Sponsor me on Patreon to support more content like this. In the previous part in this series, we touched upon user authentication and JWT. In this episode,

Ewan Valentine Ewan Valentine
golang

Microservices in Golang - Part 4 - Authentication with JWT

Sponsor me on Patreon to support more content like this. In the previous part in this series, we looked at creating a user service and started storing some users. Now we need to

Ewan Valentine Ewan Valentine
golang

Microservices in Golang - part 3 - docker-compose and datastores

用中文阅读. Sponsor me on Patreon to support more content like this. In the previous post, we covered some of the basics of go-micro and Docker. We also introduced a second service. In this

Ewan Valentine Ewan Valentine
go

Microservices in Golang - part 2 - Docker and go-micro

Sponsor me on Patreon to support more content like this. 用中文阅读 Introduction - Part 2 Docker and go-micro In the previous post, we covered the basics of writing a gRPC based microservice. In

Ewan Valentine Ewan Valentine
golang

Microservices in Golang - Part 1

用中文阅读. Sponsor me on Patreon to support more content like this. Introduction This is a ten part series, released weekly on writing microservices in Golang. Making use of protobuf and gRPC as the

Ewan Valentine Ewan Valentine
life

Why I fell in love with vinyl

Go back three years or so, and I was 'slagging off' vinyl lovers, as hipster, revivalist luddites. Spotify can store nearly all of the worlds vast back catalogue of music in the cloud

Ewan Valentine Ewan Valentine

Good code is behavioural code

A few years ago, as a junior php dev, I discovered traits. Something felt remarkable about them. It was more than just a workaround for inheritance problems. It introduced a notion of 'behaviours'

Ewan Valentine Ewan Valentine
js

A simple JS CLI tool for switching Google Cloud projects

I've recently been using Google Cloud for several projects, both at work and my personal projects. One thing I found tedious, was switching between projects, I'd always forget a step and find I

Ewan Valentine Ewan Valentine
javascript

A brief introduction to Async Await

Asynchronous code is both a blessing, and a curse in JavaScript. Whilst it allows you to write more efficient code. Sometimes you need JavaScript to be synchronous. In other words, sometimes you need

Ewan Valentine Ewan Valentine
golang

How to *never* complete anything

I've been a professional programmer now for about five years. I've been coding for perhaps a little over seven years, in that time, besides tasks in my day jobs. I have completed absolutely

Ewan Valentine Ewan Valentine
microservices

Running microservices locally

Over the past few months I've been slowly splitting out my start-up's backend code into microservices. Our features can be clearly defined as separate apps with separate responsibilities. Which we wanted to be

Ewan Valentine Ewan Valentine
life

Use your Amazon Echo to buy weed

Disclaimer: this is all totally hypothetical, of course. This blog doesn't necessarily condone illicitly buying cannabis. I've seen people use their Amazon echo to do some incredible things. So I thought I'd lower

Ewan Valentine Ewan Valentine
life

What it's like to quit drinking for a year

DISCLAIMER: I don't like writing 'personal' blog posts, you'll see from the rest of my blog, it's all programming tutorials. But I felt like this was worth writing about, and could potentially help

Ewan Valentine Ewan Valentine
golang

Efficiency with Go channels

I've been building a Facebook bot recently using Golang, the bot checks the incoming message text for a certain set of strings. These are called 'rules' within the bot. Nothing fancy, just simple

Ewan Valentine Ewan Valentine
life

The hardest part about writing software

The hardest part about writing software, for me at least. Is not learning the right language, or finding the right tools. It's not about using the correct algorithms or design patterns. For me,

Ewan Valentine Ewan Valentine
devops

Kubernetes is awesome!

I've been using AWS/ECS/EC2 with Docker Cloud on and off for a while now. Whilst I was impressed with the flexibility and potential, I found the AWS platform to be difficult

Ewan Valentine Ewan Valentine
programming

The programmer paradox

Okay, so this is probably true of all professions or skills. But one thing that's struck me over the past few years, as a programmer. The more I know about programming, and software

Ewan Valentine Ewan Valentine
politics

How to debate

TL;DR Dont' be a dick. I have fairly strong views on many subjects. So, typically, as someone who uses the internet, I end up, often against my will, being dragged into debate,

Ewan Valentine Ewan Valentine
javascript

ES6 is beautiful

One of my criticisms in the past when it comes to Javascript, is that it can get really messy, really quickly. That's before ES6 came along. ES6 has loads of great features, but

Ewan Valentine Ewan Valentine
Ewan Valentine © 2018
Latest Posts Ghost

Subscribe to Ewan Valentine

Stay up to date! Get all the latest & greatest posts delivered straight to your inbox