剑锋's profile灵精眨那PhotosBlogLists Tools Help
    March 17

    适当分工

    适当的分工,可以极大的提高工作效率。

    black

    March 10

    php is funny

    php is very funny.

    It has a big function library.All most functions we need in web designing,we can find in it.

    As this is the advantage of php,but also it's the disadvantage of it.Before you beginning to design program,you have to learn many functions.

    Double faces of the things.

    July 04

    谈论 MSN 使用安全

     

    引用

    Dear 大家好!
     
    MSN 使用安全

    MSN Messenger 或 Windows Live Messenger 是微软公司提供的一个即时通讯软件,它提供给用户免费使用,因为微软公司拥有它的100%解释权,包括改进用户体验,升级版本,停止服务,处罚帐号等一系列的权利。

    即使不考虑到微软本身的活动,做为一个外来的即时通讯软件,由于各种原因,包括非人为因素(如光缆损坏)和人为因素(如政治因素),都有可能使你的MSN停止工作。

    假如MSN是你的主要沟通工具,你可要注意了,一定要有备用的联系方式留给你的客户,可以是电话,Email,QQ,网址等等,多管齐下,能够有效地降低单纯联系方式所带来的负面影响。
     
    May 25

    恢复outlook express 6 邮件最稳当之法

    来源: http://www.ljf.cn/ReadArticle.asp?id=208

    昨天公司又购进了三台新的计算机,无耐僧多粥少,有限的资源只分配给资格最老的人——其实是最重要的人。于是,我的工作来了:帮助三位喜获新机的同事转移文件,安装必需的软件,忙乎了一个下午一个晚上还没有忙乎完,当听到办公室的老鼠们四处追逐的时候,心里就想啊,怎么咱就活得还不如老鼠自由快乐呢?——虽然它们经常要牛各种味道的管道,但毕竟想来就来,想去就去呀?

    同事的计算机中,最重要的一部分资料就是电子邮件了。由于历史的原因,所有的同事都选用了outlook express 6 ——Windows XP 系统自带的邮件客户端。虽然它出身名门,但问题多如牛毛,甚至有的找遍天上地下都还找不到原因,解决不了问题——于是我开玩笑地对同事说:“它有张梁计,有我过墙梯”啊——记得这个问题已经写出来过,就是无缘无故地会丢失掉一个时间段的所有邮件,没有任何踪影。于是我只能趁着gmail的东风,把同事的邮件都备一份到了这上面,这样即使计算机爆炸了,原始邮件嘛,还可以找回来。

    说说另外一个问题吧,如果重新安装了系统,重设置备outlook epxress 6 储存空间的话,outlook express 6 会很聪明地检测到你所设定的文件夹里面是否包含有一个旧的储存,问你是否要切换成原来的储存。如果存心要恢复老的邮件,你务必回答Yes,否则的话,文夹里面的备份邮件就会被完全删除掉,开心吧?然而回答yes也不是最保险的,不知道盖茨先生比较幽默还是计算机发热太厉害晕了头,反正我是确确实实地回答了Yes,结果邮件还是丢了,于是从此之后我再也不敢在没有备份地情况下这样做恢复了。要么备份两份,确认正确恢复了邮件之后,再删掉一份,要么干脆就使用outlook express 6 的导入邮件功能。但这两个办法都要付出额外的时间代价。

    昨天使用了另外一个偷梁换柱的办法。办法是先设定一个空的新储存,确认新路径配置已经先效,退出outlook express,删除空储存的文件夹,将旧储存方便夹复制到相应目录下,并使用刚才删除的文件夹命名。开启outlook express,你会发现outlook exrepss很聪明地认出了所有的邮件。这个办法的安全系数比较高,目前为止没有失败过。

    May 24

    保持编程的习惯[保持考试的心态]

    来源: http://www.ljf.cn/ReadArticle.asp?id=207

    昨晚看了一下电视,其中有一段节目引起了我的兴趣。节目的内容是针对高考学生的,一位资深的心理学家专门去访问了历年来高考状元的成功秘诀,发现这些状元们并非学生中最聪明的,也不是最勤奋的——他们成功的秘诀,在于有良好的心理素质,当然还有科学的学习方法。心理学家强调,在众多因素中,良好的心理素质最为重要。

    我想他是搞心理研究的,当然会这么说啦,所以也没有怎么在意。倒是后面的对话中,他提到的一点“保持自信,保持高试的状态”让人非常认同。训练与比赛是两种不同的场景,给人的心理压力也不同。曾经经历过高考的人都会有这个体会,高试可以刺激人的兴奋性的同时,也会带给人很强的压力感,而训练的时候则没有这个效果。所以我们平常做习题的时候可能很轻松,很随便,于是花费的时间就长了,但一些难题怪题,在这样的环境里可以充份地得到周全地思考,而做普通题目的效率就不如考试时候高了。

    为了使心理适应考试的环境,心理学家建议学生们在高考前的半个月里,不要做难题,怪题,因为做出来了也并不见得对高考有帮助,做不出来却会打击自己的信心,因此最好的办法是做自己做过的卷子!哈哈,这一招真有意思,有意思的地方在于我觉得它对像我这样不是参加高考的学生也有帮助。可以推而广之的应用在于:

    1,体育锻炼。以前体育锻炼为了增加力量,锻炼的负荷是每天一点一点增加的。就拿push-up来说吧,今天做30个,明天我就会暗示自己要做32个或者33个。以此证明自己的力量在不断上升。然而这样的结果是给自己造成了很大的心理压力。如果完成不了任务就会很沮丧,因为计划失败,如果要勉强完成任务,又需要拼尽全力,弄得自己疲惫不堪。现在我要说,我又不是专业运动员,又不是为了做武林高手,我只是为了健身而已,何必把自己强得那么苦呀?每天做做运动,强度是要有一些,但并不见得每天都要加强强度吧?

    2,编程的学习。我希望自己每天都可以接受新的知识,以此来证明自己的知识每天都在提升。于是每天都要看书或者解决一些还没有处理的难题,以此来激励自己,每天都在前进。跟体育锻炼同个道理,这样做的后果当然是一方面知识是得到了提高,但同样心理压力也很大啊。退一步说,我们只是为了找口饭吃而已,何必这样强迫自己呢?本来编程是自己喜欢做的事情,这样一样面对它的时候就变得心事重重了。

    心理学家是这样建议我们的:做自己做过的卷子!也就是说,做自己会做的,有能力做的,觉得容易、可以增强信心的事情。因此,假如我可以比较轻松地完成30个push-up,那么我可以在一段时间内保持这个水平,这样身体既得到了锻炼,心理上又不会因为没有锻炼而害怕身体素质变差了。而在编程上,可以学学高考的学生,做自己做过的题目,写自己写过的程序,再次写的时候并非一点做用也没有,所以书读百遍,其义真见,每写多一次,看清的原理就多一些,虽然简单的题目,却包含了基本的原理,理解了基本原理,对更困难的题目是很有帮助的。

    既然如此,何乐而不为呢?从今天起,做个轻松快乐的人。

    May 23

    JCreator的GeneralOutput栏Bug1

    来源: http://www.ljf.cn/ReadArticle.asp?id=205

    JCreator3.50的GeneralOutput栏较之以前的版本,已经有了很大的改善,可以在运行程序时输入文本,今天却发现了另外一个不足之处:在某些情况下,BufferedReader的ReadLine()方法不能正确地显示。相同的程序,在cmd命令行状态下却没没有问题。参考以下代码:

    import java.io.*;
    public class StoringAndRecoveringData {
     
     /**
      * Method main
      *
      *
      * @param args
      *
      */
     public static void main(String[] args) throws IOException {
      // TODO: Add your code here
      DataOutputStream out1 =
       new DataOutputStream(
        new BufferedOutputStream(
         new FileOutputStream("ioDemo2.txt")));
      out1.writeDouble(3.14159);
      out1.writeChars("That was pi\n");
      out1.writeBytes("That was pi\n");
      out1.close();
      
      DataInputStream in =
       new DataInputStream(
        new BufferedInputStream(
         new FileInputStream("ioDemo2.txt")));
      BufferedReader in2 =
       new BufferedReader(
        new InputStreamReader(in));
      System.out.println(in.readDouble());
      System.out.println(in2.readLine());
      System.out.println(in2.readLine());
     } 
    }

    May 15

    战友情深

    来源: http://www.ljf.cn/ReadArticle.asp?id=198

    2006年5月12日,我在mantis的宿舍见到了久别的mantis和更加久别的无语。

    匆匆过了两年。两年之前金戈铁马的帝国生活仿佛已经遥远不可即,然而战友的面孔却依旧熟悉,当年的意气风发似乎一点都没有减少,只是多了一些沧桑。生活本来就是一场没有尽头的长途跋涉,每个人都要跟自己较量耐力和恒心。曾经有多少个黑夜与白天,我们相聚在这条泥泞的路上,因为有了共同的爱好而忘却了脚下的坎坷。

    最能够打动心弦的,莫过于老朋友的只言片语了。从互不相识到并肩作战合作无间,其中的默契远比只限于聊天和生意往来的交情要深刻。于是可以不说话,可以看似无礼的漫骂,可以互相嘲讽,心里却是透明的,没有遮挡,也遮挡不住。我想,这就是战友的情谊吧。

    生活对于我来说,又是另外一场无声的厮杀。刮了无数次胡子之后,我猛然想起,到底我得胡子还可以刮多久?从青春期的萌芽,到如今的疯长,总有一天,它也会枯萎。胡子的生命跟我的生命紧紧的结合在一起。我要趁着还有刮胡子的麻烦之际,处理完其它的麻烦事。我想我得战友们大概也会如此吧,或许他们没有什么麻烦,只是我的麻烦比较多。然而我就有些纳闷了,我这里战场吃紧,为什么没有援兵?

    我可不想成为战局中被放弃的一家。现实中是一次也不能放弃的战斗,也绝对不能战到一兵一卒的时候。有无数个机会可以让我翻身,只要有斗志,被投了两个原子弹的日本人,也可以跟我们争夺钓鱼岛,更别说我的还不至于到了二战之后的日本那么糟糕的地步。求援,求和,发展,积累,总有可以站起来的一天。自立发展固然好,可是即使付出双倍的努力,也不如别人帮你一把。有钱的时候,一对圣骑士去献身又有什么值得痛惜的呢?

    更多的alter+F,更多的配合。存念以久,可惜一直没有付诸实践。区区一个群似乎永远只是偶尔给疲惫的你一丝调剂,那么,如果你依然惦记你的铁马金戈,依然惦记你的战斗伙伴,请你告诉我吧!

    April 25

    有关Dreamweaver2004的一个bug

    Dreamweaver目前的版本中存在一个bug(或者可能是王码五笔的bug),当使用王码五笔输入法86版编辑后,Dreamweaver的自动补全代码功能就失效了,即使你使用菜单中的选项“显示代码提示”也不能恢复,除非你关掉编辑中的文件,重新打开它。这个bug无疑对使用五笔的用户带来相当的不方便。
    使用紫光输入法时不会出现这个问题。
    August 27

    about the photos of korchina(8-1)

    now I have set the pemission, it was only the list in the msn can visited. so don't be afraid of spreading widely,just arround you and me. ^_^
    June 13

    A tip of Access Database with asp

    Do not use the same name between a table and a database. That will make a strange error called '80040e14' . I cannot find some help doc in the error msg of ASP. But when I use a diffirent name between the table and the database, the problem had been solved.
    June 10

    Tired And Unlucky

    In the past few days, I felt very very tired every time. The tired come out from my heart and go to my face. I always be sweated , just like work in the hot sun. But infact , I am in an air-conditioned office. That seems very strainge.
    The other thing that make me tired is that my PC bacome indocile. I am a system analysis but cannot control my own PC, that sounds unimaginable. I ask some others about this in the forums of PConline.com.cn, they supply lots of solutions for me, tomorrow I will try to solve it.
    Don't do the thing that make youself unhappy. That's my experence of my life in these days.  
    June 01

    email and outlook express

    these days, email virus become more and more familiar.So, as the countermeasure, most of the antivirus softwares supply a function of email protect.If you always use web mail system, that maybe border you nothing, but if you are using a client of mail, for exmple outlook express, that maybe boder you much.
    I met 2 kinds of antivirus software that will arose a problem that outlook connot recieve mail from server.they are norton antivirus and JIANGMING antivirus software. If you encount this problem, I sugguest you that stop the email protect funtion temperory, and re enable this funtion after you recieved you mail.
    Another problem is that if the email contain a virus that the antivirus software cannot repair it, it will be quarantined by the antivirus software. At this time, you will get a email that contain nothing in your email clitent software. It's all blank, no title, no sender, no reciever, and no content. So , If you get the letter like this, don't supprise at all, it was normal.
    May 16

    steps

    At last I got the post.It's didn't excise me much, but thanks to their
    kind effort for me of two people: Ren and Bin.You are so kind to me!
    I cannot express my appreciation by word. Maybe can express in another
    way.
    It's a step.
    I am a nervous man that lack of safe feeling badly.When a road across
    opon us, others maybe choose running on it, but I must try my first
    feet on it, and then another. By now, my further revolution is walking
    on it, but running, it needs more days.
    Illness has been kept on at me for 3 days, and still unhappy to
    leave. I warned it that if it didn't leave befor tomorrow, I will take
    some other steps. There, by any case, I have encoutered for several
    days with it.
    The day become rainning again, but I have some thing to do.
    May 10

    About life style

    We must make choices all the time in our life.Not every problem behave
    right and wrong, but they always behave many faces to be choosen. The
    total choices that we made make of our special style of life.
    When I was young, I was good at distinguish black face and white face,
    good people and bad people, I am very clearly what I like and what I
    don't like. This ability was disappeared by the time past. I even do
    something that I don't like at all sometimes.I was told that even you
    don't like them, you must try to bear them, stay with them. At last, I
    cannot distinguish my taste at all. My discretion was completely
    destroyed.
    So, when I need to make choice, I always be puzzled.Which option must
    be choosen? I have no idea!
    May 08

    Another World

    Yestoday I went meet an old friend. We were at the same high shool for
    3 years.But after greduated from high school, we seldom have
    contacts.Now 6 years past, we have been changed a lot. By the
    conversation, I am glad to pick up some pieces of the life style of
    him. Not praise, neither criticize!
    Specific benefit. People said, purposeful activities is the sign of
    adult, ralative to the childish. And as we know, make money is the
    most popular purpose of us, so, if you are absorbed in making money,
    people will evaluate you as a mature people. My friend is a mature
    people. Up to 60 percent of the content involved the money topic.
    Making good use of all elements of life. A stone is just a stone by
    our eyes, but it can be wealth by some one who has smart mind. 100
    yuan maybe just can surply 5 days life for a people in guangzhou, but
    it also can do many other things. It's very interesting that I saw a
    film 3 days ago. An actor's lines impress me deeply:"As a result, me
    and some familiar people of mine were pitch on, it just cost me 2
    bundle of cigarettes." Small benefit always can obtain surprise for
    you. If you don't like to pay out little, you cannot gain big.
    Maybe It's all because of having a bee in my head, but it really
    shaked me. Known that there be some other way of life.
    May 06

    The first chance

    This afternoon I will go to meet a old friend who is going to help
    getting another post in his primary company. The only difficulty of
    this action is about my weakness at communication.That's my
    only disadvantdage.But I also have nother advantage: my gentle
    characticer and my ability to learn new knowledge, computer skill and
    daily English, also, my web design ability have come to anotther step,
    familiar with flash\asp\photosho\coreldraw and other ralative
    softwares.
    I am just a useful man but not a regular poppet. My encounter has
    given a hard fist on my head for the last few years, but at last, I
    fight back! It likes a wolf, cannot do harm to the stronger but the
    weak.You must make a choice between being suffered and making it
    suffered.
    Back to our subject, when I encouter new things, my heart will
    tremble, but at this time, I tell myself, just for getting expirence,
    don't care much for the result of attempt.

    keep working and learn for the hope

    I do have some hopes now.I hope that I can be free from work and the
    pressure of life in a few years later, and I can build a warm family
    with enough riches.If I have a child, I can supply at least the normal
    level education for it. It will live with out worries from
    family.Also, my familiars may have enough time to live together.
    My hopes maybe didn't hard to achief by other peoples, they didn't
    take a glance of it at all even.But in my turn, I must make my best
    effort to gain it.I don't complain at my eviroment, but impretrate a
    chance to carry our my dreams.
    Do something that you eager to, just make good effort on it but not be
    afraid of other elements.Maybe you will faild, but you get the
    exprierence, and when you meet the same instance, you konw how to deal
    with it, at leat you will not get the same mistake.
    May 04

    Continue to waste of time

    This morning I arrived office a little late: late for 3 minutes.Maybe
    one minute will cost me 3.33 yuan!And I saw a notice on the wall: 5.1
    vacation inform.It said that we will get 3 days of holiday:5.1~5.3,
    and must back to office today. What a bad company it is! I went to
    Jiangxi for company and it taken away my vacation but there were no
    compensation!
    Anyway, it maybe my temporary place to stay. I cannot extend my arms
    here.Just for life, I always tell myself.
    But don't be waste of time from now on.Drop all the bad custom and
    free my days.It can be used to do anything that make my life become
    better.Last night I took the second time on watching the film <The
    Shawshank Redemption>.Even a prisoner that have no freedom can achieve
    his hope, in the eviroment that cannot be even bad, why cannot be
    us?We have much more time to do the very thing that we would like to
    do!
    As it's said: "Get busy living or get busy dying".
    May 03

    Set the enviroment variables of JAVA SDK in Windows platform

    After set up j2sdk, you still have to set the enviroment variables
    before using it.In Windows platform, we can follow this way to
    finished the task:
    1. Right click "my computer", select "property".
    2. left click " Advanced", and choice " envirent variables".
    3. In the "Enviroment variables" dialogue box,we can see that a list
    of account variables and a list of system variables. I sugguest that
    set the enviroment variables in the system variables, that all can use
    it.
    4.Modify the "path", add ";C:\j2sdk1.4.2\bin" to it."C:\j2sdk1.4.2" is
    the path where the j2sdk you installed.
    5.Create a new variable "classpath", and set it's value like
    ".;C:\j2sdk1.4.2\lib\tools.jar;C:\j2sdk1.4.2\lib\dt.jar".
    Click "OK" to finish the setting.Then you can try your "helloworld".It
    will be OK if there are no suddeness.

    It's a long time didnot touch JAVA again

    In the past month, I seldom touch the JAVA programming course. Now I
    found out the book, at first glance of it, feeling stange on it.
    I never forgot the dream of becomming a good programmer of JAVA, but
    didn't distribute enough time on it.This make my dream delayed far
    away.This morning I go to Nanfang Daily station because Issue asked
    for me to accomany with her to buy a mobile there. I saw some programs
    wrote by JAVA in the mobile. That's why I suddently remember my JAVA
    course.
    Yes, now my job is web design, but it's not my final work.My aim is to
    be a greate programmer in the world.So, I think I'd distribute sutable
    times between my work and my JAVA course. Maybe 2 hourse a day, maybe
    3 hourse, More or less, but not NEVER DO IT.