Skip to content

Conversation

@chiphogg
Copy link
Member

See for context: https://xkcd.com/3038/. Presumably, the joke only
works if the speed limit in question corresponds to a realistic speed
limit for American roads, so we take the range to be from 25 MPH (many
residential streets) to 75 MPH (some roads in places I have seen such as
parts of MI or TX).

To make this work, it was convenient to add unit definitions for
Arcminutes and Arcseconds. These have various choices for unit
symbol, but I decided to go with am and as because this will be the
most consistent with users who form symbols for mas and uas.

For the labels, in any case, I went with ' and ". I could be
persuaded to go with '' for arcseconds, but I think " is likely to
be better overall.

We also now group all of our XKCD test cases into an Xkcd test family,
because of course we do.

See for context: <https://xkcd.com/3038/>.  Presumably, the joke only
works if the speed limit in question corresponds to a realistic speed
limit for American roads, so we take the range to be from 25 MPH (many
residential streets) to 75 MPH (some roads in places I have seen such as
parts of MI or TX).

To make this work, it was convenient to add unit definitions for
`Arcminutes` and `Arcseconds`.  These have various choices for unit
symbol, but I decided to go with `am` and `as` because this will be the
most consistent with users who form symbols for `mas` and `uas`.

For the labels, in any case, I went with `'` and `"`.  I could be
persuaded to go with `''` for arcseconds, but I think `"` is likely to
be better overall.

We also now group all of our XKCD test cases into an `Xkcd` test family,
because of course we do.
@chiphogg chiphogg added the release notes: 📏 lib (new units/constants) PR adding new units or constants to the library label Jan 15, 2025
Copy link
Contributor

@geoffviola geoffviola left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😂

@chiphogg chiphogg merged commit 598de94 into main Jan 15, 2025
14 checks passed
@chiphogg chiphogg deleted the chiphogg/xkcd-3038 branch January 15, 2025 23:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release notes: 📏 lib (new units/constants) PR adding new units or constants to the library

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants