Wednesday Jan 27, 2010

Move Blog 博客搬家

Move myblog to http://xuew.wordpress.com/ . I'll not update this blog.

感谢各位长期以来的关注。我的博客搬家到新的地址 http://xuew.wordpress.com/

Tuesday Jan 19, 2010

ibus-xkbc release test vervsion

My colleague Naoyuki.Ishimura created a new iBus engine (ibus-xkbc). This is a keyboard layout emulation which base on \*ibus\* framework. The layout data is base on the data which XKN used. It can work on any Xserver other than XKB enabled Xorg server.

You can get it and try , and please help to report the issue:

You can get it:

http://github.com/sun-im/ibus-xkbc/

And please use
http://github.com/sun-im/ibus-xkbc/issues
if you have any issue or request to enhancement.

Any comments are highly appreciated.

Monday Jan 11, 2010

sunpinyin update : ibus-sunpinyin 2.0 发布 RC4!

ibus-sunpinyin 2.0 发布 RC4!

感谢Kov同学的卓越贡献.以下内容引自讨论组对新版的介绍。

changelog:
 - 修正 issue#24 不能输入单引号的错误,现在能输入单引号了
 - 修正 issue#52 在 amd64 平台下,无法加载双拼数据的问题
 - 修正 issue#57 在双拼模式下,输入标点符号后无法输入中文的问题
 - 修正 issue#58 不使用 MS2003 时,双拼输入会崩溃的问题
 - 修正了在编辑已输入拼音字串时,候选词更新异常的问题

好几个都是双拼方面的修正。建议双拼用户再试试看。=)

和以前一样,上传到了 googlecode
上:http://ibus-sunpinyin.googlecode.com/files/ibus-sunpinyin-2.0_rc4.tar.gz

rc4已经是趋于稳定的版本的,期待大家试用和反馈!


Saturday Sep 12, 2009

FW: Please join (快来加入)sunpinyin-developers@googlegroups.com

FW from : 素月如何上青天

我们刚刚为SunPinyin项目建立了一个google-group。虽然oso-inputmethod项目也有一个mail-list,不过是和其他opensolaris i18n/l10n项目share的。而且似乎国内的开发者或用户,还是更习惯和倾向使用google-group作为交流的途径。因此我们就创建了这个group。

SunPinyin的开发者会使用这个mail group来讨论开发相关的问题,同时用户也可以用这个mail group来报告发现的问题。大家也可以直接发邮件到sunpinyin-developers-AT-googlegroups-DOT-com

欢迎SunPinyin的新老用户加入sunpinyin-developers-AT-googlegroups-DOT-com; 积极反馈各位在使用中遇到的问题,这将会使我们更快了解SunPinyin的bug和您的需求,并且以最快的随度修改bug和满足您的需求!

您的反馈和需求就是对我们最大的支持! 也是我们前进的最大动力!

期待您的加入!谢谢!

Wednesday Aug 19, 2009

Take over SunPinYin

My talent colleague YongSun is leaving Sun. I feel very sad to lose a so good colleague. Anyway, we have to face the fact, everything will continue. I took over SunPinYin project. Actually I have joined this project for several months. And I'm very glade to contributor userdict and Double Pinyin modules. For people who always care about this project, thanks for your support so long. And I hope you all could care this project and do more contribution as used to. Certainly new comer will be welcome very much as well!  And YonSun will still be a core community contributor too. Let us say thank Yong for his contribution to SunPinYin, and looking forward his more contribution to SunPinYin in the future.

I strongly recommend his new blog, you will find much fun here . http://yongsun.me

Friday Mar 27, 2009

Add widget to sider bar

Add two widgets to my sider bar. 

1. Forecast weather

It can generate a cool flash of weather forecast. You can customize the location which you care. I put Beijing China here.

2. Music player

It lets you play any web-based playlist Select this widget and then click on the edit dropdown to search for a new playlist or enter the URL of one of your playlists. You can also enter the URL of one of your own MP3s. Additionally you can configure the shape, size, visualizations, and more.

