Thursday, July 20, 2006

Install .deb

Today I try to install scim-thai-xxx.deb from thep (Actually, it is in http://linux.thai.net/apt.) Anyways, on Ubuntu 6.06, it has to be rebuild. Unluckly, I don't know how to install .deb with dependency checking. ans answer my question in #tlwg as follow:


ans-ffox-win2003 vee____: dpkg -i can install any packge without dependency check
vee____ ans-ffox-win2003: i see .....
vee____ ans-ffox-win2003: how could I perform checking?
ans-ffox-win2003 but the package will still in the "unpacked" state, not "configured" state
ans-ffox-win2003 dpkg -i, then "apt-get install"
vee____ ans-ffox-win2003: thank you
ans-ffox-win2003 if dpkg -i without correct dependency, it will be "unpackaged" or "half-configured" state, not "installed" state
ans-ffox-win2003 ayan
ans-ffox-win2003 just run "apt-get install" it will try to complete the dependency
ans-ffox-win2003 ayan
vee____ ans-ffox-win2003: cool
vee____ ans-ffox-win2003: can I post the discussion log to my blog?
ans-ffox-win2003> many installation script that install .deb, does use this method.
ans-ffox-win2003> yes, can post
ans-ffox-win2003 ayan
vee____ ans-ffox-win2003: thx
ans-ffox-win2003 many installation script that install .deb, do the following step,
ans-ffox-win2003 1. dpkg -i xxx.deb
ans-ffox-win2003 2. apt-get install


He also commented that dpkg -s can be used to check installation status.

Thursday, July 06, 2006

[LinkGrammar4R] We need higer-level API?

Thank Bradford Folkens for reporting the bug that sometime LinkGrammar4R just crashes when Linkage.new is called. It occurs since there is no linkage from parsing result. Thus, in Linkage.new, the index was checked before calling linkage_create. If the index is out of range, the exception will be raised.

However, I feel like LinkGrammar4R need more higher-level API that free us for checking these index. It may be an iterator?


iterateLinkage(sent, opt).each{|linkage|
.....
}

or

parsedSentence.eachLinkage(opt) {|linkage|
......
}

Tuesday, July 04, 2006

A product from Nectec's codefest (Release)

I played Parsit firefox extension from Group number 3. This may be practical way for machine translation user interface today. :-)

Thanks blaa for helping to install this, thanks everyone in Parsit firefox extension team for developing such a good software and thanks NECTEC for the excellent campaign.


ผมลองเล่น Parsit firefox extension จากกลุ่ม 3 ดู โปรแกรมแบบนี้อาจจะเป็นวิธีที่ดีในทางปฎบัติที่จะสร้าง user interface สำหรับโปรแกรมแปลอัตโนมัติ

ขอบคุณปลาที่สอนลงโปรแกรมนี้ ของคุณทุกคนที่ทำโปรแกรมนี้ ขอบคุณ nectec ที่ทำโครงการดีๆ ขึ้นมา

Screencast: http://vee.pompokoisme.com/screencast/parsit_ff.swf
Its homepage: http://www.softwarebank.org/projects/parsit-cf03/
Release: http://www.softwarebank.org/project/showfiles.php?group_id=59&release_id=69

Monday, July 03, 2006

TIS-620 will be in xchat-gnome combo box.

TIS-620 was added to xchat-gnome's combo box in the svn truck. Thanks xchat-gnome developer(s) and Thep also for making Thai known to FLOSS community.


นักพัฒนาเพิ่ม TIS-620 เข้าไปใน combo box ของ xchat-gnome แล้ว :-) ขอบคุณนักพัฒนาเอ็กซ์แชทโนม และป๋าเทพด้วยที่ให้ภาษาไทยเป็นที่รู้จักในชุมชนซอฟต์แวร์เสรี

http://svn.navi.cx/misc/trunk/xchat-gnome/src/fe-gnome/irc-network.c
http://bugzilla.gnome.org/show_bug.cgi?id=346396