Skip to main content

BLOG

Part 6: Classic Machine Learning algorithms

Four algorithms that have been working for decades without a single neural network. The toolbox Chapter 5 laid out the three schools of machine learning, supervised, unsupervised and reinforcement. Those were three ways of framing a problem, not three ways of solving one. This chapter goes down a floor into the engine room, the classic […]

READ MORE

Go from scratch, part 6: interfaces, duck typing that compiles

Go interfaces are the piece that upgrades the language from “cute little language” to “language Kubernetes and Docker are written in”. And they work backwards from what you expect if you come from Java. Implicit implementation: no implements A Go interface is a set of method signatures. Here’s the twist, a type implements it automatically […]

READ MORE

Go from scratch, part 4: functions, multiple returns and closures

Go functions look like any language’s functions until they return two things at once and nothing weird happens. Today: syntax, multiple returns, variadics, closures and defer, your open resources’ best friend. Syntax: the type goes after The type after the name feels odd for ten minutes, then reads better, especially in complex signatures. The official […]

READ MORE