Claude is my main AI coding tool now. Its terminal based and writes code one file at a time so I can review changes. Tips Note: How to download claude code (link)
All posts by theptrk
Docker Beginner Tutorial
Let’s assume you are sold on Docker – you need and love Docker. How is it used? On your computer:– install docker (docker desktop is most popular, podman is gaining ground) – develop an application adjusting your Dockerfile– use Dockerfile to build a “image” – a portable package of your app– test locally by running…
Why Docker? Most servers run Linux
Imagine a world where most servers run Linux. A little bit of chaos In this same world (the real world), developers build software on personal computers that run many different operating systems – Mac, Windows, wacky new forks of Linux. For developers to deploy their software, someone must SSH into a server, install dependencies, run…
Todo list in postgres (python)
Todolist in postgres
How to create a todo list using postgres queries You can use psql directly or create an interactive command line tool Bash script that runs psql commands python script that runs psql commands
Downloading postgres with brew
How to install postgres What is happening? ^ is this more readable outside the code block? So by default, psql automatically tries to connect to– a postgres role also named after your username– a database also named after your username When you install and initialize Postgres via Homebrew:It sets up:– A data directory where all…
Notes: LLM Engineers Handbook
I love mind mapping. It helps arrange and rearrange new information so a brief glance is enough to spur the memory of the content. Chapter 2 goes over tooling and setting up the books companion repository. Chapter 3 goes over the Data Engineering workflow with emphasis on chapter 5
scripts folder
You should write scripts for your computer. They could be your favorite language. Put aliases in zshrc to call them Here is “lsp.py”
Arc Prize problem type: the transformation
The arc prize problems are visual – naturally they encounter similar situations that visual editors do. Q: Taken a shape, can you flood fill it? Q: Can you take a shape and transform it by a consistent transform – scaling? Q: Can you take a shape and transform it by a relative transform – relative…
Me Database – Master Plan
You should own your own data. If you do, you can hopefully shed light on this short period we call life. God forbid, you have trouble remembering in the future, you might want a helper. What type of data should you own? Part 1: Collecting it Apps collect: location, voice recordings, writing, photos Integrations collect:…