Tuesday, December 29, 2009

Android的成功是对自由软件的一大威胁?

Original article extracted from Solidot...

Blog Notes:

Android is developed from open source freeware. And the trend is most of the applications developed for Android are NOT FREEWARE. That is a very interesting trend. Is this the intention when Linux was created at the first place?


Android的成功是对自由软件的一大威胁?




Google在推出基于Linux的Android平台两年之后,智能手机市场终于感受到了它的存在。



至今Android平台已有大约20000款应用程序,虽然和苹果iPhone上的应用程序数量相比差距明显,但引人注目的是它的数量在数个月内翻了一番。然而,一个值得关注的问题是:极少有Android应用程序是自由软件。于是我们便目睹了一个新的混合组合:底层是开源软件Linux,顶层却是私有软件。正如许多人所相信的,手机将成为世界上最主要的计算平台,因此这种趋势将成为事关自由软件生态系统健康的大问题。Ubuntu正努力让Android应用程序能运行在流行的Linux桌面发行版上。Android的成功不仅伤害到自由软件在移动领域的机遇,甚至还可能伤害到桌面领域。自由软件社区需要鼓励更多的开发者开发出真正自由的Android应用程序。

Developing For Android vs The iPhone: One Developer's Experience

Original article extracted from IMerlion

Blog Notes:

Today, I was talking to a developer who develops software clients on the smartphone for my company. They told me that, currently their software works on the Google Android phones, but not the HTC Hero. Somehow, the "keypad" functions were re-written by HTC and the cross platforms codes has failed to work as the APIs are a bit different. And they have not yet tried Motorola's Droid or other new Android phone sets yet.

This has reminded me about the failure of Microsoft CE or Windows Mobile who has make the original mistake, by allowing your OEM's partner to change the codes specifically to their liking...

Google have to put a stop to it? Otherwise, there will be multiple OS within the same Android OS platform, and they will never catch up Apple's iPhone, iPod Touch or the iSlate...

Apple / iPhone Rules....

--ken


Developing For Android vs The iPhone: One Developer's Experience





Thye Chean's Space War for the iPhone was originally developed for the Android platform.

In the great iPhone versus Android debate, a common argument is that the open nature of the Android platform will eventually steamroll over the walled garden that is the iPhone. As more and more manufacturers come up with their own devices, they will eventually eat up Apple’s marketshare, or so the argument goes.

However, what Android defenders omit or play down is the fragmentation of the platform that results from having multiple devices, with multiple screen sizes and screen resolutions, and varying capacities, all running customised versions of Android. The greatness, or otherwise, of the Google Phone, does not remove this problem. In fact, it contributes to it, being yet another device on an already fragmented platform.

How bad is the problem of fragmentation? The example of developer Lim Thye Chean gives us an insight into the problems faced by an indie developer on the Android platform.

Thye Chean is the Singapore-based CTO of a Malaysian-based tech company. He is also the father of 10-year-old iPhone developer Lim Ding Wen of Doodle Kids fame. Thye Chean developed a Space Invaders clone on the Android platform called Space War to encourage his son to develop his own arcade game for the iPhone.

Space War now occupies a top 10 slot in Android’s arcade games category. However, the problems with ensuring that this game is compatible with different Android phones has given Thye Chean so many headaches that he is taking a break from the Android platform.

When he first released Space War on the HTC Dream and HTC Magic, things went well. However, when the HTC Hero came along, the problems began. He began getting bug reports that the game crashed, and this was a problem he could not duplicate until he got a Hero himself.

“I found that in the Hero, immediately after installation, the sound file will return a NULL value on start-up. However, once it goes through the first crash, it will subsequently work. I ‘solved’ this problem by not playing any sound (since it is NULL) rather than letting it crash.” He still does not know why the problem occured.

When the HTC Tattoo came along, he played around with it but because it had a very small resistive screen, it was hard to use so he decided to not support the Tattoo. “It is the start of the multiple resolutions nightmare. If I wanted to support multiple resolutions, then I either make my game Android 1.6 and above ONLY (and break all compatibility with all the devices mentioned above), or I switch between both for development and testing. I would have to develop using 1.6 code and compile it to run on 1.5 devices.”

