Justin Su

Results 199 comments of Justin Su

> The first one does **not** drop out of less on Ctrl + C (in the same way `q` exits less), the second does. > > Specifically though, it exits...

When I run: ```sh $ echo foo | less -RK $ echo foo | less -R ``` ctrlc exits less in the first command, but not the second.

> So I don't know if this is the best solution but it's a solution? What are your thoughts [@injust](https://github.com/injust) is this an unsatisfying answer? I'd imagine you want to...

I'm not sure if this is a clap _issue_ tbh. It's pretty conventional to represent required parts of a command with ``. I suspect I haven't seen this happen in...

I also came across https://github.com/sharkdp/bat/issues/1726, which has relevant discussion about the `bat cache` command being problematic.

@R-Bose See https://github.com/junegunn/fzf/issues/4549: You need to use `--theme=auto:system` because bat's output is being redirected.

Ugh this means that means using `--theme-{light,dark}` with bat+fzf only works on macOS, since `--theme=auto:system` only works on macOS.

> Stubs contain both pyi and py files in order for generated types to be available in user code. The types should only be used by type checkers (i.e. not...

By definition, stubs are .pyi files (e.g. see https://peps.python.org/pep-0561/#definition-of-terms). And when stubs provide types that don't actually exist at runtime, they should be annotated with `@typing.type_check_only` (see https://typing.python.org/en/latest/guides/writing_stubs.html#stub-only-objects). That way,...

> I recommend using types-boto3, but only because of better naming. It follows the same pattern as types-aiobotocore and types-aioboto3. > > `bototocore-stubs` could also be renamed. But packages are...