Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Tips & Traps¶
- Please refer to Parse TOML File in Python for general tips on parsing TOML in Python.
Installatoion¶
Python Docstring Generator for Visual Studio Code
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
-
The extension Python Docstring Generator is recommended.
-
The Sphinx docstring style is recommended.
References
https://marketplace.visualstudio.com/items?itemName=njpwerner.autodocstring
https://github.com/NilsJPWerner/autoDocstring
Boolean Column Operators and Functions in Spark
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Docker Issue: Repository Is Not Signed in Docker Build
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Docker has a limit on maximum apt cache size on the host system. The issue can be fixed by running the following command.
docker image prune -f
References
Reload File in Visual Studio Code
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Where VS Code stores the list of open files?
Visual Studio Code: Auto-refresh file changes
https://github.com/cdr/code-server/discussions/2944#discussioncomment-516696
Spark Issue: java.lang.OutOfMemoryError
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Symptom
OutOfMemoryError
Cause
java.lang.OutOfMemoryError
is thrown when there is not enough heap memory (for JVM to allocating new objects).
Solution
Increase executor memory.
--executor-memory=20G
Reference:
http://stackoverflow.com …