General

Profile

nathan.f77 (Nathan Broadbent)

Issues

Activity

12/03/2018

08:05 PM Ruby trunk Bug #15375 (Open): Crash report for Ruby 2.5.3p105
Hello, Ruby 2.5.3 just crashed with a segfault in my Sidekiq worker. This is on my Mac OS Mojave, and I am using the ... nathan.f77 (Nathan Broadbent)

07/16/2014

08:54 PM Ruby trunk Feature #10040: `%d` and `%t` shorthands for `Date.new(*args)` and `Time.new(*args)`
> Nathan, Date is only available in stdlib (maybe it should be moved to core) so I don't think those literals will wo... nathan.f77 (Nathan Broadbent)
06:09 AM Ruby trunk Feature #10040: `%d` and `%t` shorthands for `Date.new(*args)` and `Time.new(*args)`
Nobuyoshi Nakada wrote:
> I don't think there is possibilities to introduce `%d` and `%i`, especially using variable...
nathan.f77 (Nathan Broadbent)

07/15/2014

08:30 PM Ruby trunk Feature #10040 (Feedback): `%d` and `%t` shorthands for `Date.new(*args)` and `Time.new(*args)`
I'm working on a Ruby application where we have to deal with a lot of dates and times, especially in our test suite. ... nathan.f77 (Nathan Broadbent)

01/25/2013

03:53 AM Ruby trunk Feature #7739: Define Hash#| as Hash#reverse_merge in Rails
I would personally love a more concise way to merge/reverse_merge hashes. Would you also propose Hash#& as merge?
...
nathan.f77 (Nathan Broadbent)

11/20/2012

04:29 AM Ruby trunk Feature #7388: Object#embed
>
> I'd even say that `embed` is wrong.
>
> I would like to know of a good example of use case. I often succum...
nathan.f77 (Nathan Broadbent)

11/18/2012

11:55 AM Ruby trunk Feature #5478: import Set into core, add syntax
I really like `~[1, 2, 3]` as a shortcut for `Set.new([1, 2, 3])`:
```ruby
class Array
def ~@
Set.new sel...
nathan.f77 (Nathan Broadbent)

11/14/2012

04:53 AM Ruby trunk Feature #7341: Enumerable#associate
>
> 1) The form you suggest would be redundant with `Enumerable#to_h`
>

I agree that 'Enumerable#to_h' woul...
nathan.f77 (Nathan Broadbent)
04:23 AM Ruby trunk Feature #7346: object(...) as syntax sugar for object.call(...)
@rosenfeld, I'll just mention that you can use Proc#[] in your example:

double = -> n { n * 2 }

double[3] ...
nathan.f77 (Nathan Broadbent)

11/13/2012

08:29 AM Ruby trunk Feature #7341 (Open): Enumerable#associate
Jeremy Kemper proposed Enumerable#associate during the discussion in #7297, with the following details:
----------...
nathan.f77 (Nathan Broadbent)

Also available in: Atom