Project

General

Profile

Activity

From 05/15/2013 to 05/21/2013

05/21/2013

10:43 PM Feature #8430: Rational number literal
I updated the patch for fixing negative rational numbers:
https://github.com/mrkn/ruby/commit/b16f4da893c1cb68058098...
mrkn (Kenta Murata)
10:31 PM Feature #8430 (Closed): Rational number literal
I would like to propose a new literal syntax for rational numbers.
The implementation is available in my github repo...
mrkn (Kenta Murata)
10:00 PM Bug #8115: make install DESTDIR=/my/install/path fails
This is still issue for -p195 :/ vo.x (Vit Ondruch)
05:50 PM Feature #8331: Update config.guess and config.sub for AArch64 (ARM64)
Would be nice to have this for Fedora/RHEL. Here is related Fedora bug [1] and ML discussion [2, 3]. Thanks.
[1]...
vo.x (Vit Ondruch)
04:34 PM Feature #8361: Alternative syntax for block parameter
=begin
I do not mind this being closed, i do not see how this can be made consistent with the existing syntax, and pr...
alexeymuranov (Alexey Muranov)
12:54 PM Feature #8429 (Closed): Options requests in net/http should be able to accept a response body
As it is currently implemented, Net::HTTP::Options does not allow responses to OPTIONS requests to have a response bo... cpr (Chris Rice)
07:53 AM Feature #5458: DL should be removed
On Mon, May 20, 2013 at 07:55:11AM +0900, Zachary Scott wrote:
> The Win32 stuff is largely undocumented, but I re...
Anonymous
01:53 AM Feature #8426: Implement class hierarchy method caching
Charlie Somerville <[email protected]> wrote:
> > I prefer `st_' related name. But not strong opinion....
normalperson (Eric Wong)

05/20/2013

10:19 PM Bug #8037: rdoc issues preventing docs generating after ruby was compiled
it's fixed in rdoc but not in ruby, ruby-2.0.0-p195 is still shipped with the broken rdoc 4.0.0 mpapis (Michal Papis)
08:52 PM Bug #8037 (Closed): rdoc issues preventing docs generating after ruby was compiled
These issues seemed to have been resolved in the RDoc tracker, please update the ticket there if you still experience... zzak (zzak _)
07:23 PM Feature #8426: Implement class hierarchy method caching
On Monday, 20 May 2013 at 7:39 PM, SASADA Koichi wrote:
> Is it huge performance bottleneck? I think branch on inl...
Anonymous
07:10 PM Feature #8426: Implement class hierarchy method caching
ko1 (Koichi Sasada) wrote:
> (2013/05/20 18:21), Charlie Somerville wrote:
> > funny_falcon explained this well. I...
funny_falcon (Yura Sokolov)
06:53 PM Feature #8426: Implement class hierarchy method caching
(2013/05/20 18:21), Charlie Somerville wrote:
> funny_falcon explained this well. It's significantly faster in thi...
ko1 (Koichi Sasada)
06:29 PM Feature #8426: Implement class hierarchy method caching
(2013/05/20 16:23), funny_falcon (Yura Sokolov) wrote:
> "sparse array" - is a lightweight hash structure which ma...
ko1 (Koichi Sasada)
06:23 PM Feature #8426: Implement class hierarchy method caching
On Monday, 20 May 2013 at 1:35 PM, SASADA Koichi wrote:
> Could you explain the data stracture? Patch seems to int...
Anonymous
06:23 PM Feature #8426: Implement class hierarchy method caching
On Monday, 20 May 2013 at 5:28 PM, funny_falcon (Yura Sokolov) wrote:
> Charlie, why sa_index_t is uint64_t ? it r...
Anonymous
04:28 PM Feature #8426: Implement class hierarchy method caching
Charlie, why sa_index_t is uint64_t ? it really should be 32bit for better CPU cache locality.
Yes, it will limits I...
funny_falcon (Yura Sokolov)
04:23 PM Feature #8426: Implement class hierarchy method caching
Good day, Koichi
"sparse array" - is a lightweight hash structure which maps 32bit integers to st_data_t values.
...
funny_falcon (Yura Sokolov)
12:53 PM Feature #8426: Implement class hierarchy method caching
Great work!

Could you explain the data stracture? Patch seems to introduce new data
structure `sparse array'....
ko1 (Koichi Sasada)
11:22 AM Feature #8426: Implement class hierarchy method caching
Here are some raw benches comparing Ruby-Head with KclassCache
TLDR;
Noticeable improvement over head.
Disco...
sam.saffron (Sam Saffron)
10:23 AM Feature #8426: Implement class hierarchy method caching
Hello Charlie,

