Ivan Smirnov
Ivan Smirnov
Unless I'm missing something, there's no way to check e.g. that an int literal is unsuffixed, currently?.. (because `IntSuffix` and `FloatSuffix` are not re-exported and `literal` module is private).
Wonder if it's possible in theory (scratched my head at it for a bit but couldn't quite figure all the details), to have something like: ```rust const S: ArrayString =...
Just convenience helpers, similar to the standard library's `HashMap` etc - useful when e.g. checking that a certain key is present or not.
Just a quick idea, this would be nice for those cases when you have to generate an error `"expected a list, got {}"` (and maybe a few other similar cases)...
https://github.com/phoboslab/qoi/issues/38 and implementation in https://github.com/phoboslab/qoi/pull/41
In corporate environments it's a common practice to have a proxy that mangles ssl certificates, so we have to ignore certificate verification in pip, curl, wget, git, etc. ``` sh...
I was playing around the optimizer a bit and noticed one thing: looking at how it picks new points to test, it's now done completely at random: https://github.com/davisking/dlib/blob/e558318c9a23c4897191c8089e34570dbe3d84ad/dlib/global_optimization/global_function_search.cpp#L801 However, in...
There are certain pieces of code in some libraries, linters and static analyzers that check things like ``` python if isinstance(attr, property): do_something() ``` This is especially important for use...
Here's a thought, something that happens often in practice: you're deserializing something that looks like ```json {"flags": ["foo", "baz"]} ``` into your own bitflags format which looks like ```rust enum...
When trying to run tests via `generator/run-tests.sh` (is it outdated?): ``` $ ./run-tests.sh make: Nothing to be done for `all'. sh: test.nail: No such file or directory Syntax error in...