perl, jsmala さんの CPAN 最速検索を便利に使わせてもらってるんですが,操作上ちょっと不満なところがいくつかありまして。カーソルキーのオートリピートがきかないホイールがきかない 候補の同時表示数が固定Firefox だからかもしれないですけど。んで改造し... 続きを読む
I’m ready to bet that setting up and deleting remote branches is something you do rarely enough that you always find yourself looking up the documentation. Or maybe it’s just me. Due to its roots, Git supports a wide array of usage scenario... 続きを読む
ループ処理 mod_rewrite でループ処理を行うには、[N] (next) フラグを利用する。たとえば、/hoge/1/bar/2/baz/3/ を /hoge/index.cgi?foo=1&bar=2&baz=3 としたい (その際、パラメータの個数が不定) 場合、下記の通り記述する。"QSA" (query string append) フ... 続きを読む
This tutorial will show you how to make a beautiful lighting effect on scatters by using Photoshop. Keep in mind that I only provide the basic guidelines to creating this type of effect. There are tons of possibilities if you spend time to pl... 続きを読む
Ruby, AP4R最近リリース作業が面倒になってきたので、より気軽にリリースができるよう hoe を導入しようと思います。そうすればきっと頻繁にリリースする気にもなるはず。newgem なんかもありますが、まずはシンプルに行ってみます。 hoe をインストール % sudo... 続きを読む
A long time ago, on an internet far away, publishing code to RubyForge was a scary thing to do. Fortunately, Ryan Davis has remedied that situation by writing hoe, a set of rake tasks for testing, packaging, and releasing RubyGems. After a bi... 続きを読む
Flashオーサリング環境を使用せず、Flex SDKを使うなどしてActionScript?ファイルだけでFlashコンテンツを作っていく場合のフォントの埋め込み方について調べています。 ひとまず、ActionScript3.0のみでFlashを作る場合のフォントの埋め込み方に関しては基本的... 続きを読む
かなり前の EIZO 19インチ (FlexScan L465) 液晶をずっと使っているんだけど、最高に安物の DELL 液晶よりも視認性が悪い。並べて使ってるので気になりまりまくる。EIZO のほう、なんかぼんやりしてる。 しかも、L465 は DVI 接続、DELL は D-Sub アナログなの... 続きを読む
画像の顔認識は5年くらい前に一度チャレンジしてあまりの遅さに1日で挫折したことがあったけど、この OpenCV は精度と速度ともに申し分ない。解説サイト(参考4)によると、よくある顔のパーツからの認識ではなく、Local Context というアルゴリズム(?)を使ってる... 続きを読む
昨日書いたの通り,記事を寄稿したWEB+DB PRESS Vol.37が,今日発売になりました.それを記念して(?),記事の内容が簡単に実験できるパッケージを公開します. これは,VMWareを使って,だれでも直ぐにロードバランサの実験を始められるパッケージになっていま... 続きを読む
妻から音楽DVDの中の好きな楽曲をiPodに入れたいと言われて、以前はやっていたのに手順を忘れたな……という感じなので、思い出しつつメモしてみました。インストール済みのフリーソフトのみを使っているので、手間はかかります。 DVD Decrypter 1.メニューのモ... 続きを読む
バージョン体系を変えようかと思ったんですが、最後のrevisionは当日の秒数を使うとかで使えないし、その前のbuildが適しているんだけどそしたらお前0.9までしかまともに指定できなくなるのでやめます。いつになったら1.0にするんだ馬鹿か。サイドバーをフロー... 続きを読む
This article provides a tutorial on integrating the Amazon S3 REST API for Ruby with the Ruby on Rails web application framework to create a web management user interface for Amazon Simple Storage Service (Amazon S3). A Developer Voice Articl... 続きを読む
Building a DSL in Ruby - Part I Domain specific languages have become such a hot topic lately that you might think they are a recent innovation. You might think that, but you would be mistaken. If a DSL is a very narrowly focused computer lan... 続きを読む
Building a DSL in Ruby, Part II Lately I have been doing a lot of web service prototyping and testing, work that involves setting up fairly complex collections of services. Sometimes I need real web services, things that will actually do some... 続きを読む
Ruby: Net::Http and open-uri August 13, 2006 Ruby has different libraries that provide higher-level access to network protocols such as FTP, HTTP or HTTPS. This article shows the usage of net::http, net::https, open-uri and the rio library. o... 続きを読む
Web 2.0 Design Kit Web 2.0 is a term coined by O’Reilly describing the new trends in design and development appearing across a flood of innovative websites. This tutorial will show you how to create some of the more popular “Web 2.0″ desig... 続きを読む
Tommy Maloney's Web 2.0 Design Kit is a tutorial about making Web 2.0 design effects using Photoshop. I ran across the tutorial just by luck and immediately recognized it as just the thing I needed for Part 2 of my Alpha Compositing tutorial.... 続きを読む
誰もが,データベースができるだけ高速で動くことを望む。そのために様々なテクニックを駆使してチューニングを試みる。 チューニングの結果を確認するには,何かしらの指標が必要となる。「体感的に向上した」というのは,まったく当てにならない。正確に性能... 続きを読む
FAKE MODEL PHOTOGRAPHY With a very little effort, you can take existing photographs of everyday scenes and make it look like they're actually of miniature models. It doesn't take much to fool the mind of the viewer, but there are a few basic ... 続きを読む