2009/02/16■ [English]collocation コロケーション
自然な英語の組み合わせのことをコロケーションというらしい。 2009/02/18■ [tDiary]tDiaryの最新版は2.2.1tDiaryの最新版は2.2.1(安定版)と2.3.1(開発版)があるらしい。 このサイトのバージョンを調べたら 「Generated by tDiary version 2.0.4」 という記述があるので、結構古いのを使っていたみたいだ。 2.0→2.2の差分を調べたら、スパム対策も入っているらしい。 ただし、Ruby1.6のサポートが無くなったみたい。 危ない危ない、サーバのRubyのバージョンを確認しなくては。 Wikiスタイルでヒアドキュメントを使えるのはうれしいかも。 でもWikiスタイル使ってない。でもうれしい。 追加プラグインでは次のものが便利そう。 my-sequel.rb: 過去の関連する日記に自動的にリンクを生成する。 早速導入したいけど、 今日は空手があるから、はまたあとで。 The latest version of tDiary seems to have 2.2.1(stability version) and 2.3.1(development version). It seems to have used considerably old because there was a description of "Generated by tDiary version 2.0.4" in my site. difference from 2.0 to 2.2 SPAM measures. However, the support of Ruby1.6 disappeared. It is dangerous not confirm the version of Ruby on my server. Is it glad to be able to use heredocument by the Wiki style. However, the Wiki style is not used on my site, it is glad :D The following one seems to be convenient plug-in. My-sequel.rb: The link is automatically generated to the diary that relates about the past. I want to set up it immediately. I will make it soon but lately because there is a Karate School today. 2009/02/19■ [tDiary]tDiaryでpreタグpre タグを使ったらフォントと背景色が変わってしまった。 多分 tDiary の投稿スタイルを変えれば わざわざ pre タグを使う必要もなくなるんだろう。 pre タグを調べていたら、listing、xmp、plaintext が出てきたけど、 HTML4.0 では pre タグ以外は廃止されているみたい。 The font and the background color have changed if article contains pre tag. If I change the contribution style of tDiary, perhaps pre tag need not be likely to be used purposely. I found listing, xmp, and plaintext tags when I invastigate pre tag. But all of them is abolished in HTML4.0 excluding pre tag. ■ [murmur]海月姫昔はゲームを作って食べてたくらいにオタク業界にどっぷり浸かってたのに アニメとか漫画を全然見なくなった。 でも本は好きなんで、目の届くところにあれば手当たりしだいに読むけど。 洋書も。 あと、あらすじもしらない漫画をコンビニで立ち読みしたり。 海月姫おもしろい。 I had worked as Game Programmer in old day. I had knowledge about Otaku World. But I don't read Manga or watch Anime now. I still love reading a book. If there is a book in my view, I will keep reading it until my eyes or head gives up. Foreign book, too. I also like reading Manga which I don't know outline, in the convenience store. Princess of Jerryfish (Kurage Hime in Japanese) is fun. 2009/02/21■ [murmur]Yahoo! Pipesって関係ないけどこないだ ARMでコンパイルしたオブジェクトファイルをダンプしたら、 中にコンパイル時に叩いたコマンドが残ってたけどなんでだろ。 Yahoo! Pipes 使ってみたいな。 ずっと昔、ナショナルインスツルメンツ の LabVIEW を使って、 システムを設計したことがあった。 LabVIEW は関数のかわりにVI(Virtual Instruments)アイコンをグラフィカルに配置して、 VIとVIの間を配線してデータフローをつなげていくものだった。 あの頃の LabVIEW も画期的だと思ったが、 今ならウェブ系の開発とすごく相性がいいだろう。 昔はスクリプト厨をスクリプトキディって言ったらしいけど、 マッシュアップに熱中する方々には、なにか名前はついてるのかな。 Yahoo! Pipes メモ Pipes Editor が用意されている Pipes Editor でモジュールの接続(パイプ)ができる データのソースは Yahoo! Search:米ヤフーの検索結果をソースにできる Yahoo! Local:米ヤフーの地域情報をソースにできる Fetch:ユーザーが指定するRSSやAtom、RDFフィードを読み込んで出力 Google Base:Google Baseの検索結果をソースにする Flickr:指定した条件で検索されたFlickrの画像をソースにする があるらしい。 When you dump the objectfile The furnace what though the command that had been beaten when compiling to the inside remained. Yahoo I do not want must to use Pipes. The system had been designed by using LabVIEW of National instruments for a long time in old times. LabVIEW wired between VI and VI by arranging the VI(Virtual Instruments) icon graphical instead of the function and tied the data flow. Now it is terrible and, compatibility might be good though it was thought that those days' LabVIEW was also epoch-making with the development of the web system. Are any names given to the people who enthuse about the mashup doing and going when the script kiddie says the script kitchen in old times? Yahoo Pipes memo Pipes Editor is prepared. The module can be connected with Pipes Editor. The source of data Yahoo! Search: The retrieval result of the U.S. yahoo is made a source. Yahoo! Local: The regional information of the U.S. yahoo is made a source. Fetch: It outputs it reading RSS, Atom, and the RDF feeding that the user specifies. Google Base: The retrieval result of Google Base is made a source. Flickr: The image of Flickr retrieved on the condition of specifying it is made a source. ■ [tDiary]tDiaryを勉強中tDiaryを勉強中 FileTest.symlink?(filename) filename がシンボリックリンクである時、真を返す。 __FILE__ 実行中のプログラムのファイル名を表す。 $0 実行するときに指定したプログラムのファイル名を表す。 別のプログラムから require したときは、 __FILE__ と $0 は一致しない。 File.readlink(path) シンボリックリンクのリンク先を文字列で返す。 $: $LOAD_PATH loadや require がファイルをロードする時に検索するディレクトリのリストを含む配列。 Array.unshift 配列に挿入 行頭の=begin から=end までは埋め込みドキュメント。 RD形式でドキュメントを埋め込むことを期待している。 String.make_link テキスト中にリンクを表す文字列 (例 http://〜) があればそれをアンカータグに変換する。 I am studying tDiary. FileTest.symlink?(filename) This method returns TRUE if filename is a symbolic link. __FILE__ The file name of running. $0 The file name of specified in execute. When require is done from another program, neither __FILE__ nor $0 are corresponding. File.readlink(path) Linked path of the symbolic link are returned by the character string. $: $LOAD_PATH Array including list of directory retrieved when load and require load file. Array.unshift This method inserts the given values to the beginning of an Array object From =begin at to =end is a document. The document is expected to be buried in the RD form. String.make_link It is converted into the anchor tag if there is a character string (example http://?) that shows the link in the text. |