bhagolblog

Screen time · The gist

The engine under the brands

Astrology apps compete on colour, price and personality, but a large number of them get their planet positions from the same piece of Swiss software, so the things they famously disagree about were all added on top afterwards by somebody with a preference.

This is the short way in. The essay has the working, the sources and the sky.

The file NASA publishes with the positions of the planets takes 2,788 Mb of disk space. A Swiss company squeezes it down to 97 Mb without losing the accuracy that matters. That squeeze is the only reason any of this fits on a phone.

Almost nobody who makes an astrology app works out where the planets are. That would take years and a team of astronomers. Instead they use a library, which is a bundle of code somebody else wrote that you plug into your own program.

The one most of this industry uses is called the Swiss Ephemeris, published by a company in Zurich. It comes with a licence file, which is a short set of rules about what you may do with it. That file gives a developer exactly two options: publish your own program's source code for everyone to see, or pay the Swiss company and sign a contract. There is no third option. The licence also says you must keep the copyright notice in your product, and that you may not use the authors' names in your advertising. So the app is required to credit them somewhere quiet and forbidden to boast about it.

The Swiss library is not the original source of the numbers either. It is a compressed copy of a file made by NASA's Jet Propulsion Laboratory. Those NASA numbers come from real measurements: among other things, radio signals timed on their round trip to spacecraft orbiting Jupiter and Saturn.

Now the surprising part. When two apps give you different answers, they are usually not disagreeing about where the moon is. They are reading the same file and getting the same number. What differs is the settings a programmer chose on top of it: which of 47 possible zodiac starting points, which of about 25 ways of dividing a chart into houses, and whether to switch on a particular definition of sunrise. Those are real choices with long histories, and they are also invisible. Nothing on the screen tells you which ones were made.

There is one place where a piece of this must legally appear: the page in an app's settings called About, Credits, or Open Source Licences. It is worth opening.

Words decoded

library (in software)
a ready-made chunk of code that other people's programs plug in and use, so nobody has to write it twice
ephemeris
a table giving where each planet is at each moment; the plural is ephemerides
licence
the rules attached to a piece of software saying who may use it and on what conditions
open source
software whose code anyone can read; some licences require that anyone using the code opens their own code too
API
a way for one program to ask another program a question over the internet and get an answer back
ayanamsha
the gap between two ways of deciding where the zodiac starts; Indian and Western astrology use different ones, which is why your sign can change between apps
house system
a method for slicing a birth chart into twelve sections; there are many methods and they disagree
dasha
an Indian system that divides a life into long periods, each run by a different planet
arcsecond
a very small unit of angle, one 3,600th of a degree
Why anyone should careYou may have spent a year deciding which app is right. If both are built on the same numbers, that argument was never about the sky. It was about a setting somebody picked once, at work, and never mentioned.
Read it properly, 7 min The engine under the brands