29 4月 2010

amazing defense!!!


This picture is so funny.
I must share with you, this is called "DEFENSE!" from expert 'Ron Artest'.
XD


purpose of blogging.

有時候會想, 到底blog有什麼意義, 私底下寫日記不是更可以東唸西罵嗎 :P
除了練習不怕被人看到的文筆, 或許就是分享吧.

回想當初註冊此blog space的原因, 也是想紀錄一些programming的心得,
或許哪天可以幫到人, 希望啦 (笑)

就像剛開始工作那段時間, 如果沒有一些熱心的blog, 還有對岸牛人們的CSDN,
不敢想像沒人可問的工作內容, 我該怎麼辦.

今天再度證實所想,
好的blog, 往往在工作疲憊之於, 可以給人一劑強心針, 繼續向前。
下午在coding real-time charts drawing from modules data時,
頭昏眼花,
乾脆偷閒5分鐘, 看一下網路open source 神人Jim Huang的blog,
再度熱血沸騰起來,

誰說blogging浪費時間呢?
雖然現在的我還沒辦法寫出這麼有料的article,
keep blogging.

28 4月 2010

養成隨手一篇的習慣吧!

最近手邊多了很多的書, 生日禮卷也好, 訂閱的雜誌也好, 書展戰利品也好, 抑或因一起騎腳踏車, Ajay借我的阿姆斯壯傳記...
一直努力、持續的看, 卻沒有一個明確的段落, 因為不管哪本都是興致滿滿, 抓了就先看再說,
漸漸的, 家裡多了很多本看到一半的書, 這樣似乎不太對..

好吧!先把日前常常伴我入眠的『邂逅之森』看完。

Q公司送我的09年生日禮物, 小說, 內容有關日本獵人、礦工文化的愛情小說.
流暢、動人、外帶一點小誇張, 反正是小說嘛, 也就別這麼認真看待了。(笑)

本想寫個簡短介紹, 作為讀後心得系列的開端, 夜已深, 為了明天的躲避球資格賽,
先滾去睡, 至少完成了半生不熟的讀書記錄。

11 4月 2010

solution of debugging console app with VS2005

Record this solution for constructing a debug version console app.
Especially useful for writing a simple OpenGL project.

//----------------------------------------------------------------//
(Forward)
Error Msg:
Debugging information for "YourProject.exe" cannot be found or does not match. Binary was not built with debug information.
Resolution:
To enable debugging:

1) Goto Project->HelloWorld Properties
2) On the left expand "Configuration Properties"
3) Expand "C/C++"
4) On the left, Select "General"
5) On the right, change "Debug Information Format" to "Program Database For Edit And Continue (/ZI)"
5) On the left, Select "Optimization"
6) On the right, change "Optimization" to "Disabled (/Od)"
7) On the left, expand "Linker"
8) On the left, select "Debugging"
9) On the right, change "Generate Debug Info" to "Yes"
10) Click ok
11) Set your breakpoints
12) Rebuild your application