jfs

Results 13 comments of jfs

> Would you like to send a PR? No, please, use the snippet anyway you like.

`ripgrep` is more the alternative for `grep` (as the name suggests).

Perhaps, a boolean parameter `posix_style` that will default to `False` eventually could be introduced. Related: [Timezone offset sign reversed by Python `dateutil`?](http://stackoverflow.com/q/31078749/4279).

The "glibc not found" issue is present on Ubuntu 24.04 and snap emacs 31 with packages: ``` jupyter-20240716.2028 zmq-20240716.2000 ``` As a workaround zmq can be turned off: ```emacs-lisp (setq...

@anernest , to workaround: ``` ModuleNotFoundError: No module named 'jupyter_client' ``` try, `pip install jupyter` first. It is mentioned in the `install_requires` but it is unavailable during `pip install` (on...

To modify `~/.ssh/known_hosts` file (to save the keys permanently) in addition to `AutoAddPolicy()`, use `client.load_host_keys(os.path.expanduser('~/.ssh/known_hosts'))`. Note: `AutoAddPolicy()` opens you to the MITM attack. See [Paramiko: Add host_key to known_hosts permanently](https://stackoverflow.com/questions/39523216/paramiko-add-host-key-to-known-hosts-permanently).

Could arbitrary `pytest` options be accepted e.g. like so: `maelstrom-pytest [maelstrom-options] -- [pass-through-pytest-options]` There are pytest plugins that introduce their own options e.g., [`pytest-reserial`](https://pypi.org/project/pytest-reserial/) introduces `--record`, `--replay`: ```shell maelstrom-pytest --...

As a workaround `PYTEST_ADDOPTS` envvar could be used to pass through arbitrary pytests' options: ```shell PYTEST_ADDOPTS= maelstrom-pytest ``` It requires updating `maelstrom-pytest.toml` e.g.: ```toml added_environment = { PYTEST_ADDOPTS = "$env{PYTEST_ADDOPTS}"...

Here's an example how `shellcheck` binary is made from PyPI https://github.com/shellcheck-py/shellcheck-py/blob/6de2be1a1186ab173d8d1558ffc9929a8e65d10c/setup.cfg#L21

`match await unify(coro2)(coro1(c)):` passes the type check. The issue is resolved. It would be perfect for my use-case if the type checking worked with lambdas. For now, it is a...