Project

General

Profile

Activity

From 03/30/2011 to 04/05/2011

04/05/2011

08:23 PM Feature #4539: Array#zip_with
> http://redmine.ruby-lang.org/issues/4539
> ...
Hello,
I'm answering here since redmine won't answer to my requests (even got a 500).
I think this new method would be redundant with `Array#zip`.
But I agree doing `c.zip(d).map {...
Eregon (Benoit Daloze)
03:55 PM Feature #4539 (Assigned): Array#zip_with
naruse (Yui NARUSE)
04:04 PM Feature #4541 (Assigned): Inconsistent Array.slice()
The fix may be following but it can be a spec...
```diff
diff --git a/array.c b/array.c
index bdeb768..4721387 100644
--- a/array.c
+++ b/array.c
@@ -948,7 +948,7 @@ rb_ary_subseq(VALUE ary, long beg, long len)
{
VALUE kl...
naruse (Yui NARUSE)
03:56 PM Bug #4530 (Rejected): trunk "make check" gives "cannot load such file -- zlib" and "cannot load such file -- openssl"
=begin
You seem don't install zlib-dev/readline-dev or something.
=end
naruse (Yui NARUSE)
02:33 PM Bug #4554 (Closed): test_set_errors in test_x509store.rb fails on CentOS 5.5
=begin
On CentOS 5.5, test_set_errors in test_x509store.rb fails as follows:
1.9.2 p180
1) Failure:
test_set_errors(OpenSSL::TestX509Store) [/var/home/yhara/ruby-1.9.2-p180/test/openssl/test_x509store.rb:212]:
OpenSSL::X509...
yhara (Yutaka HARA)
11:34 AM Revision a63105a4 (git): * include/ruby/encoding.h: parenthesize macro arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
08:10 AM Feature #4553 (Rejected): Add Set#pick and Set#pop
=begin
A very common operation on sets is to take an arbitrary element from them at O(1) cost. I know typically
it's suggested that library additions go out as a gem to see community review. However, to me it seems
to be a glaring omi...
adgar (Michael Edgar)
05:07 AM Bug #4501: 1.9.2-p180 fails to compile on OSX 10.7
=begin
First, make sure you’ve installed XCode 4.1 DP 2 (you can download it through Apple if you are enrolled in their developer program)
Next, add the following to your ~/.bash_profile with your favorite editor
export CC=/Develope...
baldwin (Stephen Baldwin)
04:23 AM Bug #4527: [PATCH] IO#close releases GVL if possible
Motohiro KOSAKI <[email protected]> wrote:
> Eric, I commited slightly modified version because your patch couldn't
> ...

Thanks, looks like you missed the following hunk in rb_io_reopen():
~~~diff
diff --git a/io.c b/i...
normalperson (Eric Wong)
04:05 AM Revision 42caa6dd (git): * 2011-04-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:05 AM Revision 257f7859 (git): fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
03:23 AM Feature #4538: [PATCH (cleanup)] avoid unnecessary select() calls before doing I/O
=begin
Charles Oliver Nutter <[email protected]> wrote:
> On Fri, Apr 1, 2011 at 4:57 PM, Eric Wong <[email protected]> wrote:
> > Charles Nutter <[email protected]> wrote:
> >> I wonder, though, if depending on this behav...
normalperson (Eric Wong)

04/04/2011

