« Réunion du 28-11-2023 » : différence entre les versions

De OSWiki
Aller à la navigation Aller à la recherche
 
(26 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
= Changements du code de la semaine=
= Changements du code de la semaine=
* Git master a été déplacé vers  dotnet 6.0 : Mono et .net framework sont maintenant morts et son remplacés par dotnet. La version actuelle de dotnet est la 8.0, mais la 6.0 est une LTS et sera donc supportée pendant encore au moins un an.
* Git master a été déplacé vers  dotnet 6.0 : Mono et .net framework sont maintenant morts et son remplacés par dotnet. La version actuelle de dotnet est la 8.0, mais la 6.0 est une LTS et sera donc supportée pendant encore au moins un an.
* La branche dotnet6, qui est maintenant "morte".  
* La branche dotnet6 est maintenant "morte".  
* Le master précédent avec le code pour .net framework 4.x et Mono est stocké sur une branche appelée Mono-Net4X
* Le master précédent avec le code pour .net framework 4.x et Mono est stocké sur une branche appelée Mono-Net4X
* Plus d'informations : http://opensimulator.org/wiki/Branches


= Avertissement =
= Avertissement =
Ligne 8 : Ligne 9 :


= Code général =
= Code général =
=== Documentation ===
* La documentation du code OpenSim n'existe que dans le code lui même. Pour l'heure, il faut lire le code, la documentation n'existe pas encore.
* On peut chercher des mots clés dans les sources, dans un module spécifique.
* Exemple : la copie d'objets et la vérification du mode god sont probablement quelque part dans Permissions.
=Scripts=
=== llCreatLink===
* Changement dans la spécification LSL qui fait passer le délai de llCreateLink de 1000ms à 100ms.
* Quelques tests avec de grands ensembles de liens révèlent que cela ajoute pas mal de cpu. Les intervalles inférieurs, comme 10ms, font planter les threads directement.
* Le code OpenSim restera à 1000 ms : dixit Ubit Umarov. La liaison est une opération lourde, il faut créer un nouvel objet et copier toutes les parties.
* Le problème du manque de capacité des viewers par rapports aux moteurs de jeux est que le contenu peut être modifié pendant l'opération : il y a le contenu modifié par l'humain et le contenu modifié par le script.
* Le code gérant la liaison des objets dans le code du système d'exploitation avait beaucoup de surcharge inutile, il a été modifié et il est bien meilleur.


= Base de données =
= Base de données =
===PostgresSQL ===
===PostgresSQL ===
*Les nouvelles versions de Postgres sont complètement boguées, donc les migrations elles-mêmes échouent.
*Les nouvelles versions de Postgres sont complètement boguées, donc les migrations elles-mêmes échouent.
- soit les migrations doivent être modifiées, ce qui pourrait casser les anciennes versions de Postgres,
** soit les migrations doivent être modifiées, ce qui pourrait casser les anciennes versions de Postgres,
- soit il faut faire de la détection de version et lancer des migrations différentes.
** soit il faut faire de la détection de version et lancer des migrations différentes.
* Il faut laisser Postgres corriger les bogues.
 
=== Double structure de base de données ===
* MySQL et Apache CouchDB
* Apache CouchDB est un système de gestion de base de données orienté documents, écrit en langage Erlang et distribué sous licence Apache. [https://fr.wikipedia.org/wiki/CouchDB]. CouchDB est soutenu par Apache, donc il ne disparaîtra pas d'un jour à l'autre ce qui n'est pas le cas de MongoDB [https://fr.wikipedia.org/wiki/MongoDB].
* Les données identifiées comme appartenant à un utilisateur n'ont pas besoin de partager une grande table.


= Modules =
= Modules =
= Bugs =
=== Chat vocal ===
= Tests =
* Il faut se renseigner auprès des personnes qui s'occupent de solutions vocales pour OpenSim, comme [https://echovoice.infinitemetaverse.org/ EchoVoice de Infinite Metaverse Alliance (IMA) ] dont les projets semblent à l'arrêt ou pas commencés ?
* Le chat voval va nécessiter des centaines d'heures de travail pour comprendre comment il fonctionne et comment il peut être remplacé. A moins qu'il ne se mette à pleuvoir de l'argent du ciel, cela prendra des mois de temps libre.
* Il faut surveiller [[Réunion_du_14-11-2023#OSCC_2023_--_11e_édition |le programme de l'OSCC]], il pourrait y avoir une table ronde sur l'assistance vocale.
 
= Projets en cours / Infos=
= Projets en cours / Infos=
= Viewers=
=== OSCC 2023 ===
* Toutes les informations [[Réunion_du_14-11-2023#OSCC_2023_--_11e_édition| ici]].
* Version compacte du programme de l'OSCC : https://conference.opensimulator.org/compact-schedule/
* D'autres événements sont ajoutés cette semaine pour les sessions zoom après la conférence et les événements communautaires. Si vous souhaitez en organiser un, veuillez l'ajouter au lien "Get Involved".
 
= Source=
= Source=
<!--
http://opensimulator.org/wiki/Chat_log_from_the_meeting_on_2023-11-28
[12:16 PM PT]  Vincent.Sylvester @hg.zetaworlds.com: I made quite a lot of progress on a migration check routine last week, unfortunately in testing for that I noticed that newer versions of Postgres are completely buggered. The migrations themselves fail. So either the migrations need changing, which might break older Postgres versions or need to do version detection and run different migrations.
[12:20 PM PT]  Vincent.Sylvester @hg.zetaworlds.com: Let others work out the bugs first heh
[12:22 PM PT]  Vincent.Sylvester @hg.zetaworlds.com: Postgres blowing up did make me look at alternatives again, especially in regards to data structure, but whether having a dual DB structure with mySQL and CouchDB is going to improve performance any I'll have to see. Just seems to me like data that is identified to belong to a user doesn't need to share a large table
[12:23 PM PT]  Clifford.Hanger @alternatemetaverse.com:8002: i can see that
[12:25 PM PT]  Clifford.Hanger @alternatemetaverse.com:8002: silly question?
[12:25 PM PT]  Orbert.Tatham @hg.zetaworlds.com: CouchDB? Are we really interested in adding the whole Erlang baggage to this?
[12:25 PM PT]  Clifford.Hanger @alternatemetaverse.com:8002: is there any where i can look to find out which .cs file has what purpose?
[12:26 PM PT]  Vincent.Sylvester @hg.zetaworlds.com: Well it's an option. I did originally look at Mongo, but Couch is backed by Apache so we know that won't just go poof from one day to the other
[12:26 PM PT]  Clifford.Hanger @alternatemetaverse.com:8002: some are descriptive
[12:26 PM PT]  Vincent.Sylvester @hg.zetaworlds.com: You'll have to read the code basically, we don't document to that depth
[12:27 PM PT]  Clifford.Hanger @alternatemetaverse.com:8002: a lot of reading lol!
[12:28 PM PT]  Vincent.Sylvester @hg.zetaworlds.com: I don't think anyone knows the entire codebase, when changes are necessary you just read what's there and fix things
[12:28 PM PT]  Clifford.Hanger @alternatemetaverse.com:8002: its knowing where to look is my problem
[12:28 PM PT]  Ubit Umarov: savings in anti-insomnia drugs.!
[12:28 PM PT]  Lyr Lobo: hehe
[12:29 PM PT]  Vincent.Sylvester @hg.zetaworlds.com: You can search the codebase for keywords or look into the specific module, what are you looking for?
[12:30 PM PT]  Clifford.Hanger @alternatemetaverse.com:8002: copying of objects and checking god mode
[12:31 PM PT]  Clifford.Hanger @alternatemetaverse.com:8002: found some bits
[12:31 PM PT]  Vincent.Sylvester @hg.zetaworlds.com: That's probably somewhere in Permissions
[12:31 PM PT]  Clifford.Hanger @alternatemetaverse.com:8002: but not all
[12:34 PM PT]  Clifford.Hanger @alternatemetaverse.com:8002: hi andrew
[12:34 PM PT]  Orbert.Tatham @hg.zetaworlds.com: He lives
[12:34 PM PT]  Andrew Hellershanks: Hello, everyone.
[12:35 PM PT]  Andrew Hellershanks: I had to help the PSW who is helping my mother. She arrived at the time the meeting started.
[12:35 PM PT]  Orbert.Tatham @hg.zetaworlds.com: Timing is everything
[12:35 PM PT]  Andrew Hellershanks: Yes, it is.
[12:36 PM PT]  Andrew Hellershanks: What have I missed?
[12:36 PM PT]  Vincent.Sylvester @hg.zetaworlds.com: Speaking of. Change in LSL spec moving llCreateLink delay from 1000ms to 100ms. I did some tests with large linksets and it adds quite a bit of cpu. Any lower intervals, like 10ms, just crash the threads directly
[12:38 PM PT]  Clifford.Hanger @alternatemetaverse.com:8002: i have to ask
[12:38 PM PT]  Ubit Umarov: our code stays in 1000ms
[12:38 PM PT]  Clifford.Hanger @alternatemetaverse.com:8002: any development on voice?
[12:39 PM PT]  Ubit Umarov: the default. tha tis
[12:39 PM PT]  Clifford.Hanger @alternatemetaverse.com:8002 hides
[12:39 PM PT]  Vincent.Sylvester @hg.zetaworlds.com: I don't see the point of changing that either, the cpu increase really isn't worth it
[12:40 PM PT]  Vincent.Sylvester @hg.zetaworlds.com: 500ms I could justify perhaps, but a tenfold change is a bit much
[12:42 PM PT]  Andrew Hellershanks: My thought is to wonder why it requires so much CPU.
[12:42 PM PT]  Ubit Umarov: and fun when some objects can have 1k prims or more...
[12:42 PM PT]  Vincent.Sylvester @hg.zetaworlds.com: Linking is a heavy operation, it has to create a new object and copy all the parts
[12:44 PM PT]  Ubit Umarov: content that can be changed at runtime is great..  but ll is just suicidal
[12:44 PM PT]  Andrew Hellershanks: Why does it need to create a new object. You have two SOP/SOG items. It should not that much more complicated than updating one to link in to the other.
[12:44 PM PT]  Andrew Hellershanks: It should be not that much more...
[12:44 PM PT]  Ubit Umarov: seems they do not understand that is main reason why viewers at so bad relative to game engines
[12:45 PM PT]  Ubit Umarov: and one thing is content modified by humans, other it by scripts..
[12:45 PM PT]  Joe Magarac: Linking viewer side is cheap. It's just reparenting.
[12:46 PM PT]  Ubit Umarov: not really
[12:47 PM PT]  Ubit Umarov: but details...
[12:47 PM PT]  Joe Magarac: I've had to code it from scratch. It doesn't do much. Doesn't even cost an object creation.
[12:53 PM PT]  Andrew Hellershanks: The code handling linking of objects in the OS code used to have a lot of unneeded overhead but it was a lot better the last time I looked at it.
[12:53 PM PT]  Clifford.Hanger @alternatemetaverse.com:8002: I take it, its a no?
[12:53 PM PT]  Andrew Hellershanks: Clifford, you would have better luck asking the people working on voice solutions for OS.
[12:53 PM PT]  Ubit Umarov: you call it unneeded :p
[12:54 PM PT]  Clifford.Hanger @alternatemetaverse.com:8002: who would that be?
[12:54 PM PT]  Vincent.Sylvester @hg.zetaworlds.com: Still have to figure out how to fix that unlink bug
[12:55 PM PT]  Andrew Hellershanks: Ubit, It used to do a lot of work unlinking nodes from one list and then linking them to the other list, one at a time. With two linked lists the tail of one can point at the head of the next and you're done. The only tricky part is changing the root prim of the second object in to an ordinary prim then doing some renumbering.
[12:57 PM PT]  Ubit Umarov: wel i did change that link code yes..
[12:57 PM PT]  Andrew Hellershanks: Clifford, The first set of people that comes to mind are the ones behind EchoVoice.
[12:57 PM PT]  Andrew Hellershanks: Ubit, yes. It was changed and is a lot better.
[12:58 PM PT]  Vincent.Sylvester @hg.zetaworlds.com: Voice is going to require hundreds of hours of work most likely in just figuring out how it works and how it can be replaced. Unless it starts to rain money from the sky that'll take months of spare time
[12:59 PM PT]  Clifford.Hanger @alternatemetaverse.com:8002: understood
[12:59 PM PT]  Clifford.Hanger @alternatemetaverse.com:8002: but i thought it had been decided that echovoice was a non starter
[1:00 PM PT]  Vincent.Sylvester @hg.zetaworlds.com: Anything IMA is a non starter
[1:00 PM PT]  Andrew Hellershanks: Clifford, keep an eye on the OSCC schedule. There might be a panel about voice support. That would be a good time to find out what is going on.
[1:01 PM PT]  Joe Magarac: Have to go, next meeting.
[1:01 PM PT]  Clifford.Hanger @alternatemetaverse.com:8002: isnt that an IMA gig?
[1:01 PM PT]  Andrew Hellershanks: ok, Joe. Thanks for dropping by.
[1:01 PM PT]  Clifford.Hanger @alternatemetaverse.com:8002: yes Joe sorry me too
[1:01 PM PT]  Clifford.Hanger @alternatemetaverse.com:8002: hangercliff07@gmail.com
[1:01 PM PT]  Andrew Hellershanks: IIRC, EchoVoice is an IMA thing. I don't remember off hand what other projects there are underway related to voice.
[1:02 PM PT]  Clifford.Hanger @alternatemetaverse.com:8002: if you want to point me in a better direction
[1:02 PM PT]  Lyr Lobo: https://conference.opensimulator.org/compact-schedule/
[1:03 PM PT]  Lyr Lobo: Here is a compact version of the OSCC schedule
[1:03 PM PT]  Ubit Umarov: ty :)
[1:03 PM PT]  Lyr Lobo: more events are adding this week for the zoom sessions following the conference and community events
[1:03 PM PT]  Lyr Lobo: if you wish to host one, please add it to the Get Involved link
[1:03 PM PT]  Lyr Lobo: https://conference.opensimulator.org/compact-schedule/
[1:03 PM PT]  Lyr Lobo: Many thanks *smiles*
[1:04 PM PT]  Andrew Hellershanks: Thank you, Lyr.
[1:04 PM PT]  Lyr Lobo grins
[1:05 PM PT]  Andrew Hellershanks: Any other questions or comments for today before we wrap things up?
[1:06 PM PT]  Andrew Hellershanks: I don't see anyone typing so I will take that as us being done for this week.
[1:06 PM PT]  Ubit Umarov: :)
[1:07 PM PT]  Andrew Hellershanks: The start time for this meeting coincides with the time of a person coming to the house to help my mother so I will often be stepping away during the meeting of may be late depending on when the PSW arrives on the day.
[1:07 PM PT]  Lyr Lobo: Thank you!
[1:07 PM PT]  Andrew Hellershanks: Thank you all for coming. See you again next week.
[1:07 PM PT]  Lyr Lobo: Most understandable
[1:08 PM PT]  Ubit Umarov: ok rl calls..  cya later :)
[1:08 PM PT]  Andrew Hellershanks: s/of may/or may/
[1:08 PM PT]  Lyr Lobo: Have a great week
[1:08 PM PT]  Lyr Lobo: off to make breakfast and chase a class
[1:08 PM PT]  Lyr Lobo: *waves*
[1:08 PM PT]  Andrew Hellershanks: Vincent, I am hazarding a guess that you will be posting the meeting log any moment now as I wasn't here for the first part of it?
[1:09 PM PT]  Andrew Hellershanks waves to Lyr.
[1:09 PM PT]  Vincent.Sylvester @hg.zetaworlds.com: heh
-->

Dernière version du 30 novembre 2023 à 14:43

Changements du code de la semaine

  • Git master a été déplacé vers dotnet 6.0 : Mono et .net framework sont maintenant morts et son remplacés par dotnet. La version actuelle de dotnet est la 8.0, mais la 6.0 est une LTS et sera donc supportée pendant encore au moins un an.
  • La branche dotnet6 est maintenant "morte".
  • Le master précédent avec le code pour .net framework 4.x et Mono est stocké sur une branche appelée Mono-Net4X
  • Plus d'informations : http://opensimulator.org/wiki/Branches

Avertissement

Attention : Ce résumé existe pour orienter vos recherches. Des erreurs d'interprétation ne sont pas à exclure. Pour plus de précisions, veuillez vous référer aux sources ou vous adresser directement aux développeurs d'OpenSimulator en assistant aux réunions du mardi ou sur le canal IRC


Code général

Documentation

  • La documentation du code OpenSim n'existe que dans le code lui même. Pour l'heure, il faut lire le code, la documentation n'existe pas encore.
  • On peut chercher des mots clés dans les sources, dans un module spécifique.
  • Exemple : la copie d'objets et la vérification du mode god sont probablement quelque part dans Permissions.

Scripts

llCreatLink

  • Changement dans la spécification LSL qui fait passer le délai de llCreateLink de 1000ms à 100ms.
  • Quelques tests avec de grands ensembles de liens révèlent que cela ajoute pas mal de cpu. Les intervalles inférieurs, comme 10ms, font planter les threads directement.
  • Le code OpenSim restera à 1000 ms : dixit Ubit Umarov. La liaison est une opération lourde, il faut créer un nouvel objet et copier toutes les parties.
  • Le problème du manque de capacité des viewers par rapports aux moteurs de jeux est que le contenu peut être modifié pendant l'opération : il y a le contenu modifié par l'humain et le contenu modifié par le script.
  • Le code gérant la liaison des objets dans le code du système d'exploitation avait beaucoup de surcharge inutile, il a été modifié et il est bien meilleur.

Base de données

PostgresSQL

  • Les nouvelles versions de Postgres sont complètement boguées, donc les migrations elles-mêmes échouent.
    • soit les migrations doivent être modifiées, ce qui pourrait casser les anciennes versions de Postgres,
    • soit il faut faire de la détection de version et lancer des migrations différentes.
  • Il faut laisser Postgres corriger les bogues.

Double structure de base de données

  • MySQL et Apache CouchDB
  • Apache CouchDB est un système de gestion de base de données orienté documents, écrit en langage Erlang et distribué sous licence Apache. [1]. CouchDB est soutenu par Apache, donc il ne disparaîtra pas d'un jour à l'autre ce qui n'est pas le cas de MongoDB [2].
  • Les données identifiées comme appartenant à un utilisateur n'ont pas besoin de partager une grande table.

Modules

Chat vocal

  • Il faut se renseigner auprès des personnes qui s'occupent de solutions vocales pour OpenSim, comme EchoVoice de Infinite Metaverse Alliance (IMA) dont les projets semblent à l'arrêt ou pas commencés ?
  • Le chat voval va nécessiter des centaines d'heures de travail pour comprendre comment il fonctionne et comment il peut être remplacé. A moins qu'il ne se mette à pleuvoir de l'argent du ciel, cela prendra des mois de temps libre.
  • Il faut surveiller le programme de l'OSCC, il pourrait y avoir une table ronde sur l'assistance vocale.

Projets en cours / Infos

OSCC 2023

  • Toutes les informations ici.
  • Version compacte du programme de l'OSCC : https://conference.opensimulator.org/compact-schedule/
  • D'autres événements sont ajoutés cette semaine pour les sessions zoom après la conférence et les événements communautaires. Si vous souhaitez en organiser un, veuillez l'ajouter au lien "Get Involved".

Source

http://opensimulator.org/wiki/Chat_log_from_the_meeting_on_2023-11-28