The Curious Engineer

All blogs / Python

Patrick

theptrk.com

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

  1. llama.cpp — Beginner’s Guide for Mac
  2. Django 5.x removes 3.2x recommendation for timezone middleware
  3. How do I write a file in python?

2025 17

  1. Setup a telegram bot
  2. Intro to Docker Images, Containers
  3. Why Docker? Isolation and Reproducible Builds (Sanity)
  4. Before Docker
  5. Make an AI Coding Agent in python
  6. How to make your python cli tool available across your computer
  7. iOS Speech Recognition (SFSpeechRecognizer)
  8. Django S3 Pre Signed URLs
  9. Django Stripe integration tutorial – high level
  10. Creating a dotfiles repo
  11. quick openai call from the terminal
  12. Claude Code First Impressions
  13. Docker Beginner Tutorial
  14. Why Docker? Most servers run Linux
  15. Todo list in postgres (python)
  16. Todolist in postgres
  17. Downloading postgres with brew

2024 25

  1. Notes: LLM Engineers Handbook
  2. scripts folder
  3. Arc Prize problem type: the transformation
  4. Me Database – Master Plan
  5. Data Ownership
  6. python reference sheet
  7. Install, Upgrade Postgres on Mac with homebrew
  8. Timer in Terminal
  9. Github Authentication with SSH on Mac
  10. openai embeddings in python with asyncio and gather
  11. Django jupyter notebook in vscode
  12. Django jupyter notebook in browser
  13. How to avoid overwriting files in python
  14. Removing stopwords with NLTK
  15. How to write files and read files in python
  16. How to use the python rank-bm25 library
  17. How to time a function in python (bonus: intervals ⏱️)
  18. Install nginx locally with docker
  19. How to invert docker ps output
  20. How to format, filter docker output
  21. install nginx on mac with homebrew
  22. Chunking text
  23. My VSCode Vim settings
  24. async openai calls with python
  25. Async python with asyncio

2023 19

  1. local inference with llama-cpp-python
  2. rsync with python without extra files
  3. tiktoken: get number of tokens from string + openai pricing
  4. Creating a form with HTMX, Django
  5. Django and pgvector for semantic search
  6. Can ChatGPT do math? NO! But why?
  7. How to create a chrome extension (react vite boilerplate)
  8. Obsidian Vim remapping
  9. GPT from scratch: Karpathy
  10. How to convert mov to mp4 with ffmpeg
  11. How to use OpenAI whisper with python
  12. UserWarning: FP16 is not supported on CPU; using FP32 instead warnings.warn(“FP16 is not supported on CPU; using FP32 instead”)
  13. Create Django Project with scaffolding from Django Cookiecutter
  14. Python: Print all items in a directory
  15. Mac and Docker Desktop: “Cannot connect to the Docker daemon”
  16. Cache your OpenAI responses with CachedGPT
  17. OpenAI ChatCompletion in Python
  18. Use pyenv and a .python-version file
  19. How to download and examine a file on the command line

2022 1

  1. Goodbye Outstandem

2021 3

  1. How to earn free boba for life
  2. Setting up zsh on new computer
  3. Cartoons for Machine Learning Coursera Andrew Ng: Week 1-5 V2

2020 10

  1. pytest (error): Requested setting ROOT_URLCONF, but settings are not configured
  2. Machine Learning Coursera Andrew Ng: Week 1 Illustrations
  3. JavaScript, node.js versions with nvm
  4. How to set “jj” as Esc in VSCode Vim
  5. How to install Python 3 on Mac using homebrew
  6. Machine Learning Introduction: My three favorite resources
  7. Understanding Dimensions – Linear, Logistic Regression
  8. Notes for Coursera Machine Learning Course with Andrew Ng (Week 1-5)
  9. vim jj to esc mapping
  10. How to change your command line prompt

2019 5

  1. UnicodeDecodeError: ‘utf-8’ codec can’t decode byte 0xf1 in position 4: invalid continuation byte
  2. Save time: npm install nodemon
  3. Todidlist.com started as a vim shortcut
  4. Setting up Redis on Heroku for ExpressJS
  5. Create an interactive terminal cli with node

2018 42

  1. Sublime Text shortcut on command line (subl)
  2. How to publish an npm module
  3. Do not use bcrypt-nodejs
  4. Express Sequelize Heroku Postgres Configuration Success
  5. Node Sequelize Postgres Tutorial
  6. How does sequelize pluralize?
  7. Postgres timestamp with timezone – “timestamptz”
  8. Using CAShapeLayer to draw a circle
  9. iOS Application Lifecycle – UIKit basics
  10. iOS without storyboard
  11. Forgetting to set translatesAutoresizingMaskIntoConstraints to false
  12. Delete files by filename with “find”
  13. Setting environment variables
  14. Postgres tutorial – installing with brew + basics (old)
  15. Heroku: Node, Express, PostgreSQL Setup
  16. Installing Python and managing Python versions with pyenv (bonus venv)
  17. Levels of installing python
  18. what is curl?
  19. curl express hello world
  20. What if we build a knowledge map?
  21. did.txt file
  22. Set up your programming environment
  23. Weather reports from your terminal with curl
  24. Github Pages tutorial and exploration!
  25. When should you build your own ecommerce site vs using shopify?
  26. vim settings: tabs, spaces, indents
  27. How to detect if a user is online
  28. How to protect your files from deletion
  29. why vim?
  30. Intro to OSX File Management Commands
  31. Intro to your OS X Filesystem and Permissions
  32. Setting up version controlled bash_profile
  33. Setting up .vim directory
  34. Mac Unix Command Basics for Beginners
  35. Top 10 bash_profile aliases
  36. git gotchas
  37. vim: how to turn on syntax highlighting
  38. Set up your dotfiles, config files
  39. Setting up a new computer (Mac – applications)
  40. What are the Mac symbols?
  41. Symbolic Links, symlinks, files that point to files
  42. Your first commit – How to start using git

2017 1

  1. Coton Rain

2014 4

  1. Black Scholes Formula in Rust
  2. This post is not about Backbone
  3. Who is the keyword “this”?
  4. LA Hacks

2013 1

  1. First Post