Monday, June 30, 2008

[Italy 2007] 米開朗基羅廣場眺望



撮影日付:19th July 2007
撮影場所:Firenze, Italy. (イタリア)
機材:EOS Kiss digital + EFs 10-22mm

翡冷翠。米開朗基羅廣場。
當我很哀怨地翻過一大座山終於走到這裡時,
這邊正搭著演唱會的露天高台座位。
通常,這個廣場比較好認的照片是往照片方向的左邊拍,
可以看到舊城區有名的建築還有アルノ川的橋,
不過,我還是比較喜歡充滿陽光的這張。

其實,這邊還不是視野最好的地方,
因為我完全和公車路線走反方向,
在我到這邊之前,我已經先在翡冷翠最高的教會前的樹蔭下,
享用過一番義大利古都的美麗眺望了 XD

[Cat Note]
WPARAM and LPARAM are Windows.h defined type. They are polymorphic(多型的).
MSG: a structure, which contains message info from a thread's message queue.

HANDLE CreateEvent(
//Create a event object.
LPSECURITY_ATTRIBUTES lpEventAttributes,
// must be null for CE
BOOL bManualReset,
// True or False
BOOL bInitialState,
// True is signaled; False is nonsignaled.
LPTSTR lpName
// Pointer to a null-terminated string that specifies the name of the event object. If the same event name existed, 2nd and 3rd parameters are ignored. other same name cases might result a last-error-return ERROR_INVALID_HANDLE.
);

returns:
success: a handle
same name with other event: a handle to the existing object but returns ERROR_ALREADY_EXISTS for GetLastError.
Failed: NULL.

include: Winbase.h
link to: Coredll.lib / Nk.lib

☆ 수도가 고장났어요?
(水道が故障しましたか。)
☆ 일이일로 전화하세요.
(121に電話してください。)
☆ 전기가 고장났어요?
(電気が故障しました。)
☆ 일이삼으로 전화하세요.
(123に電話してください。)

Sunday, June 29, 2008

[Korea 2008] 街角的咖啡店



撮影日付:21st May 2008
撮影場所:Seoul, Korea. (韓国ソウル)

一直沒去弄懂過這家咖啡店的店名是
「我們心中的天使」還是「天使在美國」還是兩個都不是...
咖啡還蠻不錯的就是了~
這是一家連鎖店,在地鐵站與Lab轉角,
因為Lab通常是傍晚7點左右關,我又不喜歡擠通勤電車,
我總是習慣在這家咖啡店點杯咖啡繼續工作到NB沒電,
晚上這家店的客人通常不多,放著音樂,靜靜的。
那時候我偶爾會想著,要找一個假日,不要帶NB來,
就是發發呆寫寫字就好,可惜這個願望一直沒有達成...

Saturday, June 28, 2008

[France/Swiss 2008] 歐陸的轉蛋機




撮影日付:4th FEB 2008
撮影場所:Savoie, France. (フランス)
機材:EOS Kiss digital + EF 24-70mm

[Cat Note]
HDC: Handle to a device context

[Cat Bug] [0001][open]
The AP can not obtain total/useful screen height and width in pixel correctly via below two groups of function on VGA device. (Both groups of function are OK on QVGA device.)
1)
// Always gets 240*320, it should be 480*640
int screenWidth = GetSystemMetrics (SM_CXSCREEN) ;
int screenHeight = GetSystemMetrics (SM_CYSCREEN) ;
2)
// Always gets 240*294, it should be 480*588
HWND catGetDesktop = GetDesktopWindow ();
RECT catDesktopXY;
GetClientRect (catGetDesktop, &catDesktopXY);

☆ 그리고 물으세요. (そして聞いてください。)

Friday, June 27, 2008

[France/Swiss 2008] 船影


撮影日付:7th FEB 2008
撮影場所:Savoie, France. (フランス)
機材:EOS Kiss digital + EF 24-70mm

[Diary 2008JUN27]
在subway(速食店)巧遇Michelle,一起聊天吃掉我們的晚餐。
現在的我知道,
可以從容地吃東西其實是很幸福的事情。
最近的日子好像過得太悠哉了(不知道會不會遭報應)
白天在公司在看3GPP, RFC specs,
晚上練程式、用很緩慢的速度學韓文,假日還有時間可以看電影。
有點懷疑,這種安逸的日子過久了,
我還有辦法過之前那種連續一兩個星期每天都只睡3到4小時的日子嗎?

[Cat Note]
If windows.h is included while linked to Windows Mobile 6 SDK, there is no need to include tchar.h again.

[Cat Debugging]
Symptom
On Windows Mobile UI:
The message box displayed on the top of the screen. And if it is moved, the top part of the screen has display issue.
The top bar is copy to the button and icons (e.g. IME or signal) might be moved to the button part.
VC++ debug message:
1>corelibc.lib (crt0init.obj): warning LNK4254: section '.CRT' (40000040) merged into '.data' (C0000040) with different attributes
Root Cause
Subsystem is not correct
Fix
Solution Name --> properties --> Configuration Properties --> Linker --> system --> Subsystem --> WindowsCE (/SUBSYSTEM:WINDOWSCE)

☆ 옆집에 도둑이 들었어요?
(隣家に泥棒に入られましたか。)
☆ 일일이로 빨리 전화하세요.
112に早く電話してください。
☆ 전화 번호를 몰라요?
電話番号が分からないですか。
☆ 일일사로 전화하세요.
114に電話してください。
☆ 시계가 없어요?
時計がないですか?
☆ 그렇지만 시간을 알고 싶어요?
でも時間が知りたいですか? 

Thursday, June 26, 2008

Starbucks City Mug—Washington State


スターバックス・シティ・マグ―—アメリカ、ワシントン
(星巴克城市杯/星巴克城市馬克杯。美國。華盛頓州)

★ My Starbucks City Mug Collection Homepage [link]

Monday, June 23, 2008

[France/Swiss 2008] 日內瓦湖


撮影日付:8th FEB 2008
撮影場所:Genève, Swiss. (スイス)
機材:EOS Kiss digital + EF 70-200mm F/2.8 IS

[2008JUN26]
Lunch with Ma, St, Ge, Ha, YL, Ta and Fe.
G和M間總是出奇不意地迸出經典冷酷笑話,
本日經典:沒人性的人怎麼可以問人家什麼是沒人性 @@
總是扮演追殺者角色的s現在不追殺人了變得超和善(有點不習慣)
我竟然忘記我之前看過Ha;原來Ha和M和我是同期耶~
T和Y的馬吉度超乎大家的預料,原來我們都被推太極的mail給混淆視聽了,
Y莫名奇妙就欠下我半年後的一頓飯,哈,這邊記著 XD
原來只管SIM PB的F很識貨,假鑚雖然不比真鑚,也是稀有的咩 :P
可憐的Ho在日本賣命不能出席> < (日本食物很好吃說,你不差這攤啦~)
It should be a happy ending, but the ending itself is somehow a sorrow concept.

[2008NOV08]追記:
幾個月過了,我還是在同一家公司同一個職位,但是一切都不一樣了。
回頭找出這原來是畢業聚餐的日記,眼眶溼溼的。無常。
08:06:06.018 CM_SYSTEM_MODE: 0

Without Title 2008.08.10. - 2008.08.16.
Without Title II 2008.08.17. - 2008.08.23.
Without Title III 2008.08.24. - 2008.08.30.
Without Title IV 2008.08.31. - 2008.09.06.
Without Title V 2008.09.07. - 2008.09.13.
Without Title VI 2008.09.14. - 2008.09.20.
Without Title VII 2008.09.21. - 2008.09.27.
Without Title VIII 2008.09.28. - 2008.10.02.
Without Title IX 2008.10.18. - 2008.10.25.
Without Title X 2008.10.26. - 2008.11.01.
Without Title XI 2008.11.02. - 2008.11.08.
Without Title XII 2008.11.09. - 2008.11.15.
Without Title XIII 2008.11.16. - 2008.11.22.
Without Title XIV 2008.11.23. - 2008.11.29.
Without Title XV 2008.11.30. - 2008.12.06.
Without Title XVI 2008.12.07. - 2008.12.13.
Without Title XVII 2008.12.14. - 2008.12.20.
Without Title XVIII 2008.12.21. - 2008.12.27.
Without Title XIX 2008.12.28. - 2009.2.5.
Without Title Vol. 20 2009.2.21. - 2009.2.28.
Without Title Vol. 21 2009.3.1. - 2009.3.7.
Without Title Vol. 22 2009.3.8. - 2009.3.14.
Without Title Vol. 23 2009.3.15. - 2009.3.22.
Without Title Vol. 24 2009.5.17. - 2009.5.23.
Without Title Vol. 25 2009.5.24. - 2009.5.29.
Without Title Vol. 26 2009.5.31. - 2009.6.6.
Without Title Vol. 27 2009.6.7. - 2009.6.13.
Without Title Vol. 28 2009.6.14. - 2009.6.20.
Without Title Vol. 29 2009.6.21. - 2009.6.27.
Without Title Vol. 30 2009.6.28. - 2009.7.4.
Without Title Vol. 31 2009.7.5. - 2009.7.11.
Without Title Vol. 32 2009.7.12. - 2009.7.18.
Without Title Vol. 33 2009.7.19. - 2009.7.25.
Without Title Vol. 34 2009.7.26. - 2009.8.1.
Without Title Vol. 35 2009.8.2. - 2009.8.8.
Without Title Vol. 36 2009.8.9. - 2009.8.15.
Without Title Vol. 37 2009.8.16. - 2009.8.22.
Without Title Vol. 38 2009.8.23. - 2009.8.29.
Without Title Vol. 39 2009.8.30. - 2009.9.5.
Without Title Vol. 40 2009.9.6. - 2009.9.12.
Without Title Vol. 41 2009.9.13. - 2009.9.19.
Without Title Vol. 42 2009.9.20. - 2009.9.26.
Without Title Vol. 43 2009.9.27. - 2009.10.10.

Saturday, June 21, 2008

[France/Swiss 2008] 山頂的十字架


撮影日付:7th FEB 2008
撮影場所:Savoie, France. (フランス)
機材:EOS Kiss digital + EF 24-70mm

[2008JUN25] 從3月做到6月初的project終於走到出貨這關了,
很感動呢。Many many thanks to you guys.

[Cat Note]
#define WIN32_LEAN_AND_MEAN
To speed the build process of Visual C++
It can be used in any project while VC_EXTRALEAN is only for MFC.

☆ 제가 전화번호를 말해 드릴게요.
(私が電話番号を言って上げます)
☆ 전화가 고장났어요?
(電話が故障しましたか。)
☆ 일공공으로 전화하세요.
(100に電話してください.)

Friday, June 20, 2008

Starbucks City Mug—Boston (City Scenes Series)


スターバックス・シティ・マグ―—アメリカ、ボストン。シティ.シーン.シリーズ
(星巴克城市杯/星巴克城市馬克杯。美國。波士頓。四格城市風景系列)

★ My Starbucks City Mug Collection Homepage [link]

Thursday, June 19, 2008

[France/Swiss 2008] 戶外西洋棋


撮影日付:8th FEB 2008
撮影場所:Genève, Swiss. (スイス)
機材:EOS Kiss digital + EF 24-70mm

據說歐洲很多公園都有這種戶外西洋棋,
我到瑞士日內瓦才第一次看到,
巨大西洋棋的外表乍看之下還蠻有份量的,
不過,當我想和它合照留念時,
我小失望地發現,那竟然只是塑膠的空殼子罷了。
也對啦,如果是真的大理石,下(搬)完一盤棋可能就累壞了。

用工作之外的時間,
把一段在NB上跑得好好windows API的code
搬移到手機平台上,沒想到,
雖然事實證明那段code完全不用改可以portable,
但是從來沒有寫過WM6 AP的我,
從compile ok到build ok之間還隔得真久...
這兩三天我根本就不是在debug,
我其實是在研究VC++的開發環境怎麼設定 @@

[Cat Note]
어떤 도움이 필요해요? (どんな助けが必要ですか?)
odeon dou.mi piryohaeyo?

Wednesday, June 18, 2008

[France/Swiss 2008] Blue and White


撮影日付:7th FEB 2008
撮影場所:Savoie, France. (フランス)
機材:EOS Kiss digital + EF 24-70mm

藍與白。
下墬的速度感。

[Cat Note]
도움도 청할 수 있어요. (助けも請ずることができます)
doumdo cheonghar su isoyo.  

Tuesday, June 17, 2008

[France/Swiss 2008] 小島宮


撮影日付:7th FEB 2008
撮影場所:Savoie, France. (フランス)
機材:EOS Kiss digital + EF 24-70mm

