Project

General

Profile

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?
nobu (Nobuyoshi Nakada)
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...
jeremyevans0 (Jeremy Evans)
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, ... jeremyevans0 (Jeremy Evans)
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...
byroot (Jean Boussier)
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... edufcarvalho (Eduardo Carvalho)
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... edufcarvalho (Eduardo Carvalho)
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...
byroot (Jean Boussier)
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...
janosch-x (Janosch Müller)
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...
janosch-x (Janosch Müller)
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...
Eregon (Benoit Daloze)
03:20 PM Revision 1f74e25c (git): YJIT: Force showing a backtrace on panic (#7869)
k0kubun (Takashi Kokubun)
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...
chucke (Tiago Cardoso)
12:50 PM Revision 4bbeed61 (git): Merge RubyGems/Bundler master from 4076391fce5847689bf2ec402b17133fe4e32285
hsbt (Hiroshi SHIBATA)
12:39 PM Revision 30b960ba (git): [ruby/io-nonblock] Add TruffleRuby support and add it in CI
* Do not use a C extension on TruffleRuby for these 3 methods.
https://github.com/ruby/io-nonblock/commit/1b8e52abfa
Eregon (Benoit Daloze)
12:39 PM Revision c7c8e4c9 (git): [ruby/io-nonblock] Use the correct pattern for the fallback of rb_io_descriptor()
* See https://github.com/ruby/io-console/pull/43/commits/d1d9aef45ceb14365fdf0ebee3e5ea06f27da682
https://github.com...
Eregon (Benoit Daloze)
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:
>...
smcgivern (Sean McGivern)
01:44 AM Bug #19680 (Closed): test_process.rb tests fail sometimes on FreeBSD
Closed per request. ioquatix (Samuel Williams)
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. kjtsanaktsidis (KJ Tsanaktsidis)
01:43 AM Revision ec9364e5 (git): [ruby/racc] Remove ErrorSymbolValue reference
I cannot find where this is defined. I'm guessing neither this
nor the else branch is ever hit. I only found out wh...
jeremyevans (Jeremy Evans)
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...
ioquatix (Samuel Williams)
01:02 AM Revision 18e55fc1 (git): Hide most of the implementation of `struct rb_io`. (#6511)
* Add rb_io_path and rb_io_open_descriptor.
* Use rb_io_open_descriptor to create PTY objects
* Rename FMODE_PREP -...
Samuel Williams

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 ... janosch-x (Janosch Müller)
09:24 PM Revision 7ddcd062 (git): [rubygems/rubygems] Bump rb-sys
Bumps [rb-sys](https://github.com/oxidize-rb/rb-sys) from 0.9.77 to 0.9.78.
- [Release notes](https://github.com/oxid...
dependabot[bot]
07:33 PM Revision f61bd3ca (git): [ruby/cgi] Add TruffleRuby support and add it in CI
https://github.com/ruby/cgi/commit/1240fec9c9 Eregon (Benoit Daloze)
07:31 PM Revision 610038f3 (git): [ruby/etc] Use the correct pattern for the fallback of rb_io_descriptor()
* See https://github.com/ruby/io-console/pull/43/commits/d1d9aef45ceb14365fdf0ebee3e5ea06f27da682
https://github.com...
Eregon (Benoit Daloze)
04:33 PM Revision 99ce4156 (git): Refactor guards for Time.new spec
Eregon (Benoit Daloze)
03:55 PM Revision b7a26dfa (git): Unify error messages of rb_num2ulong and rb_num2ull
The error messages were slightly different due, which causes different
behaviour on 32-bit and 64-bit systems.
peterzhu2118 (Peter Zhu)
01:27 PM Revision c48d496e (git): Update to ruby/spec@c3677cf
Eregon (Benoit Daloze)
01:01 PM Revision 98f500d0 (git): [ruby/openssl] Remove usage of IO internals.
Samuel Williams
12:37 PM Revision 764207e4 (git): [ruby/io-console] Remove trailing whitespace.
https://github.com/ruby/io-console/commit/55f1586463 Samuel Williams
12:30 PM Revision 1889133c (git): [ruby/io-console] Remove usage of IO internals.
(https://github.com/ruby/io-console/pull/43)
https://github.com/ruby/io-console/commit/4b839a504f
Co-authored-by: B...
Samuel Williams
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...
Eregon (Benoit Daloze)
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...
jaruga (Jun Aruga)
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...
Anonymous
03:01 AM Feature #19695: mkmf: Adding the extra option --with-verbose to enable verbose mode.
LGTM nobu (Nobuyoshi Nakada)
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 hsbt (Hiroshi SHIBATA)
08:09 AM Revision 57459b83 (git): mkmf: Add the extra option `--with-verbose` to enable verbose mode. (#7863)
This commit is to add an extra option to enable verbose mode (V=1) in the
generated `Makefile` at runtime of the Ruby...
Jun Aruga
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
``...
shouichi (Shouichi Kamiya)
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... nobu (Nobuyoshi Nakada)

05/28/2023

09:20 AM Revision d5ef373b (git): [ruby/irb] Set maximum document dialog height by
preferred_dialog_height provided by Reline
(https://github.com/ruby/irb/pull/591)
https://github.com/ruby/irb/commit...
tompng (tomoya ishida)
08:40 AM Revision 14abb799 (git): [ruby/io-nonblock] Remove usage of IO internals.
(https://github.com/ruby/io-nonblock/pull/11)
https://github.com/ruby/io-nonblock/commit/caa2b94d19
Samuel Williams
08:01 AM Revision 55393645 (git): [ruby/io-nonblock] Revert "Remove usage of IO internals."
This reverts commit https://github.com/ruby/io-nonblock/commit/9772b6dcb63c.
https://github.com/ruby/io-nonblock/com...
Samuel Williams
07:49 AM Revision 26dd9c5f (git): [ruby/io-nonblock] Remove usage of IO internals.
https://github.com/ruby/io-nonblock/commit/9772b6dcb6 Samuel Williams
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...
byroot (Jean Boussier)
05:09 AM Revision 881757c0 (git): [ruby/io-wait] Remove usage of IO internals.
(https://github.com/ruby/io-wait/pull/25)
https://github.com/ruby/io-wait/commit/e5854b46c7
Samuel Williams
05:08 AM Revision 00d66746 (git): [ruby/etc] Remove usage of IO internals.
(https://github.com/ruby/etc/pull/26)
https://github.com/ruby/etc/commit/ea15eceb13
Samuel Williams
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 ...
ianks (Ian Ker-Seymer)

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...
chucke (Tiago Cardoso)
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...
clairity (claire c)
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... byroot (Jean Boussier)
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... clairity (claire c)
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...
Eregon (Benoit Daloze)
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...
janosch-x (Janosch Müller)
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...
byroot (Jean Boussier)
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...
nobu (Nobuyoshi Nakada)
03:07 PM Revision cf0b9e0d (git): [ruby/reline] Fix scrolldown condition in dialog rendering
(https://github.com/ruby/reline/pull/541)
https://github.com/ruby/reline/commit/ad6faada3f
tompng (tomoya ishida)
02:48 PM Revision 5d137a7f (git): [ruby/reline] Use appropriate dialog height and reduce screen pushup
problem
(https://github.com/ruby/reline/pull/542)
* Provide preferred_dialog_height for dialog positioning
* Fix re...
tompng (tomoya ishida)
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... Eregon (Benoit Daloze)
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... byroot (Jean Boussier)
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...
ioquatix (Samuel Williams)
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 ...
Eregon (Benoit Daloze)
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 ...
kjtsanaktsidis (KJ Tsanaktsidis)
09:48 AM Revision bf1bc536 (git): Improve `read`/`write`/`pread`/`pwrite` consistency. (#7860)
* Documentation consistency.
* Improve consistency of `pread`/`pwrite` implementation when given length.
* Remove H...
Samuel Williams

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... k0kubun (Takashi Kokubun)
05:34 PM Revision c37ebfe0 (git): Remove dead code in string.c
The STR_DEC_LEN macro is not used. peterzhu2118 (Peter Zhu)
05:07 PM Revision c6e4337a (git): [DOC] No document under win32
Also .document was removed at 57bc4cfa283582f7c4c7013bb8a979e0baf3236c. nobu (Nobuyoshi Nakada)
04:26 PM Revision 94e5ecbb (git): [ruby/rdoc] Improve `<summary>` CSS on sidebar
- Use a smaller font size for the toggle symbol. (Currently, it seems a little too large)
- Use the child combinator ...
Masafumi Koba
04:24 PM Revision 54b7ce0b (git): [ruby/rdoc] Improve layout CSS
- Use the `grid` property for the page layout.
- https://caniuse.com/css-grid
- Adjust the `<main>` margin.
- Make ...
Masafumi Koba
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...
Eregon (Benoit Daloze)
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 ...
byroot (Jean Boussier)
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... Eregon (Benoit Daloze)
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. nobu (Nobuyoshi Nakada)
02:58 PM Revision 618a04d2 (git): Document throw/catch in the control expressions document [ci skip]
This are implemented as Kernel methods and not keywords, but I
still think they are worth documenting with the other ...
jeremyevans (Jeremy Evans)
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...
jemmai (Jemma Issroff)
01:24 PM Revision 4847b7ac (git): T_HASH is no longer on transient heap
peterzhu2118 (Peter Zhu)
01:20 PM Revision d62ae187 (git): [DOC] Link fix (#7862)
burdettelamar (Burdette Lamar)
01:19 PM Revision 6d450d62 (git): testing_ruby.md: Update `make test-all` tips [ci skip]
Jun Aruga
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... Eregon (Benoit Daloze)
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_... kjtsanaktsidis (KJ Tsanaktsidis)
05:51 AM Revision cc698c6c (git): * expand tabs. [ci skip]
Please consider using misc/expand_tabs.rb as a pre-commit hook. git[bot]
05:51 AM Revision d1628fea (git): Remvoe very high timeout on test_race_gets_and_close
This test should be fixed and fast now because the closing thread sleeps
appropriately waiting for the file descripto...
kjtsanaktsidis (KJ Tsanaktsidis)
05:51 AM Revision 66871c5a (git): Fix busy-loop when waiting for file descriptors to close
When one thread is closing a file descriptor whilst another thread is
concurrently reading it, we need to wait for th...
KJ Tsanaktsidis
05:51 AM Revision 54a74c42 (git): Move rb_thread_cond_struct definition into thread_native.h
On Win32, currently, rb_nativethread_cond_t is an incomplete type
because it's a typedef for `struct rb_thread_cond_s...
kjtsanaktsidis (KJ Tsanaktsidis)
05:48 AM Revision 8c4da473 (git): Remove excessive timeout on test_wait_exception for FreeBSD
This should now be fixed by the previous commit. kjtsanaktsidis (KJ Tsanaktsidis)
05:48 AM Revision 8e1abef4 (git): Fix a potential busy-loop in the thread scheduler (esp. on FreeBSD)
This patch fixes a potential busy-loop in the thread scheduler. If there
are two threads, the main thread (where Ruby...
KJ Tsanaktsidis
03:39 AM Revision 3dae55ea (git): Bump github/codeql-action from 2.3.3 to 2.3.5
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.3.3 to 2.3.5.
- [Release notes](https://...
dependabot[bot]

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
...
byroot (Jean Boussier)
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...
austin (Austin Ziegler)
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...
aharpole (Aaron Harpole)
09:51 PM Revision d83f32c3 (git): [rubygems/rubygems] Load plugin immediately
We can install RubyGems plugin by "gem install XXX". The installed
plugin is used from the NEXT "gem ...".
For examp...
Sutou Kouhei
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...
wildmaples (Maple Ong)
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... byroot (Jean Boussier)
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... janosch-x (Janosch Müller)
04:36 PM Misc #19693 (Closed): Data initialization is significantly slower than Struct
Should we close? I don't see anything actionable here. byroot (Jean Boussier)
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...
nobu (Nobuyoshi Nakada)
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, ...
janosch-x (Janosch Müller)
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 ... jaruga (Jun Aruga)
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...
peterzhu2118 (Peter Zhu)
12:56 PM Revision e87f6c89 (git): Don't immediately promote children of old objects
[Feature #19678]
References from an old object to a write barrier protected young object
will not immediately promot...
peterzhu2118 (Peter Zhu)
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...
Eregon (Benoit Daloze)
09:12 AM Revision 57fce84c (git): Update default gems list at e5bce57e1d3ab6eb8c218355e9b31f [ci skip]
git[bot]
09:11 AM Revision e5bce57e (git): [ruby/nkf] Bump up nkf-0.1.3
https://github.com/ruby/nkf/commit/bc90e2ed39 hsbt (Hiroshi SHIBATA)
09:11 AM Revision 3026a2f4 (git): [ruby/nkf] Added mission extension configuration
https://github.com/ruby/nkf/commit/e627a39dff hsbt (Hiroshi SHIBATA)
07:09 AM Revision 5ade6be7 (git): Fixup 5bfb317a938
hsbt (Hiroshi SHIBATA)
07:08 AM Revision 5bfb317a (git): [ruby/benchmark] Don't use version.rb
https://github.com/ruby/benchmark/commit/6d51b10500 hsbt (Hiroshi SHIBATA)
06:59 AM Revision 8e2fac7b (git): Update bundled gems list at 2023-05-25
git[bot]
06:47 AM Revision d1237bc3 (git): Move gemspec files to top of lib directory.
They have version.rb files with same directory.
But version.rb have been removed at https://github.com/ruby/ruby/pu...
hsbt (Hiroshi SHIBATA)
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 ... matz (Yukihiro Matsumoto)
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...
bughit (bug hit)
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...
matz (Yukihiro Matsumoto)
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...
bughit (bug hit)
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...
bughit (bug hit)
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...
bughit (bug hit)
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 ...
matz (Yukihiro Matsumoto)
03:42 AM Revision 99a078f4 (git): Bump necojackarc/auto-request-review from 0.11.0 to 0.12.0
Bumps [necojackarc/auto-request-review](https://github.com/necojackarc/auto-request-review) from 0.11.0 to 0.12.0.
- ...
dependabot[bot]
02:17 AM Revision 492e0025 (git): Allow environment variable to control madvise advice. (#7855)
Introduce experimental support for explicitly specifying the `advice` value provided to `madvise` when releasing the ... Samuel Williams
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`...
ioquatix (Samuel Williams)
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 ...
hurricup (Alexandr Evstigneev)

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... ioquatix (Samuel Williams)
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...
rubyFeedback (robert heiler)
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.
...
bughit (bug hit)
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... ioquatix (Samuel Williams)
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...
matz (Yukihiro Matsumoto)
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...
austin (Austin Ziegler)
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 ...
rubyFeedback (robert heiler)
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...
nobu (Nobuyoshi Nakada)
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...
ccmywish (Aoran Zeng)
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...
kukunin (Sergiy Kukunin)
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... baweaver (Brandon Weaver)
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...
rubyFeedback (robert heiler)
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...
rubyFeedback (robert heiler)
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...
st0012 (Stan Lo)
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... bkuhlmann (Brooke Kuhlmann)
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...
ccmywish (Aoran Zeng)
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...
MSP-Greg (Greg L)
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...
MSP-Greg (Greg L)
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... jeremyevans0 (Jeremy Evans)
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...
nobu (Nobuyoshi Nakada)
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' MSP-Greg (Greg L)
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... MSP-Greg (Greg L)
04:44 PM Revision 31b28b31 (git): [ruby/csv] Support RJIT (https://github.com/ruby/csv/pull/281)
In Ruby 3.3, MJIT is replaced with RJIT.
https://github.com/ruby/csv/commit/cc6b47a4a7
nobu (Nobuyoshi Nakada)
04:44 PM Revision 38ef537c (git): [ruby/csv] test: rename Helper to CSVHelper
(https://github.com/ruby/csv/pull/278)
Rename it so that in ruby/ruby, the generic name Helper is not used.
luke-gru (Luke Gruber)
04:44 PM Revision e151a2ff (git): [ruby/csv] docs: fix example in Recipe: Capture Unconverted Fields
(https://github.com/ruby/csv/pull/276)
I've fixed the example in `Recipe: Capture Unconverted Fields`.
https://ruby...
Yuki Tsujimoto
04:44 PM Revision 88876f02 (git): [ruby/csv] All Enumerable based methods consume the same lines with other methods
This may have a performance penalty. We should benchmark this.
GitHub: fix https://github.com/ruby/csv/pull/260
Rep...
Sutou Kouhei
04:44 PM Revision 73c56e06 (git): [ruby/csv] CSV#read consumes the same lines with other methods like CSV#shift
GitHub: fix https://github.com/ruby/csv/pull/258
Reported by Lhoussaine Ghallou. Thanks!!!
https://github.com/ruby/...
Sutou Kouhei
04:44 PM Revision a0709d0a (git): [ruby/csv] Remove no longer required refinements
(https://github.com/ruby/csv/pull/250)
Since PR #159, the minimum Ruby version is 2.5.0, a version which no
longer r...
Maumagnaguagno (Mau Magnaguagno)
04:44 PM Revision 55a900d9 (git): [ruby/csv] Fix typos (https://github.com/ruby/csv/pull/236)
https://github.com/ruby/csv/commit/d5e401266f Sampat Badhe
04:44 PM Revision 81c57ae7 (git): [ruby/csv] Small RDoc changes for recipes
(https://github.com/ruby/csv/pull/190)
https://github.com/ruby/csv/commit/2102c78384
burdettelamar (Burdette Lamar)
04:44 PM Revision 347afd39 (git): [ruby/csv] Enhanced RDoc for CSV::Table
(https://github.com/ruby/csv/pull/166)
https://github.com/ruby/csv/commit/1d685aede3
burdettelamar (Burdette Lamar)
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...
peterzhu2118 (Peter Zhu)
04:11 PM Revision a23ae56c (git): Add REMEMBERED_WB_UNPROTECTED_OBJECTS_LIMIT_RATIO
[Feature #19571]
This commit adds the environment variable
`RUBY_GC_HEAP_REMEMBERED_WB_UNPROTECTED_OBJECTS_LIMIT_RAT...
peterzhu2118 (Peter Zhu)
04:09 PM Bug #18738 (Closed): IRB can't recognize heredoc after words
jeremyevans0 (Jeremy Evans)
09:34 AM Bug #18738: IRB can't recognize heredoc after words
This has been fixed. Please close it. ccmywish (Aoran Zeng)
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... ioquatix (Samuel Williams)
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... ioquatix (Samuel Williams)
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>. ioquatix (Samuel Williams)
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...
ioquatix (Samuel Williams)
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... ioquatix (Samuel Williams)
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
ioquatix (Samuel Williams)
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 ...
nobu (Nobuyoshi Nakada)
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...
hurricup (Alexandr Evstigneev)
01:45 PM Revision 6d976eb5 (git): Fix "runs a C function with the global lock unlocked and unlocks IO with the generic RUBY_UBF_IO" on Windows. (#7848)
* Enable borked spec.
* Ensure win32 wrappers are visible and used.
* Reorganise `read`/`write`/`pipe` in `thread_s...
Samuel Williams
01:14 PM Revision 85b4cd7c (git): gc.c: get rid of unused objspace parameters (#7853)
byroot (Jean Boussier)
11:54 AM Revision 5f65e8c5 (git): Rename `rb_node_name` to the original name
98637d421dbe8bcf86cc2effae5e26bb96a6a4da changes the name of
the function. However this function is exported as globa...
yui-knk (Kaneko Yuichiro)
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...
jaruga (Jun Aruga)
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...
kou (Kouhei Sutou)
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 ...
jaruga (Jun Aruga)
07:39 AM Bug #19687: Should a development version of the standard library be included in ruby/ruby?
Can we close this? kou (Kouhei Sutou)
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...
jaruga (Jun Aruga)
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?
kou (Kouhei Sutou)
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...
jaruga (Jun Aruga)
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...
hsbt (Hiroshi SHIBATA)
06:04 AM Revision d8da563f (git): Add a newline at EOF [ci skip]
nobu (Nobuyoshi Nakada)
06:02 AM Revision 1ea9bb84 (git): [ruby/racc] Add a newline at EOF [ci skip]
https://github.com/ruby/racc/commit/8f1dab6759 nobu (Nobuyoshi Nakada)
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...
hsbt (Hiroshi SHIBATA)
03:43 AM Revision a692122f (git): Bump necojackarc/auto-request-review from 0.10.0 to 0.11.0
Bumps [necojackarc/auto-request-review](https://github.com/necojackarc/auto-request-review) from 0.10.0 to 0.11.0.
- ...
dependabot[bot]
03:42 AM Revision 6406ae69 (git): Bump dependabot/fetch-metadata from 1.5.0 to 1.5.1
Bumps [dependabot/fetch-metadata](https://github.com/dependabot/fetch-metadata) from 1.5.0 to 1.5.1.
- [Release notes...
dependabot[bot]
01:47 AM Bug #19685: ruby --helpに --yydebugの情報がない
ありがとうございます.  @nobu さんの意見を踏まえた上で修正のPRを送ろうと思います. Little_Rubyist (Yla Aioi)
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 ...
bughit (bug hit)
01:17 AM Revision 135a0d26 (git): Improvements to `IO::Buffer` `read`/`write`/`pread`/`pwrite`. (#7826)
- Fix IO::Buffer `read`/`write` to use a minimum length. Samuel Williams
12:37 AM Revision 12dfd9d1 (git): [flori/json] Call `super` in `included` hook
The C extension defines an `included` hook for the
`JSON::Ext::Generator::GeneratorMethods::String` module but neglec...
Ufuk Kayserilioglu
12:15 AM Revision 28056a6d (git): Add support for pread/pwrite on windows. (#7827)
Samuel Williams
 

Also available in: Atom