Activity
From 08/31/2016 to 09/06/2016
09/06/2016
-
11:23 PM Feature #12655: Accessing the method visibility
- Thanks Shyouhei! I believe I need the 2 methods Nobu has implemented in this patch here to implement Looksee entirely...
-
09:23 PM Feature #12142: Hash tables with open addressing
- Yura Sokolov wrote:
> Vladimir's branch sometimes faster cause it uses simplified (but fast on 64bit)
> unseeded ha... -
09:12 PM Feature #12142: Hash tables with open addressing
- Satoru Horie wrote:
>
> I run benchmarks on my environment. The result are following.
>
Thank you for benchma... -
08:39 PM Bug #12402: Inline rescue behavior inconsistent for method calls with arguments and assignment
- Will this be backported?
-
07:53 PM Misc #12730: Documentation String.slice!(regex)
- James Britt Pointed out to me that:
> The example in the docs shows a sequence of operations on the same string in... -
07:43 PM Misc #12730 (Rejected): Documentation String.slice!(regex)
- at http://ruby-doc.org/core-2.2.0/String.html#method-i-slice-21
In the example
string = "this is a string"
strin... -
06:26 PM Bug #12729 (Closed): crash after refining private method to public
- If I am using a refinement to make a private method into a public one, and I call the method, then Ruby crashes. Here...
-
01:54 PM Bug #12728 (Rejected): Negative lookahead does not work for "+" even though works for "@"
- I'll attach a test program that shows the effect. Basically, if I have a negative lookahead in the regex like (?!@) ...
-
01:41 PM Bug #12727 (Rejected): Segfault when subclassing Thread with bad initialize
-
12:28 PM Bug #12727 (Rejected): Segfault when subclassing Thread with bad initialize
- I imagine that this is a really unlikely problem to encounter in real code, but...
~~~ ruby
class MyThing < Threa... -
05:21 AM Feature #12676: Significant performance increase, and code conciseness, for prime_division method in prime.rb
- Here is an additional coding efficiency speedup.
By testing whether the number is prime or '1' immediately after e...
09/05/2016
-
12:46 PM Bug #12726 (Closed): OpenSSL::PKCS12.new がプライベートキーを含まないデータでエラーになる
- ありがとうございます。
同様に x509 も NULL になる場合があり、それもあわせて ruby/openssl に取り込みました。
https://github.com/ruby/openssl/commit/68ca... -
06:45 AM Bug #12726 (Closed): OpenSSL::PKCS12.new がプライベートキーを含まないデータでエラーになる
- 次のように作成したプライベートキーを含まない pfx ファイルを、
```
% openssl pkcs12 -export -out hoge.pfx -in hoge.pem -nokeys
Enter Export P... -
12:08 PM Feature #12142: Hash tables with open addressing
- Vladimir's branch sometimes faster cause it uses simplified (but fast on 64bit)
unseeded hash for FIXNUM and FLOAT. ... -
01:09 AM Feature #12142: Hash tables with open addressing
- Hello, everyone.
I want to help to merge these excellent results into trunk.
I’m now reviewing both codes, and tr... -
05:14 AM Bug #12725: Trying to use ./miniruby before it exists
- When trying to compile ruby from a fresh checkout, with the Unicode version changed to 9.0.0, I get the following err...
-
05:04 AM Bug #12725 (Assigned): Trying to use ./miniruby before it exists
-
02:58 AM Feature #12719: `Struct#merge` for partial updates
- Update ChangeLog
-
01:22 AM Feature #12719: `Struct#merge` for partial updates
- Since merge closely resembles the similar hash function, I think it makes sense to also add `merge!` as a function. I...
-
01:35 AM Bug #12724 (Closed): Net::HTTP#post_form and #get_response do not use ENV proxy as default
- `Net::HTTP#post_form` and `#get_response` use `HTTP.start`, without passing any proxy args to it. As a result, the EN...
09/04/2016
-
04:59 PM Feature #12317: Name space of a module
- I guess the core question is "what is a namespace?"
For example, take this Ruby code:
~~~ruby
foo = Class.new
... -
04:40 PM Feature #12578: Instance Variables Assigned In parameters ( ala Crystal? )
- By the way, just as a historical note: up to and including Ruby 1.8.7, you could actually do this:
~~~ruby
define... -
04:35 PM Feature #12607: Ruby needs an atomic integer
- Tsuyoshi Sawada wrote:
> Do we want to have another integer variant just after having `Fixnum` and `Bignum` been exc... -
04:27 PM Feature #12721: public_module_function
- If `module_function` returned its argument(s), we could write
~~~ruby
module Foo
public module_function def hi... -
04:21 PM Misc #12722: Localizing Ruby
- Is that really necessary? Sure, the keywords are derived from English, but they aren't English, they are Ruby. `class...
-
01:36 AM Misc #12722: Localizing Ruby
- To change "reserved words", you have to modify (or add) `defs/keywords` file and rebuild.
And if your words contain ... -
04:21 PM Bug #12670: Segmentation fault on `Magick::Image#get_pixels` on ruby since ruby-2.2
- I got it.
SEGV is raised from gc_marks_continue(), line 5426: `slots = heap->free_pages->free_slots`,
as pointed by... -
02:35 AM Bug #12718 (Assigned): BigDecimal() should raise on invalid input, consistent with Integer() and Float()
09/03/2016
-
09:32 PM Misc #12722 (Third Party's Issue): Localizing Ruby
- I would like to teach Ruby in kids. However, the kids I am aiming for don't speak English and their age is below 10. ...
-
06:07 AM Feature #12721: public_module_function
- ```ruby
class Bar
include Foo
public :hi
end
``` -
05:08 AM Feature #12721 (Rejected): public_module_function
- Hello ruby core,
This is about `module_function()`. As the documentation rightfully
states, it adds a private met... -
01:37 AM Feature #12719: `Struct#merge` for partial updates
- Updated so it won't segfault
09/02/2016
-
08:20 PM Feature #12676: Significant performance increase, and code conciseness, for prime_division method in prime.rb
- A simplification.
Because the cli command ``factor`` handles the values '0' and '1' correctly we can
eliminate th... -
07:48 PM Feature #12142: Hash tables with open addressing
- Eric Wong wrote:
> ko1, nobu, others anybody have time to review and compare these
> hash implementations?
>
>... -
06:44 PM Feature #12142: Hash tables with open addressing
- ko1, nobu, others anybody have time to review and compare these
hash implementations?
I've been using vmakarov's... -
04:22 PM Feature #12719: `Struct#merge` for partial updates
- Thanks, nice catch. I'll update this tomorrow to not segfault.
-
03:38 PM Feature #12719: `Struct#merge` for partial updates
- In your example, the value in the LHS is ignored when the same key is present in the RHS hash.
It doesn't feel nice ... -
01:11 PM Feature #12719: `Struct#merge` for partial updates
- As an alternative since the `|` syntax might get shot down. Here's a patch adding a merge function instead:
~~~ ru... -
09:32 AM Feature #12719: `Struct#merge` for partial updates
- If this is well received I think a similar syntax could be used for hashes in place of `merge`.
-
09:27 AM Feature #12719 (Feedback): `Struct#merge` for partial updates
- Other languages have operators for performing partial updates on maps. I feel like Struct could be more useful if it ...
-
03:28 PM Feature #6183: Enumerator::Lazy performance issue
- I rebased the branch (and fixed a bug in the trunk).
Seems 30~40% faster than the current implementation. -
10:56 AM Bug #12720 (Third Party's Issue): Ruby segmentation issue
- => Booting Thin => Rails 4.2.6 application starting in development on http://localhost:4000 => Run rails server -h fo...
09/01/2016
-
06:10 PM Feature #6183: Enumerator::Lazy performance issue
- As of today, Enumerable::Lazy is pretty much still unused because of the performance hit. Is there anything I could d...
-
02:59 PM Bug #12718: BigDecimal() should raise on invalid input, consistent with Integer() and Float()
- Oops it ate my bigdecimal output
BigDecimal("2.2") # => BigDecimal '0.22E1',18(18)
BigDecimal("invalid") # => Big... -
02:58 PM Bug #12718 (Closed): BigDecimal() should raise on invalid input, consistent with Integer() and Float()
- ```ruby
Integer("2") # => 2
Integer("invalid") # raises ArgumentError: invalid value for Integer()
Float("2.0") ... -
02:36 PM Bug #12717 (Closed): Optional argument treated as kwarg
- When you define a method with an optional argument and keyword arguments (whether explicitly or with options splat) t...
-
09:40 AM Bug #12716: Array#values_at fails for large argument size
- Feel free to submit that feature request.
-
06:54 AM Bug #12716: Array#values_at fails for large argument size
- Nobuyoshi Nakada wrote:
> Arguments consume the system stack.
Why not modify the function slightly such that it c...
08/31/2016
-
09:56 PM Bug #12716 (Rejected): Array#values_at fails for large argument size
- Arguments consume the system stack.
-
05:48 PM Bug #12716: Array#values_at fails for large argument size
- Say I have this Array:
~~~ ruby
a = [1] * 400_000
~~~
Now, I call Array#values_at in this way:
~~~ ruby
a... -
05:44 PM Bug #12716 (Rejected): Array#values_at fails for large argument size
- Say I have this Array:
~~~ ruby
a = [1] * 140_000
~~~
Now, I call Array#values_at in this way:
~~~ ruby
a... -
01:58 PM Bug #12707 (Closed): Ripper is not built due to missing bison
- I don't observer this issue anymore. This was probably part of the issues resolved in #12681.
-
12:29 PM Bug #12681 (Closed): Gemfied tk issue
- It seems that r56049 and r56050 fixes the remaining issues for me. Thx.
-
11:53 AM Bug #12681 (Assigned): Gemfied tk issue
- Vit Ondruch wrote:
> Also, I think that the removal of `FileUtils::makedirs("#$extout/gems")` [4] should be enough t... -
06:36 AM Bug #12681 (Closed): Gemfied tk issue
- Applied in changeset r56047.
----------
mkmf.rb: TARGET_SO_DIR
* ext/extmk.rb: move TARGET_SO_DIR stuffs to mkmf.rb... -
11:58 AM Bug #12371: Windows Nano Server WIN32OLE compatibility
- Ethan, It's not easy for me to use CoInitializeEx instead of OleInitialize.
I had tried to use CoInitializeEx(NULL, ... -
01:22 AM Feature #12715: Allow ruby hackers to omit having to specify class or module mandatory, if they know exactly what they want to do
- In addition, the error message is extremely straightforward, and the fix is extremely easy, so the benefit of this is...
-
01:21 AM Feature #12715: Allow ruby hackers to omit having to specify class or module mandatory, if they know exactly what they want to do
- I agree with Nobu that this is too minor an issue to introduce a new keyword.
Also, Robert wrote: "I do have to kn...
Also available in: Atom