Thiou運河上的小島宮(PALAIS DE L'ISLE),
曾經是領主居所,法庭,鑄幣廠,監獄,城事務局,博物館...
在我駐足於前的那個靜夜,
我看見的是一座有著厚實(石)心防的煌煌孤島。

[Cat Note]
Internet - Transport Layer Protocols
--> for transport-layer multiplexing and demultiplexing
UDP(User Datagram Protocol): unreliable, connectionless service (only data delivery and error checking)
TCP (Transmission Control Protocol): reliable, connection-oriented service (using flow control, sequence numbers, acknowledgments and timer)In addition, TCP have congestion control.

CRT: C Run-Time Libraries

친구와 이야기도 할 수 있어요. (友達と話もできます)
chinguwa iyagido har su iseoyo.

Monday, June 16, 2008

[Korea 2008] Apple Home@仁寺洞



撮影日付:1st June 2008
撮影場所:Seoul, Korea. (韓国ソウル)
機材:EOS Kiss digital + EF 24-70mm

H: 一朝被蛇咬
小猫: 可是,我又不是蛇,我是貓咩。
H: 偶知道。照咬。

昨天才和同事閒扯到蛇,今天就在小王子又看到蛇了。
其實『星の王子さま』還是有我很喜歡和讚賞的片段。
在第17章,小王子剛到地球的時候:
「人間たちと一緒でもやっぱりさびしいんだ」と蛇がいった。
第19章的畫面,真是冷笑話的至極經典,
如果我會做動畫的話,真想把這樣的情節動畫化~
「こんにちは」と王子さまはとりあえずいってみた。
「こんにちは…こんにちは…こんにちは…」とこだまが答えた。
「きみは誰?」と王子さまがいった。
「きみは誰? きみは誰? きみは誰?」とこだまが答えた。
「友たちになってくれない?ぼくはひとりぼっちなんだ」
「ひとりぼっち…ひとりぼっち…ひとりぼっち…」とこだまが返ってきた。
王子さまは思った。おかしな星だなあ!
乾燥していて、尖っていて、硬いだけだ。


[Cat Dubugging]
Symptom:Compile OK. Build Solution NOK.
1>catWindow.obj : error LNK2019: unresolved external symbol __imp__MessageBoxW@16 referenced in function _WinMain@16
1>MSVCRTD.lib(crtexe.obj) : error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup
Root Cause:
1) user32.lib not found.
2) Subsystem not correct.
Fix:
1-1) Right Click SolutoinName --> properties --> Configuration Properties --> Linker --> General --> Additional Library Directories --> Assign the the lib folder in SDK
1-2) Check what lib should be linked. MSDN --> search function --> Function Information --> Import library
MessageBox Function --> User32.lib
Right Click SolutoinName --> properties --> Configuration Properties --> Linker --> Input --> Additional Dependencies --> key in "User32.lib"
2) SolutoinName --> properties --> Configuration Properties --> Linker --> system --> Subsystem --> Change to Windows(/SUBSYSTEM: WINDOWS)

Sunday, June 15, 2008

[Korea 2008] 路地探険隊@仁寺洞





撮影日付:1st June 2008
撮影場所:Seoul, Korea. (韓国ソウル)
機材:EOS Kiss digital + EF 24-70mm

「路地探険隊」是從日文blog常見名稱借用來的,
是在小巷弄到處閒晃的意思。
仁寺洞的主要街道充滿觀光客人來人往的,
但是,往小巷子裡一鑽,常常就是完全不同的風景了。

江國香織『東京タワー』讀完了,我不喜歡這樣的故事。
也許,是現在的我不喜歡悲劇吧,
人生太短,美好的事物一樣樣是那麼珍貴,
歌頌扭曲事物的scenario不適合現在的我。
可是,今天出門前,我好像又選錯書了,
『星の王子さま』經典中的經典,
可是當我看到裝模作樣的玫瑰花,
看到超級自我主義的國王星人和各種搞搞怪怪星人,
我又覺得太諷刺了,開始有點看不下去了....

昨天一口氣把3GPP和3GPP2的CL(N)IP/CL(N)IR全部K完,
才驚覺原來我當白癡小貓當了這麼久自己都不知道,
嗯,要痛定思痛努力加強專業知識和技能....

Saturday, June 14, 2008

[Korea 2008] 天上大將軍&地下女將軍



撮影日付:1st June 2008
撮影場所:Seoul, Korea. (韓国ソウル)
機材:EOS Kiss digital + EF 24-70mm

雖然這張在仁寺洞拍得照片顯然過曝了,還是想留念一下。
「天上大將軍」和「地下女將軍」據說是韓國傳統的守護神,
可是我剛到韓國的時候,第一次看到這兩串漢字,
只是覺得so funny。
而且我會疑惑著為什麼大將軍可以在天上,女將軍就得在地上呢?
如果他們是couple的話,這樣永不得相聚,似乎也小小可悲:P
Anyway,這兩隻的外表還挺俏皮的,
希望他們是合作無間的good partner嚕。

