How to Take Screenshots for App Store 19 Jan 2015

This is a quick step by step guide to take screenshots for submission to App Store. It works on Yosemite, requiring QuickTime Player and connecting iOS device to Mac via Lightning connector.

  1. Connect iOS device to Mac (Yosemite)
  2. Open...

各付各的 11 Jan 2015

儿子(老大)有不少玩具。

出去逛,看到新鲜的玩意儿或糖果小吃就会缠着要买。不答应则拉长脸给颜色看,不过随着年龄渐长,倒也不至于赖地上耍泼了。

上月圣诞节得到了一个很是喜欢的乐高。看着广告册上的同系列还想搞一个。我们告诉他要不等下一次重大节日,或者自己赚钱去买。

于是天天观察着找赚钱机会。衣服洗好了妈妈还在睡觉,他就“偷...

Yosemite Bluetooth Audio Lag Issue 23 Oct 2014

I’ve been having Bluetooth audio lag issue since very early release of OS X Yosemite Developer Preview.

It only happens in closed clamshell mode. I connect my MacBook Air to an external display on a daily basis and close the lid most of the time. Audio output to a Bose Soun...

Summer Holiday 18 Jul 2014

Japanese kindergarten (幼稚園) summer holidays start next week.

The family is going back to China for one month. Currently on parental leave (育児休暇), I’m happy to be able to pay visits to my parents and many friends.

4 years ago when I came to live and work in Japan, my son was 2 years old. No...

I have Two Displays 12 Jul 2014

I have two displays, one has a resolution of 2560x1080 and the other 1920x1080.

As a professional developer I’m quite productive at work with these two displays: I decide which one to use based on the aspect ratio of the movie I’m watching.

Rules 27 May 2014

Rules are meant to be broken, but are still good if I follow them:

  • Do not work after 10 p.m.
  • Get to sleep before 11:30 p.m.
  • Do not burn out

On Monitoring 14 May 2014

How Docker Manages Its Massive Open Source Project:

LS: Anything worth mentioning for your monitoring?

J: Right now, we are still using the good ol’ Pingdom and PagerDuty. The things that we had on the PaaS. So, nothing specific to Docker and containers at this point. We learned one thing: it is better if you can reduce all your monitoring to be based on HTTP. If I’m to monitor the status of your SQL database, I want you to just put a really simple HTTP end point in front of it. Something with just a “/ping” route, which will open the connection, make the dumbest and cheapest request possible, and tell me if everything went right. Th...

A Library for Drawing a Separator Line, NO Kidding! 18 Feb 2014

Last week I read a post: Objective-C libraries and Unix philosophy.

It was such an inspiring reading that I was encouraged to extract an NSView subclass from my disk dust, and release it as a library via CocoaPods: KASeparatorLine.

I believe this is the smallest open source project I’ve ever put on GitHub. Just one Objectiv...