General

Profile

backus (John Backus)

  • Login: backus
  • Registered on: 12/16/2015
  • Last sign in: 04/03/2019

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 4 4

Activity

07/24/2017

12:29 AM Ruby Bug #13762 (Rejected): Change in `#==` in Ruby 2.4?
Given this code:
```ruby
# frozen_string_literal: true
class MyProxy < BasicObject
def initialize(target)
@target = target
end
undef_method :==
def method_missing(method_name, *args, &block)
if target_res...
backus (John Backus)
12:26 AM Ruby Feature #13683: Add strict Enumerable#single
+1 to this proposal!! I have a `Util.one(...)` method in a half dozen or more projects. IMO `#one` is a nicer name than `#single`.
[ROM](https://github.com/rom-rb/rom/blob/6016d323ca0a2aa38167e84a4eb2da0384e75b13/core/lib/rom/relation...
backus (John Backus)

05/12/2017

07:54 AM Ruby Bug #10290: segfault when calling a lambda recursively after rescuing SystemStackError
nobu (Nobuyoshi Nakada) wrote:
> On macOS, `--with-setjmp-type=setjmp` configuration option may fix it.
This does fix the issue on macOS for me, thank you. Maybe this should be the macOS default?
backus (John Backus)

05/11/2017

05:47 AM Ruby Bug #10290: segfault when calling a lambda recursively after rescuing SystemStackError
ping nobu backus (John Backus)

03/27/2017

05:49 AM Ruby Bug #13369 (Closed): TracePoint gives incorrect `return_value` after rescuing error when using `return`
In the following example
```ruby
class Foo
MyError = Class.new(StandardError)
def example1
norf
rescue MyError => error
2
end
def example2
norf
rescue MyError => error
return 2
end
de...
backus (John Backus)

12/15/2016

10:05 PM Ruby Feature #6647: Exceptions raised in threads should be logged
Shyouhei Urabe wrote:
> We looked at this issue at developer meeting today and John's proposal sounded reasonable. So there quite are possibilities to accept it I think.
Fantastic! Any chance this will make it into the 2.4 release?
backus (John Backus)

09/22/2016

07:24 AM Ruby Bug #10290: segfault when calling a lambda recursively after rescuing SystemStackError
Nobuyoshi Nakada wrote:
> It causes `SystemStackError` as expected, with ruby 2.3.
No it definitely segfaults for me:
~~~ text
$ cat ex.rb
l = -> { l.() }
begin
l.()
rescue SystemStackError
l.() # segfault
end
$ whic...
backus (John Backus)

09/19/2016

07:48 AM Ruby Bug #10290: segfault when calling a lambda recursively after rescuing SystemStackError
Any update on this issue? I ran into this bug yesterday and spent hours investigating the source of the segfault. Here is the code that caused the issue for me:
```ruby
def foo
define_singleton_method(:method_missing) { |...
backus (John Backus)

07/22/2016

08:22 PM Ruby Bug #12285: Date.iso8601 does not properly handle partial date strings
Victor Shepelev wrote:
> > Date is not maintained now. We can not answer your concern.
> ...
I'm interested in the answer for this too. What exactly does "`Date` is not maintained" mean? Is there something in the documentation that con...
backus (John Backus)

07/21/2016

12:06 AM Ruby Bug #12285: Date.iso8601 does not properly handle partial date strings
Could anyone tell me who to talk to find out if this issue is a WONTFIX? I have only reported a few things on this bug tracker so far so I'm not sure who to ping on an issue if it seems to be overlooked. backus (John Backus)

Also available in: Atom