Project

General

Profile

Activity

From 09/16/2014 to 09/22/2014

09/22/2014

11:42 PM Feature #2567: Net::HTTP does not handle encoding correctly
I'm also encountering this issue after upgrading from 1.8.7 to 2.0.0. The issue was difficult to troubleshoot becaus... marcel (Marcel Cary)
11:40 PM Misc #10278: [RFC] st.c: use ccan linked list
Eric Wong <[email protected]> wrote:
> Will test on the old Phenom II, too.

bighash looks nice as expected, ...
normalperson (Eric Wong)
06:58 PM Misc #10278: [RFC] st.c: use ccan linked list
Better (at least more explainable) results on the Xeon:
http://80x24.org/spew/m/[email protected]

...
normalperson (Eric Wong)
07:23 AM Misc #10278 (Assigned): [RFC] st.c: use ccan linked list
Indeed. nobu (Nobuyoshi Nakada)
07:12 AM Misc #10278: [RFC] st.c: use ccan linked list
[email protected] wrote:
> Probably, we should remove `back` member.

Just `back` and making it a singly-linked ...
normalperson (Eric Wong)
06:34 AM Misc #10278: [RFC] st.c: use ccan linked list
Probably, we should remove `back` member. nobu (Nobuyoshi Nakada)
05:32 AM Misc #10278 (Closed): [RFC] st.c: use ccan linked list
Mainly posting this for documentation purposes because it seems like
an obvious thing to try given we have ccan/list...
normalperson (Eric Wong)
11:24 PM Bug #10283 (Closed): Calling define_method with a dynamic symbol ending in = results in a NoMethodError when calling the method via assignment, until called via send
This raises a NoMethodError in ruby 2.2.0preview1:
ruby -e "class A; define_method('b='.to_sym){|v|}; end; A.n...
jeremyevans0 (Jeremy Evans)
04:04 PM Bug #10277: Ampersand to_proc issues
This seems correct to me. The `&` operator expects `to_proc` to return an actual `Proc`. `AmpersandMethod#to_proc` do... Anonymous
03:34 PM Bug #10282 (Closed): Reproducible segfault when inspecting this method
The example code can be found here (in this exact comment): https://github.com/pry/pry/issues/1299#issuecomment-56389... schnittchen (Thomas Stratmann)
02:03 PM Bug #10281 (Closed): r47683 (add GC guard in rb_ary_splice())
nagachika (Tomoyuki Chikanaga)
01:23 PM Bug #10280 (Rejected): Regression while evaluating default argments of a method

~~~ruby
class DefArg
def calc(str, val=val)
p val
end

def val
10
end
end

