星期二 2005年03月29日
TODO lists for IIIMF from 03/04 - 12/04 TODO lists for IIIMF from 03/04 - 12/04
I am on vacation this week (28/03 - 01/04). next week I will begin to do the following works:
* Documentation.
* port charmap/symbol lookup auxiliary window from Solaris 9.
* m17n language engine.
* memory leak checking in leif/IME/auxiliary window.
And for documentations, need collect the user manuals for the following input methods:
* SunPinYin.
* Chewing.
* Dayi.
* Boshiamy.
( 2005年03月29日, 06:46:43 上午 CST )
Permalink
星期日 2005年03月27日
A very good website about Traditional Chinese I18N/L10N processing Just read one very good website about
Traditional Chinese I18N/L10N processing, see:
http://wiki.debian.org.tw/index.php/ChineseInformationProcessing
I got it from
Jserv's blog:
http://blog.linux.org.tw/~jserv/archives/001084.html
Thanks jserv and some other people's hard work to collect so many good Chinese processing informaiton.
( 2005年03月27日, 11:49:41 下午 CST )
Permalink
Reply James Su 答苏哲书:
Reply for
James Su's comments:
http://blogs.sun.com/roller/comments/eyan/Weblog/what_s_difference_between_iiimf#comments
In your comments, too many subjective, unproven statements would just create confusion and not beneficial, so I would stay just correcting the misunderstandings.
It is wasteful to split precious resource into two projects especially if as James says SCIM can support thin client to rich client as IIIMF do. SCIM does not have a scalability of distributed framework and IIIMF does not have simplicity of library. It's just the design difference. You do not have to attack by using emotional groundless arguments like
James> In my view, IIIMF is more like a commercial/close source
James> product. It's not a good opensource project.
It would be ideal to work together instead of splitting the resources.
We all better understand that every medal has two sides. Then you can see so many minunderstandings you have:
* James> 1. IIIMF must use namespace storage api, It makes almost impossible to use 3rd input method library in IIIMF LEs, because those libraries always handle files/databases themselves.
-> SCIM does not provide namespace, LE has to handle by themselves.
* James> 2. IIIMF must handle multi-user issue It makes LEs much complex than single user model.I always don't understand why input method should be a system wide service. Why input method can't be an user application just like firefox OOo or something else.
-> Acturally not correct, IIIMF can also use vmseperator for single user model.
-> SCIM is not capable of multi_user, so serious LEs who WANT to handle multi_user won't work.
* James> 3. Must implement aux object to get better GUI Implementing. aux object is nightmare for input method developers, at least for me.
-> Actually not correct.
-> SCIM is not capable of per AUX/LE, so serious LEs who WANT to handle AUX won't fit well.
* James> 4. Very few utility functions to help development LEIF is just an API interface, it lacks a library which contains utility functions to help LE developement.
-> very subjective
* James> 5. LEIF interface is very hard to use Just as jserv said before, he spent several weeks(days?) to hack iiimf-chewing but couldn't get it work. But only spent half of a day to get scim-chewing work.
-> LEIF interface provides multiple levels for flexibility. Should choose right level of interface. There is also one chewing module in IIIM tch_le_sun LE, totally ONLY
600 lines of source codes, but support all the features of chewing, including customizable preedit/candidate windows, user perference for chewing input method properties(developers need only specify the properties arguments and need NOT write any GTK/QT sources to implement it), warning beep for wrong input sequence, keyboard layout displaying for 8 kinds of different keymappings, support hundreds of users with different preferences at the same time in ONE single backend thread, etc. While SCIM chewing module spend
1200 lines, and still some of the above features are not supported in SCIM chewing module.
-> SCIM LE interface is not flexible to keep ABI due to C++.
* James> 6. Many design/implementation issues for example:
James> a) Doesn't support multiple input methods in one LE very well.
-> Not true.
James> b) Doesn't support Key Release event (has it been fixed?)
-> This is true for the moment. Will be fixed.
James> c) xaux is tightly binded to X Window
-> This is true, as SCIM's helper is also tightly binded to X Window.
-> Don't forget AUX is originally designed for Java object.
* James> Otherwise there wouldn't be so many additional wrapers on top of
James> IIIMF, eg. Unihan, ThizInput etc.
-> They are not wrappers.
Anyway, both IIIMF and SCIM have their advantages, and disavantages, if we put precious resources together on input methods improvement, I think, the community and end users will applause for the cooperation of IIIMF and SCIM.
( 2005年03月27日, 08:55:56 下午 CST )
Permalink
星期四 2005年03月24日
IIIMF Common GUI Framework IIIMF Common GUI Framework.
We need a cross-platform implementation for IIIM GUI
components, to avoid extra costs and efforts to maintain multiple
UI implementations for different platforms, unix, mac and windows.
Therefore, we can use XUL (XML-based User Interface
Language) to describe UI components, and use JavaScript and XPToolkit
to provide implementation (appearance and behavior) of the
UI components.
These UIs includes:
* Preedit
* Status Indicator
* Input Mode Selector
* Lookup Choice
* Character map/Character Palette
* On-Screen keyboard
* Preference Editor
* Hotkey Editor
* Help
Need implement one prototype recently.
Some useful websites for XUL:
XUL project website: http://www.xulplanet.com
XUL Alliance website: http://xulalliance.org
( 2005年03月24日, 09:23:24 上午 CST )
Permalink
星期一 2005年03月21日
What's difference between IIIMF and SCIM Someones discusse such article on Linuxsir website, see:
http://www.linuxsir.org/bbs/showthread.php?t=180826 (IIIMF 相对 SCIM 有何优势,FC 要选择它?)
I thinks the differences as follow:
1. different design philosophy (设计哲学)
SCIM: KISS (Keep It Simple and Stupid) and 20-80 (use 20% resource to finish 80% features).
IIIMF: 100% meet the input method developer's requirement.
2. different priority on FrontEnd and Backend:
SCIM: High priority on GUI and user experience.
IIIMF: High priority on input method control and backend services.
From the view of MVC (Module/View/Control) model, IIIMF more focus on Control side, while SCIM more focus on View side.
3. different professional level for the design of API (Application Programming Interface)/SPI (Service Provider Interface)
IIIMF provide professional IIIMCF (IIIM client framework) APIs so that all kinds of applications can call IIIMCF APIs to get input methods services from IIIM server. that's one possible that we can replace XIM with IIIMF in the low_level implementation in X11 and applications (such as StarOffice).
SCIM have no such kind of designs.
4. different market target.
IIIMF focus on market with enterprise system environment, for example, thin client system.
And end users more like SCIM.
from the development view of input method architecture, I think, in the long run, IIIMF have more possibility to survive and become one industry standard because it is more scalable that it can accommodate itself to input system with different complexity, from most simple to most complex.
if IIIMF developers put more resources on the GUI enhancement, then IIIMF will everywhere. X11, GTK, Qt, Windows ...
I think, That's why FC choose IIIMF.
( 2005年03月21日, 11:31:59 下午 CST )
Permalink
A good article about how to install Debian Just read one good article about how to install Debian system. blog it for share.
http://apt.nc.hcc.edu.tw/docs/debian_X/
前言
VMware Workstation 下載
網路安裝光碟映像檔下載
新增 Virtual Machine
Debian GNU/Linux
基本系統安裝
基本系統設定
( 2005年03月21日, 10:33:42 下午 CST )
Permalink
星期四 2005年03月17日
Fedora Core 4 Test 1 Installation. Today, I installed Fedora Core 4 Test 1.
I am very disappointed that it do not work as default. I spent lot of time to make it work for me.
1. system freeze when login.
To solve this problem, login in with "FailSafe Terminal" session, run "top", you will see the CPU Time for "syslogd" and "sendmail" are very high. need disable them.
# cd /etc/rc5.d
# mkdir backup
# mv S12syslog S80sendmail backup
# reboot
then the system will start OK.
2. No CJK fonts.
I need copy some Simplified Chinese/Traditional Chinese/Korean fonts from JDS to Fedora Core 4.
# cp
/usr/X11R6/lib/X11/fonts/TTF
# vi /etc/fonts/fonts.conf
add one line "< dir>/usr/X11R6/lib/X11/fonts/TTF< / dir >"
# fc-cache -f
or
insert the Disk 3 of Fedora Core 4 Test1.
# cd /media/cdrom/Fedora/RPMS
# for i in `find . \-name "*.rpm" | grep font`; do rpm \-ivh $i; done
# fc-cache -f
3. No CJK input methods
insert the Disk 3 of Fedora Core 4 Test1.
# cd /media/cdrom/Fedora/RPMS
# for i in `find . \-name "*.rpm" | grep iiim`; do rpm \-ivh \-\-force \-\-nodeps $i; done
Now everything OK.
( 2005年03月17日, 09:17:17 上午 CST )
Permalink
星期三 2005年03月16日
Fedora Core 4 Test 1 released. Fedora Core 4 Test 1 released
got from: http://fedora.redhat.com
I'd like to try these latest features.
This release comes with prereleases of GNOME 2.10, KDE 3.4, OpenOffice.org 2 as well the latest server software like MySQL 4.1.10 and PHP 5.0.3.
Notable features of FC4test1 include:
* gcc 4.0 as the primary system compiler
* GNOME 2.10.0 Beta 2 included
* The Eclipse IDE included along with some featured plugins
* A solid foundation of Java packages for developers (ant, gcj, tomcat, struts, more classpath stuff) and the ability to possibly run Java apps through gij.
* Lots of package updates
* Started movement of packages to Fedora Extras
* PowerPC support
( 2005年03月16日, 10:32:00 上午 CST )
Permalink
星期四 2005年03月10日
Cairo/Arthur/Quartz/GDI+ Arthur: A new paint engine For Qt4:
Arthur, the new paint engine, has an innovative design that makes integrating with different pixel- and vector-based painting architectures straightforward. Quartz and QuickDraw under Mac OS X, Xlib under X11, GDI under Windows, as well as PostScript, SVG, and OpenGL, are examples of technologies that Qt 4 is expected to support---with the possibility of adding Cairo, GDI+, and PDF support later. Arthur's flexible multi-target design will make it possible to use the different paint devices' capabilities to their fullest extent---including hardware accelerated drawing operations, native transformations, and aliasing of lines and fonts. These benefits are applied automatically, making the best use of the underlying architecture.
新的繪圖引擎
Qt 4 會採用一個稱為 Arthur 的新繪圖引擎,讓整合若干不同像素式 (pixel) 或向量式繪圖架構變得更為直覺。Qt 4 預期會支援 Mac OS X 下的 Quartz 與 QuickDraw、X11 下的 Xlib、Windows 的 GDI+,以及 PostScript、SVG,與 OpenGL,日後甚至會把 Cairo、GDI+,以及 PDF 支援納入。Authur 具有彈性的多種架構支援設計可讓不同繪圖裝置的使用上,充分發揮其效果,包含硬體加速繪圖、native transformations,與無鋸齒 (anti-alias) 的繪線與描字。這些特性將會充分發揮底層架構的威力。
See also:
http://cairographics.org
( 2005年03月10日, 02:12:42 下午 CST )
Permalink
星期五 2005年03月04日
Netscape Browser 8.0 Beta Released Copy from mozillaZine news: http://www.mozillazine.org/talkback.html?article=6173
Do not know whether Mozilla 1.8 also support Internet Explorer rendering engines.
Netscape Browser 8.0 Beta. Based on Mozilla Firefox 1.0, offers support for both the Gecko and Internet Explorer rendering engines. A new Site Controls feature lets users enable and disable features like ActiveX, JavaScript and cookies on a site-by-site basis (the browser includes self-updating whitelists and blacklists of safe and dangerous sites). The new Multi-Bar functionality lets users have more on-screen widgets than ever before, including Live Content like RSS feeds, weather forecasts and map searches.
( 2005年03月04日, 08:37:18 上午 CST )
Permalink
星期四 2005年03月03日
Some articles about Sun's Linux Strategy Linux Threat Posed by Microsoft and Sun: In Your Dreams:
http://lxer.com/module/newswire/view/32325/index.html
Authors slam Sun's open source strategy
http://searchenterpriselinux.techtarget.com/originalContent/0,289142,sid39_gci1063309,00.html
( 2005年03月03日, 11:03:29 上午 CST )
Permalink
A great story for IIIMF and chewing for Taiwan CTS project Yesterday, I just have a meeting and have supper with two Taiwan colleagues, Rex Kuo/Ming Cheng. they are just supporting a case of "華視". who is a very big Television in taiwan: http://www.cts.com.tw/.
more informations about the CTS project, see: 昇陽Java桌上軟體簽下首家客戶(國內華視) - http://taiwan.cnet.com/news/software/0,2000064574,20095622,00.htm
For this case, One SunRay Server, installed JDS R3 for Linux, provide desktop services for 300+ employees.
Currently, Rex installed the latest IIIM packages and tch_le_sun language engine on the SunRay server. the feedback is that the Chewing input method is very good. thanks Jim Huang and chewing core team to provide a such great input method product.
also in the supper, Ming and Rex told me a lot of interesting things about Taiwan. I finally know what's special meaning of 2.28 day for Taiwanese, and finally know why Jim Huang wanted to release Chewing 0.2.6 in such a special day.
just google, and get a page introduced the 2.28 day:
"The Significance of 2.28 Revolution of 1947" - http://www.wufi.org.tw/eng/ngon228.htm
The February 28th Incident, occurred on February 28, 1947,
often referred to as the "2-28 Revolution", was an uprising
agaist the corrupt and oppressive Nationalist Chinese regime.
Every year on this day, the people of Taiwan hold services in
memory of the victims of the incident.
( 2005年03月03日, 10:24:38 上午 CST )
Permalink
First Look At Solaris 10 Just get a article about "First Look At Solaris 10", just to share with you.
http://www.madpenguin.org/cms/html/47/3542.html
http://madpenguin.org/cms/?m=show&id=3542&page=2
just copy the first part here:
All political issues aside, Solaris 10 is a very impressive OS. It has some features no other operating system can claim and some that are not necessarily new, but have been implemented in an excellent way. This is not to say it is perfect. There are definitely things I dislike and areas that seem quite unpolished.
There are things I dislike about JDS. As a media player, Sun has chosen the “Java Media Player.” This program has no redeeming factors. XMMS or Rhythmbox would be much better choices. They also tapped Mozilla to be the web browser, not Firefox. With FF gaining more and more attention, this choice makes very little sense to me. However, those are my only complaints about JDS3 and they are small ones.
Nobody is considering Solaris 10 because of JDS3 or its installation routine. They are looking at it because of new features like DTrace, Zones and the new Service Management Framework. Indeed, it has been quite awhile since we have seen a release of any OS with as many large features as Solaris 10.
( 2005年03月03日, 10:21:29 上午 CST )
Permalink
星期三 2005年03月02日
TODO lists for IIIMF from 02/03 - 14/03 TODO lists from 02/03 - 14/03
* IME ( cangjie/dayi/wubi, etc ) keyboard layout displaying.
* Documentation.
* Unicode Neima input method.
* tch_le_sun charset enhancement. (Taiwan give feedbacks that only BIG5 characters are supported.)
* Chinese punctuation "" matching input
* Virtual keyboard shortcut key
* Korean language engine.
* m17n language engine.
* memory leak checking in leif/IME/auxiliary window.
* stress testing.
* change sprintf to snprintf to pass _FORTIFY_SOURCE=2 building with gcc4. to remove potential buffer-overflow problems. (done)
* Thai language engine. (done)
* pagedown/pageup icon gray problem. (done)
* Mozilla preedit/candidate position problem. (done)
* Separate IME properties for different users in LE side. (done)
* New login with same name, palette aux can not be shown. (done)
* New directory hierarchy. (done)
* Support beep. (done)
* beep enable/disable for user preference. (done)
* support "ImeProperty_Int" (done)
* preedit caret problem for codetable input method. (done)
* properties support for chewing input method (done)
( 2005年03月02日, 01:18:05 下午 CST )
Permalink
星期二 2005年03月01日
Mozilla Type1 printing. Currently, mozilla support Fontconfig/Freetype printing, that's to say, mozilla use fontconfig to get font information, use freetype to extract the glyph, then format the glyphs as subseted CID-keyed fonts(defined as type 9 format in Acrobat documentations), finally embed the CID-keyed fonts into PS file.
with this feature, mozilla have the following printing features:
1. Support all languages, include CJK/Thai/Hindi/Arabic..
2. support WYSIWYG, mozilla use the fonts of display for printing.
more details, see bug: http://bugzilla.mozilla.org/show_bug.cgi?id=190031
but another problem happened, the mozilla generated ps files is with postscript level 3 since it embeded CID-keyed fonts, some printers only support postscript level 1, and could not print level 3 ps file directly.
To solve this problem, there are the following solutions:
1. Add filter in printer systems. do ps2ps to convert the postscript level 3 ps file to postscript level 1.
CUPS already add specific "pswrite" filter for Mozilla to do this job.
This solution need add filters in all kinds of printing systems, such as CUPS, LPRng, OpenPrinting.
2. Generate postscript level 1 ps file directly.
Gnome generate ps file with Type42, StarOffice/OpenOffice generate ps file with Type3, after do comparison, Mozilla decide to generate ps file with Type1.
more details, see bug: https://bugzilla.mozilla.org/show_bug.cgi?id=234182
( 2005年03月01日, 12:02:58 下午 CST )
Permalink