Recent Posts

Data structures: Bloom filter

6 minute read

As we all know, there is a vast number of data structures out there. One of the data structure categories is probabilistic data structures. Probabilistic dat...

How to time out requests in your go API

5 minute read

When building an API (or other kinds of applications, to be frank), sometimes it is useful to set some constraints to the task being carried out (e.g. handli...

How to work with decorators in ruby

4 minute read

Sometimes, we find ourselves wanting to add functionality to objects of a class without affecting all objects of the class (unlike inheritance or composition...

Embedded and promoted fields in go structs

3 minute read

Structs are one of the most widely used data structures in go. Combined with interfaces and methods, structs allow us model our data in a way that is somehow...

How to use nil channels in Go ?

5 minute read

Channels is an integral part of Go applications. They are typed conduits that allow communication between different parts of an application. Recently, I came...