<?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: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-8554575692047858739</id><updated>2011-12-05T15:40:40.114+09:00</updated><category term='flash'/><category term='baseline profile'/><category term='pc'/><category term='アフィン変換'/><category term='live'/><category term='free'/><category term='boost'/><category term='SVG'/><category term='System.BadImageFormatException'/><category term='home'/><category term='Y軸'/><category term='ベジェ曲線'/><category term='copy'/><category term='mpg'/><category term='Mac OS X'/><category term='Borland Turbo C++'/><category term='mathutils'/><category term='ロコロコ'/><category term='書き換え'/><category term='x64'/><category term='64 bit'/><category term='profile_compatibility'/><category term='静的リンク'/><category term='ps3 media server'/><category term='ps3'/><category term='ベジエ曲線'/><category term='失敗'/><category term='CC'/><category term='メモ'/><category term='ポインタ'/><category term='ffmpeg'/><category term='Bezier'/><category term='flex'/><category term='rotate'/><category term='日本語版'/><category term='繰り返し模様'/><category term='UAC'/><category term='mp3'/><category term='aac'/><category term='winamp'/><category term='avcc'/><category term='vista'/><category term='時計'/><category term='out-lame'/><category term='Python'/><category term='flex builder 3'/><category term='バッチファイル'/><category term='h264'/><category term='フリーソフト'/><category term='SIXAXIS'/><category term='変更'/><category term='blender'/><category term='tag'/><category term='mp4'/><category term='mx:image'/><category term='link スタティック'/><category term='ムイムイ'/><category term='プロファイル'/><category term='plugin'/><category term='avi'/><category term='bat'/><category term='snes'/><category term='image'/><category term='mp4box'/><category term='互換プロファイル'/><category term='main profile'/><category term='罠'/><category term='vector'/><category term='driver'/><category term='linux'/><category term='quicktime'/><category term='バッチ処理'/><category term='.spc'/><category term='id3'/><category term='ロコリバーシ'/><category term='座標'/><category term='level'/><category term='usb'/><category term='.rsn'/><category term='io-data'/><category term='convert'/><category term='extended profile'/><category term='static'/><category term='mpeg4'/><category term='リンク'/><category term='レベル'/><category term='h.264'/><category term='エラー、強制終了'/><category term='回転行列'/><category term='新型PS3'/><category term='オープンソース'/><category term='C#'/><category term='flex builder 4'/><category term='rotation'/><category term='Borland C++ Builder 5'/><category term='超簡単'/><category term='matrix'/><category term='回転'/><category term='euler'/><category term='empia'/><category term='cloudapp'/><category term='EM28xx'/><category term='pms'/><category term='in_snes.dll'/><category term='HBT.exe'/><category term='GV-MVP/SZ'/><category term='profile'/><title type='text'>技術メモ</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://teraapi.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://teraapi.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>teraapi</name><uri>http://www.blogger.com/profile/03638774670842212217</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>61</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8554575692047858739.post-8710381495699429523</id><published>2011-10-20T22:14:00.009+09:00</published><updated>2011-10-20T23:23:46.605+09:00</updated><title type='text'>DD-WRTでアイドルタイムの自動切断</title><content type='html'>DD-WRT＋PPPoEは基本２４時間プロバイダから切断されることがないよう？&lt;br /&gt;それにエコーが５秒ごとにピカピカ点滅するのでなんだか気持ち悪い&lt;br /&gt;そこで無通信状態がしばらく続いたらプロバイダと切断するようにした&lt;br /&gt;&lt;br /&gt;用意するもの：&lt;br /&gt;・Linux(仮想マシンでOK)&lt;br /&gt;・gcc g++ binutils patch bzip2 flex bison make gettext unzip  zlib1g-dev libc6 subversion&lt;br /&gt;&lt;br /&gt;適当なフォルダに移動&lt;br /&gt;  mkdir firmware_mod_kit&lt;br /&gt;  cd firmware_mod_kit&lt;br /&gt;  svn checkout http://firmware-mod-kit.googlecode.com/svn/trunk/ firmware-mod-kit-read-only&lt;br /&gt;  cd firmware-mod-kit-read-only/trunk/&lt;br /&gt;&lt;br /&gt;whr-g300nv2-firmware-MULTI.binをDD-WRTのホームページからダウンロードして上記trunkフォルダに保存&lt;br /&gt;  sudo ./extract-ng.sh whr-g300nv2-firmware-MULTI.bin&lt;br /&gt;注意：sudoをつけていないと完成したフォームウェアの後半半分がFFで埋められる模様。書きこまれたルーターはごみ化。&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/-uwyce9IVk00/TqAiy7z1kVI/AAAAAAAAACE/sa8Yxftsjzg/s1600/services.so.png"&gt;&lt;img style="float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;width: 400px; height: 304px;" src="http://3.bp.blogspot.com/-uwyce9IVk00/TqAiy7z1kVI/AAAAAAAAACE/sa8Yxftsjzg/s400/services.so.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5665566589675999570" /&gt;&lt;/a&gt;&lt;br /&gt;  fmk/rootfs/lib/services.soをバイナリエディタで編集&lt;br /&gt;　・&lt;a href="http://svn.dd-wrt.com/browser/src/router/services/networking/network.c?rev=17518"&gt;network.c&lt;/a&gt;の3403行付近を探す&lt;br /&gt;　・intervalで検索してそれっぽいところを１箇所編集。2011/10の時点ではintervalで検索して最初に一致した部分だった&lt;br /&gt;　・idle, lcp-echo-interval, lcp-echo-failure以外があるとpppdがすぐ終了してしまうようなので空白0x20埋めする&lt;br /&gt;&lt;br /&gt;改変したservices.soを先ほどのフォルダに上書きする&lt;br /&gt;trunkフォルダに移動&lt;br /&gt;sudo ./build-ng.sh&lt;br /&gt;注意：sudoを忘れないように&lt;br /&gt;fmk/new-firmware.binをDD-WRTの更新ページから上書き&lt;br /&gt;&lt;br /&gt;・ここでルーターが１０分以上たっても起動しなくなった場合TFTPなどでファームウェアを復旧してください。&lt;a href="http://teraapi.blogspot.com/2011/10/whr-g301n-whr-g300n-v2tftp.html"&gt;記事がここにあります。&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;telnetでルーターに接続します&lt;br /&gt;　nvram set ppp_idletime=分（１０分の例：nvram set ppp_idletime=10）&lt;br /&gt;　nvram set ppp_demand=1&lt;br /&gt;　nvram commit&lt;br /&gt;　ルーターのPPPoEの設定をするところで設定ボタンを押す&lt;br /&gt;&lt;br /&gt;元に戻したい時は&lt;br /&gt;　nvram set ppp_demand=0&lt;br /&gt;　nvram commit&lt;br /&gt;　ルーターのPPPoEの設定をするところで設定ボタンを押す&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8554575692047858739-8710381495699429523?l=teraapi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://teraapi.blogspot.com/feeds/8710381495699429523/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8554575692047858739&amp;postID=8710381495699429523' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/8710381495699429523'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/8710381495699429523'/><link rel='alternate' type='text/html' href='http://teraapi.blogspot.com/2011/10/dd-wrt.html' title='DD-WRTでアイドルタイムの自動切断'/><author><name>teraapi</name><uri>http://www.blogger.com/profile/03638774670842212217</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-uwyce9IVk00/TqAiy7z1kVI/AAAAAAAAACE/sa8Yxftsjzg/s72-c/services.so.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8554575692047858739.post-5125071925540155846</id><published>2011-10-20T16:18:00.006+09:00</published><updated>2011-10-20T16:39:01.956+09:00</updated><title type='text'>WHR-G301N (WHR-G300N v2)のTFTP復活方法メモ</title><content type='html'>WHR-G301Nが電源緑ランプとDIAG赤ランプがずっと点滅した状態（２０秒ごとに全ランプが一瞬光る）でまったく動かないごみになってしまった。&lt;br /&gt;どうも２０秒ごとに永遠に再起動しているらしい。ファームウェアのいじリ方がまずかったようだ。&lt;br /&gt;ググッてTFTPで復活できたのでメモ&lt;br /&gt;&lt;br /&gt;1. コマンドラインを管理者権限で開く（UACが邪魔して&lt;a href="http://www29.atwiki.jp/ypcat/pages/22.html"&gt;http://www29.atwiki.jp/ypcat/pages/22.html&lt;/a&gt;になる）&lt;br /&gt;2. ルーターを直結&lt;br /&gt;3. コントロール パネル\ネットワークと共有センターで対象インターフェースのIPを固定（例：192.168.1.5など）&lt;br /&gt;4. netsh&lt;br /&gt;5. interface ipv4&lt;br /&gt;6. show interface (ルーターがつながっているインターフェースの名前を確認)&lt;br /&gt;7. set neighbors "５で確認したインターフェース名" ルーターに割り当てるIPアドレス ルーターのMACアドレス（本体裏面のシールのSSID）&lt;br /&gt; 例: set neighbors "ローカル エリア接続" 192.168.1.1 XX-XX-XX-XX-XX-XX&lt;br /&gt;8. exit&lt;br /&gt;9. バッファローから公式ファームウェアをダウンロード&lt;br /&gt;10. ダウンロードしたファームウェア解凍、コマンドラインのカレントフォルダにコピー&lt;br /&gt;11. tftp -i 192.168.1.1(ルーターのIP) put whrg301n-182 (ここでいきなりDD-WRT"whr-g300nv2-firmware-MULTI.bin"は失敗する、webflash版ならいけたのかもしれない)&lt;br /&gt;12. 転送を正常に完了しました: 12 秒間に 3678236 バイト、306519 バイト/秒　などと表示される。表示されなければもう一度１１&lt;br /&gt;13. 成功ならば書き込みが始まって赤ランプがピカピカ点滅する。ファームウェアが不正なもの(DD-WRT)などの場合は赤ランプが点きっぱなしで２０秒ごとに再起動する初期状態に戻る&lt;br /&gt;14. 書き込みと再起動が終わるまで１５分ほど放置&lt;br /&gt;15. 公式に戻っているのであとはお好きなように&lt;br /&gt;&lt;br /&gt;追記：後始末もしたほうがいいかも。arp -d ルーターのip、インターフェースの固定ip解除など&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8554575692047858739-5125071925540155846?l=teraapi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://teraapi.blogspot.com/feeds/5125071925540155846/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8554575692047858739&amp;postID=5125071925540155846' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/5125071925540155846'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/5125071925540155846'/><link rel='alternate' type='text/html' href='http://teraapi.blogspot.com/2011/10/whr-g301n-whr-g300n-v2tftp.html' title='WHR-G301N (WHR-G300N v2)のTFTP復活方法メモ'/><author><name>teraapi</name><uri>http://www.blogger.com/profile/03638774670842212217</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8554575692047858739.post-5245037052635136893</id><published>2011-10-09T20:37:00.002+09:00</published><updated>2011-10-09T20:41:01.752+09:00</updated><title type='text'>HDDを蹴り飛ばした</title><content type='html'>風邪でフラフラしていてHDDガリガリアクセスしているPCを２０cmほど横方向へ本体ごと蹴り飛ばした。&lt;br /&gt;CrystalDiskInfoでSMARTを見る限りは今のところ異常無し&lt;br /&gt;日付をメモ&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8554575692047858739-5245037052635136893?l=teraapi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://teraapi.blogspot.com/feeds/5245037052635136893/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8554575692047858739&amp;postID=5245037052635136893' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/5245037052635136893'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/5245037052635136893'/><link rel='alternate' type='text/html' href='http://teraapi.blogspot.com/2011/10/hdd.html' title='HDDを蹴り飛ばした'/><author><name>teraapi</name><uri>http://www.blogger.com/profile/03638774670842212217</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8554575692047858739.post-3856117501273097954</id><published>2011-10-03T15:37:00.003+09:00</published><updated>2011-10-03T15:42:26.954+09:00</updated><title type='text'>SQLITE_STATIC、SQLITE_TRANSIENT</title><content type='html'>sqlite3_bind_textやsqlite3_bind_blobの最後の引数でSQLITE_STATIC、SQLITE_TRANSIENTを指定する必要がありますがこれは必ずSQLITE_TRANSIENTを指定するべきです。&lt;br /&gt;SQLITE_STATICを指定してあると、ポインタだけsqliteでコピー保持しておいて後で値を読み込みます。よって思わぬバグの原因になるので必ずSQLITE_TRANSIENTを指定することをおすすめします。&lt;br /&gt;SQLITE_TRANSIENTが指定してあると、すぐにmemcpyが行われるので安心です。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8554575692047858739-3856117501273097954?l=teraapi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://teraapi.blogspot.com/feeds/3856117501273097954/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8554575692047858739&amp;postID=3856117501273097954' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/3856117501273097954'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/3856117501273097954'/><link rel='alternate' type='text/html' href='http://teraapi.blogspot.com/2011/10/sqlitestaticsqlitetransient.html' title='SQLITE_STATIC、SQLITE_TRANSIENT'/><author><name>teraapi</name><uri>http://www.blogger.com/profile/03638774670842212217</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8554575692047858739.post-3536390460289654228</id><published>2011-07-21T17:32:00.007+09:00</published><updated>2011-11-16T15:11:43.274+09:00</updated><title type='text'>Mac Lionアップデート後のXCodeのインストールのハマリ所</title><content type='html'>注意：lionが出た当時の古い情報です。&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;mac lionにアップデートしたらXCode4が使えなくなりました。Xcode4アップデートにすごくハマったのでメモ&lt;br /&gt;&lt;br /&gt;Mac App Storeからインストールすると"Install XCode"というアプリができます。&lt;br /&gt;ここからがポイント&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;span style="font-style:italic;color:#FF0000"&gt;起動後（スリープ前も含む）に一度でもiTunesを起動していたら、Macごと再起動する事！&lt;br /&gt;&lt;br /&gt;分からない場合は必ずMacを再起動する事！&lt;br /&gt;&lt;br /&gt;他のアプリは起動しない&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;これをしないと途中でinstallation alertが出ます。これには終了ボタンなどはありません。&lt;br /&gt;iTunesを終了しても進みません。これはiTunes Helperプロセスが動いているためです。&lt;br /&gt;&lt;br /&gt;これを脱出するには、アクティビリティモニタ、killなどで"iTunes Helper"を終了する方法と、"AlertAll"を終了する方法の２種類があります。が、どちらも結局失敗します。&lt;br /&gt;iTunes Helperを強制終了した場合はインストールが残り２％くらいの状態で永遠に終わりません。&lt;br /&gt;AlertAllを強制終了した場合はXcodeの起動時にコンポーネントが読み込めないというinternal errorが出ます。&lt;br /&gt;結局３度インストールしました…はぁ&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2011/8/5追記：今日のアップデート内容見ると99%で止まるバグは直ったのかも？&lt;br /&gt;　　　未確認&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8554575692047858739-3536390460289654228?l=teraapi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://teraapi.blogspot.com/feeds/3536390460289654228/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8554575692047858739&amp;postID=3536390460289654228' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/3536390460289654228'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/3536390460289654228'/><link rel='alternate' type='text/html' href='http://teraapi.blogspot.com/2011/07/mac-lionxcode.html' title='Mac Lionアップデート後のXCodeのインストールのハマリ所'/><author><name>teraapi</name><uri>http://www.blogger.com/profile/03638774670842212217</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8554575692047858739.post-1465836218938106598</id><published>2011-05-21T23:39:00.001+09:00</published><updated>2011-05-21T23:43:11.999+09:00</updated><title type='text'>Macの画面共有でコピーペーストする方法</title><content type='html'>Alt-C、Alt-Vでできる&lt;br /&gt;Ctrlじゃない&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8554575692047858739-1465836218938106598?l=teraapi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://teraapi.blogspot.com/feeds/1465836218938106598/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8554575692047858739&amp;postID=1465836218938106598' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/1465836218938106598'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/1465836218938106598'/><link rel='alternate' type='text/html' href='http://teraapi.blogspot.com/2011/05/mac_21.html' title='Macの画面共有でコピーペーストする方法'/><author><name>teraapi</name><uri>http://www.blogger.com/profile/03638774670842212217</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8554575692047858739.post-6967502336062107522</id><published>2011-05-21T23:17:00.010+09:00</published><updated>2011-11-18T16:01:18.126+09:00</updated><title type='text'>UltraVNC(Windows)からMacの画面共有した場合打てないキーがある(=と'</title><content type='html'>更新履歴：&lt;br /&gt;・2011/11/17 1.0.9.6.1へアップデート&lt;br /&gt;&lt;br /&gt;UltraVNCだけではなくRealVNCなどでも=や'が打てないので適当に直しました。&lt;br /&gt;たぶん普通の106キーボードじゃないと動かないです。&lt;br /&gt;&lt;br /&gt;パッチ内容：&lt;br /&gt;・WindowsからMacを操作するのを前提に作られている&lt;br /&gt;・=や'が打てる&lt;br /&gt;・HomeキーはCommand+←、EndキーはCommand+→に変換。Windowsのような動作になります&lt;br /&gt;・Lionでログイン途中にフリーズすることがあるのはMacの仕様です。他のVNCクライアントでも起こります。解決方法は不明。&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;インストール方法：&lt;br /&gt;&lt;a href="http://www.uvnc.com/downloads/ultravnc.html"&gt;公式から1.0.9.6.1からインストーラーをダウンロード&lt;/a&gt;＆インストール。&lt;br /&gt;適当なフォルダに下記パッチを解凍、実行。&lt;br /&gt;OptionsのJapanese keyboardのチェックを必ずいれてください。チェック入れないと=や'は打ち込めません。&lt;br /&gt;設定をデフォルトにしておくと毎回起動時に設定しなくてもよくなります。&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://teraapi.com/uvnc/uvnc-macpatch20111117.zip"&gt;ダウンロード(SHA1:CCF151E0F4270842A223B4B7D1B3C13A86744254)&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;---以下自分用の技術的なメモ&lt;br /&gt;クライアントの方から0x3d(=)(0x3bだったかな？）を送ってもShiftキーが押したままだとなぜか'+'になってしまう。バグ？&lt;br /&gt;代わりに'-'キーを送ってみたりしたりキーコードを調べたりしたのだがうまくいかない&lt;br /&gt;ただShiftを押していない状態ならば0x3dを送ればそのまま入力されます（なぜ？）&lt;br /&gt;しょうがないので超高速でShiftキーを一旦離して、0x3d(=)を送り、再度Shiftキーを押したことにしました&lt;br /&gt;そのためShift+'-'キーといったショートカットは動きません&lt;br /&gt;'''も同じ要領で回避して打ち込めるように修正しました。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8554575692047858739-6967502336062107522?l=teraapi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://teraapi.blogspot.com/feeds/6967502336062107522/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8554575692047858739&amp;postID=6967502336062107522' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/6967502336062107522'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/6967502336062107522'/><link rel='alternate' type='text/html' href='http://teraapi.blogspot.com/2011/05/ultravncwindowsmac.html' title='UltraVNC(Windows)からMacの画面共有した場合打てないキーがある(=と&apos;'/><author><name>teraapi</name><uri>http://www.blogger.com/profile/03638774670842212217</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8554575692047858739.post-3896937722207664831</id><published>2011-05-19T22:45:00.002+09:00</published><updated>2011-05-19T22:48:21.351+09:00</updated><title type='text'>iPadの接続がプチプチ切れる</title><content type='html'>iPhone4のアンテナ問題のときにWIFIがプチプチ切れる病が治ったのだが最近また再発している。&lt;br /&gt;一度完璧に治ったので（半年くらい）最近のフォームウェアが腐っているのではないのだろうか？&lt;br /&gt;イライラ&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8554575692047858739-3896937722207664831?l=teraapi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://teraapi.blogspot.com/feeds/3896937722207664831/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8554575692047858739&amp;postID=3896937722207664831' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/3896937722207664831'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/3896937722207664831'/><link rel='alternate' type='text/html' href='http://teraapi.blogspot.com/2011/05/ipad.html' title='iPadの接続がプチプチ切れる'/><author><name>teraapi</name><uri>http://www.blogger.com/profile/03638774670842212217</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8554575692047858739.post-3866835345624170970</id><published>2011-05-19T22:40:00.002+09:00</published><updated>2011-05-19T22:44:58.681+09:00</updated><title type='text'>Macのインターネット共有が動かない</title><content type='html'>Macbookのインターネット共有に3DSを接続しようとしたら接続できない&lt;br /&gt;２ステップの半分までしか接続できず、003-2001と表示され接続できない&lt;br /&gt;いろいろ試した結果、"DNSを自動取得しないに設定"、適当なDNSのアドレス（ルーターやGoogle DNSとか）に設定で接続できました&lt;br /&gt;&lt;br /&gt;よく分からない人はDNSを自動取得しないに設定、詳細設定のプライマリDNSに8.8.8.8と入力すると接続できるかも？&lt;br /&gt;&lt;br /&gt;iPadは普通に接続できているのが謎&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8554575692047858739-3866835345624170970?l=teraapi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://teraapi.blogspot.com/feeds/3866835345624170970/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8554575692047858739&amp;postID=3866835345624170970' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/3866835345624170970'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/3866835345624170970'/><link rel='alternate' type='text/html' href='http://teraapi.blogspot.com/2011/05/mac.html' title='Macのインターネット共有が動かない'/><author><name>teraapi</name><uri>http://www.blogger.com/profile/03638774670842212217</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8554575692047858739.post-3936934399577911672</id><published>2011-05-01T04:10:00.003+09:00</published><updated>2011-05-01T04:22:09.756+09:00</updated><title type='text'>XCode 4でMacOSX 10.5向けのコンパイルをする方法（再インストール無し）</title><content type='html'>XCode4から10.5のサポートが無くなってしまいました。&lt;br /&gt;/Developer/SDKsにXcode3をインストールしたPCから/Deeloper/SDKs/MacOSX10.5.sdkをコピーしてくればいいらしいんですが再ダウンロードx2(10GB!?)、再インストールx2がだるい、やる気がまったくしない&lt;br /&gt;&lt;br /&gt;そこでSnowLeopardのDVDからxarで解凍しようとさまよっていたら発見しました！&lt;br /&gt;&lt;br /&gt;やり方：&lt;br /&gt;-SnowLeopardのDVDをいれる&lt;br /&gt;-Finderをぽちっと押す&lt;br /&gt;-メニューの"移動"、"フォルダへ移動"&lt;br /&gt;-"/Volumes/Mac OS X Install DVD/Optional Installs.localized/Packages"に移動&lt;br /&gt;-"MacOSX10.5.pkgをダブルクリック&lt;br /&gt;-ユーザーフォルダの適当に作ったフォルダにインストール　←重要（普通の場所へはインストールできません、インストーラーがすぐ終了します。ちなみに正常だと10分ほどかかります）&lt;br /&gt;-コマンドラインでインストール場所へ移動&lt;br /&gt;-sudo mv MacOSX10.5.sdk  /Developer/SDKs&lt;br /&gt;&lt;br /&gt;これで10.5でもコンパイルできるようになります&lt;br /&gt;10.4向けは面倒そうだったので省きました。gcc4.0をいれたりしないといけないみたい？&lt;a href="http://stackoverflow.com/questions/5333490/how-can-we-restore-ppc-ppc64-as-well-as-full-10-4-10-5-sdk-support-to-xcode-4"&gt;一応参考リンクをメモしておこう。&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8554575692047858739-3936934399577911672?l=teraapi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://teraapi.blogspot.com/feeds/3936934399577911672/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8554575692047858739&amp;postID=3936934399577911672' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/3936934399577911672'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/3936934399577911672'/><link rel='alternate' type='text/html' href='http://teraapi.blogspot.com/2011/05/xcode-4macosx-105.html' title='XCode 4でMacOSX 10.5向けのコンパイルをする方法（再インストール無し）'/><author><name>teraapi</name><uri>http://www.blogger.com/profile/03638774670842212217</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8554575692047858739.post-1598590444545821448</id><published>2011-04-17T16:52:00.002+09:00</published><updated>2011-04-17T16:56:12.952+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='flex builder 4'/><title type='text'>Flash Builder4のSWZはアップロードするべきか？</title><content type='html'>Flash BuilderでTLF ActionScript ライブラリ（ランタイム共有ライブラリまたは RSL とも呼ばれる）を使用する設定の場合、bin-releaseにSWZが大量に作られる&lt;br /&gt;SWZは署名済みSWF&lt;br /&gt;これはアップロードしてもしなくても構わない（？）&lt;br /&gt;ただアドビのURLが変わったりするかもしれないので一応アップロードしておいたほうが良いのだろうか&lt;br /&gt;&lt;br /&gt;共通ランタイムのロード順：&lt;br /&gt;1. ローカルのキャッシュにあればロード&lt;br /&gt;2. アドビからダウンロード&lt;br /&gt;3. SWFと同じサーバー、同じディレクトリから探す&lt;br /&gt;4. それでも見つからなければ失敗&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8554575692047858739-1598590444545821448?l=teraapi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://teraapi.blogspot.com/feeds/1598590444545821448/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8554575692047858739&amp;postID=1598590444545821448' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/1598590444545821448'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/1598590444545821448'/><link rel='alternate' type='text/html' href='http://teraapi.blogspot.com/2011/04/flash-builder4swz.html' title='Flash Builder4のSWZはアップロードするべきか？'/><author><name>teraapi</name><uri>http://www.blogger.com/profile/03638774670842212217</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8554575692047858739.post-5200129596210230968</id><published>2011-04-02T02:14:00.006+09:00</published><updated>2011-04-02T02:24:14.809+09:00</updated><title type='text'>クラブサンデーをFirefox4で見る方法</title><content type='html'>&lt;a href="http://club.shogakukan.co.jp/kod/sunday_special.html"&gt;クラブサンデー&lt;/a&gt;で漫画が無料公開されているみたいです&lt;br /&gt;ただFirefox4では表示できず、非対応ブラウザとのこと。動作環境を見たらFirefox2以上と書いてある・・・&lt;br /&gt;&lt;br /&gt;しょうがないのでGreaseMonkeyのスクリプト書きました&lt;br /&gt;&lt;a href=" http://userscripts.org/scripts/show/100372"&gt;&lt;br /&gt;http://userscripts.org/scripts/show/100372&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;インストールすればFirefox4でも表示されます&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8554575692047858739-5200129596210230968?l=teraapi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://teraapi.blogspot.com/feeds/5200129596210230968/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8554575692047858739&amp;postID=5200129596210230968' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/5200129596210230968'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/5200129596210230968'/><link rel='alternate' type='text/html' href='http://teraapi.blogspot.com/2011/04/firefox4.html' title='クラブサンデーをFirefox4で見る方法'/><author><name>teraapi</name><uri>http://www.blogger.com/profile/03638774670842212217</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8554575692047858739.post-4545321236142276897</id><published>2011-04-02T02:12:00.001+09:00</published><updated>2011-04-02T02:14:31.970+09:00</updated><title type='text'>GreaceMonkeyでのJavascript書き換え</title><content type='html'>unsafeWindow使って書き換えるっぽい？&lt;br /&gt;ググってもほとんど情報が無い&lt;br /&gt;&lt;br /&gt;unsafeWindow.valName = "test";&lt;br /&gt;unsafeWindow.func1 = function() {return true;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8554575692047858739-4545321236142276897?l=teraapi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://teraapi.blogspot.com/feeds/4545321236142276897/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8554575692047858739&amp;postID=4545321236142276897' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/4545321236142276897'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/4545321236142276897'/><link rel='alternate' type='text/html' href='http://teraapi.blogspot.com/2011/04/greacemonkeyjavascript.html' title='GreaceMonkeyでのJavascript書き換え'/><author><name>teraapi</name><uri>http://www.blogger.com/profile/03638774670842212217</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8554575692047858739.post-9159211495527570343</id><published>2010-10-15T18:14:00.001+09:00</published><updated>2010-10-15T18:17:46.476+09:00</updated><title type='text'>Xcodeでスタティックリンクができない</title><content type='html'>libxml2.aなど静的ライブラリをプロジェクトに追加しているのにシステムの/usr/lib/libxml2.dylibにリンクされてしまう場合&lt;br /&gt;&lt;br /&gt;”他のリンカフラグ”に"-Wl,-search_paths_first"を追加する&lt;br /&gt;&lt;br /&gt;&lt;a href="http://developer.apple.com/library/mac/#qa/qa2006/qa1393.html"&gt;Technical Q&amp;A QA1393&lt;br /&gt;Using static versions of existing dynamic libraries&lt;br /&gt;http://developer.apple.com/library/mac/#qa/qa2006/qa1393.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8554575692047858739-9159211495527570343?l=teraapi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://teraapi.blogspot.com/feeds/9159211495527570343/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8554575692047858739&amp;postID=9159211495527570343' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/9159211495527570343'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/9159211495527570343'/><link rel='alternate' type='text/html' href='http://teraapi.blogspot.com/2010/10/xcode.html' title='Xcodeでスタティックリンクができない'/><author><name>teraapi</name><uri>http://www.blogger.com/profile/03638774670842212217</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8554575692047858739.post-4949052446802639966</id><published>2010-10-09T21:34:00.005+09:00</published><updated>2010-10-09T21:48:51.859+09:00</updated><title type='text'>boostをSnow leopardでコンパイルする</title><content type='html'>10.6でコンパイルすると標準で64ビット、10.6以降でしか動かないバイナリができるらしい？&lt;br /&gt;boostをコンパイルするときに詰まったのでメモ&lt;br /&gt;情報元は&lt;a href="http://lists.boost.org/boost-build/2010/02/23107.php"&gt;ここ&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;これでコンパイルするとi386, x86_64(64ビットバイナリ), ppc, ppc64ができる&lt;br /&gt;-with-pythonなのでboost.pythonだけコンパイルされる&lt;br /&gt;&lt;br /&gt;bjam architecture=combined address-model=32_64 macosx-version=10.5 macosx-version-min=10.5 link=shared,static --toolset=darwin --with-python&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;ほかにruntime-link=static,sharedなんてオプションがあるみたいだけどよく分からない&lt;/span&gt;&lt;br /&gt;vcランタイムを静的リンクするかどうかのオプションらしい、Macだとlibcとか?&lt;br /&gt;特に指定しなくてもよさそう&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8554575692047858739-4949052446802639966?l=teraapi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://teraapi.blogspot.com/feeds/4949052446802639966/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8554575692047858739&amp;postID=4949052446802639966' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/4949052446802639966'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/4949052446802639966'/><link rel='alternate' type='text/html' href='http://teraapi.blogspot.com/2010/10/boostsnow-leopard.html' title='boostをSnow leopardでコンパイルする'/><author><name>teraapi</name><uri>http://www.blogger.com/profile/03638774670842212217</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8554575692047858739.post-2507545308469741198</id><published>2010-06-19T07:49:00.001+09:00</published><updated>2010-06-19T08:04:06.590+09:00</updated><title type='text'>Ogre Basic TutorialをPDF化</title><content type='html'>サーバー更新がトラブってしばらく更新できませんでした。&lt;br /&gt;今日はスペシャル更新デー&lt;br /&gt;&lt;br /&gt;Ogre WikiのBasic TutorialをPDF化&lt;br /&gt;iPadのCloud Readerなどで読むのがオススメ&lt;br /&gt;URLは動作しないようなのでiBooks 1.1を待ちましょう&lt;br /&gt;&lt;br /&gt;&lt;a href="http://docs.google.com/fileview?id=0B6M205a9fcMuMmNmMTYyZTctNzU1Ni00ZjI1LWEzYzUtYjMzOTE1ZWY1ZjFh&amp;hl=en_US"&gt;&lt;br /&gt;http://docs.google.com/fileview?id=0B6M205a9fcMuMmNmMTYyZTctNzU1Ni00ZjI1LWEzYzUtYjMzOTE1ZWY1ZjFh&amp;hl=en_US&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8554575692047858739-2507545308469741198?l=teraapi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://teraapi.blogspot.com/feeds/2507545308469741198/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8554575692047858739&amp;postID=2507545308469741198' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/2507545308469741198'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/2507545308469741198'/><link rel='alternate' type='text/html' href='http://teraapi.blogspot.com/2010/06/ogre-basic-tutorialpdf.html' title='Ogre Basic TutorialをPDF化'/><author><name>teraapi</name><uri>http://www.blogger.com/profile/03638774670842212217</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8554575692047858739.post-7108316139250616648</id><published>2010-06-19T07:42:00.002+09:00</published><updated>2010-06-19T07:48:28.915+09:00</updated><title type='text'>listexportの改良パッチ</title><content type='html'>// -------------------------------------------------------------------&lt;br /&gt;// listexport.cpp&lt;br /&gt;// compiler: VisualC++.NET&lt;br /&gt;// 2005/01/15 written by Kenji Aiko (http://ruffnex.oc.to/kenji/)&lt;br /&gt;// special thanks: http://www.chiyoclone.net/&lt;br /&gt;// -------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;の改良パッチ&lt;br /&gt;無名関数がある場合バイパスされないAPIが出る問題と序数を元DLLに合わせるように出力するように改良&lt;br /&gt;&lt;br /&gt;&lt;a href="http://code.google.com/p/user32hooking/source/browse/trunk/listexport.patch"&gt;http://code.google.com/p/user32hooking/source/browse/trunk/listexport.patch&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;元のソースは現在サイトが閉鎖されているようで入手できません。&lt;br /&gt;Web Archiveなどから&lt;a href="http://web.archive.org/web/20080402082919/ruffnex.oc.to/kenji/text/listexport/"&gt;どうぞ&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8554575692047858739-7108316139250616648?l=teraapi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://teraapi.blogspot.com/feeds/7108316139250616648/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8554575692047858739&amp;postID=7108316139250616648' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/7108316139250616648'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/7108316139250616648'/><link rel='alternate' type='text/html' href='http://teraapi.blogspot.com/2010/06/listexport.html' title='listexportの改良パッチ'/><author><name>teraapi</name><uri>http://www.blogger.com/profile/03638774670842212217</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8554575692047858739.post-5251889305159954864</id><published>2010-06-19T07:14:00.006+09:00</published><updated>2010-06-19T07:23:56.347+09:00</updated><title type='text'>User32.dllのHooking DLL (Proxy DLL?)</title><content type='html'>Windows7のマルチタッチ関連のAPIを使っているとVistaで動きません。&lt;br /&gt;Vistaで動かそうとすると、"It can't find GetGestureInfo in USER32.dll"などとダイヤログがでます。&lt;br /&gt;日本語だと"User32.dllにGetGestureInfoが見つかりませんでした。"みたいなメッセージです。&lt;br /&gt;&lt;br /&gt;そこでマルチタッチ関連のAPI(GetGestureInfo, GetGestureConfig, SetGestureConfig, CloseGestureInfoHandle)を潰すDLLを作りました。&lt;br /&gt;&lt;a href="http://code.google.com/p/user32hooking/"&gt;DLL &amp; Source-code&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;使い方：&lt;br /&gt;CFF explorerなどで該当APIを使うexeかdllを調べ、USER32.dll-&gt;ASER32.dllに書き換えてください。&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_Lj2tsQEbPRY/TBvxiEJ_FcI/AAAAAAAAABo/GSMf3yDgUKs/s1600/aser32.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 379px;" src="http://1.bp.blogspot.com/_Lj2tsQEbPRY/TBvxiEJ_FcI/AAAAAAAAABo/GSMf3yDgUKs/s400/aser32.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5484242538787182018" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8554575692047858739-5251889305159954864?l=teraapi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://teraapi.blogspot.com/feeds/5251889305159954864/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8554575692047858739&amp;postID=5251889305159954864' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/5251889305159954864'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/5251889305159954864'/><link rel='alternate' type='text/html' href='http://teraapi.blogspot.com/2010/06/user32dllhooking-dll-proxy-dll.html' title='User32.dllのHooking DLL (Proxy DLL?)'/><author><name>teraapi</name><uri>http://www.blogger.com/profile/03638774670842212217</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_Lj2tsQEbPRY/TBvxiEJ_FcI/AAAAAAAAABo/GSMf3yDgUKs/s72-c/aser32.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8554575692047858739.post-374398430120816282</id><published>2010-06-18T20:18:00.001+09:00</published><updated>2010-06-18T20:19:36.019+09:00</updated><title type='text'>DreamhostのAuto renewalはオフに</title><content type='html'>自動更新前に確認メールは一切こない&lt;br /&gt;更新してからメールが来る&lt;br /&gt;必ずオフに&lt;br /&gt;&lt;br /&gt;教訓：サーバーの自動更新は必ずオフに&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8554575692047858739-374398430120816282?l=teraapi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://teraapi.blogspot.com/feeds/374398430120816282/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8554575692047858739&amp;postID=374398430120816282' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/374398430120816282'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/374398430120816282'/><link rel='alternate' type='text/html' href='http://teraapi.blogspot.com/2010/06/dreamhostauto-renewal.html' title='DreamhostのAuto renewalはオフに'/><author><name>teraapi</name><uri>http://www.blogger.com/profile/03638774670842212217</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8554575692047858739.post-4495471919639771714</id><published>2010-06-10T06:56:00.002+09:00</published><updated>2010-06-10T07:01:34.078+09:00</updated><title type='text'>ドメインレジストラ</title><content type='html'>teraapi.comの更新するのに安いレジストラを探しました。&lt;br /&gt;だいたい950円か$9.5か$7.5の３パターン&lt;br /&gt;$7.5コースは住所電話番号本名その他隠したい場合は$5別に払ってねという感じ。&lt;br /&gt;&lt;br /&gt;探して一番安いかったのはFC2ドメインの798円/年だった。&lt;br /&gt;150円だけど…&lt;br /&gt;&lt;br /&gt;FC2IDでクレカの認証コードが生で見られるのがちょっと怖い&lt;br /&gt;あれってクレジットカード会社的にOKなのか？？&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8554575692047858739-4495471919639771714?l=teraapi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://teraapi.blogspot.com/feeds/4495471919639771714/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8554575692047858739&amp;postID=4495471919639771714' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/4495471919639771714'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/4495471919639771714'/><link rel='alternate' type='text/html' href='http://teraapi.blogspot.com/2010/06/blog-post.html' title='ドメインレジストラ'/><author><name>teraapi</name><uri>http://www.blogger.com/profile/03638774670842212217</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8554575692047858739.post-1812454034775762445</id><published>2010-06-10T06:44:00.003+09:00</published><updated>2010-06-10T06:54:38.699+09:00</updated><title type='text'>webhostingpad</title><content type='html'>他社からドメインを移管しようと思ったら年15ドル掛かるらしい。&lt;br /&gt;Free Domainはどういう意味だと聞いたら$25 offクーポンを使ったから無くなったらしい（心の声：聞いてないよ！）&lt;br /&gt;４年契約だから$15*4年分=$60が$25と引き換えに無くなったのか？それとも元々Free Domainは１年分だけ無料という意味だったのだろうか？&lt;br /&gt;まあ安いから我慢するけど…&lt;br /&gt;&lt;br /&gt;トップページの&lt;br /&gt;And No HIDDEN Fees!!&lt;br /&gt;もサインアップ支払い後に有料オプションがズラズラと出てくるのはちょっとどうなんですか？&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8554575692047858739-1812454034775762445?l=teraapi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://teraapi.blogspot.com/feeds/1812454034775762445/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8554575692047858739&amp;postID=1812454034775762445' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/1812454034775762445'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/1812454034775762445'/><link rel='alternate' type='text/html' href='http://teraapi.blogspot.com/2010/06/webhostingpad.html' title='webhostingpad'/><author><name>teraapi</name><uri>http://www.blogger.com/profile/03638774670842212217</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8554575692047858739.post-4537741964121838205</id><published>2010-05-02T04:44:00.002+09:00</published><updated>2010-05-02T04:46:52.778+09:00</updated><title type='text'>Picasaアップローダスクリプト(Python)</title><content type='html'>どっちもWindows Python2.6ではUnicodeDecodeErrorで動かない&lt;br /&gt;&lt;br /&gt;album_name = opts.album.decode('cp932')&lt;br /&gt;target_dirs = opts.directory.decode('cp932')&lt;br /&gt;みたいな感じで修正&lt;br /&gt;日本語ファイル名だとその辺も(UnicodeDecodeError）でるかも&lt;br /&gt;&lt;br /&gt;http://github.com/ac1965/config-ac1965/blob/master/script/picasaweb.py&lt;br /&gt;http://mglab.blogspot.com/2008/12/picasapython.html&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8554575692047858739-4537741964121838205?l=teraapi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://teraapi.blogspot.com/feeds/4537741964121838205/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8554575692047858739&amp;postID=4537741964121838205' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/4537741964121838205'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/4537741964121838205'/><link rel='alternate' type='text/html' href='http://teraapi.blogspot.com/2010/05/picasapython.html' title='Picasaアップローダスクリプト(Python)'/><author><name>teraapi</name><uri>http://www.blogger.com/profile/03638774670842212217</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8554575692047858739.post-1293014318047292661</id><published>2010-05-02T04:41:00.002+09:00</published><updated>2010-05-02T04:43:54.322+09:00</updated><title type='text'>UnicodeDecodeError: 'utf8' codec can't decode byte 0x82 in position 0: unexpected code byte</title><content type='html'>UnicodeDecodeError: 'utf8' codec can't decode byte 0x82 in position 0: unexpected code byte&lt;br /&gt;&lt;br /&gt;入力文字列に&lt;br /&gt;.decode('cp932')&lt;br /&gt;をつける&lt;br /&gt;&lt;br /&gt;argv[2].decode('cp932')&lt;br /&gt;album_name = opts.album.decode('cp932')&lt;br /&gt;target_dirs = opts.directory.decode('cp932')&lt;br /&gt;&lt;br /&gt;情報元：&lt;a href="http://code.nanigac.com/forum/view/533"&gt;http://code.nanigac.com/forum/view/533&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8554575692047858739-1293014318047292661?l=teraapi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://teraapi.blogspot.com/feeds/1293014318047292661/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8554575692047858739&amp;postID=1293014318047292661' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/1293014318047292661'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/1293014318047292661'/><link rel='alternate' type='text/html' href='http://teraapi.blogspot.com/2010/05/unicodedecodeerror-utf8-codec-cant.html' title='UnicodeDecodeError: &apos;utf8&apos; codec can&apos;t decode byte 0x82 in position 0: unexpected code byte'/><author><name>teraapi</name><uri>http://www.blogger.com/profile/03638774670842212217</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8554575692047858739.post-3961910406176086470</id><published>2009-11-23T20:14:00.004+09:00</published><updated>2009-12-11T20:52:51.993+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ps3'/><category scheme='http://www.blogger.com/atom/ns#' term='ロコロコ'/><category scheme='http://www.blogger.com/atom/ns#' term='ムイムイ'/><category scheme='http://www.blogger.com/atom/ns#' term='ロコリバーシ'/><category scheme='http://www.blogger.com/atom/ns#' term='home'/><title type='text'>PS3 Homeのロコアイランド</title><content type='html'>オセロがあるので買ってみました。&lt;br /&gt;オセロ超強い！かなり強めの設定です。CELLパワー全開ｗ&lt;br /&gt;&lt;br /&gt;角が取られそうになってやばいと思ったら角だけ取らないみたい。（？）２度取られそうだったのですがどちらも取りません。&lt;br /&gt;どうも角を取るときだけ取らないプログラムになってるっぽい。難易度調整？&lt;br /&gt;&lt;br /&gt;ボロ勝ちで７ポイント貰いました。さらに落ち込んだのでダンスしたら３ポイント余分にもらってラッキーｗ&lt;br /&gt;&lt;br /&gt;25日に追記：&lt;br /&gt;昨日はやさしくて今日は中間ぐらいの強さに思えました。中の人が何先まで予測するかパラメータをいじっているのか、気分的に強さの感じ方が違ったのか？？？&lt;br /&gt;角は取らない挙動っぽいのは同じだった。ちょっと不自然ｗ&lt;br /&gt;&lt;br /&gt;11日に追記：&lt;br /&gt;アップデートの後角とるようになったみたい？&lt;br /&gt;５連敗中…強すぎます…&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8554575692047858739-3961910406176086470?l=teraapi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://teraapi.blogspot.com/feeds/3961910406176086470/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8554575692047858739&amp;postID=3961910406176086470' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/3961910406176086470'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/3961910406176086470'/><link rel='alternate' type='text/html' href='http://teraapi.blogspot.com/2009/11/ps3-home.html' title='PS3 Homeのロコアイランド'/><author><name>teraapi</name><uri>http://www.blogger.com/profile/03638774670842212217</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8554575692047858739.post-2777594668891963893</id><published>2009-11-19T20:01:00.001+09:00</published><updated>2009-11-19T20:05:28.349+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SIXAXIS'/><category scheme='http://www.blogger.com/atom/ns#' term='Mac OS X'/><title type='text'>Snow LeopardでPS3のコントローラを使う方法</title><content type='html'>USBでコントローラを挿してPSボタンを数秒押すだけ。&lt;br /&gt;Bluetoothが乗っかってるMacbookとかは、USBケーブル外すだけで無線も使える。&lt;br /&gt;後ろの1P2PのLEDは付かない。接続されたか分かりにくいけど、BluetoothのアイコンをクリックしてリストにPLAYSTATION 3 Controllerって出てれば無線で繋がってる。&lt;br /&gt;&lt;br /&gt;ドライバとか標準装備っぽい。ちょっと感動した&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8554575692047858739-2777594668891963893?l=teraapi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://teraapi.blogspot.com/feeds/2777594668891963893/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8554575692047858739&amp;postID=2777594668891963893' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/2777594668891963893'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/2777594668891963893'/><link rel='alternate' type='text/html' href='http://teraapi.blogspot.com/2009/11/snow-leopardps3.html' title='Snow LeopardでPS3のコントローラを使う方法'/><author><name>teraapi</name><uri>http://www.blogger.com/profile/03638774670842212217</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8554575692047858739.post-1850724935279465601</id><published>2009-11-01T04:57:00.005+09:00</published><updated>2009-11-02T01:25:29.507+09:00</updated><title type='text'>PHP-&gt;Java移植メモ</title><content type='html'>print &amp;lt;&amp;lt;&amp;lt;END&lt;br /&gt;END;&lt;br /&gt;の移植&lt;br /&gt;&lt;br /&gt;秀丸で置換（範囲に気をつける！）&lt;br /&gt;範囲外のコードまでやるとめちゃくちゃになる。必ず事前にバックアップ&lt;br /&gt;&lt;br /&gt;既にある\を置換&lt;br /&gt;\&lt;br /&gt;\\&lt;br /&gt;&lt;br /&gt;"(ダブルクォート?を置換)&lt;br /&gt;"&lt;br /&gt;\"&lt;br /&gt;&lt;br /&gt;各行を""で括り、+で連結&lt;br /&gt;\n&lt;br /&gt;\\n" + \n"&lt;br /&gt;&lt;br /&gt;始めと終わりのゴミ掃除&lt;br /&gt;&lt;br /&gt;$で検索、変数の展開&lt;br /&gt;例：&lt;br /&gt;print "&amp;lt;HTML&amp;gt;$val&amp;lt;/HTML&amp;gt;";&lt;br /&gt;↓&lt;br /&gt;print "&amp;lt;HTML&amp;gt;" + val + "&amp;lt;/HTML&amp;gt;";&lt;br /&gt;&lt;br /&gt;後はprint を置換して終わり&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8554575692047858739-1850724935279465601?l=teraapi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://teraapi.blogspot.com/feeds/1850724935279465601/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8554575692047858739&amp;postID=1850724935279465601' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/1850724935279465601'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/1850724935279465601'/><link rel='alternate' type='text/html' href='http://teraapi.blogspot.com/2009/11/php-java.html' title='PHP-&gt;Java移植メモ'/><author><name>teraapi</name><uri>http://www.blogger.com/profile/03638774670842212217</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8554575692047858739.post-8654582066300246760</id><published>2009-08-18T23:04:00.007+09:00</published><updated>2009-08-18T23:39:47.998+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='新型PS3'/><category scheme='http://www.blogger.com/atom/ns#' term='live'/><title type='text'>GamesCom生中継</title><content type='html'>ここでやるっぽい？&lt;br /&gt;&lt;a href="http://www.justin.tv/chillaxtv"&gt;http://www.justin.tv/chillaxtv&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;ソースのコメントによると日本時間1:30～らしい&lt;br /&gt;&lt;br /&gt;justin.tvは最新10.???バージョンだと動かない&lt;br /&gt;&lt;a href="http://www.adobe.com/support/flashplayer/downloads.html"&gt;http://www.adobe.com/support/flashplayer/downloads.html&lt;/a&gt;&lt;br /&gt;から9系の最新版をインストールする必要がある&lt;br /&gt;&lt;br /&gt;IEは&lt;a href="http://download.macromedia.com/pub/flashplayer/updaters/10/flashplayer_10_ax_debug.exe"&gt;これ&lt;/a&gt;、Firefoxは&lt;a href="http://download.macromedia.com/pub/flashplayer/updaters/10/flashplayer_10_plugin_debug.exe"&gt;これ&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;ソース&lt;br /&gt;&lt;a href="http://www.n4g.com/pc/News-379285.aspx"&gt;http://www.n4g.com/pc/News-379285.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;追記(23:39)：&lt;br /&gt;現在EAのカンファレンスがやっているらしい&lt;br /&gt;EAカンファレンス中継&lt;br /&gt;&lt;a href="http://www.ea.com/blogs/gamescom/gamescom-press-conference"&gt;http://www.ea.com/blogs/gamescom/gamescom-press-conference&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8554575692047858739-8654582066300246760?l=teraapi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://teraapi.blogspot.com/feeds/8654582066300246760/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8554575692047858739&amp;postID=8654582066300246760' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/8654582066300246760'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/8654582066300246760'/><link rel='alternate' type='text/html' href='http://teraapi.blogspot.com/2009/08/gamescom.html' title='GamesCom生中継'/><author><name>teraapi</name><uri>http://www.blogger.com/profile/03638774670842212217</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8554575692047858739.post-2977958943576991091</id><published>2009-07-11T11:42:00.004+09:00</published><updated>2009-07-11T12:14:17.571+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='image'/><category scheme='http://www.blogger.com/atom/ns#' term='繰り返し模様'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><category scheme='http://www.blogger.com/atom/ns#' term='CC'/><category scheme='http://www.blogger.com/atom/ns#' term='cloudapp'/><title type='text'>A-Pattern(エエ！パターン）体験版公開しました</title><content type='html'>１分ごとに１枚くりかえし模様を自動生成しています。&lt;br /&gt;自動生成なのでダサい柄もきれいな柄も出ます。&lt;br /&gt;クリエイティブコモンズで使えるのでぜひアクセスしてみてください。&lt;br /&gt;&lt;br /&gt;A-Pattern(エエ！パターン）体験版&lt;br /&gt;（あまり時間がなく適当な名前になってしまいました。すみません。）&lt;br /&gt;&lt;a href="http://apattern.cloudapp.net/"&gt;http://apattern.cloudapp.net/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;気に入ったら是非投票してください！&lt;br /&gt;&lt;a href="http://www.newcloudapp.com/vote.aspx"&gt;http://www.newcloudapp.com/vote.aspx&lt;/a&gt;&lt;br /&gt;登録無しメアドのみで投票できます。Microsoft主催で他の応募アプリも見られます&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8554575692047858739-2977958943576991091?l=teraapi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://teraapi.blogspot.com/feeds/2977958943576991091/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8554575692047858739&amp;postID=2977958943576991091' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/2977958943576991091'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/2977958943576991091'/><link rel='alternate' type='text/html' href='http://teraapi.blogspot.com/2009/07/pattern.html' title='A-Pattern(エエ！パターン）体験版公開しました'/><author><name>teraapi</name><uri>http://www.blogger.com/profile/03638774670842212217</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8554575692047858739.post-4997076520452133283</id><published>2009-07-03T22:35:00.001+09:00</published><updated>2009-07-03T22:36:48.762+09:00</updated><title type='text'>C#のstring.formatで:10をつかうと・・・</title><content type='html'>string.Format("{0:10}", 2345) == "12345"&lt;br /&gt;string.Format("{0:10}", 32) == "132"&lt;br /&gt;string.Format("{0:10}", -1) == "-11"&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8554575692047858739-4997076520452133283?l=teraapi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://teraapi.blogspot.com/feeds/4997076520452133283/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8554575692047858739&amp;postID=4997076520452133283' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/4997076520452133283'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/4997076520452133283'/><link rel='alternate' type='text/html' href='http://teraapi.blogspot.com/2009/07/cstringformat10.html' title='C#のstring.formatで:10をつかうと・・・'/><author><name>teraapi</name><uri>http://www.blogger.com/profile/03638774670842212217</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8554575692047858739.post-3955927979160837848</id><published>2009-05-08T17:52:00.002+09:00</published><updated>2009-05-08T17:58:00.856+09:00</updated><title type='text'>ATLでスレッドセーフ</title><content type='html'>VC2005でのATL&lt;br /&gt;&lt;br /&gt;MFC　　　　　　　　　ATL&lt;br /&gt;CSingleLock　　 　-&gt; CCritSecLock (atlbase.h)&lt;br /&gt;CCriticalSection -&gt; CCriticalSection (atlsync.h)&lt;br /&gt;&lt;br /&gt;一箇所でCCriticalSection m_cs;。どのスレッドでもこれを使う&lt;br /&gt;ロックする関数でCCritSecLock lock(&amp;m_cs);&lt;br /&gt;関数が抜けた時点でlockのデストラクタによりロック解除&lt;br /&gt;初期ロックしない場合はCCritSecLock lock(&amp;m_cs, false);&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8554575692047858739-3955927979160837848?l=teraapi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://teraapi.blogspot.com/feeds/3955927979160837848/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8554575692047858739&amp;postID=3955927979160837848' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/3955927979160837848'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/3955927979160837848'/><link rel='alternate' type='text/html' href='http://teraapi.blogspot.com/2009/05/atl.html' title='ATLでスレッドセーフ'/><author><name>teraapi</name><uri>http://www.blogger.com/profile/03638774670842212217</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8554575692047858739.post-2507592648657992507</id><published>2009-05-07T09:23:00.003+09:00</published><updated>2009-05-07T09:42:11.796+09:00</updated><title type='text'>ヤフオクとか楽天の激安ノートンキー</title><content type='html'>明らかに怪しかったのでちょっと調べてみたら超キー○ンっぽい&lt;br /&gt;割れに金払うのは超馬鹿馬鹿しい。&lt;br /&gt;中国、イギリスキーとかが偶然できていたら何仕込まれるか･･･ウィルスよりやばい&lt;br /&gt;&lt;br /&gt;他国（中国、フィリピン、ブラジル）で法人用10PCパッケでも赤字&lt;br /&gt;法人用の10PCは1キーで3PC無理だし（10PC買えば30PC使えるはずないし。大体１キー使い始めたら他キーも期限が減ってきそう）&lt;br /&gt;やっぱり超黒っぽい&lt;br /&gt;見つかってもパッケージ、レシートは捨てたとか言われればどうしようも無いのだろう&lt;br /&gt;&lt;br /&gt;キーの不正検知は難しい。サーバーの不具合で正規ユーザー激怒するし･･･MSはどうやっているんだろうか。案外不正キーは電話で交換とかローテクなんだろう&lt;br /&gt;シマンテックは偽キー○ンで一網打尽くらいやればいい。割れ業者に一斉猛攻撃する客が見える･･･ｗ&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8554575692047858739-2507592648657992507?l=teraapi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://teraapi.blogspot.com/feeds/2507592648657992507/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8554575692047858739&amp;postID=2507592648657992507' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/2507592648657992507'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/2507592648657992507'/><link rel='alternate' type='text/html' href='http://teraapi.blogspot.com/2009/05/blog-post.html' title='ヤフオクとか楽天の激安ノートンキー'/><author><name>teraapi</name><uri>http://www.blogger.com/profile/03638774670842212217</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8554575692047858739.post-1409369079791783441</id><published>2009-04-18T18:09:00.003+09:00</published><updated>2009-04-19T00:22:12.522+09:00</updated><title type='text'>PS3の80028801エラー</title><content type='html'>http://forum.gameland.ru/m_1510536/tm.htm&lt;br /&gt;80028801はtsファイルをmp4に変換すると発生することが多いらしい&lt;br /&gt;&lt;br /&gt;対策法：&lt;br /&gt;&lt;a href="http://yamb.unite-video.com/"&gt;YAMB&lt;/a&gt;でmp4を分割&lt;br /&gt;２時間の映画の場合、だいたい２分割でいける&lt;br /&gt;Split by Sizeに半分よりちょっと大きいサイズをいれる。（例：6.5GBのmp4の場合3500くらい）&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8554575692047858739-1409369079791783441?l=teraapi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://teraapi.blogspot.com/feeds/1409369079791783441/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8554575692047858739&amp;postID=1409369079791783441' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/1409369079791783441'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/1409369079791783441'/><link rel='alternate' type='text/html' href='http://teraapi.blogspot.com/2009/04/ps380028801.html' title='PS3の80028801エラー'/><author><name>teraapi</name><uri>http://www.blogger.com/profile/03638774670842212217</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8554575692047858739.post-6522625140995202466</id><published>2009-04-18T06:40:00.009+09:00</published><updated>2009-04-19T00:29:24.884+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='profile_compatibility'/><category scheme='http://www.blogger.com/atom/ns#' term='変更'/><category scheme='http://www.blogger.com/atom/ns#' term='オープンソース'/><category scheme='http://www.blogger.com/atom/ns#' term='ps3'/><category scheme='http://www.blogger.com/atom/ns#' term='profile'/><category scheme='http://www.blogger.com/atom/ns#' term='プロファイル'/><category scheme='http://www.blogger.com/atom/ns#' term='level'/><category scheme='http://www.blogger.com/atom/ns#' term='フリーソフト'/><category scheme='http://www.blogger.com/atom/ns#' term='レベル'/><category scheme='http://www.blogger.com/atom/ns#' term='mp4'/><category scheme='http://www.blogger.com/atom/ns#' term='互換プロファイル'/><title type='text'>mp4plc - mp4のプロファイルチェンジャー</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_Lj2tsQEbPRY/Sej3nixy9ZI/AAAAAAAAABY/wwBmB4S4RyE/s1600-h/mp4plc.png"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 366px; height: 400px;" src="http://3.bp.blogspot.com/_Lj2tsQEbPRY/Sej3nixy9ZI/AAAAAAAAABY/wwBmB4S4RyE/s400/mp4plc.png" alt="" id="BLOGGER_PHOTO_ID_5325778818088236434" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;mp4のプロファイル等を変更するツールを作った&lt;br /&gt;&lt;br /&gt;&lt;a href="http://teraapi.com/mp4plc/mp4plc100.exe"&gt;http://teraapi.com/mp4plc/mp4plc100.exe&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;使い方は見ての通りで、一応英語でも使えるように作っておいた&lt;br /&gt;&lt;br /&gt;プロファイルやレベルをいじっても再生できない場合、YAMBでmp4を分割すると再生できる場合が多いです。&lt;br /&gt;HDの映画等の長いmp4はおそらく分割が必要です。プロファイルなどの変更は効きません。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8554575692047858739-6522625140995202466?l=teraapi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://teraapi.blogspot.com/feeds/6522625140995202466/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8554575692047858739&amp;postID=6522625140995202466' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/6522625140995202466'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/6522625140995202466'/><link rel='alternate' type='text/html' href='http://teraapi.blogspot.com/2009/04/mp4plc-mp4.html' title='mp4plc - mp4のプロファイルチェンジャー'/><author><name>teraapi</name><uri>http://www.blogger.com/profile/03638774670842212217</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_Lj2tsQEbPRY/Sej3nixy9ZI/AAAAAAAAABY/wwBmB4S4RyE/s72-c/mp4plc.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8554575692047858739.post-144378342021103635</id><published>2009-04-12T21:16:00.005+09:00</published><updated>2009-04-18T18:09:01.949+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='書き換え'/><category scheme='http://www.blogger.com/atom/ns#' term='変更'/><category scheme='http://www.blogger.com/atom/ns#' term='profile'/><category scheme='http://www.blogger.com/atom/ns#' term='プロファイル'/><category scheme='http://www.blogger.com/atom/ns#' term='avcc'/><category scheme='http://www.blogger.com/atom/ns#' term='extended profile'/><category scheme='http://www.blogger.com/atom/ns#' term='main profile'/><category scheme='http://www.blogger.com/atom/ns#' term='baseline profile'/><category scheme='http://www.blogger.com/atom/ns#' term='mp4'/><title type='text'>mp4フォーマットメモ</title><content type='html'>avcCのProfile_compatibilityメモ&lt;br /&gt;&lt;br /&gt;全8ビット&lt;br /&gt;if(pro_com&amp;0x80)constraint_set0_flag=1;&lt;br /&gt;if(pro_com&amp;0x40)constraint_set1_flag=1;&lt;br /&gt;if(pro_com&amp;0x20)constraint_set2_flag=1;&lt;br /&gt;残り5ビットは0で埋めとく（リザーブ)&lt;br /&gt;&lt;br /&gt;http://www.symbian.com/Developer/techlib/v9.1docs/doc_source/reference/reference-cpp/N1027A/TAvcVideoCapabilityClass.html&lt;br /&gt;http://www.ttc.or.jp/j/document_list/free/TR/TR-IETF-RFC3984v1.pdf&lt;br /&gt;&lt;br /&gt;set0, set1, set2がBaseline, Main, Extended Profileに対応している&lt;br /&gt;&lt;br /&gt;例えばset0, set1が1の場合(profile_compatibility==0xC0, 11000000B)、BaselineとMain Profile対応&lt;br /&gt;Profileとかぶるけど.h264用ってことでいいのかな？何か別々にする意味があるのだろう&lt;br /&gt;&lt;br /&gt;High Profileの場合はどうなるのだろうか？&lt;br /&gt;&lt;br /&gt;追記：&lt;br /&gt;往来のMPEG-1などはプロファイルの下位互換性があったがAVC/H.264のプロファイルは下位互換性が無い。そこでprofile_compatibilityでどのプロファイルのデコーダーでデコードできるのか設定しておくらしい。&lt;br /&gt;&lt;strike&gt;手元にあるffmpegで作ったmp4は0xC0になっているが、H.264/AVC教科書 p.88の図を見るとExtended Profileも再生できる0xE0が正しいような気がする。BaselineとMainで再生できる部分はExtended Profileにすっぽり入っているから&lt;/strike&gt;&lt;br /&gt;0xE0だとPS3で破損ファイルになってしまう。だめっぽい。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8554575692047858739-144378342021103635?l=teraapi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://teraapi.blogspot.com/feeds/144378342021103635/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8554575692047858739&amp;postID=144378342021103635' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/144378342021103635'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/144378342021103635'/><link rel='alternate' type='text/html' href='http://teraapi.blogspot.com/2009/04/mp4.html' title='mp4フォーマットメモ'/><author><name>teraapi</name><uri>http://www.blogger.com/profile/03638774670842212217</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8554575692047858739.post-2552673702483024910</id><published>2009-04-10T04:58:00.003+09:00</published><updated>2009-04-10T05:09:01.575+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='時計'/><category scheme='http://www.blogger.com/atom/ns#' term='回転行列'/><category scheme='http://www.blogger.com/atom/ns#' term='座標'/><category scheme='http://www.blogger.com/atom/ns#' term='アフィン変換'/><category scheme='http://www.blogger.com/atom/ns#' term='回転'/><category scheme='http://www.blogger.com/atom/ns#' term='Y軸'/><title type='text'>回転行列</title><content type='html'>数学的にY軸が上向きの場合、θ分だけ半時計周りに回転させる&lt;br /&gt;コンピューターで一般的なY軸が下向きの場合、θ分だけ時計周りに回転させる&lt;br /&gt;|cosθ  sinθ|&lt;br /&gt;|-sinθ cosθ|&lt;br /&gt;x' = x*cos(r)-y*sin(r)&lt;br /&gt;y' = x*sin(r)+y*cos(r)&lt;br /&gt;&lt;br /&gt;で、コンピューターで一般的なY軸が下向きの場合、θ分だけ半時計周りに回転させるのが&lt;br /&gt;数学的なY軸が上向きの場合、θ分だけ時計周りに回転させる&lt;br /&gt;|cosθ  -sinθ|&lt;br /&gt;|sinθ  cosθ |&lt;br /&gt;x' = x*cos(r)+y*sin(r)&lt;br /&gt;y' = -x*sin(r)+y*cos(r)&lt;br /&gt;※これは若干あやしい&lt;br /&gt;&lt;br /&gt;数学的なY軸上向きで半時計は本に載っているから正しそうだけど、コンピューター的な方はこれでいいのか？結果的にそれっぽいが・・・&lt;br /&gt;回転行列の解説ページもなんだか記述があやふやな気がしたので忘れないようメモ&lt;br /&gt;Y軸が反対だってこと忘れてた･･･&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8554575692047858739-2552673702483024910?l=teraapi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://teraapi.blogspot.com/feeds/2552673702483024910/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8554575692047858739&amp;postID=2552673702483024910' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/2552673702483024910'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/2552673702483024910'/><link rel='alternate' type='text/html' href='http://teraapi.blogspot.com/2009/04/blog-post.html' title='回転行列'/><author><name>teraapi</name><uri>http://www.blogger.com/profile/03638774670842212217</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8554575692047858739.post-9029235994042603156</id><published>2009-04-05T00:06:00.006+09:00</published><updated>2009-04-05T01:07:38.269+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SVG'/><category scheme='http://www.blogger.com/atom/ns#' term='convert'/><title type='text'>SVGメモ</title><content type='html'>batik◎（超軽い。Java）&lt;br /&gt;ImageMagick△（遅い重いデカイ、内部でSVGみたいなcharフォーマットを保持して変換してる(？)のが元凶っぽい、ライセンスは○）&lt;br /&gt;rsvg-convert△（要GTK,cario。自前Linux機しか動かない。GPL。librsvg）&lt;br /&gt;&lt;br /&gt;batik ２秒&lt;br /&gt;ImageMagick 8秒くらい？&lt;br /&gt;rsvg-convert 未測定&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8554575692047858739-9029235994042603156?l=teraapi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://teraapi.blogspot.com/feeds/9029235994042603156/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8554575692047858739&amp;postID=9029235994042603156' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/9029235994042603156'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/9029235994042603156'/><link rel='alternate' type='text/html' href='http://teraapi.blogspot.com/2009/04/svg.html' title='SVGメモ'/><author><name>teraapi</name><uri>http://www.blogger.com/profile/03638774670842212217</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8554575692047858739.post-5324629100695710803</id><published>2009-03-19T02:10:00.003+09:00</published><updated>2009-03-19T02:13:23.510+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Borland C++ Builder 5'/><category scheme='http://www.blogger.com/atom/ns#' term='Borland Turbo C++'/><title type='text'>BCB5 -&gt; Turbo C++移植メモ</title><content type='html'>・VCL使う場合は素直にプロジェクトを作り直せ&lt;br /&gt;・def使うのはあきらめろ。少なくともプロジェクトに.def放り込んだり、/DEF:.def追加オプションでは動かない。dllexport使え。名前的に困る場合はextern "C"つけるか呼び出し方法変える&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8554575692047858739-5324629100695710803?l=teraapi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://teraapi.blogspot.com/feeds/5324629100695710803/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8554575692047858739&amp;postID=5324629100695710803' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/5324629100695710803'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/5324629100695710803'/><link rel='alternate' type='text/html' href='http://teraapi.blogspot.com/2009/03/bcb5-turbo-c.html' title='BCB5 -&gt; Turbo C++移植メモ'/><author><name>teraapi</name><uri>http://www.blogger.com/profile/03638774670842212217</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8554575692047858739.post-3443917485893318939</id><published>2009-03-19T02:01:00.012+09:00</published><updated>2009-03-25T00:31:30.652+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='out-lame'/><category scheme='http://www.blogger.com/atom/ns#' term='tag'/><category scheme='http://www.blogger.com/atom/ns#' term='snes'/><category scheme='http://www.blogger.com/atom/ns#' term='in_snes.dll'/><category scheme='http://www.blogger.com/atom/ns#' term='plugin'/><category scheme='http://www.blogger.com/atom/ns#' term='mp3'/><category scheme='http://www.blogger.com/atom/ns#' term='winamp'/><category scheme='http://www.blogger.com/atom/ns#' term='id3'/><category scheme='http://www.blogger.com/atom/ns#' term='.spc'/><category scheme='http://www.blogger.com/atom/ns#' term='.rsn'/><title type='text'>SnesAmp改</title><content type='html'>WinampでSPC、RSNを再生する&lt;a href="http://www.alpha-ii.com/"&gt;SnesAmp&lt;/a&gt;ことin_snes.dllを改造した。&lt;br /&gt;Metatagをサポートしている。例えば&lt;a href="http://out-lame.sourceforge.net/"&gt;out-lame&lt;/a&gt;と組み合わせれば、ID3タグつきmp3ができる。&lt;br /&gt;その他改良点としてBorland Turbo C++（無料版）でコンパイルできるよう移植した。&lt;br /&gt;純正SNESAPU.dllは使えなかったため、&lt;a href="http://dgrfactory.jp/spcplay/index.html"&gt;こちらの改良版SNESAPU.dll&lt;/a&gt;を使用させてもらった。&lt;br /&gt;この場を借りてAlpha-iiさんと改良版SNESAPU.dllの作者さんにお礼申し上げる。&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);font-size:130%;" &gt;&lt;span style="font-weight: bold;"&gt;・Winampのインストール後、すぐSnesAmp改をインストールしないでください。スキンの選択や関連付けなどの設定を先に行い、その後SnesAmp改をインストールしてください。Winampの不具合(?)でクラッシュします。&lt;br /&gt;・スキンを選択したあとWinampがクラッシュする場合は一度SnesAmp改をアンインストールしてください。コントロールパネル→in_snes.dll・・・です。&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;インストーラー&lt;br /&gt;&lt;a href="http://teraapi.com/in_snesKai/SAmpKai1.4.exe"&gt;http://teraapi.com/in_snesKai/SAmpKai1.4.exe&lt;/a&gt;&lt;br /&gt;ソース（ほぼGPL、元ソースに準ずる）&lt;br /&gt;&lt;a href="http://teraapi.com/in_snesKai/SAmpKai1.4.rar"&gt;http://teraapi.com/in_snesKai/SAmpKai1.4.rar&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;バージョン履歴：&lt;br /&gt;1.4 (20090325): 改良版SNESAPU.dllを最新版へアップデート&lt;br /&gt;1.3 (20090324): in_spc.dllがあった場合削除するよう変更。&lt;br /&gt;1.2 (20090324): インストーラがファイルをちゃんと上書きしない場合があったので修正（&lt;a href="http://dgrfactory.jp/spcplay/index.html"&gt;デグレファクトリー管理人 sunburstさん&lt;/a&gt;ありがとうございました）&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8554575692047858739-3443917485893318939?l=teraapi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://teraapi.blogspot.com/feeds/3443917485893318939/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8554575692047858739&amp;postID=3443917485893318939' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/3443917485893318939'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/3443917485893318939'/><link rel='alternate' type='text/html' href='http://teraapi.blogspot.com/2009/03/insnes.html' title='SnesAmp改'/><author><name>teraapi</name><uri>http://www.blogger.com/profile/03638774670842212217</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8554575692047858739.post-614229555760186022</id><published>2009-03-16T05:40:00.001+09:00</published><updated>2009-03-16T05:41:24.091+09:00</updated><title type='text'>lame 3.98.2コンパイル済みバイナリ</title><content type='html'>VC8でコンパイル&lt;br /&gt;&lt;a href="http://teraapi.com/lame/lame3_98_2.zip"&gt;http://teraapi.com/lame/lame3_98_2.zip&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8554575692047858739-614229555760186022?l=teraapi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://teraapi.blogspot.com/feeds/614229555760186022/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8554575692047858739&amp;postID=614229555760186022' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/614229555760186022'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/614229555760186022'/><link rel='alternate' type='text/html' href='http://teraapi.blogspot.com/2009/03/lame-3982.html' title='lame 3.98.2コンパイル済みバイナリ'/><author><name>teraapi</name><uri>http://www.blogger.com/profile/03638774670842212217</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8554575692047858739.post-248222539883125183</id><published>2009-03-15T23:09:00.003+09:00</published><updated>2009-03-15T23:15:15.450+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ベジェ曲線'/><category scheme='http://www.blogger.com/atom/ns#' term='Bezier'/><category scheme='http://www.blogger.com/atom/ns#' term='ベジエ曲線'/><category scheme='http://www.blogger.com/atom/ns#' term='メモ'/><title type='text'>ベジェ曲線メモ</title><content type='html'>・始点と終点以外の点は制御点(Control points)という&lt;br /&gt;・制御点が１個だと２次ベジエ曲線、２個だと３次Bezier曲線&lt;br /&gt;&lt;br /&gt;参考&lt;br /&gt;http://d.hatena.ne.jp/nitoyon/20070921/bezier_4&lt;br /&gt;http://www.asahi-net.or.jp/~uf4k-nkjm/SVG/contents/content3.html&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8554575692047858739-248222539883125183?l=teraapi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://teraapi.blogspot.com/feeds/248222539883125183/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8554575692047858739&amp;postID=248222539883125183' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/248222539883125183'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/248222539883125183'/><link rel='alternate' type='text/html' href='http://teraapi.blogspot.com/2009/03/blog-post.html' title='ベジェ曲線メモ'/><author><name>teraapi</name><uri>http://www.blogger.com/profile/03638774670842212217</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8554575692047858739.post-3708419398747364197</id><published>2009-02-07T22:52:00.002+09:00</published><updated>2009-02-07T22:55:30.504+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ps3'/><category scheme='http://www.blogger.com/atom/ns#' term='profile'/><category scheme='http://www.blogger.com/atom/ns#' term='mp4box'/><category scheme='http://www.blogger.com/atom/ns#' term='level'/><category scheme='http://www.blogger.com/atom/ns#' term='h264'/><category scheme='http://www.blogger.com/atom/ns#' term='mp4'/><title type='text'>PS3でH.264が再生されない場合の確認表</title><content type='html'>・壊れていると表示される　mp4box使うと半々ぐらいで再生できない。プロファイルとレベルの指定がおかしいから。バイナリ書き換えするしかない。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8554575692047858739-3708419398747364197?l=teraapi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://teraapi.blogspot.com/feeds/3708419398747364197/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8554575692047858739&amp;postID=3708419398747364197' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/3708419398747364197'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/3708419398747364197'/><link rel='alternate' type='text/html' href='http://teraapi.blogspot.com/2009/02/ps3h264.html' title='PS3でH.264が再生されない場合の確認表'/><author><name>teraapi</name><uri>http://www.blogger.com/profile/03638774670842212217</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8554575692047858739.post-8035471501874782856</id><published>2009-01-30T20:45:00.008+09:00</published><updated>2009-01-31T00:10:28.685+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='日本語版'/><category scheme='http://www.blogger.com/atom/ns#' term='pms'/><category scheme='http://www.blogger.com/atom/ns#' term='ps3'/><category scheme='http://www.blogger.com/atom/ns#' term='vista'/><category scheme='http://www.blogger.com/atom/ns#' term='ps3 media server'/><category scheme='http://www.blogger.com/atom/ns#' term='UAC'/><title type='text'>PS3 Media ServerのSVN255超最新ビルド</title><content type='html'>PS3 Media Serverを日本語に翻訳、VistaのUACで設定が保存されないバグを修正したバージョン。&lt;br /&gt;そのほかにも作者の方の追加修正がたくさん入っている。&lt;br /&gt;&lt;br /&gt;要は2009/1/30時点の超最新版。&lt;br /&gt;ダウンロード - この版はVistaだと接続すら出来ません。一時停止中&lt;br /&gt;&lt;br /&gt;修正しました&lt;br /&gt;Vistaの場合UACで動かないバグ修正：&lt;A href="http://teraapi.com/pms/pms-svn255-20090131.exe"&gt;ダウンロード&lt;/A&gt;&lt;br /&gt;&lt;br /&gt;Youtubeが見えない場合、&lt;a href="http://www.videolan.org/vlc/"&gt;VLCをアップデートしてください。&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8554575692047858739-8035471501874782856?l=teraapi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://teraapi.blogspot.com/feeds/8035471501874782856/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8554575692047858739&amp;postID=8035471501874782856' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/8035471501874782856'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/8035471501874782856'/><link rel='alternate' type='text/html' href='http://teraapi.blogspot.com/2009/01/ps3-media-serversvn255.html' title='PS3 Media ServerのSVN255超最新ビルド'/><author><name>teraapi</name><uri>http://www.blogger.com/profile/03638774670842212217</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8554575692047858739.post-1852294174329691506</id><published>2009-01-26T01:42:00.005+09:00</published><updated>2009-01-26T03:30:46.437+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='flex builder 3'/><category scheme='http://www.blogger.com/atom/ns#' term='flash'/><title type='text'>Flex Builder3メモ</title><content type='html'>3は全体的にバグバグ。英語版ならいいのかな？2のほうが圧倒的にバグなかった。&lt;br /&gt;ソースエディタのスクロールバーがおかしくなったり、画面いっぱいに広がらない。&lt;br /&gt;プロジェクトの設定もなんかおかしい。&lt;br /&gt;ヘルプの500大量発生だけはなんとかしてほしい。&lt;br /&gt;英語版使おうかな…でもヘルプだけは日本語版圧倒的に便利だし…&lt;br /&gt;&lt;br /&gt;メモ&lt;br /&gt;・ライブラリはlibsフォルダができているのでswcつっこめばいい&lt;br /&gt;・標準の多言語化は絶対使うな。必ず後悔する。３でもましになってない。&lt;a href="http://www.google.co.jp/search?hl=ja&amp;amp;q=flex+&amp;quot;リソースモジュール&amp;quot;"&gt;絶対やめろ。&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8554575692047858739-1852294174329691506?l=teraapi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://teraapi.blogspot.com/feeds/1852294174329691506/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8554575692047858739&amp;postID=1852294174329691506' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/1852294174329691506'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/1852294174329691506'/><link rel='alternate' type='text/html' href='http://teraapi.blogspot.com/2009/01/flex-builder3.html' title='Flex Builder3メモ'/><author><name>teraapi</name><uri>http://www.blogger.com/profile/03638774670842212217</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8554575692047858739.post-5539520155510332688</id><published>2009-01-25T23:07:00.003+09:00</published><updated>2009-01-25T23:14:44.928+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='flex'/><category scheme='http://www.blogger.com/atom/ns#' term='rotation'/><category scheme='http://www.blogger.com/atom/ns#' term='rotate'/><category scheme='http://www.blogger.com/atom/ns#' term='mx:image'/><title type='text'>FlexでImageを任意の点を中心に回転させる方法</title><content type='html'>mx:Imageを任意の点を中心に回転させる方法&lt;br /&gt;&lt;br /&gt;transform.matrixがどうもうまく動かないので困ってしまった。&lt;br /&gt;インターネットをさまよっていたらこのページを発見。&lt;br /&gt;http://sakeprog.cocolog-nifty.com/sake/flex/index.html&lt;br /&gt;&lt;br /&gt;68x4の画像を22,87に配置し、62,2の点を中心に回転させる例：&lt;br /&gt;&lt;br /&gt;&amp;lt;mx:canvas id="img_sin2" x="84" y="89" clipcontent="false"&amp;gt;&lt;br /&gt;　&amp;lt;mx:image id="img_sin" x="-62" y="-2" width="68" height="4" source="assets/sin.png"&amp;gt;&lt;br /&gt;&amp;lt;/mx:image&amp;gt;&lt;br /&gt;&lt;br /&gt;あとはimg_sin2.rotation = degreeすればいい。すごく簡単。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8554575692047858739-5539520155510332688?l=teraapi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://teraapi.blogspot.com/feeds/5539520155510332688/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8554575692047858739&amp;postID=5539520155510332688' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/5539520155510332688'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/5539520155510332688'/><link rel='alternate' type='text/html' href='http://teraapi.blogspot.com/2009/01/fleximage.html' title='FlexでImageを任意の点を中心に回転させる方法'/><author><name>teraapi</name><uri>http://www.blogger.com/profile/03638774670842212217</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8554575692047858739.post-2980174660620042433</id><published>2009-01-24T03:32:00.001+09:00</published><updated>2009-01-24T03:35:05.274+09:00</updated><title type='text'>PS3でmp4字幕、全滅</title><content type='html'>sub/idx、srt、MPEG4-TTXTも全滅。&lt;br /&gt;えーなんで？&lt;br /&gt;これだけフォーマット充実しといてそれは無い・・・&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8554575692047858739-2980174660620042433?l=teraapi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://teraapi.blogspot.com/feeds/2980174660620042433/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8554575692047858739&amp;postID=2980174660620042433' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/2980174660620042433'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/2980174660620042433'/><link rel='alternate' type='text/html' href='http://teraapi.blogspot.com/2009/01/ps3mp4.html' title='PS3でmp4字幕、全滅'/><author><name>teraapi</name><uri>http://www.blogger.com/profile/03638774670842212217</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8554575692047858739.post-778139892421543029</id><published>2009-01-22T01:59:00.004+09:00</published><updated>2009-01-22T03:09:31.276+09:00</updated><title type='text'>PS3でH.264を再生する　パート２</title><content type='html'>PS3に動画を転送する方法：&lt;br /&gt;１．USB接続のHDDやスティックメモリを利用する。簡単で早いけど面倒。&lt;br /&gt;２．DLNA経由で転送。&lt;br /&gt;&lt;br /&gt;でDLNAをいろいろテストしたので以下まとめ&lt;br /&gt;・TVersity 重いし、よく分からない会社だし問題外。サービスで怪しげなプログラム常駐とか無理。&lt;br /&gt;・Windows media player 重い。それに怪しげな事しないとmp4を認識しない。問題外。&lt;br /&gt;・nero 高いし重い。最新版って.NET使ってるっぽい？&lt;br /&gt;・&lt;a href="http://code.google.com/p/ps3mediaserver/"&gt;PS3 Media Server&lt;/a&gt; 最高。軽い。mp4もOK。サービスもインストールしないで使える。Javaオープンソースで安心。すべてにおいて最高。ただ設定が保存されないのが残念。全ドライブにアクセスできるような初期設定なのですぐ変更したほうが良い。&lt;br /&gt;&lt;br /&gt;追記：Ps3 Media Serverではフォルダごとのコピーは厳禁。フリーズする。フォルダ内の動画とは別に、別形式に変換したものまでコピーされる。#--TRANSCODED--#フォルダ、これが変換された動画が入っている。&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;選択コピーでフォルダと#--TRANSCODED--#フォルダのチェックを必ず外す。&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;あとはPS3にプレイリストかフォルダ分類機能があれば最強・・・H.264の5.1levelの対応もやってほしいけど&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.ps3wiki.net/index.php?DLNA%E3%82%AF%E3%83%A9%E3%82%A4%E3%82%A2%E3%83%B3%E3%83%88#k241c5d6"&gt; &lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8554575692047858739-778139892421543029?l=teraapi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://teraapi.blogspot.com/feeds/778139892421543029/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8554575692047858739&amp;postID=778139892421543029' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/778139892421543029'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/778139892421543029'/><link rel='alternate' type='text/html' href='http://teraapi.blogspot.com/2009/01/ps3h264.html' title='PS3でH.264を再生する　パート２'/><author><name>teraapi</name><uri>http://www.blogger.com/profile/03638774670842212217</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8554575692047858739.post-2592695760352515796</id><published>2009-01-13T01:46:00.004+09:00</published><updated>2009-01-13T01:53:50.844+09:00</updated><title type='text'>Google AnalyticsをGoogle Desktopで使用する</title><content type='html'>作った&lt;br /&gt;http://code.google.com/p/ga4gdgadget/&lt;br /&gt;ライセンスはApache licenseになっているがpublic domain扱いで使用しても構わない&lt;br /&gt;&lt;br /&gt;仕組みとしてはFlashを使う。&lt;br /&gt;これはそんなに難しくないがここにたどり着くまでが地獄だった。&lt;br /&gt;&lt;br /&gt;トライ集：&lt;br /&gt;・main.xmlにスクリプトを直接読み込んでみる→エラー&lt;br /&gt;・xmlhttpとevalで実行→どうもwindowsなどObject類がごっそり無い・・・&lt;br /&gt;・ブラウザのwindows, navigatorなどを擬似的に作る。→送信部分が別スクリプトじゃん・・・onloadとかも使ってるし・・・絶句&lt;br /&gt;・どうしよう・・→Flashのライブラリがあった、これでいいじゃん&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8554575692047858739-2592695760352515796?l=teraapi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://teraapi.blogspot.com/feeds/2592695760352515796/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8554575692047858739&amp;postID=2592695760352515796' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/2592695760352515796'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/2592695760352515796'/><link rel='alternate' type='text/html' href='http://teraapi.blogspot.com/2009/01/google-analyticsgoogle-desktop.html' title='Google AnalyticsをGoogle Desktopで使用する'/><author><name>teraapi</name><uri>http://www.blogger.com/profile/03638774670842212217</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8554575692047858739.post-8005276852653668283</id><published>2009-01-11T03:47:00.006+09:00</published><updated>2009-01-11T15:30:29.785+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ps3'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><title type='text'>PS3 Linuxメモ</title><content type='html'>・インストールしようと思ったら起動中に止まった→パーティション確保した？電源長押しで消し、電源長押しで起動して復旧。データをバックアップする、セーブデータとか。フォーマットでパーティション区切る。&lt;br /&gt;・マウスキーボードの予備が無い→とりあえずPCのキーボードでSSHだけいれて、SSHからvncserverをいれる&lt;br /&gt;・vncserver動かない→http://sequoia.blog.so-net.ne.jp/2007-01-05&lt;br /&gt;　ファイアーウォール設定は&lt;span class="inline-command"&gt;/usr/bin/system-config-securitylevelで&lt;/span&gt;。&lt;br /&gt;・RealVNCから接続できない→ps -ax|grep vnc。ポート番号が書いてある。RealVNCはIP.IP.IP.IP:Portで入力する。ちゃんとポートを指定する。それでもダメならファイアーウォール。またはvncserverが起動していない。ランレベル3,4,5でvncserverのチェックを入れる。&lt;br /&gt;・どうもPSPの認証をしないとWOL使えないっぽい？rootでethtool -s eth0 wol gしてもshutdownしたあとLANのLEDが付いてない・・・&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8554575692047858739-8005276852653668283?l=teraapi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://teraapi.blogspot.com/feeds/8005276852653668283/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8554575692047858739&amp;postID=8005276852653668283' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/8005276852653668283'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/8005276852653668283'/><link rel='alternate' type='text/html' href='http://teraapi.blogspot.com/2009/01/ps3-linux.html' title='PS3 Linuxメモ'/><author><name>teraapi</name><uri>http://www.blogger.com/profile/03638774670842212217</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8554575692047858739.post-2463248774910122934</id><published>2008-12-26T21:56:00.008+09:00</published><updated>2009-01-18T19:21:36.210+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ps3'/><category scheme='http://www.blogger.com/atom/ns#' term='bat'/><category scheme='http://www.blogger.com/atom/ns#' term='free'/><category scheme='http://www.blogger.com/atom/ns#' term='pc'/><category scheme='http://www.blogger.com/atom/ns#' term='quicktime'/><category scheme='http://www.blogger.com/atom/ns#' term='h.264'/><category scheme='http://www.blogger.com/atom/ns#' term='mp4'/><category scheme='http://www.blogger.com/atom/ns#' term='aac'/><category scheme='http://www.blogger.com/atom/ns#' term='mpeg4'/><category scheme='http://www.blogger.com/atom/ns#' term='ffmpeg'/><category scheme='http://www.blogger.com/atom/ns#' term='超簡単'/><category scheme='http://www.blogger.com/atom/ns#' term='バッチファイル'/><category scheme='http://www.blogger.com/atom/ns#' term='フリーソフト'/><title type='text'>DVDをPCやPS3で変換できるmp4に変換する</title><content type='html'>&lt;a href="http://teraapi.com/tools/"&gt;http://teraapi.com/tools/&lt;/a&gt;でvob2h264.zipをダウンロード。&lt;br /&gt;VOBを一話一ファイルにする。DVD Shrinkで分割、またはcopy /b 1.vob+2.vob+3.vob+4.vob out.vobみたいに結合しても良い&lt;br /&gt;ffmpeg.exeとvob2h264を対象フォルダにコピー、実行、待つ。&lt;br /&gt;同名.mp4がある場合は変換しない。&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;以下技術的な私用メモ：&lt;br /&gt;・-b -btは効かないので省いた。画面サイズのこともあるのでこれでよい&lt;br /&gt;・--pass 2はおかしい。エラーで使えない。&lt;br /&gt;・x264.exe、MeGUIは720x480が？エラーエラーエラー&lt;br /&gt;・--threadsはバスケットボールがぴったり入る箱にパチンコ玉をみっちり詰めるイメージ。適当に8。&lt;br /&gt;・-y（自動上書き）は省いた&lt;br /&gt;・-ab 1920000にしても30MBくらいしか変わらないので192kにしてもいいかも。&lt;br /&gt;・-level 42は4.2のほうが再生側のバッファが大きいなんだこうだと書いてあったので一応。魔よけ。&lt;br /&gt;・libfaacとNeroAACは違いが分からない。Neroのほうがまったりだと書いてあったが自分の耳では分からず…Nero版は面倒&lt;br /&gt;・call :labelは便利。ループ内でif()が使える。&lt;br /&gt;・VOBが大きくとも変換時間は変わらない。DVD Shrinkで目標のDVDサイズが指定できるが4.7、8.5GBではVOBの大きさは倍ほど違う。元DVDにもよるけれど。HDDに余裕があれば8.5GBで出力したほうが得？&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8554575692047858739-2463248774910122934?l=teraapi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://teraapi.blogspot.com/feeds/2463248774910122934/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8554575692047858739&amp;postID=2463248774910122934' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/2463248774910122934'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/2463248774910122934'/><link rel='alternate' type='text/html' href='http://teraapi.blogspot.com/2008/12/dvdpcps3mp4.html' title='DVDをPCやPS3で変換できるmp4に変換する'/><author><name>teraapi</name><uri>http://www.blogger.com/profile/03638774670842212217</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8554575692047858739.post-7375703769391210685</id><published>2008-12-21T20:41:00.006+09:00</published><updated>2008-12-21T20:52:08.431+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='x64'/><category scheme='http://www.blogger.com/atom/ns#' term='vista'/><category scheme='http://www.blogger.com/atom/ns#' term='HBT.exe'/><category scheme='http://www.blogger.com/atom/ns#' term='64 bit'/><category scheme='http://www.blogger.com/atom/ns#' term='エラー、強制終了'/><category scheme='http://www.blogger.com/atom/ns#' term='System.BadImageFormatException'/><category scheme='http://www.blogger.com/atom/ns#' term='UAC'/><title type='text'>Havok Behavior ToolをVista x64で動かす</title><content type='html'>HBT.Installer.v610.RC1.20081007-161935_Released.zipをWindows Vista x64で使う方法&lt;br /&gt;&lt;br /&gt;症状：&lt;br /&gt;起動するとエラーで落ちる(System.BadImageFormatException)&lt;br /&gt;&lt;br /&gt;対策：&lt;br /&gt;HBT.exeに32bitフラグを立てる。&lt;br /&gt;&lt;br /&gt;実際：&lt;br /&gt;1. VSなどのSDKからコマンドラインを管理者権限で開く&lt;br /&gt;2. C:\Program Files (x86)\Havok\Havok Behavior\bin\Releaseに移動&lt;br /&gt;3. CorFlags.exe /32BIT+ HBT.exe&lt;br /&gt;&lt;br /&gt;管理者権限とかUACとか分からない人はHBT.exeを一旦デスクトップにコピー、CorFlagsで処理して上書きで戻す。そうじゃないとUACに呪われる。&lt;br /&gt;&lt;br /&gt;情報元：&lt;br /&gt;&lt;a href="http://software.intel.com/en-us/forums/havok/topic/61963/"&gt;http://software.intel.com/en-us/forums/havok/topic/61963/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8554575692047858739-7375703769391210685?l=teraapi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://teraapi.blogspot.com/feeds/7375703769391210685/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8554575692047858739&amp;postID=7375703769391210685' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/7375703769391210685'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/7375703769391210685'/><link rel='alternate' type='text/html' href='http://teraapi.blogspot.com/2008/12/havok-behavior-toolvista-x64.html' title='Havok Behavior ToolをVista x64で動かす'/><author><name>teraapi</name><uri>http://www.blogger.com/profile/03638774670842212217</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8554575692047858739.post-855237975986109640</id><published>2008-12-05T00:09:00.004+09:00</published><updated>2008-12-21T20:48:31.117+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ffmpeg'/><category scheme='http://www.blogger.com/atom/ns#' term='bat'/><category scheme='http://www.blogger.com/atom/ns#' term='mpg'/><category scheme='http://www.blogger.com/atom/ns#' term='mp4'/><category scheme='http://www.blogger.com/atom/ns#' term='avi'/><category scheme='http://www.blogger.com/atom/ns#' term='mpeg4'/><category scheme='http://www.blogger.com/atom/ns#' term='バッチ処理'/><title type='text'>ffmpegでmpgを一気にaviへ変換するバッチ</title><content type='html'>mpg2avi.batとffmpeg.exeを対象フォルダにコピペして使う。&lt;br /&gt;最終行のremを外せば、勝手に画面が閉じることはない。&lt;br /&gt;オプションを指定していないのでr15986ではmpeg4に変換される&lt;br /&gt;&lt;br /&gt;動作：&lt;br /&gt;・カレントディレクトリのmpgを列挙。&lt;br /&gt;・abc.mpgであればabc.avi、fff.mpgであればfff.aviが有るか無いか調べる。&lt;br /&gt;・なければ変換&lt;br /&gt;&lt;br /&gt;@echo off&lt;br /&gt;&lt;br /&gt;for %%i in (*.mpg) do  (&lt;br /&gt;if not exist %%~ni.avi ffmpeg -i %%i %%~ni.avi&lt;br /&gt;)&lt;br /&gt;rem pause&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8554575692047858739-855237975986109640?l=teraapi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://teraapi.blogspot.com/feeds/855237975986109640/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8554575692047858739&amp;postID=855237975986109640' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/855237975986109640'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/855237975986109640'/><link rel='alternate' type='text/html' href='http://teraapi.blogspot.com/2008/12/ffmpegmpgavi.html' title='ffmpegでmpgを一気にaviへ変換するバッチ'/><author><name>teraapi</name><uri>http://www.blogger.com/profile/03638774670842212217</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8554575692047858739.post-7592928947401178086</id><published>2008-10-31T23:33:00.005+09:00</published><updated>2008-12-21T20:49:16.668+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='x64'/><category scheme='http://www.blogger.com/atom/ns#' term='vista'/><category scheme='http://www.blogger.com/atom/ns#' term='empia'/><category scheme='http://www.blogger.com/atom/ns#' term='EM28xx'/><category scheme='http://www.blogger.com/atom/ns#' term='GV-MVP/SZ'/><category scheme='http://www.blogger.com/atom/ns#' term='usb'/><category scheme='http://www.blogger.com/atom/ns#' term='driver'/><category scheme='http://www.blogger.com/atom/ns#' term='io-data'/><title type='text'>GV-MVP/SZをVista 64bit(x64)で使う</title><content type='html'>&lt;span style="color: rgb(255, 0, 0);"&gt;※パソコンが壊れて火を噴きます。決して真似しないでください。&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;IO-DATAからx64のドライバは支給されていないので困った。&lt;br /&gt;製造元eMPIA Technology, IncからeMPIA USB 2.0 Video Devices EM28xx用のドライバを取ってきた。&lt;br /&gt;http://www.empiatech.com.tw/support.htm&lt;br /&gt;&lt;a href="http://www.empiatech.com.tw/support/IC_drivers/BDA_WHQL_Standard_Installshield_012907.zip" target="_blank"&gt;BDA_012907&lt;/a&gt;と&lt;a href="http://www.empiatech.com.tw/support/IC_drivers/WDM_WHQL_Standard_MediaClass_Installshield_062107.zip" target="_blank"&gt;WDM_Media_062107&lt;/a&gt;をインストール。&lt;br /&gt;C:\Program Files (x86)\USB_video_device\Driver\Driver64に下のinfを上書きする（やらなくてOK)&lt;br /&gt;http://teraapi.com/gvmvpsz/emaudio64.inf&lt;br /&gt;http://teraapi.com/gvmvpsz/EMBDA64.INF&lt;br /&gt;適当にデバイスマネージャでインストール。ディスクの使用の画面で。&lt;br /&gt;dpinstとかいうインストーラーは使ってもインストールされないから注意。&lt;br /&gt;MagicTVは認証が必要なため断念。&lt;br /&gt;代わりにふぬああで使用。&lt;br /&gt;インターレースはATI Video Format Converterで解除した。終了。&lt;br /&gt;ふぬああ設定が面倒。もっと簡単なソフトないかな？&lt;br /&gt;&lt;br /&gt;#IO-DATAの他の製品も真似できそう&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8554575692047858739-7592928947401178086?l=teraapi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://teraapi.blogspot.com/feeds/7592928947401178086/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8554575692047858739&amp;postID=7592928947401178086' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/7592928947401178086'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/7592928947401178086'/><link rel='alternate' type='text/html' href='http://teraapi.blogspot.com/2008/10/gv-mvpszvista-64bitx64.html' title='GV-MVP/SZをVista 64bit(x64)で使う'/><author><name>teraapi</name><uri>http://www.blogger.com/profile/03638774670842212217</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8554575692047858739.post-6209155086584469322</id><published>2008-10-23T23:49:00.005+09:00</published><updated>2008-10-24T00:10:22.883+09:00</updated><title type='text'>Colladaのinstance_controllerが難しい</title><content type='html'>Colladaのinstance_controllerがよくわからない&lt;br /&gt;Moon buggyのlunar_vehicle_tris.daeの話。&lt;br /&gt;この例だとright_shoulderはright_armrootの子として計算しないといけないようだ。&lt;br /&gt;この計算がややこしい。&lt;br /&gt;_right_hand_right_handの親が単位行列じゃなかった場合どう計算すればよいのか。&lt;br /&gt;&lt;br /&gt;さらにBlenderはPoserのようにボーンの下にオブジェクト類をつけることができないっぽい。&lt;br /&gt;本来の流れ&lt;br /&gt;・bone_rootとright_shoulderとright_kneeを別々のArmatureとして作る。&lt;br /&gt;・right_armrootの子にright_shoulderを追加。　　←これができない&lt;br /&gt;right_armrootと親にアニメーションがある場合、right_soulderも付随しないといけない。&lt;br /&gt;&lt;br /&gt;結局bone_rootとright_shoulderとright_kneeを１つのArmatureとして作るしかない。instance_controllerで２重3重になっていた場合はおかしくなる。それにweightとかの読み込みが複雑そう・・・困ったな。&lt;br /&gt;&lt;node id="_right_hand_right_hand" name="right_hand"&gt;&lt;node id="geometries_5" name="geometries_5"&gt;&lt;instance_controller url="#geometries_5-lib-skin"&gt;&lt;node id="geometries_1" name="geometries_1"&gt;&lt;instance_controller url="#geometries_1-lib-skin"&gt;&lt;br /&gt;&lt;/instance_controller&gt;&lt;/node&gt;&lt;/instance_controller&gt;&lt;/node&gt;&lt;/node&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8554575692047858739-6209155086584469322?l=teraapi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://teraapi.blogspot.com/feeds/6209155086584469322/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8554575692047858739&amp;postID=6209155086584469322' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/6209155086584469322'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/6209155086584469322'/><link rel='alternate' type='text/html' href='http://teraapi.blogspot.com/2008/10/colladainstancecontroller.html' title='Colladaのinstance_controllerが難しい'/><author><name>teraapi</name><uri>http://www.blogger.com/profile/03638774670842212217</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8554575692047858739.post-3169827987416535716</id><published>2008-09-28T21:11:00.002+09:00</published><updated>2008-09-28T21:18:46.430+09:00</updated><title type='text'>colladaのアニメーション</title><content type='html'>アニメーションの読み込みが難しい&lt;br /&gt;DAZは逆バインド行列の回転成分が無く、node要素もとても素直でそんなに難しくなかった。(移動、回転の４要素だけ）&lt;br /&gt;collada samples(MAYAの出力したdae)の読み込みが難しい。&lt;br /&gt;純正サンプルのSeymour_anim2でさえ、XSIと純正rtviewerで左腕の挙動が違う…&lt;br /&gt;もう行列みたくねえ&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8554575692047858739-3169827987416535716?l=teraapi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://teraapi.blogspot.com/feeds/3169827987416535716/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8554575692047858739&amp;postID=3169827987416535716' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/3169827987416535716'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/3169827987416535716'/><link rel='alternate' type='text/html' href='http://teraapi.blogspot.com/2008/09/collada.html' title='colladaのアニメーション'/><author><name>teraapi</name><uri>http://www.blogger.com/profile/03638774670842212217</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8554575692047858739.post-2715940621231092772</id><published>2008-08-31T13:03:00.001+09:00</published><updated>2008-08-31T13:05:08.608+09:00</updated><title type='text'></title><content type='html'>Matrixのtranspose()や.invert()は自身を変更するので使用には注意が必要。&lt;br /&gt;かならず.copy()してからやる。&lt;br /&gt;m = Matrix([1,2,3,4],[2,4,5,7],[1,1,1,1],[0,0,0,0])&lt;br /&gt;invM = m&lt;span style="color: rgb(255, 0, 0);"&gt;.copy()&lt;/span&gt;&lt;br /&gt;invM.invert()&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8554575692047858739-2715940621231092772?l=teraapi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://teraapi.blogspot.com/feeds/2715940621231092772/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8554575692047858739&amp;postID=2715940621231092772' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/2715940621231092772'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/2715940621231092772'/><link rel='alternate' type='text/html' href='http://teraapi.blogspot.com/2008/08/matrixtranspose.html' title=''/><author><name>teraapi</name><uri>http://www.blogger.com/profile/03638774670842212217</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8554575692047858739.post-3711149490734894252</id><published>2008-08-31T13:00:00.003+09:00</published><updated>2008-10-12T20:40:13.890+09:00</updated><title type='text'>BlenderのMathutilsのVectorとMatrix</title><content type='html'>&lt;span style="color: rgb(192, 192, 192);"&gt;Vector(3要素)とMatrix(4x4)を掛けるとエラーが出ない。&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(192, 192, 192);"&gt;エラーワーニング０で、最初のVectorがそのまま返ってくる。&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;寝ぼけて勘違いしたっぽい。&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8554575692047858739-3711149490734894252?l=teraapi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://teraapi.blogspot.com/feeds/3711149490734894252/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8554575692047858739&amp;postID=3711149490734894252' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/3711149490734894252'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/3711149490734894252'/><link rel='alternate' type='text/html' href='http://teraapi.blogspot.com/2008/08/blendermathutilsvectormatrix.html' title='BlenderのMathutilsのVectorとMatrix'/><author><name>teraapi</name><uri>http://www.blogger.com/profile/03638774670842212217</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8554575692047858739.post-2381055594492180868</id><published>2008-08-31T09:44:00.004+09:00</published><updated>2008-08-31T09:52:32.438+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ポインタ'/><category scheme='http://www.blogger.com/atom/ns#' term='vector'/><category scheme='http://www.blogger.com/atom/ns#' term='copy'/><category scheme='http://www.blogger.com/atom/ns#' term='euler'/><category scheme='http://www.blogger.com/atom/ns#' term='失敗'/><category scheme='http://www.blogger.com/atom/ns#' term='mathutils'/><category scheme='http://www.blogger.com/atom/ns#' term='matrix'/><category scheme='http://www.blogger.com/atom/ns#' term='blender'/><category scheme='http://www.blogger.com/atom/ns#' term='罠'/><title type='text'>BlenderのMatrix、Vector、Euler、Quoternionの代入時の落とし穴</title><content type='html'>BlenderのMathutils系のMatrixなどではまった。&lt;br /&gt;もしかしたらPythonの仕様かもしれない。&lt;br /&gt;&lt;br /&gt;amat = Blender.Mathutils.Matrix([0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0])&lt;br /&gt;bmat = amat&lt;br /&gt;bmat[0][0] = 50&lt;br /&gt;&lt;br /&gt;#この時点でamat[0][0]==bmat[0][0]==50になっている&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;期待通りの動作をさせたい場合&lt;br /&gt;amat = Blender.Mathutils.Matrix([0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0])&lt;br /&gt;bmat = amat&lt;span style="color: rgb(255, 0, 0);"&gt;.copy()&lt;/span&gt;&lt;br /&gt;bmat[0][0] = 50&lt;br /&gt;#この時点でamat[0][0]==0、bmat[0][0]==50になっている&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8554575692047858739-2381055594492180868?l=teraapi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://teraapi.blogspot.com/feeds/2381055594492180868/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8554575692047858739&amp;postID=2381055594492180868' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/2381055594492180868'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/2381055594492180868'/><link rel='alternate' type='text/html' href='http://teraapi.blogspot.com/2008/08/blendermatrixvector.html' title='BlenderのMatrix、Vector、Euler、Quoternionの代入時の落とし穴'/><author><name>teraapi</name><uri>http://www.blogger.com/profile/03638774670842212217</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8554575692047858739.post-3882406497107291662</id><published>2008-08-19T03:57:00.003+09:00</published><updated>2008-08-19T04:02:05.738+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Python'/><title type='text'>Pythonではまった</title><content type='html'>pythonで３重配列を操作しているときにおかしな挙動ではまった。&lt;br /&gt;リストでは発生しない。タプルの場合のみ発生する。&lt;br /&gt;&lt;br /&gt;発生する：&lt;br /&gt;targetv = (((1,0),(60,0)),((1,0),(60,0)),((1,0),(60,0)),((1,0),(60,0)),((1,0),(60,0)),((1,0),(60,0)),((1,0),(60,0)),((1,0),(60,0)),((1,0),(60,0)),((1,0),(60,0)),((1,0),(60,0)),((1,0),(60,0)),((1,0),(60,0)),((1,0),(60,0)),((1,0)),((1,0),(60,0)),((1,0)),((1,0),(60,0)),((1,0),(60,0)),((1,0)),((1,0)),((1,0)));&lt;br /&gt;発生しない：&lt;br /&gt;targetv = [[[1,0],[60,0]],[[1,0],[60,0]],[[1,0],[60,0]],[[1,0],[60,0]],[[1,0],[60,0]],[[1,0],[60,0]],[[1,0],[60,0]],[[1,0],[60,0]],[[1,0],[60,0]],[[1,0],[60,0]],[[1,0],[60,0]],[[1,0],[60,0]],[[1,0],[60,0]],[[1,0],[60,0]],[[1,0]],[[1,0],[60,0]],[[1,0]],[[1,0],[60,0]],[[1,0],[60,0]],[[1,0]],[[1,0]],[[1,0]]];&lt;br /&gt;&lt;br /&gt;for wlist in targetv:&lt;br /&gt; __for w in wlist:&lt;br /&gt;   ____print w&lt;br /&gt;&lt;br /&gt;おかしい出力例（タプル）：&lt;br /&gt;(1, 0)&lt;br /&gt;(60, 0)&lt;br /&gt;(1, 0)&lt;br /&gt;(60, 0)&lt;br /&gt;(1, 0)&lt;br /&gt;(60, 0)&lt;br /&gt;(1, 0)&lt;br /&gt;(60, 0)&lt;br /&gt;(1, 0)&lt;br /&gt;(60, 0)&lt;br /&gt;(1, 0)&lt;br /&gt;(60, 0)&lt;br /&gt;(1, 0)&lt;br /&gt;(60, 0)&lt;br /&gt;(1, 0)&lt;br /&gt;(60, 0)&lt;br /&gt;(1, 0)&lt;br /&gt;(60, 0)&lt;br /&gt;(1, 0)&lt;br /&gt;(60, 0)&lt;br /&gt;(1, 0)&lt;br /&gt;(60, 0)&lt;br /&gt;(1, 0)&lt;br /&gt;(60, 0)&lt;br /&gt;(1, 0)&lt;br /&gt;(60, 0)&lt;br /&gt;(1, 0)&lt;br /&gt;(60, 0)&lt;br /&gt;1&lt;br /&gt;0&lt;br /&gt;(1, 0)&lt;br /&gt;(60, 0)&lt;br /&gt;1&lt;br /&gt;0&lt;br /&gt;(1, 0)&lt;br /&gt;(60, 0)&lt;br /&gt;(1, 0)&lt;br /&gt;(60, 0)&lt;br /&gt;1&lt;br /&gt;0&lt;br /&gt;1&lt;br /&gt;0&lt;br /&gt;1&lt;br /&gt;0&lt;br /&gt;&lt;br /&gt;意図する出力（リスト）：&lt;br /&gt;[1, 0]&lt;br /&gt;[60, 0]&lt;br /&gt;[1, 0]&lt;br /&gt;[60, 0]&lt;br /&gt;[1, 0]&lt;br /&gt;[60, 0]&lt;br /&gt;[1, 0]&lt;br /&gt;[60, 0]&lt;br /&gt;[1, 0]&lt;br /&gt;[60, 0]&lt;br /&gt;[1, 0]&lt;br /&gt;[60, 0]&lt;br /&gt;[1, 0]&lt;br /&gt;[60, 0]&lt;br /&gt;[1, 0]&lt;br /&gt;[60, 0]&lt;br /&gt;[1, 0]&lt;br /&gt;[60, 0]&lt;br /&gt;[1, 0]&lt;br /&gt;[60, 0]&lt;br /&gt;[1, 0]&lt;br /&gt;[60, 0]&lt;br /&gt;[1, 0]&lt;br /&gt;[60, 0]&lt;br /&gt;[1, 0]&lt;br /&gt;[60, 0]&lt;br /&gt;[1, 0]&lt;br /&gt;[60, 0]&lt;br /&gt;[1, 0]&lt;br /&gt;[1, 0]&lt;br /&gt;[60, 0]&lt;br /&gt;[1, 0]&lt;br /&gt;[1, 0]&lt;br /&gt;[60, 0]&lt;br /&gt;[1, 0]&lt;br /&gt;[60, 0]&lt;br /&gt;[1, 0]&lt;br /&gt;[1, 0]&lt;br /&gt;[1, 0]&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8554575692047858739-3882406497107291662?l=teraapi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://teraapi.blogspot.com/feeds/3882406497107291662/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8554575692047858739&amp;postID=3882406497107291662' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/3882406497107291662'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/3882406497107291662'/><link rel='alternate' type='text/html' href='http://teraapi.blogspot.com/2008/08/python.html' title='Pythonではまった'/><author><name>teraapi</name><uri>http://www.blogger.com/profile/03638774670842212217</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8554575692047858739.post-647777297277022758</id><published>2008-08-08T17:19:00.003+09:00</published><updated>2008-08-08T17:25:42.921+09:00</updated><title type='text'>3D単語</title><content type='html'>transparentはテクスチャ等、transparencyは透過度。パラメタで判断。&lt;br /&gt;&lt;br /&gt;Ambient 環境光(周囲光)&lt;br /&gt;Diffuse 拡散光&lt;br /&gt;emission  自己照明&lt;br /&gt;Power 反射光の強さ&lt;br /&gt;reflective  反射的&lt;br /&gt;reflectivity 反射率&lt;br /&gt;Shiness 反射強度&lt;br /&gt;Specular 反射光&lt;br /&gt;transparent 透明&lt;br /&gt;transparency 透明&lt;br /&gt;index of refraction 屈折率&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8554575692047858739-647777297277022758?l=teraapi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://teraapi.blogspot.com/feeds/647777297277022758/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8554575692047858739&amp;postID=647777297277022758' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/647777297277022758'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/647777297277022758'/><link rel='alternate' type='text/html' href='http://teraapi.blogspot.com/2008/08/3d.html' title='3D単語'/><author><name>teraapi</name><uri>http://www.blogger.com/profile/03638774670842212217</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8554575692047858739.post-7538028999118597426</id><published>2008-08-03T04:01:00.002+09:00</published><updated>2008-08-03T04:03:02.512+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='link スタティック'/><category scheme='http://www.blogger.com/atom/ns#' term='static'/><category scheme='http://www.blogger.com/atom/ns#' term='静的リンク'/><category scheme='http://www.blogger.com/atom/ns#' term='リンク'/><category scheme='http://www.blogger.com/atom/ns#' term='boost'/><title type='text'>boostを静的リンクするには</title><content type='html'>boostをスタティクリンクするには、BOOST_PYTHON_STATIC_LIBを宣言しておく&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8554575692047858739-7538028999118597426?l=teraapi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://teraapi.blogspot.com/feeds/7538028999118597426/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8554575692047858739&amp;postID=7538028999118597426' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/7538028999118597426'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/7538028999118597426'/><link rel='alternate' type='text/html' href='http://teraapi.blogspot.com/2008/08/boost.html' title='boostを静的リンクするには'/><author><name>teraapi</name><uri>http://www.blogger.com/profile/03638774670842212217</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8554575692047858739.post-417301683713093481</id><published>2008-05-19T00:10:00.002+09:00</published><updated>2008-05-19T00:23:39.786+09:00</updated><title type='text'>Google App Engineで簡単に日本時間(JST)を扱う方法</title><content type='html'>templateで表示するだけならば簡単&lt;br /&gt;&lt;br /&gt;&lt;a href="http://dateconv4gae.googlecode.com/svn/trunk/DateConvModule.py"&gt;DateConvModule.py&lt;/a&gt;を同一フォルダにダウンロード&lt;br /&gt;&lt;br /&gt;あとはテンプレートのレンダリング(template.render(...)の前に一行追加template.register_template_library('DateConvModule')&lt;br /&gt;と書くだけ（&lt;a href="http://code.google.com/p/dateconv4gae/"&gt;例&lt;/a&gt;）&lt;br /&gt;template.htmlで{{now|&lt;strong&gt;toJst&lt;/strong&gt;|date:"m/d H:i"}}と書けば現在時刻が05/19 00:15のように表示される&lt;br /&gt;もちろん{{created|toJst}}でもいいし、{{now|toJst|date:"Y/m/d H:i"}}みたいに書いても良い&lt;br /&gt;nowはUTCの変数ならなんでもよい。datastoreの&lt;span class="argname"&gt;auto_now_add=Trueで追加した時刻も可能。&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;app.yamlの変更は必要ないし、ライセンスもpublic domainで使いやすい&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8554575692047858739-417301683713093481?l=teraapi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://teraapi.blogspot.com/feeds/417301683713093481/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8554575692047858739&amp;postID=417301683713093481' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/417301683713093481'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8554575692047858739/posts/default/417301683713093481'/><link rel='alternate' type='text/html' href='http://teraapi.blogspot.com/2008/05/google-app-enginejst.html' title='Google App Engineで簡単に日本時間(JST)を扱う方法'/><author><name>teraapi</name><uri>http://www.blogger.com/profile/03638774670842212217</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
