<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
		xmlns:xhtml="http://www.w3.org/1999/xhtml"
>

<channel>
	<title>最後に残った道しるべ</title>
	<atom:link href="http://homura.ch2.cc/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://homura.ch2.cc</link>
	<description>may the source be with you.</description>
	<lastBuildDate>Wed, 16 May 2012 22:52:41 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://homura.ch2.cc/" />
		<item>
		<title>MySQL の character set まとめ</title>
		<link>http://homura.ch2.cc/?p=542</link>
		<comments>http://homura.ch2.cc/?p=542#comments</comments>
		<pubDate>Wed, 16 May 2012 22:52:28 +0000</pubDate>
		<dc:creator>ワルプルギスの小夜</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://homura.ch2.cc/?p=542</guid>
		<description><![CDATA[現在設定されてる charset の確認方法 mysql> show variables like 'cha%'; +--------------------------+------------------------ &#8230; <a class="more-link" href="http://homura.ch2.cc/?p=542">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<h2>現在設定されてる charset の確認方法</H2></p>
<pre>
mysql> show variables like 'cha%';
+--------------------------+----------------------------+
| Variable_name            | Value                      |
+--------------------------+----------------------------+
| character_set_client     | latin1                     |
| character_set_connection | latin1                     |
| character_set_database   | latin1                     |
| character_set_filesystem | binary                     |
| character_set_results    | latin1                     |
| character_set_server     | latin1                     |
| character_set_system     | utf8                       |
| character_sets_dir       | /usr/share/mysql/charsets/ |
+--------------------------+----------------------------+
8 rows in set (0.01 sec)
</pre>
<p>ubuntuでMySQLを普通にapt-getで入れた状態だとこんな感じ。</p>
<h2>設定変更</h2>
<p>&#8220;SET NAMES UTF8;&#8221; というクエリを発行すると、<br />
character_set_client, character_set_connection, character_set_results をutf8 に<br />
切り替えることが出来る。<br />
アプリケーションから DB接続直後にこのクエリは昔は定番だったけども<br />
セキュリティ上の問題があるので現在は非推奨、つかぶっちゃけ使用禁止。<br />
<a href="http://blog.ohgaki.net/set_namesa_mcb_asc">http://blog.ohgaki.net/set_namesa_mcb_asc</a></p>
<p>php だったら mysqli_set_charset( $db, &#8220;utf8&#8243; ); とか、<br />
&#8220;SET NAMES&#8221;を使わずに専用の api からやること。</p>
<p><H2>my.conf</h2>
<p>上記対応をしても character_set_server や character_set_database は変わらずに<br />
Latin1 のまま。<br />
/etc/mysql/my.cnf を編集して、mysqld のところに</p>
<pre>
character-set-server=utf8               # ここを追加 by sayoko
skip-character-set-client-handshake     # これも
</pre>
<p>以上を追加。そして MySQL を再起動。<br />
※ my.cnfの書式 mysql 5.3あたりで変わってるので要確認。<br />
ubuntuのは Ver 5.1.49-1ubuntu8.1-log for debian-linux-gnu on x86_64 ((Ubuntu))<br />
だったりする。</p>
<h2>もう一度確認</h2>
<pre>
mysql> show variables like 'cha%';
+--------------------------+----------------------------+
| Variable_name            | Value                      |
+--------------------------+----------------------------+
| character_set_client     | utf8                       |
| character_set_connection | utf8                       |
| character_set_database   | latin1                     |
| character_set_filesystem | binary                     |
| character_set_results    | utf8                       |
| character_set_server     | utf8                       |
| character_set_system     | utf8                       |
| character_sets_dir       | /usr/share/mysql/charsets/ |
+--------------------------+----------------------------+
8 rows in set (0.00 sec)
</pre>
<p>ここまでやっても character_set_database だけは latin1 のまま。<br />
これは既存のデータベースがすでに latin1で作成されているので。<br />
データが少ない初期状態のうちなら、データベースを新規に作り直した方が早い。</p>
<pre>
create table bbs (
       postno          int unsigned auto_increment not null,
       ...
       msg             varchar(1024),
       addr            char(128),
       PRIMARY KEY(postno)
) default character set utf8;
</pre>
<p>こんな感じで create table する段階で utf8指定する。<br />
もちろん create database の段階で指定してもいい。</p>
<h2>すでにあるDBは</h2>
<p>alter database (db-name) character set utf8</p>
]]></content:encoded>
			<wfw:commentRss>http://homura.ch2.cc/?feed=rss2&#038;p=542</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://homura.ch2.cc/?p=542" />
	</item>
		<item>
		<title>保護中: nay</title>
		<link>http://homura.ch2.cc/?p=530</link>
		<comments>http://homura.ch2.cc/?p=530#comments</comments>
		<pubDate>Thu, 26 Apr 2012 14:06:03 +0000</pubDate>
		<dc:creator>ワルプルギスの小夜</dc:creator>
				<category><![CDATA[未分類]]></category>

		<guid isPermaLink="false">http://homura.ch2.cc/?p=530</guid>
		<description><![CDATA[この投稿はパスワードで保護されているため抜粋文はありません。]]></description>
			<content:encoded><![CDATA[<form action="http://homura.ch2.cc/wp-pass.php" method="post">
<p>この投稿はパスワードで保護されています。表示するにはパスワードを入力してください:</p>
<p><label for="pwbox-530">パスワード:<br />
<input name="post_password" id="pwbox-530" type="password" size="20" /></label><br />
<input type="submit" name="Submit" value="実行" /></p></form>
]]></content:encoded>
			<wfw:commentRss>http://homura.ch2.cc/?feed=rss2&#038;p=530</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://homura.ch2.cc/?p=530" />
	</item>
		<item>
		<title>音源作成への四苦八苦</title>
		<link>http://homura.ch2.cc/?p=525</link>
		<comments>http://homura.ch2.cc/?p=525#comments</comments>
		<pubDate>Fri, 13 Apr 2012 23:06:38 +0000</pubDate>
		<dc:creator>ワルプルギスの小夜</dc:creator>
				<category><![CDATA[腐日記]]></category>

		<guid isPermaLink="false">http://homura.ch2.cc/?p=525</guid>
		<description><![CDATA[1) UTAUで遊ぶ為には、やっぱり伴奏が欲しいわけで、 オフボーカルな音源探してきて、それに歌を乗っけるというだけじゃ淋しいから、 やっぱり自力で伴奏作りたい。 2) DTMというか midiシーケンサというか、そんな &#8230; <a class="more-link" href="http://homura.ch2.cc/?p=525">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>1) UTAUで遊ぶ為には、やっぱり伴奏が欲しいわけで、<br />
オフボーカルな音源探してきて、それに歌を乗っけるというだけじゃ淋しいから、<br />
やっぱり自力で伴奏作りたい。</p>
<p>2) DTMというか <span style="color: #ff0000;">midiシーケンサ</span>というか、そんな感じのソフト探して、<br />
・Music Stadio Producer<br />
・Stadio ftn Score Editor<br />
・Domino<br />
なんかを試してみたけど、<strong><span style="color: #0000ff;">Domino</span></strong> が一番使い安いと思われ。<br />
（楽譜をまるっと入力するなら ftn という選択肢もあるけど）</p>
<p>3) で、Domino で .midi ファイル出来るわけだが、<br />
こいつは直接 Audacity に放り込んで UTAUの出力と mixing できないので、<br />
一旦 .midi ⇒ .wav 変換してやらないといけない。</p>
<p>4) iTunesでも .wav変換できるみたいだけども、<br />
<em><span style="text-decoration: underline;">うちの環境(Windows XP 64bit版)だと iTunes動いてくれないので、</span></em><br />
WinAmpという選択肢になる。<br />
WinAmpなんて、Windows95の初期の頃には愛用してたけど、<br />
なんかすっごい久しぶりにあのアイコン見たよｗ<br />
こいつで、『Option』⇒『設定』⇒プラグイン⇒『出力』⇒『Nullsoft DiskWriter』⇒『設定』<br />
で、ファイル書き出しにしてやればOK</p>
<p>5) 出来上がった .wav と、UTAU出力の .wavを AudacityでmixingしてやればOK</p>
<p>たぶん、３日もすると手順を忘れる自信があるので、自分用のメモとして。</p>
]]></content:encoded>
			<wfw:commentRss>http://homura.ch2.cc/?feed=rss2&#038;p=525</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://homura.ch2.cc/?p=525" />
	</item>
		<item>
		<title>word 2010 で差し込み印刷</title>
		<link>http://homura.ch2.cc/?p=522</link>
		<comments>http://homura.ch2.cc/?p=522#comments</comments>
		<pubDate>Tue, 10 Apr 2012 08:52:51 +0000</pubDate>
		<dc:creator>ワルプルギスの小夜</dc:creator>
				<category><![CDATA[未分類]]></category>

		<guid isPermaLink="false">http://homura.ch2.cc/?p=522</guid>
		<description><![CDATA[ここが一番判りやすいかな http://pc.nikkeibp.co.jp/article/technique/20100805/1026763/]]></description>
			<content:encoded><![CDATA[<p>ここが一番判りやすいかな<br />
<a href="http://pc.nikkeibp.co.jp/article/technique/20100805/1026763/">http://pc.nikkeibp.co.jp/article/technique/20100805/1026763/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://homura.ch2.cc/?feed=rss2&#038;p=522</wfw:commentRss>
		<slash:comments>3</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://homura.ch2.cc/?p=522" />
	</item>
		<item>
		<title>sites.google.com でガジェット</title>
		<link>http://homura.ch2.cc/?p=520</link>
		<comments>http://homura.ch2.cc/?p=520#comments</comments>
		<pubDate>Tue, 10 Apr 2012 03:29:55 +0000</pubDate>
		<dc:creator>ワルプルギスの小夜</dc:creator>
				<category><![CDATA[腐日記]]></category>

		<guid isPermaLink="false">http://homura.ch2.cc/?p=520</guid>
		<description><![CDATA[某所で sites.google.com なサイトに関わることになったので、 sites.google.com で作ったサイトに twitterのウィジェットを貼り付ける方法を 簡単にまとめてみた。 https://si &#8230; <a class="more-link" href="http://homura.ch2.cc/?p=520">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>某所で sites.google.com なサイトに関わることになったので、<br />
sites.google.com で作ったサイトに twitterのウィジェットを貼り付ける方法を<br />
簡単にまとめてみた。</p>
<p><a href="https://sites.google.com/site/sayokolab/twitterno-zhangri-fang">https://sites.google.com/site/sayokolab/twitterno-zhangri-fang</a></p>
<p>うぐぅ。</p>
]]></content:encoded>
			<wfw:commentRss>http://homura.ch2.cc/?feed=rss2&#038;p=520</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://homura.ch2.cc/?p=520" />
	</item>
		<item>
		<title>bind9の罠</title>
		<link>http://homura.ch2.cc/?p=517</link>
		<comments>http://homura.ch2.cc/?p=517#comments</comments>
		<pubDate>Sat, 07 Apr 2012 06:06:30 +0000</pubDate>
		<dc:creator>ワルプルギスの小夜</dc:creator>
				<category><![CDATA[未分類]]></category>

		<guid isPermaLink="false">http://homura.ch2.cc/?p=517</guid>
		<description><![CDATA[こないだ中古の鯖機を貰ってきて、ubuntuでまっさらにインスコし直して 使い始めてみたんだけども、 なんか 名前を引く時の動作が妖しい。 １発目で「鯖が見つかりません」なのにもう一回やると出てくるとか。 よくよく調べて &#8230; <a class="more-link" href="http://homura.ch2.cc/?p=517">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>こないだ中古の鯖機を貰ってきて、ubuntuでまっさらにインスコし直して<br />
使い始めてみたんだけども、<br />
なんか 名前を引く時の動作が妖しい。<br />
１発目で「鯖が見つかりません」なのにもう一回やると出てくるとか。</p>
<p>よくよく調べてみたら、<br />
Apr  7 14:29:15 lum named[16100]: zone ch2.cc/IN: loading from master file ch2.cc failed:　file not found<br />
なんてログに吐いてる。</p>
<p>あれ～と思ってみたら、<br />
/etc/bind/named.conf.options に、<br />
options {<br />
        directory &#8220;/var/cache/bind&#8221;;</p>
<p>なんて書いてあるよ…</p>
<p>これを<br />
options {<br />
        directory &#8220;/etc/bind&#8221;;</p>
<p>に直したら、幸せになった。<br />
つか、/var/cache/bind なんていつから混入してきたんだろう？<br />
昔からこんなんだったっけ？</p>
]]></content:encoded>
			<wfw:commentRss>http://homura.ch2.cc/?feed=rss2&#038;p=517</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://homura.ch2.cc/?p=517" />
	</item>
		<item>
		<title>原道 N50　その１</title>
		<link>http://homura.ch2.cc/?p=512</link>
		<comments>http://homura.ch2.cc/?p=512#comments</comments>
		<pubDate>Wed, 15 Feb 2012 04:57:25 +0000</pubDate>
		<dc:creator>ワルプルギスの小夜</dc:creator>
				<category><![CDATA[あんどろいど]]></category>

		<guid isPermaLink="false">http://homura.ch2.cc/?p=512</guid>
		<description><![CDATA[原道 N50が遊びに来たので、いろいろ弄った記録。 来た時の状態がこう Androidバージョン: 2.3.1 カーネルバージョン: 2.6.32.27 root@a-System-Product-Name #29 ビル &#8230; <a class="more-link" href="http://homura.ch2.cc/?p=512">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>原道 N50が遊びに来たので、いろいろ弄った記録。</p>
<p>来た時の状態がこう<br />
Androidバージョン: 2.3.1<br />
カーネルバージョン: 2.6.32.27 root@a-System-Product-Name #29<br />
ビルド番号: rk29_gingerbread_v2.10.00<br />
rk29sdk-eng 2.3.1 GINGERBREAD eng.root.20111201.091619 test-keys</p>
<p>root取りは GingerBreak 1.2 で簡単にできた。<br />
が、こいつの問題はファームのver.upとか、そっちの方かな</p>
]]></content:encoded>
			<wfw:commentRss>http://homura.ch2.cc/?feed=rss2&#038;p=512</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://homura.ch2.cc/?p=512" />
	</item>
		<item>
		<title>memo</title>
		<link>http://homura.ch2.cc/?p=507</link>
		<comments>http://homura.ch2.cc/?p=507#comments</comments>
		<pubDate>Tue, 31 Jan 2012 04:28:10 +0000</pubDate>
		<dc:creator>ワルプルギスの小夜</dc:creator>
				<category><![CDATA[あんどろいど]]></category>

		<guid isPermaLink="false">http://homura.ch2.cc/?p=507</guid>
		<description><![CDATA[RK29_GINGERBREAD_V2.10.00 2.3.1_GB_ENG.ROOT.20111201.091619_TEST_KEYS]]></description>
			<content:encoded><![CDATA[<p>RK29_GINGERBREAD_V2.10.00<br />
2.3.1_GB_ENG.ROOT.20111201.091619_TEST_KEYS</p>
]]></content:encoded>
			<wfw:commentRss>http://homura.ch2.cc/?feed=rss2&#038;p=507</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://homura.ch2.cc/?p=507" />
	</item>
		<item>
		<title>PC構成へのメモ</title>
		<link>http://homura.ch2.cc/?p=505</link>
		<comments>http://homura.ch2.cc/?p=505#comments</comments>
		<pubDate>Mon, 30 Jan 2012 07:58:53 +0000</pubDate>
		<dc:creator>ワルプルギスの小夜</dc:creator>
				<category><![CDATA[腐日記]]></category>

		<guid isPermaLink="false">http://homura.ch2.cc/?p=505</guid>
		<description><![CDATA[現在、主力級のPCが２台。 １台は白い子。 CPU: Core2Duo E8400 M/B: Intel DG41TY Mem: 4GB(2GBx2) VGA: GeForce 8600GTS Windows XP 64 &#8230; <a class="more-link" href="http://homura.ch2.cc/?p=505">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>現在、主力級のPCが２台。</p>
<p>１台は白い子。<br />
CPU: Core2Duo E8400<br />
M/B: Intel DG41TY<br />
Mem: 4GB(2GBx2)<br />
VGA: GeForce 8600GTS<br />
Windows XP 64bit</p>
<p>もう一台は黒い子<br />
CPU: Pentium Dual-Core E6600 @ 3.06Ghz<br />
M/B: P5G41C-M<br />
Mem: 4GB(2GBx2)<br />
VGA: Geforce GTS250<br />
Ubuntu Linux</p>
<p>Windows XP の方が最近 MMDとかやってる関係でパワー不足な感じ。<br />
GTS250を移設すればいいんだろうけども、電源容量とかいろいろあるので<br />
電源も一緒に交換しないと…になる。</p>
<p><A href="http://hardware-navi.com/gpu.php">http://hardware-navi.com/gpu.php</a>によると、<br />
8600GTS :  6691<br />
GTS250  : 15895<br />
と、ベンチマークだと２倍以上差があるけど、<br />
体感はそんなに違わない気がするのもあるし…<br />
(Linux側でMMDとかやらないから体感できないんだけども）<br />
しかもどっちも DirectX 10まで対応で DX11は無理っと。</p>
<p>というわけで、GTS560Tiの値段とか見てため息ついてる。</p>
]]></content:encoded>
			<wfw:commentRss>http://homura.ch2.cc/?feed=rss2&#038;p=505</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://homura.ch2.cc/?p=505" />
	</item>
		<item>
		<title>ケイタイ</title>
		<link>http://homura.ch2.cc/?p=502</link>
		<comments>http://homura.ch2.cc/?p=502#comments</comments>
		<pubDate>Fri, 20 Jan 2012 12:21:58 +0000</pubDate>
		<dc:creator>ワルプルギスの小夜</dc:creator>
				<category><![CDATA[未分類]]></category>

		<guid isPermaLink="false">http://homura.ch2.cc/?p=502</guid>
		<description><![CDATA[機種変更で NEC Medias PP N-01Dになった。 とりあえず使えるところまでは設定した。 使いこなすのはこれから。]]></description>
			<content:encoded><![CDATA[<p>機種変更で NEC Medias PP N-01Dになった。</p>
<p>とりあえず使えるところまでは設定した。<br />
使いこなすのはこれから。</p>
]]></content:encoded>
			<wfw:commentRss>http://homura.ch2.cc/?feed=rss2&#038;p=502</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://homura.ch2.cc/?p=502" />
	</item>
	</channel>
</rss>

