For people who came from software engineering background, all are familiar with STL, standard template library, having containers, iterators, algorithms, and functions. Now, quietly, there comes Boost library, which specializes on generic programming and meta-programming. The gossips over the internet indicated it to be high bar open source project, touching topics like linear algebra, regular expression, image processing... Most of the source files were just header files, no need for compilation. I think this library is next item to learn for people who just conquered STL. Check out these links:
Boost Threading Tutorial
Boost Regex Tutorial by O'Reilly
Sunday, October 17, 2010
Monday, October 11, 2010
Get Visual Studio project files from Qt .pro project file
For VS2008:
qmake -spec win32-msvc2008 -tp vc
For VS2005:
qmake -spec win32-msvc2005 -tp vc
qmake -spec win32-msvc2008 -tp vc
For VS2005:
qmake -spec win32-msvc2005 -tp vc
Sunday, October 10, 2010
Qt 4.7 partial rebuild took nearly 7h
Lately, I downloaded the latest Qt 4.7 for VS2008 from Nokia website. And found out that I have to rebuilt it statically in order to avoid loading Qt dlls. Since I need webkit and image support, I put down the following commands and wanted to get it ready after a coffee break:
C:\Qt\4.7.0>configure -static -qt-sql-sqlite -no-qt3support -no-opengl -platform win32-msvc2008 -no-dbus -no-phonon -no-phonon-backend -webkit -qt-libjpeg -no-mmx -no-openssl -qt-gif -qt-libpng -no-3dnow -qt-libtiff -multimedia -audio-backend
..
I got the partial rebuilt done in 7 h on my lenovo T61. It has built release and debug versions of above mentioned library.
C:\Qt\4.7.0>configure -static -qt-sql-sqlite -no-qt3support -no-opengl -platform win32-msvc2008 -no-dbus -no-phonon -no-phonon-backend -webkit -qt-libjpeg -no-mmx -no-openssl -qt-gif -qt-libpng -no-3dnow -qt-libtiff -multimedia -audio-backend
..
I got the partial rebuilt done in 7 h on my lenovo T61. It has built release and debug versions of above mentioned library.
Wednesday, October 6, 2010
UI extensions for mobile development
Just learnt that there is more opened source since Feb 15 from qt lab. Good stuff. Checking out
There is someone who is trying to put it on Symbian^3 PDK.
There is someone who is trying to put it on Symbian^3 PDK.
Saturday, October 2, 2010
Mercurial: abort: no username supplied (see “hg help config”)
While submitting bug fix to Symbian ORG, I got
M:\sf\adapt\qemu>hg commit -m "Bug xxx - My proposed fix for xxx"
abort: no username supplied (see "hg help config")
I solved the problem by creating a file: Mercurial.ini under
c:\Program Files\TortoiseHg\
with the content
[ui]
username = Firstname Surname
verbose = True
M:\sf\adapt\qemu>hg commit -m "Bug xxx - My proposed fix for xxx"
abort: no username supplied (see "hg help config")
I solved the problem by creating a file: Mercurial.ini under
c:\Program Files\TortoiseHg\
with the content
[ui]
username = Firstname Surname
verbose = True
Friday, October 1, 2010
Should Nokia move its headquarter to US?
In the open letter from J. Gerry Purdy on eweek.com, one of his seven recommendation was to persuade Elops to move Nokia headquarter to US. Very sharp ideas, indeed if you read it out. Gerry put the cause of Nokia's recent sluggish performance on the fact that it's geographically far away from U.S. Well, is that the reason? I doubted.
Every player in mobile arena were climbing two hills: the technology hill and the cost hill. The rule is clear, whoever take the summit will enjoy the big lumpsum; whoever can take both both summits will be king.
A fire destoryed Ericsson
In black&white area, Nokia, Ericsson and Morotola was competing with each other on: signal strength, voice quality and industrial design late in last century. At the turning point of new century, a fire in Philips factory in New Mexico caused serious financial loss to Ericsson, because Ericsson is single sourced. Although Nokia is affected by that fire, it begun already to take alternative sources and started to build cheaper and cheaper phones. In the end, Ericsson has to spin off its mobile division.
Moible user interface throw Siemens out
Early in 21st century, the theme : multimedia defined next summit. Colored LCD screen and 3G entered mobile phones. In 2005, Simens Mobile was sold to BenQ because it can not catch up the pace with competitors in upgrading its symbian user interface. But in 2006, BenQ had to liquidate Siemens Mobile. To climb the technology hill is not easy. Simens Mobile was the causalty.
Nokia N76 punched Motorola in face
Motorola's razer was then "iPhone" in the world: Thin, Light and Sleek. Razer was then a symbol of US technology. However, Motorola failed to diversify its product portfolio in 5 years after its first Razer. In 2007, Nokia launched N76, Nokia's "Razer", QVGA color display, 3G, music player, 2GB storage, send and receive emails, besides T, L, S. Motorola was then in trouble and soon disappear from Top 5 chart. Rumors were going around everywhere that it might split itself into two and therefore spin off mobile division when buyer approaches.
Steve Jobs's secret weapon
While Nokia is punching Motorola with N76 and is hitting BlackBerry with E66, Apple released their result of 3 year in house engineering: the revolutionary multi-touch iPhone , in 2007. From no where, Apple took the summit of technology hill. Maybe parachuted from the air, Nokia may feel like. But Nokia remained strong. However, the rule in mobile industry started to change. Apple introduced: the hill of usability and the ideology of ecosystem.
Android, the saver
When Sony-Ericsson and Motorola were tumbling during the financial crisis and the world were awaiting for them either to file bankcrupcy or go for auction, Android came to our scene. The internet knight, Google, bought a startup company named Android and started to enter mobile world with its powerful search services too. Android is fantastic, multi-touch capable and most importantly FREE, comparing to Symbian OS. Adroids were booming like mushrooms after rain. Indeed, people are bored with Nokia's engineer centric user interfaces: more then 7 steps to switch off bluetooth.
The paradox
Yes, it was as Gerry said, Nokia's north America market is "in toilet" but Nokia is flourishing in emerging markets: India and China, Latin America. Strange, isn't it? Though Nokia was confused about usaiblity hill and ecosystem, Nokia is still remain at the summit of the hill of cost and the technology hill. Don't laugh at me when I tell Nokia is still at the technology hill, because I would laugh at how Apple advertise itself: iPhone 3GS got 3G after Nokia had 3G for long; iPhone Video Call after Nokia had video for ages..
How shall we conclude from the brief war history of mobile phones? How shall we suggest to Nokia on what to do next? How shall Elops decide his radical strategy to transform Nokia? I would call it the conflict between mobile phone world and PC world. Nokia, Google and Apple were strong in their own teritory. When the border between a mobile phone and a laptop PC disappeared in 2005, Google and Apple decided to compete with Nokia. Apparently, OPK also decided to step in to PC world via Ovi online store. At the moment, it looks like Goolge and Apple have a upper hand, but the game just began though it's been few years. I don't believe stakeholders of Google would like to give free "food" to Motorola and Sony-Ericsson, HTC. Google is yet to play another drama with his Android followers, like Bankers are dealing with its borrowers. The high end market in the world are saturated with iPhones at the moment in recent 3 years. What will Apple do to keep tangible revenue growth? Remember the fact is it took Nokia 4-5 years to catch Motorola's Razer.
Let's come back to Gerry's seven suggestion to Nokia's CEO Stephen Elops. Gerry is right in the aspect that Nokia shall use the think tank in US to upgrade its industrial design and improve its consumer appeal. I think that's the key to climb the hill of usability. However to climb up the hill of ecosystem, Gerry has not got clear directions. Moving headquarter would be just a political show only, may raise people's eyebrow for a while but I don't see any positive effect.
Every player in mobile arena were climbing two hills: the technology hill and the cost hill. The rule is clear, whoever take the summit will enjoy the big lumpsum; whoever can take both both summits will be king.
A fire destoryed Ericsson
In black&white area, Nokia, Ericsson and Morotola was competing with each other on: signal strength, voice quality and industrial design late in last century. At the turning point of new century, a fire in Philips factory in New Mexico caused serious financial loss to Ericsson, because Ericsson is single sourced. Although Nokia is affected by that fire, it begun already to take alternative sources and started to build cheaper and cheaper phones. In the end, Ericsson has to spin off its mobile division.
Moible user interface throw Siemens out
Early in 21st century, the theme : multimedia defined next summit. Colored LCD screen and 3G entered mobile phones. In 2005, Simens Mobile was sold to BenQ because it can not catch up the pace with competitors in upgrading its symbian user interface. But in 2006, BenQ had to liquidate Siemens Mobile. To climb the technology hill is not easy. Simens Mobile was the causalty.
Nokia N76 punched Motorola in face
Motorola's razer was then "iPhone" in the world: Thin, Light and Sleek. Razer was then a symbol of US technology. However, Motorola failed to diversify its product portfolio in 5 years after its first Razer. In 2007, Nokia launched N76, Nokia's "Razer", QVGA color display, 3G, music player, 2GB storage, send and receive emails, besides T, L, S. Motorola was then in trouble and soon disappear from Top 5 chart. Rumors were going around everywhere that it might split itself into two and therefore spin off mobile division when buyer approaches.
Steve Jobs's secret weapon
While Nokia is punching Motorola with N76 and is hitting BlackBerry with E66, Apple released their result of 3 year in house engineering: the revolutionary multi-touch iPhone , in 2007. From no where, Apple took the summit of technology hill. Maybe parachuted from the air, Nokia may feel like. But Nokia remained strong. However, the rule in mobile industry started to change. Apple introduced: the hill of usability and the ideology of ecosystem.
Android, the saver
When Sony-Ericsson and Motorola were tumbling during the financial crisis and the world were awaiting for them either to file bankcrupcy or go for auction, Android came to our scene. The internet knight, Google, bought a startup company named Android and started to enter mobile world with its powerful search services too. Android is fantastic, multi-touch capable and most importantly FREE, comparing to Symbian OS. Adroids were booming like mushrooms after rain. Indeed, people are bored with Nokia's engineer centric user interfaces: more then 7 steps to switch off bluetooth.
The paradox
Yes, it was as Gerry said, Nokia's north America market is "in toilet" but Nokia is flourishing in emerging markets: India and China, Latin America. Strange, isn't it? Though Nokia was confused about usaiblity hill and ecosystem, Nokia is still remain at the summit of the hill of cost and the technology hill. Don't laugh at me when I tell Nokia is still at the technology hill, because I would laugh at how Apple advertise itself: iPhone 3GS got 3G after Nokia had 3G for long; iPhone Video Call after Nokia had video for ages..
How shall we conclude from the brief war history of mobile phones? How shall we suggest to Nokia on what to do next? How shall Elops decide his radical strategy to transform Nokia? I would call it the conflict between mobile phone world and PC world. Nokia, Google and Apple were strong in their own teritory. When the border between a mobile phone and a laptop PC disappeared in 2005, Google and Apple decided to compete with Nokia. Apparently, OPK also decided to step in to PC world via Ovi online store. At the moment, it looks like Goolge and Apple have a upper hand, but the game just began though it's been few years. I don't believe stakeholders of Google would like to give free "food" to Motorola and Sony-Ericsson, HTC. Google is yet to play another drama with his Android followers, like Bankers are dealing with its borrowers. The high end market in the world are saturated with iPhones at the moment in recent 3 years. What will Apple do to keep tangible revenue growth? Remember the fact is it took Nokia 4-5 years to catch Motorola's Razer.
Let's come back to Gerry's seven suggestion to Nokia's CEO Stephen Elops. Gerry is right in the aspect that Nokia shall use the think tank in US to upgrade its industrial design and improve its consumer appeal. I think that's the key to climb the hill of usability. However to climb up the hill of ecosystem, Gerry has not got clear directions. Moving headquarter would be just a political show only, may raise people's eyebrow for a while but I don't see any positive effect.
Subscribe to:
Posts (Atom)