sort.Reverse

April 30, 2019

I recently edited my first wikipedia entry. I was learning about how Google indexes websites with BigQuery and stumbled across the page for reverse domain name notation. It makes sense when creating and index of URLs to do so in reverse domain order. This is the process of flipping the constituent parts of a URL like so: www.google.com becomes com.google.www and george.macro.re becomes ro.macro.george and so on. I was delighted to see all examples of reversing a list in different programming languages. ... Read more

Defensive Concurrency in Go

January 21, 2018

Before I get to deep in to the weeds of this post. I want to set some expectations. This is not an explanation of how to solve a well understood problem with a textbook solution. Nor is it necessarily the ideal solution to the problem itself. This solution is the product of avoiding scope creep and minimizing the surface area of a refactor. UPDATE: I found this very implementation in the http://gopl. ... Read more

Getting Started With BuildKit

January 2, 2018

The clever peepz over at Moby are clearly hard at work revolutionising the way we work with containers and images. I have recently been interested in the BuildKit project. BuildKit is a toolkit for converting source code to build artifacts in an efficient, expressive and repeatable manner. buildkit What is BuildKit? In a nutshell BuildKit is an engine which interprets a graph of instructions into a target container image format. ... Read more

© 2018 | Follow on Twitter | Hucore theme & Hugo