Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


16 Pages«<7891011>»
Options
Go to last post Go to first unread
Offline mkraska  
#161 Posted : 18 April 2015 18:13:07(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,986
Germany

Was thanked: 1124 time(s) in 721 post(s)
Confirmed. Hard-coding the path to maxima in maxima.xml did not help to solve the problem. I have no time to dig further now, but want to create a new portable version until summer.


Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
thanks 1 user thanked mkraska for this useful post.
on 18/04/2015(UTC)
Offline Uffe  
#162 Posted : 11 August 2015 19:08:22(UTC)
Uffe

Rank: Newbie

Groups: Registered
Joined: 11/08/2015(UTC)
Posts: 1

I got the Maxima plugin up and running after making an exception on the firewall and added it to the DEP exlusion list. However when i restarted my computer Maxima crashes every time i try using one the maxima commands from s-math, and the same when i try open the maxima settings. Wxmaxima works fine, although I have had trouble with the firewall and DEP.
I have tried rebooting and system restore.
I am running windows 7 64bit, might that be the problem?

Edited by user 11 August 2015 19:14:41(UTC)  | Reason: Not specified

Offline Teacher  
#163 Posted : 29 September 2015 16:54:26(UTC)
Teacher


Rank: Member

Groups: Registered
Joined: 28/09/2015(UTC)
Posts: 20

Was thanked: 1 time(s) in 1 post(s)
Hi there,

I'm quite new within this forum, so I don't know wether this request is placed in the right position ...

Working as a teacher in the field of mechanical engineering I often have to solve systems of linear equations. They are quite simply to solve but the studets sometimes have their difficulties with it. So I like to show them what SMath + Maxima can do for them.

Now my problem:
When using the Solve()-command at the very beginning (without defining any variables) everything is working fine and the Solve-Command returns the symbolc solutions of the equations.
When predefining the given variables, such as gravity-forces or geometric valus such as lenth or angles the function does not return the symbolic solutions but tries to calculate the roots.

Is it possible to force the Solve-Command to compute the results in a sybolic way?

Hoping that someone can give me a hint.
Offline oscampo  
#164 Posted : 02 December 2015 23:17:33(UTC)
oscampo


Rank: Advanced Member

Groups: Registered
Joined: 10/12/2009(UTC)
Posts: 246
Man
Colombia
Location: Cali, Colombia

Was thanked: 85 time(s) in 65 post(s)
Hi Mkraska,
Please, can you help with this?:

http://en.smath.info/forum/yaf_...Maxima-plugin-error.aspx


Thanks in advance!
Offline Alex M.  
#165 Posted : 05 April 2016 19:00:23(UTC)
Alex M.


Rank: Advanced Member

Groups: Registered
Joined: 03/03/2014(UTC)
Posts: 418
Canada

Was thanked: 125 time(s) in 96 post(s)
Originally Posted by: oscampo Go to Quoted Post
Hi,
Some users (me also) have posted about the crashes of maxima plugin, are there any news about status of maxima plugin?

Regards,

Oscar


I 2nd that, Martin, can we expect an update to a Maxima plugin + portable version of SMath?

Thank you

AM
thanks 1 user thanked Alex M. for this useful post.
on 05/04/2016(UTC)
Offline Jean Giraud  
#166 Posted : 05 April 2016 20:34:11(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: Alex.M Go to Quoted Post
I 2nd that, Martin, can we expect an update to a Maxima plugin portable version of SMath?

Thank you

AM


I 3rd that too. We don't even have an idea of Maxima 3D
and mostly Solve [solve is ok].

Jean

Offline mkraska  
#167 Posted : 20 April 2016 17:31:48(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,986
Germany

Was thanked: 1124 time(s) in 721 post(s)
The Maxima plugin still works with SMath 0.98.5953, at least on my computer under win 7 x64.

Known new problems:
- The native diff() functions are somehow disabled. In order to use symbolic diff(), use MaximaTakeover("diff()") or MaximaTakeover("all"). Then, the Maxima CAS engine is used for diff (and int, lim, sum, det)
- The interactive plot regions Maxima Draw2D and Draw3D throw an error, can't be used any more. Fallback is to use Draw2D() and Draw3D() commands in the placeholder of an ordinary image region.

