[Scilab-users] example of library

classic Classic list List threaded Threaded
9 messages Options
fmiyara fmiyara
Reply | Threaded
Open this post in threaded view
|

[Scilab-users] example of library


Dear all,

I'm trying to create some examples illustrating types in Scilab and functions such as type and typeof.


However, I cannot find a native library of functions to test type 14.

The documentation for library

https://help.scilab.org/docs/6.0.2/en_US/library.html

gives an example using elementary_functionlib, but when running the sample script I get the error message

Undefined variable: elementary_functionlib

Is it possible that the name has changed and the example has not been updated yet?

Thanks.

Federico Miyara

_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
fmiyara fmiyara
Reply | Threaded
Open this post in threaded view
|

Re: example of library


Dear all,

I could finally work it out: The function

librarieslist()

provides a list of Scilab libraries, and the elementary function library is called

elementary_functionslib

instead of

elementary_functionlib

There is a typo in the example (a plural is missing)--thrice!. That's why the example didn't work!

Somebody told me I could edit the documentation by myself. I need some permission? How I can get access to edit the help pages?

Regards,

Federico Miyara




On 09/11/2019 01:34, Federico Miyara wrote:

Dear all,

I'm trying to create some examples illustrating types in Scilab and functions such as type and typeof.


However, I cannot find a native library of functions to test type 14.

The documentation for library

https://help.scilab.org/docs/6.0.2/en_US/library.html

gives an example using elementary_functionlib, but when running the sample script I get the error message

Undefined variable: elementary_functionlib

Is it possible that the name has changed and the example has not been updated yet?

Thanks.

Federico Miyara

_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users


_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
Samuel GOUGEON Samuel GOUGEON
Reply | Threaded
Open this post in threaded view
|

Re: example of library

Le 09/11/2019 à 06:13, Federico Miyara a écrit :

Dear all,

I could finally work it out: The function

librarieslist()

provides a list of Scilab libraries, and the elementary function library is called

elementary_functionslib

instead of

elementary_functionlib

There is a typo in the example (a plural is missing)--thrice!. That's why the example didn't work!

Somebody told me I could edit the documentation by myself. I need some permission? How I can get access to edit the help pages?
  • login on the CodeReview portal, with your usual (Bugzilla) Scilab login and password:
    https://codereview.scilab.org => Sign in, in the top right
  • Contribute to an existing commit, just through the web interface.
Creating new commits and managing them is (quite) more complicated (at least it was, for me).
But many contributions are possible directly with the web interface, without knowing GIT,
including editing files.

Regards
Samuel


_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
fmiyara fmiyara
Reply | Threaded
Open this post in threaded view
|

Re: example of library


Samuel,

Somebody told me I could edit the documentation by myself. I need some permission? How I can get access to edit the help pages?
  • login on the CodeReview portal, with your usual (Bugzilla) Scilab login and password:
    https://codereview.scilab.org => Sign in, in the top right
  • Contribute to an existing commit, just through the web interface.
Creating new commits and managing them is (quite) more complicated (at least it was, for me).
But many contributions are possible directly with the web interface, without knowing GIT,
including editing files.

Would you please give me some extra hints?

I'm quite serious about starting to contribute corrections and improvements to some help pages, the only area where I feel confident that I can put my two cents for the time being (besides just detecting bugs).

I've been able to login, I arrive at this page:

https://codereview.scilab.org/#/q/status:open

There are many open subjects, of course none of them matches the bug I've filed earlier:

http://bugzilla.scilab.org/show_bug.cgi?id=16250

Anyway, I proceed and open the first one:

https://codereview.scilab.org/#/c/20723/

But now I'm completely at a loss. How do I locate the help page I want to edit from here?

Thanks in advance.

Federico Miyara 

_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
mottelet mottelet
Reply | Threaded
Open this post in threaded view
|

Re: example of library

Hello Frederico,

In order to create new commits you cannot avoid to start with installing GIT on your computer and getting the Scilab source files (which includes the documentation). Depending on your OS using GIT can be a different experience, but using the command line is not a must. For example under Windows you have https://gitforwindows.org/. Once you have installed any flavor of GIT, the remaining instructions are inside this Wiki https://wiki.scilab.org/gerrit

If all those things are too complicated for you, just give us (for example me or Samuel) the modified files and we will create the commit and you will be able to edit/update it directly on codereview.scilab.org

S.

Le 17/11/2019 à 23:29, Federico Miyara a écrit :

Samuel,

Somebody told me I could edit the documentation by myself. I need some permission? How I can get access to edit the help pages?
  • login on the CodeReview portal, with your usual (Bugzilla) Scilab login and password:
    https://codereview.scilab.org => Sign in, in the top right
  • Contribute to an existing commit, just through the web interface.
