Oolite Bulletins

For information and discussion about Oolite.
It is currently Tue Nov 21, 2017 3:25 pm

All times are UTC




Post new topic  Reply to topic  [ 147 posts ]  Go to page Previous 16 7 8 9 10
Author Message
PostPosted: Sat Sep 23, 2017 7:34 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Sun Jul 19, 2015 1:09 pm
Posts: 418
All right, good to know!

If anyone else who is affected needs help cleaning their save files, please let me know.


Top
   
PostPosted: Sat Sep 23, 2017 7:36 pm 
Online
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
User avatar

Joined: Sat Jul 04, 2009 9:31 pm
Posts: 12918
Location: Corke's Drift
I think removing the oxz may clear that section of the save-file - it probably should.

_________________
The only good fnord is a dead fnord!


Top
   
PostPosted: Sat Sep 23, 2017 7:40 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Sun Jul 19, 2015 1:09 pm
Posts: 418
Thanks Cody, I will test that later.
Quote:
I think that the only solution would then be to check if the description has the sub-string "This planet has rings." at any position (since another OXP might append something to the end of the description).
So if anyone has a more elegant suggestion than mine, I am all ears!


Top
   
PostPosted: Sat Sep 23, 2017 10:04 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Sun Jul 19, 2015 1:09 pm
Posts: 418
I uploaded version 2.8.1, it turns out it was quite trivial to implement the substring search and match with JavaScript. Everything seems fine on my side now.

Cody, would you mind updating to 2.8.1 and checking if everything is fine on your side?


Top
   
PostPosted: Sat Sep 23, 2017 10:11 pm 
Online
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
User avatar

Joined: Sat Jul 04, 2009 9:31 pm
Posts: 12918
Location: Corke's Drift
Looks good here!

_________________
The only good fnord is a dead fnord!


Top
   
PostPosted: Sat Sep 23, 2017 10:12 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Sun Jul 19, 2015 1:09 pm
Posts: 418
Great, thanks for all the testing, input and bug searching, Cody, really appreciate it.


Top
   
PostPosted: Sun Sep 24, 2017 8:51 am 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Wed Aug 15, 2012 4:19 am
Posts: 2469
Location: Finland
Quote:
Thanks Cody, I will test that later.
Quote:
I think that the only solution would then be to check if the description has the sub-string "This planet has rings." at any position (since another OXP might append something to the end of the description).
So if anyone has a more elegant suggestion than mine, I am all ears!
Don't know a thing about elegance, but some oxps use something like oxpName_runOnce missionVariable, whose existence is checked before the code is run and is written the first time the code is run.


Top
   
PostPosted: Sun Sep 24, 2017 11:27 am 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Sun Jul 19, 2015 1:09 pm
Posts: 418
Quote:
some oxps use something like oxpName_runOnce missionVariable, whose existence is checked before the code is run and is written the first time the code is run.
That's nice to know, but I don't think it would fit the purpose here as this OXP has to be constantly running since the shader has to generate the rings in real time. But the solution I found of searching the description for the phrase is quite satisfactory and gets the job done without any performance issues, albeit a bit inelegant. But I can live with that :D


Top
   
PostPosted: Thu Sep 28, 2017 8:02 pm 
Offline
Deadly
Deadly

Joined: Sat May 01, 2010 9:05 pm
Posts: 129
Location: Scotland
Quote:
but I wouldn't use the term "ring system", it would sound confusing since we speak of star systems already.
Talking of a "ring system" is fine. At different time in the study of the Solar system it has had one ring around one planet (Saturn), 3 rings around one planet (still Saturn, but with visible gaps), 4 rings around one planet (about 1950, another gap identified), then IIRC 7 rings around 2 planets (3 on Jupiter, 4 on Saturn, shortly pre-Voyager), then dozens of rings around 3 planets (Uranus has at least 5, detected by star occultations from the ground). The current estimate is a million-plus rings, mostly around Saturn, some around Jupiter, some around Uranus, at least 3 around Charilko (Arxiv a couple of days ago, Arxiv-1706.00207 The structure of Chariklos rings from stellar occultations), and I wouldn't bet a soggy cigarette against there being other ring systems within the Solar system.

Ring systems aren't simple, as soon as you start to look. Quite why you'd want to look closely unless you're running out of volatiles is another question. Flying lumps - bad news - be elsewhere.

_________________
--
Shooting aliens for fun and ... well more fun.


Top
   
PostPosted: Fri Sep 29, 2017 10:24 am 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Sun Jul 19, 2015 1:09 pm
Posts: 418
@RockDoctor thanks for all the info but I just meant that perhaps the term would sound confusing, but then again I am not a native speaker. Nevertheless "This planet has rings" sounds all right to me :)


Top
   
PostPosted: Fri Oct 13, 2017 5:11 pm 
Offline
Deadly
Deadly

Joined: Sat May 01, 2010 9:05 pm
Posts: 129
Location: Scotland
Quote:
@RockDoctor thanks for all the info
More incoming. It's a firehose.
A paper published yesterday described a ring around the Trans-Neptunian Object Haumea. The abstract is available on Nature's website, and the full paper and data at http://sci-hub.cc/http://www.nature.com ... 24051.html. You'll probably just want the abstract information :
Quote:
Secondary events observed around the main body of Haumea are consistent with the presence of a ring with an opacity of 0.5, width of 70 kilometres and radius of about 2,287 kilometres. The ring is coplanar with both Haumea’s equator and the orbit of its satellite Hi’iaka. The radius of the ring places it close to the 3:1 mean-motion resonance with Haumea’s spin period ... Haumea’s largest axis (diameter!) is at least 2,322 kilometres
Neglecting the odd shape of Haumea (it's seriously not a sphere, and it's not even an ellipsoid of rotation), that gives you some grounds for your ring opacity figure, and some hints for ring radius - small integer ratios of the 2/3rd power of the radius of the primary (assuming Keplerian dynamics). The presence of close-in satellites does not preclude there being a ring (again, Haumea is really weird - it's satellites are not all in one plane).
I've noticed over the last couple of days flying around that the number of "thin, far out" rings seems to have increased (it may be coincidence though), which from this example and the Uranian example, sounds generally justified.

_________________
--
Shooting aliens for fun and ... well more fun.


Top
   
PostPosted: Sun Oct 15, 2017 10:43 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Sun Jul 19, 2015 1:09 pm
Posts: 418
Yeah, I have read the news about Haumea, really interesting stuff!
Quote:
I've noticed over the last couple of days flying around that the number of "thin, far out" rings seems to have increased (it may be coincidence though), which from this example and the Uranian example, sounds generally justified.
I think it might be a coincidence. In the last release I did tweak the conditional for the rings a bit so that now there are more planets with rings, but I did not change the formula itself. This means that if a planet had rings before, they will still have them and they will look identically to how they were before. The ratio of thin/thick rings should remain the same as before as well, as the formula behind it and the random distribution were not changed. Now if the question is whether thin rings are more common than thick ones regarding this OXP, I simply wouldn't know: I am not sure how the random distribution is looking after I process it with the ring formulas! I might take a look at this when I get a chance if anyone is curious.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 147 posts ]  Go to page Previous 16 7 8 9 10

All times are UTC


Who is online

Users browsing this forum: No registered users and 23 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
cron
Powered by phpBB® Forum Software © phpBB Limited