General

Profile

pragdave (Dave Thomas)

  • Login: pragdave
  • Email: dave@pragprog.com
  • Registered on: 06/16/2008
  • Last sign in: 11/02/2011

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 27 27

Projects

Project Roles Registered on
Ruby Alumni 03/13/2025

Activity

11/01/2011

11:11 PM Ruby Bug #5529: Bus error with Fibers on OSX Lion
Kenta Murata wrote:
> Dave Thomas wrote:
> ...
Of course. Sorry...
I have more information. I removed rvm totally from this machine and reinstalled both 1.9.2 and 1.9.3. Both versions now show this problem (previously 1.9.2 worked)...
pragdave (Dave Thomas)
01:26 PM Ruby Bug #5529: Bus error with Fibers on OSX Lion
Dave Thomas wrote:
> I've attached the rvm logs from the installation
Also, looking at your output—why is it writing cat/dog/cat/dog? Shouldn't it just be one 'cat' and one 'dog'?
Dave
pragdave (Dave Thomas)
01:18 PM Ruby Bug #5529: Bus error with Fibers on OSX Lion
I've attached the rvm logs from the installation pragdave (Dave Thomas)
01:24 AM Ruby Bug #5529 (Rejected): Bus error with Fibers on OSX Lion
=begin
The attached program crashes with the following trace:
dave[ruby3/Book 11:18:39] ruby /tmp/prog.rb
cat
dog
/tmp/prog.rb:2: [BUG] Bus Error
ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-darwin11.2.0]

-- Control...
pragdave (Dave Thomas)

11/25/2010

01:41 AM Ruby Feature #4085: Refinements and nested methods
=begin
module Quux
using FooExt

foo = Foo.new
foo.bar # => FooExt#bar
foo.baz # => Foo#bar
end

This behavior makes me nervous—I can see arguments for it, but at the same time I can see in leading ...
pragdave (Dave Thomas)

09/18/2010

07:51 AM Ruby Bug #3849 (Closed): Add back documentation for [IO|Kernel].select
=begin
The documentation for select() seems to have been removed. The attached patch adds it back.


Dave
=end
pragdave (Dave Thomas)

09/17/2010

07:39 AM Ruby Bug #3843 (Closed): ruby -r tracer prog.rb no longer tracers prog.rb
=begin
The problem appears to be at the end of tracer.rb:



if $0 == __FILE__
# direct call

$0 = ARGV[0]
ARGV.shift
Tracer.on
require $0
elsif caller.size <= 1
Tracer.on
end

IN 1.9.2, caller...
pragdave (Dave Thomas)

08/29/2010

10:37 PM Ruby Bug #3760 (Closed): help "String.new" (for example) no longer works in irb
=begin
ruby-1.9.2-p0 > help "String.new"
NoMethodError: undefined method `get_info_for' for #<RDoc::RI::Driver:0x000001009d9c38>
from /Users/dave/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/irb/cmd/help.rb:29:in `block in execute'
...
pragdave (Dave Thomas)

01/18/2009

01:06 AM Ruby Bug #1019: irb/xmp fails because StringInputMethod doesn't support #encoding
=begin

On Jan 17, 2009, at 3:05 AM, Yuki Sonoda wrote:

> Issue #1019 has been updated by Yuki Sonoda.
>
> Status changed from Open to Closed
> % Done changed from 0 to 100
>
> Applied in changeset r21625.
> ------------------...
pragdave (Dave Thomas)

01/17/2009

06:06 AM Ruby Bug #1020 (Closed): Matrix#rank loops in some circumstances
=begin
$ ruby -v -r matrix -e 'p Matrix[ [1,2,3], [4,5,6], [7,8,9] ].rank'
ruby 1.9.1p5000 (2009-01-16 trunk 21610) [i386-darwin9.6.0]
<< loops... >>

The answer should be 2.
=end
pragdave (Dave Thomas)

Also available in: Atom