Activity
From 12/26/2020 to 01/01/2021
01/01/2021
-
11:23 PM Feature #17500: Move RubyVM::* to ExperimentalFeatures
- > it is meant as experimental unstable MRI-specific API
I think it means only MRI-specific API, while some of it m... -
12:56 PM Feature #17500: Move RubyVM::* to ExperimentalFeatures
- Migration plan:
* In Ruby 3.1: define `ExperimentalFeatures`, add the same constants & methods as `RubyVM` under i... -
12:43 PM Feature #17500 (Rejected): Move RubyVM::* to ExperimentalFeatures
- `RubyVM` is a trap:
* Users will think from the name it's some official blessed API when it is meant as experimental... -
10:34 PM Feature #17496: Add constant Math::TAU
- I also don't understand why `Math::TAU` needs to be added to Ruby, even though I am familiar with the manifesto and t...
-
10:14 PM Feature #17496: Add constant Math::TAU
- @jzakiya you just need to comment on https://bugs.ruby-lang.org/issues/17480 then, copying the format of the other co...
-
10:12 PM Feature #17496 (Open): Add constant Math::TAU
- Personally, I don't think that anything significant has changed in the last three years this area. And the compariso...
-
09:48 PM Feature #17496: Add constant Math::TAU
- Well since I don't have the power to re``Open`` it, will you then see that it is?
Otherwise, this is just going ar... -
09:42 PM Feature #17496: Add constant Math::TAU
- > I request that whoever has the power to request he review this issue again now do that too.
That's done by addin... -
09:41 PM Feature #17496: Add constant Math::TAU
- OK, well then I request this issue be reclassified as ``Open``, by whoever has the power to do that.
Also, as it s... -
09:30 PM Feature #17496: Add constant Math::TAU
- Ok well this issue is currently marked rejected. You need to convince someone to change that first. Then you need to ...
-
09:27 PM Feature #17496: Add constant Math::TAU
- > I don't think this manifesto helps itself by conflating a serious argument with a lot of silliness and jokes. You c...
-
09:03 PM Feature #17496: Add constant Math::TAU
- I don't think this manifesto helps itself by conflating a serious argument with a lot of silliness and jokes. You can...
-
08:58 PM Feature #17496: Add constant Math::TAU
- FYI.
Yesterday (the last day of 2020) before I created this issue to include ``TAU`` in ``Ruby``, literally second... -
05:04 PM Feature #17496: Add constant Math::TAU
- Almost 25 years ago I started my computer career with 3D programming. Very low level to that times, but using a lot o...
-
04:42 PM Feature #17496: Add constant Math::TAU
- This is a very serious proposal, and ``TAU`` is a very serious concept - the unit turn.
As Michael Hartl raises, t... -
03:54 PM Feature #17496: Add constant Math::TAU
- It's difficult to work out if this is a genuine proposal or a meme.
Surely Jabari is joking when they say 'you mus... -
03:46 PM Feature #17496: Add constant Math::TAU
- To help answer this question,
> IMO, the sufficient condition is that it appears in some major textbooks for schoo... -
06:46 AM Feature #17496: Add constant Math::TAU
- > So, I want to know how many mathematicians accept such tau. Do you know how many academic papers that uses tau as t...
-
02:41 AM Feature #17496: Add constant Math::TAU
- At least Julia doesn't have `tau` in its core now. There is Tau.jl, but it isn't a standard library. Following Juli...
-
02:14 AM Feature #17496: Add constant Math::TAU
- jzakiya (Jabari Zakiya) wrote in #note-4:
> Well, Python3 added it, so when do you (empirically?, subjectively?) est... -
03:13 PM Feature #15921: R-assign (rightward-assignment) operator
- dgutov (Dmitry Gutov) wrote in #note-25:
> It's not like the new syntax makes anything possible that a simple assign... -
03:03 PM Feature #15921: R-assign (rightward-assignment) operator
- This is not as bad as the "pipeline operator" (which didn't do what its name said), but still, why add this?
It's ... -
12:50 PM Misc #17480: DevelopersMeeting20210113Japan
- * [Feature #17500] Move RubyVM::* to ExperimentalFeatures (eregon)
* I think this is the best solution, for everyo... -
12:18 PM Misc #17480: DevelopersMeeting20210113Japan
- * [Misc #17499] Documentation backporting (zverok)
* Address systematic lack of docs at docs.ruby-lang.org
* [Bug #... -
12:48 PM Feature #17490: Rename RubyVM::MJIT to RubyVM::JIT
- FYI, I filed #17500 regarding RubyVM.
I think `ExperimentalFeatures::JIT` would be fine if we accept that issue, and... -
12:20 PM Feature #17490: Rename RubyVM::MJIT to RubyVM::JIT
- k0kubun (Takashi Kokubun) wrote in #note-4:
> Didn't you clarify it by yourself at [Feature #15743]? The person who ... -
12:09 PM Misc #17499 (Closed): Documentation backporting
- I recently noticed that the documentation created after `x.y` release (even 1 day after) never reflected at `docs.rub...
-
11:53 AM Feature #17473: Make Pathname to embedded class of Ruby
- hsbt (Hiroshi SHIBATA) wrote in #note-9:
> I'm not sure how embedded pure-Ruby implementation to core classes. The a... -
07:34 AM Bug #17494: ruby is hanged when using activesupport + rspec + rspec-parameterized
- Looks like this behavior has been triggered by https://github.com/ruby/ruby/commit/b9007b6c548f91e88fd3f2ffa23de74043...
-
06:22 AM Feature #17498 (Closed): Improve performance some Float methods
- Improve performance some Float methods(write in Ruby)
benchmark:
```yml
prelude: |
flo = 4.2
benchmark:
... -
05:50 AM Bug #17495 (Closed): Make args info for RubyVM::AST to available on endless method without parens
- Applied in changeset commit:git|ab32e98f984318f1074c6e39b8f2f04266a1224b.
----------
Added AST assertions for method...
12/31/2020
-
10:47 PM Feature #17496: Add constant Math::TAU
- From that post 3 years ago.
> For the time being, use math-tau gem.
> I will add it after (and only after) it became... -
10:18 PM Feature #17496: Add constant Math::TAU
- Relevant context is probably Matz's reason for rejection and criteria for reconsidering.
https://bugs.ruby-lang.or... -
10:16 PM Feature #17496: Add constant Math::TAU
- Well, I guess this regresses to a philosophical|religious issue, it's obviously not technical. :-(
But how can addin... -
09:13 PM Feature #17496 (Rejected): Add constant Math::TAU
- jzakiya (Jabari Zakiya) wrote:
> Excuse me if this has been brought up before.
It has been brought up before, by ... -
07:27 PM Feature #17496 (Open): Add constant Math::TAU
- Excuse me if this has been brought up before.
This is a simple proposal to add the math constant ``Math::TAU`` = 2... -
09:48 PM Bug #17497 (Closed): Ractor performance issue
- There's a strange performance issue with Ractor (at least on MacOS, didn't run on other OS).
I ran a benchmark doi... -
04:18 PM Bug #17495 (Closed): Make args info for RubyVM::AST to available on endless method without parens
Problem
===
Arguments information is missing for endless method without parens.
For example:
```ruby
# ok
...-
02:18 PM Bug #17491: `./configure' unsuccessful on Android NDK cross-build
- Thanks for the comment.
A patch is attached to solve the problem. -
08:37 AM Bug #17491 (Feedback): `./configure' unsuccessful on Android NDK cross-build
- Currently, Ruby does not support Android officially. A patch is welcome.
I'm experimentally maintaining a CI on An... -
11:47 AM Bug #17494 (Closed): ruby is hanged when using activesupport + rspec + rspec-parameterized
- # Example code
## Gemfile
```ruby
# frozen_string_literal: true
source "https://rubygems.org"
git_source(:gi... -
09:22 AM Feature #17473: Make Pathname to embedded class of Ruby
- hsbt (Hiroshi SHIBATA) wrote in #note-9:
> I'm not sure how embedded pure-Ruby implementation to core classes. The... -
12:01 AM Feature #17473: Make Pathname to embedded class of Ruby
- >Then, we could share more of Pathname between Ruby implementations, and avoid maintaining both a Ruby and C version....
-
08:05 AM Feature #17490: Rename RubyVM::MJIT to RubyVM::JIT
- I'm +1 to rename it.
-
07:47 AM Feature #17490: Rename RubyVM::MJIT to RubyVM::JIT
- > If we'd consider RubyVM is CRuby-specific, then it seems fine.
> However, that's rather unclear, and then the quest... -
06:40 AM Bug #17358: Backport 1ca9facab6c85264168b4c0a18c24f489cabcc9f
- ruby_2_7 5cbba4d6005a03914fc47e7a65ae5b6ef76c8e29 merged revision(s) 1ca9facab6c85264168b4c0a18c24f489cabcc9f.
-
06:39 AM Bug #17275: Please backport 8b0dc77a621ded75f72486c33f55404ce73f00d7
- ruby_2_7 9eff912943a71745087ea4ae892774e33bd2e8ca merged revision(s) 8b0dc77a621ded75f72486c33f55404ce73f00d7.
-
06:37 AM Bug #15178: Wrong paramaters passing to pthread_setname_np(3)
- ruby_2_7 16930b254b4e5397759d6b42845b495041b71321 merged revision(s) be9dbe1c3eb4bb4cab0bdc42a91ef425bb1eaddd.
-
06:32 AM Feature #16378: Support leading arguments together with ...
- Thank you for ping me. I backported f8b4340f into ruby_2_7 at 27fca66207f2c35f2f44f6a7cbbe6fd153546082.
-
06:30 AM Bug #17493 (Closed): Calling Reline::Unicode.calculate_width appears to lock up when called from emacs or if output is redirected
- In https://github.com/ruby/reline/pull/224 there is a test program
```
require "reline"
p Reline::Unicode.calc... -
06:05 AM Bug #17488: Regression in Ruby 3: Hash#key? is non-deterministic when argument uses DelegateClass
- shyouhei (Shyouhei Urabe) wrote in #note-4:
> Hello, I cannot reproduce this on any of `ruby 3.0.0p0 (2020-12-25 rev... -
03:13 AM Bug #17488 (Closed): Regression in Ruby 3: Hash#key? is non-deterministic when argument uses DelegateClass
- Applied in changeset commit:git|20a8425aa0f9a947e72b06cbd3a2afe9674dd18f.
----------
Make any hash values fixable [B... -
01:14 AM Bug #17405: irb ---nomultiline gets exception when output contains some non-ascii characters
- Sorry not to have checked back recently. The patch mentioned above works great for me.
I doubt if this is required ...
12/30/2020
-
11:59 PM Bug #17492 (Closed): Breakpoints in debug.rb only work when program invoked with absolute filename
- When using the debugger, as in ruby -r debug, it seems that breakpoints sometimes are honoured and sometimes not. I...
-
11:46 PM Bug #17486: Build fails on darwin due to libtool being removed
- I tried the following on a Macbook Pro with Catalina and the error was still present.
```
$ sudo rm -rf /Library/... -
11:46 PM Bug #17486: Build fails on darwin due to libtool being removed
- FYI: https://github.com/rbenv/ruby-build/issues/1505#issuecomment-752274233
-
11:28 PM Bug #15499: Breaking behavior on ruby 2.6: rb_thread_call_without_gvl doesn't invoke unblock_function when used on the main thread
- Thanks for the followup on this issue. However, was the fix ever released?
I can still reproduce this issue on the... -
10:59 PM Feature #17490: Rename RubyVM::MJIT to RubyVM::JIT
- Eregon (Benoit Daloze) wrote in #note-2:
> If we'd consider RubyVM is CRuby-specific, then it seems fine.
Yes.
comm... -
03:04 PM Feature #17490: Rename RubyVM::MJIT to RubyVM::JIT
- If we'd consider RubyVM is CRuby-specific, then it seems fine.
However, that's rather unclear, and then the question... -
05:45 AM Feature #17490 (Closed): Rename RubyVM::MJIT to RubyVM::JIT
- ## Background
These days it's sometimes said that CRuby may add another lightweight JIT. Leaving `RubyVM::MJIT` unde... -
09:24 PM Bug #17488: Regression in Ruby 3: Hash#key? is non-deterministic when argument uses DelegateClass
- I have confirmed this too in `ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux]` built with `gcc (Debian 8...
-
04:18 PM Bug #17488: Regression in Ruby 3: Hash#key? is non-deterministic when argument uses DelegateClass
- On my mac pro (High Sierra) too:
```
$ clang --version
Apple LLVM version 10.0.0 (clang-1000.11.45.2)
Target: x... -
04:14 PM Bug #17488: Regression in Ruby 3: Hash#key? is non-deterministic when argument uses DelegateClass
- shyouhei (Shyouhei Urabe) wrote in #note-4:
> Also I want to know your `clang --version`.
```
$ clang --version
... -
03:42 PM Bug #17488 (Feedback): Regression in Ruby 3: Hash#key? is non-deterministic when argument uses DelegateClass
- Hello, I cannot reproduce this on any of `ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux]` compiled usin...
-
08:38 PM Feature #17475 (Rejected): Implement arguments forwarding for blocks
-
06:46 PM Feature #17475: Implement arguments forwarding for blocks
- Found it, duplicate of rejected #16605. Sorry for the noise, can be closed/rejected.
-
08:26 PM Bug #17491 (Closed): `./configure' unsuccessful on Android NDK cross-build
- We have no such command as `getprop` in our Android NDK cross-build environment, and so `./configure` says
```
chec... -
03:10 PM Feature #17473: Make Pathname to embedded class of Ruby
- shyouhei (Shyouhei Urabe) wrote in #note-7:
> JFYI pathname was born as a pure-ruby library, then was eventually tra... -
03:05 PM Feature #17473: Make Pathname to embedded class of Ruby
- JFYI pathname was born as a pure-ruby library, then was eventually translated into C (in commit:4bf3cb5ba9c0242bd5a6d...
-
07:42 AM Feature #17316: On memoization
- IMO there should be an operator in the language directly to keep it more dry.
```ruby
def my_method # current... -
05:49 AM Misc #17480: DevelopersMeeting20210113Japan
- * [Feature #16806] `Struct#initialize` accepts keyword arguments too by default (k0kubun)
* Is there any update on ...
12/29/2020
-
08:49 PM Feature #16746: Endless method definition
- I haven't seen it mentioned in the comments so I just wanted to point out that the regular method-definition syntax d...
-
08:34 PM Feature #17472: HashWithIndifferentAccess like Hash extension
- I believe that `HashWithIndifferentAccess` is one of the very false ideas in Rails -- and that as of today, it is a m...
-
03:23 PM Feature #17471: send_if method for improved conditional chaining
- osyo (manga osyo) wrote in #note-1:
```ruby
puts number.tap { break _1 * 2 if _1 > 5 }.send(:-, 1)
puts %w(Merry C... -
09:12 AM Bug #17477: Ractor and pp incompatibility
- marcandre (Marc-Andre Lafortune) wrote in #note-4:
> I wrote a similar opinion to Martin Dürst's in #17420. I propos... -
06:56 AM Feature #17187: Add connect_timeout to TCPSocket
- @PhobosK
Many thanks for reporting the issue!
I merged your patch. -
04:43 AM Bug #17488: Regression in Ruby 3: Hash#key? is non-deterministic when argument uses DelegateClass
- Seems commit:9e6e39c3512f7a962c44dc3729c98a0f8be90341 by bisect.
-
03:54 AM Bug #17486 (Feedback): Build fails on darwin due to libtool being removed
-
03:50 AM Bug #17486: Build fails on darwin due to libtool being removed
- I've heard that similar error used to occur in earlier versions too,
and `sudo xcode-select -s /Library/Developer/Co...
12/28/2020
-
10:21 PM Bug #17487 (Closed): rb_gc segfaults on ARM64 platforms
- Thank you for confirming. I will close this as the issue appears to have already been fixed.
-
10:12 PM Bug #17487: rb_gc segfaults on ARM64 platforms
- I cannot reproduce with 2.6.6 or 2.7.2, using those the call to rb_gc doesn't cause a segfault.
-
07:51 PM Bug #17487 (Feedback): rb_gc segfaults on ARM64 platforms
- Both Ruby 2.0 and 2.3 are out of support. Can you reproduce this on Ruby 2.6, 2.7, or 3.0?
-
07:48 PM Bug #17487 (Closed): rb_gc segfaults on ARM64 platforms
- I have a ruby native extension, and I see a segfault when calling rb_gc, so far I have seen this happening on arm64 p...
-
09:27 PM Bug #17420: Unsafe mutation of $" when doing non-RubyGems require in Ractor
- (coming to this bug from https://bugs.ruby-lang.org/issues/17477)
I think it's fine to force `require` to be calle... -
11:58 AM Bug #17420: Unsafe mutation of $" when doing non-RubyGems require in Ractor
- That sounds like a good way to fix it.
marcandre (Marc-Andre Lafortune) wrote in #note-3:
> the main thread could... -
08:43 AM Bug #17420: Unsafe mutation of $" when doing non-RubyGems require in Ractor
- I agree that it would be best to make require work everywhere, but always be executed in the main Reactor. That would...
-
09:23 PM Bug #17489 (Closed): Ractor segfaults
- I was able to boil it down to this script:
```ruby
require 'bundler/inline'
gemfile do
source 'https://ruby... -
09:12 PM Bug #17488: Regression in Ruby 3: Hash#key? is non-deterministic when argument uses DelegateClass
- Bug requires more than 8 keys (as in the example)
-
09:08 PM Bug #17488: Regression in Ruby 3: Hash#key? is non-deterministic when argument uses DelegateClass
- I didn't run a git bisect, but this was the case already in `ruby 3.0.0preview1`
-
08:52 PM Bug #17488 (Closed): Regression in Ruby 3: Hash#key? is non-deterministic when argument uses DelegateClass
- Upon upgrading a library to run on Ruby 3.0, I have observed that `Hash#key?` has non-deterministic behavior when the...
-
08:09 PM Feature #17411: Allow expressions in pattern matching
- mame (Yusuke Endoh) wrote in #note-8:
> ktsj (Kazuki Tsujimoto) wrote in #note-7:
> > If there were a obvious reaso... -
05:20 PM Feature #17411: Allow expressions in pattern matching
- ktsj (Kazuki Tsujimoto) wrote in #note-7:
> If there were a obvious reason, I'd like to know that.
I can think of... -
04:18 PM Feature #17411: Allow expressions in pattern matching
- I am basically positive.
(I've had the same idea. :) https://speakerdeck.com/k_tsj/pattern-matching-new-feature-in-r... -
07:15 PM Bug #17486 (Closed): Build fails on darwin due to libtool being removed
- The following commit is causing builds in master and for the recently released Ruby 3.0.0 to fail on darwin. This was...
-
06:30 PM Feature #17474: Interpreting constants at compile time
- Your example:
```
def m(i)
$("foo#{i}")
end
```
**_would not_** work because it doesn't evaluate at parse... -
04:52 PM Feature #17474: Interpreting constants at compile time
- > Agree but... can a JIT optimize `Set["x","y","z"].include?(v)` so that the Set is only allocated once?
Absolutel... -
04:48 PM Feature #17474: Interpreting constants at compile time
- Eregon (Benoit Daloze) wrote in #note-13:
> Doesn't `private_constant` (no arguments) work? (if not, sounds worth ad... -
12:32 PM Feature #17474: Interpreting constants at compile time
- marcandre (Marc-Andre Lafortune) wrote in #note-9:
> Moreover, constants would ideally use `private_constant`, makin... -
04:57 AM Feature #17474: Interpreting constants at compile time
- Regarding "once" syntax, I've had an idea to use `BEGIN`.
```ruby
BEGIN {/#{1+2}/} #equivalen... -
02:22 AM Feature #17474: Interpreting constants at compile time
- Some time ago I thought of basically the same idea, but in the end decided that constants were the appropriate way to...
-
04:42 PM Bug #15857: <=> の右辺が <=> を実装していない場合の振る舞い
- In doing a bit of maintenance work for the ruby-units gem this issue came up. I think there may be some additional m...
-
02:53 PM Feature #17187: Add connect_timeout to TCPSocket
- You forgot to add the new parameter *connect_timeout* to the return statement of the function **socks_init** in socks...
-
02:47 PM Feature #17479: Enable to get "--backtrace-limit" value by "$-B"
- I am making a library that makes error messages easier to read. Therefore, instead of using `Exception#full_message`,...
-
02:05 PM Bug #17484: pry & byebug gems not working properly with Ruby 3.0.0
- It works perfectly for me. Did you `gem install pry-byebug`?
-
01:41 PM Bug #17484 (Closed): pry & byebug gems not working properly with Ruby 3.0.0
- When I try to use pry with version 3, it won't allow me. For example when I type in the command next in the terminal...
-
02:04 PM Feature #17485 (Closed): Keyword argument for timezone in Time.new
- Currently, `Time.at` and `Time.now` accept a timezone as a keyword argument, but not `Time.new`.
This means minor ar... -
12:38 PM Feature #17473: Make Pathname to embedded class of Ruby
- I thought about FileUtils too, but it's required lazily for these two methods.
So I think it might be fine to move o... -
12:30 AM Feature #17473: Make Pathname to embedded class of Ruby
- Dan0042 (Daniel DeLorme) wrote in #note-4:
> Isn't Pathname dependent on FileUtils though?
Yes. It uses only `Fil... -
12:35 PM Feature #16378: Support leading arguments together with ...
- Agreed it should be in 2.7 (well, I've said since the beginning of this issue :D).
Right now, I consider `...` non... -
11:53 AM Feature #17472: HashWithIndifferentAccess like Hash extension
- naruse (Yui NARUSE) wrote in #note-11:
> I think it will not fast.
Before we start considering performance trade-... -
11:24 AM Feature #17472: HashWithIndifferentAccess like Hash extension
- byroot (Jean Boussier) wrote in #note-10:
> > A feature to implement Rails's ActiveSupport::HashWithIndifferentAcces... -
11:22 AM Feature #17472: HashWithIndifferentAccess like Hash extension
- > A feature to implement Rails's ActiveSupport::HashWithIndifferentAccess
Would it be possible to have a "hook" ak... -
03:41 AM Feature #17472: HashWithIndifferentAccess like Hash extension
- My intention is
* A feature to implement Rails's ActiveSupport::HashWithIndifferentAccess, not providing HashWithInd... -
10:41 AM Feature #16476: Socket.getaddrinfo cannot be interrupted by Timeout.timeout
- Dan0042 (Daniel DeLorme) wrote in #note-16:
> naruse (Yui NARUSE) wrote in #note-15:
> > It's a long requested series... -
06:47 AM Bug #17477: Ractor and pp incompatibility
- I wrote a similar opinion to Martin Dürst's in #17420. I propose that we comment there (simply because the issue is o...
-
02:25 AM Bug #17477: Ractor and pp incompatibility
- My preference would be to make `require` work everywhere, but always be executed in the main Reactor. That would just...
-
12:45 AM Bug #17476 (Assigned): 3.0/specifications/default/net-*.gemspec repeats the same files
-
12:43 AM Bug #17483 (Rejected): Array#insert is pathologically slow
- In short, it is unavoidable.
Currently, an array is internally represented as consecutive memory area. Adding new ...
12/27/2020
-
11:59 PM Bug #17483 (Rejected): Array#insert is pathologically slow
- I ran some generic Array method benchmarks:
https://github.com/djberg96/berger_spec/blob/ruby23/bench/core/bench_a... -
10:29 PM Feature #17474: Interpreting constants at compile time
- (Unassigning, as there is no acceptable proposal yet)
-
10:28 PM Feature #17474 (Open): Interpreting constants at compile time
- tldnr; I feel that the possibility to have "inline shareable constant expressions" could improve expressiveness and a...
-
04:08 PM Feature #17474 (Rejected): Interpreting constants at compile time
- There is no "compile time" for Ruby, and there is no way to execute arbitrary Ruby code at any other time than runtim...
-
01:44 PM Feature #17474: Interpreting constants at compile time
- Also to reiterate, this "feature" also applies to string constants.
So ``[["Hello World".reverse * 3"]]`` # => ``"... -
03:41 AM Feature #17474: Interpreting constants at compile time
- I think you're missing my point.
I agree 100% the compiler(s) should do it, but they don't, not across all CRuby v... -
03:17 AM Feature #17474: Interpreting constants at compile time
- > What about something like `Math.sqrt(Math.log(2*PI))`?
Isn't that obviously a constant as well? Or at least `Mat... -
03:08 AM Feature #17474: Interpreting constants at compile time
- But is that the case?
Does ``10**6`` get's used at runtime as ``1_000_000``?
What about something like ``Math.... -
02:39 AM Feature #17474: Interpreting constants at compile time
- But why do you need to specially mark expressions as constant? `10**6` is already obviously constant (modulo the rede...
-
02:36 AM Feature #17474: Interpreting constants at compile time
- My intent is to ensure the operations needed to create the constant values are performed at compile time (not runtime...
-
08:08 PM Feature #17472: HashWithIndifferentAccess like Hash extension
- Count me in the "No" camp.
`HashWithIndifferentAccess` has horrible semantics. It may have had a reason to be when... -
07:09 PM Feature #17472: HashWithIndifferentAccess like Hash extension
- I'm also against this, but I think a more general-purpose version might be ok. In my code I use a `NormalizedHash` cl...
-
05:13 PM Feature #17472: HashWithIndifferentAccess like Hash extension
- I am against adding this in principle. One of the harder things for new Ruby programmers to understand is the differ...
-
04:14 PM Feature #17472: HashWithIndifferentAccess like Hash extension
- I don't think C code will be more efficient for things like https://github.com/rails/rails/blob/914caca2d31bd753f47f9...
-
10:44 AM Feature #17472: HashWithIndifferentAccess like Hash extension
- +1, if Rails people really want it, and if it brings performance improvement. We need to experiment, but in principle...
-
07:41 PM Feature #16378: Support leading arguments together with ...
- @nagachika I would really like to see this backported to 2.7 ... may I ask for the status?
-
07:19 PM Feature #17473: Make Pathname to embedded class of Ruby
- mame (Yusuke Endoh) wrote in #note-2:
> Though FileUtils and Tsort are relatively easy to be removed from the depend... -
04:16 PM Feature #17473: Make Pathname to embedded class of Ruby
- I forgot to mention, +1 from me for Pathname in core, if it's written mostly in Ruby.
-
10:57 AM Feature #17473: Make Pathname to embedded class of Ruby
- The proposal lacks one background, so I'd like to add it. Rubygems cannot allow uesrs to choose the version of a gem ...
-
06:27 PM Feature #16476: Socket.getaddrinfo cannot be interrupted by Timeout.timeout
- naruse (Yui NARUSE) wrote in #note-15:
> It's a long requested series of improvements for HTTP client like read_timeo... -
09:45 AM Feature #16476 (Open): Socket.getaddrinfo cannot be interrupted by Timeout.timeout
- ioquatix (Samuel Williams) wrote in #note-12:
> * I'm not convinced that getaddrinfo_a is a good idea, it has a user-... -
05:30 PM Bug #17420: Unsafe mutation of $" when doing non-RubyGems require in Ractor
- Maybe a solution would be to do all `require` in the main Ractor?
Something like whenever a new Ractor is created,... -
05:03 PM Bug #17481 (Closed): Keyword arguments change value after calling super without arguments in Ruby 3.0
- Applied in changeset commit:git|c8010fcec016ee89aa0c45fe31094b2db0023e5c.
----------
Dup kwrest hash when merging ot... -
01:56 PM Bug #17481: Keyword arguments change value after calling super without arguments in Ruby 3.0
- Bisect resulted in commit:d2c41b1bff1f3102544bb0d03d4e82356d034d33.
-
12:40 PM Bug #17481 (Closed): Keyword arguments change value after calling super without arguments in Ruby 3.0
- There seems to be a bug in Ruby 3.0 regarding keyword arguments and calling super without arguments, where the splatt...
-
04:24 PM Feature #17470: Introduce non-blocking `Timeout.timeout`
- ioquatix (Samuel Williams) wrote in #note-2:
> Actually, that's not necessarily true, even for the current implement... -
06:44 AM Feature #17470: Introduce non-blocking `Timeout.timeout`
- It appears that `Timeout.timeout` does not work when a Fiber scheduler is set, regardless of the implementation, even...
-
04:20 PM Bug #17477: Ractor and pp incompatibility
- I doubt `require` can ever be supported in a Ractor, see #17420.
It seems there is no good solution for this, and ... -
08:14 AM Bug #17477 (Closed): Ractor and pp incompatibility
- ```ruby
r = Ractor.new do
pp("foobar")
end
Ractor.select(r)
```
fails with:
```
#<Thread:0x00007f973414... -
04:03 PM Feature #17479: Enable to get "--backtrace-limit" value by "$-B"
- What's the use case?
I think we should encourage to use `Exception#full_message` (instead of manually formatting back... -
11:06 AM Feature #17479: Enable to get "--backtrace-limit" value by "$-B"
- +1 if we can provide `-B` option too.
-
10:03 AM Feature #17479 (Closed): Enable to get "--backtrace-limit" value by "$-B"
- # Background
There is currently no way to get "--backtrace-limit" value when outputing backtraces from my script, ... -
02:28 PM Bug #17482 (Assigned): Ractor.receive doesnt accept Ctrl+C under some condition
- Thank you for the report, I could reproduce it.
-
01:41 PM Bug #17482 (Closed): Ractor.receive doesnt accept Ctrl+C under some condition
- When I run this script, Ctrl+C doesn't work.
Waiting forever on #4 is fine, but I think Ctrl+C should work.
``` r... -
12:42 PM Misc #17480: DevelopersMeeting20210113Japan
- * [Feature #17327] The `Queue` constructor should take an initial set of items (chrisseaton)
* This simple feature ... -
11:08 AM Misc #17480: DevelopersMeeting20210113Japan
- * [Feature #17472] `HashWithIndifferentAccess` like `Hash` extension (mame)
* It is a good idea for Ruby 3.1 to pro... -
10:17 AM Misc #17480 (Closed): DevelopersMeeting20210113Japan
- # The next dev meeting
**Date: 2021/01/13 13:00-17:00**
Place/Sign-up/Agenda/Log: https://github.com/ruby/dev-mee... -
10:24 AM Feature #16989: Sets: need ♥️
- FYI: SortedSet has been extracted out from set.rb since 3.0. So there is no longer the dependency problem.
-
10:17 AM Misc #17346 (Closed): DevelopersMeeting20201210Japan
-
09:25 AM Bug #17220 (Closed): Rails Active Job integration test fails with Ruby 3.0.0 since 2038cc6cab6ceeffef3ec3a765c70ae684f829ed
-
09:09 AM Bug #17478 (Closed): Ruby3.0 is slower than Ruby2.7.2 when parsing a large CSV file
- Ruby3.0 is around 10%-20% slower than Ruby2.7.2 when parsing and aggregating a large CSV file.
The script is here:... -
01:28 AM Bug #17476 (Closed): 3.0/specifications/default/net-*.gemspec repeats the same files
- I guess net-* generated gemspec during ruby build assumes that the net/ directory only contains its files (as it happ...
12/26/2020
-
10:29 PM Feature #17370: Introduce non-blocking `Addrinfo.getaddrinfo` and related methods.
- In order to implement this hook, we need to expose the C interface to extensions:
https://github.com/ruby/ruby/pul... -
09:40 PM Feature #17474: Interpreting constants at compile time
- Why do we need a new syntax to do this? Couldn't the compiler already work out `10**6` at compile-time, and invalidat...
-
04:36 PM Feature #17474 (Open): Interpreting constants at compile time
- Ruby has borrowed concepts/idioms from allot of languages.
I am proposing borrowing a feature from Forth to provid... -
09:36 PM Feature #17470: Introduce non-blocking `Timeout.timeout`
- > Timeout.timeout must be able to interrupt non-IO operations as well.
Actually, that's not necessarily true, even... -
12:48 PM Feature #17470: Introduce non-blocking `Timeout.timeout`
- How would that work, what would be a sample implementation of the hook?
`Timeout.timeout` must be able to interrupt ... -
07:42 AM Feature #17470 (Closed): Introduce non-blocking `Timeout.timeout`
- In this bug report, user complained that `Timeout.timeout` does not work correctly with scheduler: https://github.com...
-
06:57 PM Feature #17475 (Rejected): Implement arguments forwarding for blocks
- In a gem, I create a bunch of initializer shortcuts as follows:
# Shortcut initializers
CLASSES.each do |... -
02:49 PM Feature #16005: A variation of Time.iso8601 that can parse yyyy-MM-dd HH:mm:ss
- naruse (Yui NARUSE) wrote in #note-11:
> * Time#sql_timestamp for serializer
Time#sql_timestamp needs to conver... -
02:16 PM Feature #16005: A variation of Time.iso8601 that can parse yyyy-MM-dd HH:mm:ss
- What about making `Time.new(string)` to work more?
```ruby
Time.new("2020-12-25 17:09:16 +0900") #=> 2020-01-01 0... -
01:42 PM Feature #16005: A variation of Time.iso8601 that can parse yyyy-MM-dd HH:mm:ss
- kamipo says Rails 6.1 uses their RDB driver's implementation to decode serialized string into Time object.
https://t... -
11:07 AM Feature #16005: A variation of Time.iso8601 that can parse yyyy-MM-dd HH:mm:ss
- We (akr, naruse and matsuda) discussed this issue.
- implementing this method, Time.sql_timestamp(string), in time.c... -
11:00 AM Feature #16005: A variation of Time.iso8601 that can parse yyyy-MM-dd HH:mm:ss
- https://pubs.opengroup.org/onlinepubs/9695959099/toc.pdf
P.42 says " If the application or the user cannot infer a ti... -
01:24 PM Bug #17469: Ruby 3.0.0 do not install cleanly from source on MacOS 10.12.6
- Thanks for both of the responses. I'm using the latest supported compiler/Xcode.
Ruby needs a wiki page explaining w... -
03:59 AM Bug #17469: Ruby 3.0.0 do not install cleanly from source on MacOS 10.12.6
- Seems a compiler related issue.
Try more recent Xcode. -
01:23 AM Bug #17469 (Rejected): Ruby 3.0.0 do not install cleanly from source on MacOS 10.12.6
- MacOS 10.12.6 is too old environment. We couldn't care it.
-
12:56 PM Feature #17471: send_if method for improved conditional chaining
- hi.
How about using `#tap` + `break` ?
```ruby
# Proposal
puts number.send_if(:*, 2) {|obj| obj > 5}.send(:-, 1... -
10:37 AM Feature #17471 (Open): send_if method for improved conditional chaining
- # Background
Method chaining is very important to many Ruby users, since everything in Ruby is an object.
It al... -
12:53 PM Feature #17472: HashWithIndifferentAccess like Hash extension
- Isn't a C extension in a gem enough?
Also what specifically would writing it in C instead of Ruby gain?
Intuitive... -
11:06 AM Feature #17472: HashWithIndifferentAccess like Hash extension
- ❤️
-
11:04 AM Feature #17472 (Rejected): HashWithIndifferentAccess like Hash extension
- Rails has [ActiveSupport::HashWithIndifferentAccess](https://api.rubyonrails.org/classes/ActiveSupport/HashWithIndiff...
-
12:45 PM Feature #17473: Make Pathname to embedded class of Ruby
- If we do so, could we actually define most of Pathname in Ruby, and not in C?
Right now, https://github.com/ruby/r... -
12:00 PM Feature #17473 (Closed): Make Pathname to embedded class of Ruby
- pathname is one of most useful utility class of Ruby. I'm happy to use Pathname without require it.
Any thought? -
07:40 AM Feature #17369: Introduce non-blocking `Process.wait`, `Kernel.system` and related methods.
- We introduced experimental feature and implemented non-blocking hook for Ruby 3.
More work is required here, but w... -
04:26 AM Bug #17373: Ruby 3.0 is slower at Discourse bench than Ruby 2.7
- In my early benchmarks:
## Async
### ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [x86_64-darwin19]
```
Wrapper#... -
01:27 AM Feature #13368 (Closed): Improve performance of Array#sum with float elements
- https://github.com/ruby/ruby/pull/1555 was merged at https://github.com/ruby/ruby/commit/2d001003e4b3a6c20ead09ed54b6...
Also available in: Atom