General

Profile

Dan0042 (Daniel DeLorme)

  • Login: Dan0042
  • Registered on: 06/09/2016
  • Last sign in: 12/16/2024

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 17 24 41

Like

Activity

12/19/2024

03:22 PM Ruby master Feature #20205: Enable `frozen_string_literal` by default
I watched [this Ruby Core Developers Q&A video](https://www.rubyvideo.dev/talks/ruby-core-developers-q-a) recently, a... Dan0042 (Daniel DeLorme)

12/18/2024

05:28 PM Ruby master Feature #20885: String#gsub?
Ah, you mean it doesn't return strictly true/false? That's a good point, although there are precedents like `Numeric#... Dan0042 (Daniel DeLorme)

12/16/2024

09:21 PM Ruby master Feature #6648: Provide a standard API for retrieving all command-line flags passed to Ruby
deivid (David Rodríguez) wrote in #note-50:
> What if "user code" changed to a different directory before we restart...
Dan0042 (Daniel DeLorme)
07:41 PM Ruby master Feature #6648: Provide a standard API for retrieving all command-line flags passed to Ruby
deivid (David Rodríguez) wrote in #note-48:
> In the case of Bundler, we would use this feature when we detect that ...
Dan0042 (Daniel DeLorme)

12/14/2024

11:39 PM Ruby master Feature #6648: Provide a standard API for retrieving all command-line flags passed to Ruby
I'm in favor of not storing `-C` in ruby_args. In general, `-C` is mutually exclusive with the program doing its own ... Dan0042 (Daniel DeLorme)

12/12/2024

09:02 PM Ruby master Feature #20875: Atomic initialization for Ractor local storage
"store_if_absent" is fairly verbose; I should point out that "add" is a common name for this operation. For example t... Dan0042 (Daniel DeLorme)

12/07/2024

05:34 AM Ruby master Feature #18930: Officially deprecate class variables
I'm still against deprecating, either soft or hard, but I believe the errors could be improved.
```ruby
class A
de...
Dan0042 (Daniel DeLorme)

12/06/2024

02:27 PM Ruby master Bug #20920: When loading a file, __FILE__ gets relative paths expanded only when they start with "./"
It's interesting that this highlights the only case where `load` searches in a different path than `require`
if p...
Dan0042 (Daniel DeLorme)

12/04/2024

04:09 PM Ruby master Feature #20875: Atomic initialization for Ractor local storage
ko1 (Koichi Sasada) wrote in #note-7:
> On `x[y()] ||= z()`, `z()` can change the context and it violates atomicity....
Dan0042 (Daniel DeLorme)

12/02/2024

04:15 PM Ruby master Feature #20875: Atomic initialization for Ractor local storage
Would it be possible to make `Ractor[:mtx] ||= Mutex.new` behave in an atomic way? Like maybe add a special `[]||=` ... Dan0042 (Daniel DeLorme)

Also available in: Atom