Vox does not provide uploading tools except XP. So I wrote a script to upload photos to Vox.
- vox-upload-photo.rb (requires rubygems, mechanize, hpricot)
Vox also does not provide any public APIs. This script use the interface used by XP wizard.
I think that the script should have good GUI and Finder integration but didn't make it because I have no idea to implement it. (Automator with RubyCocoa...?)
Updated:
Sorry. Vox provides API with Atom Publishing Protocol (RFC5023). Uploading like this (Atom + Basic Auth + base64) succeeds. (this atom api is in time of draft?)
Updated:
I tried Atom/AtomPub library in Ruby atomutil (great library, Atom 1.0 compatible) and write a sample code but this does not work... Server returns 500 ( Can't call method "filename" on an undefined value at /home/comet/release-40.5/vox/lib/Vox/App/C/Atom/Asset.pm line 195. and stack trace)... I can't find differences between raw-atom and atomutil....
Seems like Vox uses HTML class name to separate JS and HTML. The commands are translated to command string , (ex. command-save-post => savePost) so can't find event handlers by raw class name.
Six Apart js trac does not include scripts around /js/ArcheType... I must read compressed source... Then again only replacing jsc to js, can see non-compressed files luckily.
Why I haven't try this until now...
I updated Vox Editing with WYSIWYG or HTML alternately userscript. Now, this script just insert a button to toolbar of the composing view to run the command which is already defined in Vox JS.
Ref. Editing with WYSIWYG or HTML alternately.
Updated: Added to userscripts.org http://userscripts.org/scripts/show/17963. I'm lazy to update scripts on userscripts.org... I hope that userscripts.org updates from subversion automatically or by one-click. (updated: wrote a script...)
I made a RDoc template named "Resh". Sample: http://safeeval.rubyforge.org/
Resh is abbreviation of reshape and pronounce as le'∫.
The default template uses frames and strong colors. It is bad. Frames are ancient technology for UI, and strong colors are bad for our eyes and the red color chafes us psychologically as reading the docs. So Resh uses clear HTML and light blue color like CPAN.
Resh ignores the options --inline-source and --main.
Resh always makes inline-sourced doc. The main index.html is automatically generated from README and the class/module definitions. That is just index.
The in-lined sources are expand by clicking the area which is discreet because it is almost white. Depending on your monitor or environment the area may be hard to find until you get used to it.
Download (Hosted by CodeRepos):
svn co http://svn.coderepos.org/share/lang/ruby/rdoc/generators/template/html/resh/
$ cat ~/.gemrc
rdoc: --template path-to/resh.rb --inline-source
$ sudo gem rdoc --all --no-ri --config-file ~/.gemrc
You can also use Resh for your gems documentations by setting the option of Rake::RDocTask in your Rakefile.
rdoc.template = "path-to/resh.rb"
More information exists on CodeRepos Wiki.
一枚の RAW からできるだけ情報をひきだしてみる。画像は 2007-06-16 鎌倉のときの。複数の JPEG に現像してから Photoshop で HDR に統合した。
Photoshop でやる場合は、潰れないぎりぎりの画像を二点か三点使うことになるけど、試行錯誤のために -2 -1.5 -1 0 +1 +1.5 +2 ぐらい現像して、ダイアログでオンオフさせてヒストグラムが綺麗に広がるようにしたほうがいいっぽい。んで 32bit -> 16bit 変換のときに、ローカル割り当てのトーンカーブを頑張っていぢる。彩度あげるのは 16bit でやろうが 32bit でやろうができるので、どっちでもいいけど、変換するときのプレビューでイメージつかみやすいように先にあげたほうがいいかも。
あと、Photomatrix もためしてみたけど、少ない画像でかなり綺麗にできるなぁ。簡単で一番綺麗に見えるのができるっぽい。でもシェアウェア。





