Tuesday, April 04, 2009

ADP1这次抢先尝到cupcake

这次,等ota的朋友就没有我们Android Dev phone1 持有者幸福啦。htc终于在昨天发布了android1.5 for adp1.
想上次等1.1,着实让我们着急了一把,OTA R33过后一个多月才推出官方1.1版本。其实不难理解,这些都是市场的考虑,cupcake对api的改动还是蛮大的,而且有了很多新的feature, 早点发布出来让开发者升级程序是合情合理的。

http://www.htc.com/www/support/android/adp.html

就如上次去D.C旅游时,随行动一个芬兰人看到我的adp1后说,google他们其实连G2...Gn都研发好了,只是慢慢出,看市场的反应,一点点把消费者的口袋里的钱抠走。

...

不管了,赶紧刷上体验。

Tags: adp1, android


Wednesday, April 04, 2009

Google App Engine java支持浮出水面

Google AppEngine 已经发布了 An Early Look at Java™ Language Support.
对java的支持已经成为事实,不知道又会有多少开发者加入到gae的阵营。

总之,是个好消息,扫了一遍文档,初步发现是基本的servlet容器,不知道现有的web框架是否直接支持,另外使用持续层使用JDO来实现对bigtable的操作。貌似JPA也支持,这样的话,像hibernate等framework的支持应该不会是太大的问题。

像python一样,用于对其他服务(像cache,google account,mail等)的访问,也有相应的java api. Google还不忘发布一个eclipse插件,不知道这个插件和android的那个有什么关系。另外这个servlet容器的jre和android的那个又有什么关系呢?

GAE对企业用户的吸引力又进一步增强了,GAE离挣钱的日子不远了。

对一个熟悉java web开发的人来说,学习成本几乎为零。

Cheers!

Tags: appengine, google


Friday, February 02, 2009

Sorry for delay release of cpedialog 2.0

I had a business trip to US in the last 3 month, so I hardly got time to focus on this project.
But I am back now, so I will continue to work on it.

Please don't be hesitated to give me suggestion or feedback. Thanks for your support.

BTW: I took a lot photos during my period in US, welcome to access my updated albums @ http://blog.cpedia.com/albums/yeli.piao

Happy Niu Year!

Tags: cpedialog, cpedia, python, blog, albums, appengine


Thursday, December 12, 2008

Resolve G1 creaking noises problem easily

I got my android dev phone 1 from android market. $25 for android developer register and $399 for the phone.
Unfortunately I met the problem that a lot of G1 user met.
http://forums.t-mobile.com/tmbl/board/message?board.id=Android3&thread.id=6613&view=by_date_ascending&page=1

To avoid the creaking noises, just apply a sticking plaster on the back of the slide (not in the inner chin as some guy do in the post). I will post the photo later.

Great android, but bad production.

Tags: android, g1


Saturday, August 08, 2008

SOA concepts and related Standards & Technologies

It's the presentation file for the company's internal training. Please  
review it if you have interest about SOA.


SOA concepts and related Standards & Technologies
http://docs.google.com/Presentation?id=dhh5dwdc_50gvj2pcgs&invite=dkxs9ds...


如果你无法阅读该文档,请给我发邮件,我会共享给你。目前只共享给了“敏捷中国”新闻组。

Tags: sca, sdo, bpel, soa


Thursday, August 08, 2008

cpedialog v1.0 released

I'm very glad to announce the first release of cpedialog.
cpedialog is a blog tool for appengine user. It's an open source program that distributed under the terms of the Apache License 2.0.

Now its downloadable version is available from:
http://code.google.com/p/cpedialog/downloads/list

You can aslo get the project overview document from:
http://code.google.com/p/cpedialog

How to install cpedialog on appengine:
http://code.google.com/p/cpedialog/wiki/How_To_Install_cpedialog

How to integrate picasaweb album with cpedialog:  
http://code.google.com/p/cpedialog/wiki/How_to_ integrate_picasaweb_album_with_cpedialog

Any issue or bug, please report to:
http://code.google.com/p/cpedialog/issues/list

Thanks!

Tags: cpedialog


Saturday, August 08, 2008

cpedialog测试站点开通

We plan to roll out the first release of cpedialog. Before that, we open a demo site for cpedialog, so that everyone can test all the functions including the background.

cpedialog计划在本月release第一个测试版本。在此之前,我们开通了一个测试站点,让大家可以实际测试cpedialog所有的功能。

Demo site: http://cpedialog.cpedia.com/

Login with your google account and then you will get all the privileges for operate the cpedialog. 

Welcome to test and wish u give us your feedback.

使用你的google帐号可以直接登录,测试站点去掉了管理员权限控制,你可以使用全部功能。

欢迎测试并期待大家的反馈。

Tags: cpedialog, cpedia


Monday, August 08, 2008

Using reCAPTCHA in cpedialog for anti spam

原先就想为cpedialog加上anti-spam的功能,这两天发现我的博客里有一篇文章每天都会定时被机器人自动回复广告内容,已经手动删除好几次了,现在看来是出手的时候了。


目前大部分的博客,论坛普遍采用的方式是让用户输入一个扭曲变形的图片上所显示的文字或数字来实现CAPTCHA (Completely Automated Public Turing Test to Tell Computers and Humans Apart) 。但是appengine的Images API并不支持图片的创建,使用第三方的python图像库会消耗太多CPU而同样受到appengine的配额限制。


幸好有reCAPTCHA,它本身就是一种由CAPTCHA的发明者所推荐的官方CAPTCHA服务。


到reCAPTCHA的官方网站注册后为自己的域名申请公钥和私钥后就可以开始使用它的服务了,



在appengine中使用非常简单,到http://pypi.python.org/pypi/recaptcha-client下载官方提供的代码,如果你不需要邮件地址隐藏功能的话,你可以删除mailhide.py只保留captcha.py,同时需要对captcha.py做简单的修改,将使用urllib2.Request相关部分代码改为使用google提供的urlfetch实现.


剩下的就是在你的回复页面打开的时候调用captcha.submit传入公钥等参数返回reCAPTCHA内容显示在页面上,提交回复的时候再通过传入私钥等参数验证图像代码输入。具体代码大家可以在googlecode的svn上参考cpedialog的实现。

Tags: recaptcha, cpedialog