18301-20708

17944-18489 subjects 18437-23220

^ redmine.ruby-lang.org unavailable?
18301 [giuseppe.bil] is it just me getting a Service Temporarily Unavailable on

^ Ruby 1.8.6 yields 50%-100% performance gain when compiled at full optimization
18303 [kpnolan comc] After compiling Ruby 1.8.6 with '-O3 -mtune=K8 -march=K8' on an AMD 4800
+ 18305 [znmeb cesmai] I think that can be changed easily.
+ 18313 [ shot hot.pl] Are you sure the differences are not because of the --with-phtreads
  18316 [znmeb cesmai] Last time I looked, the difference between no optimization whatsoever
  + 18320 [Prashant.Sri] I've seen huge performance enhancements by not using
  + 19396 [ shot hot.pl] What benchmarks did you use? In my code=E2=80=99s case, the difference betw=
    19400 [hramrach cen] It also depends on your chip.  Recent AMD chips tend to have sane

^ [Bug #443] [PATCH] CGI#checkbox_group raises a TypeError when passing false as checked value
18306 [redmine ruby] Bug #443: [PATCH] CGI#checkbox_group raises a TypeError when passing false as checked value

^ [Bug #444] [PATCH] CGI#radio_group raises a TypeError when passing false as checked value
18307 [redmine ruby] Bug #444: [PATCH] CGI#radio_group raises a TypeError when passing false as checked value

^ [Bug #445] [PATCH] Net::HTTPHeaders#fetch raises NoMethodError instead of returning default values
18308 [redmine ruby] Bug #445: [PATCH] Net::HTTPHeaders#fetch raises NoMethodError instead of returning default values

^ [Bug #446] [PATCH] [DOC] Net::HTTPHeaders#fetch does not return nil but raises IndexError
18309 [redmine ruby] Bug #446: [PATCH] [DOC] Net::HTTPHeaders#fetch does not return nil but raises IndexError

^ [Bug #447] [PATCH] Net::HTTPHeaders iterator methods should return Enumerators
18310 [redmine ruby] Bug #447: [PATCH] Net::HTTPHeaders iterator methods should return Enumerators

^ [Bug #212] Issues with Readline in Mac OS X
18311 [redmine ruby] Issue #212 has been updated by Federico Builes.

^ [Bug #448] URI::join does not concatenate all strings passed in
18312 [redmine ruby] Bug #448: URI::join does not concatenate all strings passed in

^ [Bug #449] File.zero? returns true when given a directory on Windows
18314 [redmine ruby] Bug #449: File.zero? returns true when given a directory on Windows
18315 [nobu ruby-la] It is very file-system dependent behavior, and the result has
18325 [jflam micros] I submitted that original bug (first time using redmine :)). Here's some mo=
18326 [matz ruby-la] Currently we define its behavior as "platform specific".  Any
18327 [jflam micros] Not at all - it means we're now free to do the right thing :)
18328 [luislavena g] I hope by "the right thing" you don't say "raise an exception" as the
18329 [nobu ruby-la] File.zero? isn't the real issue.  I can't imagine why you want
18331 [luislavena g] Don't look at me, I never thought about using it that way, but if

^ 1.8.7 Broken!!
18317 [admin hawtho] Core,

^ OOPS -- 1.8.7 Compiles in spite of autoconf?
18318 [admin hawtho] Core,

^ NEW Command:  absolute_path() --
18319 [admin hawtho] This is a multi-part message in MIME format.
18321 [matz ruby-la] I am still thinking to decide if this is a creeping feature, or useful
+ 18322 [transfire gm] Why does the ~ prevent the expansion in File.expand_path?
| + 18323 [mgreenly gma] Are you sure you didn't mean to use "~/oracle/bin"
| | 18324 [luislavena g] The problem is that File.expand_path asumes if no "~" was provided,
| | 18330 [nobu ruby-la] It should raise an exception, and this is the point of OP.
| | 18333 [admin hawtho] The example was used because it is the one of the examples in the
| + 18332 [admin hawtho] Yeah, that got me too!
|   18339 [transfire gm] Is this common practice? I mean it seems like a sucky edge case to
|   + 18343 [jim.weirich ] Yes.  Very much so.
|   + 18344 [pit.capitain] +1
|     18345 [mboeh desper] config =3D YAML.load(File.read(config_file_path))
|     18346 [pit.capitain] Thanks Matthew. I always understood #expand_path to just create an
+ 18334 [admin hawtho] Thank you for your reply!

^ [Bug #454] URI does not follow the last rfc about uri syntax
18335 [redmine ruby] Bug #454: URI does not follow the last rfc about uri syntax

^ The new concept of 'trust'
18336 [dave pragpro] I've been looking through the new concept of 'trust' in Ruby 1.9, and
18338 [shugo ruby-l] Yes, it is.
18341 [dave pragpro] Thanks for the explanation. What does it mean when you say "objects
18352 [shugo ruby-l] It means objects created at safe level 4. For example.

^ [Bug #455] Array#sample(n) loops if a > arr.size
18337 [redmine ruby] Bug #455: Array#sample(n) loops if a > arr.size

^ [Bug #456] Ruby 1.8.6p230 SEGV on OpenSolaris
18340 [redmine ruby] Bug #456: Ruby 1.8.6p230 SEGV on OpenSolaris

^ [Bug #456] Ruby 1.8.6p230 SEGV on OpenSolaris
18342 [redmine ruby] Issue #456 has been updated by Federico Builes.

^ [Bug #457] Is irb/xmp supported in 1.9?
18347 [redmine ruby] Bug #457: Is irb/xmp supported in 1.9?

^ [Bug #456] Ruby 1.8.6p230 SEGV on OpenSolaris
18348 [redmine ruby] Issue #456 has been updated by Prashant Srinivasan.

^ [Feature:1.9] autoload with a block
18349 [nobu ruby-la] Although the OP doesn't seem to intend to request this feature,

^ [Bug:1.8] Re: Hard question: Any ideas why this code leaks memory?
18350 [nobu ruby-la] Seems a bug.

^ [Bug #455](Closed) Array#sample(n) loops if a > arr.size
18351 [redmine ruby] Issue #455 has been updated by Nobuyoshi Nakada.

^ [Bug #458] Range#dup returns incorrect results
18353 [redmine ruby] Bug #458: Range#dup returns incorrect results

^ Retrieving bytecode for method
18354 [mneumann nte] I'd like to get the bytecode of a method in Ruby 1.9. I know that I
+ 18359 [david majda.] David Majda
| 18360 [mneumann nte] Thanks. I already know of this project (which is great btw) and I am
+ 18362 [mneumann nte] This is a multi-part message in MIME format.

^ [Bug #459] Scanf Seems to Have Issues with Single Digit Integers
18355 [redmine ruby] Bug #459: Scanf Seems to Have Issues with Single Digit Integers

^ [Bug #459] Scanf Seems to Have Issues with Single Digit Integers
18356 [redmine ruby] Issue #459 has been updated by James Gray.

^ [Bug #459](Closed) Scanf Seems to Have Issues with Single Digit Integers
18357 [redmine ruby] Issue #459 has been updated by Nobuyoshi Nakada.

^ [Bug #458] Range#dup returns incorrect results
18358 [redmine ruby] Issue #458 has been updated by Nobuyoshi Nakada.

^ Ruby popen bug #1, isolated
18361 [hramrach cen] It looks like the problems with IO.popen I see have multiple causes,
18363 [hramrach cen] FWIW it also fails on OS X after 109 iterations, although with a

^ popen IO bug #2, isolated
18364 [hramrach cen] def try_analyze *words
18371 [charles.nutt] Ick, probably just a finalization that's happening twice or

^ [Bug #378](Closed) rbconfig.rb:173: [BUG] Stack consistency error
18367 [redmine ruby] Issue #378 has been updated by Yukihiro Matsumoto.

^ [Bug #472] No ord in Net::HTTP#urlencode
18368 [redmine ruby] Bug #472: No ord in Net::HTTP#urlencode

^ [Bug #473] File.chmod does not validate the permission attribute
18369 [redmine ruby] Bug #473: File.chmod does not validate the permission attribute
18372 [nobu ruby-la] No reason to deny it, as long as the system allows it.

^ [Feature #474] Hash#<<
18370 [redmine ruby] Feature #474: Hash#<<
18392 [matz ruby-la] Unlike Smalltalk's Dictionaries, Hashes in Ruby does not provide the
18393 [transfire gm] {:a=3D>1, :b=3D>2, :c=3D>3}.to_a
18402 [B.Candler po] But that breaks a lot of useful stuff. e.g.
18403 [transfire gm] ) } }
18413 [B.Candler po] Thank you, my mistake. I'm not chasing the moving target of 1.9 until it
+ 18425 [transfire gm] le,
+ 18432 [B.Candler po] Thank you. What I meant was, I can hardly comment on core development (1.9)

^ popen IO bug #3 - comment makes code behave differently XD
18373 [hramrach cen] I never imagined such a short piece of code dull could provide for

^ [Feature #481] improved gcd for 1.9
18374 [redmine ruby] Feature #481: improved gcd for 1.9

^ Stack "Overflow" Patch
18375 [jjoonathan g] charset=WINDOWS-1252;

^ [Bug #472](Closed) No ord in Net::HTTP#urlencode
18376 [redmine ruby] Issue #472 has been updated by Yui NARUSE.

^ [Bug #484] OpenSSL::Config does not freeze correctly
18377 [redmine ruby] Bug #484: OpenSSL::Config does not freeze correctly

^ [Bug #484] OpenSSL::Config does not freeze correctly
18378 [redmine ruby] Issue #484 has been updated by Drake Wilson.

^ [Bug #488] Segfault on unrescued infinite recursion
18379 [redmine ruby] Bug #488: Segfault on unrescued infinite recursion

^ [Bug #488] Segfault on unrescued infinite recursion
18380 [redmine ruby] Issue #488 has been updated by Yukihiro Matsumoto.

^ [Bug #496] DRb.start_service(nil) is very slow
18381 [redmine ruby] Bug #496: DRb.start_service(nil) is very slow
18382 [vjoel path.b] $ time ruby -r drb -e 'DRb.start_service("druby://:0")'

^ RCR: instance_methods(ancestor)
18383 [transfire gm] I'm wondering if anyone here saw this post on ruby-talk. It's seem

^ New Command Revisted
18384 [admin hawtho] Matz,
18385 [matz ruby-la] =46rom the past experience, adding a boolean flag as an argument is not
18386 [admin hawtho] That was my view of the situation, but I wanted

^ [Bug:1.9] rubygems fails to cache spec file
18387 [mame tsg.ne.] I realized "gem update" always fetched the whole spec file
18389 [akr fsij.org] See HTTP-date definition of RFC 2616.
18390 [mame tsg.ne.] Aha, this is a fault of rubygems X-(
18391 [drbrain segm] I already fixed this in RubyGems trunk, but haven't got RubyGems

^ [Bug #504] Tempfile.open should return the new tempfile rather than nil
18394 [redmine ruby] Bug #504: Tempfile.open should return the new tempfile rather than nil

^ [Bug #504] Tempfile.open should return the new tempfile rather than nil
18395 [redmine ruby] Issue #504 has been updated by Tyler Rick.

^ problems with test_io.rb on cygwin
18396 [duerst it.ao] I have run into problems with test_io.rb on cygwin.
18397 [usa garbagec] Maybe the ruby interpreters running "make test" and

^ revision.h not updated? (was: Re:  Re: problems with test_io.rb on cygwin)
18398 [duerst it.ao] Many thanks for your advice.
18431 [nobu ruby-la] make up
18619 [duerst it.ao] Many thanks for your help.
18630 [nobu ruby-la] Actually, if revision.h didn't exist it will be created.

^ [Bug #496] DRb.start_service(nil) is very slow
18399 [redmine ruby] Issue #496 has been updated by Brian Candler.

^ [Bug #496] DRb.start_service(nil) is very slow
18400 [redmine ruby] Issue #496 has been updated by Hongli Lai.

^ [Bug #504] Tempfile.open should return the new tempfile rather than nil
18401 [redmine ruby] Issue #504 has been updated by Gregory Brown.

^ [Bug #512] String#% behavior
18405 [redmine ruby] Bug #512: String#% behavior

^ [Bug #512] String#% behavior
18406 [redmine ruby] Issue #512 has been updated by Nobuyoshi Nakada.

^ [Bug #512] String#% behavior
18407 [redmine ruby] Issue #512 has been updated by Eero Saynatkari.

^ [Bug #512] String#% behavior
18408 [redmine ruby] Issue #512 has been updated by Nobuyoshi Nakada.
18415 [larsch belun] &gt; It's an implementation detail.

^ ruby-lang.org has old download links
18409 [Nate_Wiger p] This is a multipart message in MIME format.
18410 [james graypr] I found one link and hash out of date there and update it.  Did I miss
18421 [Nate_Wiger p] This is a multipart message in MIME format.

^ [Bug #514] OpenSSL::OCSP::Response's to_der always returns an empty string
18411 [redmine ruby] Bug #514: OpenSSL::OCSP::Response's to_der always returns an empty string

^ [Bug #146] Incorrect line numbers in "caller" output when evaluated in a Proc binding
18412 [redmine ruby] Issue #146 has been updated by Wilson Bilkovich.

^ DoS vulnerability in REXML
18414 [shugo ruby-l] Moved from ruby-dev.
18423 [drbrain segm] I think this name is ok.
18433 [shugo ruby-l] Thank you.  I commited it to svn trunk.  Please tell me if there are
18544 [rbrown exher] Should this also be applied to the ruby_1_8, ruby_1_8_6 and ruby_1_8_7 branches?
18568 [shugo ruby-l] Yes, I have commited it to the ruby_1_8 branch.  It will also be

^ [Bug #512] String#% behavior
18417 [redmine ruby] Issue #512 has been updated by Eero Saynatkari.
18418 [funkaster gm] IMHO, String#% should always expect an array as the right part. Having

^ [Bug #512] String#% behavior
18419 [redmine ruby] Issue #512 has been updated by Eero Saynatkari.

^ [Bug #528] Several ruby-mode.el improvements
18424 [redmine ruby] Bug #528: Several ruby-mode.el improvements

^ OpenStruct Patch
18426 [transfire gm] * lib/ostruct.rb ([]): add [] method.
+ 18427 [nex342 gmail] There's a typo in the rdoc for #new: "combine" should be "combined."
+ 18577 [transfire gm] Here is an updated patch. After some discussion on ruby-talk it was

^ [Bug #530] socket.c: TCPSocket registered with wrong arity
18428 [redmine ruby] Bug #530: socket.c: TCPSocket registered with wrong arity

^ [Bug #530] socket.c: TCPSocket registered with wrong arity
18429 [redmine ruby] Issue #530 has been updated by Yukihiro Matsumoto.

^ [Bug #531] XMLRPC with ISO8859-1 accentuation doesn't work.
18434 [redmine ruby] Bug #531: XMLRPC with ISO8859-1 accentuation doesn't work.

^ [Bug #531] XMLRPC with ISO8859-1 accentuation doesn't work.
18435 [redmine ruby] Issue #531 has been updated by James Gray.

^ [ANN] Ruby 1.9.1 feature freeze
18436 [yugui yugui.] As announced before, Ruby 1.9.1 features will be frozen on 25 September.
+ 18438 [rocky.bernst] Where do things stand with respect to the 1-byte trace instruction and
| 18439 [ko1 atdot.ne] As I mentioned at [ruby-core:17686] and other posts, 1.9.1 should
+ 18441 [admin hawtho] Matz,
| 18442 [dave pragpro] It's in HEAD right now
| 18443 [admin hawtho] Opps -- Sorry Dave, I didn't look at HEAD!
| 18452 [rogerpack200] [ANN] Ruby 1.9.1 feature freeze
| + 18455 [gethemant gm] This was a very wrong subject line to choose. :)
| | 18469 [charles.nutt] Definitely confused me!
| + 18471 [matz ruby-la] This is a proposal to add __file__ and __line__ methods to Method and
|   + 18474 [wilsonb gmai] RSpec currently uses eval("caller(0)", @a_proc_instance) to simulate
|   + 18487 [rogerpack200] Sorry for the original subject line being wrong--my attempt to post on
|   + 18490 [nobu ruby-la] I propose a new method, #location than those two new methods.
|     + 18491 [matz ruby-la] I like the idea.  How others think?
|     | + 18493 [transfire gm] Seems reasonable if __FILE__ and __LINE__ can't do the job.
|     | | 18519 [matz ruby-la] I like #source_location best.
|     | | 18528 [transfire gm] For lack of a better word.
|     | + 18496 [wilsonb gmai] This is a specialized feature. Having a specialized name appeals to
|     | + 18497 [rogerpack200] I think Trans' #source_location is nice.
|     | | 18501 [wilsonb gmai] I much prefer 'location', because it is something that every Ruby
|     | | + 18509 [charles.nutt] I would also hope any "location" methods added will refer only to static
|     | | + 18521 [rogerpack200] True.  I suppose my suggestion was a little bit MRI-centric after all :)
|     | |   + 18546 [pbrannan atd] irb(main):001:0> require 'internal/proc'
|     | |   + 18636 [roger.pack l] Thanks to Paul Brannan for his pointers.
|     | + 18498 [shortcutter ] Good! I'd like to suggest a name alternative though
|     |   18502 [vjoel path.b] Agree. It is convenient to use subclasses of Procs. Having such a
|     + 18763 [roger.pack l] Interestingly, there already was an rb_proc_location method in 1.9
|     | + 18875 [nobu ruby-la] Are you proposing the change of C functions names together?
|     | + 18970 [roger.pack l] Yeah I was thinking it would be less confusing to only have one
|     |   18978 [nobu ruby-la] Meanwhile, I added the methods without changing the function
|     |   18981 [roger.pack l] Thanks for adding those.  I see them in SVN now.
|     |   18984 [nobu ruby-la] Methods are #source_location, C functions are still
|     + 20708 [rogerpack200] Quite useful would also be
+ 18508 [charles.nutt] Is there a plan to gather a list of changes from Ruby 1.8.x at that
+ 18560 [m.fellinger ] I was wondering about the syntax change from 1.8 to 1.9 regarding the
| 18561 [mneumann nte] Are you sure this trailing "," is not the source of the syntax error?
| 18563 [hramrach cen] Disallowing that will also break stuff. And I will surely miss it. It
| 18564 [dblack rubyp] a = [1,2,3,4,]  # etc.
| 18566 [hramrach cen] Then it introduces a distinction between things that were previously
| 18569 [m.fellinger ] That's the point i was trying to make, it doesn't give us any benefits either.
+ 18667 [mame tsg.ne.] I'd like to confirm one thing; will the stardard libraries be also frozen?
| + 18672 [michael.s.kl] Next version of RubyGems, AFAIK, is gonna have some updates that reduce memory
| | 18713 [drbrain segm] RubyGems in 1.9 already uses very little memory (gem_prelude.rb).
| + 18714 [drbrain segm] I plan on making the deadline.
| | 18760 [mame tsg.ne.] Great!  I look forward to having it.
| + 18847 [yugui yugui.] The standard libraries will also be frozen.
|   + 18848 [mame tsg.ne.] Understand.  Thank you.
|   | 18886 [ryand-ruby z] yeah. sorry. I got bummed after proposing with approval then
|   | + 18889 [ko1 atdot.ne] That is one of the reasone why I proposed lazy message building.
|   | | + 18906 [dave pragpro] In this case, I agree with Ryan: assert_raises reads better.
|   | | | 18908 [ko1 atdot.ne] Don't break!!  test/unit (using mini/test) should be compatible IMO.
|   | | | + 18910 [dave pragpro] It already isn't compatible. Matz made that decision when allowing it
|   | | | | 18913 [jim.weirich ] Does it make sense to have require 'test/unit' be a test/unit
|   | | | | + 18914 [ko1 atdot.ne] +1
|   | | | | + 18915 [dave pragpro] A lot has been removed (the GUI, testsuites, and so on). I personally
|   | | | | | 18922 [jim.weirich ] Neither do I.  But on the overlapping feature set, requiring 'test/
|   | | | | + 18947 [ryand-ruby z] That is EXACTLY what test/unit.rb is and it has been like that and
|   | | | |   + 18949 [dave pragpro] Well, to be fair, it isn't really compatible.
|   | | | |   | 18950 [ryand-ruby z] where? I've done a lot to make sure that it is 100% compatible for
|   | | | |   | 18957 [dave pragpro] It complains about the deprecation of many of the Test::Unit tests,
|   | | | |   + 18952 [jim.weirich ] Sorry for the frustration.  I think I just realized you mean 100%
|   | | | + 19032 [ryand-ruby z] tu_deprecate :assert_raise,          :assert_raises         #
|   | | |   19036 [jim.weirich ] Are they deprecated in test/unit?  Or in mini/test?
|   | | |   19039 [ryand-ruby z] I think the main thing I've been learning from you and Dave is that
|   | | |   + 19042 [dave pragpro] I applaud your efforts here, and don't want you to feel in any way put
|   | | |   | 19195 [ryand-ruby z] I think it is a cultural problem. We don't have or even support a
|   | | |   | + 19202 [halostatue g] ent.
|   | | |   | | 19203 [pbrannan atd] I would look for either assert_not_equal or assertNotEqual, because
|   | | |   | | 19204 [pit.capitain] I'm one of the many non-native-english-speaking users of Ruby, and I
|   | | |   | | + 19205 [jimfreeze gm] So, currently we have
|   | | |   | | | 19206 [dblack rubyp] assert_equal(a,b)
|   | | |   | | | 19208 [jimfreeze gm] Uh, yeah. Thanks for  correcting my method arguments David.
|   | | |   | | + 19214 [radek.bulat ] T24gV2VkLCBPY3QgOCwgMjAwOCBhdCA0OjM4IFBNLCBQaXQgQ2FwaXRhaW4gPHBpdC5jYXBpdGFp
|   | | |   | |   19219 [transfire gm] For the obvious impaired there is
|   | | |   | |   19222 [charles.nutt] I like this idea!
|   | | |   | |   19223 [jimfreeze gm] Please no. This conflicts with the current meaning of ! being
|   | | |   | |   + 19224 [dooby d10.ka] I don't think you got the joke.
|   | | |   | |   | 19226 [jimfreeze gm] Oh, that Charlie is a sly one. :)
|   | | |   | |   + 19228 [dave pragpro] Mr Nutter was being reflexive: if ! means not, then "I like this
|   | | |   | + 19239 [duerst it.ao] I think this is true. Finding out what's dead weight is difficult,
|   | | |   + 19053 [jim.weirich ] Sorry, "masquerade" carried more of a pejorative connotation than I
|   | | |     19054 [drbrain segm] My experience with deprecating features from RubyGems leads me to
|   | | + 18933 [matz ruby-la] Basically, the method names in ruby use plain form if they are verbs.
|   | |   + 18977 [pbrannan atd] #assert_exception is what RUNIT uses (which we still use where I work).
|   | |   | 19034 [ryand-ruby z] *blink*
|   | |   + 19033 [ryand-ruby z] I don't think anyone has claimed that ruby is English or that in
|   | |     19044 [mame tsg.ne.] matz said: ``Basically, the method names in ruby use plain form if
|   | |     19166 [mame tsg.ne.] We seem to get a little time to discuss this.
|   | + 18893 [james graypr] I agree.  assert_raise() has always bothered me, grammar wise.
|   | + 18895 [dooby d10.ka] Respect for defending the English language, Ryan, but this is Ruby.
|   |   18948 [ryand-ruby z] We're talking about assertions in unit tests here. There is never a
|   |   19048 [meinrad.rech] it depends entirely how you imagine the "missing" words. one could also read
|   |   19049 [transfire gm] On Sep 30, 9:58=A0am, "Meinrad Recheis" <meinrad.rech...@gmail.com>
|   + 18849 [billk cts.co] Before it's too late, I wanted to plead for the possibility
|   + 18850 [duerst it.ao] I can understand that you want to move on, and delaying things
|   | 18855 [james graypr] Yeah, I would love to see more libraries get encoding savvy before
|   | 18857 [dave pragpro] Well, with features frozen, more effort can now go into internals.
|   + 18864 [drbrain segm] I will commit RubyGems and RDoc tonight (Pacific Time).
+ 19113 [naruse airem] How about reconsidering the feature freeze plan.
  + 19115 [dave pragpro] Ruby will always be changing. That's _why_ a freeze is needed... :)
  + 19116 [david davidf] I think that this would effectively make Ruby 1.9 back into an
    19117 [halostatue g] Is that necessarily a bad thing?
    19121 [dave pragpro] because there weren't many people using 1.9. Most of the
    + 19122 [halostatue g] I'm sympathetic to this, but I'm also sympathetic to the fact that
    | 19123 [dave pragpro] I know what you're saying. But I'm also seeing a process that =20
    + 19124 [transfire gm] =A0
threads.html
top