Creating new commits and managing them is (quite) more complicated (at least it was, for me).
But many contributions are possible directly with the web interface, without knowing GIT,
including editing files.

Would you please give me some extra hints?

I'm quite serious about starting to contribute corrections and improvements to some help pages, the only area where I feel confident that I can put my two cents for the time being (besides just detecting bugs).

I've been able to login, I arrive at this page:

https://codereview.scilab.org/#/q/status:open

There are many open subjects, of course none of them matches the bug I've filed earlier:

http://bugzilla.scilab.org/show_bug.cgi?id=16250

Anyway, I proceed and open the first one:

https://codereview.scilab.org/#/c/20723/

But now I'm completely at a loss. How do I locate the help page I want to edit from here?

Thanks in advance.

Federico Miyara 

_______________________________________________
users mailing list
[hidden email]
https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/users
-- 
Stéphane Mottelet
Ingénieur de recherche
EA 4297 Transformations Intégrées de la Matière Renouvelable
Département Génie des Procédés Industriels
Sorbonne Universités - Université de Technologie de Compiègne
CS 60319, 60203 Compiègne cedex
Tel : +33(0)344234688
http://www.utc.fr/~mottelet

_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
fmiyara fmiyara
Reply | Threaded
Open this post in threaded view
|

Re: example of library


Stéphane,

Thanks for your answer.

I'll try, as soon as I can, to see if I'm able to go into the GIT world, but it may take much more time than your second option.

So my next question is, how do I find the files to modify?

Should I download the source code?

And--this is embarrassing--I cannot track back what help page my own correction,

http://bugzilla.scilab.org/show_bug.cgi?id=16250

refers to, and as the bug is a very unspecific typo I cannot recall it.

Thank you very much for your patience!

Regards,

Federico Miyara

 


On 18/11/2019 06:44, Stéphane Mottelet wrote:

Hello Frederico,

In order to create new commits you cannot avoid to start with installing GIT on your computer and getting the Scilab source files (which includes the documentation). Depending on your OS using GIT can be a different experience, but using the command line is not a must. For example under Windows you have https://gitforwindows.org/. Once you have installed any flavor of GIT, the remaining instructions are inside this Wiki https://wiki.scilab.org/gerrit

If all those things are too complicated for you, just give us (for example me or Samuel) the modified files and we will create the commit and you will be able to edit/update it directly on codereview.scilab.org

S.

Le 17/11/2019 à 23:29, Federico Miyara a écrit :

Samuel,

Somebody told me I could edit the documentation by myself. I need some permission? How I can get access to edit the help pages?
  • login on the CodeReview portal, with your usual (Bugzilla) Scilab login and password:
    https://codereview.scilab.org => Sign in, in the top right
  • Contribute to an existing commit, just through the web interface.
Creating new commits and managing them is (quite) more complicated (at least it was, for me).
But many contributions are possible directly with the web interface, without knowing GIT,
including editing files.

Would you please give me some extra hints?

I'm quite serious about starting to contribute corrections and improvements to some help pages, the only area where I feel confident that I can put my two cents for the time being (besides just detecting bugs).

I've been able to login, I arrive at this page:

https://codereview.scilab.org/#/q/status:open

There are many open subjects, of course none of them matches the bug I've filed earlier:

http://bugzilla.scilab.org/show_bug.cgi?id=16250

Anyway, I proceed and open the first one:

https://codereview.scilab.org/#/c/20723/

But now I'm completely at a loss. How do I locate the help page I want to edit from here?

Thanks in advance.

Federico Miyara 

_______________________________________________
users mailing list
[hidden email]
https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/users
-- 
Stéphane Mottelet
Ingénieur de recherche
EA 4297 Transformations Intégrées de la Matière Renouvelable
Département Génie des Procédés Industriels
Sorbonne Universités - Université de Technologie de Compiègne
CS 60319, 60203 Compiègne cedex
Tel : +33(0)344234688
http://www.utc.fr/~mottelet

_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users


_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
mottelet mottelet
Reply | Threaded
Open this post in threaded view
|

Re: example of library

Hello,

the text is in the file:

./modules/elementary_functions/help/en_US/integer_representation/dec2base.xml

I have created the commit for you there:

https://codereview.scilab.org/#/c/21131/

S.

Le 19/11/2019 à 08:31, Federico Miyara a écrit :

Stéphane,

Thanks for your answer.

I'll try, as soon as I can, to see if I'm able to go into the GIT world, but it may take much more time than your second option.

