mirror of
https://github.com/osmarks/random-stuff
synced 2025-09-09 22:06:00 +00:00
recursion (ethical)
This commit is contained in:
@@ -51,4 +51,5 @@ This comes with absolutely no guarantee of support or correct function, although
|
||||
* `arbitrary-politics-graphs` - all you need to run your own election campaign.
|
||||
* `heavbiome` - some work on biome generation with Perlin noise.
|
||||
* `block_scope.py` - Python uses function scoping rather than block scoping. Some dislike this. I made a decorator to switch to block scoping.
|
||||
* `mpris_smart_toggle.py` - playerctl play-pause sometimes does not play or pause the media I want played or paused (it seems to use some arbitrary selection order). This does it somewhat better by tracking the last thing which was playing.
|
||||
* `mpris_smart_toggle.py` - playerctl play-pause sometimes does not play or pause the media I want played or paused (it seems to use some arbitrary selection order). This does it somewhat better by tracking the last thing which was playing.
|
||||
* `rec_rewrite.py` - in the spirit (and blatantly copypasted code) of `block_scope.py`, rewrite recursive functions as iterative using a heap-allocated stack and generators.
|
Reference in New Issue
Block a user