Blog

regex.search.captures

regex.search.captures

Mar 18 2025

Using regex.search.captures for simple string parsing. `regex` is a superset of `re` with additional functionality and more thorough Unicode support.
Learning to Learn

Learning to Learn

Mar 15 2025

This blog post is about learning the skill of learning itself. We have ubiquitous Internet access, free access to YouTube and powerful LLMs like ChatGPT. These are tools that allow us to acquire almost any knowledge and learn almost any skill. Therefore, it becomes increasingly important to acquire a strong learning capability if we want to leverage these tools to the fullest extent.
Visualizing Quantum Computing with FastHTML

Visualizing Quantum Computing with FastHTML

Mar 02 2025

FastHTML is not only an awesome tool for building web apps, but also to create beautiful representations of Python objects. In this blog post we dive into `__ft__` and apply it to the use case of quantum computing.
Perfect Numbers

Perfect Numbers

Feb 20 2025

A primer on perfect numbers and how to generate them.
Simplify Python with fastcore

Simplify Python with fastcore

Dec 26 2024

`fastcore` is an underrated Python library to simplify Python code and make you more productive. It is used extensively in [Answer.ai's](https://www.answer.ai) code. In this blog post I will show you 10 functions you can start using right away.
Fastcore Transform x Quantum

Fastcore Transform x Quantum

Dec 22 2024

The `fastcore` Python library has many hidden gems that make your programming life a lot easier. One of them is `Transform`. I explain how to use it and why it works surprisingly well for simulating quantum circuits.
Web Checker

Web Checker

Dec 03 2024

This tool gives you general information, WHOIS, SSL and DNS records for any web domain. These are all public records that web browsers use to route requests and verify its authenticity.
Black-Scholes

Black-Scholes

Dec 02 2024

This app calculates the option price and Greeks up to the 3rd order according to the Black-Scholes model. Under the hood it is using my [blackscholes](https://github.com/CarloLepelaars/blackscholes) open source Python library. To learn more about the implementation and formulas, check out the [full documentation](https://carlolepelaars.github.io/blackscholes/3.the_greeks_blackscholes/). If you are serious about studying option theory check out [Paul Wilmott on Quantitative Finance](https://amzn.to/49hU8KY) and [Nassim Taleb's Dynamic Hedging](https://amzn.to/4fNdDgL).
skops

skops

Nov 29 2024

skops is a Python package for productionizing scikit-learn models. It has a neat Model Card feature!
FastHTML x llms.txt

FastHTML x llms.txt

Nov 28 2024

Explains what llms.txt is, where to find examples and how to integrate it in your web apps.
FastHTML Website

FastHTML Website

Nov 23 2024

I wrote this website in FastHTML, so I'm writing this post in FastHTML about how easy and fun it is to write a website using FastHTML.
Ebbinghaus Forgetting Curve

Ebbinghaus Forgetting Curve

Nov 10 2024

A brief look at Ebbinghaus' work on learning and forgetting. We also take a look at how people built upon his research.
Bremermann's limit

Bremermann's limit

Nov 01 2024

Hans-Joachim Bremermann defined the physical limit of computation as the speed of light squared divided by Planck's constant. Let's deconstruct this and figure out why this makes sense.