Tuk-tuk Night Ride in Hat Yai

After checking into the hotel,we went out looking for a place nearby the hotel to have our dinner. Constrained by language barrier, we settled for simple dinner at a nearby hawker center. We planned to go to a famous tourist shopping spot (can’t remember the name of that place). There were a few shopping malls which should…

Aquatic Plants and Beautiful Discus

LA and Richie were away from home for the weekend, we were feeling bored at home this late morning so I took Dmitry and Nik to Muar for lunch. We had barbecued chicken,  pork skewers (Satay) and noodles. After lunch, we visited an aquarium store which is known to be the largest in Muar. The kids were…

marthia_app

Launching of our first iOS app

What a beautiful and satisfying day! We have launched our first iOS app on iTunes Store. It is an iOS app for Marthia Sides. Marthia Sides is a Nashville-based country song singer. She has lovely voice and she sings many nice funky country music which you can sample from her iOS app. This is a hybrid…

Gandhi_spinning

Gandhi’s 7 Dangers To Human

Wealth without work. Pleasure without conscience. Knowledge without character. Business without ethics. Science without humanity. Religion without sacrifice. Politics without principle.

Z — Axiomatic Definition

Z (pronounced as zed) is a formal specification language which uses mathematical text to describe computing systems. Unlike some informal methods such as Data Flow Diagram, which only describes the structure of the computing systems; and State Transition Diagram, which only describes the finite state model of the computing systems; Z is a model-based notation…

创业不求人 — 156周之程:万事具备,只欠东风 — 5周

刚刚把项目上传到「iTunes Connect」给Apple核准。第一个项目暂且告一段落。现在是万事具备,只欠东风。 从周日进入第二个测试版本,到周三进入「Golden Master」,今天终于把项目呈上了。在这短短几天内,开发组学了不少东西,而我也有少许感触。我的感触是:为何这么多开发员讨厌Apple? 从公司正式注册到报名加入「Apple iOS Developer Program」,我们遇上了许多出乎意料的波折。而且这些波折都不在我们控制范围内。除了耐心等改,我们别无他法。把项目上传给Apple核准也不是三两下的工夫。上传前就须设置「Apple Provisioning Profiles」和「Certificates」;上传时也有好多的中间数据(metadata)的设置等等。总结来说,要开发iOS软件,不但要有耐心还得遵守Apple的各种各样的规定和要求。 这近两个月的探索和实践、反复尝试,我们终于做到了。 有人曾经对我说:“你(们)从开发到发售的速度太慢了,不能赚钱。” 我认为快慢不是问题,能用心把项目做好才是最重要。 第一个项目虽然不是什么大制作,却是有意义的。它是我们从零到一的象征,也是我们由小变大的推动力。

Z with LyX

Z (pronounced as zed) is a formal specification language used to describe and model complex computing system. I’ve been reading about it for some time and I am much fascinated by its abstraction and elegance. I’m really keen to practice Z but before I can adopt the notation in my work, I need to make sure…

创业不求人 — 156周之程:进入第二测试版本 — 4周

经过3周不停地测试、改善和优化,我们第一个iOS项目终于进入了第二个测试版本。预计这星期将进入「Golden Master」版。而我们第二个项目也已进入了设计阶段。第三和第四个项目尚在构思中。 其实经过多年在软件工程和近年多事之秋的磨练,我这个急性子的人学会了多多少少的耐心。对,凡事都要有耐心,可要有多大的耐心才能「用心制作」?这种能耐,我想不是开发了一两个项目就能达致的。要知道,从设计项目的概念、方案,到编码和测试,当中有多少步骤细节?要把每样细节做好并不容易。「iTunes App Store」里有几十万个项目,其中好坏参半。好的项目都有一个共同点,就是样样讲究细节,以用户体验为主。而被大力推荐的项目,除了用户界面干净美观,其用户体验都是一流的。除非你是个鸡蛋里挑骨头的用户,你几乎找不到瑕疵。正所谓大礼不辞小让,细节决定成败。这些优秀、成功的项目背后尽是开发者的用心良苦。 「用心制作」除了是开发组的团队精神,也是我们个人的耐心磨练。

DocBook XML on OSX

I have written some technical documentations using DocBook XML and then published them as HTML. You can find my previous post about DocBook Publishing and the technical documentations here. My site was hacked one or two years ago. The worst thing was that I did not have a backup copy of the HTML. The DocBook…

Shall We Talk?

Just finished a conversation with my nephew a while ago. It was indeed a fruitful conversation and I learned a great deal about retail from him. The conversation was not only an eye opener but also it had lit up my neurons. It just gave me a project idea for our startup – a retail…

不入虎穴焉得虎子(二)

之前写了一篇题目一样的博文,是关于创业风险的短文。“不入虎穴焉得虎子”这句话有挺而走险之意。在空手道(或任何武术)训练里,无论是防守还是攻击,只有把生死置之度外才能将「必杀技术」发挥极致。 今早利用工作间一段休息时间练习一下,突然想起日本冲绳岛劉衛流空手道教士八段佐久本嗣男(Tsuguo Sakumoto)先生的成名套拳:安南(Anan)。在视频的第36秒至39秒里,先生一手画圆圈、踏前一步、另一手一掌击出。他手画的圆圈其实就是和上地流的轮受手(輪受け)一样。另一掌可直击敌人肋骨、胃部、下巴或头部。这一手画圆、踏前一步一掌击敌要害,看似简单,难度可高啊。其中难度就是要把生死置之度外。正所谓不入虎穴焉得虎子。 这一手画圆、踏前一步一掌摧敌要害,可是空手道里杀伤力很强的技术。若能毕生锻炼此技术,肯定受用无尽。

创业不求人 — 156周之程:源代码的管理 — 3周

在这6个月里,我们开发组共写了不少过5万行的源代码。虽然我们采用Git和Mercurial这两个版本控制来维护和追踪开发工程蓝图和源代码,但预计在未来6个月内源代码会大幅增加一至三倍,单靠版本控制是不够的。开发组必须实践统一的代码风格。 除了以Ada编写的源代码有采用我之前所创的代码风格,以其他语言编写的源代码至今还没有采用统一的代码风格。这周我心血来潮,终于把搁置很久的DocBook XML重新整理。接下来的数周我将会和开发组一起敲定和撰写其他语言的代码风格。 为什么代码风格那么重要?它和创业有什么关系? 以我多年程序设计实践中的经验,好代码风格的特点之一是易读。由于公司刚刚创建,有很多事务还未落实,因而这正是时候统一代码风格,让组员在实践中养成习惯。 由于源代码庫会不断增长,易读易明的代码将方便开发组维护和升级代码。将来开发组也会增加新血。一旦组员多了,统一的代码风格有助加强和巩固开发人员的团队精神。 其他语言的代码风格一定要在这数周内统一起来。