Blog

  1. Pagination quirk with MongoDB

    We use MongoDB as our database at Cermati. A few days ago when I was building a new product line, I needed to implement pagination with MongoDB using its aggregate pipeline query and the pattern we have been using at Cermati, $sort + $skip + $limit. $sort is used to sort (obviously …


  2. Task dependency in Gulp

    At Cermati, we use Gulp as our task runner to run most of our build tasks. My first two weeks of working were spent on implementing build-related stuff. Two of which were auto-revert on broken build and auto-tag on sucessful build on production branch. For these two tasks, I used …


  3. Fixing weird Redis server daemon

    Few days ago I set up my Vagrant virtual machine to be used for work. At Cermati, we use Redis as our key-value storage. After I successfully installed Redis, I notice there’s a weird thing about managing the daemon using service in my Ubuntu 14.04 VM. When I …


  4. A new blog

    This is the third time I am switching my blog. After using Wordpress for I don’t know how long, I think Wordpress is kind of overkill for a simple blog like mine. So, I decided to host my blog in Github Pages using Jekyll.

    The thing is, I really …