Thread: [Aimmath-developers] changes
Brought to you by:
gustav_delius,
npstrick
|
From: Neil S. <N.P...@sh...> - 2003-07-10 23:30:58
|
Dear All,
I have just committed a large batch of changes to the develop_2_1 branch.
This is really a bit premature, buy I am going on holiday for the next
two weeks and I wanted to leave Gustav et al with something to work with.
In particular, many things have not been adequately tested (please help
with this!) and the documentation is not up to date.
There are two large scale changes.
(1) I have implemented multipart questions, using a syntax similar (but
not identical) to that in the Gent version of AIM. There is a sample
at the end of this message, and I have updated the question format
documentation to explain how it works. I have not yet implemented
hints and optional subquestions, but I think that would be a relatively
easy next step.
(2) I have changed the user interface for students, to allow them to focus
on an individual question. This should improve response times quite
substantially. However, I have not updated the student help page yet.
(3) The maple part of AIM now imposes time limits on many things such as
initializing a question, constructing the solution, or marking an
answer. All time limits default to 2 seconds, but there is a
new timelimit>/tl> flag allowing you to specify a different limit
for a particular question.
Here are a couple of more technical things:
(4) As a first step towards integrating AIM with Moodle or other VLE's,
I have made AIM mark up its output in a way that can more easily be
parsed by other programs. This is mostly achieved by using <div> and
<span> tags. For example, question 7.2 now comes wrapped in
<div class='question' id='question7.2'> ... </div>, and the solution
comes wrapped in <div class='solution'> ... </div>. I also made some
changes to move closer to strict compliance with the XHTML standard,
eg replacing <br> by <br /> everywhere. This will be useful if and
when we move to using MathML.
(5) I have made some changes to the object oriented programming framework,
to make it fit better with the Maple debugger. In particular, the
procedures used to perform methods, which were previously anonymous,
now have names: for example, the 'Show' method for
`aim/Question/Instance`
objects is called `aim/Question/Instance!Show`, and this name is
reported in error messages, and can be passed to debugger functions such
as stopat().
Some smaller changes:
(6) There is a facility to make a list of all messages that might need to
be translated for internationalization.
(7) There is a postprompt>/pp> flag, for putting some text directly after
the input box in a text question.
(8) The trylast.mpl file has disappeared; it is replaced by the trylast()
function which is now defined explicitly in Console.mpl
There are probably some more things that I have forgotten for the moment.
Here is a sample multipart question:
name> subtraction
t> Here are some questions about subtraction
h> n := rnd(5..10);
sq>
t> What is @2*n@ - @n@?
av> x
a> n
esq>
sq>
t> Here are some subsubquestions
sq>
h> m := rnd(11..20);
t> What is @n@ - @m@?
s> [proc(ans)
`aim/SetAnswerNote`(sprintf("x = %A\n<br>\ny = %A\n<br>\n",x,y));
`aim/Test`(ans,n-m);
end,
n-m]
esq>
sq>
t> What is @n@ - 2?
a> n-2
esq>
esq>
end>
Neil
|
|
From: Chris S. <san...@fo...> - 2003-08-13 13:20:07
|
Neil, and other developers.
I have been trying to install the develop_2_1 branch of AIM to test the
new features. I obtainted the error shown below. I know that StringTools
is not available in Maple 6, but is available in Maple 7 and I presume
later. Is this the source of the problem? Do I need to upgrade to Maple
7? (which I don't think will be a problem) If so, is it intended that
Maple 7 be required for the new release of AIM?
Cheers
Chris
C:\Tomcat\webapps\AIM\WEB-INF\maple>cmaple
|\^/| Maple 6 (IBM INTEL NT)
._|\| |/|_. Copyright (c) 2000 by Waterloo Maple Inc.
\ MAPLE / All rights reserved. Maple is a registered trademark of
<____ ____> Waterloo Maple Inc.
| Type ? for help.
> read("AutoConf.mpl");
AIM will now try to configure your system automatically.
All messages from the configuration process will also be written
in the file autoconf.log
Maple version number is 6
Operating system is not Unix, assumed to be some kind of Windows
Reading user supplied options from ManualConfig.mpl
problems := false
Looking for Java
Java found at c:\jdk1.3.1
Looking for Tomcat
Tomcat found at c:\tomcat
Looking for Maple
Maple found at C:\Program Files\Maple 6\bin.wnt\cmaple.exe
Looking for upload directory
upload directory found at C:\DOCUME~1\sangwinc\LOCALS~1\Temp
Finding the host name
Host name set to localhost
Setting time zone
Time zone set to GMT (= UTC +0 hours)
Setting other configuration options
Looking for TtH
Number of lines processed approximately 1
TtH found at C:\Program Files\tth_exe\tth.exe
Writing Config.mpl and ServletConfig.mpl
Renaming Config.mpl as Config.bak
AIM was successfully configured.
com.oreilly.servlet classes are already installed.
bytes used=1001708, alloc=917336, time=0.46
Reading Package.mpl...Error, (in pread) too many files simultaneously open for r
eading
done
Error, `StringTools` does not evaluate to a module
Error, could not open `lib/aim/AdminCommands.m` for writing
Reading Aim.mpl...Error, (in pread) `StringTools` does not evaluate to a module
Error, (in sprintf) format string expected
Error, (in sprintf) format string expected
Error, (in sprintf) format string expected
done
Reading AliceServer.mpl...Error, (in pread) could not open `lib/aim/AdminCommand
s.m` for reading
Error, (in pread) cannot evaluate boolean:
OS/FileExists(c:/tomcat/webapps/AiM/WEB-INF/root/DefaultZone.mpl)
done
>
|
|
From: Gustav W D. <gw...@yo...> - 2003-08-13 13:51:14
|
The problem is that too many files are simultaneously open. That is because
I tried to streamline the installation process by having one file read in
the others automatically. Ken recently proposed a fix for this I believe but
the archive of this list is horrible and I can't find a thing. Perhaps you
still have his e-mail.
Gustav
> -----Original Message-----
> From: aim...@li...
> [mailto:aim...@li...]On Behalf Of
> Chris Sangwin
> Sent: 13 August 2003 13:47
> To: Neil Strickland
> Cc: AIM developers
> Subject: Re: [Aimmath-developers] changes
>
>
>
> Neil, and other developers.
>
> I have been trying to install the develop_2_1 branch of AIM to test the
> new features. I obtainted the error shown below. I know that StringTools
> is not available in Maple 6, but is available in Maple 7 and I presume
> later. Is this the source of the problem? Do I need to upgrade to Maple
> 7? (which I don't think will be a problem) If so, is it intended that
> Maple 7 be required for the new release of AIM?
>
> Cheers
> Chris
>
>
> C:\Tomcat\webapps\AIM\WEB-INF\maple>cmaple
> |\^/| Maple 6 (IBM INTEL NT)
> ._|\| |/|_. Copyright (c) 2000 by Waterloo Maple Inc.
> \ MAPLE / All rights reserved. Maple is a registered trademark of
> <____ ____> Waterloo Maple Inc.
> | Type ? for help.
> > read("AutoConf.mpl");
> AIM will now try to configure your system automatically.
> All messages from the configuration process will also be written
> in the file autoconf.log
>
> Maple version number is 6
> Operating system is not Unix, assumed to be some kind of Windows
> Reading user supplied options from ManualConfig.mpl
>
> problems := false
>
> Looking for Java
> Java found at c:\jdk1.3.1
>
> Looking for Tomcat
> Tomcat found at c:\tomcat
>
> Looking for Maple
> Maple found at C:\Program Files\Maple 6\bin.wnt\cmaple.exe
>
>
> Looking for upload directory
> upload directory found at C:\DOCUME~1\sangwinc\LOCALS~1\Temp
>
> Finding the host name
> Host name set to localhost
>
> Setting time zone
> Time zone set to GMT (= UTC +0 hours)
> Setting other configuration options
>
> Looking for TtH
> Number of lines processed approximately 1
> TtH found at C:\Program Files\tth_exe\tth.exe
>
> Writing Config.mpl and ServletConfig.mpl
> Renaming Config.mpl as Config.bak
>
> AIM was successfully configured.
> com.oreilly.servlet classes are already installed.
> bytes used=1001708, alloc=917336, time=0.46
> Reading Package.mpl...Error, (in pread) too many files
> simultaneously open for r
> eading
> done
> Error, `StringTools` does not evaluate to a module
> Error, could not open `lib/aim/AdminCommands.m` for writing
> Reading Aim.mpl...Error, (in pread) `StringTools` does not
> evaluate to a module
> Error, (in sprintf) format string expected
> Error, (in sprintf) format string expected
> Error, (in sprintf) format string expected
> done
> Reading AliceServer.mpl...Error, (in pread) could not open
> `lib/aim/AdminCommand
> s.m` for reading
> Error, (in pread) cannot evaluate boolean:
> OS/FileExists(c:/tomcat/webapps/AiM/WEB-INF/root/DefaultZone.mpl)
> done
> >
>
>
>
>
>
> -------------------------------------------------------
> This SF.Net email sponsored by: Free pre-built ASP.NET sites including
> Data Reports, E-commerce, Portals, and Forums are available now.
> Download today and enter to win an XBOX or Visual Studio .NET.
> http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072
303_01/01
_______________________________________________
Aimmath-developers mailing list
Aim...@li...
https://lists.sourceforge.net/lists/listinfo/aimmath-developers
|