Activity
From 09/25/2025 to 10/01/2025
10/01/2025
-
10:47 PM Revision deba4d32 (git): Tweaks for String#replace
-
10:33 PM Revision fb3b895f (git): [DOC] Tweaks for String#reverse!
- 09:02 PM Revision 1ef62d3f (git): ZJIT: Allow higher profile num (#14698)
- When we investigate guard failure issues, we sometimes need to use
profile num around 100k (e.g. `lobsters` in ruby-bench).
This change is to allow that. -
08:59 PM Bug #21187: Strings concatenated with `\` getting frozen with literal hashes (PRISM only)
- It was my bad, I did not look at the history and only noticed what happened in what order now. From what I gathered someone was notified of the revert.
Thank you for taking the time to explain the process in such detail. I was uncert... -
08:29 PM Bug #21187: Strings concatenated with `\` getting frozen with literal hashes (PRISM only)
- > Turns out the prism commit was reverted before the compiler change was merged.
> ...
I think the maintainers understand this, but the thing is
* A Prism change that needs a compiler fix should be merged to ruby/ruby first, and then re... -
07:23 PM Bug #21187 (Closed): Strings concatenated with `\` getting frozen with literal hashes (PRISM only)
- Applied in changeset commit:git|77aaa6ab0a475b8a57b1de4aa1f1210e4f85a803.
----------
Interpolation with only string literals must not be frozen
Basically a redo of https://github.com/ruby/ruby/commit/a1403fb7cbd1fe0df97c932be9814c86081... -
06:26 PM Bug #21187: Strings concatenated with `\` getting frozen with literal hashes (PRISM only)
- Turns out the prism commit was reverted before the compiler change was merged. Then the ruby/ruby PR was merged, which contained the reverted code again, essentially fixing this issue.
Then https://github.com/ruby/ruby/commit/e7452461... -
10:40 AM Bug #21187: Strings concatenated with `\` getting frozen with literal hashes (PRISM only)
- So this was partially reverted via https://github.com/ruby/ruby/commit/7dbd9c26361719a45fa39838f46a76d67dc3c2e9. It reverts the ruby/prism changes but kept the compiler changes from https://github.com/ruby/ruby/pull/13966.
I think the... -
08:58 PM Misc #21606: DevMeeting-2025-10-23
- * [Feature #20163] Add Integer#popcount
* Add a method for counting "on" bits in an integer
* Raises an exception for negative numbers
* Method would be helpful for bitsets, bitboards, and other data structures -
07:22 PM Revision 77aaa6ab (git): Interpolation with only string literals must not be frozen
- Basically a redo of https://github.com/ruby/ruby/commit/a1403fb7cbd1fe0df97c932be9814c86081783dc
but respecting the frozen string literal magic comment
Fixes [Bug #21187] -
04:35 PM Bug #21621 (Open): test-bundled-gems.rb timeouts with csv gem on ci
- Github Actions workflow ```Windows 2025/Visual C++ 2022 (test-bundled-gems)``` has a timeout issue for csv gem.
That timeout seems to have been missed for months.
The following was recorded in a successful test.
```
Testing the csv... -
02:51 PM Bug #21568: Requiring core libraries when already requiring multiple user defined libraries with the same name can error
- Updated to indicate this is reproducible on the latest ruby version as well as on Debian Linux.
-
11:51 AM Bug #21620 (Closed): master branch: LTO with >= -O2 optimization causes miniruby to segfault in vm_cc
- Ruby built with LTO (`-flto`) with the -O2 or -O3 optimization causes misbehavior in miniruby.
Using -O1 does not result in segfault. Higher optimization is required. Removing `-flto` results in no segfault.
Preview1 was OK, after ru... -
08:50 AM Feature #21619: logger: Context API
- > `with_context`
The problem with these sort of APIs is that it has to know what the execution model is. I see that in your PR you store the current context per `Fiber`. If you run an application with a threaded model, this isn't what... -
08:00 AM Revision 3361aa5c (git): win32: Setup prerelease version of Visual Studio
-
04:20 AM Revision df90a645 (git): ZJIT: Use Marshal.dump to handle large writes
- `File.binwrite` with a big string can exceed the `INT_MAX` limit of write(2)
and fail with an exception. - 03:50 AM Revision 56f777ce (git): ZJIT: Add more *_send_count stats (#14689)
- 02:37 AM Revision 400e150f (git): Bump ossf/scorecard-action from 2.4.2 to 2.4.3
- Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.4.2 to 2.4.3.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md... -
12:49 AM Revision 3eda2493 (git): [ruby/ipaddr] Remove warning by asserting its presence
- $ rake test >/dev/null
/tmp/test/test_ipaddr.rb:202: warning: IPAddr#ipv4_compat is obsolete
https://github.com/ruby/ipaddr/commit/31d62407c2 -
12:37 AM Revision 17252958 (git): [ruby/prism] Add a "LAST" enum field to all flags enums
- This allows us to use the "last" of the enums in order to make masks,
etc. This particular commit uses the call flag's last enum field as an
offset so that we can define "private" flags but not accidentally
clobber any newly added call ...
09/30/2025
-
11:27 PM Feature #21619 (Open): logger: Context API
- The logger gem is notoriously simple to use, but hard to extend.
One can only observe a few of the gems that added tags / json / logstash formatting support to see the same functionality reimplemented in "same but different" ways. For... -
09:39 PM Revision 8cefb70e (git): ZJIT: Re-apply attr_writer inlining (#14678)
- This re-applies https://github.com/ruby/ruby/pull/14629 / 40bb47665d3ff57e0f2eb5a9fd9e0109617015c9 by reverting https://github.com/ruby/ruby/pull/14673 / d4393772b89dab4f33c118a284d92dc80cd63c39.
Co-authored-by: Alan Wu <XrXr@users.nor... -
08:51 PM Revision df2d1d5a (git): ZJIT: Decouple stats and side exit tracing (#14688)
-
08:09 PM Bug #21618: Allow to use the build-in prism version to parse code
- So the issue is that there is the C library and then there is the Ruby library. The C library can parse and provide an AST in C structures, but to reify it into Ruby objects requires a specific Ruby library. This is possible, but only if...
-
06:47 PM Bug #21618: Allow to use the build-in prism version to parse code
- `RubyVM.parse` doesn't sound particularly nice to me. If you put it there then there have to be `defined?` checks and fallback implementations for non-CRuby which to me kinda defeats the point of using prism in the first place. I would m...
-
05:59 PM Bug #21618: Allow to use the build-in prism version to parse code
- Yes, this was brought up by @k0kubun originally as one of the requirements. At the moment the official answer is `Prism.parse_file(filepath, version: RUBY_VERSION)`, because that will work for all Ruby versions in normal maintenance righ...
-
05:26 PM Bug #21618: Allow to use the build-in prism version to parse code
- I think this is a good idea. I recall discussing this type of feature with @kddnewton at one point. He had some ideas about implementing it, but I don't recall the exact ideas. The use case seems very clear though.
-
11:26 AM Bug #21618 (Closed): Allow to use the build-in prism version to parse code
- Prism is a multi-version parser, which is a great feature.
If one calls `Prism.parse("foo")`, it will always use the latest version prism knows about. This may or may not be the version that is currently executing. This is problematic... - 07:20 PM Revision e90729aa (git): ZJIT: Rust code refactors (#14687)
-
06:50 PM Revision a0a4068e (git): ZJIT: Use optimized exit_locations implementation
-
06:50 PM Revision 55d363bd (git): ZJIT: Use binwrite in zjit.rb
-
06:50 PM Revision 0a4bfb64 (git): ZJIT: Add correction rb_zjit_exit_locations_dict
-
06:50 PM Revision 0f3d3c78 (git): ZJIT: Add extra info to rb_zjit_add_frame
-
06:08 PM Revision 14fce274 (git): CI: Fail the dump crash log step for visual reminder
- I forgot that this step existed and thought crash reporting wasn't
working when they were simply moved to a different step. Failing these
should give a nice visual hint. -
05:53 PM Bug #21187: Strings concatenated with `\` getting frozen with literal hashes (PRISM only)
- Yeah, it broke CI on macOS https://github.com/ruby/ruby/actions/runs/16430139182/job/46429723627#step:9:179
-
05:12 PM Bug #21187: Strings concatenated with `\` getting frozen with literal hashes (PRISM only)
- @kddnewton any updates, or reproduction issues? I'm confident I fixed the issue OP reported.
- 05:50 PM Revision 83f1082e (git): ZJIT: Fix "malformed format string" on stats (#14681)
-
05:28 PM Revision 4ae5d69d (git): [DOC] Tweaks for String#reverse
-
04:02 PM Revision 8ce886b2 (git): [DOC] Tweaks for String#partition
-
03:55 PM Revision 2f1c30cd (git): ZJIT: Add --zjit-trace-exits (#14640)
- Add side exit tracing functionality for ZJIT
- 03:15 PM Revision d0165953 (git): ZJIT: Unify fallback counters for send-ish insns (#14676)
-
01:47 PM Revision d8c8623f (git): Set context_stack on main thread
- We allocate the stack of the main thread using malloc, but we never set
malloc_stack to true and context_stack. If we fork, the main thread may
no longer be the main thread anymore so it reports memory being leaked
in RUBY_FREE_AT_EXIT.
... -
11:59 AM Revision 37d65e92 (git): [ruby/openssl] pkey/dh: refactor tests
- - Generate smaller parameters in test_new_generate. Generating 2048-bit
parameters is slow and sometimes takes a few minutes on GitHub-hosted
CI runners. Also test the DH.generate alias, not just DH.new.
- Simplify test_new_break ... -
11:59 AM Revision ad35a4be (git): [ruby/openssl] pkey: disallow {DH,DSA,EC,RSA}.new without arguments with OpenSSL 3.0
- Raise ArgumentError if this is attempted when the extension is compiled
with OpenSSL 3.0 or later. The form will be fully removed when we drop
support for OpenSSL 1.1.1.
When OpenSSL::PKey::{DH,DSA,EC,RSA}.new is called without any argu... -
11:59 AM Revision 986d9177 (git): [ruby/openssl] pkey: define and use OSSL_HAVE_IMMUTABLE_PKEY macro
- Introduce a useful macro indicating that the low-level struct wrapped
in an EVP_PKEY cannot be modified.
Currently, the macro is defined for OpenSSL 3.0 or later only. LibreSSL
and AWS-LC can follow suit in the future.
https://github.c... -
08:45 AM Revision 00fcef53 (git): Update bundled_gems
-
08:03 AM Revision d4393772 (git): ZJIT: Revert SetIvar specialization (#14673)
- CI passed on SetIvar but broke some larger Ruby tests. Needs further investigation and testing.
* Revert "ZJIT: Fix rebase issue with tests"
This reverts commit 37248c51233d827ca56471661175c56e31c3b14f.
* Revert "ZJIT: Inline attr_acc... -
06:44 AM Feature #21617: Add Internationalized Domain Name (IDN) support to URI
- I agree the direction that URI supports IDN.
But there are some barriers to be solved:
* IDN Library
* IDN needs some logic and tables including punycode, nameprep, and some data tables as far as remember
* URI's argment
* URI.p... - 02:57 AM Revision f4480095 (git): Bump github.com/microsoft/vcpkg from master to 2025.09.17
- Bumps [github.com/microsoft/vcpkg](https://github.com/microsoft/vcpkg) from master to 2025.09.17. This release includes the previously tagged commit.
- [Release notes](https://github.com/microsoft/vcpkg/releases)
- [Commits](https://gith... -
02:34 AM Misc #21385: Namespace: Suggesting a rename
- make_now_just (Hiroya Fujinami) wrote in #note-30:
> "Ruby Box" is a registered trademark in Japan by Hitachi Solutions Technology, Ltd.
> ...
Both Ruby and Box are common words, and mere combinations of them are not problematic, unles... -
02:12 AM Bug #21168: Prism doesn't require argument parentheses (in some cases) when a block is present but parse.y does
- @matz Just clarification, do we support `a[cmd 1, 2 do end]` and `a[cmd 1, 2 do end] = 3` too? IIRC, we discussed those cases in previous devmeeting and these codes are also accepted. However meeting notes has no description about them, ...
-
01:23 AM Revision a3597336 (git): lastrev.bat: Extract from windows.yml workflow
-
01:23 AM Revision ed69b9ed (git): ifchange: Allow input from stdin
-
01:23 AM Revision 46830474 (git): ifchange: Allow options with an argument without quoting
- A batch file splits the command line with equal signs (`=`) not only
spaces. -
01:17 AM Bug #21565 (Feedback): YJIT has panicked in rails
- Ruby 3.4.6 includes more information with `--yjit-dump-disasm`, so no need to apply the patch from above if you can upgrade.
09/29/2025
-
10:11 PM Bug #21342: Segfault: invalid keeping_mutexes when using Mutex in Thread then Fiber after GC
- ruby_3_4 commit:264b2d78c366491834c9ce4499a4ad7b7564b89d.
-
10:10 PM Bug #21342: Segfault: invalid keeping_mutexes when using Mutex in Thread then Fiber after GC
- I guess it was due to a wrong conflict resolution. I'll attempt to backport it again.
-
10:09 PM Bug #21342: Segfault: invalid keeping_mutexes when using Mutex in Thread then Fiber after GC
- Reverted the ruby_3_4 backport since it failed the CI.
-
09:35 PM Bug #21342: Segfault: invalid keeping_mutexes when using Mutex in Thread then Fiber after GC
- ruby_3_4 commit:4306c9048fb674d24b92dc46b6746a4749564147 merged revision(s) commit:62430c19c9f1ab49429cebe65f30588472648c95.
-
10:10 PM Revision 264b2d78 (git): Reapply "merge revision(s) 62430c19c9f1ab49429cebe65f30588472648c95: [Backport #21342]"
- This reverts commit c414b9871f263331cde0af1c08cf5c1a47e1aedf.
-
10:08 PM Revision c414b987 (git): Revert "merge revision(s) 62430c19c9f1ab49429cebe65f30588472648c95: [Backport #21342]"
- This reverts commit 4306c9048fb674d24b92dc46b6746a4749564147.
-
09:36 PM Bug #21569: [armv7, musl] SIGBUS in ibf_load_object_float due to unaligned VFP double load when reading IBF
- ruby_3_4 commit:22c2262b83224f6798d60d539f1f8609d9722766 merged revision(s) commit:354d47ae5bc4edcc94db4a5391ed71a8b9844e57.
-
09:36 PM Revision 22c2262b (git): merge revision(s) 354d47ae5bc4edcc94db4a5391ed71a8b9844e57: [Backport #21569]
- IBF: Avoid unaligned load on 32 bit platforms
[Bug #21569] -
09:35 PM Revision 4306c904 (git): merge revision(s) 62430c19c9f1ab49429cebe65f30588472648c95: [Backport #21342]
- Properly unlock locked mutexes on thread cleanup.
Mutexes were being improperly unlocked on thread cleanup. This bug was
introduced in 050a8954395.
We must keep a reference from the mutex to the thread, because ... -
09:31 PM Bug #21611: Ruby 3.4.6 can't be built with GCC 15.2.1
- ruby_3_4 commit:88a96147a21900a2c22d3ae84d05cd3f6ee795c7 merged revision(s) commit:ef2b26cc3eaed06c5c9d4ef2c6d8669ff357afa4.
-
09:31 PM Revision 88a96147 (git): merge revision(s) ef2b26cc3eaed06c5c9d4ef2c6d8669ff357afa4: [Backport #21611]
- `struct iseq_catch_table` is packed
- 09:09 PM Revision 37248c51 (git): ZJIT: Fix rebase issue with tests
-
09:08 PM Revision 40bb4766 (git): ZJIT: Inline attr_accessor/attr_writer to SetIvar (#14629)
-
09:08 PM Revision 0e60426f (git): ZJIT: Count dynamic instance variable lookups (#14615)
- 05:48 PM Revision 1083c2c0 (git): ZJIT: Add stats for cfuncs that are not optimized (#14638)
- * ZJIT: Add stats for cfuncs that are not optimized
* ZJIT: Add IncrCounterPtr HIR instead
From `lobsters`
```
Top-20 Unoptimized C functions (73.0% of total 15,276,688):
Kernel#is_a?: 2,052,363 (13.4%)
... -
05:04 PM Revision 7a187385 (git): ZJIT: Remove RefCell from IseqCall
- No point taking the panic risks with RefCell when most fields in it are
already in a Cell. Put `iseq` in a Cell and we no longer need the
wrapping. Saves memory, too. -
04:39 PM Misc #21385: Namespace: Suggesting a rename
- Not sure about "nesting".
Last time I checked, the nesting in the program being loaded under a namespace is modified. But as I reported in https://bugs.ruby-lang.org/issues/21320, I don't think that is a good idea. If you alter the ne... -
04:30 PM Misc #21385: Namespace: Suggesting a rename
- I know that Box has already been accepted, but if we were to reconsider, I would throw in `Nesting` (or `RootNesting`), since that is already a method name.
- 03:55 PM Revision baec95c8 (git): ZJIT: Incorporate parameter loads into HIR (#14659)
-
10:20 AM Feature #20163: Introduce #bit_count method on Integer
- Popcount for negative numbers is useful when equivalent functionality to machine register operations is desired, but I do not consider operations on infinite bit widths to be useful.
When popcount is called on a negative number (witho... - 09:37 AM Revision 05471d7f (git): Bump actions/cache in /.github/actions/setup/directories
- Bumps [actions/cache](https://github.com/actions/cache) from 4.2.4 to 4.3.0.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.co... - 08:08 AM Revision 0a057131 (git): Bump actions/cache from 4.2.4 to 4.3.0
- Bumps [actions/cache](https://github.com/actions/cache) from 4.2.4 to 4.3.0.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.co... -
02:46 AM Revision 6a66254d (git): [DOC] Mark `Namespace` debug methods to be "nodoc"
- These methods are debug methods and no RDoc is provided.
Mark these methods as "nodoc" to fix "Miscellaneous checks"
CI job.
Failed CI job: https://github.com/ruby/ruby/actions/runs/18081591948/job/51445635741
09/28/2025
-
11:58 PM Revision 14c234ae (git): [DOC] Tweaks for String#prepend
- 04:15 PM Revision 9d9390a3 (git): Add methods for debugging only when RUBY_DEBUG
- 04:15 PM Revision 6e9a3412 (git): zeroing on the table to suppress unintentional call of classext_foreach
- 04:15 PM Revision 88d7ef4c (git): calling free() here causes free for un-malloced memory
- 04:15 PM Revision ccbf0662 (git): No need to set namespace to the frame start evaluating main
- * rb_vm_current_namespace() returns main_namespace if it's ready,
root_namespace otherwise on the top of main_stack. - 04:15 PM Revision 88b5287d (git): re-implement free/memsize for rb_namespace_t correctly
- 04:15 PM Revision 9361af6e (git): Update dependency after rebase
- 04:15 PM Revision 4644d149 (git): Fix the missed vm_ns during rebase to follow the change b227a942b205c89fdb5adc85acdf029b9b83faf1
- 04:15 PM Revision f58f7f25 (git): Fix bug of uninitialized variable, missed EoCFP, return values
- 04:15 PM Revision 81f3591b (git): Unify all block_handler getter to check namespace consistently
-
04:15 PM Revision 58030884 (git): YJIT: respect the code in master branch
- * Originally, k0kubun added a change to respect namespace in gen_block_given
https://github.com/ruby/ruby/pull/13454/commits/d129669b1729b9570da7958394ea594031e79f59
* Just after the change, XrXr proposes a change on master and he says... - 04:15 PM Revision f9ea85dd (git): delete unused code
- 04:15 PM Revision 140bf4d8 (git): localize rb_vm_t and minimize times of GET_VM() calls
- 04:15 PM Revision 2622d792 (git): fix the wrong patch: 6cea12a4de44e0c072e33eca51b57965068b474a
- 04:15 PM Revision bff625d2 (git): add VM_ENV_NAMESPACED_P to unify/simplify/correct when SPECVAL has a namespace
- 04:15 PM Revision 228d2c39 (git): Stop using C23 spec: initialization with an empty struct
- 04:15 PM Revision f3f70323 (git): Skip loading gem_prelude in wasm environment
- 04:15 PM Revision 53a1ff71 (git): Add and fix dependencies
- 04:15 PM Revision 32f58628 (git): Update Namespace#eval to use control frames instead of namespace_push/pop
- With this change, the argument code of Namespace#eval cannot refer local
variables around the calling line, but it should not be able to refer
these values. The code is evaluated in the receiver namespace, independently
from the local co... - 04:15 PM Revision 20c73b17 (git): Skip CFUNC frames in the current namespace detection
- * The current namespace should be based on the Ruby-level location (file, line no in .rb)
and we can get it by LEP(ep) basically (VM_ENV_FLAG_LOCAL flag is set)
* But the control frame with VM_FRAME_MAGIC_CFUNC is also a LOCAL frame be... - 04:15 PM Revision a5df24fe (git): Define a debug method Kernel#dump_classext only when RUBY_DEBUG is set
- 04:15 PM Revision bb21b619 (git): Detect the correct loading namespace from control frames
- * checking all control frames (instead of filtering by VM_FRAME_RUBYFRAME_P)
because VM_FRAME_FLAG_NS_REQUIRE is set on non-rubyframe
* skip frames of CFUNC in the root namespace for Kernel#require (etc) to avoid
detecting the root n... - 04:15 PM Revision 48523dae (git): Follow the usual naming rule for singleton methods
- 04:15 PM Revision c755f35f (git): Stop using ns->top_self here because it's set to th->top_self beforehand if needed
- 04:15 PM Revision 21008262 (git): Fix wrong way to check an object is an instance of rb_cNamespace
- 04:15 PM Revision 545cee08 (git): There is no longer needs to evict ivars thanks to fields
- See 8b5ac5abf258270b32ef63a6acb4eb0d191f79d9
- 04:15 PM Revision 76c4663a (git): Fix Namespace.current to show its caller's namespace
- Calling rb_current_namespace() in rb_namespace_current() means to show
the definition namespace of Namespace.current itself (it's the root always)
but the users' expectation is to show the namespace of the place where
the Namespace.curre... - 04:15 PM Revision 4f473272 (git): Update current namespace management by using control frames and lexical contexts
- to fix inconsistent and wrong current namespace detections.
This includes:
* Moving load_path and related things from rb_vm_t to rb_namespace_t to simplify
accessing those values via namespace (instead of accessing either vm or ns)
* ... -
01:15 PM Revision 43392afb (git): ripper: Fix dependency for generated ripper sources
- Missed at c89f5191706549bb1d7e0277fc07a413714ddecc.
-
05:46 AM Revision a8184e35 (git): Fix a check on pushref
- Empty pushref is no longer given 9b5eb828025cf0b7c023325e6e086422bcada355
-
03:19 AM Revision 8300c52f (git): Reuse a cmd array created for printing
- Fixes 21c7131df818c1f7f571d4ccf9be150d2c9cc374 differently.
This makes it less likely that the printed command is deviated from
what's actually executed. -
03:10 AM Revision 4a1d0786 (git): Limit the auto-style push to master
- It probably doesn't need to run for topic branches created by
dependabot, and it's also likely annoying in stable branches like
ruby_X_Y too. -
03:08 AM Revision 9b5eb828 (git): Resurrect support of auto-style on master
- which was broken by 9255db4bc08766763a6d78f50a90e05c58980899
-
02:58 AM Revision cd42001f (git): [ruby/erb] Remove a trailing space
- https://github.com/ruby/erb/commit/51c0922170
09/27/2025
-
09:01 AM Feature #21616: date ライブラリを deprecated させたい
- nobu (Nobuyoshi Nakada) wrote in #note-1:
回答ありがとうございます。
> jinroq (Jinroq SAITOH) wrote:
> ...
2011 年頃に書かれたコードをそのまま使っていますので時期的に 1.9.3 頃のものですね…。
(Time._parse を採用するかどうかは置いておいて)無理に C で書かずとも pure ruby で書き直した方が良かったりしますかね。
> > #### `... -
08:25 AM Feature #21617: Add Internationalized Domain Name (IDN) support to URI
- Thanks for this suggestion, I've been trying to improve Adressable's support for a few years (https://github.com/sporkmonger/addressable/issues/491, https://github.com/sporkmonger/addressable/issues?q=author%3Ajarthod) and if it can be d...
-
08:23 AM Feature #21347: Add `open_timeout` as an overall timeout option for `Socket.tcp`
- Thank you for your work!
I have a feature request here: Would it be possible to detect availability of this option,
e.g. through `Method#parameters`? This is not possible as of the current version.
```
% irb
irb(main):001> requi... -
02:37 AM Misc #20032: Propose @kjtsanaktsidis as a commiter
- Thanks for your reply. I revoked now.
https://github.com/ruby/git.ruby-lang.org/pull/102
And I keep your email or something without account permission. -
12:56 AM Revision 598a8f89 (git): [DOC] Fix rendering of $\ in globals.md
09/26/2025
- 11:25 PM Revision feb9114a (git): [ruby/ipaddr] Fix `#ipv4_compat` returning invalid prefix
- https://github.com/ruby/ipaddr/commit/7c85bb8dfd
Co-authored-by: Tietew <tietew@gmail.com> - 09:39 PM Revision 4ac8b12a (git): CI: Add make-ibm job in ubuntu.yml and remove ubuntu-ibm.yml
- Add `make-ibm` job to run ppc64le/s390x cases in the `ubuntu.yml`, and remove
`ubuntu-ibm.yml`. This commit improves removing a duplicated logic between the
`ubuntu.yml` and `ubuntu-ibm.yml`.
I am using the YAML anchors and aliases feat... -
09:17 PM Revision ba52af6f (git): Always set parent_object in GC
- When we mark a T_NONE, we crash with the object and parent object information
in the bug report. However, if the parent object is young then it is Qfalse.
For example, a bug report looks like:
[BUG] try to mark T_NONE object (obj: 0... -
09:15 PM Revision 88dc3c41 (git): [DOC] More tweaks for String#hex
-
03:45 PM Revision 8836f26e (git): [ruby/erb] Enhancements (mostly documentation)
- (https://github.com/ruby/erb/pull/85)
https://github.com/ruby/erb/commit/692597b9a2 -
02:02 PM Misc #20032: Propose @kjtsanaktsidis as a commiter
- Thanks @hsbt - yeah my current job has no Ruby at all and I haven’t committed in quite a while, so giving up access seems like the responsible thing to do from a security perspective.
I hope I get a bit more time in the future for Rub... -
09:13 AM Misc #20032: Propose @kjtsanaktsidis as a commiter
- I received revoke request for his commit permission from himself. Because he doesn't have enough time for developing Ruby now.
@kjtsanaktsidis If you find any mistakes please comment and I'll always be happy to reinstate the permissio... -
01:45 AM Feature #20163: Introduce #bit_count method on Integer
- > In computers that use two's complement for negative numbers, I think this is expected behavior.
Yes, but do you want `-1.popcount` to return `Float::INFINITY`? That might be theoretically consistent, but useless and even problematic... -
12:14 AM Revision cc1fd649 (git): ZJIT: Remove an obsoleted PC guard
- A little follow-up on https://github.com/ruby/ruby/pull/14653
Now that we don't generate a PC-less side exit at the entry block, we
shouldn't need this guard that was added by https://github.com/ruby/ruby/pull/14643.
09/25/2025
- 11:57 PM Revision 61a0de1b (git): ZJIT: Compile ISEQ with optional arguments (#14653)
-
11:27 PM Revision a1a1c908 (git): [rubygems/rubygems] add loading support on Windows
- https://github.com/rubygems/rubygems/commit/04574ba59a
-
11:27 PM Revision b600c95d (git): [rubygems/rubygems] skip checking title on Windows because it's not supported
- https://github.com/rubygems/rubygems/commit/fd2c54f371
-
10:37 PM Bug #21342 (Closed): Segfault: invalid keeping_mutexes when using Mutex in Thread then Fiber after GC - Applied in changeset commit:git|62430c19c9f1ab49429cebe65f30588472648c95.
----------
Properly unlock locked mutexes on thread cleanup.
Mutexes were being improperly unlocked on thread cleanup. This bug was
introduced in 050a8954395.
W... -
10:36 PM Revision 328d2037 (git): ZJIT: Remove dead CMEs from `Invariants`
-
10:36 PM Revision 63483e75 (git): ZJIT: Actually call rb_zjit_root_update_references()
- Previously unused.
-
10:36 PM Revision 6ea75573 (git): ZJIT: Reference update `Invariant::cme_patch_points`
-
10:36 PM Revision adfa784e (git): ZJIT: Forget about dead ISEQs in `Invariants`
- Without this, we crash during reference update.
-
10:36 PM Revision 00e6c101 (git): ZJIT: Standardize to `Iterator::map` in `Invariants::update_references`
- The old code was doing a manual HashSet/HashMap rebuild, and there isn't
a clear performance advantage over `Iterator::map`. So let's use `map`
since it looks clearer and it's easier to see that everything was indeed
updated. This also a... -
10:30 PM Revision 1a52c42e (git): Always use assert-free APIs when profiling and crashing
- rb_profile_frames() is used by profilers in a way such that it can run
on any instruction in the binary, and it crashed previously in the
following situation in `RUBY_DEBUG` builds:
```
* thread #1, queue = 'com.apple.main-thread', stop... - 10:29 PM Revision 62430c19 (git): Properly unlock locked mutexes on thread cleanup.
- Mutexes were being improperly unlocked on thread cleanup. This bug was
introduced in 050a8954395.
We must keep a reference from the mutex to the thread, because if the fiber
is collected before the mutex is, then we cannot unlink it fro... -
08:03 PM Bug #21569 (Closed): [armv7, musl] SIGBUS in ibf_load_object_float due to unaligned VFP double load when reading IBF
- Applied in changeset commit:git|354d47ae5bc4edcc94db4a5391ed71a8b9844e57.
----------
IBF: Avoid unaligned load on 32 bit platforms
[Bug #21569] -
08:03 PM Revision 50393d1a (git): IBF: Remove unnecessary and potentially UB pointer cast
- [Bug #21569]
-
08:03 PM Revision 354d47ae (git): IBF: Avoid unaligned load on 32 bit platforms
- [Bug #21569]
-
01:44 PM Feature #21617: Add Internationalized Domain Name (IDN) support to URI
- Just adding my original public API suggestions, for visibility and further discussion by the core team.
I propose that `URI::Generic` supports punycode decoding OOTB by relying on the current behaviour of `URI::Generic#hostname`, whic... -
11:05 AM Feature #21617: Add Internationalized Domain Name (IDN) support to URI
- @skryukov also pointed to me the existence of https://github.com/y-yagi/uri-whatwg_parser by @y-yagi
-
07:40 AM Feature #21617 (Open): Add Internationalized Domain Name (IDN) support to URI
- Originally proposed by @chucke at https://github.com/ruby/uri/issues/76, trying to formalize it here.
### Context
[Internalized Domain Names](https://en.wikipedia.org/wiki/Internationalized_domain_name), are getting more common, ye... -
01:39 PM Feature #20163: Introduce #bit_count method on Integer
- We can use Integer#[] to negative numbers.
```
-1[0,8].popcount # => 8
-2[0,8].popcount # => 7
-3[0,8].popcount # => 7
```
In computers that use two's complement for negative numbers, I think this is expected behavior.
If genera... -
06:59 AM Feature #19326 (Closed): Please add a better API for passing a Proc to a Ractor
- I think we can close now?
-
02:08 AM Feature #21616: date ライブラリを deprecated させたい
- jinroq (Jinroq SAITOH) wrote:
> #### `Date._parse` を time に移植したい
> ...
むしろ、あまりにもheuristicすぎる`Time.parse`こそが廃止したい筆頭ですね。
また、実装面で言うとCとrubyをfuncallとblockで繰り返し行き来するというのも、少なくともVM化した1.9以降では有利とは言えません。
> #### `Date.strptime` を time に移植したい
...