General

Profile

marcandre (Marc-Andre Lafortune)

Issues

open closed Total
Assigned issues 3 141 144
Reported issues 28 218 246

Projects

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

Activity

03/05/2024

03:21 PM Ruby master Bug #20325 (Open): Enumerator.product.size bug with zero * infinite enumerators
``` ruby
Enumerator.product([], 1..).to_a # => [] (OK)
Enumerator.product([], 1..).size # => Infinity (Should be 0)...
marcandre (Marc-Andre Lafortune)

05/18/2023

04:39 AM Ruby master Feature #19634: Pattern matching dynamic key
Some actual examples of dynamic key matching in Elixir: https://github.com/search?q=%2F%25%5C%7B%5C%5E%2F+&type=code marcandre (Marc-Andre Lafortune)
04:28 AM Ruby master Feature #19634: Pattern matching dynamic key
FWIW, Elixir actually supports it, but I don't recall seeing it used in the wild
``` elixir
map = %{mentor_name: "Jo...
marcandre (Marc-Andre Lafortune)

06/19/2022

02:19 PM Ruby master Feature #18841: Proposal: autoload_relative
Note that this is a duplicate of https://bugs.ruby-lang.org/issues/15330, which includes some real world usage stats.... marcandre (Marc-Andre Lafortune)

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)

Also available in: Atom