General

Profile

josh.cheek (Josh Cheek)

  • Login: josh.cheek
  • Email: josh.cheek@gmail.com
  • Registered on: 06/10/2011
  • Last connection: 02/16/2021

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 2 19 21

Activity

02/21/2021

05:34 PM Ruby master Bug #17649: `defined?` invokes method once for each syntactic element around it
The reason seems to be because the generated iseq doesn't cache the intermediate calculations:
```sh
$ ruby -e 'p...
josh.cheek (Josh Cheek)
04:13 PM Ruby master Bug #17649: `defined?` invokes method once for each syntactic element around it
I should have clarified my expectation: On the ones that call `defined?` I expected the number of calls to be 1 less ... josh.cheek (Josh Cheek)
03:51 AM Ruby master Bug #17649 (Open): `defined?` invokes method once for each syntactic element around it
Honestly, I was surprised `defined?` works with expressions at all. I wouldn't object to this feature being removed, ... josh.cheek (Josh Cheek)
03:26 AM Ruby master Bug #17619: if false foo=42; end creates a foo local variable set to nil
It's intentional. Eg what if you set the same variable in both branches? Then it would be clearer that you are expect... josh.cheek (Josh Cheek)

04/03/2020

08:44 PM Ruby master Bug #14413: `-n` and `-p` flags break when stdout is closed
For anyone curious, these are the examples I went with instead: https://twitter.com/josh_cheek/status/124617522621340... josh.cheek (Josh Cheek)
08:05 PM Ruby master Bug #14413: `-n` and `-p` flags break when stdout is closed
I saw flipflop was readded and was wanting to explain to people how to use it. I feel like if people knew how to use ... josh.cheek (Josh Cheek)

12/25/2019

06:12 PM Ruby master Bug #14918: Use Reline for fallback of ext/readline
aycabta (aycabta .) wrote:
> Ruby loses readline standard library when the system doesn't have libreadline during Ru...
josh.cheek (Josh Cheek)

08/18/2019

08:09 PM Ruby master Bug #16110 (Closed): Doesn't detect deadlock on Ruby 2.4 and 2.5 on Windows
The following code is detected as a deadlock, except in Ruby 2.4 and 2.5 on Windows:
``` sh
ruby -r thread -ve 'T...
josh.cheek (Josh Cheek)

07/05/2019

06:23 AM Ruby master Feature #15966: Introducing experimental features behind a flag, disabled by default
> This is how frozen string literal support was introduced to Ruby (in addition to the per-file magic comment).
Wh...
josh.cheek (Josh Cheek)

06/16/2019

08:11 AM Ruby master Feature #15799: pipeline operator
The operator doesn't bother me, though I can't think of any time I'd use it.
Several suggested alternatives seem t...
josh.cheek (Josh Cheek)

Also available in: Atom