Project

General

Profile

Activity

From 07/29/2023 to 08/04/2023

08/04/2023

02:29 PM Feature #19830: Allow `Array#transpose` to take an optional size argument
It doesn't feel elegant or concise to feed the element size to me.
For what use cases do you want it actually?
nobu (Nobuyoshi Nakada)
07:42 AM Feature #19830: Allow `Array#transpose` to take an optional size argument
nobu (Nobuyoshi Nakada) wrote in #note-1:
> Why not `ary.transpose[1]&.join`?
That avoids the exception but retur...
tomstuart (Tom Stuart)
01:14 AM Feature #19830: Allow `Array#transpose` to take an optional size argument
Why not `ary.transpose[1]&.join`? nobu (Nobuyoshi Nakada)
09:21 AM Bug #19831 (Open): warning message of linker with macOS Sonoma beta
Xcode 15 beta and macOS Sonoma beta show the following warnings with `make`
```
(snip)
linking miniruby
ld: war...
hsbt (Hiroshi SHIBATA)

08/03/2023

05:42 PM Feature #19830 (Open): Allow `Array#transpose` to take an optional size argument
One benefit of supplying an initial value to `Enumerable#inject` is that it avoids an annoying edge case when the col... tomstuart (Tom Stuart)
02:27 PM Feature #19325: YJIT: Windows support lacking.
Hello @tamaron. There is no update as of yet. One of the challenges is that it's not easy for us to have access to wi... maximecb (Maxime Chevalier-Boisvert)
10:27 AM Feature #19325: YJIT: Windows support lacking.
Hello, any progress here?
I am very new to the Ruby community but interested in working on this.
tamaron (Raiki Tamura)
10:45 AM Bug #19829 (Closed): Enumerator.product called with keyword arguments raises exception with not precise message
The `Enumerator.product` method, added in Ruby 3.2, when it's called with keyword arguments (but it expects only a li... andrykonchin (Andrew Konchin)
08:14 AM Bug #19792: arm の alpine 上でネストしたハッシュに長い文字列を入れると segmentation fault が発生する
以下の環境でも再現しました
- Docker version 24.0.2, build cb74dfc
- M1 Max
- Ventura 13.5
willnet (Shinichi Maeshima)

08/02/2023

