New Celestia unified runtime database
-
Topic authorpirogronian
- Developer
- Posts: 234
- Joined: 05.01.2018
- Age: 38
- With us: 6 years 11 months
- Location: Wrocław
- Contact:
- Lafuente_Astronomy
- Moderator
- Posts: 726
- Joined: 04.08.2018
- Age: 26
- With us: 6 years 4 months
- Location: Cebu City, Cebu Province, Philippines
- Contact:
pirogronian wrote:Actually I'm not waiting for 1.7 nor any other release, just waiting for my life energy to return
Ahhh. Wanna have an energy drink?
Official Administrator of the Celestia Discord Server.
Invite: https://discordapp.com/invite/WEWDcJh
If you don't have a Discord account, register here: https://discordapp.com/register
Have a blessed day.
Invite: https://discordapp.com/invite/WEWDcJh
If you don't have a Discord account, register here: https://discordapp.com/register
Have a blessed day.
-
Topic authorpirogronian
- Developer
- Posts: 234
- Joined: 05.01.2018
- Age: 38
- With us: 6 years 11 months
- Location: Wrocław
- Contact:
I'd prefer a new liver, pancreas and spleen. Maybe something more. Time will came, we will see.Lafuente_Astronomy wrote:Ahhh. Wanna have an energy drink?
What exactly?fyr02 wrote:nice one.
Still formally developer, but too tired to develop. I feel sad, but Celestia is going forward despite it.
Btw, the universe is ruled by electricity.
Btw, the universe is ruled by electricity.
- fyr02
- Posts: 249
- Joined: 19.04.2019
- Age: 19
- With us: 5 years 7 months
- Location: San Diego, California (United States)
Smooth transition by Lafuente_Astro.
In all seriousness, you should probably release whatever you have for 1.7 as "1.7.0-pre1" or something
Ahhh, the nice scent of surgical tools that comes when you realize that you've been working on this stupid space simulator for too long.I'd prefer a new liver, pancreas and spleen. Maybe something more. Time will came, we will see.
In all seriousness, you should probably release whatever you have for 1.7 as "1.7.0-pre1" or something
- Lafuente_Astronomy
- Moderator
- Posts: 726
- Joined: 04.08.2018
- Age: 26
- With us: 6 years 4 months
- Location: Cebu City, Cebu Province, Philippines
- Contact:
Actually, it's ok if you take your time or your energy in making AstroDB. I'm just interested in the prospects that such a database would bring to Celestia as a whole. And the prospects are huge
Official Administrator of the Celestia Discord Server.
Invite: https://discordapp.com/invite/WEWDcJh
If you don't have a Discord account, register here: https://discordapp.com/register
Have a blessed day.
Invite: https://discordapp.com/invite/WEWDcJh
If you don't have a Discord account, register here: https://discordapp.com/register
Have a blessed day.
-
- Posts: 1
- Joined: 23.09.2019
- With us: 5 years 2 months
As Celestia have now ability to import new data, provided by user, there is a queston about translating such a data (for example - celestial object names, user defined category names etc). Current approach is usage of gettext, as for every other translatable string. But users providing new string are unable (without messing with system files) to provide translation for it. I see to solutions (not secessarily exclusive):
Allow users to bind own text domains and use dgettext when translating particular string.
Allow users to provide translations directly.
In both cases there would be a new class, incorporating string and translation method: domain name or array with translations.
Allow users to bind own text domains and use dgettext when translating particular string.
Allow users to provide translations directly.
In both cases there would be a new class, incorporating string and translation method: domain name or array with translations.
Last edited by barrysingh101 on 10.10.2019, 19:09, edited 1 time in total.
-
Topic authorpirogronian
- Developer
- Posts: 234
- Joined: 05.01.2018
- Age: 38
- With us: 6 years 11 months
- Location: Wrocław
- Contact:
To be precise, this mechanism isnt a part of official Celestia yet.
As I can remember (I stalled my work a bit), domain is automatically set to directory of processed data file.
As I can remember (I stalled my work a bit), domain is automatically set to directory of processed data file.
Still formally developer, but too tired to develop. I feel sad, but Celestia is going forward despite it.
Btw, the universe is ruled by electricity.
Btw, the universe is ruled by electricity.
- Lafuente_Astronomy
- Moderator
- Posts: 726
- Joined: 04.08.2018
- Age: 26
- With us: 6 years 4 months
- Location: Cebu City, Cebu Province, Philippines
- Contact:
barrysingh101 wrote:As Celestia have now ability to import new data, provided by user, there is a queston about translating such a data (for example - celestial object names, user defined category names etc). Current approach is usage of gettext, as for every other translatable string. But users providing new string are unable (without messing with system files) to provide translation for it. I see to solutions (not secessarily exclusive):
Allow users to bind own text domains and use dgettext when translating particular string.
Allow users to provide translations directly.
In both cases there would be a new class, incorporating string and translation method: domain name or array with translations.
Could you clarify to me what these things are?
Official Administrator of the Celestia Discord Server.
Invite: https://discordapp.com/invite/WEWDcJh
If you don't have a Discord account, register here: https://discordapp.com/register
Have a blessed day.
Invite: https://discordapp.com/invite/WEWDcJh
If you don't have a Discord account, register here: https://discordapp.com/register
Have a blessed day.
-
- Site Admin
- Posts: 706
- Joined: 22.09.2018
- With us: 6 years 2 months
-
Topic authorpirogronian
- Developer
- Posts: 234
- Joined: 05.01.2018
- Age: 38
- With us: 6 years 11 months
- Location: Wrocław
- Contact:
Changelog update:
* Added Lua interface for names manipulation. It means user is now able to add and remove names of objects from Lua. Names local tova planetary system aren't supported yet.
* ...and somw bugfixes related to it.
* I started new branch as a merge proxy between master and AstroDb. It's still local, but you may notice recent commits in astrodb focused on avoiding name conflicts. It's my another try to merge it with possibly painless way. Perhaps many other changes could be done yet, but it become extremly difficult to maintain such a big branch separately. I'm only praying to God for @onetwothree acceptance, when it will become soon a pull request...
* Added Lua interface for names manipulation. It means user is now able to add and remove names of objects from Lua. Names local tova planetary system aren't supported yet.
* ...and somw bugfixes related to it.
* I started new branch as a merge proxy between master and AstroDb. It's still local, but you may notice recent commits in astrodb focused on avoiding name conflicts. It's my another try to merge it with possibly painless way. Perhaps many other changes could be done yet, but it become extremly difficult to maintain such a big branch separately. I'm only praying to God for @onetwothree acceptance, when it will become soon a pull request...
Still formally developer, but too tired to develop. I feel sad, but Celestia is going forward despite it.
Btw, the universe is ruled by electricity.
Btw, the universe is ruled by electricity.
- Lafuente_Astronomy
- Moderator
- Posts: 726
- Joined: 04.08.2018
- Age: 26
- With us: 6 years 4 months
- Location: Cebu City, Cebu Province, Philippines
- Contact:
pirogronian wrote:Changelog update:
* Added Lua interface for names manipulation. It means user is now able to add and remove names of objects from Lua. Names local tova planetary system aren't supported yet.
* ...and somw bugfixes related to it.
* I started new branch as a merge proxy between master and AstroDb. It's still local, but you may notice recent commits in astrodb focused on avoiding name conflicts. It's my another try to merge it with possibly painless way. Perhaps many other changes could be done yet, but it become extremly difficult to maintain such a big branch separately. I'm only praying to God for @onetwothree acceptance, when it will become soon a pull request...
Amen to that, brother! I mean, the updates do look good in all parts. So, does that mean I can add any names to objects other than stars? Because so far, I can only add names to stars through the starnames.dat file. Also, do you mind sharing the link to the AstroDB's github here?
Official Administrator of the Celestia Discord Server.
Invite: https://discordapp.com/invite/WEWDcJh
If you don't have a Discord account, register here: https://discordapp.com/register
Have a blessed day.
Invite: https://discordapp.com/invite/WEWDcJh
If you don't have a Discord account, register here: https://discordapp.com/register
Have a blessed day.
-
Topic authorpirogronian
- Developer
- Posts: 234
- Joined: 05.01.2018
- Age: 38
- With us: 6 years 11 months
- Location: Wrocław
- Contact:
Lafuente_Astronomy wrote:So, does that mean I can add any names to objects other than stars? Because so far, I can only add names to stars through the starnames.dat. Also, do you mind sharing the link to the AstroDB's github here?
Yes, You can add any name to any object: DSO, body, even Location. All
object:addname(string canonical, string nls-domain, bool greek) : bool
or
object:addalias(string canonical, string nls-domain, bool greek) : bool
Second argument is a local directory name, where gettext translations are placed. Default is null.
Third argument is flag whenever to replace greek abbreviations by ordinary greek letters. Default is true.
Difference between functions is the first one place added name as "primary" one, returned by getName method.
Both methods returns true on success, false otherwise.
To remove name, call
object:removename(string canonical/nameobject name, bool greek) : bool
First parameter is canonical name string or "name object" (see below).
To list all objects' names (but not catalog numbers):
object:getnames() : table
This method return table of name objects. Name objects is new type, representing name, its translation and context. Methods:
name:getcanonical() - get canonical name
name:getlocalized() - get translated name
name:getobject() - get object name belongs to.
For anyone who wants to test - AstroDB branch is where it was from beginning, and here is a link: https://github.com/CelestiaProject/Celestia/tree/astrodb
Still formally developer, but too tired to develop. I feel sad, but Celestia is going forward despite it.
Btw, the universe is ruled by electricity.
Btw, the universe is ruled by electricity.
- Lafuente_Astronomy
- Moderator
- Posts: 726
- Joined: 04.08.2018
- Age: 26
- With us: 6 years 4 months
- Location: Cebu City, Cebu Province, Philippines
- Contact:
-
Topic authorpirogronian
- Developer
- Posts: 234
- Joined: 05.01.2018
- Age: 38
- With us: 6 years 11 months
- Location: Wrocław
- Contact:
Bad news. Due to health problems, I have to withdraw from active developement (and modering). All code from AstroDb branch is free to use (as always). Best wishes for everyone.
Still formally developer, but too tired to develop. I feel sad, but Celestia is going forward despite it.
Btw, the universe is ruled by electricity.
Btw, the universe is ruled by electricity.
-
- Site Admin
- Posts: 706
- Joined: 22.09.2018
- With us: 6 years 2 months
-
Topic authorpirogronian
- Developer
- Posts: 234
- Joined: 05.01.2018
- Age: 38
- With us: 6 years 11 months
- Location: Wrocław
- Contact:
Oh, maybe it's wrong statement. Perhaps I should to write "personal problems" or so, because while my health is heavely involved, I'm surely not going to die... Just not have enough "resources" anymore to participate in the project. And let's say it - I didnt add much to the project. Importance of my biggest effort (astrodb) is questionable for me - maybe I was too ambitious. Meanwhile I see that Celestia's developement is going forward and in good direction and it's fine and most important.
Still formally developer, but too tired to develop. I feel sad, but Celestia is going forward despite it.
Btw, the universe is ruled by electricity.
Btw, the universe is ruled by electricity.
- Anthony_B_Russo10
- Moderator
- Posts: 672
- Joined: 03.07.2018
- Age: 21
- With us: 6 years 5 months
- Location: Tallahassee, Florida, US
Hopefully you can keep some kind of involvement in this project.
Anthony B. Russo, I like Pluto. Mod of the Celestia subreddit: https://www.reddit.com/r/Celestiasoftware/
I have over 40 computers, trying to list them here would be a pain.
Responsible for the NEO catalog: https://celestiaproject.space/forum/viewtopic.php?f=23&t=22203
And mod of the Discord server.
I have over 40 computers, trying to list them here would be a pain.
Responsible for the NEO catalog: https://celestiaproject.space/forum/viewtopic.php?f=23&t=22203
And mod of the Discord server.