Storing times, and precision of float64

Posted on Fri 26 September 2025 in Software • Tagged with data, math, physics

This is the second article about how working with temporal information in computer systems. The first article was about contained some definitions about astronomical time and timezones.

This article describes options for storing temporal values in your programs, and their limitations. In particular, it describes two pitfalls that can happen …


Continue reading

Pseudovectors and transformations

Posted on Thu 25 September 2025 in Physics • Tagged with math, teaching

Here are some notes for my Fluid Dynamics II students about vectors, pseudovectors and how they transform under reflections.

Let n be a unit vector and consider the reflection R in the plane perpendicular to n.

Quantities such as the position r and velocity v are regular vectors and transform …


Continue reading

Date, time and timezones

Posted on Sun 27 April 2025 in Physics • Tagged with data, math, physics

This is a collection of notes about time and related concepts. A future post will talk about the problems of representing time in computer systems, especially distributed systems. These notes will be occasionally updated.

Introduction

Time is taken to be a primitive concept that cannot be defined in terms of …


Continue reading

Category theoretic ideas in data engineering systems design

Posted on Sun 22 September 2024 in Software • Tagged with data, math, software-engineering

I have been reading – at a very shallow level – about category theory (wiki), and thinking about its applicability to software and system design for data engineering. This post is a loose collection of thoughts on the subject, and a manifesto for employing a more rigorous language when building such systems …


Continue reading

Historical and philosophical contexts of the calculus of variations

Posted on Tue 19 December 2023 in Physics • Tagged with math, physics, teaching

What is a variational principle?

A variational principle is a mathematical or physical law expressed in terms of maximising or minimising a certain quantity. The simplest example was known to ancient Egyptian builders and surveyers: a taut rope stretched between two points takes the shape that minimises its length. This …


Continue reading