General

Profile

sawa (Tsuyoshi Sawada)

  • Login: sawa
  • Registered on: 04/27/2011
  • Last connection: 07/02/2020

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 71 102 173

Activity

06/27/2020

01:55 AM Ruby master Feature #16993: Sets: from hash keys using Hash#key_set
Would
```ruby
Set.new(h.each_key)
```
not work?
sawa (Tsuyoshi Sawada)

06/26/2020

06:01 AM Ruby master Feature #16985: Improve `pp` for `Hash` and `String`
shyouhei (Shyouhei Urabe) wrote in #note-4:
> There are lots of debatable points on String#inspect (for instance its ...
sawa (Tsuyoshi Sawada)

05/27/2020

04:59 AM Ruby master Feature #15771: Add `String#split` option to set `split_type string` with a single space separator
I have a particular use case. I was creating a file that describes UTF-8 characters, which included lines like this:
...
sawa (Tsuyoshi Sawada)
04:52 AM Ruby master Feature #15771: Add `String#split` option to set `split_type string` with a single space separator
Dan0042 (Daniel DeLorme) wrote in #note-10:
> That optimization is nice to have, but I think the point of this ticket...
sawa (Tsuyoshi Sawada)

05/15/2020

09:22 AM Ruby master Feature #16894: Integer division for Ruby 3
jzakiya (Jabari Zakiya) wrote in #note-7:
> Ruby already has ``a.div b`` for explicit integer division.
Thanks, I ha...
sawa (Tsuyoshi Sawada)
04:04 AM Ruby master Feature #16894: Integer division for Ruby 3
What would you do when you want integer division? Have you thought of it? ~~`(a / b).round`~~ `(a / b).floor`is not a... sawa (Tsuyoshi Sawada)
03:45 AM Ruby master Feature #16891: Restore Positional Argument to Keyword Conversion
Dan0042 (Daniel DeLorme) wrote in #note-1:
> ## Non-Symbol Keyword Argument
>
> Previously one could trust that `foo...
sawa (Tsuyoshi Sawada)

05/12/2020

12:23 AM Ruby master Feature #15771: Add `String#split` option to set `split_type string` with a single space separator
My guess is that, perhaps, even now, it is very rare to use a single space string argument with the expectation to ma... sawa (Tsuyoshi Sawada)

05/09/2020

05:57 PM Ruby master Bug #16843: A bug with floating point multiplication
as well in Ruby:
```ruby
"%f" % (0.29 * 100) # => "29.000000"
"%f" % (0.28 * 100) # => "28.000000"
"%f" % (0.27 * 10...
sawa (Tsuyoshi Sawada)
04:05 PM Ruby master Bug #16843: A bug with floating point multiplication
What is the bug? sawa (Tsuyoshi Sawada)

Also available in: Atom