Project

General

Profile

Activity

From 08 Nov 2020 to 07 Dec 2020

07 Dec 2020

16:17 CoCoA-5 Design #1546: Improve 'describe' or 'print' for a function
I have had a (not so) quick look at the code involved.
*@describe@* like all CoCoA commands returns no value, and th...
John Abbott

05 Dec 2020

14:15 CoCoALib Bug #1542: gfan does not "deinitialize"
I downloaded gfan (v. 0.6.2) from the official website.
The subtree layout is quite different from what I have!
Als...
John Abbott
14:02 CoCoALib Design #1529 (Feedback): INPUT questions
I have cleaned the code. All tests pass. Checking in.
John Abbott
13:55 CoCoALib Design #1547 (Closed): Require decimal mode for ostream?
In issue #1529 we have decided to require that when reading from an @istream@ the stream must be in decimal mode.
Sh...
John Abbott

04 Dec 2020

23:19 CoCoALib Design #1523 (Feedback): Input fns: action when when istream is in bad state?
I have also modified and checked in @symbol.C@
*Conclusion: input fns throw if @istream@ is not in good state*
...
John Abbott
12:53 CoCoA-5 Design #1546 (Closed): Improve 'describe' or 'print' for a function
Hi,
sadly CoCoA does not offer a (nice) way to save objects (rings, polys, lists,...) in such a way that they can be...
Julian Danner
11:57 CoCoA-5 Design #1545 (New): CoeffOfTerm: in CoCoALibSupplement
Maybe improve impl of @CoeffOfTermSparse@ in @CoCoALibSupplement.C@ around line 151?
See commented out "improved" ...
John Abbott
11:29 CoCoALib Design #1529 (Resolved): INPUT questions
Update:
* an exception is thrown if the @istream@ is not in "decimal" mode
* no spaces are allowed inside a rationa...
John Abbott
10:26 CoCoA-5 Feature #1543 (Feedback): Default path for packages
Done and tested. cvs-ed.
Anna Maria Bigatti
09:40 CoCoA-5 Feature #1543: Default path for packages
Main.C L279 Anna Maria Bigatti
09:37 CoCoA-5 Feature #1543: Default path for packages
This is for running CoCoAInterpreter in terminal, when it is saved in the bin/ directory.
This happens (at least) ...
Anna Maria Bigatti
09:31 CoCoA-5 Feature #1543 (Closed): Default path for packages
Now CoCoAInterpreter look for packages (if not specified) in its own directory. Add also the path "../" Anna Maria Bigatti
09:51 CoCoA-5 Design #1544: CoCoA coding conventions for parser/interprer?
I've done it for *@defaultPackageDir@* which is now *@IsDefaultPackageDir@*.
I find it easier, and that's the reason...
Anna Maria Bigatti
09:47 CoCoA-5 Design #1544 (New): CoCoA coding conventions for parser/interprer?
Should we (slowly?) adapt parser/interpreter/main to our coding conventions?
Anna Maria Bigatti

03 Dec 2020

