VS Code Cannot Download the Go Plugin Toolchain
· β˜• 1 min read
After installing the Go plugin in VS Code, when you open a Go project the editor prompts you to install the toolchain. But golang.org is not directly accessible, so we need to download the packages manually into the GOPATH directory and install them there. Create the package directory 1 2 cd $GOPATH mkdir -p src/golang.

Engineers Need More Sense of Service
· β˜• 4 min read
1. About the Service Industry The primary sector, represented by agriculture, solves the problem of survival; the secondary sector, represented by industry, solves the problem of efficiency; the tertiary sector, represented by services, solves other people’s problems. Unless some factor puts people’s physical existence under threat, the service industry has extremely broad room to grow.

Docker Tips You Didn't Know
· β˜• 3 min read
1. Multi-Stage Builds Compiling a project requires a set of specific tools, but those tools are not needed at runtime. To reduce the image size, you can build in stages. Build in the first stage, then carry the compiled output into the next stage to produce a smaller image. 1 2 3 4 5 6 7 8 9 10 11 FROM golang:1.

Running TensorFlow on Docker
· β˜• 2 min read
I wrote about this in an earlier post, How to Install a GPU Driver on CentOS. This one looks at how to run TensorFlow with Docker. 1. Check Which TensorFlow Version the Current CPU Supports On a CPU that does not support AVX instructions, running TensorFlow > 1.15 fails with Illegal instruction (core dumped).

On China
· β˜• 1 min read
Original title: On China Author: Henry Kissinger (USA) Translators: Hu Liping / Lin Hua / Yang Yunqin / Zhu Jingwen Publisher: CITIC Press Published: 2012-10 ISBN: 9787508635583 Notes: The author is a renowned American scholar and statesman, and he offers a different perspective on the book, documenting China’s modern, contemporary, and present-day foreign policy and decision-making mechanisms.