Naotoshi Seo

Results 74 comments of Naotoshi Seo

It seems that sigdump is throwing an error at https://github.com/sonots/sigdump/blob/69e2205ab5df635b277eb11ac4b0f0d1bd752a13/lib/sigdump.rb#L60 ``` ThreadError can't be called from trap context ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/mailbox.rb:27:in `lock' ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/mailbox.rb:27:in `

Maybe when, num of concurrency is larger than number of test files.

> The correct fix, IMHO, is to remove the rescue catch all and only catch specific errors that relate to the operations the log device is doing. I agree, but...

> Bump the major version, and fix the issue correctly. Correctly being, remove the catch all. What is correct? Are you assuming we prohibit passing any IO-like objects to `logdev`...

# 良かった点 * ruby のコミット権はもらっている私ですが、ruby ハック教育を受けたことがあるわけではなかったので、他のコミッタ(というか笹田さん)がどのように開発してるかを知れて良かったです。make gdbなど知らなかったので。 * 資料がとても良かったので、社内展開できそうだな、と思ったりしました。 * 応募ページを見たときは20人は少ない、と思ってしまいましたが、参加者の質問を受けて設計相談に乗ったりするならば、このぐらいの規模が確かに適正だな、と思いました。 # 悪かった点 * 直接的には関係ないのですが、やはり C API リファレンスが充実してないのは悪い、と改めて思いました。すぐ引けるリファレンスがあれば、サポートなしでもガンガンやれるようになるのではないかと思います。 # 改善点 * C API リファレンスの充実は、自分のためにもなるので、私のほうで改善していきたいと思います。 * cref_or_me が class reference or...

help をやたらと長くはしたくないそうなので、仕様議論中

https://github.com/ruby/ruby/pull/1688 `--dump=?` を追加するのが難しい。現状、`--dump=show_help` で出せるようにはなった。 ``` $ ./ruby -h Usage: ./ruby [switches] [--] [programfile] [arguments] ... --dump=[target] try --dump=? to show valid targets ``` ``` $ ./ruby --dump=show_help $ ./ruby --dump=show_help...

--dump=insns,help とすると、help だけ出て終わったりするので、明言できないんすよねぇ。。

help は例外なので無視して、複数指定できる旨を記述します。

こうなりました ``` # -h では出ない $ ./ruby --help Usage: ./ruby [switches] [--] [programfile] [arguments] ... --dump=target[,....] try --dump=help to show help messages of --dump ``` ``` $ ./ruby --dump=help Usage:...