フォーチュンサモナーズ
«前の日記(2008-04-25) 最新 次の日記(2008-05-01)» 編集

Don'tStopMusic

2003|07|08|09|10|11|12|
2004|01|02|03|04|05|06|07|08|09|10|11|12|
2005|01|02|03|04|05|06|07|08|09|10|12|
2006|01|02|03|04|05|07|08|09|10|11|12|
2007|01|02|03|04|05|06|07|08|09|10|11|12|
2008|01|02|03|04|05|06|

カテゴリ別 2003年 | 2004年 | 2005年 | 2006年 | 2007年 | 2008年

知り合いサイト: よんだもの / 暴想 / Linuxでやる夫 / 新宿Vipper / 僕だけが幸せになればいいのに。


2008-04-30

_ [] 翻訳の作法を読んだ このエントリーを含むブックマーク

著者は東大大学院の准教授の方で、この本は東大教養学部の「翻訳論」の講義を基にしているとのこと。EXERCISE があったりするのが教科書的といえばそうですが、教科書に良く見られるような硬直した文章ではありませんので、翻訳術のあれこれについて楽しみながら読み進められます。

私がその目的で読んだのですが、原文で文学を読んでみたいという人も一読すると取っ掛かりになるかもしれません。

文芸作品の翻訳はどのように行うか。V・S・ナイポール、カズオ・イシグロ、ヴァージニア・ウルフ...など、英文学の名作に即して翻訳の技術を解説、語学学習や文化的側面の関わりからも論じる。豊富な練習問題をこなしながら、自然に理解が深まる入門書。

Amazon.co.jp: 翻訳の作法: 斎藤 兆史: 本

翻訳の作法

_ [ruby] ruby 1.8.7 pre2 で activerecord-2.0.2 のテストを実行すると割りと失敗してる件 このエントリーを含むブックマーク

ちょっと気になったので sqlite3 で実行してみました。

$ ruby187 -I connections/native_sqlite3 -e 'Dir["**/*_test.rb"].each { |path| require path }'
(略)
1190 tests, 4149 assertions, 5 failures, 7 errors

ほとんど Enumerator 関係のエラーでした。ちなみに 1.8.6 では 0F0E です。

  1) Failure:
test_has_many_and_belongs_to_many_callbacks_for_save_on_parent(AssociationCallbacksTest)
    [./associations/callbacks_test.rb:131:in `test_has_many_and_belongs_to_many_callbacks_for_save_on_parent'
     /usr/local/lib/ruby/gems/1.8/gems/mocha-0.5.5/lib/mocha/test_case_adapter.rb:19:in `__send__'
     /usr/local/lib/ruby/gems/1.8/gems/mocha-0.5.5/lib/mocha/test_case_adapter.rb:19:in `run']:
<1> expected but was
<#<Enumerable::Enumerator:0xb755c348>>.
 
  2) Failure:
test_except_attributes(BasicsTest)
    [./base_test.rb:1685:in `test_except_attributes'
     /usr/local/lib/ruby/gems/1.8/gems/mocha-0.5.5/lib/mocha/test_case_adapter.rb:19:in `__send__'
     /usr/local/lib/ruby/gems/1.8/gems/mocha-0.5.5/lib/mocha/test_case_adapter.rb:19:in `run']:
<["author_name",
 "type",
 "id",
 "approved",
 "replies_count",
 "bonus_time",
 "written_on",
 "content",
 "author_email_address",
 "parent_id",
 "last_read"]> expected but was
<["author_name",
 "id",
 "approved",
 "type",
 "replies_count",
 "bonus_time",
 "parent_id",
 "content",
 "written_on",
 "last_read",
 "author_email_address"]>.
 
  3) Failure:
test_include_attributes(BasicsTest)
    [./base_test.rb:1697:in `test_include_attributes'
     /usr/local/lib/ruby/gems/1.8/gems/mocha-0.5.5/lib/mocha/test_case_adapter.rb:19:in `__send__'
     /usr/local/lib/ruby/gems/1.8/gems/mocha-0.5.5/lib/mocha/test_case_adapter.rb:19:in `run']:
<["title", "author_name", "type", "id", "approved"]> expected but was
<["title", "author_name", "id", "approved", "type"]>.
 
  4) Failure:
test_quote_chars(BasicsTest)
    [./base_test.rb:1238:in `test_quote_chars'
     /usr/local/lib/ruby/gems/1.8/gems/mocha-0.5.5/lib/mocha/test_case_adapter.rb:19:in `__send__'
     /usr/local/lib/ruby/gems/1.8/gems/mocha-0.5.5/lib/mocha/test_case_adapter.rb:19:in `run']:
<#<Enumerable::Enumerator:0xb620b398>>
expected to be kind_of?
<ActiveSupport::Multibyte::Chars> but was
<Enumerable::Enumerator>.
 
  5) Error:
