Plans

You need to start recruiting, and first you need to do you Akuna OA.

  • Recruiting will never be a disadvantage, so start this week in any case
    • Bring your laptop to work the next few days, and work at work & in library after work
    • Akuna OA on wednesday.

Work

  • Polish web UI with better scratchpad presentation, and finalizing image presentation
    • Organize the webui files into a separate directory in repo
  • Help out anniridh about llm.bind() not working
  • mypy and pydantic for type checking
  • Help annirudh of notebook examples
  • Change ultipro password
  • Change ultipro home address

Python Development

#Computing/Linguistics/Python

Development Environment

  • mypy is good, but the cache will take very long to build
    • type checking in general is not in the spirit of python, but will help the dev experience (like typescript)
    • Errors will not fully analyze when the something is blocking, e.g. the __init__.py issue
  • linters—use flake8; formatter—use black
  • pydantic is probably useful, but haven’t tried it yet
  • nbQA is a bridge between python linters/formatters/type checkers and jupyter notebooks. (see also Jupyter Notebook Tips & Tricks)

Multiline Strings

triple quoted multiline strings (""") will include the newline chars and tab chars in the string itself. To avoid this the model way is to do:

my_string = (
    "this is a",
    "multiline",
    "string."
    )

Which will include the newline character but not the tab chars.