As mentioned before, fixing these problems would require me to learn c# and software development under windows. I don't exclude that in general, but there is no chance to do it now or in the near future.

You have to use the Maxima version as shipped with the unofficial portable SMath distribution. It has a modified maxima.bat for setting the temp directories properly. If you need newer Maxima versions, you still can use them with the plugin but not in a portable version.

Edited by moderator 20 April 2016 18:35:52(UTC)  | Reason: inhibited unintentional smilies

Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
thanks 1 user thanked mkraska for this useful post.
on 20/04/2016(UTC)
Offline Alex M.  
#168 Posted : 29 April 2016 17:54:17(UTC)
Alex M.


Rank: Advanced Member

Groups: Registered
Joined: 03/03/2014(UTC)
Posts: 418
Canada

Was thanked: 125 time(s) in 96 post(s)
Originally Posted by: mkraska Go to Quoted Post
The Maxima plugin still works with SMath 0.98.5953, at least on my computer under win 7 x64.
As mentioned before, fixing these problems would require me to learn c# and software development under windows. I don't exclude that in general, but there is no chance to do it now or in the near future.


Martin, is there a chance you would consider giving IronPython a shot for SMath plugin development? According to the link it is possible (is it fesible)?
http://smath.info/wiki/(S(a3wyc5jalhq4v1ftjqepdo2l))/IDE%20and%20Language%20for%20developing%20plugins.ashx

You are an extremely valuable member of this community and we would hate to loose your activity here Good

Edited by user 29 April 2016 18:11:39(UTC)  | Reason: Not specified

Offline Jean Giraud  
#169 Posted : 29 April 2016 18:10:06(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
I would vote for some kind of "Numerical Recipes" emulator.
Offline mkraska  
#170 Posted : 29 April 2016 19:22:25(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,986
Germany

Was thanked: 1124 time(s) in 721 post(s)
Originally Posted by: Alex.M Go to Quoted Post

Martin, is there a chance you would consider giving IronPython a shot for SMath plugin development? According to the link it is possible (is it fesible)?
http://smath.info/wiki/(S(a3wyc5jalhq4v1ftjqepdo2l))/IDE%20and%20Language%20for%20developing%20plugins.ashx


Using python would definitly be an option. However, without understanding the code of the current Maxima plugin, I would have to develop another one from scratch. With specification, test suite and translation concept already in place, this might be in fact a good option. In order to prepare such an endeavor, I need to think of
- what might be the performance impact of c# versus ironpython (no idea what iron means)?
- is there a chance to make the plugin work under linux? Current smath version does not work at all with current mono under mint 17.2 in a virtual box)
- is there a chance to do plugin development under linux? I plan to stop using windows once I would be forced to use win 10.
- mastering the interaction with the smath plugin manager. It is years ago that I used it (for the handbook)
- how to setup an appropriate tool chain for development?

Perhaps the first step would be to set up a C# development environment (Visual studio?) and interaction with the SMath plugin storage site, then inspect the code of the plugin and see if I can do something to mitigate the diff() problem and the broken Draw regions.

To be honest, I am a bit pessimistic, because a year ago I tried to find out by code inspection of the modeller region how to create text objects. Unfortunately I failed (there was a forum post later explaining how to do that).

Could anyone of the plugin developers please have a look at the maxima plugin and just share their impression whether it is possible to get it back to maintenance and perhaps help with the questions above.


Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
Offline kilele  
#171 Posted : 29 April 2016 20:31:15(UTC)
kilele


Rank: Advanced Member

Groups: Registered
Joined: 30/03/2011(UTC)
Posts: 393

Was thanked: 132 time(s) in 113 post(s)
Hi Martin. I hope that someone can help you to maintain the Maxima plugin.
I've taken the liberty to find a couple of crash tutorials to get started on IronPython just as you said, for Linux.
This one is an intro to mono winforms with ironpython: http://zetcode.com/tutorials/ironpythontutorial/
This other explains how to use python standard libraries with ironpython from sharpdevelop, the ide used by Davide: http://community.sharpde...kagesWithIronPython.aspx

It seems that IronPython development stopped a bit since MS dropped its support but it's still a useful tool.

