Silverlight 1.1 Alpha はインストールできたのに、Refresh版がインストールできない。
なぜなのだろうとSilverlightのフォーラムで聞いてみたら、CPUがSSE(高速描画)命令セットを実装してないからだ、とのこと。
げべん。
CPU買い直しですか?とすると、マザーボードもメモリもあわせて買わないかんとですか?
Silverlight 1.1 Alpha はインストールできたのに、Refresh版がインストールできない。
なぜなのだろうとSilverlightのフォーラムで聞いてみたら、CPUがSSE(高速描画)命令セットを実装してないからだ、とのこと。
げべん。
CPU買い直しですか?とすると、マザーボードもメモリもあわせて買わないかんとですか?
I think rss feeds should always have language code, no matter what the Gengo setting is.
So, I made a patch.
[before]
http://wp.reedom.com/feed
[after]
http://wp.reedom.com/feed/ja/
Index: gengo.php
===================================================================
— gengo.php (revision 106)
+++ gengo.php (working copy)
@@ -175,7 +175,7 @@
[...]
Gengoのパーマリンク設定に関係なく、フィード(RSS)リンクには言語コードを必ず含ませたいと思い、パッチ作成。
[前]
http://wp.reedom.com/feed
[後]
http://wp.reedom.com/feed/ja/
Index: gengo.php
===================================================================
— gengo.php (revision 106)
+++ gengo.php (working copy)
@@ -175,7 +175,7 @@
add_filter(’year_link’, array(& $this,’append_links’));
[...]
Days before I experienced redirect loops when I tested the `tag search’ feature of SimpleTagging. I thought `Gengo should be worked something wrong.’ then I looked around Gengo’s setting pages and found that disabling `”Gengo should append language codes to permalinks automatically.’ feature could hide the problem.
Till today, I’ve killed off bugs in Gengo I’ve [...]
ダウンロードリンクを貼り付けるのに便利な Drain Hole。
Gengo環境下でインストールすると get_currentuserinfo()関数は未定義 といったエラーが出るのでパッチ当て。
Index: drain-hole.php
===================================================================
— drain-hole.php (revision 105)
+++ drain-hole.php (working copy)
@@ -57,6 +57,13 @@
function DrainholePlugin ()
{
+ [...]
John Lam on Software: A first look at IronRubyを参考にIronRubyをインストール。
IronRuby-Pre-Alpha1.zipをダウンロードして適当なところに展開
.NET Framework 2.0 Redistributableをインストール
IronRubyのビルドスクリプトBuild.cmdの中身を見る。
%frameworkdir%\%frameworkversion%\msbuild.exe
/p:Configuration=Release /t:Rebuild IronRuby.sln
.NET Framework 2.0 Redistributableによって MSBuild.exe がどこにインストールされたか、エクスプローラで検索
見つかった場所を環境変数に設定し、ビルド
CD C:\src\IronRuby-Pre-Alpha1
SET frameworkdir=C:\WINDOWS\Microsoft.NET\Framework
SET frameworkversion=v2.0.50727
build
以前、SimpleTaggingのタグ検索機能を使ったらリダイレクトループに陥ったことがあり、その時は Gengo との相性が悪いと判断して Gengo設定の「パーマリンクに言語コードを追加する」を無効にして逃げた。
今日まで Gengo のバグ取りをしてきて、ようやく回避方法を見つけられた。
管理画面の Gengo の「除外URL」設定で、「任意フィルター」欄に “/tag”を追加
なんだ、回避機能が標準で用意されてたんじゃん。
After activating SimpleTagging plugin I faced some problem. To avoid that I disabled the Gengo’s feature `Gengo should append language codes to permalinks automatically.’.
Days later I noticed a WordPress’ strange behavior.
I have pages having translations and when I clicked a link to the another language’s page then I saw a `404 Error’ page.
That’s [...]
SimpleTaggingプラグインとの相性の悪さから、Gengo設定の「Gengo should append language codes to permalinks automatically.」をOFFにしているが、この設定におけるGengoの不具合発覚。
l10 helperプラグインは英日2言語を用意しているが、一方のページから他方の翻訳版リンクをクリックすると404エラーが発生。おかしい。
調べてみると、localeフィルタ関数内でページ名からロケールを判定する部分に甘さがあった。
Index: gengo.php
===================================================================
— gengo.php (revision 80)
+++ gengo.php (working copy)
@@ -1222,7 +1222,7 @@
} else {
$value = $parser->query_vars['pagename'];
if (($position = strpos($parser->query_vars['pagename'], ‘/’)) !== false) {
- $value = substr($value, $position + 1);
+ [...]