-
Detecting outliers
An outlier is an observation in your data set that is significantly different from the other observations. It can be rare patterns, or some kind of error in your data. There are many reasons why you might care about them. You may want to detect rare events, banking fraud, or...
-
Minimising API calls
Imagine you are given a list of all transactions over the last 100 years. You want to download the details of each transaction from a service, but your API key allows you to query date ranges. Your provider bills you each time you make an API call. Being the shrewd...
-
Migrating blog from CMS
I have recently decently decided to migrate the blog away from content management systems. I apologise to those of you who are looking for old pages that are now missing. Rather than do an article dump, I’ve decided to review, and re-write some of the articles instead. The site was...
-
Using C++ templates
The template engine is one of the fun things about C++. They are a useful tool that helps you cut down on duplicating boiler plate code in generic situations, but they can be used for some other cool things. Here are some examples. Type checking example You want a function...
-
LaTeX beamer slide and book builder
LaTeX is a powerful typesetting system that produces beautiful documents. Beamer is a popular package for LaTeX for creating presentation slides. Beamer has the ability to produce different document types from the same LaTeX source files. It allows you to mark sections to appear in the slides only, book only,...