Activity
From 02/17/2020 to 02/23/2020
02/23/2020
-
11:53 PM Feature #16456: Ruby 2.7 argument delegation (...) should be its own kind of parameter in Method#parameters
- I'd definitely like to see this as well. It'd be useful for Sorbet since it uses the parameters method to reconstruct...
-
02:24 PM Feature #16511: Staged warnings and better compatibility for keyword arguments in 2.7.1
- Thanks for writing that out.
I think in general tracking whether a Hash is keywords or positional dynamically make... -
11:33 AM Bug #16647: Redefining $/ causes irb to misbehave
- Out of curiosity, why do you overwrite $/?
My personal opinion is we should deprecate all these variables affectin... -
07:49 AM Feature #14240 (Closed): warn four special variables: $; $, $/ $\
- Applied in changeset commit:git|6298ec2875a6f1a1e75698c96ceac94362f20bcf.
----------
Warn non-nil `$\` [Feature #14240]
02/22/2020
-
07:07 PM Feature #16644: qualified const init (self::CONST1 = 1) should be allowed in methods
- These are two different things. Ruby always warns for assigning to an existing constant, regardless of using `const_...
-
06:55 PM Bug #16620 (Feedback): [BUG] Segmentation fault at 0x0000000103bae000
- Can you please run the failing code from the command line and include the output? The awd files provided are binary ...
-
06:03 PM Feature #16648 (Open): improve GC performance by 5% with builtin_prefetch
- The mark phase of non-incremental major GC is (I believe) dominated by pointer chasing. One way we can improve that ...
-
02:47 PM Bug #16646 (Closed): OpenSSL::VERSION is not defined (moved to ruby/openssl)
-
02:05 AM Bug #16646: OpenSSL::VERSION is not defined (moved to ruby/openssl)
- See https://github.com/ruby/openssl/issues/347
Please close. OpenSSL should have a new release soon... -
01:37 PM Bug #16640: Symbol#to_proc reports -1 for arity
- Thanks for the fix nobu! (https://github.com/ruby/ruby/commit/5b29ea0845c14092abd866ce0183c52635bade4c)
-
01:53 AM Bug #16640 (Closed): Symbol#to_proc reports -1 for arity
- Applied in changeset commit:git|5b29ea0845c14092abd866ce0183c52635bade4c.
----------
Proc from Symbol needs a receiv... -
01:43 AM Bug #16640 (Open): Symbol#to_proc reports -1 for arity
-
02:26 AM Misc #16645: Non-warned change of behavior in 2.7 for non-symbol keys
- > treating non-Symbol keys as keywords if the method accepts arbitrary keywords is expected behavior
Yes, I was awar... -
12:06 AM Misc #16645 (Rejected): Non-warned change of behavior in 2.7 for non-symbol keys
- Yes, treating non-Symbol keys as keywords if the method accepts arbitrary keywords is expected behavior, as mentioned...
-
12:59 AM Feature #16614 (Closed): New method cache mechanism for Guild
- Applied in changeset commit:git|b9007b6c548f91e88fd3f2ffa23de740431fa969.
----------
Introduce disposable call-cache...
02/21/2020
-
04:54 PM Misc #16645: Non-warned change of behavior in 2.7 for non-symbol keys
- I can not answer your question but I believe matz mentioned the change several times in different
talks before. So a... -
03:29 PM Misc #16645 (Rejected): Non-warned change of behavior in 2.7 for non-symbol keys
- In ruby 2.7 non-symbol keys are now accepted as keywords, resulting in the following change in behavior:
```ruby
... -
04:51 PM Bug #16647 (Closed): Redefining $/ causes irb to misbehave
- If I start irb and then do:
``` ruby
$/ = "asdf"
```
then every character I type shows a newline on the irb... -
04:30 PM Bug #16646 (Closed): OpenSSL::VERSION is not defined (moved to ruby/openssl)
- There are several ways to fix this, maybe add to openssl.rb?
Noticed in several platforms... -
11:41 AM Bug #16337: kernel_gem.rb:68 - ThreadError
- I guess this is because you're not using the latest rubygems. Could you run `gem env version` and check that you have...
-
10:57 AM Bug #16643: Array#dig converts keywords to positional hash
- jeremyevans0 (Jeremy Evans) wrote in #note-3:
> Dan0042 (Daniel DeLorme) wrote in #note-2:
> > Are you seriously te... -
07:06 AM Bug #16643: Array#dig converts keywords to positional hash
- Dan0042 (Daniel DeLorme) wrote in #note-2:
> Are you seriously telling me that you consider it normal and correct th... -
02:59 AM Bug #16643: Array#dig converts keywords to positional hash
- Are you seriously telling me that you consider it normal and correct that `obj.dig(**kw)` is _not_ equivalent to `[ob...
-
09:39 AM Bug #16632: Remove verbose warning on treating keyword splat as positional argument in Ruby 2.6
- As mentioned in https://bugs.ruby-lang.org/issues/16511#note-17
it seems very unlikely this triggers in practice, be... -
09:34 AM Bug #16640: Symbol#to_proc reports -1 for arity
- The arity should actually be `-2` which means 1 required arguments + any number of optional arguments.
02/20/2020
-
08:55 PM Bug #16643 (Rejected): Array#dig converts keywords to positional hash
- This behavior is deliberate. `dig` should only be overridden if you want to be able to access objects stored inside ...
-
03:42 AM Bug #16643 (Rejected): Array#dig converts keywords to positional hash
- The following behavior for `dig` looks very weird to me:
```ruby
o=Object.new
def o.dig(**kw) p [kw] end
o.dig(... -
08:37 PM Feature #16468: Switch to Miller-Rabin for Prime.prime?
- steveb3210 (Stephen Blackstone) wrote in #note-16:
> Unforunately Miller-Rabin is not a deterministic test for arbitr... -
07:19 PM Feature #16468: Switch to Miller-Rabin for Prime.prime?
- Attached is the latest diff.
-
07:18 PM Feature #16468: Switch to Miller-Rabin for Prime.prime?
- Dan0042 (Daniel DeLorme) wrote in #note-15:
> I think it would be interesting to expose the algorithm for larger num... -
02:01 PM Feature #16468: Switch to Miller-Rabin for Prime.prime?
- I think it would be interesting to expose the algorithm for larger numbers. So you could have `miller_rabin` which al...
-
05:45 AM Feature #16468: Switch to Miller-Rabin for Prime.prime?
- - Add bounds check
- Add test
-
07:08 PM Feature #16644 (Rejected): qualified const init (self::CONST1 = 1) should be allowed in methods
- ```rb
module Mod1
def self.define_consts
const_set(:CONST1, :CONST1)
# this is actual const re-assign... -
05:18 PM Feature #16597: missing poll()
- An extension that makes poll() features available and does not require integration into ruby core is eventmachine.
-
09:19 AM Feature #16614: New method cache mechanism for Guild
- > my thoughts were: if respond_to_missing? returns true once, does this have any effect on this cache? even if it mig...
-
08:33 AM Feature #16614: New method cache mechanism for Guild
- ko1 (Koichi Sasada) wrote in #note-14:
> Hanmac (Hans Mackowiak) wrote in #note-13:
> > My thought if the `respond_... -
07:45 AM Feature #16614: New method cache mechanism for Guild
- I'll merge this patch tomorrow.
If you have any suggestion, please tell me.
-
07:44 AM Bug #16641: Backport request: MJIT crashes on a certain flow of branches
- 2.7 backport is done at commit:eaee631d5eda03f77ec39ec6fc1826a06ab06205.
-
12:10 AM Bug #16642: Splatted empty hash literal produces frozen hash object
- Actually, looks like I didn't read the bug report closely enough. This is a different issue, and suggests that we sh...
-
12:04 AM Bug #16642: Splatted empty hash literal produces frozen hash object
- I agree it is a bug. I'm not sure it is worth fixing. Basically, the reason behind it is the parser doesn't separat...
02/19/2020
-
07:31 PM Bug #16632: Remove verbose warning on treating keyword splat as positional argument in Ruby 2.6
- This is really interesting. It means that mixing double-splat with positional-only methods was _already_ discouraged....
-
06:22 PM Bug #16642 (Closed): Splatted empty hash literal produces frozen hash object
- When splatting an empty hash literal, internally it's optimized using a global frozen hash object, but this implement...
-
05:57 PM Misc #16561: DevelopersMeeting20200227Japan
- * [Feature #16511] Staged warnings and better compatibility for keyword arguments in 2.7.1 (Dan0042)
* All the bene... -
08:05 AM Misc #16515: one of authoritative name server of ruby-lang.org "pichu.netlab.jp" not responding DNS query
- Nice to hear that 🎉
-
07:26 AM Bug #16641 (Closed): Backport request: MJIT crashes on a certain flow of branches
- ## Problem
~~~ruby
def a(b)
".#{b unless b == 1}" if true
end
print(a(0))
~~~
This script `test.rb` cr... -
07:15 AM Feature #16260 (Closed): Symbol#to_proc behaves like lambda, but doesn't aknowledge it
- Applied in changeset commit:git|f0b815dc670b61eba1daaa67a8613ac431d32b16.
----------
`Proc` made by `Symbol#to_proc`... -
05:14 AM Feature #16614: New method cache mechanism for Guild
- alanwu (Alan Wu) wrote in #note-15:
> If I understand this correctly, the proposed implementation can trigger an all... -
04:43 AM Bug #16640 (Rejected): Symbol#to_proc reports -1 for arity
02/18/2020
-
11:30 PM Bug #16613 (Closed): Vagrant encounters segmentation fault when starting previously correctly working box
- Turns out that this appears to have been due to some corruption in the box itself. Changing the Ruby version solved n...
-
09:53 PM Bug #16640: Symbol#to_proc reports -1 for arity
- Actually this can be closed, as it doesn't make sense for arity > 1.
-
06:49 PM Bug #16640: Symbol#to_proc reports -1 for arity
- Oh nice I didn't see that @zverok.
-
06:02 PM Bug #16640: Symbol#to_proc reports -1 for arity
- #9250 was closed with the reason
> The proc created by Symbol#to_proc is not a lambda, but a proc
But in #16260... -
04:03 PM Bug #16640: Symbol#to_proc reports -1 for arity
- To add some context, this came up because of https://github.com/rails/rails/pull/38474 - specifically https://github....
-
03:46 PM Bug #16640: Symbol#to_proc reports -1 for arity
- Ooo just found https://bugs.ruby-lang.org/issues/9520. I kind of get the argument to keep it consistent with other pr...
-
03:41 PM Bug #16640 (Closed): Symbol#to_proc reports -1 for arity
- When you create a proc using `Symbol#to_proc` syntax, it reports the arity as -1, even though the required number of ...
-
09:19 PM Misc #16561: DevelopersMeeting20200227Japan
- * [Feature #16463] Fixing *args-delegation in Ruby 2.7: ruby2_keywords semantics by default in 2.7.1 (eregon)
* It... -
01:39 PM Bug #14891: Pathname#join has different behaviour to File.join
- zverok (Victor Shepelev) wrote in #note-7:
> > I am wondering about the current behavior of Pathname#join, too. Are ... -
10:09 AM Bug #14891: Pathname#join has different behaviour to File.join
- > I am wondering about the current behavior of Pathname#join, too. Are there any useful use cases for `Pathname.new('...
-
07:58 AM Bug #14891: Pathname#join has different behaviour to File.join
- I am wondering about the current behavior of Pathname#join, too. Are there any useful use cases for `Pathname.new('/a...
-
05:38 AM Bug #16639 (Closed): ARGF.each_line(chomp: true) cannot call without warning
- Applied in changeset commit:git|041c2932e336b509b0ddc1fdbd9f160bce8d4893.
----------
Pass keyword arguments to IOs p... -
02:30 AM Bug #16639 (Closed): ARGF.each_line(chomp: true) cannot call without warning
- `ARGF.each_line` with keyword arguments shows warnings on 2.7.0, and does not work on current master.
```
$ ruby ... -
01:32 AM Feature #16635 (Closed): Reduce allocation of begin-less/end-less range with Integer literal
- Merged in commit:527829423088f09cf2f708be12bb4337d640dc69
02/17/2020
-
09:46 PM Feature #16637: Time#to_s and Date#to_s accept strftime format string
- shevegen (Robert A. Heiler) wrote in #note-2:
> I am not sure if this is a good suggestion though, largely because .t... -
07:56 PM Feature #16637: Time#to_s and Date#to_s accept strftime format string
- Since the receiver is a `Time` object or `Time`, at least the `time`-part in `strftime` and `strptime` is redundant. ...
-
04:54 PM Feature #16637: Time#to_s and Date#to_s accept strftime format string
- > While terms like strftime and strptime are ubiqutous through the history of computer science,
> I feel that the te... -
04:43 PM Feature #16637: Time#to_s and Date#to_s accept strftime format string
- [Gerald Bauer pointed out](https://www.reddit.com/r/ruby/comments/f4pcn5/dateformatter_gem_date_formatter_by_example/...
-
03:14 PM Feature #16637 (Open): Time#to_s and Date#to_s accept strftime format string
- While terms like `strftime` and `strptime` are ubiqutous through the history of computer science, I feel that the ter...
-
07:06 PM Feature #16638 (Open): Structured Data for Syslog
- `Syslog::Logger` appears to conform to RFC5424, however doesn't support structured data unless I'm missing something....
-
09:04 AM Bug #16618: Ensure called twice when raise in ensure
- I found another issue with this where
```ruby
def meow
puts 'start'
begin
return
puts 'should not run'
... -
08:28 AM Misc #16636 (Closed): DevelopersMeeting before RubyKaigi2020
- RubyKaigi 2020 will be at Fukuoka, Apr 9th to 11th, 2020. It should be good time to gather Ruby interpreter developer...
-
01:30 AM Feature #15563: #dig that throws an exception if a key doesn't exist
- matz (Yukihiro Matsumoto) wrote in #note-4:
> And with whatever name, we need the real-world use-case for a new meth... -
01:05 AM Feature #15563: #dig that throws an exception if a key doesn't exist
- amcaplan (Ariel Caplan) wrote in #note-13:
> matz (Yukihiro Matsumoto) wrote:
> > [...] with whatever name, we need t... -
12:48 AM Feature #14602: Version of dig that raises error if a key is not present
- amcaplan (Ariel Caplan) wrote:
> The Hash#dig method made it easy to access methods safely from a nested hash; I'd l...
Also available in: Atom