Ephes Blog

Miscellaneous things. Mostly Weeknotes and links I stumbled upon.


Weeknotes 2021-10-18

, Jochen

Started a small new project to be able to automatically deploy my podcast hosting infrastructure called fastdeploy. It's a little bit different because I want to be able to try hot and experimental stuff in this project. Therefore I didn't use good old boring django but fastAPI as the backend web framework and Vue.js / Vite for the frontend. I also switched my IDE for this from PyCharm to Visual Studio Code to be able to use it for both python and typescript. For backend dependency management I switched from poetry to pip-tools. So lots of new stuff :).

One of the reasons I chose fastAPI for this project was that it has builtin support for async and websockets. And getting Vue.js and fastAPI to communicate over websockets was easier then expected. Getting vue components to communicate via props and events was a little bit more difficult especially when using <script setup> and typescript, but now it works quite nice.

Adding authentication capabilities to fastAPI was more difficult then expected. Had to refactor the fastdeploy project structure a bit (settings, router) and I feel more comfortable with it.

Things I Looked at Last Week


Weeknotes 2021-10-11

, Jochen

Implemented a naive bayes spamfilter from scratch in one stream on monday. Learned some details about testing with PyCharm (right click on project root, set as test root for example) which made it work much better. Integrated the new spamfilter model into django-cast and added an "retrain"-button to the admin frontend. Tried to use Python 3.10 for django-cast and submitted a PR for l18n. Got a little bit frustrated about my current combination of pyenvvirtualfish and poetry making it difficult to upgrade to 3.10 (especially poetry, ugh). Then I finally cleaned up the django-cast project structure so that I don't need those ugly symlinks to make things work. 

Recorded a new python podcast episode about the latest Python 3.10 release and other stuff :).

Things I Looked at Last Week


Weeknotes 2021-10-04

, Jochen

Did some yanitor work for django-cast like testing wether it would be compatible with django 4.0 etc.. Started working on the spamfilter feature for automoderation of comments (the comment spammers got too annoying to do this manually). Had to catch up a bit about how all this comment moderation stuff works. Didn't listened to as many podcast episodes as usual because migrating to a new phone ate up big chunks of my free time (also: no phone, no podcasts..).

Things I Looked at Last Week


Weeknotes 2021-09-27

, Jochen

Worked on chapter marks feature for django-cast. When the chapter marks form field is empty but one of the audio files is added or modified, django-cast now also tries to read chapter marks from audio using ffprobe. Someone asked a question about drawing an ascii cube with python and I had some fun playing around a little bit with this problem live on the stream.

Things I Looked at Last Week


Weeknotes 2021-09-20

, Jochen
Migrated the search/faceted navigation functionality from specialized views to the new wagtail based ones for django-cast and recorded progress in 5 live streams. Started experimenting again with a new microphone position (meh), powder for makeup without much success. But I'm happy with the current development speed, so things are moving forward at least.
 

Things I Looked at Last Week