General

Profile

shan (Shannon Skipper)

  • Login: shan
  • Registered on: 12/23/2012
  • Last sign in: 04/02/2026

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 5 9 14

Activity

04/05/2026

01:21 PM Ruby Feature #21982: Add `Decimal` as a core numeric class
naruse (Yui NARUSE) wrote in #note-2:
> Combining two different precision decimals doesn't sound reasonable.
> ...
I think that's probably fair. I was thinking Fixnum/Flonum and their heap counterparts, but that's backing the same prec...
shan (Shannon Skipper)
01:17 PM Ruby Feature #21982: Add `Decimal` as a core numeric class
Eregon (Benoit Daloze) wrote in #note-1:
> For context, how much of this is AI-generated?
I implemented the i128 fixed-point arithmetic by porting Roc's Dec, then used AI to explore Ruby-specific optimizations (interpreter fast paths, Y...
shan (Shannon Skipper)

04/04/2026

07:14 PM Ruby Feature #21982 (Open): Add `Decimal` as a core numeric class
# Feature: Add `Decimal` as a core numeric class
## Abstract
Add `Decimal < Numeric` to Ruby core: exact base-10 arithmetic using a tagged immediate VALUE (like Fixnum) for small values, promoting to a 128-bit heap object for large...
shan (Shannon Skipper)

01/03/2026

09:12 AM Ruby Revision 65f9c4a0 (git): Drop memberless Data/Struct#inspect trailing space
Anonymous memberless Structs and Data were returning `#<struct >` and
`#<data >` with a trailing space. Now they return `#<struct>` and
`#<data>` to match attrless class behavior and look a bit more compact.
shan (Shannon Skipper)

11/18/2025

09:57 PM Ruby Revision 65660037 (git): ZJIT: Avoid `NaN%` ratio appearing in stats
shan (Shannon Skipper)
09:57 PM Ruby Revision cbe65ebb (git): ZJIT: Skip empty counter sections in stats
shan (Shannon Skipper)

10/16/2025

07:24 PM Ruby Bug #21641: Hash#to_s behaves different in 3.4
Please feel free to join us on [Ruby Discord](https://discord.gg/ad2acQFtkh) or [#ruby IRC](https://web.libera.chat/#ruby) to discuss all the options! Refining Hash is one way:
``` ruby
module LegacyHashToS
refine Hash do
def t...
shan (Shannon Skipper)

09/01/2025

12:54 AM Ruby Feature #21556: Add true? and false? methods to NilClass, TrueClass, FalseClass, and String
I wonder if the inclusion of the String variant could be considered again even though it has been merged? Is there a domain where `"true"` and `"false"` Strings are used? The Rails variant trying to support env vars makes more sense to m... shan (Shannon Skipper)

08/29/2025

10:57 PM Ruby Feature #21555: Add support for predicate attribute reader names
Dan0042 (Daniel DeLorme) wrote in #note-2:
> Also related to #5781 #11167 #12046 #15991 #19708
> ...
Wow! There's already an open ticket for this exact issue even. I apologize for not properly searching before filing. I should have jus...
shan (Shannon Skipper)

08/28/2025

10:56 PM Ruby Feature #21555 (Rejected): Add support for predicate attribute reader names
After manually aliasing predicate methods many times, I wanted to propose letting `attr_reader` take predicate method names that correspond to instance variables of the base name without a trailing question mark. https://github.com/ruby/... shan (Shannon Skipper)

Also available in: Atom