So my next question is, how do I find the files to modify?

Should I download the source code?

And--this is embarrassing--I cannot track back what help page my own correction,

http://bugzilla.scilab.org/show_bug.cgi?id=16250

refers to, and as the bug is a very unspecific typo I cannot recall it.

Thank you very much for your patience!

Regards,

Federico Miyara

 


On 18/11/2019 06:44, Stéphane Mottelet wrote:

Hello Frederico,

In order to create new commits you cannot avoid to start with installing GIT on your computer and getting the Scilab source files (which includes the documentation). Depending on your OS using GIT can be a different experience, but using the command line is not a must. For example under Windows you have https://gitforwindows.org/. Once you have installed any flavor of GIT, the remaining instructions are inside this Wiki https://wiki.scilab.org/gerrit

If all those things are too complicated for you, just give us (for example me or Samuel) the modified files and we will create the commit and you will be able to edit/update it directly on codereview.scilab.org

S.

Le 17/11/2019 à 23:29, Federico Miyara a écrit :

Samuel,

Somebody told me I could edit the documentation by myself. I need some permission? How I can get access to edit the help pages?
  • login on the CodeReview portal, with your usual (Bugzilla) Scilab login and password:
    https://codereview.scilab.org => Sign in, in the top right
  • Contribute to an existing commit, just through the web interface.
Creating new commits and managing them is (quite) more complicated (at least it was, for me).
But many contributions are possible directly with the web interface, without knowing GIT,
including editing files.

Would you please give me some extra hints?

I'm quite serious about starting to contribute corrections and improvements to some help pages, the only area where I feel confident that I can put my two cents for the time being (besides just detecting bugs).

I've been able to login, I arrive at this page:

https://codereview.scilab.org/#/q/status:open

There are many open subjects, of course none of them matches the bug I've filed earlier:

http://bugzilla.scilab.org/show_bug.cgi?id=16250

Anyway, I proceed and open the first one:

https://codereview.scilab.org/#/c/20723/

But now I'm completely at a loss. How do I locate the help page I want to edit from here?

Thanks in advance.

Federico Miyara 

_______________________________________________
users mailing list
[hidden email]
https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/users
-- 
Stéphane Mottelet
Ingénieur de recherche
EA 4297 Transformations Intégrées de la Matière Renouvelable
Département Génie des Procédés Industriels
Sorbonne Universités - Université de Technologie de Compiègne
CS 60319, 60203 Compiègne cedex
Tel : +33(0)344234688
http://www.utc.fr/~mottelet

_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users


_______________________________________________
users mailing list
[hidden email]
https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/users
-- 
Stéphane Mottelet
Ingénieur de recherche
EA 4297 Transformations Intégrées de la Matière Renouvelable
Département Génie des Procédés Industriels
Sorbonne Universités - Université de Technologie de Compiègne
CS 60319, 60203 Compiègne cedex
Tel : +33(0)344234688
http://www.utc.fr/~mottelet

_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
fmiyara fmiyara
Reply | Threaded
Open this post in threaded view
|

Re: example of library


Stéphane,

Thanks, this has been very useful. With this help I've been able to locate the XML help page in my locally downloaded source code. I hope this will allow me to process future documetation fixes.

Regards,

Federico Miyara

On 19/11/2019 06:01, Stéphane Mottelet wrote:

Hello,

the text is in the file:

./modules/elementary_functions/help/en_US/integer_representation/dec2base.xml

I have created the commit for you there:

https://codereview.scilab.org/#/c/21131/

S.

Le 19/11/2019 à 08:31, Federico Miyara a écrit :

Stéphane,

Thanks for your answer.

I'll try, as soon as I can, to see if I'm able to go into the GIT world, but it may take much more time than your second option.

So my next question is, how do I find the files to modify?

Should I download the source code?

And--this is embarrassing--I cannot track back what help page my own correction,

http://bugzilla.scilab.org/show_bug.cgi?id=16250

refers to, and as the bug is a very unspecific typo I cannot recall it.

Thank you very much for your patience!

Regards,

Federico Miyara

 


On 18/11/2019 06:44, Stéphane Mottelet wrote:

Hello Frederico,

In order to create new commits you cannot avoid to start with installing GIT on your computer and getting the Scilab source files (which includes the documentation). Depending on your OS using GIT can be a different experience, but using the command line is not a must. For example under Windows you have https://gitforwindows.org/. Once you have installed any flavor of GIT, the remaining instructions are inside this Wiki https://wiki.scilab.org/gerrit

If all those things are too complicated for you, just give us (for example me or Samuel) the modified files and we will create the commit and you will be able to edit/update it directly on codereview.scilab.org

