General

Profile

david_macmahon (David MacMahon)

Issues

Activity

04/11/2016

06:52 AM Ruby master Bug #11924: $ gem server is broken for documentation browsing
This is still happening for me with `ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-darwin15]`. It seems to be cau... david_macmahon (David MacMahon)

01/08/2015

04:42 AM Ruby master Bug #10713: Assigning default value for a Hash as an empty Array creating unpredictable results
Arvinder Singh wrote:
> ~~~
> irb(main):001:0> letters = Hash.new([])
> => {}
> irb(main):002:0> letters[:a] << 1...
david_macmahon (David MacMahon)

12/05/2014

07:28 AM Ruby master Feature #10570: Allow `+=` etc. to be methods
Yukihiro Matsumoto wrote:
> `Array#[]=` can be defined by alternation of elements of an array, which does not contai...
david_macmahon (David MacMahon)
12:56 AM Ruby master Feature #10570: Allow `+=` etc. to be methods
David MacMahon wrote:
> Yukihiro Matsumoto wrote:
> > For example, how can we define `Integer#+=`?
>
> Immutable...
david_macmahon (David MacMahon)
12:48 AM Ruby master Feature #10570: Allow `+=` etc. to be methods
Thanks for your thoughtful reply!
Yukihiro Matsumoto wrote:
> `a+=b` is a short hand form of `a = a + b` by defin...
david_macmahon (David MacMahon)

12/04/2014

10:30 PM Ruby master Feature #10570 (Rejected): Allow `+=` etc. to be methods
In MRI, it is currently possible to create `#+=` methods in C extensions and even `+=` aliases for existing methods i... david_macmahon (David MacMahon)
05:11 PM Ruby master Misc #10560: confusion between x=x+y, x+=y, x.concat(y) and y.each{|z| x<<z}
I imagine that Python also lets one override the `+=` method. I think this is impossible on Ruby because I think it ... david_macmahon (David MacMahon)

11/26/2014

07:14 PM Ruby master Feature #10544: Time#to_i(:millisecond)
How about a more general `Time#to_i(scale=1)`?
Examples:
* Passing `1` for `scale` (or passing nothing) would r...
david_macmahon (David MacMahon)

10/13/2014

03:48 AM Ruby master Feature #10225: [PATCH] *math.c: New method Math.normcdf
On Oct 11, 2014, at 11:18 PM, mail@tanakakazuki.com wrote:

> Sorry for my late. It's hard to say but.. ruby-gsl d...
david_macmahon (David MacMahon)

09/17/2014

04:58 AM Ruby master Feature #10077: [PATCH] Implement Matrix#row_merge and Matrix#column_merge
On Sep 16, 2014, at 4:21 PM, mail@tanakakazuki.com wrote:

> So I propose `horz_merge` and `vert_merge`. Dose it m...
david_macmahon (David MacMahon)

Also available in: Atom