Use Perceptual Image Hash as Database Primary Key for Cats

preview_player
Показать описание
Continuing the ongoing project, we add a sqlite3 database action from the Linux container under the Windows Subsystem for Linux (WSL). The actual SQlite database file is stored on a network share, so it can be accessed by the Windows host where JupyterLab Desktop is running and the same database is accessed from a Jupyter Notebook. Code is developed and tested Windows/Jupyter-side, then moved Linux Container-side and ran as a Linux daemon. So in addition to just fetching, ziping and emailing 3 cats that don't exist, we also store each cat in a database using a calculated perceptual image hash as the database key for the image, thus ensuring uniqueness.
Рекомендации по теме
Комментарии
Автор

Since your window manager didn't work for resizing the two terminals, have you considered using tmux? (I have no stake in tmux, just find it useful for exactly this)

Zalethon