Friday, June 13, 2008

[Korea 2008] 韓國巨大喜慶花籃



撮影日付:1st June 2008
撮影場所:Seoul, Korea. (韓国ソウル)
機材:EOS Kiss digital + EF 24-70mm

韓國的喜慶花籃的size還蠻驚人的,
不但比我還高出許多,而且總是一字排開~
在韓國,其實不太容易看到漢字,喜慶花籃的祝詞就是少數例外。

[Cat Note]
Transport Layer Protocol: 1) provides logical communication between applications on different host
2) implemented in the end systems but not in nw routers
3) TL Tx converts things to be sent into TL packets, known as TL segments. (TL header + chunk of things-to-be-sent)

[ACTIVATE PDP CONTEXT REQUEST]—[Quality of service]
maximum bit rate for uplink/downlink
In MS to network direction:
0 0 0 0 0 0 0 0 Subscribed maximum bit rate for uplink

Periodic Location Update:
1) to notify periodically the availability of MS to NW
2) controled by T3212 in MS (how to find the timer value? see 24.008/4.4.2)
3) will be delayed if met NO CELL AVAILABLE, LIMITED SERVICE, PLMN SEARCH

筆記一下Iu Mode(3G/WCDMA)的T3212要怎算,詳情請洽24.008和25.331
先找到System Information Block 1
最開頭是CN common GSM-MAP NAS system information
第一項CN domain system information list
的第一條cn-DomainIdentity cs-domain
的第一欄cn-Type gsm-MAP
會有4個16進位的digits像是'0A01'H
第一個Byte就是T3212啦,
不過,它是用十分之一小時(6分鐘)來表示的,
所以像這個例子,先把A換算成10進位等於10,然後乘6分鐘,
這個網路的T3212就是60分鐘啦。

再來是2G(GSM)的,2G是用System information type 3廣播,
找Control Channel Description的IE,
其中第4個octet定義成T3212 time-out value,
它的單位是decihours(6分鐘),所以找到這個值,換算成10進位後乘6就好了。
2G部分詳情請洽: 3GPP TS 04.18


Thursday, June 12, 2008

[Italy 2007] Duomo, Firenze



撮影日付:19th July 2007
撮影場所:Firenze, Italy. (イタリア)
機材:EOS Kiss digital + EFs 10-22mm

晚上赫然發現,
就職前的義大利旅行已經變成將近一年前的往事了,
時間真是快得令人心驚....

沒整理的照片還是一大堆,
這張是『冷静と情熱のあいだ』Aoi和順正
約定相會的Duomo大教堂,
廣角鏡曲解了然後又重新詮釋了古典建築的線條美。

一年後的最近,我還是用搭地鐵的時間讀著江國香織的小說,
『東京タワー』描寫毫無現實感的超年齡愛情,
我還是不懂那樣充滿架空感的人與人之間的關係,
和東京鐵塔有什麼絕對的關連性,
或許,只是因為symbol存在的必要性吧。

[Cat Note]
SACCH: Slow Associated Control Channel(GSM/signalling)
Find SIT(DL) and MR(UL) on this channel.
Note: GSM SIT not only on SACCH, it also on BCCH like SIB in WCDMA.

23.060/4
GPRS attach: makes MS available for SMS over GPRS, paging via the SGSN, and notification of incoming packet data.
Packet Data Protocol Activation: makes the MS known in the corresponding GGSN, and interworking with data networks can commence.
User data transferred transparently between MS and NW(GGSN) by encapsulation and tunnelling, avoid PLMN to interpret external data protocols.
☆ Each PLMN has two access points to GPRS services:
1) radio interface for mobile access (Um in A/Gb mode and Uu in Iu mode)
2) R reference point used for origination or reception of messages. (between MT & TE; typically supports a standard serial interface.)

printf("Error: %x\n", GetLastError());
MSDN System Error Codes Entering Page
http://msdn.microsoft.com/en-us/library/ms681381(VS.85).aspx

void *memset( void *dest, int c, size_t count );
Usage 0:
CHAR Buffer [BUF_SIZE];
memset(Buffer, 0, BUF_SIZE);

Usage 1:
void main( void )
{
char buffer[] = "Bad Cat says: memset test";
printf( "%s\n", buffer );
memset( buffer, '_', 7 );
// since the second parameter is int, don't forget to add '' for chars.
printf( "%s\n", buffer );
}

