Book Review: Software Design By Example

People can “learn to code” on so many websites, in little in-browser environments. Sites instruct on the basics of ‘for’ loops and ‘if’ statements. In advanced courses, learn algorithms and data structures. Writing toy programs is eminently teachable. Writing useful programs is something else. And writing them well is a mysterious art. Greg Wilson‘s new … Read moreBook Review: Software Design By Example

import { utility} from StackOverflow

When you want a simple utility function that isn’t part of the standard library, what do you do? A. Find a library and use itB. Write the function and add it to an internally shared collectionC. Cut and paste from StackOverflow I’ve done all three in my twenty years of development, and I’m here to … Read moreimport { utility} from StackOverflow

Make https work on gRPC in Rust: load a root certificate into the TLS config

Why is this so hard? To send gRPC messages in Rust, one uses the tonic library. If you’re sending to an https endpoint, you’ll need to provide a ClientTlsConfig. By default, you’ll get a very distrustful one. Here’s the error message: the grpc server returns error (The service is currently unavailable): , detailed error message: … Read moreMake https work on gRPC in Rust: load a root certificate into the TLS config

Why we use kubernetes

There once was a little app, proudly running in a container. The container let the app have its favorite operating system and libraries, all snug and separate. The little app shared a container runtime with its friend, a firefly. Sometimes the app’s code would crash (through no fault of the code, of course; must have … Read moreWhy we use kubernetes