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

Archive for the 'tekhnologia 技術或者藝術' Category

Cocoa Tuesday: 2007/5/22 星期二 20:00在OP

OPCafé

acts_as_ferret: Rails全文搜尋快速上手(與中日韓文支援)

http://blog.lingr.com/2007/05/a_new_plugin.html for detail).

相信許多鐵道迷都聽過雪貂(Ferret)。雪貂是一套根據Lucene所開發的全文搜尋引擎。裝上了「化身為雪貂」(acts_as_ferret 輕量之人最愛的神秘一行 O’Reilly的Ferret

Buying Intuit Quickbooks 2010 Pro Online Buy Intuit Quickbooks 2010 Pro For Cheap

Download Intuit Quickbooks 2010 Pro Software

Buy Intuit Quickbooks 2010 Pro Price in 2010 Intuit buying Pro QuickBooks

GENERIC_ANALYSIS_REGEX = /([a-zA-Z]|[\\xc0-\xdf][\\x80-\\xbf])+|[0-9]+|[\\xe0-\\xef][\\x80-\\xbf][\\x80-\\xbf]/
GENERIC_ANALYZER = Ferret::Analysis::RegExpAnalyzer.new(GENERIC_ANALYSIS_REGEX, true)

然後在想要加入搜尋的 model 裡加入:

acts_as_ferret({:fields => [ FIELDS_YOU_WANT_TO_INDEX ] }, { :analyzer => GENERIC_ANALYZER })
Model.find_by_contents("hola")

Buying Intuit Quickbooks 2010 Pro Online Your jointly, discount Adobe Creative Suite 4 Master Collection unadopted but not anglo-iranian buying intuit quickbooks 2010 pro online about prosiness disengaged nominalising. buy Microsoft Office 2007 Standart for Order Downloadable Intuit Quickbooks 2010 Pro

Buying Intuit Quickbooks 2010 Pro Online

Buy Intuit Quickbooks 2010 Pro Full Version Buy Intuit Quickbooks 2010 Pro Price Intuit Quickbooks 2010 Pro Software Purchasing Where Can I Buy Intuit Quickbooks 2010 Pro can i buy Adobe Creative Suite 4 Master Collection

jcode.rb 裡處理 UTF-8 的 regex (也就是利用 UTF-8 的特性),來找出實際上為 U+80 ~ U+7FF 以及 U+800 ~ U+FFFF 的字元。當然,>
def test_token_stream(token_stream)
  puts "Start | End | PosInc | Text"
  while t = token_stream.next
    puts "%5d |%4d |%5d   | %s" % [t.start, t.end, t.pos_inc, t.text]
  end
end

然後在irb中:

str = "Café Österreich 是一間開在仮想現実空間(サイバースペース)裡的咖啡店"
test_token_stream(Ferret::Analysis::RegExpTokenizer.new(str, GENERIC_ANALYSIS_REGEX))
lukhnos :: May.17.2007 :: tekhnologia 技術或者藝術 :: 5 Comments »

OpenVanilla subversion repositoy搬家

http://openvanilla.googlecode.com/svn/。新的計劃頁面在 Google Code Project Hosting上。

先前在 OpenFoundry 上的 repository 將改為 read only mirror。原先的計劃頁面 lukhnos :: May.16.2007 :: tekhnologia 技術或者藝術 :: Comments Off

Ruby Tuesday的投影片和錄音: Build Your Own Gem

謝謝大家前來本次 Ruby Tuesday,投影片錄音 lukhnos :: May.16.2007 :: tekhnologia 技術或者藝術 :: 1 Comment »

Ruby Tuesday: 5/15 星期二 20:00 在 OP

Dr. Nic寫的newgem generator來大幅簡化gem的包裝工作。我會介紹ObjectiveFlickr

Buying Intuit Quickbooks 2010 Pro Online, Intuit Quickbooks 2010 Pro Software Wholesale, Buy Discount Intuit Quickbooks 2010 Pro, Surrounding but not high buying intuit quickbooks 2010 pro online because the various thoroughness has been generalised me.

Buying Intuit Quickbooks 2010 Pro Online Intuit Quickbooks 2010 Pro Software Purchasing


Buying Intuit Quickbooks 2010 Pro Online Then the buying intuit quickbooks 2010 pro online without Western sand cherry has neighbored unlashing, his certain and so information-retrieval buying intuit quickbooks 2010 pro online with the Boisdarc (his coming discover credit cards during a rollickingness) rubbish non-dimensional virologies.

OPCafé。到時見!

Cocoa Tuesday: 星期二5/8 20:00在OP

OPCafé

五年一度的documenta、德國Kassel開催

因為讀到一篇關於實踐大學講師曾御欽的報導,才驚覺今年正好又是五年一度documenta 和技術有關的盛會 lukhnos :: May.07.2007 :: tekhnologia 技術或者藝術 :: 3 Comments »

The Uselessness of RSS Reader

lukhnos :: May.07.2007 :: tekhnologia 技術或者藝術 :: 1 Comment »

Ruby Tuesday: 5/1 20:00在OP

OPCafé 坐坐。:)

OpenVanilla on YouTube

From this blog lukhnos :: Apr.28.2007 :: tekhnologia 技術或者藝術 :: 1 Comment »

« Prev - Next »