General

Profile

MatzFan (Brian Cohen)

  • Login: MatzFan
  • Registered on: 05/18/2018
  • Last sign in: 08/29/2025

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 1 4 5

Activity

07/06/2025

05:20 PM Ruby Bug #21502: Segfault with 3.2.8 with frida gem
You just beat me to it - thanks Jeremy. MatzFan (Brian Cohen)
01:14 PM Ruby Bug #21502: Segfault with 3.2.8 with frida gem
Last good release running this code was 3.2.4. Segfault observed in 3.2.5 onwards - see my comment on the gem maintainer's page: https://github.com/hakivvi/frida-ruby/issues/2#issuecomment-3041319068 MatzFan (Brian Cohen)
12:44 PM Ruby Bug #21502 (Closed): Segfault with 3.2.8 with frida gem
I've just seen a segfault executing the following code in irb with the frida gem:
``` shell
$ rbenv versions
* 3.2.8 (set by /home/me/.rbenv/version)
$ gem install frida
Fetching frida-0.1.1.gem
Building native extensions. This c...
MatzFan (Brian Cohen)

04/30/2025

07:16 PM Ruby Feature #21284: Request: add `Array#pad` method
> What should happen if the size is smaller than what currently set?
If the `pad_to_length` argument is less than or equal to the array's current size the array is returned unchanged. If it is larger, elements of the specified kind ar...
MatzFan (Brian Cohen)

04/27/2025

09:35 AM Ruby Feature #21284: Request: add `Array#pad` method
No worries, I thought it was some new syntax I was not aware of! MatzFan (Brian Cohen)

04/25/2025

07:35 AM Ruby Feature #21284: Request: add `Array#pad` method
When I try and run that code, e.g.
``` ruby
[1, 2, 3].fill(nil, -1^..10)
```
``` shell
'Integer#^': Range can't be coerced into Integer (TypeError)
```
In any case `pad(10)` is much prettier IMHO.
MatzFan (Brian Cohen)
12:16 AM Ruby Feature #21284 (Open): Request: add `Array#pad` method
A method to pad an array of arbitrary length with objects up to a specified array size does not currently exist.
`Array#fill` does not do this and I therefore propose the following method:
``` ruby
class Array
def pad(pad_to_le...
MatzFan (Brian Cohen)

09/05/2024

02:36 PM Ruby Feature #20673: Enable native SOCKS support by default
@nobu there has perhaps been a misunderstanding. The `socksify` library works adequately for HTTP today, but it patches a private method in the `Net::HTTP` class. This makes any code built using `socksify` very fragile and potentially su... MatzFan (Brian Cohen)

08/10/2024

08:04 PM Ruby Feature #20673 (Feedback): Enable native SOCKS support by default
I'd like to see future Rubies have native SOCKS support enabled by default.
Currently Rubies must be compiled with the `--enable-socks=true` option in order to provide access to the `SOCKSSocket` class, through which network connectio...
MatzFan (Brian Cohen)

06/14/2024

04:28 PM Ruby Bug #20581 (Closed): Ruby 3.3.3 install has missing deps for bundled net-pop gem
A stackoverflow question and answer has identified an issue with the Ruby 3.3.3 install which can cause a failure when bundler installs gem dependencies.
https://stackoverflow.com/a/78620570/4114896
A workaround has been described....
MatzFan (Brian Cohen)

Also available in: Atom