10:58 PM Bug #4509: Net::IMAP::ResponseParseError: unexpected token CRLF (expected NUMBER)
=begin
=== Better steps to repro
I created a free account on yahoo to reproduce this error. Now, you can repro with these steps:
require 'net/imap'
conn = Net::IMAP.new('imap.mail.yahoo.com', 143, false)
conn.instance_eval { se...
digger69 (Mark Nadig)
10:40 PM Bug #4509: Net::IMAP::ResponseParseError: unexpected token CRLF (expected NUMBER)
=begin
(({def a # test - why "Error: file empty." in bug report}))
=end
digger69 (Mark Nadig)
10:34 PM Bug #4509: Net::IMAP::ResponseParseError: unexpected token CRLF (expected NUMBER)
=begin
=== Better steps to repro
I created a free account on yahoo to reproduce this error. Now, you can repro with these steps:
(({require 'net/imap'
conn = Net::IMAP.new('imap.mail.yahoo.com', 143, false)
conn.instance_...
digger69 (Mark Nadig)
07:12 PM Feature #4532 (Assigned): [PATCH] add IO#pread and IO#pwrite methods
Hi
I personally still dislike pread/pwrite method name, but I give up to argue it because I'm worry about making endless discussion. Let's assign this ticket to matz and hear his opinions. :)
kosaki (Motohiro KOSAKI)
07:07 PM Bug #4500 (Closed): warning: implicit declaration of function 'fdatasync' for OS X
=begin
=end
kosaki (Motohiro KOSAKI)
01:11 PM Revision 78ea7afe (git): * ext/io/nonblock/nonblock.c (io_nonblock_set): Avoid F_SETFL if
we're not changing the O_NONBLOCK bit. F_SETFL is an expensive
operation since it needs to affect all processes with the same
file object.
The patch is written by Eric Wong. [ruby-core:35556]
git-svn-id: svn+ssh://ci.ruby-lang.o...
kosaki (Motohiro KOSAKI)
12:43 PM Revision 3ba502d5 (git): * io.c (rb_io_syswrite): While local FS writes are usually
buffered, the buffers can be full or the file opened with
O_SYNC. IO#syswrite can also be used on blocking IOs
(pipe/socket) just like IO#write.
The patch is written by Eric Wong. [ruby-core:35554]
git-svn-id: svn+ssh://ci.ruby-...
kosaki (Motohiro KOSAKI)
07:35 AM Feature #4551 (Closed): uri.set_scheme should downcase schemes
=begin
From RFC 2396 section 3.1:
"For resiliency, programs interpreting URI should treat upper case letters as equivalent to lower case in scheme names (e.g., allow 'HTTP' as well as 'http')."
Currently programs using URI for HTT...
drbrain (Eric Hodel)
05:20 AM Bug #4550 (Closed): Loading an RSA public key during an HTTPS connection corrupts the connection
=begin
The attached file creates an HTTPS connection to gmail.com then loads an RSA public key.
If a private key is loaded the error does not reproduce.
Loading of the public key corrupts the HTTPS connection resulting in the follo...
drbrain (Eric Hodel)
02:51 AM Revision b36f8e6e (git): * 2011-04-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:51 AM Revision 8eb92a67 (git): * test/test_tempfile.rb: simply ignore platform depedent testcases
instead of skipping.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura

04/03/2011

11:36 PM Bug #4545 (Closed): [PATCH] syslog extension documentation improvements and fixes
=begin
I've committed in r31234.
=end
nagachika (Tomoyuki Chikanaga)
10:45 PM Bug #4545: [PATCH] syslog extension documentation improvements and fixes
=begin
Thank you for your patch. It seems good for me.
But I've found a typo: "a shotcut method" -> "a shortcut method". right?
I'll check in it later with fix a typo.
Thnaks again.
=end
nagachika (Tomoyuki Chikanaga)
09:33 PM Bug #4500 (Assigned): warning: implicit declaration of function 'fdatasync' for OS X
=begin
To be honest, I'm not sure Apple's system function support policy. But I'm sure your suggestions were right in past. Then, I'll commit this proposal as is.
Thanks.
=end
kosaki (Motohiro KOSAKI)
09:25 PM Bug #4527 (Closed): [PATCH] IO#close releases GVL if possible
Eric, I commited slightly modified version because your patch couldn't apply for latest trunk. Could you please confirm it?
kosaki (Motohiro KOSAKI)
01:58 PM Revision 6a06e940 (git): * ext/syslog/syslog.c: improve rdoc.
a patch by Jonas Pfenniger. [ruby-core:35592] fixes #4545
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
01:10 PM Revision 11b1f4ff (git): * ext/zlib/zlib.c: parenthesize macro arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:35 PM Revision f4755f21 (git): * configure.in: disable fdatasync again on Mac OS X.
[ruby-core:35493][Bug #4500]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
12:24 PM Revision 34c46a67 (git): * 2011-04-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:23 PM Revision f35a7770 (git): * io.c (io_reopen): IO#close releases GVL if possible.
close() may block for certain file types (NFS, SO_LINGER
sockets, inotify), so let other threads run. The patch was
created by Eric Wong [ruby-core:35555][Bug #4527]
* io.c (fptr_finalize): ditto.
* io.c (maygvl_fclose): new.
* io....
kosaki (Motohiro KOSAKI)
07:23 AM Feature #4538: [PATCH (cleanup)] avoid unnecessary select() calls before doing I/O
=begin
On Fri, Apr 1, 2011 at 4:57 PM, Eric Wong <[email protected]> wrote:
> Charles Nutter <[email protected]> wrote:
>> I wonder, though, if depending on this behavior is leading Ruby more
>> and more down the GVL path. The ...
headius (Charles Nutter)

04/02/2011

05:34 PM Bug #4549: Can't start class names with non us-ascii chars
=begin
irb(main):003:0> #encoding: UTF-8
irb(main):004:0* class Åäö; end
SyntaxError: (irb):4: class/module name must be CONSTANT
class Åäö; end
^
from /usr/local/bin/irb:12:in `<main>'
...
carl.hoerberg (Carl Hörberg)
05:33 PM Bug #4549 (Rejected): Can't start class names with non us-ascii chars
=begin
irb(main):003:0> #encoding: UTF-8
irb(main):004:0* class Åäö; end
SyntaxError: (irb):4: class/module name must be CONSTANT
class Åäö; end
^
from /usr/local/bin/irb:12:in `<main>'
=end
carl.hoerberg (Carl Hörberg)
07:23 AM Feature #4538: [PATCH (cleanup)] avoid unnecessary select() calls before doing I/O
=begin
Charles Nutter <[email protected]> wrote:
> I wonder, though, if depending on this behavior is leading Ruby more
> and more down the GVL path. The designers of the JVM's core IO
> libraries, for example, were unable to re...
normalperson (Eric Wong)

04/01/2011

07:01 PM Feature #4538: [PATCH (cleanup)] avoid unnecessary select() calls before doing I/O
=begin
Understood. I read through a bit more code and saw that Ruby uses pthread signalling and RUBY_VM_CHECK_INTS after blocking regions to interrupt blocking operations.
I wonder, though, if depending on this behavior is leading Rub...
headius (Charles Nutter)
07:29 AM Feature #4538: [PATCH (cleanup)] avoid unnecessary select() calls before doing I/O
=begin
Charles Nutter <[email protected]> wrote:
> Is it possible to interrupt/wakeup a thread that's doing a direct
> blocking IO call? I always understood that as the primary reason for
> doing the select logic.

Yes for n...
normalperson (Eric Wong)
05:46 PM Bug #4547 (Closed): RUBY_HEAP_MIN_SLOTS is not reflected
=begin
nariです。
環境変数RUBY_HEAP_MIN_SLOTSから値を取得して、一番最初のヒープサイズを指定できる機能(rb_gc_set_params())が r31044 にて追加されています。
ですが、ヒープを最初に作成するInit_heap()がrb_gc_set_params()よりも前に呼び出されてしまうため、環境変数RUBY_HEAP_MIN_SLOTSの値がヒープサイズに反映されません。
そこで、rb_gc_set_para...
authorNari (Narihiro Nakamura)
02:15 PM Bug #4476: [PATCH] URI('http://hoge/b/').route_to('http://hoge/b') wrongly returns './'
=begin
I confirmed. Could you please commit your patch?
=end
akira (akira yamada)
01:29 PM Bug #4534: ri does not open $PAGER with program name only
=begin
(('+1'))

=end
Cezary (Cezary Baginski)
01:26 PM Revision 8a6e9ec0 (git): * ext/syslog/syslog.c: parenthesize macro arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:08 AM Bug #4546: ruby-indent-beg-re の値が壊れている
=begin
新しい Redmine に慣れてなくて、patch が崩れてしまいました。
以下に再掲します。

diff --git a/misc/ruby-mode.el b/misc/ruby-mode.el
index c799d8c..9023b77 100644
--- a/misc/ruby-mode.el
+++ b/misc/ruby-mode.el
@@ -72,7 +72,7 @@
"Regexp to match")
...
mrkn (Kenta Murata)
10:06 AM Bug #4546 (Closed): ruby-indent-beg-re の値が壊れている
vim-ruby の indent/ruby.vim を修正しようと思い ruby-mode.el を読んでいたところ
ruby-indent-beg-re の値が壊れているような気がしたので報告します。
r19205 で regexp-opt を使って正規表現を最適化するよう改善されていますが、
そのときに \\| が抜けてしまっています。
r19204 の 場合:
"\\(\\s *\\(class\\|module\\|def\\)\\)\\|i...
mrkn (Kenta Murata)
10:02 AM Revision cc8bc6b7 (git): Fri Apr 1 18:53:06 2011 NAKAMURA, Hiroshi <[email protected]>
* lib/webrick/cookie.rb (WEBrick::Cookie.parse): 'white space is
permitted between tokens' according to RFC2965. Though 'Netscape
spec' does not define the syntax clearly, make it tolerant as a
server. As a ...
Hiroshi Nakamura
04:19 AM Revision 9d0fbe23 (git): * vm_core.h (RUBY_VM_CHECK_INTS_TH): merge a patch by ko1
in [ruby-dev:43373].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

03/31/2011

11:32 PM Bug #3660: Trace events seem to be missing
=begin
Keiju was this expected? I'm thinking it wasn't...
=end
rogerdpack (Roger Pack)
11:15 PM Bug #4545 (Closed): [PATCH] syslog extension documentation improvements and fixes
=begin
Small documentation fixes for the syslog extension.
The patch is a GIT patch on top of 7487298584145058f2340dc7a6e4da8d21fe5248.
Please let me know if you need a SVN patch instead.
Cheers,
Jonas
=end
zimbatm (zimba tm)
10:43 PM Bug #4544 (Closed): Ripperで「:"a \n b \n c"」を正常にパースできない
=begin
Ripper::SexpBuilder.new(%Q!:"a \n b \n c"!).parse にて、on_tstring_content メソッドが二回連続で呼び出されます。
検証済みバージョン
* ruby 1.9.3dev (2011-03-31 trunk 31223) [i686-linux]
* ruby 1.9.2p180 (2011-02-18 revision 30909) [i686-linux]
* ruby 1.9...
exkazuu (Kazunori SAKAMOTO)
10:24 PM Bug #4543: Ripperで"<<-eos\neos"を正常にパースできない
=begin
require 'ripper'
class Parser < Ripper::SexpBuilder
ms = Ripper::SexpBuilder.new('').methods
defs = ms.map { |s| s.to_s }
.select { |s| s.start_with?('on_') }
.map { |s| %Q{
def #{s}(*args)
print...
exkazuu (Kazunori SAKAMOTO)
10:23 PM Bug #4543: Ripperで"<<-eos\neos"を正常にパースできない
=begin
----"<<-eos\neos"----
on_heredoc_beg: ["<<-eos"]
on_string_content: []
on_string_literal: [[]]
on_nl: ["\n"]
on_stmts_new: []
on_stmts_add: [[], [[]]]
on_program: [[[], [[]]]]
----"<<-eos\n\neos----
on_heredoc...
exkazuu (Kazunori SAKAMOTO)
10:01 PM Bug #4543 (Closed): Ripperで"<<-eos\neos"を正常にパースできない
=begin
Ripper::SexpBuilder.new(%Q!<<-eos\neos!).parse
にて、on_heredoc_end メソッドが呼び出されません。
■検証済みバージョン
ruby 1.9.3dev (2011-03-31 trunk 31223) [i686-linux]
ruby 1.9.2p180 (2011-02-18 revision 30909) [i686-linux]
ruby 1.9.1p431 (2011-02...
exkazuu (Kazunori SAKAMOTO)
05:23 PM Bug #4536: 定数参照について1.8と1.9の違い
=begin
前田です。

2011年3月29日18:37 Shugo Maeda <[email protected]>:
>> # しかし,なんで Module::B なんだ.
>
> こっちはまだ見てませんが、何なんでしょうね…。

vm_get_ev_const()の中でroot_crefが正しく設定されないケースが
あったせいのようです。
修正したところ、test_eval.rbの以下のテストが失敗するようになりました...
shugo (Shugo Maeda)
05:23 PM Bug #4536: 定数参照について1.8と1.9の違い
=begin
前田です。

2011年3月29日18:37 Shugo Maeda <[email protected]>:
>> # しかし,なんで Module::B なんだ.
>
> こっちはまだ見てませんが、何なんでしょうね…。

vm_get_ev_const()の中でroot_crefが正しく設定されないケースが
あったせいのようです。
修正したところ、test_eval.rbの以下のテストが失敗するようになりました...
shugo (Shugo Maeda)
04:44 PM Feature #4541 (Rejected): Inconsistent Array.slice()
Array `slice`/`[]` method is a bit inconsistent. Is it just poorly documented "feature" or a bug? In API doc I can't find this behaviour mentioned as a "special case".
```ruby
def test_array_slice
array = ['a', 'b', 'c']
a...
kbl (Marcin Pietraszek)
03:37 PM Feature #4538: [PATCH (cleanup)] avoid unnecessary select() calls before doing I/O
=begin
Is it possible to interrupt/wakeup a thread that's doing a direct blocking IO call? I always understood that as the primary reason for doing the select logic.
=end
headius (Charles Nutter)
03:12 PM Revision 92b7d39e (git): * 2011-04-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:10 PM Revision 0916f978 (git): * ChangeLog: fix typo of r31205
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e arton (Akio Tajima)
02:15 PM Revision 2cda6302 (git): * misc/ruby-mode.el (ruby-brace-to-do-end, ruby-do-end-to-brace):
adjust space between block beginning and block arguments
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:42 AM Revision eb239b43 (git): * ext/strscan/strscan.c: parenthesize macro arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
09:07 AM Revision 74872985 (git): * vm_insnhelper.c (vm_get_ev_const): should ignore crefs with
the NODE_FL_CREF_PUSHED_BY_EVAL flag.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shugo (Shugo Maeda)
07:52 AM Revision 4273aa8e (git): * vm_insnhelper.c (vm_get_ev_const): search root cref properly.
[ruby-dev:43365]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shugo (Shugo Maeda)
05:54 AM Revision 3044423f (git): * 2011-03-31
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:54 AM Revision e3d7e34e (git): * eval.c (rb_mod_s_constants): should ignore crefs with
the NODE_FL_CREF_PUSHED_BY_EVAL flag.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shugo (Shugo Maeda)

03/30/2011

03:23 PM Bug #4536: 定数参照について1.8と1.9の違い
=begin
前田です。

2011年3月30日8:28 Yukihiro Matsumoto <[email protected]>:
> テストでエラーが増えないようならコミットしていただけませんか?

test/ruby/test_defined.rbが失敗するようになりましたが、このバグに依存した
テストだったのでclass_evalを使わないように修正してcommitしました。

--
Shugo Maeda
=end
shugo (Shugo Maeda)
03:23 PM Bug #4536: 定数参照について1.8と1.9の違い
=begin
前田です。

2011年3月30日8:28 Yukihiro Matsumoto <[email protected]>:
> テストでエラーが増えないようならコミットしていただけませんか?

test/ruby/test_defined.rbが失敗するようになりましたが、このバグに依存した
テストだったのでclass_evalを使わないように修正してcommitしました。

--
Shugo Maeda
=end
shugo (Shugo Maeda)
08:29 AM Bug #4536: 定数参照について1.8と1.9の違い
=begin
まつもと ゆきひろです

テストでエラーが増えないようならコミットしていただけませんか?

In message "Re: [ruby-dev:43367] Re: [Ruby 1.9 - Bug #4536][Open] 定数参照について1.8と1.9の違い"
on Tue, 29 Mar 2011 18:37:47 +0900, Shugo Maeda <[email protected]> writes:
|
...
matz (Yukihiro Matsumoto)
08:29 AM Bug #4536: 定数参照について1.8と1.9の違い
=begin
まつもと ゆきひろです

テストでエラーが増えないようならコミットしていただけませんか?

In message "Re: [ruby-dev:43367] Re: [Ruby 1.9 - Bug #4536][Open] 定数参照について1.8と1.9の違い"
on Tue, 29 Mar 2011 18:37:47 +0900, Shugo Maeda <[email protected]> writes:
|
...
matz (Yukihiro Matsumoto)
01:55 PM Revision 633cf770 (git): * misc/ruby-mode.el (ruby-toggle-block): toggle do/end and {}.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:54 PM Revision 764c486b (git): * misc/ruby-mode.el (ruby-move-to-block): move to opening of
block.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:48 PM Revision 3e2a0184 (git): * ext/date: use timev.h in toplevel.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:21 AM Feature #4539 (Rejected): Array#zip_with
Inspired by Haskell's `zipWith` function, I hacked on together for Ruby:
```ruby
[1,2,3].zip_with([6,5,4], :+) #=> [7, 7, 7]
[1,2,3].zip_with([6,5,4]) { |a,b| 3*a+2*b } #=> [15, 16, 17]
```
So far I only have a Ruby version of i...
citizen428 (Michael Kohl)
05:38 AM Revision 3b20c218 (git): * vm_insnhelper.h (COPY_CREF): should copy
the NODE_FL_CREF_PUSHED_BY_EVAL flag to hide constants from
methods defined by class_eval. [ruby-dev:43365]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shugo (Shugo Maeda)
03:52 AM Revision 089462f5 (git): fixing syntax error in 1.8
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e tenderlovemaking (Aaron Patterson)
03:38 AM Revision 9e448999 (git): converting require_relative to just regular requires
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e tenderlovemaking (Aaron Patterson)
03:29 AM Feature #4531: [PATCH 0/7] use poll() instead of select() in certain cases
=begin
Eric Wong <[email protected]> wrote:
> On a related note:
>
> Ruby also still needlessly checks for read/writability with select()[2]
> even though though we have support for blocking regions. I think
> tha...
normalperson (Eric Wong)
03:23 AM Feature #4531: [PATCH 0/7] use poll() instead of select() in certain cases
=begin
KOSAKI Motohiro <[email protected]> wrote:
<snip>
Thanks again for your reply and support :>

> 2011/3/29 Eric Wong <[email protected]>:
> > I mainly think select() is a horrible interface and having extensi...
normalperson (Eric Wong)
03:23 AM Feature #4532: [PATCH] add IO#pread and IO#pwrite methods
KOSAKI Motohiro <[email protected]> wrote:
> 2011/3/29 Eric Wong <[email protected]>:
> > KOSAKI Motohiro <[email protected]> wrote:
> >> Do we really need to introduce new method? Why can't we overload
> >> ...
normalperson (Eric Wong)
03:22 AM Feature #4538 (Closed): [PATCH (cleanup)] avoid unnecessary select() calls before doing I/O
=begin
Please look at http://redmine.ruby-lang.org/issues/4535 before
this one. That one actually fixes a bug I noticed while working
on this patch.
Ruby 1.9 no longer depends on multiplexed non-blocking I/O
to do its threading a...
normalperson (Eric Wong)
 

Also available in: Atom