Activity
From 05/24/2023 to 05/30/2023
05/30/2023
-
11:42 PM Feature #19698: Need an idiomatic way to define an empty range
- What is your “intention” to use an “empty” range?
And what do you think “idiomatic” way is? -
10:55 PM Misc #19684: DevMeeting-2023-06-08
- * [Bug #11704] Refinements only get "used" once in loop (jeremyevans0)
* Is it expected that if a refinement is ac... -
10:43 PM Bug #9944 (Rejected): in ruby for windows in "system" a redirection to append a file works incorrectly
- @headius and I discussed this on the train back from RubyKaigi and determined this is a Windows-specific limitation, ...
-
10:09 PM Feature #19699 (Closed): Need a way to store values like dig
- I believe this is a duplicate of [Feature #14564], [Feature #13179] and [Feature #11747].
This was previously reje... -
08:07 PM Feature #19699: Need a way to store values like dig
- Currently, there is no way to perform a `.store` operation on nested hashes in Ruby as there is for accessing them us...
-
08:05 PM Feature #19699 (Closed): Need a way to store values like dig
- Currently, there is no way to perform a `.store` operation on nested hashes in Ruby as there is for accessing them us...
-
06:41 PM Misc #19693: Data initialization is significantly slower than Struct
- Have you tried:
```ruby
def initialize(_a = nil, _b = nil, a: _a, b: _b)
```
But that too I'm not sure is s... -
06:36 PM Misc #19693: Data initialization is significantly slower than Struct
- @Eregon Just in case you are interested, I tried implementing your suggestion:
> Defining a `new` singleton method... -
06:03 PM Feature #19694: Add Regexp#timeout= setter
- I guess the only noteworthy argument for a change goes like this:
A custom `timeout` only being available on `Reg... -
10:12 AM Feature #19694: Add Regexp#timeout= setter
- janosch-x (Janosch Müller) wrote in #note-7:
> ```ruby
> regexp = Regexp.with_timeout(2.0) { /foo/ }
> regexp.time... -
12:53 PM Feature #19697: Resolv::DNS resolution for international domains fails with "Encoding::CompatibilityError: incompatible character encodings: UTF-8 and ASCII-8BIT"
- byroot (Jean Boussier) wrote in #note-5:
> > FWIW I've touched on the potential feature request in the stdlib uri li... -
12:27 PM Misc #19122: Use MADV_DONTNEED instead of MADV_FREE when freeing a Fiber's stack
- ioquatix (Samuel Williams) wrote in #note-5:
> If you want to use a specific mode (OS specific), you can do this:
>... -
01:44 AM Bug #19680 (Closed): test_process.rb tests fail sometimes on FreeBSD
- Closed per request.
-
01:42 AM Bug #19680: test_process.rb tests fail sometimes on FreeBSD
- FreeBSD 13.1 CI hasn't failed since these fixes were merged so *touch wood* I think we can call this done.
-
01:04 AM Feature #19057 (Closed): Hide implementation of `rb_io_t`.
- https://github.com/ruby/ruby/pull/6511 was merged.
In addition, the following related PRs were merged:
- https://gi...
05/29/2023
-
10:23 PM Feature #19694: Add Regexp#timeout= setter
- I think it is better if no code can mutate the timeout of the Regexps that are passed into it, even if that affected ...
-
09:15 AM Feature #19057: Hide implementation of `rb_io_t`.
- ianks (Ian Ker-Seymer) wrote in #note-8:
> > With one tweak: not int rb_ioptr_descriptor(struct rb_io *ioptr); but i... -
09:05 AM Feature #19695: mkmf: Adding the extra option --with-verbose to enable verbose mode.
- > $ rake compiler -- --with-verbose
Sorry for my typo in the commit message. It's not "rake compiler" but "rake co... -
08:55 AM Feature #19695 (Closed): mkmf: Adding the extra option --with-verbose to enable verbose mode.
- Applied in changeset commit:git|57459b83a9a52ab921094a1562fe3056df9a437a.
----------
mkmf: Add the extra option `--w... -
03:01 AM Feature #19695: mkmf: Adding the extra option --with-verbose to enable verbose mode.
- LGTM
-
09:01 AM Misc #19679: Migrate Wiki from bugs.ruby-lang.org to ruby/ruby GitHub repository
- I enabled GitHub wiki page: https://github.com/ruby/ruby/wiki
-
05:06 AM Feature #19698 (Open): Need an idiomatic way to define an empty range
- It seems there is no idiomatic way to define an empty range. We can define empty ranges in several ways such as
``... -
02:56 AM Misc #19691: File.realpath on Windows does not return actual case of the file
- `File.absolute_path` and `File.expand_path` normalize a short path to the long path, and the case too (maybe as a sid...
05/28/2023
-
07:05 AM Feature #19697: Resolv::DNS resolution for international domains fails with "Encoding::CompatibilityError: incompatible character encodings: UTF-8 and ASCII-8BIT"
- > FWIW I've touched on the potential feature request in the stdlib uri library which was not further discussed
Tha... -
02:19 AM Feature #19057: Hide implementation of `rb_io_t`.
- > With one tweak: not int rb_ioptr_descriptor(struct rb_io *ioptr); but int rb_io_descriptor(VALUE io);.
> The goal ...
05/27/2023
-
10:54 PM Feature #19697: Resolv::DNS resolution for international domains fails with "Encoding::CompatibilityError: incompatible character encodings: UTF-8 and ASCII-8BIT"
- I agree with byroot, this shouldn't be solved at the resolve layer.
FWIW I've [touched on the potential feature requ... -
02:39 PM Feature #19697: Resolv::DNS resolution for international domains fails with "Encoding::CompatibilityError: incompatible character encodings: UTF-8 and ASCII-8BIT"
- clairity (claire c) wrote:
> i try to resolve a registered international domain, and instead of receiving DNS record... -
08:30 AM Feature #19697: Resolv::DNS resolution for international domains fails with "Encoding::CompatibilityError: incompatible character encodings: UTF-8 and ASCII-8BIT"
- While I think Ruby should offer a way to handle unicode domains, I'm not sure punycode should be handled at the Resol...
-
05:54 AM Feature #19697 (Open): Resolv::DNS resolution for international domains fails with "Encoding::CompatibilityError: incompatible character encodings: UTF-8 and ASCII-8BIT"
- i try to resolve a registered international domain, and instead of receiving DNS records, get an `incompatible charac...
-
05:53 PM Misc #19693: Data initialization is significantly slower than Struct
- janosch-x (Janosch Müller) wrote in #note-8:
> BTW using literal kwargs in Ruby also makes struct initialization wit... -
05:09 PM Misc #19693: Data initialization is significantly slower than Struct
- > I suppose it wouldn't hurt.
I think its beautiful 😁
Another option could be to bypass the initializer by defa... -
12:51 PM Misc #19693: Data initialization is significantly slower than Struct
- > This is a kind of cheat
Hum, if I'm reading this correctly, you check is `initialize` was redefined, and if it w... -
10:14 AM Misc #19693: Data initialization is significantly slower than Struct
- This is a kind of cheat, but...
https://github.com/nobu/ruby/tree/data-optimize
---
compare-ruby: ruby 3.3.0de... -
10:12 AM Misc #17591: Test frameworks and REPLs do not show deprecation warnings by default
- IMO we should find a way for RSpec to enable them by default, it is hurting RSpec users and destroying ruby-core's ef...
-
09:55 AM Misc #17591: Test frameworks and REPLs do not show deprecation warnings by default
- Given that RSpec doesn't want to enable deprecation warnings by default, and that they were turned off mostly because...
-
10:12 AM Feature #19057: Hide implementation of `rb_io_t`.
- Given the discussion here, I just want to aim for "Hide all the details".
Thanks everyone, the discussion has been m... -
09:58 AM Feature #19057: Hide implementation of `rb_io_t`.
- ioquatix (Samuel Williams) wrote in #note-3:
> Maybe it's CRuby problem, but there is a performance issue with such ... -
08:49 AM Feature #19057: Hide implementation of `rb_io_t`.
- I did a bit of research on this topic this evening.
Firstly, some technical notes r.e. undefined behaviour.
My ...
05/26/2023
-
08:36 PM Bug #19696: YJIT panicked - branch stubs should never enlarge branches
- I understand it's intermittent and hard to reproduce, but could you try running it with `RUST_BACKTRACE=1` environmen...
-
03:05 PM Feature #19694: Add Regexp#timeout= setter
- byroot (Jean Boussier) wrote in #note-5:
> I assume you could have an internal regexp object that is deduplicated and... -
01:57 PM Feature #19694: Add Regexp#timeout= setter
- > I do get the point that Regexp.new is less nice than /.../.
The main issue with `Regexp.new` is that it compile ... -
09:38 AM Feature #19694: Add Regexp#timeout= setter
- On TruffleRuby all Regexp instances are frozen, notably because they are all globally cached and deduplicated, so thi...
-
05:14 AM Feature #19694: Add Regexp#timeout= setter
- I agree with @austin, calling `new` with `timeout:` feels simpler and better than `dup` then set.
-
02:55 PM Misc #19679: Migrate Wiki from bugs.ruby-lang.org to ruby/ruby GitHub repository
- hsbt (Hiroshi SHIBATA) wrote in #note-1:
> So, I suggest to use option 1 at first for this migration
I agree, t... -
09:28 AM Misc #19693: Data initialization is significantly slower than Struct
- Defining a `new` singleton method on the Data subclass, in Ruby and with explicit keyword arguments should be able to...
-
06:50 AM Bug #19680: test_process.rb tests fail sometimes on FreeBSD
- OK so https://github.com/ruby/ruby/pull/7864 and https://github.com/ruby/ruby/pull/7865 were merged, so this _should_...
05/25/2023
-
09:53 PM Feature #19694: Add Regexp#timeout= setter
- > I am a little surprised that regex literals are frozen, but Regexp.new regexen aren’t.
It's because:
```ruby
... -
07:09 PM Feature #19694: Add Regexp#timeout= setter
- Since you have to `.dup` a regexp literal, it might be better to just call `Regexp.new`:
```ruby
emoji_filter_pat... -
06:55 PM Feature #19694 (Open): Add Regexp#timeout= setter
- # Abstract
In addition to allowing for a Regexp timeout to be set on individual instances by setting a `timeout` a... -
09:19 PM Bug #19696 (Feedback): YJIT panicked - branch stubs should never enlarge branches
- ### Description
We found this error on Rails CI with YJIT enabled. I'm not quite sure how to reproduce it since th... -
09:10 PM Misc #19693: Data initialization is significantly slower than Struct
- @janosch-x based on the discussion in #19278, I don't think it's possible as `Data` specifically designed so that `in...
-
08:20 PM Misc #19693: Data initialization is significantly slower than Struct
- @byroot To me it looks as if the handling of positional args in `rb_data_s_new` / `rb_data_initialize_m` could perhap...
-
04:36 PM Misc #19693 (Closed): Data initialization is significantly slower than Struct
- Should we close? I don't see anything actionable here.
-
12:25 PM Misc #19693: Data initialization is significantly slower than Struct
- `Data.new` creates a Hash and initializes via the Hash.
The following line results in similar performance:
```r... -
10:55 AM Misc #19693 (Closed): Data initialization is significantly slower than Struct
- Maybe there is potential to make it as fast as Struct?
```ruby
require 'benchmark/ips'
S = Struct.new(:a, :b, ... -
08:15 PM Feature #19695 (Closed): mkmf: Adding the extra option --with-verbose to enable verbose mode.
- I want the new feature to enable the verbose mode by setting the `V = 1` in the generated `Makefile` at runtime when ...
-
12:56 PM Feature #19678 (Closed): Don't immediately promote children of old objects
- Applied in changeset commit:git|e87f6c899e55f4d9452ce4d75cf2a725ae736aff.
----------
Don't immediately promote child... -
11:00 AM Feature #19644: Module::current to complement Module::nesting
- bughit (bug hit) wrote in #note-12:
> Still, a single label identifier without arguments (like `__mod(ule)__`) looks... -
05:13 AM Feature #19682: ability to get a reference to the "default definee"
- You have explained the concept of (existence of) “default definee”. I personally don't use that particular term, but ...
-
04:45 AM Feature #19682: ability to get a reference to the "default definee"
- matz (Yukihiro Matsumoto) wrote in #note-28:
> > Where do you see "why not" as a justification?
>
> From your fir... -
04:18 AM Feature #19682: ability to get a reference to the "default definee"
- > Where do you see "why not" as a justification?
From your first proposal.
> "default definee" is a pretty impo... -
01:11 AM Feature #19682: ability to get a reference to the "default definee"
- matz (Yukihiro Matsumoto) wrote in #note-24:
> “why not” is not enough. If there are real-world use-cases, we might r... -
12:37 AM Feature #19682: ability to get a reference to the "default definee"
- rubyFeedback (robert heiler) wrote in #note-22:
> The question here is how a ruby user refers to it.
What to name... -
12:33 AM Feature #19682: ability to get a reference to the "default definee"
- ioquatix (Samuel Williams) wrote in #note-23:
> I'll consider opening a new one with a specific proposal around Modu... -
12:19 AM Feature #19682: ability to get a reference to the "default definee"
- “why not” is not enough. If there are real-world use-cases, we might reconsider in the future.
In addition, I don't ... -
02:07 AM Misc #19122: Use MADV_DONTNEED instead of MADV_FREE when freeing a Fiber's stack
- If you want to use a specific mode (OS specific), you can do this:
On Linux, find the mode, e.g. `MADV_DONTNEED = 6`... -
01:51 AM Bug #19689: ruby_vm_event_enabled_global_flags is not exported by ruby 3.3.0-preview1
- nobu (Nobuyoshi Nakada) wrote in #note-1:
> That is one of symbols had been exported only for MJIT, and is declared ...
05/24/2023
-
11:50 PM Feature #19682: ability to get a reference to the "default definee"
- > A clear specification of what? "default definee" is quite clear in ruby internals, it has to be, there can be no am...
-
06:05 PM Feature #19682: ability to get a reference to the "default definee"
- bughit wrote:
> "default definee" is quite clear in ruby internals
The internals are not necessarily what ruby "sho... -
02:17 PM Feature #19682: ability to get a reference to the "default definee"
- ioquatix (Samuel Williams) wrote in #note-20:
> Without a clear specification, we cannot implement this feature.
... -
10:27 AM Feature #19682 (Rejected): ability to get a reference to the "default definee"
- Without a clear specification, we cannot implement this feature. I'll consider opening a new one with a specific prop...
-
11:23 PM Feature #19688 (Closed): Add indentable block comment syntax
- I can understand the need for multi-line comment (although I mostly use Emacs or IDE to comment a region out).
But p... -
07:59 PM Feature #19688: Add indentable block comment syntax
- rubyFeedback (robert heiler) wrote in #note-3:
> As for rdoc: I don't like rdoc's syntax either. I feel the
> entri... -
06:01 PM Feature #19688: Add indentable block comment syntax
- I think I can somewhat understand the rationale for the issue, even
though I personally don't really need it. I use ... -
02:19 PM Feature #19688 (Feedback): Add indentable block comment syntax
- `#begin` has been parsed as a single line comment.
Changing it can be incompatibility.
Why not just indenting `=beg... -
10:47 AM Feature #19688 (Closed): Add indentable block comment syntax
- Ruby's default block comment is using `=begin` and `=end`
```ruby
=begin
Some block comments
=end
```
However... -
09:35 PM Bug #17826: Ractor#take hangs if used in multiple Threads
- I have tried the latest stable Ruby version 3.2.2 and the bug is still here
`ruby 3.2.2 (2023-03-30 revision e5101... -
08:21 PM Misc #19692 (Open): Net::HTTP Performance Workstream
- While working on identifying causes behind Capybara test slowness I had noticed some memory profiles pointed at a few...
-
05:54 PM Feature #19690: Add terminal colorizing gem to stdlib
- One more smaller thing to add: I don't know how colours are
used on embedded / constraint system, so anyone with som... -
05:52 PM Feature #19690: Add terminal colorizing gem to stdlib
- https://bugs.ruby-lang.org/issues/19690
Personally I support the original idea suggested by ccmywish so +1 from me
f... -
03:19 PM Feature #19690: Add terminal colorizing gem to stdlib
- Hi there. I think we're talking about two different needs here:
1. A coloring library for Ruby Core tooling projec... -
02:19 PM Feature #19690: Add terminal colorizing gem to stdlib
- I'd like to see support for this in Ruby Core as well. To add to the above, I think it would be nice if there was a b...
-
11:10 AM Feature #19690 (Open): Add terminal colorizing gem to stdlib
- Recently the new version of `tracer` gem caught my eye. But I've noticed an anti-DRY pattern.
I've noticed that ma... -
05:22 PM Misc #19691: File.realpath on Windows does not return actual case of the file
- @jeremyevans0
Thanks. I hadn't looked yet. JFYI, `File.absolute_path` does seem to work correctly.
```
# file... -
04:55 PM Misc #19691: File.realpath on Windows does not return actual case of the file
- @nobu
Thanks.
Using the following Windows Rubies, I get different results. All double load and throw `NameErro... -
04:36 PM Misc #19691 (Open): File.realpath on Windows does not return actual case of the file
- Looks like #17885 fixed the issue for case-insensitive Mac OS file systems. However, it is not fixed on Windows beca...
-
04:04 PM Misc #19691 (Feedback): File.realpath on Windows does not return actual case of the file
- I think it has changed since 3.1.
```shell-session
$ ruby3.0 -v -W0 -rsingleton -rSingleton -e 'p $"[-2..-1]'
ruby 3... -
03:24 PM Misc #19691: File.realpath on Windows does not return actual case of the file
- Sorry, accidentally used the default 'Tracker type', which is 'Bug'. Meant to post it as 'Misc'
-
03:22 PM Misc #19691 (Open): File.realpath on Windows does not return actual case of the file
- I don't know what I think of this (expected or bug), but recently in a forum I saw an issue that I don't recall accid...
-
04:12 PM Feature #19571 (Closed): Add REMEMBERED_WB_UNPROTECTED_OBJECTS_LIMIT_RATIO to the GC
- Applied in changeset commit:git|a23ae56c4d24ade9438393fc47d6f2b730e3f7a8.
----------
Add REMEMBERED_WB_UNPROTECTED_O... -
04:09 PM Bug #18738 (Closed): IRB can't recognize heredoc after words
-
09:34 AM Bug #18738: IRB can't recognize heredoc after words
- This has been fixed. Please close it.
-
03:08 PM Misc #19122: Use MADV_DONTNEED instead of MADV_FREE when freeing a Fiber's stack
- https://github.com/ruby/ruby/pull/7855 should enable you to test different advice. Just bit shift it to the left to e...
-
02:16 PM Bug #16265: Test (spec) failure using current MSYS2 tools, related to -fstack-protector and possibly D_FORTIFY_SOURCE=2
- I'm not sure how the `ubf_io` can be used as part of the public extension API on Windows, as it's unable to interrupt...
-
01:46 PM Bug #16265 (Closed): Test (spec) failure using current MSYS2 tools, related to -fstack-protector and possibly D_FORTIFY_SOURCE=2
- Merged in <https://github.com/ruby/ruby/commit/6d976eb5348098a346d82065621e37925acae8b8>.
-
07:45 AM Bug #16265: Test (spec) failure using current MSYS2 tools, related to -fstack-protector and possibly D_FORTIFY_SOURCE=2
- @shyouhei Do you think we should add something like:
```
#ifdef _WIN32
#include "ruby/win32.h"
#endif
```
t... -
06:52 AM Bug #16265: Test (spec) failure using current MSYS2 tools, related to -fstack-protector and possibly D_FORTIFY_SOURCE=2
- Okay, the root cause of the hang is because `read` in `thread_spec.c` is not `rb_w32_read`. Something is clobbering t...
-
01:27 AM Bug #16265: Test (spec) failure using current MSYS2 tools, related to -fstack-protector and possibly D_FORTIFY_SOURCE=2
- I'm going to see if we can fix this.
https://github.com/ruby/ruby/pull/7848 -
01:56 PM Bug #19689 (Feedback): ruby_vm_event_enabled_global_flags is not exported by ruby 3.3.0-preview1
- That is one of symbols had been exported only for MJIT, and is declared in an internal header.
For what do you want ... -
11:01 AM Bug #19689 (Feedback): ruby_vm_event_enabled_global_flags is not exported by ruby 3.3.0-preview1
- As far as I understand headers, it still should be available.
Still:
```
hurricup@AM-UNIT-0002:/usr/share/rvm/r... -
08:14 AM Bug #19687 (Closed): Should a development version of the standard library be included in ruby/ruby?
- Sure. Thanks for your opinions.
So, my opinion for this situation is below.
> 2. Should a development version o... -
07:56 AM Bug #19687: Should a development version of the standard library be included in ruby/ruby?
- > > Can we close this?
>
> Why do you think so?
Because your `bundle install` problem was solved.
> 1. Is it... -
07:50 AM Bug #19687: Should a development version of the standard library be included in ruby/ruby?
- > Can we close this?
Why do you think so? I want to know the opinions for the following questions I wrote for the ... -
07:39 AM Bug #19687: Should a development version of the standard library be included in ruby/ruby?
- Can we close this?
-
07:35 AM Bug #19687: Should a development version of the standard library be included in ruby/ruby?
- kou (Kouhei Sutou) wrote in #note-3:
> Ah, sorry. I missed that you use the `--standalone` option.
> Can you remove... -
06:57 AM Bug #19687: Should a development version of the standard library be included in ruby/ruby?
- Ah, sorry. I missed that you use the `--standalone` option.
Can you remove the `--standalone` option? -
06:29 AM Bug #19687: Should a development version of the standard library be included in ruby/ruby?
- > Could you show the output of gem list | grep stringio?
Sure. Below is the result.
```
$ which gem
~/.local/ruby-b... -
06:52 AM Feature #19630: [RFC] Deprecate `Kernel#open("|command-here")` due to frequent security issues
- This proposal make sense to me. But I'm not sure how impact existing code for this incompatibility.
Do you have an... -
05:03 AM Misc #19679: Migrate Wiki from bugs.ruby-lang.org to ruby/ruby GitHub repository
- Thank you, Jemma.
>Before I begin the migration, someone who has the appropriate permissions on GitHub will need t... -
01:47 AM Bug #19685: ruby --helpに --yydebugの情報がない
- ありがとうございます. @nobu さんの意見を踏まえた上で修正のPRを送ろうと思います.
-
01:44 AM Feature #19644: Module::current to complement Module::nesting
- nobu (Nobuyoshi Nakada) wrote in #note-10:
> bughit (bug hit) wrote in #note-8:
> > `Module.nesting(n)` does address ...