It is great to build RPC upon HTTP, so we can use Web browsers to test/debug a RPC server. If an RPC server is built using Go’s RPC package and is over HTTP, we can check its states (how many times every method has been invoked) by following the URL: http://<ip&gt;:<port>/debug/rpc.

This is good, but not enough in many cases. We might want to add more counters than those for method invocations. We might also want browse-able variables other than counters of integer type, including float, string and map. In Go, these can be handled by the expvar package, which export variables values through HTTP. If an RPC server (is also an HTTP server) have the expvar package linked (imported), we would be able to following http://<ip&gt;:<port>/debug/vars to check exported variables’ values.

After installing new Xcode 4.3, I found that common tools including gcc and g++ are lost. That is because Xcode does not install these tools into standard locations (/usr/bin nor /usr/local/bin). But the fix is simple: