Hello. Here are some things.
Service discovery and
remote procedure calls (RPC) are big subjects. There are many
existing solutions that require varying degrees of infrastructure (e.g. message queues,
Consul) or architectural decisions (e.g. Erlang, Akka, etc.). In this post, I’ll
introduce a minimalistic Go library called
sleuth that creates an ad hoc
peer-to-peer network requiring almost no configuration and only a couple lines of code to existing services and clients.
This is my response to part of Sam Harris’ recent podcast, which is about another subject altogether (cultured, cruelty-free meat – a very interesting podcast worth checking out), but begins with his thoughts on the FBI ordering Apple to write custom software to compromise the iPhone 5C of one of the San Bernadino terrorists.
Here’s how I’m using
sed to inline the
version field from an npm
package.json into my code in an ES6 package. It’s not very exciting, which is probably clear from the exhilarating
There are a lot of resources about getting started in Go and places where a beginner
can play around and become comfortable with the language. This tutorial is about taking the
next steps: building robust projects that are fully documented, tested, and usable by the Go community.
Here are two examples that demonstrate how to use the new
ES6 Symbol primitive
to create quasi-private methods and properties.
Sometimes, when writing web services, I have the temptation to reveal too much information. Let’s consider two