<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/platform.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar.g?targetBlogID\x3d4684235500622716427\x26blogName\x3dCaiwangqin\x27s+blog\x26publishMode\x3dPUBLISH_MODE_HOSTED\x26navbarType\x3dBLUE\x26layoutType\x3dCLASSIC\x26searchRoot\x3dhttp://blog.caiwangqin.com/search\x26blogLocale\x3dzh_CN\x26v\x3d2\x26homepageUrl\x3dhttp://blog.caiwangqin.com/\x26vt\x3d3393395200455623441', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe" }); } }); </script>

Caiwangqin's blog

Focus on Life, Cloud Service, Smart Hardware, Architecture, Technic and beyond…

Happy New Year!

2008年12月31日星期三

标签:

posted by Caiwangqin, 16:51 | Permalink | 0 comments |

走过2008

2008年12月29日星期一

昨晚看到中央2台的对话节目邀请一些知名作家,用"结绳记事"来记录下各自在2008年的感受。2008年是中国历史上震撼的一年,暴风雪,汶川地震,奥运,金融危机。到目前为止,这些大事都没有对我的生活产生直接的影响,我的震撼来自内心。如果也用一个词来形容,那是:容纳。

当创业的激情被日常的琐事磨砺了两年,当伙伴聚了再散去。重新阅读一遍生活就能知道,对于多数人来讲,工作就是一份保证生活经济来源的工作,无法冠以梦想与事业。如果还要坚持道路,扛着旗帜继续向前冲,那就要回头看看这些还在一起的兄弟们。容纳不是每个人都一专多能,容纳想到与做到的差距。信任团队,如同乌龟信任功夫熊猫。

如过去的两年(我在南京的这一年,我在北京的这一年)一样,我在技术上继续关注“Web2.0,Business,Architecture,Agile,Technic and beyond”这个领域。

主要作品:
新版本 P1.cn

难忘的经历:
1. ChinaonRails协同翻译: Raisl 2.1 更新了什么?
2. Beijing open party
3. QClub
4. 2008广州中文网志年会, 夜登白云山

生活状况:
朝外SOHO,今年在吃饭这件事上是幸福的,有母亲在身边给做饭。

走过的城市:
北京,杭州,深圳,广州

游过的景点:
八达岭长城,故宫(分别陪朋友去过2次)

最常用的网站:
1. P1.cn
2. Gmail
3. Google Calendar
4. Google Search(Hate 谷歌)
5. Google Reader
6. Google Docs

读过的书:
《深思录》,《YOU-身体使用手册》,《鬼吹灯》,《平型关大捷》,《数字城堡》,《骗局》,《明朝那些事》,《Rails for PHP Developers》,《BootstrappersBible》,《Purple Cow》,《Android Essentials》...

最爱的音乐:
香巴拉并不遥远

印象深刻的影视:
地心历险记(Journey to the Center of the Earth 3D)
纳尼亚传奇II(The Chronicles of Narnia II)

使用的手机:
Google G1

标签: ,

posted by Caiwangqin, 10:26 | Permalink | 0 comments |

Received icity magzine from mopa

2008年12月26日星期五

感谢mopa给我寄来"城客"杂志, 说是Blogbus出的第一本中文互动杂志. 
posted by Caiwangqin, 13:44 | Permalink | 1 comments |

simple web instant message for P1.cn

2008年12月18日星期四



we updated P1.cn minutes ago, added simple web instant message. now you can chat with your friends on P1, have fun!

标签: ,

posted by Caiwangqin, 21:02 | Permalink | 0 comments |

在 G1 上使用 iSkoot for Skype 体验

2008年12月17日星期三


iSkoot for Skype 是T-mobile定制软件,之前在国内的Gphone用户需要“把cmcc的sim卡拿出来, 换上随机配的那个Tmobile的sim卡, 然后连上wifi,再去Market, 就能找到之前找不到的iskoot了”。从昨天开始,Market 中多了一个叫 ASTRO 的软件,可以导出已安装的APP到SDCARD,于是iSkoot这类的限制运营商的软件,也可以很方便的导出 APK 分享了,目前已经由GPhone-超级玩家群友(群号:47799321)导出并上传到群共享中。朋友们可以方便的下载使用。

经过试用,使用WiFi的时候,登录过程非常顺利。(EDGE网络没有试用,目前中国的流量费用下使用Skype意义不大,直接电话比较好),以下分别说明 iSkoot 在 G1 上的即时消息和通话功能。

1. 发送即时消息
登录后和PC机上使用SKYPE没有区别,目前好友列表中文名显示不正常,但聊天窗口中的中文是正常的。

2. 发起呼叫
在初次使用iSkoot登录时,会提示输入你的手机号码,带国家号码如中国是(+8613xxxxxxxxx)。点击一个好友,Call,这时会拨打一个国际号码,语音功能目前在国内几乎不能使用。

标签: , , ,

posted by Caiwangqin, 13:45 | Permalink | 0 comments |

在G1 Calendar中显示农历和当前是一年中的第几周

登录 Google Calendar, 搜索China Lunar Calendar, 然后点击 Add to Calendar ,即可将中国2008年农历加入 Google Calendar中。

登录 Google Calendar, 搜索Week Numbers, 然后点击 Add to Calendar ,即可将中国2008年农历加入 Google Calendar中。

待Google G1自动同步后,在手机上打开 Calendar, 就可以看到农历和周数了。

标签: ,

posted by Caiwangqin, 11:48 | Permalink | 0 comments |

对比Google G1上的文本阅读工具

2008年12月16日星期二

1. 熊猫看书
最新版本是0.82, 用户体验非常好,是我最经常使用阅读工具。

