为何很多人成了QQ隐身族
作者:marshall 日期:2008-12-26
很快,QQ上一个灰色的头像就动了起来,原来我这个同学也在隐身,他说:“其实也没有什么事.”然后他的头像继续灰色,我们谁也没有继续聊天,就这样归于沉默.
刚拥有QQ的时候,我在图书馆、网吧,凡是能上网的地方,第一件事就是先上QQ,然后让那只企鹅头像挂在电脑右上角.很快,好友名单中的头像就次第亮了起来,唧唧地叫个不停.但那已经是很多年前的事情了,那时候,所谓的上网,其实就是QQ聊天,不管是熟悉的朋友,还是陌生人,都在闲聊些有用无用的废话.
TopCoder Tournament China
作者:marshall 日期:2008-12-03
学院logo设计大赛网站
作者:marshall 日期:2008-12-01
[24-Redemption] 24小时-救赎
作者:marshall 日期:2008-11-25
a tool for Challenge Phase
作者:marshall 日期:2008-11-19
今天做了一件很无聊却又很有意义的一件事
作者:marshall 日期:2008-11-01
心理寓言
作者:marshall 日期:2008-10-23
一棵苹果树,终于结果了。
第一年,它结了10个苹果,9个被拿走,自己得到1个。对此,苹果树愤愤不平,于是自断经脉,拒绝成长。第二年,它结了5个苹果,4个被拿走,自己得到1个。“哈哈,去年我得到了10%,今年得到20%!翻了一番。”这棵苹果树心理平衡了。
但是,它还可以这样:继续成长。譬如,第二年,它结了100个果子,被拿走90个,自己得到10个。
很可能,它被拿走99个,自己得到1个。但没关系,它还可以继续成长,第三年结1000个果子……
其实,得到多少果子不是最重要的。最重要的是,苹果树在成长!等苹果树长成参天大树的时候,那些曾阻碍它成长的力量都会微弱到可以忽略。真的,不要太在乎果子,成长是最重要的。
【心理点评】你是不是一个已自断经脉的打工族?
刚开始工作的时候,你才华横溢,意气风发,相信“天生我才必有用”。但现实很快敲了你几个闷棍,或许,你为单位做了大贡献没人重视;或许,只得到口头重视但却得不到实惠;或许……总之,你觉得就像那棵苹果树,结出的果子自己只享受到了很小一部分,与你的期望相差甚远。
于是,你愤怒、你懊恼、你牢骚满腹……最终,你决定不再那么努力,让自己的所做去匹配自己的所得。几年过去后,你一反省,发现现在的你,已经没有刚工作时的激情和才华了。
“老了,成熟了。”我们习惯这样自嘲。但实质是,你已停止成长了。
这样的故事,在我们身边比比皆是。
之所以犯这种错误,是因为我们忘记生命是一个历程,是一个整体,我们觉得自己已经成长过了,现在是到该结果子的时候了。我们太过于在乎一时的得失,而忘记了成长才是最重要的。
好在,这不是金庸小说里的自断经脉。我们随时可以放弃这样做,继续走向成长之路。
切记:如果你是一个打工族,遇到了不懂管理、野蛮管理或错误管理的上司或企业文化,那么,提醒自己一下,千万不要因为激愤和满腹牢骚而自断经脉。不论遇到什么事情,都要做一棵永远成长的苹果树,因为你的成长永远比每个月拿多少钱重要。
动机的寓言:孩子在为谁而玩
一群孩子在一位老人家门前嬉闹,叫声连天。几天过去,老人难以忍受。
于是,他出来给了每个孩子25美分,对他们说:“你们让这儿变得很热闹,我觉得自己年轻了不少,这点钱表示谢意。”
孩子们很高兴,第二天仍然来了,一如既往地嬉闹。老人再出来,给了每个孩子15美分。他解释说,自己没有收入,只能少给一些。15美分也还可以吧,孩子仍然兴高采烈地走了。
第三天,老人只给了每个孩子5美分。
孩子们勃然大怒,“一天才5美分,知不知道我们多辛苦!”他们向老人发誓,他们再也不会为他玩了!
【心理点评】你在为谁而“玩”
这个寓言是苹果树寓言的更深一层的答案:苹果树为什么会自断经脉,因为它不是为自己而“玩”。
人的动机分两种:内部动机和外部动机。如果按照内部动机去行动,我们就是自己的主人。如果驱使我们的是外部动机,我们就会被外部因素所左右,成为它的奴隶。
在这个寓言中,老人的算计很简单,他将孩子们的内部动机“为自己快乐而玩”变成了外部动机“为得到美分而玩”,而他操纵着美分这个外部因素,所以也操纵了孩子们的行为。寓言中的老人,像不像是你的老板、上司?而美分,像不像是你的工资、奖金等各种各样的外部奖励?
如将外部评价当作参考坐标,我们的情绪就很容易出现波动。因为,外部因素我们控制不了,它很容易偏离我们的内部期望,让我们不满,让我们牢骚满腹。不满和牢骚等负性情绪让我们痛苦,为了减少痛苦,我们就只好降低内部期望,最常见的方法就是减少工作的努力程度。
一 个人之所以会形成外部评价体系,最主要的原因是父母喜欢控制他。父母太喜欢使用口头奖惩、物质奖惩等控制孩子,而不去理会孩子自己的动机。久而久之,孩子 就忘记了自己的原初动机,做什么都很在乎外部的评价。上学时,他忘记了学习的原初动机———好奇心和学习的快乐;工作后,他又忘记了工作的原初动机——— 成长的快乐,上司的评价和收入的起伏成了他工作的最大快乐和痛苦的源头。
切记:外部评价系统经常是一种家族遗传,但你完全可以打破它,从现在开始培育自己的内部评价体系,让学习和工作变成“为自己而玩”。
How to use ExampleBuilder Plugin
作者:marshall 日期:2008-10-17
ExampleBuilder is a CodeProcessor plug-in that, given a ProblemComponentModel, produces code to test the examples in the target language.
The plug-in expects a JVM version 1.4 or later.
The plug-in has been in use for nearly a year in its current incarnation (its previous version that used a parser was in use for about a year before then). I did most of my testing using C# problems. I verified compatibility with Java and C++ on a handful of examples, but no extensive testing has been done.
ExampleBuilder comes with code templates for Java, C++, and C#. The plug-in defines a $MAINBODY$ variable used in the templates. Code templates are important part of the plug-in Ð you must configure your FileEdit with a version derived from one of the templates supplied with the plug-in.
Installing ExampleBuilder
To install ExampleBuilder, you need to install CodeProcessor, and configure it with an editor of your choice. See instructions below for configuring CodeProcessor to use ExampleBuilder and FileEdit.
- Download the latest CodeProcessor.jar, FileEdit.jar, and ExampleBuilder.jar from the TopCoder's web site
- Start the TopCoder Arena applet
- From the Options menu, choose Editor to open Editor Preferences
- In Editor Preferences, Click [Add]
- Enter Name = ExampleBuilder
- Enter EntryPoint = codeprocessor.EntryPoint
- Enter ClassPath = <download>/CodeProcessor.jar;<download>/FileEdit.jar;<download> ExampleBuilder.jar, where <download> represents an absolute path to the directory to which you downloaded the jar files.
- In Editor Preferences, select ExampleBuilder, and click [Configure] to open CodeProcessor Configuration
- Enter Editor EntryPoint = fileedit.EntryPoint
- Enter ProcessorClass = tc_plugin.ExampleBuilder
- In CodeProcessor Configuration, click [Verify]. The applet should detect that preprocess and getUserDefinedTags methods are present.
- In CodeProcessor Configuration, click [Configure] to access FileEdit's configuration page. Make a code template that uses the $MAINBODY$ tag to see the code that ExampleBuilder generates.
- Click [Save] and [Close] in all open dialogs
- Depending on your language preference, download CodeTemplate.java, CodeTemplate.cpp, or CodeTemplate.cs. Paste the text of the desired template in the FileEdit's configuration window.
- If you are running WebStart application, close it; if you are running in a browser, close the instance of the browser that runs the applet.
To verify the installation, go to a practice room and open a problem. Verify that examples are expanded in the output.
Troubleshooting the installation
The most common installation problem is a JVM version mismatch. If you are running The Arena from the browser, go to Java Plugin configuration in the Control Panel, and verify that your default JRE is 1.4. If you are running The Arena in WebStart, go to "File/Preferences, Java" in the WebStart application, and verify that 1.4 is the default JRE version.
Happy coding!
kyky







