Pro::PHP Newscast
php|architectで「PHPネタのPodcast」が配布されてるんですね。知らなかった。。。
聞き慣れた単語も結構出てきます。「Podcastで英語のヒアリング」やってる人はお試しを :-)
php|architect's Pro PHP Podcast is a collaboration between php|architect, the world's premiere PHP magazine, and Marcus Whitney and Chris Cornutt, the creators and original hosts of the Pro PHP Podcast.
PHP at Yahoo!
via.PHPDay 2007 での "PHP at Yahoo!" のプレゼン - おぎろぐはてブロ
先日の勉強会ではどうもでした :-)
PHPDay 2007のプレゼン資料に関する情報です。Apacheには独自パッチがかなり当てられている、という話は以前聞いたことがありましたが、これはPHPに絞った話のようです。日本語では、http://www.sooey.com/journal/2007/05/26/648/でまとめられているとのことです。
しかし、3.5B/dayというPV数は何ですかね。。。「ブラウザから来るデータは決して信頼しない」ってイイですね:-) あと、「Symfony使っている」という話が出てます。意外だったのがlog_errorsですかね。「ログ重要」というのは別にして、あのアクセス数でのログ出力って結構ボトルネックになりそうと思うんですが、メモリストレージ使ってネックにならないようにしてるとか、そういうことなんですかねぇ?
自習メモ〜分散プログラミング
公開されているpdfをやってみるシリーズ(?)。今日は分散プログラミング。
まずは、分散ノードどうしで通信するための「マジッククッキー」と呼ばれる.erlang.cookieファイルを作成する必要がある。。。で、Windowsの場合は?書いてないので、マニュアルのhttp://www.erlang.org/doc/doc-5.5.4/doc/getting_started/conc_prog.html#3.4を参照。
on Windows systems the home directory is the directory where pointed to by the $HOME environment variable - you may need to set this. On Linux or Unix you can safely ignore this and simply create a file called .erlang.cookie in the directory you get to after executing the command cd without any argument
ということで、必要に応じて環境変数HOMEを設定し、そこに.erlang.cookieを作ればいいようです。
以下、操作例ですがCygwinがインストールされてます。
D:\home\shimooka\erlang>set HOME=D:\home\shimooka\erlang D:\home\shimooka\erlang>set home HOME=D:\home\shimooka\erlang HOMEDRIVE=C: HOMEPATH=\Documents and Settings\shimooka D:\home\shimooka\erlang>cat > .erlang.cookie hogehoge [CTRL+D] D:\home\shimooka\erlang>erl -sname shimooka Eshell V5.5.4 (abort with ^G) (shimooka@galm1)1>