I turn autoplay off. You can click play or the song you like to play it. 

Thursday Feb 26, 2009

Dragon Heads-raising Day

Today is Dragon Heads-rasing Day (二月二龙抬头). Folowing is information about it which forward from BaiduZhidao.

Dragon Heads-raising Day falls on the second day of the second lunar month, which is a traditional festival. In "Imperial Capital Accounts About Seasons", Pan Rongbi in Qing Dynasty wrote the following: The second day is the Dragon Heads-raising Day. On the day, farmers and villagers made an ash path into the houses and kitchens, then wind around the water vats from the outside. This is called leading the dragons back to houses. People in the capital city fry broomcorn millet flour, cakes made of wheat flour and dates, husked wheat rice, and other things as their food. They call this "fumigating insects".

Dragons are auspicious omen, for which Chinese people have an admiration that bordered on worship. Dragons dominate wind and rain. So in ancient days, every time when there was a drought, people would make a straw dragon with sorghum stalks about one zhang (3.33 meters). Then in front of the straw dragon, four men carried the Dragon King’s memorial tablet on a tablet tray and in front of it, people perform acrobatics, singing and dancing, as walking on stilts, doing yangge dance, gongs, drums and flags leading the way. Everywhere contingent of parade passed, every family offered sacrifices, burned incenses and candles to worship the Dragon King. When the straw dragon passed by, people would carry buckets and sprinkle water over the straw dragon and the dragon dancers. They believe that the Dragon King would feel grateful and then make plentiful rain for the mankind.

Sunday Feb 22, 2009

Beijing Openparty - Firefox l10n

Yesterday, I participated the Beijing Open party. I heard Beijing Open party several months ago, but until yesterday, I haven't have chance to see how was it. So, that was my first time to go there, and frankly, it's a really exited experience. Normally there are many optional topics, which brought by attendees. After attendees submit the topic, who prepare topic to do presentation, give a simple introduce, everyone need to vote which topics could be given presentation today. But this time, there are several special topic about Firefox: The over all goals of Mozilla’s Localization Program over 2009. A new software library that has been developed for l10n tools to be created . Firefox l10n introduction The speaker of the first topic, Seth Bindernagel is from Mozila US MountView office. He is the Director of Mozila l10n team. He give a very wonderful speech, and cool slide show.:) The other speaker are contributors of Mozila China l10n community. They have already translated lots of Mozila document to Chinese. It's cool and worth to be respected! Some Picture share with you:

Saturday Feb 14, 2009

It is written

After watched the movie "Slumdog Millionaire"(贫民窟的百万富翁) ; I was touched by this story. It's not only about love story, but also destiny, and I learned a word "It is written".

He cheated? He's lucky? He's a genius?
It is written.

Destiny? I believe
It is written before happen? I believe
It is all the past, the composition of the present self.
It is all the past determines the future of their own.
I do not believe that the anyone could cast off the past.
We will face the past, because it is part of our life.

It is written.
By who?
By yourself……
So, If you want a wonderful destiny.
Wirte it by yourself from now on.

FYI. Slumdog Millionaire officale site.
More comments in Chinese from Douban.

Wednesday Feb 11, 2009

font-conf 的资源连接

本篇主要是为了列出几个关于fonts有用的连接:

首先关于font-conf,英文的原版:http://www.fontconfig.org/fontconfig-user.html
有人对照着翻译了:http://cle.linux.org.tw/~edt1023/fontconfig/fontconfig-user.html
这里还有个简体中文版翻译的片段: http://hi.baidu.com/bullfire/blog/item/4efa27460a904a096b63e5a6.html
个人感觉翻译出来内容看着不如原文清楚,当然如果之前你们有任何基础直接看翻译的文章,可能更看不懂。建议原文译文一起看,来回的反复看效果会更好。
这里有几个例子,都是通过更改字体的配置解决一些实际问题的。http://lfeng.cn/2008/12/05/configure-intrepid-fonts-and-display/
Xorg:http://www.archlinux.it/wiki/index.php?title=Xorg_(%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87)
Xorg的字体配置:http://wiki.archlinux.org/index.php/Xorg%E5%AD%97%E4%BD%93%E9%85%8D%E7%BD%AE_(%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87) 

