2009年5月27日 星期三

Microsoft Word Tips and Questions





如果要編排有章節的文件,使用"項目符號及編號"/清單樣式
"項目符號及編號"/編號 以及 "項目符號及編號"/大綱編號 都設定為"無"即可

Currently I have the following confused/doesn't understand well topics
標題與編號的設定
自動變數的設置
版面樣式的設置

在編寫"STP" 測試文件時,有下面的問題
選取插入->參照->標號, Enable 編號方式->包含章節編號
就會出現如上的錯誤訊息,並且插入的資料出現下面的字樣
Table 錯誤! 所指定的樣式的文字不存在文件中。
如果不勾選"編號方式->包含章節編號", 就可以插入編號
但是只會有"Table 1"的字樣,不包含標號index

其他文件似乎不會

Word Learing Site
http://www.yesgood.com.tw/contents/word2007.aspx

2009年5月21日 星期四

Java experience

Q. How to download Java run time enviroment?
A. Go to java website to download the java run time enviroment

From the website of taiwan
http://www.java.com/zh_TW/download/manual.jsp
jre-6u13-windows-i586-p-iftw.exe
jre-6u13-windows-i586-p-s.exe

from the official site
Download Java SE Runtime Environment 6u13 for Windows, Multi-language
https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/ViewFilteredProducts-SingleVariationTypeFilter
jre-6u13-windows-i586-p.exe

Show the java version
c:\JAbin-20090520>java -versionjava
version "1.6.0_13"Java(TM) SE Runtime Environment (build 1.6.0_13-b03)Java HotSpot(TM) Client VM (build 11.3-b02, mixed mode, sharing)

2009年5月12日 星期二

Arm Linux

ARM toolchain download
http://ftp.arm.linux.org.uk/pub/armlinux/toolchain/

2009年5月7日 星期四

Network Packet handling (receiving/sending) architecture

Receiving (in a single thread/process)
while (ExistFlag is not set) {
sleep(very-short-term-time); /* make the CPU not too busy, So CPU can context-switch to service other tasks */
select (rfds, long term timeout); /* the CPU will busy polling all the specified rfds, so the cpu was very busy? */
if (retval of select > 0) {
recv(specified-fd);
}
} /*while*/

Sending (in a single thread/process)
while (ExistFlag is not set) {
/* No-need to sleep to speedup the response time of sending packets */
select (wfds, long term timeout); /* the CPU will busy polling all the specified rfds, so the cpu was very busy? */
if (retval of select > 0) {
send(specified-fd);
}
} /*while*/

Win32 portable program API

For Win32, use the following api

recv, send (Win32 doesn't support the read/write functions)
Sleep(1000) means pause 1 second (Linux use sleep(1) function call)