<?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://talftp.net/wp/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://talftp.net/wp</link>
	<description>コメントは、タイトル下の&#34;without comments&#34;を押下して記入ください</description>
	<lastBuildDate>Sun, 05 Sep 2010 07:28:50 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://talftp.net/wp/" />
		<item>
		<title>[MySQL]ERROR 1366 (HY000): Incorrect string value</title>
		<link>http://talftp.net/wp/?p=1265</link>
		<comments>http://talftp.net/wp/?p=1265#comments</comments>
		<pubDate>Sun, 05 Sep 2010 07:27:05 +0000</pubDate>
		<dc:creator>nextschool</dc:creator>
				<category><![CDATA[設定]]></category>
		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://talftp.net/wp/?p=1265</guid>
		<description><![CDATA[
			
				
			
		
mysqlでERROR 1366 (HY000): Incorrect string valueが出た場合は、
my.iniの文字コードの設定に問題があるため下記の様に変更する。
my.iniのある場所はWindows機だと、C:\Program Files\MySQL\MySQL Server 5.0　に格納されている場合が多い。
[code]
[mysql]
#default-character-set=utf8
default-character-set=sjis
[/code]
[code]
mysql> show variables like 'character%';
+--------------------------+---------------------------------------------------------------+
&#124; Variable_name            &#124; Value                             [...]]]></description>
		<wfw:commentRss>http://talftp.net/wp/?feed=rss2&amp;p=1265</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://talftp.net/wp/?p=1265" />
	</item>
		<item>
		<title>[雑記]ひとり暮らしの準備に関して</title>
		<link>http://talftp.net/wp/?p=1260</link>
		<comments>http://talftp.net/wp/?p=1260#comments</comments>
		<pubDate>Fri, 03 Sep 2010 01:22:36 +0000</pubDate>
		<dc:creator>nextschool</dc:creator>
				<category><![CDATA[生活]]></category>
		<category><![CDATA[雑記]]></category>

		<guid isPermaLink="false">http://talftp.net/wp/?p=1260</guid>
		<description><![CDATA[
			
				
			
		
出典先不明だが、どこかのサイトで出ていたものを走り書きしたときのメモ内容
一人暮らしの際、考慮するポイント

日当たりが良い
隣が学生は×
商店街近く
1Fベランダが通りに面している×
風呂トイレ別
フローリング
室内洗濯機置き場がある
2階以上
ガスコンロ可
宅配ボックス
光ケーブル





		
			Clip this to Evernote
		
		
			Share this on Facebook
		
		
			Share this on FriendFeed
		
		
			Add this to Google Reader
		
		
			Bookmarks this on Hatena Bookmarks
		
		
			Share this on Tumblr
		
		
			Tweet This!
		




]]></description>
		<wfw:commentRss>http://talftp.net/wp/?feed=rss2&amp;p=1260</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://talftp.net/wp/?p=1260" />
	</item>
		<item>
		<title>[MySQL] テーブル作成編</title>
		<link>http://talftp.net/wp/?p=1251</link>
		<comments>http://talftp.net/wp/?p=1251#comments</comments>
		<pubDate>Wed, 01 Sep 2010 10:27:02 +0000</pubDate>
		<dc:creator>nextschool</dc:creator>
				<category><![CDATA[設定]]></category>
		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://talftp.net/wp/?p=1251</guid>
		<description><![CDATA[
			
				
			
		
[DB作成]
[SQL]
CREATE DATABASE PARTS_VIEW;
[/SQL]
[テーブル1]
[SQL]
CREATE TABLE PARTS_PICT(
PO_NO VARCHAR(30) NOT NULL,
PO_PICT VARCHAR(100),
PRIMARY KEY (PO_NO))
type=InnoDB;
[/SQL]
[テーブル2]
[SQL]
CREATE TABLE PARTS_INFO(
PO_NO VARCHAR(30) NOT NULL,
SUP_NO VARCHAR(100),
SUP_NAME VARCHAR(100),
SUP_CONTACT VARCHAR(20),
PRIMARY KEY (PO_NO))
type=InnoDB;
[/SQL]




		
			Clip this to Evernote
		
		
			Share this on Facebook
		
		
			Share this on FriendFeed
		
		
			Add this to Google Reader
		
		
			Bookmarks this on Hatena Bookmarks
		
		
			Share this on Tumblr
		
		
			Tweet This!
		




]]></description>
		<wfw:commentRss>http://talftp.net/wp/?feed=rss2&amp;p=1251</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://talftp.net/wp/?p=1251" />
	</item>
		<item>
		<title>[memo]数の単位</title>
		<link>http://talftp.net/wp/?p=1244</link>
		<comments>http://talftp.net/wp/?p=1244#comments</comments>
		<pubDate>Mon, 23 Aug 2010 13:37:07 +0000</pubDate>
		<dc:creator>nextschool</dc:creator>
				<category><![CDATA[情報系]]></category>
		<category><![CDATA[生活]]></category>
		<category><![CDATA[memo]]></category>

		<guid isPermaLink="false">http://talftp.net/wp/?p=1244</guid>
		<description><![CDATA[
			
				
			
		
ONE
TEN
HUNDRED
THOUSAND
MILLION １０の６乗
BILLION １０の１０乗
TRILLION　１０の１２乗
QUADRILLION １０の１５乗
QUINTILLION １０の１８乗
SEXILLION １０の２１乗
SEPTILLION １０の２４乗
OCTILLION １０の２７乗
NONILLION １０の３０乗
DECILLION １０の３３乗



単位
英語名（省略形）
情報量


ビット
bit（b）



バイト
Byte（B）
1B = 8b


キロバイト
Kilo Byte（KB）
1KB = 1,000B
= 103 = 1,000 Byte


メガバイト
Mega Byte（MB）
1MB = 1,000KB
= (103)2 = 106 = 1,000,000 Byte


ギガバイト
Giga Byte（GB）
1GB = 1,000MB
= (103)3 = 109 = 1,000,000,000 Byte


テラバイト
Tera Byte（TB）
1TB = 1,000GB
= (103)4 = 1012 = 1,000,000,000,000 Byte


ペタバイト
Peta Byte（PB）
1PB = 1,000TB
= (103)5 = 1015 = 1,000,000,000,000,000 Byte


エクサバイト
Exa [...]]]></description>
		<wfw:commentRss>http://talftp.net/wp/?feed=rss2&amp;p=1244</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://talftp.net/wp/?p=1244" />
	</item>
		<item>
		<title>Ubuntu10.04にantを入れる</title>
		<link>http://talftp.net/wp/?p=1238</link>
		<comments>http://talftp.net/wp/?p=1238#comments</comments>
		<pubDate>Sun, 15 Aug 2010 05:00:01 +0000</pubDate>
		<dc:creator>nextschool</dc:creator>
				<category><![CDATA[設定]]></category>
		<category><![CDATA[ant]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://talftp.net/wp/?p=1238</guid>
		<description><![CDATA[
			
				
			
		
ubuntuにａｎｔを入れるコマンド
[code]sudo apt-get install ant[/code]
これだけ。
ここを参照http://packages.ubuntu.com/ja/lucid/ant




		
			Clip this to Evernote
		
		
			Share this on Facebook
		
		
			Share this on FriendFeed
		
		
			Add this to Google Reader
		
		
			Bookmarks this on Hatena Bookmarks
		
		
			Share this on Tumblr
		
		
			Tweet This!
		




]]></description>
		<wfw:commentRss>http://talftp.net/wp/?feed=rss2&amp;p=1238</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://talftp.net/wp/?p=1238" />
	</item>
		<item>
		<title>HadoopをWindows機で扱うための準備　-　Cygwinの設定</title>
		<link>http://talftp.net/wp/?p=1226</link>
		<comments>http://talftp.net/wp/?p=1226#comments</comments>
		<pubDate>Fri, 13 Aug 2010 19:46:10 +0000</pubDate>
		<dc:creator>nextschool</dc:creator>
				<category><![CDATA[情報]]></category>
		<category><![CDATA[設定]]></category>
		<category><![CDATA[cygwin]]></category>

		<guid isPermaLink="false">http://talftp.net/wp/?p=1226</guid>
		<description><![CDATA[
			
				
			
		
[こちらのサイト]を参考にさせて頂いた。
まずパスワードファイル等の権限の設定
[code]
chmod +r,u+w /etc/passwd
chmod +r,u+w /etc/group
chmod 755 /var
[/code]
次にsshd設定ファイルを作成
[code]
ssh-host-config -y
[/code]
このように途中で、&#8221;yes&#8221;の入力を求められるところが現れる。

次にwindowsのアカウントをCygwinに同期
[code]
mkpasswd -l > /etc/passwd
mkgroup -l > /etc/group
[/code]

sshサービスを起動
[code]
cygrunsrv -S sshd
[/code]
sshサービスの起動状態の確認方法
[code]
cygrunsrv -Q sshd
[/code]


実行中であればStatusがRunnning
停止中は、Stopping

実際にノーパスワードでログインできるか確認
[code]ssh localhost[/code]
このようなCygwinのロゴが表示され、RSAキーをlocalhost側に登録する旨を&#8221;yes&#8221;で許可する。
[code]
$ ssh localhost
The authenticity of host 'localhost (::1)' can't be established.
RSA key fingerprint is f7:2c:4f:9e:ce:b9:81:0b:52:5c:aa:fd:6a:87:f5:41.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'localhost' (RSA) to the list of known hosts.
SEIJI@localhost's password:
   [...]]]></description>
		<wfw:commentRss>http://talftp.net/wp/?feed=rss2&amp;p=1226</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://talftp.net/wp/?p=1226" />
	</item>
		<item>
		<title>Javaのコンストラクタの覚え書き</title>
		<link>http://talftp.net/wp/?p=1217</link>
		<comments>http://talftp.net/wp/?p=1217#comments</comments>
		<pubDate>Mon, 09 Aug 2010 02:30:51 +0000</pubDate>
		<dc:creator>nextschool</dc:creator>
				<category><![CDATA[セミナー]]></category>
		<category><![CDATA[情報系]]></category>
		<category><![CDATA[言語]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://talftp.net/wp/?p=1217</guid>
		<description><![CDATA[
			
				
			
		
クラスの連携においてコンストラクタを使用する時の注意事項

コンストラクタとは？
インスタンスを生成する際、初期化処理をするために定義する特別なメソッド
コンストラクタの特徴
メソッド名とクラス名が必ず同じである
戻り値は指定できない
引数の異なるコンストラクタを複数定義可能
コンストラクタ自体を省略することも可能
クラスのコンストラクタの有無の違い
１）コンストラクタのないクラス
「デフォルトコンストラクタ」があるとみなされる
&#8211;>この場合、引数無し，処理無し
２）コンストラクタがあるクラス
自分が用意したコンストラクタのどれかひとつを必ず利用する必要がある
※デフォルトコンストラクタはない
[code]
public class Person {
	public int age;
	public Person() {
		age = 0;
	}
}
[/code]
複数定義した場合は下記のようになる
[code]
public class Person {
	public int age;
	public Person() {
		age = 0;
	}
	public Person(int a) {
		age = a;
	}
}
[/code]
資料：(128ページあたり)http://www.knowledge-ex.jp/opendoc/JavaProgramming.pdf




		
			Clip this to Evernote
		
		
			Share this on Facebook
		
		
			Share this on FriendFeed
		
		
			Add this to Google Reader
		
		
			Bookmarks this on Hatena Bookmarks
		
		
			Share this on Tumblr
		
		
			Tweet This!
		




]]></description>
		<wfw:commentRss>http://talftp.net/wp/?feed=rss2&amp;p=1217</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://talftp.net/wp/?p=1217" />
	</item>
		<item>
		<title>ubuntu10.04にTomcatを設定する方法</title>
		<link>http://talftp.net/wp/?p=1198</link>
		<comments>http://talftp.net/wp/?p=1198#comments</comments>
		<pubDate>Sat, 07 Aug 2010 15:24:07 +0000</pubDate>
		<dc:creator>nextschool</dc:creator>
				<category><![CDATA[Hacks]]></category>
		<category><![CDATA[設定]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Tomcat]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://talftp.net/wp/?p=1198</guid>
		<description><![CDATA[
			
				
			
		
今日はJavaオブジェクト指向のセミナーに行ってきた。
これからJSPやフレームワークのセミナーにも参加するので、
自宅サーバーの環境Tomcatをインストールしておくことにしたので、その経緯の備忘録。
JDKの開発環境が入っていないので、JDKのパッケージインストールと
Tomcatパッケージのインストールを行う。
javac -verionでインストールされているか確認したところデフォルトJava1.6.0_18だった。
それにしたがってTomcat6をインストールすることに決定。
JDKはネイティブなJavaじゃなくて良いのか（？）思いながらも、とりあえずUbuntuパッケージをインストールした。
手順は、jdkとTomcatの順でパッケージをインストール。
[code]
sudo apt-get install openjdk-6-jdk
sudo apt-get install tomcat6
[/code]
のコマンドでTomcatパッケージとJDK6のパッケージをインストール。
[code]sudo vi /etc/default/tomcat6[/code]
で環境設定をする画面を開く。

[code]
TOMCAT6_USER=tomcat6
JAVA_HOME=/usr/lib/jvm/java-6-openjdk
CATALINA_BASE=/var/lib/$NAME
[/code]
のコメントインにして保存した。

しかし、ここでパッケージの名前と環境設定の所に記載している名称が違うことを発見したので変更。

/usr/lib/jvm/openjdk-6-java　（変更前）
↓
/usr/lib/jvm/java-6-openjdk　（変更後）
これで
[code]sudo /etc/init.d/tomcat6 restart[/code]
としてTomcatを再起動。

http://192.168.0.3:8080 にアクセスして、動いていたらOK！
ん、でもなんかいつも下記の様な画面じゃないので心配になる。

一応動いているからまた後日時間のあるときに確認しようということにした。




		
			Clip this to Evernote
		
		
			Share this on Facebook
		
		
			Share this on FriendFeed
		
		
			Add this to Google Reader
		
		
			Bookmarks this on Hatena Bookmarks
		
		
			Share this on Tumblr
		
		
			Tweet This!
		




]]></description>
		<wfw:commentRss>http://talftp.net/wp/?feed=rss2&amp;p=1198</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://talftp.net/wp/?p=1198" />
	</item>
		<item>
		<title>ubuntu10.04にLAMP設定を行う</title>
		<link>http://talftp.net/wp/?p=1177</link>
		<comments>http://talftp.net/wp/?p=1177#comments</comments>
		<pubDate>Sat, 31 Jul 2010 19:26:11 +0000</pubDate>
		<dc:creator>nextschool</dc:creator>
				<category><![CDATA[Hacks]]></category>
		<category><![CDATA[情報系]]></category>
		<category><![CDATA[設定]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://talftp.net/wp/?p=1177</guid>
		<description><![CDATA[
			
				
			
		
ubuntu10.04をWebサーバーに変更してからWeb環境を構築するに当たり
インストールしておけば楽になるものを探していたら下記の3つのパッケージを
インストールすることで最小限のWebサーバーが完成しました。
とても簡単、コマンド打って、途中&#8221;Y&#8221;をEnterするだけです。
[code]
sudo apt-get install mysql-server php5-mysql
sudo apt-get install php5-cli
sudo apt-get install phpmyadmin
[/code]
test.php　というファイル名で下記を記入して保存します。
[code][/code]
これでOKです
確認方法は、http://localhost/test.php　できちんと表示されればOK！
またphpadminもインストールしたので、http://localhost/phpmyadmin/　できちんと表示されればOK！

もし赤字でエラーが出ていたら下記を参照して修正を行います。

リンクテーブルを処理するための追加機能が無効になっています。理由についてはこちらをご覧ください
http://www.centos5.info/2010/02/post-1.html
設定ファイルに定義されている管理ユーザ(controluser)での接続に失敗しました
http://redhatman.blog23.fc2.com/blog-entry-211.html




		
			Clip this to Evernote
		
		
			Share this on Facebook
		
		
			Share this on FriendFeed
		
		
			Add this to Google Reader
		
		
			Bookmarks this on Hatena Bookmarks
		
		
			Share this on Tumblr
		
		
			Tweet This!
		




]]></description>
		<wfw:commentRss>http://talftp.net/wp/?feed=rss2&amp;p=1177</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://talftp.net/wp/?p=1177" />
	</item>
		<item>
		<title>携帯からの写真投稿</title>
		<link>http://talftp.net/wp/?p=1140</link>
		<comments>http://talftp.net/wp/?p=1140#comments</comments>
		<pubDate>Wed, 28 Jul 2010 15:43:23 +0000</pubDate>
		<dc:creator>nextschool</dc:creator>
				<category><![CDATA[設定]]></category>
		<category><![CDATA[雑記]]></category>

		<guid isPermaLink="false">http://talftp.net/wp/?p=1140</guid>
		<description><![CDATA[
			
				
			
		
携帯電話のカメラの解像度（有効約1220万画素CMOS）がデジカメ並みなので、投稿するサービスを検討していたのですが、フォント文字に暖かみがあるから携帯百景を利用することにしました。
なんかこういったツールは完全なるデジタルなんだけど表情がアナログっぽいモノに、なぜか惹かれてしまいます。


携帯百景





		
			Clip this to Evernote
		
		
			Share this on Facebook
		
		
			Share this on FriendFeed
		
		
			Add this to Google Reader
		
		
			Bookmarks this on Hatena Bookmarks
		
		
			Share this on Tumblr
		
		
			Tweet This!
		




]]></description>
		<wfw:commentRss>http://talftp.net/wp/?feed=rss2&amp;p=1140</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://talftp.net/wp/?p=1140" />
	</item>
	</channel>
</rss>
