RejectKaigi2008

自分が発表したからか他のセッションあんまり憶えてない。

Illustratorプレゼンテーション

発表しました。RejectKaigi'08 後半 - ニコニコ動画冒頭

プレゼンソース

#!/usr/bin/ruby -Ks
# 私製プレゼンテイション: イラストレータールビー、フォントどうしよう
# $Id: rubyKaigi2008.rb 3177 2008-06-23 02:20:52Z hs9587 $
# $Name$
require 'PresentationIllustruby'
require 'snowflower_demo.rb'; $delay = 0

contents = DATA.inject([]) do |result, content|
  result << Content.new(*(content.split(',').map{|str| eval str}))
end # DATA.inject([]) do |contents, content|
Presentation.new(contents) do |presentation|
   presentation.run
end # Presentation.new(contents) do |presentation|

__END__
"    Reject\r     Kaigi\r     2008", 'font_size *= 1.1', :text
"  Illustrator\r プレゼンテ\r   ーション", 'font_size *= 1.1', :text
"  自己\r  紹介", 'font_size *= 1.5', :text
"  Rubyとか\r Illustrator\r    とか", 'font_size *= 1.1', :text
"   Googる\r   「とか」\r    重要", 'font_size *= 1.1', :text
" Illustrator\r     で", 'font_size *= 1.4', :text
"  高橋\r メソッド", 'font_size *= 1.5', :text
" プレゼン\r ツール", 'font_size *= 1.5', :text
"   Illustrator\r  Win32OLE\r     Ruby", 'font_size *= 1.0'
" こんな\r ことも", 'font_size *= 1.5', :text, '@document.ArtStyles.item(5).ApplyTo(item)'
" こんな\r ことも", 'font_size *= 1.5', :text, '@document.ArtStyles.item(3).ApplyTo(item)'
"<%=1+2*3%>\r計算も\r出来る", 'font_size *= 1.0', :text, 'item.TextRange.Paragraphs.each{ |p| p.Justification = 3}; item.Position = position.to_a'
" 写真も\r 置ける", 'font_size *= 1.5', :text
'C:\Documents and Settings\hs9587\My Documents\My Pictures\snowcrystal.jpg', 'left_margin = 0.03', :raster
"  図も\r 書ける", 'font_size *= 1.5', :text
"item = SnowCrystal.new(XV)\n item.crystal_0\n item.crystal_1", " item.crystal_2\n  item.crystalize_0", :eval, "item.crystalization_0(:newlayer)\n item.crystalization_1", '@illustrator.ActiveDocument.Close(2)'
"おしまい", 'font_size *= 1.9', :text, '@document.ArtStyles.item(9).ApplyTo(item)'

発表のときにも言いましたが、センタリング用の水平位置指定に手で空白文字入れてるのは良くないですね。「計算も出来る」のところでは自動センタリングしてるんだし、何とかすべきです。それとフォントサイズ、最終的に手で微調整することになるのは仕方ないけど、もうちょっと最初から値を近づけとくべきでしょう。

やる夫で学ぶJRuby最適化

http://recompile.net/2008/06/jruby-3.html

要するにどっちが或はどれが良いかは、案件毎でありケースバイケースという事になるのだそうです。計測重要

Aword on Rails 2008

今年も「Aword on Rails 2008」やるとの事。

動画配信

タイトルはよく憶えていません。

兎に角、山ほど動画配信しましたという事。経験厚いRuby札幌を中心に gihyo.jp ほかの協力で基本的に全セッションを動画配信。

なんと言うか頭が下がります。