其他一些好的文章:
字体设置:http://www.linuxsir.org/bbs/showthread.php?t=254314
介绍了好多基本的字体概念,入门者值得一看。
http://blog.chinaunix.net/u2/87783/showart.php?id=1769325
简单介绍了X系统的字体只是,以及工作的原理。如果你想了解Xwindow的字体系统,文章开头给出的三个参考连接非常值得一看。
DPI 详解: http://blog.chinaunix.net/u/28570/showart_352426.html
非常详细的讲解DPI这个概念的文章。强烈推荐。


Saturday Nov 29, 2008

(转)仓颉造字的传说 到 仓颉输入法

【仓颉的简介】
  cāng jié
  仓 颉
  也称苍颉,原姓侯冈,名颉,号史皇氏,是传说为黄帝的史官,汉字的创造者,被后人尊为中华文字始祖。但普遍认为汉字由仓颉一人创造只是传说,不过他可能是汉字的整理者。在位起讫:前4637—前4596年。
    生卒年:前4666—前4596年。
    出生地:衙邑(今陕西渭南市白水县东南)。
    立都:阳武(今河南新乡市原阳县东南)。
    年号:仓帝元年(甲辰,前4637)。
【仓颉造字的传说】
相传仓颉在黄帝手下当官。黄帝分派他专门管理圈里牲口的数目、屯里食物的多少。可慢慢的,牲口、食物的储藏在逐渐增加、变化,光凭脑袋记不住了。仓颉犯难了。
  仓颉整日整夜地想办法,先是在绳子上打结,用各种不同颜色的绳子,表示各种不同的牲口。但时间一长久,就不奏效了。这增加的数目在绳子上打个结很便当,而减少数目时,在绳子上解个结就麻烦了。仓颉又想到了在绳子上打圈圈,在圈子里挂上各式各样的贝壳,来代替他所管的东西。增加了就添一个贝壳,减少了就去掉一个贝壳。这法子顶管用,一连用了好几年。
  黄帝见仓颉这样能干,叫他管的事情愈来愈多,年年祭祀的次数,回回狩猎的分配,部落人丁的增减,也统统叫仓颉管。仓颉又犯悉了,凭着添绳子、挂贝壳已不抵事了。怎么才能不出差错呢?
  这天,他参加集体狩猎,走到一个三岔路口时,几个老人为往哪条路走争辩起来。一个老人坚持要往东,说有羚羊;一个老人要往北,说前面不远可以追到鹿群;一个老人偏要往西,说有两只老虎,不及时打死,就会错过了机会。仓颉一问,原来他们都是看着地下野兽的脚印才认定的。仓颉心中猛然一喜:既然一个脚印代表一种野兽,我为什么不能用一种符号来表示我所管的东西呢?他高兴地拔腿奔回家,开始创造各种符号来表示事物。果然,把事情管理得头头是道。
  黄帝知道后,大加赞赏,命令仓颉到各个部落去传授这种方法。渐渐地,这些符号的用法,全推广开了,就形成了文字。
  仓颉造了字,黄帝十分器重他,人人都称赞他,他的名声越来越大。仓颉头脑就有点发热了,眼睛慢慢向上移,移到头顶心里去了,什么人也看不起,造的字也马虎起来。
  这话传到黄帝耳朵里,黄帝很恼火。他眼里容不得一个臣子变坏。怎么叫仓颉认识到自己的错误呢?黄帝召来了身边最年长的老人商量。这老人长长的胡子上打了一百二十多个结,表示他已是一百二十多岁的人了。老人沉吟了一会,独自去找仓颉了。
  仓颉正在教各个部落的人识字,老人默默地坐在最后,和别人一样认真地听着。仓颉讲完,别人都散去了,唯独这老人不走,还坐在老地方。仓颉有点好奇,上前问他为什么不走。
  老人说:“仓颉啊,你造的字已经家喻户晓,可我人老眼花,有几个字至今还糊涂着呢,你肯不肯再教教我?”
  仓颉看这么大年纪的老人都这样尊重他,很高兴,催他快说。
  老人说:“你造的‘马’字,‘驴’字,‘骡’字,都有四条腿吧?,而牛也有四条腿,你造出来的‘牛’字怎么没有四条腿,只剩下一条尾巴呢?”
  仓颉一听,心里有点慌了:自己原先造“鱼”字时,是写成“牛”样的,造“牛”字时,是写成“鱼”样的。都怪自己粗心大意,竟然教颠倒了。
  老人接着又说:“你造的‘重’字,是说有千里之远,应该念出远门的‘出’字,而你却教人念成重量的‘重’字。反过来,两座山合在一起的‘出’字,本该为重量的‘重’字,你倒教成了出远门的‘出’字。这几个字真叫我难以琢磨,只好来请教你了。”
  这时仓颉羞得无地自容,深知自己因为骄傲而铸成了大错。这些字已经教给了各个部落,传遍了天下,改都改不了。他连忙跪下,痛哭流涕地表示忏悔。
  老人拉着仓颉的手,诚恳地说:“仓颉啊,你创造了字,使我们老一代的经验能记录下来,传下去,你做了件大好事,世世代代的人都会记住你的,但你可不能骄傲自大啊!”
  从此以后,仓颉每造一个字,总要将字义反复推敲,还行拿去征求人们的意见,一点也不敢粗心。大家都说好时,才定下来,然后逐渐传到每个部落去。

