General

Profile

chrisseaton (Chris Seaton)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 8 8

Activity

06/27/2022

02:14 PM Ruby master Bug #18882: File.read cuts off a text file with special characters when reading it on MS Windows
> it behaves correctly on Linux, i expect not to need to use binary mode
I think binary mode is a no-op on Linux t...
chrisseaton (Chris Seaton)
12:47 PM Ruby master Bug #18882: File.read cuts off a text file with special characters when reading it on MS Windows
Don't you need to use binary mode to read these characters? chrisseaton (Chris Seaton)

04/30/2022

10:57 AM Ruby master Revision 3a8d60f5 (git): Document best-practices for writing hash methods (#5805)
* Discussion is as per https://bugs.ruby-lang.org/issues/18611.
Co-authored-by: Sam Bostock <sam.bostock@shopify.com>
chrisseaton (Chris Seaton)

04/25/2022

09:02 PM Ruby master Bug #18754: Compiling from Source Ruby on Mac M1 Failing
Faced the same issue myself, Jemma Issroff pointed out the solution to me. Also the fact that it's compiling `psych` ... chrisseaton (Chris Seaton)
06:59 PM Ruby master Bug #18754: Compiling from Source Ruby on Mac M1 Failing
You probably need to install libyaml-dev.
I don't know why the error message is so bad. Shouldn't it be picked up ...
chrisseaton (Chris Seaton)

04/23/2022

01:34 PM Ruby master Bug #18752: defined? String.instance_method(:abcdefg) will return a "method" string instead nil.
I've proposed some new specs to clarify something you might be confused about.
> The defined? keyword when called ...
chrisseaton (Chris Seaton)
01:08 PM Ruby master Bug #18752: defined? String.instance_method(:abcdefg) will return a "method" string instead nil.
Seems as expected to me.
> The defined? keyword when called with a method name having a module as receiver returns...
chrisseaton (Chris Seaton)

04/16/2022

03:45 PM Ruby master Feature #18611: Promote best practice for combining multiple values into a hash code
Implemented in https://github.com/ruby/ruby/pull/5805 chrisseaton (Chris Seaton)

03/07/2022

07:32 PM Ruby master Feature #18611: Promote best practice for combining multiple values into a hash code
Yes we could recommend adding `class` to the mixture. That's an argument for `hash_values` since if it has `self` alr... chrisseaton (Chris Seaton)
05:57 PM Ruby master Feature #18611 (Closed): Promote best practice for combining multiple values into a hash code
User-defined hash methods often work by combining the hash code of several values into one. This requires some logic ... chrisseaton (Chris Seaton)

Also available in: Atom