General

Profile

headius (Charles Nutter)

Issues

Projects

Activity

08/06/2019

11:03 AM Ruby master Revision 84236479 (git): Use host_os from RbConfig to detect host OS.
RUBY_PLATFORM on JRuby is always "java", so it will not reflect
the host operating system. This regex appears to be t...
headius (Charles Nutter)

07/27/2019

07:56 AM Ruby master Revision f9f02e82 (git): Use JRuby equivalent of RubyVM.compile.
RubyVM is specific to CRuby and not supported on JRuby. This is
the equivalent operation.
headius (Charles Nutter)

06/27/2019

08:50 PM Ruby master Bug #15791 (Closed): Clarify reason for RbConfig's ruby_version not reflecting "teeny" value
Ok, if this is supposed to map the the ABI version, then I guess we'll leave it as is. It doesn't really have the sam... headius (Charles Nutter)

04/29/2019

10:17 PM Ruby master Bug #15791: Clarify reason for RbConfig's ruby_version not reflecting "teeny" value
MSP-Greg (Greg L) wrote:
> I always consider `RbConfig::CONFIG['ruby_version']` as the ABI version, which is used in...
headius (Charles Nutter)

04/25/2019

03:48 PM Ruby master Misc #15723: Reconsider numbered parameters
I'm +1 for single variable using `@`. headius (Charles Nutter)
03:44 PM Ruby master Bug #15791 (Closed): Clarify reason for RbConfig's ruby_version not reflecting "teeny" value
I did not realize that MRI always reports `RbConfig::CONFIG['ruby_version']` without the "teeny" value. Instead, it m... headius (Charles Nutter)

04/12/2019

08:10 PM Ruby master Misc #15723: Reconsider numbered parameters
> Another idea for syntax, already mentioned in https://bugs.ruby-lang.org/issues/4475#note-12 : &1, &2, etc.
Conf...
headius (Charles Nutter)
07:12 PM Ruby master Misc #15723: Reconsider numbered parameters
Oh, another simplication... if user code in 2.7+ attempts to read `_1` before writing it in a block, that can be an i... headius (Charles Nutter)
07:11 PM Ruby master Misc #15723: Reconsider numbered parameters
What about using `_1`, `_2`? These are value variable names that could be reserved for argument offsets. This would m... headius (Charles Nutter)

04/02/2019

05:37 PM Ruby master Feature #15743: RubyVM should be renamed to CRuby
I agree with making the "RubyVM" namespace a little less generic. In JRuby and TruffleRuby, we both have our own "JRu... headius (Charles Nutter)

Also available in: Atom