Edit 1:

Monodevelop ide seems to have a python addin!
This may worth checking out (I think xamarin was bought by MS recently)

Edit 2:

If you follow the tag 'ironpython' on the site community.sharpdevelop.net mentioned above, you can know more about the feature to convert c# code to ironpython: http://community.sharpde...NetCodeToIronPython.aspx

Edited by user 29 April 2016 22:01:21(UTC)  | Reason: Added csharp2ironpython conversion

thanks 1 user thanked kilele for this useful post.
on 30/04/2016(UTC)
Offline Alex M.  
#172 Posted : 29 April 2016 21:34:28(UTC)
Alex M.


Rank: Advanced Member

Groups: Registered
Joined: 03/03/2014(UTC)
Posts: 418
Canada

Was thanked: 125 time(s) in 96 post(s)
I would take on this I had more spare time.. (which I might, someday).

Forum dwellers, is there anyone among us who can take on maintaining the plugin? You don't necessarily need to know any programming language - using debug of Visual studio you can learn everything what the plugin does and then, hopefully, fix it. Being a skilled programmer and knowing a language just enough to make things work are two very different things.

If Maxima is important for you maybe you can find some time to fix her up?
Offline kilele  
#173 Posted : 30 April 2016 02:09:05(UTC)
kilele


Rank: Advanced Member

Groups: Registered
Joined: 30/03/2011(UTC)
Posts: 393

Was thanked: 132 time(s) in 113 post(s)
May I ask why do you think Maxima stopped working? Is there any other alternative to sockets?
Have you tried to increase the port number until it finds a port it can establish a server on?
What about using pipes instead of a socket? Or even have smath and maxima write/read into/from the same local file. See these discussions:
http://www.unix.com/shel...m-using-named-pipes.html
http://unix.stackexchang...ipe-between-two-programs
http://www.google.com/se...=Windows+named+pipe+MSDN
http://stackoverflow.com...two-programs-using-pipes
How about using a php socket with a tiny local webserver? Maybe a couple of different sockets in a row or a mix of socket plus pipe to see if the connection stops being blocked.

Edit 1:

More alternatives apart from the socket approach: https://msdn.microsoft.c...windows/desktop/aa365574(v=vs.85).aspx

Edit 2:

windows named pipes python
http://stackoverflow.com...reatenamedpipe-in-python
http://stackoverflow.com...-named-pipes-in-practice

Edit 3:

Someone managed to communicate with maxima linux by means of named pipes, follow the entire discussion at: http://def.fe.up.pt/pipe...discuss/2007/020159.html
.Net supports named pipes: https://msdn.microsoft.c...ary/system.io.pipes.aspx
Explained sample using .net: http://hernanjlarrea.com...php/qu-es-un-named-pipe/
More explained code from 2015, scroll down to pipes and various: https://dotnetcodr.com/messaging/

Edited by user 30 April 2016 12:03:34(UTC)  | Reason: Not specified

thanks 1 user thanked kilele for this useful post.
on 30/04/2016(UTC)
Offline Jean Giraud  
#174 Posted : 30 April 2016 17:39:20(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: Alex.M Go to Quoted Post
Forum dwellers, is there anyone among us who can take on maintaining the plugin? You don't necessarily need to know any programming language - using debug of Visual studio you can learn everything what the plugin does and then, hopefully, fix it. Being a skilled programmer and knowing a language just enough to make things work are two very different things.


=============================================

Besides inserting image from file, I see no need for plugins except those that make
Smath f(x) menu work. Too many "toyers" and not enough "users" in the Smath community.
For instance: what's the need for a glorious text box ? The prime use of a text box is
to front end a project with an abstract [~ dozen lines], as bare as possible.

I just need more working maths for project as well as Edu. implicit of their
companion plugins... plugins maths, that's what I mean, like this one.
Just make Smath understand something in there.

Convolution Integral.bmp (687kb) downloaded 56 time(s).




Offline Jean Giraud  
#175 Posted : 30 April 2016 17:41:35(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
... here is.

Convolution Integral.gif
Offline uni  
#176 Posted : 11 May 2016 04:39:16(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,494
Man
Russian Federation

