睡觉的诀窍

熬夜是很正常的事,但经常熬夜对身体会产生很坏的影响,无意中看到这篇文章,转载过来,或许对经常熬夜的同行们会有所帮助。

  睡觉的诀窍
  根据医学和我的体验、观察,一个人真正睡着觉最多只有两个钟头,其余都是浪费时间,躺在枕头上做梦,没有哪个人不做梦。至于醒来觉得自己没有做梦,那是因为他忘记了。
  通常一个人睡两个钟头就够了,为什么有人要睡七、八个钟头?那是你赖床躺在枕头上休息的习惯养成的,并非我们需要那么久的睡眠时间,尤其打坐做功夫的人晓得,正午只要闭眼真正睡着三分钟,等于睡两个钟头,不过要对好正午的时间。夜晚则要在正子时睡着,五分钟等于六个钟头。 Continue reading »睡觉的诀窍

程序员大话vs2010

我装了VS2010之后,发现它既不能点一个按钮就毁灭银河系,也不能敲个回车就把钱包里的钱翻番,更可气的是它竟然不能运行在小霸王上面,也不支持心感感应编程。出于MS的名气,我还是把它推荐给了朋友,甲装完之后表示很愤怒,因为它不能使自己WOW的账号免点卡,乙装完之后出离的愤怒,因为他发现自己硬盘空间少了,这么先进的东西不是应该把硬盘空间翻倍的吗?我无言以对,只能默默的把VS2010卸载。

Continue reading »程序员大话vs2010

雁过留声

欢迎在此处留言,多多交流,希望通过博客认识更多志趣相投的朋友!:)

Simple is not Easy

实际上,应该是“简单并不容易”,也就是Simple is not Easy.在我们的日常口语中,简单和容易之间的区别真是微妙。实际我们都知道,simple is quite often Difficult.

好吧,我现在已经能准确的理解simple不是easy这个语义上的分别了,所以就开始对 What is the simplest thing? 有点兴趣了,因为大家越来越多的说YAGNI和TSTCPW。不过,Udi Dahan告诉大家It’s does not matter,因为

The reason it doesn’t matter is that we don’t have to be 100% right the first time is because we’re going to be changing it over, and over, and over again.

只要我们沿着TDD经典的Red/Green/Refactoring小步快跑, Continue reading »Simple is not Easy

cant vs difficult

This Morning I suddenly have one idea about “cant and difficult”.

Sometimes when we meet a problem or a big problem which challenge us strongly, we have two choices.

First ,we say “Oh It cant be handled, It’s impossible!”,yeah that means The problem challenge you  truely.

Second, we say “Yeah,It looks like difficult to find a solution.but Maybe Ican try one time.”  which means you want to control the problem and your attitude about it. Continue reading »cant vs difficult