General

Profile

davidcornu (David Cornu)

  • Login: davidcornu
  • Registered on: 06/19/2014
  • Last sign in: 10/24/2024

Issues

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

Activity

11/22/2024

09:49 PM Ruby Bug #20813: Segfault in rgengc_check_relation/RVALUE_WB_UNPROTECTED
Looks like other folks are running into this as well: https://github.com/sidekiq/sidekiq/issues/6502 davidcornu (David Cornu)

10/24/2024

09:07 PM Ruby Bug #20813 (Open): Segfault in rgengc_check_relation/RVALUE_WB_UNPROTECTED
We're seeing this segfault consistently crop up in CI on Ruby 3.3.5 (details below). I'm working on getting a core dump but in the mean time, I was told the console output might be a good starting point to debug.
I thought it might be...
davidcornu (David Cornu)

07/26/2017

01:31 PM Ruby Feature #13765: Add Proc#bind
> Could you show a real Ruby application or code which you can write more effectively if we have partial application?
The use case is similar to that of `Proc#curry`, but I'd agree that typical Ruby code doesn't rely on `Proc`s much. ...
davidcornu (David Cornu)

07/25/2017

07:36 PM Ruby Feature #13765: Add Proc#bind
> I do not have any pro or con opinion per se; my slight worry is about the name "bind".
Yeah I share that concern. Ruby has a concept of bound methods which might get confused with this.
Lodash/Underscore refer to this as `partia...
davidcornu (David Cornu)

07/24/2017

09:04 PM Ruby Feature #13765 (Open): Add Proc#bind
`Proc` has [`curry`](https://ruby-doc.org/core-2.4.1/Proc.html#method-i-curry) but no method to do [partial application](https://en.wikipedia.org/wiki/Partial_application). Something like `Proc#bind` might be handy.
A naive implementa...
davidcornu (David Cornu)

06/24/2014

05:13 PM Ruby Feature #9963: Symbol.count
> Now, ruby trunk has symbol GC
Fantastic!
davidcornu (David Cornu)

06/19/2014

07:35 PM Ruby Feature #9963 (Feedback): Symbol.count
I'd like to add a way to get the size of Ruby's symbol table. This is currently possible by using `Symbol.all_symbols`, however it builds a new array every time it's invoked which is pretty inefficient.
The main use case for this woul...
davidcornu (David Cornu)

Also available in: Atom