タグ

rubyとunohshareに関するkomagataのブックマーク (3)

  • JavaScriptによる全文検索エンジン - llameradaの日記

    JavaScriptでインデックス型の全文検索エンジンを作ってみた。全文検索エンジンを作る際に問題となるのは、インデックスデータを部分的に読み込む方法である。通常はmmapやpreadなどを使ってファイルの一部を部分的に読み込むのだが、もちろん、ブラウザには使えない。ブラウザでファイルの一部分を読み込むには2通りの方法がある。1つは、ファイルを多数のファイルに分割する方法であり、もう1つはHTTPリクエストのRangeヘッダを利用して、ファイルの一部を取得する方法である。前者の利点は、ブラウザのキャッシュが効くことや、対応ブラウザが多いことである。後者の利点は、ファイル数が少なくなるので、インデックスの管理が容易になることである。今回はRangeヘッダの実用性にも興味があったので、後者の方法を用いた。 参考ページ:最速インターフェース研究会 :: Ajaxを使ったシンプルなチャット 転置イ

    JavaScriptによる全文検索エンジン - llameradaの日記
    komagata
    komagata 2008/03/13
    これはすごい。インデクサはRuby。全文検索がJS
  • RubyForge: FuseFS: Project Info

    FuseFS lets ruby programmers define filesystems entirely in Ruby. That is - with FuseFS, you can now create a mounted filesystem entirely defined in Ruby! Included are proof of concept filesystems: SQL table mappings, YAML filesystem, and more! This project has not yet categorized itself in the Trove Software Map.Registered: 2005-09-19 07:43 Activity Percentile: 48.68% View project activity stati

    komagata
    komagata 2008/03/13
    RubyでFUSE
  • Mephisto―The best blogging system ever

    John Nunemaker, top ruby blogger of 2008, just posted about RailsTips.org’s awesomely expanded footer. If you click through to the full post, you’ll see his custom plugin pulling the most popular articles from his Mint stats. Mephisto is officially back! The 0.8.1 release features 157 patches since the start of the month, and several major improvements, including: Support for Rails 2.2. Unit tests

    komagata
    komagata 2008/03/13
    Edge RailsベースのBlogシステム
  • 1