摘自百度百科,更多请参考:http://baike.baidu.com/view/2070.htm

【仓颉输入法】
朱邦复1980年代初在个人电脑上设计中文系统,以仓颉码为其根本,收字数万,效率甚高。

朱邦复于1982年登报公开放弃仓颉输入法专利,并且极力推动电脑之中文化。现今大部分操作系统,甚至一些电子辞典皆附有仓颉输入法,为注音以外最普及的形码输入法。以往为正体中文使用地区最常用的形码输入法,用于香港、马来西亚等地。但台湾由于智慧注音输入法之发展,以及后继发明之免费及非免费等形码输入法甚多,“万码奔腾”,仓颉输入法未成主流。目前选用仓颉输入法者,除早期使用而不愿更换外,多为其普及率考量。

朱邦复本来想根据其“汉字基因”理论,建立一“仓颉系统”,用仓颉码统一处理汉字形、音、义、码、序、辨等六大问题。其中仓颉码的原始目的是汉字检索及排序,其取码具有字首及字身的概念,以字首做为分类,字身做为补充,如此便可让电脑“理解”汉字,进而达到组字、字义理解,甚至与人沟通的功能。

由于本以汉字检索为目的,仓颉取码依据视觉辨识原理,能反映汉字的细微特征,几乎所有不同字形或异体字,都有不同的编码,因此重码率为当今中文输入法中最低。仓颉输入法亦为一般系统中字库最大者,几乎所有系统可见的字型,皆可用仓颉输入法键入,因此也成为汉字文化工作者选用的主要输入法。然而,当今主流电脑系统只提供仓颉输入法,而没有采用整套仓颉系统,因此许多原先的设计理念,如仓颉内码、字型产生器与极大字库等,皆没有实现。

然而仓颉输入法也受到许多批评,例如为顾及检索,编码规则繁复,无容错编码,加上系统字集问题[1]、字体问题[2]、版本混乱问题[3],导致规则混乱、取码麻烦,因而不少人视学习为畏途。另外仓颉输入法并未为常用字之快速输入设计简快码,标点符号之输入也略嫌不便,因此没有成为最快速的中文输入法。

