by Xiaokang Zhang | Aug 10, 2020 | Economics
《致命的自负》是哈耶克晚年的最后一本著作。这本书出版于1970年代,主旨是批判社会主义计划经济。最初看到这本书的简介并没有引起我的兴趣,一方面是这种对市场经济的批判在今天已经显得过时,拥抱市场经济似乎是理所当然的选择,另一方面包括我的大多数人都能说出一两点计划经济的弊端:经济决策过程里面信息的不完全、不及时和不对称。我自然而然地想也许在上个世纪苏联尚未解体时候,才需要一整本书来批判计划经济,但我还是决定挑一两章读读看,很快我就发现我把这件事情想得过于简单了。...
by Xiaokang Zhang | Aug 10, 2020 | Software Architecture
This is the third article discussing the challenges of implementing high concurrent web applications. In the previous two articles, we mainly focused on the challenge for handling concurrent requests and the two design patterns of handling concurrent requests. In this...
by Xiaokang Zhang | Aug 10, 2020 | Computer Science
Compiler is the translator between human readable high level language and the computer readable low level languages, it translate the a program from a source language into a target language. Why do we need compiler? Because for human beings, programming in a machine...
by Xiaokang Zhang | Aug 7, 2020 | Financial Planning
获得调整后收入(Adjusted Gross Income)之后,还需要扣除税收减免才会获得应纳税收入(Taxable Income)。报税时候最主要的工作就是计算各种税收减免,比如总收入10万,扣除各项减免之后应纳税收入可能只有不到8万美元。这篇文章主要如何税收减免中的一些重要项目。 标准减免还是单项减免 计算减免额有两种办法,标准减免(Standard Deduction)和单项减免(Itemized...
by Xiaokang Zhang | Aug 7, 2020 | Financial Planning
ISO的AMT税 AMT(Alternative Minimal Tax)税设置的初衷是为了防止高收入的人群利用各种税收抵扣(deductions)避税。正常收入税计算是会有各种项目用以抵扣税率,最后计税基于抵扣后的部分(Adjusted Gross Income)进行的,AMT税计算的基本方法是在AGI之后将一系列的可抵扣税项目加回来,称为preferred items。这些加回来的项目当中就包含了ISO spread部分的收入税。最后决定缴税额的时候需要比较用正常收入税和AMT税计算得到的交税量的差异,交其中较高的部分。...