mwpastore (Mike Pastore)
- Login: mwpastore
- Email: mike@oobak.org
- Registered on: 10/06/2015
- Last sign in: 09/27/2016
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 1 | 3 | 4 |
Activity
05/25/2016
-
06:13 AM Ruby Bug #9569: SecureRandom should try /dev/urandom first
- Yui NARUSE wrote:
> Mike Pastore wrote:
> ...
What? No, it uses RbNaCl.random_bytes instead of OpenSSL's RAND_bytes.
05/24/2016
-
10:23 PM Ruby Bug #9569: SecureRandom should try /dev/urandom first
- Yui NARUSE wrote:
> Anyway I'm creating a securerandom.gem which uses arc4random_buf internally like libressl RAND_bytes.
> ...
You might want to take a look at (shameless self-plug, sorry) https://github.com/mwpastore/securer_randomer...
11/22/2015
-
09:40 PM Ruby Feature #11731: Make ruby gem install to user-install by default
- Aren't most people using rvm or rbenv/bundler to address this need?
11/17/2015
-
11:28 PM Ruby Bug #11705 (Rejected): Namespace resolution in nested modules with short syntax
- Given the following definition:
~~~
module Foo
class Qux
def self.hello
'Hello, world!'
end
end
end
~~~
Namespace resolution at a later time works differently when you have nested modules, e.g.
~~~
mod...
11/13/2015
-
02:26 AM Ruby Feature #11473: Immutable String literal in Ruby 3
- Has anyone suggested introducing new quote-like operators to define mutable strings in Ruby 2.3 (with immutable string pragma) and 3.0? I was thinking something like:
~~~
# immutable without interpolation
'foo'
%q{foo}
# immutab...
11/07/2015
-
03:59 AM Ruby Bug #11659: Strange behavior setting previously-undefined local variables with a statement modifier
- That's not a typo. :-) I wanted to intentionally compare and contrast between a scenario where the same variable was being checked and set (#2) and a scenario where two different variables are in play (#4).
I understand about the par...
11/05/2015
-
06:43 AM Ruby Bug #11659 (Rejected): Strange behavior setting previously-undefined local variables with a statement modifier
- Consider a previously-undefined local variable `var1`:
~~~
irb(main):001:0> if defined?(var1).nil?; var1 = 'default'; end; var1
=> "default"
~~~
Consider previously-undefined local variables `var1` and `var2`:
~~~
irb(main):...
11/03/2015
-
07:44 AM Ruby Bug #11648 (Closed): Undocumented features of String#oct
- String#oct will adjust the base of the stringy number being converted to 2 (if prefixed with 0B), 8 (also the default, if prefixed with 0O), 10 (if prefixed with 0D), or 16 (if prefixed with 0X). Much to my surprise this behavior is not ...
10/06/2015
-
04:52 PM Ruby Misc #11570 (Open): Clarify autoload chaining behavior
- I've discovered a discrepancy between how MRI 2.1.7 and 2.2.3 handle autoload "chaining" (which I'll describe below) cf. RBX 2.5.8. I opened [an issue](https://github.com/rubinius/rubinius/issues/3513) with them but the lead contributor ...