<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-36602825</id><updated>2012-01-29T13:49:27.573+09:00</updated><category term='ruby'/><category term='couchdb'/><category term='libreoffice'/><category term='PS3'/><category term='ipsec'/><category term='yaltools'/><category term='web'/><category term='unittest'/><category term='beagleboard'/><category term='db2'/><category term='chrome'/><category term='lscouchdb'/><category term='イベント'/><category term='ldap'/><category term='git'/><category term='stunnel'/><category term='なにげに考えた事'/><category term='debian'/><category term='openvpn'/><category term='プログラミング'/><category term='windows'/><category term='趣味'/><category term='gettext'/><category term='anakia'/><category term='netbsd'/><category term='prism'/><category term='xen'/><category term='bind'/><category term='vps'/><category term='linux'/><category term='cfengine3'/><category term='virtualbox'/><category term='centos'/><category term='cuda'/><category term='多言語化'/><category term='logic'/><category term='やってみた'/><category term='vmware'/><category term='散策'/><category term='rdfa'/><category term='パソコン'/><category term='政治'/><category term='cloud'/><category term='メディア'/><category term='読書'/><category term='英語'/><category term='ipset'/><category term='jquery'/><category term='movie'/><category term='リテラシー'/><category term='alix'/><category term='mac'/><category term='投資'/><category term='opensolaris'/><category term='マイコン'/><category term='ubuntu'/><category term='cheatsheet'/><category term='音楽'/><category term='ipv6'/><category term='json'/><title type='text'>Yet Another Diary</title><subtitle type='html'>普段考えている事やら、何やら特定のトピックは設定せずに、将来読み返す自分に向けて何か書いてゆくためのスペースです。
&lt;br&gt;
とはいえ書くからには再利用しやすいものを目指します。
&lt;br&gt;
コメントは各記事への投稿か、&lt;a href="http://groups.google.com/group/yasundial"&gt;Google Groups "Yasundial/Yadiary Forum"&lt;/a&gt;へどうぞ</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default?start-index=101&amp;max-results=100'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>449</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-36602825.post-5501052632497186130</id><published>2011-12-30T01:33:00.001+09:00</published><updated>2011-12-30T01:38:16.895+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='マイコン'/><title type='text'>X-CTUを使ったAE-UM232R経由でのXBeeの構成方法</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: X-CTUを使ったAE-UM232R経由でのXBeeの構成方法
      --&gt;
    &lt;!--
          blogger_label: マイコン
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  ひさしぶりにAE-UM232Rを引っ張り出してきてXBee (Series2)と接続して、X-CTUによるセットアップを行ないました。
接続やら何やら忘れそうなのでメモを残します。

  
      秋月謹製USB-シリアルコンバータ:AE-UM232RによるXBeeの設定 by X-CTU
        
          構成
          AE-UM232RとXBeeとの</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/5501052632497186130/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=5501052632497186130' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/5501052632497186130'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/5501052632497186130'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2011/12/x-ctuae-um232rxbee.html' title='X-CTUを使ったAE-UM232R経由でのXBeeの構成方法'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-7116578746734317102</id><published>2011-04-06T18:20:00.001+09:00</published><updated>2011-04-06T19:26:04.396+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='プログラミング'/><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><title type='text'>Visual Studio 2005でCrypto++ライブラリを使ってみる</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: Visual Studio 2005でCrypto++ライブラリを使ってみる
      --&gt;
    &lt;!--
          blogger_label: windows
          blogger_label: プログラミング
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  手元のVisual Studio 2005はVB2005を使って、以前働いていた職場でプログラムを作る他はもっぱら自分の遊びようでしたが、今回はひさしぶりにVC++2005を使ってみる事にしました。

  いまどきVC#じゃなくて、VC++を使ったのはIPropertySetStorageを使うプログラミング</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/7116578746734317102/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=7116578746734317102' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/7116578746734317102'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/7116578746734317102'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2011/04/visual-studio-2005crypto.html' title='Visual Studio 2005でCrypto++ライブラリを使ってみる'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-3745097790660346312</id><published>2011-04-02T20:52:00.001+09:00</published><updated>2011-04-03T01:48:18.140+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='プログラミング'/><category scheme='http://www.blogger.com/atom/ns#' term='chrome'/><title type='text'>Make Permanent Pinned Tabs with Google Chrome</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: Make Permanent Pinned Tabs with Google Chrome
      --&gt;
    &lt;!--
          blogger_label: chrome
          blogger_label: プログラミング
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  Google Chrome 10 has a great feature about the pinned tab.
Before that, some people uses the "--pinned-tab-count" command line option to create the </summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/3745097790660346312/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=3745097790660346312' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/3745097790660346312'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/3745097790660346312'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2011/04/make-permanent-pinned-tabs-with-google.html' title='Make Permanent Pinned Tabs with Google Chrome'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-6194665517353475682</id><published>2011-03-31T02:06:00.001+09:00</published><updated>2011-03-31T14:36:03.148+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='プログラミング'/><category scheme='http://www.blogger.com/atom/ns#' term='chrome'/><category scheme='http://www.blogger.com/atom/ns#' term='web'/><title type='text'>chrome.tabsイベントの動きを追って、graphvizで図にしてみた</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: chrome.tabsイベントの動きを追って、graphvizで図にしてみた
      --&gt;
    &lt;!--
          blogger_label: web
          blogger_label: chrome
          blogger_label: プログラミング
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  Open PinnedTab LinkというGoogle chromeの機能拡張を作成したので、
Google Chrome Extensionsのデベロッパーガイドを読む必要がありました。

  特に Browser Interaction/Tabs </summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/6194665517353475682/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=6194665517353475682' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/6194665517353475682'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/6194665517353475682'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2011/03/chrometabsgraphviz.html' title='chrome.tabsイベントの動きを追って、graphvizで図にしてみた'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-6999682536325211655</id><published>2011-03-29T19:27:00.001+09:00</published><updated>2011-03-29T19:27:23.708+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vmware'/><category scheme='http://www.blogger.com/atom/ns#' term='movie'/><category scheme='http://www.blogger.com/atom/ns#' term='logic'/><title type='text'>LinuxのVMWare Workstationで録画したスクリーンキャプチャにMacのLogic 8でBGMをつけてみる</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: LinuxのVMWare Workstationで録画したスクリーンキャプチャにMacのLogic 8でBGMをつけてみる
      --&gt;
    &lt;!--
          blogger_label: movie
          blogger_label: vmware
          blogger_label: logic
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  手元のLinux版のVMWare Workstation 7.1.3には画面操作を録画する機能があります。

  形式はAVI形式なのですが、中身のコーデックがWindowsベッタリなのかMac側のLogic</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/6999682536325211655/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=6999682536325211655' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/6999682536325211655'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/6999682536325211655'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2011/03/linuxvmware-workstationmaclogic-8bgm.html' title='LinuxのVMWare Workstationで録画したスクリーンキャプチャにMacのLogic 8でBGMをつけてみる'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-1198434206266294110</id><published>2011-03-29T05:29:00.001+09:00</published><updated>2011-03-29T05:29:41.999+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='プログラミング'/><category scheme='http://www.blogger.com/atom/ns#' term='chrome'/><category scheme='http://www.blogger.com/atom/ns#' term='web'/><title type='text'>Google Chrome用の機能拡張 "Open PinnedTab Link" を作ってみた</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: Google Chrome用の機能拡張 "Open PinnedTab Link" を作ってみた
      --&gt;
    &lt;!--
          blogger_label: web
          blogger_label: chrome
          blogger_label: プログラミング
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  結論からいうと、この記事ではGoogle Chrome用に作成したOpen PinnedTab Linkという拡張機能を紹介しています。

  
      ブックマーク代りのピン化したタブ
      TabLinkは全部のリンクを</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/1198434206266294110/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=1198434206266294110' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/1198434206266294110'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/1198434206266294110'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2011/03/google-chrome-pinnedtab-link.html' title='Google Chrome用の機能拡張 &amp;quot;Open PinnedTab Link&amp;quot; を作ってみた'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-5557482219343071398</id><published>2011-03-24T01:57:00.001+09:00</published><updated>2011-03-24T18:20:00.377+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ruby'/><category scheme='http://www.blogger.com/atom/ns#' term='gettext'/><category scheme='http://www.blogger.com/atom/ns#' term='プログラミング'/><category scheme='http://www.blogger.com/atom/ns#' term='多言語化'/><category scheme='http://www.blogger.com/atom/ns#' term='web'/><title type='text'>RubyでFastCGIとGetTextモジュールを組み合せる</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: RubyでFastCGIとGetTextモジュールを組み合せる
      --&gt;
    &lt;!--
          blogger_label: web
          blogger_label: ruby
          blogger_label: gettext
          blogger_label: プログラミング
          blogger_label: 多言語化
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  Rubyで多言語化を行なうにはMutohさんのRuby-GetText-Packageが便利そうです。

  通常の po → mo の変換を行</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/5557482219343071398/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=5557482219343071398' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/5557482219343071398'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/5557482219343071398'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2011/03/rubyfastcgigettext.html' title='RubyでFastCGIとGetTextモジュールを組み合せる'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-2845024285043115746</id><published>2011-03-17T15:16:00.001+09:00</published><updated>2011-03-17T15:46:16.639+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='なにげに考えた事'/><title type='text'>「不謹慎」を狩るのが流行っているみたい</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: 「不謹慎」を狩るのが流行っているみたい
      --&gt;
    &lt;!--
          blogger_label: なにげに考えた事
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  プロがコンサートを開くといって「不謹慎」だと叩かれているような状況が報道されています。

  そもそも「つつしみ」がない、不足している状態をみて、「それは不謹慎だ」などというわけですが、
