How to convert Markdown to PDF
First, a confession. To get this to run on my Mac, I probably installed a bunch of stuff, such as Latex. I don’t remember what I did to make it work, so you will have to reverse engineer that. Here…
First, a confession. To get this to run on my Mac, I probably installed a bunch of stuff, such as Latex. I don’t remember what I did to make it work, so you will have to reverse engineer that. Here…
Automate a Causal Inference Python Repo from Scratch with Augment Code If you’ve ever wanted to build a clean Python repository for implementing methods from Causal Inference for the Brave and True but didn’t want to do all the setup…
Today we will try running an LLM locally on a Macbook Pro with Apple Silicon. To do this we will use ollama, since it is one of the easiest ways. First, download the right installer for your OS from ollamma.com.…
I read an article by a guy who used ChatGPT4 as the dungeon master for a solo compaign for Dungeons & Dragons. Just him and ChatGPT. The chatbot fully played the role of a human dungeon master! It sounded really…
In the movie Matrix Reloaded, we see Trinity use SSH Nuke to hack a compromised server. This script exploits the SSH CRC-32 vulnerability, specifically known as CVE-2001-0144, which affected older versions of the OpenSSH software. Here’s an explanation of how…
Here is how you can call OpenAI’s ChatGPT API, given that you have an API key. Follow these instructions to get one. import openai openai.api_key = 'FILL IN YOUR OWN' openai.ChatCompletion.create( model="gpt-3.5-turbo", messages=[ {"role": "system", "content": "You are a helpful…
You may have the need to reset your wordpress password and here I’ll show you how to do that, assuming you have access to your sites MySQL database. WordPress stores the password for your user in the wp_users table. The…
I asked ChatGPT to: explain double machine learning for dummies Here is the answer: Double machine learning (DML) is a statistical method used to estimate treatment effects in the presence of high-dimensional controls. To put it simply, it’s a way…
Taken from lecture 1 of Statistical Rethinking course (around the 44 minute mark). The course material is also on Github. How to draw an "owl" version 1: Create generative simulation (GS) Write an estimator Validate estimator using simulated data Analyze…