2005-04-28 (Thu)
_ [その他] Better late than never
というSubjectのメールが来て、何かと思ったらspamだった:(
Are you looking for that extra special something in the bed-room?
No.
_ [Rails] #1210 ([PATCH] fix soap_action_base to use @request.relative_url_root)
Railsをトップレベルで動かしていない場合に、ActionWebServiceが作るWSDLのURIがおかしかったので、パッチをポスト。
_ [ximapd] CPU使用率100%
今朝、出社したらCPU使用率が100%に張り付きっぱなしで、犯人はximapdだった。おまけにximapd --importのプロセスも山ほど。KILLしたものの、再立ち上げ後も同様の現象が再発。こりゃ、DBが壊れたかのぅ。
[ただのにっき(2005-04-27)より引用]
ごめんなさい。ごめんなさい。ごめんなさい。
Berkeley DBが壊れてロックがかかりっぱなしになってるとかですかねえ。
_ [Rails] ActionWebServiceで日本語を扱うには$KCODE = 'u'が必要
$KCODE = 'n'だと、xsd:base64になっちゃうみたい。
ActionWebServiceというかSOAP4Rかな。 前からこうでしたっけ?
_ [Rails] inflection
ActionWebServiceにはinflectionという機能があって、list_usersのような名前の メソッドをWebサービスではListUsersのように自動的にCamelCaseにして提供することが できる。*1
でも、戻り値の構造体のメンバ名には適用されないようだ。 何か中途半端だけど、仕様なのかねえ。
_ [Rails] #1211 ([PATCH] charset for SOAP responses)
今度はSOAPのレスポンスのContent-Typeにcharsetパラメタを付加するパッチ。 これがないと、.NETにUTF-8の文字列を上手く渡せない。
ほんとは、Content-Transfer-EncodingとかContent-Dispositionも 気になるけど、まあ、いいか。
_ [ソフトウェア][ximapd] rast-0.1.0 リリース
DBの構造に変更があるため、scripts/rast-db-convertでDBをコンバートする 必要があります。
とくに、ximapdを使っている方は、
$ ruby scripts/rast-db-convert ~/ximapd/index
とするのを忘れずに!
ちなみに、rast-0.1.0には今日対応したので、ximapdはHEADにしてください。
*1 もちろん、無効にもできる。
- ただのにっき ×42 : 37, 4, 1
- http://arika.org/diary/20060201 ×27
- tDiary.Net[sho] ×27
- http://search.live.com/results.aspx?q=ximapd ×7
- http://arika.org/diary/200602 ×6
- http://arika.org/diary/ ×5
- http://arika.org/diary/2006/02/01 ×4
- http://search.live.com/results.aspx?q=IE スクロールバー 非... ×3
- http://search.live.com/results.aspx?q=ximapd&form=... ×3
- http://reader.labs.goo.ne.jp/html/f22.html?1114650... ×3
- http://www.bing.com/search?q=スクロールバーを非表示にするには&src=... ×2
- http://press.eek.jp/result/ie7/ie7 ブロック ×2
- http://search.live.com/results.aspx?q=ximapd&mrt=e... ×2
- http://search.live.com/results.aspx?mkt=ja-jp&FORM... ×2
- http://search.www.infoseek.co.jp/OTitles?nh=10&svx... ×2
- http://search.live.com/results.aspx?q=HTML スクロールバー... ×1
- http://search.www.infoseek.co.jp/OTitles?col=OW&qt... ×1
- http://roccc.cs.ucr.edu/trac/roccc/ticket/223 ×1
- http://www.oswd.org/user/profile/id/54193 ×1
- http://reader.livedoor.com/reader/ ×1
- http://sbs.mobile.yahoo.co.jp/union/search?p=TIMEを... ×1
- http://209.85.175.104/search?q=cache:9nkAO4uzQIwJ:... ×1
- http://www.baidu.jp/baidu?tn=daemon_dg&ie=utf-8&wd... ×1
- http://blog.drecom.jp/FFF/category_4 ×1
- http://216.239.39.104/translate_c?u=http://shugo.n... ×1
- http://beta.search.live.com/results.aspx?FORM=IE7&... ×1
- http://search.live.com/results.aspx?q=スクロールバー 非表示&... ×1
- http://search.live.com/spresults.aspx?q=スクロールバーのロッ... ×1
- http://sbs.mobile.yahoo.co.jp/union/search?p=Never... ×1
- http://www.bing.com/search?srch=105&FORM=AS5&q=IE ... ×1
- http://search.blogger.com/?Submit=Search Blogs&as_... ×1
- http://www.dela-grante.net/ ×1
- http://search.live.com/results.aspx?q=ie アドレス非表示&s... ×1
- http://sbs.mobile.yahoo.co.jp/union/search?fr=m_to... ×1
- http://connect.cleveland.com/user/volaveras/index.... ×1
- http://216.239.37.104/translate_c?hl=en&u=http://s... ×1
- http://s.luna.tv/search.aspx?q=rails inflection&d=... ×1
- http://s.luna.tv/search.aspx?client=lunascape&s=0&... ×1
- http://search.live.com/results.aspx?q=ie cpu 使用率&f... ×1
- http://community.miragespeakers.com/members/order-... ×1
- http://r.hatena.ne.jp/rhosoi/Nerds/ ×1
- http://b.hatena.ne.jp/hoshinom/ ×1
- http://guestbooks.pathfinder.gr/read/avtrolbar ×1
- http://search.live.com/results.aspx?q=ie7 スクロールバー ... ×1
- http://ja.poderosa.org/?news/2005-04-28 ×1
- http://r.hatena.ne.jp/bakelatta/ ×1
- http://planet.good-day.net/ ×1
- http://sbs.mobile.yahoo.co.jp/union/search?p=CPU使用... ×1
- http://search.www.infoseek.co.jp/OTitles?col=OW&qt... ×1
- http://search.www.infoseek.co.jp/Web?qt=IE CPU 100... ×1
- http://search.live.com/results.aspx?q=スクロールバーの非表示&... ×1
- http://www.bing.com/search?q=IEのスクロールバー表示されない&filt... ×1
- http://www.shoppingjp.org/ ×1
- http://mixi.jp/view_diary.pl?url=http://shugo.net/... ×1
- http://mixi.jp/view_diary.pl?url=http://shugo.net/... ×1
- http://search.live.com/results.aspx?q=IEのスクロールバーの表... ×1
- http://b.hatena.ne.jp/add?mode=confirm&title=Journ... ×1
- http://74.125.153.132/search?q=cache:Fb03FISOxIkJ:... ×1
- http://search.live.com/spresults.aspx?q=html アドレスの... ×1
- http://sbs.mobile.yahoo.co.jp/union/search?fr=m_to... ×1
- http://neatco.com/Forum/members/Prednisone without... ×1
- http://itoshi.tv/d/?date=20050426 ×1
- http://www.lisanovalive.com/profile/patukatsud ×1
- http://search.live.com/results.aspx?q=IE アドレスの非表示&... ×1
- http://s.luna.tv/search.aspx?q=スクロールバー IE 非表示&d=&s... ×1
- http://itoshi.tv//d/?date=20050426 ×1
- http://sbs.mobile.yahoo.co.jp/union/search?fr=m_to... ×1
- http://search.www.infoseek.co.jp/Seek?svx=101721&n... ×1
- http://search.live.com/results.aspx?srch=105&q=IE ... ×1
- http://reader.labs.goo.ne.jp/html/f22.html?1114693... ×1
- http://caojon.seesaa.net/article/419493.html ×1
- http://reader.livedoor.com/subscribe/http://shugo.... ×1
- http://ostredlin.webgarden.com/ ×1
- http://mixi.jp/view_diary.pl?url=http://shugo.net/... ×1

> 食べていくためには仕方ありません:(
悪魔に魂を... (違
いや、よくある話ですね。
# このケースもWAIの話とかしても無視でしょうね。
ああ、shugoさんが汚れていく…
身も心もぼろぼろですよ。
db3 locks!
とかくだらないことを書きにきたらsoap4rネタが。そうなんですよ、内部CESは適当に選んで、外へ出すときは$KCODEにあうように変換してます。クライアント書くときはわりと便利だと思うんですけど、サーバ書くときは困りますね。どうしたものか。
iconvがなくて$KCODE = 'EUC'だったりするとEUCになります。ていうかRailsでは自分で作ってるのか。知らんかった。
気にしないでください >100%
週末は止めておきます(笑)
どうするのがいいんでしょうねえ > $KCODE
はい、それがいいかと:) > 週末はとめる