In this post, we use international trade data to model the impact of a hypothetical invasion of Taiwan by China….
In this post, we use international trade data to model the impact of a hypothetical invasion of Taiwan by China….
Combined linear programming and value investing to optimize a $10,000 portfolio….
In this post, I will show how to use A/B testing to rank thousands of qualitative items, made easier through automation by large language models (LLMs). The ELO algorithm The ELO algorithm, originally designed for ranking chess players, is a well known method for determining rankings through a series of head-to-head matches. The algorithm assigns…
In this post, we will cover the basics of LangChain and guide you through its core components….
In this post, I demonstrate how Grover’s algorithm can be used to solve the Graph Coloring problem. …
In this post, I will create a web application that stores locations and plots them on a map. I will be using Django as the web framework, PostgreSQL to store the data, and LeafletJS to plot the points. Creating the base application This app is based on a starter project using the steps in this…
Simple proof of work blockchain in Python in less than 100 lines of code…
In this post, I cover how implement a PID controller using a DC power supply and an oscilloscope to generate arbitrary waveforms….
This post is a part of a series of posts about instrumentation. Get the full code here. For setup details, see the original post. DC power supplies can be found in all kinds of different laboratory environments. Making supplies programmable improves the reproducibility of experiments. In this post, we will look at various features of…
This post shows how to program a Rigol DS1000Z series oscilloscope….