Search found 23 matches

by al.khwarizmi
Mon Mar 23, 2015 10:55 am
Forum: Discussion
Topic: Nearest polar opposite economies
Replies: 12
Views: 6191

Re: Nearest polar opposite economies

I should probably Javascript anyway at some point. I don't know if I should do it now.
by al.khwarizmi
Tue Mar 17, 2015 10:26 am
Forum: Discussion
Topic: Nearest polar opposite economies
Replies: 12
Views: 6191

Re: Nearest polar opposite economies

Diziet Sma wrote:
al.khwarizmi wrote:
I'm not so sure I want to get hosting space
That's the easy part.. just make a page on the Oolite Wiki.. :wink:
Word ... maybe.
by al.khwarizmi
Mon Mar 16, 2015 6:47 pm
Forum: Discussion
Topic: Nearest polar opposite economies
Replies: 12
Views: 6191

Re: Nearest polar opposite economies

I'm not so sure I want to get hosting space and learn Javascript just for this purpose. I will, however, do custom calculations for whoever wants them.
by al.khwarizmi
Mon Mar 16, 2015 5:48 am
Forum: Discussion
Topic: Nearest polar opposite economies
Replies: 12
Views: 6191

Re: Nearest polar opposite economies

Ok. To do this properly, you need to use the game distance formula which is not exactly euclidian. It's 0.4*math.floor(sqrt(dx*dx + dy/2*dy/2)) in pseudo language. Dividing y coordinates by 2 is just scaling, but rounding the sqrt with floor makes the difference. That is interesting. The imperfect ...
by al.khwarizmi
Mon Mar 16, 2015 5:20 am
Forum: Discussion
Topic: Nearest polar opposite economies
Replies: 12
Views: 6191

Re: Nearest polar opposite economies

Out of interest, what are those numbers representing as they seem to not be game distances? Relative Euclidean distance based on the following: http://wiki.alioth.net/index.php/Oolite_planet_list/Galaxy_1 For a sense of scale, at a relative distance of about 15 there is a pretty comfortable amount ...
by al.khwarizmi
Mon Mar 16, 2015 12:10 am
Forum: Discussion
Topic: Nearest polar opposite economies
Replies: 12
Views: 6191

Nearest polar opposite economies

As is well known, trading is (generally) most profitable between Poor Agricultural and Rich Industrial planets. I have been doing "milk runs" between Sotiera and Inera and this has been going well but I wondered if I could do better. It turns out that I could These are the 10 closest pairs...
by al.khwarizmi
Sun Mar 15, 2015 11:08 pm
Forum: Discussion
Topic: Monte Carlo estimation of best commodity profits
Replies: 12
Views: 6077

Re: Monte Carlo estimation of best commodity profits

jh145 wrote:
al.khwarizmi wrote:
... but the estimates are already done
A couple are off by a tenth. You can get exact figures by looping over the masked MARKET_RND byte for each economy, no Monte Carlo required.
I'll be damned.
by al.khwarizmi
Sun Mar 15, 2015 10:24 pm
Forum: Discussion
Topic: Monte Carlo estimation of best commodity profits
Replies: 12
Views: 6077

Re: Monte Carlo estimation of best commodity profits

They start to use tonnage if you have more than a ton of gold/platinum aboard. I thought they started to use hold space if you have more than 499kg aboard - but I may be wrong. Yes, metric ton(ne)s (or TC). In that case, one need only multiply by the appropriate factor. The expected profit moving a...
by al.khwarizmi
Sun Mar 15, 2015 9:29 pm
Forum: Discussion
Topic: Monte Carlo estimation of best commodity profits
Replies: 12
Views: 6077

Re: Monte Carlo estimation of best commodity profits

So I decided that I would run the calculation of price for each kind of commodity in each economy 10,000 times to average out the randomness... Um, forgive me please if I sound dismissive (or pig ignorant), but does the market creation algorithm not produce a normal distribution of price results? I...
by al.khwarizmi
Fri Mar 13, 2015 7:47 pm
Forum: Discussion
Topic: Monte Carlo estimation of best commodity profits
Replies: 12
Views: 6077

Re: Monte Carlo estimation of best commodity profits

Thanks for that! Interesting to see that illegal items are not even the most profitable. That depends. I haven't taken rock hermits into account. And, though slaves are not quite as profitable as might be expected—I wouldn't deal in them anyway—the other two forms of contraband have a wide margin o...
by al.khwarizmi
Fri Mar 13, 2015 12:23 am
Forum: Discussion
Topic: Monte Carlo estimation of best commodity profits
Replies: 12
Views: 6077

Monte Carlo estimation of best commodity profits

I have been using and like this Javascript utility: http://rockthehalo.org.uk/oolite/OoliteCommodityCalculator.html But there's a very important thing it doesn't tell me. It does not tell me the expected (i.e. average) price of a unit of a given commodity, only gives me the spread of possible values...
by al.khwarizmi
Wed Mar 11, 2015 3:03 am
Forum: Suggestion Box
Topic: Swap roll and yaw in options screen
Replies: 17
Views: 11096

Re: Swap roll and yaw in options screen

True but the current proposal is a decent stand-in. Making a generic keyboard configuration utility would require a new interface, this just requires another menu item and a teeny bit of backend. If I knew Objective C and version control as well as the etiquette of working on these sorts of projects...
by al.khwarizmi
Mon Mar 09, 2015 11:16 pm
Forum: Suggestion Box
Topic: Swap roll and yaw in options screen
Replies: 17
Views: 11096

Re: Swap roll and yaw in options screen

Yaw is very much an in-atmosphere flight control. In a gravity-free vacuum with no horizon, it's redundant: pitch and roll is all you need. There's no difference between yawing to starboard, and rolling 90° to starboard and pitching up (or rolling 90° to port and pitching down). Orienting objects o...
by al.khwarizmi
Fri Mar 06, 2015 10:34 pm
Forum: Suggestion Box
Topic: Swap roll and yaw in options screen
Replies: 17
Views: 11096

Re: Swap roll and yaw in options screen

In any case, the "canon" is not beyond reproach. Indeed! Perhaps if the player had to enable yaw, then NPCs could have it enabled too? However, I know that I'm in the minority in supporting equality for NPCs. I would say that equality or inequality for NPCs is not simply a matter of what ...
by al.khwarizmi
Fri Mar 06, 2015 10:12 pm
Forum: Suggestion Box
Topic: Swap roll and yaw in options screen
Replies: 17
Views: 11096

Re: Swap roll and yaw in options screen

Cody wrote:
Elite was not like most space sims - it had no yaw.
I'm willing to bet this primarily had to do with a) the necessity of docking with stations having artificial gravity and possibly b) software or hardware limitations at that time. In any case, the "canon" is not beyond reproach.