General

Profile

jmthomas (Jason Thomas)

  • Login: jmthomas
  • Registered on: 02/19/2010
  • Last sign in: 10/24/2014

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 1 1 2

Activity

10/24/2014

09:24 PM Ruby Misc #10424 (Open): Error message when sorting NaN
When sorting an array of floats with a NaN you get a very confusing message:
irb(main):001:0> [0.0/0.0,1.0,2.0].sort
ArgumentError: comparison of Float with Float failed
Sorting a nil is much friendlier:
irb(main):012:0> [nil,1.0,2...
jmthomas (Jason Thomas)

11/02/2012

12:05 AM Ruby Bug #6401: Windows bug with File.pos
I can confirm this bug has been fixed in Ruby 1.9.3-p286. Thanks! jmthomas (Jason Thomas)

05/08/2012

01:02 PM Ruby Bug #6401: Windows bug with File.pos
Sounds like changes worth waiting for! I look forward to the next 1.9.3 patch release because my application requires this bug fix. Thanks again for your good work. jmthomas (Jason Thomas)
01:14 AM Ruby Bug #6401: Windows bug with File.pos
Is there some reason that the file reading got so messed up between 193p0 and now? Was there a refactor / rewrite of this fundamental operation? jmthomas (Jason Thomas)

05/05/2012

12:33 AM Ruby Bug #6401 (Closed): Windows bug with File.pos
On Windows since Ruby 1.9.3p125 there have been issues with File.pos and File.readline. Ruby 1.9.3p0 does not have this issue. I have created the following test:
def test_pos_with_readline
t = make_tempfile
random = Random...
jmthomas (Jason Thomas)

Also available in: Atom