General

Profile

chucke (Tiago Cardoso)

  • Login: chucke
  • Registered on: 01/18/2016
  • Last sign in: 03/28/2024

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 8 26 34

Activity

01/16/2024

08:17 PM Ruby master Bug #20185: String#ascii_only? buggy in ruby 3.3
Apologies everyone, got temporary redmine visual impairment. Thank you. chucke (Tiago Cardoso)
07:19 PM Ruby master Bug #20185: String#ascii_only? buggy in ruby 3.3
nobu, can I ask why was the ticket closed? Even considering the comment from andrykonchin, he clearly points oot at t... chucke (Tiago Cardoso)

01/14/2024

03:10 PM Ruby master Bug #20185 (Closed): String#ascii_only? buggy in ruby 3.3
This was the smallest reduction of the bug I could come up with:
require "stringio"
puts StringIO::VERS...
chucke (Tiago Cardoso)

01/10/2024

04:25 PM Ruby master Feature #20176: Array#pack: support offset kwarg
There's also `String#prepend`. Not sure if more efficient than `str.insert(0, ` (and if not, what was the argument fo... chucke (Tiago Cardoso)
12:46 PM Ruby master Feature #20176 (Open): Array#pack: support offset kwarg
I was changing some code to use ruby 3.3's new `buffer` kwarg (great addition btw!) when using `Array#pack`. There ar... chucke (Tiago Cardoso)

12/20/2023

06:39 PM Ruby master Feature #20049: Destructive drop_while for Array and Hash
for comparison, the original implementation can be found here: https://github.com/igrigorik/http-2/blob/master/lib/ht... chucke (Tiago Cardoso)
06:07 PM Ruby master Feature #20049: Destructive drop_while for Array and Hash
thx for the response matz!
The specific use case can be found here: https://gitlab.com/os85/http-2-next/-/blob/maste...
chucke (Tiago Cardoso)

12/12/2023

06:29 AM Ruby master Feature #20049: Destructive drop_while for Array and Hash
Started a PR in github: https://github.com/ruby/ruby/pull/9193 chucke (Tiago Cardoso)

12/08/2023

08:28 PM Ruby master Feature #20049: Destructive drop_while for Array and Hash
I'd say it returns self, or nil if no changes were made, just like other ! Methods of the kind.
chucke (Tiago Cardoso)

12/07/2023

05:25 PM Ruby master Feature #20049 (Feedback): Destructive drop_while for Array and Hash
I propose a "drop_while!" variant for arrays and hashes, which changes the current instance.
```ruby
h = {foo: 0,...
chucke (Tiago Cardoso)

Also available in: Atom