FlatLib
Posted: Sun Sep 18, 2016 10:54 pm
Hi Joao
I've sent you some messages by PM, this doesn't seem like the best place to discuss such technicality in depth.
In short though, the problem is not complicated. The swiss ephemeris allows a mode to enable the sidereal option (with a parameter to detail which ayanamsha). You can then simply store this client side like you say and send it as part of every request to the API, which is simple if you keep your API requests in one place on the client-side. This would mean very little code change and would technically accomplish the problem of adding a sidereal option programmatically fairly easily.
The next problem would be more about UX and design, deciding where and how to convey these options and which option has been chosen and whether you want to display the chart in a new manner to reflect the sidereal zodiac in use, or else of course keeping it the exact same.
As I say, I don't think this is all that complex, it may be a little time consuming on the client side to alter them all in this manner, and there's some small refactor work server side. See my PM for more specifics.
Of course you could say the same for any number of other features. What's obvious is that you have coded the software, unconsciously, with a recognition that the concept of a house system is something for which options occur. The only real problem here is that you didn't think to do the same with the zodiac, which is fine, it just means there's going to be some refactoring, and I actually don't think it will be too much.
Edit:
Only saw zoidsoft's comment about thread safety, according to the documentation, swiss ephemeris is indeed thread safe, so this shouldn't be a problem.
I've sent you some messages by PM, this doesn't seem like the best place to discuss such technicality in depth.
In short though, the problem is not complicated. The swiss ephemeris allows a mode to enable the sidereal option (with a parameter to detail which ayanamsha). You can then simply store this client side like you say and send it as part of every request to the API, which is simple if you keep your API requests in one place on the client-side. This would mean very little code change and would technically accomplish the problem of adding a sidereal option programmatically fairly easily.
The next problem would be more about UX and design, deciding where and how to convey these options and which option has been chosen and whether you want to display the chart in a new manner to reflect the sidereal zodiac in use, or else of course keeping it the exact same.
As I say, I don't think this is all that complex, it may be a little time consuming on the client side to alter them all in this manner, and there's some small refactor work server side. See my PM for more specifics.
Right, one place I certainly don't disagree with Curtis is that making astrology software is a lucrative business and will make you rich. It won't, but my disagreement was more that this was technically very challenging to accomplish because I really don't think it is.Include the fact that 30? (which is the sum I've got from selling Android charts so far) is about half an hour of work considering my usual freelance rate, and you start to understand what Curtis is saying about making a living out of selling astrology software.
Of course you could say the same for any number of other features. What's obvious is that you have coded the software, unconsciously, with a recognition that the concept of a house system is something for which options occur. The only real problem here is that you didn't think to do the same with the zodiac, which is fine, it just means there's going to be some refactoring, and I actually don't think it will be too much.
Edit:
Only saw zoidsoft's comment about thread safety, according to the documentation, swiss ephemeris is indeed thread safe, so this shouldn't be a problem.