Google最近总是别出新意,前一阵子出了自家的浏览器Chrome,现在又在Gmail中增加语音和视频聊天。首先需要安装一个外制的挂件,安装文件支持多个平台包括Windows,Mac,浏览器支持FF 2.0+, IE 6.0+, Safari 3.0+, 当然也包括自家的Google Chrome,Opera却没有在支持咧表中出现。理论上可以支持双向的Broswer和Gtalk或者Browser和Browser之间的视频连接。 开发语音视频聊天功能的原因之一是由于文字像笑脸只类的表情无法真正表达用户的心情。新功能必定对其他的social network产生影响,比如Facebook和MySpace,他们是否也要考虑开发一个在浏览器中运行的语音和视频聊天平台?Google的优势在于可以将功能利用的其他的服务中,比较期待以下一些应用: 比如在iGoogle中显示视频聊天 提供聊天功能的API Analystics中产生联系人的列表 Offline video message,对方离线的时候留视频的消息。 如果有人尝试过Gmail视频最多能达到多少人同时聊天的,麻烦你留个消息告诉我结果。
Continue reading...Tuesday, October 21, 2008
Recently, I was looking for a solution for extracting post text by defining the length of the string. WordPress offers two useful functions: the_content(): returns the full content of a post the_excerpt(): returns a fixed extracted text from a post, but no parameter option is provided. The idea is to write a better function that has a few [...]
Continue reading...Saturday, August 16, 2008
If you get this error (in phpMyAdmin or other operation) after setting up a MySQL password: ERROR 1045: Access denied for user: 'root@localhost' (Using password: NO) This might caused by phpMyAdmin’s configuration doesn’t have the new password. If using XAMPP, you need to update the /Applications/xampp/xamppfiles/phpmyadmin/config.inc.php for the phpMyAdmin: $cfg['Servers'][$i]['password'] = 'YOURPASSWORD'; Change the YOURPASSWORD to the password you [...]
Continue reading...Sunday, August 10, 2008
Setting up a virtual host on PC, Mac or Linux isn’t difficult, but the browser cache problem drives me crazy. Apart from editing the /etc/hosts mappings and httpd.conf, you need to restart both Apache and browser. Refreshing the browser(Firefox) doesn’t clean the cache, so the result will be always add /xampp/index.php at the end of [...]
Continue reading...Saturday, August 9, 2008
Leopard PATH setting is quite different from Tiger. Configuring PATH on Tiger, we used to either modify the /etc/path or user path configuration. With Leopard, system-wide path configuration is managed by /etc/profile. The file loads a path_helper script. So what the script does? The path_helper constructs the system environment PATH in this order: Reads the local user [...]
Continue reading...Wednesday, August 6, 2008
代码整理问题一直是我的难题,不想用大的IDE整理自己的代码,特别是一些很小的部分。今天看到Code Collector Pro这个在MacOSX上面简单的程序能够帮助整理日常用的代码碎片。 确实,如果你是一个经常写代码的工作人员或者学生,总是有一些有用的代码需要记住又一时不能记下来,一般的办法,就是创建一个空的文本档暂时粘贴到里面;再有就好好整理到一个自己的记事本上;或者再源文件里加上注释;要么在什么网站上找到的就当作书签。时间长了,代码就都很凌乱,这样总不是个办法。 CCP支持很多整理功能: 将代码分组 语言种类的标实 搜索 Drag & Drop代码的片断 增加标签 输入,导出文本 到CodeCollector.net上下载或者上传代码的碎片 设置这片代码的版权 自动更新版本,等等 CCP有两个版本,一个免费的Lite版本,支持少部分的功能,但是足够可以完成整理的工作;收费版本支持更多的功能,价钱也很合理,大约20欧元。 如果大家知道Windows和Linux下面有什么整理代码的好工具,可以留言和我分享一下。
Continue reading...Tuesday, August 5, 2008
Google翻译的服务一向是做的比较到位,简单的界面,并且提供很多功能的API。比如Firefox的插件translator利用提供的API可以在页面中帮助用户翻译选定的字句。 那这次Google又玩什么新的花样。自动翻译是不能满足对精确度的需求,那Translate Center用人帮助翻译。具体进行方式是需要一个需求者和服务者,服务者是一些资源的翻译人员并不是被google聘用的人。这样的情况下有两种可能,服务的人免费帮助翻译,或者和需求者有合同关系。 在创建新的翻译项目的时候,用户可以选择源文件是什么语言,然后需要翻译到什么语言。文章被翻译的时候是实时的,这样需求人可以看到左边是原文,右边是正在翻译过程中的文章,并且文字一个个被需求的人翻译的过程。 Google这样来说对翻译的质量是没有责任的。翻译的项目只不过是需求者和服务者两个人之间的“合同”而已。
Continue reading...Tuesday, July 29, 2008
I just noticed today that Google Analytics icon has changed. The fave icon used to be the generic Google icon. Just a few weeks back, Google updated their home page icon. It seems to me that they have a lot of re-branding activities going on. 谷歌今天突然更新了站点分析服务页面的收藏夹图标。一个很小的细节,就在前几个星期,公司也重新设计了搜索引擎主页面的图标。可见内部应当有一些产品重新设计定位的活动在进行中。
Continue reading...Saturday, July 12, 2008
一直在忙着工作的事情,清闲下来准备一下毕业项目的资料。特别是代码版本管理的软件,有考虑到CVS, SVN等等,这些大多数是中心服务器结构的管理,最近看到Google工程师开发的Git, 让我感到一阵兴奋。 Linus Torvalds 开发了Git,一开始主要因为CVS和SVN不能满足开源的需求,需要一种新的方式管理Linux Kernel。Git是一个distributed SCM(Source Code Management). 他的最大优势在于开发人员可以随意的创建自己的Brunch,简便多版本的整合(merge)问题,并且优化下载速度。 如果有人用过CVS, SVN在一个开发小组,都会发现这样的问题:大家都不能Commit,直到觉得代码被第二个开发人员review过,或者通过测试才可以,这样才能保持Source trunk的整洁。这样是件很麻烦的事情,如果在SVN, CVS上创建branch, 做自己的一些新功能的试验,也会造成麻烦,你会想到底用什么tag? 大的公司里面会有一堆的规则创建branch(加B下划线版本号码等等),然后整合到trunk上又给自己代来一堆麻烦,所以如果用过centerailized SCM开发人员大都会在trunk上开发。 如果你是一个充分利用Brunch的开发人员,那Git可以是一个不错的选择。给个Git官方网站,还有YouTube 2005年的Git开发介绍会(一个小时的录像)。
Continue reading...Wednesday, July 2, 2008
If you are a western reader, you may not hear about xiaonei(校内, means “at the school”). Searching “xiaonei” at Google UK site, possibly, the first one is their home page and the next would be this criticism article “Blatant Facebook Rip-Off Gets Acquired“.Also you will find CrunchBase giving the company a definition: Xiaonei.com is a Chinese [...]
Continue reading...
Friday, November 14, 2008
1 Comment