[Cat Debugging Note]
Because array starts from 0, don't do this next time:
int clearArray=BUF_SIZE;
while (clearArray>0){
printf("%c", Buffer[clearArray]);
Buffer[clearArray]=0;
clearArray--;
}
Correct:
int clearArray=BUF_SIZE-1;
while (clearArray>-1){
printf("%c", Buffer[clearArray]);
Buffer[clearArray]=0;
clearArray--;
}

Wednesday, June 11, 2008

[Korea 2008] 像民歌小演唱會的抗議活動





撮影日付:1st June 2008
撮影場所:Seoul, Korea. (韓国ソウル)
機材:EOS Kiss digital + EF 24-70mm

在仁寺洞附近的三一公園前拍下這兩張照片的時候,
每天關lab的我,
完全不知道韓國政局上到底發生了什麼事。
我吃完星期天的難得的美好午餐,
經過馬路另一頭聽到彈吉他的歌聲被吸引而來的時候,
還以為是小型民歌演唱會呢,
當看到台下的人戴著韓國國旗的遮陽帽,
又開始注意到附近有成隊的警察,我才發現有點異樣。

[Cat Note]
24.008/4.4.1 Location updating procedure
1) Normal Location Update must under MM_IDLE
2) If MM_IDLE but also RECEIVING_GROUP_CALL, need to leave group receiving mode.
3) Normal Location Update can be started if NW indicates MS is unknown to the VLR (Visitor Location Register)
Note: Location Updating Request has only one direction (MSàNW)
4) If LAU succeeds, MS sets status as UPDATED and stores Location Area Identification (on BCCH) in the USIM/SIM, and reset LUR attempt counter, which is to restrict the number of LUR attempts.
5) ME should keep "forbidden location areas for roaming", and erase it each time USIM is (power) off or periodically.
6) MS should keep “equivalent PLMNs list" up to 16 records and erase when USIM is removed (ME power status is not considered.)
7) The priority of emergency call is higher then LAU; LAU can be delayed in this case.

☆ Radio Bearer only used in connected mode. It can be categorized in to Signaling Radio Bearer (SRB: carries signaling) and Radio Access Bearer (RAB: carries user data or voice).

☆ Cell Reselection is by UE RRC layer, which occurred only in Idle Mode, Cell_FACH, Cell_PCH and URA_PCH. UE uses SIB (Idle: 3 and 11; others: 4 and 12, but if NW does not have, use 3 and 11) to decide which to change.
Note: In Cell_DCH, the mechanism similar to CR is Active Set Update.

Tuesday, June 10, 2008

[Korea 2008] 청진욱、해장국





撮影日付:1st June 2008
撮影場所:Seoul, Korea. (韓国ソウル)
機材:EOS Kiss digital + EF 24-70mm

這篇貼的照片可能是看了圖還是說不清的,
第一張照片裡是一碗粥,更正確地形容,是一碗湯泡飯,
蓋在青蔥下的內容物還有黑色的牛肚和牛血凍,
味道還OK,適合好奇韓國傳統食物想嚐鮮的旅者,
這家店在仁寺洞附近,地鐵「鐘閣」站大約徒步3分鐘的地方,
會找到這種奇特食物的店,當然是因為旅遊書的介紹,
書上的標題寫著,這是從少數戰前就有的老店~

著手準備著要給lab staff們的明信片,
裝著滿滿的感謝。

今天是"被遇到"日。一大早,走往公司的路上看到駭客N先生,他應該在東京office,所以我自動當成看錯,沒想到,駭客N先生竟然走過來對我打招呼。下班了,跑去Subway吃遲到的晚餐,突然有個人對我說,妳是Winnie吧?
小猫:對... 可是,對不起,請問你是?
答案是通過好幾次電話和mail的TM S先生。可是...我真的不記得我在哪裡看過你耶(或者說被你看過)。 然後又出現了一位和S先生同夥的(我腦袋依舊一片雪白), 答案更神奇了,名字似乎是某RD前天才和我提過的稀有device大戶G。欸,可是我不認識你耶,為什麼你也認得我。
下次出門帶個滑雪用的,把臉整個蓋住的帽子好了 @@

[Cat Note]
25.331/10.3.6.85 TPC combination index (FDD only)
--> Radio links with the same index have TPC bits, which for the UE are known to be the same.
Type and reference:Integer(0..5)
--> Because max number of Node-B that an MS can connect via cells in Active Set is six.