11:25 PM Bug #19828 (Closed): Segfault when `OpenSSL::X509::Certificate#public_key=` is given a `OpenSSL::PKey::DH` object
The OpenSSL bindings cause a SegFault when creating a new OpenSSL::X509::Certificate object and setting it's `public_... postmodern (Hal Brodigan)
09:26 PM Feature #19572: Add a new TracePoint event for rescued exceptions
@ko1 Thank you! st0012 (Stan Lo)
01:32 PM Bug #19795: attr_accessor leading to nil values for re-assignment
I got it in the end thanks to a peer. I misunderstood wrongly how this was working:
Running the following snippet ...
francktrouillez (Franck Trouillez)
12:55 PM Bug #19795: attr_accessor leading to nil values for re-assignment
I guess that it is a local variable, but is it the expected behavior?
As a developer, I expect that I can access `a`...
francktrouillez (Franck Trouillez)
12:42 PM Bug #19795 (Closed): attr_accessor leading to nil values for re-assignment
This is an assignment to the local variable, not the accessor.
```ruby
a += 1
```
You have to write:
```ruby
...
nobu (Nobuyoshi Nakada)
12:21 PM Bug #19795 (Closed): attr_accessor leading to nil values for re-assignment
### Steps to reproduce:
- Create a class with an `attr_accessor` for an instance variable
- Create an instance meth...
francktrouillez (Franck Trouillez)
01:08 PM Bug #19793 (Closed): Segmentation fault when requiring files after defining Object#method_missing
Applied in changeset commit:git|1d096c1e53581ed9fe94694c9760babd1e12e580.
----------
Fix crash in NoMethodError for ...
peterzhu2118 (Peter Zhu)
05:08 AM Bug #19794 (Assigned): Ruby 3.2.2 fails to build on macOS Sonoma betas
With Big Sur, Apple deprecated putting dylibs in /usr/local/lib. In Sonoma (beta 4), this directory has disappeared c... jhaungs (Jim Haungs)

08/01/2023

11:22 PM Bug #19793: Segmentation fault when requiring files after defining Object#method_missing
thanks, you all are fast :) sczimmer (Scott Zimmermann)
09:03 PM Bug #19793: Segmentation fault when requiring files after defining Object#method_missing
Thank you for reporting this bug.
The following script is a minimal reproduction:
```ruby
GC.stress = true
...
peterzhu2118 (Peter Zhu)
06:32 PM Bug #19793: Segmentation fault when requiring files after defining Object#method_missing
So instead of `99130.times { array << "a string"}` you can just add `GC.start` and it will also crash.
I also test...
byroot (Jean Boussier)
04:08 PM Bug #19793 (Closed): Segmentation fault when requiring files after defining Object#method_missing
I was doing ruby koans to learn ruby and I got a segmentation fault when it gets to the part where it uses `Symbol.al... sczimmer (Scott Zimmermann)
03:31 PM Bug #19791: Debugger does not handle delete key correctly
I just did `gem install reline` and upgraded it to 0.3.7, but the problem persists. stuartb (Stuart Bury)
03:29 PM Bug #19791: Debugger does not handle delete key correctly
`gem list` gives the following output:
```
*** LOCAL GEMS ***
abbrev (default: 0.1.1)
addressable (2.8.4)
angelo (0...
stuartb (Stuart Bury)
02:52 PM Bug #19791: Debugger does not handle delete key correctly
Can you tell me what version of `debug` and `Reline` you are using? Using the latest version of `Reline` may solve th... ima1zumi (Mari Imaizumi)
01:46 PM Feature #19572 (Closed): Add a new TracePoint event for rescued exceptions
Applied in changeset commit:git|d68c01fd314ebd6dc1d89c95a2734fad4f0953b0.
----------
support `rescue` event for Trac...
ko1 (Koichi Sasada)
10:00 AM Bug #19788 (Closed): Ripper returns a symbol instead of a token as operator for "::"
Applied in changeset commit:git|382678d4112f4afc6272244c22924d2b004274b1.
----------
[Bug #19788] Use the result of ...
nobu (Nobuyoshi Nakada)
05:24 AM Bug #19792: arm の alpine 上でネストしたハッシュに長い文字列を入れると segmentation fault が発生する
k0kubun (Takashi Kokubun) wrote in #note-1:
> 私の手元の環境では再現させられないのですが、 `[BUG]` の出力を全行、最初から最後まで省略しないで投稿していただくことは可能でしょうか...
koke2y (優樹 纐纈)
04:58 AM Bug #19792: arm の alpine 上でネストしたハッシュに長い文字列を入れると segmentation fault が発生する
私の手元の環境では再現させられないのですが、 `[BUG]` の出力を全行、最初から最後まで省略しないで投稿していただくことは可能でしょうか? `c:0001 p:0000 s:0003 E:000da0 DUMMY [FINISH... k0kubun (Takashi Kokubun)
04:52 AM Bug #19792 (Closed): arm の alpine 上でネストしたハッシュに長い文字列を入れると segmentation fault が発生する
## 実行環境
Docker version: Docker version 24.0.2, build cb74dfc
Docker image: ruby:3.2.2-alpine3.18
ホスト環境
- chip: ...
koke2y (優樹 纐纈)
12:27 AM Bug #19789 (Closed): YJIT + rustc 1.71.0 is broken with macOS
Thanks. I confirmed to work with https://github.com/ruby/ruby/pull/8146 hsbt (Hiroshi SHIBATA)

07/31/2023

08:15 PM Bug #19791 (Closed): Debugger does not handle delete key correctly
When entering the debugger using `binding.debugger` or the `rdbg` command, pressing the delete key on the keyboard to... stuartb (Stuart Bury)
03:17 PM Bug #19789: YJIT + rustc 1.71.0 is broken with macOS
I made a fix for this issue: https://github.com/ruby/ruby/pull/8146 katei (Yuta Saito)
11:03 AM Bug #19789 (Closed): YJIT + rustc 1.71.0 is broken with macOS
I got some segmentation fault on macOS.
```
1) Failure:
TestVMDump#test_darwin_invalid_call [/Users/hsbt/Documen...
hsbt (Hiroshi SHIBATA)
02:50 PM Feature #19787: Add Enumerable#uniq_map, Enumerable::Lazy#uniq_map, Array#uniq_map and Array#uniq_map!
joshuay03 wrote:
> What is the usual process for deciding on whether or not to accept a feature?
Ultimately you...
rubyFeedback (robert heiler)
02:22 PM Feature #19787: Add Enumerable#uniq_map, Enumerable::Lazy#uniq_map, Array#uniq_map and Array#uniq_map!
joshuay03 (Joshua Young) wrote in #note-4:
> > Is `.map { ... }.uniq` such a very frequent idiom?
>
> I work on a Ra...
austin (Austin Ziegler)
10:13 AM Feature #19787: Add Enumerable#uniq_map, Enumerable::Lazy#uniq_map, Array#uniq_map and Array#uniq_map!
mame (Yusuke Endoh) wrote in #note-3:
> Is `.map { ... }.uniq` such a very frequent idiom?
I work on a Rails codeba...
joshuay03 (Joshua Young)
08:40 AM Feature #19787: Add Enumerable#uniq_map, Enumerable::Lazy#uniq_map, Array#uniq_map and Array#uniq_map!
It does not make sense to me to provide `.foo_map { ... }` for all patterns like `.map { ... }.foo`.
`flat_map` wa...
mame (Yusuke Endoh)
02:05 PM Feature #19790 (Closed): Optionally write Ruby crash reports into a file rather than STDERR
### Use case
On our servers we set [`/proc/sys/kernel/core_pattern`](https://man7.org/linux/man-pages/man5/core.5....
byroot (Jean Boussier)
12:30 PM Bug #19436: Call Cache for singleton methods can lead to "memory leaks"
> 36023d5cb751d62fca0c27901c07527b20170f4d - mark cc->cme_ if it is for super
for this SEGV. But other patches ca...
ko1 (Koichi Sasada)
11:57 AM Bug #19436: Call Cache for singleton methods can lead to "memory leaks"
@ko1 I don't see any more failures, thank you very much.
So overall the patch is all these commits?
```
c33003...
byroot (Jean Boussier)
11:07 AM Bug #19436: Call Cache for singleton methods can lead to "memory leaks"
Thanks,
Could you try current master (I hope it was fixed).
ko1 (Koichi Sasada)
08:36 AM Bug #19436: Call Cache for singleton methods can lead to "memory leaks"
@ko1 of course, here you go:
```
Assertion Failed: vm_callinfo.h:339:vm_cc_class_check:cc->klass == 0 || RB_TYPE_...
byroot (Jean Boussier)
08:23 AM Feature #19714 (Closed): Add Refinement#refined_module
Applied in changeset commit:git|a542512b7c394847a488e9b94d9defebe26003ce.
----------
Add Refinement#target and depre...
shugo (Shugo Maeda)
08:13 AM Bug #18572 (Closed): Performance regression when invoking refined methods
Applied in changeset commit:git|cfd7729ce7a31c8b6ec5dd0e99c67b2932de4732.
----------
use inline cache for refinement...
ko1 (Koichi Sasada)
02:46 AM Bug #19788: Ripper returns a symbol instead of a token as operator for "::"
https://github.com/ruby/ruby/pull/8144 nobu (Nobuyoshi Nakada)

07/30/2023

06:13 PM Bug #19788 (Closed): Ripper returns a symbol instead of a token as operator for "::"
```ruby
require 'ripper'
class BasicParser < Ripper
EVENTS.each do |event|
module_eval(<<~RUBY, __FILE__,...
thyresias (Thierry Lambert)

07/29/2023

02:13 PM Feature #19787 (Open): Add Enumerable#uniq_map, Enumerable::Lazy#uniq_map, Array#uniq_map and Array#uniq_map!
I would like to propose a collection of new methods, `Enumerable#uniq_map`, `Enumerable::Lazy#uniq_map`, `Array#uniq_... joshuay03 (Joshua Young)
09:01 AM Bug #19246: Rebuilding the loaded feature index much slower in Ruby 3.1
I have reverted the backport at https://github.com/ruby/ruby/commit/1c7624469880bcb964be09a49e4907873f45b026.
It see...
nagachika (Tomoyuki Chikanaga)
05:28 AM Bug #19246: Rebuilding the loaded feature index much slower in Ruby 3.1
Thank you for creating a backport patch and pull request. Merged into ruby_3_2. nagachika (Tomoyuki Chikanaga)
05:29 AM Bug #19771 (Closed): Backport Speed up rebuilding the loaded feature index and realpath cache - 79a4484, abfac22
Thank you for creating a backport patch and pull request. Merged into ruby_3_2. nagachika (Tomoyuki Chikanaga)
05:05 AM Bug #19786: Data::define() does not work as documented
ruby_3_2 19a3466a1460924058ca16a259601bb753293d43 merged revision(s) cada537040743cbe49aac6740816d648ca0d3fb. nagachika (Tomoyuki Chikanaga)
05:05 AM Bug #19751: Ruby 3.2.2 Fails to Compile from Source
ruby_3_2 9f5c32ce85db830459768c588b82a6d07f5d22dc merged revision(s) 99162dee7aa478d8a65f028b098bdaa69e1ecad5. nagachika (Tomoyuki Chikanaga)
 

Also available in: Atom