# ruby-2.2....
iffyuva (Yuva Kumar)
09:13 AM Bug #10279: Syntax error on Hash with symbol syntax and nested expression: 2.1.3 regression
trunk is same behaviour:
```
ruby 2.2.0preview1 (2014-09-17 trunk 47616) [x86_64-darwin13]
10279.rb:1: syntax er...
hsbt (Hiroshi SHIBATA)
08:53 AM Bug #10279 (Closed): Syntax error on Hash with symbol syntax and nested expression: 2.1.3 regression
The following gives syntax error on ruby 2.1.3
~~~ruby
h = { key: if true
"yes"
else
...
jackmontaach (Jack Montaach)
06:41 AM Feature #8366 (Open): Exception.message take time to execute depending on the instance variables
nobu (Nobuyoshi Nakada)
06:10 AM Bug #10275: Issues when trying to complile ruby 2.1.3
Probably same as [Bug #10272]. nobu (Nobuyoshi Nakada)
03:22 AM Feature #10267: Number of processors
Eric Wong wrote:
> In your patch2, the test is still using the old name.
Oops. Fixed.
akr (Akira Tanaka)
03:20 AM Feature #10267: Number of processors
[email protected] wrote:
> However I think the method name can be changed to
> Etc.nprocessors.
>
> If someone succe...
normalperson (Eric Wong)
03:08 AM Feature #10267: Number of processors
Eric Wong wrote:
> [email protected] wrote:
> > matz accepted this feature including the method name,
> > Etc.nproces...
akr (Akira Tanaka)
03:14 AM Bug #10245: TestTimeTZ#test_gen_Europe_Lisbon_111 fails with recent tzdata
I committed a fix r47680.
It still test Europe/Lisbon because I'd like to test
an situation that gmtoff is not a ...
akr (Akira Tanaka)
03:12 AM Bug #10245 (Closed): TestTimeTZ#test_gen_Europe_Lisbon_111 fails with recent tzdata
Applied in changeset r47680.
----------
* test/ruby/test_time_tz.rb: Fix test error with tzdata-2014g.
[ruby-core:...
akr (Akira Tanaka)

09/21/2014

10:28 PM Bug #10277 (Rejected): Ampersand to_proc issues
I'm noticing weird inconsistencies when when returning a bound method in the #to_proc method when using ... jridgewell (Justin Ridgewell)
05:52 PM Feature #8366 (Closed): Exception.message take time to execute depending on the instance variables
It can't be reproduced with ruby 2.1.3.
```
ruby 2.1.3p242 (2014-09-19 revision 47630) [x86_64-linux]
before Nam...
Glass_saga (Masaki Matsushita)
04:59 PM Bug #8679 (Closed): Time.newのutc_offset文字列で、 MMが60-99の場合にも例外を出して欲しい
Applied in changeset r47676.
----------
* time.c: raise exception when minutes of utc_offset is out of 00-59.
patc...
Anonymous
03:06 PM Feature #10095: Object#as
I should admit that I never liked object to which a block method is called being passed as block parameter.
Even f...
jihwans (Jihwan Song)
01:47 PM Feature #10095: Object#as
I think the goal is always to keep Ruby language beautiful.
The original request was done with certain motive. What ...
jihwans (Jihwan Song)
01:01 PM Feature #10270: Hash#insert
The name "insert" seems good to me because it implies a *new* entry and unable to change an *old* entry. But key-valu... atlas (Atlas Prime)
11:50 AM Feature #10270 (Feedback): Hash#insert
1. I am not sure #insert is the best name for non clobbering merge.
2. do you know merge takes a block to resolve ke...
matz (Yukihiro Matsumoto)
09:37 AM Bug #10276 (Rejected): nil/true/false に singleton メソッドを定義できてしまう
nil/true/false が frozen object なのに singleton メソッドを定義できてしまいます。
~~~
% cat /tmp/f.rb
def d(o)
p o.frozen?
def...
znz (Kazuhiro NISHIYAMA)
08:58 AM Bug #10275: Issues when trying to complile ruby 2.1.3
Hi, an you reproduce the problem without RVM?
(e.g. "./configure && make && make install")

If not, please see ht...
normalperson (Eric Wong)
08:29 AM Bug #10275 (Closed): Issues when trying to complile ruby 2.1.3
I encountered an issues where I was using RVM to install ruby 2.1.3 and it kept hanging at the compilation stage.
I...
thalesian (Alex Kiagiri)
08:58 AM Feature #10274: [PATCH 0/2] more rb_iseq_t reductions (and more planned)
[email protected] wrote:
> File 0002-iseq-remove-iseq-iseq-field-270-262-bytes-on-64-bit.patch added

