有.始.有.终                        If you want to leave a message, click here


Faith changes the world.

main page

about myself

resources

event list

photos

contact me

useful links

2009.02.26   First Time

It should be celebrated for the first time that i can partially understand other interns' conversation on distributed system.

Good. Hold on.

2009.02.22   New semester!

It's 2 weeks from last update. Well, there are too many trivial things. I think it necessary to make some conclusion on recent works.

To setup a remote desktop on Ubuntu Server through ssh.

1.  Setup Ubuntu Server. It's almost automatically.

2.  Replace /etc/apt/source.list with a official source and an edu source. Like my source.list:

Run 

$ sudo apt-get update.

In school we need to setup tunet-3.0.6-5-Linux-i686.tar first and do some configuration.

3.  Run:

$ sudo apt-get install gnome (or sudo apt-get install kde)   desktop

$ sudo apt-get install scim-pinyin

$ sudo apt-get install language-selector

$ sudo gdm

Then you will see you desktop.

Push System->Administrator->Language Support, and get Chinese Support.

4.  Setup ssh server

$ sudo apt-get install ssh-server

$ gedit /etc/ssh/sshd_config

Change

#PasswordAuthentication yes

 to

PasswordAuthentication yes

Change

X11Forwarding no

to

X11Forwarding yes

5.  Now use ssh USERNAME@YOUR_ADDRESS to log in.

================================

Back to work.

2009.02.08   Holiday

Holidays are valuable since my internship. I can play basketball, watch animation, go shopping and take a rest.   :D

Expecting the new week :D

2009.02.06   Funny Perl

It works very slowly and I'm not well-trained. But it's funny to use script language solving problems in an on-line-judge.

Perl used in SPOJ

2009.02.05   Never enough

It comes to the end of my 3rd day in Microsoft Research Asia.

I can tell there's great pressure working here. On the other hand, you can realize that there're so many things that you don't know but important. You can admire many notability students or employees here. As far as I am concerned, MSRA is a much better environment compared with schoolyard, if you are well prepared and extraordinary eager.

Some scripts are really convenience and helpful in practical such as bash and perl, which I learned a little these days.

I found a nice lesson to perl in www.cbi.pku.edu.cn/chinese/documents/perl/, or you can click hereto download a html package (by flamephoenix).

2009.02.03   Too much fun in MSRA

For instance, drinks and Mircosoft softwares. I'm sure I have to learn a lot before starting working here.

On the other hand, I'm still confused about what I'm going to do, even if i have scanned several papers. Young man should pay more time and efforts.

2009.01.29

It's the second time that I have to spend more than 2 hours on setup a Ubuntu system. I finally got understand why the OS can't be setup on my MSI notebook. It turns out to be some problems with external partition. 

Non-offical testing result of voice, Winter Camp 2009. Click Here.

It's useful of using bash script to figure out all testing work instead of manual work. Following is part of the bash code:

ulimit -t 8
g++ check.cpp -o check
for name in GD-006 AH-003 HN-006 SC-001
do
    cp $name/$name/voice/voice.cpp voice.cpp
    g++ voice.cpp -o voice
    for i in {1..10}
    do
        cp voice_data/voice$i.in voice.in
        time ./voice
        mv voice.out voice$i.out
    done
    ./check $name
    mv score.txt score_$name.txt
done
rm *.ans

2009.01.28   Settled

I moved to 14# 323 this morning. It's the first time to experience Masters' living environment. There are 4 beds, 8 chairs, 1 desk, 2 electric outlets, 2 network outlets, and no cabinet, no hot or drinking water. Too much difference from Bachelors' department.

Get Internet Connection:

1. IP Address is dynamic assigned, so http://:info.tsinghua.edu.cn can be connected as soon as cable is connected. Log in and use info's network service connecting to internet.

2. Download a eduvip tool from http://www.linux-wiki.cn/work/eduvip/ and install. Thus we can go to global websites.

Bad news: problem voice of winter camp 2009 could be rejudge within few days. There will up to 20 points different for some contestants.

2009.01.27   Back to THU soon

Well, look at what i have done in these days.

Guide Yujiao to a trip visiting Yueyang.

Take part in a classmates party of senior school.

Visit my grandfather and grandmother.

Setup Ubuntu 8.10 together with Windows XP in my notebook. I take my hard disk and core memory out of computer, fix the hard disk and replace the core memory. It seems like my notebook was rather out of time.

Read 5 out of 100+ pages of distributed system.

And I am going to take my flight back to THU at 8:00 am, Jan 20. It's too bad.

Good news: I have registered a network hard driver with 1G memory limit. So it will be convenience to upload files :)

2009.1.25

OK. I'm back. I decided to abandon my face book and come back to write something different.Information before 2009 is backuped here. They will be remained until I find somewhere instead of googlepages.

Contents before 2009