glog implements log levels with a nice boolean alias. Starting at line #983, the
Verbose, when wrapping the boolean
true causes its various functions to invoke the logger. So if you pass in
-v 3 on the command line and use
glog.V(2).Info("hello") in code, your logger will write the message. This allows glog to have far fewer log . . .
*_test.go files aren't compiled or lexed until you run
go test. You change them without breaking your non-test code compiles. They stay out of the way until they are needed, which is a nice trick.
This is my purchased i7-7700K gaming build. Presented after a lot of fitness to purpose and aesthetic consideration. PCPP spread these prices over 5 vendors, I picked three because I didn't like some of the timelines on parts. The EVO 960 is the most delayed part here.
(output is raw output from PCPP, Adjusted prices and vendors . . .
When I come up against a problem of any non-trivial nature, I spend a lot of time on the decomposition of that problem into smaller problems. One such example is the work I'm doing with my team's API gateway.
We have a 4-tier system:
Go kit has a pretty opinionated view about how a Go-based micro-service should work:
Though it seems tedious at first, I found myself feeling a certain clarity while working on a small experiment . . .
Herein I list my current programming languages.
I use go the most and enjoy it the most. It provides a few features I haven't used elsewhere with as much success, such as compositional inheritance, automatic interfaces, and useful concurrency primitives. While I admittedly don't use the last one as often, when I . . .
This week started with a failed release.
Something we held for about three weeks was deployed, causing de-serialization issues coming back from memcached. We rolled back to the previous release and regrouped the next day to examine causes.
I spent the next morning learning about memcached, but I couldn't put a finger on . . .