<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel about="http://blog.gmane.org/gmane.comp.lang.ruby.core">
    <title>gmane.comp.lang.ruby.core</title>
    <link>http://blog.gmane.org/gmane.comp.lang.ruby.core</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.core/19499"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.core/19498"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.core/19487"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.core/19472"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.core/19469"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.core/19442"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.core/19440"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.core/19436"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.core/19430"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.core/19424"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.core/19403"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.core/19402"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.core/19399"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.core/19397"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.core/19393"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.core/19390"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.core/19384"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.core/19382"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.core/19359"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.core/19358"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.core/19499">
    <title>[ruby-core:20188] [Bug #804] Ruby 1.9.1 preview 2 : make test failure</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.core/19499</link>
    <description>Bug #804: Ruby 1.9.1 preview 2 : make test failure
http://redmine.ruby-lang.org/issues/show/804

Author: Philippe Lucas
Status: Open, Priority: Normal

Version built on Fedora core 2 x686 with gcc 4.0.2 in a sub directory (UNIX) of the main ruby source with 
./configure --prefix=/h/phil/DEV/RUBY/ruby-191pv2 --enable-shared --enable-install-doc --enable-pthread --with-mantype=man

./ruby -v  =&gt; ruby 1.9.1 (2008-12-01 revision 20438) [i686-linux]
Note that :
  ruby -v  =&gt; ruby 1.8.7 (2008-05-31 patchlevel 0) [i686-linux]

In the announce message of this release, i read :
== Improvements
* You can "make test" without installing ruby.

So make test gives this error :
test_flip.rb /h/phil/DEV/RUBY/ruby-1.9.1-preview2/UNIX/ruby: error while loading shared libraries: libruby.so.1.9: cannot open shared object file: No such file or directory

which is not very suprising !.

Regards.


----------------------------------------
http://redmine.ruby-lang.org


</description>
    <dc:creator>Philippe Lucas</dc:creator>
    <dc:date>2008-12-01T15:44:35</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.core/19498">
    <title>[ruby-core:20187] [ANN] Ruby 1.9.1 Preview 2 Released</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.core/19498</link>
    <description>Ruby 1.9.1 Preview 2 has been released.

This is a preview release of Ruby 1.9, which will be the first stable
version of Ruby 1.9 series.
If you encounter a bug or a problem, please let us know it via the
official issue tracking system (http://redmine.ruby-lang.org ).

== Location
* ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-preview2.tar.bz2
  SIZE:   6148131 bytes
  MD5:    62126475998ede5318c1bc82c40d5f48
  SHA256: 2c419dc325c6a75fb7b961496c0dd54f2729e6e01730589c4fb06e34ddd7a7cc

* ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-preview2.tar.gz
  SIZE:   7375483 bytes
  MD5:    7699b9e54c53b16640d40a213588e704
  SHA256: dd737d26212d68c26ecb4d6e2ed180a0d7d5e27fb7bd2c819935494daa1cf50b

* ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-preview2.zip
  SIZE:   8612618 bytes
  MD5:    d3ae200280b75801bfc5c090d3592577
  SHA256: 96b6a2745b64f03ffbd5da97f93a2676365e3900cb8f6bf820f47739ef8d3fa9

== Improvements
* supports 21 new character encodings.
* works better with RubyGems.
* handles SEGV better when sys</description>
    <dc:creator>Yugui (Yuki Sonoda</dc:creator>
    <dc:date>2008-12-01T13:25:50</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.core/19487">
    <title>[ruby-core:20176] Unable to build from source on Vista, VC++ 9</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.core/19487</link>
    <description>Hi,

Windows Vista (Home Premium)
MS VC++ 9 (cl 15)
Ruby 1.8.6-p114 and Ruby 1.8.6-p237

eval.c
...
eval.c(9839) : fatal error C1189: #error :  unsupported platform
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 
9.0\VC\BIN\amd64\cl.EXE"' : return code '0x2
'
Stop.

Where the relevant code is:

#if !defined SAVE_WIN32_EXCEPTION_LIST &amp;&amp; !defined _WIN32_WCE
# error unsupported platform
#endif
#endif

Regards,

Dan


</description>
    <dc:creator>Daniel Berger</dc:creator>
    <dc:date>2008-11-30T13:42:36</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.core/19472">
    <title>[ruby-core:20161] \Z? in regular expression in 1.9.1</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.core/19472</link>
    <description>I noticed that the following reg exp causes syntax error in 1.9.1 (I  
use tip of the branch):

/\n(\.\/)?(.*spec\.rb):[\d]+:\Z?/

To reproduce, just fire up irb of 1.9.1 and try to assign this literal  
to some variable.

The problem is with ? quantifier following \Z. I could not find any  
information about this
restriction on the web and have no Mastering regular expressions book  
at hand.

Could someone shed some light on whether it is 1.9.1 engine  
restriction, general regular expressions
restriction or possible 1.9.1 bug?

Just in case: this regexp comes from autospec in RSpec.

Thank you,

MK


</description>
    <dc:creator>Michael Klishin</dc:creator>
    <dc:date>2008-11-28T23:14:36</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.core/19469">
    <title>[ruby-core:20158] [Bug #800] Problem with Array class</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.core/19469</link>
    <description>Bug #800: Problem with Array class
http://redmine.ruby-lang.org/issues/show/800

Author: Francois Proulx
Status: Open, Priority: High

If you test this simple program, you will see why array should be dup on assignment ...

   a=1
   b=1
   c=[a,b]
  
   def foo(x)
     x[0] +=1
     x[1] +=1
   end

   d = c
   e = d
   f = e
 
   foo(f)

   p c[0],c[1]


----------------------------------------
http://redmine.ruby-lang.org


</description>
    <dc:creator>Francois Proulx</dc:creator>
    <dc:date>2008-11-28T20:34:20</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.core/19442">
    <title>[ruby-core:20131] [Bug #799] cross compile 1.9.1-preview1 is not possible</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.core/19442</link>
    <description>Bug #799: cross compile 1.9.1-preview1 is not possible
http://redmine.ruby-lang.org/issues/show/799

Author: Luis Lavena
Status: Open, Priority: Normal
Target version: 1.9.1

Hello everybody.

I tried to cross compile 1.9.1-preview1 under ubuntu. It succeeded with 1.8.6-p287 and p114 but failed with 1.9.

Used the following compile flags:
&lt;pre&gt;&lt;code&gt;--host=i586-mingw32msvc --target=i386-mingw32 --build=i686-linux --enable-shared&lt;/code&gt;&lt;/pre&gt;

This is the snipped of the output

&lt;pre&gt;&lt;code&gt;make[1]: Leaving directory `/home/luislavena/sources/cross-ruby/builds/ruby-1.9.1-preview1'
make -f enc.mk RUBY="ruby -I/home/luislavena/sources/cross-ruby/builds/ruby-1.9.1-preview1 -rfake " MINIRUBY="ruby -I/home/luislavena/sources/cross-ruby/builds/ruby-1.9.1-preview1 -rfake "  encs
make[1]: Entering directory `/home/luislavena/sources/cross-ruby/builds/ruby-1.9.1-preview1'
mkdir -p .ext/i386-mingw32/enc .ext/i386-mingw32/enc/trans enc enc/trans
make[1]: Leaving directory `/home/luislavena/sources/cross-ruby/builds/ruby-1</description>
    <dc:creator>Luis Lavena</dc:creator>
    <dc:date>2008-11-26T21:57:39</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.core/19440">
    <title>[ruby-core:20129] Ruby class variable access from C</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.core/19440</link>
    <description>I'm probably missing something trivial, but given the following Ruby code:

class Myclass
  &lt; at &gt;&lt; at &gt;myvar = 1

  def self.myvar
    return &lt; at &gt;&lt; at &gt;myvar
  end
end

I can access &lt; at &gt;&lt; at &gt;myvar from Ruby with Myclass::myvar.

Great, but now I need to access that same variable through a C
extension.  I think I can get it by doing:
VALUE myvar = rb_eval_string("Myclass::myvar");
but surely there's a better way?  I'm thinking something like
rb_cvar_get() but that requires that I pass in a VALUE and all I have is
a string at this point, "Myclass".



</description>
    <dc:creator>Christopher Thompson</dc:creator>
    <dc:date>2008-11-26T19:49:32</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.core/19436">
    <title>[ruby-core:20125] Playing with String#bytes</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.core/19436</link>
    <description>Hello ruby-core,

Today I was playing around with manipulating strings containing
binary data, i.e. "\xaa\xab\xac\xad\xae" and using the new String
methods available in Ruby 1.9.

The exercise I was trying out was to extract out a range of bytes as
Fixnums. Kind of like String#bytes but I was only interested in a
subarray. Like so:

"\xaa\xab\xac\xad\xae".bytes.to_a[1,3] # =&gt; [171, 172, 173]

This works but operates on the entire data set which I imagine is
fairly expensive... So I chopped it up before hand like so:

"\xaa\xab\xac\xad\xae"[1,3].bytes.to_a
=&gt; [171, 172, 173]

Much better. This works fine when using the ASCII-8BIT encoding.
As soon as you use something like UTF-8 it fails because the []
method now works on characters instead of bytes.

data = "\xc3\xa9\xc3\xa9" # =&gt; "\xC3\xA9\xC3\xA9"
data.force_encoding("utf-8") # =&gt; ""
data[0,2].bytes.to_a  # =&gt; [195, 169, 195, 169]

Here I get four bytes instead of the first two which I wanted.

data.bytes.to_a[0,2] # =&gt; [195, 169]

So having said that I mu</description>
    <dc:creator>Emiel van de Laar</dc:creator>
    <dc:date>2008-11-26T16:07:08</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.core/19430">
    <title>[ruby-core:20119] link problem embedding ruby interpreter</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.core/19430</link>
    <description>I've copied code from main.c in an attempt to embed the ruby interpreter
in a very simple program, but I'm getting an error:

[pbrannan&lt; at &gt;zem emb]$ cat emb.c
#include &lt;ruby.h&gt;

int main(int argc, char * argv[])
{
  ruby_sysinit(&amp;argc, &amp;argv);
  RUBY_INIT_STACK;
  ruby_init();
  void * node = ruby_options(argc, argv);
  ruby_run_node(node);
}

[pbrannan&lt; at &gt;zem emb]$ gcc \
-I/usr/local/include/ruby1.9-1.9.0 \
-I/usr/local/include/ruby1.9-1.9.0/i686-linux \
-I/usr/local/include/ruby1.9-1.9.0 \
-I/usr/local/include/ruby1.9-1.9.0/i686-linux \
emb.c -o emb \
-lpthread -lrt -ldl -lcrypt -lm \
-lc -Wl,-R -Wl,/usr/local/lib \
-L/usr/local/lib -lruby1.9-static
[pbrannan&lt; at &gt;zem emb]$ ./emb
./emb: error while loading shared libraries: /usr/local/lib/ruby1.9/1.9.0/i686-linux/enc/encdb.so: undefined symbol: rb_encdb_declare
[pbrannan&lt; at &gt;zem emb]$ nm emb | grep rb_encdb_declare
08104730 T rb_encdb_declare
[pbrannan&lt; at &gt;zem emb]$ nm `which ruby1.9` | grep rb_encdb_declare
08112110 T rb_encdb_declare

Any idea where I'm going wrong?

Paul
</description>
    <dc:creator>Paul Brannan</dc:creator>
    <dc:date>2008-11-26T14:30:55</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.core/19424">
    <title>[ruby-core:20113] [Bug #798] r19320 updated REXML but didn't increment REXML::VERSION</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.core/19424</link>
    <description>Bug #798: r19320 updated REXML but didn't increment REXML::VERSION
http://redmine.ruby-lang.org/issues/show/798

Author: Jeremy Kemper
Status: Open, Priority: Normal

r19320 backported the entity_expansion_limit fix to 1.8,
but REXML::VERSION was not incremented from "3.1.7.2" to "3.1.7.3"

# Must load REXML to check for DoS safety
require 'rexml/document'; REXML::Document.respond_to?(:entity_expansion_limit=).

# Simpler and saves 1MB memory.
require 'rexml/rexml'; REXML::VERSION &gt; '3.1.7.2'

Index: lib/rexml/rexml.rb
===================================================================
--- lib/rexml/rexml.rb(revision 20354)
+++ lib/rexml/rexml.rb(working copy)
&lt; at &gt;&lt; at &gt; -23,7 +23,7 &lt; at &gt;&lt; at &gt;
 # online[http://www.germane-software.com/software/rexml/docs/tutorial.html]
 module REXML
   COPYRIGHT = "Copyright \xC2\xA9 2001-2006 Sean Russell &lt;ser&lt; at &gt;germane-software.com&gt;"
-  VERSION = "3.1.7.2"
+  VERSION = "3.1.7.3"
   DATE = "2007/275"
   REVISION = "$Revision$".gsub(/\$Revision:|\$/,'').strip


-----------------------------</description>
    <dc:creator>Jeremy Kemper</dc:creator>
    <dc:date>2008-11-26T08:47:51</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.core/19403">
    <title>[ruby-core:20092] [Bug #797] bug or feature: local method ?</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.core/19403</link>
    <description>Bug #797: bug or feature: local method ?
http://redmine.ruby-lang.org/issues/show/797

Author: Francois Proulx
Status: Open, Priority: Normal

It's possible to create a method inside a method. I've never see any mention of this in any documentation. It's a feature that is officially part the spec of the language or it's a bug ?


----------------------------------------
http://redmine.ruby-lang.org


</description>
    <dc:creator>Francois Proulx</dc:creator>
    <dc:date>2008-11-25T18:20:35</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.core/19402">
    <title>[ruby-core:20091] [Bug #796] dynamic constant assignment</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.core/19402</link>
    <description>Bug #796: dynamic constant assignment
http://redmine.ruby-lang.org/issues/show/796

Author: Francois Proulx
Status: Open, Priority: Normal

I understand the difference in the use of variable and constant. But sometime you need to be able to assigned a value dynamiquely when you are initializing your application. I see 2 possibility to address the problem:

- a interpreter's directive (which would demand a major change of the interpreter)
- a method to allow specificely a dynamic assignment


----------------------------------------
http://redmine.ruby-lang.org


</description>
    <dc:creator>Francois Proulx</dc:creator>
    <dc:date>2008-11-25T18:05:12</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.core/19399">
    <title>[ruby-core:20088] [Bug #791] Fiber using a Proc object with a parameter having default value doesn't work</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.core/19399</link>
    <description>Bug #791: Fiber using a Proc object with a parameter having default value doesn't work
http://redmine.ruby-lang.org/issues/show/791

Author: Florian Gilcher
Status: Open, Priority: Normal
Category: core

If you pass a Proc with a default value on a parameter into a Fiber, the default value is ignored.

Example by Wolfgang Nádasi-Donner:

irb(main):001:0&gt; p = -&gt;(i=4){i+5}
=&gt; #&lt;Proc:0xe8a370&lt; at &gt;(irb):1 (lambda)&gt;
irb(main):002:0&gt; p[]
=&gt; 9
irb(main):003:0&gt; Fiber.new(&amp;p).resume
NoMethodError: undefined method `+' for nil:NilClass
         from (irb):1:in `block (3 levels) in irb_binding'


A more useful example is...

irb(main):001:0&gt; f = Fiber.new(&amp;(-&gt;(i=5){loop{Fiber.yield i+=1}}))
=&gt; #&lt;Fiber:0xe860f8&gt;
irb(main):002:0&gt; f.resume
NoMethodError: undefined method `+' for nil:NilClass
         from (irb):1:in `block (4 levels) in irb_binding'
         from (irb):1:in `loop'
         from (irb):1:in `block (3 levels) in irb_binding'

Regards,
Florian Gilcher


----------------------------------------
http://redmine.rub</description>
    <dc:creator>Florian Gilcher</dc:creator>
    <dc:date>2008-11-25T09:28:32</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.core/19397">
    <title>[ruby-core:20086] [Bug #790] Unexpected Behaviour: Fibers as superclass don</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.core/19397</link>
    <description>Bug #790: Unexpected Behaviour: Fibers as superclass don
http://redmine.ruby-lang.org/issues/show/790

Author: Florian Gilcher
Status: Open, Priority: Normal
Category: core

This is possibly just undocumented and intended behaviour:


----------------------------------------
http://redmine.ruby-lang.org


</description>
    <dc:creator>Florian Gilcher</dc:creator>
    <dc:date>2008-11-25T09:22:53</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.core/19393">
    <title>[ruby-core:20082] [Bug #788] r20287 broke rb_str_replace</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.core/19393</link>
    <description>Bug #788: r20287 broke rb_str_replace
http://redmine.ruby-lang.org/issues/show/788

Author: Jeremy Kemper
Status: Open, Priority: High
Assigned to: Nobuyoshi Nakada

$ ruby -rrexml/document -e "REXML::Document.new('&lt;a&gt;b&lt;/a&gt;')"
ruby(17210) malloc: *** error for object 0xab1f8: pointer being reallocated was not allocated
*** set a breakpoint in malloc_error_break to debug
ruby(17210) malloc: *** error for object 0xab1f8: pointer being reallocated was not allocated
*** set a breakpoint in malloc_error_break to debug
/usr/local/ruby/1.8.7-gc/lib/ruby/1.8/rexml/text.rb:77:in `initialize_copy': failed to allocate memory (NoMemoryError)
from /usr/local/ruby/1.8.7-gc/lib/ruby/1.8/rexml/text.rb:77:in `clone'
from /usr/local/ruby/1.8.7-gc/lib/ruby/1.8/rexml/text.rb:77:in `initialize'
from /usr/local/ruby/1.8.7-gc/lib/ruby/1.8/rexml/parsers/treeparser.rb:43:in `new'
from /usr/local/ruby/1.8.7-gc/lib/ruby/1.8/rexml/parsers/treeparser.rb:43:in `parse'
from /usr/local/ruby/1.8.7-gc/lib/ruby/1.8/rexml/document.rb:227:</description>
    <dc:creator>Jeremy Kemper</dc:creator>
    <dc:date>2008-11-25T03:35:18</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.core/19390">
    <title>[ruby-core:20079] Again: Questions about Fiber behaviour</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.core/19390</link>
    <description>Hi!

I am a little bit surprized to get no (=0) answer for my questions in 
No. 20015 and No. 20025, and no comment to No. 20071 from Florian 
Gilcher, because the basic questions should be easy to be answered, and 
an answer will us enable for further testing (=playing to explore the 
feasibilities).

The questions simly were: Are the effects features or bugs?

Wolfgang Nádasi-Donner


</description>
    <dc:creator>Wolfgang Nádasi-Donner</dc:creator>
    <dc:date>2008-11-24T22:06:58</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.core/19384">
    <title>[ruby-core:20073] Ruby 1.9.1 Testing Libraray</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.core/19384</link>
    <description>Is test/unit gone for good from Ruby 1.9?  Is it all going to be  
miniunit now?

   http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_9_1/lib/test/unit.rb?revision=19969&amp;view=markup

James Edward Gray II


</description>
    <dc:creator>James Gray</dc:creator>
    <dc:date>2008-11-24T14:48:02</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.core/19382">
    <title>[ruby-core:20071] Is missing documentation considered a bug?</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.core/19382</link>
    <description>Hi,

as some of you might have noticed, Wolfgang Nádasi-Donner and I had a  
look into the new Fiber feature of Ruby 1.9. Aside from the bugs[1] it  
is also evident that the documentation for Fibers is severely lacking  
(as in: non-existant). We have a hard time finding actual  
documentation and reasons for most things concerning Fibers. That  
leads to the general question: Should missing, incomplete or erroneous  
documentation be considered and filed as a bug more aggressively?

There is a bug-category DOC, but it doesn't seem to be used very  
often. [2]

There are several reasons to make this a good move:

* The obvious quality improvement.
* Documentation is a good start for people that want to get involved  
and have a look around the interpreter.
* Documentation tasks can be picked up by people that are not the  
implementors.
* Easier to keep track of the dark corners.

Reasons against might be:
* Could be considered as noise from developers/ticket-managers -  
especially when a feature is new i</description>
    <dc:creator>Florian Gilcher</dc:creator>
    <dc:date>2008-11-24T09:33:03</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.core/19359">
    <title>[ruby-core:20048] Unexpected Performance of Symbol Construction</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.core/19359</link>
    <description>http://kurtstephens.com/node/72

Evaluating :‘foo_bar’ is 1.5 to 2.5 times faster than :foo_bar. This is
true for both Ruby 1.8.6-p287 and Ruby 1.9 trunk.  The most common means
of specifying a Symbol literal is slower than the general expression to
create a Symbol from a String constant.

# Ruby 1.9 trunk.
 &gt; ~/local/ruby/trunk/bin/ruby symbol_benchmark.rb 
             user     system      total        real
:foo_bar  0.180000   0.000000   0.180000 (  0.178016)
:'foo_bar'  0.070000   0.000000   0.070000 (  0.072418)
:"foo_bar"  0.080000   0.000000   0.080000 (  0.072390)
"foo_bar".to_sym  0.340000   0.000000   0.340000 (  0.340502)
:"foo_#{'bar'}"  0.060000   0.000000   0.060000 (  0.073382)
"foo_#{'bar'}".to_sym  0.350000   0.000000   0.350000 (  0.349321)

# ruby 1.8.6
 &gt; ruby symbol_benchmark.rb 
             user     system      total        real
:foo_bar  0.370000   0.140000   0.510000 (  0.513998)
:'foo_bar'  0.240000   0.090000   0.330000 (  0.331501)
:"foo_bar"  0.270000   0.06000</description>
    <dc:creator>Kurt Stephens</dc:creator>
    <dc:date>2008-11-23T09:11:26</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.core/19358">
    <title>[ruby-core:20047] 1.9 method argument binding question</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.core/19358</link>
    <description>Hi --

In this code:

=&gt; nil
[1, 2, "c", 3]
=&gt; [1, 2, "c", 3]

I would expect [1, 3, "c", 2], because I would expect d (a required
argument) to be handled before b (an optional argument).

I know it's almost unthinkable that one would use this method
signature, but I'd still like to understand the reasoning fully. I
thought the idea was: handle the required arguments first, but it
seems to be: move from left to right, looking ahead at every point to
see whether there are enough arguments left and, at that point, give
the right-hand required arguments priority. Is that right?


David

</description>
    <dc:creator>David A. Black</dc:creator>
    <dc:date>2008-11-23T09:00:25</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.core/19357">
    <title>[ruby-core:20046] ruby19 13% slower running rexml benchmark than ruby 1.8.6 p114</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.core/19357</link>
    <description>I just added ruby 1.9 (svn rev 20317) to a simple xml processing 
benchmark I've created.

So far I've only tested rexml on ruby 1.9 but was surprised to find 
it about 13% slower than ruby 1.8.6.

In the benchmark (described below) ruby 1.9 took 9.793s while ruby 
1.8.6 took only 8.606s.

----------------------------------------------------------------------------------

I've updated my simple ruby xml benchmark which measures the time to 
open a 98k XML document and count one type of leaf element (466 
entries) 100 times.

   https://svn.concord.org/svn/projects/trunk/common/ruby/xml_benchmarks/

The summary is that for this one test using libxml in MRI 1.8.6 and 
jdom_document_builder (a native Java library) in JRuby take just 
about the same time. This is similar to the last time I ran these 
benchmarks.

However testing in REXML, 8 months JRuby was 41% slower than MRI 
1.8.6 while now it's about 35% faster.

Tests run on a MacBook Pro, Mac OS X 10.5.5, 4GB memory, 2.5 GHz 
Intel Core 2 Duo.

   hpricot </description>
    <dc:creator>Stephen Bannasch</dc:creator>
    <dc:date>2008-11-23T04:27:13</dc:date>
  </item>
  <textinput about="http://search.gmane.org/?group=$group=gmane.comp.lang.ruby.core">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.lang.ruby.core</link>
  </textinput>
</rdf:RDF>