This sounds very promising, as it should make Ruby faster. Any idea how
much faster? And are ...
duerst (Martin Dürst)
01:20 PM Bug #8425: webrick show local filesystem charset bug
@nobu,
webrick\httputils.rb
def _unescape(str, regex)
str = str.b
str.gsub!(regex) {$1.hex.chr...
windwiny (wind winy)
10:40 AM Bug #8425 (Closed): webrick show local filesystem charset bug
This issue was solved with changeset r40848.
wind, thank you for reporting this issue.
Your contribution to Ruby is g...
nobu (Nobuyoshi Nakada)
10:22 AM Bug #8358: TestSprintf#test_float test failure
As I wrote in #8299, up to nobu.
Our choice will be one of the following:
* add _control87(_PC_53, _MCW_PC) (or i...
naruse (Yui NARUSE)
03:26 AM Bug #8358 (Assigned): TestSprintf#test_float test failure
naruse: Can we commit the patch? luislavena (Luis Lavena)
10:16 AM Bug #8427: gets method truncates strings longer than 255 characters in Windows 7
This bug is caused by changesets r28035, r29980 and r30280.
Here is a possible workaround patch:
diff --git a/w...
phasis68 (Heesob Park)
07:46 AM Bug #8427 (Closed): gets method truncates strings longer than 255 characters in Windows 7
When using the gets method from a Windows 7 command line (or XP according to other users), long input strings are tru... jen (Jen Marsh)
08:03 AM Bug #8428 (Closed): Date#to_time yields incorrect value for Julian dates
=begin
Date instances with Julian day values that precede the calendar reform start day (i.e. #julian? == true), ret...
teleological (Riley Lynch)
07:59 AM Feature #5458: DL should be removed
The Win32 stuff is largely undocumented, but I remember ngoto-san
moved a lot of it to Fiddle already?
zzak (zzak _)
03:32 AM Feature #5458: DL should be removed
tenderlovemaking (Aaron Patterson) wrote:
> DL is deprecated in trunk. To maintain backwards compatibility, I've mo...
luislavena (Luis Lavena)
07:37 AM Bug #8182 (Assigned): XMLRPC request fails with "Wrong size. Was 31564, should be 1501"
I've attached Duncan's patch from github, so we can close the pull request. zzak (zzak _)
04:59 AM Bug #8392 (Closed): stdlib's 'forwardable' documentation has a bad example
This issue was solved with changeset r40839.
Joe, thank you for reporting this issue.
Your contribution to Ruby is gr...
zzak (zzak _)
03:44 AM Bug #7807 (Assigned): [PATCH] Remove duplicated load paths when empty version string is configured
luislavena (Luis Lavena)
03:40 AM Bug #8159: Build failure introduced by Rinda changes
Rinda failure now seems to be related to ifindex() being missing:
http://ci.rubyinstaller.org/job/ruby-trunk-x86-t...
luislavena (Luis Lavena)
12:02 AM Feature #8324: Net::Telnet.new のオプション
そうなるとキーワード引数でも受け付けるのはどうか、という議論も出てきそうですね。 ayumin (Ayumu AIZAWA)

05/19/2013

10:20 PM Bug #8320 (Third Party's Issue): Ruby interpreter crashes when running pcaprub
Hello,
It seems that pcaprub contains an extension library and Segmentation fault was occurred inside it.
Please ...
nagachika (Tomoyuki Chikanaga)
07:44 PM Feature #8426 (Closed): Implement class hierarchy method caching
=begin
This patch adds class hierarchy method caching to CRuby. This is the algorithm used by JRuby and Rubinius.
...
Anonymous
11:34 AM Bug #8425 (Closed): webrick show local filesystem charset bug
Shell command
ruby -run -e httpd Dir1
run a webrick http server, can not show no 8bit-ascii directory/file ...
windwiny (wind winy)
12:40 AM Feature #8393: A class who's parent class is in a module can go wrong if files are required in the wrong order
> The warning could happen at initialization, but if a constant inside the module is added, IMO it should be inherite... nobu (Nobuyoshi Nakada)

05/18/2013

11:31 PM Feature #8422: add Enumerable#reverse_sort and Enumerable#reverse_sort_by
matz (Yukihiro Matsumoto) wrote:
> It can be done by `a.sort{|a,b| b<=>a}`.
That will typically be much slower th...
marcandre (Marc-Andre Lafortune)
06:46 PM Feature #8422 (Feedback): add Enumerable#reverse_sort and Enumerable#reverse_sort_by
It can be done by `a.sort{|a,b| b<=>a}`. Do we really need to define new methods?
Matz.
matz (Yukihiro Matsumoto)
05:09 PM Feature #8422 (Feedback): add Enumerable#reverse_sort and Enumerable#reverse_sort_by
they are better when you want descending order,
enum.sort.reverse
does work too, but it is to slow because it nee...
Hanmac (Hans Mackowiak)
08:16 PM Feature #8414 (Closed): String#scrub!
This issue was solved with changeset r40810.
Yui, thank you for reporting this issue.
Your contribution to Ruby is gr...
naruse (Yui NARUSE)
07:49 AM Feature #8414: String#scrub!
いいんじゃないでしょうか。
Matz.
matz (Yukihiro Matsumoto)
06:53 PM Feature #8421 (Feedback): add Enumerable#find_map and Enumerable#find_all_map
Could you tell me a concrete use-case of your find_map and find_all_map?
Usually a block for find/find_all gives boo...
matz (Yukihiro Matsumoto)
05:03 PM Feature #8421 (Feedback): add Enumerable#find_map and Enumerable#find_all_map
currently if you have an Enumerable and you want to return the return value of #find you need eigther:
(o = enum.f...
Hanmac (Hans Mackowiak)
05:21 PM Feature #6721: Object#yield_self
I have checked if by any chance Haskell had it, apparently it doesn't: http://stackoverflow.com/questions/4090168/is-... alexeymuranov (Alexey Muranov)
05:41 AM Feature #6721: Object#yield_self
nobu (Nobuyoshi Nakada) wrote:
> I'm not against the feature itself, but don't like the name.
+1 to this opinion
Anonymous
11:07 AM Bug #8417: assert_in_epsilon(-1, -1) failed
> It is a test-unit gem bug.
> I'll fix it in test-unit gem!
I noticed that just now.. Thanks in advance!
no6v (Nobuhiro IMAI)
11:01 AM Bug #8417: assert_in_epsilon(-1, -1) failed
Oh, I'm verry sorry, but I used test-unit external gem (2.5.4).
After removing it, the test-unit default gem (2.0.0....
no6v (Nobuhiro IMAI)
10:58 AM Bug #8417 (Rejected): assert_in_epsilon(-1, -1) failed
It is a test-unit gem bug.
I'll fix it in test-unit gem!
kou (Kouhei Sutou)
09:59 AM Bug #8417 (Feedback): assert_in_epsilon(-1, -1) failed
I can't reproduce it.
And that failure message seems different.
What version of test/unit are you using?
nobu (Nobuyoshi Nakada)
06:53 AM Bug #8417: assert_in_epsilon(-1, -1) failed
=begin
Oops, I forgot to show the result.
require "minitest/unit"
MiniTest::Unit::TestCase.new(?-).assert_in...
no6v (Nobuhiro IMAI)
06:46 AM Bug #8417 (Rejected): assert_in_epsilon(-1, -1) failed
=begin
assert_in_epsilon(-1, -1) failed as below:
require "test/unit"
class AssertInEpsilonTest < Test::Unit...
no6v (Nobuhiro IMAI)
10:01 AM Bug #8418 (Rejected): when all params are optional, named arg hash maps to the first available param
That's the reason that keyword argument is introduced. nobu (Nobuyoshi Nakada)
08:29 AM Bug #8418: when all params are optional, named arg hash maps to the first available param
that would also make it correspond to the new syntax
irb(main):034:0> def foo(arg = 1, **options); {arg: arg, opti...
rits (First Last)
08:20 AM Bug #8418 (Rejected): when all params are optional, named arg hash maps to the first available param
irb(main):028:0> def foo(arg = 1, options = {}); {arg: arg, options: options}; end; foo(a: 1)
=> {:arg=>{:a=>1}, :op...
rits (First Last)
04:49 AM Feature #3620: Add Queue, SIzedQueue and ConditionVariable implementations in C in addition to ruby ones
=begin
You can use (({rb_funcall2()})) instead here.
- return rb_funcall(p->argv[0], rb_intern("sleep"), p->argc-...
nobu (Nobuyoshi Nakada)
03:11 AM Feature #6183: Enumerator::Lazy performance issue
Sure, feel free to clean old files. Thanks! gregolsen (Innokenty Mikhailov)

05/17/2013

11:19 PM Feature #3620: Add Queue, SIzedQueue and ConditionVariable implementations in C in addition to ruby ones
Here is benchmark results.
I used the code same as [ruby-core:45871].
( https://raw.github.com/panaggio/rubysoc-201...
Glass_saga (Masaki Matsushita)
10:59 PM Feature #3620: Add Queue, SIzedQueue and ConditionVariable implementations in C in addition to ruby ones
I fixed some bugs:
(1) blocking forever bug pointed out by ko1 in [ruby-core:45950]
(2) SEGV in do_sleep()
(3) Siz...
Glass_saga (Masaki Matsushita)
09:42 PM Feature #6183: Enumerator::Lazy performance issue
@gregolsen Thank you! I will try to review this soon, before you have to rebase again ;)
Mind if I delete the old ...
zzak (zzak _)
05:48 AM Feature #6183: Enumerator::Lazy performance issue
Finally managed to merge. Please see latest diff attached. gregolsen (Innokenty Mikhailov)
09:39 PM Bug #8412: Small Documentation Fix for Fiddle Module
Hi Steven, What typo are you referring to?
Please provide a link to the document, like on ruby-doc.org, or github,...
zzak (zzak _)
05:53 PM Feature #6721: Object#yield_self
(13/05/17 17:01), aleph1 (Elias Levy) wrote:
> map may be the best choice, as its already used in enumerables and ...
nobu (Nobuyoshi Nakada)
05:01 PM Feature #6721: Object#yield_self
nobu (Nobuyoshi Nakada) wrote:
> I'm not against the feature itself, but don't like the name.
At its core this fe...
aleph1 (Elias Levy)
04:38 PM Feature #8414 (Closed): String#scrub!
r40390 [Feature #6752] で で追加した String#scrub ですが、破壊的メソッド版も追加していいでしょうか。
lib/uri/common.rb いじっていて、欲しくなったので。
naruse (Yui NARUSE)
02:25 PM Bug #8358: TestSprintf#test_float test failure
The author describes that it is necessary to specify double-precision (53-bit) rounding precision before invoking str... h.shirosaki (Hiroshi Shirosaki)
12:50 PM Bug #8347 (Closed): Couldn't find file to include 'lib/rake/doc/README.rdoc' from ../lib/rake/version.rb
Fixed by r40535, looked like it wasn't working in ri because of excess whitespace before readme starts when using "ri... zzak (zzak _)

05/16/2013

07:26 PM Bug #8412 (Closed): Small Documentation Fix for Fiddle Module
Just correcting a typo in the Fiddle module. It is in the intro to the module and makes it look untidy. sjc (Steven Cook)
07:01 PM Feature #8394 (Assigned): use String#b instead of dup.force_encoding("ASCII-8BIT")
xibbar (Takeyuki FUJIOKA)
07:01 PM Feature #8394 (Closed): use String#b instead of dup.force_encoding("ASCII-8BIT")
This issue was solved with changeset r40786.
Kazuhiro, thank you for reporting this issue.
Your contribution to Ruby ...
xibbar (Takeyuki FUJIOKA)
06:30 PM Bug #8182: XMLRPC request fails with "Wrong size. Was 31564, should be 1501"
I sent a pull request about this bug: https://github.com/ruby/ruby/pull/308 duncan (Duncan Mac-Vicar P.)
11:38 AM Feature #5458: DL should be removed
@ngoto Looking from the target, seems like this will be removed on 2.1.0 (next minor) sikachu (Prem Sichanugrist)
11:28 AM Feature #5458: DL should be removed
When DL is removed? ngoto (Naohisa Goto)
08:29 AM Bug #8411 (Rejected): Wrong value returned when arity called on a method created through define_method with default arguments
def foo(bizz=:bizz, baz=:baz, buzz=:buzz)
end

Object.send(:define_method, :bar) do |bizz=:bizz, baz=:baz, buz...
JFlash (John Amicangelo)
07:51 AM Bug #8410 (Closed): Syntax error in yaml_tree warn message
Should be fixed in r40776
Thanks Santiago!
tenderlovemaking (Aaron Patterson)
05:09 AM Bug #8410 (Closed): Syntax error in yaml_tree warn message
Fix: https://github.com/spastorino/ruby/commit/6c1ae148b5d9e714ba1c91c40991dd508ff6f4dc spastorino (Santiago Pastorino)
12:16 AM Feature #8393: A class who's parent class is in a module can go wrong if files are required in the wrong order
This error showed up in a Rails app, on my code I had two different files (ProxyAPI::Resource and ProxyAPI::BMC < Res... eLobato (Daniel Lobato Garcia)

05/15/2013

10:21 PM Bug #8407: *args in method_missing not typing variables correctly
Yes, I clearly did. And now, this morning, my error stands out like a sore thumb.
Sorry to waste time.
rcastro (Ryan Castro)
09:24 AM Bug #8407 (Rejected): *args in method_missing not typing variables correctly
As, Matthew said, you misunderstand how '*' works.
Matz.
matz (Yukihiro Matsumoto)
07:55 AM Bug #8407: *args in method_missing not typing variables correctly
=begin
Why do you keep referring to (({*args[0]})) in your code? I suspect the following is what you meant:
class ...
phluid61 (Matthew Kerwin)
07:38 AM Bug #8407 (Rejected): *args in method_missing not typing variables correctly
When setting a variable with *args, it will not cast my string to a string type. But when used directly, it casts it ... rcastro (Ryan Castro)
09:59 PM Bug #8399: Remove usage of RARRAY_PTR in C extensions when not needed
Hi,

In <[email protected]>
"[ruby-core:55004] Re: [ruby-trunk - Bug #8399] Remove usage of RARRAY_...
kou (Kouhei Sutou)
09:17 PM Bug #8399: Remove usage of RARRAY_PTR in C extensions when not needed
ko1 (Koichi Sasada) wrote:
> (2013/05/15 14:38), dbussink (Dirkjan Bussink) wrote:
> > If we're changing something...
dbussink (Dirkjan Bussink)
09:14 PM Bug #8399: Remove usage of RARRAY_PTR in C extensions when not needed
Hanmac (Hans Mackowiak) wrote:
> hm i dont know if i like that, i use RARRAY_PTR for fast array access (like when i ...
dbussink (Dirkjan Bussink)
05:23 PM Bug #8399: Remove usage of RARRAY_PTR in C extensions when not needed
(2013/05/15 14:38), dbussink (Dirkjan Bussink) wrote:
> If we're changing something anyway, it makes far more sens...
ko1 (Koichi Sasada)
04:44 PM Bug #8399: Remove usage of RARRAY_PTR in C extensions when not needed
hm i dont know if i like that, i use RARRAY_PTR for fast array access (like when i need to turn an Ruby Array into an... Hanmac (Hans Mackowiak)
02:38 PM Bug #8399: Remove usage of RARRAY_PTR in C extensions when not needed
normalperson (Eric Wong) wrote:
> Perhaps RARRAY_PTR_RO can be introduced to declare read-only access on
> non-...
dbussink (Dirkjan Bussink)
01:41 PM Bug #8409: Having issues compiling 2.0.0 p195
Newbie error
compiling ruby with --prefix set to pwd leads to this mess. it should probably fail the build earlier...
sam.saffron (Sam Saffron)
12:16 PM Bug #8409 (Closed): Having issues compiling 2.0.0 p195
sam@ubuntu:~/.rbenv/versions/2.0.0-p195$ uname -a
Linux ubuntu 3.8.0-19-generic #29-Ubuntu SMP Wed Apr 17 18:16:28 U...
sam.saffron (Sam Saffron)
11:54 AM Bug #8408 (Closed): minitest's test may fail randomly
test/minitest/test_minitest_spec.rb may fail as following:
http://c5664.rubyci.org/~chkbuild/ruby-trunk/log/20130515...
naruse (Yui NARUSE)
01:16 AM Bug #8405 (Assigned): CSV module - improper regexp for escaping special characters
nobu (Nobuyoshi Nakada)
12:27 AM Bug #8405 (Closed): CSV module - improper regexp for escaping special characters
=begin
There seems to be bug in csv.rb module. If you would like to use some special characters like (({|})) as a qu...
dunric (David Unric)
 

Also available in: Atom