by Xiaokang Zhang | Jul 27, 2020 | Financial Planning
介绍税务知识的文章往往细节过多,繁琐难懂。为了避免这种情况,这个系列的文章会介绍税务体系中最重要的概念,同时避免引入过多技术细节。这些文章知识为了让我们对税务问题有更清晰的图景,至于专业的报税和税务规划问题还是要请有经验的CPA。 累进税制 美国采用的是累进制税率(Progressive Tax),美国国税局(Internal Revenue...
by Xiaokang Zhang | Jul 26, 2020 | Random Thoughts
这几年我一直在观察和思考我身边的人获得幸福的方式。有些人很勇敢,他们在很短时间里就走进了爱情和婚姻,似乎不需要为选择人生伴侣这件事情花费过多的心力。有些人很坚定,他们按照自己认定的方式去生活,不需要顾及他人的眼光和评价。有些人很简单,他们没有太多探索精神世界的欲望,把生活本身料理好就足够让他们快乐。...
by Xiaokang Zhang | Jul 26, 2020 | Financial Planning
在批准贷款之前,银行会请第三方机构对房屋进行估值(appraisal),并以此作为提供贷款和利率的重要根据。那么估值公司是如何对房屋进行估值的呢?我们从中又能学到什么?并且应该注意什么? 地产估值公司一般有两种方式对房子进行估值:销售对比方式(sales comparison approach)和成本方式(cost approach)。对第一种方式,估值公司首先会收集房子的信息,大致包括以下几类:...
by Xiaokang Zhang | Jul 21, 2020 | Software Architecture
As discussed in the previous blog, the bottleneck of thread based architecture is that creating a new thread for each event is going to come with a memory footprint which will exhaust all memories or the number of threads the system can support. The event based...
by Xiaokang Zhang | Jul 20, 2020 | Software Architecture
A scalable service is a service that can maintain constant response time as the load increases as more nodes are added to the cluster and new server instances are running. Why it is so difficult to build a scalable service? Of course, the modern internet services are...