I currently evaluating Qt and want to make a quick start on this package. I recommend books are
1. Introduction to Design Patterns in C++ with Qt 4(2008)
Good to review C++ conecpts in a short time.
Evaluated version is different with the book published on 2006. Ebook can be downloaded here
http://lawand.wordpress.com/site-map/computer-science/e-books/introduction-to-design-patterns-in-cpp-with-qt-4/
2. C++ GUI Programming with Qt4(2nd ed. 2008)
Good step by step exercises to be familiar with Qt.
3. Advanced Qt Programming(2010)
Updated reference and advanced topics.
2010年8月18日 星期三
2010年8月11日 星期三
Good Words in House
~House S06E10
Foreman argued about his salary and Cuddy replied a good answer(I think)
"Salary isn't about fairness.
It's about what you can leverage in negotiation.
Which isn't much without a competing offer on the table."
Foreman argued about his salary and Cuddy replied a good answer(I think)
"Salary isn't about fairness.
It's about what you can leverage in negotiation.
Which isn't much without a competing offer on the table."
2010年8月9日 星期一
Qt on Embedded Arm Linux
比想像中容易,follow the instruction
http://doc.trolltech.com/4.6/qt-embedded-install.html
http://doc.trolltech.com/4.6/qt-embedded-crosscompiling.html
Handy: 一開始,Toolchain的路徑當然要指向cross-compile
//in qt-everywhere-opensource-src-4.6.3
$ ./configure -embedded arm -xplatform qws/linux-arm-g++
$ make
$ file lib/libQtCore.so.4.6.3
libQtCore.so.4.6.3: ELF 32-bit LSB shared object, ARM, version 1 (SYSV), dynamically linked (uses shared libs), not stripped
Handy: built lib資訊顯示是Arm的就對了
Handy: 接下來是在target run sample
$ cd demos/embedded/fluidlauncher
$ ./fluidlauncher -qws
$ cd demos/affine
$ ./affine -qws
//precondition for the demo above
$ ln -s $PWD/lib/libQtGui.so.4.6.3 /lib/libQtGui.so.4
$ ln -s $PWD/lib/libQtNetwork.so.4.6.3 /lib/libQtNetwork.so.4
$ ln -s $PWD/lib/libQtCore.so.4.6.3 /lib/libQtCore.so.4
$ mkdir /usr/local/Trolltech/QtEmbedded-4.6.3-arm/lib
$ ln -s $PWD/lib/fonts /usr/local/Trolltech/QtEmbedded-4.6.3-arm/lib/fonts
Handy: 其實只要copy需要的library和fonts就夠了
TODO:
1. X86上面的ARM模擬環境
2. ARM上面framebuffer的加速, library size的縮小
http://doc.trolltech.com/4.6/qt-embedded-install.html
http://doc.trolltech.com/4.6/qt-embedded-crosscompiling.html
Handy: 一開始,Toolchain的路徑當然要指向cross-compile
//in qt-everywhere-opensource-src-4.6.3
$ ./configure -embedded arm -xplatform qws/linux-arm-g++
$ make
$ file lib/libQtCore.so.4.6.3
libQtCore.so.4.6.3: ELF 32-bit LSB shared object, ARM, version 1 (SYSV), dynamically linked (uses shared libs), not stripped
Handy: built lib資訊顯示是Arm的就對了
Handy: 接下來是在target run sample
$ cd demos/embedded/fluidlauncher
$ ./fluidlauncher -qws
$ cd demos/affine
$ ./affine -qws
//precondition for the demo above
$ ln -s $PWD/lib/libQtGui.so.4.6.3 /lib/libQtGui.so.4
$ ln -s $PWD/lib/libQtNetwork.so.4.6.3 /lib/libQtNetwork.so.4
$ ln -s $PWD/lib/libQtCore.so.4.6.3 /lib/libQtCore.so.4
$ mkdir /usr/local/Trolltech/QtEmbedded-4.6.3-arm/lib
$ ln -s $PWD/lib/fonts /usr/local/Trolltech/QtEmbedded-4.6.3-arm/lib/fonts
Handy: 其實只要copy需要的library和fonts就夠了
TODO:
1. X86上面的ARM模擬環境
2. ARM上面framebuffer的加速, library size的縮小
2010年8月6日 星期五
辦公室信任指數大調查
http://tw.news.yahoo.com/article/url/d/a/100806/5/2am8u.html
根據360d才庫人力資源顧問「辦公室信任指數大調查」,受訪上班族有7成1認為人性「本善」,但有7成4認為職場環境險惡。
調查指出,僅有6%上班族對主管或同事抱持「完全信任」態度,而不信任主管的為42%,高於不信任同事的36%。
至於不信任主管或同事的主因,前三名分別為「認為人都是自私自利的,只能相信自己」占43%、「曾在工作上被出賣過」 (22%),以及「看過主管或同事為求表現不擇手段」 (20%)。
上班族對公司信任態度方面,調查顯示,37%受訪者不信任所在公司;至於不信任的原因,62%受訪者抱持「過一天算一天」的工作態度,21%「考慮隨時換公司」。
不過,要改變職場險惡也絕非不可能,調查發現,若要獲得同事或部屬信任,5成7受訪者認為「工作上有苦同享、有難同當」是不二法門,其次為「工作上給予協助指導」占15%、「對工作有責任擔當」占11%。
調查也指出,62%上班族認為和公司裡同部門同事「最麻吉」,但也有15%坦承「同事之交淡如水」;在互動情況方面,41%受訪者會和同事相約吃飯或逛街,39%則和同事「僅止於公事往來」。
360d才庫人力資源顧問公司進行「辦公室信任指數大調查」網路問卷,調查期間為99年7月22日至30日,總計回收有效樣本1036份。990806(圖表為中央社製作)
根據360d才庫人力資源顧問「辦公室信任指數大調查」,受訪上班族有7成1認為人性「本善」,但有7成4認為職場環境險惡。
調查指出,僅有6%上班族對主管或同事抱持「完全信任」態度,而不信任主管的為42%,高於不信任同事的36%。
至於不信任主管或同事的主因,前三名分別為「認為人都是自私自利的,只能相信自己」占43%、「曾在工作上被出賣過」 (22%),以及「看過主管或同事為求表現不擇手段」 (20%)。
上班族對公司信任態度方面,調查顯示,37%受訪者不信任所在公司;至於不信任的原因,62%受訪者抱持「過一天算一天」的工作態度,21%「考慮隨時換公司」。
不過,要改變職場險惡也絕非不可能,調查發現,若要獲得同事或部屬信任,5成7受訪者認為「工作上有苦同享、有難同當」是不二法門,其次為「工作上給予協助指導」占15%、「對工作有責任擔當」占11%。
調查也指出,62%上班族認為和公司裡同部門同事「最麻吉」,但也有15%坦承「同事之交淡如水」;在互動情況方面,41%受訪者會和同事相約吃飯或逛街,39%則和同事「僅止於公事往來」。
360d才庫人力資源顧問公司進行「辦公室信任指數大調查」網路問卷,調查期間為99年7月22日至30日,總計回收有效樣本1036份。990806(圖表為中央社製作)
2010年8月3日 星期二
心得for Make Right Connections by Osteen
人脈廣還不如一個貴人有效, 上帝安排了你的貴人也安排你成為別人的貴人, 即使貴人還沒出現, 但仍不要忘了上帝為我們安排的旨意裡, 也包括要成為別人的貴人
原文:
原文:
Make Right ConnectionsTODAY'S SCRIPTURE"A man of many companions may come to ruin, but there is a friend who sticks closer than a brother" (Proverbs 18:24, NIV). TODAY'S WORD from Joel and VictoriaDo you know how important it is to be connected to the right people? Your destiny is too big to accomplish on your own. But God has already arranged for certain people to speak faith into you. He has already placed in your path people who will inspire you, challenge you and help you accomplish your dreams. But the reason some people never reach their highest potential is because they never get away from the wrong people. Recognize today that not everyone can go where God is taking you. You've got to connect with people who understand your destiny and can call forth your seeds of greatness. You don't have time to spend on people who are always pushing you down, telling you what you can't do, or never giving you their approval no matter how hard you try. Friend, life is too short to drag people along. If you will get the wrong people out of your life, then God will bring in the right people so you can fulfill the destiny He has in store for you. A PRAYER FOR TODAY Father in heaven, thank You for placing the right people in my life. Help me to discern the right connections You have for me. Give me strength to release the wrong relationships so I have room in my life for the people You have chosen to connect with me. In Jesus' Name. Amen. - Joel & Victoria Osteen |
Rebuild directFB demo
Rebuild directFB demo
(http://free-electrons.com/community/demos/qemu-arm-directfb/)
Host: Ubuntu 904, GCC by SourceryG++Lite 2008Q3
qemu-system-arm -M versatilepb -m 16 -kernel zImage
Note
1. As compiling kernel linux-2.6.20, get the error..
scripts/mod/sumversion.c:384: error: ‘PATH_MAX’ undeclared
Reference kernel linux-2.6.28, add following
#include <limits.h>
2. gawk: command not found
sudo apt-get install gawk
(http://free-electrons.com/community/demos/qemu-arm-directfb/)
Host: Ubuntu 904, GCC by SourceryG++Lite 2008Q3
qemu-system-arm -M versatilepb -m 16 -kernel zImage
Note
1. As compiling kernel linux-2.6.20, get the error..
scripts/mod/sumversion.c:384: error: ‘PATH_MAX’ undeclared
Reference kernel linux-2.6.28, add following
#include <limits.h>
2. gawk: command not found
sudo apt-get install gawk
Don't throw the baby out with the bathed water
Don't throw the baby out with the bathed water.When you get rid of something useless, be careful, because maybe something valuable is there. I am eager to realize and deep down my profession. When I found this company cannot give me the opportunity to fulfill, I feel frustrated and thinking to leave. But that's right, there are something valuable I can do here. If I don't care the people and organization, I can keep my own pace moving and prepare myself. Be prepared and waiting for the opportunity. Anything can not be done more effecient than others, don't do it. That's not your dish.
If you are throwing worthless things away, and there are something valuable combined on it. You have to give up all or nothing. Separate them is not possible, but you can still find a way to use the good and then drop them all.
認識自己, 積極準備, 堅持理想, 抓準時機
If you are throwing worthless things away, and there are something valuable combined on it. You have to give up all or nothing. Separate them is not possible, but you can still find a way to use the good and then drop them all.
認識自己, 積極準備, 堅持理想, 抓準時機
訂閱:
文章 (Atom)