Post AXkxcrxuMFh4PINtce by furicle@mastodon.social
 (DIR) More posts by furicle@mastodon.social
 (DIR) Post #AXkrpdiE3tW6F3kt3A by simon@fedi.simonwillison.net
       2023-07-16T14:40:09Z
       
       0 likes, 0 repeats
       
       Weeknotes: Self-hosted language models with LLM plugins, a new Datasette tutorial, a dozen package releases, a dozen TILs https://simonwillison.net/2023/Jul/16/weeknotes/
       
 (DIR) Post #AXksdKDwnEyOHMHi6a by matt@toot.cafe
       2023-07-16T14:49:00Z
       
       0 likes, 0 repeats
       
       @simon FWIW, the speech synthesizer I currently use pronounced "weeknotes" as "wee notes". Not your problem; I just opened an issue: https://github.com/espeak-ng/espeak-ng/issues/1776
       
 (DIR) Post #AXkvbrpRBG0HmkohRw by simon@fedi.simonwillison.net
       2023-07-16T15:22:31Z
       
       0 likes, 0 repeats
       
       @matt hah, I quite like that
       
 (DIR) Post #AXkwIlPste5aLnJqvA by simon@fedi.simonwillison.net
       2023-07-16T15:30:01Z
       
       0 likes, 0 repeats
       
       Tucked away in my weeknotes is this fun new Symbex feature - you can now use `--rexec` to find a symbol, pipe it through an executable command and edit the file in-place to replace it with the outputSo you can do stuff like this:`symbex my_function --rexec "llm --system 'add type hints and a docstring'"`https://github.com/simonw/symbex/blob/main/README.md#replacing-a-matched-symbol-by-running-a-command
       
 (DIR) Post #AXkxcrxuMFh4PINtce by furicle@mastodon.social
       2023-07-16T15:45:06Z
       
       0 likes, 0 repeats
       
       @simon doesn't that just make what labels rather than why labels?Like instructions that tell you the on off button turns it on and off.
       
 (DIR) Post #AXl0VqgD2SBCFuRxBY by simon@fedi.simonwillison.net
       2023-07-16T16:17:36Z
       
       0 likes, 0 repeats
       
       @furicle sure, the quality of the docstring is unlikely to be good - the type annotations are genuinely useful thoughThis is more intended as a demo of the --rexec/llm combo than a "and this is how you should add documentation to things" recipe!