<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6724068261420743955</id><updated>2026-07-24T14:58:43.580+09:00</updated><category term="日記"/><category term="うつ"/><category term="仕事"/><category term="自転車"/><category term="Linux"/><category term="雑感"/><category term="開発"/><category term="プレスブログ"/><category term="Blogger"/><category term="Java"/><category term="Windows"/><category term="薬の記録"/><category term="Trac"/><category term="C#"/><category term="仮想化"/><category term="Python"/><category term="ヘルニア"/><category term="Subversion"/><category term="DB2"/><category term="Eclipse"/><category term="Firefox"/><category term="Ragnarok"/><category term="その他"/><category term="EclipseLink"/><category term="OCaml"/><category term="emacs"/><category term="Batabase"/><category term="Google"/><category term="Groovy"/><category term="Oracle"/><category term="Thunderbird"/><title type='text'>がらのうつうつ日記</title><subtitle type='html'>うつと戦いながらプータロー生活を堪能している？&#xa;プータロー生活からは脱したが、&#xa;あの浮世離れした日々が忘れられない。。。&#xa;まぁ、言わば自分勝手な日記です。</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://utsuutsu.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6724068261420743955/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://utsuutsu.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/6724068261420743955/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>447</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6724068261420743955.post-5944816420346159965</id><published>2012-05-17T22:59:00.000+09:00</published><updated>2012-05-17T22:59:26.212+09:00</updated><title type='text'>failed to read qemu headerのときのメモ</title><summary type="text">
かなり久々。。。


忘れないようにここに書きこんでおく。



ちょっとした手違いでlibvirtでイメージを起動しようとすると

failed to read qemu header

なんておっしゃられて起動しない。。。



vmwareserverを使っていたころにも同じようにイメージが起動しないことがあって、起動時に生成されるファイルが残っていて、そいつを削除すると起動した記憶があったので、似たようなものを探してみたら



/var/lib/libvirt/qemu/save/ホスト名.save



ってのがあったので削除したらなんとか起動した。



おそらく、マシンを強制的に落としたのでsaveのファイルがおかしくなっていたのではないかと思う。



もし、saveの内容を復元しようとすると無理なんだろうなぁ～




</summary><link rel='replies' type='application/atom+xml' href='http://utsuutsu.blogspot.com/feeds/5944816420346159965/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6724068261420743955/5944816420346159965?isPopup=true' title='1 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6724068261420743955/posts/default/5944816420346159965'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6724068261420743955/posts/default/5944816420346159965'/><link rel='alternate' type='text/html' href='http://utsuutsu.blogspot.com/2012/05/failed-to-read-qemu-header.html' title='failed to read qemu headerのときのメモ'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6724068261420743955.post-365530052885106514</id><published>2011-09-07T23:23:00.001+09:00</published><updated>2011-09-07T23:23:45.563+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="日記"/><title type='text'>デザインをいじってみた</title><summary type="text">かなり久々だなぁ～

とりあえず、ぱっと不要だと思えたアイテムを削除してみた。

最近はクラシックASPとかASP.NETを少しだけやったりしてるが、
何かいまいち刺激が足りない。。。</summary><link rel='replies' type='application/atom+xml' href='http://utsuutsu.blogspot.com/feeds/365530052885106514/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6724068261420743955/365530052885106514?isPopup=true' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6724068261420743955/posts/default/365530052885106514'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6724068261420743955/posts/default/365530052885106514'/><link rel='alternate' type='text/html' href='http://utsuutsu.blogspot.com/2011/09/blog-post.html' title='デザインをいじってみた'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6724068261420743955.post-4059572470134999153</id><published>2010-11-25T23:21:00.000+09:00</published><updated>2010-11-25T23:21:51.609+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Blogger"/><title type='text'>SyntaxHighlighter 最新のverを使用できるように設定してみた</title><summary type="text">これまたかなり久々。。。いままでこのブログで公開したコードは基本的にSyntaxHighlighterの1.5を使用していました。しかし、今日確認するとコードのハイライトが反映されない？！！なんで？？
まあ、そもそもホスティングされているのかもわからないようなコードを無理やり利用する方法だったのが問題だった。（我ながらよく確認もしないで利用していたものだ）なのでversion upも兼ねて公式で公開されていたブロガーでの利用方法で設定し直してみた。
まずはSyntaxHighlighterを参考にしています。この中でホスティング情報が掲載されています。(というかAmazon S3使ってホスティングしてるのにビックリしたというかこんな形でAmazon S3が役立っているとは考えたことがなかった。。。ほんと勉強不足だなぁ～)currentというURLもあるので新しい物好きな人は特に変更を加え</summary><link rel='replies' type='application/atom+xml' href='http://utsuutsu.blogspot.com/feeds/4059572470134999153/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6724068261420743955/4059572470134999153?isPopup=true' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6724068261420743955/posts/default/4059572470134999153'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6724068261420743955/posts/default/4059572470134999153'/><link rel='alternate' type='text/html' href='http://utsuutsu.blogspot.com/2010/11/syntaxhighlighter-ver.html' title='SyntaxHighlighter 最新のverを使用できるように設定してみた'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6724068261420743955.post-5660479187747255481</id><published>2010-04-18T23:23:00.009+09:00</published><updated>2010-04-18T23:57:58.838+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Windows"/><category scheme="http://www.blogger.com/atom/ns#" term="仕事"/><title type='text'>Faulting application w3wp.exe, version 6.0.3790.3959, stamp xxxxxxxx, faulting module unknown, version 0.0.0.0, stamp 00000000, debug? 0</title><summary type="text">タイトルのとおりのイベントログがWin2003 Serverで発生した。

