Saturday, August 16, 2008
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
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
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”.
Sunday, July 13, 2008
what shall I do? mind mapping tool under linux
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?
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.
Sunday, June 22, 2008
网
不过,比别人多用了一个IP地址,再就是网通的8M流量的带宽,还有计划中的FTP服务器~~~
估计是网络中心最近又现开通了哪栋楼的教育网,于是就要用到先前闲置着的IP地址,sigh,还只是一个私网的IP而已,就冲到偶宿舍里来了。无奈,俺本人不在,台式机(BSD)的显示器也撤了,两个路由上面又都设置了很弱智很变态的密码……
NB是除偶之外第一个以IP方式登录交换机的人,并且,刷新了固件,那么,为什么不简单地重启一下交换机呢?

献给:可怜的某某老师,以及我无辜的4小时睡眠时间