目前仓颉输入法最新的公开版本是第五代,最常使用版本是第三代。待公开的第六代(又称苍颉检字法),由朱邦复的多年助手沈红莲设计,应用于他们开发的苍颉系统上,该系统字库完整收录了历代文献用字十万以上,以仓颉码作为内码,重码率低于5%。因设计符合汉字特性,获国学大师钱钟书赞赏,并指定用来进行古籍电子化。[4]第六代现仅提供部分文史专家学者使用。苍颉检字法不是为了支援统一码;朱邦复批评统一码处理汉字方法愚昧,收字不全,字序混乱,码长不等,因此不能采用。

摘自wiki百科,详情请参考:Cangjie input method

Monday Oct 20, 2008

使用Virtualbox的2个小技巧 - Two tips of using virtualbox

Host OS:WindowsXP
Guest OS:  Opensolaris
在使用Virtualbox的时候可能会遇到的两个问题

1.在GuestOS Opensolaris中上网。
如果你在安装时使用的是无线的网卡,安装完成后系统默认将会自动为你配置NAT,这时候你就可以在Guest OS Opensolaris中上网了。但是很多人用的笔记本可能有时候会切换到使用有线的网卡来上网,这时候GuestOS中很可能就不能连接网络了。解决的方法是,禁用无线网卡,然后重新启动Virtualbox里的GuestOS就可以了。

2.Host OS:WindowsXP 与 Guest OS:  Opensolaris之间共享文件夹
虽然VirtualBox自身有共享文件夹的功能,但是不巧的是目前Host OS:WindowsXP 与 Guest OS:  Opensolaris 这种组合还不能支持!。一种方法是,在Host OS WindowsXP 中设置一个共享文件夹,然后再Guest OS:  Opensolaris中使用smb client的服务mount改共享文件夹,以实现文件夹的共享。



  • 在WindowsXP中设定共享文件夹:share,共享名为share。

  • 在Opensolaris中启动smb/client 服务:svcadm enable smb/client

  • 将Windows中的共享目录mount到Opensolaris中:mount -F smbfs //129.158.151.45/share /mnt(129.158.151.45为WindowsXP的IP地址,share为共享名)

Wednesday Oct 15, 2008

Firefox3中安装Firefox2的扩展插件

很多Firefox2的扩展或插件在Firefox3中无法安装使用,以下是常见的几中方法,使得旧版本的扩展可以在新版安装。不能安装旧版插件的原因是版本的检查不匹配。所以解决的方法就是跳过版本兼容性的检查。

方法一:修改插件里的支持版本信息
首先将插件下载到本地。FireFox的插件扩展名是xpi,其实是一个zip压缩打包文件,用winrar等可以打开。找到里面的install.rdf文件,可以找到如下内容:
<em:targetApplication>
<Description>
<em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
<em:minVersion>1.5</em:minVersion>
<em:maxVersion>3.0b3pre</em:maxVersion>
</Description>
</em:targetApplication>
minVersion和maxVersion就定义了该插件可以支持的FireFox版本,将3.0b3pre改成3.0,保存后重新安装插件即可。

方法二:设置FireFox,跳过兼容性检查
在FireFox3地址栏输入about:config,出来一个警告页面,不理他,“我保证我会小心”。然后点右键,选择“新建”->“布尔”,创建一个布尔变量
extensions.checkCompatibility,值为false,表示不检查扩展插件的兼容性。
同样的步骤再创建一个布尔变量extensions.checkUpdateSecurity,值为false,不检查安全更新。重启,OK

方法三:使用现成的扩展插件 Nightly Tester Tools
https://addons.mozilla.org/zh-CN/firefox/addon/6543

Saturday Oct 11, 2008

My recent awaited update

Every time a bloger is interrupted for a long time to write blog, said back to weeding. Ha ha. weeding back,for nearly three months came back today. No matter how busy, I'm willing to updating for my friends and reader who concerned me.

