in reply to calculating planet conjunction with mojo front end
For Goals 1+2, can you start with describing the physics of the problem? I can see you make a guess which lies in the centre of a range with a 10% random deviation. Then you enter that guess into a remote web-based service and you get back two values which you compare until they are equal. If they are not you make a new guess within a new range which becomes smaller and smaller. There must be some equations governing these phenomena and perhaps you can solve them to get the answer analytically rather than with iterating? I am a complete newbie when it comes to the stars.
Goal 3: I would start with the HTML (re: pulldowns etc), you probably require a form in order to sumbit user input to your back-end script. The back-end script can do the calculations and present them back to the webpage. Perhaps you can also present results by constructing an image on-the-fly via Perl (e.g. GD). I can see a bit of a problem when back-end processing takes some time to complete while the webpage says "waiting ...": timeouts, connection failures, exceeding web-host's CPU quota etc. can waste the backend processing and users retrying and clogging the system. I am not sure what a good system for that is: perhaps users submit jobs and when a job is completed an email/pdf is sent to them? Another idea is to add a database caching user requests. You may be able to save some processing this way (on the expense of setting+working a db).
bw, bliako
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: calculating planet conjunction with mojo front end
by Anonymous Monk on Dec 11, 2020 at 16:41 UTC | |
by Anonymous Monk on Dec 11, 2020 at 17:25 UTC | |
by Anonymous Monk on Dec 12, 2020 at 08:55 UTC | |
by Anonymous Monk on Dec 11, 2020 at 16:54 UTC | |
by Aldebaran (Curate) on Dec 12, 2020 at 07:52 UTC | |
by Anonymous Monk on Dec 12, 2020 at 08:22 UTC | |
by bliako (Abbot) on Dec 12, 2020 at 09:57 UTC | |
|
Re^2: calculating planet conjunction with mojo front end
by karlgoethebier (Abbot) on Dec 11, 2020 at 16:59 UTC | |
|
Re^2: calculating planet conjunction with mojo front end
by Aldebaran (Curate) on Dec 14, 2020 at 19:13 UTC |