Was thanked: 1274 time(s) in 745 post(s)
I don't use this plug-in, but I'll try solve the problem.
Russia ☭ forever
Viacheslav N. Mezentsev
thanks 3 users thanked uni for this useful post.
on 11/05/2016(UTC),  on 11/05/2016(UTC),  on 11/05/2016(UTC)
Offline kilele  
#177 Posted : 11 May 2016 12:47:01(UTC)
kilele


Rank: Advanced Member

Groups: Registered
Joined: 30/03/2011(UTC)
Posts: 393

Was thanked: 132 time(s) in 113 post(s)
Originally Posted by: uni Go to Quoted Post
I don't use this plug-in, but I'll try solve the problem.


I reckon you can find useful code here, scroll down to pipes and various: https://dotnetcodr.com/messaging/
Oh I recall you were trying to make Jasymca native to Smath, at least could output of this program be piped to Smath just as with the Maxima plugin?
thanks 1 user thanked kilele for this useful post.
on 11/05/2016(UTC)
Offline uni  
#178 Posted : 11 May 2016 13:35:11(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,494
Man
Russian Federation

Was thanked: 1274 time(s) in 745 post(s)
Originally Posted by: kilele Go to Quoted Post
Oh I recall you were trying to make Jasymca native to Smath, at least could output of this program be piped to Smath just as with the Maxima plugin?


It is theoretically possible. To do this you need build sources using Java for Windows (create a console application for example). But SMath Studio and Jasymca will have different memory spaces and this is not a native way.

Russia ☭ forever
Viacheslav N. Mezentsev
Offline kilele  
#179 Posted : 11 May 2016 13:52:27(UTC)
kilele


Rank: Advanced Member

Groups: Registered
Joined: 30/03/2011(UTC)
Posts: 393

Was thanked: 132 time(s) in 113 post(s)
I think Davide uses a code converter quite good that he mentioned recently in the forum, maybe the old j2me code of Jasymca would be easier to translate into C#, or perhaps the javascript version of jasymca could be imported into visualstudio though I think the javascript one was not opensourcecode.

Edited by user 11 May 2016 17:14:52(UTC)  | Reason: Not specified

Offline Davide Carpi  
#180 Posted : 11 May 2016 14:24:21(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,647
Man
Italy
Location: Italy

Was thanked: 1329 time(s) in 875 post(s)
Originally Posted by: kilele Go to Quoted Post
I think Davide uses a code converter quite good that he mentioned recently in the forum, maybe the old applet code of Jasymca would be easier to translate into C#


Unfortunately to convert from Java to C# the jfftpack (Java translation of fftpack) I've done all manually (but in that particular case are all just math functions, thousands lines to change, but just few things to deal with).

Edited by user 11 May 2016 14:28:32(UTC)  | Reason: Not specified

If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
Users browsing this topic
Guest
Similar Topics
Error implementing ToolboxGroup for the maxima plugin (Questions)
by fakemoses 31/07/2023 20:09:47(UTC)
Maxima Plugin Feedback Survey: Share Your Ideas and Report Bugs (Feature Requests)
by fakemoses 16/06/2023 13:27:33(UTC)
MAXIMA PLUGIN expand (Questions)
by Angel695 21/05/2023 10:43:40(UTC)
Solve Function Stuck (46/47) with Maxima Plugin (Questions)
by Albedo 30/08/2022 05:24:23(UTC)
[Maxima Plugin] Text exportation issue (Questions)
by SteelCat 11/01/2022 12:47:31(UTC)
Maxima Plugin problem (Bugs & Problems)
by FT_PENG 23/12/2021 23:49:19(UTC)
Text characters not passing correctly to Maxima plugin (Bugs & Problems)
by gurro 15/08/2021 00:14:03(UTC)
[Maxima Plugin] is a custom Maxima function call-able in SMath (Questions)
by 007.000 22/05/2018 13:06:49(UTC)
[Maxima Plugin] least common multiple (Questions)
by 007.000 22/05/2018 12:13:20(UTC)
news for Maxima Plugin (Questions)
by oscampo 27/01/2016 18:39:35(UTC)
Maxima plugin error (Bugs & Problems)
by olik 30/11/2015 10:17:28(UTC)
16 Pages«<7891011>»
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.