From 2317d06c99d5733c0f52fd3f776fe2be2fa359c3 Mon Sep 17 00:00:00 2001 From: Masatoshi SEKI Date: Sun, 20 May 2012 02:47:22 +0900 Subject: [PATCH 1/4] no comment --- .../README.md | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 seki-a_few_things_i_learned_from_XtAddInput/README.md diff --git a/seki-a_few_things_i_learned_from_XtAddInput/README.md b/seki-a_few_things_i_learned_from_XtAddInput/README.md new file mode 100644 index 0000000..5d0a985 --- /dev/null +++ b/seki-a_few_things_i_learned_from_XtAddInput/README.md @@ -0,0 +1,33 @@ +# A few things I learned from XtAddInput +# XtAddInputから学んだこと。 + +My talk description +Translate me! + +発表概要 (talk description in Japanese; optional) +GUIとソケット(などの)通信を絡めたアプリケーションを20年ほど書いている。 +古き良きXtにおいて、GUIに非同期通信の機能を追加するプリミティブがXtAddInput()である。 +XtAddInput()は関心のあるファイル記述子がreadable/writableになるたびにコールバックする。 +XtAddInput()にノンブロックモードのファイルを与えることで容易に非同期通信ができるわけだが、実際にはさまざまな罠が待ち受けている。 + +本発表ではXtでの非同期通信のしくみと問題のパターンを示しつつ、dRubyというライブラリの実装を例にRubyで同じ問題をどのように解いたか、また、こういった通信プログラム一般の問題に斜め上の視点を与えるDripの戦略についても説明する。 + +最近は再度、モノスレッド、コールバックスタイルのノードなんとか(すみません詳しく知りません)というしくみが流行っているらしいので、若者の話に混ぜてもらいたいです。 + + +- Preferred presentation day: [9/14 | 9/15] (最終日は体力的にあやしいです) +- Presentation language: 日本語 + +## Masatoshi SEKI +## 関将俊 + +## tochigi test no kaigi +## とちぎテストの会議 + +a Ruby committer and an author of several Ruby standard libraries including dRuby, eRuby, and Rinda. He's an expert in object-oriented programming, distributed systems, and eXtreme programming. His favorite Ruby methods are "method_missing" and "inject". +プロフィール (bio in Japanese; optional) + +- [My website](https://github.com/seki) +- [My twitter](https://twitter.com/#!/m_seki) +- [Past talk slides](http://www.example.org) +- [Past talk video](http://www.example.org) From fa0b701e4130c2fb0ccbcc0bd36ab789d6da3443 Mon Sep 17 00:00:00 2001 From: Masatoshi SEKI Date: Sun, 20 May 2012 13:52:23 +0900 Subject: [PATCH 2/4] @mrkn thanks --- seki-a_few_things_i_learned_from_XtAddInput/README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/seki-a_few_things_i_learned_from_XtAddInput/README.md b/seki-a_few_things_i_learned_from_XtAddInput/README.md index 5d0a985..45ca079 100644 --- a/seki-a_few_things_i_learned_from_XtAddInput/README.md +++ b/seki-a_few_things_i_learned_from_XtAddInput/README.md @@ -2,7 +2,14 @@ # XtAddInputから学んだこと。 My talk description -Translate me! +I've written applications using GUI and socket communication techniques for about 20 years. +In good old Xt, XtAddInput() is a primitive to append functionalities of asynchronous communication into GUI. +XtAddInput() calls functions back every time that a file-descriptor you are interested in becomes readable/writable. +Although it makes asynchronous communication easy that passing a non-block file to XtAddInput(), +in fact, there are various traps about that. + +I will show you the mechanism of asynchronous communication and the pattern of the problem in Xt, and how I solve the same problem in dRuby. +I will also describe the strategy of Drip that gives you the unordinary viewpoint of the general problem of communication programs. 発表概要 (talk description in Japanese; optional) GUIとソケット(などの)通信を絡めたアプリケーションを20年ほど書いている。 From dc8dea6c4c4ea14b6391857b8a4c8af4c67db19d Mon Sep 17 00:00:00 2001 From: Masatoshi SEKI Date: Sun, 20 May 2012 13:59:11 +0900 Subject: [PATCH 3/4] calls back --- seki-a_few_things_i_learned_from_XtAddInput/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seki-a_few_things_i_learned_from_XtAddInput/README.md b/seki-a_few_things_i_learned_from_XtAddInput/README.md index 45ca079..da0aefc 100644 --- a/seki-a_few_things_i_learned_from_XtAddInput/README.md +++ b/seki-a_few_things_i_learned_from_XtAddInput/README.md @@ -4,7 +4,7 @@ My talk description I've written applications using GUI and socket communication techniques for about 20 years. In good old Xt, XtAddInput() is a primitive to append functionalities of asynchronous communication into GUI. -XtAddInput() calls functions back every time that a file-descriptor you are interested in becomes readable/writable. +XtAddInput() calls back functions every time that a file-descriptor you are interested in becomes readable/writable. Although it makes asynchronous communication easy that passing a non-block file to XtAddInput(), in fact, there are various traps about that. From 2d2b30c0a8ac4c77b6be1791f74fed2ba02b0d0a Mon Sep 17 00:00:00 2001 From: Masatoshi SEKI Date: Thu, 24 May 2012 01:22:15 +0900 Subject: [PATCH 4/4] Drip Web Service --- .../README.md | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 seki-drip_webservice_design_proposal/README.md diff --git a/seki-drip_webservice_design_proposal/README.md b/seki-drip_webservice_design_proposal/README.md new file mode 100644 index 0000000..4345c0a --- /dev/null +++ b/seki-drip_webservice_design_proposal/README.md @@ -0,0 +1,29 @@ +# Design proposal for Drip Web service +# Webサービス版Dripのデザインの提案 + +My talk description +A design proposal for Drip Web sevice. + +発表概要 (talk description in Japanese; optional) +ストリーム型ストレージ、Dripは当初からWebサービスとしても利用できることを意識していました。 +本発表ではWebサービス化する際の設計例を示します。(運用はしてません) + +自分の資金ではサービスを用意することができないので、もしマシンを複数借りれるならこんな風にするだろう、という夢物語です。 + + +- Preferred presentation day: [9/14 | 9/15] (最終日は体力的にあやしいです) +- Presentation language: 日本語 + +## Masatoshi SEKI +## 関将俊 + +## tochigi test no kaigi +## とちぎテストの会議 + +a Ruby committer and an author of several Ruby standard libraries including dRuby, eRuby, and Rinda. He's an expert in object-oriented programming, distributed systems, and eXtreme programming. His favorite Ruby methods are "method_missing" and "inject". +プロフィール (bio in Japanese; optional) + +- [My website](https://github.com/seki) +- [My twitter](https://twitter.com/#!/m_seki) +- [Past talk slides](http://www.example.org) +- [Past talk video](http://www.example.org)