Now the Motorola Droid has come along, and it has a WVGA screen. People who download Space War on the Droid are complaining that the game runs way too slow. The poor performance is because the game is running in compatibility mode as Android will scale the HVGA screen to WVGA screen automatically. “Where do I get a Droid to test? Now players start giving me 1 star reviews because it does not support Droid.”

To add insult to injury, Android apps can only be sold in just nine countries around the world. “So even though I have spent so much time maintaining it, I still have no hope of selling it. And if this is not bad enough, some countries cannot even get the game, and this includes Malaysia (where he is a citizen of).”

It’s not that Thye Chean believes that iPhone development is a walk in the park. He faces a problem with fragmentation there as well. His Space War port, recently released for the iPhone, will run on the latest hardware, but will not on the older iPhone 3G, it will run very slowly. However, the issue of fragmentation is much less than with Android.

And there are other problems as well, chiefly the fact that the App Store is so crowded that it is hard to stand out. However, Thye Chean is willing to give it a shot, at least for now.

It's hard to take the experience of one developer and extrapolate on it to say this is a problem all developers face. But Thye Chean's experience at least tells us that even if the total number of Android phones surpasses that of the iPhone, it's not the end of the iPhone.

Welcome to the age of Digital Media

hometopleft.gif

15 years ago, you still need to buy Fuji or Kodak films to take photos. You still need to bring your film to develop into printed photos.

Today, I have no idea, how many digital camera I have had. That's not the thing I worried. What I worry is the digital photos I have taken, the digital videos that I have taken. What do I do with them.

When I turned on my iPhoto then I realize how big the digital photos collections that I have kept over the last 10 years. Some I have lost it due to hard disk crashes.

Every event, you tends to take hundreds of pictures. Some photos frankly speaking are really bad. But because of the convenient of digital photos, you tends to keep those photos as well. "Errr... Although some parts are blur, but he is so sweet.. let's keep it"... So, keeping thousands of photos become a habit.

I don't think many people think what should they do about those photos. What will you do?

Here are some of the issues I kept asking myself ...

1) How do you backup? To DVD, another harddisk, online? How big diskspace you need to get? 10GB? 20GB? Do you want to pay? What is the backup of the backup? If everything crashes?

2) How do you show it to your friends when they come to visit? Do you show it on Apple TV? What is the best way to show it? Do you make it to a slide show or movies of a compilations of photos? Do you have the time?

3) How do you pick the photos to keep? What do you do with those blur photos?

4) Since now is a digital age, do you scan those photos you taken 15 years ago?

5) Do I have the time to do such massive photo management? We are talking about hundreds of thousands of photos here...

6) Yes, there is Smart Album features, and that you can use "Faces" to try to group your photos... But do you want to organize it as event? or people?

7) What do you do with those photos you decided not to keep... press delete keys to permanently delete it?

Or dear... So much work and so little time...

Wednesday, December 16, 2009

iPhone Apps Rules

0901_android-inphone.gif

Original story is from here. Many news reporter or technical writer does not understand the technology, therefore, they always look forward to moment when there are competitions to iPhone who seems to be dominating the world... and they often failed to see the eco-systems behind it... Why does iPhone has only 1 screen size 1 model (except for the S Speed)... Why it sell so well, why they have 200,000 Apps, why iTunes store can do so well, and why the developers loves iPhone (and hate iPhone too)... and yes, Android is fancy enough, the droid, the soon to come Dragon from HTC, etc etc. But Android is stepping the exact mistake Microsoft CE or Windows Mobile has stepped. So, below is a nice story or nightmare from the developers of Android, telling his horror story of developing the Android applications, and how his apps is ranked top ten and dropped until now 1 star rating. Enjoy... iPhone still rules... and its worth to pay all the patents that iPhone has infringed.. hahahaha

Developing For Android vs The iPhone: One Developer's Experience

In the great iPhone versus Android debate, a common argument is that the open nature of the Android platform will eventually steamroll over the walled garden that is the iPhone. As more and more manufacturers come up with their own devices, they will eventually eat up Apple’s marketshare, or so the argument goes.

