Path: utzoo!utgpu!water!watmath!clyde!rutgers!husc6!bloom-beacon!think!ames!pasteur!ucbvax!decvax!decwrl!sun!pitstop!sundc!seismo!uunet!portal!cup.portal.com!Isaac_K_Rabinovitch From: Isaac_K_Rabinovitch@cup.portal.com Newsgroups: comp.sys.ibm.pc Subject: When Does The Sun Come Up? Message-ID: <3249@cup.portal.com> Date: 15 Feb 88 18:58:21 GMT Organization: The Portal System (TM) Lines: 22 XPortal-User-Id: 1.1001.1472 Back in 1981 or thereabouts, Byte published the CBASIC source for a program that will tell you when the sun rises and sets, given the day of the year and some geographic data. That's be useful for me. I don't need one of those complicated astronomy programs, and would like to be able to just ask my system "when will the sun rise tommorow". Probably I should just buy the Farmer's Almanac every year and put up with the longitudinal error, but that might damage my status as a compulsively high-tech individual. Translating the program from CBASIC to some more common language is technically simple enough, but is a big, boring, bug-producing job, since the program is a long one. I might actually do it one of these days, but first I should find out if anybody else has (or if someone who knows the math just sat down and wrote the same program in C). Hello? Isaac Rabinovitch isaac.rabinovitch@cup.portal.com ucbvax!sun!cup.portal.com!isaac.rabinovitch Disclaimer: Just because I think you're wrong, doesn't mean I don't think you're a fun person! :-)