Sorry

This feed does not validate.

In addition, interoperability with the widest range of feed readers could be improved by implementing the following recommendations.

Source: http://d.hatena.ne.jp/gounx2/rss2

  1. <feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ja">
  2.  <title>gounx2の日記</title>
  3.  
  4.  <link href="https://gounx2.hatenadiary.org/"/>
  5.  <updated></updated>
  6.  <author>
  7.    <name>gounx2</name>
  8.  </author>
  9.  <generator uri="https://blog.hatena.ne.jp/" version="70066b864cc9c7033e1b42340e8b05">Hatena::Blog</generator>
  10.  <id>hatenablog://blog/17680117127136072067</id>
  11.  
  12.  
  13.    
  14.    
  15.    <entry>
  16.        <title> バンクーバーオリンピック、競技日程&放映スケジュール</title>
  17.        <link href="https://gounx2.hatenadiary.org/entry/20100212/1265933361"/>
  18.        <id>hatenablog://entry/17680117127136072191</id>
  19.        <published>2010-02-12T09:09:21+09:00</published>
  20.        <updated>2019-05-17T03:30:09+09:00</updated>        <summary type="html">各公式とおもわれるPDFへリンク競技日程競技日程(HTML)民放地上民放BSNHK</summary>
  21.        <content type="html">&lt;p&gt;各公式とおもわれるPDFへリンク&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://www.joc.or.jp/vancouver/schedule/sj.pdf&quot;&gt;&amp;#x7AF6;&amp;#x6280;&amp;#x65E5;&amp;#x7A0B;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://www.joc.or.jp/vancouver/schedule/index.html&quot;&gt;&amp;#x7AF6;&amp;#x6280;&amp;#x65E5;&amp;#x7A0B;(HTML)&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://nab.or.jp/index.php?plugin=attach&amp;refer=2010%C7%AF01%B7%EE18%C6%FC%20%A1%CA%CA%F3%C6%BB%C8%AF%C9%BD%A1%CB%A5%D0%A5%F3%A5%AF%A1%BC%A5%D0%A1%BC%A5%AA%A5%EA%A5%F3%A5%D4%A5%C3%A5%AF%20%CC%B1%CA%FC%A5%C6%A5%EC%A5%D3%CA%FC%C1%F7%CF%C8%A4%CB%A4%C4%A4%A4%A4%C6&amp;openfile=20100118TV.pdf&quot;&gt;&amp;#x6C11;&amp;#x653E;&amp;#x5730;&amp;#x4E0A;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://nab.or.jp/index.php?plugin=attach&amp;refer=2010%C7%AF01%B7%EE18%C6%FC%20%A1%CA%CA%F3%C6%BB%C8%AF%C9%BD%A1%CB%A5%D0%A5%F3%A5%AF%A1%BC%A5%D0%A1%BC%A5%AA%A5%EA%A5%F3%A5%D4%A5%C3%A5%AF%20%CC%B1%CA%FC%A5%C6%A5%EC%A5%D3%CA%FC%C1%F7%CF%C8%A4%CB%A4%C4%A4%A4%A4%C6&amp;openfile=20100118BS.pdf&quot;&gt;&amp;#x6C11;&amp;#x653E;&amp;#xFF22;&amp;#xFF33;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://www9.nhk.or.jp/olympic/onnhk/nhkvancouverbroadcast.pdf&quot;&gt;&amp;#xFF2E;&amp;#xFF28;&amp;#xFF2B;&lt;/a&gt;&lt;/p&gt;
  22. </content>        
  23.        <category term="memo" label="memo" />
  24.        
  25.        <link rel="enclosure" href="https://cdn.blog.st-hatena.com/images/theme/og-image-1500.png" type="image/png" length="0" />
  26.  
  27.        <author>
  28.            <name>gounx2</name>
  29.        </author>
  30.    </entry>
  31.    
  32.  
  33.    
  34.    
  35.    <entry>
  36.        <title>preg_replaceでutf8文字列からコントロール文字を削除する。</title>
  37.        <link href="https://gounx2.hatenadiary.org/entry/20091127/1259291487"/>
  38.        <id>hatenablog://entry/17680117127136072377</id>
  39.        <published>2009-11-27T12:11:27+09:00</published>
  40.        <updated>2019-05-17T03:30:10+09:00</updated>        <summary type="html">Unicode文字プロパティなるものを使うと、コントロール文字は「\p{Cc}」と表記できる。最初、 $ret = preg_replace(&#39;@\p{Cc}@&#39;, &#39;&#39;, $utf8string);とやっていたのだけど、どうもうまく動いていない。結論、 $ret = preg_replace(&#39;@\p{Cc}@u&#39;, &#39;&#39;, $utf8string);PHP: Unicode 文字プロパティ - Manual に「PHP 4.4.0 および 5.1.0 以降、UTF-8 モード を設定した場合に」と書いてあったのを見逃してた。。。</summary>
  41.        <content type="html">&lt;p&gt;&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/Unicode&quot;&gt;Unicode&lt;/a&gt;文字プロパティなるものを使うと、コン&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%A5%C8%A5%ED%A1%BC%A5%EB&quot;&gt;トロール&lt;/a&gt;文字は「\p{Cc}」と表記できる。&lt;/p&gt;&lt;p&gt;最初、&lt;/p&gt;
  42. &lt;pre class=&quot;code&quot; data-lang=&quot;&quot; data-unlink&gt;$ret = preg_replace(&amp;#39;@\p{Cc}@&amp;#39;, &amp;#39;&amp;#39;, $utf8string);&lt;/pre&gt;&lt;p&gt;とやっていたのだけど、どうもうまく動いていない。&lt;/p&gt;&lt;p&gt;結論、&lt;/p&gt;
  43. &lt;pre class=&quot;code&quot; data-lang=&quot;&quot; data-unlink&gt;$ret = preg_replace(&amp;#39;@\p{Cc}@u&amp;#39;, &amp;#39;&amp;#39;, $utf8string);&lt;/pre&gt;&lt;p&gt;&lt;a href=&quot;http://jp2.php.net/manual/ja/regexp.reference.unicode.php&quot;&gt;PHP: Unicode &amp;#x6587;&amp;#x5B57;&amp;#x30D7;&amp;#x30ED;&amp;#x30D1;&amp;#x30C6;&amp;#x30A3; - Manual&lt;/a&gt; に「&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/PHP&quot;&gt;PHP&lt;/a&gt; 4.4.0 および 5.1.0 以降、&lt;span style=&quot;font-weight:bold;&quot;&gt;&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/UTF-8&quot;&gt;UTF-8&lt;/a&gt; モード&lt;/span&gt; を設定した場合に」と書いてあったのを見逃してた。。。&lt;/p&gt;
  44. </content>        
  45.        <category term="php" label="php" />
  46.        
  47.        <link rel="enclosure" href="https://cdn.blog.st-hatena.com/images/theme/og-image-1500.png" type="image/png" length="0" />
  48.  
  49.        <author>
  50.            <name>gounx2</name>
  51.        </author>
  52.    </entry>
  53.    
  54.  
  55.    
  56.    
  57.    <entry>
  58.        <title> Iceweasel で URL を / 終わりで指定すると2回アクセスされる?</title>
  59.        <link href="https://gounx2.hatenadiary.org/entry/20091112/1258037475"/>
  60.        <id>hatenablog://entry/17680117127136072511</id>
  61.        <published>2009-11-12T23:51:15+09:00</published>
  62.        <updated>2019-05-17T03:30:11+09:00</updated>        <summary type="html">アクセスの都度、DBにレコードをInsertする index.php を書いたのだけど、1アクセスにつき2レコードがInsertされるので悩んだ。調べてみると・・・ Iceweasel で http://hoge.com/fuga/ にアクセスすると、サーバ側では、get fuga/index.php が 連続で2回呼ばれてた。該当バージョンは・・・ $ dpkg -l | grep iceweasel ii iceweasel 3.0.6-3 lightweight web browser based on Mozilla ii iceweasel-gnome-support 3.0.6-3…</summary>
  63.        <content type="html">&lt;p&gt;アクセスの都度、DBにレコードをInsertする index.&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/php&quot;&gt;php&lt;/a&gt; を書いたのだけど、1アクセスにつき2レコードがInsertされるので悩んだ。&lt;/p&gt;&lt;p&gt;調べてみると・・・&lt;br /&gt;
  64. &lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/Iceweasel&quot;&gt;Iceweasel&lt;/a&gt; で &lt;a href=&quot;http://hoge.com/fuga/&quot;&gt;http://hoge.com/fuga/&lt;/a&gt; にアクセスすると、サーバ側では、get fuga/index.&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/php&quot;&gt;php&lt;/a&gt; が 連続で2回呼ばれてた。&lt;/p&gt;&lt;p&gt;該当バージョンは・・・&lt;/p&gt;
  65. &lt;pre class=&quot;code&quot; data-lang=&quot;&quot; data-unlink&gt;$ dpkg -l | grep iceweasel
  66. ii  iceweasel                            3.0.6-3                    lightweight web browser based on Mozilla
  67. ii  iceweasel-gnome-support              3.0.6-3                    Support for GNOME in Iceweasel
  68. ii  iceweasel-l10n-ja                    1:3.0.6+debian-1           Japanese language package for Iceweasel&lt;/pre&gt;&lt;p&gt;念のため、別ブラウザ(&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/Epiphany&quot;&gt;Epiphany&lt;/a&gt;/2.22)も調べたが再現せず。従って &lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/Iceweasel&quot;&gt;Iceweasel&lt;/a&gt; の問題のようだ。(apache2側の問題ではなさそう)&lt;/p&gt;
  69. </content>        
  70.        <category term="debian" label="debian" />
  71.        
  72.        <category term="lenny" label="lenny" />
  73.        
  74.        <link rel="enclosure" href="https://cdn.blog.st-hatena.com/images/theme/og-image-1500.png" type="image/png" length="0" />
  75.  
  76.        <author>
  77.            <name>gounx2</name>
  78.        </author>
  79.    </entry>
  80.    
  81.  
  82.    
  83.    
  84.    <entry>
  85.        <title>一次資料見ればいいじゃない。</title>
  86.        <link href="https://gounx2.hatenadiary.org/entry/20090903/1251972840"/>
  87.        <id>hatenablog://entry/17680117127136072680</id>
  88.        <published>2009-09-03T19:14:00+09:00</published>
  89.        <updated>2019-05-17T03:30:12+09:00</updated>        <summary type="html">元の報道番組見たわけではないが、記事書いた人に踊らされている。 何はともあれ。一次資料見ればいいじゃない。と思った。はてなブックマーク - 民主党「渋滞しそうな高速道路は無料化しない。選挙前は言いにくかった」|デジタルマガジン民主党マニフェストより引用 30.高速道路を原則無料化して、 地域経済の活性化を図る 【政策目的】 ○流通コストの引き下げを通じて、生活 コストを引き下げる。 ○産地から消費地へ商品を運びやすいよ うにして、地域経済を活性化する。 ○高速道路の出入り口を増設し、今ある 社会資本を有効に使って、渋滞などの 経済的損失を軽減する。 【具体策】 ○割引率の順次拡大などの社会実験…</summary>
  90.        <content type="html">&lt;p&gt;元の報道番組見たわけではないが、記事書いた人に踊らされている。&lt;br /&gt;
  91. 何はともあれ。一次資料見ればいいじゃない。と思った。&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://b.hatena.ne.jp/entry/digimaga.net/2009/09/dpj-said-only-a-part-of-the-highway-is-free.html&quot;&gt;&amp;#x306F;&amp;#x3066;&amp;#x306A;&amp;#x30D6;&amp;#x30C3;&amp;#x30AF;&amp;#x30DE;&amp;#x30FC;&amp;#x30AF; - &amp;#x6C11;&amp;#x4E3B;&amp;#x515A;&amp;#x300C;&amp;#x6E0B;&amp;#x6EDE;&amp;#x3057;&amp;#x305D;&amp;#x3046;&amp;#x306A;&amp;#x9AD8;&amp;#x901F;&amp;#x9053;&amp;#x8DEF;&amp;#x306F;&amp;#x7121;&amp;#x6599;&amp;#x5316;&amp;#x3057;&amp;#x306A;&amp;#x3044;&amp;#x3002;&amp;#x9078;&amp;#x6319;&amp;#x524D;&amp;#x306F;&amp;#x8A00;&amp;#x3044;&amp;#x306B;&amp;#x304F;&amp;#x304B;&amp;#x3063;&amp;#x305F;&amp;#x300D;&amp;#xFF5C;&amp;#x30C7;&amp;#x30B8;&amp;#x30BF;&amp;#x30EB;&amp;#x30DE;&amp;#x30AC;&amp;#x30B8;&amp;#x30F3;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%CC%B1%BC%E7%C5%DE&quot;&gt;民主党&lt;/a&gt;&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%A5%DE%A5%CB%A5%D5%A5%A7%A5%B9%A5%C8&quot;&gt;マニフェスト&lt;/a&gt;より引用&lt;/p&gt;
  92. &lt;pre class=&quot;code&quot; data-lang=&quot;&quot; data-unlink&gt;30.高速道路を原則無料化して、
  93.   地域経済の活性化を図る
  94. 【政策目的】
  95. ○流通コストの引き下げを通じて、生活
  96.  コストを引き下げる。
  97. ○産地から消費地へ商品を運びやすいよ
  98.  うにして、地域経済を活性化する。
  99. ○高速道路の出入り口を増設し、今ある
  100.  社会資本を有効に使って、渋滞などの
  101.  経済的損失を軽減する。
  102. 【具体策】
  103. ○割引率の順次拡大などの社会実験を実
  104.  施し、その影響を確認しながら、高速
  105.  道路を無料化していく。
  106. 【所要額】
  107. 1.3 兆円程度&lt;/pre&gt;&lt;p&gt;ところで、&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%A5%DE%A5%CB%A5%D5%A5%A7%A5%B9%A5%C8&quot;&gt;マニフェスト&lt;/a&gt;だけど、民主と自民でアプローチの仕方がまったく違うよね。&lt;br /&gt;
  108. まだ見たこと無い人は、さっと見てみるといいよ。&lt;br /&gt;
  109. 提案書として考えると、&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%CC%B1%BC%E7%C5%DE&quot;&gt;民主党&lt;/a&gt;のがいいのかね? だがプレゼンうけするのは、&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%BC%AB%CC%B1%C5%DE&quot;&gt;自民党&lt;/a&gt;っぽい気もする。&lt;br /&gt;
  110. &lt;a href=&quot;http://www.dpj.or.jp/special/manifesto2009/pdf/manifesto_2009.pdf&quot;&gt;&amp;#x6C11;&amp;#x4E3B;&amp;#x515A;&amp;#x30DE;&amp;#x30CB;&amp;#x30D5;&amp;#x30A7;&amp;#x30B9;&amp;#x30C8;&lt;/a&gt;&lt;br /&gt;
  111. &lt;a href=&quot;http://www.jimin.jp/sen_syu45/seisaku/pdf/2009_yakusoku_a.pdf&quot;&gt;&amp;#x81EA;&amp;#x7531;&amp;#x6C11;&amp;#x4E3B;&amp;#x515A;&amp;#x30DE;&amp;#x30CB;&amp;#x30D5;&amp;#x30A7;&amp;#x30B9;&amp;#x30C8;&lt;/a&gt;&lt;/p&gt;
  112. </content>        
  113.        <link rel="enclosure" href="https://cdn.blog.st-hatena.com/images/theme/og-image-1500.png" type="image/png" length="0" />
  114.  
  115.        <author>
  116.            <name>gounx2</name>
  117.        </author>
  118.    </entry>
  119.    
  120.  
  121.    
  122.    
  123.    <entry>
  124.        <title> EccPC701SD-X 最適化&プチフリ対策</title>
  125.        <link href="https://gounx2.hatenadiary.org/entry/20090824/1251099809"/>
  126.        <id>hatenablog://entry/17680117127136072788</id>
  127.        <published>2009-08-24T16:43:29+09:00</published>
  128.        <updated>2019-05-17T03:30:13+09:00</updated>        <summary type="html">最適化はそこそこやってたんだけど、久々に使ってみると、SSDのプチフリが強烈すぎて、もうね。使えないレベル。こんなのだったっけ?調べてみると、701SD-Xは使用時間に比例してどんどんひどくなるらしい。地雷踏んじゃったかな。で、結論としては、使えるレベルに復旧できた。OSレベルの設定見直しは、購入時点でやっていたので、その他の対策を実施した。 FlashFire導入 EWFとかいうのは失敗したときのリスクが大きそうだったので導入せず。代替でFlashFireを見つけた。これお勧め。 FlashFire: SSD Accelerator デフラグ SSDではあまりやるべきではない。というような情…</summary>
  129.        <content type="html">&lt;p&gt;最適化はそこそこやってたんだけど、久々に使ってみると、&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/SSD&quot;&gt;SSD&lt;/a&gt;の&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%A5%D7%A5%C1%A5%D5%A5%EA&quot;&gt;プチフリ&lt;/a&gt;が強烈すぎて、もうね。使えないレベル。こんなのだったっけ?調べてみると、701SD-Xは使用時間に比例してどんどんひどくなるらしい。地雷踏んじゃったかな。で、結論としては、使えるレベルに復旧できた。OSレベルの設定見直しは、購入時点でやっていたので、その他の対策を実施した。&lt;/p&gt;
  130.  
  131. &lt;div class=&quot;section&quot;&gt;
  132.    &lt;h4&gt;FlashFire導入&lt;/h4&gt;
  133.    &lt;p&gt;EWFとかいうのは失敗したときのリスクが大きそうだったので導入せず。代替でFlashFireを見つけた。これお勧め。&lt;br /&gt;
  134. &lt;a href=&quot;http://flashfire.org/xe/&quot;&gt;FlashFire: SSD Accelerator&lt;/a&gt;&lt;br /&gt;
  135. &lt;/p&gt;
  136.  
  137. &lt;/div&gt;
  138. &lt;div class=&quot;section&quot;&gt;
  139.    &lt;h4&gt;&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%A5%C7%A5%D5%A5%E9%A5%B0&quot;&gt;デフラグ&lt;/a&gt;&lt;/h4&gt;
  140.    &lt;p&gt;&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/SSD&quot;&gt;SSD&lt;/a&gt;ではあまりやるべきではない。というような情報もあったけど実施。&lt;/p&gt;
  141.  
  142. &lt;/div&gt;
  143. &lt;div class=&quot;section&quot;&gt;
  144.    &lt;h4&gt;メモリ増設は実施せず。&lt;/h4&gt;
  145.    &lt;p&gt;これまでの対策で使えるレベルに復帰したので、標準の512Mのまま使ってます。&lt;/p&gt;
  146.  
  147. &lt;/div&gt;
  148. &lt;div class=&quot;section&quot;&gt;
  149.    &lt;h4&gt;&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/firefox&quot;&gt;firefox&lt;/a&gt;のキャッシュ先をramディスクに変更。&lt;/h4&gt;
  150.    &lt;p&gt;そもそもメモリ512Mしかないので、それをramディスクに割り当てるのはもったいないのですが、キャッシュの更新って頻繁にあるでしょうから、あえて割り当ててみた。たったの32Kですが。。。&lt;br /&gt;
  151. &lt;a href=&quot;http://hp.vector.co.jp/authors/VA000363/release/index.htm&quot;&gt;ERAM for WindowsNT3.51/4.0/2000/XP Ver 2.20 &amp;#x30C9;&amp;#x30E9;&amp;#x30A4;&amp;#x30D0;&lt;/a&gt;を使用&lt;br /&gt;
  152. &lt;a href=&quot;http://nofx2.txt-nifty.com/it/2008/11/firefox-055d.html&quot;&gt;firefox&amp;#x306E;&amp;#x30AD;&amp;#x30E3;&amp;#x30C3;&amp;#x30B7;&amp;#x30E5;&amp;#x5148;&amp;#x3092;RAMDisk&amp;#x3078;&amp;#x5909;&amp;#x66F4;&lt;/a&gt;&lt;br /&gt;
  153. &lt;/p&gt;
  154.  
  155. &lt;/div&gt;
  156. &lt;div class=&quot;section&quot;&gt;
  157.    &lt;h4&gt;&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%B2%BE%C1%DB%A5%E1%A5%E2%A5%EA&quot;&gt;仮想メモリ&lt;/a&gt;を0にしてたら、アプリがたまに強制終了する。&lt;/h4&gt;
  158.    &lt;p&gt;そんなにたくさんのアプリ立ち上げて無いんだがな。まぁ、512Mしかないから。。。SDカードスロットにあまってた1Gを刺して、これを&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%B2%BE%C1%DB%A5%E1%A5%E2%A5%EA&quot;&gt;仮想メモリ&lt;/a&gt;用に割り当てて使ってます。&lt;/p&gt;
  159.  
  160. &lt;/div&gt;
  161. &lt;div class=&quot;section&quot;&gt;
  162.    &lt;h4&gt;&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/andLinux&quot;&gt;andLinux&lt;/a&gt;インストールした。&lt;/h4&gt;
  163.    &lt;p&gt;普通に使えてます。(そもそも、これをやりたかった)&lt;/p&gt;
  164.  
  165. &lt;/div&gt;
  166. &lt;div class=&quot;section&quot;&gt;
  167.    &lt;h4&gt;参考にさせてもらったサイト&lt;/h4&gt;
  168.    &lt;p&gt;&lt;a href=&quot;http://hyamada.ddo.jp/hiki/hiki.cgi?eeepc#l4&quot;&gt;&amp;#x3072;&amp;#x3083;&amp;#x307E;&amp;#x3060;&amp;#x306E;&amp;#x30C6;&amp;#x30AD;&amp;#x30B9;&amp;#x30C8;&amp;#x3067;&amp;#x884C;&amp;#x3053;&amp;#x3046; - eeepc&lt;/a&gt;&lt;br /&gt;
  169. &lt;a href=&quot;http://masabuu.com/pc-joy/2009/01/ssd.html&quot;&gt;SSD&amp;#x306E;&amp;#x30D7;&amp;#x30C1;&amp;#x30D5;&amp;#x30EA;&amp;#x5BFE;&amp;#x7B56;&amp;#x3001;&amp;#x5EF6;&amp;#x547D;&amp;#x63AA;&amp;#x7F6E;&amp;#x3000;&amp;#x307E;&amp;#x3068;&amp;#x3081;&amp;#xFF0E; - &amp;#x30D1;&amp;#x30BD;&amp;#x30B3;&amp;#x30F3;&amp;#x3042;&amp;#x305D;&amp;#x3073;&amp;#xFF0E;&lt;/a&gt;&lt;br /&gt;
  170. &lt;a href=&quot;http://project-r.org/eeepc/optimaizeeee.html&quot;&gt;&amp;#x30BC;&amp;#x30ED;&amp;#x304B;&amp;#x3089;&amp;#x59CB;&amp;#x3081;&amp;#x308B;Eee PC-Windows XP&amp;#x3092;Eee PC&amp;#x306B;&amp;#x6700;&amp;#x9069;&amp;#x5316;&amp;#x3059;&amp;#x308B;&lt;/a&gt;&lt;/p&gt;
  171.  
  172. &lt;/div&gt;</content>        
  173.        <category term="eeepc" label="eeepc" />
  174.        
  175.        <link rel="enclosure" href="https://cdn.blog.st-hatena.com/images/theme/og-image-1500.png" type="image/png" length="0" />
  176.  
  177.        <author>
  178.            <name>gounx2</name>
  179.        </author>
  180.    </entry>
  181.    
  182.  
  183.    
  184.    
  185.    <entry>
  186.        <title>debian lenny に nilfs2 をインスールする。</title>
  187.        <link href="https://gounx2.hatenadiary.org/entry/20090817/1250505063"/>
  188.        <id>hatenablog://entry/17680117127136072923</id>
  189.        <published>2009-08-17T19:31:03+09:00</published>
  190.        <updated>2019-05-17T03:30:14+09:00</updated>        <summary type="html">lenny(stable)のパッケージを使う。 公式 NILFS Download にOSに応じたインストール方法がまとめられています。要約すると、次の通りカーネルに応じたmoduleと、toolのパッケージをインストールするだけです。 aptitude install nilfs2-modules-2.6.26-2-686 aptitude install nilfs2-tools簡単ですね。しかしながら、lenny(stable)でインストール可能な nilfs2 は 2.0.6 と古いです。 新しいのを使いたいので、stable以外を探してみます。なお、stable以外からのパッケージの…</summary>
  191.        <content type="html">
  192. &lt;div class=&quot;section&quot;&gt;
  193.    &lt;h4&gt;lenny(stable)のパッケージを使う。&lt;/h4&gt;
  194.    &lt;p&gt;公式 &lt;a href=&quot;http://www.nilfs.org/ja/download.html&quot;&gt;NILFS Download&lt;/a&gt; にOSに応じたインストール方法がまとめられています。要約すると、次の通り&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%A5%AB%A1%BC%A5%CD%A5%EB&quot;&gt;カーネル&lt;/a&gt;に応じたmoduleと、toolのパッケージをインストールするだけです。&lt;/p&gt;
  195. &lt;pre class=&quot;code&quot; data-lang=&quot;&quot; data-unlink&gt;aptitude install nilfs2-modules-2.6.26-2-686
  196. aptitude install nilfs2-tools&lt;/pre&gt;&lt;p&gt;簡単ですね。しかしながら、lenny(stable)でインストール可能な nilfs2 は 2.0.6 と古いです。&lt;br /&gt;
  197. 新しいのを使いたいので、stable以外を探してみます。&lt;/p&gt;&lt;p&gt;なお、stable以外からのパッケージの借り方は &lt;a href=&quot;http://d.hatena.ne.jp/gounx2/20090814/1250259343&quot;&gt;debian lenny(stable) &amp;#x3067; stable &amp;#x4EE5;&amp;#x5916;&amp;#x306E;&amp;#x30D1;&amp;#x30C3;&amp;#x30B1;&amp;#x30FC;&amp;#x30B8;&amp;#x3092;&amp;#x4F7F;&amp;#x3046;&amp;#x3002; - gounx2&amp;#x306E;&amp;#x65E5;&amp;#x8A18;&lt;/a&gt; を参照ください。&lt;/p&gt;
  198.  
  199. &lt;/div&gt;
  200. &lt;div class=&quot;section&quot;&gt;
  201.    &lt;h4&gt;lenny-backports のパッケージを使う。&lt;/h4&gt;
  202.    &lt;p&gt;nilfs2は kernel 2.6.30 から&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%A5%AB%A1%BC%A5%CD%A5%EB&quot;&gt;カーネル&lt;/a&gt;本体に含まれています。これを backports からインストールしてみます。&lt;/p&gt;&lt;p&gt;まず、2.6.30があるか確認&lt;/p&gt;
  203. &lt;pre class=&quot;code&quot; data-lang=&quot;&quot; data-unlink&gt;$ aptitude search linux-image-2.6.30
  204. p   linux-image-2.6.30-bpo.1-486                     - Linux 2.6.30 image on x86                                
  205. p   linux-image-2.6.30-bpo.1-686                     - Linux 2.6.30 image on PPro/Celeron/PII/PIII/P4            
  206. p   linux-image-2.6.30-bpo.1-686-bigmem              - Linux 2.6.30 image on PPro/Celeron/PII/PIII/P4            
  207. p   linux-image-2.6.30-bpo.1-amd64                   - Linux 2.6.30 image on AMD64                               &lt;/pre&gt;&lt;p&gt;念のため、出所を確認してからインストール&リブート&lt;/p&gt;
  208. &lt;pre class=&quot;code&quot; data-lang=&quot;&quot; data-unlink&gt;$ apt-cache policy linux-image-2.6.30-bpo.1-686
  209. linux-image-2.6.30-bpo.1-686:
  210.  インストールされているバージョン: (なし)
  211.  候補: 2.6.30-5~bpo50+1
  212.  バージョンテーブル:
  213.     2.6.30-5~bpo50+1 0
  214.          1 http://www.backports.org lenny-backports/main Packages
  215.  
  216. $ sudo aptitude install linux-image-2.6.30-bpo.1-686
  217. :
  218. $ sudo reboot
  219. :
  220. $ uname -a
  221. Linux debianlenny 2.6.30-bpo.1-686 #1 SMP Wed Aug 5 18:28:33 UTC 2009 i686 GNU/Linux&lt;/pre&gt;&lt;p&gt;nilfs2の&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%A5%D1%A1%BC%A5%C6%A5%A3%A5%B7%A5%E7%A5%F3&quot;&gt;パーティション&lt;/a&gt;をマウント&lt;/p&gt;
  222. &lt;pre class=&quot;code&quot; data-lang=&quot;&quot; data-unlink&gt;$ sudo mount -t nilfs2 /dev/sdb1 /nilfs
  223. mount.nilfs2: WARNING! - The NILFS on-disk format may change at any time.
  224. mount.nilfs2: WARNING! - Do not place critical data on a NILFS filesystem.&lt;/pre&gt;&lt;p&gt;警告出すようになったんですね。(stable のパッケージでは警告でませんでした)&lt;br /&gt;
  225. 自己責任でってことで。&lt;/p&gt;&lt;p&gt;次にツールを入れようとしたんですが、残念ながら&lt;/p&gt;
  226. &lt;pre class=&quot;code&quot; data-lang=&quot;&quot; data-unlink&gt;$ aptitude search nilfs2-tool
  227. i   nilfs2-tools     - Continuous Snapshotting Log-structured Filesystem        
  228. $
  229. $ apt-cache policy nilfs2-tools
  230. nilfs2-tools:
  231.  インストールされているバージョン: 2.0.6-1
  232.  候補: 2.0.6-1
  233.  バージョンテーブル:
  234.     2.0.14-2 0
  235.        200 http://ftp.jp.debian.org squeeze/main Packages
  236. *** 2.0.6-1 0
  237.        500 http://ftp.jp.debian.org lenny/main Packages
  238.        100 /var/lib/dpkg/status&lt;/pre&gt;&lt;p&gt;lenny-backports には nilfs2-tools が存在しませんでした。仕方がないので、testing の 2.0.14 を使うことにします。&lt;br /&gt;
  239. (kernel 2.6.30 上で、2.0.6のツールを使うとエラーになります。ioctlまわりのI/Fが変ったようです)&lt;/p&gt;
  240.  
  241. &lt;/div&gt;
  242. &lt;div class=&quot;section&quot;&gt;
  243.    &lt;h4&gt;仕方がないので、squeeze(testing) から nilfs2-tools をインストールする。&lt;/h4&gt;
  244.    &lt;pre class=&quot;code&quot; data-lang=&quot;&quot; data-unlink&gt;goun@debianlenny:~$ sudo aptitude install nilfs2-tools/testing
  245. パッケージリストを読み込んでいます... 完了
  246. :
  247. 以下のパッケージが削除されます:
  248.  module-assistant{u} nilfs2-source{u}
  249. 以下のパッケージが更新されます:
  250.  nilfs2-tools
  251. 更新: 1 個、新規インストール: 0 個、削除: 2 個、保留: 6 個。
  252. 102kB のアーカイブを取得する必要があります。展開後に 684kB のディスク領域が解放されます。
  253. 先に進みますか? [Y/n/?] y&lt;/pre&gt;&lt;p&gt;あれっ、2パッケージ削除されるみたい。&lt;br /&gt;
  254. まぁ、いっか。。。&lt;/p&gt;&lt;p&gt;一応コマンド動いてるようです。&lt;/p&gt;
  255.  
  256. &lt;/div&gt;</content>        
  257.        <category term="debian" label="debian" />
  258.        
  259.        <category term="lenny" label="lenny" />
  260.        
  261.        <category term="nilfs2" label="nilfs2" />
  262.        
  263.        <link rel="enclosure" href="https://cdn.blog.st-hatena.com/images/theme/og-image-1500.png" type="image/png" length="0" />
  264.  
  265.        <author>
  266.            <name>gounx2</name>
  267.        </author>
  268.    </entry>
  269.    
  270.  
  271.    
  272.    
  273.    <entry>
  274.        <title>debian lenny(stable) で stable 以外のパッケージを使う。</title>
  275.        <link href="https://gounx2.hatenadiary.org/entry/20090814/1250259343"/>
  276.        <id>hatenablog://entry/17680117127136073069</id>
  277.        <published>2009-08-14T23:15:43+09:00</published>
  278.        <updated>2019-05-17T03:30:15+09:00</updated>        <summary type="html">基本 lenny(stable) を使っているが一部パッケージを stable 以外から持ってくる方法を書きます。 注意点 testing,unstableのパッケージを導入すると、基本となるライブラリ(glibcなど)から変っていることがあるので連鎖的に大量のアップグレードが発生することがあり、環境が壊れてしまう可能性もあるようです。 backportsのパッケージ導入は、上記のような危険性はありませんが、Debian公式パッケージではないので、stableと比較すると信頼性に劣るようです。 /etc/apt/sources.listの設定 (使わないものはコメントアウトしておいた方がよい)…</summary>
  279.        <content type="html">&lt;p&gt;基本 lenny(stable) を使っているが一部パッケージを stable 以外から持ってくる方法を書きます。&lt;/p&gt;
  280.  
  281. &lt;div class=&quot;section&quot;&gt;
  282.    &lt;h4&gt;注意点&lt;/h4&gt;
  283.    
  284. &lt;ul&gt;
  285. &lt;li&gt;testing,unstableのパッケージを導入すると、基本となるライブラリ(&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/glibc&quot;&gt;glibc&lt;/a&gt;など)から変っていることがあるので連鎖的に大量のアップグレードが発生することがあり、環境が壊れてしまう可能性もあるようです。&lt;/li&gt;
  286. &lt;li&gt;backportsのパッケージ導入は、上記のような危険性はありませんが、&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/Debian&quot;&gt;Debian&lt;/a&gt;公式パッケージではないので、stableと比較すると信頼性に劣るようです。&lt;/li&gt;
  287. &lt;/ul&gt;
  288. &lt;/div&gt;
  289. &lt;div class=&quot;section&quot;&gt;
  290.    &lt;h4&gt;/etc/apt/sources.listの設定&lt;/h4&gt;
  291.    &lt;p&gt;(使わないものは&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%A5%B3%A5%E1%A5%F3%A5%C8%A5%A2%A5%A6%A5%C8&quot;&gt;コメントアウト&lt;/a&gt;しておいた方がよい)&lt;/p&gt;
  292. &lt;pre class=&quot;code&quot; data-lang=&quot;&quot; data-unlink&gt;# lenny(stable)
  293. deb http://ftp.jp.debian.org/debian/ lenny main non-free
  294. deb-src http://ftp.jp.debian.org/debian/ lenny main non-free
  295.  
  296. deb http://security.debian.org/ lenny/updates main non-free
  297. deb-src http://security.debian.org/ lenny/updates main non-free
  298.  
  299. deb http://volatile.debian.org/debian-volatile/ lenny/volatile main
  300. deb-src http://volatile.debian.org/debian-volatile/ lenny/volatile main
  301.  
  302. # lenny-backports
  303. deb http://www.backports.org/debian lenny-backports main contrib non-free
  304. deb-src http://www.backports.org/debian lenny-backports main contrib non-free
  305.  
  306. # squeeze(testing)
  307. deb http://ftp.jp.debian.org/debian/ testing main non-free
  308. deb-src http://ftp.jp.debian.org/debian/ testing main non-free
  309.  
  310. # sid(unstable)
  311. deb http://ftp.jp.debian.org/debian/ unstable main non-free
  312. deb-src http://ftp.jp.debian.org/debian/ unstable main non-free&lt;/pre&gt;
  313. &lt;/div&gt;
  314. &lt;div class=&quot;section&quot;&gt;
  315.    &lt;h4&gt;lenny-backports用 公開鍵インストール&lt;/h4&gt;
  316.    &lt;p&gt;updateすると次のように公開鍵が無いと言われます。&lt;/p&gt;
  317. &lt;pre class=&quot;code&quot; data-lang=&quot;&quot; data-unlink&gt;$ sudo aptitude update
  318. :
  319. 取得:16 http://security.debian.org lenny/updates/main Sources [47.2kB]
  320. 発見 http://security.debian.org lenny/updates/non-free Sources
  321. 583kB を 3s 秒でダウンロードしました (156kB/s)
  322. パッケージリストを読み込んでいます... 完了
  323. W: GPG error: http://www.backports.org lenny-backports Release: 公開鍵を利用できないため、以下の署名は検証できませんでした: NO_PUBKEY EA8E8B2116BA136C
  324. W: これらの問題を解決するためには apt-get update を実行する必要があるかもしれません&lt;/pre&gt;&lt;p&gt;公開鍵をインストールしてから再度updateします。&lt;/p&gt;
  325. &lt;pre class=&quot;code&quot; data-lang=&quot;&quot; data-unlink&gt;$ sudo aptitude install debian-backports-keyring
  326. $ sudo aptitude update&lt;/pre&gt;
  327. &lt;/div&gt;
  328. &lt;div class=&quot;section&quot;&gt;
  329.    &lt;h4&gt;設定ミスしていないか念のため確認&lt;/h4&gt;
  330.    &lt;p&gt;設定を誤るとupgradeでtestingやsid環境へ移行してしまうかもしれません。upgrade を -s オプションを付けて確認します。&lt;/p&gt;
  331. &lt;pre class=&quot;code&quot; data-lang=&quot;&quot; data-unlink&gt;$ sudo aptitude -s safe-upgrade&lt;/pre&gt;
  332. &lt;/div&gt;
  333. &lt;div class=&quot;section&quot;&gt;
  334.    &lt;h4&gt;インストールのミス防止の為に。&lt;/h4&gt;
  335.    &lt;p&gt;1.情報を最新にしておく。&lt;/p&gt;
  336. &lt;pre class=&quot;code&quot; data-lang=&quot;&quot; data-unlink&gt;aptitude update&lt;/pre&gt;&lt;p&gt;2.インストールしたいパッケージの使用可能なバージョン等を確認する。&lt;/p&gt;
  337. &lt;pre class=&quot;code&quot; data-lang=&quot;&quot; data-unlink&gt;apt-cache policy パッケージ名&lt;/pre&gt;&lt;p&gt;3.明示的に&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%A5%A2%A1%BC%A5%AB%A5%A4%A5%D6&quot;&gt;アーカイブ&lt;/a&gt;名(stable,lenny-backports,testing,unstableなど)も指定する。&lt;br /&gt;
  338. (さらに慎重にするなら -s オプションでテストしておく)&lt;/p&gt;
  339. &lt;pre class=&quot;code&quot; data-lang=&quot;&quot; data-unlink&gt;aptitude install パッケージ名/アーカイブ名&lt;/pre&gt;&lt;p&gt;例えば、libapache2-&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/svn&quot;&gt;svn&lt;/a&gt; をインストールしたいとき。まず apt-cache policy で使用可能なバージョンを調べる。&lt;/p&gt;
  340. &lt;pre class=&quot;code&quot; data-lang=&quot;&quot; data-unlink&gt;$ apt-cache policy libapache2-svn
  341. libapache2-svn:
  342.  インストールされているバージョン: (なし)
  343.  候補: 1.5.1dfsg1-4
  344.  バージョンテーブル:
  345.     1.6.4dfsg-1 0
  346.         90 http://ftp.jp.debian.org unstable/main Packages
  347.     1.6.3dfsg-1 0
  348.        100 http://ftp.jp.debian.org testing/main Packages
  349.     1.5.1dfsg1-4 0
  350.        500 http://security.debian.org lenny/updates/main Packages
  351.     1.5.1dfsg1-2 0
  352.        500 http://ftp.jp.debian.org lenny/main Packages&lt;/pre&gt;&lt;p&gt;以上より、&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%A5%A2%A1%BC%A5%AB%A5%A4%A5%D6&quot;&gt;アーカイブ&lt;/a&gt;名を指定すれば希望のバージョンをインストールできる。&lt;/p&gt;
  353. &lt;pre class=&quot;code&quot; data-lang=&quot;&quot; data-unlink&gt;aptitude install libapache2-svn/unstable  -- 1.6.4dfsg-1 をインストール
  354. aptitude install libapache2-svn/testing   -- 1.6.3dfsg-1 をインストール
  355. aptitude install libapache2-svn/stable    -- 1.5.1dfsg1-4 をインストール&lt;/pre&gt;
  356. &lt;/div&gt;
  357. &lt;div class=&quot;section&quot;&gt;
  358.    &lt;h4&gt;アップグレードのミス防止の為に。&lt;/h4&gt;
  359.    &lt;p&gt;1.情報を最新にしておく。&lt;/p&gt;
  360. &lt;pre class=&quot;code&quot; data-lang=&quot;&quot; data-unlink&gt;aptitude update&lt;/pre&gt;&lt;p&gt;2.アップグレードされるパッケージを確認&lt;/p&gt;
  361. &lt;pre class=&quot;code&quot; data-lang=&quot;&quot; data-unlink&gt;apt-show-versions -u&lt;/pre&gt;&lt;p&gt;例&lt;/p&gt;
  362. &lt;pre class=&quot;code&quot; data-lang=&quot;&quot; data-unlink&gt;$ apt-show-versions -u
  363. libmagick++10/lenny upgradeable from 7:6.3.7.9.dfsg2-1~lenny1 to 7:6.3.7.9.dfsg2-1~lenny3
  364. libmagick10/lenny upgradeable from 7:6.3.7.9.dfsg2-1~lenny1 to 7:6.3.7.9.dfsg2-1~lenny3
  365. libruby1.8/lenny upgradeable from 1.8.7.72-3 to 1.8.7.72-3lenny1
  366. libxml2/lenny upgradeable from 2.6.32.dfsg-5 to 2.6.32.dfsg-5+lenny1
  367. libxml2-utils/lenny upgradeable from 2.6.32.dfsg-5 to 2.6.32.dfsg-5+lenny1
  368. python-libxml2/lenny upgradeable from 2.6.32.dfsg-5 to 2.6.32.dfsg-5+lenny1&lt;/pre&gt;&lt;p&gt;3.アップグレード&lt;/p&gt;
  369. &lt;pre class=&quot;code&quot; data-lang=&quot;&quot; data-unlink&gt;aptitude safe-upgrade
  370. aptitude full-upgrade -- 不要パッケージの削除も行う。&lt;/pre&gt;
  371. &lt;/div&gt;
  372. &lt;div class=&quot;section&quot;&gt;
  373.    &lt;h4&gt;参考&lt;/h4&gt;
  374.    
  375. &lt;ul&gt;
  376. &lt;li&gt;&lt;a href=&quot;http://backports.org/dokuwiki/doku.php?id=instructions&quot;&gt;instructions - Debian Backports&lt;/a&gt;&lt;/li&gt;
  377. &lt;li&gt;&lt;a href=&quot;http://www.debian.org/doc/manuals/debian-reference/ch02.ja.html&quot;&gt;&amp;#x7B2C;2&amp;#x7AE0; Debian&amp;#x30D1;&amp;#x30C3;&amp;#x30B1;&amp;#x30FC;&amp;#x30B8;&amp;#x7BA1;&amp;#x7406;&lt;/a&gt;&lt;/li&gt;
  378. &lt;li&gt;&lt;a href=&quot;http://debian.fam.cx/index.php?AptGet#f2d52afb&quot;&gt;testing &amp;#x3084; unstable &amp;#x306E;&amp;#x30D1;&amp;#x30C3;&amp;#x30B1;&amp;#x30FC;&amp;#x30B8;&amp;#x3092;&amp;#x501F;&amp;#x308A;&amp;#x305F;&amp;#x3044; - D: AptGet - Debian GNU/Linux &amp;#x30B9;&amp;#x30EC;&amp;#x30C3;&amp;#x30C9;&amp;#x30C6;&amp;#x30F3;&amp;#x30D7;&amp;#x30EC;&lt;/a&gt;&lt;/li&gt;
  379. &lt;/ul&gt;
  380. &lt;/div&gt;</content>        
  381.        <category term="debian" label="debian" />
  382.        
  383.        <category term="lenny" label="lenny" />
  384.        
  385.        <link rel="enclosure" href="https://cdn.blog.st-hatena.com/images/theme/og-image-1500.png" type="image/png" length="0" />
  386.  
  387.        <author>
  388.            <name>gounx2</name>
  389.        </author>
  390.    </entry>
  391.    
  392.  
  393.    
  394.    
  395.    <entry>
  396.        <title> eclipse3.5+PDT2.1 環境で、新規PHPプロジェクトが作れない。</title>
  397.        <link href="https://gounx2.hatenadiary.org/entry/20090813/1250175473"/>
  398.        <id>hatenablog://entry/17680117127136073197</id>
  399.        <published>2009-08-13T23:57:53+09:00</published>
  400.        <updated>2019-05-17T03:30:17+09:00</updated>        <summary type="html">「ファイル→新規→PHPプロジェクト」から作成すると、次のエラーになった。 要素の作成に失敗しました。 Reason: プロジェクト sample001 のビルド・パスには重複エントリー &#39;usr/local/eclipse/ecl3.5pdt2.1/plugins/org.eclipse.php.core_2.1.0.v20090617-2341/Resources/language/php5/&#39; が含まれていますで、「ライブラリー」から「PHP言語ライブラリー」を削除することで回避できました。情報は以下から。thxTakeWeblog: Eclipse3.5(Galileo) PDTで、新…</summary>
  401.        <content type="html">&lt;p&gt;「ファイル→新規→&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/PHP&quot;&gt;PHP&lt;/a&gt;プロジェクト」から作成すると、次のエラーになった。&lt;/p&gt;
  402. &lt;pre class=&quot;code&quot; data-lang=&quot;&quot; data-unlink&gt;要素の作成に失敗しました。
  403. Reason:
  404. プロジェクト sample001 のビルド・パスには重複エントリー
  405. &amp;#39;usr/local/eclipse/ecl3.5pdt2.1/plugins/org.eclipse.php.core_2.1.0.v20090617-2341/Resources/language/php5/&amp;#39;
  406. が含まれています&lt;/pre&gt;&lt;p&gt;で、「ライブラリー」から「&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/PHP&quot;&gt;PHP&lt;/a&gt;言語ライブラリー」を削除することで回避できました。&lt;/p&gt;&lt;p&gt;情報は以下から。thx&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://takeweblog.blogspot.com/2009/07/eclipse35galileo-pdtphp.html&quot;&gt;TakeWeblog: Eclipse3.5(Galileo) PDT&amp;#x3067;&amp;#x3001;&amp;#x65B0;&amp;#x898F;PHP&amp;#x30D7;&amp;#x30ED;&amp;#x30B8;&amp;#x30A7;&amp;#x30AF;&amp;#x30C8;&amp;#x4F5C;&amp;#x6210;&amp;#x304C;&amp;#x3067;&amp;#x304D;&amp;#x306A;&amp;#x3044;&amp;#x5834;&amp;#x5408;&lt;/a&gt;&lt;/p&gt;
  407. </content>        
  408.        <category term="php" label="php" />
  409.        
  410.        <link rel="enclosure" href="https://cdn.blog.st-hatena.com/images/theme/og-image-1500.png" type="image/png" length="0" />
  411.  
  412.        <author>
  413.            <name>gounx2</name>
  414.        </author>
  415.    </entry>
  416.    
  417.  
  418.    
  419.    
  420.    <entry>
  421.        <title> debian上にPHPのeclipse環境(PDT)を構築してみます。</title>
  422.        <link href="https://gounx2.hatenadiary.org/entry/20090812/1250085132"/>
  423.        <id>hatenablog://entry/17680117127136073293</id>
  424.        <published>2009-08-12T22:52:12+09:00</published>
  425.        <updated>2019-05-17T03:30:17+09:00</updated>        <summary type="html">lennyのmainコンポーネントで提供されているパッケージを使った場合、javaはgcj、eclipseは3.2 しかインストールできないようです。 そこで、sun-java6+eclipse3.5+PDT2.1+pleiades1.3.0 をインストールしてみます。 sun-java6 インストール /etc/apt/sources.list に non-free コンポーネントが含まれることを確認 deb http://ftp.jp.debian.org/debian/ lenny main non-free deb-src http://ftp.jp.debian.org/debian…</summary>
  426.        <content type="html">&lt;p&gt;lennyのmain&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%A5%B3%A5%F3%A5%DD%A1%BC%A5%CD%A5%F3%A5%C8&quot;&gt;コンポーネント&lt;/a&gt;で提供されているパッケージを使った場合、&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/java&quot;&gt;java&lt;/a&gt;は&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/gcj&quot;&gt;gcj&lt;/a&gt;、&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/eclipse&quot;&gt;eclipse&lt;/a&gt;は3.2 しかインストールできないようです。&lt;br /&gt;
  427. そこで、sun-java6+eclipse3.5+PDT2.1+pleiades1.3.0 をインストールしてみます。&lt;/p&gt;&lt;p&gt;&lt;span itemscope itemtype=&quot;http://schema.org/Photograph&quot;&gt;&lt;a href=&quot;http://f.hatena.ne.jp/gounx2/20090812225020&quot; class=&quot;hatena-fotolife&quot; itemprop=&quot;url&quot;&gt;&lt;img src=&quot;https://cdn-ak.f.st-hatena.com/images/fotolife/g/gounx2/20090812/20090812225020.png&quot; alt=&quot;f:id:gounx2:20090812225020p:image&quot; title=&quot;f:id:gounx2:20090812225020p:image&quot; class=&quot;hatena-fotolife&quot; itemprop=&quot;image&quot;&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
  428. &lt;/p&gt;
  429.  
  430. &lt;div class=&quot;section&quot;&gt;
  431.    &lt;h4&gt;sun-java6 インストール&lt;/h4&gt;
  432.    &lt;p&gt;/etc/apt/sources.list に non-free &lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%A5%B3%A5%F3%A5%DD%A1%BC%A5%CD%A5%F3%A5%C8&quot;&gt;コンポーネント&lt;/a&gt;が含まれることを確認&lt;/p&gt;
  433. &lt;pre class=&quot;code&quot; data-lang=&quot;&quot; data-unlink&gt;deb http://ftp.jp.debian.org/debian/ lenny main non-free
  434. deb-src http://ftp.jp.debian.org/debian/ lenny main non-free
  435.  
  436. deb http://security.debian.org/ lenny/updates main non-free
  437. deb-src http://security.debian.org/ lenny/updates main non-free&lt;/pre&gt;&lt;p&gt;パッケージをインストール&lt;/p&gt;
  438. &lt;pre class=&quot;code&quot; data-lang=&quot;&quot; data-unlink&gt;$ sudo aptitude update
  439. $ sudo aptitude install sun-java6-jre&lt;/pre&gt;&lt;p&gt;sun-java6 をデフォルトの&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/java&quot;&gt;java&lt;/a&gt;とする。&lt;/p&gt;
  440. &lt;pre class=&quot;code&quot; data-lang=&quot;&quot; data-unlink&gt;$ sudo update-java-alternatives -s java-6-sun&lt;/pre&gt;&lt;p&gt;sun-java6が有効になったか確認&lt;/p&gt;
  441. &lt;pre class=&quot;code&quot; data-lang=&quot;&quot; data-unlink&gt;$ java -version
  442. java version &amp;#34;1.6.0_12&amp;#34;
  443. Java(TM) SE Runtime Environment (build 1.6.0_12-b04)
  444. Java HotSpot(TM) Client VM (build 11.2-b01, mixed mode, sharing)&lt;/pre&gt;
  445. &lt;/div&gt;
  446. &lt;div class=&quot;section&quot;&gt;
  447.    &lt;h4&gt;eclipse3.5+PDT2.1+pleiades1.3.0 インストール&lt;/h4&gt;
  448.    &lt;p&gt;PDT公式サイトより、eclipse3.5+PDT2.1 の オールインワンパッケージ &lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/eclipse&quot;&gt;eclipse&lt;/a&gt;-&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/php&quot;&gt;php&lt;/a&gt;-&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/galileo&quot;&gt;galileo&lt;/a&gt;-&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/linux&quot;&gt;linux&lt;/a&gt;-&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/gtk&quot;&gt;gtk&lt;/a&gt;.tar.gz をダウンロードします。&lt;br /&gt;
  449. &lt;a href=&quot;http://www.eclipse.org/pdt/downloads/&quot;&gt;PHP Development Tools (PDT) - Downloads&lt;/a&gt;&lt;/p&gt;
  450. &lt;pre class=&quot;code&quot; data-lang=&quot;&quot; data-unlink&gt; PDT 2.1 All In Ones / Eclipse PHP Package
  451. These downloads include PDT 2.1, Eclipse 3.5, Mylyn and all other required plugins.
  452. :
  453.   *All-In-One Linux x86/GTK 2 32-bit 139M&lt;/pre&gt;&lt;p&gt;次に、&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/pleiades&quot;&gt;pleiades&lt;/a&gt;公式サイトより、&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/pleiades&quot;&gt;pleiades&lt;/a&gt;_1.3.0.zip をダウンロードします。(日本語化不要なら、&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/pleiades&quot;&gt;pleiades&lt;/a&gt;のインストールは不要です)&lt;br /&gt;
  454. &lt;a href=&quot;http://mergedoc.sourceforge.jp/pleiades.html&quot;&gt;Pleiades - Eclipse &amp;#x30D7;&amp;#x30E9;&amp;#x30B0;&amp;#x30A4;&amp;#x30F3;&amp;#x65E5;&amp;#x672C;&amp;#x8A9E;&amp;#x5316;&amp;#x30D7;&amp;#x30E9;&amp;#x30B0;&amp;#x30A4;&amp;#x30F3;&lt;/a&gt;&lt;/p&gt;
  455. &lt;pre class=&quot;code&quot; data-lang=&quot;&quot; data-unlink&gt; Pleiades 本体ダウンロード
  456.  既にインストール済みの Eclipse に適用したい場合や、Windows 以外で使用する場合は
  457.  下記の Pleiades 本体のみをダウンロードしてください。Pleiades のソースを Eclipse
  458.  プロジェクトとしてチェックアウトする場合は こちら を参照してください。
  459.  
  460.   *安定版  1.3.0&lt;/pre&gt;&lt;p&gt;/usr/local/&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/eclipse&quot;&gt;eclipse&lt;/a&gt; 以下にを置く。&lt;/p&gt;
  461.  
  462. &lt;ul&gt;
  463. &lt;li&gt;&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/eclipse&quot;&gt;eclipse&lt;/a&gt;-&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/php&quot;&gt;php&lt;/a&gt;-&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/galileo&quot;&gt;galileo&lt;/a&gt;-&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/linux&quot;&gt;linux&lt;/a&gt;-&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/gtk&quot;&gt;gtk&lt;/a&gt;.tar.gz&lt;/li&gt;
  464. &lt;li&gt;&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/pleiades&quot;&gt;pleiades&lt;/a&gt;_1.3.0.zip&lt;/li&gt;
  465. &lt;/ul&gt;&lt;p&gt;&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/eclipse&quot;&gt;eclipse&lt;/a&gt;+pdtを解凍&lt;/p&gt;
  466. &lt;pre class=&quot;code&quot; data-lang=&quot;&quot; data-unlink&gt;/usr/local/eclipse$ sudo tar zxvf eclipse-php-galileo-linux-gtk.tar.gz &lt;/pre&gt;&lt;p&gt;&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/pleiades&quot;&gt;pleiades&lt;/a&gt;を重ねて解凍&lt;/p&gt;
  467. &lt;pre class=&quot;code&quot; data-lang=&quot;&quot; data-unlink&gt;/usr/local/eclipse$ sudo sh -c &amp;#34;cd eclipse; unzip ../pleiades_1.3.0.zip&amp;#34;&lt;/pre&gt;&lt;p&gt;オーナーを変更&lt;/p&gt;
  468. &lt;pre class=&quot;code&quot; data-lang=&quot;&quot; data-unlink&gt;/usr/local/eclipse$ sudo chown -R root:staff eclipse&lt;/pre&gt;&lt;p&gt;フォルダ名を変更&lt;/p&gt;
  469. &lt;pre class=&quot;code&quot; data-lang=&quot;&quot; data-unlink&gt;/usr/local/eclipse$ sudo mv eclipse ecl3.5pdt2.1&lt;/pre&gt;&lt;p&gt;&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/eclipse&quot;&gt;eclipse&lt;/a&gt;.ini の最後に以下を追加&lt;/p&gt;
  470. &lt;pre class=&quot;code&quot; data-lang=&quot;&quot; data-unlink&gt;/usr/local/eclipse$ sudo vi ecl3.5pdt2.1/eclipse.ini
  471. --pleiades
  472. -javaagent:plugins/jp.sourceforge.mergedoc.pleiades/pleiades.jar&lt;/pre&gt;&lt;p&gt;起動&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%A5%B9%A5%AF%A5%EA%A5%D7%A5%C8&quot;&gt;スクリプト&lt;/a&gt; &lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/eclipse&quot;&gt;eclipse&lt;/a&gt;-pdt を作る。&lt;/p&gt;
  473. &lt;pre class=&quot;code&quot; data-lang=&quot;&quot; data-unlink&gt;/usr/local/eclipse$ sudo sh -c &amp;#34;cat &amp;gt; /usr/local/bin/eclipse-pdt&amp;#34;
  474. #!/bin/bash
  475. #
  476. # eclipse 起動
  477. #
  478.  
  479. HOME_ECLIPSE=/usr/local/eclipse/ecl3.5pdt2.1
  480.  
  481. cd $HOME_ECLIPSE
  482. ./eclipse &amp;#34;$@&amp;#34;&lt;/pre&gt;&lt;p&gt;実行権を付与&lt;/p&gt;
  483. &lt;pre class=&quot;code&quot; data-lang=&quot;&quot; data-unlink&gt;/usr/local/eclipse$ sudo chmod a+x /usr/local/bin/eclipse-pdt &lt;/pre&gt;&lt;p&gt;起動する。&lt;/p&gt;
  484. &lt;pre class=&quot;code&quot; data-lang=&quot;&quot; data-unlink&gt;$ eclipse-pdt &amp;amp;&lt;/pre&gt;
  485. &lt;/div&gt;</content>        
  486.        <category term="debian" label="debian" />
  487.        
  488.        <category term="lenny" label="lenny" />
  489.        
  490.        <category term="php" label="php" />
  491.        
  492.        <link rel="enclosure" href="https://cdn-ak.f.st-hatena.com/images/fotolife/g/gounx2/20090812/20090812225020.png" type="image/png" length="0" />
  493.  
  494.        <author>
  495.            <name>gounx2</name>
  496.        </author>
  497.    </entry>
  498.    
  499.  
  500.    
  501.    
  502.    <entry>
  503.        <title>壊れたlzhファイルを復旧する。</title>
  504.        <link href="https://gounx2.hatenadiary.org/entry/20090526/1243335207"/>
  505.        <id>hatenablog://entry/17680117127136073415</id>
  506.        <published>2009-05-26T19:53:27+09:00</published>
  507.        <updated>2019-05-17T03:30:19+09:00</updated>        <summary type="html">途中までしか解凍できない1Gを超えるlzhファイルの復旧を試みた記録。 ファイル数が多く大変だったのでツールを作り、全てではないが復旧できた。 ============================= lzhrecover v0.1 20090526 ============================= これは何? ----------- 解凍できないlhaファイルから、出来る限りのファイルを救出する 作業を補助するツールです。 といっても、解凍できない理由はいろいろあるでしょうから、 とても限定的なツールです。あまり期待はできません。 +Lhaca もしくは Lhaplus で作られ…</summary>
  508.        <content type="html">&lt;p&gt;途中までしか解凍できない1Gを超える&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/lzh&quot;&gt;lzh&lt;/a&gt;ファイルの復旧を試みた記録。&lt;br /&gt;
  509. ファイル数が多く大変だったのでツールを作り、全てではないが復旧できた。&lt;/p&gt;
  510. &lt;pre class=&quot;code&quot; data-lang=&quot;&quot; data-unlink&gt;=============================
  511. lzhrecover v0.1  20090526
  512. =============================
  513.  
  514.  
  515. これは何?
  516. -----------
  517.  
  518.  解凍できないlhaファイルから、出来る限りのファイルを救出する
  519.  作業を補助するツールです。
  520.  
  521.  といっても、解凍できない理由はいろいろあるでしょうから、
  522.  とても限定的なツールです。あまり期待はできません。
  523.  
  524.  +Lhaca もしくは Lhaplus で作られた、途中までしか解凍できない
  525.  lzhファイルをある程度復元することができます。
  526.  (詳細は以下「後日談」参照)
  527.  
  528.  
  529. 作った背景
  530. ----------
  531.  
  532.  とある1G以上ある巨大lhaファイルを解凍していたところ、
  533.  半分ぐらいのところでエラー発生してしまい、
  534.  さまざまな解凍ツールを試してみるもやはりエラーになった。
  535.  「解凍できないファイルを少しでも救出できないか?」
  536.  ネット上でツール探すも見つからず。幸いバイナリエディタで対応
  537.  する方法を見つけるが、あまりに巨大なlhaファイルである為、
  538.  思うようにゆかず、作ったツールです。
  539.  自分のケースに使うだけの捨てツールっぽいものなので、
  540.  わりと手抜きです。他のケースで役に立つかは謎です。
  541.  
  542.  
  543. lhaのファイルのファイル構造
  544. ----------------------------
  545.  
  546.  ものすごく簡略化すると
  547.  +----------------------------+ ----
  548.  |ファイル1(ヘッダ+データ)   |   1レコード
  549.  +----------------------------+ ----
  550.  |ファイル2(ヘッダ+データ)   |
  551.  +----------------------------+
  552.  |                            |
  553.  :                            :
  554.  |                            |
  555.  +----------------------------+
  556.  |ファイルn(ヘッダ+データ)   |
  557.  +----------------------------+
  558.  |0x00(エンドマーク) |
  559.  +-------------------+
  560.  となっています。
  561.  このファイル構造で重要なのは、レコード間で相関関係がまったくないので、
  562.  単純に、壊れているレコードを特定し、これを削除してしまえば、正常な
  563.  lhaファイルになる(可能性がある)ということです。
  564.  
  565.  
  566. 壊れているレコードをどのように特定すればよいのか?
  567. ---------------------------------------------------
  568.  
  569.  lzhrecover(本ツール)では、次の2つのアプローチが行えます。
  570.  
  571.  A) UNLHA32.DLLで読み込み
  572.     最も有名なlhaの圧縮/解凍ライブラリです。
  573.     本ツールでは、このライブラリを使ってlzhファイル中の
  574.     ファイルを読みます。
  575.     エラー検出は厳密ですが一度エラーになると、それ以降の
  576.     レコードは解析できません。(オプションで破損ヘッダ読み
  577.     飛ばしは可能ですが)
  578.  
  579.  B) 独自解析
  580.     本ツール独自で本当に最低限の解析を行うツールで、
  581.     UNLHA32.DLLと比べるとお粗末もいいところです。
  582.     ただし、エラー発生しても次レコードを予測して
  583.     無理やり最後まで解析を継続します。
  584.     予測といっても、ヘッダ中の圧縮方式 &amp;#34;-lhX-&amp;#34; をさがし
  585.     ているだけです。
  586.  
  587.  
  588. 動作に必要なもの
  589. -----------------
  590.  
  591.  .NET Framework 2.0
  592.  
  593.  [UNLHA32.DLLで読み込み] を使う場合、以下も必要です。
  594.  
  595.  CaldBase.dll, CaldBase.ini (CaldBase.dll Ver.0.10 に含まれます)
  596.    WrapperDLL - CaldBase.NET Website
  597.    http://caldbase.sourceforge.jp/old_wiki/index.php?WrapperDLL
  598.  
  599.  UNLHA32.DLL (ulh3265d.exe に含まれます)
  600.    Common Archivers Library: UNLHA32.DLL
  601.    http://www.csdinc.co.jp/archiver/lib/unlha32.html
  602.  
  603.  
  604. 使い方
  605. -------
  606.  
  607.  1.[lzh選択]で、壊れたlzhファイルを選択(drag&amp;amp;dropでも可)
  608.  2.[UNLHA32.DLLで読み込み]で、エラー発生するか確認
  609.    一覧に表示されたレコードは、正常と思われる。
  610.    (この操作は、本ツールの必須操作ではありませんが、
  611.    非力な独自解析を補助する情報が得られます)
  612.  3.[独自解析]で、エラー発生するか確認
  613.    エラー発生しても最後まで処理継続させる。
  614.    このときあきらかにエラーのレコードについては、
  615.    チェックOFFになる。
  616.  4.必要であれば、エラーと思われるレコードをチェックOFFする。
  617.  5.[lzh出力]で、新たなlzhを出力する。
  618.  6.出力したlzhを使って、1から繰り返す。
  619.    エラーが無くなれば、おそらく解凍できるはず。
  620.    解凍できないようなら、正常に解凍できたファイルの次の
  621.    ファイルがエラーレコードなので、これを除外して新たなlzhを作る。
  622.    これの繰り返し。
  623.  
  624. 解凍するツールはLHMeltがお勧め
  625. --------------------------------
  626.  
  627.  LHMelt のダウンロード
  628.  http://www2.nsknet.or.jp/~micco/mysoft/lhmelt.htm
  629.  -----------------------------------------------------------------------
  630.  初心者の方や書庫関係に明るくない方は, 解らない設定は弄らないほうがいいです。
  631.  少なくとも『オプション設定』ダイアログから呼び出せる各 DLL の設定ダイアログ
  632.  の項目は弄ってはダメです。 LHMelt どころか, 他のアプリまで正常に動作しなく
  633.  なります。
  634.  -----------------------------------------------------------------------
  635.  とあるので注意は必要ですが、UNLHA32.DLL の作者さん作成のツールなので
  636.  信頼できると思います。
  637.  機能的にも、書庫テストできる・破損ヘッダ読み飛ばしできる・ログが一覧で見られる
  638.  と充実しているので、今回のように壊れたlzhファイルを見るのには最適でした。
  639.  
  640.  他のツールもいくつか試してみたのですが、特殊事情(巨大なlzhファイルで、かつ
  641.  ヘッダ周りがあやしいレコードが含まれている)があっても素直に動いてくれたのは
  642.  LHMeltだけでした。
  643.  
  644.  1.[編集→書庫のテスト]で書庫テスト
  645.  2.[編集→展開]で解凍
  646.  
  647.  「ヘッダ CRC が存在しません」が発生したとき。
  648.    警告であって解凍はできるので無視しても構いません。
  649.  
  650.  「格納ファイルのハフマンコードが壊れています」が発生したとき。
  651.    [モード→破損ヘッダを読み飛ばす]をチェックONしていれば
  652.    そのファイルをスキップして処理(解凍/書庫テスト)を継続してくれます。
  653.  
  654. 後日談
  655. -------
  656.  
  657.  復元できなかったファイル名を見ていて気が付いたのですが、
  658.  エラーになっているlzhファイルは、+Lhaca もしくは Lhaplus で作られた
  659.  可能性がありました。(以下以外にもCRCエラーが大量に出ましたし)
  660.  
  661.    『+Lhaca 1.24』について
  662.    http://www2.nsknet.or.jp/~micco/notes/soft/Lhaca124.htm
  663.    -----------------------------------------------------------------------
  664.    +Lhaca が作成する書庫については以下の制限が存在します:
  665.    * 作成される書庫は h1 形式ヘッダーです。
  666.    * 基本は上記のとおりなのですが, 基本ヘッダーのファイル名項目 (のみ) で
  667.      表現可能な 255 バイトまで作成を行ってしまうため,自身を含めて取り扱い
  668.      不可能な書庫が作成されてしまいます。 ヘッダー読み込み時のリカバリーは
  669.      行われませんので,当該箇所以降の全てのメンバーは無視されます。
  670.    -----------------------------------------------------------------------
  671.  
  672.    『Lhaplus 1.56』について
  673.    http://www2.nsknet.or.jp/~micco/notes/soft/Lhaplus156.htm
  674.    にも同様の指摘があります。
  675.  
  676.  これが原因で読めないlzhファイルについては、本ツールで
  677.  独自解析→lzh出力 とすれば一部「格納ファイルのハフマン
  678.  コードが壊れています」が発生しますが、それ以外は復元できます。
  679.  
  680.  
  681. 備考
  682. -----
  683.  
  684. ・本ツール自身は圧縮/解凍機能を持ちません。
  685. ・元のlzhファイルはReadオンリーで開いているので、このツールがバグを
  686.  もっていたとしても、オリジナルのlzhファイルには影響ないはずです。
  687. ・唯一Writeしているのは、[lzh出力]ボタンの処理だけです。
  688. ・処理速度とかまったくチューニングしてません。
  689. ・内部32bitで処理しているので、lzhファイル4Gまでなら扱えるはず。
  690. ・ヘッダレベルは1,2のみ対応しています。
  691.  
  692. 参考にしたもの
  693. ---------------
  694.  
  695.  LHAの書庫構造
  696.  http://www2m.biglobe.ne.jp/~dolphin/lha/lha-header.htm
  697.  
  698.  開けなくなったLZHの解凍 : データ復旧のオントラック
  699.  http://knowledge.ontrack-japan.com/ontrack_now/20040515_mamechisiki.html
  700.  
  701.  Common Archivers Library: UNLHA32.DLL
  702.  の ulh3265d.exe の API.TXT
  703.  http://www.csdinc.co.jp/archiver/lib/unlha32.html
  704.  
  705.  
  706. 動作・サポートについて
  707. -----------------
  708.  動作保障・サポート保障はありません。
  709.  いかなる責任も負いません。
  710.  
  711. gounx2 at gmail.com&lt;/pre&gt;&lt;p&gt;ダウンロードは以下。&lt;br /&gt;
  712. &lt;a href=&quot;http://goungoun.dip.jp/app/fswiki/wiki.cgi/devnotebook?page=lzhrecover%2Eexe&quot;&gt;lzhrecover.exe - goungoun&amp;#x6280;&amp;#x8853;&amp;#x7CFB;&amp;#x96D1;&amp;#x8A18;&amp;#x5E33;&lt;/a&gt;&lt;/p&gt;
  713. </content>        
  714.        <link rel="enclosure" href="https://cdn.blog.st-hatena.com/images/theme/og-image-1500.png" type="image/png" length="0" />
  715.  
  716.        <author>
  717.            <name>gounx2</name>
  718.        </author>
  719.    </entry>
  720.    
  721.  
  722.    
  723.    
  724.    <entry>
  725.        <title> WindowsでPHP環境を超簡単に構築</title>
  726.        <link href="https://gounx2.hatenadiary.org/entry/20090505"/>
  727.        <id>hatenablog://entry/17680117127136073556</id>
  728.        <published>2009-05-05T00:00:00+09:00</published>
  729.        <updated>2019-05-17T03:30:20+09:00</updated>        <summary type="html">1年ぶりにPHP環境を構築してみることに。何とXAMPPも入っていたので以前にもまして簡単にインストールできました。使用させてもらったのは↓で配布されているもの。Eclipse 3.4.2 Ganymede SR2 ベース / Pleiades All in One 3.4.2.20090316解凍&バッチファイル1つ実行するだけで、以下が使えるようになります。 Eclipse3.4.2 PDT2.0.0 XAMPP1.7.0 PHP5.2.8 こんなに簡単でいいのかしら。PHP、Eclipse PDT (PHP Development Tool) - goungoun技術系雑記帳</summary>
  730.        <content type="html">&lt;p&gt;1年ぶりに&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/PHP&quot;&gt;PHP&lt;/a&gt;環境を構築してみることに。何とXAMPPも入っていたので以前にもまして簡単にインストールできました。使用させてもらったのは↓で配布されているもの。&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://mergedoc.sourceforge.jp/index.html#/pleiades_distros3.4.html&quot;&gt;Eclipse 3.4.2 Ganymede SR2 &amp;#x30D9;&amp;#x30FC;&amp;#x30B9; / Pleiades All in One 3.4.2.20090316&lt;/a&gt;&lt;/p&gt;&lt;p&gt;解凍&バッチファイル1つ実行するだけで、以下が使えるようになります。&lt;/p&gt;
  731.  
  732. &lt;ul&gt;
  733. &lt;li&gt;Eclipse3.4.2
  734. &lt;ul&gt;
  735. &lt;li&gt;PDT2.0.0&lt;/li&gt;
  736. &lt;/ul&gt;&lt;/li&gt;
  737. &lt;li&gt;XAMPP1.7.0
  738. &lt;ul&gt;
  739. &lt;li&gt;PHP5.2.8&lt;/li&gt;
  740. &lt;/ul&gt;&lt;/li&gt;
  741. &lt;/ul&gt;&lt;p&gt;こんなに簡単でいいのかしら。&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://goungoun.dip.jp/app/fswiki/wiki.cgi/devnotebook?page=PHP%A1%A2Eclipse+PDT+%28PHP+Development+Tool%29#p17&quot;&gt;PHP&amp;#x3001;Eclipse PDT (PHP Development Tool) - goungoun&amp;#x6280;&amp;#x8853;&amp;#x7CFB;&amp;#x96D1;&amp;#x8A18;&amp;#x5E33;&lt;/a&gt;&lt;/p&gt;
  742. </content>        
  743.        <category term="PHP" label="PHP" />
  744.        
  745.        <link rel="enclosure" href="https://cdn.blog.st-hatena.com/images/theme/og-image-1500.png" type="image/png" length="0" />
  746.  
  747.        <author>
  748.            <name>gounx2</name>
  749.        </author>
  750.    </entry>
  751.    
  752.  
  753.    
  754.    
  755.    <entry>
  756.        <title> Sony スゴ録 RDR-HX8、電源投入→「WELCOME」表示のまま固まる</title>
  757.        <link href="https://gounx2.hatenadiary.org/entry/20090429/1241010252"/>
  758.        <id>hatenablog://entry/17680117127136073631</id>
  759.        <published>2009-04-29T22:04:12+09:00</published>
  760.        <updated>2019-05-17T03:30:21+09:00</updated>        <summary type="html">保障期間切れてるのでメーカー修理は選択支として無し。 自己解決までの過程をメモしておく。 (本当はファームウェアのバージョンアップしてもらうのが正攻法らしいが) 予兆・・・ 数日前から、番組表(G-GUIDE)が1,2日分空白になる現象発生 タイトル名が入らないので、電源入れ直したら直るだろうと考えた・・・ 電源ボタン押してOFF→電源コード抜く→ちょっと待って電源コード接続 としたら、「WELCOME」表示のまま固まったorz 保証期限切れだったので、中開けて掃除してみたが直らない。 HDDのモーター音も、振動もない。動作していないようだ。 HDD抜いてPCにつないでみた。つなげた。SMAR…</summary>
  761.        <content type="html">&lt;p&gt;保障期間切れてるのでメーカー修理は選択支として無し。&lt;br /&gt;
  762. 自己解決までの過程をメモしておく。&lt;br /&gt;
  763. (本当は&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%A5%D5%A5%A1%A1%BC%A5%E0%A5%A6%A5%A7%A5%A2&quot;&gt;ファームウェア&lt;/a&gt;のバージョンアップしてもらうのが正攻法らしいが)&lt;/p&gt;&lt;br /&gt;
  764. &lt;p&gt;予兆・・・&lt;br /&gt;
  765. 数日前から、番組表(G-GUIDE)が1,2日分空白になる現象発生&lt;/p&gt;&lt;br /&gt;
  766. &lt;p&gt;タイトル名が入らないので、電源入れ直したら直るだろうと考えた・・・&lt;br /&gt;
  767. 電源ボタン押してOFF→電源コード抜く→ちょっと待って電源コード接続&lt;br /&gt;
  768. としたら、「WELCOME」表示のまま固まったorz&lt;/p&gt;&lt;br /&gt;
  769. &lt;p&gt;保証期限切れだったので、中開けて掃除してみたが直らない。&lt;br /&gt;
  770. HDDのモーター音も、振動もない。動作していないようだ。&lt;br /&gt;
  771. HDD抜いてPCにつないでみた。つなげた。SMARTチェックまぁまぁな値。&lt;br /&gt;
  772. HDDは壊れてなさそう?&lt;/p&gt;&lt;br /&gt;
  773. &lt;p&gt;ネットで情報探ってみた。&lt;/p&gt;&lt;br /&gt;
  774. &lt;p&gt;&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/SONY&quot;&gt;SONY&lt;/a&gt; DVDレコーダー &lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%A5%B9%A5%B4%CF%BF&quot;&gt;スゴ録&lt;/a&gt; RDR-HX 6 8 10 ハードディスク修理&lt;br /&gt;
  775. &lt;a href=&quot;http://www1.plala.or.jp/evolution/hx10.html&quot;&gt;http://www1.plala.or.jp/evolution/hx10.html&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%B2%C1%B3%CA.com&quot;&gt;価格.com&lt;/a&gt; - 『か、固まった!』 &lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/SONY&quot;&gt;SONY&lt;/a&gt; &lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%A5%B9%A5%B4%CF%BF&quot;&gt;スゴ録&lt;/a&gt; RDR-HX10 のクチコミ&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%B7%C7%BC%A8&quot;&gt;掲示&lt;/a&gt;板&lt;br /&gt;
  776. &lt;a href=&quot;http://bbs.kakaku.com/bbs/20277010051/SortID=3536515/&quot;&gt;http://bbs.kakaku.com/bbs/20277010051/SortID=3536515/&lt;/a&gt;&lt;/p&gt;&lt;p&gt;レコーダーネタ2日目、&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%A5%B9%A5%B4%CF%BF&quot;&gt;スゴ録&lt;/a&gt;をサクッとふわっと直しつつXD72D経過は良好・ハヤテ第36話なのですよ。 - パソコン改造記の憂鬱 セカンドシーズン - &lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%B3%DA%C5%B7&quot;&gt;楽天&lt;/a&gt;ブログ(Blog)&lt;br /&gt;
  777. &lt;a href=&quot;http://plaza.rakuten.co.jp/nxuser/diary/200712230000/&quot;&gt;http://plaza.rakuten.co.jp/nxuser/diary/200712230000/&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;
  778. &lt;p&gt;工場出荷時の状態に戻すことで自己解決した。&lt;br /&gt;
  779. 手順は次の通り。&lt;/p&gt;&lt;p&gt;1.&lt;br /&gt;
  780. 「録画一時停止」「システムメニュー」「ツール」ボタン押しながら電源コードさす。&lt;br /&gt;
  781. 「WELCOME」表示される。そのままボタン押し続け10秒ぐらいでサービスモード画面が表示される。&lt;/p&gt;&lt;p&gt;2.&lt;br /&gt;
  782. 「&lt;&lt;MAIN MENU&gt;&gt;」の「3) TEST MODE」選択(リモコンの3を押す)&lt;/p&gt;&lt;p&gt;3.&lt;br /&gt;
  783. 「&lt;&lt;TEST MODE MENU&gt;&gt;」の「4) NAND Factory Setup」選択(リモコンの3を押す)&lt;br /&gt;
  784. さらに 決定ボタン を押す。&lt;/p&gt;&lt;p&gt;4.&lt;br /&gt;
  785. 電源切って再投入&lt;/p&gt;&lt;p&gt;録画予約とか、番組表とか、全部リセットされてるが、HDDに録画してたのは残ってた。&lt;br /&gt;
  786. また発生したらメンドクサイな。&lt;br /&gt;
  787. そろそろ購入時期かな。&lt;/p&gt;
  788. </content>        
  789.        <category term="日記" label="日記" />
  790.        
  791.        <link rel="enclosure" href="https://cdn.blog.st-hatena.com/images/theme/og-image-1500.png" type="image/png" length="0" />
  792.  
  793.        <author>
  794.            <name>gounx2</name>
  795.        </author>
  796.    </entry>
  797.    
  798.  
  799.    
  800.    
  801.    <entry>
  802.        <title> リードオンリー インターフェース って言うのか?</title>
  803.        <link href="https://gounx2.hatenadiary.org/entry/20090408/1239151374"/>
  804.        <id>hatenablog://entry/17680117127136073747</id>
  805.        <published>2009-04-08T09:42:54+09:00</published>
  806.        <updated>2019-05-17T03:30:22+09:00</updated>        <summary type="html">データを扱うクラスを作ってたんだけど、コード量や複雑度が増してくると「ここは参照系の処理だから、オブジェクトの変化を伴うようなメソッドをCallすることはあり得ない」というのを何とか機械的に保証したくなってくる。C++ に constメンバ関数 ってのがあって、それでコンパイルエラーを発生させてたんだけど、C# には そんな機能はありません。googleで「constメンバ c#」とか検索してみたものの「C#には無い機能」という情報はヒットするのだが「ではどうすればいいの?」というのが無い。困ってたのだが「あー、こういうときにインターフェース使えばよさげ?」と気が付いた。もう実装しちゃったので…</summary>
  807.        <content type="html">&lt;p&gt;データを扱うクラスを作ってたんだけど、コード量や複雑度が増してくると「ここは参照系の処理だから、オブジェクトの変化を伴うようなメソッドをCallすることはあり得ない」というのを何とか&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%B5%A1%B3%A3%C5%AA&quot;&gt;機械的&lt;/a&gt;に保証したくなってくる。&lt;/p&gt;&lt;p&gt;&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/C%2B%2B&quot;&gt;C++&lt;/a&gt; に const&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%A5%E1%A5%F3%A5%D0%B4%D8%BF%F4&quot;&gt;メンバ関数&lt;/a&gt; ってのがあって、それで&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%A5%B3%A5%F3%A5%D1%A5%A4%A5%EB&quot;&gt;コンパイル&lt;/a&gt;エラーを発生させてたんだけど、&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/C%23&quot;&gt;C#&lt;/a&gt; には そんな機能はありません。&lt;/p&gt;&lt;p&gt;&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/google&quot;&gt;google&lt;/a&gt;で「constメンバ &lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/c%23&quot;&gt;c#&lt;/a&gt;」とか検索してみたものの「&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/C%23&quot;&gt;C#&lt;/a&gt;には無い機能」という情報はヒットするのだが「ではどうすればいいの?」というのが無い。&lt;/p&gt;&lt;p&gt;困ってたのだが「あー、こういうときにインターフェース使えばよさげ?」と気が付いた。&lt;/p&gt;&lt;p&gt;もう実装しちゃったので結果オーライなんだけど。&lt;/p&gt;&lt;p&gt;「こういうこと先人は悩んでいないのか?」と思うわけで「キーワード何で検索するのが正解なのか?」が、ずっと気になってた。&lt;/p&gt;&lt;p&gt;で、今現在何とか&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/IPA&quot;&gt;IPA&lt;/a&gt;の &lt;a href=&quot;http://www.ipa.go.jp/security/awareness/vendor/programming/a03_02_main.html&quot;&gt;3-2. &amp;#x30AB;&amp;#x30D7;&amp;#x30BB;&amp;#x30EB;&amp;#x5316;&amp;#x306E;&amp;#x3059;&amp;#x3059;&amp;#x3081;&lt;/a&gt; にたどり着けたんだけど。&lt;/p&gt;&lt;p&gt;「リードオンリー インターフェース」で検索してもそれほどたくさんヒットしない。&lt;br /&gt;
  808. それほどメジャーな概念ではないのかな?&lt;br /&gt;
  809. もっと一般的な名称があるのかな?&lt;br /&gt;
  810. う〜ん・・・&lt;/p&gt;
  811. </content>        
  812.        <category term="C#" label="C#" />
  813.        
  814.        <link rel="enclosure" href="https://cdn.blog.st-hatena.com/images/theme/og-image-1500.png" type="image/png" length="0" />
  815.  
  816.        <author>
  817.            <name>gounx2</name>
  818.        </author>
  819.    </entry>
  820.    
  821.  
  822.    
  823.    
  824.    <entry>
  825.        <title>そのデータちゃんとファイルに書けてますか?</title>
  826.        <link href="https://gounx2.hatenadiary.org/entry/20090315/1237081949"/>
  827.        <id>hatenablog://entry/17680117127136073836</id>
  828.        <published>2009-03-15T10:52:29+09:00</published>
  829.        <updated>2019-05-17T03:30:23+09:00</updated>        <summary type="html">Ext3のコミット間隔を当てにしたアプリケーションは、Ext4でデータロスの恐れあり - スラッシュドット・ジャパンOSクラッシュしたときにドットファイルが空になるという話。 今までもあった現象だが、コミット間隔がext4で長くなったことにより表面化。「closeしたらHDDに書き込まれる」とか思って無いかい? 完全に保証するには、fsyncとか、renameとか考えること多いよと。</summary>
  830.        <content type="html">&lt;p&gt;&lt;a href=&quot;http://slashdot.jp/hardware/09/03/13/1311252.shtml&quot;&gt;Ext3&amp;#x306E;&amp;#x30B3;&amp;#x30DF;&amp;#x30C3;&amp;#x30C8;&amp;#x9593;&amp;#x9694;&amp;#x3092;&amp;#x5F53;&amp;#x3066;&amp;#x306B;&amp;#x3057;&amp;#x305F;&amp;#x30A2;&amp;#x30D7;&amp;#x30EA;&amp;#x30B1;&amp;#x30FC;&amp;#x30B7;&amp;#x30E7;&amp;#x30F3;&amp;#x306F;&amp;#x3001;Ext4&amp;#x3067;&amp;#x30C7;&amp;#x30FC;&amp;#x30BF;&amp;#x30ED;&amp;#x30B9;&amp;#x306E;&amp;#x6050;&amp;#x308C;&amp;#x3042;&amp;#x308A; - &amp;#x30B9;&amp;#x30E9;&amp;#x30C3;&amp;#x30B7;&amp;#x30E5;&amp;#x30C9;&amp;#x30C3;&amp;#x30C8;&amp;#x30FB;&amp;#x30B8;&amp;#x30E3;&amp;#x30D1;&amp;#x30F3;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;OSクラッシュしたときに&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%A5%C9%A5%C3%A5%C8%A5%D5%A5%A1%A5%A4%A5%EB&quot;&gt;ドットファイル&lt;/a&gt;が空になるという話。&lt;br /&gt;
  831. 今までもあった現象だが、コミット間隔が&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/ext4&quot;&gt;ext4&lt;/a&gt;で長くなったことにより表面化。&lt;/p&gt;&lt;p&gt;「closeしたらHDDに書き込まれる」とか思って無いかい?&lt;br /&gt;
  832. 完全に保証するには、fsyncとか、renameとか考えること多いよと。&lt;/p&gt;
  833. </content>        
  834.        <category term="linux" label="linux" />
  835.        
  836.        <link rel="enclosure" href="https://cdn.blog.st-hatena.com/images/theme/og-image-1500.png" type="image/png" length="0" />
  837.  
  838.        <author>
  839.            <name>gounx2</name>
  840.        </author>
  841.    </entry>
  842.    
  843.  
  844.    
  845.    
  846.    <entry>
  847.        <title>NECのモデム、Atermので2009/11からIP電話使えない?</title>
  848.        <link href="https://gounx2.hatenadiary.org/entry/20090216/1234797176"/>
  849.        <id>hatenablog://entry/17680117127136073918</id>
  850.        <published>2009-02-16T00:12:56+09:00</published>
  851.        <updated>2019-05-17T03:30:24+09:00</updated>        <summary type="html">ついさっき、 NECモデムでIP電話不具合2009/11から通話できなくなる。 ってのがTVニュースに流れてた。いやな予感・・・ IP電話対応機器の不具合について お詫びとお願い やっぱり、我が家のモデム該当してるわorz</summary>
  852.        <content type="html">&lt;p&gt;ついさっき、&lt;br /&gt;
  853. &lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/NEC&quot;&gt;NEC&lt;/a&gt;モデムで&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/IP%C5%C5%CF%C3&quot;&gt;IP電話&lt;/a&gt;不具合2009/11から通話できなくなる。&lt;br /&gt;
  854. ってのがTVニュースに流れてた。&lt;/p&gt;&lt;p&gt;いやな予感・・・&lt;br /&gt;
  855. &lt;a href=&quot;http://www.aterm.jp/web/voip81/eaccess.html&quot;&gt;IP&amp;#x96FB;&amp;#x8A71;&amp;#x5BFE;&amp;#x5FDC;&amp;#x6A5F;&amp;#x5668;&amp;#x306E;&amp;#x4E0D;&amp;#x5177;&amp;#x5408;&amp;#x306B;&amp;#x3064;&amp;#x3044;&amp;#x3066;&amp;#x3000;&amp;#x304A;&amp;#x8A6B;&amp;#x3073;&amp;#x3068;&amp;#x304A;&amp;#x9858;&amp;#x3044;&lt;/a&gt;&lt;br /&gt;
  856. やっぱり、我が家のモデム該当してるわorz&lt;/p&gt;
  857. </content>        
  858.        <category term="日記" label="日記" />
  859.        
  860.        <link rel="enclosure" href="https://cdn.blog.st-hatena.com/images/theme/og-image-1500.png" type="image/png" length="0" />
  861.  
  862.        <author>
  863.            <name>gounx2</name>
  864.        </author>
  865.    </entry>
  866.    
  867.  
  868.    
  869.    
  870.    <entry>
  871.        <title>RCWはファイナライズで自動的にReleaseするっぽい。検証してみた。</title>
  872.        <link href="https://gounx2.hatenadiary.org/entry/20090211/1234336272"/>
  873.        <id>hatenablog://entry/17680117127136074006</id>
  874.        <published>2009-02-11T16:11:12+09:00</published>
  875.        <updated>2019-05-17T03:30:24+09:00</updated>        <summary type="html">正攻法で考えると、ReleaseComObject を必ず行う。なのだけど。。。CLR 徹底解剖: オブジェクトの有効期間を管理する マネージ コードから COM コンポーネントを使用する場合、tlbimp.exe を使用 していわゆるランタイム呼び出し可能ラッパー (RCW) を生成します。RCW によっ て COM コンポーネントの機能がマネージ環境に公開されます。なお、tlbimp.exe は、Visual Studio® で COM コンポーネントを参照するとバックグラウンドで実行 されます。RCW はデバッガで System.__ComObject と表示されるので、簡単に識別 でき…</summary>
  876.        <content type="html">&lt;p&gt;正攻法で考えると、ReleaseComObject を必ず行う。なのだけど。。。&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://msdn.microsoft.com/ja-jp/magazine/cc163316.aspx&quot;&gt;CLR &amp;#x5FB9;&amp;#x5E95;&amp;#x89E3;&amp;#x5256;: &amp;#x30AA;&amp;#x30D6;&amp;#x30B8;&amp;#x30A7;&amp;#x30AF;&amp;#x30C8;&amp;#x306E;&amp;#x6709;&amp;#x52B9;&amp;#x671F;&amp;#x9593;&amp;#x3092;&amp;#x7BA1;&amp;#x7406;&amp;#x3059;&amp;#x308B;&lt;/a&gt;&lt;/p&gt;
  877. &lt;pre class=&quot;code&quot; data-lang=&quot;&quot; data-unlink&gt;マネージ コードから COM コンポーネントを使用する場合、tlbimp.exe を使用
  878. していわゆるランタイム呼び出し可能ラッパー (RCW) を生成します。RCW によっ
  879. て COM コンポーネントの機能がマネージ環境に公開されます。なお、tlbimp.exe
  880. は、Visual Studio® で COM コンポーネントを参照するとバックグラウンドで実行
  881. されます。RCW はデバッガで System.__ComObject と表示されるので、簡単に識別
  882. できます。RCW は、COM オブジェクトへのアンマネージ ポインタを 1 つ保持し、
  883. オブジェクトで AddRef および Release を呼び出す .NET 型です。AddRef はコン
  884. ポーネントが作成されると呼び出され、Release は RCW がファイナライズされると
  885. 呼び出されます。&lt;/pre&gt;&lt;p&gt;という記事をみつけた。&lt;br /&gt;
  886. 「ReleaseはRCWがファイナライズされると呼び出されます。」と書かれてる。&lt;/p&gt;&lt;p&gt;これはつまり、&lt;br /&gt;
  887. ReleaseComObject を全く行わずとも、&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/GC&quot;&gt;GC&lt;/a&gt;でファイナライズを強制実行させればCOMも解放できるということか?&lt;/p&gt;&lt;p&gt;試してみる。&lt;br /&gt;
  888. 流れとしては、&lt;br /&gt;
  889. フォームの上のボタンを押すと&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/Excel&quot;&gt;Excel&lt;/a&gt;呼び出してセルに書いたりする。&lt;br /&gt;
  890. 最後にファイナライズを強制実行する。&lt;/p&gt;
  891. &lt;pre class=&quot;code lang-cs&quot; data-lang=&quot;cs&quot; data-unlink&gt;&lt;span class=&quot;synStatement&quot;&gt;using&lt;/span&gt; System.Runtime.InteropServices;
  892. :
  893.       &lt;span class=&quot;synType&quot;&gt;private&lt;/span&gt; &lt;span class=&quot;synType&quot;&gt;void&lt;/span&gt; button1_Click(&lt;span class=&quot;synType&quot;&gt;object&lt;/span&gt; sender, System.EventArgs e)
  894.       {
  895.           &lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;.excel_ctrl();
  896.  
  897.           &lt;span class=&quot;synComment&quot;&gt;// 以下を、excel_ctrl の中に入れてしまうと、Excelプロセスが残るのでここに配置してみた。&lt;/span&gt;
  898.           System.GC.Collect();                  &lt;span class=&quot;synComment&quot;&gt;// アクセス不可能なオブジェクトを除去&lt;/span&gt;
  899.           System.GC.WaitForPendingFinalizers(); &lt;span class=&quot;synComment&quot;&gt;// ファイナライゼーションが終わるまでスレッド待機&lt;/span&gt;
  900.           System.GC.Collect();                  &lt;span class=&quot;synComment&quot;&gt;// ファイナライズされたばかりのオブジェクトに関連するメモリを開放&lt;/span&gt;
  901.       }
  902.  
  903.       &lt;span class=&quot;synType&quot;&gt;private&lt;/span&gt; &lt;span class=&quot;synType&quot;&gt;void&lt;/span&gt; excel_ctrl()
  904.       {
  905.           Excel.Application excel = &lt;span class=&quot;synStatement&quot;&gt;new&lt;/span&gt; Excel.Application();
  906.           excel.Visible = &lt;span class=&quot;synConstant&quot;&gt;true&lt;/span&gt;;
  907.  
  908.           excel.Workbooks.Add(Type.Missing);
  909.           Excel.Worksheet worksheet = (Excel.Worksheet)excel.ActiveSheet;
  910.  
  911.           ((Excel.Range)worksheet.get_Range(&lt;span class=&quot;synConstant&quot;&gt;&amp;quot;C6&amp;quot;&lt;/span&gt;, Type.Missing)).Value2 = &lt;span class=&quot;synConstant&quot;&gt;&amp;quot;Hello&amp;quot;&lt;/span&gt;;
  912.           ((Excel.Range)worksheet.get_Range(&lt;span class=&quot;synConstant&quot;&gt;&amp;quot;C6&amp;quot;&lt;/span&gt;, Type.Missing)).Interior.ColorIndex = &lt;span class=&quot;synConstant&quot;&gt;6&lt;/span&gt;;
  913.  
  914.           ((Excel.Worksheet)excel.ActiveSheet).get_Range(&lt;span class=&quot;synConstant&quot;&gt;&amp;quot;C7&amp;quot;&lt;/span&gt;, Type.Missing).Value = &lt;span class=&quot;synConstant&quot;&gt;&amp;quot;xxx&amp;quot;&lt;/span&gt;;
  915.           ((Excel.Worksheet)excel.ActiveSheet).get_Range(&lt;span class=&quot;synConstant&quot;&gt;&amp;quot;C7&amp;quot;&lt;/span&gt;, Type.Missing).Borders.ColorIndex = &lt;span class=&quot;synConstant&quot;&gt;7&lt;/span&gt;;
  916.  
  917.           ((Excel.Worksheet)excel.ActiveSheet).Copy(excel.ActiveSheet, Type.Missing);
  918.  
  919.           excel.Quit();
  920.       }
  921. &lt;/pre&gt;&lt;p&gt;&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/Excel&quot;&gt;Excel&lt;/a&gt;プロセス残らない。&lt;br /&gt;
  922. ちょっと驚いた。&lt;/p&gt;&lt;p&gt;ただし、Finalizeでのリソース解放は最終手段であるし、実際&lt;br /&gt;
  923. &lt;a href=&quot;http://msdn.microsoft.com/ja-jp/library/system.object.finalize(VS.80).aspx&quot;&gt;Object.Finalize &amp;#x30E1;&amp;#x30BD;&amp;#x30C3;&amp;#x30C9; (System)&lt;/a&gt;&lt;br /&gt;
  924. によると、&lt;/p&gt;
  925.  
  926. &lt;ul&gt;
  927. &lt;li&gt;ガベージ コレクション実行中のファイナライザの実行時期は未定義です。&lt;/li&gt;
  928. &lt;li&gt;2 つのオブジェクトのファイナライザが特定の順序で実行されることは保証されません。&lt;/li&gt;
  929. &lt;/ul&gt;&lt;p&gt;とあるので、これに頼ってしまってよいのか疑問は残るんだけどね。&lt;/p&gt;
  930. </content>        
  931.        <category term="C#" label="C#" />
  932.        
  933.        <category term="Excel" label="Excel" />
  934.        
  935.        <link rel="enclosure" href="https://cdn.blog.st-hatena.com/images/theme/og-image-1500.png" type="image/png" length="0" />
  936.  
  937.        <author>
  938.            <name>gounx2</name>
  939.        </author>
  940.    </entry>
  941.    
  942.  
  943.    
  944.    
  945.    <entry>
  946.        <title>C#からExcelを操作するライブラリ</title>
  947.        <link href="https://gounx2.hatenadiary.org/entry/20090209/1234195164"/>
  948.        <id>hatenablog://entry/17680117127136074126</id>
  949.        <published>2009-02-09T00:59:24+09:00</published>
  950.        <updated>2019-05-17T03:30:26+09:00</updated>        <summary type="html">はじめに。 C#からPIAでExcelCOM使うとリークしてしまうのが難点。ExcelCOMに1枚クラスを被せることで 使いにくいExcelCOMの存在をできるだけ隠蔽することを試みます。 クラスを被せることのメリット COMの解放(Marshal.ReleaseComObject)のことを考えなくてよくなる。 わずらわしいリークに悩まされることが激減する。 COMの戻り値を適切な型にキャストしたりしなくてよい。 キャストミスによるトラブルに悩まされることが激減する。 インテリセンス(入力支援)が効くので作業効率アップ。 クラスを被せることのデメリット ExcelのCOMオブジェクト、メソッド…</summary>
  951.        <content type="html">
  952. &lt;div class=&quot;section&quot;&gt;
  953.    &lt;h4&gt;はじめに。&lt;/h4&gt;
  954.    &lt;p&gt;&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/C%23&quot;&gt;C#&lt;/a&gt;からPIAでExcelCOM使うとリークしてしまうのが難点。&lt;/p&gt;&lt;p&gt;ExcelCOMに1枚クラスを被せることで&lt;br /&gt;
  955. 使いにくいExcelCOMの存在をできるだけ隠蔽することを試みます。&lt;/p&gt;
  956.  
  957. &lt;ul&gt;
  958. &lt;li&gt;クラスを被せることのメリット
  959. &lt;ul&gt;
  960. &lt;li&gt;COMの解放(Marshal.ReleaseComObject)のことを考えなくてよくなる。
  961. &lt;ul&gt;
  962. &lt;li&gt;わずらわしいリークに悩まされることが激減する。&lt;/li&gt;
  963. &lt;/ul&gt;&lt;/li&gt;
  964. &lt;li&gt;COMの戻り値を適切な型にキャストしたりしなくてよい。
  965. &lt;ul&gt;
  966. &lt;li&gt;キャストミスによるトラブルに悩まされることが激減する。&lt;/li&gt;
  967. &lt;li&gt;インテリセンス(入力支援)が効くので作業効率アップ。&lt;/li&gt;
  968. &lt;/ul&gt;&lt;/li&gt;
  969. &lt;/ul&gt;&lt;/li&gt;
  970. &lt;/ul&gt;
  971. &lt;ul&gt;
  972. &lt;li&gt;クラスを被せることのデメリット
  973. &lt;ul&gt;
  974. &lt;li&gt;&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/Excel&quot;&gt;Excel&lt;/a&gt;のCOMオブジェクト、メソッド、プロパティを1つずつラッピングする必要がある。
  975. &lt;ul&gt;
  976. &lt;li&gt;膨大なので全てをラッピングするのは不可能なので、よく使いそうなものだけ対応。&lt;/li&gt;
  977. &lt;/ul&gt;&lt;/li&gt;
  978. &lt;/ul&gt;&lt;/li&gt;
  979. &lt;/ul&gt;
  980. &lt;/div&gt;
  981. &lt;div class=&quot;section&quot;&gt;
  982.    &lt;h4&gt;ライブラリ仕様&lt;/h4&gt;
  983.    
  984. &lt;ul&gt;
  985. &lt;li&gt;開発環境
  986. &lt;ul&gt;
  987. &lt;li&gt;&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/.NET%20Framework&quot;&gt;.NET Framework&lt;/a&gt; 1.1 以上、&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/C%23&quot;&gt;C#&lt;/a&gt;&lt;/li&gt;
  988. &lt;li&gt;Excel2000 or ExcelXP(2002) PIA&lt;/li&gt;
  989. &lt;/ul&gt;&lt;/li&gt;
  990. &lt;/ul&gt;
  991. &lt;ul&gt;
  992. &lt;li&gt;特徴
  993. &lt;ul&gt;
  994. &lt;li&gt;Marshal.ReleaseComObject はライブラリ側で自動で行う。&lt;/li&gt;
  995. &lt;li&gt;Excel2000、ExcelXP(2002) PIA 対応。(#defineで指定)&lt;/li&gt;
  996. &lt;/ul&gt;&lt;/li&gt;
  997. &lt;/ul&gt;
  998. &lt;ul&gt;
  999. &lt;li&gt;その他
  1000. &lt;ul&gt;
  1001. &lt;li&gt;Excel2003、2007 PIA でも使えるかもしれません。&lt;/li&gt;
  1002. &lt;li&gt;PIAは.NETとCOMのI/Fなので、開発をExcel2000PIAで行っていれば、(COMレベルの互換性によりますが)ExcelXP以上でも動くはず。&lt;/li&gt;
  1003. &lt;/ul&gt;&lt;/li&gt;
  1004. &lt;/ul&gt;&lt;p&gt;Visual &lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/C%23&quot;&gt;C#&lt;/a&gt; Express 2008 で作ったもの一式はこちら。&lt;br /&gt;
  1005. &lt;a href=&quot;http://goungoun.dip.jp/app/upload/libSimpleExcel/libSimpleExcel20090210.zip&quot;&gt;http://goungoun.dip.jp/app/upload/libSimpleExcel/libSimpleExcel20090210.zip&lt;/a&gt;&lt;/p&gt;
  1006.  
  1007. &lt;/div&gt;
  1008. &lt;div class=&quot;section&quot;&gt;
  1009.    &lt;h4&gt;対応してる&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/Excel&quot;&gt;Excel&lt;/a&gt;オブジェクト、メソッド、プロパティ一覧&lt;/h4&gt;
  1010.    &lt;p&gt;対応しているのは次のクラス(&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/Excel&quot;&gt;Excel&lt;/a&gt;オブジェクト)、メソッド、プロパティ&lt;br /&gt;
  1011. のみです。足りないものは既存のものを参考に追加してください。&lt;/p&gt;
  1012.  
  1013. &lt;ul&gt;
  1014. &lt;li&gt;class Application
  1015. &lt;ul&gt;
  1016. &lt;li&gt;bool Visible&lt;/li&gt;
  1017. &lt;li&gt;bool DisplayAlerts&lt;/li&gt;
  1018. &lt;li&gt;Workbooks Workbooks&lt;/li&gt;
  1019. &lt;li&gt;void Quit()&lt;/li&gt;
  1020. &lt;/ul&gt;&lt;/li&gt;
  1021. &lt;li&gt;class Workbooks
  1022. &lt;ul&gt;
  1023. &lt;li&gt;Workbook Open(string filename_,bool read_only_,&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/Excel&quot;&gt;Excel&lt;/a&gt;.XlFileFormat format_,string delimiter_)&lt;/li&gt;
  1024. &lt;li&gt;Workbook Open(string filename_, bool read_only_)&lt;/li&gt;
  1025. &lt;li&gt;Workbook Add()&lt;/li&gt;
  1026. &lt;li&gt;int Count&lt;/li&gt;
  1027. &lt;li&gt;Workbook this[int idx_]&lt;/li&gt;
  1028. &lt;li&gt;Workbook this[string name_]&lt;/li&gt;
  1029. &lt;/ul&gt;&lt;/li&gt;
  1030. &lt;li&gt;class Workbook
  1031. &lt;ul&gt;
  1032. &lt;li&gt;Sheets Sheets&lt;/li&gt;
  1033. &lt;/ul&gt;&lt;/li&gt;
  1034. &lt;li&gt;class Sheets
  1035. &lt;ul&gt;
  1036. &lt;li&gt;int Count&lt;/li&gt;
  1037. &lt;li&gt;Worksheet this[int idx_]&lt;/li&gt;
  1038. &lt;li&gt;Worksheet this[string name_]&lt;/li&gt;
  1039. &lt;/ul&gt;&lt;/li&gt;
  1040. &lt;li&gt;class Worksheet
  1041. &lt;ul&gt;
  1042. &lt;li&gt;string Name&lt;/li&gt;
  1043. &lt;li&gt;void Delete()&lt;/li&gt;
  1044. &lt;li&gt;void CopyAfter(Worksheet aft_)&lt;/li&gt;
  1045. &lt;li&gt;void CopyBefore(Worksheet bef_)&lt;/li&gt;
  1046. &lt;li&gt;Range Cells&lt;/li&gt;
  1047. &lt;li&gt;Range Range&lt;/li&gt;
  1048. &lt;li&gt;Range Rows(int row_)&lt;/li&gt;
  1049. &lt;li&gt;Range Columns(int col_)&lt;/li&gt;
  1050. &lt;/ul&gt;&lt;/li&gt;
  1051. &lt;li&gt;class Range
  1052. &lt;ul&gt;
  1053. &lt;li&gt;Range this[int row_, int col_]&lt;/li&gt;
  1054. &lt;li&gt;Range this[Range cell1_, Range cell2_]&lt;/li&gt;
  1055. &lt;li&gt;Range Resize(int row_, int col_)&lt;/li&gt;
  1056. &lt;li&gt;bool Delete()&lt;/li&gt;
  1057. &lt;li&gt;bool Delete(&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/Excel&quot;&gt;Excel&lt;/a&gt;.XlDeleteShiftDirection direction_)&lt;/li&gt;
  1058. &lt;li&gt;object &lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/Value&quot;&gt;Value&lt;/a&gt;&lt;/li&gt;
  1059. &lt;li&gt;Font Font&lt;/li&gt;
  1060. &lt;li&gt;Interior Interior&lt;/li&gt;
  1061. &lt;/ul&gt;&lt;/li&gt;
  1062. &lt;li&gt;class Font
  1063. &lt;ul&gt;
  1064. &lt;li&gt;int ColorIndex&lt;/li&gt;
  1065. &lt;li&gt;bool Bold&lt;/li&gt;
  1066. &lt;/ul&gt;&lt;/li&gt;
  1067. &lt;li&gt;class Interior
  1068. &lt;ul&gt;
  1069. &lt;li&gt;int ColorIndex&lt;/li&gt;
  1070. &lt;li&gt;&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/Excel&quot;&gt;Excel&lt;/a&gt;.XlPattern Pattern&lt;/li&gt;
  1071. &lt;/ul&gt;&lt;/li&gt;
  1072. &lt;/ul&gt;
  1073. &lt;/div&gt;
  1074. &lt;div class=&quot;section&quot;&gt;
  1075.    &lt;h4&gt;PIAの入手方法&lt;/h4&gt;
  1076.    &lt;p&gt;Office2000なら、&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/Interop&quot;&gt;Interop&lt;/a&gt;.&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/Excel&quot;&gt;Excel&lt;/a&gt;.dll&lt;br /&gt;
  1077. OfficeXPなら、&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/Microsoft&quot;&gt;Microsoft&lt;/a&gt;.Office.&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/Interop&quot;&gt;Interop&lt;/a&gt;.&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/Excel&quot;&gt;Excel&lt;/a&gt;.dll&lt;/p&gt;&lt;p&gt;入手先は、&lt;/p&gt;&lt;p&gt;Office2000なら。&lt;br /&gt;
  1078. プロジェクト→参照の追加→COMタブ→&lt;br /&gt;
  1079. &lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/Microsoft&quot;&gt;Microsoft&lt;/a&gt; &lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/Excel&quot;&gt;Excel&lt;/a&gt; 9.0 Object Livraly 1.3&lt;br /&gt;
  1080. X:\Program Files\&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/Microsoft%20Office&quot;&gt;Microsoft Office&lt;/a&gt;\Office\EXCEL9.OLB&lt;/p&gt;&lt;p&gt;Office XP PIAなら。&lt;br /&gt;
  1081. &lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/Microsoft%20Office&quot;&gt;Microsoft Office&lt;/a&gt; XP 用の PIA (Primary &lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/Interop&quot;&gt;Interop&lt;/a&gt; Assemblies) のダウンロード&lt;br /&gt;
  1082. &lt;a href=&quot;http://support.microsoft.com/kb/328912/ja&quot;&gt;http://support.microsoft.com/kb/328912/ja&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;
  1083. &lt;p&gt;&lt;/p&gt;
  1084.  
  1085. &lt;/div&gt;
  1086. &lt;div class=&quot;section&quot;&gt;
  1087.    &lt;h4&gt;ソース&lt;/h4&gt;
  1088.    
  1089. &lt;div class=&quot;section&quot;&gt;
  1090.    &lt;h5&gt;lib.SimpleExcel.cs(ライブラリ側)&lt;/h5&gt;
  1091.    &lt;p&gt;使用するPIAの種類に応じて先頭のdefineを切り替える。&lt;/p&gt;
  1092. &lt;pre class=&quot;code lang-cs&quot; data-lang=&quot;cs&quot; data-unlink&gt;&lt;span class=&quot;synComment&quot;&gt;//#define PIA_OFFICE_2000&lt;/span&gt;
  1093. &lt;span class=&quot;synPreProc&quot;&gt;#define PIA_OFFICE_XP&lt;/span&gt;
  1094.  
  1095. &lt;span class=&quot;synStatement&quot;&gt;using&lt;/span&gt; System;
  1096. &lt;span class=&quot;synStatement&quot;&gt;using&lt;/span&gt; System.Collections;
  1097. &lt;span class=&quot;synStatement&quot;&gt;using&lt;/span&gt; System.Runtime.InteropServices;
  1098. &lt;span class=&quot;synPreProc&quot;&gt;#if PIA_OFFICE_XP&lt;/span&gt;
  1099. &lt;span class=&quot;synStatement&quot;&gt;using&lt;/span&gt; Excel = Microsoft.Office.Interop.Excel;
  1100. &lt;span class=&quot;synPreProc&quot;&gt;#endif&lt;/span&gt;
  1101.  
  1102. &lt;span class=&quot;synType&quot;&gt;namespace&lt;/span&gt; lib.SimpleExcel
  1103. {
  1104.    &lt;span class=&quot;synComment&quot;&gt;/// &lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;synStatement&quot;&gt;summary&lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;&amp;gt;&lt;/span&gt;
  1105.    &lt;span class=&quot;synComment&quot;&gt;/// Excel関連のオブジェクトを分類する為の独自クラス&lt;/span&gt;
  1106.    &lt;span class=&quot;synComment&quot;&gt;/// &lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;synStatement&quot;&gt;summary&lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;&amp;gt;&lt;/span&gt;
  1107.    &lt;span class=&quot;synType&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;synType&quot;&gt;class&lt;/span&gt; Object : Base
  1108.    {
  1109.        &lt;span class=&quot;synType&quot;&gt;private&lt;/span&gt; &lt;span class=&quot;synType&quot;&gt;string&lt;/span&gt; _type_name = &lt;span class=&quot;synConstant&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;;
  1110.  
  1111.        &lt;span class=&quot;synType&quot;&gt;public&lt;/span&gt; Object(Base parent_, &lt;span class=&quot;synType&quot;&gt;object&lt;/span&gt; comobj_)
  1112.            : &lt;span class=&quot;synStatement&quot;&gt;base&lt;/span&gt;(parent_, comobj_)
  1113.        {
  1114.            &lt;span class=&quot;synStatement&quot;&gt;if&lt;/span&gt; (comobj_ == &lt;span class=&quot;synConstant&quot;&gt;null&lt;/span&gt;)
  1115.            {
  1116.                &lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._type_name = &lt;span class=&quot;synConstant&quot;&gt;&amp;quot;null&amp;quot;&lt;/span&gt;;
  1117.            }
  1118.            &lt;span class=&quot;synStatement&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;synStatement&quot;&gt;if&lt;/span&gt; (Marshal.IsComObject(comobj_))
  1119.            {
  1120.                &lt;span class=&quot;synStatement&quot;&gt;if&lt;/span&gt; ((comobj_ &lt;span class=&quot;synStatement&quot;&gt;as&lt;/span&gt; Excel.Range) != &lt;span class=&quot;synConstant&quot;&gt;null&lt;/span&gt;)
  1121.                {
  1122.                    &lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._type_name = &lt;span class=&quot;synConstant&quot;&gt;&amp;quot;Excel.Range&amp;quot;&lt;/span&gt;;
  1123.                }
  1124.                &lt;span class=&quot;synStatement&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;synStatement&quot;&gt;if&lt;/span&gt; ((comobj_ &lt;span class=&quot;synStatement&quot;&gt;as&lt;/span&gt; Excel.Range) != &lt;span class=&quot;synConstant&quot;&gt;null&lt;/span&gt;)
  1125.                {
  1126.                    &lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._type_name = &lt;span class=&quot;synConstant&quot;&gt;&amp;quot;Excel.Range&amp;quot;&lt;/span&gt;;
  1127.                }
  1128.            }
  1129.            &lt;span class=&quot;synStatement&quot;&gt;if&lt;/span&gt; (&lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._type_name == &lt;span class=&quot;synConstant&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;)
  1130.            {
  1131.                Type t = comobj_.GetType();
  1132.                &lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._type_name = t.FullName;
  1133.            }
  1134.        }
  1135.  
  1136.        &lt;span class=&quot;synType&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;synType&quot;&gt;string&lt;/span&gt; TypeName
  1137.        {
  1138.            &lt;span class=&quot;synStatement&quot;&gt;get&lt;/span&gt; { &lt;span class=&quot;synStatement&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._type_name; }
  1139.        }
  1140.    }
  1141.  
  1142.    &lt;span class=&quot;synComment&quot;&gt;/// &lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;synStatement&quot;&gt;summary&lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;&amp;gt;&lt;/span&gt;
  1143.    &lt;span class=&quot;synComment&quot;&gt;/// Base&lt;/span&gt;
  1144.    &lt;span class=&quot;synComment&quot;&gt;/// &lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;synStatement&quot;&gt;summary&lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;&amp;gt;&lt;/span&gt;
  1145.    &lt;span class=&quot;synType&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;synType&quot;&gt;abstract&lt;/span&gt; &lt;span class=&quot;synType&quot;&gt;class&lt;/span&gt; Base : IDisposable
  1146.    {
  1147.        &lt;span class=&quot;synType&quot;&gt;private&lt;/span&gt; &lt;span class=&quot;synType&quot;&gt;static&lt;/span&gt; &lt;span class=&quot;synType&quot;&gt;int&lt;/span&gt; _com_object_counter = &lt;span class=&quot;synConstant&quot;&gt;0&lt;/span&gt;;
  1148.        &lt;span class=&quot;synType&quot;&gt;private&lt;/span&gt; Base _parent = &lt;span class=&quot;synConstant&quot;&gt;null&lt;/span&gt;;
  1149.        &lt;span class=&quot;synType&quot;&gt;private&lt;/span&gt; ArrayList _childs = &lt;span class=&quot;synConstant&quot;&gt;null&lt;/span&gt;;
  1150.        &lt;span class=&quot;synType&quot;&gt;protected&lt;/span&gt; &lt;span class=&quot;synType&quot;&gt;object&lt;/span&gt; _comobj = &lt;span class=&quot;synConstant&quot;&gt;null&lt;/span&gt;;
  1151.  
  1152.        &lt;span class=&quot;synComment&quot;&gt;/// &lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;synStatement&quot;&gt;summary&lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;&amp;gt;&lt;/span&gt;
  1153.        &lt;span class=&quot;synComment&quot;&gt;/// 現在使用中の Excel COM の数&lt;/span&gt;
  1154.        &lt;span class=&quot;synComment&quot;&gt;/// 0 でない場合、Excelプロセス が開放されていないことになるので、&lt;/span&gt;
  1155.        &lt;span class=&quot;synComment&quot;&gt;/// 本ライブラリでExcel操作後は、必ず0になっている*はず*&lt;/span&gt;
  1156.        &lt;span class=&quot;synComment&quot;&gt;/// &lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;synStatement&quot;&gt;summary&lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;&amp;gt;&lt;/span&gt;
  1157.        &lt;span class=&quot;synType&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;synType&quot;&gt;static&lt;/span&gt; &lt;span class=&quot;synType&quot;&gt;int&lt;/span&gt; ComObjectCounter
  1158.        {
  1159.            &lt;span class=&quot;synStatement&quot;&gt;get&lt;/span&gt; { &lt;span class=&quot;synStatement&quot;&gt;return&lt;/span&gt; Base._com_object_counter; }
  1160.        }
  1161.  
  1162.        &lt;span class=&quot;synComment&quot;&gt;/// &lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;synStatement&quot;&gt;summary&lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;&amp;gt;&lt;/span&gt;
  1163.        &lt;span class=&quot;synComment&quot;&gt;/// Excelのプロセスを取得&lt;/span&gt;
  1164.        &lt;span class=&quot;synComment&quot;&gt;/// IDとウィンドウタイトルから素性を判断できる。&lt;/span&gt;
  1165.        &lt;span class=&quot;synComment&quot;&gt;/// &lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;synStatement&quot;&gt;summary&lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;&amp;gt;&lt;/span&gt;
  1166.        &lt;span class=&quot;synComment&quot;&gt;/// &lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;synStatement&quot;&gt;param&lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt; &lt;/span&gt;&lt;span class=&quot;synType&quot;&gt;name&lt;/span&gt;=&lt;span class=&quot;synConstant&quot;&gt;&amp;quot;msg_&amp;quot;&lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;synStatement&quot;&gt;param&lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;&amp;gt;&lt;/span&gt;
  1167.        &lt;span class=&quot;synComment&quot;&gt;/// &lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;synStatement&quot;&gt;returns&lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;synStatement&quot;&gt;returns&lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;&amp;gt;&lt;/span&gt;
  1168.        &lt;span class=&quot;synType&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;synType&quot;&gt;static&lt;/span&gt; System.Diagnostics.Process[] GetExcelProcess(&lt;span class=&quot;synStatement&quot;&gt;ref&lt;/span&gt; &lt;span class=&quot;synType&quot;&gt;string&lt;/span&gt; msg_)
  1169.        {
  1170.            System.Diagnostics.Process[] ps =
  1171.                System.Diagnostics.Process.GetProcessesByName(&lt;span class=&quot;synConstant&quot;&gt;&amp;quot;Excel&amp;quot;&lt;/span&gt;);
  1172.  
  1173.            msg_ = &lt;span class=&quot;synConstant&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;;
  1174.            &lt;span class=&quot;synStatement&quot;&gt;foreach&lt;/span&gt; (System.Diagnostics.Process p &lt;span class=&quot;synStatement&quot;&gt;in&lt;/span&gt; ps)
  1175.            {
  1176.                msg_ += &lt;span class=&quot;synType&quot;&gt;string&lt;/span&gt;.Format(&lt;span class=&quot;synConstant&quot;&gt;&amp;quot;Id:{0} Title:{1} &lt;/span&gt;&lt;span class=&quot;synSpecial&quot;&gt;\r\n&lt;/span&gt;&lt;span class=&quot;synConstant&quot;&gt;&amp;quot;&lt;/span&gt;, p.Id, p.MainWindowTitle);
  1177.            }
  1178.            &lt;span class=&quot;synStatement&quot;&gt;return&lt;/span&gt; ps;
  1179.        }
  1180.  
  1181.        &lt;span class=&quot;synType&quot;&gt;public&lt;/span&gt; Base(Base parent_, &lt;span class=&quot;synType&quot;&gt;object&lt;/span&gt; comobj_)
  1182.        {
  1183.            &lt;span class=&quot;synComment&quot;&gt;//          if (parent_ == null)&lt;/span&gt;
  1184.            &lt;span class=&quot;synComment&quot;&gt;//          {&lt;/span&gt;
  1185.            &lt;span class=&quot;synComment&quot;&gt;//              System.Windows.Forms.MessageBox.Show(&amp;quot;null&amp;quot;);&lt;/span&gt;
  1186.            &lt;span class=&quot;synComment&quot;&gt;//          }&lt;/span&gt;
  1187.  
  1188.            &lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._parent = parent_;
  1189.            &lt;span class=&quot;synStatement&quot;&gt;if&lt;/span&gt; (parent_ != &lt;span class=&quot;synConstant&quot;&gt;null&lt;/span&gt;)
  1190.            {
  1191.                parent_.AddChild(&lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;);
  1192.            }
  1193.  
  1194.            &lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._childs = &lt;span class=&quot;synStatement&quot;&gt;new&lt;/span&gt; ArrayList();
  1195.  
  1196.            &lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._comobj = comobj_;
  1197.            &lt;span class=&quot;synStatement&quot;&gt;if&lt;/span&gt; (Marshal.IsComObject(&lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._comobj))
  1198.            {
  1199.                Base._com_object_counter++;
  1200.            }
  1201.        }
  1202.  
  1203.        &lt;span class=&quot;synType&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;synType&quot;&gt;object&lt;/span&gt; ComObject
  1204.        {
  1205.            &lt;span class=&quot;synStatement&quot;&gt;get&lt;/span&gt; { &lt;span class=&quot;synStatement&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._comobj; }
  1206.        }
  1207.  
  1208.        &lt;span class=&quot;synType&quot;&gt;protected&lt;/span&gt; &lt;span class=&quot;synType&quot;&gt;void&lt;/span&gt; AddChild(Base obj_)
  1209.        {
  1210.            &lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._childs.Add(obj_);
  1211.        }
  1212.  
  1213.        &lt;span class=&quot;synType&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;synType&quot;&gt;void&lt;/span&gt; Dispose()
  1214.        {
  1215.            &lt;span class=&quot;synComment&quot;&gt;// 子を破棄&lt;/span&gt;
  1216.            &lt;span class=&quot;synStatement&quot;&gt;if&lt;/span&gt; (&lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._childs != &lt;span class=&quot;synConstant&quot;&gt;null&lt;/span&gt;)
  1217.            {
  1218.                &lt;span class=&quot;synStatement&quot;&gt;for&lt;/span&gt; (&lt;span class=&quot;synType&quot;&gt;int&lt;/span&gt; idx = &lt;span class=&quot;synConstant&quot;&gt;0&lt;/span&gt;; idx &amp;lt; &lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._childs.Count; idx++)
  1219.                {
  1220.                    Base obj = (Base)&lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._childs[idx];
  1221.                    obj.Dispose();
  1222.                }
  1223.                &lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._childs = &lt;span class=&quot;synConstant&quot;&gt;null&lt;/span&gt;;
  1224.            }
  1225.  
  1226.            &lt;span class=&quot;synComment&quot;&gt;// 自分を破棄&lt;/span&gt;
  1227.            &lt;span class=&quot;synStatement&quot;&gt;if&lt;/span&gt; (&lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._comobj != &lt;span class=&quot;synConstant&quot;&gt;null&lt;/span&gt; &amp;amp;&amp;amp; Marshal.IsComObject(&lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._comobj))
  1228.            {
  1229.                Marshal.ReleaseComObject(&lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._comobj);
  1230.                Base._com_object_counter--;
  1231.            }
  1232.            &lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._comobj = &lt;span class=&quot;synConstant&quot;&gt;null&lt;/span&gt;;
  1233.  
  1234.            &lt;span class=&quot;synComment&quot;&gt;// 親情報を削除&lt;/span&gt;
  1235.            &lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._parent = &lt;span class=&quot;synConstant&quot;&gt;null&lt;/span&gt;;
  1236.  
  1237.            GC.Collect();   &lt;span class=&quot;synComment&quot;&gt;// 一応と思っていたら、これがないとExcelで一般保護違反がでることがあった。&lt;/span&gt;
  1238.        }
  1239.    }
  1240.  
  1241.    &lt;span class=&quot;synComment&quot;&gt;/// &lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;synStatement&quot;&gt;summary&lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;&amp;gt;&lt;/span&gt;
  1242.    &lt;span class=&quot;synComment&quot;&gt;/// Excel.Application&lt;/span&gt;
  1243.    &lt;span class=&quot;synComment&quot;&gt;/// &lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;synStatement&quot;&gt;summary&lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;&amp;gt;&lt;/span&gt;
  1244.    &lt;span class=&quot;synType&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;synType&quot;&gt;class&lt;/span&gt; Application : Base
  1245.    {
  1246.        &lt;span class=&quot;synType&quot;&gt;public&lt;/span&gt; Application()
  1247.            : &lt;span class=&quot;synStatement&quot;&gt;base&lt;/span&gt;(&lt;span class=&quot;synConstant&quot;&gt;null&lt;/span&gt;, &lt;span class=&quot;synStatement&quot;&gt;new&lt;/span&gt; Excel.Application())
  1248.        {
  1249.        }
  1250.  
  1251.        &lt;span class=&quot;synType&quot;&gt;private&lt;/span&gt; Excel.Application _application
  1252.        {
  1253.            &lt;span class=&quot;synStatement&quot;&gt;get&lt;/span&gt; { &lt;span class=&quot;synStatement&quot;&gt;return&lt;/span&gt; (Excel.Application)&lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._comobj; }
  1254.        }
  1255.  
  1256.        &lt;span class=&quot;synType&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;synType&quot;&gt;bool&lt;/span&gt; Visible
  1257.        {
  1258.            &lt;span class=&quot;synStatement&quot;&gt;get&lt;/span&gt; { &lt;span class=&quot;synStatement&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._application.Visible; }
  1259.            &lt;span class=&quot;synStatement&quot;&gt;set&lt;/span&gt; { &lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._application.Visible = &lt;span class=&quot;synStatement&quot;&gt;value&lt;/span&gt;; }
  1260.        }
  1261.  
  1262.        &lt;span class=&quot;synType&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;synType&quot;&gt;bool&lt;/span&gt; DisplayAlerts
  1263.        {
  1264.            &lt;span class=&quot;synStatement&quot;&gt;get&lt;/span&gt; { &lt;span class=&quot;synStatement&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._application.DisplayAlerts; }
  1265.            &lt;span class=&quot;synStatement&quot;&gt;set&lt;/span&gt; { &lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._application.DisplayAlerts = &lt;span class=&quot;synStatement&quot;&gt;value&lt;/span&gt;; }
  1266.        }
  1267.  
  1268.        &lt;span class=&quot;synType&quot;&gt;public&lt;/span&gt; Workbooks Workbooks
  1269.        {
  1270.            &lt;span class=&quot;synStatement&quot;&gt;get&lt;/span&gt; { &lt;span class=&quot;synStatement&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;synStatement&quot;&gt;new&lt;/span&gt; Workbooks(&lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;, &lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._application.Workbooks); }
  1271.        }
  1272.  
  1273.        &lt;span class=&quot;synType&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;synType&quot;&gt;void&lt;/span&gt; Quit()
  1274.        {
  1275.            &lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._application.Quit();
  1276.        }
  1277.    }
  1278.  
  1279.    &lt;span class=&quot;synComment&quot;&gt;/// &lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;synStatement&quot;&gt;summary&lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;&amp;gt;&lt;/span&gt;
  1280.    &lt;span class=&quot;synComment&quot;&gt;/// Excel.Workbooks&lt;/span&gt;
  1281.    &lt;span class=&quot;synComment&quot;&gt;/// &lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;synStatement&quot;&gt;summary&lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;&amp;gt;&lt;/span&gt;
  1282.    &lt;span class=&quot;synType&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;synType&quot;&gt;class&lt;/span&gt; Workbooks : Base
  1283.    {
  1284.        &lt;span class=&quot;synType&quot;&gt;public&lt;/span&gt; Workbooks(Base parent_, &lt;span class=&quot;synType&quot;&gt;object&lt;/span&gt; comobj_)
  1285.            : &lt;span class=&quot;synStatement&quot;&gt;base&lt;/span&gt;(parent_, comobj_)
  1286.        {
  1287.        }
  1288.  
  1289.        &lt;span class=&quot;synType&quot;&gt;private&lt;/span&gt; Excel.Workbooks _workbooks
  1290.        {
  1291.            &lt;span class=&quot;synStatement&quot;&gt;get&lt;/span&gt; { &lt;span class=&quot;synStatement&quot;&gt;return&lt;/span&gt; (Excel.Workbooks)&lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._comobj; }
  1292.        }
  1293.  
  1294.        &lt;span class=&quot;synType&quot;&gt;private&lt;/span&gt; &lt;span class=&quot;synType&quot;&gt;object&lt;/span&gt; _workbooks_open(&lt;span class=&quot;synType&quot;&gt;string&lt;/span&gt; Filename, &lt;span class=&quot;synType&quot;&gt;object&lt;/span&gt; UpdateLinks, &lt;span class=&quot;synType&quot;&gt;object&lt;/span&gt; ReadOnly, &lt;span class=&quot;synType&quot;&gt;object&lt;/span&gt; Format, &lt;span class=&quot;synType&quot;&gt;object&lt;/span&gt; Password, &lt;span class=&quot;synType&quot;&gt;object&lt;/span&gt; WriteResPassword, &lt;span class=&quot;synType&quot;&gt;object&lt;/span&gt; IgnoreReadOnlyRecommended, &lt;span class=&quot;synType&quot;&gt;object&lt;/span&gt; Origin, &lt;span class=&quot;synType&quot;&gt;object&lt;/span&gt; Delimiter, &lt;span class=&quot;synType&quot;&gt;object&lt;/span&gt; Editable, &lt;span class=&quot;synType&quot;&gt;object&lt;/span&gt; Notify, &lt;span class=&quot;synType&quot;&gt;object&lt;/span&gt; Converter, &lt;span class=&quot;synType&quot;&gt;object&lt;/span&gt; AddToMru, &lt;span class=&quot;synType&quot;&gt;object&lt;/span&gt; Local, &lt;span class=&quot;synType&quot;&gt;object&lt;/span&gt; CorruptLoad)
  1295.        {
  1296. &lt;span class=&quot;synPreProc&quot;&gt;#if PIA_OFFICE_2000&lt;/span&gt;
  1297.            &lt;span class=&quot;synType&quot;&gt;object&lt;/span&gt; ret = &lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._workbooks.Open(Filename, UpdateLinks, ReadOnly, Format, Password, WriteResPassword, IgnoreReadOnlyRecommended, Origin, Delimiter, Editable, Notify, Converter, AddToMru);
  1298. &lt;span class=&quot;synPreProc&quot;&gt;#endif&lt;/span&gt;
  1299. &lt;span class=&quot;synPreProc&quot;&gt;#if PIA_OFFICE_XP&lt;/span&gt;
  1300.            &lt;span class=&quot;synType&quot;&gt;object&lt;/span&gt; ret = &lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._workbooks.Open(Filename, UpdateLinks, ReadOnly, Format, Password, WriteResPassword, IgnoreReadOnlyRecommended, Origin, Delimiter, Editable, Notify, Converter, AddToMru, Local, CorruptLoad);
  1301. &lt;span class=&quot;synPreProc&quot;&gt;#endif&lt;/span&gt;
  1302.            &lt;span class=&quot;synStatement&quot;&gt;return&lt;/span&gt; ret;
  1303.        }
  1304.  
  1305.        &lt;span class=&quot;synType&quot;&gt;public&lt;/span&gt; Workbook Open(
  1306.            &lt;span class=&quot;synType&quot;&gt;string&lt;/span&gt; filename_,
  1307.            &lt;span class=&quot;synType&quot;&gt;bool&lt;/span&gt; read_only_,
  1308.            Excel.XlFileFormat format_,
  1309.            &lt;span class=&quot;synType&quot;&gt;string&lt;/span&gt; delimiter_
  1310.            )
  1311.        {
  1312.            &lt;span class=&quot;synStatement&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;synStatement&quot;&gt;new&lt;/span&gt; Workbook(&lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;, &lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._workbooks_open(
  1313.                filename_,
  1314.                Type.Missing,
  1315.                read_only_,
  1316.                format_,
  1317.                Type.Missing,
  1318.                Type.Missing,
  1319.                Type.Missing,
  1320.                Type.Missing,
  1321.                delimiter_,
  1322.                Type.Missing,
  1323.                Type.Missing,
  1324.                Type.Missing,
  1325.                Type.Missing,
  1326.                Type.Missing,
  1327.                Type.Missing));
  1328.        }
  1329.  
  1330.        &lt;span class=&quot;synType&quot;&gt;public&lt;/span&gt; Workbook Open(&lt;span class=&quot;synType&quot;&gt;string&lt;/span&gt; filename_, &lt;span class=&quot;synType&quot;&gt;bool&lt;/span&gt; read_only_)
  1331.        {
  1332.            &lt;span class=&quot;synStatement&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;synStatement&quot;&gt;new&lt;/span&gt; Workbook(&lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;, &lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._workbooks_open(
  1333.                filename_,
  1334.                Type.Missing,
  1335.                read_only_,
  1336.                Type.Missing,
  1337.                Type.Missing,
  1338.                Type.Missing,
  1339.                Type.Missing,
  1340.                Type.Missing,
  1341.                Type.Missing,
  1342.                Type.Missing,
  1343.                Type.Missing,
  1344.                Type.Missing,
  1345.                Type.Missing,
  1346.                Type.Missing,
  1347.                Type.Missing));
  1348.        }
  1349.  
  1350.        &lt;span class=&quot;synType&quot;&gt;public&lt;/span&gt; Workbook Add()
  1351.        {
  1352.            &lt;span class=&quot;synStatement&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;synStatement&quot;&gt;new&lt;/span&gt; Workbook(&lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;, &lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._workbooks.Add(Type.Missing));
  1353.        }
  1354.  
  1355.        &lt;span class=&quot;synType&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;synType&quot;&gt;int&lt;/span&gt; Count
  1356.        {
  1357.            &lt;span class=&quot;synStatement&quot;&gt;get&lt;/span&gt; { &lt;span class=&quot;synStatement&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._workbooks.Count; }
  1358.        }
  1359.  
  1360.        &lt;span class=&quot;synType&quot;&gt;public&lt;/span&gt; Workbook &lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;[&lt;span class=&quot;synType&quot;&gt;int&lt;/span&gt; idx_]
  1361.        {
  1362.            &lt;span class=&quot;synStatement&quot;&gt;get&lt;/span&gt; { &lt;span class=&quot;synStatement&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;synStatement&quot;&gt;new&lt;/span&gt; Workbook(&lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;, &lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._workbooks.get_Item(idx_)); }
  1363.        }
  1364.  
  1365.        &lt;span class=&quot;synType&quot;&gt;public&lt;/span&gt; Workbook &lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;[&lt;span class=&quot;synType&quot;&gt;string&lt;/span&gt; name_]
  1366.        {
  1367.            &lt;span class=&quot;synStatement&quot;&gt;get&lt;/span&gt; { &lt;span class=&quot;synStatement&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;synStatement&quot;&gt;new&lt;/span&gt; Workbook(&lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;, &lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._workbooks.get_Item(name_)); }
  1368.        }
  1369.    }
  1370.  
  1371.    &lt;span class=&quot;synComment&quot;&gt;/// &lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;synStatement&quot;&gt;summary&lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;&amp;gt;&lt;/span&gt;
  1372.    &lt;span class=&quot;synComment&quot;&gt;/// Excel.Workbook&lt;/span&gt;
  1373.    &lt;span class=&quot;synComment&quot;&gt;/// &lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;synStatement&quot;&gt;summary&lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;&amp;gt;&lt;/span&gt;
  1374.    &lt;span class=&quot;synType&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;synType&quot;&gt;class&lt;/span&gt; Workbook : Base
  1375.    {
  1376.        &lt;span class=&quot;synType&quot;&gt;public&lt;/span&gt; Workbook(Base parent_, &lt;span class=&quot;synType&quot;&gt;object&lt;/span&gt; comobj_)
  1377.            : &lt;span class=&quot;synStatement&quot;&gt;base&lt;/span&gt;(parent_, comobj_)
  1378.        {
  1379.        }
  1380.  
  1381.        &lt;span class=&quot;synType&quot;&gt;private&lt;/span&gt; Excel.Workbook _workbook
  1382.        {
  1383.            &lt;span class=&quot;synStatement&quot;&gt;get&lt;/span&gt; { &lt;span class=&quot;synStatement&quot;&gt;return&lt;/span&gt; (Excel.Workbook)&lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._comobj; }
  1384.        }
  1385.  
  1386.        &lt;span class=&quot;synType&quot;&gt;public&lt;/span&gt; Sheets Sheets
  1387.        {
  1388.            &lt;span class=&quot;synStatement&quot;&gt;get&lt;/span&gt; { &lt;span class=&quot;synStatement&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;synStatement&quot;&gt;new&lt;/span&gt; Sheets(&lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;, &lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._workbook.Sheets); }
  1389.        }
  1390.    }
  1391.  
  1392.    &lt;span class=&quot;synComment&quot;&gt;/// &lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;synStatement&quot;&gt;summary&lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;&amp;gt;&lt;/span&gt;
  1393.    &lt;span class=&quot;synComment&quot;&gt;/// Excel.Sheets&lt;/span&gt;
  1394.    &lt;span class=&quot;synComment&quot;&gt;/// &lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;synStatement&quot;&gt;summary&lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;&amp;gt;&lt;/span&gt;
  1395.    &lt;span class=&quot;synType&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;synType&quot;&gt;class&lt;/span&gt; Sheets : Base
  1396.    {
  1397.        &lt;span class=&quot;synType&quot;&gt;public&lt;/span&gt; Sheets(Base parent_, &lt;span class=&quot;synType&quot;&gt;object&lt;/span&gt; comobj_)
  1398.            : &lt;span class=&quot;synStatement&quot;&gt;base&lt;/span&gt;(parent_, comobj_)
  1399.        {
  1400.        }
  1401.  
  1402.        &lt;span class=&quot;synType&quot;&gt;private&lt;/span&gt; Excel.Sheets _sheets
  1403.        {
  1404.            &lt;span class=&quot;synStatement&quot;&gt;get&lt;/span&gt; { &lt;span class=&quot;synStatement&quot;&gt;return&lt;/span&gt; (Excel.Sheets)&lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._comobj; }
  1405.        }
  1406.  
  1407.        &lt;span class=&quot;synType&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;synType&quot;&gt;int&lt;/span&gt; Count
  1408.        {
  1409.            &lt;span class=&quot;synStatement&quot;&gt;get&lt;/span&gt; { &lt;span class=&quot;synStatement&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._sheets.Count; }
  1410.        }
  1411.  
  1412.        &lt;span class=&quot;synType&quot;&gt;public&lt;/span&gt; Worksheet &lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;[&lt;span class=&quot;synType&quot;&gt;int&lt;/span&gt; idx_]
  1413.        {
  1414.            &lt;span class=&quot;synStatement&quot;&gt;get&lt;/span&gt; { &lt;span class=&quot;synStatement&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;synStatement&quot;&gt;new&lt;/span&gt; Worksheet(&lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;, &lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._sheets.get_Item(idx_)); }
  1415.        }
  1416.  
  1417.        &lt;span class=&quot;synType&quot;&gt;public&lt;/span&gt; Worksheet &lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;[&lt;span class=&quot;synType&quot;&gt;string&lt;/span&gt; name_]
  1418.        {
  1419.            &lt;span class=&quot;synStatement&quot;&gt;get&lt;/span&gt; { &lt;span class=&quot;synStatement&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;synStatement&quot;&gt;new&lt;/span&gt; Worksheet(&lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;, &lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._sheets.get_Item(name_)); }
  1420.        }
  1421.    }
  1422.  
  1423.    &lt;span class=&quot;synComment&quot;&gt;/// &lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;synStatement&quot;&gt;summary&lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;&amp;gt;&lt;/span&gt;
  1424.    &lt;span class=&quot;synComment&quot;&gt;/// Excel.Worksheet&lt;/span&gt;
  1425.    &lt;span class=&quot;synComment&quot;&gt;/// &lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;synStatement&quot;&gt;summary&lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;&amp;gt;&lt;/span&gt;
  1426.    &lt;span class=&quot;synType&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;synType&quot;&gt;class&lt;/span&gt; Worksheet : Base
  1427.    {
  1428.        &lt;span class=&quot;synType&quot;&gt;public&lt;/span&gt; Worksheet(Base parent_, &lt;span class=&quot;synType&quot;&gt;object&lt;/span&gt; comobj_)
  1429.            : &lt;span class=&quot;synStatement&quot;&gt;base&lt;/span&gt;(parent_, comobj_)
  1430.        {
  1431.        }
  1432.  
  1433.        &lt;span class=&quot;synType&quot;&gt;private&lt;/span&gt; Excel.Worksheet _worksheet
  1434.        {
  1435.            &lt;span class=&quot;synStatement&quot;&gt;get&lt;/span&gt; { &lt;span class=&quot;synStatement&quot;&gt;return&lt;/span&gt; (Excel.Worksheet)&lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._comobj; }
  1436.        }
  1437.  
  1438.        &lt;span class=&quot;synType&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;synType&quot;&gt;string&lt;/span&gt; Name
  1439.        {
  1440.            &lt;span class=&quot;synStatement&quot;&gt;get&lt;/span&gt; { &lt;span class=&quot;synStatement&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._worksheet.Name; }
  1441.            &lt;span class=&quot;synStatement&quot;&gt;set&lt;/span&gt; { &lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._worksheet.Name = &lt;span class=&quot;synStatement&quot;&gt;value&lt;/span&gt;; }
  1442.        }
  1443.  
  1444.        &lt;span class=&quot;synType&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;synType&quot;&gt;void&lt;/span&gt; Delete()
  1445.        {
  1446.            &lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._worksheet.Delete();
  1447.        }
  1448.  
  1449.        &lt;span class=&quot;synType&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;synType&quot;&gt;void&lt;/span&gt; CopyAfter(Worksheet aft_)
  1450.        {
  1451.            &lt;span class=&quot;synComment&quot;&gt;// 指定したワークシートの右側へコピー&lt;/span&gt;
  1452.            &lt;span class=&quot;synComment&quot;&gt;// this._worksheet を aft_ の 右側へコピー&lt;/span&gt;
  1453.            &lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._worksheet.Copy(Type.Missing, aft_._comobj);
  1454.        }
  1455.  
  1456.        &lt;span class=&quot;synType&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;synType&quot;&gt;void&lt;/span&gt; CopyBefore(Worksheet bef_)
  1457.        {
  1458.            &lt;span class=&quot;synComment&quot;&gt;// 指定したワークシートの左側へコピー&lt;/span&gt;
  1459.            &lt;span class=&quot;synComment&quot;&gt;// this._worksheet を bef_ の 左側へコピー&lt;/span&gt;
  1460.            &lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._worksheet.Copy(bef_._comobj, Type.Missing);
  1461.        }
  1462.  
  1463.        &lt;span class=&quot;synType&quot;&gt;public&lt;/span&gt; Range Cells
  1464.        {
  1465.            &lt;span class=&quot;synStatement&quot;&gt;get&lt;/span&gt; { &lt;span class=&quot;synStatement&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;synStatement&quot;&gt;new&lt;/span&gt; Range(&lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;, &lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._worksheet.Cells); }
  1466.        }
  1467.  
  1468.        &lt;span class=&quot;synType&quot;&gt;public&lt;/span&gt; Range Range
  1469.        {
  1470.            &lt;span class=&quot;synStatement&quot;&gt;get&lt;/span&gt; { &lt;span class=&quot;synStatement&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;synStatement&quot;&gt;new&lt;/span&gt; Range(&lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;, &lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._worksheet.Cells); }
  1471.        }
  1472.  
  1473.        &lt;span class=&quot;synType&quot;&gt;public&lt;/span&gt; Range Rows(&lt;span class=&quot;synType&quot;&gt;int&lt;/span&gt; row_)
  1474.        {
  1475.            &lt;span class=&quot;synStatement&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;synStatement&quot;&gt;new&lt;/span&gt; Range(&lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;, &lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._worksheet.Rows[row_, Type.Missing]);
  1476.        }
  1477.  
  1478.        &lt;span class=&quot;synType&quot;&gt;public&lt;/span&gt; Range Columns(&lt;span class=&quot;synType&quot;&gt;int&lt;/span&gt; col_)
  1479.        {
  1480.            &lt;span class=&quot;synStatement&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;synStatement&quot;&gt;new&lt;/span&gt; Range(&lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;, &lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._worksheet.Columns[Type.Missing, col_]);
  1481.        }
  1482.    }
  1483.  
  1484.    &lt;span class=&quot;synComment&quot;&gt;/// &lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;synStatement&quot;&gt;summary&lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;&amp;gt;&lt;/span&gt;
  1485.    &lt;span class=&quot;synComment&quot;&gt;/// Excel.Range&lt;/span&gt;
  1486.    &lt;span class=&quot;synComment&quot;&gt;/// &lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;synStatement&quot;&gt;summary&lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;&amp;gt;&lt;/span&gt;
  1487.    &lt;span class=&quot;synType&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;synType&quot;&gt;class&lt;/span&gt; Range : Base
  1488.    {
  1489.        &lt;span class=&quot;synType&quot;&gt;public&lt;/span&gt; Range(Base parent_, &lt;span class=&quot;synType&quot;&gt;object&lt;/span&gt; comobj_)
  1490.            : &lt;span class=&quot;synStatement&quot;&gt;base&lt;/span&gt;(parent_, comobj_)
  1491.        {
  1492.        }
  1493.  
  1494.        &lt;span class=&quot;synType&quot;&gt;private&lt;/span&gt; Excel.Range _range
  1495.        {
  1496.            &lt;span class=&quot;synStatement&quot;&gt;get&lt;/span&gt; { &lt;span class=&quot;synStatement&quot;&gt;return&lt;/span&gt; (Excel.Range)&lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._comobj; }
  1497.        }
  1498.  
  1499.        &lt;span class=&quot;synType&quot;&gt;public&lt;/span&gt; Range &lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;[&lt;span class=&quot;synType&quot;&gt;int&lt;/span&gt; row_, &lt;span class=&quot;synType&quot;&gt;int&lt;/span&gt; col_]
  1500.        {
  1501.            &lt;span class=&quot;synStatement&quot;&gt;get&lt;/span&gt; { &lt;span class=&quot;synStatement&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;synStatement&quot;&gt;new&lt;/span&gt; Range(&lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;, &lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._range.get_Item(row_, col_)); }
  1502.        }
  1503.  
  1504.        &lt;span class=&quot;synType&quot;&gt;public&lt;/span&gt; Range &lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;[Range cell1_, Range cell2_]
  1505.        {
  1506.            &lt;span class=&quot;synStatement&quot;&gt;get&lt;/span&gt; { &lt;span class=&quot;synStatement&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;synStatement&quot;&gt;new&lt;/span&gt; Range(&lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;, &lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._range.get_Range(cell1_._comobj, cell2_._comobj)); }
  1507.        }
  1508.  
  1509.        &lt;span class=&quot;synType&quot;&gt;public&lt;/span&gt; Range Resize(&lt;span class=&quot;synType&quot;&gt;int&lt;/span&gt; row_, &lt;span class=&quot;synType&quot;&gt;int&lt;/span&gt; col_)
  1510.        {
  1511.            &lt;span class=&quot;synStatement&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;synStatement&quot;&gt;new&lt;/span&gt; Range(&lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;, &lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._range.get_Resize(row_, col_));
  1512.        }
  1513.  
  1514.        &lt;span class=&quot;synType&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;synType&quot;&gt;bool&lt;/span&gt; Delete()
  1515.        {
  1516.            &lt;span class=&quot;synStatement&quot;&gt;return&lt;/span&gt; (&lt;span class=&quot;synType&quot;&gt;bool&lt;/span&gt;)&lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._range.Delete(Type.Missing);
  1517.        }
  1518.  
  1519.        &lt;span class=&quot;synType&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;synType&quot;&gt;bool&lt;/span&gt; Delete(Excel.XlDeleteShiftDirection direction_)
  1520.        {
  1521.            &lt;span class=&quot;synStatement&quot;&gt;return&lt;/span&gt; (&lt;span class=&quot;synType&quot;&gt;bool&lt;/span&gt;)&lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._range.Delete(direction_);
  1522.        }
  1523.  
  1524.        &lt;span class=&quot;synType&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;synType&quot;&gt;object&lt;/span&gt; Value
  1525.        {
  1526. &lt;span class=&quot;synPreProc&quot;&gt;#if PIA_OFFICE_2000&lt;/span&gt;
  1527.            &lt;span class=&quot;synStatement&quot;&gt;get&lt;/span&gt; { &lt;span class=&quot;synStatement&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._range.Value; }
  1528.            &lt;span class=&quot;synStatement&quot;&gt;set&lt;/span&gt; { &lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._range.Value = &lt;span class=&quot;synStatement&quot;&gt;value&lt;/span&gt;; }
  1529. &lt;span class=&quot;synPreProc&quot;&gt;#endif&lt;/span&gt;
  1530. &lt;span class=&quot;synPreProc&quot;&gt;#if PIA_OFFICE_XP&lt;/span&gt;
  1531.            &lt;span class=&quot;synStatement&quot;&gt;get&lt;/span&gt; { &lt;span class=&quot;synStatement&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._range.get_Value(Excel.XlRangeValueDataType.xlRangeValueDefault); }
  1532.            &lt;span class=&quot;synStatement&quot;&gt;set&lt;/span&gt; { &lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._range.set_Value(Excel.XlRangeValueDataType.xlRangeValueDefault, &lt;span class=&quot;synStatement&quot;&gt;value&lt;/span&gt;); }
  1533. &lt;span class=&quot;synPreProc&quot;&gt;#endif&lt;/span&gt;
  1534.        }
  1535.  
  1536.        &lt;span class=&quot;synType&quot;&gt;public&lt;/span&gt; Font Font
  1537.        {
  1538.            &lt;span class=&quot;synStatement&quot;&gt;get&lt;/span&gt; { &lt;span class=&quot;synStatement&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;synStatement&quot;&gt;new&lt;/span&gt; Font(&lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;, &lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._range.Font); }
  1539.        }
  1540.  
  1541.        &lt;span class=&quot;synType&quot;&gt;public&lt;/span&gt; Interior Interior
  1542.        {
  1543.            &lt;span class=&quot;synStatement&quot;&gt;get&lt;/span&gt; { &lt;span class=&quot;synStatement&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;synStatement&quot;&gt;new&lt;/span&gt; Interior(&lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;, &lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._range.Interior); }
  1544.        }
  1545.    }
  1546.  
  1547.    &lt;span class=&quot;synComment&quot;&gt;/// &lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;synStatement&quot;&gt;summary&lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;&amp;gt;&lt;/span&gt;
  1548.    &lt;span class=&quot;synComment&quot;&gt;/// Excel.Font&lt;/span&gt;
  1549.    &lt;span class=&quot;synComment&quot;&gt;/// &lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;synStatement&quot;&gt;summary&lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;&amp;gt;&lt;/span&gt;
  1550.    &lt;span class=&quot;synType&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;synType&quot;&gt;class&lt;/span&gt; Font : Base
  1551.    {
  1552.        &lt;span class=&quot;synType&quot;&gt;public&lt;/span&gt; Font(Base parent_, &lt;span class=&quot;synType&quot;&gt;object&lt;/span&gt; comobj_)
  1553.            : &lt;span class=&quot;synStatement&quot;&gt;base&lt;/span&gt;(parent_, comobj_)
  1554.        {
  1555.        }
  1556.  
  1557.        &lt;span class=&quot;synType&quot;&gt;private&lt;/span&gt; Excel.Font _font
  1558.        {
  1559.            &lt;span class=&quot;synStatement&quot;&gt;get&lt;/span&gt; { &lt;span class=&quot;synStatement&quot;&gt;return&lt;/span&gt; (Excel.Font)&lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._comobj; }
  1560.        }
  1561.  
  1562.        &lt;span class=&quot;synType&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;synType&quot;&gt;int&lt;/span&gt; ColorIndex
  1563.        {
  1564.            &lt;span class=&quot;synStatement&quot;&gt;get&lt;/span&gt; { &lt;span class=&quot;synStatement&quot;&gt;return&lt;/span&gt; (&lt;span class=&quot;synType&quot;&gt;int&lt;/span&gt;)&lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._font.ColorIndex; }
  1565.            &lt;span class=&quot;synStatement&quot;&gt;set&lt;/span&gt; { &lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._font.ColorIndex = &lt;span class=&quot;synStatement&quot;&gt;value&lt;/span&gt;; }
  1566.        }
  1567.  
  1568.        &lt;span class=&quot;synType&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;synType&quot;&gt;bool&lt;/span&gt; Bold
  1569.        {
  1570.            &lt;span class=&quot;synStatement&quot;&gt;get&lt;/span&gt; { &lt;span class=&quot;synStatement&quot;&gt;return&lt;/span&gt; (&lt;span class=&quot;synType&quot;&gt;bool&lt;/span&gt;)&lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._font.Bold; }
  1571.            &lt;span class=&quot;synStatement&quot;&gt;set&lt;/span&gt; { &lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._font.Bold = &lt;span class=&quot;synStatement&quot;&gt;value&lt;/span&gt;; }
  1572.        }
  1573.    }
  1574.  
  1575.    &lt;span class=&quot;synComment&quot;&gt;/// &lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;synStatement&quot;&gt;summary&lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;&amp;gt;&lt;/span&gt;
  1576.    &lt;span class=&quot;synComment&quot;&gt;/// Excel.Interior&lt;/span&gt;
  1577.    &lt;span class=&quot;synComment&quot;&gt;/// &lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;synStatement&quot;&gt;summary&lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;&amp;gt;&lt;/span&gt;
  1578.    &lt;span class=&quot;synType&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;synType&quot;&gt;class&lt;/span&gt; Interior : Base
  1579.    {
  1580.        &lt;span class=&quot;synType&quot;&gt;public&lt;/span&gt; Interior(Base parent_, &lt;span class=&quot;synType&quot;&gt;object&lt;/span&gt; comobj_)
  1581.            : &lt;span class=&quot;synStatement&quot;&gt;base&lt;/span&gt;(parent_, comobj_)
  1582.        {
  1583.        }
  1584.  
  1585.        &lt;span class=&quot;synType&quot;&gt;private&lt;/span&gt; Excel.Interior _interior
  1586.        {
  1587.            &lt;span class=&quot;synStatement&quot;&gt;get&lt;/span&gt; { &lt;span class=&quot;synStatement&quot;&gt;return&lt;/span&gt; (Excel.Interior)&lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._comobj; }
  1588.        }
  1589.  
  1590.        &lt;span class=&quot;synType&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;synType&quot;&gt;int&lt;/span&gt; ColorIndex
  1591.        {
  1592.            &lt;span class=&quot;synStatement&quot;&gt;get&lt;/span&gt; { &lt;span class=&quot;synStatement&quot;&gt;return&lt;/span&gt; (&lt;span class=&quot;synType&quot;&gt;int&lt;/span&gt;)&lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._interior.ColorIndex; }
  1593.            &lt;span class=&quot;synStatement&quot;&gt;set&lt;/span&gt; { &lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._interior.ColorIndex = &lt;span class=&quot;synStatement&quot;&gt;value&lt;/span&gt;; }
  1594.        }
  1595.  
  1596.        &lt;span class=&quot;synType&quot;&gt;public&lt;/span&gt; Excel.XlPattern Pattern
  1597.        {
  1598.            &lt;span class=&quot;synStatement&quot;&gt;get&lt;/span&gt; { &lt;span class=&quot;synStatement&quot;&gt;return&lt;/span&gt; (Excel.XlPattern)&lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._interior.Pattern; }
  1599.            &lt;span class=&quot;synStatement&quot;&gt;set&lt;/span&gt; { &lt;span class=&quot;synStatement&quot;&gt;this&lt;/span&gt;._interior.Pattern = &lt;span class=&quot;synStatement&quot;&gt;value&lt;/span&gt;; }
  1600.        }
  1601.    }
  1602.  
  1603. }
  1604. &lt;/pre&gt;
  1605. &lt;/div&gt;
  1606. &lt;div class=&quot;section&quot;&gt;
  1607.    &lt;h5&gt;Form1.cs(使用例)&lt;/h5&gt;
  1608.    &lt;pre class=&quot;code lang-cs&quot; data-lang=&quot;cs&quot; data-unlink&gt;&lt;span class=&quot;synStatement&quot;&gt;using&lt;/span&gt; System;
  1609. &lt;span class=&quot;synStatement&quot;&gt;using&lt;/span&gt; System.Collections.Generic;
  1610. &lt;span class=&quot;synStatement&quot;&gt;using&lt;/span&gt; System.ComponentModel;
  1611. &lt;span class=&quot;synStatement&quot;&gt;using&lt;/span&gt; System.Data;
  1612. &lt;span class=&quot;synStatement&quot;&gt;using&lt;/span&gt; System.Drawing;
  1613. &lt;span class=&quot;synStatement&quot;&gt;using&lt;/span&gt; System.Text;
  1614. &lt;span class=&quot;synStatement&quot;&gt;using&lt;/span&gt; System.Windows.Forms;
  1615.  
  1616. &lt;span class=&quot;synType&quot;&gt;namespace&lt;/span&gt; WindowsFormsApplication1
  1617. {
  1618.    &lt;span class=&quot;synType&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;synStatement&quot;&gt;partial&lt;/span&gt; &lt;span class=&quot;synType&quot;&gt;class&lt;/span&gt; Form1 : Form
  1619.    {
  1620.        &lt;span class=&quot;synType&quot;&gt;public&lt;/span&gt; Form1()
  1621.        {
  1622.            InitializeComponent();
  1623.        }
  1624.  
  1625.        &lt;span class=&quot;synType&quot;&gt;private&lt;/span&gt; &lt;span class=&quot;synType&quot;&gt;void&lt;/span&gt; button1_Click(&lt;span class=&quot;synType&quot;&gt;object&lt;/span&gt; sender, EventArgs e)
  1626.        {
  1627.            lib.SimpleExcel.Application obj_app = &lt;span class=&quot;synStatement&quot;&gt;new&lt;/span&gt; lib.SimpleExcel.Application();
  1628.  
  1629.            &lt;span class=&quot;synComment&quot;&gt;// 確実にオブジェクトを開放する為、usingは必須&lt;/span&gt;
  1630.            &lt;span class=&quot;synStatement&quot;&gt;using&lt;/span&gt; (obj_app)
  1631.            {
  1632.                obj_app.DisplayAlerts = &lt;span class=&quot;synConstant&quot;&gt;false&lt;/span&gt;;
  1633.                obj_app.Visible = &lt;span class=&quot;synConstant&quot;&gt;true&lt;/span&gt;;
  1634.  
  1635.                &lt;span class=&quot;synComment&quot;&gt;// 新規Workbookを開く&lt;/span&gt;
  1636.                lib.SimpleExcel.Workbook obj_workbook = obj_app.Workbooks.Add();
  1637.  
  1638.                &lt;span class=&quot;synComment&quot;&gt;// 不要なSheetを削除&lt;/span&gt;
  1639.                &lt;span class=&quot;synComment&quot;&gt;//      MessageBox.Show(obj_workbook.Sheets.Count.ToString());&lt;/span&gt;
  1640.                &lt;span class=&quot;synStatement&quot;&gt;while&lt;/span&gt; (obj_workbook.Sheets.Count != &lt;span class=&quot;synConstant&quot;&gt;1&lt;/span&gt;)
  1641.                {
  1642.                    obj_workbook.Sheets[&lt;span class=&quot;synConstant&quot;&gt;2&lt;/span&gt;].Delete();
  1643.                }
  1644.                &lt;span class=&quot;synComment&quot;&gt;//      MessageBox.Show(obj_workbook.Sheets.Count.ToString());&lt;/span&gt;
  1645.  
  1646.                &lt;span class=&quot;synComment&quot;&gt;// Sheet名付け&lt;/span&gt;
  1647.                lib.SimpleExcel.Worksheet obj_sheet = obj_workbook.Sheets[&lt;span class=&quot;synConstant&quot;&gt;1&lt;/span&gt;];
  1648.                obj_sheet.Name = &lt;span class=&quot;synConstant&quot;&gt;&amp;quot;data&amp;quot;&lt;/span&gt;;
  1649.  
  1650.                &lt;span class=&quot;synComment&quot;&gt;// 配列データをシートへ複写&lt;/span&gt;
  1651.                &lt;span class=&quot;synType&quot;&gt;object&lt;/span&gt;[,] data = {
  1652.                    { &lt;span class=&quot;synConstant&quot;&gt;&amp;quot;データ0-0&amp;quot;&lt;/span&gt;, &lt;span class=&quot;synConstant&quot;&gt;&amp;quot;データ0-1&amp;quot;&lt;/span&gt; },
  1653.                    { &lt;span class=&quot;synConstant&quot;&gt;&amp;quot;データ1-0&amp;quot;&lt;/span&gt;, &lt;span class=&quot;synConstant&quot;&gt;&amp;quot;データ1-1&amp;quot;&lt;/span&gt; },
  1654.                };
  1655.                obj_sheet.Cells[&lt;span class=&quot;synConstant&quot;&gt;1&lt;/span&gt;, &lt;span class=&quot;synConstant&quot;&gt;1&lt;/span&gt;].Value = data; &lt;span class=&quot;synComment&quot;&gt;// これでは1セルしかコピーされない。&lt;/span&gt;
  1656.                obj_sheet.Range[obj_sheet.Cells[&lt;span class=&quot;synConstant&quot;&gt;3&lt;/span&gt;, &lt;span class=&quot;synConstant&quot;&gt;1&lt;/span&gt;], obj_sheet.Cells[&lt;span class=&quot;synConstant&quot;&gt;4&lt;/span&gt;, &lt;span class=&quot;synConstant&quot;&gt;2&lt;/span&gt;]].Value = data;         &lt;span class=&quot;synComment&quot;&gt;// 明示的に範囲指定&lt;/span&gt;
  1657.                obj_sheet.Cells[&lt;span class=&quot;synConstant&quot;&gt;5&lt;/span&gt;, &lt;span class=&quot;synConstant&quot;&gt;1&lt;/span&gt;].Resize(data.GetLength(&lt;span class=&quot;synConstant&quot;&gt;1&lt;/span&gt;), data.GetLength(&lt;span class=&quot;synConstant&quot;&gt;0&lt;/span&gt;)).Value = data;    &lt;span class=&quot;synComment&quot;&gt;// 配列データをGetLengthして範囲指定&lt;/span&gt;
  1658.  
  1659.                &lt;span class=&quot;synComment&quot;&gt;// セル値を読む&lt;/span&gt;
  1660.                &lt;span class=&quot;synType&quot;&gt;object&lt;/span&gt; val_obj = obj_sheet.Cells[&lt;span class=&quot;synConstant&quot;&gt;4&lt;/span&gt;, &lt;span class=&quot;synConstant&quot;&gt;2&lt;/span&gt;].Value;
  1661.                &lt;span class=&quot;synStatement&quot;&gt;if&lt;/span&gt; ((val_obj &lt;span class=&quot;synStatement&quot;&gt;as&lt;/span&gt; &lt;span class=&quot;synType&quot;&gt;string&lt;/span&gt;) != &lt;span class=&quot;synConstant&quot;&gt;null&lt;/span&gt;)
  1662.                {
  1663.                    MessageBox.Show((&lt;span class=&quot;synType&quot;&gt;string&lt;/span&gt;)val_obj);
  1664.                }
  1665.  
  1666.                &lt;span class=&quot;synComment&quot;&gt;// 取得した型を読む&lt;/span&gt;
  1667.                lib.SimpleExcel.Object obj1 = &lt;span class=&quot;synStatement&quot;&gt;new&lt;/span&gt; lib.SimpleExcel.Object(&lt;span class=&quot;synConstant&quot;&gt;null&lt;/span&gt;, val_obj);
  1668.                &lt;span class=&quot;synComment&quot;&gt;//      MessageBox.Show(obj1.TypeName);&lt;/span&gt;
  1669.  
  1670.                &lt;span class=&quot;synComment&quot;&gt;// 範囲でセル値を読む&lt;/span&gt;
  1671.                val_obj = obj_sheet.Range[obj_sheet.Cells[&lt;span class=&quot;synConstant&quot;&gt;3&lt;/span&gt;, &lt;span class=&quot;synConstant&quot;&gt;1&lt;/span&gt;], obj_sheet.Cells[&lt;span class=&quot;synConstant&quot;&gt;3&lt;/span&gt;, &lt;span class=&quot;synConstant&quot;&gt;2&lt;/span&gt;]].Value;
  1672.                &lt;span class=&quot;synType&quot;&gt;string&lt;/span&gt; str = &lt;span class=&quot;synConstant&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;;
  1673.                &lt;span class=&quot;synStatement&quot;&gt;if&lt;/span&gt; ((val_obj &lt;span class=&quot;synStatement&quot;&gt;as&lt;/span&gt; &lt;span class=&quot;synType&quot;&gt;object&lt;/span&gt;[,]) != &lt;span class=&quot;synConstant&quot;&gt;null&lt;/span&gt;)
  1674.                {
  1675.                    &lt;span class=&quot;synType&quot;&gt;object&lt;/span&gt;[,] obj2 = (&lt;span class=&quot;synType&quot;&gt;object&lt;/span&gt;[,])val_obj;
  1676.                    &lt;span class=&quot;synStatement&quot;&gt;for&lt;/span&gt; (&lt;span class=&quot;synType&quot;&gt;int&lt;/span&gt; row = &lt;span class=&quot;synConstant&quot;&gt;1&lt;/span&gt;; row &amp;lt;= obj2.GetLength(&lt;span class=&quot;synConstant&quot;&gt;0&lt;/span&gt;); row++)
  1677.                    {
  1678.                        &lt;span class=&quot;synStatement&quot;&gt;for&lt;/span&gt; (&lt;span class=&quot;synType&quot;&gt;int&lt;/span&gt; col = &lt;span class=&quot;synConstant&quot;&gt;1&lt;/span&gt;; col &amp;lt;= obj2.GetLength(&lt;span class=&quot;synConstant&quot;&gt;1&lt;/span&gt;); col++)
  1679.                        {
  1680.                            &lt;span class=&quot;synStatement&quot;&gt;if&lt;/span&gt; ((obj2[row, col] &lt;span class=&quot;synStatement&quot;&gt;as&lt;/span&gt; &lt;span class=&quot;synType&quot;&gt;string&lt;/span&gt;) != &lt;span class=&quot;synConstant&quot;&gt;null&lt;/span&gt;)
  1681.                            {
  1682.                                str += (&lt;span class=&quot;synType&quot;&gt;string&lt;/span&gt;)obj2[row, col] + &lt;span class=&quot;synConstant&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;;
  1683.                            }
  1684.                        }
  1685.                        str += &lt;span class=&quot;synConstant&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;synSpecial&quot;&gt;\n&lt;/span&gt;&lt;span class=&quot;synConstant&quot;&gt;&amp;quot;&lt;/span&gt;;
  1686.                    }
  1687.                }
  1688.                &lt;span class=&quot;synComment&quot;&gt;//      MessageBox.Show(str);&lt;/span&gt;
  1689.  
  1690.                &lt;span class=&quot;synComment&quot;&gt;// 行削除&lt;/span&gt;
  1691.                obj_sheet.Rows(&lt;span class=&quot;synConstant&quot;&gt;1&lt;/span&gt;).Delete();
  1692.                obj_sheet.Rows(&lt;span class=&quot;synConstant&quot;&gt;1&lt;/span&gt;).Delete();
  1693.                obj_sheet.Rows(&lt;span class=&quot;synConstant&quot;&gt;1&lt;/span&gt;).Delete();
  1694.                obj_sheet.Rows(&lt;span class=&quot;synConstant&quot;&gt;1&lt;/span&gt;).Delete();
  1695.  
  1696.                obj_app.Quit();
  1697.  
  1698.                &lt;span class=&quot;synComment&quot;&gt;//      MessageBox.Show(&amp;quot;ComObjectCounter=&amp;quot; + lib.SimpleExcel.Base.ComObjectCounter.ToString());&lt;/span&gt;
  1699.            }
  1700.            &lt;span class=&quot;synComment&quot;&gt;//  MessageBox.Show(&amp;quot;ComObjectCounter=&amp;quot; + lib.SimpleExcel.Base.ComObjectCounter.ToString());&lt;/span&gt;
  1701.            obj_app = &lt;span class=&quot;synConstant&quot;&gt;null&lt;/span&gt;;
  1702.  
  1703.        }
  1704.    }
  1705. }
  1706. &lt;/pre&gt;
  1707. &lt;/div&gt;
  1708. &lt;/div&gt;</content>        
  1709.        <category term="c#" label="c#" />
  1710.        
  1711.        <category term="excel" label="excel" />
  1712.        
  1713.        <link rel="enclosure" href="https://cdn.blog.st-hatena.com/images/theme/og-image-1500.png" type="image/png" length="0" />
  1714.  
  1715.        <author>
  1716.            <name>gounx2</name>
  1717.        </author>
  1718.    </entry>
  1719.    
  1720.  
  1721.    
  1722.    
  1723.    <entry>
  1724.        <title>google chrome で pukiwiki の セクション編集ができない。</title>
  1725.        <link href="https://gounx2.hatenadiary.org/entry/20090207/1233979217"/>
  1726.        <id>hatenablog://entry/17680117127136074564</id>
  1727.        <published>2009-02-07T13:00:17+09:00</published>
  1728.        <updated>2019-05-17T03:30:30+09:00</updated>        <summary type="html">google chrome 試してみた。 速くていいんだけど、pukiwikiのセクション編集(secedit.inc.php)ができない。 pukiwikiはbasic認証を使ってる。 普通の「編集」は行える。 ところが、セクションの横に編集アイコンが表示されない。 $_SERVERを見てみると、PHP_AUTH_USER が含まれていないので、 chromeが ユーザ名/パスワード を送ってきていないのだろう。 (firefoxでは含まれてた)解決方法は今のところ不明。</summary>
  1729.        <content type="html">&lt;p&gt;&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/google%20chrome&quot;&gt;google chrome&lt;/a&gt; 試してみた。&lt;br /&gt;
  1730. 速くていいんだけど、&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/pukiwiki&quot;&gt;pukiwiki&lt;/a&gt;のセクション編集(secedit.inc.&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/php&quot;&gt;php&lt;/a&gt;)ができない。&lt;/p&gt;
  1731.  
  1732. &lt;ul&gt;
  1733. &lt;li&gt;&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/pukiwiki&quot;&gt;pukiwiki&lt;/a&gt;は&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/basic%C7%A7%BE%DA&quot;&gt;basic認証&lt;/a&gt;を使ってる。&lt;/li&gt;
  1734. &lt;li&gt;普通の「編集」は行える。&lt;/li&gt;
  1735. &lt;li&gt;ところが、セクションの横に編集アイコンが表示されない。&lt;/li&gt;
  1736. &lt;/ul&gt;&lt;p&gt;$_SERVERを見てみると、&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/PHP&quot;&gt;PHP&lt;/a&gt;_AUTH_USER が含まれていないので、&lt;br /&gt;
  1737. &lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/chrome&quot;&gt;chrome&lt;/a&gt;が ユーザ名/パスワード を送ってきていないのだろう。&lt;br /&gt;
  1738. (&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/firefox&quot;&gt;firefox&lt;/a&gt;では含まれてた)&lt;/p&gt;&lt;p&gt;解決方法は今のところ不明。&lt;/p&gt;
  1739. </content>        
  1740.        <category term="pukiwiki" label="pukiwiki" />
  1741.        
  1742.        <link rel="enclosure" href="https://cdn.blog.st-hatena.com/images/theme/og-image-1500.png" type="image/png" length="0" />
  1743.  
  1744.        <author>
  1745.            <name>gounx2</name>
  1746.        </author>
  1747.    </entry>
  1748.    
  1749.  
  1750.    
  1751.    
  1752.    <entry>
  1753.        <title>lingr rhaco-ja 私的メモ 2008-08から今日まで</title>
  1754.        <link href="https://gounx2.hatenadiary.org/entry/20080910/1221044219"/>
  1755.        <id>hatenablog://entry/17680117127136074659</id>
  1756.        <published>2008-09-10T19:56:59+09:00</published>
  1757.        <updated>2019-05-17T03:30:31+09:00</updated>        <summary type="html">最近rhacoから遠のいてたので rhaco-ja を読んでみた。 ついでに私的メモ!!20080801、nazo LivedoorAuth作る http://www.lingr.com/room/rhaco-ja/archives/2008/08/01#msg-43866443!!20080801、tokushima Variable::parseJson作る(Variable::toJsonの逆) http://www.lingr.com/room/rhaco-ja/archives/2008/08/01#msg-43880050!!20080804、riaf mixiエコーで遊んでる h…</summary>
  1758.        <content type="html">&lt;p&gt;最近&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/rhaco&quot;&gt;rhaco&lt;/a&gt;から遠のいてたので &lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/rhaco&quot;&gt;rhaco&lt;/a&gt;-ja を読んでみた。&lt;br /&gt;
  1759. ついでに私的メモ&lt;/p&gt;&lt;p&gt;!!20080801、nazo LivedoorAuth作る&lt;br /&gt;
  1760. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/08/01#msg-43866443&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/08/01#msg-43866443&lt;/a&gt;&lt;/p&gt;&lt;p&gt;!!20080801、tokushima Variable::parseJson作る(Variable::toJsonの逆)&lt;br /&gt;
  1761. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/08/01#msg-43880050&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/08/01#msg-43880050&lt;/a&gt;&lt;/p&gt;&lt;p&gt;!!20080804、riaf &lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/mixi&quot;&gt;mixi&lt;/a&gt;エコーで遊んでる&lt;br /&gt;
  1762. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/08/04#msg-44131805&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/08/04#msg-44131805&lt;/a&gt;&lt;br /&gt;
  1763. submitボタンに名前がないとBrowser-&gt;submit()できないとかなんとか&lt;/p&gt;&lt;p&gt;!!20080805、&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/google&quot;&gt;google&lt;/a&gt; groupsに投稿&lt;br /&gt;
  1764. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/08/05#msg-44140336&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/08/05#msg-44140336&lt;/a&gt;&lt;br /&gt;
  1765. # network.http.RequestLoginでは同一ブラウザセッションで複数ログイン情報を保持するようにはなっていません。&lt;br /&gt;
  1766. # 仕様です。 &lt;/p&gt;&lt;p&gt;!!20080805、shigepon YahooMAServiceうごかんで悩む&lt;br /&gt;
  1767. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/08/05#msg-44173755&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/08/05#msg-44173755&lt;/a&gt;&lt;br /&gt;
  1768. arboとかはtrunkに追従してないので地雷っと&lt;br /&gt;
  1769. ん?Yahoo側?ま。いいか。&lt;/p&gt;&lt;p&gt;!!20080805、riaf &lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/mysql&quot;&gt;mysql&lt;/a&gt;の&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%A5%C8%A5%E9%A5%F3%A5%B6%A5%AF%A5%B7%A5%E7%A5%F3&quot;&gt;トランザクション&lt;/a&gt;エラーにはまる&lt;br /&gt;
  1770. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/08/05#msg-44187832&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/08/05#msg-44187832&lt;/a&gt;&lt;/p&gt;&lt;p&gt;!!20080806、tokushima &lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/Rhaco&quot;&gt;Rhaco&lt;/a&gt;::import(&quot;org.&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/rhaco&quot;&gt;rhaco&lt;/a&gt;.arbo.network.SvnLogger&quot;) &lt;br /&gt;
  1771. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/08/06#msg-44212067&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/08/06#msg-44212067&lt;/a&gt;&lt;br /&gt;
  1772. # いまさらなんだけど&lt;br /&gt;
  1773. # &lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/Rhaco&quot;&gt;Rhaco&lt;/a&gt;::import(&quot;org.&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/rhaco&quot;&gt;rhaco&lt;/a&gt;.arbo.network.SvnLogger&quot;)&lt;br /&gt;
  1774. # にしてもいい? &lt;/p&gt;&lt;p&gt;!!20080806、frameworkfightは9末&lt;br /&gt;
  1775. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/08/06#msg-44248001&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/08/06#msg-44248001&lt;/a&gt;&lt;/p&gt;&lt;p&gt;!!20080806、Variable::parseJsonのバグとか&lt;br /&gt;
  1776. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/08/06#msg-44256530&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/08/06#msg-44256530&lt;/a&gt;&lt;/p&gt;&lt;p&gt;!!20080806、yabeken projext.&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/xml&quot;&gt;xml&lt;/a&gt;デザイナ作る&lt;br /&gt;
  1777. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/08/06#msg-44270972&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/08/06#msg-44270972&lt;/a&gt;&lt;br /&gt;
  1778. 20080813 サービス化&lt;br /&gt;
  1779. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/08/13#msg-44707280&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/08/13#msg-44707280&lt;/a&gt;&lt;/p&gt;&lt;p&gt;!!20080807、shigepon TableObjectUtil::extractionTableColumnが消えててはまる&lt;br /&gt;
  1780. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/08/07#msg-44311102&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/08/07#msg-44311102&lt;/a&gt;&lt;br /&gt;
  1781. # !&lt;a href=&quot;http://rhaco.org/svn/rhaco/3155/trunk/database/TableObjectUtil.php&quot;&gt;http://rhaco.org/svn/rhaco/3155/trunk/database/TableObjectUtil.php&lt;/a&gt;&lt;br /&gt;
  1782. # 1.4.9でdeprecated&lt;br /&gt;
  1783. # きっとやってることが単純で、使用することがなかったから消したんだなぁ &lt;/p&gt;&lt;p&gt;!!20080807、&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/kanonji&quot;&gt;kanonji&lt;/a&gt; project.&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/xml&quot;&gt;xml&lt;/a&gt;を書くのに&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/XML&quot;&gt;XML&lt;/a&gt;エディタとか使ってます? &lt;br /&gt;
  1784. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/08/07#msg-44312403&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/08/07#msg-44312403&lt;/a&gt;&lt;/p&gt;&lt;p&gt;!!20080807、project*.xsdの話&lt;br /&gt;
  1785. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/08/07#msg-44312825&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/08/07#msg-44312825&lt;/a&gt;&lt;br /&gt;
  1786. xsdはテキトー&lt;/p&gt;&lt;p&gt;!!20080807、riaf む、&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/COOKIE&quot;&gt;COOKIE&lt;/a&gt;の値は request-&gt;session に入るのか &lt;br /&gt;
  1787. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/08/07#msg-44321364&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/08/07#msg-44321364&lt;/a&gt;&lt;br /&gt;
  1788. クッキーなんかー&lt;/p&gt;&lt;p&gt;!!20080807、riaf LoginCondition だけ使い回そうと思ってるので &lt;br /&gt;
  1789. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/08/07#msg-44321761&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/08/07#msg-44321761&lt;/a&gt;&lt;br /&gt;
  1790. あー。singletonじゃないんだよね。。。&lt;br /&gt;
  1791. newすれば同じオブジェクトが生成されるんだろうけど。ちょっときもい。&lt;br /&gt;
  1792. cloneすればいいのか。&lt;/p&gt;&lt;p&gt;!!20080807、shigepon PDTってちゃんとコメントの@paramにクラス名書いたら補完してくれるんだ!知らなかった&lt;br /&gt;
  1793. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/08/07#msg-44322181&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/08/07#msg-44322181&lt;/a&gt;&lt;br /&gt;
  1794. # tokushima&lt;br /&gt;
  1795. # それでフルパスで書くかクラス名だけにするか悩みます &lt;br /&gt;
  1796. 補完優先=クラス名だけ&lt;br /&gt;
  1797. がいいなぁ。。&lt;/p&gt;&lt;p&gt;!!20080807、shigepon データ作成君は&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/sqlite&quot;&gt;sqlite&lt;/a&gt;のdbが必須になるんですが(しかもサイズが・・・)どうしましょう? &lt;br /&gt;
  1798. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/08/07#msg-44327086&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/08/07#msg-44327086&lt;/a&gt;&lt;/p&gt;&lt;p&gt;!!20080808、shigepon あれーBirthday型でinsert出来ないっすよ>< &lt;br /&gt;
  1799. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/08/08#msg-44354082&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/08/08#msg-44354082&lt;/a&gt;&lt;br /&gt;
  1800. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/08/08#msg-44377570&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/08/08#msg-44377570&lt;/a&gt;&lt;/p&gt;&lt;p&gt;!!20080808、shigepon &lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/rhaco&quot;&gt;rhaco&lt;/a&gt;か&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/conveyor&quot;&gt;conveyor&lt;/a&gt;で出展してくれないかと言われたんですが、どーしよーか悩み中・・・ &lt;br /&gt;
  1801. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/08/08#msg-44380625&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/08/08#msg-44380625&lt;/a&gt;&lt;/p&gt;&lt;p&gt;!!20080808、tokushima つーわけで&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/CSV&quot;&gt;CSV&lt;/a&gt;のパーサ作った &lt;br /&gt;
  1802. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/08/08#msg-44384350&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/08/08#msg-44384350&lt;/a&gt;&lt;/p&gt;&lt;p&gt;!!20080808、tokushima &lt;a href=&quot;http://blog.shigepon.com/snippet42&quot;&gt;http://blog.shigepon.com/snippet42&lt;/a&gt; へのつっこみ&lt;br /&gt;
  1803. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/08/08#msg-44394358&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/08/08#msg-44394358&lt;/a&gt;&lt;/p&gt;&lt;p&gt;!!20080809、tokushima php4捨てて、rhaco2.0へな話&lt;br /&gt;
  1804. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/08/09#msg-44420539&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/08/09#msg-44420539&lt;/a&gt;&lt;/p&gt;&lt;p&gt;!!20080809、frameworkfightとかrhaco2とかtry〜catchとかphp5.3の話&lt;br /&gt;
  1805. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/08/09#msg-44454830&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/08/09#msg-44454830&lt;/a&gt;&lt;/p&gt;&lt;p&gt;!!20080809、tokushima parseJson vs &lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/json&quot;&gt;json&lt;/a&gt;_decode&lt;br /&gt;
  1806. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/08/09#msg-44459650&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/08/09#msg-44459650&lt;/a&gt;&lt;/p&gt;&lt;p&gt;!!20080810、shigepon potファイル辞書変換サービス作った&lt;br /&gt;
  1807. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/08/10#msg-44487854&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/08/10#msg-44487854&lt;/a&gt;&lt;/p&gt;&lt;p&gt;!!20080811、jigen &lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/mysql&quot;&gt;mysql&lt;/a&gt;&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%A5%AB%A5%E9%A5%E0%CC%BE&quot;&gt;カラム名&lt;/a&gt;に&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%CD%BD%CC%F3%B8%EC&quot;&gt;予約語&lt;/a&gt;使える?&lt;br /&gt;
  1808. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/08/11#msg-44606038&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/08/11#msg-44606038&lt;/a&gt;&lt;/p&gt;&lt;p&gt;!!20080811、&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/kanonji&quot;&gt;kanonji&lt;/a&gt; 配列から&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/XML&quot;&gt;XML&lt;/a&gt;を生成できたりするクラス、あったりしませんか?&lt;br /&gt;
  1809. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/08/11#msg-44617705&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/08/11#msg-44617705&lt;/a&gt;&lt;/p&gt;&lt;p&gt;!!20080812、tokushima 仕様かえまくりますよ?w &lt;br /&gt;
  1810. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/08/12#msg-44697761&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/08/12#msg-44697761&lt;/a&gt;&lt;br /&gt;
  1811. rhaco2.0の話。はりきってらっしゃる。イヒ&lt;/p&gt;&lt;p&gt;!!20080813 tokushima arbo,jajaのPHP5棲み分けをした方がいいのか、全部PHP5で書き直すのかw &lt;br /&gt;
  1812. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/08/13#msg-44705089&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/08/13#msg-44705089&lt;/a&gt;&lt;/p&gt;&lt;p&gt;!!20080813 tokushima すでに1.6.0もreleasedだったり &lt;br /&gt;
  1813. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/08/13#msg-44733978&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/08/13#msg-44733978&lt;/a&gt;&lt;/p&gt;&lt;p&gt;!!20080813 &lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/kanonji&quot;&gt;kanonji&lt;/a&gt; &lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/Rhaco&quot;&gt;Rhaco&lt;/a&gt;::constant()に使える定数名って何かルールありますか?&lt;br /&gt;
  1814. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/08/13#msg-44746764&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/08/13#msg-44746764&lt;/a&gt;&lt;/p&gt;&lt;p&gt;!!20080813 nazo 普通にnetwork.services.WassrAuthで作りますよw &lt;br /&gt;
  1815. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/08/15#msg-44877724&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/08/15#msg-44877724&lt;/a&gt;&lt;/p&gt;&lt;p&gt;!!20080813 tokushima ところで、今後getter/setter的なメソッド定義はやめるよ &lt;br /&gt;
  1816. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/08/15#msg-44888541&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/08/15#msg-44888541&lt;/a&gt;&lt;br /&gt;
  1817. rhaco2.0の話&lt;br /&gt;
  1818. # tokushima&lt;br /&gt;
  1819. # ところで、今後getter/setter的なメソッド定義はやめるよ&lt;br /&gt;
  1820. # $&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/hoge&quot;&gt;hoge&lt;/a&gt;-&gt;getAbc() とかしてたのは $&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/hoge&quot;&gt;hoge&lt;/a&gt;-&gt;abc()になっていくよ public $abc だよ&lt;br /&gt;
  1821. # いいね?&lt;br /&gt;
  1822. # lang.model.Obj継承するよ いいね?&lt;br /&gt;
  1823. # ついでにsetは$&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/hoge&quot;&gt;hoge&lt;/a&gt;-&gt;abc(&quot;bbbb&quot;); だよ&lt;br /&gt;
  1824. # ついでに、boolean を返すのは $&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/hoge&quot;&gt;hoge&lt;/a&gt;-&gt;isAbc() だよ&lt;br /&gt;
  1825. # だから、全部アプリ書き直す覚悟してねw&lt;br /&gt;
  1826. # tokushima&lt;br /&gt;
  1827. # getVariable()&lt;br /&gt;
  1828. # とかもvar()かvariable()に変えると思うよ わかったね?w&lt;br /&gt;
  1829. # tokushima&lt;br /&gt;
  1830. # static なライブラリ系はあんまり使い方変わらないと思うよ よかったねw&lt;br /&gt;
  1831. # ただObject系は、内部仕様かわるかもよ ハッシュ返してたのをstdClass返したりするかもよ&lt;br /&gt;
  1832. # だいたいの方針は分かったね? 今2.0.0に手を出すのは危険な事は分かったね?w &lt;/p&gt;&lt;p&gt;!!20080818 tokushima&lt;br /&gt;
  1833. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/08/18#msg-45113530&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/08/18#msg-45113530&lt;/a&gt;&lt;br /&gt;
  1834. rhaco2.0の話&lt;/p&gt;&lt;p&gt;!!20080819 shigepon テンプレート内容を当てはめた結果を出力しないで得る方法って他にありましたっけ? &lt;br /&gt;
  1835. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/08/19#msg-45166007&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/08/19#msg-45166007&lt;/a&gt;&lt;br /&gt;
  1836. # tokushima&lt;br /&gt;
  1837. # Flow-&gt;parser()-&gt;read()ですかね &lt;/p&gt;&lt;p&gt;!!20080819 tokushima 誰か&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/wassr&quot;&gt;wassr&lt;/a&gt;の購読ユーザ一覧を取得するの作って>< &lt;br /&gt;
  1838. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/08/19#msg-45166669&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/08/19#msg-45166669&lt;/a&gt;&lt;/p&gt;&lt;p&gt;!!20080819 tokushima &lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/conveyor&quot;&gt;conveyor&lt;/a&gt; 1.6.0で動くようにするべきかなぁ &lt;br /&gt;
  1839. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/08/19#msg-45177721&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/08/19#msg-45177721&lt;/a&gt;&lt;/p&gt;&lt;p&gt;!!20080819 &lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/kanonji&quot;&gt;kanonji&lt;/a&gt; 以前&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/rhaco&quot;&gt;rhaco&lt;/a&gt;はMTVを採用している見たいな事を聞いたような聞かなかったような&lt;br /&gt;
  1840. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/08/19#msg-45183578&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/08/19#msg-45183578&lt;/a&gt;&lt;/p&gt;&lt;p&gt;!!20080819 tokushima 要約すると &lt;br /&gt;
  1841. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/08/19#msg-45185229&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/08/19#msg-45185229&lt;/a&gt;&lt;br /&gt;
  1842. rhaco2.0の話&lt;/p&gt;&lt;p&gt;!!20080820 &lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/kanonji&quot;&gt;kanonji&lt;/a&gt; 1.5から1.6に変えたらaddr.Lがimportされなくなってて若干はまったりしましたけどw &lt;br /&gt;
  1843. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/08/20#msg-45213970&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/08/20#msg-45213970&lt;/a&gt;&lt;/p&gt;&lt;p&gt;!!20080820 &lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/kanonji&quot;&gt;kanonji&lt;/a&gt; Logger::setPublisherって function debug($&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/value&quot;&gt;value&lt;/a&gt;){独自の処理}等を定義したobjを渡すんですか?&lt;br /&gt;
  1844. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/08/20#msg-45215264&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/08/20#msg-45215264&lt;/a&gt;&lt;/p&gt;&lt;p&gt;!!20080820 &lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/kanonji&quot;&gt;kanonji&lt;/a&gt; あっれ、テンプレートの{$f.text2html}の$fって中身なんですか?&lt;br /&gt;
  1845. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/08/20#msg-45245328&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/08/20#msg-45245328&lt;/a&gt;&lt;/p&gt;&lt;p&gt;!!20080821 shigepon DbUtilにcreateは無いって書きましたが良かったでしょうか?&lt;br /&gt;
  1846. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/08/21#msg-45308108&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/08/21#msg-45308108&lt;/a&gt;&lt;/p&gt;&lt;p&gt;!!20080821 yabeken generic.Viewsでproject.&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/xml&quot;&gt;xml&lt;/a&gt;でdefineした定数をテンプレート内から呼ぶ方法ってありますか? &lt;br /&gt;
  1847. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/08/21#msg-45318275&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/08/21#msg-45318275&lt;/a&gt;&lt;/p&gt;&lt;p&gt;!!20080821 &lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/kanonji&quot;&gt;kanonji&lt;/a&gt; いろんなクラスがsetVariable()、getVariable()持ってるじゃないですか? &lt;br /&gt;
  1848. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/08/21#msg-45344657&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/08/21#msg-45344657&lt;/a&gt;&lt;br /&gt;
  1849. # tokushima&lt;br /&gt;
  1850. # んー&lt;br /&gt;
  1851. # &lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/Rhaco&quot;&gt;Rhaco&lt;/a&gt;は&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%A5%B0%A5%ED%A1%BC%A5%D0%A5%EB%CA%D1%BF%F4&quot;&gt;グローバル変数&lt;/a&gt;なイメージで&lt;br /&gt;
  1852. # TagParserはテンプレート変数で&lt;br /&gt;
  1853. # RequestはPOST/GETですね &lt;/p&gt;&lt;p&gt;!!20080822 tokushima &lt;form rt:reference=&quot;true&quot;&gt; の話&lt;br /&gt;
  1854. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/08/22#msg-45348524&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/08/22#msg-45348524&lt;/a&gt;&lt;/p&gt;&lt;p&gt;!!20080822 shigepon nazoさんが&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/OpenID&quot;&gt;OpenID&lt;/a&gt;を実装してくれるんですか!?すげー! &lt;br /&gt;
  1855. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/08/22#msg-45382720&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/08/22#msg-45382720&lt;/a&gt;&lt;/p&gt;&lt;p&gt;!!20080822 tokushima Atom0.3とかRSS1.0/0.9ってまだいりますかねー? &lt;br /&gt;
  1856. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/08/22#msg-45384531&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/08/22#msg-45384531&lt;/a&gt;&lt;/p&gt;&lt;p&gt;!!20080822 yabeken DateUtil::weekday($year,$month,$day); //曜日を返す。が欲しいけどどうしたものか・・・&lt;br /&gt;
  1857. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/08/22#msg-45391118&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/08/22#msg-45391118&lt;/a&gt;&lt;/p&gt;&lt;p&gt;!!20080822 yabeken 1.6.1コミットルール&lt;br /&gt;
  1858. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/08/22#msg-45395810&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/08/22#msg-45395810&lt;/a&gt;&lt;br /&gt;
  1859. # yabeken&lt;br /&gt;
  1860. # 1.6.1コミットルール&lt;br /&gt;
  1861. # テストに通っていないコードはコミットしない。&lt;br /&gt;
  1862. # テストの追加は認めるが、バグ以外でのテストの修正は認めない。&lt;br /&gt;
  1863. # コミットログに追加したメソッドと、追加した理由を書く。&lt;br /&gt;
  1864. # phpdocとdoctestはきちんと書く。&lt;/p&gt;&lt;p&gt;!!20080822 nazo &lt;a href=&quot;http://nazone.info/tmp/openidrhaco.zip&quot;&gt;http://nazone.info/tmp/openidrhaco.zip&lt;/a&gt;&lt;br /&gt;
  1865. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/08/22#msg-45401901&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/08/22#msg-45401901&lt;/a&gt;&lt;/p&gt;&lt;p&gt;!!20080822 &lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/kanonji&quot;&gt;kanonji&lt;/a&gt; Variable::toSimpleTag()で配列を&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/XML&quot;&gt;XML&lt;/a&gt;に変換してるんですが、配列の値に&lt;とか&gt;とか&amp;があるのを何とかしてくれる機能って無いですか?&lt;br /&gt;
  1866. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/08/22#msg-45402664&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/08/22#msg-45402664&lt;/a&gt;&lt;/p&gt;&lt;p&gt;!!20080823 tokushima getHoge setHoge verifyHoge arrayHoge &lt;br /&gt;
  1867. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/08/23#msg-45429899&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/08/23#msg-45429899&lt;/a&gt;&lt;br /&gt;
  1868. rhaco2.0の話&lt;/p&gt;&lt;p&gt;!!20080823 &lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/kanonji&quot;&gt;kanonji&lt;/a&gt; &lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/rhaco&quot;&gt;rhaco&lt;/a&gt;だとvalidateとverifyは同じ意味だったんですか? &lt;br /&gt;
  1869. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/08/23#msg-45440083&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/08/23#msg-45440083&lt;/a&gt;&lt;/p&gt;&lt;p&gt;!!20080823 tokushima dbUtilでのチェックでverify失敗したら***Exceptionがraisされていて、それを&lt;rt:invalid /&gt;で表示できます &lt;br /&gt;
  1870. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/08/23#msg-45440648&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/08/23#msg-45440648&lt;/a&gt;&lt;/p&gt;&lt;p&gt;!!20080826 tokushima Objって名前どうなんだろとか思いだしている今日この頃 &lt;br /&gt;
  1871. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/08/26#msg-45697305&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/08/26#msg-45697305&lt;/a&gt;&lt;br /&gt;
  1872. &lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%CC%BF%CC%BE&quot;&gt;命名&lt;/a&gt;ってむずかしい&lt;/p&gt;&lt;p&gt;!!20080823 tokushima &lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/Pear&quot;&gt;Pear&lt;/a&gt;::DocTest vs &lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/Rhaco&quot;&gt;Rhaco&lt;/a&gt;&lt;br /&gt;
  1873. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/08/26#msg-45718444&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/08/26#msg-45718444&lt;/a&gt;&lt;/p&gt;&lt;p&gt;!!20080827 NEKOGET rhacoTシャツ着たアバタ&lt;br /&gt;
  1874. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/08/27#msg-45793585&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/08/27#msg-45793585&lt;/a&gt;&lt;br /&gt;
  1875. cool!&lt;/p&gt;&lt;p&gt;!!20080829 nazo &lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/rhaco&quot;&gt;rhaco&lt;/a&gt;のtrunkって今はもう動いてないんですか? &lt;br /&gt;
  1876. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/08/29#msg-45933357&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/08/29#msg-45933357&lt;/a&gt;&lt;br /&gt;
  1877. # tokushima&lt;br /&gt;
  1878. # 1.6.*は&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/google&quot;&gt;google&lt;/a&gt; codeでバグ修正程度をやってます&lt;br /&gt;
  1879. # sfのtrunkは2.0が固まるまで放置&lt;br /&gt;
  1880. # ので、1.6.&lt;br /&gt;
  1881. # 1.6.*は&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/google&quot;&gt;google&lt;/a&gt; codeが最新です &lt;/p&gt;&lt;p&gt;!!20080829 tokushima DBもPDOにしようかね &lt;br /&gt;
  1882. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/08/29#msg-45974174&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/08/29#msg-45974174&lt;/a&gt;&lt;/p&gt;&lt;p&gt;!!20080831 toHashでintval &lt;a href=&quot;http://fixdap.com/p/rhaco/16968/&quot;&gt;http://fixdap.com/p/rhaco/16968/&lt;/a&gt;&lt;br /&gt;
  1883. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/08/31#msg-46124590&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/08/31#msg-46124590&lt;/a&gt;&lt;/p&gt;&lt;p&gt;!!20080901 riaf テンプレートで変数を国際化関数にぶちこみたいときはどうしたらいいですか &lt;br /&gt;
  1884. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/09/01#msg-46137834&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/09/01#msg-46137834&lt;/a&gt;&lt;br /&gt;
  1885. # tokushima&lt;br /&gt;
  1886. # _({$&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/hoge&quot;&gt;hoge&lt;/a&gt;}) でうまくいかなかったら $parser-&gt;setVariabe(&quot;&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/hoge&quot;&gt;hoge&lt;/a&gt;&quot;,Message::_(&quot;ほげほげ&quot;));&lt;br /&gt;
  1887. # どっちか &lt;/p&gt;&lt;p&gt;!!20080901 &lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/kanonji&quot;&gt;kanonji&lt;/a&gt; # RewriteRule ^(.+)$ index.&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/php&quot;&gt;php&lt;/a&gt;?%{&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/QUERY_STRING&quot;&gt;QUERY_STRING&lt;/a&gt;}&amp;pathinfo=$1 [L] これってindex.&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/php&quot;&gt;php&lt;/a&gt;?foo=bar&amp;pathinfo=&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/hoge&quot;&gt;hoge&lt;/a&gt;見たいになると思うんですが &lt;br /&gt;
  1888. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/09/01#msg-46138494&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/09/01#msg-46138494&lt;/a&gt;&lt;/p&gt;&lt;p&gt;!!20080901 &lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/kanonji&quot;&gt;kanonji&lt;/a&gt; validateの話、TableObjectUtil::cast、TableObjectVerify::verifyとか&lt;br /&gt;
  1889. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/09/01#msg-46178390&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/09/01#msg-46178390&lt;/a&gt;&lt;/p&gt;&lt;p&gt;!!20080901 nazo 前に言ったformのvalidationの話の予感! &lt;br /&gt;
  1890. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/09/01#msg-46179212&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/09/01#msg-46179212&lt;/a&gt;&lt;br /&gt;
  1891. そのあたりは、みんなテキトー?にやってるんだー&lt;br /&gt;
  1892. 2ヶ月前ぐらいからおいらも悩んで、&lt;br /&gt;
  1893. &lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/rhaco&quot;&gt;rhaco&lt;/a&gt;の上に俺俺&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%A5%D5%A5%EC%A1%BC%A5%E0%A5%EF%A1%BC%A5%AF&quot;&gt;フレームワーク&lt;/a&gt;?作ってとかやってたんだけど放置。&lt;br /&gt;
  1894. project.&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/xml&quot;&gt;xml&lt;/a&gt;に書いてるValidateを取り込めるようにした&lt;br /&gt;
  1895. FormValidaterクラス作って、それを各クラス用にカスタマイズしてとかやろうとしてた。&lt;/p&gt;&lt;p&gt;!!20080901 &lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/kanonji&quot;&gt;kanonji&lt;/a&gt; Request::isValid()で見るExceptionTrigger::invalid(&quot;request&quot;);ってどういった類の例外が入るんでしょう? &lt;br /&gt;
  1896. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/09/01#msg-46182006&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/09/01#msg-46182006&lt;/a&gt;&lt;/p&gt;&lt;p&gt;!!20080902 tokushima search_fields,ordering,form_display,list_display &lt;br /&gt;
  1897. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/09/02#msg-46258523&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/09/02#msg-46258523&lt;/a&gt;&lt;br /&gt;
  1898. # tokushima&lt;br /&gt;
  1899. # です&lt;br /&gt;
  1900. # list_displayが一覧表示&lt;br /&gt;
  1901. # search_fieldsが一覧での検索対象&lt;br /&gt;
  1902. # orderingが一覧での表示順序&quot;ordering&quot;=&gt;&quot;column1,-column2&quot; &lt;/p&gt;&lt;p&gt;!!20080903 &lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/kanonji&quot;&gt;kanonji&lt;/a&gt; $result=$db-&gt;select(new Product(),new Criteria(...)); new Product()ってなんか冗長じゃないのかな&lt;br /&gt;
  1903. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/09/03#msg-46352746&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/09/03#msg-46352746&lt;/a&gt;&lt;/p&gt;&lt;p&gt;!!20080904 &lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/kanonji&quot;&gt;kanonji&lt;/a&gt; TableObjec、beforeInsert() beforeUpdate() verify*() とかの話&lt;br /&gt;
  1904. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/09/04#msg-46422660&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/09/04#msg-46422660&lt;/a&gt;&lt;/p&gt;&lt;p&gt;!!20080904 &lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/kanonji&quot;&gt;kanonji&lt;/a&gt; potの話&lt;br /&gt;
  1905. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/09/04#msg-46424559&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/09/04#msg-46424559&lt;/a&gt;&lt;br /&gt;
  1906. potは未開拓>おいら&lt;/p&gt;&lt;p&gt;!!20080904 nazo 最近のらこらーはViewsを使うのが基本なんでしょうか>< &lt;br /&gt;
  1907. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/09/04#msg-46427208&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/09/04#msg-46427208&lt;/a&gt;&lt;/p&gt;&lt;p&gt;!!20080904 shigepon &lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/rhaco&quot;&gt;rhaco&lt;/a&gt;のデフォルトテンプレートを&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/css&quot;&gt;css&lt;/a&gt;だけ書き換えたいなーと思ったことあります &lt;br /&gt;
  1908. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/09/04#msg-46435657&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/09/04#msg-46435657&lt;/a&gt;&lt;br /&gt;
  1909. # shigepon&lt;br /&gt;
  1910. # ¶ 例えば&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/rhaco&quot;&gt;rhaco&lt;/a&gt;のresources/templates/generic/views以下とか&lt;br /&gt;
  1911. # Viewsで特にテンプレート指定しないとここのファイルが使われるはずなんですが&lt;br /&gt;
  1912. # 中身はこのままで良いんですが、デザイン(&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/CSS&quot;&gt;CSS&lt;/a&gt;)だけ変えたいなーと思ったことがあるんです &lt;br /&gt;
  1913. # shigepon&lt;br /&gt;
  1914. # form_displayで順序や表示したい内容を呼び出すというやり方もここに書いてます。ここを参考にしないとまず分からないっすw &lt;/p&gt;&lt;p&gt;!!20080905 nazo &lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/OpenID&quot;&gt;OpenID&lt;/a&gt;が動かないのを調べる &lt;br /&gt;
  1915. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/09/05#msg-46512561&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/09/05#msg-46512561&lt;/a&gt;&lt;/p&gt;&lt;p&gt;!!20080905 yabeken &lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/IE&quot;&gt;IE&lt;/a&gt;+&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/HTTPS&quot;&gt;HTTPS&lt;/a&gt;でダウンロードするときは、session_cache_limiter(&quot;public&quot;)とかないわー &lt;br /&gt;
  1916. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/09/05#msg-46521501&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/09/05#msg-46521501&lt;/a&gt;&lt;br /&gt;
  1917. # yabeken&lt;br /&gt;
  1918. # usesessionオーバーライドすることにします&lt;br /&gt;
  1919. # 普段はnocache&lt;br /&gt;
  1920. # DL時はpublic&lt;/p&gt;&lt;p&gt;!!20080905 nazo &lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/OpenID&quot;&gt;OpenID&lt;/a&gt; &lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/livedoor&quot;&gt;livedoor&lt;/a&gt;とyahooもログインできるようになった &lt;br /&gt;
  1921. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/09/05#msg-46525223&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/09/05#msg-46525223&lt;/a&gt;&lt;/p&gt;&lt;p&gt;!!20080905 &lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/kanonji&quot;&gt;kanonji&lt;/a&gt; RequestLoginはstaticに使うみたいな事を見かけたんですがExample extends Flowのメソッドで$this-&gt;loginRequired($condition, $this);こう使うのはNGですか? &lt;br /&gt;
  1922. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/09/05#msg-46531515&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/09/05#msg-46531515&lt;/a&gt;&lt;/p&gt;&lt;p&gt;!!20080905 shigepon &lt;rt:invalid&gt;はExceptionの全件表示以外の個別表示とかできませんよね &lt;br /&gt;
  1923. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/09/06#msg-46559098&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/09/06#msg-46559098&lt;/a&gt;&lt;/p&gt;&lt;p&gt;!!20080909 &lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/kanonji&quot;&gt;kanonji&lt;/a&gt; いつの間にかtrunkは2.0化していたのか! &lt;br /&gt;
  1924. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/09/09#msg-46811833&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/09/09#msg-46811833&lt;/a&gt;&lt;br /&gt;
  1925. rhaco2.0 がtrunkに&lt;/p&gt;&lt;p&gt;!!20080909 tokushima cast不評なのか!?>< &lt;br /&gt;
  1926. &lt;a href=&quot;http://www.lingr.com/room/rhaco-ja/archives/2008/09/09#msg-46861795&quot;&gt;http://www.lingr.com/room/rhaco-ja/archives/2008/09/09#msg-46861795&lt;/a&gt;&lt;/p&gt;
  1927. </content>        
  1928.        <category term="rhaco" label="rhaco" />
  1929.        
  1930.        <link rel="enclosure" href="https://cdn.blog.st-hatena.com/images/theme/og-image-1500.png" type="image/png" length="0" />
  1931.  
  1932.        <author>
  1933.            <name>gounx2</name>
  1934.        </author>
  1935.    </entry>
  1936.    
  1937.  
  1938.    
  1939.    
  1940.    <entry>
  1941.        <title>男性にもわかるネイルの話。</title>
  1942.        <link href="https://gounx2.hatenadiary.org/entry/20080906/1220670332"/>
  1943.        <id>hatenablog://entry/17680117127136074887</id>
  1944.        <published>2008-09-06T12:05:32+09:00</published>
  1945.        <updated>2019-05-17T03:30:33+09:00</updated>        <summary type="html">私が思って*た*ネイルのイメージ 「マニキュア」っていう言葉は知ってる。それ以外はなんだかよくわからん。。。 カラフルだったり、つやがでてたり。 もこもこいろいろつけてたりする人もいる。 小さなビンに入っていて、においがきつい。 すごい綺麗なのはネイルサロンでやってもらう。高そう。 ひょんなことから、いろいろ調べた。 想像していたより興味深かったので、メモっておく。 女性との話題づくりに悩んでいる人には、ネイルをネタにするのお勧め。 ネイルサロン、マニキュア、アクリルネイル、ジェルネイル の超手抜き説明 ネイルサロンでは、マニキュアとかアクリルネイルとかジェルネイルとかをプロがやってくれる。 …</summary>
  1946.        <content type="html">&lt;p&gt;私が思って*た*ネイルのイメージ&lt;/p&gt;
  1947.  
  1948. &lt;ul&gt;
  1949. &lt;li&gt;「マニキュア」っていう言葉は知ってる。それ以外はなんだかよくわからん。。。&lt;/li&gt;
  1950. &lt;li&gt;カラフルだったり、つやがでてたり。&lt;/li&gt;
  1951. &lt;li&gt;もこもこいろいろつけてたりする人もいる。&lt;/li&gt;
  1952. &lt;li&gt;小さなビンに入っていて、においがきつい。&lt;/li&gt;
  1953. &lt;li&gt;すごい綺麗なのはネイルサロンでやってもらう。高そう。&lt;/li&gt;
  1954. &lt;/ul&gt;&lt;p&gt;ひょんなことから、いろいろ調べた。&lt;br /&gt;
  1955. 想像していたより興味深かったので、メモっておく。&lt;br /&gt;
  1956. 女性との話題づくりに悩んでいる人には、ネイルをネタにするのお勧め。&lt;/p&gt;
  1957.  
  1958. &lt;div class=&quot;section&quot;&gt;
  1959.    &lt;h4&gt;ネイルサロン、マニキュア、アクリルネイル、ジェルネイル の超手抜き説明&lt;/h4&gt;
  1960.    &lt;p&gt;ネイルサロンでは、マニキュアとかアクリルネイルとかジェルネイルとかをプロがやってくれる。&lt;br /&gt;
  1961. ネイルサロンで使ってる材料とか器具が何か特別かといえば、必ずしもそうではない。&lt;/p&gt;&lt;p&gt;ネイルかわいいよね。&lt;br /&gt;
  1962. ↓&lt;br /&gt;
  1963. ネイルサロン行ってみる。&lt;/p&gt;
  1964.  
  1965. &lt;ul&gt;
  1966. &lt;li&gt;さすがにプロだから綺麗だ。&lt;/li&gt;
  1967. &lt;li&gt;だが、金額も高価。シンプルに塗るだけでも両手で1万円とか。&lt;/li&gt;
  1968. &lt;/ul&gt;&lt;p&gt;↓&lt;br /&gt;
  1969. 普段は、自分でささっと、ほどほどに綺麗にできたらなぁ。&lt;br /&gt;
  1970. ↓&lt;br /&gt;
  1971. 「マニキュア」塗ってみる。&lt;/p&gt;
  1972.  
  1973. &lt;ul&gt;
  1974. &lt;li&gt;塗るだけなので、お手軽。入手も簡単。&lt;/li&gt;
  1975. &lt;li&gt;塗ってる途中で固まってしまい、綺麗に塗るのはあんがい難しい。&lt;/li&gt;
  1976. &lt;li&gt;綺麗に塗れても、部分的にはがれやすい。(持ちが悪い)&lt;/li&gt;
  1977. &lt;li&gt;強烈なにおいがある。&lt;/li&gt;
  1978. &lt;/ul&gt;&lt;p&gt;↓&lt;br /&gt;
  1979. 「アクリルネイル」ってどうよ?&lt;/p&gt;
  1980.  
  1981. &lt;ul&gt;
  1982. &lt;li&gt;強度、光沢は文句なし。&lt;/li&gt;
  1983. &lt;li&gt;しかし、いろいろと高度なテクニックが必要。&lt;/li&gt;
  1984. &lt;li&gt;個人じゃハードル高いよね。&lt;/li&gt;
  1985. &lt;/ul&gt;&lt;p&gt;↓&lt;br /&gt;
  1986. 「ジェルネイル」ってどうよ?&lt;/p&gt;
  1987.  
  1988. &lt;ul&gt;
  1989. &lt;li&gt;強度、光沢いいよ。&lt;/li&gt;
  1990. &lt;li&gt;樹脂を塗る→UVライト当てる→硬化&lt;/li&gt;
  1991. &lt;li&gt;UVライトに当てるまでは、自由にできる。&lt;/li&gt;
  1992. &lt;li&gt;個人でも比較的容易&lt;/li&gt;
  1993. &lt;/ul&gt;&lt;p&gt;これで決定!ってものは無い。どの方法も一長一短&lt;br /&gt;
  1994. *自分にあった方法*を模索する必要がある。&lt;/p&gt;&lt;p&gt;あと、用語はすごくたくさんあって、&lt;br /&gt;
  1995. それがブランド名なのか、技術名なのか、一般名称なのか、ネイルやってる女性でも難解かと。&lt;/p&gt;
  1996.  
  1997. &lt;/div&gt;
  1998. &lt;div class=&quot;section&quot;&gt;
  1999.    &lt;h4&gt;ネイルする人が気にするところ。&lt;/h4&gt;
  2000.    
  2001. &lt;ul&gt;
  2002. &lt;li&gt;つやが良いか?(照り、クリア感がよいほうがよいねって話)&lt;/li&gt;
  2003. &lt;li&gt;日常生活においてはがれ難い、ハゲにくいか?(持ちがよいか?って話)
  2004. &lt;ul&gt;
  2005. &lt;li&gt;リフトしないか?(自爪が部分的に浮いてくること)&lt;/li&gt;
  2006. &lt;/ul&gt;&lt;/li&gt;
  2007. &lt;li&gt;自爪へのダメージが小さいか?(綺麗に見えても、剥がしたときに自爪ぼろぼろとかやだよ。って話)&lt;/li&gt;
  2008. &lt;li&gt;リムーブ(自爪のみに戻すこと)が容易か?(剥がすのに、削るのに、何時間もかかるって大変よね。って話)&lt;/li&gt;
  2009. &lt;li&gt;コスト&lt;/li&gt;
  2010. &lt;/ul&gt;
  2011. &lt;/div&gt;
  2012. &lt;div class=&quot;section&quot;&gt;
  2013.    &lt;h4&gt;主なネイルアート&lt;/h4&gt;
  2014.    &lt;p&gt;細かいのをあげるときりがないので、主なもののみ。&lt;/p&gt;&lt;p&gt;爪自身の話&lt;/p&gt;
  2015.  
  2016. &lt;ul&gt;
  2017. &lt;li&gt;スカルプチュア(スカルプ):爪を伸ばす(人工爪)&lt;/li&gt;
  2018. &lt;/ul&gt;&lt;p&gt;塗料の塗り方の話&lt;/p&gt;
  2019.  
  2020. &lt;ul&gt;
  2021. &lt;li&gt;グラデーション:色を段階的に変えていくこと(説明するまでもないか)&lt;/li&gt;
  2022. &lt;li&gt;フレンチ:爪のベースと、先っぽの色を変えて塗ること。(ベース透明で、先っぽが白とか)&lt;/li&gt;
  2023. &lt;/ul&gt;&lt;p&gt;塗料以外の何かを使う話&lt;/p&gt;
  2024.  
  2025. &lt;ul&gt;
  2026. &lt;li&gt;3Dアート:爪の上に立体的なアートを施す(ぬるだけじゃなくって、何かをのっける)&lt;/li&gt;
  2027. &lt;li&gt;ラメ:主に金とか銀とかきらきらしたパウダーのこと。(透明なジェルに混ぜて塗ったり、ふりかけて使ったり)&lt;/li&gt;
  2028. &lt;/ul&gt;&lt;p&gt;これらを組み合わせる。&lt;br /&gt;
  2029. フレンチにしておいて、ワンポイントに3D使ってみたりとか。&lt;br /&gt;
  2030. ラメを徐々に加えていって、グラデーションしてみたりとか。&lt;/p&gt;
  2031.  
  2032. &lt;/div&gt;
  2033. &lt;div class=&quot;section&quot;&gt;
  2034.    &lt;h4&gt;ネイルの手順の超手抜き説明&lt;/h4&gt;
  2035.    &lt;p&gt;まず、自爪のお手入れ(甘皮をあげたり取ったり)をして、&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%A5%D9%A1%BC%A5%B9%A5%B3%A1%BC%A5%C8&quot;&gt;ベースコート&lt;/a&gt;を全体に塗ります。&lt;br /&gt;
  2036. その上に、別の色を塗ったり、3Dを置いたり。デザインによっては何度かこれを繰り返します。&lt;br /&gt;
  2037. 最後に、仕上げの&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%A5%C8%A5%C3%A5%D7%A5%B3%A1%BC%A5%C8&quot;&gt;トップコート&lt;/a&gt;を塗って完成。&lt;br /&gt;
  2038. その後のメンテナンスとしては、数日おきに&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%A5%C8%A5%C3%A5%D7%A5%B3%A1%BC%A5%C8&quot;&gt;トップコート&lt;/a&gt;を塗りなおしたりもします。&lt;/p&gt;&lt;p&gt;構造はこんな感じ。&lt;/p&gt;
  2039. &lt;pre class=&quot;code&quot; data-lang=&quot;&quot; data-unlink&gt; --------------
  2040. トップコート(透明)
  2041. --------------
  2042. 必要なら色付きを重ねたり、3Dを置いたり。
  2043. --------------
  2044. ベースコート(透明とか色付き)
  2045. --------------
  2046. 自爪
  2047. --------------&lt;/pre&gt;&lt;p&gt;まぁ、サンドウィッチ構造ですね。&lt;br /&gt;
  2048. &lt;br /&gt;
  2049. &lt;/p&gt;
  2050.  
  2051. &lt;/div&gt;
  2052. &lt;div class=&quot;section&quot;&gt;
  2053.    &lt;h4&gt;女性と話するときのきっかけに使えるんじゃないかな。&lt;/h4&gt;
  2054.    &lt;p&gt;別に、合コンとかそういうのじゃなくっても、奥さんとか彼女とかとの話題としてもいいと思う。&lt;/p&gt;&lt;p&gt;予備知識無しに話をふっても「全く知らないくせに」と軽くあしらわれるだろうから、ちょっと予習しておくのが良いと思います。&lt;br /&gt;
  2055. 少しでも知識を持っておけば、相手の説明も理解しやすいはずです。&lt;/p&gt;
  2056.  
  2057. &lt;ul&gt;
  2058. &lt;li&gt;専門用語を覚えておく。
  2059. &lt;ul&gt;
  2060. &lt;li&gt;上に上げたものだけでも十分かと。&lt;/li&gt;
  2061. &lt;/ul&gt;&lt;/li&gt;
  2062. &lt;li&gt;爪が長かったら「それスカルプ?」とか。&lt;/li&gt;
  2063. &lt;li&gt;グラデーションとフレンチは簡単に見分けられる。&lt;/li&gt;
  2064. &lt;li&gt;ワンポイントで3Dつかってたら、そこは見逃すなってこと。(要は誉めポイント)&lt;/li&gt;
  2065. &lt;li&gt;難しい用語がたくさんあるから、そういうのが出てきたら「xxxってどういう意味?」とか話をふればよい。
  2066. &lt;ul&gt;
  2067. &lt;li&gt;ネイルやってる人でも知らない用語はたくさんある。&lt;/li&gt;
  2068. &lt;/ul&gt;&lt;/li&gt;
  2069. &lt;li&gt;爪の見た目で話して、次に「ネイルする人が気にするところ」に話題を展開すれば広がりが出る。&lt;/li&gt;
  2070. &lt;li&gt;「ネイル自分でやってるの?」とか。「綺麗に仕上げるのは難しいって聞いたよ」とか。&lt;/li&gt;
  2071. &lt;/ul&gt;&lt;p&gt;&quot;ネイルアート 基本&quot; でネット検索してみてください。&lt;br /&gt;
  2072. &lt;br /&gt;
  2073. &lt;/p&gt;
  2074.  
  2075. &lt;/div&gt;
  2076. &lt;div class=&quot;section&quot;&gt;
  2077.    &lt;h4&gt;その他&lt;/h4&gt;
  2078.    
  2079. &lt;ul&gt;
  2080. &lt;li&gt;最近はネイルアート用品が簡単に入手できるので、個人でもプロ顔負けのネイルアートを行っている人も多い。&lt;/li&gt;
  2081. &lt;li&gt;足にするのは「ペディキュア」って呼ぶ。&lt;/li&gt;
  2082. &lt;li&gt;女性が化粧として行うことが多いが、爪の割れを防止する目的でスポーツ選手が使うこともある。&lt;/li&gt;
  2083. &lt;/ul&gt;&lt;p&gt;「ジェルネイル」の話&lt;/p&gt;
  2084.  
  2085. &lt;ul&gt;
  2086. &lt;li&gt;&lt;del datetime=&quot;2009-03-23T00:39:36+09:00&quot;&gt;赤外線&lt;/del&gt;&lt;span style=&quot;color:#FF0000;&quot;&gt;紫外線&lt;/span&gt;で硬化するアクリル樹脂を用いる。&lt;/li&gt;
  2087. &lt;li&gt;マニキュアと比べると、特有のにおいがない。紫外線に当てるまで硬化しないので造形が自由。硬い。&lt;/li&gt;
  2088. &lt;/ul&gt;&lt;p&gt;「付け爪」の話&lt;/p&gt;
  2089.  
  2090. &lt;ul&gt;
  2091. &lt;li&gt;人工の爪を自分の爪に付ける。2種類ある。&lt;/li&gt;
  2092. &lt;li&gt;「ネイルチップ」
  2093. &lt;ul&gt;
  2094. &lt;li&gt;通常付け爪といえばこれのこと。&lt;/li&gt;
  2095. &lt;li&gt;主にプラスチック製でテープや接着剤で自爪に付けて使用する。&lt;/li&gt;
  2096. &lt;/ul&gt;&lt;/li&gt;
  2097. &lt;li&gt;「スカルプチュア」
  2098. &lt;ul&gt;
  2099. &lt;li&gt;アクリル樹脂(粘度のある液体)などを直接盛り、爪の延長や補強を行う。&lt;/li&gt;
  2100. &lt;/ul&gt;&lt;/li&gt;
  2101. &lt;/ul&gt;&lt;p&gt;マニキュア&lt;br /&gt;
  2102. &lt;a href=&quot;http://ja.wikipedia.org/wiki/%E3%83%9E%E3%83%8B%E3%82%AD%E3%83%A5%E3%82%A2&quot;&gt;http://ja.wikipedia.org/wiki/%E3%83%9E%E3%83%8B%E3%82%AD%E3%83%A5%E3%82%A2&lt;/a&gt;&lt;/p&gt;&lt;p&gt;ネイルアート&lt;br /&gt;
  2103. &lt;a href=&quot;http://ja.wikipedia.org/wiki/%E3%83%8D%E3%82%A4%E3%83%AB%E3%82%A2%E3%83%BC%E3%83%88&quot;&gt;http://ja.wikipedia.org/wiki/%E3%83%8D%E3%82%A4%E3%83%AB%E3%82%A2%E3%83%BC%E3%83%88&lt;/a&gt;&lt;/p&gt;
  2104.  
  2105. &lt;/div&gt;</content>        
  2106.        <link rel="enclosure" href="https://cdn.blog.st-hatena.com/images/theme/og-image-1500.png" type="image/png" length="0" />
  2107.  
  2108.        <author>
  2109.            <name>gounx2</name>
  2110.        </author>
  2111.    </entry>
  2112.    
  2113.  
  2114.    
  2115.    
  2116.    <entry>
  2117.        <title>大勢で集まったとき、俺がカルパッチョを独占することを世間の常識とせよ</title>
  2118.        <link href="https://gounx2.hatenadiary.org/entry/20080829/1220022807"/>
  2119.        <id>hatenablog://entry/17680117127136075022</id>
  2120.        <published>2008-08-29T00:13:27+09:00</published>
  2121.        <updated>2019-05-17T03:30:35+09:00</updated>        <summary type="html">http://anond.hatelabo.jp/20080829053234増田がブクマに反応して追記してるんだが、それを読んで思うところがあったので書いてみる。「カルパッチョが好きでたまらない。独占したい」が第一優先事項であるなら 「一人で食いに行く」のは、自分の行動だけで実行できる、最も簡単な対処方法でしょ。 それを否定するのに全力投球で追記ってさ。 もはや目的は「大勢で集まったとき、俺がカルパッチョを独占することを世間の常識とせよ」にしか見えないよ? おちつけっての。増田への返信はこれぐらいにしておいて、本題ですが。 仕事でこういう人と付き合わざるを得ない状況だと最悪。世の中には「相手…</summary>
  2122.        <content type="html">&lt;p&gt;&lt;a href=&quot;http://anond.hatelabo.jp/20080829053234&quot;&gt;http://anond.hatelabo.jp/20080829053234&lt;/a&gt;&lt;/p&gt;&lt;p&gt;増田がブクマに反応して追記してるんだが、それを読んで思うところがあったので書いてみる。&lt;/p&gt;&lt;p&gt;「&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%A5%AB%A5%EB%A5%D1%A5%C3%A5%C1%A5%E7&quot;&gt;カルパッチョ&lt;/a&gt;が好きでたまらない。独占したい」が第一優先事項であるなら 「一人で食いに行く」のは、自分の行動だけで実行できる、最も簡単な対処方法でしょ。&lt;br /&gt;
  2123. それを否定するのに全力投球で追記ってさ。&lt;br /&gt;
  2124. もはや目的は「大勢で集まったとき、俺が&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%A5%AB%A5%EB%A5%D1%A5%C3%A5%C1%A5%E7&quot;&gt;カルパッチョ&lt;/a&gt;を独占することを世間の常識とせよ」にしか見えないよ?&lt;br /&gt;
  2125. おちつけっての。&lt;/p&gt;&lt;p&gt;増田への返信はこれぐらいにしておいて、本題ですが。&lt;br /&gt;
  2126. 仕事でこういう人と付き合わざるを得ない状況だと最悪。&lt;/p&gt;&lt;p&gt;世の中には「相手を自分色に染めないと納得できない人」がいる。&lt;/p&gt;
  2127.  
  2128. &lt;ul&gt;
  2129. &lt;li&gt;うかつにも「人それぞれだよね」的な意見をいっちゃうと「お前のいうことももっともだけどさ。これこれだから、うんたらかんたら・・・。ということで、俺のが理にかなってるんだ!」とか必死に誘導してくる。&lt;/li&gt;
  2130. &lt;li&gt;「じゃぁ、こうしてみればお互いハッピーになれるんじゃないかな?」とか提案しても、「ちがうちがう。今までの話聞いてんの?うんたらかんたら・・・。ということで、俺のが理にかなってるんだ!」とか必死に誘導してくる。&lt;/li&gt;
  2131. &lt;/ul&gt;&lt;p&gt;もうね。&lt;br /&gt;
  2132. 「自分の中で答えが決まってて、自分語りに必死で、一分も折れるつもりないなら、最初からそういってくれ。&lt;br /&gt;
  2133. 変なゲームに付き合いたくないわ」って言いたくなる。&lt;/p&gt;&lt;p&gt;もっとも、相手が愚痴聞いて欲しいだけなら「うんうん」って聞き役に徹すればいいんだけどねぇ。&lt;br /&gt;
  2134. &quot;普通&quot; とか &quot;常識&quot; って言葉を多様するのもどうかと思う。経験上そういう人ほど &quot;自分=普通=常識&quot; をより所として、&quot;自分の意見を一分でも変えるつもりはない&quot; な人が多いと感じる。&lt;/p&gt;
  2135. </content>        
  2136.        <category term="どうなんだろ?" label="どうなんだろ?" />
  2137.        
  2138.        <link rel="enclosure" href="https://cdn.blog.st-hatena.com/images/theme/og-image-1500.png" type="image/png" length="0" />
  2139.  
  2140.        <author>
  2141.            <name>gounx2</name>
  2142.        </author>
  2143.    </entry>
  2144.    
  2145.  
  2146.    
  2147.    
  2148.    <entry>
  2149.        <title>スタバのデカフェ(カフェインレス)を飲んだ。</title>
  2150.        <link href="https://gounx2.hatenadiary.org/entry/20080823/1219459796"/>
  2151.        <id>hatenablog://entry/17680117127136075109</id>
  2152.        <published>2008-08-23T11:49:56+09:00</published>
  2153.        <updated>2019-05-17T03:30:36+09:00</updated>        <summary type="html">日本のメジャーなコーヒーチェーンでは、唯一スターバックスだけがデカフェでコーヒーが飲めるらしいので、飲んでみたよ。まず、オーダーするまで。 「本日のコーヒー」と「カフェミスと」の2品に限りデカフェでオーダーできる。 デカフェはホット・アイスどちらも可。 オーダーしてから作るので20分ぐらいかかる。 (自分の近所の2店は扱ってましたけど)デカフェを扱っていない店舗もあるらしい。 普通のとデカフェを飲み比べてみた。 といっても、コーヒーの味に普段からこだわりがあるわけではないので、大雑把な味覚だと思います(汗 条件は以下 「本日のコーヒー」をホットで普通のとデカフェでオーダー どんな豆使ってるのか…</summary>
  2154.        <content type="html">&lt;p&gt;日本のメジャーなコーヒーチェーンでは、唯一&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%A5%B9%A5%BF%A1%BC%A5%D0%A5%C3%A5%AF%A5%B9&quot;&gt;スターバックス&lt;/a&gt;だけが&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%A5%C7%A5%AB%A5%D5%A5%A7&quot;&gt;デカフェ&lt;/a&gt;でコーヒーが飲めるらしいので、飲んでみたよ。&lt;/p&gt;&lt;p&gt;まず、オーダーするまで。&lt;/p&gt;
  2155.  
  2156. &lt;ul&gt;
  2157. &lt;li&gt;「本日のコーヒー」と「カフェミスと」の2品に限り&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%A5%C7%A5%AB%A5%D5%A5%A7&quot;&gt;デカフェ&lt;/a&gt;でオーダーできる。&lt;/li&gt;
  2158. &lt;li&gt;&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%A5%C7%A5%AB%A5%D5%A5%A7&quot;&gt;デカフェ&lt;/a&gt;はホット・アイスどちらも可。&lt;/li&gt;
  2159. &lt;li&gt;オーダーしてから作るので20分ぐらいかかる。&lt;/li&gt;
  2160. &lt;li&gt;(自分の近所の2店は扱ってましたけど)&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%A5%C7%A5%AB%A5%D5%A5%A7&quot;&gt;デカフェ&lt;/a&gt;を扱っていない店舗もあるらしい。&lt;/li&gt;
  2161. &lt;/ul&gt;&lt;p&gt;普通のと&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%A5%C7%A5%AB%A5%D5%A5%A7&quot;&gt;デカフェ&lt;/a&gt;を飲み比べてみた。&lt;br /&gt;
  2162. といっても、コーヒーの味に普段からこだわりがあるわけではないので、大雑把な味覚だと思います(汗&lt;br /&gt;
  2163. 条件は以下&lt;/p&gt;
  2164.  
  2165. &lt;ul&gt;
  2166. &lt;li&gt;「本日のコーヒー」をホットで普通のと&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%A5%C7%A5%AB%A5%D5%A5%A7&quot;&gt;デカフェ&lt;/a&gt;でオーダー&lt;/li&gt;
  2167. &lt;li&gt;どんな豆使ってるのかは確認せず。スゲー適当だなw>俺&lt;/li&gt;
  2168. &lt;li&gt;2つも一度に飲めないので、持ち返って冷蔵庫でアイスにしてから飲んだ。邪道だなw>俺&lt;/li&gt;
  2169. &lt;li&gt;アイス用のミルクと砂糖を入れて試飲。&lt;/li&gt;
  2170. &lt;/ul&gt;&lt;p&gt;風味:普通の > &lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%A5%C7%A5%AB%A5%D5%A5%A7&quot;&gt;デカフェ&lt;/a&gt;&lt;br /&gt;
  2171. 酸味:普通の >>> &lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%A5%C7%A5%AB%A5%D5%A5%A7&quot;&gt;デカフェ&lt;/a&gt;&lt;br /&gt;
  2172. 苦味:普通の <<< &lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%A5%C7%A5%AB%A5%D5%A5%A7&quot;&gt;デカフェ&lt;/a&gt;&lt;/p&gt;&lt;p&gt;風味は、今回持ち帰り&冷蔵庫でアイスにしたので大きく失われてるはず。&lt;br /&gt;
  2173. 「&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%A5%C7%A5%AB%A5%D5%A5%A7&quot;&gt;デカフェ&lt;/a&gt;=風味が落ちる」とか聞くんで、そのあたりはちゃんと評価できてないと思われます。&lt;/p&gt;&lt;p&gt;個人的には、どちらも美味しかったです。&lt;br /&gt;
  2174. &lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%A5%C7%A5%AB%A5%D5%A5%A7&quot;&gt;デカフェ&lt;/a&gt;だからといって劣っているとか全く思いませんでした。&lt;/p&gt;&lt;p&gt;&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%A5%C7%A5%AB%A5%D5%A5%A7&quot;&gt;デカフェ&lt;/a&gt;をオーダーすると、挽きたて(なのかな)&注ぎたてが飲めるので、そこは普通のより条件がいいんじゃないかな。&lt;/p&gt;
  2175. </content>        
  2176.        <category term="どうなんだろ?" label="どうなんだろ?" />
  2177.        
  2178.        <link rel="enclosure" href="https://cdn.blog.st-hatena.com/images/theme/og-image-1500.png" type="image/png" length="0" />
  2179.  
  2180.        <author>
  2181.            <name>gounx2</name>
  2182.        </author>
  2183.    </entry>
  2184.    
  2185.  
  2186.    
  2187.    
  2188.    <entry>
  2189.        <title>日本の人口と労働市場の変化、50年分をグラフ化しました。</title>
  2190.        <link href="https://gounx2.hatenadiary.org/entry/20080808/1218175809"/>
  2191.        <id>hatenablog://entry/17680117127136075278</id>
  2192.        <published>2008-08-08T15:10:09+09:00</published>
  2193.        <updated>2019-05-17T03:30:38+09:00</updated>        <summary type="html">blogやニュースで話題になりますが、正確なところはよく理解していなかったので、自分の理解を深める為にまとめてみました。 まず、用語を理解しよう。 用語の解説(PDF:41KB)(統計局ホームページ/労働力調査)より間違えやすいところでは、「労働力(者)」「就業者」「雇用者」の関係や「完全失業者」の位置はよく理解しておきましょう。例えば、次の理解は誤りです。 「20年間で*雇用者*が1000万人増えた」という記事を見て、 「20年で*働く人*が1000万人も増えた」と理解 次に、日本の人口構成にまつわる基本を見ておこう。 「働く」のは「人」です。おのずと人口が労働市場に与える影響は大きなものに…</summary>
  2194.        <content type="html">&lt;p&gt;blogやニュースで話題になりますが、正確なところはよく理解していなかったので、自分の理解を深める為にまとめてみました。&lt;/p&gt;
  2195.  
  2196. &lt;div class=&quot;section&quot;&gt;
  2197.    &lt;h4&gt;まず、用語を理解しよう。&lt;/h4&gt;
  2198.    &lt;p&gt;&lt;a href=&quot;http://www.stat.go.jp/data/roudou/pdf/definit.pdf&quot;&gt;用語の解説(PDF:41KB)&lt;/a&gt;(&lt;a href=&quot;http://www.stat.go.jp/data/roudou/index.htm&quot;&gt;統計局ホームページ/労働力調査&lt;/a&gt;)より&lt;/p&gt;&lt;p&gt;&lt;span itemscope itemtype=&quot;http://schema.org/Photograph&quot;&gt;&lt;a href=&quot;http://f.hatena.ne.jp/gounx2/20080808135943&quot; class=&quot;hatena-fotolife&quot; itemprop=&quot;url&quot;&gt;&lt;img src=&quot;https://cdn-ak.f.st-hatena.com/images/fotolife/g/gounx2/20080808/20080808135943.png&quot; alt=&quot;f:id:gounx2:20080808135943p:image&quot; title=&quot;f:id:gounx2:20080808135943p:image&quot; class=&quot;hatena-fotolife&quot; itemprop=&quot;image&quot;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;間違えやすいところでは、「労働力(者)」「就業者」「雇用者」の関係や「完全失業者」の位置はよく理解しておきましょう。&lt;/p&gt;&lt;p&gt;例えば、次の理解は誤りです。&lt;br /&gt;
  2199. 「20年間で*雇用者*が1000万人増えた」という記事を見て、&lt;br /&gt;
  2200. 「20年で*働く人*が1000万人も増えた」と理解&lt;/p&gt;
  2201.  
  2202. &lt;/div&gt;
  2203. &lt;div class=&quot;section&quot;&gt;
  2204.    &lt;h4&gt;次に、日本の人口構成にまつわる基本を見ておこう。&lt;/h4&gt;
  2205.    &lt;p&gt;「働く」のは「人」です。おのずと人口が&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%CF%AB%C6%AF%BB%D4%BE%EC&quot;&gt;労働市場&lt;/a&gt;に与える影響は大きなものになります。&lt;br /&gt;
  2206. 日本の人口構成がどのようなものなのか理解しておきましょう。&lt;br /&gt;
  2207. キーワードは、&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%C3%C4%B2%F4%A4%CE%C0%A4%C2%E5&quot;&gt;団塊の世代&lt;/a&gt;(ベビーブーム)、&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%BE%AF%BB%D2%B9%E2%CE%F0%B2%BD&quot;&gt;少子高齢化&lt;/a&gt;&lt;br /&gt;
  2208. &lt;a href=&quot;http://www.stat.go.jp/kids/datastore/world/miniwin/06/06.htm&quot;&gt;&amp;#x306A;&amp;#x308B;&amp;#x307B;&amp;#x3069;&amp;#x30C7;&amp;#x30FC;&amp;#x30BF;for&amp;#x304D;&amp;#x3063;&amp;#x305A; - &amp;#x5E74;&amp;#x9F62;&amp;#x968E;&amp;#x7D1A;&amp;#x5225;&amp;#x4EBA;&amp;#x53E3;&lt;/a&gt;&lt;br /&gt;
  2209. &lt;a href=&quot;http://www.stat.go.jp/kids/datastore/index.htm&quot;&gt;&amp;#x306A;&amp;#x308B;&amp;#x307B;&amp;#x3069;&amp;#x30C7;&amp;#x30FC;&amp;#x30BF;for&amp;#x304D;&amp;#x3063;&amp;#x305A; - &amp;#x5E74;&amp;#x9F62;&amp;#xFF13;&amp;#x533A;&amp;#x5206;&amp;#x5225;&amp;#x4EBA;&amp;#x53E3;(&amp;#x6642;&amp;#x7CFB;&amp;#x5217;)&lt;/a&gt;&lt;br /&gt;
  2210. &lt;/p&gt;
  2211.  
  2212. &lt;/div&gt;
  2213. &lt;div class=&quot;section&quot;&gt;
  2214.    &lt;h4&gt;さて、本題の&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%CF%AB%C6%AF%CE%CF%BF%CD%B8%FD&quot;&gt;労働力人口&lt;/a&gt;分布グラフです。&lt;/h4&gt;
  2215.    &lt;p&gt;&lt;a href=&quot;http://www.stat.go.jp/data/jinsui/&quot;&gt;&amp;#x7D71;&amp;#x8A08;&amp;#x5C40;&amp;#x30DB;&amp;#x30FC;&amp;#x30E0;&amp;#x30DA;&amp;#x30FC;&amp;#x30B8;/&amp;#x4EBA;&amp;#x53E3;&amp;#x63A8;&amp;#x8A08;&lt;/a&gt;&lt;br /&gt;
  2216. &lt;a href=&quot;http://www.stat.go.jp/data/roudou/longtime/03roudou.htm&quot;&gt;&amp;#x7D71;&amp;#x8A08;&amp;#x5C40;&amp;#x30DB;&amp;#x30FC;&amp;#x30E0;&amp;#x30DA;&amp;#x30FC;&amp;#x30B8;/&amp;#x52B4;&amp;#x50CD;&amp;#x529B;&amp;#x8ABF;&amp;#x67FB;&amp;#x3000;&amp;#x9577;&amp;#x671F;&amp;#x6642;&amp;#x7CFB;&amp;#x5217;&amp;#x30C7;&amp;#x30FC;&amp;#x30BF;&lt;/a&gt;&lt;br /&gt;
  2217. をグラフ化しました。&lt;br /&gt;
  2218. なお、「雇用者」の「正規/非正規」については、&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/1984&quot;&gt;1984&lt;/a&gt;年からのみとなり、それ以前のものは便宜上「正規」としてグラフ化しています。&lt;/p&gt;&lt;p&gt;&lt;span itemscope itemtype=&quot;http://schema.org/Photograph&quot;&gt;&lt;a href=&quot;http://f.hatena.ne.jp/gounx2/20080808135942&quot; class=&quot;hatena-fotolife&quot; itemprop=&quot;url&quot;&gt;&lt;img src=&quot;https://cdn-ak.f.st-hatena.com/images/fotolife/g/gounx2/20080808/20080808135942.png&quot; alt=&quot;f:id:gounx2:20080808135942p:image&quot; title=&quot;f:id:gounx2:20080808135942p:image&quot; class=&quot;hatena-fotolife&quot; itemprop=&quot;image&quot;&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
  2219. &lt;/p&gt;
  2220.  
  2221. &lt;/div&gt;
  2222. &lt;div class=&quot;section&quot;&gt;
  2223.    &lt;h4&gt;グラフを見て考えてみましょう。&lt;/h4&gt;
  2224.    &lt;p&gt;このグラフは人口のみなので、年齢間の違いや、報酬額の違いなどはわかりませんが、それでもいろいろと見えてきます。&lt;/p&gt;&lt;p&gt;&lt;span itemscope itemtype=&quot;http://schema.org/Photograph&quot;&gt;&lt;a href=&quot;http://f.hatena.ne.jp/gounx2/20080808135946&quot; class=&quot;hatena-fotolife&quot; itemprop=&quot;url&quot;&gt;&lt;img src=&quot;https://cdn-ak.f.st-hatena.com/images/fotolife/g/gounx2/20080808/20080808135946.png&quot; alt=&quot;f:id:gounx2:20080808135946p:image&quot; title=&quot;f:id:gounx2:20080808135946p:image&quot; class=&quot;hatena-fotolife&quot; itemprop=&quot;image&quot;&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
  2225. &lt;span itemscope itemtype=&quot;http://schema.org/Photograph&quot;&gt;&lt;a href=&quot;http://f.hatena.ne.jp/gounx2/20080808135945&quot; class=&quot;hatena-fotolife&quot; itemprop=&quot;url&quot;&gt;&lt;img src=&quot;https://cdn-ak.f.st-hatena.com/images/fotolife/g/gounx2/20080808/20080808135945.png&quot; alt=&quot;f:id:gounx2:20080808135945p:image&quot; title=&quot;f:id:gounx2:20080808135945p:image&quot; class=&quot;hatena-fotolife&quot; itemprop=&quot;image&quot;&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
  2226. &lt;span itemscope itemtype=&quot;http://schema.org/Photograph&quot;&gt;&lt;a href=&quot;http://f.hatena.ne.jp/gounx2/20080808135947&quot; class=&quot;hatena-fotolife&quot; itemprop=&quot;url&quot;&gt;&lt;img src=&quot;https://cdn-ak.f.st-hatena.com/images/fotolife/g/gounx2/20080808/20080808135947.png&quot; alt=&quot;f:id:gounx2:20080808135947p:image&quot; title=&quot;f:id:gounx2:20080808135947p:image&quot; class=&quot;hatena-fotolife&quot; itemprop=&quot;image&quot;&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
  2227. &lt;/p&gt;
  2228.  
  2229. &lt;/div&gt;
  2230. &lt;div class=&quot;section&quot;&gt;
  2231.    &lt;h4&gt;y軸を%としたグラフです。&lt;/h4&gt;
  2232.    &lt;p&gt;&lt;span itemscope itemtype=&quot;http://schema.org/Photograph&quot;&gt;&lt;a href=&quot;http://f.hatena.ne.jp/gounx2/20080808135944&quot; class=&quot;hatena-fotolife&quot; itemprop=&quot;url&quot;&gt;&lt;img src=&quot;https://cdn-ak.f.st-hatena.com/images/fotolife/g/gounx2/20080808/20080808135944.png&quot; alt=&quot;f:id:gounx2:20080808135944p:image&quot; title=&quot;f:id:gounx2:20080808135944p:image&quot; class=&quot;hatena-fotolife&quot; itemprop=&quot;image&quot;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;グラフを見て考えてみる。&lt;br /&gt;
  2233. &lt;span itemscope itemtype=&quot;http://schema.org/Photograph&quot;&gt;&lt;a href=&quot;http://f.hatena.ne.jp/gounx2/20080808135949&quot; class=&quot;hatena-fotolife&quot; itemprop=&quot;url&quot;&gt;&lt;img src=&quot;https://cdn-ak.f.st-hatena.com/images/fotolife/g/gounx2/20080808/20080808135949.png&quot; alt=&quot;f:id:gounx2:20080808135949p:image&quot; title=&quot;f:id:gounx2:20080808135949p:image&quot; class=&quot;hatena-fotolife&quot; itemprop=&quot;image&quot;&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
  2234. &lt;span itemscope itemtype=&quot;http://schema.org/Photograph&quot;&gt;&lt;a href=&quot;http://f.hatena.ne.jp/gounx2/20080808135950&quot; class=&quot;hatena-fotolife&quot; itemprop=&quot;url&quot;&gt;&lt;img src=&quot;https://cdn-ak.f.st-hatena.com/images/fotolife/g/gounx2/20080808/20080808135950.png&quot; alt=&quot;f:id:gounx2:20080808135950p:image&quot; title=&quot;f:id:gounx2:20080808135950p:image&quot; class=&quot;hatena-fotolife&quot; itemprop=&quot;image&quot;&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
  2235. &lt;span itemscope itemtype=&quot;http://schema.org/Photograph&quot;&gt;&lt;a href=&quot;http://f.hatena.ne.jp/gounx2/20080808135948&quot; class=&quot;hatena-fotolife&quot; itemprop=&quot;url&quot;&gt;&lt;img src=&quot;https://cdn-ak.f.st-hatena.com/images/fotolife/g/gounx2/20080808/20080808135948.png&quot; alt=&quot;f:id:gounx2:20080808135948p:image&quot; title=&quot;f:id:gounx2:20080808135948p:image&quot; class=&quot;hatena-fotolife&quot; itemprop=&quot;image&quot;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;どうも、見事な?バランス感覚で労働力が人口比50%をキープしてます。&lt;br /&gt;
  2236. 女性や高齢者の社会進出がなにかと話題になってるので、右肩上がりで労働力[%]は増加してるんだと思ってましたが、違っていたのですね。今回調べてみて、一番意外だった点です。&lt;/p&gt;
  2237.  
  2238. &lt;/div&gt;</content>        
  2239.        <category term="どうなんだろう?" label="どうなんだろう?" />
  2240.        
  2241.        <link rel="enclosure" href="https://cdn-ak.f.st-hatena.com/images/fotolife/g/gounx2/20080808/20080808135943.png" type="image/png" length="0" />
  2242.  
  2243.        <author>
  2244.            <name>gounx2</name>
  2245.        </author>
  2246.    </entry>
  2247.    
  2248.    <entry>
  2249.        <title>サーバ/インフラ Tech Meeting</title>
  2250.        <link href="https://gounx2.hatenadiary.org/entry/20080808/1218210008"/>
  2251.        <id>hatenablog://entry/17680117127136075198</id>
  2252.        <published>2008-08-08T00:40:08+09:00</published>
  2253.        <updated>2019-05-17T03:30:37+09:00</updated>        <summary type="html">24svr-TechMTG サーバ/インフラ Tech Meeting[開催概要]:WEB+DB PRESS plusシリーズ新刊発売記念,サーバ/インフラ勉強会開催ustから見ました。いやー、すごく面白かった。 後書きメモなので、ざくっとだけ。 Linuxカーネル話 まず目次を読め! カーネル読みたくなった。(昔ちょっと見たような気もするけど) 負荷って何?って気になりますよねー ソース見るのって結構大変なんですよね。 ま、ハマると面白いんですけど。新しい発見もあるしね。 個人的には、GCC特有なところ、Linux開発環境周り、は知識が弱いので補完したいんだけど。 たまにblogとか雑誌で知…</summary>
  2254.        <content type="html">&lt;p&gt;24svr-TechMTG&lt;br /&gt;
  2255. &lt;a href=&quot;http://gihyo.jp/event/2008/24svr-tech-meeting&quot;&gt;&amp;#x30B5;&amp;#x30FC;&amp;#x30D0;/&amp;#x30A4;&amp;#x30F3;&amp;#x30D5;&amp;#x30E9; Tech Meeting&amp;#xFF3B;&amp;#x958B;&amp;#x50AC;&amp;#x6982;&amp;#x8981;&amp;#xFF3D;&amp;#xFF1A;WEB+DB PRESS plus&amp;#x30B7;&amp;#x30EA;&amp;#x30FC;&amp;#x30BA;&amp;#x65B0;&amp;#x520A;&amp;#x767A;&amp;#x58F2;&amp;#x8A18;&amp;#x5FF5;&amp;#xFF0C;&amp;#x30B5;&amp;#x30FC;&amp;#x30D0;/&amp;#x30A4;&amp;#x30F3;&amp;#x30D5;&amp;#x30E9;&amp;#x52C9;&amp;#x5F37;&amp;#x4F1A;&amp;#x958B;&amp;#x50AC;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;ustから見ました。いやー、すごく面白かった。&lt;br /&gt;
  2256. 後書きメモなので、ざくっとだけ。&lt;/p&gt;
  2257.  
  2258. &lt;ul&gt;
  2259. &lt;li&gt;&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/Linux&quot;&gt;Linux&lt;/a&gt;&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%A5%AB%A1%BC%A5%CD%A5%EB&quot;&gt;カーネル&lt;/a&gt;話
  2260. &lt;ul&gt;
  2261. &lt;li&gt;まず目次を読め!&lt;/li&gt;
  2262. &lt;li&gt;&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%A5%AB%A1%BC%A5%CD%A5%EB&quot;&gt;カーネル&lt;/a&gt;読みたくなった。(昔ちょっと見たような気もするけど)&lt;/li&gt;
  2263. &lt;li&gt;負荷って何?って気になりますよねー&lt;/li&gt;
  2264. &lt;li&gt;ソース見るのって結構大変なんですよね。&lt;/li&gt;
  2265. &lt;li&gt;ま、ハマると面白いんですけど。新しい発見もあるしね。&lt;/li&gt;
  2266. &lt;li&gt;個人的には、&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/GCC&quot;&gt;GCC&lt;/a&gt;特有なところ、&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/Linux&quot;&gt;Linux&lt;/a&gt;開発環境周り、は知識が弱いので補完したいんだけど。&lt;/li&gt;
  2267. &lt;li&gt;たまにblogとか雑誌で知識補充に留まってるんだよなぁ。。。&lt;/li&gt;
  2268. &lt;/ul&gt;&lt;/li&gt;
  2269. &lt;/ul&gt;
  2270. &lt;ul&gt;
  2271. &lt;li&gt;&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/DSAS&quot;&gt;DSAS&lt;/a&gt;・負荷分散話
  2272. &lt;ul&gt;
  2273. &lt;li&gt;ダイナミック!&lt;/li&gt;
  2274. &lt;li&gt;サーバの役割切替は、今は人手らしい。&lt;/li&gt;
  2275. &lt;li&gt;でも、完全自動化は難しいような。&lt;/li&gt;
  2276. &lt;li&gt;アプリバグを負荷増加と勘違いして、負荷を分散するつもりが余計に悪い状況にしちゃうとか。あり得そうなんだけど。&lt;/li&gt;
  2277. &lt;li&gt;自分なら、最後のトリガは人間系がやらないと不安だな。&lt;/li&gt;
  2278. &lt;li&gt;ま、そのあたりがノウハウなんだろうけど。。。&lt;/li&gt;
  2279. &lt;li&gt;&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%A5%DE%A5%EB%A5%C1%A5%AD%A5%E3%A5%B9%A5%C8&quot;&gt;マルチキャスト&lt;/a&gt;でファイル配信っていいね。&lt;/li&gt;
  2280. &lt;li&gt;そういうの&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%A5%AA%A1%BC%A5%D7%A5%F3%A5%BD%A1%BC%A5%B9&quot;&gt;オープンソース&lt;/a&gt;で既にあってもおかしくなさそうだけど作ったってことは、存在しなかったってことなのかな。&lt;/li&gt;
  2281. &lt;li&gt;配信を受け損ねたら。とかエラー処理難しそうだ。&lt;/li&gt;
  2282. &lt;/ul&gt;&lt;/li&gt;
  2283. &lt;/ul&gt;&lt;p&gt;&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%A4%CF%A4%C6%A4%CA&quot;&gt;はてな&lt;/a&gt;の今昔&lt;/p&gt;
  2284.  
  2285. &lt;ul&gt;
  2286. &lt;li&gt;
  2287. &lt;ul&gt;
  2288. &lt;li&gt;興味深い。&lt;/li&gt;
  2289. &lt;li&gt;各時期でのトラブル発生率や、その原因の統計が知りたいな。公開難しいだろうけど。&lt;/li&gt;
  2290. &lt;li&gt;やっぱりオンメモリが最強ってことで。&lt;/li&gt;
  2291. &lt;li&gt;&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%A5%C7%A5%A3%A5%B9%A5%AF%A5%EC%A5%B9&quot;&gt;ディスクレス&lt;/a&gt;サーバとかいいですね。&lt;/li&gt;
  2292. &lt;li&gt;障害発生時セッションは引き継がれないのは、割りきりってことか。&lt;/li&gt;
  2293. &lt;/ul&gt;&lt;/li&gt;
  2294. &lt;/ul&gt;&lt;p&gt;何はともあれ、まずはこの本読めってことかな(笑&lt;/p&gt;&lt;p&gt;&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%A5%CB%A5%B3%A5%CB%A5%B3%C6%B0%B2%E8&quot;&gt;ニコニコ動画&lt;/a&gt;で公開されるそうです。&lt;br /&gt;
  2295. おそらく &lt;a href=&quot;http://techtalk.jp/&quot;&gt;TechTalk.jp - &amp;#x65E5;&amp;#x672C;&amp;#x306E;&amp;#x6280;&amp;#x8853;&amp;#x7CFB;&amp;#x30D7;&amp;#x30EC;&amp;#x30BC;&amp;#x30F3;&amp;#x30C6;&amp;#x30FC;&amp;#x30B7;&amp;#x30E7;&amp;#x30F3;&amp;#x53C2;&amp;#x52A0;&amp;#x8005;&amp;#x306E;&amp;#x305F;&amp;#x3081;&amp;#x306E;&amp;#x30CF;&amp;#x30D6;&amp;#x30B5;&amp;#x30A4;&amp;#x30C8;&lt;/a&gt; にアナウンスされると思われます。&lt;/p&gt;&lt;p&gt;2008-08-11追記&lt;br /&gt;
  2296. サーバ/インフラ Tech Meeting の資料など - naoyaの&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%A4%CF%A4%C6%A4%CA%A5%C0%A5%A4%A5%A2%A5%EA%A1%BC&quot;&gt;はてなダイアリー&lt;/a&gt;&lt;br /&gt;
  2297. &lt;a href=&quot;http://d.hatena.ne.jp/naoya/20080810/1218328035&quot;&gt;http://d.hatena.ne.jp/naoya/20080810/1218328035&lt;/a&gt;&lt;/p&gt;
  2298. </content>        
  2299.        <category term="24svr-TechMTG" label="24svr-TechMTG" />
  2300.        
  2301.        <link rel="enclosure" href="https://cdn.blog.st-hatena.com/images/theme/og-image-1500.png" type="image/png" length="0" />
  2302.  
  2303.        <author>
  2304.            <name>gounx2</name>
  2305.        </author>
  2306.    </entry>
  2307.    
  2308.  
  2309.    
  2310.    
  2311.    <entry>
  2312.        <title>20年で非正規雇用プラス1000万人はどこから来たのか?</title>
  2313.        <link href="https://gounx2.hatenadiary.org/entry/20080805/1217948080"/>
  2314.        <id>hatenablog://entry/17680117127136075381</id>
  2315.        <published>2008-08-05T23:54:40+09:00</published>
  2316.        <updated>2019-05-17T03:30:39+09:00</updated>        <summary type="html">正社員ポジションはどこへ? - Chikirinの日記 なんだこりゃ? 自分の得たい結論を導き出すのに都合の良い計算してるだけにみえるんだけどな。。。よい機会なので、日本の労働状況について自分なりに考えてみる。検証したいところはたくさんあるが、 ネタ元は『20年で非正規雇用プラス1000万人はどこから来たのか?』 を分析せず、世代間格差の話に突入してる。 これを明確にしないと話が始まらないんじゃないか?と感じたので、これを調べてみた。統計データは以下から拝借 統計局ホームページ/人口推計 統計局ホームページ/労働力調査 用語の解説(PDF:41KB)(統計局ホームページ/労働力調査)まず、この…</summary>
  2317.        <content type="html">&lt;p&gt;&lt;a href=&quot;http://d.hatena.ne.jp/Chikirin/20080803&quot;&gt;&amp;#x6B63;&amp;#x793E;&amp;#x54E1;&amp;#x30DD;&amp;#x30B8;&amp;#x30B7;&amp;#x30E7;&amp;#x30F3;&amp;#x306F;&amp;#x3069;&amp;#x3053;&amp;#x3078;&amp;#xFF1F; - Chikirin&amp;#x306E;&amp;#x65E5;&amp;#x8A18;&lt;/a&gt;&lt;br /&gt;
  2318. なんだこりゃ?&lt;br /&gt;
  2319. 自分の得たい結論を導き出すのに都合の良い計算してるだけにみえるんだけどな。。。&lt;/p&gt;&lt;p&gt;よい機会なので、日本の労働状況について自分なりに考えてみる。&lt;/p&gt;&lt;p&gt;検証したいところはたくさんあるが、&lt;br /&gt;
  2320. ネタ元は『20年で非&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%C0%B5%B5%AC%B8%DB%CD%D1&quot;&gt;正規雇用&lt;/a&gt;プラス1000万人はどこから来たのか?』&lt;br /&gt;
  2321. を分析せず、世代間格差の話に突入してる。&lt;br /&gt;
  2322. これを明確にしないと話が始まらないんじゃないか?と感じたので、これを調べてみた。&lt;/p&gt;&lt;p&gt;統計データは以下から拝借&lt;br /&gt;
  2323. &lt;a href=&quot;http://www.stat.go.jp/data/jinsui/&quot;&gt;&amp;#x7D71;&amp;#x8A08;&amp;#x5C40;&amp;#x30DB;&amp;#x30FC;&amp;#x30E0;&amp;#x30DA;&amp;#x30FC;&amp;#x30B8;/&amp;#x4EBA;&amp;#x53E3;&amp;#x63A8;&amp;#x8A08;&lt;/a&gt;&lt;br /&gt;
  2324. &lt;a href=&quot;http://www.stat.go.jp/data/roudou/index.htm&quot;&gt;&amp;#x7D71;&amp;#x8A08;&amp;#x5C40;&amp;#x30DB;&amp;#x30FC;&amp;#x30E0;&amp;#x30DA;&amp;#x30FC;&amp;#x30B8;/&amp;#x52B4;&amp;#x50CD;&amp;#x529B;&amp;#x8ABF;&amp;#x67FB;&lt;/a&gt;&lt;br /&gt;
  2325. &lt;a href=&quot;http://www.stat.go.jp/data/roudou/pdf/definit.pdf&quot;&gt;用語の解説(PDF:41KB)&lt;/a&gt;(&lt;a href=&quot;http://www.stat.go.jp/data/roudou/index.htm&quot;&gt;統計局ホームページ/労働力調査&lt;/a&gt;)&lt;/p&gt;&lt;p&gt;まず、このグラフから。&lt;br /&gt;
  2326. 1997年と2007年の労働力に関連している項目をピックアップしてグラフ化した。&lt;br /&gt;
  2327. グラフ中の小さな赤字は増加数。&lt;br /&gt;
  2328. &lt;span itemscope itemtype=&quot;http://schema.org/Photograph&quot;&gt;&lt;a href=&quot;http://f.hatena.ne.jp/gounx2/20080805234334&quot; class=&quot;hatena-fotolife&quot; itemprop=&quot;url&quot;&gt;&lt;img src=&quot;https://cdn-ak.f.st-hatena.com/images/fotolife/g/gounx2/20080805/20080805234334.png&quot; alt=&quot;f:id:gounx2:20080805234334p:image&quot; title=&quot;f:id:gounx2:20080805234334p:image&quot; class=&quot;hatena-fotolife&quot; itemprop=&quot;image&quot;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;気になるのは、欄外の赤字部分&lt;br /&gt;
  2329. パッと見て思うのは、全て増加しているが、+500ぐらい、1000ぐらい、1500ぐらいと&lt;br /&gt;
  2330. 増加幅がいろいろある点。これらの意味を考えてみる。&lt;br /&gt;
  2331. (雇用とか就業者とかの定義を把握する)&lt;br /&gt;
  2332. &lt;span itemscope itemtype=&quot;http://schema.org/Photograph&quot;&gt;&lt;a href=&quot;http://f.hatena.ne.jp/gounx2/20080805234333&quot; class=&quot;hatena-fotolife&quot; itemprop=&quot;url&quot;&gt;&lt;img src=&quot;https://cdn-ak.f.st-hatena.com/images/fotolife/g/gounx2/20080805/20080805234333.png&quot; alt=&quot;f:id:gounx2:20080805234333p:image&quot; title=&quot;f:id:gounx2:20080805234333p:image&quot; class=&quot;hatena-fotolife&quot; itemprop=&quot;image&quot;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;黄色い部分は、グラフ中の数字を取ってきた。&lt;br /&gt;
  2333. で、注目すべきは*自営がマイナス*になっている点。&lt;br /&gt;
  2334. (就業者数=自営+雇用であるが、ネタ元はこのことを考慮していない)&lt;br /&gt;
  2335. ここまでは、数値を並べただけなので、誰がやっても同じ結果が得られるだろう。&lt;/p&gt;&lt;p&gt;この数字からストーリーを考えてみる。&lt;/p&gt;
  2336.  
  2337. &lt;ul&gt;
  2338. &lt;li&gt;労働力(実際働いている人+働く意思はあるが職がない人)は20年で645万人増えた。&lt;/li&gt;
  2339. &lt;li&gt;自営業は衰退し537万人が雇用される側となった。&lt;/li&gt;
  2340. &lt;li&gt;つまり、雇用者1000万人とは「労働力純増500万+自営業からの&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%CE%AE%C6%FE&quot;&gt;流入&lt;/a&gt;500万人」となる。&lt;/li&gt;
  2341. &lt;li&gt;&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%C0%B5%B5%AC%B8%DB%CD%D1&quot;&gt;正規雇用&lt;/a&gt;増は無いに等しく、1000万人はほぼそのまま非&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%C0%B5%B5%AC%B8%DB%CD%D1&quot;&gt;正規雇用&lt;/a&gt;されている。&lt;/li&gt;
  2342. &lt;/ul&gt;&lt;p&gt;さらに書くと、&lt;/p&gt;
  2343.  
  2344. &lt;ul&gt;
  2345. &lt;li&gt;この20年で労働力は増えたが、企業は&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%C0%B5%B5%AC%B8%DB%CD%D1&quot;&gt;正規雇用&lt;/a&gt;を追従して増加させることはできなかった。維持することで精一杯。&lt;/li&gt;
  2346. &lt;li&gt;&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%C0%B5%B5%AC%B8%DB%CD%D1&quot;&gt;正規雇用&lt;/a&gt;を守る為のしわ寄せが零細企業を直撃。&lt;/li&gt;
  2347. &lt;li&gt;同様に、20年で新たに増加した労働力も行き場は非&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%C0%B5%B5%AC%B8%DB%CD%D1&quot;&gt;正規雇用&lt;/a&gt;しかなかった。&lt;/li&gt;
  2348. &lt;/ul&gt;&lt;p&gt;# 継続的な数字を見ないことにはなんともいえないので、&lt;br /&gt;
  2349. # 20年前の数値と*だけ*比較しても、真実は見えない可能性が高いと思う。&lt;br /&gt;
  2350. # 非労働力が圧倒的に増えてる点が実は一番認識しておくポイントでしょ。&lt;/p&gt;
  2351. </content>        
  2352.        <category term="どうなんだろ?" label="どうなんだろ?" />
  2353.        
  2354.        <link rel="enclosure" href="https://cdn-ak.f.st-hatena.com/images/fotolife/g/gounx2/20080805/20080805234334.png" type="image/png" length="0" />
  2355.  
  2356.        <author>
  2357.            <name>gounx2</name>
  2358.        </author>
  2359.    </entry>
  2360.    
  2361.  
  2362.    
  2363.    
  2364.    <entry>
  2365.        <title>ログをFirebugのコンソールへ出力してみる(その2)</title>
  2366.        <link href="https://gounx2.hatenadiary.org/entry/20080731/1217486722"/>
  2367.        <id>hatenablog://entry/17680117127136075464</id>
  2368.        <published>2008-07-31T15:45:22+09:00</published>
  2369.        <updated>2019-05-17T03:30:40+09:00</updated>        <summary type="html">ログをFirebugのコンソールへ出力してみる。 - gounx2の日記の続き。詳しい説明は、LoggerPublisherDD.php のヘッダ部分に記述しているのでポイントだけ書きます。 主な変更点 「firebugが要素をソートして表示するので、順序がでたらめになる」欠点を解決しました。 ポップアップした別Windowに、rhacoのログ出力を行えるようにしました。 サンプル gg-sample/LoggerPublisherDD-sample.php &lt;?php include_once(dirname(__FILE__).&#39;/../rhaco/Rhaco.php&#39;); Rhaco::…</summary>
  2370.        <content type="html">&lt;p&gt;&lt;a href=&quot;http://d.hatena.ne.jp/gounx2/20080711/1215762567&quot;&gt;&amp;#x30ED;&amp;#x30B0;&amp;#x3092;Firebug&amp;#x306E;&amp;#x30B3;&amp;#x30F3;&amp;#x30BD;&amp;#x30FC;&amp;#x30EB;&amp;#x3078;&amp;#x51FA;&amp;#x529B;&amp;#x3057;&amp;#x3066;&amp;#x307F;&amp;#x308B;&amp;#x3002; - gounx2&amp;#x306E;&amp;#x65E5;&amp;#x8A18;&lt;/a&gt;の続き。&lt;/p&gt;&lt;p&gt;詳しい説明は、LoggerPublisherDD.&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/php&quot;&gt;php&lt;/a&gt; のヘッダ部分に記述しているのでポイントだけ書きます。&lt;/p&gt;
  2371.  
  2372. &lt;div class=&quot;section&quot;&gt;
  2373.    &lt;h4&gt;主な変更点&lt;/h4&gt;
  2374.    
  2375. &lt;ul&gt;
  2376. &lt;li&gt;「&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/firebug&quot;&gt;firebug&lt;/a&gt;が要素をソートして表示するので、順序がでたらめになる」欠点を解決しました。&lt;/li&gt;
  2377. &lt;li&gt;ポップアップした別Windowに、&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/rhaco&quot;&gt;rhaco&lt;/a&gt;のログ出力を行えるようにしました。&lt;/li&gt;
  2378. &lt;/ul&gt;
  2379. &lt;/div&gt;
  2380. &lt;div class=&quot;section&quot;&gt;
  2381.    &lt;h4&gt;サンプル&lt;/h4&gt;
  2382.    &lt;p&gt;&lt;a href=&quot;http://code.google.com/p/gounx2repo/source/browse/trunk/rhaco/gg-sample/LoggerPublisherDD-sample.php?r=64&quot;&gt;gg-sample/LoggerPublisherDD-sample.php&lt;/a&gt;&lt;/p&gt;
  2383. &lt;pre class=&quot;code lang-php&quot; data-lang=&quot;php&quot; data-unlink&gt;&lt;span class=&quot;synSpecial&quot;&gt;&amp;lt;?php&lt;/span&gt;
  2384. &lt;span class=&quot;synPreProc&quot;&gt;include_once&lt;/span&gt;&lt;span class=&quot;synSpecial&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;dirname&lt;/span&gt;&lt;span class=&quot;synSpecial&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;synConstant&quot;&gt;__FILE__&lt;/span&gt;&lt;span class=&quot;synSpecial&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;synStatement&quot;&gt;.&lt;/span&gt;&#39;&lt;span class=&quot;synConstant&quot;&gt;/../rhaco/Rhaco.php&lt;/span&gt;&#39;&lt;span class=&quot;synSpecial&quot;&gt;)&lt;/span&gt;;
  2385. Rhaco&lt;span class=&quot;synStatement&quot;&gt;::&lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;constant&lt;/span&gt;&lt;span class=&quot;synSpecial&quot;&gt;(&lt;/span&gt;&amp;quot;&lt;span class=&quot;synConstant&quot;&gt;LOG_DISP_LEVEL&lt;/span&gt;&amp;quot;,&amp;quot;&lt;span class=&quot;synConstant&quot;&gt;deep_debug&lt;/span&gt;&amp;quot;&lt;span class=&quot;synSpecial&quot;&gt;)&lt;/span&gt;;
  2386. Rhaco&lt;span class=&quot;synStatement&quot;&gt;::&lt;/span&gt;import&lt;span class=&quot;synSpecial&quot;&gt;(&lt;/span&gt;&#39;&lt;span class=&quot;synConstant&quot;&gt;generic.Flow&lt;/span&gt;&#39;&lt;span class=&quot;synSpecial&quot;&gt;)&lt;/span&gt;;
  2387. Rhaco&lt;span class=&quot;synStatement&quot;&gt;::&lt;/span&gt;import&lt;span class=&quot;synSpecial&quot;&gt;(&lt;/span&gt;&#39;&lt;span class=&quot;synConstant&quot;&gt;gg.util.LoggerPublisher.LoggerPublisherDD&lt;/span&gt;&#39;&lt;span class=&quot;synSpecial&quot;&gt;)&lt;/span&gt;;
  2388. Rhaco&lt;span class=&quot;synStatement&quot;&gt;::&lt;/span&gt;setVariable&lt;span class=&quot;synSpecial&quot;&gt;(&lt;/span&gt;&#39;&lt;span class=&quot;synConstant&quot;&gt;LOGGERPUBLISHER_DD_POPUP&lt;/span&gt;&#39;,   &lt;span class=&quot;synConstant&quot;&gt;true&lt;/span&gt;&lt;span class=&quot;synSpecial&quot;&gt;)&lt;/span&gt;;    &lt;span class=&quot;synComment&quot;&gt;// or false                別Windowへ表示するか?&lt;/span&gt;
  2389. Rhaco&lt;span class=&quot;synStatement&quot;&gt;::&lt;/span&gt;setVariable&lt;span class=&quot;synSpecial&quot;&gt;(&lt;/span&gt;&amp;quot;&lt;span class=&quot;synConstant&quot;&gt;LOGGERPUBLISHER_DD_FIREBUG&lt;/span&gt;&amp;quot;, &lt;span class=&quot;synConstant&quot;&gt;true&lt;/span&gt;&lt;span class=&quot;synSpecial&quot;&gt;)&lt;/span&gt;;    &lt;span class=&quot;synComment&quot;&gt;// or false                Firebugのconsoleへ出力するか?&lt;/span&gt;
  2390. Rhaco&lt;span class=&quot;synStatement&quot;&gt;::&lt;/span&gt;setVariable&lt;span class=&quot;synSpecial&quot;&gt;(&lt;/span&gt;&#39;&lt;span class=&quot;synConstant&quot;&gt;LOGGERPUBLISHER_DD_STYLE&lt;/span&gt;&#39;,   &#39;&lt;span class=&quot;synConstant&quot;&gt;dbug&lt;/span&gt;&#39;&lt;span class=&quot;synSpecial&quot;&gt;)&lt;/span&gt;;  &lt;span class=&quot;synComment&quot;&gt;// or &#39;var_dump&#39; or false  出力形式&lt;/span&gt;
  2391.  
  2392. &lt;span class=&quot;synStatement&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;flow&lt;/span&gt; &lt;span class=&quot;synStatement&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;synPreProc&quot;&gt;new&lt;/span&gt; Flow&lt;span class=&quot;synSpecial&quot;&gt;()&lt;/span&gt;;
  2393. &lt;span class=&quot;synType&quot;&gt;class&lt;/span&gt; Test&lt;span class=&quot;synSpecial&quot;&gt;{&lt;/span&gt;
  2394.    &lt;span class=&quot;synType&quot;&gt;private&lt;/span&gt; &lt;span class=&quot;synStatement&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;v_xxx&lt;/span&gt; &lt;span class=&quot;synStatement&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;synConstant&quot;&gt;123&lt;/span&gt;;
  2395.    &lt;span class=&quot;synStatement&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;synStatement&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;v_int&lt;/span&gt;    &lt;span class=&quot;synStatement&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;synConstant&quot;&gt;99&lt;/span&gt;;
  2396.    &lt;span class=&quot;synStatement&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;synStatement&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;v_string&lt;/span&gt; &lt;span class=&quot;synStatement&quot;&gt;=&lt;/span&gt; &amp;quot;&lt;span class=&quot;synConstant&quot;&gt;string&lt;/span&gt;&amp;quot;;
  2397.    &lt;span class=&quot;synStatement&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;synStatement&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;v_array&lt;/span&gt; &lt;span class=&quot;synStatement&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;synType&quot;&gt;array&lt;/span&gt;&lt;span class=&quot;synSpecial&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;synConstant&quot;&gt;1&lt;/span&gt;,&lt;span class=&quot;synConstant&quot;&gt;2&lt;/span&gt;,&lt;span class=&quot;synConstant&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;synSpecial&quot;&gt;)&lt;/span&gt;;
  2398.    &lt;span class=&quot;synStatement&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;synStatement&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;v_hash&lt;/span&gt; &lt;span class=&quot;synStatement&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;synType&quot;&gt;array&lt;/span&gt;&lt;span class=&quot;synSpecial&quot;&gt;(&lt;/span&gt;&amp;quot;&lt;span class=&quot;synConstant&quot;&gt;keyA&lt;/span&gt;&amp;quot;&lt;span class=&quot;synStatement&quot;&gt;=&amp;gt;&lt;/span&gt;&lt;span class=&quot;synConstant&quot;&gt;111&lt;/span&gt;,&amp;quot;&lt;span class=&quot;synConstant&quot;&gt;keyB&lt;/span&gt;&amp;quot;&lt;span class=&quot;synStatement&quot;&gt;=&amp;gt;&lt;/span&gt;&amp;quot;&lt;span class=&quot;synConstant&quot;&gt;222&lt;/span&gt;&amp;quot;&lt;span class=&quot;synSpecial&quot;&gt;)&lt;/span&gt;;
  2399. &lt;span class=&quot;synSpecial&quot;&gt;}&lt;/span&gt;
  2400. &lt;span class=&quot;synStatement&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;o&lt;/span&gt; &lt;span class=&quot;synStatement&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;synPreProc&quot;&gt;new&lt;/span&gt; Test&lt;span class=&quot;synSpecial&quot;&gt;()&lt;/span&gt;;
  2401. DD&lt;span class=&quot;synSpecial&quot;&gt;()&lt;/span&gt;;
  2402. DD&lt;span class=&quot;synSpecial&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;synStatement&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;flow&lt;/span&gt;&lt;span class=&quot;synSpecial&quot;&gt;)&lt;/span&gt;; &lt;span class=&quot;synComment&quot;&gt;// すぐに出力するときはDD()&lt;/span&gt;
  2403. DD&lt;span class=&quot;synSpecial&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;synStatement&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;o&lt;/span&gt;&lt;span class=&quot;synSpecial&quot;&gt;)&lt;/span&gt;;    &lt;span class=&quot;synComment&quot;&gt;// すぐに出力するときはDD()&lt;/span&gt;
  2404.  
  2405. &lt;span class=&quot;synPreProc&quot;&gt;echo&lt;/span&gt; &amp;quot;&lt;span class=&quot;synConstant&quot;&gt;↓ここからrhacoログ &amp;lt;br/&amp;gt;&lt;/span&gt;&lt;span class=&quot;synSpecial&quot;&gt;\n&lt;/span&gt;&amp;quot;;
  2406. Logger&lt;span class=&quot;synStatement&quot;&gt;::&lt;/span&gt;info&lt;span class=&quot;synSpecial&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;synStatement&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;flow&lt;/span&gt;&lt;span class=&quot;synSpecial&quot;&gt;)&lt;/span&gt;;     &lt;span class=&quot;synComment&quot;&gt;// 普通に書けばいい。オブジェクトなので自動で展開される。&lt;/span&gt;
  2407. Logger&lt;span class=&quot;synStatement&quot;&gt;::&lt;/span&gt;deep_debug&lt;span class=&quot;synSpecial&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;synStatement&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;o&lt;/span&gt;&lt;span class=&quot;synSpecial&quot;&gt;)&lt;/span&gt;;  &lt;span class=&quot;synComment&quot;&gt;// 普通に書けばいい。オブジェクトなので自動で展開される。&lt;/span&gt;
  2408. &lt;span class=&quot;synSpecial&quot;&gt;?&amp;gt;&lt;/span&gt;
  2409. &lt;/pre&gt;
  2410. &lt;/div&gt;
  2411. &lt;div class=&quot;section&quot;&gt;
  2412.    &lt;h4&gt;実行例&lt;/h4&gt;
  2413.    &lt;p&gt;↓先のサンプルを実行すると、別Windowがポップアップして、以下が表示されます。&lt;br /&gt;
  2414. &lt;span itemscope itemtype=&quot;http://schema.org/Photograph&quot;&gt;&lt;a href=&quot;http://f.hatena.ne.jp/gounx2/20080731153122&quot; class=&quot;hatena-fotolife&quot; itemprop=&quot;url&quot;&gt;&lt;img src=&quot;https://cdn-ak.f.st-hatena.com/images/fotolife/g/gounx2/20080731/20080731153122.png&quot; alt=&quot;f:id:gounx2:20080731153122p:image&quot; title=&quot;f:id:gounx2:20080731153122p:image&quot; class=&quot;hatena-fotolife&quot; itemprop=&quot;image&quot;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;↓色つきの部分はクリックで展開できます。&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/PHP&quot;&gt;PHP&lt;/a&gt;&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%A5%BD%A1%BC%A5%B9%A5%B3%A1%BC%A5%C9&quot;&gt;ソースコード&lt;/a&gt;も表示できます。&lt;br /&gt;
  2415. &lt;span itemscope itemtype=&quot;http://schema.org/Photograph&quot;&gt;&lt;a href=&quot;http://f.hatena.ne.jp/gounx2/20080731153121&quot; class=&quot;hatena-fotolife&quot; itemprop=&quot;url&quot;&gt;&lt;img src=&quot;https://cdn-ak.f.st-hatena.com/images/fotolife/g/gounx2/20080731/20080731153121.png&quot; alt=&quot;f:id:gounx2:20080731153121p:image&quot; title=&quot;f:id:gounx2:20080731153121p:image&quot; class=&quot;hatena-fotolife&quot; itemprop=&quot;image&quot;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;↓同時に、&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/Firebug&quot;&gt;Firebug&lt;/a&gt;のconsoleに、以下が表示されます。&lt;br /&gt;
  2416. &lt;span itemscope itemtype=&quot;http://schema.org/Photograph&quot;&gt;&lt;a href=&quot;http://f.hatena.ne.jp/gounx2/20080731153123&quot; class=&quot;hatena-fotolife&quot; itemprop=&quot;url&quot;&gt;&lt;img src=&quot;https://cdn-ak.f.st-hatena.com/images/fotolife/g/gounx2/20080731/20080731153123.png&quot; alt=&quot;f:id:gounx2:20080731153123p:image&quot; title=&quot;f:id:gounx2:20080731153123p:image&quot; class=&quot;hatena-fotolife&quot; itemprop=&quot;image&quot;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;↓オブジェクトや配列はクリックで展開できます。&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/Firebug&quot;&gt;Firebug&lt;/a&gt;が勝手にソートしてしまうので、名称に強引にナンバリングして、&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/PHP&quot;&gt;PHP&lt;/a&gt;上でのプロパティ(メンバ)の順を再現するようにしました。&lt;br /&gt;
  2417. &lt;span itemscope itemtype=&quot;http://schema.org/Photograph&quot;&gt;&lt;a href=&quot;http://f.hatena.ne.jp/gounx2/20080731153124&quot; class=&quot;hatena-fotolife&quot; itemprop=&quot;url&quot;&gt;&lt;img src=&quot;https://cdn-ak.f.st-hatena.com/images/fotolife/g/gounx2/20080731/20080731153124.png&quot; alt=&quot;f:id:gounx2:20080731153124p:image&quot; title=&quot;f:id:gounx2:20080731153124p:image&quot; class=&quot;hatena-fotolife&quot; itemprop=&quot;image&quot;&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
  2418. &lt;/p&gt;
  2419.  
  2420. &lt;/div&gt;
  2421. &lt;div class=&quot;section&quot;&gt;
  2422.    &lt;h4&gt;ソース&lt;/h4&gt;
  2423.    &lt;p&gt;&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/rhaco&quot;&gt;rhaco&lt;/a&gt;はtrunkと、以下が必要。&lt;br /&gt;
  2424. &lt;a href=&quot;http://code.google.com/p/gounx2repo/source/browse/trunk/rhaco/gg/util/LoggerPublisher/LoggerPublisherDD.php?r=62&quot;&gt;gg/util/LoggerPublisher/LoggerPublisherDD.php&lt;/a&gt;&lt;br /&gt;
  2425. &lt;a href=&quot;http://code.google.com/p/gounx2repo/source/browse/trunk/rhaco/gg/util/LoggerPublisher/dBug.php?r=62&quot;&gt;gg/util/LoggerPublisher/dBug.php&lt;/a&gt;&lt;br /&gt;
  2426. &lt;/p&gt;
  2427.  
  2428. &lt;/div&gt;
  2429. &lt;div class=&quot;section&quot;&gt;
  2430.    &lt;h4&gt;&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/rhaco&quot;&gt;rhaco&lt;/a&gt;について&lt;/h4&gt;
  2431.    &lt;p&gt;&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/rhaco&quot;&gt;rhaco&lt;/a&gt;は&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/PHP&quot;&gt;PHP&lt;/a&gt;の&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%A5%D5%A5%EC%A1%BC%A5%E0%A5%EF%A1%BC%A5%AF&quot;&gt;フレームワーク&lt;/a&gt;というかライブラリみたいなもの。&lt;br /&gt;
  2432. 自作のアプリで&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/rhaco&quot;&gt;rhaco&lt;/a&gt;のログ機能だけ使う。というようなこともできます。&lt;/p&gt;
  2433.  
  2434. &lt;/div&gt;</content>        
  2435.        <category term="rhaco" label="rhaco" />
  2436.        
  2437.        <link rel="enclosure" href="https://cdn-ak.f.st-hatena.com/images/fotolife/g/gounx2/20080731/20080731153122.png" type="image/png" length="0" />
  2438.  
  2439.        <author>
  2440.            <name>gounx2</name>
  2441.        </author>
  2442.    </entry>
  2443.    
  2444.  
  2445.    
  2446.    
  2447.    <entry>
  2448.        <title>Lingrのログをシンプルに表示してみた。</title>
  2449.        <link href="https://gounx2.hatenadiary.org/entry/20080726/1217055770"/>
  2450.        <id>hatenablog://entry/17680117127136075608</id>
  2451.        <published>2008-07-26T16:02:50+09:00</published>
  2452.        <updated>2019-05-17T03:30:42+09:00</updated>        <summary type="html">http://goungoun.dip.jp/app/open/LingrArchiveViewer/index.php?room=rhaco-jaさらにシンプルに画像をなくしたもの。 http://goungoun.dip.jp/app/open/LingrArchiveViewer/index.php?room=rhaco-ja&amp;simpleソースはここ</summary>
  2453.        <content type="html">&lt;p&gt;&lt;a href=&quot;http://goungoun.dip.jp/app/open/LingrArchiveViewer/index.php?room=rhaco-ja&quot;&gt;http://goungoun.dip.jp/app/open/LingrArchiveViewer/index.php?room=rhaco-ja&lt;/a&gt;&lt;/p&gt;&lt;p&gt;さらにシンプルに画像をなくしたもの。&lt;br /&gt;
  2454. &lt;a href=&quot;http://goungoun.dip.jp/app/open/LingrArchiveViewer/index.php?room=rhaco-ja&amp;simple&quot;&gt;http://goungoun.dip.jp/app/open/LingrArchiveViewer/index.php?room=rhaco-ja&amp;simple&lt;/a&gt;&lt;/p&gt;&lt;p&gt;ソースは&lt;a href=&quot;http://code.google.com/p/gounx2repo/source/browse/trunk/rhaco/gg-sample/LingrArchiveViewer/index.php&quot;&gt;&amp;#x3053;&amp;#x3053;&lt;/a&gt;&lt;/p&gt;
  2455. </content>        
  2456.        <category term="php" label="php" />
  2457.        
  2458.        <category term="rhaco" label="rhaco" />
  2459.        
  2460.        <link rel="enclosure" href="https://cdn.blog.st-hatena.com/images/theme/og-image-1500.png" type="image/png" length="0" />
  2461.  
  2462.        <author>
  2463.            <name>gounx2</name>
  2464.        </author>
  2465.    </entry>
  2466.    
  2467.  
  2468.    
  2469.    
  2470.    <entry>
  2471.        <title>systemの戻りをob_start,ob_get_cleanで取得しようとしてハマるの巻</title>
  2472.        <link href="https://gounx2.hatenadiary.org/entry/20080724/1216890444"/>
  2473.        <id>hatenablog://entry/17680117127136075901</id>
  2474.        <published>2008-07-24T18:07:24+09:00</published>
  2475.        <updated>2019-05-17T03:30:45+09:00</updated>        <summary type="html">次のようなスクリプトを実行すると、 &lt;?php $out = &#39;&#39;; //exec(&quot;cd&quot;, $out); ob_start(); system(&quot;cd&quot;); $out = ob_get_clean(); header(&quot;Content-Type: text/html;&quot;); // ←10行目 print phpversion() . &quot;&lt;br /&gt;\n&quot;; print &quot;hello!&lt;br /&gt;\n&quot;; print_r($out); ?&gt; 次のエラーになります。 Warning: Cannot modify header information - headers already sent…</summary>
  2476.        <content type="html">&lt;p&gt;次のような&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%A5%B9%A5%AF%A5%EA%A5%D7%A5%C8&quot;&gt;スクリプト&lt;/a&gt;を実行すると、&lt;/p&gt;
  2477. &lt;pre class=&quot;code lang-php&quot; data-lang=&quot;php&quot; data-unlink&gt;&lt;span class=&quot;synSpecial&quot;&gt;&amp;lt;?php&lt;/span&gt;
  2478. &lt;span class=&quot;synStatement&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;out&lt;/span&gt; &lt;span class=&quot;synStatement&quot;&gt;=&lt;/span&gt; &#39;&#39;;
  2479.  
  2480. &lt;span class=&quot;synComment&quot;&gt;//exec(&amp;quot;cd&amp;quot;, $out);&lt;/span&gt;
  2481.  
  2482. &lt;span class=&quot;synIdentifier&quot;&gt;ob_start&lt;/span&gt;&lt;span class=&quot;synSpecial&quot;&gt;()&lt;/span&gt;;
  2483. &lt;span class=&quot;synIdentifier&quot;&gt;system&lt;/span&gt;&lt;span class=&quot;synSpecial&quot;&gt;(&lt;/span&gt;&amp;quot;&lt;span class=&quot;synConstant&quot;&gt;cd&lt;/span&gt;&amp;quot;&lt;span class=&quot;synSpecial&quot;&gt;)&lt;/span&gt;;
  2484. &lt;span class=&quot;synStatement&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;out&lt;/span&gt; &lt;span class=&quot;synStatement&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;synIdentifier&quot;&gt;ob_get_clean&lt;/span&gt;&lt;span class=&quot;synSpecial&quot;&gt;()&lt;/span&gt;;
  2485.  
  2486. &lt;span class=&quot;synIdentifier&quot;&gt;header&lt;/span&gt;&lt;span class=&quot;synSpecial&quot;&gt;(&lt;/span&gt;&amp;quot;&lt;span class=&quot;synConstant&quot;&gt;Content-Type: text/html;&lt;/span&gt;&amp;quot;&lt;span class=&quot;synSpecial&quot;&gt;)&lt;/span&gt;;  &lt;span class=&quot;synComment&quot;&gt;// ←10行目&lt;/span&gt;
  2487. &lt;span class=&quot;synPreProc&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;synIdentifier&quot;&gt;phpversion&lt;/span&gt;&lt;span class=&quot;synSpecial&quot;&gt;()&lt;/span&gt; &lt;span class=&quot;synStatement&quot;&gt;.&lt;/span&gt; &amp;quot;&lt;span class=&quot;synConstant&quot;&gt;&amp;lt;br /&amp;gt;&lt;/span&gt;&lt;span class=&quot;synSpecial&quot;&gt;\n&lt;/span&gt;&amp;quot;;
  2488. &lt;span class=&quot;synPreProc&quot;&gt;print&lt;/span&gt; &amp;quot;&lt;span class=&quot;synConstant&quot;&gt;hello!&amp;lt;br /&amp;gt;&lt;/span&gt;&lt;span class=&quot;synSpecial&quot;&gt;\n&lt;/span&gt;&amp;quot;;
  2489. &lt;span class=&quot;synIdentifier&quot;&gt;print_r&lt;/span&gt;&lt;span class=&quot;synSpecial&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;synStatement&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;out&lt;/span&gt;&lt;span class=&quot;synSpecial&quot;&gt;)&lt;/span&gt;;
  2490.  
  2491. &lt;span class=&quot;synSpecial&quot;&gt;?&amp;gt;&lt;/span&gt;
  2492. &lt;/pre&gt;&lt;p&gt;次のエラーになります。&lt;/p&gt;
  2493. &lt;pre class=&quot;code&quot; data-lang=&quot;&quot; data-unlink&gt;Warning: Cannot modify header information - headers already sent in hoge.php on line 10
  2494. 5.2.2
  2495. hello!
  2496. C:\xampp\htdocs\hoge &lt;/pre&gt;&lt;p&gt;これは &lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/Windows&quot;&gt;Windows&lt;/a&gt; PHP5.2.2 の話&lt;br /&gt;
  2497. &lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/Linux&quot;&gt;Linux&lt;/a&gt; PHP5.2.0でも同様のエラーになりました。&lt;/p&gt;&lt;p&gt;変わりに&lt;/p&gt;
  2498. &lt;pre class=&quot;code&quot; data-lang=&quot;&quot; data-unlink&gt;exec(&amp;#34;cd&amp;#34;, $out);&lt;/pre&gt;&lt;p&gt;使えばエラーになりませんでした。&lt;/p&gt;&lt;p&gt;なんだこりゃ。&lt;br /&gt;
  2499. systemとob_startは相性が悪いようです。&lt;/p&gt;&lt;p&gt;# &lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/PHP&quot;&gt;PHP&lt;/a&gt;のバグなのかな・・・&lt;/p&gt;
  2500. </content>        
  2501.        <category term="php" label="php" />
  2502.        
  2503.        <link rel="enclosure" href="https://cdn.blog.st-hatena.com/images/theme/og-image-1500.png" type="image/png" length="0" />
  2504.  
  2505.        <author>
  2506.            <name>gounx2</name>
  2507.        </author>
  2508.    </entry>
  2509.    
  2510.    <entry>
  2511.        <title>バグ、SvnLogger::TYPE_SHELL()モードで使用してSvnLogger-&gt;toRss()するとWarningになる。</title>
  2512.        <link href="https://gounx2.hatenadiary.org/entry/20080724/1216890443"/>
  2513.        <id>hatenablog://entry/17680117127136075765</id>
  2514.        <published>2008-07-24T18:07:23+09:00</published>
  2515.        <updated>2019-05-17T03:30:43+09:00</updated>        <summary type="html">どんな現象か? このスクリプトを実行すると、Rss出力できるんですが、 Warning: Cannot modify header information - headers already sent in ...も表示されるorz &lt;?php //ini_set(&quot;display_errors&quot;,&quot;On&quot;); //ini_set(&quot;display_startup_errors&quot;,&quot;On&quot;); include_once(dirname(__FILE__).&#39;/__init__.php&#39;); Rhaco::import(&#39;arbo.network.SvnLogger&#39;); chdir(dirna…</summary>
  2516.        <content type="html">
  2517. &lt;div class=&quot;section&quot;&gt;
  2518.    &lt;h4&gt;どんな現象か?&lt;/h4&gt;
  2519.    &lt;p&gt;この&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/%A5%B9%A5%AF%A5%EA%A5%D7%A5%C8&quot;&gt;スクリプト&lt;/a&gt;を実行すると、&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/Rss&quot;&gt;Rss&lt;/a&gt;出力できるんですが、&lt;/p&gt;
  2520. &lt;pre class=&quot;code&quot; data-lang=&quot;&quot; data-unlink&gt;Warning: Cannot modify header information - headers already sent in ...&lt;/pre&gt;&lt;p&gt;も表示されるorz&lt;/p&gt;
  2521. &lt;pre class=&quot;code lang-php&quot; data-lang=&quot;php&quot; data-unlink&gt;&lt;span class=&quot;synSpecial&quot;&gt;&amp;lt;?php&lt;/span&gt;
  2522. &lt;span class=&quot;synComment&quot;&gt;//ini_set(&amp;quot;display_errors&amp;quot;,&amp;quot;On&amp;quot;);&lt;/span&gt;
  2523. &lt;span class=&quot;synComment&quot;&gt;//ini_set(&amp;quot;display_startup_errors&amp;quot;,&amp;quot;On&amp;quot;);&lt;/span&gt;
  2524.  
  2525. &lt;span class=&quot;synPreProc&quot;&gt;include_once&lt;/span&gt;&lt;span class=&quot;synSpecial&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;dirname&lt;/span&gt;&lt;span class=&quot;synSpecial&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;synConstant&quot;&gt;__FILE__&lt;/span&gt;&lt;span class=&quot;synSpecial&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;synStatement&quot;&gt;.&lt;/span&gt;&#39;&lt;span class=&quot;synConstant&quot;&gt;/__init__.php&lt;/span&gt;&#39;&lt;span class=&quot;synSpecial&quot;&gt;)&lt;/span&gt;;
  2526. Rhaco&lt;span class=&quot;synStatement&quot;&gt;::&lt;/span&gt;import&lt;span class=&quot;synSpecial&quot;&gt;(&lt;/span&gt;&#39;&lt;span class=&quot;synConstant&quot;&gt;arbo.network.SvnLogger&lt;/span&gt;&#39;&lt;span class=&quot;synSpecial&quot;&gt;)&lt;/span&gt;;
  2527.  
  2528. &lt;span class=&quot;synIdentifier&quot;&gt;chdir&lt;/span&gt;&lt;span class=&quot;synSpecial&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;dirname&lt;/span&gt;&lt;span class=&quot;synSpecial&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;synConstant&quot;&gt;__FILE__&lt;/span&gt;&lt;span class=&quot;synSpecial&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;synStatement&quot;&gt;.&lt;/span&gt;&#39;&lt;span class=&quot;synConstant&quot;&gt;/../rhaco&lt;/span&gt;&#39;&lt;span class=&quot;synSpecial&quot;&gt;)&lt;/span&gt;;
  2529. &lt;span class=&quot;synComment&quot;&gt;//echo getcwd() . &amp;quot;\n&amp;quot;;&lt;/span&gt;
  2530. &lt;span class=&quot;synComment&quot;&gt;//system(&amp;quot;/usr/bin/svn info&amp;quot;);&lt;/span&gt;
  2531. &lt;span class=&quot;synStatement&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;svn&lt;/span&gt; &lt;span class=&quot;synStatement&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;synPreProc&quot;&gt;new&lt;/span&gt; SvnLogger&lt;span class=&quot;synSpecial&quot;&gt;(&lt;/span&gt;SvnLogger&lt;span class=&quot;synStatement&quot;&gt;::&lt;/span&gt;TYPE_SHELL&lt;span class=&quot;synSpecial&quot;&gt;()&lt;/span&gt;, &#39;&#39;&lt;span class=&quot;synSpecial&quot;&gt;)&lt;/span&gt;;
  2532. &lt;span class=&quot;synStatement&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;to&lt;/span&gt; &lt;span class=&quot;synStatement&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;synStatement&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;svn&lt;/span&gt;&lt;span class=&quot;synType&quot;&gt;-&amp;gt;&lt;/span&gt;last&lt;span class=&quot;synSpecial&quot;&gt;()&lt;/span&gt;;
  2533. &lt;span class=&quot;synStatement&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;from&lt;/span&gt; &lt;span class=&quot;synStatement&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;synStatement&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;to&lt;/span&gt; &lt;span class=&quot;synStatement&quot;&gt;-&lt;/span&gt; &lt;span class=&quot;synConstant&quot;&gt;100&lt;/span&gt;;
  2534. &lt;span class=&quot;synStatement&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;svn&lt;/span&gt;&lt;span class=&quot;synType&quot;&gt;-&amp;gt;&lt;/span&gt;revision&lt;span class=&quot;synSpecial&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;synStatement&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;from&lt;/span&gt;, &lt;span class=&quot;synStatement&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;to&lt;/span&gt;&lt;span class=&quot;synSpecial&quot;&gt;)&lt;/span&gt;;
  2535. &lt;span class=&quot;synStatement&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;svn&lt;/span&gt;&lt;span class=&quot;synType&quot;&gt;-&amp;gt;&lt;/span&gt;toRss&lt;span class=&quot;synSpecial&quot;&gt;(&lt;/span&gt;&#39;&lt;span class=&quot;synConstant&quot;&gt;rhaco-svn-sourceforge-net&lt;/span&gt;&#39;, &#39;&lt;span class=&quot;synConstant&quot;&gt;rhaco リポジトリのリビジョン&lt;/span&gt;&#39;, &#39;&lt;span class=&quot;synConstant&quot;&gt;http://sourceforge.net/projects/rhaco/&lt;/span&gt;&#39;&lt;span class=&quot;synSpecial&quot;&gt;)&lt;/span&gt;;
  2536. &lt;span class=&quot;synSpecial&quot;&gt;?&amp;gt;&lt;/span&gt;
  2537. &lt;/pre&gt;
  2538. &lt;/div&gt;
  2539. &lt;div class=&quot;section&quot;&gt;
  2540.    &lt;h4&gt;修正してみた。&lt;/h4&gt;
  2541.    &lt;p&gt;arbo/network/SvnLogger.&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/php&quot;&gt;php&lt;/a&gt;(Rev15)&lt;/p&gt;
  2542. &lt;pre class=&quot;code lang-php&quot; data-lang=&quot;php&quot; data-unlink&gt;&lt;span class=&quot;synSpecial&quot;&gt;&amp;lt;?php&lt;/span&gt;
  2543. &lt;span class=&quot;synStatement&quot;&gt;:&lt;/span&gt;
  2544. &lt;span class=&quot;synType&quot;&gt;class&lt;/span&gt; SvnLogger&lt;span class=&quot;synSpecial&quot;&gt;{&lt;/span&gt;
  2545. &lt;span class=&quot;synStatement&quot;&gt;:&lt;/span&gt;
  2546.    &lt;span class=&quot;synPreProc&quot;&gt;function&lt;/span&gt; _cmd&lt;span class=&quot;synSpecial&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;synStatement&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;cmd&lt;/span&gt;&lt;span class=&quot;synSpecial&quot;&gt;){&lt;/span&gt;
  2547.        Logger&lt;span class=&quot;synStatement&quot;&gt;::&lt;/span&gt;debug&lt;span class=&quot;synSpecial&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;synStatement&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;cmd&lt;/span&gt;&lt;span class=&quot;synSpecial&quot;&gt;)&lt;/span&gt;;
  2548. &lt;span class=&quot;synStatement&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;out&lt;/span&gt;&lt;span class=&quot;synStatement&quot;&gt;=&lt;/span&gt;&#39;&#39;;
  2549. &lt;span class=&quot;synIdentifier&quot;&gt;exec&lt;/span&gt;&lt;span class=&quot;synSpecial&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;synStatement&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;cmd&lt;/span&gt;,&lt;span class=&quot;synStatement&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;out&lt;/span&gt;&lt;span class=&quot;synSpecial&quot;&gt;)&lt;/span&gt;;
  2550. &lt;span class=&quot;synStatement&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;synIdentifier&quot;&gt;implode&lt;/span&gt;&lt;span class=&quot;synSpecial&quot;&gt;(&lt;/span&gt;&amp;quot;&lt;span class=&quot;synSpecial&quot;&gt;\n&lt;/span&gt;&amp;quot;,&lt;span class=&quot;synStatement&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;out&lt;/span&gt;&lt;span class=&quot;synSpecial&quot;&gt;)&lt;/span&gt;;
  2551.        &lt;span class=&quot;synIdentifier&quot;&gt;ob_start&lt;/span&gt;&lt;span class=&quot;synSpecial&quot;&gt;()&lt;/span&gt;;
  2552.            &lt;span class=&quot;synIdentifier&quot;&gt;system&lt;/span&gt;&lt;span class=&quot;synSpecial&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;synStatement&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;synIdentifier&quot;&gt;cmd&lt;/span&gt;&lt;span class=&quot;synSpecial&quot;&gt;)&lt;/span&gt;;
  2553.        &lt;span class=&quot;synStatement&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;synIdentifier&quot;&gt;ob_get_clean&lt;/span&gt;&lt;span class=&quot;synSpecial&quot;&gt;()&lt;/span&gt;;
  2554.    &lt;span class=&quot;synSpecial&quot;&gt;}&lt;/span&gt;
  2555. &lt;span class=&quot;synSpecial&quot;&gt;}&lt;/span&gt;
  2556. &lt;span class=&quot;synSpecial&quot;&gt;?&amp;gt;&lt;/span&gt;
  2557. &lt;/pre&gt;&lt;p&gt;しかしながら、なぜこのように修正すれば改善されるのか謎です。&lt;br /&gt;
  2558. 詳しくは次の記事で。&lt;/p&gt;
  2559.  
  2560. &lt;/div&gt;</content>        
  2561.        <category term="rhaco" label="rhaco" />
  2562.        
  2563.        <link rel="enclosure" href="https://cdn.blog.st-hatena.com/images/theme/og-image-1500.png" type="image/png" length="0" />
  2564.  
  2565.        <author>
  2566.            <name>gounx2</name>
  2567.        </author>
  2568.    </entry>
  2569.    
  2570.    <entry>
  2571.        <title>.htaccessの設定とかアクセス制限って。</title>
  2572.        <link href="https://gounx2.hatenadiary.org/entry/20080724/1216882082"/>
  2573.        <id>hatenablog://entry/17680117127136075690</id>
  2574.        <published>2008-07-24T15:48:02+09:00</published>
  2575.        <updated>2019-05-17T03:30:43+09:00</updated>        <summary type="html">setup.php については、member からパスワード設定するとして。こんな感じかな。/apppath/.htaccess &lt;Files ~ &quot;^__.*$&quot;&gt; deny from all &lt;/Files&gt; &lt;Files ~ &quot;^.*\db$&quot;&gt; deny from all &lt;/Files&gt;/apppath/{library,resources,setup,work}/.htaccess order deny,allow deny from allもしくは・・・ mod_rewrite 使って1ファイルにまとめてみたり。/apppath/.htaccess RewriteEngine O…</summary>
  2576.        <content type="html">&lt;p&gt;setup.&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/php&quot;&gt;php&lt;/a&gt; については、member からパスワード設定するとして。&lt;/p&gt;&lt;p&gt;こんな感じかな。&lt;/p&gt;&lt;p&gt;/apppath/&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/.htaccess&quot;&gt;.htaccess&lt;/a&gt;&lt;/p&gt;
  2577. &lt;pre class=&quot;code&quot; data-lang=&quot;&quot; data-unlink&gt;&amp;lt;Files ~ &amp;#34;^__.*$&amp;#34;&amp;gt;
  2578. deny from all
  2579. &amp;lt;/Files&amp;gt;
  2580. &amp;lt;Files ~ &amp;#34;^.*\db$&amp;#34;&amp;gt;
  2581. deny from all
  2582. &amp;lt;/Files&amp;gt;&lt;/pre&gt;&lt;p&gt;/apppath/{library,resources,setup,work}/&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/.htaccess&quot;&gt;.htaccess&lt;/a&gt;&lt;/p&gt;
  2583. &lt;pre class=&quot;code&quot; data-lang=&quot;&quot; data-unlink&gt;order deny,allow
  2584. deny from all&lt;/pre&gt;&lt;p&gt;もしくは・・・&lt;br /&gt;
  2585. &lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/mod_rewrite&quot;&gt;mod_rewrite&lt;/a&gt; 使って1ファイルにまとめてみたり。&lt;/p&gt;&lt;p&gt;/apppath/&lt;a class=&quot;keyword&quot; href=&quot;http://d.hatena.ne.jp/keyword/.htaccess&quot;&gt;.htaccess&lt;/a&gt;&lt;/p&gt;
  2586. &lt;pre class=&quot;code&quot; data-lang=&quot;&quot; data-unlink&gt;RewriteEngine On
  2587. RewriteBase /apppath/
  2588. RewriteRule ^_          /apppath/ [R,L]
  2589. RewriteRule ^.*\.db$    /apppath/ [R,L]
  2590. RewriteRule ^library/   /apppath/ [R,L]
  2591. RewriteRule ^resources/ /apppath/ [R,L]
  2592. RewriteRule ^setup/     /apppath/ [R,L]
  2593. RewriteRule ^work/      /apppath/ [R,L]
  2594. RewriteCond %{REQUEST_FILENAME} !-f
  2595. RewriteRule ^(.+)$ index.php?%{QUERY_STRING}&amp;amp;pathinfo=$1 [L]&lt;/pre&gt;&lt;p&gt;# 最後の2行は、cool url 用ですけど。。&lt;/p&gt;
  2596. </content>        
  2597.        <category term="rhaco" label="rhaco" />
  2598.        
  2599.        <link rel="enclosure" href="https://cdn.blog.st-hatena.com/images/theme/og-image-1500.png" type="image/png" length="0" />
  2600.  
  2601.        <author>
  2602.            <name>gounx2</name>
  2603.        </author>
  2604.    </entry>
  2605.    
  2606.  
  2607. </feed>
  2608.  
Copyright © 2002-9 Sam Ruby, Mark Pilgrim, Joseph Walton, and Phil Ringnalda