[置顶]blog自定义模板的开发,请高手指点思路
posted @ 2007-07-18 16:02 榛子树 阅读(375) 评论(13) 编辑
http://echo331.cnblogs.com
置顶随笔 #
posted @ 2007-07-18 16:02 榛子树 阅读(375) 评论(13) 编辑
2008年7月3日 #
posted @ 2008-07-03 19:49 榛子树 阅读(99) 评论(0) 编辑
2007年7月18日 #
posted @ 2007-07-18 16:02 榛子树 阅读(375) 评论(13) 编辑
2007年3月31日 #
从前,一只圆圈缺了一块楔子。它想保持完整,遍四处寻找那块楔子。由于不完整,所以它只能慢慢地滚动。一路上,它对花儿露出羡慕之色;它与蠕虫谈天侃地;它还欣赏到了阳光之美。圆圈找到了许多不同的楔子,但没有一件与它相配。所以,它将它们统统弃置路旁,继续寻觅。终于有一天,它找到了一个完美的配件。圆圈是那样的高兴,现在它可以说是完美无缺了。它装好配件,并开始滚动起来。现在它已成了一个完美的圆圈,所以滚动得非常快,以至于难以欣赏花儿,也无暇与蠕虫倾诉心声。当圆圈意识到因快奔疾驰而失去了原有的世界时,它不禁停了下来,将找到的配件弃置路旁,又开始慢慢地滚动。
Once a circle missed a wedge. The circle wanted to be whole, so it went around looking for its missing piece. But because it was incomplete and therefore could roll only very slowly, it admired the flowers along the way. It chatted with worms. It enjoyed the sunshine. It found lots of different pieces, but none of them fit. So it left them all by the side of the road and kept on searching. Then one day the circle found a piece that fit perfectly. It was so happy. Now it could be whole, with nothing missing. It incorporated the missing piece into itself and began to roll. Now that it was a perfect circle, it could roll very fast, too fast to notice flowers or talk to the worms. When it realized how different the world seemed when it rolled so quickly, it stopped, left its found piece by the side of the road and rolled slowly away.
我觉得这个故事告诉我们,从某种奇妙的意义上讲,当我们失去了一些东西时反而更加完美。一个拥有一切的人其实在某个方面是个穷人。他永远也体会不到什么是渴望、期待及如何用美好梦想滋养自己的灵魂。他也永远不会有这样一种体验:一个爱他的人送给他某种他梦寐以求的或者从未拥有过的东西意味着什么。
The lesson of the story, I suggested, was that in some strange sense we are more whole when we are missing something. The man who has everything is in some ways a poor man. He will never know what it feels like to yearn, to hope, to nourish his soul with the dream of something better. He will never know the experience of having someone who loves him give him something he has always wanted or never had.
人生的完整性在于知道如何面对缺陷,如何勇敢地摒弃不现实的幻想而又不以次为缺憾。人生的完整性还在于学会勇敢面队人生悲剧而继续生存,能够在失去亲人后依然表现出完整的个人风范。
There is a wholeness about the person who has come to terms with his limitations, who has been brave enough to let go of his unrealistic dreams and not feel like a failure for doing so. There is a wholeness about the man or woman who has learned that he or she is strong enough to go through a tragedy and survive, she can lose someone and still feel like a complete person.
人生不是上帝为谴责我们的缺陷而给我们布下的陷阱。人生也不是一场拼字游戏比赛,不管你拼出多少单词,一旦出现了一个错误,你便前功尽弃。人生更像是一个棒球赛季,即使最好的球队也会输掉1/3的比赛,而最差的球队也有春风得意的日子。我们的目标就是多赢球,少输球。
Life is not a trap set for us by God so that he can condemn us for failing. Life is not a spelling bee, where no matter how many words you've gotten right, you're disqualified if you make one mistake. Life is more like a baseball season, where even the best team loses one third of its games and even the worst team has its days of brilliance. Our goal is to win more games than we lose.
当我们接受不完整性是人类本性的一部分,当我们不断地进行人生滚动并能欣赏其价值时,我们就会获得其他人仅能渴望的完整人生。我相信这就是上帝对我们的要求:不求“完美”,也不求“用不犯错误”,而是求得人生的“完整”。
When we accept that imperfection is part of being human, and when we can continue rolling through life and appreciate it, we will have achieved a wholeness that others can only aspire to. That, I believe, is what God asks of us -- not "Be perfect", not "Don't even make a mistake", but "Be whole."
如果我们能够勇敢地去爱,坚强地去宽容,大度地去为别人的快乐而高兴,明智地理解身边充满爱,那么我们就能取得别的生物所不能取得的成就。
If we are brave enough to love, strong enough to forgive, generous enough to rejoice in another's happiness, and wise enough to know there is enough love to go around for us all, then we can achieve a fulfillment that no other living creature will ever know.
posted @ 2007-03-31 16:24 榛子树 阅读(88) 评论(0) 编辑
posted @ 2007-03-31 16:18 榛子树 阅读(188) 评论(0) 编辑
软件界面设计技巧
最好的程序界面就是用户无需阅读操作手册就知道该如何使用的界面。
原则:
1. 一致性
如果你可以在一个列表的项目上双击后能够弹出对话框,那么应该在任何列表中双击都能弹出对话框。要有统一的字体字号、统一的色调、统一的提示用词、窗口在统一的位置、按钮也在窗口的相同的位置。
2. 设置标准并遵循它
可以参考一些工业标准,如IBM的界面设计规范或MS的设计规则,它提供了90%你所需要的规范。
3. 设置向导
如果用户使用了一个功能后,不知道如何做下一步,他们就会放弃。如果操作流程和手工工作流程一致,用户就会努力去完成它。引导用户最好的方式就是在界面上设置一个流程向导。
4. 提示信息必须恰当且规范
提示信息必须容易理解并且用词统一,比如“您输入了错误的数据”、“用户编码不能超过8位”。一致的措词,提示信息还应该出现在一致的位置,如弹出提示窗口、窗口的上方或窗口的下方。对用户的称呼应该统一,比如有时提示“用户输入了错误的数据”,有时提示“您输入了错误的数据”,有时又提示“纳税人输入了错误的数据”,这样会使用户无所适从。
5. 借鉴好的程序
多了解同类软件的界面,并加以分析与了解,直到能够区别好的用户界面与差的用户界面。但不能够机械的模仿别人的界面。
6. 功能的统一
有一些很常用的功能,如添加、修改、删除、查看,同一个软件中,这些功能应该有相同的操作方法。举个例子,几乎我们所有的程序中都有操作员管理这一块功能,但没有一个功能最完善统一的模块可供调用,结果虽然程序员间相互复制这个模块,但经过修改后,每个程序的操作管理都不相同。
7. 变灰的功能
有时有些功能不可用,最好不要删除这些按钮或项目,而是使它们变灰为不可用状态,这样有助于用户理解整个程序的功能。
8. 默认按钮
使用不具有破坏功能的默认按钮,在每个窗口中,为了方便用户,一般都定义了一个默认按钮,当用户敲回车键时可以快速执行某功能,但有时用户会不小心按错回车键,这时候执行了默认功能后,不能产生不可还原的操作,比如删除或保存。
posted @ 2007-03-31 16:09 榛子树 阅读(516) 评论(0) 编辑
posted @ 2007-03-31 16:04 榛子树 阅读(243) 评论(0) 编辑
2007年3月30日 #