Lachlan Macartney

Lachlan Macartney

© 2023

  • posts

  • High-throughput Open Route Service

    Sep 2022
    • engineering

    Open Route Service (ORS) is an open source API that can be used to find public-road routes between GPS coordinates. We intended to use ORS to perform feature engineering on a dataset. This post documents our experience using ORS as a server and client.

  • Google SRE Book - Takeaways

    Aug 2022
    • engineering

    These are some of the key takeaways from my reading of the Google SRE book. These points stood out to me because they were things seemed not obvious and piqued my interest.

  • Income Taxes by Country

    Jun 2022
    • stats

    It can be difficult to compare how different countries tax their residents. Tax laws are some of the most complex regulations in the world. In this post, we will seek to compare the income tax liability for earners in different countries. Note that this does not account for the full tax burden residents may bear from corporate income taxes, import tariffs, consumption taxes and other additional taxes a government may levy.

  • Pentomino Solver Animation

    Aug 2021
    • cs

    In this post we will explore pentomino puzzle solving. But first, what is a pentomino? A pentomino is a special case of an polyomino (think dom-ino) with 5 equal sized squares connected edge-to-edge. Without considering rotations or reflections, there are 12 distinct pentominos.

  • Newton's Cradle Animation

    May 2020
    • physics

    The purpose of this project is to animate Newton’s Cradle from first principles. Newton’s Cradle has been animated before however typically via a key-frame method or one reliant on a complicated physics engine. In this post we will animate Newton’s Cradle by implementing our own minimalist physics engine. We will use the following guiding statement to develop our simulator;

  • Airplane Boarding Simulation Investigation

    Apr 2020
    • stats

    Here we will investigate a modified version of the well known 100 passenger plane boarding problem.

  • Bessel Function Animation

    Apr 2020
    • math
    • physics

    Bessel’s differential equation is given by:

  • Adiabatic Processes for Monatomic and Diatomic Gases

    Mar 2020
    • physics

    Here ‘f’ refers to the degrees of freedom of a gas. Monatomic gases have 3 degrees of freedom at room-temperature, whereas diatomic gases have 5. The first three degrees of freedom come from translational degrees of freedom along the x, y, z axes. Diatomic gasses exhibit two extra degrees of freedom because they undergo distinguishable rotations along the θ, ϕ axes. This results in some interesting phenomena conveyed in the following diagrams. These can be used to ask intriguing questions such as;

  • Pendulum Approximation Qualitative Analysis

    Feb 2020
    • physics

    Let’s see how we can use matplotlib to model pendulum motion.

  • Electric Fields

    Jan 2020
    • physics

    An electron remains trapped in a potential energy well. If it were to aquire slightly more kinetic energy the electron would travel to infinity.

  • jspect Rover

    Dec 2018
    • cs

    Some photos from the jspect Rover project.

© 2023