今年10月份,我搬到了三里屯,住在了别人那里。我还去了财新上班,经常可以和爷爷还 coco 一起吃饭,浪仔也会经常请我吃东西。

Read more »

DOM 操作是现代动态网页实现的核心。但它往往比大多数 JavaScript 的操作慢很多。

由于大多数JavaScript框架更新DOM而不是必须更新,因此这种情况变得更加缓慢。为了避免浏览器进行很多不必要渲染的,React 的开发者们设计了一种叫做虚拟DOM的东西。

Read more »

The October of 2018 is as normal as usual and my condition is still a mess.

I went to work for a media company as an intern as well as a developer for the moment. The work is pretty simple there and I felt comfortable working there. The pay is poor, however, 65 yuan per day and about 1000 yuan monthly.

I received so many messages about vaccines recently, which remind me of all the bad days in the hospital, suffering from various symptoms.

My life would be totally back to normal if I should not feel dizzy and vertigo, but I am still fighting hard to get my life back to normal due to my severe symptoms. Despite the fact that I have been fighting with Leukemia for 4 years, I have to fight with a disease similar to multiple sclerosis now, which is even worse than leukaemia, with all these neurological problems.

Read more »

当人性遇上官本位,就产生了各种匪夷所思的事情。

某部队有一生产降落伞的厂,专门为士兵生产降落伞,但产品的安全度总在98%左右徘徊,始终达不到100%。

因为降落伞关系到跳伞员的安全问题,所以,军方三令五申合格率一定要达到100%,然而效果又始终都不明显。无论是品控,还是换厂长,都无济于事。

后来新上任的总司想了一个办法,召集了所有厂里的员工,让大家都到跳伞训练场集合。决定每次交货的时候,从本批次的降落伞中抽样,让厂里员工轮流试跳,结果奇迹出现了,这次批次的降落伞,破天荒地出现了100%的合格率。

我相信很多人都听过上面这个故事。安全相关的问题,如果享受了利益,却不用担风险,那相关责任人是不会上心的。

利益共享,分享均摊,是解决安全问题的最好方式。如果造假没有成本,那么有脑子的商人都会去造假。

上大学的时候,有一家小饭店我经常去吃,原因无他,只是因为我看到店主自己把剩下的菜吃掉了。

Read more »

前言

Javascript 在设计之初,并没有考虑到 OOP(面向对象编程),但是随着 node.js 以及前端工程化的发展,项目越来越大,为了项目维护的方便,也不得不考虑面向对象编程了。

Read more »