Activity
From 04/29/2013 to 05/05/2013
05/05/2013
-
09:59 PM Feature #8365: Make variables objects
- Interesting, but this would make Ruby VERY SLOW.
I am not sure whether it's worth the performance degration.
Matz.
-
03:26 PM
Feature #8365: Make variables objects
- Here is my understanding of the original author's idea, which, I hope, will not turn out to be dismally and irremediably flawed. Its mind-boggling quality pleasantly intrigues me, as is the case with many extant Ruby features. I was made...
-
08:54 PM Feature #8370 (Closed): Constants MAX_MULTIPART_LENGTH in cgi/core.rb
- Reported by Andreas Kraus via gmail.
> hi xibbar,
> ...
-
06:54 PM Bug #8364: Vim's if_ruby feature sometimes crash.
- I don't know the rationale, but adding RUBY_INIT_STACK before init() seems to suppress the crash.
int main(int argc, char **argv) {
RUBY_INIT_STACK;
init();
rbexe("10000.times { 'x' * 10000 }");
return 0;
}
T... -
01:19 PM
Bug #8364: Vim's if_ruby feature sometimes crash.
- You are right. With -Wall flag, I got warning "implicit declaration of
function 'ruby_error_print'". But it is not related to crash. My
program still doesn't work after removing ruby_error_print() call.
/* rubyembed.c */
#incl... -
12:40 PM Bug #8364: Vim's if_ruby feature sometimes crash.
- =begin
I couldn't link your source because (({ruby_error_print})) is not exported.
It run successfully by replacing the call with (({printf()})).
=end
-
04:08 PM Revision e5463b4c (git): merge revision(s) 40587:
- * lib/cgi/session.rb: Fix a typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:08 PM Revision 8aceebf8 (git): merge revision(s) 40586:
- * doc/syntax/refinements.rdoc : Fix a missing quote
Patch by Robin Dupret. [Fix GH-271]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:07 PM Feature #4592: Tempfileを直接保存したい
- Tempfile#to_file!(path)
とか?
# 自分の提起チケットなので反応してみました。
# いろいろあった結果、担当がMatzになっていますね。 -
01:28 PM Bug #8369: r40574 build fail
- Ah yes, a red herring issue. Removing those ignored, generated files from the source dir fixed it, and they're now being generated in the build dir. Must have been stale files from an earlier regression.
Thank you. -
12:34 PM Bug #8369: r40574 build fail
- Hello,
I have encountered the same build failure few days ago.
In my case, removing id.h and id.c in the source directory solved the build error.
Could you try it? -
11:35 AM Bug #8369: r40574 build fail
- Similar build fails on 64bit arch (gcc 4.8.0) and 64bit ubuntu server 13.04 (gcc 4.7.3)
-
10:46 AM Bug #8369 (Closed): r40574 build fail
- The following build fail info is from my arch 32bit system with gcc 4.8.0, but I see the same fail (less descriptive error log) on ubuntu server 13.04 using gcc 4.7.3:
[jon@archee build]$ svn log -1 -l 1 ..
--------------------------... - 01:27 PM Revision 3957501d (git): * lib/cgi/session.rb: Fix a typo.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:49 AM Revision 96e14ad2 (git): * doc/syntax/refinements.rdoc : Fix a missing quote
- Patch by Robin Dupret. [Fix GH-271]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:02 AM Revision f620e9e7 (git): * test/ruby/test_defined.rb (TestDefined#test_super_toplevel):
- additional test for r40584.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:57 AM Revision babae049 (git): insns.def: refactor by wanabe
- * insns.def (defined): use vm_search_superclass() like as normal super
call. based on a patch <https://gist.github.com/wanabe/5520026> by
wanabe.
* vm_insnhelper.c (vm_search_superclass): return error but not raise
exceptions.
* v... -
09:24 AM Bug #8310: resque-web crashes with segfault on Ruby 2.0.0-p0 only, Resque 1.24.1, Redis 2.6.12
- @zzak Just tried it on trunk, seems fixed for me after ~15 minutes of running (v2.1.0dev with redis: 1.24.1, redis: 3.0.4) and I was able to reproduce this with v2.0.0p0 using the listed reproduction steps (seg fault in ~2 min) (same ver...
-
07:29 AM Revision 08fbd2ce (git): insns.def: method entry from method frame
- * insns.def (defined): get method entry from the method top level
frame, not block frame. [ruby-core:54769] [Bug #8367]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40583 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:54 AM Revision 13bd7afc (git): configure.in: default LINK_SO
- * configure.in: should not strip newline at the beginning for the
default link command.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:37 AM Revision 38ea534c (git): configure.in: keep POSTLINK
- * configure.in: keep POSTLINK in LINK_SO macro till rbconfig.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:29 AM Revision 36de5e4d (git): ruby.pc.in: rubyarchhdrdir
- * template/ruby.pc.in (Cflags): use rubyarchhdrdir for multiarch.
[Bug #7874]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 02:40 AM Revision f259b884 (git): * 2013-05-05
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:40 AM Revision 4bbd1d9d (git): fix a typo
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40578 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:03 AM Feature #7845 (Rejected): Strip doesn't handle unicode space characters in ruby 1.9.2 & 1.9.3 (does in 1.9.1)
- marcandre (Marc-Andre Lafortune) wrote:
> Let's reopen this issue.
> ...
Did you read [ruby-core:19379]? -
01:50 AM Feature #7845: Strip doesn't handle unicode space characters in ruby 1.9.2 & 1.9.3 (does in 1.9.1)
- A patch for this is pretty straightforward, see https://gist.github.com/tgarnett/5032660 which is only a couple of lines.
As someone dealing with a lot of web crawling and chinese source data, having strip remove non-breaking / ideogr... -
01:24 AM Feature #7688: Error hiding with rb_rescue() on Comparable#==, #coerce and others
- Hello,
matz (Yukihiro Matsumoto) wrote:
> I agree with most of your changes in the patch, especially using rb_check_funcall instead of rb_rescue.
> ...
Many classes including Comparable already define #== themselves and most definit...
05/04/2013
-
11:22 PM Feature #7688: Error hiding with rb_rescue() on Comparable#==, #coerce and others
- I agree with most of your changes in the patch, especially using rb_check_funcall instead of rb_rescue.
But I personally dislike the equal operator (==) to raise error, since equal comparison is so fundamental, and most of us write code... -
06:23 AM Feature #7688: Error hiding with rb_rescue() on Comparable#==, #coerce and others
- matz (Yukihiro Matsumoto) wrote:
> Show us the patch first. I am afraid I misunderstand you.
Sorry, I was not clear.
My intent is to remove error hiding, that is not reporting in any way exceptions.
In the case of Range checki... -
09:00 PM Feature #8366: Exception.message take time to execute depending on the instance variables
- You should define inspect method.
-
04:02 PM Feature #8366: Exception.message take time to execute depending on the instance variables
- nobu (Nobuyoshi Nakada) wrote:
> You can see the reason by reducing the size of the instance variable.
What do you mean? I have a big project where I load plugins and each plugin can have megabytes of data and if one plugin does not ... -
03:22 PM Feature #8366: Exception.message take time to execute depending on the instance variables
- You can see the reason by reducing the size of the instance variable.
-
08:16 AM Feature #8366: Exception.message take time to execute depending on the instance variables
- also tried with ruby 2.0.0 at http://www.compileonline.com/execute_ruby_online.php
-
08:11 AM Feature #8366 (Open): Exception.message take time to execute depending on the instance variables
- I am seeing very interesting and catastrophic behavior with ruby, see the code below
class ExceptionTest
def test
@result = [0]*500000
begin
no_such_method
rescue Exception ... -
07:12 PM
Bug #8364: Vim's if_ruby feature sometimes crash.
- Thank you for your advice.
I tried RUBY_INIT_STACK in rbexe(). But it still crash.
/* rubyembed.c */
#include <ruby.h>
void rbinit() {
int dummy_argc = 2;
char *dummy_argv[] = {"foo", "-e0"};
RUBY_INIT_STACK;
... -
02:10 PM Bug #8364 (Third Party's Issue): Vim's if_ruby feature sometimes crash.
- rbexe() also needs RUBY_INIT_STACK, in every interface function calling ruby from outside.
Your patch is not a portable fix.
# You can't use Markdiwn here, RD only. -
06:14 PM Feature #8361: Alternative syntax for block parameter
- =begin
Nobu: i do not think the conflict with ternary expression is the worst part: i think that if in ambiguous cases the colon was interpreted as a part of ternary expression, there would be no conflict with existing code.
It was prob... -
03:12 PM Feature #8361: Alternative syntax for block parameter
- It conflicts with ternary expressions, and symbol literals.
You should abandon use of colon and brackets. -
04:57 PM Feature #8368 (Closed): Socket.getifaddrs
- I'd like to add a method: Socket.getifaddrs.
This method is a wrapper to getifaddrs() function.
The result is an array of instances of Socket::Ifaddr class as follows.
% ./ruby -rpp -rsocket -e 'pp Socket.getifaddrs'
[#<Socke... - 03:00 PM Revision 649d6f47 (git): * 2013-05-05
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:00 PM Revision ec1f8cbb (git): merge revision(s) 40574:
- * doc/security.rdoc: Add note about reporting security vulns
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:48 PM Revision f824c6f1 (git): merge revision(s) 40561: [Backport #8357]
- * object.c (rb_obj_is_kind_of): skip prepending modules.
[ruby-core:54742] [Bug #8357]
* object.c (rb_class_inherited_p): ditto.
[ruby-core:54736] [Bug #8357]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/bra... -
02:23 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
- (2013/05/04 12:08), Narihiro Nakamura wrote:
>> > How about to introduce this new GC algorithm/implementation into Ruby 2.1.0?
> I agree :)
Thank you for your positive response.
I will merge it soon.
--
// SASADA Koic... -
12:23 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
- 2013/4/28 SASADA Koichi <[email protected]>:
> (2013/04/28 9:23), authorNari (Narihiro Nakamura) wrote:
>> Great work!!! Does RGenGC Ruby pass test-all?
>
> Sure.
Great!
> How about to introduce this new GC algorithm/imple... -
12:12 PM Feature #8365 (Feedback): Make variables objects
- I am sorry I don't understand the proposal, nothing more than vague idea.
Proposals should be concrete and be able to implement.
Could you describe both the model and the syntax for the proposal?
Matz.
-
01:45 AM
Feature #8365 (Feedback): Make variables objects
- While refactoring a wiki article about Ruby, I found this anonymous proposal:
"How about making variables objects. And assignment is the default message you send to the variable object (not the underlying reference). anintvar 5, now t...
05/03/2013
-
10:24 PM Feature #8361: Alternative syntax for block parameter
- =begin
I agree, it is getting complicated, maybe it was a bad idea. It may be closed if you do not think it is worth consideration.
The best i could think of was to allow to use some symbol, the colon for example, to separate explic... -
08:17 PM Feature #8361: Alternative syntax for block parameter
- I don't think the syntax cannot be defined without conflict.
Prove me I am wrong.
Matz.
-
06:40 PM Feature #8361: Alternative syntax for block parameter
- =begin
It's unacceptable to distinguish two semantics of "(({[ ]}))" by a token following ((*after*)) it.
=end
-
04:32 PM Feature #8361: Alternative syntax for block parameter
- =begin
From the top of my mind, i can propose only this:
p = lambda [x]->{
# ...
}
[2, 3, 4].map [x]->{x*x}.reduce [0, 1] [m, o]->{m << o}
(i didn't like the new lambda syntax anyway:) ).
Another possibility:
p = lambda ... -
04:25 PM Feature #8361: Alternative syntax for block parameter
- =begin
You are right, there is a problem. It is similar to the problem with hashes:
def f(h); end
f {1=>2}
# => SyntaxError: unexpected =>, expecting '}'
It can be worked around in the same way:
foo([1, 2, 3]) [x] {x*x}
But ... -
09:17 AM Feature #8361 (Feedback): Alternative syntax for block parameter
-
09:17 AM Feature #8361: Alternative syntax for block parameter
- If it were introduced, how could you pass an array with a block?
-
08:00 AM Feature #8361 (Closed): Alternative syntax for block parameter
- =begin
I propose an alternative syntax for block parameters:
p = lambda [x] {
# do whatever you like with x here, but be sure to return the result
}
instead of
p = lambda { |x|
# ...
}
This would be consi... -
10:23 PM Feature #7688: Error hiding with rb_rescue() on Comparable#==, #coerce and others
- Show us the patch first. I am afraid I misunderstand you.
Matz -
10:21 PM Revision 5835461b (git): * doc/security.rdoc: Add note about reporting security vulns
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:10 PM Bug #8313: rubygem 2.0 can't communicate with remote sources http://rubygems.org/
- Workaround :
I uninstall all macports ruby packages. And install RVM (https://rvm.io/rvm/). Activate ruby 2.0.0-p0 by rvm. And now, the "gem list -r" is fully functionnal. So, we have a bug with gem in macport.
I opened a bug in macpo... - 09:04 PM Revision b2580fb2 (git): * 2013-05-04
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:03 PM Revision 9b89888d (git): * include/ruby/defines.h (RUBY_ATTR_ALLOC_SIZE): New for
- attribute((alloc_size(params))).
* include/ruby/defines.h (xmalloc, xmalloc2, xcalloc)
(xrealloc, xrealloc2): Annotated by RUBY_ATTR_ALLOC_SIZE.
* include/ruby/ruby.h (rb_alloc_tmp_buffer): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org... -
08:50 PM
Bug #8364 (Third Party's Issue): Vim's if_ruby feature sometimes crash.
- =begin
This problem was originally reported to vim-jp project. See
((<URL:https://github.com/vim-jp/issues/issues/372>)) (Japanese discussion).
((<Vim|URL:http://www.vim.org/>)) is an text editor and it supports embedded
ruby inte... -
08:23 PM Feature #8354 (Closed): lib/cgi/util.rb を関数としても使えるようにしたい
- This issue was solved with changeset r40571.
Takeyuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/cgi/util.rb: class methods modulize for using like a fu... -
10:59 AM Feature #8354: lib/cgi/util.rb を関数としても使えるようにしたい
- CGI でも、いわゆるロジックっぽい部分で h を使うのは推奨されないと思うんですが、
確かに CGI の html 生成の部分は、ERB と同じ理由で短い名前が欲しそうですね。
納得しました。賛成しないのを取り下げます。
--
Yusuke Endoh <[email protected]> -
08:57 AM Feature #8354: lib/cgi/util.rb を関数としても使えるようにしたい
- 一般的なコードの中でescapeHTMLが多用されるとは思わないのですが、
cgiアプリの中ではある程度escapeHTMLが必要になります。
これが随所に出てきて、
@cgi = CGI.new("html5")
login = @cgi['login']
family_name = @cgi[family_name']
first_name = @cgi[first_name']
@cgi.out do
@cgi.header do
@... -
12:10 AM Feature #8354: lib/cgi/util.rb を関数としても使えるようにしたい
- escapeHTML を関数として呼び出せるのはいいと思います。
しかし h のエイリアスはあまり賛成でないです。一般的なプログラムの中で
s = h s
みたいなコードを書くことを Ruby が推奨しているとは思わないので。
ERB の h は原則として <%=h ... %> というイディオム限定で許されていると
思います。
他に 1 文字メソッドというと p がありますが、こっちはデバッグ時限定で
許されていると思います。(最終的... -
04:56 PM Bug #8330 (Rejected): WEBrick::HTTPUtils::parse_query replaces plus (+) with space
- WEBrick::HTTPUtils::parse_query decodes application/x-www-form-urlencoded; it's encodes " " as "+".
see also http://url.spec.whatwg.org/#application/x-www-form-urlencoded -
04:33 PM Bug #8330: WEBrick::HTTPUtils::parse_query replaces plus (+) with space
- I am not sure about RFC, but attached patch could fix this issue.
I want to get feedback from an expert about this.
https://github.com/ayumin/ruby/commit/179602196f25d1fd7350cfd88a44f0a5c49be3aa -
12:47 PM Feature #8107: [patch] runtime flag to track object allocation metadata
- > Another consideration is lack of EVENTs bit. It is restricted to 32bit.
> ...
ko1-san, is this what you have in mind?
/* GC events (c-api only) */
#define RUBY_EVENT_OBJ (1<<31)
#define RUBY_EVENT_OBJ_NEW (RUBY_EVE... - 11:23 AM Revision b35529bb (git): * lib/cgi/util.rb: class methods modulize for using like a function.
- [Feature #8354]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:11 AM Revision 86d4511f (git): * ext/socket/extconf.rb: Make default_ipv6 true for Cygwin.
- Cygwin supports IPv6 since Cygwin 1.7.1 (2009-12).
http://cygwin.com/ml/cygwin-announce/2009-12/msg00027.html
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:50 AM Revision d0b7b41e (git): * common.mk (yes-test-all): needs sudo-precheck for dtrace.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:35 AM Revision 8202d626 (git): {getaddrinfo,getnameinfo}.c: fix for old platforms
- * ext/socket/{getaddrinfo,getnameinfo}.c: define socklen_t if not
defined, e.g., older VC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:29 AM Revision 3b62e8e7 (git): win32.h: INTPTR_MAX, INTPTR_MIN, UINTPTR_MAX
- * include/ruby/win32.h (INTPTR_MAX, INTPTR_MIN, UINTPTR_MAX): also
should be defined when defining intptr_t and uintptr_t.
bigdecimal.c requires the former two now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40567 b2dd03c8-39... -
04:22 AM Revision 6d32a4e3 (git): win32.c: fix build error
- * win32/win32.c (poll_child_status): fix build error on older mingw.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:22 AM Revision c61af204 (git): win32.c: optimization
- * win32/win32.c (poll_child_status): trivial optimization.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
05/02/2013
-
11:56 PM Bug #8342 (Assigned): IO.readlines ignores Encoding.default_internal if Encoding.default_external is ASCII-8BIT
- leocassarani (Leo Cassarani) wrote:
> Thanks naruse. However, this seems inconsistent with the way encodings are handled for individual IO instances. For example:
> ...
That side sounds buggy -
11:12 PM Bug #8342: IO.readlines ignores Encoding.default_internal if Encoding.default_external is ASCII-8BIT
- Thanks naruse. However, this seems inconsistent with the way encodings are handled for individual IO instances. For example:
io = File.open('hi', :encoding => "ascii-8bit:utf-16")
puts io.gets.encoding
# => UTF-16
This happens ev... -
10:50 PM Feature #7701: Non-optional (required) keyword args
- (Same question as Charles) this will be included with 2.1 (I didn't see it in this list, but assume it will anyway? https://bugs.ruby-lang.org/projects/ruby-trunk/roadmap#Ruby-210 ).
Thank you. -
09:04 PM Bug #8359: If p is a proc, p.call(x) can take a block, but p[x] cannot
- =begin
Ok, maybe this is not a bug report but a feature request. Is there a reason to not allow (({ p[x] do ...}))?
=end
-
08:45 PM
Bug #8359 (Rejected): If p is a proc, p.call(x) can take a block, but p[x] cannot
- =begin
You can pass a block to (({ #[] })) in two ways:
format[[1, 2], "\n", &proc {|c| "[ #{ c } ]"}]
or:
format.[]([1, 2], "\n") {|c| "[ #{ c } ]"}
=end -
07:46 PM Bug #8359 (Rejected): If p is a proc, p.call(x) can take a block, but p[x] cannot
- =begin
format = lambda { |l, s = '', &w|
l.map {|e| w ? w[e] : e}.join(s)
}
format.call([1, 2], "\n") {|c| "[ #{ c } ]"}
# => "[ 1 ]\n[ 2 ]"
format[[1, 2], "\n"] {|c| "[ #{ c } ]"}
# => SyntaxError: unexpected ... -
05:57 PM Bug #8358 (Closed): TestSprintf#test_float test failure
- I noticed TestSprintf#test_float
http://ci.rubyinstaller.org/job/ruby-trunk-x86-test-all/1287/console
~~~
1) Failure:
TestSprintf#test_float [C:/Users/Worker/Jenkins/workspace/ruby-trunk-x86-build/test/ruby/test_sprintf.rb:193]:
... -
05:08 PM Bug #8353 (Closed): segfault with puma-1.6.3
- trevor (trevor 6) wrote:
> /lib64/libpthread.so.0() [0x3533c0f500]
> ...
This line is rb_gc_mark_unlinked_live_method_entries(), and it seems same as [Bug #8100].
-
08:57 AM Bug #8353: segfault with puma-1.6.3
- charliesome (Charlie Somerville) wrote:
> Are you able to provide the 'Loaded features' section of the segfault info dump?
I was able to get the following partial (I can email someone the reported process memory map off-list if it'... -
07:52 AM
Bug #8353: segfault with puma-1.6.3
- Are you able to provide the 'Loaded features' section of the segfault info dump?
-
07:40 AM Bug #8353 (Closed): segfault with puma-1.6.3
- not sure if this is helpful, but it's all I can provide.
intel xeon X5670, linux 2.6.32
---
/usr/local/lib/ruby/gems/2.0.0/gems/puma-1.6.3/lib/puma/client.rb:127: [BUG] Segmentation fault
ruby 2.0.0p0 (2013-02-24 revision 39474) ... - 03:22 PM Revision 4aa97ae6 (git): * 2013-05-03
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:22 PM Revision b5d877e6 (git): * common.mk: remove timestamp in distclean-ext realclean-ext.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:40 PM Revision 453bb57d (git): merge revision(s) 39939: [Backport #8360]
- * thread.c (double2timeval): convert the infinity to TIME_MAX to avoid
SEGV by Thread.new {}.join(Float::INFINITY) on
Debian GNU/Linux (amd64).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40562 b... -
02:23 PM Revision a58c224d (git): object.c: skip prepending modules
- * object.c (rb_obj_is_kind_of): skip prepending modules.
[ruby-core:54742] [Bug #8357]
* object.c (rb_class_inherited_p): ditto.
[ruby-core:54736] [Bug #8357]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40561 b2dd03c8-39d4-4d8... -
01:11 PM Revision 908e7018 (git): irb: dead code
- * bin/irb: remove dead code from sample/irb.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:43 AM Feature #8354 (Closed): lib/cgi/util.rb を関数としても使えるようにしたい
- cgi/util.rb には CGI.escapeHTML などのメソッドがあります。
これらを使うにはCGI.escapeHTML(str) みたいにして
いちいち全部書かなきゃならなくて、
長いと思っています。
erbを使っている人なら include ERB::Util すると h(str) と使えるのですが、
私はerb使わずに素のCGIを書いているので、hが使えず不便でした。
なので、中身をutil.rb の中身を丸ごとmoduleにして
inc... -
08:32 AM Revision 5e79c1a5 (git): marshal.c: no overwriting ivars
- * marshal.c (copy_ivar_i): get rid of overwriting already copied
instance variales. c.f. [Bug #8276]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:30 AM Revision b996367e (git): variable.c: move warnings to rb_ivar_get
- * variable.c (generic_ivar_get, ivar_get): return undef value instead
of Qnil with warnings, for uninitialized instance variable.
* variable.c (rb_ivar_get): warn for uninitialized instance variable
here.
git-svn-id: svn+ssh://ci.r... -
07:55 AM Revision 31457774 (git): thread.c: id locals
- * thread.c (id_locals): use cached ID.
* vm.c (ruby_thread_init): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:54 AM Revision 97982e82 (git): id.def: predefined IDs
- * defs/id.def: add more predefined IDs used in core.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:30 AM Revision 149f8f17 (git): Fix rondom failure introduced by r40553
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:07 AM Revision 078ffd0e (git): Fix test of parallel test breaked by r40553
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 04:48 AM Revision f8e5c7c7 (git): Imported minitest 4.7.4 (r8483)
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:02 AM Revision ce3029cd (git): process.c: fix failed status with spawnv
- * process.c (proc_spawn_cmd_internal, proc_spawn_sh): spawn() with
P_NOWAIT returns process ID, so it must not be set as a status.
* process.c (rb_spawn_process): set failed status on error on
platforms using spawnv not only on Wind... - 03:35 AM Revision 30afde95 (git): * win32/win32.c (poll_child_status): constified.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:34 AM Revision 50cc7057 (git): * test/ruby/test_process.rb (TestProcess#test_no_curdir): maybe now
- we can test it.
* test/ruby/test_thread.rb (TestThread#test_thread_timer_and_interrupt):
ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 02:34 AM Revision 25acda25 (git): * win32/win32.c (poll_child_status): [experimental] set the cause of
- a child's death to status if its exitcode seems to be an error.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:34 AM Bug #8352: URI squeezes a sequence of slashes in merging paths when it shouldn't
- s/RFC 2896/RFC 2396/
-
02:27 AM Bug #8352 (Closed): URI squeezes a sequence of slashes in merging paths when it shouldn't
- RFC 2396 (on which the library currently is based) or RFC 3986 says nothing about a sequence of slashes in the path part except for parsing rules when a URI (path) starts with two slashes.
It should be perfectly valid to have a slash ... - 02:24 AM Revision fe2177fd (git): * 2013-05-02
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:24 AM Revision 0b9b99c1 (git): * lib/yaml.rb: nodoc EngineManager, add History doc #8344
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
05/01/2013
-
11:00 PM Bug #8221: 2 AES-128-GCM (probably same in AES-256-GCM) bug?
- =begin
Is this related to ((<URL:https://s3.amazonaws.com/archive.travis-ci.org/jobs/6783150/log.txt>))?
4) Error:
test_aes_gcm_wrong_tag(OpenSSL::TestCipher):
OpenSSL::Cipher::CipherError: unable to set GCM tag
/home/tr... -
07:04 PM Bug #8351 (Closed): Error message is not grammatical
- This issue was solved with changeset r40539.
Andrew, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* enum.c (Enumerable#chunk): fix grammar of error message
for... -
07:01 PM Bug #8351: Error message is not grammatical
- Thanks, it will be committed soon!
-
04:54 PM Bug #8351 (Closed): Error message is not grammatical
- Enumerable#chunk has the error message "symbol begins with an underscore is reserved".
This is not grammatical. Assuming that error messages can be modified, possible fixes include
"symbol begins with an underscore, which is reserv... -
04:47 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
- @ko1 I ran some basic benches against Discourse, results are here:
http://meta.discourse.org/t/ruby-may-be-getting-a-generational-gc-what-this-means-to-you/6289
was surprised that the tuned stack performed better for requests not ... -
03:40 PM Revision 5362d2e2 (git): merge revision(s) 40498:
- * thread_pthread.c (ruby_init_stack): Add STACK_GROW_DIR_DETECTION.
This fixes a compilation failure while cross-compiling for Tensilica
Xtensa Processor.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_... -
03:20 PM Revision 83222f7c (git): merge revision(s) 40478: [Backport #8334]
- * dir.c (dir_set_pos): Fix a compilation error when seekdir() is not
exist.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:17 PM Revision 72c4bf29 (git): merge revision(s) 40504,40505,40507,40511: [Backport #7982]
- * README.EXT: Add note to warn use of %i in Exceptions [Bug #7982]
* README.EXT: Update note from r40504, by Jeremy Evans [Bug #7982]
* README.EXT: Copy note from r40505 for rb_sprintf() [Bug #7982]
* README.EX... - 03:14 PM Revision 4dfec53d (git): * 2013-05-02
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:14 PM Revision 682e5bef (git): merge revision(s) 39932,39934,39935,39937,39955,40491:
- Use assert_separately to speed up on test-all
This creates large string and it pressure GC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:52 PM Revision 4d3df433 (git): merge revision(s) 40462: [Backport #8323]
- * io.c (rb_io_ext_int_to_encs, parse_mode_enc): bom-prefixed name is
not a real encoding name, just a fallback. so the proper conversion
should take place even if if the internal encoding is equal to the
bo... -
01:09 PM Bug #8347 (Assigned): Couldn't find file to include 'lib/rake/doc/README.rdoc' from ../lib/rake/version.rb
- Fixed warning but ri does not work:
`ri Rake` does not show the README content, only "includes" and "extended by" for other classes -
12:21 PM Bug #8347 (Closed): Couldn't find file to include 'lib/rake/doc/README.rdoc' from ../lib/rake/version.rb
- This issue was solved with changeset r40535.
Zachary, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/rake/version.rb: Fix RDoc warning with :include: [Bug #... -
12:12 PM Revision a4460ddb (git): * time.c (localtime_with_gmtoff_zone): musl libc may return NULL for
- tm_zone.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:04 AM Revision bd14f5bf (git): * enum.c (Enumerable#chunk): fix grammar of error message
- for symbols beginning with an underscore [Bug #8351]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:48 AM Revision f0a5e1fc (git): curses/extconf.rb: simplify
- * ext/curses/extconf.rb (curses_version): try once for each tests, a
function or a variable. fallback to variable for old SVR4.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:17 AM Revision 262669e6 (git): extmk.rb: always dynamic non-install extensions
- * ext/extmk.rb (extmake): extensions not to be installed should not
make static libraries, but make dynamic libraries always.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:16 AM Feature #8350 (Rejected): Extending `%{}` notation in string to accept an array
- sawa (Tsuyoshi Sawada) wrote:
> but that would not cause any conflict.
> ...
It does allow.
"%2$-5s: %1$08x" % [self.object_id, "ID"] #=> "ID : 200e14d6"
-
02:09 AM Feature #8350 (Rejected): Extending `%{}` notation in string to accept an array
- =begin
`String#%` accepts a hash as an argument and interpolates the values into `%{}`-notated portions of the string:
"%{b} said %{a} to %{c}" % {a: "Foo", b: "Bar", c: "Baz"} #=> "Bar said Foo to Baz"
I would like to ... -
04:43 AM Revision 84c8319c (git): ancdata.c: suppress warnings
- * ext/socket/ancdata.c (bsock_sendmsg_internal): suppress warnings on
platforms where msghdr does not have msg_control.
* ext/socket/ancdata.c (bsock_recvmsg_internal): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40536 b... -
03:21 AM Revision bb35edf3 (git): * lib/rake/version.rb: Fix RDoc warning with :include: [Bug #8347]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:14 AM Revision cdce1dd4 (git): process.c: rb_daemon should not raise
- * process.c (rb_daemon): should not raise exceptions, since
proc_daemon() will deal with errors.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:03 AM Revision 93f83417 (git): configure.bat: remove stale message
- * win32/configure.bat (help): remove stale message. win95 support had
been thrown away long ago.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:40 AM Revision 7ef7a65d (git): eval.c: use predefined IDs
- * eval.c (frame_func_id): use predefined IDs.
* vm.c (rb_vm_control_frame_id_and_class): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 02:38 AM Revision 84ad7e65 (git): * 2013-05-01
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:38 AM Revision 9644f9b5 (git): proc.c: use predefined IDs
- * defs/id.def (predefined): add "idProc".
* proc.c (mnew, mproc, mlambda): use predefined IDs.
* vm.c (Init_VM): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
04/30/2013
-
10:37 PM Bug #8349 (Closed): [mingw] adding -mfpmath=sse -msse2 causes segv on Windows 7
- phasis68 (Heesob Park) wrote:
> I think -mstackrealign flag is the proper solution of this issue.
> ...
Thank you. I'll use -mstackrealign with sse.
I've confirmed that with disassemble.
https://gist.github.com/shirosaki/5488699 -
08:08 PM Bug #8349: [mingw] adding -mfpmath=sse -msse2 causes segv on Windows 7
- I think -mstackrealign flag is the proper solution of this issue.
Refer to
http://www.peterstock.co.uk/games/mingw_sse/
http://gcc.gnu.org/onlinedocs/gcc/i386-and-x86_002d64-Options.html#index-mpc80-1472 -
07:37 PM Bug #8349: [mingw] adding -mfpmath=sse -msse2 causes segv on Windows 7
- うーん、SSE を使って自動ベクトル化するときに何かバグを踏んでいるんですかねぇ。
objdump か何かでそれぞれの関数を逆アセンブルして貼って頂けませんか。 -
06:37 PM Bug #8349 (Closed): [mingw] adding -mfpmath=sse -msse2 causes segv on Windows 7
- I tried -mfpmath=sse -msse2 with mingw on Windows 7 and got 2 segv while make test-all.
Here is the detail.
https://gist.github.com/anonymous/5487498
I don't know why these options causes segv, but adding volatile seems to fix thi... -
08:00 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
- Confirmed the recent push resolves it, will try to gather some benchmarks against Discourse tomorrow.
-
05:53 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
- (2013/04/30 17:41), SASADA Koichi wrote:
> ko1debugfiber.resume
>
Maybe I can yield non-bug version.
--
// SASADA Koichi at atdot dot net -
05:53 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
- (2013/04/30 17:05), sam.saffron (Sam Saffron) wrote:
>
>> > And can you pass all tests by `make test-all' on your environment?
> Nope, its core dumping with the exact same assertion
Thank you for your report. I can reproduce... -
05:23 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
- (2013/04/30 15:59), sam.saffron (Sam Saffron) wrote:
> Having trouble testing this against Discourse, can't get it to install ruby gems
>
> /home/sam/.rvm/gems/ruby-head-rgengc@global/bin/bundle: gc.c:587: alloc_bitmap: Assertion... -
05:05 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
- > And can you pass all tests by `make test-all' on your environment?
Nope, its core dumping with the exact same assertion -
04:53 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
- (2013/04/30 16:03), SASADA Koichi wrote:
> Thanks. How to reproduce?
And can you pass all tests by `make test-all' on your environment?
--
// SASADA Koichi at atdot dot net -
04:43 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
- Install latest ubuntu x64, grab latest source, make install seems to do the trick for me, will try to install on my mac and see what happens.
gcc --version
gcc (Ubuntu/Linaro 4.7.3-1ubuntu1) 4.7.3
Copyright (C) 2012 Free Software Found... -
04:23 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
- (2013/04/30 15:59), sam.saffron (Sam Saffron) wrote:
> Having trouble testing this against Discourse, can't get it to install ruby gems
>
> /home/sam/.rvm/gems/ruby-head-rgengc@global/bin/bundle: gc.c:587: alloc_bitmap: Assertion... -
03:59 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
- Having trouble testing this against Discourse, can't get it to install ruby gems
/home/sam/.rvm/gems/ruby-head-rgengc@global/bin/bundle: gc.c:587: alloc_bitmap: Assertion `objspace->heap.free_bitmap != ((void *)0)' failed.
Aborted (core... -
03:23 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
- Now, I add "disable RGENGC feature".
A macro USE_RGENGC in include/ruby/ruby.h enable/disable RGENGC completely.
If performance of RGENGC is not enough, then it can be disabled easily.
It is a big change. So I hope someone v... -
05:27 PM Feature #8343 (Assigned): StringScanner#[] should accept names of named captures
- rkh (Konstantin Haase) wrote:
> On a related note: should the patch be submitted in a second issue on the ruby-trunk project?
Here is also correct place now.
I'll merge this if there are no objection. -
04:06 PM Bug #8348 (Rejected): ruby hangs randomly in daemonized processes on Debian GNU/kFreeBSD
- =begin
Ruby scripts that use Process.daemon seem to hang randomly on Debian GNU/kFreeBSD.
Steps to reproduce:
(1) Install Debian GNU/kFreeBSD Wheezy
(2) Install rvm: (({curl -L https://get.rvm.io | bash -s stable}))
(3) Install ... -
02:19 PM Revision c322f10a (git): * lib/benchmark.rb: Update Benchmark results on newer CPU
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:09 AM Bug #8298: Module include inconsistency
- Student (Nathan Zook) wrote:
> I think that perhaps I was too brief. My complaint is only that `N` precedes `M` (and `C`) in the ancestor list. The other matters are clear.
Indeed, it is a bit surprising. When including `M`, it man... -
06:44 AM Bug #8298: Module include inconsistency
- I think that perhaps I was too brief. My complaint is only that `N` precedes `M` (and `C`) in the ancestor list. The other matters are clear.
~~~ruby
module M ; def foo ; M ; end ; end
module N ; def foo ; N ; end ; end
class C ;... -
05:58 AM Bug #8344: Status of Psych and Syck
- @tenderlove What about rubygems dependency on EngineManager? See Gem::Specification#to_yaml and lib/rubygems/syck_hack.rb
-
04:23 AM
Bug #8344: Status of Psych and Syck
- On Mon, Apr 29, 2013 at 10:06:10PM +0900, zzak (Zachary Scott) wrote:
>
> Issue #8344 has been updated by zzak (Zachary Scott).
>
> Assignee changed from tenderlovemaking (Aaron Patterson) to zzak (Zachary Scott)
> Target ve... -
04:00 AM Bug #8346: If a module is included, its public instance methods behave like module functions
- Ok, thanks for the explanation.
-
12:21 AM Bug #8346 (Rejected): If a module is included, its public instance methods behave like module functions
- jacknagel (Jack Nagel) wrote:
> Here you have included M in Object, which is why the method is now available on M itself.
Indeed. Another way to understand it: the include has the same effect as doing a `def foo` at the top level.
... -
12:09 AM
Bug #8346: If a module is included, its public instance methods behave like module functions
- alexeymuranov (Alexey Muranov) wrote:
> =begin
> ...
Here you have included M in Object, which is why the method is now available on M itself.
Object.method_defined?(:f) => true -
03:31 AM Revision 787cdae5 (git): proc.c: frozen core methods
- * proc.c (mproc, mlambda): use frozen core methods instead of plain
global methods, so that methods cannot be overridden.
[ruby-core:54687] [Bug #8345]
* vm.c (Init_VM): define proc and lambda on the frozen core object.
git-svn-id: ... - 03:30 AM Revision e9fa3108 (git): * 2013-04-30
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:30 AM Revision 3a0641a8 (git): intern.h: rb_block_lambda
- * include/ruby/intern.h (rb_block_lambda): add declaration instead of
deprecated rb_f_lambda.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:30 AM Revision 71a68705 (git): proc.c: remove unnecessary static function
- * proc.c (proc_lambda): remove and use rb_block_lambda directly
instead.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:34 AM Bug #8347 (Closed): Couldn't find file to include 'lib/rake/doc/README.rdoc' from ../lib/rake/version.rb
-
12:12 AM Bug #6634: Deadlock with join and ConditionVariable
- Hi there,
I've faced similar problem with ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-darwin12.1.0] (installed with rvm)
Please checkout my attached code. Let me know if I could help you more. Or if i'm doing something dumb :)
04/29/2013
-
10:53 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
- (2013/04/29 11:45), SASADA Koichi wrote:
> (2013/04/29 2:19), Magnus Holm wrote:
>> What exactly does "moving memory areas" mean? Do you have any links?
>
> This is pseudo code:
> ary_push(VALUE ary, VALUE item)
> {
> o... -
03:59 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
- (2013/04/29 15:46), headius (Charles Nutter) wrote:
> * Most of the benchmarks do not have enough old data to make a difference.
Yes.
We can see
- overhead of WBs
- overhead of generational gc (increasing dead but un-col... -
03:46 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
- I like the technique. I have some observations.
* Most of the benchmarks do not have enough old data to make a difference.
Small benchmarks, in particular, will not show anything useful. These benchmarks could be made more interest... -
12:53 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
- (2013/04/29 11:41), SASADA Koichi wrote:
> (2013/04/29 5:00), Eric Wong wrote:
>> What is the expected performance impact for short-lived scripts and
>> one-liners? I hope there is no (or very little) regression.
>
> Maybe i... -
11:53 AM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
- (2013/04/29 2:19), Magnus Holm wrote:
> What exactly does "moving memory areas" mean? Do you have any links?
This is pseudo code:
ary_push(VALUE ary, VALUE item)
{
old_size = RARRA_LEN(ary);
realloc(RARRAY_PTR(ary), ... -
11:53 AM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
- (2013/04/29 5:00), Eric Wong wrote:
> What is the expected performance impact for short-lived scripts and
> one-liners? I hope there is no (or very little) regression.
Maybe it is a little (up to 10% down).
We need more meas... -
05:23 AM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
- "ko1 (Koichi Sasada)" <[email protected]> wrote:
> How about to introduce this new GC algorithm/implementation into Ruby 2.1.0?
What is the expected performance impact for short-lived scripts and
one-liners? I hope there i... -
02:23 AM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
- On Sun, Apr 28, 2013 at 6:29 PM, SASADA Koichi <[email protected]> wrote:
> (2013/04/29 1:19), Magnus Holm wrote:
> > In hindsight I think that the sliding views-technique is only required
> > if you have multiple threads running a... -
01:53 AM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
- (2013/04/29 1:19), Magnus Holm wrote:
> In hindsight I think that the sliding views-technique is only required
> if you have multiple threads running at the same time. In CRuby there
> will only be a single thread running Ruby cod... -
01:23 AM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
- On Sun, Apr 28, 2013 at 6:07 PM, SASADA Koichi <[email protected]> wrote:
> (2013/04/28 23:34), SASADA Koichi wrote:
> >> Another thing: What about passing the old value to OBJ_WB too?
> OBJ_WB(from, to, old)? In this implementatio... -
01:23 AM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
- (2013/04/28 23:34), SASADA Koichi wrote:
>> Another thing: What about passing the old value to OBJ_WB too? OBJ_WB(from, to, old)? In this implementation it would just be a no-op. There are some nice garbage collectors that you can imp... -
10:24 PM Bug #8298 (Rejected): Module include inconsistency
- This is official restriction on module mix-in.
1. modifications to modules after they are included would not be change existing relation, thus `N` will not be included to `C`.
2. `#include` does not add already included modules, thus... -
10:07 PM Feature #6183: Enumerator::Lazy performance issue
- @gregolsen Sure, np!
-
07:10 PM Feature #6183: Enumerator::Lazy performance issue
- Zachary Scott, thanks for your interest. I'm afraid it doesn't merge into trunk cleanly anymore after introducing lazy #size. I'll try to fix it and let you know when ready.
-
10:06 PM Bug #8344: Status of Psych and Syck
- Aaron has stated that we should remove the EngineManager code for 2.1.0: https://twitter.com/tenderlove/status/328745442970066945
I can write this patch while I'm updating the documentation. -
12:58 AM Bug #8344: Status of Psych and Syck
- I did the doc change and zzak has some nice ideas to improve it, so I give him the ticket.
I would like to hear opinions about removing Psych::EngineManager. -
12:17 AM Bug #8344: Status of Psych and Syck
- We should update the YAML module overview in lib/yaml.rb to reflect this more clearly.
Maybe we add a History or just Syck section. I can write this patch.
Regarding the EngineManager, I think it should be deprecated and eventually... -
12:02 AM Bug #8344 (Closed): Status of Psych and Syck
- Hello,
The current state of YAML being Psych is still a bit unclear (see lib/yaml.rb).
I propose to document YAML as always being (=) Psych,
and give a tip about the syck gem which might be used with the Syck constant (but the YAM... -
09:56 PM Bug #8346: If a module is included, its public instance methods behave like module functions
- Compare with:
```ruby
module M
def self.f
0
end
def f
1
end
end
include M
M.f # => 0 -
09:53 PM Bug #8346 (Rejected): If a module is included, its public instance methods behave like module functions
- =begin
This behavior is unexpected to me:
module M
def f
1
end
end
include M
M.f # => 1
After including the module (({M})), the method (({f})) becomes an instance method of the module for no apparent ... -
06:33 PM Revision df9991fe (git): * ext/tk/MANUAL_tcltklib.ja, ext/tk/old-README.tcltklib.ja: rename from *.jp to *.ja
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:05 PM Feature #8338 (Closed): compilation failure in nkf with Bionic (Android's libc)
- This issue was solved with changeset r40520.
Akira, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/nkf/nkf-utf8/nkf.h: Bionic libc doesn't have locale.
[Fe... -
04:23 PM Feature #8257: Exception#cause to carry originating exception along with new one
- I love the idea of having $! be the cause. It would also mean instant adoption.
-
04:23 AM Feature #8257: Exception#cause to carry originating exception along with new one
- On Sat, Apr 27, 2013 at 6:09 PM, SASADA Koichi <[email protected]> wrote:
> Summary:
> (1) raise method captures $! as @cause.
> (2) Adding new method Exception#cause returns @cause.
>
> * I'm not sure #cause is good name.
> T... -
02:53 PM Feature #8324: Net::Telnet.new のオプション
- net/* なので naruse さんがメンテナかと思っていました。失礼しました。
-
12:13 PM Feature #8324: Net::Telnet.new のオプション
- telnet にはメンテナいません
-
02:00 PM Bug #8342 (Rejected): IO.readlines ignores Encoding.default_internal if Encoding.default_external is ASCII-8BIT
- If external encoding is ASCII-8BIT, the input content is considered as binary.
It is out of text encoding conversion and its encoding kept as ASCII-8BIT even if default_internal is set. -
09:35 AM Bug #8342 (Assigned): IO.readlines ignores Encoding.default_internal if Encoding.default_external is ASCII-8BIT
- Seems intended behavior to me.
-
11:24 AM Bug #8084: ext/tk/MANUAL_tcltklib.eucj is utf-8
- jaは国名コードなので、この場合は言語コードのjaを使うべきだと思います。
少なくともREADME.jaやdoc/*.jaはこちらを使っています。 -
09:21 AM Bug #8084 (Closed): ext/tk/MANUAL_tcltklib.eucj is utf-8
- This issue was solved with changeset r40519.
Kazuhiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/tk/MANUAL_tcltklib.jp: rename from ext/tk/MANUAL_tcltkl... -
12:39 AM Bug #8084: ext/tk/MANUAL_tcltklib.eucj is utf-8
- I suggest to rename from *.eucj to *.utf8 (or something else).
But I do not know whether any files depend on the filename or not. -
09:01 AM Revision e3e9c568 (git): Add comments.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:44 AM Revision c81f5fd3 (git): * vm.c (VM_EP_LEP): simplify infinite loop.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:06 AM Revision 6a880801 (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:05 AM Revision ecf017a9 (git): * ext/nkf/nkf-utf8/nkf.h: Bionic libc doesn't have locale.
- [Feature #8338]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:03 AM Bug #8337: Test failure and memory leak with OpenSSL::BN
- oh...
I'm sorry for bother you. -
01:11 AM Bug #8337 (Closed): Test failure and memory leak with OpenSSL::BN
- nagachika (Tomoyuki Chikanaga) wrote:
> Hello,
> ...
I use ALLOCA_N only for Fixnum and ALLOC_N is used for Bignum that needs xfree().
https://github.com/ruby/ruby/blob/be4aa330374d42cdead52a94144be189b5054e67/ext/openssl/ossl_bn.c#... -
12:27 AM Bug #8337 (Assigned): Test failure and memory leak with OpenSSL::BN
- Hello,
I think ALLOCA_N() uses alloca() to allocate memory from machine stack and xfree() is not necessary. -
02:45 AM Feature #8343: StringScanner#[] should accept names of named captures
- On a related note: should the patch be submitted in a second issue on the ruby-trunk project?
-
12:20 AM Revision fb5d3a0a (git): * ext/tk/MANUAL_tcltklib.jp: rename from ext/tk/MANUAL_tcltklib.eucj [ruby-trunk - Bug #8084]
- * ext/tk/old-README.tcltklib.jp: rename from ext/tk/old-README.tcltklib.eucj
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e