「つつしみ」を内に秘めて行動した場合、あるいは言葉が足りていない場合には、それが相手に伝わらずに反発を招くことは十分に予想されます。

  そういった場合には、返す刀で斬るのではなく、「誤解を与えたようですが、〜です。」</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/2845024285043115746/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=2845024285043115746' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/2845024285043115746'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/2845024285043115746'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2011/03/blog-post.html' title='「不謹慎」を狩るのが流行っているみたい'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-6023578243389826407</id><published>2011-03-11T19:31:00.001+09:00</published><updated>2011-03-11T21:27:50.670+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ruby'/><category scheme='http://www.blogger.com/atom/ns#' term='プログラミング'/><category scheme='http://www.blogger.com/atom/ns#' term='db2'/><title type='text'>DB2 Express-C 9.7とRuby(IBM_DB Driver)を使ってみる</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: DB2 Express-C 9.7とRuby(IBM_DB Driver)を使ってみる
      --&gt;
    &lt;!--
          blogger_label: db2
          blogger_label: ruby
          blogger_label: プログラミング
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  最近はNonSQL DBばかりに注力していたので、ひさしぶりにRDBMSに回帰してみました。

  データは最近扱っているiptablesログか郵便番号か、どちらにしようかと思ったのですが、MongoDBでは郵便番号情報を扱っていたので、今回は</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/6023578243389826407/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=6023578243389826407' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/6023578243389826407'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/6023578243389826407'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2011/03/db2-express-c-97rubyibmdb-driver.html' title='DB2 Express-C 9.7とRuby(IBM_DB Driver)を使ってみる'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-1570861556940006298</id><published>2011-03-04T20:56:00.001+09:00</published><updated>2011-03-04T20:59:21.232+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='couchdb'/><category scheme='http://www.blogger.com/atom/ns#' term='lscouchdb'/><category scheme='http://www.blogger.com/atom/ns#' term='yaltools'/><title type='text'>YALTools: 手作業によるデータベースコピーの効率</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: YALTools: 手作業によるデータベースコピーの効率
      --&gt;
    &lt;!--
          blogger_label: couchdb
          blogger_label: lscouchdb
          blogger_label: yaltools
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  CouchDBをメンテナンスするために作成したlscouchdbのパフォーマンスを考えてみました。

  対象はDTI VPSにホスティングしているサーバー上のCouchDB 1.0.2です。

  lscouchdbをコピーしてloopbackの</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/1570861556940006298/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=1570861556940006298' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/1570861556940006298'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/1570861556940006298'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2011/03/yaltools.html' title='YALTools: 手作業によるデータベースコピーの効率'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-9041908778883669985</id><published>2011-02-26T20:24:00.001+09:00</published><updated>2011-02-26T20:24:42.154+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ruby'/><category scheme='http://www.blogger.com/atom/ns#' term='プログラミング'/><title type='text'>Ruby::ゾンビプロセスを量産するopenメソッドの使い方 - IO::popenと%x{}の違い</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: Ruby::ゾンビプロセスを量産するopenメソッドの使い方 - IO::popenと%x{}の違い
      --&gt;
    &lt;!--
          blogger_label: ruby
          blogger_label: プログラミング
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  DTIサーバのディスク容量監視にyadaemon.rbを使ったRubyスクリプトを走らせています。

  ディスク容量を把握するのは、ちょっと面倒なので内部では手を抜いてopen("|df")を実行しています。

  しばらく走らせてみたらdefunctプロセス(いわゆるゾンビプロセス)が</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/9041908778883669985/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=9041908778883669985' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/9041908778883669985'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/9041908778883669985'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2011/02/rubyopen-iopopenx.html' title='Ruby::ゾンビプロセスを量産するopenメソッドの使い方 - IO::popenと%x{}の違い'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-1597036873331597875</id><published>2011-02-25T16:10:00.001+09:00</published><updated>2011-02-27T01:01:53.184+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rdfa'/><category scheme='http://www.blogger.com/atom/ns#' term='cheatsheet'/><category scheme='http://www.blogger.com/atom/ns#' term='web'/><title type='text'>RDFaを理解する際に便利かもしれないCheatSheetの作成</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: RDFaを理解する際に便利かもしれないCheatSheetの作成
      --&gt;
    &lt;!--
          blogger_label: web
          blogger_label: rdfa
          blogger_label: cheatsheet
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  手持ちのWebサイトではしばらく前からXHTML+RDFa-1.0をDTD宣言に使用していましたが、十分に対応できている状況ではありませんでした。

  今は個人的使うCMSというか静的HTML/RSS生成ツールを作成していて、RDFの構造を意識しようとしています</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/1597036873331597875/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=1597036873331597875' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/1597036873331597875'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/1597036873331597875'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2011/02/rdfacheatsheet.html' title='RDFaを理解する際に便利かもしれないCheatSheetの作成'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-1602579346006572448</id><published>2011-02-22T15:54:00.001+09:00</published><updated>2011-02-22T16:01:33.257+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ruby'/><category scheme='http://www.blogger.com/atom/ns#' term='プログラミング'/><title type='text'>Ruby 1.9.2以降(移行後?) - YAML::unescapeの行方</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: Ruby 1.9.2以降(移行後?) - YAML::unescapeの行方
      --&gt;
    &lt;!--
          blogger_label: ruby
          blogger_label: プログラミング
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  作成しているアプリケーションの中で設定を変更するために、YAMLデータ形式を経由してsave/restore機能を付けています。

  便利に使っていたのですが、やや本気で使ってみたところ、UTF-8な日本語文字列をファイルに書き出したタイミングでエスケープされた形式になってしまう事に気がつきました。

    </summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/1602579346006572448/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=1602579346006572448' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/1602579346006572448'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/1602579346006572448'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2011/02/ruby-192yamlunescape.html' title='Ruby 1.9.2以降(移行後?) - YAML::unescapeの行方'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-1740017800479896087</id><published>2011-02-06T02:22:00.001+09:00</published><updated>2011-02-06T02:22:54.991+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='libreoffice'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>Ubuntu 10.04 LTSでlibreofficeが文字化けする件について</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: Ubuntu 10.04 LTSでlibreofficeが文字化けする件について
      --&gt;
    &lt;!--
          blogger_label: ubuntu
          blogger_label: libreoffice
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  わりと普通にPPAをみてUbuntu 10.04 LTS (Lucid) 用のlistファイルを作成してLibreOffice 3.3を導入したところ見事に文字化けしてしまいました。

  

    cat /etc/apt/sources.list.d/libreoffice.list の</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/1740017800479896087/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=1740017800479896087' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/1740017800479896087'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/1740017800479896087'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2011/02/ubuntu-1004-ltslibreoffice.html' title='Ubuntu 10.04 LTSでlibreofficeが文字化けする件について'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-420120484540331763</id><published>2011-02-04T20:05:00.001+09:00</published><updated>2011-02-04T20:09:15.172+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='プログラミング'/><category scheme='http://www.blogger.com/atom/ns#' term='git'/><title type='text'>sf.jpが提供するPersonalForgeをしばらく使ってみた感想</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: sf.jpが提供するPersonalForgeをしばらく使ってみた感想
      --&gt;
    &lt;!--
          blogger_label: プログラミング
          blogger_label: git
    --&gt;
  PersonalForgeはSourceForge.jp (sf.jp)が提供する個人向けのGitリポジトリを提供するサービスで、2011年1月13日にリリースされています。

  GitHubも同時に使い始めましたが、sf.jp全般は本家のSourceForge.net (sf.net)と比べてガイドが分かりやすく、次に何をするべきか把握することができました。

  sf.netを使った時には、Git</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/420120484540331763/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=420120484540331763' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/420120484540331763'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/420120484540331763'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2011/02/sfjppersonalforge.html' title='sf.jpが提供するPersonalForgeをしばらく使ってみた感想'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-1456090440204706794</id><published>2011-02-03T20:37:00.001+09:00</published><updated>2011-02-03T20:37:44.910+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='web'/><title type='text'>OpenOffice Calcでダブルクォートが特殊文字に変換される現象について</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: OpenOffice Calcでダブルクォートが特殊文字に変換される現象について
      --&gt;
    &lt;!--
          blogger_label: web
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  CSVファイルを扱っていて、OpenOfficeのデフォルトの挙動に困った事がありました。

  それはデータとしてセルに"name"のように単純にダブルクォートで囲んだ場合に、特殊文字に展開されてしまうところです。

  これを回避する方法は簡単にでメニューバーの「ツール」から「オートコレクトオプション…」を選択して、「ユーザ定義引用符」置換のチェックを外すだけです。

</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/1456090440204706794/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=1456090440204706794' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/1456090440204706794'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/1456090440204706794'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2011/02/openoffice-calc.html' title='OpenOffice Calcでダブルクォートが特殊文字に変換される現象について'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-1439411231411192585</id><published>2011-02-02T21:29:00.001+09:00</published><updated>2011-03-04T16:40:25.335+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='couchdb'/><category scheme='http://www.blogger.com/atom/ns#' term='web'/><title type='text'>CouchDB: 1.0.1から1.0.2のリリースアップ手順 (xstow対応版)</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: CouchDB: 1.0.1から1.0.2のリリースアップ手順 (xstow対応版)
      --&gt;
    &lt;!--
          blogger_label: web
          blogger_label: couchdb
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  家にあるalixやらworkstationやらhttp://www.yadiary.net/にあるソフトウェアのバージョン管理にはxstowを利用しています。

  最初にコンパイルしたapache couchdb version 1.0.1は/usr/local/stow/couchdb-1.0.1を</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/1439411231411192585/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=1439411231411192585' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/1439411231411192585'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/1439411231411192585'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2011/02/couchdb-101102-xstow.html' title='CouchDB: 1.0.1から1.0.2のリリースアップ手順 (xstow対応版)'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-8263289275544384898</id><published>2011-01-29T09:06:00.001+09:00</published><updated>2011-01-31T11:59:45.695+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='プログラミング'/><category scheme='http://www.blogger.com/atom/ns#' term='web'/><title type='text'>重複起動を防止するRuby用のdaemonクラスライブラリ</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: 重複起動を防止するRuby用のdaemonクラスライブラリ
      --&gt;
    &lt;!--
          blogger_label: web
          blogger_label: プログラミング
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  SourceForge.jpにできたPersonalForgeのGitリポジトリ機能を使ってみました。

  登録したのはCouchDB周りでDBのメンテナンス用Daemonを作るために作成したRuby用Daemonライブラリyadaemon.rbとサンプルコードです。

  有名なdaemonライブラリは便利そうにみえますが、今回は</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/8263289275544384898/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=8263289275544384898' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/8263289275544384898'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/8263289275544384898'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2011/01/rubydaemon.html' title='重複起動を防止するRuby用のdaemonクラスライブラリ'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-9171162099337604944</id><published>2011-01-25T11:43:00.001+09:00</published><updated>2011-01-25T17:15:58.146+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='debian'/><category scheme='http://www.blogger.com/atom/ns#' term='web'/><title type='text'>WebSVNに"lost+found"を無視させる</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: WebSVNに"lost+found"を無視させる
      --&gt;
    &lt;!--
          blogger_label: web
          blogger_label: debian
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  自作のコードのいくつかはSubversionで管理していて、Alix上にApacheを入れてWebDAVとWebSVNで管理しています。

  今回USBメモリ上にリポジトリを作成したのですが、そこをWebSVN 2.0で表示させるとlost+foundをリポジトリとして扱おうとしてエラーが表示されてしまいます。

  リポジトリの表示を自動化</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/9171162099337604944/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=9171162099337604944' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/9171162099337604944'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/9171162099337604944'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2011/01/websvn.html' title='WebSVNに&amp;quot;lost+found&amp;quot;を無視させる'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-4285234715078775240</id><published>2011-01-20T11:41:00.001+09:00</published><updated>2011-01-20T11:50:05.213+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='プログラミング'/><category scheme='http://www.blogger.com/atom/ns#' term='jquery'/><category scheme='http://www.blogger.com/atom/ns#' term='web'/><title type='text'>W3CのValidatorを通す方法 - Twitter/Facebookボタン編</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: W3CのValidatorを通す方法 - Twitter/Facebookボタン編
      --&gt;
    &lt;!--
          blogger_label: web
          blogger_label: jquery
          blogger_label: プログラミング
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  W3CのMarkup Validation Service (validator.w3.org)はWebサイトの文書が規格に従っているかどうかを確認する事ができます。

  有名なサイトであっても規格そのものに準拠していることは、このサービスを使</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/4285234715078775240/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=4285234715078775240' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/4285234715078775240'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/4285234715078775240'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2011/01/w3cvalidator-twitterfacebook.html' title='W3CのValidatorを通す方法 - Twitter/Facebookボタン編'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-2132771448859539177</id><published>2011-01-19T17:34:00.001+09:00</published><updated>2011-01-19T17:34:42.480+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='couchdb'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>StunnelのクライアントモードでCouchDBに接続する</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: StunnelのクライアントモードでCouchDBに接続する
      --&gt;
    &lt;!--
          blogger_label: couchdb
          blogger_label: linux
          blogger_label: ubuntu
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  CouchDB自体には通信を暗号化する機能が1.1系列からしか準備されていないので、stunnelを使っています。

  普段は「CouchDB: Ruby CouchモジュールをDigest認証対応にする」ようにSSL接続に対応したクライアントを使っています。

