Sunday, August 31, 2008

Saturday, August 30, 2008

Almost lost everything of my work today.

I mistakenly shift+deleted the Papers directory which contains all the papers I wrote in the past few years. I thought I was deleting the directory in the backup drive; however, I was working in the source drive. It's like a disaster after I realized what I just did.

(... anxious & searching & downloading...)

(about one hour later)

Oh, my god! I finally rescued myself. NO. It is Easy Recovery saved me. I got back all the things I had just lose. Thanks god!

BTW. Easy Recovery is far better than Final Data 2.

Sunday, August 24, 2008

How to record all the inputs of users?

/usr/lib/acct/accton /var/adm/pacct

lastcomm [username]

Tuesday, August 19, 2008

Configure start-up launching programs for Windows.

There is a program called "msconfig" which can configure whether start the programs when the system starts up and user logins in the system.

Sunday, August 17, 2008

Run WinXP as a guest in Solaris 10 x86.

Install Sun's xVM VirtualBox software following the Readme.txt file.

However, when running VitualBox, it gave an error:
> VirtualBox
ld.so.1: VirtualBox: fatal: libGL.so: open failed: No such file or directory
Killed

The libGL.so was found in /usr/X11/lib/mesa/amd64/. Thus, add this to the library searching path will solve the problem:
setenv LD_LIBRARY_PATH /usr/X11/lib/mesa/amd64/:${LD_LIBRARY_PATH}

Now, I can running Windows XP SP2 in Solaris.

Wednesday, August 13, 2008

Why dvipdfm failed to create .pdf from .dvi in Solaris 10 x86?

It is about the version of zcat.

In my solaris 10 x86 system, the first zcat found was /usr/bin/zcat.
NAME
compress, uncompress, zcat - compress, uncompress files or
display expanded files

SYNOPSIS
compress [-fv] [-b bits] [file...]

compress [-cfv] [-b bits] [file]

uncompress [-cfv] [file...]

zcat [file...]



However, I think the dvipdfm program really wants GNU version of zcat. In Solaris, it is /usr/bin/gzcat.
NAME
gzip, gunzip, gzcat - compress or expand files

SYNOPSIS
gzip [ -acdfhlLnNrtvV19 ] [-S suffix] [ name ... ]
gunzip [ -acfhlLnNrtvV ] [-S suffix] [ name ... ]
gzcat [ -fhLV ] [ name ... ]


Thus, link gzcat to zcat and preceeds the /usr/bin/zcat will solves the problem.

Winedit is boring. Uninstall it.

Q: 如何去掉WinEdt的自动换行?
A: WinEdt的编辑窗口最下面的状态条中有一项wrap,将其点击为灰色

Q: WinEdt总是自动把几个单词缩到一行里面,如何解决?
A: 1. 关掉wrap功能
2. 在每行的首字前面加一个空格或一个"Tab"

西站购火车票记

南南姑妈和姐姐要会宜昌,没法子搞到票,只好自己出面去西站碰碰运气。提前1个多小时到售票厅,听一售票员说晚7点以后只有5号窗口之后的才售票。此时6号窗口还没开,前面有2人排队,于是排第3。6点多的时候窗口开了,但要买5天之后的票要到7点才开始卖,于是排队等着。买4天之内的票可直接上前购买,不过很多人不知道,白排了半天队。而且售票员一直不停地在出4日内各车次卧铺票(只要有票就出),目的不明,不象是黄牛倒票。快到7点的时候,排第2的突然走了,于是前面又少了一个人。^_^。7点,放票了,运气不错,居然让我买了2两k49硬卧下铺。哈哈。。回家啰。。往外走的时候才发现:k,后面排队的人真多!!

小结:去的早 + 运气不错。

How to overwrite existing files when use wget?

It seems that there is no way to force overwriting every files when downloading files using wget. However, use -N option can surely force downloading and overwriting newer files.

How to setup RHEL-5 as a NTP client to Solaris 10 X86 NTP server?

How to ?

How to setup Solaris 10 X86 as NTP server?

Copy /etc/inet/ntp.server to /etc/inet/net.conf. And edit the ntp.conf,

server asia.pool.ntp.org
server cn.pool.ntp.org
fudge cn.pool.ntp.org stratum 0

broadcast 224.0.1.1 ttl 4


Then svcadm enable ntp

Monday, August 11, 2008

CCTV: terrific is translated as "可怕的".

It's terrific.
”(运动员的表现)真是太可怕了.“

谁翻译的?!

Saturday, July 05, 2008

est_noise vs. cats

Which one is faster? Which one is better?

Need your attention.

An alternative spectral analysis tool: FAMOUS.

Frequency Analysis Mapping On Unusual Sampling


ftp://ftp.obs-nice.fr/pub/mignard/


What does SNR of the results mean?

Got est_noise running in virtual solaris box.

Previously, est_noise by Langbein compiles successfully but quit when run it. The only error message was "Killed"--nothing else. This proves to be the problem of large expense of ram--est_noise requires 1.7+GB memory to run. I found that the maximum number of observations is hardwired into the fortran code (8103). Considering my CGPS time series are not so long. I changed this threshold to 5002. It works! Great.

买票难

北京站, 为什么把票先打出来再慢慢地卖?难怪代售点没有票.

Thursday, July 03, 2008

Still confused with est_noise output.

What are those terms in model.dat file?

I learned the meaning of max.dat from the source code. But the model.dat does not give me much information. I should dip more into the code.

Searching for alternative browser for Solaris X86.

The firefox is good indeed. However, I wanna try more browsers.

Can I input Chinese characters in English GUI?

The hot key cannot call out the Chinese input method toolbar. Can I?

Run English version Firefox in Chinese GUI.

If you choose Chinese GUI for solaris, the Firefox will start with Chinese menu and buttons. It is started with more parameters,

> ps -ef | grep firefox
tianyf 16040 15961 0 08:17:58 pts/14 0:00 /bin/sh /usr/bin/firefox
tianyf 16054 16040 0 08:17:58 pts/14 0:00 /bin/sh /usr/lib/firefox/run-mozilla.sh /usr/lib/firefox/firefox-bin -UILocale
tianyf 16060 16054 1 08:17:58 pts/14 0:31 /usr/lib/firefox/firefox-bin -UILocale zh-CN -contentLocale CN

What if we start only /usr/lib/firefox/firefox-bin ?
Ha.. It's English menu in Chinese GUI now. Good.