Project

General

Profile

Activity

From 01/23/2022 to 01/29/2022

01/29/2022

08:34 PM Bug #18555: Running "bundle exec middleman server" on M1 Mac gives [BUG] Bus Error at 0x0000000104b04000
Right, I have an update -- I worked out that `syntax` was also a gem :) so in the end I added:
```
gem "middleman...
anthonyaykut (Anthony Aykut)
08:16 PM Bug #18555: Running "bundle exec middleman server" on M1 Mac gives [BUG] Bus Error at 0x0000000104b04000
mame (Yusuke Endoh) wrote in #note-9:
> anthonyaykut (Anthony Aykut) wrote in #note-8:
> > and then... `bundle inst...
anthonyaykut (Anthony Aykut)
05:24 AM Bug #18555: Running "bundle exec middleman server" on M1 Mac gives [BUG] Bus Error at 0x0000000104b04000
anthonyaykut (Anthony Aykut) wrote in #note-8:
> and then... `bundle install`:
>
> ```
...
> Using ffi 1.15.5
...
mame (Yusuke Endoh)
07:30 PM Bug #17629: macOS, readline compiled with libedit: adding entries to history doesn't work unless Readline.readline is called before populating it
Can someone close this ticket? I don't see a possibility to do it myself. radarek (Radosław Bułat)
07:28 PM Bug #18558 (Closed): Numbered arguments + eval
```ruby
def yield_2_args
yield 1, 2
end
yield_2_args { p [eval("_1"), _2] }
```
Running with ruby 2.7.2, ...
radarek (Radosław Bułat)
08:36 AM Misc #18557 (Closed): DevMeeting-2022-02-17
# The next dev meeting
**Date: 2022/02/17 13:00-17:00** (JST)
Log: https://github.com/ruby/dev-meeting-log/blob/m...
mame (Yusuke Endoh)
08:36 AM Misc #18399 (Closed): DevMeeting-2022-01-13
mame (Yusuke Endoh)
08:32 AM Feature #18370: Call Exception#full_message to print exceptions reaching the top-level
Discussed on the dev-meeting.
#18367 was accepted, so @matz said "give it a try". Need to create a PR.
mame (Yusuke Endoh)
08:31 AM Feature #16122: Data: simple immutable value object
Discussed on the dev-meeting.
@matz is now negative to allow settings. Having various semantics in one Struct clas...
mame (Yusuke Endoh)
08:29 AM Feature #16806 (Closed): Struct#initialize accepts keyword arguments too by default
@nobu already committed the last step at commit:c956f979e5d05900315d2753d5c3b1389af8dae4. Closing. k0kubun (Takashi Kokubun)
08:10 AM Feature #18438: Add `Exception#additional_message` to show additional error information
@matz accepted the name `detailed_message`. I'll update and improve my PR (or volunteer is welcome)
Note: the rdoc...
mame (Yusuke Endoh)
08:02 AM Feature #18285: NoMethodError#message uses a lot of CPU/is really expensive to call
Discussed at the dev-meeting but no conclusion.
@akr said the part `0xXXXXXXXXXXXXXXXX` is almost useless, and rou...
mame (Yusuke Endoh)
07:28 AM Bug #18556: error: use of undeclared identifier 'MAP_ANONYMOUS'
https://github.com/ruby/ruby/pull/5506 nobu (Nobuyoshi Nakada)
03:08 AM Bug #18556 (Closed): error: use of undeclared identifier 'MAP_ANONYMOUS'
ruby 3.1.0 fails to build on older versions of macOS such as OS X 10.10.5:
```
gc.c:11141:88: error: use of undec...
ryandesign (Ryan Carsten Schmidt)
07:07 AM Bug #18512: MacOS 12.1 Monterey Bug
I'm unsure but you failed to recompile ffi gem because the size of ffi_c.bundle did not change.
Before:
```
{
"...
mame (Yusuke Endoh)
12:08 AM Bug #18512: MacOS 12.1 Monterey Bug
IPS Report:
```
oucl5976@ck1 cf-zendesk % cat ~/Library/Logs/DiagnosticReports/ruby-2022-01-29-000341.ips
{"app_...
[email protected] (Paul Liu)
12:06 AM Bug #18512: MacOS 12.1 Monterey Bug
```
oucl5976@ck1 ~ % gem uninstall ffi
You have request...
[email protected] (Paul Liu)
06:08 AM Bug #18514: ruby 2.6.9's Date#jisx0301 does not support Reiwa
> Can you confirm with date-2.0.3 ?
Thank you so much.
I tried it, then I get good result!
kouji (Kouji Takao)
03:01 AM Feature #18490: MakeMakefile.pkg_config should accept multiple options
Accepted.
Matz.
matz (Yukihiro Matsumoto)

01/28/2022

11:51 PM Bug #18512: MacOS 12.1 Monterey Bug
[email protected] (Paul Liu) wrote in #note-4:
> gem install ffi --enable-libffi-alloc
> ERROR: While executing g...
jeremyevans0 (Jeremy Evans)
11:39 PM Bug #18512: MacOS 12.1 Monterey Bug
gem install ffi --enable-libffi-alloc
ERROR: While executing gem ... (Gem::OptionParser::InvalidOption)
invali...
[email protected] (Paul Liu)
11:13 PM Feature #18551: Make `Range#reverse_each` to raise an exception if endless
Eregon (Benoit Daloze) wrote in #note-1:
> OTOH Range operations that work differently for numerics tend to make Ran...
kyanagi (Kouhei Yanagita)
04:16 PM Feature #18551: Make `Range#reverse_each` to raise an exception if endless
Yes, this is a useful change. Although wouldn't it be better to prevent `#to_a` instead of only `#reverse_each` ?
...
Dan0042 (Daniel DeLorme)
01:12 PM Feature #18551: Make `Range#reverse_each` to raise an exception if endless
I checked the PR, seems a useful change to me. Eregon (Benoit Daloze)
01:11 PM Feature #18551: Make `Range#reverse_each` to raise an exception if endless
There is no Range#reverse_each currently, only Enumerable#reverse_each, and Enumerable can't know about this.
But ma...
Eregon (Benoit Daloze)
11:02 PM Feature #18515: Add Range#reverse_each implementation
In general, I think it would be better to improve `#reverse_each` by using `#pred` (predecessor; the inverse of `#suc... kyanagi (Kouhei Yanagita)
08:04 PM Bug #18555: Running "bundle exec middleman server" on M1 Mac gives [BUG] Bus Error at 0x0000000104b04000
mame (Yusuke Endoh) wrote in #note-7:
> If you are using bundler, try the second one.
>
> ```
> bundle config bu...
anthonyaykut (Anthony Aykut)
07:51 PM Bug #18555: Running "bundle exec middleman server" on M1 Mac gives [BUG] Bus Error at 0x0000000104b04000
If you are using bundler, try the second one.
```
bundle config build.ffi --enable-libffi-alloc
bundle install
...
mame (Yusuke Endoh)
02:02 PM Bug #18555: Running "bundle exec middleman server" on M1 Mac gives [BUG] Bus Error at 0x0000000104b04000
mame (Yusuke Endoh) wrote in #note-5:
> Ah, maybe it is a typo. Could you try `gem install ffi -- --enable-libffi-al...
anthonyaykut (Anthony Aykut)
07:41 AM Bug #18555: Running "bundle exec middleman server" on M1 Mac gives [BUG] Bus Error at 0x0000000104b04000
Ah, maybe it is a typo. Could you try `gem install ffi -- --enable-libffi-alloc`? mame (Yusuke Endoh)
04:04 AM Bug #18555: Running "bundle exec middleman server" on M1 Mac gives [BUG] Bus Error at 0x0000000104b04000
mame (Yusuke Endoh) wrote in #note-3:
> Could you try this? https://github.com/ffi/ffi/issues/800#issuecomment-10083...
anthonyaykut (Anthony Aykut)
02:18 AM Bug #18555: Running "bundle exec middleman server" on M1 Mac gives [BUG] Bus Error at 0x0000000104b04000
Could you try this? https://github.com/ffi/ffi/issues/800#issuecomment-1008308614 mame (Yusuke Endoh)
01:51 AM Bug #18555: Running "bundle exec middleman server" on M1 Mac gives [BUG] Bus Error at 0x0000000104b04000
Attaching my `gem env` output anthonyaykut (Anthony Aykut)
01:47 AM Bug #18555: Running "bundle exec middleman server" on M1 Mac gives [BUG] Bus Error at 0x0000000104b04000
By the way, I have noticed that running
`ruby -e 'require "rbconfig"; pp RbConfig::CONFIG' | grep "cpu"`
gives ...
anthonyaykut (Anthony Aykut)
01:37 AM Bug #18555 (Closed): Running "bundle exec middleman server" on M1 Mac gives [BUG] Bus Error at 0x0000000104b04000
Hi All,
First of all, I am not a programmer or coder so I am having great difficulty solving this puzzle.
Since...
anthonyaykut (Anthony Aykut)
03:26 PM Bug #18511: ruby in infinite loop consuming 100% CPU
> could someone look into the core dump ? Is there any possibility to upload a 55MB file ?
I can't guarantee that ...
alanwu (Alan Wu)
09:47 AM Bug #18511: ruby in infinite loop consuming 100% CPU
> Depending on your needs, maybe the pure Ruby [json_pure] gem is good enough. If you have performance requirements, ... shenningz (Henning Sackewitz)
01:40 PM Bug #18518: NoMemoryError + [FATAL] failed to allocate memory for twice 1 << large
From this log it's clear this issue happens on 3.1.0 macOS:
https://github.com/eregon/rubyspec/runs/4981235909?check...
Eregon (Benoit Daloze)
01:29 PM Bug #18518: NoMemoryError + [FATAL] failed to allocate memory for twice 1 << large
Actually I'm not sure this is properly fixed on 3.1.0, it looks brittle, for instance it fails in GitHub Actions on m... Eregon (Benoit Daloze)
09:43 AM Feature #18552 (Closed): Expose `VALUE rb_singleton_class_get(VALUE)` to extensions
Nevermind, on first read I didn't notice that these were two distinct function. That's good enough I think, no need t... byroot (Jean Boussier)
09:33 AM Feature #18554: Move unicode_normalize to a default gem
Just a few comments, not sure I have thought everything through completely.
One of the motivations for implementin...
duerst (Martin Dürst)
01:03 AM Feature #18554: Move unicode_normalize to a default gem
Just leaving my :+1: to this idea; not sure how difficult though. shyouhei (Shyouhei Urabe)
06:23 AM Feature #18136: take_while_after
In today's developer meeting, Matz said the only acceptable name so far was "drop_after" (if he had to choose). He's... knu (Akinori MUSHA)

01/27/2022

10:42 PM Feature #18552: Expose `VALUE rb_singleton_class_get(VALUE)` to extensions
> The name rb_singleton_class_get() doesn't seem great though.
Yeah, it could definitely be expose under another n...
byroot (Jean Boussier)
09:15 PM Feature #18552: Expose `VALUE rb_singleton_class_get(VALUE)` to extensions
A new function seems better than that flag check (which doesn't work on TruffleRuby currently, will always return `fa... Eregon (Benoit Daloze)
05:22 PM Feature #18552: Expose `VALUE rb_singleton_class_get(VALUE)` to extensions
> Which does seem very clean.
I of course meant "doesn't". Oops.
> In this case, it's exposing yet another oper...
byroot (Jean Boussier)
05:12 PM Feature #18552: Expose `VALUE rb_singleton_class_get(VALUE)` to extensions
> `!SPECIAL_CONST(obj) && FL_TEST(RBASIC(obj)->klass, FL_SINGLETON);`
> Which does seem very clean.
Beyond cleanl...
alanwu (Alan Wu)
11:57 AM Feature #18552 (Closed): Expose `VALUE rb_singleton_class_get(VALUE)` to extensions
Right now the only way to check wether an object has a singleton class is to do something akin to:
```c
!SPECIAL_...
byroot (Jean Boussier)
04:49 PM Feature #18554 (Open): Move unicode_normalize to a default gem
Could we move the rest of unicode_normalize to a default gem?
The recent updates were mostly updating the Unicode ...
headius (Charles Nutter)
04:22 PM Feature #18339: GVL instrumentation API
I opened a draft for it: https://github.com/ruby/ruby/pull/5500
@ko1 if you'd like to have a look.
byroot (Jean Boussier)
02:30 PM Bug #18553 (Closed): Memory leak on compiling method call with kwargs
The following code produces a memory leak:
```ruby
p(foo: 1)
```
It comes from the allocation in `compile.c`:...
ibylich (Ilya Bylich)
09:11 AM Bug #18516: Memory leak on aliasing method to itself
I took the liberty to set the backport field.
I was able to repro on 2.6, 2.7,3.0 and 3.1. However 2.6 is security...
byroot (Jean Boussier)
06:46 AM Bug #18516 (Closed): Memory leak on aliasing method to itself
Applied in changeset commit:git|e89d80702bd98a8276243a7fcaa2a158b3bfb659.
----------
Fix memory leak at the same nam...
nobu (Nobuyoshi Nakada)
05:58 AM Feature #18551 (Closed): Make `Range#reverse_each` to raise an exception if endless
https://github.com/ruby/ruby/pull/5498
Currently, `Range#reverse_each` for an endless range never returns.
```
...
kyanagi (Kouhei Yanagita)
05:00 AM Bug #18517 (Closed): 0 << (2**40) is NoMemoryError but 0 << (2**80) is 0
Applied in changeset commit:git|6a6227e0168b059c3ed34c9f0ace2e5dc2364221.
----------
Shifting zero always results in...
nobu (Nobuyoshi Nakada)
04:51 AM Bug #18514: ruby 2.6.9's Date#jisx0301 does not support Reiwa
I released date-2.0.3 with Reiwa support.
@kouji Can you confirm with [date-2.0.3](https://rubygems.org/gems/date/...
hsbt (Hiroshi SHIBATA)
01:52 AM Feature #18513: Hide patchlevel from `ruby -v`
https://github.com/ruby/ruby/pull/5496 hsbt (Hiroshi SHIBATA)

01/26/2022

08:56 PM Feature #13110: Byte-based operations for String
Seems reasonable to me. Eregon (Benoit Daloze)
01:46 AM Feature #13110: Byte-based operations for String
Are there any objections to introduce only byteindex and byteoffset? shugo (Shugo Maeda)
07:42 PM Bug #18511: ruby in infinite loop consuming 100% CPU
@shenningz
> Is there any way to replace the yajl-ruby C extension with another json extension?
Depending on y...
alanwu (Alan Wu)
07:07 PM Feature #18408: Allow pattern match to set instance variables
Eregon (Benoit Daloze) wrote in #note-17:
> In practice it should rarely matter because if a clause isn't matched th...
Dan0042 (Daniel DeLorme)
04:29 PM Bug #18389 (Closed): `binding.irb` can fail in some classes that implement `context` and `print` methods.
Applied in changeset commit:git|b6b2e489f10bfc771beae8fa0ee5237613acd18f.
----------
[ruby/irb] Changed to call Kern...
osyo (manga osyo)
04:03 PM Bug #18517: 0 << (2**40) is NoMemoryError but 0 << (2**80) is 0
https://github.com/ruby/ruby/pull/5494 nobu (Nobuyoshi Nakada)
03:21 PM Bug #18517 (Closed): 0 << (2**40) is NoMemoryError but 0 << (2**80) is 0
I've been looking at Integer#{<<,>>} with RHS bignum and long and there are several issues.
This seems a clear bug...
Eregon (Benoit Daloze)
03:44 PM Bug #18516: Memory leak on aliasing method to itself
https://github.com/ruby/ruby/pull/5493 nobu (Nobuyoshi Nakada)
03:20 PM Bug #18516: Memory leak on aliasing method to itself
ibylich (Ilya Bylich) wrote in #note-1:
> but if we stop increment `alias_count` on `alias foo foo` the warning appe...
ufuk (Ufuk Kayserilioglu)
02:30 PM Bug #18516: Memory leak on aliasing method to itself
As @nobu mentioned the following code gives no warnings (in verbose mode):
```ruby
class A
def foo; end
ali...
ibylich (Ilya Bylich)
01:22 PM Bug #18516 (Closed): Memory leak on aliasing method to itself
The following code produces a memory leak:
```ruby
class A
1.upto(Float::INFINITY) do |i|
define_method(:...
ibylich (Ilya Bylich)
03:30 PM Bug #18518 (Rejected): NoMemoryError + [FATAL] failed to allocate memory for twice 1 << large
Repro:
```ruby
exp = 2**40 # also fails with bignum e.g. 2**64
def exc
begin
yield
rescue NoMemoryErr...
Eregon (Benoit Daloze)
07:52 AM Bug #18501: [BUG] try to mark T_NONE object in RubyVM::InstructionSequence. load_from_binary
Thanks @tenderlove, your explanation makes sense to me.
From your description we should be able to reproduce with...
byroot (Jean Boussier)
05:57 AM Feature #18515 (Closed): Add Range#reverse_each implementation
PR is ~~https://github.com/ruby/ruby/pull/5489~~ https://github.com/ruby/ruby/pull/8525
Current `Range#reverse_eac...
kyanagi (Kouhei Yanagita)
03:07 AM Bug #18514: ruby 2.6.9's Date#jisx0301 does not support Reiwa
I prepared to fix this regression.
https://github.com/ruby/date/pull/47
I will release date-2.0.3 for Ruby 2.6 ...
hsbt (Hiroshi SHIBATA)
02:11 AM Bug #18514 (Closed): ruby 2.6.9's Date#jisx0301 does not support Reiwa
usa (Usaku NAKAMURA)
01:45 AM Bug #18514 (Closed): ruby 2.6.9's Date#jisx0301 does not support Reiwa
In ruby 2.6.9 (ruby 2.6.9p207 (2021-11-24 revision 67954) [x86_64-darwin20]).
$ ruby -rdate -e 'p Date.new(2019, 5, ...
kouji (Kouji Takao)
01:52 AM Feature #18513: Hide patchlevel from `ruby -v`
:+1:, patch levels no longer serves us very well. shyouhei (Shyouhei Urabe)

01/25/2022

11:57 PM Bug #18501: [BUG] try to mark T_NONE object in RubyVM::InstructionSequence. load_from_binary
## Hash is writing T_NONE references
I think it's possible that T_NONE objects are being written in to a hash. Ba...
tenderlovemaking (Aaron Patterson)
12:39 PM Feature #18513 (Closed): Hide patchlevel from `ruby -v`
We still show patch-level like `3.1.0p0` with `ruby -v`. But it has no benefit for users.
In fact, I heard "What ...
hsbt (Hiroshi SHIBATA)
11:29 AM Bug #18512 (Feedback): MacOS 12.1 Monterey Bug
Could you try this? https://github.com/ffi/ffi/issues/800#issuecomment-1008308614 mame (Yusuke Endoh)
11:20 AM Bug #18512: MacOS 12.1 Monterey Bug
I guess this is related to #18496, and maybe the cause is FFI with M1. mame (Yusuke Endoh)
10:41 AM Bug #18512 (Third Party's Issue): MacOS 12.1 Monterey Bug
Steps to Reproduce
1. Create an Zendesk App: https://developer.zendesk.com/documentation/apps/app-developer-guide/za...
[email protected] (Paul Liu)
08:57 AM Bug #18507: Incorrect target_os detection in configure script

In case 'arm-unknown-linux-gnueabihf' GNU Autotools recognizes target_os as 'linux-gnueabihf' (and 'linux-gnu' if '...
rcl (Andrew Kosteltsev)
07:44 AM Feature #18483 (Closed): `RUBY_ON_BUG` feature for ruby release version
Applied in changeset commit:git|a51e1cd682daeb76f201e62eaedcf6d51a18cffe.
----------
enable `RUBY_ON_BUG` on release...
ko1 (Koichi Sasada)
07:33 AM Feature #18181: Introduce Enumerable#min_with_value, max_with_value, and minmax_with_value
Another name proposal:
When I write `array.min_with_value { foo }`, I mean "minimize foo with an element in array"...
kyanagi (Kouhei Yanagita)
02:15 AM Feature #18490: MakeMakefile.pkg_config should accept multiple options
@nobu, I wanted to check if there was any other feedback on this feature? Thank you again for your time. mdalessio (Mike Dalessio)
12:33 AM Bug #18437 (Closed): 3.1.0 install stucks on FreeBSD & NFS
kou (Kouhei Sutou)
12:23 AM Bug #18437: 3.1.0 install stucks on FreeBSD & NFS
Oh, I see. Thanks for the fix.
I think this issue has been resolved.
# 自分で Issue 閉じれないんですね……。
os (Shigeki OHARA)

01/24/2022

11:41 PM Feature #18253 (Closed): `ID` in `rb_id_table_foreach_with_replace`
Applied in changeset commit:git|530e485265dac6e2aea1d587a4a79a314cc772cf.
----------
`ID` in `rb_id_table_foreach_wi...
nobu (Nobuyoshi Nakada)
10:40 PM Feature #18273: Class#subclasses
I see, and tend to agree—to some extent, at least!
Not sure how much can be done here—some amount of "semantically...
zverok (Victor Shepelev)
03:45 PM Feature #18273: Class#subclasses
More than the existence of a real collection (which is a private implementation detail), it is the existence of a cle... fxn (Xavier Noria)
02:53 PM Feature #18273: Class#subclasses
@zverok Sorry, we were typing at the same time.
Exactly! That is my point of view!
fxn (Xavier Noria)
02:52 PM Feature #18273: Class#subclasses
@zverok I think our disagreement is clear. Perhaps your position is also the one of @byroot.
To me, `Class#subclas...
fxn (Xavier Noria)
02:52 PM Feature #18273: Class#subclasses
@fxn You know what?
I think I actually got your point:
* `Class#ancestors` represent a "really existing thing", ...
zverok (Victor Shepelev)
02:11 PM Feature #18273: Class#subclasses
> In the sense that, as a programmer, if I do not change the collection, it should stay the same.
Of course, removin...
fxn (Xavier Noria)
01:55 PM Feature #18273: Class#subclasses
@zverok sure!
I see your point, it works as it is supposed to be.
My point is, `Class#subclasses` should be det...
fxn (Xavier Noria)
01:48 PM Feature #18273: Class#subclasses
We are going in circles here :( It is "non-deterministic" all right, but also reflects the reality.
It is more or ...
zverok (Victor Shepelev)
01:38 PM Feature #18273: Class#subclasses
@zverok one thing is "subclasses can vanish", because the language is dynamic (like ancestors can change), and a diff... fxn (Xavier Noria)
01:26 PM Feature #18273: Class#subclasses
TBH, I still fail to see the point of how the API clearly reflecting the reality should be considered a "broken windo... zverok (Victor Shepelev)
12:19 PM Feature #18273: Class#subclasses
Hmm, now that I think, maybe you don't see how this affects Zeitwerk directly.
In Zeitwerk, "reloading" means issuin...
fxn (Xavier Noria)
11:19 AM Feature #18273: Class#subclasses
@zverok Absolutely, the API of a dynamic language should be dynamic.
For example, take this:
```ruby
C = Class...
fxn (Xavier Noria)
10:38 AM Feature #18273: Class#subclasses
@fxn Isn't it an inherent property of a dynamic language, that whatever you can introspect about the code structure, ... zverok (Victor Shepelev)
10:31 AM Feature #18273: Class#subclasses
To me, this feature makes sense in a language where subclasses cannot disappear once created. In Ruby, they are regul... fxn (Xavier Noria)
10:28 AM Feature #18273: Class#subclasses
> Sure, and you are entitled to it, I just don't understand how you reconcile it with the existence of weak reference... fxn (Xavier Noria)
10:20 AM Feature #18273: Class#subclasses
Sure, and you are entitled to it, I just don't understand how you reconcile it with the existence of weak references. byroot (Jean Boussier)
10:18 AM Feature #18273: Class#subclasses
That is, _since_ objects are not gced as soon as they are unreachable, this implementation of `Class#subclasses` is n... fxn (Xavier Noria)
10:17 AM Feature #18273: Class#subclasses
To me it behave just like weak references do:
```ruby
weakmap = ObjectSpace::WeakMap.new
weakmap[Object.new] = O...
byroot (Jean Boussier)
10:13 AM Feature #18273: Class#subclasses
What I mean is that `Class#subclasses` is effectively a cache that does not have proper invalidation.
The red flag...
fxn (Xavier Noria)
10:07 AM Feature #18273: Class#subclasses
I don't think I understand what your issue is. `subclasses` returns all the *live object* (not yet GCed) that are dir... byroot (Jean Boussier)
10:01 AM Feature #18273: Class#subclasses
> This is perfectly fine, Ruby isn't concerned about wether a Class is still present in the constant table or not
...
fxn (Xavier Noria)
08:26 AM Feature #18273: Class#subclasses
> In my view, this method does not play well with object lifetime, semantically.
This is perfectly fine, Ruby isn'...
byroot (Jean Boussier)
12:32 AM Feature #18273: Class#subclasses
Said in a different way:
```ruby
C = Class.new
-> { Class.new(C); 1 }.call
pp C.subclasses
pp C.subclasses
``...
fxn (Xavier Noria)
12:15 AM Feature #18273: Class#subclasses
In my view, this method does not play well with object lifetime, semantically.
Take for example:
```ruby
C = Class....
fxn (Xavier Noria)
07:57 PM Bug #18511: ruby in infinite loop consuming 100% CPU
Right now we cannot reproduce this systematically, it just occurs with our Fluentd workload sooner or later.
Fluentd...
shenningz (Henning Sackewitz)
04:06 PM Bug #18511 (Feedback): ruby in infinite loop consuming 100% CPU
This happens inside the yajl-ruby C extension. Can you reproduce this without yajl-ruby? jeremyevans0 (Jeremy Evans)
02:13 PM Bug #18511 (Closed): ruby in infinite loop consuming 100% CPU
After running Fluentd (Td-agent) workload for several hours or days, Ruby hangs in an infinite loop.
gdb stack tra...
shenningz (Henning Sackewitz)

01/23/2022

02:57 PM Feature #18481: Porting YJIT to Rust (request for feedback)
Numba uses llvmlite https://github.com/numba/llvmlite for its JIT, but seems to need many patches. They also primaril... bbrklm (Benson Muite)
02:53 PM Bug #18510 (Open): Unexpected waiting for console when starting ruby on windows
# ruby version
C:\Ruby31-x64\bin>"c:\Ruby31-x64\bin\ruby.exe" -v
ruby 3.1.0p0 (2021-12-25 revision fb4df44d16) [x64...
YO4 (Yoshinao Muramatsu)
02:34 PM Bug #18437: 3.1.0 install stucks on FreeBSD & NFS
That's great to hear. Yes, we fixed this differently by avoiding flock on non Windows platforms, since it didn't seem... deivid (David Rodríguez)
08:22 AM Bug #18437: 3.1.0 install stucks on FreeBSD & NFS
I tried installing the latest development version of Ruby and RubyGems, and successfully completed it.
```
% rben...
os (Shigeki OHARA)
11:51 AM Bug #18501: [BUG] try to mark T_NONE object in RubyVM::InstructionSequence. load_from_binary
I sent the core files to Aaron privately. byroot (Jean Boussier)
 

Also available in: Atom