YAML Versus JSON
October 20, 2016 . computer

yaml-json.png



Tag Aware Sharding
October 20, 2016 . computer

Let's assume our database manages a collection of users. Each belongs to certain region and we have two data centers, located in one of the regions respectively. To avoid high network latency between regions, we shall store user information in the nearest data center. Following demo showcases how tag aware sharding can help in such kind of cases.



Why Floating-Point Numbers are Imprecise
October 14, 2016 . computer
> 0.1 + 0.2
0.30000000000000004
> 0.1 + 1 - 1
0.10000000000000009


长登澳洲:通勤
October 1, 2016 . life

qvb-stand-c.png



长登澳洲:考驾照
September 12, 2016 . life

driver-licence.jpg



A Parable
June 9, 2016 . computer

lgfang: This is a thought provoking parable from Edsger W. Dijkstra years ago. (http://www.cs.utexas.edu/users/EWD/transcriptions/EWD05xx/EWD594.html)



长登澳洲:买车用车
May 11, 2016 . life

虽然上下班可能以公交、城铁为主,但除非住在城里车还是必须的。



长登澳洲:登陆后的一些手续
May 9, 2016 . life

今天是正式开始在澳洲生活的第一天(昨天是第零天),跑到市中心(这里人都叫city)把 激活银行账号,申请 Medicare,申请 RMS customer number 和中国驾照翻译都办完了。悉 尼市中心很小,到处都是步行可到;即使google地图上显示很远甚至隔了两三站地铁也是这 样。上次短登也没白来,在City转了几天所以这次来City办事有点熟门熟路的感觉了。