Activity
From 11/01/2020 to 11/07/2020
11/07/2020
-
10:39 PM Bug #17300: The Fiber scheduler does not work with ConditionVariable
- @eregon thanks for this report, I will investigate it.
-
09:48 PM Bug #17112 (Closed): Resolv.getaddress fails with IPv6 link-local addresses
- Applied in changeset commit:git|2f12af42f7f26d570219b87a89294532a86a8ae2.
----------
Add support for IPv6 link local... -
09:47 PM Revision 2f12af42 (git): Add support for IPv6 link local addresses to resolv
- Now that it should work correctly, test that every address returned
by Socket.ip_address_list is resolvable.
Socket ... -
09:45 PM Bug #12780 (Closed): BigDecimal#round returns different types depending on argument
-
09:12 PM Bug #12838 (Closed): Duplication of UDP packets for DNS responses causing "no address" results for valid hostnames
- Applied in changeset commit:git|9682db065158da5fa4ec8a3bc267da45b429b92c.
----------
Remove sender/message_id pair a... - 09:12 PM Revision fcde1e0e (git): * 2020-11-08 [ci skip]
-
09:12 PM Revision 9682db06 (git): Remove sender/message_id pair after response received in resolv
- Once a response for a given DNS request has been received (which
requires a matching message id), the [sender, messag... -
02:43 PM Feature #16786: Light-weight scheduler for improved concurrency.
- I added this issue to the next dev meeting (#17299).
BTW, matz mentioned `Fiber#use_scheduler(sch)` (instance method... -
02:36 PM Feature #16786: Light-weight scheduler for improved concurrency.
- In the PR above, `Fiber.set_scheduler(value)` is used.
`Fiber.set_scheduler(value)` feels weird and inconsistent for... -
10:40 AM Feature #16786: Light-weight scheduler for improved concurrency.
- Here is the PR for the changes as discussed: https://.com/ruby/ruby/pull/3742
-
02:12 AM Feature #16786: Light-weight scheduler for improved concurrency.
- After discussion with @ioquatix, we have decided the method to specify the fiber scheduler should be `Fiber#use_sched...
-
02:39 PM Misc #17299: DevelopersMeeting20201120Japan
- * [Feature #16786] Light-weight scheduler for improved concurrency (eregon)
* @matz: The `Fiber.set_scheduler(value... -
02:09 PM Misc #17309: URI.escape being deprecated, yet there is no replacement
- Hi Jeremy, thx for the context on the inconsistencies, that's pretty useful info.
> Can you explain why "http%3A%2... -
06:12 AM Misc #17309: URI.escape being deprecated, yet there is no replacement
- Maybe @naruse can describe the reason it was deprecated over 11 years ago in commit:238b979f1789f95262a267d8df6239806...
-
01:26 AM Misc #17309 (Open): URI.escape being deprecated, yet there is no replacement
- I'm on ruby 2.7.2 . The moment I do
```ruby
uri = "http://bücher.ch"
URI.escape uri
(irb):5: warning: URI.escap... -
01:56 PM Feature #17307: A way to mark C extensions as thread-safe, Ractor-safe, or unsafe
- nobu (Nobuyoshi Nakada) wrote in #note-6:
> Not all members need to be initialized, otherwise “zero”ed.
Right, I ... -
04:59 AM Feature #17307: A way to mark C extensions as thread-safe, Ractor-safe, or unsafe
- Eregon (Benoit Daloze) wrote in #note-5:
> However, this struct design means all implementations will have to define... -
01:12 PM Revision 5823f6c2 (git): Fix indentation
-
01:05 PM Revision 640fd94e (git): Fix and remove spec testing undefined behavior
- 10:39 AM Revision 5b3572b5 (git): Update dependencies
- 10:39 AM Revision a08ee833 (git): Rename to `Fiber#set_scheduler`.
-
08:03 AM Bug #13768: SIGCHLD and Thread dead-lock problem
- @ko1 we discussed this briefly. I disagree with introducing `Thread.ignore_deadlock`.
It should be responsibility ...
11/06/2020
-
07:40 PM Bug #17272 (Third Party's Issue): Ruby 2.7.2 crash report
- 05:55 PM Revision 656d4cdd (git): * 2020-11-07 [ci skip]
-
05:55 PM Revision f234f274 (git): Add docs for some C extension GC APIs
-
04:46 PM Feature #17291: Optimize __send__ call
- The new benchmark result is below:
```
# Iteration per second (i/s)
| |compare-ruby|built-... -
04:45 PM Feature #17291 (Assigned): Optimize __send__ call
-
04:45 PM Feature #17291: Optimize __send__ call
- shyouhei (Shyouhei Urabe) wrote in #note-4:
> It seems this s memory?
>
> ```ruby
> `nproc --all`.to_i.times... -
12:34 PM Feature #17307: A way to mark C extensions as thread-safe, Ractor-safe, or unsafe
- @ko1 discussed with @matz and they concluded with this interface:
```c
Init_foo()
{
RB_EXT_CONFIG({
.racto... -
10:19 AM Bug #17308 (Closed): RubyVM::InstructionSequence.compile_file doesn't use the same default encoding than Kernel.load
```ruby
def test_compile_file_encoding
Tempfile.create(%w"test_iseq .rb") do |f|
f.puts '{ "Þ" => "T...-
08:42 AM Revision 037803e0 (git): Added dependency for net-protocol
-
07:14 AM Revision 7718e958 (git): a part of T_DATA object can Ractor#send
- T_DATA objects can refer unshareable objects and they should be
copied recursively, however there is no way to replac... -
04:28 AM Revision 4948982b (git): Update TypeProf to 0.4.2
11/05/2020
-
08:28 PM Revision 6d17c9fa (git): gc_rest can change the total pages, so we need to do that first
-
08:27 PM Revision d8da5c19 (git): add asserts to find crash
-
07:13 PM Revision ab5f2fa4 (git): Refactor verification method
- Combine everything in to one C function
-
04:51 PM Revision 68a3a2d9 (git): take VM lock when mutating the heap
- 03:12 PM Revision 193edbde (git): * 2020-11-06 [ci skip]
-
03:11 PM Revision 8014ed9b (git): Update RBS & TypeProf (#3732)
- * Bundle rbs 0.16.0
* Bundle typeprof 0.4.1 -
02:15 PM Feature #17307: A way to mark C extensions as thread-safe, Ractor-safe, or unsafe
- An advantage of the symbol approach is it's automatically backward compatible.
Otherwise, we need to design a way to... -
02:09 PM Feature #17307: A way to mark C extensions as thread-safe, Ractor-safe, or unsafe
- From discussing with @ko1,
another way to mark would be to call a function in `Init_foo`, like:
```c
static VALUE foo... -
11:26 AM Feature #17307: A way to mark C extensions as thread-safe, Ractor-safe, or unsafe
- Above I suggested to mark a whole C extension as thread-safe/ractor-safe/unsafe, but we could potentially also mark o...
-
11:10 AM Feature #17307 (Closed): A way to mark C extensions as thread-safe, Ractor-safe, or unsafe
- I would like to design a way to mark C extensions as thread-safe, Ractor-safe, or unsafe (= needs process-global lock...
-
12:45 PM Bug #17306: TestGCCompact#test_ast_compacts test failures
- There is probably more failures. Disabling the $SUBJECT test case, another failing test is `TestGCCompact#test_compac...
-
08:53 AM Bug #17306: TestGCCompact#test_ast_compacts test failures
- Please note that previously, I was using 02e17d473a and that worked without issues.
-
08:38 AM Bug #17306 (Closed): TestGCCompact#test_ast_compacts test failures
- Trying to build recent master, I randomly observe following issue:
~~~
[ 8682/20873] TestGCCompact#test_ast_compa... -
11:54 AM Revision 3407b7d8 (git): Revert "Prefer #send over #__send__ when it is clear there is no possible conflict"
- This reverts commit 4dba0c1a8e3cc08664872e637099c4e7d58d24d3.
Matz's comment is "send is not deprecated. __send__ is... -
11:51 AM Revision b29fe5eb (git): Add description __send__ is safer
-
11:21 AM Revision b2ca183c (git): Promote un.rb to the default gems. It's preparation for 3.0.0-preview2.
-
11:12 AM Misc #17299: DevelopersMeeting20201120Japan
- * [Feature #17307] A way to mark C extensions as thread-safe, Ractor-safe, or unsafe (eregon)
* I'd like feedback o... -
10:38 AM Misc #17299: DevelopersMeeting20201120Japan
- * [Feature #17100] Ractor naming (eregon)
* What should be the method name to send a message? `send` seems problem... -
10:44 AM Feature #17208: Add `Set#compact` and `Set#compact!` methods
- bozhidar (Bozhidar Batsov) wrote in #note-4:
> I like the proposal. I also wonder if we shouldn't be able to able to... -
09:41 AM Feature #17208: Add `Set#compact` and `Set#compact!` methods
- I like the proposal. I also wonder if we shouldn't be able to able to reject nils at Set creation time, as nil rarely...
-
10:23 AM Revision 4dba0c1a (git): Prefer #send over #__send__ when it is clear there is no possible conflict
- * Reverts part of 3198e7abd70bd2af977f2bb6c967e9df8f91adb0.
* If the rule is #send should be deprecated, that should ... -
07:57 AM Bug #17289: Time#strftime occurs Segmentation Fault on ruby-2.7.2p137
- FYI:
I downgraded ruby to v2.7.1.
But in our environment, this error occurred with the same stacktrace. -
07:11 AM Feature #17127: Some TrueClass methods are faster if implemented in Ruby
- recreate PR for merge `.rb` files
https://.com/ruby/ruby/pull/3737
11/04/2020
- 10:52 PM Revision 2aa9a50d (git): [ruby/ostruct] Update version
- 10:52 PM Revision 015b0238 (git): [ruby/ostruct] Restore `ostruct` doc
- 10:52 PM Revision 6f24be85 (git): Revert "Make `marshal_load` public"
- This reverts commit ee7cc6ac35cfb056b3946b1dcd6d4d5a140ccacf.
I'm not sure I agree with the spec, but I just tweaked... - 10:41 PM Revision 9232f918 (git): * 2020-11-05 [ci skip]
-
10:40 PM Revision 70680fee (git): Simplify setting instance variables
- Since T_OBJECT objects come to life as embedded objects, that means that
ROBJECT_NUMIV will always return a _minimum_... -
10:40 PM Revision a8581ce6 (git): ensure T_OBJECT objects have internals initialized
-
11:09 AM Feature #17298: Ractor's basket communication APIs
- ko1 (Koichi Sasada) wrote in #note-16:
> Eregon (Benoit Daloze) wrote in #note-15:
> > `Ractor#receive_and_sender` ... -
10:53 AM Feature #17291: Optimize __send__ call
- Yeah I don't think a warning is good enough to prevent people overriding it.
It should be an exception if the goal is... -
03:29 AM Feature #17291: Optimize __send__ call
- It seems this s memory?
```ruby
`nproc --all`.to_i.times.map do |i|
Ractor.new :"#{i}_0" do |sym|
while tr... -
12:17 AM Feature #17291: Optimize __send__ call
- I found that rspec-core redefines `__send__`.
https://.com/rspec/rspec-mocks/blob/461d7f6f7f688f69154e410dcd... -
10:46 AM Feature #16043: `$LOAD_PATH.resolve_feature_path` should not raise
- Agreed, I added it to the next dev-meeting agenda (#17299)
-
10:46 AM Misc #17299: DevelopersMeeting20201120Japan
- * [Feature #16043] `$LOAD_PATH.resolve_feature_path` should not raise (eregon)
* Seems good to me, OK to merge? -
12:28 AM Misc #17299: DevelopersMeeting20201120Japan
- * [Feature #17291] Optimize `__send__` call
* Improve the performance of `__send__` call by the following ways
... -
09:45 AM Revision 704fb0b8 (git): Suppress a warning
- ```
transient_heap.c: In function ‘transient_heap_allocatable_header’:
transient_heap.c:347:37: warning: comparison o... -
08:07 AM Revision d42c68e9 (git): Bundle TypeProf 0.4.0
-
04:30 AM Revision f211f9cd (git): use https
-
03:11 AM Revision ae53fda0 (git): .travis.yml: delete x86_64
- Is already covered by Actions.
-
03:11 AM Revision 4c670096 (git): .travis.yml: delete sanitizer tests
- They were not working.
-
03:11 AM Revision 8eca97c0 (git): ./workflows/baseruby.yml: add
- Translate a part of .travis.yml into a Actions workflow.
11/03/2020
-
10:09 PM Revision bf1047c7 (git): Update NEWS for Array methods change
-
10:02 PM Bug #6087 (Closed): How should inherited methods deal with return values of their own subclass?
- Applied in changeset commit:git|2a294d499bf03211d02695f613f784a05943ea35.
----------
Make Array methods return Array... -
10:01 PM Revision 2a294d49 (git): Make Array methods return Array instances instead of subclass instances
- This changes the following methods to return Array instances instead
of subclass instances:
* Array#drop
* Array#dro... -
09:14 PM Feature #17298: Ractor's basket communication APIs
- Eregon (Benoit Daloze) wrote in #note-15:
> `Ractor#receive_and_sender` (aka `recvfrom` but with a proper name) and `... -
08:20 PM Feature #17298: Ractor's basket communication APIs
- ko1 (Koichi Sasada) wrote in #note-14:
> Beside the performance, I want to use it for the features:
>
> > Ractor:... -
04:35 PM Feature #17298: Ractor's basket communication APIs
- Beside the performance, I want to use it for the features:
> Ractor::Basket#sender returns the sending ractor.
> ... -
08:25 PM Misc #17299: DevelopersMeeting20201120Japan
- * [Bug #17197] Yielding arity for `Hash` methods (marcandre)
* `Hash#each` with arity 1: confirmed?
* `#select`... -
10:13 AM Misc #17299: DevelopersMeeting20201120Japan
- * [Feature #13381] Expose rb_fstring and its family to C extensions (byroot)
* The feature itself was approved, ho... - 03:55 PM Revision 7d6c72dc (git): * 2020-11-04 [ci skip]
-
03:51 PM Revision 70063757 (git): Rightward assignment is replaced by one-line pattern matching
-
02:47 PM Bug #17305 (Closed): rb_rescue2() seems to loop forever if given a non-module for rescued exceptions on <= 2.6.6
- Specifically,
```ruby
it "raises TypeError if one of the passed exceptions is not a Module" do
-> {
... -
02:32 PM Revision c3e2dd07 (git): test/ruby/test_gc_compact.rb: suppress "assigned but unused variable"
-
01:25 AM Revision fa748401 (git): Add links to the tickets [ci skip]
-
12:48 AM Revision 4f7d27a2 (git): Fix typo in the auto compact announcement [ci-skip]
- I'm sorry, but I think there is a typo here.
This fix will help folks who are trying to translate this announcement ...
11/02/2020
-
11:57 PM Bug #17304 (Feedback): Ruby stuck calling sched_yield on fork
- Can you reproduce this issue with the master branch, or at least Ruby 2.6 or 2.7? The code you posted from Ruby 2.5 ...
-
12:51 PM Bug #17304 (Closed): Ruby stuck calling sched_yield on fork
- We have been encountering intermittent bug when using fork - the interpreter process gets stuck in a loop that keeps ...
-
10:43 PM Feature #17176 (Closed): GC.auto_compact / GC.auto_compact=(flag)
- Applied in changeset commit:git|67b2c21c327c96d80b8a0fe02a96d417e85293e8.
----------
Add `GC.auto_compact= true/fals... - 10:43 PM Revision 46f3b68f (git): * 2020-11-03 [ci skip]
-
10:42 PM Revision 67b2c21c (git): Add `GC.auto_compact= true/false` and `GC.auto_compact`
- * `GC.auto_compact=`, `GC.auto_compact` can be used to control when
compaction runs. Setting `auto_compact=` to tr... -
08:45 PM Misc #17299: DevelopersMeeting20201120Japan
- * [Feature #17143] Improve support for warning categories (jeremyevans0)
* I researched the Python warning categor... -
11:15 AM Misc #17299: DevelopersMeeting20201120Japan
- * [Feature #17303] Make webrick to bundled gems or remove from stdlib
* Any objection? -
08:39 PM Feature #17303: Remove webrick from stdlib
- It seems like the more fundamental thing we need is more maintainers for WEBrick.
Even if it's removed from stdlib, ... -
08:37 PM Feature #17303: Remove webrick from stdlib
- Doesn't RubyGems depend on WEBrick (notably for `gem server`)?
It seems also RDoc depends on it.
And I know `ruby -... -
05:04 PM Feature #17303: Remove webrick from stdlib
- I am in favor of this change. I prefer removing webrick from stdlib, as otherwise we are still likely to be shipping...
-
11:13 AM Feature #17303 (Closed): Remove webrick from stdlib
- I propose to move webrick to bundled gems or remove it from stdlib of ruby.
We have several vulnerability issues i... -
08:23 PM Feature #17298: Ractor's basket communication APIs
- ko1 (Koichi Sasada) wrote in #note-10:
> I rewrote copying logic without marshal protocol (https://.com/ruby/r... -
08:17 PM Feature #17298: Ractor's basket communication APIs
- marcandre (Marc-Andre Lafortune) wrote in #note-11:
> The use-case seems unusual:
> - Need to send very big object ... -
07:45 PM Feature #17298: Ractor's basket communication APIs
- The use-case seems unusual:
- Need to send very big object to a Ractor
- That object can not be deep-frozen for som... -
05:41 AM Feature #17298: Ractor's basket communication APIs
- I rewrote copying logic without marshal protocol (https://.com/ruby/ruby/pull/3728).
Additional benchmark:
... -
02:31 PM Feature #16604: Set default for Encoding.default_external to UTF-8 on Windows
- @usa @nobu @naruse Could you please take a look at this request? I pushed an updated here: https://.com/r...
-
01:49 PM Revision 79b24226 (git): ripper: Invalid pragma value warning
-
09:24 AM Revision 539b8907 (git): Compare boolean values for parser pragma locale-insensitively
-
08:31 AM Revision bdcfa70b (git): strip trailing spaces [ci skip]
-
07:58 AM Bug #17302: The TracePoint API does not allow setting multiple line traces within the same method (ISEQ)
- [email protected] (Liran Haimovitch) wrote in #note-1:
> [email protected] (Liran Haimovitch) wrote:
> > When...
11/01/2020
-
06:31 PM Revision 5fefb532 (git): Copy for Ractor.send() without marshal.
- Now copying objects do not need marshal protocol.
-
05:25 PM Bug #17301 (Third Party's Issue): /sbin/yast2: line 468: 3147 Aborted
- This bug occurs inside a 3rd party C extension. From the backtrace:
```
/lib64/libc.so.6(0x7fde5f1185a0) [0x7fde... -
08:37 AM Bug #17301 (Third Party's Issue): /sbin/yast2: line 468: 3147 Aborted
- Starting the software administration fails with a core dump.
Ruby version
ruby 2.5.8p224 (2020-03-31 revision 678... - 04:37 PM Revision 1581da99 (git): * 2020-11-02 [ci skip]
-
04:37 PM Revision db7a3b63 (git): suppport Ractor.send(move: true) for more deta
- This allows to move more data types.
-
11:54 AM Bug #17302: The TracePoint API does not allow setting multiple line traces within the same method (ISEQ)
- [email protected] (Liran Haimovitch) wrote:
> When setting a second line tracepoint within a method the first one... -
10:19 AM Bug #17302 (Closed): The TracePoint API does not allow setting multiple line traces within the same method (ISEQ)
- While setting a tracepoint for a line for the second time within a method, the first one turns off.
I believe this... -
10:00 AM Revision 963359a7 (git): Use the suppress_warning helper instead of doing it manually
-
09:19 AM Revision 7282f311 (git): Suppress "One-line pattern matching is experimental" warning
-
08:37 AM Revision e0e2492c (git): Fix Rubyspec (ruby-2.7) failures
- https://.com/ruby/ruby/runs/1337845174
-
07:19 AM Revision e03e1982 (git): Change NODE layout for pattern matching
- I prefer pconst to be the first element of NODE.
Before:
| ARYPTN | FNDPTN | HSHPTN
---+--------+-----... - 05:12 AM Revision 305c79af (git): ext/socket/rubysocket.h: avoid the conflict of T_DATA definition in AIX
-
04:55 AM Revision 0e33028d (git): use one-line pattern matching for warning tests
- 04:36 AM Revision b1e7c3a3 (git): * 2020-11-01 [ci skip]
-
04:33 AM Revision b6015324 (git): Pattern matching is no longer experimental
Also available in: Atom