2012年6月25日月曜日

Windows開発かなり嫌になってきた

VS2010 VB で単体テストするのに VS の機能のテストプロジェクト
を使ってるんだけど、どうもテストプロジェクトからの実行が 32 bit
になってしまう。おかげで VB から呼んでいる PS が 32bit になって
しまう。

一日ハマった。結局「Solution Items」→ Local.testsettings →
「ホスト」→「32ビットプロセスまたは64ビットプロセスでテストを
実行」というところで 64ビットを選んだら直った。

やっぱこういう IDE に慣れていないのがいけないのかなぁ。。。
ほんと嫌な時代になったもんだよ。

2012年6月24日日曜日

ビビった

今日DBスペシャリストの合格証書が送られてきた。 忘れてたのでまじでビビった。

2012年6月18日月曜日

MSMQのエラー

すっかり Win プログラマに成り下がった今日このごろですが、MSMQ をいじっていたら
(Windows に MQ があるとは今の今まで知らんかった)、receive() で以下のエラーに遭遇。


  ターゲットの型配列が見つかりません。XML でフォーマットされたメッセージを逆シリアル化するためには、ターゲット型配列を設定しなければなりません。

Web には全然情報なし。 英語(English translation: Target type array is missing. The target
type array must be set in order to deserialize the XML-formatted message.)でググっても
有用な情報なし。# 絶対ビングらない。

当該の MessageQueue の Format プロパティに new した XMLMessageFormatter() を指定
する際、いくつかコンストラクタの overload があって、引数が targetTypeNames() as String
というのがあった。

この引数に {"System.String"}などという文字列配列を指定したらエラーがでなくなり、正常に
receive できるようになった。

ふぅ…

2012年6月15日金曜日

ldapmodify のエラー

ldap_modify: Other (e.g., implementation specific) error (80)

ldapのデータディレクトリ内に ldap.ldap でないファイルが存在していた

2012年6月13日水曜日

slapdが

gentoo で openldap 入れたのに slapd が無い。

package.use に以下追加で回避。

    net-nds/openldap -minimal

2012年6月12日火曜日

windowsのファイルコピペとか移動って

WindowsでフォルダやファイルをGUI でコピペや移動するときってオプション
指定できないんすかね?
シーンによって挙動が変わるみたいで耐えられん。正直 GUI イラネつーか
Windows イラネ。この世からなくなれ。

2012年4月30日月曜日

my gentoo に skype 入れようとしたら以下のエラー。

ryox61:/etc/portage$ sudo emerge skype

 * IMPORTANT: 7 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

Calculating dependencies... done!
[ebuild     U  ] app-emulation/emul-linux-x86-baselibs-20120127 [20110928]
[ebuild  N     ] app-emulation/emul-linux-x86-db-20120127  USE="-development"
[ebuild     U  ] app-emulation/emul-linux-x86-xlibs-20120127 [20110928]
[ebuild     U  ] app-emulation/emul-linux-x86-opengl-20120127 [20110928]
[ebuild     U  ] app-emulation/emul-linux-x86-medialibs-20120127 [20110928]
[ebuild     U  ] app-emulation/emul-linux-x86-soundlibs-20120127 [20110928]
[ebuild     U  ] app-emulation/emul-linux-x86-sdl-20120127 [20110928]
[ebuild  N     ] app-emulation/emul-linux-x86-qtlibs-20120127  USE="-development"
[ebuild  N    ~] net-im/skype-2.2.0.35-r1  USE="-pax_kernel -qt-static"

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

emul-linux-x86 関連を以下のように一つずつ update で回避。

for p in emul-linux-x86-{gtklibs,opengl,sdl,medialibs,soundlibs,xlibs,baselibs} ; do sudo emerge -u $p ; done
emerge skyepe