Skip to content

Mention pickling in "Mirror Mirror on the Wall"?

This is a very minor suggestion, but it might be useful to mention the Python's pickle package when discussing stem.descriptor.remote.DescriptorDownloader() in the doc page "Mirror Mirror on the Wall". As you likely know, this package can save just about any variable to a file in a one-liner, and reload it any time in the future with another one-liner:

https://wiki.python.org/moin/UsingPickle

It was the solution I used when considering how to get descriptors for research. Mentioning it in the docs would probably prevent some lazy or inexperienced Python users from putting a lot of load on directory authorities by constantly downloading descriptors.

Trac:
Username: mmcc

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information