General

Profile

chucke (Tiago Cardoso)

  • Registered on: 01/18/2016
  • Last connection: 03/21/2019

Issues

Activity

01/24/2019

12:21 PM Ruby master Feature #15549: Enumerable#to_reader (or anything enumerable, Enumerator, lazy enums, enum_for results)
I'm open for other names (#to_readable_stream perhaps?). Important is to acknowledge the validity of this use-case, a... chucke (Tiago Cardoso)

01/19/2019

03:38 PM Ruby master Feature #15549 (Open): Enumerable#to_reader (or anything enumerable, Enumerator, lazy enums, enum_for results)
This is a feature proposal for something I've had to implement before multiple times.
For a lot of IO-related APIs...
chucke (Tiago Cardoso)

11/03/2018

12:06 AM Ruby master Bug #15278 (Closed): Refinements don't work well with Forwardable
Refined methods become unreachable when called through def_delegator.
```ruby
require "forwardable"
module URI...
chucke (Tiago Cardoso)

03/17/2018

11:52 PM Ruby master Bug #14612 (Closed): IPv6 address inconsistency (downcase vs. upcase)
I've noticed that sometimes ip addresses re shown using a-f characters in downcase, other times upcase. Here is a sma... chucke (Tiago Cardoso)

10/22/2017

11:01 AM Ruby master Feature #2567: Net::HTTP does not handle encoding correctly
Bitten by this as well. I'd go the route proposed earlier:
1. By default, encode the body using the charset set in...
chucke (Tiago Cardoso)

10/15/2017

05:11 PM Ruby master Bug #14017: Hash.sort_by inconsistent between 2.2.6 and upper versions
got it, forgot to check the doc. Thx for clearing that up! chucke (Tiago Cardoso)
04:25 PM Ruby master Bug #14017 (Rejected): Hash.sort_by inconsistent between 2.2.6 and upper versions
The bug occurs when sorting by a numeric value and two different keys have similar values: It is very easily demonstr... chucke (Tiago Cardoso)

10/14/2017

11:28 PM Ruby master Bug #14016: URI IPv6 address can't be used to open socket
And more inconsistencies when trying to patch Net::HTTP's usage:
```ruby
# forcing here "::1" so that I can open ...
chucke (Tiago Cardoso)
11:15 PM Ruby master Bug #14016: URI IPv6 address can't be used to open socket
Another notable inconsistency (when compared with the second example above):
```ruby
uri.host = "::1" #=> URI::I...
chucke (Tiago Cardoso)
11:08 PM Ruby master Bug #14016: URI IPv6 address can't be used to open socket
I got the last one wrong:
```ruby
TCPSocket.new("[::1]", 9292) #=> getaddrinfo: nodename nor servname provided, ...
chucke (Tiago Cardoso)

Also available in: Atom