日本語での解説を見つけられなかったので、
その時の調査内容のメモ
結論から行くと
このメッセージ（タイトル）の内容だけでは簡単には特定できることではないらしいが、
少なくとも私が遭遇したのは
レジストリに存在するアプリケーションプール関連の設定についてのパーミッションが原因

状態的にこれしか当てはまらなかったからね。。。（うーん、言いきっちゃって良かったのかなぁ？）


詳しい解説はKB918041をググるとわかる。
マイクロソフトに機械翻訳版の日本語は存在するが、日本語が怪しかったので英語版を見たほうが良いとは思う。

一応簡単に内容を書いておくと

レジストリーキー：HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ASP.NET_2.0.50727\</summary><link rel='replies' type='application/atom+xml' href='http://utsuutsu.blogspot.com/feeds/5660479187747255481/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6724068261420743955/5660479187747255481?isPopup=true' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6724068261420743955/posts/default/5660479187747255481'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6724068261420743955/posts/default/5660479187747255481'/><link rel='alternate' type='text/html' href='http://utsuutsu.blogspot.com/2010/04/faulting-application-w3wpexe-version.html' title='Faulting application w3wp.exe, version 6.0.3790.3959, stamp xxxxxxxx, faulting module unknown, version 0.0.0.0, stamp 00000000, debug? 0'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6724068261420743955.post-3416947944857239640</id><published>2010-02-15T21:58:00.008+09:00</published><updated>2011-09-07T23:29:01.422+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Batabase"/><category scheme="http://www.blogger.com/atom/ns#" term="Oracle"/><title type='text'>Oracle9iのDBMS_METADATA.GET_DDLを使ってTABLE,INDEX,TRIGER,COMMENTを取得する</title><summary type="text">
かなり久々、別に放置していた訳じゃないです。
仕事の都合で、現在の開発環境に定義されているDDLスクリプトを抜き出す必要があったので、DBMS_METADATAパッケージを使用してみた。

前に（言っても２年くらい前）DB2で同じようなことをやった時にはdb2lookupっていうコマンドが用意されていたので、かなり簡単にできたんだけど。。。 
DBMS_METADATAパッケージって何ていうか癖があるような気がした。

私が欲しいのは 

1.そのまま取得結果が実行できる(実行環境はsql*plusや他のサードパティ製ツール)
2.テーブル定義なら合わせてINDEXやCOMMENTの情報も欲しい
3.後々の保守も考えてテーブル単位にDDLをファイルに出力したい

