General

Profile

olleicua (Antha Auciello)

  • Login: olleicua
  • Email: olleicua@gmail.com
  • Registered on: 11/30/2013
  • Last sign in: 09/28/2022

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 2 2

Activity

06/14/2022

03:31 AM Ruby Feature #18183: make SecureRandom.choose public
> - `Random::Formatter#from_set(set, n = 16)` (or `Random::Formatter#from_set(n = 16, set: …)`)
I like `Random::Formatter#from_set` or `Random::Formatter#from_alphabet` because `from` makes it clear what the purpose of the additional ...
olleicua (Antha Auciello)

09/21/2021

10:26 PM Ruby Feature #18183: make SecureRandom.choose public
Pull request here: https://github.com/ruby/ruby/pull/4878 olleicua (Antha Auciello)
09:55 PM Ruby Feature #18183 (Closed): make SecureRandom.choose public
This issue https://bugs.ruby-lang.org/issues/10849
added `SecureRandom.alphanumeric` and also the private method choose.
`choose` was kept private because the method name wasn't the best name to represent the behavior.
I think if it w...
olleicua (Antha Auciello)

09/15/2015

06:49 PM Ruby Bug #11528: Possible parsing bug. Possibly just confusing.
I'm realizing this is probably intentional: http://blog.plataformatec.com.br/2014/07/ruby-blocks-precedence/
It looks like I'm not allowed to close my own bug. Sorry for the distraction.
olleicua (Antha Auciello)
06:36 PM Ruby Bug #11528 (Rejected): Possible parsing bug. Possibly just confusing.
Not sure if this is intentional behavior but I found it confusing:
code:
~~~ruby
def render(args)
p args.to_a
end
print 'functionally (without parentheses): '
render "foobar".length\
.to_s(2)\
.split('')\...
olleicua (Antha Auciello)

12/06/2014

07:14 PM Ruby Bug #10450: multiple assignment in conditional
It seems wierd to me that this is a syntax error.
~~~
def foo
a,b = (1,2)
end
if foo
put 'hello'
end
~~~
Is fine but removing the abstraction is a syntax error. This seems like.. not the point of syntax. A Warning make...
olleicua (Antha Auciello)

Also available in: Atom