General

Profile

Hans Mackowiak

  • Email: hanmac@gmx.de
  • Registered on: 05/14/2011
  • Last connection: 04/28/2016

Issues

Activity

03/02/2016

11:16 AM Ruby trunk Feature #12134: Comparison between `true` and `false`
for the first case you can use #partition
```ruby
[7, 6, 5, 4, 3, 2, 1].partition{|e| Prime.prime?(e) }.flatten
...

02/05/2016

06:34 AM Ruby trunk Misc #12004: Code of Conduct
Question: if i get called a **"irrational, knee-jerk"** (that does ~~harass~~ hurt my feelings) does that violate the...

01/28/2016

11:06 AM Ruby trunk Bug #12029: Not all elements are yielded when count is given a block
you need splash:
```ruby
to_enum(:foo).count { |*e| e == [1, 2] } #=> 1
```

01/27/2016

04:38 AM Ruby trunk Misc #12004: Code of Conduct
Coraline Ada Ehmke wrote:
> All of these scaremongering posts about a Ruby CoC being abused reveals a deep distrust ...
04:18 AM Ruby trunk Misc #12004: Code of Conduct
what my problem is about such "PC" is:
first: i am from a country where law is: "innocent until proven wrong" (means...

01/20/2016

06:18 AM Ruby trunk Feature #11999: MatchData#to_h to get a Hash from named captures
@Shota: i do need to test your patch, but my case is a little bit different than yours.
because it can be nil, it se...

01/19/2016

08:11 AM Ruby trunk Feature #11999: MatchData#to_h to get a Hash from named captures
also interesting if you have a with | combined regexp where both of them does have a named capture:
```ruby
reg =...

12/17/2015

07:12 AM Ruby trunk Bug #11811: Chaining lazy enumerators causes duplicate ouput
i don't know if thats the cause of it, but it seems that it did break this thing https://bugs.ruby-lang.org/issues/11830
06:34 AM Ruby trunk Bug #11830: hash.each(&:destroy) dumps core
i think it has something to do with this fix:
https://bugs.ruby-lang.org/issues/11811
maybe the bug is caused by ...

12/11/2015

06:20 AM Ruby trunk Bug #11803: NoMethodError when calling String#gsub
first i dont think its a good idea in a to_s method to change the value of the object.
otherwise you need to use @in...

Also available in: Atom