stack_util_maximapool | Pooling solution for starting up maxima processes
kandi X-RAY | stack_util_maximapool Summary
kandi X-RAY | stack_util_maximapool Summary
stack_util_maximapool is a Java library. stack_util_maximapool has no bugs, it has no vulnerabilities and it has low support. However stack_util_maximapool build file is not available. You can download it from GitHub.
Stack is a PHP-application and so it has no way of handling pooling of maxima processes (i.e. no threads). MaximaPool is a Java-servlet doing just that and only that. MaximaPool does not check what it inputs to the processes it is running nor does it really care what it is running so you may also use it for other programs but most importantly you MUST MAKE SURE IT IS SECURED with no public access.
Stack is a PHP-application and so it has no way of handling pooling of maxima processes (i.e. no threads). MaximaPool is a Java-servlet doing just that and only that. MaximaPool does not check what it inputs to the processes it is running nor does it really care what it is running so you may also use it for other programs but most importantly you MUST MAKE SURE IT IS SECURED with no public access.
Support
Quality
Security
License
Reuse
Support
stack_util_maximapool has a low active ecosystem.
It has 9 star(s) with 11 fork(s). There are 7 watchers for this library.
It had no major release in the last 6 months.
There are 7 open issues and 13 have been closed. On average issues are closed in 62 days. There are no pull requests.
It has a neutral sentiment in the developer community.
The latest version of stack_util_maximapool is current.
Quality
stack_util_maximapool has 0 bugs and 0 code smells.
Security
stack_util_maximapool has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
stack_util_maximapool code analysis shows 0 unresolved vulnerabilities.
There are 0 security hotspots that need review.
License
stack_util_maximapool does not have a standard license declared.
Check the repository for any license declaration and review the terms closely.
Without a license, all rights are reserved, and you cannot use the library in your applications.
Reuse
stack_util_maximapool releases are not available. You will need to build from source code and install.
stack_util_maximapool has no build file. You will be need to create the build yourself to build the component from source.
Installation instructions, examples and code snippets are available.
It has 1526 lines of code, 107 functions and 13 files.
It has high code complexity. Code complexity directly impacts maintainability of the code.
Top functions reviewed by kandi - BETA
kandi has reviewed stack_util_maximapool and discovered the below as its top functions. This is intended to give you an instant insight into stack_util_maximapool implemented functionality, and help decide if they suit your requirements.
- Handles a GET request
- Starts the HTML response
- Performs a low - level health check
- Display the current status of the servlet
- Initialize the servlet
- Returns a hashCode of this instance
- Start the reader
- Run the maintenance
Get all kandi verified functions for this library.
stack_util_maximapool Key Features
No Key Features are available at this moment for stack_util_maximapool.
stack_util_maximapool Examples and Code Snippets
No Code Snippets are available at this moment for stack_util_maximapool.
Community Discussions
No Community Discussions are available at this moment for stack_util_maximapool.Refer to stack overflow page for discussions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install stack_util_maximapool
Start by [installing STACK](https://github.com/maths/moodle-qtype_stack/blob/master/doc/en/Installation/index.md) as normal and make sure that it works with the maxima you have installed. We assume that (1) the root directory of the moodle site on the server is $MOODLE, (This should have the moodle config.php file in it.) and (2) the moodle data directory is $MOODLEDATA (this is $CFG->dataroot in Moodle’s config.php). Download or clone the MaximaPool files, for example to $MAXIMAPOOL=/var/lib/maximapool.
Start by [installing STACK](https://github.com/maths/moodle-qtype_stack/blob/master/doc/en/Installation/index.md) as normal and make sure that it works with the maxima you have installed. We assume that (1) the root directory of the moodle site on the server is $MOODLE, (This should have the moodle config.php file in it.) and (2) the moodle data directory is $MOODLEDATA (this is $CFG->dataroot in Moodle’s config.php).
Download or clone the MaximaPool files, for example to $MAXIMAPOOL=/var/lib/maximapool. `git clone https://github.com/maths/stack_util_maximapool.git $MAXIMAPOOL`
Copy $MAXIMAPOOL/doc/servlet.example.conf to $MAXIMAPOOL/servlet.conf and edit it. There is not much to edit here.
Copy $MAXIMAPOOL/doc/pool.example.conf to $MAXIMAPOOL/pool.conf and edit it. You are likely to keep the default settings for a demo install.
Look at the end of $MOODLE/question/type/stack/stack/maxima/stackmaxima.mac to find the version number (%%VERSION%%). Create the directory $MAXIMAPOOL/%%VERSION%%
Copy the library of maxima functions, the local maxima configuration files and maxima image distributed with STACK in $MOODLE/question/type/stack/stack/maxima and $MOODLEDATA/stack/ to the pool folder. `cp -R $MOODLE/question/type/stack/stack/maxima/ $MAXIMAPOOL/%%VERSION%%/.` `cp -R $MOODLEDATA/stack/* $MAXIMAPOOL/%%VERSION%%/.`
Strip any final lines from $MAXIMAPOOL/%%VERSION%%/maximalocal.mac with load commands (such as load("stackmaxima.mac")$ ). to make sure libraries are not loaded. (These lines should not be present if you are using the optimised version of maxima anyway.)
Please change in $MAXIMAPOOL/%%VERSION%%/maximalocal.mac the file_search_maxima and file_search_lisp paths where $MOODLE/question/type/stack is set, to $MAXIMAPOOL/%%VERSION%%.
Copy $MAXIMAPOOL/doc/process.example.conf to $MAXIMAPOOL/%%VERSION%%/process.conf and edit it. There is more here to edit than the previous files. Note the location and the need to update %%VERSION%% and %%MAXIMAPOOL%% throughout. Furthermore please adapt the command.line.
Run ant to build the servlet.
Once the servlet has been built deploy the MaximaPool.war file to your servlet-container, with tomcat just copy it to the webapps-directory. Tomcat is likley to be in /usr/share/tomcat8/ or /var/lib/tomcat8/ `cp MaximaPool.war $TOMCAT/webapps/.`
Change file permissions to give ownership of $MAXIMAPOOL and all files to the tomcat user. For example `chown -R tomcat8 $MAXIMAPOOL` `chgrp -R tomcat8 $MAXIMAPOOL`
Open $URL=localhost:8080/MaximaPool/MaximaPool (or whatever url you have configured). Once all the files are in place, you can go into the MaximaPool status page to start, test and stop pools.
SECURE THE POOL with http access controls to only accept connections from specific machines etc.!
Start by [installing STACK](https://github.com/maths/moodle-qtype_stack/blob/master/doc/en/Installation/index.md) as normal and make sure that it works with the maxima you have installed. We assume that (1) the root directory of the moodle site on the server is $MOODLE, (This should have the moodle config.php file in it.) and (2) the moodle data directory is $MOODLEDATA (this is $CFG->dataroot in Moodle’s config.php).
Download or clone the MaximaPool files, for example to $MAXIMAPOOL=/var/lib/maximapool. `git clone https://github.com/maths/stack_util_maximapool.git $MAXIMAPOOL`
Copy $MAXIMAPOOL/doc/servlet.example.conf to $MAXIMAPOOL/servlet.conf and edit it. There is not much to edit here.
Copy $MAXIMAPOOL/doc/pool.example.conf to $MAXIMAPOOL/pool.conf and edit it. You are likely to keep the default settings for a demo install.
Look at the end of $MOODLE/question/type/stack/stack/maxima/stackmaxima.mac to find the version number (%%VERSION%%). Create the directory $MAXIMAPOOL/%%VERSION%%
Copy the library of maxima functions, the local maxima configuration files and maxima image distributed with STACK in $MOODLE/question/type/stack/stack/maxima and $MOODLEDATA/stack/ to the pool folder. `cp -R $MOODLE/question/type/stack/stack/maxima/ $MAXIMAPOOL/%%VERSION%%/.` `cp -R $MOODLEDATA/stack/* $MAXIMAPOOL/%%VERSION%%/.`
Strip any final lines from $MAXIMAPOOL/%%VERSION%%/maximalocal.mac with load commands (such as load("stackmaxima.mac")$ ). to make sure libraries are not loaded. (These lines should not be present if you are using the optimised version of maxima anyway.)
Please change in $MAXIMAPOOL/%%VERSION%%/maximalocal.mac the file_search_maxima and file_search_lisp paths where $MOODLE/question/type/stack is set, to $MAXIMAPOOL/%%VERSION%%.
Copy $MAXIMAPOOL/doc/process.example.conf to $MAXIMAPOOL/%%VERSION%%/process.conf and edit it. There is more here to edit than the previous files. Note the location and the need to update %%VERSION%% and %%MAXIMAPOOL%% throughout. Furthermore please adapt the command.line.
Run ant to build the servlet.
Once the servlet has been built deploy the MaximaPool.war file to your servlet-container, with tomcat just copy it to the webapps-directory. Tomcat is likley to be in /usr/share/tomcat8/ or /var/lib/tomcat8/ `cp MaximaPool.war $TOMCAT/webapps/.`
Change file permissions to give ownership of $MAXIMAPOOL and all files to the tomcat user. For example `chown -R tomcat8 $MAXIMAPOOL` `chgrp -R tomcat8 $MAXIMAPOOL`
Open $URL=localhost:8080/MaximaPool/MaximaPool (or whatever url you have configured). Once all the files are in place, you can go into the MaximaPool status page to start, test and stop pools.
SECURE THE POOL with http access controls to only accept connections from specific machines etc.!
Support
For any new features, suggestions and bugs create an issue on GitHub.
If you have any questions check and ask questions on community page Stack Overflow .
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page