~/talk

How to calculate the phase of the moon very, very badly!

Talkat !!Con West 2019 · on Monday, 2019-03-25· [web-platform, javascript]
slides:none on file

A lunar calendar app called Luna initially uses 27.321661 days (sidereal month) and drifts three days over 18 months; swapping in the average 29.530587981 days (synodic month) still fails because individual months vary. The fix is replacing naive arithmetic with a copied GitHub function that returns exact illumination fraction, and ditching the Weather Icons 28 slices bucketing. The rebuilt code computes midnight boundaries for phase moments, ends duplicated full moons, and yields accuracy within minutes to hours after three years and small user testing.

AI-written summary · about

  1. 0:00Lunar cycle myth
  2. 2:27Flawed sidereal month
  3. 4:34Synodic month error
  4. 6:45Why averages fail
  5. 8:5328-icon bucketing disaster
  6. 10:19Midnight boundary solution
  7. 11:22Final accuracy
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.