おのたく日記 YouTubeも始めました→
2004-09-06(Mon) この日を編集
■ [Java] Download Java 2 Platform, Standard Edition 5.0 RC
J2SE 5.0 (Tiger)もついにRCが出た。
■ [Java] dW : Java technology : Javaの理論と実践: Web層での状態複製
HttpSessionの扱い方の解説
HttpSessionを利用するときには
セッションを最小限に保つ
setAttributeを省略しない
きめ細かいセッション属性を使用する
終了したら無効にする(必ずHttpSession.invalidate()を呼ぶ)
セッションをきれいに保つ
[dW : Java technology : Javaの理論と実践: Web層での状態複製より引用]
ということに注意して利用するのがミソ
2005-09-06(Tue) この日を編集
■ Tru Calling
最近、テレビ東京で放送されている「トゥルー・コーリング(Tru Calling)」に、はまっている。月曜から木曜までお昼の放送なのだけど、CoCoonが見つけてくれてから見ている。
■ [Debian] smartsuiteパッケージって何?
smartdが動いていたのですが、なんかWebの情報に比べて設定できる項目が少ない。
よく調べると、Debian 3.1(sarge)では、smartmontoolsパッケージにsmartdが入っているらしい。
そこで、smartsuiteパッケージを抜いてsmartmontoolsパッケージを入れた。
defaultでは、hda〜d, sda〜sdhを探しに行くので、/etc/smartd.confでAuto Detectをせずにhdaのみを対象にするようにパッチした。
# diff -u smartd.conf.org smartd.conf
--- smartd.conf.org 2005-02-06 02:26:56.000000000 +0900
+++ smartd.conf 2005-08-31 15:42:26.846239422 +0900
@@ -20,7 +20,8 @@
# Directives listed below, which will be applied to all devices that
# are found. Most users should comment out DEVICESCAN and explicitly
# list the devices that they wish to monitor.
-DEVICESCAN
+#STOP TKYN: DEVICESCAN
+/dev/hda -H -l error -l selftest -m root
# First (primary) ATA/IDE hard disk. Monitor all attributes, enable
# automatic online data collection, automatic Attribute autosave, and
■ ついでに、ヘルスチェックに失敗したりエラーが発生したときにrootにメイルが行くようにしておいた。
■ [Debian] hdparmの設定も変える
今までは、/etc/init.d/localに、hdparm -d1 -k1のように書いていたんだけど、Debian 3.1(sarge)からは、/etc/init.d/hdparamが出来たので、/etc/default/hdparmに
# diff -u hdparm.org hdparm
--- hdparm.org 2005-05-24 23:08:23.000000000 +0900
+++ hdparm 2005-08-31 15:03:11.755219289 +0900
@@ -9,3 +9,5 @@
#
# harddisks=""
# hdparm_opts=""
+harddisks="/dev/hda"
+hdparm_opts="-c1 -d1 -k1 -m16 -i"
と書いて、Debian標準の方式でイニシャライズする。(ついでにDMAが止まっても、催促名I/Oで接続できるようにBuffer 16, 32bit I/Oにしておいた)
2006-09-06(Wed) キャンディーの年下の男の子 この日を編集
■ キャンディーの年下の男の子
うーむ、イマイチ音と映像の同期が悪くて振りが分からないな。
やっぱり、DVDを買わなくてはダメか?
https://www.amazon.co.jp/dp/406274192X
おっと、こちらはアップで良いかも
|