General

Profile

zverok (Victor Shepelev)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 20 64 84

Activity

07/26/2021

06:24 AM Ruby master Bug #18044: unusual behavior with Arabic string in a Hash
If I'll copy-paste your example literally, and then...
```ruby
foo.keys.first.chars
# => ["a", "r", "a", "b", "i",...
zverok (Victor Shepelev)

05/13/2021

07:44 AM Ruby master Feature #17859: Start IRB when running just `ruby`
Two observations from my experience with Python:
1. Python (in the modern default installation, I believe) has _tw...
zverok (Victor Shepelev)

04/09/2021

09:02 AM Ruby master Bug #17789: Incompatible behavior of Enumarator::Lazy#with_index
It doesn't ignores the block. It is just lazy to perform it :)
```ruby
%w(a).lazy.with_index { |s, i| puts "#{s} ...
zverok (Victor Shepelev)

04/08/2021

03:23 PM Ruby master Feature #17785: Allow named parameters to be keywords
We actually can:
```ruby
def check(arg, class:)
arg.is_a?(binding.local_variable_get('class'))
end
```
[Here]...
zverok (Victor Shepelev)

02/17/2021

11:10 AM Ruby master Misc #17637: Endless ranges with `nil` boundary weird behavior
I believe that using `nil` as a signifier of the "open end" is a compromise due to Ruby's ranges polymorphism. You ca... zverok (Victor Shepelev)

02/15/2021

07:18 AM Ruby master Misc #17499: Documentation backporting
@usa
> You should create the backport ticket on redmine (this site) as "Bug" tracker and "Closed" status, with "R...
zverok (Victor Shepelev)

02/10/2021

09:39 AM Ruby master Bug #17619: if false foo=42; end creates a foo local variable set to nil
To the best of my understanding, `if` doesn't create its own scope with its own local variables. So this `if` means f... zverok (Victor Shepelev)
09:32 AM Ruby master Feature #7394: Enumerable#find ifnone parameter could be non-callable
What's the point of the "default value" as compared to just `find { ... } || default`?
* Would it be more performa...
zverok (Victor Shepelev)

02/06/2021

10:47 AM Ruby master Feature #15504: Freeze all Range objects
> if I want to check was called refined method or core?
It actually might be a good feature proposal for Ruby. Bec...
zverok (Victor Shepelev)

01/26/2021

09:04 PM Ruby master Feature #15504: Freeze all Range objects
@AlexWayfer
https://github.com/AlexWayfer/gorilla_patch/blob/master/lib/gorilla_patch/cover.rb#L8 -- may be for th...
zverok (Victor Shepelev)

Also available in: Atom