[#24105] [Bug #1711] Marshal Failing to Round-Trip Certain Recurisve Data Structures — Run Paint Run Run <redmine@...>
Bug #1711: Marshal Failing to Round-Trip Certain Recurisve Data Structures
[#24116] [Bug #1715] Numeric#arg for NaN is Inconsistent Across Versions — Run Paint Run Run <redmine@...>
Bug #1715: Numeric#arg for NaN is Inconsistent Across Versions
[#24120] [Bug #1717] Thread local variables not visible from within a Fiber — Muhammad Ali <redmine@...>
Bug #1717: Thread local variables not visible from within a Fiber
Hi,
[#24145] [Bug #1728] gem installed binaries don't honor program-suffix — Christian Höltje <redmine@...>
Bug #1728: gem installed binaries don't honor program-suffix
[#24152] [Bug #1732] Inconsistency in Transference of Inherited Traits ('Tainted' and 'Untrusted') with #join — Run Paint Run Run <redmine@...>
Bug #1732: Inconsistency in Transference of Inherited Traits ('Tainted' and 'Untrusted') with #join
[#24153] [Bug #1733] require does not look at current directory anymore ? — Chauk-Mean Proum <redmine@...>
Bug #1733: require does not look at current directory anymore ?
[#24188] [Bug #1740] ruby regexp 100% usage cpu. — paranormal dev <redmine@...>
Bug #1740: ruby regexp 100% usage cpu.
[#24211] [Backport #1744] Error with Marshal dump/load on a delegated class. — Guillaume Delugré <redmine@...>
Backport #1744: Error with Marshal dump/load on a delegated class.
[#24215] Performance issue with Prime class under Ruby 1.8.6 in Windows — Srdjan Pejic <spejic@...>
Hello all,
> I approached this problem a few different ways: my own solution, a Ruby
> So you're suggesting that the Prime class be optimized is that right?
[#24221] [Bug #1747] Immediate Values Can be Frozen — Run Paint Run Run <redmine@...>
Bug #1747: Immediate Values Can be Frozen
[#24229] threaded gc for the sweep phase? — Roger Pack <rogerdpack@...>
Typically for me the GC spends about 50% of its time in mark phase,
[#24240] [Bug #1755] IO#reopen Doesn't Fully Associate with Given Stream on 1.9; Ignores pos on 1.8 — Run Paint Run Run <redmine@...>
Bug #1755: IO#reopen Doesn't Fully Associate with Given Stream on 1.9; Ignores pos on 1.8
[#24271] [Bug #1765] rdoc runs out of memory on Windows XP with 4GB RAM — Björn Günzel <redmine@...>
Bug #1765: rdoc runs out of memory on Windows XP with 4GB RAM
[#24307] is this expected? — Roger Pack <rogerdpack@...>
currently:
[#24311] [RCR] allow for cleaner multi-line comments — Roger Pack <rogerdpack@...>
Forgive the radicalness of this idea.
Hi,
> Comment is for comment, not to keep unused code.
[#24322] [Bug #1775] autoconf failing on cygwin — Martin Dürst <redmine@...>
Bug #1775: autoconf failing on cygwin
> On a pristine anonymous svn checkout of trunk head, I'm not able to run autoconf successfully. The error message I'm getting is as follows:
On 2009/07/14 22:23, Roger Pack wrote:
[#24326] [Bug #1777] <main>:330: [BUG] Segmentation fault — Alexandre Quintela <redmine@...>
Bug #1777: <main>:330: [BUG] Segmentation fault
[#24387] __DIR__ follow up [RCR] — Roger Pack <rogerdpack@...>
__DIR__ would be a nice constant.
[#24390] [Feature #1784] More encoding (Big5 series) support? — Lin Jen-Shin <redmine@...>
Feature #1784: More encoding (Big5 series) support?
[#24395] [Bug #1785] ObjectSpace::define_finalizer on Fixnum segfaults with recent ruby — Pascal Terjan <redmine@...>
Bug #1785: ObjectSpace::define_finalizer on Fixnum segfaults with recent ruby
[#24406] [RCR] println or sprint — Roger Pack <rogerdpack@...>
Currently there is no built in utility for printing variable number of
[#24421] lvar_propagate — Yehuda Katz <wycats@...>
Matz,
[#24425] [Bug #1786] unexpected #inspect behaviour — Andy Bogdanov <redmine@...>
Bug #1786: unexpected #inspect behaviour
[#24443] Hash[[1,2]] => {} ?? — "David A. Black" <dblack@...>
Hi --
[#24451] [Bug #1793] eventmachine-0.12.8-x86-mswin32-60 BUG — Jaume Arús Sangenís <redmine@...>
Bug #1793: eventmachine-0.12.8-x86-mswin32-60 BUG
[#24455] [Backport #1795] Provide SMTP STARTTLS support — Roger Pack <redmine@...>
Backport #1795: Provide SMTP STARTTLS support
[#24463] [Bug #1797] trace instruction not generated by compiler — Mark Moseley <redmine@...>
Bug #1797: trace instruction not generated by compiler
[#24467] Re: [ruby-cvs:31226] Ruby:r24008 (ruby_1_8_6): Removed private on to_date and to_datetime. — Urabe Shyouhei <shyouhei@...>
Hello.
On Tue, Jul 21, 2009 at 3:14 AM, Urabe Shyouhei<shyouhei@ruby-lang.org> wro=
Kirk Haines wrote:
[#24472] [Feature #1800] rubygems can replace system executable files — Kazuhiro NISHIYAMA <redmine@...>
Feature #1800: rubygems can replace system executable files
Issue #1800 has been updated by Yusuke Endoh.
[#24476] [Bug #1801] parse error on variable/method collision — caleb clausen <redmine@...>
Bug #1801: parse error on variable/method collision
Hi,
[#24485] require_relative for 1.8.x possible? — Roger Pack <rogerdpack@...>
Any chance of a backport for require_relative to 1.8.x?
On Tue, Jul 21, 2009 at 12:53 PM, Roger Pack<rogerdpack@gmail.com> wrote:
> You could use the "require_all" gem, which provides 'require_rel'.
[#24488] Ruby 1.9.2: No longer possible to use send to call protected methods — Philip Ross <phil.ross@...>
With Ruby 1.9.2-preview1, it is no longer possible to use send to call
[#24502] [Bug #1805] UDPSocket#recvfrom hangs — Daniel Berger <redmine@...>
Bug #1805: UDPSocket#recvfrom hangs
[#24520] Proposal: savepoints — Yehuda Katz <wycats@...>
Matz,
[#24525] request: backport unique requires to 1.8.x — Roger Pack <rogerdpack@...>
Background:
I'd like to see all require features backported (including require_relative)
On Fri, Jul 24, 2009 at 5:50 AM, Yehuda Katz<wycats@gmail.com> wrote:
On Fri, Jul 24, 2009 at 10:56 AM, Kirk Haines<wyhaines@gmail.com> wrote:
On Sat, Jul 25, 2009 at 2:34 AM, Luis Lavena<luislavena@gmail.com> wrote:
[#24530] [Feature #1811] Default BasicSocket.do_not_reverse_lookup to true — Roger Pack <redmine@...>
Feature #1811: Default BasicSocket.do_not_reverse_lookup to true
Issue #1811 has been updated by Daniel Berger.
[#24568] Proposal: match? with no backrefs — Yehuda Katz <wycats@...>
I was doing some work today to optimize the allocation in certain parts of
Yehuda Katz wrote:
In both of those cases, $1 is set. I'm looking for a way to check if a
[#24571] Request: add better information to website download page. — Luis Lavena <luislavena@...>
Hello,
On Jul 27, 2009, at 2:32 AM, Luis Lavena wrote:
On Mon, Jul 27, 2009 at 3:21 PM, James Gray<james@grayproductions.net> wrot=
[#24580] [Bug #1822] WEBrick::HTTPServlet::AbstractServlet#do_OPTIONS raises an exception — Aaron Patterson <redmine@...>
Bug #1822: WEBrick::HTTPServlet::AbstractServlet#do_OPTIONS raises an exception
[#24593] [Feature #1831] Suggestion: warn on repeated character in character class — Brian Candler <redmine@...>
Feature #1831: Suggestion: warn on repeated character in character class
[#24594] [Feature #1832] irb -w — Brian Candler <redmine@...>
Feature #1832: irb -w
[#24601] [Bug #1834] 1.9.2-dev fails to compile socket with IPv6 and MinGW 3.4.5 — Luis Lavena <redmine@...>
Bug #1834: 1.9.2-dev fails to compile socket with IPv6 and MinGW 3.4.5
[#24621] [Bug #1843] Symbol#inspect raises exception — Brian Candler <redmine@...>
Bug #1843: Symbol#inspect raises exception
[#24624] [Bug #1844] Immediates Should Not Respond to :dup — Run Paint Run Run <redmine@...>
Bug #1844: Immediates Should Not Respond to :dup
Issue #1844 has been updated by Shyouhei Urabe.
[#24644] [Bug #1849] Failed to compile ruby 1.9.1-p129 with MinGW 4.4.0 — Mario Ray Mahardhika <redmine@...>
Bug #1849: Failed to compile ruby 1.9.1-p129 with MinGW 4.4.0
[ruby-core:24193] Re: [Bug #1715] Numeric#arg for NaN is Inconsistent Across Versions
On 7/5/2009 12:28 PM, tadayoshi funaba wrote: >>> If we want to be precise in the Unknown, maybe both versions should give >>> NaN for 0.arg and 0.0.arg (and Complex zero) as well? > > no. > >> but returns: >> Complex(NaN,NaN) > > i hope not. What is it that you don’t hope? That Complex.polar(0.0,0/0.0) returns Complex(NaN,NaN), or that I think that this is wrong? > complex try to preserve flonum status. Which is completely nonsense. Since there is no _correct_ positive flonum status for +0.0 (as it is mixed with precise 0), there is really little use in -0.0, and it should not be used as an entry point for further calculations. Zero is zero and never the approximation, even if floats allow that as a result of a calculation to give a hint in very special situations. > Complex(-0.0, 0.0).polar #=> [0.0, 3.141592653589793] > Complex(0.0, -0.0).polar #=> [0.0, -0.0] > Complex(-0.0, -0.0).polar #=> [0.0, -3.141592653589793] That’s completely senseless: If you say Complex(-0.0, -0.0), you approach zero very explicitly from -135 degrees, why should it be -180 degrees then? Assuming approaching behavior for -0.0 and 0.0, all argument values would have to be something like PI/4 +- n*PI/2, so zero-length arrows in +-45 degrees and +-135 degrees then. > Complex.polar(0.0, 3.141592653589793) #=> (-0.0+0.0i) > Complex.polar(0.0, -0.0) #=> (0.0-0.0i) > Complex.polar(0.0, -3.141592653589793) #=> (-0.0-0.0i) The problem with this useless precision in the approaching range around zero is that you _have_ to make Complex.polar(0.0, 0/0.0) equal to Complex(NaN, NaN), just because you cannot decide between -0.0 and +0.0, especially their various combinations in the complex layer! Really senseless, sorry, it should be zero as it is, and zero is 0.0 (vice versa). Just to repeat myself: The difference between +0 and -0 is very esoteric and incompletely implemented in IEEE 754, as there is no explicit precise 0 if you want to use 0.0 as +0.0 and -0.0 as its negative. The use of -0 is not advised in general calculation but in very special situations, especially hard to apply to the complex numbers. In fact, whenever 0.0 is used, instead of assuming it to mean +0.0, it is precisely zero, except for the cases specified in IEEE 754 to get positive or negative Infinity. Clearly, the argument of 0 is NaN, and polar should equally know how to handle NaN arguments for a 0.0 distance. Similarly, if you invert 0.0, you should get NaN because you cannot decide between +Infinity or -Infinity. In addition to the missing precise zero (Q: is it missing at all?), IEEE 754 should define a unknown Infinity, something that could be either positive or negative. > anyway, complex respects flonum's rules. For no practical reason except underflow and infinity handling which are special cases anyway. Other examples where standard formulae don’t help much: a=Complex(1/0.0,3) b=Complex(1/0.0,-5) p a*a # => Complex(Infinity, Infinity), expected: Complex(Infinity, 0.0) p a*b # => Complex(Infinity, NaN), expected: Complex(Infinity, 0.0) p a/b # => Complex(NaN, NaN), expected: Complex(NaN, 0.0) here, you will see that the imaginary part approaches zero quicker than the real part, so while the latter two examples are at least covered in the result given by ruby, the first is clearly wrong. – Matthias