Project

General

Profile

Activity

From 19 Oct 2021 to 17 Nov 2021

17 Nov 2021

12:04 CoCoALib Feature #1633: Make polynomial multiplication interruptible?
This is weird. I reverted to the old code because I wanted to confirm that it is not interruptible.
Indeed, it took...
John Abbott
11:59 CoCoALib Feature #1633: Make polynomial multiplication interruptible?
I have just inserted a @CheckForInterrupt@ in the main loop for multiplication.
The simpler test example from commen...
John Abbott
11:53 CoCoALib Feature #1633 (In Progress): Make polynomial multiplication interruptible?
Here is a simpler test example... John Abbott
11:50 CoCoALib Feature #1633: Make polynomial multiplication interruptible?
The relevant source code is probably @myMul@ in @SparsePolyOps-RingElem.C@ around line 413.
John Abbott

16 Nov 2021

20:33 CoCoALib Feature #1633: Make polynomial multiplication interruptible?
One crucial factor is how much overhead it would cost if we put a check inside some inner loop.
Also how many diff...
John Abbott
20:32 CoCoALib Feature #1633 (Closed): Make polynomial multiplication interruptible?
I tried a (daft) example during an exercise class today: when tried to square a large polynomial it was not possible ... John Abbott
10:38 CoCoALib Bug #1281: Factor of multivariate sometimes prints ERROR
When it happens, it happens in pairs. Run this:... Anna Maria Bigatti
10:24 CoCoALib Bug #1281: Factor of multivariate sometimes prints ERROR
I confirm I (rarely) meet this error with tough examples in our development of Comprehensive Groebner Systems.
Anna Maria Bigatti

15 Nov 2021

20:06 CoCoALib Slug #1394: Oddly slow GBasis computation (slow final cleanup)
Here is another example using lex:... John Abbott

12 Nov 2021

00:58 CoCoALib Feature #1598: RingHom: implement phi(X) as apply(phi, X) also for X vector and matrix
We should update the doc so that it encourages people to apply RINGHOM directly rather than using @apply@.
We should...
John Abbott
00:55 CoCoA-5 Design #1631: Use filesystem::path instead of string (packageDir, CoCoAManFileName)
The global @packageDir@ should probably also be of type @boost::filesystem::path@.
Currently it is @std::string@ a...
John Abbott
10:25 CoCoA-5 Design #1631: Use filesystem::path instead of string (packageDir, CoCoAManFileName)
It seems that @filesystem::path@ was introduced in C++17.
Anna asks whether we should start compiling with standard ...
John Abbott
10:21 CoCoA-5 Design #1631 (New): Use filesystem::path instead of string (packageDir, CoCoAManFileName)
In some files we use @std::string@ to represent paths to files.
Replace these with values of type @filesystem::path@...
John Abbott
00:52 CoCoA-5 Bug #1104: Eigenvectors: inconsistent return type
Which type of answer do we prefer? LIST or MAT?
If we prefer MAT, are the eigenvectors the rows or the columns? ...
John Abbott
18:11 CoCoALib Design #1632: C++17: notes about updating
Here is a list of things to attend to when updating to C++17
* currently Scott Meyers does not have a C++17 book, so...
John Abbott
18:09 CoCoALib Design #1632 (New): C++17: notes about updating
This issue is for gathering notes about updating to C++17 (from C++14).
John Abbott
11:44 CoCoALib Design #1617 (Closed): UnivariateIndetIndex: exact semantics
John Abbott
11:41 CoCoA-5 Support #1534: Install CoCoA-5 on MacOS-10.15+
Check if this is still a problem!
What does Robbiano do?
John Abbott
11:34 CoCoA-5 Feature #1526: EmacsUI: help/manual for selected string -- or just for word with cursor on?
I have just tested what happens if there is some unsent input in the CoCoA-5, and it seems to discard the unsent inpu... John Abbott
11:32 CoCoA-5 Feature #1526 (In Progress): EmacsUI: help/manual for selected string -- or just for word with cursor on?
Might it make sense to bind also @C-c h@ and perhaps @C-c ?@ or even @C-c C-?@
Just some suggestions.... maybe t...
John Abbott
11:30 CoCoA-5 Feature #1526: EmacsUI: help/manual for selected string -- or just for word with cursor on?
Done for the CoCoA-5 menu. Anna Maria Bigatti
11:25 CoCoA-5 Feature #1526: EmacsUI: help/manual for selected string -- or just for word with cursor on?
it is probably easy to add it to the cocoa5-comint menu.
What about the keybinding?
Anna Maria Bigatti
11:14 CoCoA-5 Support #1398 (Closed): Website: hide/delete all the CoCoA-4 stuff?
Website seems ok now.
Closing.
John Abbott
10:45 CoCoA-5 Bug #1356 (Closed): CoCoA-5 header files: should use a common prefix for CPP variables which enforce read-once
John Abbott
10:43 CoCoALib Support #1555: Software licence
We need to decide what the restrictive message should say.
Ideally it should be just 1 or 2 lines long, and placed v...
John Abbott
10:28 CoCoALib Support #1555: Software licence
We need to consider also the copyright notices in the sources for CoCoA-5.
Should the copyright notice for CoCoA-5 f...
John Abbott
10:23 CoCoA-5 Bug #1397 (Closed): Crashes if CoCoAHelp.xml is missing
No longer crashes. So that's good.
Now we just need to clean up the path, but that's in a new issue #1631
Anna Maria Bigatti
10:06 CoCoA-5 Design #1496: Use "special" names for variables inside tests
Anna is reasonably convinced by the idea. She made some alternative proposals:
* use all capital letters for names ...
John Abbott
09:48 CoCoA-5 Bug #1610 (Closed): IsInRadical: some more little bugs
No new bugs have surfaced. Closing this issue. Anna Maria Bigatti

