It is thought that this device was an analog computer designed to calculate astronomical positions and was used to predict lunar and solar eclipses based on Babylonian arithmetic-progression cycles. Whereas the Antikythera mechanism is considered a proper analog computer, the astrolabe (also invented by the Greeks) may be considered as a forerunner.[39] Fire hose 1st century BC Invented by Heron in the basis of Ctesibius' double action piston pump.[31] Allowed for more efficient fire fighting. Vending machine 1st century BC The first vending machine was described by Heron of Alexandria.