For three months, a lot of big and small things happen. To us the largest one is successful Beijing Olympic Games were held, waiting for for so many years has finally realized that the Olympic Games has left me a lot of touching moments. Opening and closing ceremonies were both spectacular. During Olympic Games, I even had chance to go to Beijinggongti to see Most of the lightweight boxing preliminaries.

For Work,added to the three Southeast Asian locale support (ms, vi, id), one week ago it has finally been integrated into the in Nevada build99. Including the implement encoding conversion of Vietnamese to the iconv module. I believe in Opensolaris 11.2008 release user will be able to use all three of the locale. Of course, add more locales depends on locale people, the community has boundless power! Now, the highest priority to have friends in Singapore or who interest in add Singapore locales, increased Singapore's locale (High:zh_SG, en_SG, low:ms_SG, ta_SG ) , if interested please contact me, very grateful!

There is the matter had to say that cooperation more than a year of PM to leave the sector to the another team. Some reluctance, because of the cooperation is very happy, she taught me a lot of things and we also have some understanding of each other. It's pity than she leave us. She is a very good, work hard, thoughtful, and always consider for someone else, for me, the best thing is she able to speak Chinese, so we can communicate in Chinese. it maybe a reason that make we know each other better. ;). The new PM is coming, I have to say better English. I also tell myself keep on working harder! We also hope
that the good co-operation. Anyway, the best wishes for Wenling in the new position to the work be happy and successful! Come on! !

I happen to have an opportunity to be a Guest Lecturer/Professor in a University. When I was child, be teacher is one my dream. It comes true. Ha ha:) Standing on the rostrum, looked at the lovely young students, then think of my student-age. Hope that from the course, they can get something and like me. Students are always with the words young, hope, dreams, future, so full of shining, vigor and vitality of human language vocabulary together, there is no doubt that the teachers with them always be touched by, and I'm looking forward to and enjoy what they have brought to my experience!

Friday Oct 10, 2008

久违的blog-近况update

每次一个人中断很久不写blog,总会说N久没有写了,除草。。呵呵。因为太忙,将近3个月后,今天终于回来。因为太忙了,为关心我的朋友更新一下近况。


这三个月发生了很多大事小事,最大的要数北京成功的举办了奥运会,期待的这么多年终于实现了,奥运给我留下很多感人的瞬间,期间也有幸去北京工体的现场看了拳击最轻量级的预赛。开闭幕式都很壮观,用媒体的话说--无与伦比!


工作上,完成增加东南亚的三个locale的支持(ms,vi,id),在不久前也终于在Nevada的build99集成了进去。包括写了为越南语编码增加iconv的模块。相信在11月发布的OpenSolaris各位就能使用这三个locale了。当然更多的locale还得靠大家添加,社区的力量是无穷的。现在最希望有新加坡的朋友能有兴趣增加新加坡的locale,如果有兴趣请与我联系,非常感谢!


还有件事不得不说,合作一年多的PM离开了这个部门到了别的team。有些不情愿,因为之前合作的很愉快,她教了我很多的东西,彼此也有一定的默契了。心里总觉得可惜啊。她是个很好的人,工作很努力,总是为别人考虑,对于我,最好的是能讲中文,因此跟她单独沟通的时候可以中文交流,呵呵;)。 新的PM来了,我必须努力讲好英文了。我也要更加努力了!希望我们也能合作的很好。Anyway,祝福wenling在新的位置能够工作的开心并获得成功!加油!!


很巧的一个机会,现在开始兼职做老师了,儿时的梦想之一就是做老师。呵呵:)站在讲台上,看着下面可爱年轻的学生们,想起当年的自己。希望他们能从这门课上有所收获。学生总是和年轻希望梦想未来朝气蓬勃这样人类语言中最鲜活阳光的词汇联系在一起,毫无疑问老师总是能被这些所感动,我也期待并享受他们带给我的这段经历。



About

williamxue

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today