で、結果としてこうなった 
select
  DBMS_METADATA.GET_DDL(&#39;TABLE&#39;, </summary><link rel='replies' type='application/atom+xml' href='http://utsuutsu.blogspot.com/feeds/3416947944857239640/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6724068261420743955/3416947944857239640?isPopup=true' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6724068261420743955/posts/default/3416947944857239640'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6724068261420743955/posts/default/3416947944857239640'/><link rel='alternate' type='text/html' href='http://utsuutsu.blogspot.com/2010/02/oracle9idbmsmetadatagetddltableindextri.html' title='Oracle9iのDBMS_METADATA.GET_DDLを使ってTABLE,INDEX,TRIGER,COMMENTを取得する'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6724068261420743955.post-518903059323843775</id><published>2009-12-06T23:34:00.002+09:00</published><updated>2009-12-06T23:41:47.309+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="日記"/><category scheme="http://www.blogger.com/atom/ns#" term="雑感"/><title type='text'>もう師走</title><summary type="text">早いもんだね。。。

プーしてたときには欠かさず毎日postしてたのに
今では月に一回ってところです。

できれば有意義な情報をpostしたいなぁ～と思えば思うほどキチンとまとめないと世間様に見せることもできないなんて思ってしまって。。。
と自分への言い訳はこの程度にして

まぁ、投稿してたものにしても世間様でお役に立っているのかどうか？と不安に思っていたんですが、

今日、珍しくコメントを頂いて

やっぱり、居たんだね私と同じことを思っていた人が！嬉しいですよ！！
やっぱり、有意義な事だけpostしようと思いつつ
こんなpostをしてる自分がちょっと情けない。。。</summary><link rel='replies' type='application/atom+xml' href='http://utsuutsu.blogspot.com/feeds/518903059323843775/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6724068261420743955/518903059323843775?isPopup=true' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6724068261420743955/posts/default/518903059323843775'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6724068261420743955/posts/default/518903059323843775'/><link rel='alternate' type='text/html' href='http://utsuutsu.blogspot.com/2009/12/blog-post.html' title='もう師走'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6724068261420743955.post-8847017127502970112</id><published>2009-11-14T00:07:00.003+09:00</published><updated>2009-11-14T00:21:16.450+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="OCaml"/><category scheme="http://www.blogger.com/atom/ns#" term="日記"/><title type='text'>OCaml まだ、読んでる途中</title><summary type="text">まだまだ、読んでる途中です。


かなりのんびり読んでます。
まぁ、通勤の電車の中と仕事場での昼休みに読んでるだけだからね。。。

でも、何かこうしっかり（？）書かれてたら、楽しく読めて良い感じだｗ。

しかし、読んでて気になったことが一点、

この本には各章にまとめとしての練習問題が含まれているのですが（もともと講義用のテキスト？がベースらしい）、何故か解答が付いてないように思える。

で、２週間くらい前に「何で解答例が付いてないんだ？？」と考えてみて、自分なりに納得しようと解答がないという事実について答えを考えてみた。

答えを鵜呑みにして、理解ができてなかったら意味がない

うん、そういうことにしておこう。。。

と、してたんですが
先に進むほどに「結果としての答えも分かっているし、コードも書いて、動かした結果も想定どうり」で良かったねでは納得できなくなってきました。。。

これは</summary><link rel='replies' type='application/atom+xml' href='http://utsuutsu.blogspot.com/feeds/8847017127502970112/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6724068261420743955/8847017127502970112?isPopup=true' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6724068261420743955/posts/default/8847017127502970112'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6724068261420743955/posts/default/8847017127502970112'/><link rel='alternate' type='text/html' href='http://utsuutsu.blogspot.com/2009/11/ocaml.html' title='OCaml まだ、読んでる途中'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6724068261420743955.post-7867378937172737995</id><published>2009-10-25T23:02:00.004+09:00</published><updated>2009-10-26T20:13:25.191+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="OCaml"/><category scheme="http://www.blogger.com/atom/ns#" term="日記"/><category scheme="http://www.blogger.com/atom/ns#" term="自転車"/><title type='text'>超久々</title><summary type="text">何だかずいぶん久しぶりの投稿です。

まあ、特に大きなネタがあるわけではないんですが。。。

これまでにあった事といえば、
自転車をバラして掃除
仕事用の鞄を何年かぶりに買い替えた
ocamlを勉強し始めた
とりあえず、自分用の勤務時間とか記録するマクロ(Javascpit)をocamlに置き換えてみるのが当面の目標かな？

ocamlは最初日本語のチュートリアルとか読んだ(というか一通りは読んではみた)が、やっぱり関数言語初心者(いまだにCommonLispも読めないし。。。)ということで、Amazonで本を買ってみた。

まだ、３章のはじめくらいまでしか読んでないが、今のところは理解できていると自分では思ってる。。。
しかし、テキストに練習問題が付いているのだが、オペレータ[**]の説明が無くいきなり問題で登場したので実行するまで理解できなかったのがショックだった。。。
あとは再帰を</summary><link rel='replies' type='application/atom+xml' href='http://utsuutsu.blogspot.com/feeds/7867378937172737995/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6724068261420743955/7867378937172737995?isPopup=true' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6724068261420743955/posts/default/7867378937172737995'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6724068261420743955/posts/default/7867378937172737995'/><link rel='alternate' type='text/html' href='http://utsuutsu.blogspot.com/2009/10/blog-post.html' title='超久々'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6724068261420743955.post-5559323155135583365</id><published>2009-08-16T07:28:00.003+09:00</published><updated>2009-08-16T07:35:22.274+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Windows"/><category scheme="http://www.blogger.com/atom/ns#" term="仮想化"/><title type='text'>Virtual Box+DropBoxでWindowsのスタンバイが実行できない（続き）</title><summary type="text">Virtual Boxをインストールするとスタンバイにできないであれこれ書いたが、結局何かをインストール（Windows Updateも含む）が行われるとスタンバイにできないことがわかった。。。一応、DropBoxをExitで終了させればスタンバイにはできるんだけど
それじゃ面倒すぎ
ということで、VirtualBoxをアンインストール
何か良い方法はないものかなぁ～

ちなみにVirtualBoxをアンインストールするときもDropBoxを終了させないと正常に終了してくれないときたもんだ。。。
なんでだろう。。。</summary><link rel='replies' type='application/atom+xml' href='http://utsuutsu.blogspot.com/feeds/5559323155135583365/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6724068261420743955/5559323155135583365?isPopup=true' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6724068261420743955/posts/default/5559323155135583365'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6724068261420743955/posts/default/5559323155135583365'/><link rel='alternate' type='text/html' href='http://utsuutsu.blogspot.com/2009/08/virtual-boxdropboxwindows.html' title='Virtual Box+DropBoxでWindowsのスタンバイが実行できない（続き）'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6724068261420743955.post-7357962725244591967</id><published>2009-08-12T12:18:00.003+09:00</published><updated>2009-08-12T12:37:10.787+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Windows"/><category scheme="http://www.blogger.com/atom/ns#" term="仮想化"/><title type='text'>Virtual Boxをインストールするとスタンバイにできない</title><summary type="text">かれこれ１ヶ月ぶりです。

それもこれもなぁ～んもネタがなかったのが原因なんですけどね。

で、今回は色々探してイマイチ見つからなかったものを

まぁ、タイトルのとおりなんですが、Virtual Boxをインストールすると何でかWindowsのスタンバイが途中で止まっちゃうって現象について、私がやった対応？（対応というのもおこがましいが。。。）をご紹介

とりあえず、ネットを探してるとこんなのが載ってた
スタンバイモードに移行できない状況を解決できた、のか？
紹介されている内容をもとに対応はしてみたが何が原因なのやら。。。

一応、私の環境はこんなの
Windows XP sp3
VirtualBox-3.0.4-50677-Win.exeをインストール

どうやらまったく関係ないDrop boxが関係あるようだ
ちなみにDrop boxのverは控えてなかった。。。

で、どうやって</summary><link rel='replies' type='application/atom+xml' href='http://utsuutsu.blogspot.com/feeds/7357962725244591967/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6724068261420743955/7357962725244591967?isPopup=true' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6724068261420743955/posts/default/7357962725244591967'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6724068261420743955/posts/default/7357962725244591967'/><link rel='alternate' type='text/html' href='http://utsuutsu.blogspot.com/2009/08/virtual-box.html' title='Virtual Boxをインストールするとスタンバイにできない'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6724068261420743955.post-3540431861134784347</id><published>2009-07-04T08:11:00.002+09:00</published><updated>2009-07-04T08:24:43.064+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="仕事"/><title type='text'>やったことのない言語より問題なのは。。。</title><summary type="text">新しい作業場に移り、早くも2週間

今までJavaしかやってこなかった僕としては
ASP(.netじゃないよ)なんてできるのか？？といった不安はかなりあったが、意外と何とかなるもんだ。
それよりも問題なことがある。
それは、データベースだ！
誰が設計したのかわからんが、何がしたいのかわからないテーブル設計が曲者だった。。。
「1:1..nのテーブル構造だ」と説明を受けて、
試しに主キー同士で結合するとデータが取得できない。。。「これって1:0..nじゃん」と突っ込みに行くと主キーでくっつけてはいけないとか。。。どっかに説明を書いといてくれ！
これって正規化してこれなのかな？？

高いRDBを使ってこれなんて。。。
postgreでもいいんじゃない？

久々のPOSTは愚痴でした。。。</summary><link rel='replies' type='application/atom+xml' href='http://utsuutsu.blogspot.com/feeds/3540431861134784347/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6724068261420743955/3540431861134784347?isPopup=true' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6724068261420743955/posts/default/3540431861134784347'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6724068261420743955/posts/default/3540431861134784347'/><link rel='alternate' type='text/html' href='http://utsuutsu.blogspot.com/2009/07/blog-post_04.html' title='やったことのない言語より問題なのは。。。'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6724068261420743955.post-7315060928917415975</id><published>2009-06-01T19:46:00.003+09:00</published><updated>2009-06-01T19:52:35.942+09:00</updated><title type='text'>たまには怒る</title><summary type="text">思いっきり、時間差で不況の波に飲み込まれた。。。

どこの会社とは言えない（私自身の保身もあるので）が、
かなりめちゃくちゃなことをやられてしまった。。。

６月は中旬からしか発注が出せない！

聞いたのは今日（６／１）の朝ではなく夕方。。。

とりあえず、身の回りの整理をおおよそ５分で片づけて帰ってきた。


結構、大きめの会社なのでそのあたりは大丈夫かな？と思っていたんだが、
やっぱり、会社の経営状況はよろしくないのかもしれん。。。

しかし、グダグダすぎてやる気もでない。。。
とりあえず、２週間くらいは遊んで暮らすかぁ～
仕事を探せ！とは思わないでください。。。</summary><link rel='replies' type='application/atom+xml' href='http://utsuutsu.blogspot.com/feeds/7315060928917415975/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6724068261420743955/7315060928917415975?isPopup=true' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6724068261420743955/posts/default/7315060928917415975'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6724068261420743955/posts/default/7315060928917415975'/><link rel='alternate' type='text/html' href='http://utsuutsu.blogspot.com/2009/06/blog-post_01.html' title='たまには怒る'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6724068261420743955.post-3769100374570447039</id><published>2009-05-16T22:43:00.003+09:00</published><updated>2009-05-16T23:00:01.836+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Google"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows"/><category scheme="http://www.blogger.com/atom/ns#" term="日記"/><title type='text'>Googleだけが遅いときには</title><summary type="text">うちは
フレッツ光
ｈｉ－ｈｏ
Windows XP sp3
な環境なんですが、
ここのところ、Googleでの検索やら各種サービスが異常なほど遅くなっていた。。。
ちなみに他の検索エンジンとかだと何の問題もない

このままじゃ、何かと不便なんで

とりあえず、以前のようにさくさく動くようにしてみようとチャレンジしてみた。

その１:この現象は我が家だけなのか？
⇒会社ではそんなこともなくいつもどおり
ｈｉ－ｈｏに関連してもそんな情報は存在せず

その２:ルーターがおかしいのか？
とりあえず、以下のコマンドを実行してみる
ping
tracert
pathping
とりあえず、比較対象としてYahoo!を持ち出してみた
まあ、結果から言うと内部のネットワークには問題はないみたい

その３:ＦＷがらみ？
特に変な設定をしているわけではないがＦＷを切った状態と切ってない状態で比較
結果は変</summary><link rel='replies' type='application/atom+xml' href='http://utsuutsu.blogspot.com/feeds/3769100374570447039/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6724068261420743955/3769100374570447039?isPopup=true' title='1 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6724068261420743955/posts/default/3769100374570447039'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6724068261420743955/posts/default/3769100374570447039'/><link rel='alternate' type='text/html' href='http://utsuutsu.blogspot.com/2009/05/google.html' title='Googleだけが遅いときには'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6724068261420743955.post-4288113963192803685</id><published>2009-05-12T21:37:00.002+09:00</published><updated>2009-05-12T21:46:49.446+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Windows"/><title type='text'>久々に</title><summary type="text">何だかんだでまったく投稿せずになっていました。。。

何か有益な情報があるわけでもなく。。。

せっかくなので私のお勧めWindows系ツールをご紹介
通り抜けループ

ちなみに「通り抜けループ」はシェアウェアなんで注意だ

あんまり余所でも知ってる人は知ってる的なツールだが、
今は完全に手放せないツールと化している。

とにかく、使い始めればこのツールの優秀さにみんな気づくんじゃない？って思える。

Taskbar Shuffle
こいつはLifeHackerで知ったんですが、いつぞやの軽量ツール10選にも選ばれたツールで、
やりたくてできない。ただし、できなくても困らないくらい
そんなツールです。
海外ソフトだが、日本語パッチも存在してる。


まぁ、便利なもんは便利でいいんじゃないかな？</summary><link rel='replies' type='application/atom+xml' href='http://utsuutsu.blogspot.com/feeds/4288113963192803685/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6724068261420743955/4288113963192803685?isPopup=true' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6724068261420743955/posts/default/4288113963192803685'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6724068261420743955/posts/default/4288113963192803685'/><link rel='alternate' type='text/html' href='http://utsuutsu.blogspot.com/2009/05/blog-post_12.html' title='久々に'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6724068261420743955.post-2660091401497088329</id><published>2009-04-20T14:57:00.002+09:00</published><updated>2009-04-20T15:03:16.146+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="うつ"/><title type='text'>うつの薬とその効用</title><summary type="text">長いこと飲み続けているんですが、
最近はピーク時の１／４くらいの量になっている。

ただ、今まで服用し続けて思い返してみれば、
やっぱりテンションがおかしいことが多々あったように思える。

特に飲みに行ったときなんかには、
その傾向が高い。。。

「そんなことしなかったのに。。。」

なぁーんてことを言われたこともあったなぁ～

自制心が大切と思いつつも
その自制心自体をコントロールしてしまう薬がやっぱり
使い方ひとつで恐ろしいことになりそうだと
再認識です。</summary><link rel='replies' type='application/atom+xml' href='http://utsuutsu.blogspot.com/feeds/2660091401497088329/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6724068261420743955/2660091401497088329?isPopup=true' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6724068261420743955/posts/default/2660091401497088329'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6724068261420743955/posts/default/2660091401497088329'/><link rel='alternate' type='text/html' href='http://utsuutsu.blogspot.com/2009/04/blog-post_20.html' title='うつの薬とその効用'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6724068261420743955.post-7150860633717343553</id><published>2009-03-28T15:59:00.002+09:00</published><updated>2009-03-28T16:02:00.066+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="日記"/><title type='text'>わーい</title><summary type="text">とりあえず、日本の少子化対策に貢献できたようだ。

とりあえず、一言だけ
「ダンナはやることないんで暇すぎる。。。」

でも、へその緒切るのは楽しかったよ。
意外と切りにくくでびっくりした。</summary><link rel='replies' type='application/atom+xml' href='http://utsuutsu.blogspot.com/feeds/7150860633717343553/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6724068261420743955/7150860633717343553?isPopup=true' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6724068261420743955/posts/default/7150860633717343553'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6724068261420743955/posts/default/7150860633717343553'/><link rel='alternate' type='text/html' href='http://utsuutsu.blogspot.com/2009/03/blog-post_28.html' title='わーい'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6724068261420743955.post-515373100985113735</id><published>2009-03-26T22:25:00.002+09:00</published><updated>2009-03-26T22:29:24.627+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="日記"/><title type='text'>予定日間近</title><summary type="text">予定では明日の２７日が予定日になっているが、

果たしてどうなるんだろう。。。

まぁ、私が産むわけじゃないんで、
申し訳ないが、
「そのうち出てくるだろう」
と表面上は言ってはいるが、

ここのところ、浮足立つことが多くなってる自分にふと気付き

何だかんだ言っても動揺してるんだろうなぁ～と自己分析してみたり。</summary><link rel='replies' type='application/atom+xml' href='http://utsuutsu.blogspot.com/feeds/515373100985113735/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6724068261420743955/515373100985113735?isPopup=true' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6724068261420743955/posts/default/515373100985113735'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6724068261420743955/posts/default/515373100985113735'/><link rel='alternate' type='text/html' href='http://utsuutsu.blogspot.com/2009/03/blog-post_26.html' title='予定日間近'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6724068261420743955.post-1074167872858859727</id><published>2009-03-18T22:59:00.002+09:00</published><updated>2009-03-18T23:06:06.317+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="仮想化"/><category scheme="http://www.blogger.com/atom/ns#" term="日記"/><title type='text'>ミステイク！！</title><summary type="text">家のファイルサーバのOSを吹き飛ばしてしまった。。。

何とか重要なデータは守れたっぽいが、
果たしてどうだろう。。。

また、VMwareServerを入れなおしたりしないとダメかと思うと面倒だなぁ～

それよりも面倒なのが仮想OSとhomeディレクトリを共有にしておいたNFSの設定をやり直すのがちと面倒だな・・・

まあ、自業自得ということであきらめるか。。。

そういえば最近Fedora９のカーネルを最新にしたらVMwareServer1.0.xが動かなくなってしまい、
急きょ2.0にverupしたが、あまりにWebUIが使いにくいのでCentOS5.2にOSを変更したばかり。。。

何でこういったことは短い期間に連発するんだろうか

それもこれも自業自得だな。。。</summary><link rel='replies' type='application/atom+xml' href='http://utsuutsu.blogspot.com/feeds/1074167872858859727/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6724068261420743955/1074167872858859727?isPopup=true' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6724068261420743955/posts/default/1074167872858859727'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6724068261420743955/posts/default/1074167872858859727'/><link rel='alternate' type='text/html' href='http://utsuutsu.blogspot.com/2009/03/blog-post_18.html' title='ミステイク！！'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6724068261420743955.post-2096342923876792718</id><published>2009-03-12T21:10:00.002+09:00</published><updated>2009-03-12T21:20:39.334+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="仕事"/><category scheme="http://www.blogger.com/atom/ns#" term="日記"/><title type='text'>名ばかり管理職</title><summary type="text">ほんとにどうでもいい話だが、

/.JのフィードSEにも「名ばかり管理職」　認定を読んでて思った。
「逆残業代」なんて話題も上がっていたが、

そもそも、何を基準にその日一日の作業量を測れば良いんだ？？
元から怪しすぎる見積りでスタートしてるのに第三者的に作業量がわからん限り、
そういったことはできないだろうなぁ～

普段は自分の判断で一日の作業量を決めてやることやって、
さっさと帰るのがスタイルなんですが、
「逆残業代」って考えてがあれば、そんなことも考えなくていいのかなぁ～

っていうか、逆に帰れなくなりそう。。。</summary><link rel='replies' type='application/atom+xml' href='http://utsuutsu.blogspot.com/feeds/2096342923876792718/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6724068261420743955/2096342923876792718?isPopup=true' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6724068261420743955/posts/default/2096342923876792718'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6724068261420743955/posts/default/2096342923876792718'/><link rel='alternate' type='text/html' href='http://utsuutsu.blogspot.com/2009/03/blog-post.html' title='名ばかり管理職'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6724068261420743955.post-7532663653728614455</id><published>2009-03-09T20:42:00.005+09:00</published><updated>2010-11-25T22:28:20.646+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><category scheme="http://www.blogger.com/atom/ns#" term="仕事"/><category scheme="http://www.blogger.com/atom/ns#" term="日記"/><title type='text'>jUnitでSystem.exit(int)を無効にしてみる</title><summary type="text">unitテストを作ろうと思い、作って実行してみると途中で止まる。。。

「なんで？」

結局のところ、unitテストで実行しようとしたクラスにSystem.exit(int)があったのが原因だった。

それならば、System.exit(int)が効かなくなるおまじないはないかな？
と調べてみたら一応あった。

・テストクラス public class Target {

    public static void main(String[] args) {
      if (args != null) {
        System.exit(0);
      } else {
        System.exit(-1);
      }
    }
}
・テストケース import java.security.Permission;

import </summary><link rel='replies' type='application/atom+xml' href='http://utsuutsu.blogspot.com/feeds/7532663653728614455/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6724068261420743955/7532663653728614455?isPopup=true' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6724068261420743955/posts/default/7532663653728614455'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6724068261420743955/posts/default/7532663653728614455'/><link rel='alternate' type='text/html' href='http://utsuutsu.blogspot.com/2009/03/junitsystemexitint.html' title='jUnitでSystem.exit(int)を無効にしてみる'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6724068261420743955.post-5355711049601843608</id><published>2009-02-23T22:52:00.000+09:00</published><updated>2009-02-23T22:55:27.374+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Blogger"/><category scheme="http://www.blogger.com/atom/ns#" term="emacs"/><category scheme="http://www.blogger.com/atom/ns#" term="日記"/><title type='text'>g-client</title><summary type="text">まだまだ、emacsからbloggerへ投稿できないか？と悩んでいます。。。

g-clientってのを発見はしたんですが、
何やら文字コード周りでうまくいかないというようなのを斜め読みしてしまい、
ちょっと躊躇しています。

何かいいものないかなぁ～。。。</summary><link rel='replies' type='application/atom+xml' href='http://utsuutsu.blogspot.com/feeds/5355711049601843608/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6724068261420743955/5355711049601843608?isPopup=true' title='1 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6724068261420743955/posts/default/5355711049601843608'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6724068261420743955/posts/default/5355711049601843608'/><link rel='alternate' type='text/html' href='http://utsuutsu.blogspot.com/2009/02/g-client.html' title='g-client'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6724068261420743955.post-3304661938617111328</id><published>2009-02-22T19:01:00.002+09:00</published><updated>2009-02-22T19:07:04.709+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="日記"/><title type='text'>初めての確定申告</title><summary type="text">今日、確定申告に行ってきた。

意外とあっさり終わった。。。

もっと色んな突っ込みがあるんじゃないかと思っていたのに。。。

しかし、「広域申告センター」ってのは楽なもんだと実感

平日に行くしかないのかと思っていただけに非常に助かった。

ついでにアンケートにも「広域申告センターってどうよ？」的な質問があったが、
非常に助かったので続けてほしいと記入しておいた。

まぁ、何はともあれ無事に終わってよかった。。。
修正申告が発生しませんように。。。</summary><link rel='replies' type='application/atom+xml' href='http://utsuutsu.blogspot.com/feeds/3304661938617111328/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6724068261420743955/3304661938617111328?isPopup=true' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6724068261420743955/posts/default/3304661938617111328'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6724068261420743955/posts/default/3304661938617111328'/><link rel='alternate' type='text/html' href='http://utsuutsu.blogspot.com/2009/02/blog-post_22.html' title='初めての確定申告'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6724068261420743955.post-6776456444122692685</id><published>2009-02-12T23:41:00.004+09:00</published><updated>2010-11-25T23:29:31.823+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="日記"/><title type='text'>javaDBでコードセットUTF8</title><summary type="text">DB2と違ってUSING CODESETなんて使えるわけではなく、

そうすりゃいいんだ？と思いながらApache Derbyのサイト内検索でderby.ui.codesetというのを発見した。

しかし、このオプションってij起動時に与える拡張パラメータ -Dhogehoge系のパラメータとして準備してやれば良いらしい。

でもって試してみた。

CLASSPATH周りは省略して
java -cp $CLASSPATH -Dderby.ui.territory=ja_JP -Dderby.ui.codeset=UTF8 -Dij.protocol=jdbc:derby: org.apache.derby.tools.ijで呼び出せばいいみたい。。。

derby.ui.codesetでUTF8にしたらコンソールが文字化けするなんてのがネットに載っていたがそんなこともなくすんなり動いた。</summary><link rel='replies' type='application/atom+xml' href='http://utsuutsu.blogspot.com/feeds/6776456444122692685/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6724068261420743955/6776456444122692685?isPopup=true' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6724068261420743955/posts/default/6776456444122692685'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6724068261420743955/posts/default/6776456444122692685'/><link rel='alternate' type='text/html' href='http://utsuutsu.blogspot.com/2009/02/javadbutf8.html' title='javaDBでコードセットUTF8'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6724068261420743955.post-5299283962050172608</id><published>2009-02-12T00:18:00.002+09:00</published><updated>2009-02-12T00:29:58.064+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="日記"/><title type='text'>javaDBのメモ</title><summary type="text">DerbyではなくJavaDBです。

CentOS上でXサーバ無しで色々しようとしていたので
あくまで自分用のメモレベル

リモート端末上でコマンドラインだけでijを動かしてcreateするまで


DERBY_HOMEを設定する(場所は/opt/sun/javadb)
ijを起動(場所は$DERBY_HOME/bin/ij)
ij&amp;gt;connect &#39;jdbc:derby:~/test;create=true;&#39;;
ij&amp;gt;select current date from sysibm.sysdummy1;(DBができてるか確認)

ij上でDBを作るときにダブルクォートではシングルクォートを使わないと実行できない。

これでDBコネクションでのexecute arround methodなパターンの実験ができそうだ。</summary><link rel='replies' type='application/atom+xml' href='http://utsuutsu.blogspot.com/feeds/5299283962050172608/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6724068261420743955/5299283962050172608?isPopup=true' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6724068261420743955/posts/default/5299283962050172608'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6724068261420743955/posts/default/5299283962050172608'/><link rel='alternate' type='text/html' href='http://utsuutsu.blogspot.com/2009/02/javadb.html' title='javaDBのメモ'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6724068261420743955.post-5642791363840743825</id><published>2009-02-08T23:33:00.002+09:00</published><updated>2009-02-08T23:49:48.202+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Groovy"/><category scheme="http://www.blogger.com/atom/ns#" term="日記"/><title type='text'>groovyの正規表現</title><summary type="text">忘れないようにメモ

こっそり、勉強しているGroovyなんですが

いきなりハマりました。。。

正規表現のオペレータは
==~
間にスペースを入れてしまうと実行できない。。。

スクリプト言語なんですぐに実行できるですが、
何故か一致しない。。。
// これは動く
println &quot;potatoe&quot; ==~ /potatoe/
// 最初にこう書いてハマった。。。
println &quot;potatoe&quot; == ~ /potatoe/
正直、最初はなんで結果がfalseでかえってくるの？と思ってたんですが、
よくよく読んでみると==~でひとつのオペレータなんだそうだ。

hoge == ~ /hoge/
しかし、動いてしまうってのもちょっと怖いなぁ～
hoge == ~だけで評価されてんじゃないのかな？
そうなると残された
/hoge/
はどうなるんだ？？行方不明？？
しかし、その行方不明</summary><link rel='replies' type='application/atom+xml' href='http://utsuutsu.blogspot.com/feeds/5642791363840743825/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6724068261420743955/5642791363840743825?isPopup=true' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6724068261420743955/posts/default/5642791363840743825'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6724068261420743955/posts/default/5642791363840743825'/><link rel='alternate' type='text/html' href='http://utsuutsu.blogspot.com/2009/02/groovy.html' title='groovyの正規表現'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>