Nice function printer. I’m gonna steal this one, it is way better than mine.
I had a dream once; I wanted a way to find and print a Python method within a base directory and parse:
every place it is called in any code within the source directory and/or recursively down tree only without linking
tell me if any variables contained are global
follow and print any nested methods
have a tree like limit on how many nested methods are printed
I have a sloppy script than just readlines all files in the directory looking for $@ and prints something like $ grep -A. I tried but failed to do more advanced syntax highlighting too. I’m jealous of that one.
Like a few days ago I was trying to wrap my head around how Oobabooga Textgen handles LLM sampling using pytorch; not the softmax - temperature k-token, p-token stuff. I don’t want to read in or understand the total scope; just compare new and old variations directly with diff.
Nice function printer. I’m gonna steal this one, it is way better than mine.
I had a dream once; I wanted a way to find and print a Python method within a base directory and parse:
I have a sloppy script than just readlines all files in the directory looking for $@ and prints something like $ grep -A. I tried but failed to do more advanced syntax highlighting too. I’m jealous of that one.
Like a few days ago I was trying to wrap my head around how Oobabooga Textgen handles LLM sampling using pytorch; not the softmax - temperature k-token, p-token stuff. I don’t want to read in or understand the total scope; just compare new and old variations directly with diff.
Though i just noticed that it crops the sed line of itself. Well, can’t have it all.