Blog Baru

Blog utama saya pindah ke Saya usahakan untuk rajin menulis di sana ;).

Apa alasannya pindah? Pertama karena domain tersebut adalah hadiah dari Automattic, tempat saya bekerja sejak 2015. Syarat utama hadiah tersebut adalah adanya aktifitas dalam kurun waktu tertentu. Alasan kedua adalah dog fooding produk dari Automattic, terutama

Sekian update terkini.

Info Capres 2014

I saw my Google+’ friend shared about Code for Vote 2.0. It’s application (Web, Mobile, or anything) competition in which the app must consumes data from Pemilu API endpoints. I interested to participate by coding an SPA (Single Page Application) in less than a day. Then Info Capres 2014 was born. As the deadline was extended, I added more features like login and “support candidate” action via Firebase. Although my app wasn’t elected into 60 candidates, I was able to learn enough about Firebase. My app, Info Capres 2014, is an open source one with MIT license, and hosted in GitHub. Check it out if you’re interested!

Yet Another Simple Note

I’ve been playing with Go Martini lately. Another little project was born, called yet-another-simple-note. The project shows an example how to create REST API easily with Martini and how Backbone can be used to consume the API.

Chat API is Fun

I’ve been playing with Slack and HipChat API lately. It’s fun! I’m seeing Slack and HipChat are two big players in chat service nowadays with client in web and native apps and, of course, HTTP API. There’s Campfire, but I felt discouraged to play with it when they ask credit card information for the sake of trying. Not because I felt insecure, but I don’t have damn credit card!

Slack and HipChat are so kind, it’s free under limited circumstances. But hey! I can play with their API. If you’ve a site powered by WordPress then give a try my Slack and HipChat plugins. It allows you to get notification in your room/channel when certain events in WordPress occured. I don’t give up with Campfire, instead I’m looking volunteer who has Campfire account where I can play with its API by giving me access to your account. The end result will be a Campfire WordPress plugin with the same features as Slack and HipChat plugins.

TCP-based Client Server Chat in CLI

I just created a simple project called cli_chat. It’s a simple CLI based client and server for TCP based chat connection. It harness the power of Go’s channel and shows you how simple to create a TCP based program in Go.

go-instagram 0.5 released


  • Check error after Client.Do call.
  • Reporting rate limits. Props Peter DeGroff.
  • Forgotten Media.Videos attribute. Props Kir Shatrov.
  • Removed not existing field from MediaVideos struct. Props Kir Shatrov.
  • Added AUTHORS file.

go-instagram 0.4 released


  • Handle HTTP 500 with plain message “Oops, an error occurred.”.
  • Added MediaLocation to MediaService.
  • Removed Location.CreatedTime as it doesn’t exist.

The first two was added because of Instagram’s API response inconsistencies.

go-instagram 0.3 released


  • Changed type of Location.ID from int to string.
  • Updated default user-agent string to package name plus extra space and lib version.

ginsta 0.2 released

This is the first time ginsta get tagged, 0.2.


  • Completed all basic commands.

In the future I’d like to add following features:

  • users commands:
   $ download_user_media [-path PATH] [USER_ID]
   $ download_user_liked_media [-path PATH]
  • media commands:
   $ download_media_by_id [MEDIA_ID]
   $ download_popular_media
  • tags commands:
   $ download_recent_media_by_tag [-min_id MIN_ID] [-max_id MAX_ID] [TAG_NAME]

If you like to add some cool features to ginsta, don’t bother to ping or fill an issue at ginsta’s issue tracker.