However, what Android defenders omit or play down is the fragmentation of the platform that results from having multiple devices, with multiple screen sizes and screen resolutions, and varying capacities, all running customised versions of Android. The greatness, or otherwise, of the Google Phone, does not remove this problem. In fact, it contributes to it, being yet another device on an already fragmented platform.

How bad is the problem of fragmentation? The example of developer Lim Thye Chean gives us an insight into the problems faced by an indie developer on the Android platform.

Thye Chean is the Singapore-based CTO of a Malaysian-based tech company. He is also the father of 10-year-old iPhone developer Lim Ding Wen of Doodle Kids fame. Thye Chean developed a Space Invaders clone on the Android platform called Space War to encourage his son to develop his own arcade game for the iPhone.

Space War now occupies a top 10 slot in Android’s arcade games category. However, the problems with ensuring that this game is compatible with different Android phones has given Thye Chean so many headaches that he is taking a break from the Android platform.

When he first released Space War on the HTC Dream and HTC Magic, things went well. However, when the HTC Hero came along, the problems began. He began getting bug reports that the game crashed, and this was a problem he could not duplicate until he got a Hero himself.

“I found that in the Hero, immediately after installation, the sound file will return a NULL value on start-up. However, once it goes through the first crash, it will subsequently work. I ‘solved’ this problem by not playing any sound (since it is NULL) rather than letting it crash.” He still does not know why the problem occured.

When the HTC Tattoo came along, he played around with it but because it had a very small resistive screen, it was hard to use so he decided to not support the Tattoo. “It is the start of the multiple resolutions nightmare. If I wanted to support multiple resolutions, then I either make my game Android 1.6 and above ONLY (and break all compatibility with all the devices mentioned above), or I switch between both for development and testing. I would have to develop using 1.6 code and compile it to run on 1.5 devices.”

Now the Motorola Droid has come along, and it has a WVGA screen. People who download Space War on the Droid are complaining that the game runs way too slow. The poor performance is because the game is running in compatibility mode as Android will scale the HVGA screen to WVGA screen automatically. “Where do I get a Droid to test? Now players start giving me 1 star reviews because it does not support Droid.”

To add insult to injury, Android apps can only be sold in just nine countries around the world. “So even though I have spent so much time maintaining it, I still have no hope of selling it. And if this is not bad enough, some countries cannot even get the game, and this includes Malaysia (where he is a citizen of).”

It’s not that Thye Chean believes that iPhone development is a walk in the park. He faces a problem with fragmentation there as well. His Space War port, recently released for the iPhone, will run on the latest hardware, but will not on the older iPhone 3G, it will run very slowly. However, the issue of fragmentation is much less than with Android.

And there are other problems as well, chiefly the fact that the App Store is so crowded that it is hard to stand out. However, Thye Chean is willing to give it a shot, at least for now.

It's hard to take the experience of one developer and extrapolate on it to say this is a problem all developers face. But Thye Chean's experience at least tells us that even if the total number of Android phones surpasses that of the iPhone, it's not the end of the iPhone.

Friday, December 11, 2009

Good Story: 孩子在为谁而玩

Another good story... Sorry, is in Chinese...
Do you work for yourself or do you work for something else,
it can be changed easily...

动机的寓言:孩子在为谁而玩

一群孩子在一位老人家门前嬉闹,叫声连天。几天过去,老人难以忍受。

于是,他出来给了每个孩子25美分,对他们说:“你们让这儿变得很热闹,我觉得自己年轻了不少,这点钱表示谢意。”

孩子们很高兴,第二天仍然来了,一如既往地嬉闹。老人再出来,给了每个孩子15美分。他解释说,自己没有收入,只能少给一些。15美分也还可以吧,孩子仍然兴高采烈地走了。

第三天,老人只给了每个孩子5美分。

孩子们勃然大怒,“一天才5美分,知不知道我们多辛苦!”他们向老人发誓,他们再也不会为他玩了!

【心理点评】你在为谁而“玩”

