General

Profile

knu (Akinori MUSHA)

Issues

Projects

Activity

05/17/2018

10:50 AM Ruby trunk Feature #14105: Introduce xor as alias for Set#^
gotoken (Kentaro Goto) wrote:
> By the way I recently wrote this set theoretical operation to find all uncommon file...
08:52 AM Ruby trunk Feature #14105: Introduce xor as alias for Set#^
I'm afraid aliasing `^` to `xor` is not like aliasing `&` to `intersection` and `|` to `union`, because the latter tw...

05/16/2018

09:19 AM Ruby trunk Bug #5419: FileUtils.cp_rの:preserveの動作
と思ったけどそれはさすがに大丈夫でした。
```
ruby -rfileutils -e 'include FileUtils; mkdir("d1"); touch("d1/a"); chmod(0500, "d1"); c...
09:13 AM Ruby trunk Bug #5419: FileUtils.cp_rの:preserveの動作
おお。処理順がそうなっているとすると、書き込み禁止のディレクトリのコピーもできませんね。

04/29/2018

11:15 AM Ruby trunk Revision 63300 (trunk): Remove the teeny part from the shared library name on macOS
This will prevent macOS users from having to rebuild all extension
libraries every time they upgrade ruby to a new te...
11:15 AM Ruby trunk Revision de2bfd3d (ruby-git): Remove the teeny part from the shared library name on macOS
This will prevent macOS users from having to rebuild all extension
libraries every time they upgrade ruby to a new te...

04/24/2018

11:48 AM Ruby trunk Bug #14707 (Closed): String#scan(/\K/) has changed its behavior in ruby 2.5
It seems `\K` does not work as expected any more:
```
% ruby -ve 'p "a1 a2 a3".scan(/a\K./)'
ruby 2.3.7p456 (2...

04/19/2018

07:51 AM Ruby trunk Feature #4475: default variable name for parameter
I would like the feature, but we have many things to think about.
We would not be able to make "it" a reserved key...

02/15/2018

11:16 AM Ruby trunk Revision d6db2d95 (ruby-git): Avoid using `@` in macro substitution that confuses FreeBSD make
```
making mjit_config.h
make: Unknown modifier ' '
make: Unclosed variable specification (expecting ')') for "Q" (va...

01/24/2018

08:00 AM CommonRuby Feature #12732: An option to pass to `Integer`, `Float`, to return `nil` instead of raise an exception
Just for the record, `Integer(x, rescue: default_value)` might be an idea, if anything other than `nil` (like zero) w...

Also available in: Atom