Snake over Telnet in Go

Telnet games were very popular some time ago, especially this Star Wars movie: telnet towel.blinkenlights.nl. I wanted to create something in Go, and I wrote this Snake game over Telnet.

Slack Stranger Bot in Go

I am enjoying writing programs in a short time, like in a Hackathon way. Here in Vietnam we don’t have Hackathons often, so yesterday I decided to make one for myself with a time limit in 3 hours. The goal was to build/deploy something that will work and people can try it....

pprof user interface

pprof now is coming with a Web UI. In order to try it out, go get the pprof tool: $ go get github.com/google/pprof The tool launches a web UI if -http flag is provided. For example, in order to launch the UI with an existing profile data, run the following command: $ pprof -http=...

Benchmarking gRPC+Protobuf vs HTTP+JSON in Go

Simplest possible solution for communication between services is to use JSON over HTTP. Though JSON has many obvious advantages - it’s human readable, well understood, and typically performs well - it also has its issues. In the case of internal services the structured formats...

Building REST Server with Elixir

I always wanted to try Elixir because of it’s nice Erlang ecosystem and because it’s similar to Go in a lot of points.

Handle HTTP Request Errors in Go

In this short post I want to discuss handling HTTP request errors in Go.

Antifragility 101

Client side streaming in gRPC-Web

In a previous post I introduced my open source project to bring GopherJS bindings to Improbable’s gRPC-Web client. I’m happy to say that the initial goal of supporting all features of the gRPC-Web client has been completed. I was initially going to leave it at that an...

Context cancellation acknowledgement

A Repository Graveyard

This past weekend I decided I need to clean up my GitHub profile. In this post I’ll write about why I cleaned everything up and also how I did, as well as some initial results. Why I’ve been using GitHub for years now, and I tend to create a lot of repositores. Most o...