Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Packages and registries
    • Packages and registries
    • Container Registry
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #13774

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
Assignee
Assign to
Time tracking