david_macmahon (David MacMahon)




06:52 AM Ruby trunk 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...


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


07:28 AM Ruby trunk 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...
12:56 AM Ruby trunk Feature #10570: Allow `+=` etc. to be methods
David MacMahon wrote:
> Yukihiro Matsumoto wrote:
> > For example, how can we define `Integer#+=`?
> Immutable...
12:48 AM Ruby trunk 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...


10:30 PM Ruby trunk 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...
05:11 PM Ruby trunk 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 ...


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


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

> Sorry for my late. It's hard to say but.. ruby-gsl d...


04:58 AM Ruby trunk Feature #10077: [PATCH] Implement Matrix#row_merge and Matrix#column_merge
On Sep 16, 2014, at 4:21 PM, wrote:

> So I propose `horz_merge` and `vert_merge`. Dose it m...

Also available in: Atom