Golang Logging Mess

Go has a logging mess. If you want to see it in action open up a Go application and look at the number of logging implementations that have been pulled into the application. For example, if you look into the Kubernetes modules you’ll find it’s using zap, logrus, klog, and others. This mess can lead to applications not exposing logs, binary bloat, and more. It also inverts control. Instead of the application controlling the logging the libraries do.

Many languages simply don’t have this problem. Some by design (e.g. Rust and Python) and some because the community chose to solve it (e.g., PHP with PSR-3).

This is a problem worth exploring and understanding.

Continue Reading »

localdev.me DNS For Local Development

When I’m doing local development, I sometimes need a domain name that routes back to localhost. I’ve long run into cases where I need subdomains and ended up modifying my local hosts file. I’ve used this for a variety of situations going back for a long time. From Kubernetes ingress work to web development.

While I was reviewing the NGINX ingress guide for Rancher Desktop, I was reminded of localdev.me. There’s a reference to demo.localdev.me that just works. How this works is useful for anoyone who needs subdomains that route back to localhost.

Continue Reading »

Choosing Processor for Framework Laptop

When I recently bought a Framework laptop, one of the tasks I needed to do was to choose a processor. When I bought Mac computers there were few things to think about in terms of processors. A more expensive processor just meant more power. The processors available in Framework laptops don’t quite operate on that model. In some cases, you may get more features and not more power. Are those features you want? That’s the question I asked myself.

Continue Reading »

Other Recent Posts: