I’m inspired by Anthropics Claude Code which started as a developer tool for their own engineers.So the goal today: Make the minimal AI Coding Agent, then use that to build towards a self improving AI Coding Agent. The end of this tutorial will be written by your new agent 🧠. Minimal requirements for an AI…
All posts in python
Django S3 Pre Signed URLs
How much memory does my server use uploading files? Say you are creating a voice recording app and a user records 30 minutes audio clip and sends it to your django server. How much system memory do you eat up? The browsers media capture will record in its favored compressed audio format and send about…
Django Stripe integration tutorial – high level
High level flow of recurring product Django entities vs Stripe entities On the django side you’ll need a user column to store the tier of your user With stripe, you interact based on their entities. Note: below you only own “Django user” Concept Purpose Customer Represents our Django user on Stripe Product + Price Recurring…
Todo list in postgres (python)
Timer in Terminal
main.py activate_terminal.scpt
openai embeddings in python with asyncio and gather
Async version: Sources
Django jupyter notebook in vscode
Django jupyter notebook in browser
How do you start a jupyter notebook with all the django settings working? Step 1: Install shell_plus from django-extensions Step 2: start shell_plus with –lab Note: old documentation may suggest “–notebook” Also:
Removing stopwords with NLTK
Code with explanations: Just the code
How to write files and read files in python
In short How would you optimize saving expensive API calls? Explanation Say you have a function with output you want to save. It could be from: Step: Create the directory you are saving to. I usually write to the system tmp directory or a project tmp tmp directory and put “tmp” in my gitignore so…