这个寓言是苹果树寓言的更深一层的答案:苹果树为什么会自断经脉,因为它不是为自己而“玩”。

人的动机分两种:内部动机和外部动机。如果按照内部动机去行动,我们就是自己的主人。如果驱使我们的是外部动机,我们就会被外部因素所左右,成为它的奴隶。

在这个寓言中,老人的算计很简单,他将孩子们的内部动机“为自己快乐而玩”变成了外部动机“为得到美分而玩”,而他操纵着美分这个外部因素,所以也操纵了孩子们的行为。寓言中的老人,像不像是你的老板、上司?而美分,像不像是你的工资、奖金等各种各样的外部奖励?

如将外部评价当作参考坐标,我们的情绪就很容易出现波动。因为,外部因素我们控制不了,它很容易偏离我们的内部期望,让我们不满,让我们牢骚满腹。不满和牢骚等负性情绪让我们痛苦,为了减少痛苦,我们就只好降低内部期望,最常见的方法就是减少工作的努力程度。

一个人之所以会形成外部评价体系,最主要的原因是父母喜欢控制他。父母太喜欢使用口头奖惩、物质奖惩等控制孩子,而不去理会孩子自己的动机。久而久之,孩子就忘记了自己的原初动机,做什么都很在乎外部的评价。上学时,他忘记了学习的原初动机———好奇心和学习的快乐;工作后,他又忘记了工作的原初动机——— 成长的快乐,上司的评价和收入的起伏成了他工作的最大快乐和痛苦的源头。
切记:外部评价系统经常是一种家族遗传,但你完全可以打破它,从现在开始培育自己的内部评价体系,让学习和工作变成“为自己而玩”。

Good Story: 做一棵永远成长的苹果树

Read this from the web... This is very true... You have to always be in the growing mode... cannot because of a few failures or roadblocks and choose not to grow...

成长的寓言:做一棵永远成长的苹果树

一棵苹果树,终于结果了。

第一年,它结了10个苹果,9个被拿走,自己得到1个。对此,苹果树愤愤不平,于是自断经脉,拒绝成长。第二年,它结了5个苹果,4个被拿走,自己得到1个。“哈哈,去年我得到了10%,今年得到20%!翻了一番。”这棵苹果树心理平衡了。

但是,它还可以这样:继续成长。譬如,第二年,它结了100个果子,被拿走90个,自己得到10个。

很可能,它被拿走99个,自己得到1个。但没关系,它还可以继续成长,第三年结1000个果子……

其实,得到多少果子不是最重要的。最重要的是,苹果树在成长!等苹果树长成参天大树的时候,那些曾阻碍它成长的力量都会微弱到可以忽略。真的,不要太在乎果子,成长是最重要的。

【心理点评】你是不是一个已自断经脉的打工族?

刚开始工作的时候,你才华横溢,意气风发,相信“天生我才必有用”。但现实很快敲了你几个闷棍,或许,你为单位做了大贡献没人重视;或许,只得到口头重视但却得不到实惠;或许……总之,你觉得就像那棵苹果树,结出的果子自己只享受到了很小一部分,与你的期望相差甚远。

于是,你愤怒、你懊恼、你牢骚满腹……最终,你决定不再那么努力,让自己的所做去匹配自己的所得。几年过去后,你一反省,发现现在的你,已经没有刚工作时的激情和才华了。

“老了,成熟了。”我们习惯这样自嘲。但实质是,你已停止成长了。

这样的故事,在我们身边比比皆是。

之所以犯这种错误,是因为我们忘记生命是一个历程,是一个整体,我们觉得自己已经成长过了,现在是到该结果子的时候了。我们太过于在乎一时的得失,而忘记了成长才是最重要的。

好在,这不是金庸小说里的自断经脉。我们随时可以放弃这样做,继续走向成长之路。

切记:如果你是一个打工族,遇到了不懂管理、野蛮管理或错误管理的上司或企业文化,那么,提醒自己一下,千万不要因为激愤和满腹牢骚而自断经脉。不论遇到什么事情,都要做一棵永远成长的苹果树,因为你的成长永远比每个月拿多少钱重要。