S.

Le 17/11/2019 à 23:29, Federico Miyara a écrit :

Samuel,

Somebody told me I could edit the documentation by myself. I need some permission? How I can get access to edit the help pages?
  • login on the CodeReview portal, with your usual (Bugzilla) Scilab login and password:
    https://codereview.scilab.org => Sign in, in the top right
  • Contribute to an existing commit, just through the web interface.
Creating new commits and managing them is (quite) more complicated (at least it was, for me).
But many contributions are possible directly with the web interface, without knowing GIT,
including editing files.

Would you please give me some extra hints?

I'm quite serious about starting to contribute corrections and improvements to some help pages, the only area where I feel confident that I can put my two cents for the time being (besides just detecting bugs).

I've been able to login, I arrive at this page:

https://codereview.scilab.org/#/q/status:open

There are many open subjects, of course none of them matches the bug I've filed earlier:

http://bugzilla.scilab.org/show_bug.cgi?id=16250

Anyway, I proceed and open the first one:

https://codereview.scilab.org/#/c/20723/

But now I'm completely at a loss. How do I locate the help page I want to edit from here?

Thanks in advance.

Federico Miyara 

_______________________________________________
users mailing list
[hidden email]
https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/users
-- 
Stéphane Mottelet
Ingénieur de recherche
EA 4297 Transformations Intégrées de la Matière Renouvelable
Département Génie des Procédés Industriels
Sorbonne Universités - Université de Technologie de Compiègne
CS 60319, 60203 Compiègne cedex
Tel : +33(0)344234688
http://www.utc.fr/~mottelet

_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users


_______________________________________________
users mailing list
[hidden email]
https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/users
-- 
Stéphane Mottelet
Ingénieur de recherche
EA 4297 Transformations Intégrées de la Matière Renouvelable
Département Génie des Procédés Industriels
Sorbonne Universités - Université de Technologie de Compiègne
CS 60319, 60203 Compiègne cedex
Tel : +33(0)344234688
http://www.utc.fr/~mottelet

_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users


_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
Samuel GOUGEON Samuel GOUGEON
Reply | Threaded
Open this post in threaded view
|

Re: example of library

In reply to this post by fmiyara
Dear Federico,

I am not sure that this users@ list in the prefered one to talk about technical details to contribute to Scilab development. dev@ should rather be targeted for this. Please do not hesitate to subscribe also to this other list (if not yet done).
For the time being, and my last answer here, i reply in the body of your message:

Le 17/11/2019 à 23:29, Federico Miyara a écrit :

Samuel,

Would you please give me some extra hints?

I'm quite serious about starting to contribute corrections and improvements to some help pages, the only area where I feel confident that I can put my two cents for the time being (besides just detecting bugs).

I've been able to login, I arrive at this page:

https://codereview.scilab.org/#/q/status:open


Excellent! Now we can view your id in the list of possible reviewers :-)

There are many open subjects, of course none of them matches the bug I've filed earlier:

About fixing and improving the documentation: I use to open and feed on a quite regular way a commit titled something like "[doc] Misc. fixes, typos and small improvements".
When you posted your messages, the last bag was just merged (after being fed and pending for more than 8 months)
(click on "merged" on the top left of the portal, and then on my name in the "Owner" column).

You can freely contribute to feed this commit.
To add a editable file to the commit list of files :

  • push the "Edit" button
  • then click on "add"
  • in the input field: start typing the beginning of the filename you want to edit: you will see a proposed short list of the first matches of your input. Add some characters up to find the right file in the list:
  • Open the file. Update its content. Save and quit the file.
  • Then in the list, you will see the file.
  • Quit the edit mode
  • Click on the file: the changes that you have made are highlighted.

This simple procedure is OK only for small changes, or wider changes that you have validated on your local computer (by properly compiling heavily changed pages).
In addition, it can't be used to add binary files (like images, etc).

If you want more information, please get in touch with me or with Stéphane in private (as he already answered). You may also get in touch with Stanislav K, who uses to contribute via the CodeReview interface for the Russian version of pages.

If you prefer having your own dedicated "bag of help miscellanities", we can also open it for you.

Best regards
Samuel

PS : To locate a feature in a file among all Scilab sources file:

  • Source files must be downloaded, preferably from the master version of Scilab. GIT does it in an handy way, but you can also do it by hand.
  • You need to use a local editor. If you work on Windows: Notepad++ is an excellent choice, with its XML add-on. It is able to search a feature in all files (or selected ones according to some extension filter like *.xml *.sci etc) in a given directory and all its subdirectories.



_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users