[#26488] Add Standard Deviation Function to Math Module — Daniel Cohen <danielc2017@...>

This patch adds a Standard Deviation function to the Math Module. It takes

25 messages 2009/11/02
[#26489] Re: Add Standard Deviation Function to Math Module — Yukihiro Matsumoto <matz@...> 2009/11/03

Hi,

[#26490] Re: Add Standard Deviation Function to Math Module — Daniel Cohen <danielc2017@...> 2009/11/03

OK,

[#26493] Re: Add Standard Deviation Function to Math Module — Yukihiro Matsumoto <matz@...> 2009/11/03

Hi,

[#26511] Re: Add Standard Deviation Function to Math Module — Yusuke ENDOH <mame@...> 2009/11/03

Hi,

[#26492] HashWithIndifferentAccess to core — Urabe Shyouhei <shyouhei@...>

Hello,

35 messages 2009/11/03
[#26496] Re: HashWithIndifferentAccess to core — Yukihiro Matsumoto <matz@...> 2009/11/03

Hi,

[#26507] Re: HashWithIndifferentAccess to core — Jeremy Kemper <jeremy@...> 2009/11/03

On Tue, Nov 3, 2009 at 6:48 AM, Yukihiro Matsumoto <matz@ruby-lang.org> wrote:

[#26514] Re: HashWithIndifferentAccess to core — "Martin J. Dst" <duerst@...> 2009/11/04

Just a thought: What about implementing this with an option on Hash:new,

[#26522] Re: HashWithIndifferentAccess to core — Yusuke ENDOH <mame@...> 2009/11/04

Hi,

[#26555] Re: HashWithIndifferentAccess to core — Yukihiro Matsumoto <matz@...> 2009/11/05

Hi,

[#26584] Re: HashWithIndifferentAccess to core — Yugui <yugui@...> 2009/11/07

2009/11/6 Yukihiro Matsumoto <matz@ruby-lang.org>:

[#26589] Re: HashWithIndifferentAccess to core — Yukihiro Matsumoto <matz@...> 2009/11/07

Hi,

[#26593] Re: HashWithIndifferentAccess to core — Lourens Naud<lourens@...> 2009/11/07

Hi,

[#26523] [Bug #2330] Non systematic segmentation fault with autoload rubyspec — Marc-Andre Lafortune <redmine@...>

Bug #2330: Non systematic segmentation fault with autoload rubyspec

12 messages 2009/11/04

[#26560] [Feature #2340] Removing YAML/Syck — Yui NARUSE <redmine@...>

Feature #2340: Removing YAML/Syck

38 messages 2009/11/06
[#26562] [Feature #2340] Removing YAML/Syck — Yui NARUSE <redmine@...> 2009/11/06

Issue #2340 has been updated by Yui NARUSE.

[#26567] Re: [Feature #2340] Removing YAML/Syck — James Edward Gray II <james@...> 2009/11/06

On Nov 6, 2009, at 4:02 AM, Yui NARUSE wrote:

[#26568] Re: [Feature #2340] Removing YAML/Syck — Jon <jon.forums@...> 2009/11/06

> > Issue #2340 has been updated by Yui NARUSE.

[#26571] Re: [Feature #2340] Removing YAML/Syck — "NARUSE, Yui" <naruse@...> 2009/11/06

Jon wrote:

[#26574] Re: [Feature #2340] Removing YAML/Syck — Aaron Patterson <aaron@...> 2009/11/06

On Sat, Nov 07, 2009 at 12:59:25AM +0900, NARUSE, Yui wrote:

[#26635] [Feature #2348] RBTree Should be Added to the Standard Library — James Gray <redmine@...>

Feature #2348: RBTree Should be Added to the Standard Library

20 messages 2009/11/08
[#28842] [Feature #2348] RBTree Should be Added to the Standard Library — James Gray <redmine@...> 2010/03/21

Issue #2348 has been updated by James Gray.

[#26650] [Feature #2350] Unicode specific functionality on String in 1.9 — Manfred Stienstra <redmine@...>

Feature #2350: Unicode specific functionality on String in 1.9

12 messages 2009/11/09
[#28985] [Feature #2350](Rejected) Unicode specific functionality on String in 1.9 — Yusuke Endoh <redmine@...> 2010/03/25

Issue #2350 has been updated by Yusuke Endoh.

[#28993] Re: [Feature #2350](Rejected) Unicode specific functionality on String in 1.9 — Nikolai Weibull <now@...> 2010/03/25

On Thu, Mar 25, 2010 at 14:45, Yusuke Endoh <redmine@ruby-lang.org> wrote:

[#26704] Maintainer confirmation process done. — "Yugui (Yuki Sonoda)" <yugui@...>

I'm sorry for my closing the maintainer confirmation process so late.

13 messages 2009/11/12

[#26736] [Bug #2365] Matrix: poor handling of coercion errors [patch] — Marc-Andre Lafortune <redmine@...>

Bug #2365: Matrix: poor handling of coercion errors [patch]

12 messages 2009/11/14

[#26772] [Bug #2378] Regression in ParseDate.parsedate('nn-nn') — Vladimir Sizikov <redmine@...>

Bug #2378: Regression in ParseDate.parsedate('nn-nn')

10 messages 2009/11/16

[#26774] Ruby constant lookup — Yehuda Katz <wycats@...>

Over the past six months or so, I have been working with the new Ruby 1.9

22 messages 2009/11/16
[#26775] Re: Ruby constant lookup — Shugo Maeda <shugo@...> 2009/11/17

Hi,

[#26777] Re: Ruby constant lookup — Yehuda Katz <wycats@...> 2009/11/17

Shugo,

[#26778] Re: Ruby constant lookup — Shugo Maeda <shugo@...> 2009/11/17

Hi,

[#26869] Caching #to_s for immutables (and a possible future for constant-folding) — Kurt Stephens <ks@...>

I have a proof-of-concept patch to MRI that caches #to_s values for

16 messages 2009/11/23
[#26936] Re: Caching #to_s for immutables (and a possible future for constant-folding) — Roger Pack <rogerdpack@...> 2009/11/29

> t reduces the number of #to_s Strings created during the MRI test suite

[#26958] Re: Caching #to_s for immutables (and a possible future for constant-folding) [with patch] — Kurt Stephens <ks@...> 2009/11/30

The attached patch add caching of #to_s results to the main immutable

[#26960] Re: Caching #to_s for immutables (and a possible future for constant-folding) [with patch] — Roger Pack <rogerdpack@...> 2009/11/30

> Yes. he MRI test suite runs at 45 sec with these changes and at 53 sec

[#26963] Re: Caching #to_s for immutables (and a possible future for constant-folding) [with patch] — Kurt Stephens <ks@...> 2009/11/30

I just ran rubyspec against it; ~ 5% time improvement.

[ruby-core:26809] Re: [Bug #1525](Closed) Deadlock in Ruby 1.9's VM caused by ConditionVariable.wait and fork?

From: Hongli Lai <hongli@...99.net>
Date: 2009-11-18 14:38:41 UTC
List: ruby-core #26809
Tanaka Akira wrote:
> After this commit, test-all causes SEGV on FreeBSD 6.4.
> 
> The SEGV doesn't occur at r25841.
> 
> % uname -a
> FreeBSD freebsd.tky.aist.go.jp 6.4-RELEASE FreeBSD 6.4-RELEASE #0: Wed Nov 26 08:21:48 UTC 2008     root@palmer.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
> % ./ruby -v test/ruby/test_process.rb -v
> ruby 1.9.2dev (2009-11-18 trunk 25846) [x86_64-freebsd6.4]
> Loaded suite test/ruby/test_process
> Started
> TestProcess#test_abort: 0.02 s: .
> TestProcess#test_argv0: 0.12 s: .
> TestProcess#test_argv0_noarg: 0.20 s: .
> TestProcess#test_exec_noshell: 0.02 s: .
> TestProcess#test_exec_shell: 0.06 s: .
> TestProcess#test_exec_wordsplit: 0.04 s: .
> TestProcess#test_execopts_chdir: 0.03 s: .
> TestProcess#test_execopts_close_others: 0.17 s: .
> TestProcess#test_execopts_duplex_io: 0.02 s: .
> TestProcess#test_execopts_env: 0.07 s: .
> TestProcess#test_execopts_exec: 0.02 s: .
> TestProcess#test_execopts_modification: 0.06 s: .
> TestProcess#test_execopts_opts: 0.02 s: .
> TestProcess#test_execopts_pgroup: 0.11 s: .
> TestProcess#test_execopts_popen: 0.12 s: .
> TestProcess#test_execopts_redirect: 0.43 s: .
> TestProcess#test_execopts_redirect_dup2_child: 0.09 s: .
> TestProcess#test_execopts_redirect_self: 0.02 s: .
> TestProcess#test_execopts_rlimit: 0.13 s: .
> TestProcess#test_execopts_umask: 0.04 s: .
> TestProcess#test_execopts_unsetenv_others: 0.04 s: .
> TestProcess#test_fd_inheritance: 0.13 s: .
> TestProcess#test_geteuid: 0.00 s: .
> TestProcess#test_getpgid: 0.00 s: .
> TestProcess#test_getpriority: 0.00 s: .
> TestProcess#test_getuid: 0.00 s: .
> TestProcess#test_gid_re_exchangeable_p: 0.00 s: .
> TestProcess#test_gid_sid_available?: 0.00 s: .
> TestProcess#test_groups: 0.00 s: .
> TestProcess#test_maxgroups: 0.00 s: .
> TestProcess#test_popen_fork: 0.00 s: .
> TestProcess#test_popen_noshell: 0.00 s: .
> TestProcess#test_popen_shell: 0.04 s: .
> TestProcess#test_popen_wordsplit: 0.02 s: .
> TestProcess#test_pst_inspect: 0.00 s: .
> TestProcess#test_rlimit_availability: 0.00 s: .
> TestProcess#test_rlimit_name: 0.00 s: .
> TestProcess#test_rlimit_nofile: 0.02 s: .
> TestProcess#test_rlimit_value: 0.04 s: .
> TestProcess#test_setpriority: 0.00 s: .
> TestProcess#test_sleep: 0.00 s: .
> TestProcess#test_spawn_noshell: 0.00 s: .
> TestProcess#test_spawn_shell: 0.04 s: .
> TestProcess#test_spawn_wordsplit: 0.02 s: .
> TestProcess#test_status: 0.02 s: .
> TestProcess#test_status_kill: 1.04 s: .
> TestProcess#test_system_noshell: 0.00 s: .
> TestProcess#test_system_shell: 0.04 s: .
> TestProcess#test_system_wordsplit: 0.02 s: .
> TestProcess#test_uid_re_exchangeable_p: 0.00 s: .
> TestProcess#test_uid_sid_available?: 0.00 s: .
> TestProcess#test_wait2: 0.12 s: .
> TestProcess#test_wait_and_sigchild: test/ruby/test_process.rb:1136: [BUG] native_mutex_unlock return non-zero: 1
> ruby 1.9.2dev (2009-11-18 trunk 25846) [x86_64-freebsd6.4]
> 
> -- control frame ----------
> c:0017 p:---- s:0059 b:0059 l:000058 d:000058 CFUNC  :sleep
> c:0016 p:0011 s:0055 b:0055 l:000778 d:000054 BLOCK  test/ruby/test_process.rb:1136
> c:0015 p:---- s:0053 b:0053 l:000052 d:000052 FINISH
> c:0014 p:---- s:0051 b:0051 l:000050 d:000050 CFUNC  :fork
> c:0013 p:0035 s:0048 b:0048 l:000778 d:000778 METHOD test/ruby/test_process.rb:1136
> c:0012 p:0063 s:0043 b:0043 l:000700 d:000700 METHOD /home/akr/ruby/o0/lib/ruby/1.9.1/minitest/unit.rb:458
> c:0011 p:0091 s:0037 b:0037 l:000018 d:000036 BLOCK  /home/akr/ruby/o0/lib/ruby/1.9.1/minitest/unit.rb:426
> c:0010 p:---- s:0032 b:0032 l:000031 d:000031 FINISH
> c:0009 p:---- s:0030 b:0030 l:000029 d:000029 CFUNC  :each
> c:0008 p:0026 s:0027 b:0027 l:000018 d:000026 BLOCK  /home/akr/ruby/o0/lib/ruby/1.9.1/minitest/unit.rb:420
> c:0007 p:---- s:0024 b:0024 l:000023 d:000023 FINISH
> c:0006 p:---- s:0022 b:0022 l:000021 d:000021 CFUNC  :each
> c:0005 p:0082 s:0019 b:0019 l:000018 d:000018 METHOD /home/akr/ruby/o0/lib/ruby/1.9.1/minitest/unit.rb:419
> c:0004 p:0154 s:0014 b:0014 l:000013 d:000013 METHOD /home/akr/ruby/o0/lib/ruby/1.9.1/minitest/unit.rb:393
> c:0003 p:0041 s:0007 b:0007 l:000f98 d:000006 BLOCK  /home/akr/ruby/o0/lib/ruby/1.9.1/minitest/unit.rb:334
> c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
> c:0001 p:0000 s:0002 b:0002 l:000018 d:000018 TOP   
> ---------------------------
> /home/akr/ruby/o0/lib/ruby/1.9.1/minitest/unit.rb:334:in `block in autorun'
> /home/akr/ruby/o0/lib/ruby/1.9.1/minitest/unit.rb:393:in `run'
> /home/akr/ruby/o0/lib/ruby/1.9.1/minitest/unit.rb:419:in `run_test_suites'
> /home/akr/ruby/o0/lib/ruby/1.9.1/minitest/unit.rb:419:in `each'
> /home/akr/ruby/o0/lib/ruby/1.9.1/minitest/unit.rb:420:in `block in run_test_suites'
> /home/akr/ruby/o0/lib/ruby/1.9.1/minitest/unit.rb:420:in `each'
> /home/akr/ruby/o0/lib/ruby/1.9.1/minitest/unit.rb:426:in `block (2 levels) in run_test_suites'
> /home/akr/ruby/o0/lib/ruby/1.9.1/minitest/unit.rb:458:in `run'
> test/ruby/test_process.rb:1136:in `test_wait_and_sigchild'
> test/ruby/test_process.rb:1136:in `fork'
> test/ruby/test_process.rb:1136:in `block in test_wait_and_sigchild'
> test/ruby/test_process.rb:1136:in `sleep'
> 
> [NOTE]
> You may have encountered a bug in the Ruby interpreter or extension libraries.
> Bug reports are welcome.
> For details: http://www.ruby-lang.org/bugreport.html
> 
> 1.04 s: .
> TestProcess#test_wait_without_arg: 0.12 s: .
> TestProcess#test_waitall: 0.17 s: .
> 
> Finished in 4.792797 seconds.
> 
> 55 tests, 229 assertions, 0 failures, 0 errors, 0 skips

I cannot reproduce this segfault on OS X Snow Leopard. Though I did find another
unrelated issue while running test_process.rb, which I reported here:
http://redmine.ruby-lang.org/issues/show/2382

In This Thread