General

Profile

matsuda (Akira Matsuda)

  • Email: ronnie@dio.jp
  • Registered on: 07/25/2008
  • Last connection: 09/04/2019

Issues

Projects

Activity

08/20/2019

01:08 PM Ruby master Revision 95570692 (git): Avoid creating Hash objects per each mon_synchronize call (#2393)
matsuda (Akira Matsuda)

07/15/2019

07:53 AM Ruby master Feature #16005: A variation of Time.iso8601 that can parse yyyy-MM-dd HH:mm:ss
> I would be OK with modifying Time.iso8601 to make either T or space a valid date/time separator.
In fact this wa...
matsuda (Akira Matsuda)
07:45 AM Ruby master Feature #16005: A variation of Time.iso8601 that can parse yyyy-MM-dd HH:mm:ss
> This seems backwards. Timezone 'Z' denotes UTC, see e.g. https://www.timeanddate.com/time/zones/z.
Indeed. My mi...
matsuda (Akira Matsuda)
06:07 AM Ruby master Feature #16005: A variation of Time.iso8601 that can parse yyyy-MM-dd HH:mm:ss
How about respecting local timezone with `Z`, and doing the UTC without `Z`? matsuda (Akira Matsuda)
05:21 AM Ruby master Feature #16005 (Open): A variation of Time.iso8601 that can parse yyyy-MM-dd HH:mm:ss
Let me propose a String to Time conversion method that can parse "yyyy-MM-dd HH:mm:ss" format, which is very much sim... matsuda (Akira Matsuda)

05/24/2019

11:02 PM Ruby master Bug #15875: const_defined? behavior inconsistency in 2.6.x series
### Side Note #1
`const_get()` could get this constant for all released versions, but has been intentionally chang...
matsuda (Akira Matsuda)
10:59 PM Ruby master Bug #15875 (Closed): const_defined? behavior inconsistency in 2.6.x series
`Module#const_defined?` returns true for unreachable nested fully qualified module name.
Here are the results of `co...
matsuda (Akira Matsuda)

03/01/2018

01:15 AM Ruby master Bug #14562 (Closed): Do not warn for assignment in conditionals inside ()
Ruby warns against this code, which is very helpful.
```
% ruby -we 'if a=1; p a; end'
-e:1: warning: found = in...
matsuda (Akira Matsuda)

12/04/2017

08:50 AM Ruby master Feature #14141: Add a method to Exception for retrieving formatted exception for logging purpose (Exception#{formatted,display})
> I'm not sure this name is proper, suggestions appreciated
How about "to_formatted_s"?
Active Support has this m...
matsuda (Akira Matsuda)

10/17/2017

12:16 AM Ruby master Bug #13872: Duplicate assignment no longer silences "assigned but unused variable" warning
Yes, in my understanding that is exactly the case we use this idiom for, usually when the contents of ERB is user-giv... matsuda (Akira Matsuda)

Also available in: Atom