General

Profile

parker (Parker Finch)

  • Login: parker
  • Registered on: 09/05/2018
  • Last sign in: 02/04/2025

Issues

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

Activity

02/17/2023

02:42 PM Ruby Bug #19041: Weakref is still alive after major garbage collection
Hi @tenderlovemaking! I'm having difficulty interpreting the results of the `ObjectSpace` dump and I'm hoping you can help.
I've adjusted the script to print out the address of the underlying object, and then (when the issue manifests...
parker (Parker Finch)

10/18/2022

09:33 PM Ruby Bug #19041: Weakref is still alive after major garbage collection
tenderlovemaking (Aaron Patterson) wrote in #note-7:
> That method may not be putting the object in a register. Something else may have put it in a register or in the stack, and it just happens that no other machine code has overwritte...
parker (Parker Finch)

10/14/2022

08:04 PM Ruby Bug #19041: Weakref is still alive after major garbage collection
Thanks for that explanation @tenderlovemaking, it helps and I truly appreciate it!
One misunderstanding I had was that I was thinking about this in terms of the Ruby VM. But it seems like garbage collection actually occurs down at the...
parker (Parker Finch)

10/13/2022

03:17 PM Ruby Bug #19041: Weakref is still alive after major garbage collection
Thanks @byroot! I think this could be considered a bug in the documentation, since the [docs for WeakRef](https://ruby-doc.org/stdlib-3.1.2/libdoc/weakref/rdoc/WeakRef.html) imply that a `WeakRef` should be collected after a garbage coll... parker (Parker Finch)

10/06/2022

07:03 PM Ruby Bug #19041 (Closed): Weakref is still alive after major garbage collection
I am able to get into an infinite loop waiting for garbage collection to take a WeakRef.
### Reproduction Process
The following script prints a "0", then a "1", and then hangs forever. I expect it to keep printing numbers.
```
requ...
parker (Parker Finch)

04/13/2021

03:07 PM Ruby Misc #17734: DevelopersMeeting20210416Japan
* [Feature #17016] Add `Enumerable#accumulate` (parkerfinch)
* Is the name `#accumulate` acceptable?
* Is this feature ok to add?
parker (Parker Finch)
02:51 PM Ruby Feature #17016: Enumerable#accumulate
I like `#accumulate`, and thank you @nobu for an implementation [here](https://github.com/ruby/ruby/pull/3361)!
Is there anything I can do to help us come to a decision on this one?
parker (Parker Finch)

11/30/2020

02:38 PM Ruby Feature #17016: Enumerable#accumulate
y.annikov (Yakov Annikov) wrote in #note-35:
> What about `#cumulate`? Does it sound natural?
I'm not as familiar with the verb "cumulate", so it doesn't sound as natural to me as "accumulate". But that being said, I don't think ther...
parker (Parker Finch)

10/01/2020

01:34 PM Ruby Misc #17200: DevelopersMeeting20201026Japan
* [Feature #17016] Enumerable#scan_left (parker)
* This is a proposal to add a method to enumerable that accumulates the results of injecting an operation over the enumerable. There is interest in adding this method, but concern about ...
parker (Parker Finch)

09/03/2020

02:57 PM Ruby Feature #17016: Enumerable#accumulate
Dan0042 (Daniel DeLorme) wrote in #note-33:
> ... what about `#cumulative` ?
Oh that's interesting! I had leapt straight to verbs since that tends to be the pattern for methods that transform enumerables, but the examples of `[1,2,3...
parker (Parker Finch)

Also available in: Atom