Activity
From 09/15/2023 to 09/21/2023
09/21/2023
-
10:05 PM Feature #19889: Let `Kernel.#require` search for files relative to the current working directory for non ./, ../ relative paths
- sawa wrote:
> This situation is making the specification of require versus require_relative
> difficult to unders... -
09:14 PM Bug #18286: Universal arm64/x86_84 binary built on an x86_64 machine segfaults/is killed on arm64
- https://github.com/ruby/ruby/pull/7367 fixes this, and just needs to be merged.
-
06:30 PM Bug #18911: Process._fork hook point is not called when Process.daemon is used
- Note for future readers coming here from the `Process._fork` documentation.
If you need to restart threads, you shou... -
05:43 PM Feature #19839: Need a method to check if two ranges overlap
- Thank you for checking with us. I believe the difference when the ranges are empty is acceptable. I don't think it wa...
-
06:10 AM Feature #19839: Need a method to check if two ranges overlap
- Asked them in their discord channel. https://discord.com/channels/849034466856665118/974005005768069211/1154298190120...
-
02:13 AM Feature #19839: Need a method to check if two ranges overlap
- This method is going to have an incompatibility with `Range#overlap?` that ActiveSupport has been provided. Is it OK?...
-
03:09 PM Feature #13933: Add Range#empty?
- akr (Akira Tanaka) wrote in #note-8:
> Range#empty? should work with them.
Ok for `Float::INFINITY, [], ""`, but ... -
11:47 AM Feature #13933: Add Range#empty?
- I described that this is difficult to implement in https://bugs.ruby-lang.org/issues/19839#note-18.
The problem is... -
01:57 AM Feature #13933: Add Range#empty?
- It was an ad-hoc example that just seemed to me like it should return true.
As to how to define it... maybe we can s... -
12:56 AM Feature #13933: Add Range#empty?
- Dan0042 (Daniel DeLorme) wrote in #note-5:
> ```ruby
> (...-Float::INFINITY).empty? #=> true
> ```
How do you d... -
10:34 AM Bug #19890: File#realine(chomp: true) slower/more allocations than readline.chomp!
- tenderlovemaking (Aaron Patterson) wrote in #note-7:
> Seems like a language level change, and I don't have any opini... -
08:18 AM Feature #19744: Namespace on read
- @deivid @hsbt and other RubyGems/Bundler maintainers:
What do you think of this proposal, especially the part relate... -
08:05 AM Misc #19772: API naming for YARP compiler
- mame (Yusuke Endoh) wrote in #note-29:
> He came up with an idea to enable a user to use multi-version yarp gems at ... -
01:43 AM Misc #19772: API naming for YARP compiler
- I had a little conversation with @matz about this issue yesterday.
He clearly rejects the name "yarp" not only a b... -
05:44 AM Bug #19794: Ruby 3.2.2 fails to build on macOS Sonoma betas
- The latest Xcode seems taking care about only `/usr/local/lib` differently.
```sh
$ echo 'int main(void) {return ... -
05:37 AM Bug #19892 (Closed): Build fails when release archive is prepared with `-keep_temp` option
-
01:23 AM Bug #19624 (Closed): Backticks - IO object leakage
- Applied in changeset commit:git|ab637cad2b582e8247bafd87a3b0f6323d564f64.
----------
[Bug #19624] Clean up backquote...
09/20/2023
-
09:03 PM Bug #19890: File#realine(chomp: true) slower/more allocations than readline.chomp!
- Dan0042 (Daniel DeLorme) wrote in #note-6:
> Eregon (Benoit Daloze) wrote in #note-5:
> > There such a functionalit... -
03:27 PM Bug #19890: File#realine(chomp: true) slower/more allocations than readline.chomp!
- Eregon (Benoit Daloze) wrote in #note-5:
> There such a functionality would cost an extra allocation per call (the s... -
02:07 PM Bug #19890: File#realine(chomp: true) slower/more allocations than readline.chomp!
- Dan0042 (Daniel DeLorme) wrote in #note-4:
> @eregon You should really stop that tendency to premature micro-optimiz... -
01:46 PM Bug #19890: File#realine(chomp: true) slower/more allocations than readline.chomp!
- @eregon You should really stop that tendency to premature micro-optimization and making extravagant claims about "sig...
-
07:32 AM Bug #19890: File#realine(chomp: true) slower/more allocations than readline.chomp!
- @Dan0042 There is a significant performance cost to deal with special variables in n callers like this.
I think it s... -
08:59 PM Bug #19794: Ruby 3.2.2 fails to build on macOS Sonoma betas
- Thanks @monfresh.
I tried it on Sonoma RC, and it installed fine. The /usr/local/lib dir is present. I have had no... -
06:07 PM Bug #19794: Ruby 3.2.2 fails to build on macOS Sonoma betas
- I think something else is going on here. On a fresh macOS installation, the `/usr/local` directory has been completel...
-
07:51 PM Bug #19892: Build fails when release archive is prepared with `-keep_temp` option
- Once I have the archive, I'd like to adjust various information in the .spec file used to create RPM, mainly the vers...
-
04:27 PM Bug #19892 (Feedback): Build fails when release archive is prepared with `-keep_temp` option
- `-keep_temp` was just for debugging.
I'm curious why and for what purpose you are using that option.
-
09:23 AM Bug #19892: Build fails when release archive is prepared with `-keep_temp` option
- It seems that the `-keep_temp` makes the difference. I thought that I'll add this option to keep the working director...
-
09:12 AM Bug #19892: Build fails when release archive is prepared with `-keep_temp` option
- Digging into this again, I discovered the the archive created myself contains some files the original archive have no...
-
06:10 PM Bug #19895 (Closed): Memory leak in Ripper#sexp_raw called with invalid syntax
- Duplicate of [#19835]
-
04:56 PM Bug #19895 (Closed): Memory leak in Ripper#sexp_raw called with invalid syntax
- There is a memory leak in `Ripper#sexp_raw` with invalid syntax
I used [the ruby_memcheck gem](https://github.com/... -
06:05 PM Bug #19896 (Closed): Ruby method refinement memory leak
- GitHub pull request: https://github.com/ruby/ruby/pull/8487
When method redefinitions happen, sometimes the final ... -
04:31 PM Feature #13933: Add Range#empty?
- Since 6 years ago, beginless and endless ranges have been added, so `#none?` is no longer sufficient.
```ruby
(ni... -
03:21 PM Bug #19624: Backticks - IO object leakage
- @nobu looks good!
-
02:54 PM Bug #19624: Backticks - IO object leakage
- OK, https://github.com/nobu/ruby/tree/backquote-io-cleanup
-
01:01 PM Bug #19624: Backticks - IO object leakage
- > Do you have any short reproducible code?
No sorry, I don't understand the fiber scheduler enough to reduce the t... -
12:52 PM Bug #19624: Backticks - IO object leakage
- @byroot Do you have any short reproducible code?
-
12:34 PM Bug #19624 (Open): Backticks - IO object leakage
-
12:00 PM Bug #19624: Backticks - IO object leakage
- @nobu Interesting. If I understand correctly, this makes sure that as long as it's reacheable, the IO keeps its `ftpr...
-
11:57 AM Bug #19624: Backticks - IO object leakage
- Is this OK?
```diff
diff --git a/io.c b/io.c
index 712dce3ceb8..48cdc5b9a7a 100644
--- a/io.c
+++ b/io.c
@@ -... -
11:18 AM Bug #19624: Backticks - IO object leakage
- Agreed.
@nobu any objection to reverting 814f52a9ebd035ec6e20641c602fa42f64b5dbe0 ? -
11:16 AM Bug #19624: Backticks - IO object leakage
- I think these IO objects should not be hidden. They are not leaked.
`ObjectSpace.each_object(IO) do |io| ... io.clos... -
09:14 AM Bug #19624: Backticks - IO object leakage
- Note: hiding the IO created a regression with the fiber scheduler, since this instance can end up being passed to Rub...
-
02:53 PM Bug #19894 (Closed): Memory leak in complemented method entries
- Applied in changeset commit:git|96c5a4be7b0d72502001734770af0f4a735c544c.
----------
Fix memory leak in complemented... -
12:57 AM Bug #19894 (Closed): Memory leak in complemented method entries
- GitHub pull request: https://github.com/ruby/ruby/pull/8481
When a copy of a complemented method entry is created,... -
12:51 PM Feature #19839: Need a method to check if two ranges overlap
- shouichi (Shouichi Kamiya) wrote in #note-21:
> Because `(...-Float::INFINITY)` is semantically empty, shouldn't `no... -
10:14 AM Bug #19893: OpenStruct#respond_to? when true fails with NameError
- I think you should define `respond_to_missing?` too.
```ruby
require 'ostruct'
class Dep
def a
"Hello ... -
12:28 AM Bug #19875: Ruby 3.0 -> 3.1 Performance regression in String#count
- @Freaky here's an alternative approach https://godbolt.org/z/zWhTYv8x5
your version with __attribute__((target)) ...
09/19/2023
-
11:45 PM Bug #4040: SystemStackError with Hash[*a] for Large _a_
- Hi,
We (on the YJIT team) have been tracking Ruby performance. We usually look at YJIT performance as compared to... -
11:15 PM Bug #19875: Ruby 3.0 -> 3.1 Performance regression in String#count
- nobu (Nobuyoshi Nakada) wrote in #note-13:
> Freaky (Thomas Hurst) wrote in #note-12:
> > I see a difference if I c... -
03:18 AM Bug #19875: Ruby 3.0 -> 3.1 Performance regression in String#count
- Freaky (Thomas Hurst) wrote in #note-12:
> I see a difference if I configure with cflags=-msse4.2 - it's off by defa... -
10:49 PM Bug #19893 (Closed): OpenStruct#respond_to? when true fails with NameError
- Hello,
I have a case where I overrode respond_to? on a subclass of OpenStruct because I this class to work as fake... -
06:36 PM Bug #19890: File#realine(chomp: true) slower/more allocations than readline.chomp!
- tenderlovemaking (Aaron Patterson) wrote in #note-1:
> I think it would be cool if we could push a special frame for... -
04:25 PM Feature #19839: Need a method to check if two ranges overlap
- `Range` has two semantics: succ-based and cover-based.
`none?` is succ-based because it is implemented in `Enumera... -
09:34 AM Feature #19839: Need a method to check if two ranges overlap
- Because `(...-Float::INFINITY)` is semantically empty, shouldn't `none?` return `true`?
-
05:59 AM Feature #19839: Need a method to check if two ranges overlap
- shouichi (Shouichi Kamiya) wrote in #note-19:
> Shouldn't `none?` handle empty ranges? Currently, it raises an error... -
12:31 AM Feature #19839: Need a method to check if two ranges overlap
- Shouldn't `none?` handle empty ranges? Currently, it raises an error.
```
> (...-Float::INFINITY).none?
(irb):1:... -
04:07 PM Bug #19892: Build fails when release archive is prepared with `-keep_temp` option
- nobu (Nobuyoshi Nakada) wrote in #note-1:
> What are `setup` lines in config.status and rbconfig.rb?
Sorry, I don... -
02:54 PM Bug #19892: Build fails when release archive is prepared with `-keep_temp` option
- What are `setup` lines in config.status and rbconfig.rb?
-
01:49 PM Bug #19892 (Closed): Build fails when release archive is prepared with `-keep_temp` option
- I observe following build failure:
~~~
$ configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu... -
07:17 AM Bug #19891: rb_mRubyVMFrozenCore is reported by DTrace but ignored by TracePoint
- > `TODO: remove it`
I have a plan to remove `rb_mRubyVMFrozenCore` but not implemented yet.
Anyway, I don't hav... -
06:54 AM Bug #19891 (Open): rb_mRubyVMFrozenCore is reported by DTrace but ignored by TracePoint
- This is related to #18257 where I wonder why rb_mRubyVMFrozenCore is ignored by TracePoint (if I am not mistaken) [1]...
-
06:51 AM Bug #18257: rb_mRubyVMFrozenCore is broken by GC run
- The `TODO` part was introduced by commit:git|4a4a702e61d1c5585d522f1185a82a5685c554f6 which also does not give a clue...
-
06:43 AM Bug #18257: rb_mRubyVMFrozenCore is broken by GC run
- BTW I still wonder what is the reason for [1]:
~~~
if (ec->trace_arg == NULL && /* check reentrant */
... -
06:23 AM Bug #18257: rb_mRubyVMFrozenCore is broken by GC run
- Thx a lot!
-
05:11 AM Bug #18257 (Closed): rb_mRubyVMFrozenCore is broken by GC run
- Applied in changeset commit:git|647390308239fbf82d159ecd83ed8df090af518d.
----------
[Bug #18257] Register the class... -
05:09 AM Bug #18257 (Open): rb_mRubyVMFrozenCore is broken by GC run
-
05:58 AM Bug #19886: "default->bundled gem" warning is not shown under "bundle exec"
- Thank you for reporting this.
I confirmed it. It caused `bundle exec ruby` couldn't call `Bundler.setup`.
It's ... -
04:10 AM Feature #19744: Namespace on read
- Sorry. I missed #note-17.
I need more work for Ruby-GNOME (`glib2`, `gobject-introspection` and so on) than `seque... -
02:47 AM Feature #19735 (Closed): Add support for UUID version 7
- Merged at https://github.com/ruby/ruby/commit/dfb2b4cbc9aa5edc315e210bf6bfd92fcf6e45de
09/18/2023
-
11:21 PM Bug #19890: File#realine(chomp: true) slower/more allocations than readline.chomp!
- This is an implementation detail, but IO#readline is [implemented as a C function](https://github.com/tenderlove/ruby...
-
06:52 PM Bug #19890 (Closed): File#realine(chomp: true) slower/more allocations than readline.chomp!
- On ruby 3.2.2 running the following script:
``` ruby
#!/usr/bin/env ruby
require 'rubygems'
require 'bundler/... -
04:10 PM Bug #19875: Ruby 3.0 -> 3.1 Performance regression in String#count
- nobu (Nobuyoshi Nakada) wrote in #note-11:
> Freaky (Thomas Hurst) wrote in #note-9:
> > Oh. And you know what thi... -
02:15 PM Bug #19875: Ruby 3.0 -> 3.1 Performance regression in String#count
- Freaky (Thomas Hurst) wrote in #note-9:
> Oh. And you know what this reminds me of? That [one time](https://github... -
01:14 PM Bug #19875 (Open): Ruby 3.0 -> 3.1 Performance regression in String#count
-
01:55 PM Feature #19839: Need a method to check if two ranges overlap
- I found another corner case.
```
% ./ruby -e 'r = (...-Float::INFINITY); p r.overlap?(r)'
true
% ./ruby -e 'r ... -
01:45 PM Feature #19889 (Feedback): Let `Kernel.#require` search for files relative to the current working directory for non ./, ../ relative paths
- sawa (Tsuyoshi Sawada) wrote:
> My understanding is that `./` and `../` in the given path argument are interpreted re... -
01:10 PM Feature #19889 (Feedback): Let `Kernel.#require` search for files relative to the current working directory for non ./, ../ relative paths
- My understanding is that `./` and `../` in the given path argument are interpreted relative to:
(1)
* The current... -
01:35 PM Feature #19874 (Closed): Re-introduce heap sort by pinned count prior to GC compaction
- Merged in [#8420](https://github.com/ruby/ruby/pull/8420)
-
01:23 PM Bug #19888 (Feedback): Can't change binding of a Proc coerced from a Method
- Converting `Method` to `Proc` is **not** copying the inner code literally into a new block.
`Method` is bound to the... -
11:30 AM Bug #19888 (Feedback): Can't change binding of a Proc coerced from a Method
- `instance_exec` or `instance_eval` can execute a given `Proc` in the context of the receiver. However, that's not tru...
-
08:21 AM Bug #17263: Fiber context switch degrades with number of fibers, limit on number of fibers
- OK, so I spent way longer than I should have staring at this but I think I've worked out what's going on. There are a...
-
02:08 AM Bug #19887 (Closed): RUBYOPT doesn't work unless starting with `-`
- Applied in changeset commit:git|c87f2a4f156477ba962de19866a1f6298d567398.
----------
[Bug #19887] RUBYOPT should wor... -
01:18 AM Bug #19887: RUBYOPT doesn't work unless starting with `-`
- https://github.com/ruby/ruby/pull/8465
-
01:11 AM Bug #19887 (Closed): RUBYOPT doesn't work unless starting with `-`
- It was working till 1.8.
```sh-session
$ for ruby in ruby{1.{8..9},2.{0..7},3.{0..3}}; do RUBYOPT=w $ruby -e 'puts ... -
01:04 AM Feature #19744: Namespace on read
- Eregon (Benoit Daloze) wrote in #note-21:
> On the native level it's a lot more tricky to isolate, for instance it's...
09/16/2023
-
03:47 PM Bug #19683: ruby-3.3.0-preview1 does not build with BSD make without --with-baseruby
- This is still a problem in 3.3.0-preview2. I've been using the following bad hack to work around it:
```diff
Ind... -
03:02 PM Bug #19864 (Closed): Ruby 3.2 Changed Behavior With One Sided Ranges
- Applied in changeset commit:git|25711683e86271385e8abe09a9c03782000e48db.
----------
Fix regression when testing inc... -
05:53 AM Bug #19864: Ruby 3.2 Changed Behavior With One Sided Ranges
- I've submitted a pull request for the diff posted earlier (with tests): https://github.com/ruby/ruby/pull/8458
-
02:15 PM Feature #19744: Namespace on read
- It seems interesting.
Regarding the motivation I wanted to mention some alternatives.
> Running multiple application... -
12:47 PM Bug #19880: Missing write barrier in iseq instruction list
- Merged into ruby_3_2 at https://github.com/ruby/ruby/commit/a7335e11e354d1ee2e15233f32f087230069ad5c.
-
08:07 AM Feature #19839: Need a method to check if two ranges overlap
- @nobu is trying to fix the corner cases that @ko1 pointed: https://github.com/ruby/ruby/pull/8448
-
05:57 AM Feature #19839 (Closed): Need a method to check if two ranges overlap
- Applied in changeset commit:git|e9b503f1bb9692eda1d1f55f62c19d861b88a0d5.
----------
[Feature #19839] Add Range#over... -
06:54 AM Misc #19883: DevMeeting-2023-10-12
- * [Feature #19744] Namespace on read (tagomoris)
* Now the PoC implementation works, can require 2 different versi... -
06:20 AM Bug #19886 (Closed): "default->bundled gem" warning is not shown under "bundle exec"
- ```
$ cat Gemfile
source "https://rubygems.org"
$ cat test.rb
require "base64"
$ bundle exec ruby test.rb
... -
04:10 AM Bug #19885 (Assigned): Invalid Warning for Default Gems That Will Move to Bundled Gems
- Agreed. I think the warning is good only when bundler is used.
@hsbt How about https://github.com/ruby/ruby/pull/8...
09/15/2023
-
10:26 PM Bug #19885 (Closed): Invalid Warning for Default Gems That Will Move to Bundled Gems
- Starting in ruby 3.3.0-preview2, attempting to require bigdecimal, mutex_m, base64, or other libraries that will move...
-
06:38 PM Feature #19842: Introduce M:N threads
- > this branch is bit of unstable.
If so, the sooner it's merge the sooner we can help stabilize it, and the more t... -
01:13 PM Bug #18257: rb_mRubyVMFrozenCore is broken by GC run
- Trying to reproduce all the steps, I still observe the behavior as described in comment #18257-12. I'll keep around t...
-
12:32 PM Bug #19875: Ruby 3.0 -> 3.1 Performance regression in String#count
- nobu (Nobuyoshi Nakada) wrote in #note-7:
> These are all generated by the same compiler?
Yes - FreeBSD clang v... -
06:13 AM Bug #19875: Ruby 3.0 -> 3.1 Performance regression in String#count
- Attaching the generated code by gcc version 11.4.0 (Ubuntu 11.4.0-1ubuntu1~22.04).
This seems vectorizing per 16 b... -
05:43 AM Bug #19875: Ruby 3.0 -> 3.1 Performance regression in String#count
- Freaky (Thomas Hurst) wrote in #note-6:
> Annotated disassemblies attached.
Thank you.
These are all generated b... -
04:31 AM Bug #19875: Ruby 3.0 -> 3.1 Performance regression in String#count
- Annotated disassemblies attached.
-
03:40 AM Bug #19875: Ruby 3.0 -> 3.1 Performance regression in String#count
- byroot (Jean Boussier) wrote in #note-4:
> > May you please help me to find the root cause?
>
> A start would be ... -
10:55 AM Bug #19882 (Closed): :$0x should be rejected
- Applied in changeset commit:git|89802078f9f406be411032814e1960e62dbc7ce2.
----------
[Bug #19882] Reject tokens inva... -
09:04 AM Bug #19882: :$0x should be rejected
- https://github.com/ruby/ruby/pull/8450
-
05:03 AM Bug #19882: :$0x should be rejected
- It's subtly intentional.
The former seemed better to me.
```
$ ruby -e '$01234'
-e:1: identifier $01234 is no... -
09:57 AM Feature #19884: Make Safe Navigation Operator work on classes
- I am not sure that pattern is that common to warrant using &., aside from the syntax not being very elegant, but that...
-
08:11 AM Feature #19884: Make Safe Navigation Operator work on classes
- Currently, you can do `ActiveRecord::Base.some_method rescue nil`
Using `&.` for rescuing an error in addition to th... -
08:06 AM Feature #19884 (Open): Make Safe Navigation Operator work on classes
- If a constant isn't defined it will raise a NameError:
```ruby
DoesNotExist.some_method # raises: uninitialized c... -
08:46 AM Feature #19839: Need a method to check if two ranges overlap
- I opened a PR about a month ago but should I close it...? https://github.com/ruby/ruby/pull/8242
-
08:01 AM Misc #19883 (Closed): DevMeeting-2023-10-12
- # The next dev meeting
**Date: 2023/10/12 13:00-17:00** (JST)
Log: *TBD*
- Dev meeting *IS NOT* a decision-mak... -
08:01 AM Misc #19858 (Closed): DevMeeting-2023-09-14
-
04:27 AM Bug #19778 (Closed): mkmf.rb pkg_config() interaction with RbConfig::CONFIG["cflags"]
- Applied in changeset commit:git|fe0225ff4d5af8b1f54009727b39d0d9b821eea3.
----------
[Bug #19778] Add `-I` options f... -
03:52 AM Bug #19778: mkmf.rb pkg_config() interaction with RbConfig::CONFIG["cflags"]
- https://github.com/ruby/ruby/pull/8449
-
02:08 AM Bug #9115: Logger traps all exceptions; breaks Timeout
- Eregon (Benoit Daloze) wrote in #note-12:
> mame (Yusuke Endoh) wrote in #note-11:
> > As a better-than-nothing mit... -
01:33 AM Bug #19873 (Closed): Thread#native_thread_id is incorrectly cached across fork on Linux
- Applied in changeset commit:git|0117a6d389c5b607eaec1b7f917132efa356f665.
----------
Fix Thread#native_thread_id bei...
Also available in: Atom