Introduction When working with FastAPI and SQLAlchemy, you may encounter an issue where your tables are not created in the database even though your code seems to be correctly set up. A common reason for this is having multiple instances of declarative_base instead of a single shared instance. In this blog post, we'll walk you … Continue reading Organising SQLAlchemy Base and Models in FastAPI Projects
Adventures in Voice Cloning
Smart speakers are everywhere. But could we design a smart speaker to talk to us with our own voice, or that of a person we know?
Frequently Asked Questions
Or: me versus ChatGPT. Or: “I am not an LLM”
Reflections on Stangl & Eichmann
What do Hannah Arendt's report of the Adolf Eichmann trial "Eichmann in Jerusalem" and Gitta Sereny's interviews with Franz Stangl, "Into That Darkness" tell us about how individuals are able to facilitate mass murder?
A Day in the Life
I read the news today oh boy.
Everything is BREAKING
One big problem is the turnover of emotive content. By thinking in logarithms over space and time we can better picture the effects of our actions.
Setting Up a Python Programming Environment
Want to learn how to setup a programming environment for Python using open source tools? Then read on! Over the last 20 years or so I have drifted in and out of different Python programming fads. In hindsight, it is clear there is no "default" setup. Folks stumble accidentally into different configurations, post about it, … Continue reading Setting Up a Python Programming Environment
Logging a Python App to journald
So I thought logging in Python would be easy. You start logging to the command line then when that gets too much you log to a file. A bit of me still feels logging to a file in the app directory is the easiest set up. But various articles on the Internet say file logging … Continue reading Logging a Python App to journald
Getting Frames from YouTube
YouTube has a wealth of data but often you don't feel like downloading it all to disk. How can we stream video to python and then access the frame data?
Running Scripts at Startup
And other Linux delights. Often there is a need to configure processes to start on startup and to restart on failure. On Linux systems this process is controlled via the systemd init system and system manager. Now, as with most things Linux, there are a lot of sources of information out there. Several of them … Continue reading Running Scripts at Startup