Maxima Plugin - Messages
I have tried rebooting and system restore.
I am running windows 7 64bit, might that be the problem?
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.
Lösung linearer Gleichungssysteme Bsp. ZKS [Maxima-Plugin]-not working.sm (48 KiB) downloaded 52 time(s).
Please, can you help with this?:
http://en.smath.info/forum/yaf_postst7169_Maxima-plugin-error.aspx
Thanks in advance!
WroteHi,
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
WroteI 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
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.
WroteThe 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)?
https://smath.com/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

Wrote
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)?
https://smath.com/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.
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.sharpdevelop.net/blogs/mattward/archive/2010/03/16/CompilingPythonPackagesWithIronPython.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.sharpdevelop.net/blogs/mattward/archive/2009/05/11/ConvertingCSharpVBNetCodeToIronPython.aspx
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?
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/shell-programming-and-scripting/237063-dialog-external-program-using-named-pipes.html
http://unix.stackexchange.com/questions/53641/how-to-make-bidirectional-pipe-between-two-programs
http://www.google.com/search?q=Windows+named+pipe+MSDN
http://stackoverflow.com/questions/2784500/how-to-send-a-simple-string-between-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.com/en-us/library/windows/desktop/aa365574(v=vs.85).aspx
Edit 2:
windows named pipes python
http://stackoverflow.com/questions/13319679/createnamedpipe-in-python
http://stackoverflow.com/questions/18077145/windows-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/pipermail/maxima-discuss/2007/020159.html
.Net supports named pipes: https://msdn.microsoft.com/en-us/library/system.io.pipes.aspx
Explained sample using .net: http://hernanjlarrea.com/index.php/qu-es-un-named-pipe/
More explained code from 2015, scroll down to pipes and various: https://dotnetcodr.com/messaging/
WroteForum 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.
WroteI 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?
WroteOh 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.
WroteI 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).
-
New Posts
-
No New Posts