Showing posts with label English. Show all posts
Showing posts with label English. Show all posts

Friday, April 24, 2009

Got my first offer! from Southampton!

A conditional offer from Southampton, my first offer.
Please find attached your formal offer letter - a copy is also being sent via post as well.


It is important that you reply as quickly as possible - but please sign and return the "Reply to Offer" form in the post. Please do not wait until you have fulfilled the conditions (if any conditions are stated). Your offer is only valid for two months from the date of the offer letter.


We look forward to hearing from you.

Wednesday, April 15, 2009

my google adsense account was disabled

this morning(4:00 A.M.), while I was trying the usb zip32 boot with FreeBSD, I noticed there was a email from google, with the title "Google AdSense Account Disabled".

So, my google adsense was disabled, and it also said that publishers disabled for invalid click activity are not allowed any further participation in AdSense. Which make me feel sad, for I like google, and the google advertise on my website means something more than the little amount of money(less than $10 in last month). I even saved the envelop received from Google Adsense, just because there is a Google's Logo.

But, now I was disabled.

The merely one thing make me feel a little better is that Google said it's going to return the money:

The earnings on your account will be properly returned to the affected advertisers.

And, I hope it's true.

If you have got he bad luck as well as I, visit this online appeal form. And google may give you a final chance.

Thursday, February 26, 2009

resume a background progress after logout(not ^z bg/fg)

here I'd like to share with you some useful tips I just founded while learning to set up a CS1.5 server on GNU/Linux. It's about how to resume a progress that had been put into background as you logout, and it's not the ^z and bg/fg stuff.

we have all come crossed such situations that we need to leave for a few seconds or just some unexpected things kicked us out from the system when we were still running a program, say 'nc -l -p 80'. This happens commonly when you are logging in with a not-robust connection, and when we get back, the the program is still there, running in the background. You can see it with a 'ps -A', but never will you be able to 'fg' it.

So, what shall we do?

The answer is 'screen'. With screen, you can safely "save" a running progress in the system, and "resume" it at any time. Following is the usage from 'man screen'.

SCREEN(1) SCREEN(1)

NAME
screen - screen manager with VT100/ANSI terminal emulation

SYNOPSIS
screen [ -options ] [ cmd [ args ] ]
screen -r [[pid.]tty[.host]]
screen -r sessionowner/[[pid.]tty[.host]]

-d -m Start screen in "detached" mode. This creates a new session but
doesn't attach to it. This is useful for system startup
scripts.

-S sessionname
When creating a new session, this option can be used to specify a
meaningful name for the session. This name identifies the session
for "screen -list" and "screen -r" actions. It substitutes the
default [tty.host] suffix.
And, examples I found at a GUN/Linux CS server howto.

"save a progress in background"

'screen -A -m -d -S hlds ./hlds_run -game cstrike +ip ip.de.internet +sv_lan 1 -nomaster +maxplayers 18 +map de_dust2'

"resume it whenever necessary"

'screen -r hlds'

To make it background again, Hold ctrl, then press and hold A, then press D.

Thursday, January 1, 2009

keep an eye on Microsoft

Maybe we are all googlers, who hate Micro$oft and love GNU, but it is still necessary to watch Bill's huge company, world's largest software company.

向来喜欢标榜自己是google的忠实拥护者,努力用开源的GNU替代微软,然而还是很有必要留心比尔盖茨的大公司,世界上最大的软件公司

here are some websites you may be interested.

Live Services
MSDN Blog
Azure

Tuesday, November 25, 2008

how to enable Google Search Wiki!启用SearchWiki的方法!

Google announced the new future of Search Wiki on 22th, and even released an demo video. Yet, they didn't give out the detail about how to enable the future. Where the fuck are these icons to click on? So, here it is, the way to enable Google Search Wiki future !
google在22号对外宣布了其新开放的WikiSearch功能,并且放出了demo video,然而关于如何启用该功能的细节却一直没有给出。那个该死的按钮在哪儿呢?

启用google WikiSearch的方法其实很简单,如下:

try the following links:

SearchWiki*


or simpy google any*


the keyword, as you have guessed, is "*"! Once you included "*" in the keyword, the SearchWiki will be active.
只要在关键词里包含"*"就可以了!!

IMPORTANT!!!
You must have an google account and login first!
你必须得拥有一个google账户并且登录才行!

the way to enable Google Search Wiki future

Happened to delete the old post, for I thought every body already knew how to enable Google Search Wiki. Yet, I was wrong, and it's still something new to most people. At least, you can't find the right answer at present when google "enable google Search Wiki". So I re-posted the article, renamed it from "how to start google Search Wiki" to "how to enable google Search Wiki", and add the Chinese text.
see the new post here
http://what-shenme.blogspot.com/2008/11/how-to-enable-google-search-wiki.html

