When I began to learn Objective C, I often heard of people talking about "sending message", I was curious, come on, it's just calling a method.

Then I recalled that I had that same feelings when functions become to methods as I began to touch C++.

Read more »

Been working on some libs on both iOS and Android platforms for a long time, recently needed to support Cocos2d-x framework, I have no interest to write a whole new lib based on C++, nightmare for maintenance, So I worked on to integrate both libs to Cocos2d-x framework.


Read more »

A cookie, also known as an HTTP cookie, web cookie, or browser cookie, is a small piece of data sent from a website and stored in a user's web browser while a user is browsing a website. When the user browses the same website in the future, the data stored in the cookie can be retrieved by the website to notify the website of the user's previous activity. (refer)

Read more »

I was working on a mobile app analytics system recent months, how well the system works relies on the app usage data captured on the users' devices.

This post is about technically how I did it in both iOS and Android operating systems.

Read more »

Last week, I read the old book Get Things Done again, it did make me think. I read it first two years ago, at that time, I didn't feel the benefits since I could manage all stuff in my mind. But now, I can't, I do forget things, I do procrastinate things. During my reread, I kept asking me, why I just missed this treasure, so silly I was.

Below are my reading notes.

Read more »

I just can't believe displaying LaTeX math formula in Octopress could be this easy.

  1. Add gem 'kramdown' to "GemFile", then run bundle install.
  2. Edit "_config.yml", replace markdown: rdiscount to markdown: kramdown, kramdown is a fast, pure-Ruby Markdown-superset converter.
  3. Open "source/_includes/custom/head.html", and add below scripts to use MathJax, a decent js display engine for mathematics.
Read more »