Project

General

Profile

Activity

From 03/20/2012 to 03/26/2012

03/26/2012

11:28 PM Feature #6166: Enumerator::Lazy#pinch
I like having a method myself b/c it reads better. I think "pinch" conveys the sort of "closing action" of the de-laz... trans (Thomas Sawyer)
10:46 PM Bug #6203: Array#values_at does not handle ranges with end index past the end of the array
Hi,
nobu (Nobuyoshi Nakada) wrote:
> It's definitely not a bug.
It's not?
How do you explain:
[1, 2, 3...
marcandre (Marc-Andre Lafortune)
02:12 PM Bug #6203: Array#values_at does not handle ranges with end index past the end of the array
It's definitely not a bug. nobu (Nobuyoshi Nakada)
01:50 PM Bug #6203 (Closed): Array#values_at does not handle ranges with end index past the end of the array
=begin
When I use Array#values_at I expect that it would be the same as successive calls to (({Array#[]})).
There...
ferrous26 (Mark Rada)
09:36 PM Feature #6201: do_something then return :special_case (include "then" operator)
Thank you for your feedback Yusuke. And yes, you understood it right. I actually tried to quickly find out first if "... rosenfeld (Rodrigo Rosenfeld Rosas)
09:21 PM Feature #6201 (Assigned): do_something then return :special_case (include "then" operator)
Hello, Rodrigo
In short, you are proposing a syntactic sugar:
A then B
as
(A; B)
, so that you can...
mame (Yusuke Endoh)
11:14 AM Feature #6201: do_something then return :special_case (include "then" operator)
nobu (Nobuyoshi Nakada) wrote:
> =begin
> (follow response['location']; return :redirected) if response.redirect?...
rosenfeld (Rodrigo Rosenfeld Rosas)
10:52 AM Feature #6201 (Feedback): do_something then return :special_case (include "then" operator)
nobu (Nobuyoshi Nakada)
10:51 AM Feature #6201: do_something then return :special_case (include "then" operator)
=begin
(follow response['location']; return :redirected) if response.redirect?
=end
nobu (Nobuyoshi Nakada)
10:34 AM Feature #6201 (Rejected): do_something then return :special_case (include "then" operator)
=begin
I've read several aproaches to deal with this case and this just feels like Ruby doesn't have a good idiom ye...
rosenfeld (Rodrigo Rosenfeld Rosas)
08:43 PM Bug #6205 (Closed): YAML Regexp in anchor gets converted to String
I'll try to illustrate with code:
YAML:
---
hello: &allow-float
!ruby/regexp '/hello/'
bla: *allow-f...
giddie (Paul Dann)
02:43 PM Revision bb314d33 (git): * lib/net/ftp.rb (parse227, parse228, parse229): don't use $~.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shugo (Shugo Maeda)
02:39 PM Revision d68b3a38 (git): * lib/net/ftp.rb (parse227, parse228, parse229): don't use local
variables defined by named capture for other Ruby implementations
such as Rubinius.
git-svn-id: svn+ssh://ci.ruby-...
shugo (Shugo Maeda)
02:39 PM Revision 422c8bae (git): * lib/net/ftp.rb (parse_pasv_port): refactored.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shugo (Shugo Maeda)
12:22 PM Bug #6202 (Rejected): The 'rescue' modifier can not be used in 'require'
'rescue' modifier and 'rescue' clause with no exception classes catch only StandardError and its subclasses.
LoadErr...
nobu (Nobuyoshi Nakada)
12:15 PM Bug #6202 (Rejected): The 'rescue' modifier can not be used in 'require'
My Ruby version is: ruby 1.9.3p125 (2012-02-16) [i386-mingw32]
I found that the 'rescue' modifier can not be used ...
yimutang (Joey Zhou)
11:46 AM Feature #2408 (Closed): better error reporting in windows when you try to run a directory
This issue was solved with changeset r35131.
Roger, thank you for reporting this issue.
Your contribution to Ruby is ...
nobu (Nobuyoshi Nakada)
10:52 AM Revision cae1d532 (git): * test/net/ftp/test_ftp.rb: add the test, which was forgotten in the
previous commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shugo (Shugo Maeda)
10:52 AM Revision 8c89d8ef (git): * lib/net/ftp.rb (parse227, parse228, parse229): refactored.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shugo (Shugo Maeda)
10:52 AM Revision b9f67c41 (git): * enumerator.c (inspect_enumerator): show method arguments of
lazy enumerators correctly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35136 b2dd03c8-39d4-4d8f-98ff-823fe69b...
shugo (Shugo Maeda)
08:33 AM Feature #1400: Please add a method to enumerate fields in OpenStruct
Hi,
Peter Vandenabeele wrote:
> Is there a specified order for the enumeration? (I presume not, but
> curious)...
marcandre (Marc-Andre Lafortune)
05:08 AM Revision ddc7bcd6 (git): * win32/Makefile.sub (newline.c, miniprelude.c): search from source
directory, not depending on VPATH.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35135 b2dd03c8-39d4-4d8f-98ff-8...
nobu (Nobuyoshi Nakada)
04:51 AM Revision 7a0d81ea (git): * win32/win32.c (check_if_dir, check_if_wdir): fix for Visual C++
not to use S_ISDIR(). [Feature #2408][ruby-core:26925]
* ruby.c (load_file_internal): ditto.
git-svn-id: svn+ssh:/...
nobu (Nobuyoshi Nakada)
03:57 AM Revision 06fba523 (git): * tool/merger.rb (interactive): allow editing commit message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:57 AM Revision 1b2a6075 (git): * tool/merger.rb (default_merge_branch): use IO.popen to invoke pager.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:46 AM Revision 764d5478 (git): * ruby.c (load_file_internal): bail out if the script is a directory.
[Feature #2408][ruby-core:26925]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35131 b2dd03c8-39d4-4d8f-98ff-82...
nobu (Nobuyoshi Nakada)
02:41 AM Revision 8a57e0bf (git): * 2012-03-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:41 AM Revision b83ad31c (git): * win32/win32.c (rb_w32_open, rb_w32_wopen): check if the file is a
directory when access denied, to set errno to EISDIR.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35129 b2dd0...
nobu (Nobuyoshi Nakada)
12:57 AM Revision c34b551c (git): merge revision(s) 33542,33543: [Backport #6200]
* parse.y (parser_nextc): set encoding for the buffer of ripper.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branch...
nobu (Nobuyoshi Nakada)
12:07 AM Feature #4840: Allow returning from require
I've had occasion to use this as well, especially for RUBY_VERSION specific code.
I wonder if it is okay to be emb...
trans (Thomas Sawyer)

03/25/2012

11:57 PM Feature #4897: Define Math::TAU and BigMath.TAU. The "true" circle constant, Tau=2*Pi. See http://tauday.com/
I'm trying to get used to the idea of eating a pizza taue, myself. :-)
This is the classic chicken and egg situati...
trans (Thomas Sawyer)
04:29 PM Feature #4897: Define Math::TAU and BigMath.TAU. The "true" circle constant, Tau=2*Pi. See http://tauday.com/
We have discussed this at today's developers' meeting in Akihabara.
We highly doubt that there are many mathematic...
duerst (Martin Dürst)
04:23 PM Feature #4897 (Feedback): Define Math::TAU and BigMath.TAU. The "true" circle constant, Tau=2*Pi. See http://tauday.com/
mame (Yusuke Endoh)
10:20 PM Feature #3346: __DIR__ revisted
Ruby does not provide way to get root of app/lib, and current working directory is not always root of applicable app/... trans (Thomas Sawyer)
02:27 PM Feature #3346: __DIR__ revisted
UNIX style directory hierarchy prepare a directory to put everything relate to the app/lib. I hesitate to add a meth... matz (Yukihiro Matsumoto)
01:57 PM Feature #3346 (Assigned): __DIR__ revisted
mame (Yusuke Endoh)
10:03 PM Feature #4247: New features for Array#sample, Array#choice
Whatever happened to #pick and #pick! which picked one random element? The term #sample strongly suggests the return ... trans (Thomas Sawyer)
02:18 PM Feature #4247 (Assigned): New features for Array#sample, Array#choice
mame (Yusuke Endoh)
09:22 PM Feature #5064: HTTP user-agent class
Comment, mostly to drbrain (Eric Hodel):
At the developers' meeting today in Akihabare, we assigned this issue to Ma...
duerst (Martin Dürst)
05:17 PM Feature #5064 (Assigned): HTTP user-agent class
mame (Yusuke Endoh)
09:11 PM Bug #5536: String#start_with? and end_with? ignore arguments convertible to a String [PATCH]
I have uploaded a new set of patchs to better respect the style in test/ruby/test_string.rb (use S(str) for strings).... Eregon (Benoit Daloze)
08:53 PM Feature #3388: regexp support for start_with? and end_with?
> A patch is welcome.
I'm willing to give this a shot, but I think #5536 should be merged first.
Eregon (Benoit Daloze)
02:09 PM Feature #3388 (Feedback): regexp support for start_with? and end_with?
A patch is welcome.
--
Yusuke Endoh <[email protected]>
mame (Yusuke Endoh)
06:20 PM Bug #6167 (Closed): String#count: wrong result for multiple complements of multi-byte characters
This issue was solved with changeset r35127.
John, thank you for reporting this issue.
Your contribution to Ruby is g...
naruse (Yui NARUSE)
05:26 PM Feature #5120 (Assigned): String#split needs to be logical
mame (Yusuke Endoh)
05:23 PM Feature #5016: Kernel#caller with negative limit should limit result to N initial frames
> Calling Kernel#caller with a negative limit should limit result to N initial frames. When using Kernel#caller you... ko1 (Koichi Sasada)
04:57 PM Feature #5016 (Assigned): Kernel#caller with negative limit should limit result to N initial frames
mame (Yusuke Endoh)
05:22 PM Feature #5106 (Assigned): Is MurmurHash overkill?
mame (Yusuke Endoh)
05:21 PM Feature #5088 (Assigned): Refactor and Document vm_method.c / method.h
mame (Yusuke Endoh)
05:15 PM Feature #5607: Inconsistent reaction in Range of String
We have discussed this issue at today's developers' meeting in Akihabara.
We agreed that it would be desirable to ...
duerst (Martin Dürst)
05:12 PM Feature #5607: Inconsistent reaction in Range of String
I presented String#succ mechanism:
http:www.a-k-r.org/pub/string-succ-rejectkaigi2008.pdf
(in Japanese)
akr (Akira Tanaka)
05:15 PM Feature #5053 (Assigned): ruby コマンドと libruby の食い違いチェック
mame (Yusuke Endoh)
05:03 PM Feature #5044 (Assigned): #zip with block return mapped results
mame (Yusuke Endoh)
05:02 PM Feature #5044: #zip with block return mapped results
Currently it can be implemented as follows.
% ruby -e 'p [1,2,3].zip([1,2,3]).map {|a,b| a + b }'
[2, 4, 6]
...
akr (Akira Tanaka)
04:54 PM Feature #5007 (Assigned): Proc#call_under: Unifying instance_eval and instance_exec
mame (Yusuke Endoh)
04:45 PM Feature #5006 (Assigned): Allow ~> as a method
mame (Yusuke Endoh)
04:44 PM Feature #4965: The problem of "print line if line = DATA.gets"
Just for completeness, at today's developers' meeting in Akihabara, there were several people who were supportive of ... duerst (Martin Dürst)
04:38 PM Feature #4965 (Assigned): The problem of "print line if line = DATA.gets"
mame (Yusuke Endoh)
04:44 PM Feature #5005 (Assigned): Provide convenient access to original methods
mame (Yusuke Endoh)
04:43 PM Feature #4990 (Assigned): Proposal: Internal GC/memory subsystem API
mame (Yusuke Endoh)
04:41 PM Feature #4967 (Assigned): dmalloc reported memory leaks in ruby
mame (Yusuke Endoh)
04:35 PM Feature #4946 (Assigned): Building libruby-static.a with option nodynamic and --with-static-link-ext doesn't disable dlopen
mame (Yusuke Endoh)
04:32 PM Feature #4935 (Assigned): Quoted Label Form for 1.9 Hashes
mame (Yusuke Endoh)
04:30 PM Feature #4924 (Assigned): mkmf have_header fails with C++ headers
mame (Yusuke Endoh)
04:28 PM Feature #4910 (Assigned): Classes as factories
mame (Yusuke Endoh)
04:25 PM Feature #4907 (Assigned): enumerable#permutation and combination
mame (Yusuke Endoh)
04:20 PM Feature #4865 (Assigned): Documentation of FileUtils is very unclear on how errors are handled
mame (Yusuke Endoh)
04:18 PM Feature #4862 (Assigned): Struct#to_hash
mame (Yusuke Endoh)
04:12 PM Feature #4849 (Assigned): io/wait should have a way to avoid FIONREAD
mame (Yusuke Endoh)
04:10 PM Feature #4840 (Assigned): Allow returning from require
mame (Yusuke Endoh)
04:09 PM Feature #4822 (Rejected): String#capitalize improvements
yeban (Anurag Priyam) wrote:
> > Hmm, how about this?
> > str.gsub(/\w.*?[.!?](?:\s+|\z)/){|c|c.capitalize}
>
...
duerst (Martin Dürst)
04:06 PM Feature #4824 (Assigned): Provide method Kernel#executed?
mame (Yusuke Endoh)
04:03 PM Feature #4786 (Rejected): RCR new Feature: Numeric#grouped
naruse (Yui NARUSE) wrote:
> Ruby doesn't include Locale depended features on current policy.
> So it should be don...
duerst (Martin Dürst)
03:59 PM Feature #4786 (Assigned): RCR new Feature: Numeric#grouped
mame (Yusuke Endoh)
04:02 PM Feature #4801 (Assigned): Shorthand Hash Syntax for Strings
mame (Yusuke Endoh)
03:55 PM Feature #4772 (Assigned): Hash#add_keys
mame (Yusuke Endoh)
03:53 PM Feature #4592: Tempfileを直接保存したい
(2012/03/25 15:33), akr (Akira Tanaka) wrote:
> remove_finalizer とか、save とかよりももうちょっと長い名前がいいんじゃないかなぁ、と思います。

 m...
ko1 (Koichi Sasada)
03:33 PM Feature #4592: Tempfileを直接保存したい
remove_finalizer とか、save とかよりももうちょっと長い名前がいいんじゃないかなぁ、と思います。 akr (Akira Tanaka)
03:33 PM Feature #4592 (Assigned): Tempfileを直接保存したい
mame (Yusuke Endoh)
03:48 PM Feature #4712 (Assigned): File.writable? inaccurate in windows
mame (Yusuke Endoh)
03:46 PM Feature #4646 (Assigned): [PATCH] io/wait: add IO#wait_writable method
mame (Yusuke Endoh)
03:44 PM Feature #4633 (Assigned): iterate method / extended version of for
mame (Yusuke Endoh)
03:39 PM Feature #4610 (Assigned): Proc#curry behavior is inconsistent with lambdas containing default argument values
mame (Yusuke Endoh)
03:38 PM Feature #4601 (Assigned): Re-ordering method parameters.
mame (Yusuke Endoh)
03:35 PM Feature #4598 (Assigned): Net::SMTP should raise more helpfully when mail can't send
mame (Yusuke Endoh)
03:20 PM Feature #4589 (Assigned): add Queue#each() method and include Enumerable
mame (Yusuke Endoh)
03:16 PM Feature #4560 (Assigned): [PATCH] lib/net/protocol.rb: avoid exceptions in rbuf_fill
mame (Yusuke Endoh)
03:15 PM Feature #4514 (Assigned): #deep_clone and #deep_dup for Objects
mame (Yusuke Endoh)
03:05 PM Feature #4477 (Assigned): Kernel:exec and backtick (`) don't work for certain system commands
mame (Yusuke Endoh)
03:04 PM Bug #4044: Regex matching errors when using \W character class and /i option
Hello Yui,
We discussed this issue at today's developpers' meeting in Akihabara.
There was wide consensus among...
duerst (Martin Dürst)
02:41 PM Bug #4044: Regex matching errors when using \W character class and /i option
Interesting example:
~~~
% ruby -ve '("a".."z").each {|ch| p(/[\W]/i.match(ch)) }'
ruby 2.0.0dev (2012-03-16 tru...
akr (Akira Tanaka)
02:38 PM Bug #4044: Regex matching errors when using \W character class and /i option
I think this is bug:
~~~
$ ruby -e "puts /[\W]|\u1234/i.match('k').inspect"
#<MatchData "k">
$ ruby -e "puts /[...
mrkn (Kenta Murata)
02:55 PM Feature #4265 (Assigned): Provide a core method Kernel#ruby for invoking a new Ruby instance
mame (Yusuke Endoh)
02:48 PM Feature #4264 (Assigned): General type coercion protocol for Ruby
mame (Yusuke Endoh)
02:46 PM Feature #4057 (Assigned): FileUtils.copy with FIFOs and Special Devices
mame (Yusuke Endoh)
02:27 PM Feature #4043 (Assigned): グローバル関数current_classの提案
mame (Yusuke Endoh)
02:24 PM Feature #3963 (Rejected): Map class in standard library
I think no hope to add Map class as builtin. akr (Akira Tanaka)
02:24 PM Feature #3963 (Assigned): Map class in standard library
mame (Yusuke Endoh)
02:13 PM Feature #3591 (Assigned): Adding Numeric#divisor? (Have working implementation)
mame (Yusuke Endoh)
02:08 PM Feature #3356 (Feedback): Add GetShortPathName to ruby
What do you mean by "canonical"?
It doesn't feel like "canonical" at all.
nobu (Nobuyoshi Nakada)
02:06 PM Feature #3356 (Assigned): Add GetShortPathName to ruby
mame (Yusuke Endoh)
01:53 PM Feature #3330 (Assigned): mkmf (find|have)_cxx_header
mame (Yusuke Endoh)
09:20 AM Revision 73a184cc (git): * string.c (tr_setup_table): fix multiple non latin argument for
non latin (over 256 characters) tr-like methods.
[ruby-core:43371] [Bug #6167]
git-svn-id: svn+ssh://ci.ruby-lang....
naruse (Yui NARUSE)
08:07 AM Feature #6199 (Closed): Organize gc.c a bit
1. Move immutable fields from struct heaps_slot and struct sorted_heaps_slot into struct heaps_header.
One except...
funny_falcon (Yura Sokolov)
06:37 AM Feature #5903: Optimize st_table (take 2)
As far this ticket not closed, I'll post hash related patch here:
https://github.com/ruby/ruby/pull/107
https://g...
funny_falcon (Yura Sokolov)
05:05 AM Bug #6159: Enumerable::Lazy#inspect
Right, thank you for the explanation. Eregon (Benoit Daloze)
02:07 AM Bug #6159: Enumerable::Lazy#inspect
Eregon (Benoit Daloze) wrote:
> Your answer raises another question: Would it not be more readable if #inspect was c...
shugo (Shugo Maeda)
01:24 AM Bug #6159: Enumerable::Lazy#inspect
Awesome, thanks!
Your answer raises another question: Would it not be more readable if #inspect was closer to the ...
Eregon (Benoit Daloze)
12:23 AM Bug #6159: Enumerable::Lazy#inspect
Eregon (Benoit Daloze) wrote:
> > I agree that It would be nice. However, unlike Enumerator, Enumerator::Lazy doesn'...
shugo (Shugo Maeda)
12:17 AM Bug #6159 (Closed): Enumerable::Lazy#inspect
This issue was solved with changeset r35124.
Benoit, thank you for reporting this issue.
Your contribution to Ruby is...
shugo (Shugo Maeda)
02:58 AM Feature #6198 (Rejected): public/protected/private with attr_*
I'd like to set visibility like this:
class X
protected attr_accessor :x, :y
end
attached patch(for 1...
riskwa (riskwa anon)

03/24/2012

10:22 PM Bug #6193 (Closed): Time.new does not accept seconds as a String
This issue was solved with changeset r35122.
John, thank you for reporting this issue.
Your contribution to Ruby is g...
nobu (Nobuyoshi Nakada)
06:48 AM Bug #6193: Time.new does not accept seconds as a String
Here is the updated patch using obj2subsecx. ssuda (Sambasiva Suda)
01:20 AM Bug #6193: Time.new does not accept seconds as a String
I think you want to use the obj2subsecx helper, not obj2vint, so that fractional seconds are still supported. john_firebaugh (John Firebaugh)
09:56 PM Bug #6197 (Third Party's Issue): readline module doesn't work with ansi code
The upstream of readline is not here.
And if you're using screen, try without it.
nobu (Nobuyoshi Nakada)
09:36 PM Bug #6197 (Third Party's Issue): readline module doesn't work with ansi code
Dear ruby community,
When escape is set no new line, it rewrite same line.
Have a look here : http://img11.hostin...
keysen (Jérémy Carlier)
08:19 PM Bug #6159: Enumerable::Lazy#inspect
> I agree that It would be nice. However, unlike Enumerator, Enumerator::Lazy doesn't have enough information, so it ... Eregon (Benoit Daloze)
04:30 PM Bug #6184 (Third Party's Issue): [BUG] Segmentation fault ruby 1.9.3p165 (2012-03-18 revision 35078) [x86_64-darwin11.3.0]
This problem apparently still exists, so it should not be just rejected.
And if it's obviously caused by OpenSSL, sh...
nobu (Nobuyoshi Nakada)
02:57 PM Bug #6184 (Rejected): [BUG] Segmentation fault ruby 1.9.3p165 (2012-03-18 revision 35078) [x86_64-darwin11.3.0]
I've seen many same problems and all same problems have "CFUNC :connect" at the first of ruby's error log :)
sorah (Sorah Fukumori)
05:22 AM Bug #6184: [BUG] Segmentation fault ruby 1.9.3p165 (2012-03-18 revision 35078) [x86_64-darwin11.3.0]
It was openssl... I changed it as you said, and everything did go as expected.
I most likely used OS X's default ope...
Gebor (Pierre-Henry Frohring)
03:53 PM Revision 0c9f66eb (git): * enumerator (lazy_initialize): set the instance variable "receiver"
to include the receiver to the return value of inspect on a lazy
enumerator directly created by Enumerator::Lazy.ne...
shugo (Shugo Maeda)
03:17 PM Revision fa288063 (git): * 2012-03-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:17 PM Revision 6b885f6e (git): * enumerator (enumerator_inspect): include the original receiver and
method name of Enumerator::Lazy in the result of inspect.
[ruby-core:43345] [Bug #6159]
* enumerator (InitVM_Enume...
shugo (Shugo Maeda)
01:22 PM Revision 576a69a5 (git): * 2012-03-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:22 PM Revision 28e48d3f (git): * time.c (time_init_1): Time.new will accept seconds as string or
int. [ruby-core:43569][Bug #6193]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35122 b2dd03c8-39d4-4d8f-98ff-8...
nobu (Nobuyoshi Nakada)
01:33 AM Bug #6147: should we check a result returned by fcntl?
単に失敗したら死ねばいいんじゃないですかね。
- どうせ失敗しないだろう
- 失敗しても動くようなコードかけないだろう
の2つの意味で
時間見つけてやっときます
kosaki (Motohiro KOSAKI)

03/23/2012

11:53 PM Bug #6193: Time.new does not accept seconds as a String
Here is the patch which will fix the problem with the seconds. There is also pull request for github. ssuda (Sambasiva Suda)
12:21 PM Bug #6193 (Closed): Time.new does not accept seconds as a String
Time.new accepts any or all of the year, month, day, hour, or minute specified as a String, but does not accept a Str... john_firebaugh (John Firebaugh)
11:38 PM Bug #6195: String#[] に逆順の Range を渡した場合の挙動
前田です。
mrkn (Kenta Murata) wrote:
> 以下のように String#[] に対して、範囲の開始インデックスが文字列の長さ以下の値である逆順の Range (beg > end) を渡した場合に空文...
shugo (Shugo Maeda)
06:52 PM Bug #6195 (Rejected): String#[] に逆順の Range を渡した場合の挙動
以下のように String#[] に対して、範囲の開始インデックスが文字列の長さ以下の値である逆順の Range (beg > end) を渡した場合に空文字列が返ります。
"1"[1..0] #=> ""
"1"[1...
mrkn (Kenta Murata)
07:15 PM Feature #3908: private constant
Methods are different b/c they can effect state --they can be *dangerous*. If it wasn't for that, there would be litt... trans (Thomas Sawyer)
09:53 AM Feature #3908: private constant
On Thu, Mar 22, 2012 at 23:46, trans (Thomas Sawyer) <[email protected]>wrote:

> But codifying that, rather t...
aprescott (Adam Prescott)
08:46 AM Feature #3908: private constant
Isn't that really best left to a documentation detail?
While these private classes might be an implementation deta...
trans (Thomas Sawyer)
02:53 AM Feature #3908: private constant
On Thu, Mar 22, 2012 at 17:08, trans (Thomas Sawyer) <[email protected]>wrote:

> I can't think of single reas...
aprescott (Adam Prescott)
02:23 AM Feature #3908: private constant
On Thu, Mar 22, 2012 at 18:08, trans (Thomas Sawyer)
<[email protected]> wrote:

> I can't think of single r...
now (Nikolai Weibull)
02:08 AM Feature #3908: private constant
What was this deemed significant? I can't think of single reason why anyone would actually have to have a "private", ... trans (Thomas Sawyer)
06:49 PM Feature #6166: Enumerator::Lazy#pinch
Hello,
trans (Thomas Sawyer) wrote:
> In previous issue #6158 it has been determined that Enumerator::Lazy#take s...
shugo (Shugo Maeda)
06:43 PM Bug #6142 (Feedback): Enumerable::Lazy#zip doesn't rewind internal enumerators
shugo (Shugo Maeda)
06:42 PM Bug #6159 (Feedback): Enumerable::Lazy#inspect
shugo (Shugo Maeda)
01:19 PM Bug #6192 (Closed): Integer() doesn't handle UTF-16 input
This issue was solved with changeset r35120.
John, thank you for reporting this issue.
Your contribution to Ruby is g...
nobu (Nobuyoshi Nakada)
01:00 PM Bug #6192: Integer() doesn't handle UTF-16 input
=begin
I made this patch:
Index: bignum.c
==================================================================...
drbrain (Eric Hodel)
10:34 AM Bug #6192: Integer() doesn't handle UTF-16 input
Related, String#to_i:
>> "2007".encode("UTF-16le").to_i
=> 2
john_firebaugh (John Firebaugh)
10:30 AM Bug #6192 (Closed): Integer() doesn't handle UTF-16 input
>> Integer("2007".encode("UTF-16le"))
ArgumentError: string contains null byte
from (irb):209:in `Integer'
from ...
john_firebaugh (John Firebaugh)
11:33 AM Bug #6094 (Closed): [OpenSSL] wrong argument of rsa_generate()
This issue was solved with changeset r35117.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby...
naruse (Yui NARUSE)
11:03 AM Bug #6094 (Open): [OpenSSL] wrong argument of rsa_generate()
naruse (Yui NARUSE)
06:12 AM Revision 463633e4 (git): transcode.c (documentation for str_encode): Explain
that transcoding to the same encoding is a no-op
(i.e. no exceptions, no replacements,...).
[ruby-core:43557][Bug...
duerst (Martin Dürst)
04:19 AM Revision 163ab0a4 (git): * bignum.c (rb_str_to_inum): must be ASCII compatible encoding as
well as String#hex and String#oct. [ruby-core:43566][Bug #6192]
* string.c (rb_must_asciicompat): check if ASCII com...
nobu (Nobuyoshi Nakada)
03:38 AM Feature #6154: Eliminate extending WaitReadable/Writable at runtime
Updated patch with the following changes:
* rb_eEWOULDBLOCKReadable and rb_eEWOULDBLOCKWritable added
* EWOULDBLO...
headius (Charles Nutter)
02:37 AM Feature #6154: Eliminate extending WaitReadable/Writable at runtime
Ok, will do. headius (Charles Nutter)
03:14 AM Revision a1348699 (git): * test/ruby/test_io.rb (try_fdopen): more GCable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:04 AM Revision 2bf3b20d (git): * file.c (rb_file_s_basename): rb_enc_asciicompat() evaluates the argument multiple times.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:33 AM Revision ee3e7dcf (git): Refix Bug #6094: use unsigned long integer literal.
* ext/openssl/ossl_pkey_rsa.c (rsa_generate): fix argument type.
[Bug #6094]
git-svn-id: svn+ssh://ci.ruby-lang.or...
naruse (Yui NARUSE)
02:02 AM Revision cca049e0 (git): Revert "* ext/openssl/ossl_pkey_rsa.c (rsa_generate): fix argument type."
This reverts commit r35102.
It breaks tests on FreeBSD.
6) Failure:
test_new_with_exponent(OpenSSL::TestPKeyRSA)
[...
naruse (Yui NARUSE)
12:56 AM Revision 6d8580fe (git): * configure.in (Makefile): get rid of confliction with -j.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

03/22/2012

10:52 PM Revision e91983b4 (git): * 2012-03-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:52 PM Revision 4725c988 (git): Revert "* configure.in (Makefile): get rid of confliction with -j."
This reverts commit r35104 because it breaks build on FreeBSD.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@351...
naruse (Yui NARUSE)
03:10 PM Bug #6186: Bug trying to compile Ruby 1.9.3p105
shevegen (markus heiler) wrote:
> (I want to try to get a static version of ruby)
Well, without any flags a ruby ...
shyouhei (Shyouhei Urabe)
02:55 PM Bug #6186 (Rejected): Bug trying to compile Ruby 1.9.3p105
shevegen (markus heiler) wrote:
> CFLAGS in use: -static -O2 -g
Do not use -static.
It makes all shared objec...
nobu (Nobuyoshi Nakada)
01:23 PM Bug #6186: Bug trying to compile Ruby 1.9.3p105
>
>Issue #6186 has been reported by shevegen (markus heiler).
>
>----------------------------------------
>B...
Anonymous
01:07 PM Bug #6186: Bug trying to compile Ruby 1.9.3p105
Sorry that it is so long. Do you need config.log too?
The bug is at:
/Depot/j/ruby-1.9.3p105/.ext/x86_64-linu...
shevegen (Robert A. Heiler)
01:05 PM Bug #6186 (Rejected): Bug trying to compile Ruby 1.9.3p105
Hi!
First my system information:
GCC Version: GCC version 4.4.3
Glibc Version: ldd (GNU libc) 2.11.2
...
shevegen (Robert A. Heiler)
02:14 PM Revision 2b846261 (git): * transcode.c (str_encode_bang, encoded_dup): if nothing was
transcoded, just set encoding but leave coderange unchanged as
forcee_encoding. [ruby-core:43557][Bug #6190]
git-...
nobu (Nobuyoshi Nakada)
02:05 PM Revision 7cbff3b9 (git): * io.c (static int io_fflush): add the definition.
Use it in set_binary_mode_with_seek_cur().
* io.c (set_binary_mode_with_seek_cur): refactoring to split the
conten...
h.shirosaki (Hiroshi Shirosaki)
01:43 PM Bug #6094 (Closed): [OpenSSL] wrong argument of rsa_generate()
This issue was solved with changeset r35102.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby...
nobu (Nobuyoshi Nakada)
11:47 AM Revision 3d22e33a (git): * include/ruby/win32.h (fstati64): fix macro conflicts.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:37 AM Feature #6177: array.cのrb_ary_equal()の高速化
Nobuyoshi Nakada wrote:
>最も大きいのはrb_ary_elt()呼び出しのオーバーヘッドということのようですね。
そのようです。
>i != 0 なら常に (p1 != RARRAY_PTR(ar...
Glass_saga (Masaki Matsushita)
10:55 AM Revision ff075693 (git): * win32/win32.c (rb_w32_fstat, rb_w32_fstati64): convert FILETIME
to time_t directly, not to be affected by TZ unnecessarily.
* win32/win32.c (unixtime_to_filetime): convert time_t to...
nobu (Nobuyoshi Nakada)
09:37 AM Revision 0b83d3b2 (git): * test/ruby/test_m17n.rb (test_env): show failed values.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:37 AM Revision d28c1896 (git): * regint.h (BITS_IN_ROOM, BS_ROOM, BS_BIT): suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:22 AM Feature #5097 (Closed): Supported platforms of Ruby 1.9.3
naruse (Yui NARUSE)
09:22 AM Bug #5094 (Closed): Supported platforms of Ruby 1.9.3
naruse (Yui NARUSE)
09:21 AM Bug #6144 (Closed): regexec may allocate extra memory?
naruse (Yui NARUSE)
09:20 AM Bug #6145 (Closed): two possible bugs in Onigmo
naruse (Yui NARUSE)
09:20 AM Bug #6143 (Closed): Onigmo allows broken regexp: /(?(x.)/
naruse (Yui NARUSE)
08:07 AM Bug #6184: [BUG] Segmentation fault ruby 1.9.3p165 (2012-03-18 revision 35078) [x86_64-darwin11.3.0]
Also, please include crash report from ~/Library/Logs/CrashReporter or /Library/Logs/CrashReporter.
I suspect this...
drbrain (Eric Hodel)
07:25 AM Bug #6184: [BUG] Segmentation fault ruby 1.9.3p165 (2012-03-18 revision 35078) [x86_64-darwin11.3.0]
Ah, also you can install openssl using rvm.
http://beginrescueend.com/packages/openssl/
:)
sorah (Sorah Fukumori)
07:23 AM Bug #6184 (Feedback): [BUG] Segmentation fault ruby 1.9.3p165 (2012-03-18 revision 35078) [x86_64-darwin11.3.0]
sorah (Sorah Fukumori)
07:04 AM Bug #6184: [BUG] Segmentation fault ruby 1.9.3p165 (2012-03-18 revision 35078) [x86_64-darwin11.3.0]
Seems openssl is something wrong.
1. If you're using OS X's default openssl -> do like `brew install openssl` and ...
sorah (Sorah Fukumori)
06:51 AM Bug #6184 (Third Party's Issue): [BUG] Segmentation fault ruby 1.9.3p165 (2012-03-18 revision 35078) [x86_64-darwin11.3.0]
System:
OSX 10.7.3
Xcode 4.3.1
rvm 1.10.2
bundle 1.1.2
$ ruby -v
ruby 1.9.3p165 (2012-03-18 revision 35...
Gebor (Pierre-Henry Frohring)
07:32 AM Feature #6180: to_b for converting objects to a boolean value
I too would very much like to see a #to_bool method on every object.
In my opinion, if you define a public API, yo...
aef (Alexander E. Fischer)
06:04 AM Revision 9accaad5 (git): * configure.in (Makefile): add missing test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:59 AM Revision cd71db0a (git): * configure.in (Makefile): check with svn info, since svn 1.7 doesn't
have .svn under descendent directories.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35105 b2dd03c8-39d4-4d8f-9...
nobu (Nobuyoshi Nakada)
05:59 AM Revision 11c57111 (git): * configure.in (Makefile): get rid of confliction with -j.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:57 AM Revision 3417dd28 (git): TRY_LINK needs EXEEXT
* lib/mkmf.rb (TRY_LINK): need EXEEXT for cross-compiling.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35103 b...
nobu (Nobuyoshi Nakada)
04:43 AM Revision 39113275 (git): * ext/openssl/ossl_pkey_rsa.c (rsa_generate): fix argument type.
[Bug #6094]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:17 AM Revision 24513fe2 (git): workaround for mingw
* lib/mkmf.rb (try_link0, try_compile, try_cpp): check if the target
file get created actually. workaround for the...
nobu (Nobuyoshi Nakada)
02:17 AM Revision b1bdada1 (git): remove conftest files
* lib/mkmf.rb (try_constant): remove conftest files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35100 b2dd03c...
nobu (Nobuyoshi Nakada)
02:14 AM Revision 99594056 (git): * 2012-03-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:14 AM Revision caf627af (git): * test/ruby/test_io.rb (TestIO#test_pos_with_getc): updated.
see [ruby-core:43550]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura

03/21/2012

11:35 PM Feature #6183 (Rejected): Enumerator::Lazy performance issue
Hello,
Enumerator::Lazy is not a silver bullet; it removes the overhead for
creating an intermediate array, but b...
mame (Yusuke Endoh)
11:33 PM Feature #6183: Enumerator::Lazy performance issue
Granted that seems like a bit too much overhead, but the advantage to lazy is not in a 1-to-1 comparison with non-laz... trans (Thomas Sawyer)
10:24 PM Feature #6183 (Closed): Enumerator::Lazy performance issue
I benchmarked Enumerator::Lazy and that's what I got:
user system total real
Lazy:...
gregolsen (Innokenty Mikhailov)
09:13 PM Feature #3479: Array#binary_find et al
Hello,
2012/3/18, nahi <[email protected]>:
> Endoh-san, how do you think?
Thank you for reminding this.
I t...
mame (Yusuke Endoh)
08:15 PM Feature #2065 (Rejected): An ancestors iterator
Hello,
I'm not keen to import this feature.
I'm closing the ticket. Please reopen it if you find a piece of
c...
mame (Yusuke Endoh)
07:53 PM Feature #3908: private constant
Hello,

2012/3/18, Hiroshi Nakamura <[email protected]>:
> Closing as implemented at 1.9.3.

Thanks.

...
mame (Yusuke Endoh)
07:53 PM Feature #6180: to_b for converting objects to a boolean value
On 21/03/12 01:44, trans (Thomas Sawyer) wrote:
>
> Issue #6180 has been updated by trans (Thomas Sawyer).
>
...
regularfry (Alex Young)
03:53 PM Feature #6180: to_b for converting objects to a boolean value
drbrain (Eric Hodel) wrote:
> Issue #6180 has been updated by drbrain (Eric Hodel).
>
> Why do you need to co...
spatulasnout (B Kelly)
11:40 AM Feature #6180: to_b for converting objects to a boolean value
=begin
If you're testing that a method returns exactly true and not a true value you're probably being over-specific...
drbrain (Eric Hodel)
11:32 AM Feature #6180: to_b for converting objects to a boolean value
The only problem with that is that Ruby defines #nil? which is a strict check for NilClass instance. Hence #true? and... trans (Thomas Sawyer)
11:26 AM Feature #6180: to_b for converting objects to a boolean value
@drbrain - Very true but it is nice to be consistent with return values. It makes testing a little easier and fits a ... AaronLasseigne (Aaron Lasseigne)
10:44 AM Feature #6180: to_b for converting objects to a boolean value
Also, what you are asking for should probably be called #to_bool.
Where as #to_b can have a broader, and generall...
trans (Thomas Sawyer)
10:40 AM Feature #6180: to_b for converting objects to a boolean value
Also, to_b is ambiguous. 'b' can stand for "bits", "bytes", "binary", just to name a few. hasari (Hiro Asari)
10:15 AM Feature #6180: to_b for converting objects to a boolean value
It is even shorter if you just omit the !! or the to_b altogether:
$ ruby20 -e'puts RubyVM::InstructionSequence.co...
drbrain (Eric Hodel)
10:13 AM Feature #6180: to_b for converting objects to a boolean value
I think that "to_b" is more clear and fits well with the other to_*. Using "!!" isn't the most obvious choice for peo... AaronLasseigne (Aaron Lasseigne)
09:46 AM Feature #6180: to_b for converting objects to a boolean value
BasicObject#! is optimized by YARV as following:
% ruby -e'puts RubyVM::InstructionSequence.compile(%[!!foo]).disa...
naruse (Yui NARUSE)
09:16 AM Feature #6180: to_b for converting objects to a boolean value
Typically this comes up when you have a method ending in a question mark to indicate a boolean return value.
def f...
AaronLasseigne (Aaron Lasseigne)
08:09 AM Feature #6180: to_b for converting objects to a boolean value
Why do you need to convert objects to boolean values? drbrain (Eric Hodel)
06:51 AM Feature #6180 (Rejected): to_b for converting objects to a boolean value
When a boolean return value is required it has become common practice is to use "!!" to convert the object. It would ... AaronLasseigne (Aaron Lasseigne)
05:57 PM Bug #6099 (Closed): [BUG] probable buffer overflow
naruse (Yui NARUSE)
05:05 PM Bug #6182: ruby crashed with trace inof below !(Ruby interpreter or extension libraries)
Could you try it with trunk/1.9.3? naruse (Yui NARUSE)
04:57 PM Bug #6182 (Feedback): ruby crashed with trace inof below !(Ruby interpreter or extension libraries)
Can you show us how we can see that output on our machine? shyouhei (Shyouhei Urabe)
03:20 PM Bug #6182 (Closed): ruby crashed with trace inof below !(Ruby interpreter or extension libraries)
/home/bourne/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/timeout.rb:75: [BUG] rb_register_sigaltstack. malloc error
...
nitin (nitin arya)
12:58 PM Bug #6181: Ruby crash when trying to send a mail (tls/gmail)
The crash is during X509 certificate verification. drbrain (Eric Hodel)
12:28 PM Bug #6181 (Third Party's Issue): Ruby crash when trying to send a mail (tls/gmail)
The following code made ruby crash:
require 'net/smtp'
smtp = Net::SMTP.new 'smtp.gmail.com', 587
smtp.enabl...
mljsimone (Mariano Simone)
10:53 AM Revision b2cc0976 (git): * regcomp.c: Merge Onigmo 3d855b30d574536d3ae600260208c6624ae4791c.
[Bug#6143] [Bug#6144] [Bug#6145]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35097 b2dd03c8-39d4-4d8f-98ff-823...
naruse (Yui NARUSE)
09:59 AM Bug #6175: watir-2.0.4/lib/watir/ie-class.rb:567: [BUG] Segmentation fault
michaelcm (Michael McWilliam) wrote:
> Also, I posted it here because the bugreport.html page said to click on the l...
naruse (Yui NARUSE)
08:53 AM Bug #6155: Enumerable::Lazy#flat_map raises an exception when an element does not respond to #each
Hello,

Ah, I see. RubySpec defines to_a to assert that it's never called, right?
That makes sense.
2012/03...
shugo (Shugo Maeda)
08:03 AM Revision 51f41bb8 (git): * 2012-03-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:03 AM Revision af86dba2 (git): * test/ruby/test_io.rb (TestIO#test_pos_with_getc): added.
see [Bug #6179][ruby-core:43518]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35095 b2dd03c8-39d4-4d8f-98ff-82...
U.Nakamura
06:50 AM Bug #4434: make test-all "-j10000" のように大きな並列数を与えると異常終了
Too many open files を出してるのがマネージャープロセスなら、しょうがないんじゃない。それはRLIMIT上げればいいんだし。
workerプロセスが出してるなら問題で、それはfdリークを意味してるので -j の数に...
kosaki (Motohiro KOSAKI)
06:27 AM Bug #5973: Bus Error in simple project requiring YARD
Thanks, I tried with 1.9.3-p125 and the problem does seem to be resolved. ggilder (Gabriel Gilder)
01:42 AM Bug #6143: Onigmo allows broken regexp: /(?(x.)/
OnigmoのRubyマージ作業用ブランチにも修正を反映しました。
https://github.com/k-takata/Onigmo/tree/tmp/ruby-2.0.x
k_takata (Ken Takata)
01:41 AM Bug #6145: two possible bugs in Onigmo
1つめは、ENCLOSE_CONDITION で node->target が NULL になることはありません。
チェック無しに node->target をデリファレンスをしているのは、ENCLOSE_STOP_BACKTRAC...
k_takata (Ken Takata)
01:35 AM Bug #6144: regexec may allocate extra memory?
sizeof(char*)をsizeof(OnigStackIndex)に修正しました。
https://github.com/k-takata/Onigmo/tree/tmp/ruby-2.0.x
k_takata (Ken Takata)
12:23 AM Feature #6177: array.cのrb_ary_equal()の高速化
Glass_saga (Masaki Matsushita) wrote:
> patchを直し、rb_equal()を実行した後に互いのRARRAY_LENのチェックと
> p1, p2の有効性のチェック、無効であれば有効なポイ...
nobu (Nobuyoshi Nakada)
12:09 AM Feature #3916: Add flag to ruby to make warnings fatal.
It wouldn't break backward compatibility, but it would take time for libraries to adjust to take the most advantage o... trans (Thomas Sawyer)

03/20/2012

11:34 PM Feature #6177: array.cのrb_ary_equal()の高速化
Nobuyoshi Nakada wrote:
>rb_equal()はメソッドを呼び出すので、その後ではp1,p2が有効である保証がありません。
patchを直し、rb_equal()を実行した後に互いのRARRAY_LEN...
Glass_saga (Masaki Matsushita)
10:00 PM Feature #6177: array.cのrb_ary_equal()の高速化
=begin
もう一点、(({&&}))ではなく(({||}))ではないでしょうか。
=end
nobu (Nobuyoshi Nakada)
09:58 PM Feature #6177: array.cのrb_ary_equal()の高速化
=begin
(({rb_equal()}))はメソッドを呼び出すので、その後では(({p1})),(({p2}))が有効である保証がありません。
=end
nobu (Nobuyoshi Nakada)
08:29 PM Feature #6177: array.cのrb_ary_equal()の高速化
Nobuyoshi Nakada wrote:
>先頭だけではなく、同一オブジェクトかどうかを常に先に調べるようにするとどうなるでしょうか。
最初の要素だけobject_idに依らない同値性の判定が必要なケース(先に添付したp...
Glass_saga (Masaki Matsushita)
06:13 PM Feature #6177: array.cのrb_ary_equal()の高速化
=begin
先頭だけではなく、同一オブジェクトかどうかを常に先に調べるようにするとどうなるでしょうか。
=end
nobu (Nobuyoshi Nakada)
12:08 PM Feature #6177 (Closed): array.cのrb_ary_equal()の高速化
できる限りVALUEの値の比較のみに留め、必要になったらrb_equal()を用いるという方針でrb_ary_equal()の高速化を試みました。
次のベンチマークを行ったところ、以下のような結果となりました。
require...
Glass_saga (Masaki Matsushita)
11:34 PM Feature #3773: Module#parent
I will eventually try again. I don't really understand having #name, but not being able to get the actual constant na... trans (Thomas Sawyer)
09:51 PM Feature #4523 (Rejected): Kernel#require to return the path of the loaded file
nobu (Nobuyoshi Nakada)
07:29 PM Feature #4523: Kernel#require to return the path of the loaded file
On 19/03/12 23:24, Eric Hodel wrote:
> On Mar 19, 2012, at 10:16 AM, Alex Young wrote:
>> On 19/03/12 11:58, Lui...
regularfry (Alex Young)
08:29 AM Feature #4523: Kernel#require to return the path of the loaded file
On Mar 19, 2012, at 10:16 AM, Alex Young wrote:
> On 19/03/12 11:58, Luis Lavena wrote:
>> On Mon, Mar 19, 2012 at...
drbrain (Eric Hodel)
02:23 AM Feature #4523: Kernel#require to return the path of the loaded file
On 19/03/12 11:58, Luis Lavena wrote:
> On Mon, Mar 19, 2012 at 8:06 AM, Alex Young<[email protected]> wrote:
...
regularfry (Alex Young)
03:20 PM Bug #6131: Ctrl-C handler do not work from exec process (Windows)
h.shirosaki (Hiroshi Shirosaki) wrote:
> Specify options:
> { :creationflags => Process::CREATE_NEW_PROCESS_GROUP }...
nobu (Nobuyoshi Nakada)
01:55 PM Revision 905eb21d (git): * 2012-03-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:54 PM Revision 1e42030f (git): test_thread: test_condvar_wait_not_owner duplicates test_condvar_nolock
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:52 PM Feature #3916: Add flag to ruby to make warnings fatal.
There are no priorities for warnings at present, so any code using warnings would need to be updated to take advantag... drbrain (Eric Hodel)
10:48 AM Feature #3916: Add flag to ruby to make warnings fatal.
@drbrain Wouldn't using priorities and setting such a warning to a very low priority solve this?
trans (Thomas Sawyer)
07:40 AM Feature #3916: Add flag to ruby to make warnings fatal.
Sometimes when I use Kernel#warn in my code it is a message the user may not be able to do anything about, such as a ... drbrain (Eric Hodel)
11:28 AM Bug #6099: [BUG] probable buffer overflow
Yui NARUSE wrote:
>IO#readpartial は
>* It blocks only if <em>ios</em> has no data immediately available.
>* The ...
Glass_saga (Masaki Matsushita)
09:46 AM Feature #6176: Allow Enumerable#flatten to take a block
> I think #flat_map makes more sense than #flatten accepting a block. It's unclear to me what #flatten would do with ... trans (Thomas Sawyer)
07:38 AM Feature #6176: Allow Enumerable#flatten to take a block
I think #flat_map makes more sense than #flatten accepting a block. It's unclear to me what #flatten would do with t... drbrain (Eric Hodel)
12:31 AM Feature #6176 (Rejected): Allow Enumerable#flatten to take a block
I see a new method `#flat_map` has been added to Enumerable. Yet passing a block to #flatten has no use. That seems a... trans (Thomas Sawyer)
08:37 AM Feature #3575: String#split is inconsistent with empty string and negative limit
I will add a note to the documentation to cover the behavior of empty strings. drbrain (Eric Hodel)
08:26 AM Bug #6089: Test suite fails with OpenSSL 1.0.1
> Hi Martin,
> so OpenSSL v 1.0.1 is now public [1] and the problem seems to stay. I myself am not SSL expert, but wh...
MartinBosslet (Martin Bosslet)
05:31 AM Bug #4421: [ext/openssl] Fix RSA public key encoding
MartinBosslet (Martin Bosslet) wrote:
> [...] and you need the latter instead of the former, let me know, I could al...
wolfgangw (Wolfgang Woehl)
04:54 AM Bug #6175: watir-2.0.4/lib/watir/ie-class.rb:567: [BUG] Segmentation fault
michaelcm (Michael McWilliam) wrote:
> Re: win32console, it is used by the ansi 1.4.2 gem, is that also no longer be...
luislavena (Luis Lavena)
04:43 AM Bug #6175: watir-2.0.4/lib/watir/ie-class.rb:567: [BUG] Segmentation fault
Re: win32console, it is used by the ansi 1.4.2 gem, is that also no longer being maintained? michaelcm (Michael McWilliam)
04:08 AM Bug #6175: watir-2.0.4/lib/watir/ie-class.rb:567: [BUG] Segmentation fault
Also, I posted it here because the bugreport.html page said to click on the link for ruby 1.9.2 or 1.9.3, but neither... michaelcm (Michael McWilliam)
04:00 AM Bug #6175: watir-2.0.4/lib/watir/ie-class.rb:567: [BUG] Segmentation fault

This is the minimum snapshot of code:
require 'watir'
begin
browser = Watir::Browser.attach( :url, /someUrl/...
michaelcm (Michael McWilliam)
12:48 AM Bug #6175 (Feedback): watir-2.0.4/lib/watir/ie-class.rb:567: [BUG] Segmentation fault
Hello,
Please don't report issues on the backports projects. Use ruby-trunk instead.
Now, if you can provide co...
luislavena (Luis Lavena)
12:23 AM Bug #6175 (Rejected): watir-2.0.4/lib/watir/ie-class.rb:567: [BUG] Segmentation fault
See attached log. Occurs about 5% of the time. Not sure why. Running script again immediately avoids the issue.
C:...
michaelcm (Michael McWilliam)
02:27 AM Bug #6155: Enumerable::Lazy#flat_map raises an exception when an element does not respond to #each
Hi,
shugo (Shugo Maeda) wrote:
> Why the last example defines to_a? flat_map doesn't call to_a, but to_ary.
I...
marcandre (Marc-Andre Lafortune)
02:11 AM Feature #2322 (Rejected): [PATCH] Add standard deviation function to Math Module
Why do we need to specially treat the 2nd central moment, that is standard deviation, than the other nth moment, such... mrkn (Kenta Murata)
 

Also available in: Atom