Picon

Any feedback on windows installer for Maxima 5.9.0.9beta2?

David Billinghurst wrote:
> From: James Amundson
>> 
>> The second beta release for Maxima 5.9.1, aka Maxima 5.9.0.9beta2, is
>> now available from the Sourceforge site.
>> A windows installer will be added when it becomes available.
> 
> Windows installer uploaded yesterday.

I see there have been 26 downloads of the windows installer.
Has anyone tried it?  

I have some time this week to work on fixes, but may be away from
the office next week.

	David
Vadim V. Zhytnikov | 2 Aug 2004 06:11
Picon

Re: Any feedback on windows installer for Maxima 5.9.0.9beta2?

Billinghurst, David (CALCRTS) writes:
> David Billinghurst wrote:
> 
>>From: James Amundson
>>
>>>The second beta release for Maxima 5.9.1, aka Maxima 5.9.0.9beta2, is
>>>now available from the Sourceforge site.
>>>A windows installer will be added when it becomes available.
>>
>>Windows installer uploaded yesterday.
> 
> 
> I see there have been 26 downloads of the windows installer.
> Has anyone tried it?  
> 
> I have some time this week to work on fixes, but may be away from
> the office next week.
> 
> 	David
> 

Sorry, I was away for several days.
I see just one problem with Maxima 5.9.0.9beta2
on Windows.  Describe dosn't work both with
xmaxima and maxima.bat

Maxima 5.9.0.9beta2

(%i5) ? diff ;
(not found "dir")
(Continue reading)

Camm Maguire | 2 Aug 2004 19:08

Re: I'm confused about an eval-when in cl-info.lisp with GCL

Greetings!

James Amundson <amundson <at> users.sourceforge.net> writes:

> Ah. Thanks for reminding me about the speed issue. As I recall, I was
> the one pushing for a solution that was fast enough on all lisps. The
> current implementation I have would probably be irritatingly slow on a
> slow machine. I also have to turn off compilation messages in order to
> avoid making a big mess on the screen.
> 
> I just tried a simple solution: I #-gcl'd the definition of
> string-match. GCL has a built-in version of string-match. I think that's
> by far the simplest solution.
> 

Agreed, and glad you are making use of this!

Take care,

--

-- 
Camm Maguire			     			camm <at> enhanced.com
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah
Picon
Favicon

Re: tex command

Thanks everyone for your help. This simple script from Starvos Macrakis 
did the job:

stripped_tex(expr):=
  block([str: tex(expr,false)],
    concat("",?subseq(str,2,?length(str)-2)))$

Some comments:

    * I am using this to create individual assignments for my students
    (with an answer sheet for me, of course!). Is in the same spirit
     of what is achieved using wims web interface (http://wims.unice.fr)
     but on paper.

    * I agree need to learn lisp (Yet Another Lisp Virgin!). However, it 
seems a bit tricky to use it within maxima. I tried the following command:

marquez <at> pc-lmarquez:~> clisp
(clisp header suppressed)
[1]> (string-trim " ($)" "$$x^2$$");
"x^2"

so this is legal lisp (at least for clisp, the lisp I am using with 
maxima). However from maxima it does not work. I tried some variations 
based on a hint from Richard Fateman
   ?string-trim(" ($)" "$$x^2$$");
   ?string\-trim(" ($)" "$$x^2$$" );
   ?string\-trim(" ($)", "$$x^2$$" );
but they all ended with error messages! What is the correct way to 
"translate" this function?
(Continue reading)

Camm Maguire | 2 Aug 2004 23:50

Re: Bad news on Maxima and proclaim

Greetings, and thank you very much for your report!

This is indeed a bug in gcl, which has now been fixed in CVS head.

I am leaning toward the conclusion that this is important enough to
warrant a 2.6.4.

May I suggest in the meantime that you manually remove TYIPEEK from
the sys-proclaim.lisp file.  If/when we get a 2.6.4 out, we can
restore it.

I broadly confirm your report of a 5-10% speedup with the proclaims on
make check.  This places GCL ahead of cmucl on my machine at least,
especially after gc time is removed.  Please keep in mind our earlier
discussion on the inadequacy of this test as a benchmark.  The
produced code with the proclaims is obviously superior from inspection
(not that it cannot still be further improved :-)).

Here are my make check timings:

GCL w/ proclaims
----------------
real time       :      3.220 secs
run-gbc time    :      1.940 secs
child run time  :      0.670 secs
gbc time        :      0.380 secs

GCL no proclaims
----------------
real time       :      3.510 secs
(Continue reading)

James Amundson | 3 Aug 2004 00:53
Picon

Re: tex command

