星期二, 6月 28, 2011
星期一, 6月 27, 2011
失血中
從我的 HTC 寄出
| CONFIDENTIALITY NOTE : The information in this e-mail is confidential and privileged; it is intended for use solely by the individual or entity named as the recipient hereof. Disclosure, copying, distribution, or use of the contents of this e-mail by persons other than the intended recipient is strictly prohibited and may violate applicable laws. If you have received this e-mail in error, please delete the original message and notify us by return email or collect call immediately. Thank you. HTC Corporation |
星期二, 9月 07, 2010
[心得]澄清湖圓山大飯店游泳池
呼..很久沒po文了,
補一下幾個月前去圓山游泳心得..
週日圓山有提供吃到飽的蒙古烤肉,
訂餐的話就可以提前去他們的泳池游泳.
我們是將近下午4點前去,
游2個小時到6點就可以直接前去用餐.
泳池是50M泳道,
深的那端有5公尺,游過去很開闊;
淺的只有1.1公尺,游自由式會覺得手快碰到池底,
而且會感受來自池底反饋的阻力.
水溫約32度,對玩水的人來說很適怡,
但游泳的人就太高溫,游起來不太舒服..
來游泳的應該都是房客居多,
毫無秩序可言,大家都亂游來游去,
很難正經的游泳..
5公尺那端有2個跳板,
有人在跳水也會干擾到游泳..
除此之外,池邊有不少躺椅,
游累可以休息,氣氛很休閒,
有度假的感覺..
此次主要是為了50M泳道而來,
基於以上原因,此處不適合正經的游泳.
主餐蒙古烤肉的部份,
廚師似乎沒勤於洗鐵板檯面,
炒出來的餐有點苦...
其他附餐則還ok.
補一下幾個月前去圓山游泳心得..
週日圓山有提供吃到飽的蒙古烤肉,
訂餐的話就可以提前去他們的泳池游泳.
我們是將近下午4點前去,
游2個小時到6點就可以直接前去用餐.
泳池是50M泳道,
深的那端有5公尺,游過去很開闊;
淺的只有1.1公尺,游自由式會覺得手快碰到池底,
而且會感受來自池底反饋的阻力.
水溫約32度,對玩水的人來說很適怡,
但游泳的人就太高溫,游起來不太舒服..
來游泳的應該都是房客居多,
毫無秩序可言,大家都亂游來游去,
很難正經的游泳..
5公尺那端有2個跳板,
有人在跳水也會干擾到游泳..
除此之外,池邊有不少躺椅,
游累可以休息,氣氛很休閒,
有度假的感覺..
此次主要是為了50M泳道而來,
基於以上原因,此處不適合正經的游泳.
主餐蒙古烤肉的部份,
廚師似乎沒勤於洗鐵板檯面,
炒出來的餐有點苦...
其他附餐則還ok.
星期二, 7月 27, 2010
NAND and NOR ROM
NOR: Faster to read, slower to write, XIP(execute in place)
NAND: Slower to read, faster to write.
原文參考:
http://blogs.msdn.com/b/windowsmobile/archive/2005/08/19/453784.aspx
NAND: Slower to read, faster to write.
原文參考:
http://blogs.msdn.com/b/windowsmobile/archive/2005/08/19/453784.aspx
WM6 != CE6
Windows Mobile 6的CE kernel版本是5.02
WM5則是CE5.01
CE5以前的OS版本,
最多支援32個processes,
同時最大的runtime memory為32mb.
CE6則最多有32k個processes,
2gb的vm空間.
原文參考:
http://blogs.msdn.com/b/ce_base/archive/2007/02/14/windows-mobile-6-and-the-ce-os.aspx
http://blogs.msdn.com/b/mikehall/archive/2007/01/17/windows-mobile-and-windows-embedded-ce-what-s-the-difference.aspx
WM5則是CE5.01
CE5以前的OS版本,
最多支援32個processes,
同時最大的runtime memory為32mb.
CE6則最多有32k個processes,
2gb的vm空間.
原文參考:
http://blogs.msdn.com/b/ce_base/archive/2007/02/14/windows-mobile-6-and-the-ce-os.aspx
http://blogs.msdn.com/b/mikehall/archive/2007/01/17/windows-mobile-and-windows-embedded-ce-what-s-the-difference.aspx
VS2005 debugging在 Windows Mobile release版程式行數對不準的原因.
之前用VS2005 run debug mode要deug某支release版AP時,
會發生單步執行時,單行code的內容跟所執行的不太一致,
比如code執行到return或是function結尾,
程式卻繼續往下跑.
隨興看到這篇,
問題發生的原因可能是Optimization,
摘要重點如下,
Optimization can affect:
*Local variables, which can be removed by the optimizer or moved to locations the debugger does not understand.
*Positions inside a function, which are changed when the optimizer merges blocks of code.
*Function names for frames on the call stack, which may be wrong if the optimizer merges two functions.
參考資料:
http://msdn.microsoft.com/en-us/library/606cbtzs%28v=VS.80%29.aspx
會發生單步執行時,單行code的內容跟所執行的不太一致,
比如code執行到return或是function結尾,
程式卻繼續往下跑.
隨興看到這篇,
問題發生的原因可能是Optimization,
摘要重點如下,
Optimization can affect:
*Local variables, which can be removed by the optimizer or moved to locations the debugger does not understand.
*Positions inside a function, which are changed when the optimizer merges blocks of code.
*Function names for frames on the call stack, which may be wrong if the optimizer merges two functions.
參考資料:
http://msdn.microsoft.com/en-us/library/606cbtzs%28v=VS.80%29.aspx
Windows Mobile的變數動態初始化(Dynamic Initialization of variables)
閒來無事讀了篇文章,
講有關變數初初始化,
內容還不錯..
#include
int alpha(void)
{
return 20;
}
int i = alpha(); //dynamic intialization
int main()
{
printf("i = %d",i);
return i;
}
i是一個glocal變數,其初始值是由一個function提供的,
經過測試得到結果為0,
而非預期的20.
原因是系統直接由main(entry point) call進來,
並未真正有機會去呼叫其他初始化的function,
必須改由CRT系列的entry point,
main對應的就是mainCRTStartup,
詳細table可參閱原文.
原文參考:
http://blogs.msdn.com/b/ce_base/archive/2008/06/02/dynamic-initialization-of-variables.aspx
講有關變數初初始化,
內容還不錯..
#include
int alpha(void)
{
return 20;
}
int i = alpha(); //dynamic intialization
int main()
{
printf("i = %d",i);
return i;
}
i是一個glocal變數,其初始值是由一個function提供的,
經過測試得到結果為0,
而非預期的20.
原因是系統直接由main(entry point) call進來,
並未真正有機會去呼叫其他初始化的function,
必須改由CRT系列的entry point,
main對應的就是mainCRTStartup,
詳細table可參閱原文.
原文參考:
http://blogs.msdn.com/b/ce_base/archive/2008/06/02/dynamic-initialization-of-variables.aspx
訂閱:
文章 (Atom)


