Project

General

Profile

Activity

From 28 Oct 2021 to 26 Nov 2021

26 Nov 2021

18:48 CoCoA-5 Bug #1104: Eigenvectors: inconsistent return type
Here is an observation about the given example:
* in the case that the eigenvalue is rational (_i.e._ in the field),...
John Abbott
18:44 CoCoA-5 Slug #1629: RingElem slow with many indets
Anna implemented a quick fix: it was much faster, but would also sometimes give a wrong answer (we understood why).
...
John Abbott
15:29 CoCoA-5 Slug #1629: RingElem slow with many indets
After a common investigation via skype, we noticed that @ReadExpr@ (called by RingElem) creates @map<symbol, RingElem... Anna Maria Bigatti
15:03 CoCoA-5 Slug #1629 (In Progress): RingElem slow with many indets
Simpler test:... John Abbott
17:10 CoCoALib Support #262: Play with GIT
Does anyone have useful experience to help decide between Github/Gitlab/other? And also how one goes about in practice? John Abbott
17:08 CoCoALib Support #262: Play with GIT
Florian and Bernhard suggest putting the source on Github/Gitlab.
John Abbott

25 Nov 2021

17:13 CoCoA-5 Support #1636 (In Progress): Missing/Incomplete manual entries
Some entries in the online manual are missing or very incomplete.... John Abbott
16:47 CoCoALib Feature #1635 (In Progress): NR for polys with coeffs in PID
Make @NR@ work also polys with coeffs in a PID (at least in @ZZ@).
This is a stepping stone to GBasis over @ZZ@.
John Abbott

23 Nov 2021

22:06 CoCoALib Support #256 (Resolved): Improve doc about ordering/grading for poly rings
I think the doc in @SparsePolyRing.txt@ is OK now. Do you agree, Anna?
John Abbott
17:15 CoCoA-5 Bug #1634: Unexpected or unhelpful error using GroebnerFanIdeals
The problem is that the ordering matrix has some big entry (after being converted into a matrix with positive entries... Anna Maria Bigatti

22 Nov 2021

20:29 CoCoA-5 Bug #1634: Unexpected or unhelpful error using GroebnerFanIdeals
Here is a simpler failing example: I have just reduced the exponents... John Abbott
20:23 CoCoA-5 Bug #1634: Unexpected or unhelpful error using GroebnerFanIdeals
I find the error quite surprising; at least the particular error that was thrown.
I had half expected there to be so...
John Abbott
20:21 CoCoA-5 Bug #1634 (In Progress): Unexpected or unhelpful error using GroebnerFanIdeals
Here is the troublesome input: it throws *@ArgTooBig@*... John Abbott
20:19 CoCoA-5 Design #984: GroebnerFanIdeals: order matrices sometimes have "large" entries
It seems that the first two rows are "almost parallel" -- why should that be?
Anyway, it should be easy to reduce th...
John Abbott

19 Nov 2021

17:25 CoCoALib Feature #743: Better errors: give supplementary info about the error
for example, this would be nice... Anna Maria Bigatti
17:18 CoCoALib Feature #743: Better errors: give supplementary info about the error
We agreed that the string for the name of the function should contain just the name of the function, and its argument... Anna Maria Bigatti
17:05 CoCoALib Feature #743: Better errors: give supplementary info about the error
Anna suggests that the error message should also indicate which args (via their indices, starting from 0 or 1?)
For ...
John Abbott
17:02 CoCoA-5 Bug #1622: BuiltinOneLiners -- less precise location in error messages
I believe that the error must be clear enough in CoCoALib so that there is no need to intercept (all??) situations li... Anna Maria Bigatti
15:32 CoCoA-5 Feature #1616 (Closed): UnivariateIndetIndex: remove cocoa-5 implementation and use CoCoALib's
Anna Maria Bigatti

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
 

Also available in: Atom