Hello, world! My regular blog doesn’t really have a main topic, but in recent years it has kept going along the general theme of politics in Costa Rica, with occasional wanderings into information technology. That (and the fact that it’s written in Spanish) has kept m...
Note: Swift bindings are highly experimental and subject to change. This work must currently be classified as preliminary work and we will be improving APIs in the long term.
As a part of the Go Mobile, we have announced tools and packages that make language bindings from Java to...
This is just a quick overview of how I did it in antibody’s homepage.
Antibody's home page.
The site has a very simple index.html plus a service that can discover and download the latest
antibody version from GitHub releases. Not sure how relevant thi...
I gave a little intro on Docker and talked about when to use it or not.
No slides or video available.
Composition goes beyond the mechanics of type embedding. It’s a paradigm we can leverage to design better APIs and to build larger programs from smaller parts. It all starts from the declaration and implementation of types that have a single purpose. Programs that are archi...
Note: This article extends Dave Cheney’s Go 1.5 cross compilers post.
Cross compilers got easier with Go 1.5. You don’t have to bootstrap the standard library and toolchain as you used to do prior to 1.5.
If cgo is not required The go tool won’t require any bootstrapping if...
In Go, it’s dead simple to get the value from an environment variable:
fmt.Println(os.Getenv("HOME"))
But, sometimes you have default values… so you would have to do something
like this:
home := os.Getenv("HOME")
if home == "" {
home = "...
A few weeks ago someone created a thread on Reddit asking:
In the context of a web application what would you consider a Go best practice for accessing the database in (HTTP or other) handlers?
The replies it got were a genuinely interesting mix. Some people advised usin...
Here at Malwarebytes we have to deal with a huge amount of data generated by many different systems, malware research teams, telemetry, etc. That data can span for several Terabytes on a daily basis.
We have been using Amazon’s Elastic MapReduce (EMR) in many different occ...