test_to_xml_including_has_many_association(BasicsTest):
NoMethodError: undefined method `[]' for #<Enumerable::Enumerator:0xb601e224>
    /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/core_ext/string/access.rb:43:in `first'
    ./base_test.rb:1613:in `test_to_xml_including_has_many_association'
    /usr/local/lib/ruby/gems/1.8/gems/mocha-0.5.5/lib/mocha/test_case_adapter.rb:19:in `__send__'
    /usr/local/lib/ruby/gems/1.8/gems/mocha-0.5.5/lib/mocha/test_case_adapter.rb:19:in `run'
 
  6) Error:
test_to_xml_including_methods(BasicsTest):
NoMethodError: undefined method `[]' for #<Enumerable::Enumerator:0xb60163bc>
    /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/core_ext/string/access.rb:43:in `first'
    ./base_test.rb:1670:in `test_to_xml_including_methods'
    /usr/local/lib/ruby/gems/1.8/gems/mocha-0.5.5/lib/mocha/test_case_adapter.rb:19:in `__send__'
    /usr/local/lib/ruby/gems/1.8/gems/mocha-0.5.5/lib/mocha/test_case_adapter.rb:19:in `run'
 
  7) Error:
test_to_xml_including_multiple_associations(BasicsTest):
NoMethodError: undefined method `[]' for #<Enumerable::Enumerator:0xb6009dec>
    /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/core_ext/string/access.rb:43:in `first'
    ./base_test.rb:1652:in `test_to_xml_including_multiple_associations'
    /usr/local/lib/ruby/gems/1.8/gems/mocha-0.5.5/lib/mocha/test_case_adapter.rb:19:in `__send__'
    /usr/local/lib/ruby/gems/1.8/gems/mocha-0.5.5/lib/mocha/test_case_adapter.rb:19:in `run'
 
  8) Error:
test_to_xml_including_multiple_associations_with_options(BasicsTest):
NoMethodError: undefined method `[]' for #<Enumerable::Enumerator:0xb6001d7c>
    /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/core_ext/string/access.rb:43:in `first'
    ./base_test.rb:1663:in `test_to_xml_including_multiple_associations_with_options'
    /usr/local/lib/ruby/gems/1.8/gems/mocha-0.5.5/lib/mocha/test_case_adapter.rb:19:in `__send__'
    /usr/local/lib/ruby/gems/1.8/gems/mocha-0.5.5/lib/mocha/test_case_adapter.rb:19:in `run'
 
  9) Error:
test_to_xml_skipping_attributes(BasicsTest):
NoMethodError: undefined method `[]' for #<Enumerable::Enumerator:0xb5ff8de4>
    /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/core_ext/string/access.rb:43:in `first'
    ./base_test.rb:1602:in `test_to_xml_skipping_attributes'
    /usr/local/lib/ruby/gems/1.8/gems/mocha-0.5.5/lib/mocha/test_case_adapter.rb:19:in `__send__'
    /usr/local/lib/ruby/gems/1.8/gems/mocha-0.5.5/lib/mocha/test_case_adapter.rb:19:in `run'
 
 10) Error:
test_to_xml_with_block(BasicsTest):
NoMethodError: undefined method `[]' for #<Enumerable::Enumerator:0xb5ff5a54>
    /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/core_ext/string/access.rb:43:in `first'
    ./base_test.rb:1679:in `test_to_xml_with_block'
    /usr/local/lib/ruby/gems/1.8/gems/mocha-0.5.5/lib/mocha/test_case_adapter.rb:19:in `__send__'
    /usr/local/lib/ruby/gems/1.8/gems/mocha-0.5.5/lib/mocha/test_case_adapter.rb:19:in `run'
 
 11) Error:
test_errors_to_xml(ValidationsTest):
NoMethodError: undefined method `[]' for #<Enumerable::Enumerator:0xb5eba02c>
    /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/core_ext/string/access.rb:43:in `first'
    ./validations_test.rb:1234:in `test_errors_to_xml'
    /usr/local/lib/ruby/gems/1.8/gems/mocha-0.5.5/lib/mocha/test_case_adapter.rb:19:in `__send__'
    /usr/local/lib/ruby/gems/1.8/gems/mocha-0.5.5/lib/mocha/test_case_adapter.rb:19:in `run'

rails の ML は読んでないので分かりませんが、すでに 1.8.7 対応はチケット切られてるんでしょうかね。

お名前:
E-mail:
コメント:
[]

最近のコメント:

  1. だて (04-11)
  2. さく (04-11)

RSS
Creative Commons License
This work is licensed under a Creative Commons License
(note: text only. w/o web design, citations, (re)distributed softwares).