Ugh, fo...
normalperson (Eric Wong)
07:43 AM Feature #10274 (Closed): [PATCH 0/2] more rb_iseq_t reductions (and more planned)
Both of these are pretty simple, low impact patches:
We are close to being able to fit rb_iseq_t in four 64 byte
...
normalperson (Eric Wong)
04:17 AM Bug #10272: miniruby hangs on Mac OS X 10.7
Yes, that fixes it. Anonymous
02:13 AM Bug #10272 (Feedback): miniruby hangs on Mac OS X 10.7
Could you try `configure --with-setjmp-type=setjmp`? nobu (Nobuyoshi Nakada)
03:21 AM Feature #9952 (Closed): Optimize object allocations in CSV::Row
Applied in changeset r47663.
----------
* lib/csv.rb: avoid unnecessary object allocations.
patch is from Andrew V...
Anonymous
02:28 AM Bug #10258: conversion WIN32OLE_VARIANT and Time
2.0.0と2.1へのBackportは不要です。 suke (Masaki Suketa)
02:18 AM Bug #10258 (Closed): conversion WIN32OLE_VARIANT and Time
Applied in changeset r47658.
----------
ext/win32ole/win32ole.c (rbtime2vtdate, vtdate2rbtime): fix
the bug in conve...
suke (Masaki Suketa)
02:26 AM Feature #10227: array.include? is much slower than array.index
Result of benchmark script the same as ruby-core:64954.
```
Rehearsal -------------------------------------------...
Glass_saga (Masaki Matsushita)
02:23 AM Feature #10227 (Closed): array.include? is much slower than array.index
Applied in changeset r47659.
----------
* array.c: use rb_equal_opt() for performance improvement.
[ruby-...
Anonymous
02:08 AM Feature #10227 (Assigned): array.include? is much slower than array.index
Glass_saga (Masaki Matsushita)
02:04 AM Feature #10273 (Open): Immutable Ruby
I watched Matz recent keynote about the future of Ruby. I wonder if Ruby can become an immutable language? That could... atlas (Atlas Prime)
02:00 AM Feature #10073: [PATCH] Implement Laplace expansion for matrix.
Looks good.
I'd change the interface slightly so we can call it with named parameters instead:
m.laplace_ex...
marcandre (Marc-Andre Lafortune)
12:40 AM Feature #9999: Type Annotations (Static Type Checking)
One design to consider is interfaces as implemented in the Go programming language, in which interfaces combine stati... roryokane (Rory O’Kane)

09/20/2014

10:29 PM Feature #10095: Object#as
Jihwan Song wrote:
> I realized that what is desired here is somewhat different than what can be achieved using `cla...
phluid61 (Matthew Kerwin)
10:19 PM Feature #10095: Object#as
I realized that what is desired here is somewhat different than what can be achieved using `class_eval`, `instance_ev... jihwans (Jihwan Song)
12:15 PM Feature #10095: Object#as
Matthew Kerwin wrote:
> How often do you see the keyword `yield` without arguments? Even in your examples you are cl...
jihwans (Jihwan Song)
11:54 AM Feature #10095: Object#as
Jihwan Song wrote:
> Matt,
>
> I guess I had totally different understanding of the Ruby keyword 'yield'. When I ...
phluid61 (Matthew Kerwin)
11:19 AM Feature #10095: Object#as
Matt,
I guess I had totally different understanding of the Ruby keyword 'yield'. When I first saw the language yea...
jihwans (Jihwan Song)
07:35 AM Feature #10095: Object#as
Jihwan Song wrote:
> I wonder what is the biggest reason that yield may not be the word....
>
My biggest concer...
phluid61 (Matthew Kerwin)
02:48 AM Feature #10095: Object#as
I wonder what is the biggest reason that yield may not be the word....
~~~ruby
class Object
def yield(*args, &...
jihwans (Jihwan Song)
05:31 PM Bug #10272 (Closed): miniruby hangs on Mac OS X 10.7
When compiling v2.1.3 with Apple's clang on Mac OS X 10.7, the build hangs while invoking the `miniruby` executable:
...
Anonymous
03:27 PM Misc #10271 (Rejected): Drop exec bits from bundled gems
This is mere cosmetic matter, but it should be nice to drop exec bits from bundled *.gems in the tarball. They shoul... sakuro (Sakuro OZAWA)
01:25 PM Feature #10270 (Feedback): Hash#insert
Hash doesn't appear to have a "safe" way to insert an entry that won't clobber another key if it is already there. So... atlas (Atlas Prime)
08:15 AM Feature #10017: Add `Hash#fetch_values`
-1 for `values_at!` (this isn't a "!" method)
+0 for `fetch_at` (it's not clear that it isn't just an alias for `#...
phluid61 (Matthew Kerwin)
03:23 AM Feature #10017: Add `Hash#fetch_values`
one vote for `#values_at` jihwans (Jihwan Song)
07:13 AM Feature #10084: Add Unicode String Normalization to String class
For Nobu:
These are the three files that should be downloaded during build time
(with "If-Modified-Since" to avoid ...
duerst (Martin Dürst)
06:52 AM Feature #9826 (Closed): Enumerable#slice_between
Applied in changeset r47652.
----------
* enum.c (enum_slice_when): New method: Enumerable#slice_when.
(slicewhen_...
akr (Akira Tanaka)
06:30 AM Feature #9826 (Open): Enumerable#slice_between
Agreed with slice_when. Gi ahead.
Matz.
matz (Yukihiro Matsumoto)
06:28 AM Bug #10269 (Third Party's Issue): Upgrade 2.1.2 to 2.1.3 fail
hsbt (Hiroshi SHIBATA)
06:22 AM Bug #10269: Upgrade 2.1.2 to 2.1.3 fail
[email protected] wrote:
> ruby-2.1.3 is a full ruby name and can not be used as alias name.

This is an R...
normalperson (Eric Wong)
06:08 AM Bug #10269 (Third Party's Issue): Upgrade 2.1.2 to 2.1.3 fail
Upgrade 2.1.2 to 2.1.3 fail
on Debian 7
log:
[2014-09-20 11:57:08] migrate_rubies_alias
migrate_rubies_alias ...
Sega100500 (Сергей Е)
06:00 AM Feature #10267: Number of processors
KOSAKI Motohiro <[email protected]> wrote:
> On Sat, Sep 20, 2014 at 1:03 PM, Eric Wong <normalperson@yhbt....
normalperson (Eric Wong)
04:12 AM Feature #10267: Number of processors
[email protected] wrote:
> matz accepted this feature including the method name,
> Etc.nprocessors_online.

I think t...
normalperson (Eric Wong)
02:49 AM Feature #10267 (Closed): Number of processors
How about a method to obtain number of processors?
Several committers discussed this feature at RubyKaigi 2014.
...
akr (Akira Tanaka)
05:43 AM Bug #10268 (Closed): OpenSSL::PKey::EC::Point#mul causes a segmentation fault
Following code sometimes causes SEGV on Ubuntu 14.04 x86_64.
Backtrace log is attached.
~~~ruby
require 'openssl...
ktsj (Kazuki Tsujimoto)
04:46 AM Bug #10264: Error compiling Ruby 2.1.3 on OSX 10.10 beta 3
Thank you, Hiroshi Shibata. Will do. jamonholmgren (Jamon Holmgren)
04:39 AM Bug #10264 (Rejected): Error compiling Ruby 2.1.3 on OSX 10.10 beta 3
>couldn't understand kern.osversion `14.0.0'
xcode 5 isn't support to Yosemite. Please upgrade xcode.
hsbt (Hiroshi SHIBATA)
01:49 AM Bug #10264: Error compiling Ruby 2.1.3 on OSX 10.10 beta 3
My config.log is here: https://gist.github.com/jamonholmgren/0c9921561daafe89bf23
Note that I put both error and s...
jamonholmgren (Jamon Holmgren)
02:27 AM Feature #4276: Allow use of quotes in symbol syntactic sugar for hashes
Just a note: last evening at RubyKaigi 2014, talked to matz about this issue, and got his approval to introduce this ... nobu (Nobuyoshi Nakada)
01:48 AM Feature #4276 (Closed): Allow use of quotes in symbol syntactic sugar for hashes
Applied in changeset r47649.
----------
parse.y: quoted ID key
* parse.y (assoc): allow quoted ID as a key of a has...
nobu (Nobuyoshi Nakada)
01:48 AM Feature #4276: Allow use of quotes in symbol syntactic sugar for hashes
OK, I commit the previous patch.
Yell if you don't like it.
nobu (Nobuyoshi Nakada)
01:48 AM Feature #9047 (Closed): Alternate hash key syntax for symbols
Applied in changeset r47649.
----------
parse.y: quoted ID key
* parse.y (assoc): allow quoted ID as a key of a has...
nobu (Nobuyoshi Nakada)
01:48 AM Feature #4935 (Closed): Quoted Label Form for 1.9 Hashes
Applied in changeset r47649.
----------
parse.y: quoted ID key
* parse.y (assoc): allow quoted ID as a key of a has...
nobu (Nobuyoshi Nakada)
01:23 AM Bug #10266 (Closed): String#to_sym generates too big object_id?
Applied in changeset r47648.
----------
compile.c: store IDs as Symbols
* compile.c (iseq_set_arguments): stor...
nobu (Nobuyoshi Nakada)

09/19/2014

11:54 PM Bug #10266 (Closed): String#to_sym generates too big object_id?
## Script
~~~ruby
puts "hoge".to_sym.object_id
eval("def a(hoge:); end")
~~~
## Result on ruby 2.1.2p95 (2014-...
gussan (Hiroki Eguchi)
11:53 PM Feature #10256: [PATCH] reduce rb_call_info_t 96 => 88 bytes on 64-bit
-1 because of performance concern (indirect access).
I'm not sure how it is impact for not so smart CPUs.
(I wond...
ko1 (Koichi Sasada)
05:58 PM Feature #10256: [PATCH] reduce rb_call_info_t 96 => 88 bytes on 64-bit
Similar patch for rb_method_definition_t, tested on a different system due to
power outages.
Not much change, but...
normalperson (Eric Wong)
10:56 PM Bug #10263 (Closed): `super` does not work from binding eval context
Applied in changeset r47645.
----------
vm_eval.c: fix super from eval with scope
* vm_eval.c (eval_string_with_cre...
nobu (Nobuyoshi Nakada)
12:41 PM Bug #10263 (Closed): `super` does not work from binding eval context
`super` is broken when called from inside a binding eval context.
Test case:
```
class A
def foo
puts ...
Anonymous
10:38 PM Bug #10264: Error compiling Ruby 2.1.3 on OSX 10.10 beta 3
What version of your xcode? I couldn't reproduce OSX 10.10 with xcode 6.1 beta2. hsbt (Hiroshi SHIBATA)
10:10 PM Bug #10264 (Feedback): Error compiling Ruby 2.1.3 on OSX 10.10 beta 3
Could you show config.log? nobu (Nobuyoshi Nakada)
04:34 PM Bug #10264: Error compiling Ruby 2.1.3 on OSX 10.10 beta 3
I was able to work around this by prepending the ./configure command with CC=/usr/bin/gcc
CC=/usr/bin/gcc ./co...
jamonholmgren (Jamon Holmgren)
04:16 PM Bug #10264 (Rejected): Error compiling Ruby 2.1.3 on OSX 10.10 beta 3
I'm getting a configure error when trying to compile Ruby 2.1.3 on OSX 10.10 Yosemite beta 3.
```
➜ ruby-2.1.3 ...
jamonholmgren (Jamon Holmgren)
07:38 PM Feature #10254: Array#each and Array#map for nested arrays
It's a shame it's not `map_flat`, and thus in this case `map_nested`, as it would organize documentation in a nicer f... trans (Thomas Sawyer)
06:58 PM Feature #10254: Array#each and Array#map for nested arrays
`nested_map` makes sense since there is a `flat_map`. This is similar but different:
~~~
[[[1, 2], [3, 4]], [[5, ...
avit (Andrew Vit)
06:01 PM Feature #10177: Hash#has_key? and Hash#has_value? should be deprecated
+1 for `has_key?` from me.
It's more readable as natural English as pointed out earlier.
`has_key?` is more cle...
avit (Andrew Vit)
02:59 PM Bug #10262: nmake love fails from tarball
…と、r47642、r47644です。
ごめんなさい、とても疲れていたようです……。
usa (Usaku NAKAMURA)
07:08 AM Bug #10262 (Closed): nmake love fails from tarball
バックポート用の備忘録チケットです。
現象は表題の通り、対応する修正コミットは r47641 です。
usa (Usaku NAKAMURA)
11:06 AM Bug #10259 (Closed): send を使った attr_writer への書き込みができない場合がある
Applied in changeset r47643.
----------
symbol.c: fix dynamic attrset ID
* symbol.c (rb_str_dynamic_intern): check ...
nobu (Nobuyoshi Nakada)
06:26 AM Bug #10259: send を使った attr_writer への書き込みができない場合がある
ruby 2.2.0dev (2014-09-19 trunk 47640) [x86_64-linux] でも
ruby 2.2.0-preview1 同様に例外が発生することを確認しました。
mtsmfm (Fumiaki Matsushima)
05:07 AM Feature #8365: Make variables objects
I have noticed newly added Binding#local_variable_get and Binding#local_variable_set. I wanted to express appreciation. Anonymous
01:47 AM Feature #10261 (Closed): [PATCH] Fix improper test method
Applied in changeset r47635.
----------
test_math.rb: use Float#infinite?
* test/ruby/test_math.rb (TestMath#assert...
nobu (Nobuyoshi Nakada)

09/18/2014

11:30 PM Bug #9356: TCPSocket.new does not seem to handle INTR
Eric Wong wrote:
> Thanks for confirming. Unfortunately, EINTR is not easy to trigger on a
> connect test case t...
usa (Usaku NAKAMURA)
07:32 PM Bug #9356: TCPSocket.new does not seem to handle INTR
[email protected] wrote:
> Perhaps, we should write a test that actually causes EINTR during `connect`.
>
> ...
normalperson (Eric Wong)
03:03 PM Bug #9356: TCPSocket.new does not seem to handle INTR
Perhaps, we should write a test that actually causes EINTR during `connect`.
But, when I committed r7931, there wa...
usa (Usaku NAKAMURA)
11:16 PM Bug #10260 (Third Party's Issue): Cannot install "thin" gem
I already fixed eventmachine.
https://github.com/eventmachine/eventmachine/commits/master
Please request bump v...
hsbt (Hiroshi SHIBATA)
07:22 PM Bug #10260: Cannot install "thin" gem
[email protected] wrote:
> checking for rb_thread_blocking_region()... no

This is a deprecated API, maybe...
normalperson (Eric Wong)
06:39 PM Bug #10260 (Third Party's Issue): Cannot install "thin" gem
When I try to install "thin" gem, I get the following error:
~~~
$ sudo gem install thin
Building native extensi...
sawa (Tsuyoshi Sawada)
07:59 PM Feature #10261 (Closed): [PATCH] Fix improper test method
Right now, a test method `TestMath#assert_infinity` implement like below,
```
def assert_infinity(a, *rest)
re...
gogotanaka (Kazuki Tanaka)
05:53 PM Bug #10259 (Closed): send を使った attr_writer への書き込みができない場合がある
```
class Hoge; attr_writer :a; end
Hoge.new.send(:"#{:a}=", 1)
# => 1 (ruby 2.1.2)
# hoge.rb:3:in `<main>': un...
mtsmfm (Fumiaki Matsushima)
04:33 PM Feature #10254 (Feedback): Array#each and Array#map for nested arrays
It should be separated in different method, e.g. #nested_map in my opinion.
Matz.
matz (Yukihiro Matsumoto)
02:33 AM Feature #10254 (Feedback): Array#each and Array#map for nested arrays
In order to allow iteration over elements of arrays nested within an array, I propose to pass `Array#each` and `Array... sawa (Tsuyoshi Sawada)
04:08 PM Bug #10253: ruby v>= 2.1.2 build fails @ `make install` with error: "integer 8070450537616637957 too big to convert to `int' "; v<= 2.0.0 is OK.
removing rvm from the situation:
a src build of ruby 2.1.2 fails similarly
~~~
wget http://cache.ruby-lang.org...
Anonymous
02:54 PM Bug #10253: ruby v>= 2.1.2 build fails @ `make install` with error: "integer 8070450537616637957 too big to convert to `int' "; v<= 2.0.0 is OK.
`rvm install` of ruby ver <= 2.0.0 appears ok.
`rvm install` of ruby ver >= 2.1.1 FAILs as above
is the issue wit...
Anonymous
04:05 PM Bug #10258 (Closed): conversion WIN32OLE_VARIANT and Time
今日、うささんに教えていただいたテストの失敗は、こういう事象と同様だと思われます。
require 'win32ole'
t0 = Time.new(2014,9,19)
t0 += 0.9999
v = WIN32OLE_V...
suke (Masaki Suketa)
03:59 PM Feature #3901 (Closed): WIN32OLE_VARIANT.new method lacks consistency
放置していてすみません。
2.2.0 では TypeErrorにすることにしました。
suke (Masaki Suketa)
03:24 PM Bug #10257 (Closed): Generate X.509 certificate/request/CRL with elliptic curve keys
Elliptic curve keys (`OpenSSL::PKey::EC`) cannot currently be used with the X.509 classes in Ruby OpenSSL. This is du... jtdowney (John Downey)
09:50 AM Feature #10098: [PATCH] Timing-safe string comparison for OpenSSL::HMAC
Keen to hear feedback if any. Completely understand there are many more important tickets than this one, but it would... arrtchiu (Matt U)
06:45 AM Feature #10256 (Rejected): [PATCH] reduce rb_call_info_t 96 => 88 bytes on 64-bit
Instead of using an 8-byte function pointer, use a small index
(may be <=1 byte, but currently 2 bytes for alignment...
normalperson (Eric Wong)
05:58 AM Feature #10255 (Open): Math.log: check domain of base argument
I suppose Math.log with base 0 or 1 is undefinable or has no meaning, so I think it should be raise `Math::DomainErro... gogotanaka (Kazuki Tanaka)
04:30 AM Feature #9826: Enumerable#slice_between
I updated the patch at today's lunch break: slice_when.patch
It defines Enumerable#slice_when and it doesn't support...
akr (Akira Tanaka)

09/17/2014

09:30 PM Bug #9356: TCPSocket.new does not seem to handle INTR
I've squashed my v5 and v4 patches together as r47617. Thanks NoICE for
the confirmation on OSX (where this proble...
normalperson (Eric Wong)
09:21 PM Bug #9356 (Closed): TCPSocket.new does not seem to handle INTR
Applied in changeset r47617.
----------
socket (rsock_connect): fix and refactor for blocking
* ext/socket/init.c (...
Anonymous
09:29 AM Bug #9356: TCPSocket.new does not seem to handle INTR
Tried both patches at once on current ruby HEAD, let it run for 20 minutes and the issue didn't happen. So .. the pat... [email protected] (NoICE Reaver)
07:58 AM Bug #9356: TCPSocket.new does not seem to handle INTR
[email protected] wrote:
> Any news on this issue? Something is causing this ENOTCONN issue on OS
> X and this issue ...
normalperson (Eric Wong)
08:07 PM Feature #10251: URI: Support wildcards (globbing) in no_proxy
Example should be `*.example.com,192.168.*` justindossey (Justin Dossey)
05:24 PM Feature #10251 (Open): URI: Support wildcards (globbing) in no_proxy
The current implementation of URI#find_proxy will only exclude exact matches when processing the no_proxy environment... justindossey (Justin Dossey)
07:29 PM Bug #10253 (Closed): ruby v>= 2.1.2 build fails @ `make install` with error: "integer 8070450537616637957 too big to convert to `int' "; v<= 2.0.0 is OK.
referred from:
https://github.com/wayneeseguin/rvm/issues/3036#issuecomment-55945003
> "this might be an bug ca...
Anonymous
06:16 PM Bug #10250: User-Agent HTTP header not being set on CONNECT requests
In the (RFC2817, May.2000) doc you reference, section "5.2 Requesting a Tunnel with CONNECT" indicates that "Other HT... Feldhacker (Chris Feldhacker)
01:46 PM Bug #10250: User-Agent HTTP header not being set on CONNECT requests
I found that the internet-draft (Dec.1995) mentioned about the User-Agent header for CONNECT, but the final RFC (RFC2... usa (Usaku NAKAMURA)
12:43 PM Bug #10250 (Rejected): User-Agent HTTP header not being set on CONNECT requests
(This was originally reported as RubyGems issue https://github.com/rubygems/rubygems/issues/1012, contributors determ... Feldhacker (Chris Feldhacker)
06:03 PM Bug #10252 (Closed): [PATCH] digest/rmd160 looks for wrong OpenSSL function
Hello,
At ext/digest/rmd160/extconf.rb, there is:
OpenSSL.check_func("RMD160_Transform", "openssl/ripemd.h")
...
luizluca (Luiz Angelo Daros de Luca)
07:47 AM Feature #10173 (Closed): Remove meaningless ensure
I merged latest rubygems at r47582 hsbt (Hiroshi SHIBATA)
07:19 AM Misc #10249 (Closed): [PATCH] set rb_event_flag_t to uint32_t
This ensures a consistent implementation between 32 and 64-bit
platforms, as vm_trace.c limits events to 32-bits.
...
normalperson (Eric Wong)
06:25 AM Bug #9971: potential stack overflow check deadlock (fixed at r46495)
partially backported into `ruby_2_0_0` at r47612.
とりあえず、現時点で `ruby_2_0_0` にある部分については取り込みました。
usa (Usaku NAKAMURA)
06:10 AM Bug #10242: Backport r47591 (Pathname#relative_path_from crash)
backported into `ruby_2_0_0` at r47611. usa (Usaku NAKAMURA)
06:08 AM Bug #10241: Backport r47590 (fix a typo in fiddle/import.rb)
backported into `ruby_2_0_0` at r47610. usa (Usaku NAKAMURA)
06:06 AM Bug #8315: mkmf does not include include paths from pkg_config anymore
backported into `ruby_2_0_0` at r47609.
nagachika san:
I think that r44459 (and r44470) is a bug fix (lack of spe...
usa (Usaku NAKAMURA)
05:56 AM Bug #9766: Add force_encoding option to csv
backported into `ruby_2_0_0` at r47608. usa (Usaku NAKAMURA)
04:58 AM Feature #10077: [PATCH] Implement Matrix#row_merge and Matrix#column_merge
On Sep 16, 2014, at 4:21 PM, [email protected] wrote:

> So I propose `horz_merge` and `vert_merge`. Dose it m...
david_macmahon (David MacMahon)
04:49 AM Feature #10225: [PATCH] *math.c: New method Math.normcdf
On Sep 16, 2014, at 4:14 PM, [email protected] wrote:

> Actually I know that gem(how nice it is!), I'm discon...
david_macmahon (David MacMahon)
02:33 AM Bug #10248: Possible missing test or bug for Module#include and Module#prepend
Ahh... just found it. https://bugs.ruby-lang.org/issues/9112
Thanks
tduehr (Timur Duehr)
02:30 AM Bug #10248: Possible missing test or bug for Module#include and Module#prepend
Nobuyoshi Nakada wrote:
> It's a TODO, which should be fixed in the future, and there are some related tickets.
I...
tduehr (Timur Duehr)
02:17 AM Bug #10248: Possible missing test or bug for Module#include and Module#prepend
It's a TODO, which should be fixed in the future, and there are some related tickets. nobu (Nobuyoshi Nakada)

09/16/2014

11:21 PM Feature #10077: [PATCH] Implement Matrix#row_merge and Matrix#column_merge
@David MacMahon
Thank you!
It make sense for me.
As you said,
> the name "row_merge" seems to have an am...
gogotanaka (Kazuki Tanaka)
11:14 PM Feature #10225: [PATCH] *math.c: New method Math.normcdf
@David MacMahon
Actually I know that gem(how nice it is!), I'm disconsolate about a few people knowing that gem.
...
gogotanaka (Kazuki Tanaka)
09:19 PM Misc #9006: build and host binary rubies
It seems to be a good time to make the RVM-provided binaries official by hosting them at http://ftp.ruby-lang.org/pub... shan (Shannon Skipper)
09:02 PM Bug #10231: Process.detach(pid) defines new singleton classes every call
Eric Wong wrote:
> The above behaves inconsistently depending on scheduling. Presumably
> the thread waiting on ...
headius (Charles Nutter)
01:08 AM Bug #10231: Process.detach(pid) defines new singleton classes every call
[email protected] wrote:
> FWIW, JVM always does a waiter thread to avoid multiple calls to
> waitpid (which as ...
normalperson (Eric Wong)
06:39 PM Bug #10248: Possible missing test or bug for Module#include and Module#prepend
Module#ancestors is still respected for which modules to look up so it is somewhat consistent, but rather confusing ... Eregon (Benoit Daloze)
06:32 PM Bug #10248: Possible missing test or bug for Module#include and Module#prepend
A couple questions:
1. Which of the two cases tested is unexpected (or is it both)? The two cases are (in pseudo-s...
headius (Charles Nutter)
06:08 PM Bug #10248 (Closed): Possible missing test or bug for Module#include and Module#prepend
I've been implementing Module#prepend for JRuby. I ran into this test https://github.com/jruby/jruby/blob/master/test... tduehr (Timur Duehr)
04:19 PM Bug #10246: CSV.parse(csv_string, headers: col_headers) reports undefined method `table'
Aloha Justin,
Looks like the correct URL is here:
http://www.railsonmaui.com/blog/2014/09/15/pry-ruby-array-zip-...
avit (Andrew Vit)
08:37 AM Bug #10246: CSV.parse(csv_string, headers: col_headers) reports undefined method `table'
Justin Gordon wrote:
> I've detailed repro steps here: http://railsonmaui-octopress.dev/blog/2014/09/15/pry-ruby-arr...
nobu (Nobuyoshi Nakada)
07:26 AM Bug #10246 (Closed): CSV.parse(csv_string, headers: col_headers) reports undefined method `table'
I've detailed repro steps here: http://railsonmaui-octopress.dev/blog/2014/09/15/pry-ruby-array-zip-csv-and-the-hash-... railsonmaui (Justin Gordon)
03:37 PM Bug #9356: TCPSocket.new does not seem to handle INTR
Any news on this issue? Something is causing this ENOTCONN issue on OS X and this issue might be related:
13.3.0 D...
[email protected] (NoICE Reaver)
11:54 AM Feature #10059: [PATCH and SUGGEST] 代数構造を記述する時にメタプログラミングは非常に非常に強力ですが
RDocの件について、前述の"def xxx end if false"のように常に偽になるなら話は簡単ですが、極端な場合だと "def xxx end if rand(5)<3" のようにランダムにメソッド定義が発生するコードも可能... ngoto (Naohisa Goto)
11:42 AM Feature #9794: DateTime.strptime() doesn't work correctly for '%s %z'
Eric Hodel wrote:
> Felipe, your extreme rudeness has no place here.
>
> The rejection reason is described in #74...
sawa (Tsuyoshi Sawada)
10:19 AM Feature #10247 (Closed): Please update comment of bm_app_aobench.rb
Applied in changeset r47603.
----------
bm_app_aobench.rb: update links [ci skip]
* benchmark/bm_app_aobench.rb: u...
nobu (Nobuyoshi Nakada)
09:02 AM Feature #10247 (Closed): Please update comment of bm_app_aobench.rb
三浦と申します
benchmark/bm_app_aobench.rbの先頭から3,4行目のコメント
`# http://lucille.atso-net.jp/blog/?p=642`
`# htt...
miura1729 (Hideki Miura)
05:52 AM Bug #10245: TestTimeTZ#test_gen_Europe_Lisbon_111 fails with recent tzdata
BTW I have not tested it, but I'd expect that this is issue for all currently supported Ruby releases. vo.x (Vit Ondruch)
05:48 AM Bug #10245 (Closed): TestTimeTZ#test_gen_Europe_Lisbon_111 fails with recent tzdata
In Fedora, tzdata were recently updated to tzdata-2014g-1.fc22 [1]. Since that update, one test case fails:
~~~
$...
vo.x (Vit Ondruch)
05:08 AM Feature #10214 (Closed): new functions for compare of symbols in C API
nobu (Nobuyoshi Nakada)
03:11 AM Bug #10244: Garbage Collector not being triggered
On 2014/09/16 11:35, Michel Boaventura wrote:
>>Ruby doesn't know about memories >`malloc`ed inside gdk library, so...
nobu (Nobuyoshi Nakada)
02:04 AM Bug #10244 (Third Party's Issue): Garbage Collector not being triggered
Michel Boaventura wrote:
> I'm trying to understand why this simple script doesn't trigger a single run of the GC an...
nobu (Nobuyoshi Nakada)
01:49 AM Bug #10244 (Third Party's Issue): Garbage Collector not being triggered
Hi all,
I'm trying to understand why this simple script doesn't trigger a single run of the GC and eats all memory...
michel.boaventura (Michel Boaventura)
12:13 AM Feature #10240: `String#to_a`
Matz is right. I was wrong about the idea. In the cases I showed, I should have had `nil` values instead of empty str... sawa (Tsuyoshi Sawada)
 

Also available in: Atom