Patrick
coding, drawing, surfing
PythonAI / MLDev tools / editors / IDEsSoftware / engineering practice
- Posts
- 131 from 11 Dec 2013 to 24 Sep 2026
- Posting
- now and then (4 in the last year)
- Kind
- personal blog
- Feed
- https://theptrk.com/feed/
2026 3
2025 17
- Setup a telegram bot
- Intro to Docker Images, Containers
- Why Docker? Isolation and Reproducible Builds (Sanity)
- Before Docker
- Make an AI Coding Agent in python
- How to make your python cli tool available across your computer
- iOS Speech Recognition (SFSpeechRecognizer)
- Django S3 Pre Signed URLs
- Django Stripe integration tutorial – high level
- Creating a dotfiles repo
- quick openai call from the terminal
- Claude Code First Impressions
- Docker Beginner Tutorial
- Why Docker? Most servers run Linux
- Todo list in postgres (python)
- Todolist in postgres
- Downloading postgres with brew
2024 25
- Notes: LLM Engineers Handbook
- scripts folder
- Arc Prize problem type: the transformation
- Me Database – Master Plan
- Data Ownership
- python reference sheet
- Install, Upgrade Postgres on Mac with homebrew
- Timer in Terminal
- Github Authentication with SSH on Mac
- openai embeddings in python with asyncio and gather
- Django jupyter notebook in vscode
- Django jupyter notebook in browser
- How to avoid overwriting files in python
- Removing stopwords with NLTK
- How to write files and read files in python
- How to use the python rank-bm25 library
- How to time a function in python (bonus: intervals ⏱️)
- Install nginx locally with docker
- How to invert docker ps output
- How to format, filter docker output
- install nginx on mac with homebrew
- Chunking text
- My VSCode Vim settings
- async openai calls with python
- Async python with asyncio
2023 19
- local inference with llama-cpp-python
- rsync with python without extra files
- tiktoken: get number of tokens from string + openai pricing
- Creating a form with HTMX, Django
- Django and pgvector for semantic search
- Can ChatGPT do math? NO! But why?
- How to create a chrome extension (react vite boilerplate)
- Obsidian Vim remapping
- GPT from scratch: Karpathy
- How to convert mov to mp4 with ffmpeg
- How to use OpenAI whisper with python
- UserWarning: FP16 is not supported on CPU; using FP32 instead warnings.warn(“FP16 is not supported on CPU; using FP32 instead”)
- Create Django Project with scaffolding from Django Cookiecutter
- Python: Print all items in a directory
- Mac and Docker Desktop: “Cannot connect to the Docker daemon”
- Cache your OpenAI responses with CachedGPT
- OpenAI ChatCompletion in Python
- Use pyenv and a .python-version file
- How to download and examine a file on the command line
2022 1
2021 3
2020 10
- pytest (error): Requested setting ROOT_URLCONF, but settings are not configured
- Machine Learning Coursera Andrew Ng: Week 1 Illustrations
- JavaScript, node.js versions with nvm
- How to set “jj” as Esc in VSCode Vim
- How to install Python 3 on Mac using homebrew
- Machine Learning Introduction: My three favorite resources
- Understanding Dimensions – Linear, Logistic Regression
- Notes for Coursera Machine Learning Course with Andrew Ng (Week 1-5)
- vim jj to esc mapping
- How to change your command line prompt
2019 5
2018 42
- Sublime Text shortcut on command line (subl)
- How to publish an npm module
- Do not use bcrypt-nodejs
- Express Sequelize Heroku Postgres Configuration Success
- Node Sequelize Postgres Tutorial
- How does sequelize pluralize?
- Postgres timestamp with timezone – “timestamptz”
- Using CAShapeLayer to draw a circle
- iOS Application Lifecycle – UIKit basics
- iOS without storyboard
- Forgetting to set translatesAutoresizingMaskIntoConstraints to false
- Delete files by filename with “find”
- Setting environment variables
- Postgres tutorial – installing with brew + basics (old)
- Heroku: Node, Express, PostgreSQL Setup
- Installing Python and managing Python versions with pyenv (bonus venv)
- Levels of installing python
- what is curl?
- curl express hello world
- What if we build a knowledge map?
- did.txt file
- Set up your programming environment
- Weather reports from your terminal with curl
- Github Pages tutorial and exploration!
- When should you build your own ecommerce site vs using shopify?
- vim settings: tabs, spaces, indents
- How to detect if a user is online
- How to protect your files from deletion
- why vim?
- Intro to OSX File Management Commands
- Intro to your OS X Filesystem and Permissions
- Setting up version controlled bash_profile
- Setting up .vim directory
- Mac Unix Command Basics for Beginners
- Top 10 bash_profile aliases
- git gotchas
- vim: how to turn on syntax highlighting
- Set up your dotfiles, config files
- Setting up a new computer (Mac – applications)
- What are the Mac symbols?
- Symbolic Links, symlinks, files that point to files
- Your first commit – How to start using git