Plus, you can review your SearchWiki at here -->http://www.google.com/reviews/w

Thursday, October 30, 2008

music.trueice.net is back!

we are very pleased to report that the biggest and fastest music website on edu.cn, music.trueice.net is back! enjoy you music!
推介一个在教育网听歌/音乐的网站。
关于music.trueice.net的说明。
big one 接触教育网以来发现的最优秀的音乐网站。速度极快,内容巨多。并且web界面功能也很棒,又是支持在线收听的,说以说用教育网而不知道music.trueice简直就是一种罪过。
ftp://ftp.trueice.net是主站点,最新但是访问速度比较慢。
ftp://iris.trueice.net是教育网的镜像,很快,尤其是晚上。
一般的情况下,直接在线收听就好了http://music.trueice.net

希望毕业前可以做一个河大的镜像。
=====================================================================
[1] 230-                   空间升级至640G,力争成为清华最好的流行音乐站点
[1] 230-        WWW方式:
[1] 230-        PopMusic Online :http://music.zixia.net http://music.trueice.net
[1] 230-        Music Video Online : http://mvnet.trueice.net/  --只对清华北大开放
[1] 230-        感谢清华大学网管会提供校内镜像FTP ftp://166.111.158.99/ 请校内用户由此下载
[1] 230-        感谢 东北财经大学网管中心 为本站提供教育网镜像服务器 ftp://iris.trueice.net/
[1] 230-      
[1] 230-                        "独乐乐,与人乐乐,孰乐?"
[1] 230-                我们将以以共同的爱好为基础,努力提供精品服务!!
[1] 230-      =====================================================================
[1] 230-    现任管理员:
[1] 230-                Harlem@SMTH & asaga@SMTH & zhuqi336@SMTH
[1] 230-                                    -- Chinese Pop & Pure Music & Others
[1] 230-                BrianGeorge@SMTH  & choral@SMTH & capa@SMTH & jovi00@SMTH
[1] 230-                        & kunimi@SMTH
[1] 230-                                    -- English Pop & OST
[1] 230-  
[1] 230-    可以根据其ID到水木清华BBS与他们联系
[1] 230-      =================================-注意事项===========================
[1] 230-          1.请勿用多线程下载,以免影响其他用户的使用
[1] 230-          2.请勿上载违反国家法律的任何文件
[1] 230-          3.上载可以使用ftp.trueice.net 8021端口 用户名:upload,密码:upload
[1] 230-                   使用中如有任何问题,请联系系统管理员 (trueice@trueice dot net)

Monday, September 22, 2008

gtalk online status icon on your website

Just like the Skype button, it is possible to show your google talk status on your own website or blog. All you need to do is to create a Google Talk chatback bdge, and enjoy it~

Is big one online? --> gtalk status

The best thing I can think of is to write a script, then we can get a group people with same interest together. That will be a service similar to the no-longer-existed Skycast.

Saturday, August 16, 2008

a test blog from emacs with gdate






Thursday, August 14, 2008

post blog via emacs


As you see, this is the first blog post via emacs by Yang. After spent 4 hours
or even long time on learning emacs, I totally fall in love with this most
powerful editor.

set up emacs for python

After read Ryan's emacs-as-a-powerful-python-ide I finally set up emacs for python. Here is the tips, or problems I encountered

1. jde

error:
File error: Cannot open load file, jde

fix:
edit ~/.emacs.d/dot-emacs, comment out the line

