Obon festival

[VOCABULARY]From Historian

  • ferocity
    • The state or quality of being ferocious; fierceness.
  • ferocious
    • Extremely savage; fierce
  • fiend :An evil spirit
    • a demon. &br;The Devil; Satan.
    • A diabolically evil or wicked person.
  • contagion
    • Disease transmission by direct or indirect contact.
    • A disease that is or may be transmitted by direct or indirect contact; a contagious disease.
    • The direct cause, such as a bacterium or virus, of a communicable disease. disease.

From Historian

excursion
A usually short journey made for pleasure; an outing.
sinister
Suggesting or threatening evil
trepidation
A state of alarm or dread
contagion
Disease transmission by direct or indirect contact.
startle
To alarm, frighten, or surprise suddenly.
thump
A blow with a blunt object
confiscate
To seize (private property) for the public treasury
uncanny
Peculiarly unsettling, as if of supernatural origin or nature
ornate
Elaborately, heavily, and often excessively ornamented

Typhoon season has come.

The typhoon is coming to Japan,Kanto erea, which we've got for the first time this yeay.
Speaking of typhoon, it is good for crops, but this year.. we have a long rainy season.
My anxiety is the price of vegetable which is going to more expensive.
I do really life organic domestic vegetable, so I'm just concerning this climate.
Even my vacation time, alse, which I have the end of September from the first of October.
I expect it won't come that time.

What does "WORK" mean for you?

What for are you working? for money? for your pride? for your company? for your family? for your life?
or For Nothing?
I have already noticed before though, The most of Japanese, especially who work for IT companay, don't have any intension for working.
How come you work til up so late? How come you have to keep work even though you've fallen sick so badly.
What for?
They look like they're living a life for work, not for their life.
That's so hogwash!
That's why the society in japan has been coming mad recently.
Look back your life again. Are you, even or your family, really satisfied with your life?
Will you keep the way of life in the future?

ローカルファイルアクセス対応

PukiWikiではローカルのファイルへのアクセスがデフォルトでは出来ません。
file://のようなアクセスだと、そのままテキスト分になるので修正したいと思います。

以下のファイルを修正することで対応可能となります。
[WIKI_INSTALL_TOP]/lib/make_link.php
363行目付近の以下の記述を修正します。

[修正前]

(                 # (3) url
 (?:(?:https?|ftp|news):\/\/|mailto:)[\w\/\@\$()!?&%#:;.,~'=*+-]+
)

[修正後]

(                 # (3) url
 (?:(?:(?:https?|ftp|news):\/\/|mailto:)[\w\/\@\$()!?&%#:;.,~'=*+-]+)
 |
 (?:file:\/\/.+)
)

文字コード

Windows開発環境がShift-JIS
Linuxビルド環境がUTF-8
環境の文字コードが違っています。Windows上で開発したファイルをそのままSubversionに入れて、Linux環境でCheckoutしてコンパイルしようとすると文字化けが発生していて、コンパイルが行えません。

RAD設定

RADではワークベンチ エディタでの文字コード設定を変更出来ます。
そこでUTF-8と設定することで、既存のファイル及び新規ファイルのエンコーディングUTF-8に設定されます。

JSPファイルははpageEncodingを見てデフォルト文字コードを設定しています。
そのため、RAD上でUTF-8と設定しても、ファイル個別に設定しない限り、pageEncodingで設定されたコードセットが設定されます。

<%@ page contentType="text/html; charset=Shift_JIS" pageEncoding="Shift_JIS" %>

上記のような場合だと、Shift-JISに設定されます。
ローカルのファイルを直接編集してUTF-8に変更してもRAD上ではShift-JISとして読み込まれ、文字化けが発生します。

FindBugs実行

FindBugsとはバイトコードとバグ・パターンリストを比較してプログラム内のエラーとなる高いコードを発見するツールです。

CUIからの実行モードで実施しますが、その際のオプションを紹介します。

-javahome
FindBugs を実行するために使われる JRE (Java ランタイム環境) の ディレクトリの指定
-maxHeap
ガバイト単位での最大 Java ヒープの指定。 デフォルトは 256。 巨大なプログラムあるいはライブラリを解析するにはより多くのメモリが必要とされることがある
-effort
min :解析の解析精度の向上を無効にします。しかし、これは メモリの消費量を抑える
-effort
max :正確さを高め、より多くのバグを探す解析を有効とする
-sortByClass
報告されるバグの例をクラス名でソートします
-include (filterFile.xml)
filterFile.xmlによって指定されたフィルタに合致したバグの例のみが報告される
-exclude (filterFile.xml)
filterFile.xmlによって指定されたフィルタに合致したもの以外のすべてのバグの例が報告される
-low
全てのバグ報告
medium
優先度が中および高のバグ報告(デフォルト設定)
high
優先度が高のバグ報告
-xml
バグ報告をXMLとして生成
-html
バグ報告をHTMLとして生成
auxclasspath
解析のための補足クラスパス