General

Profile

kyanagi (Kouhei Yanagita)

  • Login: kyanagi
  • Registered on: 11/15/2009
  • Last connection: 05/04/2020

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 2 18 20

Activity

04/10/2020

04:06 PM Ruby master Feature #16428: Add Array#uniq?, Enumerable#uniq?
In my cases, I (server side) only had to check duplication because a client also have validations.
Legal users can't...
kyanagi (Kouhei Yanagita)
02:25 PM Ruby master Feature #16428: Add Array#uniq?, Enumerable#uniq?
I was developing mobile games, and I met these situations:
A card deck can't have duplicate characters.
i.e. `dec...
kyanagi (Kouhei Yanagita)

12/18/2019

06:50 AM Ruby master Feature #16428: Add Array#uniq?, Enumerable#uniq?
Following a suggestion of `Enumerable#uniq?`, I also added `Enumerable#uniq?` to my patch.
`Array#uniq?` is left bec...
kyanagi (Kouhei Yanagita)

12/17/2019

01:24 PM Ruby master Feature #16428 (Feedback): Add Array#uniq?, Enumerable#uniq?
I propose Array#uniq?.
I often need to check if an array have duplicate elements.
This method returns true if n...
kyanagi (Kouhei Yanagita)

10/25/2017

05:29 AM Ruby master Feature #14052 (Open): Introduce SecureRandom.with_chars
ref. https://bugs.ruby-lang.org/issues/10849
This request renames SecureRandom.choose to .with_chars and makes it ...
kyanagi (Kouhei Yanagita)

11/15/2016

01:41 PM Ruby master Bug #12920: Strange NoMethodError in Time.now
This problem happens with Ruby 2.3.2.
~~~
% cat a.rb
Fixnum.prepend(Module.new)
Module.new do
refine Fixnum ...
kyanagi (Kouhei Yanagita)

11/10/2016

10:25 AM Ruby master Bug #12920 (Closed): Strange NoMethodError in Time.now
I got a strange NoMethodError in Time.now.
~~~
Integer.prepend(Module.new)
module Foo
refine Integer do
...
kyanagi (Kouhei Yanagita)

01/29/2015

08:20 AM Ruby master Feature #10798 (Closed): Define the MIME type for JSON in WEBrick::HTTPUtils::DefaultMimeTypes
This patch adds the MIME type for JSON (application/json) to WEBrick::HTTPUtils::DefaultMimeTypes.
This is useful wh...
kyanagi (Kouhei Yanagita)

02/01/2013

09:27 PM Ruby master Feature #7767 (Closed): Tempfileで自動的にファイルを削除する
ソースコードのコメント(tempfile.rbのGood practicesの項)にも書かれている通り、
Tempfileは使用後、明示的に削除することが推奨されています。
しかし、Tempfile.openにブロックを渡すと...
kyanagi (Kouhei Yanagita)

04/24/2012

05:29 PM Ruby master Feature #6349: Iconv の復活を希望します
こんにちは。柳田です。

2012年4月24日16:55 "Martin J. Dürst" <duerst@it.aoyama.ac.jp>:
> EUC-JISX0213 以外に、必要が String#encode にない...
kyanagi (Kouhei Yanagita)

Also available in: Atom