Results 102 issues of Jan Holthuis

In the long run, it would be nice if we could have some diagnostics for the `Unknown` case. This would help catch edge cases of values we don't know. We...

Related issue on the crate-digger repo: Deep-Symmetry/crate-digger#22

Sometimes, we know the exact byte size of a section (especially in `anlz.rs`). In those cases, it should be check if that exact size is actually parsed (not more or...

Sometimes, `Result::unwrap` is used, which may panic if the result is an error. Instead, proper error handling should be implemented.

I created an AUR packagei for easy installation on Arch Linux: https://aur.archlinux.org/packages/steamvr-openhmd-git/ In the process, I noticed that the installation process could use some improvement. `make install` does not work...

Before: \section{foo}\label{sec:foo} After reformatting: \section{foo} \label{sec:foo} Although it looks nicer, this actually introduces a bug. Because the newline is treated as a space, it's possible that the space does not...

This PR introduces a configuration for the [pre-commit framework](https://pre-commit.com/) to establish a linter setup that is used both on CI and on the dev's machine when comitting changes. This also...

The [docstring](https://github.com/gvalkov/python-evdev/blob/15007c4ac7a125af6c51fa2d7cfe01491b4d8110/evdev/device.py#L287-L288) of the `InputDevice.read()` method says: > Raises `BlockingIOError` if there are no available events at the moment. [`BlockingIOError`](https://docs.python.org/3/library/exceptions.html#BlockingIOError) has become a built-in exception in Python 3. What does...

I noticed that some parts of the code don't pass your linter checks. This is common for projects with only one main developer where you sometimes push directly instead of...

This might work for very simple metadata, like: ``` title: Foo bar date: 2020-01-01 10:00:00 This is text ``` If the metadata delimiters are not found and the option is...