General

Profile

ukolovda (Dmitry Ukolov)

  • Login: ukolovda
  • Registered on: 01/23/2018
  • Last sign in: 04/19/2024

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 4 4

Activity

07/30/2024

02:04 PM Ruby Feature #20657: Allow Enumerable#map(&:method) and #each accept additional parameters for method
Oo, the ampersand is not language syntax, as I think before, but simple operator, converting Symbol to Proc. It is fine trix, but cannot accept additional arguments.
I'm disappointed.
Thank you for the clarification.
ukolovda (Dmitry Ukolov)
12:30 PM Ruby Feature #20657 (Feedback): Allow Enumerable#map(&:method) and #each accept additional parameters for method
I can use `#map` (or `#each`) with short method name, for example:
``` ruby
a = ["a1", "b1", "c1"]
b = a.map(&:length)
# or
a.each(&:some_method)
```
But with additional arguments I must use yield:
```ruby
c = a.map { |i...
ukolovda (Dmitry Ukolov)

06/14/2024

07:05 AM Ruby Revision 8ddb4de0 (git): Fixed indents in recently RJIT patch (#11001)
ukolovda (Dmitry Ukolov)

06/13/2024

10:55 PM Ruby Revision b988ae3a (git): RJIT: Fixed and/or reg+disp32 operations (#10856)
Fixed RJIT `and reg+disp32` and `or reg+disp32` operation. ukolovda (Dmitry Ukolov)

05/08/2024

10:20 AM Ruby Bug #20477: RJIT NoMatchingPatternError when initialize Hash literal with more 8 items
Thank you!
I guessed, RJIT will be production solution in some future, sorry.
ukolovda (Dmitry Ukolov)
07:26 AM Ruby Bug #20477 (Feedback): RJIT NoMatchingPatternError when initialize Hash literal with more 8 items
When I create Hash with 8 or more items, I got the error:
```bash
ruby --rjit -e "a = 1; 1.upto(10) { b={a1: a&1, a2: a&1, a3: a&1, a4: a&1, a5: a&1, a6: a&1, a7: a&1, a8: a&1} }"
/home/ukolovda/.rvm/rubies/ruby-3.3.1/lib/ruby/3....
ukolovda (Dmitry Ukolov)
07:29 AM Ruby Bug #20475: RJIT `and' NoMatchingPatternError
Make new issue #20477 with reproduce steps ukolovda (Dmitry Ukolov)

05/07/2024

08:30 PM Ruby Bug #20475 (Feedback): RJIT `and' NoMatchingPatternError
I try use RJIT for testing of Rails application:
```bash
$ RUBYOPT="--rjit" bin/bundle exec rake test
Started with run options --seed 63595
...
/home/ukolovda/.rvm/rubies/ruby-3.3.1/lib/ruby/3.3.0/ruby_vm/rjit/assembler.rb:124:in ...
ukolovda (Dmitry Ukolov)

11/11/2021

10:28 AM Ruby Feature #18280: Allow rb_utf8_str_new_cstr(NULL)
shyouhei (Shyouhei Urabe) wrote in #note-13:
> Fix merged ATM to delete the attribute, for the sake of compatibility.
> ...
Thank you! I'm agree, compatibility is very important.
ukolovda (Dmitry Ukolov)

11/01/2021

01:08 PM Ruby Feature #18280: Allow rb_utf8_str_new_cstr(NULL)
Thank you!
I've got this error when test gem `addressable` + `idn-ruby`.
See https://github.com/ukolovda/addressable/runs/4060648877?check_suite_focus=true
I guess, it's CI use default settings for compiler.
I'm afraid, we got m...
ukolovda (Dmitry Ukolov)

Also available in: Atom