;;(load-library "ryan-java"

2. End of file during parsing

error:
End of file during parsing: /home/yang/.emacs

fix:
edit ~/.emacs.d/dot-emacs, add a line like this

'(w3m-default-display-inline-images t)
;;add a line here
)
;;add a line here
(custom-set-faces

3. Pymacs got an invalid initial repl

error:
Pymacs got an invalid initial repl

fix:
uninstall pymacs provided with ubuntu 8.04, install the latest version

sudo apt-get purge pymacs
tar -xgf Pymacs.tar.gz
cd Pymacs-0.23/
sudo python setup.py install

hope this will be helpful.

Sunday, July 27, 2008

3 ways to get skype status

beside the Skype button, there are 3 ways you can get your Skype status:

1. http://mystatus.skype.com/echo123.num

2. http://mystatus.skype.com/echo123.txt

3. http://mystatus.skype.com/echo123.xml


they will show the skype status in 3 methods: number, text, and xml.

Replace 'echo123' with your own skypename to see your skype status.

Do remember to tick the "Allow my status to be shown on the web” checkbox and “Save”.


Privacy

Sunday, July 13, 2008

what shall I do? mind mapping tool under linux

That's what I was thinking about when I woke up in the morning. I left the bed and walked to the sofa, siting there keep on thinking about the question WHAT SHALL I DO?


Then, I thought of a mind mapping software called Freemind on my Acer Note Book. Yes, it must be helpful with finding the answer!


I remembered of the bad route table after start my Ubuntu, so I run the command 'ip link set eth0 down' to mend it and 'ip r' to make sure that it worked.


yang@acer:~$ freemind


okay, it started. But I can't inert a second node after the first one 'What shall I do?'


It took me about 10 minutes to find out the reason: the Java program just stopped responding to my keyboard.


^C, freemind


Restart the program to try my luck, yet failed again.


apt-get update


apt-get upgrade


update the packages on my system to see if there is a solution. none.


search on the Internet for an alternate, failed.


Decided to write a blog to record the bad experience, and thought of the blog posting client. Tried all 3 installed on my system, and count the start time to choose the quickest, of which I can't find the name.


7:10, 1 hour had past. Quit a long time, huh? Not really, compared with the routine time I spend on PC and Internet, this time is short enough for I didn't go on searching about how to write a freemind-like software.


At last, there is still the question: WHAT SHALL I DO?

Saturday, July 12, 2008

why GRE?

Why should I take GRE? Just because I want to approve that I can! It sounded funny but this is the only reason I can think out at present. Having been sick of the innumerable information about Ph.d and MBA, yet still have no decision on which school or major to choose, it's the time to do something actual.

it's not that important whether I would be admitted or not by a school(or college or university or whatever it is called). Just do something, just take GRE!

by the way, the Computer-BasedAnalytical Writing Test in 2008 is from July 1 to September 20. So it is just started.

Wednesday, June 18, 2008

Get Research Experience for Graduate Admissions

Graduate programs, especially PhD programs, highly value research experience. Without it, it's unlikely that you'll gain admission, regardless of your GPA. To make the short list of acceptances, you must demonstrate that you have what it takes to conduct research and thereby extend the field. Gain research experience as an undergraduate student and admissions committees will be more confident that you understand what research is all about and have the ability (and motivation) to do it.

How to Get Involved in Research
It's up to you to seek out opportunities to get involved in research. How? First, excel in your courses and take time to get to know faculty (e.g., stop by their office hours to ask intelligent questions, show them interesting articles or cartoons that relate to course content).

Faculty look for students who are motivated, bright, and personable. Do well in class and be generally pleasant, and they might approach you to ask if you're interested in helping out with some research.

But don't wait to be asked to get involved in research, take the initiative. Talk with faculty and let them know that you're interested in obtaining research experience. Ask if they need any help with projects or know someone who is looking for a volunteer to assist with research. Think back to classes that you've taken. Do any professors stand out? Did any talk about the research that they conduct? Perhaps a professor in your department has published an interesting article. Remember, that although having taken a class with the professor may help to break the ice, you should also approach professors whose work interests you, regardless of whether you've taken their classes.

If you find a professor who you'd like to work with, read a couple of his or her articles. This preliminary background reading will show the professor that you're serious, interested in assisting him or her, and motivated. Send the professor your resume and a cover letter mentioning the articles you've read and why their work interests you. Express your interest in assisting them with their work and include information such as your grade point average and the courses that you've taken. Ask to set up an appointment. When you meet with the professor, express your interest, and ask whether you may assist him or her. Most professors are glad to have an extra pair of hands to work on their research projects, but sometimes professors are overwhelmed with students who wish to assist them. If the professor doesn't need additional assistance, ask if he or she knows whether other professors are looking for research assistants.

While conducting research with faculty as an undergradute is useful in enhancing your graduate school application, recognize that in most cases your work will be unpaid. What do you get in return? Experience. You'll get to see what research is all about and get a taste as to whether it's for you. Sometimes students initially have luke-warm interests in research - they get involved because it will look good on their application to graduate school, but once they see what it's like to make new discoveries, they become enthralled with the process and realize that research is fascinating.

In addition to broadening your perspective on research, you might be able to get academic credit for your work as a research assistant. If you're heavily involved in the project and it's successful, you may receive an acknowledgment in a journal article, a presentation at a professional conference, or perhaps even coauthorship on a journal article.

An added benefit of working closely with a faculty member on his or her research is that the faculty member will get to know you well and can write a letter of recommendation that describes your potential for succeeding in graduate school. By working with you over time, he or she will be able to describe your skills and strengths in a much more detailed way than if you were simply a student in class.

What If Professors Aren't Doing Interesting Research?
Remember that your research experience doesn't have to be in your area of interest. Any research experience will help. Besides, sometimes it's good to get involved in different areas of research because you may discover new interests. As an undergraduate, a variety of broad experiences that provide you with a taste of several research areas is better than conducting research only in your area of interest. Of course, if you're completely disinterested in the research topic it might be difficult to remain motivated and do a good job. Understand your interest level and limits when deciding whether to assist a faculty member with his or her research because poor or inconsistent work will not be helpful and can hurt your chances for a persuasive letter of recommendation that benefits your application to graduate school. Regardless of the research topic, many of the tasks that research assistants complete can be tedious: copying, sharpening pencils, administering surveys, entering data into SPSS, and so on. Sure, some of these tasks are boring, but they're necessary for completing the research project.

Be a Responsible Research Assistant
If you get involved in research remember that the faculty member is depending on you. He or she can't afford to have assistants who are unreliable or careless. Agreeing to assist a faculty member with his or her research is a big commitment that you shouldn't take lightly. Your research tasks should come first - treat the research project as a class and be diligent. There's nothing worse than a student who is enthusiastic at first but disappears or performs inconsistent and careless work. The research project gets disrupted, tasks often must be completed again, and the faculty member loses faith in the student. If you find yourself in such a situation, you won't be able to ask the faculty member for a letter of recommendation. Also understand that faculty talk - other professors may learn about the quality of your work which can influence your interactions with them as well. In other words, if you're going to assist a professor with his or her research, be responsible or you may not like the consequences.

Saturday, May 24, 2008

Sandip :: Weblog :: IP range to CIDR conversion

Sandip :: Weblog :: IP range to CIDR conversion: "#!/usr/bin/perl -w
# range2cidr.pl

use Net::CIDR;
use Net::CIDR ':all';

if (@ARGV == 0) {
die 'Usage Example: $0 192.168.0.0-192.168.255.255 n';
}

print join('n', Net::CIDR::range2cidr('$ARGV[0]')) . 'n';"

Wednesday, May 21, 2008

halt while booting: recovering vi editor sessions /kv

halt while booting: recovering vi editor sessions /kv

the solution is:
root@bsd:~$ rm /var/tmp/vi.recover/*


Kai Vermehr <k at eboy.com> writes:

> While booting I get the message "recovering vi editor sessions" and
> the booting process is halted for a couple of minutes. I'm new to
> FreeBSD so I don't know where to look. Booting is resumed and some
> time later I get a message that sendmail is starting -- again taking a
> long time ...
>
> Any ideas how to fix this?

The saved sessions are (by default) in "/var/tmp/vi.recover".
If you don't need to recover the sessions, clean the directory out.

Sunday, May 18, 2008

freebsd7 ntfs-3g Unable to mount

when using ntfs-3g in fstab

/dev/ntfs/MUSIC /media/music ntfs-3g locale=en_US.UTF-8 0 0

get the err message:

Inappropriate file type or format

when using mount -t ntfs-3g

[root@bsd ~]# mount -t ntfs-3g -o locale=en_US.UTF-8 /dev/ntfs/MUSIC /media/music/

mount: /dev/ntfs/MUSIC : Operation not supported by device

it only works like this: ntfs-3g -o locale=en_US.UTF-8 /dev/ntfs/MUSIC /media/music/


the solution is found in the freebsd's list

Unable to mount partition with ntfs-3g
>>
>> # mv /sbin/mount_ntfs /sbin/mount_ntfs.bak
>> # ln -s /usr/sbin/mount_ntfs-3g /sbin/mount_ntfs
>>
>> This is one of my /etc/fstab entries
>> /dev/ntfs/2vault /mnt/vault ntfs rw,late,gid=5,umask=113,dmask=002 0 0
>>

Saturday, May 17, 2008

PHP5 mail() header patch

PHP mail() header patch: "PHP mail() header patch
Motivation

If you have a PHP script that sends mail, the recipient of the mail message will only see which server it was sent from. There will normally be no record of who originated the message, or which script on the server actually caused it to be sent. This can make it difficult to trace misuse, even if you have comprehensive mail and webserver logs."

The Solution

This patch attempts to address this weakness by inserting an informational header to messages sent from PHP via the mail() function. The header identifies both the script and the apparent IP address that called it.

The header added has the form:

X-PHP-Script: for

PostgreSQL vs MySQL: Which is better?

PostgreSQL vs MySQL: Which is better?:

an interesting passage about the choice between PostgreSQL and MySQL.
MySQL is quicker and smaller while PostgreSQL is with more futures.
and, the final answer is BOTH!
haha~ Let's have a try!