Softer Handover: Softer handover occurs when multiple radio links exist between the UE and different cells belonging to the same Node B.
Combined Soft and Softer Handover: Soft and softer handover are not mutually exclusive.

dwShareMode: can be read, write, both, delete, all of these, or none
FILE_SHARE_READ(0x00000001)
FILE_SHARE_WRITE(0x00000002)
FILE_SHARE_DELETE(0x00000004): Delete access allows both delete and rename operations
0: the "File" cannot be shared/opened again until the handle is closed.
dwCreationDisposition
Only one from these(according to MSDN/textbook says can use the bit-wise or):
CREATE_NEW(1): if failed, the last-error code is ERROR_FILE_EXISTS (80)
CREATE_ALWAYS(2): LEC is ERROR_ALREADY_EXISTS (183)
OPEN_EXISTING(3): LEC is ERROR_FILE_NOT_FOUND (2)
OPEN_ALWAYS(4): LEC is ERROR_ALREADY_EXISTS (183)
TRUNCATE_EXISTING(5): the called file must have GENERIC_WRITE as dwDesiredAccess. LEC is ERROR_FILE_NOT_FOUND (2)
BOOL CLoseHandle(HANDLE hObject)
Return: True for OK, False for otherwise.
☆ Windows supports 8-bit(CHAR) and 16-bit (WCHAR)characters
8-bit is claimed to be ASCII but actually Latin-1

Monday, June 09, 2008

[Korea 2008] 街の風景@明洞



撮影日付:31st MAY 2008
撮影場所:Seoul, Korea. (韓国ソウル)
機材:EOS Kiss digital + EF 24-70mm

照片裡是一家連鎖店,拍它的原因是,
我總是把它的店名的後段,不小心看成我的英文名字:P

今天突然爆出來的issue真是充滿了ironic啊,
第一次看到userData正確decode那瞬間,有種徹底輸了的感覺。
還好最後證明是SS問題,
最開始看到一堆方塊加上怪怪字除了沮喪,我差點被嚇死,
因為moving也是我的,UCS2也是我的,
萬一兩個真的都出問題,不就代表了我之前都在打混 @@

[Cat Note]
dwDesiredAccess: might be read (GENERIC_READ), write (GENERIC_WRITE), bot (GENERIC_READ | GENERIC_WRITE) or neither
if zero (neither): AP can query certain metadata (e.g. file, directory, or device attributes) without accessing the "File"

23.040/3.1
MS shall be able to receive/submit SMS-DELIVER/SMS-SUBMIT at any time, independently of whether or not there is a speech or data call in progress.
QXDM/QCAT bug:
Can not parse TP-Service-Centre-Time-Stamp (TP-SCTS) Time Zone correctly.
Solution:
23.040/9.2.3.11: The Time Zone indicates the difference, expressed in quarters of an hour, between the local time and GMT.In the first of the two semi-octets, the first bit (bit 3 of the seventh octet of TP-SCTS field) represents the algebraic sign of this difference (0: positive, 1: negative).
→ If serv_cent_time_stamp_tz = 99 (0x63)
63 = 0110 0011 (bit 3 = 0 so positive)
put in reverse way and devided by 4
36/4=9(+9:00)

Sunday, June 08, 2008

[Korea 2008] 明洞。火爐妍







撮影日付:31st MAY 2008
撮影場所:Seoul, Korea. (韓国ソウル)
機材:EOS Kiss digital + EF 24-70mm

不是待在韓國的最後一天,卻是last feast。
珍惜和感謝可以經歷的這一切,
不是歸人只是個過客,
我不該眷戀,我唯一能做的是扎實地裝好行囊,往下一站走去。

[Cat Study Note]
windows.h: contains all Windows function definitions and data type.

HANDLE CreateFile(LPCTSTR lpFileName, DWORD dwDesiredAccess, DWORD dwShareMode, LPSECURITY_ATTRIBUTES lpSecurityAttributes, DWORD dwCreationDisposition, DWORD dwFlagsAndAttributes, HANDLE hTemplateFile);
Usage: opening existing files and creating new files
Return Value:
Successful case: an open handle to the "File"(in broad meaning)
Failed case: INVALID_HANDLE_VALUE
Q: why int main (int argc, LPTSTR argv[]) but LPCTSTR lpFileName?
--> Since lpFileName(s) will be constant(s) and changing from LPTSTR to LPCTSTR has added more restriction, the transformation is not illegal.