10 Nov 2021

20:12 CoCoALib Design #1630 (New): Signal handler not portable?
Bruns reported by email that CoCoALib does not compile on an @"msys"@ platform because @sigaction@ is absent.
Inve...
John Abbott
20:10 CoCoALib Feature #1488 (Feedback): BuiltIn Interreduce-Function
Is there documentation now? John Abbott
20:08 CoCoALib Design #1617: UnivariateIndetIndex: exact semantics
I have updated the documentation to the current behaviour. John Abbott
20:02 CoCoALib Design #1617 (Feedback): UnivariateIndetIndex: exact semantics
John Abbott
19:49 CoCoA-5 Design #1496 (In Progress): Use "special" names for variables inside tests
I have decided to "test" the idea of putting a single underscore at the start of names.
I have just modified @bug-...
John Abbott
19:41 CoCoA-5 Bug #1294 (Feedback): CoCoA-5 tests may fail even if executed correctly
I made the change about a year ago (according to redmine), and no complaints have surfaced.
So advancing to *feedbac...
John Abbott
19:34 CoCoA-5 Bug #1604: SqFreeFactor crashes over non-perfect field
No real chance of finding time to resolve this in the foreseeable future :-(
Probably not that hard, but it will sur...
John Abbott
19:32 CoCoA-5 Bug #1610: IsInRadical: some more little bugs
Anna: can you close this issue? John Abbott
18:57 CoCoA-5 Bug #1397: Crashes if CoCoAHelp.xml is missing
We probably need to change the fn @CoCoAManFileName@ (around line 950 in @OnlineHelp.C@).
The return type should be ...
John Abbott
18:43 CoCoA-5 Bug #1397: Crashes if CoCoAHelp.xml is missing
There is a stackoverflow thread about getting @dirname@: https://stackoverflow.com/questions/3071665/getting-a-direct... John Abbott
18:29 CoCoA-5 Bug #1397: Crashes if CoCoAHelp.xml is missing
It would be nice (& cleaner) if we could get rid of @packages/../@.
I think this should be possible.
John Abbott
18:27 CoCoA-5 Bug #1397: Crashes if CoCoAHelp.xml is missing
I have modified the error message slightly. Now it gives:... John Abbott
18:17 CoCoA-5 Bug #1412 (Closed): Emacs UI: font size
John Abbott
18:12 CoCoA-5 Bug #1524: wrong SystemCommand exit value
My current opinion is to return the exit code, even if this is not well defined (in a portable way).
This would allo...
John Abbott
18:07 CoCoA-5 Bug #1613 (Closed): CRASH with RingHom from FrF
John Abbott
18:04 CoCoA-5 Bug #1614 (Closed): SourceRegion gives misleading error mesg
John Abbott

08 Nov 2021

16:43 CoCoA-5 Bug #1356: CoCoA-5 header files: should use a common prefix for CPP variables which enforce read-once
I have reviewed the header files and checked them in.
We need to review also the copyright notices: I have added A...
John Abbott
12:39 CoCoA-5 Slug #1629 (Closed): RingElem slow with many indets
Bernhard Andraschko reports the following (via email):... John Abbott
11:29 CoCoA-5 Bug #1104 (In Progress): Eigenvectors: inconsistent return type
Get started! John Abbott

05 Nov 2021

23:07 CoCoA-5 Bug #1356 (Resolved): CoCoA-5 header files: should use a common prefix for CPP variables which enforce read-once
I have changed all the files.
The only slightly strange one is @C5.H@ where the whole file is inside a @#ifdef@ bloc...
John Abbott
16:47 CoCoA-5 Bug #1356: CoCoA-5 header files: should use a common prefix for CPP variables which enforce read-once
This is a reasonable proposal. Let's do it!
Soon?
John Abbott
16:53 CoCoA-5 Design #1501 (Rejected): testing for syntax errors
Since we cannot see how to do this in a reasonable way, we reject the issue.
John Abbott
16:44 CoCoA-5 Bug #1524 (Feedback): wrong SystemCommand exit value
John Abbott
16:40 CoCoA-5 Bug #1623: EmacsUI: annoying colours
John Abbott wrote:
> I suppose we could change the printed form to something like this:
> [...]
> Or maybe *@domai...
Anna Maria Bigatti
16:33 CoCoA-5 Design #1568: RMap and image: obsolescent?
The old function @image@ is only used in @radical.cpkg2@ and @toric.cpkg5@.
They should (easily) be replaced by prop...
Anna Maria Bigatti
16:20 CoCoA-5 Design #1568 (In Progress): RMap and image: obsolescent?
I have commented out the version in @coclib.cpkg5@. All tests pass.
John Abbott
16:17 CoCoA-5 Design #474: Eliminate package BinRepr
Anna: compare the function in CoCoALib and remove or simplify the package, at least @Aux_BinExp@ should be deleted. Anna Maria Bigatti
16:09 CoCoALib Feature #1103: Pseudo-zero-dim ideals
see also #1254 Anna Maria Bigatti
16:07 CoCoALib Feature #1103: Pseudo-zero-dim ideals
There is something very similar for RationalSolve in CoCoA-5.
Anna: consider that design and copy:...
Anna Maria Bigatti
16:08 CoCoA-5 Design #1407 (In Progress): Tagged values (Hilbert Series)
What is the status of this issue? It is resolved?
Is %done correct?
John Abbott
16:05 CoCoALib Feature #1254: New function: MinPoly for pseudo-zero-dimensional ideals
Anna will try do this; perhaps this is a helpful prototype for issue #1103.
A very simple approach here would be t...
John Abbott
15:54 CoCoALib Design #1628: Unused variables, params, data members
I tried changing @CoCoA_ASSERT@ so that it expanded to @(void)sizeof(cond)@, *BUT* this worked badly because some ass... John Abbott
15:42 CoCoALib Feature #1235 (In Progress): FreeModule: get canonical basis
Agreed: the proposal in comment 5 is accepted.
To clarify the order of the elements in the canonical basis should ...
John Abbott
15:36 CoCoALib Support #1612: Merge the doc file RadicalMembership.txt into ideal.txt
Anna will do this!
Soon... I hope!
John Abbott
15:34 CoCoALib Bug #536 (In Progress): Make RingBase::myCharacteristic a fn rather than a proc
Anna approves too.
Suggestion: create also a fn which returns a machine @long@ (if poss, o/w error).
John Abbott
15:30 CoCoALib Support #1618: Tidy ex-RingElem2
John Abbott wrote:
> I have tried to improve the structure of the code. What is printed out is tedious to follow --...
Anna Maria Bigatti

04 Nov 2021

23:26 CoCoA-5 Feature #1526: EmacsUI: help/manual for selected string -- or just for word with cursor on?
Is this something easy we could do quickly? Or is it better to postpone to the next release? John Abbott
23:24 CoCoA-5 Bug #1397 (Resolved): Crashes if CoCoAHelp.xml is missing
I have just tried, and CoCoA-5 no longer crashes. It also produced a fairly reasonable error message.
Maybe the err...
John Abbott
23:21 CoCoA-5 Bug #1397: Crashes if CoCoAHelp.xml is missing
If @CoCoAHelp.xml@ is missing then the installation is broken (or there is a wrong path).
Crashing/aborting may be a...
John Abbott
23:16 CoCoA-5 Bug #1320: CoCoA-5 manual: incorrect empty line in syntax box (in PDF file)
This is still a problem, but not so common.
We should identify some cases where it occurs, and study those:...
John Abbott
23:07 CoCoA-5 Design #1501: testing for syntax errors
The idea itself is not so bad, but actually implementing looks to be nightmarish.
I am inclined to reject this iss...
John Abbott
22:59 CoCoA-5 Bug #1623 (In Progress): EmacsUI: annoying colours
Now that I must consider how ringhoms are printed, I do think that readability of the current format is not so good.
...
John Abbott
20:34 CoCoA-5 Design #610: Variable It: assign before or after printing
Is the value "assigned" to @It@ or swapped into @It@ (hopefully without being copied more than strictly necessary)?
John Abbott

03 Nov 2021

20:56 CoCoALib Support #1265: Unregistered TXT files in doc
I have added a "first" version of doc for @IdealOfPoints@ and @IdealOfProjectivePoints@.
John Abbott
19:57 CoCoALib Support #1265: Unregistered TXT files in doc
The doc for @assert@ had already been added. I have revised the source code in @assert.H@ slightly.
John Abbott
19:20 CoCoALib Support #1265: Unregistered TXT files in doc
I have just added doc for *@exception@* to the indexes.
John Abbott
20:07 CoCoALib Design #1422: Remove flag IhaveGBasisValue?
We should see who uses the flag @IHaveGBasis@.
Presumably it could be replaced by a function which returns true if t...
John Abbott
19:05 CoCoALib Feature #1235: FreeModule: get canonical basis
If we want a special fn for getting the standard/canonical basis for a free module then it could be called *@Canonica... John Abbott
18:58 CoCoALib Support #1591 (In Progress): Compilation of Normaliz
What is the status of this issue?
Have it been resolved? Is there documentation? It would be good to close it, if ...
John Abbott
18:55 CoCoALib Design #1628: Unused variables, params, data members
I have just implemented the KISS approach: namely 2 @#ifdef@ blocks. Everything compiles, & all tests pass (both wit... John Abbott
18:03 CoCoALib Design #1628: Unused variables, params, data members
The KISS solution would be to use the @CoCoA_DEBUG@ macro.
I'm not keen to use macros (esp. to make @#ifdef@ blocks ...
John Abbott
18:01 CoCoALib Design #1628 (In Progress): Unused variables, params, data members
@clang@ is probably correct to report that the data-members are unused.
Their presence makes objects of this class n...
John Abbott
17:59 CoCoALib Design #1628 (In Progress): Unused variables, params, data members
Anna reports that clang issues warning about unused data-members (in @MatrixFpNonRed@).
The data-members are used wh...
John Abbott
17:01 CoCoALib Design #1528 (In Progress): MacOS compilation with clang
We have made some inprovements.
Clang's errors/warnings are often quite helpful (but sometimes also annoying).
John Abbott
16:48 CoCoALib Support #1618 (In Progress): Tidy ex-RingElem2
I have tried to improve the structure of the code. What is printed out is tedious to follow -- can we make that prin... John Abbott

30 Oct 2021

22:09 CoCoALib Bug #1280: Determinant & Inverse of matrix over non integral domain
Here is a way of making test cases for computing determinant:
take a unimodular matrix, and multiply it by a nzzd (w...
John Abbott
19:57 CoCoA-5 Bug #1502 (In Progress): SystemCommand in Microsoft version
Bernhard and I made several tests yesterday: well, he made the tests, I just came up with "clever"(??) ideas.
*SUM...
John Abbott
19:47 CoCoALib Design #1625 (Resolved): Use new C++ keyword override
I have checked in (and found several errors/inconsistencies while doing so).
All compiles and works fine on my Linux...
John Abbott
19:46 CoCoALib Design #1627 (Resolved): Use keyword "delete" for deleted functions
I have checked in my changes. All compiles fine on my Linux box.
John Abbott

29 Oct 2021

21:51 CoCoALib Design #1627: Use keyword "delete" for deleted functions
I have done the first wave (too much train travel).
Very mind-numbing doing these almost mechanical changes.
My cop...
John Abbott
21:49 CoCoALib Design #1627 (Closed): Use keyword "delete" for deleted functions
Following advice from Scott Meyers (Eff Modern C++, item 11)
use the keyword *@delete@* to indicate deleted function...
John Abbott
19:17 CoCoA-5 Design #1626 (Feedback): NewMat: should be obsolescent?
What are the differences between *@NewMat@* and *@ZeroMat@*.
The manual entry for @NewMat@ suggests that it is almos...
John Abbott
19:13 CoCoALib Bug #1280: Determinant & Inverse of matrix over non integral domain
Here are some more examples which should work, but which do not:... John Abbott
19:09 CoCoALib Bug #536: Make RingBase::myCharacteristic a fn rather than a proc
Now we have moved to C++14, and @BigInt@ has a move ctor, we can implement this change.
Should there be a speed ch...
John Abbott
09:38 CoCoALib Design #1625: Use new C++ keyword override
John Abbott wrote:
> In @FractionField.C@ I have found this check-in comment:
> [...]
>
> I suppose this was the...
Anna Maria Bigatti

27 Oct 2021

13:13 CoCoA-5 Support #1006: External dependencies for building
A possible compromise to avoid deleting the documentation if the software components needed to rebuild it are not pre... John Abbott

25 Oct 2021

20:01 CoCoALib Design #1625: Use new C++ keyword override
In @FractionField.C@ I have found this check-in comment:... John Abbott
19:58 CoCoALib Design #1625: Use new C++ keyword override
I think I have made most of the changes... quite a mind-numbing experience :-(
I may have found a couple of typos ...
John Abbott
19:52 CoCoALib Design #1625 (Closed): Use new C++ keyword override
Scott Meyers, in Effective Modern C++, writes in Item 12 that one should use the new C++ keyword *@override@* for mem... John Abbott

22 Oct 2021

08:22 CoCoALib Feature #1589 (Feedback): IdealOfPoints: allow matrix of points to be defined over "wrong" ring
Added test Anna Maria Bigatti

21 Oct 2021

17:41 CoCoA-5 Bug #1624: CantStop playing CantStop
My CoCoA-5 ended abruptly when I sent an EOF as an input: is that to be expected?... John Abbott
17:24 CoCoA-5 Bug #1624: CantStop playing CantStop
It seems to work fine on my linux box.
John Abbott
17:22 CoCoA-5 Bug #1624 (New): CantStop playing CantStop
Long tried @PlayCantStop@ (On Microsoft) but quickly wanted to give up.
However, interrupting did not work. He had ...
John Abbott

20 Oct 2021

22:09 CoCoALib Design #1608 (Closed): Domain of definition of NextPrime (and PrevPrime)
John Abbott
22:05 CoCoA-5 Bug #1614 (Feedback): SourceRegion gives misleading error mesg
John Abbott
22:04 CoCoA-5 Feature #1616 (Feedback): UnivariateIndetIndex: remove cocoa-5 implementation and use CoCoALib's
Maybe poor Anna will have to do a merge?
John Abbott
15:53 CoCoA-5 Feature #1616 (Resolved): UnivariateIndetIndex: remove cocoa-5 implementation and use CoCoALib's
This is almost done. I made the change while making a belated, corrected video for last week's CoCoALib course.
Wil...
John Abbott
21:48 CoCoALib Design #1617 (Resolved): UnivariateIndetIndex: exact semantics
I have checked in the version which rejects constant but accepts polyrings with 1 indet.
John Abbott
20:40 CoCoALib Design #1617: UnivariateIndetIndex: exact semantics
I tried throwing an exception if the arg was a constant or if the polyring had just 1 indet, but several tests failed... John Abbott
15:52 CoCoALib Design #1617: UnivariateIndetIndex: exact semantics
If we do change the semantics, *don't forget to change the doc as well!* And perhaps also change the tests! John Abbott
15:51 CoCoALib Design #1617 (In Progress): UnivariateIndetIndex: exact semantics
I have just modified the imple of @UnivariateIndetIndex@ so that it produces an error if the input is constant or if ... John Abbott
15:56 CoCoALib Design #950: factor and SmoothFactor for integers --> FactorINT, FactorINT_TrialDiv, FactorINT_PollardRho
Robbiano would like @factor@ to work for integers (or some integers, at least).
How can we do this reasonably? Mayb...
John Abbott
 

Also available in: Atom