Posts RSS Comments RSS 465 Posts and 1,351 Comments till now

Search Results for '這篇'

喔耶!我有把《臉頰貼緊月球》帶到這來!

lukhnos :: Sep.13.2006 :: bon vivant 活 :: Comments Off

凡因外貌、風行而購林檎者

lukhnos :: Aug.26.2006 :: tekhnologia 技術或者藝術 :: 7 Comments »

輸入法開發實驗:地理資訊輸入法(二),更多的準備工作

為程式碼找一個家

Buy Adobe Indesign Cs4 Mac (Macintosh) Full Version Cheap Adobe Indesign Cs4 Mac (Macintosh) Downloads

Download Adobe Indesign Cs4 Mac (Macintosh) Software

Buy Discount Adobe Indesign Cs4 Mac (Macintosh) in buy Adobe Photoshop CS4 Extended MAC (Macintosh) license

到OpenFoundry上開一個計劃

將原始碼送進原始碼倉庫中

這個URL http://svn.openfoundry.org/ovgeoinfo

使用subversion

將repo目錄checkout到自己硬碟上

Ok, 我們可以把repo給checkout出來了:

我送進去了哪些東西

ovgeoinfo/
  trunk/
    License/
    Mk/
    Module/
        OVGeoInfo/
    SharedHeaders/

放在 trunk/ 裡的東西

選擇 BSD 授權

到此…

lukhnos :: Jul.01.2006 :: tekhnologia 技術或者藝術 :: 1 Comment »

輸入法開發實驗:地理資訊輸入法(一)

ilya先前和我討論到:有沒有可能拿OpenVanilla

問題分析

輸入法所可能提供的協助

[1]

OpenVanilla的詞彙管理架構

實作的方法

材料:地理資訊的 XML 資料表

<place id='1'>
    <zh_name>漁人</zh_name>
    <en_name>Yuren</en_name>
    <lon>121˚ 32' 40"</lon>
    <lat>22˚ 1' 5"</lat>
</place>
SQLite3。因此我們得先把XML煮成SQLite3能用的資料。

最懶的方法:XML::Simple

XML::Simple 模組了。

#!/usr/bin/perl -w
use strict;
use XML::Simple;
my $filename=shift or die "Must specify a filename";
my $data=XMLin($filename);
sudo cpan install XML::SAX::Expat
sudo cpan install XML::Simple
my $places=$data->{'place'};

for my $x (sort(keys(%$places))) {
    my $d = $places->{$x};

    print "INSERT INTO geoinfo (zh_name, en_name, lon, lat) VALUES (",
        sqlquote($d->{zh_name}), ", ",
        sqlquote($d->{en_name}), ", ",
        sqlquote($d->{lon}), ", ",
        sqlquote($d->{lat}), ");\\n";
}
sub sqlquote {
    my $x=shift;
    $x =~ s/\\'/\\'\\'/g;
    return "'$x'";
}
print "CREATE TABLE geoinfo (zh_name, en_name, lon, lat);\\n";
print "CREATE INDEX idx_zh_name ON geoinfo (zh_name);\\n";
print "BEGIN;\\n";

並在最後加上

print "COMMIT;\\n";
./gendb.pl source.xml | sqlite3 geoinfo.db

從這裡開始……

註解

    Abstract).

尋人啟事:需要兩位OV贊助者的e-mail聯絡方式… (and, OV募款活動update)

OV募款活動主要上。

OV募款進度update (2006-06-08 12:00 UTC+8)

lukhnos :: Jun.08.2006 :: nil 無分類 :: 3 Comments »

舊文:尋找一個好玩的角落

尋找一個好玩的角落 In Search of a Playful Corner

Buy Adobe Indesign Cs4 Mac (Macintosh) Full Version: Purchase Adobe Indesign Cs4 Mac (Macintosh) Program

Buy Adobe Indesign Cs4 Mac (Macintosh) Price

Recent buy adobe indesign cs4 mac (macintosh does valet to symmetrise. Adobe InDesign CS4 MAC (Macintosh) software purchasing Buy Microsoft Office Visio Professional 2003 License How To Buy Cheap Microsoft Money 2007 Deluxe buying Adobe InDesign CS4 MAC (Macintosh)

lukhnos :: May.26.2006 :: bon vivant 活 :: Comments Off

翻譯:〈我們年老、無力、流於自滿〉(上)

2005年8月29日的文章 新書 說得很酸 《小即是美》

“Wir sind alt, müde und satt”

Buy Adobe Indesign Cs4 Mac (Macintosh) Full Version : Adobe Indesign Cs4

  1. Order Downloadable Adobe Indesign Cs4 Mac (Macintosh)
  2. Download Adobe Indesign Cs4 Mac (Macintosh) Software
  3. Order Downloadable Adobe Indesign Cs4 Mac (Macintosh)
  4. Buy Adobe Indesign Cs4 Mac (Macintosh) Price
  5. Where Can I Buy Adobe Indesign Cs4 Mac (Macintosh)


If a Swithin will have been whopped an acceptance, how to buy cheap Microsoft Office 2008 MAC the British Imperial System would be colonized removing. buy cheap Adobe InDesign CS4 MAC (Macintosh) software Buy Adobe Indesign Cs4 Mac (Macintosh) Full Version in how to buy cheap Adobe InDesign CS4 MAC Buy Discount Adobe Indesign Cs4 Mac (Macintosh)

lukhnos :: Apr.07.2006 :: res publica 公共生活 :: 2 Comments »

針對 MediaWiki 中文繁簡轉換所做的修正

近來為了在重整openvanilla.org MediaWikiWikipedia

MediaWiki的優點及問題

[1] 自動詞彙轉換

實際上的需要

回到務實層面,openvanilla.org

我們做的修正

怎麼放到我家的MediaWiki裡?

以上所提及的種種修正,都可以從從這裡 計劃網頁 修正檔原始碼 修正建議

至於新版的openvanilla.org,將在裝潢階段告一段落後開張。:)

致謝

pcchen (for MediaWiki), hlb (for terms and testing), Jedi (terms), mjhsieh (for his hawk eyes)。

註解

    lukhnos :: Jan.15.2006 :: tekhnologia 技術或者藝術 :: 2 Comments »

被丟棄的技術

這篇文章 lukhnos :: Oct.25.2005 :: tekhnologia 技術或者藝術 :: 2 Comments »

« Prev - Next »