On Mon, 2004-08-02 at 13:19, Luis Alejandro Marquez Martinez wrote:
> Thanks everyone for your help. This simple script from Starvos Macrakis 
> did the job:
> 
> stripped_tex(expr):=
>   block([str: tex(expr,false)],
>     concat("",?subseq(str,2,?length(str)-2)))$
> 

<snip>

>     * I agree need to learn lisp (Yet Another Lisp Virgin!). However, it 
> seems a bit tricky to use it within maxima. I tried the following command:

I would have written the stripped_tex function as a pure Lisp function.
In that way you would avoid the ugliness that follows. However, I have
to confess that I do not know how to call defmspec'd functions such as
"tex" off the top of my head, so I can't give you a simple example right
now.

> marquez <at> pc-lmarquez:~> clisp
> (clisp header suppressed)
> [1]> (string-trim " ($)" "$$x^2$$");
> "x^2"
> 
> so this is legal lisp (at least for clisp, the lisp I am using with 
> maxima). However from maxima it does not work. I tried some variations 
> based on a hint from Richard Fateman
>    ?string-trim(" ($)" "$$x^2$$");
>    ?string\-trim(" ($)" "$$x^2$$" );
(Continue reading)

Alexander Vidybida | 3 Aug 2004 16:05
Picon

Re: tex command


Hi to all, and thanks to the developers,

On Mon, Aug 02, 2004 at 05:53:29PM -0500, James Amundson wrote:
> On Mon, 2004-08-02 at 13:19, Luis Alejandro Marquez Martinez wrote:
> > Thanks everyone for your help. This simple script from Starvos Macrakis 
> > did the job:
> > 
> > stripped_tex(expr):=
> >   block([str: tex(expr,false)],
> >     concat("",?subseq(str,2,?length(str)-2)))$
> > 

The above function works fine for me.

This idea seems not complete:
> > marquez <at> pc-lmarquez:~> clisp
> > (clisp header suppressed)
> > [1]> (string-trim " ($)" "$$x^2$$");
> > "x^2"
> > 

In tex math mode the $ sign can be used as symbol: $$x^2\$$$.
After stripping delimiters, this must become x^2\$.
But with clisp it becomes x^2:
[4]>  (string-trim " ($)" "$$x^2\$$$")
"x^2"

--
A
(Continue reading)

Chris Sangwin | 3 Aug 2004 16:47
Picon
Picon

Re: Any feedback on windows installer for Maxima 5.9.0.9beta2?


Hi there David,

I have downloaded and installed the Windows version on my Windows2000
machine.  No problems with the install.  However,  the following session
is not what I expected.

Regards
Chris

Maxima 5.9.0.9beta2 http://maxima.sourceforge.net
Using Lisp Kyoto Common Lisp GCL 2.6.3 (aka GCL)
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
This is a development version of Maxima. The function bug_report()
provides bug reporting information.
(%i1) describe("plot");
(not found "dir")
Maxima encountered a Lisp error:

 Error in CATCH [or a callee]: Cannot open the file NIL.

Automatically continuing.
To reenable the Lisp debugger set *debugger-hook* to nil.

On Mon, 2 Aug 2004, Billinghurst, David (CALCRTS) wrote:

> David Billinghurst wrote:
> > From: James Amundson
> >> 
(Continue reading)

Picon
Favicon

Re: tex command

James Amundson wrote:
> |abacus3>rmaxima
> (%i1) ?string\-trim(?string(" ($)"), ?string("$$x^2$$"));
> (%o1)                                 x^2
> (%i2) quit();

Thank you! The version would be:

stripped_texpr(expr):=
  ?string\-trim(?string(" ($)"), ?string(tex(expr,false)));

(C18) stripped_tex(sin(x)*x3);
(D18)                             \sin x\,x_3

I have eliminated "block" and the use of the temporary variable str.

-- LA
Barton Willis | 3 Aug 2004 21:46
Favicon

2nd order linear DEs

You can download a copy of my solver for second order linear DEs from

    http://www.unk.edu/acad/math/people/willisb/home.html

Look for odelin19.tar.gz.

Notes:

(0) The solver uses a method due to Bronstein and Lafaille --- google 
'bronstein' to find the article.
Additionally, it tries a method based on factoring a differential 
operator.

(1) There is no user documentation.

(2) You'll need to use a version of Maxima that orders the Bessel function 
arguments
as (order, main argument).  Some Maxima versions (maybe even 5.9.0?) use 
(main argument, order).

(3) The file odelin19.tar.gz should expand into a directory odelin19 that 
contains 11 files.

(4) To use the solver, you'll need to install nset; the version of nset 
that is currently distributed with Maxima 
should work (but I haven't tried).  You can also get the new nset version 
off my webpage.

(5) To use the solver, you'll need to append 'odelin19' to 
'file_search_lisp' and load
(Continue reading)


Gmane