24.008/4.3.6.2 MM Information in MS
If support, MS should accept the message and optionally use it.
If not, MS should ignore and return MM STATUS with cause #97(0110 0001; Message type non-existent or not implemented)
4.4 specific MM
-- only one specific MM at one time
-- common MM can be initiated during a specific MM
-- if CM requests the second specific MM, can reject or delay, depends on implementation

Saturday, June 07, 2008

[Korea 2008] 뽑기



撮影日付:31st MAY 2008
撮影場所:Seoul, Korea. (韓国ソウル)
機材:EOS Kiss digital + EF 24-70mm

在明洞拍的;뽑기是韓國路邊攤還蠻常見的項目,
雖然外表看起來很像是給小孩子的棒棒糖,
它有接近脆餅的口感,味道卻甘中帶點焦苦,
應該就是日文裡不折不扣的「おとなの味」吧。

[讀書筆記]
當UE在idle mode的時候,有3件task該做:
1) PLMN selection (自動\手動)
2) Cell selection and reselection
3) Location registration (registration area改變時)
這三個task的相互關係在
25.304 Figure 1: Overall Idle Mode process

Friday, June 06, 2008

[Korea 2008] Seoul Zoo







撮影日付:31st MAY 2008
撮影場所:Seoul, Korea. (韓国ソウル)
機材:EOS Kiss digital + EF 24-70mm

總覺得,去動物園,不是去看動物的,
而是去被動物們看的 ^^

Thursday, June 05, 2008

[Korea 2008] Seoul Rose Garden II







撮影日付:25th MAY 2008
撮影場所:Seoul, Korea. (韓国ソウル)
機材:EOS Kiss digital + EF 24-70mm

Seoul Rose Garden的玫瑰數量和佔地大小,
遠超出我的預期,對一個成天關在lab工作的人而言,
走進如此充滿鮮豔色彩和花香的世界,
無疑是對生活兩字的強烈震撼。
當時我真的很想很想和誰分享我的心情和眼前的風景,
不過,即時我的USIM是韓國國內CS+PS無上限,
我卻完全不知道我究竟該打給誰.....

【Cat Study Note】
4.3.6 MM Information
1) optional to NW
2) may be invoked by NW anytime there RR exists
4.3.6.1 initiated by NW
1) should send none, one or more than one; if more than one, need not have the same content

☆ [MS-DTYP] 2.2.33 LPTSTR (32-bit pointer)
If UNICODE support is enabled, an LPTSTR is a 32-bit pointer to a null-terminated string of 16-bit UNICODE characters.
If not enabled, an LPTSTR is a 32-bit pointer to a null-terminated string of 8-bit Windows (ANSI) characters.
☆ [MS-DTYP] 2.2.7 DWORD (32-bit unsigned integer)
A DWORD is a 32-bit unsigned integer (range: 0 through 4294967295 decimal). Its first bit(MSB) is not reserved for signing.
☆ CloseHandle (Function)
If the function succeeds, the return value is nonzero.
If fails, it returns zero.
Generally, an application should call CloseHandle once for each handle it opens.

Wednesday, June 04, 2008

[Korea 2008] 第四樂章



撮影日付:25th MAY 2008
撮影場所:Seoul, Korea. (韓国ソウル)
機材:EOS Kiss digital + EF 24-70mm

演奏了三個月的曲子,現在,我終究還是來到了這裡——第四樂章;
緊接著的,也許是下一首曲目,也許就剩安可曲了。

Many Thanks to
Team leaders T/A: 給我的chance和隨時的advices。
M一族G/M/S/L/J: 對我還極度不成熟的做人處事態度的包容。
Radio RD H/Ta/Ti: 在WCDMA技術領域上的指教還有每一次HomeLab的幫忙
RIL RD Y: 積極的工作態度;you are really a great RD and a gentle guy.
MASD RD Y: 總是耐心釐清問題和對我三更半夜唉唉叫的時候的加油打氣
Field Trial O/C: 在我剛到韓國人生地不熟的時候的關照
Customer Lab Staff N/S/P/P/I: 對我這個外國人的耐心、寬待與照顧;你們的warm heart真的讓我超感動,很幸運可以在lab裡與你們共事
其他還有: SSD RD J/F;MASD RD D/S/J/T/P/B/R;SQA J/P/J/K/R;PE H;EPM B。謝謝你們。

Sunday, June 01, 2008

Starbucks Mug—Korean Script (Korea)


スターバックス・マグ―—韓国。ハングル
(星巴克主題杯/星巴克主題馬克杯。韓國。韓國文字。)

★ My Starbucks City Mug Collection Homepage [link]