2. aReader
最新版本是1.0.2.3, 和熊猫看书相比,aReader有着独特的滚轮翻页效果,但没有阅读进度条是个遗憾。是我第二使用的阅读工具。

3. aBook(如果支持Bookmark, 就可以排到前面去了)
非常平滑的屏幕滑动翻页,和右侧好看的阅读进度条。遗憾的是目前还不支持Bookmark和记录最后一次阅读位置。

4. jjReader
不错的文本阅读工具,支持多国语言,但需要手工选择文件编码,默认编码是韩文。

5. EasyReader
经测试,界面还是不错的,但个人认为加入音乐播放的功能纯属画蛇添足,Android上的Musics支持后台播放的,完全可以一边听音乐一边看书。有一个比较大的问题:EasyReader 打开TXT文件的速度太慢,并且稍大一点的文件就崩溃了,如2M的《明朝那些事》。

6. CompactReader
界面没有特点,但据说支持大文件比较好,不推荐使用。

7. textonphone
可以在线下载,支持和FaceBook app同步,可以分享文本书给朋友,但多数是英文书,中文的很少并且标题显示乱码。

以上软件除熊猫看书和EasyReader外,都可以直接从Market中下载。

标签: , ,

posted by Caiwangqin, 15:05 | Permalink | 0 comments |

善用 Rails 的 script/runner

2008年12月15日星期一

网站中经常有一些需要在后台运行的程序,Rails 给我们提供了 script/runner 方法运行 model 中的 action, 如:

ruby script/runner User.find(:first)

之前一般都使用这种方法来处理后台运行的方法,其实还可以有另外一种灵活方法使用 script/runner,可以在 Rails app 的配置,和 Rails Framework 的一些内置方法,但将需要完成的任务写在独立的 Ruby 文件中,如:

vim cron_task.rb

u = User.find(:first)
puts u.inspect

然后在命令行中使用以下方式执行:

ruby script/runner cron_task.rb

使用这样的方式执行 cron_task.rb, 就可以在 ruby 文件中方便的使用 rails app 的 config 和 framework.

当然也可以直接使用Ruby/MySQL直接连数据库操作。

标签: ,

posted by Caiwangqin, 18:13 | Permalink | 0 comments |

关闭匿名评论,删除Google Wall gadget.

因Blog最近受到无聊人士的垃圾评论,现已关闭匿名评论,删除Google Wall gadget.
posted by Caiwangqin, 17:45 | Permalink | 0 comments |

从 Wordpress 到 Blogger

2008年12月5日星期五

1. 使用Import Wordpress export file into Blogger成功从 Wordpress 到 Blogger 迁移,共转移过往Blog 488篇.

2. 朋友们在Wordpress上对我Blog的评论信息完全丢失了,由此想到Blog应该有第三方独立的评论系统.

3. 封存Wordpress地址http://wp.caiwangqin.com,保存一段时间以备查询.

4. 希望以后不再迁移Blog,希望Blogger不被全站GFW.

5. 北京这两天真的很冷.

6. 我爸今天早晨到达北京,他也听说金融要危机了.

标签:

posted by Caiwangqin, 19:07 | Permalink | 0 comments |

Import Wordpress export file into Blogger

2008年12月4日星期四

i tried many tools in china mainland to import Wordpress export file into Blogger, but neither can works. so i export all blog from my Wordpress 2.04 to a xml file(just save all feed to file through browser), wrote a ruby script convert to Blogger format, it works for me.

http://snippets.dzone.com/posts/show/6659

标签: , , ,

posted by Caiwangqin, 21:19 | Permalink | 1 comments |

Blogger API sucks or GWF sucks?

2008年12月3日星期三

It's too difficult to import Wordpress to Blogger, I tried to import my old blog entries from Wordpress to Blogger, but faild. i found useful tool blogsync and wordpress2blogger, neither can works in China. blogsync can only import the first english blog entry then report 'connection reset by peer' error, the python script can't import any entry at all, after i execute the python script, i can't reach blogger website with browser for 1 to 2 minutes. it seems i got the GWF problem. and i can't reach Blogger website through any Blog client software, i have tried Microsoft Live Writer and Zoundry Blog Writer, now i'm tring to post this blog entry through Google Docs, Good luck to me!

[Google Docs says 'This document has been published to your blog.', but i can't see any update on my Blog, so post it on website with Firefox manually.]

标签: , , ,

posted by Caiwangqin, 19:03 | Permalink | 1 comments |

Migrate my blog to Blogger from Wordpress

Hello Blogger, good bye wordpress!

I have not update my blog for long time, cause i can't update wordpress to latest version from current version, it always says faild, i hate update so frequently, and i'm try to find a blog platform good enough, and can keep my staff long time.

i like both GAE and Blogger, but there are no open source good enough GAE blog any more, Robert Mao's blog is ok, but not open source yet. so i have made decision to migrate my blog to Blogger from Wordpress today.
--
Best Regards,

Jesse Cai (蔡望勤)
http://P1.cn
Email: 1@p1.cn
Skype: caiwangqin
MSN: caiwangqin@hotmail.com

标签:

posted by Caiwangqin, 13:01 | Permalink | 0 comments |

Migrate my blog to Blogger from Wordpress!

i have make new blog http://blog.caiwangqin.com/ on Google Blogger, i’ll transfer my old post to new place, switch domain, and keep update.


I have not update my blog for long time, cause i can’t update wordpress to latest version from current version, it always says faild, i hate update so frequently, and i’m try to find a blog platform good enough, and can keep my staff long time.

i like both GAE and Blogger, but there are no open source good enough GAE blog any more, Robert Mao’s blog is ok, but not open source yet. so i have made decision to migrate my blog to Blogger from Wordpress today.





标签:

posted by Caiwangqin, 05:07 | Permalink | 0 comments |