東南アジアを旅行する私たち、予防接種は必要なのかな?そこで、財団法人日本検疫衛生協会横浜診療所(電話045-671-7041)に相談に行きました。
都会だけに滞在するなら予防接種はほとんど必要なし。でも、田舎の方に行きたいなら必要。先生が必要だと言ったのは以下。
| 種類 | 1回の料金 | 必要回数 |
| A型肝炎 | ¥8,700 | 2回+追加 |
| B型肝炎 | ¥8,700 | 2回+追加 |
| 狂犬病 | ¥6,400 | 2回+追加 |
| 日本脳炎 | ¥3,000 | 1回 |
| 破傷風 | ¥2,800 | 1回 |
先生に言われた予防接種を全部やるとナント1人当たり¥77,200!!!!!うっそ~。東南アジアで何日暮らせる?ってカンジです。結局A型肝炎の予防接種だけを受けることにしました。それでも1人¥17,400、トホホ痛い出費です。
Bragging Rights - Change you are proud of
Paul put it well when he said to me: “The top of Maslow’s pyramid is self-actualization…in some ways I think we like to achieve self-actualization through our code, [such that] in years to come, maintenance programmers will stumble upon this architecture and exclaim, ‘Wow, Scott was here.’”
Are you writing software or crafting software? When does your craft become art?
This is a noble and certainly attractive goal, but is one that should be attempted only after the basic needs are met.
“本物のマクロ”でCのコード行数を半分に! - @IT
“ マクロの威力を示した川合氏だが、「だからといって今日うちに帰ってすぐに自分のプログラムをマクロで書き換えろという話ではない」と釘も刺す。「マクロは劇薬」(川合氏)だからだ。現在翻訳作業中の書籍「Programming Clojure」(Stuart Halloway著)の中から川合氏は、マクロに関する警句を引用する(ClojureはJVM上のLisp方言実装)。いわく、“マクロ倶楽部”には2つのルールと1つの例外があるという。
ルール1:マクロは書くな
ルール2:それがパターンをカプセル化する唯一の方法ならば、マクロを書け
例外:同等の関数に比べて、呼び出し側が楽になるならば、マクロを書いても構わない
“
■他の言語になれた人がRubyに躓く n のポイント
Ruby はちょっと特殊なプログラミング言語なので,他の言語になれた人は,ちょっと戸惑うかもしれません.そんな躓きそうなポイントを紹介していきます.
□オブジェクト指向
Ruby はプロトタイプ型オブジェクト指向です.オブジェクトにメソッドを定義し,それを dup によって複製しながらオブジェクトを作っていきます.
and apply the usual schema manipulation functions (such as
mnesia:add_table_copy/3, mnesia:del_table_copy/2
and mnesia:change_table_copy_type/2) on each fragment
to perform the actual re-distribution.
the number of replicas with storage type ram_copies, disc_copies and disc_only_copies respectively. The actual values are dynamically derived from the first fragment. The first fragment serves as a pro-type and when the actual values needs to be computed (e.g. when adding new fragments) they are simply determined by counting the number of each replicas for each storage type. This means, when the functions mnesia:add_table_copy/3, mnesia:del_table_copy/2 andmnesia:change_table_copy_type/2 are applied on the first fragment, it will affect the settings on n_ram_copies, n_disc_copies, and n_disc_only_copies.
a hash value from the record key. Secondly the name of the
table fragment is determined from the hash value. And
finally the actual table access is performed by the same
functions as for non-fragmented tables. When the key is
not known beforehand, all fragments are searched for
matching records. Note: In ordered_set tables
the records will be ordered per fragment, and the
the order is undefined in results returned by select and
match_object.
2008-10-07buyobuyo?s fotolifeこれは声に出して読みたい。
pw - (primary write quorum) how many replicas to commit to primary nodesbefore returning a successful response
pr - how many primary replicas need to be online when doing the read(default is defined by the bucket)
