Project

General

Profile

Activity

From 11/30/2020 to 12/06/2020

12/06/2020

11:53 PM Feature #15975: Add Array#pluck
Apologies for posting to a closed ticket, but here's a thought in case it helps someone propose something else in fut... phluid61 (Matthew Kerwin)
06:01 PM Feature #15975 (Rejected): Add Array#pluck
Matz has already stated that it's a no, so I will close this.
I'll add that the issue should not be about a shorthan...
marcandre (Marc-Andre Lafortune)
05:18 PM Feature #15975: Add Array#pluck
I was going to suggest the same thing because I think it's a very useful shorthand! Here's an example I run into a lo... connorshea (Connor Shea)
11:28 PM Revision bef3eb54 (git): fix decl of ruby_single_main_ractor
On windows, MJIT doesn't work without this patch because of
the declaration of ruby_single_main_ractor. This patch fi...
ko1 (Koichi Sasada)
11:28 PM Revision 344ec26a (git): tuning trial: newobj with current ec
Passing current ec can improve performance of newobj. This patch
tries it for Array and String literals ([] and '').
ko1 (Koichi Sasada)
11:28 PM Revision 59ddb88d (git): RB_EC_NEWOBJ_OF
NEWOBJ with current ec. ko1 (Koichi Sasada)
11:28 PM Revision 91d99025 (git): per-ractor object allocation
Now object allocation requires VM global lock to synchronize objspace.
However, of course, it introduces huge overhea...
ko1 (Koichi Sasada)
11:28 PM Revision 1d0bf3d8 (git): log for the beggining of vm_lock_enter
Before this patch, there is no information to start locking. ko1 (Koichi Sasada)
11:28 PM Revision 554a7180 (git): RB_VM_LOCK_ENTER_CR_LEV
This is variant of RB_VM_LOCK_ENTER_LEV, but accept current racotr's
pointer.
ko1 (Koichi Sasada)
11:28 PM Revision 23f94474 (git): show ractor info on non-single ractor mode
Without this patch, Ruby doesn't show ractor's information when
there is only 1 ractor. However it is hard to read th...
ko1 (Koichi Sasada)
11:28 PM Revision 307732cc (git): cancel theap on multi-ractors
accessing theap needs complicating synchronization but it reduce
performance on multi-ractor mode. So simply stop usi...
ko1 (Koichi Sasada)
11:28 PM Revision b67b24d0 (git): ruby_single_main_ractor for single ractor mode
ruby_multi_ractor was a flag that indicates the interpreter doesn't
make any additional ractors (single ractor mode)....
ko1 (Koichi Sasada)
11:20 PM Feature #17323: Ractor::LVar to provide ractor-local storage
I'm having difficulties because we don't have Ractor-local storage...
I'd like to implement a Ractor compatible `S...
marcandre (Marc-Andre Lafortune)
10:06 PM Misc #17346: DevelopersMeeting20201210Japan
* [Feature #17365] Adding `channel` to Ractor push api (marcandre)
* yes/no?
* [Feature #17323] Ractor-local stor...
marcandre (Marc-Andre Lafortune)
05:54 PM Misc #17346: DevelopersMeeting20201210Japan
* [Feature #12650] Use UTF-8 encoding for ENV on Windows (larskanis)
* See this with the next topic together
* [Fea...
larskanis (Lars Kanis)
05:24 PM Misc #17346: DevelopersMeeting20201210Japan
- [Feature #15975] Add `Array#pluck`/`Enumerable#pluck` method
- It pulls values out of an array of hashes (e.g. ar...
connorshea (Connor Shea)
02:57 PM Misc #17346: DevelopersMeeting20201210Japan
* [Feature #17371] Reintroduce `expr in pat` (ktsj)
* Is it OK?
ktsj (Kazuki Tsujimoto)
10:03 PM Feature #17365: Can not respond (well) to a Ractor
A keyword `channel` seems more appropriate:
```
my_channel = :return_channel
server.send(:retrieve, :key, Ractor...
marcandre (Marc-Andre Lafortune)
04:29 PM Bug #17372 (Closed): Actions Windows MinGW failures 2020-12-06
JFYI, I'm trying to sort out the recent failures in Windows mingw.
ruby-loco Actions builds (both mingw & mswin) a...
MSP-Greg (Greg L)
03:38 PM Revision 60eabb1a (git): Revert "memory_view.c: Add rb_memory_view_extract_item_members"
This reverts the following three commits.
- ce707079c153f389d861c91a8dccc510fab0e245
- 1a76bb56b0ba99a19d1373c4c8eba...
Kenta Murata
03:19 PM Revision f9fd99e6 (git): * 2020-12-07 [ci skip]
git[bot]
03:19 PM Revision ce707079 (git): memory_view.c: suppress uninitialized warning
Kenta Murata
02:54 PM Feature #17371 (Closed): Reintroduce `expr in pat`
How about reintroducing `expr in pat`, as akr-san proposed in DevelopersMeeting20201026Japan.
The difference betwe...
ktsj (Kazuki Tsujimoto)
02:48 PM Revision e427c5cc (git): Update rbs
nobu (Nobuyoshi Nakada)
02:33 PM Bug #17220: Rails Active Job integration test fails with Ruby 3.0.0 since 2038cc6cab6ceeffef3ec3a765c70ae684f829ed
Thanks for providing the fix. I have opened a pull request to revert 'sleep 1' workarounds https://github.com/rails/r... yahonda (Yasuo Honda)
02:24 PM Revision 1a76bb56 (git): memory_view.c: Fix the argument type of rb_memory_view_extract_item_members
Kenta Murata
01:46 PM Revision 51500eed (git): memory_view.c: Add rb_memory_view_extract_item_members
Kenta Murata
01:19 PM Revision 14580ebe (git): Update rbs
nobu (Nobuyoshi Nakada)
07:11 AM Revision 3184cd85 (git): Updated bundled gems
nobu (Nobuyoshi Nakada)
07:11 AM Revision e4e2a335 (git): update-bundled_gems: support recent format, keep the tag to test
nobu (Nobuyoshi Nakada)
07:11 AM Revision ea9f16a2 (git): update-bundled_gems: chomp ".git" suffix from the source code URI
nobu (Nobuyoshi Nakada)
07:11 AM Revision 967ed35b (git): Moved update-bundled_gems code to a tool
nobu (Nobuyoshi Nakada)
06:38 AM Bug #14968: [PATCH] io.c: make all pipes nonblocking by default
Eric, we implemented the vast majority of this PR but our current implementation makes all I/O non-blocking by defaul... ioquatix (Samuel Williams)
06:36 AM Feature #16786 (Closed): Light-weight scheduler for improved concurrency.
The core of this proposal is now implemented. ioquatix (Samuel Williams)
06:35 AM Feature #13618 (Closed): [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
Eric thank you for your ideas, effort and inspiration. We have adopted something very similar to this proposal in man... ioquatix (Samuel Williams)
06:31 AM Revision 18b2ce11 (git): Mentioned numbered parameter assignment is a SyntaxError in NEWS [ci skip]
Requested by Junichi Ito. jeremyevans (Jeremy Evans)
05:16 AM Feature #16476: Socket.getaddrinfo cannot be interrupted by Timeout.timeout
ioquatix (Samuel Williams) wrote in #note-12:
> Adding timeouts as arguments is not particularly useful either. It's...
jeremyevans0 (Jeremy Evans)
02:08 AM Feature #16476: Socket.getaddrinfo cannot be interrupted by Timeout.timeout
I have some feedback:
- I wish we don't use strange abbreviations like "resolv_timeout" and use correct English like...
ioquatix (Samuel Williams)
02:02 AM Bug #17331: Let Fiber#raise work with transferring fibers
I consider this a bug fix rather than an interface change. I'll review it and consider merging it today. ioquatix (Samuel Williams)
01:53 AM Revision 5d07a21c (git): RubyGems certs - remove AddTrust, add GlobalSign Root R3
MSP-Greg (Greg L)

12/05/2020

04:32 PM Revision 76439eee (git): Call cleanup function for getaddrinfo_a(3) only before fork()
Previously, rb_getaddrinfo_a_before_exec() is called from before_exec().
However, the function needs to be called onl...
Glass_saga (Masaki Matsushita)
04:05 PM Revision a38d4473 (git): * 2020-12-06 [ci skip]
git[bot]
04:01 PM Revision c56a1c19 (git): Extend sleep time to 1.5 second in rb_getaddrinfo_a_before_exec()
After 94d49ed31c, TestSocket#test_getaddrinfo_after_fork fails in some
platforms. To avoid this, the change extends s...
Glass_saga (Masaki Matsushita)
01:22 PM Feature #17369: Introduce non-blocking `Process.wait`, `Kernel.system` and related methods.
I clarified with @ioquatix, the code above should be ` end.value` so it returns the Process::Status and `system` s... Eregon (Benoit Daloze)
12:57 PM Feature #17369: Introduce non-blocking `Process.wait`, `Kernel.system` and related methods.
> Does such code still work, with a scheduler?
Yes.
> It sounds like you would need a way to set $? on the curr...
ioquatix (Samuel Williams)
12:53 PM Feature #17369: Introduce non-blocking `Process.wait`, `Kernel.system` and related methods.
Does such code still work, with a scheduler?
```ruby
`echo foo`
p $? # => #<Process::Status: pid 43525 exit 0>
```
I...
Eregon (Benoit Daloze)
12:10 PM Feature #17369 (Closed): Introduce non-blocking `Process.wait`, `Kernel.system` and related methods.
https://github.com/ruby/ruby/pull/3853
This PR introduces optional hooks to the scheduler interface for handling `...
ioquatix (Samuel Williams)
12:18 PM Feature #17370 (Closed): Introduce non-blocking `Addrinfo.getaddrinfo` and related methods.
We would like to introduce a new scheduler hook for non-blocking `getaddrinfo`.
```
class Scheduler
def addres...
ioquatix (Samuel Williams)
11:44 AM Feature #17312: New methods in Enumerable and Enumerator::Lazy: flatten, product, compact
PR for `#compact`: https://github.com/ruby/ruby/pull/3851 zverok (Victor Shepelev)
10:40 AM Revision 9dbb2bfd (git): Wrap SortedSet with `ruby_version_is ""..."3.0"`
* Using $ spec/mspec/tool/wrap_with_guard.rb 'ruby_version_is ""..."3.0"' spec/ruby/library/set/sortedset/**/*_spec.rb Eregon (Benoit Daloze)
10:39 AM Revision bb3d7058 (git): Add MSpec tool to automatically wrap spec files with a guard
Eregon (Benoit Daloze)
10:17 AM Revision d0bd43c3 (git): Revert "SortedSet was removed at a3db08d7b6ff119223f77e3df00b4f6deac971e2"
* This reverts commit b06ffce4aef002dc47c3c5968181230e7ab8d7cc.
* Do not revert specs, wrap them with `ruby_version_i...
Eregon (Benoit Daloze)
08:43 AM Revision 5e58a903 (git): Reduce timeout of test_getaddrinfo_after_fork
Glass_saga (Masaki Matsushita)
07:41 AM Bug #17368 (Closed): `Ractor.select()` loops forever
I propose it raises an error in https://github.com/ruby/ruby/pull/3848
```ruby
Ractor.select # => loops
# afte...
marcandre (Marc-Andre Lafortune)
07:35 AM Misc #17367 (Closed): CI: Env variable for Ractor compatibility tests?
It will become important to test that some features are Ractor compatible.
For some builtin libs for example: that...
marcandre (Marc-Andre Lafortune)
06:58 AM Bug #17366 (Closed): Ractor odd issue with timeout + receive + sleep + take
I believe the following behavior is incorrect:
```
ruby -r timeout -e 'r = Ractor.new { Timeout.timeout(0.1) { sl...
marcandre (Marc-Andre Lafortune)
05:57 AM Revision d2b7e1e4 (git): Protoized old pre-ANSI K&R style definitions
nobu (Nobuyoshi Nakada)
05:57 AM Feature #15233 (Closed): Speeding Up Matrix Powers
Applied in changeset commit:git|a83a51932dbc31b549e11b9da8967f2f52a8b07c.
----------
[ruby/matrix] Optimize **
Avoi...
Anonymous
05:56 AM Revision a83a5193 (git): [ruby/matrix] Optimize **
Avoiding recursive call would imply iterating bits starting from
most significant, which is not easy to do efficientl...
Marc-Andre Lafortune

12/04/2020

10:38 PM Revision 3b5b309b (git): Proposed method for dealing with stack locals which have non-local lifetime.
Samuel Williams
10:38 PM Revision 15e23312 (git): Rework the order of operations to avoid stack smashing.
Samuel Williams
06:14 PM Revision f4386413 (git): Cope with frozen-string-literal
When running irb 1.2.1 (2019-12-24) with frozen-string-literal enabled, it crashes in reline with `can't modify froze... Robert Schulze
06:03 PM Bug #17362: Thread core dump
> Using v2.6.6 the code works without issues.
Thanks. It is also the same as #17289.
Can you provide us the cor...
mame (Yusuke Endoh)
11:41 AM Bug #17362: Thread core dump
jeremyevans0 (Jeremy Evans) wrote in #note-1:
> Can you please provide a minimal self-contained example showing the p...
npic1 (Nat Pic1)
05:58 PM Revision 0cf07308 (git): [ruby/reline] Process insertion buffer forcibly
https://github.com/ruby/reline/commit/89d49ec9e0 aycabta (aycabta .)
05:58 PM Revision c2bd5b84 (git): [ruby/reline] Support bracketed paste mode
https://github.com/ruby/reline/commit/d1a6869322 aycabta (aycabta .)
05:58 PM Revision 7624f527 (git): [ruby/reline] Forced newline insertion is not just cursor moving
https://github.com/ruby/reline/commit/0e30a49d03 aycabta (aycabta .)
05:58 PM Revision 37a574b5 (git): [ruby/reline] Drop prompt list cache when num of lines is changed
https://github.com/ruby/reline/commit/1959e22043 aycabta (aycabta .)
05:58 PM Revision 2910684c (git): [ruby/reline] Cache dynamic prompt for 0.5sec
https://github.com/ruby/reline/commit/06b89d0e61 aycabta (aycabta .)
05:58 PM Revision b763c5cd (git): [ruby/reline] Stop rerendering if the cursor is only moved
https://github.com/ruby/reline/commit/30e8eaf855 aycabta (aycabta .)
05:58 PM Revision a297565a (git): [ruby/reline] Split #rerender method that is too huge
https://github.com/ruby/reline/commit/d0fbc89253 aycabta (aycabta .)
05:58 PM Revision 493f381c (git): [ruby/reline] Version 0.1.9
https://github.com/ruby/reline/commit/0b1b5e77ce aycabta (aycabta .)
05:58 PM Revision b545ab21 (git): [ruby/reline] Stop rerendering whole screen when adding newline at end of buffer
The rendering time in IRB has been reduced as follows:
start = Time.now
def each_top_level_statement
initia...
aycabta (aycabta .)
05:58 PM Revision fb2fda9a (git): [ruby/reline] Optimize regexp handling for width
The rendering time in IRB has been reduced as follows:
start = Time.now
[{"_id"=>"5f9072a4589a06d2d74b6028",
...
aycabta (aycabta .)
05:58 PM Revision 3d0bcf1c (git): [ruby/reline] Optimize ASCII character width calculation
The rendering time in IRB has been reduced as follows:
start = Time.now
[{"_id"=>"5f9072a4589a06d2d74b6028",
...
aycabta (aycabta .)
05:58 PM Revision c8503536 (git): [ruby/reline] Key strokes like 2dl should behave d2l
Key strokes, vi arg, operator, and motion should be treated as operator, vi
arg, and motion.
https://github.com/ruby...
aycabta (aycabta .)
05:58 PM Revision 21f26018 (git): [ruby/reline] Add test `Reline::Unicode.test_get_mbchar_width`.
https://github.com/ruby/reline/commit/301e9048fc osyo (manga osyo)
05:58 PM Revision e47e5db8 (git): [ruby/reline] Fix crash to input `é`. refs #174
https://github.com/ruby/reline/commit/ba5e267e5f osyo (manga osyo)
05:58 PM Revision ff4656ee (git): [ruby/reline] Version 0.1.8
https://github.com/ruby/reline/commit/e79e402c01 aycabta (aycabta .)
05:58 PM Revision dbfc1f30 (git): [ruby/reline] Add alias vi-movement-mode to vi-command-mode for compatibility
https://github.com/ruby/reline/commit/a79c297567 aycabta (aycabta .)
05:58 PM Revision 48742614 (git): [ruby/reline] Move alias_method to right after original definition
https://github.com/ruby/reline/commit/b7c8b93fa9 aycabta (aycabta .)
05:58 PM Revision 9750c27a (git): [ruby/reline] Call process_insert when the end of pasting plural fullwidth chars
https://github.com/ruby/reline/commit/594484d9f9 aycabta (aycabta .)
05:58 PM Revision ba8e5f77 (git): [ruby/reline] Motions e, E, t, f should include a char on cursor if follows operator
https://github.com/ruby/reline/commit/86e9a76499 aycabta (aycabta .)
05:58 PM Revision 6be3b2da (git): [ruby/reline] Implement vi_yank
https://github.com/ruby/reline/commit/164aaf9a5f aycabta (aycabta .)
05:58 PM Revision 2dc4aca8 (git): [ruby/reline] Operator with arg need to make sure that they take arg to avoid crashing
https://github.com/ruby/reline/commit/1c0c06de1f aycabta (aycabta .)
05:58 PM Revision 92b22db6 (git): [ruby/reline] Unimplemented vi command should be no-op
https://github.com/ruby/reline/commit/abc90e6867 aycabta (aycabta .)
05:58 PM Revision faf8f216 (git): [ruby/reline] Keep operator proc as a local variable in the scope
The proc variable will be used later so the instance variable will be changes.
https://github.com/ruby/reline/commit...
aycabta (aycabta .)
05:58 PM Revision 564aadce (git): [ruby/reline] Skip em_exchange_mark without mark
https://github.com/ruby/reline/commit/abb56e5ec3 aycabta (aycabta .)
05:58 PM Revision e6429ad0 (git): [ruby/reline] Backspace and C-h should be unassigned on vi command mode
https://github.com/ruby/reline/commit/28f4dae020 aycabta (aycabta .)
05:58 PM Revision 853c176e (git): [ruby/reline] Version 0.1.7
https://github.com/ruby/reline/commit/710ca23427 aycabta (aycabta .)
05:58 PM Revision 266ffdde (git): [ruby/reline] Continuous insertion buffering
The rendering time in IRB has been reduced as follows:
start = Time.now
[{"_id"=>"5f9072a4589a06d2d74b6028",
...
aycabta (aycabta .)
05:58 PM Revision 76cac4c0 (git): [ruby/reline] Improve the performance of `get_mbchar_width`
It is about three times faster to use one big regexp instead of
sequential matching.
https://github.com/ruby/reline/...
mame (Yusuke Endoh)
05:58 PM Revision b3e0db80 (git): [ruby/reline] Version 0.1.6
https://github.com/ruby/reline/commit/20a7806815 aycabta (aycabta .)
05:58 PM Revision 9461cceb (git): [ruby/reline] Update the generator script too
https://github.com/ruby/reline/commit/8b0926820a mame (Yusuke Endoh)
05:58 PM Revision 55cc397a (git): [ruby/reline] Suppress callbacks in pasting
IRB uses Reline's 3 dynamic real-time callbacks with calling Ripper;
output_modifier_proc, prompt_proc, and auto_inde...
aycabta (aycabta .)
05:58 PM Revision 4291ff37 (git): [ruby/reline] Bypass newline insertion at eol on command prompt
A newline is automatically inserted if a character is rendered at eol on
command prompt.
https://github.com/ruby/rel...
aycabta (aycabta .)
05:58 PM Revision 6a51d393 (git): [ruby/reline] Improve the regexps for EastAsianWidth
A character class is about three times faster than Regexp alternatives
https://github.com/ruby/reline/commit/57c7955c55
mame (Yusuke Endoh)
05:58 PM Revision 4af2e411 (git): [ruby/reline] Deduplicate completed items
https://github.com/ruby/reline/commit/2dabf0c786 aycabta (aycabta .)
05:58 PM Revision e16e4813 (git): [ruby/reline] Use yamatanooroti 0.0.6 for supporting startup_message on Windows
https://github.com/ruby/reline/commit/167423b664 aycabta (aycabta .)
05:58 PM Revision da59f651 (git): [ruby/reline] Add tests about complicated rendering
https://github.com/ruby/reline/commit/f4683b72eb aycabta (aycabta .)
05:58 PM Revision dd87d639 (git): [ruby/reline] Test prompt with escape sequence
https://github.com/ruby/reline/commit/c7c1d5f5d1 aycabta (aycabta .)
05:58 PM Revision 87f51c7e (git): [ruby/reline] Use startup_option instead of startup wait
https://github.com/ruby/reline/commit/a63ce6371c aycabta (aycabta .)
05:58 PM Revision 092c253b (git): [ruby/reline] Wait for the process to be started in start_terminal
https://github.com/ruby/reline/commit/d29d33dcf5 aycabta (aycabta .)
05:58 PM Revision 62666a6b (git): [ruby/reline] Add write_inputrc
https://github.com/ruby/reline/commit/70536d8c9a aycabta (aycabta .)
05:58 PM Revision d5cf3fcd (git): [ruby/reline] Update to Unicode 13.0.0
https://github.com/ruby/reline/commit/d49bb0aa34 aycabta (aycabta .)
04:43 PM Revision d7cda3b0 (git): Add T_MOVED to rp command of GDB
peterzhu2118 (Peter Zhu)
03:45 PM Revision b4ec4a41 (git): Guard all accesses to RubyVM::MJIT with defined?(RubyVM::MJIT) &&
* Otherwise those tests, etc cannot run on alternative Ruby implementations. Eregon (Benoit Daloze)
03:32 PM Revision 83e983ab (git): * 2020-12-05 [ci skip]
git[bot]
03:32 PM Revision 9ea1055e (git): 2.8 -> 3.0 in specs
Eregon (Benoit Daloze)
02:33 PM Bug #17220 (Closed): Rails Active Job integration test fails with Ruby 3.0.0 since 2038cc6cab6ceeffef3ec3a765c70ae684f829ed
Applied in changeset commit:git|94d49ed31c39002335eeee65d42463139f561954.
----------
Add a hook before fork() for ge...
Glass_saga (Masaki Matsushita)
04:52 AM Bug #17220: Rails Active Job integration test fails with Ruby 3.0.0 since 2038cc6cab6ceeffef3ec3a765c70ae684f829ed
Glass_saga (Masaki Matsushita) wrote in #note-25:
> patch updated:
> - use more generic name `rb_socket_before_exec...
nobu (Nobuyoshi Nakada)
04:05 AM Bug #17220: Rails Active Job integration test fails with Ruby 3.0.0 since 2038cc6cab6ceeffef3ec3a765c70ae684f829ed
another patch that uses `pthread_cond_signal(&__gai_new_request_notification)`, but it doesn't work. Glass_saga (Masaki Matsushita)
03:55 AM Bug #17220: Rails Active Job integration test fails with Ruby 3.0.0 since 2038cc6cab6ceeffef3ec3a765c70ae684f829ed
patch updated:
- use more generic name `rb_socket_before_exec_func`
- move test to test/socket
- remove useless lines
Glass_saga (Masaki Matsushita)
02:31 PM Revision 94d49ed3 (git): Add a hook before fork() for getaddrinfo_a()
We need stop worker threads in getaddrinfo_a() before fork().
This change adds a hook before fork() that cancel all o...
Glass_saga (Masaki Matsushita)
12:23 PM Bug #16116: ruby2.6.3(x86/x64) use win32ole could not new Object, return 0x80070057
@whdukewu Can you provide a reproducible example of such a C# DLL? We got [several issues](https://github.com/oneclic... larskanis (Lars Kanis)
08:12 AM Bug #16116: ruby2.6.3(x86/x64) use win32ole could not new Object, return 0x80070057
finally we solve this problem by this way:
1. add mscoree.dll to windows registry key ** \HKEY_LOCAL_MACHINE\SYSTEM\...
whdukewu (Kewu DU)
11:21 AM Revision 1cfc6e7b (git): Added dependencies for rinda
hsbt (Hiroshi SHIBATA)
11:16 AM Revision 6f14a300 (git): [ruby/logger] Consider cygwin a Windows platform
This should fix Ruby Bug 12468.
https://github.com/ruby/logger/commit/49de53d1fc
jeremyevans (Jeremy Evans)
10:53 AM Revision 60b57866 (git): [ruby/mutex_m] Fix `Mutex_m#initialize` when the super's initialize has kwargs
Co-authored-by: Ryuta Kamizono <[email protected]>
https://github.com/ruby/mutex_m/commit/84ca1fc108
Masataka Pocke Kuwabara
10:50 AM Revision da126250 (git): [ruby/fileutils] Make mkdir_p only attempt to create necessary directories
Previously, if creating the directory directly didn't work
and the directory didn't exist, mkdir_p would create all
d...
jeremyevans (Jeremy Evans)
10:36 AM Revision e666bd1c (git): Skip subclass spec with SortedSet
hsbt (Hiroshi SHIBATA)
10:36 AM Revision b06ffce4 (git): SortedSet was removed at a3db08d7b6ff119223f77e3df00b4f6deac971e2
hsbt (Hiroshi SHIBATA)
10:24 AM Revision 1804c336 (git): [ruby/set] Add `Set#<=>`
https://github.com/ruby/set/commit/447974a374 Marc-Andre Lafortune
10:23 AM Revision a3db08d7 (git): [ruby/set] Remove SortedSet implementations
It required RBTree to perform decently and the external dependency was
not suitable for a standard library. The pure...
Akinori MUSHA
10:23 AM Revision 46fc8d78 (git): [ruby/set] Resurrect support for Ruby 2.x
In Ruby 2.x, initialize_copy does not take a freeze option.
https://github.com/ruby/set/commit/3da6c309df
Akinori MUSHA
10:12 AM Revision 0adc426c (git): [ruby/zlib] Add Zlib::Inflate#inflate :buffer keyword argument
If a buffer keyword argument is given, it is used as the buffer,
instead of creating new strings. This can result in...
jeremyevans (Jeremy Evans)
10:12 AM Revision bc63ec57 (git): [ruby/zlib] Allow Zlib.crc32 and .adler32 to accept IO instance
This reads from the IO in 8192 byte chunks, so you don't need to
have the entire string in memory.
Fixes #16
https:...
jeremyevans (Jeremy Evans)
10:11 AM Revision a60dfff4 (git): [ruby/zlib] Document that gets can return nil when eof? returns false
This behavior differs from File#gets.
Fixes [Bug #13904]
https://github.com/ruby/zlib/commit/448e41efdd
jeremyevans (Jeremy Evans)
06:19 AM Revision cf582aa6 (git): Fixed a code block in NEWS [ci skip]
A code block needs to be separated from the previous paragraph by
an empty line.
nobu (Nobuyoshi Nakada)
06:07 AM Revision c0de997e (git): memory_view.c: Fix endianness of n, N, v, V
Kenta Murata
05:59 AM Revision e8cee491 (git): fix initialize order
`captured->code.val` should be initialize before because it can be
a GC point by another ractor because `RB_OBJ_WRITE...
ko1 (Koichi Sasada)
05:42 AM Revision 82bbce82 (git): fix index
`i` should not be used here because `i` will be `alen` when
jumped here by "goto restart".
ko1 (Koichi Sasada)
05:33 AM Revision f1757a88 (git): Avoid leaving too many core files in /tmp
for CIs like ci.rvm.jp. k0kubun (Takashi Kokubun)
05:24 AM Revision 30fba5f3 (git): Do not require time and fileutils by default
I have no idea what I'm doing, but the previous commit caused lots of CI
failures like https://github.com/ruby/ruby/r...
k0kubun (Takashi Kokubun)
05:05 AM Feature #17365 (Closed): Can not respond (well) to a Ractor
Summary: currently there is no good way to return a response to a Ractor message.
Sorry, this is long.
Points 1 t...
marcandre (Marc-Andre Lafortune)
05:01 AM Revision 067f45ec (git): Save a core file on a worker crash
CI failures like
http://ci.rvm.jp/results/trunk-mjit@phosphorus-docker/3280458 doesn't
provide any useful information...
k0kubun (Takashi Kokubun)
04:55 AM Revision 0734a6cd (git): Revert "Report a full_message on a worker crash"
This reverts commit 00f046ef57f9da7f5248f9ef9d55702ddc407bf1.
It was not helpful for an issue I was debugging.
k0kubun (Takashi Kokubun)
03:20 AM Feature #17363: Timeouts
I'm positive about that option too.
But I wonder how `Timeout.wake` works and if it is possible.
nobu (Nobuyoshi Nakada)
03:02 AM Revision 95118e02 (git): Fixed links in NEWS [ci skip]
* added a missing link
* removed a duplicated link
nobu (Nobuyoshi Nakada)
02:32 AM Revision ee4373c8 (git): Remove backticks from method names in NEWS [ci skip]
nobu pointed out this prevents automatic linking to the methods. jeremyevans (Jeremy Evans)
01:48 AM Bug #17360 (Rejected): Objects disappear from ObjectSpace after using Ractor
Yes this is an intentional behaviour as of 3.0. Currently Ractor and ObjectSpace do not interface well. You cannot ... shyouhei (Shyouhei Urabe)
01:37 AM Revision 94b2323a (git): Fix typos [ci skip]
znz (Kazuhiro NISHIYAMA)
01:19 AM Revision a9d773a2 (git): Revert "Skip repeated scan of object during compaction"
This seems to be breaking the build for some reason.
This command can reproduce it:
`make yes-test-all TESTS=--repe...
tenderlovemaking (Aaron Patterson)

12/03/2020

11:27 PM Misc #17346: DevelopersMeeting20201210Japan
* [Feature #17357] `Queue#pop` should have a block form for clsoed queues (marcandre)
* Have a way to distinguish `...
marcandre (Marc-Andre Lafortune)
03:04 PM Misc #17346: DevelopersMeeting20201210Japan
* Meta: please change future deadlines from a week before the meetings to 1 or 2 days before (marcandre) marcandre (Marc-Andre Lafortune)
03:00 PM Misc #17346: DevelopersMeeting20201210Japan
* [Feature #17363] Timeouts (marcandre)
* Add `timeout` parameter to `Queue.pop`, `Ractor.receive`, ...
* And/o...
marcandre (Marc-Andre Lafortune)
02:48 PM Misc #17346: DevelopersMeeting20201210Japan
* [Feature #17314] Method declarations (marcandre)
* Have `Module#protected`, `private`, `public` accept a single ...
marcandre (Marc-Andre Lafortune)
12:14 PM Misc #17346: DevelopersMeeting20201210Japan
* [Feature #17361] lambda(&block) does not warn with lazy proc allocation (znz)
* optimization affects warnings
znz (Kazuhiro NISHIYAMA)
06:56 AM Misc #17346: DevelopersMeeting20201210Japan
* [Feature #17342] Add Hash#fetch_set (maxlap)
* Yes/no?
MaxLap (Maxime Lapointe)
09:08 PM Bug #17364 (Closed): Fix documentation for String#encode options
Applied in changeset commit:git|9195310168fa43186b1918fb0432a54b000fcbba.
----------
Update documentation for String...
jeremyevans (Jeremy Evans)
08:51 PM Bug #17364: Fix documentation for String#encode options
Thank you, Jeremy — I appreciate all the assistance you gave here! tjschuck (T.J. Schuck)
08:46 PM Bug #17364: Fix documentation for String#encode options
tjschuck (T.J. Schuck) wrote in #note-2:
> Aha, thanks for the pointer to `doc/method_documentation.rdoc`, Jeremy — ...
jeremyevans0 (Jeremy Evans)
08:39 PM Bug #17364: Fix documentation for String#encode options
Aha, thanks for the pointer to `doc/method_documentation.rdoc`, Jeremy — very helpful!
Based on the info you provi...
tjschuck (T.J. Schuck)
08:24 PM Bug #17364: Fix documentation for String#encode options
Which format should be used in documentation depends on the method implementation. If the method ignores unrecognize... jeremyevans0 (Jeremy Evans)
07:44 PM Bug #17364 (Closed): Fix documentation for String#encode options
(Everything below is written about `String#encode`, but it also applies to `String#encode!` — only referring to `enco... tjschuck (T.J. Schuck)
08:47 PM Revision 91953101 (git): Update documentation for String#encode{,!} [ci skip]
These methods take keywords, not a hash.
From tjschuck (T.J. Schuck)
Fixes [Bug #17364]
jeremyevans (Jeremy Evans)
07:58 PM Revision 88bb1a67 (git): Skip repeated scan of object during compaction
peterzhu2118 (Peter Zhu)
07:13 PM Feature #17342: Hash#fetch_set
shyouhei (Shyouhei Urabe) wrote in #note-13:
> Yes I’m quite sure he is dead serious. There are idiots who write n...
Eregon (Benoit Daloze)
07:03 AM Feature #17342: Hash#fetch_set
I think this is a good feature. I like the fact that the this can not be implemented in pure Ruby as efficiently (i.e... marcandre (Marc-Andre Lafortune)
07:04 PM Feature #17363: Timeouts
+1 for `Queue#pop(timeout: 42)`.
FWIW TruffleRuby already has `Queue#receive_timeout` as a private method,
and th...
Eregon (Benoit Daloze)
03:11 PM Feature #17363: Timeouts
I've wanted a timed version of `Queue#pop` for a long time, to use as the backed for Sequel's connection pool. I was... jeremyevans0 (Jeremy Evans)
02:58 PM Feature #17363 (Assigned): Timeouts
Builtin methods like `Queue.pop` and `Ractor.receive` have no timeout parameter.
We should either:
- provide such...
marcandre (Marc-Andre Lafortune)
05:08 PM Revision 04b96fc3 (git): * 2020-12-04 [ci skip]
git[bot]
05:06 PM Revision b60eaea8 (git): Update NEWS [ci skip]
Make core class updates section use a consistent format. Alphabetize
core class updates section by class name, and st...
jeremyevans (Jeremy Evans)
03:49 PM Bug #17362: Thread core dump
I suspect this is the same issue as #17289 because the segfault occurs immediately after rb_funcallv_with_cc, but I'm... mame (Yusuke Endoh)
03:39 PM Bug #17362 (Feedback): Thread core dump
Can you please provide a minimal self-contained example showing the problem? Without it, I'm afraid there is not muc... jeremyevans0 (Jeremy Evans)
11:22 AM Bug #17362 (Closed): Thread core dump
Hi,
I moved from 2.4.10 to 2.7.2, and now I get one thread killed.
I am unable to isolate the root cause.
This i...
npic1 (Nat Pic1)
03:18 PM Feature #17314: Provide a way to declare visibility of attributes defined by attr* methods in a single expression
A Ruby summary:
```ruby
class Foo
protected [:x, :y]
# same as:
protected :x, :y
attr_accessor :foo...
marcandre (Marc-Andre Lafortune)
02:34 PM Revision bc4ca06f (git): test/ruby/test_io.rb: some test methods had been overwritten
http://rubyci.s3.amazonaws.com/ubuntu/ruby-master/log/20201203T123002Z.log.html.gz
```
/home/chkbuild/chkbuild/tmp/bu...
mame (Yusuke Endoh)
12:31 PM Revision 2a99fea8 (git): test-bundled-gems.rb: show failed gems at last
nobu (Nobuyoshi Nakada)
10:17 AM Revision d3c685f0 (git): digest gem is available now
hsbt (Hiroshi SHIBATA)
09:41 AM Bug #17220: Rails Active Job integration test fails with Ruby 3.0.0 since 2038cc6cab6ceeffef3ec3a765c70ae684f829ed
About `__getaddrinfo_a_before_exec_func`:
* the name starting with `__` is reserved by C standard
* the name seems ...
nobu (Nobuyoshi Nakada)
08:48 AM Revision 1af8a0a9 (git): [ruby/ipaddr] fixup 90b46678a5b09ed32612b0629b7c51c6d39a0444
https://github.com/ruby/ipaddr/commit/d2ec7cc3ee hsbt (Hiroshi SHIBATA)
08:37 AM Revision e62eb9a3 (git): [ruby/ipaddr] Relaxed Ruby version for 3.0
https://github.com/ruby/ipaddr/commit/90b46678a5 hsbt (Hiroshi SHIBATA)
08:37 AM Revision d65621b6 (git): Specify minimum version.
Samuel Williams
08:36 AM Revision ca024bee (git): Use Gemfile instead of Gem::Specification#add_development_dependency.
hsbt (Hiroshi SHIBATA)
08:35 AM Revision 7b126a82 (git): Simplify `ipaddr.gemspec`.
Samuel Williams
08:35 AM Revision ab524dfd (git): [ruby/forwardable] Specify minimum Ruby version.
Remove jruby-9.1.17.0 from CI
https://github.com/ruby/forwardable/commit/08d92a9c39
Marc-Andre Lafortune
08:35 AM Revision 5b1ebb8e (git): [ruby/readline-ext] Rename depend.gem with depend-gem
https://github.com/ruby/readline-ext/commit/897ffe26a6 aycabta (aycabta .)
08:35 AM Revision b526db85 (git): [ruby/readline-ext] Version 0.1.1
https://github.com/ruby/readline-ext/commit/6d55854434 aycabta (aycabta .)
08:35 AM Revision b619197d (git): Use gemified depend
aycabta (aycabta .)
08:35 AM Revision eab4aa41 (git): [ruby/io-wait] Added extensions
https://github.com/ruby/io-wait/commit/664c93b2ff nobu (Nobuyoshi Nakada)
08:35 AM Revision 09266ecc (git): [ruby/io-wait] Fixed regexp to reject .travis* at the toplevel only
https://github.com/ruby/io-wait/commit/4434b10e46 nobu (Nobuyoshi Nakada)
08:35 AM Revision 7fcbe07d (git): [ruby/io-wait] Exclude dot-files for CIs
https://github.com/ruby/io-wait/commit/12cce69ddf nobu (Nobuyoshi Nakada)
08:35 AM Revision 09bcb935 (git): [ruby/io-wait] Fix ls-files matching regexp
See rubygems/rubygems@8a81183236c4475152798db99734e89779287331.
https://github.com/ruby/io-wait/commit/04857e0cf5
nobu (Nobuyoshi Nakada)
08:35 AM Revision 2800e9f3 (git): [ruby/io-nonblock] Added extensions
https://github.com/ruby/io-nonblock/commit/8b7abbd1b5 nobu (Nobuyoshi Nakada)
08:35 AM Revision 78201620 (git): [ruby/io-nonblock] Exclude dot-files for CIs
https://github.com/ruby/io-nonblock/commit/9fa3ad9c7a nobu (Nobuyoshi Nakada)
08:35 AM Revision 7d0a6e28 (git): [ruby/io-nonblock] Fix ls-files matching regexp
See rubygems/rubygems@8a81183236c4475152798db99734e89779287331.
https://github.com/ruby/io-nonblock/commit/e14f7952c1
nobu (Nobuyoshi Nakada)
08:35 AM Revision 412a0f52 (git): [ruby/digest] LICENSE
https://github.com/ruby/digest/commit/aa048ce345 hsbt (Hiroshi SHIBATA)
08:35 AM Revision 7324d76d (git): [ruby/digest] Fixup d981714348f71177132426e3ac19598e1b2e8f5d
https://github.com/ruby/digest/commit/502a12587c hsbt (Hiroshi SHIBATA)
08:01 AM Revision 541e4340 (git): Assert unit->iseq null out happens under the JIT/GC guard
k0kubun (Takashi Kokubun)
07:52 AM Feature #16697: Hash.ruby2_keywords_hash?(value) should support any object
I've created a PR for the proposal https://github.com/ruby/ruby/pull/3839 jbeschi (jacopo beschi)
07:38 AM Revision 58c3c75f (git): Skip checking Ractor recursive locking
for an MJIT worker thread. We can't do it because its GET_EC() returns
NULL.
k0kubun (Takashi Kokubun)
06:27 AM Revision 29c9588e (git): Add Proc#{==,eql?} addition to NEWS [ci skip]
jeremyevans (Jeremy Evans)
03:47 AM Revision 43b95baf (git): delete deprecated IO-like methods
This commit deletes
{IO,ARGF,StringIO,Zib::GZipReader}#{bytes,chars,lines,codepoints}, which
have been deprecated sin...
shyouhei (Shyouhei Urabe)
03:07 AM Revision 84eb2bfa (git): include/ruby/internal/xmalloc.h: add doxygen
Thought it was not a bad idea to document these CAPI. [ci skip] shyouhei (Shyouhei Urabe)
02:45 AM Feature #17361 (Closed): lambda(&block) does not warn with lazy proc allocation
In NEWS,
```
* Kernel#lambda now warns if called without a literal block.
[[Feature #15973]]
...
znz (Kazuhiro NISHIYAMA)

12/02/2020

09:49 PM Revision 1f71c7dc (git): add GC guard
new_prev_env is stored in the env_body memory block but this is not
a GC root, so new_prev_env could be freed.
ko1 (Koichi Sasada)
09:42 PM Misc #17346: DevelopersMeeting20201210Japan
* [Feature #17055] Allow suppressing uninitialized instance variable and method redefined verbose mode warnings (jere... jeremyevans0 (Jeremy Evans)
09:25 PM Feature #17055: Allow suppressing uninitialized instance variable and method redefined verbose mode warnings
During the November developer meeting, @matz seems in favor of completely removing the undefined instance variable wa... jeremyevans0 (Jeremy Evans)
06:47 PM Revision 51268be7 (git): When allocating new pages, add them to the end of the linked list
When we allocate new pages, allocate them on the end of the linked list.
Then when we compact we can move things to t...
tenderlovemaking (Aaron Patterson)
05:42 PM Bug #17359: Ractor copy mode is not Ractor-safe
Dan0042 (Daniel DeLorme) wrote in #note-14:
> I think it's feasible. `initialize_clone` and `initialize_copy` are mo...
marcandre (Marc-Andre Lafortune)
02:00 PM Bug #17359: Ractor copy mode is not Ractor-safe
ko1 (Koichi Sasada) wrote in #note-6:
> One idea is prohibit `initialize_copy` written in Ruby, for ractor_copy.
> Bu...
Dan0042 (Daniel DeLorme)
05:42 PM Bug #17341 (Closed): Unsound quantifier reduction with nested quantifiers
Applied in changeset commit:git|9e73177d5362c1986814f411961b712967dc5f97.
----------
Do not reduce quantifiers if it...
jeremyevans (Jeremy Evans)
05:42 PM Revision 9e73177d (git): Do not reduce quantifiers if it affects which text will be matched
Quantifier reduction when using +?)* and +?)+ should not be done
as it affects which text will be matched.
This remo...
jeremyevans (Jeremy Evans)
04:23 PM Revision 7546be2c (git): * 2020-12-03 [ci skip]
git[bot]
04:23 PM Revision 0bebea98 (git): Incremental sweeping should not require page allocation
Incremental sweeping should sweep until we find a slot for objects to
use. `heap_increment` was adding a page to the...
tenderlovemaking (Aaron Patterson)
03:20 PM Bug #17220: Rails Active Job integration test fails with Ruby 3.0.0 since 2038cc6cab6ceeffef3ec3a765c70ae684f829ed
patch updated:
- to stop posting new task, we need keep holding GVL.
- use function pointer instead of `rb_funcall`...
Glass_saga (Masaki Matsushita)
02:52 PM Bug #17360 (Rejected): Objects disappear from ObjectSpace after using Ractor
Test:
```ruby
GC.disable
STR = -"testing 123"
x = STR.dup
puts "before:"
ObjectSpace.each_object(String){ |s|...
Dan0042 (Daniel DeLorme)
02:05 PM Feature #16697: Hash.ruby2_keywords_hash?(value) should support any object
Thanks! I'll give it a try :-) jbeschi (jacopo beschi)
01:55 PM Feature #16697: Hash.ruby2_keywords_hash?(value) should support any object
I think we need to decide if this change is accepted, I'll add it to the dev meeting agenda.
Indeed, the concrete ...
Eregon (Benoit Daloze)
12:02 PM Feature #16697: Hash.ruby2_keywords_hash?(value) should support any object
I'd like to contribute here but I'm new to this so please forgive me if this is a stupid question: we basically just ... jbeschi (jacopo beschi)
11:17 AM Revision 12a121cc (git): ENV.index: delete
Has been deprecated since 373282f6656d3d3d989d261e7a95f8e81b5c9712. shyouhei (Shyouhei Urabe)
11:06 AM Feature #17356: Alignment of memory allocated through Fiddle struct's malloc
FYI.
I was informed by IBM that IBM i PASE *malloc* always returns 16-byte aligned memory!
This differs from AIX (t...
AndreaRibuoli (Andrea Ribuoli)
10:36 AM Revision 28001e55 (git): Added dependencies for net-pop
hsbt (Hiroshi SHIBATA)
10:36 AM Revision 1fa3f9a1 (git): Added dependencies for net-imap
hsbt (Hiroshi SHIBATA)
10:11 AM Revision 4e01ab34 (git): Revert "Removed deprecated Dir.exists? and File.exists?"
This reverts commit 1a5205536f0c0d6021450b11722919211847df86. nobu (Nobuyoshi Nakada)
08:24 AM Revision 1a520553 (git): Removed deprecated Dir.exists? and File.exists?
nobu (Nobuyoshi Nakada)
08:06 AM Revision 9e94cd18 (git): test-bundled-gems: select bundled gems to test by BUNDLED_GEMS
nobu (Nobuyoshi Nakada)
08:04 AM Revision 44f038bd (git): gmake.mk: renamed BUNDLED_GEMS as bundled-gems
Hyphenated names are safe in GNU make. nobu (Nobuyoshi Nakada)
07:16 AM Revision 30ded41f (git): Loaded script is unset yet when crashed in the initialization phase
nobu (Nobuyoshi Nakada)
04:45 AM Revision 98c9120c (git): Bundle rbs 0.19.0 (#3838)
soutaro (Soutaro Matsumoto)
04:32 AM Revision c461b240 (git): Removed needless .rb
hsbt (Hiroshi SHIBATA)
03:46 AM Revision 4bbb6100 (git): Emit warning when 'RubyGems' were not properly loaded.
Vít Ondruch
03:46 AM Revision fbe37ff3 (git): Emit warning when 'did_you_mean' was not properly loaded.
Vít Ondruch
03:46 AM Revision 0ad7f2dd (git): Don't fail when 'RubyGems' are not available.
Although 'RubyGems' are always available in upstream Ruby, it might not
be available optionally when Ruby is delivere...
Vít Ondruch
03:46 AM Revision 55c9a95a (git): Don't fail when 'did_you_mean' is not available.
Although 'did_you_mean' is always available in upstream Ruby, it might
not be available when speed, memory, disk or n...
Vít Ondruch
02:19 AM Feature #17303 (Assigned): Remove webrick from stdlib
hsbt (Hiroshi SHIBATA)
02:09 AM Revision 2e601c28 (git): digest: remove OpenSSL engine
The OpenSSL engine of Digest uses the low-level API of OpenSSL, whose
use has been discouraged for years for multiple...
rhenium (Kazuki Yamaguchi)
01:59 AM Revision 95bb49d4 (git): Fix code example in Readline::HISTORY documentation.
Wrapping the example into a ... Cristian Greco
12:44 AM Revision 82dc0c6a (git): memory_view.c: Check availability in rb_memory_view_get
Kenta Murata
12:12 AM Revision 7172272c (git): Added dependencies for net-ftp
hsbt (Hiroshi SHIBATA)
12:12 AM Revision afba96f9 (git): Added dependencies for net-http
hsbt (Hiroshi SHIBATA)
12:12 AM Revision 48149d8f (git): Added dependencies for net-smtp
hsbt (Hiroshi SHIBATA)
12:12 AM Revision b0f4cccf (git): Added dependencies for net-protocol
hsbt (Hiroshi SHIBATA)
12:12 AM Revision f8435f42 (git): Added dependencies for tmpdir
hsbt (Hiroshi SHIBATA)
12:12 AM Revision 10d6a273 (git): Added dependencies for erb
hsbt (Hiroshi SHIBATA)
12:12 AM Revision c364865b (git): Added dependencies for pp
hsbt (Hiroshi SHIBATA)
12:02 AM Bug #17213 (Closed): Rails CI against Ruby 3.0.0dev fails likely since a53e2850c572135ed657144bc14e47b29c64fa94
jeremyevans0 (Jeremy Evans)

12/01/2020

11:26 PM Bug #17213: Rails CI against Ruby 3.0.0dev fails likely since a53e2850c572135ed657144bc14e47b29c64fa94
This issue has been addressed by https://github.com/ruby/ruby/commit/56bb6e7d582f2e73c23f05594cd89d6deea9c318
This...
yahonda (Yasuo Honda)
10:28 PM Feature #17356: Alignment of memory allocated through Fiddle struct's malloc
My proposal I wrote in #note-1 is basically the same as @kou’s in #note-5. I think it’s quite possible to add such t... shyouhei (Shyouhei Urabe)
08:11 PM Feature #17356: Alignment of memory allocated through Fiddle struct's malloc
How about introducing new APIs like `ruby_xaligned_malloc()` and `ruby_xaligned_free()` that wraps existing `rb_align... kou (Kouhei Sutou)
05:46 PM Feature #17356: Alignment of memory allocated through Fiddle struct's malloc
IMHO, this feature is something that Fiddle or FFI should handle.
They can call malloc/posix_memalign/etc themselves...
Eregon (Benoit Daloze)
12:45 PM Feature #17356: Alignment of memory allocated through Fiddle struct's malloc
Sadly that has portability issues. It is not always possible to pass a pointer returned from aligned_alloc to reallo... shyouhei (Shyouhei Urabe)
06:32 AM Feature #17356: Alignment of memory allocated through Fiddle struct's malloc
Right now the change I have introduced manually is fine for me. I was wondering if there was a simple way to #ifdef t... AndreaRibuoli (Andrea Ribuoli)
12:29 AM Feature #17356: Alignment of memory allocated through Fiddle struct's malloc
You mean the `configure` script we ship along with ruby? I don't think it's a good idea to a add parameter there (too... shyouhei (Shyouhei Urabe)
10:10 PM Bug #17359: Ractor copy mode is not Ractor-safe
THis was changed to actual traversal and cloning. This way any intermediate object that is shareable is simply shared... marcandre (Marc-Andre Lafortune)
10:01 PM Bug #17359: Ractor copy mode is not Ractor-safe
I was under the impression that ractor-copy worked via dump+load sort of like marshaling, in fact I thought that was ... Dan0042 (Daniel DeLorme)
08:40 PM Bug #17359: Ractor copy mode is not Ractor-safe
ko1 (Koichi Sasada) wrote in #note-10:
> same as https://bugs.ruby-lang.org/issues/17359#note-7 ?
Ohh, sorry 😅 I ...
marcandre (Marc-Andre Lafortune)
06:44 PM Bug #17359: Ractor copy mode is not Ractor-safe
> Nobody commented on my idea: make the deep copy as currently (in the current Ractor), then move it to the new Racto... ko1 (Koichi Sasada)
06:29 PM Bug #17359: Ractor copy mode is not Ractor-safe
I feel it is important not to break the contract of `initialize_copy` (or otherwise replace it with another one, but ... marcandre (Marc-Andre Lafortune)
06:09 PM Bug #17359: Ractor copy mode is not Ractor-safe
Eregon (Benoit Daloze) wrote in #note-7:
> An idea: copy everything in the source Ractor as currently, and then `mov...
ko1 (Koichi Sasada)
05:59 PM Bug #17359: Ractor copy mode is not Ractor-safe
An idea: copy everything in the source Ractor as currently, and then `move` the resulting copied object.
That way, t...
Eregon (Benoit Daloze)
05:53 PM Bug #17359: Ractor copy mode is not Ractor-safe
One idea is prohibit `initialize_copy` written in Ruby, for ractor_copy.
But I'm not sure how it is feasible.
```...
ko1 (Koichi Sasada)
05:36 PM Bug #17359: Ractor copy mode is not Ractor-safe
marcandre (Marc-Andre Lafortune) wrote in #note-2:
> The issue I'm pointing out is that one can register the new copy...
ko1 (Koichi Sasada)
05:30 PM Bug #17359: Ractor copy mode is not Ractor-safe
Dan0042 (Daniel DeLorme) wrote in #note-3:
> The `initialize_copy` is executed in the main ractor, that's why it can...
ko1 (Koichi Sasada)
01:09 PM Bug #17359: Ractor copy mode is not Ractor-safe
The `initialize_copy` is executed in the main ractor, that's why it can set a global variable. It should be executed ... Dan0042 (Daniel DeLorme)
09:23 AM Bug #17359: Ractor copy mode is not Ractor-safe
ko1 (Koichi Sasada) wrote in #note-1:
> mmm, should not call `clone` here?
Sorry, I don't understand. Above code ...
marcandre (Marc-Andre Lafortune)
09:14 AM Bug #17359: Ractor copy mode is not Ractor-safe
mmm, should not call `clone` here?
ko1 (Koichi Sasada)
08:29 AM Bug #17359 (Assigned): Ractor copy mode is not Ractor-safe
It should not be possible to mutate an object across Ractors, but the copy mode allows it currently:
```ruby
clas...
marcandre (Marc-Andre Lafortune)
08:23 PM Revision 56141d38 (git): Fix docs about movement for rb_gc_register_mark_object()
This API in fact pins objects passed to it. See vm.c:2546. alanwu (Alan Wu)
03:40 PM Revision 984ba8de (git): * 2020-12-02 [ci skip]
git[bot]
03:40 PM Revision 21bc330e (git): Bundle rbs 0.18.1 (#3825)
soutaro (Soutaro Matsumoto)
11:40 AM Revision 0c57438c (git): Update fixnum.h
Fix a typo: "nevative" => "negative" in `rb_fix_plus_fix`. jacopo
10:48 AM Revision ad0c2232 (git): Added dependencies for open-uri
hsbt (Hiroshi SHIBATA)
10:48 AM Revision ac29c405 (git): Added dependencies for time
hsbt (Hiroshi SHIBATA)
10:48 AM Revision 0115ae5f (git): Added dependencies for prime
hsbt (Hiroshi SHIBATA)
10:48 AM Revision 6ac5e3c0 (git): Added dependencies for weakref
hsbt (Hiroshi SHIBATA)
09:16 AM Revision 764de756 (git): should not use rb_str_modify(), too
Same as 8247b8edde, should not use rb_str_modify() here.
https://bugs.ruby-lang.org/issues/17343#change-88858
ko1 (Koichi Sasada)
08:35 AM Revision d5e16161 (git): Update ext/.document
nobu (Nobuyoshi Nakada)
07:13 AM Bug #17358 (Closed): Backport 1ca9facab6c85264168b4c0a18c24f489cabcc9f
monitor が C 実装になったときから rdoc が生成されなくなっていたようで、 `ext/.document` に追加する必要があったようです。
C 実装になったのが 2.7 からで、2.6 以前には影響しないようなの...
znz (Kazuhiro NISHIYAMA)
07:07 AM Revision 1ca9faca (git): Add monitor to document files
znz (Kazuhiro NISHIYAMA)
06:44 AM Feature #17307 (Closed): A way to mark C extensions as thread-safe, Ractor-safe, or unsafe
Applied in changeset commit:git|182fb73c40351f917bf44626c44c1adb6cb1aa5a.
----------
rb_ext_ractor_safe() to declare...
ko1 (Koichi Sasada)
06:44 AM Revision 182fb73c (git): rb_ext_ractor_safe() to declare ractor-safe ext
C extensions can violate the ractor-safety, so only ractor-safe
C extensions (C methods) can run on non-main ractors....
ko1 (Koichi Sasada)
04:40 AM Bug #17343 (Open): Ractor can't clone frozen structures
Cool. You'll need to do the same for strings though...
```ruby
$ ruby -e 'Ractor.new(String.new.instance_eval { @...
marcandre (Marc-Andre Lafortune)
04:18 AM Bug #17343 (Closed): Ractor can't clone frozen structures
Applied in changeset commit:git|8247b8eddeb2a504a5c9776d1f77d413c8146897.
----------
should not use rb_ary_modify()
...
ko1 (Koichi Sasada)
04:18 AM Revision 8247b8ed (git): should not use rb_ary_modify()
ractor_copy() used rb_ary_modify() to make sure this array is not
sharing anything, but it also checks frozen flag. S...
ko1 (Koichi Sasada)
02:10 AM Revision d2cfb522 (git): show with sharing info
ko1 (Koichi Sasada)
01:42 AM Feature #17357 (Open): `Queue#pop` should have a block form for closed queues
It is currently difficult to reliably distinguish a `nil` value in a queue from the `nil` that is returned when a Que... marcandre (Marc-Andre Lafortune)
01:11 AM Revision a67cd8a8 (git): -> creates a lambda so this updates the documentation to reflect that
Comstar (James Koenig)
12:39 AM Revision 67693d8d (git): ractor local storage C-API
To manage ractor-local data for C extension, the following APIs
are defined.
* rb_ractor_local_storage_value_newkey
...
ko1 (Koichi Sasada)
12:39 AM Revision e79f1941 (git): tune parallel test
This patch contains the fowllowing hacks:
(1) Add "--timetable-data=FILE" option for test-all
This option enable...
ko1 (Koichi Sasada)
12:34 AM Bug #17344: `Ractor#shareable?` confused by recursive structures
Thanks Nobu.
Same issue was still present with `Ractor.make_shareable`, which I fixed in https://github.com/ruby/r...
marcandre (Marc-Andre Lafortune)
12:33 AM Revision e25165b3 (git): Fix `Ractor.make_shareable` for recursive structures with unfreezable components
Followup to #3823 Marc-Andre Lafortune

11/30/2020

10:45 PM Revision 750e2d9e (git): * 2020-12-01 [ci skip]
git[bot]
10:45 PM Revision 56bb6e7d (git): Only check if the current ep is a local or not, then mark
The vm mark function should only check if the current frame is a local
or not and then mark values in that frame. Si...
tenderlovemaking (Aaron Patterson)
07:44 PM Bug #17354: Module#const_source_location is misleading for constants awaiting autoload
mame (Yusuke Endoh) wrote in #note-6:
> An example. You can ignore the result of `const_source_location` if `autoloa...
ufuk (Ufuk Kayserilioglu)
07:06 PM Bug #17354: Module#const_source_location is misleading for constants awaiting autoload
We can probably never change this behavior due to backwards compatibility, but along the same lines, I think this beh... tenderlovemaking (Aaron Patterson)
06:58 PM Bug #17354: Module#const_source_location is misleading for constants awaiting autoload
jeremyevans0 (Jeremy Evans) wrote in #note-4:
> This is not always true. Ruby does not know that the constant's loc...
tenderlovemaking (Aaron Patterson)
04:33 PM Bug #17354: Module#const_source_location is misleading for constants awaiting autoload
An example. You can ignore the result of `const_source_location` if `autoload?` returns non-nil.
```
$ irb
irb(m...
mame (Yusuke Endoh)
04:28 PM Bug #17354: Module#const_source_location is misleading for constants awaiting autoload
@ufuk @tomstuart I'm unsure if I could understand your use case correctly, but maybe does `Module#autoload?` help you? mame (Yusuke Endoh)
04:14 PM Bug #17354: Module#const_source_location is misleading for constants awaiting autoload
ufuk (Ufuk Kayserilioglu) wrote in #note-2:
> @mame In my use-case, I would very much like `Module#const_source_loca...
jeremyevans0 (Jeremy Evans)
01:34 PM Bug #17354: Module#const_source_location is misleading for constants awaiting autoload
> Do you think what is the purpose of `Module#const_source_location`? Unfortunately, the original motivation is not e... tomstuart (Tom Stuart)
12:16 PM Bug #17354: Module#const_source_location is misleading for constants awaiting autoload
@mame In my use-case, I would very much like `Module#const_source_location` to tell me where the constant is loaded o... ufuk (Ufuk Kayserilioglu)
01:23 AM Bug #17354: Module#const_source_location is misleading for constants awaiting autoload
Do you think what is the purpose of `Module#const_source_location`? Unfortunately, the original motivation is not exp... mame (Yusuke Endoh)
07:30 PM Feature #17355: Using same set of names in or-patterns (pattern matching with Foo(x) | Bar(x))
decuplet (Nikita Shilnikov) wrote in #note-2:
> Out of curiosity, did you see an example of syntax like that in any ...
Dan0042 (Daniel DeLorme)
06:42 PM Feature #17355: Using same set of names in or-patterns (pattern matching with Foo(x) | Bar(x))
Dan0042 (Daniel DeLorme) wrote in #note-1:
> Or-patterns _are_ supported, just not with variable assignment. I agree...
decuplet (Nikita Shilnikov)
04:04 PM Feature #17355: Using same set of names in or-patterns (pattern matching with Foo(x) | Bar(x))
Or-patterns _are_ supported, just not with variable assignment. I agree with the request but the title of the ticket ... Dan0042 (Daniel DeLorme)
07:22 PM Bug #17197: Some Hash methods still have arity 2 instead of 1
It doesn't have to be a deprecation warning though. But I think that in the same sense as the "method redefined" warn... Dan0042 (Daniel DeLorme)
06:36 PM Feature #17316: On memoization
marcandre (Marc-Andre Lafortune) wrote in #note-3:
> Gem is here: https://github.com/marcandre/ractor-cache
> Comme...
Dan0042 (Daniel DeLorme)
03:26 PM Feature #17326: Add Kernel#must! to the standard library
I'm also not fond of the name `must`, so I'm relieved that Matz is of the same opinion.
In the end I think that `n...
Dan0042 (Daniel DeLorme)
02:38 PM Feature #17016: Enumerable#accumulate
y.annikov (Yakov Annikov) wrote in #note-35:
> What about `#cumulate`? Does it sound natural?
I'm not as familiar...
parker (Parker Finch)
10:06 AM Revision 89774a93 (git): [DOC] Update -l option [ci skip]
`-l` option has used `chomp!` since Ruby 2.5. [Bug #12926] nobu (Nobuyoshi Nakada)
09:27 AM Revision b4e21ce2 (git): Clean temproray directory created by test-spec
nobu (Nobuyoshi Nakada)
09:27 AM Revision d92f427d (git): Clean static-ruby
nobu (Nobuyoshi Nakada)
08:33 AM Revision 6bef4942 (git): Fix rb_interned_str_* functions to not assume static strings
Fixes [Feature #13381]
When passed a `fake_str`, `register_fstring` would create new strings
with `str_new_static`. ...
byroot (Jean Boussier)
08:25 AM Feature #17356 (Open): Alignment of memory allocated through Fiddle struct's malloc
I am testing a low-level patch for **Ruby 3** that inside *gc.c* replaces:
`TRY_WITH_GC(size, mem = malloc(size)...
AndreaRibuoli (Andrea Ribuoli)
07:25 AM Feature #17307: A way to mark C extensions as thread-safe, Ractor-safe, or unsafe
Here is implementation: https://github.com/ruby/ruby/pull/3824/files
Documents will be filled soon...
ko1 (Koichi Sasada)
03:23 AM Feature #17307: A way to mark C extensions as thread-safe, Ractor-safe, or unsafe
Eregon (Benoit Daloze) wrote in #note-17:
> shyouhei (Shyouhei Urabe) wrote in #note-16:
> > This is not what I kno...
shyouhei (Shyouhei Urabe)
07:08 AM Bug #17344 (Closed): `Ractor#shareable?` confused by recursive structures
Applied in changeset commit:git|930a135524382ddd80c0608a7593b6cdfceee846.
----------
Fixed Ractor.shareable? on cros...
nobu (Nobuyoshi Nakada)
07:07 AM Revision 930a1355 (git): Fixed Ractor.shareable? on cross-recursive objects [Bug #17344]
nobu (Nobuyoshi Nakada)
06:20 AM Bug #17192 (Closed): ISeq.load_from_binary can cause BUG if binary is a rbinc-derived
Applied in changeset commit:git|555bd83a8e8b1e859f698089cbbd9ad938159a0e.
----------
Raise when loading unprovided b...
nobu (Nobuyoshi Nakada)
06:19 AM Revision 555bd83a (git): Raise when loading unprovided builtin function [Bug #17192]
nobu (Nobuyoshi Nakada)
05:53 AM Revision 73a337e2 (git): Keep references of memory-view-exported objects (#3816)
* memory_view.c: remove a reference in view->obj at rb_memory_view_release
* memory_view.c: keep references of memor...
Kenta Murata
03:46 AM Bug #17335: load gem in ruby 2.6.6 extremely slow
thanks Jeremy. I will post the issue in ruby-tk. paulHu (paul hu)
03:17 AM Bug #17335 (Third Party's Issue): load gem in ruby 2.6.6 extremely slow
paulHu (paul hu) wrote in #note-4:
> could someone please have a look at this?
From your own analysis, the proble...
jeremyevans0 (Jeremy Evans)
02:49 AM Bug #17335: load gem in ruby 2.6.6 extremely slow
could someone please have a look at this? paulHu (paul hu)
03:29 AM Feature #17353: Functional chaining operator
Off topic:
fulcanelly (Maks Kompanienko) wrote:
> ``` ruby
> def handle(requests) = requests
> |> Array.filte...
nobu (Nobuyoshi Nakada)
03:18 AM Revision 7e1dbe59 (git): [DOC] Fixed st_udpate comment [ci skip]
Clarified that the first and second arguments to the callback
function are pointers to the KEY and the VALUE, but not...
nobu (Nobuyoshi Nakada)
 

Also available in: Atom