21:31 CoCoA-5 Bug #1514 (Closed): Cocoa crashes when calling RingElems
I now have a personal CoCoA version with the new @MemPool@ code (see issue #1522 comment 10).
I have just tried the ...
John Abbott
20:30 CoCoALib Bug #1542 (In Progress): gfan does not "deinitialize"
I have uncommented the suspicious commented out call in GFAN, and everything seems to work fine now.
I hope Anna c...
John Abbott
11:48 CoCoALib Bug #1542: gfan does not "deinitialize"
Now I wonder whether I disabled the call to @deinitialize@ myself.
The problem almost certainly arises only when @...
John Abbott
20:28 CoCoALib Bug #1522: SEGV: avoid long linked lists of loaves in MemPools
I have made a first design improvement:
There is now *@MaxSliceSize@* (in bytes); if the requested slice size is gre...
John Abbott

02 Dec 2020

20:49 CoCoALib Bug #1542 (In Progress): gfan does not "deinitialize"
I have been "playing" with @MemPool@, and found that gfanlib seems to allocate 7 GMP values which are never freed.
...
John Abbott

01 Dec 2020

14:03 CoCoA-5 Feature #1541: foreach with ref to list entry?
If we choose to extend CoCoA-5, there are 2 obvious approaches:
* modify @foreach@ so that it uses references --- ob...
John Abbott
13:58 CoCoA-5 Feature #1541 (New): foreach with ref to list entry?
Julian Danner asks whether it would be possible to have a version of @foreach@ which operates on a reference to the l... John Abbott
12:13 CoCoA-5 Support #1298: How can user find the indent command?
I am tempted to remove the example of using @indent@ with 2 args: it occupies a lot of vertical space, but conveys li... John Abbott
12:08 CoCoA-5 Support #1298: How can user find the indent command?
Maybe this should be a new issue? I was surprised at what @indent@ did when given a module:... John Abbott

26 Nov 2020

16:33 CoCoA-5 Support #322: Installation instructions (on website)
I must check what happens for old MacOS
Anna Maria Bigatti
16:29 CoCoALib Design #1391: RingElems: syntax with [ and ] ?
My copy works ok, but I must devise tests.
John Abbott
16:24 CoCoA-5 Bug #1537: EmacUI: strange colours, sometimes
John Abbott wrote:
> A possible way to address the problem is to discourage users from typing *@/-@* by making it is...
Anna Maria Bigatti
16:20 CoCoA-5 Feature #1536: Implement xel?
Anna will impl in CoCoAlib, and then make accessible to CoCoA-5.
John Abbott
16:06 CoCoA-5 Feature #1536: Implement xel?
One difference between @QQ[x,y,z],xel@ and @QQ[z,y,x],lex@ is that the order in which the idents are printed is diffe... John Abbott
14:37 CoCoA-5 Feature #1536 (In Progress): Implement xel?
Very good reasoning.
Indeed some researchers have opposite standards, calling lex (and degrevlex) what we call xel (...
Anna Maria Bigatti
15:52 CoCoA-5 Feature #1535: New functions: argmin, argmax
I like the idea. We need another mane for the funzion with indices. Anna Maria Bigatti

23 Nov 2020

10:18 CoCoA-5 Design #1520 (Feedback): Replace BOOST_FOREACH by new C++14 range for syntax
I have checked in my changes. Let's hope everything works fine! John Abbott

20 Nov 2020

15:04 CoCoA-5 Design #1520: Replace BOOST_FOREACH by new C++14 range for syntax
We still need to see where the new the @for@ syntax can be used in cocoalib -- that is issue #1346.
Maybe I should...
John Abbott
15:01 CoCoA-5 Design #1520 (Resolved): Replace BOOST_FOREACH by new C++14 range for syntax
I think I have done most of the code in @src/CoCoA-5@.
It compiles and the CoCoA-5 tests all pass.
I made the chang...
John Abbott
14:11 CoCoA-5 Design #1540: Double power
I would like to maintain reasonable compatibility between the way CoCoA-5 parses expressions and the way @RingElem@ o... John Abbott
13:35 CoCoA-5 Feature #500: Interpreter: is it possible to avoid useless prompts?
Apparently the ability to suppress prompts could be useful for the ApCoCoA interface.
For that application, it wou...
John Abbott
11:36 CoCoA-5 Bug #1539 (Feedback): Website: installation instructions for Microsoft
Anna Maria Bigatti
11:35 CoCoA-5 Bug #1539: Website: installation instructions for Microsoft
fixed
Anna Maria Bigatti
11:27 CoCoA-5 Bug #1539: Website: installation instructions for Microsoft
What was nice was that Bernhard wrote "shouldn't cocoa-5.2 be cocoa-5.2?"
So even bug reporters can make typos ;-)
John Abbott
08:56 CoCoA-5 Design #1530: VersionInfo -- better field names?
Done.
I added "Boost" only in BuiltinFunctions.C.
I have also the code for adding it in ExternalLibs.C (commented o...
Anna Maria Bigatti

17 Nov 2020

22:53 CoCoALib Design #1538 (In Progress): RingElem from string (ReadExpr)
The input functions are quite messy: not really a coherent design philosophy.
It seems that *@ReadExpr@* gives err...
John Abbott
22:33 CoCoA-5 Support #322: Installation instructions (on website)
Last week a student came with some problems with making CoCoA work on her MacBook; most of these are dealt with elsew... John Abbott
20:31 CoCoA-5 Bug #1537: EmacUI: strange colours, sometimes
A possible way to address the problem is to discourage users from typing *@/-@* by making it issue a warning.
As a...
John Abbott
20:26 CoCoA-5 Bug #1537: EmacUI: strange colours, sometimes
This is probably not solvable :-(
I changed the emacs syntax declaration for "minus" into just a plain "." (punctu...
John Abbott
20:11 CoCoA-5 Bug #1537: EmacUI: strange colours, sometimes
Here is some doc about emacs;... John Abbott
20:02 CoCoA-5 Bug #1537: EmacUI: strange colours, sometimes
Around line 335 in @cocoa5.el@ there is this... John Abbott
19:48 CoCoA-5 Bug #1537: EmacUI: strange colours, sometimes
As far as I can tell the following "digraphs" are recognized as starting a comment:
slash-star, slash-slash, slash-m...
John Abbott
13:49 CoCoA-5 Bug #1537 (In Progress): EmacUI: strange colours, sometimes
I have tried a few tests. slash-minus seems to be recognised as a comment start; I have tried slash-char where char w... John Abbott
13:19 CoCoA-5 Design #1540 (In Progress): Double power
If we do look at handling exponents, it might be nice to improve the error mesg when a negative exponent is given wit... John Abbott

16 Nov 2020

18:07 CoCoA-5 Design #1540: Double power
I think CoCoA should give a warning or even an error. Currently, it gives neither!
On my computer I got *@x^8@*
...
John Abbott
18:05 CoCoA-5 Design #1540 (Closed): Double power
What do you think CoCoA does with the following input?... John Abbott
09:43 CoCoA-5 Bug #1539 (Closed): Website: installation instructions for Microsoft
The installation instructions for Microsoft refer to the directory *@C:\cocoa-5.2\emacs@* instead of *@C:\cocoa-5.3\e... John Abbott

13 Nov 2020

18:29 CoCoALib Design #1391: RingElems: syntax with [ and ] ?
The C++ version does not work: @WhatsNext@ causes too much trouble :-(
Groan...
John Abbott
14:36 CoCoALib Design #1391: RingElems: syntax with [ and ] ?
Remove the CoCoA-5 and make it call the cocoalib version.
John Abbott
16:00 CoCoA-5 Design #1530: VersionInfo -- better field names?
*Anna will do the following*
(1) move the info about BOOST into the subrecord @ExternalLibs@ (_i.e._ added to the li...
John Abbott
14:34 CoCoA-5 Design #1530: VersionInfo -- better field names?
and add Boost into the ExternalLibs record Anna Maria Bigatti
15:48 CoCoA-5 Support #1534 (In Progress): Install CoCoA-5 on MacOS-10.15+
Anna could you do the following on your old MacBook:
(1) download the official distrib
(2) follow the instructions ...
John Abbott
14:26 CoCoA-5 Support #1534: Install CoCoA-5 on MacOS-10.15+
I have had trouble installing CoCoA-5 from our website on my old mac.
John Abbott
15:20 CoCoALib Design #1538: RingElem from string (ReadExpr)
My personal opinion is that I do not like *@1/-2@* and *@2*-3@*; they both look like typos to me. Perhaps the user m... John Abbott
15:04 CoCoALib Design #1538: RingElem from string (ReadExpr)
Similar problem for *@RingElem(QQ, "2*-3");@*
John Abbott
14:59 CoCoALib Design #1538 (Closed): RingElem from string (ReadExpr)
What should the following do... John Abbott
14:48 CoCoA-5 Bug #1537 (Closed): EmacUI: strange colours, sometimes
... Anna Maria Bigatti
11:23 CoCoA-5 Feature #1536: Implement xel?
The matter was raised by Bernhard Andraschko. His argument is below:... John Abbott
11:19 CoCoA-5 Feature #1536 (Closed): Implement xel?
At the moment CoCoA-5 does not recognise the keyword @xel@ for specifying a term order when defining a new ring.
I...
John Abbott

12 Nov 2020

13:47 CoCoA-5 Feature #1535: New functions: argmin, argmax
Here is a little background/motivation.
I demoed to the students how one can impl in CoCoA-5 the algm to compute a m...
John Abbott

11 Nov 2020

15:11 CoCoA-5 Feature #1535: New functions: argmin, argmax
I clearly prefer @argmin@, since its easier to type and lower-case is also more common in mathematics, but (as for ma... Julian Danner
11:25 CoCoA-5 Feature #1535: New functions: argmin, argmax
What should the names be?
In most contexts they are written @argmin@ (or maybe @arg min@ with a space).
Should be u...
John Abbott
11:23 CoCoA-5 Feature #1535: New functions: argmin, argmax
Should this actually be in CoCoALib?
Might it be handy to have a version which returns the index (or indices) of t...
John Abbott
11:20 CoCoA-5 Feature #1535 (In Progress): New functions: argmin, argmax
Here is a first prototype in CoCoA-5... John Abbott
11:14 CoCoA-5 Feature #1535 (In Progress): New functions: argmin, argmax
Proposal:
create new functions @argmin@ and @argmax@ which operate on lists.
The idea is that they return an/all ...
John Abbott

10 Nov 2020

19:57 CoCoA-5 Support #1534 (In Progress): Install CoCoA-5 on MacOS-10.15+
Review the instructions for installing CoCoA-5.3 on MacOS.
Unfortunately it seems that an administrator account an...
John Abbott
14:11 CoCoALib Feature #1532: Convenient RingHom pseudo-ctors
It might be possible to extend the impl give above to handle quotients of poly rings, and perhaps also "towers" of po... John Abbott
14:07 CoCoA-5 Bug #1531 (Feedback): CRASH: arithmetic with HilbertSeries (tagged object)
John Abbott
13:58 CoCoA-5 Design #1530 (In Progress): VersionInfo -- better field names?
I suggest for the "Num bits" fields to the names *@NumBits_MachineInt@*, *@NumBits_MachineLong@* and *@NumBits_Small... John Abbott

09 Nov 2020

21:13 CoCoALib Feature #1466: Ops += *= etc for Matrices?
It is not clear to me how to implement @+=@ etc. better than the naive way, and maintain exception safety.
It migh...
John Abbott
21:02 CoCoALib Bug #1233: factor SEGV -- too large characteristic
Revised example (now that we're mostly 64 bit)... John Abbott
 

Also available in: Atom