General

Profile

marcandre (Marc-Andre Lafortune)

Issues

open closed Total
Assigned issues 6 137 143
Reported issues 39 206 245

Projects

Project Roles Registered on
Ruby Developer 09/10/2009
Backport186 Developer 09/10/2009
Backport187 Developer 09/10/2009
Backport191 Developer 09/10/2009
Backport192 Developer 10/05/2011
Backport193 Developer 10/05/2011
Backport200 Developer 02/17/2013
Backport21 Developer 12/21/2013
Backport22 Developer 12/19/2014
CommonRuby Developer 12/21/2012
Ruby 1.8 Developer 09/10/2009
Ruby master Developer 09/10/2009

Activity

07/27/2021

05:48 PM Ruby master Bug #18018: Float#floor / truncate sometimes result that is too small.
jeremyevans0 (Jeremy Evans) wrote in #note-5:
> > A correct algorithm seem to be to rely on `Rational#floor`:
> >
...
marcandre (Marc-Andre Lafortune)

07/25/2021

05:36 PM Ruby master Bug #18018: Float#floor / truncate sometimes result that is too small.
jeremyevans0 (Jeremy Evans) wrote in #note-3:
> This issue also goes the other direction:
>
> ```
> f = 291.3999...
marcandre (Marc-Andre Lafortune)

07/09/2021

06:34 AM Ruby master Bug #18032 (Rejected): Openstruct is ~20..25x slower with Ruby 3.0.0 and 3.0.1 compared to earlier versions
@mame is correct that #15409 was a concern, but this is mainly due to #12136 and listed in the release notes for 3.0.... marcandre (Marc-Andre Lafortune)

07/08/2021

09:56 PM Ruby master Feature #17924: Range#infinite?
Seems reasonable to me.
PR at: https://github.com/ruby/ruby/pull/4535
marcandre (Marc-Andre Lafortune)

07/02/2021

12:47 PM Ruby master Bug #18018: Float#floor / truncate sometimes result that is too small.
sawa (Tsuyoshi Sawada) wrote in #note-1:
> With:
>
> > g's decimal string representation has at most n digits
> ...
marcandre (Marc-Andre Lafortune)

07/01/2021

10:53 PM Ruby master Bug #18018 (Closed): Float#floor / truncate sometimes result that is too small.

```ruby
291.4.floor(1) # => 291.4 (ok)
291.4.floor(2) # => 291.39 (not ok)
291.4.floor(3) # => 291.4 (ok)
291.4...
marcandre (Marc-Andre Lafortune)
08:16 PM Ruby master Bug #17757: Hash#slice does not keep compare_by_identity on the results
Thanks for the PR @jeremyevans0, looks pretty good.
On the other hand, I'd like to revise what I wrote and suggest t...
marcandre (Marc-Andre Lafortune)

05/28/2021

06:25 PM Ruby master Feature #17873: Update of default gems in Ruby 3.1
byroot (Jean Boussier) wrote in #note-16:
> Just for the record:
>
> - The matrix removal broke the `capybara` ...
marcandre (Marc-Andre Lafortune)

05/21/2021

04:34 AM Ruby master Feature #17873: Update of default gems in Ruby 3.1
Thanks, I agree about `prime`.
I imagine `matrix` users are limited and will be ok. I'm not sure about `ostruct`.
...
marcandre (Marc-Andre Lafortune)

05/11/2021

03:00 PM Ruby master Feature #16038: Provide a public WeakMap that compares by equality rather than by identity
Seems reasonable to me.
I also wish that `WeakMap` was officially public, it can be quite useful. I wish it's inte...
marcandre (Marc-Andre Lafortune)

Also available in: Atom