I use YES and NO in environment variables to store Boolean values. I have come to the conclusion that this is in some way optimal after trying all the other obvious options and finding that each has readability flaws: 0 and 1 are confusing in POSIX shells like bash, because return 0 and exit 0 usually mean “success” (the command did not fail) which we think… Continue reading YES/NO Boolean Env Vars
Hugo Makefile
This blog is was hosted on GitHub Pages and published using Hugo. Since Go is my preferred language at the moment, Hugo seemed attractive. There are 2 Git repos for this website: Source code: github.com/fieldnotes-tech/fieldnotes.tech Rendered static site: github.com/fieldnotes-tech/fieldnotes-tech.github.io Publishing involves updating the source, and having Hugo generate the static site. To make this easier to use I’ve added a Makefile which… Continue reading Hugo Makefile
Hello World
Hello world, welcome to fieldnotes.tech! Here I intend to keep my notes-to-self, code snippets, musings and other short bits & pieces on the subject of software engineering and tech in general. Most of what I’ll write here will be gleaned from working in the field and solving real issues as they arise. Some of it… Continue reading Hello World