<?xml version="1.0" encoding="UTF-8"?><rss version="0.92">
<channel>
	<title>Yoichi Kawasaki&#039;s Web</title>
	<link>http://yk55.com/blog</link>
	<description>the place to organize and record my ideas ...</description>
	<lastBuildDate>Sun, 05 Feb 2012 15:16:55 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	<!-- generator="WordPress/3.0.1" -->

<!-- google_ad_section_end --><!-- google_ad_section_start(weight=ignore) -->	<item>
		<title>Good Will Hunting &#8211; Wonderful Idiosyncrasies</title>
		<description><![CDATA[ついつい深夜遅くまで録画したTV番組や映画を観てしまう今日この頃、最近みたのがこの映画 &#8211; Good Will Hunting(1997)、言わずと知れたMatt DaemonとRobin Williamsのあの作品ですね。その中でも特にお気に入りなのが、Sean(Robin Willams演じる精神分析医)がWill(Matt Damon演じる心を閉ざした天才青年)に妻の癖を語るシーン。Youtubeを探したら見事アップされていたのでここにそのシーン動画と、スクリプト、ポイントを絞ったオレ訳を載せておきます。Good Stuff! Good Will Hunting &#8211; &#8220;Idiosyncrasies&#8221; Will: Yeah, I went on a date last week. Sean: How&#8217;d it go? Will: It was good. Sean: Going out again? Will: I don&#8217;t know. Sean: Why not? Will: Haven&#8217;t called her. Sean: Christ, you&#8217;re an amateur. Will: I know [...]]]></description>
		<link>http://yk55.com/blog/2012/02/05/good_will_hunting_wonderful_idiosyncrasies/</link>
			</item>
	<item>
		<title>A Quick Fix of My Wi-Fi Connection Issue &#8211; Bad Wireless Channel Condition</title>
		<description><![CDATA[I was in a hotel where there was no wired internet access, I had Emobile Internet access which was only internet access at that time but I wanted more than one devices to be connected at the same time. I setup Internet Connection Sharing with my MacBook Pro in order to share emobile connection to [...]]]></description>
		<link>http://yk55.com/blog/2011/12/25/a_quick_fix_of_my_wifi_connection_issue_bad_wireless_channelcondition/</link>
			</item>
	<item>
		<title>&#8220;Ame ni Mo Makezu&#8221;, Not losing to the rain</title>
		<description><![CDATA[&#8220;Ame ni Mo Makezu&#8221; is a great piece of poetry written by Kenji Miyazawa. I believe this is probably one of the most famous Japanese poems. All Japanese who completed compulsory education must have learnt it in school, and might like and still remember it mostly. Today I found kizuna311, a website that launched by [...]]]></description>
		<link>http://yk55.com/blog/2011/03/20/ame_ni_mo_makez/</link>
			</item>
	<item>
		<title>Ready to Give? &#8211; Japan Earthquake and Tsunami</title>
		<description><![CDATA[Japan Platform (Japanease Only) Yahoo!JAPAN Volunteer(Japanease Only) Japan Red Cross with Google Checkout Japan Domestic Donation Site Collections Canadian Red Cross American Red Cross American Red Cross with Amazon Payment CARE Save the Chirldren Australia Globalgiving World Relief Convoy of Hope Lady Gaga Japan Earthquake Relief Wristband The Nippon Foundation/CANPAN Yahoo: Japan earthquake and tsunami: [...]]]></description>
		<link>http://yk55.com/blog/2011/03/15/ready_to_give_japan_earthquake_andtsunami/</link>
			</item>
	<item>
		<title>A Bunch of Covers/Remixes on &#8220;Just the Two of Us&#8221;</title>
		<description><![CDATA[&#8220;Just the two of us&#8221; is one of my favorite songs &#8211; a Grammy Award song, originally Jazz song recorded in 1981 by Grover Washington, Jr. and Bill Withers (wikipedia). You will be surprised to know how many people covered/remixed this song. Here is only a part of the all covers/remixes &#8211; I collected from [...]]]></description>
		<link>http://yk55.com/blog/2011/02/25/just_the_two_ofus/</link>
			</item>
	<item>
		<title>One of the main reasons that I visited Seoul in January 2011 &#8211; &#8220;Bukchon Hanok Village&#8221;</title>
		<description><![CDATA[&#8220;The Accidental Couple&#8221; is one of my favorite Korean TV dramas, and &#8220;Bukchon Hanok Village&#8221; is the location for the TV darama where many key scenes were taken. That&#8217;s why I had thought about going to &#8220;Bukchon Hanok Village&#8221;, and finally I did it in January 2011. See the following pictures and compare. The first [...]]]></description>
		<link>http://yk55.com/blog/2011/02/13/reasons_of_seoul_visit_january_2011_bukchon_hanokvillage/</link>
			</item>
	<item>
		<title>How to setup Wikileaks mirror site by using wget and Github</title>
		<description><![CDATA[Wikileaks, a new internet media NPO launched its website in 2006,has been under threat of being eliminated from the internet. Wikileaks lost its DNS service and its main domain(wikileaks.org) has not been reachable due to heavy DDoS Attacks on Wikileaks. Some large U.S companies such as Bank of America, Amazon, Paypal have already stopped giving [...]]]></description>
		<link>http://yk55.com/blog/2010/12/24/how_to_setup_wikileaks_mirror_by_wget_and_github/</link>
			</item>
	<item>
		<title>Segmentation fault(11) &#8211; Apache2 and libphp5.so on Ubuntu</title>
		<description><![CDATA[Ubuntu10.04.1LTSでApache2、PHP5.3がうまく動いてくれない。 同一バージョンのApache、PHPを依存ライブラリをほぼ同じにしてdebian Lennyで試してみると問題なく動作する。 どうにもこうにもならないので後々のためにとりあえず記録だけ残しておく。 1. PROBLEM: Apache2 Segmentation fault(11) [Sun Nov 28 17:42:48 2010] [notice] Apache/2.2.2 (Unix) PHP/5.3.3 configured -- resuming normal operations [Sun Nov 28 17:42:48 2010] [notice] child pid 13032 exit signal Segmentation fault (11) [Sun Nov 28 17:42:49 2010] [notice] child pid 13033 exit signal Segmentation fault (11) [Sun Nov 28 17:42:52 [...]]]></description>
		<link>http://yk55.com/blog/2010/11/30/php5apache2_segmentation_fault_under_ubuntu/</link>
			</item>
	<item>
		<title>Python &#8211; thisモジュール誕生にまつわる&#8221;深イイ話&#8221;</title>
		<description><![CDATA[Pythonにはthisモジュールという「The Zen of Python」(参考1)を出力するだけのモジュールがある。このモジュール、中身(参考2)を見てみると分かるが、総ステップにしてわずか28行、ROT13暗号化(参考3)された文字列を復号化するだけの単純であえて記事にするには取るに足らない内容かもしれない。ただしこのモジュールが作られた背景はとても面白い。Barry Warsaw氏が記事「import this and The Zen of Python」でthisモジュールが誕生にまつわる深イイ話を紹介している。 「import this and The Zen of Python」の一部簡訳 2001年秋、Foretec Seminar社はのInternational Python Conference #10(以下IPC10、Pyconの前身となるカンファレンス)の準備をしておりPythonコミュニティからそのカンファレンスのスローガンを求めていた。スローガンはTシャツにもプリントされる予定だった。Guideや、Fred、Jeremyや著者達はかつてはForetec Seminar社に所属していたがPythonlabsを結成する2000年に同社を去っている。そしてPythonlabsはPythonコミュニティからのスローガン応募の審査と勝者の選定を担当することになった。応募は500くらいあったが、どれもひどいものだった。Timと著者は1つに絞られるまで何度となく選別作業を行い 最終的に&#8221;import this&#8221;を選んだ。理由は&#8221;import this&#8221;という言葉の持つふざけた、小バカにしたようなトーンが好きだったからという。 著者たちはこの&#8221;import this&#8221;をスローガンに選んですぐにthisモジュール(this.py)を実装した。モジュールは「The Zen of Python」を出力するだけのものだったが途中TimやGuidoの提案でrot13で暗号化して内容を少し難読化する工夫がされたりもした。IPC10が終わってすぐ、彼らはこのイベントを記念してthisモジュールをPython2.2.1ブランチにコミットした。この時、著者の提案で他の誰にも知られないようにするためにソース管理システムのチェックイン通知機能を停止し、こっそりこのモジュールをPython2.2.1のブランチに含めたのだ。これらのことは彼ら以外に誰にも知らせず内緒で行われた。著者いわく、この彼らの仕込んだeaster egg（thisモジュールのこと。ソフトウェアでいうeaster eggとは隠しコマンドとか、隠しクレジットのようなもの）が誰かに見つかるまではしばらく時間がかかったそうだ。 Barry Warsaw氏が同記事を「That was all back in the day when the Python community had a sense of humor」という一文で締めくくっているように、この記事を読むと当時のPythonコミュニティがいかにユーモア溢れたものだったのかが感じられる。phython-2.2.1がリリースされたのは2002年4月10日で、それからどれくらい経ってこのthisモジュールが発見されたのか分からないが初めて発見した人は絶対ほっこりしたことだろう。得意不得意は抜きにして自分はこのエピソードを読んでPythonという言語が好きになった。 参考1: 「The Zen of [...]]]></description>
		<link>http://yk55.com/blog/2010/11/14/python_good_stroy_behindthis_module_/</link>
			</item>
	<item>
		<title>OpenSSH -SOCKSプロキシ経由でSSH接続</title>
		<description><![CDATA[外部からのssh接続を受け付けていないＬＡＮ内のサーバに外部からログインするために踏み台サーバを経由してＬＡＮ内サーバにログインするというよくある話です。今回試したのはSSHをSOCKSプロキシとして利用して、そのSOCKSプロキシ経由して目的のLAN内サーバに一発ログインする方法です。 SOCKS(RFC1928) とはさまざまなアプリケーションが間にファイアーウォールを挟んでいても安全に快適にやり取りができるようにすることを目的として作られたプロトコルのことで、SOCKSプロキシはSOCKSプロトコルを受け取りファイアウォール内外との接続を可能にします。 これに関してはIPAのコンテンツに図付きの解りやすい説明があります。参考までに > SOCKS ちなみにSOCKSプロキシの利点はSOCKS対応のアプリケーションであればSOCKSプロキシ経由でLAN内部のサーバにアクセスが可能なことで、例えばSOCKS対応ブラウザであればSOCKSプロキシ経由でLAN内のコンテンツが閲覧できます。自分はこのSOCKSプロキシ経由でのLAN内ドキュメントのブラウジングは多用してます。 SOCKSプロキシの作成 まずはSOCKSプロキシの立ち上げです。OpenSSHのダイナミックポートフォワード機能を使います。 ダイナミックポートフォワードはsshをSOCKSプロキシとして振舞うことを可能にします。sshでアクセス先ホストと DynamicFoward(-D)でポートを指定することでlocalhostにSOCKSプロキシが立ち上がり指定のTCPポート(SOCKSプロキシサーバは基本的は1080ですが、割り当て可能なポートであればどのポートでもOK)をlocalhost側からログイン先ホストのSSHサーバに転送することができるようになります。もちろん経路は暗号化され、現状のサポートプロトコルはSOCKS4とSOCKS5です。 例えばJumpサーバにDynamicFoward(-D)1080でログインすると、Jumpサーバにポート1080を転送するSOCKSプロキシが localhostに立ち上がり、そのlocalhost:1080に対してSOCKS4またはSOCKS5プロトコルで接続することでJumpサーバを経由して通信を行うことができます。 localhost ポート1080のJumpサーバへのダイナミックフォワードは次のように-Dオプションで行います。 ServerA$ ssh -2 -D 1080 -l &#60;Account&#62; &#60;JumpServer&#62; 毎回-Dオプション指定が面倒な場合は次のようにconfg(ssh_config)にDynamicForwardの記述しておきましょう。 $ cat ~/.ssh/config Host JumpServer &#160; &#160;User &#160; &#160; &#160; &#160;&#60;Account&#62; &#160; &#160;HostName &#160;JumpServeer &#160; &#160;Protocol 2 &#160; &#160;ForwardAgent &#160;yes &#160; &#160;DynamicForward 1080 SOCKSプロキシを使ったSSH接続 次に上で事前に作成したSOCKSプロキシを使ってLAN内のサーバにSSH接続をします。 netcatでSOCKSプロキシを経由してlocalhostから目的のＬＡＮ内サーバ（ServerB）間にnetcat tunnelを作成します。ServerBにはそのnetcat tunnelを通じて接続します。 ServerA$ ssh -2 [...]]]></description>
		<link>http://yk55.com/blog/2010/10/11/openssh_ssh_over_socks_prox/</link>
			</item>
<!-- google_ad_section_end --><!-- google_ad_section_start(weight=ignore) --></channel>
</rss>

