Dev Diary

This is something I’ve started in Jan ‘15. This is to practice a habit of keeping a log of stuff I do which took me a lot of time to figure out myself (may be I’m not efficient?).

Read more...



Book Recommendation: Testing with coffeescript by Jack Franklin [Free ebook]

TDD (Test Driven Development) was introduced to me around 2006 with PHPUnit. As a naive, I couldn’t see the benefits, eg., I saw the pattern of code has been updated very often (growing organically) and frequent failing test. I was like, Why should I write unit test to test my own code? with the same data I used for manual testing? As they say I was seeing the forest for the trees. I failed to realize the failing test is actually the benefit of practicing TDD.

Read more...


Expired distribution provisioning and Yak shaving

Last Thursday one of my iPad app’s provisioning file has expired. Client brought it to us at the very late moment, the iPad app was distributed internally as an enterprise app. App users are for HVAC technicians, app integrates with their organization’s CRM (Salesforce) so distributing it with App store doesn’t make any sense.

Read more...


Resolutions for 2012

For the first time in history, I am publishing resolution list online, let see if this helps.

  1. Shed at least 5kg weight
  2. The iPhone4s which can’t resist myself from buying should be the last gadget for the year.
  3. Donate the pile of books I’m keeping to the library
  4. Publish at least 2 iOS apps
  5. At least 2 mac apps
  6. Publish at least 5 prototype from my idea vault.
  7. Gift at least one device
  8. Author 5 library/codes on Github
  9. Gift/sell my other devices - Too many Apple devices 
  10. Learn a new language/Framework (Ruby, Coffeescript, Node?)
  11. Build at least 2 Html5 app/util
  12. A vacation? I didn’t leave home for almost 4 yrs.

Other than this there are quite a lot like perfect pitch training, learn a music instrument, painting etc., I carry from previous years.

Read more...


Recommended Git workflow

I recently started using Git as my revision control tool. Impressed by the use of branching and merging, I create and merge a lot of branches. Our company use SVN and other peers were not aware/interested in Git. So I took the initiative to use svn-git. After months of progress I left with so many branches for features, svn, QA-release and quick-fix for released builds.

Read more...