General

Profile

chucke (Tiago Cardoso)

  • Login: chucke
  • Registered on: 01/18/2016
  • Last sign in: 03/08/2026

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 9 35 44

Activity

05/12/2026

08:52 AM Ruby Misc #21956: DevMeeting-2026-05-13
* [Feature [#13677](https://bugs.ruby-lang.org/issues/13677)]: Add more details to error "Name or service not known (SocketError)"
* [Proposal PR](https://github.com/ruby/ruby/pull/16918) adding the host into the error message
* ...
chucke (Tiago Cardoso)

05/11/2026

09:12 AM Ruby Feature #13677: Add more details to error "Name or service not known (SocketError)"
PR to add this feature: https://github.com/ruby/ruby/pull/16918 . LMK what you think. chucke (Tiago Cardoso)

05/05/2026

05:25 AM Ruby Bug #22021: Array#delete_if may delete wrong object if array has been altered already
I get the point of avoiding mutating while iterating, but the point of `delete_if` is to mutate the array. there's nothing in its name hinting at it being based on the index, that's what `#delete_at` is for, so that's an implementation d... chucke (Tiago Cardoso)

05/04/2026

05:52 AM Ruby Bug #22021 (Rejected): Array#delete_if may delete wrong object if array has been altered already
The simplest example I can come up with:
```ruby
$ar = ar = [1, 2, 3, 4, 5]
def del(i)
$ar.delete(i)
end
ar.delete_if { |e| e == 2 ? (del(e) && true) : false }
p ar #=> [1, 4, 5], and it should be [1, 3, 4, 5]
```
chucke (Tiago Cardoso)

02/19/2026

02:43 PM Ruby Bug #21918 (Assigned): fiber scheduler: fiber interrupt triggers for IOs that haven't been closed
I've been chasing an issue, which I believe is to with the recent introduction of the `fiber_interrupt` hook in ruby 4. As a reproduction I have the following snippet:
```ruby
require "socket"
require_relative "test/fiber/scheduler"...
chucke (Tiago Cardoso)

11/27/2025

05:27 PM Ruby Misc #21689: DevMeeting-2025-12-11
* [Feature #21619] logger context API
* Blog post detailing motivation [here](https://honeyryderchuck.gitlab.io/2025/11/12/context-missing-api-in-logger.html)
* logger doesn't have a context API to enrich payload for structured log...
chucke (Tiago Cardoso)

09/30/2025

11:27 PM Ruby Feature #21619 (Open): logger: Context API
The logger gem is notoriously simple to use, but hard to extend.
One can only observe a few of the gems that added tags / json / logstash formatting support to see the same functionality reimplemented in "same but different" ways. For...
chucke (Tiago Cardoso)

09/25/2025

01:44 PM Ruby Feature #21617: Add Internationalized Domain Name (IDN) support to URI
Just adding my original public API suggestions, for visibility and further discussion by the core team.
I propose that `URI::Generic` supports punycode decoding OOTB by relying on the current behaviour of `URI::Generic#hostname`, whic...
chucke (Tiago Cardoso)

08/13/2025

03:40 PM Ruby Feature #21542 (Third Party's Issue): logger gem: Context API
Proposal done as a [github issue](https://github.com/ruby/logger/issues/131) with [WIP implementation](https://github.com/ruby/logger/pull/132) for discussion purposes. chucke (Tiago Cardoso)

08/11/2025

01:26 PM Ruby Bug #21538 (Closed): initialize_dup not called when duping class/module
Not sure whether this is expected behaviour or not, but just leaving it here to start the debate on whether callbacks like `initialize_dup` are supposed to be called when a module or class is duped (the same happens with `initialize_copy... chucke (Tiago Cardoso)

Also available in: Atom