General

Profile

greggzst (Grzegorz Jakubiak)

  • Login: greggzst
  • Registered on: 11/19/2017
  • Last sign in: 02/14/2025

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 5 5

Activity

02/15/2025

10:53 PM Ruby Feature #16993: Sets: from hash keys using Hash#key_set
nobu (Nobuyoshi Nakada) wrote in #note-5:
> This kind of extensions should be done in the corresponding library side, set.rb.
Thanks for pointing that out. Here's the PR https://github.com/ruby/set/pull/40
Dan0042 (Daniel DeLorm...
greggzst (Grzegorz Jakubiak)

02/14/2025

03:42 PM Ruby Feature #16993: Sets: from hash keys using Hash#key_set
I opened a PR to add this functionality https://github.com/ruby/ruby/pull/12750 greggzst (Grzegorz Jakubiak)

02/07/2022

10:52 PM Ruby Misc #18557: DevMeeting-2022-02-17
* [Feature #16989] Sets: need ♥️
* matz has already accepted adding Sets as default. However, there hasn’t been any updates on the progress
greggzst (Grzegorz Jakubiak)

10/23/2021

09:04 PM Ruby Feature #16989: Sets: need ♥️
Any update on that? greggzst (Grzegorz Jakubiak)

10/22/2021

08:45 AM Ruby Bug #18261 (Closed): String#prepend inconsistent documentation
I noticed documentation at https://docs.ruby-lang.org/en/3.0.0/String.html#method-i-prepend says:
```
Returns a new String containing the concatenation of all given other_strings and self:
```
but `String#prepend` modifies string i...
greggzst (Grzegorz Jakubiak)

04/28/2021

06:05 AM Ruby Feature #16989: Sets: need ♥️
Is there a chance this feature lands in 3.1? greggzst (Grzegorz Jakubiak)

10/30/2020

10:07 AM Ruby Feature #17277: Make Enumerator#with_index yield row and col indices for Matrix
sawa (Tsuyoshi Sawada) wrote in #note-7:
> I think the current behaviour is natural. You cannot play around with `with_index` since its receiver is `Enumerator`, not `Matrix`, and the information as a matrix is already gone.
> ...
I ge...
greggzst (Grzegorz Jakubiak)

10/22/2020

06:02 AM Ruby Feature #17277: Make Enumerator#with_index yield row and col indices for Matrix
greggzst (Grzegorz Jakubiak) wrote in #note-2:
> I also noticed when combining `each_with_index` with `inject` it passes `element, row_index and col_index` as one argument to the block
> ...
My bad I just figured out that's a case for ...
greggzst (Grzegorz Jakubiak)

10/21/2020

04:37 PM Ruby Misc #17200: DevelopersMeeting20201026Japan
* [Feature #17277] Make Enumerator#with_index yield row and col indices for Matrix
* Access Matrix indices in enumerable methods
greggzst (Grzegorz Jakubiak)
12:07 PM Ruby Feature #17277: Make Enumerator#with_index yield row and col indices for Matrix
~~I also noticed when combining `each_with_index` with `inject` it passes `element, row_index and col_index` as one argument to the block~~
```ruby
Matrix[[1,2,4,5],[7,8,9,2]].each_with_index.inject({}) { |acc, e, row, col| puts "#{acc}...
greggzst (Grzegorz Jakubiak)

Also available in: Atom