Project

General

Profile

Activity

From 05/20/2013 to 05/26/2013

05/26/2013

10:21 PM Feature #4254: Allow method transplanting
=begin
: saturnflyer (Jim Gay) wrote:
The specs fail on ruby-head ((<URL:https://travis-ci.org/saturnflyer/casting/...
nobu (Nobuyoshi Nakada)
12:03 AM Feature #4254: Allow method transplanting
=begin
Seems fine.
$ ruby -v -e 'module M; def foo; :foo;end; end; p m = M.instance_method(:foo).bind(Object.new...
nobu (Nobuyoshi Nakada)
08:41 PM Feature #8452 (Open): Kernel#otherwise to rewrite code like (obj || default_obj).do_smth
Imagine you have code like this
(long_computation_chain || []).do_smth
While it isn't difficult, but it forces...
prijutme4ty (Ilya Vorontsov)
09:44 AM Bug #8435: Can't build tcl/tk extensions after updating Debian/Ubuntu package
A possible fix:
--- a/ext/tk/extconf.rb 2013-01-10 05:47:20.000000000 -0200
+++ b/ext/tk/extconf.rb 2013-05-25 21...
romuloceccon (Rômulo Ceccon)
03:02 AM Feature #8393: A class who's parent class is in a module can go wrong if files are required in the wrong order
Fair point rkh, feel free to close this unless there is something to avoid printing lots of warnings. eLobato (Daniel Lobato Garcia)

05/25/2013

11:50 PM Bug #8445 (Assigned): IO.open and IO#set_enconding does not support :fallback option
Is this intentional or just unexpected inconsistency? naruse (Yui NARUSE)
07:48 PM Feature #8449 (Assigned): Array#ary_plus always returns an array
=begin
Even when Array is subclassified, + operator keeps on returning an Array.
Don't know if it is a bug or i...
txemagon (José M. González)
02:56 PM Feature #8437: custom operators, unicode
Hi Mathew,
thanks for the list.
This is a good definition.
All of the symbols from that lists,
as defined by ...
eike.rb (Eike Dierks)
10:59 AM Bug #8443: -Lprefix/lib
2013年5月24日 16:06 Tanaka Akira <[email protected]>:
>
> おっと、r40907 で対処済みでしたか。
> 試します。

ちゃんと直ってました。ありがとうございます。
...
akr (Akira Tanaka)
10:27 AM Misc #8447: BasicObject id behaviour
nobu (Nobu4bb9d34yoshi Nakada) wrote:
> It's just an implementation detail, 0x9773a68 == 0x4bb9d34.
Sorry, missen...
nobu (Nobuyoshi Nakada)
10:21 AM Misc #8447 (Closed): BasicObject id behaviour
It's just an implementation detail, 0x9773a68 == 0x4bb9d34. nobu (Nobuyoshi Nakada)
12:05 AM Misc #8447 (Closed): BasicObject id behaviour
=begin
This is not really an issue. This is rather a question. It's about ids of BasicObject instances. When I invok...
kyrylo (Kyrylo Silin)
03:06 AM Feature #4254: Allow method transplanting
=begin
I am interested in this feature although with a different use.
It appears that 2.0.0-p0 allowed methods to...
saturnflyer (Jim Gay)

05/24/2013

11:22 PM Bug #8446 (Closed): sdbm fails to fetch existing key if many elements in it
=begin
When I store many keys in SDBM, it may fail to fetch the value and returns nil.
The maximum number of all re...
arton (Akio Tajima)
10:03 PM Bug #8445 (Assigned): IO.open and IO#set_enconding does not support :fallback option
RubyDoc says that `IO.open` and `IO#set_encoding` supports optional argument defined in `String#encode`.
http://ruby...
pjmtdw (Haruhiro Yoshimoto)
09:27 PM Bug #8412 (Closed): Small Documentation Fix for Fiddle Module
This issue was solved with changeset r40916.
Steven, thank you for reporting this issue.
Your contribution to Ruby is...
Anonymous
11:57 AM Bug #8412 (Feedback): Small Documentation Fix for Fiddle Module
zzak (zzak _)
06:15 PM Bug #8444 (Assigned): Regexp vars $~ and friends are not thread local
In the docs for the Regexp special variables, `$~` and friends, it says "These global variables are thread-local and ... jamespharaoh (James Pharaoh)
06:03 PM Feature #8343 (Closed): StringScanner#[] should accept names of named captures
Merged at r40881! naruse (Yui NARUSE)
04:23 PM Bug #8443: -Lprefix/lib
2013年5月24日 15:55 Tanaka Akira <[email protected]>:
> 2013年5月24日 10:39 Nobuyoshi Nakada <[email protected]>:
>>
>>>...
akr (Akira Tanaka)
11:04 AM Bug #8443 (Closed): -Lprefix/lib
This issue was solved with changeset r40907.
Akira, thank you for reporting this issue.
Your contribution to Ruby is ...
nobu (Nobuyoshi Nakada)
10:54 AM Bug #8443 (Assigned): -Lprefix/lib
nobu (Nobuyoshi Nakada)
10:05 AM Bug #8443 (Closed): -Lprefix/lib
最近試しているクロスコンパイルな CI で、
思い立って DESTDIR を使って気がついたんですが、
configure に --prefix=/usr と指定すると、
/usr にあるライブラリを使ってしまうことがあ...
akr (Akira Tanaka)
12:01 PM Bug #8441 (Feedback): /Users/Chandan/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/webrick/utils.rb:132: [BUG] Segmentation fault ruby 1.9.2p320 (2012-04-20 revision 35421) [x86_64-darwin11.4.2]
It would also help to have the code you were testing that produced this segfault. zzak (zzak _)
11:55 AM Bug #8441: /Users/Chandan/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/webrick/utils.rb:132: [BUG] Segmentation fault ruby 1.9.2p320 (2012-04-20 revision 35421) [x86_64-darwin11.4.2]
Can you reproduce this with 1.9.3-p429?
I believe 1.9.2 is no longer maintained, and you should upgrade to 1.9.3
zzak (zzak _)
05:29 AM Bug #8441 (Closed): /Users/Chandan/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/webrick/utils.rb:132: [BUG] Segmentation fault ruby 1.9.2p320 (2012-04-20 revision 35421) [x86_64-darwin11.4.2]
Hi,
I was trying to debug an issue while developing a web-page with RubyMine. At a break-point following crash occ...
indyarocks (Chandan Kumar)
11:50 AM Bug #8439 (Assigned): test_aes_gcm_wrong_tag(OpenSSL::TestCipher) fails randomly
Can you reproduce this with trunk? zzak (zzak _)
06:18 AM Bug #8442 (Closed): sendmesg (blocking) of class BasicSocket is repeatably sent by the ruby kernel
=begin

(1) The error occurs with the method "sendmesg" (blocking) of class BasicSocket on Ruby 2.0.0-p0 (rvm), bu...
m_josenhans (Michael Josenhans)

05/23/2013

11:07 PM Bug #8438 (Rejected): Kernel.eval can not Reliably Create new Variables
Local variables are determined at compile phase. nobu (Nobuyoshi Nakada)
03:40 PM Bug #8438 (Rejected): Kernel.eval can not Reliably Create new Variables
Variables that are created by the Kernel.eval are deleted from the execution context before the method eval exits, de... martin_vahi (Martin Vahi)
06:11 PM Bug #8348: ruby hangs randomly in daemonized processes on Debian GNU/kFreeBSD
Did you run this test on some kind of SMP box? Ruby on Debian GNU/kFreeBSD has problems with fork in SMP environment.... 375gnu (Hleb Valoshka)
06:06 PM Bug #8439 (Closed): test_aes_gcm_wrong_tag(OpenSSL::TestCipher) fails randomly
=begin
7) Error:
test_aes_gcm_wrong_tag(OpenSSL::TestCipher):
OpenSSL::Cipher::CipherError: unable to set GCM t...
vo.x (Vit Ondruch)
05:40 PM Feature #8393: A class who's parent class is in a module can go wrong if files are required in the wrong order
eLobato (Daniel Lobato Garcia) wrote:
> This error showed up in a Rails app, on my code I had two different files (P...
rkh (Konstantin Haase)
02:05 PM Feature #8393: A class who's parent class is in a module can go wrong if files are required in the wrong order
> OMG, why puts 'fuck'? ;_;
Ruby doesn't prevent you from fucking yourself.
nobu (Nobuyoshi Nakada)
03:31 AM Feature #8393: A class who's parent class is in a module can go wrong if files are required in the wrong order
boris_stitnicky (Boris Stitnicky) wrote:
> OMG, why puts 'fuck'? ;_;
It's bait to see who gets distracted by irre...
jonforums (Jon Forums)
03:14 AM Feature #8393: A class who's parent class is in a module can go wrong if files are required in the wrong order
OMG, why puts 'fuck'? ;_; Anonymous
11:42 AM Bug #8435: Can't build tcl/tk extensions after updating Debian/Ubuntu package
Seems like third party issue zzak (zzak _)
10:45 AM Bug #8432: make install ruby 2.0.0 fails with undefined method `sub!'
AndrewCPaterson (Andrew Paterson) wrote:
> drwxrwxr-x 2 apaterson apaterson 4096 May 22 05:03 CVS/
Why is there...
nobu (Nobuyoshi Nakada)
04:08 AM Bug #8432: make install ruby 2.0.0 fails with undefined method `sub!'
It is because there is a zero length file in a subdirectory under bin. There needs to be protection against this in ... AndrewCPaterson (Andrew Paterson)
10:10 AM Feature #8437: custom operators, unicode
eike.rb (Eike Dierks) wrote:
> I'd believe the math operator plane of unicode should be removed
> from the allowa...
phluid61 (Matthew Kerwin)
09:20 AM Feature #8437 (Open): custom operators, unicode
The ruby language does currently one support a predefined set of operators.
It would be nice to add custom operators...
eike.rb (Eike Dierks)
08:31 AM Feature #8270: Ruby should build without thread support (aka minix)
Thanks to everyone who responded.
Porting to Minix is only a minor target.
I suggested to the minix people that t...
eike.rb (Eike Dierks)

05/22/2013

11:03 PM Bug #8435: Can't build tcl/tk extensions after updating Debian/Ubuntu package
Workaround is to specify actual location of tcl/tk files:
./configure --with-tclConfig-file=/usr/lib/x86_64-li...
romuloceccon (Rômulo Ceccon)
10:28 PM Bug #8435 (Third Party's Issue): Can't build tcl/tk extensions after updating Debian/Ubuntu package
I've recently upgraded my Ubuntu system to 13.04 and tcl8.5-dev and tk8.5-dev were updated as well (to versions 8.5.1... romuloceccon (Rômulo Ceccon)
09:07 PM Feature #3620: Add Queue, SIzedQueue and ConditionVariable implementations in C in addition to ruby ones
2013/5/18 nobu (Nobuyoshi Nakada) <[email protected]>
> You can use rb_funcall2() instead here.
I made a patch w...
Glass_saga (Masaki Matsushita)
06:51 PM Bug #8432: make install ruby 2.0.0 fails with undefined method `sub!'
The problem is still present in p195 AndrewCPaterson (Andrew Paterson)
06:51 PM Bug #8432: make install ruby 2.0.0 fails with undefined method `sub!'
There are no empty files in the bin directory:
[apaterson@xerxes ruby-2.0.0]$ ls -l bin
total 52
drwxr-xr-x 3 a...
AndrewCPaterson (Andrew Paterson)
01:09 PM Bug #8432 (Feedback): make install ruby 2.0.0 fails with undefined method `sub!'
It probably occurs when an empty file exists under bin directory.
Do you have it?
nobu (Nobuyoshi Nakada)
02:36 AM Bug #8432 (Closed): make install ruby 2.0.0 fails with undefined method `sub!'
./tool/rbinstall.rb:468 is trying to reference shebang.sub! on command scripts destined for /usr/local/bin and that's... AndrewCPaterson (Andrew Paterson)
05:25 PM Feature #8430: Rational number literal
nobu (Nobuyoshi Nakada) wrote:
> I also prefer an operator.
>
> https://github.com/nobu/ruby/commit/7ff6073d70306...
mrkn (Kenta Murata)
05:21 PM Feature #8430: Rational number literal
knu (Akinori MUSHA) wrote:
> I think it should be added as an operator rather than a literal notation.
>
> A lite...
mrkn (Kenta Murata)
05:15 PM Feature #8430: Rational number literal
I also prefer an operator.
https://github.com/nobu/ruby/commit/7ff6073d70306999c0def3387387649ccd13f9d6
nobu (Nobuyoshi Nakada)
01:45 PM Feature #8430: Rational number literal
charliesome (Charlie Somerville) wrote:
> > Also, I guess runtime cost would not change much if it were introduced a...
phluid61 (Matthew Kerwin)
12:26 PM Feature #8430: Rational number literal
> Also, I guess runtime cost would not change much if it were introduced as operator.
Rational is immutable, so if...
Anonymous
11:49 AM Feature #8430: Rational number literal
I think it should be added as an operator rather than a literal notation.
A literal should not look like an expres...
knu (Akinori MUSHA)
11:08 AM Feature #8430: Rational number literal
Shouldn't tDIV2 be only if IS_SPCARG(c)? nobu (Nobuyoshi Nakada)
12:46 PM Feature #5653: "I strongly discourage the use of autoload in any standard libraries" (Re: autoload will be dead)
Matz,
It appears that a patch was accepted into the soon to be released 1.9.4 branch (http://bugs.ruby-lang.org/is...
reset (Jamie Winsor)
02:52 AM Bug #8433 (Closed): Mutexes held by background threads at fork not always released
It appears that the Ruby interpreter attempts to automatically unlock Mutexes held by background threads at the time ... benweint (Ben Weintraub)
02:31 AM Feature #8422: add Enumerable#reverse_sort and Enumerable#reverse_sort_by
-1, feature creep
But I'm for defining `reverse!` as O(1), not really reversing anything, just treating the last ele...
Anonymous
12:26 AM Feature #5458: DL should be removed
zzak (Zachary Scott) wrote:
> The Win32 stuff is largely undocumented, but I remember ngoto-san
> moved a lot of i...
luislavena (Luis Lavena)

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)
 

Also available in: Atom