Posts

Showing posts from 2016

Eclipse Maven plugin

eclipse maven plugin use java 1.7. I need to set the default compiler version without modifying pom.xml file for each projects. Solution: Change ~/.m2/settings.xml. Also make sure Eclipse uses the same .xml file for settings. 1. In  tag, add the following profile: <profile>   <id>env-dev</id>   <properties>     <project.sourceencoding>UTF-8</project.sourceencoding>     <maven.compiler.source>1.7</maven></maven.compiler.source>     <maven.compiler.target>1.7</maven.compiler.target>   </properties> </profile> 2. Enable the above profile: <activeprofiles>   <activeprofile>env-dev</activeprofile> </activeprofiles>

apache proxy模块中关于cookie的处理

2.0和2.2的apache模块有区别,2.0模块不会做cookie的转发,而2.2可以,而且可以通过参数配置

Internet has tremendous impact to human being

Internet has deeply changed the landscape of human society, deeper than anyone could think about. The freely floating information has both exposed the bright and dark side of human nature, so the good and evil now coflicts more directly with each other. The best time has ended. People must get back to reality and figure out the solution asap. The most tricky part is that, the danger lies in ourselves, like cancer comes from normal cells. Even worse, we have no success story of cureing it yet.

数据分析中的陷阱

举个例子,有人通过大量数据分析发现,所有人最后都死了,于是得出结论,死亡是大趋势,要早早死掉才能站得先机。。。 这种谬论还是挺常见的

做真实的自我,是个坏主意

纽时:“做真实的自我”其实是个糟糕的建议 文章观点很刺耳,但我觉得是鞭辟入里。我之前也很反感人们的虚伪与世故,但后来自己也成了自己最讨厌的那类人,哈哈。 原因有很多,目前看来最的原因是人类先天的问题:先天是感性的,但又有理性的学习机制;而外在永远是理性的,完全没有感性因素。

Nobody's always right

At first, I believe all they said are true. After being embarrassed by reality, I start to think with my own brain. I could be wrong, but that makes more sense.

理想社会

未必对,但就目前经验看,民主或者专制,并不是决定性因素,当然,民主社会看起来高一些。不过起决定性因素的是社会意识:积极向上的人多,能人有决心有机会领导政治,大家生活就好。 然而无论如何,阴暗是永远存在的,根子是人性。 人是不完美的,所谓完美也是个伪命题,深究下去,只能说一切生来就是这样的,没人知道为什么

决定去创业了

人生有几个十年?