General

Profile

Hanmac (Hans Mackowiak)

  • Login: Hanmac
  • Email: hanmac@gmx.de
  • Registered on: 05/14/2011
  • Last sign in: 02/21/2024

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 3 29 32

Activity

08/29/2024

02:10 PM Ruby master Feature #20705: Should "0.E-9" be a valid float value?
we need to be careful with this, because while `0.1E-9` is also a valid ruby literal,
`0.E-9` is not. (unknown metho...
Hanmac (Hans Mackowiak)

08/26/2024

09:07 AM Ruby master Feature #20692: Rewrite Array#bsearch in Ruby
`find_minimum_mode = finder || !finder` isn't this always true? Hanmac (Hans Mackowiak)

08/14/2024

12:50 PM Ruby master Feature #20676: Pathnames aren't Comparable
nobu (Nobuyoshi Nakada) wrote in #note-2:
> Probably you may want to do:
>
> ```ruby
> (Pathname("/a/b/c").to_s+...
Hanmac (Hans Mackowiak)

07/22/2024

04:00 PM Ruby master Bug #20614: Integer#size returns incorrect values on 64-bit Windows
@eragon might be because of FLONUM using the other half?
But the restriction of only half of 64-bit is way older t...
Hanmac (Hans Mackowiak)

10/26/2023

10:56 AM Ruby master Feature #8520: Distinct to_s methods for Array, Hash...
p8 (Petrik de Heus) wrote in #note-5:
> There is an open issue in Rails to limit `ActiveRecord::Base#inspect` for pe...
Hanmac (Hans Mackowiak)

10/25/2023

07:44 AM Ruby master Bug #19916: URI#to_s can serialize to a value that doesn't deserialize to the original
to_s is not serialize / deserialize
also it is not guarantied that to_s returns a string that is parsable
Hanmac (Hans Mackowiak)

06/15/2023

07:38 AM Ruby master Feature #19315: Lazy substrings in CRuby
it confused me too, i thought Copy On Write was default for shared strings
https://patshaughnessy.net/2012/1/18/se...
Hanmac (Hans Mackowiak)

04/06/2023

07:23 AM Ruby master Bug #19583: Unary minus inconsistency when used with variables and literals
`-2` is a literal
`- 2` is a function call of `-@`
and -@ doesn't have preference over function call, see this:
...
Hanmac (Hans Mackowiak)

03/01/2023

12:55 PM Ruby master Bug #19470: Frequent small range-reads from and then writes to a large array are very slow
i think maybe the GC could optimize something?
```
100000.times do
arr[0..3] #=> GC notices that the result is...
Hanmac (Hans Mackowiak)

02/17/2023

03:49 PM Ruby master Bug #19448: [Hash] Using Set as default value
That's is known limitation when using Hash default value
Also your problem is that `<<` would alter the same objec...
Hanmac (Hans Mackowiak)

Also available in: Atom