Last article interfaces were pure elegance. Today we visit the basement of Go type assertions: what happens when you need to recover the concrete type living inside an interface, what that ubiquitous any is, and the nil gotcha that has bitten every gopher at least once. The empty interface and any An interface with no […]
READ MORE
Training is not feeding data to a machine and hoping. It is a process with rules. What training actually means Chapter 6 left four algorithms on the table and one phrase repeated without ever being unpacked, “it gets trained on the data”. Time to open that box. Training a model is the process by which […]
READ MORE
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 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