[#38447] 複素数を考慮したVectorクラス — TANAKA Kenta <c30318@...>
みなさん、はじめまして。Ruby歴(=OOP歴)1週間の田中と申します。
7 messages
2003/10/01
[#38465] diff library — Koji Arai <JCA02266@...>
新井です。
6 messages
2003/10/05
[#38470] ruby-dev summary 21403-21530 (draft) — Minero Aoki <aamine@...>
青木です。
25 messages
2003/10/07
[#38475] Re: ruby-dev summary 21403-21530 (draft)
— maili31s@... (SugHimsi==SUGIHARA Hiroshi)
2003/10/07
すぎむし。
[#38480] Re: ruby-dev summary 21403-21530 (draft)
— Minero Aoki <aamine@...>
2003/10/08
青木です。
[#38481] marshal_dump (was Re: )
— m_seki@...
2003/10/08
[#38484] Re: marshal_dump (was Re: )
— matz@... (Yukihiro Matsumoto)
2003/10/09
まつもと ゆきひろです
[#38486] Re: marshal_dump (was Re: )
— Masatoshi Seki <m_seki@...>
2003/10/09
咳といいます
[#38487] Re: marshal_dump (was Re: )
— matz@... (Yukihiro Matsumoto)
2003/10/09
まつもと ゆきひろです
[#38471] SQLite - Ruby/DBI — Kenji Machida <k-machida@...>
はじめまして。まちだと申します。
10 messages
2003/10/07
[#38485] プログラム設計方法 — Satoshi Osabe <s-osabe@...>
長部と申します。
6 messages
2003/10/09
[#38489] exit status on exit! — YANAGAWA Kazuhisa <kjana@...4lab.to>
<http://www.unixuser.org/~ysjj/diary/?200310a&to=200310082#200310082>
29 messages
2003/10/09
[#38490] Re: exit status on exit!
— Koji Arai <JCA02266@...>
2003/10/09
新井です。
[#38503] Re: exit status on exit!
— YANAGAWA Kazuhisa <kjana@...4lab.to>
2003/10/10
In Message-Id: <20031010.082218.74733862.JCA02266@nifty.ne.jp>
[#38505] Re: exit status on exit!
— Koji Arai <JCA02266@...>
2003/10/10
新井です。
[#38507] Re: exit status on exit!
— matz@... (Yukihiro Matsumoto)
2003/10/11
まつもと ゆきひろです
[#38514] Re: exit status on exit!
— YANAGAWA Kazuhisa <kjana@...4lab.to>
2003/10/11
In Message-Id: <1065883639.405037.23137.nullmailer@picachu.netlab.jp>
[#38515] Re: exit status on exit!
— WATANABE Hirofumi <eban@...>
2003/10/11
わたなべです。
[#38520] Re: exit status on exit!
— matz@... (Yukihiro Matsumoto)
2003/10/12
まつもと ゆきひろです
[#38521] Re: exit status on exit!
— nobu.nakada@...
2003/10/12
なかだです。
[#38532] Re: exit status on exit!
— matz@... (Yukihiro Matsumoto)
2003/10/13
まつもと ゆきひろです
[#38556] Re: exit status on exit!
— nobu.nakada@...
2003/10/14
なかだです。
[#38558] Re: exit status on exit!
— matz@... (Yukihiro Matsumoto)
2003/10/14
まつもと ゆきひろです
[#38560] Re: exit status on exit!
— nobu.nakada@...
2003/10/14
なかだです。
[#38561] Re: exit status on exit!
— matz@... (Yukihiro Matsumoto)
2003/10/14
まつもと ゆきひろです
[#38562] Re: exit status on exit!
— matz@... (Yukihiro Matsumoto)
2003/10/14
まつもと ゆきひろです
[#38566] Re: exit status on exit!
— nobu.nakada@...
2003/10/14
なかだです。
[#38522] Re: exit status on exit!
— Takahiro Kambe <taca@...>
2003/10/12
In message <20031011.003250.41649947.JCA02266@nifty.ne.jp>
[#38499] Amrita と mod_ruby の相性は ? — 山本 達也 <rcn@...>
山本(rcn)@ntt〜kddi です。こんにちは。
5 messages
2003/10/10
[#38510] ロックしたファイルの書き換え — Akimichi Tatsukawa <akimichi@...>
ruby-listの皆さん、こんにちは。立川察理と申します。
8 messages
2003/10/11
[#38524] Object#instance_eval and private — Masao Mutoh <mutoh@...>
むとうです。
6 messages
2003/10/12
[#38527] ruby-dev summary 21531-21607 (draft) — Kazuo Saito <ksaito@...>
斉藤です。
7 messages
2003/10/13
[#38580] ruby-mysql-0.2.1でのwarning — Takashi Kanai <kanai@...4u.or.jp>
こんにちは、金井です。
11 messages
2003/10/16
[#38581] Re: ruby-mysql-0.2.1でのwarning
— Takashi Kanai <kanai@...4u.or.jp>
2003/10/16
金井です。
[#38582] ruby-mysql-0.2.1でlocalhostがエラー
— Takashi Kanai <kanai@...4u.or.jp>
2003/10/16
こんにちは、金井です。
[#38590] mod_rubyでのSTDOUTについて — 堀川 久 <vzw00011@...>
こんにちは。
10 messages
2003/10/16
[#38607] [ANN] ReFe 0.8.0 — Minero Aoki <aamine@...>
青木です。
4 messages
2003/10/17
[#38614] cygwin の uconv で Segmentation fault — Beyond <beyond@...>
9 messages
2003/10/20
[#38619] dl and win32 API call — arton <artonx@...>
artonです。
5 messages
2003/10/20
[#38621] ruby-dev summary 21608-21636 (draft) — Masayoshi Takahashi <maki@...>
高橋です。
5 messages
2003/10/20
[#38636] gethostbyname — Takeshi Honda <moecho21@...>
お世話になります。
7 messages
2003/10/23
[#38643] C/C++ からメソッドを呼びたいのですが — phosrin <phosrin@...>
りんです。よろしくお願いします。
7 messages
2003/10/23
[#38645] snap shot の make install でエラー — Takeshi Honda <moecho21@...>
お世話になります。
1 message
2003/10/23
[#38646] install trouble of ruby 1.8 and rdtools 0.6.14 — Kominami Yasuo <NBC00224@...>
はじめまして、小南と言います。
5 messages
2003/10/23
[#38656] Ruby/Tkの終了時の挙動 — Shigeaki Kinoshita <QZT05560@...>
木下と申します。
8 messages
2003/10/25
[#38663] Re: Ruby/Tkの終了時の挙動
— Hidetoshi NAGAI <nagai@...>
2003/10/25
永井@知能.九工大です.
[#38661] 'Using the Ruby DBI Module' 日本語訳 — KUBO Takehiro <kubo@...>
久保@茅ヶ崎市です。
1 message
2003/10/25
[#38662] 空行で別れたデータから特定の文字を含むデータを削除したい —
竹島と申します。
5 messages
2003/10/25
[#38689] cgi.params のデフォルト値 — Kazuhiro Yoshida <moriq@...>
もりきゅうです。
6 messages
2003/10/28
[#38701] space before argument parentheses warning — Toshi Isogai <tisogai@...>
先日 ruby 1.8 を コンパイルして、以前から 1.6.7 使っていたスクリプトを走らせた
4 messages
2003/10/30
[#38706] ruby-1.8.1でenctypeのときのcgi.params — Takashi Kanai <kanai@...4u.or.jp>
こんにちは、金井です。
6 messages
2003/10/31
[ruby-list:38527] ruby-dev summary 21531-21607 (draft)
From:
Kazuo Saito <ksaito@...>
Date:
2003-10-13 07:48:17 UTC
List:
ruby-list #38527
斉藤です。
今週分の ruby-dev summary です。
一応、ruby-list の方むけに、サマライズのルールを挙げておきます。
(1)bug修正のみのスレッドは基本的に外す。
大きな仕様変更などで流しておきたい、意見が欲しい、などの
リクエストがあれば入れる。
(2)結論が確定してなければ次回に回しても可(私だけ?:-)。
今回 autoload の問い合わせは抜きました。
(3)土曜か日曜に draft を出す。月曜か火曜くらいには
ruby-talkへ。ruby-devの全記事網羅よりは週刊を厳守。
(4)流せる記事が少なければ、次週に持ち越し。
です。というわけで、一日遅れててすみませんが、添削お願いします。
今回は休日出勤中にコソコソ書いてる(笑)ので間違いの指摘が
多いかもしれません。水曜には出したい、です。
=begin
[ruby-dev:21531] O_ACCMODE
Tanaka Akira added a constant Fcntl::O_ACCMODE defined in POSIX fcntl.h to
ext/fcntl module.
[ruby-dev:21538] rb_frame_last_func for alias method
In the method added alias, rb_frame_last_func() returns
the ID for the alias name in 1.8.0 release. In 1.6.0,
this returns the ID for the original name.
Kazuhiro Yoshida asked how to get original name ID and
Matz recommended to include "env.h" and get the ID from
ruby_frame->orig_func.
[ruby-dev:21543] Enumerator
From request for adding Enumerator to latest CVS tree by Akinori MUSHA,
Koji Arai and him discuss when
and how to add new libraries into Ruby main tree. The
libraries are in rough/ directory separately.
At this time they have the same opinion that it will
be a good help for both library developers and users to
bundle it with main development(unstable) CVS tree early.
Arai said that the library will have an opportunity for
appeal, evaluation and refinement, but it should already
has reasonable maturity for compilation and execution.
MUSHA also mentioned the library developer should also provide backward
compatibility, such as API compatibility and stand-alone distribution of
the library for old Ruby versions.
[ruby-dev:21590] extend with marshal_dump/marshal_load
NAKAMURA, Hiroshi and Matz talked about keeping 'extend' information of
marshaled object. It is
ignored by default. When users define original marshal_dump and
marshal_load, they are responsible
for supporting the information by themselves.
Matz showed us an example how to dump and load such objects
correctly in [ruby-dev:21593]. In following example, objects
of class Quux can be dumped and loaded. Notice that class Foo
and Bar does not needed to concern about marshaling 'extend' info.
This example is already applied some patches by NaHi in
[ruby-dev:21595] to original one:
----
class Foo
def initialize
@data_a = 1
@r, @w = IO.pipe
end
def marshal_dump
@data_a
end
def marshal_load(obj)
@data_a = obj
@r, @w = IO.pipe
end
end
class Bar < Foo
def initialize
super
@data_b = 2
end
def marshal_dump
[super, @data_b]
end
def marshal_load(data)
super(data[0])
@data_b = data[1]
end
end
module ExtendMarshal
def marshal_dump
base_data = super
extends = (class << self; self; end).ancestors - self.class.ancestors -
[ExtendMarshal]
data = {:modules => extends, :base => base_data}
extends.each do |m|
m.instance_method(:marshal_dump_extend).bind(self).call(data)
end
data
end
def marshal_load(data)
extends = data[:modules]
extends.reverse_each do |m|
self.extend(m)
m.instance_method(:marshal_load_extend).bind(self).call(data)
end
super(data[:base])
end
end
module Baz
include ExtendMarshal
def marshal_dump_extend(data)
data[:Baz] = 42
end
def marshal_load_extend(data)
@baz_data = data[:Baz]
end
end
class Quux<Bar
include ExtendMarshal
end
o1 = Quux.new
o1.extend(Baz)
o2 = Marshal.load(Marshal.dump(o1))
p o1
p o2
=end
--
Kazuo Saito <ksaito@uranus.dti.ne.jp>