General

Profile

ttilberg (Tim Tilberg)

  • Login: ttilberg
  • Registered on: 06/13/2019
  • Last sign in: 09/08/2025

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 1 2 3

Activity

09/08/2025

05:56 PM Ruby Bug #18487: Kernel#binding behaves differently depending on implementation language of items on the stack
I'm upgrading a project from Ruby 3.0 to Ruby 3.4, and I think I came across an unexpected bug related to this related to using `binding` from a `SimpleDelegator` child. Can someone help me confirm and organize?
Example reproduction s...
ttilberg (Tim Tilberg)

01/21/2023

12:48 AM Ruby Feature #19324: Enumerator.product => Enumerable#product
> I believe quite many people are in favor of Array.product and/or Array.zip.
I personally find this surprising! It goes against what I find to be some of Ruby’s best design philosophies against Python:
Instance method versions are mor...
ttilberg (Tim Tilberg)

12/29/2021

09:54 PM Ruby Bug #18447: Potential performance regression with String#lines in large strings
Thanks everyone! I wondered if it wasn't due to memory allocations, but the "build a massive string" operation was successful and quite fast. I looked through `rb_str_enumerate_lines` in the C source, and got lost rather quickly, aside f... ttilberg (Tim Tilberg)

12/28/2021

11:26 PM Ruby Bug #18447 (Closed): Potential performance regression with String#lines in large strings
I believe there may be a potential performance regression regarding `String#lines` worth noting between 3.0.3 and 3.1.0. This came about in [this discussion](https://www.reddit.com/r/ruby/comments/rpje0g/fast_to_way_to_parse_csv/hqadqsd/... ttilberg (Tim Tilberg)

10/29/2020

04:23 PM Ruby Feature #16670: Reverse order of `expression` in `pattern` for 1-line pattern matching while it's still experimental
There were notes in the recent dev meeting that affect this issue: https://github.com/ruby/dev-meeting-log/blob/master/DevelopersMeeting20201026Japan.md#feature-17260-promote-pattern-matching-to-official-feature-ktsj
`=>` is a new fea...
ttilberg (Tim Tilberg)

03/03/2020

03:14 PM Ruby Feature #16670 (Closed): Reverse order of `expression` in `pattern` for 1-line pattern matching while it's still experimental
Currently the 1-line syntax for pattern matching is:
```
# Usage: <expression> in <pattern>
expression = {
pattern: "Example"
}
expression in {pattern: something}
# something => "Example"
```
Is it technically possible...
ttilberg (Tim Tilberg)

02/17/2020

09:46 PM Ruby Feature #16637: Time#to_s and Date#to_s accept strftime format string
shevegen (Robert A. Heiler) wrote in #note-2:
> I am not sure if this is a good suggestion though, largely because .to_s already having a
> ...
I feel that this directly supports the proposal in that when you call `#to_s` on a `Time` or ...
ttilberg (Tim Tilberg)
04:43 PM Ruby Feature #16637: Time#to_s and Date#to_s accept strftime format string
[Gerald Bauer pointed out](https://www.reddit.com/r/ruby/comments/f4pcn5/dateformatter_gem_date_formatter_by_example/fhxkn8f/) that this concept already exists in Rails' ActiveSupport: https://github.com/rails/rails/blob/master/activesup... ttilberg (Tim Tilberg)
03:14 PM Ruby Feature #16637 (Open): Time#to_s and Date#to_s accept strftime format string
While terms like `strftime` and `strptime` are ubiqutous through the history of computer science, I feel that the terms are very dense. If you are not already in-the-know, they are gibberish. If you are in the know, they are still a bit ... ttilberg (Tim Tilberg)

07/03/2019

02:21 PM Ruby Misc #15723: Reconsider numbered parameters
I've been following this for a while, hopeful that it (or something quite similar) stays in. I've grown to appreciate thinking of the `@1` in a sense of "an instance var of this block", since `@1` can't exist in code today.
However, ...
ttilberg (Tim Tilberg)

Also available in: Atom