</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/2132771448859539177/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=2132771448859539177' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/2132771448859539177'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/2132771448859539177'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2011/01/stunnelcouchdb.html' title='StunnelのクライアントモードでCouchDBに接続する'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-5144967763683872571</id><published>2011-01-14T14:39:00.001+09:00</published><updated>2011-01-14T14:41:48.882+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ruby'/><category scheme='http://www.blogger.com/atom/ns#' term='プログラミング'/><title type='text'>Rubyでのflockの使い方</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: Rubyでのflockの使い方
      --&gt;
    &lt;!--
          blogger_label: プログラミング
          blogger_label: ruby
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  マニュアルでflockの使い方をみると、File::RDWR|File::CREATを指定していて、"w"を使うと切り詰め(truncate)るからダメだという記述があります。

    ruby-1.9.2-p0/file.cに記載されているflockのサンプル     *     # update a counter using write lock
 *</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/5144967763683872571/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=5144967763683872571' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/5144967763683872571'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/5144967763683872571'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2011/01/rubyflock.html' title='Rubyでのflockの使い方'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-3051691653759816219</id><published>2011-01-09T21:26:00.001+09:00</published><updated>2011-01-09T21:33:42.547+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ipset'/><category scheme='http://www.blogger.com/atom/ns#' term='alix'/><category scheme='http://www.blogger.com/atom/ns#' term='debian'/><title type='text'>IPSetを使ったFirewallルールの設定について</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: IPSetを使ったFirewallルールの設定について
      --&gt;
    &lt;!--
          blogger_label: alix
          blogger_label: ipset
          blogger_label: debian
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  以前家のブロードバンドルータにしているAlixにIPSetを導入するところまでを、「ブロードバンドルータにしているalixをDebian squeezeにして、ipsetを導入する」に投稿していました。

  しばらく前にいわゆるボットネットの一部といわれているIPとの接続を弾</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/3051691653759816219/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=3051691653759816219' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/3051691653759816219'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/3051691653759816219'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2011/01/ipsetfirewall.html' title='IPSetを使ったFirewallルールの設定について'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-1624695280397583492</id><published>2011-01-09T15:33:00.001+09:00</published><updated>2011-01-09T16:18:56.364+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ruby'/><category scheme='http://www.blogger.com/atom/ns#' term='couchdb'/><title type='text'>CouchDB: Viewでのkeyの並び順(Order)の確認レシピ</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: CouchDB: Viewでのkeyの並び順(Order)の確認レシピ
      --&gt;
    &lt;!--
          blogger_label: couchdb
          blogger_label: ruby
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  CouchDBでViewを作成して、startkey、endkeyで条件を指定する時に、優先順位がいまいち分かりずらいので検証するための環境を作ってみました。

  あらかじめ準備しておくものは次のものです。

  
    CouchDB本体 (今回は1.0.1を準備しました)
    Ruby (今回はjson</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/1624695280397583492/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=1624695280397583492' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/1624695280397583492'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/1624695280397583492'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2011/01/couchdb-viewkeyorder.html' title='CouchDB: Viewでのkeyの並び順(Order)の確認レシピ'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-2107353733426345174</id><published>2011-01-07T18:38:00.001+09:00</published><updated>2011-01-07T18:38:45.736+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='vps'/><title type='text'>DTIのVPSサービスで、Default: DROPなiptablesの設定をしてみた</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: DTIのVPSサービスで、Default: DROPなiptablesの設定をしてみた
      --&gt;
    &lt;!--
          blogger_label: vps
          blogger_label: linux
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  OpenVZを使っているDTIのVPSサービスでは、各VM内からはカーネルモジュールを動的に読み込む事ができません。

  あらかじめ準備されたカーネルにはip6tablesが使うモジュールが設定されていないために、コマンドを実行することができない事に今日になって気がつきました。

  IPv6対応を謳う</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/2107353733426345174/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=2107353733426345174' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/2107353733426345174'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/2107353733426345174'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2011/01/dtivpsdefault-dropiptables.html' title='DTIのVPSサービスで、Default: DROPなiptablesの設定をしてみた'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-5567010519470501909</id><published>2010-12-28T23:24:00.001+09:00</published><updated>2010-12-29T00:05:29.318+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vps'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>DTI VPSのsshポート番号変更メンテナンス後にやった事</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: DTI VPSのsshポート番号変更メンテナンス後にやった事
      --&gt;
    &lt;!--
          blogger_label: vps
          blogger_label: ubuntu
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  Apache2: default-sslファイルの削除
  sshdのポート番号を22から変更したDTIのVPSサービスですが、その作業自体はポートスキャン等々のアタックに対する負荷軽減のためには必要だったと思います。

  しかし27日13時過ぎのタイムスタンプで   /etc/apache2/sites-enabled/</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/5567010519470501909/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=5567010519470501909' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/5567010519470501909'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/5567010519470501909'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/12/dti-vpsssh.html' title='DTI VPSのsshポート番号変更メンテナンス後にやった事'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-8466124900459765704</id><published>2010-12-22T22:24:00.001+09:00</published><updated>2010-12-22T22:37:57.419+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='alix'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>ブロードバンドルータにしているalixをDebian squeezeにして、ipsetを導入す
る</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: ブロードバンドルータにしているalixをDebian squeezeにして、ipsetを導入する
      --&gt;
    &lt;!--
          blogger_label: ubuntu
          blogger_label: alix
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  マルウェアに感染していたりボットネットのものといわれているIPアドレス群が公開されていたりします。
そういったノードとの通信を拒否するためには、数千のIPアドレス/ネットワークを制御する必要があります。

  普通にiptablesを使ってルールを追加するとルールを設定するタイミングでハングアップ</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/8466124900459765704/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=8466124900459765704' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/8466124900459765704'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/8466124900459765704'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/12/alixdebian-squeezeipset.html' title='ブロードバンドルータにしているalixをDebian squeezeにして、ipsetを導入す&#xA;る'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-437532165263360523</id><published>2010-12-21T22:58:00.001+09:00</published><updated>2010-12-21T22:58:10.564+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>Ubuntu 10.04 LTSでsysstatの実行に失敗している状況を改善する</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: Ubuntu 10.04 LTSでsysstatの実行に失敗している状況を改善する
      --&gt;
    &lt;!--
          blogger_label: ubuntu
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  sarコマンドを実行しようとして、気がつくと  sysstatが正しく動いていませんでした。

  ローカルのメールボックスにはcronからのエラーメールが大量に届いています。

  Subject: Cron &lt;root@athlon&gt; command -v debian-sa1 &gt; /dev/null &amp;&amp; debian-sa1 1 1
Content-Type: </summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/437532165263360523/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=437532165263360523' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/437532165263360523'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/437532165263360523'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/12/ubuntu-1004-ltssysstat.html' title='Ubuntu 10.04 LTSでsysstatの実行に失敗している状況を改善する'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-2677776395532090576</id><published>2010-12-20T18:50:00.003+09:00</published><updated>2010-12-20T18:56:33.328+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ruby'/><category scheme='http://www.blogger.com/atom/ns#' term='プログラミング'/><title type='text'>Rubyアプリケーションでの設定ファイルのフォーマット</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: Rubyアプリケーションでの設定ファイルのフォーマット
      --&gt;
    &lt;!--
          blogger_label: ruby
          blogger_label: プログラミング
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  Jabberクライアントを作成した時の設定ファイルにJSON形式を使いましたが、少し後悔しています。

  それはJSON形式では、最後の要素の後ろに','(カンマ)を置くとエラーになってしまうからです。

  エンドユーザ向けの設定ファイルであれば、1行1命令であるべきで、各行相互の関係性を把握させるのは難しいと思います。

  今回</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/2677776395532090576/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=2677776395532090576' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/2677776395532090576'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/2677776395532090576'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/12/ruby.html' title='Rubyアプリケーションでの設定ファイルのフォーマット'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-5856567171343409505</id><published>2010-12-20T18:50:00.001+09:00</published><updated>2010-12-20T18:50:12.201+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ruby'/><category scheme='http://www.blogger.com/atom/ns#' term='プログラミング'/><title type='text'>RubyによるJabberクライアントの作成とパスワードの管理</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: RubyによるJabberクライアントの作成とパスワードの管理
      --&gt;
    &lt;!--
          blogger_label: ruby
          blogger_label: プログラミング
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  普通のJabberクライアントをRubyで作成するためには、  xmpp4rライブラリを使って数行のコードで完結します。

  今回は外部のサーバにコードを配置するので、少し要件を加える事にしました。

  
    プログラマとパスワードを管理する人間は別であるという前提が存在する
    JabberIDのパスワードは</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/5856567171343409505/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=5856567171343409505' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/5856567171343409505'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/5856567171343409505'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/12/rubyjabber.html' title='RubyによるJabberクライアントの作成とパスワードの管理'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-6547101257308704061</id><published>2010-12-20T00:52:00.001+09:00</published><updated>2010-12-20T00:52:30.703+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ruby'/><category scheme='http://www.blogger.com/atom/ns#' term='プログラミング'/><category scheme='http://www.blogger.com/atom/ns#' term='unittest'/><title type='text'>Test::Unitを考慮したRubyスクリプトの書き方</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: Test::Unitを考慮したRubyスクリプトの書き方
      --&gt;
    &lt;!--
          blogger_label: ruby
          blogger_label: unittest
          blogger_label: プログラミング
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  DTIのVPSサーバからの連絡をjabber.orgに作ったアカウントで受けるために、RubyでJabberクライアントを作成しました。

  単一のRubyスクリプトでクライアントを作成しましたが、その時に少し要件を加えてコードのボリュームが膨らんだので、Rubyの</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/6547101257308704061/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=6547101257308704061' title='1 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/6547101257308704061'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/6547101257308704061'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/12/testunitruby.html' title='Test::Unitを考慮したRubyスクリプトの書き方'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-1617295482149773299</id><published>2010-12-15T18:42:00.001+09:00</published><updated>2010-12-15T20:18:04.242+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='プログラミング'/><category scheme='http://www.blogger.com/atom/ns#' term='couchdb'/><title type='text'>CouchDB: Implementation of SELECT COUNT(DISTINCT field)...</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: CouchDB: Implementation of SELECT COUNT(DISTINCT field)...
      --&gt;
    &lt;!--
          blogger_label: couchdb
          blogger_label: プログラミング
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  In CouchDB, the operation with group=true provides separate values for each unique key, like SELECT DISTINCT SQL query. 
  
  Next, we </summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/1617295482149773299/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=1617295482149773299' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/1617295482149773299'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/1617295482149773299'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/12/couchdb-implementation-of-select.html' title='CouchDB: Implementation of SELECT COUNT(DISTINCT field)...'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-6619199158831969013</id><published>2010-12-15T13:48:00.001+09:00</published><updated>2010-12-15T13:50:41.100+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='プログラミング'/><category scheme='http://www.blogger.com/atom/ns#' term='couchdb'/><category scheme='http://www.blogger.com/atom/ns#' term='web'/><title type='text'>CouchDB: group_numrows拡張のパフォーマンス</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: CouchDB: group_numrows拡張のパフォーマンス
      --&gt;
    &lt;!--
          blogger_label: web
          blogger_label: couchdb
          blogger_label: プログラミング
    --&gt;
  修正したコードを使ってVMWare上のCouchDBサーバに対して、118,924件の郵便番号を数えた場合の速度を比較してみました。

  元々のDBの構造はCSVファイルを1文書に変換したもので、詳細は  以前の記事にあります。

  その他のmap/reduce関数の定義、データ取得用スクリプトは次のとおりです。

    viewを作成</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/6619199158831969013/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=6619199158831969013' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/6619199158831969013'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/6619199158831969013'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/12/couchdb-groupnumrows.html' title='CouchDB: group_numrows拡張のパフォーマンス'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-3663612940980092757</id><published>2010-12-14T15:23:00.001+09:00</published><updated>2010-12-15T01:20:53.324+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='プログラミング'/><category scheme='http://www.blogger.com/atom/ns#' term='couchdb'/><category scheme='http://www.blogger.com/atom/ns#' term='web'/><title type='text'>CouchDBでSELECT COUNT(DISTINCT ...)をするために必要なこと</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: CouchDBでSELECT COUNT(DISTINCT ...)をするために必要なこと
      --&gt;
    &lt;!--
          blogger_label: web
          blogger_label: couchdb
          blogger_label: プログラミング
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  CouchDBを使うためのネタとして  郵便番号検索 (http://www.yadiary.net/postal/)を作成しています

  ここで入力をサポートするためにjQueryプラグインのFlexBoxから、候補を検索するための</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/3663612940980092757/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=3663612940980092757' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/3663612940980092757'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/3663612940980092757'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/12/couchdbselect-countdistinct.html' title='CouchDBでSELECT COUNT(DISTINCT ...)をするために必要なこと'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-4994771115175031234</id><published>2010-12-11T13:52:00.001+09:00</published><updated>2010-12-11T23:55:11.121+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='プログラミング'/><category scheme='http://www.blogger.com/atom/ns#' term='couchdb'/><category scheme='http://www.blogger.com/atom/ns#' term='web'/><title type='text'>FlexBoxの検索を絞るためにQueryにキーを追加してみる</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: FlexBoxの検索を絞るためにQueryにキーを追加してみる
      --&gt;
    &lt;!--
          blogger_label: web
          blogger_label: プログラミング
          blogger_label: couchdb
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  前回は  郵便番号検索の中で、町村名などを入力する際に  jQueryプラグインのFlexBoxを使って動的に検索結果を表示させました。

  配列などで静的に候補を指定する場合には、対応するautocomplete系のjQueryプラグインは複数あります。
</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/4994771115175031234/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=4994771115175031234' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/4994771115175031234'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/4994771115175031234'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/12/flexboxquery.html' title='FlexBoxの検索を絞るためにQueryにキーを追加してみる'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-2525116673119684890</id><published>2010-12-08T21:51:00.001+09:00</published><updated>2010-12-09T03:09:20.918+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='プログラミング'/><category scheme='http://www.blogger.com/atom/ns#' term='jquery'/><category scheme='http://www.blogger.com/atom/ns#' term='json'/><category scheme='http://www.blogger.com/atom/ns#' term='web'/><title type='text'>データ処理用のJSONアプリを作って、FlexBoxを使ってみた</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: データ処理用のJSONアプリを作って、FlexBoxを使ってみた
      --&gt;
    &lt;!--
          blogger_label: web
          blogger_label: プログラミング
          blogger_label: json
          blogger_label: jquery
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
    jQueryプラグインのFlexBoxを使ってみた結果のまとめです。

  Fairwayが提供するサンプル、デモへのリンクはたくさんあったんですが、FlexBoxを使った具体例</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/2525116673119684890/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=2525116673119684890' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/2525116673119684890'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/2525116673119684890'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/12/jsonflexbox.html' title='データ処理用のJSONアプリを作って、FlexBoxを使ってみた'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-3592079099205376002</id><published>2010-12-06T14:27:00.001+09:00</published><updated>2010-12-06T14:28:25.321+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ruby'/><category scheme='http://www.blogger.com/atom/ns#' term='プログラミング'/><title type='text'>pdumpfsをruby 1.9.2-p0に対応させてみた</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: pdumpfsをruby 1.9.2-p0に対応させてみた
      --&gt;
    &lt;!--
          blogger_label: プログラミング
          blogger_label: ruby
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  DTIのVPSサーバを契約してからバックアップを取るためにpdumpfsを使っています。
このために余計なパッケージは入れたくなかったので、自前で入れたruby-1.9.2-p0で動くようにpdumpfsを修正しました。

  pdumpfsは  ~/.gvfsでエラーになる対応の投稿のコードで、これをベースとしてruby </summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/3592079099205376002/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=3592079099205376002' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/3592079099205376002'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/3592079099205376002'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/12/pdumpfsruby-192-p0.html' title='pdumpfsをruby 1.9.2-p0に対応させてみた'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-6013637965832271516</id><published>2010-12-04T12:31:00.001+09:00</published><updated>2010-12-04T12:37:44.304+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='web'/><category scheme='http://www.blogger.com/atom/ns#' term='vps'/><title type='text'>SSLを有効にして、コンテンツの警告を修正してみた</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: SSLを有効にして、コンテンツの警告を修正してみた
      --&gt;
    &lt;!--
          blogger_label: web
          blogger_label: vps
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  ServersMan@VPS上のApacheにRapidSSLからCertificationを購入して、SSLを有効にしてみました。

  SSL証明書の購入自体は簡単で、海外のリセラーからPaypalで決済した後に、RapidSSLのSSL購入サイトに飛ばされてすぐに処理が終りました。

  海外のリセラーを使ったのは、国内の代理店だと普通</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/6013637965832271516/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=6013637965832271516' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/6013637965832271516'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/6013637965832271516'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/12/ssl.html' title='SSLを有効にして、コンテンツの警告を修正してみた'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-6129029571045721493</id><published>2010-12-02T23:35:00.001+09:00</published><updated>2010-12-03T10:58:37.148+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='web'/><category scheme='http://www.blogger.com/atom/ns#' term='vps'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>ServersMan@VPSをDNSサーバにしてIPv6の名前解決をする</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: ServersMan@VPSをDNSサーバにしてIPv6の名前解決をする
      --&gt;
    &lt;!--
          blogger_label: web
          blogger_label: vps
          blogger_label: ubuntu
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  ドメインをお名前.comで取得して、プライマリDNSサーバをServersman@VPSに構築しました。
お名前.comの標準機能にはDNSのレコード管理がありますが、AAAAレコードに対応していません。

  そこでお名前.comのセカンダリDNSの機能を使って</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/6129029571045721493/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=6129029571045721493' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/6129029571045721493'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/6129029571045721493'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/12/serversmanvpsdnsipv6.html' title='ServersMan@VPSをDNSサーバにしてIPv6の名前解決をする'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-3735439878101092889</id><published>2010-12-02T20:50:00.001+09:00</published><updated>2010-12-02T20:50:37.674+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='debian'/><category scheme='http://www.blogger.com/atom/ns#' term='web'/><category scheme='http://www.blogger.com/atom/ns#' term='vps'/><title type='text'>DTIのServersMan@VPSでdebianを選択して最初にやったこと</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: DTIのServersMan@VPSでdebianを選択して最初にやったこと
      --&gt;
    &lt;!--
          blogger_label: web
          blogger_label: debian
          blogger_label: linux
          blogger_label: vps
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  以前から気になっていたDTIのServersMan@VPSでdebianがOSとして選択できるようになってしばらく経ちましたが、Alixより少しパワーが欲しかったのと、Debian Squeezeの</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/3735439878101092889/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=3735439878101092889' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/3735439878101092889'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/3735439878101092889'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/12/dtiserversmanvpsdebian.html' title='DTIのServersMan@VPSでdebianを選択して最初にやったこと'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-3625691555920109405</id><published>2010-12-02T17:43:00.001+09:00</published><updated>2010-12-02T17:46:29.253+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='プログラミング'/><category scheme='http://www.blogger.com/atom/ns#' term='couchdb'/><category scheme='http://www.blogger.com/atom/ns#' term='web'/><title type='text'>Alix上のCouchDBに郵便番号データを入力してみた</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: Alix上のCouchDBに郵便番号データを入力してみた
      --&gt;
    &lt;!--
          blogger_label: web
          blogger_label: couchdb
          blogger_label: プログラミング
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
    LDAPの時も使ったCSV形式で配布されている郵便番号データをCouchDBに入力してみました。

  今回の使い方は初期に大量のデータを入力して、使用フェーズではもっぱら参照だけになる、という使い方になるので、CouchDBらしくないとは思ったのですが、Viewを</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/3625691555920109405/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=3625691555920109405' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/3625691555920109405'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/3625691555920109405'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/12/alixcouchdb.html' title='Alix上のCouchDBに郵便番号データを入力してみた'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-869046158599351740</id><published>2010-11-30T15:16:00.001+09:00</published><updated>2010-11-30T22:02:32.729+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ruby'/><category scheme='http://www.blogger.com/atom/ns#' term='プログラミング'/><category scheme='http://www.blogger.com/atom/ns#' term='couchdb'/><title type='text'>CouchDB: Ruby CouchモジュールをDigest認証対応にする</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: CouchDB: Ruby CouchモジュールをDigest認証対応にする
      --&gt;
    &lt;!--
          blogger_label: couchdb
          blogger_label: ruby
          blogger_label: プログラミング
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  CouchDBのGetting startedには  Ruby用のCouchモジュールが掲載されています。

  Basic認証に対応させたり、SSLクライアント認証対応にしたりしてきましたが、今回はDigest認証に対応させる事にしました。

  </summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/869046158599351740/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=869046158599351740' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/869046158599351740'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/869046158599351740'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/11/couchdb-ruby-couchdigest.html' title='CouchDB: Ruby CouchモジュールをDigest認証対応にする'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-2827355693019682952</id><published>2010-11-29T09:17:00.001+09:00</published><updated>2010-11-29T10:04:29.253+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='プログラミング'/><category scheme='http://www.blogger.com/atom/ns#' term='couchdb'/><category scheme='http://www.blogger.com/atom/ns#' term='web'/><title type='text'>CouchDB: How to use a reverse proxy server with authentication_db</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: CouchDB: How to use a reverse proxy server with authentication_db
      --&gt;
    &lt;!--
          blogger_label: web
          blogger_label: couchdb
          blogger_label: プログラミング
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
    Japanese edition is here.

  A reverse proxy server as a front-end of couchdb seems to be useful </summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/2827355693019682952/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=2827355693019682952' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/2827355693019682952'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/2827355693019682952'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/11/couchdb-how-to-use-reverse-proxy-server.html' title='CouchDB: How to use a reverse proxy server with authentication_db'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-7449188401015841674</id><published>2010-11-29T00:11:00.001+09:00</published><updated>2010-11-29T10:16:55.001+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='プログラミング'/><category scheme='http://www.blogger.com/atom/ns#' term='couchdb'/><category scheme='http://www.blogger.com/atom/ns#' term='web'/><title type='text'>CouchDB: ApacheをReverse Proxyサーバにしてみた、完成版</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: CouchDB: ApacheをReverse Proxyサーバにしてみた、完成版
      --&gt;
    &lt;!--
          blogger_label: web
          blogger_label: couchdb
          blogger_label: プログラミング
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  ApacheをReverse Proxyにすると、SSL化や認証についてApacheに関する情報がそのまま流用できて便利だよね、と思い認証ハンドラを作成しました。
とりあえず自分が使うのに必要なものを作って、一般化するために最低限の機能だけを加</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/7449188401015841674/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=7449188401015841674' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/7449188401015841674'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/7449188401015841674'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/11/couchdb-apachereverse-proxy_29.html' title='CouchDB: ApacheをReverse Proxyサーバにしてみた、完成版'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-5211561246359863514</id><published>2010-11-26T23:29:00.001+09:00</published><updated>2010-11-26T23:34:30.283+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='プログラミング'/><category scheme='http://www.blogger.com/atom/ns#' term='couchdb'/><category scheme='http://www.blogger.com/atom/ns#' term='web'/><title type='text'>CouchDB: ApacheをReverse Proxyサーバにしてみた、その後</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: CouchDB: ApacheをReverse Proxyサーバにしてみた、その後
      --&gt;
    &lt;!--
          blogger_label: web
          blogger_label: couchdb
          blogger_label: プログラミング
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  前回投稿した記事でApacheをReverse Proxyサーバにするための認証ハンドラについて書きました。

  セキュリティ上の問題はいくつかあって解決策を考えたのですが、最大の問題はCouchDBの待ち受けポートに直接接続した場合に</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/5211561246359863514/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=5211561246359863514' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/5211561246359863514'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/5211561246359863514'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/11/couchdb-apachereverse-proxy_26.html' title='CouchDB: ApacheをReverse Proxyサーバにしてみた、その後'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-1822685537620605398</id><published>2010-11-26T13:02:00.001+09:00</published><updated>2010-11-26T13:02:17.427+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='プログラミング'/><category scheme='http://www.blogger.com/atom/ns#' term='couchdb'/><category scheme='http://www.blogger.com/atom/ns#' term='web'/><title type='text'>CouchDB: ApacheをReverse Proxyサーバにしてみた</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: CouchDB: ApacheをReverse Proxyサーバにしてみた
      --&gt;
    &lt;!--
          blogger_label: web
          blogger_label: couchdb
          blogger_label: プログラミング
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  認証とSSL化はApacheをフロントエンドにするのが良いよね、と考える人は大勢いるようで  Wikiにドキュメントの「Apache Reverse Proxy for same origin and authentication」で解説されています。
</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/1822685537620605398/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=1822685537620605398' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/1822685537620605398'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/1822685537620605398'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/11/couchdb-apachereverse-proxy.html' title='CouchDB: ApacheをReverse Proxyサーバにしてみた'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-2449476046152637525</id><published>2010-11-25T00:23:00.001+09:00</published><updated>2010-11-25T00:28:28.088+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='趣味'/><category scheme='http://www.blogger.com/atom/ns#' term='なにげに考えた事'/><category scheme='http://www.blogger.com/atom/ns#' term='メディア'/><title type='text'>松島x町山 未公開映画祭: 「ジーザス・キャンプ」をみた感想</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: 松島x町山 未公開映画祭: 「ジーザス・キャンプ」をみた感想
      --&gt;
    &lt;!--
          blogger_label: 趣味
          blogger_label: なにげに考えた事
          blogger_label: メディア
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  関東圏で放送されているアメリカのドキュメンタリー映画を紹介するTOKYO MXの番組で紹介された映画が  オンラインでみる事ができるようになったので、英語の勉強を兼ねて何本か観ました。

  その中で最初に紹介されている番組で、かつ、強烈な印象を残す「ジーザス・キャンプ」</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/2449476046152637525/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=2449476046152637525' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/2449476046152637525'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/2449476046152637525'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/11/x.html' title='松島x町山 未公開映画祭: 「ジーザス・キャンプ」をみた感想'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-6639805722736042027</id><published>2010-11-24T18:13:00.001+09:00</published><updated>2010-11-24T18:13:20.897+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='couchdb'/><title type='text'>CouchDB: SSLクライアント認証は必須なのか</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: CouchDB: SSLクライアント認証は必須なのか
      --&gt;
    &lt;!--
          blogger_label: couchdb
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  クライアント認証は必須ではない
  以前書いた「  CouchDBのSecurity Featuresについて」では、"database readers"(Readers)権限設定にUserやRolesを何か設定しないと、誰でもReaders権限を持つことになると書きました。

  このReaders権限は通常のDocumentを操作することが可能で、閲覧する他に作成、編集ができます(削除は不可)</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/6639805722736042027/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=6639805722736042027' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/6639805722736042027'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/6639805722736042027'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/11/couchdb-ssl.html' title='CouchDB: SSLクライアント認証は必須なのか'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-5466942883565384908</id><published>2010-11-24T00:28:00.001+09:00</published><updated>2010-11-24T00:28:34.627+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='couchdb'/><category scheme='http://www.blogger.com/atom/ns#' term='prism'/><category scheme='http://www.blogger.com/atom/ns#' term='web'/><category scheme='http://www.blogger.com/atom/ns#' term='stunnel'/><title type='text'>CouchDB: Prismを使ってSSLクライアント認証専用のブラウザを作ってみた</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: CouchDB: Prismを使ってSSLクライアント認証専用のブラウザを作ってみた
      --&gt;
    &lt;!--
          blogger_label: web
          blogger_label: couchdb
          blogger_label: stunnel
          blogger_label: prism
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
    Prism 1.0b4を使って、SSLクライアント認証を有効にしてCouchDB専用のブラウザを作成してみました。

  まずSSLクライアント認証を有効にするために、</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/5466942883565384908/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=5466942883565384908' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/5466942883565384908'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/5466942883565384908'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/11/couchdb-prismssl.html' title='CouchDB: Prismを使ってSSLクライアント認証専用のブラウザを作ってみた'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-4485688215277060700</id><published>2010-11-19T16:19:00.001+09:00</published><updated>2010-11-21T16:11:17.928+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='web'/><title type='text'>サーバ側にcacert.pemを設定する理由を自分なりにまとめてみた</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: サーバ側にcacert.pemを設定する理由を自分なりにまとめてみた
      --&gt;
    &lt;!--
          blogger_label: web
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  Transport Layer Security(TLS -   RFC2246 ::   日本語訳)はSSLの後継ですが、実際にはむしろSSLという言葉をTLSの意味で使う事が多いと思います。
SSL v2をデフォルトで無効にする実装は増えていますが、とりあえずはSSLとTLSは区別なく使うことにします。

  また基本的に自己認証CA局とサーバ認証書を利用する前提で書いています。

</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/4485688215277060700/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=4485688215277060700' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/4485688215277060700'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/4485688215277060700'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/11/cacertpem.html' title='サーバ側にcacert.pemを設定する理由を自分なりにまとめてみた'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-7544159563532657242</id><published>2010-11-16T11:04:00.001+09:00</published><updated>2010-11-16T11:06:14.447+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='プログラミング'/><category scheme='http://www.blogger.com/atom/ns#' term='couchdb'/><category scheme='http://www.blogger.com/atom/ns#' term='web'/><title type='text'>クライアント認証を有効にしたstunnelに接続するCouchDB用Rubyクライアントを
作ってみた</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: クライアント認証を有効にしたstunnelに接続するCouchDB用Rubyクライアントを作ってみた
      --&gt;
    &lt;!--
          blogger_label: web
          blogger_label: couchdb
          blogger_label: プログラミング
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  前回までで、stunnelを起動したものの接続テストがまだでした。
元々別件で使用した  CouchDB Ruby用ガイドのCouchモジュールをSSLに対応させてみました。

  クライアント認証は、サーバ(今回は</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/7544159563532657242/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=7544159563532657242' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/7544159563532657242'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/7544159563532657242'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/11/stunnelruby.html' title='クライアント認証を有効にしたstunnelに接続するCouchDB用Rubyクライアントを&#xA;作ってみた'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-3832732772903207398</id><published>2010-11-15T23:27:00.001+09:00</published><updated>2010-11-16T00:56:25.077+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='couchdb'/><title type='text'>StunnelでCouchDBへの接続をSSLにしてみた</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: StunnelでCouchDBへの接続をSSLにしてみた
      --&gt;
    &lt;!--
          blogger_label: couchdb
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
    CouchDB Wiki - How to enable SSLにもあるように、CouchDB 1.1まではSSLが使えません。

  もうちょっと待てば良いんですが、Basic認証が嫌だったので、stunnelのクライアント認証を使ってCouchDBへ接続する方法を試しました。

  今回は図のようにCouchDBを127.0.0.1:5984で動かしたまま、クライアント認証を有効にした</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/3832732772903207398/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=3832732772903207398' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/3832732772903207398'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/3832732772903207398'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/11/stunnelcouchdbssl.html' title='StunnelでCouchDBへの接続をSSLにしてみた'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-3061659576149475065</id><published>2010-11-14T16:16:00.001+09:00</published><updated>2011-01-21T14:05:14.415+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='couchdb'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>CouchDBをソースコードからインストールしてみた</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: CouchDBをソースコードからインストールしてみた
      --&gt;
    &lt;!--
          blogger_label: couchdb
          blogger_label: ubuntu
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  CouchDBを使いつつ、こんなんで大丈夫なのか、と思うところもあったので、試したことをまとめておきます。

  O'ReillyのCouchDB - The Definitive Guideでは、やはりProduction環境ではいろいろ設定が必要だよ、という話しになっています。

  セキュリティを低くしてとりあえず使える状態で</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/3061659576149475065/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=3061659576149475065' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/3061659576149475065'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/3061659576149475065'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/11/couchdb.html' title='CouchDBをソースコードからインストールしてみた'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-5666051513204423577</id><published>2010-11-13T01:52:00.001+09:00</published><updated>2010-11-13T01:52:58.954+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='couchdb'/><title type='text'>CouchDBのSecurity Featuresについて</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: CouchDBのSecurity Featuresについて
      --&gt;
    &lt;!--
          blogger_label: couchdb
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  CouchDBはとりあえず触ってみるのが目的でしたが、1.0.1を手動でインストールしてからは、いろいろとUbuntuのdebパッケージになっている0.10.0と違うところが目につくようになりました。

  特にセキュリティ周りについては後になってからドキュメントを発見したり、authentication_dbの使い方を学んだりしたところがあるので、まとめておくことにしました。

  対象は</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/5666051513204423577/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=5666051513204423577' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/5666051513204423577'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/5666051513204423577'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/11/couchdbsecurity-features.html' title='CouchDBのSecurity Featuresについて'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-8284858802287269704</id><published>2010-11-11T02:38:00.001+09:00</published><updated>2010-11-17T22:46:45.935+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ruby'/><category scheme='http://www.blogger.com/atom/ns#' term='プログラミング'/><category scheme='http://www.blogger.com/atom/ns#' term='couchdb'/><title type='text'>CouchDBをデスクトップ用DBとして使う場合のセキュリティ上の懸念点</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: CouchDBをデスクトップ用DBとして使う場合のセキュリティ上の懸念点
      --&gt;
    &lt;!--
          blogger_label: ruby
          blogger_label: プログラミング
          blogger_label: couchdb
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  CouchDBはデフォルトで  127.0.0.1:5984にバインドするようになってはいますが、ローカルユーザに対するセキュリティはデフォルトでは何もありません。
loopback IPアドレスへのバインドがセキュリティだなんていわないですよね…。

</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/8284858802287269704/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=8284858802287269704' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/8284858802287269704'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/8284858802287269704'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/11/couchdbdb_11.html' title='CouchDBをデスクトップ用DBとして使う場合のセキュリティ上の懸念点'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-8681257976050775439</id><published>2010-11-08T11:53:00.001+09:00</published><updated>2010-11-09T09:43:43.067+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ruby'/><category scheme='http://www.blogger.com/atom/ns#' term='プログラミング'/><category scheme='http://www.blogger.com/atom/ns#' term='couchdb'/><title type='text'>CouchDB + Ruby 1.9の組み合せとJSONライブラリ</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: CouchDB + Ruby 1.9の組み合せとJSONライブラリ
      --&gt;
    &lt;!--
          blogger_label: ruby
          blogger_label: プログラミング
          blogger_label: couchdb
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  CouchDBへのアクセスには、Rubyに限らず、JSONライブラリを使いましょうというお話しです。

  CouchDBには  言語別の簡単解説があって、どれをみても簡単に始めることができそうです。

  ただしJSONを文字列として作成していて、実際に使う</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/8681257976050775439/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=8681257976050775439' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/8681257976050775439'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/8681257976050775439'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/11/couchdb-ruby-19json.html' title='CouchDB + Ruby 1.9の組み合せとJSONライブラリ'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-4694516551118700880</id><published>2010-11-04T21:10:00.001+09:00</published><updated>2010-11-04T23:52:38.898+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='プログラミング'/><title type='text'>java.util.ScannerクラスでCSVパーサを作ってみた Vol.5</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: java.util.ScannerクラスでCSVパーサを作ってみた Vol.5
      --&gt;
    &lt;!--
          blogger_label: プログラミング
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  いくつかのプログラミング言語を使って同じCSVファイルを処理してみました。
気がついたところから簡単なパフォーマンスチューニングも行なってみました。

  今回実行時間を表示していますが、環境はAMD Phenom II 940BE (2.6GHz)、 Ubuntu 10.04 LTS 64bitです。

  
      現状の課題
      </summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/4694516551118700880/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=4694516551118700880' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/4694516551118700880'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/4694516551118700880'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/11/javautilscannercsv-vol5.html' title='java.util.ScannerクラスでCSVパーサを作ってみた Vol.5'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-107824345706056663</id><published>2010-11-01T02:09:00.001+09:00</published><updated>2010-11-01T11:42:07.545+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='プログラミング'/><title type='text'>java.util.ScannerクラスでCSVパーサを作ってみた Vol.4</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: java.util.ScannerクラスでCSVパーサを作ってみた Vol.4
      --&gt;
    &lt;!--
          blogger_label: プログラミング
    --&gt;
  行ベースのパーサができれば、改行文字を一つ加えるぐらい簡単だろうと思っていると、案外はまるものです。

  実際にところ最初から改行を含める事ができるCSVパーサをなんとなく作っていて、その後で行ベースのCSVパーサを考えて、今に至っています。

  ちゃんと(?)設計したことで改行を加えて破綻するような処理にすることなく、それなりに動くものができたようです。

  
      行ベースから改行を含むCSVパーサへの変更
      行ベースCSVパーサ</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/107824345706056663/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=107824345706056663' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/107824345706056663'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/107824345706056663'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/11/javautilscannercsv-vol4.html' title='java.util.ScannerクラスでCSVパーサを作ってみた Vol.4'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-6215661961472899996</id><published>2010-10-31T17:04:00.001+09:00</published><updated>2010-11-04T21:13:07.585+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='プログラミング'/><title type='text'>java.util.ScannerクラスでCSVパーサを作ってみた Vol.3</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: java.util.ScannerクラスでCSVパーサを作ってみた Vol.3
      --&gt;
    &lt;!--
          blogger_label: プログラミング
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  今回は細かく処理内容を検証して処理構造そのものと、コード全体の見直しについてです。

  
      入力文字列の処理機構
      raw stringとquoted stringの認識について
      作成したコードの見直し
      正規表現の見直し
        
          変更を加えたコード
        
  
  入力文字列の処理機構</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/6215661961472899996/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=6215661961472899996' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/6215661961472899996'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/6215661961472899996'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/10/javautilscannercsv-vol3.html' title='java.util.ScannerクラスでCSVパーサを作ってみた Vol.3'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-1480715619319868253</id><published>2010-10-30T16:26:00.001+09:00</published><updated>2010-10-31T17:06:47.833+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='プログラミング'/><title type='text'>java.util.ScannerクラスでCSVパーサを作ってみた Vol.2</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: java.util.ScannerクラスでCSVパーサを作ってみた Vol.2
      --&gt;
    &lt;!--
          blogger_label: プログラミング
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  行ベースの処理に限定したかいもなく、バグバグなCSVパーサを作ってしまいました。

  今回はテストケースの作成と構造的なバグへの対応についてです。

  
      プラットフォームについて
      処理の概要
      テストケースの検討
      テストのポイント
        
          いくつのフィールドを並べるか
          </summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/1480715619319868253/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=1480715619319868253' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/1480715619319868253'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/1480715619319868253'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/10/javautilscannercsv-vol2.html' title='java.util.ScannerクラスでCSVパーサを作ってみた Vol.2'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-1821725602999702376</id><published>2010-10-27T01:15:00.001+09:00</published><updated>2010-10-31T17:06:40.749+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='プログラミング'/><title type='text'>java.util.ScannerクラスでCSVパーサを作ってみた Vol.1</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: java.util.ScannerクラスでCSVパーサを作ってみた Vol.1
      --&gt;
    &lt;!--
          blogger_label: プログラミング
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  
      この記事の背景
        
          動機
          参考資料
        
      CSVパーサの機能
      CSVパーサの処理ルール
        
          区切り文字はカンマとして、必ずしもダブルクォートで囲む必要はない
          文字としてダブルクォート、カンマ、改行を含む場合には必ず</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/1821725602999702376/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=1821725602999702376' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/1821725602999702376'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/1821725602999702376'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/10/javautilscannercsv-vol1.html' title='java.util.ScannerクラスでCSVパーサを作ってみた Vol.1'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-2594163250935790384</id><published>2010-10-25T14:26:00.001+09:00</published><updated>2010-10-25T14:31:50.008+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='プログラミング'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>NetBeans 6.9.1でスペルチェックが動き出さなかった理由</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: NetBeans 6.9.1でスペルチェックが動き出さなかった理由
      --&gt;
    &lt;!--
          blogger_label: ubuntu
          blogger_label: プログラミング
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  Ubuntu 10.04 LTSでNetBeans 6.9.1で作っていたプログラムのJavadocコメントを似非英語で書いていたら、スペルチェックが起動していないのに気がつかずに大量のスペルミスを残していました。

  スペルチェックは標準プラグインに含まれているので、何も考えなくても良いはずだと思っていたのですが、</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/2594163250935790384/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=2594163250935790384' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/2594163250935790384'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/2594163250935790384'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/10/netbeans-691.html' title='NetBeans 6.9.1でスペルチェックが動き出さなかった理由'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-6747727364384326158</id><published>2010-10-19T00:18:00.001+09:00</published><updated>2010-10-21T01:21:50.250+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='趣味'/><title type='text'>情報カードに合ったボールペンの選択</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: 情報カードに合ったボールペンの選択
      --&gt;
    &lt;!--
          blogger_label: 趣味
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  今回は技術的な話しではなくて、普段持ち歩いているメモ帳の紙質とボールペンとの相性のお話しです。

  アイデアなんかを思いついたときにメモを取る道具として、  コレクトや  ライフといったメーカの5x3サイズの情報カードを  専用ケース(CP-453)に入れて持ち歩いています。

  コレクトのWebサイトではCP-453が載っていませんが、下敷付きのカードケースでメモを取るにはお勧めです。
というか、これ以外には考</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/6747727364384326158/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=6747727364384326158' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/6747727364384326158'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/6747727364384326158'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/10/blog-post.html' title='情報カードに合ったボールペンの選択'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-1085169214674676774</id><published>2010-10-11T11:56:00.001+09:00</published><updated>2010-10-11T12:07:21.389+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='なにげに考えた事'/><category scheme='http://www.blogger.com/atom/ns#' term='ipv6'/><title type='text'>IPv6は脆弱なのか</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: IPv6は脆弱なのか
      --&gt;
    &lt;!--
          blogger_label: ipv6
          blogger_label: なにげに考えた事
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  プライバシーに対する懸念をやたら増幅して活動する人たちがいますが、それでもプライバシーは重要だと思います。

  ただプライバシーは企業活動上の危機管理などと直交する問題を含んでいるため、一般的な仕様に含まれると少し面倒なことになりそうです。

  
      プライバシーの懸念
        
          IPv6アドレスのバーゲンセール
</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/1085169214674676774/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=1085169214674676774' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/1085169214674676774'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/1085169214674676774'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/10/ipv6.html' title='IPv6は脆弱なのか'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-8715912675498032757</id><published>2010-10-10T01:07:00.001+09:00</published><updated>2010-10-10T01:08:39.574+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='web'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>Ubuntu 10.04 LTSでレンタルサーバの確認用にVirtualHostを設定してみる</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: Ubuntu 10.04 LTSでレンタルサーバの確認用にVirtualHostを設定してみる
      --&gt;
    &lt;!--
          blogger_label: web
          blogger_label: ubuntu
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  外部のレンタルサーバ上のWebサーバにあるコンテンツ確認を手元のUbuntu 10.04 LTSで行なっていますが、できるだけ外部サイトと同じ環境を準備する必要があるなぁと思っています。

  特に手元で http://localhost/  host1
/index.html といったURLでみた</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/8715912675498032757/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=8715912675498032757' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/8715912675498032757'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/8715912675498032757'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/10/ubuntu-1004-ltsvirtualhost.html' title='Ubuntu 10.04 LTSでレンタルサーバの確認用にVirtualHostを設定してみる'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-8647651256063643418</id><published>2010-10-05T13:53:00.001+09:00</published><updated>2010-10-05T17:01:45.127+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='プログラミング'/><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><title type='text'>ActivePerlスクリプトをWindowsの「送る」メニューに加えてみた</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: ActivePerlスクリプトをWindowsの「送る」メニューに加えてみた
      --&gt;
    &lt;!--
          blogger_label: windows
          blogger_label: プログラミング
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  Windows Vista以降だと簡単にExplorerからShift+右クリックで開くメニューに「パス名でコピー」が表示されますが、Windows XPではその機能がないようです。

  カスタマイズをサポートするアプリケーションを使う事で加えることができるようだったのですが、汎用性がないので任意の</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/8647651256063643418/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=8647651256063643418' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/8647651256063643418'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/8647651256063643418'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/10/activeperlwindows.html' title='ActivePerlスクリプトをWindowsの「送る」メニューに加えてみた'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-2004625421208949467</id><published>2010-10-04T12:52:00.001+09:00</published><updated>2010-10-12T22:21:27.477+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='趣味'/><category scheme='http://www.blogger.com/atom/ns#' term='音楽'/><title type='text'>名刺サイズのGuitar Chords Cheat Sheet</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: 名刺サイズのGuitar Chords Cheat Sheet
      --&gt;
    &lt;!--
          blogger_label: 音楽
          blogger_label: 趣味
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  インクジェットプリンターは  名刺サイズのカラー印刷
が簡単にできるので、
数年前にCanon PIXUS iP4300を購入してから家のネットワーク構成図とか主要な設定パラメータなどいろいろな資料を印刷してきました。

  今回はギターのコードを分析するためにルート音からの相対的な指板上の各ポジションの一覧を作成してみました。

  
</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/2004625421208949467/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=2004625421208949467' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/2004625421208949467'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/2004625421208949467'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/10/guitar-code-cheat-sheet.html' title='名刺サイズのGuitar Chords Cheat Sheet'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-1552721425823962467</id><published>2010-10-01T02:20:00.001+09:00</published><updated>2010-10-01T02:44:04.559+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='alix'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>無線LANからのアクセスをインターネットとの接続に制限する</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: 無線LANからのアクセスをインターネットとの接続に制限する
      --&gt;
    &lt;!--
          blogger_label: alix
          blogger_label: ubuntu
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  FONの無線LANルータに限らず、最近のブロードバンドルータは無線LANクライアントを内部LANには接続させずにインターネットとの接続だけに限定する事ができるようになっています。

  ブロードバンドルータを流用して無線LANのAccess Point(AP)にしていますが、どうやらルータ機能をONにしないと内部LANへの接続制限は</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/1552721425823962467/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=1552721425823962467' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/1552721425823962467'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/1552721425823962467'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/10/lan.html' title='無線LANからのアクセスをインターネットとの接続に制限する'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-95274492950671204</id><published>2010-09-30T01:40:00.001+09:00</published><updated>2010-10-12T13:34:38.283+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='alix'/><category scheme='http://www.blogger.com/atom/ns#' term='bind'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>自前ブロードバンドルータからフレッツスクウェアに接続してみる</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: 自前ブロードバンドルータからフレッツスクウェアに接続してみる
      --&gt;
    &lt;!--
          blogger_label: ubuntu
          blogger_label: alix
          blogger_label: bind
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
    alixで作成したdebianベースのブロードバンドルータを使っていますが、いままでマルチセッションの設定は行なっていませんでした。

  フレッツ光メンバーズクラブのダイレクトメールが届いた機会に、マルチセッションでフレッツスクウェアにアクセスするように設定をしました</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/95274492950671204/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=95274492950671204' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/95274492950671204'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/95274492950671204'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/09/blog-post.html' title='自前ブロードバンドルータからフレッツスクウェアに接続してみる'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-7597256411362005176</id><published>2010-09-23T13:35:00.001+09:00</published><updated>2010-09-23T13:39:22.328+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='beagleboard'/><title type='text'>beagleboard用にlinuxカーネルを新しくしてみた</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: beagleboard用にlinuxカーネルを新しくしてみた
      --&gt;
    &lt;!--
          blogger_label: linux
          blogger_label: beagleboard
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  手元のbeagleboardのスペックは次のようになっています。

  
    Rev. C3
    X-Loader 1.4.2 (Feb 19 2009 - 12:01:24)
    U-Boot 2009.01-dirty (Feb 19 2009 - 12:22:31)
  
  以前は  http://</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/7597256411362005176/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=7597256411362005176' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/7597256411362005176'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/7597256411362005176'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/09/beagleboardlinux.html' title='beagleboard用にlinuxカーネルを新しくしてみた'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-3210698597239017090</id><published>2010-09-16T14:27:00.001+09:00</published><updated>2010-09-20T16:19:23.951+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><title type='text'>Vistaの「プログラムから開く」で、どっちがGUI版Vimか分からなくなった</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: Vistaの「プログラムから開く」で、どっちがGUI版Vimか分からなくなった
      --&gt;
    &lt;!--
          blogger_label: windows
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  なんだか説明するのが面倒なのですが、Explorerでファイルを右クリックすると表示されるメニューの中に「プログラムから開く」というのがあります。

  これが、下のような状態になってしまい、GUI版Vim (gvim.exe)ともう片方のコンソール(CUI)版Vim (vim.exe)のどちらが、どっちなのか分からなくなってしまいました。

      

  今回は</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/3210698597239017090/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=3210698597239017090' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/3210698597239017090'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/3210698597239017090'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/09/vistaguivim.html' title='Vistaの「プログラムから開く」で、どっちがGUI版Vimか分からなくなった'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-5146584665791045826</id><published>2010-09-14T01:10:00.001+09:00</published><updated>2010-09-14T01:10:24.312+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><title type='text'>7-Zipで開けないアーカイブを開いてみた 〜再考〜</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: 7-Zipで開けないアーカイブを開いてみた 〜再考〜
      --&gt;
    &lt;!--
          blogger_label: windows
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  前回の投稿ではまとめきれていなかったので、情報を整理しておこうと思いました。

  
      7-Zipが悪いわけではない
      %TEMP%以下に展開されるsetup.exeは起動可能
      インストーラから起動したsetup.exeが異常終了
      まとめ
  
  7-Zipが悪いわけではない
  表示されたメッセージは次のようなもので、圧縮形式の問題</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/5146584665791045826/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=5146584665791045826' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/5146584665791045826'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/5146584665791045826'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/09/7-zip_14.html' title='7-Zipで開けないアーカイブを開いてみた 〜再考〜'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-1413905572547836949</id><published>2010-09-14T01:05:00.001+09:00</published><updated>2010-09-14T02:15:27.130+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='プログラミング'/><category scheme='http://www.blogger.com/atom/ns#' term='virtualbox'/><category scheme='http://www.blogger.com/atom/ns#' term='mac'/><title type='text'>MacOS X上のVirtualBox SDKでAPIの動きを調べてみた</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: MacOS X上のVirtualBox SDKでAPIの動きを調べてみた
      --&gt;
    &lt;!--
          blogger_label: mac
          blogger_label: virtualbox
          blogger_label: プログラミング
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  Ubuntu LTS上にVMWare Workstationがあるのに、なぜかMacOS XでVirtualBoxを動かしています。

  さて、VirtualBoxのAPIにはIStorageController::minPortCountという</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/1413905572547836949/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=1413905572547836949' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/1413905572547836949'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/1413905572547836949'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/09/virtualbox-sdkapi.html' title='MacOS X上のVirtualBox SDKでAPIの動きを調べてみた'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-5229028641353447755</id><published>2010-09-12T00:48:00.001+09:00</published><updated>2010-09-12T00:48:35.957+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><title type='text'>7-Zipで開けないアーカイブを開いてみた</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: 7-Zipで開けないアーカイブを開いてみた
      --&gt;
    &lt;!--
          blogger_label: windows
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  Inspiron 640mで動いているWindows VistaではZIP等アーカイブファイルの展開に7-Zipを使っています。

  個人的なWindows環境ではlhasaやlhaplusといったツールも以前は使っていたのですが、個々のプログラムではなくて、LZH形式自体の脆弱性が知られるようになってからはアンインストールしてしまいました。

  7-Zipは圧縮効率とスピードとのバランスが気</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/5229028641353447755/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=5229028641353447755' title='2 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/5229028641353447755'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/5229028641353447755'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/09/7-zip.html' title='7-Zipで開けないアーカイブを開いてみた'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-490074604478676389</id><published>2010-09-10T17:53:00.001+09:00</published><updated>2010-11-08T12:53:45.468+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>DRBDの不整合状態を修正してみた</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: DRBDの不整合状態を修正してみた
      --&gt;
    &lt;!--
          blogger_label: ubuntu
          blogger_label: linux
    --&gt;
  DRBDをUbuntu 8.04でテストした時には、debian lennyとの間でocfs2がうまく動かなかったのですが、
Ubuntu 10.04になってからは問題なく動いていました。

  ある時、vmwareが動かない事で/etc/rc2.d/以下のスクリプトの大半が実行されていない事に気がついたのですが、原因はDRBDでした。

  drbdadmコマンドを使うだけで解決したのですが、単純に設定だけじゃなくてDRBDの裏の動</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/490074604478676389/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=490074604478676389' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/490074604478676389'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/490074604478676389'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/09/drbd.html' title='DRBDの不整合状態を修正してみた'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-2618007483522022441</id><published>2010-09-03T15:51:00.001+09:00</published><updated>2010-09-03T15:51:19.402+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='パソコン'/><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><title type='text'>HDD換装後のInspiron 640mの熱暴走への対応</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: HDD換装後のInspiron 640mの熱暴走への対応
      --&gt;
    &lt;!--
          blogger_label: windows
          blogger_label: パソコン
    --&gt;
  夏になってからInspiron 640mの熱による電源断が頻発するようになりました。

  Travelstar 7K320が7200回転だから熱がこもるのかなぁと思っていたのですが、
ひょんなことからBIOSのメニューを見直して改善できたようなのでメモしておきます。

  
      BIOSメニューの見直し
      その後、Performanceに設定したものの
  
  BIOSメニューの見直し
  起動時</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/2618007483522022441/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=2618007483522022441' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/2618007483522022441'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/2618007483522022441'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/09/hddinspiron-640m.html' title='HDD換装後のInspiron 640mの熱暴走への対応'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-5161503572834469849</id><published>2010-08-30T17:58:00.001+09:00</published><updated>2010-08-30T17:58:52.398+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='mac'/><title type='text'>VirtualBoxでのCentOSインストールの自動化</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: VirtualBoxでのCentOSインストールの自動化
      --&gt;
    &lt;!--
          blogger_label: linux
          blogger_label: mac
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  Mac(Mac mini; MacOS X 10.6.4)で動いているVirtualBoxで、kickstartの仕組みを使ってCentOSのインストールを自動化しようとしてみました。

  ただ手続きが多いので、基本的な動きを確認するためにVMを起動すると自動でCentOSのインストールが開始するところまでを確認しました。

  
</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/5161503572834469849/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=5161503572834469849' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/5161503572834469849'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/5161503572834469849'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/08/virtualboxcentos.html' title='VirtualBoxでのCentOSインストールの自動化'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-7382367413980383775</id><published>2010-08-24T14:31:00.001+09:00</published><updated>2010-08-24T14:31:48.494+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='プログラミング'/><category scheme='http://www.blogger.com/atom/ns#' term='mac'/><title type='text'>MacでVirtualBoxをコマンドラインから操作してみる</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: MacでVirtualBoxをコマンドラインから操作してみる
      --&gt;
    &lt;!--
          blogger_label: mac
          blogger_label: プログラミング
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  MacOS X 10.6上のVirtualBoxをコマンドラインから操作してみようと、VirtualBox SDKを触り始めました。

  SDKのリファレンスにあるサンプルを少し動かそうとしただけで、Macだと戸惑うところがでてきます。

  
      サンプルプログラムの起動
        
          </summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/7382367413980383775/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=7382367413980383775' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/7382367413980383775'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/7382367413980383775'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/08/macvirtualbox.html' title='MacでVirtualBoxをコマンドラインから操作してみる'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-4205055643276488381</id><published>2010-08-20T17:10:00.001+09:00</published><updated>2010-09-03T16:40:57.139+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='プログラミング'/><title type='text'>GUI版Emacs用の設定まとめ</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: GUI版Emacs用の設定まとめ
      --&gt;
    &lt;!--
          blogger_label: プログラミング
    --&gt;
  もはや、わざわざ「GUIなEmacs」とかいうと変な目でみられそうです。

  今回使った(if window-system ...というコードも、なぜ必要なのか説明しても分かってもらえないかもしれないですね。

  さてLispなどの関数系言語では、BASIC同様に関数をいくら覚えられるかが勝負のようなところがあって、
いろいろメモを残しておかないと二度手間な作業が多く発生します。

  ということで、Emacsのカスタマイズしたことをメモにしておきます。

  ウィンドウサイズの変更方法
  普通</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/4205055643276488381/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=4205055643276488381' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/4205055643276488381'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/4205055643276488381'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/08/guiemacs.html' title='GUI版Emacs用の設定まとめ'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-5914610872764623972</id><published>2010-08-19T17:58:00.001+09:00</published><updated>2010-08-19T18:09:45.823+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='やってみた'/><category scheme='http://www.blogger.com/atom/ns#' term='散策'/><title type='text'>プレゼント用のペンケースを探して、市内散策。</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: プレゼント用のペンケースを探して、市内散策。
      --&gt;
    &lt;!--
          blogger_label: 散策
          blogger_label: やってみた
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  あまり実生活についての投稿はしないのですが、ほぼ一日を費してしまったのでまとめておきます。

  普段、自分で使う文房具は100円ショップなり、カインズホームなんかのPB商品で十分なのですが、プレゼントにしようとすると、ビニールとか、キャラクターものっていうわけにはいかないものです。

  特にペンケースなんていうのは、自分で使うならビニールポーチ</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/5914610872764623972/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=5914610872764623972' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/5914610872764623972'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/5914610872764623972'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/08/blog-post.html' title='プレゼント用のペンケースを探して、市内散策。'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-3587004523002325912</id><published>2010-08-01T12:45:00.001+09:00</published><updated>2010-08-01T12:45:59.619+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='プログラミング'/><title type='text'>一人で開発しているSVNリポジトリで必要な操作</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: 一人で開発しているSVNリポジトリで必要な操作
      --&gt;
    &lt;!--
          blogger_label: プログラミング
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  subversionを使う場合は、一応標準的な使い方としてトップディレクトリに  trunk
,   tags
,   branches
のディレクトリを配置する使い方が良く説明されています。

  とはいえ、実際にはただのディレクトリなので、いきなりトップレベルにmain.cppやらのファイルを作成することもありました。

  そんな風に開始したプロジェクトが案外規模が膨らんできたので、リリース毎に</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/3587004523002325912/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=3587004523002325912' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/3587004523002325912'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/3587004523002325912'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/08/svn.html' title='一人で開発しているSVNリポジトリで必要な操作'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-2392191806260245019</id><published>2010-07-24T15:05:00.001+09:00</published><updated>2010-07-24T15:05:08.568+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='web'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>デスクトップで使っているHikiのバージョンアップ</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: デスクトップで使っているHikiのバージョンアップ
      --&gt;
    &lt;!--
          blogger_label: web
          blogger_label: ubuntu
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  ここに載せないメモはデスクトップ上のUbuntuで動いている  Hikiに残してきたのですが、いい加減にバージョンアップをサボっていたので約1年前にリリースされていた0.8.8.1にバージョンアップしました。

  まぁ全部の変更点をあらかじめ管理しておけば良かったんですけど、いまさら嘆いてもしょうがないので地味な作業を始めます。

  
</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/2392191806260245019/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=2392191806260245019' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/2392191806260245019'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/2392191806260245019'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/07/hiki.html' title='デスクトップで使っているHikiのバージョンアップ'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-4640409564331807301</id><published>2010-07-19T19:32:00.001+09:00</published><updated>2010-07-19T19:32:26.765+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='PS3'/><title type='text'>PS3 linux (Fedra Core 9)にMARSライブラリを導入してみる</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: PS3 linux (Fedra Core 9)にMARSライブラリを導入してみる
      --&gt;
    &lt;!--
          blogger_label: ps3
          blogger_label: linux
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  いまさらですが、  フィックスターズのWebサイトをみていてMARSライブラリを導入してみました。
fixstarsのサイトでは1.1.4までの情報が載っていますが、現時点での最新版は1.1.5のようです。

  コンパイル済みのバイナリパッケージも配布されていましたが、自分の環境にフィットするか自信がなかったので</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/4640409564331807301/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=4640409564331807301' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/4640409564331807301'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/4640409564331807301'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/07/ps3-linux-fedra-core-9mars.html' title='PS3 linux (Fedra Core 9)にMARSライブラリを導入してみる'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-1186409259114211578</id><published>2010-07-01T23:41:00.001+09:00</published><updated>2010-07-01T23:41:01.948+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='プログラミング'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>QT4でのconnect()メモリリーク</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: QT4でのconnect()メモリリーク
      --&gt;
    &lt;!--
          blogger_label: プログラミング
          blogger_label: ubuntu
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  QT Creator 2.0がリリースされたのでUbuntu 10.04にQT SDK 2010/04を入れてみました。

  いろいろ試してみましたが、ロケールファイルはあるのに日本語化されない問題があったり、QT SDK 2010/02で作成したUIの変更が反映されなかったり、微妙な感じだったので、ひとまずQT SDK 2010/02を使</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/1186409259114211578/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=1186409259114211578' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/1186409259114211578'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/1186409259114211578'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/07/qt4connect.html' title='QT4でのconnect()メモリリーク'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-8955435179650929100</id><published>2010-06-24T01:20:00.001+09:00</published><updated>2010-06-24T01:21:23.100+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='プログラミング'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>Ubuntu 10.04 LTSでGoogleCLを試してみた</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: Ubuntu 10.04 LTSでGoogleCLを試してみた
      --&gt;
    &lt;!--
          blogger_label: プログラミング
          blogger_label: ubuntu
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  GoogleからコマンドラインでGoogleAPIを叩くツール、googleclがリリースされたと聞いたので、さっそく試してみました。

  Blogger APIを使うために、PythonでGData APIを叩いた事はあったけれど、今回のツールを使うとそんな必要はなくなるのかもしれません。

  
      </summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/8955435179650929100/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=8955435179650929100' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/8955435179650929100'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/8955435179650929100'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/06/ubuntu-1004-ltsgooglecl.html' title='Ubuntu 10.04 LTSでGoogleCLを試してみた'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-7306014071199766459</id><published>2010-06-11T20:37:00.001+09:00</published><updated>2010-06-11T21:43:12.394+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>64bit Linux向けのflashplayerについて</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: 64bit Linux向けのflashplayerについて
      --&gt;
    &lt;!--
          blogger_label: linux
          blogger_label: ubuntu
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  正式版の10.1がリリースされたこともあって、Adobe LabsのWebサイトを確認したところ、残念ながら  "The Flash Player 10.1 64-bit Linux beta is closed. "とのステートメントが掲載されていました。

  次期バージョンのアルファ、ベータ版としてリリースして欲しいですが、</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/7306014071199766459/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=7306014071199766459' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/7306014071199766459'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/7306014071199766459'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/06/64bit-linuxflashplayer.html' title='64bit Linux向けのflashplayerについて'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-9088590587091291317</id><published>2010-05-25T17:48:00.001+09:00</published><updated>2010-05-25T17:48:09.231+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='beagleboard'/><title type='text'>beagleboardとUSBカメラとGPSを車に載せてみた</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: beagleboardとUSBカメラとGPSを車に載せてみた
      --&gt;
    &lt;!--
          blogger_label: linux
          blogger_label: beagleboard
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
    beagleboard自身は5V1A程度の電源が必要ですが、車のシガーソケットから携帯充電用のUSB端子を接続することで簡単に動かすことができます。

  そこにUSB Video Class(UVC)に対応したUSBカメラとGPSを接続することで、走行場所の位置情報を埋め込んだ写真を取るようにしてみました。

  </summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/9088590587091291317/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=9088590587091291317' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/9088590587091291317'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/9088590587091291317'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/05/beagleboardusbgps.html' title='beagleboardとUSBカメラとGPSを車に載せてみた'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-5099495879752679372</id><published>2010-05-22T02:36:00.001+09:00</published><updated>2010-05-22T02:40:42.891+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>VMWare 7.0でUbuntu 10.04 Lucidを使う</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: VMWare 7.0でUbuntu 10.04 Lucidを使う
      --&gt;
    &lt;!--
          blogger_label: ubuntu
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  背景
  VMWare 7.0.1の30日間使える試用版を試してきたけれど、だいたいうまく動いているし、IPv6が使えるVMは思った以上に便利でした。

  ここにきて問題が起ったのはNagiosを入れているUbuntu 09.10 Karmicを10.04 Lucidにバージョンアップした直後でした。

  問題点
  GDMが起動してグラフィカルなログイン画面が表示されてから、マウス</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/5099495879752679372/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=5099495879752679372' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/5099495879752679372'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/5099495879752679372'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/05/vmware-70ubuntu-1004-lucid.html' title='VMWare 7.0でUbuntu 10.04 Lucidを使う'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-603167891088352873</id><published>2010-05-21T23:01:00.001+09:00</published><updated>2010-05-21T23:01:24.613+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cfengine3'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><title type='text'>cfengine3 free editionの限界</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: cfengine3 free editionの限界
      --&gt;
    &lt;!--
          blogger_label: linux
          blogger_label: cfengine3
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  前回まででスタンドアローンでは展開が終って、複数サーバでの管理はどうするのかなとマニュアルを眺めていました。

  cfengine2の時と同じように公開鍵を準備してサーバプロセスを起動して、クライアントからアクセスすればmasterfilesに置いたポリシーファイルが配られるのかなぁ、と考えていたのですが、どうやらcfengine3</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/603167891088352873/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=603167891088352873' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/603167891088352873'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/603167891088352873'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/05/cfengine3-free-edition.html' title='cfengine3 free editionの限界'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-141215540445018739</id><published>2010-05-19T07:12:00.001+09:00</published><updated>2010-05-19T23:33:13.066+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cfengine3'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><title type='text'>Debian lennyにcfengine 3.0.4を導入してみる</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: Debian lennyにcfengine 3.0.4を導入してみる
      --&gt;
    &lt;!--
          blogger_label: linux
          blogger_label: cfengine3
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  UbuntuではPPAで3.0.2が10.04 lucid用のパッケージが配布されていますが、今回はDebian lennyをターゲットにしています。
  www.cfengine.comではパッケージを配布しているとありますが、設定ファイル集ぐらいしか見つからなかったので自分でコンパイルする事にしました。

</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/141215540445018739/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=141215540445018739' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/141215540445018739'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/141215540445018739'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/05/debian-lennycfengine-304.html' title='Debian lennyにcfengine 3.0.4を導入してみる'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-823748161649443466</id><published>2010-05-17T21:29:00.001+09:00</published><updated>2010-05-17T21:34:37.059+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='bind'/><title type='text'>VMWare用にDebian lennyでDNSサーバを動かしてみた</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: VMWare用にDebian lennyでDNSサーバを動かしてみた
      --&gt;
    &lt;!--
          blogger_label: linux
          blogger_label: bind
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  VMWare Workstation内でCfengine3のテスト用"CfengineTeam"を作成しました。
それはさておき、今回はその前準備のDNSサーバのセットアップについてです。

  各インスタンスの/etc/hostsで管理しても良かったのですが、Cfengine相手だとDNS経由で逆引きできた方が良かろうという</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/823748161649443466/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=823748161649443466' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/823748161649443466'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/823748161649443466'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/05/vmwaredebian-lennydns.html' title='VMWare用にDebian lennyでDNSサーバを動かしてみた'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-8631191834482971846</id><published>2010-05-16T01:46:00.001+09:00</published><updated>2010-05-16T02:26:03.388+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='beagleboard'/><title type='text'>SDカードにnilfs2領域を作成した、その顛末</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: SDカードにnilfs2領域を作成した、その顛末
      --&gt;
    &lt;!--
          blogger_label: linux
          blogger_label: beagleboard
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  beagleboardに差しているSDカードに書き込み不可なブロックが出現したりしてファイルシステムが恐れてしまう現象が何回か発生しました。

  そこで試験的にnilfs2な領域を作成して/home, /var, /usrにしたのですが、2週間ほど稼働した後に残念ながら書き込みができなくなりました。
最初はGCプロセスが動</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/8631191834482971846/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=8631191834482971846' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/8631191834482971846'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/8631191834482971846'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/05/sdnilfs2.html' title='SDカードにnilfs2領域を作成した、その顛末'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-8669451063644710716</id><published>2010-05-11T01:03:00.001+09:00</published><updated>2010-05-15T23:43:17.149+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cloud'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>Ubuntu Enterprise Cloudを試してみる</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: Ubuntu Enterprise Cloudを試してみる
      --&gt;
    &lt;!--
          blogger_label: ubuntu
          blogger_label: cloud
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  GW期間中にデスクトップをUbuntu 10.04 LTSに更新してから、Ubuntu Enterprise Cloud (UEC)環境も10.04を新規にインストールして、Eucalyptus 1.6.2ベースに以降しました。

  システム構成
  ありあわせのシステムなので、  prerequisitesを完璧にはカバー</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/8669451063644710716/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=8669451063644710716' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/8669451063644710716'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/8669451063644710716'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/05/ubuntu-enterprise-cloud.html' title='Ubuntu Enterprise Cloudを試してみる'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-7713669602894485541</id><published>2010-04-26T18:37:00.001+09:00</published><updated>2010-04-26T18:37:21.659+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>Ubuntu 10.04 RCとDebian lenny 5.0.4でOCFS2を試してみる</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: Ubuntu 10.04 RCとDebian lenny 5.0.4でOCFS2を試してみる
      --&gt;
    &lt;!--
          blogger_label: linux
          blogger_label: ubuntu
    --&gt;
  しばらく前にUbuntu 8.04 LTSとDebian lenny 5.0.4の組み合せでocfs2を使った時に、Ubuntu側のカーネルバージョンが低いためにocfs2のバージョンについて整合性が取れず、クラスタの作成に失敗してしまいました。

  Ubuntu 10.04もRC版が公開されて、RAID、nvidia周りのバグも取れたようなので、デスクトップをバージョンアップし、</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/7713669602894485541/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=7713669602894485541' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/7713669602894485541'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/7713669602894485541'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/04/ubuntu-1004-rcdebian-lenny-504ocfs2.html' title='Ubuntu 10.04 RCとDebian lenny 5.0.4でOCFS2を試してみる'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-1492554701603054241</id><published>2010-04-25T23:59:00.001+09:00</published><updated>2010-04-25T23:59:14.546+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='beagleboard'/><title type='text'>BeagleboardのDebian lennyを入れたSDカードでnilfs2を試す</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: BeagleboardのDebian lennyを入れたSDカードでnilfs2を試す
      --&gt;
    &lt;!--
          blogger_label: linux
          blogger_label: beagleboard
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  いままでSDカード全体をext3でフォーマットしていたのですが、一部のディレクトリで書き込みができなくなってしまったので、他のSDカードでパーティションを増やし、  nilfs2を使うことにしました。

  いきなりnilfs2の領域を作成してインストールすることはできないので、まずは普通に</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/1492554701603054241/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=1492554701603054241' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/1492554701603054241'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/1492554701603054241'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/04/beagleboarddebian-lennysdnilfs2.html' title='BeagleboardのDebian lennyを入れたSDカードでnilfs2を試す'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-4148552914329114579</id><published>2010-04-23T00:49:00.001+09:00</published><updated>2010-04-23T09:36:07.714+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='プログラミング'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='beagleboard'/><title type='text'>V4L2のサンプルコードで遊んでみる</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: V4L2のサンプルコードで遊んでみる
      --&gt;
    &lt;!--
          blogger_label: プログラミング
          blogger_label: linux
          blogger_label: beagleboard
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  手元にWebカメラがあってbeagleboardに接続して使えないかなと思って、V4L2 APIを使ってみました。
  V4L2 APIリファレンスのAppendix B. "Video Capture Example"にあるコードを使うと、static void </summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/4148552914329114579/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=4148552914329114579' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/4148552914329114579'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/4148552914329114579'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/04/v4l2.html' title='V4L2のサンプルコードで遊んでみる'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-5435281480042108887</id><published>2010-04-15T14:26:00.001+09:00</published><updated>2010-04-15T19:33:55.459+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='読書'/><category scheme='http://www.blogger.com/atom/ns#' term='リテラシー'/><title type='text'>「共生のための技術哲学」を読んで</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: 「共生のための技術哲学」を読んで
      --&gt;
    &lt;!--
          blogger_label: 読書
          blogger_label: リテラシー
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  「  共生のための技術哲学 村田純一編」を読み終ったので、感想をまとめておこうと思います。

  概要
  この本は村田純一先生が企画・運営に携わり2006年に開かれた本の表題と同名のワークショップの成果をまとめたものです。

  ワークショップでは「ユニバーサルデザイン」の考え方をベースに、様々な方々が自らのバックグラウンドにもとづいて講演されており、本書にはその</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/5435281480042108887/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=5435281480042108887' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/5435281480042108887'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/5435281480042108887'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/04/blog-post_15.html' title='「共生のための技術哲学」を読んで'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-4897287365964148570</id><published>2010-04-13T15:56:00.001+09:00</published><updated>2010-04-13T20:46:06.273+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='alix'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><title type='text'>またまたフラッシュメモリが使えなくなる</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: またまたフラッシュメモリが使えなくなる
      --&gt;
    &lt;!--
          blogger_label: alix
          blogger_label: linux
    --&gt;
  概要
  しばらく前に  突然USBフラッシュメモリが使えなくなることがありましたが、
またalixのバックアップに使っているフラッシュメモリが書き込めない状態になりました。

  今回はコジマで買ってきたKodakブランドのLexar製なUSBフラッシュメモリで、980円ぐらいの特価品だったと思います。

  用途と症状
  フラッシュメモリの領域にディレクトリやファイルを作成しようとすると、次のメッセージが表示されます。

    </summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/4897287365964148570/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=4897287365964148570' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/4897287365964148570'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/4897287365964148570'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/04/ubuntu-804-ltsgoogle-blogger-api.html' title='またまたフラッシュメモリが使えなくなる'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-5445376637264846267</id><published>2010-04-13T15:15:00.001+09:00</published><updated>2010-04-13T15:15:33.578+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='beagleboard'/><title type='text'>Beagleboardに使うSDカードのhdparm結果メモ</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: Beagleboardに使うSDカードのhdparm結果メモ
      --&gt;
    &lt;!--
          blogger_label: linux
          blogger_label: beagleboard
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  SDカードのパフォーマンスはいろいろな計測方法があるので、この数字だけで、どうこういうわけではないですが、手持ちのカードをhdparmを使って計測したデータを羅列しておきます。

  $ sudo /sbin/hdparm -Tt /dev/mmcblk0
    上海問屋オリジナル 150倍速 2GB SDカード
</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/5445376637264846267/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=5445376637264846267' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/5445376637264846267'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/5445376637264846267'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/04/beagleboardsdhdparm.html' title='Beagleboardに使うSDカードのhdparm結果メモ'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36602825.post-3079036947497989610</id><published>2010-04-11T19:10:00.001+09:00</published><updated>2010-04-12T01:10:05.465+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><category scheme='http://www.blogger.com/atom/ns#' term='beagleboard'/><title type='text'>Ubuntu 8.04 LTSでBeagleboardにDebian lennyを導入してみる</title><summary type='text'>&lt;!-- begin :: YASCMS ver 9.3 --&gt;

    &lt;!--  
       blogger_title: Ubuntu 8.04 LTSでBeagleboardにDebian lennyを導入してみる
      --&gt;
    &lt;!--
          blogger_label: linux
          blogger_label: ubuntu
          blogger_label: beagleboard
    --&gt;
  &lt;!-- anchor tag will be ignored now. --&gt;
  今回はしばらく前に入手した  Beagleboard(Rev. C3)にdebian lennyをインストールします。
  alixでtracを稼働させていたのですが、パフォーマンスに満足いかなかったので</summary><link rel='replies' type='application/atom+xml' href='http://yasu-2.blogspot.com/feeds/3079036947497989610/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=36602825&amp;postID=3079036947497989610' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/3079036947497989610'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36602825/posts/default/3079036947497989610'/><link rel='alternate' type='text/html' href='http://yasu-2.blogspot.com/2010/04/ubuntu-804-ltsbeagleboarddebian-lenny.html' title='Ubuntu 8.04 LTSでBeagleboardにDebian lennyを導入してみる'/><author><name>Yasuhiro ABE</name><uri>https://profiles.google.com/106959764858756464875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-ArWqqaQX0c8/AAAAAAAAAAI/AAAAAAAAAZo/sar1krn-JiE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry></feed>
