congusbongus

Results 241 issues of congusbongus

In tinydir_open_sorted, a first pass is used to count the number of files, then a second pass actually reads the file info. In between the two passes, tinydir closes and...

enhancement

![image](https://user-images.githubusercontent.com/1083215/156327671-5de904bd-2c7e-4194-a8c0-0713ff2852a8.png) bunnies from https://opengameart.org/content/8x8-critter-pack

Not sure if some of the custom arguments are important; replaced all the single example tasks with a loop that compiles all examples Also added `examplesd` to compile with debug

Instead of manually selecting where the game data is installed, open fodder can detect where they are installed. Here is a C header that allows searching for GOG game installations...

enhancement

In the Code Style document https://github.com/realpython/python-guide/blob/master/docs/writing/style.rst there's a small mention of autopep8 which can be used to format code to meet PEP8 standards. But there's at least two other autoformatters...

Example usage: ```python >>>import strictyaml as sy >>>schema = sy.Map({"foo": sy.Float(minimum=0, maximum=0.1)}) >>>sy.as_document({"foo": 0.2}, schema) ... strictyaml.exceptions.YAMLSerializationError: when expecting a float in the range [0, 0.1], got 0.2 ``` If...

https://travis-ci.org/cxong/cdogs-sdl/jobs/510550298#L1212-L1215 ``` /home/travis/build/cxong/cdogs-sdl/src/nuklear/nuklear.h: In function ‘nk_tree_element_image_push_hashed_base’: /home/travis/build/cxong/cdogs-sdl/src/nuklear/nuklear.h:18421:20: error: variable ‘text’ set but not used [-Werror=unused-but-set-variable] struct nk_text text; ^ ``` The `text` variable is set but not used. The fix...